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.
- package/CHANGELOG.md +309 -2
- package/CROSS_PLATFORM.md +19 -0
- package/README.md +55 -8
- package/ROADMAP-STRATEGY.md +22 -19
- package/ROADMAP.md +230 -159
- package/dist/cli.d.ts +3 -0
- package/dist/cli.d.ts.map +1 -0
- package/dist/cli.js +356 -0
- package/dist/core/analytics.d.ts +6 -0
- package/dist/core/analytics.d.ts.map +1 -1
- package/dist/core/analytics.js +20 -3
- package/dist/core/audit.d.ts +6 -0
- package/dist/core/audit.d.ts.map +1 -1
- package/dist/core/audit.js +24 -0
- package/dist/core/budget.d.ts +118 -0
- package/dist/core/budget.d.ts.map +1 -0
- package/dist/core/budget.js +206 -0
- package/dist/core/cron-to-schtasks.d.ts.map +1 -1
- package/dist/core/cron-to-schtasks.js +38 -0
- package/dist/core/dry-run.d.ts +26 -1
- package/dist/core/dry-run.d.ts.map +1 -1
- package/dist/core/dry-run.js +199 -8
- package/dist/core/execution.d.ts +203 -0
- package/dist/core/execution.d.ts.map +1 -0
- package/dist/core/execution.js +309 -0
- package/dist/core/feedback.d.ts +192 -0
- package/dist/core/feedback.d.ts.map +1 -0
- package/dist/core/feedback.js +426 -0
- package/dist/core/gate-integrity.d.ts +71 -0
- package/dist/core/gate-integrity.d.ts.map +1 -0
- package/dist/core/gate-integrity.js +275 -0
- package/dist/core/git-trigger.d.ts.map +1 -1
- package/dist/core/git-trigger.js +14 -2
- package/dist/core/guard-run.d.ts +4 -0
- package/dist/core/guard-run.d.ts.map +1 -0
- package/dist/core/guard-run.js +101 -0
- package/dist/core/guard.d.ts +52 -0
- package/dist/core/guard.d.ts.map +1 -0
- package/dist/core/guard.js +362 -0
- package/dist/core/local-ai.d.ts.map +1 -1
- package/dist/core/local-ai.js +7 -3
- package/dist/core/lock.d.ts +41 -0
- package/dist/core/lock.d.ts.map +1 -1
- package/dist/core/lock.js +141 -29
- package/dist/core/matrix.d.ts +8 -0
- package/dist/core/matrix.d.ts.map +1 -1
- package/dist/core/matrix.js +132 -17
- package/dist/core/mission.d.ts +103 -0
- package/dist/core/mission.d.ts.map +1 -0
- package/dist/core/mission.js +374 -0
- package/dist/core/opencode-models.d.ts +2 -2
- package/dist/core/opencode-models.d.ts.map +1 -1
- package/dist/core/opencode-models.js +28 -21
- package/dist/core/opencode-usage.d.ts +35 -0
- package/dist/core/opencode-usage.d.ts.map +1 -0
- package/dist/core/opencode-usage.js +132 -0
- package/dist/core/pipeline-apply.d.ts +38 -0
- package/dist/core/pipeline-apply.d.ts.map +1 -0
- package/dist/core/pipeline-apply.js +117 -0
- package/dist/core/pipeline-io.d.ts +13 -0
- package/dist/core/pipeline-io.d.ts.map +1 -0
- package/dist/core/pipeline-io.js +78 -0
- package/dist/core/pipeline-map.d.ts +52 -0
- package/dist/core/pipeline-map.d.ts.map +1 -0
- package/dist/core/pipeline-map.js +208 -0
- package/dist/core/pipeline-spec.d.ts +109 -0
- package/dist/core/pipeline-spec.d.ts.map +1 -0
- package/dist/core/pipeline-spec.js +554 -0
- package/dist/core/ps-wrapper.d.ts +27 -2
- package/dist/core/ps-wrapper.d.ts.map +1 -1
- package/dist/core/ps-wrapper.js +424 -65
- package/dist/core/record-history.d.ts.map +1 -1
- package/dist/core/record-history.js +206 -33
- package/dist/core/router/rules.d.ts.map +1 -1
- package/dist/core/router/rules.js +6 -0
- package/dist/core/run-mode.d.ts +12 -0
- package/dist/core/run-mode.d.ts.map +1 -0
- package/dist/core/run-mode.js +17 -0
- package/dist/core/scheduler/linux.d.ts +8 -1
- package/dist/core/scheduler/linux.d.ts.map +1 -1
- package/dist/core/scheduler/linux.js +34 -9
- package/dist/core/scheduler/logs.d.ts +4 -0
- package/dist/core/scheduler/logs.d.ts.map +1 -1
- package/dist/core/scheduler/logs.js +25 -1
- package/dist/core/scheduler/mac.d.ts +44 -2
- package/dist/core/scheduler/mac.d.ts.map +1 -1
- package/dist/core/scheduler/mac.js +126 -15
- package/dist/core/scheduler/windows.d.ts.map +1 -1
- package/dist/core/scheduler/windows.js +15 -12
- package/dist/core/secrets.d.ts.map +1 -1
- package/dist/core/secrets.js +18 -8
- package/dist/core/self-analysis.d.ts +32 -2
- package/dist/core/self-analysis.d.ts.map +1 -1
- package/dist/core/self-analysis.js +38 -27
- package/dist/core/shutdown.d.ts +33 -2
- package/dist/core/shutdown.d.ts.map +1 -1
- package/dist/core/shutdown.js +58 -2
- package/dist/core/structured-log.d.ts +37 -1
- package/dist/core/structured-log.d.ts.map +1 -1
- package/dist/core/structured-log.js +37 -0
- package/dist/core/usage-surface.d.ts +25 -0
- package/dist/core/usage-surface.d.ts.map +1 -0
- package/dist/core/usage-surface.js +41 -0
- package/dist/core/worktree-run.d.ts +4 -0
- package/dist/core/worktree-run.d.ts.map +1 -0
- package/dist/core/worktree-run.js +164 -0
- package/dist/core/worktree.d.ts +115 -0
- package/dist/core/worktree.d.ts.map +1 -0
- package/dist/core/worktree.js +462 -0
- package/dist/core/wrappers/bash.d.ts +19 -0
- package/dist/core/wrappers/bash.d.ts.map +1 -1
- package/dist/core/wrappers/bash.js +230 -27
- package/dist/db/capability-repo.d.ts +43 -2
- package/dist/db/capability-repo.d.ts.map +1 -1
- package/dist/db/capability-repo.js +96 -11
- package/dist/db/history-repo.d.ts +70 -5
- package/dist/db/history-repo.d.ts.map +1 -1
- package/dist/db/history-repo.js +170 -29
- package/dist/db/metrics-repo.d.ts +20 -2
- package/dist/db/metrics-repo.d.ts.map +1 -1
- package/dist/db/metrics-repo.js +35 -13
- package/dist/db/migrate.d.ts.map +1 -1
- package/dist/db/migrate.js +37 -17
- package/dist/db/recovery.d.ts +3 -1
- package/dist/db/recovery.d.ts.map +1 -1
- package/dist/db/recovery.js +11 -5
- package/dist/db/run-journal.d.ts +33 -5
- package/dist/db/run-journal.d.ts.map +1 -1
- package/dist/db/run-journal.js +78 -14
- package/dist/db/run-resume.d.ts +5 -0
- package/dist/db/run-resume.d.ts.map +1 -1
- package/dist/db/run-resume.js +9 -2
- package/dist/db/runs-repo.d.ts +19 -2
- package/dist/db/runs-repo.d.ts.map +1 -1
- package/dist/db/runs-repo.js +91 -60
- package/dist/db/schema.d.ts +2 -2
- package/dist/db/schema.d.ts.map +1 -1
- package/dist/db/schema.js +132 -2
- package/dist/db/templates-repo.d.ts +2 -2
- package/dist/db/templates-repo.d.ts.map +1 -1
- package/dist/db/templates-repo.js +5 -3
- package/dist/history.d.ts +7 -2
- package/dist/history.d.ts.map +1 -1
- package/dist/history.js +4 -2
- package/dist/hook-output.d.ts +2 -0
- package/dist/hook-output.d.ts.map +1 -0
- package/dist/hook-output.js +31 -0
- package/dist/i18n.d.ts +5 -0
- package/dist/i18n.d.ts.map +1 -1
- package/dist/i18n.js +11 -4
- package/dist/index.d.ts +375 -47
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1344 -192
- package/dist/notifications.d.ts +53 -2
- package/dist/notifications.d.ts.map +1 -1
- package/dist/notifications.js +168 -21
- package/dist/profiles.d.ts.map +1 -1
- package/dist/profiles.js +82 -10
- package/dist/rpc.d.ts +354 -0
- package/dist/rpc.d.ts.map +1 -1
- package/dist/rpc.js +145 -0
- package/dist/server.d.ts +32 -2
- package/dist/server.d.ts.map +1 -1
- package/dist/server.js +154 -30
- package/dist/settings.d.ts +44 -2
- package/dist/settings.d.ts.map +1 -1
- package/dist/settings.js +85 -3
- package/dist/shared/jobs-view.d.ts +1 -1
- package/dist/shared/jobs-view.d.ts.map +1 -1
- package/dist/shared/jobs-view.js +2 -0
- package/dist/task-transfer.d.ts +21 -0
- package/dist/task-transfer.d.ts.map +1 -1
- package/dist/task-transfer.js +64 -3
- package/dist/templates.d.ts +2 -2
- package/dist/templates.d.ts.map +1 -1
- package/dist/templates.js +3 -3
- package/dist/types.d.ts +22 -2
- package/dist/types.d.ts.map +1 -1
- package/dist/workspaces.d.ts.map +1 -1
- package/dist/workspaces.js +34 -11
- package/docs/ARCHITECTURE.md +319 -66
- package/docs/COMPATIBILITY.md +2 -2
- package/docs/CONCEPT.md +18 -4
- package/docs/CROSS_PLATFORM.ru.md +20 -0
- package/docs/CROSS_PLATFORM.zh.md +18 -0
- package/docs/EXECUTION-LOOP.md +28 -10
- package/docs/FEATURES.md +129 -7
- package/docs/FEATURES.zh.md +97 -6
- package/docs/MIGRATION.md +2 -2
- package/docs/PIPELINE.md +293 -0
- package/docs/QA-A2-GUI-TUI.md +205 -0
- package/docs/README.ru.md +43 -4
- package/docs/README.zh.md +44 -4
- package/docs/SAFETY.md +23 -3
- package/gui-experimental.cjs +9 -8
- package/locales/en.json +58 -3
- package/locales/ru.json +58 -3
- package/locales/zh.json +58 -3
- package/opencode.pipeline.yaml +35 -0
- package/package.json +36 -4
- package/scripts/check-eslint-baseline.mjs +139 -0
- package/scripts/gen-test-plan-counters.mjs +117 -0
- package/scripts/github-ci-fetch.ps1 +37 -0
- package/scripts/pl-commit.ps1 +112 -0
- package/scripts/qa-a2-commit.ps1 +104 -0
- package/scripts/test-home.mjs +107 -0
- package/skills/scheduled-job-best-practices/SKILL.md +95 -1
- package/skills/scheduled-job-best-practices/references/recipes.md +139 -0
- package/src/cli.ts +417 -0
- package/src/core/analytics.ts +27 -4
- package/src/core/audit.ts +25 -0
- package/src/core/budget.ts +340 -0
- package/src/core/cron-to-schtasks.ts +42 -0
- package/src/core/dry-run.ts +235 -12
- package/src/core/execution.ts +538 -0
- package/src/core/feedback.ts +582 -0
- package/src/core/file-watcher.ts +2 -2
- package/src/core/gate-integrity.ts +330 -0
- package/src/core/git-trigger.ts +18 -5
- package/src/core/guard-run.ts +119 -0
- package/src/core/guard.ts +431 -0
- package/src/core/local-ai.ts +7 -3
- package/src/core/lock.ts +178 -37
- package/src/core/matrix.ts +158 -52
- package/src/core/mission.ts +531 -0
- package/src/core/native-notify.ts +1 -1
- package/src/core/opencode-models.ts +30 -21
- package/src/core/opencode-usage.ts +182 -0
- package/src/core/pipeline-apply.ts +158 -0
- package/src/core/pipeline-io.ts +96 -0
- package/src/core/pipeline-map.ts +283 -0
- package/src/core/pipeline-spec.ts +775 -0
- package/src/core/ps-wrapper.ts +435 -66
- package/src/core/record-history.ts +258 -81
- package/src/core/router/rules.ts +6 -0
- package/src/core/run-mode.ts +19 -0
- package/src/core/schedule-gate.ts +1 -1
- package/src/core/scheduler/at-fallback.ts +1 -1
- package/src/core/scheduler/linux.ts +40 -11
- package/src/core/scheduler/logs.ts +34 -3
- package/src/core/scheduler/mac.ts +174 -14
- package/src/core/scheduler/registry.ts +2 -2
- package/src/core/scheduler/windows.ts +19 -15
- package/src/core/secrets.ts +26 -19
- package/src/core/self-analysis.ts +75 -29
- package/src/core/shutdown.ts +90 -4
- package/src/core/structured-log.ts +89 -5
- package/src/core/telegram.ts +2 -2
- package/src/core/triage-worker.ts +7 -7
- package/src/core/triage.ts +2 -2
- package/src/core/usage-surface.ts +70 -0
- package/src/core/worktree-run.ts +199 -0
- package/src/core/worktree.ts +600 -0
- package/src/core/wrappers/bash.ts +248 -26
- package/src/db/capability-repo.ts +127 -10
- package/src/db/history-repo.ts +281 -40
- package/src/db/metrics-repo.ts +40 -13
- package/src/db/migrate.ts +57 -32
- package/src/db/recovery.ts +12 -5
- package/src/db/run-journal.ts +100 -13
- package/src/db/run-resume.ts +17 -1
- package/src/db/runs-repo.ts +147 -65
- package/src/db/schema.ts +134 -2
- package/src/db/templates-repo.ts +5 -3
- package/src/gui.tsx +438 -18
- package/src/history.ts +11 -4
- package/src/hook-output.ts +39 -0
- package/src/i18n.ts +12 -4
- package/src/index.ts +1902 -320
- package/src/notifications.ts +227 -47
- package/src/profiles.ts +88 -10
- package/src/rpc.ts +158 -0
- package/src/server.ts +201 -41
- package/src/settings.ts +125 -5
- package/src/shared/jobs-view.ts +3 -1
- package/src/task-transfer.ts +90 -6
- package/src/templates.ts +3 -3
- package/src/types.ts +23 -2
- 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":"
|
|
1
|
+
{"version":3,"file":"rpc.d.ts","sourceRoot":"","sources":["../src/rpc.ts"],"names":[],"mappings":"AAi+DA,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;gCAt6DrB,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,uDAAuD;;;;gCAEvD,sEAAsE;;;;;;;gCAKtE,6CAA6C;;;;;;;gCAK7C,yDAAyD;;;;gCAEzD,qEAAqE;;;;gCAErE,qEAAqE;;;;gCAErE,8DAA8D;;;;gCAE9D,4DAA4D;;;;gCAE5D,8BAA8B;;;;gCAE9B,8EAA8E;;;;;;;gCAE9E,sEAAsE;;;;;;;gCAEtE,yDAAyD;;;;;;;;;;;;;;;;;;;;;;wCArHzD,sDA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= 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,
|