opencode-swarm 7.134.0 → 7.134.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 (46) hide show
  1. package/.opencode/skills/codebase-review-swarm/SKILL.md +18 -2
  2. package/.opencode/skills/codebase-review-swarm/references/review-protocol-v8.2.md +18 -2
  3. package/.opencode/skills/swarm-implement/SKILL.md +17 -2
  4. package/dist/background/pr-event-subscribers.d.ts +1 -1
  5. package/dist/cli/{config-doctor-t5r92674.js → config-doctor-4avzz3rh.js} +2 -2
  6. package/dist/cli/{curation-policy-3smfn2a3.js → curation-policy-8vkzjtwb.js} +2 -2
  7. package/dist/cli/{curator-hva8f3nf.js → curator-3vsvhwav.js} +12 -12
  8. package/dist/cli/{curator-drift-tsyyf4b4.js → curator-drift-9q6f85bm.js} +1 -1
  9. package/dist/cli/{curator-llm-factory-p3aqev12.js → curator-llm-factory-2qk8q4y9.js} +12 -12
  10. package/dist/cli/{guardrail-explain-k8mcvk61.js → guardrail-explain-tw521x47.js} +13 -13
  11. package/dist/cli/{guardrail-log-absma1rv.js → guardrail-log-e3jrwdw8.js} +3 -3
  12. package/dist/cli/{hive-promoter-jwd51gzk.js → hive-promoter-sdy5qjzn.js} +12 -12
  13. package/dist/cli/{index-m2s0gbzt.js → index-0541h76w.js} +1 -1
  14. package/dist/cli/{index-hgh01f6h.js → index-1v5mby7t.js} +1 -1
  15. package/dist/cli/{index-baawkm48.js → index-2j8f71c3.js} +4 -4
  16. package/dist/cli/{index-3dtjhr26.js → index-358f9h8p.js} +47 -36
  17. package/dist/cli/{index-kapharv7.js → index-463k8mfr.js} +2 -2
  18. package/dist/cli/{index-2njes601.js → index-6b69mp0r.js} +2 -2
  19. package/dist/cli/{index-dgxgvzab.js → index-8t9xpn1a.js} +1 -1
  20. package/dist/cli/{index-c3e0ymrg.js → index-9z1q181f.js} +1 -1
  21. package/dist/cli/{index-g87ty4wp.js → index-bq2848a3.js} +1 -1
  22. package/dist/cli/{index-xfejq1p9.js → index-c0e3vhv9.js} +1 -1
  23. package/dist/cli/{index-jpkxjmfw.js → index-kwm7hz18.js} +5 -5
  24. package/dist/cli/{index-j6ywarjp.js → index-m8ajf6wb.js} +3 -3
  25. package/dist/cli/{index-eedq2y40.js → index-mz6sqtm9.js} +14 -14
  26. package/dist/cli/{index-rkyhv4p5.js → index-pz49rx4y.js} +2 -2
  27. package/dist/cli/{index-b5ek2cge.js → index-y2esw64s.js} +1 -1
  28. package/dist/cli/{index-y0kk3rtv.js → index-zjw32rv9.js} +1 -1
  29. package/dist/cli/index.js +12 -12
  30. package/dist/cli/{knowledge-escalator-mkdac2m7.js → knowledge-escalator-v09w0jmg.js} +3 -3
  31. package/dist/cli/{knowledge-events-jjc9qbe0.js → knowledge-events-qp19r2he.js} +1 -1
  32. package/dist/cli/{knowledge-store-9e0w1kxm.js → knowledge-store-n5pvv0s3.js} +1 -1
  33. package/dist/cli/{knowledge-validator-h1nrn2pk.js → knowledge-validator-qg31ycbb.js} +4 -4
  34. package/dist/cli/{scan-cursor-mk3tq3sf.js → scan-cursor-wtzfvkh2.js} +2 -2
  35. package/dist/cli/{schema-bjb0yzsq.js → schema-erk5bz43.js} +1 -1
  36. package/dist/cli/{skill-generator-p1de0wkr.js → skill-generator-nxs65tq3.js} +5 -5
  37. package/dist/hooks/guardrails/messages-transform.d.ts +10 -0
  38. package/dist/hooks/guardrails/stored-input-args.d.ts +6 -0
  39. package/dist/index.js +38 -37
  40. package/dist/prm/escalation.d.ts +1 -11
  41. package/dist/prm/index.d.ts +1 -0
  42. package/dist/prm/types.d.ts +0 -2
  43. package/dist/session/snapshot-writer.d.ts +1 -0
  44. package/dist/state.d.ts +11 -0
  45. package/dist/utils/advisory-queue.d.ts +60 -0
  46. package/package.json +1 -1
