opencode-swarm 7.188.2 → 7.188.4

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 (106) 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-e4r8nfq5.js → auto-checkpoint-gp13e1h5.js} +8 -8
  4. package/dist/cli/{checkpoint-ejm8n9y5.js → checkpoint-61vy6pjg.js} +16 -16
  5. package/dist/cli/{coder-settlement-hped4xgs.js → coder-settlement-2s4rr23t.js} +12 -12
  6. package/dist/cli/{config-doctor-1qp1jmz4.js → config-doctor-0pjjr594.js} +15 -15
  7. package/dist/cli/{core-j5yff7rq.js → core-qdn60dm0.js} +3 -3
  8. package/dist/cli/{curation-policy-v64ctcbd.js → curation-policy-2rdbwc6a.js} +6 -6
  9. package/dist/cli/{curator-jf60p665.js → curator-8yqmmn5w.js} +42 -42
  10. package/dist/cli/{curator-drift-2sypkddx.js → curator-drift-n4t27md5.js} +8 -8
  11. package/dist/cli/curator-llm-factory-30n2fnef.js +82 -0
  12. package/dist/cli/{doctor-knowledge-receipt-phase-id-xyecjehq.js → doctor-knowledge-receipt-phase-id-vk9c6t3k.js} +8 -8
  13. package/dist/cli/{evidence-summary-service-k2g6hj96.js → evidence-summary-service-xpdx8se9.js} +19 -19
  14. package/dist/cli/{gate-evidence-vmzyfpsp.js → gate-evidence-px2mexyg.js} +7 -7
  15. package/dist/cli/guardrail-explain-38hmb1s9.js +83 -0
  16. package/dist/cli/{guardrail-log-2htm6kes.js → guardrail-log-y61ewh6d.js} +7 -7
  17. package/dist/cli/{guardrail-reset-dbwzk3p9.js → guardrail-reset-3arv6rfs.js} +42 -42
  18. package/dist/cli/{hive-promoter-c24qc0e1.js → hive-promoter-5naewxf9.js} +42 -42
  19. package/dist/cli/{index-bf1meb32.js → index-0yqa3awy.js} +2 -2
  20. package/dist/cli/{index-m1qy7f1e.js → index-103gsfn1.js} +1 -1
  21. package/dist/cli/{index-9wfjc4cn.js → index-195msz9x.js} +1 -1
  22. package/dist/cli/{index-r6e8syr3.js → index-1d51nz8d.js} +1 -1
  23. package/dist/cli/{index-edf2eztc.js → index-1e4s8cyt.js} +4 -4
  24. package/dist/cli/{index-rwabrcsg.js → index-2ajapc0r.js} +1 -1
  25. package/dist/cli/{index-dwm3czmf.js → index-3034m1wv.js} +4 -4
  26. package/dist/cli/{index-bejxkee0.js → index-4czf0es9.js} +1 -1
  27. package/dist/cli/{index-wb01w8ex.js → index-4vgvybav.js} +2 -2
  28. package/dist/cli/{index-0v2svrev.js → index-4zran0jk.js} +1 -1
  29. package/dist/cli/{index-0rzc71q8.js → index-53me7h10.js} +5 -5
  30. package/dist/cli/{index-md4xx63t.js → index-64nkt4ek.js} +1 -1
  31. package/dist/cli/{index-4e3qcwfb.js → index-6kckcdd7.js} +3 -3
  32. package/dist/cli/{index-1466xg5c.js → index-6kf62j82.js} +1 -1
  33. package/dist/cli/{index-1hqybe51.js → index-6qtgyzw2.js} +3 -3
  34. package/dist/cli/{index-jd3hvnqn.js → index-75bm071p.js} +2 -2
  35. package/dist/cli/{index-mb1reyw3.js → index-8tf5tewn.js} +2 -2
  36. package/dist/cli/{index-rn5hh7pp.js → index-8zs4v02d.js} +6 -6
  37. package/dist/cli/{index-51dww7y9.js → index-94b58ssa.js} +82 -82
  38. package/dist/cli/{index-rx9phqsj.js → index-a5z8eqs0.js} +44 -44
  39. package/dist/cli/{index-9b86vn97.js → index-bqqyxmpk.js} +7 -7
  40. package/dist/cli/{index-x2p51ka9.js → index-d3p96wkj.js} +6 -6
  41. package/dist/cli/{index-41v699sv.js → index-d74wbpqc.js} +7 -7
  42. package/dist/cli/{index-gd41qkx3.js → index-dka1ra21.js} +7 -7
  43. package/dist/cli/{index-b02cdy5w.js → index-fm0yan3t.js} +4 -4
  44. package/dist/cli/{index-b9pz70d0.js → index-ge4hk20b.js} +2 -2
  45. package/dist/cli/{index-9hsnarbv.js → index-gmmz119k.js} +1 -1
  46. package/dist/cli/{index-7sbyvk99.js → index-gyhj562n.js} +2 -2
  47. package/dist/cli/{index-4htcpbs4.js → index-h83221w1.js} +3 -3
  48. package/dist/cli/{index-wxf5feq2.js → index-j7pqzxyq.js} +2 -2
  49. package/dist/cli/{index-a8gvszr2.js → index-jc0jxg7y.js} +2 -2
  50. package/dist/cli/{index-zwgh0gty.js → index-jkz10gm7.js} +1 -1
  51. package/dist/cli/{index-kxj8bqtj.js → index-ntyc39rv.js} +2 -2
  52. package/dist/cli/{index-fq78x7th.js → index-p8kv9hh6.js} +11 -11
  53. package/dist/cli/{index-mf19yqss.js → index-qwrx78m5.js} +2 -2
  54. package/dist/cli/{index-yay1xxzk.js → index-rqheyf9e.js} +4 -4
  55. package/dist/cli/{index-pz26qx3x.js → index-sh7se0x5.js} +7 -7
  56. package/dist/cli/{index-tr901ma3.js → index-tr6kaa6q.js} +5 -5
  57. package/dist/cli/{index-cc1vzq4m.js → index-v09x4k5h.js} +1 -1
  58. package/dist/cli/{index-x73e0zkb.js → index-vx59q2ex.js} +1 -1
  59. package/dist/cli/{index-ea10gcja.js → index-wftdsx38.js} +5 -5
  60. package/dist/cli/{index-k1aek1xr.js → index-wsab75et.js} +3 -3
  61. package/dist/cli/{index-9hag235h.js → index-ww91zjzk.js} +1 -1
  62. package/dist/cli/{index-vhwbxtzt.js → index-xn48kjf4.js} +2 -2
  63. package/dist/cli/{index-zyc869ys.js → index-yacpp9jq.js} +3 -3
  64. package/dist/cli/{index-3dvzvhrp.js → index-yctaaj1k.js} +5 -5
  65. package/dist/cli/{index-m6k9fsae.js → index-ywpn0arj.js} +42 -42
  66. package/dist/cli/index.js +43 -43
  67. package/dist/cli/{knowledge-escalator-5sqgd4pg.js → knowledge-escalator-2c4svh7n.js} +14 -14
  68. package/dist/cli/{knowledge-events-05yp3j0n.js → knowledge-events-7zea5hzr.js} +12 -12
  69. package/dist/cli/{knowledge-link-9gx2djyd.js → knowledge-link-r9nx1eaj.js} +5 -5
  70. package/dist/cli/{knowledge-store-zx3qkamt.js → knowledge-store-rdya1anx.js} +6 -6
  71. package/dist/cli/{knowledge-validator-pc399we4.js → knowledge-validator-qnc4byyh.js} +8 -8
  72. package/dist/cli/{mcp-8ptynxsv.js → mcp-z21kvvnf.js} +1 -1
  73. package/dist/cli/{model-preflight-bhxpnrb6.js → model-preflight-jbg35f6e.js} +42 -42
  74. package/dist/cli/{pending-delegations-6wcwj6sp.js → pending-delegations-c1yjybf1.js} +12 -12
  75. package/dist/cli/{pr-subscriptions-22q1p6wg.js → pr-subscriptions-2mngc0jg.js} +12 -12
  76. package/dist/cli/{pr-workflow-gate-5v9yabv2.js → pr-workflow-gate-h4s5w5y0.js} +42 -42
  77. package/dist/cli/{runner-x8sbydkw.js → runner-3ynjanks.js} +6 -6
  78. package/dist/cli/{scan-cursor-dkd9jvvq.js → scan-cursor-385k9dkp.js} +7 -7
  79. package/dist/cli/{schema-nsnc7dm8.js → schema-cp8sqp1b.js} +1 -1
  80. package/dist/cli/{scope-persistence-hwafwz1n.js → scope-persistence-d587cb6v.js} +15 -15
  81. package/dist/cli/{server-k52tg8j6.js → server-t0wansfd.js} +51 -43
  82. package/dist/cli/{skill-generator-ak2vxhqe.js → skill-generator-f2j1jnqf.js} +16 -16
  83. package/dist/cli/{snapshot-coordination-init-nwh6z0a6.js → snapshot-coordination-init-9gvgq52n.js} +42 -42
  84. package/dist/cli/{speckit-checkoff-wydtzjmn.js → speckit-checkoff-zw0w6ekx.js} +4 -4
  85. package/dist/cli/{telemetry-d0j31j5d.js → telemetry-eq1cwq2x.js} +1 -1
  86. package/dist/cli/{workspace-snapshot-y60ay5eq.js → workspace-snapshot-w60bykdz.js} +3 -3
  87. package/dist/cli/{worktree-collision-ownership-5fbzrgnm.js → worktree-collision-ownership-0d8xf1d8.js} +13 -13
  88. package/dist/cli/{worktree-isolation-643nwna7.js → worktree-isolation-ds8n4a16.js} +42 -42
  89. package/dist/context-map/capsule-builder.d.ts +14 -1
  90. package/dist/context-map/persistence.d.ts +9 -0
  91. package/dist/context-map/post-agent-update.d.ts +90 -1
  92. package/dist/host/v2/agents-commands.d.ts +41 -0
  93. package/dist/host/v2/events.d.ts +39 -0
  94. package/dist/host/v2/guidance.d.ts +30 -0
  95. package/dist/host/v2/hooks.d.ts +31 -0
  96. package/dist/host/v2/setup.d.ts +61 -0
  97. package/dist/host/v2/tools.d.ts +41 -0
  98. package/dist/host/v2/types.d.ts +291 -0
  99. package/dist/index.d.ts +1 -0
  100. package/dist/index.js +14 -13
  101. package/dist/tools/syntax-check.d.ts +14 -0
  102. package/dist/types/context-capsule.d.ts +12 -0
  103. package/dist/types/context-map.d.ts +1 -1
  104. package/package.json +1 -1
  105. package/dist/cli/curator-llm-factory-we3t6fqd.js +0 -82
  106. package/dist/cli/guardrail-explain-cpr1hh21.js +0 -83
