opencode-swarm 7.114.9 → 7.115.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/dist/cli/{config-doctor-jy3mdh9t.js → config-doctor-htzxe394.js} +2 -2
- package/dist/cli/{curator-5xt89z05.js → curator-hpc4tsjv.js} +4 -4
- package/dist/cli/{curator-llm-factory-pnhvf3s3.js → curator-llm-factory-6n9sgaj8.js} +4 -4
- package/dist/cli/{guardrail-explain-7aztgtyh.js → guardrail-explain-hecpd738.js} +5 -5
- package/dist/cli/{guardrail-log-84wnx273.js → guardrail-log-dzbqcgz9.js} +3 -3
- package/dist/cli/{hive-promoter-q899q2m6.js → hive-promoter-0kfb4vjk.js} +4 -4
- package/dist/cli/{index-54sevh81.js → index-2etc05tv.js} +6 -6
- package/dist/cli/{index-yfedche9.js → index-8j5d3ytd.js} +1 -1
- package/dist/cli/{index-m9m7p49w.js → index-m0rce3x6.js} +2 -2
- package/dist/cli/{index-7jmrbp68.js → index-m43zgtjn.js} +1 -1
- package/dist/cli/{index-typ408f4.js → index-m766gvdt.js} +16 -16
- package/dist/cli/{index-9bsmzfk3.js → index-m7hc7nn7.js} +5 -1
- package/dist/cli/{index-a45jq4b7.js → index-nvc0nsvg.js} +6 -1
- package/dist/cli/index.js +4 -4
- package/dist/cli/{schema-aymfdrsb.js → schema-bqn7g3ez.js} +3 -1
- package/dist/config/index.d.ts +2 -2
- package/dist/config/schema.d.ts +9 -0
- package/dist/index.js +84 -51
- package/dist/tools/apply-patch.d.ts +21 -0
- package/dist/utils/fuzzy-match.d.ts +115 -0
- package/dist/utils/sequence-matcher.d.ts +83 -0
- package/package.json +1 -1
|
@@ -12,8 +12,8 @@ import {
|
|
|
12
12
|
shouldRunOnStartup,
|
|
13
13
|
writeBackupArtifact,
|
|
14
14
|
writeDoctorArtifact
|
|
15
|
-
} from "./index-
|
|
16
|
-
import"./index-
|
|
15
|
+
} from "./index-m7hc7nn7.js";
|
|
16
|
+
import"./index-nvc0nsvg.js";
|
|
17
17
|
import"./index-bfwt3abw.js";
|
|
18
18
|
import"./index-5e4e2hvv.js";
|
|
19
19
|
import"./index-p0arc26j.js";
|
|
@@ -14,11 +14,11 @@ import {
|
|
|
14
14
|
runCuratorInit,
|
|
15
15
|
runCuratorPhase,
|
|
16
16
|
writeCuratorSummary
|
|
17
|
-
} from "./index-
|
|
18
|
-
import"./index-
|
|
17
|
+
} from "./index-m766gvdt.js";
|
|
18
|
+
import"./index-8j5d3ytd.js";
|
|
19
19
|
import"./index-c8s9a3zh.js";
|
|
20
|
-
import"./index-
|
|
21
|
-
import"./index-
|
|
20
|
+
import"./index-m7hc7nn7.js";
|
|
21
|
+
import"./index-nvc0nsvg.js";
|
|
22
22
|
import"./index-yrrqs4b0.js";
|
|
23
23
|
import"./index-scww5b77.js";
|
|
24
24
|
import"./index-ga4ta3cr.js";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
createCuratorLLMDelegate
|
|
4
|
-
} from "./index-
|
|
5
|
-
import"./index-
|
|
4
|
+
} from "./index-m766gvdt.js";
|
|
5
|
+
import"./index-8j5d3ytd.js";
|
|
6
6
|
import"./index-c8s9a3zh.js";
|
|
7
|
-
import"./index-
|
|
8
|
-
import"./index-
|
|
7
|
+
import"./index-m7hc7nn7.js";
|
|
8
|
+
import"./index-nvc0nsvg.js";
|
|
9
9
|
import"./index-yrrqs4b0.js";
|
|
10
10
|
import"./index-scww5b77.js";
|
|
11
11
|
import"./index-ga4ta3cr.js";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
handleGuardrailExplain
|
|
4
|
-
} from "./index-
|
|
5
|
-
import"./index-
|
|
6
|
-
import"./index-
|
|
4
|
+
} from "./index-m0rce3x6.js";
|
|
5
|
+
import"./index-m766gvdt.js";
|
|
6
|
+
import"./index-8j5d3ytd.js";
|
|
7
7
|
import"./index-c8s9a3zh.js";
|
|
8
|
-
import"./index-
|
|
9
|
-
import"./index-
|
|
8
|
+
import"./index-m7hc7nn7.js";
|
|
9
|
+
import"./index-nvc0nsvg.js";
|
|
10
10
|
import"./index-yrrqs4b0.js";
|
|
11
11
|
import"./index-scww5b77.js";
|
|
12
12
|
import"./index-ga4ta3cr.js";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
handleGuardrailLog
|
|
4
|
-
} from "./index-
|
|
5
|
-
import"./index-
|
|
6
|
-
import"./index-
|
|
4
|
+
} from "./index-m43zgtjn.js";
|
|
5
|
+
import"./index-8j5d3ytd.js";
|
|
6
|
+
import"./index-nvc0nsvg.js";
|
|
7
7
|
import"./index-bfwt3abw.js";
|
|
8
8
|
import"./index-5e4e2hvv.js";
|
|
9
9
|
import"./index-p0arc26j.js";
|
|
@@ -6,11 +6,11 @@ import {
|
|
|
6
6
|
isHiveEligible,
|
|
7
7
|
promoteFromSwarm,
|
|
8
8
|
promoteToHive
|
|
9
|
-
} from "./index-
|
|
10
|
-
import"./index-
|
|
9
|
+
} from "./index-m766gvdt.js";
|
|
10
|
+
import"./index-8j5d3ytd.js";
|
|
11
11
|
import"./index-c8s9a3zh.js";
|
|
12
|
-
import"./index-
|
|
13
|
-
import"./index-
|
|
12
|
+
import"./index-m7hc7nn7.js";
|
|
13
|
+
import"./index-nvc0nsvg.js";
|
|
14
14
|
import"./index-yrrqs4b0.js";
|
|
15
15
|
import"./index-scww5b77.js";
|
|
16
16
|
import"./index-ga4ta3cr.js";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
handleGuardrailExplain
|
|
4
|
-
} from "./index-
|
|
4
|
+
} from "./index-m0rce3x6.js";
|
|
5
5
|
import {
|
|
6
6
|
handleGuardrailLog
|
|
7
|
-
} from "./index-
|
|
7
|
+
} from "./index-m43zgtjn.js";
|
|
8
8
|
import {
|
|
9
9
|
COMMAND_REGISTRY,
|
|
10
10
|
SWARM_COMMAND_TOOL_ALLOWLIST,
|
|
@@ -81,15 +81,15 @@ import {
|
|
|
81
81
|
handleWriteRetroCommand,
|
|
82
82
|
normalizeSwarmCommandInput,
|
|
83
83
|
resolveCommand
|
|
84
|
-
} from "./index-
|
|
85
|
-
import"./index-
|
|
84
|
+
} from "./index-m766gvdt.js";
|
|
85
|
+
import"./index-8j5d3ytd.js";
|
|
86
86
|
import"./index-c8s9a3zh.js";
|
|
87
|
-
import"./index-
|
|
87
|
+
import"./index-m7hc7nn7.js";
|
|
88
88
|
import {
|
|
89
89
|
AGENT_TOOL_MAP,
|
|
90
90
|
ORCHESTRATOR_NAME,
|
|
91
91
|
stripKnownSwarmPrefix
|
|
92
|
-
} from "./index-
|
|
92
|
+
} from "./index-nvc0nsvg.js";
|
|
93
93
|
import"./index-yrrqs4b0.js";
|
|
94
94
|
import"./index-scww5b77.js";
|
|
95
95
|
import"./index-ga4ta3cr.js";
|
|
@@ -12,14 +12,14 @@ import {
|
|
|
12
12
|
detectPosixWrites,
|
|
13
13
|
detectWindowsWrites,
|
|
14
14
|
resolveWriteTargets
|
|
15
|
-
} from "./index-
|
|
15
|
+
} from "./index-m766gvdt.js";
|
|
16
16
|
import {
|
|
17
17
|
checkFileAuthority,
|
|
18
18
|
classifyFile,
|
|
19
19
|
isInDeclaredScope,
|
|
20
20
|
redactPath,
|
|
21
21
|
redactShellCommand
|
|
22
|
-
} from "./index-
|
|
22
|
+
} from "./index-8j5d3ytd.js";
|
|
23
23
|
|
|
24
24
|
// src/services/guardrail-explain-service.ts
|
|
25
25
|
import path from "path";
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
readDoctorArtifact,
|
|
8
8
|
removeStraySwarmDir,
|
|
9
9
|
runConfigDoctor
|
|
10
|
-
} from "./index-
|
|
10
|
+
} from "./index-m7hc7nn7.js";
|
|
11
11
|
import {
|
|
12
12
|
AGENT_TOOL_MAP,
|
|
13
13
|
ALL_SUBAGENT_NAMES,
|
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
getCanonicalAgentRole,
|
|
24
24
|
resolveExternalSkillsConfig,
|
|
25
25
|
stripKnownSwarmPrefix
|
|
26
|
-
} from "./index-
|
|
26
|
+
} from "./index-nvc0nsvg.js";
|
|
27
27
|
import {
|
|
28
28
|
MAX_TRANSIENT_RETRIES,
|
|
29
29
|
PlanSchema,
|
|
@@ -10741,15 +10741,15 @@ var _internals13 = {
|
|
|
10741
10741
|
verifyPostMortemKnowledgeActions,
|
|
10742
10742
|
repairPostMortemActions,
|
|
10743
10743
|
loadDefaultKnowledgeConfig: async () => {
|
|
10744
|
-
const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-
|
|
10744
|
+
const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-bqn7g3ez.js");
|
|
10745
10745
|
return KnowledgeConfigSchema2.parse({});
|
|
10746
10746
|
},
|
|
10747
10747
|
applyCuratorKnowledgeUpdates: async (directory, recommendations, knowledgeConfig) => {
|
|
10748
|
-
const { applyCuratorKnowledgeUpdates: applyCuratorKnowledgeUpdates2 } = await import("./curator-
|
|
10748
|
+
const { applyCuratorKnowledgeUpdates: applyCuratorKnowledgeUpdates2 } = await import("./curator-hpc4tsjv.js");
|
|
10749
10749
|
return applyCuratorKnowledgeUpdates2(directory, recommendations, knowledgeConfig);
|
|
10750
10750
|
},
|
|
10751
10751
|
checkHivePromotions: async (entries, knowledgeConfig) => {
|
|
10752
|
-
const { checkHivePromotions } = await import("./hive-promoter-
|
|
10752
|
+
const { checkHivePromotions } = await import("./hive-promoter-0kfb4vjk.js");
|
|
10753
10753
|
return checkHivePromotions(entries, knowledgeConfig);
|
|
10754
10754
|
},
|
|
10755
10755
|
applyProposalTriage: async (directory, triage) => {
|
|
@@ -15795,7 +15795,7 @@ async function runFinalizeStage(ctx) {
|
|
|
15795
15795
|
}
|
|
15796
15796
|
}
|
|
15797
15797
|
try {
|
|
15798
|
-
const { CuratorConfigSchema: CCS } = await import("./schema-
|
|
15798
|
+
const { CuratorConfigSchema: CCS } = await import("./schema-bqn7g3ez.js");
|
|
15799
15799
|
const { config: pmLoadedConfig } = _internals21.loadPluginConfigWithMeta(ctx.directory);
|
|
15800
15800
|
const curatorCfg = CCS.parse(pmLoadedConfig.curator ?? {});
|
|
15801
15801
|
if (curatorCfg.enabled && curatorCfg.postmortem_enabled) {
|
|
@@ -17909,9 +17909,9 @@ var _internals25 = {
|
|
|
17909
17909
|
readSwarmFileAsync,
|
|
17910
17910
|
loadCuratorDeps: async () => {
|
|
17911
17911
|
const [{ CuratorConfigSchema }, curator, { createCuratorLLMDelegate: createCuratorLLMDelegate2 }] = await Promise.all([
|
|
17912
|
-
import("./schema-
|
|
17913
|
-
import("./curator-
|
|
17914
|
-
import("./curator-llm-factory-
|
|
17912
|
+
import("./schema-bqn7g3ez.js"),
|
|
17913
|
+
import("./curator-hpc4tsjv.js"),
|
|
17914
|
+
import("./curator-llm-factory-6n9sgaj8.js")
|
|
17915
17915
|
]);
|
|
17916
17916
|
return { CuratorConfigSchema, curator, createCuratorLLMDelegate: createCuratorLLMDelegate2 };
|
|
17917
17917
|
}
|
|
@@ -18407,7 +18407,7 @@ import { fileURLToPath } from "url";
|
|
|
18407
18407
|
// package.json
|
|
18408
18408
|
var package_default = {
|
|
18409
18409
|
name: "opencode-swarm",
|
|
18410
|
-
version: "7.
|
|
18410
|
+
version: "7.115.0",
|
|
18411
18411
|
description: "Architect-centric agentic swarm plugin for OpenCode - hub-and-spoke orchestration with SME consultation, code generation, and QA review",
|
|
18412
18412
|
main: "dist/index.js",
|
|
18413
18413
|
types: "dist/index.d.ts",
|
|
@@ -19876,7 +19876,7 @@ async function handleDoctorCommand(directory, args) {
|
|
|
19876
19876
|
const result = runConfigDoctor(config, directory);
|
|
19877
19877
|
let output;
|
|
19878
19878
|
if (enableAutoFix && result.hasAutoFixableIssues) {
|
|
19879
|
-
const { runConfigDoctorWithFixes } = await import("./config-doctor-
|
|
19879
|
+
const { runConfigDoctorWithFixes } = await import("./config-doctor-htzxe394.js");
|
|
19880
19880
|
const fixResult = await runConfigDoctorWithFixes(directory, config, true);
|
|
19881
19881
|
output = formatDoctorMarkdown(fixResult.result);
|
|
19882
19882
|
} else {
|
|
@@ -33048,7 +33048,7 @@ function buildDetailedHelp(commandName, entry) {
|
|
|
33048
33048
|
async function handleHelpCommand(ctx) {
|
|
33049
33049
|
const targetCommand = ctx.args.join(" ");
|
|
33050
33050
|
if (!targetCommand) {
|
|
33051
|
-
const { buildHelpText } = await import("./index-
|
|
33051
|
+
const { buildHelpText } = await import("./index-2etc05tv.js");
|
|
33052
33052
|
return buildHelpText();
|
|
33053
33053
|
}
|
|
33054
33054
|
const tokens = targetCommand.split(/\s+/);
|
|
@@ -33057,7 +33057,7 @@ async function handleHelpCommand(ctx) {
|
|
|
33057
33057
|
return _internals49.buildDetailedHelp(resolved.key, resolved.entry);
|
|
33058
33058
|
}
|
|
33059
33059
|
const similar = _internals49.findSimilarCommands(targetCommand);
|
|
33060
|
-
const { buildHelpText: fullHelp } = await import("./index-
|
|
33060
|
+
const { buildHelpText: fullHelp } = await import("./index-2etc05tv.js");
|
|
33061
33061
|
if (similar.length > 0) {
|
|
33062
33062
|
return `Command '/swarm ${targetCommand}' not found.
|
|
33063
33063
|
|
|
@@ -33190,7 +33190,7 @@ var COMMAND_REGISTRY = {
|
|
|
33190
33190
|
},
|
|
33191
33191
|
"guardrail explain": {
|
|
33192
33192
|
handler: async (ctx) => {
|
|
33193
|
-
const { handleGuardrailExplain } = await import("./guardrail-explain-
|
|
33193
|
+
const { handleGuardrailExplain } = await import("./guardrail-explain-hecpd738.js");
|
|
33194
33194
|
return handleGuardrailExplain(ctx.directory, ctx.args);
|
|
33195
33195
|
},
|
|
33196
33196
|
description: "Dry-run: show what the guardrails would do to a command or write target (executes nothing)",
|
|
@@ -33200,7 +33200,7 @@ var COMMAND_REGISTRY = {
|
|
|
33200
33200
|
},
|
|
33201
33201
|
"guardrail-explain": {
|
|
33202
33202
|
handler: async (ctx) => {
|
|
33203
|
-
const { handleGuardrailExplain } = await import("./guardrail-explain-
|
|
33203
|
+
const { handleGuardrailExplain } = await import("./guardrail-explain-hecpd738.js");
|
|
33204
33204
|
return handleGuardrailExplain(ctx.directory, ctx.args);
|
|
33205
33205
|
},
|
|
33206
33206
|
description: "Dry-run: show what the guardrails would do to a command or write target (executes nothing)",
|
|
@@ -33210,7 +33210,7 @@ var COMMAND_REGISTRY = {
|
|
|
33210
33210
|
},
|
|
33211
33211
|
"guardrail-log": {
|
|
33212
33212
|
handler: async (ctx) => {
|
|
33213
|
-
const { handleGuardrailLog } = await import("./guardrail-log-
|
|
33213
|
+
const { handleGuardrailLog } = await import("./guardrail-log-dzbqcgz9.js");
|
|
33214
33214
|
return handleGuardrailLog(ctx.directory, ctx.args);
|
|
33215
33215
|
},
|
|
33216
33216
|
description: "Read the guardrail decision log (use --blocks-only for blocks)",
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
GateConfigSchema,
|
|
6
6
|
PluginConfigSchema,
|
|
7
7
|
stripKnownSwarmPrefix
|
|
8
|
-
} from "./index-
|
|
8
|
+
} from "./index-nvc0nsvg.js";
|
|
9
9
|
import {
|
|
10
10
|
log
|
|
11
11
|
} from "./index-zgwm4ryv.js";
|
|
@@ -828,6 +828,10 @@ function validateConfigKey(path2, value) {
|
|
|
828
828
|
emitObjectTypeMismatch("checkpoint", value, findings);
|
|
829
829
|
break;
|
|
830
830
|
}
|
|
831
|
+
case "apply_patch": {
|
|
832
|
+
emitObjectTypeMismatch("apply_patch", value, findings);
|
|
833
|
+
break;
|
|
834
|
+
}
|
|
831
835
|
case "automation": {
|
|
832
836
|
emitObjectTypeMismatch("automation", value, findings);
|
|
833
837
|
break;
|
|
@@ -1496,6 +1496,10 @@ var CheckpointConfigSchema = exports_external.object({
|
|
|
1496
1496
|
auto_checkpoint_threshold: exports_external.number().int().min(1).max(20).default(3),
|
|
1497
1497
|
allow_empty_commits: exports_external.boolean().default(false)
|
|
1498
1498
|
}).strict();
|
|
1499
|
+
var ApplyPatchConfigSchema = exports_external.object({
|
|
1500
|
+
fuzzy_match: exports_external.boolean().default(false),
|
|
1501
|
+
fuzzy_match_context_aware: exports_external.boolean().default(false)
|
|
1502
|
+
}).strict();
|
|
1499
1503
|
var AutomationModeSchema = exports_external.enum(["manual", "hybrid", "auto"]);
|
|
1500
1504
|
var AutomationCapabilitiesSchema = exports_external.object({
|
|
1501
1505
|
plan_sync: exports_external.boolean().default(true),
|
|
@@ -2222,6 +2226,7 @@ var PluginConfigSchema = exports_external.object({
|
|
|
2222
2226
|
lint: LintConfigSchema.optional(),
|
|
2223
2227
|
secretscan: SecretscanConfigSchema.optional(),
|
|
2224
2228
|
checkpoint: CheckpointConfigSchema.optional(),
|
|
2229
|
+
apply_patch: ApplyPatchConfigSchema.optional(),
|
|
2225
2230
|
automation: AutomationConfigSchema.optional(),
|
|
2226
2231
|
knowledge: KnowledgeConfigSchema.optional(),
|
|
2227
2232
|
memory: MemoryConfigSchema.optional(),
|
|
@@ -2411,4 +2416,4 @@ var PluginConfigSchema = exports_external.object({
|
|
|
2411
2416
|
skills: SkillsConfigSchema.optional()
|
|
2412
2417
|
});
|
|
2413
2418
|
|
|
2414
|
-
export { ORCHESTRATOR_NAME, ALL_SUBAGENT_NAMES, ALL_AGENT_NAMES, TOOL_NAMES, TOOL_NAME_SET, AGENT_TOOL_MAP, DEFAULT_AGENT_CONFIGS, _internals, isKnownCanonicalRole, getCanonicalAgentRole, resolveGeneratedAgentRole, stripKnownSwarmPrefix, AgentReasoningConfigSchema, AgentThinkingConfigSchema, AgentOverrideConfigSchema, SwarmConfigSchema, ModelPricingConfigSchema, PricingConfigSchema, HooksConfigSchema, ScoringWeightsSchema, DecisionDecaySchema, TokenRatiosSchema, ScoringConfigSchema, ContextBudgetConfigSchema, EvidenceConfigSchema, GateFeatureSchema, PlaceholderScanConfigSchema, QualityBudgetConfigSchema, GATE_CONFIG_KNOWN_SECTION_KEYS, GateConfigSchema, PipelineConfigSchema, PhaseCompleteConfigSchema, SummaryConfigSchema, ReviewPassesConfigSchema, AutoReviewConfigSchema, AdversarialDetectionConfigSchema, AdversarialTestingConfigSchema, IntegrationAnalysisConfigSchema, DocsConfigSchema, DesignDocsConfigSchema, UIReviewConfigSchema, CompactionAdvisoryConfigSchema, LintConfigSchema, SecretscanConfigSchema, GuardrailsProfileSchema, DEFAULT_AGENT_PROFILES, DEFAULT_ARCHITECT_PROFILE, GuardrailsConfigSchema, WatchdogConfigSchema, SelfReviewConfigSchema, resolveGuardrailsConfig, ToolFilterConfigSchema, PlanCursorConfigSchema, ContextMapConfigSchema, RepoGraphConfigSchema, CheckpointConfigSchema, AutomationModeSchema, AutomationCapabilitiesSchema, AutomationConfigSchema, KnowledgeConfigSchema, MemoryConfigSchema, CuratorConfigSchema, ArchitecturalSupervisionConfigSchema, KnowledgeApplicationConfigSchema, SkillPropagationConfigSchema, SkillImproverConfigSchema, SkillsConfigSchema, SpecWriterConfigSchema, SlopDetectorConfigSchema, IncrementalVerifyConfigSchema, CompactionConfigSchema, PrmConfigSchema, AgentAuthorityRuleSchema, AuthorityConfigSchema, GeneralCouncilConfigSchema, CouncilConfigSchema, PrMonitorConfigSchema, ParallelizationConfigSchema, WorktreeIsolationConfigSchema, LeanTurboConfigSchema, EpicConfigSchema, StandardTurboConfigSchema, LeanTurboStrategyConfigSchema, TurboConfigSchema, ExternalSkillCandidateSourceTypeSchema, ExternalSkillCandidateEvaluationVerdictSchema, DiscoverySourceSchema, ExternalSkillCandidateSchema, ExternalSkillsConfigSchema, DEFAULT_EXTERNAL_SKILLS_CONFIG, DEFAULT_SKILLS_CONFIG, resolveExternalSkillsConfig, PluginConfigSchema };
|
|
2419
|
+
export { ORCHESTRATOR_NAME, ALL_SUBAGENT_NAMES, ALL_AGENT_NAMES, TOOL_NAMES, TOOL_NAME_SET, AGENT_TOOL_MAP, DEFAULT_AGENT_CONFIGS, _internals, isKnownCanonicalRole, getCanonicalAgentRole, resolveGeneratedAgentRole, stripKnownSwarmPrefix, AgentReasoningConfigSchema, AgentThinkingConfigSchema, AgentOverrideConfigSchema, SwarmConfigSchema, ModelPricingConfigSchema, PricingConfigSchema, HooksConfigSchema, ScoringWeightsSchema, DecisionDecaySchema, TokenRatiosSchema, ScoringConfigSchema, ContextBudgetConfigSchema, EvidenceConfigSchema, GateFeatureSchema, PlaceholderScanConfigSchema, QualityBudgetConfigSchema, GATE_CONFIG_KNOWN_SECTION_KEYS, GateConfigSchema, PipelineConfigSchema, PhaseCompleteConfigSchema, SummaryConfigSchema, ReviewPassesConfigSchema, AutoReviewConfigSchema, AdversarialDetectionConfigSchema, AdversarialTestingConfigSchema, IntegrationAnalysisConfigSchema, DocsConfigSchema, DesignDocsConfigSchema, 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, MemoryConfigSchema, CuratorConfigSchema, ArchitecturalSupervisionConfigSchema, KnowledgeApplicationConfigSchema, SkillPropagationConfigSchema, SkillImproverConfigSchema, SkillsConfigSchema, SpecWriterConfigSchema, SlopDetectorConfigSchema, IncrementalVerifyConfigSchema, CompactionConfigSchema, PrmConfigSchema, AgentAuthorityRuleSchema, AuthorityConfigSchema, GeneralCouncilConfigSchema, CouncilConfigSchema, PrMonitorConfigSchema, ParallelizationConfigSchema, WorktreeIsolationConfigSchema, LeanTurboConfigSchema, EpicConfigSchema, StandardTurboConfigSchema, LeanTurboStrategyConfigSchema, TurboConfigSchema, ExternalSkillCandidateSourceTypeSchema, ExternalSkillCandidateEvaluationVerdictSchema, DiscoverySourceSchema, ExternalSkillCandidateSchema, ExternalSkillsConfigSchema, DEFAULT_EXTERNAL_SKILLS_CONFIG, DEFAULT_SKILLS_CONFIG, resolveExternalSkillsConfig, PluginConfigSchema };
|
package/dist/cli/index.js
CHANGED
|
@@ -7,13 +7,13 @@ import {
|
|
|
7
7
|
getPluginLockFilePaths,
|
|
8
8
|
package_default,
|
|
9
9
|
resolveCommand
|
|
10
|
-
} from "./index-
|
|
11
|
-
import"./index-
|
|
10
|
+
} from "./index-m766gvdt.js";
|
|
11
|
+
import"./index-8j5d3ytd.js";
|
|
12
12
|
import"./index-c8s9a3zh.js";
|
|
13
|
-
import"./index-
|
|
13
|
+
import"./index-m7hc7nn7.js";
|
|
14
14
|
import {
|
|
15
15
|
DEFAULT_AGENT_CONFIGS
|
|
16
|
-
} from "./index-
|
|
16
|
+
} from "./index-nvc0nsvg.js";
|
|
17
17
|
import"./index-yrrqs4b0.js";
|
|
18
18
|
import"./index-scww5b77.js";
|
|
19
19
|
import"./index-ga4ta3cr.js";
|
|
@@ -6,6 +6,7 @@ import {
|
|
|
6
6
|
AgentOverrideConfigSchema,
|
|
7
7
|
AgentReasoningConfigSchema,
|
|
8
8
|
AgentThinkingConfigSchema,
|
|
9
|
+
ApplyPatchConfigSchema,
|
|
9
10
|
ArchitecturalSupervisionConfigSchema,
|
|
10
11
|
AuthorityConfigSchema,
|
|
11
12
|
AutoReviewConfigSchema,
|
|
@@ -86,7 +87,7 @@ import {
|
|
|
86
87
|
resolveGeneratedAgentRole,
|
|
87
88
|
resolveGuardrailsConfig,
|
|
88
89
|
stripKnownSwarmPrefix
|
|
89
|
-
} from "./index-
|
|
90
|
+
} from "./index-nvc0nsvg.js";
|
|
90
91
|
import"./index-bfwt3abw.js";
|
|
91
92
|
import"./index-p0arc26j.js";
|
|
92
93
|
import"./index-293f68mj.js";
|
|
@@ -172,6 +173,7 @@ export {
|
|
|
172
173
|
AutoReviewConfigSchema,
|
|
173
174
|
AuthorityConfigSchema,
|
|
174
175
|
ArchitecturalSupervisionConfigSchema,
|
|
176
|
+
ApplyPatchConfigSchema,
|
|
175
177
|
AgentThinkingConfigSchema,
|
|
176
178
|
AgentReasoningConfigSchema,
|
|
177
179
|
AgentOverrideConfigSchema,
|
package/dist/config/index.d.ts
CHANGED
|
@@ -18,8 +18,8 @@ export declare const _internals: {
|
|
|
18
18
|
};
|
|
19
19
|
export type { MigrationStatus, Phase, PhaseStatus, Plan, Task, TaskSize, TaskStatus, } from './plan-schema';
|
|
20
20
|
export { MigrationStatusSchema, PhaseSchema, PhaseStatusSchema, PlanSchema, TaskSchema, TaskSizeSchema, TaskStatusSchema, } from './plan-schema';
|
|
21
|
-
export type { AgentOverrideConfig, AutomationCapabilities, AutomationConfig, AutomationMode, LeanTurboConfig, MemoryConfig, ModelPricingConfig, PhaseCompleteConfig, PipelineConfig, PluginConfig, PricingConfig, RepoGraphConfig, SkillPropagationConfig, SwarmConfig, TurboConfig, WorktreeIsolationConfig, } from './schema';
|
|
22
|
-
export { AgentOverrideConfigSchema, AutomationCapabilitiesSchema, AutomationConfigSchema, AutomationModeSchema, LeanTurboConfigSchema, MemoryConfigSchema, ModelPricingConfigSchema, PhaseCompleteConfigSchema, PipelineConfigSchema, PluginConfigSchema, PricingConfigSchema, RepoGraphConfigSchema, SkillPropagationConfigSchema, SwarmConfigSchema, TurboConfigSchema, WorktreeIsolationConfigSchema, } from './schema';
|
|
21
|
+
export type { AgentOverrideConfig, ApplyPatchConfig, AutomationCapabilities, AutomationConfig, AutomationMode, LeanTurboConfig, MemoryConfig, ModelPricingConfig, PhaseCompleteConfig, PipelineConfig, PluginConfig, PricingConfig, RepoGraphConfig, SkillPropagationConfig, SwarmConfig, TurboConfig, WorktreeIsolationConfig, } from './schema';
|
|
22
|
+
export { AgentOverrideConfigSchema, ApplyPatchConfigSchema, AutomationCapabilitiesSchema, AutomationConfigSchema, AutomationModeSchema, LeanTurboConfigSchema, MemoryConfigSchema, ModelPricingConfigSchema, PhaseCompleteConfigSchema, PipelineConfigSchema, PluginConfigSchema, PricingConfigSchema, RepoGraphConfigSchema, SkillPropagationConfigSchema, SwarmConfigSchema, TurboConfigSchema, WorktreeIsolationConfigSchema, } from './schema';
|
|
23
23
|
export type { DeltaSpec, Obligation, SpecDelta, SpecRequirement, SpecScenario, SpecSection, SwarmSpec, } from './spec-schema';
|
|
24
24
|
export { DeltaSpecSchema, ObligationSchema, SpecDeltaSchema, SpecRequirementSchema, SpecScenarioSchema, SpecSectionSchema, SwarmSpecSchema, validateSpecContent, } from './spec-schema';
|
|
25
25
|
export { resolveWorktreeIsolationConfig } from './worktree-isolation-config';
|
package/dist/config/schema.d.ts
CHANGED
|
@@ -548,6 +548,11 @@ export declare const CheckpointConfigSchema: z.ZodObject<{
|
|
|
548
548
|
allow_empty_commits: z.ZodDefault<z.ZodBoolean>;
|
|
549
549
|
}, z.core.$strict>;
|
|
550
550
|
export type CheckpointConfig = z.infer<typeof CheckpointConfigSchema>;
|
|
551
|
+
export declare const ApplyPatchConfigSchema: z.ZodObject<{
|
|
552
|
+
fuzzy_match: z.ZodDefault<z.ZodBoolean>;
|
|
553
|
+
fuzzy_match_context_aware: z.ZodDefault<z.ZodBoolean>;
|
|
554
|
+
}, z.core.$strict>;
|
|
555
|
+
export type ApplyPatchConfig = z.infer<typeof ApplyPatchConfigSchema>;
|
|
551
556
|
export declare const AutomationModeSchema: z.ZodEnum<{
|
|
552
557
|
auto: "auto";
|
|
553
558
|
manual: "manual";
|
|
@@ -1865,6 +1870,10 @@ export declare const PluginConfigSchema: z.ZodObject<{
|
|
|
1865
1870
|
auto_checkpoint_threshold: z.ZodDefault<z.ZodNumber>;
|
|
1866
1871
|
allow_empty_commits: z.ZodDefault<z.ZodBoolean>;
|
|
1867
1872
|
}, z.core.$strict>>;
|
|
1873
|
+
apply_patch: z.ZodOptional<z.ZodObject<{
|
|
1874
|
+
fuzzy_match: z.ZodDefault<z.ZodBoolean>;
|
|
1875
|
+
fuzzy_match_context_aware: z.ZodDefault<z.ZodBoolean>;
|
|
1876
|
+
}, z.core.$strict>>;
|
|
1868
1877
|
automation: z.ZodOptional<z.ZodType<{
|
|
1869
1878
|
mode: "auto" | "manual" | "hybrid";
|
|
1870
1879
|
capabilities: {
|