opencode-swarm 7.185.0 → 7.185.1

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 (93) hide show
  1. package/README.md +5 -1
  2. package/binaries/win32-arm64/swarm-sandbox-runner.exe +0 -0
  3. package/binaries/win32-x64/swarm-sandbox-runner.exe +0 -0
  4. package/dist/background/pr-review-trigger-receipt-reader.d.ts +35 -0
  5. package/dist/cli/{auto-checkpoint-adn8bg66.js → auto-checkpoint-2jecngee.js} +7 -7
  6. package/dist/cli/{checkpoint-dvyx8gee.js → checkpoint-qm05wdbh.js} +14 -14
  7. package/dist/cli/{coder-settlement-95dv9r28.js → coder-settlement-56prayae.js} +10 -10
  8. package/dist/cli/{config-doctor-f2jtx8y5.js → config-doctor-3b99vx74.js} +2 -2
  9. package/dist/cli/{core-xn2epqfk.js → core-cxnqsrxp.js} +3 -3
  10. package/dist/cli/{curation-policy-swnyg1jr.js → curation-policy-ytzwb080.js} +4 -4
  11. package/dist/cli/{curator-91rqz7xg.js → curator-5k3mktpe.js} +39 -39
  12. package/dist/cli/{curator-drift-qem70sry.js → curator-drift-dt4g79a4.js} +8 -8
  13. package/dist/cli/curator-llm-factory-hkk29g2y.js +81 -0
  14. package/dist/cli/{evidence-summary-service-n7ndpen0.js → evidence-summary-service-8e2fghz0.js} +17 -17
  15. package/dist/cli/{gate-evidence-ajh95p02.js → gate-evidence-vk8rebsx.js} +5 -5
  16. package/dist/cli/guardrail-explain-ma658hkw.js +82 -0
  17. package/dist/cli/{guardrail-log-b23sf549.js → guardrail-log-m6mydjet.js} +6 -6
  18. package/dist/cli/{guardrail-reset-e6njf0hv.js → guardrail-reset-w41yndke.js} +39 -39
  19. package/dist/cli/{hive-promoter-8dqvfwsx.js → hive-promoter-400xzdds.js} +39 -39
  20. package/dist/cli/{index-26nhk01d.js → index-07bk0zm9.js} +1 -1
  21. package/dist/cli/{index-sz755xt1.js → index-1fc5aj26.js} +1 -1
  22. package/dist/cli/{index-s0c1wxtt.js → index-2b3bgm20.js} +1 -1
  23. package/dist/cli/{index-zxm9h19f.js → index-2c6e1p7j.js} +3 -3
  24. package/dist/cli/{index-gemq38en.js → index-373880cv.js} +1 -1
  25. package/dist/cli/{index-cah5ffkh.js → index-5n08z6qj.js} +5 -5
  26. package/dist/cli/{index-62z1vsvf.js → index-62akgg9d.js} +1 -1
  27. package/dist/cli/{index-h5f5q60s.js → index-6sffjy74.js} +1 -1
  28. package/dist/cli/{index-m7g4dsr4.js → index-6wqv8f7d.js} +5 -5
  29. package/dist/cli/{index-s5xmvt3k.js → index-74yxwf8y.js} +1 -1
  30. package/dist/cli/{index-v5k5jw0r.js → index-7jt24hpz.js} +2 -2
  31. package/dist/cli/{index-9am1ry6w.js → index-7n3h39h9.js} +7 -7
  32. package/dist/cli/{index-97nbaxye.js → index-8nsjefpc.js} +1 -1
  33. package/dist/cli/{index-1zpgtnhp.js → index-9g61bfj9.js} +1 -1
  34. package/dist/cli/{index-vfr3z9rv.js → index-9h93zjm3.js} +1 -1
  35. package/dist/cli/{index-t9jr6zc7.js → index-afmyp3kt.js} +1 -1
  36. package/dist/cli/{index-qccnny3g.js → index-cnbpht7m.js} +3 -3
  37. package/dist/cli/{index-qqjqpmhj.js → index-cp2nerjd.js} +5 -5
  38. package/dist/cli/{index-hx9vyvx0.js → index-dryhmaft.js} +3 -3
  39. package/dist/cli/{index-359w27b1.js → index-dz5cbkrm.js} +4 -4
  40. package/dist/cli/{index-2tv5zp9x.js → index-ek5gvpvm.js} +7 -7
  41. package/dist/cli/{index-djen6c7q.js → index-ekyg4p8b.js} +1 -1
  42. package/dist/cli/{index-f3grtpy3.js → index-fa014mra.js} +3 -3
  43. package/dist/cli/{index-zkm995wa.js → index-hgfkcb1q.js} +162 -114
  44. package/dist/cli/{index-e5wczpj3.js → index-m1bhg85z.js} +2 -2
  45. package/dist/cli/{index-7jqnckzg.js → index-nen885g8.js} +1 -1
  46. package/dist/cli/{index-rcx4kb02.js → index-nhw5rt5x.js} +4 -4
  47. package/dist/cli/{index-2e7h9yw5.js → index-nw16apxs.js} +5 -5
  48. package/dist/cli/{index-tmd5j8kh.js → index-pa6fzbms.js} +4 -4
  49. package/dist/cli/{index-rp0pyywc.js → index-ppj5bjaq.js} +7 -7
  50. package/dist/cli/{index-6wy9m25t.js → index-pppjg0ct.js} +10 -10
  51. package/dist/cli/{index-fkzv0hj4.js → index-r9zc92pb.js} +41 -41
  52. package/dist/cli/{index-w7sftxdy.js → index-rr1dggfe.js} +1 -1
  53. package/dist/cli/{index-73vnyt4b.js → index-rtznwf0g.js} +39 -39
  54. package/dist/cli/{index-3fnpjy4g.js → index-s68z4a39.js} +2 -2
  55. package/dist/cli/{index-n0wyd905.js → index-s7va6n84.js} +3 -3
  56. package/dist/cli/{index-erv39311.js → index-smwybqka.js} +2 -2
  57. package/dist/cli/{index-gxjy9y0t.js → index-ss6b8jpz.js} +2 -2
  58. package/dist/cli/{index-yg15df3b.js → index-vqz0avr4.js} +2 -2
  59. package/dist/cli/{index-p544ppcp.js → index-xgdypzch.js} +1 -1
  60. package/dist/cli/{index-4ysdy8sx.js → index-ycqsnfd1.js} +4 -4
  61. package/dist/cli/{index-580t912d.js → index-yj7etak0.js} +1 -1
  62. package/dist/cli/{index-fmxty2h3.js → index-zt3taseq.js} +2 -2
  63. package/dist/cli/{index-zyz0xp2b.js → index-zxck9sr7.js} +1 -1
  64. package/dist/cli/index.js +40 -40
  65. package/dist/cli/{knowledge-escalator-xdz6vg62.js → knowledge-escalator-30bb9fyg.js} +11 -11
  66. package/dist/cli/{knowledge-events-dnca00ye.js → knowledge-events-gfbx97x0.js} +9 -9
  67. package/dist/cli/{knowledge-link-y653vvr8.js → knowledge-link-dv78fb9g.js} +3 -3
  68. package/dist/cli/{knowledge-store-yc20na25.js → knowledge-store-2ssd489f.js} +4 -4
  69. package/dist/cli/{knowledge-validator-c2kfrqdy.js → knowledge-validator-7bxvezgv.js} +6 -6
  70. package/dist/cli/{mcp-mefjep3p.js → mcp-apr65eya.js} +1 -1
  71. package/dist/cli/{model-preflight-5xcxc75n.js → model-preflight-g7b12yn2.js} +39 -39
  72. package/dist/cli/{pending-delegations-emhmdkn4.js → pending-delegations-x8q7cxr7.js} +10 -10
  73. package/dist/cli/{pr-subscriptions-amc1z05d.js → pr-subscriptions-qwr6ybcb.js} +10 -10
  74. package/dist/cli/{pr-workflow-gate-gpq41zx9.js → pr-workflow-gate-qd5tfkak.js} +39 -39
  75. package/dist/cli/{runner-ss88pbb2.js → runner-tb3eppeg.js} +4 -4
  76. package/dist/cli/{scan-cursor-71gq82ez.js → scan-cursor-1m6dj2s2.js} +5 -5
  77. package/dist/cli/{schema-108trhk6.js → schema-yvhamv41.js} +1 -1
  78. package/dist/cli/{scope-persistence-9gfgvy3p.js → scope-persistence-xdedbzdg.js} +13 -13
  79. package/dist/cli/{server-pkk6y7fa.js → server-nhdkvdt2.js} +39 -39
  80. package/dist/cli/{skill-generator-7g6xjwhr.js → skill-generator-fzvp9m8z.js} +13 -13
  81. package/dist/cli/{snapshot-coordination-init-pactfmsy.js → snapshot-coordination-init-xqxek8kn.js} +39 -39
  82. package/dist/cli/{speckit-checkoff-xyp4c36r.js → speckit-checkoff-57tf4079.js} +4 -4
  83. package/dist/cli/{workspace-snapshot-0hffyjhd.js → workspace-snapshot-kcfkk3a2.js} +3 -3
  84. package/dist/cli/{worktree-collision-ownership-g26m4c10.js → worktree-collision-ownership-80n814a8.js} +11 -11
  85. package/dist/cli/{worktree-isolation-52529c62.js → worktree-isolation-kaxkr61t.js} +39 -39
  86. package/dist/hooks/extractors.d.ts +24 -0
  87. package/dist/index.js +21 -17
  88. package/dist/pr-review/completion.d.ts +14 -1
  89. package/dist/pr-review/types.d.ts +8 -1
  90. package/dist/tools/write-pr-review-trigger-eval.d.ts +2 -0
  91. package/package.json +1 -1
  92. package/dist/cli/curator-llm-factory-tr6rabws.js +0 -81
  93. package/dist/cli/guardrail-explain-cne2701m.js +0 -82
