opencode-swarm 7.200.3 → 7.200.5

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 (96) 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/{attest-task-k7b87zk8.js → attest-task-0k72fh70.js} +41 -41
  4. package/dist/cli/{auto-checkpoint-pzsrkk2q.js → auto-checkpoint-8g004dar.js} +7 -7
  5. package/dist/cli/{checkpoint-sb3f8jfv.js → checkpoint-18wx2473.js} +15 -15
  6. package/dist/cli/{coder-settlement-5jh2erx1.js → coder-settlement-r2q6pkxc.js} +10 -10
  7. package/dist/cli/{config-doctor-8keyw62b.js → config-doctor-h071vxsj.js} +14 -14
  8. package/dist/cli/{core-7240e0vh.js → core-6767154r.js} +3 -3
  9. package/dist/cli/{curation-policy-fth5n93x.js → curation-policy-gy868ec3.js} +4 -4
  10. package/dist/cli/{curator-drift-r4yttpe9.js → curator-drift-gd7tckag.js} +8 -8
  11. package/dist/cli/curator-llm-factory-mf701qb7.js +82 -0
  12. package/dist/cli/{curator-1jhwv0ce.js → curator-pf0edk2z.js} +41 -41
  13. package/dist/cli/{doctor-knowledge-receipt-phase-id-1v5fx0rk.js → doctor-knowledge-receipt-phase-id-zz0tz3pt.js} +8 -7
  14. package/dist/cli/{evidence-summary-service-zkbzsjbf.js → evidence-summary-service-awjxt2am.js} +18 -18
  15. package/dist/cli/{gate-evidence-j4jemrv7.js → gate-evidence-tvkhkqwy.js} +5 -5
  16. package/dist/cli/guardrail-explain-m70anx1g.js +83 -0
  17. package/dist/cli/{guardrail-log-0xjg12y1.js → guardrail-log-3sf6n33b.js} +6 -6
  18. package/dist/cli/{guardrail-reset-rgbt0zgy.js → guardrail-reset-t94jbv1q.js} +41 -41
  19. package/dist/cli/{hive-promoter-f0rzkbww.js → hive-promoter-60h9tqgs.js} +41 -41
  20. package/dist/cli/{index-44z8mv05.js → index-10myvh2k.js} +4 -4
  21. package/dist/cli/{index-j2x2ajz7.js → index-1akazdbj.js} +3 -3
  22. package/dist/cli/{index-eac47j2q.js → index-1asbb0r4.js} +5 -5
  23. package/dist/cli/{index-bft3404e.js → index-1by2qd8n.js} +4 -4
  24. package/dist/cli/{index-na6ph1fp.js → index-2x015vjy.js} +1 -1
  25. package/dist/cli/{index-8x90j950.js → index-3x8mz39c.js} +2 -2
  26. package/dist/cli/{index-g57p8p1k.js → index-4fkxdnc7.js} +1 -1
  27. package/dist/cli/{index-5q3hg1pk.js → index-4krkevgc.js} +1 -1
  28. package/dist/cli/{index-bcn30s7q.js → index-4mjfdpte.js} +6 -6
  29. package/dist/cli/{index-5snwc3dz.js → index-4ph7ad0b.js} +1 -1
  30. package/dist/cli/{index-vyb5xf36.js → index-5qajesjq.js} +3 -3
  31. package/dist/cli/{index-5g0nrnyd.js → index-687c2ze1.js} +6 -6
  32. package/dist/cli/{index-v3bmwmqw.js → index-697mg68b.js} +10 -2
  33. package/dist/cli/{index-q49vqmzh.js → index-74n7sz4s.js} +3 -3
  34. package/dist/cli/{index-7rpcbnp8.js → index-7h22y3ew.js} +2 -2
  35. package/dist/cli/{index-y46b7a5g.js → index-826kptfe.js} +7 -7
  36. package/dist/cli/{index-95k0fkhp.js → index-8c51asrp.js} +2038 -1906
  37. package/dist/cli/{index-ypxq0x7r.js → index-8srvdpw6.js} +1 -1
  38. package/dist/cli/{index-xxvman1m.js → index-b4amh1n3.js} +4 -4
  39. package/dist/cli/{index-0vv7vzp8.js → index-bk8r4m9j.js} +2 -2
  40. package/dist/cli/{index-mff4szvk.js → index-cy2gbs5b.js} +4 -4
  41. package/dist/cli/{index-tmhwpzdg.js → index-dsqavehz.js} +1 -1
  42. package/dist/cli/{index-v5nh2fhv.js → index-ee59rzwk.js} +4 -4
  43. package/dist/cli/{index-6r93sy2k.js → index-g1b5xxzc.js} +5 -3
  44. package/dist/cli/{index-5c6zse74.js → index-h8419k5d.js} +7 -7
  45. package/dist/cli/{index-x48h0zsw.js → index-hfnj4s6r.js} +41 -41
  46. package/dist/cli/{index-yg4923ga.js → index-k01n01sc.js} +3 -3
  47. package/dist/cli/{index-v1h70r3y.js → index-mhd6kdzr.js} +1 -1
  48. package/dist/cli/{index-epzadpmm.js → index-mn75z39t.js} +1 -1
  49. package/dist/cli/{index-s3w41p1x.js → index-p2dst45x.js} +1 -1
  50. package/dist/cli/{index-8f7wgcpz.js → index-phz90w3t.js} +2 -2
  51. package/dist/cli/{index-2nq7h5cj.js → index-pvj101jx.js} +8 -8
  52. package/dist/cli/{index-dgv5xy0b.js → index-ryrg48c7.js} +11 -11
  53. package/dist/cli/{index-5ph10kdd.js → index-se501ytb.js} +1 -1
  54. package/dist/cli/{index-1j14kbak.js → index-tecp3a77.js} +5 -5
  55. package/dist/cli/{index-2r6d72m6.js → index-twwdx79t.js} +3 -3
  56. package/dist/cli/{index-s9y49avf.js → index-v839c9mv.js} +1 -1
  57. package/dist/cli/{index-nzfq1ms2.js → index-vtpt8yns.js} +1 -1
  58. package/dist/cli/{index-9cffn82s.js → index-vxbj42j0.js} +3 -3
  59. package/dist/cli/{index-275w8rfx.js → index-vz1fh1v3.js} +3 -3
  60. package/dist/cli/{index-encs4mdm.js → index-wyfag7r7.js} +40 -6
  61. package/dist/cli/{index-dygkt0ne.js → index-xdk3cxs9.js} +43 -43
  62. package/dist/cli/{index-pmcvznag.js → index-xh861gf3.js} +2 -2
  63. package/dist/cli/{index-ves1rtqt.js → index-y7c4hqcj.js} +1 -1
  64. package/dist/cli/{index-9dbxpr2j.js → index-yamz6830.js} +1 -1
  65. package/dist/cli/{index-traz987v.js → index-yyrnkc3a.js} +1 -1
  66. package/dist/cli/index.js +42 -42
  67. package/dist/cli/{knowledge-escalator-s25vhfrt.js → knowledge-escalator-3096yt7j.js} +13 -12
  68. package/dist/cli/{knowledge-events-qd39qwy1.js → knowledge-events-st3j22za.js} +11 -10
  69. package/dist/cli/{knowledge-link-wfhsfyn2.js → knowledge-link-13t3nfrz.js} +3 -3
  70. package/dist/cli/{knowledge-store-y02hfxq9.js → knowledge-store-9q8jvd0p.js} +4 -4
  71. package/dist/cli/{knowledge-validator-d7ysvdmw.js → knowledge-validator-fak1fvdm.js} +6 -6
  72. package/dist/cli/{mcp-5py3efbs.js → mcp-shvt5c9b.js} +1 -1
  73. package/dist/cli/{model-preflight-2zqrjnnh.js → model-preflight-cxhdzc9c.js} +41 -41
  74. package/dist/cli/{pending-delegations-9rt59skt.js → pending-delegations-tjj8nhmm.js} +11 -11
  75. package/dist/cli/{pr-subscriptions-q51ze9rn.js → pr-subscriptions-xtnbfg8m.js} +10 -10
  76. package/dist/cli/{pr-workflow-gate-3vj3f93g.js → pr-workflow-gate-24ytg64p.js} +41 -41
  77. package/dist/cli/{runner-s1a73y5h.js → runner-q1g9atrv.js} +4 -4
  78. package/dist/cli/{scan-cursor-0fr17e5q.js → scan-cursor-drax4dt3.js} +5 -5
  79. package/dist/cli/{schema-10j951xn.js → schema-epr5xxb0.js} +1 -1
  80. package/dist/cli/{scope-persistence-jewjr6zg.js → scope-persistence-pyn9vb4r.js} +13 -13
  81. package/dist/cli/{server-0s65qjx7.js → server-c5b651kg.js} +41 -41
  82. package/dist/cli/{skill-generator-7hxqq63r.js → skill-generator-r8kvvbh2.js} +15 -14
  83. package/dist/cli/{snapshot-coordination-init-kh4dayg5.js → snapshot-coordination-init-wnt85258.js} +41 -41
  84. package/dist/cli/{speckit-checkoff-n8s920fs.js → speckit-checkoff-64p4d5hf.js} +4 -4
  85. package/dist/cli/{workspace-snapshot-veqaqrjr.js → workspace-snapshot-7hws89e9.js} +3 -3
  86. package/dist/cli/{worktree-collision-ownership-7cz0a2sr.js → worktree-collision-ownership-eej2phhm.js} +13 -13
  87. package/dist/cli/{worktree-isolation-4dbza44f.js → worktree-isolation-xsc0k2n3.js} +41 -41
  88. package/dist/hooks/delegation-gate/worktree-merge-status.d.ts +4 -4
  89. package/dist/hooks/guardrails/tool-before.d.ts +35 -4
  90. package/dist/hooks/knowledge-receipt-ledger.d.ts +19 -4
  91. package/dist/hooks/phase-complete-directive-gate.d.ts +13 -1
  92. package/dist/hooks/shell-write-detect.d.ts +12 -0
  93. package/dist/index.js +64 -64
  94. package/package.json +1 -1
  95. package/dist/cli/curator-llm-factory-wcv6x9pq.js +0 -82
  96. package/dist/cli/guardrail-explain-g95j8z79.js +0 -83
