opencode-swarm 7.125.2 → 7.125.3
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/dist/cli/{config-doctor-8df6hk58.js → config-doctor-rm1m07gz.js} +2 -2
- package/dist/cli/{core-d38hc85b.js → core-v1kp7anb.js} +2 -2
- package/dist/cli/{curation-policy-7pvghg6f.js → curation-policy-7pgdjt5w.js} +2 -2
- package/dist/cli/{curator-dw2zb74h.js → curator-arwm18td.js} +16 -16
- package/dist/cli/{curator-drift-h9a2sjvf.js → curator-drift-24bdacdc.js} +2 -2
- package/dist/cli/{curator-llm-factory-bntt6v8j.js → curator-llm-factory-yq5vf298.js} +16 -16
- package/dist/cli/{evidence-summary-service-v4h2w487.js → evidence-summary-service-thx1c3me.js} +3 -3
- package/dist/cli/{guardrail-explain-vmr4db9n.js → guardrail-explain-mscq3veq.js} +17 -17
- package/dist/cli/{guardrail-log-8prd6cnc.js → guardrail-log-6a2zxvtx.js} +3 -3
- package/dist/cli/{hive-promoter-xymt9vf2.js → hive-promoter-q79naynh.js} +16 -16
- package/dist/cli/{index-ptmhxsaf.js → index-01n43w2p.js} +4 -4
- package/dist/cli/{index-qcrah1jk.js → index-414r47r7.js} +3 -3
- package/dist/cli/{index-pgya7cnn.js → index-45mvd5q7.js} +4 -4
- package/dist/cli/index-4rhhvd1a.js +62 -0
- package/dist/cli/{index-1s7jzcsy.js → index-4ycq2mrp.js} +1 -1
- package/dist/cli/{index-yrk6hfp1.js → index-7p6jkkat.js} +18 -18
- package/dist/cli/{index-39p1yyag.js → index-8tjbq2ej.js} +1 -1
- package/dist/cli/{index-s9mj4rb9.js → index-9ss2m4rs.js} +1 -1
- package/dist/cli/{index-j8ptbcxz.js → index-ambnwnmt.js} +15 -6
- package/dist/cli/{index-zbsxek49.js → index-emzes7sj.js} +3 -3
- package/dist/cli/{index-tdpct4cz.js → index-fm4zfxnr.js} +1 -1
- package/dist/cli/{index-v2rdhwx8.js → index-g4ef4v3m.js} +1 -1
- package/dist/cli/{index-fs02c7tz.js → index-kk1scggc.js} +1 -1
- package/dist/cli/{index-8ed9rz7y.js → index-m5e00g9s.js} +44 -42
- package/dist/cli/{index-92xyawa7.js → index-pk099nqv.js} +87 -6
- package/dist/cli/{index-7ne6q2a0.js → index-rp5msv7n.js} +1 -1
- package/dist/cli/{index-7mtvvt8p.js → index-sa3dgpmc.js} +2 -2
- package/dist/cli/{index-v3f7jvm8.js → index-vdfewvn5.js} +5 -5
- package/dist/cli/{index-em4h33my.js → index-x8entmky.js} +2 -2
- package/dist/cli/{index-sxdh19nk.js → index-xezv6tdw.js} +1 -1
- package/dist/cli/index.js +16 -16
- package/dist/cli/{knowledge-escalator-47hfstmk.js → knowledge-escalator-gr8qd7kz.js} +3 -3
- package/dist/cli/{knowledge-events-j5dpp72w.js → knowledge-events-q83g3f8z.js} +1 -1
- package/dist/cli/{knowledge-store-58gt7m85.js → knowledge-store-qq3w5yt8.js} +1 -1
- package/dist/cli/{knowledge-validator-jjxw5mwc.js → knowledge-validator-7jhq8yam.js} +4 -4
- package/dist/cli/{scan-cursor-h8we8dfv.js → scan-cursor-fa5sy36q.js} +2 -2
- package/dist/cli/{schema-xpqbhcyp.js → schema-bw68my66.js} +3 -1
- package/dist/cli/{skill-generator-k8d0vff0.js → skill-generator-ffc1agyw.js} +6 -6
- package/dist/config/loader.d.ts +14 -0
- package/dist/config/schema.d.ts +6 -0
- package/dist/index.js +6 -6
- package/dist/services/config-doctor.d.ts +14 -2
- package/dist/services/warning-buffer.d.ts +24 -5
- package/package.json +1 -1
- package/dist/cli/index-gacm5s2n.js +0 -34
package/dist/cli/index.js
CHANGED
|
@@ -7,42 +7,42 @@ import {
|
|
|
7
7
|
getPluginLockFilePaths,
|
|
8
8
|
package_default,
|
|
9
9
|
resolveCommand
|
|
10
|
-
} from "./index-
|
|
11
|
-
import"./index-
|
|
12
|
-
import"./index-
|
|
13
|
-
import"./index-
|
|
10
|
+
} from "./index-m5e00g9s.js";
|
|
11
|
+
import"./index-xezv6tdw.js";
|
|
12
|
+
import"./index-pk099nqv.js";
|
|
13
|
+
import"./index-kk1scggc.js";
|
|
14
14
|
import"./index-4905hd2m.js";
|
|
15
15
|
import"./index-134d35c1.js";
|
|
16
16
|
import"./index-6n2jpz7x.js";
|
|
17
|
-
import"./index-
|
|
18
|
-
import"./index-
|
|
19
|
-
import"./index-
|
|
17
|
+
import"./index-01n43w2p.js";
|
|
18
|
+
import"./index-vdfewvn5.js";
|
|
19
|
+
import"./index-8tjbq2ej.js";
|
|
20
20
|
import"./index-vxv732ex.js";
|
|
21
21
|
import"./index-c8s9a3zh.js";
|
|
22
|
-
import"./index-
|
|
22
|
+
import"./index-9ss2m4rs.js";
|
|
23
23
|
import"./index-23zsx7dm.js";
|
|
24
|
-
import"./index-
|
|
25
|
-
import"./index-
|
|
24
|
+
import"./index-sa3dgpmc.js";
|
|
25
|
+
import"./index-rp5msv7n.js";
|
|
26
26
|
import"./index-rtry5xyf.js";
|
|
27
|
-
import"./index-
|
|
28
|
-
import"./index-
|
|
27
|
+
import"./index-45mvd5q7.js";
|
|
28
|
+
import"./index-fm4zfxnr.js";
|
|
29
29
|
import"./index-ae75rja9.js";
|
|
30
30
|
import"./index-q27bajqb.js";
|
|
31
|
-
import"./index-
|
|
31
|
+
import"./index-ambnwnmt.js";
|
|
32
32
|
import"./index-k5jrywpr.js";
|
|
33
33
|
import"./index-n832052r.js";
|
|
34
34
|
import {
|
|
35
35
|
DEFAULT_AGENT_CONFIGS,
|
|
36
36
|
init_constants
|
|
37
|
-
} from "./index-
|
|
37
|
+
} from "./index-414r47r7.js";
|
|
38
38
|
import"./index-bk5tah7q.js";
|
|
39
39
|
import"./index-8fwhhayc.js";
|
|
40
40
|
import"./index-q1exe2b3.js";
|
|
41
41
|
import"./index-gnvg72y1.js";
|
|
42
42
|
import"./index-2tn5h2zp.js";
|
|
43
43
|
import"./index-1kz6da87.js";
|
|
44
|
-
import"./index-
|
|
45
|
-
import"./index-
|
|
44
|
+
import"./index-g4ef4v3m.js";
|
|
45
|
+
import"./index-4rhhvd1a.js";
|
|
46
46
|
import"./index-0cz1ws47.js";
|
|
47
47
|
import"./index-2445sx3d.js";
|
|
48
48
|
import"./index-z6xqpmqg.js";
|
|
@@ -8,9 +8,9 @@ import {
|
|
|
8
8
|
maybeEscalateOnViolation,
|
|
9
9
|
maybeQuarantineOnContradiction,
|
|
10
10
|
readRecentEscalations
|
|
11
|
-
} from "./index-
|
|
12
|
-
import"./index-
|
|
13
|
-
import"./index-
|
|
11
|
+
} from "./index-vdfewvn5.js";
|
|
12
|
+
import"./index-45mvd5q7.js";
|
|
13
|
+
import"./index-fm4zfxnr.js";
|
|
14
14
|
import"./index-ae75rja9.js";
|
|
15
15
|
import"./index-q27bajqb.js";
|
|
16
16
|
import"./index-bk5tah7q.js";
|
|
@@ -26,7 +26,7 @@ import {
|
|
|
26
26
|
resolveKnowledgeCounterBaselinePath,
|
|
27
27
|
resolveKnowledgeEventsPath,
|
|
28
28
|
resolveLegacyApplicationLogPath
|
|
29
|
-
} from "./index-
|
|
29
|
+
} from "./index-fm4zfxnr.js";
|
|
30
30
|
import"./index-ae75rja9.js";
|
|
31
31
|
import"./index-q27bajqb.js";
|
|
32
32
|
import"./index-zgwm4ryv.js";
|
|
@@ -23,11 +23,11 @@ import {
|
|
|
23
23
|
validateLesson,
|
|
24
24
|
validateSkillCandidatePath,
|
|
25
25
|
validateSkillPath
|
|
26
|
-
} from "./index-
|
|
27
|
-
import"./index-
|
|
26
|
+
} from "./index-sa3dgpmc.js";
|
|
27
|
+
import"./index-rp5msv7n.js";
|
|
28
28
|
import"./index-rtry5xyf.js";
|
|
29
|
-
import"./index-
|
|
30
|
-
import"./index-
|
|
29
|
+
import"./index-45mvd5q7.js";
|
|
30
|
+
import"./index-fm4zfxnr.js";
|
|
31
31
|
import"./index-ae75rja9.js";
|
|
32
32
|
import"./index-q27bajqb.js";
|
|
33
33
|
import"./index-bk5tah7q.js";
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
alreadyCuratedThisGeneration,
|
|
5
5
|
claimNextScanBatch,
|
|
6
6
|
getScanStatus
|
|
7
|
-
} from "./index-
|
|
8
|
-
import"./index-
|
|
7
|
+
} from "./index-8tjbq2ej.js";
|
|
8
|
+
import"./index-45mvd5q7.js";
|
|
9
9
|
import"./index-ae75rja9.js";
|
|
10
10
|
import"./index-q27bajqb.js";
|
|
11
11
|
import"./index-bk5tah7q.js";
|
|
@@ -34,6 +34,7 @@ import {
|
|
|
34
34
|
ExternalSkillCandidateSchema,
|
|
35
35
|
ExternalSkillCandidateSourceTypeSchema,
|
|
36
36
|
ExternalSkillsConfigSchema,
|
|
37
|
+
FALLBACK_MODELS_MAX,
|
|
37
38
|
GATE_CONFIG_KNOWN_SECTION_KEYS,
|
|
38
39
|
GateConfigSchema,
|
|
39
40
|
GateFeatureSchema,
|
|
@@ -88,7 +89,7 @@ import {
|
|
|
88
89
|
resolveGeneratedAgentRole,
|
|
89
90
|
resolveGuardrailsConfig,
|
|
90
91
|
stripKnownSwarmPrefix
|
|
91
|
-
} from "./index-
|
|
92
|
+
} from "./index-414r47r7.js";
|
|
92
93
|
import"./index-bk5tah7q.js";
|
|
93
94
|
import"./index-zjygnfay.js";
|
|
94
95
|
import"./index-bpmtbmy9.js";
|
|
@@ -149,6 +150,7 @@ export {
|
|
|
149
150
|
GateFeatureSchema,
|
|
150
151
|
GateConfigSchema,
|
|
151
152
|
GATE_CONFIG_KNOWN_SECTION_KEYS,
|
|
153
|
+
FALLBACK_MODELS_MAX,
|
|
152
154
|
ExternalSkillsConfigSchema,
|
|
153
155
|
ExternalSkillCandidateSourceTypeSchema,
|
|
154
156
|
ExternalSkillCandidateSchema,
|
|
@@ -33,16 +33,16 @@ import {
|
|
|
33
33
|
sanitizeSlug,
|
|
34
34
|
selectCandidateEntries,
|
|
35
35
|
writeEvalStub
|
|
36
|
-
} from "./index-
|
|
37
|
-
import"./index-
|
|
38
|
-
import"./index-
|
|
36
|
+
} from "./index-01n43w2p.js";
|
|
37
|
+
import"./index-sa3dgpmc.js";
|
|
38
|
+
import"./index-rp5msv7n.js";
|
|
39
39
|
import"./index-rtry5xyf.js";
|
|
40
|
-
import"./index-
|
|
41
|
-
import"./index-
|
|
40
|
+
import"./index-45mvd5q7.js";
|
|
41
|
+
import"./index-fm4zfxnr.js";
|
|
42
42
|
import"./index-ae75rja9.js";
|
|
43
43
|
import"./index-q27bajqb.js";
|
|
44
44
|
import"./index-bk5tah7q.js";
|
|
45
|
-
import"./index-
|
|
45
|
+
import"./index-4rhhvd1a.js";
|
|
46
46
|
import"./index-zgwm4ryv.js";
|
|
47
47
|
import"./index-7mkpsw6g.js";
|
|
48
48
|
import"./index-fsrp8wp3.js";
|
package/dist/config/loader.d.ts
CHANGED
|
@@ -1,6 +1,20 @@
|
|
|
1
|
+
import type { z } from 'zod';
|
|
1
2
|
import { type PluginConfig } from './schema';
|
|
2
3
|
export declare const MAX_CONFIG_FILE_BYTES = 102400;
|
|
3
4
|
export { deepMerge, MAX_MERGE_DEPTH } from '../utils/merge';
|
|
5
|
+
/**
|
|
6
|
+
* Flatten a ZodError into a compact, single-line, human-readable summary that
|
|
7
|
+
* names each failing config path and why it failed, e.g.
|
|
8
|
+
* "agents.architect.fallback_models: Too big: expected array to have <=3 items"
|
|
9
|
+
*
|
|
10
|
+
* Surfaced to operators via `advisoryWarn` → `/swarm diagnose` so a config
|
|
11
|
+
* validation failure tells the user exactly what to fix, instead of the bare
|
|
12
|
+
* `"... validation failed:"` line they used to see (issue #1886). Replaces
|
|
13
|
+
* `error.format()` (a nested object that `advisoryWarn` dropped from the
|
|
14
|
+
* operator-visible buffer). It emits issue paths and messages only — never a
|
|
15
|
+
* raw dump of the user's config values.
|
|
16
|
+
*/
|
|
17
|
+
export declare function formatZodIssues(error: z.ZodError): string;
|
|
4
18
|
export declare function loadPluginConfig(directory: string): PluginConfig;
|
|
5
19
|
/**
|
|
6
20
|
* Internal variant of loadPluginConfig that also returns loader metadata.
|
package/dist/config/schema.d.ts
CHANGED
|
@@ -83,6 +83,12 @@ export declare const AgentThinkingConfigSchema: z.ZodObject<{
|
|
|
83
83
|
budget_tokens: z.ZodOptional<z.ZodNumber>;
|
|
84
84
|
}, z.core.$strip>;
|
|
85
85
|
export type AgentThinkingConfig = z.infer<typeof AgentThinkingConfigSchema>;
|
|
86
|
+
/**
|
|
87
|
+
* Maximum number of `fallback_models` an agent override may declare. Shared so
|
|
88
|
+
* the config doctor's opt-in trim (src/services/config-doctor.ts) can never
|
|
89
|
+
* drift from the schema constraint enforced here (issue #1886 follow-up).
|
|
90
|
+
*/
|
|
91
|
+
export declare const FALLBACK_MODELS_MAX = 3;
|
|
86
92
|
export declare const AgentOverrideConfigSchema: z.ZodObject<{
|
|
87
93
|
model: z.ZodOptional<z.ZodString>;
|
|
88
94
|
variant: z.ZodOptional<z.ZodString>;
|