agent-steward 0.0.4 → 0.0.6

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 (279) hide show
  1. package/CHANGELOG.md +309 -2
  2. package/CROSS_PLATFORM.md +19 -0
  3. package/README.md +55 -8
  4. package/ROADMAP-STRATEGY.md +22 -19
  5. package/ROADMAP.md +230 -159
  6. package/dist/cli.d.ts +3 -0
  7. package/dist/cli.d.ts.map +1 -0
  8. package/dist/cli.js +356 -0
  9. package/dist/core/analytics.d.ts +6 -0
  10. package/dist/core/analytics.d.ts.map +1 -1
  11. package/dist/core/analytics.js +20 -3
  12. package/dist/core/audit.d.ts +6 -0
  13. package/dist/core/audit.d.ts.map +1 -1
  14. package/dist/core/audit.js +24 -0
  15. package/dist/core/budget.d.ts +118 -0
  16. package/dist/core/budget.d.ts.map +1 -0
  17. package/dist/core/budget.js +206 -0
  18. package/dist/core/cron-to-schtasks.d.ts.map +1 -1
  19. package/dist/core/cron-to-schtasks.js +38 -0
  20. package/dist/core/dry-run.d.ts +26 -1
  21. package/dist/core/dry-run.d.ts.map +1 -1
  22. package/dist/core/dry-run.js +199 -8
  23. package/dist/core/execution.d.ts +203 -0
  24. package/dist/core/execution.d.ts.map +1 -0
  25. package/dist/core/execution.js +309 -0
  26. package/dist/core/feedback.d.ts +192 -0
  27. package/dist/core/feedback.d.ts.map +1 -0
  28. package/dist/core/feedback.js +426 -0
  29. package/dist/core/gate-integrity.d.ts +71 -0
  30. package/dist/core/gate-integrity.d.ts.map +1 -0
  31. package/dist/core/gate-integrity.js +275 -0
  32. package/dist/core/git-trigger.d.ts.map +1 -1
  33. package/dist/core/git-trigger.js +14 -2
  34. package/dist/core/guard-run.d.ts +4 -0
  35. package/dist/core/guard-run.d.ts.map +1 -0
  36. package/dist/core/guard-run.js +101 -0
  37. package/dist/core/guard.d.ts +52 -0
  38. package/dist/core/guard.d.ts.map +1 -0
  39. package/dist/core/guard.js +362 -0
  40. package/dist/core/local-ai.d.ts.map +1 -1
  41. package/dist/core/local-ai.js +7 -3
  42. package/dist/core/lock.d.ts +41 -0
  43. package/dist/core/lock.d.ts.map +1 -1
  44. package/dist/core/lock.js +141 -29
  45. package/dist/core/matrix.d.ts +8 -0
  46. package/dist/core/matrix.d.ts.map +1 -1
  47. package/dist/core/matrix.js +132 -17
  48. package/dist/core/mission.d.ts +103 -0
  49. package/dist/core/mission.d.ts.map +1 -0
  50. package/dist/core/mission.js +374 -0
  51. package/dist/core/opencode-models.d.ts +2 -2
  52. package/dist/core/opencode-models.d.ts.map +1 -1
  53. package/dist/core/opencode-models.js +28 -21
  54. package/dist/core/opencode-usage.d.ts +35 -0
  55. package/dist/core/opencode-usage.d.ts.map +1 -0
  56. package/dist/core/opencode-usage.js +132 -0
  57. package/dist/core/pipeline-apply.d.ts +38 -0
  58. package/dist/core/pipeline-apply.d.ts.map +1 -0
  59. package/dist/core/pipeline-apply.js +117 -0
  60. package/dist/core/pipeline-io.d.ts +13 -0
  61. package/dist/core/pipeline-io.d.ts.map +1 -0
  62. package/dist/core/pipeline-io.js +78 -0
  63. package/dist/core/pipeline-map.d.ts +52 -0
  64. package/dist/core/pipeline-map.d.ts.map +1 -0
  65. package/dist/core/pipeline-map.js +208 -0
  66. package/dist/core/pipeline-spec.d.ts +109 -0
  67. package/dist/core/pipeline-spec.d.ts.map +1 -0
  68. package/dist/core/pipeline-spec.js +554 -0
  69. package/dist/core/ps-wrapper.d.ts +27 -2
  70. package/dist/core/ps-wrapper.d.ts.map +1 -1
  71. package/dist/core/ps-wrapper.js +424 -65
  72. package/dist/core/record-history.d.ts.map +1 -1
  73. package/dist/core/record-history.js +206 -33
  74. package/dist/core/router/rules.d.ts.map +1 -1
  75. package/dist/core/router/rules.js +6 -0
  76. package/dist/core/run-mode.d.ts +12 -0
  77. package/dist/core/run-mode.d.ts.map +1 -0
  78. package/dist/core/run-mode.js +17 -0
  79. package/dist/core/scheduler/linux.d.ts +8 -1
  80. package/dist/core/scheduler/linux.d.ts.map +1 -1
  81. package/dist/core/scheduler/linux.js +34 -9
  82. package/dist/core/scheduler/logs.d.ts +4 -0
  83. package/dist/core/scheduler/logs.d.ts.map +1 -1
  84. package/dist/core/scheduler/logs.js +25 -1
  85. package/dist/core/scheduler/mac.d.ts +44 -2
  86. package/dist/core/scheduler/mac.d.ts.map +1 -1
  87. package/dist/core/scheduler/mac.js +126 -15
  88. package/dist/core/scheduler/windows.d.ts.map +1 -1
  89. package/dist/core/scheduler/windows.js +15 -12
  90. package/dist/core/secrets.d.ts.map +1 -1
  91. package/dist/core/secrets.js +18 -8
  92. package/dist/core/self-analysis.d.ts +32 -2
  93. package/dist/core/self-analysis.d.ts.map +1 -1
  94. package/dist/core/self-analysis.js +38 -27
  95. package/dist/core/shutdown.d.ts +33 -2
  96. package/dist/core/shutdown.d.ts.map +1 -1
  97. package/dist/core/shutdown.js +58 -2
  98. package/dist/core/structured-log.d.ts +37 -1
  99. package/dist/core/structured-log.d.ts.map +1 -1
  100. package/dist/core/structured-log.js +37 -0
  101. package/dist/core/usage-surface.d.ts +25 -0
  102. package/dist/core/usage-surface.d.ts.map +1 -0
  103. package/dist/core/usage-surface.js +41 -0
  104. package/dist/core/worktree-run.d.ts +4 -0
  105. package/dist/core/worktree-run.d.ts.map +1 -0
  106. package/dist/core/worktree-run.js +164 -0
  107. package/dist/core/worktree.d.ts +115 -0
  108. package/dist/core/worktree.d.ts.map +1 -0
  109. package/dist/core/worktree.js +462 -0
  110. package/dist/core/wrappers/bash.d.ts +19 -0
  111. package/dist/core/wrappers/bash.d.ts.map +1 -1
  112. package/dist/core/wrappers/bash.js +230 -27
  113. package/dist/db/capability-repo.d.ts +43 -2
  114. package/dist/db/capability-repo.d.ts.map +1 -1
  115. package/dist/db/capability-repo.js +96 -11
  116. package/dist/db/history-repo.d.ts +70 -5
  117. package/dist/db/history-repo.d.ts.map +1 -1
  118. package/dist/db/history-repo.js +170 -29
  119. package/dist/db/metrics-repo.d.ts +20 -2
  120. package/dist/db/metrics-repo.d.ts.map +1 -1
  121. package/dist/db/metrics-repo.js +35 -13
  122. package/dist/db/migrate.d.ts.map +1 -1
  123. package/dist/db/migrate.js +37 -17
  124. package/dist/db/recovery.d.ts +3 -1
  125. package/dist/db/recovery.d.ts.map +1 -1
  126. package/dist/db/recovery.js +11 -5
  127. package/dist/db/run-journal.d.ts +33 -5
  128. package/dist/db/run-journal.d.ts.map +1 -1
  129. package/dist/db/run-journal.js +78 -14
  130. package/dist/db/run-resume.d.ts +5 -0
  131. package/dist/db/run-resume.d.ts.map +1 -1
  132. package/dist/db/run-resume.js +9 -2
  133. package/dist/db/runs-repo.d.ts +19 -2
  134. package/dist/db/runs-repo.d.ts.map +1 -1
  135. package/dist/db/runs-repo.js +91 -60
  136. package/dist/db/schema.d.ts +2 -2
  137. package/dist/db/schema.d.ts.map +1 -1
  138. package/dist/db/schema.js +132 -2
  139. package/dist/db/templates-repo.d.ts +2 -2
  140. package/dist/db/templates-repo.d.ts.map +1 -1
  141. package/dist/db/templates-repo.js +5 -3
  142. package/dist/history.d.ts +7 -2
  143. package/dist/history.d.ts.map +1 -1
  144. package/dist/history.js +4 -2
  145. package/dist/hook-output.d.ts +2 -0
  146. package/dist/hook-output.d.ts.map +1 -0
  147. package/dist/hook-output.js +31 -0
  148. package/dist/i18n.d.ts +5 -0
  149. package/dist/i18n.d.ts.map +1 -1
  150. package/dist/i18n.js +11 -4
  151. package/dist/index.d.ts +375 -47
  152. package/dist/index.d.ts.map +1 -1
  153. package/dist/index.js +1344 -192
  154. package/dist/notifications.d.ts +53 -2
  155. package/dist/notifications.d.ts.map +1 -1
  156. package/dist/notifications.js +168 -21
  157. package/dist/profiles.d.ts.map +1 -1
  158. package/dist/profiles.js +82 -10
  159. package/dist/rpc.d.ts +354 -0
  160. package/dist/rpc.d.ts.map +1 -1
  161. package/dist/rpc.js +145 -0
  162. package/dist/server.d.ts +32 -2
  163. package/dist/server.d.ts.map +1 -1
  164. package/dist/server.js +154 -30
  165. package/dist/settings.d.ts +44 -2
  166. package/dist/settings.d.ts.map +1 -1
  167. package/dist/settings.js +85 -3
  168. package/dist/shared/jobs-view.d.ts +1 -1
  169. package/dist/shared/jobs-view.d.ts.map +1 -1
  170. package/dist/shared/jobs-view.js +2 -0
  171. package/dist/task-transfer.d.ts +21 -0
  172. package/dist/task-transfer.d.ts.map +1 -1
  173. package/dist/task-transfer.js +64 -3
  174. package/dist/templates.d.ts +2 -2
  175. package/dist/templates.d.ts.map +1 -1
  176. package/dist/templates.js +3 -3
  177. package/dist/types.d.ts +22 -2
  178. package/dist/types.d.ts.map +1 -1
  179. package/dist/workspaces.d.ts.map +1 -1
  180. package/dist/workspaces.js +34 -11
  181. package/docs/ARCHITECTURE.md +319 -66
  182. package/docs/COMPATIBILITY.md +2 -2
  183. package/docs/CONCEPT.md +18 -4
  184. package/docs/CROSS_PLATFORM.ru.md +20 -0
  185. package/docs/CROSS_PLATFORM.zh.md +18 -0
  186. package/docs/EXECUTION-LOOP.md +28 -10
  187. package/docs/FEATURES.md +129 -7
  188. package/docs/FEATURES.zh.md +97 -6
  189. package/docs/MIGRATION.md +2 -2
  190. package/docs/PIPELINE.md +293 -0
  191. package/docs/QA-A2-GUI-TUI.md +205 -0
  192. package/docs/README.ru.md +43 -4
  193. package/docs/README.zh.md +44 -4
  194. package/docs/SAFETY.md +23 -3
  195. package/gui-experimental.cjs +9 -8
  196. package/locales/en.json +58 -3
  197. package/locales/ru.json +58 -3
  198. package/locales/zh.json +58 -3
  199. package/opencode.pipeline.yaml +35 -0
  200. package/package.json +36 -4
  201. package/scripts/check-eslint-baseline.mjs +139 -0
  202. package/scripts/gen-test-plan-counters.mjs +117 -0
  203. package/scripts/github-ci-fetch.ps1 +37 -0
  204. package/scripts/pl-commit.ps1 +112 -0
  205. package/scripts/qa-a2-commit.ps1 +104 -0
  206. package/scripts/test-home.mjs +107 -0
  207. package/skills/scheduled-job-best-practices/SKILL.md +95 -1
  208. package/skills/scheduled-job-best-practices/references/recipes.md +139 -0
  209. package/src/cli.ts +417 -0
  210. package/src/core/analytics.ts +27 -4
  211. package/src/core/audit.ts +25 -0
  212. package/src/core/budget.ts +340 -0
  213. package/src/core/cron-to-schtasks.ts +42 -0
  214. package/src/core/dry-run.ts +235 -12
  215. package/src/core/execution.ts +538 -0
  216. package/src/core/feedback.ts +582 -0
  217. package/src/core/file-watcher.ts +2 -2
  218. package/src/core/gate-integrity.ts +330 -0
  219. package/src/core/git-trigger.ts +18 -5
  220. package/src/core/guard-run.ts +119 -0
  221. package/src/core/guard.ts +431 -0
  222. package/src/core/local-ai.ts +7 -3
  223. package/src/core/lock.ts +178 -37
  224. package/src/core/matrix.ts +158 -52
  225. package/src/core/mission.ts +531 -0
  226. package/src/core/native-notify.ts +1 -1
  227. package/src/core/opencode-models.ts +30 -21
  228. package/src/core/opencode-usage.ts +182 -0
  229. package/src/core/pipeline-apply.ts +158 -0
  230. package/src/core/pipeline-io.ts +96 -0
  231. package/src/core/pipeline-map.ts +283 -0
  232. package/src/core/pipeline-spec.ts +775 -0
  233. package/src/core/ps-wrapper.ts +435 -66
  234. package/src/core/record-history.ts +258 -81
  235. package/src/core/router/rules.ts +6 -0
  236. package/src/core/run-mode.ts +19 -0
  237. package/src/core/schedule-gate.ts +1 -1
  238. package/src/core/scheduler/at-fallback.ts +1 -1
  239. package/src/core/scheduler/linux.ts +40 -11
  240. package/src/core/scheduler/logs.ts +34 -3
  241. package/src/core/scheduler/mac.ts +174 -14
  242. package/src/core/scheduler/registry.ts +2 -2
  243. package/src/core/scheduler/windows.ts +19 -15
  244. package/src/core/secrets.ts +26 -19
  245. package/src/core/self-analysis.ts +75 -29
  246. package/src/core/shutdown.ts +90 -4
  247. package/src/core/structured-log.ts +89 -5
  248. package/src/core/telegram.ts +2 -2
  249. package/src/core/triage-worker.ts +7 -7
  250. package/src/core/triage.ts +2 -2
  251. package/src/core/usage-surface.ts +70 -0
  252. package/src/core/worktree-run.ts +199 -0
  253. package/src/core/worktree.ts +600 -0
  254. package/src/core/wrappers/bash.ts +248 -26
  255. package/src/db/capability-repo.ts +127 -10
  256. package/src/db/history-repo.ts +281 -40
  257. package/src/db/metrics-repo.ts +40 -13
  258. package/src/db/migrate.ts +57 -32
  259. package/src/db/recovery.ts +12 -5
  260. package/src/db/run-journal.ts +100 -13
  261. package/src/db/run-resume.ts +17 -1
  262. package/src/db/runs-repo.ts +147 -65
  263. package/src/db/schema.ts +134 -2
  264. package/src/db/templates-repo.ts +5 -3
  265. package/src/gui.tsx +438 -18
  266. package/src/history.ts +11 -4
  267. package/src/hook-output.ts +39 -0
  268. package/src/i18n.ts +12 -4
  269. package/src/index.ts +1902 -320
  270. package/src/notifications.ts +227 -47
  271. package/src/profiles.ts +88 -10
  272. package/src/rpc.ts +158 -0
  273. package/src/server.ts +201 -41
  274. package/src/settings.ts +125 -5
  275. package/src/shared/jobs-view.ts +3 -1
  276. package/src/task-transfer.ts +90 -6
  277. package/src/templates.ts +3 -3
  278. package/src/types.ts +23 -2
  279. package/src/workspaces.ts +37 -14