@@ -1,14 +1,14 @@
1
1
  // @bun
2
2
  import {
3
3
  writeSpeckitCheckoffLedger
4
- } from "./index-8f7wgcpz.js";
4
+ } from "./index-phz90w3t.js";
5
5
  import {
6
6
  validateSpecContent
7
7
  } from "./index-0725jpp7.js";
8
8
  import {
9
9
  init_loader,
10
10
  readSddSourceSetting
11
- } from "./index-tmhwpzdg.js";
11
+ } from "./index-dsqavehz.js";
12
12
  import {
13
13
  advisoryWarn,
14
14
  init_warning_buffer
@@ -20,7 +20,7 @@ import {
20
20
  import {
21
21
  SDD_SOURCES,
22
22
  init_schema
23
- } from "./index-5ph10kdd.js";
23
+ } from "./index-se501ytb.js";
24
24
 
25
25
  // src/sdd/effective-spec.ts
26
26
  init_loader();
@@ -4,7 +4,7 @@ import {
4
4
  ensureTaskCheckpointReceipt,
5
5
  loadPlan,
6
6
  updateTaskCheckpointReceipt
7
- } from "./index-dgv5xy0b.js";
7
+ } from "./index-ryrg48c7.js";
8
8
  import {
9
9
  tool
10
10
  } from "./index-9nyqt3kb.js";
