@getbourdon/participants 0.5.3 → 0.5.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -4
- package/dist/index.cjs +4 -7
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.js.map +1 -1
- package/dist/readers/claude-code.d.ts +6 -16
- package/dist/readers/claude-code.js +10 -25
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -25,10 +25,8 @@ roster. The full Codex turn-compiler reader is deferred. The Codex automation
|
|
|
25
25
|
reader and session-index title lookup are narrower integrations already present.
|
|
26
26
|
|
|
27
27
|
`ClaudeCodeParticipant` resolves its knowledge repo in this order: the
|
|
28
|
-
`AGENT_BRAIN` env var, then `$HOME/agent-brain/`, then `./agent-brain/`.
|
|
29
|
-
|
|
30
|
-
accepted as **legacy aliases** at each tier, so a checkout that predates the
|
|
31
|
-
rename keeps resolving with no operator action.
|
|
28
|
+
`AGENT_BRAIN` env var, then `$HOME/agent-brain/`, then `./agent-brain/`. No other
|
|
29
|
+
folder name is ever scanned.
|
|
32
30
|
|
|
33
31
|
## The four invariants (enforced in code, not by trust)
|
|
34
32
|
|
package/dist/index.cjs
CHANGED
|
@@ -824,11 +824,8 @@ function isFile2(p) {
|
|
|
824
824
|
return false;
|
|
825
825
|
}
|
|
826
826
|
}
|
|
827
|
-
var BRAIN_DIR_NAMES = [
|
|
828
|
-
|
|
829
|
-
["c", "laude-brain"].join("")
|
|
830
|
-
];
|
|
831
|
-
var BRAIN_ENV_VARS = ["AGENT_BRAIN", "CLAUDE_BRAIN"];
|
|
827
|
+
var BRAIN_DIR_NAMES = ["agent-brain"];
|
|
828
|
+
var BRAIN_ENV_VARS = ["AGENT_BRAIN"];
|
|
832
829
|
function resolveBrainPath() {
|
|
833
830
|
for (const varName of BRAIN_ENV_VARS) {
|
|
834
831
|
const envOverride = process.env[varName];
|
|
@@ -1176,7 +1173,7 @@ var ClaudeCodeParticipant = class {
|
|
|
1176
1173
|
}
|
|
1177
1174
|
discover() {
|
|
1178
1175
|
const sources = {
|
|
1179
|
-
|
|
1176
|
+
agent_brain: this.brainPath,
|
|
1180
1177
|
auto_memory: this.autoMemoryPath,
|
|
1181
1178
|
knowledge_graph: this.knowledgeGraphPath
|
|
1182
1179
|
};
|
|
@@ -1227,7 +1224,7 @@ var ClaudeCodeParticipant = class {
|
|
|
1227
1224
|
(p) => p !== null
|
|
1228
1225
|
).length;
|
|
1229
1226
|
const details = {
|
|
1230
|
-
|
|
1227
|
+
agent_brain: this.brainPath ?? "missing",
|
|
1231
1228
|
auto_memory: this.autoMemoryPath ?? "missing",
|
|
1232
1229
|
knowledge_graph: this.knowledgeGraphPath ?? "missing"
|
|
1233
1230
|
};
|