opencode-swarm 7.195.0 → 7.197.0
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/.opencode/skills/brainstorm/SKILL.md +2 -1
- package/.opencode/skills/ci-failure-batching/SKILL.md +2 -1
- package/.opencode/skills/ci-fix-monitor/SKILL.md +2 -1
- package/.opencode/skills/clarify/SKILL.md +2 -1
- package/.opencode/skills/clarify-spec/SKILL.md +2 -1
- package/.opencode/skills/codebase-review-swarm/SKILL.md +1 -1
- package/.opencode/skills/commit-pr/SKILL.md +3 -2
- package/.opencode/skills/consult/SKILL.md +2 -1
- package/.opencode/skills/council/SKILL.md +2 -1
- package/.opencode/skills/critic-gate/SKILL.md +2 -1
- package/.opencode/skills/deep-dive/SKILL.md +2 -1
- package/.opencode/skills/deep-research/SKILL.md +2 -1
- package/.opencode/skills/design-docs/SKILL.md +2 -1
- package/.opencode/skills/discover/SKILL.md +2 -1
- package/.opencode/skills/durable-session-state/SKILL.md +2 -1
- package/.opencode/skills/engineering-conventions/SKILL.md +2 -1
- package/.opencode/skills/execute/SKILL.md +2 -1
- package/.opencode/skills/fork-pr-operations/SKILL.md +2 -1
- package/.opencode/skills/gate-attribution/SKILL.md +2 -1
- package/.opencode/skills/issue-ingest/SKILL.md +2 -1
- package/.opencode/skills/issue-tracer/SKILL.md +1 -1
- package/.opencode/skills/loop/SKILL.md +2 -1
- package/.opencode/skills/merge-queue-readiness/SKILL.md +2 -1
- package/.opencode/skills/orchestrating-subagents/SKILL.md +2 -1
- package/.opencode/skills/parallel-work-check/SKILL.md +17 -16
- package/.opencode/skills/phase-wrap/SKILL.md +2 -1
- package/.opencode/skills/pre-phase-briefing/SKILL.md +2 -1
- package/.opencode/skills/running-tests/SKILL.md +2 -1
- package/.opencode/skills/skill-edit-validation/SKILL.md +2 -1
- package/.opencode/skills/specify/SKILL.md +2 -1
- package/.opencode/skills/swarm/SKILL.md +2 -1
- package/.opencode/skills/swarm-ci-monitor/SKILL.md +3 -2
- package/.opencode/skills/swarm-implement/SKILL.md +2 -1
- package/.opencode/skills/swarm-plan/SKILL.md +2 -1
- package/.opencode/skills/swarm-pr-feedback/SKILL.md +9 -162
- package/.opencode/skills/swarm-pr-feedback/references/gate-evidence-scope.md +20 -0
- package/.opencode/skills/swarm-pr-feedback/references/intake-surfaces.md +107 -0
- package/.opencode/skills/swarm-pr-feedback/references/preflight-checkout.md +67 -0
- package/.opencode/skills/swarm-pr-review/SKILL.md +12 -344
- package/.opencode/skills/swarm-pr-review/references/council-mode.md +38 -0
- package/.opencode/skills/swarm-pr-review/references/explorer-output-format.md +54 -0
- package/.opencode/skills/swarm-pr-review/references/findings-persistence-detail.md +15 -0
- package/.opencode/skills/swarm-pr-review/references/parser-candidate-extraction.md +75 -0
- package/.opencode/skills/swarm-pr-review/references/phase0a-intake.md +61 -0
- package/.opencode/skills/swarm-pr-review/references/scope-detection.md +103 -0
- package/.opencode/skills/swarm-pr-review/references/writeback-phases.md +68 -0
- package/.opencode/skills/swarm-pr-subscribe/SKILL.md +3 -2
- package/.opencode/skills/swarm-resume/SKILL.md +2 -1
- package/.opencode/skills/test-file-split/SKILL.md +2 -1
- package/.opencode/skills/worktree-retry-cleanup/SKILL.md +2 -1
- package/.opencode/skills/writing-tests/SKILL.md +7 -437
- package/.opencode/skills/writing-tests/references/cross-platform-patterns.md +237 -0
- package/.opencode/skills/writing-tests/references/mock-tiers.md +207 -0
- package/README.md +1 -1
- package/binaries/win32-arm64/swarm-sandbox-runner.exe +0 -0
- package/binaries/win32-x64/swarm-sandbox-runner.exe +0 -0
- package/dist/cli/{auto-checkpoint-anf21wwa.js → auto-checkpoint-s05sxmg6.js} +4 -4
- package/dist/cli/{checkpoint-ngdw2qx2.js → checkpoint-kzyy9b7y.js} +8 -8
- package/dist/cli/{coder-settlement-bqb059y2.js → coder-settlement-d1qqfgdm.js} +3 -3
- package/dist/cli/{config-doctor-vetg215g.js → config-doctor-yrven0ya.js} +7 -7
- package/dist/cli/{core-8qgvsm6x.js → core-qpmksfae.js} +1 -1
- package/dist/cli/{curator-drift-3gjycbkv.js → curator-drift-2h6nf0mw.js} +5 -5
- package/dist/cli/{curator-llm-factory-d17ybmgm.js → curator-llm-factory-kt3jhgs9.js} +25 -25
- package/dist/cli/{curator-hh0n9wgz.js → curator-mqnqst1g.js} +25 -25
- package/dist/cli/{doctor-knowledge-receipt-phase-id-1d465vkg.js → doctor-knowledge-receipt-phase-id-d8arz38j.js} +4 -4
- package/dist/cli/{evidence-summary-service-rkd3yc5x.js → evidence-summary-service-gjs4zssz.js} +9 -9
- package/dist/cli/{gate-evidence-wtjrerkh.js → gate-evidence-9n5r17hq.js} +2 -2
- package/dist/cli/{guardrail-explain-8xh3r0dn.js → guardrail-explain-g4wcr664.js} +26 -26
- package/dist/cli/{guardrail-log-jrey2myg.js → guardrail-log-0hy23f7d.js} +3 -3
- package/dist/cli/{guardrail-reset-m5qbg30j.js → guardrail-reset-9z5rmp3f.js} +25 -25
- package/dist/cli/{hive-promoter-36yhdfre.js → hive-promoter-w8f840ah.js} +25 -25
- package/dist/cli/{index-gz16dke1.js → index-1cks27mv.js} +6 -6
- package/dist/cli/{index-epdzvp4w.js → index-1gnrtz76.js} +5 -5
- package/dist/cli/{index-jn4mmhqc.js → index-20m9q2z9.js} +1 -1
- package/dist/cli/{index-yryy781f.js → index-29xr45xr.js} +153 -52
- package/dist/cli/{index-bpq6z8qe.js → index-3qqnz0jg.js} +3 -3
- package/dist/cli/{index-kmvy5fr8.js → index-401a12w5.js} +1 -1
- package/dist/cli/{index-jatgbm7k.js → index-5p0jhn2s.js} +1 -1
- package/dist/cli/{index-gns3gc87.js → index-67w61x1b.js} +3 -3
- package/dist/cli/{index-ha8xc5d3.js → index-8ahnfc03.js} +2 -2
- package/dist/cli/{index-akb436kn.js → index-8zwmfh9d.js} +1 -1
- package/dist/cli/{index-3k65kdfp.js → index-9px1knpj.js} +1 -1
- package/dist/cli/{index-1hcjxz6w.js → index-9sqcmzc2.js} +2 -2
- package/dist/cli/{index-9teqkkp4.js → index-agvmmvdt.js} +25 -25
- package/dist/cli/{index-tc8x0zc5.js → index-avbvxmw2.js} +1 -1
- package/dist/cli/{index-c6hyd8hg.js → index-bpnpvhja.js} +1 -1
- package/dist/cli/{index-8448vj9w.js → index-dgvf1jey.js} +1 -1
- package/dist/cli/{index-bftpd2m5.js → index-eabxecjf.js} +2 -2
- package/dist/cli/{index-6vpqe4ws.js → index-fzx1wfxn.js} +1 -1
- package/dist/cli/{index-h7275akd.js → index-g1r94prs.js} +27 -27
- package/dist/cli/{index-82aj6gaj.js → index-g749xs7c.js} +2 -2
- package/dist/cli/{index-7kbpzg05.js → index-jvpvghyh.js} +328 -224
- package/dist/cli/{index-780g1hht.js → index-jvzfw0n5.js} +1 -1
- package/dist/cli/{index-479kf368.js → index-mbdkr2sh.js} +1 -1
- package/dist/cli/{index-c4hx57tz.js → index-ng6me2hh.js} +2 -2
- package/dist/cli/{index-fk4j26km.js → index-njfkqr77.js} +3 -3
- package/dist/cli/{index-peyz4k9k.js → index-t3tzk566.js} +1 -1
- package/dist/cli/{index-z59414gv.js → index-v8jhmn8x.js} +1 -1
- package/dist/cli/{index-5gf2wx2c.js → index-xb3h5tvj.js} +4 -4
- package/dist/cli/{index-xs9cn3c0.js → index-xf6tdsyr.js} +3 -3
- package/dist/cli/{index-863hst4e.js → index-ysbmrmzk.js} +1 -1
- package/dist/cli/index.js +26 -26
- package/dist/cli/{knowledge-escalator-6sgrjbcj.js → knowledge-escalator-42cvn0ec.js} +7 -7
- package/dist/cli/{knowledge-events-hztjt63y.js → knowledge-events-v0xavjkd.js} +5 -5
- package/dist/cli/{knowledge-store-3sd2034v.js → knowledge-store-s01cread.js} +1 -1
- package/dist/cli/{knowledge-validator-3fe82zy4.js → knowledge-validator-kvtcqpke.js} +2 -2
- package/dist/cli/{mcp-spbx3efe.js → mcp-ff73w9z7.js} +1 -1
- package/dist/cli/{model-preflight-k2bw7rt1.js → model-preflight-0k8bd388.js} +25 -25
- package/dist/cli/{pending-delegations-kcvd9t41.js → pending-delegations-bmj7djk1.js} +2 -2
- package/dist/cli/{pr-subscriptions-nqby87en.js → pr-subscriptions-9dbrw7ky.js} +1 -1
- package/dist/cli/{pr-workflow-gate-cgbc0x1z.js → pr-workflow-gate-wg003fkd.js} +25 -25
- package/dist/cli/{scan-cursor-sphr9phs.js → scan-cursor-d93q0q3s.js} +2 -2
- package/dist/cli/{schema-x892aatt.js → schema-0ny9ef6s.js} +1 -1
- package/dist/cli/{scope-persistence-n9xksct2.js → scope-persistence-ekcfq34x.js} +5 -5
- package/dist/cli/{server-am2y11yn.js → server-rpx7pkg1.js} +25 -25
- package/dist/cli/{skill-generator-p71b6h5k.js → skill-generator-h1w7s5dh.js} +8 -8
- package/dist/cli/{snapshot-coordination-init-x9b4t9sk.js → snapshot-coordination-init-f6ecsn9c.js} +25 -25
- package/dist/cli/{speckit-checkoff-xp9vsp9k.js → speckit-checkoff-kf0zkpdw.js} +3 -3
- package/dist/cli/{worktree-collision-ownership-2pmyww6g.js → worktree-collision-ownership-p7zmj4ag.js} +2 -2
- package/dist/cli/{worktree-isolation-379tmkta.js → worktree-isolation-nz90xvw5.js} +25 -25
- package/dist/commands/registry.d.ts +1 -1
- package/dist/config/skill-contract-digest.d.ts +6 -0
- package/dist/epic/start.d.ts +5 -4
- package/dist/hooks/skill-scoring.d.ts +1 -1
- package/dist/hooks/skill-usage-log.d.ts +2 -0
- package/dist/host/v2/agents-commands.d.ts +13 -3
- package/dist/index.js +103 -98
- package/dist/sbom/detectors/index.d.ts +15 -0
- package/dist/services/skill-evaluator.d.ts +2 -0
- package/dist/services/skill-generator.d.ts +13 -0
- package/dist/tools/sbom-generate.d.ts +1 -1
- package/package.json +1 -1
|
@@ -22,16 +22,16 @@ import {
|
|
|
22
22
|
resolveWriteTargets,
|
|
23
23
|
searchKnowledge,
|
|
24
24
|
symbols
|
|
25
|
-
} from "./index-
|
|
25
|
+
} from "./index-jvpvghyh.js";
|
|
26
26
|
import {
|
|
27
27
|
checkFileAuthority,
|
|
28
28
|
checkWriteTargetForSymlink
|
|
29
|
-
} from "./index-
|
|
30
|
-
import"./index-
|
|
29
|
+
} from "./index-8zwmfh9d.js";
|
|
30
|
+
import"./index-67w61x1b.js";
|
|
31
31
|
import {
|
|
32
32
|
_internals,
|
|
33
33
|
saveEvidence
|
|
34
|
-
} from "./index-
|
|
34
|
+
} from "./index-jvzfw0n5.js";
|
|
35
35
|
import {
|
|
36
36
|
getProfileForFile
|
|
37
37
|
} from "./index-j2vv0h13.js";
|
|
@@ -42,12 +42,12 @@ import"./index-necqa5bj.js";
|
|
|
42
42
|
import"./index-txdagbh7.js";
|
|
43
43
|
import {
|
|
44
44
|
resolveCohortId
|
|
45
|
-
} from "./index-
|
|
45
|
+
} from "./index-dgvf1jey.js";
|
|
46
46
|
import"./index-rdec0y3z.js";
|
|
47
|
-
import"./index-
|
|
48
|
-
import"./index-
|
|
49
|
-
import"./index-
|
|
50
|
-
import"./index-
|
|
47
|
+
import"./index-ysbmrmzk.js";
|
|
48
|
+
import"./index-njfkqr77.js";
|
|
49
|
+
import"./index-29xr45xr.js";
|
|
50
|
+
import"./index-1cks27mv.js";
|
|
51
51
|
import"./index-ghckhk16.js";
|
|
52
52
|
import"./index-ypkfhqbc.js";
|
|
53
53
|
import"./index-cjapb4hy.js";
|
|
@@ -59,11 +59,11 @@ import {
|
|
|
59
59
|
import"./index-q7sjgr1y.js";
|
|
60
60
|
import {
|
|
61
61
|
createSwarmTool
|
|
62
|
-
} from "./index-
|
|
62
|
+
} from "./index-xf6tdsyr.js";
|
|
63
63
|
import {
|
|
64
64
|
loadPlan,
|
|
65
65
|
loadPlanJsonOnly
|
|
66
|
-
} from "./index-
|
|
66
|
+
} from "./index-1gnrtz76.js";
|
|
67
67
|
import {
|
|
68
68
|
containsControlChars,
|
|
69
69
|
createTargetWithinRootValidator,
|
|
@@ -73,15 +73,15 @@ import {
|
|
|
73
73
|
validateWorkspaceRoot
|
|
74
74
|
} from "./index-6b295cas.js";
|
|
75
75
|
import"./index-9nyqt3kb.js";
|
|
76
|
-
import"./index-
|
|
76
|
+
import"./index-t3tzk566.js";
|
|
77
77
|
import"./index-v3bmwmqw.js";
|
|
78
|
-
import"./index-
|
|
79
|
-
import"./index-
|
|
80
|
-
import"./index-
|
|
78
|
+
import"./index-v8jhmn8x.js";
|
|
79
|
+
import"./index-401a12w5.js";
|
|
80
|
+
import"./index-mbdkr2sh.js";
|
|
81
81
|
import"./index-g4fs6z4e.js";
|
|
82
|
-
import"./index-
|
|
83
|
-
import"./index-
|
|
84
|
-
import"./index-
|
|
82
|
+
import"./index-9px1knpj.js";
|
|
83
|
+
import"./index-eabxecjf.js";
|
|
84
|
+
import"./index-ng6me2hh.js";
|
|
85
85
|
import"./index-m9zzj4ee.js";
|
|
86
86
|
import"./index-kphy4we7.js";
|
|
87
87
|
import"./index-2s7dvzff.js";
|
|
@@ -90,18 +90,18 @@ import {
|
|
|
90
90
|
validateActionability,
|
|
91
91
|
validateActionableFields,
|
|
92
92
|
validateLesson
|
|
93
|
-
} from "./index-
|
|
93
|
+
} from "./index-avbvxmw2.js";
|
|
94
94
|
import {
|
|
95
95
|
resolveWorktreeId
|
|
96
96
|
} from "./index-hy2fqapm.js";
|
|
97
97
|
import"./index-rtry5xyf.js";
|
|
98
|
-
import"./index-
|
|
98
|
+
import"./index-g749xs7c.js";
|
|
99
99
|
import"./index-g22dps7x.js";
|
|
100
100
|
import"./index-0725jpp7.js";
|
|
101
101
|
import {
|
|
102
102
|
normalizeScopeFiles
|
|
103
|
-
} from "./index-
|
|
104
|
-
import"./index-
|
|
103
|
+
} from "./index-fzx1wfxn.js";
|
|
104
|
+
import"./index-9sqcmzc2.js";
|
|
105
105
|
import"./index-6183at3v.js";
|
|
106
106
|
import"./index-j8t1g5qd.js";
|
|
107
107
|
import"./index-crz772sx.js";
|
|
@@ -119,7 +119,7 @@ import {
|
|
|
119
119
|
reinforceSwarmKnowledgeEntry,
|
|
120
120
|
resolveSwarmKnowledgePath,
|
|
121
121
|
transactKnowledge
|
|
122
|
-
} from "./index-
|
|
122
|
+
} from "./index-xb3h5tvj.js";
|
|
123
123
|
import"./index-vzm6zre7.js";
|
|
124
124
|
import"./index-ae75rja9.js";
|
|
125
125
|
import"./index-ry5g9s8d.js";
|
|
@@ -143,7 +143,7 @@ import"./index-gx2vp8gx.js";
|
|
|
143
143
|
import {
|
|
144
144
|
loadGateOverrides,
|
|
145
145
|
loadPluginConfigWithMeta
|
|
146
|
-
} from "./index-
|
|
146
|
+
} from "./index-bpnpvhja.js";
|
|
147
147
|
import {
|
|
148
148
|
init_git_executable,
|
|
149
149
|
resolveGitExecutableAsync
|
|
@@ -151,7 +151,7 @@ import {
|
|
|
151
151
|
import {
|
|
152
152
|
KnowledgeConfigSchema,
|
|
153
153
|
init_schema
|
|
154
|
-
} from "./index-
|
|
154
|
+
} from "./index-20m9q2z9.js";
|
|
155
155
|
import {
|
|
156
156
|
TOOL_METADATA,
|
|
157
157
|
init_tool_metadata
|
|
@@ -33,21 +33,21 @@ import {
|
|
|
33
33
|
sanitizeSlug,
|
|
34
34
|
selectCandidateEntries,
|
|
35
35
|
writeEvalStub
|
|
36
|
-
} from "./index-
|
|
36
|
+
} from "./index-29xr45xr.js";
|
|
37
37
|
import"./index-q7sjgr1y.js";
|
|
38
|
-
import"./index-
|
|
39
|
-
import"./index-
|
|
38
|
+
import"./index-eabxecjf.js";
|
|
39
|
+
import"./index-ng6me2hh.js";
|
|
40
40
|
import"./index-m9zzj4ee.js";
|
|
41
41
|
import"./index-kphy4we7.js";
|
|
42
42
|
import"./index-2s7dvzff.js";
|
|
43
|
-
import"./index-
|
|
43
|
+
import"./index-avbvxmw2.js";
|
|
44
44
|
import"./index-hy2fqapm.js";
|
|
45
45
|
import"./index-rtry5xyf.js";
|
|
46
|
-
import"./index-
|
|
46
|
+
import"./index-g749xs7c.js";
|
|
47
47
|
import"./index-g22dps7x.js";
|
|
48
48
|
import"./index-0725jpp7.js";
|
|
49
49
|
import"./index-gc0aeth5.js";
|
|
50
|
-
import"./index-
|
|
50
|
+
import"./index-xb3h5tvj.js";
|
|
51
51
|
import"./index-vzm6zre7.js";
|
|
52
52
|
import"./index-ae75rja9.js";
|
|
53
53
|
import"./index-ry5g9s8d.js";
|
|
@@ -60,9 +60,9 @@ import"./index-ejhxgyvm.js";
|
|
|
60
60
|
import"./index-7g4c7s5r.js";
|
|
61
61
|
import"./index-yf2z4j7s.js";
|
|
62
62
|
import"./index-gx2vp8gx.js";
|
|
63
|
-
import"./index-
|
|
63
|
+
import"./index-bpnpvhja.js";
|
|
64
64
|
import"./index-zxdawwc7.js";
|
|
65
|
-
import"./index-
|
|
65
|
+
import"./index-20m9q2z9.js";
|
|
66
66
|
import"./index-hqrkr9ag.js";
|
|
67
67
|
import"./index-bk5tah7q.js";
|
|
68
68
|
import"./index-gknz3bv1.js";
|
package/dist/cli/{snapshot-coordination-init-x9b4t9sk.js → snapshot-coordination-init-f6ecsn9c.js}
RENAMED
|
@@ -8,50 +8,50 @@ import {
|
|
|
8
8
|
markSnapshotCoordinationClosing,
|
|
9
9
|
retrySnapshotCoordinationInitialization,
|
|
10
10
|
startSnapshotCoordinationInitialization
|
|
11
|
-
} from "./index-
|
|
12
|
-
import"./index-
|
|
13
|
-
import"./index-
|
|
14
|
-
import"./index-
|
|
11
|
+
} from "./index-jvpvghyh.js";
|
|
12
|
+
import"./index-8zwmfh9d.js";
|
|
13
|
+
import"./index-67w61x1b.js";
|
|
14
|
+
import"./index-jvzfw0n5.js";
|
|
15
15
|
import"./index-j2vv0h13.js";
|
|
16
16
|
import"./index-c5xvm318.js";
|
|
17
17
|
import"./index-necqa5bj.js";
|
|
18
18
|
import"./index-txdagbh7.js";
|
|
19
|
-
import"./index-
|
|
19
|
+
import"./index-dgvf1jey.js";
|
|
20
20
|
import"./index-rdec0y3z.js";
|
|
21
|
-
import"./index-
|
|
22
|
-
import"./index-
|
|
23
|
-
import"./index-
|
|
24
|
-
import"./index-
|
|
21
|
+
import"./index-ysbmrmzk.js";
|
|
22
|
+
import"./index-njfkqr77.js";
|
|
23
|
+
import"./index-29xr45xr.js";
|
|
24
|
+
import"./index-1cks27mv.js";
|
|
25
25
|
import"./index-ghckhk16.js";
|
|
26
26
|
import"./index-ypkfhqbc.js";
|
|
27
27
|
import"./index-cjapb4hy.js";
|
|
28
28
|
import"./index-dfrcc46h.js";
|
|
29
29
|
import"./index-pt7h91zc.js";
|
|
30
30
|
import"./index-q7sjgr1y.js";
|
|
31
|
-
import"./index-
|
|
32
|
-
import"./index-
|
|
31
|
+
import"./index-xf6tdsyr.js";
|
|
32
|
+
import"./index-1gnrtz76.js";
|
|
33
33
|
import"./index-6b295cas.js";
|
|
34
34
|
import"./index-9nyqt3kb.js";
|
|
35
|
-
import"./index-
|
|
35
|
+
import"./index-t3tzk566.js";
|
|
36
36
|
import"./index-v3bmwmqw.js";
|
|
37
|
-
import"./index-
|
|
38
|
-
import"./index-
|
|
39
|
-
import"./index-
|
|
37
|
+
import"./index-v8jhmn8x.js";
|
|
38
|
+
import"./index-401a12w5.js";
|
|
39
|
+
import"./index-mbdkr2sh.js";
|
|
40
40
|
import"./index-g4fs6z4e.js";
|
|
41
|
-
import"./index-
|
|
42
|
-
import"./index-
|
|
43
|
-
import"./index-
|
|
41
|
+
import"./index-9px1knpj.js";
|
|
42
|
+
import"./index-eabxecjf.js";
|
|
43
|
+
import"./index-ng6me2hh.js";
|
|
44
44
|
import"./index-m9zzj4ee.js";
|
|
45
45
|
import"./index-kphy4we7.js";
|
|
46
46
|
import"./index-2s7dvzff.js";
|
|
47
|
-
import"./index-
|
|
47
|
+
import"./index-avbvxmw2.js";
|
|
48
48
|
import"./index-hy2fqapm.js";
|
|
49
49
|
import"./index-rtry5xyf.js";
|
|
50
|
-
import"./index-
|
|
50
|
+
import"./index-g749xs7c.js";
|
|
51
51
|
import"./index-g22dps7x.js";
|
|
52
52
|
import"./index-0725jpp7.js";
|
|
53
|
-
import"./index-
|
|
54
|
-
import"./index-
|
|
53
|
+
import"./index-fzx1wfxn.js";
|
|
54
|
+
import"./index-9sqcmzc2.js";
|
|
55
55
|
import"./index-6183at3v.js";
|
|
56
56
|
import"./index-j8t1g5qd.js";
|
|
57
57
|
import"./index-crz772sx.js";
|
|
@@ -60,7 +60,7 @@ import"./index-ry16d01s.js";
|
|
|
60
60
|
import"./index-rdm3px0g.js";
|
|
61
61
|
import"./index-7pmbnjvj.js";
|
|
62
62
|
import"./index-gc0aeth5.js";
|
|
63
|
-
import"./index-
|
|
63
|
+
import"./index-xb3h5tvj.js";
|
|
64
64
|
import"./index-vzm6zre7.js";
|
|
65
65
|
import"./index-ae75rja9.js";
|
|
66
66
|
import"./index-ry5g9s8d.js";
|
|
@@ -73,9 +73,9 @@ import"./index-ejhxgyvm.js";
|
|
|
73
73
|
import"./index-7g4c7s5r.js";
|
|
74
74
|
import"./index-yf2z4j7s.js";
|
|
75
75
|
import"./index-gx2vp8gx.js";
|
|
76
|
-
import"./index-
|
|
76
|
+
import"./index-bpnpvhja.js";
|
|
77
77
|
import"./index-zxdawwc7.js";
|
|
78
|
-
import"./index-
|
|
78
|
+
import"./index-20m9q2z9.js";
|
|
79
79
|
import"./index-hqrkr9ag.js";
|
|
80
80
|
import"./index-bk5tah7q.js";
|
|
81
81
|
import"./index-gknz3bv1.js";
|
|
@@ -7,13 +7,13 @@ import {
|
|
|
7
7
|
parseSpeckitTasksContent,
|
|
8
8
|
propagateSpeckitCheckoff,
|
|
9
9
|
writeSpeckitCheckoffLedger
|
|
10
|
-
} from "./index-
|
|
10
|
+
} from "./index-v8jhmn8x.js";
|
|
11
11
|
import"./index-ejhxgyvm.js";
|
|
12
12
|
import"./index-7g4c7s5r.js";
|
|
13
13
|
import"./index-yf2z4j7s.js";
|
|
14
|
-
import"./index-
|
|
14
|
+
import"./index-bpnpvhja.js";
|
|
15
15
|
import"./index-zxdawwc7.js";
|
|
16
|
-
import"./index-
|
|
16
|
+
import"./index-20m9q2z9.js";
|
|
17
17
|
import"./index-hqrkr9ag.js";
|
|
18
18
|
import"./index-bk5tah7q.js";
|
|
19
19
|
import"./index-gknz3bv1.js";
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
import {
|
|
14
14
|
scanDelegationFallbacksForRecovery,
|
|
15
15
|
scanDelegationsForRecovery
|
|
16
|
-
} from "./index-
|
|
16
|
+
} from "./index-9px1knpj.js";
|
|
17
17
|
import"./index-kphy4we7.js";
|
|
18
18
|
import"./index-2s7dvzff.js";
|
|
19
19
|
import"./index-j8t1g5qd.js";
|
|
@@ -23,7 +23,7 @@ import"./index-ry16d01s.js";
|
|
|
23
23
|
import"./index-rdm3px0g.js";
|
|
24
24
|
import"./index-7pmbnjvj.js";
|
|
25
25
|
import"./index-gc0aeth5.js";
|
|
26
|
-
import"./index-
|
|
26
|
+
import"./index-xb3h5tvj.js";
|
|
27
27
|
import"./index-vzm6zre7.js";
|
|
28
28
|
import"./index-ae75rja9.js";
|
|
29
29
|
import"./index-ry5g9s8d.js";
|
|
@@ -25,52 +25,52 @@ import {
|
|
|
25
25
|
sanitizeWorktreeTaskId,
|
|
26
26
|
standardWorktreeByCallID,
|
|
27
27
|
standardWorktreeSerializationSessions
|
|
28
|
-
} from "./index-
|
|
29
|
-
import"./index-
|
|
30
|
-
import"./index-
|
|
31
|
-
import"./index-
|
|
28
|
+
} from "./index-jvpvghyh.js";
|
|
29
|
+
import"./index-8zwmfh9d.js";
|
|
30
|
+
import"./index-67w61x1b.js";
|
|
31
|
+
import"./index-jvzfw0n5.js";
|
|
32
32
|
import"./index-j2vv0h13.js";
|
|
33
33
|
import"./index-c5xvm318.js";
|
|
34
34
|
import"./index-necqa5bj.js";
|
|
35
35
|
import"./index-txdagbh7.js";
|
|
36
|
-
import"./index-
|
|
36
|
+
import"./index-dgvf1jey.js";
|
|
37
37
|
import"./index-rdec0y3z.js";
|
|
38
|
-
import"./index-
|
|
39
|
-
import"./index-
|
|
40
|
-
import"./index-
|
|
41
|
-
import"./index-
|
|
38
|
+
import"./index-ysbmrmzk.js";
|
|
39
|
+
import"./index-njfkqr77.js";
|
|
40
|
+
import"./index-29xr45xr.js";
|
|
41
|
+
import"./index-1cks27mv.js";
|
|
42
42
|
import"./index-ghckhk16.js";
|
|
43
43
|
import"./index-ypkfhqbc.js";
|
|
44
44
|
import"./index-cjapb4hy.js";
|
|
45
45
|
import"./index-dfrcc46h.js";
|
|
46
46
|
import"./index-pt7h91zc.js";
|
|
47
47
|
import"./index-q7sjgr1y.js";
|
|
48
|
-
import"./index-
|
|
49
|
-
import"./index-
|
|
48
|
+
import"./index-xf6tdsyr.js";
|
|
49
|
+
import"./index-1gnrtz76.js";
|
|
50
50
|
import"./index-6b295cas.js";
|
|
51
51
|
import"./index-9nyqt3kb.js";
|
|
52
|
-
import"./index-
|
|
52
|
+
import"./index-t3tzk566.js";
|
|
53
53
|
import"./index-v3bmwmqw.js";
|
|
54
|
-
import"./index-
|
|
55
|
-
import"./index-
|
|
56
|
-
import"./index-
|
|
54
|
+
import"./index-v8jhmn8x.js";
|
|
55
|
+
import"./index-401a12w5.js";
|
|
56
|
+
import"./index-mbdkr2sh.js";
|
|
57
57
|
import"./index-g4fs6z4e.js";
|
|
58
|
-
import"./index-
|
|
59
|
-
import"./index-
|
|
60
|
-
import"./index-
|
|
58
|
+
import"./index-9px1knpj.js";
|
|
59
|
+
import"./index-eabxecjf.js";
|
|
60
|
+
import"./index-ng6me2hh.js";
|
|
61
61
|
import"./index-m9zzj4ee.js";
|
|
62
62
|
import"./index-kphy4we7.js";
|
|
63
63
|
import"./index-2s7dvzff.js";
|
|
64
|
-
import"./index-
|
|
64
|
+
import"./index-avbvxmw2.js";
|
|
65
65
|
import"./index-hy2fqapm.js";
|
|
66
66
|
import"./index-rtry5xyf.js";
|
|
67
67
|
import {
|
|
68
68
|
resolveWorktreeIsolationConfig
|
|
69
|
-
} from "./index-
|
|
69
|
+
} from "./index-g749xs7c.js";
|
|
70
70
|
import"./index-g22dps7x.js";
|
|
71
71
|
import"./index-0725jpp7.js";
|
|
72
|
-
import"./index-
|
|
73
|
-
import"./index-
|
|
72
|
+
import"./index-fzx1wfxn.js";
|
|
73
|
+
import"./index-9sqcmzc2.js";
|
|
74
74
|
import"./index-6183at3v.js";
|
|
75
75
|
import"./index-j8t1g5qd.js";
|
|
76
76
|
import"./index-crz772sx.js";
|
|
@@ -79,7 +79,7 @@ import"./index-ry16d01s.js";
|
|
|
79
79
|
import"./index-rdm3px0g.js";
|
|
80
80
|
import"./index-7pmbnjvj.js";
|
|
81
81
|
import"./index-gc0aeth5.js";
|
|
82
|
-
import"./index-
|
|
82
|
+
import"./index-xb3h5tvj.js";
|
|
83
83
|
import"./index-vzm6zre7.js";
|
|
84
84
|
import"./index-ae75rja9.js";
|
|
85
85
|
import"./index-ry5g9s8d.js";
|
|
@@ -92,9 +92,9 @@ import"./index-ejhxgyvm.js";
|
|
|
92
92
|
import"./index-7g4c7s5r.js";
|
|
93
93
|
import"./index-yf2z4j7s.js";
|
|
94
94
|
import"./index-gx2vp8gx.js";
|
|
95
|
-
import"./index-
|
|
95
|
+
import"./index-bpnpvhja.js";
|
|
96
96
|
import"./index-zxdawwc7.js";
|
|
97
|
-
import"./index-
|
|
97
|
+
import"./index-20m9q2z9.js";
|
|
98
98
|
import"./index-hqrkr9ag.js";
|
|
99
99
|
import"./index-bk5tah7q.js";
|
|
100
100
|
import"./index-gknz3bv1.js";
|
|
@@ -715,7 +715,7 @@ export declare const COMMAND_REGISTRY: {
|
|
|
715
715
|
readonly epic: {
|
|
716
716
|
readonly handler: (ctx: CommandContext) => Promise<string>;
|
|
717
717
|
readonly description: "Open, inspect, and close a plan-scoped epic (coupling-aware parallel execution of the current plan)";
|
|
718
|
-
readonly details: "An epic is bound to ONE plan: `start` opens it for the current plan, `close` ends it. Requires `epic.mode.enabled: true` in config (top-level `epic` block; no `turbo` block needed — the legacy `turbo.epic` path is still accepted and migrated). `start [--force]` refuses, in order: epic-disabled-by-config, host-unsupported (the host gives the plugin no OpenCode SDK client; on OpenCode 2 the v2 adapter
|
|
718
|
+
readonly details: "An epic is bound to ONE plan: `start` opens it for the current plan, `close` ends it. Requires `epic.mode.enabled: true` in config (top-level `epic` block; no `turbo` block needed — the legacy `turbo.epic` path is still accepted and migrated). `start [--force]` refuses, in order: epic-disabled-by-config, host-unsupported (the host gives the plugin no OpenCode SDK client; on OpenCode 2 the v2 adapter ships one, so this refusal does not fire there — Epic is startable on OpenCode 2 via the native v2 /swarm command dispatch, #3169 Phase 4), no-plan / plan-ledger-unreadable, epic-already-open (idempotent for the same plan) / epic-open-for-other-plan, turbo-active (config turbo_mode, a session with Turbo on, or a running Lean run — Epic enables neither Lean nor Turbo and never waives per-task QA), dirty-baseline (git: uncommitted changes outside .swarm/), detached-head / epic-branch-exists (epic-branch policy), in-flight-coders (any coder dispatch, background delegation, unsettled settlement, or preserved/recovery lane), not-epic-sized (too few pending tasks, insufficient scope coverage, or insufficient effective speedup — run it in Balanced, or reshape it with the plan-shaping suggestions shown; `--force` overrides and is recorded). Non-git projects run an epic serially (one task per wave). Git epics default to `epic.commit_policy: \"epic-branch\"`: start checks out `swarm/epic/<epicKey>` and every Epic commit goes there (epic_next_wave blocks with epic-branch-mismatch, and no landing or residue is committed, while HEAD is elsewhere); `current-branch` keeps commits on the starting branch. In a git epic every coder runs in an isolated worktree (refused EPIC_ISOLATION_DEGRADED when isolation is unavailable) and lands as a `swarm(task <id>): …` merge commit; main-tree files a non-coder writer (test_engineer, docs) wrote for a task are committed as residue of that task; update_task_status writes nothing to git; wave close records the commit of each task as `refs/swarm/epics/<epicKey>/tasks/<id>` (deleted at close unless `epic.retain_refs`; never pushed by default). While open, the architect calls epic_next_wave and does what its status says: it issues one wave at a time (tasks with non-conflicting declared scopes — exclusive tasks alone, at most one task per densely coupled component; phases strictly in order), the architect dispatches one Task per taskId in ONE message and runs per-task QA (pre_check_batch → reviewer + test_engineer → update_task_status(completed)), and the next epic_next_wave closes the wave (recording outcomes and declared-vs-actual divergence) and issues the next; when a phase is done it returns phase-ready-for-review → epic_phase_review → phase_complete. `close [--abandon] [--land squash|merge|none]` refuses while tasks are pending (or the epic is orphaned / unreadable) unless `--abandon`, refuses a dirty tree before landing, writes a close report (epic-report-v2, embedding the epic scorecard) to .swarm/epic/reports/ and .swarm/epic-prior/reports/ (newest 50 kept), and lands the epic branch onto the original branch: squash (default — staged, uncommitted changes for you to review and commit), merge (a --no-ff merge commit), or none (switch back only). The epic branch is kept (remove it with `git branch -D` once committed). A landing conflict is rolled back (the attempted squash or merge is undone) and the epic stays closing — rerun close to resume. `--abandon` never lands; it switches back to the original branch when the tree is clean. `status [--repair-refs]` (also bare /swarm epic) shows the epic, its waves, phases, the task components recorded with the latest wave and recorded divergence, orphan detection (plan renamed or replaced), sentinel/row repair, recorded worktree merge failures, and retires legacy Epic v1 session state once; `--repair-refs` re-adopts task commits a rebase or amend made unreachable from HEAD. `report [<key>|last] [--format json]` shows the epic scorecard: live for the open epic (bare `report`), else from the close report of a past epic in .swarm/epic-prior/reports/ (`last` = newest; `<key>` = a report or epic key) — tasks completed in the epic, waves (count, width), time over closed waves (wave span, task issue→resolve time, and their ratio, a concurrency factor that is NOT a speedup: it includes queueing behind serialized QA), conflicts (merge-back failures, undeclared writes), rework (extra generations, reopens), first-pass gate rates (upper bounds: the failure history is bounded), forced/sizing at start and learned hot files. Epics learn from their outcomes: undeclared writes teach learned co-writes (a task declaring D that also wrote f makes later tasks declaring D conflict with tasks on f — planner analysis only, never write authorization) and incidents (undeclared writes, merge conflicts, Stage B failures, rework, reopens) in excess of clean exposures make a file hot (a task declaring it runs alone) — undeclared writes its strongest learned co-writer explains are discounted (expansion already separates them), so one declarer writing a file is not heat; an empty history learns nothing (neutral start). Each wave close updates the posterior of the epic; close merges it into the project prior .swarm/epic-prior/learning.json (decayed per epic and by age; kept across /swarm close; `epic.learning.*`). `learning` shows what the planner learned and uses now; `prior [show]` shows the project prior; `prior reset` previews and prints a single-use confirm token (15 minutes); `prior reset --confirm=<token>` clears it. Also: clear-merge-failure <taskId> [--confirm]. The former `on` / `off` toggles, the `decide` / `last` subcommands and `calibration` (renamed `learning`) were removed.";
|
|
719
719
|
readonly args: "start [--force] | close [--abandon] [--land squash|merge|none] | status [--repair-refs] | report [<key>|last] [--format json] | learning | prior [show|reset [--confirm=<token>]] | clear-merge-failure <taskId> [--confirm]";
|
|
720
720
|
readonly category: "diagnostics";
|
|
721
721
|
readonly toolPolicy: "human-only";
|
|
@@ -14,6 +14,12 @@ export declare function splitSkillFrontmatter(content: string): {
|
|
|
14
14
|
export declare function skillContractDigest(body: string): string;
|
|
15
15
|
/**
|
|
16
16
|
* Read the stamped contract digest from a frontmatter block, if present.
|
|
17
|
+
* Accepts the spec shape (a two-space-indented child of the `metadata:` map,
|
|
18
|
+
* issue #2907) and the legacy column-0 form so consumer installs generated
|
|
19
|
+
* before the migration keep verifying. Deeper-indented lines (e.g. stamp-
|
|
20
|
+
* shaped text inside a `description: |` block scalar) do NOT match — the
|
|
21
|
+
* indent is anchored to exactly the two forms the stamp writer emits
|
|
22
|
+
* (PRR-020, PR #3207 review).
|
|
17
23
|
* String.match rather than RegExp.exec: the SAST callee-binding classifier
|
|
18
24
|
* (issue #2300) flags an unresolved .exec member call as exec-like.
|
|
19
25
|
*/
|
package/dist/epic/start.d.ts
CHANGED
|
@@ -93,11 +93,12 @@ export interface EpicStartOptions {
|
|
|
93
93
|
* Every git-epic coder needs worktree isolation and every phase needs the
|
|
94
94
|
* `epic_phase_review` dispatch, and both create sessions through that client
|
|
95
95
|
* (`worktree-isolation.ts` STANDARD_WORKTREE_ISOLATION_UNAVAILABLE,
|
|
96
|
-
* `src/review/contracts.ts`).
|
|
97
|
-
*
|
|
98
|
-
*
|
|
96
|
+
* `src/review/contracts.ts`). Since #3169 Phase 2 the OpenCode 2 adapter
|
|
97
|
+
* installs a session-capable client shim (`src/host/v2/setup.ts`), and since
|
|
98
|
+
* Phase 4 a human-typed `/swarm` command dispatches natively there — this
|
|
99
|
+
* refusal now fires only on genuinely client-less hosts.
|
|
99
100
|
*/
|
|
100
|
-
export declare const EPIC_HOST_UNSUPPORTED_MESSAGE = "This OpenCode host gives the plugin no SDK client. Epic needs it for worktree-isolated coders and for the epic_phase_review reviewer/critic, so an epic here could neither run its coders nor complete a phase. Run the plan in Balanced, or use an OpenCode 1.x host (1.18.29+). (On OpenCode 2 the v2 adapter
|
|
101
|
+
export declare const EPIC_HOST_UNSUPPORTED_MESSAGE = "This OpenCode host gives the plugin no SDK client. Epic needs it for worktree-isolated coders and for the epic_phase_review reviewer/critic, so an epic here could neither run its coders nor complete a phase. Run the plan in Balanced, or use an OpenCode 1.x host (1.18.29+). (On OpenCode 2 the v2 adapter ships a session-capable client and native /swarm command dispatch, so this refusal does not fire there.)";
|
|
101
102
|
/** Durable Lean run marked `running` — read without the migrating Lean reader. */
|
|
102
103
|
declare function findRunningLeanRun(directory: string): string | null;
|
|
103
104
|
/** Why Turbo blocks the start, or null (M-a). */
|
|
@@ -67,7 +67,7 @@ export interface SkillMetadata {
|
|
|
67
67
|
skillType?: 'directive' | 'workflow';
|
|
68
68
|
/** Literal trigger phrases from frontmatter. */
|
|
69
69
|
triggers?: string[];
|
|
70
|
-
/**
|
|
70
|
+
/** Audience declaration (spec `metadata.audience` or legacy top-level) and its parse status. */
|
|
71
71
|
audience?: SkillAudienceMetadata;
|
|
72
72
|
}
|
|
73
73
|
export declare const _internals: {
|
|
@@ -280,6 +280,8 @@ export declare function resolveSourceKnowledgeIds(directory: string, skillPath:
|
|
|
280
280
|
* Pure helper: parse `generated_from_knowledge:` YAML list from frontmatter.
|
|
281
281
|
* Uses a minimal regex-based parser — the SKILL.md format is well-known and narrow.
|
|
282
282
|
* Does NOT use a full YAML parser to avoid adding a dependency.
|
|
283
|
+
* Accepts the spec shape (indented `metadata:` child; lists serialize as
|
|
284
|
+
* JSON-string arrays, issue #2907) and the legacy top-level block list.
|
|
283
285
|
*/
|
|
284
286
|
declare function parseGeneratedFromKnowledge(content: string): string[];
|
|
285
287
|
/**
|
|
@@ -19,11 +19,21 @@
|
|
|
19
19
|
* - Entries the v1 hook marks `disable: true` (auto-select disabling the
|
|
20
20
|
* `build`/`plan` built-ins) are REMOVED on the v2 agent editor.
|
|
21
21
|
* - v1 command entries `{template, description}` → v2 CommandDefinition
|
|
22
|
-
* whose `execute`
|
|
23
|
-
* `
|
|
24
|
-
*
|
|
22
|
+
* whose `execute` natively dispatches through the shared v1 command
|
|
23
|
+
* handler (`command.execute.before` on the hooks object) and submits the
|
|
24
|
+
* handler-produced prompt via the v2 session prompt surface; the raw
|
|
25
|
+
* expanded template survives as the explicit fallback (#3169 Phase 4 —
|
|
26
|
+
* see deferredV2ExecuteSwarmCommand).
|
|
25
27
|
*/
|
|
26
28
|
import type { V1HooksSubset, V2AgentInfo, V2PluginContext, V2Registration } from './types';
|
|
29
|
+
/**
|
|
30
|
+
* Test seam (review PRR-002): the dispatch budget is read through this
|
|
31
|
+
* object so the timeout→notice arm is reachable in tests without patching
|
|
32
|
+
* global timers.
|
|
33
|
+
*/
|
|
34
|
+
export declare const _internals: {
|
|
35
|
+
dispatchTimeoutMs: number;
|
|
36
|
+
};
|
|
27
37
|
interface V1AgentConfigLike {
|
|
28
38
|
mode?: unknown;
|
|
29
39
|
prompt?: unknown;
|