claudecode-omc 4.9.4 → 5.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +43 -452
- package/bin/omc-manage.js +8 -0
- package/bundled/manifest.json +7 -0
- package/bundled/upstream/oh-my-claudecode/skills/conductor/SKILL.md +231 -0
- package/bundled/upstream/superpowers/agents/code-reviewer.md +48 -0
- package/bundled/upstream/superpowers/commands/brainstorm.md +5 -0
- package/bundled/upstream/superpowers/commands/execute-plan.md +5 -0
- package/bundled/upstream/superpowers/commands/write-plan.md +5 -0
- package/bundled/upstream/superpowers/hooks/hooks-cursor.json +10 -0
- package/bundled/upstream/superpowers/hooks/hooks.json +16 -0
- package/bundled/upstream/superpowers/hooks/run-hook.cmd +46 -0
- package/bundled/upstream/superpowers/hooks/session-start +57 -0
- package/bundled/upstream/superpowers/skills/brainstorming/SKILL.md +164 -0
- package/bundled/upstream/superpowers/skills/brainstorming/scripts/frame-template.html +214 -0
- package/bundled/upstream/superpowers/skills/brainstorming/scripts/helper.js +88 -0
- package/bundled/upstream/superpowers/skills/brainstorming/scripts/server.cjs +354 -0
- package/bundled/upstream/superpowers/skills/brainstorming/scripts/start-server.sh +148 -0
- package/bundled/upstream/superpowers/skills/brainstorming/scripts/stop-server.sh +56 -0
- package/bundled/upstream/superpowers/skills/brainstorming/spec-document-reviewer-prompt.md +49 -0
- package/bundled/upstream/superpowers/skills/brainstorming/visual-companion.md +287 -0
- package/bundled/upstream/superpowers/skills/dispatching-parallel-agents/SKILL.md +182 -0
- package/bundled/upstream/superpowers/skills/executing-plans/SKILL.md +70 -0
- package/bundled/upstream/superpowers/skills/finishing-a-development-branch/SKILL.md +200 -0
- package/bundled/upstream/superpowers/skills/receiving-code-review/SKILL.md +213 -0
- package/bundled/upstream/superpowers/skills/requesting-code-review/SKILL.md +105 -0
- package/bundled/upstream/superpowers/skills/requesting-code-review/code-reviewer.md +146 -0
- package/bundled/upstream/superpowers/skills/subagent-driven-development/SKILL.md +277 -0
- package/bundled/upstream/superpowers/skills/subagent-driven-development/code-quality-reviewer-prompt.md +26 -0
- package/bundled/upstream/superpowers/skills/subagent-driven-development/implementer-prompt.md +113 -0
- package/bundled/upstream/superpowers/skills/subagent-driven-development/spec-reviewer-prompt.md +61 -0
- package/bundled/upstream/superpowers/skills/systematic-debugging/CREATION-LOG.md +119 -0
- package/bundled/upstream/superpowers/skills/systematic-debugging/SKILL.md +296 -0
- package/bundled/upstream/superpowers/skills/systematic-debugging/condition-based-waiting-example.ts +158 -0
- package/bundled/upstream/superpowers/skills/systematic-debugging/condition-based-waiting.md +115 -0
- package/bundled/upstream/superpowers/skills/systematic-debugging/defense-in-depth.md +122 -0
- package/bundled/upstream/superpowers/skills/systematic-debugging/find-polluter.sh +63 -0
- package/bundled/upstream/superpowers/skills/systematic-debugging/root-cause-tracing.md +169 -0
- package/bundled/upstream/superpowers/skills/systematic-debugging/test-academic.md +14 -0
- package/bundled/upstream/superpowers/skills/systematic-debugging/test-pressure-1.md +58 -0
- package/bundled/upstream/superpowers/skills/systematic-debugging/test-pressure-2.md +68 -0
- package/bundled/upstream/superpowers/skills/systematic-debugging/test-pressure-3.md +69 -0
- package/bundled/upstream/superpowers/skills/test-driven-development/SKILL.md +371 -0
- package/bundled/upstream/superpowers/skills/test-driven-development/testing-anti-patterns.md +299 -0
- package/bundled/upstream/superpowers/skills/using-git-worktrees/SKILL.md +218 -0
- package/bundled/upstream/superpowers/skills/using-superpowers/SKILL.md +117 -0
- package/bundled/upstream/superpowers/skills/using-superpowers/references/codex-tools.md +100 -0
- package/bundled/upstream/superpowers/skills/using-superpowers/references/copilot-tools.md +52 -0
- package/bundled/upstream/superpowers/skills/using-superpowers/references/gemini-tools.md +33 -0
- package/bundled/upstream/superpowers/skills/verification-before-completion/SKILL.md +139 -0
- package/bundled/upstream/superpowers/skills/writing-plans/SKILL.md +152 -0
- package/bundled/upstream/superpowers/skills/writing-plans/plan-document-reviewer-prompt.md +49 -0
- package/bundled/upstream/superpowers/skills/writing-skills/SKILL.md +655 -0
- package/bundled/upstream/superpowers/skills/writing-skills/anthropic-best-practices.md +1150 -0
- package/bundled/upstream/superpowers/skills/writing-skills/examples/CLAUDE_MD_TESTING.md +189 -0
- package/bundled/upstream/superpowers/skills/writing-skills/graphviz-conventions.dot +172 -0
- package/bundled/upstream/superpowers/skills/writing-skills/persuasion-principles.md +187 -0
- package/bundled/upstream/superpowers/skills/writing-skills/render-graphs.js +168 -0
- package/bundled/upstream/superpowers/skills/writing-skills/testing-skills-with-subagents.md +384 -0
- package/package.json +28 -109
- package/scripts/bundle-upstream.sh +45 -0
- package/scripts/post-install-message.js +8 -0
- package/scripts/sync-upstream.sh +30 -0
- package/src/cli/artifact.js +154 -0
- package/src/cli/doctor.js +106 -0
- package/src/cli/index.js +77 -0
- package/src/cli/setup.js +284 -0
- package/src/cli/skill.js +9 -0
- package/src/cli/source.js +198 -0
- package/src/config/artifact-types.js +76 -0
- package/src/config/paths.js +142 -0
- package/src/config/sources.js +129 -0
- package/src/merge/agent-merger.js +47 -0
- package/src/merge/base-merger.js +257 -0
- package/src/merge/claude-md-merger.js +55 -0
- package/src/merge/command-merger.js +35 -0
- package/src/merge/file-merger.js +35 -0
- package/src/merge/hook-merger.js +99 -0
- package/src/merge/settings-merger.js +62 -0
- package/src/merge/skill-merger.js +66 -0
- package/src/utils/quality.js +53 -0
- package/templates/merge-config.json +11 -0
- package/.claude-plugin/marketplace.json +0 -30
- package/.claude-plugin/plugin.json +0 -20
- package/.mcp.json +0 -8
- package/LICENSE +0 -21
- package/README.de.md +0 -346
- package/README.es.md +0 -391
- package/README.fr.md +0 -346
- package/README.it.md +0 -346
- package/README.ja.md +0 -391
- package/README.ko.md +0 -396
- package/README.pt.md +0 -389
- package/README.ru.md +0 -346
- package/README.tr.md +0 -346
- package/README.vi.md +0 -389
- package/README.zh.md +0 -391
- package/bridge/__pycache__/gyoshu_bridge.cpython-310.pyc +0 -0
- package/bridge/cli.cjs +0 -85381
- package/bridge/codex-server.cjs +0 -18022
- package/bridge/gyoshu_bridge.py +0 -941
- package/bridge/mcp-server.cjs +0 -25767
- package/bridge/run-mcp-server.sh +0 -13
- package/bridge/runtime-cli.cjs +0 -6169
- package/bridge/team-bridge.cjs +0 -2038
- package/bridge/team-mcp.cjs +0 -18962
- package/bridge/team.js +0 -7383
- package/dist/__tests__/agent-boundary-guidance.test.d.ts +0 -2
- package/dist/__tests__/agent-boundary-guidance.test.d.ts.map +0 -1
- package/dist/__tests__/agent-boundary-guidance.test.js +0 -48
- package/dist/__tests__/agent-boundary-guidance.test.js.map +0 -1
- package/dist/__tests__/agent-registry.test.d.ts +0 -2
- package/dist/__tests__/agent-registry.test.d.ts.map +0 -1
- package/dist/__tests__/agent-registry.test.js +0 -93
- package/dist/__tests__/agent-registry.test.js.map +0 -1
- package/dist/__tests__/auto-slash-aliases.test.d.ts +0 -2
- package/dist/__tests__/auto-slash-aliases.test.d.ts.map +0 -1
- package/dist/__tests__/auto-slash-aliases.test.js +0 -198
- package/dist/__tests__/auto-slash-aliases.test.js.map +0 -1
- package/dist/__tests__/auto-update.test.d.ts +0 -2
- package/dist/__tests__/auto-update.test.d.ts.map +0 -1
- package/dist/__tests__/auto-update.test.js +0 -758
- package/dist/__tests__/auto-update.test.js.map +0 -1
- package/dist/__tests__/auto-upgrade-prompt.test.d.ts +0 -2
- package/dist/__tests__/auto-upgrade-prompt.test.d.ts.map +0 -1
- package/dist/__tests__/auto-upgrade-prompt.test.js +0 -81
- package/dist/__tests__/auto-upgrade-prompt.test.js.map +0 -1
- package/dist/__tests__/background-cleanup-directory.test.d.ts +0 -2
- package/dist/__tests__/background-cleanup-directory.test.d.ts.map +0 -1
- package/dist/__tests__/background-cleanup-directory.test.js +0 -57
- package/dist/__tests__/background-cleanup-directory.test.js.map +0 -1
- package/dist/__tests__/bash-history.test.d.ts +0 -5
- package/dist/__tests__/bash-history.test.d.ts.map +0 -1
- package/dist/__tests__/bash-history.test.js +0 -78
- package/dist/__tests__/bash-history.test.js.map +0 -1
- package/dist/__tests__/bedrock-lm-suffix-hook.test.d.ts +0 -24
- package/dist/__tests__/bedrock-lm-suffix-hook.test.d.ts.map +0 -1
- package/dist/__tests__/bedrock-lm-suffix-hook.test.js +0 -210
- package/dist/__tests__/bedrock-lm-suffix-hook.test.js.map +0 -1
- package/dist/__tests__/bedrock-model-routing.test.d.ts +0 -21
- package/dist/__tests__/bedrock-model-routing.test.d.ts.map +0 -1
- package/dist/__tests__/bedrock-model-routing.test.js +0 -397
- package/dist/__tests__/bedrock-model-routing.test.js.map +0 -1
- package/dist/__tests__/cleanup-validation.test.d.ts +0 -2
- package/dist/__tests__/cleanup-validation.test.d.ts.map +0 -1
- package/dist/__tests__/cleanup-validation.test.js +0 -50
- package/dist/__tests__/cleanup-validation.test.js.map +0 -1
- package/dist/__tests__/cli-config-stop-callback.test.d.ts +0 -2
- package/dist/__tests__/cli-config-stop-callback.test.d.ts.map +0 -1
- package/dist/__tests__/cli-config-stop-callback.test.js +0 -132
- package/dist/__tests__/cli-config-stop-callback.test.js.map +0 -1
- package/dist/__tests__/cli-interop-flags.test.d.ts +0 -2
- package/dist/__tests__/cli-interop-flags.test.d.ts.map +0 -1
- package/dist/__tests__/cli-interop-flags.test.js +0 -42
- package/dist/__tests__/cli-interop-flags.test.js.map +0 -1
- package/dist/__tests__/cli-notify-profile.test.d.ts +0 -2
- package/dist/__tests__/cli-notify-profile.test.d.ts.map +0 -1
- package/dist/__tests__/cli-notify-profile.test.js +0 -213
- package/dist/__tests__/cli-notify-profile.test.js.map +0 -1
- package/dist/__tests__/cli-win32-warning.test.d.ts +0 -2
- package/dist/__tests__/cli-win32-warning.test.d.ts.map +0 -1
- package/dist/__tests__/cli-win32-warning.test.js +0 -59
- package/dist/__tests__/cli-win32-warning.test.js.map +0 -1
- package/dist/__tests__/compact-denylist.test.d.ts +0 -9
- package/dist/__tests__/compact-denylist.test.d.ts.map +0 -1
- package/dist/__tests__/compact-denylist.test.js +0 -24
- package/dist/__tests__/compact-denylist.test.js.map +0 -1
- package/dist/__tests__/config-force-inherit-env.test.d.ts +0 -5
- package/dist/__tests__/config-force-inherit-env.test.d.ts.map +0 -1
- package/dist/__tests__/config-force-inherit-env.test.js +0 -35
- package/dist/__tests__/config-force-inherit-env.test.js.map +0 -1
- package/dist/__tests__/consensus-execution-handoff.test.d.ts +0 -16
- package/dist/__tests__/consensus-execution-handoff.test.d.ts.map +0 -1
- package/dist/__tests__/consensus-execution-handoff.test.js +0 -195
- package/dist/__tests__/consensus-execution-handoff.test.js.map +0 -1
- package/dist/__tests__/consolidation-contracts.test.d.ts +0 -2
- package/dist/__tests__/consolidation-contracts.test.d.ts.map +0 -1
- package/dist/__tests__/consolidation-contracts.test.js +0 -94
- package/dist/__tests__/consolidation-contracts.test.js.map +0 -1
- package/dist/__tests__/context-guard-stop.test.d.ts +0 -2
- package/dist/__tests__/context-guard-stop.test.d.ts.map +0 -1
- package/dist/__tests__/context-guard-stop.test.js +0 -78
- package/dist/__tests__/context-guard-stop.test.js.map +0 -1
- package/dist/__tests__/context-safety.test.d.ts +0 -2
- package/dist/__tests__/context-safety.test.d.ts.map +0 -1
- package/dist/__tests__/context-safety.test.js +0 -88
- package/dist/__tests__/context-safety.test.js.map +0 -1
- package/dist/__tests__/daemon-module-path.test.d.ts +0 -2
- package/dist/__tests__/daemon-module-path.test.d.ts.map +0 -1
- package/dist/__tests__/daemon-module-path.test.js +0 -29
- package/dist/__tests__/daemon-module-path.test.js.map +0 -1
- package/dist/__tests__/deep-interview-provider-options.test.d.ts +0 -2
- package/dist/__tests__/deep-interview-provider-options.test.d.ts.map +0 -1
- package/dist/__tests__/deep-interview-provider-options.test.js +0 -79
- package/dist/__tests__/deep-interview-provider-options.test.js.map +0 -1
- package/dist/__tests__/delegation-enforcement-levels.test.d.ts +0 -9
- package/dist/__tests__/delegation-enforcement-levels.test.d.ts.map +0 -1
- package/dist/__tests__/delegation-enforcement-levels.test.js +0 -587
- package/dist/__tests__/delegation-enforcement-levels.test.js.map +0 -1
- package/dist/__tests__/delegation-enforcer-integration.test.d.ts +0 -10
- package/dist/__tests__/delegation-enforcer-integration.test.d.ts.map +0 -1
- package/dist/__tests__/delegation-enforcer-integration.test.js +0 -140
- package/dist/__tests__/delegation-enforcer-integration.test.js.map +0 -1
- package/dist/__tests__/delegation-enforcer.test.d.ts +0 -5
- package/dist/__tests__/delegation-enforcer.test.d.ts.map +0 -1
- package/dist/__tests__/delegation-enforcer.test.js +0 -487
- package/dist/__tests__/delegation-enforcer.test.js.map +0 -1
- package/dist/__tests__/directory-context-injector.test.d.ts +0 -2
- package/dist/__tests__/directory-context-injector.test.d.ts.map +0 -1
- package/dist/__tests__/directory-context-injector.test.js +0 -186
- package/dist/__tests__/directory-context-injector.test.js.map +0 -1
- package/dist/__tests__/disable-tools.test.d.ts +0 -8
- package/dist/__tests__/disable-tools.test.d.ts.map +0 -1
- package/dist/__tests__/disable-tools.test.js +0 -186
- package/dist/__tests__/disable-tools.test.js.map +0 -1
- package/dist/__tests__/doctor-conflicts.test.d.ts +0 -8
- package/dist/__tests__/doctor-conflicts.test.d.ts.map +0 -1
- package/dist/__tests__/doctor-conflicts.test.js +0 -519
- package/dist/__tests__/doctor-conflicts.test.js.map +0 -1
- package/dist/__tests__/featured-contributors-generator.test.d.ts +0 -2
- package/dist/__tests__/featured-contributors-generator.test.d.ts.map +0 -1
- package/dist/__tests__/featured-contributors-generator.test.js +0 -118
- package/dist/__tests__/featured-contributors-generator.test.js.map +0 -1
- package/dist/__tests__/file-lock.test.d.ts +0 -2
- package/dist/__tests__/file-lock.test.d.ts.map +0 -1
- package/dist/__tests__/file-lock.test.js +0 -209
- package/dist/__tests__/file-lock.test.js.map +0 -1
- package/dist/__tests__/helpers/prompt-test-helpers.d.ts +0 -4
- package/dist/__tests__/helpers/prompt-test-helpers.d.ts.map +0 -1
- package/dist/__tests__/helpers/prompt-test-helpers.js +0 -9
- package/dist/__tests__/helpers/prompt-test-helpers.js.map +0 -1
- package/dist/__tests__/hooks/learner/bridge.test.d.ts +0 -11
- package/dist/__tests__/hooks/learner/bridge.test.d.ts.map +0 -1
- package/dist/__tests__/hooks/learner/bridge.test.js +0 -243
- package/dist/__tests__/hooks/learner/bridge.test.js.map +0 -1
- package/dist/__tests__/hooks/learner/parser.test.d.ts +0 -5
- package/dist/__tests__/hooks/learner/parser.test.d.ts.map +0 -1
- package/dist/__tests__/hooks/learner/parser.test.js +0 -219
- package/dist/__tests__/hooks/learner/parser.test.js.map +0 -1
- package/dist/__tests__/hooks/learner/transliteration-map.test.d.ts +0 -8
- package/dist/__tests__/hooks/learner/transliteration-map.test.d.ts.map +0 -1
- package/dist/__tests__/hooks/learner/transliteration-map.test.js +0 -183
- package/dist/__tests__/hooks/learner/transliteration-map.test.js.map +0 -1
- package/dist/__tests__/hooks/plugin-patterns.test.d.ts +0 -2
- package/dist/__tests__/hooks/plugin-patterns.test.d.ts.map +0 -1
- package/dist/__tests__/hooks/plugin-patterns.test.js +0 -203
- package/dist/__tests__/hooks/plugin-patterns.test.js.map +0 -1
- package/dist/__tests__/hooks-command-escaping.test.d.ts +0 -2
- package/dist/__tests__/hooks-command-escaping.test.d.ts.map +0 -1
- package/dist/__tests__/hooks-command-escaping.test.js +0 -41
- package/dist/__tests__/hooks-command-escaping.test.js.map +0 -1
- package/dist/__tests__/hooks.test.d.ts +0 -2
- package/dist/__tests__/hooks.test.d.ts.map +0 -1
- package/dist/__tests__/hooks.test.js +0 -1421
- package/dist/__tests__/hooks.test.js.map +0 -1
- package/dist/__tests__/hud/background-tasks.test.d.ts +0 -2
- package/dist/__tests__/hud/background-tasks.test.d.ts.map +0 -1
- package/dist/__tests__/hud/background-tasks.test.js +0 -90
- package/dist/__tests__/hud/background-tasks.test.js.map +0 -1
- package/dist/__tests__/hud/call-counts.test.d.ts +0 -2
- package/dist/__tests__/hud/call-counts.test.d.ts.map +0 -1
- package/dist/__tests__/hud/call-counts.test.js +0 -83
- package/dist/__tests__/hud/call-counts.test.js.map +0 -1
- package/dist/__tests__/hud/context-warning.test.d.ts +0 -2
- package/dist/__tests__/hud/context-warning.test.d.ts.map +0 -1
- package/dist/__tests__/hud/context-warning.test.js +0 -82
- package/dist/__tests__/hud/context-warning.test.js.map +0 -1
- package/dist/__tests__/hud/context.test.d.ts +0 -2
- package/dist/__tests__/hud/context.test.d.ts.map +0 -1
- package/dist/__tests__/hud/context.test.js +0 -47
- package/dist/__tests__/hud/context.test.js.map +0 -1
- package/dist/__tests__/hud/custom-rate-provider.test.d.ts +0 -5
- package/dist/__tests__/hud/custom-rate-provider.test.d.ts.map +0 -1
- package/dist/__tests__/hud/custom-rate-provider.test.js +0 -198
- package/dist/__tests__/hud/custom-rate-provider.test.js.map +0 -1
- package/dist/__tests__/hud/cwd.test.d.ts +0 -2
- package/dist/__tests__/hud/cwd.test.d.ts.map +0 -1
- package/dist/__tests__/hud/cwd.test.js +0 -62
- package/dist/__tests__/hud/cwd.test.js.map +0 -1
- package/dist/__tests__/hud/defaults.test.d.ts +0 -2
- package/dist/__tests__/hud/defaults.test.d.ts.map +0 -1
- package/dist/__tests__/hud/defaults.test.js +0 -71
- package/dist/__tests__/hud/defaults.test.js.map +0 -1
- package/dist/__tests__/hud/git.test.d.ts +0 -2
- package/dist/__tests__/hud/git.test.d.ts.map +0 -1
- package/dist/__tests__/hud/git.test.js +0 -111
- package/dist/__tests__/hud/git.test.js.map +0 -1
- package/dist/__tests__/hud/limits-error.test.d.ts +0 -5
- package/dist/__tests__/hud/limits-error.test.d.ts.map +0 -1
- package/dist/__tests__/hud/limits-error.test.js +0 -41
- package/dist/__tests__/hud/limits-error.test.js.map +0 -1
- package/dist/__tests__/hud/max-width.test.d.ts +0 -2
- package/dist/__tests__/hud/max-width.test.d.ts.map +0 -1
- package/dist/__tests__/hud/max-width.test.js +0 -149
- package/dist/__tests__/hud/max-width.test.js.map +0 -1
- package/dist/__tests__/hud/mission-board-state.test.d.ts +0 -2
- package/dist/__tests__/hud/mission-board-state.test.d.ts.map +0 -1
- package/dist/__tests__/hud/mission-board-state.test.js +0 -202
- package/dist/__tests__/hud/mission-board-state.test.js.map +0 -1
- package/dist/__tests__/hud/mission-board.test.d.ts +0 -2
- package/dist/__tests__/hud/mission-board.test.d.ts.map +0 -1
- package/dist/__tests__/hud/mission-board.test.js +0 -144
- package/dist/__tests__/hud/mission-board.test.js.map +0 -1
- package/dist/__tests__/hud/model.test.d.ts +0 -2
- package/dist/__tests__/hud/model.test.d.ts.map +0 -1
- package/dist/__tests__/hud/model.test.js +0 -63
- package/dist/__tests__/hud/model.test.js.map +0 -1
- package/dist/__tests__/hud/omc-state.test.d.ts +0 -2
- package/dist/__tests__/hud/omc-state.test.d.ts.map +0 -1
- package/dist/__tests__/hud/omc-state.test.js +0 -123
- package/dist/__tests__/hud/omc-state.test.js.map +0 -1
- package/dist/__tests__/hud/prompt-time.test.d.ts +0 -2
- package/dist/__tests__/hud/prompt-time.test.d.ts.map +0 -1
- package/dist/__tests__/hud/prompt-time.test.js +0 -24
- package/dist/__tests__/hud/prompt-time.test.js.map +0 -1
- package/dist/__tests__/hud/rate-limits-error.test.d.ts +0 -5
- package/dist/__tests__/hud/rate-limits-error.test.d.ts.map +0 -1
- package/dist/__tests__/hud/rate-limits-error.test.js +0 -89
- package/dist/__tests__/hud/rate-limits-error.test.js.map +0 -1
- package/dist/__tests__/hud/render-rate-limits-priority.test.d.ts +0 -8
- package/dist/__tests__/hud/render-rate-limits-priority.test.d.ts.map +0 -1
- package/dist/__tests__/hud/render-rate-limits-priority.test.js +0 -146
- package/dist/__tests__/hud/render-rate-limits-priority.test.js.map +0 -1
- package/dist/__tests__/hud/render.test.d.ts +0 -2
- package/dist/__tests__/hud/render.test.d.ts.map +0 -1
- package/dist/__tests__/hud/render.test.js +0 -531
- package/dist/__tests__/hud/render.test.js.map +0 -1
- package/dist/__tests__/hud/sanitize.test.d.ts +0 -10
- package/dist/__tests__/hud/sanitize.test.d.ts.map +0 -1
- package/dist/__tests__/hud/sanitize.test.js +0 -138
- package/dist/__tests__/hud/sanitize.test.js.map +0 -1
- package/dist/__tests__/hud/skills.test.d.ts +0 -2
- package/dist/__tests__/hud/skills.test.d.ts.map +0 -1
- package/dist/__tests__/hud/skills.test.js +0 -143
- package/dist/__tests__/hud/skills.test.js.map +0 -1
- package/dist/__tests__/hud/stale-indicator.test.d.ts +0 -9
- package/dist/__tests__/hud/stale-indicator.test.d.ts.map +0 -1
- package/dist/__tests__/hud/stale-indicator.test.js +0 -81
- package/dist/__tests__/hud/stale-indicator.test.js.map +0 -1
- package/dist/__tests__/hud/state.test.d.ts +0 -2
- package/dist/__tests__/hud/state.test.d.ts.map +0 -1
- package/dist/__tests__/hud/state.test.js +0 -264
- package/dist/__tests__/hud/state.test.js.map +0 -1
- package/dist/__tests__/hud/stdin.test.d.ts +0 -2
- package/dist/__tests__/hud/stdin.test.d.ts.map +0 -1
- package/dist/__tests__/hud/stdin.test.js +0 -108
- package/dist/__tests__/hud/stdin.test.js.map +0 -1
- package/dist/__tests__/hud/thinking.test.d.ts +0 -2
- package/dist/__tests__/hud/thinking.test.d.ts.map +0 -1
- package/dist/__tests__/hud/thinking.test.js +0 -32
- package/dist/__tests__/hud/thinking.test.js.map +0 -1
- package/dist/__tests__/hud/token-usage.test.d.ts +0 -2
- package/dist/__tests__/hud/token-usage.test.d.ts.map +0 -1
- package/dist/__tests__/hud/token-usage.test.js +0 -143
- package/dist/__tests__/hud/token-usage.test.js.map +0 -1
- package/dist/__tests__/hud/usage-api-lock.test.d.ts +0 -2
- package/dist/__tests__/hud/usage-api-lock.test.d.ts.map +0 -1
- package/dist/__tests__/hud/usage-api-lock.test.js +0 -248
- package/dist/__tests__/hud/usage-api-lock.test.js.map +0 -1
- package/dist/__tests__/hud/usage-api-stale.test.d.ts +0 -9
- package/dist/__tests__/hud/usage-api-stale.test.d.ts.map +0 -1
- package/dist/__tests__/hud/usage-api-stale.test.js +0 -299
- package/dist/__tests__/hud/usage-api-stale.test.js.map +0 -1
- package/dist/__tests__/hud/usage-api.test.d.ts +0 -5
- package/dist/__tests__/hud/usage-api.test.d.ts.map +0 -1
- package/dist/__tests__/hud/usage-api.test.js +0 -567
- package/dist/__tests__/hud/usage-api.test.js.map +0 -1
- package/dist/__tests__/hud/version-display.test.d.ts +0 -2
- package/dist/__tests__/hud/version-display.test.d.ts.map +0 -1
- package/dist/__tests__/hud/version-display.test.js +0 -110
- package/dist/__tests__/hud/version-display.test.js.map +0 -1
- package/dist/__tests__/hud/watch-mode-init.test.d.ts +0 -2
- package/dist/__tests__/hud/watch-mode-init.test.d.ts.map +0 -1
- package/dist/__tests__/hud/watch-mode-init.test.js +0 -155
- package/dist/__tests__/hud/watch-mode-init.test.js.map +0 -1
- package/dist/__tests__/hud/windows-platform.test.d.ts +0 -2
- package/dist/__tests__/hud/windows-platform.test.d.ts.map +0 -1
- package/dist/__tests__/hud/windows-platform.test.js +0 -187
- package/dist/__tests__/hud/windows-platform.test.js.map +0 -1
- package/dist/__tests__/hud-agents.test.d.ts +0 -7
- package/dist/__tests__/hud-agents.test.d.ts.map +0 -1
- package/dist/__tests__/hud-agents.test.js +0 -394
- package/dist/__tests__/hud-agents.test.js.map +0 -1
- package/dist/__tests__/hud-api-key-source.test.d.ts +0 -7
- package/dist/__tests__/hud-api-key-source.test.d.ts.map +0 -1
- package/dist/__tests__/hud-api-key-source.test.js +0 -112
- package/dist/__tests__/hud-api-key-source.test.js.map +0 -1
- package/dist/__tests__/hud-build-guidance.test.d.ts +0 -2
- package/dist/__tests__/hud-build-guidance.test.d.ts.map +0 -1
- package/dist/__tests__/hud-build-guidance.test.js +0 -30
- package/dist/__tests__/hud-build-guidance.test.js.map +0 -1
- package/dist/__tests__/hud-marketplace-resolution.test.d.ts +0 -2
- package/dist/__tests__/hud-marketplace-resolution.test.d.ts.map +0 -1
- package/dist/__tests__/hud-marketplace-resolution.test.js +0 -78
- package/dist/__tests__/hud-marketplace-resolution.test.js.map +0 -1
- package/dist/__tests__/hud-windows.test.d.ts +0 -2
- package/dist/__tests__/hud-windows.test.d.ts.map +0 -1
- package/dist/__tests__/hud-windows.test.js +0 -167
- package/dist/__tests__/hud-windows.test.js.map +0 -1
- package/dist/__tests__/installer-hooks-merge.test.d.ts +0 -13
- package/dist/__tests__/installer-hooks-merge.test.d.ts.map +0 -1
- package/dist/__tests__/installer-hooks-merge.test.js +0 -250
- package/dist/__tests__/installer-hooks-merge.test.js.map +0 -1
- package/dist/__tests__/installer-hud-skip.test.d.ts +0 -2
- package/dist/__tests__/installer-hud-skip.test.d.ts.map +0 -1
- package/dist/__tests__/installer-hud-skip.test.js +0 -124
- package/dist/__tests__/installer-hud-skip.test.js.map +0 -1
- package/dist/__tests__/installer-mcp-config.test.d.ts +0 -2
- package/dist/__tests__/installer-mcp-config.test.d.ts.map +0 -1
- package/dist/__tests__/installer-mcp-config.test.js +0 -119
- package/dist/__tests__/installer-mcp-config.test.js.map +0 -1
- package/dist/__tests__/installer-omc-reference.test.d.ts +0 -2
- package/dist/__tests__/installer-omc-reference.test.d.ts.map +0 -1
- package/dist/__tests__/installer-omc-reference.test.js +0 -85
- package/dist/__tests__/installer-omc-reference.test.js.map +0 -1
- package/dist/__tests__/installer-plugin-agents.test.d.ts +0 -2
- package/dist/__tests__/installer-plugin-agents.test.d.ts.map +0 -1
- package/dist/__tests__/installer-plugin-agents.test.js +0 -111
- package/dist/__tests__/installer-plugin-agents.test.js.map +0 -1
- package/dist/__tests__/installer-version-guard.test.d.ts +0 -2
- package/dist/__tests__/installer-version-guard.test.d.ts.map +0 -1
- package/dist/__tests__/installer-version-guard.test.js +0 -75
- package/dist/__tests__/installer-version-guard.test.js.map +0 -1
- package/dist/__tests__/installer.test.d.ts +0 -2
- package/dist/__tests__/installer.test.d.ts.map +0 -1
- package/dist/__tests__/installer.test.js +0 -518
- package/dist/__tests__/installer.test.js.map +0 -1
- package/dist/__tests__/job-management-sqlite.test.d.ts +0 -2
- package/dist/__tests__/job-management-sqlite.test.d.ts.map +0 -1
- package/dist/__tests__/job-management-sqlite.test.js +0 -269
- package/dist/__tests__/job-management-sqlite.test.js.map +0 -1
- package/dist/__tests__/job-management.test.d.ts +0 -2
- package/dist/__tests__/job-management.test.d.ts.map +0 -1
- package/dist/__tests__/job-management.test.js +0 -395
- package/dist/__tests__/job-management.test.js.map +0 -1
- package/dist/__tests__/job-state-db.test.d.ts +0 -2
- package/dist/__tests__/job-state-db.test.d.ts.map +0 -1
- package/dist/__tests__/job-state-db.test.js +0 -611
- package/dist/__tests__/job-state-db.test.js.map +0 -1
- package/dist/__tests__/jobid-collision-safety.test.d.ts +0 -10
- package/dist/__tests__/jobid-collision-safety.test.d.ts.map +0 -1
- package/dist/__tests__/jobid-collision-safety.test.js +0 -51
- package/dist/__tests__/jobid-collision-safety.test.js.map +0 -1
- package/dist/__tests__/learner/auto-learner.test.d.ts +0 -7
- package/dist/__tests__/learner/auto-learner.test.d.ts.map +0 -1
- package/dist/__tests__/learner/auto-learner.test.js +0 -507
- package/dist/__tests__/learner/auto-learner.test.js.map +0 -1
- package/dist/__tests__/learner/matcher.test.d.ts +0 -2
- package/dist/__tests__/learner/matcher.test.d.ts.map +0 -1
- package/dist/__tests__/learner/matcher.test.js +0 -330
- package/dist/__tests__/learner/matcher.test.js.map +0 -1
- package/dist/__tests__/live-data.test.d.ts +0 -2
- package/dist/__tests__/live-data.test.d.ts.map +0 -1
- package/dist/__tests__/live-data.test.js +0 -408
- package/dist/__tests__/live-data.test.js.map +0 -1
- package/dist/__tests__/load-agent-prompt.test.d.ts +0 -2
- package/dist/__tests__/load-agent-prompt.test.d.ts.map +0 -1
- package/dist/__tests__/load-agent-prompt.test.js +0 -78
- package/dist/__tests__/load-agent-prompt.test.js.map +0 -1
- package/dist/__tests__/lsp-servers.test.d.ts +0 -2
- package/dist/__tests__/lsp-servers.test.d.ts.map +0 -1
- package/dist/__tests__/lsp-servers.test.js +0 -133
- package/dist/__tests__/lsp-servers.test.js.map +0 -1
- package/dist/__tests__/marketplace-metadata.test.d.ts +0 -2
- package/dist/__tests__/marketplace-metadata.test.d.ts.map +0 -1
- package/dist/__tests__/marketplace-metadata.test.js +0 -20
- package/dist/__tests__/marketplace-metadata.test.js.map +0 -1
- package/dist/__tests__/mcp-comm-inbox-dedup.test.d.ts +0 -2
- package/dist/__tests__/mcp-comm-inbox-dedup.test.d.ts.map +0 -1
- package/dist/__tests__/mcp-comm-inbox-dedup.test.js +0 -105
- package/dist/__tests__/mcp-comm-inbox-dedup.test.js.map +0 -1
- package/dist/__tests__/mcp-default-config.test.d.ts +0 -2
- package/dist/__tests__/mcp-default-config.test.d.ts.map +0 -1
- package/dist/__tests__/mcp-default-config.test.js +0 -13
- package/dist/__tests__/mcp-default-config.test.js.map +0 -1
- package/dist/__tests__/mnemosyne/config.test.d.ts +0 -2
- package/dist/__tests__/mnemosyne/config.test.d.ts.map +0 -1
- package/dist/__tests__/mnemosyne/config.test.js +0 -37
- package/dist/__tests__/mnemosyne/config.test.js.map +0 -1
- package/dist/__tests__/mnemosyne/detector.test.d.ts +0 -2
- package/dist/__tests__/mnemosyne/detector.test.d.ts.map +0 -1
- package/dist/__tests__/mnemosyne/detector.test.js +0 -99
- package/dist/__tests__/mnemosyne/detector.test.js.map +0 -1
- package/dist/__tests__/mnemosyne/finder.test.d.ts +0 -2
- package/dist/__tests__/mnemosyne/finder.test.d.ts.map +0 -1
- package/dist/__tests__/mnemosyne/finder.test.js +0 -115
- package/dist/__tests__/mnemosyne/finder.test.js.map +0 -1
- package/dist/__tests__/mnemosyne/loader.test.d.ts +0 -2
- package/dist/__tests__/mnemosyne/loader.test.d.ts.map +0 -1
- package/dist/__tests__/mnemosyne/loader.test.js +0 -73
- package/dist/__tests__/mnemosyne/loader.test.js.map +0 -1
- package/dist/__tests__/mnemosyne/parser.test.d.ts +0 -2
- package/dist/__tests__/mnemosyne/parser.test.d.ts.map +0 -1
- package/dist/__tests__/mnemosyne/parser.test.js +0 -81
- package/dist/__tests__/mnemosyne/parser.test.js.map +0 -1
- package/dist/__tests__/mnemosyne/validator.test.d.ts +0 -2
- package/dist/__tests__/mnemosyne/validator.test.d.ts.map +0 -1
- package/dist/__tests__/mnemosyne/validator.test.js +0 -85
- package/dist/__tests__/mnemosyne/validator.test.js.map +0 -1
- package/dist/__tests__/mode-names-ralplan.test.d.ts +0 -2
- package/dist/__tests__/mode-names-ralplan.test.d.ts.map +0 -1
- package/dist/__tests__/mode-names-ralplan.test.js +0 -31
- package/dist/__tests__/mode-names-ralplan.test.js.map +0 -1
- package/dist/__tests__/model-routing-esm.test.d.ts +0 -2
- package/dist/__tests__/model-routing-esm.test.d.ts.map +0 -1
- package/dist/__tests__/model-routing-esm.test.js +0 -26
- package/dist/__tests__/model-routing-esm.test.js.map +0 -1
- package/dist/__tests__/model-routing.test.d.ts +0 -2
- package/dist/__tests__/model-routing.test.d.ts.map +0 -1
- package/dist/__tests__/model-routing.test.js +0 -795
- package/dist/__tests__/model-routing.test.js.map +0 -1
- package/dist/__tests__/non-claude-provider-detection.test.d.ts +0 -11
- package/dist/__tests__/non-claude-provider-detection.test.d.ts.map +0 -1
- package/dist/__tests__/non-claude-provider-detection.test.js +0 -303
- package/dist/__tests__/non-claude-provider-detection.test.js.map +0 -1
- package/dist/__tests__/notepad.test.d.ts +0 -2
- package/dist/__tests__/notepad.test.d.ts.map +0 -1
- package/dist/__tests__/notepad.test.js +0 -394
- package/dist/__tests__/notepad.test.js.map +0 -1
- package/dist/__tests__/omc-cli-rendering.test.d.ts +0 -2
- package/dist/__tests__/omc-cli-rendering.test.d.ts.map +0 -1
- package/dist/__tests__/omc-cli-rendering.test.js +0 -33
- package/dist/__tests__/omc-cli-rendering.test.js.map +0 -1
- package/dist/__tests__/omc-tools-contract.test.d.ts +0 -11
- package/dist/__tests__/omc-tools-contract.test.d.ts.map +0 -1
- package/dist/__tests__/omc-tools-contract.test.js +0 -172
- package/dist/__tests__/omc-tools-contract.test.js.map +0 -1
- package/dist/__tests__/omc-tools-server-interop.test.d.ts +0 -2
- package/dist/__tests__/omc-tools-server-interop.test.d.ts.map +0 -1
- package/dist/__tests__/omc-tools-server-interop.test.js +0 -39
- package/dist/__tests__/omc-tools-server-interop.test.js.map +0 -1
- package/dist/__tests__/omc-tools-server.test.d.ts +0 -2
- package/dist/__tests__/omc-tools-server.test.d.ts.map +0 -1
- package/dist/__tests__/omc-tools-server.test.js +0 -78
- package/dist/__tests__/omc-tools-server.test.js.map +0 -1
- package/dist/__tests__/outbox-reader-partial-lines.test.d.ts +0 -2
- package/dist/__tests__/outbox-reader-partial-lines.test.d.ts.map +0 -1
- package/dist/__tests__/outbox-reader-partial-lines.test.js +0 -49
- package/dist/__tests__/outbox-reader-partial-lines.test.js.map +0 -1
- package/dist/__tests__/package-dir-resolution-regression.test.d.ts +0 -2
- package/dist/__tests__/package-dir-resolution-regression.test.d.ts.map +0 -1
- package/dist/__tests__/package-dir-resolution-regression.test.js +0 -93
- package/dist/__tests__/package-dir-resolution-regression.test.js.map +0 -1
- package/dist/__tests__/permission-enforcement.test.d.ts +0 -2
- package/dist/__tests__/permission-enforcement.test.d.ts.map +0 -1
- package/dist/__tests__/permission-enforcement.test.js +0 -194
- package/dist/__tests__/permission-enforcement.test.js.map +0 -1
- package/dist/__tests__/pipeline-orchestrator.test.d.ts +0 -5
- package/dist/__tests__/pipeline-orchestrator.test.d.ts.map +0 -1
- package/dist/__tests__/pipeline-orchestrator.test.js +0 -244
- package/dist/__tests__/pipeline-orchestrator.test.js.map +0 -1
- package/dist/__tests__/pipeline-signal-regex-escape.test.d.ts +0 -2
- package/dist/__tests__/pipeline-signal-regex-escape.test.d.ts.map +0 -1
- package/dist/__tests__/pipeline-signal-regex-escape.test.js +0 -32
- package/dist/__tests__/pipeline-signal-regex-escape.test.js.map +0 -1
- package/dist/__tests__/plugin-setup-deps.test.d.ts +0 -2
- package/dist/__tests__/plugin-setup-deps.test.d.ts.map +0 -1
- package/dist/__tests__/plugin-setup-deps.test.js +0 -64
- package/dist/__tests__/plugin-setup-deps.test.js.map +0 -1
- package/dist/__tests__/plugin-setup-devpaths.test.d.ts +0 -2
- package/dist/__tests__/plugin-setup-devpaths.test.d.ts.map +0 -1
- package/dist/__tests__/plugin-setup-devpaths.test.js +0 -47
- package/dist/__tests__/plugin-setup-devpaths.test.js.map +0 -1
- package/dist/__tests__/pre-compact-cwd.test.d.ts +0 -2
- package/dist/__tests__/pre-compact-cwd.test.d.ts.map +0 -1
- package/dist/__tests__/pre-compact-cwd.test.js +0 -64
- package/dist/__tests__/pre-compact-cwd.test.js.map +0 -1
- package/dist/__tests__/pre-tool-agent-prefix.test.d.ts +0 -8
- package/dist/__tests__/pre-tool-agent-prefix.test.d.ts.map +0 -1
- package/dist/__tests__/pre-tool-agent-prefix.test.js +0 -131
- package/dist/__tests__/pre-tool-agent-prefix.test.js.map +0 -1
- package/dist/__tests__/pre-tool-enforcer.test.d.ts +0 -2
- package/dist/__tests__/pre-tool-enforcer.test.d.ts.map +0 -1
- package/dist/__tests__/pre-tool-enforcer.test.js +0 -331
- package/dist/__tests__/pre-tool-enforcer.test.js.map +0 -1
- package/dist/__tests__/project-memory-merge.test.d.ts +0 -2
- package/dist/__tests__/project-memory-merge.test.d.ts.map +0 -1
- package/dist/__tests__/project-memory-merge.test.js +0 -359
- package/dist/__tests__/project-memory-merge.test.js.map +0 -1
- package/dist/__tests__/prompt-injection.test.d.ts +0 -2
- package/dist/__tests__/prompt-injection.test.d.ts.map +0 -1
- package/dist/__tests__/prompt-injection.test.js +0 -214
- package/dist/__tests__/prompt-injection.test.js.map +0 -1
- package/dist/__tests__/protected-mode-regressions.test.d.ts +0 -2
- package/dist/__tests__/protected-mode-regressions.test.d.ts.map +0 -1
- package/dist/__tests__/protected-mode-regressions.test.js +0 -36
- package/dist/__tests__/protected-mode-regressions.test.js.map +0 -1
- package/dist/__tests__/providers/azure-devops.test.d.ts +0 -2
- package/dist/__tests__/providers/azure-devops.test.d.ts.map +0 -1
- package/dist/__tests__/providers/azure-devops.test.js +0 -158
- package/dist/__tests__/providers/azure-devops.test.js.map +0 -1
- package/dist/__tests__/providers/bitbucket.test.d.ts +0 -2
- package/dist/__tests__/providers/bitbucket.test.d.ts.map +0 -1
- package/dist/__tests__/providers/bitbucket.test.js +0 -184
- package/dist/__tests__/providers/bitbucket.test.js.map +0 -1
- package/dist/__tests__/providers/detection.test.d.ts +0 -2
- package/dist/__tests__/providers/detection.test.d.ts.map +0 -1
- package/dist/__tests__/providers/detection.test.js +0 -181
- package/dist/__tests__/providers/detection.test.js.map +0 -1
- package/dist/__tests__/providers/gitea.test.d.ts +0 -2
- package/dist/__tests__/providers/gitea.test.d.ts.map +0 -1
- package/dist/__tests__/providers/gitea.test.js +0 -248
- package/dist/__tests__/providers/gitea.test.js.map +0 -1
- package/dist/__tests__/providers/github.test.d.ts +0 -2
- package/dist/__tests__/providers/github.test.d.ts.map +0 -1
- package/dist/__tests__/providers/github.test.js +0 -146
- package/dist/__tests__/providers/github.test.js.map +0 -1
- package/dist/__tests__/providers/gitlab.test.d.ts +0 -2
- package/dist/__tests__/providers/gitlab.test.d.ts.map +0 -1
- package/dist/__tests__/providers/gitlab.test.js +0 -149
- package/dist/__tests__/providers/gitlab.test.js.map +0 -1
- package/dist/__tests__/purge-stale-cache.test.d.ts +0 -2
- package/dist/__tests__/purge-stale-cache.test.d.ts.map +0 -1
- package/dist/__tests__/purge-stale-cache.test.js +0 -283
- package/dist/__tests__/purge-stale-cache.test.js.map +0 -1
- package/dist/__tests__/ralph-prd-mandatory.test.d.ts +0 -2
- package/dist/__tests__/ralph-prd-mandatory.test.d.ts.map +0 -1
- package/dist/__tests__/ralph-prd-mandatory.test.js +0 -367
- package/dist/__tests__/ralph-prd-mandatory.test.js.map +0 -1
- package/dist/__tests__/ralph-prd.test.d.ts +0 -2
- package/dist/__tests__/ralph-prd.test.d.ts.map +0 -1
- package/dist/__tests__/ralph-prd.test.js +0 -308
- package/dist/__tests__/ralph-prd.test.js.map +0 -1
- package/dist/__tests__/ralph-progress.test.d.ts +0 -2
- package/dist/__tests__/ralph-progress.test.d.ts.map +0 -1
- package/dist/__tests__/ralph-progress.test.js +0 -312
- package/dist/__tests__/ralph-progress.test.js.map +0 -1
- package/dist/__tests__/rate-limit-wait/daemon-bootstrap.test.d.ts +0 -2
- package/dist/__tests__/rate-limit-wait/daemon-bootstrap.test.d.ts.map +0 -1
- package/dist/__tests__/rate-limit-wait/daemon-bootstrap.test.js +0 -98
- package/dist/__tests__/rate-limit-wait/daemon-bootstrap.test.js.map +0 -1
- package/dist/__tests__/rate-limit-wait/daemon.test.d.ts +0 -5
- package/dist/__tests__/rate-limit-wait/daemon.test.d.ts.map +0 -1
- package/dist/__tests__/rate-limit-wait/daemon.test.js +0 -321
- package/dist/__tests__/rate-limit-wait/daemon.test.js.map +0 -1
- package/dist/__tests__/rate-limit-wait/integration.test.d.ts +0 -8
- package/dist/__tests__/rate-limit-wait/integration.test.d.ts.map +0 -1
- package/dist/__tests__/rate-limit-wait/integration.test.js +0 -353
- package/dist/__tests__/rate-limit-wait/integration.test.js.map +0 -1
- package/dist/__tests__/rate-limit-wait/rate-limit-monitor.test.d.ts +0 -5
- package/dist/__tests__/rate-limit-wait/rate-limit-monitor.test.d.ts.map +0 -1
- package/dist/__tests__/rate-limit-wait/rate-limit-monitor.test.js +0 -233
- package/dist/__tests__/rate-limit-wait/rate-limit-monitor.test.js.map +0 -1
- package/dist/__tests__/rate-limit-wait/tmux-detector.test.d.ts +0 -5
- package/dist/__tests__/rate-limit-wait/tmux-detector.test.d.ts.map +0 -1
- package/dist/__tests__/rate-limit-wait/tmux-detector.test.js +0 -312
- package/dist/__tests__/rate-limit-wait/tmux-detector.test.js.map +0 -1
- package/dist/__tests__/repo-slug-dots.test.d.ts +0 -2
- package/dist/__tests__/repo-slug-dots.test.d.ts.map +0 -1
- package/dist/__tests__/repo-slug-dots.test.js +0 -24
- package/dist/__tests__/repo-slug-dots.test.js.map +0 -1
- package/dist/__tests__/resolve-node.test.d.ts +0 -8
- package/dist/__tests__/resolve-node.test.d.ts.map +0 -1
- package/dist/__tests__/resolve-node.test.js +0 -65
- package/dist/__tests__/resolve-node.test.js.map +0 -1
- package/dist/__tests__/resolve-transcript-path.test.d.ts +0 -12
- package/dist/__tests__/resolve-transcript-path.test.d.ts.map +0 -1
- package/dist/__tests__/resolve-transcript-path.test.js +0 -167
- package/dist/__tests__/resolve-transcript-path.test.js.map +0 -1
- package/dist/__tests__/routing-force-inherit.test.d.ts +0 -8
- package/dist/__tests__/routing-force-inherit.test.d.ts.map +0 -1
- package/dist/__tests__/routing-force-inherit.test.js +0 -211
- package/dist/__tests__/routing-force-inherit.test.js.map +0 -1
- package/dist/__tests__/run-cjs-graceful-fallback.test.d.ts +0 -2
- package/dist/__tests__/run-cjs-graceful-fallback.test.d.ts.map +0 -1
- package/dist/__tests__/run-cjs-graceful-fallback.test.js +0 -167
- package/dist/__tests__/run-cjs-graceful-fallback.test.js.map +0 -1
- package/dist/__tests__/runtime-task-orphan.test.d.ts +0 -2
- package/dist/__tests__/runtime-task-orphan.test.d.ts.map +0 -1
- package/dist/__tests__/runtime-task-orphan.test.js +0 -103
- package/dist/__tests__/runtime-task-orphan.test.js.map +0 -1
- package/dist/__tests__/session-history-search.test.d.ts +0 -2
- package/dist/__tests__/session-history-search.test.d.ts.map +0 -1
- package/dist/__tests__/session-history-search.test.js +0 -115
- package/dist/__tests__/session-history-search.test.js.map +0 -1
- package/dist/__tests__/session-start-cache-cleanup.test.d.ts +0 -2
- package/dist/__tests__/session-start-cache-cleanup.test.d.ts.map +0 -1
- package/dist/__tests__/session-start-cache-cleanup.test.js +0 -150
- package/dist/__tests__/session-start-cache-cleanup.test.js.map +0 -1
- package/dist/__tests__/session-start-script-context.test.d.ts +0 -2
- package/dist/__tests__/session-start-script-context.test.d.ts.map +0 -1
- package/dist/__tests__/session-start-script-context.test.js +0 -134
- package/dist/__tests__/session-start-script-context.test.js.map +0 -1
- package/dist/__tests__/session-start-timeout-cleanup.test.d.ts +0 -2
- package/dist/__tests__/session-start-timeout-cleanup.test.d.ts.map +0 -1
- package/dist/__tests__/session-start-timeout-cleanup.test.js +0 -26
- package/dist/__tests__/session-start-timeout-cleanup.test.js.map +0 -1
- package/dist/__tests__/session-summary-pid-tracking.test.d.ts +0 -2
- package/dist/__tests__/session-summary-pid-tracking.test.d.ts.map +0 -1
- package/dist/__tests__/session-summary-pid-tracking.test.js +0 -107
- package/dist/__tests__/session-summary-pid-tracking.test.js.map +0 -1
- package/dist/__tests__/setup-claude-md-script.test.d.ts +0 -2
- package/dist/__tests__/setup-claude-md-script.test.d.ts.map +0 -1
- package/dist/__tests__/setup-claude-md-script.test.js +0 -292
- package/dist/__tests__/setup-claude-md-script.test.js.map +0 -1
- package/dist/__tests__/shared-memory-concurrency.test.d.ts +0 -8
- package/dist/__tests__/shared-memory-concurrency.test.d.ts.map +0 -1
- package/dist/__tests__/shared-memory-concurrency.test.js +0 -132
- package/dist/__tests__/shared-memory-concurrency.test.js.map +0 -1
- package/dist/__tests__/shared-memory.test.d.ts +0 -2
- package/dist/__tests__/shared-memory.test.d.ts.map +0 -1
- package/dist/__tests__/shared-memory.test.js +0 -345
- package/dist/__tests__/shared-memory.test.js.map +0 -1
- package/dist/__tests__/shared-state-locking.test.d.ts +0 -10
- package/dist/__tests__/shared-state-locking.test.d.ts.map +0 -1
- package/dist/__tests__/shared-state-locking.test.js +0 -61
- package/dist/__tests__/shared-state-locking.test.js.map +0 -1
- package/dist/__tests__/skills.test.d.ts +0 -2
- package/dist/__tests__/skills.test.d.ts.map +0 -1
- package/dist/__tests__/skills.test.js +0 -372
- package/dist/__tests__/skills.test.js.map +0 -1
- package/dist/__tests__/slack-fallback-removal.test.d.ts +0 -2
- package/dist/__tests__/slack-fallback-removal.test.d.ts.map +0 -1
- package/dist/__tests__/slack-fallback-removal.test.js +0 -16
- package/dist/__tests__/slack-fallback-removal.test.js.map +0 -1
- package/dist/__tests__/slack-socket.test.d.ts +0 -5
- package/dist/__tests__/slack-socket.test.d.ts.map +0 -1
- package/dist/__tests__/slack-socket.test.js +0 -252
- package/dist/__tests__/slack-socket.test.js.map +0 -1
- package/dist/__tests__/smoke-pipeline-edge.test.d.ts +0 -8
- package/dist/__tests__/smoke-pipeline-edge.test.d.ts.map +0 -1
- package/dist/__tests__/smoke-pipeline-edge.test.js +0 -435
- package/dist/__tests__/smoke-pipeline-edge.test.js.map +0 -1
- package/dist/__tests__/smoke-slack-and-state.test.d.ts +0 -13
- package/dist/__tests__/smoke-slack-and-state.test.d.ts.map +0 -1
- package/dist/__tests__/smoke-slack-and-state.test.js +0 -632
- package/dist/__tests__/smoke-slack-and-state.test.js.map +0 -1
- package/dist/__tests__/ssrf-guard.test.d.ts +0 -2
- package/dist/__tests__/ssrf-guard.test.d.ts.map +0 -1
- package/dist/__tests__/ssrf-guard.test.js +0 -108
- package/dist/__tests__/ssrf-guard.test.js.map +0 -1
- package/dist/__tests__/standalone-server.test.d.ts +0 -2
- package/dist/__tests__/standalone-server.test.d.ts.map +0 -1
- package/dist/__tests__/standalone-server.test.js +0 -57
- package/dist/__tests__/standalone-server.test.js.map +0 -1
- package/dist/__tests__/task-continuation.test.d.ts +0 -2
- package/dist/__tests__/task-continuation.test.d.ts.map +0 -1
- package/dist/__tests__/task-continuation.test.js +0 -743
- package/dist/__tests__/task-continuation.test.js.map +0 -1
- package/dist/__tests__/team-ops-task-locking.test.d.ts +0 -2
- package/dist/__tests__/team-ops-task-locking.test.d.ts.map +0 -1
- package/dist/__tests__/team-ops-task-locking.test.js +0 -66
- package/dist/__tests__/team-ops-task-locking.test.js.map +0 -1
- package/dist/__tests__/team-server-validation.test.d.ts +0 -2
- package/dist/__tests__/team-server-validation.test.d.ts.map +0 -1
- package/dist/__tests__/team-server-validation.test.js +0 -123
- package/dist/__tests__/team-server-validation.test.js.map +0 -1
- package/dist/__tests__/team-status-failed-count.test.d.ts +0 -2
- package/dist/__tests__/team-status-failed-count.test.d.ts.map +0 -1
- package/dist/__tests__/team-status-failed-count.test.js +0 -91
- package/dist/__tests__/team-status-failed-count.test.js.map +0 -1
- package/dist/__tests__/team-status-tmux-provider.test.d.ts +0 -2
- package/dist/__tests__/team-status-tmux-provider.test.d.ts.map +0 -1
- package/dist/__tests__/team-status-tmux-provider.test.js +0 -39
- package/dist/__tests__/team-status-tmux-provider.test.js.map +0 -1
- package/dist/__tests__/tier0-contracts.test.d.ts +0 -2
- package/dist/__tests__/tier0-contracts.test.d.ts.map +0 -1
- package/dist/__tests__/tier0-contracts.test.js +0 -47
- package/dist/__tests__/tier0-contracts.test.js.map +0 -1
- package/dist/__tests__/tier0-docs-consistency.test.d.ts +0 -2
- package/dist/__tests__/tier0-docs-consistency.test.d.ts.map +0 -1
- package/dist/__tests__/tier0-docs-consistency.test.js +0 -96
- package/dist/__tests__/tier0-docs-consistency.test.js.map +0 -1
- package/dist/__tests__/tools/ast-tools.test.d.ts +0 -2
- package/dist/__tests__/tools/ast-tools.test.d.ts.map +0 -1
- package/dist/__tests__/tools/ast-tools.test.js +0 -74
- package/dist/__tests__/tools/ast-tools.test.js.map +0 -1
- package/dist/__tests__/tools/skills-tools.test.d.ts +0 -2
- package/dist/__tests__/tools/skills-tools.test.d.ts.map +0 -1
- package/dist/__tests__/tools/skills-tools.test.js +0 -63
- package/dist/__tests__/tools/skills-tools.test.js.map +0 -1
- package/dist/__tests__/tools/trace-tools.test.d.ts +0 -2
- package/dist/__tests__/tools/trace-tools.test.d.ts.map +0 -1
- package/dist/__tests__/tools/trace-tools.test.js +0 -241
- package/dist/__tests__/tools/trace-tools.test.js.map +0 -1
- package/dist/__tests__/types.test.d.ts +0 -2
- package/dist/__tests__/types.test.d.ts.map +0 -1
- package/dist/__tests__/types.test.js +0 -78
- package/dist/__tests__/types.test.js.map +0 -1
- package/dist/__tests__/version-helper.test.d.ts +0 -2
- package/dist/__tests__/version-helper.test.d.ts.map +0 -1
- package/dist/__tests__/version-helper.test.js +0 -37
- package/dist/__tests__/version-helper.test.js.map +0 -1
- package/dist/__tests__/visual-verdict-skill.test.d.ts +0 -2
- package/dist/__tests__/visual-verdict-skill.test.d.ts.map +0 -1
- package/dist/__tests__/visual-verdict-skill.test.js +0 -26
- package/dist/__tests__/visual-verdict-skill.test.js.map +0 -1
- package/dist/__tests__/webhook-timeout-cleanup.test.d.ts +0 -2
- package/dist/__tests__/webhook-timeout-cleanup.test.d.ts.map +0 -1
- package/dist/__tests__/webhook-timeout-cleanup.test.js +0 -18
- package/dist/__tests__/webhook-timeout-cleanup.test.js.map +0 -1
- package/dist/__tests__/worktree-metadata-locking.test.d.ts +0 -2
- package/dist/__tests__/worktree-metadata-locking.test.d.ts.map +0 -1
- package/dist/__tests__/worktree-metadata-locking.test.js +0 -51
- package/dist/__tests__/worktree-metadata-locking.test.js.map +0 -1
- package/dist/agents/analyst.d.ts +0 -11
- package/dist/agents/analyst.d.ts.map +0 -1
- package/dist/agents/analyst.js +0 -40
- package/dist/agents/analyst.js.map +0 -1
- package/dist/agents/architect.d.ts +0 -12
- package/dist/agents/architect.d.ts.map +0 -1
- package/dist/agents/architect.js +0 -44
- package/dist/agents/architect.js.map +0 -1
- package/dist/agents/critic.d.ts +0 -11
- package/dist/agents/critic.d.ts.map +0 -1
- package/dist/agents/critic.js +0 -39
- package/dist/agents/critic.js.map +0 -1
- package/dist/agents/definitions.d.ts +0 -90
- package/dist/agents/definitions.d.ts.map +0 -1
- package/dist/agents/definitions.js +0 -353
- package/dist/agents/definitions.js.map +0 -1
- package/dist/agents/designer.d.ts +0 -11
- package/dist/agents/designer.d.ts.map +0 -1
- package/dist/agents/designer.js +0 -44
- package/dist/agents/designer.js.map +0 -1
- package/dist/agents/document-specialist.d.ts +0 -12
- package/dist/agents/document-specialist.d.ts.map +0 -1
- package/dist/agents/document-specialist.js +0 -65
- package/dist/agents/document-specialist.js.map +0 -1
- package/dist/agents/executor.d.ts +0 -13
- package/dist/agents/executor.d.ts.map +0 -1
- package/dist/agents/executor.js +0 -40
- package/dist/agents/executor.js.map +0 -1
- package/dist/agents/explore.d.ts +0 -12
- package/dist/agents/explore.d.ts.map +0 -1
- package/dist/agents/explore.js +0 -42
- package/dist/agents/explore.js.map +0 -1
- package/dist/agents/index.d.ts +0 -25
- package/dist/agents/index.d.ts.map +0 -1
- package/dist/agents/index.js +0 -32
- package/dist/agents/index.js.map +0 -1
- package/dist/agents/planner.d.ts +0 -11
- package/dist/agents/planner.d.ts.map +0 -1
- package/dist/agents/planner.js +0 -39
- package/dist/agents/planner.js.map +0 -1
- package/dist/agents/prompt-helpers.d.ts +0 -74
- package/dist/agents/prompt-helpers.d.ts.map +0 -1
- package/dist/agents/prompt-helpers.js +0 -192
- package/dist/agents/prompt-helpers.js.map +0 -1
- package/dist/agents/prompt-sections/index.d.ts +0 -44
- package/dist/agents/prompt-sections/index.d.ts.map +0 -1
- package/dist/agents/prompt-sections/index.js +0 -200
- package/dist/agents/prompt-sections/index.js.map +0 -1
- package/dist/agents/qa-tester.d.ts +0 -16
- package/dist/agents/qa-tester.d.ts.map +0 -1
- package/dist/agents/qa-tester.js +0 -45
- package/dist/agents/qa-tester.js.map +0 -1
- package/dist/agents/scientist.d.ts +0 -16
- package/dist/agents/scientist.d.ts.map +0 -1
- package/dist/agents/scientist.js +0 -53
- package/dist/agents/scientist.js.map +0 -1
- package/dist/agents/tracer.d.ts +0 -11
- package/dist/agents/tracer.d.ts.map +0 -1
- package/dist/agents/tracer.js +0 -40
- package/dist/agents/tracer.js.map +0 -1
- package/dist/agents/types.d.ts +0 -127
- package/dist/agents/types.d.ts.map +0 -1
- package/dist/agents/types.js +0 -38
- package/dist/agents/types.js.map +0 -1
- package/dist/agents/utils.d.ts +0 -76
- package/dist/agents/utils.d.ts.map +0 -1
- package/dist/agents/utils.js +0 -308
- package/dist/agents/utils.js.map +0 -1
- package/dist/agents/writer.d.ts +0 -11
- package/dist/agents/writer.d.ts.map +0 -1
- package/dist/agents/writer.js +0 -40
- package/dist/agents/writer.js.map +0 -1
- package/dist/autoresearch/__tests__/contracts.test.d.ts +0 -2
- package/dist/autoresearch/__tests__/contracts.test.d.ts.map +0 -1
- package/dist/autoresearch/__tests__/contracts.test.js +0 -90
- package/dist/autoresearch/__tests__/contracts.test.js.map +0 -1
- package/dist/autoresearch/__tests__/runtime-parity-extra.test.d.ts +0 -2
- package/dist/autoresearch/__tests__/runtime-parity-extra.test.d.ts.map +0 -1
- package/dist/autoresearch/__tests__/runtime-parity-extra.test.js +0 -352
- package/dist/autoresearch/__tests__/runtime-parity-extra.test.js.map +0 -1
- package/dist/autoresearch/__tests__/runtime.test.d.ts +0 -2
- package/dist/autoresearch/__tests__/runtime.test.d.ts.map +0 -1
- package/dist/autoresearch/__tests__/runtime.test.js +0 -210
- package/dist/autoresearch/__tests__/runtime.test.js.map +0 -1
- package/dist/autoresearch/__tests__/setup-contract.test.d.ts +0 -2
- package/dist/autoresearch/__tests__/setup-contract.test.d.ts.map +0 -1
- package/dist/autoresearch/__tests__/setup-contract.test.js +0 -57
- package/dist/autoresearch/__tests__/setup-contract.test.js.map +0 -1
- package/dist/autoresearch/contracts.d.ts +0 -31
- package/dist/autoresearch/contracts.d.ts.map +0 -1
- package/dist/autoresearch/contracts.js +0 -189
- package/dist/autoresearch/contracts.js.map +0 -1
- package/dist/autoresearch/runtime.d.ts +0 -137
- package/dist/autoresearch/runtime.d.ts.map +0 -1
- package/dist/autoresearch/runtime.js +0 -1103
- package/dist/autoresearch/runtime.js.map +0 -1
- package/dist/autoresearch/setup-contract.d.ts +0 -18
- package/dist/autoresearch/setup-contract.d.ts.map +0 -1
- package/dist/autoresearch/setup-contract.js +0 -96
- package/dist/autoresearch/setup-contract.js.map +0 -1
- package/dist/cli/__tests__/ask.test.d.ts +0 -2
- package/dist/cli/__tests__/ask.test.d.ts.map +0 -1
- package/dist/cli/__tests__/ask.test.js +0 -431
- package/dist/cli/__tests__/ask.test.js.map +0 -1
- package/dist/cli/__tests__/autoresearch-guided.test.d.ts +0 -2
- package/dist/cli/__tests__/autoresearch-guided.test.d.ts.map +0 -1
- package/dist/cli/__tests__/autoresearch-guided.test.js +0 -389
- package/dist/cli/__tests__/autoresearch-guided.test.js.map +0 -1
- package/dist/cli/__tests__/autoresearch-intake.test.d.ts +0 -2
- package/dist/cli/__tests__/autoresearch-intake.test.d.ts.map +0 -1
- package/dist/cli/__tests__/autoresearch-intake.test.js +0 -131
- package/dist/cli/__tests__/autoresearch-intake.test.js.map +0 -1
- package/dist/cli/__tests__/autoresearch-setup-session.test.d.ts +0 -2
- package/dist/cli/__tests__/autoresearch-setup-session.test.d.ts.map +0 -1
- package/dist/cli/__tests__/autoresearch-setup-session.test.js +0 -73
- package/dist/cli/__tests__/autoresearch-setup-session.test.js.map +0 -1
- package/dist/cli/__tests__/autoresearch.test.d.ts +0 -2
- package/dist/cli/__tests__/autoresearch.test.d.ts.map +0 -1
- package/dist/cli/__tests__/autoresearch.test.js +0 -148
- package/dist/cli/__tests__/autoresearch.test.js.map +0 -1
- package/dist/cli/__tests__/cli-boot.test.d.ts +0 -8
- package/dist/cli/__tests__/cli-boot.test.d.ts.map +0 -1
- package/dist/cli/__tests__/cli-boot.test.js +0 -82
- package/dist/cli/__tests__/cli-boot.test.js.map +0 -1
- package/dist/cli/__tests__/hud-watch.test.d.ts +0 -2
- package/dist/cli/__tests__/hud-watch.test.d.ts.map +0 -1
- package/dist/cli/__tests__/hud-watch.test.js +0 -56
- package/dist/cli/__tests__/hud-watch.test.js.map +0 -1
- package/dist/cli/__tests__/launch.test.d.ts +0 -9
- package/dist/cli/__tests__/launch.test.d.ts.map +0 -1
- package/dist/cli/__tests__/launch.test.js +0 -727
- package/dist/cli/__tests__/launch.test.js.map +0 -1
- package/dist/cli/__tests__/session-search-help.test.d.ts +0 -2
- package/dist/cli/__tests__/session-search-help.test.d.ts.map +0 -1
- package/dist/cli/__tests__/session-search-help.test.js +0 -13
- package/dist/cli/__tests__/session-search-help.test.js.map +0 -1
- package/dist/cli/__tests__/session-search.test.d.ts +0 -2
- package/dist/cli/__tests__/session-search.test.d.ts.map +0 -1
- package/dist/cli/__tests__/session-search.test.js +0 -72
- package/dist/cli/__tests__/session-search.test.js.map +0 -1
- package/dist/cli/__tests__/team-command-branding.test.d.ts +0 -2
- package/dist/cli/__tests__/team-command-branding.test.d.ts.map +0 -1
- package/dist/cli/__tests__/team-command-branding.test.js +0 -14
- package/dist/cli/__tests__/team-command-branding.test.js.map +0 -1
- package/dist/cli/__tests__/team-help.test.d.ts +0 -2
- package/dist/cli/__tests__/team-help.test.d.ts.map +0 -1
- package/dist/cli/__tests__/team-help.test.js +0 -19
- package/dist/cli/__tests__/team-help.test.js.map +0 -1
- package/dist/cli/__tests__/team-runtime-boundary.test.d.ts +0 -2
- package/dist/cli/__tests__/team-runtime-boundary.test.d.ts.map +0 -1
- package/dist/cli/__tests__/team-runtime-boundary.test.js +0 -11
- package/dist/cli/__tests__/team-runtime-boundary.test.js.map +0 -1
- package/dist/cli/__tests__/team.test.d.ts +0 -2
- package/dist/cli/__tests__/team.test.d.ts.map +0 -1
- package/dist/cli/__tests__/team.test.js +0 -629
- package/dist/cli/__tests__/team.test.js.map +0 -1
- package/dist/cli/__tests__/teleport-help.test.d.ts +0 -2
- package/dist/cli/__tests__/teleport-help.test.d.ts.map +0 -1
- package/dist/cli/__tests__/teleport-help.test.js +0 -17
- package/dist/cli/__tests__/teleport-help.test.js.map +0 -1
- package/dist/cli/__tests__/tmux-utils.test.d.ts +0 -11
- package/dist/cli/__tests__/tmux-utils.test.d.ts.map +0 -1
- package/dist/cli/__tests__/tmux-utils.test.js +0 -185
- package/dist/cli/__tests__/tmux-utils.test.js.map +0 -1
- package/dist/cli/ask.d.ts +0 -13
- package/dist/cli/ask.d.ts.map +0 -1
- package/dist/cli/ask.js +0 -202
- package/dist/cli/ask.js.map +0 -1
- package/dist/cli/autoresearch-guided.d.ts +0 -37
- package/dist/cli/autoresearch-guided.d.ts.map +0 -1
- package/dist/cli/autoresearch-guided.js +0 -312
- package/dist/cli/autoresearch-guided.js.map +0 -1
- package/dist/cli/autoresearch-intake.d.ts +0 -60
- package/dist/cli/autoresearch-intake.d.ts.map +0 -1
- package/dist/cli/autoresearch-intake.js +0 -325
- package/dist/cli/autoresearch-intake.js.map +0 -1
- package/dist/cli/autoresearch-setup-session.d.ts +0 -15
- package/dist/cli/autoresearch-setup-session.d.ts.map +0 -1
- package/dist/cli/autoresearch-setup-session.js +0 -133
- package/dist/cli/autoresearch-setup-session.js.map +0 -1
- package/dist/cli/autoresearch.d.ts +0 -19
- package/dist/cli/autoresearch.d.ts.map +0 -1
- package/dist/cli/autoresearch.js +0 -330
- package/dist/cli/autoresearch.js.map +0 -1
- package/dist/cli/commands/__tests__/team.test.d.ts +0 -2
- package/dist/cli/commands/__tests__/team.test.d.ts.map +0 -1
- package/dist/cli/commands/__tests__/team.test.js +0 -314
- package/dist/cli/commands/__tests__/team.test.js.map +0 -1
- package/dist/cli/commands/__tests__/teleport.test.d.ts +0 -2
- package/dist/cli/commands/__tests__/teleport.test.d.ts.map +0 -1
- package/dist/cli/commands/__tests__/teleport.test.js +0 -110
- package/dist/cli/commands/__tests__/teleport.test.js.map +0 -1
- package/dist/cli/commands/doctor-conflicts.d.ts +0 -74
- package/dist/cli/commands/doctor-conflicts.d.ts.map +0 -1
- package/dist/cli/commands/doctor-conflicts.js +0 -461
- package/dist/cli/commands/doctor-conflicts.js.map +0 -1
- package/dist/cli/commands/ralphthon.d.ts +0 -30
- package/dist/cli/commands/ralphthon.d.ts.map +0 -1
- package/dist/cli/commands/ralphthon.js +0 -361
- package/dist/cli/commands/ralphthon.js.map +0 -1
- package/dist/cli/commands/session-search.d.ts +0 -18
- package/dist/cli/commands/session-search.d.ts.map +0 -1
- package/dist/cli/commands/session-search.js +0 -47
- package/dist/cli/commands/session-search.js.map +0 -1
- package/dist/cli/commands/team.d.ts +0 -69
- package/dist/cli/commands/team.d.ts.map +0 -1
- package/dist/cli/commands/team.js +0 -739
- package/dist/cli/commands/team.js.map +0 -1
- package/dist/cli/commands/teleport.d.ts +0 -38
- package/dist/cli/commands/teleport.d.ts.map +0 -1
- package/dist/cli/commands/teleport.js +0 -555
- package/dist/cli/commands/teleport.js.map +0 -1
- package/dist/cli/commands/wait.d.ts +0 -52
- package/dist/cli/commands/wait.d.ts.map +0 -1
- package/dist/cli/commands/wait.js +0 -240
- package/dist/cli/commands/wait.js.map +0 -1
- package/dist/cli/hud-watch.d.ts +0 -15
- package/dist/cli/hud-watch.d.ts.map +0 -1
- package/dist/cli/hud-watch.js +0 -37
- package/dist/cli/hud-watch.js.map +0 -1
- package/dist/cli/index.d.ts +0 -13
- package/dist/cli/index.d.ts.map +0 -1
- package/dist/cli/index.js +0 -1419
- package/dist/cli/index.js.map +0 -1
- package/dist/cli/interop.d.ts +0 -29
- package/dist/cli/interop.d.ts.map +0 -1
- package/dist/cli/interop.js +0 -141
- package/dist/cli/interop.js.map +0 -1
- package/dist/cli/launch.d.ts +0 -138
- package/dist/cli/launch.d.ts.map +0 -1
- package/dist/cli/launch.js +0 -438
- package/dist/cli/launch.js.map +0 -1
- package/dist/cli/team.d.ts +0 -78
- package/dist/cli/team.d.ts.map +0 -1
- package/dist/cli/team.js +0 -991
- package/dist/cli/team.js.map +0 -1
- package/dist/cli/tmux-utils.d.ts +0 -82
- package/dist/cli/tmux-utils.d.ts.map +0 -1
- package/dist/cli/tmux-utils.js +0 -206
- package/dist/cli/tmux-utils.js.map +0 -1
- package/dist/cli/utils/formatting.d.ts +0 -22
- package/dist/cli/utils/formatting.d.ts.map +0 -1
- package/dist/cli/utils/formatting.js +0 -70
- package/dist/cli/utils/formatting.js.map +0 -1
- package/dist/cli/win32-warning.d.ts +0 -7
- package/dist/cli/win32-warning.d.ts.map +0 -1
- package/dist/cli/win32-warning.js +0 -29
- package/dist/cli/win32-warning.js.map +0 -1
- package/dist/commands/index.d.ts +0 -78
- package/dist/commands/index.d.ts.map +0 -1
- package/dist/commands/index.js +0 -148
- package/dist/commands/index.js.map +0 -1
- package/dist/config/__tests__/loader.test.d.ts +0 -2
- package/dist/config/__tests__/loader.test.d.ts.map +0 -1
- package/dist/config/__tests__/loader.test.js +0 -199
- package/dist/config/__tests__/loader.test.js.map +0 -1
- package/dist/config/__tests__/models.test.d.ts +0 -2
- package/dist/config/__tests__/models.test.d.ts.map +0 -1
- package/dist/config/__tests__/models.test.js +0 -260
- package/dist/config/__tests__/models.test.js.map +0 -1
- package/dist/config/__tests__/plan-output.test.d.ts +0 -2
- package/dist/config/__tests__/plan-output.test.d.ts.map +0 -1
- package/dist/config/__tests__/plan-output.test.js +0 -41
- package/dist/config/__tests__/plan-output.test.js.map +0 -1
- package/dist/config/__tests__/test-helpers.d.ts +0 -3
- package/dist/config/__tests__/test-helpers.d.ts.map +0 -1
- package/dist/config/__tests__/test-helpers.js +0 -19
- package/dist/config/__tests__/test-helpers.js.map +0 -1
- package/dist/config/index.d.ts +0 -6
- package/dist/config/index.d.ts.map +0 -1
- package/dist/config/index.js +0 -6
- package/dist/config/index.js.map +0 -1
- package/dist/config/loader.d.ts +0 -59
- package/dist/config/loader.d.ts.map +0 -1
- package/dist/config/loader.js +0 -751
- package/dist/config/loader.js.map +0 -1
- package/dist/config/models.d.ts +0 -107
- package/dist/config/models.d.ts.map +0 -1
- package/dist/config/models.js +0 -286
- package/dist/config/models.js.map +0 -1
- package/dist/config/plan-output.d.ts +0 -12
- package/dist/config/plan-output.d.ts.map +0 -1
- package/dist/config/plan-output.js +0 -67
- package/dist/config/plan-output.js.map +0 -1
- package/dist/constants/index.d.ts +0 -5
- package/dist/constants/index.d.ts.map +0 -1
- package/dist/constants/index.js +0 -5
- package/dist/constants/index.js.map +0 -1
- package/dist/constants/names.d.ts +0 -42
- package/dist/constants/names.d.ts.map +0 -1
- package/dist/constants/names.js +0 -42
- package/dist/constants/names.js.map +0 -1
- package/dist/features/auto-update.d.ts +0 -314
- package/dist/features/auto-update.d.ts.map +0 -1
- package/dist/features/auto-update.js +0 -939
- package/dist/features/auto-update.js.map +0 -1
- package/dist/features/background-agent/concurrency.d.ts +0 -53
- package/dist/features/background-agent/concurrency.d.ts.map +0 -1
- package/dist/features/background-agent/concurrency.js +0 -121
- package/dist/features/background-agent/concurrency.js.map +0 -1
- package/dist/features/background-agent/index.d.ts +0 -12
- package/dist/features/background-agent/index.d.ts.map +0 -1
- package/dist/features/background-agent/index.js +0 -12
- package/dist/features/background-agent/index.js.map +0 -1
- package/dist/features/background-agent/manager.d.ts +0 -144
- package/dist/features/background-agent/manager.d.ts.map +0 -1
- package/dist/features/background-agent/manager.js +0 -494
- package/dist/features/background-agent/manager.js.map +0 -1
- package/dist/features/background-agent/types.d.ts +0 -128
- package/dist/features/background-agent/types.d.ts.map +0 -1
- package/dist/features/background-agent/types.js +0 -9
- package/dist/features/background-agent/types.js.map +0 -1
- package/dist/features/background-tasks.d.ts +0 -99
- package/dist/features/background-tasks.d.ts.map +0 -1
- package/dist/features/background-tasks.js +0 -265
- package/dist/features/background-tasks.js.map +0 -1
- package/dist/features/boulder-state/constants.d.ts +0 -20
- package/dist/features/boulder-state/constants.d.ts.map +0 -1
- package/dist/features/boulder-state/constants.js +0 -21
- package/dist/features/boulder-state/constants.js.map +0 -1
- package/dist/features/boulder-state/index.d.ts +0 -12
- package/dist/features/boulder-state/index.d.ts.map +0 -1
- package/dist/features/boulder-state/index.js +0 -13
- package/dist/features/boulder-state/index.js.map +0 -1
- package/dist/features/boulder-state/storage.d.ts +0 -58
- package/dist/features/boulder-state/storage.d.ts.map +0 -1
- package/dist/features/boulder-state/storage.js +0 -182
- package/dist/features/boulder-state/storage.js.map +0 -1
- package/dist/features/boulder-state/types.d.ts +0 -52
- package/dist/features/boulder-state/types.d.ts.map +0 -1
- package/dist/features/boulder-state/types.js +0 -10
- package/dist/features/boulder-state/types.js.map +0 -1
- package/dist/features/builtin-skills/index.d.ts +0 -10
- package/dist/features/builtin-skills/index.d.ts.map +0 -1
- package/dist/features/builtin-skills/index.js +0 -10
- package/dist/features/builtin-skills/index.js.map +0 -1
- package/dist/features/builtin-skills/runtime-guidance.d.ts +0 -9
- package/dist/features/builtin-skills/runtime-guidance.d.ts.map +0 -1
- package/dist/features/builtin-skills/runtime-guidance.js +0 -35
- package/dist/features/builtin-skills/runtime-guidance.js.map +0 -1
- package/dist/features/builtin-skills/skills.d.ts +0 -38
- package/dist/features/builtin-skills/skills.d.ts.map +0 -1
- package/dist/features/builtin-skills/skills.js +0 -194
- package/dist/features/builtin-skills/skills.js.map +0 -1
- package/dist/features/builtin-skills/types.d.ts +0 -71
- package/dist/features/builtin-skills/types.d.ts.map +0 -1
- package/dist/features/builtin-skills/types.js +0 -9
- package/dist/features/builtin-skills/types.js.map +0 -1
- package/dist/features/context-injector/collector.d.ts +0 -56
- package/dist/features/context-injector/collector.d.ts.map +0 -1
- package/dist/features/context-injector/collector.js +0 -122
- package/dist/features/context-injector/collector.js.map +0 -1
- package/dist/features/context-injector/index.d.ts +0 -12
- package/dist/features/context-injector/index.d.ts.map +0 -1
- package/dist/features/context-injector/index.js +0 -13
- package/dist/features/context-injector/index.js.map +0 -1
- package/dist/features/context-injector/injector.d.ts +0 -47
- package/dist/features/context-injector/injector.d.ts.map +0 -1
- package/dist/features/context-injector/injector.js +0 -103
- package/dist/features/context-injector/injector.js.map +0 -1
- package/dist/features/context-injector/types.d.ts +0 -103
- package/dist/features/context-injector/types.d.ts.map +0 -1
- package/dist/features/context-injector/types.js +0 -11
- package/dist/features/context-injector/types.js.map +0 -1
- package/dist/features/continuation-enforcement.d.ts +0 -36
- package/dist/features/continuation-enforcement.d.ts.map +0 -1
- package/dist/features/continuation-enforcement.js +0 -176
- package/dist/features/continuation-enforcement.js.map +0 -1
- package/dist/features/delegation-categories/__tests__/index.test.d.ts +0 -2
- package/dist/features/delegation-categories/__tests__/index.test.d.ts.map +0 -1
- package/dist/features/delegation-categories/__tests__/index.test.js +0 -19
- package/dist/features/delegation-categories/__tests__/index.test.js.map +0 -1
- package/dist/features/delegation-categories/index.d.ts +0 -116
- package/dist/features/delegation-categories/index.d.ts.map +0 -1
- package/dist/features/delegation-categories/index.js +0 -287
- package/dist/features/delegation-categories/index.js.map +0 -1
- package/dist/features/delegation-categories/test-categories.d.ts +0 -7
- package/dist/features/delegation-categories/test-categories.d.ts.map +0 -1
- package/dist/features/delegation-categories/test-categories.js +0 -88
- package/dist/features/delegation-categories/test-categories.js.map +0 -1
- package/dist/features/delegation-categories/types.d.ts +0 -51
- package/dist/features/delegation-categories/types.d.ts.map +0 -1
- package/dist/features/delegation-categories/types.js +0 -8
- package/dist/features/delegation-categories/types.js.map +0 -1
- package/dist/features/delegation-enforcer.d.ts +0 -69
- package/dist/features/delegation-enforcer.d.ts.map +0 -1
- package/dist/features/delegation-enforcer.js +0 -237
- package/dist/features/delegation-enforcer.js.map +0 -1
- package/dist/features/delegation-routing/__tests__/resolver.test.d.ts +0 -2
- package/dist/features/delegation-routing/__tests__/resolver.test.d.ts.map +0 -1
- package/dist/features/delegation-routing/__tests__/resolver.test.js +0 -346
- package/dist/features/delegation-routing/__tests__/resolver.test.js.map +0 -1
- package/dist/features/delegation-routing/index.d.ts +0 -10
- package/dist/features/delegation-routing/index.d.ts.map +0 -1
- package/dist/features/delegation-routing/index.js +0 -11
- package/dist/features/delegation-routing/index.js.map +0 -1
- package/dist/features/delegation-routing/resolver.d.ts +0 -24
- package/dist/features/delegation-routing/resolver.d.ts.map +0 -1
- package/dist/features/delegation-routing/resolver.js +0 -131
- package/dist/features/delegation-routing/resolver.js.map +0 -1
- package/dist/features/delegation-routing/types.d.ts +0 -29
- package/dist/features/delegation-routing/types.d.ts.map +0 -1
- package/dist/features/delegation-routing/types.js +0 -72
- package/dist/features/delegation-routing/types.js.map +0 -1
- package/dist/features/index.d.ts +0 -18
- package/dist/features/index.d.ts.map +0 -1
- package/dist/features/index.js +0 -81
- package/dist/features/index.js.map +0 -1
- package/dist/features/magic-keywords.d.ts +0 -28
- package/dist/features/magic-keywords.d.ts.map +0 -1
- package/dist/features/magic-keywords.js +0 -451
- package/dist/features/magic-keywords.js.map +0 -1
- package/dist/features/model-routing/__tests__/index.test.d.ts +0 -2
- package/dist/features/model-routing/__tests__/index.test.d.ts.map +0 -1
- package/dist/features/model-routing/__tests__/index.test.js +0 -21
- package/dist/features/model-routing/__tests__/index.test.js.map +0 -1
- package/dist/features/model-routing/index.d.ts +0 -34
- package/dist/features/model-routing/index.d.ts.map +0 -1
- package/dist/features/model-routing/index.js +0 -49
- package/dist/features/model-routing/index.js.map +0 -1
- package/dist/features/model-routing/prompts/haiku.d.ts +0 -54
- package/dist/features/model-routing/prompts/haiku.d.ts.map +0 -1
- package/dist/features/model-routing/prompts/haiku.js +0 -141
- package/dist/features/model-routing/prompts/haiku.js.map +0 -1
- package/dist/features/model-routing/prompts/index.d.ts +0 -47
- package/dist/features/model-routing/prompts/index.d.ts.map +0 -1
- package/dist/features/model-routing/prompts/index.js +0 -122
- package/dist/features/model-routing/prompts/index.js.map +0 -1
- package/dist/features/model-routing/prompts/opus.d.ts +0 -34
- package/dist/features/model-routing/prompts/opus.d.ts.map +0 -1
- package/dist/features/model-routing/prompts/opus.js +0 -153
- package/dist/features/model-routing/prompts/opus.js.map +0 -1
- package/dist/features/model-routing/prompts/sonnet.d.ts +0 -38
- package/dist/features/model-routing/prompts/sonnet.d.ts.map +0 -1
- package/dist/features/model-routing/prompts/sonnet.js +0 -149
- package/dist/features/model-routing/prompts/sonnet.js.map +0 -1
- package/dist/features/model-routing/router.d.ts +0 -78
- package/dist/features/model-routing/router.d.ts.map +0 -1
- package/dist/features/model-routing/router.js +0 -271
- package/dist/features/model-routing/router.js.map +0 -1
- package/dist/features/model-routing/rules.d.ts +0 -32
- package/dist/features/model-routing/rules.d.ts.map +0 -1
- package/dist/features/model-routing/rules.js +0 -216
- package/dist/features/model-routing/rules.js.map +0 -1
- package/dist/features/model-routing/scorer.d.ts +0 -35
- package/dist/features/model-routing/scorer.d.ts.map +0 -1
- package/dist/features/model-routing/scorer.js +0 -241
- package/dist/features/model-routing/scorer.js.map +0 -1
- package/dist/features/model-routing/signals.d.ts +0 -26
- package/dist/features/model-routing/signals.d.ts.map +0 -1
- package/dist/features/model-routing/signals.js +0 -283
- package/dist/features/model-routing/signals.js.map +0 -1
- package/dist/features/model-routing/types.d.ts +0 -206
- package/dist/features/model-routing/types.d.ts.map +0 -1
- package/dist/features/model-routing/types.js +0 -83
- package/dist/features/model-routing/types.js.map +0 -1
- package/dist/features/notepad-wisdom/extractor.d.ts +0 -30
- package/dist/features/notepad-wisdom/extractor.d.ts.map +0 -1
- package/dist/features/notepad-wisdom/extractor.js +0 -68
- package/dist/features/notepad-wisdom/extractor.js.map +0 -1
- package/dist/features/notepad-wisdom/index.d.ts +0 -39
- package/dist/features/notepad-wisdom/index.d.ts.map +0 -1
- package/dist/features/notepad-wisdom/index.js +0 -169
- package/dist/features/notepad-wisdom/index.js.map +0 -1
- package/dist/features/notepad-wisdom/types.d.ts +0 -18
- package/dist/features/notepad-wisdom/types.d.ts.map +0 -1
- package/dist/features/notepad-wisdom/types.js +0 -7
- package/dist/features/notepad-wisdom/types.js.map +0 -1
- package/dist/features/rate-limit-wait/daemon.d.ts +0 -57
- package/dist/features/rate-limit-wait/daemon.d.ts.map +0 -1
- package/dist/features/rate-limit-wait/daemon.js +0 -646
- package/dist/features/rate-limit-wait/daemon.js.map +0 -1
- package/dist/features/rate-limit-wait/index.d.ts +0 -16
- package/dist/features/rate-limit-wait/index.d.ts.map +0 -1
- package/dist/features/rate-limit-wait/index.js +0 -18
- package/dist/features/rate-limit-wait/index.js.map +0 -1
- package/dist/features/rate-limit-wait/rate-limit-monitor.d.ts +0 -31
- package/dist/features/rate-limit-wait/rate-limit-monitor.d.ts.map +0 -1
- package/dist/features/rate-limit-wait/rate-limit-monitor.js +0 -147
- package/dist/features/rate-limit-wait/rate-limit-monitor.js.map +0 -1
- package/dist/features/rate-limit-wait/tmux-detector.d.ts +0 -60
- package/dist/features/rate-limit-wait/tmux-detector.d.ts.map +0 -1
- package/dist/features/rate-limit-wait/tmux-detector.js +0 -317
- package/dist/features/rate-limit-wait/tmux-detector.js.map +0 -1
- package/dist/features/rate-limit-wait/types.d.ts +0 -136
- package/dist/features/rate-limit-wait/types.d.ts.map +0 -1
- package/dist/features/rate-limit-wait/types.js +0 -8
- package/dist/features/rate-limit-wait/types.js.map +0 -1
- package/dist/features/session-history-search/index.d.ts +0 -6
- package/dist/features/session-history-search/index.d.ts.map +0 -1
- package/dist/features/session-history-search/index.js +0 -480
- package/dist/features/session-history-search/index.js.map +0 -1
- package/dist/features/session-history-search/types.d.ts +0 -36
- package/dist/features/session-history-search/types.d.ts.map +0 -1
- package/dist/features/session-history-search/types.js +0 -2
- package/dist/features/session-history-search/types.js.map +0 -1
- package/dist/features/state-manager/__tests__/cache.test.d.ts +0 -2
- package/dist/features/state-manager/__tests__/cache.test.d.ts.map +0 -1
- package/dist/features/state-manager/__tests__/cache.test.js +0 -365
- package/dist/features/state-manager/__tests__/cache.test.js.map +0 -1
- package/dist/features/state-manager/index.d.ts +0 -133
- package/dist/features/state-manager/index.d.ts.map +0 -1
- package/dist/features/state-manager/index.js +0 -669
- package/dist/features/state-manager/index.js.map +0 -1
- package/dist/features/state-manager/types.d.ts +0 -147
- package/dist/features/state-manager/types.d.ts.map +0 -1
- package/dist/features/state-manager/types.js +0 -30
- package/dist/features/state-manager/types.js.map +0 -1
- package/dist/features/task-decomposer/index.d.ts +0 -33
- package/dist/features/task-decomposer/index.d.ts.map +0 -1
- package/dist/features/task-decomposer/index.js +0 -707
- package/dist/features/task-decomposer/index.js.map +0 -1
- package/dist/features/task-decomposer/types.d.ts +0 -133
- package/dist/features/task-decomposer/types.d.ts.map +0 -1
- package/dist/features/task-decomposer/types.js +0 -8
- package/dist/features/task-decomposer/types.js.map +0 -1
- package/dist/features/verification/index.d.ts +0 -97
- package/dist/features/verification/index.d.ts.map +0 -1
- package/dist/features/verification/index.js +0 -441
- package/dist/features/verification/index.js.map +0 -1
- package/dist/features/verification/types.d.ts +0 -142
- package/dist/features/verification/types.d.ts.map +0 -1
- package/dist/features/verification/types.js +0 -7
- package/dist/features/verification/types.js.map +0 -1
- package/dist/hooks/__tests__/askuserquestion-lifecycle.test.d.ts +0 -9
- package/dist/hooks/__tests__/askuserquestion-lifecycle.test.d.ts.map +0 -1
- package/dist/hooks/__tests__/askuserquestion-lifecycle.test.js +0 -110
- package/dist/hooks/__tests__/askuserquestion-lifecycle.test.js.map +0 -1
- package/dist/hooks/__tests__/background-process-guard.test.d.ts +0 -2
- package/dist/hooks/__tests__/background-process-guard.test.d.ts.map +0 -1
- package/dist/hooks/__tests__/background-process-guard.test.js +0 -477
- package/dist/hooks/__tests__/background-process-guard.test.js.map +0 -1
- package/dist/hooks/__tests__/bridge-openclaw.test.d.ts +0 -2
- package/dist/hooks/__tests__/bridge-openclaw.test.d.ts.map +0 -1
- package/dist/hooks/__tests__/bridge-openclaw.test.js +0 -150
- package/dist/hooks/__tests__/bridge-openclaw.test.js.map +0 -1
- package/dist/hooks/__tests__/bridge-pkill.test.d.ts +0 -8
- package/dist/hooks/__tests__/bridge-pkill.test.d.ts.map +0 -1
- package/dist/hooks/__tests__/bridge-pkill.test.js +0 -188
- package/dist/hooks/__tests__/bridge-pkill.test.js.map +0 -1
- package/dist/hooks/__tests__/bridge-routing.test.d.ts +0 -9
- package/dist/hooks/__tests__/bridge-routing.test.d.ts.map +0 -1
- package/dist/hooks/__tests__/bridge-routing.test.js +0 -928
- package/dist/hooks/__tests__/bridge-routing.test.js.map +0 -1
- package/dist/hooks/__tests__/bridge-security.test.d.ts +0 -11
- package/dist/hooks/__tests__/bridge-security.test.d.ts.map +0 -1
- package/dist/hooks/__tests__/bridge-security.test.js +0 -436
- package/dist/hooks/__tests__/bridge-security.test.js.map +0 -1
- package/dist/hooks/__tests__/bridge-team-worker-guard.test.d.ts +0 -2
- package/dist/hooks/__tests__/bridge-team-worker-guard.test.d.ts.map +0 -1
- package/dist/hooks/__tests__/bridge-team-worker-guard.test.js +0 -52
- package/dist/hooks/__tests__/bridge-team-worker-guard.test.js.map +0 -1
- package/dist/hooks/__tests__/bridge.test.d.ts +0 -2
- package/dist/hooks/__tests__/bridge.test.d.ts.map +0 -1
- package/dist/hooks/__tests__/bridge.test.js +0 -300
- package/dist/hooks/__tests__/bridge.test.js.map +0 -1
- package/dist/hooks/__tests__/codebase-map.test.d.ts +0 -7
- package/dist/hooks/__tests__/codebase-map.test.d.ts.map +0 -1
- package/dist/hooks/__tests__/codebase-map.test.js +0 -281
- package/dist/hooks/__tests__/codebase-map.test.js.map +0 -1
- package/dist/hooks/__tests__/compaction-concurrency.test.d.ts +0 -10
- package/dist/hooks/__tests__/compaction-concurrency.test.d.ts.map +0 -1
- package/dist/hooks/__tests__/compaction-concurrency.test.js +0 -313
- package/dist/hooks/__tests__/compaction-concurrency.test.js.map +0 -1
- package/dist/hooks/__tests__/stop-hook-openclaw-cooldown.test.d.ts +0 -2
- package/dist/hooks/__tests__/stop-hook-openclaw-cooldown.test.d.ts.map +0 -1
- package/dist/hooks/__tests__/stop-hook-openclaw-cooldown.test.js +0 -65
- package/dist/hooks/__tests__/stop-hook-openclaw-cooldown.test.js.map +0 -1
- package/dist/hooks/__tests__/team-worker-heartbeat.test.d.ts +0 -10
- package/dist/hooks/__tests__/team-worker-heartbeat.test.d.ts.map +0 -1
- package/dist/hooks/__tests__/team-worker-heartbeat.test.js +0 -87
- package/dist/hooks/__tests__/team-worker-heartbeat.test.js.map +0 -1
- package/dist/hooks/agent-usage-reminder/constants.d.ts +0 -17
- package/dist/hooks/agent-usage-reminder/constants.d.ts.map +0 -1
- package/dist/hooks/agent-usage-reminder/constants.js +0 -57
- package/dist/hooks/agent-usage-reminder/constants.js.map +0 -1
- package/dist/hooks/agent-usage-reminder/index.d.ts +0 -36
- package/dist/hooks/agent-usage-reminder/index.d.ts.map +0 -1
- package/dist/hooks/agent-usage-reminder/index.js +0 -89
- package/dist/hooks/agent-usage-reminder/index.js.map +0 -1
- package/dist/hooks/agent-usage-reminder/storage.d.ts +0 -12
- package/dist/hooks/agent-usage-reminder/storage.d.ts.map +0 -1
- package/dist/hooks/agent-usage-reminder/storage.js +0 -39
- package/dist/hooks/agent-usage-reminder/storage.js.map +0 -1
- package/dist/hooks/agent-usage-reminder/types.d.ts +0 -14
- package/dist/hooks/agent-usage-reminder/types.d.ts.map +0 -1
- package/dist/hooks/agent-usage-reminder/types.js +0 -9
- package/dist/hooks/agent-usage-reminder/types.js.map +0 -1
- package/dist/hooks/agents-overlay.d.ts +0 -24
- package/dist/hooks/agents-overlay.d.ts.map +0 -1
- package/dist/hooks/agents-overlay.js +0 -51
- package/dist/hooks/agents-overlay.js.map +0 -1
- package/dist/hooks/auto-slash-command/constants.d.ts +0 -19
- package/dist/hooks/auto-slash-command/constants.d.ts.map +0 -1
- package/dist/hooks/auto-slash-command/constants.js +0 -33
- package/dist/hooks/auto-slash-command/constants.js.map +0 -1
- package/dist/hooks/auto-slash-command/detector.d.ts +0 -33
- package/dist/hooks/auto-slash-command/detector.d.ts.map +0 -1
- package/dist/hooks/auto-slash-command/detector.js +0 -73
- package/dist/hooks/auto-slash-command/detector.js.map +0 -1
- package/dist/hooks/auto-slash-command/executor.d.ts +0 -36
- package/dist/hooks/auto-slash-command/executor.d.ts.map +0 -1
- package/dist/hooks/auto-slash-command/executor.js +0 -329
- package/dist/hooks/auto-slash-command/executor.js.map +0 -1
- package/dist/hooks/auto-slash-command/index.d.ts +0 -53
- package/dist/hooks/auto-slash-command/index.d.ts.map +0 -1
- package/dist/hooks/auto-slash-command/index.js +0 -105
- package/dist/hooks/auto-slash-command/index.js.map +0 -1
- package/dist/hooks/auto-slash-command/live-data.d.ts +0 -27
- package/dist/hooks/auto-slash-command/live-data.d.ts.map +0 -1
- package/dist/hooks/auto-slash-command/live-data.js +0 -518
- package/dist/hooks/auto-slash-command/live-data.js.map +0 -1
- package/dist/hooks/auto-slash-command/types.d.ts +0 -83
- package/dist/hooks/auto-slash-command/types.d.ts.map +0 -1
- package/dist/hooks/auto-slash-command/types.js +0 -2
- package/dist/hooks/auto-slash-command/types.js.map +0 -1
- package/dist/hooks/autopilot/__tests__/cancel.test.d.ts +0 -2
- package/dist/hooks/autopilot/__tests__/cancel.test.d.ts.map +0 -1
- package/dist/hooks/autopilot/__tests__/cancel.test.js +0 -470
- package/dist/hooks/autopilot/__tests__/cancel.test.js.map +0 -1
- package/dist/hooks/autopilot/__tests__/pipeline.test.d.ts +0 -2
- package/dist/hooks/autopilot/__tests__/pipeline.test.d.ts.map +0 -1
- package/dist/hooks/autopilot/__tests__/pipeline.test.js +0 -375
- package/dist/hooks/autopilot/__tests__/pipeline.test.js.map +0 -1
- package/dist/hooks/autopilot/__tests__/prompts.test.d.ts +0 -2
- package/dist/hooks/autopilot/__tests__/prompts.test.d.ts.map +0 -1
- package/dist/hooks/autopilot/__tests__/prompts.test.js +0 -83
- package/dist/hooks/autopilot/__tests__/prompts.test.js.map +0 -1
- package/dist/hooks/autopilot/__tests__/state.test.d.ts +0 -2
- package/dist/hooks/autopilot/__tests__/state.test.d.ts.map +0 -1
- package/dist/hooks/autopilot/__tests__/state.test.js +0 -76
- package/dist/hooks/autopilot/__tests__/state.test.js.map +0 -1
- package/dist/hooks/autopilot/__tests__/summary.test.d.ts +0 -2
- package/dist/hooks/autopilot/__tests__/summary.test.d.ts.map +0 -1
- package/dist/hooks/autopilot/__tests__/summary.test.js +0 -324
- package/dist/hooks/autopilot/__tests__/summary.test.js.map +0 -1
- package/dist/hooks/autopilot/__tests__/transition.test.d.ts +0 -2
- package/dist/hooks/autopilot/__tests__/transition.test.d.ts.map +0 -1
- package/dist/hooks/autopilot/__tests__/transition.test.js +0 -58
- package/dist/hooks/autopilot/__tests__/transition.test.js.map +0 -1
- package/dist/hooks/autopilot/__tests__/transitions.test.d.ts +0 -12
- package/dist/hooks/autopilot/__tests__/transitions.test.d.ts.map +0 -1
- package/dist/hooks/autopilot/__tests__/transitions.test.js +0 -303
- package/dist/hooks/autopilot/__tests__/transitions.test.js.map +0 -1
- package/dist/hooks/autopilot/__tests__/validation.test.d.ts +0 -2
- package/dist/hooks/autopilot/__tests__/validation.test.d.ts.map +0 -1
- package/dist/hooks/autopilot/__tests__/validation.test.js +0 -450
- package/dist/hooks/autopilot/__tests__/validation.test.js.map +0 -1
- package/dist/hooks/autopilot/adapters/execution-adapter.d.ts +0 -12
- package/dist/hooks/autopilot/adapters/execution-adapter.d.ts.map +0 -1
- package/dist/hooks/autopilot/adapters/execution-adapter.js +0 -111
- package/dist/hooks/autopilot/adapters/execution-adapter.js.map +0 -1
- package/dist/hooks/autopilot/adapters/index.d.ts +0 -22
- package/dist/hooks/autopilot/adapters/index.d.ts.map +0 -1
- package/dist/hooks/autopilot/adapters/index.js +0 -32
- package/dist/hooks/autopilot/adapters/index.js.map +0 -1
- package/dist/hooks/autopilot/adapters/qa-adapter.d.ts +0 -12
- package/dist/hooks/autopilot/adapters/qa-adapter.d.ts.map +0 -1
- package/dist/hooks/autopilot/adapters/qa-adapter.js +0 -33
- package/dist/hooks/autopilot/adapters/qa-adapter.js.map +0 -1
- package/dist/hooks/autopilot/adapters/ralph-adapter.d.ts +0 -15
- package/dist/hooks/autopilot/adapters/ralph-adapter.d.ts.map +0 -1
- package/dist/hooks/autopilot/adapters/ralph-adapter.js +0 -102
- package/dist/hooks/autopilot/adapters/ralph-adapter.js.map +0 -1
- package/dist/hooks/autopilot/adapters/ralplan-adapter.d.ts +0 -14
- package/dist/hooks/autopilot/adapters/ralplan-adapter.d.ts.map +0 -1
- package/dist/hooks/autopilot/adapters/ralplan-adapter.js +0 -82
- package/dist/hooks/autopilot/adapters/ralplan-adapter.js.map +0 -1
- package/dist/hooks/autopilot/cancel.d.ts +0 -50
- package/dist/hooks/autopilot/cancel.d.ts.map +0 -1
- package/dist/hooks/autopilot/cancel.js +0 -217
- package/dist/hooks/autopilot/cancel.js.map +0 -1
- package/dist/hooks/autopilot/enforcement.d.ts +0 -44
- package/dist/hooks/autopilot/enforcement.d.ts.map +0 -1
- package/dist/hooks/autopilot/enforcement.js +0 -417
- package/dist/hooks/autopilot/enforcement.js.map +0 -1
- package/dist/hooks/autopilot/index.d.ts +0 -18
- package/dist/hooks/autopilot/index.d.ts.map +0 -1
- package/dist/hooks/autopilot/index.js +0 -23
- package/dist/hooks/autopilot/index.js.map +0 -1
- package/dist/hooks/autopilot/pipeline-types.d.ts +0 -135
- package/dist/hooks/autopilot/pipeline-types.d.ts.map +0 -1
- package/dist/hooks/autopilot/pipeline-types.js +0 -44
- package/dist/hooks/autopilot/pipeline-types.js.map +0 -1
- package/dist/hooks/autopilot/pipeline.d.ts +0 -124
- package/dist/hooks/autopilot/pipeline.d.ts.map +0 -1
- package/dist/hooks/autopilot/pipeline.js +0 -422
- package/dist/hooks/autopilot/pipeline.js.map +0 -1
- package/dist/hooks/autopilot/prompts.d.ts +0 -39
- package/dist/hooks/autopilot/prompts.d.ts.map +0 -1
- package/dist/hooks/autopilot/prompts.js +0 -385
- package/dist/hooks/autopilot/prompts.js.map +0 -1
- package/dist/hooks/autopilot/state.d.ts +0 -106
- package/dist/hooks/autopilot/state.d.ts.map +0 -1
- package/dist/hooks/autopilot/state.js +0 -457
- package/dist/hooks/autopilot/state.js.map +0 -1
- package/dist/hooks/autopilot/transition-helper.d.ts +0 -22
- package/dist/hooks/autopilot/transition-helper.d.ts.map +0 -1
- package/dist/hooks/autopilot/transition-helper.js +0 -31
- package/dist/hooks/autopilot/transition-helper.js.map +0 -1
- package/dist/hooks/autopilot/types.d.ts +0 -234
- package/dist/hooks/autopilot/types.d.ts.map +0 -1
- package/dist/hooks/autopilot/types.js +0 -30
- package/dist/hooks/autopilot/types.js.map +0 -1
- package/dist/hooks/autopilot/validation.d.ts +0 -66
- package/dist/hooks/autopilot/validation.d.ts.map +0 -1
- package/dist/hooks/autopilot/validation.js +0 -350
- package/dist/hooks/autopilot/validation.js.map +0 -1
- package/dist/hooks/background-notification/index.d.ts +0 -60
- package/dist/hooks/background-notification/index.d.ts.map +0 -1
- package/dist/hooks/background-notification/index.js +0 -180
- package/dist/hooks/background-notification/index.js.map +0 -1
- package/dist/hooks/background-notification/types.d.ts +0 -64
- package/dist/hooks/background-notification/types.d.ts.map +0 -1
- package/dist/hooks/background-notification/types.js +0 -8
- package/dist/hooks/background-notification/types.js.map +0 -1
- package/dist/hooks/beads-context/__tests__/index.test.d.ts +0 -2
- package/dist/hooks/beads-context/__tests__/index.test.d.ts.map +0 -1
- package/dist/hooks/beads-context/__tests__/index.test.js +0 -150
- package/dist/hooks/beads-context/__tests__/index.test.js.map +0 -1
- package/dist/hooks/beads-context/constants.d.ts +0 -3
- package/dist/hooks/beads-context/constants.d.ts.map +0 -1
- package/dist/hooks/beads-context/constants.js +0 -35
- package/dist/hooks/beads-context/constants.js.map +0 -1
- package/dist/hooks/beads-context/index.d.ts +0 -21
- package/dist/hooks/beads-context/index.d.ts.map +0 -1
- package/dist/hooks/beads-context/index.js +0 -62
- package/dist/hooks/beads-context/index.js.map +0 -1
- package/dist/hooks/beads-context/types.d.ts +0 -7
- package/dist/hooks/beads-context/types.d.ts.map +0 -1
- package/dist/hooks/beads-context/types.js +0 -2
- package/dist/hooks/beads-context/types.js.map +0 -1
- package/dist/hooks/bridge-normalize.d.ts +0 -143
- package/dist/hooks/bridge-normalize.d.ts.map +0 -1
- package/dist/hooks/bridge-normalize.js +0 -193
- package/dist/hooks/bridge-normalize.js.map +0 -1
- package/dist/hooks/bridge.d.ts +0 -98
- package/dist/hooks/bridge.d.ts.map +0 -1
- package/dist/hooks/bridge.js +0 -1700
- package/dist/hooks/bridge.js.map +0 -1
- package/dist/hooks/code-simplifier/index.d.ts +0 -75
- package/dist/hooks/code-simplifier/index.d.ts.map +0 -1
- package/dist/hooks/code-simplifier/index.js +0 -148
- package/dist/hooks/code-simplifier/index.js.map +0 -1
- package/dist/hooks/codebase-map.d.ts +0 -59
- package/dist/hooks/codebase-map.d.ts.map +0 -1
- package/dist/hooks/codebase-map.js +0 -196
- package/dist/hooks/codebase-map.js.map +0 -1
- package/dist/hooks/comment-checker/constants.d.ts +0 -28
- package/dist/hooks/comment-checker/constants.d.ts.map +0 -1
- package/dist/hooks/comment-checker/constants.js +0 -189
- package/dist/hooks/comment-checker/constants.js.map +0 -1
- package/dist/hooks/comment-checker/filters.d.ts +0 -39
- package/dist/hooks/comment-checker/filters.d.ts.map +0 -1
- package/dist/hooks/comment-checker/filters.js +0 -126
- package/dist/hooks/comment-checker/filters.js.map +0 -1
- package/dist/hooks/comment-checker/index.d.ts +0 -58
- package/dist/hooks/comment-checker/index.d.ts.map +0 -1
- package/dist/hooks/comment-checker/index.js +0 -283
- package/dist/hooks/comment-checker/index.js.map +0 -1
- package/dist/hooks/comment-checker/types.d.ts +0 -88
- package/dist/hooks/comment-checker/types.d.ts.map +0 -1
- package/dist/hooks/comment-checker/types.js +0 -9
- package/dist/hooks/comment-checker/types.js.map +0 -1
- package/dist/hooks/conductor/__tests__/state.test.d.ts +0 -2
- package/dist/hooks/conductor/__tests__/state.test.d.ts.map +0 -1
- package/dist/hooks/conductor/__tests__/state.test.js +0 -492
- package/dist/hooks/conductor/__tests__/state.test.js.map +0 -1
- package/dist/hooks/conductor/context.d.ts +0 -77
- package/dist/hooks/conductor/context.d.ts.map +0 -1
- package/dist/hooks/conductor/context.js +0 -312
- package/dist/hooks/conductor/context.js.map +0 -1
- package/dist/hooks/conductor/index.d.ts +0 -23
- package/dist/hooks/conductor/index.d.ts.map +0 -1
- package/dist/hooks/conductor/index.js +0 -94
- package/dist/hooks/conductor/index.js.map +0 -1
- package/dist/hooks/conductor/prompts.d.ts +0 -39
- package/dist/hooks/conductor/prompts.d.ts.map +0 -1
- package/dist/hooks/conductor/prompts.js +0 -331
- package/dist/hooks/conductor/prompts.js.map +0 -1
- package/dist/hooks/conductor/revert.d.ts +0 -44
- package/dist/hooks/conductor/revert.d.ts.map +0 -1
- package/dist/hooks/conductor/revert.js +0 -252
- package/dist/hooks/conductor/revert.js.map +0 -1
- package/dist/hooks/conductor/review.d.ts +0 -24
- package/dist/hooks/conductor/review.d.ts.map +0 -1
- package/dist/hooks/conductor/review.js +0 -238
- package/dist/hooks/conductor/review.js.map +0 -1
- package/dist/hooks/conductor/state.d.ts +0 -86
- package/dist/hooks/conductor/state.d.ts.map +0 -1
- package/dist/hooks/conductor/state.js +0 -366
- package/dist/hooks/conductor/state.js.map +0 -1
- package/dist/hooks/conductor/status.d.ts +0 -19
- package/dist/hooks/conductor/status.d.ts.map +0 -1
- package/dist/hooks/conductor/status.js +0 -171
- package/dist/hooks/conductor/status.js.map +0 -1
- package/dist/hooks/conductor/track.d.ts +0 -51
- package/dist/hooks/conductor/track.d.ts.map +0 -1
- package/dist/hooks/conductor/track.js +0 -284
- package/dist/hooks/conductor/track.js.map +0 -1
- package/dist/hooks/conductor/types.d.ts +0 -147
- package/dist/hooks/conductor/types.d.ts.map +0 -1
- package/dist/hooks/conductor/types.js +0 -28
- package/dist/hooks/conductor/types.js.map +0 -1
- package/dist/hooks/directory-readme-injector/constants.d.ts +0 -19
- package/dist/hooks/directory-readme-injector/constants.d.ts.map +0 -1
- package/dist/hooks/directory-readme-injector/constants.js +0 -21
- package/dist/hooks/directory-readme-injector/constants.js.map +0 -1
- package/dist/hooks/directory-readme-injector/index.d.ts +0 -45
- package/dist/hooks/directory-readme-injector/index.d.ts.map +0 -1
- package/dist/hooks/directory-readme-injector/index.js +0 -185
- package/dist/hooks/directory-readme-injector/index.js.map +0 -1
- package/dist/hooks/directory-readme-injector/storage.d.ts +0 -20
- package/dist/hooks/directory-readme-injector/storage.d.ts.map +0 -1
- package/dist/hooks/directory-readme-injector/storage.js +0 -56
- package/dist/hooks/directory-readme-injector/storage.js.map +0 -1
- package/dist/hooks/directory-readme-injector/types.d.ts +0 -20
- package/dist/hooks/directory-readme-injector/types.d.ts.map +0 -1
- package/dist/hooks/directory-readme-injector/types.js +0 -9
- package/dist/hooks/directory-readme-injector/types.js.map +0 -1
- package/dist/hooks/empty-message-sanitizer/__tests__/index.test.d.ts +0 -2
- package/dist/hooks/empty-message-sanitizer/__tests__/index.test.d.ts.map +0 -1
- package/dist/hooks/empty-message-sanitizer/__tests__/index.test.js +0 -416
- package/dist/hooks/empty-message-sanitizer/__tests__/index.test.js.map +0 -1
- package/dist/hooks/empty-message-sanitizer/constants.d.ts +0 -33
- package/dist/hooks/empty-message-sanitizer/constants.d.ts.map +0 -1
- package/dist/hooks/empty-message-sanitizer/constants.js +0 -37
- package/dist/hooks/empty-message-sanitizer/constants.js.map +0 -1
- package/dist/hooks/empty-message-sanitizer/index.d.ts +0 -59
- package/dist/hooks/empty-message-sanitizer/index.d.ts.map +0 -1
- package/dist/hooks/empty-message-sanitizer/index.js +0 -171
- package/dist/hooks/empty-message-sanitizer/index.js.map +0 -1
- package/dist/hooks/empty-message-sanitizer/types.d.ts +0 -79
- package/dist/hooks/empty-message-sanitizer/types.d.ts.map +0 -1
- package/dist/hooks/empty-message-sanitizer/types.js +0 -10
- package/dist/hooks/empty-message-sanitizer/types.js.map +0 -1
- package/dist/hooks/factcheck/__tests__/factcheck.test.d.ts +0 -7
- package/dist/hooks/factcheck/__tests__/factcheck.test.d.ts.map +0 -1
- package/dist/hooks/factcheck/__tests__/factcheck.test.js +0 -153
- package/dist/hooks/factcheck/__tests__/factcheck.test.js.map +0 -1
- package/dist/hooks/factcheck/__tests__/sentinel-gate.test.d.ts +0 -5
- package/dist/hooks/factcheck/__tests__/sentinel-gate.test.d.ts.map +0 -1
- package/dist/hooks/factcheck/__tests__/sentinel-gate.test.js +0 -159
- package/dist/hooks/factcheck/__tests__/sentinel-gate.test.js.map +0 -1
- package/dist/hooks/factcheck/__tests__/sentinel.test.d.ts +0 -7
- package/dist/hooks/factcheck/__tests__/sentinel.test.d.ts.map +0 -1
- package/dist/hooks/factcheck/__tests__/sentinel.test.js +0 -117
- package/dist/hooks/factcheck/__tests__/sentinel.test.js.map +0 -1
- package/dist/hooks/factcheck/checks.d.ts +0 -36
- package/dist/hooks/factcheck/checks.d.ts.map +0 -1
- package/dist/hooks/factcheck/checks.js +0 -144
- package/dist/hooks/factcheck/checks.js.map +0 -1
- package/dist/hooks/factcheck/config.d.ts +0 -25
- package/dist/hooks/factcheck/config.d.ts.map +0 -1
- package/dist/hooks/factcheck/config.js +0 -125
- package/dist/hooks/factcheck/config.js.map +0 -1
- package/dist/hooks/factcheck/index.d.ts +0 -34
- package/dist/hooks/factcheck/index.d.ts.map +0 -1
- package/dist/hooks/factcheck/index.js +0 -120
- package/dist/hooks/factcheck/index.js.map +0 -1
- package/dist/hooks/factcheck/sentinel.d.ts +0 -32
- package/dist/hooks/factcheck/sentinel.d.ts.map +0 -1
- package/dist/hooks/factcheck/sentinel.js +0 -153
- package/dist/hooks/factcheck/sentinel.js.map +0 -1
- package/dist/hooks/factcheck/types.d.ts +0 -99
- package/dist/hooks/factcheck/types.d.ts.map +0 -1
- package/dist/hooks/factcheck/types.js +0 -27
- package/dist/hooks/factcheck/types.js.map +0 -1
- package/dist/hooks/index.d.ts +0 -48
- package/dist/hooks/index.d.ts.map +0 -1
- package/dist/hooks/index.js +0 -141
- package/dist/hooks/index.js.map +0 -1
- package/dist/hooks/keyword-detector/__tests__/index.test.d.ts +0 -2
- package/dist/hooks/keyword-detector/__tests__/index.test.d.ts.map +0 -1
- package/dist/hooks/keyword-detector/__tests__/index.test.js +0 -1509
- package/dist/hooks/keyword-detector/__tests__/index.test.js.map +0 -1
- package/dist/hooks/keyword-detector/index.d.ts +0 -108
- package/dist/hooks/keyword-detector/index.d.ts.map +0 -1
- package/dist/hooks/keyword-detector/index.js +0 -326
- package/dist/hooks/keyword-detector/index.js.map +0 -1
- package/dist/hooks/learner/auto-invoke.d.ts +0 -82
- package/dist/hooks/learner/auto-invoke.d.ts.map +0 -1
- package/dist/hooks/learner/auto-invoke.js +0 -233
- package/dist/hooks/learner/auto-invoke.js.map +0 -1
- package/dist/hooks/learner/auto-learner.d.ts +0 -55
- package/dist/hooks/learner/auto-learner.d.ts.map +0 -1
- package/dist/hooks/learner/auto-learner.js +0 -364
- package/dist/hooks/learner/auto-learner.js.map +0 -1
- package/dist/hooks/learner/bridge.d.ts +0 -85
- package/dist/hooks/learner/bridge.d.ts.map +0 -1
- package/dist/hooks/learner/bridge.js +0 -567
- package/dist/hooks/learner/bridge.js.map +0 -1
- package/dist/hooks/learner/config.d.ts +0 -53
- package/dist/hooks/learner/config.d.ts.map +0 -1
- package/dist/hooks/learner/config.js +0 -103
- package/dist/hooks/learner/config.js.map +0 -1
- package/dist/hooks/learner/constants.d.ts +0 -30
- package/dist/hooks/learner/constants.d.ts.map +0 -1
- package/dist/hooks/learner/constants.js +0 -34
- package/dist/hooks/learner/constants.js.map +0 -1
- package/dist/hooks/learner/detection-hook.d.ts +0 -39
- package/dist/hooks/learner/detection-hook.d.ts.map +0 -1
- package/dist/hooks/learner/detection-hook.js +0 -83
- package/dist/hooks/learner/detection-hook.js.map +0 -1
- package/dist/hooks/learner/detector.d.ts +0 -30
- package/dist/hooks/learner/detector.d.ts.map +0 -1
- package/dist/hooks/learner/detector.js +0 -254
- package/dist/hooks/learner/detector.js.map +0 -1
- package/dist/hooks/learner/finder.d.ts +0 -23
- package/dist/hooks/learner/finder.d.ts.map +0 -1
- package/dist/hooks/learner/finder.js +0 -172
- package/dist/hooks/learner/finder.js.map +0 -1
- package/dist/hooks/learner/index.d.ts +0 -65
- package/dist/hooks/learner/index.d.ts.map +0 -1
- package/dist/hooks/learner/index.js +0 -147
- package/dist/hooks/learner/index.js.map +0 -1
- package/dist/hooks/learner/loader.d.ts +0 -20
- package/dist/hooks/learner/loader.d.ts.map +0 -1
- package/dist/hooks/learner/loader.js +0 -112
- package/dist/hooks/learner/loader.js.map +0 -1
- package/dist/hooks/learner/matcher.d.ts +0 -40
- package/dist/hooks/learner/matcher.d.ts.map +0 -1
- package/dist/hooks/learner/matcher.js +0 -230
- package/dist/hooks/learner/matcher.js.map +0 -1
- package/dist/hooks/learner/parser.d.ts +0 -21
- package/dist/hooks/learner/parser.d.ts.map +0 -1
- package/dist/hooks/learner/parser.js +0 -200
- package/dist/hooks/learner/parser.js.map +0 -1
- package/dist/hooks/learner/promotion.d.ts +0 -29
- package/dist/hooks/learner/promotion.d.ts.map +0 -1
- package/dist/hooks/learner/promotion.js +0 -87
- package/dist/hooks/learner/promotion.js.map +0 -1
- package/dist/hooks/learner/transliteration-map.d.ts +0 -30
- package/dist/hooks/learner/transliteration-map.d.ts.map +0 -1
- package/dist/hooks/learner/transliteration-map.js +0 -51
- package/dist/hooks/learner/transliteration-map.js.map +0 -1
- package/dist/hooks/learner/types.d.ts +0 -111
- package/dist/hooks/learner/types.d.ts.map +0 -1
- package/dist/hooks/learner/types.js +0 -8
- package/dist/hooks/learner/types.js.map +0 -1
- package/dist/hooks/learner/validator.d.ts +0 -15
- package/dist/hooks/learner/validator.d.ts.map +0 -1
- package/dist/hooks/learner/validator.js +0 -87
- package/dist/hooks/learner/validator.js.map +0 -1
- package/dist/hooks/learner/writer.d.ts +0 -27
- package/dist/hooks/learner/writer.d.ts.map +0 -1
- package/dist/hooks/learner/writer.js +0 -126
- package/dist/hooks/learner/writer.js.map +0 -1
- package/dist/hooks/mode-registry/__tests__/session-isolation.test.d.ts +0 -2
- package/dist/hooks/mode-registry/__tests__/session-isolation.test.d.ts.map +0 -1
- package/dist/hooks/mode-registry/__tests__/session-isolation.test.js +0 -278
- package/dist/hooks/mode-registry/__tests__/session-isolation.test.js.map +0 -1
- package/dist/hooks/mode-registry/index.d.ts +0 -163
- package/dist/hooks/mode-registry/index.d.ts.map +0 -1
- package/dist/hooks/mode-registry/index.js +0 -580
- package/dist/hooks/mode-registry/index.js.map +0 -1
- package/dist/hooks/mode-registry/types.d.ts +0 -31
- package/dist/hooks/mode-registry/types.d.ts.map +0 -1
- package/dist/hooks/mode-registry/types.js +0 -7
- package/dist/hooks/mode-registry/types.js.map +0 -1
- package/dist/hooks/non-interactive-env/constants.d.ts +0 -35
- package/dist/hooks/non-interactive-env/constants.d.ts.map +0 -1
- package/dist/hooks/non-interactive-env/constants.js +0 -69
- package/dist/hooks/non-interactive-env/constants.js.map +0 -1
- package/dist/hooks/non-interactive-env/detector.d.ts +0 -2
- package/dist/hooks/non-interactive-env/detector.d.ts.map +0 -1
- package/dist/hooks/non-interactive-env/detector.js +0 -16
- package/dist/hooks/non-interactive-env/detector.js.map +0 -1
- package/dist/hooks/non-interactive-env/index.d.ts +0 -14
- package/dist/hooks/non-interactive-env/index.d.ts.map +0 -1
- package/dist/hooks/non-interactive-env/index.js +0 -72
- package/dist/hooks/non-interactive-env/index.js.map +0 -1
- package/dist/hooks/non-interactive-env/index.test.d.ts +0 -2
- package/dist/hooks/non-interactive-env/index.test.d.ts.map +0 -1
- package/dist/hooks/non-interactive-env/index.test.js +0 -30
- package/dist/hooks/non-interactive-env/index.test.js.map +0 -1
- package/dist/hooks/non-interactive-env/types.d.ts +0 -14
- package/dist/hooks/non-interactive-env/types.d.ts.map +0 -1
- package/dist/hooks/non-interactive-env/types.js +0 -2
- package/dist/hooks/non-interactive-env/types.js.map +0 -1
- package/dist/hooks/notepad/index.d.ts +0 -114
- package/dist/hooks/notepad/index.d.ts.map +0 -1
- package/dist/hooks/notepad/index.js +0 -404
- package/dist/hooks/notepad/index.js.map +0 -1
- package/dist/hooks/omc-orchestrator/audit.d.ts +0 -31
- package/dist/hooks/omc-orchestrator/audit.d.ts.map +0 -1
- package/dist/hooks/omc-orchestrator/audit.js +0 -67
- package/dist/hooks/omc-orchestrator/audit.js.map +0 -1
- package/dist/hooks/omc-orchestrator/constants.d.ts +0 -28
- package/dist/hooks/omc-orchestrator/constants.d.ts.map +0 -1
- package/dist/hooks/omc-orchestrator/constants.js +0 -179
- package/dist/hooks/omc-orchestrator/constants.js.map +0 -1
- package/dist/hooks/omc-orchestrator/index.d.ts +0 -124
- package/dist/hooks/omc-orchestrator/index.d.ts.map +0 -1
- package/dist/hooks/omc-orchestrator/index.js +0 -454
- package/dist/hooks/omc-orchestrator/index.js.map +0 -1
- package/dist/hooks/permission-handler/__tests__/index.test.d.ts +0 -2
- package/dist/hooks/permission-handler/__tests__/index.test.d.ts.map +0 -1
- package/dist/hooks/permission-handler/__tests__/index.test.js +0 -440
- package/dist/hooks/permission-handler/__tests__/index.test.js.map +0 -1
- package/dist/hooks/permission-handler/index.d.ts +0 -64
- package/dist/hooks/permission-handler/index.d.ts.map +0 -1
- package/dist/hooks/permission-handler/index.js +0 -293
- package/dist/hooks/permission-handler/index.js.map +0 -1
- package/dist/hooks/persistent-mode/__tests__/cancel-race.test.d.ts +0 -2
- package/dist/hooks/persistent-mode/__tests__/cancel-race.test.d.ts.map +0 -1
- package/dist/hooks/persistent-mode/__tests__/cancel-race.test.js +0 -73
- package/dist/hooks/persistent-mode/__tests__/cancel-race.test.js.map +0 -1
- package/dist/hooks/persistent-mode/__tests__/error-handling.test.d.ts +0 -6
- package/dist/hooks/persistent-mode/__tests__/error-handling.test.d.ts.map +0 -1
- package/dist/hooks/persistent-mode/__tests__/error-handling.test.js +0 -71
- package/dist/hooks/persistent-mode/__tests__/error-handling.test.js.map +0 -1
- package/dist/hooks/persistent-mode/__tests__/idle-cooldown.test.d.ts +0 -6
- package/dist/hooks/persistent-mode/__tests__/idle-cooldown.test.d.ts.map +0 -1
- package/dist/hooks/persistent-mode/__tests__/idle-cooldown.test.js +0 -363
- package/dist/hooks/persistent-mode/__tests__/idle-cooldown.test.js.map +0 -1
- package/dist/hooks/persistent-mode/__tests__/ralph-max-iteration.test.d.ts +0 -2
- package/dist/hooks/persistent-mode/__tests__/ralph-max-iteration.test.d.ts.map +0 -1
- package/dist/hooks/persistent-mode/__tests__/ralph-max-iteration.test.js +0 -38
- package/dist/hooks/persistent-mode/__tests__/ralph-max-iteration.test.js.map +0 -1
- package/dist/hooks/persistent-mode/__tests__/ralph-verification-flow.test.d.ts +0 -2
- package/dist/hooks/persistent-mode/__tests__/ralph-verification-flow.test.d.ts.map +0 -1
- package/dist/hooks/persistent-mode/__tests__/ralph-verification-flow.test.js +0 -90
- package/dist/hooks/persistent-mode/__tests__/ralph-verification-flow.test.js.map +0 -1
- package/dist/hooks/persistent-mode/__tests__/rate-limit-stop.test.d.ts +0 -2
- package/dist/hooks/persistent-mode/__tests__/rate-limit-stop.test.d.ts.map +0 -1
- package/dist/hooks/persistent-mode/__tests__/rate-limit-stop.test.js +0 -116
- package/dist/hooks/persistent-mode/__tests__/rate-limit-stop.test.js.map +0 -1
- package/dist/hooks/persistent-mode/__tests__/skill-state-stop.test.d.ts +0 -2
- package/dist/hooks/persistent-mode/__tests__/skill-state-stop.test.d.ts.map +0 -1
- package/dist/hooks/persistent-mode/__tests__/skill-state-stop.test.js +0 -191
- package/dist/hooks/persistent-mode/__tests__/skill-state-stop.test.js.map +0 -1
- package/dist/hooks/persistent-mode/__tests__/team-ralplan-stop.test.d.ts +0 -2
- package/dist/hooks/persistent-mode/__tests__/team-ralplan-stop.test.d.ts.map +0 -1
- package/dist/hooks/persistent-mode/__tests__/team-ralplan-stop.test.js +0 -646
- package/dist/hooks/persistent-mode/__tests__/team-ralplan-stop.test.js.map +0 -1
- package/dist/hooks/persistent-mode/__tests__/tool-error.test.d.ts +0 -6
- package/dist/hooks/persistent-mode/__tests__/tool-error.test.d.ts.map +0 -1
- package/dist/hooks/persistent-mode/__tests__/tool-error.test.js +0 -335
- package/dist/hooks/persistent-mode/__tests__/tool-error.test.js.map +0 -1
- package/dist/hooks/persistent-mode/idle-cooldown.test.d.ts +0 -6
- package/dist/hooks/persistent-mode/idle-cooldown.test.d.ts.map +0 -1
- package/dist/hooks/persistent-mode/idle-cooldown.test.js +0 -115
- package/dist/hooks/persistent-mode/idle-cooldown.test.js.map +0 -1
- package/dist/hooks/persistent-mode/index.d.ts +0 -86
- package/dist/hooks/persistent-mode/index.d.ts.map +0 -1
- package/dist/hooks/persistent-mode/index.js +0 -1042
- package/dist/hooks/persistent-mode/index.js.map +0 -1
- package/dist/hooks/persistent-mode/session-isolation.test.d.ts +0 -2
- package/dist/hooks/persistent-mode/session-isolation.test.d.ts.map +0 -1
- package/dist/hooks/persistent-mode/session-isolation.test.js +0 -513
- package/dist/hooks/persistent-mode/session-isolation.test.js.map +0 -1
- package/dist/hooks/persistent-mode/stop-hook-blocking.test.d.ts +0 -2
- package/dist/hooks/persistent-mode/stop-hook-blocking.test.d.ts.map +0 -1
- package/dist/hooks/persistent-mode/stop-hook-blocking.test.js +0 -691
- package/dist/hooks/persistent-mode/stop-hook-blocking.test.js.map +0 -1
- package/dist/hooks/plugin-patterns/__tests__/index.test.d.ts +0 -13
- package/dist/hooks/plugin-patterns/__tests__/index.test.d.ts.map +0 -1
- package/dist/hooks/plugin-patterns/__tests__/index.test.js +0 -100
- package/dist/hooks/plugin-patterns/__tests__/index.test.js.map +0 -1
- package/dist/hooks/plugin-patterns/index.d.ts +0 -119
- package/dist/hooks/plugin-patterns/index.d.ts.map +0 -1
- package/dist/hooks/plugin-patterns/index.js +0 -354
- package/dist/hooks/plugin-patterns/index.js.map +0 -1
- package/dist/hooks/pre-compact/index.d.ts +0 -117
- package/dist/hooks/pre-compact/index.d.ts.map +0 -1
- package/dist/hooks/pre-compact/index.js +0 -429
- package/dist/hooks/pre-compact/index.js.map +0 -1
- package/dist/hooks/preemptive-compaction/constants.d.ts +0 -48
- package/dist/hooks/preemptive-compaction/constants.d.ts.map +0 -1
- package/dist/hooks/preemptive-compaction/constants.js +0 -90
- package/dist/hooks/preemptive-compaction/constants.js.map +0 -1
- package/dist/hooks/preemptive-compaction/index.d.ts +0 -69
- package/dist/hooks/preemptive-compaction/index.d.ts.map +0 -1
- package/dist/hooks/preemptive-compaction/index.js +0 -278
- package/dist/hooks/preemptive-compaction/index.js.map +0 -1
- package/dist/hooks/preemptive-compaction/types.d.ts +0 -76
- package/dist/hooks/preemptive-compaction/types.d.ts.map +0 -1
- package/dist/hooks/preemptive-compaction/types.js +0 -9
- package/dist/hooks/preemptive-compaction/types.js.map +0 -1
- package/dist/hooks/project-memory/__tests__/detector.test.d.ts +0 -5
- package/dist/hooks/project-memory/__tests__/detector.test.d.ts.map +0 -1
- package/dist/hooks/project-memory/__tests__/detector.test.js +0 -165
- package/dist/hooks/project-memory/__tests__/detector.test.js.map +0 -1
- package/dist/hooks/project-memory/__tests__/formatter.test.d.ts +0 -5
- package/dist/hooks/project-memory/__tests__/formatter.test.d.ts.map +0 -1
- package/dist/hooks/project-memory/__tests__/formatter.test.js +0 -315
- package/dist/hooks/project-memory/__tests__/formatter.test.js.map +0 -1
- package/dist/hooks/project-memory/__tests__/integration.test.d.ts +0 -5
- package/dist/hooks/project-memory/__tests__/integration.test.d.ts.map +0 -1
- package/dist/hooks/project-memory/__tests__/integration.test.js +0 -265
- package/dist/hooks/project-memory/__tests__/integration.test.js.map +0 -1
- package/dist/hooks/project-memory/__tests__/learner.test.d.ts +0 -5
- package/dist/hooks/project-memory/__tests__/learner.test.d.ts.map +0 -1
- package/dist/hooks/project-memory/__tests__/learner.test.js +0 -159
- package/dist/hooks/project-memory/__tests__/learner.test.js.map +0 -1
- package/dist/hooks/project-memory/__tests__/pre-compact.test.d.ts +0 -5
- package/dist/hooks/project-memory/__tests__/pre-compact.test.d.ts.map +0 -1
- package/dist/hooks/project-memory/__tests__/pre-compact.test.js +0 -121
- package/dist/hooks/project-memory/__tests__/pre-compact.test.js.map +0 -1
- package/dist/hooks/project-memory/__tests__/storage.test.d.ts +0 -5
- package/dist/hooks/project-memory/__tests__/storage.test.d.ts.map +0 -1
- package/dist/hooks/project-memory/__tests__/storage.test.js +0 -244
- package/dist/hooks/project-memory/__tests__/storage.test.js.map +0 -1
- package/dist/hooks/project-memory/constants.d.ts +0 -33
- package/dist/hooks/project-memory/constants.d.ts.map +0 -1
- package/dist/hooks/project-memory/constants.js +0 -134
- package/dist/hooks/project-memory/constants.js.map +0 -1
- package/dist/hooks/project-memory/detector.d.ts +0 -10
- package/dist/hooks/project-memory/detector.d.ts.map +0 -1
- package/dist/hooks/project-memory/detector.js +0 -481
- package/dist/hooks/project-memory/detector.js.map +0 -1
- package/dist/hooks/project-memory/directive-detector.d.ts +0 -22
- package/dist/hooks/project-memory/directive-detector.d.ts.map +0 -1
- package/dist/hooks/project-memory/directive-detector.js +0 -149
- package/dist/hooks/project-memory/directive-detector.js.map +0 -1
- package/dist/hooks/project-memory/directory-mapper.d.ts +0 -14
- package/dist/hooks/project-memory/directory-mapper.d.ts.map +0 -1
- package/dist/hooks/project-memory/directory-mapper.js +0 -156
- package/dist/hooks/project-memory/directory-mapper.js.map +0 -1
- package/dist/hooks/project-memory/formatter.d.ts +0 -15
- package/dist/hooks/project-memory/formatter.d.ts.map +0 -1
- package/dist/hooks/project-memory/formatter.js +0 -241
- package/dist/hooks/project-memory/formatter.js.map +0 -1
- package/dist/hooks/project-memory/hot-path-tracker.d.ts +0 -18
- package/dist/hooks/project-memory/hot-path-tracker.d.ts.map +0 -1
- package/dist/hooks/project-memory/hot-path-tracker.js +0 -125
- package/dist/hooks/project-memory/hot-path-tracker.js.map +0 -1
- package/dist/hooks/project-memory/index.d.ts +0 -17
- package/dist/hooks/project-memory/index.d.ts.map +0 -1
- package/dist/hooks/project-memory/index.js +0 -110
- package/dist/hooks/project-memory/index.js.map +0 -1
- package/dist/hooks/project-memory/learner.d.ts +0 -23
- package/dist/hooks/project-memory/learner.d.ts.map +0 -1
- package/dist/hooks/project-memory/learner.js +0 -231
- package/dist/hooks/project-memory/learner.js.map +0 -1
- package/dist/hooks/project-memory/pre-compact.d.ts +0 -23
- package/dist/hooks/project-memory/pre-compact.d.ts.map +0 -1
- package/dist/hooks/project-memory/pre-compact.js +0 -52
- package/dist/hooks/project-memory/pre-compact.js.map +0 -1
- package/dist/hooks/project-memory/storage.d.ts +0 -37
- package/dist/hooks/project-memory/storage.d.ts.map +0 -1
- package/dist/hooks/project-memory/storage.js +0 -89
- package/dist/hooks/project-memory/storage.js.map +0 -1
- package/dist/hooks/project-memory/types.d.ts +0 -106
- package/dist/hooks/project-memory/types.d.ts.map +0 -1
- package/dist/hooks/project-memory/types.js +0 -6
- package/dist/hooks/project-memory/types.js.map +0 -1
- package/dist/hooks/ralph/index.d.ts +0 -11
- package/dist/hooks/ralph/index.d.ts.map +0 -1
- package/dist/hooks/ralph/index.js +0 -57
- package/dist/hooks/ralph/index.js.map +0 -1
- package/dist/hooks/ralph/loop.d.ts +0 -144
- package/dist/hooks/ralph/loop.d.ts.map +0 -1
- package/dist/hooks/ralph/loop.js +0 -357
- package/dist/hooks/ralph/loop.js.map +0 -1
- package/dist/hooks/ralph/prd.d.ts +0 -130
- package/dist/hooks/ralph/prd.d.ts.map +0 -1
- package/dist/hooks/ralph/prd.js +0 -311
- package/dist/hooks/ralph/prd.js.map +0 -1
- package/dist/hooks/ralph/progress.d.ts +0 -102
- package/dist/hooks/ralph/progress.d.ts.map +0 -1
- package/dist/hooks/ralph/progress.js +0 -409
- package/dist/hooks/ralph/progress.js.map +0 -1
- package/dist/hooks/ralph/verifier.d.ts +0 -78
- package/dist/hooks/ralph/verifier.d.ts.map +0 -1
- package/dist/hooks/ralph/verifier.js +0 -280
- package/dist/hooks/ralph/verifier.js.map +0 -1
- package/dist/hooks/recovery/__tests__/storage.test.d.ts +0 -2
- package/dist/hooks/recovery/__tests__/storage.test.d.ts.map +0 -1
- package/dist/hooks/recovery/__tests__/storage.test.js +0 -65
- package/dist/hooks/recovery/__tests__/storage.test.js.map +0 -1
- package/dist/hooks/recovery/constants.d.ts +0 -114
- package/dist/hooks/recovery/constants.d.ts.map +0 -1
- package/dist/hooks/recovery/constants.js +0 -221
- package/dist/hooks/recovery/constants.js.map +0 -1
- package/dist/hooks/recovery/context-window.d.ts +0 -28
- package/dist/hooks/recovery/context-window.d.ts.map +0 -1
- package/dist/hooks/recovery/context-window.js +0 -342
- package/dist/hooks/recovery/context-window.js.map +0 -1
- package/dist/hooks/recovery/edit-error.d.ts +0 -24
- package/dist/hooks/recovery/edit-error.d.ts.map +0 -1
- package/dist/hooks/recovery/edit-error.js +0 -56
- package/dist/hooks/recovery/edit-error.js.map +0 -1
- package/dist/hooks/recovery/index.d.ts +0 -102
- package/dist/hooks/recovery/index.d.ts.map +0 -1
- package/dist/hooks/recovery/index.js +0 -166
- package/dist/hooks/recovery/index.js.map +0 -1
- package/dist/hooks/recovery/session-recovery.d.ts +0 -24
- package/dist/hooks/recovery/session-recovery.d.ts.map +0 -1
- package/dist/hooks/recovery/session-recovery.js +0 -284
- package/dist/hooks/recovery/session-recovery.js.map +0 -1
- package/dist/hooks/recovery/storage.d.ts +0 -79
- package/dist/hooks/recovery/storage.d.ts.map +0 -1
- package/dist/hooks/recovery/storage.js +0 -360
- package/dist/hooks/recovery/storage.js.map +0 -1
- package/dist/hooks/recovery/types.d.ts +0 -196
- package/dist/hooks/recovery/types.d.ts.map +0 -1
- package/dist/hooks/recovery/types.js +0 -32
- package/dist/hooks/recovery/types.js.map +0 -1
- package/dist/hooks/rules-injector/constants.d.ts +0 -25
- package/dist/hooks/rules-injector/constants.d.ts.map +0 -1
- package/dist/hooks/rules-injector/constants.js +0 -40
- package/dist/hooks/rules-injector/constants.js.map +0 -1
- package/dist/hooks/rules-injector/finder.d.ts +0 -24
- package/dist/hooks/rules-injector/finder.d.ts.map +0 -1
- package/dist/hooks/rules-injector/finder.js +0 -215
- package/dist/hooks/rules-injector/finder.js.map +0 -1
- package/dist/hooks/rules-injector/index.d.ts +0 -45
- package/dist/hooks/rules-injector/index.d.ts.map +0 -1
- package/dist/hooks/rules-injector/index.js +0 -187
- package/dist/hooks/rules-injector/index.js.map +0 -1
- package/dist/hooks/rules-injector/matcher.d.ts +0 -25
- package/dist/hooks/rules-injector/matcher.d.ts.map +0 -1
- package/dist/hooks/rules-injector/matcher.js +0 -70
- package/dist/hooks/rules-injector/matcher.js.map +0 -1
- package/dist/hooks/rules-injector/parser.d.ts +0 -20
- package/dist/hooks/rules-injector/parser.d.ts.map +0 -1
- package/dist/hooks/rules-injector/parser.js +0 -181
- package/dist/hooks/rules-injector/parser.js.map +0 -1
- package/dist/hooks/rules-injector/storage.d.ts +0 -26
- package/dist/hooks/rules-injector/storage.d.ts.map +0 -1
- package/dist/hooks/rules-injector/storage.js +0 -61
- package/dist/hooks/rules-injector/storage.js.map +0 -1
- package/dist/hooks/rules-injector/types.d.ts +0 -101
- package/dist/hooks/rules-injector/types.d.ts.map +0 -1
- package/dist/hooks/rules-injector/types.js +0 -10
- package/dist/hooks/rules-injector/types.js.map +0 -1
- package/dist/hooks/session-end/__tests__/callbacks.test.d.ts +0 -2
- package/dist/hooks/session-end/__tests__/callbacks.test.d.ts.map +0 -1
- package/dist/hooks/session-end/__tests__/callbacks.test.js +0 -381
- package/dist/hooks/session-end/__tests__/callbacks.test.js.map +0 -1
- package/dist/hooks/session-end/__tests__/duplicate-notifications.test.d.ts +0 -2
- package/dist/hooks/session-end/__tests__/duplicate-notifications.test.d.ts.map +0 -1
- package/dist/hooks/session-end/__tests__/duplicate-notifications.test.js +0 -140
- package/dist/hooks/session-end/__tests__/duplicate-notifications.test.js.map +0 -1
- package/dist/hooks/session-end/__tests__/mode-state-cleanup.test.d.ts +0 -2
- package/dist/hooks/session-end/__tests__/mode-state-cleanup.test.d.ts.map +0 -1
- package/dist/hooks/session-end/__tests__/mode-state-cleanup.test.js +0 -150
- package/dist/hooks/session-end/__tests__/mode-state-cleanup.test.js.map +0 -1
- package/dist/hooks/session-end/__tests__/openclaw-session-end.test.d.ts +0 -2
- package/dist/hooks/session-end/__tests__/openclaw-session-end.test.d.ts.map +0 -1
- package/dist/hooks/session-end/__tests__/openclaw-session-end.test.js +0 -112
- package/dist/hooks/session-end/__tests__/openclaw-session-end.test.js.map +0 -1
- package/dist/hooks/session-end/__tests__/python-repl-cleanup.test.d.ts +0 -2
- package/dist/hooks/session-end/__tests__/python-repl-cleanup.test.d.ts.map +0 -1
- package/dist/hooks/session-end/__tests__/python-repl-cleanup.test.js +0 -46
- package/dist/hooks/session-end/__tests__/python-repl-cleanup.test.js.map +0 -1
- package/dist/hooks/session-end/__tests__/session-duration.test.d.ts +0 -2
- package/dist/hooks/session-end/__tests__/session-duration.test.d.ts.map +0 -1
- package/dist/hooks/session-end/__tests__/session-duration.test.js +0 -236
- package/dist/hooks/session-end/__tests__/session-duration.test.js.map +0 -1
- package/dist/hooks/session-end/__tests__/session-end-bridge-cleanup.test.d.ts +0 -2
- package/dist/hooks/session-end/__tests__/session-end-bridge-cleanup.test.d.ts.map +0 -1
- package/dist/hooks/session-end/__tests__/session-end-bridge-cleanup.test.js +0 -58
- package/dist/hooks/session-end/__tests__/session-end-bridge-cleanup.test.js.map +0 -1
- package/dist/hooks/session-end/__tests__/session-end-timeout.test.d.ts +0 -2
- package/dist/hooks/session-end/__tests__/session-end-timeout.test.d.ts.map +0 -1
- package/dist/hooks/session-end/__tests__/session-end-timeout.test.js +0 -91
- package/dist/hooks/session-end/__tests__/session-end-timeout.test.js.map +0 -1
- package/dist/hooks/session-end/__tests__/subdirectory-cwd.test.d.ts +0 -10
- package/dist/hooks/session-end/__tests__/subdirectory-cwd.test.d.ts.map +0 -1
- package/dist/hooks/session-end/__tests__/subdirectory-cwd.test.js +0 -122
- package/dist/hooks/session-end/__tests__/subdirectory-cwd.test.js.map +0 -1
- package/dist/hooks/session-end/__tests__/team-cleanup.test.d.ts +0 -2
- package/dist/hooks/session-end/__tests__/team-cleanup.test.d.ts.map +0 -1
- package/dist/hooks/session-end/__tests__/team-cleanup.test.js +0 -150
- package/dist/hooks/session-end/__tests__/team-cleanup.test.js.map +0 -1
- package/dist/hooks/session-end/callbacks.d.ts +0 -29
- package/dist/hooks/session-end/callbacks.d.ts.map +0 -1
- package/dist/hooks/session-end/callbacks.js +0 -230
- package/dist/hooks/session-end/callbacks.js.map +0 -1
- package/dist/hooks/session-end/index.d.ts +0 -87
- package/dist/hooks/session-end/index.d.ts.map +0 -1
- package/dist/hooks/session-end/index.js +0 -683
- package/dist/hooks/session-end/index.js.map +0 -1
- package/dist/hooks/setup/__tests__/prune.test.d.ts +0 -2
- package/dist/hooks/setup/__tests__/prune.test.d.ts.map +0 -1
- package/dist/hooks/setup/__tests__/prune.test.js +0 -94
- package/dist/hooks/setup/__tests__/prune.test.js.map +0 -1
- package/dist/hooks/setup/__tests__/windows-patch.test.d.ts +0 -2
- package/dist/hooks/setup/__tests__/windows-patch.test.d.ts.map +0 -1
- package/dist/hooks/setup/__tests__/windows-patch.test.js +0 -111
- package/dist/hooks/setup/__tests__/windows-patch.test.js.map +0 -1
- package/dist/hooks/setup/index.d.ts +0 -80
- package/dist/hooks/setup/index.d.ts.map +0 -1
- package/dist/hooks/setup/index.js +0 -349
- package/dist/hooks/setup/index.js.map +0 -1
- package/dist/hooks/setup/types.d.ts +0 -25
- package/dist/hooks/setup/types.d.ts.map +0 -1
- package/dist/hooks/setup/types.js +0 -5
- package/dist/hooks/setup/types.js.map +0 -1
- package/dist/hooks/skill-bridge.cjs +0 -512
- package/dist/hooks/skill-state/__tests__/skill-state.test.d.ts +0 -2
- package/dist/hooks/skill-state/__tests__/skill-state.test.d.ts.map +0 -1
- package/dist/hooks/skill-state/__tests__/skill-state.test.js +0 -369
- package/dist/hooks/skill-state/__tests__/skill-state.test.js.map +0 -1
- package/dist/hooks/skill-state/index.d.ts +0 -88
- package/dist/hooks/skill-state/index.d.ts.map +0 -1
- package/dist/hooks/skill-state/index.js +0 -231
- package/dist/hooks/skill-state/index.js.map +0 -1
- package/dist/hooks/subagent-tracker/__tests__/flow-tracer.test.d.ts +0 -2
- package/dist/hooks/subagent-tracker/__tests__/flow-tracer.test.d.ts.map +0 -1
- package/dist/hooks/subagent-tracker/__tests__/flow-tracer.test.js +0 -107
- package/dist/hooks/subagent-tracker/__tests__/flow-tracer.test.js.map +0 -1
- package/dist/hooks/subagent-tracker/__tests__/flush-race.test.d.ts +0 -2
- package/dist/hooks/subagent-tracker/__tests__/flush-race.test.d.ts.map +0 -1
- package/dist/hooks/subagent-tracker/__tests__/flush-race.test.js +0 -375
- package/dist/hooks/subagent-tracker/__tests__/flush-race.test.js.map +0 -1
- package/dist/hooks/subagent-tracker/__tests__/index.test.d.ts +0 -2
- package/dist/hooks/subagent-tracker/__tests__/index.test.d.ts.map +0 -1
- package/dist/hooks/subagent-tracker/__tests__/index.test.js +0 -859
- package/dist/hooks/subagent-tracker/__tests__/index.test.js.map +0 -1
- package/dist/hooks/subagent-tracker/__tests__/session-replay.test.d.ts +0 -2
- package/dist/hooks/subagent-tracker/__tests__/session-replay.test.d.ts.map +0 -1
- package/dist/hooks/subagent-tracker/__tests__/session-replay.test.js +0 -139
- package/dist/hooks/subagent-tracker/__tests__/session-replay.test.js.map +0 -1
- package/dist/hooks/subagent-tracker/flow-tracer.d.ts +0 -31
- package/dist/hooks/subagent-tracker/flow-tracer.d.ts.map +0 -1
- package/dist/hooks/subagent-tracker/flow-tracer.js +0 -75
- package/dist/hooks/subagent-tracker/flow-tracer.js.map +0 -1
- package/dist/hooks/subagent-tracker/index.d.ts +0 -270
- package/dist/hooks/subagent-tracker/index.d.ts.map +0 -1
- package/dist/hooks/subagent-tracker/index.js +0 -1047
- package/dist/hooks/subagent-tracker/index.js.map +0 -1
- package/dist/hooks/subagent-tracker/session-replay.d.ts +0 -143
- package/dist/hooks/subagent-tracker/session-replay.d.ts.map +0 -1
- package/dist/hooks/subagent-tracker/session-replay.js +0 -390
- package/dist/hooks/subagent-tracker/session-replay.js.map +0 -1
- package/dist/hooks/task-size-detector/__tests__/index.test.d.ts +0 -2
- package/dist/hooks/task-size-detector/__tests__/index.test.d.ts.map +0 -1
- package/dist/hooks/task-size-detector/__tests__/index.test.js +0 -338
- package/dist/hooks/task-size-detector/__tests__/index.test.js.map +0 -1
- package/dist/hooks/task-size-detector/index.d.ts +0 -65
- package/dist/hooks/task-size-detector/index.d.ts.map +0 -1
- package/dist/hooks/task-size-detector/index.js +0 -194
- package/dist/hooks/task-size-detector/index.js.map +0 -1
- package/dist/hooks/team-dispatch-hook.d.ts +0 -65
- package/dist/hooks/team-dispatch-hook.d.ts.map +0 -1
- package/dist/hooks/team-dispatch-hook.js +0 -665
- package/dist/hooks/team-dispatch-hook.js.map +0 -1
- package/dist/hooks/team-leader-nudge-hook.d.ts +0 -42
- package/dist/hooks/team-leader-nudge-hook.d.ts.map +0 -1
- package/dist/hooks/team-leader-nudge-hook.js +0 -316
- package/dist/hooks/team-leader-nudge-hook.js.map +0 -1
- package/dist/hooks/team-pipeline/__tests__/transitions.test.d.ts +0 -2
- package/dist/hooks/team-pipeline/__tests__/transitions.test.d.ts.map +0 -1
- package/dist/hooks/team-pipeline/__tests__/transitions.test.js +0 -156
- package/dist/hooks/team-pipeline/__tests__/transitions.test.js.map +0 -1
- package/dist/hooks/team-pipeline/index.d.ts +0 -4
- package/dist/hooks/team-pipeline/index.d.ts.map +0 -1
- package/dist/hooks/team-pipeline/index.js +0 -4
- package/dist/hooks/team-pipeline/index.js.map +0 -1
- package/dist/hooks/team-pipeline/state.d.ts +0 -7
- package/dist/hooks/team-pipeline/state.d.ts.map +0 -1
- package/dist/hooks/team-pipeline/state.js +0 -163
- package/dist/hooks/team-pipeline/state.js.map +0 -1
- package/dist/hooks/team-pipeline/transitions.d.ts +0 -6
- package/dist/hooks/team-pipeline/transitions.d.ts.map +0 -1
- package/dist/hooks/team-pipeline/transitions.js +0 -103
- package/dist/hooks/team-pipeline/transitions.js.map +0 -1
- package/dist/hooks/team-pipeline/types.d.ts +0 -58
- package/dist/hooks/team-pipeline/types.d.ts.map +0 -1
- package/dist/hooks/team-pipeline/types.js +0 -7
- package/dist/hooks/team-pipeline/types.js.map +0 -1
- package/dist/hooks/team-worker-hook.d.ts +0 -45
- package/dist/hooks/team-worker-hook.d.ts.map +0 -1
- package/dist/hooks/team-worker-hook.js +0 -418
- package/dist/hooks/team-worker-hook.js.map +0 -1
- package/dist/hooks/think-mode/__tests__/index.test.d.ts +0 -2
- package/dist/hooks/think-mode/__tests__/index.test.d.ts.map +0 -1
- package/dist/hooks/think-mode/__tests__/index.test.js +0 -556
- package/dist/hooks/think-mode/__tests__/index.test.js.map +0 -1
- package/dist/hooks/think-mode/detector.d.ts +0 -28
- package/dist/hooks/think-mode/detector.d.ts.map +0 -1
- package/dist/hooks/think-mode/detector.js +0 -105
- package/dist/hooks/think-mode/detector.js.map +0 -1
- package/dist/hooks/think-mode/index.d.ts +0 -70
- package/dist/hooks/think-mode/index.d.ts.map +0 -1
- package/dist/hooks/think-mode/index.js +0 -144
- package/dist/hooks/think-mode/index.js.map +0 -1
- package/dist/hooks/think-mode/switcher.d.ts +0 -39
- package/dist/hooks/think-mode/switcher.d.ts.map +0 -1
- package/dist/hooks/think-mode/switcher.js +0 -184
- package/dist/hooks/think-mode/switcher.js.map +0 -1
- package/dist/hooks/think-mode/types.d.ts +0 -60
- package/dist/hooks/think-mode/types.d.ts.map +0 -1
- package/dist/hooks/think-mode/types.js +0 -9
- package/dist/hooks/think-mode/types.js.map +0 -1
- package/dist/hooks/thinking-block-validator/__tests__/index.test.d.ts +0 -2
- package/dist/hooks/thinking-block-validator/__tests__/index.test.d.ts.map +0 -1
- package/dist/hooks/thinking-block-validator/__tests__/index.test.js +0 -56
- package/dist/hooks/thinking-block-validator/__tests__/index.test.js.map +0 -1
- package/dist/hooks/thinking-block-validator/constants.d.ts +0 -37
- package/dist/hooks/thinking-block-validator/constants.d.ts.map +0 -1
- package/dist/hooks/thinking-block-validator/constants.js +0 -50
- package/dist/hooks/thinking-block-validator/constants.js.map +0 -1
- package/dist/hooks/thinking-block-validator/index.d.ts +0 -35
- package/dist/hooks/thinking-block-validator/index.d.ts.map +0 -1
- package/dist/hooks/thinking-block-validator/index.js +0 -157
- package/dist/hooks/thinking-block-validator/index.js.map +0 -1
- package/dist/hooks/thinking-block-validator/types.d.ts +0 -67
- package/dist/hooks/thinking-block-validator/types.d.ts.map +0 -1
- package/dist/hooks/thinking-block-validator/types.js +0 -9
- package/dist/hooks/thinking-block-validator/types.js.map +0 -1
- package/dist/hooks/todo-continuation/__tests__/isAuthenticationError.test.d.ts +0 -2
- package/dist/hooks/todo-continuation/__tests__/isAuthenticationError.test.d.ts.map +0 -1
- package/dist/hooks/todo-continuation/__tests__/isAuthenticationError.test.js +0 -33
- package/dist/hooks/todo-continuation/__tests__/isAuthenticationError.test.js.map +0 -1
- package/dist/hooks/todo-continuation/__tests__/isRateLimitStop.test.d.ts +0 -2
- package/dist/hooks/todo-continuation/__tests__/isRateLimitStop.test.d.ts.map +0 -1
- package/dist/hooks/todo-continuation/__tests__/isRateLimitStop.test.js +0 -88
- package/dist/hooks/todo-continuation/__tests__/isRateLimitStop.test.js.map +0 -1
- package/dist/hooks/todo-continuation/__tests__/isUserAbort.test.d.ts +0 -2
- package/dist/hooks/todo-continuation/__tests__/isUserAbort.test.d.ts.map +0 -1
- package/dist/hooks/todo-continuation/__tests__/isUserAbort.test.js +0 -119
- package/dist/hooks/todo-continuation/__tests__/isUserAbort.test.js.map +0 -1
- package/dist/hooks/todo-continuation/index.d.ts +0 -231
- package/dist/hooks/todo-continuation/index.d.ts.map +0 -1
- package/dist/hooks/todo-continuation/index.js +0 -470
- package/dist/hooks/todo-continuation/index.js.map +0 -1
- package/dist/hooks/ultraqa/index.d.ts +0 -96
- package/dist/hooks/ultraqa/index.d.ts.map +0 -1
- package/dist/hooks/ultraqa/index.js +0 -172
- package/dist/hooks/ultraqa/index.js.map +0 -1
- package/dist/hooks/ultrawork/index.d.ts +0 -72
- package/dist/hooks/ultrawork/index.d.ts.map +0 -1
- package/dist/hooks/ultrawork/index.js +0 -183
- package/dist/hooks/ultrawork/index.js.map +0 -1
- package/dist/hooks/ultrawork/session-isolation.test.d.ts +0 -2
- package/dist/hooks/ultrawork/session-isolation.test.d.ts.map +0 -1
- package/dist/hooks/ultrawork/session-isolation.test.js +0 -333
- package/dist/hooks/ultrawork/session-isolation.test.js.map +0 -1
- package/dist/hud/background-cleanup.d.ts +0 -28
- package/dist/hud/background-cleanup.d.ts.map +0 -1
- package/dist/hud/background-cleanup.js +0 -92
- package/dist/hud/background-cleanup.js.map +0 -1
- package/dist/hud/background-tasks.d.ts +0 -33
- package/dist/hud/background-tasks.d.ts.map +0 -1
- package/dist/hud/background-tasks.js +0 -199
- package/dist/hud/background-tasks.js.map +0 -1
- package/dist/hud/colors.d.ts +0 -54
- package/dist/hud/colors.d.ts.map +0 -1
- package/dist/hud/colors.js +0 -156
- package/dist/hud/colors.js.map +0 -1
- package/dist/hud/custom-rate-provider.d.ts +0 -33
- package/dist/hud/custom-rate-provider.d.ts.map +0 -1
- package/dist/hud/custom-rate-provider.js +0 -185
- package/dist/hud/custom-rate-provider.js.map +0 -1
- package/dist/hud/elements/agents.d.ts +0 -73
- package/dist/hud/elements/agents.d.ts.map +0 -1
- package/dist/hud/elements/agents.js +0 -487
- package/dist/hud/elements/agents.js.map +0 -1
- package/dist/hud/elements/api-key-source.d.ts +0 -30
- package/dist/hud/elements/api-key-source.d.ts.map +0 -1
- package/dist/hud/elements/api-key-source.js +0 -70
- package/dist/hud/elements/api-key-source.js.map +0 -1
- package/dist/hud/elements/autopilot.d.ts +0 -29
- package/dist/hud/elements/autopilot.d.ts.map +0 -1
- package/dist/hud/elements/autopilot.js +0 -97
- package/dist/hud/elements/autopilot.js.map +0 -1
- package/dist/hud/elements/background.d.ts +0 -20
- package/dist/hud/elements/background.d.ts.map +0 -1
- package/dist/hud/elements/background.js +0 -71
- package/dist/hud/elements/background.js.map +0 -1
- package/dist/hud/elements/call-counts.d.ts +0 -21
- package/dist/hud/elements/call-counts.d.ts.map +0 -1
- package/dist/hud/elements/call-counts.js +0 -41
- package/dist/hud/elements/call-counts.js.map +0 -1
- package/dist/hud/elements/context-warning.d.ts +0 -17
- package/dist/hud/elements/context-warning.d.ts.map +0 -1
- package/dist/hud/elements/context-warning.js +0 -31
- package/dist/hud/elements/context-warning.js.map +0 -1
- package/dist/hud/elements/context.d.ts +0 -29
- package/dist/hud/elements/context.d.ts.map +0 -1
- package/dist/hud/elements/context.js +0 -115
- package/dist/hud/elements/context.js.map +0 -1
- package/dist/hud/elements/cwd.d.ts +0 -15
- package/dist/hud/elements/cwd.d.ts.map +0 -1
- package/dist/hud/elements/cwd.js +0 -39
- package/dist/hud/elements/cwd.js.map +0 -1
- package/dist/hud/elements/git.d.ts +0 -41
- package/dist/hud/elements/git.d.ts.map +0 -1
- package/dist/hud/elements/git.js +0 -112
- package/dist/hud/elements/git.js.map +0 -1
- package/dist/hud/elements/index.d.ts +0 -25
- package/dist/hud/elements/index.d.ts.map +0 -1
- package/dist/hud/elements/index.js +0 -25
- package/dist/hud/elements/index.js.map +0 -1
- package/dist/hud/elements/limits.d.ts +0 -44
- package/dist/hud/elements/limits.d.ts.map +0 -1
- package/dist/hud/elements/limits.js +0 -241
- package/dist/hud/elements/limits.js.map +0 -1
- package/dist/hud/elements/mission-board.d.ts +0 -2
- package/dist/hud/elements/mission-board.d.ts.map +0 -1
- package/dist/hud/elements/mission-board.js +0 -2
- package/dist/hud/elements/mission-board.js.map +0 -1
- package/dist/hud/elements/model.d.ts +0 -16
- package/dist/hud/elements/model.d.ts.map +0 -1
- package/dist/hud/elements/model.js +0 -63
- package/dist/hud/elements/model.js.map +0 -1
- package/dist/hud/elements/permission.d.ts +0 -13
- package/dist/hud/elements/permission.d.ts.map +0 -1
- package/dist/hud/elements/permission.js +0 -20
- package/dist/hud/elements/permission.js.map +0 -1
- package/dist/hud/elements/prd.d.ts +0 -20
- package/dist/hud/elements/prd.d.ts.map +0 -1
- package/dist/hud/elements/prd.js +0 -52
- package/dist/hud/elements/prd.js.map +0 -1
- package/dist/hud/elements/prompt-time.d.ts +0 -13
- package/dist/hud/elements/prompt-time.d.ts.map +0 -1
- package/dist/hud/elements/prompt-time.js +0 -21
- package/dist/hud/elements/prompt-time.js.map +0 -1
- package/dist/hud/elements/ralph.d.ts +0 -14
- package/dist/hud/elements/ralph.d.ts.map +0 -1
- package/dist/hud/elements/ralph.js +0 -36
- package/dist/hud/elements/ralph.js.map +0 -1
- package/dist/hud/elements/session-summary.d.ts +0 -23
- package/dist/hud/elements/session-summary.d.ts.map +0 -1
- package/dist/hud/elements/session-summary.js +0 -23
- package/dist/hud/elements/session-summary.js.map +0 -1
- package/dist/hud/elements/session.d.ts +0 -13
- package/dist/hud/elements/session.d.ts.map +0 -1
- package/dist/hud/elements/session.js +0 -24
- package/dist/hud/elements/session.js.map +0 -1
- package/dist/hud/elements/skills.d.ts +0 -24
- package/dist/hud/elements/skills.d.ts.map +0 -1
- package/dist/hud/elements/skills.js +0 -93
- package/dist/hud/elements/skills.js.map +0 -1
- package/dist/hud/elements/thinking.d.ts +0 -15
- package/dist/hud/elements/thinking.d.ts.map +0 -1
- package/dist/hud/elements/thinking.js +0 -31
- package/dist/hud/elements/thinking.js.map +0 -1
- package/dist/hud/elements/todos.d.ts +0 -20
- package/dist/hud/elements/todos.d.ts.map +0 -1
- package/dist/hud/elements/todos.js +0 -71
- package/dist/hud/elements/todos.js.map +0 -1
- package/dist/hud/elements/token-usage.d.ts +0 -8
- package/dist/hud/elements/token-usage.d.ts.map +0 -1
- package/dist/hud/elements/token-usage.js +0 -24
- package/dist/hud/elements/token-usage.js.map +0 -1
- package/dist/hud/index.d.ts +0 -18
- package/dist/hud/index.d.ts.map +0 -1
- package/dist/hud/index.js +0 -392
- package/dist/hud/index.js.map +0 -1
- package/dist/hud/mission-board.d.ts +0 -75
- package/dist/hud/mission-board.d.ts.map +0 -1
- package/dist/hud/mission-board.js +0 -426
- package/dist/hud/mission-board.js.map +0 -1
- package/dist/hud/omc-state.d.ts +0 -38
- package/dist/hud/omc-state.d.ts.map +0 -1
- package/dist/hud/omc-state.js +0 -260
- package/dist/hud/omc-state.js.map +0 -1
- package/dist/hud/render.d.ts +0 -29
- package/dist/hud/render.d.ts.map +0 -1
- package/dist/hud/render.js +0 -394
- package/dist/hud/render.js.map +0 -1
- package/dist/hud/sanitize.d.ts +0 -54
- package/dist/hud/sanitize.d.ts.map +0 -1
- package/dist/hud/sanitize.js +0 -88
- package/dist/hud/sanitize.js.map +0 -1
- package/dist/hud/state.d.ts +0 -49
- package/dist/hud/state.d.ts.map +0 -1
- package/dist/hud/state.js +0 -308
- package/dist/hud/state.js.map +0 -1
- package/dist/hud/stdin.d.ts +0 -39
- package/dist/hud/stdin.d.ts.map +0 -1
- package/dist/hud/stdin.js +0 -158
- package/dist/hud/stdin.js.map +0 -1
- package/dist/hud/transcript.d.ts +0 -35
- package/dist/hud/transcript.d.ts.map +0 -1
- package/dist/hud/transcript.js +0 -486
- package/dist/hud/transcript.js.map +0 -1
- package/dist/hud/types.d.ts +0 -387
- package/dist/hud/types.d.ts.map +0 -1
- package/dist/hud/types.js +0 -255
- package/dist/hud/types.js.map +0 -1
- package/dist/hud/usage-api.d.ts +0 -50
- package/dist/hud/usage-api.d.ts.map +0 -1
- package/dist/hud/usage-api.js +0 -791
- package/dist/hud/usage-api.js.map +0 -1
- package/dist/index.d.ts +0 -121
- package/dist/index.d.ts.map +0 -1
- package/dist/index.js +0 -187
- package/dist/index.js.map +0 -1
- package/dist/installer/__tests__/claude-md-merge.test.d.ts +0 -6
- package/dist/installer/__tests__/claude-md-merge.test.d.ts.map +0 -1
- package/dist/installer/__tests__/claude-md-merge.test.js +0 -316
- package/dist/installer/__tests__/claude-md-merge.test.js.map +0 -1
- package/dist/installer/__tests__/hook-templates.test.d.ts +0 -2
- package/dist/installer/__tests__/hook-templates.test.d.ts.map +0 -1
- package/dist/installer/__tests__/hook-templates.test.js +0 -121
- package/dist/installer/__tests__/hook-templates.test.js.map +0 -1
- package/dist/installer/__tests__/mcp-registry.test.d.ts +0 -2
- package/dist/installer/__tests__/mcp-registry.test.d.ts.map +0 -1
- package/dist/installer/__tests__/mcp-registry.test.js +0 -316
- package/dist/installer/__tests__/mcp-registry.test.js.map +0 -1
- package/dist/installer/__tests__/safe-installer.test.d.ts +0 -6
- package/dist/installer/__tests__/safe-installer.test.d.ts.map +0 -1
- package/dist/installer/__tests__/safe-installer.test.js +0 -185
- package/dist/installer/__tests__/safe-installer.test.js.map +0 -1
- package/dist/installer/__tests__/session-start-template.test.d.ts +0 -2
- package/dist/installer/__tests__/session-start-template.test.d.ts.map +0 -1
- package/dist/installer/__tests__/session-start-template.test.js +0 -95
- package/dist/installer/__tests__/session-start-template.test.js.map +0 -1
- package/dist/installer/hooks.d.ts +0 -138
- package/dist/installer/hooks.d.ts.map +0 -1
- package/dist/installer/hooks.js +0 -442
- package/dist/installer/hooks.js.map +0 -1
- package/dist/installer/index.d.ts +0 -174
- package/dist/installer/index.d.ts.map +0 -1
- package/dist/installer/index.js +0 -1241
- package/dist/installer/index.js.map +0 -1
- package/dist/installer/mcp-registry.d.ts +0 -48
- package/dist/installer/mcp-registry.d.ts.map +0 -1
- package/dist/installer/mcp-registry.js +0 -453
- package/dist/installer/mcp-registry.js.map +0 -1
- package/dist/interop/__tests__/mcp-bridge.test.d.ts +0 -2
- package/dist/interop/__tests__/mcp-bridge.test.d.ts.map +0 -1
- package/dist/interop/__tests__/mcp-bridge.test.js +0 -60
- package/dist/interop/__tests__/mcp-bridge.test.js.map +0 -1
- package/dist/interop/mcp-bridge.d.ts +0 -66
- package/dist/interop/mcp-bridge.d.ts.map +0 -1
- package/dist/interop/mcp-bridge.js +0 -528
- package/dist/interop/mcp-bridge.js.map +0 -1
- package/dist/interop/omx-team-state.d.ts +0 -133
- package/dist/interop/omx-team-state.d.ts.map +0 -1
- package/dist/interop/omx-team-state.js +0 -301
- package/dist/interop/omx-team-state.js.map +0 -1
- package/dist/interop/shared-state.d.ts +0 -96
- package/dist/interop/shared-state.d.ts.map +0 -1
- package/dist/interop/shared-state.js +0 -324
- package/dist/interop/shared-state.js.map +0 -1
- package/dist/lib/__tests__/mode-state-io.test.d.ts +0 -2
- package/dist/lib/__tests__/mode-state-io.test.d.ts.map +0 -1
- package/dist/lib/__tests__/mode-state-io.test.js +0 -244
- package/dist/lib/__tests__/mode-state-io.test.js.map +0 -1
- package/dist/lib/__tests__/payload-limits.test.d.ts +0 -2
- package/dist/lib/__tests__/payload-limits.test.d.ts.map +0 -1
- package/dist/lib/__tests__/payload-limits.test.js +0 -124
- package/dist/lib/__tests__/payload-limits.test.js.map +0 -1
- package/dist/lib/__tests__/swallowed-error.test.d.ts +0 -2
- package/dist/lib/__tests__/swallowed-error.test.d.ts.map +0 -1
- package/dist/lib/__tests__/swallowed-error.test.js +0 -19
- package/dist/lib/__tests__/swallowed-error.test.js.map +0 -1
- package/dist/lib/__tests__/worktree-paths.test.d.ts +0 -2
- package/dist/lib/__tests__/worktree-paths.test.d.ts.map +0 -1
- package/dist/lib/__tests__/worktree-paths.test.js +0 -472
- package/dist/lib/__tests__/worktree-paths.test.js.map +0 -1
- package/dist/lib/atomic-write.d.ts +0 -56
- package/dist/lib/atomic-write.d.ts.map +0 -1
- package/dist/lib/atomic-write.js +0 -242
- package/dist/lib/atomic-write.js.map +0 -1
- package/dist/lib/featured-contributors.d.ts +0 -54
- package/dist/lib/featured-contributors.d.ts.map +0 -1
- package/dist/lib/featured-contributors.js +0 -290
- package/dist/lib/featured-contributors.js.map +0 -1
- package/dist/lib/file-lock.d.ts +0 -75
- package/dist/lib/file-lock.d.ts.map +0 -1
- package/dist/lib/file-lock.js +0 -244
- package/dist/lib/file-lock.js.map +0 -1
- package/dist/lib/job-state-db.d.ts +0 -150
- package/dist/lib/job-state-db.d.ts.map +0 -1
- package/dist/lib/job-state-db.js +0 -650
- package/dist/lib/job-state-db.js.map +0 -1
- package/dist/lib/mode-names.d.ts +0 -54
- package/dist/lib/mode-names.d.ts.map +0 -1
- package/dist/lib/mode-names.js +0 -75
- package/dist/lib/mode-names.js.map +0 -1
- package/dist/lib/mode-state-io.d.ts +0 -43
- package/dist/lib/mode-state-io.d.ts.map +0 -1
- package/dist/lib/mode-state-io.js +0 -173
- package/dist/lib/mode-state-io.js.map +0 -1
- package/dist/lib/payload-limits.d.ts +0 -31
- package/dist/lib/payload-limits.d.ts.map +0 -1
- package/dist/lib/payload-limits.js +0 -82
- package/dist/lib/payload-limits.js.map +0 -1
- package/dist/lib/project-memory-merge.d.ts +0 -36
- package/dist/lib/project-memory-merge.d.ts.map +0 -1
- package/dist/lib/project-memory-merge.js +0 -156
- package/dist/lib/project-memory-merge.js.map +0 -1
- package/dist/lib/session-isolation.d.ts +0 -32
- package/dist/lib/session-isolation.d.ts.map +0 -1
- package/dist/lib/session-isolation.js +0 -39
- package/dist/lib/session-isolation.js.map +0 -1
- package/dist/lib/shared-memory.d.ts +0 -82
- package/dist/lib/shared-memory.d.ts.map +0 -1
- package/dist/lib/shared-memory.js +0 -324
- package/dist/lib/shared-memory.js.map +0 -1
- package/dist/lib/swallowed-error.d.ts +0 -4
- package/dist/lib/swallowed-error.d.ts.map +0 -1
- package/dist/lib/swallowed-error.js +0 -26
- package/dist/lib/swallowed-error.js.map +0 -1
- package/dist/lib/version.d.ts +0 -10
- package/dist/lib/version.d.ts.map +0 -1
- package/dist/lib/version.js +0 -37
- package/dist/lib/version.js.map +0 -1
- package/dist/lib/worktree-paths.d.ts +0 -256
- package/dist/lib/worktree-paths.d.ts.map +0 -1
- package/dist/lib/worktree-paths.js +0 -643
- package/dist/lib/worktree-paths.js.map +0 -1
- package/dist/mcp/__tests__/prompt-injection.test.d.ts +0 -2
- package/dist/mcp/__tests__/prompt-injection.test.d.ts.map +0 -1
- package/dist/mcp/__tests__/prompt-injection.test.js +0 -121
- package/dist/mcp/__tests__/prompt-injection.test.js.map +0 -1
- package/dist/mcp/__tests__/standalone-shutdown.test.d.ts +0 -2
- package/dist/mcp/__tests__/standalone-shutdown.test.d.ts.map +0 -1
- package/dist/mcp/__tests__/standalone-shutdown.test.js +0 -57
- package/dist/mcp/__tests__/standalone-shutdown.test.js.map +0 -1
- package/dist/mcp/__tests__/team-cleanup.test.d.ts +0 -11
- package/dist/mcp/__tests__/team-cleanup.test.d.ts.map +0 -1
- package/dist/mcp/__tests__/team-cleanup.test.js +0 -228
- package/dist/mcp/__tests__/team-cleanup.test.js.map +0 -1
- package/dist/mcp/__tests__/team-server-artifact-convergence.test.d.ts +0 -2
- package/dist/mcp/__tests__/team-server-artifact-convergence.test.d.ts.map +0 -1
- package/dist/mcp/__tests__/team-server-artifact-convergence.test.js +0 -111
- package/dist/mcp/__tests__/team-server-artifact-convergence.test.js.map +0 -1
- package/dist/mcp/index.d.ts +0 -14
- package/dist/mcp/index.d.ts.map +0 -1
- package/dist/mcp/index.js +0 -17
- package/dist/mcp/index.js.map +0 -1
- package/dist/mcp/job-management.d.ts +0 -155
- package/dist/mcp/job-management.d.ts.map +0 -1
- package/dist/mcp/job-management.js +0 -655
- package/dist/mcp/job-management.js.map +0 -1
- package/dist/mcp/mcp-config.d.ts +0 -55
- package/dist/mcp/mcp-config.d.ts.map +0 -1
- package/dist/mcp/mcp-config.js +0 -94
- package/dist/mcp/mcp-config.js.map +0 -1
- package/dist/mcp/omc-tools-server.d.ts +0 -72
- package/dist/mcp/omc-tools-server.d.ts.map +0 -1
- package/dist/mcp/omc-tools-server.js +0 -188
- package/dist/mcp/omc-tools-server.js.map +0 -1
- package/dist/mcp/prompt-injection.d.ts +0 -23
- package/dist/mcp/prompt-injection.d.ts.map +0 -1
- package/dist/mcp/prompt-injection.js +0 -76
- package/dist/mcp/prompt-injection.js.map +0 -1
- package/dist/mcp/prompt-persistence.d.ts +0 -155
- package/dist/mcp/prompt-persistence.d.ts.map +0 -1
- package/dist/mcp/prompt-persistence.js +0 -374
- package/dist/mcp/prompt-persistence.js.map +0 -1
- package/dist/mcp/servers.d.ts +0 -61
- package/dist/mcp/servers.d.ts.map +0 -1
- package/dist/mcp/servers.js +0 -90
- package/dist/mcp/servers.js.map +0 -1
- package/dist/mcp/standalone-server.d.ts +0 -11
- package/dist/mcp/standalone-server.d.ts.map +0 -1
- package/dist/mcp/standalone-server.js +0 -205
- package/dist/mcp/standalone-server.js.map +0 -1
- package/dist/mcp/standalone-shutdown.d.ts +0 -25
- package/dist/mcp/standalone-shutdown.d.ts.map +0 -1
- package/dist/mcp/standalone-shutdown.js +0 -68
- package/dist/mcp/standalone-shutdown.js.map +0 -1
- package/dist/mcp/team-job-convergence.d.ts +0 -19
- package/dist/mcp/team-job-convergence.d.ts.map +0 -1
- package/dist/mcp/team-job-convergence.js +0 -101
- package/dist/mcp/team-job-convergence.js.map +0 -1
- package/dist/mcp/team-server.d.ts +0 -39
- package/dist/mcp/team-server.d.ts.map +0 -1
- package/dist/mcp/team-server.js +0 -487
- package/dist/mcp/team-server.js.map +0 -1
- package/dist/notifications/__tests__/config-merge.test.d.ts +0 -2
- package/dist/notifications/__tests__/config-merge.test.d.ts.map +0 -1
- package/dist/notifications/__tests__/config-merge.test.js +0 -345
- package/dist/notifications/__tests__/config-merge.test.js.map +0 -1
- package/dist/notifications/__tests__/config.test.d.ts +0 -2
- package/dist/notifications/__tests__/config.test.d.ts.map +0 -1
- package/dist/notifications/__tests__/config.test.js +0 -401
- package/dist/notifications/__tests__/config.test.js.map +0 -1
- package/dist/notifications/__tests__/custom-integration.test.d.ts +0 -8
- package/dist/notifications/__tests__/custom-integration.test.d.ts.map +0 -1
- package/dist/notifications/__tests__/custom-integration.test.js +0 -297
- package/dist/notifications/__tests__/custom-integration.test.js.map +0 -1
- package/dist/notifications/__tests__/dispatcher.test.d.ts +0 -2
- package/dist/notifications/__tests__/dispatcher.test.d.ts.map +0 -1
- package/dist/notifications/__tests__/dispatcher.test.js +0 -1194
- package/dist/notifications/__tests__/dispatcher.test.js.map +0 -1
- package/dist/notifications/__tests__/formatter.test.d.ts +0 -2
- package/dist/notifications/__tests__/formatter.test.d.ts.map +0 -1
- package/dist/notifications/__tests__/formatter.test.js +0 -303
- package/dist/notifications/__tests__/formatter.test.js.map +0 -1
- package/dist/notifications/__tests__/hook-config.test.d.ts +0 -14
- package/dist/notifications/__tests__/hook-config.test.d.ts.map +0 -1
- package/dist/notifications/__tests__/hook-config.test.js +0 -210
- package/dist/notifications/__tests__/hook-config.test.js.map +0 -1
- package/dist/notifications/__tests__/notify-registry-integration.test.d.ts +0 -2
- package/dist/notifications/__tests__/notify-registry-integration.test.d.ts.map +0 -1
- package/dist/notifications/__tests__/notify-registry-integration.test.js +0 -378
- package/dist/notifications/__tests__/notify-registry-integration.test.js.map +0 -1
- package/dist/notifications/__tests__/platform-gating.test.d.ts +0 -12
- package/dist/notifications/__tests__/platform-gating.test.d.ts.map +0 -1
- package/dist/notifications/__tests__/platform-gating.test.js +0 -140
- package/dist/notifications/__tests__/platform-gating.test.js.map +0 -1
- package/dist/notifications/__tests__/profiles.test.d.ts +0 -2
- package/dist/notifications/__tests__/profiles.test.d.ts.map +0 -1
- package/dist/notifications/__tests__/profiles.test.js +0 -253
- package/dist/notifications/__tests__/profiles.test.js.map +0 -1
- package/dist/notifications/__tests__/redact.test.d.ts +0 -2
- package/dist/notifications/__tests__/redact.test.d.ts.map +0 -1
- package/dist/notifications/__tests__/redact.test.js +0 -111
- package/dist/notifications/__tests__/redact.test.js.map +0 -1
- package/dist/notifications/__tests__/reply-config.test.d.ts +0 -2
- package/dist/notifications/__tests__/reply-config.test.d.ts.map +0 -1
- package/dist/notifications/__tests__/reply-config.test.js +0 -213
- package/dist/notifications/__tests__/reply-config.test.js.map +0 -1
- package/dist/notifications/__tests__/reply-listener.test.d.ts +0 -2
- package/dist/notifications/__tests__/reply-listener.test.d.ts.map +0 -1
- package/dist/notifications/__tests__/reply-listener.test.js +0 -486
- package/dist/notifications/__tests__/reply-listener.test.js.map +0 -1
- package/dist/notifications/__tests__/session-registry.test.d.ts +0 -2
- package/dist/notifications/__tests__/session-registry.test.d.ts.map +0 -1
- package/dist/notifications/__tests__/session-registry.test.js +0 -487
- package/dist/notifications/__tests__/session-registry.test.js.map +0 -1
- package/dist/notifications/__tests__/slack-socket.test.d.ts +0 -2
- package/dist/notifications/__tests__/slack-socket.test.d.ts.map +0 -1
- package/dist/notifications/__tests__/slack-socket.test.js +0 -293
- package/dist/notifications/__tests__/slack-socket.test.js.map +0 -1
- package/dist/notifications/__tests__/template-engine.test.d.ts +0 -13
- package/dist/notifications/__tests__/template-engine.test.d.ts.map +0 -1
- package/dist/notifications/__tests__/template-engine.test.js +0 -410
- package/dist/notifications/__tests__/template-engine.test.js.map +0 -1
- package/dist/notifications/__tests__/tmux.test.d.ts +0 -2
- package/dist/notifications/__tests__/tmux.test.d.ts.map +0 -1
- package/dist/notifications/__tests__/tmux.test.js +0 -137
- package/dist/notifications/__tests__/tmux.test.js.map +0 -1
- package/dist/notifications/__tests__/verbosity.test.d.ts +0 -2
- package/dist/notifications/__tests__/verbosity.test.d.ts.map +0 -1
- package/dist/notifications/__tests__/verbosity.test.js +0 -162
- package/dist/notifications/__tests__/verbosity.test.js.map +0 -1
- package/dist/notifications/config.d.ts +0 -155
- package/dist/notifications/config.d.ts.map +0 -1
- package/dist/notifications/config.js +0 -865
- package/dist/notifications/config.js.map +0 -1
- package/dist/notifications/dispatcher.d.ts +0 -57
- package/dist/notifications/dispatcher.d.ts.map +0 -1
- package/dist/notifications/dispatcher.js +0 -672
- package/dist/notifications/dispatcher.js.map +0 -1
- package/dist/notifications/formatter.d.ts +0 -50
- package/dist/notifications/formatter.d.ts.map +0 -1
- package/dist/notifications/formatter.js +0 -254
- package/dist/notifications/formatter.js.map +0 -1
- package/dist/notifications/hook-config-types.d.ts +0 -44
- package/dist/notifications/hook-config-types.d.ts.map +0 -1
- package/dist/notifications/hook-config-types.js +0 -8
- package/dist/notifications/hook-config-types.js.map +0 -1
- package/dist/notifications/hook-config.d.ts +0 -36
- package/dist/notifications/hook-config.d.ts.map +0 -1
- package/dist/notifications/hook-config.js +0 -95
- package/dist/notifications/hook-config.js.map +0 -1
- package/dist/notifications/index.d.ts +0 -44
- package/dist/notifications/index.d.ts.map +0 -1
- package/dist/notifications/index.js +0 -165
- package/dist/notifications/index.js.map +0 -1
- package/dist/notifications/presets.d.ts +0 -43
- package/dist/notifications/presets.d.ts.map +0 -1
- package/dist/notifications/presets.js +0 -122
- package/dist/notifications/presets.js.map +0 -1
- package/dist/notifications/redact.d.ts +0 -21
- package/dist/notifications/redact.d.ts.map +0 -1
- package/dist/notifications/redact.js +0 -42
- package/dist/notifications/redact.js.map +0 -1
- package/dist/notifications/reply-listener.d.ts +0 -140
- package/dist/notifications/reply-listener.d.ts.map +0 -1
- package/dist/notifications/reply-listener.js +0 -965
- package/dist/notifications/reply-listener.js.map +0 -1
- package/dist/notifications/session-registry.d.ts +0 -52
- package/dist/notifications/session-registry.d.ts.map +0 -1
- package/dist/notifications/session-registry.js +0 -382
- package/dist/notifications/session-registry.js.map +0 -1
- package/dist/notifications/slack-socket.d.ts +0 -242
- package/dist/notifications/slack-socket.d.ts.map +0 -1
- package/dist/notifications/slack-socket.js +0 -603
- package/dist/notifications/slack-socket.js.map +0 -1
- package/dist/notifications/template-engine.d.ts +0 -34
- package/dist/notifications/template-engine.d.ts.map +0 -1
- package/dist/notifications/template-engine.js +0 -252
- package/dist/notifications/template-engine.js.map +0 -1
- package/dist/notifications/template-variables.d.ts +0 -26
- package/dist/notifications/template-variables.d.ts.map +0 -1
- package/dist/notifications/template-variables.js +0 -139
- package/dist/notifications/template-variables.js.map +0 -1
- package/dist/notifications/tmux.d.ts +0 -27
- package/dist/notifications/tmux.d.ts.map +0 -1
- package/dist/notifications/tmux.js +0 -103
- package/dist/notifications/tmux.js.map +0 -1
- package/dist/notifications/types.d.ts +0 -257
- package/dist/notifications/types.d.ts.map +0 -1
- package/dist/notifications/types.js +0 -9
- package/dist/notifications/types.js.map +0 -1
- package/dist/notifications/validation.d.ts +0 -24
- package/dist/notifications/validation.d.ts.map +0 -1
- package/dist/notifications/validation.js +0 -167
- package/dist/notifications/validation.js.map +0 -1
- package/dist/openclaw/__tests__/config.test.d.ts +0 -2
- package/dist/openclaw/__tests__/config.test.d.ts.map +0 -1
- package/dist/openclaw/__tests__/config.test.js +0 -200
- package/dist/openclaw/__tests__/config.test.js.map +0 -1
- package/dist/openclaw/__tests__/dispatcher.test.d.ts +0 -2
- package/dist/openclaw/__tests__/dispatcher.test.d.ts.map +0 -1
- package/dist/openclaw/__tests__/dispatcher.test.js +0 -373
- package/dist/openclaw/__tests__/dispatcher.test.js.map +0 -1
- package/dist/openclaw/__tests__/index.test.d.ts +0 -2
- package/dist/openclaw/__tests__/index.test.d.ts.map +0 -1
- package/dist/openclaw/__tests__/index.test.js +0 -359
- package/dist/openclaw/__tests__/index.test.js.map +0 -1
- package/dist/openclaw/__tests__/signal.test.d.ts +0 -2
- package/dist/openclaw/__tests__/signal.test.d.ts.map +0 -1
- package/dist/openclaw/__tests__/signal.test.js +0 -69
- package/dist/openclaw/__tests__/signal.test.js.map +0 -1
- package/dist/openclaw/config.d.ts +0 -33
- package/dist/openclaw/config.d.ts.map +0 -1
- package/dist/openclaw/config.js +0 -83
- package/dist/openclaw/config.js.map +0 -1
- package/dist/openclaw/dispatcher.d.ts +0 -51
- package/dist/openclaw/dispatcher.d.ts.map +0 -1
- package/dist/openclaw/dispatcher.js +0 -149
- package/dist/openclaw/dispatcher.js.map +0 -1
- package/dist/openclaw/index.d.ts +0 -26
- package/dist/openclaw/index.d.ts.map +0 -1
- package/dist/openclaw/index.js +0 -169
- package/dist/openclaw/index.js.map +0 -1
- package/dist/openclaw/signal.d.ts +0 -3
- package/dist/openclaw/signal.d.ts.map +0 -1
- package/dist/openclaw/signal.js +0 -215
- package/dist/openclaw/signal.js.map +0 -1
- package/dist/openclaw/types.d.ts +0 -149
- package/dist/openclaw/types.d.ts.map +0 -1
- package/dist/openclaw/types.js +0 -8
- package/dist/openclaw/types.js.map +0 -1
- package/dist/planning/__tests__/artifacts.test.d.ts +0 -2
- package/dist/planning/__tests__/artifacts.test.d.ts.map +0 -1
- package/dist/planning/__tests__/artifacts.test.js +0 -303
- package/dist/planning/__tests__/artifacts.test.js.map +0 -1
- package/dist/planning/artifacts.d.ts +0 -29
- package/dist/planning/artifacts.d.ts.map +0 -1
- package/dist/planning/artifacts.js +0 -144
- package/dist/planning/artifacts.js.map +0 -1
- package/dist/platform/index.d.ts +0 -21
- package/dist/platform/index.d.ts.map +0 -1
- package/dist/platform/index.js +0 -46
- package/dist/platform/index.js.map +0 -1
- package/dist/platform/process-utils.d.ts +0 -27
- package/dist/platform/process-utils.d.ts.map +0 -1
- package/dist/platform/process-utils.js +0 -207
- package/dist/platform/process-utils.js.map +0 -1
- package/dist/providers/azure-devops.d.ts +0 -13
- package/dist/providers/azure-devops.d.ts.map +0 -1
- package/dist/providers/azure-devops.js +0 -77
- package/dist/providers/azure-devops.js.map +0 -1
- package/dist/providers/bitbucket.d.ts +0 -13
- package/dist/providers/bitbucket.d.ts.map +0 -1
- package/dist/providers/bitbucket.js +0 -87
- package/dist/providers/bitbucket.js.map +0 -1
- package/dist/providers/gitea.d.ts +0 -20
- package/dist/providers/gitea.d.ts.map +0 -1
- package/dist/providers/gitea.js +0 -174
- package/dist/providers/gitea.js.map +0 -1
- package/dist/providers/github.d.ts +0 -13
- package/dist/providers/github.d.ts.map +0 -1
- package/dist/providers/github.js +0 -79
- package/dist/providers/github.js.map +0 -1
- package/dist/providers/gitlab.d.ts +0 -14
- package/dist/providers/gitlab.d.ts.map +0 -1
- package/dist/providers/gitlab.js +0 -94
- package/dist/providers/gitlab.js.map +0 -1
- package/dist/providers/index.d.ts +0 -41
- package/dist/providers/index.d.ts.map +0 -1
- package/dist/providers/index.js +0 -219
- package/dist/providers/index.js.map +0 -1
- package/dist/providers/types.d.ts +0 -66
- package/dist/providers/types.d.ts.map +0 -1
- package/dist/providers/types.js +0 -8
- package/dist/providers/types.js.map +0 -1
- package/dist/ralphthon/__tests__/cli.test.d.ts +0 -5
- package/dist/ralphthon/__tests__/cli.test.d.ts.map +0 -1
- package/dist/ralphthon/__tests__/cli.test.js +0 -103
- package/dist/ralphthon/__tests__/cli.test.js.map +0 -1
- package/dist/ralphthon/__tests__/orchestrator.test.d.ts +0 -5
- package/dist/ralphthon/__tests__/orchestrator.test.d.ts.map +0 -1
- package/dist/ralphthon/__tests__/orchestrator.test.js +0 -393
- package/dist/ralphthon/__tests__/orchestrator.test.js.map +0 -1
- package/dist/ralphthon/__tests__/prd.test.d.ts +0 -5
- package/dist/ralphthon/__tests__/prd.test.d.ts.map +0 -1
- package/dist/ralphthon/__tests__/prd.test.js +0 -454
- package/dist/ralphthon/__tests__/prd.test.js.map +0 -1
- package/dist/ralphthon/deep-interview-prompt.d.ts +0 -2
- package/dist/ralphthon/deep-interview-prompt.d.ts.map +0 -1
- package/dist/ralphthon/deep-interview-prompt.js +0 -20
- package/dist/ralphthon/deep-interview-prompt.js.map +0 -1
- package/dist/ralphthon/index.d.ts +0 -13
- package/dist/ralphthon/index.d.ts.map +0 -1
- package/dist/ralphthon/index.js +0 -14
- package/dist/ralphthon/index.js.map +0 -1
- package/dist/ralphthon/orchestrator.d.ts +0 -112
- package/dist/ralphthon/orchestrator.d.ts.map +0 -1
- package/dist/ralphthon/orchestrator.js +0 -453
- package/dist/ralphthon/orchestrator.js.map +0 -1
- package/dist/ralphthon/prd.d.ts +0 -111
- package/dist/ralphthon/prd.d.ts.map +0 -1
- package/dist/ralphthon/prd.js +0 -345
- package/dist/ralphthon/prd.js.map +0 -1
- package/dist/ralphthon/types.d.ts +0 -213
- package/dist/ralphthon/types.d.ts.map +0 -1
- package/dist/ralphthon/types.js +0 -21
- package/dist/ralphthon/types.js.map +0 -1
- package/dist/shared/index.d.ts +0 -5
- package/dist/shared/index.d.ts.map +0 -1
- package/dist/shared/index.js +0 -5
- package/dist/shared/index.js.map +0 -1
- package/dist/shared/types.d.ts +0 -347
- package/dist/shared/types.d.ts.map +0 -1
- package/dist/shared/types.js +0 -5
- package/dist/shared/types.js.map +0 -1
- package/dist/skills/__tests__/mingw-escape.test.d.ts +0 -9
- package/dist/skills/__tests__/mingw-escape.test.d.ts.map +0 -1
- package/dist/skills/__tests__/mingw-escape.test.js +0 -150
- package/dist/skills/__tests__/mingw-escape.test.js.map +0 -1
- package/dist/team/__tests__/activity-log.test.d.ts +0 -2
- package/dist/team/__tests__/activity-log.test.d.ts.map +0 -1
- package/dist/team/__tests__/activity-log.test.js +0 -141
- package/dist/team/__tests__/activity-log.test.js.map +0 -1
- package/dist/team/__tests__/allocation-policy.test.d.ts +0 -2
- package/dist/team/__tests__/allocation-policy.test.d.ts.map +0 -1
- package/dist/team/__tests__/allocation-policy.test.js +0 -125
- package/dist/team/__tests__/allocation-policy.test.js.map +0 -1
- package/dist/team/__tests__/api-interop.cleanup.test.d.ts +0 -2
- package/dist/team/__tests__/api-interop.cleanup.test.d.ts.map +0 -1
- package/dist/team/__tests__/api-interop.cleanup.test.js +0 -129
- package/dist/team/__tests__/api-interop.cleanup.test.js.map +0 -1
- package/dist/team/__tests__/api-interop.command-dialect.test.d.ts +0 -2
- package/dist/team/__tests__/api-interop.command-dialect.test.d.ts.map +0 -1
- package/dist/team/__tests__/api-interop.command-dialect.test.js +0 -26
- package/dist/team/__tests__/api-interop.command-dialect.test.js.map +0 -1
- package/dist/team/__tests__/api-interop.compatibility.test.d.ts +0 -2
- package/dist/team/__tests__/api-interop.compatibility.test.d.ts.map +0 -1
- package/dist/team/__tests__/api-interop.compatibility.test.js +0 -93
- package/dist/team/__tests__/api-interop.compatibility.test.js.map +0 -1
- package/dist/team/__tests__/api-interop.cwd-resolution.test.d.ts +0 -2
- package/dist/team/__tests__/api-interop.cwd-resolution.test.d.ts.map +0 -1
- package/dist/team/__tests__/api-interop.cwd-resolution.test.js +0 -100
- package/dist/team/__tests__/api-interop.cwd-resolution.test.js.map +0 -1
- package/dist/team/__tests__/api-interop.dispatch.test.d.ts +0 -2
- package/dist/team/__tests__/api-interop.dispatch.test.d.ts.map +0 -1
- package/dist/team/__tests__/api-interop.dispatch.test.js +0 -184
- package/dist/team/__tests__/api-interop.dispatch.test.js.map +0 -1
- package/dist/team/__tests__/audit-log.test.d.ts +0 -2
- package/dist/team/__tests__/audit-log.test.d.ts.map +0 -1
- package/dist/team/__tests__/audit-log.test.js +0 -300
- package/dist/team/__tests__/audit-log.test.js.map +0 -1
- package/dist/team/__tests__/auto-cleanup.test.d.ts +0 -13
- package/dist/team/__tests__/auto-cleanup.test.d.ts.map +0 -1
- package/dist/team/__tests__/auto-cleanup.test.js +0 -176
- package/dist/team/__tests__/auto-cleanup.test.js.map +0 -1
- package/dist/team/__tests__/bridge-entry.guardrails.test.d.ts +0 -2
- package/dist/team/__tests__/bridge-entry.guardrails.test.d.ts.map +0 -1
- package/dist/team/__tests__/bridge-entry.guardrails.test.js +0 -33
- package/dist/team/__tests__/bridge-entry.guardrails.test.js.map +0 -1
- package/dist/team/__tests__/bridge-entry.test.d.ts +0 -2
- package/dist/team/__tests__/bridge-entry.test.d.ts.map +0 -1
- package/dist/team/__tests__/bridge-entry.test.js +0 -82
- package/dist/team/__tests__/bridge-entry.test.js.map +0 -1
- package/dist/team/__tests__/bridge-integration.test.d.ts +0 -2
- package/dist/team/__tests__/bridge-integration.test.d.ts.map +0 -1
- package/dist/team/__tests__/bridge-integration.test.js +0 -316
- package/dist/team/__tests__/bridge-integration.test.js.map +0 -1
- package/dist/team/__tests__/capabilities.test.d.ts +0 -2
- package/dist/team/__tests__/capabilities.test.d.ts.map +0 -1
- package/dist/team/__tests__/capabilities.test.js +0 -97
- package/dist/team/__tests__/capabilities.test.js.map +0 -1
- package/dist/team/__tests__/capture-file-snapshot.test.d.ts +0 -2
- package/dist/team/__tests__/capture-file-snapshot.test.d.ts.map +0 -1
- package/dist/team/__tests__/capture-file-snapshot.test.js +0 -48
- package/dist/team/__tests__/capture-file-snapshot.test.js.map +0 -1
- package/dist/team/__tests__/cli-detection.test.d.ts +0 -2
- package/dist/team/__tests__/cli-detection.test.d.ts.map +0 -1
- package/dist/team/__tests__/cli-detection.test.js +0 -36
- package/dist/team/__tests__/cli-detection.test.js.map +0 -1
- package/dist/team/__tests__/edge-cases.test.d.ts +0 -16
- package/dist/team/__tests__/edge-cases.test.d.ts.map +0 -1
- package/dist/team/__tests__/edge-cases.test.js +0 -745
- package/dist/team/__tests__/edge-cases.test.js.map +0 -1
- package/dist/team/__tests__/events.swallowed-error.test.d.ts +0 -2
- package/dist/team/__tests__/events.swallowed-error.test.d.ts.map +0 -1
- package/dist/team/__tests__/events.swallowed-error.test.js +0 -33
- package/dist/team/__tests__/events.swallowed-error.test.js.map +0 -1
- package/dist/team/__tests__/followup-planner.test.d.ts +0 -2
- package/dist/team/__tests__/followup-planner.test.d.ts.map +0 -1
- package/dist/team/__tests__/followup-planner.test.js +0 -197
- package/dist/team/__tests__/followup-planner.test.js.map +0 -1
- package/dist/team/__tests__/fs-utils.test.d.ts +0 -2
- package/dist/team/__tests__/fs-utils.test.d.ts.map +0 -1
- package/dist/team/__tests__/fs-utils.test.js +0 -69
- package/dist/team/__tests__/fs-utils.test.js.map +0 -1
- package/dist/team/__tests__/git-worktree.test.d.ts +0 -2
- package/dist/team/__tests__/git-worktree.test.d.ts.map +0 -1
- package/dist/team/__tests__/git-worktree.test.js +0 -90
- package/dist/team/__tests__/git-worktree.test.js.map +0 -1
- package/dist/team/__tests__/governance-enforcement.test.d.ts +0 -2
- package/dist/team/__tests__/governance-enforcement.test.d.ts.map +0 -1
- package/dist/team/__tests__/governance-enforcement.test.js +0 -138
- package/dist/team/__tests__/governance-enforcement.test.js.map +0 -1
- package/dist/team/__tests__/governance.test.d.ts +0 -2
- package/dist/team/__tests__/governance.test.d.ts.map +0 -1
- package/dist/team/__tests__/governance.test.js +0 -38
- package/dist/team/__tests__/governance.test.js.map +0 -1
- package/dist/team/__tests__/heartbeat.test.d.ts +0 -2
- package/dist/team/__tests__/heartbeat.test.d.ts.map +0 -1
- package/dist/team/__tests__/heartbeat.test.js +0 -92
- package/dist/team/__tests__/heartbeat.test.js.map +0 -1
- package/dist/team/__tests__/idle-nudge.test.d.ts +0 -11
- package/dist/team/__tests__/idle-nudge.test.d.ts.map +0 -1
- package/dist/team/__tests__/idle-nudge.test.js +0 -291
- package/dist/team/__tests__/idle-nudge.test.js.map +0 -1
- package/dist/team/__tests__/inbox-outbox.test.d.ts +0 -2
- package/dist/team/__tests__/inbox-outbox.test.d.ts.map +0 -1
- package/dist/team/__tests__/inbox-outbox.test.js +0 -217
- package/dist/team/__tests__/inbox-outbox.test.js.map +0 -1
- package/dist/team/__tests__/index.compat-exports.test.d.ts +0 -2
- package/dist/team/__tests__/index.compat-exports.test.d.ts.map +0 -1
- package/dist/team/__tests__/index.compat-exports.test.js +0 -20
- package/dist/team/__tests__/index.compat-exports.test.js.map +0 -1
- package/dist/team/__tests__/leader-nudge-guidance.test.d.ts +0 -2
- package/dist/team/__tests__/leader-nudge-guidance.test.d.ts.map +0 -1
- package/dist/team/__tests__/leader-nudge-guidance.test.js +0 -37
- package/dist/team/__tests__/leader-nudge-guidance.test.js.map +0 -1
- package/dist/team/__tests__/lifecycle-profile.test.d.ts +0 -2
- package/dist/team/__tests__/lifecycle-profile.test.d.ts.map +0 -1
- package/dist/team/__tests__/lifecycle-profile.test.js +0 -46
- package/dist/team/__tests__/lifecycle-profile.test.js.map +0 -1
- package/dist/team/__tests__/mcp-team-bridge.spawn-args.test.d.ts +0 -2
- package/dist/team/__tests__/mcp-team-bridge.spawn-args.test.d.ts.map +0 -1
- package/dist/team/__tests__/mcp-team-bridge.spawn-args.test.js +0 -18
- package/dist/team/__tests__/mcp-team-bridge.spawn-args.test.js.map +0 -1
- package/dist/team/__tests__/mcp-team-bridge.usage.test.d.ts +0 -2
- package/dist/team/__tests__/mcp-team-bridge.usage.test.d.ts.map +0 -1
- package/dist/team/__tests__/mcp-team-bridge.usage.test.js +0 -51
- package/dist/team/__tests__/mcp-team-bridge.usage.test.js.map +0 -1
- package/dist/team/__tests__/merge-coordinator.test.d.ts +0 -2
- package/dist/team/__tests__/merge-coordinator.test.d.ts.map +0 -1
- package/dist/team/__tests__/merge-coordinator.test.js +0 -128
- package/dist/team/__tests__/merge-coordinator.test.js.map +0 -1
- package/dist/team/__tests__/message-router.test.d.ts +0 -2
- package/dist/team/__tests__/message-router.test.d.ts.map +0 -1
- package/dist/team/__tests__/message-router.test.js +0 -78
- package/dist/team/__tests__/message-router.test.js.map +0 -1
- package/dist/team/__tests__/model-contract.test.d.ts +0 -2
- package/dist/team/__tests__/model-contract.test.d.ts.map +0 -1
- package/dist/team/__tests__/model-contract.test.js +0 -355
- package/dist/team/__tests__/model-contract.test.js.map +0 -1
- package/dist/team/__tests__/outbox-reader.test.d.ts +0 -2
- package/dist/team/__tests__/outbox-reader.test.d.ts.map +0 -1
- package/dist/team/__tests__/outbox-reader.test.js +0 -149
- package/dist/team/__tests__/outbox-reader.test.js.map +0 -1
- package/dist/team/__tests__/permissions.test.d.ts +0 -2
- package/dist/team/__tests__/permissions.test.d.ts.map +0 -1
- package/dist/team/__tests__/permissions.test.js +0 -170
- package/dist/team/__tests__/permissions.test.js.map +0 -1
- package/dist/team/__tests__/phase-controller.test.d.ts +0 -2
- package/dist/team/__tests__/phase-controller.test.d.ts.map +0 -1
- package/dist/team/__tests__/phase-controller.test.js +0 -45
- package/dist/team/__tests__/phase-controller.test.js.map +0 -1
- package/dist/team/__tests__/phase1-foundation.test.d.ts +0 -2
- package/dist/team/__tests__/phase1-foundation.test.d.ts.map +0 -1
- package/dist/team/__tests__/phase1-foundation.test.js +0 -151
- package/dist/team/__tests__/phase1-foundation.test.js.map +0 -1
- package/dist/team/__tests__/prompt-sanitization.test.d.ts +0 -2
- package/dist/team/__tests__/prompt-sanitization.test.d.ts.map +0 -1
- package/dist/team/__tests__/prompt-sanitization.test.js +0 -150
- package/dist/team/__tests__/prompt-sanitization.test.js.map +0 -1
- package/dist/team/__tests__/role-router.test.d.ts +0 -2
- package/dist/team/__tests__/role-router.test.d.ts.map +0 -1
- package/dist/team/__tests__/role-router.test.js +0 -122
- package/dist/team/__tests__/role-router.test.js.map +0 -1
- package/dist/team/__tests__/runtime-assign.test.d.ts +0 -2
- package/dist/team/__tests__/runtime-assign.test.d.ts.map +0 -1
- package/dist/team/__tests__/runtime-assign.test.js +0 -43
- package/dist/team/__tests__/runtime-assign.test.js.map +0 -1
- package/dist/team/__tests__/runtime-cli.test.d.ts +0 -2
- package/dist/team/__tests__/runtime-cli.test.d.ts.map +0 -1
- package/dist/team/__tests__/runtime-cli.test.js +0 -159
- package/dist/team/__tests__/runtime-cli.test.js.map +0 -1
- package/dist/team/__tests__/runtime-done-recovery.test.d.ts +0 -2
- package/dist/team/__tests__/runtime-done-recovery.test.d.ts.map +0 -1
- package/dist/team/__tests__/runtime-done-recovery.test.js +0 -78
- package/dist/team/__tests__/runtime-done-recovery.test.js.map +0 -1
- package/dist/team/__tests__/runtime-prompt-mode.test.d.ts +0 -2
- package/dist/team/__tests__/runtime-prompt-mode.test.d.ts.map +0 -1
- package/dist/team/__tests__/runtime-prompt-mode.test.js +0 -394
- package/dist/team/__tests__/runtime-prompt-mode.test.js.map +0 -1
- package/dist/team/__tests__/runtime-v2.dispatch.test.d.ts +0 -2
- package/dist/team/__tests__/runtime-v2.dispatch.test.d.ts.map +0 -1
- package/dist/team/__tests__/runtime-v2.dispatch.test.js +0 -345
- package/dist/team/__tests__/runtime-v2.dispatch.test.js.map +0 -1
- package/dist/team/__tests__/runtime-v2.feature-flag.test.d.ts +0 -2
- package/dist/team/__tests__/runtime-v2.feature-flag.test.d.ts.map +0 -1
- package/dist/team/__tests__/runtime-v2.feature-flag.test.js +0 -20
- package/dist/team/__tests__/runtime-v2.feature-flag.test.js.map +0 -1
- package/dist/team/__tests__/runtime-v2.monitor.test.d.ts +0 -2
- package/dist/team/__tests__/runtime-v2.monitor.test.d.ts.map +0 -1
- package/dist/team/__tests__/runtime-v2.monitor.test.js +0 -148
- package/dist/team/__tests__/runtime-v2.monitor.test.js.map +0 -1
- package/dist/team/__tests__/runtime-v2.shutdown-pane-cleanup.test.d.ts +0 -2
- package/dist/team/__tests__/runtime-v2.shutdown-pane-cleanup.test.d.ts.map +0 -1
- package/dist/team/__tests__/runtime-v2.shutdown-pane-cleanup.test.js +0 -110
- package/dist/team/__tests__/runtime-v2.shutdown-pane-cleanup.test.js.map +0 -1
- package/dist/team/__tests__/runtime-v2.shutdown.test.d.ts +0 -2
- package/dist/team/__tests__/runtime-v2.shutdown.test.d.ts.map +0 -1
- package/dist/team/__tests__/runtime-v2.shutdown.test.js +0 -49
- package/dist/team/__tests__/runtime-v2.shutdown.test.js.map +0 -1
- package/dist/team/__tests__/runtime-watchdog-retry.test.d.ts +0 -2
- package/dist/team/__tests__/runtime-watchdog-retry.test.d.ts.map +0 -1
- package/dist/team/__tests__/runtime-watchdog-retry.test.js +0 -411
- package/dist/team/__tests__/runtime-watchdog-retry.test.js.map +0 -1
- package/dist/team/__tests__/runtime.test.d.ts +0 -2
- package/dist/team/__tests__/runtime.test.d.ts.map +0 -1
- package/dist/team/__tests__/runtime.test.js +0 -37
- package/dist/team/__tests__/runtime.test.js.map +0 -1
- package/dist/team/__tests__/scaling.test.d.ts +0 -2
- package/dist/team/__tests__/scaling.test.d.ts.map +0 -1
- package/dist/team/__tests__/scaling.test.js +0 -44
- package/dist/team/__tests__/scaling.test.js.map +0 -1
- package/dist/team/__tests__/shell-affinity.test.d.ts +0 -2
- package/dist/team/__tests__/shell-affinity.test.d.ts.map +0 -1
- package/dist/team/__tests__/shell-affinity.test.js +0 -98
- package/dist/team/__tests__/shell-affinity.test.js.map +0 -1
- package/dist/team/__tests__/state-paths.test.d.ts +0 -2
- package/dist/team/__tests__/state-paths.test.d.ts.map +0 -1
- package/dist/team/__tests__/state-paths.test.js +0 -19
- package/dist/team/__tests__/state-paths.test.js.map +0 -1
- package/dist/team/__tests__/summary-report.test.d.ts +0 -2
- package/dist/team/__tests__/summary-report.test.d.ts.map +0 -1
- package/dist/team/__tests__/summary-report.test.js +0 -194
- package/dist/team/__tests__/summary-report.test.js.map +0 -1
- package/dist/team/__tests__/task-file-ops.test.d.ts +0 -2
- package/dist/team/__tests__/task-file-ops.test.d.ts.map +0 -1
- package/dist/team/__tests__/task-file-ops.test.js +0 -351
- package/dist/team/__tests__/task-file-ops.test.js.map +0 -1
- package/dist/team/__tests__/task-router.test.d.ts +0 -2
- package/dist/team/__tests__/task-router.test.d.ts.map +0 -1
- package/dist/team/__tests__/task-router.test.js +0 -118
- package/dist/team/__tests__/task-router.test.js.map +0 -1
- package/dist/team/__tests__/team-leader-nudge-hook.logging.test.d.ts +0 -2
- package/dist/team/__tests__/team-leader-nudge-hook.logging.test.d.ts.map +0 -1
- package/dist/team/__tests__/team-leader-nudge-hook.logging.test.js +0 -63
- package/dist/team/__tests__/team-leader-nudge-hook.logging.test.js.map +0 -1
- package/dist/team/__tests__/team-leader-nudge-hook.test.d.ts +0 -2
- package/dist/team/__tests__/team-leader-nudge-hook.test.d.ts.map +0 -1
- package/dist/team/__tests__/team-leader-nudge-hook.test.js +0 -90
- package/dist/team/__tests__/team-leader-nudge-hook.test.js.map +0 -1
- package/dist/team/__tests__/team-name.test.d.ts +0 -2
- package/dist/team/__tests__/team-name.test.d.ts.map +0 -1
- package/dist/team/__tests__/team-name.test.js +0 -18
- package/dist/team/__tests__/team-name.test.js.map +0 -1
- package/dist/team/__tests__/team-registration.test.d.ts +0 -2
- package/dist/team/__tests__/team-registration.test.d.ts.map +0 -1
- package/dist/team/__tests__/team-registration.test.js +0 -86
- package/dist/team/__tests__/team-registration.test.js.map +0 -1
- package/dist/team/__tests__/team-status.test.d.ts +0 -2
- package/dist/team/__tests__/team-status.test.d.ts.map +0 -1
- package/dist/team/__tests__/team-status.test.js +0 -186
- package/dist/team/__tests__/team-status.test.js.map +0 -1
- package/dist/team/__tests__/tmux-comm.test.d.ts +0 -2
- package/dist/team/__tests__/tmux-comm.test.d.ts.map +0 -1
- package/dist/team/__tests__/tmux-comm.test.js +0 -27
- package/dist/team/__tests__/tmux-comm.test.js.map +0 -1
- package/dist/team/__tests__/tmux-session.create-team.test.d.ts +0 -2
- package/dist/team/__tests__/tmux-session.create-team.test.d.ts.map +0 -1
- package/dist/team/__tests__/tmux-session.create-team.test.js +0 -163
- package/dist/team/__tests__/tmux-session.create-team.test.js.map +0 -1
- package/dist/team/__tests__/tmux-session.kill-team-session.test.d.ts +0 -2
- package/dist/team/__tests__/tmux-session.kill-team-session.test.d.ts.map +0 -1
- package/dist/team/__tests__/tmux-session.kill-team-session.test.js +0 -94
- package/dist/team/__tests__/tmux-session.kill-team-session.test.js.map +0 -1
- package/dist/team/__tests__/tmux-session.spawn.test.d.ts +0 -2
- package/dist/team/__tests__/tmux-session.spawn.test.d.ts.map +0 -1
- package/dist/team/__tests__/tmux-session.spawn.test.js +0 -70
- package/dist/team/__tests__/tmux-session.spawn.test.js.map +0 -1
- package/dist/team/__tests__/tmux-session.test.d.ts +0 -2
- package/dist/team/__tests__/tmux-session.test.d.ts.map +0 -1
- package/dist/team/__tests__/tmux-session.test.js +0 -298
- package/dist/team/__tests__/tmux-session.test.js.map +0 -1
- package/dist/team/__tests__/unified-team.test.d.ts +0 -2
- package/dist/team/__tests__/unified-team.test.d.ts.map +0 -1
- package/dist/team/__tests__/unified-team.test.js +0 -77
- package/dist/team/__tests__/unified-team.test.js.map +0 -1
- package/dist/team/__tests__/usage-tracker.test.d.ts +0 -2
- package/dist/team/__tests__/usage-tracker.test.d.ts.map +0 -1
- package/dist/team/__tests__/usage-tracker.test.js +0 -104
- package/dist/team/__tests__/usage-tracker.test.js.map +0 -1
- package/dist/team/__tests__/worker-bootstrap.test.d.ts +0 -2
- package/dist/team/__tests__/worker-bootstrap.test.d.ts.map +0 -1
- package/dist/team/__tests__/worker-bootstrap.test.js +0 -143
- package/dist/team/__tests__/worker-bootstrap.test.js.map +0 -1
- package/dist/team/__tests__/worker-canonicalization.test.d.ts +0 -2
- package/dist/team/__tests__/worker-canonicalization.test.d.ts.map +0 -1
- package/dist/team/__tests__/worker-canonicalization.test.js +0 -35
- package/dist/team/__tests__/worker-canonicalization.test.js.map +0 -1
- package/dist/team/__tests__/worker-health.test.d.ts +0 -2
- package/dist/team/__tests__/worker-health.test.d.ts.map +0 -1
- package/dist/team/__tests__/worker-health.test.js +0 -129
- package/dist/team/__tests__/worker-health.test.js.map +0 -1
- package/dist/team/__tests__/worker-restart.test.d.ts +0 -2
- package/dist/team/__tests__/worker-restart.test.d.ts.map +0 -1
- package/dist/team/__tests__/worker-restart.test.js +0 -124
- package/dist/team/__tests__/worker-restart.test.js.map +0 -1
- package/dist/team/activity-log.d.ts +0 -23
- package/dist/team/activity-log.d.ts.map +0 -1
- package/dist/team/activity-log.js +0 -102
- package/dist/team/activity-log.js.map +0 -1
- package/dist/team/allocation-policy.d.ts +0 -34
- package/dist/team/allocation-policy.d.ts.map +0 -1
- package/dist/team/allocation-policy.js +0 -92
- package/dist/team/allocation-policy.js.map +0 -1
- package/dist/team/api-interop.d.ts +0 -20
- package/dist/team/api-interop.d.ts.map +0 -1
- package/dist/team/api-interop.js +0 -797
- package/dist/team/api-interop.js.map +0 -1
- package/dist/team/audit-log.d.ts +0 -29
- package/dist/team/audit-log.d.ts.map +0 -1
- package/dist/team/audit-log.js +0 -93
- package/dist/team/audit-log.js.map +0 -1
- package/dist/team/bridge-entry.d.ts +0 -7
- package/dist/team/bridge-entry.d.ts.map +0 -1
- package/dist/team/bridge-entry.js +0 -193
- package/dist/team/bridge-entry.js.map +0 -1
- package/dist/team/capabilities.d.ts +0 -30
- package/dist/team/capabilities.d.ts.map +0 -1
- package/dist/team/capabilities.js +0 -54
- package/dist/team/capabilities.js.map +0 -1
- package/dist/team/cli-detection.d.ts +0 -9
- package/dist/team/cli-detection.d.ts.map +0 -1
- package/dist/team/cli-detection.js +0 -33
- package/dist/team/cli-detection.js.map +0 -1
- package/dist/team/contracts.d.ts +0 -14
- package/dist/team/contracts.d.ts.map +0 -1
- package/dist/team/contracts.js +0 -32
- package/dist/team/contracts.js.map +0 -1
- package/dist/team/dispatch-queue.d.ts +0 -64
- package/dist/team/dispatch-queue.d.ts.map +0 -1
- package/dist/team/dispatch-queue.js +0 -288
- package/dist/team/dispatch-queue.js.map +0 -1
- package/dist/team/events.d.ts +0 -49
- package/dist/team/events.d.ts.map +0 -1
- package/dist/team/events.js +0 -115
- package/dist/team/events.js.map +0 -1
- package/dist/team/followup-planner.d.ts +0 -32
- package/dist/team/followup-planner.d.ts.map +0 -1
- package/dist/team/followup-planner.js +0 -82
- package/dist/team/followup-planner.js.map +0 -1
- package/dist/team/fs-utils.d.ts +0 -14
- package/dist/team/fs-utils.d.ts.map +0 -1
- package/dist/team/fs-utils.js +0 -91
- package/dist/team/fs-utils.js.map +0 -1
- package/dist/team/git-worktree.d.ts +0 -26
- package/dist/team/git-worktree.d.ts.map +0 -1
- package/dist/team/git-worktree.js +0 -148
- package/dist/team/git-worktree.js.map +0 -1
- package/dist/team/governance.d.ts +0 -18
- package/dist/team/governance.d.ts.map +0 -1
- package/dist/team/governance.js +0 -68
- package/dist/team/governance.js.map +0 -1
- package/dist/team/heartbeat.d.ts +0 -18
- package/dist/team/heartbeat.d.ts.map +0 -1
- package/dist/team/heartbeat.js +0 -110
- package/dist/team/heartbeat.js.map +0 -1
- package/dist/team/idle-nudge.d.ts +0 -53
- package/dist/team/idle-nudge.d.ts.map +0 -1
- package/dist/team/idle-nudge.js +0 -124
- package/dist/team/idle-nudge.js.map +0 -1
- package/dist/team/inbox-outbox.d.ts +0 -58
- package/dist/team/inbox-outbox.d.ts.map +0 -1
- package/dist/team/inbox-outbox.js +0 -338
- package/dist/team/inbox-outbox.js.map +0 -1
- package/dist/team/index.d.ts +0 -69
- package/dist/team/index.d.ts.map +0 -1
- package/dist/team/index.js +0 -49
- package/dist/team/index.js.map +0 -1
- package/dist/team/layout-stabilizer.d.ts +0 -23
- package/dist/team/layout-stabilizer.d.ts.map +0 -1
- package/dist/team/layout-stabilizer.js +0 -117
- package/dist/team/layout-stabilizer.js.map +0 -1
- package/dist/team/leader-nudge-guidance.d.ts +0 -23
- package/dist/team/leader-nudge-guidance.d.ts.map +0 -1
- package/dist/team/leader-nudge-guidance.js +0 -44
- package/dist/team/leader-nudge-guidance.js.map +0 -1
- package/dist/team/mcp-comm.d.ts +0 -99
- package/dist/team/mcp-comm.d.ts.map +0 -1
- package/dist/team/mcp-comm.js +0 -249
- package/dist/team/mcp-comm.js.map +0 -1
- package/dist/team/mcp-team-bridge.d.ts +0 -26
- package/dist/team/mcp-team-bridge.d.ts.map +0 -1
- package/dist/team/mcp-team-bridge.js +0 -869
- package/dist/team/mcp-team-bridge.js.map +0 -1
- package/dist/team/merge-coordinator.d.ts +0 -27
- package/dist/team/merge-coordinator.d.ts.map +0 -1
- package/dist/team/merge-coordinator.js +0 -140
- package/dist/team/merge-coordinator.js.map +0 -1
- package/dist/team/message-router.d.ts +0 -21
- package/dist/team/message-router.d.ts.map +0 -1
- package/dist/team/message-router.js +0 -82
- package/dist/team/message-router.js.map +0 -1
- package/dist/team/model-contract.d.ts +0 -81
- package/dist/team/model-contract.d.ts.map +0 -1
- package/dist/team/model-contract.js +0 -355
- package/dist/team/model-contract.js.map +0 -1
- package/dist/team/monitor.d.ts +0 -45
- package/dist/team/monitor.d.ts.map +0 -1
- package/dist/team/monitor.js +0 -406
- package/dist/team/monitor.js.map +0 -1
- package/dist/team/outbox-reader.d.ts +0 -22
- package/dist/team/outbox-reader.d.ts.map +0 -1
- package/dist/team/outbox-reader.js +0 -116
- package/dist/team/outbox-reader.js.map +0 -1
- package/dist/team/permissions.d.ts +0 -47
- package/dist/team/permissions.d.ts.map +0 -1
- package/dist/team/permissions.js +0 -219
- package/dist/team/permissions.js.map +0 -1
- package/dist/team/phase-controller.d.ts +0 -33
- package/dist/team/phase-controller.d.ts.map +0 -1
- package/dist/team/phase-controller.js +0 -79
- package/dist/team/phase-controller.js.map +0 -1
- package/dist/team/role-router.d.ts +0 -36
- package/dist/team/role-router.d.ts.map +0 -1
- package/dist/team/role-router.js +0 -215
- package/dist/team/role-router.js.map +0 -1
- package/dist/team/runtime-cli.d.ts +0 -33
- package/dist/team/runtime-cli.d.ts.map +0 -1
- package/dist/team/runtime-cli.js +0 -444
- package/dist/team/runtime-cli.js.map +0 -1
- package/dist/team/runtime-v2.d.ts +0 -127
- package/dist/team/runtime-v2.d.ts.map +0 -1
- package/dist/team/runtime-v2.js +0 -1053
- package/dist/team/runtime-v2.js.map +0 -1
- package/dist/team/runtime.d.ts +0 -102
- package/dist/team/runtime.d.ts.map +0 -1
- package/dist/team/runtime.js +0 -824
- package/dist/team/runtime.js.map +0 -1
- package/dist/team/scaling.d.ts +0 -59
- package/dist/team/scaling.d.ts.map +0 -1
- package/dist/team/scaling.js +0 -320
- package/dist/team/scaling.js.map +0 -1
- package/dist/team/sentinel-gate.d.ts +0 -23
- package/dist/team/sentinel-gate.d.ts.map +0 -1
- package/dist/team/sentinel-gate.js +0 -127
- package/dist/team/sentinel-gate.js.map +0 -1
- package/dist/team/state/tasks.d.ts +0 -48
- package/dist/team/state/tasks.d.ts.map +0 -1
- package/dist/team/state/tasks.js +0 -184
- package/dist/team/state/tasks.js.map +0 -1
- package/dist/team/state-paths.d.ts +0 -88
- package/dist/team/state-paths.d.ts.map +0 -1
- package/dist/team/state-paths.js +0 -110
- package/dist/team/state-paths.js.map +0 -1
- package/dist/team/summary-report.d.ts +0 -11
- package/dist/team/summary-report.d.ts.map +0 -1
- package/dist/team/summary-report.js +0 -101
- package/dist/team/summary-report.js.map +0 -1
- package/dist/team/task-file-ops.d.ts +0 -97
- package/dist/team/task-file-ops.d.ts.map +0 -1
- package/dist/team/task-file-ops.js +0 -388
- package/dist/team/task-file-ops.js.map +0 -1
- package/dist/team/task-router.d.ts +0 -28
- package/dist/team/task-router.d.ts.map +0 -1
- package/dist/team/task-router.js +0 -91
- package/dist/team/task-router.js.map +0 -1
- package/dist/team/team-name.d.ts +0 -2
- package/dist/team/team-name.d.ts.map +0 -1
- package/dist/team/team-name.js +0 -8
- package/dist/team/team-name.js.map +0 -1
- package/dist/team/team-ops.d.ts +0 -44
- package/dist/team/team-ops.d.ts.map +0 -1
- package/dist/team/team-ops.js +0 -591
- package/dist/team/team-ops.js.map +0 -1
- package/dist/team/team-registration.d.ts +0 -30
- package/dist/team/team-registration.d.ts.map +0 -1
- package/dist/team/team-registration.js +0 -191
- package/dist/team/team-registration.js.map +0 -1
- package/dist/team/team-status.d.ts +0 -39
- package/dist/team/team-status.d.ts.map +0 -1
- package/dist/team/team-status.js +0 -127
- package/dist/team/team-status.js.map +0 -1
- package/dist/team/tmux-comm.d.ts +0 -36
- package/dist/team/tmux-comm.d.ts.map +0 -1
- package/dist/team/tmux-comm.js +0 -181
- package/dist/team/tmux-comm.js.map +0 -1
- package/dist/team/tmux-session.d.ts +0 -156
- package/dist/team/tmux-session.d.ts.map +0 -1
- package/dist/team/tmux-session.js +0 -886
- package/dist/team/tmux-session.js.map +0 -1
- package/dist/team/types.d.ts +0 -438
- package/dist/team/types.d.ts.map +0 -1
- package/dist/team/types.js +0 -4
- package/dist/team/types.js.map +0 -1
- package/dist/team/unified-team.d.ts +0 -16
- package/dist/team/unified-team.d.ts.map +0 -1
- package/dist/team/unified-team.js +0 -92
- package/dist/team/unified-team.js.map +0 -1
- package/dist/team/usage-tracker.d.ts +0 -44
- package/dist/team/usage-tracker.d.ts.map +0 -1
- package/dist/team/usage-tracker.js +0 -102
- package/dist/team/usage-tracker.js.map +0 -1
- package/dist/team/worker-bootstrap.d.ts +0 -41
- package/dist/team/worker-bootstrap.d.ts.map +0 -1
- package/dist/team/worker-bootstrap.js +0 -216
- package/dist/team/worker-bootstrap.js.map +0 -1
- package/dist/team/worker-canonicalization.d.ts +0 -8
- package/dist/team/worker-canonicalization.d.ts.map +0 -1
- package/dist/team/worker-canonicalization.js +0 -98
- package/dist/team/worker-canonicalization.js.map +0 -1
- package/dist/team/worker-health.d.ts +0 -29
- package/dist/team/worker-health.d.ts.map +0 -1
- package/dist/team/worker-health.js +0 -116
- package/dist/team/worker-health.js.map +0 -1
- package/dist/team/worker-restart.d.ts +0 -38
- package/dist/team/worker-restart.d.ts.map +0 -1
- package/dist/team/worker-restart.js +0 -100
- package/dist/team/worker-restart.js.map +0 -1
- package/dist/testing/analyzers/complexity.d.ts +0 -18
- package/dist/testing/analyzers/complexity.d.ts.map +0 -1
- package/dist/testing/analyzers/complexity.js +0 -121
- package/dist/testing/analyzers/complexity.js.map +0 -1
- package/dist/testing/analyzers/coverage.d.ts +0 -13
- package/dist/testing/analyzers/coverage.d.ts.map +0 -1
- package/dist/testing/analyzers/coverage.js +0 -99
- package/dist/testing/analyzers/coverage.js.map +0 -1
- package/dist/testing/analyzers/quality-scorer.d.ts +0 -8
- package/dist/testing/analyzers/quality-scorer.d.ts.map +0 -1
- package/dist/testing/analyzers/quality-scorer.js +0 -128
- package/dist/testing/analyzers/quality-scorer.js.map +0 -1
- package/dist/testing/analyzers/types.d.ts +0 -56
- package/dist/testing/analyzers/types.d.ts.map +0 -1
- package/dist/testing/analyzers/types.js +0 -2
- package/dist/testing/analyzers/types.js.map +0 -1
- package/dist/testing/cli/agent-integration.d.ts +0 -20
- package/dist/testing/cli/agent-integration.d.ts.map +0 -1
- package/dist/testing/cli/agent-integration.js +0 -60
- package/dist/testing/cli/agent-integration.js.map +0 -1
- package/dist/testing/cli/commands.d.ts +0 -89
- package/dist/testing/cli/commands.d.ts.map +0 -1
- package/dist/testing/cli/commands.js +0 -228
- package/dist/testing/cli/commands.js.map +0 -1
- package/dist/testing/cli/ultraqa-integration.d.ts +0 -13
- package/dist/testing/cli/ultraqa-integration.d.ts.map +0 -1
- package/dist/testing/cli/ultraqa-integration.js +0 -68
- package/dist/testing/cli/ultraqa-integration.js.map +0 -1
- package/dist/testing/detectors/go.d.ts +0 -3
- package/dist/testing/detectors/go.d.ts.map +0 -1
- package/dist/testing/detectors/go.js +0 -38
- package/dist/testing/detectors/go.js.map +0 -1
- package/dist/testing/detectors/index.d.ts +0 -8
- package/dist/testing/detectors/index.d.ts.map +0 -1
- package/dist/testing/detectors/index.js +0 -46
- package/dist/testing/detectors/index.js.map +0 -1
- package/dist/testing/detectors/package-json.d.ts +0 -3
- package/dist/testing/detectors/package-json.d.ts.map +0 -1
- package/dist/testing/detectors/package-json.js +0 -52
- package/dist/testing/detectors/package-json.js.map +0 -1
- package/dist/testing/detectors/python.d.ts +0 -3
- package/dist/testing/detectors/python.d.ts.map +0 -1
- package/dist/testing/detectors/python.js +0 -37
- package/dist/testing/detectors/python.js.map +0 -1
- package/dist/testing/detectors/rust.d.ts +0 -3
- package/dist/testing/detectors/rust.d.ts.map +0 -1
- package/dist/testing/detectors/rust.js +0 -39
- package/dist/testing/detectors/rust.js.map +0 -1
- package/dist/testing/generators/contract.d.ts +0 -14
- package/dist/testing/generators/contract.d.ts.map +0 -1
- package/dist/testing/generators/contract.js +0 -163
- package/dist/testing/generators/contract.js.map +0 -1
- package/dist/testing/generators/e2e.d.ts +0 -34
- package/dist/testing/generators/e2e.d.ts.map +0 -1
- package/dist/testing/generators/e2e.js +0 -74
- package/dist/testing/generators/e2e.js.map +0 -1
- package/dist/testing/generators/go.d.ts +0 -12
- package/dist/testing/generators/go.d.ts.map +0 -1
- package/dist/testing/generators/go.js +0 -144
- package/dist/testing/generators/go.js.map +0 -1
- package/dist/testing/generators/nodejs.d.ts +0 -12
- package/dist/testing/generators/nodejs.d.ts.map +0 -1
- package/dist/testing/generators/nodejs.js +0 -37
- package/dist/testing/generators/nodejs.js.map +0 -1
- package/dist/testing/generators/python.d.ts +0 -12
- package/dist/testing/generators/python.d.ts.map +0 -1
- package/dist/testing/generators/python.js +0 -163
- package/dist/testing/generators/python.js.map +0 -1
- package/dist/testing/generators/react.d.ts +0 -12
- package/dist/testing/generators/react.d.ts.map +0 -1
- package/dist/testing/generators/react.js +0 -31
- package/dist/testing/generators/react.js.map +0 -1
- package/dist/testing/generators/rust.d.ts +0 -11
- package/dist/testing/generators/rust.d.ts.map +0 -1
- package/dist/testing/generators/rust.js +0 -138
- package/dist/testing/generators/rust.js.map +0 -1
- package/dist/testing/index.d.ts +0 -6
- package/dist/testing/index.d.ts.map +0 -1
- package/dist/testing/index.js +0 -11
- package/dist/testing/index.js.map +0 -1
- package/dist/testing/integrations/autopilot.d.ts +0 -42
- package/dist/testing/integrations/autopilot.d.ts.map +0 -1
- package/dist/testing/integrations/autopilot.js +0 -55
- package/dist/testing/integrations/autopilot.js.map +0 -1
- package/dist/testing/integrations/cicd.d.ts +0 -26
- package/dist/testing/integrations/cicd.d.ts.map +0 -1
- package/dist/testing/integrations/cicd.js +0 -162
- package/dist/testing/integrations/cicd.js.map +0 -1
- package/dist/testing/integrations/giskard/behavioral-tests.d.ts +0 -4
- package/dist/testing/integrations/giskard/behavioral-tests.d.ts.map +0 -1
- package/dist/testing/integrations/giskard/behavioral-tests.js +0 -66
- package/dist/testing/integrations/giskard/behavioral-tests.js.map +0 -1
- package/dist/testing/integrations/giskard/types.d.ts +0 -35
- package/dist/testing/integrations/giskard/types.d.ts.map +0 -1
- package/dist/testing/integrations/giskard/types.js +0 -2
- package/dist/testing/integrations/giskard/types.js.map +0 -1
- package/dist/testing/integrations/ralph.d.ts +0 -65
- package/dist/testing/integrations/ralph.d.ts.map +0 -1
- package/dist/testing/integrations/ralph.js +0 -69
- package/dist/testing/integrations/ralph.js.map +0 -1
- package/dist/testing/performance/cache-manager.d.ts +0 -16
- package/dist/testing/performance/cache-manager.d.ts.map +0 -1
- package/dist/testing/performance/cache-manager.js +0 -39
- package/dist/testing/performance/cache-manager.js.map +0 -1
- package/dist/testing/performance/parallel-generator.d.ts +0 -23
- package/dist/testing/performance/parallel-generator.d.ts.map +0 -1
- package/dist/testing/performance/parallel-generator.js +0 -31
- package/dist/testing/performance/parallel-generator.js.map +0 -1
- package/dist/testing/types.d.ts +0 -23
- package/dist/testing/types.d.ts.map +0 -1
- package/dist/testing/types.js +0 -2
- package/dist/testing/types.js.map +0 -1
- package/dist/tools/__tests__/cancel-integration.test.d.ts +0 -2
- package/dist/tools/__tests__/cancel-integration.test.d.ts.map +0 -1
- package/dist/tools/__tests__/cancel-integration.test.js +0 -303
- package/dist/tools/__tests__/cancel-integration.test.js.map +0 -1
- package/dist/tools/__tests__/deepinit-manifest.test.d.ts +0 -7
- package/dist/tools/__tests__/deepinit-manifest.test.d.ts.map +0 -1
- package/dist/tools/__tests__/deepinit-manifest.test.js +0 -559
- package/dist/tools/__tests__/deepinit-manifest.test.js.map +0 -1
- package/dist/tools/__tests__/memory-tools.test.d.ts +0 -2
- package/dist/tools/__tests__/memory-tools.test.d.ts.map +0 -1
- package/dist/tools/__tests__/memory-tools.test.js +0 -94
- package/dist/tools/__tests__/memory-tools.test.js.map +0 -1
- package/dist/tools/__tests__/schema-conversion.test.d.ts +0 -11
- package/dist/tools/__tests__/schema-conversion.test.d.ts.map +0 -1
- package/dist/tools/__tests__/schema-conversion.test.js +0 -270
- package/dist/tools/__tests__/schema-conversion.test.js.map +0 -1
- package/dist/tools/__tests__/state-tools.test.d.ts +0 -2
- package/dist/tools/__tests__/state-tools.test.d.ts.map +0 -1
- package/dist/tools/__tests__/state-tools.test.js +0 -450
- package/dist/tools/__tests__/state-tools.test.js.map +0 -1
- package/dist/tools/ast-tools.d.ts +0 -63
- package/dist/tools/ast-tools.d.ts.map +0 -1
- package/dist/tools/ast-tools.js +0 -507
- package/dist/tools/ast-tools.js.map +0 -1
- package/dist/tools/deepinit-manifest.d.ts +0 -88
- package/dist/tools/deepinit-manifest.d.ts.map +0 -1
- package/dist/tools/deepinit-manifest.js +0 -373
- package/dist/tools/deepinit-manifest.js.map +0 -1
- package/dist/tools/diagnostics/index.d.ts +0 -29
- package/dist/tools/diagnostics/index.d.ts.map +0 -1
- package/dist/tools/diagnostics/index.js +0 -118
- package/dist/tools/diagnostics/index.js.map +0 -1
- package/dist/tools/diagnostics/lsp-aggregator.d.ts +0 -26
- package/dist/tools/diagnostics/lsp-aggregator.d.ts.map +0 -1
- package/dist/tools/diagnostics/lsp-aggregator.js +0 -99
- package/dist/tools/diagnostics/lsp-aggregator.js.map +0 -1
- package/dist/tools/diagnostics/tsc-runner.d.ts +0 -26
- package/dist/tools/diagnostics/tsc-runner.d.ts.map +0 -1
- package/dist/tools/diagnostics/tsc-runner.js +0 -70
- package/dist/tools/diagnostics/tsc-runner.js.map +0 -1
- package/dist/tools/index.d.ts +0 -53
- package/dist/tools/index.d.ts.map +0 -1
- package/dist/tools/index.js +0 -123
- package/dist/tools/index.js.map +0 -1
- package/dist/tools/lsp/__tests__/client-devcontainer.test.d.ts +0 -2
- package/dist/tools/lsp/__tests__/client-devcontainer.test.d.ts.map +0 -1
- package/dist/tools/lsp/__tests__/client-devcontainer.test.js +0 -185
- package/dist/tools/lsp/__tests__/client-devcontainer.test.js.map +0 -1
- package/dist/tools/lsp/__tests__/client-eviction.test.d.ts +0 -2
- package/dist/tools/lsp/__tests__/client-eviction.test.d.ts.map +0 -1
- package/dist/tools/lsp/__tests__/client-eviction.test.js +0 -343
- package/dist/tools/lsp/__tests__/client-eviction.test.js.map +0 -1
- package/dist/tools/lsp/__tests__/client-handle-data.test.d.ts +0 -2
- package/dist/tools/lsp/__tests__/client-handle-data.test.d.ts.map +0 -1
- package/dist/tools/lsp/__tests__/client-handle-data.test.js +0 -138
- package/dist/tools/lsp/__tests__/client-handle-data.test.js.map +0 -1
- package/dist/tools/lsp/__tests__/client-singleton.test.d.ts +0 -2
- package/dist/tools/lsp/__tests__/client-singleton.test.d.ts.map +0 -1
- package/dist/tools/lsp/__tests__/client-singleton.test.js +0 -17
- package/dist/tools/lsp/__tests__/client-singleton.test.js.map +0 -1
- package/dist/tools/lsp/__tests__/client-timeout-env.test.d.ts +0 -2
- package/dist/tools/lsp/__tests__/client-timeout-env.test.d.ts.map +0 -1
- package/dist/tools/lsp/__tests__/client-timeout-env.test.js +0 -55
- package/dist/tools/lsp/__tests__/client-timeout-env.test.js.map +0 -1
- package/dist/tools/lsp/__tests__/client-win32-spawn.test.d.ts +0 -2
- package/dist/tools/lsp/__tests__/client-win32-spawn.test.d.ts.map +0 -1
- package/dist/tools/lsp/__tests__/client-win32-spawn.test.js +0 -84
- package/dist/tools/lsp/__tests__/client-win32-spawn.test.js.map +0 -1
- package/dist/tools/lsp/__tests__/devcontainer.test.d.ts +0 -2
- package/dist/tools/lsp/__tests__/devcontainer.test.d.ts.map +0 -1
- package/dist/tools/lsp/__tests__/devcontainer.test.js +0 -311
- package/dist/tools/lsp/__tests__/devcontainer.test.js.map +0 -1
- package/dist/tools/lsp/client.d.ts +0 -278
- package/dist/tools/lsp/client.d.ts.map +0 -1
- package/dist/tools/lsp/client.js +0 -873
- package/dist/tools/lsp/client.js.map +0 -1
- package/dist/tools/lsp/devcontainer.d.ts +0 -12
- package/dist/tools/lsp/devcontainer.d.ts.map +0 -1
- package/dist/tools/lsp/devcontainer.js +0 -276
- package/dist/tools/lsp/devcontainer.js.map +0 -1
- package/dist/tools/lsp/index.d.ts +0 -11
- package/dist/tools/lsp/index.d.ts.map +0 -1
- package/dist/tools/lsp/index.js +0 -8
- package/dist/tools/lsp/index.js.map +0 -1
- package/dist/tools/lsp/servers.d.ts +0 -38
- package/dist/tools/lsp/servers.d.ts.map +0 -1
- package/dist/tools/lsp/servers.js +0 -237
- package/dist/tools/lsp/servers.js.map +0 -1
- package/dist/tools/lsp/utils.d.ts +0 -58
- package/dist/tools/lsp/utils.d.ts.map +0 -1
- package/dist/tools/lsp/utils.js +0 -248
- package/dist/tools/lsp/utils.js.map +0 -1
- package/dist/tools/lsp-tools.d.ts +0 -151
- package/dist/tools/lsp-tools.d.ts.map +0 -1
- package/dist/tools/lsp-tools.js +0 -410
- package/dist/tools/lsp-tools.js.map +0 -1
- package/dist/tools/memory-tools.d.ts +0 -48
- package/dist/tools/memory-tools.d.ts.map +0 -1
- package/dist/tools/memory-tools.js +0 -231
- package/dist/tools/memory-tools.js.map +0 -1
- package/dist/tools/notepad-tools.d.ts +0 -49
- package/dist/tools/notepad-tools.d.ts.map +0 -1
- package/dist/tools/notepad-tools.js +0 -303
- package/dist/tools/notepad-tools.js.map +0 -1
- package/dist/tools/python-repl/__tests__/bridge-manager-cleanup.test.d.ts +0 -2
- package/dist/tools/python-repl/__tests__/bridge-manager-cleanup.test.d.ts.map +0 -1
- package/dist/tools/python-repl/__tests__/bridge-manager-cleanup.test.js +0 -109
- package/dist/tools/python-repl/__tests__/bridge-manager-cleanup.test.js.map +0 -1
- package/dist/tools/python-repl/__tests__/tcp-fallback.test.d.ts +0 -2
- package/dist/tools/python-repl/__tests__/tcp-fallback.test.d.ts.map +0 -1
- package/dist/tools/python-repl/__tests__/tcp-fallback.test.js +0 -138
- package/dist/tools/python-repl/__tests__/tcp-fallback.test.js.map +0 -1
- package/dist/tools/python-repl/bridge-manager.d.ts +0 -93
- package/dist/tools/python-repl/bridge-manager.d.ts.map +0 -1
- package/dist/tools/python-repl/bridge-manager.js +0 -744
- package/dist/tools/python-repl/bridge-manager.js.map +0 -1
- package/dist/tools/python-repl/index.d.ts +0 -40
- package/dist/tools/python-repl/index.d.ts.map +0 -1
- package/dist/tools/python-repl/index.js +0 -36
- package/dist/tools/python-repl/index.js.map +0 -1
- package/dist/tools/python-repl/paths.d.ts +0 -92
- package/dist/tools/python-repl/paths.d.ts.map +0 -1
- package/dist/tools/python-repl/paths.js +0 -228
- package/dist/tools/python-repl/paths.js.map +0 -1
- package/dist/tools/python-repl/session-lock.d.ts +0 -111
- package/dist/tools/python-repl/session-lock.d.ts.map +0 -1
- package/dist/tools/python-repl/session-lock.js +0 -494
- package/dist/tools/python-repl/session-lock.js.map +0 -1
- package/dist/tools/python-repl/socket-client.d.ts +0 -42
- package/dist/tools/python-repl/socket-client.d.ts.map +0 -1
- package/dist/tools/python-repl/socket-client.js +0 -194
- package/dist/tools/python-repl/socket-client.js.map +0 -1
- package/dist/tools/python-repl/tool.d.ts +0 -100
- package/dist/tools/python-repl/tool.d.ts.map +0 -1
- package/dist/tools/python-repl/tool.js +0 -571
- package/dist/tools/python-repl/tool.js.map +0 -1
- package/dist/tools/python-repl/types.d.ts +0 -95
- package/dist/tools/python-repl/types.d.ts.map +0 -1
- package/dist/tools/python-repl/types.js +0 -2
- package/dist/tools/python-repl/types.js.map +0 -1
- package/dist/tools/resume-session.d.ts +0 -63
- package/dist/tools/resume-session.d.ts.map +0 -1
- package/dist/tools/resume-session.js +0 -106
- package/dist/tools/resume-session.js.map +0 -1
- package/dist/tools/session-history-tools.d.ts +0 -23
- package/dist/tools/session-history-tools.d.ts.map +0 -1
- package/dist/tools/session-history-tools.js +0 -41
- package/dist/tools/session-history-tools.js.map +0 -1
- package/dist/tools/shared-memory-tools.d.ts +0 -55
- package/dist/tools/shared-memory-tools.d.ts.map +0 -1
- package/dist/tools/shared-memory-tools.js +0 -250
- package/dist/tools/shared-memory-tools.js.map +0 -1
- package/dist/tools/skills-tools.d.ts +0 -75
- package/dist/tools/skills-tools.d.ts.map +0 -1
- package/dist/tools/skills-tools.js +0 -151
- package/dist/tools/skills-tools.js.map +0 -1
- package/dist/tools/state-tools.d.ts +0 -74
- package/dist/tools/state-tools.d.ts.map +0 -1
- package/dist/tools/state-tools.js +0 -888
- package/dist/tools/state-tools.js.map +0 -1
- package/dist/tools/trace-tools.d.ts +0 -40
- package/dist/tools/trace-tools.d.ts.map +0 -1
- package/dist/tools/trace-tools.js +0 -415
- package/dist/tools/trace-tools.js.map +0 -1
- package/dist/tools/types.d.ts +0 -48
- package/dist/tools/types.d.ts.map +0 -1
- package/dist/tools/types.js +0 -8
- package/dist/tools/types.js.map +0 -1
- package/dist/utils/__tests__/frontmatter.test.d.ts +0 -2
- package/dist/utils/__tests__/frontmatter.test.d.ts.map +0 -1
- package/dist/utils/__tests__/frontmatter.test.js +0 -147
- package/dist/utils/__tests__/frontmatter.test.js.map +0 -1
- package/dist/utils/__tests__/paths.test.d.ts +0 -2
- package/dist/utils/__tests__/paths.test.d.ts.map +0 -1
- package/dist/utils/__tests__/paths.test.js +0 -173
- package/dist/utils/__tests__/paths.test.js.map +0 -1
- package/dist/utils/__tests__/string-width.test.d.ts +0 -6
- package/dist/utils/__tests__/string-width.test.d.ts.map +0 -1
- package/dist/utils/__tests__/string-width.test.js +0 -173
- package/dist/utils/__tests__/string-width.test.js.map +0 -1
- package/dist/utils/config-dir.d.ts +0 -2
- package/dist/utils/config-dir.d.ts.map +0 -1
- package/dist/utils/config-dir.js +0 -6
- package/dist/utils/config-dir.js.map +0 -1
- package/dist/utils/daemon-module-path.d.ts +0 -9
- package/dist/utils/daemon-module-path.d.ts.map +0 -1
- package/dist/utils/daemon-module-path.js +0 -23
- package/dist/utils/daemon-module-path.js.map +0 -1
- package/dist/utils/frontmatter.d.ts +0 -29
- package/dist/utils/frontmatter.d.ts.map +0 -1
- package/dist/utils/frontmatter.js +0 -84
- package/dist/utils/frontmatter.js.map +0 -1
- package/dist/utils/jsonc.d.ts +0 -16
- package/dist/utils/jsonc.d.ts.map +0 -1
- package/dist/utils/jsonc.js +0 -68
- package/dist/utils/jsonc.js.map +0 -1
- package/dist/utils/omc-cli-rendering.d.ts +0 -8
- package/dist/utils/omc-cli-rendering.d.ts.map +0 -1
- package/dist/utils/omc-cli-rendering.js +0 -37
- package/dist/utils/omc-cli-rendering.js.map +0 -1
- package/dist/utils/paths.d.ts +0 -92
- package/dist/utils/paths.d.ts.map +0 -1
- package/dist/utils/paths.js +0 -308
- package/dist/utils/paths.js.map +0 -1
- package/dist/utils/resolve-node.d.ts +0 -26
- package/dist/utils/resolve-node.d.ts.map +0 -1
- package/dist/utils/resolve-node.js +0 -112
- package/dist/utils/resolve-node.js.map +0 -1
- package/dist/utils/skill-pipeline.d.ts +0 -9
- package/dist/utils/skill-pipeline.d.ts.map +0 -1
- package/dist/utils/skill-pipeline.js +0 -97
- package/dist/utils/skill-pipeline.js.map +0 -1
- package/dist/utils/skill-resources.d.ts +0 -7
- package/dist/utils/skill-resources.d.ts.map +0 -1
- package/dist/utils/skill-resources.js +0 -53
- package/dist/utils/skill-resources.js.map +0 -1
- package/dist/utils/ssrf-guard.d.ts +0 -26
- package/dist/utils/ssrf-guard.d.ts.map +0 -1
- package/dist/utils/ssrf-guard.js +0 -125
- package/dist/utils/ssrf-guard.js.map +0 -1
- package/dist/utils/string-width.d.ts +0 -80
- package/dist/utils/string-width.d.ts.map +0 -1
- package/dist/utils/string-width.js +0 -230
- package/dist/utils/string-width.js.map +0 -1
- package/dist/verification/tier-selector.d.ts +0 -40
- package/dist/verification/tier-selector.d.ts.map +0 -1
- package/dist/verification/tier-selector.js +0 -95
- package/dist/verification/tier-selector.js.map +0 -1
- package/dist/verification/tier-selector.test.d.ts +0 -2
- package/dist/verification/tier-selector.test.d.ts.map +0 -1
- package/dist/verification/tier-selector.test.js +0 -282
- package/dist/verification/tier-selector.test.js.map +0 -1
- package/docs/2026-03-06-llm-testing-system-phase1.md +0 -0
- package/docs/AGENTS.md +0 -102
- package/docs/ANALYTICS-SYSTEM.md +0 -38
- package/docs/ARCHITECTURE.md +0 -583
- package/docs/CJK-IME-KNOWN-ISSUES.md +0 -179
- package/docs/CLAUDE.md +0 -85
- package/docs/COMPATIBILITY.md +0 -1068
- package/docs/DELEGATION-ENFORCER.md +0 -277
- package/docs/FEATURES.md +0 -582
- package/docs/LOCAL_PLUGIN_INSTALL.md +0 -108
- package/docs/MIGRATION.md +0 -987
- package/docs/OPENCLAW-ROUTING.md +0 -102
- package/docs/PERFORMANCE-MONITORING.md +0 -505
- package/docs/REFERENCE.md +0 -843
- package/docs/SYNC-SYSTEM.md +0 -526
- package/docs/TIERED_AGENTS_V2.md +0 -323
- package/docs/agent-templates/README.md +0 -110
- package/docs/agent-templates/base-agent.md +0 -63
- package/docs/agent-templates/tier-instructions.md +0 -94
- package/docs/design/CONSOLIDATION_PHASE3_ROADMAP.md +0 -97
- package/docs/design/SKILLS_2_0_ADAPTATION.md +0 -115
- package/docs/design/SKILL_AUDIT_1445.md +0 -75
- package/docs/design/project-session-manager.md +0 -1033
- package/docs/fixes/agent-prefix-routing-fix.md +0 -105
- package/docs/issues/windows-hud-missing.png +0 -0
- package/docs/ko/ARCHITECTURE.md +0 -152
- package/docs/ko/FEATURES.md +0 -582
- package/docs/ko/MIGRATION.md +0 -987
- package/docs/ko/REFERENCE.md +0 -723
- package/docs/partials/agent-tiers.md +0 -156
- package/docs/partials/features.md +0 -122
- package/docs/partials/mode-hierarchy.md +0 -105
- package/docs/partials/mode-selection-guide.md +0 -92
- package/docs/partials/verification-tiers.md +0 -107
- package/docs/plans/2026-02-26-skill-optimization-design.md +0 -158
- package/docs/plans/2026-02-26-skill-optimization-impl.md +0 -606
- package/docs/plans/2026-03-06-llm-testing-system-design.md +0 -311
- package/docs/plans/2026-03-06-llm-testing-system-phase1.md +0 -1268
- package/docs/plans/2026-03-06-llm-testing-system-phase2.md +0 -3053
- package/docs/plans/2026-03-06-llm-testing-system-phase3.md +0 -1830
- package/docs/shared/agent-tiers.md +0 -156
- package/docs/shared/features.md +0 -122
- package/docs/shared/mode-hierarchy.md +0 -105
- package/docs/shared/mode-selection-guide.md +0 -92
- package/docs/shared/verification-tiers.md +0 -107
- package/docs/testing/IMPLEMENTATION.md +0 -804
- package/docs/testing/PHASE2.md +0 -266
- package/docs/testing/PHASE3.md +0 -601
- package/docs/testing/README.md +0 -634
- package/scripts/build-bridge-entry.mjs +0 -52
- package/scripts/build-cli.mjs +0 -47
- package/scripts/build-mcp-server.mjs +0 -54
- package/scripts/build-runtime-cli.mjs +0 -26
- package/scripts/build-skill-bridge.mjs +0 -32
- package/scripts/build-team-server.mjs +0 -28
- package/scripts/cleanup-orphans.mjs +0 -209
- package/scripts/code-simplifier.mjs +0 -193
- package/scripts/compose-docs.mjs +0 -44
- package/scripts/context-guard-stop.mjs +0 -268
- package/scripts/context-safety.mjs +0 -28
- package/scripts/demo-team.mjs +0 -26
- package/scripts/eval-autoresearch-json.mjs +0 -49
- package/scripts/eval-autoresearch-timed-json.mjs +0 -62
- package/scripts/find-node.sh +0 -90
- package/scripts/generate-featured-contributors.ts +0 -43
- package/scripts/keyword-detector.mjs +0 -647
- package/scripts/lib/atomic-write.mjs +0 -95
- package/scripts/lib/stdin.mjs +0 -64
- package/scripts/openclaw-gateway-demo.mjs +0 -168
- package/scripts/permission-handler.mjs +0 -21
- package/scripts/persistent-mode.cjs +0 -1098
- package/scripts/persistent-mode.mjs +0 -963
- package/scripts/plugin-setup.mjs +0 -265
- package/scripts/post-tool-use-failure.mjs +0 -177
- package/scripts/post-tool-verifier.mjs +0 -498
- package/scripts/pre-compact.mjs +0 -21
- package/scripts/pre-tool-enforcer.mjs +0 -699
- package/scripts/project-memory-posttool.mjs +0 -79
- package/scripts/project-memory-precompact.mjs +0 -33
- package/scripts/project-memory-session.mjs +0 -80
- package/scripts/qa-tests/test-custom-integration.mjs +0 -144
- package/scripts/release.ts +0 -511
- package/scripts/run-provider-advisor.js +0 -253
- package/scripts/run.cjs +0 -114
- package/scripts/session-end.mjs +0 -22
- package/scripts/session-start.mjs +0 -676
- package/scripts/session-summary.mjs +0 -241
- package/scripts/setup-claude-md.sh +0 -296
- package/scripts/setup-init.mjs +0 -21
- package/scripts/setup-maintenance.mjs +0 -21
- package/scripts/setup-progress.sh +0 -123
- package/scripts/skill-injector.mjs +0 -293
- package/scripts/status.mjs +0 -144
- package/scripts/subagent-tracker.mjs +0 -34
- package/scripts/sync-metadata.ts +0 -407
- package/scripts/sync-version.sh +0 -42
- package/scripts/test-max-attempts.ts +0 -94
- package/scripts/test-mutual-exclusion.ts +0 -152
- package/scripts/test-notepad-integration.ts +0 -495
- package/scripts/test-pr25.sh +0 -525
- package/scripts/test-remember-tags.ts +0 -121
- package/scripts/test-session-injection.ts +0 -41
- package/scripts/uninstall.sh +0 -169
- package/scripts/verify-deliverables.mjs +0 -234
- package/skills/conductor/SKILL.md +0 -200
- package/templates/deliverables.json +0 -25
- package/templates/hooks/code-simplifier.mjs +0 -200
- package/templates/hooks/keyword-detector.mjs +0 -578
- package/templates/hooks/lib/atomic-write.mjs +0 -93
- package/templates/hooks/lib/stdin.mjs +0 -62
- package/templates/hooks/persistent-mode.mjs +0 -1113
- package/templates/hooks/post-tool-use-failure.mjs +0 -180
- package/templates/hooks/post-tool-use.mjs +0 -203
- package/templates/hooks/pre-tool-use.mjs +0 -403
- package/templates/hooks/session-start.mjs +0 -457
- package/templates/hooks/stop-continuation.mjs +0 -20
- package/templates/rules/README.md +0 -41
- package/templates/rules/coding-style.md +0 -74
- package/templates/rules/git-workflow.md +0 -41
- package/templates/rules/karpathy-guidelines.md +0 -59
- package/templates/rules/performance.md +0 -40
- package/templates/rules/security.md +0 -41
- package/templates/rules/testing.md +0 -42
- /package/{agents → bundled/upstream/oh-my-claudecode/agents}/analyst.md +0 -0
- /package/{agents → bundled/upstream/oh-my-claudecode/agents}/architect.md +0 -0
- /package/{agents → bundled/upstream/oh-my-claudecode/agents}/code-reviewer.md +0 -0
- /package/{agents → bundled/upstream/oh-my-claudecode/agents}/code-simplifier.md +0 -0
- /package/{agents → bundled/upstream/oh-my-claudecode/agents}/critic.md +0 -0
- /package/{agents → bundled/upstream/oh-my-claudecode/agents}/debugger.md +0 -0
- /package/{agents → bundled/upstream/oh-my-claudecode/agents}/designer.md +0 -0
- /package/{agents → bundled/upstream/oh-my-claudecode/agents}/document-specialist.md +0 -0
- /package/{agents → bundled/upstream/oh-my-claudecode/agents}/executor.md +0 -0
- /package/{agents → bundled/upstream/oh-my-claudecode/agents}/explore.md +0 -0
- /package/{agents → bundled/upstream/oh-my-claudecode/agents}/git-master.md +0 -0
- /package/{agents → bundled/upstream/oh-my-claudecode/agents}/planner.md +0 -0
- /package/{agents → bundled/upstream/oh-my-claudecode/agents}/qa-tester.md +0 -0
- /package/{agents → bundled/upstream/oh-my-claudecode/agents}/scientist.md +0 -0
- /package/{agents → bundled/upstream/oh-my-claudecode/agents}/security-reviewer.md +0 -0
- /package/{agents → bundled/upstream/oh-my-claudecode/agents}/test-engineer.md +0 -0
- /package/{agents → bundled/upstream/oh-my-claudecode/agents}/tracer.md +0 -0
- /package/{agents → bundled/upstream/oh-my-claudecode/agents}/verifier.md +0 -0
- /package/{agents → bundled/upstream/oh-my-claudecode/agents}/writer.md +0 -0
- /package/{hooks → bundled/upstream/oh-my-claudecode/hooks}/hooks.json +0 -0
- /package/{skills → bundled/upstream/oh-my-claudecode/skills}/AGENTS.md +0 -0
- /package/{skills → bundled/upstream/oh-my-claudecode/skills}/ai-commenting/SKILL.md +0 -0
- /package/{skills → bundled/upstream/oh-my-claudecode/skills}/ai-slop-cleaner/SKILL.md +0 -0
- /package/{skills → bundled/upstream/oh-my-claudecode/skills}/analyze/SKILL.md +0 -0
- /package/{skills → bundled/upstream/oh-my-claudecode/skills}/ask/SKILL.md +0 -0
- /package/{skills → bundled/upstream/oh-my-claudecode/skills}/autopilot/SKILL.md +0 -0
- /package/{skills → bundled/upstream/oh-my-claudecode/skills}/bdd-generator/SKILL.md +0 -0
- /package/{skills → bundled/upstream/oh-my-claudecode/skills}/cancel/SKILL.md +0 -0
- /package/{skills → bundled/upstream/oh-my-claudecode/skills}/ccg/SKILL.md +0 -0
- /package/{skills → bundled/upstream/oh-my-claudecode/skills}/configure-notifications/SKILL.md +0 -0
- /package/{skills → bundled/upstream/oh-my-claudecode/skills}/deep-dive/SKILL.md +0 -0
- /package/{skills → bundled/upstream/oh-my-claudecode/skills}/deep-interview/SKILL.md +0 -0
- /package/{skills → bundled/upstream/oh-my-claudecode/skills}/deepinit/SKILL.md +0 -0
- /package/{skills → bundled/upstream/oh-my-claudecode/skills}/e2e/SKILL.md +0 -0
- /package/{skills → bundled/upstream/oh-my-claudecode/skills}/electron-driver/SKILL.md +0 -0
- /package/{skills → bundled/upstream/oh-my-claudecode/skills}/electron-driver/scripts/driver-template.js +0 -0
- /package/{skills → bundled/upstream/oh-my-claudecode/skills}/external-context/SKILL.md +0 -0
- /package/{skills → bundled/upstream/oh-my-claudecode/skills}/hud/SKILL.md +0 -0
- /package/{skills → bundled/upstream/oh-my-claudecode/skills}/learner/SKILL.md +0 -0
- /package/{skills → bundled/upstream/oh-my-claudecode/skills}/mcp-setup/SKILL.md +0 -0
- /package/{skills → bundled/upstream/oh-my-claudecode/skills}/multi-model-research/SKILL.md +0 -0
- /package/{skills → bundled/upstream/oh-my-claudecode/skills}/omc-doctor/SKILL.md +0 -0
- /package/{skills → bundled/upstream/oh-my-claudecode/skills}/omc-doctor/skill-debugger.md +0 -0
- /package/{skills → bundled/upstream/oh-my-claudecode/skills}/omc-reference/SKILL.md +0 -0
- /package/{skills → bundled/upstream/oh-my-claudecode/skills}/omc-setup/SKILL.md +0 -0
- /package/{skills → bundled/upstream/oh-my-claudecode/skills}/omc-setup/phases/01-install-claude-md.md +0 -0
- /package/{skills → bundled/upstream/oh-my-claudecode/skills}/omc-setup/phases/02-configure.md +0 -0
- /package/{skills → bundled/upstream/oh-my-claudecode/skills}/omc-setup/phases/03-integrations.md +0 -0
- /package/{skills → bundled/upstream/oh-my-claudecode/skills}/omc-setup/phases/04-welcome.md +0 -0
- /package/{skills → bundled/upstream/oh-my-claudecode/skills}/omc-teams/SKILL.md +0 -0
- /package/{skills → bundled/upstream/oh-my-claudecode/skills}/plan/SKILL.md +0 -0
- /package/{skills → bundled/upstream/oh-my-claudecode/skills}/planning-with-files/SKILL.md +0 -0
- /package/{skills → bundled/upstream/oh-my-claudecode/skills}/planning-with-files/examples.md +0 -0
- /package/{skills → bundled/upstream/oh-my-claudecode/skills}/planning-with-files/reference.md +0 -0
- /package/{skills → bundled/upstream/oh-my-claudecode/skills}/planning-with-files/scripts/check-complete.ps1 +0 -0
- /package/{skills → bundled/upstream/oh-my-claudecode/skills}/planning-with-files/scripts/check-complete.sh +0 -0
- /package/{skills → bundled/upstream/oh-my-claudecode/skills}/planning-with-files/scripts/init-session.ps1 +0 -0
- /package/{skills → bundled/upstream/oh-my-claudecode/skills}/planning-with-files/scripts/init-session.sh +0 -0
- /package/{skills → bundled/upstream/oh-my-claudecode/skills}/planning-with-files/scripts/session-catchup.py +0 -0
- /package/{skills → bundled/upstream/oh-my-claudecode/skills}/planning-with-files/templates/findings.md +0 -0
- /package/{skills → bundled/upstream/oh-my-claudecode/skills}/planning-with-files/templates/progress.md +0 -0
- /package/{skills → bundled/upstream/oh-my-claudecode/skills}/planning-with-files/templates/task_plan.md +0 -0
- /package/{skills → bundled/upstream/oh-my-claudecode/skills}/project-session-manager/SKILL.md +0 -0
- /package/{skills → bundled/upstream/oh-my-claudecode/skills}/project-session-manager/lib/config.sh +0 -0
- /package/{skills → bundled/upstream/oh-my-claudecode/skills}/project-session-manager/lib/parse.sh +0 -0
- /package/{skills → bundled/upstream/oh-my-claudecode/skills}/project-session-manager/lib/providers/azure-devops.sh +0 -0
- /package/{skills → bundled/upstream/oh-my-claudecode/skills}/project-session-manager/lib/providers/bitbucket.sh +0 -0
- /package/{skills → bundled/upstream/oh-my-claudecode/skills}/project-session-manager/lib/providers/gitea.sh +0 -0
- /package/{skills → bundled/upstream/oh-my-claudecode/skills}/project-session-manager/lib/providers/github.sh +0 -0
- /package/{skills → bundled/upstream/oh-my-claudecode/skills}/project-session-manager/lib/providers/gitlab.sh +0 -0
- /package/{skills → bundled/upstream/oh-my-claudecode/skills}/project-session-manager/lib/providers/interface.sh +0 -0
- /package/{skills → bundled/upstream/oh-my-claudecode/skills}/project-session-manager/lib/providers/jira.sh +0 -0
- /package/{skills → bundled/upstream/oh-my-claudecode/skills}/project-session-manager/lib/session.sh +0 -0
- /package/{skills → bundled/upstream/oh-my-claudecode/skills}/project-session-manager/lib/tmux.sh +0 -0
- /package/{skills → bundled/upstream/oh-my-claudecode/skills}/project-session-manager/lib/worktree.sh +0 -0
- /package/{skills → bundled/upstream/oh-my-claudecode/skills}/project-session-manager/psm.sh +0 -0
- /package/{skills → bundled/upstream/oh-my-claudecode/skills}/project-session-manager/templates/feature.md +0 -0
- /package/{skills → bundled/upstream/oh-my-claudecode/skills}/project-session-manager/templates/issue-fix.md +0 -0
- /package/{skills → bundled/upstream/oh-my-claudecode/skills}/project-session-manager/templates/pr-review.md +0 -0
- /package/{skills → bundled/upstream/oh-my-claudecode/skills}/project-session-manager/templates/projects.json +0 -0
- /package/{skills → bundled/upstream/oh-my-claudecode/skills}/quick-init-project/SKILL.md +0 -0
- /package/{skills → bundled/upstream/oh-my-claudecode/skills}/ralph/SKILL.md +0 -0
- /package/{skills → bundled/upstream/oh-my-claudecode/skills}/ralplan/SKILL.md +0 -0
- /package/{skills → bundled/upstream/oh-my-claudecode/skills}/release/SKILL.md +0 -0
- /package/{skills → bundled/upstream/oh-my-claudecode/skills}/sciomc/SKILL.md +0 -0
- /package/{skills → bundled/upstream/oh-my-claudecode/skills}/setup/SKILL.md +0 -0
- /package/{skills → bundled/upstream/oh-my-claudecode/skills}/skill/SKILL.md +0 -0
- /package/{skills → bundled/upstream/oh-my-claudecode/skills}/skill-creator/SKILL.md +0 -0
- /package/{skills → bundled/upstream/oh-my-claudecode/skills}/skill-creator/references/upstream-anthropic-skill-creator.md +0 -0
- /package/{skills → bundled/upstream/oh-my-claudecode/skills}/skill-debugger/README.md +0 -0
- /package/{skills → bundled/upstream/oh-my-claudecode/skills}/skill-debugger/SKILL.md +0 -0
- /package/{skills → bundled/upstream/oh-my-claudecode/skills}/skill-quality-analyzer/HOW_TO_USE.md +0 -0
- /package/{skills → bundled/upstream/oh-my-claudecode/skills}/skill-quality-analyzer/README.md +0 -0
- /package/{skills → bundled/upstream/oh-my-claudecode/skills}/skill-quality-analyzer/SKILL.md +0 -0
- /package/{skills → bundled/upstream/oh-my-claudecode/skills}/skill-quality-analyzer/analyzer.py +0 -0
- /package/{skills → bundled/upstream/oh-my-claudecode/skills}/skill-quality-analyzer/expected_output.json +0 -0
- /package/{skills → bundled/upstream/oh-my-claudecode/skills}/skill-quality-analyzer/sample_input.json +0 -0
- /package/{skills → bundled/upstream/oh-my-claudecode/skills}/skill-tester/README.md +0 -0
- /package/{skills → bundled/upstream/oh-my-claudecode/skills}/skill-tester/SKILL.md +0 -0
- /package/{skills → bundled/upstream/oh-my-claudecode/skills}/start-dev/SKILL.md +0 -0
- /package/{skills → bundled/upstream/oh-my-claudecode/skills}/tdd-generator/SKILL.md +0 -0
- /package/{skills → bundled/upstream/oh-my-claudecode/skills}/team/SKILL.md +0 -0
- /package/{skills → bundled/upstream/oh-my-claudecode/skills}/test-coverage/SKILL.md +0 -0
- /package/{skills → bundled/upstream/oh-my-claudecode/skills}/test-gen/SKILL.md +0 -0
- /package/{skills → bundled/upstream/oh-my-claudecode/skills}/trace/SKILL.md +0 -0
- /package/{skills → bundled/upstream/oh-my-claudecode/skills}/ultraqa/SKILL.md +0 -0
- /package/{skills → bundled/upstream/oh-my-claudecode/skills}/ultraqa.md +0 -0
- /package/{skills → bundled/upstream/oh-my-claudecode/skills}/ultrawork/SKILL.md +0 -0
- /package/{skills → bundled/upstream/oh-my-claudecode/skills}/visual-verdict/SKILL.md +0 -0
- /package/{skills → bundled/upstream/oh-my-claudecode/skills}/writer-memory/SKILL.md +0 -0
- /package/{skills → bundled/upstream/oh-my-claudecode/skills}/writer-memory/lib/character-tracker.ts +0 -0
- /package/{skills → bundled/upstream/oh-my-claudecode/skills}/writer-memory/lib/memory-manager.ts +0 -0
- /package/{skills → bundled/upstream/oh-my-claudecode/skills}/writer-memory/lib/relationship-graph.ts +0 -0
- /package/{skills → bundled/upstream/oh-my-claudecode/skills}/writer-memory/lib/scene-organizer.ts +0 -0
- /package/{skills → bundled/upstream/oh-my-claudecode/skills}/writer-memory/lib/synopsis-builder.ts +0 -0
- /package/{skills → bundled/upstream/oh-my-claudecode/skills}/writer-memory/templates/synopsis-template.md +0 -0
|
@@ -1,3053 +0,0 @@
|
|
|
1
|
-
# LLM Testing System - Phase 2 Implementation Plan
|
|
2
|
-
|
|
3
|
-
> **For Claude:** REQUIRED SUB-SKILL: Use superpowers:executing-plans to implement this plan task-by-task.
|
|
4
|
-
|
|
5
|
-
**Goal:** Extend testing system with coverage analysis, multi-language support (Python, Go, Rust), enhanced complexity analysis, contract testing, and /ultraqa integration.
|
|
6
|
-
|
|
7
|
-
**Architecture:** Build on Phase 1 foundation by adding coverage analyzers, multi-language generators, complexity analyzer, contract test generator, and enhanced test-engineer agent integration.
|
|
8
|
-
|
|
9
|
-
**Tech Stack:** TypeScript, Node.js, c8/nyc (coverage), pytest, Go testing, cargo test, OpenAPI/Pact
|
|
10
|
-
|
|
11
|
-
---
|
|
12
|
-
|
|
13
|
-
## Task 1: Coverage Analyzer for Node.js
|
|
14
|
-
|
|
15
|
-
**Files:**
|
|
16
|
-
- Create: `src/testing/analyzers/coverage.ts`
|
|
17
|
-
- Create: `src/testing/analyzers/types.ts`
|
|
18
|
-
- Create: `tests/testing/analyzers/coverage.test.ts`
|
|
19
|
-
|
|
20
|
-
**Step 1: Write the failing test**
|
|
21
|
-
|
|
22
|
-
Create `tests/testing/analyzers/coverage.test.ts`:
|
|
23
|
-
|
|
24
|
-
```typescript
|
|
25
|
-
import { describe, it, expect, vi } from 'vitest';
|
|
26
|
-
import { analyzeCoverage, identifyGaps } from '../../../src/testing/analyzers/coverage';
|
|
27
|
-
|
|
28
|
-
describe('Coverage Analyzer', () => {
|
|
29
|
-
it('should parse c8 coverage report', async () => {
|
|
30
|
-
const mockCoverageData = {
|
|
31
|
-
total: {
|
|
32
|
-
lines: { total: 100, covered: 75, pct: 75 },
|
|
33
|
-
statements: { total: 120, covered: 90, pct: 75 },
|
|
34
|
-
functions: { total: 20, covered: 18, pct: 90 },
|
|
35
|
-
branches: { total: 40, covered: 28, pct: 70 },
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
|
|
39
|
-
const result = await analyzeCoverage({
|
|
40
|
-
projectRoot: '/test/project',
|
|
41
|
-
coverageData: mockCoverageData,
|
|
42
|
-
});
|
|
43
|
-
|
|
44
|
-
expect(result.totalCoverage).toBe(75);
|
|
45
|
-
expect(result.lineCoverage).toBe(75);
|
|
46
|
-
expect(result.functionCoverage).toBe(90);
|
|
47
|
-
});
|
|
48
|
-
|
|
49
|
-
it('should identify coverage gaps', async () => {
|
|
50
|
-
const mockUncoveredLines = {
|
|
51
|
-
'src/utils/validation.ts': [42, 43, 44, 45, 46, 47, 48, 67, 68, 69, 70, 71, 72, 89],
|
|
52
|
-
};
|
|
53
|
-
|
|
54
|
-
const result = await identifyGaps({
|
|
55
|
-
projectRoot: '/test/project',
|
|
56
|
-
uncoveredLines: mockUncoveredLines,
|
|
57
|
-
});
|
|
58
|
-
|
|
59
|
-
expect(result.gaps).toHaveLength(3);
|
|
60
|
-
expect(result.gaps[0]).toMatchObject({
|
|
61
|
-
file: 'src/utils/validation.ts',
|
|
62
|
-
startLine: 42,
|
|
63
|
-
endLine: 48,
|
|
64
|
-
reason: expect.any(String),
|
|
65
|
-
});
|
|
66
|
-
});
|
|
67
|
-
});
|
|
68
|
-
```
|
|
69
|
-
|
|
70
|
-
**Step 2: Run test to verify it fails**
|
|
71
|
-
|
|
72
|
-
Run: `pnpm test tests/testing/analyzers/coverage.test.ts`
|
|
73
|
-
Expected: FAIL with "Cannot find module"
|
|
74
|
-
|
|
75
|
-
**Step 3: Implement coverage analyzer**
|
|
76
|
-
|
|
77
|
-
Create `src/testing/analyzers/types.ts`:
|
|
78
|
-
|
|
79
|
-
```typescript
|
|
80
|
-
export interface CoverageMetrics {
|
|
81
|
-
total: number;
|
|
82
|
-
covered: number;
|
|
83
|
-
pct: number;
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
export interface CoverageReport {
|
|
87
|
-
lines: CoverageMetrics;
|
|
88
|
-
statements: CoverageMetrics;
|
|
89
|
-
functions: CoverageMetrics;
|
|
90
|
-
branches: CoverageMetrics;
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
export interface CoverageAnalysisResult {
|
|
94
|
-
totalCoverage: number;
|
|
95
|
-
lineCoverage: number;
|
|
96
|
-
functionCoverage: number;
|
|
97
|
-
branchCoverage: number;
|
|
98
|
-
statementCoverage: number;
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
export interface CoverageGap {
|
|
102
|
-
file: string;
|
|
103
|
-
startLine: number;
|
|
104
|
-
endLine: number;
|
|
105
|
-
reason: string;
|
|
106
|
-
codeSnippet?: string;
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
export interface GapAnalysisResult {
|
|
110
|
-
gaps: CoverageGap[];
|
|
111
|
-
totalGaps: number;
|
|
112
|
-
}
|
|
113
|
-
```
|
|
114
|
-
|
|
115
|
-
Create `src/testing/analyzers/coverage.ts`:
|
|
116
|
-
|
|
117
|
-
```typescript
|
|
118
|
-
import fs from 'fs/promises';
|
|
119
|
-
import path from 'path';
|
|
120
|
-
import { execSync } from 'child_process';
|
|
121
|
-
import type { CoverageAnalysisResult, GapAnalysisResult, CoverageGap } from './types';
|
|
122
|
-
|
|
123
|
-
interface AnalyzeCoverageOptions {
|
|
124
|
-
projectRoot: string;
|
|
125
|
-
coverageData?: any;
|
|
126
|
-
}
|
|
127
|
-
|
|
128
|
-
export async function analyzeCoverage(options: AnalyzeCoverageOptions): Promise<CoverageAnalysisResult> {
|
|
129
|
-
const { projectRoot, coverageData } = options;
|
|
130
|
-
|
|
131
|
-
let coverage = coverageData;
|
|
132
|
-
|
|
133
|
-
// If no coverage data provided, run coverage tool
|
|
134
|
-
if (!coverage) {
|
|
135
|
-
try {
|
|
136
|
-
// Run c8 to generate coverage
|
|
137
|
-
execSync('pnpm test --coverage --reporter=json', {
|
|
138
|
-
cwd: projectRoot,
|
|
139
|
-
stdio: 'pipe',
|
|
140
|
-
});
|
|
141
|
-
|
|
142
|
-
// Read coverage report
|
|
143
|
-
const coveragePath = path.join(projectRoot, 'coverage', 'coverage-summary.json');
|
|
144
|
-
const coverageContent = await fs.readFile(coveragePath, 'utf-8');
|
|
145
|
-
coverage = JSON.parse(coverageContent);
|
|
146
|
-
} catch (error) {
|
|
147
|
-
throw new Error(`Failed to generate coverage: ${error}`);
|
|
148
|
-
}
|
|
149
|
-
}
|
|
150
|
-
|
|
151
|
-
const total = coverage.total;
|
|
152
|
-
|
|
153
|
-
return {
|
|
154
|
-
totalCoverage: total.lines.pct,
|
|
155
|
-
lineCoverage: total.lines.pct,
|
|
156
|
-
functionCoverage: total.functions.pct,
|
|
157
|
-
branchCoverage: total.branches.pct,
|
|
158
|
-
statementCoverage: total.statements.pct,
|
|
159
|
-
};
|
|
160
|
-
}
|
|
161
|
-
|
|
162
|
-
interface IdentifyGapsOptions {
|
|
163
|
-
projectRoot: string;
|
|
164
|
-
uncoveredLines: Record<string, number[]>;
|
|
165
|
-
}
|
|
166
|
-
|
|
167
|
-
export async function identifyGaps(options: IdentifyGapsOptions): Promise<GapAnalysisResult> {
|
|
168
|
-
const { projectRoot, uncoveredLines } = options;
|
|
169
|
-
const gaps: CoverageGap[] = [];
|
|
170
|
-
|
|
171
|
-
for (const [file, lines] of Object.entries(uncoveredLines)) {
|
|
172
|
-
// Group consecutive lines into ranges
|
|
173
|
-
const ranges = groupConsecutiveLines(lines);
|
|
174
|
-
|
|
175
|
-
for (const range of ranges) {
|
|
176
|
-
// Read code snippet
|
|
177
|
-
const filePath = path.join(projectRoot, file);
|
|
178
|
-
let codeSnippet: string | undefined;
|
|
179
|
-
|
|
180
|
-
try {
|
|
181
|
-
const content = await fs.readFile(filePath, 'utf-8');
|
|
182
|
-
const allLines = content.split('\n');
|
|
183
|
-
codeSnippet = allLines.slice(range.start - 1, range.end).join('\n');
|
|
184
|
-
} catch (error) {
|
|
185
|
-
// File might not exist in test environment
|
|
186
|
-
}
|
|
187
|
-
|
|
188
|
-
// Analyze reason for gap
|
|
189
|
-
const reason = analyzeGapReason(codeSnippet || '');
|
|
190
|
-
|
|
191
|
-
gaps.push({
|
|
192
|
-
file,
|
|
193
|
-
startLine: range.start,
|
|
194
|
-
endLine: range.end,
|
|
195
|
-
reason,
|
|
196
|
-
codeSnippet,
|
|
197
|
-
});
|
|
198
|
-
}
|
|
199
|
-
}
|
|
200
|
-
|
|
201
|
-
return {
|
|
202
|
-
gaps,
|
|
203
|
-
totalGaps: gaps.length,
|
|
204
|
-
};
|
|
205
|
-
}
|
|
206
|
-
|
|
207
|
-
function groupConsecutiveLines(lines: number[]): Array<{ start: number; end: number }> {
|
|
208
|
-
if (lines.length === 0) return [];
|
|
209
|
-
|
|
210
|
-
const sorted = [...lines].sort((a, b) => a - b);
|
|
211
|
-
const ranges: Array<{ start: number; end: number }> = [];
|
|
212
|
-
let start = sorted[0];
|
|
213
|
-
let end = sorted[0];
|
|
214
|
-
|
|
215
|
-
for (let i = 1; i < sorted.length; i++) {
|
|
216
|
-
if (sorted[i] === end + 1) {
|
|
217
|
-
end = sorted[i];
|
|
218
|
-
} else {
|
|
219
|
-
ranges.push({ start, end });
|
|
220
|
-
start = sorted[i];
|
|
221
|
-
end = sorted[i];
|
|
222
|
-
}
|
|
223
|
-
}
|
|
224
|
-
|
|
225
|
-
ranges.push({ start, end });
|
|
226
|
-
return ranges;
|
|
227
|
-
}
|
|
228
|
-
|
|
229
|
-
function analyzeGapReason(code: string): string {
|
|
230
|
-
if (code.includes('catch') || code.includes('throw')) {
|
|
231
|
-
return 'Error handling not covered';
|
|
232
|
-
}
|
|
233
|
-
if (code.includes('if') || code.includes('else')) {
|
|
234
|
-
return 'Conditional branch not covered';
|
|
235
|
-
}
|
|
236
|
-
if (code.includes('null') || code.includes('undefined')) {
|
|
237
|
-
return 'Null/undefined check not covered';
|
|
238
|
-
}
|
|
239
|
-
return 'Code path not covered';
|
|
240
|
-
}
|
|
241
|
-
```
|
|
242
|
-
|
|
243
|
-
**Step 4: Run test to verify it passes**
|
|
244
|
-
|
|
245
|
-
Run: `pnpm test tests/testing/analyzers/coverage.test.ts`
|
|
246
|
-
Expected: PASS
|
|
247
|
-
|
|
248
|
-
**Step 5: Commit**
|
|
249
|
-
|
|
250
|
-
```bash
|
|
251
|
-
git add src/testing/analyzers/ tests/testing/analyzers/
|
|
252
|
-
git commit -m "feat(testing): add coverage analyzer for Node.js
|
|
253
|
-
|
|
254
|
-
- Parse c8/nyc coverage reports
|
|
255
|
-
- Identify coverage gaps with line ranges
|
|
256
|
-
- Analyze reasons for uncovered code
|
|
257
|
-
- Group consecutive uncovered lines
|
|
258
|
-
|
|
259
|
-
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>"
|
|
260
|
-
```
|
|
261
|
-
|
|
262
|
-
---
|
|
263
|
-
|
|
264
|
-
## Task 2: Python Test Generator
|
|
265
|
-
|
|
266
|
-
**Files:**
|
|
267
|
-
- Create: `src/testing/generators/python.ts`
|
|
268
|
-
- Create: `src/testing/detectors/python.ts`
|
|
269
|
-
- Create: `tests/testing/generators/python.test.ts`
|
|
270
|
-
|
|
271
|
-
**Step 1: Write the failing test**
|
|
272
|
-
|
|
273
|
-
Create `tests/testing/generators/python.test.ts`:
|
|
274
|
-
|
|
275
|
-
```typescript
|
|
276
|
-
import { describe, it, expect } from 'vitest';
|
|
277
|
-
import { generatePythonTest } from '../../../src/testing/generators/python';
|
|
278
|
-
|
|
279
|
-
describe('generatePythonTest', () => {
|
|
280
|
-
it('should generate pytest test for simple function', async () => {
|
|
281
|
-
const functionCode = `
|
|
282
|
-
def add(a: int, b: int) -> int:
|
|
283
|
-
"""Add two numbers."""
|
|
284
|
-
return a + b
|
|
285
|
-
`;
|
|
286
|
-
|
|
287
|
-
const result = await generatePythonTest({
|
|
288
|
-
filePath: 'src/utils/math.py',
|
|
289
|
-
code: functionCode,
|
|
290
|
-
testFramework: 'pytest',
|
|
291
|
-
});
|
|
292
|
-
|
|
293
|
-
expect(result.testCode).toContain('import pytest');
|
|
294
|
-
expect(result.testCode).toContain('def test_add');
|
|
295
|
-
expect(result.testCode).toContain('assert add(2, 3) == 5');
|
|
296
|
-
expect(result.testFilePath).toBe('tests/test_math.py');
|
|
297
|
-
});
|
|
298
|
-
|
|
299
|
-
it('should generate test for class with methods', async () => {
|
|
300
|
-
const classCode = `
|
|
301
|
-
class Calculator:
|
|
302
|
-
def add(self, a: int, b: int) -> int:
|
|
303
|
-
return a + b
|
|
304
|
-
|
|
305
|
-
def subtract(self, a: int, b: int) -> int:
|
|
306
|
-
return a - b
|
|
307
|
-
`;
|
|
308
|
-
|
|
309
|
-
const result = await generatePythonTest({
|
|
310
|
-
filePath: 'src/calculator.py',
|
|
311
|
-
code: classCode,
|
|
312
|
-
testFramework: 'pytest',
|
|
313
|
-
});
|
|
314
|
-
|
|
315
|
-
expect(result.testCode).toContain('class TestCalculator');
|
|
316
|
-
expect(result.testCode).toContain('def test_add');
|
|
317
|
-
expect(result.testCode).toContain('def test_subtract');
|
|
318
|
-
});
|
|
319
|
-
});
|
|
320
|
-
```
|
|
321
|
-
|
|
322
|
-
**Step 2: Run test to verify it fails**
|
|
323
|
-
|
|
324
|
-
Run: `pnpm test tests/testing/generators/python.test.ts`
|
|
325
|
-
Expected: FAIL with "Cannot find module"
|
|
326
|
-
|
|
327
|
-
**Step 3: Implement Python test generator**
|
|
328
|
-
|
|
329
|
-
Create `src/testing/generators/python.ts`:
|
|
330
|
-
|
|
331
|
-
```typescript
|
|
332
|
-
interface PythonTestOptions {
|
|
333
|
-
filePath: string;
|
|
334
|
-
code: string;
|
|
335
|
-
testFramework: 'pytest' | 'unittest';
|
|
336
|
-
}
|
|
337
|
-
|
|
338
|
-
interface PythonTestResult {
|
|
339
|
-
testFilePath: string;
|
|
340
|
-
testCode: string;
|
|
341
|
-
}
|
|
342
|
-
|
|
343
|
-
export async function generatePythonTest(options: PythonTestOptions): Promise<PythonTestResult> {
|
|
344
|
-
const { filePath, code, testFramework } = options;
|
|
345
|
-
|
|
346
|
-
// Extract module name from file path
|
|
347
|
-
const fileName = filePath.split('/').pop()?.replace(/\.py$/, '') || 'module';
|
|
348
|
-
|
|
349
|
-
// Generate test file path (pytest convention: tests/test_*.py)
|
|
350
|
-
const testFilePath = `tests/test_${fileName}.py`;
|
|
351
|
-
|
|
352
|
-
// Parse code to find functions and classes
|
|
353
|
-
const functions = extractPythonFunctions(code);
|
|
354
|
-
const classes = extractPythonClasses(code);
|
|
355
|
-
|
|
356
|
-
let testCode = '';
|
|
357
|
-
|
|
358
|
-
if (testFramework === 'pytest') {
|
|
359
|
-
testCode = generatePytestCode(fileName, functions, classes);
|
|
360
|
-
} else {
|
|
361
|
-
testCode = generateUnittestCode(fileName, functions, classes);
|
|
362
|
-
}
|
|
363
|
-
|
|
364
|
-
return { testFilePath, testCode };
|
|
365
|
-
}
|
|
366
|
-
|
|
367
|
-
interface PythonFunction {
|
|
368
|
-
name: string;
|
|
369
|
-
params: string[];
|
|
370
|
-
isAsync: boolean;
|
|
371
|
-
}
|
|
372
|
-
|
|
373
|
-
interface PythonClass {
|
|
374
|
-
name: string;
|
|
375
|
-
methods: PythonFunction[];
|
|
376
|
-
}
|
|
377
|
-
|
|
378
|
-
function extractPythonFunctions(code: string): PythonFunction[] {
|
|
379
|
-
const functions: PythonFunction[] = [];
|
|
380
|
-
const functionRegex = /^(async\s+)?def\s+(\w+)\s*\((.*?)\)/gm;
|
|
381
|
-
let match;
|
|
382
|
-
|
|
383
|
-
while ((match = functionRegex.exec(code)) !== null) {
|
|
384
|
-
const isAsync = !!match[1];
|
|
385
|
-
const name = match[2];
|
|
386
|
-
const paramsStr = match[3];
|
|
387
|
-
|
|
388
|
-
// Skip if it's a method (inside a class)
|
|
389
|
-
const beforeDef = code.substring(0, match.index);
|
|
390
|
-
const lastClassMatch = beforeDef.lastIndexOf('class ');
|
|
391
|
-
const lastFunctionMatch = beforeDef.lastIndexOf('\ndef ');
|
|
392
|
-
|
|
393
|
-
if (lastClassMatch > lastFunctionMatch) {
|
|
394
|
-
continue; // This is a method, not a function
|
|
395
|
-
}
|
|
396
|
-
|
|
397
|
-
const params = paramsStr
|
|
398
|
-
.split(',')
|
|
399
|
-
.map(p => p.trim().split(':')[0].trim())
|
|
400
|
-
.filter(p => p && p !== 'self');
|
|
401
|
-
|
|
402
|
-
functions.push({ name, params, isAsync });
|
|
403
|
-
}
|
|
404
|
-
|
|
405
|
-
return functions;
|
|
406
|
-
}
|
|
407
|
-
|
|
408
|
-
function extractPythonClasses(code: string): PythonClass[] {
|
|
409
|
-
const classes: PythonClass[] = [];
|
|
410
|
-
const classRegex = /class\s+(\w+).*?:/g;
|
|
411
|
-
let match;
|
|
412
|
-
|
|
413
|
-
while ((match = classRegex.exec(code)) !== null) {
|
|
414
|
-
const className = match[1];
|
|
415
|
-
const classStart = match.index;
|
|
416
|
-
|
|
417
|
-
// Find all methods in this class
|
|
418
|
-
const methods: PythonFunction[] = [];
|
|
419
|
-
const methodRegex = /^\s+(async\s+)?def\s+(\w+)\s*\((.*?)\)/gm;
|
|
420
|
-
methodRegex.lastIndex = classStart;
|
|
421
|
-
|
|
422
|
-
let methodMatch;
|
|
423
|
-
while ((methodMatch = methodRegex.exec(code)) !== null) {
|
|
424
|
-
// Stop if we've moved to another class
|
|
425
|
-
const nextClass = code.indexOf('\nclass ', classStart + 1);
|
|
426
|
-
if (nextClass !== -1 && methodMatch.index > nextClass) {
|
|
427
|
-
break;
|
|
428
|
-
}
|
|
429
|
-
|
|
430
|
-
const isAsync = !!methodMatch[1];
|
|
431
|
-
const methodName = methodMatch[2];
|
|
432
|
-
const paramsStr = methodMatch[3];
|
|
433
|
-
|
|
434
|
-
const params = paramsStr
|
|
435
|
-
.split(',')
|
|
436
|
-
.map(p => p.trim().split(':')[0].trim())
|
|
437
|
-
.filter(p => p && p !== 'self');
|
|
438
|
-
|
|
439
|
-
methods.push({ name: methodName, params, isAsync });
|
|
440
|
-
}
|
|
441
|
-
|
|
442
|
-
classes.push({ name: className, methods });
|
|
443
|
-
}
|
|
444
|
-
|
|
445
|
-
return classes;
|
|
446
|
-
}
|
|
447
|
-
|
|
448
|
-
function generatePytestCode(moduleName: string, functions: PythonFunction[], classes: PythonClass[]): string {
|
|
449
|
-
let code = `import pytest\nfrom src.${moduleName} import ${[...functions.map(f => f.name), ...classes.map(c => c.name)].join(', ')}\n\n`;
|
|
450
|
-
|
|
451
|
-
// Generate tests for standalone functions
|
|
452
|
-
for (const func of functions) {
|
|
453
|
-
code += generatePytestFunction(func);
|
|
454
|
-
}
|
|
455
|
-
|
|
456
|
-
// Generate tests for classes
|
|
457
|
-
for (const cls of classes) {
|
|
458
|
-
code += `class Test${cls.name}:\n`;
|
|
459
|
-
for (const method of cls.methods) {
|
|
460
|
-
code += generatePytestMethod(cls.name, method);
|
|
461
|
-
}
|
|
462
|
-
code += '\n';
|
|
463
|
-
}
|
|
464
|
-
|
|
465
|
-
return code;
|
|
466
|
-
}
|
|
467
|
-
|
|
468
|
-
function generatePytestFunction(func: PythonFunction): string {
|
|
469
|
-
const testName = `test_${func.name}`;
|
|
470
|
-
const asyncPrefix = func.isAsync ? '@pytest.mark.asyncio\nasync ' : '';
|
|
471
|
-
|
|
472
|
-
// Generate simple test cases based on function name
|
|
473
|
-
let testBody = '';
|
|
474
|
-
if (func.name === 'add') {
|
|
475
|
-
testBody = ` assert add(2, 3) == 5\n assert add(-1, 1) == 0\n assert add(0, 0) == 0`;
|
|
476
|
-
} else {
|
|
477
|
-
testBody = ` # TODO: Add test cases for ${func.name}\n assert ${func.name} is not None`;
|
|
478
|
-
}
|
|
479
|
-
|
|
480
|
-
return `${asyncPrefix}def ${testName}():\n${testBody}\n\n`;
|
|
481
|
-
}
|
|
482
|
-
|
|
483
|
-
function generatePytestMethod(className: string, method: PythonFunction): string {
|
|
484
|
-
const testName = `test_${method.name}`;
|
|
485
|
-
const asyncPrefix = method.isAsync ? ' @pytest.mark.asyncio\n async ' : ' ';
|
|
486
|
-
|
|
487
|
-
let testBody = '';
|
|
488
|
-
if (method.name === 'add') {
|
|
489
|
-
testBody = ` instance = ${className}()\n assert instance.add(2, 3) == 5\n assert instance.add(-1, 1) == 0`;
|
|
490
|
-
} else if (method.name === 'subtract') {
|
|
491
|
-
testBody = ` instance = ${className}()\n assert instance.subtract(5, 3) == 2\n assert instance.subtract(0, 0) == 0`;
|
|
492
|
-
} else {
|
|
493
|
-
testBody = ` instance = ${className}()\n # TODO: Add test cases for ${method.name}\n assert instance.${method.name} is not None`;
|
|
494
|
-
}
|
|
495
|
-
|
|
496
|
-
return `${asyncPrefix}def ${testName}(self):\n${testBody}\n\n`;
|
|
497
|
-
}
|
|
498
|
-
|
|
499
|
-
function generateUnittestCode(moduleName: string, functions: PythonFunction[], classes: PythonClass[]): string {
|
|
500
|
-
let code = `import unittest\nfrom src.${moduleName} import ${[...functions.map(f => f.name), ...classes.map(c => c.name)].join(', ')}\n\n`;
|
|
501
|
-
|
|
502
|
-
// Generate test class for standalone functions
|
|
503
|
-
if (functions.length > 0) {
|
|
504
|
-
code += `class TestFunctions(unittest.TestCase):\n`;
|
|
505
|
-
for (const func of functions) {
|
|
506
|
-
code += generateUnittestFunction(func);
|
|
507
|
-
}
|
|
508
|
-
code += '\n';
|
|
509
|
-
}
|
|
510
|
-
|
|
511
|
-
// Generate test classes for classes
|
|
512
|
-
for (const cls of classes) {
|
|
513
|
-
code += `class Test${cls.name}(unittest.TestCase):\n`;
|
|
514
|
-
for (const method of cls.methods) {
|
|
515
|
-
code += generateUnittestMethod(cls.name, method);
|
|
516
|
-
}
|
|
517
|
-
code += '\n';
|
|
518
|
-
}
|
|
519
|
-
|
|
520
|
-
code += `\nif __name__ == '__main__':\n unittest.main()\n`;
|
|
521
|
-
|
|
522
|
-
return code;
|
|
523
|
-
}
|
|
524
|
-
|
|
525
|
-
function generateUnittestFunction(func: PythonFunction): string {
|
|
526
|
-
const testName = `test_${func.name}`;
|
|
527
|
-
|
|
528
|
-
let testBody = '';
|
|
529
|
-
if (func.name === 'add') {
|
|
530
|
-
testBody = ` self.assertEqual(add(2, 3), 5)\n self.assertEqual(add(-1, 1), 0)\n self.assertEqual(add(0, 0), 0)`;
|
|
531
|
-
} else {
|
|
532
|
-
testBody = ` # TODO: Add test cases for ${func.name}\n self.assertIsNotNone(${func.name})`;
|
|
533
|
-
}
|
|
534
|
-
|
|
535
|
-
return ` def ${testName}(self):\n${testBody}\n\n`;
|
|
536
|
-
}
|
|
537
|
-
|
|
538
|
-
function generateUnittestMethod(className: string, method: PythonFunction): string {
|
|
539
|
-
const testName = `test_${method.name}`;
|
|
540
|
-
|
|
541
|
-
let testBody = '';
|
|
542
|
-
if (method.name === 'add') {
|
|
543
|
-
testBody = ` instance = ${className}()\n self.assertEqual(instance.add(2, 3), 5)\n self.assertEqual(instance.add(-1, 1), 0)`;
|
|
544
|
-
} else if (method.name === 'subtract') {
|
|
545
|
-
testBody = ` instance = ${className}()\n self.assertEqual(instance.subtract(5, 3), 2)\n self.assertEqual(instance.subtract(0, 0), 0)`;
|
|
546
|
-
} else {
|
|
547
|
-
testBody = ` instance = ${className}()\n # TODO: Add test cases for ${method.name}\n self.assertIsNotNone(instance.${method.name})`;
|
|
548
|
-
}
|
|
549
|
-
|
|
550
|
-
return ` def ${testName}(self):\n${testBody}\n\n`;
|
|
551
|
-
}
|
|
552
|
-
```
|
|
553
|
-
|
|
554
|
-
Create `src/testing/detectors/python.ts`:
|
|
555
|
-
|
|
556
|
-
```typescript
|
|
557
|
-
import fs from 'fs/promises';
|
|
558
|
-
import path from 'path';
|
|
559
|
-
import type { TechStack } from '../types';
|
|
560
|
-
|
|
561
|
-
export async function detectPythonStack(projectRoot: string): Promise<Partial<TechStack>> {
|
|
562
|
-
const stack: Partial<TechStack> = {};
|
|
563
|
-
|
|
564
|
-
try {
|
|
565
|
-
// Check for requirements.txt
|
|
566
|
-
const requirementsPath = path.join(projectRoot, 'requirements.txt');
|
|
567
|
-
const requirements = await fs.readFile(requirementsPath, 'utf-8');
|
|
568
|
-
|
|
569
|
-
stack.backend = {
|
|
570
|
-
language: 'python',
|
|
571
|
-
testFramework: requirements.includes('pytest') ? 'pytest' : requirements.includes('unittest') ? 'unittest' : undefined,
|
|
572
|
-
};
|
|
573
|
-
|
|
574
|
-
// Check for databases
|
|
575
|
-
const databases: string[] = [];
|
|
576
|
-
if (requirements.includes('psycopg2') || requirements.includes('psycopg3')) databases.push('postgresql');
|
|
577
|
-
if (requirements.includes('pymysql') || requirements.includes('mysql-connector')) databases.push('mysql');
|
|
578
|
-
if (requirements.includes('pymongo')) databases.push('mongodb');
|
|
579
|
-
if (databases.length > 0) stack.databases = databases;
|
|
580
|
-
|
|
581
|
-
// Check for API frameworks
|
|
582
|
-
const apis: ('rest' | 'graphql')[] = [];
|
|
583
|
-
if (requirements.includes('flask') || requirements.includes('fastapi') || requirements.includes('django')) apis.push('rest');
|
|
584
|
-
if (requirements.includes('graphene') || requirements.includes('strawberry')) apis.push('graphql');
|
|
585
|
-
if (apis.length > 0) stack.apis = apis;
|
|
586
|
-
} catch (error) {
|
|
587
|
-
// requirements.txt not found
|
|
588
|
-
}
|
|
589
|
-
|
|
590
|
-
return stack;
|
|
591
|
-
}
|
|
592
|
-
```
|
|
593
|
-
|
|
594
|
-
**Step 4: Run test to verify it passes**
|
|
595
|
-
|
|
596
|
-
Run: `pnpm test tests/testing/generators/python.test.ts`
|
|
597
|
-
Expected: PASS
|
|
598
|
-
|
|
599
|
-
**Step 5: Commit**
|
|
600
|
-
|
|
601
|
-
```bash
|
|
602
|
-
git add src/testing/generators/python.ts src/testing/detectors/python.ts tests/testing/generators/python.test.ts
|
|
603
|
-
git commit -m "feat(testing): add Python test generator with pytest support
|
|
604
|
-
|
|
605
|
-
- Generate pytest tests for functions and classes
|
|
606
|
-
- Support unittest framework
|
|
607
|
-
- Extract functions and classes from Python code
|
|
608
|
-
- Auto-detect async functions
|
|
609
|
-
- Generate test file paths following pytest conventions
|
|
610
|
-
|
|
611
|
-
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>"
|
|
612
|
-
```
|
|
613
|
-
|
|
614
|
-
---
|
|
615
|
-
|
|
616
|
-
## Task 3: Go Test Generator
|
|
617
|
-
|
|
618
|
-
**Files:**
|
|
619
|
-
- Create: `src/testing/generators/go.ts`
|
|
620
|
-
- Create: `src/testing/detectors/go.ts`
|
|
621
|
-
- Create: `tests/testing/generators/go.test.ts`
|
|
622
|
-
|
|
623
|
-
**Step 1: Write the failing test**
|
|
624
|
-
|
|
625
|
-
Create `tests/testing/generators/go.test.ts`:
|
|
626
|
-
|
|
627
|
-
```typescript
|
|
628
|
-
import { describe, it, expect } from 'vitest';
|
|
629
|
-
import { generateGoTest } from '../../../src/testing/generators/go';
|
|
630
|
-
|
|
631
|
-
describe('generateGoTest', () => {
|
|
632
|
-
it('should generate Go test for simple function', async () => {
|
|
633
|
-
const functionCode = `
|
|
634
|
-
package math
|
|
635
|
-
|
|
636
|
-
func Add(a, b int) int {
|
|
637
|
-
return a + b
|
|
638
|
-
}
|
|
639
|
-
`;
|
|
640
|
-
|
|
641
|
-
const result = await generateGoTest({
|
|
642
|
-
filePath: 'pkg/math/math.go',
|
|
643
|
-
code: functionCode,
|
|
644
|
-
packageName: 'math',
|
|
645
|
-
});
|
|
646
|
-
|
|
647
|
-
expect(result.testCode).toContain('package math');
|
|
648
|
-
expect(result.testCode).toContain('import "testing"');
|
|
649
|
-
expect(result.testCode).toContain('func TestAdd(t *testing.T)');
|
|
650
|
-
expect(result.testFilePath).toBe('pkg/math/math_test.go');
|
|
651
|
-
});
|
|
652
|
-
|
|
653
|
-
it('should generate table-driven tests', async () => {
|
|
654
|
-
const functionCode = `
|
|
655
|
-
package utils
|
|
656
|
-
|
|
657
|
-
func IsValid(input string) bool {
|
|
658
|
-
return len(input) > 0
|
|
659
|
-
}
|
|
660
|
-
`;
|
|
661
|
-
|
|
662
|
-
const result = await generateGoTest({
|
|
663
|
-
filePath: 'pkg/utils/validation.go',
|
|
664
|
-
code: functionCode,
|
|
665
|
-
packageName: 'utils',
|
|
666
|
-
});
|
|
667
|
-
|
|
668
|
-
expect(result.testCode).toContain('tests := []struct');
|
|
669
|
-
expect(result.testCode).toContain('t.Run(');
|
|
670
|
-
});
|
|
671
|
-
});
|
|
672
|
-
```
|
|
673
|
-
|
|
674
|
-
**Step 2: Run test to verify it fails**
|
|
675
|
-
|
|
676
|
-
Run: `pnpm test tests/testing/generators/go.test.ts`
|
|
677
|
-
Expected: FAIL with "Cannot find module"
|
|
678
|
-
|
|
679
|
-
**Step 3: Implement Go test generator**
|
|
680
|
-
|
|
681
|
-
Create `src/testing/generators/go.ts`:
|
|
682
|
-
|
|
683
|
-
```typescript
|
|
684
|
-
interface GoTestOptions {
|
|
685
|
-
filePath: string;
|
|
686
|
-
code: string;
|
|
687
|
-
packageName: string;
|
|
688
|
-
}
|
|
689
|
-
|
|
690
|
-
interface GoTestResult {
|
|
691
|
-
testFilePath: string;
|
|
692
|
-
testCode: string;
|
|
693
|
-
}
|
|
694
|
-
|
|
695
|
-
export async function generateGoTest(options: GoTestOptions): Promise<GoTestResult> {
|
|
696
|
-
const { filePath, code, packageName } = options;
|
|
697
|
-
|
|
698
|
-
// Generate test file path (Go convention: *_test.go)
|
|
699
|
-
const testFilePath = filePath.replace(/\.go$/, '_test.go');
|
|
700
|
-
|
|
701
|
-
// Extract functions from code
|
|
702
|
-
const functions = extractGoFunctions(code);
|
|
703
|
-
|
|
704
|
-
// Generate test code
|
|
705
|
-
const testCode = generateGoTestCode(packageName, functions);
|
|
706
|
-
|
|
707
|
-
return { testFilePath, testCode };
|
|
708
|
-
}
|
|
709
|
-
|
|
710
|
-
interface GoFunction {
|
|
711
|
-
name: string;
|
|
712
|
-
params: Array<{ name: string; type: string }>;
|
|
713
|
-
returnType: string;
|
|
714
|
-
}
|
|
715
|
-
|
|
716
|
-
function extractGoFunctions(code: string): GoFunction[] {
|
|
717
|
-
const functions: GoFunction[] = [];
|
|
718
|
-
const functionRegex = /func\s+(\w+)\s*\((.*?)\)\s*(.*?)\s*{/g;
|
|
719
|
-
let match;
|
|
720
|
-
|
|
721
|
-
while ((match = functionRegex.exec(code)) !== null) {
|
|
722
|
-
const name = match[1];
|
|
723
|
-
const paramsStr = match[2];
|
|
724
|
-
const returnType = match[3].trim();
|
|
725
|
-
|
|
726
|
-
// Skip methods (have receiver)
|
|
727
|
-
if (paramsStr.includes(')') && paramsStr.indexOf(')') < paramsStr.lastIndexOf('(')) {
|
|
728
|
-
continue;
|
|
729
|
-
}
|
|
730
|
-
|
|
731
|
-
const params = parseGoParams(paramsStr);
|
|
732
|
-
|
|
733
|
-
functions.push({ name, params, returnType });
|
|
734
|
-
}
|
|
735
|
-
|
|
736
|
-
return functions;
|
|
737
|
-
}
|
|
738
|
-
|
|
739
|
-
function parseGoParams(paramsStr: string): Array<{ name: string; type: string }> {
|
|
740
|
-
if (!paramsStr.trim()) return [];
|
|
741
|
-
|
|
742
|
-
const params: Array<{ name: string; type: string }> = [];
|
|
743
|
-
const parts = paramsStr.split(',').map(p => p.trim());
|
|
744
|
-
|
|
745
|
-
for (const part of parts) {
|
|
746
|
-
const tokens = part.split(/\s+/);
|
|
747
|
-
if (tokens.length >= 2) {
|
|
748
|
-
params.push({ name: tokens[0], type: tokens.slice(1).join(' ') });
|
|
749
|
-
}
|
|
750
|
-
}
|
|
751
|
-
|
|
752
|
-
return params;
|
|
753
|
-
}
|
|
754
|
-
|
|
755
|
-
function generateGoTestCode(packageName: string, functions: GoFunction[]): string {
|
|
756
|
-
let code = `package ${packageName}\n\nimport "testing"\n\n`;
|
|
757
|
-
|
|
758
|
-
for (const func of functions) {
|
|
759
|
-
code += generateGoTestFunction(func);
|
|
760
|
-
}
|
|
761
|
-
|
|
762
|
-
return code;
|
|
763
|
-
}
|
|
764
|
-
|
|
765
|
-
function generateGoTestFunction(func: GoFunction): string {
|
|
766
|
-
const testName = `Test${func.name}`;
|
|
767
|
-
|
|
768
|
-
// Determine if we should use table-driven tests
|
|
769
|
-
const useTableDriven = shouldUseTableDriven(func);
|
|
770
|
-
|
|
771
|
-
if (useTableDriven) {
|
|
772
|
-
return generateTableDrivenTest(func);
|
|
773
|
-
} else {
|
|
774
|
-
return generateSimpleTest(func);
|
|
775
|
-
}
|
|
776
|
-
}
|
|
777
|
-
|
|
778
|
-
function shouldUseTableDriven(func: GoFunction): boolean {
|
|
779
|
-
// Use table-driven tests for functions with simple inputs/outputs
|
|
780
|
-
return func.params.length > 0 && func.returnType !== '';
|
|
781
|
-
}
|
|
782
|
-
|
|
783
|
-
function generateTableDrivenTest(func: GoFunction): string {
|
|
784
|
-
const testName = `Test${func.name}`;
|
|
785
|
-
|
|
786
|
-
// Generate test cases based on function name
|
|
787
|
-
let testCases = '';
|
|
788
|
-
if (func.name === 'Add') {
|
|
789
|
-
testCases = ` {name: "positive numbers", args: args{a: 2, b: 3}, want: 5},
|
|
790
|
-
{name: "negative numbers", args: args{a: -1, b: 1}, want: 0},
|
|
791
|
-
{name: "zeros", args: args{a: 0, b: 0}, want: 0},`;
|
|
792
|
-
} else if (func.name === 'IsValid') {
|
|
793
|
-
testCases = ` {name: "valid input", args: args{input: "test"}, want: true},
|
|
794
|
-
{name: "empty input", args: args{input: ""}, want: false},`;
|
|
795
|
-
} else {
|
|
796
|
-
testCases = ` // TODO: Add test cases`;
|
|
797
|
-
}
|
|
798
|
-
|
|
799
|
-
const paramFields = func.params.map(p => `${p.name} ${p.type}`).join('; ');
|
|
800
|
-
|
|
801
|
-
return `func ${testName}(t *testing.T) {
|
|
802
|
-
type args struct {
|
|
803
|
-
${paramFields}
|
|
804
|
-
}
|
|
805
|
-
tests := []struct {
|
|
806
|
-
name string
|
|
807
|
-
args args
|
|
808
|
-
want ${func.returnType}
|
|
809
|
-
}{
|
|
810
|
-
${testCases}
|
|
811
|
-
}
|
|
812
|
-
for _, tt := range tests {
|
|
813
|
-
t.Run(tt.name, func(t *testing.T) {
|
|
814
|
-
got := ${func.name}(${func.params.map(p => `tt.args.${p.name}`).join(', ')})
|
|
815
|
-
if got != tt.want {
|
|
816
|
-
t.Errorf("${func.name}() = %v, want %v", got, tt.want)
|
|
817
|
-
}
|
|
818
|
-
})
|
|
819
|
-
}
|
|
820
|
-
}
|
|
821
|
-
|
|
822
|
-
`;
|
|
823
|
-
}
|
|
824
|
-
|
|
825
|
-
function generateSimpleTest(func: GoFunction): string {
|
|
826
|
-
const testName = `Test${func.name}`;
|
|
827
|
-
|
|
828
|
-
return `func ${testName}(t *testing.T) {
|
|
829
|
-
// TODO: Add test implementation for ${func.name}
|
|
830
|
-
t.Skip("Test not implemented")
|
|
831
|
-
}
|
|
832
|
-
|
|
833
|
-
`;
|
|
834
|
-
}
|
|
835
|
-
```
|
|
836
|
-
|
|
837
|
-
Create `src/testing/detectors/go.ts`:
|
|
838
|
-
|
|
839
|
-
```typescript
|
|
840
|
-
import fs from 'fs/promises';
|
|
841
|
-
import path from 'path';
|
|
842
|
-
import type { TechStack } from '../types';
|
|
843
|
-
|
|
844
|
-
export async function detectGoStack(projectRoot: string): Promise<Partial<TechStack>> {
|
|
845
|
-
const stack: Partial<TechStack> = {};
|
|
846
|
-
|
|
847
|
-
try {
|
|
848
|
-
// Check for go.mod
|
|
849
|
-
const goModPath = path.join(projectRoot, 'go.mod');
|
|
850
|
-
const goMod = await fs.readFile(goModPath, 'utf-8');
|
|
851
|
-
|
|
852
|
-
stack.backend = {
|
|
853
|
-
language: 'go',
|
|
854
|
-
testFramework: 'testing', // Go's built-in testing package
|
|
855
|
-
};
|
|
856
|
-
|
|
857
|
-
// Check for databases
|
|
858
|
-
const databases: string[] = [];
|
|
859
|
-
if (goMod.includes('github.com/lib/pq') || goMod.includes('github.com/jackc/pgx')) databases.push('postgresql');
|
|
860
|
-
if (goMod.includes('github.com/go-sql-driver/mysql')) databases.push('mysql');
|
|
861
|
-
if (goMod.includes('go.mongodb.org/mongo-driver')) databases.push('mongodb');
|
|
862
|
-
if (databases.length > 0) stack.databases = databases;
|
|
863
|
-
|
|
864
|
-
// Check for API frameworks
|
|
865
|
-
const apis: ('rest' | 'graphql' | 'grpc')[] = [];
|
|
866
|
-
if (goMod.includes('github.com/gin-gonic/gin') || goMod.includes('github.com/gorilla/mux')) apis.push('rest');
|
|
867
|
-
if (goMod.includes('github.com/graphql-go/graphql')) apis.push('graphql');
|
|
868
|
-
if (goMod.includes('google.golang.org/grpc')) apis.push('grpc');
|
|
869
|
-
if (apis.length > 0) stack.apis = apis;
|
|
870
|
-
} catch (error) {
|
|
871
|
-
// go.mod not found
|
|
872
|
-
}
|
|
873
|
-
|
|
874
|
-
return stack;
|
|
875
|
-
}
|
|
876
|
-
```
|
|
877
|
-
|
|
878
|
-
**Step 4: Run test to verify it passes**
|
|
879
|
-
|
|
880
|
-
Run: `pnpm test tests/testing/generators/go.test.ts`
|
|
881
|
-
Expected: PASS
|
|
882
|
-
|
|
883
|
-
**Step 5: Commit**
|
|
884
|
-
|
|
885
|
-
```bash
|
|
886
|
-
git add src/testing/generators/go.ts src/testing/detectors/go.ts tests/testing/generators/go.test.ts
|
|
887
|
-
git commit -m "feat(testing): add Go test generator with table-driven tests
|
|
888
|
-
|
|
889
|
-
- Generate Go tests using testing package
|
|
890
|
-
- Support table-driven test pattern
|
|
891
|
-
- Extract functions from Go code
|
|
892
|
-
- Auto-detect function parameters and return types
|
|
893
|
-
- Generate test file paths following Go conventions
|
|
894
|
-
|
|
895
|
-
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>"
|
|
896
|
-
```
|
|
897
|
-
|
|
898
|
-
---
|
|
899
|
-
|
|
900
|
-
## Task 4: Rust Test Generator
|
|
901
|
-
|
|
902
|
-
**Files:**
|
|
903
|
-
- Create: `src/testing/generators/rust.ts`
|
|
904
|
-
- Create: `src/testing/detectors/rust.ts`
|
|
905
|
-
- Create: `tests/testing/generators/rust.test.ts`
|
|
906
|
-
|
|
907
|
-
**Step 1: Write the failing test**
|
|
908
|
-
|
|
909
|
-
Create `tests/testing/generators/rust.test.ts`:
|
|
910
|
-
|
|
911
|
-
```typescript
|
|
912
|
-
import { describe, it, expect } from 'vitest';
|
|
913
|
-
import { generateRustTest } from '../../../src/testing/generators/rust';
|
|
914
|
-
|
|
915
|
-
describe('generateRustTest', () => {
|
|
916
|
-
it('should generate Rust test for simple function', async () => {
|
|
917
|
-
const functionCode = `
|
|
918
|
-
pub fn add(a: i32, b: i32) -> i32 {
|
|
919
|
-
a + b
|
|
920
|
-
}
|
|
921
|
-
`;
|
|
922
|
-
|
|
923
|
-
const result = await generateRustTest({
|
|
924
|
-
filePath: 'src/math.rs',
|
|
925
|
-
code: functionCode,
|
|
926
|
-
});
|
|
927
|
-
|
|
928
|
-
expect(result.testCode).toContain('#[cfg(test)]');
|
|
929
|
-
expect(result.testCode).toContain('mod tests');
|
|
930
|
-
expect(result.testCode).toContain('#[test]');
|
|
931
|
-
expect(result.testCode).toContain('fn test_add()');
|
|
932
|
-
expect(result.testCode).toContain('assert_eq!');
|
|
933
|
-
});
|
|
934
|
-
|
|
935
|
-
it('should generate tests for struct methods', async () => {
|
|
936
|
-
const structCode = `
|
|
937
|
-
pub struct Calculator {
|
|
938
|
-
value: i32,
|
|
939
|
-
}
|
|
940
|
-
|
|
941
|
-
impl Calculator {
|
|
942
|
-
pub fn new() -> Self {
|
|
943
|
-
Calculator { value: 0 }
|
|
944
|
-
}
|
|
945
|
-
|
|
946
|
-
pub fn add(&mut self, n: i32) {
|
|
947
|
-
self.value += n;
|
|
948
|
-
}
|
|
949
|
-
}
|
|
950
|
-
`;
|
|
951
|
-
|
|
952
|
-
const result = await generateRustTest({
|
|
953
|
-
filePath: 'src/calculator.rs',
|
|
954
|
-
code: structCode,
|
|
955
|
-
});
|
|
956
|
-
|
|
957
|
-
expect(result.testCode).toContain('fn test_new()');
|
|
958
|
-
expect(result.testCode).toContain('fn test_add()');
|
|
959
|
-
});
|
|
960
|
-
});
|
|
961
|
-
```
|
|
962
|
-
|
|
963
|
-
**Step 2: Run test to verify it fails**
|
|
964
|
-
|
|
965
|
-
Run: `pnpm test tests/testing/generators/rust.test.ts`
|
|
966
|
-
Expected: FAIL with "Cannot find module"
|
|
967
|
-
|
|
968
|
-
**Step 3: Implement Rust test generator**
|
|
969
|
-
|
|
970
|
-
Create `src/testing/generators/rust.ts`:
|
|
971
|
-
|
|
972
|
-
```typescript
|
|
973
|
-
interface RustTestOptions {
|
|
974
|
-
filePath: string;
|
|
975
|
-
code: string;
|
|
976
|
-
}
|
|
977
|
-
|
|
978
|
-
interface RustTestResult {
|
|
979
|
-
testCode: string;
|
|
980
|
-
testFilePath: string;
|
|
981
|
-
}
|
|
982
|
-
|
|
983
|
-
export async function generateRustTest(options: RustTestOptions): Promise<RustTestResult> {
|
|
984
|
-
const { filePath, code } = options;
|
|
985
|
-
|
|
986
|
-
// Rust tests are typically in the same file
|
|
987
|
-
const testFilePath = filePath;
|
|
988
|
-
|
|
989
|
-
// Extract functions and methods
|
|
990
|
-
const functions = extractRustFunctions(code);
|
|
991
|
-
const structs = extractRustStructs(code);
|
|
992
|
-
|
|
993
|
-
// Generate test module
|
|
994
|
-
const testCode = generateRustTestModule(functions, structs);
|
|
995
|
-
|
|
996
|
-
return { testCode, testFilePath };
|
|
997
|
-
}
|
|
998
|
-
|
|
999
|
-
interface RustFunction {
|
|
1000
|
-
name: string;
|
|
1001
|
-
params: Array<{ name: string; type: string }>;
|
|
1002
|
-
returnType: string;
|
|
1003
|
-
isPublic: boolean;
|
|
1004
|
-
}
|
|
1005
|
-
|
|
1006
|
-
interface RustStruct {
|
|
1007
|
-
name: string;
|
|
1008
|
-
methods: RustFunction[];
|
|
1009
|
-
}
|
|
1010
|
-
|
|
1011
|
-
function extractRustFunctions(code: string): RustFunction[] {
|
|
1012
|
-
const functions: RustFunction[] = [];
|
|
1013
|
-
const functionRegex = /(pub\s+)?fn\s+(\w+)\s*\((.*?)\)\s*(?:->\s*(.*?))?\s*{/g;
|
|
1014
|
-
let match;
|
|
1015
|
-
|
|
1016
|
-
while ((match = functionRegex.exec(code)) !== null) {
|
|
1017
|
-
const isPublic = !!match[1];
|
|
1018
|
-
const name = match[2];
|
|
1019
|
-
const paramsStr = match[3];
|
|
1020
|
-
const returnType = match[4]?.trim() || '()';
|
|
1021
|
-
|
|
1022
|
-
// Skip if inside impl block (will be handled as methods)
|
|
1023
|
-
const beforeFn = code.substring(0, match.index);
|
|
1024
|
-
const lastImpl = beforeFn.lastIndexOf('impl ');
|
|
1025
|
-
const lastCloseBrace = beforeFn.lastIndexOf('}');
|
|
1026
|
-
|
|
1027
|
-
if (lastImpl > lastCloseBrace) {
|
|
1028
|
-
continue; // This is a method
|
|
1029
|
-
}
|
|
1030
|
-
|
|
1031
|
-
const params = parseRustParams(paramsStr);
|
|
1032
|
-
|
|
1033
|
-
functions.push({ name, params, returnType, isPublic });
|
|
1034
|
-
}
|
|
1035
|
-
|
|
1036
|
-
return functions;
|
|
1037
|
-
}
|
|
1038
|
-
|
|
1039
|
-
function extractRustStructs(code: string): RustStruct[] {
|
|
1040
|
-
const structs: RustStruct[] = [];
|
|
1041
|
-
const structRegex = /struct\s+(\w+)/g;
|
|
1042
|
-
let match;
|
|
1043
|
-
|
|
1044
|
-
while ((match = structRegex.exec(code)) !== null) {
|
|
1045
|
-
const structName = match[1];
|
|
1046
|
-
|
|
1047
|
-
// Find impl block for this struct
|
|
1048
|
-
const implRegex = new RegExp(`impl\\s+${structName}\\s*{([^}]+)}`, 's');
|
|
1049
|
-
const implMatch = implRegex.exec(code);
|
|
1050
|
-
|
|
1051
|
-
if (implMatch) {
|
|
1052
|
-
const implBody = implMatch[1];
|
|
1053
|
-
const methods = extractRustMethods(implBody);
|
|
1054
|
-
structs.push({ name: structName, methods });
|
|
1055
|
-
}
|
|
1056
|
-
}
|
|
1057
|
-
|
|
1058
|
-
return structs;
|
|
1059
|
-
}
|
|
1060
|
-
|
|
1061
|
-
function extractRustMethods(implBody: string): RustFunction[] {
|
|
1062
|
-
const methods: RustFunction[] = [];
|
|
1063
|
-
const methodRegex = /(pub\s+)?fn\s+(\w+)\s*\((.*?)\)\s*(?:->\s*(.*?))?\s*{/g;
|
|
1064
|
-
let match;
|
|
1065
|
-
|
|
1066
|
-
while ((match = methodRegex.exec(implBody)) !== null) {
|
|
1067
|
-
const isPublic = !!match[1];
|
|
1068
|
-
const name = match[2];
|
|
1069
|
-
const paramsStr = match[3];
|
|
1070
|
-
const returnType = match[4]?.trim() || '()';
|
|
1071
|
-
|
|
1072
|
-
const params = parseRustParams(paramsStr);
|
|
1073
|
-
|
|
1074
|
-
methods.push({ name, params, returnType, isPublic });
|
|
1075
|
-
}
|
|
1076
|
-
|
|
1077
|
-
return methods;
|
|
1078
|
-
}
|
|
1079
|
-
|
|
1080
|
-
function parseRustParams(paramsStr: string): Array<{ name: string; type: string }> {
|
|
1081
|
-
if (!paramsStr.trim()) return [];
|
|
1082
|
-
|
|
1083
|
-
const params: Array<{ name: string; type: string }> = [];
|
|
1084
|
-
const parts = paramsStr.split(',').map(p => p.trim());
|
|
1085
|
-
|
|
1086
|
-
for (const part of parts) {
|
|
1087
|
-
const colonIndex = part.indexOf(':');
|
|
1088
|
-
if (colonIndex !== -1) {
|
|
1089
|
-
const name = part.substring(0, colonIndex).trim();
|
|
1090
|
-
const type = part.substring(colonIndex + 1).trim();
|
|
1091
|
-
params.push({ name, type });
|
|
1092
|
-
}
|
|
1093
|
-
}
|
|
1094
|
-
|
|
1095
|
-
return params;
|
|
1096
|
-
}
|
|
1097
|
-
|
|
1098
|
-
function generateRustTestModule(functions: RustFunction[], structs: RustStruct[]): string {
|
|
1099
|
-
let code = `\n#[cfg(test)]\nmod tests {\n use super::*;\n\n`;
|
|
1100
|
-
|
|
1101
|
-
// Generate tests for standalone functions
|
|
1102
|
-
for (const func of functions) {
|
|
1103
|
-
if (func.isPublic) {
|
|
1104
|
-
code += generateRustTestFunction(func);
|
|
1105
|
-
}
|
|
1106
|
-
}
|
|
1107
|
-
|
|
1108
|
-
// Generate tests for struct methods
|
|
1109
|
-
for (const struct of structs) {
|
|
1110
|
-
for (const method of struct.methods) {
|
|
1111
|
-
if (method.isPublic) {
|
|
1112
|
-
code += generateRustTestMethod(struct.name, method);
|
|
1113
|
-
}
|
|
1114
|
-
}
|
|
1115
|
-
}
|
|
1116
|
-
|
|
1117
|
-
code += `}\n`;
|
|
1118
|
-
|
|
1119
|
-
return code;
|
|
1120
|
-
}
|
|
1121
|
-
|
|
1122
|
-
function generateRustTestFunction(func: RustFunction): string {
|
|
1123
|
-
const testName = `test_${func.name}`;
|
|
1124
|
-
|
|
1125
|
-
let testBody = '';
|
|
1126
|
-
if (func.name === 'add') {
|
|
1127
|
-
testBody = ` assert_eq!(add(2, 3), 5);
|
|
1128
|
-
assert_eq!(add(-1, 1), 0);
|
|
1129
|
-
assert_eq!(add(0, 0), 0);`;
|
|
1130
|
-
} else {
|
|
1131
|
-
testBody = ` // TODO: Add test implementation for ${func.name}`;
|
|
1132
|
-
}
|
|
1133
|
-
|
|
1134
|
-
return ` #[test]
|
|
1135
|
-
fn ${testName}() {
|
|
1136
|
-
${testBody}
|
|
1137
|
-
}
|
|
1138
|
-
|
|
1139
|
-
`;
|
|
1140
|
-
}
|
|
1141
|
-
|
|
1142
|
-
function generateRustTestMethod(structName: string, method: RustFunction): string {
|
|
1143
|
-
const testName = `test_${method.name}`;
|
|
1144
|
-
|
|
1145
|
-
let testBody = '';
|
|
1146
|
-
if (method.name === 'new') {
|
|
1147
|
-
testBody = ` let instance = ${structName}::new();
|
|
1148
|
-
// TODO: Add assertions`;
|
|
1149
|
-
} else if (method.name === 'add') {
|
|
1150
|
-
testBody = ` let mut instance = ${structName}::new();
|
|
1151
|
-
instance.add(5);
|
|
1152
|
-
// TODO: Add assertions`;
|
|
1153
|
-
} else {
|
|
1154
|
-
testBody = ` // TODO: Add test implementation for ${method.name}`;
|
|
1155
|
-
}
|
|
1156
|
-
|
|
1157
|
-
return ` #[test]
|
|
1158
|
-
fn ${testName}() {
|
|
1159
|
-
${testBody}
|
|
1160
|
-
}
|
|
1161
|
-
|
|
1162
|
-
`;
|
|
1163
|
-
}
|
|
1164
|
-
```
|
|
1165
|
-
|
|
1166
|
-
Create `src/testing/detectors/rust.ts`:
|
|
1167
|
-
|
|
1168
|
-
```typescript
|
|
1169
|
-
import fs from 'fs/promises';
|
|
1170
|
-
import path from 'path';
|
|
1171
|
-
import type { TechStack } from '../types';
|
|
1172
|
-
|
|
1173
|
-
export async function detectRustStack(projectRoot: string): Promise<Partial<TechStack>> {
|
|
1174
|
-
const stack: Partial<TechStack> = {};
|
|
1175
|
-
|
|
1176
|
-
try {
|
|
1177
|
-
// Check for Cargo.toml
|
|
1178
|
-
const cargoTomlPath = path.join(projectRoot, 'Cargo.toml');
|
|
1179
|
-
const cargoToml = await fs.readFile(cargoTomlPath, 'utf-8');
|
|
1180
|
-
|
|
1181
|
-
stack.backend = {
|
|
1182
|
-
language: 'rust',
|
|
1183
|
-
testFramework: 'cargo test', // Rust's built-in testing
|
|
1184
|
-
};
|
|
1185
|
-
|
|
1186
|
-
// Check for databases
|
|
1187
|
-
const databases: string[] = [];
|
|
1188
|
-
if (cargoToml.includes('tokio-postgres') || cargoToml.includes('sqlx')) databases.push('postgresql');
|
|
1189
|
-
if (cargoToml.includes('mysql_async')) databases.push('mysql');
|
|
1190
|
-
if (cargoToml.includes('mongodb')) databases.push('mongodb');
|
|
1191
|
-
if (databases.length > 0) stack.databases = databases;
|
|
1192
|
-
|
|
1193
|
-
// Check for API frameworks
|
|
1194
|
-
const apis: ('rest' | 'graphql' | 'grpc')[] = [];
|
|
1195
|
-
if (cargoToml.includes('actix-web') || cargoToml.includes('rocket') || cargoToml.includes('axum')) apis.push('rest');
|
|
1196
|
-
if (cargoToml.includes('async-graphql') || cargoToml.includes('juniper')) apis.push('graphql');
|
|
1197
|
-
if (cargoToml.includes('tonic')) apis.push('grpc');
|
|
1198
|
-
if (apis.length > 0) stack.apis = apis;
|
|
1199
|
-
} catch (error) {
|
|
1200
|
-
// Cargo.toml not found
|
|
1201
|
-
}
|
|
1202
|
-
|
|
1203
|
-
return stack;
|
|
1204
|
-
}
|
|
1205
|
-
```
|
|
1206
|
-
|
|
1207
|
-
**Step 4: Run test to verify it passes**
|
|
1208
|
-
|
|
1209
|
-
Run: `pnpm test tests/testing/generators/rust.test.ts`
|
|
1210
|
-
Expected: PASS
|
|
1211
|
-
|
|
1212
|
-
**Step 5: Commit**
|
|
1213
|
-
|
|
1214
|
-
```bash
|
|
1215
|
-
git add src/testing/generators/rust.ts src/testing/detectors/rust.ts tests/testing/generators/rust.test.ts
|
|
1216
|
-
git commit -m "feat(testing): add Rust test generator with cargo test support
|
|
1217
|
-
|
|
1218
|
-
- Generate Rust tests using #[test] attribute
|
|
1219
|
-
- Support struct methods and standalone functions
|
|
1220
|
-
- Extract functions and structs from Rust code
|
|
1221
|
-
- Generate test modules following Rust conventions
|
|
1222
|
-
- Support assert_eq! and other test macros
|
|
1223
|
-
|
|
1224
|
-
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>"
|
|
1225
|
-
```
|
|
1226
|
-
|
|
1227
|
-
---
|
|
1228
|
-
|
|
1229
|
-
## Task 5: Complexity Analyzer
|
|
1230
|
-
|
|
1231
|
-
**Files:**
|
|
1232
|
-
- Create: `src/testing/analyzers/complexity.ts`
|
|
1233
|
-
- Create: `tests/testing/analyzers/complexity.test.ts`
|
|
1234
|
-
|
|
1235
|
-
**Step 1: Write the failing test**
|
|
1236
|
-
|
|
1237
|
-
Create `tests/testing/analyzers/complexity.test.ts`:
|
|
1238
|
-
|
|
1239
|
-
```typescript
|
|
1240
|
-
import { describe, it, expect } from 'vitest';
|
|
1241
|
-
import { analyzeComplexity } from '../../../src/testing/analyzers/complexity';
|
|
1242
|
-
|
|
1243
|
-
describe('Complexity Analyzer', () => {
|
|
1244
|
-
it('should classify simple function', async () => {
|
|
1245
|
-
const simpleCode = `
|
|
1246
|
-
export function add(a: number, b: number): number {
|
|
1247
|
-
return a + b;
|
|
1248
|
-
}
|
|
1249
|
-
`;
|
|
1250
|
-
|
|
1251
|
-
const result = await analyzeComplexity({
|
|
1252
|
-
code: simpleCode,
|
|
1253
|
-
filePath: 'src/utils/math.ts',
|
|
1254
|
-
});
|
|
1255
|
-
|
|
1256
|
-
expect(result.complexity).toBe('simple');
|
|
1257
|
-
expect(result.metrics.lines).toBeLessThan(50);
|
|
1258
|
-
expect(result.metrics.cyclomaticComplexity).toBeLessThan(10);
|
|
1259
|
-
});
|
|
1260
|
-
|
|
1261
|
-
it('should classify complex function', async () => {
|
|
1262
|
-
const complexCode = `
|
|
1263
|
-
export async function processPayment(order: Order, payment: PaymentInfo): Promise<PaymentResult> {
|
|
1264
|
-
if (!order || !payment) {
|
|
1265
|
-
throw new Error('Invalid input');
|
|
1266
|
-
}
|
|
1267
|
-
|
|
1268
|
-
try {
|
|
1269
|
-
const customer = await getCustomer(order.customerId);
|
|
1270
|
-
if (!customer.isActive) {
|
|
1271
|
-
return { success: false, error: 'Inactive customer' };
|
|
1272
|
-
}
|
|
1273
|
-
|
|
1274
|
-
const stripeResult = await stripe.charges.create({
|
|
1275
|
-
amount: order.total,
|
|
1276
|
-
currency: 'usd',
|
|
1277
|
-
source: payment.token,
|
|
1278
|
-
});
|
|
1279
|
-
|
|
1280
|
-
if (stripeResult.status === 'succeeded') {
|
|
1281
|
-
await db.transaction(async (trx) => {
|
|
1282
|
-
await trx('orders').where({ id: order.id }).update({ status: 'paid' });
|
|
1283
|
-
await trx('payments').insert({ orderId: order.id, stripeId: stripeResult.id });
|
|
1284
|
-
});
|
|
1285
|
-
|
|
1286
|
-
return { success: true, transactionId: stripeResult.id };
|
|
1287
|
-
} else {
|
|
1288
|
-
return { success: false, error: 'Payment failed' };
|
|
1289
|
-
}
|
|
1290
|
-
} catch (error) {
|
|
1291
|
-
logger.error('Payment processing error', error);
|
|
1292
|
-
return { success: false, error: error.message };
|
|
1293
|
-
}
|
|
1294
|
-
}
|
|
1295
|
-
`;
|
|
1296
|
-
|
|
1297
|
-
const result = await analyzeComplexity({
|
|
1298
|
-
code: complexCode,
|
|
1299
|
-
filePath: 'src/services/payment.ts',
|
|
1300
|
-
});
|
|
1301
|
-
|
|
1302
|
-
expect(result.complexity).toBe('complex');
|
|
1303
|
-
expect(result.reasons).toContain('External API calls');
|
|
1304
|
-
expect(result.reasons).toContain('Database transactions');
|
|
1305
|
-
});
|
|
1306
|
-
});
|
|
1307
|
-
```
|
|
1308
|
-
|
|
1309
|
-
**Step 2: Run test to verify it fails**
|
|
1310
|
-
|
|
1311
|
-
Run: `pnpm test tests/testing/analyzers/complexity.test.ts`
|
|
1312
|
-
Expected: FAIL with "Cannot find module"
|
|
1313
|
-
|
|
1314
|
-
**Step 3: Implement complexity analyzer**
|
|
1315
|
-
|
|
1316
|
-
Create `src/testing/analyzers/complexity.ts`:
|
|
1317
|
-
|
|
1318
|
-
```typescript
|
|
1319
|
-
export interface ComplexityMetrics {
|
|
1320
|
-
lines: number;
|
|
1321
|
-
cyclomaticComplexity: number;
|
|
1322
|
-
nestingLevel: number;
|
|
1323
|
-
externalDependencies: number;
|
|
1324
|
-
}
|
|
1325
|
-
|
|
1326
|
-
export interface ComplexityAnalysisResult {
|
|
1327
|
-
complexity: 'simple' | 'complex';
|
|
1328
|
-
metrics: ComplexityMetrics;
|
|
1329
|
-
reasons: string[];
|
|
1330
|
-
}
|
|
1331
|
-
|
|
1332
|
-
interface AnalyzeComplexityOptions {
|
|
1333
|
-
code: string;
|
|
1334
|
-
filePath: string;
|
|
1335
|
-
}
|
|
1336
|
-
|
|
1337
|
-
export async function analyzeComplexity(options: AnalyzeComplexityOptions): Promise<ComplexityAnalysisResult> {
|
|
1338
|
-
const { code, filePath } = options;
|
|
1339
|
-
|
|
1340
|
-
// Calculate metrics
|
|
1341
|
-
const metrics = calculateMetrics(code);
|
|
1342
|
-
|
|
1343
|
-
// Determine complexity and reasons
|
|
1344
|
-
const reasons: string[] = [];
|
|
1345
|
-
let isComplex = false;
|
|
1346
|
-
|
|
1347
|
-
// Check line count
|
|
1348
|
-
if (metrics.lines >= 50) {
|
|
1349
|
-
reasons.push('Function exceeds 50 lines');
|
|
1350
|
-
isComplex = true;
|
|
1351
|
-
}
|
|
1352
|
-
|
|
1353
|
-
// Check cyclomatic complexity
|
|
1354
|
-
if (metrics.cyclomaticComplexity >= 10) {
|
|
1355
|
-
reasons.push('High cyclomatic complexity');
|
|
1356
|
-
isComplex = true;
|
|
1357
|
-
}
|
|
1358
|
-
|
|
1359
|
-
// Check nesting level
|
|
1360
|
-
if (metrics.nestingLevel >= 3) {
|
|
1361
|
-
reasons.push('Deep nesting level');
|
|
1362
|
-
isComplex = true;
|
|
1363
|
-
}
|
|
1364
|
-
|
|
1365
|
-
// Check for external dependencies
|
|
1366
|
-
if (metrics.externalDependencies > 0) {
|
|
1367
|
-
reasons.push('External API calls');
|
|
1368
|
-
isComplex = true;
|
|
1369
|
-
}
|
|
1370
|
-
|
|
1371
|
-
// Check for specific patterns
|
|
1372
|
-
if (code.includes('stripe') || code.includes('paypal') || code.includes('payment')) {
|
|
1373
|
-
reasons.push('Payment processing logic');
|
|
1374
|
-
isComplex = true;
|
|
1375
|
-
}
|
|
1376
|
-
|
|
1377
|
-
if (code.includes('auth') || code.includes('jwt') || code.includes('session')) {
|
|
1378
|
-
reasons.push('Authentication logic');
|
|
1379
|
-
isComplex = true;
|
|
1380
|
-
}
|
|
1381
|
-
|
|
1382
|
-
if (code.includes('db.transaction') || code.includes('BEGIN') || code.includes('COMMIT')) {
|
|
1383
|
-
reasons.push('Database transactions');
|
|
1384
|
-
isComplex = true;
|
|
1385
|
-
}
|
|
1386
|
-
|
|
1387
|
-
if (code.includes('async') && code.includes('await')) {
|
|
1388
|
-
const awaitCount = (code.match(/await/g) || []).length;
|
|
1389
|
-
if (awaitCount > 3) {
|
|
1390
|
-
reasons.push('Multiple async operations');
|
|
1391
|
-
isComplex = true;
|
|
1392
|
-
}
|
|
1393
|
-
}
|
|
1394
|
-
|
|
1395
|
-
return {
|
|
1396
|
-
complexity: isComplex ? 'complex' : 'simple',
|
|
1397
|
-
metrics,
|
|
1398
|
-
reasons,
|
|
1399
|
-
};
|
|
1400
|
-
}
|
|
1401
|
-
|
|
1402
|
-
function calculateMetrics(code: string): ComplexityMetrics {
|
|
1403
|
-
const lines = code.split('\n').filter(line => line.trim() !== '').length;
|
|
1404
|
-
|
|
1405
|
-
// Calculate cyclomatic complexity (simplified)
|
|
1406
|
-
const cyclomaticComplexity = calculateCyclomaticComplexity(code);
|
|
1407
|
-
|
|
1408
|
-
// Calculate nesting level
|
|
1409
|
-
const nestingLevel = calculateNestingLevel(code);
|
|
1410
|
-
|
|
1411
|
-
// Count external dependencies
|
|
1412
|
-
const externalDependencies = countExternalDependencies(code);
|
|
1413
|
-
|
|
1414
|
-
return {
|
|
1415
|
-
lines,
|
|
1416
|
-
cyclomaticComplexity,
|
|
1417
|
-
nestingLevel,
|
|
1418
|
-
externalDependencies,
|
|
1419
|
-
};
|
|
1420
|
-
}
|
|
1421
|
-
|
|
1422
|
-
function calculateCyclomaticComplexity(code: string): number {
|
|
1423
|
-
// Start with 1 (base complexity)
|
|
1424
|
-
let complexity = 1;
|
|
1425
|
-
|
|
1426
|
-
// Count decision points
|
|
1427
|
-
const decisionPoints = [
|
|
1428
|
-
/\bif\b/g,
|
|
1429
|
-
/\belse\s+if\b/g,
|
|
1430
|
-
/\bfor\b/g,
|
|
1431
|
-
/\bwhile\b/g,
|
|
1432
|
-
/\bcase\b/g,
|
|
1433
|
-
/\bcatch\b/g,
|
|
1434
|
-
/\b\?\s*.*\s*:/g, // Ternary operator
|
|
1435
|
-
/\b&&\b/g,
|
|
1436
|
-
/\b\|\|\b/g,
|
|
1437
|
-
];
|
|
1438
|
-
|
|
1439
|
-
for (const pattern of decisionPoints) {
|
|
1440
|
-
const matches = code.match(pattern);
|
|
1441
|
-
if (matches) {
|
|
1442
|
-
complexity += matches.length;
|
|
1443
|
-
}
|
|
1444
|
-
}
|
|
1445
|
-
|
|
1446
|
-
return complexity;
|
|
1447
|
-
}
|
|
1448
|
-
|
|
1449
|
-
function calculateNestingLevel(code: string): number {
|
|
1450
|
-
let maxNesting = 0;
|
|
1451
|
-
let currentNesting = 0;
|
|
1452
|
-
|
|
1453
|
-
for (const char of code) {
|
|
1454
|
-
if (char === '{') {
|
|
1455
|
-
currentNesting++;
|
|
1456
|
-
maxNesting = Math.max(maxNesting, currentNesting);
|
|
1457
|
-
} else if (char === '}') {
|
|
1458
|
-
currentNesting--;
|
|
1459
|
-
}
|
|
1460
|
-
}
|
|
1461
|
-
|
|
1462
|
-
return maxNesting;
|
|
1463
|
-
}
|
|
1464
|
-
|
|
1465
|
-
function countExternalDependencies(code: string): number {
|
|
1466
|
-
let count = 0;
|
|
1467
|
-
|
|
1468
|
-
// Check for HTTP/API calls
|
|
1469
|
-
if (code.includes('fetch(') || code.includes('axios.') || code.includes('http.')) {
|
|
1470
|
-
count++;
|
|
1471
|
-
}
|
|
1472
|
-
|
|
1473
|
-
// Check for external service SDKs
|
|
1474
|
-
const externalServices = ['stripe', 'aws', 'firebase', 'sendgrid', 'twilio'];
|
|
1475
|
-
for (const service of externalServices) {
|
|
1476
|
-
if (code.includes(service)) {
|
|
1477
|
-
count++;
|
|
1478
|
-
}
|
|
1479
|
-
}
|
|
1480
|
-
|
|
1481
|
-
return count;
|
|
1482
|
-
}
|
|
1483
|
-
```
|
|
1484
|
-
|
|
1485
|
-
**Step 4: Run test to verify it passes**
|
|
1486
|
-
|
|
1487
|
-
Run: `pnpm test tests/testing/analyzers/complexity.test.ts`
|
|
1488
|
-
Expected: PASS
|
|
1489
|
-
|
|
1490
|
-
**Step 5: Commit**
|
|
1491
|
-
|
|
1492
|
-
```bash
|
|
1493
|
-
git add src/testing/analyzers/complexity.ts tests/testing/analyzers/complexity.test.ts
|
|
1494
|
-
git commit -m "feat(testing): add complexity analyzer for code classification
|
|
1495
|
-
|
|
1496
|
-
- Calculate cyclomatic complexity
|
|
1497
|
-
- Measure nesting levels and line counts
|
|
1498
|
-
- Detect external dependencies
|
|
1499
|
-
- Identify payment, auth, and transaction logic
|
|
1500
|
-
- Classify code as simple or complex
|
|
1501
|
-
|
|
1502
|
-
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>"
|
|
1503
|
-
```
|
|
1504
|
-
|
|
1505
|
-
---
|
|
1506
|
-
|
|
1507
|
-
## Task 6: Contract Test Generator
|
|
1508
|
-
|
|
1509
|
-
**Files:**
|
|
1510
|
-
- Create: `src/testing/generators/contract.ts`
|
|
1511
|
-
- Create: `tests/testing/generators/contract.test.ts`
|
|
1512
|
-
|
|
1513
|
-
**Step 1: Write the failing test**
|
|
1514
|
-
|
|
1515
|
-
Create `tests/testing/generators/contract.test.ts`:
|
|
1516
|
-
|
|
1517
|
-
```typescript
|
|
1518
|
-
import { describe, it, expect } from 'vitest';
|
|
1519
|
-
import { generateContractTest } from '../../../src/testing/generators/contract';
|
|
1520
|
-
|
|
1521
|
-
describe('Contract Test Generator', () => {
|
|
1522
|
-
it('should generate Pact test from OpenAPI spec', async () => {
|
|
1523
|
-
const openApiSpec = {
|
|
1524
|
-
openapi: '3.0.0',
|
|
1525
|
-
paths: {
|
|
1526
|
-
'/users/{id}': {
|
|
1527
|
-
get: {
|
|
1528
|
-
parameters: [{ name: 'id', in: 'path', required: true, schema: { type: 'string' } }],
|
|
1529
|
-
responses: {
|
|
1530
|
-
'200': {
|
|
1531
|
-
description: 'User found',
|
|
1532
|
-
content: {
|
|
1533
|
-
'application/json': {
|
|
1534
|
-
schema: {
|
|
1535
|
-
type: 'object',
|
|
1536
|
-
properties: {
|
|
1537
|
-
id: { type: 'string' },
|
|
1538
|
-
name: { type: 'string' },
|
|
1539
|
-
email: { type: 'string' },
|
|
1540
|
-
},
|
|
1541
|
-
},
|
|
1542
|
-
},
|
|
1543
|
-
},
|
|
1544
|
-
},
|
|
1545
|
-
},
|
|
1546
|
-
},
|
|
1547
|
-
},
|
|
1548
|
-
},
|
|
1549
|
-
};
|
|
1550
|
-
|
|
1551
|
-
const result = await generateContractTest({
|
|
1552
|
-
spec: openApiSpec,
|
|
1553
|
-
framework: 'pact',
|
|
1554
|
-
consumer: 'frontend',
|
|
1555
|
-
provider: 'backend',
|
|
1556
|
-
});
|
|
1557
|
-
|
|
1558
|
-
expect(result.testCode).toContain('pact');
|
|
1559
|
-
expect(result.testCode).toContain('/users/{id}');
|
|
1560
|
-
expect(result.testCode).toContain('willRespondWith');
|
|
1561
|
-
});
|
|
1562
|
-
|
|
1563
|
-
it('should generate REST API contract test', async () => {
|
|
1564
|
-
const apiDefinition = {
|
|
1565
|
-
endpoint: '/api/orders',
|
|
1566
|
-
method: 'POST',
|
|
1567
|
-
requestBody: {
|
|
1568
|
-
customerId: 'string',
|
|
1569
|
-
items: 'array',
|
|
1570
|
-
total: 'number',
|
|
1571
|
-
},
|
|
1572
|
-
responseBody: {
|
|
1573
|
-
orderId: 'string',
|
|
1574
|
-
status: 'string',
|
|
1575
|
-
},
|
|
1576
|
-
};
|
|
1577
|
-
|
|
1578
|
-
const result = await generateContractTest({
|
|
1579
|
-
apiDefinition,
|
|
1580
|
-
framework: 'supertest',
|
|
1581
|
-
});
|
|
1582
|
-
|
|
1583
|
-
expect(result.testCode).toContain('POST /api/orders');
|
|
1584
|
-
expect(result.testCode).toContain('expect(200)');
|
|
1585
|
-
});
|
|
1586
|
-
});
|
|
1587
|
-
```
|
|
1588
|
-
|
|
1589
|
-
**Step 2: Run test to verify it fails**
|
|
1590
|
-
|
|
1591
|
-
Run: `pnpm test tests/testing/generators/contract.test.ts`
|
|
1592
|
-
Expected: FAIL with "Cannot find module"
|
|
1593
|
-
|
|
1594
|
-
**Step 3: Implement contract test generator**
|
|
1595
|
-
|
|
1596
|
-
Create `src/testing/generators/contract.ts`:
|
|
1597
|
-
|
|
1598
|
-
```typescript
|
|
1599
|
-
interface ContractTestOptions {
|
|
1600
|
-
spec?: any; // OpenAPI spec
|
|
1601
|
-
apiDefinition?: any; // Simple API definition
|
|
1602
|
-
framework: 'pact' | 'supertest' | 'msw';
|
|
1603
|
-
consumer?: string;
|
|
1604
|
-
provider?: string;
|
|
1605
|
-
}
|
|
1606
|
-
|
|
1607
|
-
interface ContractTestResult {
|
|
1608
|
-
testCode: string;
|
|
1609
|
-
testFilePath: string;
|
|
1610
|
-
}
|
|
1611
|
-
|
|
1612
|
-
export async function generateContractTest(options: ContractTestOptions): Promise<ContractTestResult> {
|
|
1613
|
-
const { spec, apiDefinition, framework, consumer, provider } = options;
|
|
1614
|
-
|
|
1615
|
-
let testCode = '';
|
|
1616
|
-
let testFilePath = '';
|
|
1617
|
-
|
|
1618
|
-
if (framework === 'pact' && spec) {
|
|
1619
|
-
testCode = generatePactTest(spec, consumer || 'consumer', provider || 'provider');
|
|
1620
|
-
testFilePath = `tests/contract/${consumer}-${provider}.pact.test.ts`;
|
|
1621
|
-
} else if (framework === 'supertest' && apiDefinition) {
|
|
1622
|
-
testCode = generateSupertestContract(apiDefinition);
|
|
1623
|
-
testFilePath = `tests/contract/api.contract.test.ts`;
|
|
1624
|
-
} else if (framework === 'msw' && spec) {
|
|
1625
|
-
testCode = generateMSWHandlers(spec);
|
|
1626
|
-
testFilePath = `tests/mocks/handlers.ts`;
|
|
1627
|
-
}
|
|
1628
|
-
|
|
1629
|
-
return { testCode, testFilePath };
|
|
1630
|
-
}
|
|
1631
|
-
|
|
1632
|
-
function generatePactTest(spec: any, consumer: string, provider: string): string {
|
|
1633
|
-
const paths = spec.paths || {};
|
|
1634
|
-
const interactions: string[] = [];
|
|
1635
|
-
|
|
1636
|
-
for (const [path, methods] of Object.entries(paths)) {
|
|
1637
|
-
for (const [method, details] of Object.entries(methods as any)) {
|
|
1638
|
-
const interaction = generatePactInteraction(path, method.toUpperCase(), details);
|
|
1639
|
-
interactions.push(interaction);
|
|
1640
|
-
}
|
|
1641
|
-
}
|
|
1642
|
-
|
|
1643
|
-
return `import { Pact } from '@pact-foundation/pact';
|
|
1644
|
-
import { like, eachLike } from '@pact-foundation/pact/dsl/matchers';
|
|
1645
|
-
|
|
1646
|
-
describe('${consumer} <-> ${provider} Contract', () => {
|
|
1647
|
-
const provider = new Pact({
|
|
1648
|
-
consumer: '${consumer}',
|
|
1649
|
-
provider: '${provider}',
|
|
1650
|
-
port: 1234,
|
|
1651
|
-
log: './logs/pact.log',
|
|
1652
|
-
dir: './pacts',
|
|
1653
|
-
});
|
|
1654
|
-
|
|
1655
|
-
beforeAll(() => provider.setup());
|
|
1656
|
-
afterEach(() => provider.verify());
|
|
1657
|
-
afterAll(() => provider.finalize());
|
|
1658
|
-
|
|
1659
|
-
${interactions.join('\n\n')}
|
|
1660
|
-
});
|
|
1661
|
-
`;
|
|
1662
|
-
}
|
|
1663
|
-
|
|
1664
|
-
function generatePactInteraction(path: string, method: string, details: any): string {
|
|
1665
|
-
const response = details.responses?.['200'] || details.responses?.['201'];
|
|
1666
|
-
const responseSchema = response?.content?.['application/json']?.schema;
|
|
1667
|
-
|
|
1668
|
-
const responseBody = responseSchema ? generateMatcherFromSchema(responseSchema) : '{}';
|
|
1669
|
-
|
|
1670
|
-
return ` it('${method} ${path}', async () => {
|
|
1671
|
-
await provider.addInteraction({
|
|
1672
|
-
state: 'resource exists',
|
|
1673
|
-
uponReceiving: '${method} request to ${path}',
|
|
1674
|
-
withRequest: {
|
|
1675
|
-
method: '${method}',
|
|
1676
|
-
path: '${path}',
|
|
1677
|
-
},
|
|
1678
|
-
willRespondWith: {
|
|
1679
|
-
status: 200,
|
|
1680
|
-
headers: { 'Content-Type': 'application/json' },
|
|
1681
|
-
body: ${responseBody},
|
|
1682
|
-
},
|
|
1683
|
-
});
|
|
1684
|
-
|
|
1685
|
-
// Make actual request and verify
|
|
1686
|
-
const response = await fetch(\`http://localhost:1234${path}\`);
|
|
1687
|
-
expect(response.status).toBe(200);
|
|
1688
|
-
});`;
|
|
1689
|
-
}
|
|
1690
|
-
|
|
1691
|
-
function generateMatcherFromSchema(schema: any): string {
|
|
1692
|
-
if (schema.type === 'object') {
|
|
1693
|
-
const properties = schema.properties || {};
|
|
1694
|
-
const matchers: string[] = [];
|
|
1695
|
-
|
|
1696
|
-
for (const [key, prop] of Object.entries(properties as any)) {
|
|
1697
|
-
if (prop.type === 'string') {
|
|
1698
|
-
matchers.push(`${key}: like('example')`);
|
|
1699
|
-
} else if (prop.type === 'number') {
|
|
1700
|
-
matchers.push(`${key}: like(123)`);
|
|
1701
|
-
} else if (prop.type === 'boolean') {
|
|
1702
|
-
matchers.push(`${key}: like(true)`);
|
|
1703
|
-
} else if (prop.type === 'array') {
|
|
1704
|
-
matchers.push(`${key}: eachLike({ id: like('1') })`);
|
|
1705
|
-
}
|
|
1706
|
-
}
|
|
1707
|
-
|
|
1708
|
-
return `{ ${matchers.join(', ')} }`;
|
|
1709
|
-
}
|
|
1710
|
-
|
|
1711
|
-
return '{}';
|
|
1712
|
-
}
|
|
1713
|
-
|
|
1714
|
-
function generateSupertestContract(apiDefinition: any): string {
|
|
1715
|
-
const { endpoint, method, requestBody, responseBody } = apiDefinition;
|
|
1716
|
-
|
|
1717
|
-
const requestExample = generateExampleFromSchema(requestBody);
|
|
1718
|
-
const responseExample = generateExampleFromSchema(responseBody);
|
|
1719
|
-
|
|
1720
|
-
return `import request from 'supertest';
|
|
1721
|
-
import app from '../src/app';
|
|
1722
|
-
|
|
1723
|
-
describe('API Contract Tests', () => {
|
|
1724
|
-
it('${method} ${endpoint} should match contract', async () => {
|
|
1725
|
-
const response = await request(app)
|
|
1726
|
-
.${method.toLowerCase()}('${endpoint}')
|
|
1727
|
-
.send(${JSON.stringify(requestExample, null, 2)})
|
|
1728
|
-
.expect(200)
|
|
1729
|
-
.expect('Content-Type', /json/);
|
|
1730
|
-
|
|
1731
|
-
// Verify response structure
|
|
1732
|
-
expect(response.body).toMatchObject(${JSON.stringify(responseExample, null, 2)});
|
|
1733
|
-
});
|
|
1734
|
-
});
|
|
1735
|
-
`;
|
|
1736
|
-
}
|
|
1737
|
-
|
|
1738
|
-
function generateMSWHandlers(spec: any): string {
|
|
1739
|
-
const paths = spec.paths || {};
|
|
1740
|
-
const handlers: string[] = [];
|
|
1741
|
-
|
|
1742
|
-
for (const [path, methods] of Object.entries(paths)) {
|
|
1743
|
-
for (const [method, details] of Object.entries(methods as any)) {
|
|
1744
|
-
const handler = generateMSWHandler(path, method, details);
|
|
1745
|
-
handlers.push(handler);
|
|
1746
|
-
}
|
|
1747
|
-
}
|
|
1748
|
-
|
|
1749
|
-
return `import { rest } from 'msw';
|
|
1750
|
-
|
|
1751
|
-
export const handlers = [
|
|
1752
|
-
${handlers.join(',\n\n')}
|
|
1753
|
-
];
|
|
1754
|
-
`;
|
|
1755
|
-
}
|
|
1756
|
-
|
|
1757
|
-
function generateMSWHandler(path: string, method: string, details: any): string {
|
|
1758
|
-
const response = details.responses?.['200'] || details.responses?.['201'];
|
|
1759
|
-
const responseSchema = response?.content?.['application/json']?.schema;
|
|
1760
|
-
const responseExample = responseSchema ? generateExampleFromSchema(responseSchema.properties || {}) : {};
|
|
1761
|
-
|
|
1762
|
-
return ` rest.${method.toLowerCase()}('${path}', (req, res, ctx) => {
|
|
1763
|
-
return res(
|
|
1764
|
-
ctx.status(200),
|
|
1765
|
-
ctx.json(${JSON.stringify(responseExample, null, 2)})
|
|
1766
|
-
);
|
|
1767
|
-
})`;
|
|
1768
|
-
}
|
|
1769
|
-
|
|
1770
|
-
function generateExampleFromSchema(schema: any): any {
|
|
1771
|
-
if (typeof schema === 'string') {
|
|
1772
|
-
return schema === 'string' ? 'example' : schema === 'number' ? 123 : schema === 'boolean' ? true : [];
|
|
1773
|
-
}
|
|
1774
|
-
|
|
1775
|
-
const example: any = {};
|
|
1776
|
-
|
|
1777
|
-
for (const [key, type] of Object.entries(schema)) {
|
|
1778
|
-
if (type === 'string') {
|
|
1779
|
-
example[key] = 'example';
|
|
1780
|
-
} else if (type === 'number') {
|
|
1781
|
-
example[key] = 123;
|
|
1782
|
-
} else if (type === 'boolean') {
|
|
1783
|
-
example[key] = true;
|
|
1784
|
-
} else if (type === 'array') {
|
|
1785
|
-
example[key] = [];
|
|
1786
|
-
}
|
|
1787
|
-
}
|
|
1788
|
-
|
|
1789
|
-
return example;
|
|
1790
|
-
}
|
|
1791
|
-
```
|
|
1792
|
-
|
|
1793
|
-
**Step 4: Run test to verify it passes**
|
|
1794
|
-
|
|
1795
|
-
Run: `pnpm test tests/testing/generators/contract.test.ts`
|
|
1796
|
-
Expected: PASS
|
|
1797
|
-
|
|
1798
|
-
**Step 5: Commit**
|
|
1799
|
-
|
|
1800
|
-
```bash
|
|
1801
|
-
git add src/testing/generators/contract.ts tests/testing/generators/contract.test.ts
|
|
1802
|
-
git commit -m "feat(testing): add contract test generator for APIs
|
|
1803
|
-
|
|
1804
|
-
- Generate Pact consumer-driven contract tests
|
|
1805
|
-
- Support Supertest for REST API contracts
|
|
1806
|
-
- Generate MSW handlers from OpenAPI specs
|
|
1807
|
-
- Parse OpenAPI 3.0 specifications
|
|
1808
|
-
- Create example data from schemas
|
|
1809
|
-
|
|
1810
|
-
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>"
|
|
1811
|
-
```
|
|
1812
|
-
|
|
1813
|
-
---
|
|
1814
|
-
|
|
1815
|
-
## Task 7: Enhanced Test-Engineer Agent Integration
|
|
1816
|
-
|
|
1817
|
-
**Files:**
|
|
1818
|
-
- Update: `agents/test-engineer.md`
|
|
1819
|
-
- Create: `src/testing/cli/agent-integration.ts`
|
|
1820
|
-
- Create: `tests/testing/cli/agent-integration.test.ts`
|
|
1821
|
-
|
|
1822
|
-
**Step 1: Write the failing test**
|
|
1823
|
-
|
|
1824
|
-
Create `tests/testing/cli/agent-integration.test.ts`:
|
|
1825
|
-
|
|
1826
|
-
```typescript
|
|
1827
|
-
import { describe, it, expect } from 'vitest';
|
|
1828
|
-
import { prepareTestEngineerContext } from '../../../src/testing/cli/agent-integration';
|
|
1829
|
-
|
|
1830
|
-
describe('Test-Engineer Agent Integration', () => {
|
|
1831
|
-
it('should prepare context for simple code', async () => {
|
|
1832
|
-
const context = await prepareTestEngineerContext({
|
|
1833
|
-
filePath: 'src/utils/math.ts',
|
|
1834
|
-
code: 'export function add(a: number, b: number) { return a + b; }',
|
|
1835
|
-
projectRoot: process.cwd(),
|
|
1836
|
-
});
|
|
1837
|
-
|
|
1838
|
-
expect(context.complexity).toBe('simple');
|
|
1839
|
-
expect(context.techStack).toBeDefined();
|
|
1840
|
-
expect(context.suggestedApproach).toBe('auto-generate');
|
|
1841
|
-
});
|
|
1842
|
-
|
|
1843
|
-
it('should prepare context for complex code', async () => {
|
|
1844
|
-
const complexCode = `
|
|
1845
|
-
export async function processPayment(order: Order) {
|
|
1846
|
-
const stripe = await getStripeClient();
|
|
1847
|
-
const result = await stripe.charges.create({ amount: order.total });
|
|
1848
|
-
await db.transaction(async (trx) => {
|
|
1849
|
-
await trx('orders').update({ status: 'paid' });
|
|
1850
|
-
});
|
|
1851
|
-
return result;
|
|
1852
|
-
}
|
|
1853
|
-
`;
|
|
1854
|
-
|
|
1855
|
-
const context = await prepareTestEngineerContext({
|
|
1856
|
-
filePath: 'src/services/payment.ts',
|
|
1857
|
-
code: complexCode,
|
|
1858
|
-
projectRoot: process.cwd(),
|
|
1859
|
-
});
|
|
1860
|
-
|
|
1861
|
-
expect(context.complexity).toBe('complex');
|
|
1862
|
-
expect(context.suggestedApproach).toBe('guided');
|
|
1863
|
-
expect(context.questionsForUser).toBeDefined();
|
|
1864
|
-
});
|
|
1865
|
-
});
|
|
1866
|
-
```
|
|
1867
|
-
|
|
1868
|
-
**Step 2: Run test to verify it fails**
|
|
1869
|
-
|
|
1870
|
-
Run: `pnpm test tests/testing/cli/agent-integration.test.ts`
|
|
1871
|
-
Expected: FAIL with "Cannot find module"
|
|
1872
|
-
|
|
1873
|
-
**Step 3: Implement agent integration**
|
|
1874
|
-
|
|
1875
|
-
Create `src/testing/cli/agent-integration.ts`:
|
|
1876
|
-
|
|
1877
|
-
```typescript
|
|
1878
|
-
import { detectTechStack } from '../detectors';
|
|
1879
|
-
import { analyzeComplexity } from '../analyzers/complexity';
|
|
1880
|
-
import type { TechStack } from '../types';
|
|
1881
|
-
import type { ComplexityAnalysisResult } from '../analyzers/complexity';
|
|
1882
|
-
|
|
1883
|
-
export interface TestEngineerContext {
|
|
1884
|
-
filePath: string;
|
|
1885
|
-
code: string;
|
|
1886
|
-
techStack: TechStack;
|
|
1887
|
-
complexity: 'simple' | 'complex';
|
|
1888
|
-
complexityMetrics: ComplexityAnalysisResult;
|
|
1889
|
-
suggestedApproach: 'auto-generate' | 'guided' | 'manual';
|
|
1890
|
-
questionsForUser?: string[];
|
|
1891
|
-
}
|
|
1892
|
-
|
|
1893
|
-
interface PrepareContextOptions {
|
|
1894
|
-
filePath: string;
|
|
1895
|
-
code: string;
|
|
1896
|
-
projectRoot: string;
|
|
1897
|
-
}
|
|
1898
|
-
|
|
1899
|
-
export async function prepareTestEngineerContext(options: PrepareContextOptions): Promise<TestEngineerContext> {
|
|
1900
|
-
const { filePath, code, projectRoot } = options;
|
|
1901
|
-
|
|
1902
|
-
// Detect tech stack
|
|
1903
|
-
const techStack = await detectTechStack(projectRoot);
|
|
1904
|
-
|
|
1905
|
-
// Analyze complexity
|
|
1906
|
-
const complexityMetrics = await analyzeComplexity({ code, filePath });
|
|
1907
|
-
|
|
1908
|
-
// Determine suggested approach
|
|
1909
|
-
let suggestedApproach: 'auto-generate' | 'guided' | 'manual';
|
|
1910
|
-
let questionsForUser: string[] | undefined;
|
|
1911
|
-
|
|
1912
|
-
if (complexityMetrics.complexity === 'simple') {
|
|
1913
|
-
suggestedApproach = 'auto-generate';
|
|
1914
|
-
} else {
|
|
1915
|
-
suggestedApproach = 'guided';
|
|
1916
|
-
questionsForUser = generateQuestionsForComplexCode(complexityMetrics);
|
|
1917
|
-
}
|
|
1918
|
-
|
|
1919
|
-
return {
|
|
1920
|
-
filePath,
|
|
1921
|
-
code,
|
|
1922
|
-
techStack,
|
|
1923
|
-
complexity: complexityMetrics.complexity,
|
|
1924
|
-
complexityMetrics,
|
|
1925
|
-
suggestedApproach,
|
|
1926
|
-
questionsForUser,
|
|
1927
|
-
};
|
|
1928
|
-
}
|
|
1929
|
-
|
|
1930
|
-
function generateQuestionsForComplexCode(metrics: ComplexityAnalysisResult): string[] {
|
|
1931
|
-
const questions: string[] = [];
|
|
1932
|
-
|
|
1933
|
-
if (metrics.reasons.includes('Payment processing logic')) {
|
|
1934
|
-
questions.push('What are the expected payment flows? (success, failure, retry)');
|
|
1935
|
-
questions.push('Should I mock external payment provider API calls?');
|
|
1936
|
-
questions.push('What error scenarios should be tested?');
|
|
1937
|
-
}
|
|
1938
|
-
|
|
1939
|
-
if (metrics.reasons.includes('Authentication logic')) {
|
|
1940
|
-
questions.push('What authentication methods should be tested?');
|
|
1941
|
-
questions.push('Should I test token expiration and refresh?');
|
|
1942
|
-
questions.push('What authorization scenarios should be covered?');
|
|
1943
|
-
}
|
|
1944
|
-
|
|
1945
|
-
if (metrics.reasons.includes('Database transactions')) {
|
|
1946
|
-
questions.push('What database states should I test?');
|
|
1947
|
-
questions.push('Should I test transaction rollbacks?');
|
|
1948
|
-
questions.push('Are there specific edge cases for data integrity?');
|
|
1949
|
-
}
|
|
1950
|
-
|
|
1951
|
-
if (metrics.reasons.includes('External API calls')) {
|
|
1952
|
-
questions.push('Should I mock external API calls?');
|
|
1953
|
-
questions.push('What API failure scenarios should be tested?');
|
|
1954
|
-
questions.push('Are there rate limiting or retry logic to test?');
|
|
1955
|
-
}
|
|
1956
|
-
|
|
1957
|
-
if (metrics.reasons.includes('Multiple async operations')) {
|
|
1958
|
-
questions.push('Should I test concurrent execution scenarios?');
|
|
1959
|
-
questions.push('Are there race conditions to consider?');
|
|
1960
|
-
questions.push('What timeout scenarios should be tested?');
|
|
1961
|
-
}
|
|
1962
|
-
|
|
1963
|
-
// Always ask about edge cases
|
|
1964
|
-
questions.push('Are there specific edge cases or business rules I should know about?');
|
|
1965
|
-
|
|
1966
|
-
return questions;
|
|
1967
|
-
}
|
|
1968
|
-
|
|
1969
|
-
export async function invokeTestEngineerAgent(context: TestEngineerContext): Promise<string> {
|
|
1970
|
-
// This would integrate with the actual test-engineer agent
|
|
1971
|
-
// For now, return a placeholder command
|
|
1972
|
-
|
|
1973
|
-
const agentCommand = `test-engineer --file="${context.filePath}" --complexity="${context.complexity}" --approach="${context.suggestedApproach}"`;
|
|
1974
|
-
|
|
1975
|
-
return agentCommand;
|
|
1976
|
-
}
|
|
1977
|
-
```
|
|
1978
|
-
|
|
1979
|
-
**Step 4: Update test-engineer agent document**
|
|
1980
|
-
|
|
1981
|
-
Update `agents/test-engineer.md` to add:
|
|
1982
|
-
|
|
1983
|
-
```markdown
|
|
1984
|
-
## Enhanced Integration with Test Generation System
|
|
1985
|
-
|
|
1986
|
-
### Automatic Context Enrichment
|
|
1987
|
-
|
|
1988
|
-
When invoked for test generation, test-engineer receives enriched context:
|
|
1989
|
-
|
|
1990
|
-
- **Tech Stack**: Detected frameworks, languages, and test tools
|
|
1991
|
-
- **Complexity Analysis**: Metrics including cyclomatic complexity, nesting levels, external dependencies
|
|
1992
|
-
- **Suggested Approach**:
|
|
1993
|
-
- `auto-generate`: Simple code, generate tests automatically
|
|
1994
|
-
- `guided`: Complex code, ask user for clarification
|
|
1995
|
-
- `manual`: Very complex, provide framework and guidance only
|
|
1996
|
-
|
|
1997
|
-
### Workflow for Complex Code
|
|
1998
|
-
|
|
1999
|
-
When complexity is `complex`:
|
|
2000
|
-
|
|
2001
|
-
1. **Review Context**: Examine complexity metrics and reasons
|
|
2002
|
-
2. **Ask Questions**: Use pre-generated questions based on complexity reasons
|
|
2003
|
-
3. **Generate Test Framework**: Create test structure with placeholders
|
|
2004
|
-
4. **Fill in Details**: Based on user answers, complete test cases
|
|
2005
|
-
5. **Verify Coverage**: Ensure all identified complexity factors are tested
|
|
2006
|
-
|
|
2007
|
-
### Example Invocation
|
|
2008
|
-
|
|
2009
|
-
```typescript
|
|
2010
|
-
const context = await prepareTestEngineerContext({
|
|
2011
|
-
filePath: 'src/services/payment.ts',
|
|
2012
|
-
code: paymentServiceCode,
|
|
2013
|
-
projectRoot: '/project/root',
|
|
2014
|
-
});
|
|
2015
|
-
|
|
2016
|
-
// Context includes:
|
|
2017
|
-
// - techStack: { backend: { language: 'nodejs', testFramework: 'vitest' } }
|
|
2018
|
-
// - complexity: 'complex'
|
|
2019
|
-
// - complexityMetrics: { lines: 75, cyclomaticComplexity: 15, ... }
|
|
2020
|
-
// - suggestedApproach: 'guided'
|
|
2021
|
-
// - questionsForUser: ['What payment flows...', 'Should I mock...']
|
|
2022
|
-
```
|
|
2023
|
-
|
|
2024
|
-
### Integration with /test-gen Skill
|
|
2025
|
-
|
|
2026
|
-
The `/test-gen` skill automatically prepares this context before delegating to test-engineer:
|
|
2027
|
-
|
|
2028
|
-
1. User runs `/test-gen src/services/payment.ts`
|
|
2029
|
-
2. System detects tech stack and analyzes complexity
|
|
2030
|
-
3. If complex, prepares questions and delegates to test-engineer
|
|
2031
|
-
4. Test-engineer asks questions and generates comprehensive tests
|
|
2032
|
-
5. System verifies tests and commits
|
|
2033
|
-
|
|
2034
|
-
### Success Criteria
|
|
2035
|
-
|
|
2036
|
-
- [ ] Context preparation includes all necessary information
|
|
2037
|
-
- [ ] Questions are relevant to complexity reasons
|
|
2038
|
-
- [ ] Test-engineer can generate appropriate tests for both simple and complex code
|
|
2039
|
-
- [ ] Integration with /test-gen skill is seamless
|
|
2040
|
-
```
|
|
2041
|
-
|
|
2042
|
-
**Step 5: Run test to verify it passes**
|
|
2043
|
-
|
|
2044
|
-
Run: `pnpm test tests/testing/cli/agent-integration.test.ts`
|
|
2045
|
-
Expected: PASS
|
|
2046
|
-
|
|
2047
|
-
**Step 6: Commit**
|
|
2048
|
-
|
|
2049
|
-
```bash
|
|
2050
|
-
git add src/testing/cli/agent-integration.ts tests/testing/cli/agent-integration.test.ts agents/test-engineer.md
|
|
2051
|
-
git commit -m "feat(testing): enhance test-engineer agent integration
|
|
2052
|
-
|
|
2053
|
-
- Prepare enriched context with tech stack and complexity
|
|
2054
|
-
- Generate relevant questions for complex code
|
|
2055
|
-
- Determine suggested approach (auto/guided/manual)
|
|
2056
|
-
- Update test-engineer agent documentation
|
|
2057
|
-
- Support seamless integration with /test-gen skill
|
|
2058
|
-
|
|
2059
|
-
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>"
|
|
2060
|
-
```
|
|
2061
|
-
|
|
2062
|
-
---
|
|
2063
|
-
|
|
2064
|
-
## Task 8: Ultraqa Integration
|
|
2065
|
-
|
|
2066
|
-
**Files:**
|
|
2067
|
-
- Update: `skills/ultraqa.md`
|
|
2068
|
-
- Create: `src/testing/cli/ultraqa-integration.ts`
|
|
2069
|
-
- Create: `tests/testing/cli/ultraqa-integration.test.ts`
|
|
2070
|
-
|
|
2071
|
-
**Step 1: Write the failing test**
|
|
2072
|
-
|
|
2073
|
-
Create `tests/testing/cli/ultraqa-integration.test.ts`:
|
|
2074
|
-
|
|
2075
|
-
```typescript
|
|
2076
|
-
import { describe, it, expect } from 'vitest';
|
|
2077
|
-
import { enhanceUltraQAWithTestGen } from '../../../src/testing/cli/ultraqa-integration';
|
|
2078
|
-
|
|
2079
|
-
describe('UltraQA Integration', () => {
|
|
2080
|
-
it('should identify files needing tests', async () => {
|
|
2081
|
-
const result = await enhanceUltraQAWithTestGen({
|
|
2082
|
-
projectRoot: process.cwd(),
|
|
2083
|
-
changedFiles: ['src/utils/math.ts', 'src/services/payment.ts'],
|
|
2084
|
-
});
|
|
2085
|
-
|
|
2086
|
-
expect(result.filesNeedingTests).toHaveLength(2);
|
|
2087
|
-
expect(result.coverageGaps).toBeDefined();
|
|
2088
|
-
});
|
|
2089
|
-
|
|
2090
|
-
it('should generate tests for coverage gaps', async () => {
|
|
2091
|
-
const result = await enhanceUltraQAWithTestGen({
|
|
2092
|
-
projectRoot: process.cwd(),
|
|
2093
|
-
coverageGaps: [
|
|
2094
|
-
{ file: 'src/utils/validation.ts', startLine: 42, endLine: 48, reason: 'Error handling not covered' },
|
|
2095
|
-
],
|
|
2096
|
-
});
|
|
2097
|
-
|
|
2098
|
-
expect(result.generatedTests).toHaveLength(1);
|
|
2099
|
-
});
|
|
2100
|
-
});
|
|
2101
|
-
```
|
|
2102
|
-
|
|
2103
|
-
**Step 2: Run test to verify it fails**
|
|
2104
|
-
|
|
2105
|
-
Run: `pnpm test tests/testing/cli/ultraqa-integration.test.ts`
|
|
2106
|
-
Expected: FAIL with "Cannot find module"
|
|
2107
|
-
|
|
2108
|
-
**Step 3: Implement ultraqa integration**
|
|
2109
|
-
|
|
2110
|
-
Create `src/testing/cli/ultraqa-integration.ts`:
|
|
2111
|
-
|
|
2112
|
-
```typescript
|
|
2113
|
-
import fs from 'fs/promises';
|
|
2114
|
-
import path from 'path';
|
|
2115
|
-
import { analyzeCoverage, identifyGaps } from '../analyzers/coverage';
|
|
2116
|
-
import { testGenCommand } from './commands';
|
|
2117
|
-
import type { CoverageGap } from '../analyzers/types';
|
|
2118
|
-
|
|
2119
|
-
interface UltraQAOptions {
|
|
2120
|
-
projectRoot: string;
|
|
2121
|
-
changedFiles?: string[];
|
|
2122
|
-
coverageGaps?: CoverageGap[];
|
|
2123
|
-
}
|
|
2124
|
-
|
|
2125
|
-
interface UltraQAResult {
|
|
2126
|
-
filesNeedingTests: string[];
|
|
2127
|
-
coverageGaps?: CoverageGap[];
|
|
2128
|
-
generatedTests: string[];
|
|
2129
|
-
}
|
|
2130
|
-
|
|
2131
|
-
export async function enhanceUltraQAWithTestGen(options: UltraQAOptions): Promise<UltraQAResult> {
|
|
2132
|
-
const { projectRoot, changedFiles, coverageGaps } = options;
|
|
2133
|
-
|
|
2134
|
-
const filesNeedingTests: string[] = [];
|
|
2135
|
-
const generatedTests: string[] = [];
|
|
2136
|
-
|
|
2137
|
-
// If changed files provided, check which ones need tests
|
|
2138
|
-
if (changedFiles) {
|
|
2139
|
-
for (const file of changedFiles) {
|
|
2140
|
-
const needsTest = await checkIfNeedsTest(file, projectRoot);
|
|
2141
|
-
if (needsTest) {
|
|
2142
|
-
filesNeedingTests.push(file);
|
|
2143
|
-
}
|
|
2144
|
-
}
|
|
2145
|
-
}
|
|
2146
|
-
|
|
2147
|
-
// If coverage gaps provided, generate tests for them
|
|
2148
|
-
if (coverageGaps) {
|
|
2149
|
-
for (const gap of coverageGaps) {
|
|
2150
|
-
try {
|
|
2151
|
-
const result = await testGenCommand({
|
|
2152
|
-
filePath: path.join(projectRoot, gap.file),
|
|
2153
|
-
});
|
|
2154
|
-
|
|
2155
|
-
if (result.success && result.testFilePath) {
|
|
2156
|
-
generatedTests.push(result.testFilePath);
|
|
2157
|
-
}
|
|
2158
|
-
} catch (error) {
|
|
2159
|
-
console.error(`Failed to generate test for ${gap.file}:`, error);
|
|
2160
|
-
}
|
|
2161
|
-
}
|
|
2162
|
-
}
|
|
2163
|
-
|
|
2164
|
-
// Analyze coverage if no gaps provided
|
|
2165
|
-
let gaps: CoverageGap[] | undefined;
|
|
2166
|
-
if (!coverageGaps) {
|
|
2167
|
-
try {
|
|
2168
|
-
const coverageResult = await analyzeCoverage({ projectRoot });
|
|
2169
|
-
if (coverageResult.totalCoverage < 80) {
|
|
2170
|
-
// Identify gaps
|
|
2171
|
-
const gapResult = await identifyGaps({
|
|
2172
|
-
projectRoot,
|
|
2173
|
-
uncoveredLines: {}, // Would be populated from coverage report
|
|
2174
|
-
});
|
|
2175
|
-
gaps = gapResult.gaps;
|
|
2176
|
-
}
|
|
2177
|
-
} catch (error) {
|
|
2178
|
-
// Coverage not available
|
|
2179
|
-
}
|
|
2180
|
-
}
|
|
2181
|
-
|
|
2182
|
-
return {
|
|
2183
|
-
filesNeedingTests,
|
|
2184
|
-
coverageGaps: gaps,
|
|
2185
|
-
generatedTests,
|
|
2186
|
-
};
|
|
2187
|
-
}
|
|
2188
|
-
|
|
2189
|
-
async function checkIfNeedsTest(filePath: string, projectRoot: string): Promise<boolean> {
|
|
2190
|
-
// Check if test file already exists
|
|
2191
|
-
const testFilePath = filePath.replace(/\.(ts|js|tsx|jsx)$/, '.test.$1');
|
|
2192
|
-
const fullTestPath = path.join(projectRoot, testFilePath);
|
|
2193
|
-
|
|
2194
|
-
try {
|
|
2195
|
-
await fs.access(fullTestPath);
|
|
2196
|
-
return false; // Test file exists
|
|
2197
|
-
} catch {
|
|
2198
|
-
return true; // Test file doesn't exist
|
|
2199
|
-
}
|
|
2200
|
-
}
|
|
2201
|
-
```
|
|
2202
|
-
|
|
2203
|
-
**Step 4: Update ultraqa skill document**
|
|
2204
|
-
|
|
2205
|
-
Update `skills/ultraqa.md` to add:
|
|
2206
|
-
|
|
2207
|
-
```markdown
|
|
2208
|
-
## Enhanced Test Generation Integration
|
|
2209
|
-
|
|
2210
|
-
### Automatic Test Generation
|
|
2211
|
-
|
|
2212
|
-
UltraQA now automatically generates missing tests during the QA cycle:
|
|
2213
|
-
|
|
2214
|
-
1. **Identify Missing Tests**: Check which changed files lack test coverage
|
|
2215
|
-
2. **Generate Tests**: Use `/test-gen` to create tests for uncovered files
|
|
2216
|
-
3. **Run Tests**: Execute generated tests
|
|
2217
|
-
4. **Analyze Coverage**: Identify remaining gaps
|
|
2218
|
-
5. **Fix Issues**: If tests fail, fix and regenerate
|
|
2219
|
-
6. **Repeat**: Continue until coverage threshold met (default: 80%)
|
|
2220
|
-
|
|
2221
|
-
### Workflow
|
|
2222
|
-
|
|
2223
|
-
```
|
|
2224
|
-
User: /ultraqa
|
|
2225
|
-
|
|
2226
|
-
Agent: Starting UltraQA cycle...
|
|
2227
|
-
|
|
2228
|
-
Agent: Analyzing changed files...
|
|
2229
|
-
- src/utils/math.ts (no test file)
|
|
2230
|
-
- src/services/payment.ts (test exists, but coverage 45%)
|
|
2231
|
-
|
|
2232
|
-
Agent: Generating missing tests...
|
|
2233
|
-
✅ Generated: src/utils/math.test.ts
|
|
2234
|
-
|
|
2235
|
-
Agent: Analyzing coverage gaps in src/services/payment.ts...
|
|
2236
|
-
- Lines 42-48: Error handling not covered
|
|
2237
|
-
- Lines 67-72: Edge case for retries
|
|
2238
|
-
|
|
2239
|
-
Agent: Generating supplementary tests...
|
|
2240
|
-
✅ Added 3 test cases to src/services/payment.test.ts
|
|
2241
|
-
|
|
2242
|
-
Agent: Running all tests...
|
|
2243
|
-
✅ All tests passing
|
|
2244
|
-
|
|
2245
|
-
Agent: Coverage analysis...
|
|
2246
|
-
- Overall coverage: 85%
|
|
2247
|
-
- src/utils/math.ts: 100%
|
|
2248
|
-
- src/services/payment.ts: 82%
|
|
2249
|
-
|
|
2250
|
-
✅ UltraQA cycle complete. Coverage threshold met.
|
|
2251
|
-
```
|
|
2252
|
-
|
|
2253
|
-
### Configuration
|
|
2254
|
-
|
|
2255
|
-
Add to `.omc/project-config.json`:
|
|
2256
|
-
|
|
2257
|
-
```json
|
|
2258
|
-
{
|
|
2259
|
-
"ultraqa": {
|
|
2260
|
-
"autoGenerateTests": true,
|
|
2261
|
-
"coverageThreshold": 80,
|
|
2262
|
-
"maxCycles": 5
|
|
2263
|
-
}
|
|
2264
|
-
}
|
|
2265
|
-
```
|
|
2266
|
-
```
|
|
2267
|
-
|
|
2268
|
-
**Step 5: Run test to verify it passes**
|
|
2269
|
-
|
|
2270
|
-
Run: `pnpm test tests/testing/cli/ultraqa-integration.test.ts`
|
|
2271
|
-
Expected: PASS
|
|
2272
|
-
|
|
2273
|
-
**Step 6: Commit**
|
|
2274
|
-
|
|
2275
|
-
```bash
|
|
2276
|
-
git add src/testing/cli/ultraqa-integration.ts tests/testing/cli/ultraqa-integration.test.ts skills/ultraqa.md
|
|
2277
|
-
git commit -m "feat(testing): integrate test generation with /ultraqa workflow
|
|
2278
|
-
|
|
2279
|
-
- Automatically identify files needing tests
|
|
2280
|
-
- Generate tests for coverage gaps
|
|
2281
|
-
- Enhance ultraqa cycle with test generation
|
|
2282
|
-
- Support coverage threshold configuration
|
|
2283
|
-
- Update ultraqa skill documentation
|
|
2284
|
-
|
|
2285
|
-
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>"
|
|
2286
|
-
```
|
|
2287
|
-
|
|
2288
|
-
---
|
|
2289
|
-
|
|
2290
|
-
## Task 9: Multi-Language CLI Integration
|
|
2291
|
-
|
|
2292
|
-
**Files:**
|
|
2293
|
-
- Update: `src/testing/cli/commands.ts`
|
|
2294
|
-
- Update: `src/testing/detectors/index.ts`
|
|
2295
|
-
- Create: `tests/testing/cli/multi-language.test.ts`
|
|
2296
|
-
|
|
2297
|
-
**Step 1: Write the failing test**
|
|
2298
|
-
|
|
2299
|
-
Create `tests/testing/cli/multi-language.test.ts`:
|
|
2300
|
-
|
|
2301
|
-
```typescript
|
|
2302
|
-
import { describe, it, expect } from 'vitest';
|
|
2303
|
-
import { testGenCommand } from '../../../src/testing/cli/commands';
|
|
2304
|
-
|
|
2305
|
-
describe('Multi-Language Test Generation', () => {
|
|
2306
|
-
it('should generate Python test', async () => {
|
|
2307
|
-
const result = await testGenCommand({
|
|
2308
|
-
filePath: 'src/utils/math.py',
|
|
2309
|
-
language: 'python',
|
|
2310
|
-
});
|
|
2311
|
-
|
|
2312
|
-
expect(result.success).toBe(true);
|
|
2313
|
-
expect(result.testFilePath).toContain('test_math.py');
|
|
2314
|
-
});
|
|
2315
|
-
|
|
2316
|
-
it('should generate Go test', async () => {
|
|
2317
|
-
const result = await testGenCommand({
|
|
2318
|
-
filePath: 'pkg/math/math.go',
|
|
2319
|
-
language: 'go',
|
|
2320
|
-
});
|
|
2321
|
-
|
|
2322
|
-
expect(result.success).toBe(true);
|
|
2323
|
-
expect(result.testFilePath).toContain('math_test.go');
|
|
2324
|
-
});
|
|
2325
|
-
|
|
2326
|
-
it('should generate Rust test', async () => {
|
|
2327
|
-
const result = await testGenCommand({
|
|
2328
|
-
filePath: 'src/math.rs',
|
|
2329
|
-
language: 'rust',
|
|
2330
|
-
});
|
|
2331
|
-
|
|
2332
|
-
expect(result.success).toBe(true);
|
|
2333
|
-
expect(result.testFilePath).toBe('src/math.rs'); // Rust tests in same file
|
|
2334
|
-
});
|
|
2335
|
-
|
|
2336
|
-
it('should auto-detect language from file extension', async () => {
|
|
2337
|
-
const pythonResult = await testGenCommand({
|
|
2338
|
-
filePath: 'src/utils/math.py',
|
|
2339
|
-
});
|
|
2340
|
-
|
|
2341
|
-
expect(pythonResult.success).toBe(true);
|
|
2342
|
-
|
|
2343
|
-
const goResult = await testGenCommand({
|
|
2344
|
-
filePath: 'pkg/math/math.go',
|
|
2345
|
-
});
|
|
2346
|
-
|
|
2347
|
-
expect(goResult.success).toBe(true);
|
|
2348
|
-
});
|
|
2349
|
-
});
|
|
2350
|
-
```
|
|
2351
|
-
|
|
2352
|
-
**Step 2: Run test to verify it fails**
|
|
2353
|
-
|
|
2354
|
-
Run: `pnpm test tests/testing/cli/multi-language.test.ts`
|
|
2355
|
-
Expected: FAIL (multi-language support not yet integrated)
|
|
2356
|
-
|
|
2357
|
-
**Step 3: Update CLI commands to support all languages**
|
|
2358
|
-
|
|
2359
|
-
Update `src/testing/cli/commands.ts`:
|
|
2360
|
-
|
|
2361
|
-
```typescript
|
|
2362
|
-
import { generatePythonTest } from '../generators/python';
|
|
2363
|
-
import { generateGoTest } from '../generators/go';
|
|
2364
|
-
import { generateRustTest } from '../generators/rust';
|
|
2365
|
-
import { detectPythonStack } from '../detectors/python';
|
|
2366
|
-
import { detectGoStack } from '../detectors/go';
|
|
2367
|
-
import { detectRustStack } from '../detectors/rust';
|
|
2368
|
-
|
|
2369
|
-
// Add to existing TestGenOptions interface
|
|
2370
|
-
interface TestGenOptions {
|
|
2371
|
-
filePath: string;
|
|
2372
|
-
output?: string;
|
|
2373
|
-
language?: 'nodejs' | 'python' | 'go' | 'rust'; // Add language option
|
|
2374
|
-
}
|
|
2375
|
-
|
|
2376
|
-
// Update testGenCommand function
|
|
2377
|
-
export async function testGenCommand(options: TestGenOptions): Promise<TestGenResult> {
|
|
2378
|
-
try {
|
|
2379
|
-
const { filePath, output, language } = options;
|
|
2380
|
-
|
|
2381
|
-
// Read source file
|
|
2382
|
-
const code = await fs.readFile(filePath, 'utf-8');
|
|
2383
|
-
|
|
2384
|
-
// Auto-detect language if not provided
|
|
2385
|
-
const detectedLanguage = language || detectLanguageFromFile(filePath);
|
|
2386
|
-
|
|
2387
|
-
// Detect tech stack
|
|
2388
|
-
const projectRoot = process.cwd();
|
|
2389
|
-
let stack = await detectTechStack(projectRoot);
|
|
2390
|
-
|
|
2391
|
-
// Enhance with language-specific detection
|
|
2392
|
-
if (detectedLanguage === 'python') {
|
|
2393
|
-
const pythonStack = await detectPythonStack(projectRoot);
|
|
2394
|
-
stack = { ...stack, ...pythonStack };
|
|
2395
|
-
} else if (detectedLanguage === 'go') {
|
|
2396
|
-
const goStack = await detectGoStack(projectRoot);
|
|
2397
|
-
stack = { ...stack, ...goStack };
|
|
2398
|
-
} else if (detectedLanguage === 'rust') {
|
|
2399
|
-
const rustStack = await detectRustStack(projectRoot);
|
|
2400
|
-
stack = { ...stack, ...rustStack };
|
|
2401
|
-
}
|
|
2402
|
-
|
|
2403
|
-
// Generate test based on language
|
|
2404
|
-
let result;
|
|
2405
|
-
|
|
2406
|
-
if (detectedLanguage === 'python') {
|
|
2407
|
-
result = await generatePythonTest({
|
|
2408
|
-
filePath,
|
|
2409
|
-
code,
|
|
2410
|
-
testFramework: stack.backend?.testFramework || 'pytest',
|
|
2411
|
-
});
|
|
2412
|
-
} else if (detectedLanguage === 'go') {
|
|
2413
|
-
// Extract package name from file
|
|
2414
|
-
const packageMatch = code.match(/package\s+(\w+)/);
|
|
2415
|
-
const packageName = packageMatch ? packageMatch[1] : 'main';
|
|
2416
|
-
|
|
2417
|
-
result = await generateGoTest({
|
|
2418
|
-
filePath,
|
|
2419
|
-
code,
|
|
2420
|
-
packageName,
|
|
2421
|
-
});
|
|
2422
|
-
} else if (detectedLanguage === 'rust') {
|
|
2423
|
-
result = await generateRustTest({
|
|
2424
|
-
filePath,
|
|
2425
|
-
code,
|
|
2426
|
-
});
|
|
2427
|
-
} else if (filePath.match(/\.(tsx|jsx)$/) && stack.frontend?.framework === 'react') {
|
|
2428
|
-
result = await generateReactTest({
|
|
2429
|
-
filePath,
|
|
2430
|
-
code,
|
|
2431
|
-
testFramework: stack.frontend.testFramework || 'vitest',
|
|
2432
|
-
});
|
|
2433
|
-
} else if (filePath.match(/\.ts$/)) {
|
|
2434
|
-
result = await generateNodeJsTest({
|
|
2435
|
-
filePath,
|
|
2436
|
-
code,
|
|
2437
|
-
testFramework: stack.backend?.testFramework || 'vitest',
|
|
2438
|
-
});
|
|
2439
|
-
} else {
|
|
2440
|
-
return {
|
|
2441
|
-
success: false,
|
|
2442
|
-
error: `Unsupported file type or language: ${detectedLanguage}`,
|
|
2443
|
-
};
|
|
2444
|
-
}
|
|
2445
|
-
|
|
2446
|
-
// Write test file
|
|
2447
|
-
const testFilePath = output || result.testFilePath;
|
|
2448
|
-
await fs.writeFile(testFilePath, result.testCode, 'utf-8');
|
|
2449
|
-
|
|
2450
|
-
return {
|
|
2451
|
-
success: true,
|
|
2452
|
-
testFilePath,
|
|
2453
|
-
};
|
|
2454
|
-
} catch (error) {
|
|
2455
|
-
return {
|
|
2456
|
-
success: false,
|
|
2457
|
-
error: error instanceof Error ? error.message : 'Unknown error',
|
|
2458
|
-
};
|
|
2459
|
-
}
|
|
2460
|
-
}
|
|
2461
|
-
|
|
2462
|
-
function detectLanguageFromFile(filePath: string): 'nodejs' | 'python' | 'go' | 'rust' {
|
|
2463
|
-
if (filePath.endsWith('.py')) return 'python';
|
|
2464
|
-
if (filePath.endsWith('.go')) return 'go';
|
|
2465
|
-
if (filePath.endsWith('.rs')) return 'rust';
|
|
2466
|
-
return 'nodejs';
|
|
2467
|
-
}
|
|
2468
|
-
```
|
|
2469
|
-
|
|
2470
|
-
Update `src/testing/detectors/index.ts`:
|
|
2471
|
-
|
|
2472
|
-
```typescript
|
|
2473
|
-
import { detectFromPackageJson } from './package-json';
|
|
2474
|
-
import { detectPythonStack } from './python';
|
|
2475
|
-
import { detectGoStack } from './go';
|
|
2476
|
-
import { detectRustStack } from './rust';
|
|
2477
|
-
import type { TechStack } from '../types';
|
|
2478
|
-
|
|
2479
|
-
export async function detectTechStack(projectRoot: string): Promise<TechStack> {
|
|
2480
|
-
let stack: TechStack = {};
|
|
2481
|
-
|
|
2482
|
-
// Try Node.js detection
|
|
2483
|
-
try {
|
|
2484
|
-
const nodeStack = await detectFromPackageJson(projectRoot);
|
|
2485
|
-
stack = { ...stack, ...nodeStack };
|
|
2486
|
-
} catch (error) {
|
|
2487
|
-
// package.json not found
|
|
2488
|
-
}
|
|
2489
|
-
|
|
2490
|
-
// Try Python detection
|
|
2491
|
-
try {
|
|
2492
|
-
const pythonStack = await detectPythonStack(projectRoot);
|
|
2493
|
-
stack = { ...stack, ...pythonStack };
|
|
2494
|
-
} catch (error) {
|
|
2495
|
-
// requirements.txt not found
|
|
2496
|
-
}
|
|
2497
|
-
|
|
2498
|
-
// Try Go detection
|
|
2499
|
-
try {
|
|
2500
|
-
const goStack = await detectGoStack(projectRoot);
|
|
2501
|
-
stack = { ...stack, ...goStack };
|
|
2502
|
-
} catch (error) {
|
|
2503
|
-
// go.mod not found
|
|
2504
|
-
}
|
|
2505
|
-
|
|
2506
|
-
// Try Rust detection
|
|
2507
|
-
try {
|
|
2508
|
-
const rustStack = await detectRustStack(projectRoot);
|
|
2509
|
-
stack = { ...stack, ...rustStack };
|
|
2510
|
-
} catch (error) {
|
|
2511
|
-
// Cargo.toml not found
|
|
2512
|
-
}
|
|
2513
|
-
|
|
2514
|
-
return stack;
|
|
2515
|
-
}
|
|
2516
|
-
|
|
2517
|
-
export { detectFromPackageJson, detectPythonStack, detectGoStack, detectRustStack };
|
|
2518
|
-
```
|
|
2519
|
-
|
|
2520
|
-
**Step 4: Run test to verify it passes**
|
|
2521
|
-
|
|
2522
|
-
Run: `pnpm test tests/testing/cli/multi-language.test.ts`
|
|
2523
|
-
Expected: PASS
|
|
2524
|
-
|
|
2525
|
-
**Step 5: Commit**
|
|
2526
|
-
|
|
2527
|
-
```bash
|
|
2528
|
-
git add src/testing/cli/commands.ts src/testing/detectors/index.ts tests/testing/cli/multi-language.test.ts
|
|
2529
|
-
git commit -m "feat(testing): add multi-language support to CLI commands
|
|
2530
|
-
|
|
2531
|
-
- Support Python, Go, and Rust test generation
|
|
2532
|
-
- Auto-detect language from file extension
|
|
2533
|
-
- Integrate language-specific detectors
|
|
2534
|
-
- Update CLI to route to appropriate generator
|
|
2535
|
-
- Support all languages in omc test gen command
|
|
2536
|
-
|
|
2537
|
-
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>"
|
|
2538
|
-
```
|
|
2539
|
-
|
|
2540
|
-
---
|
|
2541
|
-
|
|
2542
|
-
## Task 10: Documentation and Phase 2 Summary
|
|
2543
|
-
|
|
2544
|
-
**Files:**
|
|
2545
|
-
- Update: `docs/testing/README.md`
|
|
2546
|
-
- Create: `docs/testing/PHASE2.md`
|
|
2547
|
-
- Update: `README.md`
|
|
2548
|
-
|
|
2549
|
-
**Step 1: Create Phase 2 documentation**
|
|
2550
|
-
|
|
2551
|
-
Create `docs/testing/PHASE2.md`:
|
|
2552
|
-
|
|
2553
|
-
```markdown
|
|
2554
|
-
# LLM Testing System - Phase 2 Features
|
|
2555
|
-
|
|
2556
|
-
Phase 2 extends the testing system with advanced features including coverage analysis, multi-language support, complexity analysis, contract testing, and workflow integration.
|
|
2557
|
-
|
|
2558
|
-
## New Features
|
|
2559
|
-
|
|
2560
|
-
### 1. Coverage Analysis
|
|
2561
|
-
|
|
2562
|
-
Analyze test coverage and identify gaps:
|
|
2563
|
-
|
|
2564
|
-
```bash
|
|
2565
|
-
omc test analyze
|
|
2566
|
-
```
|
|
2567
|
-
|
|
2568
|
-
Features:
|
|
2569
|
-
- Parse c8/nyc coverage reports
|
|
2570
|
-
- Identify uncovered code ranges
|
|
2571
|
-
- Analyze reasons for gaps (error handling, branches, etc.)
|
|
2572
|
-
- Generate supplementary tests for gaps
|
|
2573
|
-
|
|
2574
|
-
### 2. Multi-Language Support
|
|
2575
|
-
|
|
2576
|
-
Generate tests for Python, Go, and Rust:
|
|
2577
|
-
|
|
2578
|
-
```bash
|
|
2579
|
-
# Python (pytest)
|
|
2580
|
-
omc test gen src/utils/math.py
|
|
2581
|
-
|
|
2582
|
-
# Go (testing package)
|
|
2583
|
-
omc test gen pkg/math/math.go
|
|
2584
|
-
|
|
2585
|
-
# Rust (cargo test)
|
|
2586
|
-
omc test gen src/math.rs
|
|
2587
|
-
```
|
|
2588
|
-
|
|
2589
|
-
Supported frameworks:
|
|
2590
|
-
- **Python**: pytest, unittest
|
|
2591
|
-
- **Go**: testing package with table-driven tests
|
|
2592
|
-
- **Rust**: cargo test with #[test] attributes
|
|
2593
|
-
|
|
2594
|
-
### 3. Complexity Analysis
|
|
2595
|
-
|
|
2596
|
-
Automatically classify code as simple or complex:
|
|
2597
|
-
|
|
2598
|
-
```typescript
|
|
2599
|
-
const analysis = await analyzeComplexity({ code, filePath });
|
|
2600
|
-
// Returns: { complexity: 'simple' | 'complex', metrics, reasons }
|
|
2601
|
-
```
|
|
2602
|
-
|
|
2603
|
-
Metrics:
|
|
2604
|
-
- Lines of code
|
|
2605
|
-
- Cyclomatic complexity
|
|
2606
|
-
- Nesting levels
|
|
2607
|
-
- External dependencies
|
|
2608
|
-
|
|
2609
|
-
Complexity indicators:
|
|
2610
|
-
- Payment/auth logic
|
|
2611
|
-
- Database transactions
|
|
2612
|
-
- External API calls
|
|
2613
|
-
- Multiple async operations
|
|
2614
|
-
|
|
2615
|
-
### 4. Contract Testing
|
|
2616
|
-
|
|
2617
|
-
Generate API contract tests from OpenAPI specs:
|
|
2618
|
-
|
|
2619
|
-
```bash
|
|
2620
|
-
omc test contract api/openapi.yaml
|
|
2621
|
-
```
|
|
2622
|
-
|
|
2623
|
-
Supported frameworks:
|
|
2624
|
-
- **Pact**: Consumer-driven contract testing
|
|
2625
|
-
- **Supertest**: REST API contract tests
|
|
2626
|
-
- **MSW**: Mock Service Worker handlers
|
|
2627
|
-
|
|
2628
|
-
### 5. Enhanced Test-Engineer Agent
|
|
2629
|
-
|
|
2630
|
-
The test-engineer agent now receives enriched context:
|
|
2631
|
-
|
|
2632
|
-
- Tech stack detection
|
|
2633
|
-
- Complexity analysis
|
|
2634
|
-
- Suggested approach (auto/guided/manual)
|
|
2635
|
-
- Pre-generated questions for complex code
|
|
2636
|
-
|
|
2637
|
-
### 6. UltraQA Integration
|
|
2638
|
-
|
|
2639
|
-
UltraQA now includes automatic test generation:
|
|
2640
|
-
|
|
2641
|
-
```bash
|
|
2642
|
-
/ultraqa
|
|
2643
|
-
```
|
|
2644
|
-
|
|
2645
|
-
Workflow:
|
|
2646
|
-
1. Identify files needing tests
|
|
2647
|
-
2. Generate missing tests
|
|
2648
|
-
3. Run tests and analyze coverage
|
|
2649
|
-
4. Generate supplementary tests for gaps
|
|
2650
|
-
5. Repeat until coverage threshold met
|
|
2651
|
-
|
|
2652
|
-
## Usage Examples
|
|
2653
|
-
|
|
2654
|
-
### Example 1: Python Test Generation
|
|
2655
|
-
|
|
2656
|
-
```bash
|
|
2657
|
-
omc test gen src/calculator.py
|
|
2658
|
-
```
|
|
2659
|
-
|
|
2660
|
-
Output:
|
|
2661
|
-
```
|
|
2662
|
-
✅ Detected: Python + pytest
|
|
2663
|
-
✅ Generated: tests/test_calculator.py
|
|
2664
|
-
|
|
2665
|
-
Tests include:
|
|
2666
|
-
- test_add
|
|
2667
|
-
- test_subtract
|
|
2668
|
-
- test_multiply
|
|
2669
|
-
- test_divide
|
|
2670
|
-
```
|
|
2671
|
-
|
|
2672
|
-
### Example 2: Coverage Analysis
|
|
2673
|
-
|
|
2674
|
-
```bash
|
|
2675
|
-
omc test analyze
|
|
2676
|
-
```
|
|
2677
|
-
|
|
2678
|
-
Output:
|
|
2679
|
-
```
|
|
2680
|
-
📊 Coverage Analysis:
|
|
2681
|
-
- Overall: 75%
|
|
2682
|
-
- Lines: 75%
|
|
2683
|
-
- Functions: 90%
|
|
2684
|
-
- Branches: 70%
|
|
2685
|
-
|
|
2686
|
-
Coverage Gaps:
|
|
2687
|
-
1. src/utils/validation.ts (lines 42-48)
|
|
2688
|
-
Reason: Error handling not covered
|
|
2689
|
-
|
|
2690
|
-
2. src/services/payment.ts (lines 67-72)
|
|
2691
|
-
Reason: Edge case for retries
|
|
2692
|
-
|
|
2693
|
-
Generate tests for gaps? (y/n)
|
|
2694
|
-
```
|
|
2695
|
-
|
|
2696
|
-
### Example 3: Contract Testing
|
|
2697
|
-
|
|
2698
|
-
```bash
|
|
2699
|
-
omc test contract api/openapi.yaml --framework=pact
|
|
2700
|
-
```
|
|
2701
|
-
|
|
2702
|
-
Output:
|
|
2703
|
-
```
|
|
2704
|
-
✅ Generated: tests/contract/frontend-backend.pact.test.ts
|
|
2705
|
-
|
|
2706
|
-
Contract tests:
|
|
2707
|
-
- GET /users/{id}
|
|
2708
|
-
- POST /users
|
|
2709
|
-
- PUT /users/{id}
|
|
2710
|
-
- DELETE /users/{id}
|
|
2711
|
-
```
|
|
2712
|
-
|
|
2713
|
-
### Example 4: Complex Code with Test-Engineer
|
|
2714
|
-
|
|
2715
|
-
```bash
|
|
2716
|
-
/test-gen src/services/payment.ts
|
|
2717
|
-
```
|
|
2718
|
-
|
|
2719
|
-
Output:
|
|
2720
|
-
```
|
|
2721
|
-
Agent: Detecting tech stack...
|
|
2722
|
-
✅ Detected: Node.js + Express + PostgreSQL + Vitest
|
|
2723
|
-
|
|
2724
|
-
Agent: Analyzing complexity...
|
|
2725
|
-
⚠️ Complex code detected:
|
|
2726
|
-
- Payment processing logic
|
|
2727
|
-
- External Stripe API calls
|
|
2728
|
-
- Database transactions
|
|
2729
|
-
- Multiple async operations
|
|
2730
|
-
|
|
2731
|
-
Agent: Delegating to test-engineer for detailed test cases...
|
|
2732
|
-
|
|
2733
|
-
Test-Engineer: I'll need some information:
|
|
2734
|
-
1. What are the expected payment flows? (success, failure, retry)
|
|
2735
|
-
2. Should I mock Stripe API calls?
|
|
2736
|
-
3. What database states should I test?
|
|
2737
|
-
4. Are there specific edge cases to cover?
|
|
2738
|
-
|
|
2739
|
-
[User provides details]
|
|
2740
|
-
|
|
2741
|
-
Test-Engineer: Generating comprehensive test suite...
|
|
2742
|
-
✅ Generated 12 test cases covering:
|
|
2743
|
-
- Happy path payment processing
|
|
2744
|
-
- Stripe API failure scenarios
|
|
2745
|
-
- Database transaction rollbacks
|
|
2746
|
-
- Idempotency checks
|
|
2747
|
-
- Concurrent payment handling
|
|
2748
|
-
```
|
|
2749
|
-
|
|
2750
|
-
## Configuration
|
|
2751
|
-
|
|
2752
|
-
Add to `.omc/project-config.json`:
|
|
2753
|
-
|
|
2754
|
-
```json
|
|
2755
|
-
{
|
|
2756
|
-
"testing": {
|
|
2757
|
-
"coverageThreshold": 80,
|
|
2758
|
-
"complexityThresholds": {
|
|
2759
|
-
"lines": 50,
|
|
2760
|
-
"cyclomaticComplexity": 10,
|
|
2761
|
-
"nestingLevel": 3
|
|
2762
|
-
},
|
|
2763
|
-
"autoGenerateTests": true,
|
|
2764
|
-
"languages": ["nodejs", "python", "go", "rust"]
|
|
2765
|
-
}
|
|
2766
|
-
}
|
|
2767
|
-
```
|
|
2768
|
-
|
|
2769
|
-
## Architecture
|
|
2770
|
-
|
|
2771
|
-
```
|
|
2772
|
-
src/testing/
|
|
2773
|
-
├── analyzers/
|
|
2774
|
-
│ ├── coverage.ts # Coverage analysis
|
|
2775
|
-
│ ├── complexity.ts # Complexity analysis
|
|
2776
|
-
│ └── types.ts # Analyzer types
|
|
2777
|
-
├── generators/
|
|
2778
|
-
│ ├── react.ts # React component tests
|
|
2779
|
-
│ ├── nodejs.ts # Node.js function tests
|
|
2780
|
-
│ ├── python.ts # Python pytest tests
|
|
2781
|
-
│ ├── go.ts # Go table-driven tests
|
|
2782
|
-
│ ├── rust.ts # Rust cargo tests
|
|
2783
|
-
│ └── contract.ts # API contract tests
|
|
2784
|
-
├── detectors/
|
|
2785
|
-
│ ├── index.ts # Multi-language detection
|
|
2786
|
-
│ ├── package-json.ts # Node.js detection
|
|
2787
|
-
│ ├── python.ts # Python detection
|
|
2788
|
-
│ ├── go.ts # Go detection
|
|
2789
|
-
│ └── rust.ts # Rust detection
|
|
2790
|
-
└── cli/
|
|
2791
|
-
├── commands.ts # CLI command implementations
|
|
2792
|
-
├── agent-integration.ts # Test-engineer integration
|
|
2793
|
-
└── ultraqa-integration.ts # UltraQA integration
|
|
2794
|
-
```
|
|
2795
|
-
|
|
2796
|
-
## Next Steps (Phase 3)
|
|
2797
|
-
|
|
2798
|
-
- Giskard integration for behavior testing
|
|
2799
|
-
- E2E test generation with Playwright
|
|
2800
|
-
- CI/CD integration
|
|
2801
|
-
- Ralph mode test loops
|
|
2802
|
-
- Autopilot automatic testing
|
|
2803
|
-
- Performance optimization
|
|
2804
|
-
|
|
2805
|
-
## Success Metrics
|
|
2806
|
-
|
|
2807
|
-
Phase 2 Achievements:
|
|
2808
|
-
- ✅ Multi-language support (Python, Go, Rust)
|
|
2809
|
-
- ✅ Coverage analysis and gap identification
|
|
2810
|
-
- ✅ Complexity analysis for smart test generation
|
|
2811
|
-
- ✅ Contract testing for APIs
|
|
2812
|
-
- ✅ Enhanced test-engineer agent
|
|
2813
|
-
- ✅ UltraQA integration
|
|
2814
|
-
|
|
2815
|
-
Target Metrics:
|
|
2816
|
-
- Test coverage: 80%+
|
|
2817
|
-
- Test generation time: < 30 seconds/file
|
|
2818
|
-
- Multi-language support: 4 languages
|
|
2819
|
-
- Complexity classification accuracy: > 90%
|
|
2820
|
-
```
|
|
2821
|
-
|
|
2822
|
-
**Step 2: Update main testing README**
|
|
2823
|
-
|
|
2824
|
-
Update `docs/testing/README.md` to add Phase 2 section:
|
|
2825
|
-
|
|
2826
|
-
```markdown
|
|
2827
|
-
## Phase 2 Features (NEW)
|
|
2828
|
-
|
|
2829
|
-
Phase 2 adds advanced capabilities:
|
|
2830
|
-
|
|
2831
|
-
- **Coverage Analysis**: Identify and fill coverage gaps
|
|
2832
|
-
- **Multi-Language**: Python, Go, Rust support
|
|
2833
|
-
- **Complexity Analysis**: Smart classification of code complexity
|
|
2834
|
-
- **Contract Testing**: API contract tests from OpenAPI specs
|
|
2835
|
-
- **Enhanced Agent**: Test-engineer with enriched context
|
|
2836
|
-
- **UltraQA Integration**: Automatic test generation in QA cycles
|
|
2837
|
-
|
|
2838
|
-
See [Phase 2 Documentation](./PHASE2.md) for details.
|
|
2839
|
-
|
|
2840
|
-
## Supported Languages
|
|
2841
|
-
|
|
2842
|
-
- **Node.js**: Vitest, Jest
|
|
2843
|
-
- **Python**: pytest, unittest
|
|
2844
|
-
- **Go**: testing package
|
|
2845
|
-
- **Rust**: cargo test
|
|
2846
|
-
- **React**: Vitest + Testing Library
|
|
2847
|
-
```
|
|
2848
|
-
|
|
2849
|
-
**Step 3: Update main README**
|
|
2850
|
-
|
|
2851
|
-
Update `README.md` to highlight Phase 2 features:
|
|
2852
|
-
|
|
2853
|
-
```markdown
|
|
2854
|
-
## Testing (Phase 2 - NEW)
|
|
2855
|
-
|
|
2856
|
-
oh-my-claudecode now supports advanced test generation across multiple languages:
|
|
2857
|
-
|
|
2858
|
-
```bash
|
|
2859
|
-
# Node.js/TypeScript
|
|
2860
|
-
omc test gen src/utils/math.ts
|
|
2861
|
-
|
|
2862
|
-
# Python
|
|
2863
|
-
omc test gen src/utils/math.py
|
|
2864
|
-
|
|
2865
|
-
# Go
|
|
2866
|
-
omc test gen pkg/math/math.go
|
|
2867
|
-
|
|
2868
|
-
# Rust
|
|
2869
|
-
omc test gen src/math.rs
|
|
2870
|
-
|
|
2871
|
-
# Coverage analysis
|
|
2872
|
-
omc test analyze
|
|
2873
|
-
|
|
2874
|
-
# Contract testing
|
|
2875
|
-
omc test contract api/openapi.yaml
|
|
2876
|
-
```
|
|
2877
|
-
|
|
2878
|
-
Features:
|
|
2879
|
-
- Multi-language support (Node.js, Python, Go, Rust)
|
|
2880
|
-
- Coverage analysis and gap identification
|
|
2881
|
-
- Complexity-based test generation
|
|
2882
|
-
- API contract testing
|
|
2883
|
-
- Integrated with /ultraqa workflow
|
|
2884
|
-
|
|
2885
|
-
See [Testing Documentation](docs/testing/README.md) for details.
|
|
2886
|
-
```
|
|
2887
|
-
|
|
2888
|
-
**Step 4: Commit**
|
|
2889
|
-
|
|
2890
|
-
```bash
|
|
2891
|
-
git add docs/testing/ README.md
|
|
2892
|
-
git commit -m "docs(testing): add Phase 2 documentation and examples
|
|
2893
|
-
|
|
2894
|
-
- Create comprehensive Phase 2 feature documentation
|
|
2895
|
-
- Add usage examples for all new features
|
|
2896
|
-
- Update main README with Phase 2 highlights
|
|
2897
|
-
- Document multi-language support
|
|
2898
|
-
- Include configuration examples
|
|
2899
|
-
|
|
2900
|
-
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>"
|
|
2901
|
-
```
|
|
2902
|
-
|
|
2903
|
-
---
|
|
2904
|
-
|
|
2905
|
-
## Phase 2 Summary
|
|
2906
|
-
|
|
2907
|
-
### Deliverables Checklist
|
|
2908
|
-
|
|
2909
|
-
- [x] **Coverage Analysis**
|
|
2910
|
-
- [x] Coverage analyzer for Node.js (c8/nyc)
|
|
2911
|
-
- [x] Gap identification with line ranges
|
|
2912
|
-
- [x] Reason analysis for uncovered code
|
|
2913
|
-
|
|
2914
|
-
- [x] **Multi-Language Support**
|
|
2915
|
-
- [x] Python test generator (pytest/unittest)
|
|
2916
|
-
- [x] Go test generator (table-driven tests)
|
|
2917
|
-
- [x] Rust test generator (cargo test)
|
|
2918
|
-
- [x] Language-specific tech stack detectors
|
|
2919
|
-
|
|
2920
|
-
- [x] **Complexity Analysis**
|
|
2921
|
-
- [x] Cyclomatic complexity calculation
|
|
2922
|
-
- [x] Nesting level measurement
|
|
2923
|
-
- [x] External dependency detection
|
|
2924
|
-
- [x] Pattern-based complexity indicators
|
|
2925
|
-
|
|
2926
|
-
- [x] **Contract Testing**
|
|
2927
|
-
- [x] Pact consumer-driven contract tests
|
|
2928
|
-
- [x] Supertest REST API contracts
|
|
2929
|
-
- [x] MSW handler generation
|
|
2930
|
-
- [x] OpenAPI spec parsing
|
|
2931
|
-
|
|
2932
|
-
- [x] **Enhanced Test-Engineer Agent**
|
|
2933
|
-
- [x] Context preparation with tech stack
|
|
2934
|
-
- [x] Complexity-based question generation
|
|
2935
|
-
- [x] Suggested approach determination
|
|
2936
|
-
- [x] Agent documentation updates
|
|
2937
|
-
|
|
2938
|
-
- [x] **UltraQA Integration**
|
|
2939
|
-
- [x] Automatic test generation in QA cycles
|
|
2940
|
-
- [x] Coverage gap identification
|
|
2941
|
-
- [x] Test generation for changed files
|
|
2942
|
-
- [x] Skill documentation updates
|
|
2943
|
-
|
|
2944
|
-
- [x] **CLI Integration**
|
|
2945
|
-
- [x] Multi-language command routing
|
|
2946
|
-
- [x] Auto-detection of language from file
|
|
2947
|
-
- [x] Unified test generation interface
|
|
2948
|
-
|
|
2949
|
-
- [x] **Documentation**
|
|
2950
|
-
- [x] Phase 2 feature documentation
|
|
2951
|
-
- [x] Usage examples for all features
|
|
2952
|
-
- [x] Architecture documentation
|
|
2953
|
-
- [x] Configuration examples
|
|
2954
|
-
|
|
2955
|
-
### Estimated Timeline
|
|
2956
|
-
|
|
2957
|
-
- **Task 1**: Coverage Analyzer - 1.5 hours
|
|
2958
|
-
- **Task 2**: Python Test Generator - 2 hours
|
|
2959
|
-
- **Task 3**: Go Test Generator - 1.5 hours
|
|
2960
|
-
- **Task 4**: Rust Test Generator - 1.5 hours
|
|
2961
|
-
- **Task 5**: Complexity Analyzer - 1.5 hours
|
|
2962
|
-
- **Task 6**: Contract Test Generator - 2 hours
|
|
2963
|
-
- **Task 7**: Test-Engineer Integration - 1.5 hours
|
|
2964
|
-
- **Task 8**: UltraQA Integration - 1.5 hours
|
|
2965
|
-
- **Task 9**: Multi-Language CLI - 1 hour
|
|
2966
|
-
- **Task 10**: Documentation - 1 hour
|
|
2967
|
-
|
|
2968
|
-
**Total**: ~15 hours
|
|
2969
|
-
|
|
2970
|
-
### Success Criteria
|
|
2971
|
-
|
|
2972
|
-
- [ ] All tests pass: `pnpm test tests/testing/**`
|
|
2973
|
-
- [ ] Coverage analyzer works for Node.js projects
|
|
2974
|
-
- [ ] Python, Go, and Rust test generation produces valid tests
|
|
2975
|
-
- [ ] Complexity analyzer correctly classifies simple vs complex code
|
|
2976
|
-
- [ ] Contract tests generate from OpenAPI specs
|
|
2977
|
-
- [ ] Test-engineer receives enriched context
|
|
2978
|
-
- [ ] UltraQA automatically generates missing tests
|
|
2979
|
-
- [ ] CLI supports all languages with auto-detection
|
|
2980
|
-
- [ ] Documentation is complete and accurate
|
|
2981
|
-
|
|
2982
|
-
### Next Steps (Phase 3)
|
|
2983
|
-
|
|
2984
|
-
1. **Giskard Integration**
|
|
2985
|
-
- Behavior testing (perturbations, robustness)
|
|
2986
|
-
- Fairness metrics
|
|
2987
|
-
- LLM-specific test scenarios
|
|
2988
|
-
|
|
2989
|
-
2. **E2E Test Generation**
|
|
2990
|
-
- Playwright test generation
|
|
2991
|
-
- User flow testing
|
|
2992
|
-
- Cross-stack integration tests
|
|
2993
|
-
|
|
2994
|
-
3. **CI/CD Integration**
|
|
2995
|
-
- GitHub Actions workflow
|
|
2996
|
-
- Automatic test generation on PR
|
|
2997
|
-
- Coverage reporting
|
|
2998
|
-
|
|
2999
|
-
4. **Ralph Mode Integration**
|
|
3000
|
-
- Test-fix-verify loops
|
|
3001
|
-
- Automatic test regeneration on failure
|
|
3002
|
-
- Continuous improvement
|
|
3003
|
-
|
|
3004
|
-
5. **Autopilot Integration**
|
|
3005
|
-
- Automatic test generation during code creation
|
|
3006
|
-
- Test-first development mode
|
|
3007
|
-
- Coverage threshold enforcement
|
|
3008
|
-
|
|
3009
|
-
6. **Performance Optimization**
|
|
3010
|
-
- Parallel test generation
|
|
3011
|
-
- Caching of tech stack detection
|
|
3012
|
-
- Incremental coverage analysis
|
|
3013
|
-
|
|
3014
|
-
### Implementation Notes
|
|
3015
|
-
|
|
3016
|
-
#### TDD Approach
|
|
3017
|
-
|
|
3018
|
-
Each task follows strict TDD:
|
|
3019
|
-
1. Write failing test
|
|
3020
|
-
2. Run test to verify failure
|
|
3021
|
-
3. Implement minimal code to pass
|
|
3022
|
-
4. Run test to verify pass
|
|
3023
|
-
5. Commit with descriptive message
|
|
3024
|
-
|
|
3025
|
-
#### Code Quality
|
|
3026
|
-
|
|
3027
|
-
- All code must pass TypeScript type checking
|
|
3028
|
-
- All tests must pass before committing
|
|
3029
|
-
- Follow existing code style and conventions
|
|
3030
|
-
- Use meaningful variable and function names
|
|
3031
|
-
- Add comments for complex logic
|
|
3032
|
-
|
|
3033
|
-
#### Git Workflow
|
|
3034
|
-
|
|
3035
|
-
- Work on feature branch: `git checkout -b feature/llm-testing-phase2 dev`
|
|
3036
|
-
- Commit after each task completion
|
|
3037
|
-
- Use conventional commit format: `feat(testing): description`
|
|
3038
|
-
- Include co-author tag: `Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>`
|
|
3039
|
-
- Create PR targeting `dev` branch when complete
|
|
3040
|
-
|
|
3041
|
-
#### Testing Strategy
|
|
3042
|
-
|
|
3043
|
-
- Unit tests for all functions
|
|
3044
|
-
- Integration tests for CLI commands
|
|
3045
|
-
- Mock external dependencies (file system, APIs)
|
|
3046
|
-
- Use Vitest for all tests
|
|
3047
|
-
- Aim for >80% code coverage
|
|
3048
|
-
|
|
3049
|
-
---
|
|
3050
|
-
|
|
3051
|
-
**Plan Status**: ✅ Complete and ready for implementation
|
|
3052
|
-
|
|
3053
|
-
**Next Action**: Begin Task 1 - Coverage Analyzer for Node.js
|