claude-flow 3.71.1 → 3.71.2
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/.claude/.proven-config-version +1 -0
- package/.claude/proven-config.json +42 -0
- package/package.json +1 -1
- package/v3/@claude-flow/cli/catalog-manifest.json +2 -2
- package/v3/@claude-flow/cli/dist/src/commands/embeddings.js +6 -6
- package/v3/@claude-flow/cli/dist/src/commands/init.js +4 -0
- package/v3/@claude-flow/cli/dist/src/commands/session.js +10 -7
- package/v3/@claude-flow/cli/dist/src/init/executor.js +15 -5
- package/v3/@claude-flow/cli/dist/src/init/types.d.ts +2 -0
- package/v3/@claude-flow/cli/dist/src/init/types.js +4 -1
- package/v3/@claude-flow/cli/dist/src/mcp-tools/claims-tools.js +7 -1
- package/v3/@claude-flow/cli/dist/src/mcp-tools/daa-tools.js +22 -2
- package/v3/@claude-flow/cli/dist/src/mcp-tools/embeddings-tools.js +2 -1
- package/v3/@claude-flow/cli/dist/src/mcp-tools/session-tools.js +42 -4
- package/v3/@claude-flow/cli/dist/src/mcp-tools/terminal-tools.js +5 -0
- package/v3/@claude-flow/cli/dist/src/mcp-tools/workflow-tools.js +22 -3
- package/v3/@claude-flow/cli/dist/src/memory/memory-bridge.js +29 -5
- package/v3/@claude-flow/cli/dist/src/memory/memory-initializer.js +32 -10
- package/v3/@claude-flow/cli/dist/src/missions/schemas.d.ts +122 -122
- package/v3/@claude-flow/cli/dist/src/mods/command-registry/schema.d.ts +189 -189
- package/v3/@claude-flow/cli/dist/src/services/claims-store.js +5 -2
- package/v3/@claude-flow/cli/package.json +1 -1
|
@@ -11,7 +11,7 @@ export function readClaimsStore(file) {
|
|
|
11
11
|
}
|
|
12
12
|
catch (error) {
|
|
13
13
|
if (error.code === 'ENOENT')
|
|
14
|
-
return { claims:
|
|
14
|
+
return { claims: Object.create(null), stealable: Object.create(null), contests: Object.create(null) };
|
|
15
15
|
throw error;
|
|
16
16
|
}
|
|
17
17
|
const data = JSON.parse(text);
|
|
@@ -35,6 +35,9 @@ export function readClaimsStore(file) {
|
|
|
35
35
|
if (data[key] !== undefined && !record(data[key]))
|
|
36
36
|
throw new Error(`Invalid claims store: ${key} must be an object`);
|
|
37
37
|
}
|
|
38
|
-
|
|
38
|
+
// SECURITY: issue ids come from tool input; null-prototype maps keep a lookup
|
|
39
|
+
// by `constructor`/`__proto__` from resolving to an inherited built-in.
|
|
40
|
+
const nullProto = (map) => Object.assign(Object.create(null), map ?? {});
|
|
41
|
+
return { ...data, claims, stealable: nullProto(data.stealable), contests: nullProto(data.contests) };
|
|
39
42
|
}
|
|
40
43
|
//# sourceMappingURL=claims-store.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@claude-flow/cli",
|
|
3
|
-
"version": "3.71.
|
|
3
|
+
"version": "3.71.2",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Ruflo CLI - Enterprise AI agent orchestration with 60+ specialized agents, swarm coordination, MCP server, self-learning hooks, and vector memory for Claude Code",
|
|
6
6
|
"main": "dist/src/index.js",
|