@tangle-network/agent-runtime 0.198.2 → 0.200.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.
Files changed (62) hide show
  1. package/dist/{activation-DFRTurvU.d.ts → activation-BPxs-Iu2.d.ts} +4 -2
  2. package/dist/{activation-IBEVN3VI.js → activation-Ct-BTTzF.js} +2 -2
  3. package/dist/{activation-IBEVN3VI.js.map → activation-Ct-BTTzF.js.map} +1 -1
  4. package/dist/agent.d.ts +1 -1
  5. package/dist/agent.js +2 -3
  6. package/dist/agent.js.map +1 -1
  7. package/dist/analyst-loop-DZw5QWT9.js +176 -0
  8. package/dist/analyst-loop-DZw5QWT9.js.map +1 -0
  9. package/dist/analyst-loop.d.ts +1 -11
  10. package/dist/analyst-loop.js +2 -2
  11. package/dist/{coordination-driver-NFvZ5ofi.js → coordination-driver-qdAwriPV.js} +8 -5
  12. package/dist/{coordination-driver-NFvZ5ofi.js.map → coordination-driver-qdAwriPV.js.map} +1 -1
  13. package/dist/{delegate-dN5yooEj.js → delegate-BWHG-zZW.js} +2 -2
  14. package/dist/{delegate-dN5yooEj.js.map → delegate-BWHG-zZW.js.map} +1 -1
  15. package/dist/durable.d.ts +2 -2
  16. package/dist/durable.js +2 -2
  17. package/dist/{graph-CgCVtMuz.js → graph-cCqKhLqz.js} +3 -3
  18. package/dist/{graph-CgCVtMuz.js.map → graph-cCqKhLqz.js.map} +1 -1
  19. package/dist/{improvement-cycle-Cfu6kDOs.js → improvement-cycle-yia1ST3c.js} +17 -7
  20. package/dist/improvement-cycle-yia1ST3c.js.map +1 -0
  21. package/dist/{index-CMTUgh-T.d.ts → index-Br191WbE.d.ts} +190 -142
  22. package/dist/index.d.ts +4 -4
  23. package/dist/index.js +20 -46
  24. package/dist/index.js.map +1 -1
  25. package/dist/intelligence.d.ts +13 -104
  26. package/dist/intelligence.js +7 -406
  27. package/dist/intelligence.js.map +1 -1
  28. package/dist/kernel.d.ts +3 -3
  29. package/dist/kernel.js +8 -9
  30. package/dist/{loop-runner-bin-CAf1OQot.d.ts → loop-runner-bin-BNRdsDOn.d.ts} +3 -3
  31. package/dist/{loop-runner-bin-WQniYJ8C.js → loop-runner-bin-jQ8hXO9J.js} +4 -4
  32. package/dist/{loop-runner-bin-WQniYJ8C.js.map → loop-runner-bin-jQ8hXO9J.js.map} +1 -1
  33. package/dist/loop-runner-bin.d.ts +1 -1
  34. package/dist/loop-runner-bin.js +1 -1
  35. package/dist/mcp/bin.js +3 -3
  36. package/dist/mcp/index.d.ts +2 -2
  37. package/dist/mcp/index.js +4 -4
  38. package/dist/{provision-supervisor-BxsIaJ35.js → provision-supervisor-BA2-GPth.js} +3 -3
  39. package/dist/{provision-supervisor-BxsIaJ35.js.map → provision-supervisor-BA2-GPth.js.map} +1 -1
  40. package/dist/{redact-DqfB7oB4.js → redact-h-oaw11Q.js} +13098 -11222
  41. package/dist/redact-h-oaw11Q.js.map +1 -0
  42. package/dist/{runtime-CHEtvaTY.js → runtime-DeqdBVeC.js} +8 -9
  43. package/dist/{runtime-CHEtvaTY.js.map → runtime-DeqdBVeC.js.map} +1 -1
  44. package/dist/{server-ccGua5tH.js → server-U_k9NUbk.js} +3 -3
  45. package/dist/{server-ccGua5tH.js.map → server-U_k9NUbk.js.map} +1 -1
  46. package/dist/{stream-agent-turn-CLOQr497.d.ts → stream-agent-turn-CJWthifS.d.ts} +42 -13
  47. package/dist/{structural-rollout-BmDuXyR9.js → structural-rollout-BcMmrpv4.js} +2 -3
  48. package/dist/{structural-rollout-BmDuXyR9.js.map → structural-rollout-BcMmrpv4.js.map} +1 -1
  49. package/dist/{supervise-DVt8-TI-.js → supervise-DmFO50N6.js} +497 -90
  50. package/dist/supervise-DmFO50N6.js.map +1 -0
  51. package/dist/testing.d.ts +2 -2
  52. package/dist/testing.js +12 -12
  53. package/dist/tui/index.d.ts +1 -1
  54. package/dist/tui/index.js +1 -1
  55. package/package.json +3 -3
  56. package/dist/analyst-loop-BknOQUW5.js +0 -546
  57. package/dist/analyst-loop-BknOQUW5.js.map +0 -1
  58. package/dist/improvement-cycle-Cfu6kDOs.js.map +0 -1
  59. package/dist/redact-DqfB7oB4.js.map +0 -1
  60. package/dist/sandbox-events-DbC2WKKS.js +0 -929
  61. package/dist/sandbox-events-DbC2WKKS.js.map +0 -1
  62. package/dist/supervise-DVt8-TI-.js.map +0 -1