package/dist/rpc.d.ts CHANGED
@@ -620,6 +620,114 @@ export declare const SchedulerRpc: {
620
620
  readonly required: readonly ["success", "message"];
621
621
  };
622
622
  };
623
+ readonly run_mission: {
624
+ readonly input: {
625
+ readonly type: "object";
626
+ readonly properties: {
627
+ readonly prompt: {
628
+ readonly type: "string";
629
+ };
630
+ readonly cwd: {
631
+ readonly type: "string";
632
+ };
633
+ readonly taskName: {
634
+ readonly type: "string";
635
+ };
636
+ readonly taskType: {
637
+ readonly type: "string";
638
+ };
639
+ readonly model: {
640
+ readonly type: "string";
641
+ };
642
+ readonly session: {
643
+ readonly type: "string";
644
+ readonly enum: readonly ["new", "reuse", "last"];
645
+ };
646
+ readonly sessionId: {
647
+ readonly type: "string";
648
+ };
649
+ readonly timeoutSeconds: {
650
+ readonly type: "number";
651
+ };
652
+ readonly gate: {
653
+ readonly type: "string";
654
+ };
655
+ readonly gateTimeoutSeconds: {
656
+ readonly type: "number";
657
+ };
658
+ readonly policy: {
659
+ readonly type: "string";
660
+ readonly enum: readonly ["hybrid", "secure", "legacy"];
661
+ };
662
+ readonly allowedTools: {
663
+ readonly type: "array";
664
+ readonly items: {
665
+ readonly type: "string";
666
+ };
667
+ };
668
+ readonly deniedTools: {
669
+ readonly type: "array";
670
+ readonly items: {
671
+ readonly type: "string";
672
+ };
673
+ };
674
+ readonly dryRun: {
675
+ readonly type: "boolean";
676
+ };
677
+ };
678
+ readonly required: readonly ["prompt"];
679
+ };
680
+ readonly output: {
681
+ readonly type: "object";
682
+ readonly properties: {
683
+ readonly success: {
684
+ readonly type: "boolean";
685
+ };
686
+ readonly dryRun: {
687
+ readonly type: "boolean";
688
+ };
689
+ readonly runId: {
690
+ readonly type: "string";
691
+ };
692
+ readonly status: {
693
+ readonly type: "string";
694
+ };
695
+ readonly description: {
696
+ readonly type: "string";
697
+ };
698
+ readonly error: {
699
+ readonly type: "string";
700
+ };
701
+ readonly steps: {
702
+ readonly type: "array";
703
+ readonly items: {
704
+ readonly type: "object";
705
+ readonly properties: {
706
+ readonly stepName: {
707
+ readonly type: "string";
708
+ };
709
+ readonly taskType: {
710
+ readonly type: "string";
711
+ };
712
+ readonly target: {
713
+ readonly type: "string";
714
+ };
715
+ readonly status: {
716
+ readonly type: "string";
717
+ };
718
+ readonly attempt: {
719
+ readonly type: "number";
720
+ };
721
+ readonly error: {
722
+ readonly type: "string";
723
+ };
724
+ };
725
+ };
726
+ };
727
+ };
728
+ readonly required: readonly ["success", "dryRun", "status", "description"];
729
+ };
730
+ };
623
731
  readonly pause_task: {
624
732
  readonly input: {
625
733
  readonly type: "object";
@@ -1371,6 +1479,144 @@ export declare const SchedulerRpc: {
1371
1479
  readonly required: readonly ["success", "reports"];
1372
1480
  };
1373
1481
  };
1482
+ readonly pipeline_validate: {
1483
+ readonly input: {
1484
+ readonly type: "object";
1485
+ readonly properties: {
1486
+ readonly path: {
1487
+ readonly type: "string";
1488
+ };
1489
+ readonly source: {
1490
+ readonly type: "string";
1491
+ };
1492
+ readonly dryRun: {
1493
+ readonly type: "boolean";
1494
+ };
1495
+ };
1496
+ readonly additionalProperties: false;
1497
+ };
1498
+ readonly output: {
1499
+ readonly type: "object";
1500
+ readonly properties: {
1501
+ readonly ok: {
1502
+ readonly type: "boolean";
1503
+ };
1504
+ readonly errors: {
1505
+ readonly type: "array";
1506
+ readonly items: {
1507
+ readonly type: "object";
1508
+ readonly properties: {
1509
+ readonly path: {
1510
+ readonly type: "string";
1511
+ };
1512
+ readonly message: {
1513
+ readonly type: "string";
1514
+ };
1515
+ };
1516
+ readonly required: readonly ["path", "message"];
1517
+ };
1518
+ };
1519
+ readonly warnings: {
1520
+ readonly type: "array";
1521
+ readonly items: {
1522
+ readonly type: "object";
1523
+ readonly properties: {
1524
+ readonly path: {
1525
+ readonly type: "string";
1526
+ };
1527
+ readonly message: {
1528
+ readonly type: "string";
1529
+ };
1530
+ };
1531
+ readonly required: readonly ["path", "message"];
1532
+ };
1533
+ };
1534
+ readonly spec: {};
1535
+ };
1536
+ readonly required: readonly ["ok", "errors", "warnings"];
1537
+ };
1538
+ };
1539
+ readonly pipeline_apply: {
1540
+ readonly input: {
1541
+ readonly type: "object";
1542
+ readonly properties: {
1543
+ readonly path: {
1544
+ readonly type: "string";
1545
+ };
1546
+ readonly source: {
1547
+ readonly type: "string";
1548
+ };
1549
+ readonly dryRun: {
1550
+ readonly type: "boolean";
1551
+ };
1552
+ };
1553
+ readonly additionalProperties: false;
1554
+ };
1555
+ readonly output: {
1556
+ readonly type: "object";
1557
+ readonly properties: {
1558
+ readonly created: {
1559
+ readonly type: "number";
1560
+ };
1561
+ readonly updated: {
1562
+ readonly type: "number";
1563
+ };
1564
+ readonly unchanged: {
1565
+ readonly type: "number";
1566
+ };
1567
+ readonly stale: {
1568
+ readonly type: "number";
1569
+ };
1570
+ readonly warnings: {
1571
+ readonly type: "array";
1572
+ readonly items: {
1573
+ readonly type: "string";
1574
+ };
1575
+ };
1576
+ readonly errors: {
1577
+ readonly type: "array";
1578
+ readonly items: {
1579
+ readonly type: "object";
1580
+ readonly properties: {
1581
+ readonly path: {
1582
+ readonly type: "string";
1583
+ };
1584
+ readonly message: {
1585
+ readonly type: "string";
1586
+ };
1587
+ };
1588
+ readonly required: readonly ["path", "message"];
1589
+ };
1590
+ };
1591
+ };
1592
+ readonly required: readonly ["created", "updated", "unchanged", "stale"];
1593
+ };
1594
+ };
1595
+ readonly pipeline_export: {
1596
+ readonly input: {
1597
+ readonly type: "object";
1598
+ readonly properties: {
1599
+ readonly pipeline: {
1600
+ readonly type: "string";
1601
+ };
1602
+ };
1603
+ readonly required: readonly ["pipeline"];
1604
+ readonly additionalProperties: false;
1605
+ };
1606
+ readonly output: {
1607
+ readonly type: "object";
1608
+ readonly properties: {
1609
+ readonly ok: {
1610
+ readonly type: "boolean";
1611
+ };
1612
+ readonly spec: {};
1613
+ readonly error: {
1614
+ readonly type: "string";
1615
+ };
1616
+ };
1617
+ readonly required: readonly ["ok"];
1618
+ };
1619
+ };
1374
1620
  readonly get_matrix_results: {
1375
1621
  readonly input: {
1376
1622
  readonly type: "object";
@@ -2444,6 +2690,42 @@ export declare const SchedulerRpc: {
2444
2690
  };
2445
2691
  readonly required: readonly ["defaultPolicy"];
2446
2692
  };
2693
+ readonly budgets: {
2694
+ readonly type: "object";
2695
+ readonly properties: {
2696
+ readonly enabled: {
2697
+ readonly type: "boolean";
2698
+ };
2699
+ readonly dailyUsd: {
2700
+ readonly type: "number";
2701
+ };
2702
+ readonly weeklyUsd: {
2703
+ readonly type: "number";
2704
+ };
2705
+ };
2706
+ readonly required: readonly ["enabled", "dailyUsd", "weeklyUsd"];
2707
+ };
2708
+ readonly feedback: {
2709
+ readonly type: "object";
2710
+ readonly properties: {
2711
+ readonly enabled: {
2712
+ readonly type: "boolean";
2713
+ };
2714
+ readonly endpoint: {
2715
+ readonly type: "string";
2716
+ };
2717
+ readonly includeLogs: {
2718
+ readonly type: "boolean";
2719
+ };
2720
+ readonly contactEmail: {
2721
+ readonly type: "string";
2722
+ };
2723
+ readonly maxPerHour: {
2724
+ readonly type: "number";
2725
+ };
2726
+ };
2727
+ readonly required: readonly ["enabled", "endpoint", "includeLogs", "contactEmail", "maxPerHour"];
2728
+ };
2447
2729
  };
2448
2730
  readonly required: readonly ["maxConcurrent", "locale", "winterMode", "notifications"];
2449
2731
  };
