opencode-swarm 7.198.0 → 7.198.2

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 (69) 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-3mmvyd3g.js → auto-checkpoint-ekp5j5v5.js} +4 -4
  4. package/dist/cli/{checkpoint-e43t6f2b.js → checkpoint-30yrbqee.js} +8 -8
  5. package/dist/cli/{coder-settlement-kb2827hb.js → coder-settlement-t3zcgsd6.js} +3 -3
  6. package/dist/cli/{config-doctor-06jwks34.js → config-doctor-6w105xpy.js} +7 -7
  7. package/dist/cli/{core-sqqs0k1q.js → core-6hyt1hg6.js} +1 -1
  8. package/dist/cli/{curator-dm4nm95q.js → curator-bzy7cess.js} +25 -25
  9. package/dist/cli/{curator-drift-0502msxm.js → curator-drift-z83e3a60.js} +5 -5
  10. package/dist/cli/{curator-llm-factory-54v33gz2.js → curator-llm-factory-ykpty14a.js} +25 -25
  11. package/dist/cli/{doctor-knowledge-receipt-phase-id-zm56sg6v.js → doctor-knowledge-receipt-phase-id-8av1860z.js} +4 -4
  12. package/dist/cli/{evidence-summary-service-ejmywz5a.js → evidence-summary-service-ym7y7w5k.js} +9 -9
  13. package/dist/cli/{gate-evidence-rqev8f8q.js → gate-evidence-vvhtzwry.js} +2 -2
  14. package/dist/cli/{guardrail-explain-0z5cyah2.js → guardrail-explain-1ethgkvp.js} +26 -26
  15. package/dist/cli/{guardrail-log-yjbyf5sc.js → guardrail-log-4f0jxq61.js} +3 -3
  16. package/dist/cli/{guardrail-reset-4zrb40d3.js → guardrail-reset-cqq3yk9s.js} +25 -25
  17. package/dist/cli/{hive-promoter-swgaebae.js → hive-promoter-vvgdsx8s.js} +25 -25
  18. package/dist/cli/{index-pn6xqhp2.js → index-0ap067j7.js} +1 -1
  19. package/dist/cli/{index-gyz3kvvm.js → index-0y5yvag6.js} +6 -6
  20. package/dist/cli/{index-p44wgqhb.js → index-166xny29.js} +65 -64
  21. package/dist/cli/{index-006b796n.js → index-59w9zfc5.js} +1 -1
  22. package/dist/cli/{index-pfwhq6p5.js → index-5h5tj8wc.js} +27 -27
  23. package/dist/cli/{index-z127nfqd.js → index-5hbb3088.js} +1 -1
  24. package/dist/cli/{index-9628q121.js → index-6pc5j9rb.js} +3 -3
  25. package/dist/cli/{index-rjcxke49.js → index-7e9mqse6.js} +1 -1
  26. package/dist/cli/{index-9fdddqtn.js → index-9keabj7d.js} +3 -3
  27. package/dist/cli/{index-hh0at0tt.js → index-bczx8jcg.js} +3 -3
  28. package/dist/cli/{index-pkdyys9n.js → index-bd4szzja.js} +1 -1
  29. package/dist/cli/{index-jj9kzye7.js → index-bj916p5e.js} +1 -1
  30. package/dist/cli/{index-q9zg0ckd.js → index-cfs1k1eh.js} +1 -1
  31. package/dist/cli/{index-c4fkfbfz.js → index-d9jrzepr.js} +1 -1
  32. package/dist/cli/{index-ndvnxxbm.js → index-drf91t9h.js} +2 -2
  33. package/dist/cli/{index-gp9rhg5m.js → index-ehw0s6xa.js} +1 -1
  34. package/dist/cli/{index-730ajx2g.js → index-gc9dvmy7.js} +2 -2
  35. package/dist/cli/{index-rvn7wbj9.js → index-h86e4jp9.js} +1 -1
  36. package/dist/cli/{index-a71vh07f.js → index-hd3d7rcw.js} +3 -3
  37. package/dist/cli/{index-kpngvt4q.js → index-mx74665q.js} +2 -2
  38. package/dist/cli/{index-fv6eab1b.js → index-rfcb9f54.js} +1 -1
  39. package/dist/cli/{index-715d35v8.js → index-rnjtf5kn.js} +2 -2
  40. package/dist/cli/{index-qnkk509y.js → index-tnnxvq2f.js} +3 -3
  41. package/dist/cli/{index-fd105270.js → index-v85gn9jm.js} +2 -2
  42. package/dist/cli/{index-0caf038s.js → index-vjwmcxz4.js} +4 -4
  43. package/dist/cli/{index-wemkaxc2.js → index-wg1mt92h.js} +1 -1
  44. package/dist/cli/{index-f0hpw2f8.js → index-whmby20t.js} +25 -25
  45. package/dist/cli/{index-r5f6q2v4.js → index-xrghsqg3.js} +1 -1
  46. package/dist/cli/{index-rj4a1206.js → index-xxb2depv.js} +3 -3
  47. package/dist/cli/{index-vhcgtmpg.js → index-y81sw9vt.js} +5 -5
  48. package/dist/cli/index.js +26 -26
  49. package/dist/cli/{knowledge-escalator-rjcg7k03.js → knowledge-escalator-8hrnc4bd.js} +7 -7
  50. package/dist/cli/{knowledge-events-rnf6kgdn.js → knowledge-events-v2abqt9z.js} +5 -5
  51. package/dist/cli/{knowledge-store-gm8j7krw.js → knowledge-store-9y17zzce.js} +1 -1
  52. package/dist/cli/{knowledge-validator-98456296.js → knowledge-validator-7red2zwb.js} +2 -2
  53. package/dist/cli/{mcp-ngs269rj.js → mcp-gbyndb15.js} +1 -1
  54. package/dist/cli/{model-preflight-g7yhtdrp.js → model-preflight-1tsaksc7.js} +25 -25
  55. package/dist/cli/{pending-delegations-dv9j31c3.js → pending-delegations-yg769m4y.js} +2 -2
  56. package/dist/cli/{pr-subscriptions-ya88xjph.js → pr-subscriptions-mc2mvjkj.js} +1 -1
  57. package/dist/cli/{pr-workflow-gate-wzatxzej.js → pr-workflow-gate-0fb280b2.js} +25 -25
  58. package/dist/cli/{scan-cursor-aygzmf34.js → scan-cursor-g74j6gcr.js} +2 -2
  59. package/dist/cli/{schema-eppnz9vx.js → schema-q2v7px9y.js} +1 -1
  60. package/dist/cli/{scope-persistence-v5bs3jqt.js → scope-persistence-g88f0163.js} +5 -5
  61. package/dist/cli/{server-t5vtzm9e.js → server-j3a7q7gg.js} +25 -25
  62. package/dist/cli/{skill-generator-mvm55q78.js → skill-generator-30bjrvcc.js} +8 -8
  63. package/dist/cli/{snapshot-coordination-init-ne7q5x7q.js → snapshot-coordination-init-9ekvft16.js} +25 -25
  64. package/dist/cli/{speckit-checkoff-pctc95h1.js → speckit-checkoff-sx24fz29.js} +3 -3
  65. package/dist/cli/{worktree-collision-ownership-cgvdsx3n.js → worktree-collision-ownership-shtk6dsk.js} +2 -2
  66. package/dist/cli/{worktree-isolation-afq0jh6n.js → worktree-isolation-x41cgd9n.js} +25 -25
  67. package/dist/hooks/guardrails/tool-before.d.ts +5 -2
  68. package/dist/index.js +4 -4
  69. package/package.json +1 -1
