@skillcap/gdh 0.26.10 → 1.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.
Files changed (55) hide show
  1. package/INSTALL-BUNDLE.json +1 -1
  2. package/README.md +1 -1
  3. package/RELEASE-SPAN-UPDATE-CONTRACTS.json +70 -0
  4. package/node_modules/@gdh/adapters/dist/codex-authoring-hook-block.d.ts +16 -0
  5. package/node_modules/@gdh/adapters/dist/codex-authoring-hook-block.d.ts.map +1 -0
  6. package/node_modules/@gdh/adapters/dist/codex-authoring-hook-block.js +40 -0
  7. package/node_modules/@gdh/adapters/dist/codex-authoring-hook-block.js.map +1 -0
  8. package/node_modules/@gdh/adapters/dist/index.d.ts +2 -26
  9. package/node_modules/@gdh/adapters/dist/index.d.ts.map +1 -1
  10. package/node_modules/@gdh/adapters/dist/index.js +70 -435
  11. package/node_modules/@gdh/adapters/dist/index.js.map +1 -1
  12. package/node_modules/@gdh/adapters/dist/self-update-mechanics.js +1 -1
  13. package/node_modules/@gdh/adapters/dist/self-update-mechanics.js.map +1 -1
  14. package/node_modules/@gdh/adapters/dist/skill-rendering.d.ts +2 -9
  15. package/node_modules/@gdh/adapters/dist/skill-rendering.d.ts.map +1 -1
  16. package/node_modules/@gdh/adapters/dist/skill-rendering.js +20 -49
  17. package/node_modules/@gdh/adapters/dist/skill-rendering.js.map +1 -1
  18. package/node_modules/@gdh/adapters/package.json +8 -8
  19. package/node_modules/@gdh/authoring/package.json +2 -2
  20. package/node_modules/@gdh/cli/dist/index.d.ts.map +1 -1
  21. package/node_modules/@gdh/cli/dist/index.js +10 -18
  22. package/node_modules/@gdh/cli/dist/index.js.map +1 -1
  23. package/node_modules/@gdh/cli/dist/migrate.d.ts.map +1 -1
  24. package/node_modules/@gdh/cli/dist/migrate.js +1 -4
  25. package/node_modules/@gdh/cli/dist/migrate.js.map +1 -1
  26. package/node_modules/@gdh/cli/dist/setup.d.ts.map +1 -1
  27. package/node_modules/@gdh/cli/dist/setup.js +6 -12
  28. package/node_modules/@gdh/cli/dist/setup.js.map +1 -1
  29. package/node_modules/@gdh/cli/package.json +10 -10
  30. package/node_modules/@gdh/core/dist/index.d.ts +8 -5
  31. package/node_modules/@gdh/core/dist/index.d.ts.map +1 -1
  32. package/node_modules/@gdh/core/dist/index.js +5 -6
  33. package/node_modules/@gdh/core/dist/index.js.map +1 -1
  34. package/node_modules/@gdh/core/dist/migrations/managed-surface-classes.d.ts +15 -51
  35. package/node_modules/@gdh/core/dist/migrations/managed-surface-classes.d.ts.map +1 -1
  36. package/node_modules/@gdh/core/dist/migrations/managed-surface-classes.js +9 -64
  37. package/node_modules/@gdh/core/dist/migrations/managed-surface-classes.js.map +1 -1
  38. package/node_modules/@gdh/core/dist/migrations/managed-target-surface-inventory.d.ts +6 -17
  39. package/node_modules/@gdh/core/dist/migrations/managed-target-surface-inventory.d.ts.map +1 -1
  40. package/node_modules/@gdh/core/dist/migrations/managed-target-surface-inventory.js +6 -22
  41. package/node_modules/@gdh/core/dist/migrations/managed-target-surface-inventory.js.map +1 -1
  42. package/node_modules/@gdh/core/package.json +1 -1
  43. package/node_modules/@gdh/docs/dist/recovery-hints.d.ts +18 -4
  44. package/node_modules/@gdh/docs/dist/recovery-hints.d.ts.map +1 -1
  45. package/node_modules/@gdh/docs/dist/recovery-hints.js +32 -34
  46. package/node_modules/@gdh/docs/dist/recovery-hints.js.map +1 -1
  47. package/node_modules/@gdh/docs/package.json +2 -2
  48. package/node_modules/@gdh/mcp/package.json +8 -8
  49. package/node_modules/@gdh/observability/package.json +2 -2
  50. package/node_modules/@gdh/runtime/package.json +2 -2
  51. package/node_modules/@gdh/scan/dist/onboard.js +2 -2
  52. package/node_modules/@gdh/scan/dist/onboard.js.map +1 -1
  53. package/node_modules/@gdh/scan/package.json +3 -3
  54. package/node_modules/@gdh/verify/package.json +7 -7
  55. package/package.json +11 -11
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "product": "GDH",
3
- "version": "0.26.10",
3
+ "version": "1.0.0",
4
4
  "installMode": "packaged_install"
