opencode-swarm 7.197.1 → 7.197.3

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.
Files changed (70) hide show
  1. package/binaries/win32-arm64/swarm-sandbox-runner.exe +0 -0
  2. package/binaries/win32-x64/swarm-sandbox-runner.exe +0 -0
  3. package/dist/cli/{auto-checkpoint-1dv9a1w5.js → auto-checkpoint-e6t09fc1.js} +4 -4
  4. package/dist/cli/{checkpoint-rkjb6kpr.js → checkpoint-5j752d1a.js} +8 -8
  5. package/dist/cli/{coder-settlement-eavtvg8d.js → coder-settlement-8t3yznbq.js} +3 -3
  6. package/dist/cli/{config-doctor-4ck8e1fq.js → config-doctor-8pdsjzsw.js} +7 -7
  7. package/dist/cli/{core-cyj0vphv.js → core-1dty31az.js} +1 -1
  8. package/dist/cli/{curator-p1r777m5.js → curator-9gwwtyjt.js} +25 -25
  9. package/dist/cli/{curator-drift-15mcxawb.js → curator-drift-7htrxbht.js} +5 -5
  10. package/dist/cli/{curator-llm-factory-k0yebhsk.js → curator-llm-factory-ew2h0zed.js} +25 -25
  11. package/dist/cli/{doctor-knowledge-receipt-phase-id-k204028d.js → doctor-knowledge-receipt-phase-id-y2v12h2y.js} +4 -4
  12. package/dist/cli/{evidence-summary-service-4mx5ge81.js → evidence-summary-service-gthqb26q.js} +9 -9
  13. package/dist/cli/{gate-evidence-pa8qadxh.js → gate-evidence-xv1228n3.js} +2 -2
  14. package/dist/cli/{guardrail-explain-pba5em4h.js → guardrail-explain-h41yf31c.js} +26 -26
  15. package/dist/cli/{guardrail-log-24fbykv3.js → guardrail-log-6f55sa60.js} +3 -3
  16. package/dist/cli/{guardrail-reset-rfnr2vnn.js → guardrail-reset-j9bk61er.js} +25 -25
  17. package/dist/cli/{hive-promoter-0ht8jafr.js → hive-promoter-6y24tdbf.js} +25 -25
  18. package/dist/cli/{index-xtb61w73.js → index-04xgdmps.js} +1 -1
  19. package/dist/cli/{index-57g7yqx9.js → index-1pek46cc.js} +84 -64
  20. package/dist/cli/{index-vanjqbhp.js → index-2fwsd357.js} +5 -5
  21. package/dist/cli/{index-f0d3z2ha.js → index-2jd8sark.js} +2 -2
  22. package/dist/cli/{index-mwh6srje.js → index-4b64v1kx.js} +1 -1
  23. package/dist/cli/{index-hyxw4j9t.js → index-6dz5venm.js} +1 -1
  24. package/dist/cli/{index-6g81mmmy.js → index-7m5cf6nb.js} +4 -4
  25. package/dist/cli/{index-efen9p4c.js → index-841jrejq.js} +1 -1
  26. package/dist/cli/{index-qqe9tt5y.js → index-9exby7at.js} +1 -1
  27. package/dist/cli/{index-9vwsvgzp.js → index-a4jwt70q.js} +1 -1
  28. package/dist/cli/{index-pywrvjxj.js → index-ax7n55cd.js} +3 -3
  29. package/dist/cli/{index-0sw6gjtn.js → index-aynf8fgp.js} +3 -3
  30. package/dist/cli/{index-qae4572e.js → index-c602bgyp.js} +1 -1
  31. package/dist/cli/{index-rqbhn0mh.js → index-f87r78zb.js} +2 -2
  32. package/dist/cli/{index-3h4tajza.js → index-fws15qp0.js} +2 -2
  33. package/dist/cli/{index-syrktqz9.js → index-j8bgrxc8.js} +2 -2
  34. package/dist/cli/{index-pek9gmwm.js → index-mpc3z3ky.js} +3 -3
  35. package/dist/cli/{index-z5rkkhng.js → index-mqk09xcm.js} +6 -6
  36. package/dist/cli/{index-t4nxee8x.js → index-p0ha6zyg.js} +1 -1
  37. package/dist/cli/{index-r9ab1sat.js → index-pd98xk00.js} +27 -27
  38. package/dist/cli/{index-fmgkemn9.js → index-pwgb4ysh.js} +1 -1
  39. package/dist/cli/{index-h69nppa3.js → index-rpa47vzb.js} +1 -1
  40. package/dist/cli/{index-d483e4gz.js → index-s67cbrd1.js} +3 -3
  41. package/dist/cli/{index-56n6nb7p.js → index-svmhj9x2.js} +25 -25
  42. package/dist/cli/{index-d0m3snqt.js → index-t7egd710.js} +1 -1
  43. package/dist/cli/{index-528gk6k1.js → index-tf3y0x41.js} +1 -1
  44. package/dist/cli/{index-tstk9xx7.js → index-yed14yth.js} +1 -1
  45. package/dist/cli/{index-a9bs0c71.js → index-yg2qwadj.js} +1 -1
  46. package/dist/cli/{index-9rqvm5sk.js → index-z250fgd9.js} +2 -2
  47. package/dist/cli/{index-kah11mjw.js → index-z75fz6x3.js} +3 -3
  48. package/dist/cli/index.js +26 -26
  49. package/dist/cli/{knowledge-escalator-89crpby4.js → knowledge-escalator-xvkfez9d.js} +7 -7
  50. package/dist/cli/{knowledge-events-eyratqdp.js → knowledge-events-t4enxfp7.js} +5 -5
  51. package/dist/cli/{knowledge-store-kkwds05z.js → knowledge-store-tdqx1z7e.js} +1 -1
  52. package/dist/cli/{knowledge-validator-fww6p37v.js → knowledge-validator-3n52kff9.js} +2 -2
  53. package/dist/cli/{mcp-8t3m998m.js → mcp-yqfahteb.js} +1 -1
  54. package/dist/cli/{model-preflight-98g183my.js → model-preflight-s3s7t38g.js} +25 -25
  55. package/dist/cli/{pending-delegations-qj5e0hh2.js → pending-delegations-j89ak26j.js} +2 -2
  56. package/dist/cli/{pr-subscriptions-edwd3syw.js → pr-subscriptions-r5q1035f.js} +1 -1
  57. package/dist/cli/{pr-workflow-gate-t8veygyh.js → pr-workflow-gate-dahpc06k.js} +25 -25
  58. package/dist/cli/{scan-cursor-0ffhpz79.js → scan-cursor-yjk3czah.js} +2 -2
  59. package/dist/cli/{schema-zytt0t7a.js → schema-1bs31fpf.js} +1 -1
  60. package/dist/cli/{scope-persistence-p8a9a2xb.js → scope-persistence-0mpbc1ht.js} +5 -5
  61. package/dist/cli/{server-q4b9s64v.js → server-8swemw8w.js} +25 -25
  62. package/dist/cli/{skill-generator-wt7d640t.js → skill-generator-mx125j7w.js} +8 -8
  63. package/dist/cli/{snapshot-coordination-init-ywxyf130.js → snapshot-coordination-init-sayvd15t.js} +25 -25
  64. package/dist/cli/{speckit-checkoff-y8na83hj.js → speckit-checkoff-76j7h7qt.js} +3 -3
  65. package/dist/cli/{worktree-collision-ownership-kssmhrpk.js → worktree-collision-ownership-8f8c9bcr.js} +2 -2
  66. package/dist/cli/{worktree-isolation-w6np680v.js → worktree-isolation-kgfk5aj8.js} +25 -25
  67. package/dist/commands/close/constants.d.ts +17 -1
  68. package/dist/commands/close/fs-helpers.d.ts +6 -1
  69. package/dist/index.js +3 -3
  70. package/package.json +1 -1
