opencode-orchestrator 1.2.21 → 1.2.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +41 -91
- package/dist/core/agents/adaptive-concurrency.d.ts +57 -0
- package/dist/core/agents/index.d.ts +3 -2
- package/dist/core/agents/interfaces/session-pool.interface.d.ts +7 -0
- package/dist/core/agents/manager.d.ts +8 -36
- package/dist/core/agents/session-pool.d.ts +5 -0
- package/dist/core/agents/unified-task-executor.d.ts +10 -92
- package/dist/core/mission/mission-controller.d.ts +53 -0
- package/dist/core/resource/resource-tracker.d.ts +61 -0
- package/dist/index.d.ts +0 -8
- package/dist/index.js +6533 -27677
- package/dist/shared/constants/system-messages.d.ts +3 -3
- package/dist/shared/core/constants/index.d.ts +4 -0
- package/dist/shared/core/constants/labels.d.ts +12 -0
- package/dist/shared/core/constants/mission.d.ts +8 -0
- package/dist/shared/{os/constants/platform.d.ts → core/constants/os.d.ts} +4 -3
- package/dist/shared/core/constants/signals.d.ts +22 -0
- package/dist/shared/index.d.ts +6 -8
- package/dist/shared/prompt/constants/prompts.d.ts +7 -0
- package/dist/shared/prompt/constants/tags.d.ts +4 -0
- package/dist/shared/prompt/index.d.ts +1 -0
- package/dist/shared/session/constants/index.d.ts +2 -0
- package/dist/shared/session/constants/message.d.ts +15 -0
- package/dist/shared/session/constants/status.d.ts +9 -0
- package/dist/shared/session/index.d.ts +1 -0
- package/dist/tools/parallel/list-agents.d.ts +1 -1
- package/dist/utils/common.d.ts +3 -5
- package/package.json +3 -3
- package/dist/core/agents/agent-registry.d.ts +0 -28
- package/dist/core/agents/concurrency.d.ts +0 -41
- package/dist/core/agents/config.d.ts +0 -10
- package/dist/core/agents/consts/index.d.ts +0 -4
- package/dist/core/agents/manager/event-handler.d.ts +0 -35
- package/dist/core/agents/manager/index.d.ts +0 -10
- package/dist/core/agents/manager/task-cleaner.d.ts +0 -29
- package/dist/core/agents/manager/task-launcher.d.ts +0 -35
- package/dist/core/agents/manager/task-poller.d.ts +0 -30
- package/dist/core/agents/manager/task-resumer.d.ts +0 -18
- package/dist/core/agents/persistence/task-wal.d.ts +0 -26
- package/dist/core/agents/task-store.d.ts +0 -54
- package/dist/core/cleanup/cleanup-scheduler.d.ts +0 -11
- package/dist/core/context/context-window-monitor.d.ts +0 -66
- package/dist/core/context/index.d.ts +0 -6
- package/dist/core/loop/continuation-lock.d.ts +0 -57
- package/dist/core/loop/formatters.d.ts +0 -17
- package/dist/core/loop/interfaces/index.d.ts +0 -5
- package/dist/core/loop/interfaces/todo-stats.d.ts +0 -11
- package/dist/core/loop/interfaces/todo.d.ts +0 -13
- package/dist/core/loop/interfaces.d.ts +0 -7
- package/dist/core/loop/mission-loop-handler.d.ts +0 -25
- package/dist/core/loop/mission-loop.d.ts +0 -48
- package/dist/core/loop/parser.d.ts +0 -8
- package/dist/core/loop/stats.d.ts +0 -24
- package/dist/core/loop/todo-continuation.d.ts +0 -39
- package/dist/core/loop/todo-enforcer.d.ts +0 -9
- package/dist/core/loop/todo-manager.d.ts +0 -22
- package/dist/core/loop/types/index.d.ts +0 -5
- package/dist/core/loop/types/todo-priority.d.ts +0 -4
- package/dist/core/loop/types/todo-status.d.ts +0 -4
- package/dist/core/loop/verification.d.ts +0 -27
- package/dist/core/memory/interfaces.d.ts +0 -33
- package/dist/core/memory/memory-manager.d.ts +0 -40
- package/dist/core/metrics/collector.d.ts +0 -27
- package/dist/core/notification/os-notify/index.d.ts +0 -7
- package/dist/core/notification/os-notify/notifier.d.ts +0 -7
- package/dist/core/notification/os-notify/platform-resolver.d.ts +0 -7
- package/dist/core/notification/os-notify/platform.d.ts +0 -7
- package/dist/core/notification/os-notify/sound-player.d.ts +0 -7
- package/dist/core/notification/os-notify/todo-checker.d.ts +0 -5
- package/dist/core/notification/task-toast-manager.d.ts +0 -127
- package/dist/core/notification/toast-core.d.ts +0 -36
- package/dist/core/notification/toast.d.ts +0 -9
- package/dist/core/orchestrator/index.d.ts +0 -6
- package/dist/core/orchestrator/interfaces/index.d.ts +0 -4
- package/dist/core/orchestrator/interfaces/session-state.d.ts +0 -11
- package/dist/core/orchestrator/session-manager.d.ts +0 -31
- package/dist/core/orchestrator/state.d.ts +0 -10
- package/dist/core/orchestrator/types/index.d.ts +0 -4
- package/dist/core/orchestrator/types/task-status.d.ts +0 -5
- package/dist/core/plugins/interfaces.d.ts +0 -30
- package/dist/core/plugins/plugin-manager.d.ts +0 -21
- package/dist/core/progress/calculator.d.ts +0 -11
- package/dist/core/progress/formatters.d.ts +0 -20
- package/dist/core/progress/interfaces/index.d.ts +0 -8
- package/dist/core/progress/interfaces/progress-snapshot.d.ts +0 -15
- package/dist/core/progress/interfaces/snapshot-input.d.ts +0 -13
- package/dist/core/progress/interfaces/step-progress.d.ts +0 -7
- package/dist/core/progress/interfaces/task-progress.d.ts +0 -10
- package/dist/core/progress/interfaces/todo-progress.d.ts +0 -9
- package/dist/core/progress/interfaces.d.ts +0 -6
- package/dist/core/progress/progress-notifier.d.ts +0 -14
- package/dist/core/progress/state-broadcaster.d.ts +0 -29
- package/dist/core/progress/store.d.ts +0 -28
- package/dist/core/progress/tracker.d.ts +0 -11
- package/dist/core/queue/async-queue.d.ts +0 -46
- package/dist/core/queue/async-utils.d.ts +0 -20
- package/dist/core/queue/index.d.ts +0 -8
- package/dist/core/queue/work-pool.d.ts +0 -19
- package/dist/core/recovery/auto-recovery.d.ts +0 -9
- package/dist/core/recovery/constants.d.ts +0 -9
- package/dist/core/recovery/handler.d.ts +0 -27
- package/dist/core/recovery/interfaces/error-context.d.ts +0 -11
- package/dist/core/recovery/interfaces/error-pattern.d.ts +0 -10
- package/dist/core/recovery/interfaces/index.d.ts +0 -8
- package/dist/core/recovery/interfaces/recovery-action.d.ts +0 -25
- package/dist/core/recovery/interfaces/recovery-record.d.ts +0 -10
- package/dist/core/recovery/interfaces/recovery-stats.d.ts +0 -9
- package/dist/core/recovery/interfaces.d.ts +0 -6
- package/dist/core/recovery/patterns.d.ts +0 -8
- package/dist/core/recovery/retry.d.ts +0 -59
- package/dist/core/recovery/session-recovery.d.ts +0 -30
- package/dist/core/session/interfaces/context-stats.d.ts +0 -9
- package/dist/core/session/interfaces/index.d.ts +0 -8
- package/dist/core/session/interfaces/shared-context.d.ts +0 -15
- package/dist/core/session/interfaces/shared-decision.d.ts +0 -10
- package/dist/core/session/interfaces/shared-document.d.ts +0 -9
- package/dist/core/session/interfaces/shared-finding.d.ts +0 -10
- package/dist/core/session/interfaces.d.ts +0 -6
- package/dist/core/session/session-health.d.ts +0 -93
- package/dist/core/session/shared-context.d.ts +0 -8
- package/dist/core/session/store.d.ts +0 -44
- package/dist/core/session/summary.d.ts +0 -7
- package/dist/core/sync/todo-parser.d.ts +0 -5
- package/dist/core/sync/todo-sync-service.d.ts +0 -42
- package/dist/core/task/interfaces/index.d.ts +0 -8
- package/dist/core/task/interfaces/task-hierarchy.d.ts +0 -9
- package/dist/core/task/interfaces/task-input.d.ts +0 -11
- package/dist/core/task/interfaces/task-node.d.ts +0 -20
- package/dist/core/task/interfaces/task-progress.d.ts +0 -11
- package/dist/core/task/interfaces.d.ts +0 -6
- package/dist/core/task/parser.d.ts +0 -8
- package/dist/core/task/scheduler.d.ts +0 -12
- package/dist/core/task/store.d.ts +0 -32
- package/dist/core/task/summary.d.ts +0 -7
- package/dist/core/task/task-decomposer.d.ts +0 -10
- package/dist/core/todo/todo-manager.d.ts +0 -36
- package/dist/hooks/compatibility/external-plugin.d.ts +0 -10
- package/dist/hooks/constants.d.ts +0 -27
- package/dist/hooks/custom/agent-ui.d.ts +0 -20
- package/dist/hooks/custom/memory-gate.d.ts +0 -21
- package/dist/hooks/custom/metrics.d.ts +0 -14
- package/dist/hooks/custom/resource-control.d.ts +0 -13
- package/dist/hooks/custom/secret-scanner.d.ts +0 -19
- package/dist/hooks/custom/strict-role-guard.d.ts +0 -21
- package/dist/hooks/custom/user-activity.d.ts +0 -11
- package/dist/hooks/features/mission-loop.d.ts +0 -18
- package/dist/hooks/features/sanity-check.d.ts +0 -15
- package/dist/hooks/index.d.ts +0 -5
- package/dist/hooks/registry.d.ts +0 -37
- package/dist/hooks/types.d.ts +0 -72
- package/dist/plugin-handlers/assistant-done-handler.d.ts +0 -12
- package/dist/plugin-handlers/chat-message-handler.d.ts +0 -30
- package/dist/plugin-handlers/config-handler.d.ts +0 -9
- package/dist/plugin-handlers/event-handler.d.ts +0 -18
- package/dist/plugin-handlers/index.d.ts +0 -9
- package/dist/plugin-handlers/interfaces/assistant-done-context.d.ts +0 -12
- package/dist/plugin-handlers/interfaces/chat-message-context.d.ts +0 -12
- package/dist/plugin-handlers/interfaces/event-handler-context.d.ts +0 -14
- package/dist/plugin-handlers/interfaces/index.d.ts +0 -12
- package/dist/plugin-handlers/interfaces/orchestrator-state.d.ts +0 -14
- package/dist/plugin-handlers/interfaces/session-compacting.d.ts +0 -19
- package/dist/plugin-handlers/interfaces/session-state.d.ts +0 -15
- package/dist/plugin-handlers/interfaces/system-transform.d.ts +0 -17
- package/dist/plugin-handlers/interfaces/tool-execute-context.d.ts +0 -8
- package/dist/plugin-handlers/interfaces/tool-hook.d.ts +0 -14
- package/dist/plugin-handlers/session-compacting-handler.d.ts +0 -14
- package/dist/plugin-handlers/system-transform-handler.d.ts +0 -14
- package/dist/plugin-handlers/tool-execute-handler.d.ts +0 -14
- package/dist/plugin-handlers/tool-execute-pre-handler.d.ts +0 -8
- 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/detection.d.ts +0 -5
- package/dist/shared/errors/index.d.ts +0 -7
- package/dist/shared/errors/retry.d.ts +0 -7
- 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 -7
- 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/todo-status.d.ts +0 -9
- package/dist/shared/loop/index.d.ts +0 -6
- package/dist/shared/loop/interfaces/index.d.ts +0 -6
- package/dist/shared/loop/interfaces/mission-loop.d.ts +0 -29
- 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 -15
- package/dist/shared/message/constants/prompts.d.ts +0 -8
- package/dist/shared/message/constants/slash-commands.d.ts +0 -21
- package/dist/shared/message/index.d.ts +0 -4
- 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/constants/tui.const.d.ts +0 -24
- package/dist/shared/notification/index.d.ts +0 -7
- 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/index.d.ts +0 -6
- 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/index.d.ts +0 -5
- package/dist/shared/os/types/index.d.ts +0 -4
- package/dist/shared/os/types/platform.d.ts +0 -5
- 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/index.d.ts +0 -6
- 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/verification/constants/categories.d.ts +0 -95
- 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/index.d.ts +0 -8
- 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/tools/parallel/show-metrics.d.ts +0 -10
- package/dist/tools/parallel/update-todo.d.ts +0 -7
- package/dist/utils/compatibility/claude.d.ts +0 -9
- package/dist/utils/formatting/elapsed-time.d.ts +0 -4
- package/dist/utils/formatting/index.d.ts +0 -5
- package/dist/utils/formatting/timestamp.d.ts +0 -4
- package/dist/utils/parsing/index.d.ts +0 -4
- package/dist/utils/parsing/slash-command.d.ts +0 -7
- package/dist/utils/sanity/checker.d.ts +0 -8
- package/dist/utils/sanity/constants/escalation-prompt.d.ts +0 -4
- package/dist/utils/sanity/constants/index.d.ts +0 -6
- package/dist/utils/sanity/constants/recovery-prompt.d.ts +0 -4
- package/dist/utils/sanity/constants/severity.d.ts +0 -8
- package/dist/utils/sanity/index.d.ts +0 -7
- package/dist/utils/sanity/interfaces/index.d.ts +0 -4
- package/dist/utils/sanity/interfaces/sanity-result.d.ts +0 -9
- package/dist/utils/sanity/types/index.d.ts +0 -4
- package/dist/utils/sanity/types/severity.d.ts +0 -5
- /package/dist/{core/agents/consts/task-status.const.d.ts → shared/task/constants/task-status.d.ts} +0 -0
|
@@ -1,95 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Checklist Category Constants
|
|
3
|
-
*
|
|
4
|
-
* Category definitions for verification checklist items.
|
|
5
|
-
* Categories are used to group and organize verification steps.
|
|
6
|
-
*/
|
|
7
|
-
/**
|
|
8
|
-
* Category IDs - Used as keys for category identification
|
|
9
|
-
*/
|
|
10
|
-
export declare const CATEGORY_ID: {
|
|
11
|
-
readonly CODE_QUALITY: "code-quality";
|
|
12
|
-
readonly UNIT_TESTS: "unit-tests";
|
|
13
|
-
readonly INTEGRATION_TESTS: "integration-tests";
|
|
14
|
-
readonly BUILD: "build";
|
|
15
|
-
readonly RUNTIME: "runtime";
|
|
16
|
-
readonly INFRASTRUCTURE: "infrastructure";
|
|
17
|
-
readonly CUSTOM: "custom";
|
|
18
|
-
};
|
|
19
|
-
/**
|
|
20
|
-
* Category Display Labels - Human-readable names for each category
|
|
21
|
-
*/
|
|
22
|
-
export declare const CATEGORY_LABEL: {
|
|
23
|
-
readonly "code-quality": "Code Quality";
|
|
24
|
-
readonly "unit-tests": "Unit Tests";
|
|
25
|
-
readonly "integration-tests": "Integration Tests";
|
|
26
|
-
readonly build: "Build Verification";
|
|
27
|
-
readonly runtime: "Runtime Verification";
|
|
28
|
-
readonly infrastructure: "Infrastructure & Environment";
|
|
29
|
-
readonly custom: "Project-Specific Checks";
|
|
30
|
-
};
|
|
31
|
-
/**
|
|
32
|
-
* Category Descriptions - Detailed descriptions for each category
|
|
33
|
-
*/
|
|
34
|
-
export declare const CATEGORY_DESCRIPTION: {
|
|
35
|
-
readonly "code-quality": "Lint, type check, static analysis";
|
|
36
|
-
readonly "unit-tests": "Unit tests execution";
|
|
37
|
-
readonly "integration-tests": "E2E and integration tests";
|
|
38
|
-
readonly build: "Build verification";
|
|
39
|
-
readonly runtime: "Runtime verification (starts, runs)";
|
|
40
|
-
readonly infrastructure: "Docker, compose, CI/CD, etc.";
|
|
41
|
-
readonly custom: "Project-specific custom checks";
|
|
42
|
-
};
|
|
43
|
-
/**
|
|
44
|
-
* Category Icons - Visual indicators for each category
|
|
45
|
-
*/
|
|
46
|
-
export declare const CATEGORY_ICON: {
|
|
47
|
-
readonly "code-quality": "🔍";
|
|
48
|
-
readonly "unit-tests": "🧪";
|
|
49
|
-
readonly "integration-tests": "🔗";
|
|
50
|
-
readonly build: "🔨";
|
|
51
|
-
readonly runtime: "▶️";
|
|
52
|
-
readonly infrastructure: "🏗️";
|
|
53
|
-
readonly custom: "⚙️";
|
|
54
|
-
};
|
|
55
|
-
/**
|
|
56
|
-
* Combined category information object
|
|
57
|
-
*/
|
|
58
|
-
export declare const CHECKLIST_CATEGORIES: {
|
|
59
|
-
readonly IDS: {
|
|
60
|
-
readonly CODE_QUALITY: "code-quality";
|
|
61
|
-
readonly UNIT_TESTS: "unit-tests";
|
|
62
|
-
readonly INTEGRATION_TESTS: "integration-tests";
|
|
63
|
-
readonly BUILD: "build";
|
|
64
|
-
readonly RUNTIME: "runtime";
|
|
65
|
-
readonly INFRASTRUCTURE: "infrastructure";
|
|
66
|
-
readonly CUSTOM: "custom";
|
|
67
|
-
};
|
|
68
|
-
readonly LABELS: {
|
|
69
|
-
readonly "code-quality": "Code Quality";
|
|
70
|
-
readonly "unit-tests": "Unit Tests";
|
|
71
|
-
readonly "integration-tests": "Integration Tests";
|
|
72
|
-
readonly build: "Build Verification";
|
|
73
|
-
readonly runtime: "Runtime Verification";
|
|
74
|
-
readonly infrastructure: "Infrastructure & Environment";
|
|
75
|
-
readonly custom: "Project-Specific Checks";
|
|
76
|
-
};
|
|
77
|
-
readonly DESCRIPTIONS: {
|
|
78
|
-
readonly "code-quality": "Lint, type check, static analysis";
|
|
79
|
-
readonly "unit-tests": "Unit tests execution";
|
|
80
|
-
readonly "integration-tests": "E2E and integration tests";
|
|
81
|
-
readonly build: "Build verification";
|
|
82
|
-
readonly runtime: "Runtime verification (starts, runs)";
|
|
83
|
-
readonly infrastructure: "Docker, compose, CI/CD, etc.";
|
|
84
|
-
readonly custom: "Project-specific custom checks";
|
|
85
|
-
};
|
|
86
|
-
readonly ICONS: {
|
|
87
|
-
readonly "code-quality": "🔍";
|
|
88
|
-
readonly "unit-tests": "🧪";
|
|
89
|
-
readonly "integration-tests": "🔗";
|
|
90
|
-
readonly build: "🔨";
|
|
91
|
-
readonly runtime: "▶️";
|
|
92
|
-
readonly infrastructure: "🏗️";
|
|
93
|
-
readonly custom: "⚙️";
|
|
94
|
-
};
|
|
95
|
-
};
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Verification Checklist Constants
|
|
3
|
-
*
|
|
4
|
-
* File paths and configuration for the verification checklist system.
|
|
5
|
-
*/
|
|
6
|
-
/**
|
|
7
|
-
* Checklist file and configuration constants
|
|
8
|
-
*/
|
|
9
|
-
export declare const CHECKLIST: {
|
|
10
|
-
/** Path to the verification checklist file */
|
|
11
|
-
readonly FILE: ".opencode/verification-checklist.md";
|
|
12
|
-
/** Minimum required items for valid checklist */
|
|
13
|
-
readonly MIN_ITEMS: 1;
|
|
14
|
-
/** Maximum items to show in error messages */
|
|
15
|
-
readonly MAX_ERROR_ITEMS: 5;
|
|
16
|
-
};
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Checklist Parsing Patterns
|
|
3
|
-
*
|
|
4
|
-
* Regular expressions for parsing verification checklist markdown.
|
|
5
|
-
*/
|
|
6
|
-
export declare const CHECKLIST_PATTERNS: {
|
|
7
|
-
/** Incomplete item: - [ ] */
|
|
8
|
-
readonly INCOMPLETE: RegExp;
|
|
9
|
-
/** Complete item: - [x] or - [X] */
|
|
10
|
-
readonly COMPLETE: RegExp;
|
|
11
|
-
/** Category header: ## Category */
|
|
12
|
-
readonly CATEGORY: RegExp;
|
|
13
|
-
/** Item with ID format: - [ ] **ID**: Description */
|
|
14
|
-
readonly ITEM_WITH_ID: RegExp;
|
|
15
|
-
/** Simple item format: - [ ] Description */
|
|
16
|
-
readonly SIMPLE_ITEM: RegExp;
|
|
17
|
-
/** Mark as complete indicator (x or X) */
|
|
18
|
-
readonly COMPLETE_MARK: RegExp;
|
|
19
|
-
};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Verification Signaling Constants
|
|
3
|
-
*
|
|
4
|
-
* Centralized strings used to trigger specific verification behaviors
|
|
5
|
-
* between the Commander and Reviewer agents.
|
|
6
|
-
*/
|
|
7
|
-
export declare const VERIFICATION_SIGNALS: {
|
|
8
|
-
/** Trigger for all-encompassing system check at the end of a mission */
|
|
9
|
-
readonly FINAL_PASS: "Full System Verification";
|
|
10
|
-
};
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Checklist Item Interface
|
|
3
|
-
*
|
|
4
|
-
* Represents a single verification checklist item.
|
|
5
|
-
*/
|
|
6
|
-
import type { ChecklistCategory } from "../types/index.js";
|
|
7
|
-
/**
|
|
8
|
-
* A single item in the verification checklist
|
|
9
|
-
*/
|
|
10
|
-
export interface ChecklistItem {
|
|
11
|
-
/** Unique ID for the item (e.g., "unit-tests", "build", "docker") */
|
|
12
|
-
id: string;
|
|
13
|
-
/** Category of the check */
|
|
14
|
-
category: ChecklistCategory;
|
|
15
|
-
/** Description of what to verify */
|
|
16
|
-
description: string;
|
|
17
|
-
/** Whether this item is completed */
|
|
18
|
-
completed: boolean;
|
|
19
|
-
/** Optional: Evidence or notes about verification */
|
|
20
|
-
evidence?: string;
|
|
21
|
-
}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Checklist Verification Result Interface
|
|
3
|
-
*
|
|
4
|
-
* Result of verifying a checklist's completion status.
|
|
5
|
-
*/
|
|
6
|
-
/**
|
|
7
|
-
* Result of verifying a checklist
|
|
8
|
-
*/
|
|
9
|
-
export interface ChecklistVerificationResult {
|
|
10
|
-
/** Whether all items are complete */
|
|
11
|
-
passed: boolean;
|
|
12
|
-
/** Total number of items */
|
|
13
|
-
totalItems: number;
|
|
14
|
-
/** Number of completed items */
|
|
15
|
-
completedItems: number;
|
|
16
|
-
/** Number of incomplete items */
|
|
17
|
-
incompleteItems: number;
|
|
18
|
-
/** Progress string e.g., "8/10" */
|
|
19
|
-
progress: string;
|
|
20
|
-
/** List of incomplete item descriptions */
|
|
21
|
-
incompleteList: string[];
|
|
22
|
-
/** List of verification failures */
|
|
23
|
-
errors: string[];
|
|
24
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Verification Interfaces Index
|
|
3
|
-
*/
|
|
4
|
-
export type { ChecklistItem } from "./checklist-item.js";
|
|
5
|
-
export type { VerificationChecklist } from "./verification-checklist.js";
|
|
6
|
-
export type { ChecklistVerificationResult } from "./checklist-verification-result.js";
|
|
7
|
-
export type { VerificationResult } from "./verification-result.js";
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Verification Checklist Interface
|
|
3
|
-
*
|
|
4
|
-
* Represents the complete verification checklist with metadata.
|
|
5
|
-
*/
|
|
6
|
-
import type { ChecklistItem } from "./checklist-item.js";
|
|
7
|
-
/**
|
|
8
|
-
* Complete verification checklist with metadata
|
|
9
|
-
*/
|
|
10
|
-
export interface VerificationChecklist {
|
|
11
|
-
/** Unique mission ID or timestamp */
|
|
12
|
-
missionId: string;
|
|
13
|
-
/** When the checklist was created */
|
|
14
|
-
createdAt: string;
|
|
15
|
-
/** Last update time */
|
|
16
|
-
updatedAt: string;
|
|
17
|
-
/** All checklist items */
|
|
18
|
-
items: ChecklistItem[];
|
|
19
|
-
}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Verification Result Interface
|
|
3
|
-
*
|
|
4
|
-
* Unified result for mission completion verification.
|
|
5
|
-
* Combines TODO, sync issues, and checklist verification.
|
|
6
|
-
*/
|
|
7
|
-
/**
|
|
8
|
-
* Unified verification result for mission completion
|
|
9
|
-
*/
|
|
10
|
-
export interface VerificationResult {
|
|
11
|
-
/** Whether all verification checks passed */
|
|
12
|
-
passed: boolean;
|
|
13
|
-
/** Whether all TODO items are complete */
|
|
14
|
-
todoComplete: boolean;
|
|
15
|
-
/** Progress string e.g., "8/10" */
|
|
16
|
-
todoProgress: string;
|
|
17
|
-
/** Number of incomplete tasks */
|
|
18
|
-
todoIncomplete: number;
|
|
19
|
-
/** Whether sync-issues.md is empty or has no issues */
|
|
20
|
-
syncIssuesEmpty: boolean;
|
|
21
|
-
/** Count of sync issues found */
|
|
22
|
-
syncIssuesCount: number;
|
|
23
|
-
/** Whether verification checklist is complete */
|
|
24
|
-
checklistComplete: boolean;
|
|
25
|
-
/** Checklist progress string */
|
|
26
|
-
checklistProgress: string;
|
|
27
|
-
/** List of verification failures */
|
|
28
|
-
errors: string[];
|
|
29
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Checklist Category Type
|
|
3
|
-
*
|
|
4
|
-
* Type definition for verification checklist categories.
|
|
5
|
-
* Derived from CATEGORY_ID constant for single source of truth.
|
|
6
|
-
*/
|
|
7
|
-
/**
|
|
8
|
-
* Available checklist category identifiers
|
|
9
|
-
*
|
|
10
|
-
* - code-quality: Lint, type check, static analysis
|
|
11
|
-
* - unit-tests: Unit tests execution
|
|
12
|
-
* - integration-tests: E2E and integration tests
|
|
13
|
-
* - build: Build verification
|
|
14
|
-
* - runtime: Runtime verification (starts, runs)
|
|
15
|
-
* - infrastructure: Docker, compose, CI/CD, etc.
|
|
16
|
-
* - custom: Project-specific custom checks
|
|
17
|
-
*/
|
|
18
|
-
export type ChecklistCategory = "code-quality" | "unit-tests" | "integration-tests" | "build" | "runtime" | "infrastructure" | "custom";
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* show_metrics Tool
|
|
3
|
-
*
|
|
4
|
-
* Displays a performance dashboard for the current mission.
|
|
5
|
-
*/
|
|
6
|
-
export declare const createShowMetricsTool: () => {
|
|
7
|
-
description: string;
|
|
8
|
-
args: {};
|
|
9
|
-
execute(args: Record<string, never>, context: import("@opencode-ai/plugin").ToolContext): Promise<string>;
|
|
10
|
-
};
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Find and read CLAUDE.md guidelines.
|
|
3
|
-
* Follows Claude Code's discovery logic:
|
|
4
|
-
* 1. CLAUDE.md in current directory or parents
|
|
5
|
-
* 2. .github/instructions/ *.md (checking main ones)
|
|
6
|
-
* 3. .cursor/rules/ *.md
|
|
7
|
-
* 4. .claude/rules/ *.md
|
|
8
|
-
*/
|
|
9
|
-
export declare function findClaudeRules(startDir?: string): string | null;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Escalation Prompt Constant
|
|
3
|
-
*/
|
|
4
|
-
export declare const ESCALATION_PROMPT = "<critical_anomaly>\nCRITICAL: Multiple consecutive malformed outputs detected.\n\n\n<emergency_protocol>\n1. STOP current execution path immediately\n2. DO NOT continue with the same approach - it is failing\n3. CALL Planner for a completely new strategy\n4. If Planner also fails: report status to user and await guidance\n</emergency_protocol>\n\n<diagnosis>\nThe current approach is producing corrupted output.\nThis may indicate: context overload, model instability, or task complexity.\n</diagnosis>\n\nRequest a fresh plan from Planner with reduced scope.\n</critical_anomaly>";
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Recovery Prompt Constant
|
|
3
|
-
*/
|
|
4
|
-
export declare const RECOVERY_PROMPT = "<anomaly_recovery>\nSYSTEM NOTICE: Previous output was malformed (gibberish/loop detected).\n\n\n<recovery_protocol>\n1. DISCARD the corrupted output completely - do not reference it\n2. RECALL the original mission objective\n3. IDENTIFY the last confirmed successful step\n4. RESTART with a simpler, more focused approach\n</recovery_protocol>\n\n<instructions>\n- If a sub-agent produced bad output: try a different agent or simpler task\n- If stuck in a loop: break down the task into smaller pieces\n- If context seems corrupted: call Reviewer to restore context\n- THINK in English for maximum stability\n</instructions>\n\nWhat was the original task? Proceed from the last known good state.\n</anomaly_recovery>";
|
/package/dist/{core/agents/consts/task-status.const.d.ts → shared/task/constants/task-status.d.ts}
RENAMED
|
File without changes
|