@skillcap/gdh 0.26.10 → 2.0.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/INSTALL-BUNDLE.json +1 -1
- package/README.md +1 -1
- package/RELEASE-SPAN-UPDATE-CONTRACTS.json +125 -0
- package/node_modules/@gdh/adapters/dist/codex-authoring-hook-block.d.ts +16 -0
- package/node_modules/@gdh/adapters/dist/codex-authoring-hook-block.d.ts.map +1 -0
- package/node_modules/@gdh/adapters/dist/codex-authoring-hook-block.js +40 -0
- package/node_modules/@gdh/adapters/dist/codex-authoring-hook-block.js.map +1 -0
- package/node_modules/@gdh/adapters/dist/index.d.ts +2 -30
- package/node_modules/@gdh/adapters/dist/index.d.ts.map +1 -1
- package/node_modules/@gdh/adapters/dist/index.js +99 -455
- package/node_modules/@gdh/adapters/dist/index.js.map +1 -1
- package/node_modules/@gdh/adapters/dist/self-update-mechanics.js +1 -1
- package/node_modules/@gdh/adapters/dist/self-update-mechanics.js.map +1 -1
- package/node_modules/@gdh/adapters/dist/skill-rendering.d.ts +4 -13
- package/node_modules/@gdh/adapters/dist/skill-rendering.d.ts.map +1 -1
- package/node_modules/@gdh/adapters/dist/skill-rendering.js +36 -98
- package/node_modules/@gdh/adapters/dist/skill-rendering.js.map +1 -1
- package/node_modules/@gdh/adapters/package.json +8 -8
- package/node_modules/@gdh/authoring/package.json +2 -2
- package/node_modules/@gdh/cli/dist/index.d.ts.map +1 -1
- package/node_modules/@gdh/cli/dist/index.js +16 -23
- package/node_modules/@gdh/cli/dist/index.js.map +1 -1
- package/node_modules/@gdh/cli/dist/migrate.d.ts.map +1 -1
- package/node_modules/@gdh/cli/dist/migrate.js +1 -4
- package/node_modules/@gdh/cli/dist/migrate.js.map +1 -1
- package/node_modules/@gdh/cli/dist/setup.d.ts.map +1 -1
- package/node_modules/@gdh/cli/dist/setup.js +6 -12
- package/node_modules/@gdh/cli/dist/setup.js.map +1 -1
- package/node_modules/@gdh/cli/package.json +10 -10
- package/node_modules/@gdh/core/dist/index.d.ts +18 -5
- package/node_modules/@gdh/core/dist/index.d.ts.map +1 -1
- package/node_modules/@gdh/core/dist/index.js +15 -6
- package/node_modules/@gdh/core/dist/index.js.map +1 -1
- package/node_modules/@gdh/core/dist/migrations/managed-surface-classes.d.ts +18 -54
- package/node_modules/@gdh/core/dist/migrations/managed-surface-classes.d.ts.map +1 -1
- package/node_modules/@gdh/core/dist/migrations/managed-surface-classes.js +12 -67
- package/node_modules/@gdh/core/dist/migrations/managed-surface-classes.js.map +1 -1
- package/node_modules/@gdh/core/dist/migrations/managed-target-surface-inventory.d.ts +11 -22
- package/node_modules/@gdh/core/dist/migrations/managed-target-surface-inventory.d.ts.map +1 -1
- package/node_modules/@gdh/core/dist/migrations/managed-target-surface-inventory.js +36 -38
- package/node_modules/@gdh/core/dist/migrations/managed-target-surface-inventory.js.map +1 -1
- package/node_modules/@gdh/core/package.json +1 -1
- package/node_modules/@gdh/docs/dist/recovery-hints.d.ts +18 -4
- package/node_modules/@gdh/docs/dist/recovery-hints.d.ts.map +1 -1
- package/node_modules/@gdh/docs/dist/recovery-hints.js +32 -34
- package/node_modules/@gdh/docs/dist/recovery-hints.js.map +1 -1
- package/node_modules/@gdh/docs/package.json +2 -2
- package/node_modules/@gdh/mcp/package.json +8 -8
- package/node_modules/@gdh/observability/package.json +2 -2
- package/node_modules/@gdh/runtime/package.json +2 -2
- package/node_modules/@gdh/scan/dist/onboard.js +2 -2
- package/node_modules/@gdh/scan/dist/onboard.js.map +1 -1
- package/node_modules/@gdh/scan/package.json +3 -3
- package/node_modules/@gdh/verify/package.json +7 -7
- package/package.json +11 -11
|
@@ -4,7 +4,7 @@ import fs from "node:fs/promises";
|
|
|
4
4
|
import os from "node:os";
|
|
5
5
|
import path from "node:path";
|
|
6
6
|
import { fileURLToPath } from "node:url";
|
|
7
|
-
import { buildGdhStatusResult, CLAUDE_CHECK_UPDATE_HOOK_RELATIVE_PATH, CLAUDE_MIGRATE_SKILL_RELATIVE_PATH, CLAUDE_ONBOARD_SKILL_RELATIVE_PATH, CLAUDE_PREPARE_SKILL_RELATIVE_PATH,
|
|
7
|
+
import { buildGdhStatusResult, CLAUDE_CHECK_UPDATE_HOOK_RELATIVE_PATH, CLAUDE_MIGRATE_SKILL_RELATIVE_PATH, CLAUDE_ONBOARD_SKILL_RELATIVE_PATH, CLAUDE_PREPARE_SKILL_RELATIVE_PATH, CLAUDE_STATUS_SKILL_RELATIVE_PATH, CODEX_MIGRATE_SKILL_RELATIVE_PATH, CODEX_ONBOARD_SKILL_RELATIVE_PATH, CODEX_PREPARE_SKILL_RELATIVE_PATH, CODEX_STATUS_SKILL_RELATIVE_PATH, createGsdSnapshot, getSupportedAgentAdaptersStatus, installSupportedAgentAdapters, } from "@gdh/adapters";
|
|
8
8
|
import { checkManagedLsp, doctorAuthoringDiagnostics, doctorManagedLsp, getAuthoringDiagnosticsStatus, getCurrentAuthoringDiagnostics, getManagedLspStatus, hasCompleteOnboardingSurface, inspectCacheState, pruneAuthoringDiagnostics, pruneCacheState, pruneManagedLsp, readProjectConfig, readWorktreeState, refreshAuthoringDiagnostics, resolveAuthoringStatus, resolveEffectiveTargetPath, resolvePinnedVersion, resolveProjectRoot, resolveTargetGodotDocsVersion, restartManagedLsp, runAuthoringCheck, runImportRefresh, runTargetPrepare, runWarmup, stopManagedLsp, warmupManagedLsp, } from "@gdh/authoring";
|
|
9
9
|
import { definePackageBoundary, GDH_AUTHORING_DOGFOOD_VERSION, GDH_AUTHORING_SLICE_REPORT_VERSION, GDH_PRODUCT_NAME, resolveCurrentGdhInstall, resolveGdhProductMetadata, } from "@gdh/core";
|
|
10
10
|
import { fetchOfficialGodotDoc, getGuidanceStatus, resolveGuidanceQuery, searchOfficialGodotDocs, } from "@gdh/docs";
|
|
@@ -280,7 +280,7 @@ async function runSetupCommand(args, io) {
|
|
|
280
280
|
"--yes skips prompts and uses detected defaults unless you override them with --project, --agent, or --all-agents.",
|
|
281
281
|
"--project selects one detected Godot project relative to the setup root when many are present.",
|
|
282
282
|
"--all-agents enables every supported agent available on this machine.",
|
|
283
|
-
"Supported agents: codex, claude
|
|
283
|
+
"Supported agents: codex, claude",
|
|
284
284
|
].join("\n") + "\n");
|
|
285
285
|
return 0;
|
|
286
286
|
}
|
|
@@ -306,7 +306,7 @@ async function runSetupCommand(args, io) {
|
|
|
306
306
|
}
|
|
307
307
|
const requestedAgents = collectAdapterNames(args);
|
|
308
308
|
if (requestedAgents === null) {
|
|
309
|
-
io.stderr.write("Usage error: --agent must be one of codex
|
|
309
|
+
io.stderr.write("Usage error: --agent must be one of codex or claude.\n");
|
|
310
310
|
return 1;
|
|
311
311
|
}
|
|
312
312
|
if (allAgents && requestedAgents.length > 0) {
|
|
@@ -1580,7 +1580,7 @@ async function runAdaptersCommand(args, io) {
|
|
|
1580
1580
|
" Install or repair supported-agent reinforcement surfaces.",
|
|
1581
1581
|
" gsd snapshot [target] [--files <path>] Export a read-mostly GSD projection as JSON.",
|
|
1582
1582
|
"",
|
|
1583
|
-
"Supported agents: codex, claude
|
|
1583
|
+
"Supported agents: codex, claude",
|
|
1584
1584
|
].join("\n") + "\n");
|
|
1585
1585
|
return 0;
|
|
1586
1586
|
}
|
|
@@ -2797,7 +2797,7 @@ async function runAdaptersStatusCommand(args, io) {
|
|
|
2797
2797
|
io.stdout.write([
|
|
2798
2798
|
"Usage: gdh adapters status [target] [--user] [--integration-root <path>]",
|
|
2799
2799
|
"",
|
|
2800
|
-
"Inspect Codex
|
|
2800
|
+
"Inspect Codex and Claude repo-local reinforcement status as JSON.",
|
|
2801
2801
|
"--user also inspects optional Codex user-local MCP registration.",
|
|
2802
2802
|
"Use --integration-root when the agent-facing repo root differs from the nested GDH target root.",
|
|
2803
2803
|
].join("\n") + "\n");
|
|
@@ -2842,7 +2842,7 @@ async function runAdaptersInstallCommand(args, io) {
|
|
|
2842
2842
|
"Install or repair supported-agent reinforcement surfaces while keeping AGENTS.md canonical.",
|
|
2843
2843
|
"--user installs user-local agent registration instead of repo-local surfaces.",
|
|
2844
2844
|
"Use --integration-root when the agent-facing repo root differs from the nested GDH target root.",
|
|
2845
|
-
"Supported agents: codex, claude
|
|
2845
|
+
"Supported agents: codex, claude",
|
|
2846
2846
|
].join("\n") + "\n");
|
|
2847
2847
|
return 0;
|
|
2848
2848
|
}
|
|
@@ -2867,7 +2867,7 @@ async function runAdaptersInstallCommand(args, io) {
|
|
|
2867
2867
|
}
|
|
2868
2868
|
const agents = collectAdapterNames(args);
|
|
2869
2869
|
if (agents === null) {
|
|
2870
|
-
io.stderr.write("Usage error: --agent must be one of codex
|
|
2870
|
+
io.stderr.write("Usage error: --agent must be one of codex or claude.\n");
|
|
2871
2871
|
return 1;
|
|
2872
2872
|
}
|
|
2873
2873
|
const devRepoPath = readSingleOptionValue(args, "--dev-repo");
|
|
@@ -3327,21 +3327,17 @@ const VERIFY_DRIFT_SCANNED_FILES = [
|
|
|
3327
3327
|
{ relativePath: CODEX_STATUS_SKILL_RELATIVE_PATH, description: "Codex gdh-status skill" },
|
|
3328
3328
|
{ relativePath: CODEX_MIGRATE_SKILL_RELATIVE_PATH, description: "Codex gdh-migrate skill" },
|
|
3329
3329
|
{ relativePath: CODEX_PREPARE_SKILL_RELATIVE_PATH, description: "Codex gdh-prepare skill" },
|
|
3330
|
-
{ relativePath: CODEX_SCAN_SKILL_RELATIVE_PATH, description: "Codex gdh-scan skill" },
|
|
3331
|
-
{ relativePath: CURSOR_ONBOARD_COMMAND_RELATIVE_PATH, description: "Cursor gdh-onboard command" },
|
|
3332
|
-
{ relativePath: CURSOR_STATUS_COMMAND_RELATIVE_PATH, description: "Cursor gdh-status command" },
|
|
3333
|
-
{ relativePath: CURSOR_MIGRATE_COMMAND_RELATIVE_PATH, description: "Cursor gdh-migrate command" },
|
|
3334
|
-
{ relativePath: CURSOR_PREPARE_COMMAND_RELATIVE_PATH, description: "Cursor gdh-prepare command" },
|
|
3335
|
-
{ relativePath: CURSOR_SCAN_COMMAND_RELATIVE_PATH, description: "Cursor gdh-scan command" },
|
|
3336
3330
|
{ relativePath: CLAUDE_ONBOARD_SKILL_RELATIVE_PATH, description: "Claude gdh-onboard skill" },
|
|
3337
3331
|
{ relativePath: CLAUDE_STATUS_SKILL_RELATIVE_PATH, description: "Claude gdh-status skill" },
|
|
3338
3332
|
{ relativePath: CLAUDE_MIGRATE_SKILL_RELATIVE_PATH, description: "Claude gdh-migrate skill" },
|
|
3339
3333
|
{ relativePath: CLAUDE_PREPARE_SKILL_RELATIVE_PATH, description: "Claude gdh-prepare skill" },
|
|
3340
|
-
|
|
3341
|
-
//
|
|
3342
|
-
//
|
|
3343
|
-
// MCP/CLI status, and explicit authoring-check commands
|
|
3344
|
-
//
|
|
3334
|
+
// Intentionally excluded: generated gdh-check and gdh-scan skills for Claude
|
|
3335
|
+
// and Codex. v0.25 retired the validation skill surface; v1.1 retires the
|
|
3336
|
+
// discovery skill surface (the `gdh scan` CLI verb stays). Validation evidence
|
|
3337
|
+
// belongs to hooks, MCP/CLI status, and explicit authoring-check commands;
|
|
3338
|
+
// scan now runs from the CLI when an inventory probe is needed. Scanning the
|
|
3339
|
+
// retired paths reports a false missing-file drift after a correct migration
|
|
3340
|
+
// removes them.
|
|
3345
3341
|
// Phase 12 extension — close the Phase 11 coverage gap (research §Baked Version Surface Inventory rows 26-28).
|
|
3346
3342
|
// These files are re-baked at pin time and must be audited by MIG-02's post-condition invariant.
|
|
3347
3343
|
//
|
|
@@ -3379,9 +3375,6 @@ const VERIFY_DRIFT_SCANNED_FILES = [
|
|
|
3379
3375
|
//
|
|
3380
3376
|
// Intentionally excluded: the Codex gdh-update skill (.agents/skills/gdh-update/SKILL.md) —
|
|
3381
3377
|
// same rationale: renders @skillcap/gdh@latest, not @<pinnedVersion>. Phase 13 D-13.
|
|
3382
|
-
//
|
|
3383
|
-
// Intentionally excluded: the Cursor gdh-update command (.cursor/commands/gdh-update.md) —
|
|
3384
|
-
// same rationale: renders @skillcap/gdh@latest, not @<pinnedVersion>. Phase 13 D-13.
|
|
3385
3378
|
];
|
|
3386
3379
|
// Mirrors EXACT_SEMVER_PATTERN in @gdh/authoring so only well-formed SemVer
|
|
3387
3380
|
// values match — drift check does not pick up unrelated doc prose.
|
|
@@ -3392,7 +3385,7 @@ async function runVerifyDriftCommand(args, io) {
|
|
|
3392
3385
|
"Usage: gdh verify drift [target]",
|
|
3393
3386
|
"",
|
|
3394
3387
|
"Compares every baked `@skillcap/gdh@<version>` literal across the managed",
|
|
3395
|
-
"surfaces (regenerated Codex/
|
|
3388
|
+
"surfaces (regenerated Codex/Claude skill files and hooks) against",
|
|
3396
3389
|
".gdh/project.yaml gdh_version. Exits 1 and",
|
|
3397
3390
|
"emits a structured JSON result when ANY file's baked version diverges from",
|
|
3398
3391
|
"the pinned value. Covers ROADMAP Success Criterion #3 (one source of truth).",
|
|
@@ -4777,7 +4770,7 @@ function collectAdapterNames(args) {
|
|
|
4777
4770
|
return agents;
|
|
4778
4771
|
}
|
|
4779
4772
|
function isSupportedAgent(value) {
|
|
4780
|
-
return value === "codex" || value === "claude"
|
|
4773
|
+
return value === "codex" || value === "claude";
|
|
4781
4774
|
}
|
|
4782
4775
|
function deriveGuidanceRepoState(context) {
|
|
4783
4776
|
const repoState = new Set();
|