agent-steward 0.0.3 → 0.0.5

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.
Files changed (287) hide show
  1. package/CHANGELOG.md +154 -2
  2. package/CROSS_PLATFORM.md +19 -0
  3. package/README.md +54 -9
  4. package/ROADMAP-STRATEGY.md +23 -20
  5. package/ROADMAP.md +140 -143
  6. package/dist/cli.d.ts +3 -0
  7. package/dist/cli.d.ts.map +1 -0
  8. package/dist/cli.js +351 -0
  9. package/dist/core/dlq-api.d.ts +44 -0
  10. package/dist/core/dlq-api.d.ts.map +1 -0
  11. package/dist/core/dlq-api.js +68 -0
  12. package/dist/core/dry-run.d.ts.map +1 -1
  13. package/dist/core/dry-run.js +18 -1
  14. package/dist/core/execution.d.ts +203 -0
  15. package/dist/core/execution.d.ts.map +1 -0
  16. package/dist/core/execution.js +309 -0
  17. package/dist/core/gate-integrity.d.ts +35 -0
  18. package/dist/core/gate-integrity.d.ts.map +1 -0
  19. package/dist/core/gate-integrity.js +132 -0
  20. package/dist/core/git-trigger.d.ts.map +1 -1
  21. package/dist/core/git-trigger.js +14 -2
  22. package/dist/core/guard-run.d.ts +4 -0
  23. package/dist/core/guard-run.d.ts.map +1 -0
  24. package/dist/core/guard-run.js +101 -0
  25. package/dist/core/guard.d.ts +52 -0
  26. package/dist/core/guard.d.ts.map +1 -0
  27. package/dist/core/guard.js +362 -0
  28. package/dist/core/lock.d.ts +61 -4
  29. package/dist/core/lock.d.ts.map +1 -1
  30. package/dist/core/lock.js +213 -26
  31. package/dist/core/matrix.d.ts.map +1 -1
  32. package/dist/core/matrix.js +75 -15
  33. package/dist/core/mission.d.ts +83 -0
  34. package/dist/core/mission.d.ts.map +1 -0
  35. package/dist/core/mission.js +334 -0
  36. package/dist/core/one-shot.d.ts +5 -1
  37. package/dist/core/one-shot.d.ts.map +1 -1
  38. package/dist/core/one-shot.js +33 -8
  39. package/dist/core/opencode-cli.d.ts +28 -0
  40. package/dist/core/opencode-cli.d.ts.map +1 -0
  41. package/dist/core/opencode-cli.js +74 -0
  42. package/dist/core/opencode-models.d.ts +62 -0
  43. package/dist/core/opencode-models.d.ts.map +1 -0
  44. package/dist/core/opencode-models.js +277 -0
  45. package/dist/core/pipeline-apply.d.ts +38 -0
  46. package/dist/core/pipeline-apply.d.ts.map +1 -0
  47. package/dist/core/pipeline-apply.js +117 -0
  48. package/dist/core/pipeline-io.d.ts +13 -0
  49. package/dist/core/pipeline-io.d.ts.map +1 -0
  50. package/dist/core/pipeline-io.js +64 -0
  51. package/dist/core/pipeline-map.d.ts +46 -0
  52. package/dist/core/pipeline-map.d.ts.map +1 -0
  53. package/dist/core/pipeline-map.js +196 -0
  54. package/dist/core/pipeline-spec.d.ts +109 -0
  55. package/dist/core/pipeline-spec.d.ts.map +1 -0
  56. package/dist/core/pipeline-spec.js +554 -0
  57. package/dist/core/ps-wrapper.d.ts +19 -2
  58. package/dist/core/ps-wrapper.d.ts.map +1 -1
  59. package/dist/core/ps-wrapper.js +261 -63
  60. package/dist/core/record-history.d.ts +15 -0
  61. package/dist/core/record-history.d.ts.map +1 -1
  62. package/dist/core/record-history.js +183 -58
  63. package/dist/core/router/dispatch.d.ts +36 -0
  64. package/dist/core/router/dispatch.d.ts.map +1 -0
  65. package/dist/core/router/dispatch.js +59 -0
  66. package/dist/core/router/escalation.d.ts +47 -0
  67. package/dist/core/router/escalation.d.ts.map +1 -0
  68. package/dist/core/router/escalation.js +87 -0
  69. package/dist/core/router/planner.d.ts +53 -0
  70. package/dist/core/router/planner.d.ts.map +1 -0
  71. package/dist/core/router/planner.js +113 -0
  72. package/dist/core/router/rules.d.ts +46 -0
  73. package/dist/core/router/rules.d.ts.map +1 -0
  74. package/dist/core/router/rules.js +91 -0
  75. package/dist/core/run-panel-api.d.ts +94 -0
  76. package/dist/core/run-panel-api.d.ts.map +1 -0
  77. package/dist/core/run-panel-api.js +169 -0
  78. package/dist/core/schedule-gate.js +5 -1
  79. package/dist/core/schedule-v2.d.ts +34 -0
  80. package/dist/core/schedule-v2.d.ts.map +1 -1
  81. package/dist/core/schedule-v2.js +91 -5
  82. package/dist/core/scheduler/at-fallback.d.ts +55 -2
  83. package/dist/core/scheduler/at-fallback.d.ts.map +1 -1
  84. package/dist/core/scheduler/at-fallback.js +135 -5
  85. package/dist/core/scheduler/linux.d.ts +18 -2
  86. package/dist/core/scheduler/linux.d.ts.map +1 -1
  87. package/dist/core/scheduler/linux.js +63 -20
  88. package/dist/core/scheduler/mac.d.ts +44 -2
  89. package/dist/core/scheduler/mac.d.ts.map +1 -1
  90. package/dist/core/scheduler/mac.js +126 -15
  91. package/dist/core/scheduler/posix.d.ts.map +1 -1
  92. package/dist/core/scheduler/posix.js +25 -1
  93. package/dist/core/scheduler/registry.d.ts +11 -0
  94. package/dist/core/scheduler/registry.d.ts.map +1 -1
  95. package/dist/core/scheduler/registry.js +83 -21
  96. package/dist/core/scheduler/run-now.d.ts +16 -0
  97. package/dist/core/scheduler/run-now.d.ts.map +1 -0
  98. package/dist/core/scheduler/run-now.js +28 -0
  99. package/dist/core/scheduler/windows.d.ts.map +1 -1
  100. package/dist/core/scheduler/windows.js +15 -12
  101. package/dist/core/secrets.d.ts.map +1 -1
  102. package/dist/core/secrets.js +125 -28
  103. package/dist/core/session.d.ts.map +1 -1
  104. package/dist/core/session.js +18 -11
  105. package/dist/core/structured-log.d.ts +7 -1
  106. package/dist/core/structured-log.d.ts.map +1 -1
  107. package/dist/core/task-name.d.ts +24 -0
  108. package/dist/core/task-name.d.ts.map +1 -0
  109. package/dist/core/task-name.js +40 -0
  110. package/dist/core/worktree-run.d.ts +4 -0
  111. package/dist/core/worktree-run.d.ts.map +1 -0
  112. package/dist/core/worktree-run.js +164 -0
  113. package/dist/core/worktree.d.ts +115 -0
  114. package/dist/core/worktree.d.ts.map +1 -0
  115. package/dist/core/worktree.js +462 -0
  116. package/dist/core/wrappers/bash.d.ts +17 -0
  117. package/dist/core/wrappers/bash.d.ts.map +1 -1
  118. package/dist/core/wrappers/bash.js +224 -28
  119. package/dist/db/capability-repo.d.ts +124 -0
  120. package/dist/db/capability-repo.d.ts.map +1 -0
  121. package/dist/db/capability-repo.js +267 -0
  122. package/dist/db/history-repo.d.ts +46 -5
  123. package/dist/db/history-repo.d.ts.map +1 -1
  124. package/dist/db/history-repo.js +107 -25
  125. package/dist/db/index.d.ts +4 -0
  126. package/dist/db/index.d.ts.map +1 -1
  127. package/dist/db/index.js +39 -1
  128. package/dist/db/metrics-repo.js +2 -2
  129. package/dist/db/migrate.d.ts.map +1 -1
  130. package/dist/db/migrate.js +3 -1
  131. package/dist/db/recovery.d.ts.map +1 -1
  132. package/dist/db/recovery.js +5 -4
  133. package/dist/db/run-context.d.ts +103 -0
  134. package/dist/db/run-context.d.ts.map +1 -0
  135. package/dist/db/run-context.js +224 -0
  136. package/dist/db/run-dlq.d.ts +100 -0
  137. package/dist/db/run-dlq.d.ts.map +1 -0
  138. package/dist/db/run-dlq.js +191 -0
  139. package/dist/db/run-journal.d.ts +33 -5
  140. package/dist/db/run-journal.d.ts.map +1 -1
  141. package/dist/db/run-journal.js +78 -14
  142. package/dist/db/run-resume.d.ts +10 -2
  143. package/dist/db/run-resume.d.ts.map +1 -1
  144. package/dist/db/run-resume.js +39 -13
  145. package/dist/db/runs-repo.d.ts +32 -7
  146. package/dist/db/runs-repo.d.ts.map +1 -1
  147. package/dist/db/runs-repo.js +50 -11
  148. package/dist/db/schema.d.ts +2 -2
  149. package/dist/db/schema.d.ts.map +1 -1
  150. package/dist/db/schema.js +216 -3
  151. package/dist/db/settings-repo.d.ts +11 -0
  152. package/dist/db/settings-repo.d.ts.map +1 -1
  153. package/dist/db/settings-repo.js +25 -0
  154. package/dist/db/step-idempotency.d.ts +51 -0
  155. package/dist/db/step-idempotency.d.ts.map +1 -0
  156. package/dist/db/step-idempotency.js +136 -0
  157. package/dist/history.d.ts +1 -1
  158. package/dist/history.d.ts.map +1 -1
  159. package/dist/i18n.d.ts +5 -0
  160. package/dist/i18n.d.ts.map +1 -1
  161. package/dist/i18n.js +11 -4
  162. package/dist/index.d.ts +140 -6
  163. package/dist/index.d.ts.map +1 -1
  164. package/dist/index.js +480 -18
  165. package/dist/notifications.d.ts +22 -0
  166. package/dist/notifications.d.ts.map +1 -1
  167. package/dist/notifications.js +36 -8
  168. package/dist/profiles.d.ts.map +1 -1
  169. package/dist/profiles.js +25 -4
  170. package/dist/rpc.d.ts +924 -0
  171. package/dist/rpc.d.ts.map +1 -1
  172. package/dist/rpc.js +352 -0
  173. package/dist/server.d.ts +46 -0
  174. package/dist/server.d.ts.map +1 -1
  175. package/dist/server.js +172 -53
  176. package/dist/settings.d.ts +2 -2
  177. package/dist/settings.d.ts.map +1 -1
  178. package/dist/settings.js +3 -3
  179. package/dist/shared/jobs-view.d.ts +1 -1
  180. package/dist/shared/jobs-view.d.ts.map +1 -1
  181. package/dist/shared/jobs-view.js +2 -0
  182. package/dist/task-transfer.d.ts +16 -0
  183. package/dist/task-transfer.d.ts.map +1 -1
  184. package/dist/task-transfer.js +16 -0
  185. package/dist/types.d.ts.map +1 -1
  186. package/dist/types.js +7 -0
  187. package/dist/workspaces.d.ts +25 -3
  188. package/dist/workspaces.d.ts.map +1 -1
  189. package/dist/workspaces.js +43 -8
  190. package/docs/ARCHITECTURE.md +498 -58
  191. package/docs/COMPATIBILITY.md +2 -2
  192. package/docs/CONCEPT.md +185 -91
  193. package/docs/CROSS_PLATFORM.ru.md +20 -0
  194. package/docs/CROSS_PLATFORM.zh.md +18 -0
  195. package/docs/EXECUTION-LOOP.md +211 -0
  196. package/docs/FEATURES.md +65 -4
  197. package/docs/FEATURES.zh.md +52 -4
  198. package/docs/MIGRATION.md +2 -2
  199. package/docs/PIPELINE.md +293 -0
  200. package/docs/README.ru.md +44 -5
  201. package/docs/README.zh.md +46 -6
  202. package/docs/SAFETY.md +142 -0
  203. package/docs/SAVINGS.md +29 -0
  204. package/docs/SAVINGS.ru.md +29 -0
  205. package/docs/SAVINGS.zh.md +18 -0
  206. package/gui-experimental.cjs +9 -8
  207. package/locales/en.json +84 -1
  208. package/locales/ru.json +84 -1
  209. package/locales/zh.json +84 -1
  210. package/opencode.pipeline.yaml +35 -0
  211. package/package.json +46 -2
  212. package/scripts/audit-bundle.mjs +215 -0
  213. package/scripts/test-home.mjs +83 -0
  214. package/src/cli.ts +412 -0
  215. package/src/core/dlq-api.ts +98 -0
  216. package/src/core/dry-run.ts +27 -3
  217. package/src/core/execution.ts +538 -0
  218. package/src/core/file-watcher.ts +2 -2
  219. package/src/core/gate-integrity.ts +160 -0
  220. package/src/core/git-trigger.ts +18 -5
  221. package/src/core/guard-run.ts +119 -0
  222. package/src/core/guard.ts +431 -0
  223. package/src/core/lock.ts +244 -30
  224. package/src/core/matrix.ts +95 -50
  225. package/src/core/mission.ts +485 -0
  226. package/src/core/native-notify.ts +1 -1
  227. package/src/core/one-shot.ts +36 -8
  228. package/src/core/opencode-cli.ts +103 -0
  229. package/src/core/opencode-models.ts +315 -0
  230. package/src/core/pipeline-apply.ts +158 -0
  231. package/src/core/pipeline-io.ts +79 -0
  232. package/src/core/pipeline-map.ts +264 -0
  233. package/src/core/pipeline-spec.ts +775 -0
  234. package/src/core/ps-wrapper.ts +274 -64
  235. package/src/core/record-history.ts +229 -104
  236. package/src/core/router/dispatch.ts +94 -0
  237. package/src/core/router/escalation.ts +129 -0
  238. package/src/core/router/planner.ts +166 -0
  239. package/src/core/router/rules.ts +115 -0
  240. package/src/core/run-panel-api.ts +262 -0
  241. package/src/core/schedule-gate.ts +7 -3
  242. package/src/core/schedule-v2.ts +114 -5
  243. package/src/core/scheduler/at-fallback.ts +190 -5
  244. package/src/core/scheduler/linux.ts +72 -21
  245. package/src/core/scheduler/logs.ts +2 -2
  246. package/src/core/scheduler/mac.ts +174 -14
  247. package/src/core/scheduler/posix.ts +20 -1
  248. package/src/core/scheduler/registry.ts +107 -26
  249. package/src/core/scheduler/run-now.ts +32 -0
  250. package/src/core/scheduler/windows.ts +19 -15
  251. package/src/core/secrets.ts +131 -31
  252. package/src/core/session.ts +23 -10
  253. package/src/core/structured-log.ts +22 -5
  254. package/src/core/task-name.ts +67 -0
  255. package/src/core/telegram.ts +2 -2
  256. package/src/core/triage-worker.ts +7 -7
  257. package/src/core/triage.ts +2 -2
  258. package/src/core/worktree-run.ts +199 -0
  259. package/src/core/worktree.ts +600 -0
  260. package/src/core/wrappers/bash.ts +239 -27
  261. package/src/db/capability-repo.ts +402 -0
  262. package/src/db/history-repo.ts +151 -22
  263. package/src/db/index.ts +37 -1
  264. package/src/db/metrics-repo.ts +2 -2
  265. package/src/db/migrate.ts +3 -1
  266. package/src/db/recovery.ts +5 -4
  267. package/src/db/run-context.ts +370 -0
  268. package/src/db/run-dlq.ts +310 -0
  269. package/src/db/run-journal.ts +100 -13
  270. package/src/db/run-resume.ts +65 -13
  271. package/src/db/runs-repo.ts +66 -13
  272. package/src/db/schema.ts +218 -3
  273. package/src/db/settings-repo.ts +31 -0
  274. package/src/db/step-idempotency.ts +185 -0
  275. package/src/gui.tsx +692 -13
  276. package/src/history.ts +1 -1
  277. package/src/i18n.ts +12 -4
  278. package/src/index.ts +648 -8
  279. package/src/notifications.ts +38 -8
  280. package/src/profiles.ts +26 -4
  281. package/src/rpc.ts +379 -0
  282. package/src/server.ts +206 -54
  283. package/src/settings.ts +5 -5
  284. package/src/shared/jobs-view.ts +3 -1
  285. package/src/task-transfer.ts +31 -0
  286. package/src/types.ts +9 -0
  287. package/src/workspaces.ts +58 -9
