@constal/sdk 2.4.0 → 3.0.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/package.json +14 -4
- package/publish/api.json +36 -1
- package/publish/index.d.ts +268 -43
- package/publish/index.js +373 -52
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;
|
|
@@ -813,6 +839,14 @@ interface ScopedResourceRef {
|
|
|
813
839
|
required: boolean;
|
|
814
840
|
contract: ResourceContractRef;
|
|
815
841
|
}
|
|
842
|
+
/** A tenant-neutral package dependency resolved only when the package is installed. */
|
|
843
|
+
interface LocalResourceRef<K extends ResourceKind = ResourceKind> {
|
|
844
|
+
kind: "local";
|
|
845
|
+
resourceKind: K;
|
|
846
|
+
id: string;
|
|
847
|
+
namespace?: string;
|
|
848
|
+
}
|
|
849
|
+
type ResourceDependencyRef<K extends ResourceKind = ResourceKind> = CRN | LocalResourceRef<K>;
|
|
816
850
|
interface FixedModelGatewayRef {
|
|
817
851
|
kind: "fixed";
|
|
818
852
|
resource: {
|
|
@@ -853,6 +887,32 @@ interface ScopedCredentialRef {
|
|
|
853
887
|
}
|
|
854
888
|
type AgentResourceBinding = CRN | ScopedResourceRef;
|
|
855
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
|
+
}
|
|
856
916
|
interface ResourceNameParts {
|
|
857
917
|
environment: string;
|
|
858
918
|
tenant: string;
|
|
@@ -926,6 +986,48 @@ interface PolicyDelegationCeiling {
|
|
|
926
986
|
resources: ResourcePattern[];
|
|
927
987
|
maxTtlMs: number;
|
|
928
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;
|
|
929
1031
|
type UiSource = {
|
|
930
1032
|
kind: "template";
|
|
931
1033
|
template: "chat";
|
|
@@ -1017,6 +1119,8 @@ declare function agentResourceBinding(value: unknown): AgentResourceBinding;
|
|
|
1017
1119
|
declare function resourceCredentialBinding(value: unknown): ResourceCredentialBinding;
|
|
1018
1120
|
declare function credentialRotationDefaults(value: unknown): CredentialRotationDefaults;
|
|
1019
1121
|
declare function resourceName(parts: ResourceNameParts): ResourceName;
|
|
1122
|
+
declare function resourceDependencyRef<K extends ResourceKind>(value: unknown, expectedKinds: readonly K[]): ResourceDependencyRef<K>;
|
|
1123
|
+
declare function resolveResourceDependencyRef<K extends ResourceKind>(value: unknown, scope: Pick<ResourceNameParts, "environment" | "tenant" | "namespace">, expectedKinds: readonly K[]): ResourceName;
|
|
1020
1124
|
declare function parseResourceName(value: string): ResourceNameParts;
|
|
1021
1125
|
declare function credentialName(value: string): CredentialCRN;
|
|
1022
1126
|
declare function credentialProviderName(value: string): CredentialProviderCRN;
|
|
@@ -1146,14 +1250,14 @@ type PolicyInvocationOrigin = {
|
|
|
1146
1250
|
} | {
|
|
1147
1251
|
kind: "ingress";
|
|
1148
1252
|
target: {
|
|
1149
|
-
kind: "channel" | "ui";
|
|
1253
|
+
kind: "channel" | "ui" | InvokableKind;
|
|
1150
1254
|
crn: CRN;
|
|
1151
1255
|
};
|
|
1152
1256
|
authProvider: CRN | null;
|
|
1153
1257
|
} | {
|
|
1154
1258
|
kind: "channel";
|
|
1155
1259
|
channel: CRN;
|
|
1156
|
-
phase: "receive" | "respond" | "send" | "alarm";
|
|
1260
|
+
phase: "receive" | "respond" | "send" | "alarm" | "authorize-subscription";
|
|
1157
1261
|
} | {
|
|
1158
1262
|
kind: "sandbox";
|
|
1159
1263
|
agent: CRN;
|
|
@@ -1289,6 +1393,25 @@ interface SandboxFileResult {
|
|
|
1289
1393
|
ref: Ref;
|
|
1290
1394
|
bytes: number;
|
|
1291
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
|
+
}
|
|
1292
1415
|
interface SandboxMutationResult {
|
|
1293
1416
|
ok: boolean;
|
|
1294
1417
|
}
|
|
@@ -1309,6 +1432,11 @@ interface Sandbox {
|
|
|
1309
1432
|
resume(opts?: InvokeOpts): Promise<void>;
|
|
1310
1433
|
delete(opts?: InvokeOpts): Promise<void>;
|
|
1311
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>;
|
|
1312
1440
|
getFile(path: string, opts?: InvokeOpts): Handle<SandboxFileResult>;
|
|
1313
1441
|
putFile(path: string, ref: Ref, options?: {
|
|
1314
1442
|
mode?: number;
|
|
@@ -1628,8 +1756,9 @@ interface Tool {
|
|
|
1628
1756
|
tier?: Tier;
|
|
1629
1757
|
guard?(args: any, ctx: Ctx): string | null;
|
|
1630
1758
|
/**
|
|
1631
|
-
* Return a bounded, deterministic, secret-safe projection
|
|
1632
|
-
*
|
|
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.
|
|
1633
1762
|
*/
|
|
1634
1763
|
preview?(result: any): unknown;
|
|
1635
1764
|
once?: "per-run-and-args" | "per-run";
|
|
@@ -1683,6 +1812,7 @@ interface ToolCallRecord {
|
|
|
1683
1812
|
maxEffect: EffectClass;
|
|
1684
1813
|
effectObserved: EffectClass | null;
|
|
1685
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. */
|
|
1686
1816
|
result?: unknown;
|
|
1687
1817
|
ref?: Ref;
|
|
1688
1818
|
preview?: unknown;
|
|
@@ -1967,9 +2097,54 @@ declare function validateTool(tool: Tool, path?: string): Tool;
|
|
|
1967
2097
|
declare function validateView<V extends ViewDef<any, any>>(view: V, path?: string): V;
|
|
1968
2098
|
declare function validatePartitionFn<I, O, R>(fn: PartitionFn<I, O, R>): PartitionFn<I, O, R>;
|
|
1969
2099
|
declare function validateFoldFn<I, O>(fn: FoldFn<I, O> | SqlFold): FoldFn<I, O> | SqlFold;
|
|
1970
|
-
declare function agent<S>(
|
|
2100
|
+
declare function agent<S>(input: Omit<AgentDef<S>, "version"> & {
|
|
2101
|
+
version?: string;
|
|
2102
|
+
}): AgentDef<S>;
|
|
1971
2103
|
declare function subtask<T>(def: Task<T>): Task<T>;
|
|
1972
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
|
+
|
|
1973
2148
|
interface IngressRequest {
|
|
1974
2149
|
method: string;
|
|
1975
2150
|
url: string;
|
|
@@ -2014,7 +2189,13 @@ interface IgnoredChannelEvent {
|
|
|
2014
2189
|
reason: string;
|
|
2015
2190
|
response: ChannelResponse;
|
|
2016
2191
|
}
|
|
2017
|
-
|
|
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;
|
|
2018
2199
|
interface DispatchResult<T = unknown> {
|
|
2019
2200
|
event: CanonicalEvent;
|
|
2020
2201
|
runId: string;
|
|
@@ -2074,12 +2255,14 @@ interface ChannelProtocol<Input = unknown, Output = unknown, Delivery = Output>
|
|
|
2074
2255
|
respond(result: DispatchResult<Output>, context: ChannelContext): Promise<ChannelResponse> | ChannelResponse;
|
|
2075
2256
|
send?(message: ChannelMessage<Delivery>, context: ChannelContext): Promise<DeliveryReceipt> | DeliveryReceipt;
|
|
2076
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;
|
|
2077
2260
|
}
|
|
2078
2261
|
interface Channel<Input = unknown, Output = unknown, Delivery = Output> {
|
|
2079
2262
|
id: string;
|
|
2080
2263
|
version: string;
|
|
2081
2264
|
protocol: ChannelProtocol<Input, Output, Delivery>;
|
|
2082
|
-
authProvider:
|
|
2265
|
+
authProvider: ResourceDependencyRef<"auth-provider">;
|
|
2083
2266
|
public?: boolean;
|
|
2084
2267
|
needs?: ResourceNeed[];
|
|
2085
2268
|
analytics?: AnalyticsEventDefinition[];
|
|
@@ -2112,6 +2295,9 @@ interface AuthProviderContext {
|
|
|
2112
2295
|
provider: AuthProviderCRN;
|
|
2113
2296
|
ingress: IngressTarget;
|
|
2114
2297
|
resources: Record<string, CRN>;
|
|
2298
|
+
config?: unknown;
|
|
2299
|
+
/** Host-authenticated source provenance. HTTP callers cannot supply this field. */
|
|
2300
|
+
source?: ChannelSourceEvidence;
|
|
2115
2301
|
invoke<T>(resource: CRN, op: string, args: unknown): Promise<T>;
|
|
2116
2302
|
}
|
|
2117
2303
|
interface AuthProvider {
|
|
@@ -2291,6 +2477,29 @@ declare function setupAwait(screen: SetupScreen): AwaitOpts<SetupSubmission>;
|
|
|
2291
2477
|
/** A deterministic latest-screen projection for Console discovery and reload. */
|
|
2292
2478
|
declare function setupScreenView(id?: string): ViewDef<SetupScreen | null, Fact>;
|
|
2293
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
|
+
|
|
2294
2503
|
declare const CONSTAL_API_CAPABILITY: "constal.api";
|
|
2295
2504
|
declare const CONSTAL_API_VERSION: "1";
|
|
2296
2505
|
declare const CONSTAL_API_OPERATIONS: readonly ["describe", "query", "get", "relations", "explainPolicy", "plan", "apply", "observe"];
|
|
@@ -2415,6 +2624,17 @@ interface ConstalApiError {
|
|
|
2415
2624
|
evidence?: ConstalApiObjectRef[];
|
|
2416
2625
|
details?: unknown;
|
|
2417
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
|
+
};
|
|
2418
2638
|
/** Shared schemas pinned into the Resource catalog and Agent Tools. */
|
|
2419
2639
|
declare const CONSTAL_API_OPERATION_SCHEMAS: {
|
|
2420
2640
|
readonly describe: {
|
|
@@ -2471,14 +2691,14 @@ declare const CONSTAL_API_OPERATION_SCHEMAS: {
|
|
|
2471
2691
|
readonly type: "object";
|
|
2472
2692
|
readonly required: readonly ["kind", "scope"];
|
|
2473
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.";
|
|
2474
2695
|
readonly properties: {
|
|
2475
2696
|
readonly kind: {
|
|
2476
|
-
readonly
|
|
2477
|
-
readonly
|
|
2478
|
-
readonly maxLength: 128;
|
|
2479
|
-
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.";
|
|
2480
2699
|
};
|
|
2481
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.";
|
|
2482
2702
|
readonly anyOf: readonly [{
|
|
2483
2703
|
readonly type: "object";
|
|
2484
2704
|
readonly required: readonly ["kind", "namespace"];
|
|
@@ -2488,10 +2708,11 @@ declare const CONSTAL_API_OPERATION_SCHEMAS: {
|
|
|
2488
2708
|
readonly const: "namespace";
|
|
2489
2709
|
};
|
|
2490
2710
|
readonly namespace: {
|
|
2711
|
+
readonly description: "Exact authorized namespace. Do not infer it from an object name or repository.";
|
|
2491
2712
|
readonly type: "string";
|
|
2492
2713
|
readonly minLength: 1;
|
|
2493
2714
|
readonly maxLength: 128;
|
|
2494
|
-
readonly pattern: "^[
|
|
2715
|
+
readonly pattern: "^[a-z0-9][a-z0-9._-]{0,127}$";
|
|
2495
2716
|
};
|
|
2496
2717
|
};
|
|
2497
2718
|
}, {
|
|
@@ -2507,6 +2728,7 @@ declare const CONSTAL_API_OPERATION_SCHEMAS: {
|
|
|
2507
2728
|
};
|
|
2508
2729
|
readonly filter: {
|
|
2509
2730
|
readonly type: "object";
|
|
2731
|
+
readonly description: "Optional catalog-advertised filter expression.";
|
|
2510
2732
|
};
|
|
2511
2733
|
readonly search: {
|
|
2512
2734
|
readonly type: "string";
|
|
@@ -2575,23 +2797,32 @@ declare const CONSTAL_API_OPERATION_SCHEMAS: {
|
|
|
2575
2797
|
readonly type: "object";
|
|
2576
2798
|
readonly required: readonly ["ref"];
|
|
2577
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.";
|
|
2578
2801
|
readonly properties: {
|
|
2579
2802
|
readonly ref: {
|
|
2803
|
+
readonly description: "Copy a complete object ref from governed output, or supply an exact supported CRN.";
|
|
2580
2804
|
readonly anyOf: readonly [{
|
|
2581
2805
|
readonly type: "object";
|
|
2582
2806
|
readonly additionalProperties: false;
|
|
2583
2807
|
readonly properties: {
|
|
2584
2808
|
readonly kind: {
|
|
2585
|
-
readonly
|
|
2586
|
-
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.";
|
|
2587
2811
|
};
|
|
2588
2812
|
readonly id: {
|
|
2589
2813
|
readonly type: "string";
|
|
2814
|
+
readonly minLength: 1;
|
|
2590
2815
|
readonly maxLength: 512;
|
|
2591
2816
|
};
|
|
2592
2817
|
readonly crn: {
|
|
2593
|
-
readonly
|
|
2594
|
-
|
|
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
|
+
}];
|
|
2595
2826
|
};
|
|
2596
2827
|
readonly hash: {
|
|
2597
2828
|
readonly anyOf: readonly [{
|
|
@@ -2604,12 +2835,14 @@ declare const CONSTAL_API_OPERATION_SCHEMAS: {
|
|
|
2604
2835
|
readonly namespace: {
|
|
2605
2836
|
readonly type: readonly ["string", "null"];
|
|
2606
2837
|
readonly maxLength: 128;
|
|
2838
|
+
readonly pattern: "^[a-z0-9][a-z0-9._-]{0,127}$";
|
|
2607
2839
|
};
|
|
2608
2840
|
readonly version: {
|
|
2609
2841
|
readonly type: readonly ["string", "null"];
|
|
2610
2842
|
readonly maxLength: 128;
|
|
2611
2843
|
};
|
|
2612
2844
|
};
|
|
2845
|
+
readonly required: readonly ["kind", "id", "namespace"];
|
|
2613
2846
|
}, {
|
|
2614
2847
|
readonly type: "object";
|
|
2615
2848
|
readonly required: readonly ["crn"];
|
|
@@ -2619,6 +2852,8 @@ declare const CONSTAL_API_OPERATION_SCHEMAS: {
|
|
|
2619
2852
|
readonly type: "string";
|
|
2620
2853
|
readonly minLength: 1;
|
|
2621
2854
|
readonly maxLength: 2048;
|
|
2855
|
+
readonly description: "Exact addressable CRN obtained from governed platform evidence.";
|
|
2856
|
+
readonly pattern: string;
|
|
2622
2857
|
};
|
|
2623
2858
|
readonly hash: {
|
|
2624
2859
|
readonly type: "string";
|
|
@@ -2664,16 +2899,23 @@ declare const CONSTAL_API_OPERATION_SCHEMAS: {
|
|
|
2664
2899
|
readonly additionalProperties: false;
|
|
2665
2900
|
readonly properties: {
|
|
2666
2901
|
readonly kind: {
|
|
2667
|
-
readonly
|
|
2668
|
-
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.";
|
|
2669
2904
|
};
|
|
2670
2905
|
readonly id: {
|
|
2671
2906
|
readonly type: "string";
|
|
2907
|
+
readonly minLength: 1;
|
|
2672
2908
|
readonly maxLength: 512;
|
|
2673
2909
|
};
|
|
2674
2910
|
readonly crn: {
|
|
2675
|
-
readonly
|
|
2676
|
-
|
|
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
|
+
}];
|
|
2677
2919
|
};
|
|
2678
2920
|
readonly hash: {
|
|
2679
2921
|
readonly anyOf: readonly [{
|
|
@@ -2686,12 +2928,14 @@ declare const CONSTAL_API_OPERATION_SCHEMAS: {
|
|
|
2686
2928
|
readonly namespace: {
|
|
2687
2929
|
readonly type: readonly ["string", "null"];
|
|
2688
2930
|
readonly maxLength: 128;
|
|
2931
|
+
readonly pattern: "^[a-z0-9][a-z0-9._-]{0,127}$";
|
|
2689
2932
|
};
|
|
2690
2933
|
readonly version: {
|
|
2691
2934
|
readonly type: readonly ["string", "null"];
|
|
2692
2935
|
readonly maxLength: 128;
|
|
2693
2936
|
};
|
|
2694
2937
|
};
|
|
2938
|
+
readonly required: readonly ["kind", "id", "namespace"];
|
|
2695
2939
|
}, {
|
|
2696
2940
|
readonly type: "object";
|
|
2697
2941
|
readonly required: readonly ["crn"];
|
|
@@ -3054,27 +3298,6 @@ declare const WEB_SEARCH_ARGUMENT_SCHEMA: {
|
|
|
3054
3298
|
readonly pattern: "^[0-9]{4}-[0-9]{2}-[0-9]{2}$";
|
|
3055
3299
|
readonly description: "Optional earliest publication date in YYYY-MM-DD form.";
|
|
3056
3300
|
};
|
|
3057
|
-
readonly searchDepth: {
|
|
3058
|
-
readonly type: "string";
|
|
3059
|
-
readonly enum: readonly ["basic", "advanced"];
|
|
3060
|
-
readonly description: "Provider search depth when supported.";
|
|
3061
|
-
};
|
|
3062
|
-
readonly includeAnswer: {
|
|
3063
|
-
readonly type: "boolean";
|
|
3064
|
-
readonly description: "Request a provider-synthesized answer when supported.";
|
|
3065
|
-
};
|
|
3066
|
-
readonly includeRawContent: {
|
|
3067
|
-
readonly type: "boolean";
|
|
3068
|
-
readonly description: "Include bounded raw source content when supported.";
|
|
3069
|
-
};
|
|
3070
|
-
readonly includeImages: {
|
|
3071
|
-
readonly type: "boolean";
|
|
3072
|
-
readonly description: "Include relevant image results when supported.";
|
|
3073
|
-
};
|
|
3074
|
-
readonly includeImageDescriptions: {
|
|
3075
|
-
readonly type: "boolean";
|
|
3076
|
-
readonly description: "Include image descriptions when supported.";
|
|
3077
|
-
};
|
|
3078
3301
|
};
|
|
3079
3302
|
};
|
|
3080
3303
|
declare const webFetch: CatalogTool;
|
|
@@ -3295,6 +3518,8 @@ interface CredentialMaterialRequest {
|
|
|
3295
3518
|
}
|
|
3296
3519
|
interface CredentialVerifyResult {
|
|
3297
3520
|
verified: boolean;
|
|
3521
|
+
/** Non-secret external identity and access facts verified by this provider. */
|
|
3522
|
+
claims?: Record<string, string | number | boolean | string[]>;
|
|
3298
3523
|
}
|
|
3299
3524
|
interface CredentialDestroyResult {
|
|
3300
3525
|
destroyed: boolean;
|
|
@@ -3617,5 +3842,5 @@ declare class SessionDeleted extends Error {
|
|
|
3617
3842
|
constructor(session: string);
|
|
3618
3843
|
}
|
|
3619
3844
|
|
|
3620
|
-
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, 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, resourceContractRef, resourceCredentialBinding, 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 };
|
|
3621
|
-
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, 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, 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 };
|