@tangle-network/agent-runtime 0.104.0 → 0.105.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/README.md +176 -42
- package/dist/agent.js +4 -4
- package/dist/candidate-execution/index.d.ts +2 -2
- package/dist/candidate-execution/index.js +4 -4
- package/dist/{chunk-2QJSNOGK.js → chunk-C5RTIBNZ.js} +2 -2
- package/dist/{chunk-SNSMRT6H.js → chunk-CTRA64LY.js} +3 -3
- package/dist/{chunk-ZXICDSAK.js → chunk-H5QPIZNX.js} +2 -2
- package/dist/{chunk-2X65HYMI.js → chunk-HLKC4UYB.js} +1 -13
- package/dist/chunk-HLKC4UYB.js.map +1 -0
- package/dist/{chunk-3PPVCS75.js → chunk-HNP72PNU.js} +3 -10
- package/dist/chunk-HNP72PNU.js.map +1 -0
- package/dist/chunk-OPVWXJ2H.js +75 -0
- package/dist/chunk-OPVWXJ2H.js.map +1 -0
- package/dist/{chunk-B7K7V22Y.js → chunk-RDOAVVHY.js} +2 -2
- package/dist/{chunk-L5DST3QC.js → chunk-SMQXZGLZ.js} +1 -1
- package/dist/chunk-SMQXZGLZ.js.map +1 -0
- package/dist/{chunk-FJI3EXU3.js → chunk-UHEZW5BU.js} +1104 -588
- package/dist/chunk-UHEZW5BU.js.map +1 -0
- package/dist/{chunk-HAO4CXHP.js → chunk-VISA6CI3.js} +3 -3
- package/dist/{chunk-2UABGGUB.js → chunk-WMTCUOQL.js} +5 -5
- package/dist/{chunk-ATDFUJYI.js → chunk-WRTOVNN4.js} +4 -4
- package/dist/{chunk-ATDFUJYI.js.map → chunk-WRTOVNN4.js.map} +1 -1
- package/dist/{chunk-SBTWKPVR.js → chunk-WSTRQZYQ.js} +1 -1
- package/dist/chunk-WSTRQZYQ.js.map +1 -0
- package/dist/{chunk-5HNDYWUT.js → chunk-XBG2W2VW.js} +13 -3
- package/dist/chunk-XBG2W2VW.js.map +1 -0
- package/dist/{chunk-STJEHM5F.js → chunk-YJZA2BIK.js} +2 -2
- package/dist/{chunk-STJEHM5F.js.map → chunk-YJZA2BIK.js.map} +1 -1
- package/dist/{completion-gate-Bv47cOnn.d.ts → completion-gate-BMy5LGoP.d.ts} +1 -1
- package/dist/{coordination-CxtzMxSM.d.ts → coordination-BZZSVYpZ.d.ts} +2 -2
- package/dist/index.d.ts +101 -177
- package/dist/index.js +373 -235
- package/dist/index.js.map +1 -1
- package/dist/intelligence.d.ts +49 -40
- package/dist/intelligence.js +14 -57
- package/dist/intelligence.js.map +1 -1
- package/dist/knowledge.d.ts +4 -4
- package/dist/knowledge.js +8 -8
- package/dist/{local-harness-CtK9dSny.d.ts → local-harness-BDNcl6jI.d.ts} +1 -1
- package/dist/{loop-runner-bin-DUOGtvOl.d.ts → loop-runner-bin-68aoM9-7.d.ts} +3 -11
- package/dist/loop-runner-bin.d.ts +4 -6
- package/dist/loop-runner-bin.js +5 -5
- package/dist/loops.d.ts +11 -11
- package/dist/loops.js +5 -5
- package/dist/mcp/bin.js +2 -2
- package/dist/mcp/index.d.ts +7 -8
- package/dist/mcp/index.js +6 -6
- package/dist/mcp/memory-bin.js +1 -1
- package/dist/primeintellect/index.d.ts +2 -3
- package/dist/primeintellect/index.js +5 -6
- package/dist/primeintellect/index.js.map +1 -1
- package/dist/{protected-model-port-DzkUY3HQ.d.ts → protected-model-port-B4t-OQjL.d.ts} +1 -1
- package/dist/{improve--2A0gK1-.d.ts → redact-BuFjxBUJ.d.ts} +201 -160
- package/dist/{structural-rollout-C4mabf87.d.ts → structural-rollout-DEh6CEsa.d.ts} +2 -2
- package/dist/{supervise-7q9F5brx.d.ts → supervise-4_48wwvy.d.ts} +2 -2
- package/dist/testing.js +9 -9
- package/dist/testing.js.map +1 -1
- package/dist/{worktree-fanout-WsOzt8qu.d.ts → worktree-fanout-DxhAWr5Z.d.ts} +2 -2
- package/package.json +6 -5
- package/skills/build-with-agent-runtime/SKILL.md +15 -9
- package/skills/loop-writer/SKILL.md +1 -1
- package/dist/chunk-2X65HYMI.js.map +0 -1
- package/dist/chunk-3PPVCS75.js.map +0 -1
- package/dist/chunk-5HNDYWUT.js.map +0 -1
- package/dist/chunk-FJI3EXU3.js.map +0 -1
- package/dist/chunk-L5DST3QC.js.map +0 -1
- package/dist/chunk-SBTWKPVR.js.map +0 -1
- /package/dist/{chunk-2QJSNOGK.js.map → chunk-C5RTIBNZ.js.map} +0 -0
- /package/dist/{chunk-SNSMRT6H.js.map → chunk-CTRA64LY.js.map} +0 -0
- /package/dist/{chunk-ZXICDSAK.js.map → chunk-H5QPIZNX.js.map} +0 -0
- /package/dist/{chunk-B7K7V22Y.js.map → chunk-RDOAVVHY.js.map} +0 -0
- /package/dist/{chunk-HAO4CXHP.js.map → chunk-VISA6CI3.js.map} +0 -0
- /package/dist/{chunk-2UABGGUB.js.map → chunk-WMTCUOQL.js.map} +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { WorkspacePlanReceipt } from '@tangle-network/agent-profile-materialize';
|
|
2
|
-
import { L as LocalHarness, C as CodexTokenUsage,
|
|
2
|
+
import { L as LocalHarness, C as CodexTokenUsage, a as CodexExecutionPolicy } from './local-harness-BDNcl6jI.js';
|
|
3
3
|
import { f as Executor } from './types-CvNwMzQt.js';
|
|
4
4
|
|
|
5
5
|
/**
|
|
@@ -6,8 +6,8 @@ import { a as SandboxClient, E as ExecCtx, t as LoopTraceEmitter, c as LoopTrace
|
|
|
6
6
|
import { AgentProfile, BackendType, SandboxEvent, SandboxInstance } from '@tangle-network/sandbox';
|
|
7
7
|
import { b as ToolSpec, c as RuntimeTelemetryOptions, R as RouterConfig } from './sanitize-DEbPNtyI.js';
|
|
8
8
|
import { R as RuntimeStreamEvent } from './types-BwoZWq-i.js';
|
|
9
|
-
import { G as GitRunner, a as WorktreeCheckRunner, D as DeliverableSpec } from './completion-gate-
|
|
10
|
-
import { L as LocalHarness } from './local-harness-
|
|
9
|
+
import { G as GitRunner, a as WorktreeCheckRunner, D as DeliverableSpec } from './completion-gate-BMy5LGoP.js';
|
|
10
|
+
import { L as LocalHarness } from './local-harness-BDNcl6jI.js';
|
|
11
11
|
import { ProviderExecutorOptions, AgentEnvironmentProviderRegistry } from './environment-provider.js';
|
|
12
12
|
import { AgentEnvironmentProvider } from '@tangle-network/agent-interface/environment-provider';
|
|
13
13
|
|
package/dist/index.d.ts
CHANGED
|
@@ -1,41 +1,41 @@
|
|
|
1
|
-
import { AgentEvalError, AnalystFinding, KnowledgeReadinessReport, RunRecord, ControlEvalResult } from '@tangle-network/agent-eval';
|
|
1
|
+
import { AgentEvalError, AnalystFinding, ConfigError, KnowledgeReadinessReport, RunRecord, ControlEvalResult } from '@tangle-network/agent-eval';
|
|
2
2
|
export { AgentEvalError, AgentEvalErrorCode, ConfigError, ControlBudget, ControlDecision, ControlEvalResult, ControlRunResult, ControlStep, DataAcquisitionPlan, JudgeError, KnowledgeReadinessReport, KnowledgeRequirement, NotFoundError, RunRecord, ValidationError } from '@tangle-network/agent-eval';
|
|
3
3
|
import { c as createOpenAICompatibleBackend } from './backends-BO4Jqoe2.js';
|
|
4
4
|
export { a as createIterableBackend, b as createSandboxPromptBackend } from './backends-BO4Jqoe2.js';
|
|
5
5
|
export { AGENT_CANDIDATE_EXECUTION_SUPPORT, AgentCandidateBundleInput, AgentCandidateCodeSource, AgentCandidateCodeSurfaceSource, AgentCandidateProfileSource, AgentCandidateWorkspaceArchiveLimits, BuildAgentCandidateBundleInput, CANDIDATE_KNOWLEDGE_RETRIEVAL_CONFIG_ENV, CANDIDATE_KNOWLEDGE_ROOT_ENV, CaptureAgentCandidateWorkspaceOptions, CapturedAgentCandidateWorkspace, CreateAgentCandidateWorkspacePortOptions, DisposePreparedAgentCandidateOptions, ExactProcessCandidateExecutorOptions, FileAgentCandidateExecutionClaimStore, FileAgentCandidateExecutionClaimStoreOptions, RecoverExpiredAgentCandidateOptions, buildAgentCandidateBundle, candidateExecutionClaim, candidateKnowledgeExecutionPaths, captureAgentCandidateWorkspace, captureAgentCandidateWorkspaceFiles, createAgentCandidateWorkspacePort, disposePreparedAgentCandidateExecution, exactProcessProviderAsCandidateExecutor, persistCandidateOutputArtifact, recoverExpiredAgentCandidateExecution, sealAgentCandidateBundle, verifyAgentCandidateBundle } from './candidate-execution/index.js';
|
|
6
|
-
export { a as AgentCandidateExecutionAttemptRecord, b as AgentCandidateExecutionAttemptRef, c as AgentCandidateExecutionClaim, d as AgentCandidateExecutionClaimResult, A as AgentCandidateExecutionClaimStore, e as AgentCandidateExecutionCleanupHandles, f as AgentCandidateExecutionFailureClass, g as AgentCandidateExecutionFinishResult, h as AgentCandidateExecutionLease, i as AgentCandidateExecutionPhase, j as AgentCandidateExecutionPhaseResult, k as AgentCandidateExecutionRecoveryEvidence, l as AgentCandidateExecutionStageResult, m as AgentCandidateExecutionTerminalRecord, n as AgentCandidateExecutionTerminalResult, o as AgentCandidateModelGrantActivateInput, q as AgentCandidateModelGrantClient, r as AgentCandidateModelGrantReservation, s as AgentCandidateModelGrantReserveInput, t as AgentCandidateModelGrantSettleInput, u as AgentCandidatePreparationEvidence, v as AgentCandidateRetryRejection, C as CreateProtectedAgentCandidateModelPortOptions, E as ExecutePreparedAgentCandidateOptions, I as InMemoryAgentCandidateExecutionClaimStore, P as PrepareAgentCandidateExecutionOptions, w as applyExactAgentProfileDiff, x as assertCandidateProfileBinding, y as createProtectedAgentCandidateModelPort, z as executePreparedAgentCandidate, B as parseExactAgentProfile, D as parseExactAgentProfileDiff, F as prepareAgentCandidateExecution } from './protected-model-port-
|
|
6
|
+
export { a as AgentCandidateExecutionAttemptRecord, b as AgentCandidateExecutionAttemptRef, c as AgentCandidateExecutionClaim, d as AgentCandidateExecutionClaimResult, A as AgentCandidateExecutionClaimStore, e as AgentCandidateExecutionCleanupHandles, f as AgentCandidateExecutionFailureClass, g as AgentCandidateExecutionFinishResult, h as AgentCandidateExecutionLease, i as AgentCandidateExecutionPhase, j as AgentCandidateExecutionPhaseResult, k as AgentCandidateExecutionRecoveryEvidence, l as AgentCandidateExecutionStageResult, m as AgentCandidateExecutionTerminalRecord, n as AgentCandidateExecutionTerminalResult, o as AgentCandidateModelGrantActivateInput, q as AgentCandidateModelGrantClient, r as AgentCandidateModelGrantReservation, s as AgentCandidateModelGrantReserveInput, t as AgentCandidateModelGrantSettleInput, u as AgentCandidatePreparationEvidence, v as AgentCandidateRetryRejection, C as CreateProtectedAgentCandidateModelPortOptions, E as ExecutePreparedAgentCandidateOptions, I as InMemoryAgentCandidateExecutionClaimStore, P as PrepareAgentCandidateExecutionOptions, w as applyExactAgentProfileDiff, x as assertCandidateProfileBinding, y as createProtectedAgentCandidateModelPort, z as executePreparedAgentCandidate, B as parseExactAgentProfile, D as parseExactAgentProfileDiff, F as prepareAgentCandidateExecution } from './protected-model-port-B4t-OQjL.js';
|
|
7
7
|
export { j as AgentCandidateArtifactPort, a as AgentCandidateBenchmarkGraderPort, k as AgentCandidateContainerPort, e as AgentCandidateExecutionPorts, l as AgentCandidateExecutorFinalCapture, m as AgentCandidateExecutorMemoryCapture, A as AgentCandidateExecutorPort, n as AgentCandidateExecutorProfileFile, o as AgentCandidateExecutorRequest, p as AgentCandidateExecutorStopRequest, q as AgentCandidateExecutorTaskOutcomeCapture, r as AgentCandidateExecutorWorkspaceFile, s as AgentCandidateExecutorWorkspaceInput, t as AgentCandidateMemoryPort, u as AgentCandidateMemoryResetResult, v as AgentCandidateModelLimits, f as AgentCandidateModelPort, b as AgentCandidateOutputArtifactPort, w as AgentCandidateOutputPurpose, h as AgentCandidateProtectedModelActivation, g as AgentCandidateProtectedModelReservation, i as AgentCandidateProtectedModelSettlement, x as AgentCandidateProtectedRunCapture, y as AgentCandidateRepositoryPort, c as AgentCandidateRunFinalization, d as AgentCandidateTaskExecution, z as AgentCandidateVerificationPorts, B as AgentCandidateWorkspacePort, C as CANDIDATE_TRACE_ENV, D as CANDIDATE_TRACE_TAGS, E as CanonicalCandidateDocument, P as PreparedAgentCandidateExecution, F as PreparedAgentCandidateInstruction, G as PreparedAgentCandidateKnowledge, H as PreparedAgentCandidateLaunch, I as PreparedAgentCandidateTrace, R as ResolvedAgentCandidateContainer, V as VerifiedAgentCandidate, J as VerifiedAgentCandidateTaskOutcome } from './types-Cbp72qyu.js';
|
|
8
8
|
export { AuthSource, BackendCallPolicy, CircuitBreakerConfig, CircuitBreakerState, CircuitOpenError, Conversation, ConversationDriveState, ConversationJournal, ConversationJournalEntry, ConversationParticipant, ConversationPolicy, ConversationResult, ConversationStreamEvent, ConversationTurn, D1DatabaseLike, D1StmtLike, DEFAULT_MAX_DEPTH, DeadlineExceededError, FORWARD_HEADERS, FileConversationJournal, ForwardHeaderName, HaltContext, HaltPredicate, HaltReason, HaltSignal, InMemoryConversationJournal, PersonaConversationResult, PersonaDriver, PropagatedHeaders, RetryBackoff, RetryableErrorPredicate, RunConversationOptions, RunPersonaConfig, RunPersonaConversationOptions, SqlAdapter, SqlConversationJournal, TurnOrder, buildForwardHeaders, computeBackoff, createConversationBackend, d1ToSqlAdapter, defaultIsRetryable, defineConversation, isDepthExceeded, makePerAttemptSignal, readDepth, runConversation, runConversationStream, runPersonaConversation, runPersonaDispatch, sleep, slugifySpeaker, turnId } from './conversation.js';
|
|
9
|
-
import { V as Verifier, C as CandidateGenerator } from './
|
|
10
|
-
export { A as AGENTIC_PROFILE_RESOURCE_ROOT,
|
|
11
|
-
import {
|
|
12
|
-
import { L as LocalHarness, r as runLocalHarness } from './local-harness-CtK9dSny.js';
|
|
9
|
+
import { V as Verifier, C as CandidateGenerator, c as ImproveMethodOptions, b as ImproveMethodResult, e as ImproveCodeRunOptions, f as ImproveCodeResult, R as Redactor, g as ImproveCandidateValidationInput, h as ImproveMethodFactory, i as ReadonlyAgentProfile } from './redact-BuFjxBUJ.js';
|
|
10
|
+
export { A as AGENTIC_PROFILE_RESOURCE_ROOT, j as AgenticGeneratorOptions, k as AgenticGeneratorShotDisposition, l as AgenticGeneratorShotExecution, m as AgenticGeneratorShotReceipt, D as DeepReadonly, n as ImproveCandidateValidator, o as ImproveCodeOptions, p as ImproveCost, q as ImproveLineage, s as ImproveMethodContext, t as ImproveMethodSource, u as ImproveOptimizationRunOptions, I as ImproveOptions, v as ImproveProfileAgent, w as ImproveProfileComponents, x as ImproveProfileSurface, a as ImproveResult, y as ImproveSkillsOptions, z as ImproveSurface, B as ImprovementCandidate, E as ImprovementCodeCandidate, F as ImprovementProfileCandidate, G as VerifyResult, H as agenticGenerator, J as commandVerifier, K as defaultBuildPrompt } from './redact-BuFjxBUJ.js';
|
|
11
|
+
import { L as LocalHarness, r as runLocalHarness } from './local-harness-BDNcl6jI.js';
|
|
13
12
|
import { T as ToolLoopChat, c as RuntimeTelemetryOptions } from './sanitize-DEbPNtyI.js';
|
|
14
13
|
export { d as RuntimeEventCollector, e as RuntimeStreamEventCollector, S as SanitizedKnowledgeReadinessReport, f as createRuntimeEventCollector, g as createRuntimeStreamEventCollector, s as sanitizeAgentRuntimeEvent, h as sanitizeKnowledgeReadinessReport, i as sanitizeRuntimeStreamEvent } from './sanitize-DEbPNtyI.js';
|
|
15
|
-
import {
|
|
14
|
+
import { Scenario, SelfImproveOptions, MutableSurface } from '@tangle-network/agent-eval/contract';
|
|
15
|
+
import { AgentProfile } from '@tangle-network/agent-interface';
|
|
16
16
|
export { AgentCandidateBenchmarkGraderIdentity } from '@tangle-network/agent-interface';
|
|
17
|
-
import {
|
|
17
|
+
import { GepaOptimizationMethodConfig, SkillOptOptimizationMethodConfig } from '@tangle-network/agent-eval/campaign';
|
|
18
18
|
import { S as SurfaceImprovementEdit } from './improvement-adapter-HAZz-7vK.js';
|
|
19
19
|
import { I as ImprovementProposalSource } from './types-CmYCMbFT.js';
|
|
20
|
-
import { S as StructuralRolloutPolicy } from './structural-rollout-
|
|
20
|
+
import { S as StructuralRolloutPolicy } from './structural-rollout-DEh6CEsa.js';
|
|
21
21
|
export { AgentKnowledgeReadinessCheckOptions, CreateKnowledgeImprovementActivationExecutorOptions, KnowledgeImprovementActivationExecutor, KnowledgeImprovementCandidatePair, KnowledgeImprovementExperimentBundles, KnowledgeImprovementJobMeasurement, KnowledgeImprovementJobResult, KnowledgeReadinessCheck, KnowledgeReadinessCheckInput, KnowledgeReadinessCheckResult, RESEARCH_SUPERVISOR_SYSTEM_PROMPT, RunKnowledgeImprovementJobOptions, SupervisedKnowledgeUpdateInput, SupervisedKnowledgeUpdateOptions, SupervisedKnowledgeUpdateResult, SupervisedKnowledgeUpdater, buildKnowledgeImprovementExperimentBundles, createAgentKnowledgeReadinessCheck, createKnowledgeImprovementActivationExecutor, createSupervisedKnowledgeUpdater, formatSupervisedKnowledgeTask, knowledgeReadinessDeliverable, runKnowledgeImprovementJob, runSupervisedKnowledgeUpdate } from './knowledge.js';
|
|
22
|
-
export { D as DELEGATED_LOOP_MODES, a as DelegatedLoopMode, b as DelegatedLoopRegistry, c as DelegatedLoopResult, d as DelegatedLoopRunner, L as LoopRunnerCliArgs, e as LoopRunnerCliResult, R as ResearchLoopResult, f as ResearchLoopRunnerOptions, g as RunDelegatedLoopOptions, V as VetoedFact, W as WorktreeLoopRunnerOptions, h as auditLoopRunner, i as isDelegatedLoopMode, p as parseLoopRunnerArgv, r as researchLoopRunner, j as runDelegatedLoop, k as runLoopRunnerCli,
|
|
22
|
+
export { D as DELEGATED_LOOP_MODES, a as DelegatedLoopMode, b as DelegatedLoopRegistry, c as DelegatedLoopResult, d as DelegatedLoopRunner, L as LoopRunnerCliArgs, e as LoopRunnerCliResult, R as ResearchLoopResult, f as ResearchLoopRunnerOptions, g as RunDelegatedLoopOptions, V as VetoedFact, W as WorktreeLoopRunnerOptions, h as auditLoopRunner, i as isDelegatedLoopMode, p as parseLoopRunnerArgv, r as researchLoopRunner, j as runDelegatedLoop, k as runLoopRunnerCli, w as worktreeLoopRunner } from './loop-runner-bin-68aoM9-7.js';
|
|
23
23
|
export { m as mcpToolsForRuntimeMcp, a as mcpToolsForRuntimeMcpSubset } from './openai-tools-fnj6SRVg.js';
|
|
24
|
-
export { b1 as EvalRunEvent, b2 as EvalRunGeneration, b3 as EvalRunsExportConfig, b4 as EvalRunsExportResult, b5 as INTELLIGENCE_WIRE_VERSION, b6 as LoopSpanNode, b7 as OtelAttribute, b8 as OtelExportConfig, b9 as OtelExporter, ba as OtelSpan, bb as RuntimeEventOtelOptions, bc as buildLoopOtelSpans, bd as buildLoopSpanNodes, be as buildRuntimeEventOtelSpans, bf as createOtelExporter, bg as exportEvalRuns, bh as loopEventToOtelSpan } from './coordination-
|
|
24
|
+
export { b1 as EvalRunEvent, b2 as EvalRunGeneration, b3 as EvalRunsExportConfig, b4 as EvalRunsExportResult, b5 as INTELLIGENCE_WIRE_VERSION, b6 as LoopSpanNode, b7 as OtelAttribute, b8 as OtelExportConfig, b9 as OtelExporter, ba as OtelSpan, bb as RuntimeEventOtelOptions, bc as buildLoopOtelSpans, bd as buildLoopSpanNodes, be as buildRuntimeEventOtelSpans, bf as createOtelExporter, bg as exportEvalRuns, bh as loopEventToOtelSpan } from './coordination-BZZSVYpZ.js';
|
|
25
25
|
import { K as KnowledgeReadinessDecision, A as AgentBackendInput, c as AgentExecutionBackend, h as RunAgentTaskOptions, i as AgentTaskRunResult, j as RunAgentTaskStreamOptions, R as RuntimeStreamEvent, k as RuntimeSessionStore, l as RuntimeSession } from './types-BwoZWq-i.js';
|
|
26
26
|
export { m as AgentAdapter, d as AgentBackendContext, n as AgentKnowledgeProvider, e as AgentRuntimeEvent, o as AgentRuntimeEventSink, p as AgentTaskContext, g as AgentTaskSpec, f as AgentTaskStatus, B as BackendErrorDetail, b as OpenAIChatResponseFormat, O as OpenAIChatTool, a as OpenAIChatToolChoice } from './types-BwoZWq-i.js';
|
|
27
27
|
import { R as RuntimeHooks } from './types-BCoemcXU.js';
|
|
28
28
|
export { d as RuntimeDecisionEvidenceRef, e as RuntimeDecisionKind, f as RuntimeDecisionPoint, g as RuntimeHookContext, h as RuntimeHookErrorContext, i as RuntimeHookEvent, j as RuntimeHookPhase, k as RuntimeHookTarget, l as RuntimeRunHandle, m as RuntimeRunPersistenceAdapter, n as RuntimeRunRow, o as composeRuntimeHooks, p as defineRuntimeHooks, q as notifyRuntimeDecisionPoint, r as notifyRuntimeHookEvent, s as startRuntimeRun } from './types-BCoemcXU.js';
|
|
29
29
|
import '@tangle-network/agent-interface/environment-provider';
|
|
30
30
|
import 'node:child_process';
|
|
31
|
-
import './worktree-fanout-
|
|
31
|
+
import './worktree-fanout-DxhAWr5Z.js';
|
|
32
32
|
import './types-CvNwMzQt.js';
|
|
33
33
|
import '@tangle-network/sandbox';
|
|
34
|
-
import './completion-gate-
|
|
34
|
+
import './completion-gate-BMy5LGoP.js';
|
|
35
35
|
import '@tangle-network/agent-profile-materialize';
|
|
36
36
|
import '@tangle-network/agent-knowledge';
|
|
37
37
|
import './activation-Cm-9MMX1.js';
|
|
38
|
-
import './supervise-
|
|
38
|
+
import './supervise-4_48wwvy.js';
|
|
39
39
|
import './kb-gate-CwHO0vz6.js';
|
|
40
40
|
import './substrate-Dyiqmd3o.js';
|
|
41
41
|
import './environment-provider.js';
|
|
@@ -267,75 +267,6 @@ declare function toolBuildPrompt(args: FindingsArg): string;
|
|
|
267
267
|
/** Build the starting instruction for a coder agent tasked with implementing a new MCP server. */
|
|
268
268
|
declare function mcpBuildPrompt(args: FindingsArg): string;
|
|
269
269
|
|
|
270
|
-
/**
|
|
271
|
-
* Campaign `spans.jsonl` → OTLP-flat JSONL — the missing converter between
|
|
272
|
-
* what the substrate RECORDS and what its trace analysts READ.
|
|
273
|
-
*
|
|
274
|
-
* agent-eval's `runCampaign` durably records one `spans.jsonl` per cell
|
|
275
|
-
* (`defaultBuildTraceWriter`): flat records
|
|
276
|
-
* `{ name, cellId, startMs, durationMs?, ...attributes }` with no trace/span
|
|
277
|
-
* ids. Its trace consumers (`OtlpFileTraceStore`, the trace-analyst registry,
|
|
278
|
-
* `haloProposer`/`traceAnalystProposer` via `resolveTraces`) read OTLP-flat
|
|
279
|
-
* JSONL (`trace_id`/`span_id`/ISO times/status/attributes — the shape
|
|
280
|
-
* `projectOtlpFlatLine` parses). Nothing shipped converts between the two, so
|
|
281
|
-
* the traces real optimization runs write could never reach the trace-native
|
|
282
|
-
* proposers. This module is that wire adapter:
|
|
283
|
-
*
|
|
284
|
-
* - {@link campaignCellSpansToOtlp} — one cell's `spans.jsonl` content →
|
|
285
|
-
* OTLP lines (a per-cell root AGENT anchor span + one child per record).
|
|
286
|
-
* - {@link convertCampaignDirToOtlp} — walk any campaign run/generation dir
|
|
287
|
-
* for `spans.jsonl` files and concatenate their OTLP lines.
|
|
288
|
-
* - {@link campaignTraceResolver} — the `resolveTraces` implementation for
|
|
289
|
-
* `traceAnalystProposer`/`haloProposer`: proposing generation g reads the
|
|
290
|
-
* traces the loop just recorded (`gen-<g-1>`, or `baseline` for g = 0)
|
|
291
|
-
* under the same `runDir` handed to `improve()`/`selfImprove()`.
|
|
292
|
-
*
|
|
293
|
-
* Trace identity: one trace per CELL, keyed on the cell's on-disk path — the
|
|
294
|
-
* same sanitized `cellId` recurs across the baseline and every candidate
|
|
295
|
-
* campaign, so folding the id alone would merge distinct runs into one trace.
|
|
296
|
-
* Ids are deterministic FNV-1a folds to OTLP's 32/16-hex width, so re-converts
|
|
297
|
-
* are stable and byte-identical.
|
|
298
|
-
*/
|
|
299
|
-
|
|
300
|
-
interface CampaignOtlpOptions {
|
|
301
|
-
/** OTLP `service.name` on every emitted span. Default `'campaign'`. */
|
|
302
|
-
serviceName?: string;
|
|
303
|
-
}
|
|
304
|
-
/**
|
|
305
|
-
* Convert ONE cell's `spans.jsonl` content to OTLP-flat JSONL lines.
|
|
306
|
-
* `cellKey` is the identity the trace id folds from — pass the cell's on-disk
|
|
307
|
-
* path (unique per campaign); `cellId` is the display/attribute label.
|
|
308
|
-
* Returns `[]` for empty/recordless content (a dispatch that never touched
|
|
309
|
-
* `ctx.trace`/`ctx.cost` writes an empty file — that is data, not an error).
|
|
310
|
-
*/
|
|
311
|
-
declare function campaignCellSpansToOtlp(content: string, cell: {
|
|
312
|
-
cellId: string;
|
|
313
|
-
cellKey?: string;
|
|
314
|
-
}, opts?: CampaignOtlpOptions): string[];
|
|
315
|
-
/**
|
|
316
|
-
* Walk `dir` (a campaign run dir, a generation dir, or a whole `selfImprove`
|
|
317
|
-
* run root) for `spans.jsonl` files and return their concatenated OTLP-flat
|
|
318
|
-
* JSONL — the exact string the `resolveTraces` contract expects. `''` when no
|
|
319
|
-
* spans exist (the proposers fail loud on empty by design).
|
|
320
|
-
*/
|
|
321
|
-
declare function convertCampaignDirToOtlp(dir: string, opts?: CampaignOtlpOptions): string;
|
|
322
|
-
interface CampaignTraceResolverOptions extends CampaignOtlpOptions {
|
|
323
|
-
/** The `selfImprove`/`improve()` run root — the SAME `runDir` the loop
|
|
324
|
-
* records under (`<runDir>/baseline/...`, `<runDir>/gen-<g>/candidate-<i>/...`).
|
|
325
|
-
* Must be a real path; a `mem://` run records nothing to resolve. */
|
|
326
|
-
runDir: string;
|
|
327
|
-
}
|
|
328
|
-
/**
|
|
329
|
-
* Build the `resolveTraces` function `traceAnalystProposer`/`haloProposer`
|
|
330
|
-
* take: proposing generation g reads the traces of the campaigns the loop just
|
|
331
|
-
* scored — `gen-<g-1>` (or `baseline` when g = 0), falling back to every trace
|
|
332
|
-
* under the run root when that directory has none (e.g. a caller pointing at a
|
|
333
|
-
* single campaign dir rather than a loop root).
|
|
334
|
-
*
|
|
335
|
-
* traceAnalystProposer({ ..., resolveTraces: campaignTraceResolver({ runDir }) })
|
|
336
|
-
*/
|
|
337
|
-
declare function campaignTraceResolver(opts: CampaignTraceResolverOptions): (ctx: Pick<ProposeContext, 'generation'>) => string;
|
|
338
|
-
|
|
339
270
|
/**
|
|
340
271
|
* `driverLoopGenerator` — the driver→worker `CandidateGenerator`: the build
|
|
341
272
|
* loop run by the ATOM instead of the canned respawn.
|
|
@@ -442,6 +373,26 @@ interface ToAnalystFindingsOptions {
|
|
|
442
373
|
*/
|
|
443
374
|
declare function toAnalystFindings(findings: readonly unknown[], opts?: ToAnalystFindingsOptions): AnalystFinding[];
|
|
444
375
|
|
|
376
|
+
/**
|
|
377
|
+
* `improve` runs one complete optimization method against an exact profile
|
|
378
|
+
* surface. Runtime extracts and materializes the profile value; agent-eval owns
|
|
379
|
+
* optimization, disjoint data partitions, final-test scoring, and uncertainty.
|
|
380
|
+
*
|
|
381
|
+
* Code is the sole exception. It uses Runtime's isolated git worktrees because
|
|
382
|
+
* checkout ownership and cleanup cannot cross a generic optimizer boundary.
|
|
383
|
+
*
|
|
384
|
+
* @experimental
|
|
385
|
+
*/
|
|
386
|
+
|
|
387
|
+
/**
|
|
388
|
+
* Optimize one exact profile surface with a complete method.
|
|
389
|
+
*/
|
|
390
|
+
declare function improve<TScenario extends Scenario, TArtifact>(profile: AgentProfile, opts: ImproveMethodOptions<TScenario, TArtifact>): Promise<ImproveMethodResult>;
|
|
391
|
+
/**
|
|
392
|
+
* Optimize repository code through Runtime's isolated worktree path.
|
|
393
|
+
*/
|
|
394
|
+
declare function improve<TScenario extends Scenario, TArtifact>(opts: ImproveCodeRunOptions<TScenario, TArtifact>): Promise<ImproveCodeResult<TScenario, TArtifact>>;
|
|
395
|
+
|
|
445
396
|
/**
|
|
446
397
|
* `mcpServeVerifier` — the intrinsic verifier for a built MCP server: the
|
|
447
398
|
* boot-and-probe checker named in docs/artifact-lifecycle-frontier.md. A
|
|
@@ -475,6 +426,58 @@ interface McpServeSpec {
|
|
|
475
426
|
/** Build a `Verifier` that boots a generated MCP server over stdio and checks it exposes tools. */
|
|
476
427
|
declare function mcpServeVerifier(spec: McpServeSpec): Verifier;
|
|
477
428
|
|
|
429
|
+
/** Runtime context appended to an official optimizer's own configuration. */
|
|
430
|
+
interface OfficialOptimizerContextOptions {
|
|
431
|
+
/** Context supplied to the optimizer before Runtime appends the profile surface and findings. */
|
|
432
|
+
background?: string;
|
|
433
|
+
/** Include current trace or analyst findings in the optimizer background. Default true. */
|
|
434
|
+
includeFindings?: boolean;
|
|
435
|
+
/** Reject oversized serialized findings before starting Python. Default 50,000 characters. */
|
|
436
|
+
maxFindingsChars?: number;
|
|
437
|
+
/**
|
|
438
|
+
* Redact caller-supplied context and descriptors before they leave Runtime.
|
|
439
|
+
* The built-in redactor is the default. Pass `false` only for public data
|
|
440
|
+
* that has already been reviewed.
|
|
441
|
+
*/
|
|
442
|
+
redact?: Redactor | false;
|
|
443
|
+
/** Authorize one exact candidate containing structurally sensitive fields.
|
|
444
|
+
* The callback must return true for every accepted baseline and candidate. */
|
|
445
|
+
authorizeSensitiveCandidate?: (input: OfficialSensitiveCandidateInput) => boolean;
|
|
446
|
+
}
|
|
447
|
+
interface OfficialSensitiveCandidateInput extends ImproveCandidateValidationInput {
|
|
448
|
+
sensitivePaths: readonly string[];
|
|
449
|
+
}
|
|
450
|
+
/** Official GEPA configuration plus bounded Runtime findings context. */
|
|
451
|
+
type OfficialGepaOptions<TScenario extends {
|
|
452
|
+
id: string;
|
|
453
|
+
kind: string;
|
|
454
|
+
}, TArtifact = unknown> = Omit<GepaOptimizationMethodConfig<TScenario, TArtifact>, 'background' | 'evaluationId'> & OfficialOptimizerContextOptions;
|
|
455
|
+
/** Official SkillOpt configuration plus bounded Runtime findings context. */
|
|
456
|
+
type OfficialSkillOptOptions<TScenario extends {
|
|
457
|
+
id: string;
|
|
458
|
+
kind: string;
|
|
459
|
+
}, TArtifact = unknown> = Omit<SkillOptOptimizationMethodConfig<TScenario, TArtifact>, 'background' | 'evaluationId'> & OfficialOptimizerContextOptions;
|
|
460
|
+
/** Missing optional Python dependencies for an official optimizer. */
|
|
461
|
+
declare class OfficialOptimizerUnavailableError extends ConfigError {
|
|
462
|
+
readonly optimizer: 'gepa' | 'skillopt';
|
|
463
|
+
constructor(optimizer: 'gepa' | 'skillopt', cause: unknown);
|
|
464
|
+
}
|
|
465
|
+
/**
|
|
466
|
+
* Build a complete method backed by GEPA's official Optimize Anything API.
|
|
467
|
+
*
|
|
468
|
+
* The recipe is passed through unchanged. Use `engine`, `sequential`,
|
|
469
|
+
* `adaptive-sequential`, `best-of`, `vote`, or `omni` explicitly.
|
|
470
|
+
*/
|
|
471
|
+
declare function officialGepa<TScenario extends {
|
|
472
|
+
id: string;
|
|
473
|
+
kind: string;
|
|
474
|
+
}, TArtifact = unknown>(options: OfficialGepaOptions<TScenario, TArtifact>): ImproveMethodFactory<TScenario, TArtifact>;
|
|
475
|
+
/** Build a complete method backed by Microsoft's official SkillOpt trainer. */
|
|
476
|
+
declare function officialSkillOpt<TScenario extends {
|
|
477
|
+
id: string;
|
|
478
|
+
kind: string;
|
|
479
|
+
}, TArtifact = unknown>(options: OfficialSkillOptOptions<TScenario, TArtifact>): ImproveMethodFactory<TScenario, TArtifact>;
|
|
480
|
+
|
|
478
481
|
/**
|
|
479
482
|
* The senior scientific-method optimizer doctrine — the ONE substantial prompt
|
|
480
483
|
* core shared by every builder/author surface (tool build, MCP build, codebase
|
|
@@ -515,19 +518,6 @@ declare const researchDriverNote: string;
|
|
|
515
518
|
*/
|
|
516
519
|
declare const strategyAuthorMethod: string;
|
|
517
520
|
|
|
518
|
-
type ProfileDiffProposerContext<TFindings = unknown> = ProposeContext<TFindings> & {
|
|
519
|
-
profile: AgentProfile;
|
|
520
|
-
};
|
|
521
|
-
interface ProfileDiffProposerOptions<TFindings = unknown> {
|
|
522
|
-
proposeDiffs(context: ProfileDiffProposerContext<TFindings>): Promise<readonly AgentProfileDiff[]> | readonly AgentProfileDiff[];
|
|
523
|
-
}
|
|
524
|
-
/**
|
|
525
|
-
* Turn exact AgentProfileDiffs from any source into full profile candidates for
|
|
526
|
-
* the shared optimization loop. Research, catalogs, humans, and trace miners
|
|
527
|
-
* differ only in `proposeDiffs`; measurement and promotion stay identical.
|
|
528
|
-
*/
|
|
529
|
-
declare function profileDiffProposer<TFindings = unknown>(options: ProfileDiffProposerOptions<TFindings>): SurfaceProposer<TFindings>;
|
|
530
|
-
|
|
531
521
|
/**
|
|
532
522
|
*
|
|
533
523
|
* `rawTraceDistiller` — the meta-harness `analyzeGeneration` producer.
|
|
@@ -585,10 +575,11 @@ interface RawTraceDistillerOptions {
|
|
|
585
575
|
* FILESYSTEM CONTEXT — paths into the prior generation's real run traces plus a
|
|
586
576
|
* grep/cat-to-diagnose instruction — instead of a pre-summarized digest.
|
|
587
577
|
*
|
|
588
|
-
* Drop-in for `
|
|
578
|
+
* Drop-in for `analyzeGeneration` on `improve({ surface: 'code' })`:
|
|
589
579
|
*
|
|
590
|
-
* await improve(
|
|
580
|
+
* await improve({
|
|
591
581
|
* surface: 'code',
|
|
582
|
+
* findings: seedFindings,
|
|
592
583
|
* code: { repoRoot },
|
|
593
584
|
* runDir: '/abs/run', // MUST be a real path — the traces live here
|
|
594
585
|
* analyzeGeneration: rawTraceDistiller(),
|
|
@@ -605,9 +596,8 @@ declare function rawTraceDistiller<TScenario extends Scenario = Scenario, TArtif
|
|
|
605
596
|
* the candidate worktree. `maxShots` is ignored — reflection is single-shot by
|
|
606
597
|
* construction (the patches are already drafted).
|
|
607
598
|
*
|
|
608
|
-
* This is the `shots=1, sandbox=off` setting
|
|
609
|
-
*
|
|
610
|
-
* `shots=N` setting — both plug into the same `improvementDriver`.
|
|
599
|
+
* This is the `shots=1, sandbox=off` code-candidate setting.
|
|
600
|
+
* `agenticGenerator` supplies the multi-shot verify-in-session setting.
|
|
611
601
|
*
|
|
612
602
|
* @experimental
|
|
613
603
|
*/
|
|
@@ -618,60 +608,13 @@ interface ReflectiveGeneratorOptions {
|
|
|
618
608
|
/** Cheap no-sandbox `CandidateGenerator` (the `shots=1` setting): draft surface edits via the improvement adapter and apply them as one coherent candidate. */
|
|
619
609
|
declare function reflectiveGenerator(opts: ReflectiveGeneratorOptions): CandidateGenerator;
|
|
620
610
|
|
|
621
|
-
/**
|
|
622
|
-
* `rolloutPolicyProposer` — the `'rollout-policy'` surface for `improve()`: the
|
|
623
|
-
* inference-time `StructuralRolloutPolicy` dials { k, repairRounds, testgen } as a
|
|
624
|
-
* held-out-gated optimizable surface.
|
|
625
|
-
*
|
|
626
|
-
* Why this seam: agent-eval's loop contract is already generic — `MutableSurface`
|
|
627
|
-
* admits any string, documented as "serialized tool config" — so the policy rides
|
|
628
|
-
* the SAME serialize→propose→gate→parse-back cycle the tools/mcp/hooks surfaces
|
|
629
|
-
* use. No agent-eval changes; the only net-new piece is this proposer.
|
|
630
|
-
*
|
|
631
|
-
* Why deterministic: prompt-wording proposals are a measured zero on this stack,
|
|
632
|
-
* and the policy space is tiny and fully enumerable. The proposer emits bounded
|
|
633
|
-
* single-dial neighbors (k±2 in [1,10], repairRounds±1 in [0,3], testgen±3 in
|
|
634
|
-
* [0,10], ≤4 per generation) and lets the held-out gate do ALL the deciding — an
|
|
635
|
-
* LLM proposer would add cost and nondeterminism with nothing to reason about.
|
|
636
|
-
*
|
|
637
|
-
* Persistence: the policy lives in `profile.extensions['structural-rollout']`
|
|
638
|
-
* (AgentProfile's designed slot for runtime-specific config). A gated winner is
|
|
639
|
-
* written back there by `improve()`, the same profile-field write-back every other
|
|
640
|
-
* config surface gets; `structuralRolloutPolicyFromProfile` is the read side a
|
|
641
|
-
* runtime caller feeds to `structuralRollout({ policy })`.
|
|
642
|
-
*
|
|
643
|
-
* @experimental
|
|
644
|
-
*/
|
|
611
|
+
/** Serialize and apply Runtime's structural rollout profile coordinate. */
|
|
645
612
|
|
|
646
613
|
/** The profile extensions namespace the policy persists under. */
|
|
647
614
|
declare const ROLLOUT_POLICY_EXTENSION = "structural-rollout";
|
|
648
|
-
/**
|
|
649
|
-
*
|
|
650
|
-
*
|
|
651
|
-
* the measured increment flattens (+1–3pp beyond round 2). */
|
|
652
|
-
declare const ROLLOUT_POLICY_BOUNDS: {
|
|
653
|
-
readonly k: {
|
|
654
|
-
readonly min: 1;
|
|
655
|
-
readonly max: 10;
|
|
656
|
-
readonly step: 2;
|
|
657
|
-
};
|
|
658
|
-
readonly repairRounds: {
|
|
659
|
-
readonly min: 0;
|
|
660
|
-
readonly max: 3;
|
|
661
|
-
readonly step: 1;
|
|
662
|
-
};
|
|
663
|
-
readonly testgen: {
|
|
664
|
-
readonly min: 0;
|
|
665
|
-
readonly max: 10;
|
|
666
|
-
readonly step: 3;
|
|
667
|
-
};
|
|
668
|
-
};
|
|
669
|
-
/** Parse a serialized policy surface. Defensive by design — the proposer reads
|
|
670
|
-
* `ctx.currentSurface`, which the loop types as `string | CodeSurface`. Returns
|
|
671
|
-
* `undefined` (never throws) for non-strings, malformed JSON, or a shape that
|
|
672
|
-
* violates the policy's own invariants: the no-op signal. Unknown dials are
|
|
673
|
-
* dropped; `diverse`/`temperature` ride through untouched (the proposer never
|
|
674
|
-
* mutates them — `diverse` is a measured paired null). */
|
|
615
|
+
/** Parse a serialized policy surface. Returns `undefined` for non-strings,
|
|
616
|
+
* malformed JSON, or values outside the policy invariants. Unknown fields are
|
|
617
|
+
* dropped; supported optional fields are preserved. */
|
|
675
618
|
declare function parseRolloutPolicy(surface: MutableSurface): StructuralRolloutPolicy | undefined;
|
|
676
619
|
/** Normalize an untyped policy bag (a parsed surface or a profile extension) into
|
|
677
620
|
* a full `StructuralRolloutPolicy`, defaults merged. Returns `undefined` when any
|
|
@@ -679,32 +622,13 @@ declare function parseRolloutPolicy(surface: MutableSurface): StructuralRolloutP
|
|
|
679
622
|
* k ≥ 1, repairRounds ≥ 0, testgen ≥ 0) — a corrupt config must read as "not
|
|
680
623
|
* configured", never as a fabricated recipe. */
|
|
681
624
|
declare function normalizeRolloutPolicy(raw: unknown): StructuralRolloutPolicy | undefined;
|
|
682
|
-
/** Stable serialization
|
|
683
|
-
* identical surfaces (the loop dedupes/hashes candidates by surface content). */
|
|
625
|
+
/** Stable serialization with fixed field order. */
|
|
684
626
|
declare function serializeRolloutPolicy(policy: StructuralRolloutPolicy): string;
|
|
685
627
|
/** Read the persisted policy off the profile. `undefined` when the profile does
|
|
686
|
-
* not opt into structural rollout
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
* mutates the input profile (the applyWinnerToProfile contract). */
|
|
691
|
-
declare function applyRolloutPolicyToProfile(profile: AgentProfile, policy: StructuralRolloutPolicy): AgentProfile;
|
|
692
|
-
/** All bounded single-dial neighbors of `policy`, in a fixed priority order: k
|
|
693
|
-
* first (selection breadth carries 85–92% of the measured effect), then
|
|
694
|
-
* repairRounds, then testgen. Steps clamp to the dial's bounds; clamped-to-no-op
|
|
695
|
-
* and duplicate policies are dropped. */
|
|
696
|
-
declare function enumerateNeighborPolicies(policy: StructuralRolloutPolicy): StructuralRolloutPolicy[];
|
|
697
|
-
/**
|
|
698
|
-
* The deterministic `SurfaceProposer` for the `'rollout-policy'` surface.
|
|
699
|
-
*
|
|
700
|
-
* Each generation: parse the current policy surface, enumerate its bounded
|
|
701
|
-
* single-dial neighbors, and return at most `min(populationSize, 4)` of them,
|
|
702
|
-
* rotating the enumeration window by generation so successive generations explore
|
|
703
|
-
* different neighbors when nothing promoted. Proposes NOTHING when the surface
|
|
704
|
-
* carries no policy (the profile never opted in) — an empty proposal is the
|
|
705
|
-
* loop-native no-op, mirroring `improvementDriver`'s no-findings behavior.
|
|
706
|
-
*/
|
|
707
|
-
declare function rolloutPolicyProposer(): SurfaceProposer;
|
|
628
|
+
* not opt into structural rollout. */
|
|
629
|
+
declare function structuralRolloutPolicyFromProfile(profile: ReadonlyAgentProfile): StructuralRolloutPolicy | undefined;
|
|
630
|
+
/** Persist a detached policy under the profile extension without mutating the input. */
|
|
631
|
+
declare function applyRolloutPolicyToProfile(profile: ReadonlyAgentProfile, policy: StructuralRolloutPolicy): AgentProfile;
|
|
708
632
|
|
|
709
633
|
/**
|
|
710
634
|
*
|
|
@@ -1131,4 +1055,4 @@ interface StreamToolLoopOptions<Raw> {
|
|
|
1131
1055
|
* `capped` if it stops for any non-completed reason with calls still pending. */
|
|
1132
1056
|
declare function streamToolLoop<Raw>(opts: StreamToolLoopOptions<Raw>): AsyncGenerator<StreamToolLoopYield<Raw>, void, unknown>;
|
|
1133
1057
|
|
|
1134
|
-
export { AgentBackendInput, type AgentBackendKind, AgentExecutionBackend, AgentTaskRunResult, BackendTransportError,
|
|
1058
|
+
export { AgentBackendInput, type AgentBackendKind, AgentExecutionBackend, AgentTaskRunResult, BackendTransportError, CandidateGenerator, type ChatStreamEvent, type ChatTurnHooks, type ChatTurnIdentity, type ChatTurnProducer, type ChatTurnResult, DEFAULT_ROUTER_BASE_URL, type DriverLoopGeneratorOptions, ImproveCandidateValidationInput, ImproveCodeResult, ImproveCodeRunOptions, ImproveMethodFactory, ImproveMethodOptions, ImproveMethodResult, InMemoryRuntimeSessionStore, LIFTED_FINDING_ANALYST_ID, type McpServeSpec, type ModelInfo, type OfficialGepaOptions, type OfficialOptimizerContextOptions, OfficialOptimizerUnavailableError, type OfficialSensitiveCandidateInput, type OfficialSkillOptOptions, PlannerError, ROLLOUT_POLICY_EXTENSION, type RawTraceDistillerOptions, ReadonlyAgentProfile, type ReflectiveGeneratorOptions, type ResolveAgentBackendOptions, type ResolvedChatModel, type RouterEnv, type RunChatTurnInput, type RunToolLoopOptions, RuntimeHooks, RuntimeRunStateError, RuntimeSessionStore, RuntimeStreamEvent, RuntimeTelemetryOptions, type StreamToolLoopOptions, type StreamToolLoopYield, type ToAnalystFindingsOptions, type ToolCallOutcome, type ToolLoopAssistantToolCall, type ToolLoopCall, type ToolLoopEvent, type ToolLoopMessage, type ToolLoopResult, type ToolLoopStopReason, Verifier, applyRolloutPolicyToProfile, applyRunRecordDefaults, buildDriverSystem, cleanModelId, createOpenAICompatibleBackend, decideKnowledgeReadiness, deriveExecutionId, driverLoopGenerator, findingLines, getModels, handleChatTurn, improve, isAnalystFinding, mcpBuildPrompt, mcpServeVerifier, normalizeRolloutPolicy, officialGepa, officialSkillOpt, optimizerMethod, parseRolloutPolicy, rawTraceDistiller, readinessServerSentEvent, reflectiveGenerator, researchDriverNote, resolveAgentBackend, resolveChatModel, resolveRouterBaseUrl, runAgentTask, runAgentTaskStream, runToolLoop, runtimeStreamServerSentEvent, serializeRolloutPolicy, strategyAuthorMethod, streamToolLoop, structuralRolloutPolicyFromProfile, toAnalystFindings, toolBuildPrompt, validateChatModelId };
|