@@ -8,50 +8,50 @@ import {
8
8
  markSnapshotCoordinationClosing,
9
9
  retrySnapshotCoordinationInitialization,
10
10
  startSnapshotCoordinationInitialization
11
- } from "./index-57g7yqx9.js";
12
- import"./index-528gk6k1.js";
13
- import"./index-0sw6gjtn.js";
14
- import"./index-qae4572e.js";
11
+ } from "./index-1pek46cc.js";
12
+ import"./index-tf3y0x41.js";
13
+ import"./index-aynf8fgp.js";
14
+ import"./index-c602bgyp.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-a9bs0c71.js";
19
+ import"./index-yg2qwadj.js";
20
20
  import"./index-rdec0y3z.js";
21
- import"./index-efen9p4c.js";
22
- import"./index-d483e4gz.js";
23
- import"./index-kah11mjw.js";
24
- import"./index-z5rkkhng.js";
21
+ import"./index-841jrejq.js";
22
+ import"./index-s67cbrd1.js";
23
+ import"./index-z75fz6x3.js";
24
+ import"./index-mqk09xcm.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-pywrvjxj.js";
32
- import"./index-vanjqbhp.js";
31
+ import"./index-ax7n55cd.js";
32
+ import"./index-2fwsd357.js";
33
33
  import"./index-6b295cas.js";