@@ -7,10 +7,17 @@ import { type Plan } from '../config/plan-schema';
7
7
  */
8
8
  /**
9
9
  * Extracts the current phase information from plan content.
10
+ *
11
+ * #2841: plan.md is user-writeable content and this one-liner feeds the
12
+ * `[SWARM CONTEXT] Phase:` architect-context injection, so it MUST pass the
13
+ * shared sanitizer (input-side, the same pattern as `extractPlanCursor`).
10
14
  */
11
15
  export declare function extractCurrentPhase(planContent: string): string | null;
12
16
  /**
13
17
  * Extracts the first incomplete task from the current IN PROGRESS phase.
18
+ *
19
+ * #2841: feeds the `[SWARM CONTEXT] Current task:` injection — sanitized
20
+ * input-side like its siblings.
14
21
  */
15
22
  export declare function extractCurrentTask(planContent: string): string | null;
16
23
  /**
@@ -24,14 +31,28 @@ export declare function extractCurrentTask(planContent: string): string | null;
24
31
  * indented sub-bullets are filtered out here).
25
32
  * - Lines are reproduced verbatim from `raw` — bullet prefix, markers
26
33
  * (✅ / [timestamps]) and all — then joined, trimmed and truncated.
34
+ *
35
+ * #2886: context.md is agent-written after consuming untrusted task/issue
36
+ * text and this return feeds the compaction `SWARM DECISIONS` LLM-context
37
+ * fact, so it MUST pass the shared sanitizer input-side (the same pattern as
38
+ * `extractCurrentPhase`); the system-enhancer wraps of this output become
39
+ * idempotent no-ops.
27
40
  */
