@a5c-ai/babysitter-sdk 5.0.0 → 5.0.1-staging.04a3db697
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/dist/breakpoints/evaluator.d.ts +33 -0
- package/dist/breakpoints/evaluator.d.ts.map +1 -0
- package/dist/breakpoints/evaluator.js +156 -0
- package/dist/breakpoints/index.d.ts +9 -0
- package/dist/breakpoints/index.d.ts.map +1 -0
- package/dist/breakpoints/index.js +19 -0
- package/dist/breakpoints/patterns.d.ts +24 -0
- package/dist/breakpoints/patterns.d.ts.map +1 -0
- package/dist/breakpoints/patterns.js +88 -0
- package/dist/breakpoints/proven-verification.d.ts +51 -0
- package/dist/breakpoints/proven-verification.d.ts.map +1 -0
- package/dist/breakpoints/proven-verification.js +120 -0
- package/dist/breakpoints/rules.d.ts +26 -0
- package/dist/breakpoints/rules.d.ts.map +1 -0
- package/dist/breakpoints/rules.js +110 -0
- package/dist/breakpoints/types.d.ts +78 -0
- package/dist/breakpoints/types.d.ts.map +1 -0
- package/dist/breakpoints/types.js +7 -0
- package/dist/cli/commands/breakpointRules.d.ts +26 -0
- package/dist/cli/commands/breakpointRules.d.ts.map +1 -0
- package/dist/cli/commands/breakpointRules.js +222 -0
- package/dist/cli/commands/compressOutput.d.ts +24 -0
- package/dist/cli/commands/compressOutput.d.ts.map +1 -0
- package/dist/cli/commands/compressOutput.js +85 -0
- package/dist/cli/commands/compressOutputHelpers.d.ts +15 -0
- package/dist/cli/commands/compressOutputHelpers.d.ts.map +1 -0
- package/dist/cli/commands/compressOutputHelpers.js +367 -0
- package/dist/cli/commands/compression/reset.d.ts +15 -0
- package/dist/cli/commands/compression/reset.d.ts.map +1 -0
- package/dist/cli/commands/compression/reset.js +87 -0
- package/dist/cli/commands/compression/set.d.ts +26 -0
- package/dist/cli/commands/compression/set.d.ts.map +1 -0
- package/dist/cli/commands/compression/set.js +179 -0
- package/dist/cli/commands/compression/status.d.ts +12 -0
- package/dist/cli/commands/compression/status.d.ts.map +1 -0
- package/dist/cli/commands/compression/status.js +133 -0
- package/dist/cli/commands/compression/toggle.d.ts +17 -0
- package/dist/cli/commands/compression/toggle.d.ts.map +1 -0
- package/dist/cli/commands/compression/toggle.js +115 -0
- package/dist/cli/commands/configure/output.d.ts +6 -0
- package/dist/cli/commands/configure/output.d.ts.map +1 -0
- package/dist/cli/commands/configure/output.js +164 -0
- package/dist/cli/commands/configure.d.ts +124 -0
- package/dist/cli/commands/configure.d.ts.map +1 -0
- package/dist/cli/commands/configure.js +300 -0
- package/dist/cli/commands/costStats.d.ts +13 -0
- package/dist/cli/commands/costStats.d.ts.map +1 -0
- package/dist/cli/commands/costStats.js +327 -0
- package/dist/cli/commands/detectExistingRun.d.ts +14 -0
- package/dist/cli/commands/detectExistingRun.d.ts.map +1 -0
- package/dist/cli/commands/detectExistingRun.js +89 -0
- package/dist/cli/commands/harness/install.d.ts +17 -0
- package/dist/cli/commands/harness/install.d.ts.map +1 -0
- package/dist/cli/commands/harness/install.js +83 -0
- package/dist/cli/commands/health/checks.d.ts +10 -0
- package/dist/cli/commands/health/checks.d.ts.map +1 -0
- package/dist/cli/commands/health/checks.js +268 -0
- package/dist/cli/commands/health/environment.d.ts +3 -0
- package/dist/cli/commands/health/environment.d.ts.map +1 -0
- package/dist/cli/commands/health/environment.js +89 -0
- package/dist/cli/commands/health/output.d.ts +5 -0
- package/dist/cli/commands/health/output.d.ts.map +1 -0
- package/dist/cli/commands/health/output.js +92 -0
- package/dist/cli/commands/health.d.ts +74 -0
- package/dist/cli/commands/health.d.ts.map +1 -0
- package/dist/cli/commands/health.js +92 -0
- package/dist/cli/commands/hooks/log.d.ts +15 -0
- package/dist/cli/commands/hooks/log.d.ts.map +1 -0
- package/dist/cli/commands/hooks/log.js +298 -0
- package/dist/cli/commands/hooks/run.d.ts +25 -0
- package/dist/cli/commands/hooks/run.d.ts.map +1 -0
- package/dist/cli/commands/hooks/run.js +234 -0
- package/dist/cli/commands/instructions.d.ts +20 -0
- package/dist/cli/commands/instructions.d.ts.map +1 -0
- package/dist/cli/commands/instructions.js +292 -0
- package/dist/cli/commands/log.d.ts +22 -0
- package/dist/cli/commands/log.d.ts.map +1 -0
- package/dist/cli/commands/log.js +99 -0
- package/dist/cli/commands/mcpServe.d.ts +11 -0
- package/dist/cli/commands/mcpServe.d.ts.map +1 -0
- package/dist/cli/commands/mcpServe.js +35 -0
- package/dist/cli/commands/plugin/marketplaceCommands.d.ts +5 -0
- package/dist/cli/commands/plugin/marketplaceCommands.d.ts.map +1 -0
- package/dist/cli/commands/plugin/marketplaceCommands.js +114 -0
- package/dist/cli/commands/plugin/packageCommands.d.ts +6 -0
- package/dist/cli/commands/plugin/packageCommands.d.ts.map +1 -0
- package/dist/cli/commands/plugin/packageCommands.js +270 -0
- package/dist/cli/commands/plugin/registryCommands.d.ts +5 -0
- package/dist/cli/commands/plugin/registryCommands.d.ts.map +1 -0
- package/dist/cli/commands/plugin/registryCommands.js +128 -0
- package/dist/cli/commands/plugin/shared.d.ts +20 -0
- package/dist/cli/commands/plugin/shared.d.ts.map +1 -0
- package/dist/cli/commands/plugin/shared.js +44 -0
- package/dist/cli/commands/plugin.d.ts +9 -0
- package/dist/cli/commands/plugin.d.ts.map +1 -0
- package/dist/cli/commands/plugin.js +22 -0
- package/dist/cli/commands/processLibrary.d.ts +16 -0
- package/dist/cli/commands/processLibrary.d.ts.map +1 -0
- package/dist/cli/commands/processLibrary.js +156 -0
- package/dist/cli/commands/profile.d.ts +26 -0
- package/dist/cli/commands/profile.d.ts.map +1 -0
- package/dist/cli/commands/profile.js +213 -0
- package/dist/cli/commands/runIterate.d.ts +49 -0
- package/dist/cli/commands/runIterate.d.ts.map +1 -0
- package/dist/cli/commands/runIterate.js +156 -0
- package/dist/cli/commands/runIterateHelpers.d.ts +29 -0
- package/dist/cli/commands/runIterateHelpers.d.ts.map +1 -0
- package/dist/cli/commands/runIterateHelpers.js +134 -0
- package/dist/cli/commands/session/associate.d.ts +10 -0
- package/dist/cli/commands/session/associate.d.ts.map +1 -0
- package/dist/cli/commands/session/associate.js +77 -0
- package/dist/cli/commands/session/checkIteration.d.ts +7 -0
- package/dist/cli/commands/session/checkIteration.d.ts.map +1 -0
- package/dist/cli/commands/session/checkIteration.js +76 -0
- package/dist/cli/commands/session/cleanup.d.ts +5 -0
- package/dist/cli/commands/session/cleanup.d.ts.map +1 -0
- package/dist/cli/commands/session/cleanup.js +20 -0
- package/dist/cli/commands/session/common.d.ts +16 -0
- package/dist/cli/commands/session/common.d.ts.map +1 -0
- package/dist/cli/commands/session/common.js +33 -0
- package/dist/cli/commands/session/init.d.ts +10 -0
- package/dist/cli/commands/session/init.d.ts.map +1 -0
- package/dist/cli/commands/session/init.js +76 -0
- package/dist/cli/commands/session/iterationMessage.d.ts +17 -0
- package/dist/cli/commands/session/iterationMessage.d.ts.map +1 -0
- package/dist/cli/commands/session/iterationMessage.js +106 -0
- package/dist/cli/commands/session/lastMessage.d.ts +13 -0
- package/dist/cli/commands/session/lastMessage.d.ts.map +1 -0
- package/dist/cli/commands/session/lastMessage.js +45 -0
- package/dist/cli/commands/session/resume.d.ts +10 -0
- package/dist/cli/commands/session/resume.d.ts.map +1 -0
- package/dist/cli/commands/session/resume.js +129 -0
- package/dist/cli/commands/session/state.d.ts +7 -0
- package/dist/cli/commands/session/state.d.ts.map +1 -0
- package/dist/cli/commands/session/state.js +49 -0
- package/dist/cli/commands/session/update.d.ts +10 -0
- package/dist/cli/commands/session/update.d.ts.map +1 -0
- package/dist/cli/commands/session/update.js +54 -0
- package/dist/cli/commands/session/whoami.d.ts +5 -0
- package/dist/cli/commands/session/whoami.d.ts.map +1 -0
- package/dist/cli/commands/session/whoami.js +22 -0
- package/dist/cli/commands/skill/discoveryLocal.d.ts +32 -0
- package/dist/cli/commands/skill/discoveryLocal.d.ts.map +1 -0
- package/dist/cli/commands/skill/discoveryLocal.js +383 -0
- package/dist/cli/commands/skill/processMarkers.d.ts +9 -0
- package/dist/cli/commands/skill/processMarkers.d.ts.map +1 -0
- package/dist/cli/commands/skill/processMarkers.js +104 -0
- package/dist/cli/commands/skill/remoteDiscovery.d.ts +4 -0
- package/dist/cli/commands/skill/remoteDiscovery.d.ts.map +1 -0
- package/dist/cli/commands/skill/remoteDiscovery.js +164 -0
- package/dist/cli/commands/skill/types.d.ts +69 -0
- package/dist/cli/commands/skill/types.d.ts.map +1 -0
- package/dist/cli/commands/skill/types.js +2 -0
- package/dist/cli/commands/skill.d.ts +20 -0
- package/dist/cli/commands/skill.d.ts.map +1 -0
- package/dist/cli/commands/skill.js +292 -0
- package/dist/cli/commands/tokensStats.d.ts +70 -0
- package/dist/cli/commands/tokensStats.d.ts.map +1 -0
- package/dist/cli/commands/tokensStats.js +238 -0
- package/dist/cli/commands/tokensStatsFormatting.d.ts +9 -0
- package/dist/cli/commands/tokensStatsFormatting.d.ts.map +1 -0
- package/dist/cli/commands/tokensStatsFormatting.js +137 -0
- package/dist/cli/completionProof.d.ts +4 -0
- package/dist/cli/completionProof.d.ts.map +1 -0
- package/dist/cli/completionProof.js +45 -0
- package/dist/cli/main/argFlagParsers.d.ts +9 -0
- package/dist/cli/main/argFlagParsers.d.ts.map +1 -0
- package/dist/cli/main/argFlagParsers.js +346 -0
- package/dist/cli/main/argFlags.d.ts +4 -0
- package/dist/cli/main/argFlags.d.ts.map +1 -0
- package/dist/cli/main/argFlags.js +77 -0
- package/dist/cli/main/argPositionals.d.ts +3 -0
- package/dist/cli/main/argPositionals.d.ts.map +1 -0
- package/dist/cli/main/argPositionals.js +87 -0
- package/dist/cli/main/args.d.ts +7 -0
- package/dist/cli/main/args.d.ts.map +1 -0
- package/dist/cli/main/args.js +120 -0
- package/dist/cli/main/dispatch.d.ts +5 -0
- package/dist/cli/main/dispatch.d.ts.map +1 -0
- package/dist/cli/main/dispatch.js +44 -0
- package/dist/cli/main/dispatchHarness.d.ts +3 -0
- package/dist/cli/main/dispatchHarness.d.ts.map +1 -0
- package/dist/cli/main/dispatchHarness.js +73 -0
- package/dist/cli/main/dispatchRunSession.d.ts +3 -0
- package/dist/cli/main/dispatchRunSession.d.ts.map +1 -0
- package/dist/cli/main/dispatchRunSession.js +316 -0
- package/dist/cli/main/program.d.ts +17 -0
- package/dist/cli/main/program.d.ts.map +1 -0
- package/dist/cli/main/program.js +94 -0
- package/dist/cli/main/runAssignProcess.d.ts +3 -0
- package/dist/cli/main/runAssignProcess.d.ts.map +1 -0
- package/dist/cli/main/runAssignProcess.js +169 -0
- package/dist/cli/main/runCommands.d.ts +4 -0
- package/dist/cli/main/runCommands.d.ts.map +1 -0
- package/dist/cli/main/runCommands.js +13 -0
- package/dist/cli/main/runCreate.d.ts +5 -0
- package/dist/cli/main/runCreate.d.ts.map +1 -0
- package/dist/cli/main/runCreate.js +382 -0
- package/dist/cli/main/runInspection.d.ts +5 -0
- package/dist/cli/main/runInspection.d.ts.map +1 -0
- package/dist/cli/main/runInspection.js +139 -0
- package/dist/cli/main/runState.d.ts +55 -0
- package/dist/cli/main/runState.d.ts.map +1 -0
- package/dist/cli/main/runState.js +226 -0
- package/dist/cli/main/runSupport.d.ts +49 -0
- package/dist/cli/main/runSupport.d.ts.map +1 -0
- package/dist/cli/main/runSupport.js +364 -0
- package/dist/cli/main/taskCommands.d.ts +6 -0
- package/dist/cli/main/taskCommands.d.ts.map +1 -0
- package/dist/cli/main/taskCommands.js +356 -0
- package/dist/cli/main/types.d.ts +120 -0
- package/dist/cli/main/types.d.ts.map +1 -0
- package/dist/cli/main/types.js +2 -0
- package/dist/cli/main/ui.d.ts +12 -0
- package/dist/cli/main/ui.d.ts.map +1 -0
- package/dist/cli/main/ui.js +177 -0
- package/dist/cli/main/usage.d.ts +7 -0
- package/dist/cli/main/usage.d.ts.map +1 -0
- package/dist/cli/main/usage.js +154 -0
- package/dist/cli/main.d.ts +13 -0
- package/dist/cli/main.d.ts.map +1 -0
- package/dist/cli/main.js +50 -0
- package/dist/cli/mcpServeEntry.d.ts +3 -0
- package/dist/cli/mcpServeEntry.d.ts.map +1 -0
- package/dist/cli/mcpServeEntry.js +8 -0
- package/dist/cli/render/ansi.d.ts +12 -0
- package/dist/cli/render/ansi.d.ts.map +1 -0
- package/dist/cli/render/ansi.js +24 -0
- package/dist/cli/render/effectTree.d.ts +17 -0
- package/dist/cli/render/effectTree.d.ts.map +1 -0
- package/dist/cli/render/effectTree.js +46 -0
- package/dist/cli/render/events/effectRequested.d.ts +3 -0
- package/dist/cli/render/events/effectRequested.d.ts.map +1 -0
- package/dist/cli/render/events/effectRequested.js +22 -0
- package/dist/cli/render/events/effectResolved.d.ts +3 -0
- package/dist/cli/render/events/effectResolved.d.ts.map +1 -0
- package/dist/cli/render/events/effectResolved.js +20 -0
- package/dist/cli/render/events/index.d.ts +4 -0
- package/dist/cli/render/events/index.d.ts.map +1 -0
- package/dist/cli/render/events/index.js +25 -0
- package/dist/cli/render/events/processAssigned.d.ts +3 -0
- package/dist/cli/render/events/processAssigned.d.ts.map +1 -0
- package/dist/cli/render/events/processAssigned.js +22 -0
- package/dist/cli/render/events/runCompleted.d.ts +3 -0
- package/dist/cli/render/events/runCompleted.d.ts.map +1 -0
- package/dist/cli/render/events/runCompleted.js +18 -0
- package/dist/cli/render/events/runCreated.d.ts +3 -0
- package/dist/cli/render/events/runCreated.d.ts.map +1 -0
- package/dist/cli/render/events/runCreated.js +19 -0
- package/dist/cli/render/events/runFailed.d.ts +3 -0
- package/dist/cli/render/events/runFailed.d.ts.map +1 -0
- package/dist/cli/render/events/runFailed.js +23 -0
- package/dist/cli/render/events/types.d.ts +6 -0
- package/dist/cli/render/events/types.d.ts.map +1 -0
- package/dist/cli/render/events/types.js +2 -0
- package/dist/cli/render/index.d.ts +5 -0
- package/dist/cli/render/index.d.ts.map +1 -0
- package/dist/cli/render/index.js +14 -0
- package/dist/cli/render/statusBadge.d.ts +4 -0
- package/dist/cli/render/statusBadge.d.ts.map +1 -0
- package/dist/cli/render/statusBadge.js +25 -0
- package/dist/cli/resolveInputPath.d.ts +61 -0
- package/dist/cli/resolveInputPath.d.ts.map +1 -0
- package/dist/cli/resolveInputPath.js +193 -0
- package/dist/compression/config-loader.d.ts +24 -0
- package/dist/compression/config-loader.d.ts.map +1 -0
- package/dist/compression/config-loader.js +179 -0
- package/dist/compression/config.d.ts +49 -0
- package/dist/compression/config.d.ts.map +1 -0
- package/dist/compression/config.js +41 -0
- package/dist/compression/density-filter.d.ts +20 -0
- package/dist/compression/density-filter.d.ts.map +1 -0
- package/dist/compression/density-filter.js +91 -0
- package/dist/compression/library-cache.d.ts +19 -0
- package/dist/compression/library-cache.d.ts.map +1 -0
- package/dist/compression/library-cache.js +149 -0
- package/dist/config/configValidation.d.ts +22 -0
- package/dist/config/configValidation.d.ts.map +1 -0
- package/dist/config/configValidation.js +140 -0
- package/dist/config/defaults.d.ts +67 -0
- package/dist/config/defaults.d.ts.map +1 -0
- package/dist/config/defaults.js +132 -0
- package/dist/config/index.d.ts +26 -0
- package/dist/config/index.d.ts.map +1 -0
- package/dist/config/index.js +51 -0
- package/dist/config/runs.d.ts +22 -0
- package/dist/config/runs.d.ts.map +1 -0
- package/dist/config/runs.js +192 -0
- package/dist/cost/claudeCodeParser.d.ts +81 -0
- package/dist/cost/claudeCodeParser.d.ts.map +1 -0
- package/dist/cost/claudeCodeParser.js +232 -0
- package/dist/cost/collector.d.ts +42 -0
- package/dist/cost/collector.d.ts.map +1 -0
- package/dist/cost/collector.js +105 -0
- package/dist/cost/index.d.ts +18 -0
- package/dist/cost/index.d.ts.map +1 -0
- package/dist/cost/index.js +38 -0
- package/dist/cost/journal.d.ts +40 -0
- package/dist/cost/journal.d.ts.map +1 -0
- package/dist/cost/journal.js +137 -0
- package/dist/cost/pricing.d.ts +19 -0
- package/dist/cost/pricing.d.ts.map +1 -0
- package/dist/cost/pricing.js +135 -0
- package/dist/cost/types.d.ts +87 -0
- package/dist/cost/types.d.ts.map +1 -0
- package/dist/cost/types.js +19 -0
- package/dist/harness/BaseAdapter.d.ts +93 -0
- package/dist/harness/BaseAdapter.d.ts.map +1 -0
- package/dist/harness/BaseAdapter.js +236 -0
- package/dist/harness/adapters/claude-code.d.ts +24 -0
- package/dist/harness/adapters/claude-code.d.ts.map +1 -0
- package/dist/harness/adapters/claude-code.js +64 -0
- package/dist/harness/adapters/codex.d.ts +12 -0
- package/dist/harness/adapters/codex.d.ts.map +1 -0
- package/dist/harness/adapters/codex.js +37 -0
- package/dist/harness/adapters/cursor.d.ts +13 -0
- package/dist/harness/adapters/cursor.d.ts.map +1 -0
- package/dist/harness/adapters/cursor.js +85 -0
- package/dist/harness/adapters/gemini-cli.d.ts +12 -0
- package/dist/harness/adapters/gemini-cli.d.ts.map +1 -0
- package/dist/harness/adapters/gemini-cli.js +34 -0
- package/dist/harness/adapters/github-copilot.d.ts +13 -0
- package/dist/harness/adapters/github-copilot.d.ts.map +1 -0
- package/dist/harness/adapters/github-copilot.js +59 -0
- package/dist/harness/adapters/index.d.ts +12 -0
- package/dist/harness/adapters/index.d.ts.map +1 -0
- package/dist/harness/adapters/index.js +26 -0
- package/dist/harness/adapters/oh-my-pi.d.ts +12 -0
- package/dist/harness/adapters/oh-my-pi.d.ts.map +1 -0
- package/dist/harness/adapters/oh-my-pi.js +41 -0
- package/dist/harness/adapters/openclaw.d.ts +12 -0
- package/dist/harness/adapters/openclaw.d.ts.map +1 -0
- package/dist/harness/adapters/openclaw.js +49 -0
- package/dist/harness/adapters/opencode.d.ts +12 -0
- package/dist/harness/adapters/opencode.d.ts.map +1 -0
- package/dist/harness/adapters/opencode.js +51 -0
- package/dist/harness/adapters/pi.d.ts +12 -0
- package/dist/harness/adapters/pi.d.ts.map +1 -0
- package/dist/harness/adapters/pi.js +41 -0
- package/dist/harness/amuxFallbackMetadata.d.ts +3 -0
- package/dist/harness/amuxFallbackMetadata.d.ts.map +1 -0
- package/dist/harness/amuxFallbackMetadata.js +201 -0
- package/dist/harness/amuxMetadata.d.ts +51 -0
- package/dist/harness/amuxMetadata.d.ts.map +1 -0
- package/dist/harness/amuxMetadata.js +176 -0
- package/dist/harness/customAdapter.d.ts +14 -0
- package/dist/harness/customAdapter.d.ts.map +1 -0
- package/dist/harness/customAdapter.js +124 -0
- package/dist/harness/derivePromptContext.d.ts +75 -0
- package/dist/harness/derivePromptContext.d.ts.map +1 -0
- package/dist/harness/derivePromptContext.js +120 -0
- package/dist/harness/discovery.d.ts +80 -0
- package/dist/harness/discovery.d.ts.map +1 -0
- package/dist/harness/discovery.js +313 -0
- package/dist/harness/hooks/babysitterHooks.d.ts +23 -0
- package/dist/harness/hooks/babysitterHooks.d.ts.map +1 -0
- package/dist/harness/hooks/babysitterHooks.js +162 -0
- package/dist/harness/hooks/promptContexts.d.ts +24 -0
- package/dist/harness/hooks/promptContexts.d.ts.map +1 -0
- package/dist/harness/hooks/promptContexts.js +106 -0
- package/dist/harness/hooks/runState.d.ts +14 -0
- package/dist/harness/hooks/runState.d.ts.map +1 -0
- package/dist/harness/hooks/runState.js +103 -0
- package/dist/harness/hooks/sessionBinding.d.ts +28 -0
- package/dist/harness/hooks/sessionBinding.d.ts.map +1 -0
- package/dist/harness/hooks/sessionBinding.js +153 -0
- package/dist/harness/hooks/stopHookContinuation.d.ts +44 -0
- package/dist/harness/hooks/stopHookContinuation.d.ts.map +1 -0
- package/dist/harness/hooks/stopHookContinuation.js +280 -0
- package/dist/harness/hooks/stopHookHandler.d.ts +35 -0
- package/dist/harness/hooks/stopHookHandler.d.ts.map +1 -0
- package/dist/harness/hooks/stopHookHandler.js +354 -0
- package/dist/harness/hooks/utils.d.ts +43 -0
- package/dist/harness/hooks/utils.d.ts.map +1 -0
- package/dist/harness/hooks/utils.js +215 -0
- package/dist/harness/index.d.ts +20 -0
- package/dist/harness/index.d.ts.map +1 -0
- package/dist/harness/index.js +51 -0
- package/dist/harness/install.d.ts +71 -0
- package/dist/harness/install.d.ts.map +1 -0
- package/dist/harness/install.js +267 -0
- package/dist/harness/installSupport.d.ts +37 -0
- package/dist/harness/installSupport.d.ts.map +1 -0
- package/dist/harness/installSupport.js +203 -0
- package/dist/harness/internal/promptContext.d.ts +3 -0
- package/dist/harness/internal/promptContext.d.ts.map +1 -0
- package/dist/harness/internal/promptContext.js +29 -0
- package/dist/harness/nullAdapter.d.ts +9 -0
- package/dist/harness/nullAdapter.d.ts.map +1 -0
- package/dist/harness/nullAdapter.js +46 -0
- package/dist/harness/registry.d.ts +51 -0
- package/dist/harness/registry.d.ts.map +1 -0
- package/dist/harness/registry.js +235 -0
- package/dist/harness/types.d.ts +200 -0
- package/dist/harness/types.d.ts.map +1 -0
- package/dist/harness/types.js +34 -0
- package/dist/harness/unified/adapter.d.ts +21 -0
- package/dist/harness/unified/adapter.d.ts.map +1 -0
- package/dist/harness/unified/adapter.js +239 -0
- package/dist/harness/unified/capabilities.d.ts +37 -0
- package/dist/harness/unified/capabilities.d.ts.map +1 -0
- package/dist/harness/unified/capabilities.js +79 -0
- package/dist/harness/unified/discovery.d.ts +11 -0
- package/dist/harness/unified/discovery.d.ts.map +1 -0
- package/dist/harness/unified/discovery.js +23 -0
- package/dist/harness/unified/index.d.ts +6 -0
- package/dist/harness/unified/index.d.ts.map +1 -0
- package/dist/harness/unified/index.js +16 -0
- package/dist/harness/unified/promptContext.d.ts +16 -0
- package/dist/harness/unified/promptContext.d.ts.map +1 -0
- package/dist/harness/unified/promptContext.js +56 -0
- package/dist/harness/unified/subprocess.d.ts +57 -0
- package/dist/harness/unified/subprocess.d.ts.map +1 -0
- package/dist/harness/unified/subprocess.js +121 -0
- package/dist/hooks/dispatcher.d.ts +29 -0
- package/dist/hooks/dispatcher.d.ts.map +1 -0
- package/dist/hooks/dispatcher.js +337 -0
- package/dist/hooks/index.d.ts +16 -0
- package/dist/hooks/index.d.ts.map +1 -0
- package/dist/hooks/index.js +20 -0
- package/dist/hooks/types.d.ts +170 -0
- package/dist/hooks/types.d.ts.map +1 -0
- package/dist/hooks/types.js +6 -0
- package/dist/index.d.ts +29 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +76 -0
- package/dist/logging/index.d.ts +3 -0
- package/dist/logging/index.d.ts.map +1 -0
- package/dist/logging/index.js +11 -0
- package/dist/logging/runLogger.d.ts +85 -0
- package/dist/logging/runLogger.d.ts.map +1 -0
- package/dist/logging/runLogger.js +182 -0
- package/dist/mcp/index.d.ts +7 -0
- package/dist/mcp/index.d.ts.map +1 -0
- package/dist/mcp/index.js +53 -0
- package/dist/mcp/server.d.ts +3 -0
- package/dist/mcp/server.d.ts.map +1 -0
- package/dist/mcp/server.js +21 -0
- package/dist/mcp/tools/discovery.d.ts +3 -0
- package/dist/mcp/tools/discovery.d.ts.map +1 -0
- package/dist/mcp/tools/discovery.js +117 -0
- package/dist/mcp/tools/runs.d.ts +3 -0
- package/dist/mcp/tools/runs.d.ts.map +1 -0
- package/dist/mcp/tools/runs.js +289 -0
- package/dist/mcp/tools/sessions.d.ts +3 -0
- package/dist/mcp/tools/sessions.d.ts.map +1 -0
- package/dist/mcp/tools/sessions.js +216 -0
- package/dist/mcp/tools/tasks.d.ts +3 -0
- package/dist/mcp/tools/tasks.d.ts.map +1 -0
- package/dist/mcp/tools/tasks.js +230 -0
- package/dist/mcp/transport/index.d.ts +1 -0
- package/dist/mcp/transport/index.d.ts.map +1 -0
- package/dist/mcp/transport/index.js +2 -0
- package/dist/mcp/util/errors.d.ts +14 -0
- package/dist/mcp/util/errors.d.ts.map +1 -0
- package/dist/mcp/util/errors.js +10 -0
- package/dist/mcp/util/resolve-run-dir.d.ts +6 -0
- package/dist/mcp/util/resolve-run-dir.d.ts.map +1 -0
- package/dist/mcp/util/resolve-run-dir.js +11 -0
- package/dist/plugins/index.d.ts +14 -0
- package/dist/plugins/index.d.ts.map +1 -0
- package/dist/plugins/index.js +51 -0
- package/dist/plugins/marketplace.d.ts +36 -0
- package/dist/plugins/marketplace.d.ts.map +1 -0
- package/dist/plugins/marketplace.js +162 -0
- package/dist/plugins/marketplaceHelpers.d.ts +15 -0
- package/dist/plugins/marketplaceHelpers.d.ts.map +1 -0
- package/dist/plugins/marketplaceHelpers.js +114 -0
- package/dist/plugins/migrations.d.ts +52 -0
- package/dist/plugins/migrations.d.ts.map +1 -0
- package/dist/plugins/migrations.js +151 -0
- package/dist/plugins/packageReader.d.ts +47 -0
- package/dist/plugins/packageReader.d.ts.map +1 -0
- package/dist/plugins/packageReader.js +153 -0
- package/dist/plugins/paths.d.ts +30 -0
- package/dist/plugins/paths.d.ts.map +1 -0
- package/dist/plugins/paths.js +69 -0
- package/dist/plugins/registry.d.ts +54 -0
- package/dist/plugins/registry.d.ts.map +1 -0
- package/dist/plugins/registry.js +116 -0
- package/dist/plugins/types.d.ts +133 -0
- package/dist/plugins/types.d.ts.map +1 -0
- package/dist/plugins/types.js +35 -0
- package/dist/processLibrary/active.d.ts +17 -0
- package/dist/processLibrary/active.d.ts.map +1 -0
- package/dist/processLibrary/active.js +216 -0
- package/dist/processLibrary/activeTypes.d.ts +82 -0
- package/dist/processLibrary/activeTypes.d.ts.map +1 -0
- package/dist/processLibrary/activeTypes.js +6 -0
- package/dist/profiles/index.d.ts +25 -0
- package/dist/profiles/index.d.ts.map +1 -0
- package/dist/profiles/index.js +40 -0
- package/dist/profiles/projectProfile.d.ts +67 -0
- package/dist/profiles/projectProfile.d.ts.map +1 -0
- package/dist/profiles/projectProfile.js +169 -0
- package/dist/profiles/projectProfileMerge.d.ts +3 -0
- package/dist/profiles/projectProfileMerge.d.ts.map +1 -0
- package/dist/profiles/projectProfileMerge.js +175 -0
- package/dist/profiles/projectProfileRender.d.ts +3 -0
- package/dist/profiles/projectProfileRender.d.ts.map +1 -0
- package/dist/profiles/projectProfileRender.js +275 -0
- package/dist/profiles/projectTypes.d.ts +149 -0
- package/dist/profiles/projectTypes.d.ts.map +1 -0
- package/dist/profiles/projectTypes.js +6 -0
- package/dist/profiles/types.d.ts +5 -0
- package/dist/profiles/types.d.ts.map +1 -0
- package/dist/profiles/types.js +11 -0
- package/dist/profiles/userProfile.d.ts +67 -0
- package/dist/profiles/userProfile.d.ts.map +1 -0
- package/dist/profiles/userProfile.js +351 -0
- package/dist/profiles/userProfileRender.d.ts +3 -0
- package/dist/profiles/userProfileRender.d.ts.map +1 -0
- package/dist/profiles/userProfileRender.js +188 -0
- package/dist/profiles/userTypes.d.ts +119 -0
- package/dist/profiles/userTypes.d.ts.map +1 -0
- package/dist/profiles/userTypes.js +6 -0
- package/dist/prompts/babysitterMdDiscovery.d.ts +38 -0
- package/dist/prompts/babysitterMdDiscovery.d.ts.map +1 -0
- package/dist/prompts/babysitterMdDiscovery.js +150 -0
- package/dist/prompts/capabilityCollector.d.ts +48 -0
- package/dist/prompts/capabilityCollector.d.ts.map +1 -0
- package/dist/prompts/capabilityCollector.js +126 -0
- package/dist/prompts/capabilityProcessMap.d.ts +33 -0
- package/dist/prompts/capabilityProcessMap.d.ts.map +1 -0
- package/dist/prompts/capabilityProcessMap.js +105 -0
- package/dist/prompts/commandTemplates.d.ts +4 -0
- package/dist/prompts/commandTemplates.d.ts.map +1 -0
- package/dist/prompts/commandTemplates.js +32 -0
- package/dist/prompts/compose.d.ts +28 -0
- package/dist/prompts/compose.d.ts.map +1 -0
- package/dist/prompts/compose.js +197 -0
- package/dist/prompts/context.d.ts +8 -0
- package/dist/prompts/context.d.ts.map +1 -0
- package/dist/prompts/context.js +13 -0
- package/dist/prompts/contextDetect.d.ts +64 -0
- package/dist/prompts/contextDetect.d.ts.map +1 -0
- package/dist/prompts/contextDetect.js +122 -0
- package/dist/prompts/contextShared.d.ts +6 -0
- package/dist/prompts/contextShared.d.ts.map +1 -0
- package/dist/prompts/contextShared.js +63 -0
- package/dist/prompts/continuityOverlay.d.ts +35 -0
- package/dist/prompts/continuityOverlay.d.ts.map +1 -0
- package/dist/prompts/continuityOverlay.js +210 -0
- package/dist/prompts/index.d.ts +23 -0
- package/dist/prompts/index.d.ts.map +1 -0
- package/dist/prompts/index.js +88 -0
- package/dist/prompts/parts/breakpointHandling.d.ts +8 -0
- package/dist/prompts/parts/breakpointHandling.d.ts.map +1 -0
- package/dist/prompts/parts/breakpointHandling.js +12 -0
- package/dist/prompts/parts/codingPhilosophy.d.ts +7 -0
- package/dist/prompts/parts/codingPhilosophy.d.ts.map +1 -0
- package/dist/prompts/parts/codingPhilosophy.js +11 -0
- package/dist/prompts/parts/completionProof.d.ts +6 -0
- package/dist/prompts/parts/completionProof.d.ts.map +1 -0
- package/dist/prompts/parts/completionProof.js +10 -0
- package/dist/prompts/parts/continuityOverlay.d.ts +2 -0
- package/dist/prompts/parts/continuityOverlay.d.ts.map +1 -0
- package/dist/prompts/parts/continuityOverlay.js +5 -0
- package/dist/prompts/parts/criticalRules.d.ts +7 -0
- package/dist/prompts/parts/criticalRules.d.ts.map +1 -0
- package/dist/prompts/parts/criticalRules.js +29 -0
- package/dist/prompts/parts/dependencies.d.ts +6 -0
- package/dist/prompts/parts/dependencies.d.ts.map +1 -0
- package/dist/prompts/parts/dependencies.js +10 -0
- package/dist/prompts/parts/effects.d.ts +6 -0
- package/dist/prompts/parts/effects.d.ts.map +1 -0
- package/dist/prompts/parts/effects.js +10 -0
- package/dist/prompts/parts/gitSafety.d.ts +7 -0
- package/dist/prompts/parts/gitSafety.d.ts.map +1 -0
- package/dist/prompts/parts/gitSafety.js +11 -0
- package/dist/prompts/parts/index.d.ts +37 -0
- package/dist/prompts/parts/index.d.ts.map +1 -0
- package/dist/prompts/parts/index.js +70 -0
- package/dist/prompts/parts/intentFidelityChecks.d.ts +7 -0
- package/dist/prompts/parts/intentFidelityChecks.d.ts.map +1 -0
- package/dist/prompts/parts/intentFidelityChecks.js +14 -0
- package/dist/prompts/parts/interview.d.ts +6 -0
- package/dist/prompts/parts/interview.d.ts.map +1 -0
- package/dist/prompts/parts/interview.js +18 -0
- package/dist/prompts/parts/iteration.d.ts +6 -0
- package/dist/prompts/parts/iteration.d.ts.map +1 -0
- package/dist/prompts/parts/iteration.js +15 -0
- package/dist/prompts/parts/loopControl.d.ts +11 -0
- package/dist/prompts/parts/loopControl.d.ts.map +1 -0
- package/dist/prompts/parts/loopControl.js +22 -0
- package/dist/prompts/parts/nonNegotiables.d.ts +7 -0
- package/dist/prompts/parts/nonNegotiables.d.ts.map +1 -0
- package/dist/prompts/parts/nonNegotiables.js +14 -0
- package/dist/prompts/parts/outputEfficiency.d.ts +7 -0
- package/dist/prompts/parts/outputEfficiency.d.ts.map +1 -0
- package/dist/prompts/parts/outputEfficiency.js +11 -0
- package/dist/prompts/parts/parallelDispatch.d.ts +15 -0
- package/dist/prompts/parts/parallelDispatch.d.ts.map +1 -0
- package/dist/prompts/parts/parallelDispatch.js +46 -0
- package/dist/prompts/parts/parallelPhaseDetection.d.ts +6 -0
- package/dist/prompts/parts/parallelPhaseDetection.d.ts.map +1 -0
- package/dist/prompts/parts/parallelPhaseDetection.js +10 -0
- package/dist/prompts/parts/priorityLadder.d.ts +7 -0
- package/dist/prompts/parts/priorityLadder.d.ts.map +1 -0
- package/dist/prompts/parts/priorityLadder.js +13 -0
- package/dist/prompts/parts/processCreation.d.ts +6 -0
- package/dist/prompts/parts/processCreation.d.ts.map +1 -0
- package/dist/prompts/parts/processCreation.js +10 -0
- package/dist/prompts/parts/processGuidelines.d.ts +7 -0
- package/dist/prompts/parts/processGuidelines.d.ts.map +1 -0
- package/dist/prompts/parts/processGuidelines.js +11 -0
- package/dist/prompts/parts/projectInstructions.d.ts +8 -0
- package/dist/prompts/parts/projectInstructions.d.ts.map +1 -0
- package/dist/prompts/parts/projectInstructions.js +28 -0
- package/dist/prompts/parts/quickReference.d.ts +6 -0
- package/dist/prompts/parts/quickReference.d.ts.map +1 -0
- package/dist/prompts/parts/quickReference.js +17 -0
- package/dist/prompts/parts/recovery.d.ts +7 -0
- package/dist/prompts/parts/recovery.d.ts.map +1 -0
- package/dist/prompts/parts/recovery.js +11 -0
- package/dist/prompts/parts/resultsPosting.d.ts +7 -0
- package/dist/prompts/parts/resultsPosting.d.ts.map +1 -0
- package/dist/prompts/parts/resultsPosting.js +11 -0
- package/dist/prompts/parts/rootCauseGuardrail.d.ts +7 -0
- package/dist/prompts/parts/rootCauseGuardrail.d.ts.map +1 -0
- package/dist/prompts/parts/rootCauseGuardrail.js +13 -0
- package/dist/prompts/parts/runCreation.d.ts +7 -0
- package/dist/prompts/parts/runCreation.d.ts.map +1 -0
- package/dist/prompts/parts/runCreation.js +61 -0
- package/dist/prompts/parts/runOverlapDetection.d.ts +6 -0
- package/dist/prompts/parts/runOverlapDetection.d.ts.map +1 -0
- package/dist/prompts/parts/runOverlapDetection.js +10 -0
- package/dist/prompts/parts/seeAlso.d.ts +7 -0
- package/dist/prompts/parts/seeAlso.d.ts.map +1 -0
- package/dist/prompts/parts/seeAlso.js +11 -0
- package/dist/prompts/parts/taskExamples.d.ts +7 -0
- package/dist/prompts/parts/taskExamples.d.ts.map +1 -0
- package/dist/prompts/parts/taskExamples.js +11 -0
- package/dist/prompts/parts/taskKinds.d.ts +6 -0
- package/dist/prompts/parts/taskKinds.d.ts.map +1 -0
- package/dist/prompts/parts/taskKinds.js +25 -0
- package/dist/prompts/parts/toolPreferences.d.ts +7 -0
- package/dist/prompts/parts/toolPreferences.d.ts.map +1 -0
- package/dist/prompts/parts/toolPreferences.js +11 -0
- package/dist/prompts/parts/userProfile.d.ts +7 -0
- package/dist/prompts/parts/userProfile.d.ts.map +1 -0
- package/dist/prompts/parts/userProfile.js +11 -0
- package/dist/prompts/runtimeContext.d.ts +30 -0
- package/dist/prompts/runtimeContext.d.ts.map +1 -0
- package/dist/prompts/runtimeContext.js +38 -0
- package/dist/prompts/strata.d.ts +60 -0
- package/dist/prompts/strata.d.ts.map +1 -0
- package/dist/prompts/strata.js +243 -0
- package/dist/prompts/templateRenderer.d.ts +18 -0
- package/dist/prompts/templateRenderer.d.ts.map +1 -0
- package/dist/prompts/templateRenderer.js +131 -0
- package/dist/prompts/templates/breakpoint-handling.md +137 -0
- package/dist/prompts/templates/coding-philosophy.md +12 -0
- package/dist/prompts/templates/commands/assimilate.md +47 -0
- package/dist/prompts/templates/commands/cleanup.md +54 -0
- package/dist/prompts/templates/commands/contrib.md +40 -0
- package/dist/prompts/templates/commands/doctor.md +511 -0
- package/dist/prompts/templates/commands/forever.md +11 -0
- package/dist/prompts/templates/commands/project-install.md +25 -0
- package/dist/prompts/templates/commands/retrospect.md +68 -0
- package/dist/prompts/templates/commands/user-install.md +24 -0
- package/dist/prompts/templates/completion-proof.md +21 -0
- package/dist/prompts/templates/critical-rules.md +73 -0
- package/dist/prompts/templates/dependencies.md +9 -0
- package/dist/prompts/templates/effects.md +46 -0
- package/dist/prompts/templates/git-safety.md +9 -0
- package/dist/prompts/templates/intent-fidelity-checks.md +31 -0
- package/dist/prompts/templates/interview.md +65 -0
- package/dist/prompts/templates/iteration.md +41 -0
- package/dist/prompts/templates/loop-control.md +64 -0
- package/dist/prompts/templates/non-negotiables.md +11 -0
- package/dist/prompts/templates/output-efficiency.md +12 -0
- package/dist/prompts/templates/parallel-phase-detection.md +59 -0
- package/dist/prompts/templates/priority-ladder.md +13 -0
- package/dist/prompts/templates/process-creation.md +130 -0
- package/dist/prompts/templates/process-guidelines.md +106 -0
- package/dist/prompts/templates/quick-reference.md +46 -0
- package/dist/prompts/templates/recovery.md +30 -0
- package/dist/prompts/templates/results-posting.md +69 -0
- package/dist/prompts/templates/root-cause-guardrail.md +14 -0
- package/dist/prompts/templates/run-creation.md +80 -0
- package/dist/prompts/templates/run-overlap-detection.md +65 -0
- package/dist/prompts/templates/see-also.md +4 -0
- package/dist/prompts/templates/task-examples.md +229 -0
- package/dist/prompts/templates/task-kinds.md +106 -0
- package/dist/prompts/templates/tool-preferences.md +8 -0
- package/dist/prompts/templates/user-profile.md +48 -0
- package/dist/prompts/types.d.ts +191 -0
- package/dist/prompts/types.d.ts.map +1 -0
- package/dist/prompts/types.js +7 -0
- package/dist/runtime/asyncEffects.d.ts +22 -0
- package/dist/runtime/asyncEffects.d.ts.map +1 -0
- package/dist/runtime/asyncEffects.js +86 -0
- package/dist/runtime/commitEffectResult.d.ts +12 -0
- package/dist/runtime/commitEffectResult.d.ts.map +1 -0
- package/dist/runtime/commitEffectResult.js +240 -0
- package/dist/runtime/constants.d.ts +2 -0
- package/dist/runtime/constants.d.ts.map +1 -0
- package/dist/runtime/constants.js +5 -0
- package/dist/runtime/createRun.d.ts +3 -0
- package/dist/runtime/createRun.d.ts.map +1 -0
- package/dist/runtime/createRun.js +142 -0
- package/dist/runtime/effectGroupRegistry.d.ts +57 -0
- package/dist/runtime/effectGroupRegistry.d.ts.map +1 -0
- package/dist/runtime/effectGroupRegistry.js +107 -0
- package/dist/runtime/errorSuggestions.d.ts +4 -0
- package/dist/runtime/errorSuggestions.d.ts.map +1 -0
- package/dist/runtime/errorSuggestions.js +98 -0
- package/dist/runtime/errorTemplates.d.ts +101 -0
- package/dist/runtime/errorTemplates.d.ts.map +1 -0
- package/dist/runtime/errorTemplates.js +173 -0
- package/dist/runtime/errorUtils.d.ts +10 -0
- package/dist/runtime/errorUtils.d.ts.map +1 -0
- package/dist/runtime/errorUtils.js +42 -0
- package/dist/runtime/exceptions.d.ts +73 -0
- package/dist/runtime/exceptions.d.ts.map +1 -0
- package/dist/runtime/exceptions.js +197 -0
- package/dist/runtime/hooks/runtime.d.ts +31 -0
- package/dist/runtime/hooks/runtime.d.ts.map +1 -0
- package/dist/runtime/hooks/runtime.js +67 -0
- package/dist/runtime/index.d.ts +18 -0
- package/dist/runtime/index.d.ts.map +1 -0
- package/dist/runtime/index.js +61 -0
- package/dist/runtime/instrumentation.d.ts +6 -0
- package/dist/runtime/instrumentation.d.ts.map +1 -0
- package/dist/runtime/instrumentation.js +14 -0
- package/dist/runtime/intrinsics/breakpoint.d.ts +9 -0
- package/dist/runtime/intrinsics/breakpoint.d.ts.map +1 -0
- package/dist/runtime/intrinsics/breakpoint.js +108 -0
- package/dist/runtime/intrinsics/hook.d.ts +26 -0
- package/dist/runtime/intrinsics/hook.d.ts.map +1 -0
- package/dist/runtime/intrinsics/hook.js +45 -0
- package/dist/runtime/intrinsics/index.d.ts +7 -0
- package/dist/runtime/intrinsics/index.d.ts.map +1 -0
- package/dist/runtime/intrinsics/index.js +15 -0
- package/dist/runtime/intrinsics/orchestratorTask.d.ts +4 -0
- package/dist/runtime/intrinsics/orchestratorTask.d.ts.map +1 -0
- package/dist/runtime/intrinsics/orchestratorTask.js +28 -0
- package/dist/runtime/intrinsics/parallel.d.ts +9 -0
- package/dist/runtime/intrinsics/parallel.d.ts.map +1 -0
- package/dist/runtime/intrinsics/parallel.js +160 -0
- package/dist/runtime/intrinsics/parallelGroup.d.ts +16 -0
- package/dist/runtime/intrinsics/parallelGroup.d.ts.map +1 -0
- package/dist/runtime/intrinsics/parallelGroup.js +105 -0
- package/dist/runtime/intrinsics/sleep.d.ts +4 -0
- package/dist/runtime/intrinsics/sleep.d.ts.map +1 -0
- package/dist/runtime/intrinsics/sleep.js +70 -0
- package/dist/runtime/intrinsics/subprocess.d.ts +5 -0
- package/dist/runtime/intrinsics/subprocess.d.ts.map +1 -0
- package/dist/runtime/intrinsics/subprocess.js +56 -0
- package/dist/runtime/intrinsics/task.d.ts +26 -0
- package/dist/runtime/intrinsics/task.d.ts.map +1 -0
- package/dist/runtime/intrinsics/task.js +132 -0
- package/dist/runtime/intrinsics/taskHelpers.d.ts +20 -0
- package/dist/runtime/intrinsics/taskHelpers.d.ts.map +1 -0
- package/dist/runtime/intrinsics/taskHelpers.js +148 -0
- package/dist/runtime/invocation/hashInvocationKey.d.ts +12 -0
- package/dist/runtime/invocation/hashInvocationKey.d.ts.map +1 -0
- package/dist/runtime/invocation/hashInvocationKey.js +12 -0
- package/dist/runtime/invocation/index.d.ts +3 -0
- package/dist/runtime/invocation/index.d.ts.map +1 -0
- package/dist/runtime/invocation/index.js +5 -0
- package/dist/runtime/orchestrateHelpers.d.ts +16 -0
- package/dist/runtime/orchestrateHelpers.d.ts.map +1 -0
- package/dist/runtime/orchestrateHelpers.js +103 -0
- package/dist/runtime/orchestrateIteration.d.ts +4 -0
- package/dist/runtime/orchestrateIteration.d.ts.map +1 -0
- package/dist/runtime/orchestrateIteration.js +213 -0
- package/dist/runtime/parallelStrategies.d.ts +23 -0
- package/dist/runtime/parallelStrategies.d.ts.map +1 -0
- package/dist/runtime/parallelStrategies.js +79 -0
- package/dist/runtime/policy/engine.d.ts +4 -0
- package/dist/runtime/policy/engine.d.ts.map +1 -0
- package/dist/runtime/policy/engine.js +97 -0
- package/dist/runtime/policy/index.d.ts +5 -0
- package/dist/runtime/policy/index.d.ts.map +1 -0
- package/dist/runtime/policy/index.js +13 -0
- package/dist/runtime/policy/logging.d.ts +6 -0
- package/dist/runtime/policy/logging.d.ts.map +1 -0
- package/dist/runtime/policy/logging.js +43 -0
- package/dist/runtime/policy/types.d.ts +55 -0
- package/dist/runtime/policy/types.d.ts.map +1 -0
- package/dist/runtime/policy/types.js +10 -0
- package/dist/runtime/processContext.d.ts +36 -0
- package/dist/runtime/processContext.d.ts.map +1 -0
- package/dist/runtime/processContext.js +161 -0
- package/dist/runtime/replay/createReplayEngine.d.ts +32 -0
- package/dist/runtime/replay/createReplayEngine.d.ts.map +1 -0
- package/dist/runtime/replay/createReplayEngine.js +189 -0
- package/dist/runtime/replay/effectIndex.d.ts +39 -0
- package/dist/runtime/replay/effectIndex.d.ts.map +1 -0
- package/dist/runtime/replay/effectIndex.js +322 -0
- package/dist/runtime/replay/index.d.ts +7 -0
- package/dist/runtime/replay/index.d.ts.map +1 -0
- package/dist/runtime/replay/index.js +19 -0
- package/dist/runtime/replay/replayCursor.d.ts +7 -0
- package/dist/runtime/replay/replayCursor.d.ts.map +1 -0
- package/dist/runtime/replay/replayCursor.js +22 -0
- package/dist/runtime/replay/stateCache.d.ts +50 -0
- package/dist/runtime/replay/stateCache.d.ts.map +1 -0
- package/dist/runtime/replay/stateCache.js +222 -0
- package/dist/runtime/runLifecycleState.d.ts +7 -0
- package/dist/runtime/runLifecycleState.d.ts.map +1 -0
- package/dist/runtime/runLifecycleState.js +54 -0
- package/dist/runtime/schemaValidator.d.ts +16 -0
- package/dist/runtime/schemaValidator.d.ts.map +1 -0
- package/dist/runtime/schemaValidator.js +92 -0
- package/dist/runtime/types.d.ts +240 -0
- package/dist/runtime/types.d.ts.map +1 -0
- package/dist/runtime/types.js +2 -0
- package/dist/sdkVersion.d.ts +5 -0
- package/dist/sdkVersion.d.ts.map +1 -0
- package/dist/sdkVersion.js +49 -0
- package/dist/session/cleanup.d.ts +17 -0
- package/dist/session/cleanup.d.ts.map +1 -0
- package/dist/session/cleanup.js +212 -0
- package/dist/session/discovery.d.ts +25 -0
- package/dist/session/discovery.d.ts.map +1 -0
- package/dist/session/discovery.js +44 -0
- package/dist/session/index.d.ts +15 -0
- package/dist/session/index.d.ts.map +1 -0
- package/dist/session/index.js +42 -0
- package/dist/session/parse.d.ts +45 -0
- package/dist/session/parse.d.ts.map +1 -0
- package/dist/session/parse.js +176 -0
- package/dist/session/transcript.d.ts +7 -0
- package/dist/session/transcript.d.ts.map +1 -0
- package/dist/session/transcript.js +51 -0
- package/dist/session/types.d.ts +196 -0
- package/dist/session/types.d.ts.map +1 -0
- package/dist/session/types.js +45 -0
- package/dist/session/whoami.d.ts +16 -0
- package/dist/session/whoami.d.ts.map +1 -0
- package/dist/session/whoami.js +108 -0
- package/dist/session/write.d.ts +61 -0
- package/dist/session/write.d.ts.map +1 -0
- package/dist/session/write.js +217 -0
- package/dist/storage/atomic.d.ts +2 -0
- package/dist/storage/atomic.d.ts.map +1 -0
- package/dist/storage/atomic.js +54 -0
- package/dist/storage/cleanup.d.ts +4 -0
- package/dist/storage/cleanup.d.ts.map +1 -0
- package/dist/storage/cleanup.js +96 -0
- package/dist/storage/clock.d.ts +6 -0
- package/dist/storage/clock.d.ts.map +1 -0
- package/dist/storage/clock.js +29 -0
- package/dist/storage/createRunDir.d.ts +6 -0
- package/dist/storage/createRunDir.d.ts.map +1 -0
- package/dist/storage/createRunDir.js +87 -0
- package/dist/storage/icloudWarning.d.ts +6 -0
- package/dist/storage/icloudWarning.d.ts.map +1 -0
- package/dist/storage/icloudWarning.js +84 -0
- package/dist/storage/index.d.ts +9 -0
- package/dist/storage/index.d.ts.map +1 -0
- package/dist/storage/index.js +36 -0
- package/dist/storage/journal.d.ts +4 -0
- package/dist/storage/journal.d.ts.map +1 -0
- package/dist/storage/journal.js +133 -0
- package/dist/storage/lock.d.ts +10 -0
- package/dist/storage/lock.d.ts.map +1 -0
- package/dist/storage/lock.js +82 -0
- package/dist/storage/paths.d.ts +23 -0
- package/dist/storage/paths.d.ts.map +1 -0
- package/dist/storage/paths.js +51 -0
- package/dist/storage/runFiles.d.ts +6 -0
- package/dist/storage/runFiles.d.ts.map +1 -0
- package/dist/storage/runFiles.js +44 -0
- package/dist/storage/tasks.d.ts +17 -0
- package/dist/storage/tasks.d.ts.map +1 -0
- package/dist/storage/tasks.js +83 -0
- package/dist/storage/types.d.ts +121 -0
- package/dist/storage/types.d.ts.map +1 -0
- package/dist/storage/types.js +2 -0
- package/dist/storage/ulids.d.ts +11 -0
- package/dist/storage/ulids.d.ts.map +1 -0
- package/dist/storage/ulids.js +25 -0
- package/dist/tasks/batching.d.ts +34 -0
- package/dist/tasks/batching.d.ts.map +1 -0
- package/dist/tasks/batching.js +91 -0
- package/dist/tasks/context.d.ts +11 -0
- package/dist/tasks/context.d.ts.map +1 -0
- package/dist/tasks/context.js +181 -0
- package/dist/tasks/defineTask.d.ts +37 -0
- package/dist/tasks/defineTask.d.ts.map +1 -0
- package/dist/tasks/defineTask.js +99 -0
- package/dist/tasks/effectGroup.d.ts +19 -0
- package/dist/tasks/effectGroup.d.ts.map +1 -0
- package/dist/tasks/effectGroup.js +58 -0
- package/dist/tasks/grouping.d.ts +19 -0
- package/dist/tasks/grouping.d.ts.map +1 -0
- package/dist/tasks/grouping.js +54 -0
- package/dist/tasks/index.d.ts +9 -0
- package/dist/tasks/index.d.ts.map +1 -0
- package/dist/tasks/index.js +24 -0
- package/dist/tasks/kinds/index.d.ts +7 -0
- package/dist/tasks/kinds/index.d.ts.map +1 -0
- package/dist/tasks/kinds/index.js +162 -0
- package/dist/tasks/kinds/resolvers.d.ts +21 -0
- package/dist/tasks/kinds/resolvers.d.ts.map +1 -0
- package/dist/tasks/kinds/resolvers.js +124 -0
- package/dist/tasks/partitioning.d.ts +11 -0
- package/dist/tasks/partitioning.d.ts.map +1 -0
- package/dist/tasks/partitioning.js +20 -0
- package/dist/tasks/registry.d.ts +53 -0
- package/dist/tasks/registry.d.ts.map +1 -0
- package/dist/tasks/registry.js +147 -0
- package/dist/tasks/serializer.d.ts +62 -0
- package/dist/tasks/serializer.d.ts.map +1 -0
- package/dist/tasks/serializer.js +197 -0
- package/dist/tasks/types.d.ts +180 -0
- package/dist/tasks/types.d.ts.map +1 -0
- package/dist/tasks/types.js +2 -0
- package/dist/test-fixtures/kinds/index.d.ts +56 -0
- package/dist/test-fixtures/kinds/index.d.ts.map +1 -0
- package/dist/test-fixtures/kinds/index.js +44 -0
- package/dist/testing/deterministic.d.ts +62 -0
- package/dist/testing/deterministic.d.ts.map +1 -0
- package/dist/testing/deterministic.js +193 -0
- package/dist/testing/deterministicProviders.d.ts +32 -0
- package/dist/testing/deterministicProviders.d.ts.map +1 -0
- package/dist/testing/deterministicProviders.js +263 -0
- package/dist/testing/index.d.ts +4 -0
- package/dist/testing/index.d.ts.map +1 -0
- package/dist/testing/index.js +23 -0
- package/dist/testing/runHarness.d.ts +64 -0
- package/dist/testing/runHarness.d.ts.map +1 -0
- package/dist/testing/runHarness.js +165 -0
- package/dist/testing/snapshots.d.ts +17 -0
- package/dist/testing/snapshots.d.ts.map +1 -0
- package/dist/testing/snapshots.js +24 -0
- package/dist/utils/ancestorWalk.d.ts +14 -0
- package/dist/utils/ancestorWalk.d.ts.map +1 -0
- package/dist/utils/ancestorWalk.js +203 -0
- package/dist/utils/compressContext.d.ts +50 -0
- package/dist/utils/compressContext.d.ts.map +1 -0
- package/dist/utils/compressContext.js +180 -0
- package/dist/utils/processLiveness.d.ts +9 -0
- package/dist/utils/processLiveness.d.ts.map +1 -0
- package/dist/utils/processLiveness.js +36 -0
- package/dist/utils/sessionMarker.d.ts +17 -0
- package/dist/utils/sessionMarker.d.ts.map +1 -0
- package/dist/utils/sessionMarker.js +218 -0
- package/package.json +4 -4
|
@@ -0,0 +1,346 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Value-bearing flag parsers for CLI argument parsing.
|
|
4
|
+
* Extracted from argFlags.ts for max-lines compliance.
|
|
5
|
+
*/
|
|
6
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
+
exports.FLAG_PARSERS = void 0;
|
|
8
|
+
const config_1 = require("../../config");
|
|
9
|
+
function expectFlagValue(args, index, flag) {
|
|
10
|
+
const value = args[index];
|
|
11
|
+
if (!value) {
|
|
12
|
+
throw new Error(`${flag} requires a value`);
|
|
13
|
+
}
|
|
14
|
+
return value;
|
|
15
|
+
}
|
|
16
|
+
function parsePositiveInteger(raw, flag) {
|
|
17
|
+
const parsed = Number(raw);
|
|
18
|
+
if (!Number.isFinite(parsed) || parsed <= 0) {
|
|
19
|
+
throw new Error(`${flag} must be a positive integer`);
|
|
20
|
+
}
|
|
21
|
+
return Math.floor(parsed);
|
|
22
|
+
}
|
|
23
|
+
function parseStatus(raw) {
|
|
24
|
+
const normalized = raw.toLowerCase();
|
|
25
|
+
if (normalized !== "ok" && normalized !== "error") {
|
|
26
|
+
throw new Error(`--status must be "ok" or "error" (received: ${raw})`);
|
|
27
|
+
}
|
|
28
|
+
return normalized;
|
|
29
|
+
}
|
|
30
|
+
function parseSourceType(raw) {
|
|
31
|
+
if (raw !== "github" && raw !== "well-known") {
|
|
32
|
+
throw new Error(`--source-type must be "github" or "well-known" (received: ${raw})`);
|
|
33
|
+
}
|
|
34
|
+
return raw;
|
|
35
|
+
}
|
|
36
|
+
function parseIntegerFlag(raw) {
|
|
37
|
+
return parseInt(raw, 10);
|
|
38
|
+
}
|
|
39
|
+
function readOptionalSessionId(args, index) {
|
|
40
|
+
const next = args[index + 1];
|
|
41
|
+
if (next && !next.startsWith("-")) {
|
|
42
|
+
return { sessionId: next, index: index + 1 };
|
|
43
|
+
}
|
|
44
|
+
return { index };
|
|
45
|
+
}
|
|
46
|
+
exports.FLAG_PARSERS = {
|
|
47
|
+
"--runs-dir": (parsed, args, index) => {
|
|
48
|
+
parsed.runsDir = (0, config_1.resolveRunsDir)({ override: expectFlagValue(args, index + 1, "--runs-dir") });
|
|
49
|
+
return index + 1;
|
|
50
|
+
},
|
|
51
|
+
"--kind": (parsed, args, index) => {
|
|
52
|
+
parsed.kindFilter = expectFlagValue(args, index + 1, "--kind");
|
|
53
|
+
return index + 1;
|
|
54
|
+
},
|
|
55
|
+
"--limit": (parsed, args, index) => {
|
|
56
|
+
parsed.limit = parsePositiveInteger(expectFlagValue(args, index + 1, "--limit"), "--limit");
|
|
57
|
+
return index + 1;
|
|
58
|
+
},
|
|
59
|
+
"--iteration": (parsed, args, index) => {
|
|
60
|
+
parsed.iteration = parsePositiveInteger(expectFlagValue(args, index + 1, "--iteration"), "--iteration");
|
|
61
|
+
return index + 1;
|
|
62
|
+
},
|
|
63
|
+
"--filter-type": (parsed, args, index) => {
|
|
64
|
+
parsed.filterType = expectFlagValue(args, index + 1, "--filter-type");
|
|
65
|
+
return index + 1;
|
|
66
|
+
},
|
|
67
|
+
"--status": (parsed, args, index) => {
|
|
68
|
+
parsed.taskStatus = parseStatus(expectFlagValue(args, index + 1, "--status"));
|
|
69
|
+
return index + 1;
|
|
70
|
+
},
|
|
71
|
+
"--value": (parsed, args, index) => {
|
|
72
|
+
parsed.valuePath = expectFlagValue(args, index + 1, "--value");
|
|
73
|
+
return index + 1;
|
|
74
|
+
},
|
|
75
|
+
"--value-inline": (parsed, args, index) => {
|
|
76
|
+
parsed.valueInline = expectFlagValue(args, index + 1, "--value-inline");
|
|
77
|
+
return index + 1;
|
|
78
|
+
},
|
|
79
|
+
"--error": (parsed, args, index) => {
|
|
80
|
+
parsed.errorPath = expectFlagValue(args, index + 1, "--error");
|
|
81
|
+
return index + 1;
|
|
82
|
+
},
|
|
83
|
+
"--stdout-ref": (parsed, args, index) => {
|
|
84
|
+
parsed.stdoutRef = expectFlagValue(args, index + 1, "--stdout-ref");
|
|
85
|
+
return index + 1;
|
|
86
|
+
},
|
|
87
|
+
"--stderr-ref": (parsed, args, index) => {
|
|
88
|
+
parsed.stderrRef = expectFlagValue(args, index + 1, "--stderr-ref");
|
|
89
|
+
return index + 1;
|
|
90
|
+
},
|
|
91
|
+
"--stdout-file": (parsed, args, index) => {
|
|
92
|
+
parsed.stdoutFile = expectFlagValue(args, index + 1, "--stdout-file");
|
|
93
|
+
return index + 1;
|
|
94
|
+
},
|
|
95
|
+
"--stderr-file": (parsed, args, index) => {
|
|
96
|
+
parsed.stderrFile = expectFlagValue(args, index + 1, "--stderr-file");
|
|
97
|
+
return index + 1;
|
|
98
|
+
},
|
|
99
|
+
"--started-at": (parsed, args, index) => {
|
|
100
|
+
parsed.startedAt = expectFlagValue(args, index + 1, "--started-at");
|
|
101
|
+
return index + 1;
|
|
102
|
+
},
|
|
103
|
+
"--finished-at": (parsed, args, index) => {
|
|
104
|
+
parsed.finishedAt = expectFlagValue(args, index + 1, "--finished-at");
|
|
105
|
+
return index + 1;
|
|
106
|
+
},
|
|
107
|
+
"--metadata": (parsed, args, index) => {
|
|
108
|
+
parsed.metadataPath = expectFlagValue(args, index + 1, "--metadata");
|
|
109
|
+
return index + 1;
|
|
110
|
+
},
|
|
111
|
+
"--invocation-key": (parsed, args, index) => {
|
|
112
|
+
parsed.invocationKey = expectFlagValue(args, index + 1, "--invocation-key");
|
|
113
|
+
return index + 1;
|
|
114
|
+
},
|
|
115
|
+
"--process-id": (parsed, args, index) => {
|
|
116
|
+
parsed.processId = expectFlagValue(args, index + 1, "--process-id");
|
|
117
|
+
return index + 1;
|
|
118
|
+
},
|
|
119
|
+
"--entry": (parsed, args, index) => {
|
|
120
|
+
parsed.entrySpecifier = expectFlagValue(args, index + 1, "--entry");
|
|
121
|
+
return index + 1;
|
|
122
|
+
},
|
|
123
|
+
"--inputs": (parsed, args, index) => {
|
|
124
|
+
parsed.inputsPath = expectFlagValue(args, index + 1, "--inputs");
|
|
125
|
+
return index + 1;
|
|
126
|
+
},
|
|
127
|
+
"--run-id": (parsed, args, index) => {
|
|
128
|
+
const runId = expectFlagValue(args, index + 1, "--run-id");
|
|
129
|
+
parsed.runIdOverride = runId;
|
|
130
|
+
parsed.runIds = [...(parsed.runIds ?? []), runId];
|
|
131
|
+
return index + 1;
|
|
132
|
+
},
|
|
133
|
+
"--process-revision": (parsed, args, index) => {
|
|
134
|
+
parsed.processRevision = expectFlagValue(args, index + 1, "--process-revision");
|
|
135
|
+
return index + 1;
|
|
136
|
+
},
|
|
137
|
+
"--request": (parsed, args, index) => {
|
|
138
|
+
parsed.requestId = expectFlagValue(args, index + 1, "--request");
|
|
139
|
+
return index + 1;
|
|
140
|
+
},
|
|
141
|
+
"--session-id": (parsed, args, index) => {
|
|
142
|
+
const result = readOptionalSessionId(args, index);
|
|
143
|
+
parsed.sessionId = result.sessionId;
|
|
144
|
+
return result.index;
|
|
145
|
+
},
|
|
146
|
+
"--state-dir": (parsed, args, index) => {
|
|
147
|
+
parsed.stateDir = expectFlagValue(args, index + 1, "--state-dir");
|
|
148
|
+
return index + 1;
|
|
149
|
+
},
|
|
150
|
+
"--max-iterations": (parsed, args, index) => {
|
|
151
|
+
parsed.maxIterations = parsePositiveInteger(expectFlagValue(args, index + 1, "--max-iterations"), "--max-iterations");
|
|
152
|
+
return index + 1;
|
|
153
|
+
},
|
|
154
|
+
"--prompt": (parsed, args, index) => {
|
|
155
|
+
parsed.prompt = expectFlagValue(args, index + 1, "--prompt");
|
|
156
|
+
return index + 1;
|
|
157
|
+
},
|
|
158
|
+
"--workspace": (parsed, args, index) => {
|
|
159
|
+
parsed.workspace = expectFlagValue(args, index + 1, "--workspace");
|
|
160
|
+
return index + 1;
|
|
161
|
+
},
|
|
162
|
+
"--daemon-dir": (parsed, args, index) => {
|
|
163
|
+
parsed.daemonDir = expectFlagValue(args, index + 1, "--daemon-dir");
|
|
164
|
+
return index + 1;
|
|
165
|
+
},
|
|
166
|
+
"--config": (parsed, args, index) => exports.FLAG_PARSERS["--config-path"](parsed, args, index),
|
|
167
|
+
"--config-path": (parsed, args, index) => {
|
|
168
|
+
parsed.configPath = expectFlagValue(args, index + 1, "--config-path");
|
|
169
|
+
return index + 1;
|
|
170
|
+
},
|
|
171
|
+
"--grace-period-ms": (parsed, args, index) => {
|
|
172
|
+
parsed.gracePeriodMs = parseIntegerFlag(expectFlagValue(args, index + 1, "--grace-period-ms"));
|
|
173
|
+
return index + 1;
|
|
174
|
+
},
|
|
175
|
+
"--transport": (parsed, args, index) => {
|
|
176
|
+
parsed.transport = expectFlagValue(args, index + 1, "--transport");
|
|
177
|
+
return index + 1;
|
|
178
|
+
},
|
|
179
|
+
"--port": (parsed, args, index) => {
|
|
180
|
+
parsed.port = parseIntegerFlag(expectFlagValue(args, index + 1, "--port"));
|
|
181
|
+
return index + 1;
|
|
182
|
+
},
|
|
183
|
+
"--host": (parsed, args, index) => {
|
|
184
|
+
parsed.host = expectFlagValue(args, index + 1, "--host");
|
|
185
|
+
return index + 1;
|
|
186
|
+
},
|
|
187
|
+
"--auth-token": (parsed, args, index) => {
|
|
188
|
+
parsed.authToken = expectFlagValue(args, index + 1, "--auth-token");
|
|
189
|
+
return index + 1;
|
|
190
|
+
},
|
|
191
|
+
"--ws-ping-interval": (parsed, args, index) => {
|
|
192
|
+
parsed.wsPingInterval = parseIntegerFlag(expectFlagValue(args, index + 1, "--ws-ping-interval"));
|
|
193
|
+
return index + 1;
|
|
194
|
+
},
|
|
195
|
+
"--ws-grace-period": (parsed, args, index) => {
|
|
196
|
+
parsed.wsGracePeriod = parseIntegerFlag(expectFlagValue(args, index + 1, "--ws-grace-period"));
|
|
197
|
+
return index + 1;
|
|
198
|
+
},
|
|
199
|
+
"--ws-max-mps": (parsed, args, index) => {
|
|
200
|
+
parsed.wsMaxMps = parseIntegerFlag(expectFlagValue(args, index + 1, "--ws-max-mps"));
|
|
201
|
+
return index + 1;
|
|
202
|
+
},
|
|
203
|
+
"--model": (parsed, args, index) => {
|
|
204
|
+
parsed.model = expectFlagValue(args, index + 1, "--model");
|
|
205
|
+
return index + 1;
|
|
206
|
+
},
|
|
207
|
+
"--last-iteration-at": (parsed, args, index) => {
|
|
208
|
+
parsed.lastIterationAt = expectFlagValue(args, index + 1, "--last-iteration-at");
|
|
209
|
+
return index + 1;
|
|
210
|
+
},
|
|
211
|
+
"--iteration-times": (parsed, args, index) => {
|
|
212
|
+
parsed.iterationTimes = expectFlagValue(args, index + 1, "--iteration-times");
|
|
213
|
+
return index + 1;
|
|
214
|
+
},
|
|
215
|
+
"--timeout": (parsed, args, index) => {
|
|
216
|
+
parsed.timeout = parsePositiveInteger(expectFlagValue(args, index + 1, "--timeout"), "--timeout");
|
|
217
|
+
return index + 1;
|
|
218
|
+
},
|
|
219
|
+
"--transcript-path": (parsed, args, index) => {
|
|
220
|
+
parsed.transcriptPath = expectFlagValue(args, index + 1, "--transcript-path");
|
|
221
|
+
return index + 1;
|
|
222
|
+
},
|
|
223
|
+
"--hook-type": (parsed, args, index) => {
|
|
224
|
+
parsed.hookType = expectFlagValue(args, index + 1, "--hook-type");
|
|
225
|
+
return index + 1;
|
|
226
|
+
},
|
|
227
|
+
"--harness": (parsed, args, index) => {
|
|
228
|
+
parsed.harness = expectFlagValue(args, index + 1, "--harness");
|
|
229
|
+
return index + 1;
|
|
230
|
+
},
|
|
231
|
+
"--log-file": (parsed, args, index) => {
|
|
232
|
+
parsed.logFile = expectFlagValue(args, index + 1, "--log-file");
|
|
233
|
+
return index + 1;
|
|
234
|
+
},
|
|
235
|
+
"--cache-ttl": (parsed, args, index) => {
|
|
236
|
+
parsed.cacheTtl = parsePositiveInteger(expectFlagValue(args, index + 1, "--cache-ttl"), "--cache-ttl");
|
|
237
|
+
return index + 1;
|
|
238
|
+
},
|
|
239
|
+
"--source-type": (parsed, args, index) => {
|
|
240
|
+
parsed.sourceType = parseSourceType(expectFlagValue(args, index + 1, "--source-type"));
|
|
241
|
+
return index + 1;
|
|
242
|
+
},
|
|
243
|
+
"--url": (parsed, args, index) => {
|
|
244
|
+
parsed.url = expectFlagValue(args, index + 1, "--url");
|
|
245
|
+
return index + 1;
|
|
246
|
+
},
|
|
247
|
+
"--repo": (parsed, args, index) => {
|
|
248
|
+
parsed.processLibraryRepo = expectFlagValue(args, index + 1, "--repo");
|
|
249
|
+
return index + 1;
|
|
250
|
+
},
|
|
251
|
+
"--ref": (parsed, args, index) => {
|
|
252
|
+
parsed.processLibraryRef = expectFlagValue(args, index + 1, "--ref");
|
|
253
|
+
return index + 1;
|
|
254
|
+
},
|
|
255
|
+
"--process": (parsed, args, index) => exports.FLAG_PARSERS["--process-path"](parsed, args, index),
|
|
256
|
+
"--process-path": (parsed, args, index) => {
|
|
257
|
+
parsed.processPath = expectFlagValue(args, index + 1, "--process-path");
|
|
258
|
+
return index + 1;
|
|
259
|
+
},
|
|
260
|
+
"--input": (parsed, args, index) => {
|
|
261
|
+
parsed.profileInputPath = expectFlagValue(args, index + 1, "--input");
|
|
262
|
+
return index + 1;
|
|
263
|
+
},
|
|
264
|
+
"--dir": (parsed, args, index) => {
|
|
265
|
+
const dir = expectFlagValue(args, index + 1, "--dir");
|
|
266
|
+
parsed.profileDir = dir;
|
|
267
|
+
parsed.processLibraryDir = dir;
|
|
268
|
+
return index + 1;
|
|
269
|
+
},
|
|
270
|
+
"--plugin-name": (parsed, args, index) => {
|
|
271
|
+
parsed.pluginName = expectFlagValue(args, index + 1, "--plugin-name");
|
|
272
|
+
return index + 1;
|
|
273
|
+
},
|
|
274
|
+
"--plugin-version": (parsed, args, index) => {
|
|
275
|
+
parsed.pluginVersion = expectFlagValue(args, index + 1, "--plugin-version");
|
|
276
|
+
return index + 1;
|
|
277
|
+
},
|
|
278
|
+
"--marketplace-name": (parsed, args, index) => {
|
|
279
|
+
parsed.marketplaceName = expectFlagValue(args, index + 1, "--marketplace-name");
|
|
280
|
+
return index + 1;
|
|
281
|
+
},
|
|
282
|
+
"--marketplace-url": (parsed, args, index) => {
|
|
283
|
+
parsed.marketplaceUrl = expectFlagValue(args, index + 1, "--marketplace-url");
|
|
284
|
+
return index + 1;
|
|
285
|
+
},
|
|
286
|
+
"--marketplace-path": (parsed, args, index) => {
|
|
287
|
+
parsed.marketplacePath = expectFlagValue(args, index + 1, "--marketplace-path");
|
|
288
|
+
return index + 1;
|
|
289
|
+
},
|
|
290
|
+
"--marketplace-branch": (parsed, args, index) => {
|
|
291
|
+
parsed.marketplaceBranch = expectFlagValue(args, index + 1, "--marketplace-branch");
|
|
292
|
+
return index + 1;
|
|
293
|
+
},
|
|
294
|
+
"--type": (parsed, args, index) => {
|
|
295
|
+
parsed.logType = expectFlagValue(args, index + 1, "--type");
|
|
296
|
+
return index + 1;
|
|
297
|
+
},
|
|
298
|
+
"--message": (parsed, args, index) => {
|
|
299
|
+
parsed.logMessage = expectFlagValue(args, index + 1, "--message");
|
|
300
|
+
return index + 1;
|
|
301
|
+
},
|
|
302
|
+
"--label": (parsed, args, index) => {
|
|
303
|
+
parsed.logLabel = expectFlagValue(args, index + 1, "--label");
|
|
304
|
+
return index + 1;
|
|
305
|
+
},
|
|
306
|
+
"--level": (parsed, args, index) => {
|
|
307
|
+
parsed.logLevel = expectFlagValue(args, index + 1, "--level");
|
|
308
|
+
return index + 1;
|
|
309
|
+
},
|
|
310
|
+
"--source": (parsed, args, index) => {
|
|
311
|
+
parsed.logSource = expectFlagValue(args, index + 1, "--source");
|
|
312
|
+
return index + 1;
|
|
313
|
+
},
|
|
314
|
+
"--keep-days": (parsed, args, index) => {
|
|
315
|
+
parsed.keepDays = parsePositiveInteger(expectFlagValue(args, index + 1, "--keep-days"), "--keep-days");
|
|
316
|
+
return index + 1;
|
|
317
|
+
},
|
|
318
|
+
"--reason": (parsed, args, index) => {
|
|
319
|
+
parsed.cancelReason = expectFlagValue(args, index + 1, "--reason");
|
|
320
|
+
return index + 1;
|
|
321
|
+
},
|
|
322
|
+
"--action": (parsed, args, index) => {
|
|
323
|
+
parsed.breakpointAction = expectFlagValue(args, index + 1, "--action");
|
|
324
|
+
return index + 1;
|
|
325
|
+
},
|
|
326
|
+
"--note": (parsed, args, index) => {
|
|
327
|
+
parsed.breakpointNote = expectFlagValue(args, index + 1, "--note");
|
|
328
|
+
return index + 1;
|
|
329
|
+
},
|
|
330
|
+
"--tags": (parsed, args, index) => {
|
|
331
|
+
parsed.breakpointTags = expectFlagValue(args, index + 1, "--tags");
|
|
332
|
+
return index + 1;
|
|
333
|
+
},
|
|
334
|
+
"--expert": (parsed, args, index) => {
|
|
335
|
+
parsed.breakpointExpert = expectFlagValue(args, index + 1, "--expert");
|
|
336
|
+
return index + 1;
|
|
337
|
+
},
|
|
338
|
+
"--breakpoint-id": (parsed, args, index) => {
|
|
339
|
+
parsed.breakpointIdArg = expectFlagValue(args, index + 1, "--breakpoint-id");
|
|
340
|
+
return index + 1;
|
|
341
|
+
},
|
|
342
|
+
"--verbosity": (parsed, args, index) => {
|
|
343
|
+
parsed.verbosity = expectFlagValue(args, index + 1, "--verbosity");
|
|
344
|
+
return index + 1;
|
|
345
|
+
},
|
|
346
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"argFlags.d.ts","sourceRoot":"","sources":["../../../src/cli/main/argFlags.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAE1C,OAAO,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAEhD,eAAO,MAAM,aAAa,EAAE,MAAM,CAAC,MAAM,EAAE,CAAC,MAAM,EAAE,UAAU,KAAK,IAAI,CAuEtE,CAAC"}
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.BOOLEAN_FLAGS = exports.FLAG_PARSERS = void 0;
|
|
4
|
+
var argFlagParsers_1 = require("./argFlagParsers");
|
|
5
|
+
Object.defineProperty(exports, "FLAG_PARSERS", { enumerable: true, get: function () { return argFlagParsers_1.FLAG_PARSERS; } });
|
|
6
|
+
exports.BOOLEAN_FLAGS = {
|
|
7
|
+
"--json": (parsed) => {
|
|
8
|
+
parsed.json = true;
|
|
9
|
+
},
|
|
10
|
+
"--dry-run": (parsed) => {
|
|
11
|
+
parsed.dryRun = true;
|
|
12
|
+
},
|
|
13
|
+
"--verbose": (parsed) => {
|
|
14
|
+
parsed.verbose = true;
|
|
15
|
+
},
|
|
16
|
+
"--pending": (parsed) => {
|
|
17
|
+
parsed.pendingOnly = true;
|
|
18
|
+
},
|
|
19
|
+
"--reverse": (parsed) => {
|
|
20
|
+
parsed.reverseOrder = true;
|
|
21
|
+
},
|
|
22
|
+
"--show-config": (parsed) => {
|
|
23
|
+
parsed.showConfig = true;
|
|
24
|
+
},
|
|
25
|
+
"--show-strata": (parsed) => {
|
|
26
|
+
parsed.showStrata = true;
|
|
27
|
+
},
|
|
28
|
+
"--defaults-only": (parsed) => {
|
|
29
|
+
parsed.defaultsOnly = true;
|
|
30
|
+
},
|
|
31
|
+
"--tree": (parsed) => {
|
|
32
|
+
parsed.tree = true;
|
|
33
|
+
},
|
|
34
|
+
"--rich": (parsed) => {
|
|
35
|
+
parsed.rich = true;
|
|
36
|
+
},
|
|
37
|
+
"--foreground": (parsed) => {
|
|
38
|
+
parsed.foreground = true;
|
|
39
|
+
},
|
|
40
|
+
"--interactive": (parsed) => {
|
|
41
|
+
parsed.interactive = true;
|
|
42
|
+
},
|
|
43
|
+
"--no-interactive": (parsed) => {
|
|
44
|
+
parsed.interactive = false;
|
|
45
|
+
},
|
|
46
|
+
"--non-interactive": (parsed) => {
|
|
47
|
+
parsed.interactive = false;
|
|
48
|
+
},
|
|
49
|
+
"--include-remote": (parsed) => {
|
|
50
|
+
parsed.includeRemote = true;
|
|
51
|
+
},
|
|
52
|
+
"--summary-only": (parsed) => {
|
|
53
|
+
parsed.summaryOnly = true;
|
|
54
|
+
},
|
|
55
|
+
"--user": (parsed) => {
|
|
56
|
+
parsed.profileUser = true;
|
|
57
|
+
},
|
|
58
|
+
"--project": (parsed) => {
|
|
59
|
+
parsed.profileProject = true;
|
|
60
|
+
parsed.pluginScope = "project";
|
|
61
|
+
},
|
|
62
|
+
"--force": (parsed) => {
|
|
63
|
+
parsed.pluginForce = true;
|
|
64
|
+
parsed.sessionForce = true;
|
|
65
|
+
},
|
|
66
|
+
"--global": (parsed) => {
|
|
67
|
+
parsed.pluginScope = "global";
|
|
68
|
+
},
|
|
69
|
+
"--all": (parsed) => {
|
|
70
|
+
parsed.tokensAll = true;
|
|
71
|
+
parsed.costAll = true;
|
|
72
|
+
parsed.retrospectAll = true;
|
|
73
|
+
},
|
|
74
|
+
"--tui": (parsed) => {
|
|
75
|
+
parsed.tuiFlag = true;
|
|
76
|
+
},
|
|
77
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"argPositionals.d.ts","sourceRoot":"","sources":["../../../src/cli/main/argPositionals.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAE1C,wBAAgB,mBAAmB,CAAC,MAAM,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,EAAE,QA6F5E"}
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.applyPositionalArgs = applyPositionalArgs;
|
|
4
|
+
function applyPositionalArgs(parsed, positionals) {
|
|
5
|
+
switch (parsed.command) {
|
|
6
|
+
case "task:post":
|
|
7
|
+
case "task:cancel":
|
|
8
|
+
case "task:show":
|
|
9
|
+
[parsed.runDirArg, parsed.effectId] = positionals;
|
|
10
|
+
return;
|
|
11
|
+
case "task:list":
|
|
12
|
+
case "run:assign-process":
|
|
13
|
+
case "run:status":
|
|
14
|
+
case "run:iterate":
|
|
15
|
+
case "run:events":
|
|
16
|
+
case "run:rebuild-state":
|
|
17
|
+
case "run:repair-journal":
|
|
18
|
+
[parsed.runDirArg] = positionals;
|
|
19
|
+
return;
|
|
20
|
+
case "configure":
|
|
21
|
+
[parsed.configureSubcommand] = positionals;
|
|
22
|
+
return;
|
|
23
|
+
case "tokens:stats":
|
|
24
|
+
[parsed.tokensRunId] = positionals;
|
|
25
|
+
return;
|
|
26
|
+
case "cost:stats":
|
|
27
|
+
[parsed.costRunId] = positionals;
|
|
28
|
+
return;
|
|
29
|
+
case "compression:toggle": {
|
|
30
|
+
const [layer, onOff] = positionals;
|
|
31
|
+
parsed.compressionLayer = layer;
|
|
32
|
+
if (onOff !== undefined) {
|
|
33
|
+
const normalized = onOff.toLowerCase();
|
|
34
|
+
if (normalized !== "on" && normalized !== "off") {
|
|
35
|
+
throw new Error(`compression:toggle value must be "on" or "off" (received: ${onOff})`);
|
|
36
|
+
}
|
|
37
|
+
parsed.compressionToggleValue = normalized === "on";
|
|
38
|
+
}
|
|
39
|
+
return;
|
|
40
|
+
}
|
|
41
|
+
case "compression:set":
|
|
42
|
+
[parsed.compressionSetKey, parsed.compressionSetValue] = positionals;
|
|
43
|
+
return;
|
|
44
|
+
case "compress-output":
|
|
45
|
+
parsed.compressOutputArgs = positionals;
|
|
46
|
+
return;
|
|
47
|
+
case "breakpoint:approve-rule":
|
|
48
|
+
[parsed.breakpointPattern] = positionals;
|
|
49
|
+
return;
|
|
50
|
+
case "breakpoint:remove-rule":
|
|
51
|
+
[parsed.breakpointRuleId] = positionals;
|
|
52
|
+
return;
|
|
53
|
+
case "breakpoint:should-auto-approve":
|
|
54
|
+
[parsed.breakpointIdArg] = positionals;
|
|
55
|
+
return;
|
|
56
|
+
}
|
|
57
|
+
if (parsed.command?.startsWith("plugin:")) {
|
|
58
|
+
if (positionals.length > 0 && !parsed.pluginName) {
|
|
59
|
+
[parsed.pluginName] = positionals;
|
|
60
|
+
}
|
|
61
|
+
return;
|
|
62
|
+
}
|
|
63
|
+
if (parsed.command === "invoke" ||
|
|
64
|
+
parsed.command === "harness:install" ||
|
|
65
|
+
parsed.command === "harness:install-plugin" ||
|
|
66
|
+
parsed.command === "help" ||
|
|
67
|
+
parsed.command === "tui") {
|
|
68
|
+
parsed.positional = positionals;
|
|
69
|
+
return;
|
|
70
|
+
}
|
|
71
|
+
if (parsed.command === "retrospect" ||
|
|
72
|
+
parsed.command === "doctor") {
|
|
73
|
+
if (positionals.length > 0 && !parsed.runIdOverride) {
|
|
74
|
+
[parsed.runIdOverride] = positionals;
|
|
75
|
+
}
|
|
76
|
+
return;
|
|
77
|
+
}
|
|
78
|
+
if (parsed.command === "cleanup" ||
|
|
79
|
+
parsed.command === "assimilate" ||
|
|
80
|
+
parsed.command === "contrib" ||
|
|
81
|
+
parsed.command === "user-install" ||
|
|
82
|
+
parsed.command === "project-install") {
|
|
83
|
+
if (positionals.length > 0 && !parsed.prompt) {
|
|
84
|
+
parsed.prompt = positionals.join(" ");
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { ParsedArgs } from "./types";
|
|
2
|
+
import { collapseDoubledA5cRuns as _sharedCollapseDoubledA5cRuns } from "../resolveInputPath";
|
|
3
|
+
declare const collapseDoubledA5cRuns: typeof _sharedCollapseDoubledA5cRuns;
|
|
4
|
+
export declare function parseArgs(argv: string[]): ParsedArgs;
|
|
5
|
+
export declare function resolveRunDir(baseDir: string, runDirArg?: string): string;
|
|
6
|
+
export { collapseDoubledA5cRuns };
|
|
7
|
+
//# sourceMappingURL=args.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"args.d.ts","sourceRoot":"","sources":["../../../src/cli/main/args.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAG1C,OAAO,EAAE,sBAAsB,IAAI,6BAA6B,EAAE,MAAM,qBAAqB,CAAC;AAE9F,QAAA,MAAM,sBAAsB,sCAAgC,CAAC;AAsC7D,wBAAgB,SAAS,CAAC,IAAI,EAAE,MAAM,EAAE,GAAG,UAAU,CAuCpD;AAED,wBAAgB,aAAa,CAAC,OAAO,EAAE,MAAM,EAAE,SAAS,CAAC,EAAE,MAAM,GAAG,MAAM,CAIzE;AAED,OAAO,EAAE,sBAAsB,EAAE,CAAC"}
|
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
35
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
+
exports.collapseDoubledA5cRuns = void 0;
|
|
37
|
+
exports.parseArgs = parseArgs;
|
|
38
|
+
exports.resolveRunDir = resolveRunDir;
|
|
39
|
+
const path = __importStar(require("node:path"));
|
|
40
|
+
const config_1 = require("../../config");
|
|
41
|
+
const argFlags_1 = require("./argFlags");
|
|
42
|
+
const argPositionals_1 = require("./argPositionals");
|
|
43
|
+
const resolveInputPath_1 = require("../resolveInputPath");
|
|
44
|
+
const collapseDoubledA5cRuns = resolveInputPath_1.collapseDoubledA5cRuns;
|
|
45
|
+
exports.collapseDoubledA5cRuns = collapseDoubledA5cRuns;
|
|
46
|
+
function createDefaultParsedArgs(initialCommand) {
|
|
47
|
+
return {
|
|
48
|
+
command: initialCommand,
|
|
49
|
+
runsDir: (0, config_1.resolveRunsDir)(),
|
|
50
|
+
json: false,
|
|
51
|
+
dryRun: false,
|
|
52
|
+
verbose: false,
|
|
53
|
+
helpRequested: false,
|
|
54
|
+
helpSurface: "agent",
|
|
55
|
+
pendingOnly: false,
|
|
56
|
+
reverseOrder: false,
|
|
57
|
+
showConfig: false,
|
|
58
|
+
showStrata: false,
|
|
59
|
+
tree: false,
|
|
60
|
+
rich: false,
|
|
61
|
+
defaultsOnly: false,
|
|
62
|
+
};
|
|
63
|
+
}
|
|
64
|
+
function normalizeInitialCommand(parsed) {
|
|
65
|
+
if (parsed.command === "--help" || parsed.command === "-h") {
|
|
66
|
+
parsed.command = undefined;
|
|
67
|
+
parsed.helpRequested = true;
|
|
68
|
+
return;
|
|
69
|
+
}
|
|
70
|
+
if (parsed.command === "--help-human") {
|
|
71
|
+
parsed.command = undefined;
|
|
72
|
+
parsed.helpRequested = true;
|
|
73
|
+
parsed.helpSurface = "human";
|
|
74
|
+
return;
|
|
75
|
+
}
|
|
76
|
+
if (parsed.command === "--version" || parsed.command === "-v") {
|
|
77
|
+
parsed.command = "version";
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
function parseArgs(argv) {
|
|
81
|
+
const [initialCommand, ...rest] = argv;
|
|
82
|
+
const parsed = createDefaultParsedArgs(initialCommand);
|
|
83
|
+
normalizeInitialCommand(parsed);
|
|
84
|
+
const positionals = [];
|
|
85
|
+
for (let i = 0; i < rest.length; i += 1) {
|
|
86
|
+
const arg = rest[i];
|
|
87
|
+
if (arg === "--help" || arg === "-h") {
|
|
88
|
+
parsed.helpRequested = true;
|
|
89
|
+
continue;
|
|
90
|
+
}
|
|
91
|
+
if (arg === "--help-human") {
|
|
92
|
+
parsed.helpRequested = true;
|
|
93
|
+
parsed.helpSurface = "human";
|
|
94
|
+
continue;
|
|
95
|
+
}
|
|
96
|
+
if (arg === "--version" || arg === "-v") {
|
|
97
|
+
parsed.command = "version";
|
|
98
|
+
continue;
|
|
99
|
+
}
|
|
100
|
+
const applyBoolean = argFlags_1.BOOLEAN_FLAGS[arg];
|
|
101
|
+
if (applyBoolean) {
|
|
102
|
+
applyBoolean(parsed);
|
|
103
|
+
continue;
|
|
104
|
+
}
|
|
105
|
+
const parseFlag = argFlags_1.FLAG_PARSERS[arg];
|
|
106
|
+
if (parseFlag) {
|
|
107
|
+
i = parseFlag(parsed, rest, i);
|
|
108
|
+
continue;
|
|
109
|
+
}
|
|
110
|
+
positionals.push(arg);
|
|
111
|
+
}
|
|
112
|
+
(0, argPositionals_1.applyPositionalArgs)(parsed, positionals);
|
|
113
|
+
return parsed;
|
|
114
|
+
}
|
|
115
|
+
function resolveRunDir(baseDir, runDirArg) {
|
|
116
|
+
if (!runDirArg)
|
|
117
|
+
throw new Error("Run directory argument is required.");
|
|
118
|
+
const resolved = (0, config_1.resolveExistingRunDir)(runDirArg, { override: baseDir });
|
|
119
|
+
return collapseDoubledA5cRuns(path.normalize(resolved));
|
|
120
|
+
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { ParsedArgs } from "./types";
|
|
2
|
+
import { type CliProgram } from "./program";
|
|
3
|
+
export declare function executeCliCommand(parsed: ParsedArgs, program?: CliProgram): Promise<number>;
|
|
4
|
+
export declare function handleCliError(error: unknown, parsedJson: boolean, parsedVerbose: boolean): number;
|
|
5
|
+
//# sourceMappingURL=dispatch.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dispatch.d.ts","sourceRoot":"","sources":["../../../src/cli/main/dispatch.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAE1C,OAAO,EAAkC,KAAK,UAAU,EAAE,MAAM,WAAW,CAAC;AAS5E,wBAAsB,iBAAiB,CAAC,MAAM,EAAE,UAAU,EAAE,OAAO,GAAE,UAAyB,GAAG,OAAO,CAAC,MAAM,CAAC,CA0B/G;AAED,wBAAgB,cAAc,CAAC,KAAK,EAAE,OAAO,EAAE,UAAU,EAAE,OAAO,EAAE,aAAa,EAAE,OAAO,GAAG,MAAM,CAMlG"}
|