package/locales/en.json CHANGED
@@ -34,6 +34,10 @@
34
34
  "dryRun.window.postpone": "Now {reason}: the run will be postponed to {nextOpenAt}.",
35
35
  "dryRun.window.run": "Now {reason}: run policy — the task will execute anyway.",
36
36
  "dryRun.window.skip": "Now {reason}: with the skip policy the run will be skipped.",
37
+ "dryRun.window.unreachable": "Cron \"{cron}\" will never fall inside the launch window: {reason}. The task will never run — change the cron, the window or windowPolicy.",
38
+ "dryRun.window.reason.neverFires": "the cron never fires",
39
+ "dryRun.window.reason.neverInWindow": "no run falls inside the window",
40
+ "dryRun.window.reason.postponeTooFar": "the nearest window opening is more than 12 hours away",
37
41
  "gitTrigger.baseline": "Remembered current commit {commit} — the task will run on the next change.",
38
42
  "gitTrigger.branchMismatch": "Branch {branch} does not match the filter \"{pattern}\".",
39
43
  "gitTrigger.changed": "New commit {commit}: {count} files changed ({files}).",
@@ -97,6 +101,68 @@
97
101
  "gui.digestNeverSent": "never sent",
98
102
  "gui.digestWeekly": "weekly (Mon)",
