opencode-swarm 7.197.0 → 7.197.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 (73) 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-s05sxmg6.js → auto-checkpoint-6qp3jn7f.js} +4 -4
  4. package/dist/cli/{checkpoint-kzyy9b7y.js → checkpoint-qe10m65d.js} +8 -8
  5. package/dist/cli/{coder-settlement-d1qqfgdm.js → coder-settlement-ry7zxj9v.js} +3 -3
  6. package/dist/cli/{config-doctor-yrven0ya.js → config-doctor-vcjcdf3f.js} +7 -7
  7. package/dist/cli/{core-qpmksfae.js → core-czytse6q.js} +1 -1
  8. package/dist/cli/{curator-mqnqst1g.js → curator-0wa5gjc8.js} +25 -25
  9. package/dist/cli/{curator-drift-2h6nf0mw.js → curator-drift-vf2egpr8.js} +5 -5
  10. package/dist/cli/{curator-llm-factory-kt3jhgs9.js → curator-llm-factory-k4f4c61r.js} +25 -25
  11. package/dist/cli/{doctor-knowledge-receipt-phase-id-d8arz38j.js → doctor-knowledge-receipt-phase-id-tkjsgcp6.js} +4 -4
  12. package/dist/cli/{evidence-summary-service-gjs4zssz.js → evidence-summary-service-p9wx1m45.js} +9 -9
  13. package/dist/cli/{gate-evidence-9n5r17hq.js → gate-evidence-bfmc23yw.js} +2 -2
  14. package/dist/cli/{guardrail-explain-g4wcr664.js → guardrail-explain-vv4c5b39.js} +26 -26
  15. package/dist/cli/{guardrail-log-0hy23f7d.js → guardrail-log-dtkzgxz8.js} +3 -3
  16. package/dist/cli/{guardrail-reset-9z5rmp3f.js → guardrail-reset-pbcfymhq.js} +25 -25
  17. package/dist/cli/{hive-promoter-w8f840ah.js → hive-promoter-g2sngbc0.js} +25 -25
  18. package/dist/cli/{index-g1r94prs.js → index-15j2cze3.js} +27 -27
  19. package/dist/cli/{index-1gnrtz76.js → index-1x9ybm51.js} +5 -5
  20. package/dist/cli/{index-njfkqr77.js → index-23kb8srf.js} +3 -3
  21. package/dist/cli/{index-ng6me2hh.js → index-2vtr85p8.js} +2 -2
  22. package/dist/cli/{index-dgvf1jey.js → index-5fzc5krd.js} +1 -1
  23. package/dist/cli/{index-401a12w5.js → index-65n2ccy2.js} +1 -1
  24. package/dist/cli/{index-29xr45xr.js → index-6ayj4y71.js} +3 -3
  25. package/dist/cli/{index-bpnpvhja.js → index-afrdvad3.js} +1 -1
  26. package/dist/cli/{index-mbdkr2sh.js → index-e21b8sjj.js} +1 -1
  27. package/dist/cli/{index-8ahnfc03.js → index-evpq5mqt.js} +2 -2
  28. package/dist/cli/{index-ysbmrmzk.js → index-fz45trs6.js} +1 -1
  29. package/dist/cli/{index-9sqcmzc2.js → index-gw7nkn2q.js} +2 -2
  30. package/dist/cli/{index-eabxecjf.js → index-h5g0nyy8.js} +2 -2
  31. package/dist/cli/{index-1cks27mv.js → index-mk15vyfe.js} +6 -6
  32. package/dist/cli/{index-67w61x1b.js → index-n06vxt1k.js} +3 -3
  33. package/dist/cli/{index-xb3h5tvj.js → index-n0ghdmvx.js} +4 -4
  34. package/dist/cli/{index-8zwmfh9d.js → index-nhz85frs.js} +1 -1
  35. package/dist/cli/{index-v8jhmn8x.js → index-ntr6263n.js} +1 -1
  36. package/dist/cli/{index-20m9q2z9.js → index-pnbcknzr.js} +1 -1
  37. package/dist/cli/{index-t3tzk566.js → index-ptxtqhwv.js} +1 -1
  38. package/dist/cli/{index-g749xs7c.js → index-q267bpej.js} +2 -2
  39. package/dist/cli/{index-jvpvghyh.js → index-rbevpmff.js} +148 -75
  40. package/dist/cli/{index-avbvxmw2.js → index-sx4brx0w.js} +1 -1
  41. package/dist/cli/{index-9px1knpj.js → index-tbm7q03h.js} +1 -1
  42. package/dist/cli/{index-jvzfw0n5.js → index-xa7ak8ss.js} +1 -1
  43. package/dist/cli/{index-agvmmvdt.js → index-xg9t03dg.js} +25 -25
  44. package/dist/cli/{index-xf6tdsyr.js → index-xq0w60za.js} +3 -3
  45. package/dist/cli/{index-fzx1wfxn.js → index-z7zk3enh.js} +1 -1
  46. package/dist/cli/{index-3qqnz0jg.js → index-zh1dmz46.js} +3 -3
  47. package/dist/cli/{index-5p0jhn2s.js → index-ztchs2p8.js} +1 -1
  48. package/dist/cli/index.js +26 -26
  49. package/dist/cli/{knowledge-escalator-42cvn0ec.js → knowledge-escalator-pad570yc.js} +7 -7
  50. package/dist/cli/{knowledge-events-v0xavjkd.js → knowledge-events-gx3x4wfs.js} +5 -5
  51. package/dist/cli/{knowledge-store-s01cread.js → knowledge-store-me6bx879.js} +1 -1
  52. package/dist/cli/{knowledge-validator-kvtcqpke.js → knowledge-validator-qykag9de.js} +2 -2
  53. package/dist/cli/{mcp-ff73w9z7.js → mcp-bn8qx2m6.js} +1 -1
  54. package/dist/cli/{model-preflight-0k8bd388.js → model-preflight-5pjf9jd2.js} +25 -25
  55. package/dist/cli/{pending-delegations-bmj7djk1.js → pending-delegations-5w5f18wt.js} +2 -2
  56. package/dist/cli/{pr-subscriptions-9dbrw7ky.js → pr-subscriptions-psecfgcz.js} +1 -1
  57. package/dist/cli/{pr-workflow-gate-wg003fkd.js → pr-workflow-gate-g8q09z1c.js} +25 -25
  58. package/dist/cli/{scan-cursor-d93q0q3s.js → scan-cursor-w0w1axgk.js} +2 -2
  59. package/dist/cli/{schema-0ny9ef6s.js → schema-yav9fk87.js} +1 -1
  60. package/dist/cli/{scope-persistence-ekcfq34x.js → scope-persistence-4wakfabk.js} +5 -5
  61. package/dist/cli/{server-rpx7pkg1.js → server-y8c23gcg.js} +25 -25
  62. package/dist/cli/{skill-generator-h1w7s5dh.js → skill-generator-ddrq8e52.js} +8 -8
  63. package/dist/cli/{snapshot-coordination-init-f6ecsn9c.js → snapshot-coordination-init-ckz8tz0b.js} +25 -25
  64. package/dist/cli/{speckit-checkoff-kf0zkpdw.js → speckit-checkoff-789etrtx.js} +3 -3
  65. package/dist/cli/{worktree-collision-ownership-p7zmj4ag.js → worktree-collision-ownership-yv7y35wq.js} +2 -2
  66. package/dist/cli/{worktree-isolation-nz90xvw5.js → worktree-isolation-5tebr6z1.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/hooks/pr-workflow-gate.d.ts +12 -0
  70. package/dist/hooks/pr-workflow-response-gate.d.ts +8 -0
  71. package/dist/index.js +10 -10
  72. package/dist/pr-review/persistence.d.ts +18 -1
  73. package/package.json +1 -1
@@ -83,7 +83,7 @@ export interface PrReviewStateCodec<S extends PrWorkflowPersistedStateBase> {
83
83
  };
84
84
  parse: (data: unknown) => S;
85
85
  }
