opencode-orchestrator 1.5.0 → 1.5.4
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/LICENSE +21 -21
- package/README.md +3 -1
- package/dist/agents/commander.d.ts +1 -1
- package/dist/agents/definitions.d.ts +1 -1
- package/dist/agents/prompts/01_philosophy/anti_hallucination.d.ts +0 -0
- package/dist/agents/prompts/01_philosophy/core.d.ts +0 -0
- package/dist/agents/prompts/01_philosophy/execution_assurance.d.ts +0 -0
- package/dist/agents/prompts/01_philosophy/index.d.ts +0 -0
- package/dist/agents/prompts/01_philosophy/metadata.d.ts +0 -0
- package/dist/agents/prompts/01_philosophy/modularity.d.ts +0 -0
- package/dist/agents/prompts/02_discovery/agents/discovery_commander.d.ts +0 -0
- package/dist/agents/prompts/02_discovery/agents/discovery_planner.d.ts +0 -0
- package/dist/agents/prompts/02_discovery/agents/index.d.ts +0 -0
- package/dist/agents/prompts/02_discovery/discovery_core.d.ts +0 -0
- package/dist/agents/prompts/02_discovery/discovery_environment.d.ts +0 -0
- package/dist/agents/prompts/02_discovery/discovery_skills.d.ts +0 -0
- package/dist/agents/prompts/02_discovery/discovery_workspace.d.ts +0 -0
- package/dist/agents/prompts/02_discovery/index.d.ts +0 -0
- package/dist/agents/prompts/03_planning/agents/index.d.ts +0 -0
- package/dist/agents/prompts/03_planning/agents/planning_commander.d.ts +0 -0
- package/dist/agents/prompts/03_planning/agents/planning_planner.d.ts +0 -0
- package/dist/agents/prompts/03_planning/agents/planning_reviewer.d.ts +0 -0
- package/dist/agents/prompts/03_planning/index.d.ts +0 -0
- package/dist/agents/prompts/03_planning/planning_core.d.ts +0 -0
- package/dist/agents/prompts/03_planning/planning_decomposition.d.ts +0 -0
- package/dist/agents/prompts/03_planning/planning_file_planning.d.ts +0 -0
- package/dist/agents/prompts/03_planning/planning_parallel.d.ts +0 -0
- package/dist/agents/prompts/03_planning/planning_research.d.ts +0 -0
- package/dist/agents/prompts/03_planning/planning_todo_format.d.ts +0 -0
- package/dist/agents/prompts/03_planning/planning_todo_rules.d.ts +0 -0
- package/dist/agents/prompts/03_planning/planning_todo_sync.d.ts +0 -0
- package/dist/agents/prompts/04_execution/agents/execution_commander.d.ts +0 -0
- package/dist/agents/prompts/04_execution/agents/execution_worker.d.ts +0 -0
- package/dist/agents/prompts/04_execution/agents/index.d.ts +0 -0
- package/dist/agents/prompts/04_execution/execution_core.d.ts +0 -0
- package/dist/agents/prompts/04_execution/execution_delegation.d.ts +0 -0
- package/dist/agents/prompts/04_execution/execution_error_handling.d.ts +0 -0
- package/dist/agents/prompts/04_execution/execution_file_assignment.d.ts +0 -0
- package/dist/agents/prompts/04_execution/execution_hyper_parallel.d.ts +0 -0
- package/dist/agents/prompts/04_execution/execution_isolation.d.ts +0 -0
- package/dist/agents/prompts/04_execution/execution_quality.d.ts +0 -0
- package/dist/agents/prompts/04_execution/execution_strategy.d.ts +0 -0
- package/dist/agents/prompts/04_execution/execution_tdd.d.ts +0 -0
- package/dist/agents/prompts/04_execution/execution_workflow.d.ts +0 -0
- package/dist/agents/prompts/04_execution/index.d.ts +0 -0
- package/dist/agents/prompts/05_verification/agents/index.d.ts +0 -0
- package/dist/agents/prompts/05_verification/agents/verification_commander.d.ts +0 -0
- package/dist/agents/prompts/05_verification/agents/verification_reviewer.d.ts +0 -0
- package/dist/agents/prompts/05_verification/index.d.ts +0 -0
- package/dist/agents/prompts/05_verification/verification_async_monitoring.d.ts +0 -0
- package/dist/agents/prompts/05_verification/verification_build.d.ts +0 -0
- package/dist/agents/prompts/05_verification/verification_core.d.ts +0 -0
- package/dist/agents/prompts/05_verification/verification_evidence.d.ts +0 -0
- package/dist/agents/prompts/05_verification/verification_integration.d.ts +0 -0
- package/dist/agents/prompts/05_verification/verification_strategy.d.ts +0 -0
- package/dist/agents/prompts/05_verification/verification_sync_check.d.ts +0 -0
- package/dist/agents/prompts/05_verification/verification_sync_handling.d.ts +0 -0
- package/dist/agents/prompts/05_verification/verification_test.d.ts +0 -0
- package/dist/agents/prompts/06_mission/agents/index.d.ts +0 -0
- package/dist/agents/prompts/06_mission/agents/mission_commander.d.ts +0 -0
- package/dist/agents/prompts/06_mission/index.d.ts +0 -0
- package/dist/agents/prompts/06_mission/mission_completion_conditions.d.ts +0 -0
- package/dist/agents/prompts/06_mission/mission_core.d.ts +0 -0
- package/dist/agents/prompts/06_mission/mission_lifecycle.d.ts +0 -0
- package/dist/agents/prompts/06_mission/mission_loop_continuation.d.ts +0 -0
- package/dist/agents/prompts/06_mission/mission_recovery.d.ts +0 -0
- package/dist/agents/prompts/06_mission/mission_status_tracking.d.ts +0 -0
- package/dist/agents/prompts/07_agents/commander/commander_forbidden.d.ts +0 -0
- package/dist/agents/prompts/07_agents/commander/commander_identity.d.ts +0 -0
- package/dist/agents/prompts/07_agents/commander/commander_mandate.d.ts +0 -0
- package/dist/agents/prompts/07_agents/commander/commander_required.d.ts +0 -0
- package/dist/agents/prompts/07_agents/commander/commander_role.d.ts +0 -0
- package/dist/agents/prompts/07_agents/commander/index.d.ts +0 -0
- package/dist/agents/prompts/07_agents/planner/index.d.ts +0 -0
- package/dist/agents/prompts/07_agents/planner/planner_forbidden.d.ts +0 -0
- package/dist/agents/prompts/07_agents/planner/planner_identity.d.ts +0 -0
- package/dist/agents/prompts/07_agents/planner/planner_mandate.d.ts +0 -0
- package/dist/agents/prompts/07_agents/planner/planner_required.d.ts +0 -0
- package/dist/agents/prompts/07_agents/reviewer/index.d.ts +0 -0
- package/dist/agents/prompts/07_agents/reviewer/reviewer_forbidden.d.ts +0 -0
- package/dist/agents/prompts/07_agents/reviewer/reviewer_identity.d.ts +0 -0
- package/dist/agents/prompts/07_agents/reviewer/reviewer_mandate.d.ts +0 -0
- package/dist/agents/prompts/07_agents/reviewer/reviewer_required.d.ts +0 -0
- package/dist/agents/prompts/07_agents/worker/index.d.ts +0 -0
- package/dist/agents/prompts/07_agents/worker/worker_forbidden.d.ts +0 -0
- package/dist/agents/prompts/07_agents/worker/worker_identity.d.ts +0 -0
- package/dist/agents/prompts/07_agents/worker/worker_mandate.d.ts +0 -0
- package/dist/agents/prompts/07_agents/worker/worker_required.d.ts +0 -0
- package/dist/agents/prompts/08_tools/agents/index.d.ts +0 -0
- package/dist/agents/prompts/08_tools/agents/tools_reviewer.d.ts +0 -0
- package/dist/agents/prompts/08_tools/agents/tools_worker.d.ts +0 -0
- package/dist/agents/prompts/08_tools/index.d.ts +0 -0
- package/dist/agents/prompts/08_tools/tools_ast.d.ts +0 -0
- package/dist/agents/prompts/08_tools/tools_code_editing.d.ts +0 -0
- package/dist/agents/prompts/08_tools/tools_core.d.ts +0 -0
- package/dist/agents/prompts/08_tools/tools_lsp.d.ts +0 -0
- package/dist/agents/prompts/08_tools/tools_search.d.ts +0 -0
- package/dist/agents/prompts/08_tools/tools_testing.d.ts +0 -0
- package/dist/agents/prompts/index.d.ts +0 -0
- package/dist/agents/subagents/planner.d.ts +1 -1
- package/dist/agents/subagents/reviewer.d.ts +1 -1
- package/dist/agents/subagents/worker.d.ts +1 -1
- package/dist/core/agents/agent-registry.d.ts +1 -1
- package/dist/core/agents/concurrency-config.d.ts +0 -0
- package/dist/core/agents/concurrency-token.d.ts +0 -0
- package/dist/core/agents/concurrency.d.ts +2 -2
- package/dist/core/agents/config.d.ts +0 -0
- package/dist/core/agents/consts/index.d.ts +0 -0
- package/dist/core/agents/consts/task-status.const.d.ts +2 -2
- package/dist/core/agents/format.d.ts +0 -0
- package/dist/core/agents/index.d.ts +0 -0
- package/dist/core/agents/interfaces/index.d.ts +3 -3
- package/dist/core/agents/interfaces/launch-input.interface.d.ts +0 -0
- package/dist/core/agents/interfaces/resume-input.interface.d.ts +0 -0
- package/dist/core/agents/interfaces/session-pool.interface.d.ts +0 -0
- package/dist/core/agents/logger.d.ts +0 -0
- package/dist/core/agents/manager/event-handler.d.ts +0 -0
- package/dist/core/agents/manager/index.d.ts +0 -0
- package/dist/core/agents/manager/task-cleaner.d.ts +0 -0
- package/dist/core/agents/manager/task-launcher.d.ts +0 -0
- package/dist/core/agents/manager/task-poller.d.ts +0 -0
- package/dist/core/agents/manager/task-resumer.d.ts +0 -0
- package/dist/core/agents/manager.d.ts +0 -1
- package/dist/core/agents/session-pool.d.ts +0 -0
- package/dist/core/agents/task-store.d.ts +0 -0
- package/dist/core/agents/types/index.d.ts +0 -0
- package/dist/core/agents/types/parallel-task-status.type.d.ts +0 -0
- package/dist/core/cache/constants.d.ts +0 -0
- package/dist/core/cache/document-cache.d.ts +0 -0
- package/dist/core/cache/index.d.ts +0 -0
- package/dist/core/cache/interfaces/cache-document-entry.d.ts +0 -0
- package/dist/core/cache/interfaces/cache-list-entry.d.ts +0 -0
- package/dist/core/cache/interfaces/cache-metadata.d.ts +0 -0
- package/dist/core/cache/interfaces/cache-stats.d.ts +0 -0
- package/dist/core/cache/interfaces/cached-document.d.ts +0 -0
- package/dist/core/cache/interfaces/index.d.ts +0 -0
- package/dist/core/cache/interfaces.d.ts +0 -0
- package/dist/core/cache/operations.d.ts +0 -0
- package/dist/core/cache/utils.d.ts +0 -0
- package/dist/core/cleanup/cleanup-scheduler.d.ts +0 -0
- package/dist/core/commands/index.d.ts +0 -0
- package/dist/core/commands/interfaces/background-task.d.ts +0 -0
- package/dist/core/commands/interfaces/index.d.ts +0 -0
- package/dist/core/commands/interfaces/run-background-options.d.ts +0 -0
- package/dist/core/commands/manager.d.ts +0 -0
- package/dist/core/commands/types/background-task-status.d.ts +0 -0
- package/dist/core/commands/types/index.d.ts +0 -0
- package/dist/core/config/plugin-options.d.ts +0 -0
- package/dist/core/context/context-window-monitor.d.ts +0 -0
- package/dist/core/context/index.d.ts +0 -0
- package/dist/core/knowledge/context-provider.d.ts +0 -0
- package/dist/core/knowledge/graph-parser.d.ts +0 -0
- package/dist/core/knowledge/hybrid-search.d.ts +0 -0
- package/dist/core/knowledge/index.d.ts +0 -0
- package/dist/core/knowledge/memory-consolidation.d.ts +0 -0
- package/dist/core/knowledge/mission-memory.d.ts +1 -1
- package/dist/core/knowledge/safety-guards.d.ts +0 -0
- package/dist/core/knowledge/scratchpad.d.ts +0 -0
- package/dist/core/knowledge/tag-indexer.d.ts +0 -0
- package/dist/core/loop/circuit-breaker.d.ts +0 -0
- package/dist/core/loop/compaction-guard.d.ts +0 -0
- package/dist/core/loop/formatters.d.ts +0 -0
- package/dist/core/loop/interfaces/index.d.ts +0 -0
- package/dist/core/loop/interfaces/todo-stats.d.ts +0 -0
- package/dist/core/loop/interfaces/todo.d.ts +0 -0
- package/dist/core/loop/interfaces.d.ts +0 -0
- package/dist/core/loop/mission-ledger.d.ts +0 -0
- package/dist/core/loop/mission-loop-handler.d.ts +0 -0
- package/dist/core/loop/mission-loop.d.ts +1 -1
- package/dist/core/loop/mission-runtime-options.d.ts +0 -0
- package/dist/core/loop/parser.d.ts +0 -0
- package/dist/core/loop/progress-tracker.d.ts +0 -0
- package/dist/core/loop/session-state-store.d.ts +0 -0
- package/dist/core/loop/stats.d.ts +0 -0
- package/dist/core/loop/todo-continuation.d.ts +0 -0
- package/dist/core/loop/todo-enforcer.d.ts +0 -0
- package/dist/core/loop/todo-manager.d.ts +0 -0
- package/dist/core/loop/types/index.d.ts +0 -0
- package/dist/core/loop/types/todo-priority.d.ts +0 -0
- package/dist/core/loop/types/todo-status.d.ts +0 -0
- package/dist/core/loop/verification.d.ts +0 -0
- package/dist/core/memory/interfaces.d.ts +0 -0
- package/dist/core/memory/memory-manager.d.ts +0 -0
- package/dist/core/metrics/collector.d.ts +0 -0
- package/dist/core/notification/os-notify/index.d.ts +0 -0
- package/dist/core/notification/os-notify/notifier.d.ts +0 -0
- package/dist/core/notification/os-notify/platform-resolver.d.ts +0 -0
- package/dist/core/notification/os-notify/platform.d.ts +0 -0
- package/dist/core/notification/os-notify/sound-player.d.ts +0 -0
- package/dist/core/notification/os-notify/todo-checker.d.ts +0 -0
- package/dist/core/notification/task-toast-manager.d.ts +0 -0
- package/dist/core/notification/toast-core.d.ts +0 -0
- package/dist/core/notification/toast-sanitizer.d.ts +0 -0
- package/dist/core/notification/toast.d.ts +0 -0
- package/dist/core/orchestrator/index.d.ts +0 -0
- package/dist/core/orchestrator/interfaces/index.d.ts +0 -0
- package/dist/core/orchestrator/interfaces/session-state.d.ts +0 -0
- package/dist/core/orchestrator/session-manager.d.ts +0 -0
- package/dist/core/orchestrator/state.d.ts +0 -0
- package/dist/core/orchestrator/types/index.d.ts +0 -0
- package/dist/core/orchestrator/types/task-status.d.ts +1 -1
- package/dist/core/plugins/interfaces.d.ts +0 -0
- package/dist/core/plugins/plugin-manager.d.ts +0 -0
- package/dist/core/pool/buffer-pool.d.ts +0 -0
- package/dist/core/pool/object-pool.d.ts +0 -0
- package/dist/core/pool/string-pool.d.ts +0 -0
- package/dist/core/pool/task-pool.d.ts +1 -1
- package/dist/core/progress/calculator.d.ts +0 -0
- package/dist/core/progress/formatters.d.ts +0 -0
- package/dist/core/progress/interfaces/index.d.ts +0 -0
- package/dist/core/progress/interfaces/progress-snapshot.d.ts +0 -0
- package/dist/core/progress/interfaces/snapshot-input.d.ts +0 -0
- package/dist/core/progress/interfaces/step-progress.d.ts +0 -0
- package/dist/core/progress/interfaces/task-progress.d.ts +0 -0
- package/dist/core/progress/interfaces/todo-progress.d.ts +0 -0
- package/dist/core/progress/interfaces.d.ts +0 -0
- package/dist/core/progress/progress-notifier.d.ts +0 -0
- package/dist/core/progress/state-broadcaster.d.ts +0 -0
- package/dist/core/progress/store.d.ts +0 -0
- package/dist/core/progress/tracker.d.ts +0 -0
- package/dist/core/queue/async-queue.d.ts +0 -0
- package/dist/core/queue/async-utils.d.ts +0 -0
- package/dist/core/queue/index.d.ts +0 -0
- package/dist/core/queue/work-pool.d.ts +0 -0
- package/dist/core/queue/work-stealing-deque.d.ts +0 -0
- package/dist/core/queue/worker-pool.d.ts +0 -0
- package/dist/core/recovery/auto-recovery.d.ts +0 -0
- package/dist/core/recovery/constants.d.ts +0 -0
- package/dist/core/recovery/handler.d.ts +0 -0
- package/dist/core/recovery/interfaces/error-context.d.ts +0 -0
- package/dist/core/recovery/interfaces/error-pattern.d.ts +0 -0
- package/dist/core/recovery/interfaces/index.d.ts +0 -0
- package/dist/core/recovery/interfaces/recovery-action.d.ts +0 -0
- package/dist/core/recovery/interfaces/recovery-record.d.ts +0 -0
- package/dist/core/recovery/interfaces/recovery-stats.d.ts +0 -0
- package/dist/core/recovery/interfaces.d.ts +0 -0
- package/dist/core/recovery/patterns.d.ts +0 -0
- package/dist/core/recovery/retry.d.ts +0 -0
- package/dist/core/recovery/session-recovery.d.ts +0 -0
- package/dist/core/session/interfaces/context-stats.d.ts +0 -0
- package/dist/core/session/interfaces/index.d.ts +0 -0
- package/dist/core/session/interfaces/shared-context.d.ts +0 -0
- package/dist/core/session/interfaces/shared-decision.d.ts +0 -0
- package/dist/core/session/interfaces/shared-document.d.ts +0 -0
- package/dist/core/session/interfaces/shared-finding.d.ts +0 -0
- package/dist/core/session/interfaces.d.ts +0 -0
- package/dist/core/session/shared-context.d.ts +0 -0
- package/dist/core/session/store.d.ts +0 -0
- package/dist/core/session/summary.d.ts +0 -0
- package/dist/core/sync/todo-parser.d.ts +0 -0
- package/dist/core/sync/todo-sync-service.d.ts +0 -0
- package/dist/core/task/interfaces/index.d.ts +0 -0
- package/dist/core/task/interfaces/task-hierarchy.d.ts +0 -0
- package/dist/core/task/interfaces/task-input.d.ts +0 -0
- package/dist/core/task/interfaces/task-node.d.ts +1 -1
- package/dist/core/task/interfaces/task-progress.d.ts +0 -0
- package/dist/core/task/interfaces.d.ts +0 -0
- package/dist/core/task/parser.d.ts +0 -0
- package/dist/core/task/scheduler.d.ts +0 -0
- package/dist/core/task/store.d.ts +0 -0
- package/dist/core/task/summary.d.ts +0 -0
- package/dist/core/task/task-decomposer.d.ts +0 -0
- package/dist/core/todo/todo-manager.d.ts +0 -0
- package/dist/hooks/compatibility/external-plugin.d.ts +0 -0
- package/dist/hooks/constants.d.ts +0 -0
- package/dist/hooks/custom/agent-ui.d.ts +0 -0
- package/dist/hooks/custom/memory-gate.d.ts +0 -0
- package/dist/hooks/custom/metrics.d.ts +0 -0
- package/dist/hooks/custom/resource-control.d.ts +0 -0
- package/dist/hooks/custom/secret-scanner.d.ts +0 -0
- package/dist/hooks/custom/strict-role-guard.d.ts +0 -0
- package/dist/hooks/custom/user-activity.d.ts +0 -0
- package/dist/hooks/features/mission-loop.d.ts +0 -0
- package/dist/hooks/features/sanity-check.d.ts +0 -0
- package/dist/hooks/index.d.ts +0 -0
- package/dist/hooks/registry.d.ts +0 -0
- package/dist/hooks/types.d.ts +0 -0
- package/dist/index.d.ts +0 -0
- package/dist/index.js +631 -1461
- package/dist/index.js.map +7 -0
- package/dist/plugin-handlers/assistant-done-handler.d.ts +0 -0
- package/dist/plugin-handlers/chat-message-handler.d.ts +0 -0
- package/dist/plugin-handlers/config-handler.d.ts +0 -0
- package/dist/plugin-handlers/event-handler.d.ts +0 -0
- package/dist/plugin-handlers/index.d.ts +0 -0
- package/dist/plugin-handlers/interfaces/assistant-done-context.d.ts +0 -0
- package/dist/plugin-handlers/interfaces/chat-message-context.d.ts +0 -0
- package/dist/plugin-handlers/interfaces/event-handler-context.d.ts +0 -0
- package/dist/plugin-handlers/interfaces/index.d.ts +0 -0
- package/dist/plugin-handlers/interfaces/orchestrator-state.d.ts +0 -0
- package/dist/plugin-handlers/interfaces/session-compacting.d.ts +0 -0
- package/dist/plugin-handlers/interfaces/session-state.d.ts +0 -0
- package/dist/plugin-handlers/interfaces/system-transform.d.ts +0 -0
- package/dist/plugin-handlers/interfaces/tool-execute-context.d.ts +0 -0
- package/dist/plugin-handlers/interfaces/tool-hook.d.ts +0 -0
- package/dist/plugin-handlers/session-compacting-handler.d.ts +0 -0
- package/dist/plugin-handlers/system-transform-handler.d.ts +0 -0
- package/dist/plugin-handlers/tool-execute-handler.d.ts +0 -0
- package/dist/plugin-handlers/tool-execute-pre-handler.d.ts +0 -0
- package/dist/scripts/postinstall.js +1 -0
- package/dist/scripts/postinstall.js.map +7 -0
- package/dist/scripts/preuninstall.js +1 -0
- package/dist/scripts/preuninstall.js.map +7 -0
- package/dist/shared/agent/{constants/names.d.ts → constants.d.ts} +5 -2
- package/dist/shared/agent/index.d.ts +3 -4
- package/dist/shared/agent/types.d.ts +27 -0
- package/dist/shared/agent/{utils/index.d.ts → utils.d.ts} +1 -1
- package/dist/shared/cache/constants.d.ts +27 -0
- package/dist/shared/cache/index.d.ts +1 -1
- package/dist/shared/command/index.d.ts +1 -2
- package/dist/shared/command/{interfaces/background-task.d.ts → types.d.ts} +14 -2
- package/dist/shared/constants/security-patterns.d.ts +0 -0
- package/dist/shared/constants/system-messages.d.ts +0 -0
- package/dist/shared/core/constants.d.ts +322 -0
- package/dist/shared/core/index.d.ts +1 -1
- package/dist/shared/core/poolable.d.ts +0 -0
- package/dist/shared/errors/constants.d.ts +24 -0
- package/dist/shared/errors/detection.d.ts +1 -1
- package/dist/shared/errors/index.d.ts +1 -2
- package/dist/shared/errors/retry.d.ts +1 -1
- package/dist/shared/index.d.ts +0 -0
- package/dist/shared/lifecycle/index.d.ts +0 -0
- package/dist/shared/lifecycle/registration.d.ts +0 -0
- package/dist/shared/lifecycle/shutdown-manager.d.ts +0 -0
- package/dist/shared/loop/constants.d.ts +88 -0
- package/dist/shared/loop/index.d.ts +2 -3
- package/dist/shared/loop/{interfaces/mission-loop.d.ts → types.d.ts} +34 -0
- package/dist/shared/message/constants.d.ts +75 -0
- package/dist/shared/message/index.d.ts +1 -1
- package/dist/shared/notification/{constants/tui.const.d.ts → constants.d.ts} +28 -0
- package/dist/shared/notification/index.d.ts +3 -4
- package/dist/shared/notification/os-notify/constants.d.ts +30 -0
- package/dist/shared/notification/os-notify/index.d.ts +2 -3
- package/dist/shared/notification/os-notify/types.d.ts +36 -0
- package/dist/shared/notification/presets.d.ts +37 -0
- package/dist/shared/notification/types.d.ts +46 -0
- package/dist/shared/os/{constants/platform.d.ts → constants.d.ts} +1 -1
- package/dist/shared/os/index.d.ts +2 -2
- package/dist/shared/os/types.d.ts +5 -0
- package/dist/shared/prompt/constants.d.ts +449 -0
- package/dist/shared/prompt/index.d.ts +1 -1
- package/dist/shared/recovery/constants.d.ts +39 -0
- package/dist/shared/recovery/index.d.ts +2 -3
- package/dist/shared/recovery/types.d.ts +26 -0
- package/dist/shared/session/constants.d.ts +80 -0
- package/dist/shared/session/index.d.ts +1 -1
- package/dist/shared/task/{constants/parallel-task.d.ts → constants.d.ts} +28 -1
- package/dist/shared/task/index.d.ts +2 -3
- package/dist/shared/task/types.d.ts +69 -0
- package/dist/shared/tool/constants.d.ts +105 -0
- package/dist/shared/tool/index.d.ts +3 -2
- package/dist/shared/tool/{constants/tool-names.d.ts → tool-names.d.ts} +0 -0
- package/dist/shared/tool/types.d.ts +117 -0
- package/dist/shared/verification/{constants/categories.d.ts → constants.d.ts} +45 -0
- package/dist/shared/verification/index.d.ts +2 -5
- package/dist/shared/verification/types.d.ts +112 -0
- package/dist/tools/ast/index.d.ts +0 -0
- package/dist/tools/background-cmd/check.d.ts +0 -0
- package/dist/tools/background-cmd/index.d.ts +0 -0
- package/dist/tools/background-cmd/kill.d.ts +0 -0
- package/dist/tools/background-cmd/list.d.ts +0 -0
- package/dist/tools/background-cmd/run.d.ts +0 -0
- package/dist/tools/callAgent.d.ts +0 -0
- package/dist/tools/lsp/diagnostics-cache.d.ts +0 -0
- package/dist/tools/lsp/index.d.ts +0 -0
- package/dist/tools/parallel/cancel-task.d.ts +0 -0
- package/dist/tools/parallel/delegate-task.d.ts +0 -0
- package/dist/tools/parallel/get-task-result.d.ts +0 -0
- package/dist/tools/parallel/index.d.ts +0 -0
- package/dist/tools/parallel/list-agents.d.ts +0 -0
- package/dist/tools/parallel/list-tasks.d.ts +0 -0
- package/dist/tools/parallel/show-metrics.d.ts +0 -0
- package/dist/tools/parallel/update-todo.d.ts +0 -0
- package/dist/tools/registry.d.ts +0 -0
- package/dist/tools/rust-pool.d.ts +0 -0
- package/dist/tools/rust.d.ts +0 -0
- package/dist/tools/search.d.ts +0 -0
- package/dist/tools/slashCommand.d.ts +0 -0
- package/dist/tools/web/cache-docs.d.ts +0 -0
- package/dist/tools/web/codesearch.d.ts +0 -0
- package/dist/tools/web/index.d.ts +0 -0
- package/dist/tools/web/webfetch.d.ts +0 -0
- package/dist/tools/web/websearch.d.ts +0 -0
- package/dist/utils/binary.d.ts +0 -0
- package/dist/utils/common.d.ts +0 -0
- package/dist/utils/compatibility/claude.d.ts +0 -0
- package/dist/utils/formatting/elapsed-time.d.ts +0 -0
- package/dist/utils/formatting/index.d.ts +0 -0
- package/dist/utils/formatting/timestamp.d.ts +0 -0
- package/dist/utils/parsing/index.d.ts +0 -0
- package/dist/utils/parsing/slash-command.d.ts +0 -0
- package/dist/utils/sanity/checker.d.ts +0 -0
- package/dist/utils/sanity/constants/escalation-prompt.d.ts +0 -0
- package/dist/utils/sanity/constants/index.d.ts +0 -0
- package/dist/utils/sanity/constants/recovery-prompt.d.ts +0 -0
- package/dist/utils/sanity/constants/severity.d.ts +0 -0
- package/dist/utils/sanity/index.d.ts +0 -0
- package/dist/utils/sanity/interfaces/index.d.ts +0 -0
- package/dist/utils/sanity/interfaces/sanity-result.d.ts +0 -0
- package/dist/utils/sanity/types/index.d.ts +0 -0
- package/dist/utils/sanity/types/severity.d.ts +0 -0
- package/package.json +2 -2
- package/scripts/run-install-hook.mjs +66 -66
- package/dist/core/agents/persistence/task-wal.d.ts +0 -24
- package/dist/shared/agent/constants/index.d.ts +0 -4
- package/dist/shared/agent/interfaces/agent-definition.d.ts +0 -10
- package/dist/shared/agent/interfaces/concurrency-config.d.ts +0 -9
- package/dist/shared/agent/interfaces/index.d.ts +0 -5
- package/dist/shared/agent/types/agent-name.d.ts +0 -5
- package/dist/shared/agent/types/index.d.ts +0 -4
- package/dist/shared/cache/constants/cache-actions.d.ts +0 -10
- package/dist/shared/cache/constants/cache.d.ts +0 -11
- package/dist/shared/cache/constants/filter-status.d.ts +0 -12
- package/dist/shared/cache/constants/index.d.ts +0 -8
- package/dist/shared/command/interfaces/index.d.ts +0 -5
- package/dist/shared/command/interfaces/run-background-options.d.ts +0 -9
- package/dist/shared/command/types/background-task-status.d.ts +0 -4
- package/dist/shared/command/types/index.d.ts +0 -4
- package/dist/shared/core/constants/cli.d.ts +0 -26
- package/dist/shared/core/constants/id-prefix.d.ts +0 -14
- package/dist/shared/core/constants/index.d.ts +0 -15
- package/dist/shared/core/constants/lifecycle.d.ts +0 -22
- package/dist/shared/core/constants/limits.d.ts +0 -19
- package/dist/shared/core/constants/logging.d.ts +0 -39
- package/dist/shared/core/constants/memory-hooks.d.ts +0 -70
- package/dist/shared/core/constants/memory-limits.d.ts +0 -12
- package/dist/shared/core/constants/paths.d.ts +0 -21
- package/dist/shared/core/constants/phases.d.ts +0 -47
- package/dist/shared/core/constants/status-labels.d.ts +0 -34
- package/dist/shared/core/constants/time.d.ts +0 -8
- package/dist/shared/core/constants/wal-actions.d.ts +0 -10
- package/dist/shared/errors/constants/error-patterns.d.ts +0 -13
- package/dist/shared/errors/constants/error-type.d.ts +0 -13
- package/dist/shared/errors/constants/index.d.ts +0 -5
- package/dist/shared/errors/types/error-pattern-type.d.ts +0 -5
- package/dist/shared/errors/types/index.d.ts +0 -4
- package/dist/shared/loop/constants/index.d.ts +0 -8
- package/dist/shared/loop/constants/labels.d.ts +0 -33
- package/dist/shared/loop/constants/loop.d.ts +0 -17
- package/dist/shared/loop/constants/mission-control.d.ts +0 -20
- package/dist/shared/loop/constants/task-status.d.ts +0 -9
- package/dist/shared/loop/constants/todo-status.d.ts +0 -9
- package/dist/shared/loop/interfaces/index.d.ts +0 -6
- package/dist/shared/loop/interfaces/todo-stats.d.ts +0 -11
- package/dist/shared/loop/interfaces/todo.d.ts +0 -13
- package/dist/shared/loop/types/index.d.ts +0 -5
- package/dist/shared/loop/types/todo-priority.d.ts +0 -4
- package/dist/shared/loop/types/todo-status.d.ts +0 -4
- package/dist/shared/message/constants/index.d.ts +0 -8
- package/dist/shared/message/constants/message-roles.d.ts +0 -23
- package/dist/shared/message/constants/part-types.d.ts +0 -13
- package/dist/shared/message/constants/plugin-hooks.d.ts +0 -19
- package/dist/shared/message/constants/prompts.d.ts +0 -8
- package/dist/shared/message/constants/slash-commands.d.ts +0 -21
- package/dist/shared/notification/constants/index.d.ts +0 -3
- package/dist/shared/notification/constants/toast-duration.d.ts +0 -19
- package/dist/shared/notification/constants/toast-variants.d.ts +0 -10
- package/dist/shared/notification/interfaces/index.d.ts +0 -6
- package/dist/shared/notification/interfaces/task-toast.interface.d.ts +0 -18
- package/dist/shared/notification/interfaces/toast-message.d.ts +0 -13
- package/dist/shared/notification/interfaces/toast-options.d.ts +0 -10
- package/dist/shared/notification/os-notify/constants/index.d.ts +0 -6
- package/dist/shared/notification/os-notify/constants/notification-command-keys.d.ts +0 -11
- package/dist/shared/notification/os-notify/constants/notification-commands.d.ts +0 -11
- package/dist/shared/notification/os-notify/constants/notification-defaults.d.ts +0 -5
- package/dist/shared/notification/os-notify/interfaces/index.d.ts +0 -5
- package/dist/shared/notification/os-notify/interfaces/notification-config.d.ts +0 -15
- package/dist/shared/notification/os-notify/interfaces/notification-state.d.ts +0 -13
- package/dist/shared/notification/os-notify/types/index.d.ts +0 -4
- package/dist/shared/notification/os-notify/types/notification-commands.d.ts +0 -5
- package/dist/shared/notification/presets/index.d.ts +0 -9
- package/dist/shared/notification/presets/mission.d.ts +0 -5
- package/dist/shared/notification/presets/parallel.d.ts +0 -6
- package/dist/shared/notification/presets/session.d.ts +0 -6
- package/dist/shared/notification/presets/task-lifecycle.d.ts +0 -7
- package/dist/shared/notification/presets/tools.d.ts +0 -6
- package/dist/shared/notification/presets/warnings.d.ts +0 -7
- package/dist/shared/notification/types/index.d.ts +0 -4
- package/dist/shared/notification/types/toast-variant.d.ts +0 -4
- package/dist/shared/os/constants/index.d.ts +0 -4
- package/dist/shared/os/types/index.d.ts +0 -4
- package/dist/shared/os/types/platform.d.ts +0 -5
- package/dist/shared/prompt/constants/architecture.d.ts +0 -64
- package/dist/shared/prompt/constants/index.d.ts +0 -9
- package/dist/shared/prompt/constants/mandates.d.ts +0 -26
- package/dist/shared/prompt/constants/philosophy.d.ts +0 -29
- package/dist/shared/prompt/constants/scouts.d.ts +0 -32
- package/dist/shared/prompt/constants/status.d.ts +0 -83
- package/dist/shared/prompt/constants/tags.d.ts +0 -215
- package/dist/shared/recovery/constants/history.d.ts +0 -11
- package/dist/shared/recovery/constants/index.d.ts +0 -6
- package/dist/shared/recovery/constants/recovery-level.d.ts +0 -15
- package/dist/shared/recovery/constants/recovery.d.ts +0 -13
- package/dist/shared/recovery/interfaces/error-context.d.ts +0 -11
- package/dist/shared/recovery/interfaces/index.d.ts +0 -5
- package/dist/shared/recovery/interfaces/recovery-record.d.ts +0 -10
- package/dist/shared/recovery/types/index.d.ts +0 -4
- package/dist/shared/recovery/types/recovery-action.d.ts +0 -4
- package/dist/shared/session/constants/events/document-events.d.ts +0 -7
- package/dist/shared/session/constants/events/index.d.ts +0 -30
- package/dist/shared/session/constants/events/message-events.d.ts +0 -6
- package/dist/shared/session/constants/events/mission-events.d.ts +0 -8
- package/dist/shared/session/constants/events/session-events.d.ts +0 -13
- package/dist/shared/session/constants/events/special-events.d.ts +0 -6
- package/dist/shared/session/constants/events/task-events.d.ts +0 -9
- package/dist/shared/session/constants/events/todo-events.d.ts +0 -8
- package/dist/shared/session/constants/index.d.ts +0 -4
- package/dist/shared/task/base-task.d.ts +0 -31
- package/dist/shared/task/constants/background-status.d.ts +0 -10
- package/dist/shared/task/constants/background-task.d.ts +0 -10
- package/dist/shared/task/constants/index.d.ts +0 -8
- package/dist/shared/task/constants/metadata-keys.d.ts +0 -10
- package/dist/shared/task/interfaces/index.d.ts +0 -7
- package/dist/shared/task/interfaces/launch-input.d.ts +0 -11
- package/dist/shared/task/interfaces/parallel-task.d.ts +0 -28
- package/dist/shared/task/interfaces/resume-input.d.ts +0 -16
- package/dist/shared/task/interfaces/task-progress.d.ts +0 -9
- package/dist/shared/task/types/index.d.ts +0 -4
- package/dist/shared/task/types/parallel-task-status.d.ts +0 -4
- package/dist/shared/tool/constants/common/index.d.ts +0 -7
- package/dist/shared/tool/constants/common/labels.d.ts +0 -16
- package/dist/shared/tool/constants/common/languages.d.ts +0 -9
- package/dist/shared/tool/constants/common/output-labels.d.ts +0 -20
- package/dist/shared/tool/constants/common/sources.d.ts +0 -8
- package/dist/shared/tool/constants/index.d.ts +0 -8
- package/dist/shared/tool/constants/lsp/index.d.ts +0 -5
- package/dist/shared/tool/constants/lsp/lsp-severity-labels.d.ts +0 -9
- package/dist/shared/tool/constants/lsp/lsp-severity.d.ts +0 -9
- package/dist/shared/tool/constants/parallel/index.d.ts +0 -5
- package/dist/shared/tool/constants/parallel/logging.d.ts +0 -6
- package/dist/shared/tool/constants/parallel/parameters.d.ts +0 -19
- package/dist/shared/tool/constants/tool-output.d.ts +0 -9
- package/dist/shared/tool/interfaces/ast/ast-replace-result.d.ts +0 -8
- package/dist/shared/tool/interfaces/ast/ast-search-result.d.ts +0 -13
- package/dist/shared/tool/interfaces/ast/index.d.ts +0 -5
- package/dist/shared/tool/interfaces/index.d.ts +0 -6
- package/dist/shared/tool/interfaces/lsp/index.d.ts +0 -7
- package/dist/shared/tool/interfaces/lsp/lsp-command-result.d.ts +0 -8
- package/dist/shared/tool/interfaces/lsp/lsp-diagnostic.d.ts +0 -11
- package/dist/shared/tool/interfaces/lsp/lsp-rename-location.d.ts +0 -9
- package/dist/shared/tool/interfaces/lsp/lsp-rename-result.d.ts +0 -9
- package/dist/shared/tool/interfaces/parallel/index.d.ts +0 -5
- package/dist/shared/tool/interfaces/parallel/poll-result.d.ts +0 -10
- package/dist/shared/tool/interfaces/parallel/session-client.d.ts +0 -47
- package/dist/shared/verification/constants/checklist.d.ts +0 -16
- package/dist/shared/verification/constants/index.d.ts +0 -7
- package/dist/shared/verification/constants/patterns.d.ts +0 -19
- package/dist/shared/verification/constants/signals.d.ts +0 -10
- package/dist/shared/verification/interfaces/checklist-item.d.ts +0 -21
- package/dist/shared/verification/interfaces/checklist-verification-result.d.ts +0 -24
- package/dist/shared/verification/interfaces/index.d.ts +0 -7
- package/dist/shared/verification/interfaces/verification-checklist.d.ts +0 -19
- package/dist/shared/verification/interfaces/verification-result.d.ts +0 -29
- package/dist/shared/verification/types/checklist-category.d.ts +0 -18
- package/dist/shared/verification/types/index.d.ts +0 -4
package/dist/index.js
CHANGED
|
@@ -1,31 +1,29 @@
|
|
|
1
1
|
var __defProp = Object.defineProperty;
|
|
2
2
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
3
|
-
var __esm = (fn, res) => function __init() {
|
|
4
|
-
|
|
3
|
+
var __esm = (fn, res, err) => function __init() {
|
|
4
|
+
if (err) throw err[0];
|
|
5
|
+
try {
|
|
6
|
+
return fn && (res = (0, fn[__getOwnPropNames(fn)[0]])(fn = 0)), res;
|
|
7
|
+
} catch (e) {
|
|
8
|
+
throw err = [e], e;
|
|
9
|
+
}
|
|
5
10
|
};
|
|
6
11
|
var __export = (target, all) => {
|
|
7
12
|
for (var name in all)
|
|
8
13
|
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
14
|
};
|
|
10
15
|
|
|
11
|
-
// src/shared/agent/
|
|
12
|
-
var init_interfaces = __esm({
|
|
13
|
-
"src/shared/agent/interfaces/index.ts"() {
|
|
14
|
-
"use strict";
|
|
15
|
-
}
|
|
16
|
-
});
|
|
17
|
-
|
|
18
|
-
// src/shared/agent/types/index.ts
|
|
16
|
+
// src/shared/agent/types.ts
|
|
19
17
|
var init_types = __esm({
|
|
20
|
-
"src/shared/agent/types
|
|
18
|
+
"src/shared/agent/types.ts"() {
|
|
21
19
|
"use strict";
|
|
22
20
|
}
|
|
23
21
|
});
|
|
24
22
|
|
|
25
|
-
// src/shared/agent/constants
|
|
23
|
+
// src/shared/agent/constants.ts
|
|
26
24
|
var AGENT_NAMES;
|
|
27
|
-
var
|
|
28
|
-
"src/shared/agent/constants
|
|
25
|
+
var init_constants = __esm({
|
|
26
|
+
"src/shared/agent/constants.ts"() {
|
|
29
27
|
"use strict";
|
|
30
28
|
AGENT_NAMES = {
|
|
31
29
|
COMMANDER: "Commander",
|
|
@@ -37,15 +35,7 @@ var init_names = __esm({
|
|
|
37
35
|
}
|
|
38
36
|
});
|
|
39
37
|
|
|
40
|
-
// src/shared/agent/
|
|
41
|
-
var init_constants = __esm({
|
|
42
|
-
"src/shared/agent/constants/index.ts"() {
|
|
43
|
-
"use strict";
|
|
44
|
-
init_names();
|
|
45
|
-
}
|
|
46
|
-
});
|
|
47
|
-
|
|
48
|
-
// src/shared/agent/utils/index.ts
|
|
38
|
+
// src/shared/agent/utils.ts
|
|
49
39
|
function getStatusIndicator(status) {
|
|
50
40
|
const statusMap = {
|
|
51
41
|
pending: "[P]",
|
|
@@ -60,7 +50,7 @@ function getStatusIndicator(status) {
|
|
|
60
50
|
return statusMap[status.toLowerCase()] ?? "[?]";
|
|
61
51
|
}
|
|
62
52
|
var init_utils = __esm({
|
|
63
|
-
"src/shared/agent/utils
|
|
53
|
+
"src/shared/agent/utils.ts"() {
|
|
64
54
|
"use strict";
|
|
65
55
|
}
|
|
66
56
|
});
|
|
@@ -69,31 +59,99 @@ var init_utils = __esm({
|
|
|
69
59
|
var init_agent = __esm({
|
|
70
60
|
"src/shared/agent/index.ts"() {
|
|
71
61
|
"use strict";
|
|
72
|
-
init_interfaces();
|
|
73
62
|
init_types();
|
|
74
63
|
init_constants();
|
|
75
64
|
init_utils();
|
|
76
65
|
}
|
|
77
66
|
});
|
|
78
67
|
|
|
79
|
-
// src/shared/
|
|
80
|
-
var
|
|
81
|
-
var
|
|
82
|
-
"src/shared/
|
|
68
|
+
// src/shared/tool/tool-names.ts
|
|
69
|
+
var TOOL_NAMES;
|
|
70
|
+
var init_tool_names = __esm({
|
|
71
|
+
"src/shared/tool/tool-names.ts"() {
|
|
83
72
|
"use strict";
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
73
|
+
TOOL_NAMES = {
|
|
74
|
+
// Parallel task tools
|
|
75
|
+
DELEGATE_TASK: "delegate_task",
|
|
76
|
+
GET_TASK_RESULT: "get_task_result",
|
|
77
|
+
LIST_TASKS: "list_tasks",
|
|
78
|
+
CANCEL_TASK: "cancel_task",
|
|
79
|
+
LIST_AGENTS: "list_agents",
|
|
80
|
+
SHOW_METRICS: "show_metrics",
|
|
81
|
+
UPDATE_TODO: "update_todo",
|
|
82
|
+
// Background command tools
|
|
83
|
+
RUN_BACKGROUND: "run_background",
|
|
84
|
+
CHECK_BACKGROUND: "check_background",
|
|
85
|
+
LIST_BACKGROUND: "list_background",
|
|
86
|
+
KILL_BACKGROUND: "kill_background",
|
|
87
|
+
// Command tools
|
|
88
|
+
RUN_COMMAND: "run_command",
|
|
89
|
+
// Search tools
|
|
90
|
+
GREP_SEARCH: "grep_search",
|
|
91
|
+
GLOB_SEARCH: "glob_search",
|
|
92
|
+
MGREP: "mgrep",
|
|
93
|
+
SED_REPLACE: "sed_replace",
|
|
94
|
+
// Diff & Compare tools
|
|
95
|
+
DIFF: "diff",
|
|
96
|
+
// JSON tools
|
|
97
|
+
JQ: "jq",
|
|
98
|
+
// HTTP tools
|
|
99
|
+
HTTP: "http",
|
|
100
|
+
// File tools
|
|
101
|
+
FILE_STATS: "file_stats",
|
|
102
|
+
// Git tools
|
|
103
|
+
GIT_DIFF: "git_diff",
|
|
104
|
+
GIT_STATUS: "git_status",
|
|
105
|
+
// Web tools
|
|
106
|
+
WEBFETCH: "webfetch",
|
|
107
|
+
WEBSEARCH: "websearch",
|
|
108
|
+
CODESEARCH: "codesearch",
|
|
109
|
+
CACHE_DOCS: "cache_docs",
|
|
110
|
+
// LSP tools
|
|
111
|
+
LSP_DIAGNOSTICS: "lsp_diagnostics",
|
|
112
|
+
// AST tools
|
|
113
|
+
AST_SEARCH: "ast_search",
|
|
114
|
+
AST_REPLACE: "ast_replace",
|
|
115
|
+
// Other tools
|
|
116
|
+
CALL_AGENT: "call_agent",
|
|
117
|
+
SLASHCOMMAND: "slashcommand",
|
|
118
|
+
SKILL: "skill"
|
|
88
119
|
};
|
|
89
120
|
}
|
|
90
121
|
});
|
|
91
122
|
|
|
92
|
-
// src/shared/core/constants
|
|
93
|
-
var ID_PREFIX;
|
|
94
|
-
var
|
|
95
|
-
"src/shared/core/constants
|
|
123
|
+
// src/shared/core/constants.ts
|
|
124
|
+
var TIME, MEMORY_LIMITS, CLI_NAME, ID_PREFIX, PATHS, PHASES, LIMITS, STATUS_LABEL, LOG_PREFIX, SHUTDOWN_HANDLERS, MEMORY_CONSTANTS, HOOK_NAMES, TODO_CONSTANTS;
|
|
125
|
+
var init_constants2 = __esm({
|
|
126
|
+
"src/shared/core/constants.ts"() {
|
|
96
127
|
"use strict";
|
|
128
|
+
init_tool_names();
|
|
129
|
+
TIME = {
|
|
130
|
+
SECOND: 1e3,
|
|
131
|
+
MINUTE: 60 * 1e3,
|
|
132
|
+
HOUR: 60 * 60 * 1e3
|
|
133
|
+
};
|
|
134
|
+
MEMORY_LIMITS = {
|
|
135
|
+
MAX_TASKS_IN_MEMORY: 1e3,
|
|
136
|
+
MAX_NOTIFICATIONS_PER_PARENT: 100,
|
|
137
|
+
MAX_EVENT_HISTORY: 100,
|
|
138
|
+
MAX_TOAST_HISTORY: 50,
|
|
139
|
+
MAX_PROGRESS_HISTORY_PER_SESSION: 100,
|
|
140
|
+
ARCHIVE_AGE_MS: 30 * TIME.MINUTE,
|
|
141
|
+
ERROR_CLEANUP_AGE_MS: 10 * TIME.MINUTE
|
|
142
|
+
};
|
|
143
|
+
CLI_NAME = {
|
|
144
|
+
NPX: "npx",
|
|
145
|
+
TSC: "tsc",
|
|
146
|
+
ESLINT: "eslint",
|
|
147
|
+
RG: "rg",
|
|
148
|
+
SED: "sed",
|
|
149
|
+
AST_GREP: "ast-grep",
|
|
150
|
+
GIT: "git",
|
|
151
|
+
JQ: "jq",
|
|
152
|
+
NODE: "node",
|
|
153
|
+
SH: "sh"
|
|
154
|
+
};
|
|
97
155
|
ID_PREFIX = {
|
|
98
156
|
TASK: "task_",
|
|
99
157
|
JOB: "job_",
|
|
@@ -102,14 +160,6 @@ var init_id_prefix = __esm({
|
|
|
102
160
|
UNIT_TEST: "UT-",
|
|
103
161
|
WORKER: "wrk_"
|
|
104
162
|
};
|
|
105
|
-
}
|
|
106
|
-
});
|
|
107
|
-
|
|
108
|
-
// src/shared/core/constants/paths.ts
|
|
109
|
-
var PATHS;
|
|
110
|
-
var init_paths = __esm({
|
|
111
|
-
"src/shared/core/constants/paths.ts"() {
|
|
112
|
-
"use strict";
|
|
113
163
|
PATHS = {
|
|
114
164
|
OPENCODE: ".opencode",
|
|
115
165
|
DOCS: ".opencode/docs",
|
|
@@ -131,103 +181,6 @@ var init_paths = __esm({
|
|
|
131
181
|
AGENTS_CONFIG: ".opencode/agents.json",
|
|
132
182
|
PLUGINS: ".opencode/plugins"
|
|
133
183
|
};
|
|
134
|
-
}
|
|
135
|
-
});
|
|
136
|
-
|
|
137
|
-
// src/shared/core/constants/memory-limits.ts
|
|
138
|
-
var MEMORY_LIMITS;
|
|
139
|
-
var init_memory_limits = __esm({
|
|
140
|
-
"src/shared/core/constants/memory-limits.ts"() {
|
|
141
|
-
"use strict";
|
|
142
|
-
init_time();
|
|
143
|
-
MEMORY_LIMITS = {
|
|
144
|
-
MAX_TASKS_IN_MEMORY: 1e3,
|
|
145
|
-
MAX_NOTIFICATIONS_PER_PARENT: 100,
|
|
146
|
-
MAX_EVENT_HISTORY: 100,
|
|
147
|
-
MAX_TOAST_HISTORY: 50,
|
|
148
|
-
MAX_PROGRESS_HISTORY_PER_SESSION: 100,
|
|
149
|
-
ARCHIVE_AGE_MS: 30 * TIME.MINUTE,
|
|
150
|
-
ERROR_CLEANUP_AGE_MS: 10 * TIME.MINUTE
|
|
151
|
-
};
|
|
152
|
-
}
|
|
153
|
-
});
|
|
154
|
-
|
|
155
|
-
// src/shared/core/constants/status-labels.ts
|
|
156
|
-
var STATUS_LABEL;
|
|
157
|
-
var init_status_labels = __esm({
|
|
158
|
-
"src/shared/core/constants/status-labels.ts"() {
|
|
159
|
-
"use strict";
|
|
160
|
-
STATUS_LABEL = {
|
|
161
|
-
// Basic States
|
|
162
|
-
PENDING: "pending",
|
|
163
|
-
QUEUED: "queued",
|
|
164
|
-
RUNNING: "running",
|
|
165
|
-
IN_PROGRESS: "in_progress",
|
|
166
|
-
COMPLETED: "completed",
|
|
167
|
-
DONE: "done",
|
|
168
|
-
SUCCESS: "success",
|
|
169
|
-
// Failure States
|
|
170
|
-
FAILED: "failed",
|
|
171
|
-
ERROR: "error",
|
|
172
|
-
TIMEOUT: "timeout",
|
|
173
|
-
CANCELLED: "cancelled",
|
|
174
|
-
BLOCKED: "blocked",
|
|
175
|
-
// Test/Audit Results
|
|
176
|
-
PASS: "pass",
|
|
177
|
-
FAIL: "fail",
|
|
178
|
-
SKIP: "skip",
|
|
179
|
-
// Quality/Cleanliness
|
|
180
|
-
CLEAN: "clean",
|
|
181
|
-
OK: "ok",
|
|
182
|
-
VERIFIED: "verified",
|
|
183
|
-
// Analysis/Diagnostic
|
|
184
|
-
WARNING: "warning",
|
|
185
|
-
INFO: "info",
|
|
186
|
-
HINT: "hint",
|
|
187
|
-
ALL: "all",
|
|
188
|
-
HIGH: "high",
|
|
189
|
-
MEDIUM: "medium",
|
|
190
|
-
LOW: "low"
|
|
191
|
-
};
|
|
192
|
-
}
|
|
193
|
-
});
|
|
194
|
-
|
|
195
|
-
// src/shared/core/constants/limits.ts
|
|
196
|
-
var LIMITS;
|
|
197
|
-
var init_limits = __esm({
|
|
198
|
-
"src/shared/core/constants/limits.ts"() {
|
|
199
|
-
"use strict";
|
|
200
|
-
LIMITS = {
|
|
201
|
-
/** Maximum mission loop iterations */
|
|
202
|
-
MAX_ITERATIONS: 1e9,
|
|
203
|
-
/** Default scan limit for file listing */
|
|
204
|
-
DEFAULT_SCAN_LIMIT: 20,
|
|
205
|
-
/** Max message history to check for conclusion */
|
|
206
|
-
CONCLUDE_CHECK_HISTORY: 3,
|
|
207
|
-
/** Max concurrent tasks per agent */
|
|
208
|
-
MAX_TASKS_PER_AGENT: 10,
|
|
209
|
-
/** Default history/list limit for UI */
|
|
210
|
-
DEFAULT_LIST_LIMIT: 20,
|
|
211
|
-
/** Default progress bar width */
|
|
212
|
-
DEFAULT_PROGRESS_WIDTH: 20,
|
|
213
|
-
/** Maximum time for atomic task (minutes) */
|
|
214
|
-
TASK_TIME_LIMIT_MIN: 10
|
|
215
|
-
};
|
|
216
|
-
}
|
|
217
|
-
});
|
|
218
|
-
|
|
219
|
-
// src/shared/core/constants/wal-actions.ts
|
|
220
|
-
var init_wal_actions = __esm({
|
|
221
|
-
"src/shared/core/constants/wal-actions.ts"() {
|
|
222
|
-
"use strict";
|
|
223
|
-
}
|
|
224
|
-
});
|
|
225
|
-
|
|
226
|
-
// src/shared/core/constants/phases.ts
|
|
227
|
-
var PHASES;
|
|
228
|
-
var init_phases = __esm({
|
|
229
|
-
"src/shared/core/constants/phases.ts"() {
|
|
230
|
-
"use strict";
|
|
231
184
|
PHASES = {
|
|
232
185
|
PHASE_0: {
|
|
233
186
|
ID: "PHASE_0",
|
|
@@ -272,70 +225,99 @@ var init_phases = __esm({
|
|
|
272
225
|
MANDATORY: true
|
|
273
226
|
}
|
|
274
227
|
};
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
//
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
//
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
//
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
228
|
+
LIMITS = {
|
|
229
|
+
/** Maximum mission loop iterations */
|
|
230
|
+
MAX_ITERATIONS: 1e9,
|
|
231
|
+
/** Default scan limit for file listing */
|
|
232
|
+
DEFAULT_SCAN_LIMIT: 20,
|
|
233
|
+
/** Max message history to check for conclusion */
|
|
234
|
+
CONCLUDE_CHECK_HISTORY: 3,
|
|
235
|
+
/** Max concurrent tasks per agent */
|
|
236
|
+
MAX_TASKS_PER_AGENT: 10,
|
|
237
|
+
/** Default history/list limit for UI */
|
|
238
|
+
DEFAULT_LIST_LIMIT: 20,
|
|
239
|
+
/** Default progress bar width */
|
|
240
|
+
DEFAULT_PROGRESS_WIDTH: 20,
|
|
241
|
+
/** Maximum time for atomic task (minutes) */
|
|
242
|
+
TASK_TIME_LIMIT_MIN: 10
|
|
243
|
+
};
|
|
244
|
+
STATUS_LABEL = {
|
|
245
|
+
// Basic States
|
|
246
|
+
PENDING: "pending",
|
|
247
|
+
QUEUED: "queued",
|
|
248
|
+
RUNNING: "running",
|
|
249
|
+
IN_PROGRESS: "in_progress",
|
|
250
|
+
COMPLETED: "completed",
|
|
251
|
+
DONE: "done",
|
|
252
|
+
SUCCESS: "success",
|
|
253
|
+
// Failure States
|
|
254
|
+
FAILED: "failed",
|
|
255
|
+
ERROR: "error",
|
|
256
|
+
TIMEOUT: "timeout",
|
|
257
|
+
CANCELLED: "cancelled",
|
|
258
|
+
BLOCKED: "blocked",
|
|
259
|
+
// Test/Audit Results
|
|
260
|
+
PASS: "pass",
|
|
261
|
+
FAIL: "fail",
|
|
262
|
+
SKIP: "skip",
|
|
263
|
+
// Quality/Cleanliness
|
|
264
|
+
CLEAN: "clean",
|
|
265
|
+
OK: "ok",
|
|
266
|
+
VERIFIED: "verified",
|
|
267
|
+
// Analysis/Diagnostic
|
|
268
|
+
WARNING: "warning",
|
|
269
|
+
INFO: "info",
|
|
270
|
+
HINT: "hint",
|
|
271
|
+
ALL: "all",
|
|
272
|
+
HIGH: "high",
|
|
273
|
+
MEDIUM: "medium",
|
|
274
|
+
LOW: "low"
|
|
275
|
+
};
|
|
276
|
+
LOG_PREFIX = {
|
|
277
|
+
/** Rust Tool pool operations */
|
|
278
|
+
RUST_TOOL: "RustTool",
|
|
279
|
+
RUST_POOL: "RustPool",
|
|
280
|
+
/** LSP diagnostics caching */
|
|
281
|
+
DIAGNOSTICS_CACHE: "DiagnosticsCache",
|
|
282
|
+
/** Context window monitoring */
|
|
283
|
+
CONTEXT_WINDOW_MONITOR: "context-window-monitor",
|
|
284
|
+
/** Memory management */
|
|
285
|
+
MEMORY_MANAGER: "MemoryManager",
|
|
286
|
+
/** Plugin system */
|
|
287
|
+
PLUGIN_MANAGER: "PluginManager",
|
|
288
|
+
/** OS notifications */
|
|
289
|
+
SESSION_NOTIFY: "session-notify",
|
|
290
|
+
/** Session recovery */
|
|
291
|
+
SESSION_RECOVERY: "session-recovery",
|
|
292
|
+
/** Lifecycle management */
|
|
293
|
+
SHUTDOWN_MANAGER: "ShutdownManager",
|
|
294
|
+
/** Agent registry */
|
|
295
|
+
AGENT_REGISTRY: "AgentRegistry",
|
|
296
|
+
/** Task synchronization */
|
|
297
|
+
TODO_SYNC: "TodoSync",
|
|
298
|
+
/** Cleanup scheduler */
|
|
299
|
+
CLEANUP_SCHEDULER: "CleanupScheduler",
|
|
300
|
+
/** Background task management */
|
|
301
|
+
BACKGROUND_TASK_MANAGER: "BackgroundTaskManager",
|
|
302
|
+
/** Parallel agent management */
|
|
303
|
+
PARALLEL_AGENT_MANAGER: "ParallelAgentManager",
|
|
304
|
+
/** File watching */
|
|
305
|
+
FILE_WATCHER: "FileWatcher"
|
|
306
|
+
};
|
|
307
|
+
SHUTDOWN_HANDLERS = {
|
|
308
|
+
/** TodoSyncService - Syncs TODO state via file watching */
|
|
309
|
+
TODO_SYNC_SERVICE: "TodoSyncService",
|
|
310
|
+
/** CleanupScheduler - Manages periodic cleanup tasks */
|
|
311
|
+
CLEANUP_SCHEDULER: "CleanupScheduler",
|
|
312
|
+
/** RustToolPool - Manages Rust tool instances */
|
|
313
|
+
RUST_TOOL_POOL: "RustToolPool",
|
|
314
|
+
/** BackgroundTaskManager - Manages background command execution */
|
|
315
|
+
BACKGROUND_TASK_MANAGER: "BackgroundTaskManager",
|
|
316
|
+
/** ParallelAgentManager - Manages parallel agent task execution */
|
|
317
|
+
PARALLEL_AGENT_MANAGER: "ParallelAgentManager",
|
|
318
|
+
/** PluginManager - Manages dynamic plugin lifecycle */
|
|
319
|
+
PLUGIN_MANAGER: "PluginManager"
|
|
329
320
|
};
|
|
330
|
-
}
|
|
331
|
-
});
|
|
332
|
-
|
|
333
|
-
// src/shared/core/constants/memory-hooks.ts
|
|
334
|
-
var MEMORY_CONSTANTS, HOOK_NAMES, TODO_CONSTANTS;
|
|
335
|
-
var init_memory_hooks = __esm({
|
|
336
|
-
"src/shared/core/constants/memory-hooks.ts"() {
|
|
337
|
-
"use strict";
|
|
338
|
-
init_tool_names();
|
|
339
321
|
MEMORY_CONSTANTS = {
|
|
340
322
|
ID_PREFIX: "mem_",
|
|
341
323
|
LEVELS: {
|
|
@@ -402,106 +384,6 @@ var init_memory_hooks = __esm({
|
|
|
402
384
|
}
|
|
403
385
|
});
|
|
404
386
|
|
|
405
|
-
// src/shared/core/constants/lifecycle.ts
|
|
406
|
-
var SHUTDOWN_HANDLERS;
|
|
407
|
-
var init_lifecycle = __esm({
|
|
408
|
-
"src/shared/core/constants/lifecycle.ts"() {
|
|
409
|
-
"use strict";
|
|
410
|
-
SHUTDOWN_HANDLERS = {
|
|
411
|
-
/** TodoSyncService - Syncs TODO state via file watching */
|
|
412
|
-
TODO_SYNC_SERVICE: "TodoSyncService",
|
|
413
|
-
/** CleanupScheduler - Manages periodic cleanup tasks */
|
|
414
|
-
CLEANUP_SCHEDULER: "CleanupScheduler",
|
|
415
|
-
/** RustToolPool - Manages Rust tool instances */
|
|
416
|
-
RUST_TOOL_POOL: "RustToolPool",
|
|
417
|
-
/** BackgroundTaskManager - Manages background command execution */
|
|
418
|
-
BACKGROUND_TASK_MANAGER: "BackgroundTaskManager",
|
|
419
|
-
/** ParallelAgentManager - Manages parallel agent task execution */
|
|
420
|
-
PARALLEL_AGENT_MANAGER: "ParallelAgentManager",
|
|
421
|
-
/** PluginManager - Manages dynamic plugin lifecycle */
|
|
422
|
-
PLUGIN_MANAGER: "PluginManager"
|
|
423
|
-
};
|
|
424
|
-
}
|
|
425
|
-
});
|
|
426
|
-
|
|
427
|
-
// src/shared/core/constants/logging.ts
|
|
428
|
-
var LOG_PREFIX;
|
|
429
|
-
var init_logging = __esm({
|
|
430
|
-
"src/shared/core/constants/logging.ts"() {
|
|
431
|
-
"use strict";
|
|
432
|
-
LOG_PREFIX = {
|
|
433
|
-
/** Rust Tool pool operations */
|
|
434
|
-
RUST_TOOL: "RustTool",
|
|
435
|
-
RUST_POOL: "RustPool",
|
|
436
|
-
/** LSP diagnostics caching */
|
|
437
|
-
DIAGNOSTICS_CACHE: "DiagnosticsCache",
|
|
438
|
-
/** Context window monitoring */
|
|
439
|
-
CONTEXT_WINDOW_MONITOR: "context-window-monitor",
|
|
440
|
-
/** Memory management */
|
|
441
|
-
MEMORY_MANAGER: "MemoryManager",
|
|
442
|
-
/** Plugin system */
|
|
443
|
-
PLUGIN_MANAGER: "PluginManager",
|
|
444
|
-
/** OS notifications */
|
|
445
|
-
SESSION_NOTIFY: "session-notify",
|
|
446
|
-
/** Session recovery */
|
|
447
|
-
SESSION_RECOVERY: "session-recovery",
|
|
448
|
-
/** Lifecycle management */
|
|
449
|
-
SHUTDOWN_MANAGER: "ShutdownManager",
|
|
450
|
-
/** Agent registry */
|
|
451
|
-
AGENT_REGISTRY: "AgentRegistry",
|
|
452
|
-
/** Task synchronization */
|
|
453
|
-
TODO_SYNC: "TodoSync",
|
|
454
|
-
/** Cleanup scheduler */
|
|
455
|
-
CLEANUP_SCHEDULER: "CleanupScheduler",
|
|
456
|
-
/** Background task management */
|
|
457
|
-
BACKGROUND_TASK_MANAGER: "BackgroundTaskManager",
|
|
458
|
-
/** Parallel agent management */
|
|
459
|
-
PARALLEL_AGENT_MANAGER: "ParallelAgentManager",
|
|
460
|
-
/** File watching */
|
|
461
|
-
FILE_WATCHER: "FileWatcher"
|
|
462
|
-
};
|
|
463
|
-
}
|
|
464
|
-
});
|
|
465
|
-
|
|
466
|
-
// src/shared/core/constants/cli.ts
|
|
467
|
-
var CLI_NAME;
|
|
468
|
-
var init_cli = __esm({
|
|
469
|
-
"src/shared/core/constants/cli.ts"() {
|
|
470
|
-
"use strict";
|
|
471
|
-
CLI_NAME = {
|
|
472
|
-
NPX: "npx",
|
|
473
|
-
TSC: "tsc",
|
|
474
|
-
ESLINT: "eslint",
|
|
475
|
-
RG: "rg",
|
|
476
|
-
SED: "sed",
|
|
477
|
-
AST_GREP: "ast-grep",
|
|
478
|
-
GIT: "git",
|
|
479
|
-
JQ: "jq",
|
|
480
|
-
NODE: "node",
|
|
481
|
-
SH: "sh"
|
|
482
|
-
};
|
|
483
|
-
}
|
|
484
|
-
});
|
|
485
|
-
|
|
486
|
-
// src/shared/core/constants/index.ts
|
|
487
|
-
var init_constants2 = __esm({
|
|
488
|
-
"src/shared/core/constants/index.ts"() {
|
|
489
|
-
"use strict";
|
|
490
|
-
init_time();
|
|
491
|
-
init_id_prefix();
|
|
492
|
-
init_paths();
|
|
493
|
-
init_memory_limits();
|
|
494
|
-
init_status_labels();
|
|
495
|
-
init_limits();
|
|
496
|
-
init_wal_actions();
|
|
497
|
-
init_phases();
|
|
498
|
-
init_memory_hooks();
|
|
499
|
-
init_lifecycle();
|
|
500
|
-
init_logging();
|
|
501
|
-
init_cli();
|
|
502
|
-
}
|
|
503
|
-
});
|
|
504
|
-
|
|
505
387
|
// src/shared/core/index.ts
|
|
506
388
|
var init_core = __esm({
|
|
507
389
|
"src/shared/core/index.ts"() {
|
|
@@ -510,12 +392,32 @@ var init_core = __esm({
|
|
|
510
392
|
}
|
|
511
393
|
});
|
|
512
394
|
|
|
513
|
-
// src/shared/task/constants
|
|
514
|
-
var PARALLEL_LABEL, PARALLEL_TASK;
|
|
515
|
-
var
|
|
516
|
-
"src/shared/task/constants
|
|
395
|
+
// src/shared/task/constants.ts
|
|
396
|
+
var BACKGROUND_STATUS, BACKGROUND_TASK, TASK_METADATA, PARALLEL_LABEL, PARALLEL_TASK;
|
|
397
|
+
var init_constants3 = __esm({
|
|
398
|
+
"src/shared/task/constants.ts"() {
|
|
517
399
|
"use strict";
|
|
518
|
-
|
|
400
|
+
init_constants2();
|
|
401
|
+
BACKGROUND_STATUS = {
|
|
402
|
+
RUNNING: "running",
|
|
403
|
+
DONE: "done",
|
|
404
|
+
ERROR: "error",
|
|
405
|
+
TIMEOUT: "timeout"
|
|
406
|
+
};
|
|
407
|
+
BACKGROUND_TASK = {
|
|
408
|
+
DEFAULT_TIMEOUT_MS: 5 * TIME.MINUTE,
|
|
409
|
+
MAX_OUTPUT_LENGTH: 1e4,
|
|
410
|
+
MAX_CONCURRENT: 5,
|
|
411
|
+
POLL_INTERVAL_MS: 500,
|
|
412
|
+
RETRY_COOLDOWN_MS: 30 * TIME.SECOND
|
|
413
|
+
};
|
|
414
|
+
TASK_METADATA = {
|
|
415
|
+
PARALLEL: "parallel",
|
|
416
|
+
PARALLEL_GROUP: "parallel_group",
|
|
417
|
+
DEPENDS: "depends",
|
|
418
|
+
AGENT: "agent",
|
|
419
|
+
SIZE: "size"
|
|
420
|
+
};
|
|
519
421
|
PARALLEL_LABEL = "parallel";
|
|
520
422
|
PARALLEL_TASK = {
|
|
521
423
|
// Task lifecycle (24 hours for long tasks)
|
|
@@ -564,72 +466,9 @@ var init_parallel_task = __esm({
|
|
|
564
466
|
}
|
|
565
467
|
});
|
|
566
468
|
|
|
567
|
-
// src/shared/task/
|
|
568
|
-
var BACKGROUND_TASK;
|
|
569
|
-
var init_background_task = __esm({
|
|
570
|
-
"src/shared/task/constants/background-task.ts"() {
|
|
571
|
-
"use strict";
|
|
572
|
-
init_time();
|
|
573
|
-
BACKGROUND_TASK = {
|
|
574
|
-
DEFAULT_TIMEOUT_MS: 5 * TIME.MINUTE,
|
|
575
|
-
MAX_OUTPUT_LENGTH: 1e4,
|
|
576
|
-
MAX_CONCURRENT: 5,
|
|
577
|
-
POLL_INTERVAL_MS: 500,
|
|
578
|
-
RETRY_COOLDOWN_MS: 30 * TIME.SECOND
|
|
579
|
-
};
|
|
580
|
-
}
|
|
581
|
-
});
|
|
582
|
-
|
|
583
|
-
// src/shared/task/constants/background-status.ts
|
|
584
|
-
var BACKGROUND_STATUS;
|
|
585
|
-
var init_background_status = __esm({
|
|
586
|
-
"src/shared/task/constants/background-status.ts"() {
|
|
587
|
-
"use strict";
|
|
588
|
-
BACKGROUND_STATUS = {
|
|
589
|
-
RUNNING: "running",
|
|
590
|
-
DONE: "done",
|
|
591
|
-
ERROR: "error",
|
|
592
|
-
TIMEOUT: "timeout"
|
|
593
|
-
};
|
|
594
|
-
}
|
|
595
|
-
});
|
|
596
|
-
|
|
597
|
-
// src/shared/task/constants/metadata-keys.ts
|
|
598
|
-
var TASK_METADATA;
|
|
599
|
-
var init_metadata_keys = __esm({
|
|
600
|
-
"src/shared/task/constants/metadata-keys.ts"() {
|
|
601
|
-
"use strict";
|
|
602
|
-
TASK_METADATA = {
|
|
603
|
-
PARALLEL: "parallel",
|
|
604
|
-
PARALLEL_GROUP: "parallel_group",
|
|
605
|
-
DEPENDS: "depends",
|
|
606
|
-
AGENT: "agent",
|
|
607
|
-
SIZE: "size"
|
|
608
|
-
};
|
|
609
|
-
}
|
|
610
|
-
});
|
|
611
|
-
|
|
612
|
-
// src/shared/task/constants/index.ts
|
|
613
|
-
var init_constants3 = __esm({
|
|
614
|
-
"src/shared/task/constants/index.ts"() {
|
|
615
|
-
"use strict";
|
|
616
|
-
init_parallel_task();
|
|
617
|
-
init_background_task();
|
|
618
|
-
init_background_status();
|
|
619
|
-
init_metadata_keys();
|
|
620
|
-
}
|
|
621
|
-
});
|
|
622
|
-
|
|
623
|
-
// src/shared/task/interfaces/index.ts
|
|
624
|
-
var init_interfaces2 = __esm({
|
|
625
|
-
"src/shared/task/interfaces/index.ts"() {
|
|
626
|
-
"use strict";
|
|
627
|
-
}
|
|
628
|
-
});
|
|
629
|
-
|
|
630
|
-
// src/shared/task/types/index.ts
|
|
469
|
+
// src/shared/task/types.ts
|
|
631
470
|
var init_types2 = __esm({
|
|
632
|
-
"src/shared/task/types
|
|
471
|
+
"src/shared/task/types.ts"() {
|
|
633
472
|
"use strict";
|
|
634
473
|
}
|
|
635
474
|
});
|
|
@@ -639,18 +478,16 @@ var init_task = __esm({
|
|
|
639
478
|
"src/shared/task/index.ts"() {
|
|
640
479
|
"use strict";
|
|
641
480
|
init_constants3();
|
|
642
|
-
init_interfaces2();
|
|
643
481
|
init_types2();
|
|
644
482
|
}
|
|
645
483
|
});
|
|
646
484
|
|
|
647
|
-
// src/shared/loop/constants
|
|
648
|
-
var LOOP;
|
|
649
|
-
var
|
|
650
|
-
"src/shared/loop/constants
|
|
485
|
+
// src/shared/loop/constants.ts
|
|
486
|
+
var LOOP, MISSION_CONTROL, TASK_STATUS, TODO_STATUS, LOOP_LABELS;
|
|
487
|
+
var init_constants4 = __esm({
|
|
488
|
+
"src/shared/loop/constants.ts"() {
|
|
651
489
|
"use strict";
|
|
652
|
-
|
|
653
|
-
init_limits();
|
|
490
|
+
init_constants2();
|
|
654
491
|
LOOP = {
|
|
655
492
|
/** Countdown seconds before auto-continuation */
|
|
656
493
|
COUNTDOWN_SECONDS: 3,
|
|
@@ -665,15 +502,6 @@ var init_loop = __esm({
|
|
|
665
502
|
/** Rust tool timeout */
|
|
666
503
|
RUST_TOOL_TIMEOUT_MS: 60 * TIME.SECOND
|
|
667
504
|
};
|
|
668
|
-
}
|
|
669
|
-
});
|
|
670
|
-
|
|
671
|
-
// src/shared/loop/constants/mission-control.ts
|
|
672
|
-
var MISSION_CONTROL;
|
|
673
|
-
var init_mission_control = __esm({
|
|
674
|
-
"src/shared/loop/constants/mission-control.ts"() {
|
|
675
|
-
"use strict";
|
|
676
|
-
init_limits();
|
|
677
505
|
MISSION_CONTROL = {
|
|
678
506
|
DEFAULT_MAX_ITERATIONS: LIMITS.MAX_ITERATIONS,
|
|
679
507
|
DEFAULT_COUNTDOWN_SECONDS: 3,
|
|
@@ -682,15 +510,6 @@ var init_mission_control = __esm({
|
|
|
682
510
|
CANCEL_COMMAND: "/cancel",
|
|
683
511
|
LOG_SOURCE: "mission-loop"
|
|
684
512
|
};
|
|
685
|
-
}
|
|
686
|
-
});
|
|
687
|
-
|
|
688
|
-
// src/shared/loop/constants/task-status.ts
|
|
689
|
-
var TASK_STATUS;
|
|
690
|
-
var init_task_status = __esm({
|
|
691
|
-
"src/shared/loop/constants/task-status.ts"() {
|
|
692
|
-
"use strict";
|
|
693
|
-
init_status_labels();
|
|
694
513
|
TASK_STATUS = {
|
|
695
514
|
PENDING: STATUS_LABEL.PENDING,
|
|
696
515
|
RUNNING: STATUS_LABEL.RUNNING,
|
|
@@ -700,29 +519,12 @@ var init_task_status = __esm({
|
|
|
700
519
|
TIMEOUT: STATUS_LABEL.TIMEOUT,
|
|
701
520
|
CANCELLED: STATUS_LABEL.CANCELLED
|
|
702
521
|
};
|
|
703
|
-
}
|
|
704
|
-
});
|
|
705
|
-
|
|
706
|
-
// src/shared/loop/constants/todo-status.ts
|
|
707
|
-
var TODO_STATUS;
|
|
708
|
-
var init_todo_status = __esm({
|
|
709
|
-
"src/shared/loop/constants/todo-status.ts"() {
|
|
710
|
-
"use strict";
|
|
711
|
-
init_status_labels();
|
|
712
522
|
TODO_STATUS = {
|
|
713
523
|
PENDING: STATUS_LABEL.PENDING,
|
|
714
524
|
IN_PROGRESS: STATUS_LABEL.IN_PROGRESS,
|
|
715
525
|
COMPLETED: STATUS_LABEL.COMPLETED,
|
|
716
526
|
CANCELLED: STATUS_LABEL.CANCELLED
|
|
717
527
|
};
|
|
718
|
-
}
|
|
719
|
-
});
|
|
720
|
-
|
|
721
|
-
// src/shared/loop/constants/labels.ts
|
|
722
|
-
var LOOP_LABELS;
|
|
723
|
-
var init_labels = __esm({
|
|
724
|
-
"src/shared/loop/constants/labels.ts"() {
|
|
725
|
-
"use strict";
|
|
726
528
|
LOOP_LABELS = {
|
|
727
529
|
// Progress
|
|
728
530
|
PROGRESS_PREFIX: "[TODO Progress]:",
|
|
@@ -762,72 +564,28 @@ var init_labels = __esm({
|
|
|
762
564
|
}
|
|
763
565
|
});
|
|
764
566
|
|
|
765
|
-
// src/shared/loop/
|
|
766
|
-
var init_constants4 = __esm({
|
|
767
|
-
"src/shared/loop/constants/index.ts"() {
|
|
768
|
-
"use strict";
|
|
769
|
-
init_loop();
|
|
770
|
-
init_mission_control();
|
|
771
|
-
init_task_status();
|
|
772
|
-
init_todo_status();
|
|
773
|
-
init_labels();
|
|
774
|
-
}
|
|
775
|
-
});
|
|
776
|
-
|
|
777
|
-
// src/shared/loop/interfaces/todo.ts
|
|
778
|
-
var init_todo = __esm({
|
|
779
|
-
"src/shared/loop/interfaces/todo.ts"() {
|
|
780
|
-
"use strict";
|
|
781
|
-
}
|
|
782
|
-
});
|
|
783
|
-
|
|
784
|
-
// src/shared/loop/interfaces/todo-stats.ts
|
|
785
|
-
var init_todo_stats = __esm({
|
|
786
|
-
"src/shared/loop/interfaces/todo-stats.ts"() {
|
|
787
|
-
"use strict";
|
|
788
|
-
}
|
|
789
|
-
});
|
|
790
|
-
|
|
791
|
-
// src/shared/loop/interfaces/mission-loop.ts
|
|
792
|
-
var init_mission_loop = __esm({
|
|
793
|
-
"src/shared/loop/interfaces/mission-loop.ts"() {
|
|
794
|
-
"use strict";
|
|
795
|
-
}
|
|
796
|
-
});
|
|
797
|
-
|
|
798
|
-
// src/shared/loop/interfaces/index.ts
|
|
799
|
-
var init_interfaces3 = __esm({
|
|
800
|
-
"src/shared/loop/interfaces/index.ts"() {
|
|
801
|
-
"use strict";
|
|
802
|
-
init_todo();
|
|
803
|
-
init_todo_stats();
|
|
804
|
-
init_mission_loop();
|
|
805
|
-
}
|
|
806
|
-
});
|
|
807
|
-
|
|
808
|
-
// src/shared/loop/types/index.ts
|
|
567
|
+
// src/shared/loop/types.ts
|
|
809
568
|
var init_types3 = __esm({
|
|
810
|
-
"src/shared/loop/types
|
|
569
|
+
"src/shared/loop/types.ts"() {
|
|
811
570
|
"use strict";
|
|
812
571
|
}
|
|
813
572
|
});
|
|
814
573
|
|
|
815
574
|
// src/shared/loop/index.ts
|
|
816
|
-
var
|
|
575
|
+
var init_loop = __esm({
|
|
817
576
|
"src/shared/loop/index.ts"() {
|
|
818
577
|
"use strict";
|
|
819
578
|
init_constants4();
|
|
820
|
-
init_interfaces3();
|
|
821
579
|
init_types3();
|
|
822
580
|
}
|
|
823
581
|
});
|
|
824
582
|
|
|
825
|
-
// src/shared/notification/constants
|
|
826
|
-
var TOAST_DURATION;
|
|
827
|
-
var
|
|
828
|
-
"src/shared/notification/constants
|
|
583
|
+
// src/shared/notification/constants.ts
|
|
584
|
+
var TOAST_DURATION, TOAST_VARIANTS, TUI_ICONS, TUI_BLOCKS, TUI_TAGS, TUI_MESSAGES;
|
|
585
|
+
var init_constants5 = __esm({
|
|
586
|
+
"src/shared/notification/constants.ts"() {
|
|
829
587
|
"use strict";
|
|
830
|
-
|
|
588
|
+
init_constants2();
|
|
831
589
|
TOAST_DURATION = {
|
|
832
590
|
/** Extra short: 1.5 seconds */
|
|
833
591
|
EXTRA_SHORT: 1500,
|
|
@@ -844,14 +602,12 @@ var init_toast_duration = __esm({
|
|
|
844
602
|
/** Persistent: 0 (stays until dismissed) */
|
|
845
603
|
PERSISTENT: 0
|
|
846
604
|
};
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
"src/shared/notification/constants/tui.const.ts"() {
|
|
854
|
-
"use strict";
|
|
605
|
+
TOAST_VARIANTS = {
|
|
606
|
+
INFO: "info",
|
|
607
|
+
SUCCESS: "success",
|
|
608
|
+
WARNING: "warning",
|
|
609
|
+
ERROR: "error"
|
|
610
|
+
};
|
|
855
611
|
TUI_ICONS = {
|
|
856
612
|
RUNNING: "\u26A1",
|
|
857
613
|
QUEUED: "\u23F3",
|
|
@@ -876,48 +632,9 @@ var init_tui_const = __esm({
|
|
|
876
632
|
}
|
|
877
633
|
});
|
|
878
634
|
|
|
879
|
-
// src/shared/notification/
|
|
880
|
-
var TOAST_VARIANTS;
|
|
881
|
-
var init_toast_variants = __esm({
|
|
882
|
-
"src/shared/notification/constants/toast-variants.ts"() {
|
|
883
|
-
"use strict";
|
|
884
|
-
TOAST_VARIANTS = {
|
|
885
|
-
INFO: "info",
|
|
886
|
-
SUCCESS: "success",
|
|
887
|
-
WARNING: "warning",
|
|
888
|
-
ERROR: "error"
|
|
889
|
-
};
|
|
890
|
-
}
|
|
891
|
-
});
|
|
892
|
-
|
|
893
|
-
// src/shared/notification/constants/index.ts
|
|
894
|
-
var init_constants5 = __esm({
|
|
895
|
-
"src/shared/notification/constants/index.ts"() {
|
|
896
|
-
"use strict";
|
|
897
|
-
init_toast_duration();
|
|
898
|
-
init_tui_const();
|
|
899
|
-
init_toast_variants();
|
|
900
|
-
}
|
|
901
|
-
});
|
|
902
|
-
|
|
903
|
-
// src/shared/notification/interfaces/task-toast.interface.ts
|
|
904
|
-
var init_task_toast_interface = __esm({
|
|
905
|
-
"src/shared/notification/interfaces/task-toast.interface.ts"() {
|
|
906
|
-
"use strict";
|
|
907
|
-
}
|
|
908
|
-
});
|
|
909
|
-
|
|
910
|
-
// src/shared/notification/interfaces/index.ts
|
|
911
|
-
var init_interfaces4 = __esm({
|
|
912
|
-
"src/shared/notification/interfaces/index.ts"() {
|
|
913
|
-
"use strict";
|
|
914
|
-
init_task_toast_interface();
|
|
915
|
-
}
|
|
916
|
-
});
|
|
917
|
-
|
|
918
|
-
// src/shared/notification/types/index.ts
|
|
635
|
+
// src/shared/notification/types.ts
|
|
919
636
|
var init_types4 = __esm({
|
|
920
|
-
"src/shared/notification/types
|
|
637
|
+
"src/shared/notification/types.ts"() {
|
|
921
638
|
"use strict";
|
|
922
639
|
}
|
|
923
640
|
});
|
|
@@ -1068,13 +785,36 @@ var init_toast_core = __esm({
|
|
|
1068
785
|
}
|
|
1069
786
|
});
|
|
1070
787
|
|
|
1071
|
-
// src/shared/notification/presets
|
|
1072
|
-
var
|
|
1073
|
-
|
|
1074
|
-
|
|
788
|
+
// src/shared/notification/presets.ts
|
|
789
|
+
var presets_exports = {};
|
|
790
|
+
__export(presets_exports, {
|
|
791
|
+
allTasksComplete: () => allTasksComplete,
|
|
792
|
+
concurrencyAcquired: () => concurrencyAcquired,
|
|
793
|
+
concurrencyReleased: () => concurrencyReleased,
|
|
794
|
+
documentCached: () => documentCached,
|
|
795
|
+
errorRecovery: () => errorRecovery,
|
|
796
|
+
missionComplete: () => missionComplete,
|
|
797
|
+
missionStarted: () => missionStarted,
|
|
798
|
+
parallelTasksLaunched: () => parallelTasksLaunched,
|
|
799
|
+
researchStarted: () => researchStarted,
|
|
800
|
+
sessionCompleted: () => sessionCompleted,
|
|
801
|
+
sessionCreated: () => sessionCreated,
|
|
802
|
+
sessionResumed: () => sessionResumed,
|
|
803
|
+
taskCompleted: () => taskCompleted,
|
|
804
|
+
taskFailed: () => taskFailed,
|
|
805
|
+
taskStarted: () => taskStarted,
|
|
806
|
+
toolExecuted: () => toolExecuted,
|
|
807
|
+
warningMaxDepth: () => warningMaxDepth,
|
|
808
|
+
warningMaxRetries: () => warningMaxRetries,
|
|
809
|
+
warningRateLimited: () => warningRateLimited
|
|
810
|
+
});
|
|
811
|
+
var taskStarted, taskCompleted, taskFailed, allTasksComplete, sessionCreated, sessionResumed, sessionCompleted, parallelTasksLaunched, concurrencyAcquired, concurrencyReleased, missionComplete, missionStarted, toolExecuted, documentCached, researchStarted, warningRateLimited, errorRecovery, warningMaxDepth, warningMaxRetries;
|
|
812
|
+
var init_presets = __esm({
|
|
813
|
+
"src/shared/notification/presets.ts"() {
|
|
1075
814
|
"use strict";
|
|
1076
815
|
init_toast_core();
|
|
1077
816
|
init_constants5();
|
|
817
|
+
init_shared();
|
|
1078
818
|
taskStarted = (taskId, agent) => show({
|
|
1079
819
|
title: "Task Started",
|
|
1080
820
|
message: `${agent}: ${taskId}`,
|
|
@@ -1099,16 +839,6 @@ var init_task_lifecycle = __esm({
|
|
|
1099
839
|
variant: TOAST_VARIANTS.SUCCESS,
|
|
1100
840
|
duration: 5e3
|
|
1101
841
|
});
|
|
1102
|
-
}
|
|
1103
|
-
});
|
|
1104
|
-
|
|
1105
|
-
// src/shared/notification/presets/session.ts
|
|
1106
|
-
var sessionCreated, sessionResumed, sessionCompleted;
|
|
1107
|
-
var init_session = __esm({
|
|
1108
|
-
"src/shared/notification/presets/session.ts"() {
|
|
1109
|
-
"use strict";
|
|
1110
|
-
init_toast_core();
|
|
1111
|
-
init_shared();
|
|
1112
842
|
sessionCreated = (sessionId, agent) => show({
|
|
1113
843
|
title: "Session Created",
|
|
1114
844
|
message: `${agent} - ${sessionId.slice(0, 12)}...`,
|
|
@@ -1127,16 +857,6 @@ var init_session = __esm({
|
|
|
1127
857
|
variant: STATUS_LABEL.SUCCESS,
|
|
1128
858
|
duration: TOAST_DURATION.MEDIUM
|
|
1129
859
|
});
|
|
1130
|
-
}
|
|
1131
|
-
});
|
|
1132
|
-
|
|
1133
|
-
// src/shared/notification/presets/parallel.ts
|
|
1134
|
-
var parallelTasksLaunched, concurrencyAcquired, concurrencyReleased;
|
|
1135
|
-
var init_parallel = __esm({
|
|
1136
|
-
"src/shared/notification/presets/parallel.ts"() {
|
|
1137
|
-
"use strict";
|
|
1138
|
-
init_toast_core();
|
|
1139
|
-
init_shared();
|
|
1140
860
|
parallelTasksLaunched = (count, agents) => show({
|
|
1141
861
|
title: "Parallel Tasks Launched",
|
|
1142
862
|
message: `${count} tasks: ${agents.join(", ")}`,
|
|
@@ -1155,16 +875,6 @@ var init_parallel = __esm({
|
|
|
1155
875
|
variant: "info",
|
|
1156
876
|
duration: TOAST_DURATION.EXTRA_SHORT
|
|
1157
877
|
});
|
|
1158
|
-
}
|
|
1159
|
-
});
|
|
1160
|
-
|
|
1161
|
-
// src/shared/notification/presets/mission.ts
|
|
1162
|
-
var missionComplete, missionStarted;
|
|
1163
|
-
var init_mission = __esm({
|
|
1164
|
-
"src/shared/notification/presets/mission.ts"() {
|
|
1165
|
-
"use strict";
|
|
1166
|
-
init_toast_core();
|
|
1167
|
-
init_constants5();
|
|
1168
878
|
missionComplete = (summary) => show({
|
|
1169
879
|
title: "Mission Complete",
|
|
1170
880
|
message: summary,
|
|
@@ -1177,16 +887,6 @@ var init_mission = __esm({
|
|
|
1177
887
|
variant: TOAST_VARIANTS.INFO,
|
|
1178
888
|
duration: 4e3
|
|
1179
889
|
});
|
|
1180
|
-
}
|
|
1181
|
-
});
|
|
1182
|
-
|
|
1183
|
-
// src/shared/notification/presets/tools.ts
|
|
1184
|
-
var toolExecuted, documentCached, researchStarted;
|
|
1185
|
-
var init_tools = __esm({
|
|
1186
|
-
"src/shared/notification/presets/tools.ts"() {
|
|
1187
|
-
"use strict";
|
|
1188
|
-
init_toast_core();
|
|
1189
|
-
init_shared();
|
|
1190
890
|
toolExecuted = (toolName, target) => show({
|
|
1191
891
|
title: toolName,
|
|
1192
892
|
message: target.slice(0, 80),
|
|
@@ -1205,16 +905,6 @@ var init_tools = __esm({
|
|
|
1205
905
|
variant: "info",
|
|
1206
906
|
duration: TOAST_DURATION.MEDIUM
|
|
1207
907
|
});
|
|
1208
|
-
}
|
|
1209
|
-
});
|
|
1210
|
-
|
|
1211
|
-
// src/shared/notification/presets/warnings.ts
|
|
1212
|
-
var warningRateLimited, errorRecovery, warningMaxDepth, warningMaxRetries;
|
|
1213
|
-
var init_warnings = __esm({
|
|
1214
|
-
"src/shared/notification/presets/warnings.ts"() {
|
|
1215
|
-
"use strict";
|
|
1216
|
-
init_toast_core();
|
|
1217
|
-
init_shared();
|
|
1218
908
|
warningRateLimited = () => show({
|
|
1219
909
|
title: "Rate Limited",
|
|
1220
910
|
message: "Waiting before retry...",
|
|
@@ -1242,58 +932,22 @@ var init_warnings = __esm({
|
|
|
1242
932
|
}
|
|
1243
933
|
});
|
|
1244
934
|
|
|
1245
|
-
// src/shared/notification/presets/index.ts
|
|
1246
|
-
var presets_exports = {};
|
|
1247
|
-
__export(presets_exports, {
|
|
1248
|
-
allTasksComplete: () => allTasksComplete,
|
|
1249
|
-
concurrencyAcquired: () => concurrencyAcquired,
|
|
1250
|
-
concurrencyReleased: () => concurrencyReleased,
|
|
1251
|
-
documentCached: () => documentCached,
|
|
1252
|
-
errorRecovery: () => errorRecovery,
|
|
1253
|
-
missionComplete: () => missionComplete,
|
|
1254
|
-
missionStarted: () => missionStarted,
|
|
1255
|
-
parallelTasksLaunched: () => parallelTasksLaunched,
|
|
1256
|
-
researchStarted: () => researchStarted,
|
|
1257
|
-
sessionCompleted: () => sessionCompleted,
|
|
1258
|
-
sessionCreated: () => sessionCreated,
|
|
1259
|
-
sessionResumed: () => sessionResumed,
|
|
1260
|
-
taskCompleted: () => taskCompleted,
|
|
1261
|
-
taskFailed: () => taskFailed,
|
|
1262
|
-
taskStarted: () => taskStarted,
|
|
1263
|
-
toolExecuted: () => toolExecuted,
|
|
1264
|
-
warningMaxDepth: () => warningMaxDepth,
|
|
1265
|
-
warningMaxRetries: () => warningMaxRetries,
|
|
1266
|
-
warningRateLimited: () => warningRateLimited
|
|
1267
|
-
});
|
|
1268
|
-
var init_presets = __esm({
|
|
1269
|
-
"src/shared/notification/presets/index.ts"() {
|
|
1270
|
-
"use strict";
|
|
1271
|
-
init_task_lifecycle();
|
|
1272
|
-
init_session();
|
|
1273
|
-
init_parallel();
|
|
1274
|
-
init_mission();
|
|
1275
|
-
init_tools();
|
|
1276
|
-
init_warnings();
|
|
1277
|
-
}
|
|
1278
|
-
});
|
|
1279
|
-
|
|
1280
935
|
// src/shared/notification/index.ts
|
|
1281
936
|
var init_notification = __esm({
|
|
1282
937
|
"src/shared/notification/index.ts"() {
|
|
1283
938
|
"use strict";
|
|
1284
939
|
init_constants5();
|
|
1285
|
-
init_interfaces4();
|
|
1286
940
|
init_types4();
|
|
1287
941
|
init_presets();
|
|
1288
942
|
}
|
|
1289
943
|
});
|
|
1290
944
|
|
|
1291
|
-
// src/shared/recovery/constants
|
|
1292
|
-
var RECOVERY;
|
|
1293
|
-
var
|
|
1294
|
-
"src/shared/recovery/constants
|
|
945
|
+
// src/shared/recovery/constants.ts
|
|
946
|
+
var RECOVERY, HISTORY, RECOVERY_LEVEL, RECOVERY_PRINCIPLE;
|
|
947
|
+
var init_constants6 = __esm({
|
|
948
|
+
"src/shared/recovery/constants.ts"() {
|
|
1295
949
|
"use strict";
|
|
1296
|
-
|
|
950
|
+
init_constants2();
|
|
1297
951
|
RECOVERY = {
|
|
1298
952
|
/** Maximum recovery attempts per session */
|
|
1299
953
|
MAX_ATTEMPTS: 3,
|
|
@@ -1304,14 +958,6 @@ var init_recovery = __esm({
|
|
|
1304
958
|
/** Maximum retry multiplier */
|
|
1305
959
|
MAX_RETRY_MULTIPLIER: 5
|
|
1306
960
|
};
|
|
1307
|
-
}
|
|
1308
|
-
});
|
|
1309
|
-
|
|
1310
|
-
// src/shared/recovery/constants/history.ts
|
|
1311
|
-
var HISTORY;
|
|
1312
|
-
var init_history = __esm({
|
|
1313
|
-
"src/shared/recovery/constants/history.ts"() {
|
|
1314
|
-
"use strict";
|
|
1315
961
|
HISTORY = {
|
|
1316
962
|
/** Recovery history max entries */
|
|
1317
963
|
MAX_RECOVERY: 100,
|
|
@@ -1320,14 +966,6 @@ var init_history = __esm({
|
|
|
1320
966
|
/** Progress store max entries */
|
|
1321
967
|
MAX_PROGRESS: 100
|
|
1322
968
|
};
|
|
1323
|
-
}
|
|
1324
|
-
});
|
|
1325
|
-
|
|
1326
|
-
// src/shared/recovery/constants/recovery-level.ts
|
|
1327
|
-
var RECOVERY_LEVEL, RECOVERY_PRINCIPLE;
|
|
1328
|
-
var init_recovery_level = __esm({
|
|
1329
|
-
"src/shared/recovery/constants/recovery-level.ts"() {
|
|
1330
|
-
"use strict";
|
|
1331
969
|
RECOVERY_LEVEL = {
|
|
1332
970
|
/** Level 1: Split task into smaller units */
|
|
1333
971
|
DECOMPOSE: "DECOMPOSE",
|
|
@@ -1340,46 +978,28 @@ var init_recovery_level = __esm({
|
|
|
1340
978
|
}
|
|
1341
979
|
});
|
|
1342
980
|
|
|
1343
|
-
// src/shared/recovery/
|
|
1344
|
-
var init_constants6 = __esm({
|
|
1345
|
-
"src/shared/recovery/constants/index.ts"() {
|
|
1346
|
-
"use strict";
|
|
1347
|
-
init_recovery();
|
|
1348
|
-
init_history();
|
|
1349
|
-
init_recovery_level();
|
|
1350
|
-
}
|
|
1351
|
-
});
|
|
1352
|
-
|
|
1353
|
-
// src/shared/recovery/interfaces/index.ts
|
|
1354
|
-
var init_interfaces5 = __esm({
|
|
1355
|
-
"src/shared/recovery/interfaces/index.ts"() {
|
|
1356
|
-
"use strict";
|
|
1357
|
-
}
|
|
1358
|
-
});
|
|
1359
|
-
|
|
1360
|
-
// src/shared/recovery/types/index.ts
|
|
981
|
+
// src/shared/recovery/types.ts
|
|
1361
982
|
var init_types5 = __esm({
|
|
1362
|
-
"src/shared/recovery/types
|
|
983
|
+
"src/shared/recovery/types.ts"() {
|
|
1363
984
|
"use strict";
|
|
1364
985
|
}
|
|
1365
986
|
});
|
|
1366
987
|
|
|
1367
988
|
// src/shared/recovery/index.ts
|
|
1368
|
-
var
|
|
989
|
+
var init_recovery = __esm({
|
|
1369
990
|
"src/shared/recovery/index.ts"() {
|
|
1370
991
|
"use strict";
|
|
1371
992
|
init_constants6();
|
|
1372
|
-
init_interfaces5();
|
|
1373
993
|
init_types5();
|
|
1374
994
|
}
|
|
1375
995
|
});
|
|
1376
996
|
|
|
1377
|
-
// src/shared/cache/constants
|
|
1378
|
-
var CACHE;
|
|
1379
|
-
var
|
|
1380
|
-
"src/shared/cache/constants
|
|
997
|
+
// src/shared/cache/constants.ts
|
|
998
|
+
var CACHE, CACHE_ACTIONS, FILTER_STATUS;
|
|
999
|
+
var init_constants7 = __esm({
|
|
1000
|
+
"src/shared/cache/constants.ts"() {
|
|
1381
1001
|
"use strict";
|
|
1382
|
-
|
|
1002
|
+
init_constants2();
|
|
1383
1003
|
CACHE = {
|
|
1384
1004
|
/** Default cache TTL (24 hours) */
|
|
1385
1005
|
DEFAULT_TTL_MS: 24 * TIME.HOUR,
|
|
@@ -1388,28 +1008,12 @@ var init_cache = __esm({
|
|
|
1388
1008
|
/** Session TTL (24 hours for long tasks) */
|
|
1389
1009
|
SESSION_TTL_MS: 24 * TIME.HOUR
|
|
1390
1010
|
};
|
|
1391
|
-
}
|
|
1392
|
-
});
|
|
1393
|
-
|
|
1394
|
-
// src/shared/cache/constants/cache-actions.ts
|
|
1395
|
-
var CACHE_ACTIONS;
|
|
1396
|
-
var init_cache_actions = __esm({
|
|
1397
|
-
"src/shared/cache/constants/cache-actions.ts"() {
|
|
1398
|
-
"use strict";
|
|
1399
1011
|
CACHE_ACTIONS = {
|
|
1400
1012
|
LIST: "list",
|
|
1401
1013
|
GET: "get",
|
|
1402
1014
|
CLEAR: "clear",
|
|
1403
1015
|
STATS: "stats"
|
|
1404
1016
|
};
|
|
1405
|
-
}
|
|
1406
|
-
});
|
|
1407
|
-
|
|
1408
|
-
// src/shared/cache/constants/filter-status.ts
|
|
1409
|
-
var FILTER_STATUS;
|
|
1410
|
-
var init_filter_status = __esm({
|
|
1411
|
-
"src/shared/cache/constants/filter-status.ts"() {
|
|
1412
|
-
"use strict";
|
|
1413
1017
|
FILTER_STATUS = {
|
|
1414
1018
|
ALL: "all",
|
|
1415
1019
|
RUNNING: "running",
|
|
@@ -1421,28 +1025,18 @@ var init_filter_status = __esm({
|
|
|
1421
1025
|
}
|
|
1422
1026
|
});
|
|
1423
1027
|
|
|
1424
|
-
// src/shared/cache/constants/index.ts
|
|
1425
|
-
var init_constants7 = __esm({
|
|
1426
|
-
"src/shared/cache/constants/index.ts"() {
|
|
1427
|
-
"use strict";
|
|
1428
|
-
init_cache();
|
|
1429
|
-
init_cache_actions();
|
|
1430
|
-
init_filter_status();
|
|
1431
|
-
}
|
|
1432
|
-
});
|
|
1433
|
-
|
|
1434
1028
|
// src/shared/cache/index.ts
|
|
1435
|
-
var
|
|
1029
|
+
var init_cache = __esm({
|
|
1436
1030
|
"src/shared/cache/index.ts"() {
|
|
1437
1031
|
"use strict";
|
|
1438
1032
|
init_constants7();
|
|
1439
1033
|
}
|
|
1440
1034
|
});
|
|
1441
1035
|
|
|
1442
|
-
// src/shared/session/constants
|
|
1443
|
-
var TASK_EVENTS;
|
|
1444
|
-
var
|
|
1445
|
-
"src/shared/session/constants
|
|
1036
|
+
// src/shared/session/constants.ts
|
|
1037
|
+
var TASK_EVENTS, TODO_EVENTS, SESSION_EVENTS, DOCUMENT_EVENTS, MISSION_EVENTS, MESSAGE_EVENTS, SPECIAL_EVENTS, EVENT_TYPES;
|
|
1038
|
+
var init_constants8 = __esm({
|
|
1039
|
+
"src/shared/session/constants.ts"() {
|
|
1446
1040
|
"use strict";
|
|
1447
1041
|
TASK_EVENTS = {
|
|
1448
1042
|
STARTED: "task.started",
|
|
@@ -1450,27 +1044,11 @@ var init_task_events = __esm({
|
|
|
1450
1044
|
FAILED: "task.failed",
|
|
1451
1045
|
CANCELLED: "task.cancelled"
|
|
1452
1046
|
};
|
|
1453
|
-
}
|
|
1454
|
-
});
|
|
1455
|
-
|
|
1456
|
-
// src/shared/session/constants/events/todo-events.ts
|
|
1457
|
-
var TODO_EVENTS;
|
|
1458
|
-
var init_todo_events = __esm({
|
|
1459
|
-
"src/shared/session/constants/events/todo-events.ts"() {
|
|
1460
|
-
"use strict";
|
|
1461
1047
|
TODO_EVENTS = {
|
|
1462
1048
|
CREATED: "todo.created",
|
|
1463
1049
|
UPDATED: "todo.updated",
|
|
1464
1050
|
COMPLETED: "todo.completed"
|
|
1465
1051
|
};
|
|
1466
|
-
}
|
|
1467
|
-
});
|
|
1468
|
-
|
|
1469
|
-
// src/shared/session/constants/events/session-events.ts
|
|
1470
|
-
var SESSION_EVENTS;
|
|
1471
|
-
var init_session_events = __esm({
|
|
1472
|
-
"src/shared/session/constants/events/session-events.ts"() {
|
|
1473
|
-
"use strict";
|
|
1474
1052
|
SESSION_EVENTS = {
|
|
1475
1053
|
IDLE: "session.idle",
|
|
1476
1054
|
STATUS: "session.status",
|
|
@@ -1481,75 +1059,21 @@ var init_session_events = __esm({
|
|
|
1481
1059
|
DELETED: "session.deleted",
|
|
1482
1060
|
CREATED: "session.created"
|
|
1483
1061
|
};
|
|
1484
|
-
}
|
|
1485
|
-
});
|
|
1486
|
-
|
|
1487
|
-
// src/shared/session/constants/events/document-events.ts
|
|
1488
|
-
var DOCUMENT_EVENTS;
|
|
1489
|
-
var init_document_events = __esm({
|
|
1490
|
-
"src/shared/session/constants/events/document-events.ts"() {
|
|
1491
|
-
"use strict";
|
|
1492
1062
|
DOCUMENT_EVENTS = {
|
|
1493
1063
|
CACHED: "document.cached",
|
|
1494
1064
|
EXPIRED: "document.expired"
|
|
1495
1065
|
};
|
|
1496
|
-
}
|
|
1497
|
-
});
|
|
1498
|
-
|
|
1499
|
-
// src/shared/session/constants/events/mission-events.ts
|
|
1500
|
-
var MISSION_EVENTS;
|
|
1501
|
-
var init_mission_events = __esm({
|
|
1502
|
-
"src/shared/session/constants/events/mission-events.ts"() {
|
|
1503
|
-
"use strict";
|
|
1504
1066
|
MISSION_EVENTS = {
|
|
1505
1067
|
COMPLETE: "mission.complete",
|
|
1506
|
-
FAILED: "mission.failed",
|
|
1507
|
-
ALL_TASKS_COMPLETE: "all_tasks.complete"
|
|
1508
|
-
};
|
|
1509
|
-
}
|
|
1510
|
-
});
|
|
1511
|
-
|
|
1512
|
-
// src/shared/session/constants/events/message-events.ts
|
|
1513
|
-
var MESSAGE_EVENTS;
|
|
1514
|
-
var init_message_events = __esm({
|
|
1515
|
-
"src/shared/session/constants/events/message-events.ts"() {
|
|
1516
|
-
"use strict";
|
|
1068
|
+
FAILED: "mission.failed",
|
|
1069
|
+
ALL_TASKS_COMPLETE: "all_tasks.complete"
|
|
1070
|
+
};
|
|
1517
1071
|
MESSAGE_EVENTS = {
|
|
1518
1072
|
UPDATED: "message.updated"
|
|
1519
1073
|
};
|
|
1520
|
-
}
|
|
1521
|
-
});
|
|
1522
|
-
|
|
1523
|
-
// src/shared/session/constants/events/special-events.ts
|
|
1524
|
-
var SPECIAL_EVENTS;
|
|
1525
|
-
var init_special_events = __esm({
|
|
1526
|
-
"src/shared/session/constants/events/special-events.ts"() {
|
|
1527
|
-
"use strict";
|
|
1528
1074
|
SPECIAL_EVENTS = {
|
|
1529
1075
|
WILDCARD: "*"
|
|
1530
1076
|
};
|
|
1531
|
-
}
|
|
1532
|
-
});
|
|
1533
|
-
|
|
1534
|
-
// src/shared/session/constants/events/index.ts
|
|
1535
|
-
var EVENT_TYPES;
|
|
1536
|
-
var init_events = __esm({
|
|
1537
|
-
"src/shared/session/constants/events/index.ts"() {
|
|
1538
|
-
"use strict";
|
|
1539
|
-
init_task_events();
|
|
1540
|
-
init_todo_events();
|
|
1541
|
-
init_session_events();
|
|
1542
|
-
init_document_events();
|
|
1543
|
-
init_mission_events();
|
|
1544
|
-
init_message_events();
|
|
1545
|
-
init_special_events();
|
|
1546
|
-
init_task_events();
|
|
1547
|
-
init_todo_events();
|
|
1548
|
-
init_session_events();
|
|
1549
|
-
init_document_events();
|
|
1550
|
-
init_mission_events();
|
|
1551
|
-
init_message_events();
|
|
1552
|
-
init_special_events();
|
|
1553
1077
|
EVENT_TYPES = {
|
|
1554
1078
|
...TASK_EVENTS,
|
|
1555
1079
|
...TODO_EVENTS,
|
|
@@ -1562,32 +1086,17 @@ var init_events = __esm({
|
|
|
1562
1086
|
}
|
|
1563
1087
|
});
|
|
1564
1088
|
|
|
1565
|
-
// src/shared/session/constants/index.ts
|
|
1566
|
-
var init_constants8 = __esm({
|
|
1567
|
-
"src/shared/session/constants/index.ts"() {
|
|
1568
|
-
"use strict";
|
|
1569
|
-
init_events();
|
|
1570
|
-
}
|
|
1571
|
-
});
|
|
1572
|
-
|
|
1573
1089
|
// src/shared/session/index.ts
|
|
1574
|
-
var
|
|
1090
|
+
var init_session = __esm({
|
|
1575
1091
|
"src/shared/session/index.ts"() {
|
|
1576
1092
|
"use strict";
|
|
1577
1093
|
init_constants8();
|
|
1578
1094
|
}
|
|
1579
1095
|
});
|
|
1580
1096
|
|
|
1581
|
-
// src/shared/command/
|
|
1582
|
-
var init_interfaces6 = __esm({
|
|
1583
|
-
"src/shared/command/interfaces/index.ts"() {
|
|
1584
|
-
"use strict";
|
|
1585
|
-
}
|
|
1586
|
-
});
|
|
1587
|
-
|
|
1588
|
-
// src/shared/command/types/index.ts
|
|
1097
|
+
// src/shared/command/types.ts
|
|
1589
1098
|
var init_types6 = __esm({
|
|
1590
|
-
"src/shared/command/types
|
|
1099
|
+
"src/shared/command/types.ts"() {
|
|
1591
1100
|
"use strict";
|
|
1592
1101
|
}
|
|
1593
1102
|
});
|
|
@@ -1596,38 +1105,33 @@ var init_types6 = __esm({
|
|
|
1596
1105
|
var init_command = __esm({
|
|
1597
1106
|
"src/shared/command/index.ts"() {
|
|
1598
1107
|
"use strict";
|
|
1599
|
-
init_interfaces6();
|
|
1600
1108
|
init_types6();
|
|
1601
1109
|
}
|
|
1602
1110
|
});
|
|
1603
1111
|
|
|
1604
|
-
// src/shared/tool/constants
|
|
1605
|
-
var
|
|
1606
|
-
|
|
1607
|
-
|
|
1608
|
-
}
|
|
1609
|
-
});
|
|
1610
|
-
|
|
1611
|
-
// src/shared/tool/constants/lsp/lsp-severity.ts
|
|
1612
|
-
var LSP_SEVERITY;
|
|
1613
|
-
var init_lsp_severity = __esm({
|
|
1614
|
-
"src/shared/tool/constants/lsp/lsp-severity.ts"() {
|
|
1112
|
+
// src/shared/tool/constants.ts
|
|
1113
|
+
var OUTPUT_LABEL, TOOL_LABEL, LSP_SEVERITY, LSP_SEVERITY_LABELS, PARALLEL_LOG, PARALLEL_PARAMS;
|
|
1114
|
+
var init_constants9 = __esm({
|
|
1115
|
+
"src/shared/tool/constants.ts"() {
|
|
1615
1116
|
"use strict";
|
|
1616
|
-
|
|
1617
|
-
|
|
1618
|
-
|
|
1619
|
-
|
|
1620
|
-
|
|
1117
|
+
init_constants2();
|
|
1118
|
+
OUTPUT_LABEL = {
|
|
1119
|
+
ERROR: "[ERROR]",
|
|
1120
|
+
WARNING: "[WARNING]",
|
|
1121
|
+
INFO: "[INFO]",
|
|
1122
|
+
DONE: "[DONE]",
|
|
1123
|
+
OK: "[OK]",
|
|
1124
|
+
SPAWNED: "[SPAWNED]",
|
|
1125
|
+
RESUME: "[RESUME]",
|
|
1126
|
+
TIMEOUT: "[TIMEOUT]",
|
|
1127
|
+
RUNNING: "[RUNNING]",
|
|
1128
|
+
CANCELLED: "[CANCELLED]",
|
|
1129
|
+
RESUMED_DONE: "[RESUMED & DONE]",
|
|
1130
|
+
SYNC_START: "[SYNC START]",
|
|
1131
|
+
CACHED: "[CACHED]",
|
|
1132
|
+
JSON_FETCHED: "[JSON FETCHED]",
|
|
1133
|
+
TEXT_FETCHED: "[TEXT FETCHED]"
|
|
1621
1134
|
};
|
|
1622
|
-
}
|
|
1623
|
-
});
|
|
1624
|
-
|
|
1625
|
-
// src/shared/tool/constants/common/labels.ts
|
|
1626
|
-
var TOOL_LABEL;
|
|
1627
|
-
var init_labels2 = __esm({
|
|
1628
|
-
"src/shared/tool/constants/common/labels.ts"() {
|
|
1629
|
-
"use strict";
|
|
1630
|
-
init_status_labels();
|
|
1631
1135
|
TOOL_LABEL = {
|
|
1632
1136
|
ERROR: STATUS_LABEL.ERROR,
|
|
1633
1137
|
WARNING: STATUS_LABEL.WARNING,
|
|
@@ -1641,50 +1145,21 @@ var init_labels2 = __esm({
|
|
|
1641
1145
|
PENDING: STATUS_LABEL.PENDING,
|
|
1642
1146
|
RUNNING: STATUS_LABEL.RUNNING
|
|
1643
1147
|
};
|
|
1644
|
-
|
|
1645
|
-
|
|
1646
|
-
|
|
1647
|
-
|
|
1648
|
-
|
|
1649
|
-
|
|
1650
|
-
"src/shared/tool/constants/lsp/lsp-severity-labels.ts"() {
|
|
1651
|
-
"use strict";
|
|
1652
|
-
init_labels2();
|
|
1653
|
-
init_lsp_severity();
|
|
1148
|
+
LSP_SEVERITY = {
|
|
1149
|
+
ERROR: 1,
|
|
1150
|
+
WARNING: 2,
|
|
1151
|
+
INFO: 3,
|
|
1152
|
+
HINT: 4
|
|
1153
|
+
};
|
|
1654
1154
|
LSP_SEVERITY_LABELS = {
|
|
1655
1155
|
[LSP_SEVERITY.ERROR]: TOOL_LABEL.ERROR,
|
|
1656
1156
|
[LSP_SEVERITY.WARNING]: TOOL_LABEL.WARNING,
|
|
1657
1157
|
[LSP_SEVERITY.INFO]: TOOL_LABEL.INFO,
|
|
1658
1158
|
[LSP_SEVERITY.HINT]: TOOL_LABEL.HINT
|
|
1659
1159
|
};
|
|
1660
|
-
}
|
|
1661
|
-
});
|
|
1662
|
-
|
|
1663
|
-
// src/shared/tool/constants/lsp/index.ts
|
|
1664
|
-
var init_lsp = __esm({
|
|
1665
|
-
"src/shared/tool/constants/lsp/index.ts"() {
|
|
1666
|
-
"use strict";
|
|
1667
|
-
init_lsp_severity();
|
|
1668
|
-
init_lsp_severity_labels();
|
|
1669
|
-
}
|
|
1670
|
-
});
|
|
1671
|
-
|
|
1672
|
-
// src/shared/tool/constants/parallel/logging.ts
|
|
1673
|
-
var PARALLEL_LOG;
|
|
1674
|
-
var init_logging2 = __esm({
|
|
1675
|
-
"src/shared/tool/constants/parallel/logging.ts"() {
|
|
1676
|
-
"use strict";
|
|
1677
1160
|
PARALLEL_LOG = {
|
|
1678
1161
|
DELEGATE_TASK: "[delegate-task]"
|
|
1679
1162
|
};
|
|
1680
|
-
}
|
|
1681
|
-
});
|
|
1682
|
-
|
|
1683
|
-
// src/shared/tool/constants/parallel/parameters.ts
|
|
1684
|
-
var PARALLEL_PARAMS;
|
|
1685
|
-
var init_parameters = __esm({
|
|
1686
|
-
"src/shared/tool/constants/parallel/parameters.ts"() {
|
|
1687
|
-
"use strict";
|
|
1688
1163
|
PARALLEL_PARAMS = {
|
|
1689
1164
|
AGENT: "agent",
|
|
1690
1165
|
TASK: "task",
|
|
@@ -1704,121 +1179,10 @@ var init_parameters = __esm({
|
|
|
1704
1179
|
}
|
|
1705
1180
|
});
|
|
1706
1181
|
|
|
1707
|
-
// src/shared/tool/
|
|
1708
|
-
var
|
|
1709
|
-
"src/shared/tool/
|
|
1710
|
-
"use strict";
|
|
1711
|
-
init_logging2();
|
|
1712
|
-
init_parameters();
|
|
1713
|
-
}
|
|
1714
|
-
});
|
|
1715
|
-
|
|
1716
|
-
// src/shared/tool/constants/common/output-labels.ts
|
|
1717
|
-
var OUTPUT_LABEL;
|
|
1718
|
-
var init_output_labels = __esm({
|
|
1719
|
-
"src/shared/tool/constants/common/output-labels.ts"() {
|
|
1720
|
-
"use strict";
|
|
1721
|
-
OUTPUT_LABEL = {
|
|
1722
|
-
ERROR: "[ERROR]",
|
|
1723
|
-
WARNING: "[WARNING]",
|
|
1724
|
-
INFO: "[INFO]",
|
|
1725
|
-
DONE: "[DONE]",
|
|
1726
|
-
OK: "[OK]",
|
|
1727
|
-
SPAWNED: "[SPAWNED]",
|
|
1728
|
-
RESUME: "[RESUME]",
|
|
1729
|
-
TIMEOUT: "[TIMEOUT]",
|
|
1730
|
-
RUNNING: "[RUNNING]",
|
|
1731
|
-
CANCELLED: "[CANCELLED]",
|
|
1732
|
-
RESUMED_DONE: "[RESUMED & DONE]",
|
|
1733
|
-
SYNC_START: "[SYNC START]",
|
|
1734
|
-
CACHED: "[CACHED]",
|
|
1735
|
-
JSON_FETCHED: "[JSON FETCHED]",
|
|
1736
|
-
TEXT_FETCHED: "[TEXT FETCHED]"
|
|
1737
|
-
};
|
|
1738
|
-
}
|
|
1739
|
-
});
|
|
1740
|
-
|
|
1741
|
-
// src/shared/tool/constants/common/languages.ts
|
|
1742
|
-
var init_languages = __esm({
|
|
1743
|
-
"src/shared/tool/constants/common/languages.ts"() {
|
|
1744
|
-
"use strict";
|
|
1745
|
-
}
|
|
1746
|
-
});
|
|
1747
|
-
|
|
1748
|
-
// src/shared/tool/constants/common/sources.ts
|
|
1749
|
-
var init_sources = __esm({
|
|
1750
|
-
"src/shared/tool/constants/common/sources.ts"() {
|
|
1751
|
-
"use strict";
|
|
1752
|
-
}
|
|
1753
|
-
});
|
|
1754
|
-
|
|
1755
|
-
// src/shared/tool/constants/common/index.ts
|
|
1756
|
-
var init_common = __esm({
|
|
1757
|
-
"src/shared/tool/constants/common/index.ts"() {
|
|
1758
|
-
"use strict";
|
|
1759
|
-
init_labels2();
|
|
1760
|
-
init_output_labels();
|
|
1761
|
-
init_languages();
|
|
1762
|
-
init_sources();
|
|
1763
|
-
}
|
|
1764
|
-
});
|
|
1765
|
-
|
|
1766
|
-
// src/shared/tool/constants/index.ts
|
|
1767
|
-
var init_constants9 = __esm({
|
|
1768
|
-
"src/shared/tool/constants/index.ts"() {
|
|
1769
|
-
"use strict";
|
|
1770
|
-
init_tool_names();
|
|
1771
|
-
init_tool_output();
|
|
1772
|
-
init_lsp();
|
|
1773
|
-
init_parallel2();
|
|
1774
|
-
init_common();
|
|
1775
|
-
}
|
|
1776
|
-
});
|
|
1777
|
-
|
|
1778
|
-
// src/shared/tool/interfaces/lsp/index.ts
|
|
1779
|
-
var init_lsp2 = __esm({
|
|
1780
|
-
"src/shared/tool/interfaces/lsp/index.ts"() {
|
|
1781
|
-
"use strict";
|
|
1782
|
-
}
|
|
1783
|
-
});
|
|
1784
|
-
|
|
1785
|
-
// src/shared/tool/interfaces/parallel/session-client.ts
|
|
1786
|
-
var init_session_client = __esm({
|
|
1787
|
-
"src/shared/tool/interfaces/parallel/session-client.ts"() {
|
|
1788
|
-
"use strict";
|
|
1789
|
-
}
|
|
1790
|
-
});
|
|
1791
|
-
|
|
1792
|
-
// src/shared/tool/interfaces/parallel/poll-result.ts
|
|
1793
|
-
var init_poll_result = __esm({
|
|
1794
|
-
"src/shared/tool/interfaces/parallel/poll-result.ts"() {
|
|
1795
|
-
"use strict";
|
|
1796
|
-
}
|
|
1797
|
-
});
|
|
1798
|
-
|
|
1799
|
-
// src/shared/tool/interfaces/parallel/index.ts
|
|
1800
|
-
var init_parallel3 = __esm({
|
|
1801
|
-
"src/shared/tool/interfaces/parallel/index.ts"() {
|
|
1802
|
-
"use strict";
|
|
1803
|
-
init_session_client();
|
|
1804
|
-
init_poll_result();
|
|
1805
|
-
}
|
|
1806
|
-
});
|
|
1807
|
-
|
|
1808
|
-
// src/shared/tool/interfaces/ast/index.ts
|
|
1809
|
-
var init_ast = __esm({
|
|
1810
|
-
"src/shared/tool/interfaces/ast/index.ts"() {
|
|
1811
|
-
"use strict";
|
|
1812
|
-
}
|
|
1813
|
-
});
|
|
1814
|
-
|
|
1815
|
-
// src/shared/tool/interfaces/index.ts
|
|
1816
|
-
var init_interfaces7 = __esm({
|
|
1817
|
-
"src/shared/tool/interfaces/index.ts"() {
|
|
1182
|
+
// src/shared/tool/types.ts
|
|
1183
|
+
var init_types7 = __esm({
|
|
1184
|
+
"src/shared/tool/types.ts"() {
|
|
1818
1185
|
"use strict";
|
|
1819
|
-
init_lsp2();
|
|
1820
|
-
init_parallel3();
|
|
1821
|
-
init_ast();
|
|
1822
1186
|
}
|
|
1823
1187
|
});
|
|
1824
1188
|
|
|
@@ -1826,15 +1190,16 @@ var init_interfaces7 = __esm({
|
|
|
1826
1190
|
var init_tool = __esm({
|
|
1827
1191
|
"src/shared/tool/index.ts"() {
|
|
1828
1192
|
"use strict";
|
|
1193
|
+
init_tool_names();
|
|
1829
1194
|
init_constants9();
|
|
1830
|
-
|
|
1195
|
+
init_types7();
|
|
1831
1196
|
}
|
|
1832
1197
|
});
|
|
1833
1198
|
|
|
1834
|
-
// src/shared/message/constants
|
|
1835
|
-
var PART_TYPES;
|
|
1836
|
-
var
|
|
1837
|
-
"src/shared/message/constants
|
|
1199
|
+
// src/shared/message/constants.ts
|
|
1200
|
+
var PART_TYPES, PROMPTS, COMMAND_NAMES, PLUGIN_HOOKS, MESSAGE_ROLES, SESSION_STATUS;
|
|
1201
|
+
var init_constants10 = __esm({
|
|
1202
|
+
"src/shared/message/constants.ts"() {
|
|
1838
1203
|
"use strict";
|
|
1839
1204
|
PART_TYPES = {
|
|
1840
1205
|
TEXT: "text",
|
|
@@ -1846,27 +1211,11 @@ var init_part_types = __esm({
|
|
|
1846
1211
|
/** Anthropic-style tool invocation */
|
|
1847
1212
|
TOOL_USE: "tool_use"
|
|
1848
1213
|
};
|
|
1849
|
-
}
|
|
1850
|
-
});
|
|
1851
|
-
|
|
1852
|
-
// src/shared/message/constants/prompts.ts
|
|
1853
|
-
var PROMPTS;
|
|
1854
|
-
var init_prompts = __esm({
|
|
1855
|
-
"src/shared/message/constants/prompts.ts"() {
|
|
1856
|
-
"use strict";
|
|
1857
1214
|
PROMPTS = {
|
|
1858
1215
|
CONTINUE: "continue",
|
|
1859
1216
|
CONTINUE_PREVIOUS: "continue previous work",
|
|
1860
1217
|
CONTINUE_DEFAULT: "continue from where we left off"
|
|
1861
1218
|
};
|
|
1862
|
-
}
|
|
1863
|
-
});
|
|
1864
|
-
|
|
1865
|
-
// src/shared/message/constants/slash-commands.ts
|
|
1866
|
-
var COMMAND_NAMES;
|
|
1867
|
-
var init_slash_commands = __esm({
|
|
1868
|
-
"src/shared/message/constants/slash-commands.ts"() {
|
|
1869
|
-
"use strict";
|
|
1870
1219
|
COMMAND_NAMES = {
|
|
1871
1220
|
TASK: "task",
|
|
1872
1221
|
PLAN: "plan",
|
|
@@ -1874,14 +1223,6 @@ var init_slash_commands = __esm({
|
|
|
1874
1223
|
STOP: "stop",
|
|
1875
1224
|
CANCEL: "cancel"
|
|
1876
1225
|
};
|
|
1877
|
-
}
|
|
1878
|
-
});
|
|
1879
|
-
|
|
1880
|
-
// src/shared/message/constants/plugin-hooks.ts
|
|
1881
|
-
var PLUGIN_HOOKS;
|
|
1882
|
-
var init_plugin_hooks = __esm({
|
|
1883
|
-
"src/shared/message/constants/plugin-hooks.ts"() {
|
|
1884
|
-
"use strict";
|
|
1885
1226
|
PLUGIN_HOOKS = {
|
|
1886
1227
|
/** Intercepts user messages before sending to LLM */
|
|
1887
1228
|
CHAT_MESSAGE: "chat.message",
|
|
@@ -1894,14 +1235,6 @@ var init_plugin_hooks = __esm({
|
|
|
1894
1235
|
/** Injects dynamic system prompt additions */
|
|
1895
1236
|
EXPERIMENTAL_CHAT_SYSTEM_TRANSFORM: "experimental.chat.system.transform"
|
|
1896
1237
|
};
|
|
1897
|
-
}
|
|
1898
|
-
});
|
|
1899
|
-
|
|
1900
|
-
// src/shared/message/constants/message-roles.ts
|
|
1901
|
-
var MESSAGE_ROLES, SESSION_STATUS;
|
|
1902
|
-
var init_message_roles = __esm({
|
|
1903
|
-
"src/shared/message/constants/message-roles.ts"() {
|
|
1904
|
-
"use strict";
|
|
1905
1238
|
MESSAGE_ROLES = {
|
|
1906
1239
|
/** AI assistant message */
|
|
1907
1240
|
ASSISTANT: "assistant",
|
|
@@ -1917,18 +1250,6 @@ var init_message_roles = __esm({
|
|
|
1917
1250
|
}
|
|
1918
1251
|
});
|
|
1919
1252
|
|
|
1920
|
-
// src/shared/message/constants/index.ts
|
|
1921
|
-
var init_constants10 = __esm({
|
|
1922
|
-
"src/shared/message/constants/index.ts"() {
|
|
1923
|
-
"use strict";
|
|
1924
|
-
init_part_types();
|
|
1925
|
-
init_prompts();
|
|
1926
|
-
init_slash_commands();
|
|
1927
|
-
init_plugin_hooks();
|
|
1928
|
-
init_message_roles();
|
|
1929
|
-
}
|
|
1930
|
-
});
|
|
1931
|
-
|
|
1932
1253
|
// src/shared/message/index.ts
|
|
1933
1254
|
var init_message = __esm({
|
|
1934
1255
|
"src/shared/message/index.ts"() {
|
|
@@ -1937,10 +1258,10 @@ var init_message = __esm({
|
|
|
1937
1258
|
}
|
|
1938
1259
|
});
|
|
1939
1260
|
|
|
1940
|
-
// src/shared/os/constants
|
|
1261
|
+
// src/shared/os/constants.ts
|
|
1941
1262
|
var PLATFORM;
|
|
1942
|
-
var
|
|
1943
|
-
"src/shared/os/constants
|
|
1263
|
+
var init_constants11 = __esm({
|
|
1264
|
+
"src/shared/os/constants.ts"() {
|
|
1944
1265
|
"use strict";
|
|
1945
1266
|
PLATFORM = {
|
|
1946
1267
|
DARWIN: "darwin",
|
|
@@ -1951,26 +1272,10 @@ var init_platform = __esm({
|
|
|
1951
1272
|
}
|
|
1952
1273
|
});
|
|
1953
1274
|
|
|
1954
|
-
// src/shared/os/
|
|
1955
|
-
var
|
|
1956
|
-
"src/shared/os/
|
|
1957
|
-
"use strict";
|
|
1958
|
-
init_platform();
|
|
1959
|
-
}
|
|
1960
|
-
});
|
|
1961
|
-
|
|
1962
|
-
// src/shared/os/types/platform.ts
|
|
1963
|
-
var init_platform2 = __esm({
|
|
1964
|
-
"src/shared/os/types/platform.ts"() {
|
|
1965
|
-
"use strict";
|
|
1966
|
-
}
|
|
1967
|
-
});
|
|
1968
|
-
|
|
1969
|
-
// src/shared/os/types/index.ts
|
|
1970
|
-
var init_types7 = __esm({
|
|
1971
|
-
"src/shared/os/types/index.ts"() {
|
|
1275
|
+
// src/shared/os/types.ts
|
|
1276
|
+
var init_types8 = __esm({
|
|
1277
|
+
"src/shared/os/types.ts"() {
|
|
1972
1278
|
"use strict";
|
|
1973
|
-
init_platform2();
|
|
1974
1279
|
}
|
|
1975
1280
|
});
|
|
1976
1281
|
|
|
@@ -1979,32 +1284,20 @@ var init_os = __esm({
|
|
|
1979
1284
|
"src/shared/os/index.ts"() {
|
|
1980
1285
|
"use strict";
|
|
1981
1286
|
init_constants11();
|
|
1982
|
-
|
|
1287
|
+
init_types8();
|
|
1983
1288
|
}
|
|
1984
1289
|
});
|
|
1985
1290
|
|
|
1986
|
-
// src/shared/verification/constants
|
|
1987
|
-
var CHECKLIST;
|
|
1988
|
-
var
|
|
1989
|
-
"src/shared/verification/constants
|
|
1291
|
+
// src/shared/verification/constants.ts
|
|
1292
|
+
var VERIFICATION_SIGNALS, CHECKLIST_PATTERNS, CHECKLIST, CATEGORY_ID, CATEGORY_LABEL, CATEGORY_DESCRIPTION, CATEGORY_ICON, CHECKLIST_CATEGORIES;
|
|
1293
|
+
var init_constants12 = __esm({
|
|
1294
|
+
"src/shared/verification/constants.ts"() {
|
|
1990
1295
|
"use strict";
|
|
1991
|
-
|
|
1992
|
-
|
|
1993
|
-
/**
|
|
1994
|
-
|
|
1995
|
-
/** Minimum required items for valid checklist */
|
|
1996
|
-
MIN_ITEMS: 1,
|
|
1997
|
-
/** Maximum items to show in error messages */
|
|
1998
|
-
MAX_ERROR_ITEMS: 5
|
|
1296
|
+
init_constants2();
|
|
1297
|
+
VERIFICATION_SIGNALS = {
|
|
1298
|
+
/** Trigger for all-encompassing system check at the end of a mission */
|
|
1299
|
+
FINAL_PASS: "Full System Verification"
|
|
1999
1300
|
};
|
|
2000
|
-
}
|
|
2001
|
-
});
|
|
2002
|
-
|
|
2003
|
-
// src/shared/verification/constants/patterns.ts
|
|
2004
|
-
var CHECKLIST_PATTERNS;
|
|
2005
|
-
var init_patterns = __esm({
|
|
2006
|
-
"src/shared/verification/constants/patterns.ts"() {
|
|
2007
|
-
"use strict";
|
|
2008
1301
|
CHECKLIST_PATTERNS = {
|
|
2009
1302
|
/** Incomplete item: - [ ] */
|
|
2010
1303
|
INCOMPLETE: /^[-*]\s*\[\s*\]\s+(.+)$/gm,
|
|
@@ -2019,14 +1312,14 @@ var init_patterns = __esm({
|
|
|
2019
1312
|
/** Mark as complete indicator (x or X) */
|
|
2020
1313
|
COMPLETE_MARK: /^x$/i
|
|
2021
1314
|
};
|
|
2022
|
-
|
|
2023
|
-
|
|
2024
|
-
|
|
2025
|
-
|
|
2026
|
-
|
|
2027
|
-
|
|
2028
|
-
|
|
2029
|
-
|
|
1315
|
+
CHECKLIST = {
|
|
1316
|
+
/** Path to the verification checklist file */
|
|
1317
|
+
FILE: `${PATHS.OPENCODE}/verification-checklist.md`,
|
|
1318
|
+
/** Minimum required items for valid checklist */
|
|
1319
|
+
MIN_ITEMS: 1,
|
|
1320
|
+
/** Maximum items to show in error messages */
|
|
1321
|
+
MAX_ERROR_ITEMS: 5
|
|
1322
|
+
};
|
|
2030
1323
|
CATEGORY_ID = {
|
|
2031
1324
|
CODE_QUALITY: "code-quality",
|
|
2032
1325
|
UNIT_TESTS: "unit-tests",
|
|
@@ -2072,39 +1365,9 @@ var init_categories = __esm({
|
|
|
2072
1365
|
}
|
|
2073
1366
|
});
|
|
2074
1367
|
|
|
2075
|
-
// src/shared/verification/
|
|
2076
|
-
var
|
|
2077
|
-
|
|
2078
|
-
"src/shared/verification/constants/signals.ts"() {
|
|
2079
|
-
"use strict";
|
|
2080
|
-
VERIFICATION_SIGNALS = {
|
|
2081
|
-
/** Trigger for all-encompassing system check at the end of a mission */
|
|
2082
|
-
FINAL_PASS: "Full System Verification"
|
|
2083
|
-
};
|
|
2084
|
-
}
|
|
2085
|
-
});
|
|
2086
|
-
|
|
2087
|
-
// src/shared/verification/constants/index.ts
|
|
2088
|
-
var init_constants12 = __esm({
|
|
2089
|
-
"src/shared/verification/constants/index.ts"() {
|
|
2090
|
-
"use strict";
|
|
2091
|
-
init_checklist();
|
|
2092
|
-
init_patterns();
|
|
2093
|
-
init_categories();
|
|
2094
|
-
init_signals();
|
|
2095
|
-
}
|
|
2096
|
-
});
|
|
2097
|
-
|
|
2098
|
-
// src/shared/verification/interfaces/index.ts
|
|
2099
|
-
var init_interfaces8 = __esm({
|
|
2100
|
-
"src/shared/verification/interfaces/index.ts"() {
|
|
2101
|
-
"use strict";
|
|
2102
|
-
}
|
|
2103
|
-
});
|
|
2104
|
-
|
|
2105
|
-
// src/shared/verification/types/index.ts
|
|
2106
|
-
var init_types8 = __esm({
|
|
2107
|
-
"src/shared/verification/types/index.ts"() {
|
|
1368
|
+
// src/shared/verification/types.ts
|
|
1369
|
+
var init_types9 = __esm({
|
|
1370
|
+
"src/shared/verification/types.ts"() {
|
|
2108
1371
|
"use strict";
|
|
2109
1372
|
}
|
|
2110
1373
|
});
|
|
@@ -2114,8 +1377,7 @@ var init_verification = __esm({
|
|
|
2114
1377
|
"src/shared/verification/index.ts"() {
|
|
2115
1378
|
"use strict";
|
|
2116
1379
|
init_constants12();
|
|
2117
|
-
|
|
2118
|
-
init_types8();
|
|
1380
|
+
init_types9();
|
|
2119
1381
|
}
|
|
2120
1382
|
});
|
|
2121
1383
|
|
|
@@ -2196,17 +1458,17 @@ var init_shutdown_manager = __esm({
|
|
|
2196
1458
|
});
|
|
2197
1459
|
|
|
2198
1460
|
// src/shared/lifecycle/index.ts
|
|
2199
|
-
var
|
|
1461
|
+
var init_lifecycle = __esm({
|
|
2200
1462
|
"src/shared/lifecycle/index.ts"() {
|
|
2201
1463
|
"use strict";
|
|
2202
1464
|
init_shutdown_manager();
|
|
2203
1465
|
}
|
|
2204
1466
|
});
|
|
2205
1467
|
|
|
2206
|
-
// src/shared/errors/constants
|
|
2207
|
-
var ERROR_PATTERNS;
|
|
2208
|
-
var
|
|
2209
|
-
"src/shared/errors/constants
|
|
1468
|
+
// src/shared/errors/constants.ts
|
|
1469
|
+
var ERROR_PATTERNS, ERROR_TYPE;
|
|
1470
|
+
var init_constants13 = __esm({
|
|
1471
|
+
"src/shared/errors/constants.ts"() {
|
|
2210
1472
|
"use strict";
|
|
2211
1473
|
ERROR_PATTERNS = {
|
|
2212
1474
|
TOOL_RESULT_MISSING: /tool_result_missing|tool result.*missing/i,
|
|
@@ -2218,14 +1480,6 @@ var init_error_patterns = __esm({
|
|
|
2218
1480
|
NETWORK_ERROR: /network|ECONNREFUSED|ETIMEDOUT|fetch failed/i,
|
|
2219
1481
|
AUTH_ERROR: /unauthorized|401|403|invalid.*token/i
|
|
2220
1482
|
};
|
|
2221
|
-
}
|
|
2222
|
-
});
|
|
2223
|
-
|
|
2224
|
-
// src/shared/errors/constants/error-type.ts
|
|
2225
|
-
var ERROR_TYPE;
|
|
2226
|
-
var init_error_type = __esm({
|
|
2227
|
-
"src/shared/errors/constants/error-type.ts"() {
|
|
2228
|
-
"use strict";
|
|
2229
1483
|
ERROR_TYPE = {
|
|
2230
1484
|
TOOL_RESULT_MISSING: "TOOL_RESULT_MISSING",
|
|
2231
1485
|
THINKING_BLOCK_ORDER: "THINKING_BLOCK_ORDER",
|
|
@@ -2239,30 +1493,6 @@ var init_error_type = __esm({
|
|
|
2239
1493
|
}
|
|
2240
1494
|
});
|
|
2241
1495
|
|
|
2242
|
-
// src/shared/errors/constants/index.ts
|
|
2243
|
-
var init_constants13 = __esm({
|
|
2244
|
-
"src/shared/errors/constants/index.ts"() {
|
|
2245
|
-
"use strict";
|
|
2246
|
-
init_error_patterns();
|
|
2247
|
-
init_error_type();
|
|
2248
|
-
}
|
|
2249
|
-
});
|
|
2250
|
-
|
|
2251
|
-
// src/shared/errors/types/error-pattern-type.ts
|
|
2252
|
-
var init_error_pattern_type = __esm({
|
|
2253
|
-
"src/shared/errors/types/error-pattern-type.ts"() {
|
|
2254
|
-
"use strict";
|
|
2255
|
-
}
|
|
2256
|
-
});
|
|
2257
|
-
|
|
2258
|
-
// src/shared/errors/types/index.ts
|
|
2259
|
-
var init_types9 = __esm({
|
|
2260
|
-
"src/shared/errors/types/index.ts"() {
|
|
2261
|
-
"use strict";
|
|
2262
|
-
init_error_pattern_type();
|
|
2263
|
-
}
|
|
2264
|
-
});
|
|
2265
|
-
|
|
2266
1496
|
// src/shared/errors/detection.ts
|
|
2267
1497
|
function detectErrorType(error95) {
|
|
2268
1498
|
const errorStr = typeof error95 === "string" ? error95 : error95?.message || error95?.name || String(error95);
|
|
@@ -2276,7 +1506,7 @@ function detectErrorType(error95) {
|
|
|
2276
1506
|
var init_detection = __esm({
|
|
2277
1507
|
"src/shared/errors/detection.ts"() {
|
|
2278
1508
|
"use strict";
|
|
2279
|
-
|
|
1509
|
+
init_constants13();
|
|
2280
1510
|
}
|
|
2281
1511
|
});
|
|
2282
1512
|
|
|
@@ -2284,7 +1514,7 @@ var init_detection = __esm({
|
|
|
2284
1514
|
var init_retry = __esm({
|
|
2285
1515
|
"src/shared/errors/retry.ts"() {
|
|
2286
1516
|
"use strict";
|
|
2287
|
-
|
|
1517
|
+
init_constants13();
|
|
2288
1518
|
init_recovery();
|
|
2289
1519
|
}
|
|
2290
1520
|
});
|
|
@@ -2294,297 +1524,19 @@ var init_errors = __esm({
|
|
|
2294
1524
|
"src/shared/errors/index.ts"() {
|
|
2295
1525
|
"use strict";
|
|
2296
1526
|
init_constants13();
|
|
2297
|
-
init_types9();
|
|
2298
1527
|
init_detection();
|
|
2299
1528
|
init_retry();
|
|
2300
1529
|
}
|
|
2301
1530
|
});
|
|
2302
1531
|
|
|
2303
|
-
// src/shared/prompt/constants
|
|
2304
|
-
var PROMPT_TAGS, wrapTag;
|
|
2305
|
-
var
|
|
2306
|
-
"src/shared/prompt/constants
|
|
2307
|
-
"use strict";
|
|
2308
|
-
PROMPT_TAGS = {
|
|
2309
|
-
// === Common ===
|
|
2310
|
-
ROLE: { open: "<role>", close: "</role>" },
|
|
2311
|
-
IDENTITY: { open: "<identity>", close: "</identity>" },
|
|
2312
|
-
FORBIDDEN_ACTIONS: { open: "<forbidden_actions>", close: "</forbidden_actions>" },
|
|
2313
|
-
REQUIRED_ACTIONS: { open: "<required_actions>", close: "</required_actions>" },
|
|
2314
|
-
VERIFICATION: { open: "<verification>", close: "</verification>" },
|
|
2315
|
-
ENVIRONMENT_DISCOVERY: { open: "<environment_discovery>", close: "</environment_discovery>" },
|
|
2316
|
-
ANTI_HALLUCINATION: { open: "<anti_hallucination>", close: "</anti_hallucination>" },
|
|
2317
|
-
TODO_RULES: { open: "<todo_rules>", close: "</todo_rules>" },
|
|
2318
|
-
COMPLETE_SIGNAL: { open: "<complete_signal>", close: "</complete_signal>" },
|
|
2319
|
-
SHARED_WORKSPACE: { open: "<shared_workspace>", close: "</shared_workspace>" },
|
|
2320
|
-
CORE_PHILOSOPHY: { open: "<core_philosophy>", close: "</core_philosophy>" },
|
|
2321
|
-
SYSTEM: { open: "<system>", close: "</system>" },
|
|
2322
|
-
TASK: { open: "<task>", close: "</task>" },
|
|
2323
|
-
CONTEXT: { open: "<context>", close: "</context>" },
|
|
2324
|
-
EXECUTION: { open: "<execution>", close: "</execution>" },
|
|
2325
|
-
MODE: { open: "<mode>", close: "</mode>" },
|
|
2326
|
-
RESUME: { open: "<resume>", close: "</resume>" },
|
|
2327
|
-
SAFETY: { open: "<safety>", close: "</safety>" },
|
|
2328
|
-
AST_TOOLS: { open: "<ast_tools>", close: "</ast_tools>" },
|
|
2329
|
-
LSP_TOOLS: { open: "<lsp_tools>", close: "</lsp_tools>" },
|
|
2330
|
-
SKILLS_CAPABILITIES: { open: "<skills_capabilities>", close: "</skills_capabilities>" },
|
|
2331
|
-
DECOMPOSITION_RULES: { open: "<decomposition_rules>", close: "</decomposition_rules>" },
|
|
2332
|
-
EXECUTION_ASSURANCE: { open: "<execution_assurance>", close: "</execution_assurance>" },
|
|
2333
|
-
// === Commander ===
|
|
2334
|
-
TOOLS: { open: "<tools>", close: "</tools>" },
|
|
2335
|
-
AGENTS: { open: "<agents>", close: "</agents>" },
|
|
2336
|
-
EXECUTION_RULES: { open: "<execution_rules>", close: "</execution_rules>" },
|
|
2337
|
-
EXECUTION_STRATEGY: { open: "<execution_strategy>", close: "</execution_strategy>" },
|
|
2338
|
-
PARALLEL_EXECUTION: { open: "<parallel_execution>", close: "</parallel_execution>" },
|
|
2339
|
-
TODO_FORMAT: { open: "<todo_format>", close: "</todo_format>" },
|
|
2340
|
-
SYNC_ISSUE_HANDLING: { open: "<sync_issue_handling>", close: "</sync_issue_handling>" },
|
|
2341
|
-
LOOP_CONTINUATION: { open: "<loop_continuation>", close: "</loop_continuation>" },
|
|
2342
|
-
RECOVERY: { open: "<recovery>", close: "</recovery>" },
|
|
2343
|
-
// === Planner ===
|
|
2344
|
-
FILE_LEVEL_PLANNING: { open: "<file_level_planning>", close: "</file_level_planning>" },
|
|
2345
|
-
TODO_SYNC: { open: "<todo_sync>", close: "</todo_sync>" },
|
|
2346
|
-
PLANNING_FORMAT: { open: "<planning_format>", close: "</planning_format>" },
|
|
2347
|
-
RESEARCH_WORKFLOW: { open: "<research_workflow>", close: "</research_workflow>" },
|
|
2348
|
-
// === Worker ===
|
|
2349
|
-
FILE_ASSIGNMENT: { open: "<file_assignment>", close: "</file_assignment>" },
|
|
2350
|
-
TDD_WORKFLOW: { open: "<tdd_workflow>", close: "</tdd_workflow>" },
|
|
2351
|
-
ISOLATION_TESTING: { open: "<isolation_testing>", close: "</isolation_testing>" },
|
|
2352
|
-
WORKFLOW: { open: "<workflow>", close: "</workflow>" },
|
|
2353
|
-
QUALITY_CHECKLIST: { open: "<quality_checklist>", close: "</quality_checklist>" },
|
|
2354
|
-
// === Reviewer ===
|
|
2355
|
-
SYNC_VERIFICATION: { open: "<sync_verification>", close: "</sync_verification>" },
|
|
2356
|
-
ASYNC_MONITORING: { open: "<async_monitoring>", close: "</async_monitoring>" },
|
|
2357
|
-
INTEGRATION_TESTING: { open: "<integration_testing>", close: "</integration_testing>" },
|
|
2358
|
-
VERIFICATION_PROCESS: { open: "<verification_process>", close: "</verification_process>" },
|
|
2359
|
-
TODO_MANAGEMENT: { open: "<todo_management>", close: "</todo_management>" },
|
|
2360
|
-
OUTPUT_FORMAT: { open: "<output_format>", close: "</output_format>" },
|
|
2361
|
-
// === Mission Loop ===
|
|
2362
|
-
MISSION_LOOP: { open: "<mission_loop>", close: "</mission_loop>" },
|
|
2363
|
-
TODO_CONTINUATION: { open: "<todo_continuation>", close: "</todo_continuation>" },
|
|
2364
|
-
AUTONOMOUS_MODE: { open: "<autonomous_mode>", close: "</autonomous_mode>" }
|
|
2365
|
-
};
|
|
2366
|
-
wrapTag = (tag, content) => {
|
|
2367
|
-
return `${tag.open}
|
|
2368
|
-
${content}
|
|
2369
|
-
${tag.close}`;
|
|
2370
|
-
};
|
|
2371
|
-
}
|
|
2372
|
-
});
|
|
2373
|
-
|
|
2374
|
-
// src/shared/prompt/constants/status.ts
|
|
2375
|
-
var WORK_STATUS;
|
|
2376
|
-
var init_status = __esm({
|
|
2377
|
-
"src/shared/prompt/constants/status.ts"() {
|
|
2378
|
-
"use strict";
|
|
2379
|
-
init_status_labels();
|
|
2380
|
-
WORK_STATUS = {
|
|
2381
|
-
// File action types
|
|
2382
|
-
ACTION: {
|
|
2383
|
-
CREATE: "CREATE",
|
|
2384
|
-
MODIFY: "MODIFY",
|
|
2385
|
-
DELETE: "DELETE",
|
|
2386
|
-
FIX: "FIX"
|
|
2387
|
-
},
|
|
2388
|
-
// Task/file status (Internal state)
|
|
2389
|
-
STATUS: {
|
|
2390
|
-
PENDING: STATUS_LABEL.PENDING,
|
|
2391
|
-
IN_PROGRESS: STATUS_LABEL.IN_PROGRESS,
|
|
2392
|
-
DONE: STATUS_LABEL.DONE,
|
|
2393
|
-
FAILED: STATUS_LABEL.FAILED
|
|
2394
|
-
},
|
|
2395
|
-
// Test result
|
|
2396
|
-
TEST_RESULT: {
|
|
2397
|
-
PASS: STATUS_LABEL.PASS,
|
|
2398
|
-
FAIL: STATUS_LABEL.FAIL,
|
|
2399
|
-
SKIP: STATUS_LABEL.SKIP
|
|
2400
|
-
},
|
|
2401
|
-
// E2E integration test status
|
|
2402
|
-
E2E_STATUS: {
|
|
2403
|
-
NOT_STARTED: "NOT_STARTED",
|
|
2404
|
-
RUNNING: STATUS_LABEL.RUNNING,
|
|
2405
|
-
PASS: STATUS_LABEL.PASS,
|
|
2406
|
-
FAIL: STATUS_LABEL.FAIL
|
|
2407
|
-
},
|
|
2408
|
-
// Mission phase
|
|
2409
|
-
PHASE: {
|
|
2410
|
-
PLANNING: "PLANNING",
|
|
2411
|
-
IMPLEMENTATION: "IMPLEMENTATION",
|
|
2412
|
-
E2E: "E2E",
|
|
2413
|
-
FIXING: "FIXING",
|
|
2414
|
-
VERIFYING: "VERIFYING"
|
|
2415
|
-
},
|
|
2416
|
-
// Issue severity
|
|
2417
|
-
SEVERITY: {
|
|
2418
|
-
HIGH: "HIGH",
|
|
2419
|
-
MEDIUM: "MEDIUM",
|
|
2420
|
-
LOW: "LOW"
|
|
2421
|
-
},
|
|
2422
|
-
// Research/documentation confidence level
|
|
2423
|
-
CONFIDENCE: {
|
|
2424
|
-
HIGH: "HIGH",
|
|
2425
|
-
// Official documentation
|
|
2426
|
-
MEDIUM: "MEDIUM",
|
|
2427
|
-
// GitHub, verified sources
|
|
2428
|
-
LOW: "LOW"
|
|
2429
|
-
// Blog posts, unverified
|
|
2430
|
-
},
|
|
2431
|
-
// Session state
|
|
2432
|
-
SESSION: {
|
|
2433
|
-
STARTED: STATUS_LABEL.PENDING,
|
|
2434
|
-
// Standardized mapping
|
|
2435
|
-
COMPLETED: STATUS_LABEL.DONE,
|
|
2436
|
-
CANCELLED: STATUS_LABEL.CANCELLED
|
|
2437
|
-
},
|
|
2438
|
-
// Task triage - complexity classification
|
|
2439
|
-
TRIAGE: {
|
|
2440
|
-
TYPE: {
|
|
2441
|
-
SIMPLE: "Simple",
|
|
2442
|
-
MEDIUM: "Medium",
|
|
2443
|
-
COMPLEX: "Complex"
|
|
2444
|
-
},
|
|
2445
|
-
SIGNAL: {
|
|
2446
|
-
ONE_FILE: "One file",
|
|
2447
|
-
MULTI_FILE: "Multi-file",
|
|
2448
|
-
LARGE_SCOPE: "Large scope"
|
|
2449
|
-
},
|
|
2450
|
-
APPROACH: {
|
|
2451
|
-
DIRECT: "Direct action",
|
|
2452
|
-
PLAN_EXECUTE_VERIFY: "Plan - Execute - Verify",
|
|
2453
|
-
RESEARCH_PLAN_PARALLEL: "Research - Plan - Parallel Execute"
|
|
2454
|
-
}
|
|
2455
|
-
},
|
|
2456
|
-
// TODO.md status values (for Epic/Task display)
|
|
2457
|
-
TODO_STATUS: {
|
|
2458
|
-
PENDING: STATUS_LABEL.PENDING,
|
|
2459
|
-
IN_PROGRESS: STATUS_LABEL.IN_PROGRESS,
|
|
2460
|
-
COMPLETE: STATUS_LABEL.COMPLETED,
|
|
2461
|
-
BLOCKED: STATUS_LABEL.BLOCKED,
|
|
2462
|
-
DONE: STATUS_LABEL.DONE,
|
|
2463
|
-
VERIFIED: STATUS_LABEL.VERIFIED
|
|
2464
|
-
},
|
|
2465
|
-
// Task size estimation
|
|
2466
|
-
TASK_SIZE: {
|
|
2467
|
-
XS: "XS",
|
|
2468
|
-
// <10min
|
|
2469
|
-
S: "S",
|
|
2470
|
-
// 10-20min
|
|
2471
|
-
M: "M",
|
|
2472
|
-
// 20-40min
|
|
2473
|
-
L: "L"
|
|
2474
|
-
// 40-60min
|
|
2475
|
-
}
|
|
2476
|
-
};
|
|
2477
|
-
}
|
|
2478
|
-
});
|
|
2479
|
-
|
|
2480
|
-
// src/shared/prompt/constants/philosophy.ts
|
|
2481
|
-
var PHILOSOPHY_PHASES, EXECUTION_CYCLE, EXECUTION_CYCLE_STEPS, PHILOSOPHY_TAGLINE, PHILOSOPHY_QUOTE, PHILOSOPHY_LEARN_PRINCIPLE;
|
|
2482
|
-
var init_philosophy = __esm({
|
|
2483
|
-
"src/shared/prompt/constants/philosophy.ts"() {
|
|
2484
|
-
"use strict";
|
|
2485
|
-
PHILOSOPHY_PHASES = {
|
|
2486
|
-
EXPLORE: "EXPLORE",
|
|
2487
|
-
LEARN: "LEARN",
|
|
2488
|
-
ADAPT: "ADAPT",
|
|
2489
|
-
ACT: "ACT"
|
|
2490
|
-
};
|
|
2491
|
-
EXECUTION_CYCLE = {
|
|
2492
|
-
THINK: "THINK",
|
|
2493
|
-
ACT: "ACT",
|
|
2494
|
-
OBSERVE: "OBSERVE",
|
|
2495
|
-
ADJUST: "ADJUST"
|
|
2496
|
-
};
|
|
2497
|
-
EXECUTION_CYCLE_STEPS = `1. ${EXECUTION_CYCLE.THINK} - Reason about the task
|
|
2498
|
-
2. ${EXECUTION_CYCLE.ACT} - Execute the work
|
|
2499
|
-
3. ${EXECUTION_CYCLE.OBSERVE} - Check the result
|
|
2500
|
-
4. ${EXECUTION_CYCLE.ADJUST} - Fix if needed`;
|
|
2501
|
-
PHILOSOPHY_TAGLINE = "Explore \u2192 Learn \u2192 Adapt \u2192 Act";
|
|
2502
|
-
PHILOSOPHY_QUOTE = "Like an astronaut landing on unknown planets \u2014 never assume, always discover.";
|
|
2503
|
-
PHILOSOPHY_LEARN_PRINCIPLE = "LEARN = DOCUMENT: What you discover, you record. Your learnings become the team's knowledge.";
|
|
2504
|
-
}
|
|
2505
|
-
});
|
|
2506
|
-
|
|
2507
|
-
// src/shared/prompt/constants/mandates.ts
|
|
2508
|
-
var PHASE_0_DIRECT_DISCOVERY, PHASE_1_THINK_ANALYSIS, PHASE_5_MSVP, HPFA_RULES, AUTONOMOUS_MANDATE;
|
|
2509
|
-
var init_mandates = __esm({
|
|
2510
|
-
"src/shared/prompt/constants/mandates.ts"() {
|
|
2511
|
-
"use strict";
|
|
2512
|
-
init_paths();
|
|
2513
|
-
PHASE_0_DIRECT_DISCOVERY = `**Direct Project Discovery**:
|
|
2514
|
-
0. **FRESH START**: If ${PATHS.TODO} exists, read it to understand progress. If starting a new project, create it.
|
|
2515
|
-
1. **STRUCTURE**: Deeply map project layout (\`ls -la\`, \`find\`).
|
|
2516
|
-
2. **ENVIRONMENT**: Identify build/test/lint commands by reading config files (package.json, Cargo.toml, pyproject.toml, etc.).
|
|
2517
|
-
3. **FRONTIER**: Identify the "Verification Frontier" (CI/CD workflows, Makefile, docker-compose).
|
|
2518
|
-
4. **CONSOLIDATE**: Sync all environmental findings to ${PATHS.CONTEXT}.`;
|
|
2519
|
-
PHASE_1_THINK_ANALYSIS = `### 1.1 ANALYZE & SCOPE
|
|
2520
|
-
- **Define FULL scope** based on user request and discovered context.
|
|
2521
|
-
- **Hierarchical Breakdown**: Milestones -> Tasks -> Sub-tasks.
|
|
2522
|
-
|
|
2523
|
-
### 1.2 STRATEGIC DECOMPOSITION
|
|
2524
|
-
- **Independent Items**: Identify what can run in parallel.
|
|
2525
|
-
- **Dependency Map**: Clearly define \`depends:\` links.
|
|
2526
|
-
|
|
2527
|
-
### 1.3 DELEGATION
|
|
2528
|
-
- **Parallel Workers**: Assign workers for independent branches.
|
|
2529
|
-
- **Granular Review**: Assign reviewers for verification.`;
|
|
2530
|
-
PHASE_5_MSVP = `1. **UNIT VERIFICATION**: Every sub-task must be verified by tool output.
|
|
2531
|
-
2. **HIERARCHICAL ROLL-UP**: A task is complete only when all its sub-tasks pass.
|
|
2532
|
-
3. **AUTONOMOUS COMPLETION**: No stopping until every \`[ ]\` in ${PATHS.TODO} is converted to \`[x]\`.
|
|
2533
|
-
4. **LOOP PERSISTENCE**: The system will automatically restart this session if work remains.`;
|
|
2534
|
-
HPFA_RULES = `1. **Commander-Only Spawning**: All agents are spawned by the Commander.
|
|
2535
|
-
2. **Parallel Branches**: Execute non-dependent milestones/tasks simultaneously.
|
|
2536
|
-
3. **Recursive Breakdown**: Continue subdividing until tasks are atomic.
|
|
2537
|
-
4. **Autonomous Termination**: You only finish when the verification checklist and TODOs are 100% complete.`;
|
|
2538
|
-
AUTONOMOUS_MANDATE = `
|
|
2539
|
-
## AUTONOMOUS COMPLETION MANDATE (MANDATORY)
|
|
2540
|
-
1. **ZERO TOLERANCE**: Finishing with incomplete \`[ ]\` items is a FAILURE.
|
|
2541
|
-
2. **FORCED CONTINUATION**: If you stop prematurely, the system will inject a "CONTINUE" prompt and iteration count.
|
|
2542
|
-
3. **HIERARCHICAL PROOF**: You must provide evidence (tool output) for every \`[x]\` mark.
|
|
2543
|
-
4. **NO PERMISSION**: Do not ask "Should I continue?". The answer is always YES until \`.opencode/todo.md\` is 100% checked.
|
|
2544
|
-
`;
|
|
2545
|
-
}
|
|
2546
|
-
});
|
|
2547
|
-
|
|
2548
|
-
// src/shared/prompt/constants/scouts.ts
|
|
2549
|
-
var SCOUT_LABEL, SCOUT_STRUCTURE, SCOUT_STACK, SCOUT_DOCS, SCOUT_INFRA, SCOUT_INTEGRATION;
|
|
2550
|
-
var init_scouts = __esm({
|
|
2551
|
-
"src/shared/prompt/constants/scouts.ts"() {
|
|
2552
|
-
"use strict";
|
|
2553
|
-
SCOUT_LABEL = "Scout";
|
|
2554
|
-
SCOUT_STRUCTURE = {
|
|
2555
|
-
ID: "STRUCTURE",
|
|
2556
|
-
NAME: `${SCOUT_LABEL}: Structure`,
|
|
2557
|
-
PROMPT: "Analyze the project folder structure. Locate source code (src, lib), tests, and documentation directories. Map out the tree at depth 2-3."
|
|
2558
|
-
};
|
|
2559
|
-
SCOUT_STACK = {
|
|
2560
|
-
ID: "STACK",
|
|
2561
|
-
NAME: `${SCOUT_LABEL}: Stack`,
|
|
2562
|
-
PROMPT: "Identify the technology stack. Parse package.json, Cargo.toml, go.mod, or pyproject.toml. Determine build and test commands."
|
|
2563
|
-
};
|
|
2564
|
-
SCOUT_DOCS = {
|
|
2565
|
-
ID: "DOCS",
|
|
2566
|
-
NAME: `${SCOUT_LABEL}: Docs`,
|
|
2567
|
-
PROMPT: "Digest the project documentation. Read README.md, CONTRIBUTING.md, and any files in docs/ to understand the core architecture and mission."
|
|
2568
|
-
};
|
|
2569
|
-
SCOUT_INFRA = {
|
|
2570
|
-
ID: "INFRA",
|
|
2571
|
-
NAME: `${SCOUT_LABEL}: Infra`,
|
|
2572
|
-
PROMPT: "Detect infrastructure and environment configs. Search for Dockerfiles, CI/CD workflows (.github, .gitlab), and environment variable templates."
|
|
2573
|
-
};
|
|
2574
|
-
SCOUT_INTEGRATION = {
|
|
2575
|
-
ID: "INTEGRATION",
|
|
2576
|
-
NAME: `${SCOUT_LABEL}: Integration`,
|
|
2577
|
-
PROMPT: "Read all modified files and their cross-module dependencies in parallel. Map the actual integration surface and identify potential consistency issues."
|
|
2578
|
-
};
|
|
2579
|
-
}
|
|
2580
|
-
});
|
|
2581
|
-
|
|
2582
|
-
// src/shared/prompt/constants/architecture.ts
|
|
2583
|
-
var AGENT_ROLES, TERMINAL_NODE, SPAWNING_RULES;
|
|
2584
|
-
var init_architecture = __esm({
|
|
2585
|
-
"src/shared/prompt/constants/architecture.ts"() {
|
|
1532
|
+
// src/shared/prompt/constants.ts
|
|
1533
|
+
var AGENT_ROLES, TERMINAL_NODE, SPAWNING_RULES, PHASE_0_DIRECT_DISCOVERY, PHASE_1_THINK_ANALYSIS, PHASE_5_MSVP, HPFA_RULES, AUTONOMOUS_MANDATE, PHILOSOPHY_PHASES, EXECUTION_CYCLE, EXECUTION_CYCLE_STEPS, PHILOSOPHY_TAGLINE, PHILOSOPHY_QUOTE, PHILOSOPHY_LEARN_PRINCIPLE, SCOUT_LABEL, SCOUT_STRUCTURE, SCOUT_STACK, SCOUT_DOCS, SCOUT_INFRA, SCOUT_INTEGRATION, WORK_STATUS, PROMPT_TAGS, wrapTag;
|
|
1534
|
+
var init_constants14 = __esm({
|
|
1535
|
+
"src/shared/prompt/constants.ts"() {
|
|
2586
1536
|
"use strict";
|
|
2587
|
-
|
|
1537
|
+
init_agent();
|
|
1538
|
+
init_constants2();
|
|
1539
|
+
init_constants2();
|
|
2588
1540
|
AGENT_ROLES = {
|
|
2589
1541
|
/** Only Commander can spawn other agents */
|
|
2590
1542
|
SPAWNER: AGENT_NAMES.COMMANDER,
|
|
@@ -2607,19 +1559,243 @@ var init_architecture = __esm({
|
|
|
2607
1559
|
/** Error message for blocked spawn attempts */
|
|
2608
1560
|
BLOCKED_MESSAGE: `You are a ${TERMINAL_NODE.LABEL} - ${TERMINAL_NODE.REASON}`
|
|
2609
1561
|
};
|
|
2610
|
-
|
|
2611
|
-
}
|
|
1562
|
+
PHASE_0_DIRECT_DISCOVERY = `**Direct Project Discovery**:
|
|
1563
|
+
0. **FRESH START**: If ${PATHS.TODO} exists, read it to understand progress. If starting a new project, create it.
|
|
1564
|
+
1. **STRUCTURE**: Deeply map project layout (\`ls -la\`, \`find\`).
|
|
1565
|
+
2. **ENVIRONMENT**: Identify build/test/lint commands by reading config files (package.json, Cargo.toml, pyproject.toml, etc.).
|
|
1566
|
+
3. **FRONTIER**: Identify the "Verification Frontier" (CI/CD workflows, Makefile, docker-compose).
|
|
1567
|
+
4. **CONSOLIDATE**: Sync all environmental findings to ${PATHS.CONTEXT}.`;
|
|
1568
|
+
PHASE_1_THINK_ANALYSIS = `### 1.1 ANALYZE & SCOPE
|
|
1569
|
+
- **Define FULL scope** based on user request and discovered context.
|
|
1570
|
+
- **Hierarchical Breakdown**: Milestones -> Tasks -> Sub-tasks.
|
|
2612
1571
|
|
|
2613
|
-
|
|
2614
|
-
|
|
2615
|
-
|
|
2616
|
-
|
|
2617
|
-
|
|
2618
|
-
|
|
2619
|
-
|
|
2620
|
-
|
|
2621
|
-
|
|
2622
|
-
|
|
1572
|
+
### 1.2 STRATEGIC DECOMPOSITION
|
|
1573
|
+
- **Independent Items**: Identify what can run in parallel.
|
|
1574
|
+
- **Dependency Map**: Clearly define \`depends:\` links.
|
|
1575
|
+
|
|
1576
|
+
### 1.3 DELEGATION
|
|
1577
|
+
- **Parallel Workers**: Assign workers for independent branches.
|
|
1578
|
+
- **Granular Review**: Assign reviewers for verification.`;
|
|
1579
|
+
PHASE_5_MSVP = `1. **UNIT VERIFICATION**: Every sub-task must be verified by tool output.
|
|
1580
|
+
2. **HIERARCHICAL ROLL-UP**: A task is complete only when all its sub-tasks pass.
|
|
1581
|
+
3. **AUTONOMOUS COMPLETION**: No stopping until every \`[ ]\` in ${PATHS.TODO} is converted to \`[x]\`.
|
|
1582
|
+
4. **LOOP PERSISTENCE**: The system will automatically restart this session if work remains.`;
|
|
1583
|
+
HPFA_RULES = `1. **Commander-Only Spawning**: All agents are spawned by the Commander.
|
|
1584
|
+
2. **Parallel Branches**: Execute non-dependent milestones/tasks simultaneously.
|
|
1585
|
+
3. **Recursive Breakdown**: Continue subdividing until tasks are atomic.
|
|
1586
|
+
4. **Autonomous Termination**: You only finish when the verification checklist and TODOs are 100% complete.`;
|
|
1587
|
+
AUTONOMOUS_MANDATE = `
|
|
1588
|
+
## AUTONOMOUS COMPLETION MANDATE (MANDATORY)
|
|
1589
|
+
1. **ZERO TOLERANCE**: Finishing with incomplete \`[ ]\` items is a FAILURE.
|
|
1590
|
+
2. **FORCED CONTINUATION**: If you stop prematurely, the system will inject a "CONTINUE" prompt and iteration count.
|
|
1591
|
+
3. **HIERARCHICAL PROOF**: You must provide evidence (tool output) for every \`[x]\` mark.
|
|
1592
|
+
4. **NO PERMISSION**: Do not ask "Should I continue?". The answer is always YES until \`.opencode/todo.md\` is 100% checked.
|
|
1593
|
+
`;
|
|
1594
|
+
PHILOSOPHY_PHASES = {
|
|
1595
|
+
EXPLORE: "EXPLORE",
|
|
1596
|
+
LEARN: "LEARN",
|
|
1597
|
+
ADAPT: "ADAPT",
|
|
1598
|
+
ACT: "ACT"
|
|
1599
|
+
};
|
|
1600
|
+
EXECUTION_CYCLE = {
|
|
1601
|
+
THINK: "THINK",
|
|
1602
|
+
ACT: "ACT",
|
|
1603
|
+
OBSERVE: "OBSERVE",
|
|
1604
|
+
ADJUST: "ADJUST"
|
|
1605
|
+
};
|
|
1606
|
+
EXECUTION_CYCLE_STEPS = `1. ${EXECUTION_CYCLE.THINK} - Reason about the task
|
|
1607
|
+
2. ${EXECUTION_CYCLE.ACT} - Execute the work
|
|
1608
|
+
3. ${EXECUTION_CYCLE.OBSERVE} - Check the result
|
|
1609
|
+
4. ${EXECUTION_CYCLE.ADJUST} - Fix if needed`;
|
|
1610
|
+
PHILOSOPHY_TAGLINE = "Explore \u2192 Learn \u2192 Adapt \u2192 Act";
|
|
1611
|
+
PHILOSOPHY_QUOTE = "Like an astronaut landing on unknown planets \u2014 never assume, always discover.";
|
|
1612
|
+
PHILOSOPHY_LEARN_PRINCIPLE = "LEARN = DOCUMENT: What you discover, you record. Your learnings become the team's knowledge.";
|
|
1613
|
+
SCOUT_LABEL = "Scout";
|
|
1614
|
+
SCOUT_STRUCTURE = {
|
|
1615
|
+
ID: "STRUCTURE",
|
|
1616
|
+
NAME: `${SCOUT_LABEL}: Structure`,
|
|
1617
|
+
PROMPT: "Analyze the project folder structure. Locate source code (src, lib), tests, and documentation directories. Map out the tree at depth 2-3."
|
|
1618
|
+
};
|
|
1619
|
+
SCOUT_STACK = {
|
|
1620
|
+
ID: "STACK",
|
|
1621
|
+
NAME: `${SCOUT_LABEL}: Stack`,
|
|
1622
|
+
PROMPT: "Identify the technology stack. Parse package.json, Cargo.toml, go.mod, or pyproject.toml. Determine build and test commands."
|
|
1623
|
+
};
|
|
1624
|
+
SCOUT_DOCS = {
|
|
1625
|
+
ID: "DOCS",
|
|
1626
|
+
NAME: `${SCOUT_LABEL}: Docs`,
|
|
1627
|
+
PROMPT: "Digest the project documentation. Read README.md, CONTRIBUTING.md, and any files in docs/ to understand the core architecture and mission."
|
|
1628
|
+
};
|
|
1629
|
+
SCOUT_INFRA = {
|
|
1630
|
+
ID: "INFRA",
|
|
1631
|
+
NAME: `${SCOUT_LABEL}: Infra`,
|
|
1632
|
+
PROMPT: "Detect infrastructure and environment configs. Search for Dockerfiles, CI/CD workflows (.github, .gitlab), and environment variable templates."
|
|
1633
|
+
};
|
|
1634
|
+
SCOUT_INTEGRATION = {
|
|
1635
|
+
ID: "INTEGRATION",
|
|
1636
|
+
NAME: `${SCOUT_LABEL}: Integration`,
|
|
1637
|
+
PROMPT: "Read all modified files and their cross-module dependencies in parallel. Map the actual integration surface and identify potential consistency issues."
|
|
1638
|
+
};
|
|
1639
|
+
WORK_STATUS = {
|
|
1640
|
+
// File action types
|
|
1641
|
+
ACTION: {
|
|
1642
|
+
CREATE: "CREATE",
|
|
1643
|
+
MODIFY: "MODIFY",
|
|
1644
|
+
DELETE: "DELETE",
|
|
1645
|
+
FIX: "FIX"
|
|
1646
|
+
},
|
|
1647
|
+
// Task/file status (Internal state)
|
|
1648
|
+
STATUS: {
|
|
1649
|
+
PENDING: STATUS_LABEL.PENDING,
|
|
1650
|
+
IN_PROGRESS: STATUS_LABEL.IN_PROGRESS,
|
|
1651
|
+
DONE: STATUS_LABEL.DONE,
|
|
1652
|
+
FAILED: STATUS_LABEL.FAILED
|
|
1653
|
+
},
|
|
1654
|
+
// Test result
|
|
1655
|
+
TEST_RESULT: {
|
|
1656
|
+
PASS: STATUS_LABEL.PASS,
|
|
1657
|
+
FAIL: STATUS_LABEL.FAIL,
|
|
1658
|
+
SKIP: STATUS_LABEL.SKIP
|
|
1659
|
+
},
|
|
1660
|
+
// E2E integration test status
|
|
1661
|
+
E2E_STATUS: {
|
|
1662
|
+
NOT_STARTED: "NOT_STARTED",
|
|
1663
|
+
RUNNING: STATUS_LABEL.RUNNING,
|
|
1664
|
+
PASS: STATUS_LABEL.PASS,
|
|
1665
|
+
FAIL: STATUS_LABEL.FAIL
|
|
1666
|
+
},
|
|
1667
|
+
// Mission phase
|
|
1668
|
+
PHASE: {
|
|
1669
|
+
PLANNING: "PLANNING",
|
|
1670
|
+
IMPLEMENTATION: "IMPLEMENTATION",
|
|
1671
|
+
E2E: "E2E",
|
|
1672
|
+
FIXING: "FIXING",
|
|
1673
|
+
VERIFYING: "VERIFYING"
|
|
1674
|
+
},
|
|
1675
|
+
// Issue severity
|
|
1676
|
+
SEVERITY: {
|
|
1677
|
+
HIGH: "HIGH",
|
|
1678
|
+
MEDIUM: "MEDIUM",
|
|
1679
|
+
LOW: "LOW"
|
|
1680
|
+
},
|
|
1681
|
+
// Research/documentation confidence level
|
|
1682
|
+
CONFIDENCE: {
|
|
1683
|
+
HIGH: "HIGH",
|
|
1684
|
+
// Official documentation
|
|
1685
|
+
MEDIUM: "MEDIUM",
|
|
1686
|
+
// GitHub, verified sources
|
|
1687
|
+
LOW: "LOW"
|
|
1688
|
+
// Blog posts, unverified
|
|
1689
|
+
},
|
|
1690
|
+
// Session state
|
|
1691
|
+
SESSION: {
|
|
1692
|
+
STARTED: STATUS_LABEL.PENDING,
|
|
1693
|
+
// Standardized mapping
|
|
1694
|
+
COMPLETED: STATUS_LABEL.DONE,
|
|
1695
|
+
CANCELLED: STATUS_LABEL.CANCELLED
|
|
1696
|
+
},
|
|
1697
|
+
// Task triage - complexity classification
|
|
1698
|
+
TRIAGE: {
|
|
1699
|
+
TYPE: {
|
|
1700
|
+
SIMPLE: "Simple",
|
|
1701
|
+
MEDIUM: "Medium",
|
|
1702
|
+
COMPLEX: "Complex"
|
|
1703
|
+
},
|
|
1704
|
+
SIGNAL: {
|
|
1705
|
+
ONE_FILE: "One file",
|
|
1706
|
+
MULTI_FILE: "Multi-file",
|
|
1707
|
+
LARGE_SCOPE: "Large scope"
|
|
1708
|
+
},
|
|
1709
|
+
APPROACH: {
|
|
1710
|
+
DIRECT: "Direct action",
|
|
1711
|
+
PLAN_EXECUTE_VERIFY: "Plan - Execute - Verify",
|
|
1712
|
+
RESEARCH_PLAN_PARALLEL: "Research - Plan - Parallel Execute"
|
|
1713
|
+
}
|
|
1714
|
+
},
|
|
1715
|
+
// TODO.md status values (for Epic/Task display)
|
|
1716
|
+
TODO_STATUS: {
|
|
1717
|
+
PENDING: STATUS_LABEL.PENDING,
|
|
1718
|
+
IN_PROGRESS: STATUS_LABEL.IN_PROGRESS,
|
|
1719
|
+
COMPLETE: STATUS_LABEL.COMPLETED,
|
|
1720
|
+
BLOCKED: STATUS_LABEL.BLOCKED,
|
|
1721
|
+
DONE: STATUS_LABEL.DONE,
|
|
1722
|
+
VERIFIED: STATUS_LABEL.VERIFIED
|
|
1723
|
+
},
|
|
1724
|
+
// Task size estimation
|
|
1725
|
+
TASK_SIZE: {
|
|
1726
|
+
XS: "XS",
|
|
1727
|
+
// <10min
|
|
1728
|
+
S: "S",
|
|
1729
|
+
// 10-20min
|
|
1730
|
+
M: "M",
|
|
1731
|
+
// 20-40min
|
|
1732
|
+
L: "L"
|
|
1733
|
+
// 40-60min
|
|
1734
|
+
}
|
|
1735
|
+
};
|
|
1736
|
+
PROMPT_TAGS = {
|
|
1737
|
+
// === Common ===
|
|
1738
|
+
ROLE: { open: "<role>", close: "</role>" },
|
|
1739
|
+
IDENTITY: { open: "<identity>", close: "</identity>" },
|
|
1740
|
+
FORBIDDEN_ACTIONS: { open: "<forbidden_actions>", close: "</forbidden_actions>" },
|
|
1741
|
+
REQUIRED_ACTIONS: { open: "<required_actions>", close: "</required_actions>" },
|
|
1742
|
+
VERIFICATION: { open: "<verification>", close: "</verification>" },
|
|
1743
|
+
ENVIRONMENT_DISCOVERY: { open: "<environment_discovery>", close: "</environment_discovery>" },
|
|
1744
|
+
ANTI_HALLUCINATION: { open: "<anti_hallucination>", close: "</anti_hallucination>" },
|
|
1745
|
+
TODO_RULES: { open: "<todo_rules>", close: "</todo_rules>" },
|
|
1746
|
+
COMPLETE_SIGNAL: { open: "<complete_signal>", close: "</complete_signal>" },
|
|
1747
|
+
SHARED_WORKSPACE: { open: "<shared_workspace>", close: "</shared_workspace>" },
|
|
1748
|
+
CORE_PHILOSOPHY: { open: "<core_philosophy>", close: "</core_philosophy>" },
|
|
1749
|
+
SYSTEM: { open: "<system>", close: "</system>" },
|
|
1750
|
+
TASK: { open: "<task>", close: "</task>" },
|
|
1751
|
+
CONTEXT: { open: "<context>", close: "</context>" },
|
|
1752
|
+
EXECUTION: { open: "<execution>", close: "</execution>" },
|
|
1753
|
+
MODE: { open: "<mode>", close: "</mode>" },
|
|
1754
|
+
RESUME: { open: "<resume>", close: "</resume>" },
|
|
1755
|
+
SAFETY: { open: "<safety>", close: "</safety>" },
|
|
1756
|
+
AST_TOOLS: { open: "<ast_tools>", close: "</ast_tools>" },
|
|
1757
|
+
LSP_TOOLS: { open: "<lsp_tools>", close: "</lsp_tools>" },
|
|
1758
|
+
SKILLS_CAPABILITIES: { open: "<skills_capabilities>", close: "</skills_capabilities>" },
|
|
1759
|
+
DECOMPOSITION_RULES: { open: "<decomposition_rules>", close: "</decomposition_rules>" },
|
|
1760
|
+
EXECUTION_ASSURANCE: { open: "<execution_assurance>", close: "</execution_assurance>" },
|
|
1761
|
+
// === Commander ===
|
|
1762
|
+
TOOLS: { open: "<tools>", close: "</tools>" },
|
|
1763
|
+
AGENTS: { open: "<agents>", close: "</agents>" },
|
|
1764
|
+
EXECUTION_RULES: { open: "<execution_rules>", close: "</execution_rules>" },
|
|
1765
|
+
EXECUTION_STRATEGY: { open: "<execution_strategy>", close: "</execution_strategy>" },
|
|
1766
|
+
PARALLEL_EXECUTION: { open: "<parallel_execution>", close: "</parallel_execution>" },
|
|
1767
|
+
TODO_FORMAT: { open: "<todo_format>", close: "</todo_format>" },
|
|
1768
|
+
SYNC_ISSUE_HANDLING: { open: "<sync_issue_handling>", close: "</sync_issue_handling>" },
|
|
1769
|
+
LOOP_CONTINUATION: { open: "<loop_continuation>", close: "</loop_continuation>" },
|
|
1770
|
+
RECOVERY: { open: "<recovery>", close: "</recovery>" },
|
|
1771
|
+
// === Planner ===
|
|
1772
|
+
FILE_LEVEL_PLANNING: { open: "<file_level_planning>", close: "</file_level_planning>" },
|
|
1773
|
+
TODO_SYNC: { open: "<todo_sync>", close: "</todo_sync>" },
|
|
1774
|
+
PLANNING_FORMAT: { open: "<planning_format>", close: "</planning_format>" },
|
|
1775
|
+
RESEARCH_WORKFLOW: { open: "<research_workflow>", close: "</research_workflow>" },
|
|
1776
|
+
// === Worker ===
|
|
1777
|
+
FILE_ASSIGNMENT: { open: "<file_assignment>", close: "</file_assignment>" },
|
|
1778
|
+
TDD_WORKFLOW: { open: "<tdd_workflow>", close: "</tdd_workflow>" },
|
|
1779
|
+
ISOLATION_TESTING: { open: "<isolation_testing>", close: "</isolation_testing>" },
|
|
1780
|
+
WORKFLOW: { open: "<workflow>", close: "</workflow>" },
|
|
1781
|
+
QUALITY_CHECKLIST: { open: "<quality_checklist>", close: "</quality_checklist>" },
|
|
1782
|
+
// === Reviewer ===
|
|
1783
|
+
SYNC_VERIFICATION: { open: "<sync_verification>", close: "</sync_verification>" },
|
|
1784
|
+
ASYNC_MONITORING: { open: "<async_monitoring>", close: "</async_monitoring>" },
|
|
1785
|
+
INTEGRATION_TESTING: { open: "<integration_testing>", close: "</integration_testing>" },
|
|
1786
|
+
VERIFICATION_PROCESS: { open: "<verification_process>", close: "</verification_process>" },
|
|
1787
|
+
TODO_MANAGEMENT: { open: "<todo_management>", close: "</todo_management>" },
|
|
1788
|
+
OUTPUT_FORMAT: { open: "<output_format>", close: "</output_format>" },
|
|
1789
|
+
// === Mission Loop ===
|
|
1790
|
+
MISSION_LOOP: { open: "<mission_loop>", close: "</mission_loop>" },
|
|
1791
|
+
TODO_CONTINUATION: { open: "<todo_continuation>", close: "</todo_continuation>" },
|
|
1792
|
+
AUTONOMOUS_MODE: { open: "<autonomous_mode>", close: "</autonomous_mode>" }
|
|
1793
|
+
};
|
|
1794
|
+
wrapTag = (tag, content) => {
|
|
1795
|
+
return `${tag.open}
|
|
1796
|
+
${content}
|
|
1797
|
+
${tag.close}`;
|
|
1798
|
+
};
|
|
2623
1799
|
}
|
|
2624
1800
|
});
|
|
2625
1801
|
|
|
@@ -2638,17 +1814,17 @@ var init_shared = __esm({
|
|
|
2638
1814
|
init_agent();
|
|
2639
1815
|
init_core();
|
|
2640
1816
|
init_task();
|
|
2641
|
-
|
|
1817
|
+
init_loop();
|
|
2642
1818
|
init_notification();
|
|
2643
|
-
|
|
2644
|
-
|
|
2645
|
-
|
|
1819
|
+
init_recovery();
|
|
1820
|
+
init_cache();
|
|
1821
|
+
init_session();
|
|
2646
1822
|
init_command();
|
|
2647
1823
|
init_tool();
|
|
2648
1824
|
init_message();
|
|
2649
1825
|
init_os();
|
|
2650
1826
|
init_verification();
|
|
2651
|
-
|
|
1827
|
+
init_lifecycle();
|
|
2652
1828
|
init_errors();
|
|
2653
1829
|
init_prompt();
|
|
2654
1830
|
}
|
|
@@ -2743,7 +1919,7 @@ var CORE_PHILOSOPHY;
|
|
|
2743
1919
|
var init_core2 = __esm({
|
|
2744
1920
|
"src/agents/prompts/01_philosophy/core.ts"() {
|
|
2745
1921
|
"use strict";
|
|
2746
|
-
|
|
1922
|
+
init_agent();
|
|
2747
1923
|
init_shared();
|
|
2748
1924
|
CORE_PHILOSOPHY = `${PROMPT_TAGS.CORE_PHILOSOPHY.open}
|
|
2749
1925
|
## Core Philosophy: ${PHILOSOPHY_TAGLINE}
|
|
@@ -2811,7 +1987,7 @@ var init_metadata = __esm({
|
|
|
2811
1987
|
});
|
|
2812
1988
|
|
|
2813
1989
|
// src/agents/prompts/01_philosophy/index.ts
|
|
2814
|
-
var
|
|
1990
|
+
var init_philosophy = __esm({
|
|
2815
1991
|
"src/agents/prompts/01_philosophy/index.ts"() {
|
|
2816
1992
|
"use strict";
|
|
2817
1993
|
init_execution_assurance();
|
|
@@ -3029,7 +2205,7 @@ var SKILLS_CAPABILITIES;
|
|
|
3029
2205
|
var init_discovery_skills = __esm({
|
|
3030
2206
|
"src/agents/prompts/02_discovery/discovery_skills.ts"() {
|
|
3031
2207
|
"use strict";
|
|
3032
|
-
|
|
2208
|
+
init_prompt();
|
|
3033
2209
|
SKILLS_CAPABILITIES = wrapTag(PROMPT_TAGS.SKILLS_CAPABILITIES, `
|
|
3034
2210
|
### AUTONOMOUS SKILL ACQUISITION
|
|
3035
2211
|
You have the ability to extend your capabilities using the **Skills System**.
|
|
@@ -4687,7 +3863,7 @@ var init_mission_commander = __esm({
|
|
|
4687
3863
|
});
|
|
4688
3864
|
|
|
4689
3865
|
// src/agents/prompts/06_mission/index.ts
|
|
4690
|
-
var
|
|
3866
|
+
var init_mission = __esm({
|
|
4691
3867
|
"src/agents/prompts/06_mission/index.ts"() {
|
|
4692
3868
|
"use strict";
|
|
4693
3869
|
init_mission_status_tracking();
|
|
@@ -5258,7 +4434,7 @@ var init_tools_worker = __esm({
|
|
|
5258
4434
|
});
|
|
5259
4435
|
|
|
5260
4436
|
// src/agents/prompts/08_tools/index.ts
|
|
5261
|
-
var
|
|
4437
|
+
var init_tools = __esm({
|
|
5262
4438
|
"src/agents/prompts/08_tools/index.ts"() {
|
|
5263
4439
|
"use strict";
|
|
5264
4440
|
init_tools_core();
|
|
@@ -5273,16 +4449,16 @@ var init_tools2 = __esm({
|
|
|
5273
4449
|
});
|
|
5274
4450
|
|
|
5275
4451
|
// src/agents/prompts/index.ts
|
|
5276
|
-
var
|
|
4452
|
+
var init_prompts = __esm({
|
|
5277
4453
|
"src/agents/prompts/index.ts"() {
|
|
5278
4454
|
"use strict";
|
|
5279
|
-
|
|
4455
|
+
init_philosophy();
|
|
5280
4456
|
init_shared();
|
|
5281
4457
|
init_discovery();
|
|
5282
4458
|
init_planning();
|
|
5283
4459
|
init_execution();
|
|
5284
4460
|
init_verification2();
|
|
5285
|
-
|
|
4461
|
+
init_mission();
|
|
5286
4462
|
init_commander_role();
|
|
5287
4463
|
init_commander_identity();
|
|
5288
4464
|
init_commander_forbidden();
|
|
@@ -5300,7 +4476,7 @@ var init_prompts2 = __esm({
|
|
|
5300
4476
|
init_reviewer_forbidden();
|
|
5301
4477
|
init_reviewer_required();
|
|
5302
4478
|
init_reviewer_mandate();
|
|
5303
|
-
|
|
4479
|
+
init_tools();
|
|
5304
4480
|
}
|
|
5305
4481
|
});
|
|
5306
4482
|
|
|
@@ -5313,8 +4489,8 @@ var systemPrompt, commander;
|
|
|
5313
4489
|
var init_commander = __esm({
|
|
5314
4490
|
"src/agents/commander.ts"() {
|
|
5315
4491
|
"use strict";
|
|
5316
|
-
|
|
5317
|
-
|
|
4492
|
+
init_agent();
|
|
4493
|
+
init_prompts();
|
|
5318
4494
|
systemPrompt = [
|
|
5319
4495
|
CORE_PHILOSOPHY,
|
|
5320
4496
|
COMMANDER_ROLE,
|
|
@@ -7087,12 +6263,12 @@ var MemoryManager = class _MemoryManager {
|
|
|
7087
6263
|
};
|
|
7088
6264
|
|
|
7089
6265
|
// src/agents/definitions.ts
|
|
7090
|
-
|
|
6266
|
+
init_agent();
|
|
7091
6267
|
init_commander();
|
|
7092
6268
|
|
|
7093
6269
|
// src/agents/subagents/planner.ts
|
|
7094
|
-
|
|
7095
|
-
|
|
6270
|
+
init_agent();
|
|
6271
|
+
init_prompts();
|
|
7096
6272
|
var systemPrompt2 = [
|
|
7097
6273
|
PLANNER_ROLE,
|
|
7098
6274
|
MODULARITY_ENFORCEMENT,
|
|
@@ -7121,8 +6297,8 @@ var planner = {
|
|
|
7121
6297
|
};
|
|
7122
6298
|
|
|
7123
6299
|
// src/agents/subagents/worker.ts
|
|
7124
|
-
|
|
7125
|
-
|
|
6300
|
+
init_agent();
|
|
6301
|
+
init_prompts();
|
|
7126
6302
|
var systemPrompt3 = [
|
|
7127
6303
|
WORKER_ROLE,
|
|
7128
6304
|
MODULARITY_ENFORCEMENT,
|
|
@@ -7153,8 +6329,8 @@ var worker = {
|
|
|
7153
6329
|
};
|
|
7154
6330
|
|
|
7155
6331
|
// src/agents/subagents/reviewer.ts
|
|
7156
|
-
|
|
7157
|
-
|
|
6332
|
+
init_agent();
|
|
6333
|
+
init_prompts();
|
|
7158
6334
|
var systemPrompt4 = [
|
|
7159
6335
|
REVIEWER_ROLE,
|
|
7160
6336
|
MODULARITY_ENFORCEMENT,
|
|
@@ -23038,9 +22214,6 @@ var ParallelAgentManager = class _ParallelAgentManager {
|
|
|
23038
22214
|
(task) => this.handleTaskComplete(task)
|
|
23039
22215
|
);
|
|
23040
22216
|
progressNotifier.setManager(this);
|
|
23041
|
-
this.recoverActiveTasks().catch((err) => {
|
|
23042
|
-
log("Recovery error:", err);
|
|
23043
|
-
});
|
|
23044
22217
|
}
|
|
23045
22218
|
static getInstance(client, directory, concurrencyConfig) {
|
|
23046
22219
|
if (!_ParallelAgentManager._instance) {
|
|
@@ -23193,8 +22366,6 @@ This task ensures the completeness of the unit before global integration.`,
|
|
|
23193
22366
|
}
|
|
23194
22367
|
progressNotifier.update();
|
|
23195
22368
|
}
|
|
23196
|
-
async recoverActiveTasks() {
|
|
23197
|
-
}
|
|
23198
22369
|
};
|
|
23199
22370
|
var parallelAgentManager = {
|
|
23200
22371
|
getInstance: ParallelAgentManager.getInstance.bind(ParallelAgentManager),
|
|
@@ -36441,8 +35612,8 @@ import { existsSync as existsSync4, readFileSync as readFileSync3, writeFileSync
|
|
|
36441
35612
|
import { join as join6 } from "node:path";
|
|
36442
35613
|
|
|
36443
35614
|
// src/shared/constants/system-messages.ts
|
|
36444
|
-
|
|
36445
|
-
|
|
35615
|
+
init_constants4();
|
|
35616
|
+
init_constants2();
|
|
36446
35617
|
var MISSION_MESSAGES = {
|
|
36447
35618
|
START_LOG: `[${MISSION_CONTROL.LOG_SOURCE}] Detected /task command. Starting mission...`,
|
|
36448
35619
|
CANCEL_LOG: `[${MISSION_CONTROL.LOG_SOURCE}] Detected user cancellation signal.`,
|
|
@@ -37641,20 +36812,18 @@ import { exec as exec2 } from "node:child_process";
|
|
|
37641
36812
|
import { promisify as promisify2 } from "node:util";
|
|
37642
36813
|
import { readFileSync as readFileSync5 } from "node:fs";
|
|
37643
36814
|
|
|
37644
|
-
// src/shared/notification/os-notify/constants
|
|
37645
|
-
var
|
|
36815
|
+
// src/shared/notification/os-notify/constants.ts
|
|
36816
|
+
var NOTIFICATION_COMMAND_KEYS = {
|
|
37646
36817
|
OSASCRIPT: "osascript",
|
|
37647
|
-
NOTIFY_SEND: "
|
|
36818
|
+
NOTIFY_SEND: "notifySend",
|
|
37648
36819
|
POWERSHELL: "powershell",
|
|
37649
36820
|
AFPLAY: "afplay",
|
|
37650
36821
|
PAPLAY: "paplay",
|
|
37651
36822
|
APLAY: "aplay"
|
|
37652
36823
|
};
|
|
37653
|
-
|
|
37654
|
-
// src/shared/notification/os-notify/constants/notification-command-keys.ts
|
|
37655
|
-
var NOTIFICATION_COMMAND_KEYS = {
|
|
36824
|
+
var NOTIFICATION_COMMANDS = {
|
|
37656
36825
|
OSASCRIPT: "osascript",
|
|
37657
|
-
NOTIFY_SEND: "
|
|
36826
|
+
NOTIFY_SEND: "notify-send",
|
|
37658
36827
|
POWERSHELL: "powershell",
|
|
37659
36828
|
AFPLAY: "afplay",
|
|
37660
36829
|
PAPLAY: "paplay",
|
|
@@ -39575,7 +38744,7 @@ var CleanupScheduler = class {
|
|
|
39575
38744
|
};
|
|
39576
38745
|
|
|
39577
38746
|
// src/index.ts
|
|
39578
|
-
|
|
38747
|
+
init_lifecycle();
|
|
39579
38748
|
|
|
39580
38749
|
// src/core/commands/manager.ts
|
|
39581
38750
|
init_shared();
|
|
@@ -43366,3 +42535,4 @@ var index_default = OrchestratorPlugin;
|
|
|
43366
42535
|
export {
|
|
43367
42536
|
index_default as default
|
|
43368
42537
|
};
|
|
42538
|
+
//# sourceMappingURL=index.js.map
|