@@ -2756,6 +3038,42 @@ export declare const SchedulerRpc: {
2756
3038
  };
2757
3039
  readonly required: readonly ["defaultPolicy"];
2758
3040
  };
3041
+ readonly budgets: {
3042
+ readonly type: "object";
3043
+ readonly properties: {
3044
+ readonly enabled: {
3045
+ readonly type: "boolean";
3046
+ };
3047
+ readonly dailyUsd: {
3048
+ readonly type: "number";
3049
+ };
3050
+ readonly weeklyUsd: {
3051
+ readonly type: "number";
3052
+ };
3053
+ };
3054
+ readonly required: readonly ["enabled", "dailyUsd", "weeklyUsd"];
3055
+ };
3056
+ readonly feedback: {
3057
+ readonly type: "object";
3058
+ readonly properties: {
3059
+ readonly enabled: {
3060
+ readonly type: "boolean";
3061
+ };
3062
+ readonly endpoint: {
3063
+ readonly type: "string";
3064
+ };
3065
+ readonly includeLogs: {
3066
+ readonly type: "boolean";
3067
+ };
3068
+ readonly contactEmail: {
3069
+ readonly type: "string";
3070
+ };
3071
+ readonly maxPerHour: {
3072
+ readonly type: "number";
3073
+ };
3074
+ };
3075
+ readonly required: readonly ["enabled", "endpoint", "includeLogs", "contactEmail", "maxPerHour"];
3076
+ };
2759
3077
  };
