claude-flow 3.32.34 → 3.32.36
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/helpers/hook-handler.cjs +134 -3
- package/.claude/helpers/intelligence.cjs +47 -4
- package/node_modules/@claude-flow/codex/.agents/skills/github-automation/SKILL.md +32 -0
- package/node_modules/@claude-flow/codex/.agents/skills/performance-analysis/SKILL.md +32 -0
- package/node_modules/@claude-flow/codex/dist/dual-mode/cli.d.ts +4 -0
- package/node_modules/@claude-flow/codex/dist/dual-mode/cli.d.ts.map +1 -1
- package/node_modules/@claude-flow/codex/dist/dual-mode/cli.js +20 -1
- package/node_modules/@claude-flow/codex/dist/dual-mode/cli.js.map +1 -1
- package/node_modules/@claude-flow/codex/dist/dual-mode/orchestrator.d.ts +4 -0
- package/node_modules/@claude-flow/codex/dist/dual-mode/orchestrator.d.ts.map +1 -1
- package/node_modules/@claude-flow/codex/dist/dual-mode/orchestrator.js +18 -2
- package/node_modules/@claude-flow/codex/dist/dual-mode/orchestrator.js.map +1 -1
- package/node_modules/@claude-flow/codex/dist/generators/skill-md.d.ts +11 -5
- package/node_modules/@claude-flow/codex/dist/generators/skill-md.d.ts.map +1 -1
- package/node_modules/@claude-flow/codex/dist/generators/skill-md.js +84 -849
- package/node_modules/@claude-flow/codex/dist/generators/skill-md.js.map +1 -1
- package/node_modules/@claude-flow/codex/dist/initializer.d.ts.map +1 -1
- package/node_modules/@claude-flow/codex/dist/initializer.js +9 -13
- package/node_modules/@claude-flow/codex/dist/initializer.js.map +1 -1
- package/package.json +1 -1
- package/v3/@claude-flow/cli/bin/cli.js +25 -1
- package/v3/@claude-flow/cli/catalog-manifest.json +4 -4
- package/v3/@claude-flow/cli/dist/src/commands/agent.js +50 -2
- package/v3/@claude-flow/cli/dist/src/commands/doctor.js +159 -11
- package/v3/@claude-flow/cli/dist/src/commands/hooks.js +63 -4
- package/v3/@claude-flow/cli/dist/src/commands/mcp.js +1 -1
- package/v3/@claude-flow/cli/dist/src/commands/memory-distill.js +1 -0
- package/v3/@claude-flow/cli/dist/src/commands/metaharness.js +4 -0
- package/v3/@claude-flow/cli/dist/src/commands/swarm.js +89 -5
- package/v3/@claude-flow/cli/dist/src/config-adapter.js +1 -0
- package/v3/@claude-flow/cli/dist/src/index.js +3 -2
- package/v3/@claude-flow/cli/dist/src/init/executor.js +16 -10
- package/v3/@claude-flow/cli/dist/src/init/helpers-generator.js +15 -4
- package/v3/@claude-flow/cli/dist/src/init/statusline-generator.js +18 -5
- package/v3/@claude-flow/cli/dist/src/mcp-server.d.ts +25 -0
- package/v3/@claude-flow/cli/dist/src/mcp-server.js +57 -2
- package/v3/@claude-flow/cli/dist/src/mcp-tools/agent-tools.js +10 -0
- package/v3/@claude-flow/cli/dist/src/mcp-tools/embeddings-tools.js +51 -10
- package/v3/@claude-flow/cli/dist/src/mcp-tools/hooks-tools.js +120 -60
- package/v3/@claude-flow/cli/dist/src/mcp-tools/memory-tools.js +14 -2
- package/v3/@claude-flow/cli/dist/src/mcp-tools/metaharness-tools.js +7 -0
- package/v3/@claude-flow/cli/dist/src/mcp-tools/swarm-tools.d.ts +16 -0
- package/v3/@claude-flow/cli/dist/src/mcp-tools/swarm-tools.js +172 -7
- package/v3/@claude-flow/cli/dist/src/memory/memory-bridge.d.ts +2 -0
- package/v3/@claude-flow/cli/dist/src/memory/memory-bridge.js +5 -1
- package/v3/@claude-flow/cli/dist/src/memory/memory-initializer.d.ts +9 -1
- package/v3/@claude-flow/cli/dist/src/memory/memory-initializer.js +66 -19
- package/v3/@claude-flow/cli/dist/src/services/daemon-autostart.js +7 -4
- package/v3/@claude-flow/cli/dist/src/services/flywheel-receipt.d.ts +3 -0
- package/v3/@claude-flow/cli/dist/src/services/flywheel-receipt.js +1 -0
- package/v3/@claude-flow/cli/dist/src/services/harness-flywheel-runtime.d.ts +6 -0
- package/v3/@claude-flow/cli/dist/src/services/harness-flywheel-runtime.js +19 -19
- package/v3/@claude-flow/cli/dist/src/services/harness-flywheel.d.ts +2 -0
- package/v3/@claude-flow/cli/dist/src/services/harness-flywheel.js +1 -0
- package/v3/@claude-flow/cli/dist/src/services/harness-project-anchor.d.ts +23 -0
- package/v3/@claude-flow/cli/dist/src/services/harness-project-anchor.js +129 -0
- package/v3/@claude-flow/cli/dist/src/services/learned-routing.d.ts +34 -0
- package/v3/@claude-flow/cli/dist/src/services/learned-routing.js +85 -0
- package/v3/@claude-flow/cli/dist/src/services/memory-distillation.d.ts +1 -0
- package/v3/@claude-flow/cli/dist/src/services/memory-distillation.js +81 -5
- package/v3/@claude-flow/cli/dist/src/services/pheromone-adaptive.d.ts +71 -0
- package/v3/@claude-flow/cli/dist/src/services/pheromone-adaptive.js +214 -0
- package/v3/@claude-flow/cli/dist/src/services/worker-daemon.js +5 -1
- package/v3/@claude-flow/cli/package.json +1 -1
- package/v3/@claude-flow/shared/dist/core/config/loader.js +1 -1
- package/v3/@claude-flow/shared/dist/core/config/schema.d.ts +12 -12
- package/v3/@claude-flow/shared/dist/core/config/schema.js +1 -1
- package/v3/@claude-flow/shared/dist/core/interfaces/coordinator.interface.d.ts +1 -1
- package/v3/@claude-flow/shared/dist/types/swarm.types.js +18 -0
|
@@ -1,20 +1,26 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @claude-flow/codex - SKILL.md Generator
|
|
3
3
|
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
4
|
+
* Custom skills are rendered from typed options. Built-in skills use the
|
|
5
|
+
* packaged `.agents/skills` trees as their canonical definitions so direct
|
|
6
|
+
* generation, project initialization, and npm artifacts cannot drift.
|
|
6
7
|
*/
|
|
7
|
-
import type { SkillMdOptions } from '../types.js';
|
|
8
|
+
import type { BuiltInSkill, SkillMdOptions } from '../types.js';
|
|
9
|
+
export declare const BUILT_IN_SKILL_NAMES: readonly BuiltInSkill[];
|
|
8
10
|
/**
|
|
9
|
-
* Generate a SKILL.md file based on the provided options
|
|
11
|
+
* Generate a SKILL.md file based on the provided options.
|
|
10
12
|
*/
|
|
11
13
|
export declare function generateSkillMd(options: SkillMdOptions): Promise<string>;
|
|
12
14
|
/**
|
|
13
|
-
*
|
|
15
|
+
* Read one canonical built-in tree from the package payload.
|
|
14
16
|
*/
|
|
15
17
|
export declare function generateBuiltInSkill(skillName: string): Promise<{
|
|
16
18
|
skillMd: string;
|
|
17
19
|
scripts: Record<string, string>;
|
|
18
20
|
references: Record<string, string>;
|
|
19
21
|
}>;
|
|
22
|
+
/**
|
|
23
|
+
* Ensure every skill-local path is contained in and shipped with its tree.
|
|
24
|
+
*/
|
|
25
|
+
export declare function validateBuiltInSkillPayload(skillName: string, skillMd: string, scripts: Record<string, string>, references: Record<string, string>): void;
|
|
20
26
|
//# sourceMappingURL=skill-md.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"skill-md.d.ts","sourceRoot":"","sources":["../../src/generators/skill-md.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"skill-md.d.ts","sourceRoot":"","sources":["../../src/generators/skill-md.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAKH,OAAO,KAAK,EAAE,YAAY,EAAE,cAAc,EAAgB,MAAM,aAAa,CAAC;AAE9E,eAAO,MAAM,oBAAoB,EAAE,SAAS,YAAY,EAOvD,CAAC;AAOF;;GAEG;AACH,wBAAsB,eAAe,CAAC,OAAO,EAAE,cAAc,GAAG,OAAO,CAAC,MAAM,CAAC,CA0D9E;AAsFD;;GAEG;AACH,wBAAsB,oBAAoB,CACxC,SAAS,EAAE,MAAM,GAChB,OAAO,CAAC;IAAE,OAAO,EAAE,MAAM,CAAC;IAAC,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAAC,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;CAAE,CAAC,CAuBnG;AAED;;GAEG;AACH,wBAAgB,2BAA2B,CACzC,SAAS,EAAE,MAAM,EACjB,OAAO,EAAE,MAAM,EACf,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,EAC/B,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,GACjC,IAAI,CAmBN"}
|