@@ -36,6 +36,20 @@ export interface SyntaxCheckResult {
36
36
  files: SyntaxCheckFileResult[];
37
37
  summary: string;
38
38
  }
39
+ /**
40
+ * Resolve the tree-sitter grammar id for a file path (#3013).
41
+ *
42
+ * The fine-grained parser registry (`src/lang/registry.ts`) owns parse-level
43
+ * grammar identity when it splits an extension away from the language profile
44
+ * that claims it: `.tsx` must parse with the `tsx` grammar because the
45
+ * `typescript` profile grammar has no JSX production. Language profiles stay
46
+ * authoritative for dispatch, detection, and reporting labels.
47
+ *
48
+ * Returns the registry id when the two registries diverge for the extension,
49
+ * the profile's `treeSitter.grammarId` otherwise, and `undefined` when no
50
+ * profile owns the extension (callers fall back to `getParserForFile`).
51
+ */
52
+ export declare function resolveGrammarIdForFile(filePath: string): string | undefined;
39
53
  /**
40
54
  * Run syntax check on changed files
41
55
  *
@@ -9,6 +9,7 @@
9
9
  *
10
10
  * See issue #1104, FR-003 and FR-004.
11
11
  */
12
+ import type { DecisionEntry } from './context-map';
12
13
  /**
13
14
  * Reason a capsule was generated for a delegated agent.
14
15
  * Named `CapsuleDelegationReason` to avoid collision with `DelegationReason`
@@ -55,6 +56,11 @@ export interface RoleProfile {
55
56
  include_coverage: boolean;
56
57
  /** Whether to include claimed fix or implementation details */
