oh-my-codex 0.20.0 → 0.20.2
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/Cargo.lock +6 -6
- package/Cargo.toml +1 -1
- package/README.md +10 -1
- package/dist/adapt/__tests__/hermes.test.js.map +1 -1
- package/dist/adapt/contracts.d.ts.map +1 -1
- package/dist/agents/native-config.js.map +1 -1
- package/dist/auth/__tests__/hotswap.test.d.ts +2 -0
- package/dist/auth/__tests__/hotswap.test.d.ts.map +1 -0
- package/dist/auth/__tests__/hotswap.test.js +183 -0
- package/dist/auth/__tests__/hotswap.test.js.map +1 -0
- package/dist/auth/hotswap.d.ts.map +1 -1
- package/dist/auth/hotswap.js +17 -4
- package/dist/auth/hotswap.js.map +1 -1
- package/dist/auth/paths.js.map +1 -1
- package/dist/auth/storage.js.map +1 -1
- package/dist/autopilot/__tests__/ralplan-gate.test.js +4 -4
- package/dist/autopilot/__tests__/ralplan-gate.test.js.map +1 -1
- package/dist/autopilot/completion-gate.js.map +1 -1
- package/dist/autopilot/fsm.d.ts +1 -1
- package/dist/autopilot/fsm.d.ts.map +1 -1
- package/dist/autoresearch/goal.js.map +1 -1
- package/dist/autoresearch/runtime.js.map +1 -1
- package/dist/capabilities/lockfile.js.map +1 -1
- package/dist/catalog/reader.js.map +1 -1
- package/dist/catalog/skill-mirror.js.map +1 -1
- package/dist/cli/__tests__/adapt-help.test.js.map +1 -1
- package/dist/cli/__tests__/agents-init.test.js.map +1 -1
- package/dist/cli/__tests__/agents.test.js.map +1 -1
- package/dist/cli/__tests__/api.test.js.map +1 -1
- package/dist/cli/__tests__/ask.test.js.map +1 -1
- package/dist/cli/__tests__/auth.test.js.map +1 -1
- package/dist/cli/__tests__/autoresearch-guided.test.js.map +1 -1
- package/dist/cli/__tests__/autoresearch.test.js.map +1 -1
- package/dist/cli/__tests__/capabilities.test.js.map +1 -1
- package/dist/cli/__tests__/codex-plugin-layout.test.js +27 -0
- package/dist/cli/__tests__/codex-plugin-layout.test.js.map +1 -1
- package/dist/cli/__tests__/doctor-context-window-warning.test.js +83 -78
- package/dist/cli/__tests__/doctor-context-window-warning.test.js.map +1 -1
- package/dist/cli/__tests__/doctor-invalid-config.test.js +56 -4
- package/dist/cli/__tests__/doctor-invalid-config.test.js.map +1 -1
- package/dist/cli/__tests__/doctor-team.test.js.map +1 -1
- package/dist/cli/__tests__/doctor-warning-copy.test.js +735 -14
- package/dist/cli/__tests__/doctor-warning-copy.test.js.map +1 -1
- package/dist/cli/__tests__/exec.test.js.map +1 -1
- package/dist/cli/__tests__/imagegen-continuation.test.js.map +1 -1
- package/dist/cli/__tests__/index.test.js +216 -11
- package/dist/cli/__tests__/index.test.js.map +1 -1
- package/dist/cli/__tests__/launch-fallback.test.js +49 -3
- package/dist/cli/__tests__/launch-fallback.test.js.map +1 -1
- package/dist/cli/__tests__/mcp-parity.test.js +84 -12
- package/dist/cli/__tests__/mcp-parity.test.js.map +1 -1
- package/dist/cli/__tests__/native-hook-claim-journal.test.d.ts +2 -0
- package/dist/cli/__tests__/native-hook-claim-journal.test.d.ts.map +1 -0
- package/dist/cli/__tests__/native-hook-claim-journal.test.js +128 -0
- package/dist/cli/__tests__/native-hook-claim-journal.test.js.map +1 -0
- package/dist/cli/__tests__/nested-help-routing.test.js.map +1 -1
- package/dist/cli/__tests__/question.test.js.map +1 -1
- package/dist/cli/__tests__/ralph-deslop-contract.test.js.map +1 -1
- package/dist/cli/__tests__/ralph-goal-mode-contract.test.js +6 -0
- package/dist/cli/__tests__/ralph-goal-mode-contract.test.js.map +1 -1
- package/dist/cli/__tests__/ralph-prd-deep-interview.test.js.map +1 -1
- package/dist/cli/__tests__/ralph-prd-smoke.test.js.map +1 -1
- package/dist/cli/__tests__/ralph.test.js +8 -3
- package/dist/cli/__tests__/ralph.test.js.map +1 -1
- package/dist/cli/__tests__/ralplan-bootstrap-3181.test.d.ts +2 -0
- package/dist/cli/__tests__/ralplan-bootstrap-3181.test.d.ts.map +1 -0
- package/dist/cli/__tests__/ralplan-bootstrap-3181.test.js +187 -0
- package/dist/cli/__tests__/ralplan-bootstrap-3181.test.js.map +1 -0
- package/dist/cli/__tests__/ralplan.test.d.ts +2 -0
- package/dist/cli/__tests__/ralplan.test.d.ts.map +1 -0
- package/dist/cli/__tests__/ralplan.test.js +129 -0
- package/dist/cli/__tests__/ralplan.test.js.map +1 -0
- package/dist/cli/__tests__/resume.test.js +6 -1
- package/dist/cli/__tests__/resume.test.js.map +1 -1
- package/dist/cli/__tests__/session-scoped-runtime.test.js +25 -0
- package/dist/cli/__tests__/session-scoped-runtime.test.js.map +1 -1
- package/dist/cli/__tests__/session-search-help.test.js.map +1 -1
- package/dist/cli/__tests__/session-search.test.js.map +1 -1
- package/dist/cli/__tests__/setup-agents-overwrite.test.js +79 -0
- package/dist/cli/__tests__/setup-agents-overwrite.test.js.map +1 -1
- package/dist/cli/__tests__/setup-gh-star.test.js.map +1 -1
- package/dist/cli/__tests__/setup-hooks-shared-ownership.test.js +131 -5
- package/dist/cli/__tests__/setup-hooks-shared-ownership.test.js.map +1 -1
- package/dist/cli/__tests__/setup-hooks-trust-e2e.test.d.ts +2 -0
- package/dist/cli/__tests__/setup-hooks-trust-e2e.test.d.ts.map +1 -0
- package/dist/cli/__tests__/setup-hooks-trust-e2e.test.js +285 -0
- package/dist/cli/__tests__/setup-hooks-trust-e2e.test.js.map +1 -0
- package/dist/cli/__tests__/setup-install-mode.test.js +2264 -17
- package/dist/cli/__tests__/setup-install-mode.test.js.map +1 -1
- package/dist/cli/__tests__/setup-preferences.test.d.ts +2 -0
- package/dist/cli/__tests__/setup-preferences.test.d.ts.map +1 -0
- package/dist/cli/__tests__/setup-preferences.test.js +79 -0
- package/dist/cli/__tests__/setup-preferences.test.js.map +1 -0
- package/dist/cli/__tests__/setup-refresh.test.js +168 -5
- package/dist/cli/__tests__/setup-refresh.test.js.map +1 -1
- package/dist/cli/__tests__/setup-scope.test.js +73 -6
- package/dist/cli/__tests__/setup-scope.test.js.map +1 -1
- package/dist/cli/__tests__/sparkshell-cli.test.js.map +1 -1
- package/dist/cli/__tests__/state.test.js +37 -0
- package/dist/cli/__tests__/state.test.js.map +1 -1
- package/dist/cli/__tests__/team.test.js.map +1 -1
- package/dist/cli/__tests__/ultragoal.test.js +61 -1
- package/dist/cli/__tests__/ultragoal.test.js.map +1 -1
- package/dist/cli/__tests__/uninstall.test.js +2067 -26
- package/dist/cli/__tests__/uninstall.test.js.map +1 -1
- package/dist/cli/__tests__/update.test.js +58 -0
- package/dist/cli/__tests__/update.test.js.map +1 -1
- package/dist/cli/__tests__/url.test.js.map +1 -1
- package/dist/cli/__tests__/windows-popup-loop-contract.test.js.map +1 -1
- package/dist/cli/adapt.js.map +1 -1
- package/dist/cli/agents-init.js.map +1 -1
- package/dist/cli/agents.js.map +1 -1
- package/dist/cli/api.js.map +1 -1
- package/dist/cli/ask.d.ts +1 -1
- package/dist/cli/ask.d.ts.map +1 -1
- package/dist/cli/ask.js.map +1 -1
- package/dist/cli/auth.js.map +1 -1
- package/dist/cli/autoresearch-guided.js.map +1 -1
- package/dist/cli/autoresearch-intake.js.map +1 -1
- package/dist/cli/capabilities.js.map +1 -1
- package/dist/cli/cleanup.js.map +1 -1
- package/dist/cli/codex-feature-probe.js.map +1 -1
- package/dist/cli/codex-home.js.map +1 -1
- package/dist/cli/doctor.d.ts +20 -0
- package/dist/cli/doctor.d.ts.map +1 -1
- package/dist/cli/doctor.js +636 -161
- package/dist/cli/doctor.js.map +1 -1
- package/dist/cli/explore.js.map +1 -1
- package/dist/cli/index.d.ts +11 -3
- package/dist/cli/index.d.ts.map +1 -1
- package/dist/cli/index.js +108 -20
- package/dist/cli/index.js.map +1 -1
- package/dist/cli/mcp-serve.js.map +1 -1
- package/dist/cli/mission.js.map +1 -1
- package/dist/cli/native-assets.js.map +1 -1
- package/dist/cli/native-hook-claim-journal.d.ts +18 -0
- package/dist/cli/native-hook-claim-journal.d.ts.map +1 -0
- package/dist/cli/native-hook-claim-journal.js +239 -0
- package/dist/cli/native-hook-claim-journal.js.map +1 -0
- package/dist/cli/omx.js.map +1 -1
- package/dist/cli/plugin-marketplace.js.map +1 -1
- package/dist/cli/project-runtime-codex-homes.js.map +1 -1
- package/dist/cli/question.js.map +1 -1
- package/dist/cli/ralph.d.ts.map +1 -1
- package/dist/cli/ralph.js +3 -2
- package/dist/cli/ralph.js.map +1 -1
- package/dist/cli/ralplan.d.ts +14 -0
- package/dist/cli/ralplan.d.ts.map +1 -0
- package/dist/cli/ralplan.js +203 -0
- package/dist/cli/ralplan.js.map +1 -0
- package/dist/cli/setup-preferences.d.ts +11 -0
- package/dist/cli/setup-preferences.d.ts.map +1 -1
- package/dist/cli/setup-preferences.js +32 -0
- package/dist/cli/setup-preferences.js.map +1 -1
- package/dist/cli/setup.d.ts +53 -0
- package/dist/cli/setup.d.ts.map +1 -1
- package/dist/cli/setup.js +1403 -400
- package/dist/cli/setup.js.map +1 -1
- package/dist/cli/sparkshell.js.map +1 -1
- package/dist/cli/star-prompt.js.map +1 -1
- package/dist/cli/state.d.ts.map +1 -1
- package/dist/cli/state.js +2 -1
- package/dist/cli/state.js.map +1 -1
- package/dist/cli/team.js.map +1 -1
- package/dist/cli/ultragoal.d.ts +5 -1
- package/dist/cli/ultragoal.d.ts.map +1 -1
- package/dist/cli/ultragoal.js +34 -2
- package/dist/cli/ultragoal.js.map +1 -1
- package/dist/cli/uninstall.d.ts +8 -0
- package/dist/cli/uninstall.d.ts.map +1 -1
- package/dist/cli/uninstall.js +947 -99
- package/dist/cli/uninstall.js.map +1 -1
- package/dist/cli/update.d.ts.map +1 -1
- package/dist/cli/update.js +8 -1
- package/dist/cli/update.js.map +1 -1
- package/dist/cli/url.js.map +1 -1
- package/dist/compat/__tests__/doctor-contract.test.js +5 -1
- package/dist/compat/__tests__/doctor-contract.test.js.map +1 -1
- package/dist/compat/__tests__/rust-runtime-compat.test.js.map +1 -1
- package/dist/config/__tests__/codex-hooks.test.js +1287 -11
- package/dist/config/__tests__/codex-hooks.test.js.map +1 -1
- package/dist/config/__tests__/generator-idempotent.test.js +1049 -135
- package/dist/config/__tests__/generator-idempotent.test.js.map +1 -1
- package/dist/config/__tests__/generator-notify.test.js +28 -49
- package/dist/config/__tests__/generator-notify.test.js.map +1 -1
- package/dist/config/codex-feature-flags.d.ts.map +1 -1
- package/dist/config/codex-feature-flags.js.map +1 -1
- package/dist/config/codex-hooks.d.ts +124 -1
- package/dist/config/codex-hooks.d.ts.map +1 -1
- package/dist/config/codex-hooks.js +2142 -265
- package/dist/config/codex-hooks.js.map +1 -1
- package/dist/config/commit-lore-guard.js.map +1 -1
- package/dist/config/generator.d.ts +40 -26
- package/dist/config/generator.d.ts.map +1 -1
- package/dist/config/generator.js +1159 -288
- package/dist/config/generator.js.map +1 -1
- package/dist/config/mcp-registry.js.map +1 -1
- package/dist/config/models.d.ts +2 -2
- package/dist/config/models.d.ts.map +1 -1
- package/dist/config/models.js.map +1 -1
- package/dist/config/omx-first-party-mcp.js.map +1 -1
- package/dist/config/team-mode.d.ts.map +1 -1
- package/dist/document-refresh/__tests__/enforcer.test.js.map +1 -1
- package/dist/document-refresh/enforcer.js.map +1 -1
- package/dist/exec/followup.js.map +1 -1
- package/dist/goal-workflows/artifacts.js.map +1 -1
- package/dist/hooks/__tests__/agents-overlay.test.js +7 -4
- package/dist/hooks/__tests__/agents-overlay.test.js.map +1 -1
- package/dist/hooks/__tests__/analyze-routing-contract.test.js.map +1 -1
- package/dist/hooks/__tests__/analyze-skill-contract.test.js.map +1 -1
- package/dist/hooks/__tests__/anti-slop-workflow.test.js.map +1 -1
- package/dist/hooks/__tests__/autopilot-skill-contract.test.js +9 -3
- package/dist/hooks/__tests__/autopilot-skill-contract.test.js.map +1 -1
- package/dist/hooks/__tests__/code-review-skill-contract.test.js.map +1 -1
- package/dist/hooks/__tests__/consensus-execution-handoff.test.js.map +1 -1
- package/dist/hooks/__tests__/deep-interview-contract.test.js.map +1 -1
- package/dist/hooks/__tests__/design-skill.test.js.map +1 -1
- package/dist/hooks/__tests__/keyword-detector.test.js +1372 -2
- package/dist/hooks/__tests__/keyword-detector.test.js.map +1 -1
- package/dist/hooks/__tests__/notify-fallback-watcher.test.js +14 -0
- package/dist/hooks/__tests__/notify-fallback-watcher.test.js.map +1 -1
- package/dist/hooks/__tests__/notify-hook-all-workers-idle.test.js.map +1 -1
- package/dist/hooks/__tests__/notify-hook-auto-nudge.test.js +669 -1
- package/dist/hooks/__tests__/notify-hook-auto-nudge.test.js.map +1 -1
- package/dist/hooks/__tests__/notify-hook-cross-worktree-heartbeat.test.js +2 -0
- package/dist/hooks/__tests__/notify-hook-cross-worktree-heartbeat.test.js.map +1 -1
- package/dist/hooks/__tests__/notify-hook-managed-tmux.test.js +142 -1
- package/dist/hooks/__tests__/notify-hook-managed-tmux.test.js.map +1 -1
- package/dist/hooks/__tests__/notify-hook-modules.test.js.map +1 -1
- package/dist/hooks/__tests__/notify-hook-non-omx-guard.test.js +48 -2
- package/dist/hooks/__tests__/notify-hook-non-omx-guard.test.js.map +1 -1
- package/dist/hooks/__tests__/notify-hook-ralph-resume.test.js +61 -44
- package/dist/hooks/__tests__/notify-hook-ralph-resume.test.js.map +1 -1
- package/dist/hooks/__tests__/notify-hook-regression-205.test.js.map +1 -1
- package/dist/hooks/__tests__/notify-hook-session-idle-dedupe.test.js +3 -2
- package/dist/hooks/__tests__/notify-hook-session-idle-dedupe.test.js.map +1 -1
- package/dist/hooks/__tests__/notify-hook-session-scope.test.js +243 -4
- package/dist/hooks/__tests__/notify-hook-session-scope.test.js.map +1 -1
- package/dist/hooks/__tests__/notify-hook-team-dispatch.test.js.map +1 -1
- package/dist/hooks/__tests__/notify-hook-team-leader-nudge.test.js +8 -1
- package/dist/hooks/__tests__/notify-hook-team-leader-nudge.test.js.map +1 -1
- package/dist/hooks/__tests__/notify-hook-team-tmux-guard.test.js.map +1 -1
- package/dist/hooks/__tests__/notify-hook-tmux-heal.test.js.map +1 -1
- package/dist/hooks/__tests__/notify-hook-tmux-scrollback.test.js.map +1 -1
- package/dist/hooks/__tests__/notify-hook-visual-verdict.test.js.map +1 -1
- package/dist/hooks/__tests__/notify-hook-worker-idle.test.js.map +1 -1
- package/dist/hooks/__tests__/openclaw-setup-contract.test.js.map +1 -1
- package/dist/hooks/__tests__/pre-context-gate-skills.test.js.map +1 -1
- package/dist/hooks/__tests__/prometheus-strict-contract.test.js.map +1 -1
- package/dist/hooks/__tests__/prompt-guidance-fragments.test.js.map +1 -1
- package/dist/hooks/__tests__/prompt-guidance-test-helpers.js.map +1 -1
- package/dist/hooks/__tests__/prompt-session-provenance.test.d.ts +2 -0
- package/dist/hooks/__tests__/prompt-session-provenance.test.d.ts.map +1 -0
- package/dist/hooks/__tests__/prompt-session-provenance.test.js +82 -0
- package/dist/hooks/__tests__/prompt-session-provenance.test.js.map +1 -0
- package/dist/hooks/__tests__/session.test.js +532 -11
- package/dist/hooks/__tests__/session.test.js.map +1 -1
- package/dist/hooks/__tests__/skill-catalog-hygiene.test.js.map +1 -1
- package/dist/hooks/__tests__/team-runtime-gating-docs-contract.test.js.map +1 -1
- package/dist/hooks/__tests__/visual-ralph-skill.test.js.map +1 -1
- package/dist/hooks/__tests__/visual-verdict-loop.test.js.map +1 -1
- package/dist/hooks/agents-overlay.js +5 -5
- package/dist/hooks/agents-overlay.js.map +1 -1
- package/dist/hooks/code-simplifier/index.js.map +1 -1
- package/dist/hooks/explore-routing.js.map +1 -1
- package/dist/hooks/extensibility/dispatcher.js.map +1 -1
- package/dist/hooks/extensibility/events.js.map +1 -1
- package/dist/hooks/extensibility/loader.js.map +1 -1
- package/dist/hooks/extensibility/plugin-runner-stdin.js.map +1 -1
- package/dist/hooks/extensibility/sdk/logging.js.map +1 -1
- package/dist/hooks/keyword-detector.d.ts +33 -7
- package/dist/hooks/keyword-detector.d.ts.map +1 -1
- package/dist/hooks/keyword-detector.js +2228 -119
- package/dist/hooks/keyword-detector.js.map +1 -1
- package/dist/hooks/keyword-registry.d.ts +12 -0
- package/dist/hooks/keyword-registry.d.ts.map +1 -1
- package/dist/hooks/keyword-registry.js +41 -0
- package/dist/hooks/keyword-registry.js.map +1 -1
- package/dist/hooks/prompt-session-provenance.d.ts +87 -0
- package/dist/hooks/prompt-session-provenance.d.ts.map +1 -0
- package/dist/hooks/prompt-session-provenance.js +180 -0
- package/dist/hooks/prompt-session-provenance.js.map +1 -0
- package/dist/hooks/session.d.ts +139 -34
- package/dist/hooks/session.d.ts.map +1 -1
- package/dist/hooks/session.js +1239 -317
- package/dist/hooks/session.js.map +1 -1
- package/dist/hooks/task-size-detector.js.map +1 -1
- package/dist/hud/__tests__/state.test.js.map +1 -1
- package/dist/hud/authority.js.map +1 -1
- package/dist/hud/constants.js.map +1 -1
- package/dist/hud/index.js.map +1 -1
- package/dist/hud/reconcile.js.map +1 -1
- package/dist/hud/render.js.map +1 -1
- package/dist/hud/state.js.map +1 -1
- package/dist/hud/tmux.js.map +1 -1
- package/dist/leader/__tests__/contract.test.js +146 -2
- package/dist/leader/__tests__/contract.test.js.map +1 -1
- package/dist/leader/contract.d.ts +26 -5
- package/dist/leader/contract.d.ts.map +1 -1
- package/dist/leader/contract.js +131 -7
- package/dist/leader/contract.js.map +1 -1
- package/dist/mcp/__tests__/bootstrap.test.js.map +1 -1
- package/dist/mcp/__tests__/server-lifecycle.test.js +15 -2
- package/dist/mcp/__tests__/server-lifecycle.test.js.map +1 -1
- package/dist/mcp/__tests__/state-paths.test.js +98 -1
- package/dist/mcp/__tests__/state-paths.test.js.map +1 -1
- package/dist/mcp/bootstrap.js.map +1 -1
- package/dist/mcp/code-intel-server.d.ts +58 -58
- package/dist/mcp/code-intel-server.d.ts.map +1 -1
- package/dist/mcp/code-intel-server.js.map +1 -1
- package/dist/mcp/hermes-bridge.js.map +1 -1
- package/dist/mcp/hermes-server.d.ts +70 -70
- package/dist/mcp/hermes-server.d.ts.map +1 -1
- package/dist/mcp/lifecycle-telemetry.js.map +1 -1
- package/dist/mcp/memory-server.d.ts +34 -34
- package/dist/mcp/memory-server.d.ts.map +1 -1
- package/dist/mcp/memory-server.js.map +1 -1
- package/dist/mcp/state-paths.d.ts +14 -0
- package/dist/mcp/state-paths.d.ts.map +1 -1
- package/dist/mcp/state-paths.js +96 -20
- package/dist/mcp/state-paths.js.map +1 -1
- package/dist/mcp/state-server.d.ts +47 -47
- package/dist/mcp/state-server.d.ts.map +1 -1
- package/dist/mcp/trace-server.d.ts +4 -4
- package/dist/mcp/trace-server.d.ts.map +1 -1
- package/dist/mcp/trace-server.js.map +1 -1
- package/dist/mcp/wiki-server.d.ts +23 -23
- package/dist/mcp/wiki-server.d.ts.map +1 -1
- package/dist/mcp/wiki-server.js.map +1 -1
- package/dist/modes/__tests__/base-session-scope.test.js +53 -1
- package/dist/modes/__tests__/base-session-scope.test.js.map +1 -1
- package/dist/modes/base.d.ts.map +1 -1
- package/dist/modes/base.js +5 -5
- package/dist/modes/base.js.map +1 -1
- package/dist/notifications/__tests__/lifecycle-dedupe.test.js.map +1 -1
- package/dist/notifications/__tests__/reply-listener.test.js.map +1 -1
- package/dist/notifications/__tests__/session-idle-tail-dedupe.test.js +177 -85
- package/dist/notifications/__tests__/session-idle-tail-dedupe.test.js.map +1 -1
- package/dist/notifications/__tests__/session-registry.test.js.map +1 -1
- package/dist/notifications/__tests__/template-engine.test.js.map +1 -1
- package/dist/notifications/__tests__/verbosity.test.js.map +1 -1
- package/dist/notifications/http-client.js.map +1 -1
- package/dist/notifications/index.d.ts +4 -1
- package/dist/notifications/index.d.ts.map +1 -1
- package/dist/notifications/index.js +3 -9
- package/dist/notifications/index.js.map +1 -1
- package/dist/notifications/lifecycle-dedupe.js.map +1 -1
- package/dist/notifications/reply-listener.d.ts.map +1 -1
- package/dist/notifications/reply-listener.js.map +1 -1
- package/dist/notifications/session-registry.js.map +1 -1
- package/dist/notifications/session-status.js.map +1 -1
- package/dist/notifications/temp-contract.js.map +1 -1
- package/dist/notifications/tmux-detector.js.map +1 -1
- package/dist/notifications/tmux.js.map +1 -1
- package/dist/openclaw/config.js.map +1 -1
- package/dist/openclaw/dispatcher.js.map +1 -1
- package/dist/pipeline/__tests__/orchestrator.test.js.map +1 -1
- package/dist/pipeline/__tests__/stages.test.js +8 -5
- package/dist/pipeline/__tests__/stages.test.js.map +1 -1
- package/dist/pipeline/stages/code-review.js.map +1 -1
- package/dist/pipeline/stages/ralph-verify.js.map +1 -1
- package/dist/pipeline/stages/ralplan.js.map +1 -1
- package/dist/pipeline/stages/team-exec.js.map +1 -1
- package/dist/pipeline/stages/ultragoal.js.map +1 -1
- package/dist/pipeline/stages/ultraqa.js.map +1 -1
- package/dist/planning/__tests__/approved-execution-lifecycle-matrix.test.js.map +1 -1
- package/dist/planning/artifact-names.js.map +1 -1
- package/dist/planning/artifacts.js.map +1 -1
- package/dist/question/__tests__/state.test.js.map +1 -1
- package/dist/question/__tests__/ui.test.js.map +1 -1
- package/dist/question/autopilot-wait.js.map +1 -1
- package/dist/question/client.d.ts.map +1 -1
- package/dist/question/client.js.map +1 -1
- package/dist/question/deep-interview.js.map +1 -1
- package/dist/question/events.js.map +1 -1
- package/dist/question/renderer.js.map +1 -1
- package/dist/question/state.d.ts.map +1 -1
- package/dist/question/state.js.map +1 -1
- package/dist/question/ui.js.map +1 -1
- package/dist/ralph/contract.d.ts +1 -1
- package/dist/ralph/contract.d.ts.map +1 -1
- package/dist/ralplan/__tests__/consensus-gate.test.js +403 -8
- package/dist/ralplan/__tests__/consensus-gate.test.js.map +1 -1
- package/dist/ralplan/__tests__/runtime.test.js +112 -14
- package/dist/ralplan/__tests__/runtime.test.js.map +1 -1
- package/dist/ralplan/consensus-gate.d.ts +3 -3
- package/dist/ralplan/consensus-gate.d.ts.map +1 -1
- package/dist/ralplan/consensus-gate.js +155 -60
- package/dist/ralplan/consensus-gate.js.map +1 -1
- package/dist/ralplan/runtime.d.ts +2 -2
- package/dist/ralplan/runtime.d.ts.map +1 -1
- package/dist/ralplan/runtime.js +1 -2
- package/dist/ralplan/runtime.js.map +1 -1
- package/dist/runtime/bridge.d.ts.map +1 -1
- package/dist/runtime/bridge.js.map +1 -1
- package/dist/runtime/process-tree.js.map +1 -1
- package/dist/runtime/run-loop.js.map +1 -1
- package/dist/runtime/run-outcome.d.ts +3 -3
- package/dist/runtime/run-outcome.d.ts.map +1 -1
- package/dist/runtime/run-outcome.js.map +1 -1
- package/dist/runtime/run-state.js.map +1 -1
- package/dist/scripts/__tests__/codex-native-hook.test.js +5414 -801
- package/dist/scripts/__tests__/codex-native-hook.test.js.map +1 -1
- package/dist/scripts/__tests__/fixtures/issue-3138-installed-smoke.d.ts +2 -0
- package/dist/scripts/__tests__/fixtures/issue-3138-installed-smoke.d.ts.map +1 -0
- package/dist/scripts/__tests__/fixtures/issue-3138-installed-smoke.js +634 -0
- package/dist/scripts/__tests__/fixtures/issue-3138-installed-smoke.js.map +1 -0
- package/dist/scripts/__tests__/generate-release-body.test.js.map +1 -1
- package/dist/scripts/__tests__/hook-derived-watcher.test.js.map +1 -1
- package/dist/scripts/__tests__/notify-dispatcher.test.js.map +1 -1
- package/dist/scripts/__tests__/notify-fallback-delivery.test.d.ts +2 -0
- package/dist/scripts/__tests__/notify-fallback-delivery.test.d.ts.map +1 -0
- package/dist/scripts/__tests__/notify-fallback-delivery.test.js +174 -0
- package/dist/scripts/__tests__/notify-fallback-delivery.test.js.map +1 -0
- package/dist/scripts/__tests__/notify-state-io.test.js +57 -1
- package/dist/scripts/__tests__/notify-state-io.test.js.map +1 -1
- package/dist/scripts/__tests__/role-intent-bootstrap-e2e-3181.test.d.ts +2 -0
- package/dist/scripts/__tests__/role-intent-bootstrap-e2e-3181.test.d.ts.map +1 -0
- package/dist/scripts/__tests__/role-intent-bootstrap-e2e-3181.test.js +205 -0
- package/dist/scripts/__tests__/role-intent-bootstrap-e2e-3181.test.js.map +1 -0
- package/dist/scripts/__tests__/role-intent-durable-recovery-3181.test.d.ts +2 -0
- package/dist/scripts/__tests__/role-intent-durable-recovery-3181.test.d.ts.map +1 -0
- package/dist/scripts/__tests__/role-intent-durable-recovery-3181.test.js +175 -0
- package/dist/scripts/__tests__/role-intent-durable-recovery-3181.test.js.map +1 -0
- package/dist/scripts/__tests__/run-test-files.test.js.map +1 -1
- package/dist/scripts/__tests__/smoke-packed-install.test.js +848 -4
- package/dist/scripts/__tests__/smoke-packed-install.test.js.map +1 -1
- package/dist/scripts/__tests__/test-reply-listener-live.test.js.map +1 -1
- package/dist/scripts/build-api.js.map +1 -1
- package/dist/scripts/build-explore-harness.js.map +1 -1
- package/dist/scripts/build-sparkshell.js.map +1 -1
- package/dist/scripts/cleanup-explore-harness.js.map +1 -1
- package/dist/scripts/codex-execution-surface.js.map +1 -1
- package/dist/scripts/codex-native-hook.d.ts.map +1 -1
- package/dist/scripts/codex-native-hook.js +825 -172
- package/dist/scripts/codex-native-hook.js.map +1 -1
- package/dist/scripts/generate-native-release-manifest.js.map +1 -1
- package/dist/scripts/generate-release-body.js.map +1 -1
- package/dist/scripts/hook-payload-guard.d.ts.map +1 -1
- package/dist/scripts/hook-payload-guard.js.map +1 -1
- package/dist/scripts/notify-fallback-delivery.d.ts +48 -0
- package/dist/scripts/notify-fallback-delivery.d.ts.map +1 -0
- package/dist/scripts/notify-fallback-delivery.js +419 -0
- package/dist/scripts/notify-fallback-delivery.js.map +1 -0
- package/dist/scripts/notify-fallback-watcher.js +136 -30
- package/dist/scripts/notify-fallback-watcher.js.map +1 -1
- package/dist/scripts/notify-hook/auto-nudge.d.ts +18 -9
- package/dist/scripts/notify-hook/auto-nudge.d.ts.map +1 -1
- package/dist/scripts/notify-hook/auto-nudge.js +39 -13
- package/dist/scripts/notify-hook/auto-nudge.js.map +1 -1
- package/dist/scripts/notify-hook/managed-tmux.d.ts +23 -0
- package/dist/scripts/notify-hook/managed-tmux.d.ts.map +1 -1
- package/dist/scripts/notify-hook/managed-tmux.js +122 -12
- package/dist/scripts/notify-hook/managed-tmux.js.map +1 -1
- package/dist/scripts/notify-hook/orchestration-intent.d.ts +7 -7
- package/dist/scripts/notify-hook/orchestration-intent.d.ts.map +1 -1
- package/dist/scripts/notify-hook/ralph-session-resume.d.ts +5 -2
- package/dist/scripts/notify-hook/ralph-session-resume.d.ts.map +1 -1
- package/dist/scripts/notify-hook/ralph-session-resume.js +33 -37
- package/dist/scripts/notify-hook/ralph-session-resume.js.map +1 -1
- package/dist/scripts/notify-hook/state-io.d.ts +17 -0
- package/dist/scripts/notify-hook/state-io.d.ts.map +1 -1
- package/dist/scripts/notify-hook/state-io.js +73 -11
- package/dist/scripts/notify-hook/state-io.js.map +1 -1
- package/dist/scripts/notify-hook/team-dispatch.d.ts +1 -1
- package/dist/scripts/notify-hook/team-dispatch.js.map +1 -1
- package/dist/scripts/notify-hook/team-leader-nudge.d.ts +2 -2
- package/dist/scripts/notify-hook/team-tmux-guard.d.ts +4 -4
- package/dist/scripts/notify-hook/team-worker-posttooluse.js.map +1 -1
- package/dist/scripts/notify-hook/team-worker-stop.d.ts +1 -1
- package/dist/scripts/notify-hook/team-worker.d.ts +2 -2
- package/dist/scripts/notify-hook/tmux-injection.d.ts +8 -1
- package/dist/scripts/notify-hook/tmux-injection.d.ts.map +1 -1
- package/dist/scripts/notify-hook/tmux-injection.js +25 -16
- package/dist/scripts/notify-hook/tmux-injection.js.map +1 -1
- package/dist/scripts/notify-hook/visual-verdict.d.ts +1 -1
- package/dist/scripts/notify-hook/visual-verdict.d.ts.map +1 -1
- package/dist/scripts/notify-hook/visual-verdict.js +15 -13
- package/dist/scripts/notify-hook/visual-verdict.js.map +1 -1
- package/dist/scripts/notify-hook.d.ts +24 -1
- package/dist/scripts/notify-hook.d.ts.map +1 -1
- package/dist/scripts/notify-hook.js +266 -90
- package/dist/scripts/notify-hook.js.map +1 -1
- package/dist/scripts/postinstall.js.map +1 -1
- package/dist/scripts/prompt-inventory.js.map +1 -1
- package/dist/scripts/smoke-packed-install.d.ts +879 -2
- package/dist/scripts/smoke-packed-install.d.ts.map +1 -1
- package/dist/scripts/smoke-packed-install.js +1528 -7
- package/dist/scripts/smoke-packed-install.js.map +1 -1
- package/dist/scripts/sync-plugin-mirror.js.map +1 -1
- package/dist/scripts/test-reply-listener-live.js.map +1 -1
- package/dist/scripts/test-sparkshell.js.map +1 -1
- package/dist/scripts/verify-native-agents.js.map +1 -1
- package/dist/session-history/friction.js.map +1 -1
- package/dist/session-history/search.js.map +1 -1
- package/dist/sidecar/__tests__/boundary.test.js.map +1 -1
- package/dist/sidecar/collector.js.map +1 -1
- package/dist/sidecar/index.js.map +1 -1
- package/dist/sidecar/render.js.map +1 -1
- package/dist/sidecar/tmux.js.map +1 -1
- package/dist/state/__tests__/operations.test.js +64 -15
- package/dist/state/__tests__/operations.test.js.map +1 -1
- package/dist/state/__tests__/skill-active.test.js +19 -1
- package/dist/state/__tests__/skill-active.test.js.map +1 -1
- package/dist/state/__tests__/workflow-transition.test.js +61 -0
- package/dist/state/__tests__/workflow-transition.test.js.map +1 -1
- package/dist/state/mode-state-context.js.map +1 -1
- package/dist/state/operations.d.ts +1 -1
- package/dist/state/operations.d.ts.map +1 -1
- package/dist/state/operations.js +49 -55
- package/dist/state/operations.js.map +1 -1
- package/dist/state/paths.d.ts +1 -1
- package/dist/state/paths.d.ts.map +1 -1
- package/dist/state/paths.js +1 -1
- package/dist/state/paths.js.map +1 -1
- package/dist/state/skill-active.d.ts +13 -1
- package/dist/state/skill-active.d.ts.map +1 -1
- package/dist/state/skill-active.js +43 -4
- package/dist/state/skill-active.js.map +1 -1
- package/dist/state/terminal-normalization.js.map +1 -1
- package/dist/state/workflow-transition-reconcile.d.ts.map +1 -1
- package/dist/state/workflow-transition-reconcile.js +20 -4
- package/dist/state/workflow-transition-reconcile.js.map +1 -1
- package/dist/state/workflow-transition.d.ts +1 -1
- package/dist/state/workflow-transition.d.ts.map +1 -1
- package/dist/state/workflow-transition.js.map +1 -1
- package/dist/subagents/__tests__/adapted-role-binding.test.d.ts +2 -0
- package/dist/subagents/__tests__/adapted-role-binding.test.d.ts.map +1 -0
- package/dist/subagents/__tests__/adapted-role-binding.test.js +988 -0
- package/dist/subagents/__tests__/adapted-role-binding.test.js.map +1 -0
- package/dist/subagents/__tests__/leader-bootstrap-3181.test.d.ts +2 -0
- package/dist/subagents/__tests__/leader-bootstrap-3181.test.d.ts.map +1 -0
- package/dist/subagents/__tests__/leader-bootstrap-3181.test.js +273 -0
- package/dist/subagents/__tests__/leader-bootstrap-3181.test.js.map +1 -0
- package/dist/subagents/__tests__/tracker.test.js +1550 -10
- package/dist/subagents/__tests__/tracker.test.js.map +1 -1
- package/dist/subagents/adapted-role-binding.d.ts +17 -0
- package/dist/subagents/adapted-role-binding.d.ts.map +1 -0
- package/dist/subagents/adapted-role-binding.js +75 -0
- package/dist/subagents/adapted-role-binding.js.map +1 -0
- package/dist/subagents/role-routing-marker.d.ts +10 -0
- package/dist/subagents/role-routing-marker.d.ts.map +1 -0
- package/dist/subagents/role-routing-marker.js +136 -0
- package/dist/subagents/role-routing-marker.js.map +1 -0
- package/dist/subagents/tracker.d.ts +172 -0
- package/dist/subagents/tracker.d.ts.map +1 -1
- package/dist/subagents/tracker.js +1077 -61
- package/dist/subagents/tracker.js.map +1 -1
- package/dist/team/__tests__/approved-execution.test.js.map +1 -1
- package/dist/team/__tests__/delivery-e2e-smoke.test.js.map +1 -1
- package/dist/team/__tests__/model-contract.test.js +231 -1
- package/dist/team/__tests__/model-contract.test.js.map +1 -1
- package/dist/team/__tests__/role-router.test.js.map +1 -1
- package/dist/team/__tests__/runtime.test.js +401 -1
- package/dist/team/__tests__/runtime.test.js.map +1 -1
- package/dist/team/__tests__/scaling.test.js +181 -0
- package/dist/team/__tests__/scaling.test.js.map +1 -1
- package/dist/team/__tests__/state-root.test.js.map +1 -1
- package/dist/team/__tests__/tmux-session.test.js +434 -4
- package/dist/team/__tests__/tmux-session.test.js.map +1 -1
- package/dist/team/__tests__/tmux-test-fixture.js.map +1 -1
- package/dist/team/api-interop.d.ts +2 -2
- package/dist/team/api-interop.d.ts.map +1 -1
- package/dist/team/api-interop.js.map +1 -1
- package/dist/team/commit-hygiene.js.map +1 -1
- package/dist/team/contracts.d.ts +5 -5
- package/dist/team/contracts.d.ts.map +1 -1
- package/dist/team/delivery-log.js.map +1 -1
- package/dist/team/followup-planner.js.map +1 -1
- package/dist/team/goal-workflow.js.map +1 -1
- package/dist/team/idle-nudge.d.ts.map +1 -1
- package/dist/team/model-contract.d.ts +20 -1
- package/dist/team/model-contract.d.ts.map +1 -1
- package/dist/team/model-contract.js +267 -30
- package/dist/team/model-contract.js.map +1 -1
- package/dist/team/orchestrator.js.map +1 -1
- package/dist/team/pane-status.js.map +1 -1
- package/dist/team/phase-controller.js.map +1 -1
- package/dist/team/reminder-intents.d.ts +1 -1
- package/dist/team/reminder-intents.d.ts.map +1 -1
- package/dist/team/reminder-intents.js.map +1 -1
- package/dist/team/runtime-cli.js.map +1 -1
- package/dist/team/runtime.d.ts.map +1 -1
- package/dist/team/runtime.js +83 -52
- package/dist/team/runtime.js.map +1 -1
- package/dist/team/scaling.d.ts +9 -7
- package/dist/team/scaling.d.ts.map +1 -1
- package/dist/team/scaling.js +69 -28
- package/dist/team/scaling.js.map +1 -1
- package/dist/team/state/dispatch-lock.js.map +1 -1
- package/dist/team/state/dispatch.js.map +1 -1
- package/dist/team/state/events.js.map +1 -1
- package/dist/team/state/tasks.js.map +1 -1
- package/dist/team/state-root.js.map +1 -1
- package/dist/team/state.js.map +1 -1
- package/dist/team/team-identity.d.ts.map +1 -1
- package/dist/team/team-identity.js.map +1 -1
- package/dist/team/tmux-session.d.ts +2 -0
- package/dist/team/tmux-session.d.ts.map +1 -1
- package/dist/team/tmux-session.js +90 -42
- package/dist/team/tmux-session.js.map +1 -1
- package/dist/team/worker-bootstrap.js.map +1 -1
- package/dist/team/worktree.js.map +1 -1
- package/dist/ultragoal/__tests__/artifacts.test.js.map +1 -1
- package/dist/ultragoal/__tests__/docs-contract.test.js.map +1 -1
- package/dist/ultragoal/artifacts.d.ts.map +1 -1
- package/dist/ultragoal/artifacts.js +4 -1
- package/dist/ultragoal/artifacts.js.map +1 -1
- package/dist/url-reader/index.js.map +1 -1
- package/dist/utils/__tests__/agents-md.test.js +16 -0
- package/dist/utils/__tests__/agents-md.test.js.map +1 -1
- package/dist/utils/agents-md.d.ts.map +1 -1
- package/dist/utils/agents-md.js +4 -3
- package/dist/utils/agents-md.js.map +1 -1
- package/dist/utils/agents-model-table.js.map +1 -1
- package/dist/utils/package.js.map +1 -1
- package/dist/utils/paths.js.map +1 -1
- package/dist/utils/platform-command.js.map +1 -1
- package/dist/utils/repo-deps.js.map +1 -1
- package/dist/utils/version.js.map +1 -1
- package/dist/verification/__tests__/ci-rust-gates.test.js +1 -1
- package/dist/verification/__tests__/dev-merge-issue-close-workflow.test.js.map +1 -1
- package/dist/verification/verifier.js.map +1 -1
- package/dist/visual/constants.d.ts +1 -1
- package/dist/visual/constants.d.ts.map +1 -1
- package/dist/vscode/__tests__/index.test.js.map +1 -1
- package/dist/vscode/index.js.map +1 -1
- package/dist/wiki/__tests__/cjk-tokenize.test.js.map +1 -1
- package/dist/wiki/__tests__/lint.test.js.map +1 -1
- package/dist/wiki/__tests__/query.test.js.map +1 -1
- package/dist/wiki/__tests__/storage.test.js.map +1 -1
- package/dist/wiki/__tests__/test-helpers.d.ts.map +1 -1
- package/dist/wiki/lint.js.map +1 -1
- package/dist/wiki/query.js.map +1 -1
- package/dist/wiki/storage.js.map +1 -1
- package/package.json +2 -2
- package/plugins/oh-my-codex/.codex-plugin/plugin.json +1 -1
- package/plugins/oh-my-codex/skills/omx-setup/SKILL.md +10 -5
- package/plugins/oh-my-codex/skills/ralph/SKILL.md +4 -2
- package/plugins/oh-my-codex/skills/ralplan/SKILL.md +5 -2
- package/skills/omx-setup/SKILL.md +10 -5
- package/skills/ralph/SKILL.md +4 -2
- package/skills/ralplan/SKILL.md +5 -2
- package/src/scripts/__tests__/codex-native-hook.test.ts +20497 -12377
- package/src/scripts/__tests__/fixtures/issue-3138-installed-smoke.ts +734 -0
- package/src/scripts/__tests__/notify-fallback-delivery.test.ts +177 -0
- package/src/scripts/__tests__/notify-state-io.test.ts +73 -0
- package/src/scripts/__tests__/role-intent-bootstrap-e2e-3181.test.ts +215 -0
- package/src/scripts/__tests__/role-intent-durable-recovery-3181.test.ts +193 -0
- package/src/scripts/__tests__/smoke-packed-install.test.ts +991 -4
- package/src/scripts/codex-native-hook.ts +918 -172
- package/src/scripts/notify-fallback-delivery.ts +416 -0
- package/src/scripts/notify-fallback-watcher.ts +132 -40
- package/src/scripts/notify-hook/auto-nudge.ts +43 -12
- package/src/scripts/notify-hook/managed-tmux.ts +149 -12
- package/src/scripts/notify-hook/ralph-session-resume.ts +37 -36
- package/src/scripts/notify-hook/state-io.ts +100 -13
- package/src/scripts/notify-hook/tmux-injection.ts +38 -21
- package/src/scripts/notify-hook/visual-verdict.ts +22 -12
- package/src/scripts/notify-hook.ts +335 -90
- package/src/scripts/smoke-packed-install.ts +1829 -6
|
@@ -1,7 +1,875 @@
|
|
|
1
|
-
import { spawnSync } from 'node:child_process';
|
|
1
|
+
import { spawn, spawnSync } from 'node:child_process';
|
|
2
2
|
export { hasUsableNodeModules, resolveGitCommonDir, resolveReusableNodeModulesSource, } from '../utils/repo-deps.js';
|
|
3
|
-
export declare const PACKED_INSTALL_SMOKE_CORE_COMMANDS: readonly [readonly [
|
|
3
|
+
export declare const PACKED_INSTALL_SMOKE_CORE_COMMANDS: readonly [readonly ['--help'], readonly ['version'], readonly ['api', '--help'], readonly ['sparkshell', '--help']];
|
|
4
|
+
export declare const MANAGED_CODEX_HOOK_EVENTS: readonly ['SessionStart', 'PreToolUse', 'PostToolUse', 'UserPromptSubmit', 'PreCompact', 'PostCompact', 'Stop'];
|
|
5
|
+
export declare const PACKED_INSTALL_NATIVE_HOOK_REGRESSION_PROMPTS: readonly [{
|
|
6
|
+
readonly name: 'directive-use-ralplan';
|
|
7
|
+
readonly prompt: 'use $ralplan plan this';
|
|
8
|
+
readonly expectedSkill: 'ralplan';
|
|
9
|
+
readonly expectedStopBlock: true;
|
|
10
|
+
}, {
|
|
11
|
+
readonly name: 'directive-please-use-ralplan';
|
|
12
|
+
readonly prompt: 'please use $ralplan plan it';
|
|
13
|
+
readonly expectedSkill: 'ralplan';
|
|
14
|
+
readonly expectedStopBlock: true;
|
|
15
|
+
}, {
|
|
16
|
+
readonly name: 'directive-run-ralplan';
|
|
17
|
+
readonly prompt: 'run $ralplan plan this';
|
|
18
|
+
readonly expectedSkill: 'ralplan';
|
|
19
|
+
readonly expectedStopBlock: true;
|
|
20
|
+
}, {
|
|
21
|
+
readonly name: 'directive-list-use-ralplan';
|
|
22
|
+
readonly prompt: '- use $ralplan plan this';
|
|
23
|
+
readonly expectedSkill: 'ralplan';
|
|
24
|
+
readonly expectedStopBlock: true;
|
|
25
|
+
}, {
|
|
26
|
+
readonly name: 'directive-documentation-then-command';
|
|
27
|
+
readonly prompt: 'use $ralplan is the consensus-planning command\n$autopilot build it';
|
|
28
|
+
readonly expectedSkill: 'autopilot';
|
|
29
|
+
readonly expectedStopBlock: true;
|
|
30
|
+
}, {
|
|
31
|
+
readonly name: 'directive-documentation-then-implicit-command';
|
|
32
|
+
readonly prompt: 'use $ralplan is the consensus-planning command\nUse autopilot mode.';
|
|
33
|
+
readonly expectedSkill: 'autopilot';
|
|
34
|
+
readonly expectedStopBlock: true;
|
|
35
|
+
}, {
|
|
36
|
+
readonly name: 'directive-documentation-trailing-prose-then-command';
|
|
37
|
+
readonly prompt: 'use $ralplan is the workflow command for planning\n$autopilot build it';
|
|
38
|
+
readonly expectedSkill: 'autopilot';
|
|
39
|
+
readonly expectedStopBlock: true;
|
|
40
|
+
}, {
|
|
41
|
+
readonly name: 'directive-documentation-implicit-prose';
|
|
42
|
+
readonly prompt: 'use $ralplan is the workflow command for autopilot mode';
|
|
43
|
+
readonly expectedSkill: null;
|
|
44
|
+
readonly expectedStopBlock: false;
|
|
45
|
+
}, {
|
|
46
|
+
readonly name: 'directive-documentation-alias-prose';
|
|
47
|
+
readonly prompt: 'use $ralplan is the consensus-planning command\nAutopilot mode is its alias.';
|
|
48
|
+
readonly expectedSkill: null;
|
|
49
|
+
readonly expectedStopBlock: false;
|
|
50
|
+
}, {
|
|
51
|
+
readonly name: 'directive-coordinated-documentation-then-command';
|
|
52
|
+
readonly prompt: '- use $ralplan and $autopilot are workflow commands\n$ralph execute it';
|
|
53
|
+
readonly expectedSkill: 'ralph';
|
|
54
|
+
readonly expectedStopBlock: true;
|
|
55
|
+
}, {
|
|
56
|
+
readonly name: 'directive-documentation-semicolon-directive';
|
|
57
|
+
readonly prompt: 'use $ralplan is the consensus-planning command; use $autopilot build it';
|
|
58
|
+
readonly expectedSkill: 'autopilot';
|
|
59
|
+
readonly expectedStopBlock: true;
|
|
60
|
+
}, {
|
|
61
|
+
readonly name: 'directive-two-documentation-blocks';
|
|
62
|
+
readonly prompt: 'use $ralplan is the consensus-planning command\nuse $autopilot is the autonomous workflow command\n$ralph execute it';
|
|
63
|
+
readonly expectedSkill: 'ralph';
|
|
64
|
+
readonly expectedStopBlock: true;
|
|
65
|
+
}, {
|
|
66
|
+
readonly name: 'directive-documentation-embedded-token-then-command';
|
|
67
|
+
readonly prompt: 'use $ralplan is the workflow command for $team\n$autopilot build it';
|
|
68
|
+
readonly expectedSkill: 'autopilot';
|
|
69
|
+
readonly expectedStopBlock: true;
|
|
70
|
+
}, {
|
|
71
|
+
readonly name: 'doc-task-noun';
|
|
72
|
+
readonly prompt: 'use $ralplan is the workflow command; use $autopilot update the documentation';
|
|
73
|
+
readonly expectedSkill: 'autopilot';
|
|
74
|
+
readonly expectedStopBlock: true;
|
|
75
|
+
}, {
|
|
76
|
+
readonly name: 'doc-implicit-followup';
|
|
77
|
+
readonly prompt: 'use $ralplan is the consensus-planning command; use autopilot mode.';
|
|
78
|
+
readonly expectedSkill: 'autopilot';
|
|
79
|
+
readonly expectedStopBlock: true;
|
|
80
|
+
}, {
|
|
81
|
+
readonly name: 'doc-transition-followup';
|
|
82
|
+
readonly prompt: 'use $ralplan is the consensus-planning command; then use $autopilot build it';
|
|
83
|
+
readonly expectedSkill: 'autopilot';
|
|
84
|
+
readonly expectedStopBlock: true;
|
|
85
|
+
}, {
|
|
86
|
+
readonly name: 'doc-explicit-alias';
|
|
87
|
+
readonly prompt: 'use $ralplan is the consensus-planning command; $team is its alias';
|
|
88
|
+
readonly expectedSkill: null;
|
|
89
|
+
readonly expectedStopBlock: false;
|
|
90
|
+
}, {
|
|
91
|
+
readonly name: 'doc-implicit-chain';
|
|
92
|
+
readonly prompt: 'use $ralplan is the consensus-planning command\nAutopilot mode is its alias.\n$ralph execute it';
|
|
93
|
+
readonly expectedSkill: 'ralph';
|
|
94
|
+
readonly expectedStopBlock: true;
|
|
95
|
+
}, {
|
|
96
|
+
readonly name: 'doc-fullwidth-separator';
|
|
97
|
+
readonly prompt: 'use $ralplan,$autopilot are workflow commands';
|
|
98
|
+
readonly expectedSkill: null;
|
|
99
|
+
readonly expectedStopBlock: false;
|
|
100
|
+
}, {
|
|
101
|
+
readonly name: 'doc-compact-slash';
|
|
102
|
+
readonly prompt: 'use $ralplan/$autopilot are workflow commands\n$ralph execute it';
|
|
103
|
+
readonly expectedSkill: 'ralph';
|
|
104
|
+
readonly expectedStopBlock: true;
|
|
105
|
+
}, {
|
|
106
|
+
readonly name: 'reference-prompts-followup';
|
|
107
|
+
readonly prompt: '[docs]: /target "title\nUse /prompts:architect"\n$ralph execute it';
|
|
108
|
+
readonly expectedSkill: 'ralph';
|
|
109
|
+
readonly expectedStopBlock: true;
|
|
110
|
+
}, {
|
|
111
|
+
readonly name: 'doc-period-implicit';
|
|
112
|
+
readonly prompt: 'use $ralplan is the consensus-planning command. Use autopilot mode.';
|
|
113
|
+
readonly expectedSkill: 'autopilot';
|
|
114
|
+
readonly expectedStopBlock: true;
|
|
115
|
+
}, {
|
|
116
|
+
readonly name: 'doc-bare-implicit';
|
|
117
|
+
readonly prompt: 'use $ralplan is the consensus-planning command; autopilot mode.';
|
|
118
|
+
readonly expectedSkill: 'autopilot';
|
|
119
|
+
readonly expectedStopBlock: true;
|
|
120
|
+
}, {
|
|
121
|
+
readonly name: 'doc-fullwidth-semicolon';
|
|
122
|
+
readonly prompt: 'use $ralplan is the consensus-planning command; use $autopilot build it';
|
|
123
|
+
readonly expectedSkill: 'autopilot';
|
|
124
|
+
readonly expectedStopBlock: true;
|
|
125
|
+
}, {
|
|
126
|
+
readonly name: 'doc-but-followup';
|
|
127
|
+
readonly prompt: 'use $ralplan is the workflow command; but use $autopilot build it';
|
|
128
|
+
readonly expectedSkill: 'autopilot';
|
|
129
|
+
readonly expectedStopBlock: true;
|
|
130
|
+
}, {
|
|
131
|
+
readonly name: 'doc-fullwidth-oxford';
|
|
132
|
+
readonly prompt: 'use $ralplan, $autopilot, and $team are workflow commands';
|
|
133
|
+
readonly expectedSkill: null;
|
|
134
|
+
readonly expectedStopBlock: false;
|
|
135
|
+
}, {
|
|
136
|
+
readonly name: 'reference-zero-title';
|
|
137
|
+
readonly prompt: '[docs]: ./target\n(autopilot mode)';
|
|
138
|
+
readonly expectedSkill: null;
|
|
139
|
+
readonly expectedStopBlock: false;
|
|
140
|
+
}, {
|
|
141
|
+
readonly name: 'doc-also-alias-explicit';
|
|
142
|
+
readonly prompt: 'use $ralplan is the consensus-planning command; $team is also its alias';
|
|
143
|
+
readonly expectedSkill: null;
|
|
144
|
+
readonly expectedStopBlock: false;
|
|
145
|
+
}, {
|
|
146
|
+
readonly name: 'doc-also-alias-implicit';
|
|
147
|
+
readonly prompt: 'use $ralplan is the consensus-planning command\nAutopilot mode is also its alias.';
|
|
148
|
+
readonly expectedSkill: null;
|
|
149
|
+
readonly expectedStopBlock: false;
|
|
150
|
+
}, {
|
|
151
|
+
readonly name: 'doc-embedded-mention';
|
|
152
|
+
readonly prompt: 'use $ralplan is the workflow command; $team appears in the documentation.';
|
|
153
|
+
readonly expectedSkill: null;
|
|
154
|
+
readonly expectedStopBlock: false;
|
|
155
|
+
}, {
|
|
156
|
+
readonly name: 'chained-negation';
|
|
157
|
+
readonly prompt: '$ralplan; $autopilot is prohibited';
|
|
158
|
+
readonly expectedSkill: 'ralplan';
|
|
159
|
+
readonly expectedStopBlock: true;
|
|
160
|
+
readonly expectedDeferredSkills: readonly [];
|
|
161
|
+
}, {
|
|
162
|
+
readonly name: 'long-negation';
|
|
163
|
+
readonly prompt: `$ralplan; $autopilot${string}is prohibited`;
|
|
164
|
+
readonly expectedSkill: 'ralplan';
|
|
165
|
+
readonly expectedStopBlock: true;
|
|
166
|
+
readonly expectedDeferredSkills: readonly [];
|
|
167
|
+
}, {
|
|
168
|
+
readonly name: 'doc-arabic-comma';
|
|
169
|
+
readonly prompt: 'use $ralplan، $autopilot are workflow commands';
|
|
170
|
+
readonly expectedSkill: null;
|
|
171
|
+
readonly expectedStopBlock: false;
|
|
172
|
+
}, {
|
|
173
|
+
readonly name: 'arabic-negation';
|
|
174
|
+
readonly prompt: '$ralplan، $autopilot are prohibited';
|
|
175
|
+
readonly expectedSkill: null;
|
|
176
|
+
readonly expectedStopBlock: false;
|
|
177
|
+
}, {
|
|
178
|
+
readonly name: 'implicit-arabic-negation';
|
|
179
|
+
readonly prompt: 'Autopilot mode، deep interview are prohibited.';
|
|
180
|
+
readonly expectedSkill: null;
|
|
181
|
+
readonly expectedStopBlock: false;
|
|
182
|
+
}, {
|
|
183
|
+
readonly name: 'fullwidth-frame-reset';
|
|
184
|
+
readonly prompt: 'For instance: manual mode is slower。 Use autopilot mode.';
|
|
185
|
+
readonly expectedSkill: 'autopilot';
|
|
186
|
+
readonly expectedStopBlock: true;
|
|
187
|
+
}, {
|
|
188
|
+
readonly name: 'doc-abbreviation';
|
|
189
|
+
readonly prompt: 'use $ralplan is the workflow command, e.g. use $autopilot in examples.';
|
|
190
|
+
readonly expectedSkill: null;
|
|
191
|
+
readonly expectedStopBlock: false;
|
|
192
|
+
}, {
|
|
193
|
+
readonly name: 'implicit-doc-mention';
|
|
194
|
+
readonly prompt: 'use $ralplan is the workflow command; autopilot mode appears in the documentation.';
|
|
195
|
+
readonly expectedSkill: null;
|
|
196
|
+
readonly expectedStopBlock: false;
|
|
197
|
+
}, {
|
|
198
|
+
readonly name: 'implicit-doc-chain';
|
|
199
|
+
readonly prompt: 'use $ralplan is the workflow command; autopilot mode is its alias; $ralph execute it';
|
|
200
|
+
readonly expectedSkill: 'ralph';
|
|
201
|
+
readonly expectedStopBlock: true;
|
|
202
|
+
}, {
|
|
203
|
+
readonly name: 'long-command-gap';
|
|
204
|
+
readonly prompt: `use $ralplan is the workflow command; use${string}$autopilot build it`;
|
|
205
|
+
readonly expectedSkill: 'autopilot';
|
|
206
|
+
readonly expectedStopBlock: true;
|
|
207
|
+
}, {
|
|
208
|
+
readonly name: 'ideographic-negation';
|
|
209
|
+
readonly prompt: '$ralplan、 $autopilot are prohibited';
|
|
210
|
+
readonly expectedSkill: null;
|
|
211
|
+
readonly expectedStopBlock: false;
|
|
212
|
+
}, {
|
|
213
|
+
readonly name: 'implicit-ideo-negation';
|
|
214
|
+
readonly prompt: 'Autopilot mode、 deep interview are prohibited.';
|
|
215
|
+
readonly expectedSkill: null;
|
|
216
|
+
readonly expectedStopBlock: false;
|
|
217
|
+
}, {
|
|
218
|
+
readonly name: 'doc-exclamation';
|
|
219
|
+
readonly prompt: 'use $ralplan is the consensus-planning command! run $autopilot';
|
|
220
|
+
readonly expectedSkill: 'autopilot';
|
|
221
|
+
readonly expectedStopBlock: true;
|
|
222
|
+
}, {
|
|
223
|
+
readonly name: 'doc-fullwidth-question';
|
|
224
|
+
readonly prompt: 'use $ralplan is the consensus-planning command? run $autopilot';
|
|
225
|
+
readonly expectedSkill: 'autopilot';
|
|
226
|
+
readonly expectedStopBlock: true;
|
|
227
|
+
}, {
|
|
228
|
+
readonly name: 'implicit-doc-predecessor';
|
|
229
|
+
readonly prompt: 'Autopilot mode is workflow documentation.\n$ralph execute it';
|
|
230
|
+
readonly expectedSkill: 'ralph';
|
|
231
|
+
readonly expectedStopBlock: true;
|
|
232
|
+
}, {
|
|
233
|
+
readonly name: 'confusable-use-verb';
|
|
234
|
+
readonly prompt: 'uſe $ralplan plan it';
|
|
235
|
+
readonly expectedSkill: null;
|
|
236
|
+
readonly expectedStopBlock: false;
|
|
237
|
+
}, {
|
|
238
|
+
readonly name: 'confusable-please';
|
|
239
|
+
readonly prompt: 'pleaſe use $ralplan plan it';
|
|
240
|
+
readonly expectedSkill: null;
|
|
241
|
+
readonly expectedStopBlock: false;
|
|
242
|
+
}, {
|
|
243
|
+
readonly name: 'confusable-prompts-token-then-command';
|
|
244
|
+
readonly prompt: '/promptſ:architect; use autopilot mode.';
|
|
245
|
+
readonly expectedSkill: 'autopilot';
|
|
246
|
+
readonly expectedStopBlock: true;
|
|
247
|
+
}, {
|
|
248
|
+
readonly name: 'reserved-em-dash-boundary';
|
|
249
|
+
readonly prompt: '/prompts:architect— use autopilot mode';
|
|
250
|
+
readonly expectedSkill: null;
|
|
251
|
+
readonly expectedStopBlock: false;
|
|
252
|
+
}, {
|
|
253
|
+
readonly name: 'reserved-fullwidth-comma-boundary';
|
|
254
|
+
readonly prompt: '/prompts:architect, use autopilot mode';
|
|
255
|
+
readonly expectedSkill: null;
|
|
256
|
+
readonly expectedStopBlock: false;
|
|
257
|
+
}, {
|
|
258
|
+
readonly name: 'confusable-implicit-verb';
|
|
259
|
+
readonly prompt: 'Do not use deep interview but uſe autopilot mode.';
|
|
260
|
+
readonly expectedSkill: null;
|
|
261
|
+
readonly expectedStopBlock: false;
|
|
262
|
+
}, {
|
|
263
|
+
readonly name: 'frame-fullwidth-colon';
|
|
264
|
+
readonly prompt: 'For instance: use autopilot mode.';
|
|
265
|
+
readonly expectedSkill: null;
|
|
266
|
+
readonly expectedStopBlock: false;
|
|
267
|
+
}, {
|
|
268
|
+
readonly name: 'frame-fullwidth-comma';
|
|
269
|
+
readonly prompt: 'For instance, use autopilot mode.';
|
|
270
|
+
readonly expectedSkill: null;
|
|
271
|
+
readonly expectedStopBlock: false;
|
|
272
|
+
}, {
|
|
273
|
+
readonly name: 'frame-arabic-comma';
|
|
274
|
+
readonly prompt: 'For instance، use autopilot mode.';
|
|
275
|
+
readonly expectedSkill: null;
|
|
276
|
+
readonly expectedStopBlock: false;
|
|
277
|
+
}, {
|
|
278
|
+
readonly name: 'frame-ideo-comma';
|
|
279
|
+
readonly prompt: 'For instance、 use autopilot mode.';
|
|
280
|
+
readonly expectedSkill: null;
|
|
281
|
+
readonly expectedStopBlock: false;
|
|
282
|
+
}, {
|
|
283
|
+
readonly name: 'doc-explicit-documented';
|
|
284
|
+
readonly prompt: 'use $ralplan is the workflow command; $autopilot is documented in the guide.';
|
|
285
|
+
readonly expectedSkill: null;
|
|
286
|
+
readonly expectedStopBlock: false;
|
|
287
|
+
}, {
|
|
288
|
+
readonly name: 'doc-explicit-described';
|
|
289
|
+
readonly prompt: '$autopilot is described in the manual.';
|
|
290
|
+
readonly expectedSkill: null;
|
|
291
|
+
readonly expectedStopBlock: false;
|
|
292
|
+
}, {
|
|
293
|
+
readonly name: 'doc-comma-followup';
|
|
294
|
+
readonly prompt: 'use $ralplan is the workflow command, but use $autopilot build it';
|
|
295
|
+
readonly expectedSkill: 'autopilot';
|
|
296
|
+
readonly expectedStopBlock: true;
|
|
297
|
+
}, {
|
|
298
|
+
readonly name: 'doc-fw-comma-followup';
|
|
299
|
+
readonly prompt: 'use $ralplan is the workflow command, but use $autopilot build it';
|
|
300
|
+
readonly expectedSkill: 'autopilot';
|
|
301
|
+
readonly expectedStopBlock: true;
|
|
302
|
+
}, {
|
|
303
|
+
readonly name: 'doc-arabic-followup';
|
|
304
|
+
readonly prompt: 'use $ralplan is the workflow command، but use $autopilot build it';
|
|
305
|
+
readonly expectedSkill: 'autopilot';
|
|
306
|
+
readonly expectedStopBlock: true;
|
|
307
|
+
}, {
|
|
308
|
+
readonly name: 'doc-ideo-followup';
|
|
309
|
+
readonly prompt: 'use $ralplan is the workflow command、 but use $autopilot build it';
|
|
310
|
+
readonly expectedSkill: 'autopilot';
|
|
311
|
+
readonly expectedStopBlock: true;
|
|
312
|
+
}, {
|
|
313
|
+
readonly name: 'neg-arabic-followup';
|
|
314
|
+
readonly prompt: 'Do not run $ralplan، use $autopilot build it';
|
|
315
|
+
readonly expectedSkill: 'autopilot';
|
|
316
|
+
readonly expectedStopBlock: true;
|
|
317
|
+
}, {
|
|
318
|
+
readonly name: 'neg-ideo-followup';
|
|
319
|
+
readonly prompt: 'Do not run $ralplan、 use $autopilot build it';
|
|
320
|
+
readonly expectedSkill: 'autopilot';
|
|
321
|
+
readonly expectedStopBlock: true;
|
|
322
|
+
}, {
|
|
323
|
+
readonly name: 'implicit-doc-prefix-next';
|
|
324
|
+
readonly prompt: 'The docs mention autopilot mode.\n$ralplan plan it';
|
|
325
|
+
readonly expectedSkill: 'ralplan';
|
|
326
|
+
readonly expectedStopBlock: true;
|
|
327
|
+
}, {
|
|
328
|
+
readonly name: 'implicit-doc-prefix-line';
|
|
329
|
+
readonly prompt: 'The docs mention autopilot mode; use $ralplan plan it';
|
|
330
|
+
readonly expectedSkill: 'ralplan';
|
|
331
|
+
readonly expectedStopBlock: true;
|
|
332
|
+
}, {
|
|
333
|
+
readonly name: 'implicit-doc-subject-line';
|
|
334
|
+
readonly prompt: 'Autopilot mode is workflow documentation; use $ralplan plan it';
|
|
335
|
+
readonly expectedSkill: 'ralplan';
|
|
336
|
+
readonly expectedStopBlock: true;
|
|
337
|
+
}, {
|
|
338
|
+
readonly name: 'compact-explicit-negation';
|
|
339
|
+
readonly prompt: '$ralplan,$autopilot are prohibited';
|
|
340
|
+
readonly expectedSkill: null;
|
|
341
|
+
readonly expectedStopBlock: false;
|
|
342
|
+
}, {
|
|
343
|
+
readonly name: 'compact-implicit-negation';
|
|
344
|
+
readonly prompt: 'Autopilot mode،deep interview are prohibited.';
|
|
345
|
+
readonly expectedSkill: null;
|
|
346
|
+
readonly expectedStopBlock: false;
|
|
347
|
+
}, {
|
|
348
|
+
readonly name: 'doc-clause-local-prefix';
|
|
349
|
+
readonly prompt: '$ralplan; $autopilot is documented in the guide.';
|
|
350
|
+
readonly expectedSkill: 'ralplan';
|
|
351
|
+
readonly expectedStopBlock: true;
|
|
352
|
+
}, {
|
|
353
|
+
readonly name: 'doc-chain-described';
|
|
354
|
+
readonly prompt: 'use $ralplan is the workflow command; autopilot mode is documented in the guide; $team execute it';
|
|
355
|
+
readonly expectedSkill: 'team';
|
|
356
|
+
readonly expectedStopBlock: false;
|
|
357
|
+
readonly insideTmux: true;
|
|
358
|
+
}, {
|
|
359
|
+
readonly name: 'doc-chain-workflow';
|
|
360
|
+
readonly prompt: 'use $ralplan is the workflow command; autopilot mode is workflow documentation; use $ralph execute it';
|
|
361
|
+
readonly expectedSkill: 'ralph';
|
|
362
|
+
readonly expectedStopBlock: true;
|
|
363
|
+
}, {
|
|
364
|
+
readonly name: 'ref-inline-explicit';
|
|
365
|
+
readonly prompt: '[docs]: $ralplan\n$autopilot build it';
|
|
366
|
+
readonly expectedSkill: 'autopilot';
|
|
367
|
+
readonly expectedStopBlock: true;
|
|
368
|
+
}, {
|
|
369
|
+
readonly name: 'ref-inline-prompts';
|
|
370
|
+
readonly prompt: '[docs]: /prompts:architect\n$autopilot build it';
|
|
371
|
+
readonly expectedSkill: 'autopilot';
|
|
372
|
+
readonly expectedStopBlock: true;
|
|
373
|
+
}, {
|
|
374
|
+
readonly name: 'list-fullwidth-explicit-doc';
|
|
375
|
+
readonly prompt: '- $ralplan: consensus-planning workflow';
|
|
376
|
+
readonly expectedSkill: null;
|
|
377
|
+
readonly expectedStopBlock: false;
|
|
378
|
+
}, {
|
|
379
|
+
readonly name: 'list-fullwidth-implicit-doc';
|
|
380
|
+
readonly prompt: '- autopilot mode: autonomous workflow command';
|
|
381
|
+
readonly expectedSkill: null;
|
|
382
|
+
readonly expectedStopBlock: false;
|
|
383
|
+
}, {
|
|
384
|
+
readonly name: 'possessive-straight';
|
|
385
|
+
readonly prompt: "$ralplan's workflow is documented";
|
|
386
|
+
readonly expectedSkill: null;
|
|
387
|
+
readonly expectedStopBlock: false;
|
|
388
|
+
}, {
|
|
389
|
+
readonly name: 'possessive-curly';
|
|
390
|
+
readonly prompt: '$ralplan’s workflow is documented';
|
|
391
|
+
readonly expectedSkill: null;
|
|
392
|
+
readonly expectedStopBlock: false;
|
|
393
|
+
}, {
|
|
394
|
+
readonly name: 'possessive-fullwidth';
|
|
395
|
+
readonly prompt: '$ralplan's workflow is documented';
|
|
396
|
+
readonly expectedSkill: null;
|
|
397
|
+
readonly expectedStopBlock: false;
|
|
398
|
+
}, {
|
|
399
|
+
readonly name: 'possessive-prompts';
|
|
400
|
+
readonly prompt: "/prompts:architect's syntax is documented";
|
|
401
|
+
readonly expectedSkill: null;
|
|
402
|
+
readonly expectedStopBlock: false;
|
|
403
|
+
}, {
|
|
404
|
+
readonly name: 'malformed-prefix-kata';
|
|
405
|
+
readonly prompt: '$・autopilot mode';
|
|
406
|
+
readonly expectedSkill: null;
|
|
407
|
+
readonly expectedStopBlock: false;
|
|
408
|
+
}, {
|
|
409
|
+
readonly name: 'malformed-prefix-half';
|
|
410
|
+
readonly prompt: '$・autopilot mode';
|
|
411
|
+
readonly expectedSkill: null;
|
|
412
|
+
readonly expectedStopBlock: false;
|
|
413
|
+
}, {
|
|
414
|
+
readonly name: 'malformed-prefix-arabic';
|
|
415
|
+
readonly prompt: '$٪autopilot mode';
|
|
416
|
+
readonly expectedSkill: null;
|
|
417
|
+
readonly expectedStopBlock: false;
|
|
418
|
+
}, {
|
|
419
|
+
readonly name: 'malformed-prefix-division';
|
|
420
|
+
readonly prompt: '$∕autopilot mode';
|
|
421
|
+
readonly expectedSkill: null;
|
|
422
|
+
readonly expectedStopBlock: false;
|
|
423
|
+
}, {
|
|
424
|
+
readonly name: 'doc-but-directive';
|
|
425
|
+
readonly prompt: 'use $autopilot is documented but use $ralplan plan it';
|
|
426
|
+
readonly expectedSkill: 'ralplan';
|
|
427
|
+
readonly expectedStopBlock: true;
|
|
428
|
+
}, {
|
|
429
|
+
readonly name: 'list-directive-fw-colon';
|
|
430
|
+
readonly prompt: '- use $ralplan: consensus-planning workflow';
|
|
431
|
+
readonly expectedSkill: null;
|
|
432
|
+
readonly expectedStopBlock: false;
|
|
433
|
+
}, {
|
|
434
|
+
readonly name: 'doc-arabic-question';
|
|
435
|
+
readonly prompt: 'use $ralplan is the workflow command؟ run $autopilot';
|
|
436
|
+
readonly expectedSkill: 'autopilot';
|
|
437
|
+
readonly expectedStopBlock: true;
|
|
438
|
+
}, {
|
|
439
|
+
readonly name: 'arabic-semicolon-negation';
|
|
440
|
+
readonly prompt: '$ralplan؛ $autopilot is prohibited';
|
|
441
|
+
readonly expectedSkill: 'ralplan';
|
|
442
|
+
readonly expectedStopBlock: true;
|
|
443
|
+
readonly expectedDeferredSkills: readonly [];
|
|
444
|
+
}, {
|
|
445
|
+
readonly name: 'confusable-postposed-transition';
|
|
446
|
+
readonly prompt: '$ralplan is prohibited but uſe autopilot mode.';
|
|
447
|
+
readonly expectedSkill: null;
|
|
448
|
+
readonly expectedStopBlock: false;
|
|
449
|
+
}, {
|
|
450
|
+
readonly name: 'mixed-negation';
|
|
451
|
+
readonly prompt: 'Autopilot mode and $ralplan are prohibited.';
|
|
452
|
+
readonly expectedSkill: null;
|
|
453
|
+
readonly expectedStopBlock: false;
|
|
454
|
+
}, {
|
|
455
|
+
readonly name: 'both-mixed-negation';
|
|
456
|
+
readonly prompt: 'Both autopilot mode and $ralplan are prohibited.';
|
|
457
|
+
readonly expectedSkill: null;
|
|
458
|
+
readonly expectedStopBlock: false;
|
|
459
|
+
}, {
|
|
460
|
+
readonly name: 'mixed-documentation';
|
|
461
|
+
readonly prompt: 'use $ralplan and autopilot mode are workflow commands';
|
|
462
|
+
readonly expectedSkill: null;
|
|
463
|
+
readonly expectedStopBlock: false;
|
|
464
|
+
}, {
|
|
465
|
+
readonly name: 'prose-doc-no-reopen';
|
|
466
|
+
readonly prompt: '$ralplan is prohibited because docs use $autopilot.';
|
|
467
|
+
readonly expectedSkill: null;
|
|
468
|
+
readonly expectedStopBlock: false;
|
|
469
|
+
}, {
|
|
470
|
+
readonly name: 'neg-fw-dot-reopen';
|
|
471
|
+
readonly prompt: 'Do not run $ralplan. use $autopilot build it';
|
|
472
|
+
readonly expectedSkill: 'autopilot';
|
|
473
|
+
readonly expectedStopBlock: true;
|
|
474
|
+
}, {
|
|
475
|
+
readonly name: 'neg-greek-q-reopen';
|
|
476
|
+
readonly prompt: 'Do not run $ralplan; use $autopilot build it';
|
|
477
|
+
readonly expectedSkill: 'autopilot';
|
|
478
|
+
readonly expectedStopBlock: true;
|
|
479
|
+
}, {
|
|
480
|
+
readonly name: 'unicode-attached-contrast';
|
|
481
|
+
readonly prompt: 'Do not use deep interview яbut use autopilot mode.';
|
|
482
|
+
readonly expectedSkill: null;
|
|
483
|
+
readonly expectedStopBlock: false;
|
|
484
|
+
}, {
|
|
485
|
+
readonly name: 'prefix-list-followup';
|
|
486
|
+
readonly prompt: 'Do not run $ralplan, $autopilot; use $team execute it';
|
|
487
|
+
readonly expectedSkill: 'team';
|
|
488
|
+
readonly expectedStopBlock: false;
|
|
489
|
+
readonly insideTmux: true;
|
|
490
|
+
}, {
|
|
491
|
+
readonly name: 'mixed-postposed-chain';
|
|
492
|
+
readonly prompt: '$ralplan, autopilot mode, $team are prohibited.';
|
|
493
|
+
readonly expectedSkill: null;
|
|
494
|
+
readonly expectedStopBlock: false;
|
|
495
|
+
}, {
|
|
496
|
+
readonly name: 'implicit-first-doc-chain';
|
|
497
|
+
readonly prompt: 'Autopilot mode and $ralplan are workflow commands; use $team execute it';
|
|
498
|
+
readonly expectedSkill: 'team';
|
|
499
|
+
readonly expectedStopBlock: false;
|
|
500
|
+
readonly insideTmux: true;
|
|
501
|
+
}, {
|
|
502
|
+
readonly name: 'both-mixed-doc-followup';
|
|
503
|
+
readonly prompt: 'Both autopilot mode and $ralplan are workflow commands; use $team execute it';
|
|
504
|
+
readonly expectedSkill: 'team';
|
|
505
|
+
readonly expectedStopBlock: false;
|
|
506
|
+
readonly insideTmux: true;
|
|
507
|
+
}, {
|
|
508
|
+
readonly name: 'doc-semicolon-preserves-earlier';
|
|
509
|
+
readonly prompt: 'Use autopilot mode; use $ralplan is the workflow command.';
|
|
510
|
+
readonly expectedSkill: 'autopilot';
|
|
511
|
+
readonly expectedStopBlock: true;
|
|
512
|
+
}, {
|
|
513
|
+
readonly name: 'doc-independent-comma';
|
|
514
|
+
readonly prompt: 'Use autopilot mode, and $ralplan is documented in the guide.';
|
|
515
|
+
readonly expectedSkill: 'autopilot';
|
|
516
|
+
readonly expectedStopBlock: true;
|
|
517
|
+
}, {
|
|
518
|
+
readonly name: 'reference-unclosed-quote-destination';
|
|
519
|
+
readonly prompt: '[docs]: "target\n$autopilot build it';
|
|
520
|
+
readonly expectedSkill: null;
|
|
521
|
+
readonly expectedStopBlock: false;
|
|
522
|
+
}, {
|
|
523
|
+
readonly name: 'reference-unclosed-inline-destination';
|
|
524
|
+
readonly prompt: '[docs]: `target\n$autopilot build it';
|
|
525
|
+
readonly expectedSkill: null;
|
|
526
|
+
readonly expectedStopBlock: false;
|
|
527
|
+
}, {
|
|
528
|
+
readonly name: 'mixed-prefix-negation-implicit';
|
|
529
|
+
readonly prompt: 'Do not run $ralplan and use autopilot mode.';
|
|
530
|
+
readonly expectedSkill: null;
|
|
531
|
+
readonly expectedStopBlock: false;
|
|
532
|
+
}, {
|
|
533
|
+
readonly name: 'repeated-postposed-followup';
|
|
534
|
+
readonly prompt: '$team is prohibited and is forbidden; use $ralplan plan it';
|
|
535
|
+
readonly expectedSkill: 'ralplan';
|
|
536
|
+
readonly expectedStopBlock: true;
|
|
537
|
+
}, {
|
|
538
|
+
readonly name: 'doc-preserves-earlier';
|
|
539
|
+
readonly prompt: 'Use autopilot mode; "note"; use $ralplan is the workflow command.';
|
|
540
|
+
readonly expectedSkill: 'autopilot';
|
|
541
|
+
readonly expectedStopBlock: true;
|
|
542
|
+
}, {
|
|
543
|
+
readonly name: 'doc-colon-followup';
|
|
544
|
+
readonly prompt: 'use $ralplan is the workflow command: use $autopilot build it';
|
|
545
|
+
readonly expectedSkill: 'autopilot';
|
|
546
|
+
readonly expectedStopBlock: true;
|
|
547
|
+
}, {
|
|
548
|
+
readonly name: 'table-followup';
|
|
549
|
+
readonly prompt: 'Mode | Meaning\n--- | ---\nmanual | documentation\n$ralplan plan it';
|
|
550
|
+
readonly expectedSkill: 'ralplan';
|
|
551
|
+
readonly expectedStopBlock: true;
|
|
552
|
+
}, {
|
|
553
|
+
readonly name: 'neg-advance-reopen';
|
|
554
|
+
readonly prompt: 'Do not run $ralplan but advance to $ultragoal';
|
|
555
|
+
readonly expectedSkill: 'ultragoal';
|
|
556
|
+
readonly expectedStopBlock: false;
|
|
557
|
+
}, {
|
|
558
|
+
readonly name: 'neg-jump-reopen';
|
|
559
|
+
readonly prompt: 'Do not run $ralplan but jump straight to $ultragoal';
|
|
560
|
+
readonly expectedSkill: 'ultragoal';
|
|
561
|
+
readonly expectedStopBlock: false;
|
|
562
|
+
}, {
|
|
563
|
+
readonly name: 'reference-plain-title';
|
|
564
|
+
readonly prompt: '[docs]: /target "title\nplain text"\n$ralplan plan it';
|
|
565
|
+
readonly expectedSkill: 'ralplan';
|
|
566
|
+
readonly expectedStopBlock: true;
|
|
567
|
+
}, {
|
|
568
|
+
readonly name: 'reference-plain-destination';
|
|
569
|
+
readonly prompt: '[docs]: ./target\n$ralplan plan it';
|
|
570
|
+
readonly expectedSkill: 'ralplan';
|
|
571
|
+
readonly expectedStopBlock: true;
|
|
572
|
+
}, {
|
|
573
|
+
readonly name: 'directive-use-the';
|
|
574
|
+
readonly prompt: 'Do not run $ralplan; use the $autopilot build it';
|
|
575
|
+
readonly expectedSkill: 'autopilot';
|
|
576
|
+
readonly expectedStopBlock: true;
|
|
577
|
+
}, {
|
|
578
|
+
readonly name: 'directive-continue-after-quote';
|
|
579
|
+
readonly prompt: '"quoted"\ncontinue with $ralplan';
|
|
580
|
+
readonly expectedSkill: 'ralplan';
|
|
581
|
+
readonly expectedStopBlock: true;
|
|
582
|
+
}, {
|
|
583
|
+
readonly name: 'doc-advance-followup';
|
|
584
|
+
readonly prompt: 'use $ralplan is the workflow command; advance to $ultragoal';
|
|
585
|
+
readonly expectedSkill: 'ultragoal';
|
|
586
|
+
readonly expectedStopBlock: false;
|
|
587
|
+
}, {
|
|
588
|
+
readonly name: 'directive-run-code-review';
|
|
589
|
+
readonly prompt: 'run $code-review';
|
|
590
|
+
readonly expectedSkill: 'code-review';
|
|
591
|
+
readonly expectedStopBlock: false;
|
|
592
|
+
}, {
|
|
593
|
+
readonly name: 'directive-documentation';
|
|
594
|
+
readonly prompt: 'use $ralplan is the consensus-planning command';
|
|
595
|
+
readonly expectedSkill: null;
|
|
596
|
+
readonly expectedStopBlock: false;
|
|
597
|
+
}, {
|
|
598
|
+
readonly name: 'nested-bounded-child-unbounded-parent';
|
|
599
|
+
readonly prompt: '"`x`\n$ralplan plan it';
|
|
600
|
+
readonly expectedSkill: null;
|
|
601
|
+
readonly expectedStopBlock: false;
|
|
602
|
+
}, {
|
|
603
|
+
readonly name: 'first-contiguous-block-terminal';
|
|
604
|
+
readonly prompt: '$ralplan plan it\n"x"\n$autopilot build it';
|
|
605
|
+
readonly expectedSkill: 'ralplan';
|
|
606
|
+
readonly expectedStopBlock: true;
|
|
607
|
+
readonly expectedDeferredSkills: readonly [];
|
|
608
|
+
}, {
|
|
609
|
+
readonly name: 'leading-reserved-dominance';
|
|
610
|
+
readonly prompt: '/prompts:architect\n"x"\n$ralplan plan it';
|
|
611
|
+
readonly expectedSkill: null;
|
|
612
|
+
readonly expectedStopBlock: false;
|
|
613
|
+
}, {
|
|
614
|
+
readonly name: 'list-fence-root-opener';
|
|
615
|
+
readonly prompt: '- ```\n sample\n```\n$ralplan plan it';
|
|
616
|
+
readonly expectedSkill: null;
|
|
617
|
+
readonly expectedStopBlock: false;
|
|
618
|
+
}, {
|
|
619
|
+
readonly name: 'list-fence-relative-closer';
|
|
620
|
+
readonly prompt: '- ```\n sample\n ```\n$ralplan plan it';
|
|
621
|
+
readonly expectedSkill: 'ralplan';
|
|
622
|
+
readonly expectedStopBlock: true;
|
|
623
|
+
}, {
|
|
624
|
+
readonly name: 'reference-multiline-title-explicit';
|
|
625
|
+
readonly prompt: '[docs]: /target "title\nuse /prompts:architect\n$ralplan plan it"';
|
|
626
|
+
readonly expectedSkill: null;
|
|
627
|
+
readonly expectedStopBlock: false;
|
|
628
|
+
}, {
|
|
629
|
+
readonly name: 'reference-multiline-title-implicit';
|
|
630
|
+
readonly prompt: '[docs]: /target "title\nuse autopilot mode"';
|
|
631
|
+
readonly expectedSkill: null;
|
|
632
|
+
readonly expectedStopBlock: false;
|
|
633
|
+
}, {
|
|
634
|
+
readonly name: 'reference-next-line-title';
|
|
635
|
+
readonly prompt: '[docs]: ./target\n (autopilot mode)';
|
|
636
|
+
readonly expectedSkill: null;
|
|
637
|
+
readonly expectedStopBlock: false;
|
|
638
|
+
}, {
|
|
639
|
+
readonly name: 'reference-next-line-destination-title';
|
|
640
|
+
readonly prompt: '[docs]:\n ./target\n (autopilot mode)';
|
|
641
|
+
readonly expectedSkill: null;
|
|
642
|
+
readonly expectedStopBlock: false;
|
|
643
|
+
}, {
|
|
644
|
+
readonly name: 'kelvin-case-fold-suffix';
|
|
645
|
+
readonly prompt: '$ultraworK execute';
|
|
646
|
+
readonly expectedSkill: null;
|
|
647
|
+
readonly expectedStopBlock: false;
|
|
648
|
+
}, {
|
|
649
|
+
readonly name: 'katakana-middle-dot-suffix';
|
|
650
|
+
readonly prompt: '$ralplan・suffix plan it';
|
|
651
|
+
readonly expectedSkill: null;
|
|
652
|
+
readonly expectedStopBlock: false;
|
|
653
|
+
}, {
|
|
654
|
+
readonly name: 'halfwidth-middle-dot-suffix';
|
|
655
|
+
readonly prompt: '$ralplan・suffix plan it';
|
|
656
|
+
readonly expectedSkill: null;
|
|
657
|
+
readonly expectedStopBlock: false;
|
|
658
|
+
}, {
|
|
659
|
+
readonly name: 'arabic-percent-suffix';
|
|
660
|
+
readonly prompt: '$ralplan٪docs';
|
|
661
|
+
readonly expectedSkill: null;
|
|
662
|
+
readonly expectedStopBlock: false;
|
|
663
|
+
}, {
|
|
664
|
+
readonly name: 'division-slash-suffix';
|
|
665
|
+
readonly prompt: '$ralplan∕config';
|
|
666
|
+
readonly expectedSkill: null;
|
|
667
|
+
readonly expectedStopBlock: false;
|
|
668
|
+
}, {
|
|
669
|
+
readonly name: 'unclosed-prompts-quote';
|
|
670
|
+
readonly prompt: '"Use /prompts:architect\n$ralplan plan it';
|
|
671
|
+
readonly expectedSkill: null;
|
|
672
|
+
readonly expectedStopBlock: false;
|
|
673
|
+
}, {
|
|
674
|
+
readonly name: 'malformed-prompts-suffix';
|
|
675
|
+
readonly prompt: '/prompts:architect한글\n$ralplan plan it';
|
|
676
|
+
readonly expectedSkill: null;
|
|
677
|
+
readonly expectedStopBlock: false;
|
|
678
|
+
}, {
|
|
679
|
+
readonly name: 'stale-predecessor-prose-directive';
|
|
680
|
+
readonly prompt: '> quoted context\nProse\n$ralplan implement this';
|
|
681
|
+
readonly expectedSkill: null;
|
|
682
|
+
readonly expectedStopBlock: false;
|
|
683
|
+
}, {
|
|
684
|
+
readonly name: 'stale-predecessor-reserved-directive';
|
|
685
|
+
readonly prompt: '> quoted context\n/prompts:architect\n$ralplan plan this';
|
|
686
|
+
readonly expectedSkill: null;
|
|
687
|
+
readonly expectedStopBlock: false;
|
|
688
|
+
}, {
|
|
689
|
+
readonly name: 'stale-predecessor-first-block-terminal';
|
|
690
|
+
readonly prompt: '> quoted context\n$ralplan plan it\nLater discussion.\n$autopilot build it';
|
|
691
|
+
readonly expectedSkill: 'ralplan';
|
|
692
|
+
readonly expectedStopBlock: true;
|
|
693
|
+
readonly expectedDeferredSkills: readonly [];
|
|
694
|
+
}, {
|
|
695
|
+
readonly name: 'stale-predecessor-unclosed-after-negation';
|
|
696
|
+
readonly prompt: 'Do not run $ralplan.\n"unclosed context\n$autopilot build it';
|
|
697
|
+
readonly expectedSkill: null;
|
|
698
|
+
readonly expectedStopBlock: false;
|
|
699
|
+
}, {
|
|
700
|
+
readonly name: 'stale-predecessor-reference-unclosed';
|
|
701
|
+
readonly prompt: '[$ralplan]: ./docs\n"unclosed context\n$autopilot build it';
|
|
702
|
+
readonly expectedSkill: null;
|
|
703
|
+
readonly expectedStopBlock: false;
|
|
704
|
+
}, {
|
|
705
|
+
readonly name: 'stale-directive-clause-prefix';
|
|
706
|
+
readonly prompt: '> quoted context\nProse\nUse $ralplan plan this';
|
|
707
|
+
readonly expectedSkill: null;
|
|
708
|
+
readonly expectedStopBlock: false;
|
|
709
|
+
}, {
|
|
710
|
+
readonly name: 'nested-reserved-predecessor-successor';
|
|
711
|
+
readonly prompt: '- Use /prompts:architect.\n$ralplan plan it';
|
|
712
|
+
readonly expectedSkill: 'ralplan';
|
|
713
|
+
readonly expectedStopBlock: true;
|
|
714
|
+
}, {
|
|
715
|
+
readonly name: 'nested-fence-predecessor-successor';
|
|
716
|
+
readonly prompt: '- - ```\n quoted context\n ```\n$ralplan plan it';
|
|
717
|
+
readonly expectedSkill: 'ralplan';
|
|
718
|
+
readonly expectedStopBlock: true;
|
|
719
|
+
}, {
|
|
720
|
+
readonly name: 'reference-multiline-destination-implicit';
|
|
721
|
+
readonly prompt: '[docs]:\nautopilot';
|
|
722
|
+
readonly expectedSkill: null;
|
|
723
|
+
readonly expectedStopBlock: false;
|
|
724
|
+
}, {
|
|
725
|
+
readonly name: 'middle-dot-suffix';
|
|
726
|
+
readonly prompt: '$ralplan·suffix plan it';
|
|
727
|
+
readonly expectedSkill: null;
|
|
728
|
+
readonly expectedStopBlock: false;
|
|
729
|
+
}, {
|
|
730
|
+
readonly name: 'percent-suffix';
|
|
731
|
+
readonly prompt: '$ralplan%docs';
|
|
732
|
+
readonly expectedSkill: null;
|
|
733
|
+
readonly expectedStopBlock: false;
|
|
734
|
+
}, {
|
|
735
|
+
readonly name: 'fullwidth-percent-suffix';
|
|
736
|
+
readonly prompt: '$ralplan%docs';
|
|
737
|
+
readonly expectedSkill: null;
|
|
738
|
+
readonly expectedStopBlock: false;
|
|
739
|
+
}, {
|
|
740
|
+
readonly name: 'g1a-ordered-multi-skill';
|
|
741
|
+
readonly prompt: '$ralplan, $autopilot; $team';
|
|
742
|
+
readonly expectedSkill: 'ralplan';
|
|
743
|
+
readonly expectedStopBlock: true;
|
|
744
|
+
readonly expectedDeferredSkills: readonly ['autopilot', 'team'];
|
|
745
|
+
readonly expectedActiveSkills: readonly ['ralplan'];
|
|
746
|
+
readonly insideTmux: true;
|
|
747
|
+
}, {
|
|
748
|
+
readonly name: 'g1c-duplicate-alias';
|
|
749
|
+
readonly prompt: '$autopilot $oh-my-codex:autopilot build it';
|
|
750
|
+
readonly expectedSkill: 'autopilot';
|
|
751
|
+
readonly expectedStopBlock: true;
|
|
752
|
+
readonly expectedDeferredSkills: readonly [];
|
|
753
|
+
readonly expectedActiveSkills: readonly ['autopilot'];
|
|
754
|
+
}, {
|
|
755
|
+
readonly name: 'b3-longer-valid-fence';
|
|
756
|
+
readonly prompt: '```text\n$autopilot build it\n````\n$ralplan plan it';
|
|
757
|
+
readonly expectedSkill: 'ralplan';
|
|
758
|
+
readonly expectedStopBlock: true;
|
|
759
|
+
}, {
|
|
760
|
+
readonly name: 'b4-shorter-invalid-fence';
|
|
761
|
+
readonly prompt: '````text\n$autopilot build it\n```\n$ralplan plan it';
|
|
762
|
+
readonly expectedSkill: null;
|
|
763
|
+
readonly expectedStopBlock: false;
|
|
764
|
+
}, {
|
|
765
|
+
readonly name: 'b5-different-marker-invalid-fence';
|
|
766
|
+
readonly prompt: '```text\n$autopilot build it\n~~~\n$ralplan plan it';
|
|
767
|
+
readonly expectedSkill: null;
|
|
768
|
+
readonly expectedStopBlock: false;
|
|
769
|
+
}];
|
|
770
|
+
export declare function buildPackedRegressionEnvironment(testCase: {
|
|
771
|
+
readonly name: string;
|
|
772
|
+
readonly insideTmux?: boolean;
|
|
773
|
+
}, baseEnv?: NodeJS.ProcessEnv): NodeJS.ProcessEnv;
|
|
4
774
|
export declare const PACKED_INSTALL_NATIVE_HOOK_SMOKE_EVENTS: readonly ["SessionStart", "PreToolUse", "PostToolUse", "UserPromptSubmit", "PreCompact", "PostCompact", "Stop"];
|
|
775
|
+
export type ManagedCodexHookEvent = typeof MANAGED_CODEX_HOOK_EVENTS[number];
|
|
776
|
+
export declare const CODEX_APP_SERVER_TIMEOUTS: {
|
|
777
|
+
readonly versionProbeMs: 2000;
|
|
778
|
+
readonly initializeMs: 15000;
|
|
779
|
+
readonly requestMs: 10000;
|
|
780
|
+
readonly shutdownMs: 5000;
|
|
781
|
+
};
|
|
782
|
+
type JsonRpcEnvelope = {
|
|
783
|
+
id?: number;
|
|
784
|
+
method?: string;
|
|
785
|
+
params?: unknown;
|
|
786
|
+
result?: unknown;
|
|
787
|
+
error?: unknown;
|
|
788
|
+
};
|
|
789
|
+
type JsonRpcRequestEnvelope = JsonRpcEnvelope & {
|
|
790
|
+
id: number;
|
|
791
|
+
method: string;
|
|
792
|
+
};
|
|
793
|
+
export interface CodexHookMetadata {
|
|
794
|
+
event: ManagedCodexHookEvent | string;
|
|
795
|
+
command: string;
|
|
796
|
+
sourcePath: string;
|
|
797
|
+
key: string;
|
|
798
|
+
currentHash: string;
|
|
799
|
+
displayOrder: number;
|
|
800
|
+
trustStatus: 'managed' | 'untrusted' | 'trusted' | 'modified';
|
|
801
|
+
}
|
|
802
|
+
export interface CodexHooksListEntry {
|
|
803
|
+
cwd: string;
|
|
804
|
+
hooks: CodexHookMetadata[];
|
|
805
|
+
warnings: unknown[];
|
|
806
|
+
errors: unknown[];
|
|
807
|
+
}
|
|
808
|
+
export declare class CodexExecutableNotFoundError extends Error {
|
|
809
|
+
constructor();
|
|
810
|
+
}
|
|
811
|
+
export interface CodexCommandSpawnSeam {
|
|
812
|
+
platform?: NodeJS.Platform;
|
|
813
|
+
spawnSyncImpl?: typeof spawnSync;
|
|
814
|
+
spawnImpl?: typeof spawn;
|
|
815
|
+
}
|
|
816
|
+
/**
|
|
817
|
+
* Newline-delimited JSON-RPC client for the installed Codex app-server boundary.
|
|
818
|
+
* It accepts no protocol fallback: malformed messages, request errors, unexpected
|
|
819
|
+
* exits, and cleanup failures are test failures.
|
|
820
|
+
*/
|
|
821
|
+
export declare class CodexAppServer {
|
|
822
|
+
private readonly child;
|
|
823
|
+
private readonly pending;
|
|
824
|
+
private readonly closePromise;
|
|
825
|
+
private readonly stdoutDecoder;
|
|
826
|
+
private stderr;
|
|
827
|
+
private stdoutBuffer;
|
|
828
|
+
private failure;
|
|
829
|
+
private closing;
|
|
830
|
+
private spawned;
|
|
831
|
+
private constructor();
|
|
832
|
+
static start(options: {
|
|
833
|
+
cwd: string;
|
|
834
|
+
env: NodeJS.ProcessEnv;
|
|
835
|
+
commandSeam?: CodexCommandSpawnSeam;
|
|
836
|
+
}): Promise<CodexAppServer>;
|
|
837
|
+
private waitForStartup;
|
|
838
|
+
private onStdout;
|
|
839
|
+
private flushStdoutDecoder;
|
|
840
|
+
private onStdoutText;
|
|
841
|
+
private isMethodBearingNotification;
|
|
842
|
+
private validateResponseEnvelope;
|
|
843
|
+
private onEnvelope;
|
|
844
|
+
private fail;
|
|
845
|
+
private withTimeout;
|
|
846
|
+
request<T = unknown>(envelope: Required<Pick<JsonRpcEnvelope, 'id' | 'method'>> & JsonRpcEnvelope, timeoutMs: number): Promise<T>;
|
|
847
|
+
notify(envelope: Omit<JsonRpcEnvelope, 'id'>): void;
|
|
848
|
+
close(): Promise<void>;
|
|
849
|
+
}
|
|
850
|
+
export declare function createCodexInitializeEnvelope(clientName: string): JsonRpcRequestEnvelope;
|
|
851
|
+
export declare const CODEX_INITIALIZED_ENVELOPE: JsonRpcEnvelope;
|
|
852
|
+
export declare function createCodexHooksListEnvelope(projectCwd: string): JsonRpcRequestEnvelope;
|
|
853
|
+
export declare function createCodexBatchWriteEnvelope(trustByKey: Record<string, string>): JsonRpcRequestEnvelope;
|
|
854
|
+
export declare function initializeCodexAppServer(server: CodexAppServer, clientName: string): Promise<void>;
|
|
855
|
+
export declare function listCodexHooks(server: CodexAppServer, projectCwd: string, hooksPath: string): Promise<CodexHooksListEntry>;
|
|
856
|
+
export declare function parseCodexHooksListResult(result: unknown, projectCwd: string, hooksPath: string): CodexHooksListEntry;
|
|
857
|
+
export declare function managedCodexHooksByEvent(hooks: readonly CodexHookMetadata[]): Record<ManagedCodexHookEvent, CodexHookMetadata>;
|
|
858
|
+
export declare function generatedHookTrustState(configToml: string): Record<string, string>;
|
|
859
|
+
export declare function managedTrustByKey(hooks: readonly CodexHookMetadata[]): Record<string, string>;
|
|
860
|
+
export declare function assertGeneratedTrustMatchesCodex(generatedTrust: Record<string, string>, hooks: readonly CodexHookMetadata[]): void;
|
|
861
|
+
export declare function approveManagedHooksInCodex(server: CodexAppServer, hooks: readonly CodexHookMetadata[], expectedConfigPath: string): Promise<void>;
|
|
862
|
+
export declare function assertCodexBatchWriteResult(result: unknown, expectedConfigPath: string): void;
|
|
863
|
+
export declare function hookMetadataSnapshot(hooks: readonly CodexHookMetadata[]): Array<Pick<CodexHookMetadata, 'event' | 'command' | 'key' | 'currentHash' | 'displayOrder' | 'trustStatus'>>;
|
|
864
|
+
export declare function appendForeignHookGroups(hooksContent: string, marker: string, options: {
|
|
865
|
+
appendGroups: boolean;
|
|
866
|
+
}): string;
|
|
867
|
+
export declare function appendDisplayOrderStableForeignHookGroups(hooksContent: string, marker: string, options: {
|
|
868
|
+
appendGroups: boolean;
|
|
869
|
+
}): string;
|
|
870
|
+
export declare function foreignHookGroupSnapshot(hooksContent: string, marker: string): unknown[];
|
|
871
|
+
export declare function assertForeignHookGroupsPreserved(expected: unknown[], actualContent: string, marker: string): void;
|
|
872
|
+
export declare function probeCodexVersion(cwd: string, env: NodeJS.ProcessEnv, seam?: CodexCommandSpawnSeam): string;
|
|
5
873
|
interface EnsureRepoDepsOptions {
|
|
6
874
|
gitRunner?: typeof spawnSync;
|
|
7
875
|
install?: (cwd: string) => void;
|
|
@@ -15,6 +883,15 @@ interface EnsureRepoDepsResult {
|
|
|
15
883
|
export declare function ensureRepoDependencies(repoRoot: string, options?: EnsureRepoDepsOptions): EnsureRepoDepsResult;
|
|
16
884
|
export declare function validateHookStdout(eventName: string, stdout: string): void;
|
|
17
885
|
export declare function buildNativeHookSmokePayload(eventName: typeof PACKED_INSTALL_NATIVE_HOOK_SMOKE_EVENTS[number], smokeCwd: string): Record<string, unknown>;
|
|
886
|
+
export interface PackedHookTrustLifecycleResult {
|
|
887
|
+
codexVersion: string | null;
|
|
888
|
+
}
|
|
889
|
+
/**
|
|
890
|
+
* Exercise setup and removal against the installed package. The deterministic
|
|
891
|
+
* filesystem lifecycle always runs; the installed-Codex trust leg is skipped
|
|
892
|
+
* only when the `codex` executable is absent.
|
|
893
|
+
*/
|
|
894
|
+
export declare function smokePackedHookTrustLifecycle(omxPath: string): Promise<PackedHookTrustLifecycleResult>;
|
|
18
895
|
export declare function parseNpmPackJsonOutput(stdout: string): Array<{
|
|
19
896
|
filename: string;
|
|
20
897
|
}>;
|