2760
3078
  readonly additionalProperties: false;
2761
3079
  };
@@ -3068,6 +3386,42 @@ export declare const SchedulerRpc: {
3068
3386
  };
3069
3387
  readonly required: readonly ["defaultPolicy"];
3070
3388
  };
3389
+ readonly budgets: {
3390
+ readonly type: "object";
3391
+ readonly properties: {
3392
+ readonly enabled: {
3393
+ readonly type: "boolean";
3394
+ };
3395
+ readonly dailyUsd: {
3396
+ readonly type: "number";
3397
+ };
3398
+ readonly weeklyUsd: {
3399
+ readonly type: "number";
3400
+ };
3401
+ };
3402
+ readonly required: readonly ["enabled", "dailyUsd", "weeklyUsd"];
3403
+ };
3404
+ readonly feedback: {
3405
+ readonly type: "object";
3406
+ readonly properties: {
3407
+ readonly enabled: {
3408
+ readonly type: "boolean";
3409
+ };
3410
+ readonly endpoint: {
3411
+ readonly type: "string";
3412
+ };
3413
+ readonly includeLogs: {
3414
+ readonly type: "boolean";
3415
+ };
3416
+ readonly contactEmail: {
3417
+ readonly type: "string";
3418
+ };
3419
+ readonly maxPerHour: {
3420
+ readonly type: "number";
3421
+ };
3422
+ };
3423
+ readonly required: readonly ["enabled", "endpoint", "includeLogs", "contactEmail", "maxPerHour"];
3424
+ };
3071
3425
  };