@@ -22,13 +22,13 @@ import {
22
22
  } from "./index-spggmr30.js";
23
23
  import {
24
24
  validateSwarmPath
25
- } from "./index-5q3hg1pk.js";
25
+ } from "./index-4krkevgc.js";
26
26
  import {
27
27
  readLedgerEvents
28
- } from "./index-9cffn82s.js";
28
+ } from "./index-vxbj42j0.js";
29
29
  import {
30
30
  appendCoreEventSync
31
- } from "./index-nzfq1ms2.js";
31
+ } from "./index-vtpt8yns.js";
32
32
  import {
33
33
  derivePlanId,
34
34
  derivePlanIdentityHash
@@ -43,10 +43,10 @@ import {
43
43
  } from "./index-ejhxgyvm.js";
44
44
  import {
45
45
  atomicWriteSwarmFileSync
46
- } from "./index-epzadpmm.js";
46
+ } from "./index-mn75z39t.js";
47
47
  import {
48
48
  loadPluginConfigWithMeta
49
- } from "./index-tmhwpzdg.js";
49
+ } from "./index-dsqavehz.js";
50
50
  import {
51
51
  GIT_BINARY_ENV_VAR,
52
52
  describeGitResolution,
@@ -36,8 +36,16 @@ function loadDurableStatus(statusPath) {
36
36
  function saveDurableStatus(statusPath) {
37
37
  const dir = path.dirname(statusPath);
38
38
  try {
39
- if (!fs.existsSync(dir))
40
- fs.mkdirSync(dir, { recursive: true });
39
+ if (!fs.existsSync(dir)) {
40
+ if (!fs.existsSync(path.dirname(dir)))
41
+ return;
42
+ try {
43
+ fs.mkdirSync(dir);
44
+ } catch (err) {
45
+ if (err.code !== "EEXIST")
46
+ throw err;
47
+ }
48
+ }
41
49
  const tempPath = `${statusPath}.tmp.${crypto.randomBytes(8).toString("hex")}`;
42
50
  const data = Object.fromEntries(failuresByTask);
43
51
  try {
@@ -1,10 +1,10 @@
1
1
  // @bun
2
2
  import {
3
3
  readEffectiveSpecSync
4
- } from "./index-vyb5xf36.js";
4
+ } from "./index-5qajesjq.js";
5
5
  import {
6
6
  readSwarmFileAsync
7
- } from "./index-5q3hg1pk.js";
7
+ } from "./index-4krkevgc.js";
8
8
  import {
9
9
  DURABILITY_CLASSES,
10
10
  DbWriteError,
@@ -13,7 +13,7 @@ import {
13
13
  classifyDbWriteError,
14
14
  getProjectDb,
15
15
  projectDbExists
16
- } from "./index-ves1rtqt.js";
16
+ } from "./index-y7c4hqcj.js";
17
17
  import {
18
18
  _internals,
19
19
  canonicalRootKeyFresh
@@ -1,10 +1,10 @@
1
1
  // @bun
2
2
  import {
3
3
  validateSwarmPath
4
- } from "./index-5q3hg1pk.js";
4
+ } from "./index-4krkevgc.js";
5
5
  import {
6
6
  atomicWriteSwarmFileSync
7
- } from "./index-epzadpmm.js";
7
+ } from "./index-mn75z39t.js";
8
8
 
9
9
  // src/hooks/delegation-gate/worktree-provisioning-owner.ts
10
10
  import { createHash } from "crypto";
@@ -2,10 +2,10 @@
2
2
  import {
3
3
  captureWorkspaceSnapshotAsync,
4
4
  changedFilesSinceSnapshotAsync
5
- } from "./index-0vv7vzp8.js";
5
+ } from "./index-bk8r4m9j.js";
6
6
  import {
7
7
  removeWorktreeProvisioningOwner
8
- } from "./index-7rpcbnp8.js";
8
+ } from "./index-7h22y3ew.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-j2x2ajz7.js";
17
+ } from "./index-1akazdbj.js";
18
18
  import {
19
19
  validateSwarmPath
20
- } from "./index-5q3hg1pk.js";
20
+ } from "./index-4krkevgc.js";
21
21
  import {
22
22
  appendCoreEventSync
23
- } from "./index-nzfq1ms2.js";
23
+ } from "./index-vtpt8yns.js";
24
24
  import {
25
25
  init_path_identity,
26
26
  isPathWithinDeclaredScope
@@ -512,7 +512,7 @@ async function cleanupRecoveredWorktree(directory, descriptor, options) {
512
512
  awaitingMergeByCallID,
513
513
  cleanupStandardWorktreeForCallId,
514
514
  standardWorktreeByCallID
515
- } = await import("./worktree-isolation-4dbza44f.js");
515
+ } = await import("./worktree-isolation-xsc0k2n3.js");
516
516
  standardWorktreeByCallID.delete(descriptor.callID);
517
517
  if (hasResidue)
518
518
  awaitingMergeByCallID.set(descriptor.callID, {
@@ -648,7 +648,7 @@ async function recoverCoderSettlement(directory, taskId) {
648
648
  awaitingMergeByCallID,
649
649
  finishStandardWorktreeDispatch,
650
650
  standardWorktreeByCallID
651
- } = await import("./worktree-isolation-4dbza44f.js");
651
+ } = await import("./worktree-isolation-xsc0k2n3.js");
652
652
  const descriptor = wal.worktree;
653
653
  const reconstructedDispatch = {
654
654
  callID: descriptor.callID,