99
103
  "gui.days": "Days",
104
+ "gui.dlqActions": "Actions",
105
+ "gui.dlqAttempts": "Attempts",
106
+ "gui.dlqCreated": "Created",
107
+ "gui.dlqDiscard": "Discard",
108
+ "gui.dlqDiscardConfirm": "Discard retry of step \"{step}\" from run {run}? The step stays failed.",
109
+ "gui.dlqDiscardFailed": "Could not close the entry",
110
+ "gui.dlqDiscardTitle": "Close the entry without retrying",
111
+ "gui.dlqDiscarded": "Entry closed",
112
+ "gui.dlqDiscardedDescription": "Step \"{step}\" will not be retried automatically.",
113
+ "gui.dlqEmpty": "The queue is empty.",
114
+ "gui.dlqError": "Error",
115
+ "gui.dlqFilter": "Status",
116
+ "gui.dlqFilterAll": "All",
117
+ "gui.dlqFilterDiscarded": "Discarded",
118
+ "gui.dlqFilterOpen": "Open",
119
+ "gui.dlqFilterRetried": "Retried",
120
+ "gui.dlqHeading": "♻️ Dead-letter queue (DLQ)",
121
+ "gui.dlqHint": "Steps that failed deterministically and exhausted their attempts. Retry reopens the run and prepares the step; discard closes the entry without retrying.",
122
+ "gui.dlqOpenCount": "open: {count}",
123
+ "gui.dlqReason": "Reason",
124
+ "gui.dlqReasonAttempts": "attempts exhausted",
125
+ "gui.dlqReasonManual": "manual",
126
+ "gui.dlqRetried": "Step returned to the run",
127
+ "gui.dlqRetriedDescription": "Step \"{step}\" is ready to run (attempt + 1).",
128
+ "gui.dlqRetry": "Retry",
129
+ "gui.dlqRetryConfirm": "Retry step \"{step}\" from run {run}? The run will be reopened.",
130
+ "gui.dlqRetryFailed": "Could not retry the step",
131
+ "gui.dlqRetryTitle": "Return the step to the run (attempt + 1)",
132
+ "gui.dlqRun": "Run / step",
133
+ "gui.dlqUnknownError": "Unknown error",
134
+ "gui.runsActiveCount": "active: {count}",
135
+ "gui.runsCommentPlaceholder": "Comment for the next step (optional)",
136
+ "gui.runsConsumedBy": "delivered to {step}",
137
+ "gui.runsContextHistory": "Pause context: {count}",
138
+ "gui.runsCurrentStep": "Current step:",
139
+ "gui.runsEmpty": "No active durable runs.",
140
+ "gui.runsFilter": "Status",
141
+ "gui.runsFilterActive": "Active",
142
+ "gui.runsFilterAll": "All",
143
+ "gui.runsFilterFailed": "Failed",
144
+ "gui.runsFilterPaused": "Paused",
145
+ "gui.runsFilterRunning": "Running",
146
+ "gui.runsHeading": "⏯️ DAG runs",
147
+ "gui.runsHint": "Pause happens between steps and stores a comment for the next step. Resume clears the pause and prepares the step; the DAG executor continues the work.",
148
+ "gui.runsNoCurrentStep": "All steps are finished",
149
+ "gui.runsPause": "Pause",
150
+ "gui.runsPauseConfirm": "Pause run \"{task}\"?",
151
+ "gui.runsPauseFailed": "Could not pause the run",
152
+ "gui.runsPaused": "Run paused",
153
+ "gui.runsPausedDescription": "Comment saved for step {step}.",
154
+ "gui.runsPauseTitle": "Pause the run and save the comment",
155
+ "gui.runsPending": "waiting for resume",
156
+ "gui.runsProgress": "steps: {done}/{total}",
157
+ "gui.runsResume": "Resume",
158
+ "gui.runsResumeConfirm": "Resume run \"{task}\"?",
159
+ "gui.runsResumeFailed": "Could not resume the run",
160
+ "gui.runsResumeHint": "The step is prepared; the DAG executor continues the work.",
161
+ "gui.runsResumed": "Run resumed",
162
+ "gui.runsResumedDescription": "Next step: {step}.",
163
+ "gui.runsResumeTitle": "Clear the pause and prepare the next step",
164
+ "gui.runsRunningWarning": "The step is already running — pause will be available after it finishes.",
165
+ "gui.runsUnknownError": "Unknown error",
100
166
  "gui.dryRunButton": "🧪 Preview",
