@kaddo/cli 3.28.2 → 3.30.0
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 -0
- package/dist/index.js +11 -4
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -524,6 +524,8 @@ create --from roadmap → owners → guard → explain`.
|
|
|
524
524
|
| v3.28 | Claude Code adapter: `kaddo adapters install claude` (alias `kaddo export claude`) generates a `CLAUDE.md` projection reusing the shared adapter common core (`--dry-run`/`--force`) |
|
|
525
525
|
| v3.28.1 | Claude adapter safe merge: `--inject` works for `CLAUDE.md` too; adapter markers are now target-neutral (`KADDO ADAPTER`) and legacy Codex markers auto-migrate on update |
|
|
526
526
|
| v3.28.2 | Adapter inject guard: `--inject` on a fully Kaddo-generated AGENTS.md/CLAUDE.md does nothing (suggests `--force`), preventing duplicated Kaddo guidance |
|
|
527
|
+
| v3.29 | OpenCode adapter: `kaddo adapters install opencode` (alias `kaddo export opencode`) generates an `AGENTS.md` projection reusing the shared adapter common core (`--dry-run`/`--force`/`--inject` + inject guard) |
|
|
528
|
+
| v3.30 | Antigravity adapter: `kaddo adapters install antigravity` (alias `kaddo export antigravity`) generates an `AGENTS.md` projection reusing the shared adapter common core (`--dry-run`/`--force`/`--inject` + inject guard) |
|
|
527
529
|
|
|
528
530
|
**Optional modules (installed with `kaddo add`):**
|
|
529
531
|
|
package/dist/index.js
CHANGED
|
@@ -12404,7 +12404,12 @@ var ROLE_HINTS = {
|
|
|
12404
12404
|
"graph-agent": "use to turn graph hints into front matter.",
|
|
12405
12405
|
"capsule-agent": "use to refine a Knowledge Capsule for sharing."
|
|
12406
12406
|
};
|
|
12407
|
-
var TARGET_FILE = {
|
|
12407
|
+
var TARGET_FILE = {
|
|
12408
|
+
codex: "AGENTS.md",
|
|
12409
|
+
claude: "CLAUDE.md",
|
|
12410
|
+
opencode: "AGENTS.md",
|
|
12411
|
+
antigravity: "AGENTS.md"
|
|
12412
|
+
};
|
|
12408
12413
|
function renderAdapterMarkdown(ctx, target) {
|
|
12409
12414
|
const file = TARGET_FILE[target];
|
|
12410
12415
|
const L = [];
|
|
@@ -12608,7 +12613,9 @@ ${sep}${block}
|
|
|
12608
12613
|
// src/commands/adapters.ts
|
|
12609
12614
|
var TARGETS2 = {
|
|
12610
12615
|
codex: { target: "codex", file: "AGENTS.md", label: "Codex", supportsInject: true },
|
|
12611
|
-
claude: { target: "claude", file: "CLAUDE.md", label: "Claude Code", supportsInject: true }
|
|
12616
|
+
claude: { target: "claude", file: "CLAUDE.md", label: "Claude Code", supportsInject: true },
|
|
12617
|
+
opencode: { target: "opencode", file: "AGENTS.md", label: "OpenCode", supportsInject: true },
|
|
12618
|
+
antigravity: { target: "antigravity", file: "AGENTS.md", label: "Antigravity", supportsInject: true }
|
|
12612
12619
|
};
|
|
12613
12620
|
function runAdaptersInstall(adapter, opts = {}) {
|
|
12614
12621
|
const dir = cwd();
|
|
@@ -12750,10 +12757,10 @@ var questionsAction = (opts) => runQuestions(opts);
|
|
|
12750
12757
|
program.command("questions").description("Open-questions readiness gate: blocking/important/deferred decisions before the roadmap").option("--json", "Output JSON instead of a summary").option("--output <path>", "Write the report to a file (e.g. .kaddo/reports/questions-report.md)").action(questionsAction);
|
|
12751
12758
|
program.command("readiness").description("Alias for `kaddo questions`").option("--json", "Output JSON instead of a summary").option("--output <path>", "Write the report to a file").action(questionsAction);
|
|
12752
12759
|
var adaptersCmd = program.command("adapters").description("Generate adapters that project Kaddo knowledge for external coding agents");
|
|
12753
|
-
adaptersCmd.command("install <adapter>").description("Generate an adapter file (codex \u2192 AGENTS.md, claude \u2192 CLAUDE.md) from Kaddo knowledge").option("--force", "Overwrite an existing output file").option("--inject", "Add or update only the Kaddo block in an existing file, preserving the rest").option("--dry-run", "Print the content without writing files").action((adapter, opts) => {
|
|
12760
|
+
adaptersCmd.command("install <adapter>").description("Generate an adapter file (codex/opencode/antigravity \u2192 AGENTS.md, claude \u2192 CLAUDE.md) from Kaddo knowledge").option("--force", "Overwrite an existing output file").option("--inject", "Add or update only the Kaddo block in an existing file, preserving the rest").option("--dry-run", "Print the content without writing files").action((adapter, opts) => {
|
|
12754
12761
|
runAdaptersInstall(adapter, opts);
|
|
12755
12762
|
});
|
|
12756
|
-
program.command("export <adapter>").description("Alias for `kaddo adapters install <adapter>` (codex \u2192 AGENTS.md, claude \u2192 CLAUDE.md)").option("--force", "Overwrite an existing output file").option("--inject", "Add or update only the Kaddo block in an existing file, preserving the rest").option("--dry-run", "Print the content without writing files").action((adapter, opts) => {
|
|
12763
|
+
program.command("export <adapter>").description("Alias for `kaddo adapters install <adapter>` (codex/opencode/antigravity \u2192 AGENTS.md, claude \u2192 CLAUDE.md)").option("--force", "Overwrite an existing output file").option("--inject", "Add or update only the Kaddo block in an existing file, preserving the rest").option("--dry-run", "Print the content without writing files").action((adapter, opts) => {
|
|
12757
12764
|
runAdaptersInstall(adapter, opts);
|
|
12758
12765
|
});
|
|
12759
12766
|
program.command("guard").description("Check if modified code has related artifacts that were not updated").option("--staged", "Check only staged files").option("--no-interactive", "Disable interactive ignore prompts").option("--ci", "CI mode: output JSON, no prompts, non-blocking").option("--json", "Output JSON (alias for --ci)").option("--workspace", "Also check local mapped module repos from .kaddo/modules.yml (opt-in)").option("--include-archived", "Include archived Work Items in ownership matching (excluded by default)").option("--record", "Record this run to .kaddo/history/ for drift trend reporting").action(async (opts) => {
|