opencode-swarm 7.186.8 → 7.187.1
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/binaries/win32-arm64/swarm-sandbox-runner.exe +0 -0
- package/binaries/win32-x64/swarm-sandbox-runner.exe +0 -0
- package/dist/agents/architect.d.ts +1 -1
- package/dist/background/pr-review-contract.d.ts +2 -2
- package/dist/cli/{auto-checkpoint-hw4rttv4.js → auto-checkpoint-fcp7srhd.js} +10 -11
- package/dist/cli/{checkpoint-fdkh943k.js → checkpoint-69m1xg5q.js} +19 -19
- package/dist/cli/{coder-settlement-91r5s8ar.js → coder-settlement-adx7vsa9.js} +14 -15
- package/dist/cli/{config-doctor-nzds5xzf.js → config-doctor-eaqk3erw.js} +35 -4
- package/dist/cli/{core-w0gq7vwa.js → core-fb33hf6w.js} +5 -6
- package/dist/cli/{curation-policy-kw6x1cba.js → curation-policy-sr29thf5.js} +7 -8
- package/dist/cli/{curator-gkrn8wz3.js → curator-5xcy10z7.js} +46 -45
- package/dist/cli/{curator-drift-svnc70x4.js → curator-drift-kz0s2dk3.js} +10 -11
- package/dist/cli/curator-llm-factory-pc17p6kq.js +82 -0
- package/dist/cli/{dispatch-0ejzwb45.js → dispatch-qvcztbpf.js} +222 -48
- package/dist/cli/doctor-knowledge-receipt-phase-id-dwtppe04.js +83 -0
- package/dist/cli/{evidence-summary-service-a2tx8tbn.js → evidence-summary-service-1k2syb6b.js} +22 -22
- package/dist/cli/{gate-evidence-28bys0r0.js → gate-evidence-4vvj9bhj.js} +9 -10
- package/dist/cli/guardrail-explain-rxsda43z.js +83 -0
- package/dist/cli/guardrail-log-1619tcny.js +22 -0
- package/dist/cli/{guardrail-reset-w5kpwfxb.js → guardrail-reset-72zryht1.js} +46 -45
- package/dist/cli/hive-promoter-yc3xvvq8.js +97 -0
- package/dist/cli/{index-qc1x5vvb.js → index-0cpa8rnc.js} +2726 -2700
- package/dist/cli/{index-c5x4yzt6.js → index-1hg62y01.js} +8 -6
- package/dist/cli/{index-k55ep5se.js → index-26zs9wsj.js} +2 -2
- package/dist/cli/{index-whk4027k.js → index-2jxyzerw.js} +4 -4
- package/dist/cli/{index-t6na8zpb.js → index-319qcbg7.js} +4 -4
- package/dist/cli/{index-ha4r51k4.js → index-36y60mjx.js} +28 -11
- package/dist/cli/{index-0qpa53jg.js → index-3y0nr248.js} +8 -8
- package/dist/cli/{index-b9zqye89.js → index-4pbp654j.js} +46 -45
- package/dist/cli/{index-227te5a7.js → index-6t7ygevg.js} +2 -2
- package/dist/cli/{index-tw513bvn.js → index-868tmqy5.js} +8 -8
- package/dist/cli/{index-0k283qtq.js → index-9hag235h.js} +2 -2
- package/dist/cli/{index-sjwpvte3.js → index-a8gvszr2.js} +2 -2
- package/dist/cli/{index-znc71e1c.js → index-bejxkee0.js} +2 -2
- package/dist/cli/{index-03z05sbb.js → index-bstjg81q.js} +3 -3
- package/dist/cli/{index-agm6hegf.js → index-c44vm8tc.js} +4 -4
- package/dist/cli/{index-n1szkmbz.js → index-cc1vzq4m.js} +1 -1
- package/dist/cli/{index-xdjwefa5.js → index-dx6bhbd6.js} +2 -2
- package/dist/cli/{index-zcpd36zm.js → index-e9ry78z5.js} +2 -2
- package/dist/cli/index-f1dxxa1n.js +748 -0
- package/dist/cli/{index-0ghn241n.js → index-fgbm0x7d.js} +1 -1
- package/dist/cli/{index-mc72pk74.js → index-fzpt2djt.js} +32 -1
- package/dist/cli/{index-d21545hp.js → index-gathbynn.js} +48 -47
- package/dist/cli/{index-q8dj8b88.js → index-hjdeawyp.js} +2 -2
- package/dist/cli/{index-mr86ywsj.js → index-jyxgkp4a.js} +1 -1
- package/dist/cli/{index-e6tjg7t9.js → index-kaf9mtpc.js} +319 -768
- package/dist/cli/{index-extgtmxm.js → index-m1qy7f1e.js} +1 -1
- package/dist/cli/{index-n5ekzhad.js → index-m2xfxk4e.js} +5 -5
- package/dist/cli/index-m9zzj4ee.js +10 -0
- package/dist/cli/{index-84wt7q5y.js → index-mf19yqss.js} +3 -3
- package/dist/cli/{index-7ae4sgp4.js → index-my8wgyqg.js} +5 -5
- package/dist/cli/{index-gsqmefdg.js → index-n45kz69m.js} +2 -2
- package/dist/cli/{index-x5mkva6s.js → index-n55exns2.js} +1 -1
- package/dist/cli/{index-7pstt3w2.js → index-n8kqhxay.js} +1 -1
- package/dist/cli/{index-c12cz80m.js → index-p9xke6h7.js} +2 -2
- package/dist/cli/{index-4y6pndcf.js → index-prqjveey.js} +4 -4
- package/dist/cli/{index-2nbws8bd.js → index-qmmzyymt.js} +5 -5
- package/dist/cli/{index-cvwkjnr5.js → index-r37b4crx.js} +1 -1
- package/dist/cli/{index-e4hy4des.js → index-r6e8syr3.js} +1 -1
- package/dist/cli/{index-mtb763x4.js → index-r7d49haj.js} +1 -1
- package/dist/cli/{index-prksynjw.js → index-rcmgbtxf.js} +3 -3
- package/dist/cli/{index-xgsy3hzf.js → index-rs23yv3h.js} +16 -21
- package/dist/cli/{index-dbwpcjhw.js → index-t0xcsrsf.js} +8 -8
- package/dist/cli/{index-e47fhj4k.js → index-thx02zpn.js} +5 -5
- package/dist/cli/{index-gapyat7s.js → index-tv84mkce.js} +2 -2
- package/dist/cli/{index-5dgg9vhz.js → index-v51qveq8.js} +565 -76
- package/dist/cli/{index-06pcq86m.js → index-v9y0230d.js} +3 -3
- package/dist/cli/{index-7bxssqaf.js → index-vx8a8w3b.js} +142 -2
- package/dist/cli/{index-kg4yp11g.js → index-wy6wzwb3.js} +4 -4
- package/dist/cli/{index-pntrhnj8.js → index-ywwreanf.js} +7 -7
- package/dist/cli/{index-144jx1jn.js → index-z4c6bfd5.js} +5 -5
- package/dist/cli/{index-616pp1nq.js → index-zftyb94k.js} +3 -3
- package/dist/cli/index.js +47 -46
- package/dist/cli/{knowledge-escalator-0dj3bvh2.js → knowledge-escalator-q60ghp3z.js} +17 -16
- package/dist/cli/{knowledge-events-zwhb8jnb.js → knowledge-events-hadasxqm.js} +15 -14
- package/dist/cli/{knowledge-link-pmbyqe3b.js → knowledge-link-93nzznwd.js} +6 -7
- package/dist/cli/{knowledge-store-67n0qbhg.js → knowledge-store-y7vvwa7p.js} +7 -8
- package/dist/cli/{knowledge-validator-b58w129y.js → knowledge-validator-3tqat3wm.js} +9 -10
- package/dist/cli/{mcp-ayc74bm2.js → mcp-ek3wf04s.js} +1 -1
- package/dist/cli/{model-preflight-nvjb3bv5.js → model-preflight-gzcmdvs7.js} +46 -45
- package/dist/cli/{pending-delegations-yvh7b951.js → pending-delegations-54k1mysp.js} +13 -14
- package/dist/cli/{pr-subscriptions-pkj5mmra.js → pr-subscriptions-sx9ch5ra.js} +13 -14
- package/dist/cli/{pr-workflow-gate-zg6tg3c0.js → pr-workflow-gate-yehzpb9x.js} +46 -45
- package/dist/cli/{runner-jev9vea3.js → runner-verr6er5.js} +7 -8
- package/dist/cli/{scan-cursor-8nkt0n1b.js → scan-cursor-0ws87fe6.js} +8 -9
- package/dist/cli/{schema-ahy4ps8z.js → schema-hns0x91t.js} +2 -2
- package/dist/cli/{scope-persistence-h8b2hcy9.js → scope-persistence-ct6etvdy.js} +17 -18
- package/dist/cli/{server-14wr2fz2.js → server-hh4vy28k.js} +47 -47
- package/dist/cli/{skill-generator-2pk8fvfz.js → skill-generator-9fy1nmhb.js} +19 -18
- package/dist/cli/{snapshot-coordination-init-keeqdwph.js → snapshot-coordination-init-xjdy80bq.js} +46 -45
- package/dist/cli/{speckit-checkoff-yf09ctgv.js → speckit-checkoff-06104jte.js} +5 -5
- package/dist/cli/{telemetry-rb8hrvbx.js → telemetry-xwj899pd.js} +2 -3
- package/dist/cli/{workspace-snapshot-28p0ekng.js → workspace-snapshot-y60ay5eq.js} +4 -5
- package/dist/cli/{worktree-collision-ownership-7ctmpqx6.js → worktree-collision-ownership-3jefgmkc.js} +14 -15
- package/dist/cli/{worktree-isolation-2c1hvct4.js → worktree-isolation-76wbgtpk.js} +46 -45
- package/dist/commands/doctor-knowledge-receipt-phase-id.d.ts +16 -0
- package/dist/commands/registry.d.ts +4 -4
- package/dist/commands/reset-backup.d.ts +20 -5
- package/dist/commands/rollback-gate.d.ts +73 -0
- package/dist/hooks/extractors.d.ts +15 -0
- package/dist/hooks/knowledge-injector.d.ts +5 -0
- package/dist/hooks/knowledge-receipt-ledger.d.ts +50 -4
- package/dist/hooks/knowledge-receipt-observability.d.ts +1 -1
- package/dist/hooks/phase-complete-directive-gate.d.ts +18 -1
- package/dist/hooks/phase-directives.d.ts +7 -3
- package/dist/index.js +655 -631
- package/dist/lang/backends/java.d.ts +76 -0
- package/dist/lang/java-extraction.d.ts +88 -0
- package/dist/services/config-doctor.d.ts +19 -1
- package/dist/services/preflight-integration.d.ts +8 -1
- package/dist/state.d.ts +13 -0
- package/dist/tools/phase-complete.d.ts +2 -2
- package/dist/tools/repair-knowledge-receipt-ledger.d.ts +26 -0
- package/dist/tools/symbols.d.ts +18 -0
- package/opencode-swarm.schema.json +1 -1
- package/package.json +1 -1
- package/dist/cli/curator-llm-factory-j51cttb2.js +0 -81
- package/dist/cli/guardrail-explain-qjyz300y.js +0 -82
- package/dist/cli/guardrail-log-rw25bt8g.js +0 -23
- package/dist/cli/hive-promoter-qzz0veev.js +0 -96
- package/dist/cli/index-c1ggtmpm.js +0 -33
|
@@ -1,4 +1,11 @@
|
|
|
1
1
|
// @bun
|
|
2
|
+
import {
|
|
3
|
+
init_merge
|
|
4
|
+
} from "./index-zpsr8rpc.js";
|
|
5
|
+
import {
|
|
6
|
+
init_logger
|
|
7
|
+
} from "./index-zgwm4ryv.js";
|
|
8
|
+
|
|
2
9
|
// src/utils/canonical-root.ts
|
|
3
10
|
import * as fsSync from "fs";
|
|
4
11
|
import * as path from "path";
|
|
@@ -78,4 +85,28 @@ function sessionKeySuffix(sessionId) {
|
|
|
78
85
|
return `${SESSION_KEY_SEPARATOR}${sessionId}`;
|
|
79
86
|
}
|
|
80
87
|
|
|
81
|
-
|
|
88
|
+
// src/utils/errors.ts
|
|
89
|
+
class SwarmError extends Error {
|
|
90
|
+
code;
|
|
91
|
+
guidance;
|
|
92
|
+
constructor(message, code, guidance) {
|
|
93
|
+
super(message);
|
|
94
|
+
this.name = "SwarmError";
|
|
95
|
+
this.code = code;
|
|
96
|
+
this.guidance = guidance;
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
// src/utils/index.ts
|
|
101
|
+
init_logger();
|
|
102
|
+
init_merge();
|
|
103
|
+
|
|
104
|
+
// src/utils/regex.ts
|
|
105
|
+
function escapeRegex(s) {
|
|
106
|
+
return s.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
|
|
107
|
+
}
|
|
108
|
+
function simpleGlobToRegex(pattern, flags = "i") {
|
|
109
|
+
const escaped = pattern.split("*").map((starSegment) => starSegment.split("?").map(escapeRegex).join(".")).join(".*");
|
|
110
|
+
return new RegExp(`^${escaped}$`, flags);
|
|
111
|
+
}
|
|
112
|
+
export { SESSION_KEY_SEPARATOR, _internals, lexicalRootAliasKey, canonicalRootKeyLexical, canonicalRootKeyFreshAsync, canonicalRootKey, canonicalRootKeyFresh, sameProjectRoot, compositeSessionKey, sessionKeySuffix, SwarmError, escapeRegex, simpleGlobToRegex };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
handleGuardrailExplain
|
|
4
|
-
} from "./index-
|
|
4
|
+
} from "./index-tv84mkce.js";
|
|
5
5
|
import {
|
|
6
6
|
handleGuardrailLog
|
|
7
|
-
} from "./index-
|
|
7
|
+
} from "./index-fgbm0x7d.js";
|
|
8
8
|
import {
|
|
9
9
|
COMMAND_REGISTRY,
|
|
10
10
|
DEFAULT_CI_DEADLINE_MS,
|
|
@@ -97,81 +97,82 @@ import {
|
|
|
97
97
|
handleWriteRetroCommand,
|
|
98
98
|
normalizeSwarmCommandInput,
|
|
99
99
|
resolveCommand
|
|
100
|
-
} from "./index-
|
|
101
|
-
import"./index-
|
|
102
|
-
import"./index-
|
|
103
|
-
import"./index-
|
|
104
|
-
import"./index-
|
|
105
|
-
import"./index-
|
|
106
|
-
import"./index-
|
|
100
|
+
} from "./index-0cpa8rnc.js";
|
|
101
|
+
import"./index-wy6wzwb3.js";
|
|
102
|
+
import"./index-36y60mjx.js";
|
|
103
|
+
import"./index-m2xfxk4e.js";
|
|
104
|
+
import"./index-vx8a8w3b.js";
|
|
105
|
+
import"./index-n55exns2.js";
|
|
106
|
+
import"./index-26zs9wsj.js";
|
|
107
107
|
import"./index-txdagbh7.js";
|
|
108
|
-
import"./index-
|
|
108
|
+
import"./index-hjdeawyp.js";
|
|
109
109
|
import"./index-rdec0y3z.js";
|
|
110
|
-
import"./index-
|
|
111
|
-
import"./index-
|
|
112
|
-
import"./index-
|
|
113
|
-
import"./index-
|
|
114
|
-
import"./index-
|
|
115
|
-
import"./index-
|
|
110
|
+
import"./index-319qcbg7.js";
|
|
111
|
+
import"./index-t0xcsrsf.js";
|
|
112
|
+
import"./index-thx02zpn.js";
|
|
113
|
+
import"./index-1hg62y01.js";
|
|
114
|
+
import"./index-mf19yqss.js";
|
|
115
|
+
import"./index-3y0nr248.js";
|
|
116
116
|
import"./index-cjapb4hy.js";
|
|
117
|
-
import"./index-
|
|
117
|
+
import"./index-a8gvszr2.js";
|
|
118
118
|
import"./index-pt7h91zc.js";
|
|
119
119
|
import"./index-q7sjgr1y.js";
|
|
120
|
-
import"./index-
|
|
121
|
-
import"./index-
|
|
120
|
+
import"./index-v51qveq8.js";
|
|
121
|
+
import"./index-rs23yv3h.js";
|
|
122
122
|
import"./index-6b295cas.js";
|
|
123
123
|
import"./index-9nyqt3kb.js";
|
|
124
|
-
import"./index-
|
|
124
|
+
import"./index-r7d49haj.js";
|
|
125
125
|
import"./index-zsrtt42s.js";
|
|
126
|
-
import"./index-
|
|
127
|
-
import"./index-
|
|
128
|
-
import"./index-
|
|
126
|
+
import"./index-p9xke6h7.js";
|
|
127
|
+
import"./index-prqjveey.js";
|
|
128
|
+
import"./index-z4c6bfd5.js";
|
|
129
129
|
import"./index-g4fs6z4e.js";
|
|
130
|
-
import"./index-
|
|
131
|
-
import"./index-
|
|
132
|
-
import"./index-
|
|
130
|
+
import"./index-868tmqy5.js";
|
|
131
|
+
import"./index-f1dxxa1n.js";
|
|
132
|
+
import"./index-kaf9mtpc.js";
|
|
133
|
+
import"./index-m9zzj4ee.js";
|
|
134
|
+
import"./index-bejxkee0.js";
|
|
133
135
|
import"./index-2s7dvzff.js";
|
|
134
|
-
import"./index-
|
|
135
|
-
import"./index-
|
|
136
|
+
import"./index-c44vm8tc.js";
|
|
137
|
+
import"./index-n8kqhxay.js";
|
|
136
138
|
import"./index-rtry5xyf.js";
|
|
137
|
-
import"./index-
|
|
139
|
+
import"./index-rcmgbtxf.js";
|
|
138
140
|
import"./index-kbkk7vnh.js";
|
|
139
141
|
import"./index-0725jpp7.js";
|
|
140
|
-
import"./index-
|
|
141
|
-
import"./index-
|
|
142
|
-
import"./index-
|
|
143
|
-
import"./index-
|
|
144
|
-
import"./index-
|
|
145
|
-
import"./index-
|
|
142
|
+
import"./index-my8wgyqg.js";
|
|
143
|
+
import"./index-qmmzyymt.js";
|
|
144
|
+
import"./index-e9ry78z5.js";
|
|
145
|
+
import"./index-m1qy7f1e.js";
|
|
146
|
+
import"./index-cc1vzq4m.js";
|
|
147
|
+
import"./index-9hag235h.js";
|
|
146
148
|
import"./index-ry16d01s.js";
|
|
147
149
|
import"./index-rdm3px0g.js";
|
|
148
150
|
import"./index-7pmbnjvj.js";
|
|
149
|
-
import"./index-
|
|
150
|
-
import"./index-
|
|
151
|
+
import"./index-v9y0230d.js";
|
|
152
|
+
import"./index-ywwreanf.js";
|
|
151
153
|
import"./index-vzm6zre7.js";
|
|
152
154
|
import"./index-ae75rja9.js";
|
|
153
|
-
import"./index-
|
|
154
|
-
import"./index-
|
|
155
|
-
import"./index-
|
|
155
|
+
import"./index-n45kz69m.js";
|
|
156
|
+
import"./index-6t7ygevg.js";
|
|
157
|
+
import"./index-jyxgkp4a.js";
|
|
156
158
|
import"./index-t7hmqgjy.js";
|
|
157
|
-
import"./index-
|
|
158
|
-
import"./index-
|
|
159
|
-
import"./index-c1ggtmpm.js";
|
|
159
|
+
import"./index-dx6bhbd6.js";
|
|
160
|
+
import"./index-fzpt2djt.js";
|
|
160
161
|
import"./index-ejhxgyvm.js";
|
|
161
162
|
import"./index-7g4c7s5r.js";
|
|
162
|
-
import"./index-
|
|
163
|
+
import"./index-r6e8syr3.js";
|
|
163
164
|
import"./index-gx2vp8gx.js";
|
|
164
|
-
import"./index-
|
|
165
|
+
import"./index-r37b4crx.js";
|
|
165
166
|
import"./index-zxdawwc7.js";
|
|
166
167
|
import {
|
|
167
168
|
init_schema,
|
|
168
169
|
stripKnownSwarmPrefix
|
|
169
|
-
} from "./index-
|
|
170
|
+
} from "./index-zftyb94k.js";
|
|
170
171
|
import {
|
|
171
172
|
AGENT_TOOL_MAP,
|
|
172
173
|
ORCHESTRATOR_NAME,
|
|
173
174
|
init_constants
|
|
174
|
-
} from "./index-
|
|
175
|
+
} from "./index-bstjg81q.js";
|
|
175
176
|
import"./index-bk5tah7q.js";
|
|
176
177
|
import"./index-gknz3bv1.js";
|
|
177
178
|
import"./index-zpsr8rpc.js";
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
import {
|
|
3
3
|
readKnowledge,
|
|
4
4
|
transactKnowledge
|
|
5
|
-
} from "./index-
|
|
5
|
+
} from "./index-ywwreanf.js";
|
|
6
6
|
import {
|
|
7
7
|
resolveKnowledgeStoreDir
|
|
8
|
-
} from "./index-
|
|
8
|
+
} from "./index-n45kz69m.js";
|
|
9
9
|
import {
|
|
10
10
|
init_git_executable,
|
|
11
11
|
resolveGitExecutableAsync
|