@@ -7,50 +7,50 @@ import {
7
7
  isHiveEligible,
8
8
  promoteFromSwarm,
9
9
  promoteToHive
10
- } from "./index-p44wgqhb.js";
11
- import"./index-jj9kzye7.js";
12
- import"./index-hh0at0tt.js";
13
- import"./index-006b796n.js";
10
+ } from "./index-166xny29.js";
11
+ import"./index-bj916p5e.js";
12
+ import"./index-bczx8jcg.js";
13
+ import"./index-59w9zfc5.js";
14
14
  import"./index-j2vv0h13.js";
15
15
  import"./index-76mg98ac.js";
16
16
  import"./index-t7qgt5yk.js";
17
17
  import"./index-txdagbh7.js";
18
- import"./index-pn6xqhp2.js";
18
+ import"./index-0ap067j7.js";
19
19
  import"./index-rdec0y3z.js";
20
- import"./index-c4fkfbfz.js";
21
- import"./index-rj4a1206.js";
22
- import"./index-9fdddqtn.js";
23
- import"./index-gyz3kvvm.js";
20
+ import"./index-d9jrzepr.js";
21
+ import"./index-xxb2depv.js";
22
+ import"./index-9keabj7d.js";
23
+ import"./index-0y5yvag6.js";
24
24
  import"./index-v30zmakk.js";
25
25
  import"./index-qg6qn99c.js";
26
26
  import"./index-cjapb4hy.js";
27
27
  import"./index-84r9rydf.js";
28
28
  import"./index-pt7h91zc.js";
29
29
  import"./index-q7sjgr1y.js";
30
- import"./index-qnkk509y.js";
31
- import"./index-vhcgtmpg.js";
30
+ import"./index-tnnxvq2f.js";
31
+ import"./index-y81sw9vt.js";
32
32
  import"./index-6b295cas.js";
33
33
  import"./index-9nyqt3kb.js";
34
- import"./index-9628q121.js";
34
+ import"./index-6pc5j9rb.js";
35
35
  import"./index-v3bmwmqw.js";
36
- import"./index-rvn7wbj9.js";
37
- import"./index-z127nfqd.js";
38
- import"./index-rjcxke49.js";
36
+ import"./index-h86e4jp9.js";
37
+ import"./index-5hbb3088.js";
38
+ import"./index-7e9mqse6.js";
39
39
  import"./index-g4fs6z4e.js";
40
- import"./index-wemkaxc2.js";
41
- import"./index-kpngvt4q.js";
42
- import"./index-fd105270.js";
40
+ import"./index-wg1mt92h.js";
41
+ import"./index-mx74665q.js";
42
+ import"./index-v85gn9jm.js";
43
43
  import"./index-m9zzj4ee.js";
44
44
  import"./index-xez06sc1.js";
45
45
  import"./index-2s7dvzff.js";
46
- import"./index-r5f6q2v4.js";
46
+ import"./index-xrghsqg3.js";
47
47
  import"./index-d31b2zvf.js";
48
48
  import"./index-rtry5xyf.js";
49
- import"./index-730ajx2g.js";
49
+ import"./index-gc9dvmy7.js";
50
50
  import"./index-g22dps7x.js";
51
51
  import"./index-0725jpp7.js";
52
- import"./index-q9zg0ckd.js";
53
- import"./index-ndvnxxbm.js";
52
+ import"./index-cfs1k1eh.js";
53
+ import"./index-drf91t9h.js";
54
54
  import"./index-e4hj8r57.js";
55
55
  import"./index-xt4q610f.js";
56
56
  import"./index-rqxwv4q5.js";
@@ -61,7 +61,7 @@ import"./index-7pmbnjvj.js";
61
61
  import"./index-tdpfecs3.js";
62
62
  import {
63
63
  resolveHiveKnowledgePath
64
- } from "./index-0caf038s.js";
64
+ } from "./index-vjwmcxz4.js";
65
65
  import"./index-vzm6zre7.js";
66
66
  import"./index-ae75rja9.js";
67
67
  import"./index-yk1vnpzx.js";
@@ -74,9 +74,9 @@ import"./index-ejhxgyvm.js";
74
74
  import"./index-7g4c7s5r.js";
75
75
  import"./index-p4xmq6aa.js";
