@skillcap/gdh 0.21.0 → 0.21.1

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 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAmFA,OAAO,EAIL,2BAA2B,EAC5B,MAAM,oBAAoB,CAAC;AA8C5B,eAAO,MAAM,UAAU,wCAerB,CAAC;AAEH,MAAM,WAAW,KAAK;IACpB,QAAQ,CAAC,MAAM,EAAE,IAAI,CAAC,MAAM,CAAC,WAAW,EAAE,OAAO,CAAC,CAAC;IACnD,QAAQ,CAAC,MAAM,EAAE,IAAI,CAAC,MAAM,CAAC,WAAW,EAAE,OAAO,CAAC,CAAC;CACpD;AAED,wBAAsB,MAAM,CAC1B,IAAI,EAAE,SAAS,MAAM,EAAE,EACvB,EAAE,GAAE,KAA0D,GAC7D,OAAO,CAAC,MAAM,CAAC,CAgIjB;AA+CD,wBAAgB,eAAe,CAC7B,EAAE,EAAE,KAAK,EACT,KAAK,EAAE,OAAO,EACd,OAAO,GAAE;IAAE,QAAQ,CAAC,mBAAmB,CAAC,EAAE,OAAO,CAAA;CAAO,GACvD,IAAI,CAGN;AAglJD,wBAAgB,cAAc,CAAC,KAAK,EAAE,OAAO,GAAG,MAAM,CAErD;AAyDD,wBAAgB,qBAAqB,CAAC,IAAI,EAAE,SAAS,MAAM,EAAE,EAAE,UAAU,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAchG;AAED,wBAAgB,2BAA2B,CACzC,IAAI,EAAE,SAAS,MAAM,EAAE,EACvB,OAAO,EAAE;IACP,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,iBAAiB,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;IAC/C,QAAQ,CAAC,cAAc,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;CAC7C,GACA,MAAM,GAAG,IAAI,CAYf;AAED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/C,IAAI,EAAE,SAAS,MAAM,EAAE,EACvB,OAAO,EAAE;IACP,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,2BAA2B,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;CAC5D,GACA;IACD,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;IAC5B,QAAQ,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;CAC/B,CAeA;AAuBD,wBAAsB,kBAAkB,CACtC,UAAU,EAAE,MAAM,EAClB,KAAK,EAAE,UAAU,CAAC,OAAO,2BAA2B,CAAC,CAAC,CAAC,CAAC,GAAG;IACzD,QAAQ,CAAC,kBAAkB,CAAC,EAAE,MAAM,CAAC;CACtC,GACA,OAAO,CAAC,IAAI,CAAC,CAoBf;AAiED,wBAAgB,qBAAqB,CACnC,IAAI,EAAE,SAAS,MAAM,EAAE,EACvB,iBAAiB,EAAE,WAAW,CAAC,MAAM,CAAC,GACrC,SAAS,MAAM,EAAE,CAuBnB"}
@@ -1291,7 +1291,8 @@ async function runAdaptersCommand(args, io) {
1291
1291
  "Usage: gdh adapters <command> [target]",
1292
1292
  "",
1293
1293
  "Commands:",
1294
- " status [target] [--integration-root <path>] Inspect supported-agent reinforcement status as JSON.",
1294
+ " status [target] [--user] [--integration-root <path>]",
1295
+ " Inspect supported-agent reinforcement status as JSON.",
1295
1296
  " install [target] [--dry-run] [--agent <name>] [--user] [--dev-repo <path>] [--integration-root <path>]",
1296
1297
  " Install or repair supported-agent reinforcement surfaces.",
1297
1298
  " gsd snapshot [target] [--files <path>] Export a read-mostly GSD projection as JSON.",
@@ -1312,7 +1313,7 @@ async function runAdaptersCommand(args, io) {
1312
1313
  io.stderr.write([
1313
1314
  `Unknown adapters command: ${subcommand}`,
1314
1315
  "",
1315
- "Usage: gdh adapters status [target] [--integration-root <path>]",
1316
+ "Usage: gdh adapters status [target] [--user] [--integration-root <path>]",
1316
1317
  "Usage: gdh adapters install [target] [--dry-run] [--agent <name>] [--user] [--dev-repo <path>] [--integration-root <path>]",
1317
1318
  "Usage: gdh adapters gsd snapshot [target] [--files <path>]",
1318
1319
  ].join("\n") + "\n");
@@ -2282,15 +2283,17 @@ async function runScenarioShowCommand(args, io) {
2282
2283
  async function runAdaptersStatusCommand(args, io) {
2283
2284
  if (args.includes("--help")) {
2284
2285
  io.stdout.write([
2285
- "Usage: gdh adapters status [target] [--integration-root <path>]",
2286
+ "Usage: gdh adapters status [target] [--user] [--integration-root <path>]",
2286
2287
  "",
2287
- "Inspect Codex, Claude, and Cursor reinforcement status, including repo-local and user-local MCP readiness, as JSON.",
2288
+ "Inspect Codex, Claude, and Cursor repo-local reinforcement status as JSON.",
2289
+ "--user also inspects optional Codex user-local MCP registration.",
2288
2290
  "Use --integration-root when the agent-facing repo root differs from the nested GDH target root.",
2289
2291
  ].join("\n") + "\n");
2290
2292
  return 0;
2291
2293
  }
2292
2294
  const unsupportedOptionsError = findUnsupportedOptionsError(args, {
2293
- usage: "Usage: gdh adapters status [target] [--integration-root <path>]\n",
2295
+ usage: "Usage: gdh adapters status [target] [--user] [--integration-root <path>]\n",
2296
+ booleanOptions: ["--user"],
2294
2297
  optionsWithValues: ["--integration-root"],
2295
2298
  });
2296
2299
  if (unsupportedOptionsError !== null) {
@@ -2298,7 +2301,7 @@ async function runAdaptersStatusCommand(args, io) {
2298
2301
  return 1;
2299
2302
  }
2300
2303
  const { targetPath, error: targetPathError } = parseOptionalPositionalTargetPath(args, {
2301
- usage: "Usage: gdh adapters status [target] [--integration-root <path>]\n",
2304
+ usage: "Usage: gdh adapters status [target] [--user] [--integration-root <path>]\n",
2302
2305
  additionalOptionsWithValues: new Set(["--integration-root"]),
2303
2306
  });
2304
2307
  if (targetPathError !== null) {
@@ -2308,6 +2311,7 @@ async function runAdaptersStatusCommand(args, io) {
2308
2311
  const integrationRootPath = readSingleOptionValue(args, "--integration-root");
2309
2312
  try {
2310
2313
  const result = await getSupportedAgentAdaptersStatus(targetPath, {
2314
+ includeUserLocal: args.includes("--user"),
2311
2315
  integrationRootPath,
2312
2316
  });
2313
2317
  io.stdout.write(`${JSON.stringify(result, null, 2)}\n`);
@@ -3977,7 +3981,7 @@ function renderHelp() {
3977
3981
  " docs version [target] [--project <relative-path>] Resolve the effective Godot docs version and official source set.",
3978
3982
  " docs search <query> [target] [--project <relative-path>] [--limit <n>] Search official version-aware Godot docs.",
3979
3983
  " docs fetch <ref-or-url> [target] [--project <relative-path>] Fetch one official version-aware Godot docs page or section.",
3980
- " adapters status [target] [--integration-root <path>] Inspect supported-agent reinforcement status.",
3984
+ " adapters status [target] [--user] [--integration-root <path>] Inspect supported-agent reinforcement status.",
3981
3985
  " adapters install [target] [--dry-run] [--agent <name>] [--user] [--dev-repo <path>] [--integration-root <path>] Install or repair supported-agent reinforcement.",
3982
3986
  " adapters gsd snapshot [target] [--files <path>] Export a read-only GSD projection.",
3983
3987
  " authoring check [target] Run the current authoring-check entrypoint.",