opencode-swarm 7.193.0 → 7.194.0

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 (77) hide show
  1. package/README.md +1 -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/pending-delegations.d.ts +8 -0
  5. package/dist/cli/{auto-checkpoint-taay16xe.js → auto-checkpoint-67dk8rjz.js} +5 -5
  6. package/dist/cli/{checkpoint-6229g3jq.js → checkpoint-jbqqyp5e.js} +9 -9
  7. package/dist/cli/{coder-settlement-hexmmefv.js → coder-settlement-a09t7mvx.js} +4 -4
  8. package/dist/cli/{config-doctor-3ghvthh5.js → config-doctor-dkp263xx.js} +8 -8
  9. package/dist/cli/{core-0k7t9fw0.js → core-stnmz1rg.js} +2 -2
  10. package/dist/cli/{curator-drift-a5142x0d.js → curator-drift-d1wedyed.js} +6 -6
  11. package/dist/cli/{curator-llm-factory-8gt3mvg9.js → curator-llm-factory-97dpqjz4.js} +26 -26
  12. package/dist/cli/{curator-kwwnkyr7.js → curator-mc0wcpvw.js} +26 -26
  13. package/dist/cli/{doctor-knowledge-receipt-phase-id-11nsf9tz.js → doctor-knowledge-receipt-phase-id-dfwx5jha.js} +5 -5
  14. package/dist/cli/{evidence-summary-service-y2ykc6ta.js → evidence-summary-service-k1shqefr.js} +10 -10
  15. package/dist/cli/{gate-evidence-cd5299js.js → gate-evidence-vw9y4gs6.js} +3 -3
  16. package/dist/cli/{guardrail-explain-hpgecr7x.js → guardrail-explain-24g3bsqw.js} +27 -27
  17. package/dist/cli/{guardrail-log-g6krx0s2.js → guardrail-log-vbeyx6nq.js} +4 -4
  18. package/dist/cli/{guardrail-reset-a3xv675m.js → guardrail-reset-jwtt15e3.js} +26 -26
  19. package/dist/cli/{hive-promoter-90svfzvs.js → hive-promoter-p9ad63mx.js} +26 -26
  20. package/dist/cli/{index-ngk8hpc3.js → index-0xe19j9g.js} +1 -1
  21. package/dist/cli/{index-py8wpe81.js → index-1jt12p3y.js} +1 -1
  22. package/dist/cli/{index-jxs9qnad.js → index-3dpb3kps.js} +1 -1
  23. package/dist/cli/{index-cs0p582p.js → index-43v5axvm.js} +2 -2
  24. package/dist/cli/{index-ma71x1aa.js → index-48h1yn6c.js} +1 -1
  25. package/dist/cli/{index-1dx5zyss.js → index-4ftg3p9n.js} +2 -2
  26. package/dist/cli/{index-bkpyff61.js → index-51dxek4p.js} +2 -2
  27. package/dist/cli/{index-bgtfvst1.js → index-6xppb1er.js} +1 -1
  28. package/dist/cli/{index-vbp35frb.js → index-7bfshvq1.js} +3 -3
  29. package/dist/cli/{index-r3mffz78.js → index-9bzgea2y.js} +3 -3
  30. package/dist/cli/{index-cpt38e0e.js → index-9kbnxb7v.js} +2 -2
  31. package/dist/cli/{index-he2nyr7x.js → index-9v43y7y6.js} +5 -5
  32. package/dist/cli/{index-tr47q89d.js → index-ajkdt5b8.js} +2 -2
  33. package/dist/cli/{index-5ev6f1gj.js → index-at34nry4.js} +2 -2
  34. package/dist/cli/{index-bg19b84s.js → index-cwr69qw7.js} +4 -4
  35. package/dist/cli/{index-x2phyvcv.js → index-d7pznffh.js} +2 -2
  36. package/dist/cli/{index-6dn16dre.js → index-dy7nztyp.js} +2 -2
  37. package/dist/cli/{index-4mq8r4be.js → index-ehab3z5y.js} +4 -4
  38. package/dist/cli/{index-4gacy6y6.js → index-f3ttgqak.js} +1 -1
  39. package/dist/cli/{index-rd9th57y.js → index-h14wpwpa.js} +4 -4
  40. package/dist/cli/{index-nz6ehpjn.js → index-jrs2qh6j.js} +1 -1
  41. package/dist/cli/{index-3xj89bf0.js → index-kp5qw5p4.js} +28 -28
  42. package/dist/cli/{index-ymnathfr.js → index-n5xwza76.js} +3 -3
  43. package/dist/cli/{index-1p24bfn2.js → index-r8mavcg6.js} +1 -1
  44. package/dist/cli/{index-5n760fzn.js → index-rpnkp79f.js} +6 -6
  45. package/dist/cli/{index-ntmnse4d.js → index-t6aae9wq.js} +1 -1
  46. package/dist/cli/{index-prvancd0.js → index-vfdkvvkf.js} +1 -1
  47. package/dist/cli/{index-jx80ed6g.js → index-vjytfp05.js} +90 -66
  48. package/dist/cli/{index-db786kn6.js → index-x7qeaa9y.js} +26 -26
  49. package/dist/cli/{index-d2emv8ap.js → index-y3n9ry9q.js} +1 -1
  50. package/dist/cli/{index-nktwf2xm.js → index-yfbk69b1.js} +3 -3
  51. package/dist/cli/index.js +27 -27
  52. package/dist/cli/{knowledge-escalator-2d7g3hs0.js → knowledge-escalator-g6dctrae.js} +8 -8
  53. package/dist/cli/{knowledge-events-hjeaevc9.js → knowledge-events-acdz0x2g.js} +6 -6
  54. package/dist/cli/{knowledge-store-g9cb2m0v.js → knowledge-store-vxtj4m59.js} +1 -1
  55. package/dist/cli/{knowledge-validator-dghf9pcj.js → knowledge-validator-b545vc9t.js} +2 -2
  56. package/dist/cli/{mcp-f5myvd7r.js → mcp-c3t18313.js} +1 -1
  57. package/dist/cli/{model-preflight-4w4wd6dj.js → model-preflight-r99c08re.js} +26 -26
  58. package/dist/cli/{pending-delegations-adm6gf3n.js → pending-delegations-57f3049j.js} +4 -2
  59. package/dist/cli/{pr-subscriptions-n1hks854.js → pr-subscriptions-5jb793xe.js} +1 -1
  60. package/dist/cli/{pr-workflow-gate-59cr6gve.js → pr-workflow-gate-n3x25ddw.js} +28 -26
  61. package/dist/cli/{scan-cursor-t26xmfhd.js → scan-cursor-s9mazw82.js} +2 -2
  62. package/dist/cli/{schema-cr120ar5.js → schema-7czxpvwm.js} +2 -2
  63. package/dist/cli/{scope-persistence-mrnz8j43.js → scope-persistence-y0ebqyjm.js} +6 -6
  64. package/dist/cli/{server-mwk6zn83.js → server-m10e78ey.js} +26 -26
  65. package/dist/cli/{skill-generator-svs4k0g8.js → skill-generator-kzw1dcba.js} +9 -9
  66. package/dist/cli/{snapshot-coordination-init-xzrahhsb.js → snapshot-coordination-init-z1aqsvn4.js} +26 -26
  67. package/dist/cli/{speckit-checkoff-g2qrb1tn.js → speckit-checkoff-1g3vzywn.js} +4 -4
  68. package/dist/cli/{worktree-collision-ownership-d145wmpg.js → worktree-collision-ownership-d0etv08a.js} +2 -2
  69. package/dist/cli/{worktree-isolation-pt1rws6p.js → worktree-isolation-dj2qw13p.js} +26 -26
  70. package/dist/commands/registry.d.ts +1 -1
  71. package/dist/epic/start.d.ts +8 -5
  72. package/dist/hooks/pr-workflow-gate.d.ts +37 -0
  73. package/dist/host/v2/session-client.d.ts +77 -0
  74. package/dist/host/v2/types.d.ts +7 -5
  75. package/dist/index.js +13 -11
  76. package/dist/tools/pr-workflow-status.d.ts +24 -1
  77. package/package.json +1 -1