76
76
  import"./index-gx2vp8gx.js";
77
- import"./index-pkdyys9n.js";
77
+ import"./index-bd4szzja.js";
78
78
  import"./index-zxdawwc7.js";
79
- import"./index-fv6eab1b.js";
79
+ import"./index-rfcb9f54.js";
80
80
  import"./index-hqrkr9ag.js";
81
81
  import"./index-bk5tah7q.js";
82
82
  import"./index-gknz3bv1.js";
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  readKnowledge,
4
4
  transactKnowledge
5
- } from "./index-0caf038s.js";
5
+ } from "./index-vjwmcxz4.js";
6
6
  import {
7
7
  resolveKnowledgeStoreDir
8
8
  } from "./index-yk1vnpzx.js";
@@ -2,10 +2,10 @@
2
2
  import {
3
3
  readKnowledgeEvents,
4
4
  recordKnowledgeEvent
5
- } from "./index-kpngvt4q.js";
5
+ } from "./index-mx74665q.js";
6
6
  import {
7
7
  queryHistoricalOutcomes
8
- } from "./index-fd105270.js";
8
+ } from "./index-v85gn9jm.js";
9
9
  import {
10
10
  jaccardBigram,
11
11
  readKnowledge,
@@ -13,7 +13,7 @@ import {
13
13
  resolveSwarmKnowledgePath,
14
14
  transactKnowledge,
15
15
  wordBigrams
16
- } from "./index-0caf038s.js";
16
+ } from "./index-vjwmcxz4.js";
17
17
  import {
18
18
  init_knowledge_types,
19
19
  isActiveStatus
@@ -226,11 +226,11 @@ async function maybeQuarantineOnContradiction(directory, entryId, threshold, win
226
226
  alreadyInactive: true
227
227
  };
228
228
  }
229
- const { quarantineEntry } = await import("./knowledge-validator-98456296.js");
229
+ const { quarantineEntry } = await import("./knowledge-validator-7red2zwb.js");
230
230
  let policyConfig;
231
231
  try {
232
- const { KnowledgeConfigSchema } = await import("./schema-eppnz9vx.js");
233
- const { loadPluginConfigWithMeta } = await import("./index-a71vh07f.js");
232
+ const { KnowledgeConfigSchema } = await import("./schema-q2v7px9y.js");
233
+ const { loadPluginConfigWithMeta } = await import("./index-hd3d7rcw.js");
234
234
  const { config: loadedConfig } = loadPluginConfigWithMeta(directory);
235
235
  policyConfig = KnowledgeConfigSchema.parse(loadedConfig.knowledge ?? {});
236
236
  } catch {
@@ -8,14 +8,14 @@ import {
8
8
  protectedRoots,
9
9
  redactDecisionLineForArchive,
10
10
  stableCanonicalStringify
11
- } from "./index-jj9kzye7.js";
11
+ } from "./index-bj916p5e.js";
12
12
  import {
13
13
  detectStraySwarmDirs,
14
14
  readDoctorArtifact,
15
15
  removeStraySwarmDir,
16
16
  resolvePlanParallelizationFlag,
17
17
  runConfigDoctor
18
- } from "./index-hh0at0tt.js";
18
+ } from "./index-bczx8jcg.js";
19
19
  import {
20
20
  archiveEvidence,
21
21
  checkRequirementCoverage,
@@ -27,7 +27,7 @@ import {
27
27
  sanitizeTaskId,
28
28
  saveEvidence,
29
29
  validateProjectRoot
30
- } from "./index-006b796n.js";
30
+ } from "./index-59w9zfc5.js";
31
31
  import {
32
32
  JAVA_SYMBOL_GRAMMAR,
33
33
  LANGUAGE_REGISTRY,
@@ -89,7 +89,7 @@ import {
89
89
  alreadyCuratedThisGeneration,
90
90
  claimNextScanBatch,
91
91
  resolveCohortId
92
- } from "./index-pn6xqhp2.js";
92
+ } from "./index-0ap067j7.js";
93
93
  import {
94
94
  CURATOR_CONSOLIDATION_PROMPT,
95
95
  CURATOR_INIT_PROMPT,
@@ -108,13 +108,13 @@ import {
108
108
  getGroupCommitWriter,
109
109
  importLegacyJsonl,
110
110
  readPriorDriftReports
111
- } from "./index-c4fkfbfz.js";
111
+ } from "./index-d9jrzepr.js";
112
112
  import {
113
113
  assertNoUnsettledCoderDispatch,
114
114
  listCoderSettlementWalStates,
115
115
  recoverCoderSettlement,
116
116
  recoverStaleCoderSettlements
117
- } from "./index-rj4a1206.js";
117
+ } from "./index-xxb2depv.js";
118
118
  import {
119
119
  BUNDLED_PROJECT_SKILL_ROOT,
120
120
  DEFAULT_SKILL_MIN_CONFIDENCE,
@@ -137,11 +137,11 @@ import {
137
137
  skillContractDigest,
138
138
  splitSkillFrontmatter,
139
139
  syncBundledProjectSkillsIfMissingAsync
140
- } from "./index-9fdddqtn.js";
140
+ } from "./index-9keabj7d.js";
141
141
  import {
142
142
  buildEscalationBriefing,
143
143
  readRecentEscalations
144
- } from "./index-gyz3kvvm.js";
144
+ } from "./index-0y5yvag6.js";
145
145
  import {
146
146
  parsePorcelainV2Snapshot,
147
147
  resolveCommitCountSince,
@@ -225,7 +225,7 @@ import {
225
225
  swarmOverwriteCandidates,
226
226
  trackedDirtyCandidates,
227
227
  transientBackoff
228
- } from "./index-qnkk509y.js";
228
+ } from "./index-tnnxvq2f.js";
229
229
  import {
230
230
  EPIC_MODE_CONFIG_DISABLED_MESSAGE,
231
231
  PlanRecoverySupersededError,
@@ -257,7 +257,7 @@ import {
257
257
  updateEpicRecord,
258
258
  updateTaskStatus,
259
259
  withPlanLifecycleLock
260
- } from "./index-vhcgtmpg.js";
260
+ } from "./index-y81sw9vt.js";
261
261
  import {
262
262
  containsControlChars,
263
263
  containsPathTraversal,
@@ -274,7 +274,7 @@ import {
274
274
  resolveSpeckitProjection,
275
275
  validateSpeckit,
276
276
  writeProjectedSpecSync
277
- } from "./index-9628q121.js";
277
+ } from "./index-6pc5j9rb.js";
278
278
  import {
279
279
  clearWorktreeMergeStatus,
280
280
  getAllWorktreeMergeFailures,
@@ -306,7 +306,7 @@ import {
306
306
  transitionTaskWorkflowEvidenceWithStatus,
307
307
  withTaskEvidenceTransaction,
308
308
  writeWorkflowWalFile
309
- } from "./index-z127nfqd.js";
309
+ } from "./index-5hbb3088.js";
310
310
  import {
311
311
  isPathUnderSwarmWorktreeBase,
312
312
  listLiveLaneOwners,
@@ -315,7 +315,7 @@ import {
315
315
  recordLiveLaneOwner,
316
316
  removeWorktree,
317
317
  resolveWorktreeBaseDir
318
- } from "./index-rjcxke49.js";
318
+ } from "./index-7e9mqse6.js";
319
319
  import {
320
320
  GitBinaryMissingError,
321
321
  GitSpawnCwdError,
@@ -358,7 +358,7 @@ import {
358
358
  scanBackgroundCoderReservationsForAdmission,
359
359
  scanDelegationsForRecovery,
360
360
  sweepStaleDelegations
361
- } from "./index-wemkaxc2.js";
361
+ } from "./index-wg1mt92h.js";
362
362
  import {
363
363
  MAX_EVENT_LOG_ENTRIES,
364
364
  _internals,
@@ -370,7 +370,7 @@ import {
370
370
  recordHiveKnowledgeEvent,
371
371
  recordKnowledgeEvent,
372
372
  resolveKnowledgeEventsPath
373
- } from "./index-kpngvt4q.js";
373
+ } from "./index-mx74665q.js";
374
374
  import {
375
375
  commitDisplayedMembership,
376
376
  commitEmptyRetrieval,
@@ -383,7 +383,7 @@ import {
383
383
  queryLiveMemberships,
384
384
  reconcilePhaseClose,
385
385
  recordPhaseCloseIntent
386
- } from "./index-fd105270.js";
386
+ } from "./index-v85gn9jm.js";
387
387
  import {
388
388
  sanitizeContextText
389
389
  } from "./index-m9zzj4ee.js";
