@constal/sdk 2.5.0 → 3.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +202 -0
- package/NOTICE +4 -0
- package/package.json +19 -6
- package/publish/api.json +31 -1
- package/publish/index.d.ts +257 -42
- package/publish/index.js +340 -51
package/publish/index.d.ts
CHANGED
|
@@ -745,6 +745,14 @@ declare function resourceLabelMap(value: unknown, options?: {
|
|
|
745
745
|
declare function labelSelector(value: unknown): LabelSelector;
|
|
746
746
|
declare function resourceSelector<K extends CRNKind>(value: unknown, allowedKinds: readonly K[]): ResourceSelector<K>;
|
|
747
747
|
declare function matchesLabelSelector(selector: LabelSelector, labels: Record<string, string>): boolean;
|
|
748
|
+
declare function selectableResourceLabels(input: {
|
|
749
|
+
crn: string;
|
|
750
|
+
name: string;
|
|
751
|
+
namespace: string;
|
|
752
|
+
kind: string;
|
|
753
|
+
version?: string;
|
|
754
|
+
labels?: Record<string, string>;
|
|
755
|
+
}): Record<string, string>;
|
|
748
756
|
|
|
749
757
|
declare const RESOURCE_KINDS: readonly ["agent", "channel", "ui", "auth-provider", "policy", "credential-provider", "credential", "tool", "scorer", "dataset", "model", "memory", "cas", "web", "service", "mcp", "db", "browser", "sandbox-pool", "vault"];
|
|
750
758
|
declare const PLATFORM_ADDRESS_KINDS: readonly ["analytics", "role", "principal", "customer", "binding", "session", "run", "ledger", "table", "artifact", "deployment"];
|
|
@@ -806,6 +814,24 @@ interface CapabilityContractRef {
|
|
|
806
814
|
version: string;
|
|
807
815
|
hash: Hash;
|
|
808
816
|
}
|
|
817
|
+
type BindingOwner = {
|
|
818
|
+
kind: "tenant";
|
|
819
|
+
tenant: string;
|
|
820
|
+
} | {
|
|
821
|
+
kind: "customer";
|
|
822
|
+
customer: CustomerTenantCRN;
|
|
823
|
+
} | {
|
|
824
|
+
kind: "principal";
|
|
825
|
+
principal: ResourceName;
|
|
826
|
+
};
|
|
827
|
+
/** Authenticated context from which a scoped binding's owner is derived. */
|
|
828
|
+
interface BindingOwnerContext {
|
|
829
|
+
environment: string;
|
|
830
|
+
tenant: string;
|
|
831
|
+
principal?: ResourceName;
|
|
832
|
+
customer?: CustomerTenantCRN;
|
|
833
|
+
}
|
|
834
|
+
declare function resolveBindingOwner(scope: BindingOwnerScope, context: BindingOwnerContext, required?: boolean): BindingOwner | null;
|
|
809
835
|
interface ScopedResourceRef {
|
|
810
836
|
kind: "scoped";
|
|
811
837
|
key: ScopedBindingKey;
|
|
@@ -861,6 +887,32 @@ interface ScopedCredentialRef {
|
|
|
861
887
|
}
|
|
862
888
|
type AgentResourceBinding = CRN | ScopedResourceRef;
|
|
863
889
|
type ResourceCredentialBinding = CredentialCRN | ScopedCredentialRef;
|
|
890
|
+
interface BindingAssignmentRevision {
|
|
891
|
+
binding: BindingCRN;
|
|
892
|
+
revisionHash: Hash;
|
|
893
|
+
environment: string;
|
|
894
|
+
tenant: string;
|
|
895
|
+
namespace: string;
|
|
896
|
+
targetClass: "resource" | "credential";
|
|
897
|
+
key: ScopedBindingKey;
|
|
898
|
+
owner: BindingOwner;
|
|
899
|
+
target: {
|
|
900
|
+
crn: CRN;
|
|
901
|
+
hash: Hash;
|
|
902
|
+
};
|
|
903
|
+
contract: ResourceContractRef | null;
|
|
904
|
+
createdAt: number;
|
|
905
|
+
createdBy: ResourceName;
|
|
906
|
+
eventId: string;
|
|
907
|
+
}
|
|
908
|
+
interface BindingAssignmentHead {
|
|
909
|
+
binding: BindingCRN;
|
|
910
|
+
revisionHash: Hash;
|
|
911
|
+
headSeq: number;
|
|
912
|
+
controlSeq: number;
|
|
913
|
+
state: "enabled" | "disabled" | "revoked";
|
|
914
|
+
revision: BindingAssignmentRevision;
|
|
915
|
+
}
|
|
864
916
|
interface ResourceNameParts {
|
|
865
917
|
environment: string;
|
|
866
918
|
tenant: string;
|
|
@@ -934,6 +986,48 @@ interface PolicyDelegationCeiling {
|
|
|
934
986
|
resources: ResourcePattern[];
|
|
935
987
|
maxTtlMs: number;
|
|
936
988
|
}
|
|
989
|
+
/** Optional durable setup workflow advertised by an Agent deployment. */
|
|
990
|
+
interface AgentSetupWorkflow {
|
|
991
|
+
protocol: "constal.setup.v1";
|
|
992
|
+
agent: string;
|
|
993
|
+
session: string;
|
|
994
|
+
input: Record<string, unknown>;
|
|
995
|
+
}
|
|
996
|
+
interface AgentSetupRequirementFields {
|
|
997
|
+
id: string;
|
|
998
|
+
title: string;
|
|
999
|
+
description?: string;
|
|
1000
|
+
optional?: boolean;
|
|
1001
|
+
/** Credential eligibility is expressed exclusively through the Resource selector. */
|
|
1002
|
+
provider?: never;
|
|
1003
|
+
}
|
|
1004
|
+
/** One reusable credential slot in an explicitly declared owner scope. */
|
|
1005
|
+
interface AgentCredentialSetupRequirement extends AgentSetupRequirementFields, ResourceSelector<"credential"> {
|
|
1006
|
+
binding: {
|
|
1007
|
+
key: string;
|
|
1008
|
+
owner: BindingOwnerScope;
|
|
1009
|
+
};
|
|
1010
|
+
}
|
|
1011
|
+
type AgentSetupRequirement = AgentCredentialSetupRequirement | AgentSetupRequirementFields & ResourceSelector<Exclude<ResourceKind, "credential">> & {
|
|
1012
|
+
binding?: never;
|
|
1013
|
+
};
|
|
1014
|
+
type AgentSetupMetadata = AgentSetupWorkflow | {
|
|
1015
|
+
requirements: AgentSetupRequirement[];
|
|
1016
|
+
};
|
|
1017
|
+
declare function agentSetupRequirements(value: unknown, options?: {
|
|
1018
|
+
allowLegacyTenantOwner?: boolean;
|
|
1019
|
+
}): AgentSetupRequirement[];
|
|
1020
|
+
declare function agentSetupMetadata(value: unknown, options?: {
|
|
1021
|
+
allowLegacyTenantOwner?: boolean;
|
|
1022
|
+
}): AgentSetupMetadata;
|
|
1023
|
+
/** Route to tenant-local Agents or to explicitly authorized Channel subscriptions. */
|
|
1024
|
+
type ChannelTarget = ResourceSelector<"agent"> | {
|
|
1025
|
+
resourceKind: "channel";
|
|
1026
|
+
subscriptions: {
|
|
1027
|
+
provider: string;
|
|
1028
|
+
};
|
|
1029
|
+
};
|
|
1030
|
+
declare function channelTarget(value: unknown): ChannelTarget;
|
|
937
1031
|
type UiSource = {
|
|
938
1032
|
kind: "template";
|
|
939
1033
|
template: "chat";
|
|
@@ -1156,14 +1250,14 @@ type PolicyInvocationOrigin = {
|
|
|
1156
1250
|
} | {
|
|
1157
1251
|
kind: "ingress";
|
|
1158
1252
|
target: {
|
|
1159
|
-
kind: "channel" | "ui";
|
|
1253
|
+
kind: "channel" | "ui" | InvokableKind;
|
|
1160
1254
|
crn: CRN;
|
|
1161
1255
|
};
|
|
1162
1256
|
authProvider: CRN | null;
|
|
1163
1257
|
} | {
|
|
1164
1258
|
kind: "channel";
|
|
1165
1259
|
channel: CRN;
|
|
1166
|
-
phase: "receive" | "respond" | "send" | "alarm";
|
|
1260
|
+
phase: "receive" | "respond" | "send" | "alarm" | "authorize-subscription";
|
|
1167
1261
|
} | {
|
|
1168
1262
|
kind: "sandbox";
|
|
1169
1263
|
agent: CRN;
|
|
@@ -1299,6 +1393,25 @@ interface SandboxFileResult {
|
|
|
1299
1393
|
ref: Ref;
|
|
1300
1394
|
bytes: number;
|
|
1301
1395
|
}
|
|
1396
|
+
interface SandboxReadFileOptions {
|
|
1397
|
+
offset?: number;
|
|
1398
|
+
limit?: number;
|
|
1399
|
+
invoke?: InvokeOpts;
|
|
1400
|
+
}
|
|
1401
|
+
interface SandboxReadFileResult {
|
|
1402
|
+
path: string;
|
|
1403
|
+
content: string;
|
|
1404
|
+
contentHash: Ref;
|
|
1405
|
+
bytes: number;
|
|
1406
|
+
offset: number;
|
|
1407
|
+
returnedBytes: number;
|
|
1408
|
+
nextOffset: number | null;
|
|
1409
|
+
}
|
|
1410
|
+
interface SandboxWriteFileResult {
|
|
1411
|
+
path: string;
|
|
1412
|
+
contentHash: Ref;
|
|
1413
|
+
bytes: number;
|
|
1414
|
+
}
|
|
1302
1415
|
interface SandboxMutationResult {
|
|
1303
1416
|
ok: boolean;
|
|
1304
1417
|
}
|
|
@@ -1319,6 +1432,11 @@ interface Sandbox {
|
|
|
1319
1432
|
resume(opts?: InvokeOpts): Promise<void>;
|
|
1320
1433
|
delete(opts?: InvokeOpts): Promise<void>;
|
|
1321
1434
|
exec(input: SandboxExecInput, opts?: InvokeOpts): Handle<SandboxCommandResult>;
|
|
1435
|
+
readFile(path: string, options?: SandboxReadFileOptions): Promise<SandboxReadFileResult>;
|
|
1436
|
+
writeFile(path: string, content: string, options?: {
|
|
1437
|
+
mode?: number;
|
|
1438
|
+
invoke?: InvokeOpts;
|
|
1439
|
+
}): Promise<SandboxWriteFileResult>;
|
|
1322
1440
|
getFile(path: string, opts?: InvokeOpts): Handle<SandboxFileResult>;
|
|
1323
1441
|
putFile(path: string, ref: Ref, options?: {
|
|
1324
1442
|
mode?: number;
|
|
@@ -1638,8 +1756,9 @@ interface Tool {
|
|
|
1638
1756
|
tier?: Tier;
|
|
1639
1757
|
guard?(args: any, ctx: Ctx): string | null;
|
|
1640
1758
|
/**
|
|
1641
|
-
* Return a bounded, deterministic, secret-safe projection
|
|
1642
|
-
*
|
|
1759
|
+
* Return a bounded, deterministic, secret-safe projection for durable records
|
|
1760
|
+
* and operator views. Agent code receives the complete result; the runtime also
|
|
1761
|
+
* retains it by Ref for replay.
|
|
1643
1762
|
*/
|
|
1644
1763
|
preview?(result: any): unknown;
|
|
1645
1764
|
once?: "per-run-and-args" | "per-run";
|
|
@@ -1693,6 +1812,7 @@ interface ToolCallRecord {
|
|
|
1693
1812
|
maxEffect: EffectClass;
|
|
1694
1813
|
effectObserved: EffectClass | null;
|
|
1695
1814
|
status: "ok" | "error" | "refused" | "unknown" | "repeated" | "outcome-unknown" | "substituted";
|
|
1815
|
+
/** Complete successful value available to Agent code. CAS-backed values are omitted from durable serialization and materialized on replay. */
|
|
1696
1816
|
result?: unknown;
|
|
1697
1817
|
ref?: Ref;
|
|
1698
1818
|
preview?: unknown;
|
|
@@ -1977,9 +2097,54 @@ declare function validateTool(tool: Tool, path?: string): Tool;
|
|
|
1977
2097
|
declare function validateView<V extends ViewDef<any, any>>(view: V, path?: string): V;
|
|
1978
2098
|
declare function validatePartitionFn<I, O, R>(fn: PartitionFn<I, O, R>): PartitionFn<I, O, R>;
|
|
1979
2099
|
declare function validateFoldFn<I, O>(fn: FoldFn<I, O> | SqlFold): FoldFn<I, O> | SqlFold;
|
|
1980
|
-
declare function agent<S>(
|
|
2100
|
+
declare function agent<S>(input: Omit<AgentDef<S>, "version"> & {
|
|
2101
|
+
version?: string;
|
|
2102
|
+
}): AgentDef<S>;
|
|
1981
2103
|
declare function subtask<T>(def: Task<T>): Task<T>;
|
|
1982
2104
|
|
|
2105
|
+
interface ChannelIngressSource {
|
|
2106
|
+
provider: string;
|
|
2107
|
+
key: string;
|
|
2108
|
+
}
|
|
2109
|
+
/** Provenance supplied by the Channel host for a durably captured source delivery. */
|
|
2110
|
+
interface ChannelSourceEvidence {
|
|
2111
|
+
channel: {
|
|
2112
|
+
crn: CRN;
|
|
2113
|
+
hash: string;
|
|
2114
|
+
};
|
|
2115
|
+
authProvider: {
|
|
2116
|
+
crn: CRN;
|
|
2117
|
+
hash: string;
|
|
2118
|
+
};
|
|
2119
|
+
source: ChannelIngressSource;
|
|
2120
|
+
id: string;
|
|
2121
|
+
requestHash: string;
|
|
2122
|
+
}
|
|
2123
|
+
interface CredentialEvidence {
|
|
2124
|
+
credential: CRN;
|
|
2125
|
+
provider: {
|
|
2126
|
+
crn: CRN;
|
|
2127
|
+
hash: string;
|
|
2128
|
+
};
|
|
2129
|
+
version: number;
|
|
2130
|
+
expiresAt: number | null;
|
|
2131
|
+
claims: Record<string, string | number | boolean | string[]>;
|
|
2132
|
+
}
|
|
2133
|
+
interface ChannelSubscriptionRequest {
|
|
2134
|
+
source: ChannelIngressSource;
|
|
2135
|
+
channel: CRN;
|
|
2136
|
+
principal: ResourceName;
|
|
2137
|
+
configuration: Record<string, unknown>;
|
|
2138
|
+
/** Current proofs produced by the selected Credentials' pinned providers. */
|
|
2139
|
+
credentials: CredentialEvidence[];
|
|
2140
|
+
}
|
|
2141
|
+
/** Structural validation only; authenticity comes from the host-owned delivery path. */
|
|
2142
|
+
declare function channelSourceEvidence(value: unknown): ChannelSourceEvidence;
|
|
2143
|
+
declare function credentialEvidence(value: unknown): CredentialEvidence;
|
|
2144
|
+
declare function channelIngressSource(value: unknown): ChannelIngressSource;
|
|
2145
|
+
declare function channelSubscriptionRequest(value: unknown): ChannelSubscriptionRequest;
|
|
2146
|
+
declare function channelIngressRequest(value: unknown): ChannelRequest;
|
|
2147
|
+
|
|
1983
2148
|
interface IngressRequest {
|
|
1984
2149
|
method: string;
|
|
1985
2150
|
url: string;
|
|
@@ -2024,7 +2189,13 @@ interface IgnoredChannelEvent {
|
|
|
2024
2189
|
reason: string;
|
|
2025
2190
|
response: ChannelResponse;
|
|
2026
2191
|
}
|
|
2027
|
-
|
|
2192
|
+
/** Authenticated source delivery captured once and dispatched to authorized subscribers. */
|
|
2193
|
+
interface ChannelIngressEvent {
|
|
2194
|
+
id: string;
|
|
2195
|
+
source: ChannelIngressSource;
|
|
2196
|
+
request: ChannelRequest;
|
|
2197
|
+
}
|
|
2198
|
+
type ChannelReceiveResult<T = unknown> = CanonicalEventDraft<T> | IgnoredChannelEvent | ChannelIngressEvent;
|
|
2028
2199
|
interface DispatchResult<T = unknown> {
|
|
2029
2200
|
event: CanonicalEvent;
|
|
2030
2201
|
runId: string;
|
|
@@ -2084,6 +2255,8 @@ interface ChannelProtocol<Input = unknown, Output = unknown, Delivery = Output>
|
|
|
2084
2255
|
respond(result: DispatchResult<Output>, context: ChannelContext): Promise<ChannelResponse> | ChannelResponse;
|
|
2085
2256
|
send?(message: ChannelMessage<Delivery>, context: ChannelContext): Promise<DeliveryReceipt> | DeliveryReceipt;
|
|
2086
2257
|
alarm?(alarm: ChannelAlarm, context: ChannelContext): Promise<ChannelAlarmResult<Delivery> | void> | ChannelAlarmResult<Delivery> | void;
|
|
2258
|
+
/** Prove external access before a subscriber's Channel, bindings, or routes are installed. */
|
|
2259
|
+
authorizeSubscription?(request: ChannelSubscriptionRequest, context: ChannelContext): Promise<boolean> | boolean;
|
|
2087
2260
|
}
|
|
2088
2261
|
interface Channel<Input = unknown, Output = unknown, Delivery = Output> {
|
|
2089
2262
|
id: string;
|
|
@@ -2122,6 +2295,9 @@ interface AuthProviderContext {
|
|
|
2122
2295
|
provider: AuthProviderCRN;
|
|
2123
2296
|
ingress: IngressTarget;
|
|
2124
2297
|
resources: Record<string, CRN>;
|
|
2298
|
+
config?: unknown;
|
|
2299
|
+
/** Host-authenticated source provenance. HTTP callers cannot supply this field. */
|
|
2300
|
+
source?: ChannelSourceEvidence;
|
|
2125
2301
|
invoke<T>(resource: CRN, op: string, args: unknown): Promise<T>;
|
|
2126
2302
|
}
|
|
2127
2303
|
interface AuthProvider {
|
|
@@ -2301,6 +2477,29 @@ declare function setupAwait(screen: SetupScreen): AwaitOpts<SetupSubmission>;
|
|
|
2301
2477
|
/** A deterministic latest-screen projection for Console discovery and reload. */
|
|
2302
2478
|
declare function setupScreenView(id?: string): ViewDef<SetupScreen | null, Fact>;
|
|
2303
2479
|
|
|
2480
|
+
/** Non-secret inventory from an authorized credential listing and availability check. */
|
|
2481
|
+
interface SetupCredentialCandidate {
|
|
2482
|
+
crn: CredentialCRN;
|
|
2483
|
+
labels?: Record<string, string>;
|
|
2484
|
+
version?: string;
|
|
2485
|
+
available: boolean;
|
|
2486
|
+
}
|
|
2487
|
+
interface CredentialSetupState {
|
|
2488
|
+
status: "missing" | "choose" | "ready" | "blocked";
|
|
2489
|
+
required: boolean;
|
|
2490
|
+
credential: CredentialCRN | null;
|
|
2491
|
+
candidates: CredentialCRN[];
|
|
2492
|
+
}
|
|
2493
|
+
/**
|
|
2494
|
+
* Projects setup from the existing selector and saved owner-scoped binding. Never
|
|
2495
|
+
* chooses a credential implicitly or replaces an unavailable saved choice.
|
|
2496
|
+
* Persist explicit choices through the ordinary binding API, which rechecks
|
|
2497
|
+
* authorization and the current target. This helper grants no authority.
|
|
2498
|
+
*/
|
|
2499
|
+
declare function credentialSetupState(requirement: AgentCredentialSetupRequirement, scope: BindingOwnerContext & {
|
|
2500
|
+
namespace: string;
|
|
2501
|
+
}, inventory: readonly SetupCredentialCandidate[], binding: BindingAssignmentHead | null): CredentialSetupState;
|
|
2502
|
+
|
|
2304
2503
|
declare const CONSTAL_API_CAPABILITY: "constal.api";
|
|
2305
2504
|
declare const CONSTAL_API_VERSION: "1";
|
|
2306
2505
|
declare const CONSTAL_API_OPERATIONS: readonly ["describe", "query", "get", "relations", "explainPolicy", "plan", "apply", "observe"];
|
|
@@ -2425,6 +2624,17 @@ interface ConstalApiError {
|
|
|
2425
2624
|
evidence?: ConstalApiObjectRef[];
|
|
2426
2625
|
details?: unknown;
|
|
2427
2626
|
}
|
|
2627
|
+
/**
|
|
2628
|
+
* Exact object kinds backed by both query and get projections in the Constal
|
|
2629
|
+
* management Resource. Keep authorization-only CRN families such as ledger,
|
|
2630
|
+
* table, and artifact out of this model-facing inventory contract.
|
|
2631
|
+
*/
|
|
2632
|
+
declare const CONSTAL_API_QUERY_KINDS: readonly ["agent", "channel", "ui", "auth-provider", "policy", "credential-provider", "credential", "tool", "scorer", "dataset", "model", "memory", "cas", "web", "service", "mcp", "db", "browser", "sandbox-pool", "vault", "analytics", "customer", "binding", "session", "run", "deployment", "documentation", "analytics-event", "namespace", "team-member", "team-invite", "api-key", "billing-account", "invoice", "subscription", "resource-contract", "dataset-draft", "dataset-case", "eval-score", "eval-sample", "eval-policy", "eval-suite", "eval-baseline", "eval-schedule", "training-job", "checkpoint", "training-provider", "training-model", "checkpoint-gateway", "credential-provider-package", "credential-consumer", "credential-use", "credential-event", "gateway-package", "rollout", "wait"];
|
|
2633
|
+
declare const CONSTAL_API_GET_KINDS: readonly ["agent", "channel", "ui", "auth-provider", "policy", "credential-provider", "credential", "tool", "scorer", "dataset", "model", "memory", "cas", "web", "service", "mcp", "db", "browser", "sandbox-pool", "vault", "analytics", "customer", "binding", "session", "run", "deployment", "documentation", "analytics-event", "namespace", "team-member", "team-invite", "api-key", "billing-account", "invoice", "subscription", "resource-contract", "dataset-draft", "dataset-case", "eval-score", "eval-sample", "eval-policy", "eval-suite", "eval-baseline", "eval-schedule", "training-job", "checkpoint", "training-provider", "training-model", "checkpoint-gateway", "credential-provider-package", "credential-consumer", "credential-use", "credential-event", "gateway-package", "rollout", "wait"];
|
|
2634
|
+
declare const CONSTAL_API_MODEL_TOOL_DESCRIPTIONS: {
|
|
2635
|
+
readonly query: "Query authorized Constal objects with bounded pagination and evidence. Select the exact lower-case singular kind from the schema enum; never pluralize, recase, or substitute an abstract kind. If context supplies platformToolContract.queryScope, copy it unchanged. Otherwise use only an exact namespace allowed by the delegated Run authority, and tenant scope only for an explicitly tenant-wide request. Use catalog-advertised fields and filters; constrained kinds require their advertised filter. Preserve next and evidence completeness.";
|
|
2636
|
+
readonly get: "Retrieve one exact authorized Constal object or immutable revision. Pass a complete ref unchanged from query, relations, runtime inspection, or a governed receipt; never construct a kind, id, namespace, CRN, hash, or cursor from display text. The schema enum contains every supported addressable kind. For a Run, omit fields for complete diagnosis or request only documented top-level fields, and follow only the returned page cursor.";
|
|
2637
|
+
};
|
|
2428
2638
|
/** Shared schemas pinned into the Resource catalog and Agent Tools. */
|
|
2429
2639
|
declare const CONSTAL_API_OPERATION_SCHEMAS: {
|
|
2430
2640
|
readonly describe: {
|
|
@@ -2481,14 +2691,14 @@ declare const CONSTAL_API_OPERATION_SCHEMAS: {
|
|
|
2481
2691
|
readonly type: "object";
|
|
2482
2692
|
readonly required: readonly ["kind", "scope"];
|
|
2483
2693
|
readonly additionalProperties: false;
|
|
2694
|
+
readonly description: "Query one exact catalog kind. Kind ids are lower-case, singular, and must be selected from the enum; abstract names and pluralizations are invalid.";
|
|
2484
2695
|
readonly properties: {
|
|
2485
2696
|
readonly kind: {
|
|
2486
|
-
readonly
|
|
2487
|
-
readonly
|
|
2488
|
-
readonly maxLength: 128;
|
|
2489
|
-
readonly pattern: "^[A-Za-z][A-Za-z0-9._-]{0,127}$";
|
|
2697
|
+
readonly enum: readonly ["agent", "channel", "ui", "auth-provider", "policy", "credential-provider", "credential", "tool", "scorer", "dataset", "model", "memory", "cas", "web", "service", "mcp", "db", "browser", "sandbox-pool", "vault", "analytics", "customer", "binding", "session", "run", "deployment", "documentation", "analytics-event", "namespace", "team-member", "team-invite", "api-key", "billing-account", "invoice", "subscription", "resource-contract", "dataset-draft", "dataset-case", "eval-score", "eval-sample", "eval-policy", "eval-suite", "eval-baseline", "eval-schedule", "training-job", "checkpoint", "training-provider", "training-model", "checkpoint-gateway", "credential-provider-package", "credential-consumer", "credential-use", "credential-event", "gateway-package", "rollout", "wait"];
|
|
2698
|
+
readonly description: "Exact queryable kind. Never guess a kind or change its casing.";
|
|
2490
2699
|
};
|
|
2491
2700
|
readonly scope: {
|
|
2701
|
+
readonly description: "Use namespace with an exact namespace allowed by the delegated Run authority. Use tenant only for an explicitly tenant-wide request.";
|
|
2492
2702
|
readonly anyOf: readonly [{
|
|
2493
2703
|
readonly type: "object";
|
|
2494
2704
|
readonly required: readonly ["kind", "namespace"];
|
|
@@ -2498,10 +2708,11 @@ declare const CONSTAL_API_OPERATION_SCHEMAS: {
|
|
|
2498
2708
|
readonly const: "namespace";
|
|
2499
2709
|
};
|
|
2500
2710
|
readonly namespace: {
|
|
2711
|
+
readonly description: "Exact authorized namespace. Do not infer it from an object name or repository.";
|
|
2501
2712
|
readonly type: "string";
|
|
2502
2713
|
readonly minLength: 1;
|
|
2503
2714
|
readonly maxLength: 128;
|
|
2504
|
-
readonly pattern: "^[
|
|
2715
|
+
readonly pattern: "^[a-z0-9][a-z0-9._-]{0,127}$";
|
|
2505
2716
|
};
|
|
2506
2717
|
};
|
|
2507
2718
|
}, {
|
|
@@ -2517,6 +2728,7 @@ declare const CONSTAL_API_OPERATION_SCHEMAS: {
|
|
|
2517
2728
|
};
|
|
2518
2729
|
readonly filter: {
|
|
2519
2730
|
readonly type: "object";
|
|
2731
|
+
readonly description: "Optional catalog-advertised filter expression.";
|
|
2520
2732
|
};
|
|
2521
2733
|
readonly search: {
|
|
2522
2734
|
readonly type: "string";
|
|
@@ -2585,23 +2797,32 @@ declare const CONSTAL_API_OPERATION_SCHEMAS: {
|
|
|
2585
2797
|
readonly type: "object";
|
|
2586
2798
|
readonly required: readonly ["ref"];
|
|
2587
2799
|
readonly additionalProperties: false;
|
|
2800
|
+
readonly description: "Read one addressable object using a complete ref returned by query, relations, runtime inspection, or a governed receipt. Do not synthesize refs.";
|
|
2588
2801
|
readonly properties: {
|
|
2589
2802
|
readonly ref: {
|
|
2803
|
+
readonly description: "Copy a complete object ref from governed output, or supply an exact supported CRN.";
|
|
2590
2804
|
readonly anyOf: readonly [{
|
|
2591
2805
|
readonly type: "object";
|
|
2592
2806
|
readonly additionalProperties: false;
|
|
2593
2807
|
readonly properties: {
|
|
2594
2808
|
readonly kind: {
|
|
2595
|
-
readonly
|
|
2596
|
-
readonly
|
|
2809
|
+
readonly enum: readonly ["agent", "channel", "ui", "auth-provider", "policy", "credential-provider", "credential", "tool", "scorer", "dataset", "model", "memory", "cas", "web", "service", "mcp", "db", "browser", "sandbox-pool", "vault", "analytics", "customer", "binding", "session", "run", "deployment", "documentation", "analytics-event", "namespace", "team-member", "team-invite", "api-key", "billing-account", "invoice", "subscription", "resource-contract", "dataset-draft", "dataset-case", "eval-score", "eval-sample", "eval-policy", "eval-suite", "eval-baseline", "eval-schedule", "training-job", "checkpoint", "training-provider", "training-model", "checkpoint-gateway", "credential-provider-package", "credential-consumer", "credential-use", "credential-event", "gateway-package", "rollout", "wait"];
|
|
2810
|
+
readonly description: "Exact lower-case object kind returned by a governed platform result.";
|
|
2597
2811
|
};
|
|
2598
2812
|
readonly id: {
|
|
2599
2813
|
readonly type: "string";
|
|
2814
|
+
readonly minLength: 1;
|
|
2600
2815
|
readonly maxLength: 512;
|
|
2601
2816
|
};
|
|
2602
2817
|
readonly crn: {
|
|
2603
|
-
readonly
|
|
2604
|
-
|
|
2818
|
+
readonly anyOf: readonly [{
|
|
2819
|
+
readonly type: "null";
|
|
2820
|
+
}, {
|
|
2821
|
+
readonly type: "string";
|
|
2822
|
+
readonly minLength: 1;
|
|
2823
|
+
readonly maxLength: 2048;
|
|
2824
|
+
readonly pattern: string;
|
|
2825
|
+
}];
|
|
2605
2826
|
};
|
|
2606
2827
|
readonly hash: {
|
|
2607
2828
|
readonly anyOf: readonly [{
|
|
@@ -2614,12 +2835,14 @@ declare const CONSTAL_API_OPERATION_SCHEMAS: {
|
|
|
2614
2835
|
readonly namespace: {
|
|
2615
2836
|
readonly type: readonly ["string", "null"];
|
|
2616
2837
|
readonly maxLength: 128;
|
|
2838
|
+
readonly pattern: "^[a-z0-9][a-z0-9._-]{0,127}$";
|
|
2617
2839
|
};
|
|
2618
2840
|
readonly version: {
|
|
2619
2841
|
readonly type: readonly ["string", "null"];
|
|
2620
2842
|
readonly maxLength: 128;
|
|
2621
2843
|
};
|
|
2622
2844
|
};
|
|
2845
|
+
readonly required: readonly ["kind", "id", "namespace"];
|
|
2623
2846
|
}, {
|
|
2624
2847
|
readonly type: "object";
|
|
2625
2848
|
readonly required: readonly ["crn"];
|
|
@@ -2629,6 +2852,8 @@ declare const CONSTAL_API_OPERATION_SCHEMAS: {
|
|
|
2629
2852
|
readonly type: "string";
|
|
2630
2853
|
readonly minLength: 1;
|
|
2631
2854
|
readonly maxLength: 2048;
|
|
2855
|
+
readonly description: "Exact addressable CRN obtained from governed platform evidence.";
|
|
2856
|
+
readonly pattern: string;
|
|
2632
2857
|
};
|
|
2633
2858
|
readonly hash: {
|
|
2634
2859
|
readonly type: "string";
|
|
@@ -2674,16 +2899,23 @@ declare const CONSTAL_API_OPERATION_SCHEMAS: {
|
|
|
2674
2899
|
readonly additionalProperties: false;
|
|
2675
2900
|
readonly properties: {
|
|
2676
2901
|
readonly kind: {
|
|
2677
|
-
readonly
|
|
2678
|
-
readonly
|
|
2902
|
+
readonly enum: readonly ["agent", "channel", "ui", "auth-provider", "policy", "credential-provider", "credential", "tool", "scorer", "dataset", "model", "memory", "cas", "web", "service", "mcp", "db", "browser", "sandbox-pool", "vault", "analytics", "customer", "binding", "session", "run", "deployment", "documentation", "analytics-event", "namespace", "team-member", "team-invite", "api-key", "billing-account", "invoice", "subscription", "resource-contract", "dataset-draft", "dataset-case", "eval-score", "eval-sample", "eval-policy", "eval-suite", "eval-baseline", "eval-schedule", "training-job", "checkpoint", "training-provider", "training-model", "checkpoint-gateway", "credential-provider-package", "credential-consumer", "credential-use", "credential-event", "gateway-package", "rollout", "wait"];
|
|
2903
|
+
readonly description: "Exact lower-case object kind returned by a governed platform result.";
|
|
2679
2904
|
};
|
|
2680
2905
|
readonly id: {
|
|
2681
2906
|
readonly type: "string";
|
|
2907
|
+
readonly minLength: 1;
|
|
2682
2908
|
readonly maxLength: 512;
|
|
2683
2909
|
};
|
|
2684
2910
|
readonly crn: {
|
|
2685
|
-
readonly
|
|
2686
|
-
|
|
2911
|
+
readonly anyOf: readonly [{
|
|
2912
|
+
readonly type: "null";
|
|
2913
|
+
}, {
|
|
2914
|
+
readonly type: "string";
|
|
2915
|
+
readonly minLength: 1;
|
|
2916
|
+
readonly maxLength: 2048;
|
|
2917
|
+
readonly pattern: string;
|
|
2918
|
+
}];
|
|
2687
2919
|
};
|
|
2688
2920
|
readonly hash: {
|
|
2689
2921
|
readonly anyOf: readonly [{
|
|
@@ -2696,12 +2928,14 @@ declare const CONSTAL_API_OPERATION_SCHEMAS: {
|
|
|
2696
2928
|
readonly namespace: {
|
|
2697
2929
|
readonly type: readonly ["string", "null"];
|
|
2698
2930
|
readonly maxLength: 128;
|
|
2931
|
+
readonly pattern: "^[a-z0-9][a-z0-9._-]{0,127}$";
|
|
2699
2932
|
};
|
|
2700
2933
|
readonly version: {
|
|
2701
2934
|
readonly type: readonly ["string", "null"];
|
|
2702
2935
|
readonly maxLength: 128;
|
|
2703
2936
|
};
|
|
2704
2937
|
};
|
|
2938
|
+
readonly required: readonly ["kind", "id", "namespace"];
|
|
2705
2939
|
}, {
|
|
2706
2940
|
readonly type: "object";
|
|
2707
2941
|
readonly required: readonly ["crn"];
|
|
@@ -3064,27 +3298,6 @@ declare const WEB_SEARCH_ARGUMENT_SCHEMA: {
|
|
|
3064
3298
|
readonly pattern: "^[0-9]{4}-[0-9]{2}-[0-9]{2}$";
|
|
3065
3299
|
readonly description: "Optional earliest publication date in YYYY-MM-DD form.";
|
|
3066
3300
|
};
|
|
3067
|
-
readonly searchDepth: {
|
|
3068
|
-
readonly type: "string";
|
|
3069
|
-
readonly enum: readonly ["basic", "advanced"];
|
|
3070
|
-
readonly description: "Provider search depth when supported.";
|
|
3071
|
-
};
|
|
3072
|
-
readonly includeAnswer: {
|
|
3073
|
-
readonly type: "boolean";
|
|
3074
|
-
readonly description: "Request a provider-synthesized answer when supported.";
|
|
3075
|
-
};
|
|
3076
|
-
readonly includeRawContent: {
|
|
3077
|
-
readonly type: "boolean";
|
|
3078
|
-
readonly description: "Include bounded raw source content when supported.";
|
|
3079
|
-
};
|
|
3080
|
-
readonly includeImages: {
|
|
3081
|
-
readonly type: "boolean";
|
|
3082
|
-
readonly description: "Include relevant image results when supported.";
|
|
3083
|
-
};
|
|
3084
|
-
readonly includeImageDescriptions: {
|
|
3085
|
-
readonly type: "boolean";
|
|
3086
|
-
readonly description: "Include image descriptions when supported.";
|
|
3087
|
-
};
|
|
3088
3301
|
};
|
|
3089
3302
|
};
|
|
3090
3303
|
declare const webFetch: CatalogTool;
|
|
@@ -3305,6 +3518,8 @@ interface CredentialMaterialRequest {
|
|
|
3305
3518
|
}
|
|
3306
3519
|
interface CredentialVerifyResult {
|
|
3307
3520
|
verified: boolean;
|
|
3521
|
+
/** Non-secret external identity and access facts verified by this provider. */
|
|
3522
|
+
claims?: Record<string, string | number | boolean | string[]>;
|
|
3308
3523
|
}
|
|
3309
3524
|
interface CredentialDestroyResult {
|
|
3310
3525
|
destroyed: boolean;
|
|
@@ -3627,5 +3842,5 @@ declare class SessionDeleted extends Error {
|
|
|
3627
3842
|
constructor(session: string);
|
|
3628
3843
|
}
|
|
3629
3844
|
|
|
3630
|
-
export { AfterYield, ApiError, CONSTAL_API_CAPABILITY, CONSTAL_API_OPERATIONS, CONSTAL_API_OPERATION_SCHEMAS, CONSTAL_API_VERSION, CommitConflict, CommitGateRejected, CredentialRevoked, CredentialUnavailable, DirectNetworkDenied, EffectCeilingExceeded, GateExhausted, IntegrationRequestNotSent, LeaseLost, MCP_CLIENT_CAPABILITY, MEMORY_OPERATION_DECLARATIONS, MODEL_CHECKPOINT_IMPORT_CAPABILITY, MODEL_COMPLETION_CAPABILITY, NondeterministicReplay, OutcomeUnknown, PolicyConstraintFailed, PolicyDecisionFailed, RESOURCE_KINDS, ResourceDisabled, ResourceInvalid, ResourceUnbound, RollbackTargetInvalid, SessionDeleted, SpawnCardinality, SwallowedYield, TRAINING_PROVIDER_CAPABILITY, TerminalIntegrationFailure, ToolUnavailable, UI_BUNDLE_BOUNDS, UnknownTool, WEB_FETCH_ARGUMENT_SCHEMA, WEB_SEARCH_ARGUMENT_SCHEMA, action, actionPattern, agent, agentResourceBinding, analyticsEvent, approximateTokens, authProvider, authProviderName, bindingName, bucketFor, canonicalJson, capabilityContractRef, casTool, channel, checkpointArtifactRef, checkpointDeploymentRequest, checkpointImportMetadata, checkpointImportRequest, codeScorerIR, credentialInteractionAction, credentialInteractionEvent, credentialInteractionResult, credentialName, credentialProvider, credentialProviderConfigSchema, credentialProviderName, credentialProviderSetupMetadata, credentialRotationDefaults, customerTenantName, cutBatches, cutPartitions, datasetName, evaluateCodeScorer, evaluatePolicyDefinition, gateway, gatewayModelOffer, gatewayPackageMetadata, hash, hashValue, integrationEgressPolicy, labelSelector, matchesAction, matchesLabelSelector, matchesResource, memoryStoreBinding, modelAdvertisedPricing, modelControls, modelGatewayBinding, modelGatewayEndpoint, modelLimit, modelPrompt, modelProtocolRequest, modelProtocolResult, murmur3_32, normalizeModelGatewayConfig, normalizeSandboxNetworkPolicy, opTool, opTools, parseResourceName, policy, policyName, renderTrainingCompletion, resolveGatewayEgress, resolveResourceDependencyRef, resourceContractRef, resourceCredentialBinding, resourceDependencyRef, resourceLabelMap, resourceName, resourceNeed, resourcePattern, resourceSelector, sandboxControls, sandboxLimit, scopedBindingKey, scopedCredentialRef, scopedResourceRef, scorerName, setupAwait, setupScreen, setupScreenView, setupSubmission, sha256Hex, stageOutput, startTrainingRequest, subtask, tableDescribe, tableQuery, trainingProvider, trainingProviderMetadata, trainingRecipe, uiBundle, uiBundleManifest, uiLimit, uiName, validateBatchSpec, validateFoldFn, validateJsonSchema, validateJsonSchemaDefinition, validatePartitionFn, validatePartitionSpec, validateStageOutputSpec, validateTool, validateView, webFetch, webSearch };
|
|
3631
|
-
export type { Action, ActionPattern, Actor, AdmissionLimitConstraint, AdmissionLimitInput, AdmissionLimitScope, AdmissionLimitWindow, Agent, AgentDef, AgentDeployPolicy, AnalyticsClient, AnalyticsDimensionValue, AnalyticsEventDefinition, AnalyticsIntent, AnalyticsValues, AuthProvider, AuthProviderCRN, AuthProviderContext, AuthProviderRequest, AuthProviderResult, AwaitOpts, AwaitPresentation, BatchSpec, BindingCRN, BindingOwnerScope, BranchRef, CRN, CRNKind, CanonicalEvent, CanonicalEventDraft, CapabilityContractRef, CapabilityGrant, CapabilityRef, CaptureCaseRequest, CaseRow, CatalogTool, Channel, ChannelAlarm, ChannelAlarmResult, ChannelContext, ChannelMessage, ChannelProtocol, ChannelReceiveResult, ChannelRequest, ChannelResponse, CheckpointDeploymentRequest, CheckpointImportMetadata, CheckpointImportRequest, CodeScoreResult, CodeScorerIR, CodeScorerRule, CommitOpts, CompareSuitesRequest, Compensation, ConnectionCancelRequest, ConnectionIdentity, ConnectionOperation, ConnectionRecoveryRequest, ConnectionRecoveryResult, ConnectionRequest, ConnectionUsageReport, ConstalApiApplyRequest, ConstalApiChangePlan, ConstalApiChangePlanRef, ConstalApiChangePlanRequest, ConstalApiChangeReceipt, ConstalApiOperationReceipt, ControlEvent, Cost, CreateSandboxImageOptions, CreateSandboxOptions, CredentialCRN, CredentialDestroyResult, CredentialInteractionAction, CredentialInteractionAdvanceRequest, CredentialInteractionEvent, CredentialInteractionPrimaryAction, CredentialInteractionProof, CredentialInteractionResult, CredentialInteractionStartRequest, CredentialMaterialRequest, CredentialMintRequest, CredentialMintResult, CredentialProviderCRN, CredentialProviderContext, CredentialProviderCredentialSlotSetup, CredentialProviderDefinition, CredentialProviderPackage, CredentialProviderPackageMetadata, CredentialProviderSecretInput, CredentialProviderSetupMetadata, CredentialVerifyResult, Ctx, CustomerTenantCRN, DataManifest, DatasetCRN, DatasetDraft, DatasetRef, DelegatedGrant, DelegationCeiling, DeliveryMode, DeliveryReceipt, DispatchResult, EffectClass, EvalComparison, EvalDivergence, EvalMode, EvalSubject, EvalSubjectSource, 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, IgnoredChannelEvent, IngressRequest, IngressTarget, IntegrationArtifactEgressRequest, IntegrationArtifactEgressResponse, IntegrationContext, IntegrationEgressPolicy, IntegrationEgressRequest, IntegrationEgressResponse, IntegrationEgressRule, IntegrationSecret, IntegrationState, InvokableKind, InvokeOpts, JsonScalar, JsonValue, LabelRequest, LabelSelector, LabelSelectorOperator, LabelSelectorRequirement, LedgerAddress, LedgerEvent, LocalResourceRef, ManifestIndexPage, MapFact, MapOpts, MemoryDeleteArgs, MemoryGetArgs, MemoryRecord, MemoryRememberArgs, MemorySearchArgs, MemorySearchHit, MemoryStoreBinding, Mode, ModelAdvertisedPricing, ModelCredentialHeader, ModelGatewayBinding, ModelGatewayConfig, ModelGatewayProtocol, ModelGovernanceControls, ModelGovernanceMeter, ModelInvocationArgs, ModelInvocationResult, ModelTechnicalCapabilities, ModelTool, NormalizedModelGatewayConfig, 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, SandboxCommandResult, SandboxExecInput, SandboxFileResult, SandboxGovernanceControls, SandboxGovernanceMeter, SandboxImage, SandboxMutationResult, SandboxNetworkMode, SandboxNetworkPolicy, SandboxPool, ScopedBindingKey, ScopedCredentialRef, ScopedMemoryStoreRef, ScopedModelGatewayRef, ScopedResourceRef, ScoreRequest, ScorerApplies, ScorerCRN, ScorerDef, ScorerEvaluation, ScorerKind, ScorerRef, ScorerVerdictIntent, SetEvalBaselineRequest, SetupAction, SetupCredentialInteractionPanel, SetupFormPanel, SetupPanel, SetupProgressPanel, SetupReviewPanel, SetupScreen, SetupStepStatus, SetupStepSummary, SetupSubmission, SetupTerminalPanel, SetupWorkflowStatus, 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 };
|
|
3845
|
+
export { 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, EffectCeilingExceeded, GateExhausted, IntegrationRequestNotSent, LeaseLost, MCP_CLIENT_CAPABILITY, MEMORY_OPERATION_DECLARATIONS, MODEL_CHECKPOINT_IMPORT_CAPABILITY, MODEL_COMPLETION_CAPABILITY, NondeterministicReplay, OutcomeUnknown, PolicyConstraintFailed, PolicyDecisionFailed, RESOURCE_KINDS, ResourceDisabled, ResourceInvalid, ResourceUnbound, RollbackTargetInvalid, SessionDeleted, SpawnCardinality, SwallowedYield, TRAINING_PROVIDER_CAPABILITY, TerminalIntegrationFailure, ToolUnavailable, UI_BUNDLE_BOUNDS, UnknownTool, WEB_FETCH_ARGUMENT_SCHEMA, WEB_SEARCH_ARGUMENT_SCHEMA, action, actionPattern, agent, agentResourceBinding, agentSetupMetadata, agentSetupRequirements, analyticsEvent, approximateTokens, authProvider, authProviderName, bindingName, bucketFor, canonicalJson, capabilityContractRef, casTool, channel, channelIngressRequest, channelIngressSource, channelSourceEvidence, channelSubscriptionRequest, channelTarget, checkpointArtifactRef, checkpointDeploymentRequest, checkpointImportMetadata, checkpointImportRequest, codeScorerIR, credentialEvidence, credentialInteractionAction, credentialInteractionEvent, credentialInteractionResult, credentialName, credentialProvider, credentialProviderConfigSchema, credentialProviderName, credentialProviderSetupMetadata, credentialRotationDefaults, credentialSetupState, customerTenantName, cutBatches, cutPartitions, datasetName, evaluateCodeScorer, evaluatePolicyDefinition, gateway, gatewayModelOffer, gatewayPackageMetadata, hash, hashValue, integrationEgressPolicy, labelSelector, matchesAction, matchesLabelSelector, matchesResource, memoryStoreBinding, modelAdvertisedPricing, modelControls, modelGatewayBinding, modelGatewayEndpoint, modelLimit, modelPrompt, modelProtocolRequest, modelProtocolResult, murmur3_32, normalizeModelGatewayConfig, normalizeSandboxNetworkPolicy, opTool, opTools, parseResourceName, policy, policyName, renderTrainingCompletion, resolveBindingOwner, resolveGatewayEgress, resolveResourceDependencyRef, resourceContractRef, resourceCredentialBinding, resourceDependencyRef, resourceLabelMap, resourceName, resourceNeed, resourcePattern, resourceSelector, sandboxControls, sandboxLimit, scopedBindingKey, scopedCredentialRef, scopedResourceRef, scorerName, selectableResourceLabels, setupAwait, setupScreen, setupScreenView, setupSubmission, sha256Hex, stageOutput, startTrainingRequest, subtask, tableDescribe, tableQuery, trainingProvider, trainingProviderMetadata, trainingRecipe, uiBundle, uiBundleManifest, uiLimit, uiName, validateBatchSpec, validateFoldFn, validateJsonSchema, validateJsonSchemaDefinition, validatePartitionFn, validatePartitionSpec, validateStageOutputSpec, validateTool, validateView, webFetch, webSearch };
|
|
3846
|
+
export type { Action, ActionPattern, Actor, AdmissionLimitConstraint, AdmissionLimitInput, AdmissionLimitScope, AdmissionLimitWindow, Agent, AgentCredentialSetupRequirement, AgentDef, AgentDeployPolicy, AgentSetupMetadata, AgentSetupRequirement, AgentSetupWorkflow, AnalyticsClient, AnalyticsDimensionValue, AnalyticsEventDefinition, AnalyticsIntent, AnalyticsValues, AuthProvider, AuthProviderCRN, AuthProviderContext, AuthProviderRequest, AuthProviderResult, AwaitOpts, AwaitPresentation, BatchSpec, BindingCRN, BindingOwnerContext, BindingOwnerScope, BranchRef, CRN, CRNKind, CanonicalEvent, CanonicalEventDraft, CapabilityContractRef, CapabilityGrant, CapabilityRef, CaptureCaseRequest, CaseRow, CatalogTool, Channel, ChannelAlarm, ChannelAlarmResult, ChannelContext, ChannelIngressEvent, ChannelIngressSource, ChannelMessage, ChannelProtocol, ChannelReceiveResult, ChannelRequest, ChannelResponse, ChannelSourceEvidence, ChannelSubscriptionRequest, ChannelTarget, CheckpointDeploymentRequest, CheckpointImportMetadata, CheckpointImportRequest, CodeScoreResult, CodeScorerIR, CodeScorerRule, CommitOpts, CompareSuitesRequest, Compensation, ConnectionCancelRequest, ConnectionIdentity, ConnectionOperation, ConnectionRecoveryRequest, ConnectionRecoveryResult, ConnectionRequest, ConnectionUsageReport, ConstalApiApplyRequest, ConstalApiChangePlan, ConstalApiChangePlanRef, ConstalApiChangePlanRequest, ConstalApiChangeReceipt, ConstalApiOperationReceipt, 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, 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, IgnoredChannelEvent, IngressRequest, IngressTarget, IntegrationArtifactEgressRequest, IntegrationArtifactEgressResponse, IntegrationContext, IntegrationEgressPolicy, IntegrationEgressRequest, IntegrationEgressResponse, IntegrationEgressRule, IntegrationSecret, IntegrationState, InvokableKind, InvokeOpts, JsonScalar, JsonValue, LabelRequest, LabelSelector, LabelSelectorOperator, LabelSelectorRequirement, LedgerAddress, LedgerEvent, LocalResourceRef, ManifestIndexPage, MapFact, MapOpts, MemoryDeleteArgs, MemoryGetArgs, MemoryRecord, MemoryRememberArgs, MemorySearchArgs, MemorySearchHit, MemoryStoreBinding, Mode, ModelAdvertisedPricing, ModelCredentialHeader, ModelGatewayBinding, ModelGatewayConfig, ModelGatewayProtocol, ModelGovernanceControls, ModelGovernanceMeter, ModelInvocationArgs, ModelInvocationResult, ModelTechnicalCapabilities, ModelTool, NormalizedModelGatewayConfig, 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, SandboxCommandResult, SandboxExecInput, SandboxFileResult, SandboxGovernanceControls, SandboxGovernanceMeter, SandboxImage, SandboxMutationResult, SandboxNetworkMode, SandboxNetworkPolicy, SandboxPool, SandboxReadFileOptions, SandboxReadFileResult, SandboxWriteFileResult, ScopedBindingKey, ScopedCredentialRef, ScopedMemoryStoreRef, ScopedModelGatewayRef, ScopedResourceRef, ScoreRequest, ScorerApplies, ScorerCRN, ScorerDef, ScorerEvaluation, ScorerKind, ScorerRef, ScorerVerdictIntent, SetEvalBaselineRequest, SetupAction, SetupCredentialCandidate, SetupCredentialInteractionPanel, SetupFormPanel, SetupPanel, SetupProgressPanel, SetupReviewPanel, SetupScreen, SetupStepStatus, SetupStepSummary, SetupSubmission, SetupTerminalPanel, SetupWorkflowStatus, 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 };
|