opencode-swarm 7.155.0 → 7.156.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/{coder-settlement-2kdtysrg.js → coder-settlement-jm7024zm.js} +3 -3
- package/dist/cli/{config-doctor-s6p9aqfv.js → config-doctor-q9v8yscr.js} +2 -2
- package/dist/cli/{core-ev2ebc4v.js → core-ev3bn503.js} +1 -1
- package/dist/cli/{curator-adp0dsv4.js → curator-dnjf9ser.js} +22 -22
- package/dist/cli/{curator-llm-factory-kd8v16jj.js → curator-llm-factory-cnatbky1.js} +22 -22
- package/dist/cli/{dispatch-w0rzasz3.js → dispatch-7r46tfr9.js} +10 -8
- package/dist/cli/{evidence-summary-service-kpjpd86j.js → evidence-summary-service-5drv65qh.js} +8 -8
- package/dist/cli/{gate-evidence-etbcms2v.js → gate-evidence-dcyvst7g.js} +2 -2
- package/dist/cli/{guardrail-explain-wqb5h7kk.js → guardrail-explain-z8f6qhz2.js} +23 -23
- package/dist/cli/{guardrail-log-614g1pta.js → guardrail-log-zwec6ann.js} +3 -3
- package/dist/cli/{guardrail-reset-0wdj53cp.js → guardrail-reset-ga6e11r9.js} +22 -22
- package/dist/cli/{hashing-mjwn6j4y.js → hashing-r4hbav6j.js} +1 -1
- package/dist/cli/{hive-promoter-b1wv52fs.js → hive-promoter-mpez5tqh.js} +22 -22
- package/dist/cli/{index-ketfp4rv.js → index-00hyhg47.js} +3 -3
- package/dist/cli/{index-dw2q720x.js → index-164c64z8.js} +2 -2
- package/dist/cli/{index-qzqpq75z.js → index-17h6ewqp.js} +43 -24
- package/dist/cli/{index-kyc2c7hq.js → index-4m3j9q9z.js} +2 -2
- package/dist/cli/{index-26cvxrym.js → index-5r3zrw81.js} +1 -1
- package/dist/cli/{index-34wn2ztk.js → index-5w87j6j4.js} +21 -3
- package/dist/cli/{index-mm7ase9k.js → index-68098cfj.js} +5 -1
- package/dist/cli/{index-kgdbtwfm.js → index-6g6qwr8z.js} +5 -5
- package/dist/cli/{index-qj9jrjvr.js → index-98j6z038.js} +3 -3
- package/dist/cli/{index-e90g4dsw.js → index-9n555qz4.js} +1 -1
- package/dist/cli/{index-79qymsxf.js → index-b91qwpms.js} +1 -1
- package/dist/cli/{index-ctsct3hy.js → index-dfmr6pj5.js} +4 -4
- package/dist/cli/{index-t3xqpece.js → index-fd7wj6fy.js} +2 -2
- package/dist/cli/{index-caqe8x14.js → index-fpg4tzf7.js} +1 -1
- package/dist/cli/{index-veajr5x7.js → index-g37454vj.js} +1 -1
- package/dist/cli/{index-c9nabqzd.js → index-gthnsbzf.js} +1 -1
- package/dist/cli/{index-x9tbe9v7.js → index-kxk8cnx7.js} +2 -2
- package/dist/cli/{index-zvp68qx6.js → index-mdypz60w.js} +1 -1
- package/dist/cli/{index-2gfe61qp.js → index-ppx8bnzd.js} +3685 -881
- package/dist/cli/{index-wwv3cbv1.js → index-q2khkey7.js} +4 -4
- package/dist/cli/{index-xn23xnnk.js → index-sfdg1xg5.js} +3 -3
- package/dist/cli/{index-rb4t72we.js → index-sm2t1awr.js} +1 -1
- package/dist/cli/{index-y8552snf.js → index-txdagbh7.js} +6 -1
- package/dist/cli/{index-c590qxts.js → index-wn0xm2e8.js} +1 -1
- package/dist/cli/{index-spbxf9vn.js → index-za6bb2fd.js} +1 -1
- package/dist/cli/{index-egnpzfe3.js → index-zdgdf0e9.js} +3 -3
- package/dist/cli/index.js +22 -22
- package/dist/cli/{knowledge-escalator-z09aqvfe.js → knowledge-escalator-cq4e6v2j.js} +6 -6
- package/dist/cli/{knowledge-events-03f1rwm8.js → knowledge-events-sr5fqqaq.js} +4 -4
- package/dist/cli/{knowledge-store-sn28k13f.js → knowledge-store-2dww3dqz.js} +1 -1
- package/dist/cli/{knowledge-validator-rwrt3yja.js → knowledge-validator-yprsj4ye.js} +2 -2
- package/dist/cli/{pending-delegations-qe16vfrj.js → pending-delegations-7qvag076.js} +1 -1
- package/dist/cli/{runner-k1rkbjm8.js → runner-gheaxd5r.js} +3 -3
- package/dist/cli/{scan-cursor-h3mfzjc9.js → scan-cursor-6awybk8b.js} +2 -2
- package/dist/cli/{schema-c37h5xw4.js → schema-bf3smw7k.js} +5 -1
- package/dist/cli/{scope-persistence-35z42pj5.js → scope-persistence-kc42c6ph.js} +4 -4
- package/dist/cli/{skill-generator-60px2mvb.js → skill-generator-9k1ztt7c.js} +7 -7
- package/dist/cli/{worktree-collision-ownership-2pc20ypq.js → worktree-collision-ownership-ej10dhwe.js} +1 -1
- package/dist/cli/{worktree-isolation-w4yamc3b.js → worktree-isolation-r7qqy6ca.js} +22 -22
- package/dist/commands/command-dispatch.d.ts +2 -1
- package/dist/commands/harness.d.ts +14 -0
- package/dist/commands/index.d.ts +3 -1
- package/dist/commands/registry.d.ts +114 -1
- package/dist/config/schema.d.ts +34 -0
- package/dist/harness/contracts.d.ts +492 -0
- package/dist/harness/factory.d.ts +72 -0
- package/dist/harness/hash.d.ts +4 -0
- package/dist/harness/index.d.ts +6 -0
- package/dist/harness/patch.d.ts +3 -0
- package/dist/harness/public-api.d.ts +105 -0
- package/dist/harness/source-candidate.d.ts +45 -0
- package/dist/harness/store.d.ts +256 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +256 -234
- package/dist/lang/manifest-files.d.ts +25 -0
- package/dist/security/write-authority.d.ts +2 -1
- package/package.json +1 -1
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
handleGuardrailExplain
|
|
4
|
-
} from "./index-
|
|
4
|
+
} from "./index-kxk8cnx7.js";
|
|
5
5
|
import {
|
|
6
6
|
handleGuardrailLog
|
|
7
|
-
} from "./index-
|
|
7
|
+
} from "./index-g37454vj.js";
|
|
8
8
|
import {
|
|
9
9
|
COMMAND_REGISTRY,
|
|
10
10
|
SWARM_COMMAND_TOOL_ALLOWLIST,
|
|
@@ -23,6 +23,11 @@ import {
|
|
|
23
23
|
handleArchiveCommand,
|
|
24
24
|
handleAutoProceedCommand,
|
|
25
25
|
handleBenchmarkCommand,
|
|
26
|
+
handleBlueprintCurrentCommand,
|
|
27
|
+
handleBlueprintDiffCommand,
|
|
28
|
+
handleBlueprintExportCommand,
|
|
29
|
+
handleBlueprintHistoryCommand,
|
|
30
|
+
handleBlueprintValidateCommand,
|
|
26
31
|
handleBrainstormCommand,
|
|
27
32
|
handleCheckpointCommand,
|
|
28
33
|
handleCiSimulateCommand,
|
|
@@ -47,6 +52,9 @@ import {
|
|
|
47
52
|
handleGateAuditCommand,
|
|
48
53
|
handleGateStatsCommand,
|
|
49
54
|
handleHandoffCommand,
|
|
55
|
+
handleHarnessCandidateDiffCommand,
|
|
56
|
+
handleHarnessCandidateShowCommand,
|
|
57
|
+
handleHarnessCandidateValidateCommand,
|
|
50
58
|
handleHelpCommand,
|
|
51
59
|
handleHistoryCommand,
|
|
52
60
|
handleKnowledgeListCommand,
|
|
@@ -86,53 +94,53 @@ import {
|
|
|
86
94
|
handleWriteRetroCommand,
|
|
87
95
|
normalizeSwarmCommandInput,
|
|
88
96
|
resolveCommand
|
|
89
|
-
} from "./index-
|
|
90
|
-
import"./index-
|
|
91
|
-
import"./index-
|
|
92
|
-
import"./index-
|
|
93
|
-
import"./index-
|
|
94
|
-
import"./index-
|
|
97
|
+
} from "./index-ppx8bnzd.js";
|
|
98
|
+
import"./index-4m3j9q9z.js";
|
|
99
|
+
import"./index-wn0xm2e8.js";
|
|
100
|
+
import"./index-68098cfj.js";
|
|
101
|
+
import"./index-q2khkey7.js";
|
|
102
|
+
import"./index-gthnsbzf.js";
|
|
95
103
|
import"./index-134d35c1.js";
|
|
96
104
|
import"./index-nj6rmyeh.js";
|
|
97
|
-
import"./index-
|
|
98
|
-
import"./index-
|
|
99
|
-
import"./index-
|
|
105
|
+
import"./index-txdagbh7.js";
|
|
106
|
+
import"./index-6g6qwr8z.js";
|
|
107
|
+
import"./index-sm2t1awr.js";
|
|
100
108
|
import"./index-70ha9e09.js";
|
|
101
109
|
import"./index-c8s9a3zh.js";
|
|
102
110
|
import"./index-9ss2m4rs.js";
|
|
103
111
|
import"./index-fjcm6wwf.js";
|
|
104
112
|
import"./index-zsrtt42s.js";
|
|
105
|
-
import"./index-
|
|
113
|
+
import"./index-zdgdf0e9.js";
|
|
106
114
|
import"./index-0q8kywcf.js";
|
|
107
|
-
import"./index-
|
|
108
|
-
import"./index-
|
|
115
|
+
import"./index-sfdg1xg5.js";
|
|
116
|
+
import"./index-9n555qz4.js";
|
|
109
117
|
import"./index-aqg7c1z9.js";
|
|
110
118
|
import"./index-rtry5xyf.js";
|
|
111
|
-
import"./index-
|
|
112
|
-
import"./index-
|
|
113
|
-
import"./index-
|
|
119
|
+
import"./index-5r3zrw81.js";
|
|
120
|
+
import"./index-za6bb2fd.js";
|
|
121
|
+
import"./index-fpg4tzf7.js";
|
|
114
122
|
import"./index-ddszzne4.js";
|
|
115
123
|
import"./index-vnn7qq8c.js";
|
|
116
|
-
import"./index-
|
|
117
|
-
import"./index-
|
|
124
|
+
import"./index-fd7wj6fy.js";
|
|
125
|
+
import"./index-mdypz60w.js";
|
|
118
126
|
import"./index-xdy28ngt.js";
|
|
119
127
|
import"./index-556ja8an.js";
|
|
120
128
|
import"./index-4fwbbad3.js";
|
|
121
129
|
import"./index-b43rt5ph.js";
|
|
122
130
|
import"./index-q7sjgr1y.js";
|
|
123
|
-
import"./index-
|
|
124
|
-
import"./index-
|
|
125
|
-
import"./index-
|
|
131
|
+
import"./index-dfmr6pj5.js";
|
|
132
|
+
import"./index-98j6z038.js";
|
|
133
|
+
import"./index-164c64z8.js";
|
|
126
134
|
import"./index-gprxjmm7.js";
|
|
127
135
|
import"./index-n832052r.js";
|
|
128
136
|
import"./index-dtn0pne5.js";
|
|
129
137
|
import"./index-z6xqpmqg.js";
|
|
130
138
|
import"./index-r3mvsbtq.js";
|
|
131
|
-
import"./index-
|
|
139
|
+
import"./index-b91qwpms.js";
|
|
132
140
|
import {
|
|
133
141
|
init_schema,
|
|
134
142
|
stripKnownSwarmPrefix
|
|
135
|
-
} from "./index-
|
|
143
|
+
} from "./index-5w87j6j4.js";
|
|
136
144
|
import {
|
|
137
145
|
AGENT_TOOL_MAP,
|
|
138
146
|
ORCHESTRATOR_NAME,
|
|
@@ -277,6 +285,7 @@ function createSwarmCommandHandler(directory, agents, options = {}) {
|
|
|
277
285
|
sessionID: input.sessionID,
|
|
278
286
|
tokens: normalized.tokens,
|
|
279
287
|
activeAgentName: options.getActiveAgentName?.(input.sessionID),
|
|
288
|
+
config: options.config,
|
|
280
289
|
packageRoot: options.packageRoot,
|
|
281
290
|
registeredAgents: options.registeredAgents,
|
|
282
291
|
evaluationModelDispatcher: options.evaluationModelDispatcher,
|
|
@@ -295,6 +304,7 @@ async function buildSwarmCommandPrompt(args) {
|
|
|
295
304
|
sessionID,
|
|
296
305
|
tokens,
|
|
297
306
|
activeAgentName,
|
|
307
|
+
config,
|
|
298
308
|
packageRoot,
|
|
299
309
|
registeredAgents,
|
|
300
310
|
evaluationModelDispatcher,
|
|
@@ -343,6 +353,7 @@ async function buildSwarmCommandPrompt(args) {
|
|
|
343
353
|
agents,
|
|
344
354
|
sessionID,
|
|
345
355
|
tokens,
|
|
356
|
+
config,
|
|
346
357
|
packageRoot,
|
|
347
358
|
evaluationModelDispatcher,
|
|
348
359
|
reviewModelDispatcher,
|
|
@@ -440,6 +451,9 @@ export {
|
|
|
440
451
|
handleKnowledgeListCommand,
|
|
441
452
|
handleHistoryCommand,
|
|
442
453
|
handleHelpCommand,
|
|
454
|
+
handleHarnessCandidateValidateCommand,
|
|
455
|
+
handleHarnessCandidateShowCommand,
|
|
456
|
+
handleHarnessCandidateDiffCommand,
|
|
443
457
|
handleHandoffCommand,
|
|
444
458
|
handleGuardrailLog,
|
|
445
459
|
handleGuardrailExplain,
|
|
@@ -466,6 +480,11 @@ export {
|
|
|
466
480
|
handleCiSimulateCommand,
|
|
467
481
|
handleCheckpointCommand,
|
|
468
482
|
handleBrainstormCommand,
|
|
483
|
+
handleBlueprintValidateCommand,
|
|
484
|
+
handleBlueprintHistoryCommand,
|
|
485
|
+
handleBlueprintExportCommand,
|
|
486
|
+
handleBlueprintDiffCommand,
|
|
487
|
+
handleBlueprintCurrentCommand,
|
|
469
488
|
handleBenchmarkCommand,
|
|
470
489
|
handleAutoProceedCommand,
|
|
471
490
|
handleArchiveCommand,
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
readEvaluationRun,
|
|
10
10
|
saveEvaluationRun,
|
|
11
11
|
saveTaskSetSnapshot
|
|
12
|
-
} from "./index-
|
|
12
|
+
} from "./index-gthnsbzf.js";
|
|
13
13
|
import {
|
|
14
14
|
canonicalHash,
|
|
15
15
|
computeCandidateInputContentHash,
|
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
computeTaskInputContentHash,
|
|
18
18
|
computeTaskSetContentHash,
|
|
19
19
|
resolveContainedExistingPath
|
|
20
|
-
} from "./index-
|
|
20
|
+
} from "./index-txdagbh7.js";
|
|
21
21
|
import {
|
|
22
22
|
bunSpawn
|
|
23
23
|
} from "./index-r3mvsbtq.js";
|
|
@@ -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.156.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",
|
|
@@ -314,7 +314,7 @@ function resolveExternalSkillsConfig(input) {
|
|
|
314
314
|
};
|
|
315
315
|
return merged;
|
|
316
316
|
}
|
|
317
|
-
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_CONFIG_KNOWN_SECTION_KEYS, GateConfigSchema, PipelineConfigSchema, PhaseCompleteConfigSchema, SummaryConfigSchema, 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, MemoryConfigSchema, CuratorConfigSchema, ArchitecturalSupervisionConfigSchema, KnowledgeApplicationConfigSchema, SkillPropagationAudienceSchema, SkillPropagationConfigSchema, SkillImproverConfigSchema, SkillsConfigSchema, SkillOptConfigSchema, DEFAULT_SKILL_OPT_CONFIG, SpecWriterConfigSchema, SlopDetectorConfigSchema, IncrementalVerifyConfigSchema, CompactionConfigSchema, PrmConfigSchema, AgentAuthorityRuleSchema, AuthorityConfigSchema, GeneralCouncilMemberConfigSchema, GeneralCouncilConfigSchema, CouncilConfigSchema, PrMonitorConfigSchema, 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, PluginConfigSchema;
|
|
317
|
+
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_CONFIG_KNOWN_SECTION_KEYS, GateConfigSchema, PipelineConfigSchema, PhaseCompleteConfigSchema, SummaryConfigSchema, 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, MemoryConfigSchema, CuratorConfigSchema, ArchitecturalSupervisionConfigSchema, KnowledgeApplicationConfigSchema, SkillPropagationAudienceSchema, SkillPropagationConfigSchema, HarnessRelativePathSchema, HarnessEvolutionConfigSchema, DEFAULT_HARNESS_EVOLUTION_CONFIG, SkillImproverConfigSchema, SkillsConfigSchema, SkillOptConfigSchema, DEFAULT_SKILL_OPT_CONFIG, SpecWriterConfigSchema, SlopDetectorConfigSchema, IncrementalVerifyConfigSchema, CompactionConfigSchema, PrmConfigSchema, AgentAuthorityRuleSchema, AuthorityConfigSchema, GeneralCouncilMemberConfigSchema, GeneralCouncilConfigSchema, CouncilConfigSchema, PrMonitorConfigSchema, 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, PluginConfigSchema;
|
|
318
318
|
var init_schema = __esm(() => {
|
|
319
319
|
init_zod();
|
|
320
320
|
init_package();
|
|
@@ -1267,6 +1267,23 @@ var init_schema = __esm(() => {
|
|
|
1267
1267
|
enforce: exports_external.boolean().default(false),
|
|
1268
1268
|
audiences: exports_external.array(SkillPropagationAudienceSchema).max(16).transform((values) => [...new Set(values)]).default([])
|
|
1269
1269
|
});
|
|
1270
|
+
HarnessRelativePathSchema = exports_external.string().min(1).max(1024).refine((value) => !value.includes("\x00"), "path contains a NUL byte").refine((value) => !/^(?:[A-Za-z]:[\\/]|[\\/]{1,2})/.test(value), {
|
|
1271
|
+
message: "path must be project-relative"
|
|
1272
|
+
}).refine((value) => !value.replace(/\\/g, "/").split("/").some((segment) => segment === ".."), "path must not traverse outside the project");
|
|
1273
|
+
HarnessEvolutionConfigSchema = exports_external.object({
|
|
1274
|
+
source_allowlist: exports_external.array(HarnessRelativePathSchema).max(128).default([]),
|
|
1275
|
+
extra_protected_paths: exports_external.array(HarnessRelativePathSchema).max(128).default([]),
|
|
1276
|
+
max_patch_bytes: exports_external.number().int().min(1).max(16777216).default(1048576),
|
|
1277
|
+
max_files: exports_external.number().int().min(1).max(1024).default(64),
|
|
1278
|
+
max_file_bytes: exports_external.number().int().min(1).max(8388608).default(524288),
|
|
1279
|
+
max_total_bytes: exports_external.number().int().min(1).max(67108864).default(4194304),
|
|
1280
|
+
max_changed_lines: exports_external.number().int().min(1).max(1e5).default(1e4),
|
|
1281
|
+
max_versions: exports_external.number().int().min(1).max(1e4).default(100),
|
|
1282
|
+
max_inactive_candidates: exports_external.number().int().min(0).max(128).default(32),
|
|
1283
|
+
max_replay_records: exports_external.number().int().min(1).max(1e5).default(1e4),
|
|
1284
|
+
max_output_bytes: exports_external.number().int().min(1024).max(1048576).default(262144)
|
|
1285
|
+
}).strict();
|
|
1286
|
+
DEFAULT_HARNESS_EVOLUTION_CONFIG = Object.freeze(HarnessEvolutionConfigSchema.parse({}));
|
|
1270
1287
|
SkillImproverConfigSchema = exports_external.object({
|
|
1271
1288
|
enabled: exports_external.boolean().default(false),
|
|
1272
1289
|
model: exports_external.string().nullable().default(null),
|
|
@@ -1697,6 +1714,7 @@ var init_schema = __esm(() => {
|
|
|
1697
1714
|
knowledge_application: KnowledgeApplicationConfigSchema.optional(),
|
|
1698
1715
|
skillPropagation: SkillPropagationConfigSchema.optional(),
|
|
1699
1716
|
skill_improver: SkillImproverConfigSchema.optional(),
|
|
1717
|
+
harness_evolution: HarnessEvolutionConfigSchema.optional(),
|
|
1700
1718
|
spec_writer: SpecWriterConfigSchema.optional(),
|
|
1701
1719
|
tool_output: exports_external.object({
|
|
1702
1720
|
truncation_enabled: exports_external.boolean().default(true),
|
|
@@ -1886,4 +1904,4 @@ var init_schema = __esm(() => {
|
|
|
1886
1904
|
});
|
|
1887
1905
|
});
|
|
1888
1906
|
|
|
1889
|
-
export { init_package, package_default, DEFAULT_MODEL_CONTEXT_TOKENS, 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_CONFIG_KNOWN_SECTION_KEYS, GateConfigSchema, PipelineConfigSchema, PhaseCompleteConfigSchema, SummaryConfigSchema, 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, MemoryConfigSchema, CuratorConfigSchema, ArchitecturalSupervisionConfigSchema, KnowledgeApplicationConfigSchema, SkillPropagationConfigSchema, SkillImproverConfigSchema, SkillsConfigSchema, SkillOptConfigSchema, DEFAULT_SKILL_OPT_CONFIG, 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, DEFAULT_PR_REVIEW_RESILIENCE_CONFIG, PrReviewResilienceConfigSchema, PluginConfigSchema, init_schema };
|
|
1907
|
+
export { init_package, package_default, DEFAULT_MODEL_CONTEXT_TOKENS, 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_CONFIG_KNOWN_SECTION_KEYS, GateConfigSchema, PipelineConfigSchema, PhaseCompleteConfigSchema, SummaryConfigSchema, 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, MemoryConfigSchema, CuratorConfigSchema, ArchitecturalSupervisionConfigSchema, KnowledgeApplicationConfigSchema, SkillPropagationConfigSchema, HarnessEvolutionConfigSchema, DEFAULT_HARNESS_EVOLUTION_CONFIG, SkillImproverConfigSchema, SkillsConfigSchema, SkillOptConfigSchema, DEFAULT_SKILL_OPT_CONFIG, 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, DEFAULT_PR_REVIEW_RESILIENCE_CONFIG, PrReviewResilienceConfigSchema, PluginConfigSchema, init_schema };
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
PluginConfigSchema,
|
|
7
7
|
init_schema,
|
|
8
8
|
stripKnownSwarmPrefix
|
|
9
|
-
} from "./index-
|
|
9
|
+
} from "./index-5w87j6j4.js";
|
|
10
10
|
import {
|
|
11
11
|
ALL_AGENT_NAMES,
|
|
12
12
|
init_constants
|
|
@@ -884,6 +884,10 @@ function validateConfigKey(path2, value) {
|
|
|
884
884
|
emitObjectTypeMismatch("pipeline", value, findings);
|
|
885
885
|
break;
|
|
886
886
|
}
|
|
887
|
+
case "harness_evolution": {
|
|
888
|
+
emitObjectTypeMismatch("harness_evolution", value, findings);
|
|
889
|
+
break;
|
|
890
|
+
}
|
|
887
891
|
case "phase_complete": {
|
|
888
892
|
emitObjectTypeMismatch("phase_complete", value, findings);
|
|
889
893
|
break;
|
|
@@ -6,12 +6,12 @@ import {
|
|
|
6
6
|
resolveSwarmKnowledgePath,
|
|
7
7
|
transactKnowledge,
|
|
8
8
|
wordBigrams
|
|
9
|
-
} from "./index-
|
|
9
|
+
} from "./index-dfmr6pj5.js";
|
|
10
10
|
import {
|
|
11
11
|
queryHistoricalOutcomes,
|
|
12
12
|
readKnowledgeEvents,
|
|
13
13
|
recordKnowledgeEvent
|
|
14
|
-
} from "./index-
|
|
14
|
+
} from "./index-98j6z038.js";
|
|
15
15
|
import {
|
|
16
16
|
init_knowledge_types,
|
|
17
17
|
isActiveStatus
|
|
@@ -224,11 +224,11 @@ async function maybeQuarantineOnContradiction(directory, entryId, threshold, win
|
|
|
224
224
|
alreadyInactive: true
|
|
225
225
|
};
|
|
226
226
|
}
|
|
227
|
-
const { quarantineEntry } = await import("./knowledge-validator-
|
|
227
|
+
const { quarantineEntry } = await import("./knowledge-validator-yprsj4ye.js");
|
|
228
228
|
let policyConfig;
|
|
229
229
|
try {
|
|
230
|
-
const { KnowledgeConfigSchema } = await import("./schema-
|
|
231
|
-
const { loadPluginConfigWithMeta } = await import("./index-
|
|
230
|
+
const { KnowledgeConfigSchema } = await import("./schema-bf3smw7k.js");
|
|
231
|
+
const { loadPluginConfigWithMeta } = await import("./index-00hyhg47.js");
|
|
232
232
|
const { config: loadedConfig } = loadPluginConfigWithMeta(directory);
|
|
233
233
|
policyConfig = KnowledgeConfigSchema.parse(loadedConfig.knowledge ?? {});
|
|
234
234
|
} catch {
|
|
@@ -4,11 +4,11 @@ import {
|
|
|
4
4
|
} from "./index-dtn0pne5.js";
|
|
5
5
|
import {
|
|
6
6
|
loadPluginConfigWithMeta
|
|
7
|
-
} from "./index-
|
|
7
|
+
} from "./index-b91qwpms.js";
|
|
8
8
|
import {
|
|
9
9
|
KnowledgeConfigSchema,
|
|
10
10
|
init_schema
|
|
11
|
-
} from "./index-
|
|
11
|
+
} from "./index-5w87j6j4.js";
|
|
12
12
|
import {
|
|
13
13
|
resolveHiveEventsPath
|
|
14
14
|
} from "./index-ae75rja9.js";
|
|
@@ -2793,7 +2793,7 @@ async function applyKnowledgeVerdictFeedback(directory, options) {
|
|
|
2793
2793
|
}
|
|
2794
2794
|
let bumps = 0;
|
|
2795
2795
|
if (deltas.length > 0) {
|
|
2796
|
-
const { bumpKnowledgeConfidenceBatch } = await import("./knowledge-store-
|
|
2796
|
+
const { bumpKnowledgeConfidenceBatch } = await import("./knowledge-store-2dww3dqz.js");
|
|
2797
2797
|
bumps = await bumpKnowledgeConfidenceBatch(directory, deltas, options?.floorOptions);
|
|
2798
2798
|
}
|
|
2799
2799
|
return {
|
|
@@ -713,7 +713,7 @@ async function applyConfidenceFloorAction(directory, touched, options) {
|
|
|
713
713
|
const {
|
|
714
714
|
readAuthoritativeKnowledgeCounterRollups,
|
|
715
715
|
effectiveRetrievalOutcomes
|
|
716
|
-
} = await import("./knowledge-events-
|
|
716
|
+
} = await import("./knowledge-events-sr5fqqaq.js");
|
|
717
717
|
const rollups = await readAuthoritativeKnowledgeCounterRollups(directory);
|
|
718
718
|
const flagIds = new Set;
|
|
719
719
|
for (const e of atFloor) {
|
|
@@ -780,11 +780,11 @@ async function applyConfidenceFloorAction(directory, touched, options) {
|
|
|
780
780
|
});
|
|
781
781
|
}
|
|
782
782
|
if (action === "quarantine" && toQuarantine.length > 0) {
|
|
783
|
-
const { quarantineEntry } = await import("./knowledge-validator-
|
|
784
|
-
const { KnowledgeConfigSchema } = await import("./schema-
|
|
783
|
+
const { quarantineEntry } = await import("./knowledge-validator-yprsj4ye.js");
|
|
784
|
+
const { KnowledgeConfigSchema } = await import("./schema-bf3smw7k.js");
|
|
785
785
|
let config;
|
|
786
786
|
try {
|
|
787
|
-
const { loadPluginConfigWithMeta } = await import("./index-
|
|
787
|
+
const { loadPluginConfigWithMeta } = await import("./index-00hyhg47.js");
|
|
788
788
|
const { config: loadedConfig } = loadPluginConfigWithMeta(directory);
|
|
789
789
|
config = KnowledgeConfigSchema.parse(loadedConfig.knowledge ?? {});
|
|
790
790
|
} catch {
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import {
|
|
3
3
|
computePlanStructureHash,
|
|
4
4
|
derivePlanId
|
|
5
|
-
} from "./index-
|
|
5
|
+
} from "./index-mdypz60w.js";
|
|
6
6
|
import {
|
|
7
7
|
appendCoreEventSync
|
|
8
8
|
} from "./index-xdy28ngt.js";
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
} from "./index-556ja8an.js";
|
|
12
12
|
import {
|
|
13
13
|
PlanSchema
|
|
14
|
-
} from "./index-
|
|
14
|
+
} from "./index-b91qwpms.js";
|
|
15
15
|
import {
|
|
16
16
|
atomicWriteSwarmFile,
|
|
17
17
|
atomicWriteSwarmFileSync
|
|
@@ -3096,7 +3096,7 @@ async function reconcileLegacyCoderSettlements(directory, maxRecords, onReconcil
|
|
|
3096
3096
|
const candidates = readDelegations(directory).filter((record) => record.normalizedAgent === "coder" && Boolean(record.legacyCoderSettlementTransfer) && Boolean(record.terminalResult)).slice(0, maxRecords);
|
|
3097
3097
|
if (candidates.length === 0)
|
|
3098
3098
|
return 0;
|
|
3099
|
-
const { transferCoderSettlementToBackground } = await import("./coder-settlement-
|
|
3099
|
+
const { transferCoderSettlementToBackground } = await import("./coder-settlement-jm7024zm.js");
|
|
3100
3100
|
let transferred = 0;
|
|
3101
3101
|
for (const record of candidates) {
|
|
3102
3102
|
try {
|
|
@@ -14,14 +14,14 @@ import {
|
|
|
14
14
|
detectWindowsWrites,
|
|
15
15
|
getSharedClassifierGuardrailBlock,
|
|
16
16
|
resolveWriteTargets
|
|
17
|
-
} from "./index-
|
|
17
|
+
} from "./index-ppx8bnzd.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-wn0xm2e8.js";
|
|
25
25
|
|
|
26
26
|
// src/services/guardrail-explain-service.ts
|
|
27
27
|
import path from "path";
|