34
34
  import"./index-9nyqt3kb.js";
35
- import"./index-9vwsvgzp.js";
35
+ import"./index-a4jwt70q.js";
36
36
  import"./index-v3bmwmqw.js";
37
- import"./index-h69nppa3.js";
38
- import"./index-t4nxee8x.js";
39
- import"./index-hyxw4j9t.js";
37
+ import"./index-rpa47vzb.js";
38
+ import"./index-p0ha6zyg.js";
39
+ import"./index-6dz5venm.js";
40
40
  import"./index-g4fs6z4e.js";
41
- import"./index-xtb61w73.js";
42
- import"./index-3h4tajza.js";
43
- import"./index-syrktqz9.js";
41
+ import"./index-04xgdmps.js";
42
+ import"./index-fws15qp0.js";
43
+ import"./index-j8bgrxc8.js";
44
44
  import"./index-m9zzj4ee.js";
45
45
  import"./index-kphy4we7.js";
46
46
  import"./index-2s7dvzff.js";
47
- import"./index-fmgkemn9.js";
47
+ import"./index-pwgb4ysh.js";
48
48
  import"./index-hy2fqapm.js";
49
49
  import"./index-rtry5xyf.js";
50
- import"./index-9rqvm5sk.js";
50
+ import"./index-z250fgd9.js";
51
51
  import"./index-g22dps7x.js";
52
52
  import"./index-0725jpp7.js";
53
- import"./index-qqe9tt5y.js";
54
- import"./index-rqbhn0mh.js";
53
+ import"./index-9exby7at.js";
54
+ import"./index-f87r78zb.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-6g81mmmy.js";
63
+ import"./index-7m5cf6nb.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-tstk9xx7.js";
76
+ import"./index-yed14yth.js";
77
77
  import"./index-zxdawwc7.js";
78
- import"./index-mwh6srje.js";
78
+ import"./index-4b64v1kx.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-h69nppa3.js";
10
+ } from "./index-rpa47vzb.js";
11
11
  import"./index-ejhxgyvm.js";
12
12
  import"./index-7g4c7s5r.js";
13
13
  import"./index-yf2z4j7s.js";
14
- import"./index-tstk9xx7.js";
14
+ import"./index-yed14yth.js";
15
15
  import"./index-zxdawwc7.js";
16
- import"./index-mwh6srje.js";
16
+ import"./index-4b64v1kx.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-xtb61w73.js";
16
+ } from "./index-04xgdmps.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-6g81mmmy.js";
26
+ import"./index-7m5cf6nb.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-57g7yqx9.js";
29
- import"./index-528gk6k1.js";
30
- import"./index-0sw6gjtn.js";
31
- import"./index-qae4572e.js";
28
+ } from "./index-1pek46cc.js";
29
+ import"./index-tf3y0x41.js";
30
+ import"./index-aynf8fgp.js";
31
+ import"./index-c602bgyp.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-a9bs0c71.js";
36
+ import"./index-yg2qwadj.js";
37
37
  import"./index-rdec0y3z.js";
38
- import"./index-efen9p4c.js";
39
- import"./index-d483e4gz.js";
40
- import"./index-kah11mjw.js";
41
- import"./index-z5rkkhng.js";
38
+ import"./index-841jrejq.js";
39
+ import"./index-s67cbrd1.js";
40
+ import"./index-z75fz6x3.js";
41
+ import"./index-mqk09xcm.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-pywrvjxj.js";
49
- import"./index-vanjqbhp.js";
48
+ import"./index-ax7n55cd.js";
49
+ import"./index-2fwsd357.js";
50
50
  import"./index-6b295cas.js";
51
51
  import"./index-9nyqt3kb.js";
52
- import"./index-9vwsvgzp.js";
52
+ import"./index-a4jwt70q.js";
53
53
  import"./index-v3bmwmqw.js";
54
- import"./index-h69nppa3.js";
55
- import"./index-t4nxee8x.js";
56
- import"./index-hyxw4j9t.js";
54
+ import"./index-rpa47vzb.js";
55
+ import"./index-p0ha6zyg.js";
56
+ import"./index-6dz5venm.js";
57
57
  import"./index-g4fs6z4e.js";
