opencode-swarm 7.164.12 → 7.165.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/durable-session-state/SKILL.md +1 -1
- package/.opencode/skills/issue-tracer/SKILL.md +140 -286
- package/.opencode/skills/issue-tracer/assets/pr-template.md +13 -7
- package/.opencode/skills/issue-tracer/references/acceptance-checks.md +66 -0
- package/.opencode/skills/issue-tracer/references/critic-gate.md +53 -11
- package/.opencode/skills/issue-tracer/references/evidence-artifacts.md +128 -23
- package/.opencode/skills/issue-tracer/references/full-resolution-contract.md +69 -0
- package/.opencode/skills/issue-tracer/references/install.md +31 -9
- package/.opencode/skills/issue-tracer/references/localization-playbook.md +26 -14
- package/.opencode/skills/issue-tracer/references/method-provenance.md +19 -3
- package/.opencode/skills/issue-tracer/references/phase-0-setup.md +90 -0
- package/.opencode/skills/issue-tracer/references/phase-1-intake.md +43 -0
- package/.opencode/skills/issue-tracer/references/untrusted-content.md +13 -5
- package/.opencode/skills/issue-tracer/scripts/repro-check.sh +416 -0
- package/.opencode/skills/issue-tracer/scripts/trace-check.sh +479 -0
- package/.opencode/skills/issue-tracer/scripts/trace-init.sh +96 -6
- package/.opencode/skills/loop/SKILL.md +1 -1
- package/.opencode/skills/{plan → swarm-plan}/SKILL.md +1 -1
- package/dist/cli/{coder-settlement-yh1q5fr3.js → coder-settlement-89nt4j7g.js} +11 -11
- package/dist/cli/{config-doctor-bd4yzmh7.js → config-doctor-gm6f5chm.js} +3 -3
- package/dist/cli/{core-y0s1vmyc.js → core-91p43zwj.js} +2 -2
- package/dist/cli/{curation-policy-gs1qakn7.js → curation-policy-bqpmry2n.js} +5 -5
- package/dist/cli/{curator-brqack0j.js → curator-4bs2hmy9.js} +36 -36
- package/dist/cli/{curator-drift-1sg9yk2m.js → curator-drift-hbc3w5zj.js} +4 -4
- package/dist/cli/curator-llm-factory-fhbjwar0.js +70 -0
- package/dist/cli/{evidence-summary-service-nqbcvp30.js → evidence-summary-service-g1xd8egd.js} +16 -16
- package/dist/cli/{gate-evidence-9stdtpej.js → gate-evidence-gdmgsz7c.js} +7 -7
- package/dist/cli/guardrail-explain-1nfbtpgg.js +71 -0
- package/dist/cli/{guardrail-log-sf39x00b.js → guardrail-log-nyggdv04.js} +8 -8
- package/dist/cli/{guardrail-reset-9wr6a60s.js → guardrail-reset-rp9jq0gj.js} +36 -36
- package/dist/cli/{hive-promoter-bqtj8261.js → hive-promoter-39xb4tx2.js} +36 -36
- package/dist/cli/{index-cgewrpw5.js → index-0e9jh9c7.js} +4 -3
- package/dist/cli/{index-3fnym6ac.js → index-1v6vc90w.js} +4 -4
- package/dist/cli/{index-hg09xemc.js → index-2k53pfnc.js} +4 -4
- package/dist/cli/{index-wknpkfm8.js → index-3xyjvx24.js} +7 -7
- package/dist/cli/{index-03enxdaq.js → index-4gmt79q9.js} +1 -1
- package/dist/cli/{index-qgajv9rd.js → index-58be2gtd.js} +3 -3
- package/dist/cli/{index-r2p0pgst.js → index-5ebgzb5a.js} +3 -3
- package/dist/cli/{index-k0s8n6m5.js → index-5ythtd9t.js} +11 -11
- package/dist/cli/{index-hb7bh4r2.js → index-6be5caj8.js} +30 -6
- package/dist/cli/{index-yvqg6kn5.js → index-6m24v15v.js} +2 -2
- package/dist/cli/{index-sphahrmq.js → index-6rx1rdaq.js} +1 -1
- package/dist/cli/{index-r69gzes2.js → index-7h94rfem.js} +7 -7
- package/dist/cli/{index-xxfk62zd.js → index-8bdk7124.js} +2 -2
- package/dist/cli/{index-50j914b5.js → index-a0d4fp6r.js} +29 -7
- package/dist/cli/{index-8vw2pjgr.js → index-afpkqsdb.js} +6 -6
- package/dist/cli/{index-4mjmnysc.js → index-ajknebrc.js} +1 -1
- package/dist/cli/{index-qqq04n70.js → index-anxs69ad.js} +1 -1
- package/dist/cli/{index-888pq4xx.js → index-c4ddtrqg.js} +7 -7
- package/dist/cli/{index-ztm0q26v.js → index-dh5th4jn.js} +1 -1
- package/dist/cli/{index-c45662wc.js → index-e45htt92.js} +1 -1
- package/dist/cli/{index-ad9064j9.js → index-e6n7cemz.js} +4 -4
- package/dist/cli/{index-hvz4ad2t.js → index-f36hy1x4.js} +1 -1
- package/dist/cli/{index-40twgsyh.js → index-g8wdekzz.js} +2 -2
- package/dist/cli/{index-0byep4pe.js → index-gn6ybsc4.js} +8 -8
- package/dist/cli/{index-ewv8qa8q.js → index-gy0nyfbw.js} +2 -2
- package/dist/cli/{index-wasdrhev.js → index-hdakb4n9.js} +4 -4
- package/dist/cli/{index-5wc5pbzc.js → index-hwz46jj7.js} +682 -349
- package/dist/cli/{index-eed0gkv6.js → index-j2svfhzk.js} +2 -2
- package/dist/cli/{index-2bhz5k91.js → index-jre6tm3v.js} +2 -2
- package/dist/cli/{index-b25t91a3.js → index-k1ntjzmf.js} +2 -2
- package/dist/cli/{index-kxv193aq.js → index-n3pjcks8.js} +5 -5
- package/dist/cli/{index-ebce775n.js → index-p7hdp3rp.js} +2 -2
- package/dist/cli/{index-d3mpxsmy.js → index-ptsqnxwd.js} +7 -7
- package/dist/cli/{index-d7j3n5ra.js → index-qzvry1n1.js} +41 -39
- package/dist/cli/{index-m8xrbdmn.js → index-r5hj3nfe.js} +2 -2
- package/dist/cli/{index-x39hjdf1.js → index-tqw8w2n5.js} +1 -1
- package/dist/cli/{index-es64amqt.js → index-w6988bbc.js} +1 -1
- package/dist/cli/{index-mee9maf5.js → index-xwbn7c8m.js} +2 -2
- package/dist/cli/{index-4vb56w2k.js → index-y1zhpfk8.js} +4 -4
- package/dist/cli/{index-vw66q1rw.js → index-zycp24b9.js} +1 -1
- package/dist/cli/index.js +146 -67
- package/dist/cli/{knowledge-escalator-01vva51d.js → knowledge-escalator-eq07pcj3.js} +13 -13
- package/dist/cli/{knowledge-events-dpfwh1hs.js → knowledge-events-rv9q9mkm.js} +11 -11
- package/dist/cli/{knowledge-link-2rvp966j.js → knowledge-link-dgvbqjqg.js} +4 -4
- package/dist/cli/{knowledge-store-aw58ae7b.js → knowledge-store-cxcr0ttk.js} +5 -5
- package/dist/cli/{knowledge-validator-yhd31ryf.js → knowledge-validator-8qtd9ys0.js} +7 -7
- package/dist/cli/{model-preflight-288nsgpw.js → model-preflight-3s1c0zpc.js} +1 -1
- package/dist/cli/{pending-delegations-fjetcz8e.js → pending-delegations-dp3g8e7k.js} +11 -11
- package/dist/cli/{pr-subscriptions-cwwtfs8w.js → pr-subscriptions-3vx06rar.js} +11 -11
- package/dist/cli/{pr-workflow-gate-5xwtg1k2.js → pr-workflow-gate-bbet0apk.js} +36 -36
- package/dist/cli/{runner-mb51twxt.js → runner-0e3bjeev.js} +5 -5
- package/dist/cli/{scan-cursor-j11qwf0v.js → scan-cursor-zwm0xng7.js} +6 -6
- package/dist/cli/{schema-0xp3bde3.js → schema-ebfxgya0.js} +2 -2
- package/dist/cli/{scope-persistence-brrk806y.js → scope-persistence-6c55akfz.js} +15 -15
- package/dist/cli/{skill-generator-j8qzmet9.js → skill-generator-mv5jxzsh.js} +15 -15
- package/dist/cli/{snapshot-coordination-init-h0xmtftq.js → snapshot-coordination-init-n556wa18.js} +36 -36
- package/dist/cli/{telemetry-m84ap0pp.js → telemetry-a1yvjerj.js} +1 -1
- package/dist/cli/{worktree-collision-ownership-j9zykj18.js → worktree-collision-ownership-pp4z4z8p.js} +12 -12
- package/dist/cli/{worktree-isolation-jd39xz6h.js → worktree-isolation-69hz9dgg.js} +36 -36
- package/dist/commands/benchmark.d.ts +5 -1
- package/dist/commands/registry.d.ts +34 -43
- package/dist/commands/turbo.d.ts +1 -1
- package/dist/config/bundled-skills.d.ts +4 -3
- package/dist/config/constants.d.ts +13 -0
- package/dist/config/skill-mirrors.d.ts +3 -3
- package/dist/hooks/extractors.d.ts +9 -0
- package/dist/hooks/non-architect-advisory.d.ts +18 -0
- package/dist/hooks/repo-graph-injection.d.ts +16 -0
- package/dist/index.js +73 -71
- package/dist/services/decision-drift-analyzer.d.ts +7 -0
- package/dist/services/handoff-service.d.ts +10 -0
- package/dist/services/status-service.d.ts +27 -0
- package/dist/state.d.ts +8 -0
- package/dist/tools/repo-graph/builder.d.ts +1 -25
- package/dist/tools/repo-graph/cache.d.ts +5 -1
- package/dist/tools/repo-graph/fallback-scanner.d.ts +71 -0
- package/dist/tools/repo-graph/indexed-storage.d.ts +11 -0
- package/dist/tools/repo-graph/storage.d.ts +7 -0
- package/dist/utils/context-decisions.d.ts +77 -0
- package/dist/utils/sanitize-display.d.ts +7 -0
- package/package.json +3 -2
- package/dist/cli/curator-llm-factory-dtsjc3zf.js +0 -70
- package/dist/cli/guardrail-explain-3ff1z3fm.js +0 -71
|
@@ -7,66 +7,66 @@ import {
|
|
|
7
7
|
isHiveEligible,
|
|
8
8
|
promoteFromSwarm,
|
|
9
9
|
promoteToHive
|
|
10
|
-
} from "./index-
|
|
10
|
+
} from "./index-hwz46jj7.js";
|
|
11
11
|
import"./index-8d90gzaz.js";
|
|
12
|
-
import"./index-
|
|
13
|
-
import"./index-
|
|
14
|
-
import"./index-
|
|
15
|
-
import"./index-
|
|
16
|
-
import"./index-
|
|
12
|
+
import"./index-f36hy1x4.js";
|
|
13
|
+
import"./index-hdakb4n9.js";
|
|
14
|
+
import"./index-k1ntjzmf.js";
|
|
15
|
+
import"./index-5ythtd9t.js";
|
|
16
|
+
import"./index-tqw8w2n5.js";
|
|
17
17
|
import"./index-txdagbh7.js";
|
|
18
18
|
import"./index-cw912re7.js";
|
|
19
|
-
import"./index-
|
|
20
|
-
import"./index-
|
|
21
|
-
import"./index-
|
|
19
|
+
import"./index-6be5caj8.js";
|
|
20
|
+
import"./index-n3pjcks8.js";
|
|
21
|
+
import"./index-g8wdekzz.js";
|
|
22
22
|
import"./index-70ha9e09.js";
|
|
23
|
-
import"./index-
|
|
23
|
+
import"./index-dh5th4jn.js";
|
|
24
24
|
import"./index-9ss2m4rs.js";
|
|
25
|
-
import"./index-
|
|
25
|
+
import"./index-ptsqnxwd.js";
|
|
26
26
|
import"./index-zsrtt42s.js";
|
|
27
|
-
import"./index-
|
|
27
|
+
import"./index-7h94rfem.js";
|
|
28
28
|
import"./index-6chhqq2n.js";
|
|
29
|
-
import"./index-
|
|
29
|
+
import"./index-8bdk7124.js";
|
|
30
30
|
import"./index-b43rt5ph.js";
|
|
31
31
|
import"./index-q7sjgr1y.js";
|
|
32
|
-
import"./index-
|
|
33
|
-
import"./index-
|
|
34
|
-
import"./index-
|
|
35
|
-
import"./index-
|
|
36
|
-
import"./index-
|
|
32
|
+
import"./index-e6n7cemz.js";
|
|
33
|
+
import"./index-p7hdp3rp.js";
|
|
34
|
+
import"./index-afpkqsdb.js";
|
|
35
|
+
import"./index-gn6ybsc4.js";
|
|
36
|
+
import"./index-anxs69ad.js";
|
|
37
37
|
import"./index-z6xqpmqg.js";
|
|
38
38
|
import"./index-p612v1mv.js";
|
|
39
|
-
import"./index-
|
|
40
|
-
import"./index-
|
|
39
|
+
import"./index-2k53pfnc.js";
|
|
40
|
+
import"./index-ajknebrc.js";
|
|
41
41
|
import"./index-rtry5xyf.js";
|
|
42
|
-
import"./index-
|
|
42
|
+
import"./index-58be2gtd.js";
|
|
43
43
|
import"./index-3qf1vxtb.js";
|
|
44
44
|
import"./index-n832052r.js";
|
|
45
|
-
import"./index-
|
|
46
|
-
import"./index-
|
|
47
|
-
import"./index-
|
|
45
|
+
import"./index-3xyjvx24.js";
|
|
46
|
+
import"./index-y1zhpfk8.js";
|
|
47
|
+
import"./index-xwbn7c8m.js";
|
|
48
48
|
import"./index-556ja8an.js";
|
|
49
|
-
import"./index-
|
|
50
|
-
import"./index-
|
|
51
|
-
import"./index-
|
|
49
|
+
import"./index-6m24v15v.js";
|
|
50
|
+
import"./index-e45htt92.js";
|
|
51
|
+
import"./index-w6988bbc.js";
|
|
52
52
|
import"./index-ry16d01s.js";
|
|
53
53
|
import"./index-n4fzmqz8.js";
|
|
54
|
-
import"./index-
|
|
54
|
+
import"./index-j2svfhzk.js";
|
|
55
55
|
import {
|
|
56
56
|
resolveHiveKnowledgePath
|
|
57
|
-
} from "./index-
|
|
57
|
+
} from "./index-c4ddtrqg.js";
|
|
58
58
|
import"./index-ae75rja9.js";
|
|
59
|
-
import"./index-
|
|
59
|
+
import"./index-6rx1rdaq.js";
|
|
60
60
|
import"./index-7qefgq4j.js";
|
|
61
|
-
import"./index-
|
|
62
|
-
import"./index-
|
|
63
|
-
import"./index-
|
|
61
|
+
import"./index-jre6tm3v.js";
|
|
62
|
+
import"./index-gy0nyfbw.js";
|
|
63
|
+
import"./index-5ebgzb5a.js";
|
|
64
64
|
import"./index-7g4c7s5r.js";
|
|
65
|
-
import"./index-
|
|
65
|
+
import"./index-zycp24b9.js";
|
|
66
66
|
import"./index-9e6fdz2h.js";
|
|
67
67
|
import"./index-4rhhvd1a.js";
|
|
68
|
-
import"./index-
|
|
69
|
-
import"./index-
|
|
68
|
+
import"./index-0e9jh9c7.js";
|
|
69
|
+
import"./index-a0d4fp6r.js";
|
|
70
70
|
import"./index-zjygnfay.js";
|
|
71
71
|
import"./index-bk5tah7q.js";
|
|
72
72
|
import"./index-bpmtbmy9.js";
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
ALL_AGENT_NAMES,
|
|
4
4
|
SUMMARIZER_EXEMPT_TOOL_NAMES,
|
|
5
5
|
init_constants
|
|
6
|
-
} from "./index-
|
|
6
|
+
} from "./index-a0d4fp6r.js";
|
|
7
7
|
import {
|
|
8
8
|
OUTCOME_BLOCK_THRESHOLD,
|
|
9
9
|
init_knowledge_types
|
|
@@ -21,7 +21,7 @@ var package_default;
|
|
|
21
21
|
var init_package = __esm(() => {
|
|
22
22
|
package_default = {
|
|
23
23
|
name: "opencode-swarm",
|
|
24
|
-
version: "7.
|
|
24
|
+
version: "7.165.0",
|
|
25
25
|
description: "Architect-centric agentic swarm plugin for OpenCode - hub-and-spoke orchestration with SME consultation, code generation, and QA review",
|
|
26
26
|
main: "dist/index.js",
|
|
27
27
|
types: "dist/index.d.ts",
|
|
@@ -84,7 +84,7 @@ var init_package = __esm(() => {
|
|
|
84
84
|
".opencode/skills/swarm-pr-subscribe",
|
|
85
85
|
".opencode/skills/swarm-ci-monitor",
|
|
86
86
|
".opencode/skills/issue-ingest",
|
|
87
|
-
".opencode/skills/plan",
|
|
87
|
+
".opencode/skills/swarm-plan",
|
|
88
88
|
".opencode/skills/critic-gate",
|
|
89
89
|
".opencode/skills/execute",
|
|
90
90
|
".opencode/skills/phase-wrap",
|
|
@@ -121,6 +121,7 @@ var init_package = __esm(() => {
|
|
|
121
121
|
"drift:check": "bun run scripts/drift-check.ts",
|
|
122
122
|
"check:pre-push": "bun run scripts/drift-check.ts --enforce --no-report && bun run check:registry-citations",
|
|
123
123
|
"schema:generate": "bun run scripts/generate-config-schema.ts",
|
|
124
|
+
"generate:commands-docs": "bun run scripts/generate-commands-docs.ts",
|
|
124
125
|
"check:runtime-src-refs": "bun run scripts/check-runtime-src-refs.ts",
|
|
125
126
|
"drift:fix": "bun run scripts/drift-check.ts --fix --confirm",
|
|
126
127
|
"skills:sync": "bun run scripts/sync-qa-gate-skills.ts",
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import {
|
|
3
3
|
_internals,
|
|
4
4
|
resolveWorktreeIsolationConfig
|
|
5
|
-
} from "./index-
|
|
5
|
+
} from "./index-58be2gtd.js";
|
|
6
6
|
import {
|
|
7
7
|
ApprovalEvidenceSchema,
|
|
8
8
|
BaseEvidenceSchema,
|
|
@@ -44,7 +44,7 @@ import {
|
|
|
44
44
|
loadPluginConfigWithMeta,
|
|
45
45
|
loadPluginConfigWithMetaAsync,
|
|
46
46
|
resetConfigAdvisoryDedup
|
|
47
|
-
} from "./index-
|
|
47
|
+
} from "./index-zycp24b9.js";
|
|
48
48
|
import"./index-9e6fdz2h.js";
|
|
49
49
|
import"./index-4rhhvd1a.js";
|
|
50
50
|
import {
|
|
@@ -70,7 +70,7 @@ import {
|
|
|
70
70
|
TurboConfigSchema,
|
|
71
71
|
WorktreeIsolationConfigSchema,
|
|
72
72
|
resolveAutoReviewConfig
|
|
73
|
-
} from "./index-
|
|
73
|
+
} from "./index-0e9jh9c7.js";
|
|
74
74
|
import {
|
|
75
75
|
ALL_AGENT_NAMES,
|
|
76
76
|
ALL_SUBAGENT_NAMES,
|
|
@@ -80,7 +80,7 @@ import {
|
|
|
80
80
|
QA_AGENTS,
|
|
81
81
|
isQAAgent,
|
|
82
82
|
isSubagent
|
|
83
|
-
} from "./index-
|
|
83
|
+
} from "./index-a0d4fp6r.js";
|
|
84
84
|
import"./index-zjygnfay.js";
|
|
85
85
|
import"./index-bk5tah7q.js";
|
|
86
86
|
import"./index-bpmtbmy9.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
authorizeCuration
|
|
4
|
-
} from "./index-
|
|
4
|
+
} from "./index-ajknebrc.js";
|
|
5
5
|
import {
|
|
6
6
|
findNearDuplicate,
|
|
7
7
|
inferTags,
|
|
@@ -9,13 +9,13 @@ import {
|
|
|
9
9
|
resolveSwarmKnowledgePath,
|
|
10
10
|
resolveSwarmRejectedPath,
|
|
11
11
|
transactKnowledge
|
|
12
|
-
} from "./index-
|
|
12
|
+
} from "./index-c4ddtrqg.js";
|
|
13
13
|
import {
|
|
14
14
|
resolveKnowledgeStoreDir
|
|
15
|
-
} from "./index-
|
|
15
|
+
} from "./index-6rx1rdaq.js";
|
|
16
16
|
import {
|
|
17
17
|
atomicWriteFile
|
|
18
|
-
} from "./index-
|
|
18
|
+
} from "./index-jre6tm3v.js";
|
|
19
19
|
import {
|
|
20
20
|
require_proper_lockfile
|
|
21
21
|
} from "./index-7g4c7s5r.js";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
computePlanStructureHash
|
|
4
|
-
} from "./index-
|
|
4
|
+
} from "./index-y1zhpfk8.js";
|
|
5
5
|
import {
|
|
6
6
|
appendCoreEventSync
|
|
7
|
-
} from "./index-
|
|
7
|
+
} from "./index-xwbn7c8m.js";
|
|
8
8
|
import {
|
|
9
9
|
unsafePathTextReason
|
|
10
10
|
} from "./index-556ja8an.js";
|
|
@@ -16,27 +16,27 @@ import {
|
|
|
16
16
|
transitionCoordinationState,
|
|
17
17
|
transitionCoordinationStateWithinTransaction,
|
|
18
18
|
withCoordinationTransaction
|
|
19
|
-
} from "./index-
|
|
19
|
+
} from "./index-e45htt92.js";
|
|
20
20
|
import {
|
|
21
21
|
getProjectDb
|
|
22
|
-
} from "./index-
|
|
22
|
+
} from "./index-w6988bbc.js";
|
|
23
23
|
import {
|
|
24
24
|
canonicalExistingFilesystemPath,
|
|
25
25
|
legacyCanonicalExistingFilesystemPath
|
|
26
26
|
} from "./index-ry16d01s.js";
|
|
27
27
|
import {
|
|
28
28
|
assertProjectRoot
|
|
29
|
-
} from "./index-
|
|
29
|
+
} from "./index-jre6tm3v.js";
|
|
30
30
|
import {
|
|
31
31
|
atomicWriteSwarmFile,
|
|
32
32
|
atomicWriteSwarmFileSync
|
|
33
|
-
} from "./index-
|
|
33
|
+
} from "./index-gy0nyfbw.js";
|
|
34
34
|
import {
|
|
35
35
|
require_proper_lockfile
|
|
36
36
|
} from "./index-7g4c7s5r.js";
|
|
37
37
|
import {
|
|
38
38
|
PlanSchema
|
|
39
|
-
} from "./index-
|
|
39
|
+
} from "./index-zycp24b9.js";
|
|
40
40
|
import {
|
|
41
41
|
__toESM
|
|
42
42
|
} from "./index-a76rekgs.js";
|
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
import {
|
|
3
3
|
init_loader,
|
|
4
4
|
loadPluginConfigWithMeta
|
|
5
|
-
} from "./index-
|
|
5
|
+
} from "./index-zycp24b9.js";
|
|
6
6
|
import {
|
|
7
7
|
init_schema
|
|
8
|
-
} from "./index-
|
|
8
|
+
} from "./index-0e9jh9c7.js";
|
|
9
9
|
import {
|
|
10
10
|
DEFAULT_WORKTREE_ISOLATION_CONFIG,
|
|
11
11
|
init_constants
|
|
12
|
-
} from "./index-
|
|
12
|
+
} from "./index-a0d4fp6r.js";
|
|
13
13
|
|
|
14
14
|
// src/config/index.ts
|
|
15
15
|
init_constants();
|
|
@@ -217,7 +217,7 @@ var CATALOG_SOURCE = [
|
|
|
217
217
|
category: "delegation",
|
|
218
218
|
severity: "info",
|
|
219
219
|
privacyClass: "pseudonymous",
|
|
220
|
-
producer: "src/index.ts:
|
|
220
|
+
producer: "src/index.ts:657",
|
|
221
221
|
consumers: CONSUMER_COST_CORRECTION,
|
|
222
222
|
retentionOwnerIssue: ISSUE_COST_RETENTION,
|
|
223
223
|
requiredWorkflowIds: REQUIRE_SESSION_AND_TASK,
|
|
@@ -230,7 +230,7 @@ var CATALOG_SOURCE = [
|
|
|
230
230
|
category: "delegation",
|
|
231
231
|
severity: "info",
|
|
232
232
|
privacyClass: "pseudonymous",
|
|
233
|
-
producer: "src/index.ts:
|
|
233
|
+
producer: "src/index.ts:1595",
|
|
234
234
|
consumers: NO_CONSUMERS,
|
|
235
235
|
futureOwnerIssue: ISSUE_SINK,
|
|
236
236
|
retentionOwnerIssue: ISSUE_COST_RETENTION,
|
|
@@ -244,7 +244,7 @@ var CATALOG_SOURCE = [
|
|
|
244
244
|
category: "delegation",
|
|
245
245
|
severity: "notice",
|
|
246
246
|
privacyClass: "pseudonymous",
|
|
247
|
-
producer: "src/index.ts:
|
|
247
|
+
producer: "src/index.ts:1615",
|
|
248
248
|
consumers: CONSUMER_COST_JOIN,
|
|
249
249
|
retentionOwnerIssue: ISSUE_COST_RETENTION,
|
|
250
250
|
requiredWorkflowIds: REQUIRE_SESSION,
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
EvaluationRunV1Schema,
|
|
4
4
|
GateAuditResultV1Schema,
|
|
5
5
|
getProtectedEvaluationRunIds
|
|
6
|
-
} from "./index-
|
|
6
|
+
} from "./index-tqw8w2n5.js";
|
|
7
7
|
import {
|
|
8
8
|
validateWorkspaceRoot
|
|
9
9
|
} from "./index-cw912re7.js";
|
|
@@ -23,13 +23,13 @@ import {
|
|
|
23
23
|
readTaskEvidence,
|
|
24
24
|
readTaskEvidenceRaw,
|
|
25
25
|
sanitizeTaskId
|
|
26
|
-
} from "./index-
|
|
26
|
+
} from "./index-e6n7cemz.js";
|
|
27
27
|
import {
|
|
28
28
|
estimateCharsForTokens,
|
|
29
29
|
estimateTokens,
|
|
30
30
|
readSwarmFileAsync,
|
|
31
31
|
validateSwarmPath
|
|
32
|
-
} from "./index-
|
|
32
|
+
} from "./index-anxs69ad.js";
|
|
33
33
|
import {
|
|
34
34
|
bunHash,
|
|
35
35
|
bunWrite,
|
|
@@ -57,10 +57,10 @@ import {
|
|
|
57
57
|
replayFromLedgerWithStatus,
|
|
58
58
|
takeSnapshotEvent,
|
|
59
59
|
takeSnapshotWithRetry
|
|
60
|
-
} from "./index-
|
|
60
|
+
} from "./index-y1zhpfk8.js";
|
|
61
61
|
import {
|
|
62
62
|
appendCoreEventSync
|
|
63
|
-
} from "./index-
|
|
63
|
+
} from "./index-xwbn7c8m.js";
|
|
64
64
|
import {
|
|
65
65
|
derivePlanId,
|
|
66
66
|
derivePlanIdentityHash,
|
|
@@ -68,13 +68,13 @@ import {
|
|
|
68
68
|
importCoordinationOnce,
|
|
69
69
|
listCoordinationStates,
|
|
70
70
|
transitionCoordinationState
|
|
71
|
-
} from "./index-
|
|
71
|
+
} from "./index-e45htt92.js";
|
|
72
72
|
import {
|
|
73
73
|
DURABILITY_CLASSES,
|
|
74
74
|
getProjectDb,
|
|
75
75
|
projectDbExists,
|
|
76
76
|
withDurabilityClass
|
|
77
|
-
} from "./index-
|
|
77
|
+
} from "./index-w6988bbc.js";
|
|
78
78
|
import {
|
|
79
79
|
canonicalRootKeyFresh
|
|
80
80
|
} from "./index-7qefgq4j.js";
|
|
@@ -82,18 +82,18 @@ import {
|
|
|
82
82
|
assertProjectRoot,
|
|
83
83
|
tryAcquireLock,
|
|
84
84
|
withEvidenceLock
|
|
85
|
-
} from "./index-
|
|
85
|
+
} from "./index-jre6tm3v.js";
|
|
86
86
|
import {
|
|
87
87
|
atomicWriteSwarmFileSync,
|
|
88
88
|
invalidateCachedArtifact,
|
|
89
89
|
readCachedParsedFile
|
|
90
|
-
} from "./index-
|
|
90
|
+
} from "./index-gy0nyfbw.js";
|
|
91
91
|
import {
|
|
92
92
|
emit
|
|
93
|
-
} from "./index-
|
|
93
|
+
} from "./index-5ebgzb5a.js";
|
|
94
94
|
import {
|
|
95
95
|
PlanSchema
|
|
96
|
-
} from "./index-
|
|
96
|
+
} from "./index-zycp24b9.js";
|
|
97
97
|
import {
|
|
98
98
|
GIT_BINARY_ENV_VAR,
|
|
99
99
|
describeGitResolution,
|
|
@@ -5,25 +5,25 @@ import {
|
|
|
5
5
|
import {
|
|
6
6
|
effectiveRetrievalOutcomes,
|
|
7
7
|
readAuthoritativeKnowledgeCounterRollups
|
|
8
|
-
} from "./index-
|
|
8
|
+
} from "./index-gn6ybsc4.js";
|
|
9
9
|
import {
|
|
10
10
|
ALLOWED_SKILL_PATH_PREFIXES,
|
|
11
11
|
validateSkillPath
|
|
12
|
-
} from "./index-
|
|
12
|
+
} from "./index-2k53pfnc.js";
|
|
13
13
|
import {
|
|
14
14
|
computeOutcomeSignal,
|
|
15
15
|
readKnowledge,
|
|
16
16
|
resolveHiveKnowledgePath,
|
|
17
17
|
resolveSwarmKnowledgePath,
|
|
18
18
|
transactKnowledge
|
|
19
|
-
} from "./index-
|
|
19
|
+
} from "./index-c4ddtrqg.js";
|
|
20
20
|
import {
|
|
21
21
|
canonicalRootKeyFresh
|
|
22
22
|
} from "./index-7qefgq4j.js";
|
|
23
23
|
import {
|
|
24
24
|
atomicWriteFileAnyRoot,
|
|
25
25
|
atomicWriteSwarmFile
|
|
26
|
-
} from "./index-
|
|
26
|
+
} from "./index-gy0nyfbw.js";
|
|
27
27
|
import {
|
|
28
28
|
advisoryWarn,
|
|
29
29
|
init_warning_buffer
|
|
@@ -73,7 +73,7 @@ var BUNDLED_PROJECT_SKILLS = [
|
|
|
73
73
|
"swarm-pr-subscribe",
|
|
74
74
|
"swarm-ci-monitor",
|
|
75
75
|
"issue-ingest",
|
|
76
|
-
"plan",
|
|
76
|
+
"swarm-plan",
|
|
77
77
|
"critic-gate",
|
|
78
78
|
"execute",
|
|
79
79
|
"phase-wrap",
|
|
@@ -95,7 +95,10 @@ var BUNDLED_PROJECT_SKILLS = [
|
|
|
95
95
|
"orchestrating-subagents",
|
|
96
96
|
"durable-session-state"
|
|
97
97
|
];
|
|
98
|
-
var RETIRED_BUNDLED_PROJECT_SKILLS = [
|
|
98
|
+
var RETIRED_BUNDLED_PROJECT_SKILLS = [
|
|
99
|
+
"resume",
|
|
100
|
+
"plan"
|
|
101
|
+
];
|
|
99
102
|
var BUNDLED_PROJECT_SKILL_ROOT = ".swarm/bundled-skills";
|
|
100
103
|
function bundledProjectSkillFileReference(slug) {
|
|
101
104
|
return `file:${BUNDLED_PROJECT_SKILL_ROOT}/${slug}/SKILL.md`;
|
|
@@ -304,6 +307,27 @@ async function removeRetiredBundledSkillDirsAsync(skillsDir) {
|
|
|
304
307
|
continue;
|
|
305
308
|
throw err;
|
|
306
309
|
}
|
|
310
|
+
const backupTarget = `${target}.retired-backup`;
|
|
311
|
+
let backupExists = true;
|
|
312
|
+
try {
|
|
313
|
+
await fsp.lstat(backupTarget);
|
|
314
|
+
} catch {
|
|
315
|
+
backupExists = false;
|
|
316
|
+
}
|
|
317
|
+
if (!backupExists) {
|
|
318
|
+
try {
|
|
319
|
+
await fsp.rename(target, backupTarget);
|
|
320
|
+
log("preserved retired bundled skill as .retired-backup", {
|
|
321
|
+
slug
|
|
322
|
+
});
|
|
323
|
+
continue;
|
|
324
|
+
} catch (renameErr) {
|
|
325
|
+
log("could not preserve retired bundled skill (continuing to removal)", {
|
|
326
|
+
slug,
|
|
327
|
+
message: renameErr instanceof Error ? renameErr.message : String(renameErr)
|
|
328
|
+
});
|
|
329
|
+
}
|
|
330
|
+
}
|
|
307
331
|
await fsp.rm(target, { recursive: true, force: true });
|
|
308
332
|
log("removed retired bundled skill", { slug });
|
|
309
333
|
} catch (err) {
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
import {
|
|
3
3
|
derivePlanId,
|
|
4
4
|
derivePlanIdentityHash
|
|
5
|
-
} from "./index-
|
|
5
|
+
} from "./index-e45htt92.js";
|
|
6
6
|
import {
|
|
7
7
|
DURABILITY_CLASSES,
|
|
8
8
|
getProjectDb,
|
|
9
9
|
projectDbExists,
|
|
10
10
|
withImmediateTransaction
|
|
11
|
-
} from "./index-
|
|
11
|
+
} from "./index-w6988bbc.js";
|
|
12
12
|
import {
|
|
13
13
|
init_logger,
|
|
14
14
|
warn
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
} from "./index-6chhqq2n.js";
|
|
6
6
|
import {
|
|
7
7
|
removeWorktreeProvisioningOwner
|
|
8
|
-
} from "./index-
|
|
8
|
+
} from "./index-8bdk7124.js";
|
|
9
9
|
import {
|
|
10
10
|
SOURCE_WORKTREE_GONE_STAGE,
|
|
11
11
|
ensureTaskGateRequirementsReceiptForSettledTransition,
|
|
@@ -14,13 +14,13 @@ import {
|
|
|
14
14
|
reconcileLandedMerge,
|
|
15
15
|
withTaskEvidenceTransaction,
|
|
16
16
|
writeWorkflowWalFile
|
|
17
|
-
} from "./index-
|
|
17
|
+
} from "./index-e6n7cemz.js";
|
|
18
18
|
import {
|
|
19
19
|
validateSwarmPath
|
|
20
|
-
} from "./index-
|
|
20
|
+
} from "./index-anxs69ad.js";
|
|
21
21
|
import {
|
|
22
22
|
appendCoreEventSync
|
|
23
|
-
} from "./index-
|
|
23
|
+
} from "./index-xwbn7c8m.js";
|
|
24
24
|
import {
|
|
25
25
|
isPathWithinDeclaredScope
|
|
26
26
|
} from "./index-556ja8an.js";
|
|
@@ -29,7 +29,7 @@ import {
|
|
|
29
29
|
} from "./index-7qefgq4j.js";
|
|
30
30
|
import {
|
|
31
31
|
tryAcquireLock
|
|
32
|
-
} from "./index-
|
|
32
|
+
} from "./index-jre6tm3v.js";
|
|
33
33
|
import {
|
|
34
34
|
init_git_executable,
|
|
35
35
|
resolveGitExecutable
|
|
@@ -487,7 +487,7 @@ async function cleanupRecoveredWorktree(directory, descriptor) {
|
|
|
487
487
|
awaitingMergeByCallID,
|
|
488
488
|
cleanupStandardWorktreeForCallId,
|
|
489
489
|
standardWorktreeByCallID
|
|
490
|
-
} = await import("./worktree-isolation-
|
|
490
|
+
} = await import("./worktree-isolation-69hz9dgg.js");
|
|
491
491
|
standardWorktreeByCallID.delete(descriptor.callID);
|
|
492
492
|
if (hasResidue)
|
|
493
493
|
awaitingMergeByCallID.set(descriptor.callID, {
|
|
@@ -611,7 +611,7 @@ async function recoverCoderSettlement(directory, taskId) {
|
|
|
611
611
|
awaitingMergeByCallID,
|
|
612
612
|
finishStandardWorktreeDispatch,
|
|
613
613
|
standardWorktreeByCallID
|
|
614
|
-
} = await import("./worktree-isolation-
|
|
614
|
+
} = await import("./worktree-isolation-69hz9dgg.js");
|
|
615
615
|
const descriptor = wal.worktree;
|
|
616
616
|
const reconstructedDispatch = {
|
|
617
617
|
callID: descriptor.callID,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
validateSwarmPath
|
|
4
|
-
} from "./index-
|
|
4
|
+
} from "./index-anxs69ad.js";
|
|
5
5
|
import {
|
|
6
6
|
atomicWriteSwarmFileSync
|
|
7
|
-
} from "./index-
|
|
7
|
+
} from "./index-gy0nyfbw.js";
|
|
8
8
|
|
|
9
9
|
// src/hooks/delegation-gate/worktree-provisioning-owner.ts
|
|
10
10
|
import { createHash } from "crypto";
|
|
@@ -927,13 +927,13 @@ var init_tool_metadata = __esm(() => {
|
|
|
927
927
|
});
|
|
928
928
|
|
|
929
929
|
// src/config/constants.ts
|
|
930
|
-
function freezeSet(items) {
|
|
930
|
+
function freezeSet(items, name = "CLAUDE_CODE_NATIVE_COMMANDS") {
|
|
931
931
|
const set = new Set(items);
|
|
932
932
|
const proxy = new Proxy(set, {
|
|
933
933
|
get(target, prop) {
|
|
934
934
|
if (prop === "add" || prop === "delete" || prop === "clear") {
|
|
935
935
|
return () => {
|
|
936
|
-
throw new TypeError(
|
|
936
|
+
throw new TypeError(`${name} is readonly`);
|
|
937
937
|
};
|
|
938
938
|
}
|
|
939
939
|
if (prop === "forEach") {
|
|
@@ -946,16 +946,16 @@ function freezeSet(items) {
|
|
|
946
946
|
return typeof value === "function" ? value.bind(target) : value;
|
|
947
947
|
},
|
|
948
948
|
set() {
|
|
949
|
-
throw new TypeError(
|
|
949
|
+
throw new TypeError(`${name} is readonly`);
|
|
950
950
|
},
|
|
951
951
|
deleteProperty() {
|
|
952
|
-
throw new TypeError(
|
|
952
|
+
throw new TypeError(`${name} is readonly`);
|
|
953
953
|
},
|
|
954
954
|
defineProperty() {
|
|
955
|
-
throw new TypeError(
|
|
955
|
+
throw new TypeError(`${name} is readonly`);
|
|
956
956
|
},
|
|
957
957
|
setPrototypeOf() {
|
|
958
|
-
throw new TypeError(
|
|
958
|
+
throw new TypeError(`${name} is readonly`);
|
|
959
959
|
}
|
|
960
960
|
});
|
|
961
961
|
return proxy;
|
|
@@ -966,7 +966,7 @@ function isQAAgent(name) {
|
|
|
966
966
|
function isSubagent(name) {
|
|
967
967
|
return ALL_SUBAGENT_NAMES.includes(name);
|
|
968
968
|
}
|
|
969
|
-
var OPENCODE_NATIVE_AGENTS, CLAUDE_CODE_NATIVE_COMMANDS, EXTERNAL_SKILL_TOOL_NAMES, EXTERNAL_SKILL_AGENT_TOOL_MAP, COUNCIL_TOOL_NAMES, COUNCIL_AGENT_TOOL_MAP, GENERAL_COUNCIL_TOOL_NAMES, GENERAL_COUNCIL_AGENT_TOOL_MAP, TURBO_TOOL_NAMES, TURBO_AGENT_TOOL_MAP, SKILL_TOOL_NAMES, SKILL_AGENT_TOOL_MAP, PR_REVIEW_CHILD_TOOL_NAMES, PR_REVIEW_CHILD_AGENT_TOOL_MAP, WRITE_TOOL_NAMES, SUMMARIZER_EXEMPT_TOOL_NAMES, DEFAULT_MODELS, DEFAULT_AGENT_CONFIGS, SWARM_WORKTREE_DIR_NAME = ".swarm-worktrees", DEFAULT_WORKTREE_ISOLATION_CONFIG;
|
|
969
|
+
var OPENCODE_NATIVE_AGENTS, CLAUDE_CODE_NATIVE_COMMANDS, OPENCODE_NATIVE_COMMANDS, EXTERNAL_SKILL_TOOL_NAMES, EXTERNAL_SKILL_AGENT_TOOL_MAP, COUNCIL_TOOL_NAMES, COUNCIL_AGENT_TOOL_MAP, GENERAL_COUNCIL_TOOL_NAMES, GENERAL_COUNCIL_AGENT_TOOL_MAP, TURBO_TOOL_NAMES, TURBO_AGENT_TOOL_MAP, SKILL_TOOL_NAMES, SKILL_AGENT_TOOL_MAP, PR_REVIEW_CHILD_TOOL_NAMES, PR_REVIEW_CHILD_AGENT_TOOL_MAP, WRITE_TOOL_NAMES, SUMMARIZER_EXEMPT_TOOL_NAMES, DEFAULT_MODELS, DEFAULT_AGENT_CONFIGS, SWARM_WORKTREE_DIR_NAME = ".swarm-worktrees", DEFAULT_WORKTREE_ISOLATION_CONFIG;
|
|
970
970
|
var init_constants = __esm(() => {
|
|
971
971
|
init_agent_names();
|
|
972
972
|
init_tool_metadata();
|
|
@@ -1088,6 +1088,28 @@ var init_constants = __esm(() => {
|
|
|
1088
1088
|
"team-onboarding",
|
|
1089
1089
|
"bashes"
|
|
1090
1090
|
]);
|
|
1091
|
+
OPENCODE_NATIVE_COMMANDS = freezeSet([
|
|
1092
|
+
"plan",
|
|
1093
|
+
"new",
|
|
1094
|
+
"share",
|
|
1095
|
+
"clear",
|
|
1096
|
+
"undo",
|
|
1097
|
+
"redo",
|
|
1098
|
+
"compact",
|
|
1099
|
+
"export",
|
|
1100
|
+
"help",
|
|
1101
|
+
"exit",
|
|
1102
|
+
"models",
|
|
1103
|
+
"themes",
|
|
1104
|
+
"edit",
|
|
1105
|
+
"resume",
|
|
1106
|
+
"copy",
|
|
1107
|
+
"log",
|
|
1108
|
+
"messages",
|
|
1109
|
+
"summary",
|
|
1110
|
+
"tree",
|
|
1111
|
+
"session"
|
|
1112
|
+
], "OPENCODE_NATIVE_COMMANDS");
|
|
1091
1113
|
EXTERNAL_SKILL_TOOL_NAMES = [
|
|
1092
1114
|
"external_skill_discover",
|
|
1093
1115
|
"external_skill_list",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
validateSwarmPath
|
|
4
|
-
} from "./index-
|
|
4
|
+
} from "./index-anxs69ad.js";
|
|
5
5
|
import {
|
|
6
6
|
bunWrite
|
|
7
7
|
} from "./index-p612v1mv.js";
|
|
@@ -18,14 +18,14 @@ import {
|
|
|
18
18
|
releaseCoordinationLease,
|
|
19
19
|
transitionCoordinationState,
|
|
20
20
|
withCoordinationTransaction
|
|
21
|
-
} from "./index-
|
|
21
|
+
} from "./index-e45htt92.js";
|
|
22
22
|
import {
|
|
23
23
|
getProjectDb,
|
|
24
24
|
projectDbExists
|
|
25
|
-
} from "./index-
|
|
25
|
+
} from "./index-w6988bbc.js";
|
|
26
26
|
import {
|
|
27
27
|
observeDelegationLedgerPressure
|
|
28
|
-
} from "./index-
|
|
28
|
+
} from "./index-j2svfhzk.js";
|
|
29
29
|
import {
|
|
30
30
|
canonicalRootKeyFresh,
|
|
31
31
|
sameProjectRoot
|
|
@@ -33,7 +33,7 @@ import {
|
|
|
33
33
|
import {
|
|
34
34
|
EvidenceLockTimeoutError,
|
|
35
35
|
withEvidenceLock
|
|
36
|
-
} from "./index-
|
|
36
|
+
} from "./index-jre6tm3v.js";
|
|
37
37
|
import {
|
|
38
38
|
exports_external,
|
|
39
39
|
init_zod
|
|
@@ -4517,7 +4517,7 @@ async function reconcileLegacyCoderSettlements(directory, maxRecords, onReconcil
|
|
|
4517
4517
|
const candidates = readDelegations(directory).filter((record) => record.normalizedAgent === "coder" && Boolean(record.legacyCoderSettlementTransfer) && Boolean(record.terminalResult)).slice(0, maxRecords);
|
|
4518
4518
|
if (candidates.length === 0)
|
|
4519
4519
|
return 0;
|
|
4520
|
-
const { transferCoderSettlementToBackground } = await import("./coder-settlement-
|
|
4520
|
+
const { transferCoderSettlementToBackground } = await import("./coder-settlement-89nt4j7g.js");
|
|
4521
4521
|
let transferred = 0;
|
|
4522
4522
|
for (const record of candidates) {
|
|
4523
4523
|
try {
|