opencode-swarm 7.154.1 → 7.154.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 (68) hide show
  1. package/dist/background/completion-observer.d.ts +10 -1
  2. package/dist/background/pending-delegations.d.ts +47 -0
  3. package/dist/cli/coder-settlement-xqs49g07.js +54 -0
  4. package/dist/cli/{config-doctor-keasv3r8.js → config-doctor-69eebk90.js} +2 -2
  5. package/dist/cli/{core-7aj5g3f4.js → core-dyp14hcb.js} +2 -2
  6. package/dist/cli/{curation-policy-a6tve11y.js → curation-policy-jm9jsxtt.js} +4 -4
  7. package/dist/cli/curator-drift-h57z6tm3.js +1 -1
  8. package/dist/cli/{curator-anz136hr.js → curator-he8n9z9n.js} +32 -30
  9. package/dist/cli/{curator-llm-factory-cr5ckwbd.js → curator-llm-factory-5tq9c4v5.js} +32 -30
  10. package/dist/cli/{evidence-summary-service-6tgme7p3.js → evidence-summary-service-05s5y8d6.js} +10 -10
  11. package/dist/cli/{gate-evidence-36nfx4vb.js → gate-evidence-3ptr9af3.js} +5 -5
  12. package/dist/cli/{guardrail-explain-frb5xd5h.js → guardrail-explain-tebk344k.js} +33 -31
  13. package/dist/cli/{guardrail-log-fvma65xm.js → guardrail-log-x3gz3x17.js} +3 -3
  14. package/dist/cli/{guardrail-reset-3qk6k334.js → guardrail-reset-716pdyf5.js} +32 -30
  15. package/dist/cli/{hive-promoter-v3dhtzfa.js → hive-promoter-nvwpj2t9.js} +32 -30
  16. package/dist/cli/{index-155pbsan.js → index-07n87ctw.js} +1 -1
  17. package/dist/cli/{index-2ppbt5cf.js → index-14bz2t7b.js} +1 -1
  18. package/dist/cli/{index-zak84bqr.js → index-2w6vy9a9.js} +1 -1
  19. package/dist/cli/{index-3md256qr.js → index-399e8aze.js} +1 -1
  20. package/dist/cli/{index-garsang6.js → index-4xqa0sgz.js} +1 -1
  21. package/dist/cli/{index-fz9xcq6z.js → index-57t97rtr.js} +1 -1
  22. package/dist/cli/{index-qm8b3aaj.js → index-6qwp46k0.js} +3 -3
  23. package/dist/cli/{index-akm1dbr9.js → index-6rcx6vr6.js} +4 -4
  24. package/dist/cli/{index-bmkxc6sa.js → index-6rns7b2m.js} +1 -1
  25. package/dist/cli/{index-97q41ds3.js → index-7tw116n6.js} +2 -2
  26. package/dist/cli/{index-9znypky4.js → index-8v69hfpt.js} +2 -2
  27. package/dist/cli/index-9avdncr2.js +875 -0
  28. package/dist/cli/{index-r0yavfvm.js → index-bxvkn0ye.js} +2276 -2915
  29. package/dist/cli/index-ddszzne4.js +42 -0
  30. package/dist/cli/{index-xsbf2mmf.js → index-dm9tc6qb.js} +7 -7
  31. package/dist/cli/{index-0vss7vdg.js → index-dsqat5pg.js} +1 -1
  32. package/dist/cli/{index-4r46q7tk.js → index-f6qmar4k.js} +5 -5
  33. package/dist/cli/{index-tmgbwgsm.js → index-fv9ddfta.js} +1 -1
  34. package/dist/cli/{index-107cv0dr.js → index-j6q3k628.js} +1 -1
  35. package/dist/cli/{index-c809a69b.js → index-kemxyzc0.js} +1 -1
  36. package/dist/cli/{index-sx5f2fq9.js → index-mnxtkt8s.js} +4 -4
  37. package/dist/cli/{index-wmxke5se.js → index-n0gqre56.js} +6 -6
  38. package/dist/cli/{index-9xev69y4.js → index-nh4axsxc.js} +227 -1
  39. package/dist/cli/{index-50cy1a3p.js → index-p7ey2w90.js} +5 -5
  40. package/dist/cli/{index-1sjnqsc8.js → index-pj2nycpg.js} +1 -1
  41. package/dist/cli/{index-9wzgztj9.js → index-r0dactw2.js} +1 -1
  42. package/dist/cli/{index-wxpemcdj.js → index-v2ryvr8k.js} +34 -32
  43. package/dist/cli/{index-yy4yps8w.js → index-v9585wjc.js} +2 -2
  44. package/dist/cli/{index-wqp8kk0w.js → index-vhhdj49x.js} +7 -7
  45. package/dist/cli/{index-y7gyhe13.js → index-xq2v52tt.js} +1 -1
  46. package/dist/cli/{index-h7pamys0.js → index-xt6jx41g.js} +4 -4
  47. package/dist/cli/{index-p17hs70t.js → index-ynvw5kxc.js} +2 -2
  48. package/dist/cli/index.js +32 -30
  49. package/dist/cli/{knowledge-escalator-1gjv97hj.js → knowledge-escalator-s0tye368.js} +10 -10
  50. package/dist/cli/{knowledge-events-94hfvp85.js → knowledge-events-eyy9yf6b.js} +8 -8
  51. package/dist/cli/{knowledge-link-fs8hgh4h.js → knowledge-link-rb11f06y.js} +3 -3
  52. package/dist/cli/{knowledge-store-g7grbt7h.js → knowledge-store-zjq5mz2d.js} +4 -4
  53. package/dist/cli/{knowledge-validator-ep0ym1e4.js → knowledge-validator-yw5qqqpd.js} +6 -6
  54. package/dist/cli/{pending-delegations-0pf2dtwx.js → pending-delegations-rdzjq3nw.js} +14 -1
  55. package/dist/cli/{pr-subscriptions-e70phj71.js → pr-subscriptions-2f5fne6z.js} +2 -2
  56. package/dist/cli/{runner-b7pskcxb.js → runner-yaqrj388.js} +4 -4
  57. package/dist/cli/{scan-cursor-8zps8v46.js → scan-cursor-8f0s883y.js} +5 -5
  58. package/dist/cli/{schema-8sx9jp7v.js → schema-2xw94dh3.js} +1 -1
  59. package/dist/cli/{scope-persistence-zacyjnx9.js → scope-persistence-tap2q94x.js} +6 -6
  60. package/dist/cli/{skill-generator-xs5n5j4k.js → skill-generator-2xbfryqb.js} +12 -12
  61. package/dist/cli/{worktree-collision-ownership-yjk5ya71.js → worktree-collision-ownership-5gwey8ms.js} +8 -7
  62. package/dist/cli/{worktree-isolation-cpf6b8ns.js → worktree-isolation-xsy14t5a.js} +32 -30
  63. package/dist/evaluation/contracts.d.ts +4 -4
  64. package/dist/evaluation/gate-ground-truth.d.ts +1 -1
  65. package/dist/index.js +523 -523
  66. package/dist/utils/canonical-root.d.ts +2 -0
  67. package/dist/workflow/coder-settlement.d.ts +14 -0
  68. package/package.json +1 -1