57
58
  include_claims: boolean;
59
+ /**
60
+ * Whether to include the decisions log from the context map
61
+ * (relevant for critic — design-level context, #3016).
62
+ */
63
+ include_decisions: boolean;
58
64
  }
59
65
  /**
60
66
  * Metadata returned by the capsule builder after generating a capsule.
@@ -108,6 +114,12 @@ export interface ContextCapsule {
108
114
  review_checklist?: string[];
109
115
  /** Coverage targets, included for test_engineer capsules */
110
116
  coverage_targets?: string[];
117
+ /**
118
+ * Context-map decisions surfaced in the capsule content, included for
119
+ * critic capsules (#3016). Optional: absent when the role profile does
120
+ * not include decisions or the map holds none.
121
+ */
122
+ decisions?: DecisionEntry[];
111
123
  /** Per-file read policy: which summaries to trust vs which files to read */
112
124
  read_policy: ReadPolicyEntry[];
113
125
  /** The full markdown content of the capsule */
@@ -75,7 +75,7 @@ export interface TaskContextSummary {
75
75
  * why certain approaches were chosen or rejected.
76
76
  */
77
77
  export interface DecisionEntry {
78
- /** Unique identifier for the decision (e.g. "D1", "D2") */
78
+ /** Unique identifier for the decision, allocated durably as A1, A2, ... */
79
79
  id: string;
80
80
  /** The actual decision text describing what was decided */
81
81
  decision: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "opencode-swarm",
3
- "version": "7.188.2",
3
+ "version": "7.188.4",
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",
@@ -1,82 +0,0 @@
1
- // @bun
2
- import {
3
- createCuratorLLMDelegate
4
- } from "./index-51dww7y9.js";
5
- import"./index-zyc869ys.js";
6
- import"./index-kxj8bqtj.js";
7
- import"./index-tr901ma3.js";
8
- import"./index-vx8a8w3b.js";
9
- import"./index-x73e0zkb.js";
10
- import"./index-jd3hvnqn.js";
11
- import"./index-txdagbh7.js";
12
- import"./index-wb01w8ex.js";
13
- import"./index-rdec0y3z.js";
14
- import"./index-1hqybe51.js";
15
- import"./index-pz26qx3x.js";
16
- import"./index-b02cdy5w.js";
17
- import"./index-rn5hh7pp.js";
18
- import"./index-mf19yqss.js";
19
- import"./index-41v699sv.js";
20
- import"./index-cjapb4hy.js";
21
- import"./index-a8gvszr2.js";
22
- import"./index-pt7h91zc.js";
23
- import"./index-q7sjgr1y.js";
24
- import"./index-x2p51ka9.js";
25
- import"./index-fq78x7th.js";
26
- import"./index-6b295cas.js";
27
- import"./index-9nyqt3kb.js";
28
- import"./index-9wfjc4cn.js";
29
- import"./index-zsrtt42s.js";
30
- import"./index-bf1meb32.js";
31
- import"./index-edf2eztc.js";
32
- import"./index-4e3qcwfb.js";
33
- import"./index-g4fs6z4e.js";
34
- import"./index-gd41qkx3.js";
35
- import"./index-yay1xxzk.js";
36
- import"./index-ea10gcja.js";
37
- import"./index-m9zzj4ee.js";
38
- import"./index-bejxkee0.js";
39
- import"./index-2s7dvzff.js";
40
- import"./index-dwm3czmf.js";
41
- import"./index-rwabrcsg.js";
42
- import"./index-rtry5xyf.js";
43
- import"./index-wxf5feq2.js";
44
- import"./index-kbkk7vnh.js";
45
- import"./index-0725jpp7.js";
46
- import"./index-0rzc71q8.js";
47
- import"./index-3dvzvhrp.js";
48
- import"./index-b9pz70d0.js";
49
- import"./index-m1qy7f1e.js";
50
- import"./index-cc1vzq4m.js";
51
- import"./index-9hag235h.js";
52
- import"./index-ry16d01s.js";
53
- import"./index-rdm3px0g.js";
54
- import"./index-7pmbnjvj.js";
55
- import"./index-mb1reyw3.js";
56
- import"./index-9b86vn97.js";
57
- import"./index-vzm6zre7.js";
58
- import"./index-ae75rja9.js";
59
- import"./index-zwgh0gty.js";
60
- import"./index-7sbyvk99.js";
61
- import"./index-0v2svrev.js";
62
- import"./index-t7hmqgjy.js";
63
- import"./index-4htcpbs4.js";
64
- import"./index-fzpt2djt.js";
65
- import"./index-ejhxgyvm.js";
66
- import"./index-7g4c7s5r.js";
67
- import"./index-r6e8syr3.js";
68
- import"./index-gx2vp8gx.js";
69
- import"./index-1466xg5c.js";
70
- import"./index-zxdawwc7.js";
71
- import"./index-9hsnarbv.js";
72
- import"./index-bstjg81q.js";
73
- import"./index-bk5tah7q.js";
74
- import"./index-gknz3bv1.js";
75
- import"./index-zpsr8rpc.js";
76
- import"./index-wvghb3x6.js";
77
- import"./index-9rwhas09.js";
78
- import"./index-zgwm4ryv.js";
79
- import"./index-a76rekgs.js";
80
- export {
81
- createCuratorLLMDelegate
82
- };
@@ -1,83 +0,0 @@
1
- // @bun
2
- import {
3
- handleGuardrailExplain
4
- } from "./index-vhwbxtzt.js";
5
- import"./index-51dww7y9.js";
6
- import"./index-zyc869ys.js";
7
- import"./index-kxj8bqtj.js";
8
- import"./index-tr901ma3.js";
9
- import"./index-vx8a8w3b.js";
10
- import"./index-x73e0zkb.js";
11
- import"./index-jd3hvnqn.js";
12
- import"./index-txdagbh7.js";
13
- import"./index-wb01w8ex.js";
14
- import"./index-rdec0y3z.js";
15
- import"./index-1hqybe51.js";
16
- import"./index-pz26qx3x.js";
17
- import"./index-b02cdy5w.js";
18
- import"./index-rn5hh7pp.js";
19
- import"./index-mf19yqss.js";
20
- import"./index-41v699sv.js";
21
- import"./index-cjapb4hy.js";
22
- import"./index-a8gvszr2.js";
23
- import"./index-pt7h91zc.js";
24
- import"./index-q7sjgr1y.js";
25
- import"./index-x2p51ka9.js";
26
- import"./index-fq78x7th.js";
27
- import"./index-6b295cas.js";
28
- import"./index-9nyqt3kb.js";
29
- import"./index-9wfjc4cn.js";
30
- import"./index-zsrtt42s.js";
31
- import"./index-bf1meb32.js";
32
- import"./index-edf2eztc.js";
33
- import"./index-4e3qcwfb.js";
34
- import"./index-g4fs6z4e.js";
35
- import"./index-gd41qkx3.js";
36
- import"./index-yay1xxzk.js";
37
- import"./index-ea10gcja.js";
38
- import"./index-m9zzj4ee.js";
39
- import"./index-bejxkee0.js";
40
- import"./index-2s7dvzff.js";
41
- import"./index-dwm3czmf.js";
42
- import"./index-rwabrcsg.js";
43
- import"./index-rtry5xyf.js";
44
- import"./index-wxf5feq2.js";
45
- import"./index-kbkk7vnh.js";
46
- import"./index-0725jpp7.js";
47
- import"./index-0rzc71q8.js";
48
- import"./index-3dvzvhrp.js";
49
- import"./index-b9pz70d0.js";
50
- import"./index-m1qy7f1e.js";
51
- import"./index-cc1vzq4m.js";
52
- import"./index-9hag235h.js";
53
- import"./index-ry16d01s.js";
54
- import"./index-rdm3px0g.js";
55
- import"./index-7pmbnjvj.js";
56
- import"./index-mb1reyw3.js";
57
- import"./index-9b86vn97.js";
58
- import"./index-vzm6zre7.js";
59
- import"./index-ae75rja9.js";
60
- import"./index-zwgh0gty.js";
61
- import"./index-7sbyvk99.js";
62
- import"./index-0v2svrev.js";
63
- import"./index-t7hmqgjy.js";
64
- import"./index-4htcpbs4.js";
65
- import"./index-fzpt2djt.js";
66
- import"./index-ejhxgyvm.js";
67
- import"./index-7g4c7s5r.js";
68
- import"./index-r6e8syr3.js";
69
- import"./index-gx2vp8gx.js";
70
- import"./index-1466xg5c.js";
71
- import"./index-zxdawwc7.js";
72
- import"./index-9hsnarbv.js";
73
- import"./index-bstjg81q.js";
74
- import"./index-bk5tah7q.js";
75
- import"./index-gknz3bv1.js";
76
- import"./index-zpsr8rpc.js";
77
- import"./index-wvghb3x6.js";
78
- import"./index-9rwhas09.js";
79
- import"./index-zgwm4ryv.js";
80
- import"./index-a76rekgs.js";
81
- export {
82
- handleGuardrailExplain
83
- };