101
167
  "gui.dryRunLocalTitle": "🧪 Preview (local, based on form fields)",
102
168
  "gui.dryRunMatrixPreview": "Matrix: {count, plural, one {# clone} other {# clones}} will be created per workspace; the parent does not run.",
@@ -123,6 +189,7 @@
123
189
  "gui.history.error": "❌ Error",
124
190
  "gui.history.modelTitle": "Model: {model}",
125
191
  "gui.history.nextTaskTitle": "Next task in the chain was started",
192
+ "gui.history.skipped": "⏭ Skipped",
126
193
  "gui.history.success": "✅ Success",
127
194
  "gui.historyCleanupHint": "Only finished records are deleted; unfinished runs are kept.",
128
195
  "gui.historyDeleteOlderLabel": "Delete records older than, days",
@@ -190,6 +257,7 @@
190
257
  "gui.jobStatus.partial": "🟠 Partial",
191
258
  "gui.jobStatus.paused": "⏸ Paused",
192
259
  "gui.jobStatus.running": "🟡 Running: {seconds} s",
260
+ "gui.jobStatus.skipped": "⏭ Skipped",
193
261
  "gui.jobStatus.success": "🟢 Done",
194
262
  "gui.jobStatus.unknown": "⚪ Unknown",
195
263
  "gui.jobsTitle": "Scheduler",
@@ -632,6 +700,7 @@
632
700
  "schedule.error.cronRangeInvalid": "Invalid range \"{item}\".",
633
701
  "schedule.error.cronStepInvalid": "Invalid step \"/{step}\" in \"{raw}\".",
634
702
  "schedule.error.cronStepMissing": "Invalid step in \"{raw}\": nothing before \"/\".",
703
+ "schedule.error.cronStepNeedsRange": "Step \"/{step}\" is only allowed with a range or \"*\": \"{raw}\". Use e.g. \"5-59/15\" or \"*/15\".",
635
704
  "schedule.error.cronValueBounds": "Value \"{raw}\" is outside {min}..{max}.",
636
705
  "schedule.error.everyInterval": "Unsupported interval \"@every {value}\" (m: 1..59, h: 1..23, d: 1..31).",
637
706
  "schedule.error.lastDomOnly": "\"L\" is supported only in the day-of-month field.",
@@ -777,5 +846,19 @@
777
846
  "tool.workspace.needDeleteId": "action=delete requires id.",
778
847
  "tool.workspace.needPath": "action=add requires path.",
779
848
  "tool.workspace.needUpdateId": "action=update requires id.",
780
- "tool.workspace.notFound": "Workspace not found."
849
+ "tool.workspace.notFound": "Workspace not found.",
850
+ "gui.missionHeading": "Ad-hoc mission",
851
+ "gui.missionHint": "Runs without OS registration through the same runtime, GATE and ledger.",
852
+ "gui.missionCwdPlaceholder": "Working directory (defaults to current)",
853
+ "gui.missionTimeout": "Timeout, sec",
854
+ "gui.missionPolicy": "Permission policy",
855
+ "gui.missionPolicyHybrid": "hybrid",
856
+ "gui.missionPolicySecure": "secure",
857
+ "gui.missionPolicyLegacy": "legacy",
858
+ "gui.missionDryRun": "Plan only (dry-run)",
859
+ "gui.missionRun": "Run mission",
860
+ "gui.missionTitle": "Ad-hoc mission",
861
+ "gui.missionEmptyPrompt": "Enter a mission prompt.",
862
+ "gui.missionStarted": "Mission completed",
863
+ "gui.missionFailed": "Mission failed"
781
864
  }
package/locales/ru.json CHANGED
@@ -34,6 +34,10 @@
34
34
  "dryRun.window.postpone": "Сейчас {reason}: запуск будет перенесён на {nextOpenAt}.",
35
35
  "dryRun.window.run": "Сейчас {reason}: политика run — задача выполнится всё равно.",
36
36
  "dryRun.window.skip": "Сейчас {reason}: при политике skip запуск будет пропущен.",
37
+ "dryRun.window.unreachable": "Cron «{cron}» никогда не попадёт в окно запуска: {reason}. Задача не будет выполняться — измените cron, окно или windowPolicy.",
38
+ "dryRun.window.reason.neverFires": "cron не даёт ни одного запуска",
39
+ "dryRun.window.reason.neverInWindow": "ни один запуск не попадает в окно",
40
+ "dryRun.window.reason.postponeTooFar": "ближайшее открытие окна позже 12 часов",
37
41
  "gitTrigger.baseline": "Запомнен текущий коммит {commit} — задача запустится на следующем изменении.",
38
42
  "gitTrigger.branchMismatch": "Ветка {branch} не подходит под фильтр «{pattern}».",
39
43
  "gitTrigger.changed": "Новый коммит {commit}: изменено файлов {count} ({files}).",
@@ -97,6 +101,68 @@
97
101
  "gui.digestNeverSent": "ещё не отправлялся",
98
102
  "gui.digestWeekly": "еженедельно (Пн)",
99
103
  "gui.days": "Дней",