5
5
  }
package/README.md CHANGED
@@ -25,7 +25,7 @@ GDH writes the project guidance, agent skill surfaces, MCP config, and local sta
25
25
 
26
26
  - Node.js 24 or newer.
27
27
  - A local Godot project, currently focused on Godot 4.4 through 4.6.
28
- - A supported AI coding agent: Codex, Claude, or Cursor.
28
+ - A supported AI coding agent: Codex or Claude.
29
29
  - Optional: `GDH_GODOT_EDITOR_BIN` for Godot import refresh or direct local runtime checks.
30
30
  - Optional: Docker for the Docker-backed rendered runtime path.
31
31
 
@@ -3532,6 +3532,76 @@
3532
3532
  }
3533
3533
  ]
3534
3534
  }
3535
+ },
3536
+ {
3537
+ "version": "1.0.0",
3538
+ "releaseTag": "v1.0.0",
3539
+ "migrationStatus": "required",
3540
+ "summary": "v1.0.0 contracts the GDH adapter surface. Two breaking changes drive the major bump: cursor is hard-deleted as a supported adapter target (no compatibility shim) and gdh-migrate becomes agent-invoked-only (hidden from the user slash-menu and called internally by /gdh-update). GDH_AGENT_CONTRACT_VERSION moves 19 -> 20 to drive a managed-target rebake covering cursor removal, the migrate-as-agent-only switch, and the per-agent approval narrative for /gdh-update and /gdh-migrate (Claude AskUserQuestion / Codex request_user_input). The retired-managed-surface cleanup planner enumerates content-checked .cursor/* deletions so legacy targets that have no render-inventory.json are also swept; user-authored .cursor/ content is preserved verbatim. No new class-2 or class-3 migration registry entry is introduced.",
3541
+ "releaseHighlights": {
3542
+ "summary": "v1.0.0 contracts the GDH adapter surface and tightens the human/agent boundary. Two breaking changes drive the major bump: - **Cursor is no longer a supported GDH adapter target.** The cursor agent is hard-deleted across source, tests, fixtures, docs, and managed renderers. Existing managed targets that ran a pre-v1.0 GDH have their `.cursor/*` GDH-rendered files swept on the next `gdh self-update` / `gdh migrate --apply`. - **`gdh-migrate` is now agent-invoked-only.** It is hidden from the user slash-menu (`user-invocable: false` for Claude, equivalent for Codex) and called internally by `/gdh-update`. Humans use `/gdh-update`; the migrate sub-skill is the agent-driven half of the same flow. Together with the per-agent approval narrative, recovery-hint routing, and managed-skill cleanup that ride along, v1.0.0 is the first release that consistently models the agent-as-caller contract: the agent runs the workflow with explicit per-agent approval mechanisms (`AskUserQuestion` for Claude, `request_user_input` for Codex), and the human triggers the workflow but is not asked to remember CLI mechanics.",
3543
+ "operatorChanges": [
3544
+ "**Cursor adapter removed (breaking).** `gdh setup`, `gdh adapters install`, `gdh adapters status`, `gdh status`, and skill rendering no longer recognise cursor. Operators on the cursor target must migrate to Claude or Codex; there is no in-place compatibility shim.",
3545
+ "**`/gdh-migrate` slash command is hidden (breaking).** The skill remains in the managed surface set (the agent calls it under the hood for class-2/3 transforms and per-version chain steps), but it is no longer invocable from the user slash-menu. Operators run `/gdh-update`; that skill drives migrate as needed.",
3546
+ "**Per-agent approval narrative for `/gdh-update` and `/gdh-migrate`.** Both skills now describe the provider-specific user-question tool the agent should use when asking for approval — Claude `AskUserQuestion`, Codex `request_user_input` — rather than a generic \"ask the user\" hint. The cross-provider body equality test for managed skills explicitly exempts these two.",
3547
+ "**Recovery hints route through `/gdh-update`.** Reasons that previously surfaced bare `gdh ...` commands now point operators at the human-facing slash command, with the auto bridge repair flow attached.",
3548
+ "**Legacy-target cursor cleanup.** The retired-managed-surface cleanup planner now enumerates `.cursor/commands/gdh-*.md`, `.cursor/skills/gdh-*/SKILL.md`, and `.cursor/rules/gdh-agent.mdc` as content-checked deletions. User-authored content under `.cursor/` (including `.cursor/mcp.json`, which may carry non-GDH MCP servers) is never touched.",
3549
+ "**Managed adapter contract version 19 → 20.** `GDH_AGENT_CONTRACT_VERSION` bumps to drive a managed-target rebake on the next `gdh self-update` / `gdh migrate --apply`, refreshing skill bodies after cursor removal, the migrate-as-agent-only switch, and the per-agent approval narrative.",
3550
+ "**GSD workflow scaffolding removed.** Repo-vendored adapter scaffolding for the retired `gsd` workflow is dropped; this affects only this implementation repo, not managed targets."
3551
+ ]
3552
+ },
3553
+ "updateContract": {
3554
+ "summary": "Existing managed targets must re-bake managed adapter surfaces at GDH_AGENT_CONTRACT_VERSION 20. Cursor targets must re-onboard against Claude or Codex; there is no in-place cursor compatibility shim.",
3555
+ "steps": [
3556
+ {
3557
+ "id": "install_v1_0_0",
3558
+ "kind": "mechanical",
3559
+ "summary": "Install the v1.0.0 GDH package.",
3560
+ "detail": "Run gdh self-update so the target uses the v1.0.0 package with the contracted adapter surface (no cursor) and the new agent contract version.",
3561
+ "commands": [
3562
+ "gdh self-update --apply"
3563
+ ],
3564
+ "validationCommands": [
3565
+ "gdh status",
3566
+ "gdh adapters status"
3567
+ ]
3568
+ },
3569
+ {
3570
+ "id": "rebake_managed_surfaces_and_sweep_cursor",
3571
+ "kind": "mechanical",
3572
+ "summary": "Re-bake managed surfaces at GDH_AGENT_CONTRACT_VERSION 20 and sweep retired cursor surfaces.",
3573
+ "detail": "Run gdh migrate --apply (or invoke /gdh-update on the agent side, which calls migrate as needed). The deterministic re-bake refreshes managed skill bodies for the migrate-as-agent-only switch and per-agent approval narrative; the retired-managed-surface cleanup planner removes any .cursor/commands/gdh-*.md, .cursor/skills/gdh-*/SKILL.md, and .cursor/rules/gdh-agent.mdc files that still carry GDH managed markers.",
3574
+ "commands": [
3575
+ "gdh migrate --apply"
3576
+ ],
3577
+ "validationCommands": [
3578
+ "gdh adapters status",
3579
+ "gdh status"
3580
+ ]
3581
+ },
3582
+ {
3583
+ "id": "switch_cursor_targets_to_supported_adapter",
3584
+ "kind": "manual_review",
3585
+ "summary": "Re-onboard cursor targets against Claude or Codex.",
3586
+ "detail": "There is no in-place cursor compatibility shim. Operators previously running cursor must re-onboard the target with gdh setup --agent claude or gdh setup --agent codex. Skip this step if cursor was never used on this target.",
3587
+ "commands": [
3588
+ "gdh setup --agent claude",
3589
+ "gdh setup --agent codex"
3590
+ ],
3591
+ "validationCommands": [
3592
+ "gdh adapters status"
3593
+ ]
3594
+ },
3595
+ {
3596
+ "id": "switch_human_invocations_from_migrate_to_update",
3597
+ "kind": "manual_review",
3598
+ "summary": "Use /gdh-update instead of /gdh-migrate from the human slash-menu.",
3599
+ "detail": "/gdh-migrate is now hidden from the user slash-menu (user-invocable: false on Claude; equivalent on Codex). The agent calls migrate under the hood as part of /gdh-update; humans interact with /gdh-update only. No on-disk action is required — this is a workflow change. Validate by attempting /gdh-update on a fresh agent session.",
3600
+ "commands": [],
3601
+ "validationCommands": []
3602
+ }
3603
+ ]
3604
+ }
3535
3605
  }