86
- export declare function bindPrReviewStateCodec<S extends PrWorkflowPersistedStateBase>(nextCodec: PrReviewStateCodec<S>): void;
86
+ export declare function bindPrReviewStateCodec<S extends PrWorkflowPersistedStateBase>(nextCodec: PrReviewStateCodec<S>, nextObservabilityFieldNames: ReadonlyArray<keyof S & string>): void;
87
87
  export declare function ensurePrWorkflowSafeParentDirectory(directory: string, filePath: string): Promise<string>;
88
88
  export declare function writeAtomicJson(directory: string, filePath: string, value: unknown): Promise<void>;
89
89
  /**
@@ -124,6 +124,23 @@ export declare function readPrWorkflowGateStateCoordinationForRecovery<S extends
124
124
  export declare function writeStateWhileLocked<S extends PrWorkflowPersistedStateBase>(directory: string, state: S, options?: {
125
125
  replaceWorkflowInstanceId?: string;
126
126
  }): Promise<S>;
127
+ /**
128
+ * Issue #3199: persist one observability-only state change (a rejection-
129
+ * journal or advisory append) WITHOUT advancing the state machine's durable
130
+ * revision, so a journaled rejection can never trip a concurrent gate
131
+ * operation's revision CAS (`completePrWorkflow`'s readiness compare, the
132
+ * terminal-clear compare, or the write CAS itself). Same lock contract as
133
+ * `writeStateWhileLocked` — the caller holds the per-session mutation lock
134
+ * and re-reads the durable state inside it; this function never locks. The
135
+ * coordination row is still CAS-written (`expectedRevision`) and its own
136
+ * row revision still advances, so the cross-process backstop is unchanged;
137
+ * only the state-machine generation the CAS compares stays put. Callers must
138
+ * change ONLY observability fields (`updatedAt` plus fields registered via
139
+ * `bindPrReviewStateCodec`) relative to the durable state — never
140
+ * state-machine semantics. This is RUNTIME-ENFORCED: a payload that also
141
+ * mutates any other field is rejected with BLOCKED.
142
+ */
143
+ export declare function appendObservabilityStateWhileLocked<S extends PrWorkflowPersistedStateBase>(directory: string, state: S): Promise<S>;
127
144
  /** Remove authoritative PR workflow state while the session mutation lock is held. */
128
145
  export declare function deleteStateWhileLocked(directory: string, sessionID: string, options?: {
129
146
  expectedStateRevision?: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "opencode-swarm",
3
- "version": "7.197.0",
3
+ "version": "7.197.2",
4
4
  "description": "Architect-centric agentic swarm plugin for OpenCode - hub-and-spoke orchestration with SME consultation, code generation, and QA review",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",