opencode-swarm 7.184.11 → 7.184.12
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/background/delegation-lifecycle.d.ts +6 -2
- package/dist/background/pending-delegations.d.ts +23 -1
- package/dist/cli/auto-checkpoint-7y3x5cv2.js +183 -0
- package/dist/cli/checkpoint-j39f718z.js +51 -0
- package/dist/cli/{coder-settlement-6mhw6b36.js → coder-settlement-12ytzqvs.js} +13 -11
- package/dist/cli/{config-doctor-tbaswv40.js → config-doctor-vphp4shw.js} +2 -2
- package/dist/cli/{core-4389fcpc.js → core-5a1awn37.js} +3 -3
- package/dist/cli/{curation-policy-xe77n9zj.js → curation-policy-1rzheh1x.js} +6 -5
- package/dist/cli/{curator-drift-nnge4dkk.js → curator-drift-ex0qxt9p.js} +9 -9
- package/dist/cli/curator-llm-factory-ktkat73z.js +81 -0
- package/dist/cli/{curator-asqb0cm7.js → curator-x2hxjdac.js} +48 -42
- package/dist/cli/{dispatch-cv89p2y1.js → dispatch-0ejzwb45.js} +2 -1
- package/dist/cli/{evidence-summary-service-cdrwfdyp.js → evidence-summary-service-pfksvp16.js} +24 -19
- package/dist/cli/{gate-evidence-xbn83jeh.js → gate-evidence-8n8kb8tb.js} +8 -6
- package/dist/cli/guardrail-explain-px94swcz.js +82 -0
- package/dist/cli/{guardrail-log-b6ef00v7.js → guardrail-log-xevw9xht.js} +7 -7
- package/dist/cli/{guardrail-reset-77r7jfn2.js → guardrail-reset-18wvqbga.js} +48 -42
- package/dist/cli/hive-promoter-5r35f3ap.js +96 -0
- package/dist/cli/{index-7kmxy1rb.js → index-27wzbb3n.js} +4 -4
- package/dist/cli/{index-kaay5kmx.js → index-2cbt4b7t.js} +2 -2
- package/dist/cli/{index-w0jbrttk.js → index-2p1an48j.js} +3 -3
- package/dist/cli/index-2y9b45jj.js +24 -0
- package/dist/cli/index-34ysgky0.js +954 -0
- package/dist/cli/{index-ejpxkrp6.js → index-39ng38sp.js} +1 -1
- package/dist/cli/{index-hk0eh9qb.js → index-4g4sr4ah.js} +1 -1
- package/dist/cli/{index-cn67bp4y.js → index-53fy0aq2.js} +52 -46
- package/dist/cli/{index-5cawm255.js → index-5w404j07.js} +8 -6
- package/dist/cli/index-5y1qxw0x.js +963 -0
- package/dist/cli/{index-35cdceqf.js → index-6cjpmvpa.js} +2 -20
- package/dist/cli/{index-jhk62dp4.js → index-74e43s33.js} +4 -4
- package/dist/cli/index-7bxssqaf.js +2676 -0
- package/dist/cli/index-7pmbnjvj.js +11 -0
- package/dist/cli/{index-j4efx148.js → index-7r3pkgma.js} +5 -5
- package/dist/cli/{index-kg2mb1m5.js → index-7rzgdcvc.js} +2 -2
- package/dist/cli/{index-hamqvzqn.js → index-9nyqt3kb.js} +10 -2682
- package/dist/cli/{index-6z53ry5f.js → index-a53f5t61.js} +2 -2
- package/dist/cli/{index-e0rrj9kk.js → index-azyhws0s.js} +9 -9
- package/dist/cli/{index-0mj7hc2z.js → index-bntwj2tp.js} +5 -5
- package/dist/cli/{index-aae38s4x.js → index-cftva3pa.js} +2 -11
- package/dist/cli/{index-c0dahh34.js → index-cvam011t.js} +1 -1
- package/dist/cli/{index-gqj1k2y6.js → index-d42kjvwy.js} +2 -2
- package/dist/cli/{index-gnryhmak.js → index-dftztz4y.js} +1 -1
- package/dist/cli/{index-zz5rryxj.js → index-dze05t9h.js} +7 -7
- package/dist/cli/{index-tamg9rve.js → index-eqfmabtd.js} +2 -2
- package/dist/cli/{index-hwjr3xyg.js → index-fbp7dqfe.js} +10 -38
- package/dist/cli/{index-0ajyhjht.js → index-fxf3zhtq.js} +1 -1
- package/dist/cli/index-g4fs6z4e.js +37 -0
- package/dist/cli/{index-9xfxsx8y.js → index-hfs97j0c.js} +1 -1
- package/dist/cli/{index-nh5fxxc9.js → index-jtg0zsnx.js} +4 -2
- package/dist/cli/{index-pbwfwc0v.js → index-kcbkce43.js} +48 -42
- package/dist/cli/{index-07fqfseh.js → index-m1pqenq9.js} +2 -2
- package/dist/cli/{index-be5h97z8.js → index-mfqge140.js} +1 -1
- package/dist/cli/{index-3w96sd7p.js → index-n572fdtf.js} +2969 -3838
- package/dist/cli/{index-5m1b70z3.js → index-pwcbtbhd.js} +4 -4
- package/dist/cli/{index-xpcvwzdq.js → index-rbvndg2d.js} +3 -3
- package/dist/cli/{index-8gs8qkjs.js → index-ryafwy2b.js} +1 -1
- package/dist/cli/{index-vx0wjfc1.js → index-s7rap90y.js} +7 -7
- package/dist/cli/{index-q7q00ppx.js → index-tyzmjw2s.js} +7 -7
- package/dist/cli/{index-7k4ksbqd.js → index-vk49btd6.js} +1 -1
- package/dist/cli/{index-89nqyqxs.js → index-w33zgxn6.js} +3 -3
- package/dist/cli/{index-x1gyqgze.js → index-w6w6ny06.js} +2 -2
- package/dist/cli/{index-ygdj73xq.js → index-x0jybm74.js} +3 -3
- package/dist/cli/{index-xw8xdcrf.js → index-ymhs7hng.js} +5 -5
- package/dist/cli/{index-645ckyxy.js → index-yvmvsej2.js} +55 -971
- package/dist/cli/{index-x119gdak.js → index-yx5z4200.js} +2 -2
- package/dist/cli/{index-dqpq8m9w.js → index-yydv4jfy.js} +2 -2
- package/dist/cli/{index-5njp971j.js → index-zmtpnyff.js} +8 -8
- package/dist/cli/{index-908zxswj.js → index-zzebc1td.js} +44 -16
- package/dist/cli/index.js +49 -43
- package/dist/cli/{knowledge-escalator-8cc6jcw0.js → knowledge-escalator-z5qb6y6s.js} +13 -12
- package/dist/cli/{knowledge-events-b5g6ky4h.js → knowledge-events-gv173j4d.js} +11 -10
- package/dist/cli/{knowledge-link-8tetyje0.js → knowledge-link-vvyfhhmr.js} +5 -4
- package/dist/cli/{knowledge-store-1w60j5xm.js → knowledge-store-g4sjhep5.js} +6 -5
- package/dist/cli/{knowledge-validator-sd88rjcy.js → knowledge-validator-8whkrsrb.js} +8 -7
- package/dist/cli/{mcp-3052r65q.js → mcp-x25b3q1g.js} +1 -1
- package/dist/cli/{model-preflight-m0nwfsx8.js → model-preflight-b21njmda.js} +48 -42
- package/dist/cli/{pending-delegations-5nx22evh.js → pending-delegations-f6rmrqzn.js} +16 -12
- package/dist/cli/{pr-subscriptions-kas44ty9.js → pr-subscriptions-nmbme4kp.js} +14 -12
- package/dist/cli/{pr-workflow-gate-pmggnw1j.js → pr-workflow-gate-mtzfsmkg.js} +48 -42
- package/dist/cli/{runner-ff0bj9w0.js → runner-cwmgb9rw.js} +6 -5
- package/dist/cli/{scan-cursor-yw12hvtc.js → scan-cursor-gmpjsr3a.js} +7 -6
- package/dist/cli/{schema-1g1y1d5q.js → schema-rvxnxp4n.js} +1 -1
- package/dist/cli/{scope-persistence-de472fxy.js → scope-persistence-fqenprq7.js} +17 -15
- package/dist/cli/{server-1n00bga4.js → server-ws1my2dz.js} +62 -54
- package/dist/cli/{skill-generator-c5wbbjqx.js → skill-generator-pt1epeer.js} +15 -14
- package/dist/cli/{snapshot-coordination-init-gwj594hc.js → snapshot-coordination-init-9zrktnh5.js} +48 -42
- package/dist/cli/{speckit-checkoff-hc479v4r.js → speckit-checkoff-k13zhgh5.js} +4 -4
- package/dist/cli/{telemetry-39zmx4fp.js → telemetry-n6y2sjhg.js} +1 -1
- package/dist/cli/{workspace-snapshot-nrbvjh1c.js → workspace-snapshot-gnwak61t.js} +3 -3
- package/dist/cli/{worktree-collision-ownership-jvgxxnf9.js → worktree-collision-ownership-mw3rkc4v.js} +18 -16
- package/dist/cli/{worktree-isolation-r9hr23r8.js → worktree-isolation-0rtrpf0b.js} +48 -42
- package/dist/index.js +541 -541
- package/dist/plan/auto-checkpoint.d.ts +56 -0
- package/dist/plan/manager.d.ts +8 -12
- package/package.json +1 -1
- package/dist/cli/curator-llm-factory-1gjzcafw.js +0 -75
- package/dist/cli/guardrail-explain-xtyxjmyz.js +0 -76
- package/dist/cli/hive-promoter-dsrj2ar2.js +0 -90
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
// @bun
|
|
2
|
+
// src/plan/utils.ts
|
|
3
|
+
import { createHash } from "crypto";
|
|
4
|
+
function derivePlanId(plan) {
|
|
5
|
+
return `${plan.swarm}-${plan.title}`.replace(/[^a-zA-Z0-9-_]/g, "_");
|
|
6
|
+
}
|
|
7
|
+
function derivePlanIdentityHash(plan) {
|
|
8
|
+
return createHash("sha256").update(JSON.stringify([plan.swarm, plan.title]), "utf8").digest("hex");
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
export { derivePlanId, derivePlanIdentityHash };
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import {
|
|
3
|
-
derivePlanId,
|
|
4
|
-
derivePlanIdentityHash
|
|
5
|
-
} from "./index-aae38s4x.js";
|
|
6
2
|
import {
|
|
7
3
|
DURABILITY_CLASSES,
|
|
8
4
|
getProjectDb,
|
|
9
5
|
projectDbExists,
|
|
10
6
|
withImmediateTransaction
|
|
11
|
-
} from "./index-
|
|
7
|
+
} from "./index-pwcbtbhd.js";
|
|
8
|
+
import {
|
|
9
|
+
derivePlanId,
|
|
10
|
+
derivePlanIdentityHash
|
|
11
|
+
} from "./index-7pmbnjvj.js";
|
|
12
12
|
import {
|
|
13
13
|
init_logger,
|
|
14
14
|
warn
|