3536
3606
  ]
3537
3607
  }
@@ -0,0 +1,16 @@
1
+ /**
2
+ * Render the managed Codex authoring hook block (Phase 82 / LSP-03).
3
+ *
4
+ * Renders PostToolUse and Stop registrations inside one BEGIN/END envelope,
5
+ * in that order. The empty line between the two blocks is for human
6
+ * readability. `removeManagedCodexAuthoringHookBlock` strips the entire
7
+ * envelope as a single unit, so re-render replaces both blocks atomically
8
+ * (byte-identical idempotency).
9
+ */
10
+ export declare function renderManagedCodexAuthoringHookBlock(): string;
11
+ /**
12
+ * Strip the managed Codex authoring hook envelope from a config string.
13
+ * Idempotent: returns input unchanged when no envelope is present.
14
+ */
15
+ export declare function removeManagedCodexAuthoringHookBlock(content: string): string;
16
+ //# sourceMappingURL=codex-authoring-hook-block.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"codex-authoring-hook-block.d.ts","sourceRoot":"","sources":["../src/codex-authoring-hook-block.ts"],"names":[],"mappings":"AAEA;;;;;;;;GAQG;AACH,wBAAgB,oCAAoC,IAAI,MAAM,CAkB7D;AAED;;;GAGG;AACH,wBAAgB,oCAAoC,CAAC,OAAO,EAAE,MAAM,GAAG,MAAM,CAQ5E"}
@@ -0,0 +1,40 @@
1
+ import { CODEX_AUTHORING_HOOK_COMMAND } from "./authoring-hook-render.js";
2
+ /**
3
+ * Render the managed Codex authoring hook block (Phase 82 / LSP-03).
4
+ *
5
+ * Renders PostToolUse and Stop registrations inside one BEGIN/END envelope,
6
+ * in that order. The empty line between the two blocks is for human
7
+ * readability. `removeManagedCodexAuthoringHookBlock` strips the entire
8
+ * envelope as a single unit, so re-render replaces both blocks atomically
9
+ * (byte-identical idempotency).
10
+ */
11
+ export function renderManagedCodexAuthoringHookBlock() {
12
+ return [
13
+ "# BEGIN GDH managed authoring hooks",
14
+ "[[hooks.PostToolUse]]",
15
+ 'matcher = "^(apply_patch|Edit|Write)$"',
16
+ "[[hooks.PostToolUse.hooks]]",
17
+ 'type = "command"',
18
+ `command = ${JSON.stringify(CODEX_AUTHORING_HOOK_COMMAND)}`,
19
+ "timeout = 30",
20
+ "",
21
+ "[[hooks.Stop]]",
22
+ "[[hooks.Stop.hooks]]",
23
+ 'type = "command"',
24
+ `command = ${JSON.stringify(CODEX_AUTHORING_HOOK_COMMAND)}`,
25
+ "timeout = 60",
26
+ "# END GDH managed authoring hooks",
27
+ "",
28
+ ].join("\n");
29
+ }
30
+ /**
31
+ * Strip the managed Codex authoring hook envelope from a config string.
32
+ * Idempotent: returns input unchanged when no envelope is present.
33
+ */
34
+ export function removeManagedCodexAuthoringHookBlock(content) {
35
+ return content
36
+ .replace(/(?:^|\n)# BEGIN GDH managed authoring hooks\n[\s\S]*?# END GDH managed authoring hooks\n?/, "\n")
37
+ .replace(/\n{3,}/g, "\n\n")
38
+ .trimEnd();
39
+ }
40
+ //# sourceMappingURL=codex-authoring-hook-block.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"codex-authoring-hook-block.js","sourceRoot":"","sources":["../src/codex-authoring-hook-block.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,4BAA4B,EAAE,MAAM,4BAA4B,CAAC;AAE1E;;;;;;;;GAQG;AACH,MAAM,UAAU,oCAAoC;IAClD,OAAO;QACL,qCAAqC;QACrC,uBAAuB;QACvB,wCAAwC;QACxC,6BAA6B;QAC7B,kBAAkB;QAClB,aAAa,IAAI,CAAC,SAAS,CAAC,4BAA4B,CAAC,EAAE;QAC3D,cAAc;QACd,EAAE;QACF,gBAAgB;QAChB,sBAAsB;QACtB,kBAAkB;QAClB,aAAa,IAAI,CAAC,SAAS,CAAC,4BAA4B,CAAC,EAAE;QAC3D,cAAc;QACd,mCAAmC;QACnC,EAAE;KACH,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;AACf,CAAC;AAED;;;GAGG;AACH,MAAM,UAAU,oCAAoC,CAAC,OAAe;IAClE,OAAO,OAAO;SACX,OAAO,CACN,2FAA2F,EAC3F,IAAI,CACL;SACA,OAAO,CAAC,SAAS,EAAE,MAAM,CAAC;SAC1B,OAAO,EAAE,CAAC;AACf,CAAC"}
@@ -1,14 +1,11 @@
1
1
  import { type GdhAgentAdaptersInstallResult, type GdhAgentAdaptersStatusResult, type GdhGsdSnapshot, type GdhProjectLifecycleCompatibilityResult, type GdhProjectLifecycleSurfaceStatus, type GdhStatusResult, type GdhSupportedAgent } from "@gdh/core";
2
2
  import { type GdhStatusBuildAdapters } from "./deferred-actions-advisory.js";
3
- export { GDH_MANAGED_AGENT_SKILL_MARKER, GDH_SKILL_DEFINITIONS, GDH_SKILL_IDS, renderGdhSkill, renderManagedSkillMarker, renderClaudeMigrateSkill, renderClaudeOnboardSkill, renderClaudePrepareSkill, renderClaudeRunGameSkill, renderClaudeScanSkill, renderClaudeStatusSkill, renderClaudeUpdateSkill, renderCodexMigrateSkill, renderCodexOnboardSkill, renderCodexPrepareSkill, renderCodexRunGameSkill, renderCodexScanSkill, renderCodexStatusSkill, renderCodexUpdateSkill, renderCursorMigrateSkill, renderCursorOnboardSkill, renderCursorPrepareSkill, renderCursorRunGameSkill, renderCursorScanSkill, renderCursorStatusSkill, renderCursorUpdateSkill, } from "./skill-rendering.js";
3
+ export { GDH_MANAGED_AGENT_SKILL_MARKER, GDH_SKILL_DEFINITIONS, GDH_SKILL_IDS, renderGdhSkill, renderManagedSkillMarker, renderClaudeMigrateSkill, renderClaudeOnboardSkill, renderClaudePrepareSkill, renderClaudeRunGameSkill, renderClaudeScanSkill, renderClaudeStatusSkill, renderClaudeUpdateSkill, renderCodexMigrateSkill, renderCodexOnboardSkill, renderCodexPrepareSkill, renderCodexRunGameSkill, renderCodexScanSkill, renderCodexStatusSkill, renderCodexUpdateSkill, } from "./skill-rendering.js";
4
4
  export declare const adaptersPackage: import("@gdh/core").GdhPackageBoundary;
5
- export declare const SUPPORTED_AGENTS: readonly ["codex", "claude", "cursor"];
5
+ export declare const SUPPORTED_AGENTS: readonly ["codex", "claude"];
6
6
  export declare const CLAUDE_SHIM_RELATIVE_PATH = "CLAUDE.md";
7
7
  export declare const CLAUDE_ONBOARD_SKILL_RELATIVE_PATH = ".claude/skills/gdh-onboard/SKILL.md";
8
8
  export declare const PROJECT_MCP_RELATIVE_PATH = ".mcp.json";
9
- export declare const CURSOR_MCP_RELATIVE_PATH = ".cursor/mcp.json";
10
- export declare const CURSOR_RULE_RELATIVE_PATH = ".cursor/rules/gdh-agent.mdc";
11
- export declare const CURSOR_ONBOARD_COMMAND_RELATIVE_PATH = ".cursor/commands/gdh-onboard.md";
12
9
  export declare const CODEX_ONBOARD_SKILL_RELATIVE_PATH = ".agents/skills/gdh-onboard/SKILL.md";
13
10
  export declare const CLAUDE_STATUS_SKILL_RELATIVE_PATH = ".claude/skills/gdh-status/SKILL.md";
14
11
  export declare const CLAUDE_MIGRATE_SKILL_RELATIVE_PATH = ".claude/skills/gdh-migrate/SKILL.md";
@@ -20,13 +17,8 @@ export declare const CODEX_MIGRATE_SKILL_RELATIVE_PATH = ".agents/skills/gdh-mig
20
17
  export declare const CODEX_CHECK_SKILL_RELATIVE_PATH = ".agents/skills/gdh-check/SKILL.md";
21
18
  export declare const CODEX_PREPARE_SKILL_RELATIVE_PATH = ".agents/skills/gdh-prepare/SKILL.md";
22
19
  export declare const CODEX_RUN_GAME_SKILL_RELATIVE_PATH = ".agents/skills/gdh-run-game/SKILL.md";
23
- export declare const CURSOR_STATUS_COMMAND_RELATIVE_PATH = ".cursor/commands/gdh-status.md";
24
- export declare const CURSOR_MIGRATE_COMMAND_RELATIVE_PATH = ".cursor/commands/gdh-migrate.md";
25
- export declare const CURSOR_PREPARE_COMMAND_RELATIVE_PATH = ".cursor/commands/gdh-prepare.md";
26
- export declare const CURSOR_RUN_GAME_COMMAND_RELATIVE_PATH = ".cursor/commands/gdh-run-game.md";
27
20
  export declare const CLAUDE_UPDATE_SKILL_RELATIVE_PATH = ".claude/skills/gdh-update/SKILL.md";
28
21
  export declare const CODEX_UPDATE_SKILL_RELATIVE_PATH = ".agents/skills/gdh-update/SKILL.md";
29
- export declare const CURSOR_UPDATE_COMMAND_RELATIVE_PATH = ".cursor/commands/gdh-update.md";
30
22
  export declare const CLAUDE_SCAN_SKILL_RELATIVE_PATH = ".claude/skills/gdh-scan/SKILL.md";
31
23
  export declare const CODEX_SCAN_SKILL_RELATIVE_PATH = ".agents/skills/gdh-scan/SKILL.md";
32
24
  export declare const CLAUDE_ONBOARD_COMMAND_RELATIVE_PATH = ".claude/skills/gdh-onboard/SKILL.md";
@@ -37,7 +29,6 @@ export declare const CLAUDE_PREPARE_COMMAND_RELATIVE_PATH = ".claude/skills/gdh-
37
29
  export declare const CLAUDE_RUN_GAME_COMMAND_RELATIVE_PATH = ".claude/skills/gdh-run-game/SKILL.md";
38
30
  export declare const CLAUDE_UPDATE_COMMAND_RELATIVE_PATH = ".claude/skills/gdh-update/SKILL.md";
39
31
  export declare const CLAUDE_SCAN_COMMAND_RELATIVE_PATH = ".claude/skills/gdh-scan/SKILL.md";
40
- export declare const CURSOR_SCAN_COMMAND_RELATIVE_PATH = ".cursor/commands/gdh-scan.md";
41
32
  export declare const LOCAL_PATH_HINTS_RELATIVE_PATH = ".gdh-state/local-paths.json";
42
33
  export declare const CODEX_PROJECT_CONFIG_RELATIVE_PATH = ".codex/config.toml";
43
34
  export declare const GDH_MCP_SERVER_NAME = "gdh";
@@ -58,9 +49,6 @@ export declare function buildGdhStatusResult(targetPath: string, adapters?: GdhS
58
49
  export declare function createGsdSnapshot(targetPath: string, options?: {
59
50
  readonly files?: readonly string[];
60
51
  }): Promise<GdhGsdSnapshot>;
61
- export declare function renderCursorRule(input?: {
62
- readonly targetRelativePath?: string;
63
- }): string;
64
52
  export declare function renderClaudeOnboardCommand(pinnedVersion: string): string;
65
53
  export declare function renderClaudeStatusCommand(pinnedVersion: string): string;
66
54
  export declare function renderClaudeScanCommand(pinnedVersion: string): string;
@@ -70,8 +58,6 @@ export declare function renderClaudePrepareCommand(pinnedVersion: string): strin
70
58
  export declare function renderClaudeRunGameCommand(pinnedVersion: string): string;
71
59
  export declare function renderManagedCodexProjectSection(pinnedVersion: string): string;
72
60
  export declare function renderManagedCodexProjectConfig(existingContent: string | null, pinnedVersion: string): string;
73
- declare function removeManagedCodexAuthoringHookBlock(content: string): string;
74
- declare function renderManagedCodexAuthoringHookBlock(): string;
75
61
  declare function summarizeProjectLifecycleCompatibility(targetPath: string, surfaces: readonly GdhProjectLifecycleSurfaceStatus[]): GdhProjectLifecycleCompatibilityResult;
76
62
  export { CLAUDE_STATUSLINE_RELATIVE_PATH } from "./claude-statusline-render.js";
77
63
  export { CLAUDE_CHECK_UPDATE_HOOK_RELATIVE_PATH } from "./claude-update-hook-render.js";
@@ -86,14 +72,4 @@ export type { GdhBackupAdvisory, GdhDeferredActionStatusEntry, GdhDeferredAction
86
72
  export { DEFAULT_GRACEFUL_STOP_TIMEOUT_MS, STOP_AND_RESTART_ENV_SUBSET_KEYS, buildProcessRestartProbeFromSnapshot, captureProcessSnapshot, defaultProcessOrchestrationEnvironment, restartFromSnapshot, stopCapturedProcesses, } from "./process-orchestration.js";
87
73
  export type { GdhCaptureProcessSnapshotResult, GdhDiscoveredBrokerProcess, GdhDiscoveredMcpProcess, GdhProcessOrchestrationEnvironment, GdhProcessOrchestrationPlatform, GdhRestartFailedRow, GdhRestartFromSnapshotResult, GdhRestartedRow, GdhStopCapturedProcessesResult, GdhStopCapturedProcessesSkipped, } from "./process-orchestration.js";
88
74
  export { summarizeProjectLifecycleCompatibility };
89
- /**
90
- * Phase 82 / LSP-03. Test-only export of internals to support
91
- * codex-config-render.test.ts (Plan 82-02 Wave 0 RED test scaffold). Do NOT
92
- * consume this from production code paths; the public renderers/strippers go
93
- * through appendManagedCodexAuthoringHookBlock and the regular config patcher.
94
- */
95
- export declare const __testing__: {
96
- renderManagedCodexAuthoringHookBlock: typeof renderManagedCodexAuthoringHookBlock;
97
- removeManagedCodexAuthoringHookBlock: typeof removeManagedCodexAuthoringHookBlock;
98
- };
99
75
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAgBA,OAAO,EAeL,KAAK,6BAA6B,EAClC,KAAK,4BAA4B,EACjC,KAAK,cAAc,EAInB,KAAK,sCAAsC,EAE3C,KAAK,gCAAgC,EAKrC,KAAK,eAAe,EACpB,KAAK,iBAAiB,EAIvB,MAAM,WAAW,CAAC;AAyBnB,OAAO,EAEL,KAAK,sBAAsB,EAC5B,MAAM,gCAAgC,CAAC;AA0CxC,OAAO,EACL,8BAA8B,EAC9B,qBAAqB,EACrB,aAAa,EACb,cAAc,EACd,wBAAwB,EACxB,wBAAwB,EACxB,wBAAwB,EACxB,wBAAwB,EACxB,wBAAwB,EACxB,qBAAqB,EACrB,uBAAuB,EACvB,uBAAuB,EACvB,uBAAuB,EACvB,uBAAuB,EACvB,uBAAuB,EACvB,uBAAuB,EACvB,oBAAoB,EACpB,sBAAsB,EACtB,sBAAsB,EACtB,wBAAwB,EACxB,wBAAwB,EACxB,wBAAwB,EACxB,wBAAwB,EACxB,qBAAqB,EACrB,uBAAuB,EACvB,uBAAuB,GACxB,MAAM,sBAAsB,CAAC;AAgB9B,eAAO,MAAM,eAAe,wCAa1B,CAAC;AAEH,eAAO,MAAM,gBAAgB,wCAIoB,CAAC;AAClD,eAAO,MAAM,yBAAyB,cAAc,CAAC;AACrD,eAAO,MAAM,kCAAkC,wCAAwC,CAAC;AACxF,eAAO,MAAM,yBAAyB,cAAc,CAAC;AACrD,eAAO,MAAM,wBAAwB,qBAAqB,CAAC;AAC3D,eAAO,MAA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