cclaw-cli 0.46.9 → 0.46.10

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.
@@ -1 +1,2 @@
1
1
  export declare function harnessIntegrationDocMarkdown(): string;
2
+ export declare function harnessDocsOverviewMarkdown(): string;
@@ -1,6 +1,7 @@
1
1
  import { HARNESS_ADAPTERS, harnessTier } from "../harness-adapters.js";
2
2
  import { HOOK_EVENTS_BY_HARNESS, HOOK_SEMANTIC_EVENTS } from "./hook-events.js";
3
3
  import { HARNESS_PLAYBOOKS_DIR, harnessPlaybookFileName } from "./harness-playbooks.js";
4
+ import { HARNESS_TOOL_REFS_DIR } from "./harness-tool-refs.js";
4
5
  function harnessTitle(harness) {
5
6
  switch (harness) {
6
7
  case "claude":
@@ -123,3 +124,37 @@ Harness-specific additions:
123
124
  - \`cclaw doctor\` validates shim, hook, and lifecycle surfaces against this capability model.
124
125
  `;
125
126
  }
127
+ export function harnessDocsOverviewMarkdown() {
128
+ const harnesses = Object.keys(HARNESS_ADAPTERS);
129
+ const rows = harnesses
130
+ .map((harness) => {
131
+ const tier = harnessTier(harness);
132
+ const toolMap = `\`.cclaw/${HARNESS_TOOL_REFS_DIR}/${harness}.md\``;
133
+ const playbook = `\`.cclaw/${HARNESS_PLAYBOOKS_DIR}/${harnessPlaybookFileName(harness)}\``;
134
+ return `| ${harnessTitle(harness)} | \`${harness}\` | \`${tier}\` | ${toolMap} | ${playbook} |`;
135
+ })
136
+ .join("\n");
137
+ return `# Harness Docs Overview
138
+
139
+ Single entrypoint for harness-specific references generated by cclaw sync.
140
+
141
+ ## Core references
142
+
143
+ - Integration matrix: \`.cclaw/references/harnesses.md\`
144
+ - Tool-map index: \`.cclaw/references/${HARNESS_TOOL_REFS_DIR}/README.md\`
145
+ - Playbook index: \`.cclaw/references/${HARNESS_PLAYBOOKS_DIR}/README.md\`
146
+
147
+ ## Per-harness quick links
148
+
149
+ | Harness | ID | Tier | Tool map | Playbook |
150
+ |---|---|---|---|---|
151
+ ${rows}
152
+
153
+ ## How to use this pack
154
+
155
+ 1. Start with \`harnesses.md\` to understand capability/tier differences.
156
+ 2. Open the harness-specific tool map before writing stage logic that depends on tool names.
157
+ 3. Open the harness-specific playbook before asserting delegation parity behavior.
158
+ 4. If docs disagree, treat \`harnesses.md\` + harness adapter capabilities as source of truth and regenerate.
159
+ `;
160
+ }
package/dist/install.js CHANGED
@@ -36,7 +36,7 @@ import { LANGUAGE_RULE_PACK_DIR, LANGUAGE_RULE_PACK_FILES, LANGUAGE_RULE_PACK_GE
36
36
  import { RESEARCH_PLAYBOOKS } from "./content/research-playbooks.js";
37
37
  import { HARNESS_TOOL_REFS_DIR, HARNESS_TOOL_REFS_INDEX_MD, harnessToolRefMarkdown } from "./content/harness-tool-refs.js";
38
38
  import { DOCTOR_REFERENCE_MARKDOWN } from "./content/doctor-references.js";
39
- import { harnessIntegrationDocMarkdown } from "./content/harnesses-doc.js";
39
+ import { harnessDocsOverviewMarkdown, harnessIntegrationDocMarkdown } from "./content/harnesses-doc.js";
40
40
  import { HARNESS_PLAYBOOKS_DIR, harnessPlaybookFileName, harnessPlaybookMarkdown, harnessPlaybooksIndexMarkdown } from "./content/harness-playbooks.js";
41
41
  import { HOOK_EVENTS_BY_HARNESS, HOOK_SEMANTIC_EVENTS } from "./content/hook-events.js";
42
42
  import { createInitialFlowState } from "./flow-state.js";
@@ -294,6 +294,7 @@ async function writeSkills(projectRoot, config) {
294
294
  await writeFileSafe(runtimePath(projectRoot, ...doctorRefsDir, fileName), markdown);
295
295
  }
296
296
  await writeFileSafe(runtimePath(projectRoot, "references", "harnesses.md"), harnessIntegrationDocMarkdown());
297
+ await writeFileSafe(runtimePath(projectRoot, "references", "harnesses-overview.md"), harnessDocsOverviewMarkdown());
297
298
  // Per-harness parity playbooks. Generated for every supported harness
298
299
  // regardless of which harnesses the project installed — the index always
299
300
  // resolves, and doctor only asserts presence of the installed harnesses'
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cclaw-cli",
3
- "version": "0.46.9",
3
+ "version": "0.46.10",
4
4
  "description": "Installer-first flow toolkit for coding agents",
5
5
  "type": "module",
6
6
  "bin": {