3072
3426
  readonly required: readonly ["success", "maxConcurrent", "locale", "winterMode", "notifications"];
3073
3427
  };
package/dist/rpc.d.ts.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"rpc.d.ts","sourceRoot":"","sources":["../src/rpc.ts"],"names":[],"mappings":"AAu0DA,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;gCA5wDrB,6EAA6E;;;;;;;;;;gCAI7E,+DAA+D;;;;gCAE/D,+CAA+C;;;;gCAE/C,oDAAoD;;;;gCAEpD,wDAAwD;;;;gCAExD,qDAAqD;;;;gCAErD,sCAAsC;;;;gCAEtC,qDAAqD;;;;gCAErD,+EAA+E;;;;;;;gCAE/E,2DAA2D;;;;gCAE3D,6CAA6C;;;;gCAE7C,8CAA8C;;;;gCAE9C,2EAA2E;;;;gCAE3E,qFAAqF;;;;gCAErF,yGAAyG;;;;gCAEzG,kGAAkG;;;;gCAElG,mFAAmF;;;;gCAEnF,qDAAqD;;;;;;;;;;;;;;;;gCAErD,iDAAiD;;;;gCAEjD,8DAA8D;;;;gCAE9D,qDAAqD;;;;gCAErD,oDAAoD;;;;gCAEpD,qEAAqE;;;;;;;gCAKrE,oEAAoE;;;;gCAEpE,8DAA8D;;;;;;;gCAK9D,gDAAgD;;;;;;;gCAKhD,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+5BrD,CAAC;AAEH,MAAM,MAAM,YAAY,GAAG,OAAO,YAAY,CAAC"}
package/dist/rpc.js CHANGED
@@ -293,6 +293,52 @@ const DeleteTaskOutput = {
293
293
  required: ["success", "message"],
294
294
  };
