opencode-swarm 7.134.1 → 7.134.2
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-4avzz3rh.js → config-doctor-wk7xzrma.js} +2 -2
- package/dist/cli/{curation-policy-8vkzjtwb.js → curation-policy-npgspa14.js} +2 -2
- package/dist/cli/{curator-llm-factory-2qk8q4y9.js → curator-llm-factory-tpc0qg6x.js} +13 -13
- package/dist/cli/{curator-3vsvhwav.js → curator-njzxdyav.js} +13 -13
- package/dist/cli/{evidence-summary-service-mrzsjpg4.js → evidence-summary-service-pay9409b.js} +1 -1
- package/dist/cli/{guardrail-explain-tw521x47.js → guardrail-explain-75pr3e9z.js} +14 -14
- package/dist/cli/{guardrail-log-e3jrwdw8.js → guardrail-log-783svw0e.js} +3 -3
- package/dist/cli/{hive-promoter-sdy5qjzn.js → hive-promoter-nrxjatdx.js} +13 -13
- package/dist/cli/{index-1v5mby7t.js → index-0dszfjf3.js} +1 -1
- package/dist/cli/{index-463k8mfr.js → index-1bytvz73.js} +2 -2
- package/dist/cli/{index-mz6sqtm9.js → index-225t7m1j.js} +15 -15
- package/dist/cli/{index-kwm7hz18.js → index-4cnwvmsm.js} +5 -5
- package/dist/cli/{index-9z1q181f.js → index-746ga67b.js} +1 -1
- package/dist/cli/{index-k742ecbm.js → index-8fhg2nt2.js} +2 -2
- package/dist/cli/{index-pz49rx4y.js → index-9299e7d5.js} +2 -2
- package/dist/cli/{index-6b69mp0r.js → index-a0nk83rk.js} +2 -2
- package/dist/cli/{index-8t9xpn1a.js → index-asd9n0ms.js} +1 -1
- package/dist/cli/{index-zjw32rv9.js → index-ca44jww3.js} +1 -1
- package/dist/cli/{index-358f9h8p.js → index-cav39zjt.js} +58 -38
- package/dist/cli/{index-c0e3vhv9.js → index-n48xwynh.js} +1 -1
- package/dist/cli/{index-m8ajf6wb.js → index-njfcm1tn.js} +3 -3
- package/dist/cli/{index-bq2848a3.js → index-ss26e2d4.js} +1 -1
- package/dist/cli/{index-y2esw64s.js → index-v8m282zt.js} +1 -1
- package/dist/cli/{index-2j8f71c3.js → index-x60gpbt5.js} +4 -4
- package/dist/cli/{index-0541h76w.js → index-y8vqsm2g.js} +1 -1
- package/dist/cli/index.js +13 -13
- package/dist/cli/{knowledge-escalator-v09w0jmg.js → knowledge-escalator-b3b91k0t.js} +3 -3
- package/dist/cli/{knowledge-events-qp19r2he.js → knowledge-events-kyw0s745.js} +1 -1
- package/dist/cli/{knowledge-store-n5pvv0s3.js → knowledge-store-5watc2b2.js} +1 -1
- package/dist/cli/{knowledge-validator-qg31ycbb.js → knowledge-validator-a4wxkgbc.js} +4 -4
- package/dist/cli/{scan-cursor-wtzfvkh2.js → scan-cursor-gcd771kn.js} +2 -2
- package/dist/cli/{schema-erk5bz43.js → schema-6eghf6gt.js} +1 -1
- package/dist/cli/{skill-generator-nxs65tq3.js → skill-generator-8dswjh14.js} +5 -5
- package/dist/hooks/shell-write-detect.d.ts +1 -1
- package/dist/index.js +3 -3
- package/package.json +1 -1
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
readDoctorArtifact,
|
|
12
12
|
removeStraySwarmDir,
|
|
13
13
|
runConfigDoctor
|
|
14
|
-
} from "./index-
|
|
14
|
+
} from "./index-ss26e2d4.js";
|
|
15
15
|
import {
|
|
16
16
|
EvaluationTaskV1Schema,
|
|
17
17
|
GateAuditManifestV1Schema,
|
|
@@ -66,7 +66,7 @@ import {
|
|
|
66
66
|
saveTaskSetSnapshot,
|
|
67
67
|
transientBackoff,
|
|
68
68
|
validateProjectRoot
|
|
69
|
-
} from "./index-
|
|
69
|
+
} from "./index-8fhg2nt2.js";
|
|
70
70
|
import {
|
|
71
71
|
withTimeout
|
|
72
72
|
} from "./index-4905hd2m.js";
|
|
@@ -92,15 +92,15 @@ import {
|
|
|
92
92
|
retireSkill,
|
|
93
93
|
selectCandidateEntries,
|
|
94
94
|
syncBundledProjectSkillsIfMissingAsync
|
|
95
|
-
} from "./index-
|
|
95
|
+
} from "./index-njfcm1tn.js";
|
|
96
96
|
import {
|
|
97
97
|
readRecentEscalations
|
|
98
|
-
} from "./index-
|
|
98
|
+
} from "./index-4cnwvmsm.js";
|
|
99
99
|
import {
|
|
100
100
|
alreadyCuratedThisGeneration,
|
|
101
101
|
claimNextScanBatch,
|
|
102
102
|
resolveCohortId
|
|
103
|
-
} from "./index-
|
|
103
|
+
} from "./index-y8vqsm2g.js";
|
|
104
104
|
import {
|
|
105
105
|
CURATOR_INIT_PROMPT,
|
|
106
106
|
CURATOR_PHASE_PROMPT,
|
|
@@ -133,11 +133,11 @@ import {
|
|
|
133
133
|
validateActionability,
|
|
134
134
|
validateActionableFields,
|
|
135
135
|
validateLesson
|
|
136
|
-
} from "./index-
|
|
136
|
+
} from "./index-a0nk83rk.js";
|
|
137
137
|
import {
|
|
138
138
|
authorizeCuration,
|
|
139
139
|
buildConfigFingerprintInput
|
|
140
|
-
} from "./index-
|
|
140
|
+
} from "./index-ca44jww3.js";
|
|
141
141
|
import {
|
|
142
142
|
cohortConfigFingerprint
|
|
143
143
|
} from "./index-rtry5xyf.js";
|
|
@@ -170,7 +170,7 @@ import {
|
|
|
170
170
|
transactFile,
|
|
171
171
|
transactKnowledge,
|
|
172
172
|
wordBigrams
|
|
173
|
-
} from "./index-
|
|
173
|
+
} from "./index-x60gpbt5.js";
|
|
174
174
|
import {
|
|
175
175
|
MAX_EVENT_LOG_ENTRIES,
|
|
176
176
|
_internals,
|
|
@@ -180,7 +180,7 @@ import {
|
|
|
180
180
|
recordHiveKnowledgeEvent,
|
|
181
181
|
recordKnowledgeEvent,
|
|
182
182
|
resolveKnowledgeEventsPath
|
|
183
|
-
} from "./index-
|
|
183
|
+
} from "./index-asd9n0ms.js";
|
|
184
184
|
import {
|
|
185
185
|
resolveHiveDataDir,
|
|
186
186
|
resolveHiveEventsPath,
|
|
@@ -205,7 +205,7 @@ import {
|
|
|
205
205
|
init_loader,
|
|
206
206
|
loadPluginConfig,
|
|
207
207
|
loadPluginConfigWithMeta
|
|
208
|
-
} from "./index-
|
|
208
|
+
} from "./index-n48xwynh.js";
|
|
209
209
|
import {
|
|
210
210
|
RetrospectiveEvidenceSchema
|
|
211
211
|
} from "./index-k5jrywpr.js";
|
|
@@ -228,7 +228,7 @@ import {
|
|
|
228
228
|
package_default,
|
|
229
229
|
resolveAutoReviewConfig,
|
|
230
230
|
stripKnownSwarmPrefix
|
|
231
|
-
} from "./index-
|
|
231
|
+
} from "./index-v8m282zt.js";
|
|
232
232
|
import {
|
|
233
233
|
KNOWLEDGE_SCHEMA_VERSION,
|
|
234
234
|
OUTCOME_BLOCK_THRESHOLD,
|
|
@@ -8600,6 +8600,26 @@ function detectBuiltinWrites(cmd) {
|
|
|
8600
8600
|
}
|
|
8601
8601
|
return results;
|
|
8602
8602
|
}
|
|
8603
|
+
if (lowerName === "tee") {
|
|
8604
|
+
const suffixWords2 = getSuffixWords(cmd);
|
|
8605
|
+
let pastDoubleDash = false;
|
|
8606
|
+
for (const word of suffixWords2) {
|
|
8607
|
+
if (word === "--") {
|
|
8608
|
+
pastDoubleDash = true;
|
|
8609
|
+
continue;
|
|
8610
|
+
}
|
|
8611
|
+
if (!pastDoubleDash && word.startsWith("-"))
|
|
8612
|
+
continue;
|
|
8613
|
+
if (word && !isNullDevice(word)) {
|
|
8614
|
+
results.push({
|
|
8615
|
+
category: "builtin_write",
|
|
8616
|
+
operator: "tee",
|
|
8617
|
+
path: word
|
|
8618
|
+
});
|
|
8619
|
+
}
|
|
8620
|
+
}
|
|
8621
|
+
return results;
|
|
8622
|
+
}
|
|
8603
8623
|
if (!BUILTIN_WRITE_COMMANDS.has(lowerName))
|
|
8604
8624
|
return results;
|
|
8605
8625
|
const suffixWords = getSuffixWords(cmd);
|
|
@@ -8690,7 +8710,7 @@ function detectInterpreterEval(cmd) {
|
|
|
8690
8710
|
php: ["-r", "-R", "-F"]
|
|
8691
8711
|
};
|
|
8692
8712
|
const relevantFlags = evalFlags[lowerName] ?? [];
|
|
8693
|
-
const hasEvalFlag = suffixWords.some((word) => relevantFlags.some((f) => word === f || word.startsWith(
|
|
8713
|
+
const hasEvalFlag = suffixWords.some((word) => relevantFlags.some((f) => word === f || word.startsWith(f) && word.length > f.length));
|
|
8694
8714
|
if (!hasEvalFlag)
|
|
8695
8715
|
return [];
|
|
8696
8716
|
results.push({
|
|
@@ -14926,7 +14946,7 @@ function planMerges(active, threshold, maxComparisons, maxMerges) {
|
|
|
14926
14946
|
};
|
|
14927
14947
|
}
|
|
14928
14948
|
async function sweepActiveNearDuplicates(directory, options = {}) {
|
|
14929
|
-
const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-
|
|
14949
|
+
const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-1bytvz73.js");
|
|
14930
14950
|
const { config } = loadPluginConfigWithMeta2(directory);
|
|
14931
14951
|
const sweepConfig = config.learning?.dedup_sweep;
|
|
14932
14952
|
if (sweepConfig?.enabled === false)
|
|
@@ -16519,7 +16539,7 @@ async function runCuratorPhase(directory, phase, agentsDispatched, config, knowl
|
|
|
16519
16539
|
}
|
|
16520
16540
|
if (config.skill_generation_enabled === true && skillCandidates.length > 0) {
|
|
16521
16541
|
try {
|
|
16522
|
-
const skillModule = await import("./skill-generator-
|
|
16542
|
+
const skillModule = await import("./skill-generator-8dswjh14.js");
|
|
16523
16543
|
for (const cand of skillCandidates) {
|
|
16524
16544
|
if (cand.confidence < (config.min_skill_confidence ?? DEFAULT_SKILL_MIN_CONFIDENCE)) {
|
|
16525
16545
|
continue;
|
|
@@ -16920,7 +16940,7 @@ async function applyCuratorKnowledgeUpdates(directory, recommendations, knowledg
|
|
|
16920
16940
|
} catch {}
|
|
16921
16941
|
}
|
|
16922
16942
|
if (contradictedEntries.length > 0 && knowledgeConfig.contradiction_threshold_action === "quarantine") {
|
|
16923
|
-
const { maybeQuarantineOnContradiction } = await import("./knowledge-escalator-
|
|
16943
|
+
const { maybeQuarantineOnContradiction } = await import("./knowledge-escalator-b3b91k0t.js");
|
|
16924
16944
|
for (const { id } of contradictedEntries) {
|
|
16925
16945
|
try {
|
|
16926
16946
|
await maybeQuarantineOnContradiction(directory, id, knowledgeConfig.contradiction_quarantine_threshold, knowledgeConfig.contradiction_quarantine_window_days);
|
|
@@ -17728,7 +17748,7 @@ async function runCuratorPostMortem(directory, options = {}) {
|
|
|
17728
17748
|
warnings.push("Failed to collect knowledge summary.");
|
|
17729
17749
|
}
|
|
17730
17750
|
try {
|
|
17731
|
-
const { getScanStatus } = await import("./scan-cursor-
|
|
17751
|
+
const { getScanStatus } = await import("./scan-cursor-gcd771kn.js");
|
|
17732
17752
|
const scanStatus = await getScanStatus(directory);
|
|
17733
17753
|
if (scanStatus.remaining_estimate > 0) {
|
|
17734
17754
|
warnings.push(`Fair scan: reviewed ${knowledgeSummary.length} entries this sweep (generation ${scanStatus.generation}); ${scanStatus.remaining_estimate} more eligible entries will be visited in future curation sweeps.`);
|
|
@@ -17900,9 +17920,9 @@ var _internals23 = {
|
|
|
17900
17920
|
verifyPostMortemKnowledgeActions,
|
|
17901
17921
|
repairPostMortemActions,
|
|
17902
17922
|
loadDefaultKnowledgeConfig: async (directory) => {
|
|
17903
|
-
const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-
|
|
17923
|
+
const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-6eghf6gt.js");
|
|
17904
17924
|
try {
|
|
17905
|
-
const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-
|
|
17925
|
+
const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-1bytvz73.js");
|
|
17906
17926
|
const loaded = loadPluginConfigWithMeta2(directory);
|
|
17907
17927
|
return KnowledgeConfigSchema2.parse(loaded.config.knowledge ?? {});
|
|
17908
17928
|
} catch {
|
|
@@ -17910,11 +17930,11 @@ var _internals23 = {
|
|
|
17910
17930
|
}
|
|
17911
17931
|
},
|
|
17912
17932
|
applyCuratorKnowledgeUpdates: async (directory, recommendations, knowledgeConfig, generation) => {
|
|
17913
|
-
const { applyCuratorKnowledgeUpdates: applyCuratorKnowledgeUpdates2 } = await import("./curator-
|
|
17933
|
+
const { applyCuratorKnowledgeUpdates: applyCuratorKnowledgeUpdates2 } = await import("./curator-njzxdyav.js");
|
|
17914
17934
|
return applyCuratorKnowledgeUpdates2(directory, recommendations, knowledgeConfig, generation);
|
|
17915
17935
|
},
|
|
17916
17936
|
checkHivePromotions: async (entries, knowledgeConfig, directory) => {
|
|
17917
|
-
const { checkHivePromotions } = await import("./hive-promoter-
|
|
17937
|
+
const { checkHivePromotions } = await import("./hive-promoter-nrxjatdx.js");
|
|
17918
17938
|
return checkHivePromotions(entries, knowledgeConfig, directory);
|
|
17919
17939
|
},
|
|
17920
17940
|
applyProposalTriage: async (directory, triage) => {
|
|
@@ -17923,7 +17943,7 @@ var _internals23 = {
|
|
|
17923
17943
|
activateProposal,
|
|
17924
17944
|
listSkills: listSkills2,
|
|
17925
17945
|
sanitizeSlug
|
|
17926
|
-
} = await import("./skill-generator-
|
|
17946
|
+
} = await import("./skill-generator-8dswjh14.js");
|
|
17927
17947
|
const result = {
|
|
17928
17948
|
approved: [],
|
|
17929
17949
|
rejected: [],
|
|
@@ -20550,9 +20570,9 @@ function hashContent(content) {
|
|
|
20550
20570
|
return createHash8("sha1").update(content).digest("hex");
|
|
20551
20571
|
}
|
|
20552
20572
|
async function loadConfigForPolicyCurator(directory) {
|
|
20553
|
-
const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-
|
|
20573
|
+
const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-6eghf6gt.js");
|
|
20554
20574
|
try {
|
|
20555
|
-
const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-
|
|
20575
|
+
const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-1bytvz73.js");
|
|
20556
20576
|
const { config: loadedConfig } = loadPluginConfigWithMeta2(directory);
|
|
20557
20577
|
return KnowledgeConfigSchema2.parse(loadedConfig.knowledge ?? {});
|
|
20558
20578
|
} catch {
|
|
@@ -23897,7 +23917,7 @@ async function runFinalizeStage(ctx) {
|
|
|
23897
23917
|
}
|
|
23898
23918
|
}
|
|
23899
23919
|
try {
|
|
23900
|
-
const { CuratorConfigSchema: CCS } = await import("./schema-
|
|
23920
|
+
const { CuratorConfigSchema: CCS } = await import("./schema-6eghf6gt.js");
|
|
23901
23921
|
const { config: pmLoadedConfig } = _internals33.loadPluginConfigWithMeta(ctx.directory);
|
|
23902
23922
|
const curatorCfg = CCS.parse(pmLoadedConfig.curator ?? {});
|
|
23903
23923
|
if (curatorCfg.enabled && curatorCfg.postmortem_enabled) {
|
|
@@ -26015,9 +26035,9 @@ var _internals37 = {
|
|
|
26015
26035
|
loadPluginConfigWithMeta,
|
|
26016
26036
|
loadCuratorDeps: async () => {
|
|
26017
26037
|
const [{ CuratorConfigSchema }, curator, { createCuratorLLMDelegate: createCuratorLLMDelegate2 }] = await Promise.all([
|
|
26018
|
-
import("./schema-
|
|
26019
|
-
import("./curator-
|
|
26020
|
-
import("./curator-llm-factory-
|
|
26038
|
+
import("./schema-6eghf6gt.js"),
|
|
26039
|
+
import("./curator-njzxdyav.js"),
|
|
26040
|
+
import("./curator-llm-factory-tpc0qg6x.js")
|
|
26021
26041
|
]);
|
|
26022
26042
|
return { CuratorConfigSchema, curator, createCuratorLLMDelegate: createCuratorLLMDelegate2 };
|
|
26023
26043
|
}
|
|
@@ -26918,7 +26938,7 @@ async function computeCurationDiagnostics(directory, entries) {
|
|
|
26918
26938
|
let scanCompleted = false;
|
|
26919
26939
|
let scanRemaining = 0;
|
|
26920
26940
|
try {
|
|
26921
|
-
const { getScanStatus } = await import("./scan-cursor-
|
|
26941
|
+
const { getScanStatus } = await import("./scan-cursor-gcd771kn.js");
|
|
26922
26942
|
const status = await getScanStatus(directory);
|
|
26923
26943
|
scanGeneration = status.generation;
|
|
26924
26944
|
scanCompleted = status.completed;
|
|
@@ -26928,17 +26948,17 @@ async function computeCurationDiagnostics(directory, entries) {
|
|
|
26928
26948
|
try {
|
|
26929
26949
|
const { isLinked: isLinked2 } = await import("./knowledge-link-nc4y2zkq.js");
|
|
26930
26950
|
if (isLinked2(directory)) {
|
|
26931
|
-
const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-
|
|
26951
|
+
const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-6eghf6gt.js");
|
|
26932
26952
|
let config;
|
|
26933
26953
|
try {
|
|
26934
|
-
const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-
|
|
26954
|
+
const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-1bytvz73.js");
|
|
26935
26955
|
const loaded = loadPluginConfigWithMeta2(directory);
|
|
26936
26956
|
config = KnowledgeConfigSchema2.parse(loaded.config.knowledge ?? {});
|
|
26937
26957
|
} catch {
|
|
26938
26958
|
config = KnowledgeConfigSchema2.parse({});
|
|
26939
26959
|
}
|
|
26940
26960
|
const { cohortConfigFingerprint: cohortConfigFingerprint2 } = await import("./config-fingerprint-v22xh5a2.js");
|
|
26941
|
-
const { buildConfigFingerprintInput: buildConfigFingerprintInput2, readCohortConfigFingerprint } = await import("./curation-policy-
|
|
26961
|
+
const { buildConfigFingerprintInput: buildConfigFingerprintInput2, readCohortConfigFingerprint } = await import("./curation-policy-npgspa14.js");
|
|
26942
26962
|
const currentFp = cohortConfigFingerprint2(buildConfigFingerprintInput2(config));
|
|
26943
26963
|
const cohortFp = await readCohortConfigFingerprint(directory);
|
|
26944
26964
|
configMatch = cohortFp === null ? null : currentFp === cohortFp;
|
|
@@ -28149,7 +28169,7 @@ async function handleDoctorCommand(directory, args) {
|
|
|
28149
28169
|
const result = runConfigDoctor(config, directory);
|
|
28150
28170
|
let output;
|
|
28151
28171
|
if (enableAutoFix && result.hasAutoFixableIssues) {
|
|
28152
|
-
const { runConfigDoctorWithFixes } = await import("./config-doctor-
|
|
28172
|
+
const { runConfigDoctorWithFixes } = await import("./config-doctor-wk7xzrma.js");
|
|
28153
28173
|
const fixResult = await runConfigDoctorWithFixes(directory, config, true, {
|
|
28154
28174
|
applyLossy: true
|
|
28155
28175
|
});
|
|
@@ -28986,7 +29006,7 @@ async function handleEvidenceCommand(directory, args) {
|
|
|
28986
29006
|
return formatTaskEvidenceMarkdown(evidenceData);
|
|
28987
29007
|
}
|
|
28988
29008
|
async function handleEvidenceSummaryCommand(directory) {
|
|
28989
|
-
const { buildEvidenceSummary } = await import("./evidence-summary-service-
|
|
29009
|
+
const { buildEvidenceSummary } = await import("./evidence-summary-service-pay9409b.js");
|
|
28990
29010
|
const artifact = await buildEvidenceSummary(directory);
|
|
28991
29011
|
if (!artifact) {
|
|
28992
29012
|
return "No plan found. Run `/swarm plan` to check plan status.";
|
|
@@ -49430,7 +49450,7 @@ function buildDetailedHelp(commandName, entry) {
|
|
|
49430
49450
|
async function handleHelpCommand(ctx) {
|
|
49431
49451
|
const targetCommand = ctx.args.join(" ");
|
|
49432
49452
|
if (!targetCommand) {
|
|
49433
|
-
const { buildHelpText } = await import("./index-
|
|
49453
|
+
const { buildHelpText } = await import("./index-225t7m1j.js");
|
|
49434
49454
|
return buildHelpText();
|
|
49435
49455
|
}
|
|
49436
49456
|
const tokens = targetCommand.split(/\s+/);
|
|
@@ -49439,7 +49459,7 @@ async function handleHelpCommand(ctx) {
|
|
|
49439
49459
|
return _internals10.buildDetailedHelp(resolved.key, resolved.entry);
|
|
49440
49460
|
}
|
|
49441
49461
|
const similar = _internals10.findSimilarCommands(targetCommand);
|
|
49442
|
-
const { buildHelpText: fullHelp } = await import("./index-
|
|
49462
|
+
const { buildHelpText: fullHelp } = await import("./index-225t7m1j.js");
|
|
49443
49463
|
if (similar.length > 0) {
|
|
49444
49464
|
return `Command '/swarm ${targetCommand}' not found.
|
|
49445
49465
|
|
|
@@ -49578,7 +49598,7 @@ var COMMAND_REGISTRY = {
|
|
|
49578
49598
|
},
|
|
49579
49599
|
"guardrail explain": {
|
|
49580
49600
|
handler: async (ctx) => {
|
|
49581
|
-
const { handleGuardrailExplain } = await import("./guardrail-explain-
|
|
49601
|
+
const { handleGuardrailExplain } = await import("./guardrail-explain-75pr3e9z.js");
|
|
49582
49602
|
return handleGuardrailExplain(ctx.directory, ctx.args);
|
|
49583
49603
|
},
|
|
49584
49604
|
description: "Dry-run: show what the guardrails would do to a command or write target (executes nothing)",
|
|
@@ -49588,7 +49608,7 @@ var COMMAND_REGISTRY = {
|
|
|
49588
49608
|
},
|
|
49589
49609
|
"guardrail-explain": {
|
|
49590
49610
|
handler: async (ctx) => {
|
|
49591
|
-
const { handleGuardrailExplain } = await import("./guardrail-explain-
|
|
49611
|
+
const { handleGuardrailExplain } = await import("./guardrail-explain-75pr3e9z.js");
|
|
49592
49612
|
return handleGuardrailExplain(ctx.directory, ctx.args);
|
|
49593
49613
|
},
|
|
49594
49614
|
description: "Dry-run: show what the guardrails would do to a command or write target (executes nothing)",
|
|
@@ -49598,7 +49618,7 @@ var COMMAND_REGISTRY = {
|
|
|
49598
49618
|
},
|
|
49599
49619
|
"guardrail-log": {
|
|
49600
49620
|
handler: async (ctx) => {
|
|
49601
|
-
const { handleGuardrailLog } = await import("./guardrail-log-
|
|
49621
|
+
const { handleGuardrailLog } = await import("./guardrail-log-783svw0e.js");
|
|
49602
49622
|
return handleGuardrailLog(ctx.directory, ctx.args);
|
|
49603
49623
|
},
|
|
49604
49624
|
description: "Read the guardrail decision log (use --blocks-only for blocks)",
|
|
@@ -2,18 +2,18 @@
|
|
|
2
2
|
import {
|
|
3
3
|
ALLOWED_SKILL_PATH_PREFIXES,
|
|
4
4
|
validateSkillPath
|
|
5
|
-
} from "./index-
|
|
5
|
+
} from "./index-a0nk83rk.js";
|
|
6
6
|
import {
|
|
7
7
|
computeOutcomeSignal,
|
|
8
8
|
readKnowledge,
|
|
9
9
|
resolveHiveKnowledgePath,
|
|
10
10
|
resolveSwarmKnowledgePath,
|
|
11
11
|
transactKnowledge
|
|
12
|
-
} from "./index-
|
|
12
|
+
} from "./index-x60gpbt5.js";
|
|
13
13
|
import {
|
|
14
14
|
effectiveRetrievalOutcomes,
|
|
15
15
|
readKnowledgeCounterRollups
|
|
16
|
-
} from "./index-
|
|
16
|
+
} from "./index-asd9n0ms.js";
|
|
17
17
|
import {
|
|
18
18
|
init_knowledge_types,
|
|
19
19
|
isActiveStatus
|
|
@@ -19,7 +19,7 @@ var package_default;
|
|
|
19
19
|
var init_package = __esm(() => {
|
|
20
20
|
package_default = {
|
|
21
21
|
name: "opencode-swarm",
|
|
22
|
-
version: "7.134.
|
|
22
|
+
version: "7.134.2",
|
|
23
23
|
description: "Architect-centric agentic swarm plugin for OpenCode - hub-and-spoke orchestration with SME consultation, code generation, and QA review",
|
|
24
24
|
main: "dist/index.js",
|
|
25
25
|
types: "dist/index.d.ts",
|
|
@@ -702,7 +702,7 @@ async function applyConfidenceFloorAction(directory, touched, options) {
|
|
|
702
702
|
const recovered = touched.filter((e) => e.confidence > CONFIDENCE_FLOOR + FLOOR_EPSILON && e.confidence_floor_demoted);
|
|
703
703
|
if (atFloor.length === 0 && recovered.length === 0)
|
|
704
704
|
return;
|
|
705
|
-
const { readKnowledgeCounterRollups, effectiveRetrievalOutcomes } = await import("./knowledge-events-
|
|
705
|
+
const { readKnowledgeCounterRollups, effectiveRetrievalOutcomes } = await import("./knowledge-events-kyw0s745.js");
|
|
706
706
|
const rollups = await readKnowledgeCounterRollups(directory);
|
|
707
707
|
const flagIds = new Set;
|
|
708
708
|
for (const e of atFloor) {
|
|
@@ -769,11 +769,11 @@ async function applyConfidenceFloorAction(directory, touched, options) {
|
|
|
769
769
|
});
|
|
770
770
|
}
|
|
771
771
|
if (action === "quarantine" && toQuarantine.length > 0) {
|
|
772
|
-
const { quarantineEntry } = await import("./knowledge-validator-
|
|
773
|
-
const { KnowledgeConfigSchema } = await import("./schema-
|
|
772
|
+
const { quarantineEntry } = await import("./knowledge-validator-a4wxkgbc.js");
|
|
773
|
+
const { KnowledgeConfigSchema } = await import("./schema-6eghf6gt.js");
|
|
774
774
|
let config;
|
|
775
775
|
try {
|
|
776
|
-
const { loadPluginConfigWithMeta } = await import("./index-
|
|
776
|
+
const { loadPluginConfigWithMeta } = await import("./index-1bytvz73.js");
|
|
777
777
|
const { config: loadedConfig } = loadPluginConfigWithMeta(directory);
|
|
778
778
|
config = KnowledgeConfigSchema.parse(loadedConfig.knowledge ?? {});
|
|
779
779
|
} catch {
|
package/dist/cli/index.js
CHANGED
|
@@ -6,30 +6,30 @@ import {
|
|
|
6
6
|
getPluginConfigDir,
|
|
7
7
|
getPluginLockFilePaths,
|
|
8
8
|
resolveCommand
|
|
9
|
-
} from "./index-
|
|
9
|
+
} from "./index-cav39zjt.js";
|
|
10
10
|
import"./index-13xxjfhn.js";
|
|
11
|
-
import"./index-
|
|
12
|
-
import"./index-
|
|
13
|
-
import"./index-
|
|
11
|
+
import"./index-0dszfjf3.js";
|
|
12
|
+
import"./index-ss26e2d4.js";
|
|
13
|
+
import"./index-8fhg2nt2.js";
|
|
14
14
|
import"./index-4905hd2m.js";
|
|
15
15
|
import"./index-134d35c1.js";
|
|
16
|
-
import"./index-
|
|
17
|
-
import"./index-
|
|
18
|
-
import"./index-
|
|
16
|
+
import"./index-njfcm1tn.js";
|
|
17
|
+
import"./index-4cnwvmsm.js";
|
|
18
|
+
import"./index-y8vqsm2g.js";
|
|
19
19
|
import"./index-vxv732ex.js";
|
|
20
20
|
import"./index-c8s9a3zh.js";
|
|
21
21
|
import"./index-9ss2m4rs.js";
|
|
22
22
|
import"./index-wk1h5ec2.js";
|
|
23
23
|
import"./index-1j3682j8.js";
|
|
24
|
-
import"./index-
|
|
25
|
-
import"./index-
|
|
24
|
+
import"./index-a0nk83rk.js";
|
|
25
|
+
import"./index-ca44jww3.js";
|
|
26
26
|
import"./index-rtry5xyf.js";
|
|
27
|
-
import"./index-
|
|
28
|
-
import"./index-
|
|
27
|
+
import"./index-x60gpbt5.js";
|
|
28
|
+
import"./index-asd9n0ms.js";
|
|
29
29
|
import"./index-ae75rja9.js";
|
|
30
30
|
import"./index-cfkvc5q9.js";
|
|
31
31
|
import"./index-dd7ttx8x.js";
|
|
32
|
-
import"./index-
|
|
32
|
+
import"./index-n48xwynh.js";
|
|
33
33
|
import"./index-k5jrywpr.js";
|
|
34
34
|
import"./index-n832052r.js";
|
|
35
35
|
import {
|
|
@@ -37,7 +37,7 @@ import {
|
|
|
37
37
|
init_constants,
|
|
38
38
|
init_package,
|
|
39
39
|
package_default
|
|
40
|
-
} from "./index-
|
|
40
|
+
} from "./index-v8m282zt.js";
|
|
41
41
|
import"./index-bk5tah7q.js";
|
|
42
42
|
import"./index-8fwhhayc.js";
|
|
43
43
|
import"./index-q1exe2b3.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-4cnwvmsm.js";
|
|
12
|
+
import"./index-x60gpbt5.js";
|
|
13
|
+
import"./index-asd9n0ms.js";
|
|
14
14
|
import"./index-ae75rja9.js";
|
|
15
15
|
import"./index-cfkvc5q9.js";
|
|
16
16
|
import"./index-dd7ttx8x.js";
|
|
@@ -26,7 +26,7 @@ import {
|
|
|
26
26
|
resolveKnowledgeCounterBaselinePath,
|
|
27
27
|
resolveKnowledgeEventsPath,
|
|
28
28
|
resolveLegacyApplicationLogPath
|
|
29
|
-
} from "./index-
|
|
29
|
+
} from "./index-asd9n0ms.js";
|
|
30
30
|
import"./index-ae75rja9.js";
|
|
31
31
|
import"./index-cfkvc5q9.js";
|
|
32
32
|
import"./index-dd7ttx8x.js";
|
|
@@ -23,11 +23,11 @@ import {
|
|
|
23
23
|
validateLesson,
|
|
24
24
|
validateSkillCandidatePath,
|
|
25
25
|
validateSkillPath
|
|
26
|
-
} from "./index-
|
|
27
|
-
import"./index-
|
|
26
|
+
} from "./index-a0nk83rk.js";
|
|
27
|
+
import"./index-ca44jww3.js";
|
|
28
28
|
import"./index-rtry5xyf.js";
|
|
29
|
-
import"./index-
|
|
30
|
-
import"./index-
|
|
29
|
+
import"./index-x60gpbt5.js";
|
|
30
|
+
import"./index-asd9n0ms.js";
|
|
31
31
|
import"./index-ae75rja9.js";
|
|
32
32
|
import"./index-cfkvc5q9.js";
|
|
33
33
|
import"./index-dd7ttx8x.js";
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
alreadyCuratedThisGeneration,
|
|
5
5
|
claimNextScanBatch,
|
|
6
6
|
getScanStatus
|
|
7
|
-
} from "./index-
|
|
8
|
-
import"./index-
|
|
7
|
+
} from "./index-y8vqsm2g.js";
|
|
8
|
+
import"./index-x60gpbt5.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-njfcm1tn.js";
|
|
37
|
+
import"./index-a0nk83rk.js";
|
|
38
|
+
import"./index-ca44jww3.js";
|
|
39
39
|
import"./index-rtry5xyf.js";
|
|
40
|
-
import"./index-
|
|
41
|
-
import"./index-
|
|
40
|
+
import"./index-x60gpbt5.js";
|
|
41
|
+
import"./index-asd9n0ms.js";
|
|
42
42
|
import"./index-ae75rja9.js";
|
|
43
43
|
import"./index-cfkvc5q9.js";
|
|
44
44
|
import"./index-dd7ttx8x.js";
|
|
@@ -68,7 +68,7 @@ export declare function detectInteractiveSession(command: string, shell: 'posix'
|
|
|
68
68
|
*
|
|
69
69
|
* Detects:
|
|
70
70
|
* - Redirection operators: >, >>, >|, <<, <<- (here-docs)
|
|
71
|
-
* - Write-effect builtins: cp, mv, install, ln, truncate, dd (of=)
|
|
71
|
+
* - Write-effect builtins: cp, mv, install, ln, truncate, dd (of=), tee
|
|
72
72
|
* - In-place editors: sed -i, perl -i, awk -i
|
|
73
73
|
* - Interpreter eval: python -c, node -e, bun -e, ruby -e, perl -e, php -r
|
|
74
74
|
* - Network downloaders: curl -o, wget -O, scp
|