@@ -4,8 +4,8 @@ import {
4
4
  alreadyCuratedThisGeneration,
5
5
  claimNextScanBatch,
6
6
  getScanStatus
7
- } from "./index-m2s0gbzt.js";
8
- import"./index-baawkm48.js";
7
+ } from "./index-0541h76w.js";
8
+ import"./index-2j8f71c3.js";
9
9
  import"./index-ae75rja9.js";
10
10
  import"./index-cfkvc5q9.js";
11
11
  import"./index-dd7ttx8x.js";
@@ -93,7 +93,7 @@ import {
93
93
  resolveGeneratedAgentRole,
94
94
  resolveGuardrailsConfig,
95
95
  stripKnownSwarmPrefix
96
- } from "./index-b5ek2cge.js";
96
+ } from "./index-y2esw64s.js";
97
97
  import"./index-bk5tah7q.js";
98
98
  import"./index-bpmtbmy9.js";
99
99
  import"./index-zjygnfay.js";
@@ -33,12 +33,12 @@ import {
33
33
  sanitizeSlug,
34
34
  selectCandidateEntries,
35
35
  writeEvalStub
36
- } from "./index-j6ywarjp.js";
37
- import"./index-2njes601.js";
38
- import"./index-y0kk3rtv.js";
36
+ } from "./index-m8ajf6wb.js";
37
+ import"./index-6b69mp0r.js";
38
+ import"./index-zjw32rv9.js";
39
39
  import"./index-rtry5xyf.js";
40
- import"./index-baawkm48.js";
41
- import"./index-dgxgvzab.js";
40
+ import"./index-2j8f71c3.js";
41
+ import"./index-8t9xpn1a.js";
42
42
  import"./index-ae75rja9.js";
43
43
  import"./index-cfkvc5q9.js";
44
44
  import"./index-dd7ttx8x.js";
@@ -39,6 +39,16 @@ type ChatMessageLike = {
39
39
  * never contained, making the guard permanently inert.
40
40
  */
41
41
  export declare const RUNAWAY_OUTPUT_ADVISORY_MARKER = "Model is generating analysis without taking action";
42
+ /**
43
+ * Bound a set of advisory strings to a total byte budget, keeping the latest
44
+ * (dropping oldest from the front). Returns the kept entries and whether any
45
+ * were dropped. Never drops below a single entry (a single oversized advisory
46
+ * is kept verbatim rather than rendered empty).
47
+ */
48
+ export declare function boundAdvisoryBytes(advisories: string[], maxBytes: number): {
49
+ kept: string[];
50
+ truncated: boolean;
51
+ };
42
52
  export declare function getMostRecentAssistantText(messages: ChatMessageLike[]): string;
43
53
  export declare function isTransientProviderFailureText(text: string): boolean;
44
54
  export declare function getProviderFailureFingerprint(text: string): string;
@@ -5,6 +5,12 @@
5
5
  * input args by callID, used by guardrails for delegation detection
6
6
  * and exposed via safe accessor helpers.
7
7
  */
8
+ /**
9
+ * Max stored callID->args entries before the oldest-inserted is evicted
10
+ * (invariant 8). Larger than the per-session cap because callIDs are per
11
+ * tool-call, not per-session.
12
+ */
13
+ export declare const MAX_STORED_INPUT_ARGS = 2000;
8
14
  /**
9
15
  * Retrieves stored input args for a given callID.
10
16
  * Used by other hooks (e.g., delegation-gate) to access tool input args.