104
+ "gui.dlqActions": "Действия",
105
+ "gui.dlqAttempts": "Попытки",
106
+ "gui.dlqCreated": "Создана",
107
+ "gui.dlqDiscard": "Discard",
108
+ "gui.dlqDiscardConfirm": "Отклонить повтор шага \"{step}\" из запуска {run}? Шаг останется failed.",
109
+ "gui.dlqDiscardFailed": "Не удалось закрыть запись",
110
+ "gui.dlqDiscardTitle": "Закрыть запись без повтора",
111
+ "gui.dlqDiscarded": "Запись закрыта",
112
+ "gui.dlqDiscardedDescription": "Шаг \"{step}\" больше не будет повторён автоматически.",
113
+ "gui.dlqEmpty": "Очередь пуста.",
114
+ "gui.dlqError": "Ошибка",
115
+ "gui.dlqFilter": "Статус",
116
+ "gui.dlqFilterAll": "Все",
117
+ "gui.dlqFilterDiscarded": "Отклонённые",
118
+ "gui.dlqFilterOpen": "Открытые",
119
+ "gui.dlqFilterRetried": "Повторённые",
120
+ "gui.dlqHeading": "♻️ Dead-letter queue (DLQ)",
121
+ "gui.dlqHint": "Шаги, которые упали детерминированно и исчерпали попытки. Retry переоткрывает запуск и готовит шаг к выполнению; discard закрывает запись без повтора.",
122
+ "gui.dlqOpenCount": "открытых: {count}",
123
+ "gui.dlqReason": "Причина",
124
+ "gui.dlqReasonAttempts": "исчерпаны попытки",
125
+ "gui.dlqReasonManual": "вручную",
126
+ "gui.dlqRetried": "Шаг возвращён в запуск",
127
+ "gui.dlqRetriedDescription": "Шаг \"{step}\" готов к выполнению (attempt + 1).",
128
+ "gui.dlqRetry": "Retry",
129
+ "gui.dlqRetryConfirm": "Повторить шаг \"{step}\" из запуска {run}? Запуск будет переоткрыт.",
130
+ "gui.dlqRetryFailed": "Не удалось повторить шаг",
131
+ "gui.dlqRetryTitle": "Вернуть шаг в запуск (attempt + 1)",
132
+ "gui.dlqRun": "Запуск / шаг",
133
+ "gui.dlqUnknownError": "Неизвестная ошибка",
134
+ "gui.runsActiveCount": "активных: {count}",
135
+ "gui.runsCommentPlaceholder": "Комментарий к следующему шагу (необязательно)",
136
+ "gui.runsConsumedBy": "передан шагу {step}",
137
+ "gui.runsContextHistory": "Контекст паузы: {count}",
138
+ "gui.runsCurrentStep": "Текущий шаг:",
139
+ "gui.runsEmpty": "Активных durable-запусков нет.",
140
+ "gui.runsFilter": "Статус",
141
+ "gui.runsFilterActive": "Активные",
142
+ "gui.runsFilterAll": "Все",
143
+ "gui.runsFilterFailed": "Упавшие",
144
+ "gui.runsFilterPaused": "На паузе",
145
+ "gui.runsFilterRunning": "Выполняются",
146
+ "gui.runsHeading": "⏯️ Запуски DAG",
147
+ "gui.runsHint": "Пауза ставится между шагами и сохраняет комментарий для следующего шага. Resume снимает паузу и готовит шаг; выполнение продолжает исполнитель DAG.",
148
+ "gui.runsNoCurrentStep": "Все шаги завершены",
149
+ "gui.runsPause": "Пауза",
150
+ "gui.runsPauseConfirm": "Поставить запуск «{task}» на паузу?",
151
+ "gui.runsPauseFailed": "Не удалось поставить на паузу",
152
+ "gui.runsPaused": "Запуск на паузе",
153
+ "gui.runsPausedDescription": "Комментарий сохранён для шага {step}.",
154
+ "gui.runsPauseTitle": "Поставить запуск на паузу и сохранить комментарий",
155
+ "gui.runsPending": "ожидает resume",
156
+ "gui.runsProgress": "шагов: {done}/{total}",
157
+ "gui.runsResume": "Resume",
158
+ "gui.runsResumeConfirm": "Возобновить запуск «{task}»?",
159
+ "gui.runsResumeFailed": "Не удалось возобновить запуск",
160
+ "gui.runsResumeHint": "Шаг подготовлен; выполнение продолжит исполнитель DAG.",
161
+ "gui.runsResumed": "Запуск возобновлён",
162
+ "gui.runsResumedDescription": "Следующий шаг: {step}.",
163
+ "gui.runsResumeTitle": "Снять паузу и подготовить следующий шаг",
164
+ "gui.runsRunningWarning": "Шаг уже выполняется — пауза будет доступна после его завершения.",
165
+ "gui.runsUnknownError": "Неизвестная ошибка",
100
166
  "gui.dryRunButton": "🧪 Превью",
101
167
  "gui.dryRunLocalTitle": "🧪 Превью (локальное, по полям формы)",
102
168
  "gui.dryRunMatrixPreview": "Matrix: будет создано {count, plural, one {# клон} few {# клона} many {# клонов} other {# клонов}} по workspace; родитель сам не выполняется.",
@@ -123,6 +189,7 @@
123
189
  "gui.history.error": "❌ Ошибка",
124
190
  "gui.history.modelTitle": "Модель: {model}",
125
191
  "gui.history.nextTaskTitle": "Запущена следующая задача в цепочке",
192
+ "gui.history.skipped": "⏭ Пропущено",
126
193
  "gui.history.success": "✅ Успех",
127
194
  "gui.historyCleanupHint": "Удаляются только завершённые записи; незавершённые запуски не трогаются.",
128
195
  "gui.historyDeleteOlderLabel": "Удалять записи старше, дней",
@@ -190,6 +257,7 @@
190
257
  "gui.jobStatus.partial": "🟠 Частично",
191
258
  "gui.jobStatus.paused": "⏸ Пауза",
192
259
  "gui.jobStatus.running": "🟡 Выполняется: {seconds} сек",
260
+ "gui.jobStatus.skipped": "⏭ Пропущено",
193
261
  "gui.jobStatus.success": "🟢 Готова",
194
262
  "gui.jobStatus.unknown": "⚪ Неизвестно",
195
263
  "gui.jobsTitle": "Планировщик",
@@ -632,6 +700,7 @@
632
700
  "schedule.error.cronRangeInvalid": "Недопустимый диапазон «{item}».",
633
701
  "schedule.error.cronStepInvalid": "Недопустимый шаг «/{step}» в «{raw}».",
634
702
  "schedule.error.cronStepMissing": "Некорректный шаг в «{raw}»: перед «/» ничего нет.",
703
+ "schedule.error.cronStepNeedsRange": "Шаг «/{step}» допустим только для диапазона или «*»: «{raw}». Используйте, например, «5-59/15» или «*/15».",
635
704
  "schedule.error.cronValueBounds": "Значение «{raw}» вне границ {min}..{max}.",
636
705
  "schedule.error.everyInterval": "Неподдерживаемый интервал «@every {value}» (m: 1..59, h: 1..23, d: 1..31).",
637
706
  "schedule.error.lastDomOnly": "«L» поддерживается только в поле дня месяца.",
@@ -777,5 +846,19 @@
777
846
  "tool.workspace.needDeleteId": "Для action=delete нужен id.",
778
847
  "tool.workspace.needPath": "Для action=add нужен path.",
779
848
  "tool.workspace.needUpdateId": "Для action=update нужен id.",
780
- "tool.workspace.notFound": "Workspace не найден."
849
+ "tool.workspace.notFound": "Workspace не найден.",
850
+ "gui.missionHeading": "Ad-hoc миссия",
851
+ "gui.missionHint": "Запуск без регистрации в ОС: единый runtime, GATE и ledger.",
852
+ "gui.missionCwdPlaceholder": "Рабочая директория (по умолчанию — текущая)",
853
+ "gui.missionTimeout": "Таймаут, сек",
854
+ "gui.missionPolicy": "Политика прав",
855
+ "gui.missionPolicyHybrid": "hybrid",
856
+ "gui.missionPolicySecure": "secure",
857
+ "gui.missionPolicyLegacy": "legacy",
858
+ "gui.missionDryRun": "Только план (dry-run)",
859
+ "gui.missionRun": "Запустить миссию",
860
+ "gui.missionTitle": "Ad-hoc миссия",
861
+ "gui.missionEmptyPrompt": "Введите промпт миссии.",
862
+ "gui.missionStarted": "Миссия выполнена",
863
+ "gui.missionFailed": "Миссия не выполнена"
781
864
  }
package/locales/zh.json CHANGED
@@ -34,6 +34,10 @@
34
34
  "dryRun.window.postpone": "当前{reason}:运行将推迟到 {nextOpenAt}。",
35
35
  "dryRun.window.run": "当前{reason}:run 策略——任务仍将执行。",
36
36
  "dryRun.window.skip": "当前{reason}:skip 策略下将跳过运行。",
37
+ "dryRun.window.unreachable": "Cron “{cron}” 永远不会落在启动时间窗内:{reason}。任务将永远不会运行——请修改 cron、时间窗或 windowPolicy。",
38
+ "dryRun.window.reason.neverFires": "cron 不会触发任何运行",
39
+ "dryRun.window.reason.neverInWindow": "没有任何运行落在时间窗内",
40
+ "dryRun.window.reason.postponeTooFar": "最近的时间窗开放时间超过 12 小时",
37
41
  "gitTrigger.baseline": "已记录当前提交 {commit}——任务将在下次变更时运行。",
38
42
  "gitTrigger.branchMismatch": "分支 {branch} 与筛选条件 “{pattern}” 不匹配。",
