@constal/sdk 6.12.0 → 6.14.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 +27 -0
- package/package.json +1 -1
- package/publish/api.json +2 -1
- package/publish/index.d.ts +65 -22
package/README.md
CHANGED
|
@@ -232,6 +232,33 @@ for sleeping within the current Run.
|
|
|
232
232
|
See [Schedule Agent follow-ups](https://constal.ai/docs/agents/schedules) for replay,
|
|
233
233
|
delivery, authority, and cancellation semantics.
|
|
234
234
|
|
|
235
|
+
## Calls with a connection
|
|
236
|
+
|
|
237
|
+
`ctx.fetch` makes an https request with one of the Run's owner's connections,
|
|
238
|
+
named by its binding key. The Agent never holds the Credential's value:
|
|
239
|
+
|
|
240
|
+
```ts
|
|
241
|
+
const response = await ctx.fetch("https://api.example.com/v1/tickets", {
|
|
242
|
+
method: "POST",
|
|
243
|
+
headers: { "content-type": "application/json" },
|
|
244
|
+
body: JSON.stringify({ title: "Fix the failing build" }),
|
|
245
|
+
}, { connection: "tickets" });
|
|
246
|
+
```
|
|
247
|
+
|
|
248
|
+
`connection` is required. The platform finds the enabled Credential binding of
|
|
249
|
+
that key in the Agent's tenant and namespace owned by the Run's customer, or by
|
|
250
|
+
its tenant when the Run has none, and matches the request against the
|
|
251
|
+
Credential's `destinations`: https only, the most specific destination wins, and
|
|
252
|
+
a request none matches is refused. It decides the use with `credential:use`
|
|
253
|
+
Policy (`origin.kind` is `agent`), sets the header the destination's `present`
|
|
254
|
+
names in place of any the Agent sent, never follows a redirect, and redacts the
|
|
255
|
+
value from the answer's headers and body.
|
|
256
|
+
|
|
257
|
+
The answer, its body whole, is journaled at the call's position: a replay gets
|
|
258
|
+
the same Response without calling again, and a refused call throws the same
|
|
259
|
+
error, with the platform's `status`. Inside a Tool, GET, HEAD and OPTIONS are
|
|
260
|
+
read-only, PUT and DELETE idempotent, and any other method non-idempotent.
|
|
261
|
+
|
|
235
262
|
## Model evaluation
|
|
236
263
|
|
|
237
264
|
`ctx.evaluate` judges one state against typed questions through an evaluation
|
package/package.json
CHANGED
package/publish/api.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"package": "@constal/sdk",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.14.0",
|
|
4
4
|
"exports": [
|
|
5
5
|
"AGENT_UI_DEFAULTS",
|
|
6
6
|
"Action",
|
|
@@ -384,6 +384,7 @@
|
|
|
384
384
|
"SandboxOrphanEvent",
|
|
385
385
|
"SandboxOrphanWithdrawnEvent",
|
|
386
386
|
"SandboxPersistence",
|
|
387
|
+
"SandboxPlacement",
|
|
387
388
|
"SandboxPool",
|
|
388
389
|
"SandboxPoolCreateRequest",
|
|
389
390
|
"SandboxPoolOperation",
|
package/publish/index.d.ts
CHANGED
|
@@ -2069,13 +2069,15 @@ interface SandboxUsageEvent extends SandboxCoordinatorEvent {
|
|
|
2069
2069
|
/**
|
|
2070
2070
|
* A provider instance tagged with the tenant and namespace that none of their sandboxes on that provider account holds (its
|
|
2071
2071
|
* tags name no sandbox, or the sandbox they name answers it is none of its), which the account's watcher found listing it,
|
|
2072
|
-
* settled (neither starting nor stopping), a relist apart, and reports once.
|
|
2073
|
-
*
|
|
2074
|
-
*
|
|
2072
|
+
* settled (neither starting nor stopping), a relist apart, and reports once. The tags are Constal's claim on it, so the
|
|
2073
|
+
* watcher then deletes it at its provider where nothing owns it: the sandbox its tags name answers it is none of its nor its
|
|
2074
|
+
* create's, or no live sandbox of the namespace holds its provider id; its report is withdrawn once the provider has it no
|
|
2075
|
+
* more. It names the pool account and not a pool because the instance carries only its tenant's, namespace's, account's
|
|
2076
|
+
* and claimed sandbox's tags, and so no pool can be known for it.
|
|
2075
2077
|
*
|
|
2076
|
-
* One watcher lists one pool account of a namespace,
|
|
2077
|
-
*
|
|
2078
|
-
*
|
|
2078
|
+
* One watcher lists one pool account of a namespace, by that account's tag. So where two of a namespace's accounts reach
|
|
2079
|
+
* one account at the provider (two Credentials of one provider key or team, or a Credential and the deployment's own
|
|
2080
|
+
* account), each lists only the instances its own account's creates tagged, and takes none of the other's for an orphan.
|
|
2079
2081
|
*/
|
|
2080
2082
|
interface SandboxOrphanEvent {
|
|
2081
2083
|
type: "sandbox.orphan";
|
|
@@ -2094,9 +2096,9 @@ interface SandboxOrphanEvent {
|
|
|
2094
2096
|
/**
|
|
2095
2097
|
* An orphan reported before (SandboxOrphanEvent) that is an orphan no more. Either the sandbox its tags name then answered
|
|
2096
2098
|
* the account's watcher that it is its own: the report was of an instance that sandbox's create had made and not yet
|
|
2097
|
-
* answered. Or the provider has it no more: it is gone, its account's owner having deleted it
|
|
2098
|
-
* was removed, and its watcher watches it no more. Each report is withdrawn at most once, by the watcher that
|
|
2099
|
-
* index keeps the withdrawal, so a report no later than it, delivered after it, does not bring the orphan back.
|
|
2099
|
+
* answered. Or the provider has it no more: it is gone, its watcher or its account's owner having deleted it. Or the
|
|
2100
|
+
* account's key was removed, and its watcher watches it no more. Each report is withdrawn at most once, by the watcher that
|
|
2101
|
+
* made it. The index keeps the withdrawal, so a report no later than it, delivered after it, does not bring the orphan back.
|
|
2100
2102
|
*/
|
|
2101
2103
|
interface SandboxOrphanWithdrawnEvent extends Omit<SandboxOrphanEvent, "type" | "at"> {
|
|
2102
2104
|
type: "sandbox.orphan.withdrawn";
|
|
@@ -2268,20 +2270,35 @@ interface SandboxCapabilities {
|
|
|
2268
2270
|
/** The provider's own labels of a sandbox (SandboxLabelCapabilities); null where it keeps none. */
|
|
2269
2271
|
labels: SandboxLabelCapabilities | null;
|
|
2270
2272
|
}
|
|
2271
|
-
/**
|
|
2272
|
-
|
|
2273
|
-
|
|
2274
|
-
|
|
2273
|
+
/**
|
|
2274
|
+
* One pool of a create's placement order (SandboxCreateRequest.pools), and what the create asks of that pool alone: what
|
|
2275
|
+
* its provider boots, as a provider's own snapshot of an image differs from one pool to the next.
|
|
2276
|
+
*/
|
|
2277
|
+
interface SandboxPlacement {
|
|
2275
2278
|
/**
|
|
2276
|
-
* The sandbox-pool Resource
|
|
2277
|
-
*
|
|
2279
|
+
* The sandbox-pool Resource (its provider, account, region, and default image and size), by its CRN; a sandbox it runs
|
|
2280
|
+
* on keeps the name sandboxDoorPoolName gives it.
|
|
2278
2281
|
*/
|
|
2279
2282
|
pool: CRN;
|
|
2280
2283
|
/**
|
|
2281
|
-
* What the provider boots: an image reference it can boot, or a snapshot's `image`; omitted: the pool's, which a
|
|
2282
|
-
* whose providers has no default image refuses (Invalid, `image`).
|
|
2284
|
+
* What the provider boots there: an image reference it can boot, or a snapshot's `image`; omitted: the pool's, which a
|
|
2285
|
+
* pool one of whose providers has no default image refuses (Invalid, `image`).
|
|
2283
2286
|
*/
|
|
2284
2287
|
image?: string;
|
|
2288
|
+
}
|
|
2289
|
+
/**
|
|
2290
|
+
* POST /sandboxes: the sandbox, and the pools it may run on. Its coordinator creates it on its first pool, and walks on to
|
|
2291
|
+
* the next, a fresh provider create there under that pool's configuration and account, where the pool refused it as a
|
|
2292
|
+
* pool: its providers could not provide (`ProviderUnavailable`) or failed it (`ProviderError`, a sandbox that failed
|
|
2293
|
+
* without ever running among those), lack what it asks (`Unsupported`), or no key of the pool's account is bound
|
|
2294
|
+
* (`Invalid`, `pool.account`). It runs for good on the first pool that runs it. A refusal of another kind ends the walk with
|
|
2295
|
+
* it; where every pool refused, the create answers the last `ProviderUnavailable` of the walk, if any, else the last refusal.
|
|
2296
|
+
*/
|
|
2297
|
+
interface SandboxCreateRequest {
|
|
2298
|
+
/** The sandbox's id (SANDBOX_DOOR_ID), one the caller chose; omitted: one the door mints, kept under the create's key. */
|
|
2299
|
+
id?: string;
|
|
2300
|
+
/** The pools it may run on, in the order it tries them; one pool is a list of one. */
|
|
2301
|
+
pools: SandboxPlacement[];
|
|
2285
2302
|
/** A SANDBOX_SIZES name or an allocation, which usage is priced on; the provider gives its nearest shape at or above it. Omitted: the pool's. */
|
|
2286
2303
|
size?: SandboxSize | SandboxResources;
|
|
2287
2304
|
/** The command the image starts with, in place of its own (`create.command`). */
|
|
@@ -2331,6 +2348,7 @@ type SandboxProviderAllocation = {
|
|
|
2331
2348
|
interface SandboxView {
|
|
2332
2349
|
id: string;
|
|
2333
2350
|
namespace: string;
|
|
2351
|
+
/** The pool it runs in (sandboxDoorPoolName); while its create's walk goes on, the pool the walk last admitted. */
|
|
2334
2352
|
pool: string;
|
|
2335
2353
|
state: SandboxState;
|
|
2336
2354
|
/**
|
|
@@ -2410,8 +2428,11 @@ interface SandboxSnapshot {
|
|
|
2410
2428
|
*/
|
|
2411
2429
|
declare const SANDBOX_POOL_OPERATIONS: readonly ["create", "get", "start", "stop", "delete", "update", "exec", "execution", "cancel", "readFile", "writeFile", "deleteFile", "snapshot", "deleteSnapshot"];
|
|
2412
2430
|
type SandboxPoolOperation = typeof SANDBOX_POOL_OPERATIONS[number];
|
|
2413
|
-
/**
|
|
2414
|
-
|
|
2431
|
+
/**
|
|
2432
|
+
* A create through a pool: the door's create request, whose one pool is the pool's own Resource, with what it asks of that
|
|
2433
|
+
* pool (SandboxPlacement) as its own fields.
|
|
2434
|
+
*/
|
|
2435
|
+
type SandboxPoolCreateRequest = Omit<SandboxCreateRequest, "pools"> & Omit<SandboxPlacement, "pool">;
|
|
2415
2436
|
/** A file readFile answered: its path, and its bytes, whole, stored by reference. */
|
|
2416
2437
|
interface SandboxFileContent {
|
|
2417
2438
|
path: string;
|
|
@@ -3456,8 +3477,12 @@ interface ReduceFact {
|
|
|
3456
3477
|
stage: StageInfo;
|
|
3457
3478
|
}
|
|
3458
3479
|
type ScopeJournalKind = "turn" | "tool" | "step";
|
|
3459
|
-
/**
|
|
3460
|
-
|
|
3480
|
+
/**
|
|
3481
|
+
* `journal`: what the Agent read of `ctx.journal.paged` at that point, recorded as its `value` so a replay reads the same.
|
|
3482
|
+
* `fetch`: a ctx.fetch's answer, which its Session journals (its `value`: status, status text, headers, base64 body), or its
|
|
3483
|
+
* refusal (`error`).
|
|
3484
|
+
*/
|
|
3485
|
+
type LocalJournalKind = "clock" | "random" | "score" | "commit" | "await" | "spawn" | "map" | "reduce" | "view" | "page" | "truncate" | "cancel" | "capability" | "schedule" | "journal" | "fetch";
|
|
3461
3486
|
type JournalKind = ScopeJournalKind | LocalJournalKind | "invoke" | "send";
|
|
3462
3487
|
/** Stable identity available to Agent code. Platform execution and deployment
|
|
3463
3488
|
* metadata intentionally remain outside the public Agent context. */
|
|
@@ -3603,6 +3628,24 @@ interface Ctx {
|
|
|
3603
3628
|
sandboxPool(resource: CRN): SandboxPool;
|
|
3604
3629
|
invoke<T>(resource: CRN, op: string, args: unknown, opts?: InvokeOpts): Promise<T>;
|
|
3605
3630
|
invokeAsync<T>(resource: CRN, op: string, args: unknown, opts?: InvokeOpts): InvocationHandle<T>;
|
|
3631
|
+
/**
|
|
3632
|
+
* An https request with one of the Run's owner's connections (docs/sandbox-egress-connections.md section 6). `connection`
|
|
3633
|
+
* is a binding key in the Agent's tenant and namespace: the enabled Credential binding of that key its owner holds, its
|
|
3634
|
+
* customer's when the Run has one, else its tenant's. There is no fetch without one, and nothing in the Run ever holds
|
|
3635
|
+
* the Credential's value. The platform matches the request against the Credential's `destinations` (https only; the most
|
|
3636
|
+
* specific wins; a request none matches is refused, as a connection was named), decides each use with `credential:use`
|
|
3637
|
+
* Policy (`origin.kind` `agent`, `egress.destination`, `egress.position`), presents the value as the matched destination's
|
|
3638
|
+
* `present` says, in place of any header of that name the Agent sent, forwards the request without following a redirect
|
|
3639
|
+
* (a 3xx is the answer), and redacts the value from the answer's headers and body.
|
|
3640
|
+
*
|
|
3641
|
+
* The answer (status, headers and whole body) is journaled at the call's position, so a replay answers it from the journal
|
|
3642
|
+
* without calling again; a refusal is journaled too, and throws the same Error with the platform's `status` at replay. A
|
|
3643
|
+
* request's method is its effect under a Tool's ceiling: GET, HEAD and OPTIONS read-only, PUT and DELETE idempotent, any
|
|
3644
|
+
* other non-idempotent.
|
|
3645
|
+
*/
|
|
3646
|
+
fetch(input: string | Request, init: RequestInit | undefined, opts: {
|
|
3647
|
+
connection: string;
|
|
3648
|
+
}): Promise<Response>;
|
|
3606
3649
|
request(policy: PolicyCRN, grant: CapabilityGrant): Handle<CapabilityRef>;
|
|
3607
3650
|
analytics: AnalyticsClient;
|
|
3608
3651
|
/**
|
|
@@ -5876,4 +5919,4 @@ declare function parseLedgerAddress(value: unknown): LedgerAddressParts | null;
|
|
|
5876
5919
|
declare function formatLedgerAddress(parts: LedgerAddressParts): LedgerAddress;
|
|
5877
5920
|
|
|
5878
5921
|
export { AGENT_UI_DEFAULTS, AfterYield, ApiError, CHAT_FORMAT_CAPABILITY, 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, DATA_SHARE_FEE_BPS, DirectNetworkDenied, EVALUATION_LIMITS, EffectCeilingExceeded, EmptyJoin, GENERAL_QUALITY_JUDGE, GateExhausted, IntegrationRequestNotSent, LeaseLost, MCP_CLIENT_CAPABILITY, MCP_PROTOCOL_VERSION, MEMORY_OPERATION_DECLARATIONS, MODEL_CHECKPOINT_IMPORT_CAPABILITY, MODEL_COMPLETION_CAPABILITY, MODEL_EVALUATION_CAPABILITY, McpClient, NondeterministicReplay, NotAppendOnly, OutcomeUnknown, PolicyConstraintFailed, PolicyDecisionFailed, RESOURCE_CREDENTIAL_BINDING_SCHEMA, RESOURCE_KINDS, ResourceDisabled, ResourceInvalid, ResourceUnbound, RollbackTargetInvalid, SANDBOX_EGRESS_LIMITS, SANDBOX_POOL_OPERATIONS, SANDBOX_PROVIDER_FAILURE_CLASSES, SANDBOX_PROVIDER_UNAVAILABLE, SessionDeleted, SpawnCardinality, SwallowedYield, TRAINING_PROVIDER_CAPABILITY, TRAINING_RECIPE_DEFAULTS, TerminalIntegrationFailure, ToolUnavailable, UI_ASSET_CONTENT_TYPES, UI_BUNDLE_BOUNDS, UnknownTool, WEB_FETCH_ARGUMENT_SCHEMA, WEB_SEARCH_ARGUMENT_SCHEMA, action, actionPattern, agent, agentLimit, agentResourceBinding, agentSetupMetadata, agentSetupRequirements, agentUiBundleManifest, agentUiDeclaration, all, analyticsEvent, approximateTokens, authProvider, authProviderName, bindingName, bucketFor, canonicalJson, capabilityContractRef, casTool, channel, channelIngressRequest, channelIngressSource, channelSourceEvidence, channelSubscriptionRequest, channelTarget, chatFormat, chatFormatMetadata, chatFormatPin, chatParseInput, chatParsed, chatRenderInput, chatRenderRequest, chatRendering, checkpointArtifactRef, checkpointDeploymentRequest, checkpointImportMetadata, checkpointImportRequest, codeScorerIR, containerImageReference, containerImageSelection, containerImageSource, credentialEvidence, credentialInteractionAction, credentialInteractionEvent, credentialInteractionResult, credentialName, credentialProvider, credentialProviderConfigSchema, credentialProviderName, credentialProviderSetupMetadata, credentialRotationDefaults, credentialSetupState, customerTenantName, cutBatches, cutPartitions, dataShareEarningMicroUsd, datasetName, evaluateCodeScorer, evaluatePolicyDefinition, evaluationArguments, evaluationProtocolRequest, evaluationProtocolResult, formatLedgerAddress, gateway, gatewayModelOffer, gatewayPackageMetadata, hash, hashValue, immutableContainerImageReference, integrationEgressPolicy, invocationCredentialUses, judgeAgent, labelSelector, matchesAction, matchesLabelSelector, matchesResource, mcpToolDescription, mcpToolResult, memoryStoreBinding, modelAdvertisedPricing, modelControls, modelGatewayBinding, modelGatewayEndpoint, modelGenerationOptions, modelLimit, modelMessages, modelPrompt, modelProtocolRequest, modelProtocolResult, murmur3_32, normalizeCredentialDestinations, normalizeModelGatewayConfig, normalizeSandboxConnectionKeys, normalizeSandboxEgressPolicy, normalizeSandboxLabels, normalizeSandboxNetworkPolicy, noulDecision, opTool, opTools, parseLedgerAddress, parseResourceName, policy, policyName, race, resolveBindingOwner, resolveContainerImageSource, resolveGatewayEgress, resolveResourceDependencyRef, resourceContractRef, resourceCredentialBinding, resourceDependencyRef, resourceLabelMap, resourceName, resourceNeed, resourcePattern, resourceSelector, resourceTools, runLabels, sandboxControls, sandboxEgressDecision, sandboxEgressHostMatches, sandboxLimit, sandboxProviderUnavailable, scopedBindingKey, scopedCredentialRef, scopedResourceRef, scoreLevel, scorerDraftHash, scorerName, select, selectableResourceLabels, setupAwait, setupCredentialReceipt, setupPanelProviderIsCrn, setupScreen, setupScreenView, setupSubmission, sha256Hex, shareContributionRequest, shareContributionReview, shareEvaluation, sharePrices, shareRequest, skills, stageOutput, startTrainingRequest, subtask, tableDescribe, tableQuery, trainingCorrection, trainingProvider, trainingProviderMetadata, trainingRecipe, uiAssetContentType, uiBundle, uiBundleManifest, uiLimit, uiName, validateBatchSpec, validateFoldFn, validateJsonSchema, validateJsonSchemaDefinition, validatePartitionFn, validatePartitionSpec, validateStageOutputSpec, validateTool, validateView, webFetch, webSearch };
|
|
5879
|
-
export type { Action, ActionPattern, Actor, AdmissionLimitConstraint, AdmissionLimitInput, AdmissionLimitScope, AdmissionLimitWindow, Agent, AgentCredentialSetupRequirement, AgentDef, AgentDeployPolicy, AgentGovernanceMeter, 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, ChannelDeliveryError, ChannelDeliveryEvent, ChannelDeliveryOutcome, ChannelDeliveryReport, ChannelFailure, ChannelFetchRequest, ChannelFetchResult, ChannelIngressEvent, ChannelIngressSource, ChannelMessage, ChannelObject, ChannelPresence, ChannelPresenceReceipt, ChannelProtocol, ChannelReceiveResult, ChannelRequest, ChannelResponse, ChannelSourceEvidence, ChannelSubscriptionRequest, ChannelTarget, ChatFormatDefinition, ChatFormatMetadata, ChatFormatPin, ChatMessage, ChatParseRequest, ChatParsed, ChatRenderRequest, ChatRendering, ChatSpan, ChatTool, 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, CreatedSandbox, CredentialCRN, CredentialDestination, CredentialDestroyResult, CredentialEvidence, CredentialInteractionAction, CredentialInteractionAdvanceRequest, CredentialInteractionEvent, CredentialInteractionPrimaryAction, CredentialInteractionProof, CredentialInteractionResult, CredentialInteractionStartRequest, CredentialMaterialRequest, CredentialMintRequest, CredentialMintResult, CredentialPresentation, CredentialProviderCRN, CredentialProviderConfigEgressBinding, CredentialProviderContext, CredentialProviderCredentialSlotSetup, CredentialProviderDefinition, CredentialProviderPackage, CredentialProviderPackageMetadata, CredentialProviderSecretInput, CredentialProviderSetupMetadata, CredentialSetupState, CredentialUninstallRequest, CredentialUninstallResult, CredentialVerifyResult, Ctx, CustomerTenantCRN, DataManifest, DataSharingScope, DatasetCRN, DatasetDraft, DatasetRef, DelegatedGrant, DelegationCeiling, DeliveryMode, DeliveryReceipt, DispatchResult, EffectClass, EvalComparison, EvalDivergence, EvalMode, EvalSubject, EvalSubjectSource, EvalSuiteCase, EvalSuiteCasePage, EvalSuiteCaseScore, EvalSuiteCaseState, EvalSuiteScoreState, 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, HistoryPage, HistoryView, HmacVerification, IgnoredChannelEvent, IngressRequest, IngressTarget, IntegrationArtifactEgressRequest, IntegrationArtifactEgressResponse, IntegrationAttachment, IntegrationContext, IntegrationEgressPolicy, IntegrationEgressRequest, IntegrationEgressResponse, IntegrationEgressRule, IntegrationLifecycle, IntegrationReleaseContext, IntegrationSecret, IntegrationState, InvocationCredentialUse, InvocationHandle, InvokableKind, InvokeOpts, JoinOutcome, JsonScalar, JsonValue, JudgeRubric, LabelRequest, LabelSelector, LabelSelectorOperator, LabelSelectorRequirement, LedgerAddress, LedgerAddressParts, LedgerEvent, ListSchedulesOptions, LocalResourceRef, ManifestIndexPage, MapFact, MapOpts, McpClientOptions, McpClientState, McpMessageTransport, MemoryDeleteArgs, MemoryGetArgs, MemoryRecord, MemoryRememberArgs, MemorySearchArgs, MemorySearchHit, MemoryStoreBinding, Mode, ModelAdvertisedPricing, ModelCacheHint, ModelCompletion, ModelContentPart, ModelCredentialHeader, ModelFilePart, ModelGatewayBinding, ModelGatewayConfig, ModelGatewayProtocol, ModelGenerationOptions, ModelGovernanceControls, ModelGovernanceMeter, ModelHistoryMessage, ModelHistoryToolCall, ModelInvocationArgs, ModelInvocationResult, ModelProtocolRequestOptions, ModelTechnicalCapabilities, ModelTextPart, 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, RunReport, RunStatusDetail, RunSuiteRequest, Sandbox, SandboxCapabilities, SandboxCreateRequest, SandboxEgress, SandboxEgressCapabilities, SandboxEgressDestination, SandboxEgressPolicy, SandboxEgressRule, SandboxExecCapabilities, SandboxExecRequest, SandboxExecution, SandboxExecutionState, SandboxFile, SandboxFileBody, SandboxFileCapabilities, SandboxFileContent, SandboxFileScope, SandboxGovernanceControls, SandboxGovernanceMeter, SandboxHistoryEvent, SandboxIndexedEvent, SandboxLabelCapabilities, SandboxLabels, SandboxLifecycleEvent, SandboxNetworkMode, SandboxNetworkPolicy, SandboxOrphanEvent, SandboxOrphanWithdrawnEvent, SandboxPersistence, SandboxPool, SandboxPoolCreateRequest, SandboxPoolOperation, SandboxPortCapabilities, SandboxProviderAllocation, SandboxProviderFailureClass, SandboxProviderUnavailable, SandboxSecretsRoute, SandboxSnapshot, SandboxSnapshotCapabilities, SandboxState, SandboxUpdateRequest, SandboxUsageEvent, SandboxUsageItem, SandboxView, SandboxWaitOptions, Schedule, ScheduleCancellation, ScheduleDuration, ScheduleMissed, ScheduleOccurrence, ScheduleOccurrencePage, ScheduleOptions, SchedulePage, ScheduleState, ScheduleTarget, ScheduleTiming, ScheduleTrigger, ScheduleWhen, ScopedBindingKey, ScopedCredentialRef, ScopedMemoryStoreRef, ScopedModelGatewayRef, ScopedResourceRef, ScoreAnswer, ScoreQuestion, ScoreRequest, ScorerApplies, ScorerCRN, ScorerDef, ScorerDraft, ScorerEvaluation, ScorerKind, ScorerRef, ScorerVerdictIntent, SetEvalBaselineRequest, SetupAction, SetupCredentialCandidate, SetupCredentialInteractionPanel, SetupCredentialReceipt, SetupFormPanel, SetupPanel, SetupProgressPanel, SetupReviewPanel, SetupScreen, SetupStepStatus, SetupStepSummary, SetupSubmission, SetupTerminalPanel, SetupWorkflowStatus, Share, ShareAction, ShareContribution, ShareContributionImport, ShareContributionRequest, ShareContributionReview, ShareContributionReviewRequest, ShareContributionStatus, ShareEvaluation, ShareEvaluationPin, ShareEvaluationRequest, ShareEvaluationVerdict, ShareEvaluationView, ShareHistory, SharePrice, ShareRequest, ShareReviewDecision, SortField, SpawnAttenuation, SpawnBudget, SpawnHandle, SpawnOpts, SqlFold, StageInfo, StageOutputSpec, StartTrainingRequest, SteerEvent, StepJournal, SuiteFact, TableAggregate, TableDescribeArgs, TableFilter, TableFilterOperation, TableOrder, TableQueryArgs, TableQueryPlan, TableQueryResult, TableScalar, TableSnapshotDescription, Task, Tier, Tool, ToolCallRecord, TrainingCorrection, TrainingJobFact, TrainingJobReference, TrainingJobState, TrainingJobStatus, TrainingMethod, TrainingModelOffer, TrainingPreparation, TrainingProviderDefinition, TrainingProviderMetadata, TrainingProviderPin, TrainingRecipe, TrainingResumePoint, TrainingStep, TrainingUsageUnits, TurnDraft, TurnGate, TurnHistoryMessage, TurnRecord, TurnSpec, UiAccess, UiBundle, UiBundleManifest, UiCRN, UiCapability, UiExecution, UiGovernanceMeter, UiHandler, UiResource, UiRuntimeContext, UiSource, UiSqlResult, UiState, UpstreamPayer, Verdict, VerdictSamplingMode, ViewDef, WaitResolvedEvent };
|
|
5922
|
+
export type { Action, ActionPattern, Actor, AdmissionLimitConstraint, AdmissionLimitInput, AdmissionLimitScope, AdmissionLimitWindow, Agent, AgentCredentialSetupRequirement, AgentDef, AgentDeployPolicy, AgentGovernanceMeter, 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, ChannelDeliveryError, ChannelDeliveryEvent, ChannelDeliveryOutcome, ChannelDeliveryReport, ChannelFailure, ChannelFetchRequest, ChannelFetchResult, ChannelIngressEvent, ChannelIngressSource, ChannelMessage, ChannelObject, ChannelPresence, ChannelPresenceReceipt, ChannelProtocol, ChannelReceiveResult, ChannelRequest, ChannelResponse, ChannelSourceEvidence, ChannelSubscriptionRequest, ChannelTarget, ChatFormatDefinition, ChatFormatMetadata, ChatFormatPin, ChatMessage, ChatParseRequest, ChatParsed, ChatRenderRequest, ChatRendering, ChatSpan, ChatTool, 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, CreatedSandbox, CredentialCRN, CredentialDestination, CredentialDestroyResult, CredentialEvidence, CredentialInteractionAction, CredentialInteractionAdvanceRequest, CredentialInteractionEvent, CredentialInteractionPrimaryAction, CredentialInteractionProof, CredentialInteractionResult, CredentialInteractionStartRequest, CredentialMaterialRequest, CredentialMintRequest, CredentialMintResult, CredentialPresentation, CredentialProviderCRN, CredentialProviderConfigEgressBinding, CredentialProviderContext, CredentialProviderCredentialSlotSetup, CredentialProviderDefinition, CredentialProviderPackage, CredentialProviderPackageMetadata, CredentialProviderSecretInput, CredentialProviderSetupMetadata, CredentialSetupState, CredentialUninstallRequest, CredentialUninstallResult, CredentialVerifyResult, Ctx, CustomerTenantCRN, DataManifest, DataSharingScope, DatasetCRN, DatasetDraft, DatasetRef, DelegatedGrant, DelegationCeiling, DeliveryMode, DeliveryReceipt, DispatchResult, EffectClass, EvalComparison, EvalDivergence, EvalMode, EvalSubject, EvalSubjectSource, EvalSuiteCase, EvalSuiteCasePage, EvalSuiteCaseScore, EvalSuiteCaseState, EvalSuiteScoreState, 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, HistoryPage, HistoryView, HmacVerification, IgnoredChannelEvent, IngressRequest, IngressTarget, IntegrationArtifactEgressRequest, IntegrationArtifactEgressResponse, IntegrationAttachment, IntegrationContext, IntegrationEgressPolicy, IntegrationEgressRequest, IntegrationEgressResponse, IntegrationEgressRule, IntegrationLifecycle, IntegrationReleaseContext, IntegrationSecret, IntegrationState, InvocationCredentialUse, InvocationHandle, InvokableKind, InvokeOpts, JoinOutcome, JsonScalar, JsonValue, JudgeRubric, LabelRequest, LabelSelector, LabelSelectorOperator, LabelSelectorRequirement, LedgerAddress, LedgerAddressParts, LedgerEvent, ListSchedulesOptions, LocalResourceRef, ManifestIndexPage, MapFact, MapOpts, McpClientOptions, McpClientState, McpMessageTransport, MemoryDeleteArgs, MemoryGetArgs, MemoryRecord, MemoryRememberArgs, MemorySearchArgs, MemorySearchHit, MemoryStoreBinding, Mode, ModelAdvertisedPricing, ModelCacheHint, ModelCompletion, ModelContentPart, ModelCredentialHeader, ModelFilePart, ModelGatewayBinding, ModelGatewayConfig, ModelGatewayProtocol, ModelGenerationOptions, ModelGovernanceControls, ModelGovernanceMeter, ModelHistoryMessage, ModelHistoryToolCall, ModelInvocationArgs, ModelInvocationResult, ModelProtocolRequestOptions, ModelTechnicalCapabilities, ModelTextPart, 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, RunReport, RunStatusDetail, RunSuiteRequest, Sandbox, SandboxCapabilities, SandboxCreateRequest, SandboxEgress, SandboxEgressCapabilities, SandboxEgressDestination, SandboxEgressPolicy, SandboxEgressRule, SandboxExecCapabilities, SandboxExecRequest, SandboxExecution, SandboxExecutionState, SandboxFile, SandboxFileBody, SandboxFileCapabilities, SandboxFileContent, SandboxFileScope, SandboxGovernanceControls, SandboxGovernanceMeter, SandboxHistoryEvent, SandboxIndexedEvent, SandboxLabelCapabilities, SandboxLabels, SandboxLifecycleEvent, SandboxNetworkMode, SandboxNetworkPolicy, SandboxOrphanEvent, SandboxOrphanWithdrawnEvent, SandboxPersistence, SandboxPlacement, SandboxPool, SandboxPoolCreateRequest, SandboxPoolOperation, SandboxPortCapabilities, SandboxProviderAllocation, SandboxProviderFailureClass, SandboxProviderUnavailable, SandboxSecretsRoute, SandboxSnapshot, SandboxSnapshotCapabilities, SandboxState, SandboxUpdateRequest, SandboxUsageEvent, SandboxUsageItem, SandboxView, SandboxWaitOptions, Schedule, ScheduleCancellation, ScheduleDuration, ScheduleMissed, ScheduleOccurrence, ScheduleOccurrencePage, ScheduleOptions, SchedulePage, ScheduleState, ScheduleTarget, ScheduleTiming, ScheduleTrigger, ScheduleWhen, ScopedBindingKey, ScopedCredentialRef, ScopedMemoryStoreRef, ScopedModelGatewayRef, ScopedResourceRef, ScoreAnswer, ScoreQuestion, ScoreRequest, ScorerApplies, ScorerCRN, ScorerDef, ScorerDraft, ScorerEvaluation, ScorerKind, ScorerRef, ScorerVerdictIntent, SetEvalBaselineRequest, SetupAction, SetupCredentialCandidate, SetupCredentialInteractionPanel, SetupCredentialReceipt, SetupFormPanel, SetupPanel, SetupProgressPanel, SetupReviewPanel, SetupScreen, SetupStepStatus, SetupStepSummary, SetupSubmission, SetupTerminalPanel, SetupWorkflowStatus, Share, ShareAction, ShareContribution, ShareContributionImport, ShareContributionRequest, ShareContributionReview, ShareContributionReviewRequest, ShareContributionStatus, ShareEvaluation, ShareEvaluationPin, ShareEvaluationRequest, ShareEvaluationVerdict, ShareEvaluationView, ShareHistory, SharePrice, ShareRequest, ShareReviewDecision, SortField, SpawnAttenuation, SpawnBudget, SpawnHandle, SpawnOpts, SqlFold, StageInfo, StageOutputSpec, StartTrainingRequest, SteerEvent, StepJournal, SuiteFact, TableAggregate, TableDescribeArgs, TableFilter, TableFilterOperation, TableOrder, TableQueryArgs, TableQueryPlan, TableQueryResult, TableScalar, TableSnapshotDescription, Task, Tier, Tool, ToolCallRecord, TrainingCorrection, TrainingJobFact, TrainingJobReference, TrainingJobState, TrainingJobStatus, TrainingMethod, TrainingModelOffer, TrainingPreparation, TrainingProviderDefinition, TrainingProviderMetadata, TrainingProviderPin, TrainingRecipe, TrainingResumePoint, TrainingStep, TrainingUsageUnits, TurnDraft, TurnGate, TurnHistoryMessage, TurnRecord, TurnSpec, UiAccess, UiBundle, UiBundleManifest, UiCRN, UiCapability, UiExecution, UiGovernanceMeter, UiHandler, UiResource, UiRuntimeContext, UiSource, UiSqlResult, UiState, UpstreamPayer, Verdict, VerdictSamplingMode, ViewDef, WaitResolvedEvent };
|