@@ -1,9 +1,9 @@
1
1
  import { at as RuntimeStreamEvent, b as LoopTraceEvent } from "./types-Q0PMagdm.js";
2
2
  import { d as RunAnalystLoopOpts, f as RunAnalystLoopResult } from "./types-zWfqDjeL.js";
3
- import { $n as defaultRedactor, Cn as ToolSpec, Ji as RuntimeTelemetryOptions, Qn as Redactor, at as AgentEnvironmentProviderRef, er as resolveRedactor, ot as AgentEnvironmentProviderRegistry } from "./stream-agent-turn-CLOQr497.js";
3
+ import { $n as defaultRedactor, Cn as ToolSpec, Ji as RuntimeTelemetryOptions, Qn as Redactor, at as AgentEnvironmentProviderRef, er as resolveRedactor, ot as AgentEnvironmentProviderRegistry } from "./stream-agent-turn-CJWthifS.js";
4
4
  import { D as AgentCandidateRunFinalization, O as AgentCandidateTaskExecution, a as AgentCandidateExecutionPorts, c as AgentCandidateExecutorPort, r as AgentCandidateBenchmarkGraderPort, y as AgentCandidateOutputArtifactPort } from "./types-1s_29INY.js";
5
5
  import { T as AgentCandidateExecutionClaimStore, _ as PrepareAgentCandidateExecutionOptions, o as CreateProtectedAgentCandidateModelPortOptions, p as parseAgentCandidateProfileActivation, y as ExecutePreparedAgentCandidateOptions } from "./protected-model-port-BtXp2dUY.js";