39
43
  "gitTrigger.changed": "新提交 {commit}:{count} 个文件已更改({files})。",
@@ -97,6 +101,68 @@
97
101
  "gui.digestLastSent": "上次发送:{when}",
98
102
  "gui.digestNeverSent": "尚未发送",
99
103
  "gui.digestWeekly": "每周(周一)",
104
+ "gui.dlqActions": "操作",
105
+ "gui.dlqAttempts": "尝试次数",
106
+ "gui.dlqCreated": "创建时间",
107
+ "gui.dlqDiscard": "放弃",
108
+ "gui.dlqDiscardConfirm": "放弃运行 {run} 中步骤“{step}”的重试?该步骤将保持失败状态。",
109
+ "gui.dlqDiscardFailed": "无法关闭记录",
110
+ "gui.dlqDiscardTitle": "关闭记录且不重试",
111
+ "gui.dlqDiscarded": "记录已关闭",
112
+ "gui.dlqDiscardedDescription": "步骤“{step}”将不会自动重试。",
113
+ "gui.dlqEmpty": "队列为空。",
114
+ "gui.dlqError": "错误",
115
+ "gui.dlqFilter": "状态",
116
+ "gui.dlqFilterAll": "全部",
117
+ "gui.dlqFilterDiscarded": "已放弃",
118
+ "gui.dlqFilterOpen": "待处理",
119
+ "gui.dlqFilterRetried": "已重试",
120
+ "gui.dlqHeading": "♻️ 死信队列(DLQ)",
121
+ "gui.dlqHint": "确定性失败并耗尽尝试次数的步骤。重试会重新打开运行并准备该步骤;放弃会关闭记录且不重试。",
122
+ "gui.dlqOpenCount": "待处理:{count}",
123
+ "gui.dlqReason": "原因",
124
+ "gui.dlqReasonAttempts": "尝试次数耗尽",
125
+ "gui.dlqReasonManual": "手动",
126
+ "gui.dlqRetried": "步骤已返回运行",
127
+ "gui.dlqRetriedDescription": "步骤“{step}”已准备好执行(attempt + 1)。",
128
+ "gui.dlqRetry": "重试",
129
+ "gui.dlqRetryConfirm": "重试运行 {run} 中的步骤“{step}”?运行将被重新打开。",
130
+ "gui.dlqRetryFailed": "无法重试该步骤",
131
+ "gui.dlqRetryTitle": "将步骤返回到运行(attempt + 1)",
132
+ "gui.dlqRun": "运行 / 步骤",
133
+ "gui.dlqUnknownError": "未知错误",
134
+ "gui.runsActiveCount": "活动: {count}",
135
+ "gui.runsCommentPlaceholder": "给下一步的备注(可选)",
136
+ "gui.runsConsumedBy": "已传给 {step}",
137
+ "gui.runsContextHistory": "暂停上下文: {count}",
138
+ "gui.runsCurrentStep": "当前步骤:",
139
+ "gui.runsEmpty": "没有活动的 durable 运行。",
140
+ "gui.runsFilter": "状态",
141
+ "gui.runsFilterActive": "活动",
142
+ "gui.runsFilterAll": "全部",
143
+ "gui.runsFilterFailed": "失败",
144
+ "gui.runsFilterPaused": "已暂停",
145
+ "gui.runsFilterRunning": "运行中",
146
+ "gui.runsHeading": "⏯️ DAG 运行",
147
+ "gui.runsHint": "暂停发生在步骤之间,并为下一步保存备注。Resume 会解除暂停并准备步骤;执行由 DAG 执行器继续。",
148
+ "gui.runsNoCurrentStep": "所有步骤已完成",
149
+ "gui.runsPause": "暂停",
150
+ "gui.runsPauseConfirm": "暂停运行“{task}”?",
151
+ "gui.runsPauseFailed": "无法暂停运行",
152
+ "gui.runsPaused": "运行已暂停",
153
+ "gui.runsPausedDescription": "备注已保存给步骤 {step}。",
154
+ "gui.runsPauseTitle": "暂停运行并保存备注",
155
+ "gui.runsPending": "等待 resume",
156
+ "gui.runsProgress": "步骤: {done}/{total}",
157
+ "gui.runsResume": "Resume",
158
+ "gui.runsResumeConfirm": "恢复运行“{task}”?",
159
+ "gui.runsResumeFailed": "无法恢复运行",
160
+ "gui.runsResumeHint": "步骤已准备好;执行由 DAG 执行器继续。",
161
+ "gui.runsResumed": "运行已恢复",
162
+ "gui.runsResumedDescription": "下一步: {step}。",
163
+ "gui.runsResumeTitle": "解除暂停并准备下一步",
164
+ "gui.runsRunningWarning": "步骤正在运行 — 完成后才能暂停。",
165
+ "gui.runsUnknownError": "未知错误",
100
166
  "gui.dryRunButton": "🧪 预览",
101
167
  "gui.dryRunLocalTitle": "🧪 预览(本地,基于表单字段)",
102
168
  "gui.dryRunMatrixPreview": "矩阵:每个工作区将创建 {count, plural, other {# 个克隆}};父任务本身不运行。",
@@ -123,6 +189,7 @@
123
189
  "gui.history.error": "❌ 失败",
124
190
  "gui.history.modelTitle": "模型:{model}",
125
191
  "gui.history.nextTaskTitle": "链中的下一个任务已启动",
192
+ "gui.history.skipped": "⏭ 已跳过",
126
193
  "gui.history.success": "✅ 成功",
127
194
  "gui.historyCleanupHint": "仅删除已完成的记录;未完成的运行会保留。",
128
195
  "gui.historyDeleteOlderLabel": "删除早于以下天数的记录",
@@ -190,6 +257,7 @@
190
257
  "gui.jobStatus.partial": "🟠 部分",
191
258
  "gui.jobStatus.paused": "⏸ 暂停",
192
259
  "gui.jobStatus.running": "🟡 正在运行:{seconds} 秒",
260
+ "gui.jobStatus.skipped": "⏭ 已跳过",
193
261
  "gui.jobStatus.success": "🟢 完成",
194
262
  "gui.jobStatus.unknown": "⚪ 未知",
195
263
  "gui.jobsTitle": "调度器",
@@ -632,6 +700,7 @@
632
700
  "schedule.error.cronRangeInvalid": "无效范围 “{item}”。",
633
701
  "schedule.error.cronStepInvalid": "“{raw}” 中的无效步长 “/{step}”。",
634
702
  "schedule.error.cronStepMissing": "“{raw}” 中的步长无效:“/” 前无内容。",
703
+ "schedule.error.cronStepNeedsRange": "步长 “/{step}” 只能与范围或 “*” 一起使用:“{raw}”。请使用 “5-59/15” 或 “*/15”。",
635
704
  "schedule.error.cronValueBounds": "值 “{raw}” 超出 {min}..{max}。",
636
705
  "schedule.error.everyInterval": "不支持的间隔 “@every {value}”(m: 1..59, h: 1..23, d: 1..31)。",
637
706
  "schedule.error.lastDomOnly": "“L” 仅在“日”字段中受支持。",
@@ -777,5 +846,19 @@
777
846
  "tool.workspace.needDeleteId": "action=delete 需要 id。",
778
847
  "tool.workspace.needPath": "action=add 需要 path。",
779
848
  "tool.workspace.needUpdateId": "action=update 需要 id。",
