@constal/sdk 3.8.0 → 3.9.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 CHANGED
@@ -181,6 +181,32 @@ array. Declare its normal `needs` and `maxEffect` when loading uses Resources.
181
181
  source when supplied, and content hash. These are ordinary authorized Tool calls.
182
182
  Skill instructions do not grant additional authority.
183
183
 
184
+ ## Session schedules
185
+
186
+ Schedule a future invocation of the current Agent and Session:
187
+
188
+ ```ts
189
+ await ctx.schedule("check-pr-42", {
190
+ after: "10m",
191
+ input: { kind: "check-pr", repository: "acme/api", pullRequest: 42 },
192
+ });
193
+ ```
194
+
195
+ The current Run can finish. The Session retains the schedule and delivers the
196
+ unchanged input to a new Run when due. Use `every: "15m"` for a fixed cadence, or
197
+ `every: "day", at: "09:00", timezone: "America/Los_Angeles"` for a daily check.
198
+ Recurring schedules preserve missed occurrences by default; explicitly request
199
+ `missed: "coalesce"` when one check should cover an accumulated backlog.
200
+
201
+ `ctx.listSchedules()` pages the owning Session's schedules; calling `schedule()`
202
+ again with the same name replaces future work. `ctx.cancelSchedule(name)` stops
203
+ future work and identifies accepted or unresolved deliveries. Another bound
204
+ Agent can be selected with `agent` and an explicit `session`. Use `ctx.await()`
205
+ for sleeping within the current Run.
206
+
207
+ See [Schedule Agent follow-ups](https://constal.ai/docs/agents/schedules) for replay,
208
+ delivery, authority, and cancellation semantics.
209
+
184
210
  ## Model evaluation
185
211
 
186
212
  `ctx.evaluate` judges one state against typed questions through an evaluation
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@constal/sdk",
3
- "version": "3.8.0",
3
+ "version": "3.9.0",
4
4
  "description": "Public TypeScript SDK for authoring Constal agents, integrations, policies, channels, and credential providers",
5
5
  "keywords": [
6
6
  "constal",
package/publish/api.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "package": "@constal/sdk",
3
- "version": "3.8.0",
3
+ "version": "3.9.0",
4
4
  "exports": [
5
5
  "AGENT_UI_DEFAULTS",
6
6
  "Action",
@@ -222,6 +222,7 @@
222
222
  "LeaseLost",
223
223
  "LedgerAddress",
224
224
  "LedgerEvent",
225
+ "ListSchedulesOptions",
225
226
  "LoadedSkill",
226
227
  "LocalResourceRef",
227
228
  "MCP_CLIENT_CAPABILITY",
@@ -333,6 +334,19 @@
333
334
  "SandboxReadFileResult",
334
335
  "SandboxWorkspace",
335
336
  "SandboxWriteFileResult",
337
+ "Schedule",
338
+ "ScheduleCancellation",
339
+ "ScheduleDuration",
340
+ "ScheduleMissed",
341
+ "ScheduleOccurrence",
342
+ "ScheduleOccurrencePage",
343
+ "ScheduleOptions",
344
+ "SchedulePage",
345
+ "ScheduleState",
346
+ "ScheduleTarget",
347
+ "ScheduleTiming",
348
+ "ScheduleTrigger",
349
+ "ScheduleWhen",
336
350
  "ScopedBindingKey",
337
351
  "ScopedCredentialRef",
338
352
  "ScopedMemoryStoreRef",
@@ -1899,6 +1899,144 @@ declare function noulDecision(answer: NoulAnswer, threshold?: number): boolean;
1899
1899
  /** The nearest whole level of a Score answer. Use the expectation itself only for threshold comparisons. */
1900
1900
  declare function scoreLevel(answer: ScoreAnswer): number;
1901
1901
 
1902
+ /** A fixed elapsed duration, for example "10m", "1h", or "250ms". */
1903
+ type ScheduleDuration = string;
1904
+ type ScheduleMissed = "catch-up" | "coalesce";
1905
+ type ScheduleState = "active" | "completed" | "cancelled";
1906
+ type ScheduleWhen = {
1907
+ after: ScheduleDuration;
1908
+ at?: never;
1909
+ every?: never;
1910
+ timezone?: never;
1911
+ missed?: never;
1912
+ } | {
1913
+ at: string;
1914
+ after?: never;
1915
+ every?: never;
1916
+ timezone?: never;
1917
+ missed?: never;
1918
+ } | {
1919
+ every: ScheduleDuration;
1920
+ after?: never;
1921
+ at?: never;
1922
+ timezone?: never;
1923
+ missed?: ScheduleMissed;
1924
+ } | {
1925
+ every: "day";
1926
+ at: string;
1927
+ timezone: string;
1928
+ after?: never;
1929
+ missed?: ScheduleMissed;
1930
+ };
1931
+ /** Future invocations of this Agent, or an explicitly bound Agent in an explicit Session. */
1932
+ type ScheduleOptions<Input = unknown> = ScheduleWhen & {
1933
+ input: Input;
1934
+ /** Omission selects the current Agent and its normal Session routing. */
1935
+ agent?: CRN;
1936
+ /** Omission selects the current Session. Another Agent requires an explicit Session. */
1937
+ session?: string;
1938
+ };
1939
+ type ScheduleTiming = {
1940
+ kind: "after";
1941
+ milliseconds: number;
1942
+ } | {
1943
+ kind: "at";
1944
+ timestamp: number;
1945
+ } | {
1946
+ kind: "interval";
1947
+ milliseconds: number;
1948
+ } | {
1949
+ kind: "daily";
1950
+ time: string;
1951
+ timezone: string;
1952
+ };
1953
+ interface ScheduleTarget {
1954
+ agent: CRN;
1955
+ session: string;
1956
+ deployment: "session" | "pinned";
1957
+ resourceHash: string | null;
1958
+ }
1959
+ /** Provenance for a scheduled Run, separate from the caller's unchanged input. */
1960
+ interface ScheduleTrigger {
1961
+ occurrenceId: string;
1962
+ name: string;
1963
+ generation: number;
1964
+ scheduledAt: number;
1965
+ through: number;
1966
+ count: number;
1967
+ createdBy: {
1968
+ run: string;
1969
+ position: string;
1970
+ };
1971
+ owner: {
1972
+ tenant: string;
1973
+ namespace: string;
1974
+ agent: string;
1975
+ session: string;
1976
+ };
1977
+ target: ScheduleTarget;
1978
+ }
1979
+ interface ScheduleOccurrence {
1980
+ id: string;
1981
+ name: string;
1982
+ generation: number;
1983
+ /** First scheduled instant covered by this occurrence. */
1984
+ scheduledAt: number;
1985
+ /** Last scheduled instant covered; equal to scheduledAt unless coalesced. */
1986
+ through: number;
1987
+ count: number;
1988
+ state: "pending" | "delivering" | "accepted" | "complete" | "failed" | "cancelled" | "cancelling";
1989
+ target: ScheduleTarget;
1990
+ runId: string | null;
1991
+ error: string | null;
1992
+ resultRef: string | null;
1993
+ createdAt: number;
1994
+ updatedAt: number;
1995
+ startedAt: number | null;
1996
+ completedAt: number | null;
1997
+ }
1998
+ interface Schedule<Input = unknown> {
1999
+ name: string;
2000
+ generation: number;
2001
+ state: ScheduleState;
2002
+ timing: ScheduleTiming;
2003
+ missed: ScheduleMissed;
2004
+ target: ScheduleTarget;
2005
+ input: Input;
2006
+ inputRef: string;
2007
+ nextRunAt: number | null;
2008
+ createdAt: number;
2009
+ updatedAt: number;
2010
+ createdBy: {
2011
+ run: string;
2012
+ position: string;
2013
+ };
2014
+ /** Registration time of this definition generation; relative timing is anchored here. */
2015
+ registeredAt: number;
2016
+ lastOccurrence: ScheduleOccurrence | null;
2017
+ }
2018
+ interface ListSchedulesOptions {
2019
+ cursor?: string | null;
2020
+ name?: string;
2021
+ state?: ScheduleState;
2022
+ limit?: number;
2023
+ }
2024
+ interface SchedulePage {
2025
+ schedules: Schedule[];
2026
+ nextCursor: string | null;
2027
+ }
2028
+ interface ScheduleOccurrencePage {
2029
+ occurrences: ScheduleOccurrence[];
2030
+ nextCursor: string | null;
2031
+ }
2032
+ interface ScheduleCancellation {
2033
+ name: string;
2034
+ generation: number | null;
2035
+ cancelled: boolean;
2036
+ /** Handoffs that have crossed the delivery boundary; subsequent pages retain the same filter. */
2037
+ deliveries: ScheduleOccurrencePage;
2038
+ }
2039
+
1902
2040
  type Tier = "scratch" | "standard" | "audit";
1903
2041
  type Mode = "script" | "durable";
1904
2042
  type EffectClass = "read-only" | "idempotent" | "reconcilable" | "non-idempotent";
@@ -2491,7 +2629,7 @@ interface ReduceFact {
2491
2629
  stage: StageInfo;
2492
2630
  }
2493
2631
  type ScopeJournalKind = "turn" | "tool" | "step";
2494
- type LocalJournalKind = "clock" | "random" | "score" | "commit" | "await" | "spawn" | "map" | "reduce" | "view" | "page" | "truncate" | "cancel" | "capability";
2632
+ type LocalJournalKind = "clock" | "random" | "score" | "commit" | "await" | "spawn" | "map" | "reduce" | "view" | "page" | "truncate" | "cancel" | "capability" | "schedule";
2495
2633
  type JournalKind = ScopeJournalKind | LocalJournalKind | "invoke" | "send";
2496
2634
  /** Stable identity available to Agent code. Platform execution and deployment
2497
2635
  * metadata intentionally remain outside the public Agent context. */
@@ -2507,6 +2645,8 @@ interface RunInfo {
2507
2645
  crn: CRN;
2508
2646
  };
2509
2647
  mode: Mode;
2648
+ /** Present for an independently scheduled invocation; input remains unchanged. */
2649
+ schedule?: ScheduleTrigger;
2510
2650
  }
2511
2651
  interface CapabilityRef {
2512
2652
  readonly id: string;
@@ -2580,6 +2720,12 @@ interface Ctx {
2580
2720
  };
2581
2721
  commit<A>(artifact: A, opts?: CommitOpts): Promise<Fact<A>>;
2582
2722
  await<T>(label: string, opts?: AwaitOpts<T>): Handle<T>;
2723
+ /** Register or replace future invocations owned by this Session. Returns after durable registration. */
2724
+ schedule<Input>(name: string, options: ScheduleOptions<Input>): Promise<Schedule<Input>>;
2725
+ /** Cancel future occurrences; report accepted or unresolved handoffs without stopping their Runs. */
2726
+ cancelSchedule(name: string): Promise<ScheduleCancellation>;
2727
+ /** Inspect this Session's schedules through a journaled, paginated read. */
2728
+ listSchedules(options?: ListSchedulesOptions): Promise<SchedulePage>;
2583
2729
  spawn<T>(task: Task<T>, input: unknown, opts?: SpawnOpts): Handle<T>;
2584
2730
  map<I, O, R = never>(f: PartitionFn<I, O, R>, over: Over<I>, opts: MapOpts): Handle<MapFact>;
2585
2731
  reduce<I, O>(g: FoldFn<I, O> | SqlFold, over: Over<I>, opts?: ReduceOpts): Handle<ReduceFact>;
@@ -4458,4 +4604,4 @@ declare class SessionDeleted extends Error {
4458
4604
  }
4459
4605
 
4460
4606
  export { AGENT_UI_DEFAULTS, AfterYield, ApiError, CONSTAL_API_CAPABILITY, CONSTAL_API_GET_KINDS, CONSTAL_API_MODEL_TOOL_DESCRIPTIONS, CONSTAL_API_OPERATIONS, CONSTAL_API_OPERATION_SCHEMAS, CONSTAL_API_QUERY_KINDS, CONSTAL_API_VERSION, CommitConflict, CommitGateRejected, CredentialRevoked, CredentialUnavailable, DirectNetworkDenied, EVALUATION_LIMITS, EffectCeilingExceeded, GateExhausted, IntegrationRequestNotSent, LeaseLost, MCP_CLIENT_CAPABILITY, MCP_PROTOCOL_VERSION, MEMORY_OPERATION_DECLARATIONS, MODEL_CHECKPOINT_IMPORT_CAPABILITY, MODEL_COMPLETION_CAPABILITY, MODEL_EVALUATION_CAPABILITY, McpClient, NondeterministicReplay, OutcomeUnknown, PolicyConstraintFailed, PolicyDecisionFailed, RESOURCE_CREDENTIAL_BINDING_SCHEMA, RESOURCE_KINDS, ResourceDisabled, ResourceInvalid, ResourceUnbound, RollbackTargetInvalid, SessionDeleted, SpawnCardinality, SwallowedYield, TRAINING_PROVIDER_CAPABILITY, TerminalIntegrationFailure, ToolUnavailable, UI_ASSET_CONTENT_TYPES, UI_BUNDLE_BOUNDS, UnknownTool, WEB_FETCH_ARGUMENT_SCHEMA, WEB_SEARCH_ARGUMENT_SCHEMA, action, actionPattern, agent, agentResourceBinding, agentSetupMetadata, agentSetupRequirements, agentUiBundleManifest, agentUiDeclaration, analyticsEvent, approximateTokens, authProvider, authProviderName, bindingName, bucketFor, canonicalJson, capabilityContractRef, casTool, channel, channelIngressRequest, channelIngressSource, channelSourceEvidence, channelSubscriptionRequest, channelTarget, checkpointArtifactRef, checkpointDeploymentRequest, checkpointImportMetadata, checkpointImportRequest, codeScorerIR, containerImageReference, containerImageSelection, containerImageSource, credentialEvidence, credentialInteractionAction, credentialInteractionEvent, credentialInteractionResult, credentialName, credentialProvider, credentialProviderConfigSchema, credentialProviderName, credentialProviderSetupMetadata, credentialRotationDefaults, credentialSetupState, customerTenantName, cutBatches, cutPartitions, datasetName, evaluateCodeScorer, evaluatePolicyDefinition, evaluationArguments, evaluationProtocolRequest, evaluationProtocolResult, gateway, gatewayModelOffer, gatewayPackageMetadata, hash, hashValue, immutableContainerImageReference, integrationEgressPolicy, invocationCredentialUses, labelSelector, matchesAction, matchesLabelSelector, matchesResource, mcpToolDescription, mcpToolResult, memoryStoreBinding, modelAdvertisedPricing, modelControls, modelGatewayBinding, modelGatewayEndpoint, modelGenerationOptions, modelLimit, modelMessages, modelPrompt, modelProtocolRequest, modelProtocolResult, murmur3_32, normalizeModelGatewayConfig, normalizeSandboxNetworkPolicy, normalizeSandboxWorkspacePath, noulDecision, opTool, opTools, parseResourceName, policy, policyName, renderTrainingCompletion, resolveBindingOwner, resolveContainerImageSource, resolveGatewayEgress, resolveResourceDependencyRef, resourceContractRef, resourceCredentialBinding, resourceDependencyRef, resourceLabelMap, resourceName, resourceNeed, resourcePattern, resourceSelector, resourceTools, sandboxControls, sandboxLimit, scopedBindingKey, scopedCredentialRef, scopedResourceRef, scoreLevel, scorerName, selectableResourceLabels, setupAwait, setupCredentialReceipt, setupPanelProviderIsCrn, setupScreen, setupScreenView, setupSubmission, sha256Hex, skills, stageOutput, startTrainingRequest, subtask, tableDescribe, tableQuery, trainingProvider, trainingProviderMetadata, trainingRecipe, uiAssetContentType, uiBundle, uiBundleManifest, uiLimit, uiName, validateBatchSpec, validateFoldFn, validateJsonSchema, validateJsonSchemaDefinition, validatePartitionFn, validatePartitionSpec, validateStageOutputSpec, validateTool, validateView, webFetch, webSearch };
4461
- export type { Action, ActionPattern, Actor, AdmissionLimitConstraint, AdmissionLimitInput, AdmissionLimitScope, AdmissionLimitWindow, Agent, AgentCredentialSetupRequirement, AgentDef, AgentDeliveryReceipt, AgentDeployPolicy, AgentResultDelivery, AgentSendOpts, AgentSetupMetadata, AgentSetupRequirement, AgentSetupWorkflow, AgentUiDeclaration, AnalyticsClient, AnalyticsDimensionValue, AnalyticsEventDefinition, AnalyticsIntent, AnalyticsValues, AuthProvider, AuthProviderCRN, AuthProviderContext, AuthProviderRequest, AuthProviderResult, AwaitOpts, AwaitPresentation, BatchSpec, BindingCRN, BindingOwnerContext, BindingOwnerScope, BoundOperation, BoundResourceCapabilities, BranchRef, CRN, CRNKind, CanonicalEvent, CanonicalEventDraft, CapabilityContractRef, CapabilityGrant, CapabilityRef, CaptureCaseRequest, CaseRow, CatalogTool, Channel, ChannelContext, ChannelFailure, ChannelIngressEvent, ChannelIngressSource, ChannelMessage, ChannelProtocol, ChannelReceiveResult, ChannelRequest, ChannelResponse, ChannelSourceEvidence, ChannelSubscriptionRequest, ChannelTarget, CheckpointDeploymentRequest, CheckpointImportMetadata, CheckpointImportRequest, ChoiceAnswer, ChoiceQuestion, CodeScoreResult, CodeScorerIR, CodeScorerRule, CommitOpts, CompareSuitesRequest, Compensation, ConnectionCancelRequest, ConnectionIdentity, ConnectionOperation, ConnectionRecoveryRequest, ConnectionRecoveryResult, ConnectionRequest, ConnectionUsageReport, ConstalApiApplyRequest, ConstalApiChangePlan, ConstalApiChangePlanRef, ConstalApiChangePlanRequest, ConstalApiChangeReceipt, ConstalApiOperationReceipt, ContainerImageReference, ContainerImageSelection, ContainerImageSource, ContainerRegistryRequest, ContainerRegistryResponse, ControlEvent, Cost, CreateSandboxImageOptions, CreateSandboxOptions, CredentialCRN, CredentialDestroyResult, CredentialEvidence, CredentialInteractionAction, CredentialInteractionAdvanceRequest, CredentialInteractionEvent, CredentialInteractionPrimaryAction, CredentialInteractionProof, CredentialInteractionResult, CredentialInteractionStartRequest, CredentialMaterialRequest, CredentialMintRequest, CredentialMintResult, CredentialProviderCRN, CredentialProviderContext, CredentialProviderCredentialSlotSetup, CredentialProviderDefinition, CredentialProviderPackage, CredentialProviderPackageMetadata, CredentialProviderSecretInput, CredentialProviderSetupMetadata, CredentialSetupState, CredentialVerifyResult, Ctx, CustomerTenantCRN, DataManifest, DatasetCRN, DatasetDraft, DatasetRef, DelegatedGrant, DelegationCeiling, DeliveryMode, DeliveryReceipt, DispatchResult, EffectClass, EvalComparison, EvalDivergence, EvalMode, EvalSubject, EvalSubjectSource, EvaluationAnswer, EvaluationAnswerFor, EvaluationAnswers, EvaluationEntry, EvaluationInvocationArgs, EvaluationInvocationResult, EvaluationProtocol, EvaluationQuestion, EvaluationQuestions, EvaluationRecord, EvaluationSpec, EventBase, Fact, FactRef, FileEntry, FixedMemoryStoreRef, FixedModelGatewayRef, FoldFn, GateEvidence, GateResult, GateVerdict, GatewayCancelRequest, GatewayConfigEgressBinding, GatewayContext, GatewayCredentialSlotSetup, GatewayDefinition, GatewayDiscoverySetup, GatewayModelOffer, GatewayOperation, GatewayPackage, GatewayPackageMetadata, GatewayRecoveryRequest, GatewayRecoveryResult, GatewayRequest, GovernanceContractRef, Handle, HandleOutcome, Hash, HistoryView, HmacVerification, IgnoredChannelEvent, IngressRequest, IngressTarget, IntegrationArtifactEgressRequest, IntegrationArtifactEgressResponse, IntegrationAttachment, IntegrationContext, IntegrationEgressPolicy, IntegrationEgressRequest, IntegrationEgressResponse, IntegrationEgressRule, IntegrationLifecycle, IntegrationReleaseContext, IntegrationSecret, IntegrationState, InvocationCredentialUse, InvocationHandle, InvokableKind, InvokeOpts, JsonScalar, JsonValue, LabelRequest, LabelSelector, LabelSelectorOperator, LabelSelectorRequirement, LedgerAddress, LedgerEvent, LoadedSkill, LocalResourceRef, ManifestIndexPage, MapFact, MapOpts, McpClientOptions, McpClientState, McpMessageTransport, MemoryDeleteArgs, MemoryGetArgs, MemoryRecord, MemoryRememberArgs, MemorySearchArgs, MemorySearchHit, MemoryStoreBinding, Mode, ModelAdvertisedPricing, ModelCompletion, ModelCredentialHeader, ModelGatewayBinding, ModelGatewayConfig, ModelGatewayProtocol, ModelGenerationOptions, ModelGovernanceControls, ModelGovernanceMeter, ModelHistoryMessage, ModelInvocationArgs, ModelInvocationResult, ModelTechnicalCapabilities, ModelTool, NormalizedModelGatewayConfig, NoulAnswer, NoulQuestion, Out, Over, PartitionFn, PartitionSpec, Partitioning, PolicyCRN, PolicyConstraint, PolicyContextValue, PolicyDefinition, PolicyInput, PolicyInvocationOrigin, PolicyOutcome, Principal, PrincipalKind, Provenance, RawModelProtocol, Recovery, ReduceFact, ReduceOpts, Ref, RequestLabelRequest, ResourceContractRef, ResourceControlsConstraint, ResourceCredentialBinding, ResourceDependencyRef, ResourceKind, ResourceName, ResourceNameParts, ResourceNeed, ResourcePattern, ResourceSelector, RollbackReport, RunIdentityView, RunInfo, RunStatusDetail, RunSuiteRequest, Sandbox, SandboxCommandCollectionError, SandboxCommandExecution, SandboxCommandResult, SandboxExecInput, SandboxFileResult, SandboxGovernanceControls, SandboxGovernanceMeter, SandboxImage, SandboxMutationResult, SandboxNetworkMode, SandboxNetworkPolicy, SandboxPool, SandboxProcess, SandboxProcessCredentials, SandboxProcessIoOperation, SandboxProcessOperation, SandboxProcessReadInput, SandboxProcessReadResult, SandboxProcessStatus, SandboxProcessWriteResult, SandboxReadFileOptions, SandboxReadFileResult, SandboxWorkspace, SandboxWriteFileResult, ScopedBindingKey, ScopedCredentialRef, ScopedMemoryStoreRef, ScopedModelGatewayRef, ScopedResourceRef, ScoreAnswer, ScoreQuestion, ScoreRequest, ScorerApplies, ScorerCRN, ScorerDef, ScorerEvaluation, ScorerKind, ScorerRef, ScorerVerdictIntent, SetEvalBaselineRequest, SetupAction, SetupCredentialCandidate, SetupCredentialInteractionPanel, SetupCredentialReceipt, SetupFormPanel, SetupPanel, SetupProgressPanel, SetupReviewPanel, SetupScreen, SetupStepStatus, SetupStepSummary, SetupSubmission, SetupTerminalPanel, SetupWorkflowStatus, Skill, SkillDescription, SkillLibrary, SkillSource, SortField, SpawnAttenuation, SpawnBudget, SpawnOpts, SqlFold, StageInfo, StageOutputSpec, StartTrainingRequest, SteerEvent, SuiteFact, TableAggregate, TableDescribeArgs, TableFilter, TableFilterOperation, TableOrder, TableQueryArgs, TableQueryPlan, TableQueryResult, TableScalar, TableSnapshotDescription, Task, Tier, Tool, ToolCallRecord, TrainingJobFact, TrainingJobReference, TrainingJobState, TrainingJobStatus, TrainingMethod, TrainingModelOffer, TrainingProviderDefinition, TrainingProviderMetadata, TrainingProviderPin, TrainingRecipe, TrainingResumePoint, TrainingUsageUnits, TurnDraft, TurnGate, TurnRecord, TurnSpec, UiAccess, UiBundle, UiBundleManifest, UiCRN, UiCapability, UiExecution, UiGovernanceMeter, UiHandler, UiResource, UiRuntimeContext, UiSource, UiSqlResult, UiState, UpstreamPayer, Verdict, VerdictSamplingMode, ViewDef, WaitResolvedEvent };
4607
+ export type { Action, ActionPattern, Actor, AdmissionLimitConstraint, AdmissionLimitInput, AdmissionLimitScope, AdmissionLimitWindow, Agent, AgentCredentialSetupRequirement, AgentDef, AgentDeliveryReceipt, AgentDeployPolicy, AgentResultDelivery, AgentSendOpts, AgentSetupMetadata, AgentSetupRequirement, AgentSetupWorkflow, AgentUiDeclaration, AnalyticsClient, AnalyticsDimensionValue, AnalyticsEventDefinition, AnalyticsIntent, AnalyticsValues, AuthProvider, AuthProviderCRN, AuthProviderContext, AuthProviderRequest, AuthProviderResult, AwaitOpts, AwaitPresentation, BatchSpec, BindingCRN, BindingOwnerContext, BindingOwnerScope, BoundOperation, BoundResourceCapabilities, BranchRef, CRN, CRNKind, CanonicalEvent, CanonicalEventDraft, CapabilityContractRef, CapabilityGrant, CapabilityRef, CaptureCaseRequest, CaseRow, CatalogTool, Channel, ChannelContext, ChannelFailure, ChannelIngressEvent, ChannelIngressSource, ChannelMessage, ChannelProtocol, ChannelReceiveResult, ChannelRequest, ChannelResponse, ChannelSourceEvidence, ChannelSubscriptionRequest, ChannelTarget, CheckpointDeploymentRequest, CheckpointImportMetadata, CheckpointImportRequest, ChoiceAnswer, ChoiceQuestion, CodeScoreResult, CodeScorerIR, CodeScorerRule, CommitOpts, CompareSuitesRequest, Compensation, ConnectionCancelRequest, ConnectionIdentity, ConnectionOperation, ConnectionRecoveryRequest, ConnectionRecoveryResult, ConnectionRequest, ConnectionUsageReport, ConstalApiApplyRequest, ConstalApiChangePlan, ConstalApiChangePlanRef, ConstalApiChangePlanRequest, ConstalApiChangeReceipt, ConstalApiOperationReceipt, ContainerImageReference, ContainerImageSelection, ContainerImageSource, ContainerRegistryRequest, ContainerRegistryResponse, ControlEvent, Cost, CreateSandboxImageOptions, CreateSandboxOptions, CredentialCRN, CredentialDestroyResult, CredentialEvidence, CredentialInteractionAction, CredentialInteractionAdvanceRequest, CredentialInteractionEvent, CredentialInteractionPrimaryAction, CredentialInteractionProof, CredentialInteractionResult, CredentialInteractionStartRequest, CredentialMaterialRequest, CredentialMintRequest, CredentialMintResult, CredentialProviderCRN, CredentialProviderContext, CredentialProviderCredentialSlotSetup, CredentialProviderDefinition, CredentialProviderPackage, CredentialProviderPackageMetadata, CredentialProviderSecretInput, CredentialProviderSetupMetadata, CredentialSetupState, CredentialVerifyResult, Ctx, CustomerTenantCRN, DataManifest, DatasetCRN, DatasetDraft, DatasetRef, DelegatedGrant, DelegationCeiling, DeliveryMode, DeliveryReceipt, DispatchResult, EffectClass, EvalComparison, EvalDivergence, EvalMode, EvalSubject, EvalSubjectSource, EvaluationAnswer, EvaluationAnswerFor, EvaluationAnswers, EvaluationEntry, EvaluationInvocationArgs, EvaluationInvocationResult, EvaluationProtocol, EvaluationQuestion, EvaluationQuestions, EvaluationRecord, EvaluationSpec, EventBase, Fact, FactRef, FileEntry, FixedMemoryStoreRef, FixedModelGatewayRef, FoldFn, GateEvidence, GateResult, GateVerdict, GatewayCancelRequest, GatewayConfigEgressBinding, GatewayContext, GatewayCredentialSlotSetup, GatewayDefinition, GatewayDiscoverySetup, GatewayModelOffer, GatewayOperation, GatewayPackage, GatewayPackageMetadata, GatewayRecoveryRequest, GatewayRecoveryResult, GatewayRequest, GovernanceContractRef, Handle, HandleOutcome, Hash, HistoryView, HmacVerification, IgnoredChannelEvent, IngressRequest, IngressTarget, IntegrationArtifactEgressRequest, IntegrationArtifactEgressResponse, IntegrationAttachment, IntegrationContext, IntegrationEgressPolicy, IntegrationEgressRequest, IntegrationEgressResponse, IntegrationEgressRule, IntegrationLifecycle, IntegrationReleaseContext, IntegrationSecret, IntegrationState, InvocationCredentialUse, InvocationHandle, InvokableKind, InvokeOpts, JsonScalar, JsonValue, LabelRequest, LabelSelector, LabelSelectorOperator, LabelSelectorRequirement, LedgerAddress, LedgerEvent, ListSchedulesOptions, LoadedSkill, LocalResourceRef, ManifestIndexPage, MapFact, MapOpts, McpClientOptions, McpClientState, McpMessageTransport, MemoryDeleteArgs, MemoryGetArgs, MemoryRecord, MemoryRememberArgs, MemorySearchArgs, MemorySearchHit, MemoryStoreBinding, Mode, ModelAdvertisedPricing, ModelCompletion, ModelCredentialHeader, ModelGatewayBinding, ModelGatewayConfig, ModelGatewayProtocol, ModelGenerationOptions, ModelGovernanceControls, ModelGovernanceMeter, ModelHistoryMessage, ModelInvocationArgs, ModelInvocationResult, ModelTechnicalCapabilities, ModelTool, NormalizedModelGatewayConfig, NoulAnswer, NoulQuestion, Out, Over, PartitionFn, PartitionSpec, Partitioning, PolicyCRN, PolicyConstraint, PolicyContextValue, PolicyDefinition, PolicyInput, PolicyInvocationOrigin, PolicyOutcome, Principal, PrincipalKind, Provenance, RawModelProtocol, Recovery, ReduceFact, ReduceOpts, Ref, RequestLabelRequest, ResourceContractRef, ResourceControlsConstraint, ResourceCredentialBinding, ResourceDependencyRef, ResourceKind, ResourceName, ResourceNameParts, ResourceNeed, ResourcePattern, ResourceSelector, RollbackReport, RunIdentityView, RunInfo, RunStatusDetail, RunSuiteRequest, Sandbox, SandboxCommandCollectionError, SandboxCommandExecution, SandboxCommandResult, SandboxExecInput, SandboxFileResult, SandboxGovernanceControls, SandboxGovernanceMeter, SandboxImage, SandboxMutationResult, SandboxNetworkMode, SandboxNetworkPolicy, SandboxPool, SandboxProcess, SandboxProcessCredentials, SandboxProcessIoOperation, SandboxProcessOperation, SandboxProcessReadInput, SandboxProcessReadResult, SandboxProcessStatus, SandboxProcessWriteResult, SandboxReadFileOptions, SandboxReadFileResult, SandboxWorkspace, SandboxWriteFileResult, Schedule, ScheduleCancellation, ScheduleDuration, ScheduleMissed, ScheduleOccurrence, ScheduleOccurrencePage, ScheduleOptions, SchedulePage, ScheduleState, ScheduleTarget, ScheduleTiming, ScheduleTrigger, ScheduleWhen, ScopedBindingKey, ScopedCredentialRef, ScopedMemoryStoreRef, ScopedModelGatewayRef, ScopedResourceRef, ScoreAnswer, ScoreQuestion, ScoreRequest, ScorerApplies, ScorerCRN, ScorerDef, ScorerEvaluation, ScorerKind, ScorerRef, ScorerVerdictIntent, SetEvalBaselineRequest, SetupAction, SetupCredentialCandidate, SetupCredentialInteractionPanel, SetupCredentialReceipt, SetupFormPanel, SetupPanel, SetupProgressPanel, SetupReviewPanel, SetupScreen, SetupStepStatus, SetupStepSummary, SetupSubmission, SetupTerminalPanel, SetupWorkflowStatus, Skill, SkillDescription, SkillLibrary, SkillSource, SortField, SpawnAttenuation, SpawnBudget, SpawnOpts, SqlFold, StageInfo, StageOutputSpec, StartTrainingRequest, SteerEvent, SuiteFact, TableAggregate, TableDescribeArgs, TableFilter, TableFilterOperation, TableOrder, TableQueryArgs, TableQueryPlan, TableQueryResult, TableScalar, TableSnapshotDescription, Task, Tier, Tool, ToolCallRecord, TrainingJobFact, TrainingJobReference, TrainingJobState, TrainingJobStatus, TrainingMethod, TrainingModelOffer, TrainingProviderDefinition, TrainingProviderMetadata, TrainingProviderPin, TrainingRecipe, TrainingResumePoint, TrainingUsageUnits, TurnDraft, TurnGate, TurnRecord, TurnSpec, UiAccess, UiBundle, UiBundleManifest, UiCRN, UiCapability, UiExecution, UiGovernanceMeter, UiHandler, UiResource, UiRuntimeContext, UiSource, UiSqlResult, UiState, UpstreamPayer, Verdict, VerdictSamplingMode, ViewDef, WaitResolvedEvent };