6
- import { A as ImproveMethodResult, L as ImproveResult, N as ImproveOptions, a as AgentImprovementActivationTransitionInput, c as CreateAgentImprovementActivationResultOptions, d as ProfileImprovementActivationTransitionInput, f as SealedCandidateActivationTransitionInput, h as verifyAgentImprovementActivationResult, i as AgentImprovementActivationTransition, k as ImproveMethodOptions, l as ExecuteAgentImprovementActivationInput, m as executeAgentImprovementActivation, n as AgentImprovementActivationResultStore, o as AgentProfileImprovementActivationOperation, p as createAgentImprovementActivationResult, r as AgentImprovementActivationTargetPlan, s as AgentProfileImprovementActivationTargetPlan, t as AgentImprovementActivationReconciliation, u as ExecuteAgentImprovementActivationOptions, z as ImproveScenarioPartitions } from "./activation-DFRTurvU.js";
6
+ import { A as ImproveMethodResult, L as ImproveResult, N as ImproveOptions, a as AgentImprovementActivationTransitionInput, c as CreateAgentImprovementActivationResultOptions, d as ProfileImprovementActivationTransitionInput, f as SealedCandidateActivationTransitionInput, h as verifyAgentImprovementActivationResult, i as AgentImprovementActivationTransition, k as ImproveMethodOptions, l as ExecuteAgentImprovementActivationInput, m as executeAgentImprovementActivation, n as AgentImprovementActivationResultStore, o as AgentProfileImprovementActivationOperation, p as createAgentImprovementActivationResult, r as AgentImprovementActivationTargetPlan, s as AgentProfileImprovementActivationTargetPlan, t as AgentImprovementActivationReconciliation, u as ExecuteAgentImprovementActivationOptions, z as ImproveScenarioPartitions } from "./activation-BPxs-Iu2.js";
7
7
  import { AgentCandidateBenchmarkCellRef, AgentCandidateBundle, AgentCandidateEvaluationPolicy, AgentCandidateExperiment, AgentCandidateExperimentMaterial, AgentCandidateExperimentMeasurement, AgentCandidateLineage, AgentCandidateProfileActivation as CandidateProfileMaterialization, AgentImprovementActivation, AgentImprovementActivation as AgentImprovementActivation$1, AgentImprovementActivationIntent, AgentImprovementActivationIntent as AgentImprovementActivationIntent$1, AgentImprovementActivationOutcome, AgentImprovementActivationResult, AgentImprovementActivationTarget, AgentImprovementActivationTargetState, AgentImprovementActivationTargetTransition, AgentImprovementEvaluation, AgentImprovementEvaluation as AgentImprovementEvaluation$1, AgentImprovementMeasuredComparison, AgentImprovementMeasuredComparison as AgentImprovementMeasuredComparison$1, AgentImprovementProposal, AgentImprovementProposal as AgentImprovementProposal$1, AgentImprovementReview, AgentImprovementReview as AgentImprovementReview$1, AgentImprovementReviewDecision, AgentImprovementReviewDecision as AgentImprovementReviewDecision$1, AgentImprovementSource, AgentImprovementSurface, AgentProfile, AgentProfileDiff, AgentProfileImprovementChange, AgentProfileImprovementExecutionRef, AgentProfileImprovementExperiment, AgentProfileImprovementMeasuredComparison, AgentProfileImprovementMeasurement, AgentProfileImprovementRunReceipt, AgentProfileImprovementTaskMaterial, AgentProfileMcpServer, CandidateExecutionEvidence, CandidateExecutionEvidence as CandidateExecutionEvidence$1, Sha256Digest } from "@tangle-network/agent-interface";
8
8
  import { CostLedgerHandle, TraceStore } from "@tangle-network/agent-eval";
9
9
  import { ProposalFinding as ProposalFinding$1 } from "@tangle-network/agent-eval/analyst";
