@skillcap/gdh 0.21.1 → 0.23.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 +141 -0
- package/node_modules/@gdh/adapters/dist/authoring-hook-render.d.ts.map +1 -1
- package/node_modules/@gdh/adapters/dist/authoring-hook-render.js +7 -50
- package/node_modules/@gdh/adapters/dist/authoring-hook-render.js.map +1 -1
- package/node_modules/@gdh/adapters/dist/claude-settings-patch.d.ts.map +1 -1
- package/node_modules/@gdh/adapters/dist/claude-settings-patch.js +16 -14
- package/node_modules/@gdh/adapters/dist/claude-settings-patch.js.map +1 -1
- package/node_modules/@gdh/adapters/dist/index.d.ts +6 -1
- package/node_modules/@gdh/adapters/dist/index.d.ts.map +1 -1
- package/node_modules/@gdh/adapters/dist/index.js +30 -11
- package/node_modules/@gdh/adapters/dist/index.js.map +1 -1
- package/node_modules/@gdh/adapters/dist/skill-rendering.d.ts +4 -1
- package/node_modules/@gdh/adapters/dist/skill-rendering.d.ts.map +1 -1
- package/node_modules/@gdh/adapters/dist/skill-rendering.js +52 -1
- 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/dist/diagnostics-broker-contract.d.ts +112 -0
- package/node_modules/@gdh/authoring/dist/diagnostics-broker-contract.d.ts.map +1 -0
- package/node_modules/@gdh/authoring/dist/diagnostics-broker-contract.js +264 -0
- package/node_modules/@gdh/authoring/dist/diagnostics-broker-contract.js.map +1 -0
- package/node_modules/@gdh/authoring/dist/diagnostics-broker.d.ts +92 -0
- package/node_modules/@gdh/authoring/dist/diagnostics-broker.d.ts.map +1 -0
- package/node_modules/@gdh/authoring/dist/diagnostics-broker.js +532 -0
- package/node_modules/@gdh/authoring/dist/diagnostics-broker.js.map +1 -0
- package/node_modules/@gdh/authoring/dist/index.d.ts +1 -0
- package/node_modules/@gdh/authoring/dist/index.d.ts.map +1 -1
- package/node_modules/@gdh/authoring/dist/index.js +1 -0
- package/node_modules/@gdh/authoring/dist/index.js.map +1 -1
- package/node_modules/@gdh/authoring/dist/lsp-client.d.ts +16 -0
- package/node_modules/@gdh/authoring/dist/lsp-client.d.ts.map +1 -1
- package/node_modules/@gdh/authoring/dist/lsp-client.js +24 -0
- package/node_modules/@gdh/authoring/dist/lsp-client.js.map +1 -1
- package/node_modules/@gdh/authoring/dist/lsp.d.ts.map +1 -1
- package/node_modules/@gdh/authoring/dist/lsp.js +123 -2
- package/node_modules/@gdh/authoring/dist/lsp.js.map +1 -1
- 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 +179 -3
- 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 +5 -3
- package/node_modules/@gdh/cli/dist/migrate.js.map +1 -1
- package/node_modules/@gdh/cli/dist/setup.js +1 -1
- package/node_modules/@gdh/cli/package.json +10 -10
- package/node_modules/@gdh/core/dist/index.d.ts +115 -4
- package/node_modules/@gdh/core/dist/index.d.ts.map +1 -1
- package/node_modules/@gdh/core/dist/index.js +8 -3
- package/node_modules/@gdh/core/dist/index.js.map +1 -1
- package/node_modules/@gdh/core/package.json +1 -1
- package/node_modules/@gdh/docs/dist/guidance.d.ts.map +1 -1
- package/node_modules/@gdh/docs/dist/guidance.js +13 -8
- package/node_modules/@gdh/docs/dist/guidance.js.map +1 -1
- package/node_modules/@gdh/docs/package.json +2 -2
- package/node_modules/@gdh/mcp/dist/index.d.ts.map +1 -1
- package/node_modules/@gdh/mcp/dist/index.js +100 -18
- package/node_modules/@gdh/mcp/dist/index.js.map +1 -1
- 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/package.json +3 -3
- package/node_modules/@gdh/verify/package.json +7 -7
- package/package.json +12 -12
package/INSTALL-BUNDLE.json
CHANGED
package/README.md
CHANGED
|
@@ -23,7 +23,7 @@ GDH writes the project guidance, agent skill surfaces, MCP config, and local sta
|
|
|
23
23
|
|
|
24
24
|
## Requirements
|
|
25
25
|
|
|
26
|
-
- Node.js
|
|
26
|
+
- Node.js 24 or newer.
|
|
27
27
|
- A local Godot project, currently focused on Godot 4.4 through 4.6.
|
|
28
28
|
- A supported AI coding agent: Codex, Claude, or Cursor.
|
|
29
29
|
- Optional: `GDH_GODOT_EDITOR_BIN` for Godot import refresh or direct local runtime checks.
|
|
@@ -2351,6 +2351,147 @@
|
|
|
2351
2351
|
}
|
|
2352
2352
|
]
|
|
2353
2353
|
}
|
|
2354
|
+
},
|
|
2355
|
+
{
|
|
2356
|
+
"version": "0.22.0",
|
|
2357
|
+
"releaseTag": "v0.22.0",
|
|
2358
|
+
"migrationStatus": "required",
|
|
2359
|
+
"summary": "v0.22.0 adds the managed gdh-run-game skill, tightens its runtime run-configuration guidance, fixes MCP runtime target canonicalization for nested cwd launches, and simplifies managed authoring hooks to post-edit validation without dirty Stop state. Existing managed targets need `gdh migrate --apply` because GDH_AGENT_CONTRACT_VERSION moves 7 -> 8, GDH_GUIDANCE_UNIT_VERSION moves 15 -> 16, and GDH_UPDATE_HOOK_VERSION moves 3 -> 4.",
|
|
2360
|
+
"releaseHighlights": {
|
|
2361
|
+
"summary": "v0.22.0 adds a managed `gdh-run-game` skill for Claude, Codex, and Cursor, hardens runtime run-configuration discovery in nested workspaces, and simplifies managed authoring hooks so post-edit checks are decisive without a dirty-file Stop gate. Agents now have a task-shaped workflow for listing, checking, running, and interactively driving GDH run configurations without guessing launch commands or relying on the current working directory.",
|
|
2362
|
+
"operatorChanges": [
|
|
2363
|
+
"**New run-game skill.** Managed targets now receive `gdh-run-game`, which covers natural requests such as running, launching, smoke-testing, screenshotting, or starting a bridge session for the game, client, or server.",
|
|
2364
|
+
"**Run-config workflow guidance.** The skill routes agents through `run-config list`, `show`, `check`, `run`, and `bridge session ...` commands, and distinguishes bounded evidence runs from ongoing interactive bridge sessions.",
|
|
2365
|
+
"**Draft run-config handling.** Agents are told that `draft` is valid and must not be treated as failure; successful `statusPromotion: candidate_observed` evidence can be reported without silently editing project-owned YAML.",
|
|
2366
|
+
"**Nested target runtime fix.** MCP runtime tools now canonicalize nested working directories to the onboarded GDH target so repo-root `.gdh/run-configurations/` remains visible when an MCP session starts from a nested Godot app directory.",
|
|
2367
|
+
"**Post-edit-only authoring hooks.** Managed Codex and Claude authoring hooks now run focused `gdh authoring check --mode post-edit --changed <path> --format compact` after supported edit tools and no longer persist dirty-file state or register managed Stop hooks.",
|
|
2368
|
+
"**Node 24 maintainer floor.** GDH development and release tooling now requires Node 24 for this implementation repo."
|
|
2369
|
+
]
|
|
2370
|
+
},
|
|
2371
|
+
"updateContract": {
|
|
2372
|
+
"summary": "Managed targets need release-specific migration for v0.22.0 because generated agent skill and hook surfaces changed. After self-update, run `gdh migrate --apply`, then validate adapter status and drift.",
|
|
2373
|
+
"steps": [
|
|
2374
|
+
{
|
|
2375
|
+
"id": "self_update_runtime_workflow_package",
|
|
2376
|
+
"kind": "mechanical",
|
|
2377
|
+
"summary": "Install the v0.22.0 GDH package.",
|
|
2378
|
+
"detail": "Run the normal GDH self-update or package update path. This updates host-side MCP runtime target canonicalization and makes the new managed skill and hook renderers available.",
|
|
2379
|
+
"commands": [
|
|
2380
|
+
"gdh self-update --apply"
|
|
2381
|
+
],
|
|
2382
|
+
"validationCommands": [
|
|
2383
|
+
"gdh status"
|
|
2384
|
+
]
|
|
2385
|
+
},
|
|
2386
|
+
{
|
|
2387
|
+
"id": "rebake_run_game_skill",
|
|
2388
|
+
"kind": "mechanical",
|
|
2389
|
+
"summary": "Re-bake managed agent skill and hook surfaces.",
|
|
2390
|
+
"detail": "Run `gdh migrate --apply` so managed agent contract version 8 writes the new `gdh-run-game` skill, refreshed instruction surfaces, and hook version 4 post-edit-only authoring hooks to the target.",
|
|
2391
|
+
"commands": [
|
|
2392
|
+
"gdh migrate --apply"
|
|
2393
|
+
],
|
|
2394
|
+
"validationCommands": [
|
|
2395
|
+
"gdh adapters status",
|
|
2396
|
+
"gdh verify drift",
|
|
2397
|
+
"gdh status"
|
|
2398
|
+
]
|
|
2399
|
+
},
|
|
2400
|
+
{
|
|
2401
|
+
"id": "verify_run_config_visibility",
|
|
2402
|
+
"kind": "agent_reasoning",
|
|
2403
|
+
"summary": "Confirm run configurations are visible from the agent launch context.",
|
|
2404
|
+
"detail": "If the agent is launched from a repo root, nested Godot app, or sibling workspace, use the managed target path as GDH's optional `[target]` argument. Confirm `run-config list` finds the expected project-owned run configurations before running the game.",
|
|
2405
|
+
"commands": [
|
|
2406
|
+
"gdh run-config list [target]",
|
|
2407
|
+
"gdh run-config check [target] <run-config-id>"
|
|
2408
|
+
],
|
|
2409
|
+
"validationCommands": [
|
|
2410
|
+
"gdh run-config list [target]",
|
|
2411
|
+
"gdh run-config check [target] <run-config-id>"
|
|
2412
|
+
]
|
|
2413
|
+
},
|
|
2414
|
+
{
|
|
2415
|
+
"id": "choose_runtime_execution_mode",
|
|
2416
|
+
"kind": "agent_reasoning",
|
|
2417
|
+
"summary": "Choose bounded run evidence or a bridge session based on user intent.",
|
|
2418
|
+
"detail": "Use `gdh run-config run` for bounded evidence. Use `gdh bridge session start` plus list/get/entries/invoke/screenshot/stop when the user asks for an ongoing interactive game session. Do not silently edit run-config YAML when GDH reports a draft promotion candidate.",
|
|
2419
|
+
"commands": [
|
|
2420
|
+
"gdh run-config run [target] <run-config-id>",
|
|
2421
|
+
"gdh bridge session start [target] <run-config-id>"
|
|
2422
|
+
],
|
|
2423
|
+
"validationCommands": [
|
|
2424
|
+
"gdh status",
|
|
2425
|
+
"gdh adapters status"
|
|
2426
|
+
]
|
|
2427
|
+
}
|
|
2428
|
+
]
|
|
2429
|
+
}
|
|
2430
|
+
},
|
|
2431
|
+
{
|
|
2432
|
+
"version": "0.23.0",
|
|
2433
|
+
"releaseTag": "v0.23.0",
|
|
2434
|
+
"migrationStatus": "required",
|
|
2435
|
+
"summary": "v0.23.0 ships the persistent diagnostics broker for agent-visible Godot LSP feedback. Existing managed targets need `gdh migrate --apply` because GDH_GUIDANCE_UNIT_VERSION moves 16 -> 17 (authoring guidance now teaches the diagnostics broker workflow) and GDH_UPDATE_HOOK_VERSION moves 4 -> 5 (managed post-edit hooks now refresh the broker before the authoring check).",
|
|
2436
|
+
"releaseHighlights": {
|
|
2437
|
+
"summary": "v0.23.0 ships a persistent diagnostics broker for GDH-managed Godot targets. A target/worktree-local broker keeps a live Godot LSP client connected, maintains the current normalized diagnostics snapshot under `.gdh-state`, and exposes that snapshot to CLI, MCP, post-edit hooks, and generated agent guidance. Broker state is local-only, loopback-bound, and token-protected. `gdh authoring check --mode post-edit|final` remains the explicit validation/evidence path with broker fast-path and direct LSP/static fallback.",
|
|
2438
|
+
"operatorChanges": [
|
|
2439
|
+
"**New `gdh authoring diagnostics` CLI surface.** `status`, `current`, `refresh`, `doctor`, and `prune` operations let agents inspect current Godot LSP problems without re-running ad hoc authoring checks. `prune` is intentionally CLI-only and not exposed via MCP.",
|
|
2440
|
+
"**New MCP `authoring.diagnostics` tools.** MCP exposes `status`, `current`, `refresh`, and `doctor` parity for the same broker surface.",
|
|
2441
|
+
"**Post-edit hooks refresh the broker before authoring check.** Managed Codex and Claude post-edit hooks now call `gdh authoring diagnostics refresh --target <root> --changed <path>` before the existing `gdh authoring check --mode post-edit` call. Broker refresh failure is non-fatal; the authoring check falls back to direct LSP collection.",
|
|
2442
|
+
"**Generated agent guidance teaches the broker workflow.** Agent guidance distinguishes diagnostics-broker visibility (`diagnostics current/refresh/doctor`) from explicit evidence runs (`authoring check --mode final` for task handoff, commit, or broad validation).",
|
|
2443
|
+
"**Honest snapshot scope and freshness.** Snapshots default to `opened_files_only` scope and `scope_limited` freshness classification. GDH does not claim whole-project diagnostics unless the Godot LSP emits evidence at that scope.",
|
|
2444
|
+
"**Self-update detects legacy hooks without diagnostics refresh.** Self-update re-renders post-edit hooks that pre-date the broker workflow.",
|
|
2445
|
+
"**Docs-validation tripwires.** `DIAG-BROKER-01` validate-docs checks block regression of the `authoring-dirty.json` ledger and Stop-hook validation patterns."
|
|
2446
|
+
]
|
|
2447
|
+
},
|
|
2448
|
+
"updateContract": {
|
|
2449
|
+
"summary": "Managed targets need release-specific migration for v0.23.0 because generated authoring guidance and post-edit hook surfaces changed for the diagnostics broker workflow. After self-update, run `gdh migrate --apply`, then validate adapter status, drift, and the new diagnostics broker surfaces.",
|
|
2450
|
+
"steps": [
|
|
2451
|
+
{
|
|
2452
|
+
"id": "self_update_runtime_workflow_package",
|
|
2453
|
+
"kind": "mechanical",
|
|
2454
|
+
"summary": "Install the v0.23.0 GDH package.",
|
|
2455
|
+
"detail": "Run the normal GDH self-update or package update path. This makes the new authoring diagnostics CLI/MCP surfaces, refreshed managed hook renderer, and updated guidance available to the host.",
|
|
2456
|
+
"commands": [
|
|
2457
|
+
"gdh self-update --apply"
|
|
2458
|
+
],
|
|
2459
|
+
"validationCommands": [
|
|
2460
|
+
"gdh status"
|
|
2461
|
+
]
|
|
2462
|
+
},
|
|
2463
|
+
{
|
|
2464
|
+
"id": "rebake_diagnostics_broker_surfaces",
|
|
2465
|
+
"kind": "mechanical",
|
|
2466
|
+
"summary": "Re-bake managed authoring guidance and post-edit hook surfaces.",
|
|
2467
|
+
"detail": "Run `gdh migrate --apply` so guidance unit version 17 writes the new diagnostics broker guidance and hook version 5 writes the managed post-edit hooks that refresh the broker before the authoring check.",
|
|
2468
|
+
"commands": [
|
|
2469
|
+
"gdh migrate --apply"
|
|
2470
|
+
],
|
|
2471
|
+
"validationCommands": [
|
|
2472
|
+
"gdh adapters status",
|
|
2473
|
+
"gdh verify drift",
|
|
2474
|
+
"gdh status"
|
|
2475
|
+
]
|
|
2476
|
+
},
|
|
2477
|
+
{
|
|
2478
|
+
"id": "verify_diagnostics_broker_visibility",
|
|
2479
|
+
"kind": "agent_reasoning",
|
|
2480
|
+
"summary": "Confirm the diagnostics broker is reachable for the target.",
|
|
2481
|
+
"detail": "Inspect the broker with `gdh authoring diagnostics status` and, if needed, `gdh authoring diagnostics doctor`. On hosts without a configured Godot editor binary, expect honest `unavailable` results and rely on `gdh authoring check --mode final` for explicit evidence runs. Use `gdh authoring diagnostics refresh --changed <path>` after edits to warm the snapshot before reading it.",
|
|
2482
|
+
"commands": [
|
|
2483
|
+
"gdh authoring diagnostics status",
|
|
2484
|
+
"gdh authoring diagnostics doctor",
|
|
2485
|
+
"gdh authoring diagnostics refresh --changed <path>",
|
|
2486
|
+
"gdh authoring diagnostics current"
|
|
2487
|
+
],
|
|
2488
|
+
"validationCommands": [
|
|
2489
|
+
"gdh authoring diagnostics status",
|
|
2490
|
+
"gdh authoring check --mode final"
|
|
2491
|
+
]
|
|
2492
|
+
}
|
|
2493
|
+
]
|
|
2494
|
+
}
|
|
2354
2495
|
}
|
|
2355
2496
|
]
|
|
2356
2497
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"authoring-hook-render.d.ts","sourceRoot":"","sources":["../src/authoring-hook-render.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,mCAAmC,yCAAyC,CAAC;AAC1F,eAAO,MAAM,kCAAkC,wCAAwC,CAAC;AACxF,eAAO,MAAM,6BAA6B,uRAC4O,CAAC;AACvR,eAAO,MAAM,4BAA4B,qRAC2O,CAAC;AAErR,wBAAgB,sBAAsB,CAAC,KAAK,EAAE;IAC5C,QAAQ,CAAC,aAAa,EAAE,MAAM,CAAC;IAC/B,QAAQ,CAAC,kBAAkB,EAAE,MAAM,CAAC;IACpC,QAAQ,CAAC,KAAK,EAAE,OAAO,GAAG,QAAQ,CAAC;CACpC,GAAG,MAAM,
|
|
1
|
+
{"version":3,"file":"authoring-hook-render.d.ts","sourceRoot":"","sources":["../src/authoring-hook-render.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,mCAAmC,yCAAyC,CAAC;AAC1F,eAAO,MAAM,kCAAkC,wCAAwC,CAAC;AACxF,eAAO,MAAM,6BAA6B,uRAC4O,CAAC;AACvR,eAAO,MAAM,4BAA4B,qRAC2O,CAAC;AAErR,wBAAgB,sBAAsB,CAAC,KAAK,EAAE;IAC5C,QAAQ,CAAC,aAAa,EAAE,MAAM,CAAC;IAC/B,QAAQ,CAAC,kBAAkB,EAAE,MAAM,CAAC;IACpC,QAAQ,CAAC,KAAK,EAAE,OAAO,GAAG,QAAQ,CAAC;CACpC,GAAG,MAAM,CAmIT"}
|
|
@@ -14,7 +14,6 @@ export function renderGdhAuthoringHook(input) {
|
|
|
14
14
|
"",
|
|
15
15
|
"const fs = require('fs');",
|
|
16
16
|
"const path = require('path');",
|
|
17
|
-
"const crypto = require('crypto');",
|
|
18
17
|
"const { spawnSync } = require('child_process');",
|
|
19
18
|
"",
|
|
20
19
|
"const AUTHORING_EXTENSIONS = new Set(['.gd', '.tscn', '.tres']);",
|
|
@@ -29,7 +28,6 @@ export function renderGdhAuthoringHook(input) {
|
|
|
29
28
|
" CURRENT_EVENT = hookEvent;",
|
|
30
29
|
" if (!targetRoot) return allow();",
|
|
31
30
|
" if (hookEvent === 'PostToolUse' || hookEvent === 'FileChanged') return handlePostEdit(input, targetRoot);",
|
|
32
|
-
" if (hookEvent === 'Stop') return handleStop(input, targetRoot);",
|
|
33
31
|
" return allow();",
|
|
34
32
|
"}",
|
|
35
33
|
"",
|
|
@@ -37,33 +35,19 @@ export function renderGdhAuthoringHook(input) {
|
|
|
37
35
|
" const changed = collectChangedFiles(input, targetRoot);",
|
|
38
36
|
" const authoring = changed.filter(isAuthoringValidationPath);",
|
|
39
37
|
" if (authoring.length === 0) return allow();",
|
|
40
|
-
" const
|
|
41
|
-
"
|
|
42
|
-
"
|
|
43
|
-
"
|
|
44
|
-
"
|
|
38
|
+
" const changedArgs = authoring.flatMap((file) => ['--changed', file]);",
|
|
39
|
+
" // Attempt to refresh the diagnostics broker for changed files.",
|
|
40
|
+
" // Broker refresh failure is non-fatal: the authoring check falls back to direct LSP.",
|
|
41
|
+
" runGdh(targetRoot, ['authoring', 'diagnostics', 'refresh', '--target', targetRoot, ...changedArgs]);",
|
|
42
|
+
" // Run compact authoring check. When broker was refreshed, this uses the fresh snapshot.",
|
|
43
|
+
" // When broker is unavailable, this falls back to direct LSP post-edit collection.",
|
|
44
|
+
" const result = runGdh(targetRoot, ['authoring', 'check', '--target', targetRoot, '--mode', 'post-edit', '--format', 'compact', ...changedArgs]);",
|
|
45
45
|
" if (!result.ok || !/Completion allowed\\./.test(result.output)) {",
|
|
46
46
|
" return block(`GDH post-edit authoring check needs attention.\\n${result.output || result.error || 'No check output.'}`);",
|
|
47
47
|
" }",
|
|
48
48
|
" return allow();",
|
|
49
49
|
"}",
|
|
50
50
|
"",
|
|
51
|
-
"function handleStop(input, targetRoot) {",
|
|
52
|
-
" const state = readDirtyState(targetRoot);",
|
|
53
|
-
" const sessionState = readCurrentSessionDirtyState(state, input);",
|
|
54
|
-
" const dirtyFiles = sanitizeDirtyFiles(sessionState.dirtyFiles || []);",
|
|
55
|
-
" if (dirtyFiles.length === 0) return allow();",
|
|
56
|
-
" const result = runGdh(targetRoot, ['authoring', 'check', '--target', targetRoot, '--mode', 'final', '--format', 'compact']);",
|
|
57
|
-
" if (result.ok && /Completion allowed\\./.test(result.output)) {",
|
|
58
|
-
" clearCurrentSessionDirtyState(targetRoot, state, input);",
|
|
59
|
-
" return allow();",
|
|
60
|
-
" }",
|
|
61
|
-
" const dirtyHash = hash(JSON.stringify(dirtyFiles));",
|
|
62
|
-
" if (input.stop_hook_active === true && sessionState.lastBlockedHash === dirtyHash) return allow();",
|
|
63
|
-
" writeCurrentSessionDirtyState(targetRoot, state, input, { dirtyFiles, updatedAt: new Date().toISOString(), lastBlockedHash: dirtyHash });",
|
|
64
|
-
" return block(`GDH final authoring check is not clean for changed authoring files. Continue fixing before stopping.\\n${result.output || result.error || 'No check output.'}`);",
|
|
65
|
-
"}",
|
|
66
|
-
"",
|
|
67
51
|
"function runGdh(targetRoot, args) {",
|
|
68
52
|
" const result = spawnSync('npx', ['-y', `@skillcap/gdh@${PINNED_VERSION}`, ...args], {",
|
|
69
53
|
" cwd: targetRoot,",
|
|
@@ -138,34 +122,7 @@ export function renderGdhAuthoringHook(input) {
|
|
|
138
122
|
" return process.cwd();",
|
|
139
123
|
"}",
|
|
140
124
|
"",
|
|
141
|
-
"function dirtyStatePath(targetRoot) { return path.join(targetRoot, '.gdh-state', 'agent-hooks', 'authoring-dirty.json'); }",
|
|
142
|
-
"function readDirtyState(targetRoot) { try { return JSON.parse(fs.readFileSync(dirtyStatePath(targetRoot), 'utf8')); } catch { return { sessions: {} }; } }",
|
|
143
|
-
"function writeDirtyState(targetRoot, state) { const file = dirtyStatePath(targetRoot); fs.mkdirSync(path.dirname(file), { recursive: true }); fs.writeFileSync(file, `${JSON.stringify(state, null, 2)}\\n`, 'utf8'); }",
|
|
144
|
-
"function clearDirtyState(targetRoot) { try { fs.rmSync(dirtyStatePath(targetRoot), { force: true }); } catch {} }",
|
|
145
|
-
"function readCurrentSessionDirtyState(state, input) {",
|
|
146
|
-
" const sessions = state && typeof state === 'object' && state.sessions && typeof state.sessions === 'object' ? state.sessions : {};",
|
|
147
|
-
" const current = sessions[currentSessionKey(input)];",
|
|
148
|
-
" return current && typeof current === 'object' ? current : { dirtyFiles: [], lastBlockedHash: null };",
|
|
149
|
-
"}",
|
|
150
|
-
"function writeCurrentSessionDirtyState(targetRoot, state, input, sessionState) {",
|
|
151
|
-
" const sessions = state && typeof state === 'object' && state.sessions && typeof state.sessions === 'object' ? { ...state.sessions } : {};",
|
|
152
|
-
" sessions[currentSessionKey(input)] = sessionState;",
|
|
153
|
-
" writeDirtyState(targetRoot, { sessions });",
|
|
154
|
-
"}",
|
|
155
|
-
"function clearCurrentSessionDirtyState(targetRoot, state, input) {",
|
|
156
|
-
" const sessions = state && typeof state === 'object' && state.sessions && typeof state.sessions === 'object' ? { ...state.sessions } : {};",
|
|
157
|
-
" delete sessions[currentSessionKey(input)];",
|
|
158
|
-
" if (Object.keys(sessions).length === 0) return clearDirtyState(targetRoot);",
|
|
159
|
-
" writeDirtyState(targetRoot, { sessions });",
|
|
160
|
-
"}",
|
|
161
|
-
"function currentSessionKey(input) { const id = hookSessionId(input); return `${AGENT}:${id || 'no-session'}`; }",
|
|
162
|
-
"function hookSessionId(input) {",
|
|
163
|
-
" const raw = input && (input.session_id || input.sessionId || input.conversation_id || input.conversationId);",
|
|
164
|
-
" return typeof raw === 'string' && raw.trim() ? raw.trim() : '';",
|
|
165
|
-
"}",
|
|
166
|
-
"function sanitizeDirtyFiles(values) { return unique(values).filter((file) => typeof file === 'string' && file !== '' && !file.startsWith('../') && !path.isAbsolute(file) && isAuthoringValidationPath(file)); }",
|
|
167
125
|
"function unique(values) { return [...new Set(values.filter(Boolean))].sort(); }",
|
|
168
|
-
"function hash(value) { return crypto.createHash('sha256').update(value).digest('hex'); }",
|
|
169
126
|
"function readHookInput() { try { return JSON.parse(fs.readFileSync(0, 'utf8') || '{}'); } catch { return {}; } }",
|
|
170
127
|
"",
|
|
171
128
|
"function allow() { process.exit(0); }",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"authoring-hook-render.js","sourceRoot":"","sources":["../src/authoring-hook-render.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,WAAW,CAAC;AAEpD,MAAM,CAAC,MAAM,mCAAmC,GAAG,sCAAsC,CAAC;AAC1F,MAAM,CAAC,MAAM,kCAAkC,GAAG,qCAAqC,CAAC;AACxF,MAAM,CAAC,MAAM,6BAA6B,GACxC,oRAAoR,CAAC;AACvR,MAAM,CAAC,MAAM,4BAA4B,GACvC,kRAAkR,CAAC;AAErR,MAAM,UAAU,sBAAsB,CAAC,KAItC;IACC,OAAO;QACL,qBAA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AiE;QACjE,yBAAyB;QACzB,GAAG;QACH,EAAE;QACF,iFAAiF;QACjF,kHAAkH;QAClH,EAAE;QACF,uCAAuC;QACvC,0BAA0B;QAC1B,kDAAkD;QAClD,oHAAoH;QACpH,0DAA0D;QAC1D,oBAAoB;QACpB,GAAG;QACH,EAAE;KACH,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;AACf,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"claude-settings-patch.d.ts","sourceRoot":"","sources":["../src/claude-settings-patch.ts"],"names":[],"mappings":"AAGA;;;GAGG;AACH,eAAO,MAAM,6BAA6B,0BAA0B,CAAC;AAErE;;;;;;;GAOG;AACH,eAAO,MAAM,8BAA8B,2CAA2C,CAAC;AACvF,eAAO,MAAM,0BAA0B,uRAAgC,CAAC;AA+DxE;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,wBAAgB,qCAAqC,CAAC,eAAe,EAAE,MAAM,GAAG,MAAM,CAuCrF;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AACH,wBAAgB,mCAAmC,CAAC,eAAe,EAAE,MAAM,GAAG,MAAM,CAQnF;AAeD,wBAAgB,uCAAuC,CAAC,eAAe,EAAE,MAAM,GAAG,MAAM,
|
|
1
|
+
{"version":3,"file":"claude-settings-patch.d.ts","sourceRoot":"","sources":["../src/claude-settings-patch.ts"],"names":[],"mappings":"AAGA;;;GAGG;AACH,eAAO,MAAM,6BAA6B,0BAA0B,CAAC;AAErE;;;;;;;GAOG;AACH,eAAO,MAAM,8BAA8B,2CAA2C,CAAC;AACvF,eAAO,MAAM,0BAA0B,uRAAgC,CAAC;AA+DxE;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,wBAAgB,qCAAqC,CAAC,eAAe,EAAE,MAAM,GAAG,MAAM,CAuCrF;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AACH,wBAAgB,mCAAmC,CAAC,eAAe,EAAE,MAAM,GAAG,MAAM,CAQnF;AAeD,wBAAgB,uCAAuC,CAAC,eAAe,EAAE,MAAM,GAAG,MAAM,CAwCvF"}
|
|
@@ -176,22 +176,14 @@ export function patchClaudeSettingsForGdhAuthoringHooks(existingContent) {
|
|
|
176
176
|
],
|
|
177
177
|
});
|
|
178
178
|
}
|
|
179
|
-
const stop =
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
{
|
|
186
|
-
type: "command",
|
|
187
|
-
command: GDH_AUTHORING_HOOK_COMMAND,
|
|
188
|
-
timeout: 120,
|
|
189
|
-
},
|
|
190
|
-
],
|
|
191
|
-
});
|
|
179
|
+
const stop = removeGdhAuthoringHookGroups(Array.isArray(hooks.Stop) ? hooks.Stop : []);
|
|
180
|
+
if (stop.length > 0) {
|
|
181
|
+
hooks.Stop = stop;
|
|
182
|
+
}
|
|
183
|
+
else {
|
|
184
|
+
delete hooks.Stop;
|
|
192
185
|
}
|
|
193
186
|
hooks.PostToolUse = postToolUse;
|
|
194
|
-
hooks.Stop = stop;
|
|
195
187
|
settings.hooks = hooks;
|
|
196
188
|
return `${JSON.stringify(settings, null, 2)}\n`;
|
|
197
189
|
}
|
|
@@ -213,6 +205,16 @@ function normalizeGdhAuthoringHookGroups(groups, options) {
|
|
|
213
205
|
: { ...group, matcher: options.matcher, hooks: normalizedHooks };
|
|
214
206
|
});
|
|
215
207
|
}
|
|
208
|
+
function removeGdhAuthoringHookGroups(groups) {
|
|
209
|
+
return groups.flatMap((group) => {
|
|
210
|
+
if (!group || !Array.isArray(group.hooks))
|
|
211
|
+
return [group];
|
|
212
|
+
if (!hasHookCommand([group], GDH_AUTHORING_HOOK_COMMAND))
|
|
213
|
+
return [group];
|
|
214
|
+
const hooks = group.hooks.filter((hook) => !(hook.type === "command" && hook.command === GDH_AUTHORING_HOOK_COMMAND));
|
|
215
|
+
return hooks.length > 0 ? [{ ...group, hooks }] : [];
|
|
216
|
+
});
|
|
217
|
+
}
|
|
216
218
|
function parseClaudeSettings(existingContent) {
|
|
217
219
|
try {
|
|
218
220
|
const trimmed = existingContent.trim();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"claude-settings-patch.js","sourceRoot":"","sources":["../src/claude-settings-patch.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,MAAM,+BAA+B,CAAC;AACvE,OAAO,EAAE,6BAA6B,EAAE,MAAM,4BAA4B,CAAC;AAE3E;;;GAGG;AACH,MAAM,CAAC,MAAM,6BAA6B,GAAG,uBAAuB,CAAC;AAErE;;;;;;;GAOG;AACH,MAAM,CAAC,MAAM,8BAA8B,GAAG,wCAAwC,CAAC;AACvF,MAAM,CAAC,MAAM,0BAA0B,GAAG,6BAA6B,CAAC;AACxE,MAAM,mCAAmC,GAAG,0BAA0B,CAAC;AA4BvE,SAAS,cAAc,CAAC,MAAkC,EAAE,OAAe;IACzE,KAAK,MAAM,KAAK,IAAI,MAAM,EAAE,CAAC;QAC3B,IAAI,CAAC,KAAK,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,KAAK,CAAC;YAAE,SAAS;QACpD,KAAK,MAAM,CAAC,IAAI,KAAK,CAAC,KAAK,EAAE,CAAC;YAC5B,IACE,CAAC,KAAK,IAAI;gBACV,OAAO,CAAC,KAAK,QAAQ;gBACpB,CAAuB,CAAC,IAAI,KAAK,SAAS;gBAC1C,CAAuB,CAAC,OAAO,KAAK,OAAO,EAC5C,CAAC;gBACD,OAAO,IAAI,CAAC;YACd,CAAC;QACH,CAAC;IACH,CAAC;IACD,OAAO,KAAK,CAAC;AACf,CAAC;AAED,SAAS,sBAAsB,CAAC,YAAwC;IACtE,KAAK,MAAM,KAAK,IAAI,YAAY,EAAE,CAAC;QACjC,IAAI,CAAC,KAAK,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,KAAK,CAAC;YAAE,SAAS;QACpD,KAAK,MAAM,CAA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AC;QACH,MAAM,OAAO,GAAG,eAAe,CAAC,IAAI,EAAE,CAAC;QACvC,IAAI,OAAO,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;YACzB,OAAO,EAAE,CAAC;QACZ,CAAC;QACD,MAAM,MAAM,GAAY,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC;QAC5C,IAAI,MAAM,KAAK,IAAI,IAAI,OAAO,MAAM,KAAK,QAAQ,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,MAAM,CAAC,EAAE,CAAC;YAC5E,OAAO,MAA6B,CAAC;QACvC,CAAC;IACH,CAAC;IAAC,MAAM,CAAC;QACP,kCAAkC;IACpC,CAAC;IACD,OAAO,EAAE,CAAC;AACZ,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type GdhAgentAdaptersInstallResult, type GdhAgentAdaptersStatusResult, type GdhGsdSnapshot, type GdhProjectLifecycleCompatibilityResult, type GdhProjectLifecycleSurfaceStatus, type GdhStatusResult, type GdhSupportedAgent } from "@gdh/core";
|
|
2
|
-
export { GDH_MANAGED_AGENT_SKILL_MARKER, GDH_SKILL_DEFINITIONS, GDH_SKILL_IDS, renderGdhSkill, renderManagedSkillMarker, renderClaudeCheckSkill, renderClaudeMigrateSkill, renderClaudeOnboardSkill, renderClaudePrepareSkill, renderClaudeScanSkill, renderClaudeStatusSkill, renderClaudeUpdateSkill, renderCodexCheckSkill, renderCodexMigrateSkill, renderCodexOnboardSkill, renderCodexPrepareSkill, renderCodexScanSkill, renderCodexStatusSkill, renderCodexUpdateSkill, renderCursorCheckSkill, renderCursorMigrateSkill, renderCursorOnboardSkill, renderCursorPrepareSkill, renderCursorScanSkill, renderCursorStatusSkill, renderCursorUpdateSkill, } from "./skill-rendering.js";
|
|
2
|
+
export { GDH_MANAGED_AGENT_SKILL_MARKER, GDH_SKILL_DEFINITIONS, GDH_SKILL_IDS, renderGdhSkill, renderManagedSkillMarker, renderClaudeCheckSkill, renderClaudeMigrateSkill, renderClaudeOnboardSkill, renderClaudePrepareSkill, renderClaudeRunGameSkill, renderClaudeScanSkill, renderClaudeStatusSkill, renderClaudeUpdateSkill, renderCodexCheckSkill, renderCodexMigrateSkill, renderCodexOnboardSkill, renderCodexPrepareSkill, renderCodexRunGameSkill, renderCodexScanSkill, renderCodexStatusSkill, renderCodexUpdateSkill, renderCursorCheckSkill, renderCursorMigrateSkill, renderCursorOnboardSkill, renderCursorPrepareSkill, renderCursorRunGameSkill, renderCursorScanSkill, renderCursorStatusSkill, renderCursorUpdateSkill, } from "./skill-rendering.js";
|
|
3
3
|
export declare const adaptersPackage: import("@gdh/core").GdhPackageBoundary;
|
|
4
4
|
export declare const SUPPORTED_AGENTS: readonly ["codex", "claude", "cursor"];
|
|
5
5
|
export declare const CLAUDE_SHIM_RELATIVE_PATH = "CLAUDE.md";
|
|
@@ -13,14 +13,17 @@ export declare const CLAUDE_STATUS_SKILL_RELATIVE_PATH = ".claude/skills/gdh-sta
|
|
|
13
13
|
export declare const CLAUDE_MIGRATE_SKILL_RELATIVE_PATH = ".claude/skills/gdh-migrate/SKILL.md";
|
|
14
14
|
export declare const CLAUDE_CHECK_SKILL_RELATIVE_PATH = ".claude/skills/gdh-check/SKILL.md";
|
|
15
15
|
export declare const CLAUDE_PREPARE_SKILL_RELATIVE_PATH = ".claude/skills/gdh-prepare/SKILL.md";
|
|
16
|
+
export declare const CLAUDE_RUN_GAME_SKILL_RELATIVE_PATH = ".claude/skills/gdh-run-game/SKILL.md";
|
|
16
17
|
export declare const CODEX_STATUS_SKILL_RELATIVE_PATH = ".agents/skills/gdh-status/SKILL.md";
|
|
17
18
|
export declare const CODEX_MIGRATE_SKILL_RELATIVE_PATH = ".agents/skills/gdh-migrate/SKILL.md";
|
|
18
19
|
export declare const CODEX_CHECK_SKILL_RELATIVE_PATH = ".agents/skills/gdh-check/SKILL.md";
|
|
19
20
|
export declare const CODEX_PREPARE_SKILL_RELATIVE_PATH = ".agents/skills/gdh-prepare/SKILL.md";
|
|
21
|
+
export declare const CODEX_RUN_GAME_SKILL_RELATIVE_PATH = ".agents/skills/gdh-run-game/SKILL.md";
|
|
20
22
|
export declare const CURSOR_STATUS_SKILL_RELATIVE_PATH = ".cursor/skills/gdh-status/SKILL.md";
|
|
21
23
|
export declare const CURSOR_MIGRATE_SKILL_RELATIVE_PATH = ".cursor/skills/gdh-migrate/SKILL.md";
|
|
22
24
|
export declare const CURSOR_CHECK_SKILL_RELATIVE_PATH = ".cursor/skills/gdh-check/SKILL.md";
|
|
23
25
|
export declare const CURSOR_PREPARE_SKILL_RELATIVE_PATH = ".cursor/skills/gdh-prepare/SKILL.md";
|
|
26
|
+
export declare const CURSOR_RUN_GAME_SKILL_RELATIVE_PATH = ".cursor/skills/gdh-run-game/SKILL.md";
|
|
24
27
|
export declare const CLAUDE_UPDATE_SKILL_RELATIVE_PATH = ".claude/skills/gdh-update/SKILL.md";
|
|
25
28
|
export declare const CODEX_UPDATE_SKILL_RELATIVE_PATH = ".agents/skills/gdh-update/SKILL.md";
|
|
26
29
|
export declare const CURSOR_UPDATE_SKILL_RELATIVE_PATH = ".cursor/skills/gdh-update/SKILL.md";
|
|
@@ -31,6 +34,7 @@ export declare const CLAUDE_STATUS_COMMAND_RELATIVE_PATH = ".claude/skills/gdh-s
|
|
|
31
34
|
export declare const CLAUDE_MIGRATE_COMMAND_RELATIVE_PATH = ".claude/skills/gdh-migrate/SKILL.md";
|
|
32
35
|
export declare const CLAUDE_CHECK_COMMAND_RELATIVE_PATH = ".claude/skills/gdh-check/SKILL.md";
|
|
33
36
|
export declare const CLAUDE_PREPARE_COMMAND_RELATIVE_PATH = ".claude/skills/gdh-prepare/SKILL.md";
|
|
37
|
+
export declare const CLAUDE_RUN_GAME_COMMAND_RELATIVE_PATH = ".claude/skills/gdh-run-game/SKILL.md";
|
|
34
38
|
export declare const CLAUDE_UPDATE_COMMAND_RELATIVE_PATH = ".claude/skills/gdh-update/SKILL.md";
|
|
35
39
|
export declare const CLAUDE_SCAN_COMMAND_RELATIVE_PATH = ".claude/skills/gdh-scan/SKILL.md";
|
|
36
40
|
export declare const CURSOR_SCAN_SKILL_RELATIVE_PATH = ".cursor/skills/gdh-scan/SKILL.md";
|
|
@@ -62,6 +66,7 @@ export declare function renderClaudeMigrateCommand(pinnedVersion: string): strin
|
|
|
62
66
|
export declare function renderClaudeUpdateCommand(pinnedVersion: string): string;
|
|
63
67
|
export declare function renderClaudeCheckCommand(pinnedVersion: string): string;
|
|
64
68
|
export declare function renderClaudePrepareCommand(pinnedVersion: string): string;
|
|
69
|
+
export declare function renderClaudeRunGameCommand(pinnedVersion: string): string;
|
|
65
70
|
export declare function renderManagedCodexProjectSection(pinnedVersion: string): string;
|
|
66
71
|
export declare function renderManagedCodexProjectConfig(existingContent: string | null, pinnedVersion: string): string;
|
|
67
72
|
declare function summarizeProjectLifecycleCompatibility(targetPath: string, surfaces: readonly GdhProjectLifecycleSurfaceStatus[]): GdhProjectLifecycleCompatibilityResult;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAgBA,OAAO,EAcL,KAAK,6BAA6B,EAClC,KAAK,4BAA4B,EACjC,KAAK,cAAc,EAInB,KAAK,sCAAsC,EAE3C,KAAK,gCAAgC,EAKrC,KAAK,eAAe,EACpB,KAAK,iBAAiB,EAIvB,MAAM,WAAW,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAgBA,OAAO,EAcL,KAAK,6BAA6B,EAClC,KAAK,4BAA4B,EACjC,KAAK,cAAc,EAInB,KAAK,sCAAsC,EAE3C,KAAK,gCAAgC,EAKrC,KAAK,eAAe,EACpB,KAAK,iBAAiB,EAIvB,MAAM,WAAW,CAAC;AAkEnB,OAAO,EACL,8BAA8B,EAC9B,qBAAqB,EACrB,aAAa,EACb,cAAc,EACd,wBAAwB,EACxB,sBAAsB,EAC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