@@ -21,6 +21,8 @@
21
21
  */
22
22
  export declare const SESSION_KEY_SEPARATOR: string;
23
23
  export declare function canonicalRootKey(directory: string): string;
24
+ /** Resolve a root without consulting the bounded memoized cache. */
25
+ export declare function canonicalRootKeyFresh(directory: string): string;
24
26
  /** Composite map key: canonical root + NUL + session id. */
25
27
  export declare function compositeSessionKey(directory: string, sessionId: string): string;
26
28
  /**
@@ -41,6 +41,20 @@ export declare function abortCoderSettlement(options: {
41
41
  transitionId: string;
42
42
  reason: string;
43
43
  }): Promise<'aborted' | 'not-dispatched' | 'already-aborted'>;
44
+ /**
45
+ * Retire a foreground coder-settlement WAL after the host has durably
46
+ * reclassified the same Task call as background work.
47
+ *
48
+ * The background delegation record becomes the sole mutation and physical
49
+ * worktree owner. `cleanupComplete: true` therefore means this legacy WAL has
50
+ * no remaining cleanup responsibility; this function deliberately performs
51
+ * no merge, deletion, or worktree cleanup itself.
52
+ */
53
+ export declare function transferCoderSettlementToBackground(options: {
54
+ directory: string;
55
+ taskId: string;
56
+ transitionId: string;
57
+ }): Promise<'transferred' | 'missing' | 'already-terminal'>;
44
58
  /**
45
59
  * Abort a DISPATCHED settlement only when its own recorded launch baseline
46
60
  * was structurally attribution-doomed (non-git or dirty at dispatch — the
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "opencode-swarm",
3
- "version": "7.154.1",
3
+ "version": "7.154.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",