@inferencesh/sdk 0.38.0 → 0.38.2
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/dist/agent/index.d.ts +1 -1
- package/dist/agent/mcp-input.d.ts +22 -6
- package/dist/types.d.ts +403 -29
- package/dist/types.js +164 -9
- package/package.json +4 -4
package/dist/agent/index.d.ts
CHANGED
|
@@ -48,4 +48,4 @@ export { useAgentChat, useAgentActions, useAgentClient, useAgentChatContext, use
|
|
|
48
48
|
export { AgentChatContext, type AgentChatContextValue } from './context.js';
|
|
49
49
|
export type { AgentClient, FileRef, AdHocAgentConfig, TemplateAgentConfig, AgentOptions, AgentChatState, AgentChatActions, AlwaysAllowChoice, ChatStatus, AgentChatProviderProps, ClientTool, ClientToolHandlerFn, ClientToolResult, } from './types.js';
|
|
50
50
|
export { isAdHocConfig, isTemplateConfig, isClientTool, extractToolSchemas, extractClientToolHandlers, } from './types.js';
|
|
51
|
-
export { MCPMethodElicitationCreate, parseMCPInputState, elicitParams, isURLElicitation, buildMCPInputResult, type MCPInputState, type ElicitRequestParams, type ElicitRequestedSchema, type ElicitPropertySchema, } from './mcp-input.js';
|
|
51
|
+
export { MCPMethodElicitationCreate, parseMCPInputState, elicitParams, isURLElicitation, buildMCPInputResult, type MCPInputState, type ElicitRequestParams, type ElicitRequestedSchema, type ElicitPropertySchema, type ElicitChoice, } from './mcp-input.js';
|
|
@@ -17,9 +17,20 @@ export interface MCPInputState {
|
|
|
17
17
|
/** 1 for the first request; goes up each time the server asks again. */
|
|
18
18
|
round: number;
|
|
19
19
|
}
|
|
20
|
-
/**
|
|
20
|
+
/** A choice of a single- or multi-select property: its value and label. */
|
|
21
|
+
export interface ElicitChoice {
|
|
22
|
+
const: string;
|
|
23
|
+
title?: string;
|
|
24
|
+
/** Not in MCP's schema; agents' questions carry one per choice. */
|
|
25
|
+
description?: string;
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* One property of a form-mode requestedSchema. MCP restricts these to flat
|
|
29
|
+
* primitives, single-select strings (enum or oneOf) and, since 2025-11-25,
|
|
30
|
+
* multi-select arrays whose items are an enum or anyOf.
|
|
31
|
+
*/
|
|
21
32
|
export interface ElicitPropertySchema {
|
|
22
|
-
type?: 'string' | 'number' | 'integer' | 'boolean';
|
|
33
|
+
type?: 'string' | 'number' | 'integer' | 'boolean' | 'array';
|
|
23
34
|
title?: string;
|
|
24
35
|
description?: string;
|
|
25
36
|
default?: unknown;
|
|
@@ -30,10 +41,15 @@ export interface ElicitPropertySchema {
|
|
|
30
41
|
maximum?: number;
|
|
31
42
|
enum?: string[];
|
|
32
43
|
enumNames?: string[];
|
|
33
|
-
oneOf?:
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
44
|
+
oneOf?: ElicitChoice[];
|
|
45
|
+
/** A multi-select's choices (type array). */
|
|
46
|
+
items?: {
|
|
47
|
+
type?: 'string';
|
|
48
|
+
enum?: string[];
|
|
49
|
+
anyOf?: ElicitChoice[];
|
|
50
|
+
};
|
|
51
|
+
minItems?: number;
|
|
52
|
+
maxItems?: number;
|
|
37
53
|
}
|
|
38
54
|
export interface ElicitRequestedSchema {
|
|
39
55
|
type?: 'object';
|
package/dist/types.d.ts
CHANGED
|
@@ -931,7 +931,7 @@ export interface EstimateCostResponse {
|
|
|
931
931
|
/**
|
|
932
932
|
* Scope represents an API key permission scope string.
|
|
933
933
|
*/
|
|
934
|
-
export type Scope = "*" | "agents" | "apps" | "conversations" | "files" | "datastores" | "templates" | "flows" | "projects" | "teams" | "billing" | "artifacts" | "agents:read" | "agents:write" | "agents:execute" | "apps:read" | "apps:write" | "apps:execute" | "conversations:read" | "conversations:write" | "files:read" | "files:write" | "datastores:read" | "datastores:write" | "flows:read" | "flows:write" | "flows:execute" | "projects:read" | "projects:write" | "teams:read" | "teams:write" | "billing:read" | "billing:write" | "secrets:read" | "secrets:write" | "secrets:reveal" | "credentials:read" | "credentials:write" | "engines:read" | "engines:write" | "remotes:read" | "remotes:write" | "apikeys:read" | "apikeys:write" | "knowledge:read" | "knowledge:write" | "artifacts:read" | "artifacts:write" | "user:read" | "user:write" | "settings:read" | "settings:write" | "approvals:write" | "admin:read" | "admin:write" | "store:pricing" | "store:submit" | "content:write";
|
|
934
|
+
export type Scope = "*" | "agents" | "apps" | "conversations" | "files" | "datastores" | "templates" | "flows" | "projects" | "teams" | "billing" | "artifacts" | "forms" | "bounties" | "agents:read" | "agents:write" | "agents:execute" | "apps:read" | "apps:write" | "apps:execute" | "conversations:read" | "conversations:write" | "files:read" | "files:write" | "datastores:read" | "datastores:write" | "flows:read" | "flows:write" | "flows:execute" | "projects:read" | "projects:write" | "teams:read" | "teams:write" | "billing:read" | "billing:write" | "secrets:read" | "secrets:write" | "secrets:reveal" | "credentials:read" | "credentials:write" | "engines:read" | "engines:write" | "remotes:read" | "remotes:write" | "sandboxes:read" | "sandboxes:write" | "apikeys:read" | "apikeys:write" | "knowledge:read" | "knowledge:write" | "artifacts:read" | "artifacts:write" | "forms:read" | "forms:write" | "forms:execute" | "bounties:read" | "bounties:execute" | "user:read" | "user:write" | "settings:read" | "settings:write" | "approvals:write" | "admin:read" | "admin:write" | "store:pricing" | "store:submit" | "content:write";
|
|
935
935
|
/**
|
|
936
936
|
* API Key Scopes - hierarchical permission system.
|
|
937
937
|
* Resource-level scopes (e.g., "agents") imply all action-level scopes (e.g., "agents:read").
|
|
@@ -1002,6 +1002,18 @@ export declare const ScopeBilling: Scope;
|
|
|
1002
1002
|
* Empty scopes = full access (for backwards compatibility with existing keys).
|
|
1003
1003
|
*/
|
|
1004
1004
|
export declare const ScopeArtifacts: Scope;
|
|
1005
|
+
/**
|
|
1006
|
+
* API Key Scopes - hierarchical permission system.
|
|
1007
|
+
* Resource-level scopes (e.g., "agents") imply all action-level scopes (e.g., "agents:read").
|
|
1008
|
+
* Empty scopes = full access (for backwards compatibility with existing keys).
|
|
1009
|
+
*/
|
|
1010
|
+
export declare const ScopeForms: Scope;
|
|
1011
|
+
/**
|
|
1012
|
+
* API Key Scopes - hierarchical permission system.
|
|
1013
|
+
* Resource-level scopes (e.g., "agents") imply all action-level scopes (e.g., "agents:read").
|
|
1014
|
+
* Empty scopes = full access (for backwards compatibility with existing keys).
|
|
1015
|
+
*/
|
|
1016
|
+
export declare const ScopeBounties: Scope;
|
|
1005
1017
|
/**
|
|
1006
1018
|
* Action-level scopes for Agents
|
|
1007
1019
|
*/
|
|
@@ -1157,6 +1169,16 @@ export declare const ScopeRemotesRead: Scope;
|
|
|
1157
1169
|
* Empty scopes = full access (for backwards compatibility with existing keys).
|
|
1158
1170
|
*/
|
|
1159
1171
|
export declare const ScopeRemotesWrite: Scope;
|
|
1172
|
+
/**
|
|
1173
|
+
* Action-level scopes for Sandboxes (managed boxes that run a remote)
|
|
1174
|
+
*/
|
|
1175
|
+
export declare const ScopeSandboxesRead: Scope;
|
|
1176
|
+
/**
|
|
1177
|
+
* API Key Scopes - hierarchical permission system.
|
|
1178
|
+
* Resource-level scopes (e.g., "agents") imply all action-level scopes (e.g., "agents:read").
|
|
1179
|
+
* Empty scopes = full access (for backwards compatibility with existing keys).
|
|
1180
|
+
*/
|
|
1181
|
+
export declare const ScopeSandboxesWrite: Scope;
|
|
1160
1182
|
/**
|
|
1161
1183
|
* Action-level scopes for API Keys
|
|
1162
1184
|
*/
|
|
@@ -1187,6 +1209,34 @@ export declare const ScopeArtifactsRead: Scope;
|
|
|
1187
1209
|
* Empty scopes = full access (for backwards compatibility with existing keys).
|
|
1188
1210
|
*/
|
|
1189
1211
|
export declare const ScopeArtifactsWrite: Scope;
|
|
1212
|
+
/**
|
|
1213
|
+
* Action-level scopes for Forms: read sees forms, write creates and
|
|
1214
|
+
* manages them and reads their answers, execute submits answers.
|
|
1215
|
+
*/
|
|
1216
|
+
export declare const ScopeFormsRead: Scope;
|
|
1217
|
+
/**
|
|
1218
|
+
* API Key Scopes - hierarchical permission system.
|
|
1219
|
+
* Resource-level scopes (e.g., "agents") imply all action-level scopes (e.g., "agents:read").
|
|
1220
|
+
* Empty scopes = full access (for backwards compatibility with existing keys).
|
|
1221
|
+
*/
|
|
1222
|
+
export declare const ScopeFormsWrite: Scope;
|
|
1223
|
+
/**
|
|
1224
|
+
* API Key Scopes - hierarchical permission system.
|
|
1225
|
+
* Resource-level scopes (e.g., "agents") imply all action-level scopes (e.g., "agents:read").
|
|
1226
|
+
* Empty scopes = full access (for backwards compatibility with existing keys).
|
|
1227
|
+
*/
|
|
1228
|
+
export declare const ScopeFormsExecute: Scope;
|
|
1229
|
+
/**
|
|
1230
|
+
* Action-level scopes for Bounties: read lists the programs, execute
|
|
1231
|
+
* claims one (only the account holder's own sign-in).
|
|
1232
|
+
*/
|
|
1233
|
+
export declare const ScopeBountiesRead: Scope;
|
|
1234
|
+
/**
|
|
1235
|
+
* API Key Scopes - hierarchical permission system.
|
|
1236
|
+
* Resource-level scopes (e.g., "agents") imply all action-level scopes (e.g., "agents:read").
|
|
1237
|
+
* Empty scopes = full access (for backwards compatibility with existing keys).
|
|
1238
|
+
*/
|
|
1239
|
+
export declare const ScopeBountiesExecute: Scope;
|
|
1190
1240
|
/**
|
|
1191
1241
|
* Action-level scopes for User profile
|
|
1192
1242
|
*/
|
|
@@ -1249,7 +1299,7 @@ export declare const ScopeContentWrite: Scope;
|
|
|
1249
1299
|
/**
|
|
1250
1300
|
* ScopeGroup identifies a category of scopes for UI grouping
|
|
1251
1301
|
*/
|
|
1252
|
-
export type ScopeGroup = "agents" | "apps" | "conversations" | "files" | "datastores" | "flows" | "projects" | "teams" | "billing" | "secrets" | "credentials" | "engines" | "remotes" | "apikeys" | "knowledge" | "artifacts" | "user" | "settings" | "approvals" | "admin" | "store" | "content";
|
|
1302
|
+
export type ScopeGroup = "agents" | "apps" | "conversations" | "files" | "datastores" | "flows" | "projects" | "teams" | "billing" | "secrets" | "credentials" | "engines" | "remotes" | "sandboxes" | "apikeys" | "knowledge" | "artifacts" | "forms" | "bounties" | "user" | "settings" | "approvals" | "admin" | "store" | "content";
|
|
1253
1303
|
export declare const ScopeGroupAgents: ScopeGroup;
|
|
1254
1304
|
export declare const ScopeGroupApps: ScopeGroup;
|
|
1255
1305
|
export declare const ScopeGroupConversations: ScopeGroup;
|
|
@@ -1263,9 +1313,12 @@ export declare const ScopeGroupSecrets: ScopeGroup;
|
|
|
1263
1313
|
export declare const ScopeGroupCredentials: ScopeGroup;
|
|
1264
1314
|
export declare const ScopeGroupEngines: ScopeGroup;
|
|
1265
1315
|
export declare const ScopeGroupRemotes: ScopeGroup;
|
|
1316
|
+
export declare const ScopeGroupSandboxes: ScopeGroup;
|
|
1266
1317
|
export declare const ScopeGroupApiKeys: ScopeGroup;
|
|
1267
1318
|
export declare const ScopeGroupKnowledge: ScopeGroup;
|
|
1268
1319
|
export declare const ScopeGroupArtifacts: ScopeGroup;
|
|
1320
|
+
export declare const ScopeGroupForms: ScopeGroup;
|
|
1321
|
+
export declare const ScopeGroupBounties: ScopeGroup;
|
|
1269
1322
|
export declare const ScopeGroupUser: ScopeGroup;
|
|
1270
1323
|
export declare const ScopeGroupSettings: ScopeGroup;
|
|
1271
1324
|
export declare const ScopeGroupApprovals: ScopeGroup;
|
|
@@ -2666,8 +2719,9 @@ export interface CredentialDTO extends BaseModelDTO, PermissionModelDTO {
|
|
|
2666
2719
|
error_message?: string;
|
|
2667
2720
|
/**
|
|
2668
2721
|
* Secrets are the secret rows linked to the credential (a key's values),
|
|
2669
|
-
* by row and key, never by value. Filled on the vault's api_key configs
|
|
2670
|
-
*
|
|
2722
|
+
* by row and key, never by value. Filled on the vault's api_key configs,
|
|
2723
|
+
* on a config's app when it is the caller's workspace's own (which of
|
|
2724
|
+
* its keys are set) and on the admin provider tree.
|
|
2671
2725
|
*/
|
|
2672
2726
|
secrets?: CredentialSecretRef[];
|
|
2673
2727
|
}
|
|
@@ -2743,6 +2797,13 @@ export interface CredentialConfigDTO {
|
|
|
2743
2797
|
* login itself.
|
|
2744
2798
|
*/
|
|
2745
2799
|
app?: CredentialDTO;
|
|
2800
|
+
/**
|
|
2801
|
+
* AppNoun is what that app is called ("GitHub App") when it is not an
|
|
2802
|
+
* OAuth sign-in app: its logins connect something other than a person
|
|
2803
|
+
* signing in (an installation). Empty: an OAuth app logins sign in
|
|
2804
|
+
* through.
|
|
2805
|
+
*/
|
|
2806
|
+
app_noun?: string;
|
|
2746
2807
|
/**
|
|
2747
2808
|
* AuthProviderID is set when the provider is one the team defined
|
|
2748
2809
|
* itself (models.AuthProvider), so the UI can offer edit and remove.
|
|
@@ -2894,7 +2955,17 @@ export interface EngineDTO extends BaseModelDTO, PermissionModelDTO {
|
|
|
2894
2955
|
* Capabilities are what the engine last reported it can do.
|
|
2895
2956
|
*/
|
|
2896
2957
|
capabilities?: EngineCapabilities;
|
|
2958
|
+
/**
|
|
2959
|
+
* LastUpdate is the last update the engine was asked for and how it
|
|
2960
|
+
* went; nil when it was never asked.
|
|
2961
|
+
*/
|
|
2962
|
+
last_update?: UpdateStatus;
|
|
2897
2963
|
system_info?: SystemInfo;
|
|
2964
|
+
/**
|
|
2965
|
+
* Capacity is what the engine last reported it offers and has given
|
|
2966
|
+
* out; nil from an engine that does not report it.
|
|
2967
|
+
*/
|
|
2968
|
+
capacity?: EngineCapacity;
|
|
2898
2969
|
workers: (WorkerDTO | undefined)[];
|
|
2899
2970
|
}
|
|
2900
2971
|
/**
|
|
@@ -3002,13 +3073,69 @@ export interface WorkerRAM {
|
|
|
3002
3073
|
* a task lists the ones it needs (Task.Requires); the scheduler only sends
|
|
3003
3074
|
* a task to an engine that has every one it needs.
|
|
3004
3075
|
*/
|
|
3005
|
-
export type EngineCapability = "egress_gateway";
|
|
3076
|
+
export type EngineCapability = "egress_gateway" | "sandboxes" | "capacity";
|
|
3077
|
+
/**
|
|
3078
|
+
* EngineCapabilityEgressGateway: the engine runs its sandboxes behind
|
|
3079
|
+
* the egress gateway, so it can take bound secrets (the v2 secrets
|
|
3080
|
+
* envelope) and place each value only toward its hosts (INF-1076).
|
|
3081
|
+
*/
|
|
3006
3082
|
export declare const EngineCapabilityEgressGateway: EngineCapability;
|
|
3083
|
+
/**
|
|
3084
|
+
* EngineCapabilitySandboxes: the engine has boxd connected and a VM
|
|
3085
|
+
* space up, so it can take sandbox_start (INF-833).
|
|
3086
|
+
*/
|
|
3087
|
+
export declare const EngineCapabilitySandboxes: EngineCapability;
|
|
3088
|
+
/**
|
|
3089
|
+
* EngineCapabilityCapacity: the engine reports EngineTelemetry.Capacity
|
|
3090
|
+
* (INF-1156).
|
|
3091
|
+
*/
|
|
3092
|
+
export declare const EngineCapabilityCapacity: EngineCapability;
|
|
3007
3093
|
/**
|
|
3008
3094
|
* EngineCapabilities is a set of capabilities, kept as a list. Nil and
|
|
3009
3095
|
* empty are the same: nothing beyond the base contract.
|
|
3010
3096
|
*/
|
|
3011
3097
|
export type EngineCapabilities = EngineCapability[];
|
|
3098
|
+
/**
|
|
3099
|
+
* EngineCapacity is what an engine offers and what it has given out
|
|
3100
|
+
* (INF-1156): the machine, the host reserve kept back from it, what is
|
|
3101
|
+
* left to give (allocatable), what it has promised (committed: app
|
|
3102
|
+
* workers' quotas and sandbox boxes' sizes) and what is in use now.
|
|
3103
|
+
* Reported by engines with EngineCapabilityCapacity.
|
|
3104
|
+
*/
|
|
3105
|
+
export interface EngineCapacity {
|
|
3106
|
+
/**
|
|
3107
|
+
* CPUs are the logical CPUs (hardware threads) the engine may use;
|
|
3108
|
+
* Cores the physical cores they are on.
|
|
3109
|
+
*/
|
|
3110
|
+
cpus: number;
|
|
3111
|
+
cores: number;
|
|
3112
|
+
memory_bytes: number;
|
|
3113
|
+
/**
|
|
3114
|
+
* DiskBytes and DiskFreeBytes are the volume the engine's data is on.
|
|
3115
|
+
*/
|
|
3116
|
+
disk_bytes: number;
|
|
3117
|
+
disk_free_bytes: number;
|
|
3118
|
+
gpus?: CapacityGPU[];
|
|
3119
|
+
reserve: CapacityAmount;
|
|
3120
|
+
allocatable: CapacityAmount;
|
|
3121
|
+
committed: CapacityAmount;
|
|
3122
|
+
used: CapacityAmount;
|
|
3123
|
+
}
|
|
3124
|
+
/**
|
|
3125
|
+
* CapacityAmount is an amount of CPU and memory. CPUs are logical CPUs,
|
|
3126
|
+
* fractional for use (1.5 is one and a half CPUs busy).
|
|
3127
|
+
*/
|
|
3128
|
+
export interface CapacityAmount {
|
|
3129
|
+
cpus: number;
|
|
3130
|
+
memory_bytes: number;
|
|
3131
|
+
}
|
|
3132
|
+
/**
|
|
3133
|
+
* CapacityGPU is one GPU of an engine.
|
|
3134
|
+
*/
|
|
3135
|
+
export interface CapacityGPU {
|
|
3136
|
+
id: string;
|
|
3137
|
+
vram_bytes: number;
|
|
3138
|
+
}
|
|
3012
3139
|
/**
|
|
3013
3140
|
* EntitlementDTO for API responses
|
|
3014
3141
|
*/
|
|
@@ -3092,7 +3219,7 @@ export interface DecideEntitlementRequestRequest {
|
|
|
3092
3219
|
* and APIError.Code on the legacy envelope. Clients branch on these, so a
|
|
3093
3220
|
* code is a named const here, where it generates into models and the SDKs.
|
|
3094
3221
|
*/
|
|
3095
|
-
export type ErrorCode = "invalid_request" | "validation_error" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "name_conflict" | "already_exists" | "not_configured" | "method_not_allowed" | "rate_limited" | "internal_error" | "requirements_not_met" | "team_role_required" | "blocked_by_usage_policy" | "last_owner" | "account_deactivated" | "account_banned" | "person_required" | "otp_required" | "requires_sign_in" | "insufficient_scope" | "invalid_scope" | "impersonation_reason_required" | "mcp_auth_expired" | "admin_session_required" | "admin_scopes_not_approved" | "cli_session_required" | "admin_required" | "same_admin_required" | "browser_session_required" | "invalid_ttl" | "admin_authenticator_required" | "last_authenticator" | "limit_exceeded" | "feature_not_available" | "entitlement_unavailable" | "payment_required" | "payment_method_required" | "form_closed" | "already_submitted" | "already_claimed" | "already_entitled" | "request_open" | "invalid_code" | "already_processed" | "expired" | "code_confirmation_required" | "app_retired" | "app_maintenance" | "invalid_transition" | "SESSION_NOT_FOUND" | "SESSION_EXPIRED" | "SESSION_ENDED" | "WORKER_LEASED" | "APP_MISMATCH" | "VERSION_MISMATCH" | "agents_disabled" | "remote_offline" | "remote_timeout" | "harness_not_drivable" | "harness_too_old";
|
|
3222
|
+
export type ErrorCode = "invalid_request" | "validation_error" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "name_conflict" | "already_exists" | "not_configured" | "method_not_allowed" | "rate_limited" | "internal_error" | "requirements_not_met" | "team_role_required" | "in_other_workspace" | "blocked_by_usage_policy" | "last_owner" | "account_deactivated" | "account_banned" | "person_required" | "otp_required" | "requires_sign_in" | "insufficient_scope" | "invalid_scope" | "impersonation_reason_required" | "mcp_auth_expired" | "admin_session_required" | "admin_scopes_not_approved" | "cli_session_required" | "admin_required" | "same_admin_required" | "browser_session_required" | "invalid_ttl" | "admin_authenticator_required" | "last_authenticator" | "limit_exceeded" | "feature_not_available" | "entitlement_unavailable" | "payment_required" | "payment_method_required" | "form_closed" | "already_submitted" | "already_claimed" | "already_entitled" | "request_open" | "invalid_code" | "already_processed" | "expired" | "code_confirmation_required" | "app_retired" | "app_maintenance" | "invalid_transition" | "SESSION_NOT_FOUND" | "SESSION_EXPIRED" | "SESSION_ENDED" | "WORKER_LEASED" | "APP_MISMATCH" | "VERSION_MISMATCH" | "agents_disabled" | "remote_offline" | "remote_timeout" | "harness_not_drivable" | "harness_too_old";
|
|
3096
3223
|
export declare const ErrorCodeInvalidRequest: ErrorCode;
|
|
3097
3224
|
export declare const ErrorCodeValidationError: ErrorCode;
|
|
3098
3225
|
export declare const ErrorCodeUnauthorized: ErrorCode;
|
|
@@ -3117,6 +3244,11 @@ export declare const ErrorCodeRequirementsNotMet: ErrorCode;
|
|
|
3117
3244
|
* capability gate refused it.
|
|
3118
3245
|
*/
|
|
3119
3246
|
export declare const ErrorCodeTeamRoleRequired: ErrorCode;
|
|
3247
|
+
/**
|
|
3248
|
+
* ErrorCodeInOtherWorkspace: the resource lives in another workspace
|
|
3249
|
+
* the caller belongs to and could open there (InOtherWorkspaceMeta).
|
|
3250
|
+
*/
|
|
3251
|
+
export declare const ErrorCodeInOtherWorkspace: ErrorCode;
|
|
3120
3252
|
/**
|
|
3121
3253
|
* ErrorCodeBlockedByUsagePolicy: the resource is outside the team or org
|
|
3122
3254
|
* usage policy. The message names who to ask.
|
|
@@ -3292,6 +3424,13 @@ export interface TeamRoleRequiredMeta {
|
|
|
3292
3424
|
required_role?: TeamRole;
|
|
3293
3425
|
requires_org_admin?: boolean;
|
|
3294
3426
|
}
|
|
3427
|
+
/**
|
|
3428
|
+
* InOtherWorkspaceMeta is the meta of an in_other_workspace error: the
|
|
3429
|
+
* workspace to switch to.
|
|
3430
|
+
*/
|
|
3431
|
+
export interface InOtherWorkspaceMeta {
|
|
3432
|
+
team_id: string;
|
|
3433
|
+
}
|
|
3295
3434
|
/**
|
|
3296
3435
|
* ScopeRefusedMeta is the meta of an insufficient_scope or
|
|
3297
3436
|
* requires_sign_in error: the scope the operation declares and the
|
|
@@ -4854,28 +4993,94 @@ export interface CheckRequirementsResponse {
|
|
|
4854
4993
|
satisfied: boolean;
|
|
4855
4994
|
errors?: RequirementError[];
|
|
4856
4995
|
}
|
|
4996
|
+
/**
|
|
4997
|
+
* ResourceShareDTO is one share: an acl_entries row naming a person, a team
|
|
4998
|
+
* or an org (INF-1133). UserID, TeamID or OrgID repeats the grantee for
|
|
4999
|
+
* clients that read those.
|
|
5000
|
+
*/
|
|
4857
5001
|
export interface ResourceShareDTO extends BaseModelDTO {
|
|
4858
5002
|
resource_id: string;
|
|
4859
5003
|
resource_type: string;
|
|
4860
|
-
|
|
4861
|
-
|
|
4862
|
-
* the resource's whole team.
|
|
4863
|
-
*/
|
|
5004
|
+
grantee_type: ACLGrantee;
|
|
5005
|
+
grantee_id: string;
|
|
4864
5006
|
user_id: string;
|
|
4865
5007
|
team_id?: string;
|
|
5008
|
+
org_id?: string;
|
|
4866
5009
|
user?: UserRelationDTO;
|
|
4867
5010
|
permission: Permission;
|
|
4868
5011
|
}
|
|
4869
5012
|
/**
|
|
4870
5013
|
* ShareRequest is POST /{resource}/{id}/share: a share to one person
|
|
4871
|
-
* (user_id)
|
|
4872
|
-
*
|
|
5014
|
+
* (user_id), to a team (team: true for the resource's own team, or team_id
|
|
5015
|
+
* for another team of its org) or to the resource's whole org (org: true),
|
|
5016
|
+
* at a permission (read when empty).
|
|
4873
5017
|
*/
|
|
4874
5018
|
export interface ShareRequest {
|
|
4875
5019
|
user_id?: string;
|
|
4876
5020
|
team?: boolean;
|
|
5021
|
+
team_id?: string;
|
|
5022
|
+
org?: boolean;
|
|
4877
5023
|
permission: Permission;
|
|
4878
5024
|
}
|
|
5025
|
+
/**
|
|
5026
|
+
* SandboxStatus is where the API's record of a sandbox stands. A sandbox is
|
|
5027
|
+
* a Firecracker box on one of our engines that runs `belt remote start` and
|
|
5028
|
+
* connects back as an ordinary Remote.
|
|
5029
|
+
*/
|
|
5030
|
+
export type SandboxStatus = "pending" | "starting" | "running" | "stopping" | "stopped" | "failed";
|
|
5031
|
+
export declare const SandboxStatusPending: SandboxStatus;
|
|
5032
|
+
export declare const SandboxStatusStarting: SandboxStatus;
|
|
5033
|
+
export declare const SandboxStatusRunning: SandboxStatus;
|
|
5034
|
+
export declare const SandboxStatusStopping: SandboxStatus;
|
|
5035
|
+
export declare const SandboxStatusStopped: SandboxStatus;
|
|
5036
|
+
export declare const SandboxStatusFailed: SandboxStatus;
|
|
5037
|
+
/**
|
|
5038
|
+
* SandboxDesiredState is what the owner asked for; the reconciler moves the
|
|
5039
|
+
* status toward it.
|
|
5040
|
+
*/
|
|
5041
|
+
export type SandboxDesiredState = "running" | "stopped" | "deleted";
|
|
5042
|
+
export declare const SandboxDesiredRunning: SandboxDesiredState;
|
|
5043
|
+
export declare const SandboxDesiredStopped: SandboxDesiredState;
|
|
5044
|
+
export declare const SandboxDesiredDeleted: SandboxDesiredState;
|
|
5045
|
+
/**
|
|
5046
|
+
* CreateSandboxRequest is POST /sandboxes. Sizes left at zero take the
|
|
5047
|
+
* defaults.
|
|
5048
|
+
*/
|
|
5049
|
+
export interface CreateSandboxRequest {
|
|
5050
|
+
name: string;
|
|
5051
|
+
vcpus?: number;
|
|
5052
|
+
memory_mib?: number;
|
|
5053
|
+
disk_mib?: number;
|
|
5054
|
+
}
|
|
5055
|
+
/**
|
|
5056
|
+
* SandboxDTO is the API response for a sandbox.
|
|
5057
|
+
*/
|
|
5058
|
+
export interface SandboxDTO extends BaseModelDTO, PermissionModelDTO {
|
|
5059
|
+
name: string;
|
|
5060
|
+
image: string;
|
|
5061
|
+
vcpus: number;
|
|
5062
|
+
memory_mib: number;
|
|
5063
|
+
disk_mib: number;
|
|
5064
|
+
desired_state: SandboxDesiredState;
|
|
5065
|
+
status: SandboxStatus;
|
|
5066
|
+
status_reason?: string;
|
|
5067
|
+
/**
|
|
5068
|
+
* Generation counts starts, restarts included.
|
|
5069
|
+
*/
|
|
5070
|
+
generation: number;
|
|
5071
|
+
/**
|
|
5072
|
+
* EngineID and WorkerID place the current generation; empty while
|
|
5073
|
+
* pending or stopped.
|
|
5074
|
+
*/
|
|
5075
|
+
engine_id?: string;
|
|
5076
|
+
worker_id?: string;
|
|
5077
|
+
/**
|
|
5078
|
+
* RemoteID is the Remote the box connects as; the same across restarts.
|
|
5079
|
+
*/
|
|
5080
|
+
remote_id?: string;
|
|
5081
|
+
started_at?: string;
|
|
5082
|
+
stopped_at?: string;
|
|
5083
|
+
}
|
|
4879
5084
|
/**
|
|
4880
5085
|
* SDKTypes is a phantom type for gotypegen dependency tracing.
|
|
4881
5086
|
* Types listed here (and their transitive dependencies) are included
|
|
@@ -5451,6 +5656,64 @@ export interface ToolInvocationDTO extends BaseModelDTO, PermissionModelDTO {
|
|
|
5451
5656
|
data?: any;
|
|
5452
5657
|
widget?: Widget;
|
|
5453
5658
|
}
|
|
5659
|
+
/**
|
|
5660
|
+
* UpdateState is where the last update a remote or an engine was asked for
|
|
5661
|
+
* stands.
|
|
5662
|
+
*/
|
|
5663
|
+
export type UpdateState = "requested" | "installing" | "installed" | "current" | "refused" | "failed";
|
|
5664
|
+
/**
|
|
5665
|
+
* UpdateRequested: the request was sent and nothing has answered it yet.
|
|
5666
|
+
* An engine older than engine_update_result never answers, so its update stays here.
|
|
5667
|
+
*/
|
|
5668
|
+
export declare const UpdateRequested: UpdateState;
|
|
5669
|
+
/**
|
|
5670
|
+
* UpdateInstalling: a different release is being installed. The machine
|
|
5671
|
+
* finishes its running work and restarts on it.
|
|
5672
|
+
*/
|
|
5673
|
+
export declare const UpdateInstalling: UpdateState;
|
|
5674
|
+
/**
|
|
5675
|
+
* UpdateInstalled: the machine reconnected on To.
|
|
5676
|
+
*/
|
|
5677
|
+
export declare const UpdateInstalled: UpdateState;
|
|
5678
|
+
/**
|
|
5679
|
+
* UpdateCurrent: the machine already runs To; nothing was installed.
|
|
5680
|
+
*/
|
|
5681
|
+
export declare const UpdateCurrent: UpdateState;
|
|
5682
|
+
/**
|
|
5683
|
+
* UpdateRefused: the binary cannot replace itself (a development build,
|
|
5684
|
+
* an install a package manager owns, or a directory the machine's user
|
|
5685
|
+
* cannot write to). Error says what to do on the machine.
|
|
5686
|
+
*/
|
|
5687
|
+
export declare const UpdateRefused: UpdateState;
|
|
5688
|
+
/**
|
|
5689
|
+
* UpdateFailed: the release could not be checked, downloaded or
|
|
5690
|
+
* installed. Error says why. The machine keeps the version it has.
|
|
5691
|
+
*/
|
|
5692
|
+
export declare const UpdateFailed: UpdateState;
|
|
5693
|
+
/**
|
|
5694
|
+
* UpdateStatus is the last update a remote or an engine was asked for and
|
|
5695
|
+
* what came of it. An engine restarts after every update request, whatever
|
|
5696
|
+
* the outcome; a remote restarts only once its install succeeded.
|
|
5697
|
+
*/
|
|
5698
|
+
export interface UpdateStatus {
|
|
5699
|
+
state: UpdateState;
|
|
5700
|
+
/**
|
|
5701
|
+
* Target is what was asked for: stable, canary or a version (engines).
|
|
5702
|
+
* Remotes always update to the latest release and leave it empty.
|
|
5703
|
+
*/
|
|
5704
|
+
target?: string;
|
|
5705
|
+
/**
|
|
5706
|
+
* From is the version the machine ran when asked; To the version it
|
|
5707
|
+
* installs or found itself already on.
|
|
5708
|
+
*/
|
|
5709
|
+
from?: string;
|
|
5710
|
+
to?: string;
|
|
5711
|
+
error?: string;
|
|
5712
|
+
/**
|
|
5713
|
+
* At is when State was reached.
|
|
5714
|
+
*/
|
|
5715
|
+
at: string;
|
|
5716
|
+
}
|
|
5454
5717
|
/**
|
|
5455
5718
|
* MetaItem represents metadata about an input or output item
|
|
5456
5719
|
*/
|
|
@@ -6280,6 +6543,18 @@ export declare const PermInteract: Permission;
|
|
|
6280
6543
|
* governed by their team/org usage policy (reach, INF-808).
|
|
6281
6544
|
*/
|
|
6282
6545
|
export declare const PermUse: Permission;
|
|
6546
|
+
/**
|
|
6547
|
+
* ACLGrantee is who an ACL entry is for (models.ACLEntry, INF-1130).
|
|
6548
|
+
*/
|
|
6549
|
+
export type ACLGrantee = "user" | "team" | "org" | "everyone";
|
|
6550
|
+
export declare const ACLGranteeUser: ACLGrantee;
|
|
6551
|
+
export declare const ACLGranteeTeam: ACLGrantee;
|
|
6552
|
+
export declare const ACLGranteeOrg: ACLGrantee;
|
|
6553
|
+
/**
|
|
6554
|
+
* ACLGranteeEveryone: every caller. Only a platform-scope credential
|
|
6555
|
+
* may carry one (the acl service's rule).
|
|
6556
|
+
*/
|
|
6557
|
+
export declare const ACLGranteeEveryone: ACLGrantee;
|
|
6283
6558
|
export type SubscriptionStatus = "trialing" | "active" | "past_due" | "canceled" | "paused";
|
|
6284
6559
|
export declare const SubscriptionStatusTrialing: SubscriptionStatus;
|
|
6285
6560
|
export declare const SubscriptionStatusActive: SubscriptionStatus;
|
|
@@ -6466,7 +6741,7 @@ export interface ChatMessageContent {
|
|
|
6466
6741
|
tool_calls?: ToolCall[];
|
|
6467
6742
|
event?: ChatEvent;
|
|
6468
6743
|
}
|
|
6469
|
-
export type ChatEventType = "hook" | "run_failed" | "run_ended";
|
|
6744
|
+
export type ChatEventType = "hook" | "run_failed" | "run_ended" | "background";
|
|
6470
6745
|
export declare const ChatEventTypeHook: ChatEventType;
|
|
6471
6746
|
/**
|
|
6472
6747
|
* ChatEventTypeRunFailed marks the point a run ended in failure; the
|
|
@@ -6478,11 +6753,31 @@ export declare const ChatEventTypeRunFailed: ChatEventType;
|
|
|
6478
6753
|
* the event's run says how, and the content's text, when set, why.
|
|
6479
6754
|
*/
|
|
6480
6755
|
export declare const ChatEventTypeRunEnded: ChatEventType;
|
|
6756
|
+
/**
|
|
6757
|
+
* ChatEventTypeBackground marks background work a harness left running
|
|
6758
|
+
* ending; the event's background says what and how. A turn the harness
|
|
6759
|
+
* then starts about it answers this message.
|
|
6760
|
+
*/
|
|
6761
|
+
export declare const ChatEventTypeBackground: ChatEventType;
|
|
6762
|
+
/**
|
|
6763
|
+
* ChatBackgroundEvent is background work ending, on a background event.
|
|
6764
|
+
*/
|
|
6765
|
+
export interface ChatBackgroundEvent {
|
|
6766
|
+
task_id: string;
|
|
6767
|
+
kind?: BackgroundKind;
|
|
6768
|
+
command?: string;
|
|
6769
|
+
status: BackgroundStatus;
|
|
6770
|
+
exit_code?: number;
|
|
6771
|
+
/**
|
|
6772
|
+
* ToolInvocationID is the tool call that started it.
|
|
6773
|
+
*/
|
|
6774
|
+
tool_invocation_id?: string;
|
|
6775
|
+
}
|
|
6481
6776
|
/**
|
|
6482
6777
|
* RunEndReason is why a run that completed ended the way it did, when its
|
|
6483
6778
|
* last turn did not end with a reply.
|
|
6484
6779
|
*/
|
|
6485
|
-
export type RunEndReason = "output_limit" | "no_reply";
|
|
6780
|
+
export type RunEndReason = "output_limit" | "no_reply" | "refusal";
|
|
6486
6781
|
/**
|
|
6487
6782
|
* RunEndReasonOutputLimit: the model's last turn hit its output limit
|
|
6488
6783
|
* (max_tokens) before it replied or called a tool.
|
|
@@ -6493,6 +6788,13 @@ export declare const RunEndReasonOutputLimit: RunEndReason;
|
|
|
6493
6788
|
* no tool call.
|
|
6494
6789
|
*/
|
|
6495
6790
|
export declare const RunEndReasonNoReply: RunEndReason;
|
|
6791
|
+
/**
|
|
6792
|
+
* RunEndReasonRefusal: the provider's safety system ended the model's
|
|
6793
|
+
* last turn. The run's messages stay in the chat and are left out of
|
|
6794
|
+
* the context every later turn sends (BuildContext), so the next
|
|
6795
|
+
* message is not refused for what this run held.
|
|
6796
|
+
*/
|
|
6797
|
+
export declare const RunEndReasonRefusal: RunEndReason;
|
|
6496
6798
|
/**
|
|
6497
6799
|
* ChatRunEvent is how a run ended, on a run_ended event.
|
|
6498
6800
|
*/
|
|
@@ -6514,6 +6816,10 @@ export interface ChatEvent {
|
|
|
6514
6816
|
type: ChatEventType;
|
|
6515
6817
|
hook?: ChatHookEvent;
|
|
6516
6818
|
run?: ChatRunEvent;
|
|
6819
|
+
/**
|
|
6820
|
+
* Background is set on a background event.
|
|
6821
|
+
*/
|
|
6822
|
+
background?: ChatBackgroundEvent;
|
|
6517
6823
|
}
|
|
6518
6824
|
/**
|
|
6519
6825
|
* ChatHookEvent records one lifecycle hook handler run.
|
|
@@ -7347,7 +7653,7 @@ export declare const DeviceTokenKindSession: DeviceTokenKind;
|
|
|
7347
7653
|
* TODO: retire once CLIs older than the session-token release are gone.
|
|
7348
7654
|
*/
|
|
7349
7655
|
export declare const DeviceTokenKindAPIKey: DeviceTokenKind;
|
|
7350
|
-
export type EntitlementResource = "api_keys" | "connectors" | "knowledge_bases" | "storage_mb" | "concurrency" | "rate_per_min" | "seats" | "triggers" | "retention_days" | "private_apps" | "task_executions" | "feature:byok" | "feature:seedance" | "feature:marketplace_publish" | "feature:forms" | "feature:scopes" | "feature:webhooks" | "feature:team_billing" | "feature:auto_recharge" | "feature:invoices" | "feature:publish_apps";
|
|
7656
|
+
export type EntitlementResource = "api_keys" | "connectors" | "knowledge_bases" | "storage_mb" | "concurrency" | "rate_per_min" | "seats" | "triggers" | "retention_days" | "private_apps" | "task_executions" | "feature:byok" | "feature:seedance" | "feature:marketplace_publish" | "feature:forms" | "feature:sandboxes" | "feature:scopes" | "feature:webhooks" | "feature:team_billing" | "feature:auto_recharge" | "feature:invoices" | "feature:publish_apps";
|
|
7351
7657
|
/**
|
|
7352
7658
|
* Capacity limits — scale with tier
|
|
7353
7659
|
*/
|
|
@@ -7378,6 +7684,11 @@ export declare const ResourceFeatureMarketplacePublish: EntitlementResource;
|
|
|
7378
7684
|
* Granted per team: creating forms is by invitation for now.
|
|
7379
7685
|
*/
|
|
7380
7686
|
export declare const ResourceFeatureForms: EntitlementResource;
|
|
7687
|
+
/**
|
|
7688
|
+
* Managed sandboxes (INF-833): open to every team; a row with enabled
|
|
7689
|
+
* false shuts one team out.
|
|
7690
|
+
*/
|
|
7691
|
+
export declare const ResourceFeatureSandboxes: EntitlementResource;
|
|
7381
7692
|
/**
|
|
7382
7693
|
* Legacy feature gates — kept for DB compatibility, no longer gated
|
|
7383
7694
|
*/
|
|
@@ -7398,7 +7709,7 @@ export declare const ContentUnrated: ContentRating;
|
|
|
7398
7709
|
/**
|
|
7399
7710
|
* CredentialProvider names the external service a credential is for.
|
|
7400
7711
|
*/
|
|
7401
|
-
export type CredentialProvider = "google" | "google-sa" | "slack" | "notion" | "github" | "x" | "microsoft" | "salesforce" | "discord" | "gcp" | "reddit";
|
|
7712
|
+
export type CredentialProvider = "google" | "google-sa" | "slack" | "notion" | "github" | "github-app" | "x" | "microsoft" | "salesforce" | "discord" | "gcp" | "reddit";
|
|
7402
7713
|
/**
|
|
7403
7714
|
* Credential.Provider is a plain string; cast with string(...) when assigning.
|
|
7404
7715
|
*/
|
|
@@ -7419,6 +7730,10 @@ export declare const CredentialProviderNotion: CredentialProvider;
|
|
|
7419
7730
|
* Credential.Provider is a plain string; cast with string(...) when assigning.
|
|
7420
7731
|
*/
|
|
7421
7732
|
export declare const CredentialProviderGitHub: CredentialProvider;
|
|
7733
|
+
/**
|
|
7734
|
+
* Credential.Provider is a plain string; cast with string(...) when assigning.
|
|
7735
|
+
*/
|
|
7736
|
+
export declare const CredentialProviderGitHubApp: CredentialProvider;
|
|
7422
7737
|
/**
|
|
7423
7738
|
* Credential.Provider is a plain string; cast with string(...) when assigning.
|
|
7424
7739
|
*/
|
|
@@ -7467,18 +7782,18 @@ export declare const CredentialStatusError: CredentialStatus;
|
|
|
7467
7782
|
/**
|
|
7468
7783
|
* CredentialScope controls resolution priority and ownership.
|
|
7469
7784
|
*/
|
|
7470
|
-
export type CredentialScope = "platform" | "org" | "team" | "user"
|
|
7785
|
+
export type CredentialScope = "platform" | "org" | "team" | "user";
|
|
7471
7786
|
export declare const CredentialScopePlatform: CredentialScope;
|
|
7472
7787
|
/**
|
|
7473
7788
|
* CredentialScopeOrg: shared across all teams of an org. In the enum for
|
|
7474
7789
|
* end-to-end typing (connect-level pickers); connects with it are refused
|
|
7475
7790
|
* until the org domain lands (INF-795 Phase 2). Resolution order once
|
|
7476
|
-
* live:
|
|
7791
|
+
* live: user > team > org > platform. Credentials an agent uses are
|
|
7792
|
+
* composed by vaults (INF-737), not by a scope.
|
|
7477
7793
|
*/
|
|
7478
7794
|
export declare const CredentialScopeOrg: CredentialScope;
|
|
7479
7795
|
export declare const CredentialScopeTeam: CredentialScope;
|
|
7480
7796
|
export declare const CredentialScopeUser: CredentialScope;
|
|
7481
|
-
export declare const CredentialScopeAgent: CredentialScope;
|
|
7482
7797
|
/**
|
|
7483
7798
|
* CredentialGrant is which layer a credential row is. OAuth has two: the
|
|
7484
7799
|
* app (client id and secret, owned by the platform, an org or a team) and
|
|
@@ -7760,17 +8075,10 @@ export declare const TaskStatusRejected: TaskStatus;
|
|
|
7760
8075
|
/**
|
|
7761
8076
|
* Infra defines where a task should run.
|
|
7762
8077
|
*/
|
|
7763
|
-
export type Infra = "private" | "cloud" | "private_first"
|
|
8078
|
+
export type Infra = "private" | "cloud" | "private_first";
|
|
7764
8079
|
export declare const InfraPrivate: Infra;
|
|
7765
8080
|
export declare const InfraCloud: Infra;
|
|
7766
8081
|
export declare const InfraPrivateFirst: Infra;
|
|
7767
|
-
/**
|
|
7768
|
-
* InfraRemote is a model call a harness on the caller's own remote
|
|
7769
|
-
* answers (an agent whose model app is a harness model app). The
|
|
7770
|
-
* scheduler never takes it: the remote model service sends it to the
|
|
7771
|
-
* remote's daemon, whose frames end it.
|
|
7772
|
-
*/
|
|
7773
|
-
export declare const InfraRemote: Infra;
|
|
7774
8082
|
/**
|
|
7775
8083
|
* TaskLogType defines the type of task log.
|
|
7776
8084
|
*/
|
|
@@ -7903,7 +8211,7 @@ export interface UtilityConfig {
|
|
|
7903
8211
|
* These are the backbone protocol events — every consumer (A2A, SDK, frontend)
|
|
7904
8212
|
* projects from this set.
|
|
7905
8213
|
*/
|
|
7906
|
-
export type AgentEventType = "run.started" | "run.state_changed" | "turn.started" | "turn.completed" | "content.delta" | "tool.started" | "tool.completed" | "approval.required" | "approval.resolved" | "hook.executed" | "usage.updated" | "context.updated" | "limits.updated" | "account.updated" | "context.compacted" | "error" | "subagent.started" | "subagent.updated" | "subagent.completed";
|
|
8214
|
+
export type AgentEventType = "run.started" | "run.state_changed" | "turn.started" | "turn.completed" | "content.delta" | "tool.started" | "tool.completed" | "approval.required" | "approval.resolved" | "hook.executed" | "usage.updated" | "context.updated" | "limits.updated" | "account.updated" | "context.compacted" | "error" | "background.started" | "background.completed" | "subagent.started" | "subagent.updated" | "subagent.completed";
|
|
7907
8215
|
/**
|
|
7908
8216
|
* Run lifecycle
|
|
7909
8217
|
*/
|
|
@@ -7976,7 +8284,23 @@ export interface RunStateChangedPayload {
|
|
|
7976
8284
|
export interface TurnStartedPayload {
|
|
7977
8285
|
turn_index: number;
|
|
7978
8286
|
model?: string;
|
|
8287
|
+
/**
|
|
8288
|
+
* Origin is what started the turn: empty for a prompt, TurnOriginBackground
|
|
8289
|
+
* for one the agent started itself when background work it left running
|
|
8290
|
+
* finished (TaskID names it).
|
|
8291
|
+
*/
|
|
8292
|
+
origin?: TurnOrigin;
|
|
8293
|
+
task_id?: string;
|
|
7979
8294
|
}
|
|
8295
|
+
/**
|
|
8296
|
+
* TurnOrigin is what started a turn.
|
|
8297
|
+
*/
|
|
8298
|
+
export type TurnOrigin = "background";
|
|
8299
|
+
/**
|
|
8300
|
+
* TurnOriginBackground is a turn the agent started on its own, with no
|
|
8301
|
+
* prompt, because background work it left running finished.
|
|
8302
|
+
*/
|
|
8303
|
+
export declare const TurnOriginBackground: TurnOrigin;
|
|
7980
8304
|
export interface TurnCompletedPayload {
|
|
7981
8305
|
turn_index: number;
|
|
7982
8306
|
tool_count: number;
|
|
@@ -8021,6 +8345,12 @@ export interface ApprovalRequiredPayload {
|
|
|
8021
8345
|
tool_name: string;
|
|
8022
8346
|
arguments?: StringEncodedMap;
|
|
8023
8347
|
reason: InterruptReason;
|
|
8348
|
+
/**
|
|
8349
|
+
* Input is set when the agent asks the person questions rather than
|
|
8350
|
+
* for permission (Reason is then input). The answer is the resolution's
|
|
8351
|
+
* values, one per Input.Schema property; a deny declines to answer.
|
|
8352
|
+
*/
|
|
8353
|
+
input?: InputForm;
|
|
8024
8354
|
/**
|
|
8025
8355
|
* SubagentID is set when a subagent asks: its tool call, not the
|
|
8026
8356
|
* agent's.
|
|
@@ -8082,16 +8412,60 @@ export declare const AgentRunStateRejected: AgentRunState;
|
|
|
8082
8412
|
* InterruptReason describes why an agent run is in an interrupted state.
|
|
8083
8413
|
* Aligns with AG-UI interrupt outcome reasons.
|
|
8084
8414
|
*/
|
|
8085
|
-
export type InterruptReason = "wait" | "tool_approval" | "client_tool" | "widget" | "auth" | "confirmation" | "hook_gate";
|
|
8415
|
+
export type InterruptReason = "wait" | "tool_approval" | "client_tool" | "widget" | "auth" | "confirmation" | "hook_gate" | "input";
|
|
8086
8416
|
export declare const InterruptReasonToolApproval: InterruptReason;
|
|
8087
8417
|
export declare const InterruptReasonClientTool: InterruptReason;
|
|
8088
8418
|
export declare const InterruptReasonWidget: InterruptReason;
|
|
8089
8419
|
export declare const InterruptReasonAuth: InterruptReason;
|
|
8090
8420
|
export declare const InterruptReasonConfirmation: InterruptReason;
|
|
8091
8421
|
export declare const InterruptReasonHookGate: InterruptReason;
|
|
8422
|
+
export declare const InterruptReasonInput: InterruptReason;
|
|
8423
|
+
export declare const AgentEventBackgroundStarted: AgentEventType;
|
|
8424
|
+
export declare const AgentEventBackgroundCompleted: AgentEventType;
|
|
8425
|
+
/**
|
|
8426
|
+
* BackgroundKind is what kind of background work a task is.
|
|
8427
|
+
*/
|
|
8428
|
+
export type BackgroundKind = "command" | "monitor";
|
|
8429
|
+
/**
|
|
8430
|
+
* BackgroundCommand is a shell command left running.
|
|
8431
|
+
*/
|
|
8432
|
+
export declare const BackgroundCommand: BackgroundKind;
|
|
8433
|
+
/**
|
|
8434
|
+
* BackgroundMonitor watches something (a command's output, a file) and
|
|
8435
|
+
* reports what it sees until it is stopped or times out.
|
|
8436
|
+
*/
|
|
8437
|
+
export declare const BackgroundMonitor: BackgroundKind;
|
|
8438
|
+
/**
|
|
8439
|
+
* BackgroundStatus is how background work ended.
|
|
8440
|
+
*/
|
|
8441
|
+
export type BackgroundStatus = "completed" | "failed" | "cancelled" | "timed_out";
|
|
8442
|
+
export declare const BackgroundCompleted: BackgroundStatus;
|
|
8443
|
+
export declare const BackgroundFailed: BackgroundStatus;
|
|
8444
|
+
export declare const BackgroundCancelled: BackgroundStatus;
|
|
8445
|
+
export declare const BackgroundTimedOut: BackgroundStatus;
|
|
8092
8446
|
export type StringEncodedMap = {
|
|
8093
8447
|
[key: string]: any;
|
|
8094
8448
|
};
|
|
8449
|
+
/**
|
|
8450
|
+
* InputForm is a set of questions an agent asks the person, as a form:
|
|
8451
|
+
* form-mode elicitation as MCP and ACP define it. Schema is a flat JSON
|
|
8452
|
+
* object schema whose properties are the questions:
|
|
8453
|
+
* - a string, number, integer or boolean field;
|
|
8454
|
+
* - a single choice: a string with enum (and enumNames) or oneOf
|
|
8455
|
+
* ({const, title}) for the choices;
|
|
8456
|
+
* - several choices: an array whose items have enum or anyOf.
|
|
8457
|
+
* A property's title is the question's short label and its description the
|
|
8458
|
+
* question itself. The answer is an object with a value per property; one
|
|
8459
|
+
* left out was not answered.
|
|
8460
|
+
* Agents ask in their own shapes (Claude Code's AskUserQuestion, Grok's
|
|
8461
|
+
* x.ai/ask_user_question, ACP's elicitation/create); a driver turns each into
|
|
8462
|
+
* an InputForm and the answer back into the agent's shape, so a person
|
|
8463
|
+
* answers every agent the same way.
|
|
8464
|
+
*/
|
|
8465
|
+
export interface InputForm {
|
|
8466
|
+
message?: string;
|
|
8467
|
+
requested_schema: any;
|
|
8468
|
+
}
|
|
8095
8469
|
/**
|
|
8096
8470
|
* InterruptStatus tracks the lifecycle of an interrupt gate.
|
|
8097
8471
|
*/
|
package/dist/types.js
CHANGED
|
@@ -85,6 +85,18 @@ export const ScopeBilling = "billing";
|
|
|
85
85
|
* Empty scopes = full access (for backwards compatibility with existing keys).
|
|
86
86
|
*/
|
|
87
87
|
export const ScopeArtifacts = "artifacts";
|
|
88
|
+
/**
|
|
89
|
+
* API Key Scopes - hierarchical permission system.
|
|
90
|
+
* Resource-level scopes (e.g., "agents") imply all action-level scopes (e.g., "agents:read").
|
|
91
|
+
* Empty scopes = full access (for backwards compatibility with existing keys).
|
|
92
|
+
*/
|
|
93
|
+
export const ScopeForms = "forms";
|
|
94
|
+
/**
|
|
95
|
+
* API Key Scopes - hierarchical permission system.
|
|
96
|
+
* Resource-level scopes (e.g., "agents") imply all action-level scopes (e.g., "agents:read").
|
|
97
|
+
* Empty scopes = full access (for backwards compatibility with existing keys).
|
|
98
|
+
*/
|
|
99
|
+
export const ScopeBounties = "bounties";
|
|
88
100
|
/**
|
|
89
101
|
* Action-level scopes for Agents
|
|
90
102
|
*/
|
|
@@ -240,6 +252,16 @@ export const ScopeRemotesRead = "remotes:read";
|
|
|
240
252
|
* Empty scopes = full access (for backwards compatibility with existing keys).
|
|
241
253
|
*/
|
|
242
254
|
export const ScopeRemotesWrite = "remotes:write";
|
|
255
|
+
/**
|
|
256
|
+
* Action-level scopes for Sandboxes (managed boxes that run a remote)
|
|
257
|
+
*/
|
|
258
|
+
export const ScopeSandboxesRead = "sandboxes:read";
|
|
259
|
+
/**
|
|
260
|
+
* API Key Scopes - hierarchical permission system.
|
|
261
|
+
* Resource-level scopes (e.g., "agents") imply all action-level scopes (e.g., "agents:read").
|
|
262
|
+
* Empty scopes = full access (for backwards compatibility with existing keys).
|
|
263
|
+
*/
|
|
264
|
+
export const ScopeSandboxesWrite = "sandboxes:write";
|
|
243
265
|
/**
|
|
244
266
|
* Action-level scopes for API Keys
|
|
245
267
|
*/
|
|
@@ -270,6 +292,34 @@ export const ScopeArtifactsRead = "artifacts:read";
|
|
|
270
292
|
* Empty scopes = full access (for backwards compatibility with existing keys).
|
|
271
293
|
*/
|
|
272
294
|
export const ScopeArtifactsWrite = "artifacts:write";
|
|
295
|
+
/**
|
|
296
|
+
* Action-level scopes for Forms: read sees forms, write creates and
|
|
297
|
+
* manages them and reads their answers, execute submits answers.
|
|
298
|
+
*/
|
|
299
|
+
export const ScopeFormsRead = "forms:read";
|
|
300
|
+
/**
|
|
301
|
+
* API Key Scopes - hierarchical permission system.
|
|
302
|
+
* Resource-level scopes (e.g., "agents") imply all action-level scopes (e.g., "agents:read").
|
|
303
|
+
* Empty scopes = full access (for backwards compatibility with existing keys).
|
|
304
|
+
*/
|
|
305
|
+
export const ScopeFormsWrite = "forms:write";
|
|
306
|
+
/**
|
|
307
|
+
* API Key Scopes - hierarchical permission system.
|
|
308
|
+
* Resource-level scopes (e.g., "agents") imply all action-level scopes (e.g., "agents:read").
|
|
309
|
+
* Empty scopes = full access (for backwards compatibility with existing keys).
|
|
310
|
+
*/
|
|
311
|
+
export const ScopeFormsExecute = "forms:execute";
|
|
312
|
+
/**
|
|
313
|
+
* Action-level scopes for Bounties: read lists the programs, execute
|
|
314
|
+
* claims one (only the account holder's own sign-in).
|
|
315
|
+
*/
|
|
316
|
+
export const ScopeBountiesRead = "bounties:read";
|
|
317
|
+
/**
|
|
318
|
+
* API Key Scopes - hierarchical permission system.
|
|
319
|
+
* Resource-level scopes (e.g., "agents") imply all action-level scopes (e.g., "agents:read").
|
|
320
|
+
* Empty scopes = full access (for backwards compatibility with existing keys).
|
|
321
|
+
*/
|
|
322
|
+
export const ScopeBountiesExecute = "bounties:execute";
|
|
273
323
|
/**
|
|
274
324
|
* Action-level scopes for User profile
|
|
275
325
|
*/
|
|
@@ -342,9 +392,12 @@ export const ScopeGroupSecrets = "secrets";
|
|
|
342
392
|
export const ScopeGroupCredentials = "credentials";
|
|
343
393
|
export const ScopeGroupEngines = "engines";
|
|
344
394
|
export const ScopeGroupRemotes = "remotes";
|
|
395
|
+
export const ScopeGroupSandboxes = "sandboxes";
|
|
345
396
|
export const ScopeGroupApiKeys = "apikeys";
|
|
346
397
|
export const ScopeGroupKnowledge = "knowledge";
|
|
347
398
|
export const ScopeGroupArtifacts = "artifacts";
|
|
399
|
+
export const ScopeGroupForms = "forms";
|
|
400
|
+
export const ScopeGroupBounties = "bounties";
|
|
348
401
|
export const ScopeGroupUser = "user";
|
|
349
402
|
export const ScopeGroupSettings = "settings";
|
|
350
403
|
export const ScopeGroupApprovals = "approvals";
|
|
@@ -385,7 +438,22 @@ export const ToolRiskMedium = "medium";
|
|
|
385
438
|
* ToolRiskHigh: dangerous or irreversible changes.
|
|
386
439
|
*/
|
|
387
440
|
export const ToolRiskHigh = "high";
|
|
441
|
+
/**
|
|
442
|
+
* EngineCapabilityEgressGateway: the engine runs its sandboxes behind
|
|
443
|
+
* the egress gateway, so it can take bound secrets (the v2 secrets
|
|
444
|
+
* envelope) and place each value only toward its hosts (INF-1076).
|
|
445
|
+
*/
|
|
388
446
|
export const EngineCapabilityEgressGateway = "egress_gateway";
|
|
447
|
+
/**
|
|
448
|
+
* EngineCapabilitySandboxes: the engine has boxd connected and a VM
|
|
449
|
+
* space up, so it can take sandbox_start (INF-833).
|
|
450
|
+
*/
|
|
451
|
+
export const EngineCapabilitySandboxes = "sandboxes";
|
|
452
|
+
/**
|
|
453
|
+
* EngineCapabilityCapacity: the engine reports EngineTelemetry.Capacity
|
|
454
|
+
* (INF-1156).
|
|
455
|
+
*/
|
|
456
|
+
export const EngineCapabilityCapacity = "capacity";
|
|
389
457
|
export const ErrorCodeInvalidRequest = "invalid_request";
|
|
390
458
|
export const ErrorCodeValidationError = "validation_error";
|
|
391
459
|
export const ErrorCodeUnauthorized = "unauthorized";
|
|
@@ -410,6 +478,11 @@ export const ErrorCodeRequirementsNotMet = "requirements_not_met";
|
|
|
410
478
|
* capability gate refused it.
|
|
411
479
|
*/
|
|
412
480
|
export const ErrorCodeTeamRoleRequired = "team_role_required";
|
|
481
|
+
/**
|
|
482
|
+
* ErrorCodeInOtherWorkspace: the resource lives in another workspace
|
|
483
|
+
* the caller belongs to and could open there (InOtherWorkspaceMeta).
|
|
484
|
+
*/
|
|
485
|
+
export const ErrorCodeInOtherWorkspace = "in_other_workspace";
|
|
413
486
|
/**
|
|
414
487
|
* ErrorCodeBlockedByUsagePolicy: the resource is outside the team or org
|
|
415
488
|
* usage policy. The message names who to ask.
|
|
@@ -697,6 +770,44 @@ export const RequirementTypeScope = "scope";
|
|
|
697
770
|
export const SetupActionAddSecret = "add_secret";
|
|
698
771
|
export const SetupActionConnect = "connect";
|
|
699
772
|
export const SetupActionAddScopes = "add_scopes";
|
|
773
|
+
export const SandboxStatusPending = "pending";
|
|
774
|
+
export const SandboxStatusStarting = "starting";
|
|
775
|
+
export const SandboxStatusRunning = "running";
|
|
776
|
+
export const SandboxStatusStopping = "stopping";
|
|
777
|
+
export const SandboxStatusStopped = "stopped";
|
|
778
|
+
export const SandboxStatusFailed = "failed";
|
|
779
|
+
export const SandboxDesiredRunning = "running";
|
|
780
|
+
export const SandboxDesiredStopped = "stopped";
|
|
781
|
+
export const SandboxDesiredDeleted = "deleted";
|
|
782
|
+
/**
|
|
783
|
+
* UpdateRequested: the request was sent and nothing has answered it yet.
|
|
784
|
+
* An engine older than engine_update_result never answers, so its update stays here.
|
|
785
|
+
*/
|
|
786
|
+
export const UpdateRequested = "requested";
|
|
787
|
+
/**
|
|
788
|
+
* UpdateInstalling: a different release is being installed. The machine
|
|
789
|
+
* finishes its running work and restarts on it.
|
|
790
|
+
*/
|
|
791
|
+
export const UpdateInstalling = "installing";
|
|
792
|
+
/**
|
|
793
|
+
* UpdateInstalled: the machine reconnected on To.
|
|
794
|
+
*/
|
|
795
|
+
export const UpdateInstalled = "installed";
|
|
796
|
+
/**
|
|
797
|
+
* UpdateCurrent: the machine already runs To; nothing was installed.
|
|
798
|
+
*/
|
|
799
|
+
export const UpdateCurrent = "current";
|
|
800
|
+
/**
|
|
801
|
+
* UpdateRefused: the binary cannot replace itself (a development build,
|
|
802
|
+
* an install a package manager owns, or a directory the machine's user
|
|
803
|
+
* cannot write to). Error says what to do on the machine.
|
|
804
|
+
*/
|
|
805
|
+
export const UpdateRefused = "refused";
|
|
806
|
+
/**
|
|
807
|
+
* UpdateFailed: the release could not be checked, downloaded or
|
|
808
|
+
* installed. Error says why. The machine keeps the version it has.
|
|
809
|
+
*/
|
|
810
|
+
export const UpdateFailed = "failed";
|
|
700
811
|
export const A2UIRow = "Row";
|
|
701
812
|
export const A2UIColumn = "Column";
|
|
702
813
|
export const A2UIList = "List";
|
|
@@ -858,6 +969,14 @@ export const PermInteract = "interact";
|
|
|
858
969
|
* governed by their team/org usage policy (reach, INF-808).
|
|
859
970
|
*/
|
|
860
971
|
export const PermUse = "use";
|
|
972
|
+
export const ACLGranteeUser = "user";
|
|
973
|
+
export const ACLGranteeTeam = "team";
|
|
974
|
+
export const ACLGranteeOrg = "org";
|
|
975
|
+
/**
|
|
976
|
+
* ACLGranteeEveryone: every caller. Only a platform-scope credential
|
|
977
|
+
* may carry one (the acl service's rule).
|
|
978
|
+
*/
|
|
979
|
+
export const ACLGranteeEveryone = "everyone";
|
|
861
980
|
export const SubscriptionStatusTrialing = "trialing";
|
|
862
981
|
export const SubscriptionStatusActive = "active";
|
|
863
982
|
export const SubscriptionStatusPastDue = "past_due";
|
|
@@ -978,6 +1097,12 @@ export const ChatEventTypeRunFailed = "run_failed";
|
|
|
978
1097
|
* the event's run says how, and the content's text, when set, why.
|
|
979
1098
|
*/
|
|
980
1099
|
export const ChatEventTypeRunEnded = "run_ended";
|
|
1100
|
+
/**
|
|
1101
|
+
* ChatEventTypeBackground marks background work a harness left running
|
|
1102
|
+
* ending; the event's background says what and how. A turn the harness
|
|
1103
|
+
* then starts about it answers this message.
|
|
1104
|
+
*/
|
|
1105
|
+
export const ChatEventTypeBackground = "background";
|
|
981
1106
|
/**
|
|
982
1107
|
* RunEndReasonOutputLimit: the model's last turn hit its output limit
|
|
983
1108
|
* (max_tokens) before it replied or called a tool.
|
|
@@ -988,6 +1113,13 @@ export const RunEndReasonOutputLimit = "output_limit";
|
|
|
988
1113
|
* no tool call.
|
|
989
1114
|
*/
|
|
990
1115
|
export const RunEndReasonNoReply = "no_reply";
|
|
1116
|
+
/**
|
|
1117
|
+
* RunEndReasonRefusal: the provider's safety system ended the model's
|
|
1118
|
+
* last turn. The run's messages stay in the chat and are left out of
|
|
1119
|
+
* the context every later turn sends (BuildContext), so the next
|
|
1120
|
+
* message is not refused for what this run held.
|
|
1121
|
+
*/
|
|
1122
|
+
export const RunEndReasonRefusal = "refusal";
|
|
991
1123
|
/**
|
|
992
1124
|
* DescriptionLimitListing bounds the description of an app, agent, flow,
|
|
993
1125
|
* MCP server or knowledge entry. A description is shown in listings and
|
|
@@ -1309,6 +1441,11 @@ export const ResourceFeatureMarketplacePublish = "feature:marketplace_publish";
|
|
|
1309
1441
|
* Granted per team: creating forms is by invitation for now.
|
|
1310
1442
|
*/
|
|
1311
1443
|
export const ResourceFeatureForms = "feature:forms";
|
|
1444
|
+
/**
|
|
1445
|
+
* Managed sandboxes (INF-833): open to every team; a row with enabled
|
|
1446
|
+
* false shuts one team out.
|
|
1447
|
+
*/
|
|
1448
|
+
export const ResourceFeatureSandboxes = "feature:sandboxes";
|
|
1312
1449
|
/**
|
|
1313
1450
|
* Legacy feature gates — kept for DB compatibility, no longer gated
|
|
1314
1451
|
*/
|
|
@@ -1345,6 +1482,10 @@ export const CredentialProviderNotion = "notion";
|
|
|
1345
1482
|
* Credential.Provider is a plain string; cast with string(...) when assigning.
|
|
1346
1483
|
*/
|
|
1347
1484
|
export const CredentialProviderGitHub = "github";
|
|
1485
|
+
/**
|
|
1486
|
+
* Credential.Provider is a plain string; cast with string(...) when assigning.
|
|
1487
|
+
*/
|
|
1488
|
+
export const CredentialProviderGitHubApp = "github-app";
|
|
1348
1489
|
/**
|
|
1349
1490
|
* Credential.Provider is a plain string; cast with string(...) when assigning.
|
|
1350
1491
|
*/
|
|
@@ -1387,12 +1528,12 @@ export const CredentialScopePlatform = "platform";
|
|
|
1387
1528
|
* CredentialScopeOrg: shared across all teams of an org. In the enum for
|
|
1388
1529
|
* end-to-end typing (connect-level pickers); connects with it are refused
|
|
1389
1530
|
* until the org domain lands (INF-795 Phase 2). Resolution order once
|
|
1390
|
-
* live:
|
|
1531
|
+
* live: user > team > org > platform. Credentials an agent uses are
|
|
1532
|
+
* composed by vaults (INF-737), not by a scope.
|
|
1391
1533
|
*/
|
|
1392
1534
|
export const CredentialScopeOrg = "org";
|
|
1393
1535
|
export const CredentialScopeTeam = "team";
|
|
1394
1536
|
export const CredentialScopeUser = "user";
|
|
1395
|
-
export const CredentialScopeAgent = "agent";
|
|
1396
1537
|
/**
|
|
1397
1538
|
* CredentialGrantCredentials: an OAuth app. Never a connection.
|
|
1398
1539
|
*/
|
|
@@ -1588,13 +1729,6 @@ export const TaskStatusRejected = 13;
|
|
|
1588
1729
|
export const InfraPrivate = "private";
|
|
1589
1730
|
export const InfraCloud = "cloud";
|
|
1590
1731
|
export const InfraPrivateFirst = "private_first";
|
|
1591
|
-
/**
|
|
1592
|
-
* InfraRemote is a model call a harness on the caller's own remote
|
|
1593
|
-
* answers (an agent whose model app is a harness model app). The
|
|
1594
|
-
* scheduler never takes it: the remote model service sends it to the
|
|
1595
|
-
* remote's daemon, whose frames end it.
|
|
1596
|
-
*/
|
|
1597
|
-
export const InfraRemote = "remote";
|
|
1598
1732
|
export const TaskLogTypeBuild = 0;
|
|
1599
1733
|
export const TaskLogTypeRun = 1;
|
|
1600
1734
|
export const TaskLogTypeServe = 2;
|
|
@@ -1721,6 +1855,11 @@ export const AgentEventContextCompacted = "context.compacted";
|
|
|
1721
1855
|
* Errors
|
|
1722
1856
|
*/
|
|
1723
1857
|
export const AgentEventError = "error";
|
|
1858
|
+
/**
|
|
1859
|
+
* TurnOriginBackground is a turn the agent started on its own, with no
|
|
1860
|
+
* prompt, because background work it left running finished.
|
|
1861
|
+
*/
|
|
1862
|
+
export const TurnOriginBackground = "background";
|
|
1724
1863
|
export const ContentDeltaText = "text";
|
|
1725
1864
|
export const ContentDeltaReasoning = "reasoning";
|
|
1726
1865
|
export const AgentRunStateSubmitted = "submitted";
|
|
@@ -1737,6 +1876,22 @@ export const InterruptReasonWidget = "widget";
|
|
|
1737
1876
|
export const InterruptReasonAuth = "auth";
|
|
1738
1877
|
export const InterruptReasonConfirmation = "confirmation";
|
|
1739
1878
|
export const InterruptReasonHookGate = "hook_gate";
|
|
1879
|
+
export const InterruptReasonInput = "input";
|
|
1880
|
+
export const AgentEventBackgroundStarted = "background.started";
|
|
1881
|
+
export const AgentEventBackgroundCompleted = "background.completed";
|
|
1882
|
+
/**
|
|
1883
|
+
* BackgroundCommand is a shell command left running.
|
|
1884
|
+
*/
|
|
1885
|
+
export const BackgroundCommand = "command";
|
|
1886
|
+
/**
|
|
1887
|
+
* BackgroundMonitor watches something (a command's output, a file) and
|
|
1888
|
+
* reports what it sees until it is stopped or times out.
|
|
1889
|
+
*/
|
|
1890
|
+
export const BackgroundMonitor = "monitor";
|
|
1891
|
+
export const BackgroundCompleted = "completed";
|
|
1892
|
+
export const BackgroundFailed = "failed";
|
|
1893
|
+
export const BackgroundCancelled = "cancelled";
|
|
1894
|
+
export const BackgroundTimedOut = "timed_out";
|
|
1740
1895
|
export const InterruptStatusPending = "pending";
|
|
1741
1896
|
export const InterruptStatusResolved = "resolved";
|
|
1742
1897
|
export const InterruptStatusExpired = "expired";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@inferencesh/sdk",
|
|
3
|
-
"version": "0.38.
|
|
3
|
+
"version": "0.38.2",
|
|
4
4
|
"description": "Official JavaScript/TypeScript SDK for inference.sh - Run AI models with a simple API",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -86,14 +86,14 @@
|
|
|
86
86
|
"@types/node": "^26.1.1",
|
|
87
87
|
"@types/react": "^19.1.12",
|
|
88
88
|
"@eslint/js": "^10.0.1",
|
|
89
|
-
"@typescript-eslint/eslint-plugin": "^8.
|
|
90
|
-
"@typescript-eslint/parser": "^8.
|
|
89
|
+
"@typescript-eslint/eslint-plugin": "^8.72.1",
|
|
90
|
+
"@typescript-eslint/parser": "^8.72.1",
|
|
91
91
|
"eslint": "^10.10.0",
|
|
92
92
|
"eslint-config-prettier": "^10.1.8",
|
|
93
93
|
"globals": "^17.12.0",
|
|
94
94
|
"hono": "^4.13.1",
|
|
95
95
|
"jest": "^30.4.2",
|
|
96
|
-
"next": "^16.
|
|
96
|
+
"next": "^16.4.1",
|
|
97
97
|
"prettier": "^3.6.2",
|
|
98
98
|
"react": "^19.2.3",
|
|
99
99
|
"rimraf": "^6.0.1",
|