295
295
  const RunTaskOutput = DeleteTaskOutput;
296
+ const RunMissionInput = {
297
+ type: "object",
298
+ properties: {
299
+ prompt: { type: "string" },
300
+ cwd: { type: "string" },
301
+ taskName: { type: "string" },
302
+ taskType: { type: "string" },
303
+ model: { type: "string" },
304
+ session: { type: "string", enum: ["new", "reuse", "last"] },
305
+ sessionId: { type: "string" },
306
+ timeoutSeconds: { type: "number" },
307
+ gate: { type: "string" },
308
+ gateTimeoutSeconds: { type: "number" },
309
+ policy: { type: "string", enum: ["hybrid", "secure", "legacy"] },
310
+ allowedTools: { type: "array", items: { type: "string" } },
311
+ deniedTools: { type: "array", items: { type: "string" } },
312
+ dryRun: { type: "boolean" },
313
+ },
314
+ required: ["prompt"],
315
+ };
316
+ const RunMissionOutput = {
317
+ type: "object",
318
+ properties: {
319
+ success: { type: "boolean" },
320
+ dryRun: { type: "boolean" },
321
+ runId: { type: "string" },
322
+ status: { type: "string" },
323
+ description: { type: "string" },
324
+ error: { type: "string" },
325
+ steps: {
326
+ type: "array",
327
+ items: {
328
+ type: "object",
329
+ properties: {
330
+ stepName: { type: "string" },
331
+ taskType: { type: "string" },
332
+ target: { type: "string" },
333
+ status: { type: "string" },
334
+ attempt: { type: "number" },
335
+ error: { type: "string" },
336
+ },
337
+ },
338
+ },
339
+ },
340
+ required: ["success", "dryRun", "status", "description"],
341
+ };
296
342
  const GetTaskLogsInput = NameOnly;
