opencode-swarm 7.160.0 → 7.160.1
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/.opencode/skills/swarm-pr-review/SKILL.md +28 -29
- package/.opencode/skills/swarm-pr-review/references/prompt-templates.md +21 -5
- package/dist/background/pending-delegations.d.ts +46 -1
- package/dist/background/pr-review-contract.d.ts +245 -2
- package/dist/cli/{coder-settlement-zn552sp9.js → coder-settlement-678ccmnf.js} +9 -9
- package/dist/cli/{config-doctor-ddtdz2g0.js → config-doctor-fr8dfrt2.js} +3 -3
- package/dist/cli/{core-embasn2j.js → core-4j1hbhey.js} +2 -2
- package/dist/cli/{curation-policy-agr6ga1s.js → curation-policy-47przjwg.js} +4 -4
- package/dist/cli/{curator-dgp6dxxn.js → curator-85d97240.js} +31 -31
- package/dist/cli/{curator-llm-factory-7cwvmc46.js → curator-llm-factory-s9s4s0q3.js} +31 -31
- package/dist/cli/{evidence-summary-service-sbnyann4.js → evidence-summary-service-9dyt2kzh.js} +13 -13
- package/dist/cli/{gate-evidence-5v67a1dz.js → gate-evidence-a6paafg8.js} +5 -5
- package/dist/cli/{guardrail-explain-2gwarnca.js → guardrail-explain-4a2xdtew.js} +32 -32
- package/dist/cli/{guardrail-log-zbnbff1y.js → guardrail-log-27nkntrx.js} +7 -7
- package/dist/cli/{guardrail-reset-3cnz54hx.js → guardrail-reset-xn7k3hn8.js} +31 -31
- package/dist/cli/{hive-promoter-7cr7t2kg.js → hive-promoter-k57j3kp6.js} +31 -31
- package/dist/cli/{index-q6gjwy7m.js → index-497a3hhj.js} +2 -2
- package/dist/cli/{index-sy5aeegg.js → index-61c3d769.js} +866 -37
- package/dist/cli/{index-rq7k03rk.js → index-7ezv5j23.js} +1 -1
- package/dist/cli/{index-4mm22fzj.js → index-7h2armwf.js} +1 -1
- package/dist/cli/{index-1f4n43yz.js → index-7npz9n4s.js} +5 -4
- package/dist/cli/{index-gt8cxfbp.js → index-7v0ex0jt.js} +2 -2
- package/dist/cli/{index-ebz97mks.js → index-8c9qzpy7.js} +1 -0
- package/dist/cli/{index-5m7qjj29.js → index-98jmggma.js} +6 -6
- package/dist/cli/{index-cn233hsy.js → index-awjx0wgk.js} +1 -1
- package/dist/cli/{index-962jgzdq.js → index-bqxffayb.js} +1 -1
- package/dist/cli/{index-h3re5c78.js → index-c9zp4xwc.js} +12 -1
- package/dist/cli/{index-p39xem8b.js → index-dh5q6z7y.js} +3 -3
- package/dist/cli/{index-7qv869f0.js → index-dq93ar40.js} +5 -5
- package/dist/cli/{index-3055dgzp.js → index-drqvph47.js} +4 -4
- package/dist/cli/{index-jmths6jj.js → index-e1ygmd4q.js} +33 -33
- package/dist/cli/{index-py6bqwnb.js → index-f72612zc.js} +16 -2
- package/dist/cli/{index-9q6w7kke.js → index-gjx53y3c.js} +1 -1
- package/dist/cli/{index-xs15netk.js → index-j3ss86kf.js} +1 -1
- package/dist/cli/{index-kkfgygvn.js → index-jszabr0r.js} +4 -4
- package/dist/cli/{index-9k3zc2t8.js → index-m1cw9fsh.js} +6 -6
- package/dist/cli/{index-wzx6atbv.js → index-m84z3aa8.js} +3 -3
- package/dist/cli/{index-e75bzfgd.js → index-mmr96pwr.js} +1 -1
- package/dist/cli/{index-85qjc7b2.js → index-nk498mx6.js} +1 -1
- package/dist/cli/{index-3yh737hc.js → index-nnzdayvk.js} +6 -6
- package/dist/cli/{index-va1edd2n.js → index-ny0g8fdg.js} +5 -5
- package/dist/cli/{index-yrar1ask.js → index-pkz91fwm.js} +3 -3
- package/dist/cli/{index-zjvf7edj.js → index-pqjcyj0p.js} +1 -1
- package/dist/cli/{index-9fspg1xw.js → index-prv20xq6.js} +1 -1
- package/dist/cli/{index-fzkx24q5.js → index-qc53dfzh.js} +2 -2
- package/dist/cli/{index-8bjv01t8.js → index-v8dsmee1.js} +4 -4
- package/dist/cli/{index-d9s5hb0m.js → index-wccdm7jv.js} +5 -5
- package/dist/cli/{index-w699ekk9.js → index-z0bxbb9g.js} +2 -2
- package/dist/cli/{index-rnyt2z5r.js → index-zdv914xa.js} +304 -438
- package/dist/cli/{index-s7w428r3.js → index-znf683sm.js} +1 -1
- package/dist/cli/{index-rhc8jve7.js → index-zpzvpybn.js} +2 -2
- package/dist/cli/index.js +31 -31
- package/dist/cli/{knowledge-escalator-zksm9833.js → knowledge-escalator-3q2x34cg.js} +12 -12
- package/dist/cli/{knowledge-events-ayta750w.js → knowledge-events-5y34w84b.js} +10 -10
- package/dist/cli/{knowledge-link-7c7fjnzc.js → knowledge-link-xezm8hr3.js} +3 -3
- package/dist/cli/{knowledge-store-q5axge8b.js → knowledge-store-fqv89q5k.js} +4 -4
- package/dist/cli/{knowledge-validator-3rrbva2p.js → knowledge-validator-fsdx14tk.js} +6 -6
- package/dist/cli/{model-preflight-x9szw1v4.js → model-preflight-yqqchzjn.js} +1 -1
- package/dist/cli/{pending-delegations-kc7tzxg9.js → pending-delegations-6ae7wy5q.js} +5 -3
- package/dist/cli/{pr-review-reentry-authorization-vag5gh50.js → pr-review-reentry-authorization-986tk381.js} +33 -32
- package/dist/cli/{pr-subscriptions-wbdw9a82.js → pr-subscriptions-asjevc5p.js} +3 -3
- package/dist/cli/{runner-p9wg6z34.js → runner-wsdcy2d6.js} +4 -4
- package/dist/cli/{scan-cursor-4fjwtt1k.js → scan-cursor-shn926r6.js} +5 -5
- package/dist/cli/{schema-d0nbzj5k.js → schema-98tdb9h0.js} +4 -2
- package/dist/cli/{scope-persistence-bckcbc8h.js → scope-persistence-cn34xnwr.js} +8 -8
- package/dist/cli/{skill-generator-kebhevet.js → skill-generator-kck7087c.js} +14 -14
- package/dist/cli/{worktree-collision-ownership-h8qswnrp.js → worktree-collision-ownership-6b3kshcv.js} +4 -4
- package/dist/cli/{worktree-isolation-q0kbmadz.js → worktree-isolation-he01qhss.js} +31 -31
- package/dist/config/constants.d.ts +8 -0
- package/dist/config/evidence-schema.d.ts +3 -0
- package/dist/config/schema.d.ts +8 -0
- package/dist/hooks/pr-workflow-gate.d.ts +25 -1
- package/dist/index.js +124 -111
- package/dist/tools/dispatch-lanes.d.ts +27 -3
- package/dist/tools/index.d.ts +1 -0
- package/dist/tools/manifest.d.ts +1 -0
- package/dist/tools/sast-baseline.d.ts +2 -0
- package/dist/tools/sast-scan.d.ts +2 -2
- package/dist/tools/submit-pr-review-result.d.ts +5 -0
- package/dist/tools/tool-metadata.d.ts +8 -0
- package/opencode-swarm.schema.json +4 -0
- package/package.json +1 -1
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
ALL_AGENT_NAMES,
|
|
4
4
|
SUMMARIZER_EXEMPT_TOOL_NAMES,
|
|
5
5
|
init_constants
|
|
6
|
-
} from "./index-
|
|
6
|
+
} from "./index-c9zp4xwc.js";
|
|
7
7
|
import {
|
|
8
8
|
OUTCOME_BLOCK_THRESHOLD,
|
|
9
9
|
init_knowledge_types
|
|
@@ -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.160.
|
|
24
|
+
version: "7.160.1",
|
|
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",
|
|
@@ -316,7 +316,7 @@ function resolveExternalSkillsConfig(input) {
|
|
|
316
316
|
};
|
|
317
317
|
return merged;
|
|
318
318
|
}
|
|
319
|
-
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;
|
|
319
|
+
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, DEFAULT_PR_REVIEW_LEGACY_TRANSCRIPT_COMPATIBILITY = false, PluginConfigSchema;
|
|
320
320
|
var init_schema = __esm(() => {
|
|
321
321
|
init_zod();
|
|
322
322
|
init_package();
|
|
@@ -1686,6 +1686,7 @@ var init_schema = __esm(() => {
|
|
|
1686
1686
|
inject_phase_reminders: exports_external.boolean().default(true).describe("Inject phase reminder directives during execution."),
|
|
1687
1687
|
hooks: HooksConfigSchema.optional().describe("Hook subsystem toggles and settings."),
|
|
1688
1688
|
pr_review_resilience: PrReviewResilienceConfigSchema.optional().describe("PR review base-wave staged canary/fanout resilience settings."),
|
|
1689
|
+
pr_review_legacy_transcript_compatibility: exports_external.boolean().optional().describe("Deprecated migration-only opt-in for transcript-row PR-review base and micro discovery lanes."),
|
|
1689
1690
|
gates: GateConfigSchema.optional().describe("Quality gate configuration (v6.9 anti-slop features)."),
|
|
1690
1691
|
context_budget: ContextBudgetConfigSchema.optional().describe("Context budget thresholds."),
|
|
1691
1692
|
pricing: PricingConfigSchema.optional().describe("Token/cost estimation fallback table. Provider-reported cost wins when present; entries only estimate from usage tokens when reports omit cost."),
|
|
@@ -1913,4 +1914,4 @@ var init_schema = __esm(() => {
|
|
|
1913
1914
|
});
|
|
1914
1915
|
});
|
|
1915
1916
|
|
|
1916
|
-
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 };
|
|
1917
|
+
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, DEFAULT_PR_REVIEW_LEGACY_TRANSCRIPT_COMPATIBILITY, PluginConfigSchema, init_schema };
|
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
import {
|
|
3
3
|
readKnowledge,
|
|
4
4
|
transactKnowledge
|
|
5
|
-
} from "./index-
|
|
5
|
+
} from "./index-nnzdayvk.js";
|
|
6
6
|
import {
|
|
7
7
|
init_git_executable,
|
|
8
8
|
resolveGitExecutableAsync
|
|
9
9
|
} from "./index-9e6fdz2h.js";
|
|
10
10
|
import {
|
|
11
11
|
resolveKnowledgeStoreDir
|
|
12
|
-
} from "./index-
|
|
12
|
+
} from "./index-prv20xq6.js";
|
|
13
13
|
import {
|
|
14
14
|
init_knowledge_types,
|
|
15
15
|
isActiveStatus
|
|
@@ -174,6 +174,7 @@ var SastEvidenceSchema = BaseEvidenceSchema.extend({
|
|
|
174
174
|
pre_existing_findings: exports_external.array(SastFindingSchema).optional(),
|
|
175
175
|
moved_findings: exports_external.array(SastFindingSchema).optional(),
|
|
176
176
|
baseline_used: exports_external.boolean().optional(),
|
|
177
|
+
truncated_pre_existing: exports_external.boolean().optional(),
|
|
177
178
|
truncated_moved_findings: exports_external.boolean().optional()
|
|
178
179
|
});
|
|
179
180
|
var SbomEvidenceSchema = BaseEvidenceSchema.extend({
|
|
@@ -4,23 +4,23 @@ import {
|
|
|
4
4
|
} from "./index-dtn0pne5.js";
|
|
5
5
|
import {
|
|
6
6
|
loadPluginConfigWithMeta
|
|
7
|
-
} from "./index-
|
|
7
|
+
} from "./index-bqxffayb.js";
|
|
8
8
|
import {
|
|
9
9
|
KnowledgeConfigSchema,
|
|
10
10
|
init_schema
|
|
11
|
-
} from "./index-
|
|
11
|
+
} from "./index-7npz9n4s.js";
|
|
12
12
|
import {
|
|
13
13
|
observeReceiptTransition
|
|
14
|
-
} from "./index-
|
|
14
|
+
} from "./index-mmr96pwr.js";
|
|
15
15
|
import {
|
|
16
16
|
resolveHiveEventsPath
|
|
17
17
|
} from "./index-ae75rja9.js";
|
|
18
18
|
import {
|
|
19
19
|
resolveKnowledgeStoreDir
|
|
20
|
-
} from "./index-
|
|
20
|
+
} from "./index-prv20xq6.js";
|
|
21
21
|
import {
|
|
22
22
|
atomicWriteFile
|
|
23
|
-
} from "./index-
|
|
23
|
+
} from "./index-7ezv5j23.js";
|
|
24
24
|
import {
|
|
25
25
|
assertProjectRoot
|
|
26
26
|
} from "./index-b5adxpy6.js";
|
|
@@ -2810,7 +2810,7 @@ async function applyKnowledgeVerdictFeedback(directory, options) {
|
|
|
2810
2810
|
}
|
|
2811
2811
|
let bumps = 0;
|
|
2812
2812
|
if (deltas.length > 0) {
|
|
2813
|
-
const { bumpKnowledgeConfidenceBatch } = await import("./knowledge-store-
|
|
2813
|
+
const { bumpKnowledgeConfidenceBatch } = await import("./knowledge-store-fqv89q5k.js");
|
|
2814
2814
|
bumps = await bumpKnowledgeConfidenceBatch(directory, deltas, options?.floorOptions);
|
|
2815
2815
|
}
|
|
2816
2816
|
return {
|
|
@@ -242,6 +242,11 @@ var init_tool_metadata = __esm(() => {
|
|
|
242
242
|
description: "issue a one-use, identity-bound reviewer/test_engineer re-entry authorization for the active PR_REVIEW workflow (issue #2383)",
|
|
243
243
|
agents: ["architect"]
|
|
244
244
|
},
|
|
245
|
+
submit_pr_review_result: {
|
|
246
|
+
description: "submit one child-bound typed result for an active PR-review base or micro discovery lane",
|
|
247
|
+
agents: [],
|
|
248
|
+
prWorkflow: { modes: ["PR_REVIEW"], capability: "validate" }
|
|
249
|
+
},
|
|
245
250
|
approve_plan_critic: {
|
|
246
251
|
description: "record a MANUAL plan_critic_gate approval snapshot to unblock the ratchet-tighter critic_pre_plan execution gate when the critic already returned APPROVED but the mechanical recorder failed to persist it (issue #2012)",
|
|
247
252
|
agents: ["architect"]
|
|
@@ -950,7 +955,7 @@ function isQAAgent(name) {
|
|
|
950
955
|
function isSubagent(name) {
|
|
951
956
|
return ALL_SUBAGENT_NAMES.includes(name);
|
|
952
957
|
}
|
|
953
|
-
var OPENCODE_NATIVE_AGENTS, CLAUDE_CODE_NATIVE_COMMANDS, EXTERNAL_SKILL_TOOL_NAMES, EXTERNAL_SKILL_AGENT_TOOL_MAP, COUNCIL_TOOL_NAMES, COUNCIL_AGENT_TOOL_MAP, GENERAL_COUNCIL_TOOL_NAMES, GENERAL_COUNCIL_AGENT_TOOL_MAP, TURBO_TOOL_NAMES, TURBO_AGENT_TOOL_MAP, SKILL_TOOL_NAMES, SKILL_AGENT_TOOL_MAP, WRITE_TOOL_NAMES, SUMMARIZER_EXEMPT_TOOL_NAMES, DEFAULT_MODELS, DEFAULT_AGENT_CONFIGS, SWARM_WORKTREE_DIR_NAME = ".swarm-worktrees", DEFAULT_WORKTREE_ISOLATION_CONFIG;
|
|
958
|
+
var OPENCODE_NATIVE_AGENTS, CLAUDE_CODE_NATIVE_COMMANDS, EXTERNAL_SKILL_TOOL_NAMES, EXTERNAL_SKILL_AGENT_TOOL_MAP, COUNCIL_TOOL_NAMES, COUNCIL_AGENT_TOOL_MAP, GENERAL_COUNCIL_TOOL_NAMES, GENERAL_COUNCIL_AGENT_TOOL_MAP, TURBO_TOOL_NAMES, TURBO_AGENT_TOOL_MAP, SKILL_TOOL_NAMES, SKILL_AGENT_TOOL_MAP, PR_REVIEW_CHILD_TOOL_NAMES, PR_REVIEW_CHILD_AGENT_TOOL_MAP, WRITE_TOOL_NAMES, SUMMARIZER_EXEMPT_TOOL_NAMES, DEFAULT_MODELS, DEFAULT_AGENT_CONFIGS, SWARM_WORKTREE_DIR_NAME = ".swarm-worktrees", DEFAULT_WORKTREE_ISOLATION_CONFIG;
|
|
954
959
|
var init_constants = __esm(() => {
|
|
955
960
|
init_agent_names();
|
|
956
961
|
init_tool_metadata();
|
|
@@ -1124,6 +1129,12 @@ var init_constants = __esm(() => {
|
|
|
1124
1129
|
SKILL_AGENT_TOOL_MAP = {
|
|
1125
1130
|
architect: [...SKILL_TOOL_NAMES]
|
|
1126
1131
|
};
|
|
1132
|
+
PR_REVIEW_CHILD_TOOL_NAMES = [
|
|
1133
|
+
"submit_pr_review_result"
|
|
1134
|
+
];
|
|
1135
|
+
PR_REVIEW_CHILD_AGENT_TOOL_MAP = {
|
|
1136
|
+
explorer: [...PR_REVIEW_CHILD_TOOL_NAMES]
|
|
1137
|
+
};
|
|
1127
1138
|
WRITE_TOOL_NAMES = [
|
|
1128
1139
|
"write",
|
|
1129
1140
|
"edit",
|
|
@@ -42,7 +42,7 @@ var SWARM_TEMP_GRAMMARS = [
|
|
|
42
42
|
token: "instance",
|
|
43
43
|
quarantineEligible: true,
|
|
44
44
|
parsesTarget: true,
|
|
45
|
-
producers: ["src/hooks/pr-workflow-gate.ts:
|
|
45
|
+
producers: ["src/hooks/pr-workflow-gate.ts:18397"],
|
|
46
46
|
note: "pre/post-rename file-identity verification (assertOpened/ClosedSwarmFileIdentity, pr-workflow-gate.ts:17880-17980) is writer-specific and load-bearing"
|
|
47
47
|
},
|
|
48
48
|
{
|
|
@@ -74,7 +74,7 @@ var SWARM_TEMP_GRAMMARS = [
|
|
|
74
74
|
"src/summaries/manager.ts:122",
|
|
75
75
|
"src/evidence/manager.ts:288",
|
|
76
76
|
"src/evidence/manager.ts:456",
|
|
77
|
-
"src/tools/sast-baseline.ts:
|
|
77
|
+
"src/tools/sast-baseline.ts:199",
|
|
78
78
|
"src/tools/repo-graph/storage.ts:493",
|
|
79
79
|
"src/memory/reflection-service.ts:547 (pre-#2035)",
|
|
80
80
|
"src/hooks/review-receipt.ts:608",
|
|
@@ -123,7 +123,7 @@ var SWARM_TEMP_GRAMMARS = [
|
|
|
123
123
|
"src/tools/spec-write.ts:98",
|
|
124
124
|
"src/sdd/effective-spec.ts:1149",
|
|
125
125
|
"src/background/lane-output-store.ts:353",
|
|
126
|
-
"src/background/pending-delegations.ts:
|
|
126
|
+
"src/background/pending-delegations.ts:1091",
|
|
127
127
|
"src/background/delegation-health.ts:391",
|
|
128
128
|
"src/tools/submit-phase-council-verdicts.ts:458",
|
|
129
129
|
"src/summaries/store.ts:46 (pre-#2035)"
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
} from "./index-3f7hqtgg.js";
|
|
6
6
|
import {
|
|
7
7
|
removeWorktreeProvisioningOwner
|
|
8
|
-
} from "./index-
|
|
8
|
+
} from "./index-awjx0wgk.js";
|
|
9
9
|
import {
|
|
10
10
|
SOURCE_WORKTREE_GONE_STAGE,
|
|
11
11
|
getTaskWorkflowSnapshot,
|
|
@@ -13,13 +13,13 @@ import {
|
|
|
13
13
|
reconcileLandedMerge,
|
|
14
14
|
withTaskEvidenceTransaction,
|
|
15
15
|
writeWorkflowWalFile
|
|
16
|
-
} from "./index-
|
|
16
|
+
} from "./index-z0bxbb9g.js";
|
|
17
17
|
import {
|
|
18
18
|
canonicalRootKeyFresh
|
|
19
19
|
} from "./index-ddszzne4.js";
|
|
20
20
|
import {
|
|
21
21
|
appendCoreEventSync
|
|
22
|
-
} from "./index-
|
|
22
|
+
} from "./index-7h2armwf.js";
|
|
23
23
|
import {
|
|
24
24
|
isPathWithinDeclaredScope
|
|
25
25
|
} from "./index-556ja8an.js";
|
|
@@ -478,7 +478,7 @@ async function cleanupRecoveredWorktree(directory, descriptor) {
|
|
|
478
478
|
awaitingMergeByCallID,
|
|
479
479
|
cleanupStandardWorktreeForCallId,
|
|
480
480
|
standardWorktreeByCallID
|
|
481
|
-
} = await import("./worktree-isolation-
|
|
481
|
+
} = await import("./worktree-isolation-he01qhss.js");
|
|
482
482
|
standardWorktreeByCallID.delete(descriptor.callID);
|
|
483
483
|
if (hasResidue)
|
|
484
484
|
awaitingMergeByCallID.set(descriptor.callID, {
|
|
@@ -602,7 +602,7 @@ async function recoverCoderSettlement(directory, taskId) {
|
|
|
602
602
|
awaitingMergeByCallID,
|
|
603
603
|
finishStandardWorktreeDispatch,
|
|
604
604
|
standardWorktreeByCallID
|
|
605
|
-
} = await import("./worktree-isolation-
|
|
605
|
+
} = await import("./worktree-isolation-he01qhss.js");
|
|
606
606
|
const descriptor = wal.worktree;
|
|
607
607
|
const reconstructedDispatch = {
|
|
608
608
|
callID: descriptor.callID,
|
|
@@ -2,23 +2,23 @@
|
|
|
2
2
|
import {
|
|
3
3
|
computePlanStructureHash,
|
|
4
4
|
derivePlanId
|
|
5
|
-
} from "./index-
|
|
5
|
+
} from "./index-pqjcyj0p.js";
|
|
6
6
|
import {
|
|
7
7
|
appendCoreEventSync
|
|
8
|
-
} from "./index-
|
|
8
|
+
} from "./index-7h2armwf.js";
|
|
9
9
|
import {
|
|
10
10
|
unsafePathTextReason
|
|
11
11
|
} from "./index-556ja8an.js";
|
|
12
12
|
import {
|
|
13
13
|
PlanSchema
|
|
14
|
-
} from "./index-
|
|
14
|
+
} from "./index-bqxffayb.js";
|
|
15
15
|
import {
|
|
16
16
|
assertProjectRoot
|
|
17
17
|
} from "./index-b5adxpy6.js";
|
|
18
18
|
import {
|
|
19
19
|
atomicWriteSwarmFile,
|
|
20
20
|
atomicWriteSwarmFileSync
|
|
21
|
-
} from "./index-
|
|
21
|
+
} from "./index-dh5q6z7y.js";
|
|
22
22
|
import {
|
|
23
23
|
require_proper_lockfile
|
|
24
24
|
} from "./index-7g4c7s5r.js";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
handleGuardrailExplain
|
|
4
|
-
} from "./index-
|
|
4
|
+
} from "./index-zpzvpybn.js";
|
|
5
5
|
import {
|
|
6
6
|
handleGuardrailLog
|
|
7
|
-
} from "./index-
|
|
7
|
+
} from "./index-gjx53y3c.js";
|
|
8
8
|
import {
|
|
9
9
|
COMMAND_REGISTRY,
|
|
10
10
|
SWARM_COMMAND_TOOL_ALLOWLIST,
|
|
@@ -94,68 +94,68 @@ import {
|
|
|
94
94
|
handleWriteRetroCommand,
|
|
95
95
|
normalizeSwarmCommandInput,
|
|
96
96
|
resolveCommand
|
|
97
|
-
} from "./index-
|
|
98
|
-
import"./index-
|
|
99
|
-
import"./index-
|
|
100
|
-
import"./index-
|
|
101
|
-
import"./index-
|
|
102
|
-
import"./index-
|
|
97
|
+
} from "./index-zdv914xa.js";
|
|
98
|
+
import"./index-j3ss86kf.js";
|
|
99
|
+
import"./index-m84z3aa8.js";
|
|
100
|
+
import"./index-f72612zc.js";
|
|
101
|
+
import"./index-m1cw9fsh.js";
|
|
102
|
+
import"./index-nk498mx6.js";
|
|
103
103
|
import"./index-txdagbh7.js";
|
|
104
104
|
import"./index-134d35c1.js";
|
|
105
105
|
import"./index-nj6rmyeh.js";
|
|
106
|
-
import"./index-
|
|
107
|
-
import"./index-
|
|
108
|
-
import"./index-
|
|
106
|
+
import"./index-v8dsmee1.js";
|
|
107
|
+
import"./index-ny0g8fdg.js";
|
|
108
|
+
import"./index-7v0ex0jt.js";
|
|
109
109
|
import"./index-70ha9e09.js";
|
|
110
110
|
import"./index-c8s9a3zh.js";
|
|
111
111
|
import"./index-9ss2m4rs.js";
|
|
112
|
-
import"./index-
|
|
112
|
+
import"./index-497a3hhj.js";
|
|
113
113
|
import"./index-zsrtt42s.js";
|
|
114
|
-
import"./index-
|
|
114
|
+
import"./index-dq93ar40.js";
|
|
115
115
|
import"./index-3f7hqtgg.js";
|
|
116
|
-
import"./index-
|
|
117
|
-
import"./index-
|
|
118
|
-
import"./index-
|
|
116
|
+
import"./index-awjx0wgk.js";
|
|
117
|
+
import"./index-jszabr0r.js";
|
|
118
|
+
import"./index-znf683sm.js";
|
|
119
119
|
import"./index-rtry5xyf.js";
|
|
120
|
-
import"./index-
|
|
121
|
-
import"./index-
|
|
122
|
-
import"./index-
|
|
120
|
+
import"./index-z0bxbb9g.js";
|
|
121
|
+
import"./index-qc53dfzh.js";
|
|
122
|
+
import"./index-61c3d769.js";
|
|
123
123
|
import"./index-ddszzne4.js";
|
|
124
|
-
import"./index-
|
|
125
|
-
import"./index-
|
|
126
|
-
import"./index-
|
|
124
|
+
import"./index-drqvph47.js";
|
|
125
|
+
import"./index-pqjcyj0p.js";
|
|
126
|
+
import"./index-7h2armwf.js";
|
|
127
127
|
import"./index-556ja8an.js";
|
|
128
128
|
import"./index-4fwbbad3.js";
|
|
129
129
|
import"./index-b43rt5ph.js";
|
|
130
130
|
import"./index-q7sjgr1y.js";
|
|
131
|
-
import"./index-
|
|
132
|
-
import"./index-
|
|
133
|
-
import"./index-
|
|
134
|
-
import"./index-
|
|
131
|
+
import"./index-nnzdayvk.js";
|
|
132
|
+
import"./index-98jmggma.js";
|
|
133
|
+
import"./index-pkz91fwm.js";
|
|
134
|
+
import"./index-8c9qzpy7.js";
|
|
135
135
|
import"./index-n832052r.js";
|
|
136
136
|
import"./index-dtn0pne5.js";
|
|
137
137
|
import"./index-z6xqpmqg.js";
|
|
138
138
|
import"./index-r3mvsbtq.js";
|
|
139
|
-
import"./index-
|
|
139
|
+
import"./index-bqxffayb.js";
|
|
140
140
|
import {
|
|
141
141
|
init_schema,
|
|
142
142
|
stripKnownSwarmPrefix
|
|
143
|
-
} from "./index-
|
|
143
|
+
} from "./index-7npz9n4s.js";
|
|
144
144
|
import"./index-9e6fdz2h.js";
|
|
145
145
|
import"./index-4rhhvd1a.js";
|
|
146
|
-
import"./index-
|
|
146
|
+
import"./index-mmr96pwr.js";
|
|
147
147
|
import {
|
|
148
148
|
AGENT_TOOL_MAP,
|
|
149
149
|
ORCHESTRATOR_NAME,
|
|
150
150
|
init_constants
|
|
151
|
-
} from "./index-
|
|
151
|
+
} from "./index-c9zp4xwc.js";
|
|
152
152
|
import"./index-zjygnfay.js";
|
|
153
153
|
import"./index-ae75rja9.js";
|
|
154
|
-
import"./index-
|
|
155
|
-
import"./index-
|
|
154
|
+
import"./index-prv20xq6.js";
|
|
155
|
+
import"./index-7ezv5j23.js";
|
|
156
156
|
import"./index-bk5tah7q.js";
|
|
157
157
|
import"./index-b5adxpy6.js";
|
|
158
|
-
import"./index-
|
|
158
|
+
import"./index-dh5q6z7y.js";
|
|
159
159
|
import"./index-ed5ykebp.js";
|
|
160
160
|
import"./index-dke4wzkn.js";
|
|
161
161
|
import"./index-7g4c7s5r.js";
|
|
@@ -6,11 +6,11 @@ import {
|
|
|
6
6
|
PluginConfigSchema,
|
|
7
7
|
init_schema,
|
|
8
8
|
stripKnownSwarmPrefix
|
|
9
|
-
} from "./index-
|
|
9
|
+
} from "./index-7npz9n4s.js";
|
|
10
10
|
import {
|
|
11
11
|
ALL_AGENT_NAMES,
|
|
12
12
|
init_constants
|
|
13
|
-
} from "./index-
|
|
13
|
+
} from "./index-c9zp4xwc.js";
|
|
14
14
|
import {
|
|
15
15
|
log
|
|
16
16
|
} from "./index-zgwm4ryv.js";
|
|
@@ -1209,6 +1209,20 @@ function validateConfigKey(path2, value) {
|
|
|
1209
1209
|
emitObjectTypeMismatch("pr_review_resilience", value, findings);
|
|
1210
1210
|
break;
|
|
1211
1211
|
}
|
|
1212
|
+
case "pr_review_legacy_transcript_compatibility": {
|
|
1213
|
+
if (value !== undefined && typeof value !== "boolean") {
|
|
1214
|
+
findings.push({
|
|
1215
|
+
id: "invalid-pr_review_legacy_transcript_compatibility-type",
|
|
1216
|
+
title: "Invalid pr_review_legacy_transcript_compatibility type",
|
|
1217
|
+
description: `"pr_review_legacy_transcript_compatibility" must be a boolean, got ${typeof value}`,
|
|
1218
|
+
severity: "error",
|
|
1219
|
+
path: "pr_review_legacy_transcript_compatibility",
|
|
1220
|
+
currentValue: value,
|
|
1221
|
+
autoFixable: false
|
|
1222
|
+
});
|
|
1223
|
+
}
|
|
1224
|
+
break;
|
|
1225
|
+
}
|
|
1212
1226
|
case "external_skills": {
|
|
1213
1227
|
emitObjectTypeMismatch("external_skills", value, findings);
|
|
1214
1228
|
break;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
authorizeCuration
|
|
4
|
-
} from "./index-
|
|
4
|
+
} from "./index-znf683sm.js";
|
|
5
5
|
import {
|
|
6
6
|
findNearDuplicate,
|
|
7
7
|
inferTags,
|
|
@@ -9,13 +9,13 @@ import {
|
|
|
9
9
|
resolveSwarmKnowledgePath,
|
|
10
10
|
resolveSwarmRejectedPath,
|
|
11
11
|
transactKnowledge
|
|
12
|
-
} from "./index-
|
|
12
|
+
} from "./index-nnzdayvk.js";
|
|
13
13
|
import {
|
|
14
14
|
resolveKnowledgeStoreDir
|
|
15
|
-
} from "./index-
|
|
15
|
+
} from "./index-prv20xq6.js";
|
|
16
16
|
import {
|
|
17
17
|
atomicWriteFile
|
|
18
|
-
} from "./index-
|
|
18
|
+
} from "./index-7ezv5j23.js";
|
|
19
19
|
import {
|
|
20
20
|
require_proper_lockfile
|
|
21
21
|
} from "./index-7g4c7s5r.js";
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
EvaluationRunV1Schema,
|
|
4
4
|
GateAuditResultV1Schema,
|
|
5
5
|
getProtectedEvaluationRunIds
|
|
6
|
-
} from "./index-
|
|
6
|
+
} from "./index-nk498mx6.js";
|
|
7
7
|
import {
|
|
8
8
|
loadDatabaseCtor
|
|
9
9
|
} from "./index-134d35c1.js";
|
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
readTaskEvidence,
|
|
24
24
|
readTaskEvidenceRaw,
|
|
25
25
|
sanitizeTaskId
|
|
26
|
-
} from "./index-
|
|
26
|
+
} from "./index-z0bxbb9g.js";
|
|
27
27
|
import {
|
|
28
28
|
LedgerStaleWriterError,
|
|
29
29
|
appendLedgerEvent,
|
|
@@ -43,10 +43,10 @@ import {
|
|
|
43
43
|
replayFromLedgerWithStatus,
|
|
44
44
|
takeSnapshotEvent,
|
|
45
45
|
takeSnapshotWithRetry
|
|
46
|
-
} from "./index-
|
|
46
|
+
} from "./index-pqjcyj0p.js";
|
|
47
47
|
import {
|
|
48
48
|
appendCoreEventSync
|
|
49
|
-
} from "./index-
|
|
49
|
+
} from "./index-7h2armwf.js";
|
|
50
50
|
import {
|
|
51
51
|
init_executor,
|
|
52
52
|
isUntrustedEnvKey,
|
|
@@ -56,7 +56,7 @@ import {
|
|
|
56
56
|
EVIDENCE_MAX_JSON_BYTES,
|
|
57
57
|
EvidenceBundleSchema,
|
|
58
58
|
EvidenceSchema
|
|
59
|
-
} from "./index-
|
|
59
|
+
} from "./index-8c9qzpy7.js";
|
|
60
60
|
import {
|
|
61
61
|
estimateCharsForTokens,
|
|
62
62
|
estimateTokens,
|
|
@@ -70,7 +70,7 @@ import {
|
|
|
70
70
|
} from "./index-r3mvsbtq.js";
|
|
71
71
|
import {
|
|
72
72
|
PlanSchema
|
|
73
|
-
} from "./index-
|
|
73
|
+
} from "./index-bqxffayb.js";
|
|
74
74
|
import {
|
|
75
75
|
GIT_BINARY_ENV_VAR,
|
|
76
76
|
describeGitResolution,
|
|
@@ -11,13 +11,13 @@ import {
|
|
|
11
11
|
import {
|
|
12
12
|
init_schema,
|
|
13
13
|
stripKnownSwarmPrefix
|
|
14
|
-
} from "./index-
|
|
14
|
+
} from "./index-7npz9n4s.js";
|
|
15
15
|
import {
|
|
16
16
|
observeStoreHealth
|
|
17
|
-
} from "./index-
|
|
17
|
+
} from "./index-mmr96pwr.js";
|
|
18
18
|
import {
|
|
19
19
|
init_constants
|
|
20
|
-
} from "./index-
|
|
20
|
+
} from "./index-c9zp4xwc.js";
|
|
21
21
|
import {
|
|
22
22
|
telemetry
|
|
23
23
|
} from "./index-dke4wzkn.js";
|
|
@@ -6,10 +6,10 @@ import {
|
|
|
6
6
|
} from "./index-ae75rja9.js";
|
|
7
7
|
import {
|
|
8
8
|
resolveKnowledgeStoreDir
|
|
9
|
-
} from "./index-
|
|
9
|
+
} from "./index-prv20xq6.js";
|
|
10
10
|
import {
|
|
11
11
|
atomicWriteFile
|
|
12
|
-
} from "./index-
|
|
12
|
+
} from "./index-7ezv5j23.js";
|
|
13
13
|
import {
|
|
14
14
|
init_knowledge_types,
|
|
15
15
|
isActiveStatus
|
|
@@ -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-5y34w84b.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-fsdx14tk.js");
|
|
784
|
+
const { KnowledgeConfigSchema } = await import("./schema-98tdb9h0.js");
|
|
785
785
|
let config;
|
|
786
786
|
try {
|
|
787
|
-
const { loadPluginConfigWithMeta } = await import("./index-
|
|
787
|
+
const { loadPluginConfigWithMeta } = await import("./index-wccdm7jv.js");
|
|
788
788
|
const { config: loadedConfig } = loadPluginConfigWithMeta(directory);
|
|
789
789
|
config = KnowledgeConfigSchema.parse(loadedConfig.knowledge ?? {});
|
|
790
790
|
} catch {
|
|
@@ -6,12 +6,12 @@ import {
|
|
|
6
6
|
resolveSwarmKnowledgePath,
|
|
7
7
|
transactKnowledge,
|
|
8
8
|
wordBigrams
|
|
9
|
-
} from "./index-
|
|
9
|
+
} from "./index-nnzdayvk.js";
|
|
10
10
|
import {
|
|
11
11
|
queryHistoricalOutcomes,
|
|
12
12
|
readKnowledgeEvents,
|
|
13
13
|
recordKnowledgeEvent
|
|
14
|
-
} from "./index-
|
|
14
|
+
} from "./index-98jmggma.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-fsdx14tk.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-98tdb9h0.js");
|
|
231
|
+
const { loadPluginConfigWithMeta } = await import("./index-wccdm7jv.js");
|
|
232
232
|
const { config: loadedConfig } = loadPluginConfigWithMeta(directory);
|
|
233
233
|
policyConfig = KnowledgeConfigSchema.parse(loadedConfig.knowledge ?? {});
|
|
234
234
|
} catch {
|