28
41
  export declare function extractDecisions(contextContent: string, maxChars?: number): string | null;
29
42
  /**
30
43
  * Extracts incomplete tasks from plan content under the current IN PROGRESS phase.
44
+ *
45
+ * #2841: feeds the `SWARM TASKS` compaction fact (LLM-context injection) —
46
+ * sanitized input-side like its siblings.
31
47
  */
32
48
  export declare function extractIncompleteTasks(planContent: string, maxChars?: number): string | null;
33
49
  /**
34
50
  * Extracts patterns section from context content.
51
+ *
52
+ * #2886: context.md is agent-written after consuming untrusted task/issue
53
+ * text and this return feeds the compaction `SWARM PATTERNS` LLM-context
54
+ * fact, so it MUST pass the shared sanitizer input-side (the same pattern as
55
+ * `extractCurrentPhase`).
35
56
  */
36
57
  export declare function extractPatterns(contextContent: string, maxChars?: number): string | null;
37
58
  /**
@@ -44,6 +65,9 @@ export declare function extractPatterns(contextContent: string, maxChars?: numbe
44
65
  export declare function extractCurrentPhaseFromPlan(plan: Plan): string | null;
45
66
  /**
46
67
  * Extracts the first incomplete task from the current phase of a Plan object.
68
+ *
69
+ * #2841: task fields feed the `[SWARM CONTEXT] Current task:` injection —
70
+ * the composed line must pass the shared sanitizer before it is returned.
47
71
  */
48
72
  export declare function extractCurrentTaskFromPlan(plan: Plan): string | null;
49
73
  /**