780
- "tool.workspace.notFound": "未找到工作区。"
849
+ "tool.workspace.notFound": "未找到工作区。",
850
+ "gui.missionHeading": "Ad-hoc 任务",
851
+ "gui.missionHint": "无需在操作系统中注册,使用同一 runtime、GATE 和 ledger。",
852
+ "gui.missionCwdPlaceholder": "工作目录(默认为当前目录)",
853
+ "gui.missionTimeout": "超时,秒",
854
+ "gui.missionPolicy": "权限策略",
855
+ "gui.missionPolicyHybrid": "hybrid",
856
+ "gui.missionPolicySecure": "secure",
857
+ "gui.missionPolicyLegacy": "legacy",
858
+ "gui.missionDryRun": "仅计划(dry-run)",
859
+ "gui.missionRun": "运行任务",
860
+ "gui.missionTitle": "Ad-hoc 任务",
861
+ "gui.missionEmptyPrompt": "请输入任务提示词。",
862
+ "gui.missionStarted": "任务已完成",
863
+ "gui.missionFailed": "任务失败"
781
864
  }
@@ -0,0 +1,35 @@
1
+ version: 1
2
+ name: nightly-release
3
+
4
+ description: Lint, test and build the repository every night after the last commit.
5
+
6
+ defaults:
7
+ timeoutSeconds: 1800
8
+ retryCount: 1
9
+ retryDelay: 120
10
+ allowedTools: [read, edit, glob, grep]
11
+
12
+ steps:
13
+ - id: lint
14
+ schedule: "0 2 * * *"
15
+ prompt: >
16
+ Run the linter and fix every reported problem in the changed files.
17
+ Do not change behaviour, only style and obvious defects.
18
+ qualityGate: npm run lint
19
+
20
+ - id: test
21
+ needs: [lint]
22
+ trigger: dag
23
+ prompt: >
24
+ Run the test suite, find the cause of any failure and fix it.
25
+ Add a regression test when the fix changes behaviour.
26
+ qualityGate: npm test
27
+
28
+ - id: build
29
+ needs: [test]
30
+ trigger: dag
31
+ timeoutSeconds: 3600
32
+ prompt: >
33
+ Build the package and verify that dist/ contains the CLI entry point.
34
+ Report the build output size.
35
+ qualityGate: npm run build
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agent-steward",
3
- "version": "0.0.3",
3
+ "version": "0.0.5",
4
4
  "description": "OpenCode plugin for V1 and V2: scheduling and orchestrating AI agent jobs — cron, one-shot runs, DAG pipelines, matrix builds, quality gates, SQLite history, metrics and a local web dashboard. Windows, macOS and Linux. Free and open source (MIT).",
5
5
  "license": "MIT",
6
6
  "author": "agent-steward contributors",
@@ -36,6 +36,9 @@
36
36
  ],
37
37
  "main": "dist/index.js",
38
38
  "types": "dist/index.d.ts",
39
+ "bin": {
40
+ "agent-steward": "dist/cli.js"
41
+ },
39
42
  "type": "module",
40
43
  "exports": {
41
44
  ".": {
@@ -43,6 +46,10 @@
43
46
  "default": "./dist/index.js"
44
47
  },
45
48
  "./tui": "./src/tui.tsx",
49
+ "./rpc": {
50
+ "types": "./dist/rpc.d.ts",
51
+ "default": "./dist/rpc.js"
52
+ },
46
53
  "./gui-experimental": "./gui-experimental.cjs",
47
54
  "./package.json": "./package.json"
48
55
  },
@@ -56,6 +63,7 @@
56
63
  "scripts",
57
64
  "docs",
58
65
  "README.md",
66
+ "opencode.pipeline.yaml",
59
67
  "LICENSE",
60
68
  "CHANGELOG.md",
61
69
  "CROSS_PLATFORM.md",
@@ -78,13 +86,28 @@
78
86
  "prepare": "npm run build",
79
87
  "prepublishOnly": "npm run build && npm run build:gui",
80
88
  "pretest": "npm run build",
81
- "test": "node test-sqlite.mjs && node test-user-version.mjs && node test-run-state.mjs && node test-run-journal.mjs && node test-run-resume.mjs && node test-crash-recovery.mjs && node test-workspaces.mjs && node test-role-scoped.mjs && node test-permissions-policy.mjs && node test-dry-run.mjs && node test-matrix.mjs && node test-matrix-lifecycle.mjs && node test-matrix-sync.mjs && node test-retention.mjs && node test-metrics.mjs && node test-savings.mjs && node test-schedule-v2.mjs && node test-notifications-v2.mjs && node test-notifications-dedup.mjs && node test-notifications-embedding.mjs && node test-notifications-summary.mjs && node test-settings.mjs && node test-notifications-v3.mjs && node test-triage.mjs && node test-triage-rules.mjs && node test-triage-compare.mjs && node test-triage-chain.mjs && node test-triage-shadow.mjs && node test-triage-audit.mjs && node test-triage-async.mjs && node test-local-ai.mjs && node test-secrets.mjs && node test-audit.mjs && node test-profiles.mjs && node test-env.mjs && node test-agent-tools.mjs && node test-self-analysis.mjs && node test-skill.mjs && node test-integrations.mjs && node test-one-shot.mjs && node test-session-continuity.mjs && node test-task-status.mjs && node test-jobs-view.mjs && node test-dag.mjs && node test-dashboard.mjs && node test-dashboard-trust.mjs && node test-dashboard-dag.mjs && node test-dashboard-json.mjs && node test-docs.mjs && node test-glob.mjs && node test-git-trigger.mjs && node test-window-v3.mjs && node test-i18n.mjs && node test-gui-bundle.mjs && node test-stale-lock.mjs && node test-task-name-limit.mjs && node test-task-name-limit-profile.mjs && node test-delete-profile.mjs && node test-execution-hardening.mjs && node test-path-safety.mjs && node test-watch-paths.mjs && node test-windows-oem.mjs && node test-schtasks-errors.mjs && node test-schtasks-locales.mjs && node test-cron-to-schtasks.mjs && node test-mac-cron.mjs && node test-at-fallback.mjs && node test-shutdown.mjs && node test-dual-entry.mjs && node test-v1-integration.mjs && node test-usage-from-log.mjs && node test-posix-e2e.mjs && node test-model-validation.mjs",
89
+ "test": "node test-sqlite.mjs && node test-user-version.mjs && node test-run-state.mjs && node test-run-journal.mjs && node test-run-resume.mjs && node test-step-idempotency.mjs && node test-run-dlq.mjs && node test-run-context.mjs && node test-dlq-gui.mjs && node test-pause-gui.mjs && node test-router-rules.mjs && node test-capability-map.mjs && node test-planner.mjs && node test-escalation.mjs && node test-router-dispatch.mjs && node test-execution-pipeline.mjs && node test-mission-run.mjs && node test-crash-recovery.mjs && node test-prompt-argv.mjs && node test-ps-watchdog.mjs && node test-workspaces.mjs && node test-role-scoped.mjs && node test-permissions-policy.mjs && node test-dry-run.mjs && node test-matrix.mjs && node test-matrix-lifecycle.mjs && node test-matrix-sync.mjs && node test-retention.mjs && node test-metrics.mjs && node test-savings.mjs && node test-schedule-v2.mjs && node test-notifications-v2.mjs && node test-notifications-dedup.mjs && node test-notifications-embedding.mjs && node test-notifications-summary.mjs && node test-settings.mjs && node test-notifications-v3.mjs && node test-triage.mjs && node test-triage-rules.mjs && node test-triage-compare.mjs && node test-triage-chain.mjs && node test-triage-shadow.mjs && node test-triage-audit.mjs && node test-triage-async.mjs && node test-local-ai.mjs && node test-secrets.mjs && node test-audit.mjs && node test-profiles.mjs && node test-env.mjs && node test-agent-tools.mjs && node test-self-analysis.mjs && node test-skill.mjs && node test-integrations.mjs && node test-one-shot.mjs && node test-session-continuity.mjs && node test-task-status.mjs && node test-jobs-view.mjs && node test-dag.mjs && node test-dashboard.mjs && node test-dashboard-trust.mjs && node test-dashboard-dag.mjs && node test-dashboard-json.mjs && node test-dashboard-xss.mjs && node test-profile-isolation.mjs && node test-docs.mjs && node test-glob.mjs && node test-git-trigger.mjs && node test-window-v3.mjs && node test-i18n.mjs && node test-gui-bundle.mjs && node test-lock-format.mjs && node test-stale-lock.mjs && node test-task-name-limit.mjs && node test-task-name-limit-profile.mjs && node test-delete-profile.mjs && node test-execution-hardening.mjs && node test-path-safety.mjs && node test-watch-paths.mjs && node test-windows-oem.mjs && node test-schtasks-errors.mjs && node test-schtasks-locales.mjs && node test-cron-to-schtasks.mjs && node test-mac-cron.mjs && node test-mac-launchctl.mjs && node test-at-fallback.mjs && node test-shutdown.mjs && node test-dual-entry.mjs && node test-v1-integration.mjs && node test-usage-from-log.mjs && node test-posix-e2e.mjs && node test-model-validation.mjs && node test-run-now.mjs && node test-task-name-collision.mjs && node test-pause-one-shot.mjs && node test-package-exports.mjs && node test-registry-resilience.mjs && node test-posix-create-rollback.mjs && node test-workflows.mjs && node test-dag-latest-history.mjs && node test-retry-counter.mjs && node test-models-config.mjs && node test-posix-cron.mjs && node test-migrate-partial.mjs && node test-windows-locales.mjs && node test-pipeline.mjs && node test-at-e2e.mjs && node test-worktree.mjs && node test-guards.mjs && node test-w4.mjs",
82
90
  "test:sqlite": "node test-sqlite.mjs",