@@ -1,4 +1,4 @@
1
- import { readDelegationsDetailed } from '../background/pending-delegations';
1
+ import { findByBatchIdDetailed, readDelegationsDetailed } from '../background/pending-delegations';
2
2
  import { resolveCurrentGitHeadAsync, resolveIsWorkingTreeCleanAsync } from '../background/workspace-snapshot';
3
3
  import { classifyPrWorkflowGitState } from '../git/pr-workflow-state';
4
4
  import { isPrWorkflowAutoWakeSuppressed } from '../hooks/pr-workflow-auto-wake';
@@ -14,12 +14,30 @@ import { createSwarmTool } from './create-tool';
14
14
  * severed at the boundary instead of leaving a lone surrogate.
15
15
  */
16
16
  declare function truncateToByteBudget(value: string, maxBytes: number): string;
17
+ /**
18
+ * Lightweight neutralizer for short, author-influenced Git strings (branch
19
+ * names, remote URLs, changed paths). A PR branch/remote is attacker-controlled
20
+ * text; this strips control characters and the markdown/HTML metacharacters that
21
+ * could break a downstream renderer, then bounds the length. It deliberately
22
+ * does NOT use the heavyweight `neutralizeUntrustedMarkdown` fenced wrapper,
23
+ * which is for large prose blobs, not single structured fields.
24
+ */
25
+ declare function boundUntrusted(value: string, maxLen: number): string;
17
26
  /**
18
27
  * Bounded, killable, non-interactive Git read (AGENTS.md invariant 3). Array
19
28
  * form, explicit cwd, ignored stdin, capped stdout, timeout, best-effort kill in
20
29
  * finally. Never runs a PR-controlled script — only fixed read verbs are passed.
21
30
  */