@@ -657,8 +657,7 @@ interface CertifiedPromptSourceOptions extends PullCertifiedOptions {
657
657
  declare function createCertifiedPromptSource(opts: CertifiedPromptSourceOptions): CertifiedPromptSource;
658
658
  //#endregion
659
659
  //#region src/intelligence/capability.d.ts
660
- /** A JSON Schema object describing a tool's parameters. Kept structural — the
661
- * resolver forwards it verbatim into a `ToolSpec` / MCP `tools/list` check. */
660
+ /** A structural JSON Schema object describing a tool's parameters. */
662
661
  type JsonSchema = Record<string, unknown>;
663
662
  /**
664
663
  * What the agent consumes. CLOSED — a new runtime kind NEVER extends this. Each
@@ -692,7 +691,7 @@ type CapabilityInterface = {
692
691
  name: string;
693
692
  description?: string;
694
693
  };
695
- /** Every interface surface tag the closed set the resolver fans into slots. */
694
+ /** Every interface surface tag supported by the manifest schema. */
696
695
  type CapabilitySurface = CapabilityInterface['surface'];
697
696
  /**
698
697
  * Where a capability's bytes live. A leaked manifest carries no live secret and
@@ -718,7 +717,7 @@ interface CredentialRef {
718
717
  }
719
718
  /**
720
719
  * How a binding authenticates at resolve time. Declared as a REQUIREMENT in the
721
- * manifest; the live secret is resolved per-tenant by the resolver context,
720
+ * manifest; the consumer resolves the live secret per tenant,
722
721
  * never inlined here.
723
722
  */
724
723
  type CapabilityAuth = {
@@ -748,9 +747,8 @@ interface HostSpec {
748
747
  costTag?: string;
749
748
  }
750
749
  /**
751
- * How a capability is backed. OPEN tagged union — THE extension point. All arms
752
- * are typed even when the resolver does not yet admit them; an un-admitted arm
753
- * throws {@link CapabilityNotAdmittedError} at resolve, never silently no-ops.
750
+ * Describes how a capability is backed.
751
+ * Consumers must admit a binding before executing it.
754
752
  */
755
753
  type DeliveryBinding = {
756
754
  kind: 'inline';
@@ -805,7 +803,7 @@ type DeliveryBinding = {
805
803
  card: ContentRef;
806
804
  auth?: CapabilityAuth;
807
805
  };
808
- /** Every binding kind the open set the resolver dispatches over. */
806
+ /** Every binding kind represented by the manifest schema. */
809
807
  type DeliveryBindingKind = DeliveryBinding['kind'];
810
808
  /**
811
809
  * The certify lane's held-out lift travelling WITH delivery. The shipped
@@ -814,7 +812,7 @@ type DeliveryBindingKind = DeliveryBinding['kind'];
814
812
  * the author.
815
813
  *
816
814
  * `sourcePath` is the artifact's ORIGINAL path (including `null`). It is the
817
- * byte-stable fold sort key — the resolver folds context artifacts in
815
+ * byte-stable fold sort key — consumers can fold context artifacts in
818
816
  * `composeCertifiedPrompt` order, which sorts by `path ?? ''`, so a `null` path
819
817
  * is load-bearing and MUST round-trip exactly. It is distinct from a context
820
818
  * `iface.name` (display only): collapsing the two flips the fold order for a
@@ -867,12 +865,7 @@ interface ResolvedSubagent {
867
865
  description?: string;
868
866
  prompt?: string;
869
867
  }
870
- /**
871
- * What `composeCertifiedProfile` produces. Every binding fans into the same
872
- * slots, consumed identically by the in-process seam (`RouterToolsSeam.{tools,
873
- * executeToolCall}` + folded prompt) and the sandbox seam (`AgentProfile`).
874
- * `dispose()` tears provisioned hosts down in REVERSE dependency order.
875
- */
868
+ /** Materialized capability surfaces supplied by a consumer-owned executor. */
876
869
  interface ResolvedSurface {
877
870
  /** Host-side tool defs → `RouterToolsSeam.tools` / agent-app `extraTools`. */
878
871
  tools: ToolSpec[];
@@ -902,10 +895,7 @@ interface ResolvedSurface {
902
895
  dispose(): Promise<void>;
903
896
  }
904
897
  /**
905
- * A binding kind whose resolver case is typed but not yet admitted (rag-index,
906
- * memory-store, wasm, a2a). Thrown by the resolver — NEVER faked into a working
907
- * surface. The TYPE arms exist so the union is closed against the spec; the
908
- * resolver grows them later behind their lifecycle + admission gate.
898
+ * A consumer rejected a binding that its executor does not admit.
909
899
  */
910
900
  declare class CapabilityNotAdmittedError extends Error {
911
901
  readonly kind: DeliveryBindingKind;
@@ -917,7 +907,7 @@ declare class CapabilityNotAdmittedError extends Error {
917
907
  * `prompt-surface`/`skill` artifacts → `context`/inline capabilities (the
918
908
  * shipped fold, generalized); any other artifact type → best-effort binding
919
909
  * inference. `promptSurface` is carried through so
920
- * the resolver folds it first, exactly as `composeCertifiedPrompt` does today.
910
+ * `composeCertifiedPrompt` folds it before other prompt artifacts.
921
911
  * This delivers the spine against today's wire before the plane changes.
922
912
  */
923
913
  declare function manifestFromProfile(profile: CertifiedProfile): CapabilityManifest;
@@ -1034,87 +1024,6 @@ declare function createOptimizationActivationReceipt(improvement: ImproveMethodR
1034
1024
  /** Read and verify the optimizer evidence carried by a measured proposal. */
1035
1025
  declare function optimizationActivationReceiptFromMetadata(metadata: AgentImprovementMeasuredComparison$1['metadata']): OptimizationActivationReceipt | undefined;
1036
1026
  //#endregion
1037
- //#region src/intelligence/resolver.d.ts
1038
- /** A live, provisioned host the resolver tore up for a `process-on-infra` arm.
1039
- * `teardown()` runs at `dispose()` in reverse provisioning order. */
1040
- interface ProvisionedHost {
1041
- /** Lower the inner binding's mcp connection now that the host is up; the URL/
1042
- * command points at the host. Absent when the host serves a non-mcp inner. */
1043
- mcpConnection?: AgentProfileMcpServer;
1044
- teardown(): Promise<void>;
1045
- }
1046
- /**
1047
- * Per-call, per-tenant context the resolver reads. Everything that touches the
1048
- * network, a secret, or an infra provisioner is INJECTED so the manifest carries
1049
- * no live secret and the substrate-free caller wires only what it can host.
1050
- */
1051
- interface ResolveCtx {
1052
- /** Stable tenant id — namespaces billing + teardown (`tenant#target`). */
1053
- tenant?: string;
1054
- /** fetch impl for http tools. Defaults to global fetch; absent ⇒ http tools fail loud. */
1055
- fetchImpl?: typeof fetch;
1056
- /**
1057
- * Resolve a declared credential to a live secret for THIS tenant. Returns a
1058
- * typed outcome — inspect `succeeded` before `value`. Absent ⇒ a binding that
1059
- * declares non-`none` auth fails loud (never a request with no credential).
1060
- */
1061
- resolveSecret?: (auth: CapabilityAuth, tenant: string | undefined) => Promise<{
1062
- succeeded: true;
1063
- value: string;
1064
- } | {
1065
- succeeded: false;
1066
- error: string;
1067
- }>;
1068
- /**
1069
- * Run a `sandbox-code` body per call. Injected by the host that owns a sandbox
1070
- * client (the spine does not import the sandbox executor). Absent ⇒
1071
- * `sandbox-code` bindings fail loud.
1072
- */
1073
- runSandboxCode?: (code: ContentRef, entry: string, args: Record<string, unknown>, task: unknown) => Promise<string>;
1074
- /**
1075
- * Provision a host for a `process-on-infra` binding, then serve the inner
1076
- * binding inside it. Injected by the host that owns `createExecutor`. Absent ⇒
1077
- * `process-on-infra` bindings fail loud. The provider resolves the inner
1078
- * binding INSIDE the host and returns the connection + a teardown.
1079
- */
1080
- provisionHost?: (host: HostSpec, inner: DeliveryBinding, costTag: string) => Promise<ProvisionedHost>;
1081
- /**
1082
- * Drift probe: return the LIVE tool names a resolved surface exposes for a
1083
- * given capability id (a `tools/list` over an mcp connection, the agent's
1084
- * actual registered tool names for a host tool). When present, the post-resolve
1085
- * drift check drops any tool/mcp whose live names diverge from the certified
1086
- * interface — the only callable surfaces are gate-blessed ones. Absent ⇒ the
1087
- * check enforces only the host-side executor↔spec parity (no live probe).
1088
- */
1089
- probeLiveToolNames?: (capabilityId: string) => Promise<string[]>;
1090
- /**
1091
- * Observe a DROPPED capability — a per-capability resolve failure that is
1092
- * fail-closed (the capability is omitted, never half-wired). The drop is the
1093
- * contract; this surfaces the diagnostic so it is never silently erased. NOT
1094
- * called for {@link CapabilityNotAdmittedError} (that rethrows — a manifest
1095
- * carrying an un-admitted binding kind is a hard error, not a soft drop).
1096
- */
1097
- onDrop?: (capabilityId: string, error: Error) => void;
1098
- }
1099
- /**
1100
- * Compose a certified profile into a uniform `ResolvedSurface`. Additive over
1101
- * `composeCertifiedPrompt`: the inline/context fold is delegated to
1102
- * `composeCertifiedPrompt` so the byte-stable ordering (prompt surface first,
1103
- * then type alphabetic, then path locale-compare) is reused EXACTLY — the
1104
- * prompt-only path is a strict subset of this.
1105
- *
1106
- * Fail-closed: a `null` manifest returns the base surface only.
1107
- */
1108
- declare function composeCertifiedProfile(base: {
1109
- systemPrompt: string;
1110
- }, manifest: CapabilityManifest | null, ctx?: ResolveCtx): Promise<ResolvedSurface>;
1111
- /** Lower a plane `CertifiedProfile` straight into a `ResolvedSurface` via
1112
- * `manifestFromProfile` — the convenience the shipped pull lane calls when it
1113
- * already holds a `CertifiedProfile` (today's wire) rather than a manifest. */
1114
- declare function composeCertifiedProfileFromWire(base: {
1115
- systemPrompt: string;
1116
- }, profile: CertifiedProfile | null, ctx?: ResolveCtx): Promise<ResolvedSurface>;
1117
- //#endregion
1118
1027
  //#region src/intelligence/with-intelligence.d.ts
1119
1028
  /** What the hook hands the agent each run. Additive over the prompt-only
1120
1029
  * delivery: `composePrompt` folds the certified prompt surface (as before);
@@ -1446,5 +1355,5 @@ interface DoctorReport {
1446
1355
  */
1447
1356
  declare function createIntelligenceClient(config: IntelligenceConfig): IntelligenceClient;
1448
1357
  //#endregion
1449
- export { AGENT_IMPROVEMENT_PROFILE_SURFACES, AGENT_PROFILE_MEASURED_SURFACES, type AgentCandidateExecutionHostPorts, AgentCandidateExperimentCellExecutionError, type AgentCandidateExperimentCellPlacement, type AgentImprovementActivation, type AgentImprovementActivationIntent, type AgentImprovementActivationOutcome, type AgentImprovementActivationReconciliation, type AgentImprovementActivationResult, type AgentImprovementActivationResultStore, type AgentImprovementActivationTargetIdentity, type AgentImprovementActivationTargetPlan, type AgentImprovementActivationTransition, type AgentImprovementActivationTransitionInput, type AgentImprovementAnalysisOptions, type AgentImprovementEvaluation, type AgentImprovementExperimentMaterial, type AgentImprovementMeasuredComparison, type AgentImprovementProfileActivationInput, type AgentImprovementProfileActivationPreparation, type AgentImprovementProfileActivationTarget, type AgentImprovementProfileReplacement, type AgentImprovementProfileStateDigest, type AgentImprovementProfileStateDigestInput, type AgentImprovementProfileStateResolver, type AgentImprovementProfileStateResolverInput, type AgentImprovementProfileSurface, type AgentImprovementProfileTargetState, type AgentImprovementProfileTargetTransition, type AgentImprovementProposal, type AgentImprovementProposalSubmissionState, type AgentImprovementReview, type AgentImprovementReviewDecision, type AgentImprovementTargetProfileDiffOptions, type AgentProfileCandidateMeasurementExecutor, type AgentProfileImprovementActivationOperation, type AgentProfileImprovementActivationTargetPlan, type AgentProfileImprovementBenchmark, type AgentProfileImprovementExecutor, type AgentProfileImprovementMethodOptions, type AgentProfileMeasuredSurface, type AppliedIntelligence, type AuthoredAgentProfileCandidateLineage, type AuthoredAgentProfileDiffOptions, type CandidateExecutionEvidence, type CandidateProfileMaterialization, type CapabilityAuth, type CapabilityInterface, type CapabilityManifest, CapabilityNotAdmittedError, type CapabilitySurface, type CertProvenance, type CertifiedArtifact, type CertifiedCapability, type CertifiedCapabilitySummary, type CertifiedProfile, type CertifiedPromptSource, type CertifiedPromptSourceOptions, type CertifiedPromptSurface, type ContentRef, type CorpusAccess, type CreateAgentImprovementActivationOptions, type CreateAgentImprovementActivationResultOptions, type CreateAgentImprovementProposalOptions, type CreateExactProcessCandidateExperimentExecutorOptions, type CreateProtectedExactProcessCandidateExperimentExecutorOptions, type CredentialRef, type DeliveryBinding, type DeliveryBindingKind, type DiffProvenance, DoctorReport, type EffortOverrides, type EffortOverridesCompiled, type EffortSettings, type EffortTier, type ExactProcessCandidateExperimentExecution, type ExactProcessCandidateExperimentExecutor, type ExecuteAgentCandidateExperimentCellOptions, type ExecuteAgentImprovementActivationInput, type ExecuteAgentImprovementActivationOptions, type HostSpec, type IntelligenceAgent, IntelligenceClient, IntelligenceConfig, type IntelligenceHookConfig, type IntelligenceWrapped, type JsonSchema, ModeReadiness, type OptimizationActivationReceipt, type OptimizationReceiptCost, type ProfileImprovementActivationTransitionInput, type ProposeAgentImprovementOptions, type ProposeAgentImprovementResult, type ProposeAgentProfileImprovementOptions, type ProposeAgentProfileImprovementResult, type ProposeAuthoredAgentProfileImprovementOptions, type ProposeAuthoredAgentProfileImprovementResult, type ProposedProfileDiff, type ProtectedExactProcessCandidateExperimentExecutor, type ProvisionedHost, type PullCertifiedOptions, type PullOutcome, RecordTraceMeta, type Redactor, RepoConfig, type ResolveCtx, type ResolvedHook, type ResolvedRetrieval, type ResolvedSubagent, type ResolvedSurface, type ReviewAgentImprovementInput, type RunAgentCandidateExperimentOptions, type RunAgentCandidateExperimentResult, RunRecord, RunReport, type SealedCandidateActivationTransitionInput, type SubmitAgentImprovementProposalOptions, type SubmitAgentImprovementProposalOutcome, TraceHandle, TraceMeta, TraceOutcome, UsageSplit, type VerifyCandidateExecutionEvidenceOptions, agentImprovementProfileDiffs, agentImprovementProfileSurfaceDigest, agentImprovementProfileSurfaceInput, agentImprovementTargetProfileDiffs, buildAgentImprovementActivationTargets, compileEffort, composeCertifiedProfile, composeCertifiedProfileFromWire, composeCertifiedPrompt, createAgentImprovementActivation, createAgentImprovementActivationResult, createAgentImprovementMeasuredComparison, createAgentImprovementProposal, createCertifiedPromptSource, createExactProcessCandidateExperimentExecutor, createIntelligenceClient, createOptimizationActivationReceipt, createProtectedExactProcessCandidateExperimentExecutor, defaultEffortTier, defaultRedactor, exactProcessCandidateExperimentExecutionSupport, executeAgentCandidateExperimentCell, executeAgentImprovementActivation, isAgentImprovementProfileSurface, isAgentProfileMeasuredSurface, isIntelligenceOff, manifestFromProfile, normalizeCertifiedProfile, optimizationActivationReceiptFromMetadata, parseAgentCandidateProfileActivation as parseCandidateProfileMaterialization, prepareAgentImprovementProfileActivation, proposeAgentImprovement, proposeAgentProfileImprovement, proposeAuthoredAgentProfileImprovement, pullCertified, resolveEffort, resolveIntelligenceBaseUrl, resolveRedactor, reviewAgentImprovementProposal, runAgentCandidateExperiment, submitAgentImprovementProposal, verifyAgentImprovementActivation, verifyAgentImprovementActivationResult, verifyAgentImprovementProposal, verifyAgentImprovementReview, verifyCandidateExecutionEvidence, withIntelligence };
1358
+ export { AGENT_IMPROVEMENT_PROFILE_SURFACES, AGENT_PROFILE_MEASURED_SURFACES, type AgentCandidateExecutionHostPorts, AgentCandidateExperimentCellExecutionError, type AgentCandidateExperimentCellPlacement, type AgentImprovementActivation, type AgentImprovementActivationIntent, type AgentImprovementActivationOutcome, type AgentImprovementActivationReconciliation, type AgentImprovementActivationResult, type AgentImprovementActivationResultStore, type AgentImprovementActivationTargetIdentity, type AgentImprovementActivationTargetPlan, type AgentImprovementActivationTransition, type AgentImprovementActivationTransitionInput, type AgentImprovementAnalysisOptions, type AgentImprovementEvaluation, type AgentImprovementExperimentMaterial, type AgentImprovementMeasuredComparison, type AgentImprovementProfileActivationInput, type AgentImprovementProfileActivationPreparation, type AgentImprovementProfileActivationTarget, type AgentImprovementProfileReplacement, type AgentImprovementProfileStateDigest, type AgentImprovementProfileStateDigestInput, type AgentImprovementProfileStateResolver, type AgentImprovementProfileStateResolverInput, type AgentImprovementProfileSurface, type AgentImprovementProfileTargetState, type AgentImprovementProfileTargetTransition, type AgentImprovementProposal, type AgentImprovementProposalSubmissionState, type AgentImprovementReview, type AgentImprovementReviewDecision, type AgentImprovementTargetProfileDiffOptions, type AgentProfileCandidateMeasurementExecutor, type AgentProfileImprovementActivationOperation, type AgentProfileImprovementActivationTargetPlan, type AgentProfileImprovementBenchmark, type AgentProfileImprovementExecutor, type AgentProfileImprovementMethodOptions, type AgentProfileMeasuredSurface, type AppliedIntelligence, type AuthoredAgentProfileCandidateLineage, type AuthoredAgentProfileDiffOptions, type CandidateExecutionEvidence, type CandidateProfileMaterialization, type CapabilityAuth, type CapabilityInterface, type CapabilityManifest, CapabilityNotAdmittedError, type CapabilitySurface, type CertProvenance, type CertifiedArtifact, type CertifiedCapability, type CertifiedCapabilitySummary, type CertifiedProfile, type CertifiedPromptSource, type CertifiedPromptSourceOptions, type CertifiedPromptSurface, type ContentRef, type CorpusAccess, type CreateAgentImprovementActivationOptions, type CreateAgentImprovementActivationResultOptions, type CreateAgentImprovementProposalOptions, type CreateExactProcessCandidateExperimentExecutorOptions, type CreateProtectedExactProcessCandidateExperimentExecutorOptions, type CredentialRef, type DeliveryBinding, type DeliveryBindingKind, type DiffProvenance, DoctorReport, type EffortOverrides, type EffortOverridesCompiled, type EffortSettings, type EffortTier, type ExactProcessCandidateExperimentExecution, type ExactProcessCandidateExperimentExecutor, type ExecuteAgentCandidateExperimentCellOptions, type ExecuteAgentImprovementActivationInput, type ExecuteAgentImprovementActivationOptions, type HostSpec, type IntelligenceAgent, IntelligenceClient, IntelligenceConfig, type IntelligenceHookConfig, type IntelligenceWrapped, type JsonSchema, ModeReadiness, type OptimizationActivationReceipt, type OptimizationReceiptCost, type ProfileImprovementActivationTransitionInput, type ProposeAgentImprovementOptions, type ProposeAgentImprovementResult, type ProposeAgentProfileImprovementOptions, type ProposeAgentProfileImprovementResult, type ProposeAuthoredAgentProfileImprovementOptions, type ProposeAuthoredAgentProfileImprovementResult, type ProposedProfileDiff, type ProtectedExactProcessCandidateExperimentExecutor, type PullCertifiedOptions, type PullOutcome, RecordTraceMeta, type Redactor, RepoConfig, type ResolvedHook, type ResolvedRetrieval, type ResolvedSubagent, type ResolvedSurface, type ReviewAgentImprovementInput, type RunAgentCandidateExperimentOptions, type RunAgentCandidateExperimentResult, RunRecord, RunReport, type SealedCandidateActivationTransitionInput, type SubmitAgentImprovementProposalOptions, type SubmitAgentImprovementProposalOutcome, TraceHandle, TraceMeta, TraceOutcome, UsageSplit, type VerifyCandidateExecutionEvidenceOptions, agentImprovementProfileDiffs, agentImprovementProfileSurfaceDigest, agentImprovementProfileSurfaceInput, agentImprovementTargetProfileDiffs, buildAgentImprovementActivationTargets, compileEffort, composeCertifiedPrompt, createAgentImprovementActivation, createAgentImprovementActivationResult, createAgentImprovementMeasuredComparison, createAgentImprovementProposal, createCertifiedPromptSource, createExactProcessCandidateExperimentExecutor, createIntelligenceClient, createOptimizationActivationReceipt, createProtectedExactProcessCandidateExperimentExecutor, defaultEffortTier, defaultRedactor, exactProcessCandidateExperimentExecutionSupport, executeAgentCandidateExperimentCell, executeAgentImprovementActivation, isAgentImprovementProfileSurface, isAgentProfileMeasuredSurface, isIntelligenceOff, manifestFromProfile, normalizeCertifiedProfile, optimizationActivationReceiptFromMetadata, parseAgentCandidateProfileActivation as parseCandidateProfileMaterialization, prepareAgentImprovementProfileActivation, proposeAgentImprovement, proposeAgentProfileImprovement, proposeAuthoredAgentProfileImprovement, pullCertified, resolveEffort, resolveIntelligenceBaseUrl, resolveRedactor, reviewAgentImprovementProposal, runAgentCandidateExperiment, submitAgentImprovementProposal, verifyAgentImprovementActivation, verifyAgentImprovementActivationResult, verifyAgentImprovementProposal, verifyAgentImprovementReview, verifyCandidateExecutionEvidence, withIntelligence };
1450
1359
  //# sourceMappingURL=intelligence.d.ts.map