58
- import"./index-xtb61w73.js";
59
- import"./index-3h4tajza.js";
60
- import"./index-syrktqz9.js";
58
+ import"./index-04xgdmps.js";
59
+ import"./index-fws15qp0.js";
60
+ import"./index-j8bgrxc8.js";
61
61
  import"./index-m9zzj4ee.js";
62
62
  import"./index-kphy4we7.js";
63
63
  import"./index-2s7dvzff.js";
64
- import"./index-fmgkemn9.js";
64
+ import"./index-pwgb4ysh.js";
65
65
  import"./index-hy2fqapm.js";
66
66
  import"./index-rtry5xyf.js";
67
67
  import {
68
68
  resolveWorktreeIsolationConfig
69
- } from "./index-9rqvm5sk.js";
69
+ } from "./index-z250fgd9.js";
70
70
  import"./index-g22dps7x.js";
71
71
  import"./index-0725jpp7.js";
72
- import"./index-qqe9tt5y.js";
73
- import"./index-rqbhn0mh.js";
72
+ import"./index-9exby7at.js";
73
+ import"./index-f87r78zb.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-6g81mmmy.js";
82
+ import"./index-7m5cf6nb.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-tstk9xx7.js";
95
+ import"./index-yed14yth.js";
96
96
  import"./index-zxdawwc7.js";
97
- import"./index-mwh6srje.js";
97
+ import"./index-4b64v1kx.js";
98
98
  import"./index-hqrkr9ag.js";
99
99
  import"./index-bk5tah7q.js";
100
100
  import"./index-gknz3bv1.js";
@@ -118,5 +118,21 @@ export declare const ACTIVE_STATE_DIRS_TO_CLEAN: string[];
118
118
  * (archive-first guard), plus stale config-backup/ledger-sibling/SWARM_PLAN/.tmp
119
119
  * artifacts. Resets context.md for the next session. All state mutations are
120
120
  * written back to ctx so the caller can build the close summary.
121
+ *
122
+ * Issue #3248 (production follow-on to the class-2 teardown fixes): the old
123
+ * [25, 50, 100, 200] budget (~375 ms) was too short for Bun sqlite handle
124
+ * release after closeProjectDb on Windows. Local instrumented Windows runs
125
+ * (same fixture as close-active-state-unlink-retry.test.ts case 4) show the
126
+ * release is BIMODAL: instant (~5 ms) in most runs, ~11 s in roughly a
127
+ * quarter of runs, and in those runs the pre-change production path threw
128
+ * EBUSY from unlinkActiveStateFileWithRetry after ~375 ms (observed frame:
129
+ * fs-helpers.ts, not the teardown helper). The schedule therefore spans
130
+ * ~15.2 s so the observed tail is covered; the release has always eventually
131
+ * happened in every instrumented run. The success path is unchanged
132
+ * (first-attempt unlink costs nothing extra); the budget is only spent where
133
+ * the old budget produced an EBUSY error from `/swarm close`'s clean stage.
134
+ * (The merge-group hard failure in run 38507292215 surfaced the *teardown*
135
+ * helper's budget — that evidence belongs to the safeRmRecursive fix, not
136
+ * this schedule.)
121
137
  */
122
- export declare const ACTIVE_STATE_UNLINK_RETRY_DELAYS_MS: readonly [25, 50, 100, 200];
138
+ export declare const ACTIVE_STATE_UNLINK_RETRY_DELAYS_MS: readonly [25, 50, 100, 200, 400, 600, 800, 1000, 1000, 1000, 1000, 1000, 1000, 1000, 1000, 1000, 1000, 1000, 1000, 1000];
@@ -12,6 +12,11 @@ export declare function copyDirRecursive(src: string, dest: string): Promise<num
12
12
  * Delete one archived active-state artifact, tolerating the short-lived file
13
13
  * locks Windows antivirus and SQLite sidecars can retain after handle close.
14
14
  * Non-transient errors fail immediately; the retry budget is bounded to
15
- * 375 ms so `/swarm close` remains responsive.
15
+ * ~15.2 s (issue #3248 production follow-on to the class-2 teardown fixes —
16
+ * instrumented Windows runs show the Bun sqlite handle release is bimodal:
17
+ * ~5 ms or ~11 s; the old ~375 ms budget threw EBUSY from this function on
18
+ * the long tail). collectGarbageBestEffort runs on every failed attempt as a
19
+ * hedge for GC-reclaimable statement handles; only elapsed time helps
20
+ * AV-held ones.
16
21
  */
17
22
  export declare function unlinkActiveStateFileWithRetry(filePath: string): Promise<void>;