22
31
  declare function runGitCapture(directory: string, args: string[]): Promise<string | null>;
32
+ /**
33
+ * Bound a one-line finding summary for display: strip control characters and
34
+ * the markdown/HTML metacharacters (same character classes as
35
+ * {@link boundUntrusted} — receipt fields are lane-agent-authored text and a
36
+ * schema cap bounds length, not content), collapse whitespace, then cap to
37
+ * the char limit without splitting a surrogate pair (code-point-aware, unlike
38
+ * a bare `slice`).
39
+ */
40
+ declare function boundFindingLine(line: string): string;
23
41
  declare function resolveWorkflowGateSession(directory: string, sessionID: string): Promise<string | null>;
24
42
  export declare const pr_workflow_status: ReturnType<typeof createSwarmTool>;
25
43
  /** Test seam mirroring gh-evidence's `_internals` (issue #507 DI convention). */
@@ -34,5 +52,10 @@ export declare const _internals: {
34
52
  classifyGitState: typeof classifyPrWorkflowGitState;
35
53
  truncateToByteBudget: typeof truncateToByteBudget;
36
54
  resolveWorkflowGateSession: typeof resolveWorkflowGateSession;
55
+ /** Batch receipt lookup for the lane-coverage projection (F-01 test seam). */
56
+ findByBatchIdDetailed: typeof findByBatchIdDetailed;
57
+ /** Pure field sanitizers (direct hostile-input unit suites). */
58
+ boundUntrusted: typeof boundUntrusted;
59
+ boundFindingLine: typeof boundFindingLine;
37
60
  };
38
61
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "opencode-swarm",
3
- "version": "7.193.0",
3
+ "version": "7.194.0",
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",