@@ -414,7 +414,7 @@ import {
414
414
  validateActionableFields,
415
415
  validateLesson,
416
416
  validateSkillPath
417
- } from "./index-r5f6q2v4.js";
417
+ } from "./index-xrghsqg3.js";
418
418
  import {
419
419
  MAX_CURATION_PROPOSALS,
420
420
  authorizeCuration,
@@ -425,7 +425,7 @@ import {
425
425
  } from "./index-rtry5xyf.js";
426
426
  import {
427
427
  resolveWorktreeIsolationConfig
428
- } from "./index-730ajx2g.js";
428
+ } from "./index-gc9dvmy7.js";
429
429
  import {
430
430
  RetrospectiveEvidenceSchema
431
431
  } from "./index-g22dps7x.js";
@@ -437,7 +437,7 @@ import {
437
437
  clearScopeBindings,
438
438
  readAuthoritativeScopeBindingSet,
439
439
  readDeclaredScopeFilesFromBindings
440
- } from "./index-q9zg0ckd.js";
440
+ } from "./index-cfs1k1eh.js";
441
441
  import {
442
442
  approvedSnapshotCoversPlan,
443
443
  clearPlanLedgerForReset,
@@ -454,7 +454,7 @@ import {
454
454
  replayFromLedgerWithStatus,
455
455
  resolvePlanningProfile,
456
456
  takeSnapshotEvent
457
- } from "./index-ndvnxxbm.js";
457
+ } from "./index-drf91t9h.js";
458
458
  import {
459
459
  CORE_EVENT_LOCKED,
460
460
  appendCoreEventSync,
@@ -543,7 +543,7 @@ import {
543
543
  transactFile,
544
544
  transactKnowledge,
545
545
  wordBigrams
546
- } from "./index-0caf038s.js";
546
+ } from "./index-vjwmcxz4.js";
547
547
  import {
548
548
  readTailJsonl,
549
549
  readTailJsonlDetailed,
@@ -628,7 +628,7 @@ import {
628
628
  loadPluginConfig,
629
629
  loadPluginConfigWithMeta,
630
630
  resolveEpicConfig
631
- } from "./index-pkdyys9n.js";
631
+ } from "./index-bd4szzja.js";
632
632
  import {
633
633
  GIT_BINARY_ENV_VAR,
634
634
  addDeferredWarning,
@@ -661,7 +661,7 @@ import {
661
661
  resolveContextWindow,
662
662
  resolveGeneratedAgentRole,
663
663
  stripKnownSwarmPrefix
664
- } from "./index-fv6eab1b.js";
664
+ } from "./index-rfcb9f54.js";
665
665
  import {
666
666
  AGENT_TOOL_MAP,
667
667
  ALL_AGENT_NAMES,
@@ -3463,7 +3463,7 @@ async function importLegacyPrWorkflowGateStateIfNeeded(directory, sessionID, all
3463
3463
  return null;
3464
3464
  throw error2;
3465
3465
  }
3466
- const legacy = allowSalvagedImport ? (await (await import("./pr-workflow-gate-wzatxzej.js")).readPrWorkflowGateStateForRecovery(directory, sessionID))?.state ?? null : await readPrWorkflowGateStateFileFromDisk(filePath, sessionID);
3466
+ const legacy = allowSalvagedImport ? (await (await import("./pr-workflow-gate-0fb280b2.js")).readPrWorkflowGateStateForRecovery(directory, sessionID))?.state ?? null : await readPrWorkflowGateStateFileFromDisk(filePath, sessionID);
3467
3467
  if (!legacy)
3468
3468
  return null;
3469
3469
  const namespace = workflowGateStateCoordinationNamespace(sessionID);
@@ -3597,7 +3597,7 @@ async function deleteStateWhileLocked(directory, sessionID, options = {}) {
3597
3597
  let recoveryState = null;
3598
3598
  if (!currentAuthoritative) {
3599
3599
  if (options.allowSalvagedRead) {
3600
- const { readPrWorkflowGateStateForRecovery } = await import("./pr-workflow-gate-wzatxzej.js");
3600
+ const { readPrWorkflowGateStateForRecovery } = await import("./pr-workflow-gate-0fb280b2.js");
3601
3601
  recoveryState = (await readPrWorkflowGateStateForRecovery(directory, normalizedSessionID))?.state ?? null;
3602
3602
  }
3603
3603
  if (!recoveryState) {
@@ -11390,7 +11390,7 @@ function isLaneOwnedByCurrentSession(branchName, expectedSessionId) {
11390
11390
  return extracted === expectedSessionId;
11391
11391
  }
11392
11392
  async function inspectStandardWorktreeCollisionOwnership(identity) {
11393
- const collisionOwnership = await import("./worktree-collision-ownership-cgvdsx3n.js");
11393
+ const collisionOwnership = await import("./worktree-collision-ownership-shtk6dsk.js");
11394
11394
  return collisionOwnership.inspectStandardWorktreeCollisionOwnership(identity);
11395
11395
  }
11396
11396
  async function runRecoveryGit(directory, args, timeoutMs = 15000) {
@@ -11818,7 +11818,7 @@ async function precreateStandardWorktreeSession(args) {
11818
11818
  const laneProfile = computeLaneRuntimeProfile(worktreeConfig.runtime_isolation, laneIndex, handle.worktreePath);
11819
11819
  if (laneProfile) {
11820
11820
  try {
11821
- const { writeLaneProfileToDiskReal } = await import("./core-sqqs0k1q.js");
11821
+ const { writeLaneProfileToDiskReal } = await import("./core-6hyt1hg6.js");
11822
11822
  await writeLaneProfileToDiskReal(handle.worktreePath, laneProfile.laneIndex, laneProfile.envOverrides);
11823
11823
  } catch {}
11824
11824
  }
@@ -12812,7 +12812,7 @@ async function finishStandardWorktreeDispatch(directory, dispatch, config, callI
12812
12812
  }
12813
12813
  clearWorktreeMergeStatus(statusKey);
12814
12814
  try {
12815
- const { removeLaneProfileFromDiskReal } = await import("./core-sqqs0k1q.js");
12815
+ const { removeLaneProfileFromDiskReal } = await import("./core-6hyt1hg6.js");
12816
12816
  await removeLaneProfileFromDiskReal(dispatch.handle.worktreePath, dispatch.laneIndex);
12817
12817
  } catch {}
12818
12818
  const state = serializationStateBySessionID.get(dispatch.parentSessionID);
@@ -26496,7 +26496,7 @@ function tokenizeCmdArguments(command) {
26496
26496
  function detectCmdRedirects(command) {
26497
26497
  const results = [];
26498
26498
  let inDoubleQuote = false;
26499
- const isTokenBoundary = (character) => character === undefined || /[\s&|()]/.test(character);
26499
+ const isTokenBoundary = (character) => character === undefined || /[;\s&|()]/.test(character);
26500
26500
  for (let index = 0;index < command.length; index++) {
26501
26501
  const character = command[index];
26502
26502
  if (character === "^" && !inDoubleQuote) {
@@ -27131,7 +27131,7 @@ var GUARDED_TOOLS = new Set([
27131
27131
  var selfDevelopmentWorkspaces = new Map;
27132
27132
 
27133
27133
  // src/hooks/guardrails/tool-before.ts
27134
- function resolveWindowsWriteAuthority(tool, command, detectedShellType, shaped) {
27134
+ function resolveWindowsWriteAuthority(tool, command, detectedShellType, shaped, platform = process.platform) {
27135
27135
  const cmdWrapper = CMD_WRAPPER_DECLARATION.test(command);
27136
27136
  const psWrapper = declaresWindowsWrapperLoose(command);
27137
27137
  const inheritedWindows = detectedShellType === "powershell" || detectedShellType === "cmd";
@@ -27139,7 +27139,8 @@ function resolveWindowsWriteAuthority(tool, command, detectedShellType, shaped)
27139
27139
  return "cmd";
27140
27140
  if (psWrapper || shaped)
27141
27141
  return "powershell";
27142
- if (inheritedWindows && tool !== "bash") {
27142
+ const posixShellTool = tool === "bash" || tool === "shell" && platform !== "win32";
27143
+ if (inheritedWindows && !posixShellTool) {
27143
27144
  return detectedShellType;
27144
27145
  }
27145
27146
  return null;
@@ -29245,7 +29246,7 @@ function clearCriticalShownIds(sessionID) {
29245
29246
  async function rehydratePrSubscriptions(sessionID, directory) {
29246
29247
  const map = new Map;
29247
29248
  try {
29248
- const { listActive: listActive2 } = await import("./pr-subscriptions-ya88xjph.js");
29249
+ const { listActive: listActive2 } = await import("./pr-subscriptions-mc2mvjkj.js");
29249
29250
  const records = await listActive2(directory);
29250
29251
  for (const record of records) {
29251
29252
  if (record.sessionID !== sessionID)
@@ -46281,9 +46282,9 @@ function hashContent(content) {
46281
46282
  return createHash29("sha1").update(content).digest("hex");
46282
46283
  }
46283
46284
  async function loadConfigForPolicyCurator(directory) {
46284
- const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-eppnz9vx.js");
46285
+ const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-q2v7px9y.js");
46285
46286
  try {
46286
- const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-a71vh07f.js");
46287
+ const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-hd3d7rcw.js");
46287
46288
  const { config: loadedConfig } = loadPluginConfigWithMeta2(directory);
46288
46289
  return KnowledgeConfigSchema2.parse(loadedConfig.knowledge ?? {});
46289
46290
  } catch {
@@ -49341,7 +49342,7 @@ async function resolveCuratorLLMDelegate(directory, mode, sessionId) {
49341
49342
  const seam = _internals50.createCuratorLLMDelegate;
49342
49343
  if (seam)
49343
49344
  return seam(directory, mode, sessionId);
49344
- const { createCuratorLLMDelegate } = await import("./curator-llm-factory-54v33gz2.js");
49345
+ const { createCuratorLLMDelegate } = await import("./curator-llm-factory-ykpty14a.js");
49345
49346
  return createCuratorLLMDelegate(directory, mode, sessionId);
49346
49347
  }
49347
49348
  async function reconcileCloseTerminalStateForPlan(directory, targetPlan, options) {
@@ -49736,7 +49737,7 @@ async function runFinalizeStage(ctx) {
49736
49737
  }
49737
49738
  }
49738
49739
  try {
49739
- const { CuratorConfigSchema: CCS } = await import("./schema-eppnz9vx.js");
49740
+ const { CuratorConfigSchema: CCS } = await import("./schema-q2v7px9y.js");
49740
49741
  const { config: pmLoadedConfig } = _internals50.loadPluginConfigWithMeta(ctx.directory);
49741
49742
  const curatorCfg = CCS.parse(pmLoadedConfig.curator ?? {});
49742
49743
  if (curatorCfg.enabled && curatorCfg.postmortem_enabled) {
@@ -53769,7 +53770,7 @@ function serializeAgentSession(s) {
53769
53770
  }
53770
53771
  async function writeSnapshot(directory, state) {
53771
53772
  try {
53772
- const { ensureSnapshotCoordinationReady } = await import("./snapshot-coordination-init-ne7q5x7q.js");
53773
+ const { ensureSnapshotCoordinationReady } = await import("./snapshot-coordination-init-9ekvft16.js");
53773
53774
  await ensureSnapshotCoordinationReady(directory);
53774
53775
  const snapshot = {
53775
53776
  version: 3,
@@ -56825,7 +56826,7 @@ function planMerges(active, threshold, maxComparisons, maxMerges) {
56825
56826
  };
56826
56827
  }
56827
56828
  async function sweepActiveNearDuplicates(directory, options = {}) {
56828
- const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-a71vh07f.js");
56829
+ const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-hd3d7rcw.js");
56829
56830
  const { config } = loadPluginConfigWithMeta2(directory);
56830
56831
  const sweepConfig = config.learning?.dedup_sweep;
56831
56832
  if (sweepConfig?.enabled === false)
@@ -57949,7 +57950,7 @@ async function runCuratorPhase(directory, phase, agentsDispatched, config, knowl
57949
57950
  }
57950
57951
  if (config.skill_generation_enabled === true && skillCandidates.length > 0) {
57951
57952
  try {
57952
- const skillModule = await import("./skill-generator-mvm55q78.js");
57953
+ const skillModule = await import("./skill-generator-30bjrvcc.js");
57953
57954
  for (const cand of skillCandidates) {
57954
57955
  if (cand.confidence < (config.min_skill_confidence ?? DEFAULT_SKILL_MIN_CONFIDENCE)) {
57955
57956
  continue;
@@ -58421,7 +58422,7 @@ async function applyCuratorKnowledgeUpdates(directory, recommendations, knowledg
58421
58422
  } catch {}
58422
58423
  }
58423
58424
  if (contradictedEntries.length > 0 && knowledgeConfig.contradiction_threshold_action === "quarantine") {
58424
- const { maybeQuarantineOnContradiction } = await import("./knowledge-escalator-rjcg7k03.js");
58425
+ const { maybeQuarantineOnContradiction } = await import("./knowledge-escalator-8hrnc4bd.js");
58425
58426
  for (const { id } of contradictedEntries) {
58426
58427
  try {
58427
58428
  await maybeQuarantineOnContradiction(directory, id, knowledgeConfig.contradiction_quarantine_threshold, knowledgeConfig.contradiction_quarantine_window_days);
@@ -59253,7 +59254,7 @@ async function runCuratorPostMortem(directory, options = {}) {
59253
59254
  warnings.push("Failed to collect knowledge summary.");
59254
59255
  }
59255
59256
  try {
59256
- const { getScanStatus } = await import("./scan-cursor-aygzmf34.js");
59257
+ const { getScanStatus } = await import("./scan-cursor-g74j6gcr.js");
59257
59258
  const scanStatus = await getScanStatus(directory);
59258
59259
  if (scanStatus.remaining_estimate > 0) {
59259
59260
  warnings.push(`Fair scan: reviewed ${knowledgeSummary.length} entries this sweep (generation ${scanStatus.generation}); ${scanStatus.remaining_estimate} more eligible entries will be visited in future curation sweeps.`);
@@ -59425,9 +59426,9 @@ var _internals72 = {
59425
59426
  verifyPostMortemKnowledgeActions,
59426
59427
  repairPostMortemActions,
59427
59428
  loadDefaultKnowledgeConfig: async (directory) => {
59428
- const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-eppnz9vx.js");
59429
+ const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-q2v7px9y.js");
59429
59430
  try {
59430
- const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-a71vh07f.js");
59431
+ const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-hd3d7rcw.js");
59431
59432
  const loaded = loadPluginConfigWithMeta2(directory);
59432
59433
  return KnowledgeConfigSchema2.parse(loaded.config.knowledge ?? {});
59433
59434
  } catch {
@@ -59435,11 +59436,11 @@ var _internals72 = {
59435
59436
  }
59436
59437
  },
59437
59438
  applyCuratorKnowledgeUpdates: async (directory, recommendations, knowledgeConfig, generation) => {
59438
- const { applyCuratorKnowledgeUpdates: applyCuratorKnowledgeUpdates2 } = await import("./curator-dm4nm95q.js");
59439
+ const { applyCuratorKnowledgeUpdates: applyCuratorKnowledgeUpdates2 } = await import("./curator-bzy7cess.js");
59439
59440
  return applyCuratorKnowledgeUpdates2(directory, recommendations, knowledgeConfig, generation);
59440
59441
  },
59441
59442
  checkHivePromotions: async (entries2, knowledgeConfig, directory) => {
59442
- const { checkHivePromotions } = await import("./hive-promoter-swgaebae.js");
59443
+ const { checkHivePromotions } = await import("./hive-promoter-vvgdsx8s.js");
59443
59444
  return checkHivePromotions(entries2, knowledgeConfig, directory);
59444
59445
  },
59445
59446
  applyProposalTriage: async (directory, triage) => {
@@ -59448,7 +59449,7 @@ var _internals72 = {
59448
59449
  activateProposal,
59449
59450
  listSkills: listSkills2,
59450
59451
  sanitizeSlug
59451
- } = await import("./skill-generator-mvm55q78.js");
59452
+ } = await import("./skill-generator-30bjrvcc.js");
59452
59453
  const result = {
59453
59454
  approved: [],
59454
59455
  rejected: [],
@@ -59490,7 +59491,7 @@ var _internals72 = {
59490
59491
  return result;
59491
59492
  },
59492
59493
  readPriorDriftReports: async (directory) => {
59493
- const { readPriorDriftReports: readPriorDriftReports2 } = await import("./curator-drift-0502msxm.js");
59494
+ const { readPriorDriftReports: readPriorDriftReports2 } = await import("./curator-drift-z83e3a60.js");
59494
59495
  return readPriorDriftReports2(directory);
59495
59496
  },
59496
59497
  readSwarmKnowledge: (directory) => readKnowledge(resolveSwarmKnowledgePath(directory))
@@ -69760,9 +69761,9 @@ var _internals80 = {
69760
69761
  loadPluginConfigWithMeta,
69761
69762
  loadCuratorDeps: async () => {
69762
69763
  const [{ CuratorConfigSchema }, curator, { createCuratorLLMDelegate }] = await Promise.all([
69763
- import("./schema-eppnz9vx.js"),
69764
- import("./curator-dm4nm95q.js"),
69765
- import("./curator-llm-factory-54v33gz2.js")
69764
+ import("./schema-q2v7px9y.js"),
69765
+ import("./curator-bzy7cess.js"),
69766
+ import("./curator-llm-factory-ykpty14a.js")
69766
69767
  ]);
69767
69768
  return { CuratorConfigSchema, curator, createCuratorLLMDelegate };
69768
69769
  }
@@ -72212,7 +72213,7 @@ async function computeCurationDiagnostics(directory, entries2) {
72212
72213
  let scanCompleted = false;
72213
72214
  let scanRemaining = 0;
72214
72215
  try {
72215
- const { getScanStatus } = await import("./scan-cursor-aygzmf34.js");
72216
+ const { getScanStatus } = await import("./scan-cursor-g74j6gcr.js");
72216
72217
  const status = await getScanStatus(directory);
72217
72218
  scanGeneration = status.generation;
72218
72219
  scanCompleted = status.completed;
@@ -72222,10 +72223,10 @@ async function computeCurationDiagnostics(directory, entries2) {
72222
72223
  try {
72223
72224
  const { isLinked: isLinked2 } = await import("./knowledge-link-5qt3pe5v.js");
72224
72225
  if (isLinked2(directory)) {
72225
- const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-eppnz9vx.js");
72226
+ const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-q2v7px9y.js");
72226
72227
  let config;
72227
72228
  try {
72228
- const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-a71vh07f.js");
72229
+ const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-hd3d7rcw.js");
72229
72230
  const loaded = loadPluginConfigWithMeta2(directory);
72230
72231
  config = KnowledgeConfigSchema2.parse(loaded.config.knowledge ?? {});
72231
72232
  } catch {
@@ -73681,7 +73682,7 @@ async function handleDoctorCommand(directory, args) {
73681
73682
  const result = runConfigDoctor(config, directory, planParallelizationEnabled);
73682
73683
  let output;
73683
73684
  if (enableAutoFix && result.hasAutoFixableIssues) {
73684
- const { runConfigDoctorWithFixes } = await import("./config-doctor-06jwks34.js");
73685
+ const { runConfigDoctorWithFixes } = await import("./config-doctor-6w105xpy.js");
73685
73686
  const fixResult = await runConfigDoctorWithFixes(directory, config, true, {
73686
73687
  applyLossy: true
73687
73688
  });
@@ -73719,7 +73720,7 @@ async function handleDoctorCommand(directory, args) {
73719
73720
  `;
73720
73721
  }
73721
73722
  try {
73722
- const { runModelPreflight } = await import("./model-preflight-g7yhtdrp.js");
73723
+ const { runModelPreflight } = await import("./model-preflight-1tsaksc7.js");
73723
73724
  const preflight = await runModelPreflight(config, swarmState.opencodeClient, { generatedAgentNames: swarmState.generatedAgentNames });
73724
73725
  const missingSelection = preflight.resolutions.filter((resolution) => resolution.status === "missing-selection");
73725
73726
  const unresolved = preflight.catalogAvailable ? preflight.resolutions.filter((resolution) => resolution.status === "unresolved") : [];
@@ -73753,7 +73754,7 @@ async function handleDoctorCommand(directory, args) {
73753
73754
  }
73754
73755
  } catch {}
73755
73756
  try {
73756
- const { renderKnowledgeReceiptPhaseIdSection } = await import("./doctor-knowledge-receipt-phase-id-zm56sg6v.js");
73757
+ const { renderKnowledgeReceiptPhaseIdSection } = await import("./doctor-knowledge-receipt-phase-id-8av1860z.js");
73757
73758
  output += await renderKnowledgeReceiptPhaseIdSection(directory, enableAutoFix);
73758
73759
  } catch {}
73759
73760
  const strayDirs = detectStraySwarmDirs(directory);
@@ -75770,7 +75771,7 @@ async function handleEvidenceCommand(directory, args) {
75770
75771
  return formatTaskEvidenceMarkdown(evidenceData);
75771
75772
  }
75772
75773
  async function handleEvidenceSummaryCommand(directory) {
75773
- const { buildEvidenceSummary } = await import("./evidence-summary-service-ejmywz5a.js");
75774
+ const { buildEvidenceSummary } = await import("./evidence-summary-service-ym7y7w5k.js");
75774
75775
  const artifact = await buildEvidenceSummary(directory);
75775
75776
  if (!artifact) {
75776
75777
  return "No plan found. Run `/swarm plan` to check plan status.";
@@ -100239,7 +100240,7 @@ function createCuratorLLMDelegate(directory, mode = "init", sessionId) {
100239
100240
  }
100240
100241
  const sdkOpts = signal ? { signal } : {};
100241
100242
  try {
100242
- const { getSwarmAgents: getSwarmAgents2, resolveFallbackModel: resolveFallbackModel2 } = await import("./index-f0hpw2f8.js");
100243
+ const { getSwarmAgents: getSwarmAgents2, resolveFallbackModel: resolveFallbackModel2 } = await import("./index-whmby20t.js");
100243
100244
  const createResult = await client.session.create({
100244
100245
  ...sessionId ? {
100245
100246
  body: {
@@ -102337,7 +102338,7 @@ async function cancelPrFeedbackLoopUnlocked(directory, sessionID, reason) {
102337
102338
  clearedEvents: []
102338
102339
  };
102339
102340
  try {
102340
- const { cancelPrFeedbackPublication: cancelPrFeedbackPublication2 } = await import("./pr-workflow-gate-wzatxzej.js");
102341
+ const { cancelPrFeedbackPublication: cancelPrFeedbackPublication2 } = await import("./pr-workflow-gate-0fb280b2.js");
102341
102342
  await cancelPrFeedbackPublication2(directory, sessionID, reason);
102342
102343
  } catch (err) {
102343
102344
  warn(`[pr-feedback-loop] cancelPrFeedbackPublication failed (fail-open): ${err instanceof Error ? err.message : String(err)}`);
@@ -118822,7 +118823,7 @@ function buildDetailedHelp(commandName, entry) {
118822
118823
  async function handleHelpCommand(ctx) {
118823
118824
  const targetCommand = ctx.args.join(" ");
118824
118825
  if (!targetCommand) {
118825
- const { buildHelpText } = await import("./index-pfwhq6p5.js");
118826
+ const { buildHelpText } = await import("./index-5h5tj8wc.js");
118826
118827
  return buildHelpText();
118827
118828
  }
118828
118829
  const tokens = targetCommand.split(/\s+/);
@@ -118836,7 +118837,7 @@ async function handleHelpCommand(ctx) {
118836
118837
  > Note: \`/swarm ${resolved.key}\` is a deprecated alias for \`/swarm ${aliasTarget}\`.` : detailed;
118837
118838
  }
118838
118839
  const similar = _internals39.findSimilarCommands(targetCommand);
118839
- const { buildHelpText: fullHelp } = await import("./index-pfwhq6p5.js");
118840
+ const { buildHelpText: fullHelp } = await import("./index-5h5tj8wc.js");
118840
118841
  if (similar.length > 0) {
118841
118842
  return `Command '/swarm ${targetCommand}' not found.
118842
118843
 
@@ -119164,7 +119165,7 @@ var COMMAND_REGISTRY = {
119164
119165
  },
119165
119166
  "guardrail explain": {
119166
119167
  handler: async (ctx) => {
119167
- const { handleGuardrailExplain } = await import("./guardrail-explain-0z5cyah2.js");
119168
+ const { handleGuardrailExplain } = await import("./guardrail-explain-1ethgkvp.js");
119168
119169
  return handleGuardrailExplain(ctx.directory, ctx.args);
119169
119170
  },
119170
119171
  description: "Dry-run: show what the guardrails would do to a command or write target (executes nothing)",
@@ -119174,7 +119175,7 @@ var COMMAND_REGISTRY = {
119174
119175
  },
119175
119176
  "guardrail reset": {
119176
119177
  handler: async (ctx) => {
119177
- const { handleGuardrailReset } = await import("./guardrail-reset-4zrb40d3.js");
119178
+ const { handleGuardrailReset } = await import("./guardrail-reset-cqq3yk9s.js");
119178
119179
  return handleGuardrailReset(ctx.args, ctx.sessionID);
119179
119180
  },
119180
119181
  description: "Reset one exact active invocation/action circuit after repair",
@@ -119195,7 +119196,7 @@ var COMMAND_REGISTRY = {
119195
119196
  },
119196
119197
  "guardrail-log": {
119197
119198
  handler: async (ctx) => {
119198
- const { handleGuardrailLog } = await import("./guardrail-log-yjbyf5sc.js");
119199
+ const { handleGuardrailLog } = await import("./guardrail-log-4f0jxq61.js");
119199
119200
  return handleGuardrailLog(ctx.directory, ctx.args);
119200
119201
  },
119201
119202
  description: "Read the guardrail decision log (use --blocks-only for blocks)",
@@ -12,7 +12,7 @@ import {
12
12
  readTaskEvidence,
13
13
  readTaskEvidenceRaw,
14
14
  sanitizeTaskId
15
- } from "./index-z127nfqd.js";
15
+ } from "./index-5hbb3088.js";
16
16
  import {
17
17
  readSwarmFileAsync,
18
18
  validateSwarmPath