297
343
  const GetTaskLogsOutput = {
298
344
  type: "object",
@@ -595,6 +641,28 @@ const AuditSettingsSchema = {
595
641
  },
596
642
  required: ["enabled", "retentionDays", "maxRecords"],
597
643
  };
644
+ /** Бюджеты день/неделя (Экономика v2, E-1.1). */
645
+ const BudgetSettingsSchema = {
646
+ type: "object",
647
+ properties: {
648
+ enabled: { type: "boolean" },
649
+ dailyUsd: { type: "number" },
650
+ weeklyUsd: { type: "number" },
651
+ },
652
+ required: ["enabled", "dailyUsd", "weeklyUsd"],
653
+ };
654
+ /** Деталь 3.8: настройки обратной связи с автором. */
655
+ const FeedbackSettingsSchema = {
656
+ type: "object",
657
+ properties: {
658
+ enabled: { type: "boolean" },
659
+ endpoint: { type: "string" },
660
+ includeLogs: { type: "boolean" },
661
+ contactEmail: { type: "string" },
662
+ maxPerHour: { type: "number" },
663
+ },
664
+ required: ["enabled", "endpoint", "includeLogs", "contactEmail", "maxPerHour"],
665
+ };
598
666
  /** Политика прав фоновых задач (Спринт 32). */
599
667
  const PermissionSettingsSchema = {
600
668
  type: "object",
@@ -617,6 +685,8 @@ const GetSettingsOutput = {
617
685
  history: HistorySettingsSchema,
618
686
  audit: AuditSettingsSchema,
619
687
  permissions: PermissionSettingsSchema,
688
+ budgets: BudgetSettingsSchema,
689
+ feedback: FeedbackSettingsSchema,
620
690
  },
621
691
  required: ["maxConcurrent", "locale", "winterMode", "notifications"],
622
692
  };
@@ -632,6 +702,8 @@ const SaveSettingsInput = {
632
702
  history: HistorySettingsSchema,
633
703
  audit: AuditSettingsSchema,
634
704
  permissions: PermissionSettingsSchema,
705
+ budgets: BudgetSettingsSchema,
706
+ feedback: FeedbackSettingsSchema,
635
707
  },