83
91
  "test:user-version": "node test-user-version.mjs",
84
92
  "test:run-state": "node test-run-state.mjs",
85
93
  "test:run-journal": "node test-run-journal.mjs",
86
94
  "test:run-resume": "node test-run-resume.mjs",
95
+ "test:step-idempotency": "node test-step-idempotency.mjs",
96
+ "test:run-dlq": "node test-run-dlq.mjs",
97
+ "test:run-context": "node test-run-context.mjs",
98
+ "test:dlq-gui": "node test-dlq-gui.mjs",
99
+ "test:pause-gui": "node test-pause-gui.mjs",
100
+ "test:router-rules": "node test-router-rules.mjs",
101
+ "test:capability-map": "node test-capability-map.mjs",
102
+ "test:planner": "node test-planner.mjs",
103
+ "test:escalation": "node test-escalation.mjs",
104
+ "test:router-dispatch": "node test-router-dispatch.mjs",
87
105
  "test:crash": "node test-crash-recovery.mjs",
106
+ "test:prompt-argv": "node test-prompt-argv.mjs",
107
+ "test:execution-pipeline": "node test-execution-pipeline.mjs",
108
+ "test:mission-run": "node test-mission-run.mjs",
109
+ "test:ps-watchdog": "node test-ps-watchdog.mjs",
110
+ "test:chaos": "node test-chaos-dag.mjs",
88
111
  "test:workspaces": "node test-workspaces.mjs",
89
112
  "test:role": "node test-role-scoped.mjs",
90
113
  "test:dry-run": "node test-dry-run.mjs",
@@ -94,6 +117,12 @@
94
117
  "test:retention": "node test-retention.mjs",
95
118
  "test:metrics": "node test-metrics.mjs",
96
119
  "test:schedule-v2": "node test-schedule-v2.mjs",
120
+ "test:posix-cron": "node test-posix-cron.mjs",
121
+ "test:migrate-partial": "node test-migrate-partial.mjs",
122
+ "test:at-e2e": "node test-at-e2e.mjs",
123
+ "test:worktree": "node test-worktree.mjs",
124
+ "test:guards": "node test-guards.mjs",
125
+ "test:w4": "node test-w4.mjs",
97
126
  "test:notifications-v2": "node test-notifications-v2.mjs",
98
127
  "test:notifications-v3": "node test-notifications-v3.mjs",
99
128
  "test:settings": "node test-settings.mjs",
@@ -117,9 +146,14 @@
117
146
  "test:jobs-view": "node test-jobs-view.mjs",
118
147
  "test:one-shot": "node test-one-shot.mjs",
119
148
  "test:dag": "node test-dag.mjs",
149
+ "test:dag-latest-history": "node test-dag-latest-history.mjs",
150
+ "test:retry-counter": "node test-retry-counter.mjs",
151
+ "test:models-config": "node test-models-config.mjs",
120
152
  "test:dashboard": "node test-dashboard.mjs",
121
153
  "test:dashboard-dag": "node test-dashboard-dag.mjs",
122
154
  "test:dashboard-json": "node test-dashboard-json.mjs",
155
+ "test:dashboard-xss": "node test-dashboard-xss.mjs",
156
+ "test:profile-isolation": "node test-profile-isolation.mjs",
123
157
  "test:docs": "node test-docs.mjs",
124
158
  "test:glob": "node test-glob.mjs",
125
159
  "test:git-trigger": "node test-git-trigger.mjs",
@@ -135,11 +169,20 @@
135
169
  "test:schtasks-errors": "node test-schtasks-errors.mjs",
136
170
  "test:cron-to-schtasks": "node test-cron-to-schtasks.mjs",
137
171
  "test:mac-cron": "node test-mac-cron.mjs",
172
+ "test:mac-launchctl": "node test-mac-launchctl.mjs",
173
+ "test:lock-format": "node test-lock-format.mjs",
138
174
  "test:at-fallback": "node test-at-fallback.mjs",
139
175
  "test:shutdown": "node test-shutdown.mjs",
140
176
  "test:usage-from-log": "node test-usage-from-log.mjs",
141
177
  "test:posix-e2e": "node test-posix-e2e.mjs",
142
178
  "test:model": "node test-model-validation.mjs",
179
+ "test:run-now": "node test-run-now.mjs",
180
+ "test:task-name-collision": "node test-task-name-collision.mjs",
181
+ "test:pause-one-shot": "node test-pause-one-shot.mjs",
182
+ "test:package-exports": "node test-package-exports.mjs",
183
+ "test:registry-resilience": "node test-registry-resilience.mjs",
184
+ "test:posix-create-rollback": "node test-posix-create-rollback.mjs",
185
+ "test:workflows": "node test-workflows.mjs",
143
186
  "test:watch-paths": "node test-watch-paths.mjs",
144
187
  "test:en": "node scripts/test-locale.mjs en",
145
188
  "test:zh": "node scripts/test-locale.mjs zh",
@@ -153,6 +196,7 @@
153
196
  "@opencode/schema": "^2.2.7",
154
197
  "chokidar": "^6.0.0",
155
198
  "iconv-lite": "^0.7.3",
199
+ "yaml": "^2.9.1",
156
200
  "zod": "^4.6.7"
157
201
  },
158
202
  "devDependencies": {