@stanco323/oh-my-claude-code 4.10.3
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/.claude-plugin/marketplace.json +31 -0
- package/.claude-plugin/plugin.json +20 -0
- package/.mcp.json +8 -0
- package/LICENSE +21 -0
- package/README.de.md +346 -0
- package/README.es.md +390 -0
- package/README.fr.md +346 -0
- package/README.it.md +346 -0
- package/README.ja.md +390 -0
- package/README.ko.md +395 -0
- package/README.md +504 -0
- package/README.pt.md +388 -0
- package/README.ru.md +346 -0
- package/README.tr.md +346 -0
- package/README.vi.md +388 -0
- package/README.zh.md +390 -0
- package/agents/analyst.md +113 -0
- package/agents/architect.md +122 -0
- package/agents/code-reviewer.md +217 -0
- package/agents/code-simplifier.md +92 -0
- package/agents/critic.md +273 -0
- package/agents/debugger.md +143 -0
- package/agents/designer.md +104 -0
- package/agents/document-specialist.md +78 -0
- package/agents/executor.md +120 -0
- package/agents/explore.md +118 -0
- package/agents/git-master.md +94 -0
- package/agents/planner.md +139 -0
- package/agents/qa-tester.md +100 -0
- package/agents/scientist.md +95 -0
- package/agents/security-reviewer.md +184 -0
- package/agents/test-engineer.md +125 -0
- package/agents/tracer.md +161 -0
- package/agents/verifier.md +106 -0
- package/agents/writer.md +90 -0
- package/bridge/__pycache__/gyoshu_bridge.cpython-310.pyc +0 -0
- package/bridge/__pycache__/gyoshu_bridge.cpython-314.pyc +0 -0
- package/bridge/cli.cjs +83685 -0
- package/bridge/gyoshu_bridge.py +1017 -0
- package/bridge/mcp-server.cjs +25998 -0
- package/bridge/run-mcp-server.sh +13 -0
- package/bridge/runtime-cli.cjs +6261 -0
- package/bridge/team-bridge.cjs +2035 -0
- package/bridge/team-mcp.cjs +18975 -0
- package/bridge/team.js +7559 -0
- package/dist/__tests__/agent-boundary-guidance.test.d.ts +2 -0
- package/dist/__tests__/agent-boundary-guidance.test.d.ts.map +1 -0
- package/dist/__tests__/agent-boundary-guidance.test.js +48 -0
- package/dist/__tests__/agent-boundary-guidance.test.js.map +1 -0
- package/dist/__tests__/agent-registry.test.d.ts +2 -0
- package/dist/__tests__/agent-registry.test.d.ts.map +1 -0
- package/dist/__tests__/agent-registry.test.js +146 -0
- package/dist/__tests__/agent-registry.test.js.map +1 -0
- package/dist/__tests__/ast-tools-path-restriction.test.d.ts +2 -0
- package/dist/__tests__/ast-tools-path-restriction.test.d.ts.map +1 -0
- package/dist/__tests__/ast-tools-path-restriction.test.js +58 -0
- package/dist/__tests__/ast-tools-path-restriction.test.js.map +1 -0
- package/dist/__tests__/auto-slash-aliases.test.d.ts +2 -0
- package/dist/__tests__/auto-slash-aliases.test.d.ts.map +1 -0
- package/dist/__tests__/auto-slash-aliases.test.js +198 -0
- package/dist/__tests__/auto-slash-aliases.test.js.map +1 -0
- package/dist/__tests__/auto-update.test.d.ts +2 -0
- package/dist/__tests__/auto-update.test.d.ts.map +1 -0
- package/dist/__tests__/auto-update.test.js +775 -0
- package/dist/__tests__/auto-update.test.js.map +1 -0
- package/dist/__tests__/auto-upgrade-prompt.test.d.ts +2 -0
- package/dist/__tests__/auto-upgrade-prompt.test.d.ts.map +1 -0
- package/dist/__tests__/auto-upgrade-prompt.test.js +101 -0
- package/dist/__tests__/auto-upgrade-prompt.test.js.map +1 -0
- package/dist/__tests__/background-cleanup-directory.test.d.ts +2 -0
- package/dist/__tests__/background-cleanup-directory.test.d.ts.map +1 -0
- package/dist/__tests__/background-cleanup-directory.test.js +57 -0
- package/dist/__tests__/background-cleanup-directory.test.js.map +1 -0
- package/dist/__tests__/bash-history.test.d.ts +5 -0
- package/dist/__tests__/bash-history.test.d.ts.map +1 -0
- package/dist/__tests__/bash-history.test.js +78 -0
- package/dist/__tests__/bash-history.test.js.map +1 -0
- package/dist/__tests__/bedrock-lm-suffix-hook.test.d.ts +30 -0
- package/dist/__tests__/bedrock-lm-suffix-hook.test.d.ts.map +1 -0
- package/dist/__tests__/bedrock-lm-suffix-hook.test.js +246 -0
- package/dist/__tests__/bedrock-lm-suffix-hook.test.js.map +1 -0
- package/dist/__tests__/bedrock-model-routing.test.d.ts +21 -0
- package/dist/__tests__/bedrock-model-routing.test.d.ts.map +1 -0
- package/dist/__tests__/bedrock-model-routing.test.js +397 -0
- package/dist/__tests__/bedrock-model-routing.test.js.map +1 -0
- package/dist/__tests__/cleanup-validation.test.d.ts +2 -0
- package/dist/__tests__/cleanup-validation.test.d.ts.map +1 -0
- package/dist/__tests__/cleanup-validation.test.js +50 -0
- package/dist/__tests__/cleanup-validation.test.js.map +1 -0
- package/dist/__tests__/cli-config-stop-callback.test.d.ts +2 -0
- package/dist/__tests__/cli-config-stop-callback.test.d.ts.map +1 -0
- package/dist/__tests__/cli-config-stop-callback.test.js +132 -0
- package/dist/__tests__/cli-config-stop-callback.test.js.map +1 -0
- package/dist/__tests__/cli-interop-flags.test.d.ts +2 -0
- package/dist/__tests__/cli-interop-flags.test.d.ts.map +1 -0
- package/dist/__tests__/cli-interop-flags.test.js +42 -0
- package/dist/__tests__/cli-interop-flags.test.js.map +1 -0
- package/dist/__tests__/cli-notify-profile.test.d.ts +2 -0
- package/dist/__tests__/cli-notify-profile.test.d.ts.map +1 -0
- package/dist/__tests__/cli-notify-profile.test.js +213 -0
- package/dist/__tests__/cli-notify-profile.test.js.map +1 -0
- package/dist/__tests__/cli-win32-warning.test.d.ts +2 -0
- package/dist/__tests__/cli-win32-warning.test.d.ts.map +1 -0
- package/dist/__tests__/cli-win32-warning.test.js +59 -0
- package/dist/__tests__/cli-win32-warning.test.js.map +1 -0
- package/dist/__tests__/compact-denylist.test.d.ts +9 -0
- package/dist/__tests__/compact-denylist.test.d.ts.map +1 -0
- package/dist/__tests__/compact-denylist.test.js +24 -0
- package/dist/__tests__/compact-denylist.test.js.map +1 -0
- package/dist/__tests__/config-force-inherit-env.test.d.ts +5 -0
- package/dist/__tests__/config-force-inherit-env.test.d.ts.map +1 -0
- package/dist/__tests__/config-force-inherit-env.test.js +35 -0
- package/dist/__tests__/config-force-inherit-env.test.js.map +1 -0
- package/dist/__tests__/consensus-execution-handoff.test.d.ts +16 -0
- package/dist/__tests__/consensus-execution-handoff.test.d.ts.map +1 -0
- package/dist/__tests__/consensus-execution-handoff.test.js +195 -0
- package/dist/__tests__/consensus-execution-handoff.test.js.map +1 -0
- package/dist/__tests__/consolidation-contracts.test.d.ts +2 -0
- package/dist/__tests__/consolidation-contracts.test.d.ts.map +1 -0
- package/dist/__tests__/consolidation-contracts.test.js +95 -0
- package/dist/__tests__/consolidation-contracts.test.js.map +1 -0
- package/dist/__tests__/context-guard-stop.test.d.ts +2 -0
- package/dist/__tests__/context-guard-stop.test.d.ts.map +1 -0
- package/dist/__tests__/context-guard-stop.test.js +78 -0
- package/dist/__tests__/context-guard-stop.test.js.map +1 -0
- package/dist/__tests__/context-safety.test.d.ts +2 -0
- package/dist/__tests__/context-safety.test.d.ts.map +1 -0
- package/dist/__tests__/context-safety.test.js +88 -0
- package/dist/__tests__/context-safety.test.js.map +1 -0
- package/dist/__tests__/daemon-module-path.test.d.ts +2 -0
- package/dist/__tests__/daemon-module-path.test.d.ts.map +1 -0
- package/dist/__tests__/daemon-module-path.test.js +29 -0
- package/dist/__tests__/daemon-module-path.test.js.map +1 -0
- package/dist/__tests__/deep-interview-provider-options.test.d.ts +2 -0
- package/dist/__tests__/deep-interview-provider-options.test.d.ts.map +1 -0
- package/dist/__tests__/deep-interview-provider-options.test.js +79 -0
- package/dist/__tests__/deep-interview-provider-options.test.js.map +1 -0
- package/dist/__tests__/delegation-enforcement-levels.test.d.ts +9 -0
- package/dist/__tests__/delegation-enforcement-levels.test.d.ts.map +1 -0
- package/dist/__tests__/delegation-enforcement-levels.test.js +587 -0
- package/dist/__tests__/delegation-enforcement-levels.test.js.map +1 -0
- package/dist/__tests__/delegation-enforcer-integration.test.d.ts +10 -0
- package/dist/__tests__/delegation-enforcer-integration.test.d.ts.map +1 -0
- package/dist/__tests__/delegation-enforcer-integration.test.js +140 -0
- package/dist/__tests__/delegation-enforcer-integration.test.js.map +1 -0
- package/dist/__tests__/delegation-enforcer.test.d.ts +5 -0
- package/dist/__tests__/delegation-enforcer.test.d.ts.map +1 -0
- package/dist/__tests__/delegation-enforcer.test.js +487 -0
- package/dist/__tests__/delegation-enforcer.test.js.map +1 -0
- package/dist/__tests__/directory-context-injector.test.d.ts +2 -0
- package/dist/__tests__/directory-context-injector.test.d.ts.map +1 -0
- package/dist/__tests__/directory-context-injector.test.js +186 -0
- package/dist/__tests__/directory-context-injector.test.js.map +1 -0
- package/dist/__tests__/disable-tools.test.d.ts +8 -0
- package/dist/__tests__/disable-tools.test.d.ts.map +1 -0
- package/dist/__tests__/disable-tools.test.js +186 -0
- package/dist/__tests__/disable-tools.test.js.map +1 -0
- package/dist/__tests__/doctor-conflicts.test.d.ts +8 -0
- package/dist/__tests__/doctor-conflicts.test.d.ts.map +1 -0
- package/dist/__tests__/doctor-conflicts.test.js +519 -0
- package/dist/__tests__/doctor-conflicts.test.js.map +1 -0
- package/dist/__tests__/featured-contributors-generator.test.d.ts +2 -0
- package/dist/__tests__/featured-contributors-generator.test.d.ts.map +1 -0
- package/dist/__tests__/featured-contributors-generator.test.js +118 -0
- package/dist/__tests__/featured-contributors-generator.test.js.map +1 -0
- package/dist/__tests__/file-lock.test.d.ts +2 -0
- package/dist/__tests__/file-lock.test.d.ts.map +1 -0
- package/dist/__tests__/file-lock.test.js +209 -0
- package/dist/__tests__/file-lock.test.js.map +1 -0
- package/dist/__tests__/helpers/prompt-test-helpers.d.ts +4 -0
- package/dist/__tests__/helpers/prompt-test-helpers.d.ts.map +1 -0
- package/dist/__tests__/helpers/prompt-test-helpers.js +9 -0
- package/dist/__tests__/helpers/prompt-test-helpers.js.map +1 -0
- package/dist/__tests__/hooks/learner/bridge.test.d.ts +11 -0
- package/dist/__tests__/hooks/learner/bridge.test.d.ts.map +1 -0
- package/dist/__tests__/hooks/learner/bridge.test.js +243 -0
- package/dist/__tests__/hooks/learner/bridge.test.js.map +1 -0
- package/dist/__tests__/hooks/learner/parser.test.d.ts +5 -0
- package/dist/__tests__/hooks/learner/parser.test.d.ts.map +1 -0
- package/dist/__tests__/hooks/learner/parser.test.js +219 -0
- package/dist/__tests__/hooks/learner/parser.test.js.map +1 -0
- package/dist/__tests__/hooks/learner/transliteration-map.test.d.ts +8 -0
- package/dist/__tests__/hooks/learner/transliteration-map.test.d.ts.map +1 -0
- package/dist/__tests__/hooks/learner/transliteration-map.test.js +183 -0
- package/dist/__tests__/hooks/learner/transliteration-map.test.js.map +1 -0
- package/dist/__tests__/hooks/plugin-patterns.test.d.ts +2 -0
- package/dist/__tests__/hooks/plugin-patterns.test.d.ts.map +1 -0
- package/dist/__tests__/hooks/plugin-patterns.test.js +203 -0
- package/dist/__tests__/hooks/plugin-patterns.test.js.map +1 -0
- package/dist/__tests__/hooks-command-escaping.test.d.ts +2 -0
- package/dist/__tests__/hooks-command-escaping.test.d.ts.map +1 -0
- package/dist/__tests__/hooks-command-escaping.test.js +41 -0
- package/dist/__tests__/hooks-command-escaping.test.js.map +1 -0
- package/dist/__tests__/hooks.test.d.ts +2 -0
- package/dist/__tests__/hooks.test.d.ts.map +1 -0
- package/dist/__tests__/hooks.test.js +1421 -0
- package/dist/__tests__/hooks.test.js.map +1 -0
- package/dist/__tests__/hud/background-cleanup.test.d.ts +2 -0
- package/dist/__tests__/hud/background-cleanup.test.d.ts.map +1 -0
- package/dist/__tests__/hud/background-cleanup.test.js +287 -0
- package/dist/__tests__/hud/background-cleanup.test.js.map +1 -0
- package/dist/__tests__/hud/background-tasks.test.d.ts +2 -0
- package/dist/__tests__/hud/background-tasks.test.d.ts.map +1 -0
- package/dist/__tests__/hud/background-tasks.test.js +90 -0
- package/dist/__tests__/hud/background-tasks.test.js.map +1 -0
- package/dist/__tests__/hud/call-counts.test.d.ts +2 -0
- package/dist/__tests__/hud/call-counts.test.d.ts.map +1 -0
- package/dist/__tests__/hud/call-counts.test.js +94 -0
- package/dist/__tests__/hud/call-counts.test.js.map +1 -0
- package/dist/__tests__/hud/cli-diagnostic.test.d.ts +2 -0
- package/dist/__tests__/hud/cli-diagnostic.test.d.ts.map +1 -0
- package/dist/__tests__/hud/cli-diagnostic.test.js +187 -0
- package/dist/__tests__/hud/cli-diagnostic.test.js.map +1 -0
- package/dist/__tests__/hud/context-warning.test.d.ts +2 -0
- package/dist/__tests__/hud/context-warning.test.d.ts.map +1 -0
- package/dist/__tests__/hud/context-warning.test.js +82 -0
- package/dist/__tests__/hud/context-warning.test.js.map +1 -0
- package/dist/__tests__/hud/context.test.d.ts +2 -0
- package/dist/__tests__/hud/context.test.d.ts.map +1 -0
- package/dist/__tests__/hud/context.test.js +47 -0
- package/dist/__tests__/hud/context.test.js.map +1 -0
- package/dist/__tests__/hud/custom-rate-provider.test.d.ts +5 -0
- package/dist/__tests__/hud/custom-rate-provider.test.d.ts.map +1 -0
- package/dist/__tests__/hud/custom-rate-provider.test.js +198 -0
- package/dist/__tests__/hud/custom-rate-provider.test.js.map +1 -0
- package/dist/__tests__/hud/cwd.test.d.ts +2 -0
- package/dist/__tests__/hud/cwd.test.d.ts.map +1 -0
- package/dist/__tests__/hud/cwd.test.js +62 -0
- package/dist/__tests__/hud/cwd.test.js.map +1 -0
- package/dist/__tests__/hud/defaults.test.d.ts +2 -0
- package/dist/__tests__/hud/defaults.test.d.ts.map +1 -0
- package/dist/__tests__/hud/defaults.test.js +71 -0
- package/dist/__tests__/hud/defaults.test.js.map +1 -0
- package/dist/__tests__/hud/git.test.d.ts +2 -0
- package/dist/__tests__/hud/git.test.d.ts.map +1 -0
- package/dist/__tests__/hud/git.test.js +201 -0
- package/dist/__tests__/hud/git.test.js.map +1 -0
- package/dist/__tests__/hud/limits-error.test.d.ts +5 -0
- package/dist/__tests__/hud/limits-error.test.d.ts.map +1 -0
- package/dist/__tests__/hud/limits-error.test.js +41 -0
- package/dist/__tests__/hud/limits-error.test.js.map +1 -0
- package/dist/__tests__/hud/max-width.test.d.ts +2 -0
- package/dist/__tests__/hud/max-width.test.d.ts.map +1 -0
- package/dist/__tests__/hud/max-width.test.js +149 -0
- package/dist/__tests__/hud/max-width.test.js.map +1 -0
- package/dist/__tests__/hud/mission-board-state.test.d.ts +2 -0
- package/dist/__tests__/hud/mission-board-state.test.d.ts.map +1 -0
- package/dist/__tests__/hud/mission-board-state.test.js +202 -0
- package/dist/__tests__/hud/mission-board-state.test.js.map +1 -0
- package/dist/__tests__/hud/mission-board.test.d.ts +2 -0
- package/dist/__tests__/hud/mission-board.test.d.ts.map +1 -0
- package/dist/__tests__/hud/mission-board.test.js +144 -0
- package/dist/__tests__/hud/mission-board.test.js.map +1 -0
- package/dist/__tests__/hud/model.test.d.ts +2 -0
- package/dist/__tests__/hud/model.test.d.ts.map +1 -0
- package/dist/__tests__/hud/model.test.js +63 -0
- package/dist/__tests__/hud/model.test.js.map +1 -0
- package/dist/__tests__/hud/omc-state.test.d.ts +2 -0
- package/dist/__tests__/hud/omc-state.test.d.ts.map +1 -0
- package/dist/__tests__/hud/omc-state.test.js +143 -0
- package/dist/__tests__/hud/omc-state.test.js.map +1 -0
- package/dist/__tests__/hud/prompt-time.test.d.ts +2 -0
- package/dist/__tests__/hud/prompt-time.test.d.ts.map +1 -0
- package/dist/__tests__/hud/prompt-time.test.js +24 -0
- package/dist/__tests__/hud/prompt-time.test.js.map +1 -0
- package/dist/__tests__/hud/rate-limits-error.test.d.ts +5 -0
- package/dist/__tests__/hud/rate-limits-error.test.d.ts.map +1 -0
- package/dist/__tests__/hud/rate-limits-error.test.js +89 -0
- package/dist/__tests__/hud/rate-limits-error.test.js.map +1 -0
- package/dist/__tests__/hud/render-rate-limits-priority.test.d.ts +8 -0
- package/dist/__tests__/hud/render-rate-limits-priority.test.d.ts.map +1 -0
- package/dist/__tests__/hud/render-rate-limits-priority.test.js +146 -0
- package/dist/__tests__/hud/render-rate-limits-priority.test.js.map +1 -0
- package/dist/__tests__/hud/render.test.d.ts +2 -0
- package/dist/__tests__/hud/render.test.d.ts.map +1 -0
- package/dist/__tests__/hud/render.test.js +679 -0
- package/dist/__tests__/hud/render.test.js.map +1 -0
- package/dist/__tests__/hud/sanitize.test.d.ts +10 -0
- package/dist/__tests__/hud/sanitize.test.d.ts.map +1 -0
- package/dist/__tests__/hud/sanitize.test.js +138 -0
- package/dist/__tests__/hud/sanitize.test.js.map +1 -0
- package/dist/__tests__/hud/skills.test.d.ts +2 -0
- package/dist/__tests__/hud/skills.test.d.ts.map +1 -0
- package/dist/__tests__/hud/skills.test.js +143 -0
- package/dist/__tests__/hud/skills.test.js.map +1 -0
- package/dist/__tests__/hud/stale-indicator.test.d.ts +9 -0
- package/dist/__tests__/hud/stale-indicator.test.d.ts.map +1 -0
- package/dist/__tests__/hud/stale-indicator.test.js +81 -0
- package/dist/__tests__/hud/stale-indicator.test.js.map +1 -0
- package/dist/__tests__/hud/state.test.d.ts +2 -0
- package/dist/__tests__/hud/state.test.d.ts.map +1 -0
- package/dist/__tests__/hud/state.test.js +328 -0
- package/dist/__tests__/hud/state.test.js.map +1 -0
- package/dist/__tests__/hud/stdin.test.d.ts +2 -0
- package/dist/__tests__/hud/stdin.test.d.ts.map +1 -0
- package/dist/__tests__/hud/stdin.test.js +108 -0
- package/dist/__tests__/hud/stdin.test.js.map +1 -0
- package/dist/__tests__/hud/thinking.test.d.ts +2 -0
- package/dist/__tests__/hud/thinking.test.d.ts.map +1 -0
- package/dist/__tests__/hud/thinking.test.js +32 -0
- package/dist/__tests__/hud/thinking.test.js.map +1 -0
- package/dist/__tests__/hud/token-usage.test.d.ts +2 -0
- package/dist/__tests__/hud/token-usage.test.d.ts.map +1 -0
- package/dist/__tests__/hud/token-usage.test.js +143 -0
- package/dist/__tests__/hud/token-usage.test.js.map +1 -0
- package/dist/__tests__/hud/usage-api-lock.test.d.ts +2 -0
- package/dist/__tests__/hud/usage-api-lock.test.d.ts.map +1 -0
- package/dist/__tests__/hud/usage-api-lock.test.js +248 -0
- package/dist/__tests__/hud/usage-api-lock.test.js.map +1 -0
- package/dist/__tests__/hud/usage-api-stale.test.d.ts +9 -0
- package/dist/__tests__/hud/usage-api-stale.test.d.ts.map +1 -0
- package/dist/__tests__/hud/usage-api-stale.test.js +299 -0
- package/dist/__tests__/hud/usage-api-stale.test.js.map +1 -0
- package/dist/__tests__/hud/usage-api.test.d.ts +5 -0
- package/dist/__tests__/hud/usage-api.test.d.ts.map +1 -0
- package/dist/__tests__/hud/usage-api.test.js +562 -0
- package/dist/__tests__/hud/usage-api.test.js.map +1 -0
- package/dist/__tests__/hud/version-display.test.d.ts +2 -0
- package/dist/__tests__/hud/version-display.test.d.ts.map +1 -0
- package/dist/__tests__/hud/version-display.test.js +110 -0
- package/dist/__tests__/hud/version-display.test.js.map +1 -0
- package/dist/__tests__/hud/watch-mode-init.test.d.ts +2 -0
- package/dist/__tests__/hud/watch-mode-init.test.d.ts.map +1 -0
- package/dist/__tests__/hud/watch-mode-init.test.js +155 -0
- package/dist/__tests__/hud/watch-mode-init.test.js.map +1 -0
- package/dist/__tests__/hud/windows-platform.test.d.ts +2 -0
- package/dist/__tests__/hud/windows-platform.test.d.ts.map +1 -0
- package/dist/__tests__/hud/windows-platform.test.js +201 -0
- package/dist/__tests__/hud/windows-platform.test.js.map +1 -0
- package/dist/__tests__/hud-agents.test.d.ts +7 -0
- package/dist/__tests__/hud-agents.test.d.ts.map +1 -0
- package/dist/__tests__/hud-agents.test.js +394 -0
- package/dist/__tests__/hud-agents.test.js.map +1 -0
- package/dist/__tests__/hud-api-key-source.test.d.ts +7 -0
- package/dist/__tests__/hud-api-key-source.test.d.ts.map +1 -0
- package/dist/__tests__/hud-api-key-source.test.js +112 -0
- package/dist/__tests__/hud-api-key-source.test.js.map +1 -0
- package/dist/__tests__/hud-build-guidance.test.d.ts +2 -0
- package/dist/__tests__/hud-build-guidance.test.d.ts.map +1 -0
- package/dist/__tests__/hud-build-guidance.test.js +34 -0
- package/dist/__tests__/hud-build-guidance.test.js.map +1 -0
- package/dist/__tests__/hud-marketplace-resolution.test.d.ts +2 -0
- package/dist/__tests__/hud-marketplace-resolution.test.d.ts.map +1 -0
- package/dist/__tests__/hud-marketplace-resolution.test.js +158 -0
- package/dist/__tests__/hud-marketplace-resolution.test.js.map +1 -0
- package/dist/__tests__/hud-windows.test.d.ts +2 -0
- package/dist/__tests__/hud-windows.test.d.ts.map +1 -0
- package/dist/__tests__/hud-windows.test.js +186 -0
- package/dist/__tests__/hud-windows.test.js.map +1 -0
- package/dist/__tests__/installer-hooks-merge.test.d.ts +13 -0
- package/dist/__tests__/installer-hooks-merge.test.d.ts.map +1 -0
- package/dist/__tests__/installer-hooks-merge.test.js +256 -0
- package/dist/__tests__/installer-hooks-merge.test.js.map +1 -0
- package/dist/__tests__/installer-hud-skip.test.d.ts +2 -0
- package/dist/__tests__/installer-hud-skip.test.d.ts.map +1 -0
- package/dist/__tests__/installer-hud-skip.test.js +124 -0
- package/dist/__tests__/installer-hud-skip.test.js.map +1 -0
- package/dist/__tests__/installer-mcp-config.test.d.ts +2 -0
- package/dist/__tests__/installer-mcp-config.test.d.ts.map +1 -0
- package/dist/__tests__/installer-mcp-config.test.js +127 -0
- package/dist/__tests__/installer-mcp-config.test.js.map +1 -0
- package/dist/__tests__/installer-omc-reference.test.d.ts +2 -0
- package/dist/__tests__/installer-omc-reference.test.d.ts.map +1 -0
- package/dist/__tests__/installer-omc-reference.test.js +85 -0
- package/dist/__tests__/installer-omc-reference.test.js.map +1 -0
- package/dist/__tests__/installer-plugin-agents.test.d.ts +2 -0
- package/dist/__tests__/installer-plugin-agents.test.d.ts.map +1 -0
- package/dist/__tests__/installer-plugin-agents.test.js +111 -0
- package/dist/__tests__/installer-plugin-agents.test.js.map +1 -0
- package/dist/__tests__/installer-version-guard.test.d.ts +2 -0
- package/dist/__tests__/installer-version-guard.test.d.ts.map +1 -0
- package/dist/__tests__/installer-version-guard.test.js +75 -0
- package/dist/__tests__/installer-version-guard.test.js.map +1 -0
- package/dist/__tests__/installer.test.d.ts +2 -0
- package/dist/__tests__/installer.test.d.ts.map +1 -0
- package/dist/__tests__/installer.test.js +518 -0
- package/dist/__tests__/installer.test.js.map +1 -0
- package/dist/__tests__/job-management-sqlite.test.d.ts +2 -0
- package/dist/__tests__/job-management-sqlite.test.d.ts.map +1 -0
- package/dist/__tests__/job-management-sqlite.test.js +269 -0
- package/dist/__tests__/job-management-sqlite.test.js.map +1 -0
- package/dist/__tests__/job-management.test.d.ts +2 -0
- package/dist/__tests__/job-management.test.d.ts.map +1 -0
- package/dist/__tests__/job-management.test.js +395 -0
- package/dist/__tests__/job-management.test.js.map +1 -0
- package/dist/__tests__/job-state-db.test.d.ts +2 -0
- package/dist/__tests__/job-state-db.test.d.ts.map +1 -0
- package/dist/__tests__/job-state-db.test.js +611 -0
- package/dist/__tests__/job-state-db.test.js.map +1 -0
- package/dist/__tests__/jobid-collision-safety.test.d.ts +10 -0
- package/dist/__tests__/jobid-collision-safety.test.d.ts.map +1 -0
- package/dist/__tests__/jobid-collision-safety.test.js +51 -0
- package/dist/__tests__/jobid-collision-safety.test.js.map +1 -0
- package/dist/__tests__/keyword-detector-script.test.d.ts +2 -0
- package/dist/__tests__/keyword-detector-script.test.d.ts.map +1 -0
- package/dist/__tests__/keyword-detector-script.test.js +54 -0
- package/dist/__tests__/keyword-detector-script.test.js.map +1 -0
- package/dist/__tests__/learner/auto-learner.test.d.ts +7 -0
- package/dist/__tests__/learner/auto-learner.test.d.ts.map +1 -0
- package/dist/__tests__/learner/auto-learner.test.js +507 -0
- package/dist/__tests__/learner/auto-learner.test.js.map +1 -0
- package/dist/__tests__/learner/matcher.test.d.ts +2 -0
- package/dist/__tests__/learner/matcher.test.d.ts.map +1 -0
- package/dist/__tests__/learner/matcher.test.js +330 -0
- package/dist/__tests__/learner/matcher.test.js.map +1 -0
- package/dist/__tests__/live-data.test.d.ts +2 -0
- package/dist/__tests__/live-data.test.d.ts.map +1 -0
- package/dist/__tests__/live-data.test.js +408 -0
- package/dist/__tests__/live-data.test.js.map +1 -0
- package/dist/__tests__/load-agent-prompt.test.d.ts +2 -0
- package/dist/__tests__/load-agent-prompt.test.d.ts.map +1 -0
- package/dist/__tests__/load-agent-prompt.test.js +78 -0
- package/dist/__tests__/load-agent-prompt.test.js.map +1 -0
- package/dist/__tests__/lsp-servers.test.d.ts +2 -0
- package/dist/__tests__/lsp-servers.test.d.ts.map +1 -0
- package/dist/__tests__/lsp-servers.test.js +133 -0
- package/dist/__tests__/lsp-servers.test.js.map +1 -0
- package/dist/__tests__/mcp-comm-inbox-dedup.test.d.ts +2 -0
- package/dist/__tests__/mcp-comm-inbox-dedup.test.d.ts.map +1 -0
- package/dist/__tests__/mcp-comm-inbox-dedup.test.js +105 -0
- package/dist/__tests__/mcp-comm-inbox-dedup.test.js.map +1 -0
- package/dist/__tests__/mcp-default-config.test.d.ts +2 -0
- package/dist/__tests__/mcp-default-config.test.d.ts.map +1 -0
- package/dist/__tests__/mcp-default-config.test.js +13 -0
- package/dist/__tests__/mcp-default-config.test.js.map +1 -0
- package/dist/__tests__/mnemosyne/config.test.d.ts +2 -0
- package/dist/__tests__/mnemosyne/config.test.d.ts.map +1 -0
- package/dist/__tests__/mnemosyne/config.test.js +37 -0
- package/dist/__tests__/mnemosyne/config.test.js.map +1 -0
- package/dist/__tests__/mnemosyne/detector.test.d.ts +2 -0
- package/dist/__tests__/mnemosyne/detector.test.d.ts.map +1 -0
- package/dist/__tests__/mnemosyne/detector.test.js +99 -0
- package/dist/__tests__/mnemosyne/detector.test.js.map +1 -0
- package/dist/__tests__/mnemosyne/finder.test.d.ts +2 -0
- package/dist/__tests__/mnemosyne/finder.test.d.ts.map +1 -0
- package/dist/__tests__/mnemosyne/finder.test.js +115 -0
- package/dist/__tests__/mnemosyne/finder.test.js.map +1 -0
- package/dist/__tests__/mnemosyne/loader.test.d.ts +2 -0
- package/dist/__tests__/mnemosyne/loader.test.d.ts.map +1 -0
- package/dist/__tests__/mnemosyne/loader.test.js +73 -0
- package/dist/__tests__/mnemosyne/loader.test.js.map +1 -0
- package/dist/__tests__/mnemosyne/parser.test.d.ts +2 -0
- package/dist/__tests__/mnemosyne/parser.test.d.ts.map +1 -0
- package/dist/__tests__/mnemosyne/parser.test.js +81 -0
- package/dist/__tests__/mnemosyne/parser.test.js.map +1 -0
- package/dist/__tests__/mnemosyne/validator.test.d.ts +2 -0
- package/dist/__tests__/mnemosyne/validator.test.d.ts.map +1 -0
- package/dist/__tests__/mnemosyne/validator.test.js +85 -0
- package/dist/__tests__/mnemosyne/validator.test.js.map +1 -0
- package/dist/__tests__/mode-names-ralplan.test.d.ts +2 -0
- package/dist/__tests__/mode-names-ralplan.test.d.ts.map +1 -0
- package/dist/__tests__/mode-names-ralplan.test.js +31 -0
- package/dist/__tests__/mode-names-ralplan.test.js.map +1 -0
- package/dist/__tests__/model-routing-esm.test.d.ts +2 -0
- package/dist/__tests__/model-routing-esm.test.d.ts.map +1 -0
- package/dist/__tests__/model-routing-esm.test.js +26 -0
- package/dist/__tests__/model-routing-esm.test.js.map +1 -0
- package/dist/__tests__/model-routing.test.d.ts +2 -0
- package/dist/__tests__/model-routing.test.d.ts.map +1 -0
- package/dist/__tests__/model-routing.test.js +795 -0
- package/dist/__tests__/model-routing.test.js.map +1 -0
- package/dist/__tests__/non-claude-provider-detection.test.d.ts +11 -0
- package/dist/__tests__/non-claude-provider-detection.test.d.ts.map +1 -0
- package/dist/__tests__/non-claude-provider-detection.test.js +303 -0
- package/dist/__tests__/non-claude-provider-detection.test.js.map +1 -0
- package/dist/__tests__/notepad.test.d.ts +2 -0
- package/dist/__tests__/notepad.test.d.ts.map +1 -0
- package/dist/__tests__/notepad.test.js +394 -0
- package/dist/__tests__/notepad.test.js.map +1 -0
- package/dist/__tests__/omc-cli-rendering.test.d.ts +2 -0
- package/dist/__tests__/omc-cli-rendering.test.d.ts.map +1 -0
- package/dist/__tests__/omc-cli-rendering.test.js +33 -0
- package/dist/__tests__/omc-cli-rendering.test.js.map +1 -0
- package/dist/__tests__/omc-tools-contract.test.d.ts +11 -0
- package/dist/__tests__/omc-tools-contract.test.d.ts.map +1 -0
- package/dist/__tests__/omc-tools-contract.test.js +172 -0
- package/dist/__tests__/omc-tools-contract.test.js.map +1 -0
- package/dist/__tests__/omc-tools-server-interop.test.d.ts +2 -0
- package/dist/__tests__/omc-tools-server-interop.test.d.ts.map +1 -0
- package/dist/__tests__/omc-tools-server-interop.test.js +39 -0
- package/dist/__tests__/omc-tools-server-interop.test.js.map +1 -0
- package/dist/__tests__/omc-tools-server.test.d.ts +2 -0
- package/dist/__tests__/omc-tools-server.test.d.ts.map +1 -0
- package/dist/__tests__/omc-tools-server.test.js +78 -0
- package/dist/__tests__/omc-tools-server.test.js.map +1 -0
- package/dist/__tests__/outbox-reader-partial-lines.test.d.ts +2 -0
- package/dist/__tests__/outbox-reader-partial-lines.test.d.ts.map +1 -0
- package/dist/__tests__/outbox-reader-partial-lines.test.js +49 -0
- package/dist/__tests__/outbox-reader-partial-lines.test.js.map +1 -0
- package/dist/__tests__/package-dir-resolution-regression.test.d.ts +2 -0
- package/dist/__tests__/package-dir-resolution-regression.test.d.ts.map +1 -0
- package/dist/__tests__/package-dir-resolution-regression.test.js +114 -0
- package/dist/__tests__/package-dir-resolution-regression.test.js.map +1 -0
- package/dist/__tests__/permission-enforcement.test.d.ts +2 -0
- package/dist/__tests__/permission-enforcement.test.d.ts.map +1 -0
- package/dist/__tests__/permission-enforcement.test.js +194 -0
- package/dist/__tests__/permission-enforcement.test.js.map +1 -0
- package/dist/__tests__/pipeline-orchestrator.test.d.ts +5 -0
- package/dist/__tests__/pipeline-orchestrator.test.d.ts.map +1 -0
- package/dist/__tests__/pipeline-orchestrator.test.js +244 -0
- package/dist/__tests__/pipeline-orchestrator.test.js.map +1 -0
- package/dist/__tests__/pipeline-signal-regex-escape.test.d.ts +2 -0
- package/dist/__tests__/pipeline-signal-regex-escape.test.d.ts.map +1 -0
- package/dist/__tests__/pipeline-signal-regex-escape.test.js +32 -0
- package/dist/__tests__/pipeline-signal-regex-escape.test.js.map +1 -0
- package/dist/__tests__/plugin-setup-deps.test.d.ts +2 -0
- package/dist/__tests__/plugin-setup-deps.test.d.ts.map +1 -0
- package/dist/__tests__/plugin-setup-deps.test.js +64 -0
- package/dist/__tests__/plugin-setup-deps.test.js.map +1 -0
- package/dist/__tests__/plugin-setup-devpaths.test.d.ts +2 -0
- package/dist/__tests__/plugin-setup-devpaths.test.d.ts.map +1 -0
- package/dist/__tests__/plugin-setup-devpaths.test.js +47 -0
- package/dist/__tests__/plugin-setup-devpaths.test.js.map +1 -0
- package/dist/__tests__/pre-compact-cwd.test.d.ts +2 -0
- package/dist/__tests__/pre-compact-cwd.test.d.ts.map +1 -0
- package/dist/__tests__/pre-compact-cwd.test.js +64 -0
- package/dist/__tests__/pre-compact-cwd.test.js.map +1 -0
- package/dist/__tests__/pre-tool-enforcer.test.d.ts +2 -0
- package/dist/__tests__/pre-tool-enforcer.test.d.ts.map +1 -0
- package/dist/__tests__/pre-tool-enforcer.test.js +735 -0
- package/dist/__tests__/pre-tool-enforcer.test.js.map +1 -0
- package/dist/__tests__/project-memory-merge.test.d.ts +2 -0
- package/dist/__tests__/project-memory-merge.test.d.ts.map +1 -0
- package/dist/__tests__/project-memory-merge.test.js +359 -0
- package/dist/__tests__/project-memory-merge.test.js.map +1 -0
- package/dist/__tests__/prompt-injection.test.d.ts +2 -0
- package/dist/__tests__/prompt-injection.test.d.ts.map +1 -0
- package/dist/__tests__/prompt-injection.test.js +214 -0
- package/dist/__tests__/prompt-injection.test.js.map +1 -0
- package/dist/__tests__/protected-mode-regressions.test.d.ts +2 -0
- package/dist/__tests__/protected-mode-regressions.test.d.ts.map +1 -0
- package/dist/__tests__/protected-mode-regressions.test.js +36 -0
- package/dist/__tests__/protected-mode-regressions.test.js.map +1 -0
- package/dist/__tests__/providers/azure-devops.test.d.ts +2 -0
- package/dist/__tests__/providers/azure-devops.test.d.ts.map +1 -0
- package/dist/__tests__/providers/azure-devops.test.js +158 -0
- package/dist/__tests__/providers/azure-devops.test.js.map +1 -0
- package/dist/__tests__/providers/bitbucket.test.d.ts +2 -0
- package/dist/__tests__/providers/bitbucket.test.d.ts.map +1 -0
- package/dist/__tests__/providers/bitbucket.test.js +184 -0
- package/dist/__tests__/providers/bitbucket.test.js.map +1 -0
- package/dist/__tests__/providers/detection.test.d.ts +2 -0
- package/dist/__tests__/providers/detection.test.d.ts.map +1 -0
- package/dist/__tests__/providers/detection.test.js +181 -0
- package/dist/__tests__/providers/detection.test.js.map +1 -0
- package/dist/__tests__/providers/gitea.test.d.ts +2 -0
- package/dist/__tests__/providers/gitea.test.d.ts.map +1 -0
- package/dist/__tests__/providers/gitea.test.js +248 -0
- package/dist/__tests__/providers/gitea.test.js.map +1 -0
- package/dist/__tests__/providers/github.test.d.ts +2 -0
- package/dist/__tests__/providers/github.test.d.ts.map +1 -0
- package/dist/__tests__/providers/github.test.js +146 -0
- package/dist/__tests__/providers/github.test.js.map +1 -0
- package/dist/__tests__/providers/gitlab.test.d.ts +2 -0
- package/dist/__tests__/providers/gitlab.test.d.ts.map +1 -0
- package/dist/__tests__/providers/gitlab.test.js +149 -0
- package/dist/__tests__/providers/gitlab.test.js.map +1 -0
- package/dist/__tests__/purge-stale-cache.test.d.ts +2 -0
- package/dist/__tests__/purge-stale-cache.test.d.ts.map +1 -0
- package/dist/__tests__/purge-stale-cache.test.js +283 -0
- package/dist/__tests__/purge-stale-cache.test.js.map +1 -0
- package/dist/__tests__/ralph-prd-mandatory.test.d.ts +2 -0
- package/dist/__tests__/ralph-prd-mandatory.test.d.ts.map +1 -0
- package/dist/__tests__/ralph-prd-mandatory.test.js +367 -0
- package/dist/__tests__/ralph-prd-mandatory.test.js.map +1 -0
- package/dist/__tests__/ralph-prd.test.d.ts +2 -0
- package/dist/__tests__/ralph-prd.test.d.ts.map +1 -0
- package/dist/__tests__/ralph-prd.test.js +308 -0
- package/dist/__tests__/ralph-prd.test.js.map +1 -0
- package/dist/__tests__/ralph-progress.test.d.ts +2 -0
- package/dist/__tests__/ralph-progress.test.d.ts.map +1 -0
- package/dist/__tests__/ralph-progress.test.js +312 -0
- package/dist/__tests__/ralph-progress.test.js.map +1 -0
- package/dist/__tests__/rate-limit-wait/daemon-bootstrap.test.d.ts +2 -0
- package/dist/__tests__/rate-limit-wait/daemon-bootstrap.test.d.ts.map +1 -0
- package/dist/__tests__/rate-limit-wait/daemon-bootstrap.test.js +98 -0
- package/dist/__tests__/rate-limit-wait/daemon-bootstrap.test.js.map +1 -0
- package/dist/__tests__/rate-limit-wait/daemon.test.d.ts +5 -0
- package/dist/__tests__/rate-limit-wait/daemon.test.d.ts.map +1 -0
- package/dist/__tests__/rate-limit-wait/daemon.test.js +321 -0
- package/dist/__tests__/rate-limit-wait/daemon.test.js.map +1 -0
- package/dist/__tests__/rate-limit-wait/integration.test.d.ts +8 -0
- package/dist/__tests__/rate-limit-wait/integration.test.d.ts.map +1 -0
- package/dist/__tests__/rate-limit-wait/integration.test.js +353 -0
- package/dist/__tests__/rate-limit-wait/integration.test.js.map +1 -0
- package/dist/__tests__/rate-limit-wait/rate-limit-monitor.test.d.ts +5 -0
- package/dist/__tests__/rate-limit-wait/rate-limit-monitor.test.d.ts.map +1 -0
- package/dist/__tests__/rate-limit-wait/rate-limit-monitor.test.js +233 -0
- package/dist/__tests__/rate-limit-wait/rate-limit-monitor.test.js.map +1 -0
- package/dist/__tests__/rate-limit-wait/tmux-detector.test.d.ts +5 -0
- package/dist/__tests__/rate-limit-wait/tmux-detector.test.d.ts.map +1 -0
- package/dist/__tests__/rate-limit-wait/tmux-detector.test.js +312 -0
- package/dist/__tests__/rate-limit-wait/tmux-detector.test.js.map +1 -0
- package/dist/__tests__/repo-slug-dots.test.d.ts +2 -0
- package/dist/__tests__/repo-slug-dots.test.d.ts.map +1 -0
- package/dist/__tests__/repo-slug-dots.test.js +24 -0
- package/dist/__tests__/repo-slug-dots.test.js.map +1 -0
- package/dist/__tests__/resolve-node.test.d.ts +8 -0
- package/dist/__tests__/resolve-node.test.d.ts.map +1 -0
- package/dist/__tests__/resolve-node.test.js +65 -0
- package/dist/__tests__/resolve-node.test.js.map +1 -0
- package/dist/__tests__/resolve-transcript-path.test.d.ts +12 -0
- package/dist/__tests__/resolve-transcript-path.test.d.ts.map +1 -0
- package/dist/__tests__/resolve-transcript-path.test.js +167 -0
- package/dist/__tests__/resolve-transcript-path.test.js.map +1 -0
- package/dist/__tests__/routing-force-inherit.test.d.ts +8 -0
- package/dist/__tests__/routing-force-inherit.test.d.ts.map +1 -0
- package/dist/__tests__/routing-force-inherit.test.js +211 -0
- package/dist/__tests__/routing-force-inherit.test.js.map +1 -0
- package/dist/__tests__/run-cjs-graceful-fallback.test.d.ts +2 -0
- package/dist/__tests__/run-cjs-graceful-fallback.test.d.ts.map +1 -0
- package/dist/__tests__/run-cjs-graceful-fallback.test.js +167 -0
- package/dist/__tests__/run-cjs-graceful-fallback.test.js.map +1 -0
- package/dist/__tests__/runtime-task-orphan.test.d.ts +2 -0
- package/dist/__tests__/runtime-task-orphan.test.d.ts.map +1 -0
- package/dist/__tests__/runtime-task-orphan.test.js +103 -0
- package/dist/__tests__/runtime-task-orphan.test.js.map +1 -0
- package/dist/__tests__/security-config.test.d.ts +2 -0
- package/dist/__tests__/security-config.test.d.ts.map +1 -0
- package/dist/__tests__/security-config.test.js +171 -0
- package/dist/__tests__/security-config.test.js.map +1 -0
- package/dist/__tests__/session-history-search.test.d.ts +2 -0
- package/dist/__tests__/session-history-search.test.d.ts.map +1 -0
- package/dist/__tests__/session-history-search.test.js +115 -0
- package/dist/__tests__/session-history-search.test.js.map +1 -0
- package/dist/__tests__/session-start-cache-cleanup.test.d.ts +2 -0
- package/dist/__tests__/session-start-cache-cleanup.test.d.ts.map +1 -0
- package/dist/__tests__/session-start-cache-cleanup.test.js +150 -0
- package/dist/__tests__/session-start-cache-cleanup.test.js.map +1 -0
- package/dist/__tests__/session-start-script-context.test.d.ts +2 -0
- package/dist/__tests__/session-start-script-context.test.d.ts.map +1 -0
- package/dist/__tests__/session-start-script-context.test.js +134 -0
- package/dist/__tests__/session-start-script-context.test.js.map +1 -0
- package/dist/__tests__/session-start-timeout-cleanup.test.d.ts +2 -0
- package/dist/__tests__/session-start-timeout-cleanup.test.d.ts.map +1 -0
- package/dist/__tests__/session-start-timeout-cleanup.test.js +26 -0
- package/dist/__tests__/session-start-timeout-cleanup.test.js.map +1 -0
- package/dist/__tests__/session-summary-pid-tracking.test.d.ts +2 -0
- package/dist/__tests__/session-summary-pid-tracking.test.d.ts.map +1 -0
- package/dist/__tests__/session-summary-pid-tracking.test.js +107 -0
- package/dist/__tests__/session-summary-pid-tracking.test.js.map +1 -0
- package/dist/__tests__/setup-claude-md-script.test.d.ts +2 -0
- package/dist/__tests__/setup-claude-md-script.test.d.ts.map +1 -0
- package/dist/__tests__/setup-claude-md-script.test.js +445 -0
- package/dist/__tests__/setup-claude-md-script.test.js.map +1 -0
- package/dist/__tests__/setup-progress-script.test.d.ts +2 -0
- package/dist/__tests__/setup-progress-script.test.d.ts.map +1 -0
- package/dist/__tests__/setup-progress-script.test.js +43 -0
- package/dist/__tests__/setup-progress-script.test.js.map +1 -0
- package/dist/__tests__/shared-memory-concurrency.test.d.ts +8 -0
- package/dist/__tests__/shared-memory-concurrency.test.d.ts.map +1 -0
- package/dist/__tests__/shared-memory-concurrency.test.js +132 -0
- package/dist/__tests__/shared-memory-concurrency.test.js.map +1 -0
- package/dist/__tests__/shared-memory.test.d.ts +2 -0
- package/dist/__tests__/shared-memory.test.d.ts.map +1 -0
- package/dist/__tests__/shared-memory.test.js +345 -0
- package/dist/__tests__/shared-memory.test.js.map +1 -0
- package/dist/__tests__/shared-state-locking.test.d.ts +10 -0
- package/dist/__tests__/shared-state-locking.test.d.ts.map +1 -0
- package/dist/__tests__/shared-state-locking.test.js +61 -0
- package/dist/__tests__/shared-state-locking.test.js.map +1 -0
- package/dist/__tests__/skills.test.d.ts +2 -0
- package/dist/__tests__/skills.test.d.ts.map +1 -0
- package/dist/__tests__/skills.test.js +406 -0
- package/dist/__tests__/skills.test.js.map +1 -0
- package/dist/__tests__/skininthegamebros-guidance.test.d.ts +2 -0
- package/dist/__tests__/skininthegamebros-guidance.test.d.ts.map +1 -0
- package/dist/__tests__/skininthegamebros-guidance.test.js +46 -0
- package/dist/__tests__/skininthegamebros-guidance.test.js.map +1 -0
- package/dist/__tests__/slack-fallback-removal.test.d.ts +2 -0
- package/dist/__tests__/slack-fallback-removal.test.d.ts.map +1 -0
- package/dist/__tests__/slack-fallback-removal.test.js +16 -0
- package/dist/__tests__/slack-fallback-removal.test.js.map +1 -0
- package/dist/__tests__/slack-socket.test.d.ts +5 -0
- package/dist/__tests__/slack-socket.test.d.ts.map +1 -0
- package/dist/__tests__/slack-socket.test.js +252 -0
- package/dist/__tests__/slack-socket.test.js.map +1 -0
- package/dist/__tests__/smoke-pipeline-edge.test.d.ts +8 -0
- package/dist/__tests__/smoke-pipeline-edge.test.d.ts.map +1 -0
- package/dist/__tests__/smoke-pipeline-edge.test.js +435 -0
- package/dist/__tests__/smoke-pipeline-edge.test.js.map +1 -0
- package/dist/__tests__/smoke-slack-and-state.test.d.ts +13 -0
- package/dist/__tests__/smoke-slack-and-state.test.d.ts.map +1 -0
- package/dist/__tests__/smoke-slack-and-state.test.js +632 -0
- package/dist/__tests__/smoke-slack-and-state.test.js.map +1 -0
- package/dist/__tests__/ssrf-guard.test.d.ts +2 -0
- package/dist/__tests__/ssrf-guard.test.d.ts.map +1 -0
- package/dist/__tests__/ssrf-guard.test.js +108 -0
- package/dist/__tests__/ssrf-guard.test.js.map +1 -0
- package/dist/__tests__/standalone-server.test.d.ts +2 -0
- package/dist/__tests__/standalone-server.test.d.ts.map +1 -0
- package/dist/__tests__/standalone-server.test.js +57 -0
- package/dist/__tests__/standalone-server.test.js.map +1 -0
- package/dist/__tests__/task-continuation.test.d.ts +2 -0
- package/dist/__tests__/task-continuation.test.d.ts.map +1 -0
- package/dist/__tests__/task-continuation.test.js +743 -0
- package/dist/__tests__/task-continuation.test.js.map +1 -0
- package/dist/__tests__/team-ops-task-locking.test.d.ts +2 -0
- package/dist/__tests__/team-ops-task-locking.test.d.ts.map +1 -0
- package/dist/__tests__/team-ops-task-locking.test.js +66 -0
- package/dist/__tests__/team-ops-task-locking.test.js.map +1 -0
- package/dist/__tests__/team-server-validation.test.d.ts +2 -0
- package/dist/__tests__/team-server-validation.test.d.ts.map +1 -0
- package/dist/__tests__/team-server-validation.test.js +123 -0
- package/dist/__tests__/team-server-validation.test.js.map +1 -0
- package/dist/__tests__/team-status-failed-count.test.d.ts +2 -0
- package/dist/__tests__/team-status-failed-count.test.d.ts.map +1 -0
- package/dist/__tests__/team-status-failed-count.test.js +91 -0
- package/dist/__tests__/team-status-failed-count.test.js.map +1 -0
- package/dist/__tests__/team-status-tmux-provider.test.d.ts +2 -0
- package/dist/__tests__/team-status-tmux-provider.test.d.ts.map +1 -0
- package/dist/__tests__/team-status-tmux-provider.test.js +39 -0
- package/dist/__tests__/team-status-tmux-provider.test.js.map +1 -0
- package/dist/__tests__/tier0-contracts.test.d.ts +2 -0
- package/dist/__tests__/tier0-contracts.test.d.ts.map +1 -0
- package/dist/__tests__/tier0-contracts.test.js +47 -0
- package/dist/__tests__/tier0-contracts.test.js.map +1 -0
- package/dist/__tests__/tier0-docs-consistency.test.d.ts +2 -0
- package/dist/__tests__/tier0-docs-consistency.test.d.ts.map +1 -0
- package/dist/__tests__/tier0-docs-consistency.test.js +96 -0
- package/dist/__tests__/tier0-docs-consistency.test.js.map +1 -0
- package/dist/__tests__/tools/ast-tools.test.d.ts +2 -0
- package/dist/__tests__/tools/ast-tools.test.d.ts.map +1 -0
- package/dist/__tests__/tools/ast-tools.test.js +74 -0
- package/dist/__tests__/tools/ast-tools.test.js.map +1 -0
- package/dist/__tests__/tools/skills-tools.test.d.ts +2 -0
- package/dist/__tests__/tools/skills-tools.test.d.ts.map +1 -0
- package/dist/__tests__/tools/skills-tools.test.js +63 -0
- package/dist/__tests__/tools/skills-tools.test.js.map +1 -0
- package/dist/__tests__/tools/trace-tools.test.d.ts +2 -0
- package/dist/__tests__/tools/trace-tools.test.d.ts.map +1 -0
- package/dist/__tests__/tools/trace-tools.test.js +241 -0
- package/dist/__tests__/tools/trace-tools.test.js.map +1 -0
- package/dist/__tests__/types.test.d.ts +2 -0
- package/dist/__tests__/types.test.d.ts.map +1 -0
- package/dist/__tests__/types.test.js +78 -0
- package/dist/__tests__/types.test.js.map +1 -0
- package/dist/__tests__/version-helper.test.d.ts +2 -0
- package/dist/__tests__/version-helper.test.d.ts.map +1 -0
- package/dist/__tests__/version-helper.test.js +37 -0
- package/dist/__tests__/version-helper.test.js.map +1 -0
- package/dist/__tests__/visual-verdict-skill.test.d.ts +2 -0
- package/dist/__tests__/visual-verdict-skill.test.d.ts.map +1 -0
- package/dist/__tests__/visual-verdict-skill.test.js +26 -0
- package/dist/__tests__/visual-verdict-skill.test.js.map +1 -0
- package/dist/__tests__/webhook-timeout-cleanup.test.d.ts +2 -0
- package/dist/__tests__/webhook-timeout-cleanup.test.d.ts.map +1 -0
- package/dist/__tests__/webhook-timeout-cleanup.test.js +18 -0
- package/dist/__tests__/webhook-timeout-cleanup.test.js.map +1 -0
- package/dist/__tests__/worktree-metadata-locking.test.d.ts +2 -0
- package/dist/__tests__/worktree-metadata-locking.test.d.ts.map +1 -0
- package/dist/__tests__/worktree-metadata-locking.test.js +51 -0
- package/dist/__tests__/worktree-metadata-locking.test.js.map +1 -0
- package/dist/agents/analyst.d.ts +11 -0
- package/dist/agents/analyst.d.ts.map +1 -0
- package/dist/agents/analyst.js +40 -0
- package/dist/agents/analyst.js.map +1 -0
- package/dist/agents/architect.d.ts +12 -0
- package/dist/agents/architect.d.ts.map +1 -0
- package/dist/agents/architect.js +44 -0
- package/dist/agents/architect.js.map +1 -0
- package/dist/agents/critic.d.ts +11 -0
- package/dist/agents/critic.d.ts.map +1 -0
- package/dist/agents/critic.js +39 -0
- package/dist/agents/critic.js.map +1 -0
- package/dist/agents/definitions.d.ts +90 -0
- package/dist/agents/definitions.d.ts.map +1 -0
- package/dist/agents/definitions.js +357 -0
- package/dist/agents/definitions.js.map +1 -0
- package/dist/agents/designer.d.ts +11 -0
- package/dist/agents/designer.d.ts.map +1 -0
- package/dist/agents/designer.js +44 -0
- package/dist/agents/designer.js.map +1 -0
- package/dist/agents/document-specialist.d.ts +12 -0
- package/dist/agents/document-specialist.d.ts.map +1 -0
- package/dist/agents/document-specialist.js +65 -0
- package/dist/agents/document-specialist.js.map +1 -0
- package/dist/agents/executor.d.ts +13 -0
- package/dist/agents/executor.d.ts.map +1 -0
- package/dist/agents/executor.js +40 -0
- package/dist/agents/executor.js.map +1 -0
- package/dist/agents/explore.d.ts +12 -0
- package/dist/agents/explore.d.ts.map +1 -0
- package/dist/agents/explore.js +42 -0
- package/dist/agents/explore.js.map +1 -0
- package/dist/agents/index.d.ts +25 -0
- package/dist/agents/index.d.ts.map +1 -0
- package/dist/agents/index.js +32 -0
- package/dist/agents/index.js.map +1 -0
- package/dist/agents/planner.d.ts +11 -0
- package/dist/agents/planner.d.ts.map +1 -0
- package/dist/agents/planner.js +39 -0
- package/dist/agents/planner.js.map +1 -0
- package/dist/agents/prompt-helpers.d.ts +74 -0
- package/dist/agents/prompt-helpers.d.ts.map +1 -0
- package/dist/agents/prompt-helpers.js +197 -0
- package/dist/agents/prompt-helpers.js.map +1 -0
- package/dist/agents/prompt-sections/index.d.ts +44 -0
- package/dist/agents/prompt-sections/index.d.ts.map +1 -0
- package/dist/agents/prompt-sections/index.js +200 -0
- package/dist/agents/prompt-sections/index.js.map +1 -0
- package/dist/agents/qa-tester.d.ts +16 -0
- package/dist/agents/qa-tester.d.ts.map +1 -0
- package/dist/agents/qa-tester.js +45 -0
- package/dist/agents/qa-tester.js.map +1 -0
- package/dist/agents/scientist.d.ts +16 -0
- package/dist/agents/scientist.d.ts.map +1 -0
- package/dist/agents/scientist.js +53 -0
- package/dist/agents/scientist.js.map +1 -0
- package/dist/agents/skininthegamebros-guidance.d.ts +5 -0
- package/dist/agents/skininthegamebros-guidance.d.ts.map +1 -0
- package/dist/agents/skininthegamebros-guidance.js +25 -0
- package/dist/agents/skininthegamebros-guidance.js.map +1 -0
- package/dist/agents/tracer.d.ts +11 -0
- package/dist/agents/tracer.d.ts.map +1 -0
- package/dist/agents/tracer.js +40 -0
- package/dist/agents/tracer.js.map +1 -0
- package/dist/agents/types.d.ts +127 -0
- package/dist/agents/types.d.ts.map +1 -0
- package/dist/agents/types.js +38 -0
- package/dist/agents/types.js.map +1 -0
- package/dist/agents/utils.d.ts +76 -0
- package/dist/agents/utils.d.ts.map +1 -0
- package/dist/agents/utils.js +312 -0
- package/dist/agents/utils.js.map +1 -0
- package/dist/agents/writer.d.ts +11 -0
- package/dist/agents/writer.d.ts.map +1 -0
- package/dist/agents/writer.js +40 -0
- package/dist/agents/writer.js.map +1 -0
- package/dist/autoresearch/__tests__/contracts.test.d.ts +2 -0
- package/dist/autoresearch/__tests__/contracts.test.d.ts.map +1 -0
- package/dist/autoresearch/__tests__/contracts.test.js +90 -0
- package/dist/autoresearch/__tests__/contracts.test.js.map +1 -0
- package/dist/autoresearch/__tests__/runtime-parity-extra.test.d.ts +2 -0
- package/dist/autoresearch/__tests__/runtime-parity-extra.test.d.ts.map +1 -0
- package/dist/autoresearch/__tests__/runtime-parity-extra.test.js +352 -0
- package/dist/autoresearch/__tests__/runtime-parity-extra.test.js.map +1 -0
- package/dist/autoresearch/__tests__/runtime.test.d.ts +2 -0
- package/dist/autoresearch/__tests__/runtime.test.d.ts.map +1 -0
- package/dist/autoresearch/__tests__/runtime.test.js +210 -0
- package/dist/autoresearch/__tests__/runtime.test.js.map +1 -0
- package/dist/autoresearch/__tests__/setup-contract.test.d.ts +2 -0
- package/dist/autoresearch/__tests__/setup-contract.test.d.ts.map +1 -0
- package/dist/autoresearch/__tests__/setup-contract.test.js +57 -0
- package/dist/autoresearch/__tests__/setup-contract.test.js.map +1 -0
- package/dist/autoresearch/contracts.d.ts +31 -0
- package/dist/autoresearch/contracts.d.ts.map +1 -0
- package/dist/autoresearch/contracts.js +189 -0
- package/dist/autoresearch/contracts.js.map +1 -0
- package/dist/autoresearch/runtime.d.ts +137 -0
- package/dist/autoresearch/runtime.d.ts.map +1 -0
- package/dist/autoresearch/runtime.js +1103 -0
- package/dist/autoresearch/runtime.js.map +1 -0
- package/dist/autoresearch/setup-contract.d.ts +18 -0
- package/dist/autoresearch/setup-contract.d.ts.map +1 -0
- package/dist/autoresearch/setup-contract.js +96 -0
- package/dist/autoresearch/setup-contract.js.map +1 -0
- package/dist/cli/__tests__/ask.test.d.ts +2 -0
- package/dist/cli/__tests__/ask.test.d.ts.map +1 -0
- package/dist/cli/__tests__/ask.test.js +472 -0
- package/dist/cli/__tests__/ask.test.js.map +1 -0
- package/dist/cli/__tests__/autoresearch-guided.test.d.ts +2 -0
- package/dist/cli/__tests__/autoresearch-guided.test.d.ts.map +1 -0
- package/dist/cli/__tests__/autoresearch-guided.test.js +389 -0
- package/dist/cli/__tests__/autoresearch-guided.test.js.map +1 -0
- package/dist/cli/__tests__/autoresearch-intake.test.d.ts +2 -0
- package/dist/cli/__tests__/autoresearch-intake.test.d.ts.map +1 -0
- package/dist/cli/__tests__/autoresearch-intake.test.js +131 -0
- package/dist/cli/__tests__/autoresearch-intake.test.js.map +1 -0
- package/dist/cli/__tests__/autoresearch-setup-session.test.d.ts +2 -0
- package/dist/cli/__tests__/autoresearch-setup-session.test.d.ts.map +1 -0
- package/dist/cli/__tests__/autoresearch-setup-session.test.js +73 -0
- package/dist/cli/__tests__/autoresearch-setup-session.test.js.map +1 -0
- package/dist/cli/__tests__/autoresearch.test.d.ts +2 -0
- package/dist/cli/__tests__/autoresearch.test.d.ts.map +1 -0
- package/dist/cli/__tests__/autoresearch.test.js +148 -0
- package/dist/cli/__tests__/autoresearch.test.js.map +1 -0
- package/dist/cli/__tests__/cli-boot.test.d.ts +8 -0
- package/dist/cli/__tests__/cli-boot.test.d.ts.map +1 -0
- package/dist/cli/__tests__/cli-boot.test.js +82 -0
- package/dist/cli/__tests__/cli-boot.test.js.map +1 -0
- package/dist/cli/__tests__/hud-watch.test.d.ts +2 -0
- package/dist/cli/__tests__/hud-watch.test.d.ts.map +1 -0
- package/dist/cli/__tests__/hud-watch.test.js +56 -0
- package/dist/cli/__tests__/hud-watch.test.js.map +1 -0
- package/dist/cli/__tests__/launch.test.d.ts +9 -0
- package/dist/cli/__tests__/launch.test.d.ts.map +1 -0
- package/dist/cli/__tests__/launch.test.js +774 -0
- package/dist/cli/__tests__/launch.test.js.map +1 -0
- package/dist/cli/__tests__/session-search-help.test.d.ts +2 -0
- package/dist/cli/__tests__/session-search-help.test.d.ts.map +1 -0
- package/dist/cli/__tests__/session-search-help.test.js +13 -0
- package/dist/cli/__tests__/session-search-help.test.js.map +1 -0
- package/dist/cli/__tests__/session-search.test.d.ts +2 -0
- package/dist/cli/__tests__/session-search.test.d.ts.map +1 -0
- package/dist/cli/__tests__/session-search.test.js +72 -0
- package/dist/cli/__tests__/session-search.test.js.map +1 -0
- package/dist/cli/__tests__/team-command-branding.test.d.ts +2 -0
- package/dist/cli/__tests__/team-command-branding.test.d.ts.map +1 -0
- package/dist/cli/__tests__/team-command-branding.test.js +14 -0
- package/dist/cli/__tests__/team-command-branding.test.js.map +1 -0
- package/dist/cli/__tests__/team-help.test.d.ts +2 -0
- package/dist/cli/__tests__/team-help.test.d.ts.map +1 -0
- package/dist/cli/__tests__/team-help.test.js +19 -0
- package/dist/cli/__tests__/team-help.test.js.map +1 -0
- package/dist/cli/__tests__/team-runtime-boundary.test.d.ts +2 -0
- package/dist/cli/__tests__/team-runtime-boundary.test.d.ts.map +1 -0
- package/dist/cli/__tests__/team-runtime-boundary.test.js +11 -0
- package/dist/cli/__tests__/team-runtime-boundary.test.js.map +1 -0
- package/dist/cli/__tests__/team.test.d.ts +2 -0
- package/dist/cli/__tests__/team.test.d.ts.map +1 -0
- package/dist/cli/__tests__/team.test.js +629 -0
- package/dist/cli/__tests__/team.test.js.map +1 -0
- package/dist/cli/__tests__/teleport-help.test.d.ts +2 -0
- package/dist/cli/__tests__/teleport-help.test.d.ts.map +1 -0
- package/dist/cli/__tests__/teleport-help.test.js +17 -0
- package/dist/cli/__tests__/teleport-help.test.js.map +1 -0
- package/dist/cli/__tests__/tmux-utils.test.d.ts +11 -0
- package/dist/cli/__tests__/tmux-utils.test.d.ts.map +1 -0
- package/dist/cli/__tests__/tmux-utils.test.js +185 -0
- package/dist/cli/__tests__/tmux-utils.test.js.map +1 -0
- package/dist/cli/ask.d.ts +13 -0
- package/dist/cli/ask.d.ts.map +1 -0
- package/dist/cli/ask.js +202 -0
- package/dist/cli/ask.js.map +1 -0
- package/dist/cli/autoresearch-guided.d.ts +37 -0
- package/dist/cli/autoresearch-guided.d.ts.map +1 -0
- package/dist/cli/autoresearch-guided.js +312 -0
- package/dist/cli/autoresearch-guided.js.map +1 -0
- package/dist/cli/autoresearch-intake.d.ts +60 -0
- package/dist/cli/autoresearch-intake.d.ts.map +1 -0
- package/dist/cli/autoresearch-intake.js +325 -0
- package/dist/cli/autoresearch-intake.js.map +1 -0
- package/dist/cli/autoresearch-setup-session.d.ts +15 -0
- package/dist/cli/autoresearch-setup-session.d.ts.map +1 -0
- package/dist/cli/autoresearch-setup-session.js +133 -0
- package/dist/cli/autoresearch-setup-session.js.map +1 -0
- package/dist/cli/autoresearch.d.ts +19 -0
- package/dist/cli/autoresearch.d.ts.map +1 -0
- package/dist/cli/autoresearch.js +330 -0
- package/dist/cli/autoresearch.js.map +1 -0
- package/dist/cli/commands/__tests__/team.test.d.ts +2 -0
- package/dist/cli/commands/__tests__/team.test.d.ts.map +1 -0
- package/dist/cli/commands/__tests__/team.test.js +314 -0
- package/dist/cli/commands/__tests__/team.test.js.map +1 -0
- package/dist/cli/commands/__tests__/teleport.test.d.ts +2 -0
- package/dist/cli/commands/__tests__/teleport.test.d.ts.map +1 -0
- package/dist/cli/commands/__tests__/teleport.test.js +173 -0
- package/dist/cli/commands/__tests__/teleport.test.js.map +1 -0
- package/dist/cli/commands/adapt.d.ts +17 -0
- package/dist/cli/commands/adapt.d.ts.map +1 -0
- package/dist/cli/commands/adapt.js +73 -0
- package/dist/cli/commands/adapt.js.map +1 -0
- package/dist/cli/commands/doctor-conflicts.d.ts +74 -0
- package/dist/cli/commands/doctor-conflicts.d.ts.map +1 -0
- package/dist/cli/commands/doctor-conflicts.js +461 -0
- package/dist/cli/commands/doctor-conflicts.js.map +1 -0
- package/dist/cli/commands/ralphthon.d.ts +30 -0
- package/dist/cli/commands/ralphthon.d.ts.map +1 -0
- package/dist/cli/commands/ralphthon.js +361 -0
- package/dist/cli/commands/ralphthon.js.map +1 -0
- package/dist/cli/commands/session-search.d.ts +18 -0
- package/dist/cli/commands/session-search.d.ts.map +1 -0
- package/dist/cli/commands/session-search.js +47 -0
- package/dist/cli/commands/session-search.js.map +1 -0
- package/dist/cli/commands/team.d.ts +69 -0
- package/dist/cli/commands/team.d.ts.map +1 -0
- package/dist/cli/commands/team.js +739 -0
- package/dist/cli/commands/team.js.map +1 -0
- package/dist/cli/commands/teleport.d.ts +38 -0
- package/dist/cli/commands/teleport.d.ts.map +1 -0
- package/dist/cli/commands/teleport.js +658 -0
- package/dist/cli/commands/teleport.js.map +1 -0
- package/dist/cli/commands/wait.d.ts +52 -0
- package/dist/cli/commands/wait.d.ts.map +1 -0
- package/dist/cli/commands/wait.js +240 -0
- package/dist/cli/commands/wait.js.map +1 -0
- package/dist/cli/hud-watch.d.ts +15 -0
- package/dist/cli/hud-watch.d.ts.map +1 -0
- package/dist/cli/hud-watch.js +37 -0
- package/dist/cli/hud-watch.js.map +1 -0
- package/dist/cli/index.d.ts +13 -0
- package/dist/cli/index.d.ts.map +1 -0
- package/dist/cli/index.js +1243 -0
- package/dist/cli/index.js.map +1 -0
- package/dist/cli/interop.d.ts +29 -0
- package/dist/cli/interop.d.ts.map +1 -0
- package/dist/cli/interop.js +141 -0
- package/dist/cli/interop.js.map +1 -0
- package/dist/cli/launch.d.ts +139 -0
- package/dist/cli/launch.d.ts.map +1 -0
- package/dist/cli/launch.js +505 -0
- package/dist/cli/launch.js.map +1 -0
- package/dist/cli/team.d.ts +78 -0
- package/dist/cli/team.d.ts.map +1 -0
- package/dist/cli/team.js +991 -0
- package/dist/cli/team.js.map +1 -0
- package/dist/cli/tmux-utils.d.ts +82 -0
- package/dist/cli/tmux-utils.d.ts.map +1 -0
- package/dist/cli/tmux-utils.js +206 -0
- package/dist/cli/tmux-utils.js.map +1 -0
- package/dist/cli/utils/formatting.d.ts +22 -0
- package/dist/cli/utils/formatting.d.ts.map +1 -0
- package/dist/cli/utils/formatting.js +70 -0
- package/dist/cli/utils/formatting.js.map +1 -0
- package/dist/cli/win32-warning.d.ts +7 -0
- package/dist/cli/win32-warning.d.ts.map +1 -0
- package/dist/cli/win32-warning.js +29 -0
- package/dist/cli/win32-warning.js.map +1 -0
- package/dist/commands/index.d.ts +78 -0
- package/dist/commands/index.d.ts.map +1 -0
- package/dist/commands/index.js +148 -0
- package/dist/commands/index.js.map +1 -0
- package/dist/config/__tests__/loader.test.d.ts +2 -0
- package/dist/config/__tests__/loader.test.d.ts.map +1 -0
- package/dist/config/__tests__/loader.test.js +205 -0
- package/dist/config/__tests__/loader.test.js.map +1 -0
- package/dist/config/__tests__/models.test.d.ts +2 -0
- package/dist/config/__tests__/models.test.d.ts.map +1 -0
- package/dist/config/__tests__/models.test.js +260 -0
- package/dist/config/__tests__/models.test.js.map +1 -0
- package/dist/config/__tests__/plan-output.test.d.ts +2 -0
- package/dist/config/__tests__/plan-output.test.d.ts.map +1 -0
- package/dist/config/__tests__/plan-output.test.js +41 -0
- package/dist/config/__tests__/plan-output.test.js.map +1 -0
- package/dist/config/__tests__/test-helpers.d.ts +3 -0
- package/dist/config/__tests__/test-helpers.d.ts.map +1 -0
- package/dist/config/__tests__/test-helpers.js +19 -0
- package/dist/config/__tests__/test-helpers.js.map +1 -0
- package/dist/config/index.d.ts +6 -0
- package/dist/config/index.d.ts.map +1 -0
- package/dist/config/index.js +6 -0
- package/dist/config/index.js.map +1 -0
- package/dist/config/loader.d.ts +59 -0
- package/dist/config/loader.d.ts.map +1 -0
- package/dist/config/loader.js +776 -0
- package/dist/config/loader.js.map +1 -0
- package/dist/config/models.d.ts +107 -0
- package/dist/config/models.d.ts.map +1 -0
- package/dist/config/models.js +286 -0
- package/dist/config/models.js.map +1 -0
- package/dist/config/plan-output.d.ts +12 -0
- package/dist/config/plan-output.d.ts.map +1 -0
- package/dist/config/plan-output.js +67 -0
- package/dist/config/plan-output.js.map +1 -0
- package/dist/constants/index.d.ts +5 -0
- package/dist/constants/index.d.ts.map +1 -0
- package/dist/constants/index.js +5 -0
- package/dist/constants/index.js.map +1 -0
- package/dist/constants/names.d.ts +42 -0
- package/dist/constants/names.d.ts.map +1 -0
- package/dist/constants/names.js +42 -0
- package/dist/constants/names.js.map +1 -0
- package/dist/features/auto-update.d.ts +301 -0
- package/dist/features/auto-update.d.ts.map +1 -0
- package/dist/features/auto-update.js +915 -0
- package/dist/features/auto-update.js.map +1 -0
- package/dist/features/background-agent/concurrency.d.ts +53 -0
- package/dist/features/background-agent/concurrency.d.ts.map +1 -0
- package/dist/features/background-agent/concurrency.js +121 -0
- package/dist/features/background-agent/concurrency.js.map +1 -0
- package/dist/features/background-agent/index.d.ts +12 -0
- package/dist/features/background-agent/index.d.ts.map +1 -0
- package/dist/features/background-agent/index.js +12 -0
- package/dist/features/background-agent/index.js.map +1 -0
- package/dist/features/background-agent/manager.d.ts +144 -0
- package/dist/features/background-agent/manager.d.ts.map +1 -0
- package/dist/features/background-agent/manager.js +494 -0
- package/dist/features/background-agent/manager.js.map +1 -0
- package/dist/features/background-agent/types.d.ts +128 -0
- package/dist/features/background-agent/types.d.ts.map +1 -0
- package/dist/features/background-agent/types.js +9 -0
- package/dist/features/background-agent/types.js.map +1 -0
- package/dist/features/background-tasks.d.ts +99 -0
- package/dist/features/background-tasks.d.ts.map +1 -0
- package/dist/features/background-tasks.js +265 -0
- package/dist/features/background-tasks.js.map +1 -0
- package/dist/features/boulder-state/constants.d.ts +20 -0
- package/dist/features/boulder-state/constants.d.ts.map +1 -0
- package/dist/features/boulder-state/constants.js +21 -0
- package/dist/features/boulder-state/constants.js.map +1 -0
- package/dist/features/boulder-state/index.d.ts +12 -0
- package/dist/features/boulder-state/index.d.ts.map +1 -0
- package/dist/features/boulder-state/index.js +13 -0
- package/dist/features/boulder-state/index.js.map +1 -0
- package/dist/features/boulder-state/storage.d.ts +58 -0
- package/dist/features/boulder-state/storage.d.ts.map +1 -0
- package/dist/features/boulder-state/storage.js +182 -0
- package/dist/features/boulder-state/storage.js.map +1 -0
- package/dist/features/boulder-state/types.d.ts +52 -0
- package/dist/features/boulder-state/types.d.ts.map +1 -0
- package/dist/features/boulder-state/types.js +10 -0
- package/dist/features/boulder-state/types.js.map +1 -0
- package/dist/features/builtin-skills/index.d.ts +10 -0
- package/dist/features/builtin-skills/index.d.ts.map +1 -0
- package/dist/features/builtin-skills/index.js +10 -0
- package/dist/features/builtin-skills/index.js.map +1 -0
- package/dist/features/builtin-skills/runtime-guidance.d.ts +9 -0
- package/dist/features/builtin-skills/runtime-guidance.d.ts.map +1 -0
- package/dist/features/builtin-skills/runtime-guidance.js +35 -0
- package/dist/features/builtin-skills/runtime-guidance.js.map +1 -0
- package/dist/features/builtin-skills/skills.d.ts +38 -0
- package/dist/features/builtin-skills/skills.d.ts.map +1 -0
- package/dist/features/builtin-skills/skills.js +204 -0
- package/dist/features/builtin-skills/skills.js.map +1 -0
- package/dist/features/builtin-skills/types.d.ts +71 -0
- package/dist/features/builtin-skills/types.d.ts.map +1 -0
- package/dist/features/builtin-skills/types.js +9 -0
- package/dist/features/builtin-skills/types.js.map +1 -0
- package/dist/features/context-injector/collector.d.ts +56 -0
- package/dist/features/context-injector/collector.d.ts.map +1 -0
- package/dist/features/context-injector/collector.js +122 -0
- package/dist/features/context-injector/collector.js.map +1 -0
- package/dist/features/context-injector/index.d.ts +12 -0
- package/dist/features/context-injector/index.d.ts.map +1 -0
- package/dist/features/context-injector/index.js +13 -0
- package/dist/features/context-injector/index.js.map +1 -0
- package/dist/features/context-injector/injector.d.ts +47 -0
- package/dist/features/context-injector/injector.d.ts.map +1 -0
- package/dist/features/context-injector/injector.js +103 -0
- package/dist/features/context-injector/injector.js.map +1 -0
- package/dist/features/context-injector/types.d.ts +103 -0
- package/dist/features/context-injector/types.d.ts.map +1 -0
- package/dist/features/context-injector/types.js +11 -0
- package/dist/features/context-injector/types.js.map +1 -0
- package/dist/features/continuation-enforcement.d.ts +36 -0
- package/dist/features/continuation-enforcement.d.ts.map +1 -0
- package/dist/features/continuation-enforcement.js +176 -0
- package/dist/features/continuation-enforcement.js.map +1 -0
- package/dist/features/delegation-categories/__tests__/index.test.d.ts +2 -0
- package/dist/features/delegation-categories/__tests__/index.test.d.ts.map +1 -0
- package/dist/features/delegation-categories/__tests__/index.test.js +19 -0
- package/dist/features/delegation-categories/__tests__/index.test.js.map +1 -0
- package/dist/features/delegation-categories/index.d.ts +116 -0
- package/dist/features/delegation-categories/index.d.ts.map +1 -0
- package/dist/features/delegation-categories/index.js +287 -0
- package/dist/features/delegation-categories/index.js.map +1 -0
- package/dist/features/delegation-categories/test-categories.d.ts +7 -0
- package/dist/features/delegation-categories/test-categories.d.ts.map +1 -0
- package/dist/features/delegation-categories/test-categories.js +88 -0
- package/dist/features/delegation-categories/test-categories.js.map +1 -0
- package/dist/features/delegation-categories/types.d.ts +51 -0
- package/dist/features/delegation-categories/types.d.ts.map +1 -0
- package/dist/features/delegation-categories/types.js +8 -0
- package/dist/features/delegation-categories/types.js.map +1 -0
- package/dist/features/delegation-enforcer.d.ts +69 -0
- package/dist/features/delegation-enforcer.d.ts.map +1 -0
- package/dist/features/delegation-enforcer.js +237 -0
- package/dist/features/delegation-enforcer.js.map +1 -0
- package/dist/features/delegation-routing/__tests__/resolver.test.d.ts +2 -0
- package/dist/features/delegation-routing/__tests__/resolver.test.d.ts.map +1 -0
- package/dist/features/delegation-routing/__tests__/resolver.test.js +346 -0
- package/dist/features/delegation-routing/__tests__/resolver.test.js.map +1 -0
- package/dist/features/delegation-routing/index.d.ts +10 -0
- package/dist/features/delegation-routing/index.d.ts.map +1 -0
- package/dist/features/delegation-routing/index.js +11 -0
- package/dist/features/delegation-routing/index.js.map +1 -0
- package/dist/features/delegation-routing/resolver.d.ts +24 -0
- package/dist/features/delegation-routing/resolver.d.ts.map +1 -0
- package/dist/features/delegation-routing/resolver.js +131 -0
- package/dist/features/delegation-routing/resolver.js.map +1 -0
- package/dist/features/delegation-routing/types.d.ts +29 -0
- package/dist/features/delegation-routing/types.d.ts.map +1 -0
- package/dist/features/delegation-routing/types.js +72 -0
- package/dist/features/delegation-routing/types.js.map +1 -0
- package/dist/features/index.d.ts +18 -0
- package/dist/features/index.d.ts.map +1 -0
- package/dist/features/index.js +81 -0
- package/dist/features/index.js.map +1 -0
- package/dist/features/magic-keywords.d.ts +28 -0
- package/dist/features/magic-keywords.d.ts.map +1 -0
- package/dist/features/magic-keywords.js +451 -0
- package/dist/features/magic-keywords.js.map +1 -0
- package/dist/features/model-routing/__tests__/index.test.d.ts +2 -0
- package/dist/features/model-routing/__tests__/index.test.d.ts.map +1 -0
- package/dist/features/model-routing/__tests__/index.test.js +21 -0
- package/dist/features/model-routing/__tests__/index.test.js.map +1 -0
- package/dist/features/model-routing/index.d.ts +34 -0
- package/dist/features/model-routing/index.d.ts.map +1 -0
- package/dist/features/model-routing/index.js +49 -0
- package/dist/features/model-routing/index.js.map +1 -0
- package/dist/features/model-routing/prompts/haiku.d.ts +54 -0
- package/dist/features/model-routing/prompts/haiku.d.ts.map +1 -0
- package/dist/features/model-routing/prompts/haiku.js +141 -0
- package/dist/features/model-routing/prompts/haiku.js.map +1 -0
- package/dist/features/model-routing/prompts/index.d.ts +47 -0
- package/dist/features/model-routing/prompts/index.d.ts.map +1 -0
- package/dist/features/model-routing/prompts/index.js +122 -0
- package/dist/features/model-routing/prompts/index.js.map +1 -0
- package/dist/features/model-routing/prompts/opus.d.ts +34 -0
- package/dist/features/model-routing/prompts/opus.d.ts.map +1 -0
- package/dist/features/model-routing/prompts/opus.js +153 -0
- package/dist/features/model-routing/prompts/opus.js.map +1 -0
- package/dist/features/model-routing/prompts/sonnet.d.ts +38 -0
- package/dist/features/model-routing/prompts/sonnet.d.ts.map +1 -0
- package/dist/features/model-routing/prompts/sonnet.js +149 -0
- package/dist/features/model-routing/prompts/sonnet.js.map +1 -0
- package/dist/features/model-routing/router.d.ts +78 -0
- package/dist/features/model-routing/router.d.ts.map +1 -0
- package/dist/features/model-routing/router.js +271 -0
- package/dist/features/model-routing/router.js.map +1 -0
- package/dist/features/model-routing/rules.d.ts +32 -0
- package/dist/features/model-routing/rules.d.ts.map +1 -0
- package/dist/features/model-routing/rules.js +216 -0
- package/dist/features/model-routing/rules.js.map +1 -0
- package/dist/features/model-routing/scorer.d.ts +35 -0
- package/dist/features/model-routing/scorer.d.ts.map +1 -0
- package/dist/features/model-routing/scorer.js +241 -0
- package/dist/features/model-routing/scorer.js.map +1 -0
- package/dist/features/model-routing/signals.d.ts +26 -0
- package/dist/features/model-routing/signals.d.ts.map +1 -0
- package/dist/features/model-routing/signals.js +283 -0
- package/dist/features/model-routing/signals.js.map +1 -0
- package/dist/features/model-routing/types.d.ts +206 -0
- package/dist/features/model-routing/types.d.ts.map +1 -0
- package/dist/features/model-routing/types.js +83 -0
- package/dist/features/model-routing/types.js.map +1 -0
- package/dist/features/notepad-wisdom/extractor.d.ts +30 -0
- package/dist/features/notepad-wisdom/extractor.d.ts.map +1 -0
- package/dist/features/notepad-wisdom/extractor.js +68 -0
- package/dist/features/notepad-wisdom/extractor.js.map +1 -0
- package/dist/features/notepad-wisdom/index.d.ts +39 -0
- package/dist/features/notepad-wisdom/index.d.ts.map +1 -0
- package/dist/features/notepad-wisdom/index.js +169 -0
- package/dist/features/notepad-wisdom/index.js.map +1 -0
- package/dist/features/notepad-wisdom/types.d.ts +18 -0
- package/dist/features/notepad-wisdom/types.d.ts.map +1 -0
- package/dist/features/notepad-wisdom/types.js +7 -0
- package/dist/features/notepad-wisdom/types.js.map +1 -0
- package/dist/features/rate-limit-wait/daemon.d.ts +57 -0
- package/dist/features/rate-limit-wait/daemon.d.ts.map +1 -0
- package/dist/features/rate-limit-wait/daemon.js +646 -0
- package/dist/features/rate-limit-wait/daemon.js.map +1 -0
- package/dist/features/rate-limit-wait/index.d.ts +16 -0
- package/dist/features/rate-limit-wait/index.d.ts.map +1 -0
- package/dist/features/rate-limit-wait/index.js +18 -0
- package/dist/features/rate-limit-wait/index.js.map +1 -0
- package/dist/features/rate-limit-wait/rate-limit-monitor.d.ts +31 -0
- package/dist/features/rate-limit-wait/rate-limit-monitor.d.ts.map +1 -0
- package/dist/features/rate-limit-wait/rate-limit-monitor.js +147 -0
- package/dist/features/rate-limit-wait/rate-limit-monitor.js.map +1 -0
- package/dist/features/rate-limit-wait/tmux-detector.d.ts +60 -0
- package/dist/features/rate-limit-wait/tmux-detector.d.ts.map +1 -0
- package/dist/features/rate-limit-wait/tmux-detector.js +317 -0
- package/dist/features/rate-limit-wait/tmux-detector.js.map +1 -0
- package/dist/features/rate-limit-wait/types.d.ts +136 -0
- package/dist/features/rate-limit-wait/types.d.ts.map +1 -0
- package/dist/features/rate-limit-wait/types.js +8 -0
- package/dist/features/rate-limit-wait/types.js.map +1 -0
- package/dist/features/session-history-search/index.d.ts +6 -0
- package/dist/features/session-history-search/index.d.ts.map +1 -0
- package/dist/features/session-history-search/index.js +480 -0
- package/dist/features/session-history-search/index.js.map +1 -0
- package/dist/features/session-history-search/types.d.ts +36 -0
- package/dist/features/session-history-search/types.d.ts.map +1 -0
- package/dist/features/session-history-search/types.js +2 -0
- package/dist/features/session-history-search/types.js.map +1 -0
- package/dist/features/state-manager/__tests__/cache.test.d.ts +2 -0
- package/dist/features/state-manager/__tests__/cache.test.d.ts.map +1 -0
- package/dist/features/state-manager/__tests__/cache.test.js +365 -0
- package/dist/features/state-manager/__tests__/cache.test.js.map +1 -0
- package/dist/features/state-manager/index.d.ts +133 -0
- package/dist/features/state-manager/index.d.ts.map +1 -0
- package/dist/features/state-manager/index.js +669 -0
- package/dist/features/state-manager/index.js.map +1 -0
- package/dist/features/state-manager/types.d.ts +147 -0
- package/dist/features/state-manager/types.d.ts.map +1 -0
- package/dist/features/state-manager/types.js +30 -0
- package/dist/features/state-manager/types.js.map +1 -0
- package/dist/features/task-decomposer/index.d.ts +33 -0
- package/dist/features/task-decomposer/index.d.ts.map +1 -0
- package/dist/features/task-decomposer/index.js +707 -0
- package/dist/features/task-decomposer/index.js.map +1 -0
- package/dist/features/task-decomposer/types.d.ts +133 -0
- package/dist/features/task-decomposer/types.d.ts.map +1 -0
- package/dist/features/task-decomposer/types.js +8 -0
- package/dist/features/task-decomposer/types.js.map +1 -0
- package/dist/features/verification/index.d.ts +97 -0
- package/dist/features/verification/index.d.ts.map +1 -0
- package/dist/features/verification/index.js +441 -0
- package/dist/features/verification/index.js.map +1 -0
- package/dist/features/verification/types.d.ts +142 -0
- package/dist/features/verification/types.d.ts.map +1 -0
- package/dist/features/verification/types.js +7 -0
- package/dist/features/verification/types.js.map +1 -0
- package/dist/hooks/__tests__/askuserquestion-lifecycle.test.d.ts +9 -0
- package/dist/hooks/__tests__/askuserquestion-lifecycle.test.d.ts.map +1 -0
- package/dist/hooks/__tests__/askuserquestion-lifecycle.test.js +110 -0
- package/dist/hooks/__tests__/askuserquestion-lifecycle.test.js.map +1 -0
- package/dist/hooks/__tests__/background-process-guard.test.d.ts +2 -0
- package/dist/hooks/__tests__/background-process-guard.test.d.ts.map +1 -0
- package/dist/hooks/__tests__/background-process-guard.test.js +477 -0
- package/dist/hooks/__tests__/background-process-guard.test.js.map +1 -0
- package/dist/hooks/__tests__/bridge-openclaw.test.d.ts +2 -0
- package/dist/hooks/__tests__/bridge-openclaw.test.d.ts.map +1 -0
- package/dist/hooks/__tests__/bridge-openclaw.test.js +152 -0
- package/dist/hooks/__tests__/bridge-openclaw.test.js.map +1 -0
- package/dist/hooks/__tests__/bridge-pkill.test.d.ts +8 -0
- package/dist/hooks/__tests__/bridge-pkill.test.d.ts.map +1 -0
- package/dist/hooks/__tests__/bridge-pkill.test.js +188 -0
- package/dist/hooks/__tests__/bridge-pkill.test.js.map +1 -0
- package/dist/hooks/__tests__/bridge-routing.test.d.ts +9 -0
- package/dist/hooks/__tests__/bridge-routing.test.d.ts.map +1 -0
- package/dist/hooks/__tests__/bridge-routing.test.js +1012 -0
- package/dist/hooks/__tests__/bridge-routing.test.js.map +1 -0
- package/dist/hooks/__tests__/bridge-security.test.d.ts +11 -0
- package/dist/hooks/__tests__/bridge-security.test.d.ts.map +1 -0
- package/dist/hooks/__tests__/bridge-security.test.js +436 -0
- package/dist/hooks/__tests__/bridge-security.test.js.map +1 -0
- package/dist/hooks/__tests__/bridge-team-worker-guard.test.d.ts +2 -0
- package/dist/hooks/__tests__/bridge-team-worker-guard.test.d.ts.map +1 -0
- package/dist/hooks/__tests__/bridge-team-worker-guard.test.js +52 -0
- package/dist/hooks/__tests__/bridge-team-worker-guard.test.js.map +1 -0
- package/dist/hooks/__tests__/bridge.test.d.ts +2 -0
- package/dist/hooks/__tests__/bridge.test.d.ts.map +1 -0
- package/dist/hooks/__tests__/bridge.test.js +300 -0
- package/dist/hooks/__tests__/bridge.test.js.map +1 -0
- package/dist/hooks/__tests__/codebase-map.test.d.ts +7 -0
- package/dist/hooks/__tests__/codebase-map.test.d.ts.map +1 -0
- package/dist/hooks/__tests__/codebase-map.test.js +281 -0
- package/dist/hooks/__tests__/codebase-map.test.js.map +1 -0
- package/dist/hooks/__tests__/compaction-concurrency.test.d.ts +10 -0
- package/dist/hooks/__tests__/compaction-concurrency.test.d.ts.map +1 -0
- package/dist/hooks/__tests__/compaction-concurrency.test.js +313 -0
- package/dist/hooks/__tests__/compaction-concurrency.test.js.map +1 -0
- package/dist/hooks/__tests__/prompt-prerequisites.test.d.ts +2 -0
- package/dist/hooks/__tests__/prompt-prerequisites.test.d.ts.map +1 -0
- package/dist/hooks/__tests__/prompt-prerequisites.test.js +98 -0
- package/dist/hooks/__tests__/prompt-prerequisites.test.js.map +1 -0
- package/dist/hooks/__tests__/stop-hook-openclaw-cooldown.test.d.ts +2 -0
- package/dist/hooks/__tests__/stop-hook-openclaw-cooldown.test.d.ts.map +1 -0
- package/dist/hooks/__tests__/stop-hook-openclaw-cooldown.test.js +65 -0
- package/dist/hooks/__tests__/stop-hook-openclaw-cooldown.test.js.map +1 -0
- package/dist/hooks/__tests__/team-worker-heartbeat.test.d.ts +10 -0
- package/dist/hooks/__tests__/team-worker-heartbeat.test.d.ts.map +1 -0
- package/dist/hooks/__tests__/team-worker-heartbeat.test.js +87 -0
- package/dist/hooks/__tests__/team-worker-heartbeat.test.js.map +1 -0
- package/dist/hooks/agent-usage-reminder/constants.d.ts +17 -0
- package/dist/hooks/agent-usage-reminder/constants.d.ts.map +1 -0
- package/dist/hooks/agent-usage-reminder/constants.js +57 -0
- package/dist/hooks/agent-usage-reminder/constants.js.map +1 -0
- package/dist/hooks/agent-usage-reminder/index.d.ts +36 -0
- package/dist/hooks/agent-usage-reminder/index.d.ts.map +1 -0
- package/dist/hooks/agent-usage-reminder/index.js +89 -0
- package/dist/hooks/agent-usage-reminder/index.js.map +1 -0
- package/dist/hooks/agent-usage-reminder/storage.d.ts +12 -0
- package/dist/hooks/agent-usage-reminder/storage.d.ts.map +1 -0
- package/dist/hooks/agent-usage-reminder/storage.js +39 -0
- package/dist/hooks/agent-usage-reminder/storage.js.map +1 -0
- package/dist/hooks/agent-usage-reminder/types.d.ts +14 -0
- package/dist/hooks/agent-usage-reminder/types.d.ts.map +1 -0
- package/dist/hooks/agent-usage-reminder/types.js +9 -0
- package/dist/hooks/agent-usage-reminder/types.js.map +1 -0
- package/dist/hooks/agents-overlay.d.ts +24 -0
- package/dist/hooks/agents-overlay.d.ts.map +1 -0
- package/dist/hooks/agents-overlay.js +51 -0
- package/dist/hooks/agents-overlay.js.map +1 -0
- package/dist/hooks/auto-slash-command/constants.d.ts +19 -0
- package/dist/hooks/auto-slash-command/constants.d.ts.map +1 -0
- package/dist/hooks/auto-slash-command/constants.js +33 -0
- package/dist/hooks/auto-slash-command/constants.js.map +1 -0
- package/dist/hooks/auto-slash-command/detector.d.ts +33 -0
- package/dist/hooks/auto-slash-command/detector.d.ts.map +1 -0
- package/dist/hooks/auto-slash-command/detector.js +73 -0
- package/dist/hooks/auto-slash-command/detector.js.map +1 -0
- package/dist/hooks/auto-slash-command/executor.d.ts +36 -0
- package/dist/hooks/auto-slash-command/executor.d.ts.map +1 -0
- package/dist/hooks/auto-slash-command/executor.js +329 -0
- package/dist/hooks/auto-slash-command/executor.js.map +1 -0
- package/dist/hooks/auto-slash-command/index.d.ts +53 -0
- package/dist/hooks/auto-slash-command/index.d.ts.map +1 -0
- package/dist/hooks/auto-slash-command/index.js +105 -0
- package/dist/hooks/auto-slash-command/index.js.map +1 -0
- package/dist/hooks/auto-slash-command/live-data.d.ts +27 -0
- package/dist/hooks/auto-slash-command/live-data.d.ts.map +1 -0
- package/dist/hooks/auto-slash-command/live-data.js +518 -0
- package/dist/hooks/auto-slash-command/live-data.js.map +1 -0
- package/dist/hooks/auto-slash-command/types.d.ts +83 -0
- package/dist/hooks/auto-slash-command/types.d.ts.map +1 -0
- package/dist/hooks/auto-slash-command/types.js +2 -0
- package/dist/hooks/auto-slash-command/types.js.map +1 -0
- package/dist/hooks/autopilot/__tests__/cancel.test.d.ts +2 -0
- package/dist/hooks/autopilot/__tests__/cancel.test.d.ts.map +1 -0
- package/dist/hooks/autopilot/__tests__/cancel.test.js +470 -0
- package/dist/hooks/autopilot/__tests__/cancel.test.js.map +1 -0
- package/dist/hooks/autopilot/__tests__/pipeline.test.d.ts +2 -0
- package/dist/hooks/autopilot/__tests__/pipeline.test.d.ts.map +1 -0
- package/dist/hooks/autopilot/__tests__/pipeline.test.js +375 -0
- package/dist/hooks/autopilot/__tests__/pipeline.test.js.map +1 -0
- package/dist/hooks/autopilot/__tests__/prompts.test.d.ts +2 -0
- package/dist/hooks/autopilot/__tests__/prompts.test.d.ts.map +1 -0
- package/dist/hooks/autopilot/__tests__/prompts.test.js +83 -0
- package/dist/hooks/autopilot/__tests__/prompts.test.js.map +1 -0
- package/dist/hooks/autopilot/__tests__/state.test.d.ts +2 -0
- package/dist/hooks/autopilot/__tests__/state.test.d.ts.map +1 -0
- package/dist/hooks/autopilot/__tests__/state.test.js +76 -0
- package/dist/hooks/autopilot/__tests__/state.test.js.map +1 -0
- package/dist/hooks/autopilot/__tests__/summary.test.d.ts +2 -0
- package/dist/hooks/autopilot/__tests__/summary.test.d.ts.map +1 -0
- package/dist/hooks/autopilot/__tests__/summary.test.js +324 -0
- package/dist/hooks/autopilot/__tests__/summary.test.js.map +1 -0
- package/dist/hooks/autopilot/__tests__/transition.test.d.ts +2 -0
- package/dist/hooks/autopilot/__tests__/transition.test.d.ts.map +1 -0
- package/dist/hooks/autopilot/__tests__/transition.test.js +58 -0
- package/dist/hooks/autopilot/__tests__/transition.test.js.map +1 -0
- package/dist/hooks/autopilot/__tests__/transitions.test.d.ts +12 -0
- package/dist/hooks/autopilot/__tests__/transitions.test.d.ts.map +1 -0
- package/dist/hooks/autopilot/__tests__/transitions.test.js +303 -0
- package/dist/hooks/autopilot/__tests__/transitions.test.js.map +1 -0
- package/dist/hooks/autopilot/__tests__/validation.test.d.ts +2 -0
- package/dist/hooks/autopilot/__tests__/validation.test.d.ts.map +1 -0
- package/dist/hooks/autopilot/__tests__/validation.test.js +450 -0
- package/dist/hooks/autopilot/__tests__/validation.test.js.map +1 -0
- package/dist/hooks/autopilot/adapters/execution-adapter.d.ts +12 -0
- package/dist/hooks/autopilot/adapters/execution-adapter.d.ts.map +1 -0
- package/dist/hooks/autopilot/adapters/execution-adapter.js +111 -0
- package/dist/hooks/autopilot/adapters/execution-adapter.js.map +1 -0
- package/dist/hooks/autopilot/adapters/index.d.ts +22 -0
- package/dist/hooks/autopilot/adapters/index.d.ts.map +1 -0
- package/dist/hooks/autopilot/adapters/index.js +32 -0
- package/dist/hooks/autopilot/adapters/index.js.map +1 -0
- package/dist/hooks/autopilot/adapters/qa-adapter.d.ts +12 -0
- package/dist/hooks/autopilot/adapters/qa-adapter.d.ts.map +1 -0
- package/dist/hooks/autopilot/adapters/qa-adapter.js +33 -0
- package/dist/hooks/autopilot/adapters/qa-adapter.js.map +1 -0
- package/dist/hooks/autopilot/adapters/ralph-adapter.d.ts +15 -0
- package/dist/hooks/autopilot/adapters/ralph-adapter.d.ts.map +1 -0
- package/dist/hooks/autopilot/adapters/ralph-adapter.js +102 -0
- package/dist/hooks/autopilot/adapters/ralph-adapter.js.map +1 -0
- package/dist/hooks/autopilot/adapters/ralplan-adapter.d.ts +14 -0
- package/dist/hooks/autopilot/adapters/ralplan-adapter.d.ts.map +1 -0
- package/dist/hooks/autopilot/adapters/ralplan-adapter.js +82 -0
- package/dist/hooks/autopilot/adapters/ralplan-adapter.js.map +1 -0
- package/dist/hooks/autopilot/cancel.d.ts +50 -0
- package/dist/hooks/autopilot/cancel.d.ts.map +1 -0
- package/dist/hooks/autopilot/cancel.js +217 -0
- package/dist/hooks/autopilot/cancel.js.map +1 -0
- package/dist/hooks/autopilot/enforcement.d.ts +44 -0
- package/dist/hooks/autopilot/enforcement.d.ts.map +1 -0
- package/dist/hooks/autopilot/enforcement.js +417 -0
- package/dist/hooks/autopilot/enforcement.js.map +1 -0
- package/dist/hooks/autopilot/index.d.ts +18 -0
- package/dist/hooks/autopilot/index.d.ts.map +1 -0
- package/dist/hooks/autopilot/index.js +23 -0
- package/dist/hooks/autopilot/index.js.map +1 -0
- package/dist/hooks/autopilot/pipeline-types.d.ts +135 -0
- package/dist/hooks/autopilot/pipeline-types.d.ts.map +1 -0
- package/dist/hooks/autopilot/pipeline-types.js +44 -0
- package/dist/hooks/autopilot/pipeline-types.js.map +1 -0
- package/dist/hooks/autopilot/pipeline.d.ts +124 -0
- package/dist/hooks/autopilot/pipeline.d.ts.map +1 -0
- package/dist/hooks/autopilot/pipeline.js +422 -0
- package/dist/hooks/autopilot/pipeline.js.map +1 -0
- package/dist/hooks/autopilot/prompts.d.ts +39 -0
- package/dist/hooks/autopilot/prompts.d.ts.map +1 -0
- package/dist/hooks/autopilot/prompts.js +385 -0
- package/dist/hooks/autopilot/prompts.js.map +1 -0
- package/dist/hooks/autopilot/state.d.ts +106 -0
- package/dist/hooks/autopilot/state.d.ts.map +1 -0
- package/dist/hooks/autopilot/state.js +457 -0
- package/dist/hooks/autopilot/state.js.map +1 -0
- package/dist/hooks/autopilot/transition-helper.d.ts +22 -0
- package/dist/hooks/autopilot/transition-helper.d.ts.map +1 -0
- package/dist/hooks/autopilot/transition-helper.js +31 -0
- package/dist/hooks/autopilot/transition-helper.js.map +1 -0
- package/dist/hooks/autopilot/types.d.ts +234 -0
- package/dist/hooks/autopilot/types.d.ts.map +1 -0
- package/dist/hooks/autopilot/types.js +30 -0
- package/dist/hooks/autopilot/types.js.map +1 -0
- package/dist/hooks/autopilot/validation.d.ts +66 -0
- package/dist/hooks/autopilot/validation.d.ts.map +1 -0
- package/dist/hooks/autopilot/validation.js +350 -0
- package/dist/hooks/autopilot/validation.js.map +1 -0
- package/dist/hooks/background-notification/index.d.ts +60 -0
- package/dist/hooks/background-notification/index.d.ts.map +1 -0
- package/dist/hooks/background-notification/index.js +180 -0
- package/dist/hooks/background-notification/index.js.map +1 -0
- package/dist/hooks/background-notification/types.d.ts +64 -0
- package/dist/hooks/background-notification/types.d.ts.map +1 -0
- package/dist/hooks/background-notification/types.js +8 -0
- package/dist/hooks/background-notification/types.js.map +1 -0
- package/dist/hooks/beads-context/__tests__/index.test.d.ts +2 -0
- package/dist/hooks/beads-context/__tests__/index.test.d.ts.map +1 -0
- package/dist/hooks/beads-context/__tests__/index.test.js +150 -0
- package/dist/hooks/beads-context/__tests__/index.test.js.map +1 -0
- package/dist/hooks/beads-context/constants.d.ts +3 -0
- package/dist/hooks/beads-context/constants.d.ts.map +1 -0
- package/dist/hooks/beads-context/constants.js +35 -0
- package/dist/hooks/beads-context/constants.js.map +1 -0
- package/dist/hooks/beads-context/index.d.ts +21 -0
- package/dist/hooks/beads-context/index.d.ts.map +1 -0
- package/dist/hooks/beads-context/index.js +62 -0
- package/dist/hooks/beads-context/index.js.map +1 -0
- package/dist/hooks/beads-context/types.d.ts +7 -0
- package/dist/hooks/beads-context/types.d.ts.map +1 -0
- package/dist/hooks/beads-context/types.js +2 -0
- package/dist/hooks/beads-context/types.js.map +1 -0
- package/dist/hooks/bridge-normalize.d.ts +143 -0
- package/dist/hooks/bridge-normalize.d.ts.map +1 -0
- package/dist/hooks/bridge-normalize.js +193 -0
- package/dist/hooks/bridge-normalize.js.map +1 -0
- package/dist/hooks/bridge.d.ts +98 -0
- package/dist/hooks/bridge.d.ts.map +1 -0
- package/dist/hooks/bridge.js +1760 -0
- package/dist/hooks/bridge.js.map +1 -0
- package/dist/hooks/code-simplifier/index.d.ts +75 -0
- package/dist/hooks/code-simplifier/index.d.ts.map +1 -0
- package/dist/hooks/code-simplifier/index.js +148 -0
- package/dist/hooks/code-simplifier/index.js.map +1 -0
- package/dist/hooks/codebase-map.d.ts +59 -0
- package/dist/hooks/codebase-map.d.ts.map +1 -0
- package/dist/hooks/codebase-map.js +196 -0
- package/dist/hooks/codebase-map.js.map +1 -0
- package/dist/hooks/comment-checker/constants.d.ts +28 -0
- package/dist/hooks/comment-checker/constants.d.ts.map +1 -0
- package/dist/hooks/comment-checker/constants.js +189 -0
- package/dist/hooks/comment-checker/constants.js.map +1 -0
- package/dist/hooks/comment-checker/filters.d.ts +39 -0
- package/dist/hooks/comment-checker/filters.d.ts.map +1 -0
- package/dist/hooks/comment-checker/filters.js +126 -0
- package/dist/hooks/comment-checker/filters.js.map +1 -0
- package/dist/hooks/comment-checker/index.d.ts +58 -0
- package/dist/hooks/comment-checker/index.d.ts.map +1 -0
- package/dist/hooks/comment-checker/index.js +283 -0
- package/dist/hooks/comment-checker/index.js.map +1 -0
- package/dist/hooks/comment-checker/types.d.ts +88 -0
- package/dist/hooks/comment-checker/types.d.ts.map +1 -0
- package/dist/hooks/comment-checker/types.js +9 -0
- package/dist/hooks/comment-checker/types.js.map +1 -0
- package/dist/hooks/directory-readme-injector/constants.d.ts +19 -0
- package/dist/hooks/directory-readme-injector/constants.d.ts.map +1 -0
- package/dist/hooks/directory-readme-injector/constants.js +21 -0
- package/dist/hooks/directory-readme-injector/constants.js.map +1 -0
- package/dist/hooks/directory-readme-injector/index.d.ts +45 -0
- package/dist/hooks/directory-readme-injector/index.d.ts.map +1 -0
- package/dist/hooks/directory-readme-injector/index.js +185 -0
- package/dist/hooks/directory-readme-injector/index.js.map +1 -0
- package/dist/hooks/directory-readme-injector/storage.d.ts +20 -0
- package/dist/hooks/directory-readme-injector/storage.d.ts.map +1 -0
- package/dist/hooks/directory-readme-injector/storage.js +56 -0
- package/dist/hooks/directory-readme-injector/storage.js.map +1 -0
- package/dist/hooks/directory-readme-injector/types.d.ts +20 -0
- package/dist/hooks/directory-readme-injector/types.d.ts.map +1 -0
- package/dist/hooks/directory-readme-injector/types.js +9 -0
- package/dist/hooks/directory-readme-injector/types.js.map +1 -0
- package/dist/hooks/empty-message-sanitizer/__tests__/index.test.d.ts +2 -0
- package/dist/hooks/empty-message-sanitizer/__tests__/index.test.d.ts.map +1 -0
- package/dist/hooks/empty-message-sanitizer/__tests__/index.test.js +416 -0
- package/dist/hooks/empty-message-sanitizer/__tests__/index.test.js.map +1 -0
- package/dist/hooks/empty-message-sanitizer/constants.d.ts +33 -0
- package/dist/hooks/empty-message-sanitizer/constants.d.ts.map +1 -0
- package/dist/hooks/empty-message-sanitizer/constants.js +37 -0
- package/dist/hooks/empty-message-sanitizer/constants.js.map +1 -0
- package/dist/hooks/empty-message-sanitizer/index.d.ts +59 -0
- package/dist/hooks/empty-message-sanitizer/index.d.ts.map +1 -0
- package/dist/hooks/empty-message-sanitizer/index.js +171 -0
- package/dist/hooks/empty-message-sanitizer/index.js.map +1 -0
- package/dist/hooks/empty-message-sanitizer/types.d.ts +79 -0
- package/dist/hooks/empty-message-sanitizer/types.d.ts.map +1 -0
- package/dist/hooks/empty-message-sanitizer/types.js +10 -0
- package/dist/hooks/empty-message-sanitizer/types.js.map +1 -0
- package/dist/hooks/factcheck/__tests__/factcheck.test.d.ts +7 -0
- package/dist/hooks/factcheck/__tests__/factcheck.test.d.ts.map +1 -0
- package/dist/hooks/factcheck/__tests__/factcheck.test.js +153 -0
- package/dist/hooks/factcheck/__tests__/factcheck.test.js.map +1 -0
- package/dist/hooks/factcheck/__tests__/sentinel-gate.test.d.ts +5 -0
- package/dist/hooks/factcheck/__tests__/sentinel-gate.test.d.ts.map +1 -0
- package/dist/hooks/factcheck/__tests__/sentinel-gate.test.js +159 -0
- package/dist/hooks/factcheck/__tests__/sentinel-gate.test.js.map +1 -0
- package/dist/hooks/factcheck/__tests__/sentinel.test.d.ts +7 -0
- package/dist/hooks/factcheck/__tests__/sentinel.test.d.ts.map +1 -0
- package/dist/hooks/factcheck/__tests__/sentinel.test.js +117 -0
- package/dist/hooks/factcheck/__tests__/sentinel.test.js.map +1 -0
- package/dist/hooks/factcheck/checks.d.ts +36 -0
- package/dist/hooks/factcheck/checks.d.ts.map +1 -0
- package/dist/hooks/factcheck/checks.js +144 -0
- package/dist/hooks/factcheck/checks.js.map +1 -0
- package/dist/hooks/factcheck/config.d.ts +25 -0
- package/dist/hooks/factcheck/config.d.ts.map +1 -0
- package/dist/hooks/factcheck/config.js +125 -0
- package/dist/hooks/factcheck/config.js.map +1 -0
- package/dist/hooks/factcheck/index.d.ts +34 -0
- package/dist/hooks/factcheck/index.d.ts.map +1 -0
- package/dist/hooks/factcheck/index.js +120 -0
- package/dist/hooks/factcheck/index.js.map +1 -0
- package/dist/hooks/factcheck/sentinel.d.ts +32 -0
- package/dist/hooks/factcheck/sentinel.d.ts.map +1 -0
- package/dist/hooks/factcheck/sentinel.js +153 -0
- package/dist/hooks/factcheck/sentinel.js.map +1 -0
- package/dist/hooks/factcheck/types.d.ts +99 -0
- package/dist/hooks/factcheck/types.d.ts.map +1 -0
- package/dist/hooks/factcheck/types.js +27 -0
- package/dist/hooks/factcheck/types.js.map +1 -0
- package/dist/hooks/index.d.ts +48 -0
- package/dist/hooks/index.d.ts.map +1 -0
- package/dist/hooks/index.js +141 -0
- package/dist/hooks/index.js.map +1 -0
- package/dist/hooks/keyword-detector/__tests__/index.test.d.ts +2 -0
- package/dist/hooks/keyword-detector/__tests__/index.test.d.ts.map +1 -0
- package/dist/hooks/keyword-detector/__tests__/index.test.js +1509 -0
- package/dist/hooks/keyword-detector/__tests__/index.test.js.map +1 -0
- package/dist/hooks/keyword-detector/index.d.ts +108 -0
- package/dist/hooks/keyword-detector/index.d.ts.map +1 -0
- package/dist/hooks/keyword-detector/index.js +326 -0
- package/dist/hooks/keyword-detector/index.js.map +1 -0
- package/dist/hooks/learner/auto-invoke.d.ts +82 -0
- package/dist/hooks/learner/auto-invoke.d.ts.map +1 -0
- package/dist/hooks/learner/auto-invoke.js +233 -0
- package/dist/hooks/learner/auto-invoke.js.map +1 -0
- package/dist/hooks/learner/auto-learner.d.ts +55 -0
- package/dist/hooks/learner/auto-learner.d.ts.map +1 -0
- package/dist/hooks/learner/auto-learner.js +364 -0
- package/dist/hooks/learner/auto-learner.js.map +1 -0
- package/dist/hooks/learner/bridge.d.ts +85 -0
- package/dist/hooks/learner/bridge.d.ts.map +1 -0
- package/dist/hooks/learner/bridge.js +552 -0
- package/dist/hooks/learner/bridge.js.map +1 -0
- package/dist/hooks/learner/config.d.ts +53 -0
- package/dist/hooks/learner/config.d.ts.map +1 -0
- package/dist/hooks/learner/config.js +103 -0
- package/dist/hooks/learner/config.js.map +1 -0
- package/dist/hooks/learner/constants.d.ts +30 -0
- package/dist/hooks/learner/constants.d.ts.map +1 -0
- package/dist/hooks/learner/constants.js +34 -0
- package/dist/hooks/learner/constants.js.map +1 -0
- package/dist/hooks/learner/detection-hook.d.ts +39 -0
- package/dist/hooks/learner/detection-hook.d.ts.map +1 -0
- package/dist/hooks/learner/detection-hook.js +83 -0
- package/dist/hooks/learner/detection-hook.js.map +1 -0
- package/dist/hooks/learner/detector.d.ts +30 -0
- package/dist/hooks/learner/detector.d.ts.map +1 -0
- package/dist/hooks/learner/detector.js +254 -0
- package/dist/hooks/learner/detector.js.map +1 -0
- package/dist/hooks/learner/finder.d.ts +23 -0
- package/dist/hooks/learner/finder.d.ts.map +1 -0
- package/dist/hooks/learner/finder.js +157 -0
- package/dist/hooks/learner/finder.js.map +1 -0
- package/dist/hooks/learner/index.d.ts +65 -0
- package/dist/hooks/learner/index.d.ts.map +1 -0
- package/dist/hooks/learner/index.js +147 -0
- package/dist/hooks/learner/index.js.map +1 -0
- package/dist/hooks/learner/loader.d.ts +20 -0
- package/dist/hooks/learner/loader.d.ts.map +1 -0
- package/dist/hooks/learner/loader.js +112 -0
- package/dist/hooks/learner/loader.js.map +1 -0
- package/dist/hooks/learner/matcher.d.ts +40 -0
- package/dist/hooks/learner/matcher.d.ts.map +1 -0
- package/dist/hooks/learner/matcher.js +230 -0
- package/dist/hooks/learner/matcher.js.map +1 -0
- package/dist/hooks/learner/parser.d.ts +21 -0
- package/dist/hooks/learner/parser.d.ts.map +1 -0
- package/dist/hooks/learner/parser.js +200 -0
- package/dist/hooks/learner/parser.js.map +1 -0
- package/dist/hooks/learner/promotion.d.ts +29 -0
- package/dist/hooks/learner/promotion.d.ts.map +1 -0
- package/dist/hooks/learner/promotion.js +87 -0
- package/dist/hooks/learner/promotion.js.map +1 -0
- package/dist/hooks/learner/transliteration-map.d.ts +30 -0
- package/dist/hooks/learner/transliteration-map.d.ts.map +1 -0
- package/dist/hooks/learner/transliteration-map.js +51 -0
- package/dist/hooks/learner/transliteration-map.js.map +1 -0
- package/dist/hooks/learner/types.d.ts +111 -0
- package/dist/hooks/learner/types.d.ts.map +1 -0
- package/dist/hooks/learner/types.js +8 -0
- package/dist/hooks/learner/types.js.map +1 -0
- package/dist/hooks/learner/validator.d.ts +15 -0
- package/dist/hooks/learner/validator.d.ts.map +1 -0
- package/dist/hooks/learner/validator.js +87 -0
- package/dist/hooks/learner/validator.js.map +1 -0
- package/dist/hooks/learner/writer.d.ts +27 -0
- package/dist/hooks/learner/writer.d.ts.map +1 -0
- package/dist/hooks/learner/writer.js +126 -0
- package/dist/hooks/learner/writer.js.map +1 -0
- package/dist/hooks/mode-registry/__tests__/session-isolation.test.d.ts +2 -0
- package/dist/hooks/mode-registry/__tests__/session-isolation.test.d.ts.map +1 -0
- package/dist/hooks/mode-registry/__tests__/session-isolation.test.js +278 -0
- package/dist/hooks/mode-registry/__tests__/session-isolation.test.js.map +1 -0
- package/dist/hooks/mode-registry/index.d.ts +163 -0
- package/dist/hooks/mode-registry/index.d.ts.map +1 -0
- package/dist/hooks/mode-registry/index.js +574 -0
- package/dist/hooks/mode-registry/index.js.map +1 -0
- package/dist/hooks/mode-registry/types.d.ts +31 -0
- package/dist/hooks/mode-registry/types.d.ts.map +1 -0
- package/dist/hooks/mode-registry/types.js +7 -0
- package/dist/hooks/mode-registry/types.js.map +1 -0
- package/dist/hooks/non-interactive-env/constants.d.ts +35 -0
- package/dist/hooks/non-interactive-env/constants.d.ts.map +1 -0
- package/dist/hooks/non-interactive-env/constants.js +69 -0
- package/dist/hooks/non-interactive-env/constants.js.map +1 -0
- package/dist/hooks/non-interactive-env/detector.d.ts +2 -0
- package/dist/hooks/non-interactive-env/detector.d.ts.map +1 -0
- package/dist/hooks/non-interactive-env/detector.js +16 -0
- package/dist/hooks/non-interactive-env/detector.js.map +1 -0
- package/dist/hooks/non-interactive-env/index.d.ts +14 -0
- package/dist/hooks/non-interactive-env/index.d.ts.map +1 -0
- package/dist/hooks/non-interactive-env/index.js +72 -0
- package/dist/hooks/non-interactive-env/index.js.map +1 -0
- package/dist/hooks/non-interactive-env/index.test.d.ts +2 -0
- package/dist/hooks/non-interactive-env/index.test.d.ts.map +1 -0
- package/dist/hooks/non-interactive-env/index.test.js +30 -0
- package/dist/hooks/non-interactive-env/index.test.js.map +1 -0
- package/dist/hooks/non-interactive-env/types.d.ts +14 -0
- package/dist/hooks/non-interactive-env/types.d.ts.map +1 -0
- package/dist/hooks/non-interactive-env/types.js +2 -0
- package/dist/hooks/non-interactive-env/types.js.map +1 -0
- package/dist/hooks/notepad/index.d.ts +114 -0
- package/dist/hooks/notepad/index.d.ts.map +1 -0
- package/dist/hooks/notepad/index.js +404 -0
- package/dist/hooks/notepad/index.js.map +1 -0
- package/dist/hooks/omc-orchestrator/audit.d.ts +31 -0
- package/dist/hooks/omc-orchestrator/audit.d.ts.map +1 -0
- package/dist/hooks/omc-orchestrator/audit.js +67 -0
- package/dist/hooks/omc-orchestrator/audit.js.map +1 -0
- package/dist/hooks/omc-orchestrator/constants.d.ts +28 -0
- package/dist/hooks/omc-orchestrator/constants.d.ts.map +1 -0
- package/dist/hooks/omc-orchestrator/constants.js +179 -0
- package/dist/hooks/omc-orchestrator/constants.js.map +1 -0
- package/dist/hooks/omc-orchestrator/index.d.ts +124 -0
- package/dist/hooks/omc-orchestrator/index.d.ts.map +1 -0
- package/dist/hooks/omc-orchestrator/index.js +454 -0
- package/dist/hooks/omc-orchestrator/index.js.map +1 -0
- package/dist/hooks/permission-handler/__tests__/index.test.d.ts +2 -0
- package/dist/hooks/permission-handler/__tests__/index.test.d.ts.map +1 -0
- package/dist/hooks/permission-handler/__tests__/index.test.js +440 -0
- package/dist/hooks/permission-handler/__tests__/index.test.js.map +1 -0
- package/dist/hooks/permission-handler/index.d.ts +64 -0
- package/dist/hooks/permission-handler/index.d.ts.map +1 -0
- package/dist/hooks/permission-handler/index.js +293 -0
- package/dist/hooks/permission-handler/index.js.map +1 -0
- package/dist/hooks/persistent-mode/__tests__/cancel-race.test.d.ts +2 -0
- package/dist/hooks/persistent-mode/__tests__/cancel-race.test.d.ts.map +1 -0
- package/dist/hooks/persistent-mode/__tests__/cancel-race.test.js +73 -0
- package/dist/hooks/persistent-mode/__tests__/cancel-race.test.js.map +1 -0
- package/dist/hooks/persistent-mode/__tests__/deleted-state-writeback.test.d.ts +2 -0
- package/dist/hooks/persistent-mode/__tests__/deleted-state-writeback.test.d.ts.map +1 -0
- package/dist/hooks/persistent-mode/__tests__/deleted-state-writeback.test.js +21 -0
- package/dist/hooks/persistent-mode/__tests__/deleted-state-writeback.test.js.map +1 -0
- package/dist/hooks/persistent-mode/__tests__/error-handling.test.d.ts +6 -0
- package/dist/hooks/persistent-mode/__tests__/error-handling.test.d.ts.map +1 -0
- package/dist/hooks/persistent-mode/__tests__/error-handling.test.js +71 -0
- package/dist/hooks/persistent-mode/__tests__/error-handling.test.js.map +1 -0
- package/dist/hooks/persistent-mode/__tests__/idle-cooldown.test.d.ts +6 -0
- package/dist/hooks/persistent-mode/__tests__/idle-cooldown.test.d.ts.map +1 -0
- package/dist/hooks/persistent-mode/__tests__/idle-cooldown.test.js +363 -0
- package/dist/hooks/persistent-mode/__tests__/idle-cooldown.test.js.map +1 -0
- package/dist/hooks/persistent-mode/__tests__/ralph-hard-max.test.d.ts +2 -0
- package/dist/hooks/persistent-mode/__tests__/ralph-hard-max.test.d.ts.map +1 -0
- package/dist/hooks/persistent-mode/__tests__/ralph-hard-max.test.js +78 -0
- package/dist/hooks/persistent-mode/__tests__/ralph-hard-max.test.js.map +1 -0
- package/dist/hooks/persistent-mode/__tests__/ralph-max-iteration.test.d.ts +2 -0
- package/dist/hooks/persistent-mode/__tests__/ralph-max-iteration.test.d.ts.map +1 -0
- package/dist/hooks/persistent-mode/__tests__/ralph-max-iteration.test.js +38 -0
- package/dist/hooks/persistent-mode/__tests__/ralph-max-iteration.test.js.map +1 -0
- package/dist/hooks/persistent-mode/__tests__/ralph-verification-flow.test.d.ts +2 -0
- package/dist/hooks/persistent-mode/__tests__/ralph-verification-flow.test.d.ts.map +1 -0
- package/dist/hooks/persistent-mode/__tests__/ralph-verification-flow.test.js +90 -0
- package/dist/hooks/persistent-mode/__tests__/ralph-verification-flow.test.js.map +1 -0
- package/dist/hooks/persistent-mode/__tests__/rate-limit-stop.test.d.ts +2 -0
- package/dist/hooks/persistent-mode/__tests__/rate-limit-stop.test.d.ts.map +1 -0
- package/dist/hooks/persistent-mode/__tests__/rate-limit-stop.test.js +116 -0
- package/dist/hooks/persistent-mode/__tests__/rate-limit-stop.test.js.map +1 -0
- package/dist/hooks/persistent-mode/__tests__/skill-state-stop.test.d.ts +2 -0
- package/dist/hooks/persistent-mode/__tests__/skill-state-stop.test.d.ts.map +1 -0
- package/dist/hooks/persistent-mode/__tests__/skill-state-stop.test.js +191 -0
- package/dist/hooks/persistent-mode/__tests__/skill-state-stop.test.js.map +1 -0
- package/dist/hooks/persistent-mode/__tests__/team-ralplan-stop.test.d.ts +2 -0
- package/dist/hooks/persistent-mode/__tests__/team-ralplan-stop.test.d.ts.map +1 -0
- package/dist/hooks/persistent-mode/__tests__/team-ralplan-stop.test.js +646 -0
- package/dist/hooks/persistent-mode/__tests__/team-ralplan-stop.test.js.map +1 -0
- package/dist/hooks/persistent-mode/__tests__/tool-error.test.d.ts +6 -0
- package/dist/hooks/persistent-mode/__tests__/tool-error.test.d.ts.map +1 -0
- package/dist/hooks/persistent-mode/__tests__/tool-error.test.js +335 -0
- package/dist/hooks/persistent-mode/__tests__/tool-error.test.js.map +1 -0
- package/dist/hooks/persistent-mode/idle-cooldown.test.d.ts +6 -0
- package/dist/hooks/persistent-mode/idle-cooldown.test.d.ts.map +1 -0
- package/dist/hooks/persistent-mode/idle-cooldown.test.js +115 -0
- package/dist/hooks/persistent-mode/idle-cooldown.test.js.map +1 -0
- package/dist/hooks/persistent-mode/index.d.ts +87 -0
- package/dist/hooks/persistent-mode/index.d.ts.map +1 -0
- package/dist/hooks/persistent-mode/index.js +1074 -0
- package/dist/hooks/persistent-mode/index.js.map +1 -0
- package/dist/hooks/persistent-mode/session-isolation.test.d.ts +2 -0
- package/dist/hooks/persistent-mode/session-isolation.test.d.ts.map +1 -0
- package/dist/hooks/persistent-mode/session-isolation.test.js +529 -0
- package/dist/hooks/persistent-mode/session-isolation.test.js.map +1 -0
- package/dist/hooks/persistent-mode/stop-hook-blocking.test.d.ts +2 -0
- package/dist/hooks/persistent-mode/stop-hook-blocking.test.d.ts.map +1 -0
- package/dist/hooks/persistent-mode/stop-hook-blocking.test.js +691 -0
- package/dist/hooks/persistent-mode/stop-hook-blocking.test.js.map +1 -0
- package/dist/hooks/plugin-patterns/__tests__/index.test.d.ts +13 -0
- package/dist/hooks/plugin-patterns/__tests__/index.test.d.ts.map +1 -0
- package/dist/hooks/plugin-patterns/__tests__/index.test.js +100 -0
- package/dist/hooks/plugin-patterns/__tests__/index.test.js.map +1 -0
- package/dist/hooks/plugin-patterns/index.d.ts +119 -0
- package/dist/hooks/plugin-patterns/index.d.ts.map +1 -0
- package/dist/hooks/plugin-patterns/index.js +354 -0
- package/dist/hooks/plugin-patterns/index.js.map +1 -0
- package/dist/hooks/pre-compact/index.d.ts +117 -0
- package/dist/hooks/pre-compact/index.d.ts.map +1 -0
- package/dist/hooks/pre-compact/index.js +429 -0
- package/dist/hooks/pre-compact/index.js.map +1 -0
- package/dist/hooks/preemptive-compaction/constants.d.ts +48 -0
- package/dist/hooks/preemptive-compaction/constants.d.ts.map +1 -0
- package/dist/hooks/preemptive-compaction/constants.js +90 -0
- package/dist/hooks/preemptive-compaction/constants.js.map +1 -0
- package/dist/hooks/preemptive-compaction/index.d.ts +69 -0
- package/dist/hooks/preemptive-compaction/index.d.ts.map +1 -0
- package/dist/hooks/preemptive-compaction/index.js +278 -0
- package/dist/hooks/preemptive-compaction/index.js.map +1 -0
- package/dist/hooks/preemptive-compaction/types.d.ts +76 -0
- package/dist/hooks/preemptive-compaction/types.d.ts.map +1 -0
- package/dist/hooks/preemptive-compaction/types.js +9 -0
- package/dist/hooks/preemptive-compaction/types.js.map +1 -0
- package/dist/hooks/project-memory/__tests__/detector.test.d.ts +5 -0
- package/dist/hooks/project-memory/__tests__/detector.test.d.ts.map +1 -0
- package/dist/hooks/project-memory/__tests__/detector.test.js +165 -0
- package/dist/hooks/project-memory/__tests__/detector.test.js.map +1 -0
- package/dist/hooks/project-memory/__tests__/formatter.test.d.ts +5 -0
- package/dist/hooks/project-memory/__tests__/formatter.test.d.ts.map +1 -0
- package/dist/hooks/project-memory/__tests__/formatter.test.js +315 -0
- package/dist/hooks/project-memory/__tests__/formatter.test.js.map +1 -0
- package/dist/hooks/project-memory/__tests__/integration.test.d.ts +5 -0
- package/dist/hooks/project-memory/__tests__/integration.test.d.ts.map +1 -0
- package/dist/hooks/project-memory/__tests__/integration.test.js +265 -0
- package/dist/hooks/project-memory/__tests__/integration.test.js.map +1 -0
- package/dist/hooks/project-memory/__tests__/learner.test.d.ts +5 -0
- package/dist/hooks/project-memory/__tests__/learner.test.d.ts.map +1 -0
- package/dist/hooks/project-memory/__tests__/learner.test.js +159 -0
- package/dist/hooks/project-memory/__tests__/learner.test.js.map +1 -0
- package/dist/hooks/project-memory/__tests__/pre-compact.test.d.ts +5 -0
- package/dist/hooks/project-memory/__tests__/pre-compact.test.d.ts.map +1 -0
- package/dist/hooks/project-memory/__tests__/pre-compact.test.js +121 -0
- package/dist/hooks/project-memory/__tests__/pre-compact.test.js.map +1 -0
- package/dist/hooks/project-memory/__tests__/storage.test.d.ts +5 -0
- package/dist/hooks/project-memory/__tests__/storage.test.d.ts.map +1 -0
- package/dist/hooks/project-memory/__tests__/storage.test.js +244 -0
- package/dist/hooks/project-memory/__tests__/storage.test.js.map +1 -0
- package/dist/hooks/project-memory/constants.d.ts +33 -0
- package/dist/hooks/project-memory/constants.d.ts.map +1 -0
- package/dist/hooks/project-memory/constants.js +134 -0
- package/dist/hooks/project-memory/constants.js.map +1 -0
- package/dist/hooks/project-memory/detector.d.ts +10 -0
- package/dist/hooks/project-memory/detector.d.ts.map +1 -0
- package/dist/hooks/project-memory/detector.js +481 -0
- package/dist/hooks/project-memory/detector.js.map +1 -0
- package/dist/hooks/project-memory/directive-detector.d.ts +22 -0
- package/dist/hooks/project-memory/directive-detector.d.ts.map +1 -0
- package/dist/hooks/project-memory/directive-detector.js +149 -0
- package/dist/hooks/project-memory/directive-detector.js.map +1 -0
- package/dist/hooks/project-memory/directory-mapper.d.ts +14 -0
- package/dist/hooks/project-memory/directory-mapper.d.ts.map +1 -0
- package/dist/hooks/project-memory/directory-mapper.js +156 -0
- package/dist/hooks/project-memory/directory-mapper.js.map +1 -0
- package/dist/hooks/project-memory/formatter.d.ts +15 -0
- package/dist/hooks/project-memory/formatter.d.ts.map +1 -0
- package/dist/hooks/project-memory/formatter.js +241 -0
- package/dist/hooks/project-memory/formatter.js.map +1 -0
- package/dist/hooks/project-memory/hot-path-tracker.d.ts +18 -0
- package/dist/hooks/project-memory/hot-path-tracker.d.ts.map +1 -0
- package/dist/hooks/project-memory/hot-path-tracker.js +125 -0
- package/dist/hooks/project-memory/hot-path-tracker.js.map +1 -0
- package/dist/hooks/project-memory/index.d.ts +17 -0
- package/dist/hooks/project-memory/index.d.ts.map +1 -0
- package/dist/hooks/project-memory/index.js +110 -0
- package/dist/hooks/project-memory/index.js.map +1 -0
- package/dist/hooks/project-memory/learner.d.ts +23 -0
- package/dist/hooks/project-memory/learner.d.ts.map +1 -0
- package/dist/hooks/project-memory/learner.js +231 -0
- package/dist/hooks/project-memory/learner.js.map +1 -0
- package/dist/hooks/project-memory/pre-compact.d.ts +23 -0
- package/dist/hooks/project-memory/pre-compact.d.ts.map +1 -0
- package/dist/hooks/project-memory/pre-compact.js +52 -0
- package/dist/hooks/project-memory/pre-compact.js.map +1 -0
- package/dist/hooks/project-memory/storage.d.ts +37 -0
- package/dist/hooks/project-memory/storage.d.ts.map +1 -0
- package/dist/hooks/project-memory/storage.js +89 -0
- package/dist/hooks/project-memory/storage.js.map +1 -0
- package/dist/hooks/project-memory/types.d.ts +106 -0
- package/dist/hooks/project-memory/types.d.ts.map +1 -0
- package/dist/hooks/project-memory/types.js +6 -0
- package/dist/hooks/project-memory/types.js.map +1 -0
- package/dist/hooks/prompt-prerequisites/index.d.ts +53 -0
- package/dist/hooks/prompt-prerequisites/index.d.ts.map +1 -0
- package/dist/hooks/prompt-prerequisites/index.js +259 -0
- package/dist/hooks/prompt-prerequisites/index.js.map +1 -0
- package/dist/hooks/ralph/index.d.ts +11 -0
- package/dist/hooks/ralph/index.d.ts.map +1 -0
- package/dist/hooks/ralph/index.js +57 -0
- package/dist/hooks/ralph/index.js.map +1 -0
- package/dist/hooks/ralph/loop.d.ts +144 -0
- package/dist/hooks/ralph/loop.d.ts.map +1 -0
- package/dist/hooks/ralph/loop.js +357 -0
- package/dist/hooks/ralph/loop.js.map +1 -0
- package/dist/hooks/ralph/prd.d.ts +130 -0
- package/dist/hooks/ralph/prd.d.ts.map +1 -0
- package/dist/hooks/ralph/prd.js +311 -0
- package/dist/hooks/ralph/prd.js.map +1 -0
- package/dist/hooks/ralph/progress.d.ts +102 -0
- package/dist/hooks/ralph/progress.d.ts.map +1 -0
- package/dist/hooks/ralph/progress.js +409 -0
- package/dist/hooks/ralph/progress.js.map +1 -0
- package/dist/hooks/ralph/verifier.d.ts +78 -0
- package/dist/hooks/ralph/verifier.d.ts.map +1 -0
- package/dist/hooks/ralph/verifier.js +280 -0
- package/dist/hooks/ralph/verifier.js.map +1 -0
- package/dist/hooks/recovery/__tests__/storage.test.d.ts +2 -0
- package/dist/hooks/recovery/__tests__/storage.test.d.ts.map +1 -0
- package/dist/hooks/recovery/__tests__/storage.test.js +65 -0
- package/dist/hooks/recovery/__tests__/storage.test.js.map +1 -0
- package/dist/hooks/recovery/constants.d.ts +114 -0
- package/dist/hooks/recovery/constants.d.ts.map +1 -0
- package/dist/hooks/recovery/constants.js +221 -0
- package/dist/hooks/recovery/constants.js.map +1 -0
- package/dist/hooks/recovery/context-window.d.ts +28 -0
- package/dist/hooks/recovery/context-window.d.ts.map +1 -0
- package/dist/hooks/recovery/context-window.js +342 -0
- package/dist/hooks/recovery/context-window.js.map +1 -0
- package/dist/hooks/recovery/edit-error.d.ts +24 -0
- package/dist/hooks/recovery/edit-error.d.ts.map +1 -0
- package/dist/hooks/recovery/edit-error.js +56 -0
- package/dist/hooks/recovery/edit-error.js.map +1 -0
- package/dist/hooks/recovery/index.d.ts +102 -0
- package/dist/hooks/recovery/index.d.ts.map +1 -0
- package/dist/hooks/recovery/index.js +166 -0
- package/dist/hooks/recovery/index.js.map +1 -0
- package/dist/hooks/recovery/session-recovery.d.ts +24 -0
- package/dist/hooks/recovery/session-recovery.d.ts.map +1 -0
- package/dist/hooks/recovery/session-recovery.js +284 -0
- package/dist/hooks/recovery/session-recovery.js.map +1 -0
- package/dist/hooks/recovery/storage.d.ts +79 -0
- package/dist/hooks/recovery/storage.d.ts.map +1 -0
- package/dist/hooks/recovery/storage.js +360 -0
- package/dist/hooks/recovery/storage.js.map +1 -0
- package/dist/hooks/recovery/types.d.ts +196 -0
- package/dist/hooks/recovery/types.d.ts.map +1 -0
- package/dist/hooks/recovery/types.js +32 -0
- package/dist/hooks/recovery/types.js.map +1 -0
- package/dist/hooks/rules-injector/constants.d.ts +25 -0
- package/dist/hooks/rules-injector/constants.d.ts.map +1 -0
- package/dist/hooks/rules-injector/constants.js +40 -0
- package/dist/hooks/rules-injector/constants.js.map +1 -0
- package/dist/hooks/rules-injector/finder.d.ts +24 -0
- package/dist/hooks/rules-injector/finder.d.ts.map +1 -0
- package/dist/hooks/rules-injector/finder.js +215 -0
- package/dist/hooks/rules-injector/finder.js.map +1 -0
- package/dist/hooks/rules-injector/index.d.ts +45 -0
- package/dist/hooks/rules-injector/index.d.ts.map +1 -0
- package/dist/hooks/rules-injector/index.js +187 -0
- package/dist/hooks/rules-injector/index.js.map +1 -0
- package/dist/hooks/rules-injector/matcher.d.ts +25 -0
- package/dist/hooks/rules-injector/matcher.d.ts.map +1 -0
- package/dist/hooks/rules-injector/matcher.js +70 -0
- package/dist/hooks/rules-injector/matcher.js.map +1 -0
- package/dist/hooks/rules-injector/parser.d.ts +20 -0
- package/dist/hooks/rules-injector/parser.d.ts.map +1 -0
- package/dist/hooks/rules-injector/parser.js +181 -0
- package/dist/hooks/rules-injector/parser.js.map +1 -0
- package/dist/hooks/rules-injector/storage.d.ts +26 -0
- package/dist/hooks/rules-injector/storage.d.ts.map +1 -0
- package/dist/hooks/rules-injector/storage.js +61 -0
- package/dist/hooks/rules-injector/storage.js.map +1 -0
- package/dist/hooks/rules-injector/types.d.ts +101 -0
- package/dist/hooks/rules-injector/types.d.ts.map +1 -0
- package/dist/hooks/rules-injector/types.js +10 -0
- package/dist/hooks/rules-injector/types.js.map +1 -0
- package/dist/hooks/session-end/__tests__/callbacks.test.d.ts +2 -0
- package/dist/hooks/session-end/__tests__/callbacks.test.d.ts.map +1 -0
- package/dist/hooks/session-end/__tests__/callbacks.test.js +381 -0
- package/dist/hooks/session-end/__tests__/callbacks.test.js.map +1 -0
- package/dist/hooks/session-end/__tests__/duplicate-notifications.test.d.ts +2 -0
- package/dist/hooks/session-end/__tests__/duplicate-notifications.test.d.ts.map +1 -0
- package/dist/hooks/session-end/__tests__/duplicate-notifications.test.js +140 -0
- package/dist/hooks/session-end/__tests__/duplicate-notifications.test.js.map +1 -0
- package/dist/hooks/session-end/__tests__/mode-state-cleanup.test.d.ts +2 -0
- package/dist/hooks/session-end/__tests__/mode-state-cleanup.test.d.ts.map +1 -0
- package/dist/hooks/session-end/__tests__/mode-state-cleanup.test.js +150 -0
- package/dist/hooks/session-end/__tests__/mode-state-cleanup.test.js.map +1 -0
- package/dist/hooks/session-end/__tests__/openclaw-session-end.test.d.ts +2 -0
- package/dist/hooks/session-end/__tests__/openclaw-session-end.test.d.ts.map +1 -0
- package/dist/hooks/session-end/__tests__/openclaw-session-end.test.js +112 -0
- package/dist/hooks/session-end/__tests__/openclaw-session-end.test.js.map +1 -0
- package/dist/hooks/session-end/__tests__/python-repl-cleanup.test.d.ts +2 -0
- package/dist/hooks/session-end/__tests__/python-repl-cleanup.test.d.ts.map +1 -0
- package/dist/hooks/session-end/__tests__/python-repl-cleanup.test.js +46 -0
- package/dist/hooks/session-end/__tests__/python-repl-cleanup.test.js.map +1 -0
- package/dist/hooks/session-end/__tests__/session-duration.test.d.ts +2 -0
- package/dist/hooks/session-end/__tests__/session-duration.test.d.ts.map +1 -0
- package/dist/hooks/session-end/__tests__/session-duration.test.js +236 -0
- package/dist/hooks/session-end/__tests__/session-duration.test.js.map +1 -0
- package/dist/hooks/session-end/__tests__/session-end-bridge-cleanup.test.d.ts +2 -0
- package/dist/hooks/session-end/__tests__/session-end-bridge-cleanup.test.d.ts.map +1 -0
- package/dist/hooks/session-end/__tests__/session-end-bridge-cleanup.test.js +58 -0
- package/dist/hooks/session-end/__tests__/session-end-bridge-cleanup.test.js.map +1 -0
- package/dist/hooks/session-end/__tests__/session-end-timeout.test.d.ts +2 -0
- package/dist/hooks/session-end/__tests__/session-end-timeout.test.d.ts.map +1 -0
- package/dist/hooks/session-end/__tests__/session-end-timeout.test.js +91 -0
- package/dist/hooks/session-end/__tests__/session-end-timeout.test.js.map +1 -0
- package/dist/hooks/session-end/__tests__/subdirectory-cwd.test.d.ts +10 -0
- package/dist/hooks/session-end/__tests__/subdirectory-cwd.test.d.ts.map +1 -0
- package/dist/hooks/session-end/__tests__/subdirectory-cwd.test.js +122 -0
- package/dist/hooks/session-end/__tests__/subdirectory-cwd.test.js.map +1 -0
- package/dist/hooks/session-end/__tests__/team-cleanup.test.d.ts +2 -0
- package/dist/hooks/session-end/__tests__/team-cleanup.test.d.ts.map +1 -0
- package/dist/hooks/session-end/__tests__/team-cleanup.test.js +150 -0
- package/dist/hooks/session-end/__tests__/team-cleanup.test.js.map +1 -0
- package/dist/hooks/session-end/callbacks.d.ts +29 -0
- package/dist/hooks/session-end/callbacks.d.ts.map +1 -0
- package/dist/hooks/session-end/callbacks.js +230 -0
- package/dist/hooks/session-end/callbacks.js.map +1 -0
- package/dist/hooks/session-end/index.d.ts +87 -0
- package/dist/hooks/session-end/index.d.ts.map +1 -0
- package/dist/hooks/session-end/index.js +683 -0
- package/dist/hooks/session-end/index.js.map +1 -0
- package/dist/hooks/setup/__tests__/prune.test.d.ts +2 -0
- package/dist/hooks/setup/__tests__/prune.test.d.ts.map +1 -0
- package/dist/hooks/setup/__tests__/prune.test.js +94 -0
- package/dist/hooks/setup/__tests__/prune.test.js.map +1 -0
- package/dist/hooks/setup/__tests__/windows-patch.test.d.ts +2 -0
- package/dist/hooks/setup/__tests__/windows-patch.test.d.ts.map +1 -0
- package/dist/hooks/setup/__tests__/windows-patch.test.js +111 -0
- package/dist/hooks/setup/__tests__/windows-patch.test.js.map +1 -0
- package/dist/hooks/setup/index.d.ts +80 -0
- package/dist/hooks/setup/index.d.ts.map +1 -0
- package/dist/hooks/setup/index.js +349 -0
- package/dist/hooks/setup/index.js.map +1 -0
- package/dist/hooks/setup/types.d.ts +25 -0
- package/dist/hooks/setup/types.d.ts.map +1 -0
- package/dist/hooks/setup/types.js +5 -0
- package/dist/hooks/setup/types.js.map +1 -0
- package/dist/hooks/skill-bridge.cjs +499 -0
- package/dist/hooks/skill-state/__tests__/skill-state.test.d.ts +2 -0
- package/dist/hooks/skill-state/__tests__/skill-state.test.d.ts.map +1 -0
- package/dist/hooks/skill-state/__tests__/skill-state.test.js +451 -0
- package/dist/hooks/skill-state/__tests__/skill-state.test.js.map +1 -0
- package/dist/hooks/skill-state/index.d.ts +88 -0
- package/dist/hooks/skill-state/index.d.ts.map +1 -0
- package/dist/hooks/skill-state/index.js +246 -0
- package/dist/hooks/skill-state/index.js.map +1 -0
- package/dist/hooks/subagent-tracker/__tests__/flow-tracer.test.d.ts +2 -0
- package/dist/hooks/subagent-tracker/__tests__/flow-tracer.test.d.ts.map +1 -0
- package/dist/hooks/subagent-tracker/__tests__/flow-tracer.test.js +107 -0
- package/dist/hooks/subagent-tracker/__tests__/flow-tracer.test.js.map +1 -0
- package/dist/hooks/subagent-tracker/__tests__/flush-race.test.d.ts +2 -0
- package/dist/hooks/subagent-tracker/__tests__/flush-race.test.d.ts.map +1 -0
- package/dist/hooks/subagent-tracker/__tests__/flush-race.test.js +375 -0
- package/dist/hooks/subagent-tracker/__tests__/flush-race.test.js.map +1 -0
- package/dist/hooks/subagent-tracker/__tests__/index.test.d.ts +2 -0
- package/dist/hooks/subagent-tracker/__tests__/index.test.d.ts.map +1 -0
- package/dist/hooks/subagent-tracker/__tests__/index.test.js +859 -0
- package/dist/hooks/subagent-tracker/__tests__/index.test.js.map +1 -0
- package/dist/hooks/subagent-tracker/__tests__/session-replay.test.d.ts +2 -0
- package/dist/hooks/subagent-tracker/__tests__/session-replay.test.d.ts.map +1 -0
- package/dist/hooks/subagent-tracker/__tests__/session-replay.test.js +139 -0
- package/dist/hooks/subagent-tracker/__tests__/session-replay.test.js.map +1 -0
- package/dist/hooks/subagent-tracker/flow-tracer.d.ts +31 -0
- package/dist/hooks/subagent-tracker/flow-tracer.d.ts.map +1 -0
- package/dist/hooks/subagent-tracker/flow-tracer.js +75 -0
- package/dist/hooks/subagent-tracker/flow-tracer.js.map +1 -0
- package/dist/hooks/subagent-tracker/index.d.ts +270 -0
- package/dist/hooks/subagent-tracker/index.d.ts.map +1 -0
- package/dist/hooks/subagent-tracker/index.js +1047 -0
- package/dist/hooks/subagent-tracker/index.js.map +1 -0
- package/dist/hooks/subagent-tracker/session-replay.d.ts +143 -0
- package/dist/hooks/subagent-tracker/session-replay.d.ts.map +1 -0
- package/dist/hooks/subagent-tracker/session-replay.js +390 -0
- package/dist/hooks/subagent-tracker/session-replay.js.map +1 -0
- package/dist/hooks/task-size-detector/__tests__/index.test.d.ts +2 -0
- package/dist/hooks/task-size-detector/__tests__/index.test.d.ts.map +1 -0
- package/dist/hooks/task-size-detector/__tests__/index.test.js +338 -0
- package/dist/hooks/task-size-detector/__tests__/index.test.js.map +1 -0
- package/dist/hooks/task-size-detector/index.d.ts +65 -0
- package/dist/hooks/task-size-detector/index.d.ts.map +1 -0
- package/dist/hooks/task-size-detector/index.js +194 -0
- package/dist/hooks/task-size-detector/index.js.map +1 -0
- package/dist/hooks/team-dispatch-hook.d.ts +65 -0
- package/dist/hooks/team-dispatch-hook.d.ts.map +1 -0
- package/dist/hooks/team-dispatch-hook.js +665 -0
- package/dist/hooks/team-dispatch-hook.js.map +1 -0
- package/dist/hooks/team-leader-nudge-hook.d.ts +42 -0
- package/dist/hooks/team-leader-nudge-hook.d.ts.map +1 -0
- package/dist/hooks/team-leader-nudge-hook.js +316 -0
- package/dist/hooks/team-leader-nudge-hook.js.map +1 -0
- package/dist/hooks/team-pipeline/__tests__/transitions.test.d.ts +2 -0
- package/dist/hooks/team-pipeline/__tests__/transitions.test.d.ts.map +1 -0
- package/dist/hooks/team-pipeline/__tests__/transitions.test.js +156 -0
- package/dist/hooks/team-pipeline/__tests__/transitions.test.js.map +1 -0
- package/dist/hooks/team-pipeline/index.d.ts +4 -0
- package/dist/hooks/team-pipeline/index.d.ts.map +1 -0
- package/dist/hooks/team-pipeline/index.js +4 -0
- package/dist/hooks/team-pipeline/index.js.map +1 -0
- package/dist/hooks/team-pipeline/state.d.ts +7 -0
- package/dist/hooks/team-pipeline/state.d.ts.map +1 -0
- package/dist/hooks/team-pipeline/state.js +163 -0
- package/dist/hooks/team-pipeline/state.js.map +1 -0
- package/dist/hooks/team-pipeline/transitions.d.ts +6 -0
- package/dist/hooks/team-pipeline/transitions.d.ts.map +1 -0
- package/dist/hooks/team-pipeline/transitions.js +103 -0
- package/dist/hooks/team-pipeline/transitions.js.map +1 -0
- package/dist/hooks/team-pipeline/types.d.ts +58 -0
- package/dist/hooks/team-pipeline/types.d.ts.map +1 -0
- package/dist/hooks/team-pipeline/types.js +7 -0
- package/dist/hooks/team-pipeline/types.js.map +1 -0
- package/dist/hooks/team-worker-hook.d.ts +45 -0
- package/dist/hooks/team-worker-hook.d.ts.map +1 -0
- package/dist/hooks/team-worker-hook.js +418 -0
- package/dist/hooks/team-worker-hook.js.map +1 -0
- package/dist/hooks/think-mode/__tests__/index.test.d.ts +2 -0
- package/dist/hooks/think-mode/__tests__/index.test.d.ts.map +1 -0
- package/dist/hooks/think-mode/__tests__/index.test.js +556 -0
- package/dist/hooks/think-mode/__tests__/index.test.js.map +1 -0
- package/dist/hooks/think-mode/detector.d.ts +28 -0
- package/dist/hooks/think-mode/detector.d.ts.map +1 -0
- package/dist/hooks/think-mode/detector.js +105 -0
- package/dist/hooks/think-mode/detector.js.map +1 -0
- package/dist/hooks/think-mode/index.d.ts +70 -0
- package/dist/hooks/think-mode/index.d.ts.map +1 -0
- package/dist/hooks/think-mode/index.js +144 -0
- package/dist/hooks/think-mode/index.js.map +1 -0
- package/dist/hooks/think-mode/switcher.d.ts +39 -0
- package/dist/hooks/think-mode/switcher.d.ts.map +1 -0
- package/dist/hooks/think-mode/switcher.js +184 -0
- package/dist/hooks/think-mode/switcher.js.map +1 -0
- package/dist/hooks/think-mode/types.d.ts +60 -0
- package/dist/hooks/think-mode/types.d.ts.map +1 -0
- package/dist/hooks/think-mode/types.js +9 -0
- package/dist/hooks/think-mode/types.js.map +1 -0
- package/dist/hooks/thinking-block-validator/__tests__/index.test.d.ts +2 -0
- package/dist/hooks/thinking-block-validator/__tests__/index.test.d.ts.map +1 -0
- package/dist/hooks/thinking-block-validator/__tests__/index.test.js +56 -0
- package/dist/hooks/thinking-block-validator/__tests__/index.test.js.map +1 -0
- package/dist/hooks/thinking-block-validator/constants.d.ts +37 -0
- package/dist/hooks/thinking-block-validator/constants.d.ts.map +1 -0
- package/dist/hooks/thinking-block-validator/constants.js +50 -0
- package/dist/hooks/thinking-block-validator/constants.js.map +1 -0
- package/dist/hooks/thinking-block-validator/index.d.ts +35 -0
- package/dist/hooks/thinking-block-validator/index.d.ts.map +1 -0
- package/dist/hooks/thinking-block-validator/index.js +157 -0
- package/dist/hooks/thinking-block-validator/index.js.map +1 -0
- package/dist/hooks/thinking-block-validator/types.d.ts +67 -0
- package/dist/hooks/thinking-block-validator/types.d.ts.map +1 -0
- package/dist/hooks/thinking-block-validator/types.js +9 -0
- package/dist/hooks/thinking-block-validator/types.js.map +1 -0
- package/dist/hooks/todo-continuation/__tests__/isAuthenticationError.test.d.ts +2 -0
- package/dist/hooks/todo-continuation/__tests__/isAuthenticationError.test.d.ts.map +1 -0
- package/dist/hooks/todo-continuation/__tests__/isAuthenticationError.test.js +33 -0
- package/dist/hooks/todo-continuation/__tests__/isAuthenticationError.test.js.map +1 -0
- package/dist/hooks/todo-continuation/__tests__/isRateLimitStop.test.d.ts +2 -0
- package/dist/hooks/todo-continuation/__tests__/isRateLimitStop.test.d.ts.map +1 -0
- package/dist/hooks/todo-continuation/__tests__/isRateLimitStop.test.js +88 -0
- package/dist/hooks/todo-continuation/__tests__/isRateLimitStop.test.js.map +1 -0
- package/dist/hooks/todo-continuation/__tests__/isUserAbort.test.d.ts +2 -0
- package/dist/hooks/todo-continuation/__tests__/isUserAbort.test.d.ts.map +1 -0
- package/dist/hooks/todo-continuation/__tests__/isUserAbort.test.js +119 -0
- package/dist/hooks/todo-continuation/__tests__/isUserAbort.test.js.map +1 -0
- package/dist/hooks/todo-continuation/index.d.ts +231 -0
- package/dist/hooks/todo-continuation/index.d.ts.map +1 -0
- package/dist/hooks/todo-continuation/index.js +470 -0
- package/dist/hooks/todo-continuation/index.js.map +1 -0
- package/dist/hooks/ultraqa/index.d.ts +96 -0
- package/dist/hooks/ultraqa/index.d.ts.map +1 -0
- package/dist/hooks/ultraqa/index.js +172 -0
- package/dist/hooks/ultraqa/index.js.map +1 -0
- package/dist/hooks/ultrawork/index.d.ts +72 -0
- package/dist/hooks/ultrawork/index.d.ts.map +1 -0
- package/dist/hooks/ultrawork/index.js +183 -0
- package/dist/hooks/ultrawork/index.js.map +1 -0
- package/dist/hooks/ultrawork/session-isolation.test.d.ts +2 -0
- package/dist/hooks/ultrawork/session-isolation.test.d.ts.map +1 -0
- package/dist/hooks/ultrawork/session-isolation.test.js +333 -0
- package/dist/hooks/ultrawork/session-isolation.test.js.map +1 -0
- package/dist/hud/background-cleanup.d.ts +28 -0
- package/dist/hud/background-cleanup.d.ts.map +1 -0
- package/dist/hud/background-cleanup.js +137 -0
- package/dist/hud/background-cleanup.js.map +1 -0
- package/dist/hud/background-tasks.d.ts +33 -0
- package/dist/hud/background-tasks.d.ts.map +1 -0
- package/dist/hud/background-tasks.js +199 -0
- package/dist/hud/background-tasks.js.map +1 -0
- package/dist/hud/colors.d.ts +54 -0
- package/dist/hud/colors.d.ts.map +1 -0
- package/dist/hud/colors.js +156 -0
- package/dist/hud/colors.js.map +1 -0
- package/dist/hud/custom-rate-provider.d.ts +33 -0
- package/dist/hud/custom-rate-provider.d.ts.map +1 -0
- package/dist/hud/custom-rate-provider.js +185 -0
- package/dist/hud/custom-rate-provider.js.map +1 -0
- package/dist/hud/elements/agents.d.ts +73 -0
- package/dist/hud/elements/agents.d.ts.map +1 -0
- package/dist/hud/elements/agents.js +487 -0
- package/dist/hud/elements/agents.js.map +1 -0
- package/dist/hud/elements/api-key-source.d.ts +30 -0
- package/dist/hud/elements/api-key-source.d.ts.map +1 -0
- package/dist/hud/elements/api-key-source.js +70 -0
- package/dist/hud/elements/api-key-source.js.map +1 -0
- package/dist/hud/elements/autopilot.d.ts +29 -0
- package/dist/hud/elements/autopilot.d.ts.map +1 -0
- package/dist/hud/elements/autopilot.js +97 -0
- package/dist/hud/elements/autopilot.js.map +1 -0
- package/dist/hud/elements/background.d.ts +20 -0
- package/dist/hud/elements/background.d.ts.map +1 -0
- package/dist/hud/elements/background.js +71 -0
- package/dist/hud/elements/background.js.map +1 -0
- package/dist/hud/elements/call-counts.d.ts +22 -0
- package/dist/hud/elements/call-counts.d.ts.map +1 -0
- package/dist/hud/elements/call-counts.js +53 -0
- package/dist/hud/elements/call-counts.js.map +1 -0
- package/dist/hud/elements/context-warning.d.ts +17 -0
- package/dist/hud/elements/context-warning.d.ts.map +1 -0
- package/dist/hud/elements/context-warning.js +31 -0
- package/dist/hud/elements/context-warning.js.map +1 -0
- package/dist/hud/elements/context.d.ts +29 -0
- package/dist/hud/elements/context.d.ts.map +1 -0
- package/dist/hud/elements/context.js +115 -0
- package/dist/hud/elements/context.js.map +1 -0
- package/dist/hud/elements/cwd.d.ts +17 -0
- package/dist/hud/elements/cwd.d.ts.map +1 -0
- package/dist/hud/elements/cwd.js +67 -0
- package/dist/hud/elements/cwd.js.map +1 -0
- package/dist/hud/elements/git.d.ts +56 -0
- package/dist/hud/elements/git.d.ts.map +1 -0
- package/dist/hud/elements/git.js +168 -0
- package/dist/hud/elements/git.js.map +1 -0
- package/dist/hud/elements/index.d.ts +26 -0
- package/dist/hud/elements/index.d.ts.map +1 -0
- package/dist/hud/elements/index.js +26 -0
- package/dist/hud/elements/index.js.map +1 -0
- package/dist/hud/elements/last-tool.d.ts +12 -0
- package/dist/hud/elements/last-tool.d.ts.map +1 -0
- package/dist/hud/elements/last-tool.js +17 -0
- package/dist/hud/elements/last-tool.js.map +1 -0
- package/dist/hud/elements/limits.d.ts +44 -0
- package/dist/hud/elements/limits.d.ts.map +1 -0
- package/dist/hud/elements/limits.js +293 -0
- package/dist/hud/elements/limits.js.map +1 -0
- package/dist/hud/elements/mission-board.d.ts +2 -0
- package/dist/hud/elements/mission-board.d.ts.map +1 -0
- package/dist/hud/elements/mission-board.js +2 -0
- package/dist/hud/elements/mission-board.js.map +1 -0
- package/dist/hud/elements/model.d.ts +16 -0
- package/dist/hud/elements/model.d.ts.map +1 -0
- package/dist/hud/elements/model.js +63 -0
- package/dist/hud/elements/model.js.map +1 -0
- package/dist/hud/elements/permission.d.ts +13 -0
- package/dist/hud/elements/permission.d.ts.map +1 -0
- package/dist/hud/elements/permission.js +20 -0
- package/dist/hud/elements/permission.js.map +1 -0
- package/dist/hud/elements/prd.d.ts +20 -0
- package/dist/hud/elements/prd.d.ts.map +1 -0
- package/dist/hud/elements/prd.js +52 -0
- package/dist/hud/elements/prd.js.map +1 -0
- package/dist/hud/elements/prompt-time.d.ts +14 -0
- package/dist/hud/elements/prompt-time.d.ts.map +1 -0
- package/dist/hud/elements/prompt-time.js +44 -0
- package/dist/hud/elements/prompt-time.js.map +1 -0
- package/dist/hud/elements/ralph.d.ts +14 -0
- package/dist/hud/elements/ralph.d.ts.map +1 -0
- package/dist/hud/elements/ralph.js +36 -0
- package/dist/hud/elements/ralph.js.map +1 -0
- package/dist/hud/elements/session-summary.d.ts +23 -0
- package/dist/hud/elements/session-summary.d.ts.map +1 -0
- package/dist/hud/elements/session-summary.js +23 -0
- package/dist/hud/elements/session-summary.js.map +1 -0
- package/dist/hud/elements/session.d.ts +13 -0
- package/dist/hud/elements/session.d.ts.map +1 -0
- package/dist/hud/elements/session.js +24 -0
- package/dist/hud/elements/session.js.map +1 -0
- package/dist/hud/elements/skills.d.ts +24 -0
- package/dist/hud/elements/skills.d.ts.map +1 -0
- package/dist/hud/elements/skills.js +93 -0
- package/dist/hud/elements/skills.js.map +1 -0
- package/dist/hud/elements/thinking.d.ts +15 -0
- package/dist/hud/elements/thinking.d.ts.map +1 -0
- package/dist/hud/elements/thinking.js +31 -0
- package/dist/hud/elements/thinking.js.map +1 -0
- package/dist/hud/elements/todos.d.ts +20 -0
- package/dist/hud/elements/todos.d.ts.map +1 -0
- package/dist/hud/elements/todos.js +71 -0
- package/dist/hud/elements/todos.js.map +1 -0
- package/dist/hud/elements/token-usage.d.ts +8 -0
- package/dist/hud/elements/token-usage.d.ts.map +1 -0
- package/dist/hud/elements/token-usage.js +24 -0
- package/dist/hud/elements/token-usage.js.map +1 -0
- package/dist/hud/index.d.ts +18 -0
- package/dist/hud/index.d.ts.map +1 -0
- package/dist/hud/index.js +432 -0
- package/dist/hud/index.js.map +1 -0
- package/dist/hud/mission-board.d.ts +75 -0
- package/dist/hud/mission-board.d.ts.map +1 -0
- package/dist/hud/mission-board.js +426 -0
- package/dist/hud/mission-board.js.map +1 -0
- package/dist/hud/omc-state.d.ts +38 -0
- package/dist/hud/omc-state.d.ts.map +1 -0
- package/dist/hud/omc-state.js +264 -0
- package/dist/hud/omc-state.js.map +1 -0
- package/dist/hud/render.d.ts +29 -0
- package/dist/hud/render.d.ts.map +1 -0
- package/dist/hud/render.js +428 -0
- package/dist/hud/render.js.map +1 -0
- package/dist/hud/sanitize.d.ts +54 -0
- package/dist/hud/sanitize.d.ts.map +1 -0
- package/dist/hud/sanitize.js +88 -0
- package/dist/hud/sanitize.js.map +1 -0
- package/dist/hud/state.d.ts +49 -0
- package/dist/hud/state.d.ts.map +1 -0
- package/dist/hud/state.js +309 -0
- package/dist/hud/state.js.map +1 -0
- package/dist/hud/stdin.d.ts +39 -0
- package/dist/hud/stdin.d.ts.map +1 -0
- package/dist/hud/stdin.js +158 -0
- package/dist/hud/stdin.js.map +1 -0
- package/dist/hud/transcript.d.ts +35 -0
- package/dist/hud/transcript.d.ts.map +1 -0
- package/dist/hud/transcript.js +488 -0
- package/dist/hud/transcript.js.map +1 -0
- package/dist/hud/types.d.ts +416 -0
- package/dist/hud/types.d.ts.map +1 -0
- package/dist/hud/types.js +282 -0
- package/dist/hud/types.js.map +1 -0
- package/dist/hud/usage-api.d.ts +49 -0
- package/dist/hud/usage-api.d.ts.map +1 -0
- package/dist/hud/usage-api.js +772 -0
- package/dist/hud/usage-api.js.map +1 -0
- package/dist/index.d.ts +121 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +188 -0
- package/dist/index.js.map +1 -0
- package/dist/installer/__tests__/claude-md-merge.test.d.ts +6 -0
- package/dist/installer/__tests__/claude-md-merge.test.d.ts.map +1 -0
- package/dist/installer/__tests__/claude-md-merge.test.js +316 -0
- package/dist/installer/__tests__/claude-md-merge.test.js.map +1 -0
- package/dist/installer/__tests__/hook-templates.test.d.ts +2 -0
- package/dist/installer/__tests__/hook-templates.test.d.ts.map +1 -0
- package/dist/installer/__tests__/hook-templates.test.js +121 -0
- package/dist/installer/__tests__/hook-templates.test.js.map +1 -0
- package/dist/installer/__tests__/mcp-registry.test.d.ts +2 -0
- package/dist/installer/__tests__/mcp-registry.test.d.ts.map +1 -0
- package/dist/installer/__tests__/mcp-registry.test.js +316 -0
- package/dist/installer/__tests__/mcp-registry.test.js.map +1 -0
- package/dist/installer/__tests__/safe-installer.test.d.ts +6 -0
- package/dist/installer/__tests__/safe-installer.test.d.ts.map +1 -0
- package/dist/installer/__tests__/safe-installer.test.js +188 -0
- package/dist/installer/__tests__/safe-installer.test.js.map +1 -0
- package/dist/installer/__tests__/session-start-template.test.d.ts +2 -0
- package/dist/installer/__tests__/session-start-template.test.d.ts.map +1 -0
- package/dist/installer/__tests__/session-start-template.test.js +95 -0
- package/dist/installer/__tests__/session-start-template.test.js.map +1 -0
- package/dist/installer/__tests__/standalone-hook-reconcile.test.d.ts +2 -0
- package/dist/installer/__tests__/standalone-hook-reconcile.test.d.ts.map +1 -0
- package/dist/installer/__tests__/standalone-hook-reconcile.test.js +94 -0
- package/dist/installer/__tests__/standalone-hook-reconcile.test.js.map +1 -0
- package/dist/installer/hooks.d.ts +138 -0
- package/dist/installer/hooks.d.ts.map +1 -0
- package/dist/installer/hooks.js +448 -0
- package/dist/installer/hooks.js.map +1 -0
- package/dist/installer/index.d.ts +167 -0
- package/dist/installer/index.d.ts.map +1 -0
- package/dist/installer/index.js +1258 -0
- package/dist/installer/index.js.map +1 -0
- package/dist/installer/mcp-registry.d.ts +48 -0
- package/dist/installer/mcp-registry.d.ts.map +1 -0
- package/dist/installer/mcp-registry.js +453 -0
- package/dist/installer/mcp-registry.js.map +1 -0
- package/dist/interop/__tests__/mcp-bridge.test.d.ts +2 -0
- package/dist/interop/__tests__/mcp-bridge.test.d.ts.map +1 -0
- package/dist/interop/__tests__/mcp-bridge.test.js +60 -0
- package/dist/interop/__tests__/mcp-bridge.test.js.map +1 -0
- package/dist/interop/mcp-bridge.d.ts +66 -0
- package/dist/interop/mcp-bridge.d.ts.map +1 -0
- package/dist/interop/mcp-bridge.js +528 -0
- package/dist/interop/mcp-bridge.js.map +1 -0
- package/dist/interop/omx-team-state.d.ts +133 -0
- package/dist/interop/omx-team-state.d.ts.map +1 -0
- package/dist/interop/omx-team-state.js +301 -0
- package/dist/interop/omx-team-state.js.map +1 -0
- package/dist/interop/shared-state.d.ts +96 -0
- package/dist/interop/shared-state.d.ts.map +1 -0
- package/dist/interop/shared-state.js +324 -0
- package/dist/interop/shared-state.js.map +1 -0
- package/dist/lib/__tests__/mode-state-io.test.d.ts +2 -0
- package/dist/lib/__tests__/mode-state-io.test.d.ts.map +1 -0
- package/dist/lib/__tests__/mode-state-io.test.js +244 -0
- package/dist/lib/__tests__/mode-state-io.test.js.map +1 -0
- package/dist/lib/__tests__/payload-limits.test.d.ts +2 -0
- package/dist/lib/__tests__/payload-limits.test.d.ts.map +1 -0
- package/dist/lib/__tests__/payload-limits.test.js +124 -0
- package/dist/lib/__tests__/payload-limits.test.js.map +1 -0
- package/dist/lib/__tests__/swallowed-error.test.d.ts +2 -0
- package/dist/lib/__tests__/swallowed-error.test.d.ts.map +1 -0
- package/dist/lib/__tests__/swallowed-error.test.js +19 -0
- package/dist/lib/__tests__/swallowed-error.test.js.map +1 -0
- package/dist/lib/__tests__/worktree-paths.test.d.ts +2 -0
- package/dist/lib/__tests__/worktree-paths.test.d.ts.map +1 -0
- package/dist/lib/__tests__/worktree-paths.test.js +472 -0
- package/dist/lib/__tests__/worktree-paths.test.js.map +1 -0
- package/dist/lib/atomic-write.d.ts +56 -0
- package/dist/lib/atomic-write.d.ts.map +1 -0
- package/dist/lib/atomic-write.js +242 -0
- package/dist/lib/atomic-write.js.map +1 -0
- package/dist/lib/featured-contributors.d.ts +54 -0
- package/dist/lib/featured-contributors.d.ts.map +1 -0
- package/dist/lib/featured-contributors.js +290 -0
- package/dist/lib/featured-contributors.js.map +1 -0
- package/dist/lib/file-lock.d.ts +75 -0
- package/dist/lib/file-lock.d.ts.map +1 -0
- package/dist/lib/file-lock.js +244 -0
- package/dist/lib/file-lock.js.map +1 -0
- package/dist/lib/job-state-db.d.ts +150 -0
- package/dist/lib/job-state-db.d.ts.map +1 -0
- package/dist/lib/job-state-db.js +650 -0
- package/dist/lib/job-state-db.js.map +1 -0
- package/dist/lib/mode-names.d.ts +53 -0
- package/dist/lib/mode-names.d.ts.map +1 -0
- package/dist/lib/mode-names.js +72 -0
- package/dist/lib/mode-names.js.map +1 -0
- package/dist/lib/mode-state-io.d.ts +53 -0
- package/dist/lib/mode-state-io.d.ts.map +1 -0
- package/dist/lib/mode-state-io.js +205 -0
- package/dist/lib/mode-state-io.js.map +1 -0
- package/dist/lib/payload-limits.d.ts +31 -0
- package/dist/lib/payload-limits.d.ts.map +1 -0
- package/dist/lib/payload-limits.js +82 -0
- package/dist/lib/payload-limits.js.map +1 -0
- package/dist/lib/project-memory-merge.d.ts +36 -0
- package/dist/lib/project-memory-merge.d.ts.map +1 -0
- package/dist/lib/project-memory-merge.js +156 -0
- package/dist/lib/project-memory-merge.js.map +1 -0
- package/dist/lib/security-config.d.ts +53 -0
- package/dist/lib/security-config.d.ts.map +1 -0
- package/dist/lib/security-config.js +132 -0
- package/dist/lib/security-config.js.map +1 -0
- package/dist/lib/session-isolation.d.ts +32 -0
- package/dist/lib/session-isolation.d.ts.map +1 -0
- package/dist/lib/session-isolation.js +39 -0
- package/dist/lib/session-isolation.js.map +1 -0
- package/dist/lib/shared-memory.d.ts +82 -0
- package/dist/lib/shared-memory.d.ts.map +1 -0
- package/dist/lib/shared-memory.js +324 -0
- package/dist/lib/shared-memory.js.map +1 -0
- package/dist/lib/swallowed-error.d.ts +4 -0
- package/dist/lib/swallowed-error.d.ts.map +1 -0
- package/dist/lib/swallowed-error.js +26 -0
- package/dist/lib/swallowed-error.js.map +1 -0
- package/dist/lib/version.d.ts +10 -0
- package/dist/lib/version.d.ts.map +1 -0
- package/dist/lib/version.js +37 -0
- package/dist/lib/version.js.map +1 -0
- package/dist/lib/worktree-paths.d.ts +256 -0
- package/dist/lib/worktree-paths.d.ts.map +1 -0
- package/dist/lib/worktree-paths.js +643 -0
- package/dist/lib/worktree-paths.js.map +1 -0
- package/dist/mcp/__tests__/prompt-injection.test.d.ts +2 -0
- package/dist/mcp/__tests__/prompt-injection.test.d.ts.map +1 -0
- package/dist/mcp/__tests__/prompt-injection.test.js +121 -0
- package/dist/mcp/__tests__/prompt-injection.test.js.map +1 -0
- package/dist/mcp/__tests__/standalone-shutdown.test.d.ts +2 -0
- package/dist/mcp/__tests__/standalone-shutdown.test.d.ts.map +1 -0
- package/dist/mcp/__tests__/standalone-shutdown.test.js +57 -0
- package/dist/mcp/__tests__/standalone-shutdown.test.js.map +1 -0
- package/dist/mcp/__tests__/team-cleanup.test.d.ts +11 -0
- package/dist/mcp/__tests__/team-cleanup.test.d.ts.map +1 -0
- package/dist/mcp/__tests__/team-cleanup.test.js +228 -0
- package/dist/mcp/__tests__/team-cleanup.test.js.map +1 -0
- package/dist/mcp/__tests__/team-server-artifact-convergence.test.d.ts +2 -0
- package/dist/mcp/__tests__/team-server-artifact-convergence.test.d.ts.map +1 -0
- package/dist/mcp/__tests__/team-server-artifact-convergence.test.js +111 -0
- package/dist/mcp/__tests__/team-server-artifact-convergence.test.js.map +1 -0
- package/dist/mcp/index.d.ts +14 -0
- package/dist/mcp/index.d.ts.map +1 -0
- package/dist/mcp/index.js +17 -0
- package/dist/mcp/index.js.map +1 -0
- package/dist/mcp/job-management.d.ts +155 -0
- package/dist/mcp/job-management.d.ts.map +1 -0
- package/dist/mcp/job-management.js +655 -0
- package/dist/mcp/job-management.js.map +1 -0
- package/dist/mcp/mcp-config.d.ts +55 -0
- package/dist/mcp/mcp-config.d.ts.map +1 -0
- package/dist/mcp/mcp-config.js +94 -0
- package/dist/mcp/mcp-config.js.map +1 -0
- package/dist/mcp/omc-tools-server.d.ts +72 -0
- package/dist/mcp/omc-tools-server.d.ts.map +1 -0
- package/dist/mcp/omc-tools-server.js +188 -0
- package/dist/mcp/omc-tools-server.js.map +1 -0
- package/dist/mcp/prompt-injection.d.ts +23 -0
- package/dist/mcp/prompt-injection.d.ts.map +1 -0
- package/dist/mcp/prompt-injection.js +76 -0
- package/dist/mcp/prompt-injection.js.map +1 -0
- package/dist/mcp/prompt-persistence.d.ts +155 -0
- package/dist/mcp/prompt-persistence.d.ts.map +1 -0
- package/dist/mcp/prompt-persistence.js +374 -0
- package/dist/mcp/prompt-persistence.js.map +1 -0
- package/dist/mcp/servers.d.ts +61 -0
- package/dist/mcp/servers.d.ts.map +1 -0
- package/dist/mcp/servers.js +90 -0
- package/dist/mcp/servers.js.map +1 -0
- package/dist/mcp/standalone-server.d.ts +11 -0
- package/dist/mcp/standalone-server.d.ts.map +1 -0
- package/dist/mcp/standalone-server.js +205 -0
- package/dist/mcp/standalone-server.js.map +1 -0
- package/dist/mcp/standalone-shutdown.d.ts +25 -0
- package/dist/mcp/standalone-shutdown.d.ts.map +1 -0
- package/dist/mcp/standalone-shutdown.js +68 -0
- package/dist/mcp/standalone-shutdown.js.map +1 -0
- package/dist/mcp/team-job-convergence.d.ts +19 -0
- package/dist/mcp/team-job-convergence.d.ts.map +1 -0
- package/dist/mcp/team-job-convergence.js +101 -0
- package/dist/mcp/team-job-convergence.js.map +1 -0
- package/dist/mcp/team-server.d.ts +39 -0
- package/dist/mcp/team-server.d.ts.map +1 -0
- package/dist/mcp/team-server.js +498 -0
- package/dist/mcp/team-server.js.map +1 -0
- package/dist/notifications/__tests__/config-merge.test.d.ts +2 -0
- package/dist/notifications/__tests__/config-merge.test.d.ts.map +1 -0
- package/dist/notifications/__tests__/config-merge.test.js +345 -0
- package/dist/notifications/__tests__/config-merge.test.js.map +1 -0
- package/dist/notifications/__tests__/config.test.d.ts +2 -0
- package/dist/notifications/__tests__/config.test.d.ts.map +1 -0
- package/dist/notifications/__tests__/config.test.js +401 -0
- package/dist/notifications/__tests__/config.test.js.map +1 -0
- package/dist/notifications/__tests__/custom-integration.test.d.ts +8 -0
- package/dist/notifications/__tests__/custom-integration.test.d.ts.map +1 -0
- package/dist/notifications/__tests__/custom-integration.test.js +297 -0
- package/dist/notifications/__tests__/custom-integration.test.js.map +1 -0
- package/dist/notifications/__tests__/dispatcher.test.d.ts +2 -0
- package/dist/notifications/__tests__/dispatcher.test.d.ts.map +1 -0
- package/dist/notifications/__tests__/dispatcher.test.js +1194 -0
- package/dist/notifications/__tests__/dispatcher.test.js.map +1 -0
- package/dist/notifications/__tests__/formatter.test.d.ts +2 -0
- package/dist/notifications/__tests__/formatter.test.d.ts.map +1 -0
- package/dist/notifications/__tests__/formatter.test.js +303 -0
- package/dist/notifications/__tests__/formatter.test.js.map +1 -0
- package/dist/notifications/__tests__/hook-config.test.d.ts +14 -0
- package/dist/notifications/__tests__/hook-config.test.d.ts.map +1 -0
- package/dist/notifications/__tests__/hook-config.test.js +210 -0
- package/dist/notifications/__tests__/hook-config.test.js.map +1 -0
- package/dist/notifications/__tests__/notify-registry-integration.test.d.ts +2 -0
- package/dist/notifications/__tests__/notify-registry-integration.test.d.ts.map +1 -0
- package/dist/notifications/__tests__/notify-registry-integration.test.js +378 -0
- package/dist/notifications/__tests__/notify-registry-integration.test.js.map +1 -0
- package/dist/notifications/__tests__/platform-gating.test.d.ts +12 -0
- package/dist/notifications/__tests__/platform-gating.test.d.ts.map +1 -0
- package/dist/notifications/__tests__/platform-gating.test.js +140 -0
- package/dist/notifications/__tests__/platform-gating.test.js.map +1 -0
- package/dist/notifications/__tests__/profiles.test.d.ts +2 -0
- package/dist/notifications/__tests__/profiles.test.d.ts.map +1 -0
- package/dist/notifications/__tests__/profiles.test.js +253 -0
- package/dist/notifications/__tests__/profiles.test.js.map +1 -0
- package/dist/notifications/__tests__/redact.test.d.ts +2 -0
- package/dist/notifications/__tests__/redact.test.d.ts.map +1 -0
- package/dist/notifications/__tests__/redact.test.js +111 -0
- package/dist/notifications/__tests__/redact.test.js.map +1 -0
- package/dist/notifications/__tests__/reply-config.test.d.ts +2 -0
- package/dist/notifications/__tests__/reply-config.test.d.ts.map +1 -0
- package/dist/notifications/__tests__/reply-config.test.js +213 -0
- package/dist/notifications/__tests__/reply-config.test.js.map +1 -0
- package/dist/notifications/__tests__/reply-listener.test.d.ts +2 -0
- package/dist/notifications/__tests__/reply-listener.test.d.ts.map +1 -0
- package/dist/notifications/__tests__/reply-listener.test.js +486 -0
- package/dist/notifications/__tests__/reply-listener.test.js.map +1 -0
- package/dist/notifications/__tests__/session-registry.test.d.ts +2 -0
- package/dist/notifications/__tests__/session-registry.test.d.ts.map +1 -0
- package/dist/notifications/__tests__/session-registry.test.js +487 -0
- package/dist/notifications/__tests__/session-registry.test.js.map +1 -0
- package/dist/notifications/__tests__/slack-socket.test.d.ts +2 -0
- package/dist/notifications/__tests__/slack-socket.test.d.ts.map +1 -0
- package/dist/notifications/__tests__/slack-socket.test.js +293 -0
- package/dist/notifications/__tests__/slack-socket.test.js.map +1 -0
- package/dist/notifications/__tests__/template-engine.test.d.ts +13 -0
- package/dist/notifications/__tests__/template-engine.test.d.ts.map +1 -0
- package/dist/notifications/__tests__/template-engine.test.js +410 -0
- package/dist/notifications/__tests__/template-engine.test.js.map +1 -0
- package/dist/notifications/__tests__/tmux.test.d.ts +2 -0
- package/dist/notifications/__tests__/tmux.test.d.ts.map +1 -0
- package/dist/notifications/__tests__/tmux.test.js +137 -0
- package/dist/notifications/__tests__/tmux.test.js.map +1 -0
- package/dist/notifications/__tests__/verbosity.test.d.ts +2 -0
- package/dist/notifications/__tests__/verbosity.test.d.ts.map +1 -0
- package/dist/notifications/__tests__/verbosity.test.js +162 -0
- package/dist/notifications/__tests__/verbosity.test.js.map +1 -0
- package/dist/notifications/config.d.ts +155 -0
- package/dist/notifications/config.d.ts.map +1 -0
- package/dist/notifications/config.js +865 -0
- package/dist/notifications/config.js.map +1 -0
- package/dist/notifications/dispatcher.d.ts +57 -0
- package/dist/notifications/dispatcher.d.ts.map +1 -0
- package/dist/notifications/dispatcher.js +672 -0
- package/dist/notifications/dispatcher.js.map +1 -0
- package/dist/notifications/formatter.d.ts +50 -0
- package/dist/notifications/formatter.d.ts.map +1 -0
- package/dist/notifications/formatter.js +254 -0
- package/dist/notifications/formatter.js.map +1 -0
- package/dist/notifications/hook-config-types.d.ts +44 -0
- package/dist/notifications/hook-config-types.d.ts.map +1 -0
- package/dist/notifications/hook-config-types.js +8 -0
- package/dist/notifications/hook-config-types.js.map +1 -0
- package/dist/notifications/hook-config.d.ts +36 -0
- package/dist/notifications/hook-config.d.ts.map +1 -0
- package/dist/notifications/hook-config.js +95 -0
- package/dist/notifications/hook-config.js.map +1 -0
- package/dist/notifications/index.d.ts +44 -0
- package/dist/notifications/index.d.ts.map +1 -0
- package/dist/notifications/index.js +165 -0
- package/dist/notifications/index.js.map +1 -0
- package/dist/notifications/presets.d.ts +43 -0
- package/dist/notifications/presets.d.ts.map +1 -0
- package/dist/notifications/presets.js +122 -0
- package/dist/notifications/presets.js.map +1 -0
- package/dist/notifications/redact.d.ts +21 -0
- package/dist/notifications/redact.d.ts.map +1 -0
- package/dist/notifications/redact.js +42 -0
- package/dist/notifications/redact.js.map +1 -0
- package/dist/notifications/reply-listener.d.ts +140 -0
- package/dist/notifications/reply-listener.d.ts.map +1 -0
- package/dist/notifications/reply-listener.js +965 -0
- package/dist/notifications/reply-listener.js.map +1 -0
- package/dist/notifications/session-registry.d.ts +52 -0
- package/dist/notifications/session-registry.d.ts.map +1 -0
- package/dist/notifications/session-registry.js +382 -0
- package/dist/notifications/session-registry.js.map +1 -0
- package/dist/notifications/slack-socket.d.ts +242 -0
- package/dist/notifications/slack-socket.d.ts.map +1 -0
- package/dist/notifications/slack-socket.js +603 -0
- package/dist/notifications/slack-socket.js.map +1 -0
- package/dist/notifications/template-engine.d.ts +34 -0
- package/dist/notifications/template-engine.d.ts.map +1 -0
- package/dist/notifications/template-engine.js +252 -0
- package/dist/notifications/template-engine.js.map +1 -0
- package/dist/notifications/template-variables.d.ts +26 -0
- package/dist/notifications/template-variables.d.ts.map +1 -0
- package/dist/notifications/template-variables.js +139 -0
- package/dist/notifications/template-variables.js.map +1 -0
- package/dist/notifications/tmux.d.ts +27 -0
- package/dist/notifications/tmux.d.ts.map +1 -0
- package/dist/notifications/tmux.js +103 -0
- package/dist/notifications/tmux.js.map +1 -0
- package/dist/notifications/types.d.ts +257 -0
- package/dist/notifications/types.d.ts.map +1 -0
- package/dist/notifications/types.js +9 -0
- package/dist/notifications/types.js.map +1 -0
- package/dist/notifications/validation.d.ts +24 -0
- package/dist/notifications/validation.d.ts.map +1 -0
- package/dist/notifications/validation.js +167 -0
- package/dist/notifications/validation.js.map +1 -0
- package/dist/openclaw/__tests__/config.test.d.ts +2 -0
- package/dist/openclaw/__tests__/config.test.d.ts.map +1 -0
- package/dist/openclaw/__tests__/config.test.js +200 -0
- package/dist/openclaw/__tests__/config.test.js.map +1 -0
- package/dist/openclaw/__tests__/dispatcher.test.d.ts +2 -0
- package/dist/openclaw/__tests__/dispatcher.test.d.ts.map +1 -0
- package/dist/openclaw/__tests__/dispatcher.test.js +373 -0
- package/dist/openclaw/__tests__/dispatcher.test.js.map +1 -0
- package/dist/openclaw/__tests__/index.test.d.ts +2 -0
- package/dist/openclaw/__tests__/index.test.d.ts.map +1 -0
- package/dist/openclaw/__tests__/index.test.js +359 -0
- package/dist/openclaw/__tests__/index.test.js.map +1 -0
- package/dist/openclaw/__tests__/signal.test.d.ts +2 -0
- package/dist/openclaw/__tests__/signal.test.d.ts.map +1 -0
- package/dist/openclaw/__tests__/signal.test.js +69 -0
- package/dist/openclaw/__tests__/signal.test.js.map +1 -0
- package/dist/openclaw/config.d.ts +33 -0
- package/dist/openclaw/config.d.ts.map +1 -0
- package/dist/openclaw/config.js +83 -0
- package/dist/openclaw/config.js.map +1 -0
- package/dist/openclaw/dispatcher.d.ts +51 -0
- package/dist/openclaw/dispatcher.d.ts.map +1 -0
- package/dist/openclaw/dispatcher.js +149 -0
- package/dist/openclaw/dispatcher.js.map +1 -0
- package/dist/openclaw/index.d.ts +26 -0
- package/dist/openclaw/index.d.ts.map +1 -0
- package/dist/openclaw/index.js +169 -0
- package/dist/openclaw/index.js.map +1 -0
- package/dist/openclaw/signal.d.ts +3 -0
- package/dist/openclaw/signal.d.ts.map +1 -0
- package/dist/openclaw/signal.js +215 -0
- package/dist/openclaw/signal.js.map +1 -0
- package/dist/openclaw/types.d.ts +149 -0
- package/dist/openclaw/types.d.ts.map +1 -0
- package/dist/openclaw/types.js +8 -0
- package/dist/openclaw/types.js.map +1 -0
- package/dist/planning/__tests__/artifacts.test.d.ts +2 -0
- package/dist/planning/__tests__/artifacts.test.d.ts.map +1 -0
- package/dist/planning/__tests__/artifacts.test.js +303 -0
- package/dist/planning/__tests__/artifacts.test.js.map +1 -0
- package/dist/planning/artifacts.d.ts +29 -0
- package/dist/planning/artifacts.d.ts.map +1 -0
- package/dist/planning/artifacts.js +144 -0
- package/dist/planning/artifacts.js.map +1 -0
- package/dist/platform/index.d.ts +21 -0
- package/dist/platform/index.d.ts.map +1 -0
- package/dist/platform/index.js +46 -0
- package/dist/platform/index.js.map +1 -0
- package/dist/platform/process-utils.d.ts +27 -0
- package/dist/platform/process-utils.d.ts.map +1 -0
- package/dist/platform/process-utils.js +207 -0
- package/dist/platform/process-utils.js.map +1 -0
- package/dist/providers/azure-devops.d.ts +13 -0
- package/dist/providers/azure-devops.d.ts.map +1 -0
- package/dist/providers/azure-devops.js +77 -0
- package/dist/providers/azure-devops.js.map +1 -0
- package/dist/providers/bitbucket.d.ts +13 -0
- package/dist/providers/bitbucket.d.ts.map +1 -0
- package/dist/providers/bitbucket.js +87 -0
- package/dist/providers/bitbucket.js.map +1 -0
- package/dist/providers/gitea.d.ts +20 -0
- package/dist/providers/gitea.d.ts.map +1 -0
- package/dist/providers/gitea.js +174 -0
- package/dist/providers/gitea.js.map +1 -0
- package/dist/providers/github.d.ts +13 -0
- package/dist/providers/github.d.ts.map +1 -0
- package/dist/providers/github.js +79 -0
- package/dist/providers/github.js.map +1 -0
- package/dist/providers/gitlab.d.ts +14 -0
- package/dist/providers/gitlab.d.ts.map +1 -0
- package/dist/providers/gitlab.js +94 -0
- package/dist/providers/gitlab.js.map +1 -0
- package/dist/providers/index.d.ts +41 -0
- package/dist/providers/index.d.ts.map +1 -0
- package/dist/providers/index.js +219 -0
- package/dist/providers/index.js.map +1 -0
- package/dist/providers/types.d.ts +66 -0
- package/dist/providers/types.d.ts.map +1 -0
- package/dist/providers/types.js +8 -0
- package/dist/providers/types.js.map +1 -0
- package/dist/ralphthon/__tests__/cli.test.d.ts +5 -0
- package/dist/ralphthon/__tests__/cli.test.d.ts.map +1 -0
- package/dist/ralphthon/__tests__/cli.test.js +103 -0
- package/dist/ralphthon/__tests__/cli.test.js.map +1 -0
- package/dist/ralphthon/__tests__/orchestrator.test.d.ts +5 -0
- package/dist/ralphthon/__tests__/orchestrator.test.d.ts.map +1 -0
- package/dist/ralphthon/__tests__/orchestrator.test.js +393 -0
- package/dist/ralphthon/__tests__/orchestrator.test.js.map +1 -0
- package/dist/ralphthon/__tests__/prd.test.d.ts +5 -0
- package/dist/ralphthon/__tests__/prd.test.d.ts.map +1 -0
- package/dist/ralphthon/__tests__/prd.test.js +454 -0
- package/dist/ralphthon/__tests__/prd.test.js.map +1 -0
- package/dist/ralphthon/deep-interview-prompt.d.ts +2 -0
- package/dist/ralphthon/deep-interview-prompt.d.ts.map +1 -0
- package/dist/ralphthon/deep-interview-prompt.js +20 -0
- package/dist/ralphthon/deep-interview-prompt.js.map +1 -0
- package/dist/ralphthon/index.d.ts +13 -0
- package/dist/ralphthon/index.d.ts.map +1 -0
- package/dist/ralphthon/index.js +14 -0
- package/dist/ralphthon/index.js.map +1 -0
- package/dist/ralphthon/orchestrator.d.ts +112 -0
- package/dist/ralphthon/orchestrator.d.ts.map +1 -0
- package/dist/ralphthon/orchestrator.js +453 -0
- package/dist/ralphthon/orchestrator.js.map +1 -0
- package/dist/ralphthon/prd.d.ts +111 -0
- package/dist/ralphthon/prd.d.ts.map +1 -0
- package/dist/ralphthon/prd.js +345 -0
- package/dist/ralphthon/prd.js.map +1 -0
- package/dist/ralphthon/types.d.ts +213 -0
- package/dist/ralphthon/types.d.ts.map +1 -0
- package/dist/ralphthon/types.js +21 -0
- package/dist/ralphthon/types.js.map +1 -0
- package/dist/shared/index.d.ts +5 -0
- package/dist/shared/index.d.ts.map +1 -0
- package/dist/shared/index.js +5 -0
- package/dist/shared/index.js.map +1 -0
- package/dist/shared/types.d.ts +366 -0
- package/dist/shared/types.d.ts.map +1 -0
- package/dist/shared/types.js +5 -0
- package/dist/shared/types.js.map +1 -0
- package/dist/skills/__tests__/mingw-escape.test.d.ts +9 -0
- package/dist/skills/__tests__/mingw-escape.test.d.ts.map +1 -0
- package/dist/skills/__tests__/mingw-escape.test.js +150 -0
- package/dist/skills/__tests__/mingw-escape.test.js.map +1 -0
- package/dist/team/__tests__/activity-log.test.d.ts +2 -0
- package/dist/team/__tests__/activity-log.test.d.ts.map +1 -0
- package/dist/team/__tests__/activity-log.test.js +141 -0
- package/dist/team/__tests__/activity-log.test.js.map +1 -0
- package/dist/team/__tests__/allocation-policy.test.d.ts +2 -0
- package/dist/team/__tests__/allocation-policy.test.d.ts.map +1 -0
- package/dist/team/__tests__/allocation-policy.test.js +125 -0
- package/dist/team/__tests__/allocation-policy.test.js.map +1 -0
- package/dist/team/__tests__/api-interop.cleanup.test.d.ts +2 -0
- package/dist/team/__tests__/api-interop.cleanup.test.d.ts.map +1 -0
- package/dist/team/__tests__/api-interop.cleanup.test.js +129 -0
- package/dist/team/__tests__/api-interop.cleanup.test.js.map +1 -0
- package/dist/team/__tests__/api-interop.command-dialect.test.d.ts +2 -0
- package/dist/team/__tests__/api-interop.command-dialect.test.d.ts.map +1 -0
- package/dist/team/__tests__/api-interop.command-dialect.test.js +26 -0
- package/dist/team/__tests__/api-interop.command-dialect.test.js.map +1 -0
- package/dist/team/__tests__/api-interop.compatibility.test.d.ts +2 -0
- package/dist/team/__tests__/api-interop.compatibility.test.d.ts.map +1 -0
- package/dist/team/__tests__/api-interop.compatibility.test.js +93 -0
- package/dist/team/__tests__/api-interop.compatibility.test.js.map +1 -0
- package/dist/team/__tests__/api-interop.cwd-resolution.test.d.ts +2 -0
- package/dist/team/__tests__/api-interop.cwd-resolution.test.d.ts.map +1 -0
- package/dist/team/__tests__/api-interop.cwd-resolution.test.js +100 -0
- package/dist/team/__tests__/api-interop.cwd-resolution.test.js.map +1 -0
- package/dist/team/__tests__/api-interop.dispatch.test.d.ts +2 -0
- package/dist/team/__tests__/api-interop.dispatch.test.d.ts.map +1 -0
- package/dist/team/__tests__/api-interop.dispatch.test.js +184 -0
- package/dist/team/__tests__/api-interop.dispatch.test.js.map +1 -0
- package/dist/team/__tests__/audit-log.test.d.ts +2 -0
- package/dist/team/__tests__/audit-log.test.d.ts.map +1 -0
- package/dist/team/__tests__/audit-log.test.js +300 -0
- package/dist/team/__tests__/audit-log.test.js.map +1 -0
- package/dist/team/__tests__/auto-cleanup.test.d.ts +13 -0
- package/dist/team/__tests__/auto-cleanup.test.d.ts.map +1 -0
- package/dist/team/__tests__/auto-cleanup.test.js +176 -0
- package/dist/team/__tests__/auto-cleanup.test.js.map +1 -0
- package/dist/team/__tests__/bridge-entry.guardrails.test.d.ts +2 -0
- package/dist/team/__tests__/bridge-entry.guardrails.test.d.ts.map +1 -0
- package/dist/team/__tests__/bridge-entry.guardrails.test.js +33 -0
- package/dist/team/__tests__/bridge-entry.guardrails.test.js.map +1 -0
- package/dist/team/__tests__/bridge-entry.test.d.ts +2 -0
- package/dist/team/__tests__/bridge-entry.test.d.ts.map +1 -0
- package/dist/team/__tests__/bridge-entry.test.js +82 -0
- package/dist/team/__tests__/bridge-entry.test.js.map +1 -0
- package/dist/team/__tests__/bridge-integration.test.d.ts +2 -0
- package/dist/team/__tests__/bridge-integration.test.d.ts.map +1 -0
- package/dist/team/__tests__/bridge-integration.test.js +316 -0
- package/dist/team/__tests__/bridge-integration.test.js.map +1 -0
- package/dist/team/__tests__/capabilities.test.d.ts +2 -0
- package/dist/team/__tests__/capabilities.test.d.ts.map +1 -0
- package/dist/team/__tests__/capabilities.test.js +97 -0
- package/dist/team/__tests__/capabilities.test.js.map +1 -0
- package/dist/team/__tests__/capture-file-snapshot.test.d.ts +2 -0
- package/dist/team/__tests__/capture-file-snapshot.test.d.ts.map +1 -0
- package/dist/team/__tests__/capture-file-snapshot.test.js +48 -0
- package/dist/team/__tests__/capture-file-snapshot.test.js.map +1 -0
- package/dist/team/__tests__/cli-detection.test.d.ts +2 -0
- package/dist/team/__tests__/cli-detection.test.d.ts.map +1 -0
- package/dist/team/__tests__/cli-detection.test.js +36 -0
- package/dist/team/__tests__/cli-detection.test.js.map +1 -0
- package/dist/team/__tests__/edge-cases.test.d.ts +16 -0
- package/dist/team/__tests__/edge-cases.test.d.ts.map +1 -0
- package/dist/team/__tests__/edge-cases.test.js +745 -0
- package/dist/team/__tests__/edge-cases.test.js.map +1 -0
- package/dist/team/__tests__/events.swallowed-error.test.d.ts +2 -0
- package/dist/team/__tests__/events.swallowed-error.test.d.ts.map +1 -0
- package/dist/team/__tests__/events.swallowed-error.test.js +33 -0
- package/dist/team/__tests__/events.swallowed-error.test.js.map +1 -0
- package/dist/team/__tests__/followup-planner.test.d.ts +2 -0
- package/dist/team/__tests__/followup-planner.test.d.ts.map +1 -0
- package/dist/team/__tests__/followup-planner.test.js +197 -0
- package/dist/team/__tests__/followup-planner.test.js.map +1 -0
- package/dist/team/__tests__/fs-utils.test.d.ts +2 -0
- package/dist/team/__tests__/fs-utils.test.d.ts.map +1 -0
- package/dist/team/__tests__/fs-utils.test.js +69 -0
- package/dist/team/__tests__/fs-utils.test.js.map +1 -0
- package/dist/team/__tests__/git-worktree.test.d.ts +2 -0
- package/dist/team/__tests__/git-worktree.test.d.ts.map +1 -0
- package/dist/team/__tests__/git-worktree.test.js +90 -0
- package/dist/team/__tests__/git-worktree.test.js.map +1 -0
- package/dist/team/__tests__/governance-enforcement.test.d.ts +2 -0
- package/dist/team/__tests__/governance-enforcement.test.d.ts.map +1 -0
- package/dist/team/__tests__/governance-enforcement.test.js +138 -0
- package/dist/team/__tests__/governance-enforcement.test.js.map +1 -0
- package/dist/team/__tests__/governance.test.d.ts +2 -0
- package/dist/team/__tests__/governance.test.d.ts.map +1 -0
- package/dist/team/__tests__/governance.test.js +38 -0
- package/dist/team/__tests__/governance.test.js.map +1 -0
- package/dist/team/__tests__/heartbeat.test.d.ts +2 -0
- package/dist/team/__tests__/heartbeat.test.d.ts.map +1 -0
- package/dist/team/__tests__/heartbeat.test.js +92 -0
- package/dist/team/__tests__/heartbeat.test.js.map +1 -0
- package/dist/team/__tests__/idle-nudge.test.d.ts +11 -0
- package/dist/team/__tests__/idle-nudge.test.d.ts.map +1 -0
- package/dist/team/__tests__/idle-nudge.test.js +291 -0
- package/dist/team/__tests__/idle-nudge.test.js.map +1 -0
- package/dist/team/__tests__/inbox-outbox.test.d.ts +2 -0
- package/dist/team/__tests__/inbox-outbox.test.d.ts.map +1 -0
- package/dist/team/__tests__/inbox-outbox.test.js +217 -0
- package/dist/team/__tests__/inbox-outbox.test.js.map +1 -0
- package/dist/team/__tests__/index.compat-exports.test.d.ts +2 -0
- package/dist/team/__tests__/index.compat-exports.test.d.ts.map +1 -0
- package/dist/team/__tests__/index.compat-exports.test.js +20 -0
- package/dist/team/__tests__/index.compat-exports.test.js.map +1 -0
- package/dist/team/__tests__/leader-nudge-guidance.test.d.ts +2 -0
- package/dist/team/__tests__/leader-nudge-guidance.test.d.ts.map +1 -0
- package/dist/team/__tests__/leader-nudge-guidance.test.js +37 -0
- package/dist/team/__tests__/leader-nudge-guidance.test.js.map +1 -0
- package/dist/team/__tests__/lifecycle-profile.test.d.ts +2 -0
- package/dist/team/__tests__/lifecycle-profile.test.d.ts.map +1 -0
- package/dist/team/__tests__/lifecycle-profile.test.js +46 -0
- package/dist/team/__tests__/lifecycle-profile.test.js.map +1 -0
- package/dist/team/__tests__/mcp-team-bridge.spawn-args.test.d.ts +2 -0
- package/dist/team/__tests__/mcp-team-bridge.spawn-args.test.d.ts.map +1 -0
- package/dist/team/__tests__/mcp-team-bridge.spawn-args.test.js +18 -0
- package/dist/team/__tests__/mcp-team-bridge.spawn-args.test.js.map +1 -0
- package/dist/team/__tests__/mcp-team-bridge.usage.test.d.ts +2 -0
- package/dist/team/__tests__/mcp-team-bridge.usage.test.d.ts.map +1 -0
- package/dist/team/__tests__/mcp-team-bridge.usage.test.js +51 -0
- package/dist/team/__tests__/mcp-team-bridge.usage.test.js.map +1 -0
- package/dist/team/__tests__/merge-coordinator.test.d.ts +2 -0
- package/dist/team/__tests__/merge-coordinator.test.d.ts.map +1 -0
- package/dist/team/__tests__/merge-coordinator.test.js +128 -0
- package/dist/team/__tests__/merge-coordinator.test.js.map +1 -0
- package/dist/team/__tests__/message-router.test.d.ts +2 -0
- package/dist/team/__tests__/message-router.test.d.ts.map +1 -0
- package/dist/team/__tests__/message-router.test.js +78 -0
- package/dist/team/__tests__/message-router.test.js.map +1 -0
- package/dist/team/__tests__/model-contract.test.d.ts +2 -0
- package/dist/team/__tests__/model-contract.test.d.ts.map +1 -0
- package/dist/team/__tests__/model-contract.test.js +412 -0
- package/dist/team/__tests__/model-contract.test.js.map +1 -0
- package/dist/team/__tests__/outbox-reader.test.d.ts +2 -0
- package/dist/team/__tests__/outbox-reader.test.d.ts.map +1 -0
- package/dist/team/__tests__/outbox-reader.test.js +149 -0
- package/dist/team/__tests__/outbox-reader.test.js.map +1 -0
- package/dist/team/__tests__/permissions.test.d.ts +2 -0
- package/dist/team/__tests__/permissions.test.d.ts.map +1 -0
- package/dist/team/__tests__/permissions.test.js +170 -0
- package/dist/team/__tests__/permissions.test.js.map +1 -0
- package/dist/team/__tests__/phase-controller.test.d.ts +2 -0
- package/dist/team/__tests__/phase-controller.test.d.ts.map +1 -0
- package/dist/team/__tests__/phase-controller.test.js +45 -0
- package/dist/team/__tests__/phase-controller.test.js.map +1 -0
- package/dist/team/__tests__/phase1-foundation.test.d.ts +2 -0
- package/dist/team/__tests__/phase1-foundation.test.d.ts.map +1 -0
- package/dist/team/__tests__/phase1-foundation.test.js +151 -0
- package/dist/team/__tests__/phase1-foundation.test.js.map +1 -0
- package/dist/team/__tests__/prompt-sanitization.test.d.ts +2 -0
- package/dist/team/__tests__/prompt-sanitization.test.d.ts.map +1 -0
- package/dist/team/__tests__/prompt-sanitization.test.js +150 -0
- package/dist/team/__tests__/prompt-sanitization.test.js.map +1 -0
- package/dist/team/__tests__/role-router.test.d.ts +2 -0
- package/dist/team/__tests__/role-router.test.d.ts.map +1 -0
- package/dist/team/__tests__/role-router.test.js +122 -0
- package/dist/team/__tests__/role-router.test.js.map +1 -0
- package/dist/team/__tests__/runtime-assign.test.d.ts +2 -0
- package/dist/team/__tests__/runtime-assign.test.d.ts.map +1 -0
- package/dist/team/__tests__/runtime-assign.test.js +43 -0
- package/dist/team/__tests__/runtime-assign.test.js.map +1 -0
- package/dist/team/__tests__/runtime-cli.test.d.ts +2 -0
- package/dist/team/__tests__/runtime-cli.test.d.ts.map +1 -0
- package/dist/team/__tests__/runtime-cli.test.js +159 -0
- package/dist/team/__tests__/runtime-cli.test.js.map +1 -0
- package/dist/team/__tests__/runtime-done-recovery.test.d.ts +2 -0
- package/dist/team/__tests__/runtime-done-recovery.test.d.ts.map +1 -0
- package/dist/team/__tests__/runtime-done-recovery.test.js +78 -0
- package/dist/team/__tests__/runtime-done-recovery.test.js.map +1 -0
- package/dist/team/__tests__/runtime-prompt-mode.test.d.ts +2 -0
- package/dist/team/__tests__/runtime-prompt-mode.test.d.ts.map +1 -0
- package/dist/team/__tests__/runtime-prompt-mode.test.js +411 -0
- package/dist/team/__tests__/runtime-prompt-mode.test.js.map +1 -0
- package/dist/team/__tests__/runtime-v2.dispatch.test.d.ts +2 -0
- package/dist/team/__tests__/runtime-v2.dispatch.test.d.ts.map +1 -0
- package/dist/team/__tests__/runtime-v2.dispatch.test.js +350 -0
- package/dist/team/__tests__/runtime-v2.dispatch.test.js.map +1 -0
- package/dist/team/__tests__/runtime-v2.feature-flag.test.d.ts +2 -0
- package/dist/team/__tests__/runtime-v2.feature-flag.test.d.ts.map +1 -0
- package/dist/team/__tests__/runtime-v2.feature-flag.test.js +20 -0
- package/dist/team/__tests__/runtime-v2.feature-flag.test.js.map +1 -0
- package/dist/team/__tests__/runtime-v2.monitor.test.d.ts +2 -0
- package/dist/team/__tests__/runtime-v2.monitor.test.d.ts.map +1 -0
- package/dist/team/__tests__/runtime-v2.monitor.test.js +148 -0
- package/dist/team/__tests__/runtime-v2.monitor.test.js.map +1 -0
- package/dist/team/__tests__/runtime-v2.shutdown-pane-cleanup.test.d.ts +2 -0
- package/dist/team/__tests__/runtime-v2.shutdown-pane-cleanup.test.d.ts.map +1 -0
- package/dist/team/__tests__/runtime-v2.shutdown-pane-cleanup.test.js +110 -0
- package/dist/team/__tests__/runtime-v2.shutdown-pane-cleanup.test.js.map +1 -0
- package/dist/team/__tests__/runtime-v2.shutdown.test.d.ts +2 -0
- package/dist/team/__tests__/runtime-v2.shutdown.test.d.ts.map +1 -0
- package/dist/team/__tests__/runtime-v2.shutdown.test.js +49 -0
- package/dist/team/__tests__/runtime-v2.shutdown.test.js.map +1 -0
- package/dist/team/__tests__/runtime-watchdog-retry.test.d.ts +2 -0
- package/dist/team/__tests__/runtime-watchdog-retry.test.d.ts.map +1 -0
- package/dist/team/__tests__/runtime-watchdog-retry.test.js +411 -0
- package/dist/team/__tests__/runtime-watchdog-retry.test.js.map +1 -0
- package/dist/team/__tests__/runtime.test.d.ts +2 -0
- package/dist/team/__tests__/runtime.test.d.ts.map +1 -0
- package/dist/team/__tests__/runtime.test.js +37 -0
- package/dist/team/__tests__/runtime.test.js.map +1 -0
- package/dist/team/__tests__/scaling.test.d.ts +2 -0
- package/dist/team/__tests__/scaling.test.d.ts.map +1 -0
- package/dist/team/__tests__/scaling.test.js +44 -0
- package/dist/team/__tests__/scaling.test.js.map +1 -0
- package/dist/team/__tests__/shell-affinity.test.d.ts +2 -0
- package/dist/team/__tests__/shell-affinity.test.d.ts.map +1 -0
- package/dist/team/__tests__/shell-affinity.test.js +98 -0
- package/dist/team/__tests__/shell-affinity.test.js.map +1 -0
- package/dist/team/__tests__/state-paths.test.d.ts +2 -0
- package/dist/team/__tests__/state-paths.test.d.ts.map +1 -0
- package/dist/team/__tests__/state-paths.test.js +19 -0
- package/dist/team/__tests__/state-paths.test.js.map +1 -0
- package/dist/team/__tests__/summary-report.test.d.ts +2 -0
- package/dist/team/__tests__/summary-report.test.d.ts.map +1 -0
- package/dist/team/__tests__/summary-report.test.js +194 -0
- package/dist/team/__tests__/summary-report.test.js.map +1 -0
- package/dist/team/__tests__/task-file-ops.test.d.ts +2 -0
- package/dist/team/__tests__/task-file-ops.test.d.ts.map +1 -0
- package/dist/team/__tests__/task-file-ops.test.js +351 -0
- package/dist/team/__tests__/task-file-ops.test.js.map +1 -0
- package/dist/team/__tests__/task-router.test.d.ts +2 -0
- package/dist/team/__tests__/task-router.test.d.ts.map +1 -0
- package/dist/team/__tests__/task-router.test.js +118 -0
- package/dist/team/__tests__/task-router.test.js.map +1 -0
- package/dist/team/__tests__/team-leader-nudge-hook.logging.test.d.ts +2 -0
- package/dist/team/__tests__/team-leader-nudge-hook.logging.test.d.ts.map +1 -0
- package/dist/team/__tests__/team-leader-nudge-hook.logging.test.js +63 -0
- package/dist/team/__tests__/team-leader-nudge-hook.logging.test.js.map +1 -0
- package/dist/team/__tests__/team-leader-nudge-hook.test.d.ts +2 -0
- package/dist/team/__tests__/team-leader-nudge-hook.test.d.ts.map +1 -0
- package/dist/team/__tests__/team-leader-nudge-hook.test.js +90 -0
- package/dist/team/__tests__/team-leader-nudge-hook.test.js.map +1 -0
- package/dist/team/__tests__/team-name.test.d.ts +2 -0
- package/dist/team/__tests__/team-name.test.d.ts.map +1 -0
- package/dist/team/__tests__/team-name.test.js +18 -0
- package/dist/team/__tests__/team-name.test.js.map +1 -0
- package/dist/team/__tests__/team-registration.test.d.ts +2 -0
- package/dist/team/__tests__/team-registration.test.d.ts.map +1 -0
- package/dist/team/__tests__/team-registration.test.js +86 -0
- package/dist/team/__tests__/team-registration.test.js.map +1 -0
- package/dist/team/__tests__/team-status.test.d.ts +2 -0
- package/dist/team/__tests__/team-status.test.d.ts.map +1 -0
- package/dist/team/__tests__/team-status.test.js +186 -0
- package/dist/team/__tests__/team-status.test.js.map +1 -0
- package/dist/team/__tests__/tmux-comm.test.d.ts +2 -0
- package/dist/team/__tests__/tmux-comm.test.d.ts.map +1 -0
- package/dist/team/__tests__/tmux-comm.test.js +27 -0
- package/dist/team/__tests__/tmux-comm.test.js.map +1 -0
- package/dist/team/__tests__/tmux-session.create-team.test.d.ts +2 -0
- package/dist/team/__tests__/tmux-session.create-team.test.d.ts.map +1 -0
- package/dist/team/__tests__/tmux-session.create-team.test.js +163 -0
- package/dist/team/__tests__/tmux-session.create-team.test.js.map +1 -0
- package/dist/team/__tests__/tmux-session.kill-team-session.test.d.ts +2 -0
- package/dist/team/__tests__/tmux-session.kill-team-session.test.d.ts.map +1 -0
- package/dist/team/__tests__/tmux-session.kill-team-session.test.js +94 -0
- package/dist/team/__tests__/tmux-session.kill-team-session.test.js.map +1 -0
- package/dist/team/__tests__/tmux-session.spawn.test.d.ts +2 -0
- package/dist/team/__tests__/tmux-session.spawn.test.d.ts.map +1 -0
- package/dist/team/__tests__/tmux-session.spawn.test.js +70 -0
- package/dist/team/__tests__/tmux-session.spawn.test.js.map +1 -0
- package/dist/team/__tests__/tmux-session.test.d.ts +2 -0
- package/dist/team/__tests__/tmux-session.test.d.ts.map +1 -0
- package/dist/team/__tests__/tmux-session.test.js +298 -0
- package/dist/team/__tests__/tmux-session.test.js.map +1 -0
- package/dist/team/__tests__/unified-team.test.d.ts +2 -0
- package/dist/team/__tests__/unified-team.test.d.ts.map +1 -0
- package/dist/team/__tests__/unified-team.test.js +77 -0
- package/dist/team/__tests__/unified-team.test.js.map +1 -0
- package/dist/team/__tests__/usage-tracker.test.d.ts +2 -0
- package/dist/team/__tests__/usage-tracker.test.d.ts.map +1 -0
- package/dist/team/__tests__/usage-tracker.test.js +104 -0
- package/dist/team/__tests__/usage-tracker.test.js.map +1 -0
- package/dist/team/__tests__/worker-bootstrap.test.d.ts +2 -0
- package/dist/team/__tests__/worker-bootstrap.test.d.ts.map +1 -0
- package/dist/team/__tests__/worker-bootstrap.test.js +143 -0
- package/dist/team/__tests__/worker-bootstrap.test.js.map +1 -0
- package/dist/team/__tests__/worker-canonicalization.test.d.ts +2 -0
- package/dist/team/__tests__/worker-canonicalization.test.d.ts.map +1 -0
- package/dist/team/__tests__/worker-canonicalization.test.js +35 -0
- package/dist/team/__tests__/worker-canonicalization.test.js.map +1 -0
- package/dist/team/__tests__/worker-health.test.d.ts +2 -0
- package/dist/team/__tests__/worker-health.test.d.ts.map +1 -0
- package/dist/team/__tests__/worker-health.test.js +129 -0
- package/dist/team/__tests__/worker-health.test.js.map +1 -0
- package/dist/team/__tests__/worker-restart.test.d.ts +2 -0
- package/dist/team/__tests__/worker-restart.test.d.ts.map +1 -0
- package/dist/team/__tests__/worker-restart.test.js +124 -0
- package/dist/team/__tests__/worker-restart.test.js.map +1 -0
- package/dist/team/activity-log.d.ts +23 -0
- package/dist/team/activity-log.d.ts.map +1 -0
- package/dist/team/activity-log.js +102 -0
- package/dist/team/activity-log.js.map +1 -0
- package/dist/team/allocation-policy.d.ts +34 -0
- package/dist/team/allocation-policy.d.ts.map +1 -0
- package/dist/team/allocation-policy.js +92 -0
- package/dist/team/allocation-policy.js.map +1 -0
- package/dist/team/api-interop.d.ts +20 -0
- package/dist/team/api-interop.d.ts.map +1 -0
- package/dist/team/api-interop.js +797 -0
- package/dist/team/api-interop.js.map +1 -0
- package/dist/team/audit-log.d.ts +29 -0
- package/dist/team/audit-log.d.ts.map +1 -0
- package/dist/team/audit-log.js +93 -0
- package/dist/team/audit-log.js.map +1 -0
- package/dist/team/bridge-entry.d.ts +7 -0
- package/dist/team/bridge-entry.d.ts.map +1 -0
- package/dist/team/bridge-entry.js +193 -0
- package/dist/team/bridge-entry.js.map +1 -0
- package/dist/team/capabilities.d.ts +30 -0
- package/dist/team/capabilities.d.ts.map +1 -0
- package/dist/team/capabilities.js +54 -0
- package/dist/team/capabilities.js.map +1 -0
- package/dist/team/cli-detection.d.ts +9 -0
- package/dist/team/cli-detection.d.ts.map +1 -0
- package/dist/team/cli-detection.js +33 -0
- package/dist/team/cli-detection.js.map +1 -0
- package/dist/team/contracts.d.ts +14 -0
- package/dist/team/contracts.d.ts.map +1 -0
- package/dist/team/contracts.js +32 -0
- package/dist/team/contracts.js.map +1 -0
- package/dist/team/dispatch-queue.d.ts +64 -0
- package/dist/team/dispatch-queue.d.ts.map +1 -0
- package/dist/team/dispatch-queue.js +288 -0
- package/dist/team/dispatch-queue.js.map +1 -0
- package/dist/team/events.d.ts +49 -0
- package/dist/team/events.d.ts.map +1 -0
- package/dist/team/events.js +115 -0
- package/dist/team/events.js.map +1 -0
- package/dist/team/followup-planner.d.ts +32 -0
- package/dist/team/followup-planner.d.ts.map +1 -0
- package/dist/team/followup-planner.js +82 -0
- package/dist/team/followup-planner.js.map +1 -0
- package/dist/team/fs-utils.d.ts +14 -0
- package/dist/team/fs-utils.d.ts.map +1 -0
- package/dist/team/fs-utils.js +70 -0
- package/dist/team/fs-utils.js.map +1 -0
- package/dist/team/git-worktree.d.ts +26 -0
- package/dist/team/git-worktree.d.ts.map +1 -0
- package/dist/team/git-worktree.js +148 -0
- package/dist/team/git-worktree.js.map +1 -0
- package/dist/team/governance.d.ts +18 -0
- package/dist/team/governance.d.ts.map +1 -0
- package/dist/team/governance.js +68 -0
- package/dist/team/governance.js.map +1 -0
- package/dist/team/heartbeat.d.ts +18 -0
- package/dist/team/heartbeat.d.ts.map +1 -0
- package/dist/team/heartbeat.js +110 -0
- package/dist/team/heartbeat.js.map +1 -0
- package/dist/team/idle-nudge.d.ts +53 -0
- package/dist/team/idle-nudge.d.ts.map +1 -0
- package/dist/team/idle-nudge.js +124 -0
- package/dist/team/idle-nudge.js.map +1 -0
- package/dist/team/inbox-outbox.d.ts +58 -0
- package/dist/team/inbox-outbox.d.ts.map +1 -0
- package/dist/team/inbox-outbox.js +338 -0
- package/dist/team/inbox-outbox.js.map +1 -0
- package/dist/team/index.d.ts +69 -0
- package/dist/team/index.d.ts.map +1 -0
- package/dist/team/index.js +49 -0
- package/dist/team/index.js.map +1 -0
- package/dist/team/layout-stabilizer.d.ts +23 -0
- package/dist/team/layout-stabilizer.d.ts.map +1 -0
- package/dist/team/layout-stabilizer.js +117 -0
- package/dist/team/layout-stabilizer.js.map +1 -0
- package/dist/team/leader-nudge-guidance.d.ts +23 -0
- package/dist/team/leader-nudge-guidance.d.ts.map +1 -0
- package/dist/team/leader-nudge-guidance.js +44 -0
- package/dist/team/leader-nudge-guidance.js.map +1 -0
- package/dist/team/mcp-comm.d.ts +99 -0
- package/dist/team/mcp-comm.d.ts.map +1 -0
- package/dist/team/mcp-comm.js +249 -0
- package/dist/team/mcp-comm.js.map +1 -0
- package/dist/team/mcp-team-bridge.d.ts +26 -0
- package/dist/team/mcp-team-bridge.d.ts.map +1 -0
- package/dist/team/mcp-team-bridge.js +869 -0
- package/dist/team/mcp-team-bridge.js.map +1 -0
- package/dist/team/merge-coordinator.d.ts +27 -0
- package/dist/team/merge-coordinator.d.ts.map +1 -0
- package/dist/team/merge-coordinator.js +140 -0
- package/dist/team/merge-coordinator.js.map +1 -0
- package/dist/team/message-router.d.ts +21 -0
- package/dist/team/message-router.d.ts.map +1 -0
- package/dist/team/message-router.js +82 -0
- package/dist/team/message-router.js.map +1 -0
- package/dist/team/model-contract.d.ts +81 -0
- package/dist/team/model-contract.d.ts.map +1 -0
- package/dist/team/model-contract.js +360 -0
- package/dist/team/model-contract.js.map +1 -0
- package/dist/team/monitor.d.ts +45 -0
- package/dist/team/monitor.d.ts.map +1 -0
- package/dist/team/monitor.js +406 -0
- package/dist/team/monitor.js.map +1 -0
- package/dist/team/outbox-reader.d.ts +22 -0
- package/dist/team/outbox-reader.d.ts.map +1 -0
- package/dist/team/outbox-reader.js +116 -0
- package/dist/team/outbox-reader.js.map +1 -0
- package/dist/team/permissions.d.ts +47 -0
- package/dist/team/permissions.d.ts.map +1 -0
- package/dist/team/permissions.js +219 -0
- package/dist/team/permissions.js.map +1 -0
- package/dist/team/phase-controller.d.ts +33 -0
- package/dist/team/phase-controller.d.ts.map +1 -0
- package/dist/team/phase-controller.js +79 -0
- package/dist/team/phase-controller.js.map +1 -0
- package/dist/team/role-router.d.ts +36 -0
- package/dist/team/role-router.d.ts.map +1 -0
- package/dist/team/role-router.js +215 -0
- package/dist/team/role-router.js.map +1 -0
- package/dist/team/runtime-cli.d.ts +33 -0
- package/dist/team/runtime-cli.d.ts.map +1 -0
- package/dist/team/runtime-cli.js +444 -0
- package/dist/team/runtime-cli.js.map +1 -0
- package/dist/team/runtime-v2.d.ts +127 -0
- package/dist/team/runtime-v2.d.ts.map +1 -0
- package/dist/team/runtime-v2.js +1048 -0
- package/dist/team/runtime-v2.js.map +1 -0
- package/dist/team/runtime.d.ts +102 -0
- package/dist/team/runtime.d.ts.map +1 -0
- package/dist/team/runtime.js +819 -0
- package/dist/team/runtime.js.map +1 -0
- package/dist/team/scaling.d.ts +59 -0
- package/dist/team/scaling.d.ts.map +1 -0
- package/dist/team/scaling.js +320 -0
- package/dist/team/scaling.js.map +1 -0
- package/dist/team/sentinel-gate.d.ts +23 -0
- package/dist/team/sentinel-gate.d.ts.map +1 -0
- package/dist/team/sentinel-gate.js +127 -0
- package/dist/team/sentinel-gate.js.map +1 -0
- package/dist/team/state/tasks.d.ts +48 -0
- package/dist/team/state/tasks.d.ts.map +1 -0
- package/dist/team/state/tasks.js +184 -0
- package/dist/team/state/tasks.js.map +1 -0
- package/dist/team/state-paths.d.ts +88 -0
- package/dist/team/state-paths.d.ts.map +1 -0
- package/dist/team/state-paths.js +110 -0
- package/dist/team/state-paths.js.map +1 -0
- package/dist/team/summary-report.d.ts +11 -0
- package/dist/team/summary-report.d.ts.map +1 -0
- package/dist/team/summary-report.js +101 -0
- package/dist/team/summary-report.js.map +1 -0
- package/dist/team/task-file-ops.d.ts +97 -0
- package/dist/team/task-file-ops.d.ts.map +1 -0
- package/dist/team/task-file-ops.js +388 -0
- package/dist/team/task-file-ops.js.map +1 -0
- package/dist/team/task-router.d.ts +28 -0
- package/dist/team/task-router.d.ts.map +1 -0
- package/dist/team/task-router.js +91 -0
- package/dist/team/task-router.js.map +1 -0
- package/dist/team/team-name.d.ts +2 -0
- package/dist/team/team-name.d.ts.map +1 -0
- package/dist/team/team-name.js +8 -0
- package/dist/team/team-name.js.map +1 -0
- package/dist/team/team-ops.d.ts +44 -0
- package/dist/team/team-ops.d.ts.map +1 -0
- package/dist/team/team-ops.js +591 -0
- package/dist/team/team-ops.js.map +1 -0
- package/dist/team/team-registration.d.ts +30 -0
- package/dist/team/team-registration.d.ts.map +1 -0
- package/dist/team/team-registration.js +191 -0
- package/dist/team/team-registration.js.map +1 -0
- package/dist/team/team-status.d.ts +39 -0
- package/dist/team/team-status.d.ts.map +1 -0
- package/dist/team/team-status.js +127 -0
- package/dist/team/team-status.js.map +1 -0
- package/dist/team/tmux-comm.d.ts +36 -0
- package/dist/team/tmux-comm.d.ts.map +1 -0
- package/dist/team/tmux-comm.js +181 -0
- package/dist/team/tmux-comm.js.map +1 -0
- package/dist/team/tmux-session.d.ts +157 -0
- package/dist/team/tmux-session.d.ts.map +1 -0
- package/dist/team/tmux-session.js +894 -0
- package/dist/team/tmux-session.js.map +1 -0
- package/dist/team/types.d.ts +438 -0
- package/dist/team/types.d.ts.map +1 -0
- package/dist/team/types.js +4 -0
- package/dist/team/types.js.map +1 -0
- package/dist/team/unified-team.d.ts +16 -0
- package/dist/team/unified-team.d.ts.map +1 -0
- package/dist/team/unified-team.js +92 -0
- package/dist/team/unified-team.js.map +1 -0
- package/dist/team/usage-tracker.d.ts +44 -0
- package/dist/team/usage-tracker.d.ts.map +1 -0
- package/dist/team/usage-tracker.js +102 -0
- package/dist/team/usage-tracker.js.map +1 -0
- package/dist/team/worker-bootstrap.d.ts +41 -0
- package/dist/team/worker-bootstrap.d.ts.map +1 -0
- package/dist/team/worker-bootstrap.js +216 -0
- package/dist/team/worker-bootstrap.js.map +1 -0
- package/dist/team/worker-canonicalization.d.ts +8 -0
- package/dist/team/worker-canonicalization.d.ts.map +1 -0
- package/dist/team/worker-canonicalization.js +98 -0
- package/dist/team/worker-canonicalization.js.map +1 -0
- package/dist/team/worker-health.d.ts +29 -0
- package/dist/team/worker-health.d.ts.map +1 -0
- package/dist/team/worker-health.js +116 -0
- package/dist/team/worker-health.js.map +1 -0
- package/dist/team/worker-restart.d.ts +38 -0
- package/dist/team/worker-restart.d.ts.map +1 -0
- package/dist/team/worker-restart.js +100 -0
- package/dist/team/worker-restart.js.map +1 -0
- package/dist/tools/__tests__/cancel-integration.test.d.ts +2 -0
- package/dist/tools/__tests__/cancel-integration.test.d.ts.map +1 -0
- package/dist/tools/__tests__/cancel-integration.test.js +303 -0
- package/dist/tools/__tests__/cancel-integration.test.js.map +1 -0
- package/dist/tools/__tests__/deepinit-manifest.test.d.ts +7 -0
- package/dist/tools/__tests__/deepinit-manifest.test.d.ts.map +1 -0
- package/dist/tools/__tests__/deepinit-manifest.test.js +559 -0
- package/dist/tools/__tests__/deepinit-manifest.test.js.map +1 -0
- package/dist/tools/__tests__/memory-tools.test.d.ts +2 -0
- package/dist/tools/__tests__/memory-tools.test.d.ts.map +1 -0
- package/dist/tools/__tests__/memory-tools.test.js +94 -0
- package/dist/tools/__tests__/memory-tools.test.js.map +1 -0
- package/dist/tools/__tests__/schema-conversion.test.d.ts +11 -0
- package/dist/tools/__tests__/schema-conversion.test.d.ts.map +1 -0
- package/dist/tools/__tests__/schema-conversion.test.js +270 -0
- package/dist/tools/__tests__/schema-conversion.test.js.map +1 -0
- package/dist/tools/__tests__/state-tools.test.d.ts +2 -0
- package/dist/tools/__tests__/state-tools.test.d.ts.map +1 -0
- package/dist/tools/__tests__/state-tools.test.js +507 -0
- package/dist/tools/__tests__/state-tools.test.js.map +1 -0
- package/dist/tools/ast-tools.d.ts +72 -0
- package/dist/tools/ast-tools.d.ts.map +1 -0
- package/dist/tools/ast-tools.js +534 -0
- package/dist/tools/ast-tools.js.map +1 -0
- package/dist/tools/deepinit-manifest.d.ts +88 -0
- package/dist/tools/deepinit-manifest.d.ts.map +1 -0
- package/dist/tools/deepinit-manifest.js +373 -0
- package/dist/tools/deepinit-manifest.js.map +1 -0
- package/dist/tools/diagnostics/index.d.ts +29 -0
- package/dist/tools/diagnostics/index.d.ts.map +1 -0
- package/dist/tools/diagnostics/index.js +118 -0
- package/dist/tools/diagnostics/index.js.map +1 -0
- package/dist/tools/diagnostics/lsp-aggregator.d.ts +26 -0
- package/dist/tools/diagnostics/lsp-aggregator.d.ts.map +1 -0
- package/dist/tools/diagnostics/lsp-aggregator.js +99 -0
- package/dist/tools/diagnostics/lsp-aggregator.js.map +1 -0
- package/dist/tools/diagnostics/tsc-runner.d.ts +26 -0
- package/dist/tools/diagnostics/tsc-runner.d.ts.map +1 -0
- package/dist/tools/diagnostics/tsc-runner.js +70 -0
- package/dist/tools/diagnostics/tsc-runner.js.map +1 -0
- package/dist/tools/index.d.ts +53 -0
- package/dist/tools/index.d.ts.map +1 -0
- package/dist/tools/index.js +123 -0
- package/dist/tools/index.js.map +1 -0
- package/dist/tools/lsp/__tests__/client-devcontainer.test.d.ts +2 -0
- package/dist/tools/lsp/__tests__/client-devcontainer.test.d.ts.map +1 -0
- package/dist/tools/lsp/__tests__/client-devcontainer.test.js +185 -0
- package/dist/tools/lsp/__tests__/client-devcontainer.test.js.map +1 -0
- package/dist/tools/lsp/__tests__/client-eviction.test.d.ts +2 -0
- package/dist/tools/lsp/__tests__/client-eviction.test.d.ts.map +1 -0
- package/dist/tools/lsp/__tests__/client-eviction.test.js +343 -0
- package/dist/tools/lsp/__tests__/client-eviction.test.js.map +1 -0
- package/dist/tools/lsp/__tests__/client-handle-data.test.d.ts +2 -0
- package/dist/tools/lsp/__tests__/client-handle-data.test.d.ts.map +1 -0
- package/dist/tools/lsp/__tests__/client-handle-data.test.js +138 -0
- package/dist/tools/lsp/__tests__/client-handle-data.test.js.map +1 -0
- package/dist/tools/lsp/__tests__/client-singleton.test.d.ts +2 -0
- package/dist/tools/lsp/__tests__/client-singleton.test.d.ts.map +1 -0
- package/dist/tools/lsp/__tests__/client-singleton.test.js +17 -0
- package/dist/tools/lsp/__tests__/client-singleton.test.js.map +1 -0
- package/dist/tools/lsp/__tests__/client-timeout-env.test.d.ts +2 -0
- package/dist/tools/lsp/__tests__/client-timeout-env.test.d.ts.map +1 -0
- package/dist/tools/lsp/__tests__/client-timeout-env.test.js +55 -0
- package/dist/tools/lsp/__tests__/client-timeout-env.test.js.map +1 -0
- package/dist/tools/lsp/__tests__/client-win32-spawn.test.d.ts +2 -0
- package/dist/tools/lsp/__tests__/client-win32-spawn.test.d.ts.map +1 -0
- package/dist/tools/lsp/__tests__/client-win32-spawn.test.js +84 -0
- package/dist/tools/lsp/__tests__/client-win32-spawn.test.js.map +1 -0
- package/dist/tools/lsp/__tests__/devcontainer.test.d.ts +2 -0
- package/dist/tools/lsp/__tests__/devcontainer.test.d.ts.map +1 -0
- package/dist/tools/lsp/__tests__/devcontainer.test.js +311 -0
- package/dist/tools/lsp/__tests__/devcontainer.test.js.map +1 -0
- package/dist/tools/lsp/client.d.ts +289 -0
- package/dist/tools/lsp/client.d.ts.map +1 -0
- package/dist/tools/lsp/client.js +906 -0
- package/dist/tools/lsp/client.js.map +1 -0
- package/dist/tools/lsp/devcontainer.d.ts +12 -0
- package/dist/tools/lsp/devcontainer.d.ts.map +1 -0
- package/dist/tools/lsp/devcontainer.js +276 -0
- package/dist/tools/lsp/devcontainer.js.map +1 -0
- package/dist/tools/lsp/index.d.ts +11 -0
- package/dist/tools/lsp/index.d.ts.map +1 -0
- package/dist/tools/lsp/index.js +8 -0
- package/dist/tools/lsp/index.js.map +1 -0
- package/dist/tools/lsp/servers.d.ts +38 -0
- package/dist/tools/lsp/servers.d.ts.map +1 -0
- package/dist/tools/lsp/servers.js +237 -0
- package/dist/tools/lsp/servers.js.map +1 -0
- package/dist/tools/lsp/utils.d.ts +58 -0
- package/dist/tools/lsp/utils.d.ts.map +1 -0
- package/dist/tools/lsp/utils.js +248 -0
- package/dist/tools/lsp/utils.js.map +1 -0
- package/dist/tools/lsp-tools.d.ts +151 -0
- package/dist/tools/lsp-tools.d.ts.map +1 -0
- package/dist/tools/lsp-tools.js +414 -0
- package/dist/tools/lsp-tools.js.map +1 -0
- package/dist/tools/memory-tools.d.ts +48 -0
- package/dist/tools/memory-tools.d.ts.map +1 -0
- package/dist/tools/memory-tools.js +231 -0
- package/dist/tools/memory-tools.js.map +1 -0
- package/dist/tools/notepad-tools.d.ts +49 -0
- package/dist/tools/notepad-tools.d.ts.map +1 -0
- package/dist/tools/notepad-tools.js +303 -0
- package/dist/tools/notepad-tools.js.map +1 -0
- package/dist/tools/python-repl/__tests__/bridge-manager-cleanup.test.d.ts +2 -0
- package/dist/tools/python-repl/__tests__/bridge-manager-cleanup.test.d.ts.map +1 -0
- package/dist/tools/python-repl/__tests__/bridge-manager-cleanup.test.js +109 -0
- package/dist/tools/python-repl/__tests__/bridge-manager-cleanup.test.js.map +1 -0
- package/dist/tools/python-repl/__tests__/python-sandbox.test.d.ts +2 -0
- package/dist/tools/python-repl/__tests__/python-sandbox.test.d.ts.map +1 -0
- package/dist/tools/python-repl/__tests__/python-sandbox.test.js +170 -0
- package/dist/tools/python-repl/__tests__/python-sandbox.test.js.map +1 -0
- package/dist/tools/python-repl/__tests__/tcp-fallback.test.d.ts +2 -0
- package/dist/tools/python-repl/__tests__/tcp-fallback.test.d.ts.map +1 -0
- package/dist/tools/python-repl/__tests__/tcp-fallback.test.js +138 -0
- package/dist/tools/python-repl/__tests__/tcp-fallback.test.js.map +1 -0
- package/dist/tools/python-repl/bridge-manager.d.ts +93 -0
- package/dist/tools/python-repl/bridge-manager.d.ts.map +1 -0
- package/dist/tools/python-repl/bridge-manager.js +746 -0
- package/dist/tools/python-repl/bridge-manager.js.map +1 -0
- package/dist/tools/python-repl/index.d.ts +40 -0
- package/dist/tools/python-repl/index.d.ts.map +1 -0
- package/dist/tools/python-repl/index.js +36 -0
- package/dist/tools/python-repl/index.js.map +1 -0
- package/dist/tools/python-repl/paths.d.ts +92 -0
- package/dist/tools/python-repl/paths.d.ts.map +1 -0
- package/dist/tools/python-repl/paths.js +228 -0
- package/dist/tools/python-repl/paths.js.map +1 -0
- package/dist/tools/python-repl/session-lock.d.ts +111 -0
- package/dist/tools/python-repl/session-lock.d.ts.map +1 -0
- package/dist/tools/python-repl/session-lock.js +494 -0
- package/dist/tools/python-repl/session-lock.js.map +1 -0
- package/dist/tools/python-repl/socket-client.d.ts +42 -0
- package/dist/tools/python-repl/socket-client.d.ts.map +1 -0
- package/dist/tools/python-repl/socket-client.js +194 -0
- package/dist/tools/python-repl/socket-client.js.map +1 -0
- package/dist/tools/python-repl/tool.d.ts +100 -0
- package/dist/tools/python-repl/tool.d.ts.map +1 -0
- package/dist/tools/python-repl/tool.js +571 -0
- package/dist/tools/python-repl/tool.js.map +1 -0
- package/dist/tools/python-repl/types.d.ts +95 -0
- package/dist/tools/python-repl/types.d.ts.map +1 -0
- package/dist/tools/python-repl/types.js +2 -0
- package/dist/tools/python-repl/types.js.map +1 -0
- package/dist/tools/resume-session.d.ts +63 -0
- package/dist/tools/resume-session.d.ts.map +1 -0
- package/dist/tools/resume-session.js +106 -0
- package/dist/tools/resume-session.js.map +1 -0
- package/dist/tools/session-history-tools.d.ts +23 -0
- package/dist/tools/session-history-tools.d.ts.map +1 -0
- package/dist/tools/session-history-tools.js +41 -0
- package/dist/tools/session-history-tools.js.map +1 -0
- package/dist/tools/shared-memory-tools.d.ts +55 -0
- package/dist/tools/shared-memory-tools.d.ts.map +1 -0
- package/dist/tools/shared-memory-tools.js +250 -0
- package/dist/tools/shared-memory-tools.js.map +1 -0
- package/dist/tools/skills-tools.d.ts +75 -0
- package/dist/tools/skills-tools.d.ts.map +1 -0
- package/dist/tools/skills-tools.js +151 -0
- package/dist/tools/skills-tools.js.map +1 -0
- package/dist/tools/state-tools.d.ts +74 -0
- package/dist/tools/state-tools.d.ts.map +1 -0
- package/dist/tools/state-tools.js +945 -0
- package/dist/tools/state-tools.js.map +1 -0
- package/dist/tools/trace-tools.d.ts +40 -0
- package/dist/tools/trace-tools.d.ts.map +1 -0
- package/dist/tools/trace-tools.js +415 -0
- package/dist/tools/trace-tools.js.map +1 -0
- package/dist/tools/types.d.ts +48 -0
- package/dist/tools/types.d.ts.map +1 -0
- package/dist/tools/types.js +8 -0
- package/dist/tools/types.js.map +1 -0
- package/dist/utils/__tests__/frontmatter.test.d.ts +2 -0
- package/dist/utils/__tests__/frontmatter.test.d.ts.map +1 -0
- package/dist/utils/__tests__/frontmatter.test.js +147 -0
- package/dist/utils/__tests__/frontmatter.test.js.map +1 -0
- package/dist/utils/__tests__/paths.test.d.ts +2 -0
- package/dist/utils/__tests__/paths.test.d.ts.map +1 -0
- package/dist/utils/__tests__/paths.test.js +173 -0
- package/dist/utils/__tests__/paths.test.js.map +1 -0
- package/dist/utils/__tests__/string-width.test.d.ts +6 -0
- package/dist/utils/__tests__/string-width.test.d.ts.map +1 -0
- package/dist/utils/__tests__/string-width.test.js +173 -0
- package/dist/utils/__tests__/string-width.test.js.map +1 -0
- package/dist/utils/config-dir.d.ts +2 -0
- package/dist/utils/config-dir.d.ts.map +1 -0
- package/dist/utils/config-dir.js +6 -0
- package/dist/utils/config-dir.js.map +1 -0
- package/dist/utils/daemon-module-path.d.ts +9 -0
- package/dist/utils/daemon-module-path.d.ts.map +1 -0
- package/dist/utils/daemon-module-path.js +23 -0
- package/dist/utils/daemon-module-path.js.map +1 -0
- package/dist/utils/frontmatter.d.ts +29 -0
- package/dist/utils/frontmatter.d.ts.map +1 -0
- package/dist/utils/frontmatter.js +84 -0
- package/dist/utils/frontmatter.js.map +1 -0
- package/dist/utils/jsonc.d.ts +16 -0
- package/dist/utils/jsonc.d.ts.map +1 -0
- package/dist/utils/jsonc.js +68 -0
- package/dist/utils/jsonc.js.map +1 -0
- package/dist/utils/omc-cli-rendering.d.ts +8 -0
- package/dist/utils/omc-cli-rendering.d.ts.map +1 -0
- package/dist/utils/omc-cli-rendering.js +37 -0
- package/dist/utils/omc-cli-rendering.js.map +1 -0
- package/dist/utils/paths.d.ts +92 -0
- package/dist/utils/paths.d.ts.map +1 -0
- package/dist/utils/paths.js +308 -0
- package/dist/utils/paths.js.map +1 -0
- package/dist/utils/resolve-node.d.ts +26 -0
- package/dist/utils/resolve-node.d.ts.map +1 -0
- package/dist/utils/resolve-node.js +112 -0
- package/dist/utils/resolve-node.js.map +1 -0
- package/dist/utils/skill-pipeline.d.ts +9 -0
- package/dist/utils/skill-pipeline.d.ts.map +1 -0
- package/dist/utils/skill-pipeline.js +97 -0
- package/dist/utils/skill-pipeline.js.map +1 -0
- package/dist/utils/skill-resources.d.ts +7 -0
- package/dist/utils/skill-resources.d.ts.map +1 -0
- package/dist/utils/skill-resources.js +53 -0
- package/dist/utils/skill-resources.js.map +1 -0
- package/dist/utils/skininthegamebros-user.d.ts +2 -0
- package/dist/utils/skininthegamebros-user.d.ts.map +1 -0
- package/dist/utils/skininthegamebros-user.js +4 -0
- package/dist/utils/skininthegamebros-user.js.map +1 -0
- package/dist/utils/ssrf-guard.d.ts +26 -0
- package/dist/utils/ssrf-guard.d.ts.map +1 -0
- package/dist/utils/ssrf-guard.js +125 -0
- package/dist/utils/ssrf-guard.js.map +1 -0
- package/dist/utils/string-width.d.ts +80 -0
- package/dist/utils/string-width.d.ts.map +1 -0
- package/dist/utils/string-width.js +230 -0
- package/dist/utils/string-width.js.map +1 -0
- package/dist/verification/tier-selector.d.ts +40 -0
- package/dist/verification/tier-selector.d.ts.map +1 -0
- package/dist/verification/tier-selector.js +95 -0
- package/dist/verification/tier-selector.js.map +1 -0
- package/dist/verification/tier-selector.test.d.ts +2 -0
- package/dist/verification/tier-selector.test.d.ts.map +1 -0
- package/dist/verification/tier-selector.test.js +282 -0
- package/dist/verification/tier-selector.test.js.map +1 -0
- package/docs/AGENTS.md +102 -0
- package/docs/ARCHITECTURE.md +583 -0
- package/docs/CJK-IME-KNOWN-ISSUES.md +179 -0
- package/docs/CLAUDE.md +65 -0
- package/docs/COMPATIBILITY.md +1068 -0
- package/docs/DELEGATION-ENFORCER.md +277 -0
- package/docs/FEATURES.md +582 -0
- package/docs/GETTING-STARTED.md +361 -0
- package/docs/HOOKS.md +462 -0
- package/docs/LOCAL_PLUGIN_INSTALL.md +108 -0
- package/docs/MIGRATION.md +987 -0
- package/docs/OPENCLAW-ROUTING.md +102 -0
- package/docs/PERFORMANCE-MONITORING.md +505 -0
- package/docs/REFERENCE.md +814 -0
- package/docs/SYNC-SYSTEM.md +526 -0
- package/docs/TOOLS.md +781 -0
- package/docs/agent-templates/README.md +110 -0
- package/docs/agent-templates/base-agent.md +63 -0
- package/docs/agent-templates/tier-instructions.md +94 -0
- package/docs/cancel-skill-active-state-gap.md +97 -0
- package/docs/design/CONSOLIDATION_PHASE3_ROADMAP.md +97 -0
- package/docs/design/SKILLS_2_0_ADAPTATION.md +115 -0
- package/docs/design/SKILL_AUDIT_1445.md +75 -0
- package/docs/design/TIERED_AGENTS_V2.md +323 -0
- package/docs/design/project-session-manager.md +1033 -0
- package/docs/issues/windows-hud-missing.png +0 -0
- package/docs/shared/agent-tiers.md +156 -0
- package/docs/shared/features.md +122 -0
- package/docs/shared/mode-hierarchy.md +105 -0
- package/docs/shared/mode-selection-guide.md +92 -0
- package/docs/shared/verification-tiers.md +107 -0
- package/docs/superpowers/specs/2026-04-07-adaptive-context-design.md +160 -0
- package/hooks/hooks.json +192 -0
- package/package.json +131 -0
- package/scripts/build-bridge-entry.mjs +52 -0
- package/scripts/build-cli.mjs +47 -0
- package/scripts/build-mcp-server.mjs +54 -0
- package/scripts/build-runtime-cli.mjs +26 -0
- package/scripts/build-skill-bridge.mjs +32 -0
- package/scripts/build-team-server.mjs +28 -0
- package/scripts/cleanup-orphans.mjs +209 -0
- package/scripts/code-simplifier.mjs +193 -0
- package/scripts/compose-docs.mjs +44 -0
- package/scripts/context-guard-stop.mjs +268 -0
- package/scripts/context-safety.mjs +28 -0
- package/scripts/demo-team.mjs +26 -0
- package/scripts/eval-autoresearch-json.mjs +49 -0
- package/scripts/eval-autoresearch-timed-json.mjs +62 -0
- package/scripts/find-node.sh +90 -0
- package/scripts/generate-featured-contributors.ts +43 -0
- package/scripts/keyword-detector.mjs +689 -0
- package/scripts/lib/atomic-write.mjs +95 -0
- package/scripts/lib/stdin.mjs +64 -0
- package/scripts/openclaw-gateway-demo.mjs +168 -0
- package/scripts/permission-handler.mjs +21 -0
- package/scripts/persistent-mode.cjs +1121 -0
- package/scripts/persistent-mode.mjs +1104 -0
- package/scripts/plugin-setup.mjs +338 -0
- package/scripts/post-tool-use-failure.mjs +177 -0
- package/scripts/post-tool-verifier.mjs +557 -0
- package/scripts/pre-compact.mjs +21 -0
- package/scripts/pre-tool-enforcer.mjs +827 -0
- package/scripts/project-memory-posttool.mjs +79 -0
- package/scripts/project-memory-precompact.mjs +33 -0
- package/scripts/project-memory-session.mjs +80 -0
- package/scripts/qa-tests/test-custom-integration.mjs +144 -0
- package/scripts/release.ts +511 -0
- package/scripts/run-provider-advisor.js +260 -0
- package/scripts/run.cjs +114 -0
- package/scripts/session-end.mjs +22 -0
- package/scripts/session-start.mjs +669 -0
- package/scripts/session-summary.mjs +241 -0
- package/scripts/setup-claude-md.sh +366 -0
- package/scripts/setup-init.mjs +21 -0
- package/scripts/setup-maintenance.mjs +21 -0
- package/scripts/setup-progress.sh +138 -0
- package/scripts/skill-injector.mjs +293 -0
- package/scripts/status.mjs +144 -0
- package/scripts/subagent-tracker.mjs +34 -0
- package/scripts/sync-metadata.ts +407 -0
- package/scripts/sync-version.sh +42 -0
- package/scripts/test-max-attempts.ts +94 -0
- package/scripts/test-mutual-exclusion.ts +152 -0
- package/scripts/test-notepad-integration.ts +495 -0
- package/scripts/test-pr25.sh +525 -0
- package/scripts/test-remember-tags.ts +121 -0
- package/scripts/test-session-injection.ts +41 -0
- package/scripts/uninstall.sh +169 -0
- package/scripts/verify-deliverables.mjs +234 -0
- package/skills/AGENTS.md +200 -0
- package/skills/adapt/SKILL.md +293 -0
- package/skills/ai-slop-cleaner/SKILL.md +133 -0
- package/skills/ask/SKILL.md +53 -0
- package/skills/autopilot/SKILL.md +190 -0
- package/skills/cancel/SKILL.md +386 -0
- package/skills/ccg/SKILL.md +104 -0
- package/skills/configure-notifications/SKILL.md +1214 -0
- package/skills/debug/SKILL.md +35 -0
- package/skills/deep-dive/SKILL.md +476 -0
- package/skills/deep-interview/SKILL.md +650 -0
- package/skills/deepinit/SKILL.md +321 -0
- package/skills/external-context/SKILL.md +84 -0
- package/skills/hud/SKILL.md +345 -0
- package/skills/learner/SKILL.md +141 -0
- package/skills/mcp-setup/SKILL.md +186 -0
- package/skills/omc-doctor/SKILL.md +206 -0
- package/skills/omc-reference/SKILL.md +141 -0
- package/skills/omc-setup/SKILL.md +188 -0
- package/skills/omc-setup/phases/01-install-claude-md.md +97 -0
- package/skills/omc-setup/phases/02-configure.md +213 -0
- package/skills/omc-setup/phases/03-integrations.md +192 -0
- package/skills/omc-setup/phases/04-welcome.md +192 -0
- package/skills/omc-teams/SKILL.md +163 -0
- package/skills/plan/SKILL.md +276 -0
- package/skills/project-session-manager/SKILL.md +565 -0
- package/skills/project-session-manager/lib/config.sh +135 -0
- package/skills/project-session-manager/lib/parse.sh +175 -0
- package/skills/project-session-manager/lib/providers/azure-devops.sh +53 -0
- package/skills/project-session-manager/lib/providers/bitbucket.sh +65 -0
- package/skills/project-session-manager/lib/providers/gitea.sh +101 -0
- package/skills/project-session-manager/lib/providers/github.sh +54 -0
- package/skills/project-session-manager/lib/providers/gitlab.sh +54 -0
- package/skills/project-session-manager/lib/providers/interface.sh +76 -0
- package/skills/project-session-manager/lib/providers/jira.sh +79 -0
- package/skills/project-session-manager/lib/session.sh +169 -0
- package/skills/project-session-manager/lib/tmux.sh +103 -0
- package/skills/project-session-manager/lib/worktree.sh +204 -0
- package/skills/project-session-manager/psm.sh +694 -0
- package/skills/project-session-manager/templates/feature.md +56 -0
- package/skills/project-session-manager/templates/issue-fix.md +57 -0
- package/skills/project-session-manager/templates/pr-review.md +65 -0
- package/skills/project-session-manager/templates/projects.json +19 -0
- package/skills/ralph/SKILL.md +230 -0
- package/skills/ralplan/SKILL.md +135 -0
- package/skills/release/SKILL.md +88 -0
- package/skills/remember/SKILL.md +41 -0
- package/skills/sciomc/SKILL.md +511 -0
- package/skills/self-improve/SKILL.md +383 -0
- package/skills/self-improve/data_contracts.md +274 -0
- package/skills/self-improve/scripts/plot_progress.py +128 -0
- package/skills/self-improve/scripts/validate.sh +315 -0
- package/skills/self-improve/si-benchmark-builder.md +79 -0
- package/skills/self-improve/si-goal-clarifier.md +93 -0
- package/skills/self-improve/si-researcher.md +73 -0
- package/skills/self-improve/templates/agent-settings.json +14 -0
- package/skills/self-improve/templates/goal.md +22 -0
- package/skills/self-improve/templates/harness.md +18 -0
- package/skills/self-improve/templates/idea.md +5 -0
- package/skills/self-improve/templates/settings.json +22 -0
- package/skills/setup/SKILL.md +41 -0
- package/skills/skill/SKILL.md +847 -0
- package/skills/skillify/SKILL.md +38 -0
- package/skills/team/SKILL.md +969 -0
- package/skills/trace/SKILL.md +263 -0
- package/skills/ultraqa/SKILL.md +137 -0
- package/skills/ultrawork/SKILL.md +129 -0
- package/skills/verify/SKILL.md +37 -0
- package/skills/visual-verdict/SKILL.md +77 -0
- package/skills/writer-memory/SKILL.md +444 -0
- package/skills/writer-memory/lib/character-tracker.ts +338 -0
- package/skills/writer-memory/lib/memory-manager.ts +804 -0
- package/skills/writer-memory/lib/relationship-graph.ts +400 -0
- package/skills/writer-memory/lib/scene-organizer.ts +544 -0
- package/skills/writer-memory/lib/synopsis-builder.ts +339 -0
- package/skills/writer-memory/templates/synopsis-template.md +46 -0
- package/templates/deliverables.json +25 -0
- package/templates/hooks/code-simplifier.mjs +200 -0
- package/templates/hooks/keyword-detector.mjs +588 -0
- package/templates/hooks/lib/atomic-write.mjs +93 -0
- package/templates/hooks/lib/stdin.mjs +62 -0
- package/templates/hooks/persistent-mode.mjs +1162 -0
- package/templates/hooks/post-tool-use-failure.mjs +180 -0
- package/templates/hooks/post-tool-use.mjs +244 -0
- package/templates/hooks/pre-tool-use.mjs +377 -0
- package/templates/hooks/session-start.mjs +457 -0
- package/templates/hooks/stop-continuation.mjs +20 -0
- package/templates/rules/README.md +41 -0
- package/templates/rules/coding-style.md +74 -0
- package/templates/rules/git-workflow.md +41 -0
- package/templates/rules/karpathy-guidelines.md +59 -0
- package/templates/rules/performance.md +40 -0
- package/templates/rules/security.md +41 -0
- package/templates/rules/testing.md +42 -0
|
@@ -0,0 +1,1509 @@
|
|
|
1
|
+
import { describe, it, expect, vi, beforeEach, afterEach } from 'vitest';
|
|
2
|
+
import { removeCodeBlocks, sanitizeForKeywordDetection, extractPromptText, detectKeywordsWithType, hasKeyword, getPrimaryKeyword, getAllKeywords, getAllKeywordsWithSizeCheck, isUnderspecifiedForExecution, applyRalplanGate, NON_LATIN_SCRIPT_PATTERN, } from '../index.js';
|
|
3
|
+
// Mock isTeamEnabled
|
|
4
|
+
vi.mock('../../../features/auto-update.js', () => ({
|
|
5
|
+
isTeamEnabled: vi.fn(() => true),
|
|
6
|
+
}));
|
|
7
|
+
import { isTeamEnabled } from '../../../features/auto-update.js';
|
|
8
|
+
const mockedIsTeamEnabled = vi.mocked(isTeamEnabled);
|
|
9
|
+
describe('keyword-detector', () => {
|
|
10
|
+
describe('removeCodeBlocks', () => {
|
|
11
|
+
it('should remove fenced code blocks with triple backticks', () => {
|
|
12
|
+
const text = 'Before ```code here``` after';
|
|
13
|
+
expect(removeCodeBlocks(text)).toBe('Before after');
|
|
14
|
+
});
|
|
15
|
+
it('should remove fenced code blocks with tildes', () => {
|
|
16
|
+
const text = 'Before ~~~code here~~~ after';
|
|
17
|
+
expect(removeCodeBlocks(text)).toBe('Before after');
|
|
18
|
+
});
|
|
19
|
+
it('should remove multiline fenced code blocks', () => {
|
|
20
|
+
const text = `Hello
|
|
21
|
+
\`\`\`javascript
|
|
22
|
+
const x = 1;
|
|
23
|
+
const y = 2;
|
|
24
|
+
\`\`\`
|
|
25
|
+
World`;
|
|
26
|
+
expect(removeCodeBlocks(text)).toBe(`Hello
|
|
27
|
+
|
|
28
|
+
World`);
|
|
29
|
+
});
|
|
30
|
+
it('should remove inline code with single backticks', () => {
|
|
31
|
+
const text = 'Use `autopilot` command here';
|
|
32
|
+
expect(removeCodeBlocks(text)).toBe('Use command here');
|
|
33
|
+
});
|
|
34
|
+
it('should handle nested backticks in fenced blocks', () => {
|
|
35
|
+
// The regex matches ```...``` greedily, so ```const x = `test````
|
|
36
|
+
// matches from first ``` to the triple backtick at the end
|
|
37
|
+
const text = 'Before ```const x = `test` ``` after';
|
|
38
|
+
expect(removeCodeBlocks(text)).toBe('Before after');
|
|
39
|
+
});
|
|
40
|
+
it('should handle multiple code blocks', () => {
|
|
41
|
+
const text = '`a` middle `b` end';
|
|
42
|
+
expect(removeCodeBlocks(text)).toBe(' middle end');
|
|
43
|
+
});
|
|
44
|
+
it('should handle empty input', () => {
|
|
45
|
+
expect(removeCodeBlocks('')).toBe('');
|
|
46
|
+
});
|
|
47
|
+
it('should return text unchanged when no code blocks', () => {
|
|
48
|
+
const text = 'Regular text without code';
|
|
49
|
+
expect(removeCodeBlocks(text)).toBe('Regular text without code');
|
|
50
|
+
});
|
|
51
|
+
it('should handle code blocks with language specifier', () => {
|
|
52
|
+
const text = '```typescript\nconst x = 1;\n``` done';
|
|
53
|
+
expect(removeCodeBlocks(text)).toBe(' done');
|
|
54
|
+
});
|
|
55
|
+
});
|
|
56
|
+
describe('sanitizeForKeywordDetection', () => {
|
|
57
|
+
it('should strip XML tag blocks', () => {
|
|
58
|
+
const result = sanitizeForKeywordDetection('<system-reminder>ralph</system-reminder>');
|
|
59
|
+
expect(result).not.toContain('ralph');
|
|
60
|
+
});
|
|
61
|
+
it('should strip self-closing XML tags', () => {
|
|
62
|
+
const result = sanitizeForKeywordDetection('text <br /> more');
|
|
63
|
+
expect(result).not.toContain('<br');
|
|
64
|
+
});
|
|
65
|
+
it('should strip URLs', () => {
|
|
66
|
+
const result = sanitizeForKeywordDetection('see https://example.com/codex/path');
|
|
67
|
+
expect(result).not.toContain('codex');
|
|
68
|
+
});
|
|
69
|
+
it('should strip file paths', () => {
|
|
70
|
+
const result = sanitizeForKeywordDetection('open src/mcp/codex-core.ts');
|
|
71
|
+
expect(result).not.toContain('codex');
|
|
72
|
+
});
|
|
73
|
+
it('should strip markdown code blocks', () => {
|
|
74
|
+
const result = sanitizeForKeywordDetection('```\nask codex\n```');
|
|
75
|
+
expect(result).not.toContain('codex');
|
|
76
|
+
});
|
|
77
|
+
it('should strip inline code', () => {
|
|
78
|
+
const result = sanitizeForKeywordDetection('use `ask codex` command');
|
|
79
|
+
expect(result).not.toContain('codex');
|
|
80
|
+
});
|
|
81
|
+
it('should preserve normal text', () => {
|
|
82
|
+
const result = sanitizeForKeywordDetection('ask codex to review');
|
|
83
|
+
expect(result).toContain('ask codex');
|
|
84
|
+
});
|
|
85
|
+
it('should not over-strip when XML tag names differ', () => {
|
|
86
|
+
// Mismatched tags should not strip content between them
|
|
87
|
+
const result = sanitizeForKeywordDetection('<open>ralph</close> hello');
|
|
88
|
+
expect(result).toContain('ralph');
|
|
89
|
+
});
|
|
90
|
+
it('should strip matching XML tags correctly', () => {
|
|
91
|
+
const result = sanitizeForKeywordDetection('<div>ralph</div> hello');
|
|
92
|
+
expect(result).not.toContain('ralph');
|
|
93
|
+
expect(result).toContain('hello');
|
|
94
|
+
});
|
|
95
|
+
it('should strip nested matching XML tags', () => {
|
|
96
|
+
const result = sanitizeForKeywordDetection('<outer>some <inner>text</inner> ralph</outer> visible');
|
|
97
|
+
expect(result).not.toContain('ralph');
|
|
98
|
+
expect(result).toContain('visible');
|
|
99
|
+
});
|
|
100
|
+
it('should strip absolute file paths starting with /', () => {
|
|
101
|
+
const result = sanitizeForKeywordDetection('open /usr/local/bin/codex');
|
|
102
|
+
expect(result).not.toContain('codex');
|
|
103
|
+
});
|
|
104
|
+
it('should strip relative file paths starting with ./', () => {
|
|
105
|
+
const result = sanitizeForKeywordDetection('edit ./src/codex.ts');
|
|
106
|
+
expect(result).not.toContain('codex');
|
|
107
|
+
});
|
|
108
|
+
it('should strip multi-segment file paths', () => {
|
|
109
|
+
const result = sanitizeForKeywordDetection('open src/mcp/codex-core.ts');
|
|
110
|
+
expect(result).not.toContain('codex');
|
|
111
|
+
});
|
|
112
|
+
it('should NOT strip standalone words that look like single segments', () => {
|
|
113
|
+
// "ask codex" should not be stripped since "codex" is not a path
|
|
114
|
+
const result = sanitizeForKeywordDetection('ask codex to review');
|
|
115
|
+
expect(result).toContain('ask codex');
|
|
116
|
+
});
|
|
117
|
+
it('should NOT strip slash-less words with dots', () => {
|
|
118
|
+
// "file.txt" alone (no path separator) should be kept
|
|
119
|
+
const result = sanitizeForKeywordDetection('rename codex.config');
|
|
120
|
+
expect(result).toContain('codex');
|
|
121
|
+
});
|
|
122
|
+
});
|
|
123
|
+
describe('extractPromptText', () => {
|
|
124
|
+
it('should extract text from text parts', () => {
|
|
125
|
+
const parts = [
|
|
126
|
+
{ type: 'text', text: 'Hello' },
|
|
127
|
+
{ type: 'text', text: 'World' },
|
|
128
|
+
];
|
|
129
|
+
expect(extractPromptText(parts)).toBe('Hello World');
|
|
130
|
+
});
|
|
131
|
+
it('should ignore non-text parts', () => {
|
|
132
|
+
const parts = [
|
|
133
|
+
{ type: 'text', text: 'Hello' },
|
|
134
|
+
{ type: 'image', url: 'http://example.com' },
|
|
135
|
+
{ type: 'text', text: 'World' },
|
|
136
|
+
];
|
|
137
|
+
expect(extractPromptText(parts)).toBe('Hello World');
|
|
138
|
+
});
|
|
139
|
+
it('should handle empty parts array', () => {
|
|
140
|
+
expect(extractPromptText([])).toBe('');
|
|
141
|
+
});
|
|
142
|
+
it('should handle parts with no text', () => {
|
|
143
|
+
const parts = [
|
|
144
|
+
{ type: 'text' },
|
|
145
|
+
{ type: 'text', text: 'Valid' },
|
|
146
|
+
];
|
|
147
|
+
expect(extractPromptText(parts)).toBe('Valid');
|
|
148
|
+
});
|
|
149
|
+
it('should handle undefined text gracefully', () => {
|
|
150
|
+
const parts = [
|
|
151
|
+
{ type: 'text', text: undefined },
|
|
152
|
+
{ type: 'text', text: 'Hello' },
|
|
153
|
+
];
|
|
154
|
+
expect(extractPromptText(parts)).toBe('Hello');
|
|
155
|
+
});
|
|
156
|
+
it('should handle all non-text parts', () => {
|
|
157
|
+
const parts = [
|
|
158
|
+
{ type: 'image' },
|
|
159
|
+
{ type: 'tool_use' },
|
|
160
|
+
];
|
|
161
|
+
expect(extractPromptText(parts)).toBe('');
|
|
162
|
+
});
|
|
163
|
+
});
|
|
164
|
+
describe('detectKeywordsWithType', () => {
|
|
165
|
+
describe('ralph keyword', () => {
|
|
166
|
+
it('should detect ralph keyword', () => {
|
|
167
|
+
const result = detectKeywordsWithType('Please ralph this task');
|
|
168
|
+
const ralphMatch = result.find((r) => r.type === 'ralph');
|
|
169
|
+
expect(ralphMatch).toBeDefined();
|
|
170
|
+
expect(ralphMatch?.keyword).toBe('ralph');
|
|
171
|
+
});
|
|
172
|
+
it('should NOT detect informational Korean questions about ralph and ralplan', () => {
|
|
173
|
+
const result = detectKeywordsWithType('ralph 와 ralplan 은 뭐야?');
|
|
174
|
+
expect(result).toEqual([]);
|
|
175
|
+
});
|
|
176
|
+
it('should NOT detect informational English questions about ralph', () => {
|
|
177
|
+
const result = detectKeywordsWithType('What is ralph and how do I use it?');
|
|
178
|
+
expect(result).toEqual([]);
|
|
179
|
+
});
|
|
180
|
+
it('should NOT detect informational Japanese questions about ralplan', () => {
|
|
181
|
+
const result = detectKeywordsWithType('ralplan とは? 使い方を教えて');
|
|
182
|
+
expect(result).toEqual([]);
|
|
183
|
+
});
|
|
184
|
+
it('should NOT detect informational Chinese questions about ralph', () => {
|
|
185
|
+
const result = detectKeywordsWithType('ralph 是什么?怎么用?');
|
|
186
|
+
expect(result).toEqual([]);
|
|
187
|
+
});
|
|
188
|
+
it('Korean informational prompt does not trigger keyword', () => {
|
|
189
|
+
// "알려줘" (tell me about) is informational
|
|
190
|
+
expect(detectKeywordsWithType('오토파일럿 기능 알려줘')).toHaveLength(0);
|
|
191
|
+
expect(detectKeywordsWithType('랄프 뭐야')).toHaveLength(0);
|
|
192
|
+
expect(detectKeywordsWithType('울트라워크 사용법 설명해줘')).toHaveLength(0);
|
|
193
|
+
expect(detectKeywordsWithType('딥인터뷰 방법 소개해줘')).toHaveLength(0);
|
|
194
|
+
});
|
|
195
|
+
it('Korean expanded informational phrases do not trigger keyword', () => {
|
|
196
|
+
// "뭔데" (what is it), "어떤 기능이야", "소개 부탁", "알려줄래", "뭐가 달라" are informational
|
|
197
|
+
expect(detectKeywordsWithType('오토파일럿이 뭔데')).toHaveLength(0);
|
|
198
|
+
expect(detectKeywordsWithType('안티슬롭이 뭐야')).toHaveLength(0);
|
|
199
|
+
expect(detectKeywordsWithType('오토파일럿 어떤 기능이야')).toHaveLength(0);
|
|
200
|
+
expect(detectKeywordsWithType('랄프 소개 부탁해')).toHaveLength(0);
|
|
201
|
+
expect(detectKeywordsWithType('울트라워크 알려줄래')).toHaveLength(0);
|
|
202
|
+
expect(detectKeywordsWithType('오토파일럿이 랄프랑 뭐가 달라')).toHaveLength(0);
|
|
203
|
+
});
|
|
204
|
+
it('Korean imperative command with 기능/방법 SHOULD trigger keyword (not filtered)', () => {
|
|
205
|
+
// "기능 켜줘" / "기능으로 진행해줘" — 기능 alone without a question verb is NOT informational
|
|
206
|
+
const autopilotResult = detectKeywordsWithType('오토파일럿 기능 켜고 버그 고쳐줘');
|
|
207
|
+
expect(autopilotResult.find((r) => r.type === 'autopilot')).toBeDefined();
|
|
208
|
+
const ralphResult = detectKeywordsWithType('랄프 기능으로 끝까지 진행해줘');
|
|
209
|
+
expect(ralphResult.find((r) => r.type === 'ralph')).toBeDefined();
|
|
210
|
+
});
|
|
211
|
+
it('should NOT detect "don\'t stop" phrase', () => {
|
|
212
|
+
const result = detectKeywordsWithType("Don't stop until done");
|
|
213
|
+
const ralphMatch = result.find((r) => r.type === 'ralph');
|
|
214
|
+
expect(ralphMatch).toBeUndefined();
|
|
215
|
+
});
|
|
216
|
+
it('should NOT detect "must complete" phrase', () => {
|
|
217
|
+
const result = detectKeywordsWithType('You must complete this task');
|
|
218
|
+
const ralphMatch = result.find((r) => r.type === 'ralph');
|
|
219
|
+
expect(ralphMatch).toBeUndefined();
|
|
220
|
+
});
|
|
221
|
+
it('should NOT detect "until done" phrase', () => {
|
|
222
|
+
const result = detectKeywordsWithType('Keep going until done');
|
|
223
|
+
const ralphMatch = result.find((r) => r.type === 'ralph');
|
|
224
|
+
expect(ralphMatch).toBeUndefined();
|
|
225
|
+
});
|
|
226
|
+
});
|
|
227
|
+
describe('autopilot keyword', () => {
|
|
228
|
+
it('should detect autopilot keyword', () => {
|
|
229
|
+
const result = detectKeywordsWithType('Run in autopilot mode');
|
|
230
|
+
const autopilotMatch = result.find((r) => r.type === 'autopilot');
|
|
231
|
+
expect(autopilotMatch).toBeDefined();
|
|
232
|
+
});
|
|
233
|
+
it('should detect "auto pilot" with space', () => {
|
|
234
|
+
const result = detectKeywordsWithType('Enable auto pilot');
|
|
235
|
+
const autopilotMatch = result.find((r) => r.type === 'autopilot');
|
|
236
|
+
expect(autopilotMatch).toBeDefined();
|
|
237
|
+
});
|
|
238
|
+
it('should detect "auto-pilot" with hyphen', () => {
|
|
239
|
+
const result = detectKeywordsWithType('Enable auto-pilot mode');
|
|
240
|
+
const autopilotMatch = result.find((r) => r.type === 'autopilot');
|
|
241
|
+
expect(autopilotMatch).toBeDefined();
|
|
242
|
+
});
|
|
243
|
+
it('should detect "full auto" keyword', () => {
|
|
244
|
+
const result = detectKeywordsWithType('Go full auto on this');
|
|
245
|
+
const autopilotMatch = result.find((r) => r.type === 'autopilot');
|
|
246
|
+
expect(autopilotMatch).toBeDefined();
|
|
247
|
+
});
|
|
248
|
+
it('should detect "fullsend" keyword', () => {
|
|
249
|
+
const result = detectKeywordsWithType('fullsend this implementation');
|
|
250
|
+
const autopilotMatch = result.find((r) => r.type === 'autopilot');
|
|
251
|
+
expect(autopilotMatch).toBeDefined();
|
|
252
|
+
});
|
|
253
|
+
it('should NOT detect "build me" phrase', () => {
|
|
254
|
+
const result = detectKeywordsWithType('build me a web app');
|
|
255
|
+
const autopilotMatch = result.find((r) => r.type === 'autopilot');
|
|
256
|
+
expect(autopilotMatch).toBeUndefined();
|
|
257
|
+
});
|
|
258
|
+
it('should NOT detect "autonomous" keyword', () => {
|
|
259
|
+
const result = detectKeywordsWithType('Run in autonomous mode');
|
|
260
|
+
const autopilotMatch = result.find((r) => r.type === 'autopilot');
|
|
261
|
+
expect(autopilotMatch).toBeUndefined();
|
|
262
|
+
});
|
|
263
|
+
});
|
|
264
|
+
describe('ultrawork keyword', () => {
|
|
265
|
+
it('should detect ultrawork keyword', () => {
|
|
266
|
+
const result = detectKeywordsWithType('Do ultrawork on this');
|
|
267
|
+
const ultraworkMatch = result.find((r) => r.type === 'ultrawork');
|
|
268
|
+
expect(ultraworkMatch).toBeDefined();
|
|
269
|
+
});
|
|
270
|
+
it('should detect ulw abbreviation', () => {
|
|
271
|
+
const result = detectKeywordsWithType('ulw this code');
|
|
272
|
+
const ultraworkMatch = result.find((r) => r.type === 'ultrawork');
|
|
273
|
+
expect(ultraworkMatch).toBeDefined();
|
|
274
|
+
});
|
|
275
|
+
it('should NOT detect uw abbreviation', () => {
|
|
276
|
+
const result = detectKeywordsWithType('uw this code');
|
|
277
|
+
const ultraworkMatch = result.find((r) => r.type === 'ultrawork');
|
|
278
|
+
expect(ultraworkMatch).toBeUndefined();
|
|
279
|
+
});
|
|
280
|
+
it('should NOT detect deprecated pipeline phrases', () => {
|
|
281
|
+
const keywordResult = detectKeywordsWithType('agent pipeline the task and chain agents');
|
|
282
|
+
const pipelineLikeMatches = keywordResult.filter((r) => r.type === 'pipeline');
|
|
283
|
+
expect(pipelineLikeMatches).toHaveLength(0);
|
|
284
|
+
});
|
|
285
|
+
});
|
|
286
|
+
describe('tdd keyword', () => {
|
|
287
|
+
it('should detect tdd keyword', () => {
|
|
288
|
+
const result = detectKeywordsWithType('tdd this feature');
|
|
289
|
+
const tddMatch = result.find((r) => r.type === 'tdd');
|
|
290
|
+
expect(tddMatch).toBeDefined();
|
|
291
|
+
});
|
|
292
|
+
it('should detect test first phrase', () => {
|
|
293
|
+
const result = detectKeywordsWithType('test first approach');
|
|
294
|
+
const tddMatch = result.find((r) => r.type === 'tdd');
|
|
295
|
+
expect(tddMatch).toBeDefined();
|
|
296
|
+
});
|
|
297
|
+
it('should NOT detect red green phrase', () => {
|
|
298
|
+
const result = detectKeywordsWithType('red green refactor cycle');
|
|
299
|
+
const tddMatch = result.find((r) => r.type === 'tdd');
|
|
300
|
+
expect(tddMatch).toBeUndefined();
|
|
301
|
+
});
|
|
302
|
+
});
|
|
303
|
+
describe('code-review keyword', () => {
|
|
304
|
+
it('should detect code review phrase', () => {
|
|
305
|
+
const result = detectKeywordsWithType('please do a code review');
|
|
306
|
+
const match = result.find((r) => r.type === 'code-review');
|
|
307
|
+
expect(match).toBeDefined();
|
|
308
|
+
});
|
|
309
|
+
it('should detect review code phrase', () => {
|
|
310
|
+
const result = detectKeywordsWithType('review code for this change');
|
|
311
|
+
const match = result.find((r) => r.type === 'code-review');
|
|
312
|
+
expect(match).toBeDefined();
|
|
313
|
+
});
|
|
314
|
+
});
|
|
315
|
+
describe('security-review keyword', () => {
|
|
316
|
+
it('should detect security review phrase', () => {
|
|
317
|
+
const result = detectKeywordsWithType('run a security review');
|
|
318
|
+
const match = result.find((r) => r.type === 'security-review');
|
|
319
|
+
expect(match).toBeDefined();
|
|
320
|
+
});
|
|
321
|
+
it('should detect review security phrase', () => {
|
|
322
|
+
const result = detectKeywordsWithType('review security for this change');
|
|
323
|
+
const match = result.find((r) => r.type === 'security-review');
|
|
324
|
+
expect(match).toBeDefined();
|
|
325
|
+
});
|
|
326
|
+
});
|
|
327
|
+
describe('ultrathink keyword', () => {
|
|
328
|
+
it('should detect ultrathink keyword', () => {
|
|
329
|
+
const result = detectKeywordsWithType('ultrathink about this problem');
|
|
330
|
+
const ultrathinkMatch = result.find((r) => r.type === 'ultrathink');
|
|
331
|
+
expect(ultrathinkMatch).toBeDefined();
|
|
332
|
+
});
|
|
333
|
+
it('should NOT detect "think hard" phrase', () => {
|
|
334
|
+
const result = detectKeywordsWithType('think hard about this problem');
|
|
335
|
+
const ultrathinkMatch = result.find((r) => r.type === 'ultrathink');
|
|
336
|
+
expect(ultrathinkMatch).toBeUndefined();
|
|
337
|
+
});
|
|
338
|
+
it('should NOT detect "think deeply" phrase', () => {
|
|
339
|
+
const result = detectKeywordsWithType('think deeply about this problem');
|
|
340
|
+
const ultrathinkMatch = result.find((r) => r.type === 'ultrathink');
|
|
341
|
+
expect(ultrathinkMatch).toBeUndefined();
|
|
342
|
+
});
|
|
343
|
+
});
|
|
344
|
+
describe('deepsearch keyword', () => {
|
|
345
|
+
it('should detect deepsearch keyword', () => {
|
|
346
|
+
const result = detectKeywordsWithType('deepsearch for files');
|
|
347
|
+
const searchMatch = result.find((r) => r.type === 'deepsearch');
|
|
348
|
+
expect(searchMatch).toBeDefined();
|
|
349
|
+
});
|
|
350
|
+
it('should detect search the codebase', () => {
|
|
351
|
+
const result = detectKeywordsWithType('search the codebase');
|
|
352
|
+
const searchMatch = result.find((r) => r.type === 'deepsearch');
|
|
353
|
+
expect(searchMatch).toBeDefined();
|
|
354
|
+
});
|
|
355
|
+
it('should detect find in codebase', () => {
|
|
356
|
+
const result = detectKeywordsWithType('find in codebase');
|
|
357
|
+
const searchMatch = result.find((r) => r.type === 'deepsearch');
|
|
358
|
+
expect(searchMatch).toBeDefined();
|
|
359
|
+
});
|
|
360
|
+
it('should detect find in the codebase', () => {
|
|
361
|
+
const result = detectKeywordsWithType('find in the codebase');
|
|
362
|
+
const searchMatch = result.find((r) => r.type === 'deepsearch');
|
|
363
|
+
expect(searchMatch).toBeDefined();
|
|
364
|
+
});
|
|
365
|
+
it('should NOT detect generic find', () => {
|
|
366
|
+
const result = detectKeywordsWithType('find the bug');
|
|
367
|
+
const searchMatch = result.find((r) => r.type === 'deepsearch');
|
|
368
|
+
expect(searchMatch).toBeUndefined();
|
|
369
|
+
});
|
|
370
|
+
it('should NOT detect search code pattern', () => {
|
|
371
|
+
const result = detectKeywordsWithType('search code for errors');
|
|
372
|
+
const searchMatch = result.find((r) => r.type === 'deepsearch');
|
|
373
|
+
expect(searchMatch).toBeUndefined();
|
|
374
|
+
});
|
|
375
|
+
it('should NOT detect find in all files', () => {
|
|
376
|
+
const result = detectKeywordsWithType('find in all files');
|
|
377
|
+
const searchMatch = result.find((r) => r.type === 'deepsearch');
|
|
378
|
+
expect(searchMatch).toBeUndefined();
|
|
379
|
+
});
|
|
380
|
+
it('should NOT detect search project', () => {
|
|
381
|
+
const result = detectKeywordsWithType('search the project');
|
|
382
|
+
const searchMatch = result.find((r) => r.type === 'deepsearch');
|
|
383
|
+
expect(searchMatch).toBeUndefined();
|
|
384
|
+
});
|
|
385
|
+
it('should NOT detect search files', () => {
|
|
386
|
+
const result = detectKeywordsWithType('search files for errors');
|
|
387
|
+
const searchMatch = result.find((r) => r.type === 'deepsearch');
|
|
388
|
+
expect(searchMatch).toBeUndefined();
|
|
389
|
+
});
|
|
390
|
+
});
|
|
391
|
+
describe('analyze keyword', () => {
|
|
392
|
+
it('should detect deep analyze keyword', () => {
|
|
393
|
+
const result = detectKeywordsWithType('deep analyze this code');
|
|
394
|
+
const analyzeMatch = result.find((r) => r.type === 'analyze');
|
|
395
|
+
expect(analyzeMatch).toBeDefined();
|
|
396
|
+
});
|
|
397
|
+
it('should detect deep-analyze with hyphen', () => {
|
|
398
|
+
const result = detectKeywordsWithType('deep-analyze this code');
|
|
399
|
+
const analyzeMatch = result.find((r) => r.type === 'analyze');
|
|
400
|
+
expect(analyzeMatch).toBeDefined();
|
|
401
|
+
});
|
|
402
|
+
it('should detect deepanalyze without space', () => {
|
|
403
|
+
const result = detectKeywordsWithType('deepanalyze this code');
|
|
404
|
+
const analyzeMatch = result.find((r) => r.type === 'analyze');
|
|
405
|
+
expect(analyzeMatch).toBeDefined();
|
|
406
|
+
});
|
|
407
|
+
it('should NOT detect investigate with context', () => {
|
|
408
|
+
const result = detectKeywordsWithType('investigate the issue');
|
|
409
|
+
const analyzeMatch = result.find((r) => r.type === 'analyze');
|
|
410
|
+
expect(analyzeMatch).toBeUndefined();
|
|
411
|
+
});
|
|
412
|
+
it('should NOT detect investigate this', () => {
|
|
413
|
+
const result = detectKeywordsWithType('investigate this bug');
|
|
414
|
+
const analyzeMatch = result.find((r) => r.type === 'analyze');
|
|
415
|
+
expect(analyzeMatch).toBeUndefined();
|
|
416
|
+
});
|
|
417
|
+
it('should NOT detect investigate why', () => {
|
|
418
|
+
const result = detectKeywordsWithType('investigate why this fails');
|
|
419
|
+
const analyzeMatch = result.find((r) => r.type === 'analyze');
|
|
420
|
+
expect(analyzeMatch).toBeUndefined();
|
|
421
|
+
});
|
|
422
|
+
it('should NOT detect debug the', () => {
|
|
423
|
+
const result = detectKeywordsWithType('debug the function');
|
|
424
|
+
const analyzeMatch = result.find((r) => r.type === 'analyze');
|
|
425
|
+
expect(analyzeMatch).toBeUndefined();
|
|
426
|
+
});
|
|
427
|
+
it('should NOT detect debug this', () => {
|
|
428
|
+
const result = detectKeywordsWithType('debug this issue');
|
|
429
|
+
const analyzeMatch = result.find((r) => r.type === 'analyze');
|
|
430
|
+
expect(analyzeMatch).toBeUndefined();
|
|
431
|
+
});
|
|
432
|
+
it('should NOT detect debug why', () => {
|
|
433
|
+
const result = detectKeywordsWithType('debug why this breaks');
|
|
434
|
+
const analyzeMatch = result.find((r) => r.type === 'analyze');
|
|
435
|
+
expect(analyzeMatch).toBeUndefined();
|
|
436
|
+
});
|
|
437
|
+
it('should NOT detect generic analyze', () => {
|
|
438
|
+
const result = detectKeywordsWithType('analyze without context');
|
|
439
|
+
const analyzeMatch = result.find((r) => r.type === 'analyze');
|
|
440
|
+
expect(analyzeMatch).toBeUndefined();
|
|
441
|
+
});
|
|
442
|
+
});
|
|
443
|
+
describe('case insensitivity', () => {
|
|
444
|
+
it('should detect RALPH in uppercase', () => {
|
|
445
|
+
const result = detectKeywordsWithType('RALPH this task');
|
|
446
|
+
const ralphMatch = result.find((r) => r.type === 'ralph');
|
|
447
|
+
expect(ralphMatch).toBeDefined();
|
|
448
|
+
});
|
|
449
|
+
it('should detect AUTOPILOT in uppercase', () => {
|
|
450
|
+
const result = detectKeywordsWithType('AUTOPILOT mode');
|
|
451
|
+
const autopilotMatch = result.find((r) => r.type === 'autopilot');
|
|
452
|
+
expect(autopilotMatch).toBeDefined();
|
|
453
|
+
});
|
|
454
|
+
it('should detect mixed case keywords', () => {
|
|
455
|
+
const result = detectKeywordsWithType('UltraThink about this');
|
|
456
|
+
const ultrathinkMatch = result.find((r) => r.type === 'ultrathink');
|
|
457
|
+
expect(ultrathinkMatch).toBeDefined();
|
|
458
|
+
});
|
|
459
|
+
});
|
|
460
|
+
describe('code block exclusion', () => {
|
|
461
|
+
it('should not detect keyword inside fenced code block', () => {
|
|
462
|
+
const text = '```\nautopilot\n```';
|
|
463
|
+
const result = detectKeywordsWithType(text);
|
|
464
|
+
expect(result.length).toBe(0);
|
|
465
|
+
});
|
|
466
|
+
it('should not detect keyword inside inline code', () => {
|
|
467
|
+
const text = 'Use `autopilot` command';
|
|
468
|
+
const result = detectKeywordsWithType(text);
|
|
469
|
+
expect(result.length).toBe(0);
|
|
470
|
+
});
|
|
471
|
+
it('should detect keyword outside code block but not inside', () => {
|
|
472
|
+
const text = 'autopilot ```autopilot``` end';
|
|
473
|
+
const result = detectKeywordsWithType(text);
|
|
474
|
+
const autopilotMatches = result.filter((r) => r.type === 'autopilot');
|
|
475
|
+
expect(autopilotMatches.length).toBeGreaterThan(0);
|
|
476
|
+
});
|
|
477
|
+
it('should not detect keyword inside XML tags', () => {
|
|
478
|
+
const text = '<system-reminder>ralph</system-reminder> hello';
|
|
479
|
+
const result = detectKeywordsWithType(text);
|
|
480
|
+
const ralphMatch = result.find((r) => r.type === 'ralph');
|
|
481
|
+
expect(ralphMatch).toBeUndefined();
|
|
482
|
+
});
|
|
483
|
+
});
|
|
484
|
+
describe('codex keyword', () => {
|
|
485
|
+
it('should detect "ask codex"', () => {
|
|
486
|
+
const result = detectKeywordsWithType('ask codex to review');
|
|
487
|
+
const codexMatch = result.find((r) => r.type === 'codex');
|
|
488
|
+
expect(codexMatch).toBeDefined();
|
|
489
|
+
});
|
|
490
|
+
it('should detect "use gpt"', () => {
|
|
491
|
+
const result = detectKeywordsWithType('use gpt for review');
|
|
492
|
+
const codexMatch = result.find((r) => r.type === 'codex');
|
|
493
|
+
expect(codexMatch).toBeDefined();
|
|
494
|
+
});
|
|
495
|
+
it('should detect "delegate to codex"', () => {
|
|
496
|
+
const result = detectKeywordsWithType('delegate to codex');
|
|
497
|
+
const codexMatch = result.find((r) => r.type === 'codex');
|
|
498
|
+
expect(codexMatch).toBeDefined();
|
|
499
|
+
});
|
|
500
|
+
it('should detect "delegate to gpt"', () => {
|
|
501
|
+
const result = detectKeywordsWithType('delegate to gpt');
|
|
502
|
+
const codexMatch = result.find((r) => r.type === 'codex');
|
|
503
|
+
expect(codexMatch).toBeDefined();
|
|
504
|
+
});
|
|
505
|
+
it('should NOT detect bare codex keyword', () => {
|
|
506
|
+
const result = detectKeywordsWithType('codex review this');
|
|
507
|
+
const codexMatch = result.find((r) => r.type === 'codex');
|
|
508
|
+
expect(codexMatch).toBeUndefined();
|
|
509
|
+
});
|
|
510
|
+
it('should NOT detect bare gpt keyword', () => {
|
|
511
|
+
const result = detectKeywordsWithType('gpt is great');
|
|
512
|
+
const codexMatch = result.find((r) => r.type === 'codex');
|
|
513
|
+
expect(codexMatch).toBeUndefined();
|
|
514
|
+
});
|
|
515
|
+
it('should NOT detect gpt model names', () => {
|
|
516
|
+
const result = detectKeywordsWithType('gpt-5.3 model');
|
|
517
|
+
const codexMatch = result.find((r) => r.type === 'codex');
|
|
518
|
+
expect(codexMatch).toBeUndefined();
|
|
519
|
+
});
|
|
520
|
+
it('should NOT detect chatgpt', () => {
|
|
521
|
+
const result = detectKeywordsWithType('chatgpt helped');
|
|
522
|
+
const codexMatch = result.find((r) => r.type === 'codex');
|
|
523
|
+
expect(codexMatch).toBeUndefined();
|
|
524
|
+
});
|
|
525
|
+
});
|
|
526
|
+
describe('ccg keyword', () => {
|
|
527
|
+
it('should detect "ccg" keyword', () => {
|
|
528
|
+
const result = detectKeywordsWithType('ccg this feature');
|
|
529
|
+
const ccgMatch = result.find((r) => r.type === 'ccg');
|
|
530
|
+
expect(ccgMatch).toBeDefined();
|
|
531
|
+
expect(ccgMatch?.keyword).toMatch(/ccg/i);
|
|
532
|
+
});
|
|
533
|
+
it('should detect "claude-codex-gemini" keyword', () => {
|
|
534
|
+
const result = detectKeywordsWithType('use claude-codex-gemini to build this');
|
|
535
|
+
const ccgMatch = result.find((r) => r.type === 'ccg');
|
|
536
|
+
expect(ccgMatch).toBeDefined();
|
|
537
|
+
});
|
|
538
|
+
it('should detect CCG in uppercase', () => {
|
|
539
|
+
const result = detectKeywordsWithType('CCG add user profile page');
|
|
540
|
+
const ccgMatch = result.find((r) => r.type === 'ccg');
|
|
541
|
+
expect(ccgMatch).toBeDefined();
|
|
542
|
+
});
|
|
543
|
+
it('should NOT detect ccg inside code block', () => {
|
|
544
|
+
const result = detectKeywordsWithType('```\nccg mode\n```');
|
|
545
|
+
const ccgMatch = result.find((r) => r.type === 'ccg');
|
|
546
|
+
expect(ccgMatch).toBeUndefined();
|
|
547
|
+
});
|
|
548
|
+
it('should NOT detect ccg inside inline code', () => {
|
|
549
|
+
const result = detectKeywordsWithType('use `ccg` command');
|
|
550
|
+
const ccgMatch = result.find((r) => r.type === 'ccg');
|
|
551
|
+
expect(ccgMatch).toBeUndefined();
|
|
552
|
+
});
|
|
553
|
+
it('should detect ccg with other text around it', () => {
|
|
554
|
+
const result = detectKeywordsWithType('please ccg this full-stack feature');
|
|
555
|
+
const ccgMatch = result.find((r) => r.type === 'ccg');
|
|
556
|
+
expect(ccgMatch).toBeDefined();
|
|
557
|
+
});
|
|
558
|
+
});
|
|
559
|
+
describe('gemini keyword', () => {
|
|
560
|
+
it('should detect "ask gemini"', () => {
|
|
561
|
+
const result = detectKeywordsWithType('ask gemini to design');
|
|
562
|
+
const geminiMatch = result.find((r) => r.type === 'gemini');
|
|
563
|
+
expect(geminiMatch).toBeDefined();
|
|
564
|
+
});
|
|
565
|
+
it('should detect "use gemini"', () => {
|
|
566
|
+
const result = detectKeywordsWithType('use gemini for UI');
|
|
567
|
+
const geminiMatch = result.find((r) => r.type === 'gemini');
|
|
568
|
+
expect(geminiMatch).toBeDefined();
|
|
569
|
+
});
|
|
570
|
+
it('should detect "delegate to gemini"', () => {
|
|
571
|
+
const result = detectKeywordsWithType('delegate to gemini');
|
|
572
|
+
const geminiMatch = result.find((r) => r.type === 'gemini');
|
|
573
|
+
expect(geminiMatch).toBeDefined();
|
|
574
|
+
});
|
|
575
|
+
it('should NOT detect bare gemini keyword', () => {
|
|
576
|
+
const result = detectKeywordsWithType('gemini constellation');
|
|
577
|
+
const geminiMatch = result.find((r) => r.type === 'gemini');
|
|
578
|
+
expect(geminiMatch).toBeUndefined();
|
|
579
|
+
});
|
|
580
|
+
it('should NOT detect gemini in non-intent context', () => {
|
|
581
|
+
const result = detectKeywordsWithType('the Gemini project');
|
|
582
|
+
const geminiMatch = result.find((r) => r.type === 'gemini');
|
|
583
|
+
expect(geminiMatch).toBeUndefined();
|
|
584
|
+
});
|
|
585
|
+
});
|
|
586
|
+
describe('sanitization false-positive prevention', () => {
|
|
587
|
+
it('should NOT detect codex in URL', () => {
|
|
588
|
+
const result = detectKeywordsWithType('see https://example.com/gpt');
|
|
589
|
+
const codexMatch = result.find((r) => r.type === 'codex');
|
|
590
|
+
expect(codexMatch).toBeUndefined();
|
|
591
|
+
});
|
|
592
|
+
it('should NOT detect codex in file path', () => {
|
|
593
|
+
const result = detectKeywordsWithType('open docs/gpt/README.md');
|
|
594
|
+
const codexMatch = result.find((r) => r.type === 'codex');
|
|
595
|
+
expect(codexMatch).toBeUndefined();
|
|
596
|
+
});
|
|
597
|
+
it('should NOT detect codex in inline code', () => {
|
|
598
|
+
const result = detectKeywordsWithType('`ask codex`');
|
|
599
|
+
const codexMatch = result.find((r) => r.type === 'codex');
|
|
600
|
+
expect(codexMatch).toBeUndefined();
|
|
601
|
+
});
|
|
602
|
+
});
|
|
603
|
+
describe('edge cases', () => {
|
|
604
|
+
it('should handle empty input', () => {
|
|
605
|
+
const result = detectKeywordsWithType('');
|
|
606
|
+
expect(result.length).toBe(0);
|
|
607
|
+
});
|
|
608
|
+
it('should handle whitespace only input', () => {
|
|
609
|
+
const result = detectKeywordsWithType(' \n\t ');
|
|
610
|
+
expect(result.length).toBe(0);
|
|
611
|
+
});
|
|
612
|
+
it('should handle special characters', () => {
|
|
613
|
+
const result = detectKeywordsWithType('!@#$%^&*()');
|
|
614
|
+
expect(result.length).toBe(0);
|
|
615
|
+
});
|
|
616
|
+
it('should return position of detected keywords', () => {
|
|
617
|
+
const text = 'Please autopilot this';
|
|
618
|
+
const result = detectKeywordsWithType(text);
|
|
619
|
+
const autopilotMatch = result.find((r) => r.type === 'autopilot');
|
|
620
|
+
expect(autopilotMatch?.position).toBeGreaterThanOrEqual(0);
|
|
621
|
+
});
|
|
622
|
+
it('should detect multiple different keyword types', () => {
|
|
623
|
+
const text = 'autopilot and deep analyze the bug';
|
|
624
|
+
const result = detectKeywordsWithType(text);
|
|
625
|
+
const types = result.map((r) => r.type);
|
|
626
|
+
expect(types).toContain('autopilot');
|
|
627
|
+
expect(types).toContain('analyze');
|
|
628
|
+
});
|
|
629
|
+
});
|
|
630
|
+
});
|
|
631
|
+
describe('hasKeyword', () => {
|
|
632
|
+
it('should return true when keyword exists', () => {
|
|
633
|
+
expect(hasKeyword('autopilot this')).toBe(true);
|
|
634
|
+
});
|
|
635
|
+
it('should return true for ralph keyword', () => {
|
|
636
|
+
expect(hasKeyword('ralph the task')).toBe(true);
|
|
637
|
+
});
|
|
638
|
+
it('should return false when no keyword exists', () => {
|
|
639
|
+
expect(hasKeyword('regular text here')).toBe(false);
|
|
640
|
+
});
|
|
641
|
+
it('should return false for empty input', () => {
|
|
642
|
+
expect(hasKeyword('')).toBe(false);
|
|
643
|
+
});
|
|
644
|
+
it('should return false when keyword is inside code block', () => {
|
|
645
|
+
expect(hasKeyword('```autopilot```')).toBe(false);
|
|
646
|
+
});
|
|
647
|
+
it('should return true when keyword is outside code block', () => {
|
|
648
|
+
expect(hasKeyword('autopilot ```other code```')).toBe(true);
|
|
649
|
+
});
|
|
650
|
+
});
|
|
651
|
+
describe('getPrimaryKeyword', () => {
|
|
652
|
+
describe('priority order', () => {
|
|
653
|
+
it('should return ralph over autopilot', () => {
|
|
654
|
+
const result = getPrimaryKeyword('ralph and autopilot');
|
|
655
|
+
expect(result?.type).toBe('ralph');
|
|
656
|
+
});
|
|
657
|
+
it('should return autopilot over ultrawork', () => {
|
|
658
|
+
const result = getPrimaryKeyword('autopilot and ultrawork');
|
|
659
|
+
expect(result?.type).toBe('autopilot');
|
|
660
|
+
});
|
|
661
|
+
it('should return ultrawork over ultrathink', () => {
|
|
662
|
+
const result = getPrimaryKeyword('ultrawork and ultrathink');
|
|
663
|
+
expect(result?.type).toBe('ultrawork');
|
|
664
|
+
});
|
|
665
|
+
it('should return code-review over ultrathink', () => {
|
|
666
|
+
const result = getPrimaryKeyword('code review and ultrathink');
|
|
667
|
+
expect(result?.type).toBe('code-review');
|
|
668
|
+
});
|
|
669
|
+
it('should return security-review over ultrathink', () => {
|
|
670
|
+
const result = getPrimaryKeyword('security review and ultrathink');
|
|
671
|
+
expect(result?.type).toBe('security-review');
|
|
672
|
+
});
|
|
673
|
+
it('should return ultrathink over deepsearch', () => {
|
|
674
|
+
const result = getPrimaryKeyword('ultrathink and search the codebase');
|
|
675
|
+
expect(result?.type).toBe('ultrathink');
|
|
676
|
+
});
|
|
677
|
+
it('should return deepsearch over analyze', () => {
|
|
678
|
+
const result = getPrimaryKeyword('find in codebase and debug the issue');
|
|
679
|
+
expect(result?.type).toBe('deepsearch');
|
|
680
|
+
});
|
|
681
|
+
it('should return analyze when it is the only keyword', () => {
|
|
682
|
+
const result = getPrimaryKeyword('deep analyze the issue');
|
|
683
|
+
expect(result?.type).toBe('analyze');
|
|
684
|
+
});
|
|
685
|
+
});
|
|
686
|
+
describe('multiple keyword conflict resolution', () => {
|
|
687
|
+
it('should return cancel over everything', () => {
|
|
688
|
+
const result = getPrimaryKeyword('cancelomc ralph ultrawork');
|
|
689
|
+
expect(result?.type).toBe('cancel');
|
|
690
|
+
});
|
|
691
|
+
it('should return ralph over ultrawork', () => {
|
|
692
|
+
const result = getPrimaryKeyword('ralph ulw fix errors');
|
|
693
|
+
expect(result?.type).toBe('ralph');
|
|
694
|
+
});
|
|
695
|
+
it('should detect all keywords even when multiple present', () => {
|
|
696
|
+
const result = detectKeywordsWithType('ulw ralph fix errors');
|
|
697
|
+
const types = result.map(r => r.type);
|
|
698
|
+
expect(types).toContain('ultrawork');
|
|
699
|
+
expect(types).toContain('ralph');
|
|
700
|
+
});
|
|
701
|
+
});
|
|
702
|
+
it('should return null when no keyword found', () => {
|
|
703
|
+
const result = getPrimaryKeyword('regular text');
|
|
704
|
+
expect(result).toBeNull();
|
|
705
|
+
});
|
|
706
|
+
it('should return null for empty input', () => {
|
|
707
|
+
const result = getPrimaryKeyword('');
|
|
708
|
+
expect(result).toBeNull();
|
|
709
|
+
});
|
|
710
|
+
it('should return null when keyword is in code block', () => {
|
|
711
|
+
const result = getPrimaryKeyword('```autopilot```');
|
|
712
|
+
expect(result).toBeNull();
|
|
713
|
+
});
|
|
714
|
+
it('should return keyword with correct type and position', () => {
|
|
715
|
+
const result = getPrimaryKeyword('autopilot this task');
|
|
716
|
+
expect(result).not.toBeNull();
|
|
717
|
+
expect(result?.type).toBe('autopilot');
|
|
718
|
+
expect(result?.keyword).toBeDefined();
|
|
719
|
+
expect(result?.position).toBeGreaterThanOrEqual(0);
|
|
720
|
+
});
|
|
721
|
+
it('should handle complex text with multiple keywords', () => {
|
|
722
|
+
const text = 'Please ralph this and then autopilot the rest, think about it and analyze';
|
|
723
|
+
const result = getPrimaryKeyword(text);
|
|
724
|
+
// ralph has highest priority
|
|
725
|
+
expect(result?.type).toBe('ralph');
|
|
726
|
+
});
|
|
727
|
+
});
|
|
728
|
+
describe('getAllKeywords', () => {
|
|
729
|
+
it('should return single keyword in array', () => {
|
|
730
|
+
expect(getAllKeywords('autopilot this')).toEqual(['autopilot']);
|
|
731
|
+
});
|
|
732
|
+
it('should return multiple non-conflicting keywords in priority order', () => {
|
|
733
|
+
expect(getAllKeywords('ulw ralph fix errors')).toEqual(['ralph', 'ultrawork']);
|
|
734
|
+
});
|
|
735
|
+
it('should return cancel exclusively when present', () => {
|
|
736
|
+
expect(getAllKeywords('cancelomc ralph ultrawork')).toEqual(['cancel']);
|
|
737
|
+
});
|
|
738
|
+
it('should not detect deprecated ultrapilot keyword (#1131)', () => {
|
|
739
|
+
const result = getAllKeywords('autopilot ultrapilot build');
|
|
740
|
+
expect(result).not.toContain('ultrapilot');
|
|
741
|
+
// ultrapilot is deprecated, only autopilot should be detected
|
|
742
|
+
expect(result).toContain('autopilot');
|
|
743
|
+
});
|
|
744
|
+
it('should not detect deprecated swarm keyword (#1131)', () => {
|
|
745
|
+
const result = getAllKeywords('swarm 5 agents build this');
|
|
746
|
+
expect(result).not.toContain('swarm');
|
|
747
|
+
});
|
|
748
|
+
it('should return ralph with ultrawork (not mutually exclusive)', () => {
|
|
749
|
+
const result = getAllKeywords('ralph ultrawork fix');
|
|
750
|
+
expect(result).toContain('ralph');
|
|
751
|
+
expect(result).toContain('ultrawork');
|
|
752
|
+
});
|
|
753
|
+
it('should return ralph with codex', () => {
|
|
754
|
+
const result = getAllKeywords('ralph ask gpt to review');
|
|
755
|
+
expect(result).toContain('ralph');
|
|
756
|
+
expect(result).toContain('codex');
|
|
757
|
+
});
|
|
758
|
+
it('should return both codex and gemini when both present', () => {
|
|
759
|
+
const result = getAllKeywords('ask codex and ask gemini');
|
|
760
|
+
expect(result).toContain('codex');
|
|
761
|
+
expect(result).toContain('gemini');
|
|
762
|
+
});
|
|
763
|
+
it('should return ccg when ccg keyword present', () => {
|
|
764
|
+
const result = getAllKeywords('ccg add a user profile feature');
|
|
765
|
+
expect(result).toContain('ccg');
|
|
766
|
+
});
|
|
767
|
+
it('should return ccg with higher priority than codex/gemini', () => {
|
|
768
|
+
const result = getAllKeywords('ccg ask codex to review');
|
|
769
|
+
const ccgIdx = result.indexOf('ccg');
|
|
770
|
+
const codexIdx = result.indexOf('codex');
|
|
771
|
+
expect(ccgIdx).toBeGreaterThanOrEqual(0);
|
|
772
|
+
expect(codexIdx).toBeGreaterThanOrEqual(0);
|
|
773
|
+
expect(ccgIdx).toBeLessThan(codexIdx);
|
|
774
|
+
});
|
|
775
|
+
it('should return ralph before ccg in priority order', () => {
|
|
776
|
+
const result = getAllKeywords('ralph ccg build the app');
|
|
777
|
+
const ralphIdx = result.indexOf('ralph');
|
|
778
|
+
const ccgIdx = result.indexOf('ccg');
|
|
779
|
+
expect(ralphIdx).toBeGreaterThanOrEqual(0);
|
|
780
|
+
expect(ccgIdx).toBeGreaterThanOrEqual(0);
|
|
781
|
+
expect(ralphIdx).toBeLessThan(ccgIdx);
|
|
782
|
+
});
|
|
783
|
+
it('should not return ccg when cancel is present', () => {
|
|
784
|
+
const result = getAllKeywords('cancelomc ccg build');
|
|
785
|
+
expect(result).toEqual(['cancel']);
|
|
786
|
+
expect(result).not.toContain('ccg');
|
|
787
|
+
});
|
|
788
|
+
it('should return ralph over codex in priority', () => {
|
|
789
|
+
const primary = getPrimaryKeyword('ralph ask codex');
|
|
790
|
+
expect(primary?.type).toBe('ralph');
|
|
791
|
+
});
|
|
792
|
+
it('should return cancel over codex/gemini', () => {
|
|
793
|
+
expect(getAllKeywords('cancelomc ask codex')).toEqual(['cancel']);
|
|
794
|
+
});
|
|
795
|
+
it('should return empty array for no keywords', () => {
|
|
796
|
+
expect(getAllKeywords('regular text')).toEqual([]);
|
|
797
|
+
});
|
|
798
|
+
it('should handle code block exclusion', () => {
|
|
799
|
+
expect(getAllKeywords('```autopilot```')).toEqual([]);
|
|
800
|
+
});
|
|
801
|
+
it('should handle multiple combinable keywords', () => {
|
|
802
|
+
const result = getAllKeywords('ralph tdd fix');
|
|
803
|
+
expect(result).toContain('ralph');
|
|
804
|
+
expect(result).toContain('tdd');
|
|
805
|
+
});
|
|
806
|
+
it('should include code-review and security-review in priority order', () => {
|
|
807
|
+
const result = getAllKeywords('security review code review ultrathink');
|
|
808
|
+
expect(result).toEqual(['code-review', 'security-review', 'ultrathink']);
|
|
809
|
+
});
|
|
810
|
+
// Team keyword detection disabled — team is now explicit-only via /team skill
|
|
811
|
+
// to prevent infinite spawning when Claude workers receive prompts containing "team".
|
|
812
|
+
it('should NOT detect team keyword (explicit-only mode)', () => {
|
|
813
|
+
const result = getAllKeywords('team build the API');
|
|
814
|
+
expect(result).not.toContain('team');
|
|
815
|
+
});
|
|
816
|
+
it('should NOT detect coordinated team phrase (explicit-only)', () => {
|
|
817
|
+
const result = getAllKeywords('coordinated team build the API');
|
|
818
|
+
expect(result).not.toContain('team');
|
|
819
|
+
});
|
|
820
|
+
it('should still detect ralph when "team ralph" is used', () => {
|
|
821
|
+
const result = getAllKeywords('team ralph build the API');
|
|
822
|
+
expect(result).toContain('ralph');
|
|
823
|
+
expect(result).not.toContain('team');
|
|
824
|
+
});
|
|
825
|
+
it('should return ralph as primary when team ralph is used', () => {
|
|
826
|
+
const primary = getPrimaryKeyword('team ralph build the API');
|
|
827
|
+
expect(primary?.type).toBe('ralph');
|
|
828
|
+
});
|
|
829
|
+
it('should detect ralph and codex but not team', () => {
|
|
830
|
+
const result = getAllKeywords('team ralph ask codex to review');
|
|
831
|
+
expect(result).toContain('ralph');
|
|
832
|
+
expect(result).not.toContain('team');
|
|
833
|
+
expect(result).toContain('codex');
|
|
834
|
+
});
|
|
835
|
+
it('should not suppress autopilot when team is not detected', () => {
|
|
836
|
+
const result = getAllKeywords('ralph team autopilot build');
|
|
837
|
+
expect(result).toContain('ralph');
|
|
838
|
+
expect(result).not.toContain('team');
|
|
839
|
+
// autopilot is no longer suppressed by team since team is not detected
|
|
840
|
+
expect(result).toContain('autopilot');
|
|
841
|
+
});
|
|
842
|
+
it('should not detect deprecated ultrapilot (#1131)', () => {
|
|
843
|
+
const result = getAllKeywords('ultrapilot build all components');
|
|
844
|
+
expect(result).not.toContain('ultrapilot');
|
|
845
|
+
});
|
|
846
|
+
it('should not detect deprecated swarm (#1131)', () => {
|
|
847
|
+
const result = getAllKeywords('swarm 5 agents fix all errors');
|
|
848
|
+
expect(result).not.toContain('swarm');
|
|
849
|
+
});
|
|
850
|
+
it('should not detect cancel alongside team', () => {
|
|
851
|
+
const result = getAllKeywords('cancelomc team');
|
|
852
|
+
expect(result).toEqual(['cancel']);
|
|
853
|
+
expect(result).not.toContain('team');
|
|
854
|
+
});
|
|
855
|
+
// Dedup regression test
|
|
856
|
+
it('should deduplicate repeated keyword triggers', () => {
|
|
857
|
+
const result = getAllKeywords('autopilot autopilot fix errors');
|
|
858
|
+
const autopilotCount = result.filter(k => k === 'autopilot').length;
|
|
859
|
+
expect(autopilotCount).toBe(1);
|
|
860
|
+
});
|
|
861
|
+
describe('when team is disabled via config', () => {
|
|
862
|
+
beforeEach(() => {
|
|
863
|
+
mockedIsTeamEnabled.mockReturnValue(false);
|
|
864
|
+
});
|
|
865
|
+
afterEach(() => {
|
|
866
|
+
mockedIsTeamEnabled.mockReturnValue(true);
|
|
867
|
+
});
|
|
868
|
+
it('should NOT detect team keyword when disabled', () => {
|
|
869
|
+
const result = getAllKeywords('team build the API');
|
|
870
|
+
expect(result).not.toContain('team');
|
|
871
|
+
});
|
|
872
|
+
it('should NOT detect coordinated team when disabled', () => {
|
|
873
|
+
const result = getAllKeywords('coordinated team build');
|
|
874
|
+
expect(result).not.toContain('team');
|
|
875
|
+
});
|
|
876
|
+
it('should not detect deprecated ultrapilot regardless of team setting (#1131)', () => {
|
|
877
|
+
const result = getAllKeywords('ultrapilot build all');
|
|
878
|
+
expect(result).not.toContain('ultrapilot');
|
|
879
|
+
});
|
|
880
|
+
it('should not detect deprecated swarm regardless of team setting (#1131)', () => {
|
|
881
|
+
const result = getAllKeywords('swarm 5 agents fix errors');
|
|
882
|
+
expect(result).not.toContain('swarm');
|
|
883
|
+
});
|
|
884
|
+
it('should still detect other keywords when team disabled', () => {
|
|
885
|
+
const result = getAllKeywords('team ralph build the API');
|
|
886
|
+
expect(result).toContain('ralph');
|
|
887
|
+
expect(result).not.toContain('team');
|
|
888
|
+
});
|
|
889
|
+
it('should not suppress autopilot when team is disabled', () => {
|
|
890
|
+
const result = getAllKeywords('team autopilot build');
|
|
891
|
+
expect(result).toContain('autopilot');
|
|
892
|
+
expect(result).not.toContain('team');
|
|
893
|
+
});
|
|
894
|
+
});
|
|
895
|
+
});
|
|
896
|
+
describe('isUnderspecifiedForExecution (issue #997)', () => {
|
|
897
|
+
it('should flag vague prompt with just mode keyword', () => {
|
|
898
|
+
expect(isUnderspecifiedForExecution('ralph fix this')).toBe(true);
|
|
899
|
+
});
|
|
900
|
+
it('should flag prompt with no file or function references', () => {
|
|
901
|
+
expect(isUnderspecifiedForExecution('ralph improve the performance')).toBe(true);
|
|
902
|
+
});
|
|
903
|
+
it('should flag short vague prompt', () => {
|
|
904
|
+
expect(isUnderspecifiedForExecution('autopilot build the app')).toBe(true);
|
|
905
|
+
});
|
|
906
|
+
it('should flag empty prompt', () => {
|
|
907
|
+
expect(isUnderspecifiedForExecution('')).toBe(true);
|
|
908
|
+
});
|
|
909
|
+
it('should pass prompt with specific file reference', () => {
|
|
910
|
+
expect(isUnderspecifiedForExecution('ralph fix the bug in src/hooks/bridge.ts')).toBe(false);
|
|
911
|
+
});
|
|
912
|
+
it('should pass prompt with function reference', () => {
|
|
913
|
+
expect(isUnderspecifiedForExecution('ralph fix function processKeywordDetector')).toBe(false);
|
|
914
|
+
});
|
|
915
|
+
it('should pass prompt with issue reference', () => {
|
|
916
|
+
expect(isUnderspecifiedForExecution('ralph implement issue #42')).toBe(false);
|
|
917
|
+
});
|
|
918
|
+
it('should pass prompt with numbered steps', () => {
|
|
919
|
+
expect(isUnderspecifiedForExecution('ralph do:\n1. Add validation\n2. Add tests\n3. Update docs')).toBe(false);
|
|
920
|
+
});
|
|
921
|
+
it('should pass prompt with code block', () => {
|
|
922
|
+
const prompt = 'ralph add this function:\n```typescript\nfunction hello() { return "world"; }\n```';
|
|
923
|
+
expect(isUnderspecifiedForExecution(prompt)).toBe(false);
|
|
924
|
+
});
|
|
925
|
+
it('should pass prompt with force: escape hatch', () => {
|
|
926
|
+
expect(isUnderspecifiedForExecution('force: ralph fix this')).toBe(false);
|
|
927
|
+
});
|
|
928
|
+
it('should pass prompt with ! escape hatch', () => {
|
|
929
|
+
expect(isUnderspecifiedForExecution('! ralph improve it')).toBe(false);
|
|
930
|
+
});
|
|
931
|
+
it('should pass prompt with path reference', () => {
|
|
932
|
+
expect(isUnderspecifiedForExecution('ralph add logging to src/api/server.ts')).toBe(false);
|
|
933
|
+
});
|
|
934
|
+
it('should pass prompt with PR reference', () => {
|
|
935
|
+
expect(isUnderspecifiedForExecution('ralph fix PR #123')).toBe(false);
|
|
936
|
+
});
|
|
937
|
+
it('should pass prompt with directory path', () => {
|
|
938
|
+
expect(isUnderspecifiedForExecution('ralph refactor the hooks in src/hooks')).toBe(false);
|
|
939
|
+
});
|
|
940
|
+
it('should pass long detailed prompt without file refs', () => {
|
|
941
|
+
expect(isUnderspecifiedForExecution('ralph add a new API endpoint for user registration that accepts email and password, validates the input, hashes the password with bcrypt, stores in the users table, and returns a JWT token')).toBe(false);
|
|
942
|
+
});
|
|
943
|
+
it('should pass prompt with acceptance criteria', () => {
|
|
944
|
+
expect(isUnderspecifiedForExecution('ralph add login - acceptance criteria: user can log in with email')).toBe(false);
|
|
945
|
+
});
|
|
946
|
+
it('should pass prompt with error reference', () => {
|
|
947
|
+
expect(isUnderspecifiedForExecution('ralph fix TypeError in the auth module')).toBe(false);
|
|
948
|
+
});
|
|
949
|
+
it('should pass prompt with bullet list', () => {
|
|
950
|
+
expect(isUnderspecifiedForExecution('ralph implement:\n- Add user model\n- Add API routes')).toBe(false);
|
|
951
|
+
});
|
|
952
|
+
// False-positive prevention: concrete signals auto-pass
|
|
953
|
+
describe('false-positive prevention', () => {
|
|
954
|
+
it('should pass with camelCase symbol name', () => {
|
|
955
|
+
expect(isUnderspecifiedForExecution('ralph fix processKeywordDetector')).toBe(false);
|
|
956
|
+
});
|
|
957
|
+
it('should pass with PascalCase class name', () => {
|
|
958
|
+
expect(isUnderspecifiedForExecution('ralph update KeywordDetector')).toBe(false);
|
|
959
|
+
});
|
|
960
|
+
it('should pass with snake_case identifier', () => {
|
|
961
|
+
expect(isUnderspecifiedForExecution('team fix user_model')).toBe(false);
|
|
962
|
+
});
|
|
963
|
+
it('should pass with bare issue number #123', () => {
|
|
964
|
+
expect(isUnderspecifiedForExecution('ralph implement #42')).toBe(false);
|
|
965
|
+
});
|
|
966
|
+
it('should pass with test runner command', () => {
|
|
967
|
+
expect(isUnderspecifiedForExecution('ralph npm test && fix failures')).toBe(false);
|
|
968
|
+
});
|
|
969
|
+
it('should pass with vitest target', () => {
|
|
970
|
+
expect(isUnderspecifiedForExecution('ralph npx vitest run and fix')).toBe(false);
|
|
971
|
+
});
|
|
972
|
+
it('should pass with pytest command', () => {
|
|
973
|
+
expect(isUnderspecifiedForExecution('ralph pytest and fix failures')).toBe(false);
|
|
974
|
+
});
|
|
975
|
+
it('should pass with should return assertion', () => {
|
|
976
|
+
expect(isUnderspecifiedForExecution('ralph fix so it should return 200')).toBe(false);
|
|
977
|
+
});
|
|
978
|
+
it('should pass with stack trace reference', () => {
|
|
979
|
+
expect(isUnderspecifiedForExecution('ralph fix the stack trace error')).toBe(false);
|
|
980
|
+
});
|
|
981
|
+
it('should still gate truly vague prompts', () => {
|
|
982
|
+
expect(isUnderspecifiedForExecution('ralph fix the code')).toBe(true);
|
|
983
|
+
});
|
|
984
|
+
it('should still gate prompts with only stop words', () => {
|
|
985
|
+
expect(isUnderspecifiedForExecution('autopilot make it work')).toBe(true);
|
|
986
|
+
});
|
|
987
|
+
});
|
|
988
|
+
});
|
|
989
|
+
describe('applyRalplanGate (issue #997)', () => {
|
|
990
|
+
it('should redirect underspecified ralph to ralplan', () => {
|
|
991
|
+
const result = applyRalplanGate(['ralph'], 'ralph fix this');
|
|
992
|
+
expect(result.gateApplied).toBe(true);
|
|
993
|
+
expect(result.keywords).toContain('ralplan');
|
|
994
|
+
expect(result.keywords).not.toContain('ralph');
|
|
995
|
+
expect(result.gatedKeywords).toEqual(['ralph']);
|
|
996
|
+
});
|
|
997
|
+
it('should redirect underspecified autopilot to ralplan', () => {
|
|
998
|
+
const result = applyRalplanGate(['autopilot'], 'autopilot build the app');
|
|
999
|
+
expect(result.gateApplied).toBe(true);
|
|
1000
|
+
expect(result.keywords).toContain('ralplan');
|
|
1001
|
+
expect(result.keywords).not.toContain('autopilot');
|
|
1002
|
+
});
|
|
1003
|
+
it('should redirect underspecified team to ralplan', () => {
|
|
1004
|
+
const result = applyRalplanGate(['team'], 'team improve performance');
|
|
1005
|
+
expect(result.gateApplied).toBe(true);
|
|
1006
|
+
expect(result.keywords).toContain('ralplan');
|
|
1007
|
+
expect(result.keywords).not.toContain('team');
|
|
1008
|
+
});
|
|
1009
|
+
it('should not gate well-specified ralph prompt', () => {
|
|
1010
|
+
const result = applyRalplanGate(['ralph'], 'ralph fix the bug in src/hooks/bridge.ts');
|
|
1011
|
+
expect(result.gateApplied).toBe(false);
|
|
1012
|
+
expect(result.keywords).toContain('ralph');
|
|
1013
|
+
});
|
|
1014
|
+
it('should not gate when cancel is present', () => {
|
|
1015
|
+
const result = applyRalplanGate(['cancel'], 'cancelomc ralph fix this');
|
|
1016
|
+
expect(result.gateApplied).toBe(false);
|
|
1017
|
+
});
|
|
1018
|
+
it('should not gate when ralplan is already present', () => {
|
|
1019
|
+
const result = applyRalplanGate(['ralplan'], 'ralplan fix this');
|
|
1020
|
+
expect(result.gateApplied).toBe(false);
|
|
1021
|
+
});
|
|
1022
|
+
it('should not gate non-execution keywords', () => {
|
|
1023
|
+
const result = applyRalplanGate(['tdd', 'ultrathink'], 'tdd improve it');
|
|
1024
|
+
expect(result.gateApplied).toBe(false);
|
|
1025
|
+
});
|
|
1026
|
+
it('should preserve non-execution keywords when gating', () => {
|
|
1027
|
+
const result = applyRalplanGate(['ralph', 'tdd'], 'ralph tdd fix this');
|
|
1028
|
+
expect(result.gateApplied).toBe(true);
|
|
1029
|
+
expect(result.keywords).toContain('tdd');
|
|
1030
|
+
expect(result.keywords).toContain('ralplan');
|
|
1031
|
+
expect(result.keywords).not.toContain('ralph');
|
|
1032
|
+
});
|
|
1033
|
+
it('should return empty gatedKeywords when no gate applied', () => {
|
|
1034
|
+
const result = applyRalplanGate([], 'regular text');
|
|
1035
|
+
expect(result.gateApplied).toBe(false);
|
|
1036
|
+
expect(result.gatedKeywords).toEqual([]);
|
|
1037
|
+
});
|
|
1038
|
+
it('should gate multiple execution keywords at once', () => {
|
|
1039
|
+
const result = applyRalplanGate(['ralph', 'ultrawork'], 'ralph ultrawork fix it');
|
|
1040
|
+
expect(result.gateApplied).toBe(true);
|
|
1041
|
+
expect(result.keywords).toContain('ralplan');
|
|
1042
|
+
expect(result.keywords).not.toContain('ralph');
|
|
1043
|
+
expect(result.keywords).not.toContain('ultrawork');
|
|
1044
|
+
expect(result.gatedKeywords).toContain('ralph');
|
|
1045
|
+
expect(result.gatedKeywords).toContain('ultrawork');
|
|
1046
|
+
});
|
|
1047
|
+
it('should not gate with force: escape hatch', () => {
|
|
1048
|
+
const result = applyRalplanGate(['ralph'], 'force: ralph fix this');
|
|
1049
|
+
expect(result.gateApplied).toBe(false);
|
|
1050
|
+
expect(result.keywords).toContain('ralph');
|
|
1051
|
+
});
|
|
1052
|
+
});
|
|
1053
|
+
describe('bridge pipeline regression: task-size + ralplan gate ordering', () => {
|
|
1054
|
+
it('should gate "ralph fix this" to ralplan even when task-size suppresses heavy modes', () => {
|
|
1055
|
+
// Simulate the bridge pipeline:
|
|
1056
|
+
// 1. getAllKeywordsWithSizeCheck suppresses ralph for small tasks
|
|
1057
|
+
const sizeResult = getAllKeywordsWithSizeCheck('ralph fix this', {
|
|
1058
|
+
enabled: true,
|
|
1059
|
+
smallWordLimit: 50,
|
|
1060
|
+
largeWordLimit: 200,
|
|
1061
|
+
suppressHeavyModesForSmallTasks: true,
|
|
1062
|
+
});
|
|
1063
|
+
// ralph is suppressed because "ralph fix this" is a small task
|
|
1064
|
+
expect(sizeResult.suppressedKeywords).toContain('ralph');
|
|
1065
|
+
expect(sizeResult.keywords).not.toContain('ralph');
|
|
1066
|
+
// 2. Reconstruct full keyword set (bridge fix: gate sees unsuppressed keywords)
|
|
1067
|
+
const fullKeywords = [...sizeResult.keywords, ...sizeResult.suppressedKeywords];
|
|
1068
|
+
expect(fullKeywords).toContain('ralph');
|
|
1069
|
+
// 3. Gate evaluates on full set — should redirect to ralplan
|
|
1070
|
+
const gateResult = applyRalplanGate(fullKeywords, 'ralph fix this');
|
|
1071
|
+
expect(gateResult.gateApplied).toBe(true);
|
|
1072
|
+
expect(gateResult.keywords).toContain('ralplan');
|
|
1073
|
+
expect(gateResult.keywords).not.toContain('ralph');
|
|
1074
|
+
});
|
|
1075
|
+
it('should NOT gate well-specified small ralph prompt', () => {
|
|
1076
|
+
const sizeResult = getAllKeywordsWithSizeCheck('ralph fix src/hooks/bridge.ts', {
|
|
1077
|
+
enabled: true,
|
|
1078
|
+
smallWordLimit: 50,
|
|
1079
|
+
largeWordLimit: 200,
|
|
1080
|
+
suppressHeavyModesForSmallTasks: true,
|
|
1081
|
+
});
|
|
1082
|
+
const fullKeywords = [...sizeResult.keywords, ...sizeResult.suppressedKeywords];
|
|
1083
|
+
const gateResult = applyRalplanGate(fullKeywords, 'ralph fix src/hooks/bridge.ts');
|
|
1084
|
+
// Well-specified: gate should NOT fire, ralph passes through
|
|
1085
|
+
expect(gateResult.gateApplied).toBe(false);
|
|
1086
|
+
});
|
|
1087
|
+
it('should suppress heavy mode normally when gate does not apply and task is small', () => {
|
|
1088
|
+
const sizeResult = getAllKeywordsWithSizeCheck('ralph fix src/hooks/bridge.ts', {
|
|
1089
|
+
enabled: true,
|
|
1090
|
+
smallWordLimit: 50,
|
|
1091
|
+
largeWordLimit: 200,
|
|
1092
|
+
suppressHeavyModesForSmallTasks: true,
|
|
1093
|
+
});
|
|
1094
|
+
const fullKeywords = [...sizeResult.keywords, ...sizeResult.suppressedKeywords];
|
|
1095
|
+
const gateResult = applyRalplanGate(fullKeywords, 'ralph fix src/hooks/bridge.ts');
|
|
1096
|
+
// Gate did not fire, so use task-size-suppressed result
|
|
1097
|
+
expect(gateResult.gateApplied).toBe(false);
|
|
1098
|
+
// Task-size suppression should still apply
|
|
1099
|
+
expect(sizeResult.suppressedKeywords).toContain('ralph');
|
|
1100
|
+
});
|
|
1101
|
+
it('should gate correctly when keywords are NOT suppressed by size-check', () => {
|
|
1102
|
+
// When size-check suppression is disabled, execution keywords flow through
|
|
1103
|
+
// unsuppressed — the gate should still catch underspecified prompts.
|
|
1104
|
+
const prompt = 'ralph fix this';
|
|
1105
|
+
const sizeResult = getAllKeywordsWithSizeCheck(prompt, {
|
|
1106
|
+
enabled: true,
|
|
1107
|
+
smallWordLimit: 50,
|
|
1108
|
+
largeWordLimit: 200,
|
|
1109
|
+
suppressHeavyModesForSmallTasks: false, // size-check won't suppress
|
|
1110
|
+
});
|
|
1111
|
+
// ralph is NOT suppressed (suppression disabled)
|
|
1112
|
+
expect(sizeResult.suppressedKeywords).toHaveLength(0);
|
|
1113
|
+
expect(sizeResult.keywords).toContain('ralph');
|
|
1114
|
+
// Gate should still fire because the prompt is underspecified
|
|
1115
|
+
const fullKeywords = [...sizeResult.keywords, ...sizeResult.suppressedKeywords];
|
|
1116
|
+
const gateResult = applyRalplanGate(fullKeywords, prompt);
|
|
1117
|
+
expect(gateResult.gateApplied).toBe(true);
|
|
1118
|
+
expect(gateResult.keywords).toContain('ralplan');
|
|
1119
|
+
expect(gateResult.keywords).not.toContain('ralph');
|
|
1120
|
+
});
|
|
1121
|
+
it('should let well-specified large prompt pass through both size-check and gate', () => {
|
|
1122
|
+
const prompt = 'ralph fix the TypeError in src/hooks/bridge.ts function processKeywordDetector';
|
|
1123
|
+
const sizeResult = getAllKeywordsWithSizeCheck(prompt, {
|
|
1124
|
+
enabled: true,
|
|
1125
|
+
smallWordLimit: 50,
|
|
1126
|
+
largeWordLimit: 200,
|
|
1127
|
+
suppressHeavyModesForSmallTasks: true,
|
|
1128
|
+
});
|
|
1129
|
+
const fullKeywords = [...sizeResult.keywords, ...sizeResult.suppressedKeywords];
|
|
1130
|
+
const gateResult = applyRalplanGate(fullKeywords, prompt);
|
|
1131
|
+
// Well-specified: gate should NOT fire
|
|
1132
|
+
expect(gateResult.gateApplied).toBe(false);
|
|
1133
|
+
// ralph should be in the final keyword list (either direct or via fullKeywords)
|
|
1134
|
+
expect(fullKeywords).toContain('ralph');
|
|
1135
|
+
});
|
|
1136
|
+
it('should gate autopilot on short vague prompt even when suppressed by size-check', () => {
|
|
1137
|
+
const prompt = 'autopilot make it better';
|
|
1138
|
+
const sizeResult = getAllKeywordsWithSizeCheck(prompt, {
|
|
1139
|
+
enabled: true,
|
|
1140
|
+
smallWordLimit: 50,
|
|
1141
|
+
largeWordLimit: 200,
|
|
1142
|
+
suppressHeavyModesForSmallTasks: true,
|
|
1143
|
+
});
|
|
1144
|
+
// autopilot is suppressed by size-check (small task)
|
|
1145
|
+
expect(sizeResult.suppressedKeywords).toContain('autopilot');
|
|
1146
|
+
expect(sizeResult.keywords).not.toContain('autopilot');
|
|
1147
|
+
// Reconstruct full keywords (as bridge.ts does) and gate
|
|
1148
|
+
const fullKeywords = [...sizeResult.keywords, ...sizeResult.suppressedKeywords];
|
|
1149
|
+
const gateResult = applyRalplanGate(fullKeywords, prompt);
|
|
1150
|
+
// Gate should fire: redirect to ralplan
|
|
1151
|
+
expect(gateResult.gateApplied).toBe(true);
|
|
1152
|
+
expect(gateResult.keywords).toContain('ralplan');
|
|
1153
|
+
expect(gateResult.keywords).not.toContain('autopilot');
|
|
1154
|
+
});
|
|
1155
|
+
it('should preserve non-execution keywords through the full pipeline', () => {
|
|
1156
|
+
const prompt = 'ralph tdd fix this';
|
|
1157
|
+
const sizeResult = getAllKeywordsWithSizeCheck(prompt, {
|
|
1158
|
+
enabled: true,
|
|
1159
|
+
smallWordLimit: 50,
|
|
1160
|
+
largeWordLimit: 200,
|
|
1161
|
+
suppressHeavyModesForSmallTasks: true,
|
|
1162
|
+
});
|
|
1163
|
+
const fullKeywords = [...sizeResult.keywords, ...sizeResult.suppressedKeywords];
|
|
1164
|
+
const gateResult = applyRalplanGate(fullKeywords, prompt);
|
|
1165
|
+
// Gate fires for ralph, tdd is preserved
|
|
1166
|
+
expect(gateResult.gateApplied).toBe(true);
|
|
1167
|
+
expect(gateResult.keywords).toContain('ralplan');
|
|
1168
|
+
expect(gateResult.keywords).toContain('tdd');
|
|
1169
|
+
expect(gateResult.keywords).not.toContain('ralph');
|
|
1170
|
+
});
|
|
1171
|
+
});
|
|
1172
|
+
describe('non-ASCII prompt translation detection', () => {
|
|
1173
|
+
describe('NON_LATIN_SCRIPT_PATTERN - should trigger', () => {
|
|
1174
|
+
it('detects Japanese hiragana', () => {
|
|
1175
|
+
expect(NON_LATIN_SCRIPT_PATTERN.test('UIコンポーネントを修正して')).toBe(true);
|
|
1176
|
+
});
|
|
1177
|
+
it('detects Japanese katakana', () => {
|
|
1178
|
+
expect(NON_LATIN_SCRIPT_PATTERN.test('バグを修正してください')).toBe(true);
|
|
1179
|
+
});
|
|
1180
|
+
it('detects Chinese characters', () => {
|
|
1181
|
+
expect(NON_LATIN_SCRIPT_PATTERN.test('修复这个错误')).toBe(true);
|
|
1182
|
+
});
|
|
1183
|
+
it('detects Korean Hangul', () => {
|
|
1184
|
+
expect(NON_LATIN_SCRIPT_PATTERN.test('버그를 수정해주세요')).toBe(true);
|
|
1185
|
+
});
|
|
1186
|
+
it('detects Cyrillic (Russian)', () => {
|
|
1187
|
+
expect(NON_LATIN_SCRIPT_PATTERN.test('исправь эту ошибку')).toBe(true);
|
|
1188
|
+
});
|
|
1189
|
+
it('detects Arabic', () => {
|
|
1190
|
+
expect(NON_LATIN_SCRIPT_PATTERN.test('أصلح هذا الخطأ')).toBe(true);
|
|
1191
|
+
});
|
|
1192
|
+
it('detects Devanagari (Hindi)', () => {
|
|
1193
|
+
expect(NON_LATIN_SCRIPT_PATTERN.test('इस बग को ठीक करें')).toBe(true);
|
|
1194
|
+
});
|
|
1195
|
+
it('detects mixed non-ASCII with English', () => {
|
|
1196
|
+
expect(NON_LATIN_SCRIPT_PATTERN.test('ralph バグを修正して')).toBe(true);
|
|
1197
|
+
});
|
|
1198
|
+
});
|
|
1199
|
+
describe('NON_LATIN_SCRIPT_PATTERN - should NOT trigger', () => {
|
|
1200
|
+
it('does not trigger on pure ASCII', () => {
|
|
1201
|
+
expect(NON_LATIN_SCRIPT_PATTERN.test('Fix the UI components')).toBe(false);
|
|
1202
|
+
});
|
|
1203
|
+
it('does not trigger on emoji only', () => {
|
|
1204
|
+
expect(NON_LATIN_SCRIPT_PATTERN.test('👍 fix this bug')).toBe(false);
|
|
1205
|
+
});
|
|
1206
|
+
it('does not trigger on accented Latin (café)', () => {
|
|
1207
|
+
expect(NON_LATIN_SCRIPT_PATTERN.test('café résumé naïve')).toBe(false);
|
|
1208
|
+
});
|
|
1209
|
+
it('does not trigger on accented Latin (Spanish)', () => {
|
|
1210
|
+
expect(NON_LATIN_SCRIPT_PATTERN.test('arregla el error por favor')).toBe(false);
|
|
1211
|
+
});
|
|
1212
|
+
it('does not trigger on empty string', () => {
|
|
1213
|
+
expect(NON_LATIN_SCRIPT_PATTERN.test('')).toBe(false);
|
|
1214
|
+
});
|
|
1215
|
+
});
|
|
1216
|
+
describe('sanitizeForKeywordDetection strips non-ASCII from structural noise', () => {
|
|
1217
|
+
it('strips non-ASCII from code blocks before detection', () => {
|
|
1218
|
+
const text = 'Fix this: ```const x = "日本語";```';
|
|
1219
|
+
const sanitized = sanitizeForKeywordDetection(text);
|
|
1220
|
+
// After sanitization, code block content is removed
|
|
1221
|
+
expect(NON_LATIN_SCRIPT_PATTERN.test(sanitized)).toBe(false);
|
|
1222
|
+
});
|
|
1223
|
+
it('strips non-ASCII from URLs before detection', () => {
|
|
1224
|
+
const text = 'See https://example.com/path for details';
|
|
1225
|
+
const sanitized = sanitizeForKeywordDetection(text);
|
|
1226
|
+
// After sanitization, URL is removed - plain text remains
|
|
1227
|
+
expect(sanitized).not.toContain('https://');
|
|
1228
|
+
});
|
|
1229
|
+
it('preserves non-ASCII in plain human-language text', () => {
|
|
1230
|
+
const text = 'UIコンポーネントを修正して';
|
|
1231
|
+
const sanitized = sanitizeForKeywordDetection(text);
|
|
1232
|
+
// Plain Japanese text is preserved after sanitization
|
|
1233
|
+
expect(NON_LATIN_SCRIPT_PATTERN.test(sanitized)).toBe(true);
|
|
1234
|
+
});
|
|
1235
|
+
it('preserves non-ASCII when mixed with English keywords', () => {
|
|
1236
|
+
const text = 'ralph バグを修正して';
|
|
1237
|
+
const sanitized = sanitizeForKeywordDetection(text);
|
|
1238
|
+
// Japanese text preserved, English keyword also preserved
|
|
1239
|
+
expect(NON_LATIN_SCRIPT_PATTERN.test(sanitized)).toBe(true);
|
|
1240
|
+
});
|
|
1241
|
+
});
|
|
1242
|
+
});
|
|
1243
|
+
describe('Korean cross-script keyword detection', () => {
|
|
1244
|
+
describe('Korean keyword detection (basic matching)', () => {
|
|
1245
|
+
it('should detect "오토파일럿" as autopilot', () => {
|
|
1246
|
+
const result = detectKeywordsWithType('오토파일럿');
|
|
1247
|
+
const match = result.find((r) => r.type === 'autopilot');
|
|
1248
|
+
expect(match).toBeDefined();
|
|
1249
|
+
});
|
|
1250
|
+
it('should detect "오토파일럿 해줘" as autopilot', () => {
|
|
1251
|
+
const result = detectKeywordsWithType('오토파일럿 해줘');
|
|
1252
|
+
const match = result.find((r) => r.type === 'autopilot');
|
|
1253
|
+
expect(match).toBeDefined();
|
|
1254
|
+
});
|
|
1255
|
+
it('should detect "랄프" as ralph', () => {
|
|
1256
|
+
const result = detectKeywordsWithType('랄프');
|
|
1257
|
+
const match = result.find((r) => r.type === 'ralph');
|
|
1258
|
+
expect(match).toBeDefined();
|
|
1259
|
+
});
|
|
1260
|
+
it('should detect "랄프 모드" as ralph', () => {
|
|
1261
|
+
const result = detectKeywordsWithType('랄프 모드');
|
|
1262
|
+
const match = result.find((r) => r.type === 'ralph');
|
|
1263
|
+
expect(match).toBeDefined();
|
|
1264
|
+
});
|
|
1265
|
+
it('should NOT detect "취소" as cancel (generic Korean word, too common)', () => {
|
|
1266
|
+
const result = detectKeywordsWithType('취소');
|
|
1267
|
+
const match = result.find((r) => r.type === 'cancel');
|
|
1268
|
+
expect(match).toBeUndefined();
|
|
1269
|
+
});
|
|
1270
|
+
it('should NOT detect "캔슬" as cancel (generic Korean word, too common)', () => {
|
|
1271
|
+
const result = detectKeywordsWithType('캔슬');
|
|
1272
|
+
const match = result.find((r) => r.type === 'cancel');
|
|
1273
|
+
expect(match).toBeUndefined();
|
|
1274
|
+
});
|
|
1275
|
+
it('should NOT detect "스톱" as cancel (generic Korean word, too common)', () => {
|
|
1276
|
+
const result = detectKeywordsWithType('스톱');
|
|
1277
|
+
const match = result.find((r) => r.type === 'cancel');
|
|
1278
|
+
expect(match).toBeUndefined();
|
|
1279
|
+
});
|
|
1280
|
+
it('should NOT trigger cancel for "설정 취소 방법 알려줘" (false positive example)', () => {
|
|
1281
|
+
const result = detectKeywordsWithType('설정 취소 방법 알려줘');
|
|
1282
|
+
const match = result.find((r) => r.type === 'cancel');
|
|
1283
|
+
expect(match).toBeUndefined();
|
|
1284
|
+
});
|
|
1285
|
+
it('should detect "울트라워크" as ultrawork', () => {
|
|
1286
|
+
const result = detectKeywordsWithType('울트라워크');
|
|
1287
|
+
const match = result.find((r) => r.type === 'ultrawork');
|
|
1288
|
+
expect(match).toBeDefined();
|
|
1289
|
+
});
|
|
1290
|
+
it('should detect "랄플랜" as ralplan', () => {
|
|
1291
|
+
const result = detectKeywordsWithType('랄플랜');
|
|
1292
|
+
const match = result.find((r) => r.type === 'ralplan');
|
|
1293
|
+
expect(match).toBeDefined();
|
|
1294
|
+
});
|
|
1295
|
+
it('should detect "코드리뷰 해줘" as code-review', () => {
|
|
1296
|
+
const result = detectKeywordsWithType('코드리뷰 해줘');
|
|
1297
|
+
const match = result.find((r) => r.type === 'code-review');
|
|
1298
|
+
expect(match).toBeDefined();
|
|
1299
|
+
});
|
|
1300
|
+
it('should detect "코드 리뷰 해줘" (spaced) as code-review', () => {
|
|
1301
|
+
const result = detectKeywordsWithType('코드 리뷰 해줘');
|
|
1302
|
+
const match = result.find((r) => r.type === 'code-review');
|
|
1303
|
+
expect(match).toBeDefined();
|
|
1304
|
+
});
|
|
1305
|
+
it('should detect "보안리뷰" as security-review', () => {
|
|
1306
|
+
const result = detectKeywordsWithType('보안리뷰');
|
|
1307
|
+
const match = result.find((r) => r.type === 'security-review');
|
|
1308
|
+
expect(match).toBeDefined();
|
|
1309
|
+
});
|
|
1310
|
+
it('should detect "보안 리뷰" (spaced) as security-review', () => {
|
|
1311
|
+
const result = detectKeywordsWithType('보안 리뷰');
|
|
1312
|
+
const match = result.find((r) => r.type === 'security-review');
|
|
1313
|
+
expect(match).toBeDefined();
|
|
1314
|
+
});
|
|
1315
|
+
it('should NOT detect "코드리뷰어 추천해줘" as code-review (reviewer false positive)', () => {
|
|
1316
|
+
const result = detectKeywordsWithType('코드리뷰어 추천해줘');
|
|
1317
|
+
const match = result.find((r) => r.type === 'code-review');
|
|
1318
|
+
expect(match).toBeUndefined();
|
|
1319
|
+
});
|
|
1320
|
+
it('should NOT detect "보안리뷰어가 필요해" as security-review (reviewer false positive)', () => {
|
|
1321
|
+
const result = detectKeywordsWithType('보안리뷰어가 필요해');
|
|
1322
|
+
const match = result.find((r) => r.type === 'security-review');
|
|
1323
|
+
expect(match).toBeUndefined();
|
|
1324
|
+
});
|
|
1325
|
+
it('should detect "울트라씽크" as ultrathink', () => {
|
|
1326
|
+
const result = detectKeywordsWithType('울트라씽크');
|
|
1327
|
+
const match = result.find((r) => r.type === 'ultrathink');
|
|
1328
|
+
expect(match).toBeDefined();
|
|
1329
|
+
});
|
|
1330
|
+
it('should detect "딥서치" as deepsearch', () => {
|
|
1331
|
+
const result = detectKeywordsWithType('딥서치');
|
|
1332
|
+
const match = result.find((r) => r.type === 'deepsearch');
|
|
1333
|
+
expect(match).toBeDefined();
|
|
1334
|
+
});
|
|
1335
|
+
it('should detect "딥 서치" (spaced) as deepsearch', () => {
|
|
1336
|
+
const result = detectKeywordsWithType('딥 서치');
|
|
1337
|
+
const match = result.find((r) => r.type === 'deepsearch');
|
|
1338
|
+
expect(match).toBeDefined();
|
|
1339
|
+
});
|
|
1340
|
+
it('should detect "딥분석" as analyze', () => {
|
|
1341
|
+
const result = detectKeywordsWithType('딥분석');
|
|
1342
|
+
const match = result.find((r) => r.type === 'analyze');
|
|
1343
|
+
expect(match).toBeDefined();
|
|
1344
|
+
});
|
|
1345
|
+
it('should detect "딥 분석" (spaced) as analyze', () => {
|
|
1346
|
+
const result = detectKeywordsWithType('딥 분석');
|
|
1347
|
+
const match = result.find((r) => r.type === 'analyze');
|
|
1348
|
+
expect(match).toBeDefined();
|
|
1349
|
+
});
|
|
1350
|
+
it('should detect "딥인터뷰" as deep-interview', () => {
|
|
1351
|
+
const result = detectKeywordsWithType('딥인터뷰');
|
|
1352
|
+
const match = result.find((r) => r.type === 'deep-interview');
|
|
1353
|
+
expect(match).toBeDefined();
|
|
1354
|
+
});
|
|
1355
|
+
it('should NOT detect "딥 인터뷰" (spaced) as deep-interview', () => {
|
|
1356
|
+
const result = detectKeywordsWithType('딥 인터뷰');
|
|
1357
|
+
const match = result.find((r) => r.type === 'deep-interview');
|
|
1358
|
+
expect(match).toBeUndefined();
|
|
1359
|
+
});
|
|
1360
|
+
it('should NOT detect "고객 딥 인터뷰 질문지를 만들어줘" as deep-interview', () => {
|
|
1361
|
+
const result = detectKeywordsWithType('고객 딥 인터뷰 질문지를 만들어줘');
|
|
1362
|
+
const match = result.find((r) => r.type === 'deep-interview');
|
|
1363
|
+
expect(match).toBeUndefined();
|
|
1364
|
+
});
|
|
1365
|
+
it('should detect "씨씨지" as ccg', () => {
|
|
1366
|
+
const result = detectKeywordsWithType('씨씨지');
|
|
1367
|
+
const match = result.find((r) => r.type === 'ccg');
|
|
1368
|
+
expect(match).toBeDefined();
|
|
1369
|
+
});
|
|
1370
|
+
it('should detect "테스트퍼스트" as tdd', () => {
|
|
1371
|
+
const result = detectKeywordsWithType('테스트퍼스트');
|
|
1372
|
+
const match = result.find((r) => r.type === 'tdd');
|
|
1373
|
+
expect(match).toBeDefined();
|
|
1374
|
+
});
|
|
1375
|
+
it('should detect "테스트 퍼스트" (spaced) as tdd', () => {
|
|
1376
|
+
const result = detectKeywordsWithType('테스트 퍼스트');
|
|
1377
|
+
const match = result.find((r) => r.type === 'tdd');
|
|
1378
|
+
expect(match).toBeDefined();
|
|
1379
|
+
});
|
|
1380
|
+
});
|
|
1381
|
+
describe('Regression — English keywords still work', () => {
|
|
1382
|
+
it('should detect "autopilot mode" as autopilot (unchanged)', () => {
|
|
1383
|
+
const result = detectKeywordsWithType('autopilot mode');
|
|
1384
|
+
const match = result.find((r) => r.type === 'autopilot');
|
|
1385
|
+
expect(match).toBeDefined();
|
|
1386
|
+
});
|
|
1387
|
+
it('should detect "ralph해줘" (English keyword + Korean particle)', () => {
|
|
1388
|
+
const result = detectKeywordsWithType('ralph해줘');
|
|
1389
|
+
const match = result.find((r) => r.type === 'ralph');
|
|
1390
|
+
expect(match).toBeDefined();
|
|
1391
|
+
});
|
|
1392
|
+
it('should detect "autopilot으로" (English keyword + Korean particle)', () => {
|
|
1393
|
+
const result = detectKeywordsWithType('autopilot으로');
|
|
1394
|
+
const match = result.find((r) => r.type === 'autopilot');
|
|
1395
|
+
expect(match).toBeDefined();
|
|
1396
|
+
});
|
|
1397
|
+
it('should detect "tdd로 해줘" (English keyword + Korean particle)', () => {
|
|
1398
|
+
const result = detectKeywordsWithType('tdd로 해줘');
|
|
1399
|
+
const match = result.find((r) => r.type === 'tdd');
|
|
1400
|
+
expect(match).toBeDefined();
|
|
1401
|
+
});
|
|
1402
|
+
it('should detect "cancelomc" as cancel (unchanged)', () => {
|
|
1403
|
+
const result = detectKeywordsWithType('cancelomc');
|
|
1404
|
+
const match = result.find((r) => r.type === 'cancel');
|
|
1405
|
+
expect(match).toBeDefined();
|
|
1406
|
+
});
|
|
1407
|
+
it('should detect "ultrawork mode" as ultrawork (unchanged)', () => {
|
|
1408
|
+
const result = detectKeywordsWithType('ultrawork mode');
|
|
1409
|
+
const match = result.find((r) => r.type === 'ultrawork');
|
|
1410
|
+
expect(match).toBeDefined();
|
|
1411
|
+
});
|
|
1412
|
+
it('should detect "code review this" as code-review (unchanged)', () => {
|
|
1413
|
+
const result = detectKeywordsWithType('code review this');
|
|
1414
|
+
const match = result.find((r) => r.type === 'code-review');
|
|
1415
|
+
expect(match).toBeDefined();
|
|
1416
|
+
});
|
|
1417
|
+
it('should detect "deepsearch the codebase" as deepsearch (unchanged)', () => {
|
|
1418
|
+
const result = detectKeywordsWithType('deepsearch the codebase');
|
|
1419
|
+
const match = result.find((r) => r.type === 'deepsearch');
|
|
1420
|
+
expect(match).toBeDefined();
|
|
1421
|
+
});
|
|
1422
|
+
});
|
|
1423
|
+
describe('Negative tests — no false positives', () => {
|
|
1424
|
+
it('should NOT match unrelated Korean text "오늘 날씨가 좋네요"', () => {
|
|
1425
|
+
const result = detectKeywordsWithType('오늘 날씨가 좋네요');
|
|
1426
|
+
expect(result.length).toBe(0);
|
|
1427
|
+
});
|
|
1428
|
+
it('should NOT match "프로그래밍을 배우고 싶어요"', () => {
|
|
1429
|
+
const result = detectKeywordsWithType('프로그래밍을 배우고 싶어요');
|
|
1430
|
+
expect(result.length).toBe(0);
|
|
1431
|
+
});
|
|
1432
|
+
it('should NOT match "코드를 작성해주세요" (contains 코드 but not 코드리뷰)', () => {
|
|
1433
|
+
const result = detectKeywordsWithType('코드를 작성해주세요');
|
|
1434
|
+
const codeReviewMatch = result.find((r) => r.type === 'code-review');
|
|
1435
|
+
expect(codeReviewMatch).toBeUndefined();
|
|
1436
|
+
});
|
|
1437
|
+
it('should NOT match empty string', () => {
|
|
1438
|
+
const result = detectKeywordsWithType('');
|
|
1439
|
+
expect(result.length).toBe(0);
|
|
1440
|
+
});
|
|
1441
|
+
});
|
|
1442
|
+
describe('Korean in code blocks should NOT match', () => {
|
|
1443
|
+
it('should NOT detect "오토파일럿" inside fenced code block', () => {
|
|
1444
|
+
const result = detectKeywordsWithType('```오토파일럿```');
|
|
1445
|
+
const match = result.find((r) => r.type === 'autopilot');
|
|
1446
|
+
expect(match).toBeUndefined();
|
|
1447
|
+
});
|
|
1448
|
+
it('should NOT detect "랄프" inside inline code', () => {
|
|
1449
|
+
const result = detectKeywordsWithType('Use `랄프` command');
|
|
1450
|
+
const match = result.find((r) => r.type === 'ralph');
|
|
1451
|
+
expect(match).toBeUndefined();
|
|
1452
|
+
});
|
|
1453
|
+
});
|
|
1454
|
+
describe('Korean priority ordering', () => {
|
|
1455
|
+
it('should return cancel over autopilot when "cancelomc 오토파일럿"', () => {
|
|
1456
|
+
const result = getPrimaryKeyword('cancelomc 오토파일럿');
|
|
1457
|
+
expect(result?.type).toBe('cancel');
|
|
1458
|
+
});
|
|
1459
|
+
it('should return ralph first when "랄프 울트라워크"', () => {
|
|
1460
|
+
const result = getAllKeywords('랄프 울트라워크');
|
|
1461
|
+
expect(result).toContain('ralph');
|
|
1462
|
+
expect(result).toContain('ultrawork');
|
|
1463
|
+
const ralphIdx = result.indexOf('ralph');
|
|
1464
|
+
const ultraworkIdx = result.indexOf('ultrawork');
|
|
1465
|
+
expect(ralphIdx).toBeLessThan(ultraworkIdx);
|
|
1466
|
+
});
|
|
1467
|
+
it('should detect both keywords for "오토파일럿 코드리뷰"', () => {
|
|
1468
|
+
const result = detectKeywordsWithType('오토파일럿 코드리뷰');
|
|
1469
|
+
const types = result.map((r) => r.type);
|
|
1470
|
+
expect(types).toContain('autopilot');
|
|
1471
|
+
expect(types).toContain('code-review');
|
|
1472
|
+
});
|
|
1473
|
+
});
|
|
1474
|
+
describe('Korean + English mixed keywords', () => {
|
|
1475
|
+
it('should return cancel as primary for "ralph cancelomc"', () => {
|
|
1476
|
+
const result = getPrimaryKeyword('ralph cancelomc');
|
|
1477
|
+
expect(result?.type).toBe('cancel');
|
|
1478
|
+
});
|
|
1479
|
+
it('should detect both keywords for "autopilot 코드리뷰"', () => {
|
|
1480
|
+
const result = getAllKeywords('autopilot 코드리뷰');
|
|
1481
|
+
expect(result).toContain('autopilot');
|
|
1482
|
+
expect(result).toContain('code-review');
|
|
1483
|
+
});
|
|
1484
|
+
it('should detect both "랄프 ultrawork", ralph first', () => {
|
|
1485
|
+
const result = getAllKeywords('랄프 ultrawork');
|
|
1486
|
+
expect(result).toContain('ralph');
|
|
1487
|
+
expect(result).toContain('ultrawork');
|
|
1488
|
+
const ralphIdx = result.indexOf('ralph');
|
|
1489
|
+
const ultraworkIdx = result.indexOf('ultrawork');
|
|
1490
|
+
expect(ralphIdx).toBeLessThan(ultraworkIdx);
|
|
1491
|
+
});
|
|
1492
|
+
});
|
|
1493
|
+
describe('getAllKeywords and getPrimaryKeyword with Korean', () => {
|
|
1494
|
+
it('getAllKeywords("랄프 코드리뷰") should return ["ralph", "code-review"]', () => {
|
|
1495
|
+
expect(getAllKeywords('랄프 코드리뷰')).toEqual(['ralph', 'code-review']);
|
|
1496
|
+
});
|
|
1497
|
+
it('getPrimaryKeyword("오토파일럿")?.type should be "autopilot"', () => {
|
|
1498
|
+
expect(getPrimaryKeyword('오토파일럿')?.type).toBe('autopilot');
|
|
1499
|
+
});
|
|
1500
|
+
it('hasKeyword("울트라워크") should be true', () => {
|
|
1501
|
+
expect(hasKeyword('울트라워크')).toBe(true);
|
|
1502
|
+
});
|
|
1503
|
+
it('hasKeyword("오토파일럿") should be true', () => {
|
|
1504
|
+
expect(hasKeyword('오토파일럿')).toBe(true);
|
|
1505
|
+
});
|
|
1506
|
+
});
|
|
1507
|
+
});
|
|
1508
|
+
});
|
|
1509
|
+
//# sourceMappingURL=index.test.js.map
|