636
708
  additionalProperties: false,
637
709
  };
@@ -647,6 +719,8 @@ const SaveSettingsOutput = {
647
719
  history: HistorySettingsSchema,
648
720
  audit: AuditSettingsSchema,
649
721
  permissions: PermissionSettingsSchema,
722
+ budgets: BudgetSettingsSchema,
723
+ feedback: FeedbackSettingsSchema,
650
724
  },
651
725
  required: ["success", "maxConcurrent", "locale", "winterMode", "notifications"],
652
726
  };
@@ -1560,6 +1634,73 @@ const DryRunAllOutput = {
1560
1634
  },
1561
1635
  required: ["success", "reports"],
1562
1636
  };
1637
+ /* === Pipeline-as-code (спринт 32) === */
1638
+ const PipelineValidateInput = {
1639
+ type: "object",
1640
+ properties: {
1641
+ path: { type: "string" },
1642
+ source: { type: "string" },
1643
+ dryRun: { type: "boolean" },
1644
+ },
1645
+ additionalProperties: false,
1646
+ };
1647
+ const PipelineIssue = {
1648
+ type: "object",
1649
+ properties: {
1650
+ path: { type: "string" },
1651
+ message: { type: "string" },
1652
+ },
1653
+ required: ["path", "message"],
1654
+ };
1655
+ const PipelineValidationOutput = {
1656
+ type: "object",
1657
+ properties: {
1658
+ ok: { type: "boolean" },
1659
+ errors: { type: "array", items: PipelineIssue },
1660
+ warnings: { type: "array", items: PipelineIssue },
1661
+ spec: {},
1662
+ },
1663
+ required: ["ok", "errors", "warnings"],
1664
+ };
1665
+ const PipelineApplyInput = {
1666
+ type: "object",
1667
+ properties: {
1668
+ path: { type: "string" },
1669
+ source: { type: "string" },
1670
+ dryRun: { type: "boolean" },
1671
+ },
1672
+ additionalProperties: false,
1673
+ };
1674
+ const PipelineApplyOutput = {
1675
+ type: "object",
1676
+ properties: {
1677
+ created: { type: "number" },
1678
+ updated: { type: "number" },
1679
+ unchanged: { type: "number" },
1680
+ stale: { type: "number" },
1681
+ warnings: { type: "array", items: { type: "string" } },
1682
+ errors: { type: "array", items: PipelineIssue },
1683
+ },
1684
+ required: ["created", "updated", "unchanged", "stale"],
1685
+ };
1686
+ const PipelineExportInput = {
1687
+ type: "object",
1688
+ properties: {
1689
+ pipeline: { type: "string" },
1690
+ },
1691
+ required: ["pipeline"],
1692
+ additionalProperties: false,
1693
+ };
1694
+ const PipelineExportOutput = {
1695
+ type: "object",
1696
+ properties: {
1697
+ ok: { type: "boolean" },
1698
+ spec: {},
1699
+ error: { type: "string" },
1700
+ },
1701
+ required: ["ok"],
1702
+ };
1703
+ /* === end Pipeline-as-code === */
1563
1704
  /** Детальный отчёт по одному клону матрицы. */
1564
1705
  const MatrixCloneResult = {
1565
1706
  type: "object",
@@ -1750,6 +1891,7 @@ export const SchedulerRpc = Rpc.define({
1750
1891
  create_task: { input: CreateTaskInput, output: CreateTaskOutput },
1751
1892
  delete_task: { input: DeleteTaskInput, output: DeleteTaskOutput },
1752
1893
  run_task: { input: RunTaskInput, output: RunTaskOutput },
1894
+ run_mission: { input: RunMissionInput, output: RunMissionOutput },
1753
1895
  pause_task: { input: PauseResumeInput, output: DeleteTaskOutput },
1754
1896
  resume_task: { input: PauseResumeInput, output: DeleteTaskOutput },
1755
1897
  update_task: { input: UpdateTaskInput, output: UpdateTaskOutput },
@@ -1760,6 +1902,9 @@ export const SchedulerRpc = Rpc.define({
1760
1902
  get_platform: { input: GetPlatformInput, output: GetPlatformOutput },
1761
1903
  dry_run: { input: DryRunInput, output: DryRunReportOutput },
1762
1904
  dry_run_all: { input: GetTasksInput, output: DryRunAllOutput },
1905
+ pipeline_validate: { input: PipelineValidateInput, output: PipelineValidationOutput },
1906
+ pipeline_apply: { input: PipelineApplyInput, output: PipelineApplyOutput },
1907
+ pipeline_export: { input: PipelineExportInput, output: PipelineExportOutput },
1763
1908
  get_matrix_results: {
1764
1909
  input: GetMatrixResultsInput,
1765
1910
  output: GetMatrixResultsOutput,