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.
- package/.opencode/skills/codebase-review-swarm/SKILL.md +18 -2
- package/.opencode/skills/codebase-review-swarm/references/review-protocol-v8.2.md +18 -2
- package/.opencode/skills/swarm-implement/SKILL.md +17 -2
- package/dist/background/pr-event-subscribers.d.ts +1 -1
- package/dist/cli/{config-doctor-t5r92674.js → config-doctor-4avzz3rh.js} +2 -2
- package/dist/cli/{curation-policy-3smfn2a3.js → curation-policy-8vkzjtwb.js} +2 -2
- package/dist/cli/{curator-hva8f3nf.js → curator-3vsvhwav.js} +12 -12
- package/dist/cli/{curator-drift-tsyyf4b4.js → curator-drift-9q6f85bm.js} +1 -1
- package/dist/cli/{curator-llm-factory-p3aqev12.js → curator-llm-factory-2qk8q4y9.js} +12 -12
- package/dist/cli/{guardrail-explain-k8mcvk61.js → guardrail-explain-tw521x47.js} +13 -13
- package/dist/cli/{guardrail-log-absma1rv.js → guardrail-log-e3jrwdw8.js} +3 -3
- package/dist/cli/{hive-promoter-jwd51gzk.js → hive-promoter-sdy5qjzn.js} +12 -12
- package/dist/cli/{index-m2s0gbzt.js → index-0541h76w.js} +1 -1
- package/dist/cli/{index-hgh01f6h.js → index-1v5mby7t.js} +1 -1
- package/dist/cli/{index-baawkm48.js → index-2j8f71c3.js} +4 -4
- package/dist/cli/{index-3dtjhr26.js → index-358f9h8p.js} +47 -36
- package/dist/cli/{index-kapharv7.js → index-463k8mfr.js} +2 -2
- package/dist/cli/{index-2njes601.js → index-6b69mp0r.js} +2 -2
- package/dist/cli/{index-dgxgvzab.js → index-8t9xpn1a.js} +1 -1
- package/dist/cli/{index-c3e0ymrg.js → index-9z1q181f.js} +1 -1
- package/dist/cli/{index-g87ty4wp.js → index-bq2848a3.js} +1 -1
- package/dist/cli/{index-xfejq1p9.js → index-c0e3vhv9.js} +1 -1
- package/dist/cli/{index-jpkxjmfw.js → index-kwm7hz18.js} +5 -5
- package/dist/cli/{index-j6ywarjp.js → index-m8ajf6wb.js} +3 -3
- package/dist/cli/{index-eedq2y40.js → index-mz6sqtm9.js} +14 -14
- package/dist/cli/{index-rkyhv4p5.js → index-pz49rx4y.js} +2 -2
- package/dist/cli/{index-b5ek2cge.js → index-y2esw64s.js} +1 -1
- package/dist/cli/{index-y0kk3rtv.js → index-zjw32rv9.js} +1 -1
- package/dist/cli/index.js +12 -12
- package/dist/cli/{knowledge-escalator-mkdac2m7.js → knowledge-escalator-v09w0jmg.js} +3 -3
- package/dist/cli/{knowledge-events-jjc9qbe0.js → knowledge-events-qp19r2he.js} +1 -1
- package/dist/cli/{knowledge-store-9e0w1kxm.js → knowledge-store-n5pvv0s3.js} +1 -1
- package/dist/cli/{knowledge-validator-h1nrn2pk.js → knowledge-validator-qg31ycbb.js} +4 -4
- package/dist/cli/{scan-cursor-mk3tq3sf.js → scan-cursor-wtzfvkh2.js} +2 -2
- package/dist/cli/{schema-bjb0yzsq.js → schema-erk5bz43.js} +1 -1
- package/dist/cli/{skill-generator-p1de0wkr.js → skill-generator-nxs65tq3.js} +5 -5
- package/dist/hooks/guardrails/messages-transform.d.ts +10 -0
- package/dist/hooks/guardrails/stored-input-args.d.ts +6 -0
- package/dist/index.js +38 -37
- package/dist/prm/escalation.d.ts +1 -11
- package/dist/prm/index.d.ts +1 -0
- package/dist/prm/types.d.ts +0 -2
- package/dist/session/snapshot-writer.d.ts +1 -0
- package/dist/state.d.ts +11 -0
- package/dist/utils/advisory-queue.d.ts +60 -0
- package/package.json +1 -1
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
alreadyCuratedThisGeneration,
|
|
5
5
|
claimNextScanBatch,
|
|
6
6
|
getScanStatus
|
|
7
|
-
} from "./index-
|
|
8
|
-
import"./index-
|
|
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";
|
|
@@ -33,12 +33,12 @@ import {
|
|
|
33
33
|
sanitizeSlug,
|
|
34
34
|
selectCandidateEntries,
|
|
35
35
|
writeEvalStub
|
|
36
|
-
} from "./index-
|
|
37
|
-
import"./index-
|
|
38
|
-
import"./index-
|
|
36
|
+
} from "./index-m8ajf6wb.js";
|
|
37
|
+
import"./index-6b69mp0r.js";
|
|
38
|
+
import"./index-zjw32rv9.js";
|
|
39
39
|
import"./index-rtry5xyf.js";
|
|
40
|
-
import"./index-
|
|
41
|
-
import"./index-
|
|
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.
|