opencode-swarm 7.183.0 → 7.184.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.
- package/binaries/win32-arm64/swarm-sandbox-runner.exe +0 -0
- package/binaries/win32-x64/swarm-sandbox-runner.exe +0 -0
- package/dist/background/pending-delegations.d.ts +21 -1
- package/dist/cli/{coder-settlement-6m5stw7s.js → coder-settlement-vrc5zxvv.js} +11 -11
- package/dist/cli/{config-doctor-g6r21wdz.js → config-doctor-y0bpap07.js} +7 -3
- package/dist/cli/{core-6dzx3z8q.js → core-7f955h2f.js} +3 -3
- package/dist/cli/{curation-policy-fm7mtvbk.js → curation-policy-fa2h82c4.js} +5 -5
- package/dist/cli/{curator-drift-art0x91j.js → curator-drift-48x02n2m.js} +8 -8
- package/dist/cli/curator-llm-factory-g6at4hn6.js +74 -0
- package/dist/cli/{curator-0xqj2rxm.js → curator-m7enwwz2.js} +38 -38
- package/dist/cli/{evidence-summary-service-h1vb58rd.js → evidence-summary-service-k8a5vkfk.js} +17 -17
- package/dist/cli/{gate-evidence-ps3rg5fh.js → gate-evidence-nktrs0w2.js} +6 -6
- package/dist/cli/guardrail-explain-1ccchxdr.js +75 -0
- package/dist/cli/{guardrail-log-x2gdf8ys.js → guardrail-log-dppv6tgn.js} +7 -7
- package/dist/cli/{guardrail-reset-mwkys4ff.js → guardrail-reset-btzq4ses.js} +38 -38
- package/dist/cli/{hive-promoter-gndjyg7e.js → hive-promoter-yp1baj9z.js} +38 -38
- package/dist/cli/{index-v2rbpcqy.js → index-01wt209s.js} +2 -2
- package/dist/cli/{index-jsdnhdzg.js → index-079xzcxb.js} +38 -38
- package/dist/cli/{index-5cvm6ykc.js → index-08x7gsnf.js} +1 -1
- package/dist/cli/{index-1kpa3an2.js → index-0bpr8vag.js} +2 -2
- package/dist/cli/{index-w670pfv4.js → index-152b9c6m.js} +5 -5
- package/dist/cli/{index-w6hrms7j.js → index-1d6ssjcj.js} +2 -2
- package/dist/cli/{index-29f69hzd.js → index-3fhg7pqf.js} +2 -2
- package/dist/cli/{index-wnkx6gs0.js → index-3rb5gs4w.js} +1 -1
- package/dist/cli/{index-a6np52p4.js → index-46z4c89b.js} +3 -3
- package/dist/cli/{index-4aggsva0.js → index-4gr9pj67.js} +3 -3
- package/dist/cli/{index-wjqc2mnc.js → index-4t0wd9sv.js} +1 -1
- package/dist/cli/{index-kv0k3b60.js → index-51xtrf7g.js} +6 -6
- package/dist/cli/{index-s1y70y0w.js → index-5cve9g2b.js} +1 -1
- package/dist/cli/{index-94pwd45k.js → index-5wk0etp8.js} +4 -4
- package/dist/cli/{index-mewsqwbq.js → index-6b4vkz6q.js} +1 -1
- package/dist/cli/{index-v8ja5zcr.js → index-6h81yvyc.js} +2 -2
- package/dist/cli/{index-3bcmw8pc.js → index-74x26wyj.js} +1 -1
- package/dist/cli/{index-c6zrffwn.js → index-9yvjwfay.js} +141 -83
- package/dist/cli/{index-jf9cvkzr.js → index-ad3yskxy.js} +4 -4
- package/dist/cli/{index-7p6s4yfb.js → index-b5mkznms.js} +1 -1
- package/dist/cli/{index-ybrwvrd4.js → index-bf1726rj.js} +40 -40
- package/dist/cli/{index-30pz2xvj.js → index-e90m050y.js} +7 -7
- package/dist/cli/{index-qws72zbs.js → index-edrgc139.js} +2 -2
- package/dist/cli/{index-tt705bap.js → index-fbhtb6f5.js} +3 -3
- package/dist/cli/{index-brfs5jqw.js → index-fs9y88h1.js} +3 -3
- package/dist/cli/{index-1ex9ecf5.js → index-j40czc9v.js} +4 -4
- package/dist/cli/{index-pvtf7cjg.js → index-me39468k.js} +7 -7
- package/dist/cli/{index-rfggc332.js → index-mn5zzmqx.js} +2 -2
- package/dist/cli/{index-k88thqa0.js → index-njf5pbkm.js} +6 -6
- package/dist/cli/{index-wqg2j647.js → index-nm8ma9xb.js} +19 -10
- package/dist/cli/{index-25m6rekr.js → index-nmh0s6dg.js} +1 -1
- package/dist/cli/{index-nmfnggaa.js → index-nvm6mxep.js} +13 -13
- package/dist/cli/{index-fqc1a1vj.js → index-pq6vr26z.js} +3 -3
- package/dist/cli/{index-0n24h4zb.js → index-qyx53xrz.js} +7 -7
- package/dist/cli/{index-9gehw4xb.js → index-r30xs0wp.js} +80 -2
- package/dist/cli/{index-6nhzekvt.js → index-rwfmx7vn.js} +2 -2
- package/dist/cli/{index-r65yxdv7.js → index-t1swv35d.js} +10 -4
- package/dist/cli/{index-yv5fmjcf.js → index-t26gj2fh.js} +2 -2
- package/dist/cli/{index-r7dqevkc.js → index-v3hpsxvd.js} +1 -1
- package/dist/cli/{index-820e6w22.js → index-w81jmdkt.js} +2 -2
- package/dist/cli/{index-fb0v3e71.js → index-ysr6n4ca.js} +9 -3
- package/dist/cli/{index-6f7tfq3m.js → index-z3b157ew.js} +8 -8
- package/dist/cli/{index-ht88g5mc.js → index-z8smhv7k.js} +1 -1
- package/dist/cli/index.js +39 -39
- package/dist/cli/{knowledge-escalator-gjp71cn2.js → knowledge-escalator-4296y1h2.js} +12 -12
- package/dist/cli/{knowledge-events-d8k9fmkg.js → knowledge-events-31nga9yt.js} +10 -10
- package/dist/cli/{knowledge-link-anzhs41w.js → knowledge-link-ydpvzam8.js} +4 -4
- package/dist/cli/{knowledge-store-sqmwvcjd.js → knowledge-store-0qz3zmq3.js} +5 -5
- package/dist/cli/{knowledge-validator-gjqm2zby.js → knowledge-validator-vndnwdj6.js} +7 -7
- package/dist/cli/{mcp-phvvtsmt.js → mcp-taace90a.js} +1 -1
- package/dist/cli/{model-preflight-ehqa8h7x.js → model-preflight-bv8nvjjx.js} +38 -38
- package/dist/cli/{pending-delegations-mxs88d0x.js → pending-delegations-kwdk8j9d.js} +11 -11
- package/dist/cli/{pr-subscriptions-n3ymnt5w.js → pr-subscriptions-w2fwdpkk.js} +11 -11
- package/dist/cli/{pr-workflow-gate-t8axhfzw.js → pr-workflow-gate-sqjc6jmd.js} +38 -38
- package/dist/cli/{runner-9kd080km.js → runner-r6gxq7m1.js} +5 -5
- package/dist/cli/{scan-cursor-qg4eg6ah.js → scan-cursor-f74b9b4k.js} +6 -6
- package/dist/cli/{schema-73z5xbmd.js → schema-cyet68tw.js} +3 -1
- package/dist/cli/{scope-persistence-b9924hz1.js → scope-persistence-rg8v0r8q.js} +14 -14
- package/dist/cli/{server-jn6xd5bh.js → server-765s4stz.js} +38 -38
- package/dist/cli/{skill-generator-k344y5m2.js → skill-generator-qg5m18k7.js} +14 -14
- package/dist/cli/{snapshot-coordination-init-a8992336.js → snapshot-coordination-init-zzs4bkmj.js} +38 -38
- package/dist/cli/{speckit-checkoff-0tctprtz.js → speckit-checkoff-2bsm6p0c.js} +4 -4
- package/dist/cli/{telemetry-vqyy5nha.js → telemetry-rzvcp2n9.js} +1 -1
- package/dist/cli/{workspace-snapshot-7e9me3q7.js → workspace-snapshot-t22m6gbd.js} +3 -3
- package/dist/cli/{worktree-collision-ownership-6r6jekr9.js → worktree-collision-ownership-qf2shp2n.js} +12 -12
- package/dist/cli/{worktree-isolation-5kw6jnej.js → worktree-isolation-0b0jy6dt.js} +38 -38
- package/dist/commands/doctor.d.ts +5 -0
- package/dist/config/schema.d.ts +15 -0
- package/dist/context/role-filter.d.ts +2 -0
- package/dist/hooks/final-context-accounting.d.ts +3 -2
- package/dist/hooks/host-boundary.d.ts +10 -0
- package/dist/hooks/system-enhancer.d.ts +9 -2
- package/dist/hooks/system-guidance-carrier.d.ts +18 -0
- package/dist/index.js +59 -57
- package/dist/services/config-doctor.d.ts +24 -0
- package/dist/services/injection-budget.d.ts +56 -8
- package/dist/tools/save-plan.d.ts +12 -0
- package/opencode-swarm.schema.json +8 -0
- package/package.json +1 -1
- package/dist/cli/curator-llm-factory-grnfsaa2.js +0 -74
- package/dist/cli/guardrail-explain-2sb06877.js +0 -75
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
PluginConfigSchema,
|
|
13
13
|
init_schema,
|
|
14
14
|
stripKnownSwarmPrefix
|
|
15
|
-
} from "./index-
|
|
15
|
+
} from "./index-ysr6n4ca.js";
|
|
16
16
|
import {
|
|
17
17
|
ALL_AGENT_NAMES,
|
|
18
18
|
TOOL_NAME_SET,
|
|
@@ -75,6 +75,27 @@ var DEPRECATED_FIELDS = new Map([
|
|
|
75
75
|
}
|
|
76
76
|
]
|
|
77
77
|
]);
|
|
78
|
+
var CURRENT_CONFIG_FORMAT_VERSION = 3;
|
|
79
|
+
var DEFAULT_FLIPS = [
|
|
80
|
+
{
|
|
81
|
+
field: "auto_review.enabled",
|
|
82
|
+
v7Default: "false (opt-in)",
|
|
83
|
+
v8Default: "release-gated true (advisory) \u2014 activates on the first 8.x release",
|
|
84
|
+
killSwitch: "auto_review.enabled: false",
|
|
85
|
+
preset: "conservative",
|
|
86
|
+
sinceVersion: 3,
|
|
87
|
+
evidence: "docs/defaults-governance.md"
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
field: "execution_profile.parallelization_enabled",
|
|
91
|
+
v7Default: "false (serial)",
|
|
92
|
+
v8Default: "true for new plans (since v7.132.0, gate-enforced serial fallback)",
|
|
93
|
+
killSwitch: "execution_profile.parallelization_enabled: false (per plan)",
|
|
94
|
+
preset: "conservative",
|
|
95
|
+
sinceVersion: 3,
|
|
96
|
+
evidence: "docs/defaults-governance.md"
|
|
97
|
+
}
|
|
98
|
+
];
|
|
78
99
|
function levenshteinDistance(a, b) {
|
|
79
100
|
const al = a.length;
|
|
80
101
|
const bl = b.length;
|
|
@@ -651,6 +672,20 @@ function validateConfigKey(path2, value) {
|
|
|
651
672
|
}
|
|
652
673
|
break;
|
|
653
674
|
}
|
|
675
|
+
case "preset": {
|
|
676
|
+
if (value !== "default" && value !== "conservative") {
|
|
677
|
+
findings.push({
|
|
678
|
+
id: "type-mismatch",
|
|
679
|
+
title: `Config field "${path2}" has wrong type`,
|
|
680
|
+
description: `Expected "default" or "conservative", got ${JSON.stringify(value)}`,
|
|
681
|
+
severity: "error",
|
|
682
|
+
path: path2,
|
|
683
|
+
currentValue: value,
|
|
684
|
+
autoFixable: false
|
|
685
|
+
});
|
|
686
|
+
}
|
|
687
|
+
break;
|
|
688
|
+
}
|
|
654
689
|
case "guardrails.enabled": {
|
|
655
690
|
if (value === false) {
|
|
656
691
|
findings.push({
|
|
@@ -1480,6 +1515,22 @@ function runConfigDoctor(config, directory) {
|
|
|
1480
1515
|
});
|
|
1481
1516
|
}
|
|
1482
1517
|
}
|
|
1518
|
+
for (const flip of DEFAULT_FLIPS) {
|
|
1519
|
+
if (configVersion < flip.sinceVersion) {
|
|
1520
|
+
findings.push({
|
|
1521
|
+
id: "defaults-flip",
|
|
1522
|
+
title: `v8 default change pending for "${flip.field}"`,
|
|
1523
|
+
description: `Default flips from ${flip.v7Default} to ${flip.v8Default}. ` + `Kill switch: set ${flip.killSwitch}. ` + `Restore all v7 defaults with preset: "${flip.preset}". ` + `Evidence and rollback: ${flip.evidence} (#2504).`,
|
|
1524
|
+
severity: "info",
|
|
1525
|
+
path: flip.field,
|
|
1526
|
+
currentValue: "v7 default",
|
|
1527
|
+
autoFixable: false
|
|
1528
|
+
});
|
|
1529
|
+
}
|
|
1530
|
+
}
|
|
1531
|
+
summary.info = findings.filter((f) => f.severity === "info").length;
|
|
1532
|
+
summary.warn = findings.filter((f) => f.severity === "warn").length;
|
|
1533
|
+
summary.error = findings.filter((f) => f.severity === "error").length;
|
|
1483
1534
|
return {
|
|
1484
1535
|
findings,
|
|
1485
1536
|
summary,
|
|
@@ -1763,6 +1814,33 @@ async function runConfigDoctorWithFixes(directory, config, autoFix = false, opti
|
|
|
1763
1814
|
backupPath = writeBackupArtifact(directory, backup);
|
|
1764
1815
|
}
|
|
1765
1816
|
const { appliedFixes, updatedConfigPath } = applySafeAutoFixes(directory, result, options);
|
|
1817
|
+
const hasDefaultsFlipFindings = result.findings.some((finding) => finding.id === "defaults-flip");
|
|
1818
|
+
if (options.applyLossy === true && (appliedFixes.length > 0 || hasDefaultsFlipFindings)) {
|
|
1819
|
+
try {
|
|
1820
|
+
const {
|
|
1821
|
+
userConfigPath: stampUserPath,
|
|
1822
|
+
projectConfigPath: stampProjectPath
|
|
1823
|
+
} = getConfigPaths(directory);
|
|
1824
|
+
const stampPath = fs.existsSync(stampProjectPath) ? stampProjectPath : fs.existsSync(stampUserPath) ? stampUserPath : null;
|
|
1825
|
+
if (stampPath) {
|
|
1826
|
+
const stampContent = fs.readFileSync(stampPath, "utf-8");
|
|
1827
|
+
const sanitizedStampContent = stampContent.charCodeAt(0) === 65279 ? stampContent.slice(1) : stampContent;
|
|
1828
|
+
const stampConfig = JSON.parse(sanitizedStampContent);
|
|
1829
|
+
const currentVersion = stampConfig.config_format_version;
|
|
1830
|
+
const shouldStamp = typeof currentVersion !== "number" || !Number.isInteger(currentVersion) || currentVersion < 0 || currentVersion < CURRENT_CONFIG_FORMAT_VERSION;
|
|
1831
|
+
if (shouldStamp) {
|
|
1832
|
+
stampConfig.config_format_version = CURRENT_CONFIG_FORMAT_VERSION;
|
|
1833
|
+
const stampDir = path.dirname(stampPath);
|
|
1834
|
+
if (!fs.existsSync(stampDir)) {
|
|
1835
|
+
fs.mkdirSync(stampDir, { recursive: true });
|
|
1836
|
+
}
|
|
1837
|
+
atomicWriteFileSync(stampPath, JSON.stringify(stampConfig, null, 2));
|
|
1838
|
+
}
|
|
1839
|
+
}
|
|
1840
|
+
} catch (stampError) {
|
|
1841
|
+
log(`[ConfigDoctor] acknowledgment stamp failed (non-fatal): ${stampError instanceof Error ? stampError.message : String(stampError)}`);
|
|
1842
|
+
}
|
|
1843
|
+
}
|
|
1766
1844
|
if (appliedFixes.length > 0) {
|
|
1767
1845
|
const freshConfig = readConfigFromFile(directory);
|
|
1768
1846
|
if (freshConfig) {
|
|
@@ -1887,4 +1965,4 @@ function removeStraySwarmDir(projectRoot, strayPath) {
|
|
|
1887
1965
|
}
|
|
1888
1966
|
}
|
|
1889
1967
|
|
|
1890
|
-
export { LEAN_TURBO_GATE_PRODUCERS, collectLeanTurboGateSatisfiabilityFindings, getConfigPaths, createConfigBackup, writeBackupArtifact, restoreFromBackup, runConfigDoctor, applySafeAutoFixes, readDoctorArtifact, writeDoctorArtifact, shouldRunOnStartup, runConfigDoctorWithFixes, detectStraySwarmDirs, removeStraySwarmDir };
|
|
1968
|
+
export { CURRENT_CONFIG_FORMAT_VERSION, DEFAULT_FLIPS, LEAN_TURBO_GATE_PRODUCERS, collectLeanTurboGateSatisfiabilityFindings, getConfigPaths, createConfigBackup, writeBackupArtifact, restoreFromBackup, runConfigDoctor, applySafeAutoFixes, readDoctorArtifact, writeDoctorArtifact, shouldRunOnStartup, runConfigDoctorWithFixes, detectStraySwarmDirs, removeStraySwarmDir };
|
|
@@ -14,14 +14,14 @@ import {
|
|
|
14
14
|
detectWindowsWrites,
|
|
15
15
|
getSharedClassifierGuardrailBlock,
|
|
16
16
|
resolveWriteTargets
|
|
17
|
-
} from "./index-
|
|
17
|
+
} from "./index-9yvjwfay.js";
|
|
18
18
|
import {
|
|
19
19
|
checkFileAuthority,
|
|
20
20
|
classifyFile,
|
|
21
21
|
isInDeclaredScope,
|
|
22
22
|
redactPath,
|
|
23
23
|
redactShellCommand
|
|
24
|
-
} from "./index-
|
|
24
|
+
} from "./index-pq6vr26z.js";
|
|
25
25
|
|
|
26
26
|
// src/services/guardrail-explain-service.ts
|
|
27
27
|
import path from "path";
|
|
@@ -6,13 +6,14 @@ import {
|
|
|
6
6
|
init_warning_buffer
|
|
7
7
|
} from "./index-zxdawwc7.js";
|
|
8
8
|
import {
|
|
9
|
+
CONSERVATIVE_PRESET_BASE,
|
|
9
10
|
ExternalSkillsConfigSchema,
|
|
10
11
|
GATE_CONFIG_KNOWN_SECTION_KEYS,
|
|
11
12
|
GateConfigSchema,
|
|
12
13
|
PluginConfigSchema,
|
|
13
14
|
init_schema,
|
|
14
15
|
resolveExternalSkillsConfig
|
|
15
|
-
} from "./index-
|
|
16
|
+
} from "./index-ysr6n4ca.js";
|
|
16
17
|
import {
|
|
17
18
|
DangerousMergeKeyError,
|
|
18
19
|
MAX_MERGE_DEPTH,
|
|
@@ -315,7 +316,7 @@ function migratePresetsConfig(raw) {
|
|
|
315
316
|
return migrated;
|
|
316
317
|
}
|
|
317
318
|
}
|
|
318
|
-
const dormantLegacyKeys = ["preset", "presets", "swarm_mode"].filter((key) => (key in raw));
|
|
319
|
+
const dormantLegacyKeys = ["preset", "presets", "swarm_mode"].filter((key) => (key in raw) && (key !== "preset" || raw.preset !== "default" && raw.preset !== "conservative"));
|
|
319
320
|
if (dormantLegacyKeys.length > 0 && raw.agents) {
|
|
320
321
|
const cleaned = { ...raw };
|
|
321
322
|
for (const key of dormantLegacyKeys) {
|
|
@@ -514,6 +515,9 @@ function buildConfigWithMeta(rawUserConfig, rawProjectConfig, loadedFromFile, co
|
|
|
514
515
|
mergedRaw = { ...mergedRaw, full_auto: { ...fa, locked: true } };
|
|
515
516
|
}
|
|
516
517
|
mergedRaw = migratePresetsConfig(mergedRaw);
|
|
518
|
+
if (mergedRaw.preset === "conservative") {
|
|
519
|
+
mergedRaw = deepMerge(CONSERVATIVE_PRESET_BASE, mergedRaw);
|
|
520
|
+
}
|
|
517
521
|
const {
|
|
518
522
|
result: sanitized,
|
|
519
523
|
strippedKeys: gatesStripped,
|
|
@@ -574,7 +578,9 @@ function buildConfigWithMeta(rawUserConfig, rawProjectConfig, loadedFromFile, co
|
|
|
574
578
|
strippedKeys: userGatesStripped,
|
|
575
579
|
rawGates: userRawGates
|
|
576
580
|
} = sanitizeSectionConfigs(rawUserConfig);
|
|
577
|
-
const
|
|
581
|
+
const userPresetMigrated = migratePresetsConfig(userSanitized);
|
|
582
|
+
const userPresetReady = userPresetMigrated.preset === "conservative" ? deepMerge(CONSERVATIVE_PRESET_BASE, userPresetMigrated) : userPresetMigrated;
|
|
583
|
+
const userParseResult = PluginConfigSchema.safeParse(userPresetReady);
|
|
578
584
|
if (userParseResult.success) {
|
|
579
585
|
advisoryWarn("[opencode-swarm] Project config ignored due to validation errors. Using user config.");
|
|
580
586
|
return {
|
|
@@ -587,7 +593,7 @@ function buildConfigWithMeta(rawUserConfig, rawProjectConfig, loadedFromFile, co
|
|
|
587
593
|
rawGates: userRawGates
|
|
588
594
|
};
|
|
589
595
|
}
|
|
590
|
-
const userStripped = stripUnrecognizedKeys(
|
|
596
|
+
const userStripped = stripUnrecognizedKeys(userPresetReady, userParseResult.error);
|
|
591
597
|
if (userStripped.removed.length > 0) {
|
|
592
598
|
const userRecovered = PluginConfigSchema.safeParse(userStripped.cleaned);
|
|
593
599
|
if (userRecovered.success) {
|
|
@@ -5,11 +5,11 @@ import {
|
|
|
5
5
|
import {
|
|
6
6
|
atomicWriteFileAnyRoot,
|
|
7
7
|
atomicWriteSwarmFileSync
|
|
8
|
-
} from "./index-
|
|
8
|
+
} from "./index-5cve9g2b.js";
|
|
9
9
|
import {
|
|
10
10
|
init_loader,
|
|
11
11
|
loadPluginConfig
|
|
12
|
-
} from "./index-
|
|
12
|
+
} from "./index-t1swv35d.js";
|
|
13
13
|
import {
|
|
14
14
|
init_logger,
|
|
15
15
|
log,
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
import {
|
|
3
3
|
derivePlanId,
|
|
4
4
|
derivePlanIdentityHash
|
|
5
|
-
} from "./index-
|
|
5
|
+
} from "./index-3rb5gs4w.js";
|
|
6
6
|
import {
|
|
7
7
|
DURABILITY_CLASSES,
|
|
8
8
|
getProjectDb,
|
|
9
9
|
projectDbExists,
|
|
10
10
|
withImmediateTransaction
|
|
11
|
-
} from "./index-
|
|
11
|
+
} from "./index-08x7gsnf.js";
|
|
12
12
|
import {
|
|
13
13
|
init_logger,
|
|
14
14
|
warn
|
|
@@ -21,7 +21,7 @@ var package_default;
|
|
|
21
21
|
var init_package = __esm(() => {
|
|
22
22
|
package_default = {
|
|
23
23
|
name: "opencode-swarm",
|
|
24
|
-
version: "7.
|
|
24
|
+
version: "7.184.0",
|
|
25
25
|
description: "Architect-centric agentic swarm plugin for OpenCode - hub-and-spoke orchestration with SME consultation, code generation, and QA review",
|
|
26
26
|
main: "dist/index.js",
|
|
27
27
|
types: "dist/index.d.ts",
|
|
@@ -289,6 +289,8 @@ function hasApprovedAutoReviewBurnIn(decision) {
|
|
|
289
289
|
return Boolean(decision?.approved === true && decision.artifact_path === AUTO_REVIEW_V8_BURN_IN_DECISION.artifact_path && decision.artifact_sha256 === AUTO_REVIEW_V8_BURN_IN_DECISION.artifact_sha256);
|
|
290
290
|
}
|
|
291
291
|
function autoReviewEnabledByRelease(context = {}) {
|
|
292
|
+
if (context.preset === "conservative")
|
|
293
|
+
return false;
|
|
292
294
|
const version = context.packageVersion ?? package_default.version;
|
|
293
295
|
const major = Number.parseInt(version.split(".")[0] ?? "", 10);
|
|
294
296
|
return Number.isInteger(major) && major >= 8 && hasApprovedAutoReviewBurnIn(context.burnInDecision ?? AUTO_REVIEW_V8_BURN_IN_DECISION);
|
|
@@ -380,7 +382,7 @@ function resolveExternalSkillsConfig(input) {
|
|
|
380
382
|
};
|
|
381
383
|
return merged;
|
|
382
384
|
}
|
|
383
|
-
var _internals, SEPARATORS, CANONICAL_ROLES_LONGEST_FIRST, CANONICAL_ROLES_SET, AgentReasoningConfigSchema, AgentThinkingConfigSchema, FALLBACK_MODELS_MAX = 3, AgentOverrideConfigSchema, SwarmConfigSchema, ModelPricingConfigSchema, PricingConfigSchema, HooksConfigSchema, ScoringWeightsSchema, DecisionDecaySchema, TokenRatiosSchema, ScoringConfigSchema, ContextBudgetConfigSchema, EvidenceConfigSchema, GateFeatureSchema, PlaceholderScanConfigSchema, QualityBudgetConfigSchema, GATE_SECTION_SCHEMAS, GateConfigSchema, GATE_CONFIG_KNOWN_SECTION_KEYS, GATE_CONFIG_READERS, PipelineConfigSchema, PhaseCompleteConfigSchema, SummaryConfigSchema, RetentionConfigSchema, ReviewPassesConfigSchema, AUTO_REVIEW_V8_BURN_IN_DECISION, AutoReviewFinalConfigSchema, AutoReviewConfigObjectSchema, AutoReviewConfigSchema, AdversarialDetectionConfigSchema, AdversarialTestingConfigSchemaBase, AdversarialTestingConfigSchema, IntegrationAnalysisConfigSchema, DocsConfigSchema, DesignDocsConfigSchema, GitConfigSchema, UIReviewConfigSchema, CompactionAdvisoryConfigSchema, LintConfigSchema, SecretscanConfigSchema, GuardrailsProfileSchema, DEFAULT_AGENT_PROFILES, DEFAULT_ARCHITECT_PROFILE, GuardrailsConfigSchema, WatchdogConfigSchema, SelfReviewConfigSchema, ToolFilterConfigSchema, PlanCursorConfigSchema, ContextMapConfigSchema, RepoGraphConfigSchema, INVALID_CHECKPOINT_PROTO_FIELD = "__swarm_invalid_checkpoint_proto__", FORBIDDEN_CHECKPOINT_CONFIG_KEYS, CheckpointConfigSchema, ApplyPatchConfigSchema, AutomationModeSchema, AutomationCapabilitiesSchema, AutomationConfigSchemaBase, AutomationConfigSchema, KnowledgeConfigSchema, LearningConfigSchema, ConsensusConfigSchema, OtlpExportConfigSchema, ObservabilityConfigSchema, MemoryConfigSchema, CuratorConfigSchema, ArchitecturalSupervisionConfigSchema, KnowledgeApplicationConfigSchema, SkillPropagationAudienceSchema, SkillPropagationConfigSchema, HarnessRelativePathSchema, HarnessEvolutionConfigSchema, DEFAULT_HARNESS_EVOLUTION_CONFIG, HarnessOptConfigSchema, DEFAULT_HARNESS_OPT_CONFIG, SkillImproverConfigSchema, SkillsConfigSchema, SkillOptConfigSchema, DEFAULT_SKILL_OPT_CONFIG, SpecWriterConfigSchema, SlopDetectorConfigSchema, IncrementalVerifyConfigSchema, CompactionConfigSchema, PrmConfigSchema, AgentAuthorityRuleSchema, AuthorityConfigSchema, GeneralCouncilMemberConfigSchema, GeneralCouncilConfigSchema, CouncilConfigSchema, PrMonitorConfigSchema, PrFeedbackLoopConfigSchema, ParallelizationConfigSchema, WorktreeIsolationConfigSchema, LeanTurboConfigSchema, EpicConfigSchema, StandardTurboConfigSchema, LeanTurboStrategyConfigSchema, TurboConfigSchema, ExternalSkillCandidateSourceTypeSchema, ExternalSkillCandidateEvaluationVerdictSchema, DiscoverySourceSchema, ExternalSkillCandidateSchema, ExternalSkillsConfigSchema, DEFAULT_EXTERNAL_SKILLS_CONFIG, DEFAULT_SKILLS_CONFIG, DEFAULT_PR_REVIEW_RESILIENCE_CONFIG, PrReviewResilienceConfigSchema, ReviewRoutingConfigSchema, DEFAULT_REVIEW_ROUTING_CONFIG, LaneLivenessWatchdogConfigSchema, DispatchProtectionConfigSchema, DashboardConfigSchema, DEFAULT_PR_REVIEW_LEGACY_TRANSCRIPT_COMPATIBILITY = false, PluginConfigSchema;
|
|
385
|
+
var _internals, SEPARATORS, CANONICAL_ROLES_LONGEST_FIRST, CANONICAL_ROLES_SET, AgentReasoningConfigSchema, AgentThinkingConfigSchema, FALLBACK_MODELS_MAX = 3, AgentOverrideConfigSchema, SwarmConfigSchema, ModelPricingConfigSchema, PricingConfigSchema, HooksConfigSchema, ScoringWeightsSchema, DecisionDecaySchema, TokenRatiosSchema, ScoringConfigSchema, ContextBudgetConfigSchema, EvidenceConfigSchema, GateFeatureSchema, PlaceholderScanConfigSchema, QualityBudgetConfigSchema, GATE_SECTION_SCHEMAS, GateConfigSchema, GATE_CONFIG_KNOWN_SECTION_KEYS, GATE_CONFIG_READERS, PipelineConfigSchema, PhaseCompleteConfigSchema, SummaryConfigSchema, RetentionConfigSchema, ReviewPassesConfigSchema, AUTO_REVIEW_V8_BURN_IN_DECISION, CONSERVATIVE_PRESET_BASE, AutoReviewFinalConfigSchema, AutoReviewConfigObjectSchema, AutoReviewConfigSchema, AdversarialDetectionConfigSchema, AdversarialTestingConfigSchemaBase, AdversarialTestingConfigSchema, IntegrationAnalysisConfigSchema, DocsConfigSchema, DesignDocsConfigSchema, GitConfigSchema, UIReviewConfigSchema, CompactionAdvisoryConfigSchema, LintConfigSchema, SecretscanConfigSchema, GuardrailsProfileSchema, DEFAULT_AGENT_PROFILES, DEFAULT_ARCHITECT_PROFILE, GuardrailsConfigSchema, WatchdogConfigSchema, SelfReviewConfigSchema, ToolFilterConfigSchema, PlanCursorConfigSchema, ContextMapConfigSchema, RepoGraphConfigSchema, INVALID_CHECKPOINT_PROTO_FIELD = "__swarm_invalid_checkpoint_proto__", FORBIDDEN_CHECKPOINT_CONFIG_KEYS, CheckpointConfigSchema, ApplyPatchConfigSchema, AutomationModeSchema, AutomationCapabilitiesSchema, AutomationConfigSchemaBase, AutomationConfigSchema, KnowledgeConfigSchema, LearningConfigSchema, ConsensusConfigSchema, OtlpExportConfigSchema, ObservabilityConfigSchema, MemoryConfigSchema, CuratorConfigSchema, ArchitecturalSupervisionConfigSchema, KnowledgeApplicationConfigSchema, SkillPropagationAudienceSchema, SkillPropagationConfigSchema, HarnessRelativePathSchema, HarnessEvolutionConfigSchema, DEFAULT_HARNESS_EVOLUTION_CONFIG, HarnessOptConfigSchema, DEFAULT_HARNESS_OPT_CONFIG, SkillImproverConfigSchema, SkillsConfigSchema, SkillOptConfigSchema, DEFAULT_SKILL_OPT_CONFIG, SpecWriterConfigSchema, SlopDetectorConfigSchema, IncrementalVerifyConfigSchema, CompactionConfigSchema, PrmConfigSchema, AgentAuthorityRuleSchema, AuthorityConfigSchema, GeneralCouncilMemberConfigSchema, GeneralCouncilConfigSchema, CouncilConfigSchema, PrMonitorConfigSchema, PrFeedbackLoopConfigSchema, ParallelizationConfigSchema, WorktreeIsolationConfigSchema, LeanTurboConfigSchema, EpicConfigSchema, StandardTurboConfigSchema, LeanTurboStrategyConfigSchema, TurboConfigSchema, ExternalSkillCandidateSourceTypeSchema, ExternalSkillCandidateEvaluationVerdictSchema, DiscoverySourceSchema, ExternalSkillCandidateSchema, ExternalSkillsConfigSchema, DEFAULT_EXTERNAL_SKILLS_CONFIG, DEFAULT_SKILLS_CONFIG, DEFAULT_PR_REVIEW_RESILIENCE_CONFIG, PrReviewResilienceConfigSchema, ReviewRoutingConfigSchema, DEFAULT_REVIEW_ROUTING_CONFIG, LaneLivenessWatchdogConfigSchema, DispatchProtectionConfigSchema, DashboardConfigSchema, DEFAULT_PR_REVIEW_LEGACY_TRANSCRIPT_COMPATIBILITY = false, PluginConfigSchema;
|
|
384
386
|
var init_schema = __esm(() => {
|
|
385
387
|
init_zod();
|
|
386
388
|
init_package();
|
|
@@ -600,6 +602,9 @@ var init_schema = __esm(() => {
|
|
|
600
602
|
artifact_path: "docs/benchmarks/auto-review-v8-cost-baseline.json",
|
|
601
603
|
artifact_sha256: "b4e981d4d87e3de80f6d7dd4ae782b08159d385019c4d8b0d300c0443f1984ce"
|
|
602
604
|
};
|
|
605
|
+
CONSERVATIVE_PRESET_BASE = {
|
|
606
|
+
auto_review: { enabled: false }
|
|
607
|
+
};
|
|
603
608
|
AutoReviewFinalConfigSchema = exports_external.object({
|
|
604
609
|
on_phase_complete: exports_external.boolean().default(true),
|
|
605
610
|
on_plan_complete: exports_external.boolean().default(true),
|
|
@@ -1768,6 +1773,7 @@ var init_schema = __esm(() => {
|
|
|
1768
1773
|
PluginConfigSchema = exports_external.object({
|
|
1769
1774
|
$schema: exports_external.string().optional().catch(undefined).describe("JSON Schema URL for editor validation/autocomplete of this file (issue #1663). Ignored at runtime; malformed values are ignored too."),
|
|
1770
1775
|
config_format_version: exports_external.number().int().min(0).default(1).describe("Config format version for the migration table. Increment when fields are deprecated. Distinct from knowledge.schema_version."),
|
|
1776
|
+
preset: exports_external.enum(["default", "conservative"]).optional().describe('Defaults profile: "default" applies the governed v8 defaults; "conservative" restores the pre-flip (v7) defaults for every flipped surface (#2504).'),
|
|
1771
1777
|
agents: exports_external.record(exports_external.string(), AgentOverrideConfigSchema).optional().describe('Per-agent overrides keyed by agent name for the default swarm (e.g. "architect", "coder"). Multi-swarm setups configure agents under swarms.<id>.agents instead.'),
|
|
1772
1778
|
default_agent: exports_external.string().optional().transform((v) => {
|
|
1773
1779
|
if (v === undefined)
|
|
@@ -2031,4 +2037,4 @@ var init_schema = __esm(() => {
|
|
|
2031
2037
|
});
|
|
2032
2038
|
});
|
|
2033
2039
|
|
|
2034
|
-
export { init_package, package_default, DEFAULT_MODEL_CONTEXT_TOKENS, isUsableConfiguredWindow, isUsableContextWindow, resolveContextWindow, init_context_window, _internals, isKnownCanonicalRole, getCanonicalAgentRole, resolveGeneratedAgentRole, stripKnownSwarmPrefix, AgentReasoningConfigSchema, AgentThinkingConfigSchema, FALLBACK_MODELS_MAX, AgentOverrideConfigSchema, SwarmConfigSchema, ModelPricingConfigSchema, PricingConfigSchema, HooksConfigSchema, ScoringWeightsSchema, DecisionDecaySchema, TokenRatiosSchema, ScoringConfigSchema, ContextBudgetConfigSchema, EvidenceConfigSchema, GateFeatureSchema, PlaceholderScanConfigSchema, QualityBudgetConfigSchema, GATE_SECTION_SCHEMAS, GateConfigSchema, GATE_CONFIG_KNOWN_SECTION_KEYS, GATE_CONFIG_READERS, PipelineConfigSchema, PhaseCompleteConfigSchema, SummaryConfigSchema, RetentionConfigSchema, ReviewPassesConfigSchema, AUTO_REVIEW_V8_BURN_IN_DECISION, AutoReviewConfigSchema, resolveAutoReviewConfig, AdversarialDetectionConfigSchema, AdversarialTestingConfigSchema, IntegrationAnalysisConfigSchema, DocsConfigSchema, DesignDocsConfigSchema, GitConfigSchema, UIReviewConfigSchema, CompactionAdvisoryConfigSchema, LintConfigSchema, SecretscanConfigSchema, GuardrailsProfileSchema, DEFAULT_AGENT_PROFILES, DEFAULT_ARCHITECT_PROFILE, GuardrailsConfigSchema, WatchdogConfigSchema, SelfReviewConfigSchema, resolveGuardrailsConfig, ToolFilterConfigSchema, PlanCursorConfigSchema, ContextMapConfigSchema, RepoGraphConfigSchema, CheckpointConfigSchema, ApplyPatchConfigSchema, AutomationModeSchema, AutomationCapabilitiesSchema, AutomationConfigSchema, KnowledgeConfigSchema, LearningConfigSchema, ConsensusConfigSchema, OtlpExportConfigSchema, ObservabilityConfigSchema, MemoryConfigSchema, CuratorConfigSchema, ArchitecturalSupervisionConfigSchema, KnowledgeApplicationConfigSchema, SkillPropagationConfigSchema, HarnessEvolutionConfigSchema, DEFAULT_HARNESS_EVOLUTION_CONFIG, HarnessOptConfigSchema, DEFAULT_HARNESS_OPT_CONFIG, SkillImproverConfigSchema, SkillsConfigSchema, SkillOptConfigSchema, DEFAULT_SKILL_OPT_CONFIG, SpecWriterConfigSchema, SlopDetectorConfigSchema, IncrementalVerifyConfigSchema, CompactionConfigSchema, PrmConfigSchema, AgentAuthorityRuleSchema, AuthorityConfigSchema, GeneralCouncilConfigSchema, CouncilConfigSchema, PrMonitorConfigSchema, PrFeedbackLoopConfigSchema, ParallelizationConfigSchema, WorktreeIsolationConfigSchema, LeanTurboConfigSchema, EpicConfigSchema, StandardTurboConfigSchema, LeanTurboStrategyConfigSchema, TurboConfigSchema, ExternalSkillCandidateSourceTypeSchema, ExternalSkillCandidateEvaluationVerdictSchema, DiscoverySourceSchema, ExternalSkillCandidateSchema, ExternalSkillsConfigSchema, DEFAULT_EXTERNAL_SKILLS_CONFIG, DEFAULT_SKILLS_CONFIG, resolveExternalSkillsConfig, DEFAULT_PR_REVIEW_RESILIENCE_CONFIG, PrReviewResilienceConfigSchema, ReviewRoutingConfigSchema, DEFAULT_REVIEW_ROUTING_CONFIG, LaneLivenessWatchdogConfigSchema, DispatchProtectionConfigSchema, DashboardConfigSchema, DEFAULT_PR_REVIEW_LEGACY_TRANSCRIPT_COMPATIBILITY, PluginConfigSchema, init_schema };
|
|
2040
|
+
export { init_package, package_default, DEFAULT_MODEL_CONTEXT_TOKENS, isUsableConfiguredWindow, isUsableContextWindow, resolveContextWindow, init_context_window, _internals, isKnownCanonicalRole, getCanonicalAgentRole, resolveGeneratedAgentRole, stripKnownSwarmPrefix, AgentReasoningConfigSchema, AgentThinkingConfigSchema, FALLBACK_MODELS_MAX, AgentOverrideConfigSchema, SwarmConfigSchema, ModelPricingConfigSchema, PricingConfigSchema, HooksConfigSchema, ScoringWeightsSchema, DecisionDecaySchema, TokenRatiosSchema, ScoringConfigSchema, ContextBudgetConfigSchema, EvidenceConfigSchema, GateFeatureSchema, PlaceholderScanConfigSchema, QualityBudgetConfigSchema, GATE_SECTION_SCHEMAS, GateConfigSchema, GATE_CONFIG_KNOWN_SECTION_KEYS, GATE_CONFIG_READERS, PipelineConfigSchema, PhaseCompleteConfigSchema, SummaryConfigSchema, RetentionConfigSchema, ReviewPassesConfigSchema, AUTO_REVIEW_V8_BURN_IN_DECISION, CONSERVATIVE_PRESET_BASE, AutoReviewConfigSchema, resolveAutoReviewConfig, AdversarialDetectionConfigSchema, AdversarialTestingConfigSchema, IntegrationAnalysisConfigSchema, DocsConfigSchema, DesignDocsConfigSchema, GitConfigSchema, UIReviewConfigSchema, CompactionAdvisoryConfigSchema, LintConfigSchema, SecretscanConfigSchema, GuardrailsProfileSchema, DEFAULT_AGENT_PROFILES, DEFAULT_ARCHITECT_PROFILE, GuardrailsConfigSchema, WatchdogConfigSchema, SelfReviewConfigSchema, resolveGuardrailsConfig, ToolFilterConfigSchema, PlanCursorConfigSchema, ContextMapConfigSchema, RepoGraphConfigSchema, CheckpointConfigSchema, ApplyPatchConfigSchema, AutomationModeSchema, AutomationCapabilitiesSchema, AutomationConfigSchema, KnowledgeConfigSchema, LearningConfigSchema, ConsensusConfigSchema, OtlpExportConfigSchema, ObservabilityConfigSchema, MemoryConfigSchema, CuratorConfigSchema, ArchitecturalSupervisionConfigSchema, KnowledgeApplicationConfigSchema, SkillPropagationConfigSchema, HarnessEvolutionConfigSchema, DEFAULT_HARNESS_EVOLUTION_CONFIG, HarnessOptConfigSchema, DEFAULT_HARNESS_OPT_CONFIG, SkillImproverConfigSchema, SkillsConfigSchema, SkillOptConfigSchema, DEFAULT_SKILL_OPT_CONFIG, SpecWriterConfigSchema, SlopDetectorConfigSchema, IncrementalVerifyConfigSchema, CompactionConfigSchema, PrmConfigSchema, AgentAuthorityRuleSchema, AuthorityConfigSchema, GeneralCouncilConfigSchema, CouncilConfigSchema, PrMonitorConfigSchema, PrFeedbackLoopConfigSchema, ParallelizationConfigSchema, WorktreeIsolationConfigSchema, LeanTurboConfigSchema, EpicConfigSchema, StandardTurboConfigSchema, LeanTurboStrategyConfigSchema, TurboConfigSchema, ExternalSkillCandidateSourceTypeSchema, ExternalSkillCandidateEvaluationVerdictSchema, DiscoverySourceSchema, ExternalSkillCandidateSchema, ExternalSkillsConfigSchema, DEFAULT_EXTERNAL_SKILLS_CONFIG, DEFAULT_SKILLS_CONFIG, resolveExternalSkillsConfig, DEFAULT_PR_REVIEW_RESILIENCE_CONFIG, PrReviewResilienceConfigSchema, ReviewRoutingConfigSchema, DEFAULT_REVIEW_ROUTING_CONFIG, LaneLivenessWatchdogConfigSchema, DispatchProtectionConfigSchema, DashboardConfigSchema, DEFAULT_PR_REVIEW_LEGACY_TRANSCRIPT_COMPATIBILITY, PluginConfigSchema, init_schema };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
validateSwarmPath
|
|
4
|
-
} from "./index-
|
|
4
|
+
} from "./index-nmh0s6dg.js";
|
|
5
5
|
import {
|
|
6
6
|
observeReceiptTransition
|
|
7
|
-
} from "./index-
|
|
7
|
+
} from "./index-1d6ssjcj.js";
|
|
8
8
|
import {
|
|
9
9
|
resolveHiveEventsPath
|
|
10
10
|
} from "./index-ae75rja9.js";
|
|
11
11
|
import {
|
|
12
12
|
resolveKnowledgeStoreDir
|
|
13
|
-
} from "./index-
|
|
13
|
+
} from "./index-74x26wyj.js";
|
|
14
14
|
import {
|
|
15
15
|
assertProjectRoot,
|
|
16
16
|
atomicWriteFile
|
|
17
|
-
} from "./index-
|
|
17
|
+
} from "./index-01wt209s.js";
|
|
18
18
|
import {
|
|
19
19
|
emit
|
|
20
|
-
} from "./index-
|
|
20
|
+
} from "./index-fbhtb6f5.js";
|
|
21
21
|
import {
|
|
22
22
|
canonicalRootKey
|
|
23
23
|
} from "./index-1xnse449.js";
|
|
@@ -26,11 +26,11 @@ import {
|
|
|
26
26
|
} from "./index-7g4c7s5r.js";
|
|
27
27
|
import {
|
|
28
28
|
loadPluginConfigWithMeta
|
|
29
|
-
} from "./index-
|
|
29
|
+
} from "./index-t1swv35d.js";
|
|
30
30
|
import {
|
|
31
31
|
KnowledgeConfigSchema,
|
|
32
32
|
init_schema
|
|
33
|
-
} from "./index-
|
|
33
|
+
} from "./index-ysr6n4ca.js";
|
|
34
34
|
import {
|
|
35
35
|
init_logger,
|
|
36
36
|
warn
|
|
@@ -2944,7 +2944,7 @@ async function applyKnowledgeVerdictFeedback(directory, options) {
|
|
|
2944
2944
|
}
|
|
2945
2945
|
let bumps = 0;
|
|
2946
2946
|
if (deltas.length > 0) {
|
|
2947
|
-
const { bumpKnowledgeConfidenceBatch } = await import("./knowledge-store-
|
|
2947
|
+
const { bumpKnowledgeConfidenceBatch } = await import("./knowledge-store-0qz3zmq3.js");
|
|
2948
2948
|
bumps = await bumpKnowledgeConfidenceBatch(directory, deltas, options?.floorOptions);
|
|
2949
2949
|
}
|
|
2950
2950
|
return {
|
package/dist/cli/index.js
CHANGED
|
@@ -14,69 +14,69 @@ import {
|
|
|
14
14
|
readCachePackageVersion,
|
|
15
15
|
resolveCommand,
|
|
16
16
|
safeRealpathSync
|
|
17
|
-
} from "./index-
|
|
18
|
-
import"./index-
|
|
17
|
+
} from "./index-9yvjwfay.js";
|
|
18
|
+
import"./index-pq6vr26z.js";
|
|
19
19
|
import"./index-hamqvzqn.js";
|
|
20
|
-
import"./index-
|
|
21
|
-
import"./index-
|
|
22
|
-
import"./index-
|
|
23
|
-
import"./index-
|
|
24
|
-
import"./index-
|
|
20
|
+
import"./index-4t0wd9sv.js";
|
|
21
|
+
import"./index-46z4c89b.js";
|
|
22
|
+
import"./index-r30xs0wp.js";
|
|
23
|
+
import"./index-nvm6mxep.js";
|
|
24
|
+
import"./index-z8smhv7k.js";
|
|
25
25
|
import"./index-txdagbh7.js";
|
|
26
|
-
import"./index-
|
|
26
|
+
import"./index-6b4vkz6q.js";
|
|
27
27
|
import"./index-6b295cas.js";
|
|
28
|
-
import"./index-
|
|
29
|
-
import"./index-
|
|
30
|
-
import"./index-
|
|
28
|
+
import"./index-j40czc9v.js";
|
|
29
|
+
import"./index-152b9c6m.js";
|
|
30
|
+
import"./index-3fhg7pqf.js";
|
|
31
31
|
import"./index-rdec0y3z.js";
|
|
32
|
-
import"./index-
|
|
32
|
+
import"./index-e90m050y.js";
|
|
33
33
|
import"./index-cjapb4hy.js";
|
|
34
34
|
import"./index-zsrtt42s.js";
|
|
35
|
-
import"./index-
|
|
36
|
-
import"./index-
|
|
37
|
-
import"./index-
|
|
35
|
+
import"./index-me39468k.js";
|
|
36
|
+
import"./index-6h81yvyc.js";
|
|
37
|
+
import"./index-0bpr8vag.js";
|
|
38
38
|
import"./index-pt7h91zc.js";
|
|
39
39
|
import"./index-q7sjgr1y.js";
|
|
40
|
-
import"./index-
|
|
41
|
-
import"./index-
|
|
42
|
-
import"./index-
|
|
43
|
-
import"./index-
|
|
44
|
-
import"./index-
|
|
45
|
-
import"./index-
|
|
40
|
+
import"./index-t26gj2fh.js";
|
|
41
|
+
import"./index-ad3yskxy.js";
|
|
42
|
+
import"./index-4gr9pj67.js";
|
|
43
|
+
import"./index-nm8ma9xb.js";
|
|
44
|
+
import"./index-z3b157ew.js";
|
|
45
|
+
import"./index-nmh0s6dg.js";
|
|
46
46
|
import"./index-2s7dvzff.js";
|
|
47
|
-
import"./index-
|
|
48
|
-
import"./index-
|
|
47
|
+
import"./index-5wk0etp8.js";
|
|
48
|
+
import"./index-v3hpsxvd.js";
|
|
49
49
|
import"./index-rtry5xyf.js";
|
|
50
|
-
import"./index-
|
|
50
|
+
import"./index-edrgc139.js";
|
|
51
51
|
import"./index-frcemc0b.js";
|
|
52
52
|
import"./index-0725jpp7.js";
|
|
53
|
-
import"./index-
|
|
54
|
-
import"./index-
|
|
55
|
-
import"./index-
|
|
56
|
-
import"./index-
|
|
57
|
-
import"./index-
|
|
58
|
-
import"./index-
|
|
53
|
+
import"./index-njf5pbkm.js";
|
|
54
|
+
import"./index-51xtrf7g.js";
|
|
55
|
+
import"./index-mn5zzmqx.js";
|
|
56
|
+
import"./index-w81jmdkt.js";
|
|
57
|
+
import"./index-3rb5gs4w.js";
|
|
58
|
+
import"./index-08x7gsnf.js";
|
|
59
59
|
import"./index-rdm3px0g.js";
|
|
60
60
|
import"./index-ry16d01s.js";
|
|
61
|
-
import"./index-
|
|
62
|
-
import"./index-
|
|
61
|
+
import"./index-1d6ssjcj.js";
|
|
62
|
+
import"./index-qyx53xrz.js";
|
|
63
63
|
import"./index-vzm6zre7.js";
|
|
64
64
|
import"./index-ae75rja9.js";
|
|
65
|
-
import"./index-
|
|
66
|
-
import"./index-
|
|
67
|
-
import"./index-
|
|
65
|
+
import"./index-74x26wyj.js";
|
|
66
|
+
import"./index-01wt209s.js";
|
|
67
|
+
import"./index-fbhtb6f5.js";
|
|
68
68
|
import"./index-1xnse449.js";
|
|
69
69
|
import"./index-c1ggtmpm.js";
|
|
70
70
|
import"./index-ejhxgyvm.js";
|
|
71
71
|
import"./index-7g4c7s5r.js";
|
|
72
|
-
import"./index-
|
|
72
|
+
import"./index-5cve9g2b.js";
|
|
73
73
|
import"./index-gx2vp8gx.js";
|
|
74
|
-
import"./index-
|
|
74
|
+
import"./index-t1swv35d.js";
|
|
75
75
|
import"./index-zxdawwc7.js";
|
|
76
76
|
import {
|
|
77
77
|
init_package,
|
|
78
78
|
package_default
|
|
79
|
-
} from "./index-
|
|
79
|
+
} from "./index-ysr6n4ca.js";
|
|
80
80
|
import {
|
|
81
81
|
DEFAULT_AGENT_CONFIGS,
|
|
82
82
|
init_constants
|
|
@@ -644,7 +644,7 @@ async function main() {
|
|
|
644
644
|
const exitCode = await run(["ci", ...args.slice(1)]);
|
|
645
645
|
process.exit(exitCode);
|
|
646
646
|
} else if (command === "mcp") {
|
|
647
|
-
const { handleMcpCommand } = await import("./mcp-
|
|
647
|
+
const { handleMcpCommand } = await import("./mcp-taace90a.js");
|
|
648
648
|
const exitCode = await handleMcpCommand(args.slice(1));
|
|
649
649
|
process.exit(exitCode);
|
|
650
650
|
} else {
|
|
@@ -9,29 +9,29 @@ import {
|
|
|
9
9
|
maybeEscalateOnViolation,
|
|
10
10
|
maybeQuarantineOnContradiction,
|
|
11
11
|
readRecentEscalations
|
|
12
|
-
} from "./index-
|
|
13
|
-
import"./index-
|
|
14
|
-
import"./index-
|
|
12
|
+
} from "./index-152b9c6m.js";
|
|
13
|
+
import"./index-z3b157ew.js";
|
|
14
|
+
import"./index-nmh0s6dg.js";
|
|
15
15
|
import"./index-2s7dvzff.js";
|
|
16
|
-
import"./index-
|
|
16
|
+
import"./index-edrgc139.js";
|
|
17
17
|
import"./index-frcemc0b.js";
|
|
18
18
|
import"./index-0725jpp7.js";
|
|
19
|
-
import"./index-
|
|
20
|
-
import"./index-
|
|
19
|
+
import"./index-1d6ssjcj.js";
|
|
20
|
+
import"./index-qyx53xrz.js";
|
|
21
21
|
import"./index-vzm6zre7.js";
|
|
22
22
|
import"./index-ae75rja9.js";
|
|
23
|
-
import"./index-
|
|
24
|
-
import"./index-
|
|
25
|
-
import"./index-
|
|
23
|
+
import"./index-74x26wyj.js";
|
|
24
|
+
import"./index-01wt209s.js";
|
|
25
|
+
import"./index-fbhtb6f5.js";
|
|
26
26
|
import"./index-1xnse449.js";
|
|
27
27
|
import"./index-c1ggtmpm.js";
|
|
28
28
|
import"./index-ejhxgyvm.js";
|
|
29
29
|
import"./index-7g4c7s5r.js";
|
|
30
|
-
import"./index-
|
|
30
|
+
import"./index-5cve9g2b.js";
|
|
31
31
|
import"./index-gx2vp8gx.js";
|
|
32
|
-
import"./index-
|
|
32
|
+
import"./index-t1swv35d.js";
|
|
33
33
|
import"./index-zxdawwc7.js";
|
|
34
|
-
import"./index-
|
|
34
|
+
import"./index-ysr6n4ca.js";
|
|
35
35
|
import"./index-wzec3c4g.js";
|
|
36
36
|
import"./index-bk5tah7q.js";
|
|
37
37
|
import"./index-gknz3bv1.js";
|
|
@@ -29,26 +29,26 @@ import {
|
|
|
29
29
|
resolveKnowledgeCounterBaselinePath,
|
|
30
30
|
resolveKnowledgeEventsPath,
|
|
31
31
|
resolveLegacyApplicationLogPath
|
|
32
|
-
} from "./index-
|
|
33
|
-
import"./index-
|
|
32
|
+
} from "./index-z3b157ew.js";
|
|
33
|
+
import"./index-nmh0s6dg.js";
|
|
34
34
|
import"./index-2s7dvzff.js";
|
|
35
|
-
import"./index-
|
|
35
|
+
import"./index-edrgc139.js";
|
|
36
36
|
import"./index-frcemc0b.js";
|
|
37
37
|
import"./index-0725jpp7.js";
|
|
38
|
-
import"./index-
|
|
38
|
+
import"./index-1d6ssjcj.js";
|
|
39
39
|
import"./index-ae75rja9.js";
|
|
40
|
-
import"./index-
|
|
41
|
-
import"./index-
|
|
42
|
-
import"./index-
|
|
40
|
+
import"./index-74x26wyj.js";
|
|
41
|
+
import"./index-01wt209s.js";
|
|
42
|
+
import"./index-fbhtb6f5.js";
|
|
43
43
|
import"./index-1xnse449.js";
|
|
44
44
|
import"./index-c1ggtmpm.js";
|
|
45
45
|
import"./index-ejhxgyvm.js";
|
|
46
46
|
import"./index-7g4c7s5r.js";
|
|
47
|
-
import"./index-
|
|
47
|
+
import"./index-5cve9g2b.js";
|
|
48
48
|
import"./index-gx2vp8gx.js";
|
|
49
|
-
import"./index-
|
|
49
|
+
import"./index-t1swv35d.js";
|
|
50
50
|
import"./index-zxdawwc7.js";
|
|
51
|
-
import"./index-
|
|
51
|
+
import"./index-ysr6n4ca.js";
|
|
52
52
|
import"./index-wzec3c4g.js";
|
|
53
53
|
import"./index-bk5tah7q.js";
|
|
54
54
|
import"./index-gknz3bv1.js";
|
|
@@ -12,14 +12,14 @@ import {
|
|
|
12
12
|
resolveLinkDir,
|
|
13
13
|
sanitizeLinkId,
|
|
14
14
|
writeLinkPointer
|
|
15
|
-
} from "./index-
|
|
16
|
-
import"./index-
|
|
17
|
-
import"./index-
|
|
15
|
+
} from "./index-74x26wyj.js";
|
|
16
|
+
import"./index-01wt209s.js";
|
|
17
|
+
import"./index-fbhtb6f5.js";
|
|
18
18
|
import"./index-1xnse449.js";
|
|
19
19
|
import"./index-c1ggtmpm.js";
|
|
20
20
|
import"./index-ejhxgyvm.js";
|
|
21
21
|
import"./index-7g4c7s5r.js";
|
|
22
|
-
import"./index-
|
|
22
|
+
import"./index-5cve9g2b.js";
|
|
23
23
|
import"./index-gknz3bv1.js";
|
|
24
24
|
import"./index-zpsr8rpc.js";
|
|
25
25
|
import"./index-zgwm4ryv.js";
|
|
@@ -43,19 +43,19 @@ import {
|
|
|
43
43
|
transactKnowledge,
|
|
44
44
|
transactKnowledgeWithCas,
|
|
45
45
|
wordBigrams
|
|
46
|
-
} from "./index-
|
|
46
|
+
} from "./index-qyx53xrz.js";
|
|
47
47
|
import"./index-vzm6zre7.js";
|
|
48
48
|
import {
|
|
49
49
|
resolveHiveDataDir
|
|
50
50
|
} from "./index-ae75rja9.js";
|
|
51
|
-
import"./index-
|
|
52
|
-
import"./index-
|
|
53
|
-
import"./index-
|
|
51
|
+
import"./index-74x26wyj.js";
|
|
52
|
+
import"./index-01wt209s.js";
|
|
53
|
+
import"./index-fbhtb6f5.js";
|
|
54
54
|
import"./index-1xnse449.js";
|
|
55
55
|
import"./index-c1ggtmpm.js";
|
|
56
56
|
import"./index-ejhxgyvm.js";
|
|
57
57
|
import"./index-7g4c7s5r.js";
|
|
58
|
-
import"./index-
|
|
58
|
+
import"./index-5cve9g2b.js";
|
|
59
59
|
import"./index-bk5tah7q.js";
|
|
60
60
|
import"./index-gknz3bv1.js";
|
|
61
61
|
import"./index-zpsr8rpc.js";
|
|
@@ -23,20 +23,20 @@ import {
|
|
|
23
23
|
validateLesson,
|
|
24
24
|
validateSkillCandidatePath,
|
|
25
25
|
validateSkillPath
|
|
26
|
-
} from "./index-
|
|
27
|
-
import"./index-
|
|
26
|
+
} from "./index-5wk0etp8.js";
|
|
27
|
+
import"./index-v3hpsxvd.js";
|
|
28
28
|
import"./index-rtry5xyf.js";
|
|
29
|
-
import"./index-
|
|
29
|
+
import"./index-qyx53xrz.js";
|
|
30
30
|
import"./index-vzm6zre7.js";
|
|
31
31
|
import"./index-ae75rja9.js";
|
|
32
|
-
import"./index-
|
|
33
|
-
import"./index-
|
|
34
|
-
import"./index-
|
|
32
|
+
import"./index-74x26wyj.js";
|
|
33
|
+
import"./index-01wt209s.js";
|
|
34
|
+
import"./index-fbhtb6f5.js";
|
|
35
35
|
import"./index-1xnse449.js";
|
|
36
36
|
import"./index-c1ggtmpm.js";
|
|
37
37
|
import"./index-ejhxgyvm.js";
|
|
38
38
|
import"./index-7g4c7s5r.js";
|
|
39
|
-
import"./index-
|
|
39
|
+
import"./index-5cve9g2b.js";
|
|
40
40
|
import"./index-bk5tah7q.js";
|
|
41
41
|
import"./index-gknz3bv1.js";
|
|
42
42
|
import"./index-zpsr8rpc.js";
|
|
@@ -81,7 +81,7 @@ function resolveMcpRoot(input) {
|
|
|
81
81
|
}
|
|
82
82
|
var _internals = {
|
|
83
83
|
runMcpServer: async (options) => {
|
|
84
|
-
const { runMcpServer } = await import("./server-
|
|
84
|
+
const { runMcpServer } = await import("./server-765s4stz.js");
|
|
85
85
|
return runMcpServer(options);
|
|
86
86
|
}
|
|
87
87
|
};
|