@work-shape/catalyst-asset-schemas 0.0.0-stage → 0.8.0-rc.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/LICENSE +21 -0
- package/dist/index.d.ts +759 -0
- package/dist/index.js +1200 -0
- package/package.json +41 -3
- package/README.md +0 -3
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,759 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* The shape of an agent and of a skill as a file holds it. These are the public half of the
|
|
5
|
+
* asset model: a working copy, the command line tool and the instance read the same types.
|
|
6
|
+
*/
|
|
7
|
+
declare const localeCodes: readonly ["en", "de"];
|
|
8
|
+
type LocaleCode = (typeof localeCodes)[number];
|
|
9
|
+
type LocalizedStringConfig = string | {
|
|
10
|
+
en?: string;
|
|
11
|
+
de?: string;
|
|
12
|
+
};
|
|
13
|
+
declare const REASONING_EFFORTS: readonly ["none", "low", "medium", "high", "xhigh", "max"];
|
|
14
|
+
type ReasoningEffortConfig = (typeof REASONING_EFFORTS)[number];
|
|
15
|
+
interface AgentInitialPromptConfig {
|
|
16
|
+
title: LocalizedStringConfig;
|
|
17
|
+
prompt: LocalizedStringConfig;
|
|
18
|
+
}
|
|
19
|
+
interface AgentConfig {
|
|
20
|
+
name: string;
|
|
21
|
+
displayName: LocalizedStringConfig;
|
|
22
|
+
description?: LocalizedStringConfig;
|
|
23
|
+
welcomeMessage?: LocalizedStringConfig;
|
|
24
|
+
welcomeSubtitle?: LocalizedStringConfig;
|
|
25
|
+
instructions: string;
|
|
26
|
+
modelProviderId?: string;
|
|
27
|
+
modelBindingId?: string;
|
|
28
|
+
reasoningEffort?: ReasoningEffortConfig;
|
|
29
|
+
fastMode?: boolean;
|
|
30
|
+
/** Bindings users may pick for this agent in the chat, besides its own `modelBindingId`. */
|
|
31
|
+
userSelectableModelBindingIds?: string[];
|
|
32
|
+
/**
|
|
33
|
+
* Reasoning effort per user-selectable binding. `reasoningEffort` stays the effort of the
|
|
34
|
+
* agent's own model and is not applied to a model a user picked instead.
|
|
35
|
+
*/
|
|
36
|
+
modelReasoningEfforts?: Record<string, ReasoningEffortConfig>;
|
|
37
|
+
maxSteps?: number;
|
|
38
|
+
toolNames: string[];
|
|
39
|
+
skillNames: string[];
|
|
40
|
+
/**
|
|
41
|
+
* The Knowledge Bases the agent answers from, by id. However many it lists, the agent has one
|
|
42
|
+
* tool over all of them, `knowledge.query`. Missing means none.
|
|
43
|
+
*/
|
|
44
|
+
knowledgeBases?: string[];
|
|
45
|
+
initialPrompts: AgentInitialPromptConfig[];
|
|
46
|
+
}
|
|
47
|
+
interface SkillConfig {
|
|
48
|
+
name: string;
|
|
49
|
+
title: string;
|
|
50
|
+
/** For the agent: when to use the skill. */
|
|
51
|
+
description: string;
|
|
52
|
+
/**
|
|
53
|
+
* For people: one sentence on one line that says what an agent with the skill knows how to
|
|
54
|
+
* do. Lists and choosers show it under the title.
|
|
55
|
+
*/
|
|
56
|
+
summary?: string;
|
|
57
|
+
/** Up to `SKILL_STARTERS_MAX` first requests the empty chat offers for an agent with the skill. */
|
|
58
|
+
starters?: SkillStarterConfig[];
|
|
59
|
+
content: string;
|
|
60
|
+
resources?: SkillResourceConfig[];
|
|
61
|
+
/**
|
|
62
|
+
* The files of the skill's folder that the config does not hold itself: everything beside
|
|
63
|
+
* `SKILL.md` and the text resources, such as a script, a PDF or an image. An index and no
|
|
64
|
+
* content. The platform writes it with the files; what a caller sends here is not read.
|
|
65
|
+
*/
|
|
66
|
+
files?: SkillFileEntry[];
|
|
67
|
+
/**
|
|
68
|
+
* The keys of the frontmatter of `SKILL.md` that are not fields of the skill
|
|
69
|
+
* (`SKILL_FRONTMATTER_FIELDS`), such as `license`, `metadata` and `allowed-tools` of the
|
|
70
|
+
* public skill convention, as JSON values. They are kept and returned and never read by the
|
|
71
|
+
* platform.
|
|
72
|
+
*/
|
|
73
|
+
frontmatter?: Record<string, unknown>;
|
|
74
|
+
/**
|
|
75
|
+
* `release` on a skill that ships with the platform. Only the release seed writes it: every
|
|
76
|
+
* other write of a skill that carries it is refused, and a stored one is read-only.
|
|
77
|
+
*/
|
|
78
|
+
origin?: "release";
|
|
79
|
+
/** The key of the interface's icon registry. Only a skill that ships with the platform has one. */
|
|
80
|
+
icon?: string;
|
|
81
|
+
}
|
|
82
|
+
/** One file of a skill's folder as its index names it. */
|
|
83
|
+
interface SkillFileEntry {
|
|
84
|
+
/** Relative to the folder of the skill, with `/` between segments. */
|
|
85
|
+
path: string;
|
|
86
|
+
/** Lower-case hex. */
|
|
87
|
+
sha256: string;
|
|
88
|
+
bytes: number;
|
|
89
|
+
mediaType: string;
|
|
90
|
+
}
|
|
91
|
+
/** How many starters one skill carries at most. */
|
|
92
|
+
declare const SKILL_STARTERS_MAX = 2;
|
|
93
|
+
/** How many starters the empty chat shows for one agent at most. */
|
|
94
|
+
declare const AGENT_STARTERS_MAX = 4;
|
|
95
|
+
/** The most characters a starter's `title` and its `hint` hold, in each language. */
|
|
96
|
+
declare const SKILL_STARTER_LINE_MAX_LENGTH = 60;
|
|
97
|
+
/** One first request a skill offers on the empty chat. Choosing it fills the composer. */
|
|
98
|
+
interface SkillStarterConfig {
|
|
99
|
+
title: LocalizedStringConfig;
|
|
100
|
+
/** One short line under the title. */
|
|
101
|
+
hint?: LocalizedStringConfig;
|
|
102
|
+
/** The text that fills the composer. */
|
|
103
|
+
prompt: LocalizedStringConfig;
|
|
104
|
+
/**
|
|
105
|
+
* The tools the request needs. The starter shows only for an agent that holds every one of
|
|
106
|
+
* them, so it never offers what the agent cannot do.
|
|
107
|
+
*/
|
|
108
|
+
tools?: string[];
|
|
109
|
+
}
|
|
110
|
+
/** The most characters a skill's `summary` holds. */
|
|
111
|
+
declare const SKILL_SUMMARY_MAX_LENGTH = 120;
|
|
112
|
+
/**
|
|
113
|
+
* Who ships a skill, as a list says it: `instance` for a skill of the instance's own, `release`
|
|
114
|
+
* for one that ships with the platform, which the release seed alone writes.
|
|
115
|
+
*/
|
|
116
|
+
declare const SKILL_ORIGINS: readonly ["instance", "release"];
|
|
117
|
+
type SkillOrigin = (typeof SKILL_ORIGINS)[number];
|
|
118
|
+
declare const SKILL_RESOURCE_MEDIA_TYPES: readonly ["text/markdown", "text/plain", "application/json", "application/yaml"];
|
|
119
|
+
type SkillResourceMediaType = (typeof SKILL_RESOURCE_MEDIA_TYPES)[number];
|
|
120
|
+
interface SkillResourceConfig {
|
|
121
|
+
path: string;
|
|
122
|
+
mediaType: SkillResourceMediaType;
|
|
123
|
+
content: string;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
/**
|
|
127
|
+
* The values the HTTP contract of an instance is written with: scopes, actions, error codes
|
|
128
|
+
* and the limits a request is checked against. They hold no behaviour. The private packages
|
|
129
|
+
* of the platform read them from here, so that the contract and what enforces it cannot
|
|
130
|
+
* drift apart.
|
|
131
|
+
*/
|
|
132
|
+
declare const AUTH_SCOPE_WILDCARD: "*";
|
|
133
|
+
declare const CHAT_SESSION_AUTH_SCOPES: readonly ["me:read", "me:delete", "config:read", "conversation:read", "conversation:write", "run:start", "run:observe", "run:cancel", "run:command"];
|
|
134
|
+
declare const FIRST_PARTY_AUTH_SCOPES: readonly ["*", "me:read", "me:delete", "config:read", "conversation:read", "conversation:write", "run:start", "run:observe", "run:cancel", "run:command", "collaboration_workspace:read", "collaboration_workspace:manage", "me:write", "governance:read", "governance:write", "user_admin:read", "user_admin:write", "api_access:read", "api_access:write", "config_assets:read", "config_assets:write", "config_assets:publish", "config_assets:release", "data_store_rows:read", "data_store_rows:write"];
|
|
135
|
+
type ChatSessionAuthScope = (typeof CHAT_SESSION_AUTH_SCOPES)[number];
|
|
136
|
+
type FirstPartyAuthScope = (typeof FIRST_PARTY_AUTH_SCOPES)[number];
|
|
137
|
+
type OperationScope = Exclude<FirstPartyAuthScope, "*">;
|
|
138
|
+
declare const ACTIONS: readonly ["agent.read", "agent.write", "agent.delete", "skill.read", "skill.write", "skill.delete", "skill.approve", "connection.read", "connection.use", "connection.write", "connection.delete", "connection.approve", "app.read", "app.write", "app.publish", "app.approve", "app.delete", "app.use", "workflow.read", "workflow.write", "workflow.publish", "workflow.approve", "workflow.delete", "workflow.use", "workflow.read_run_data", "data_store.read", "data_store.write", "data_store.publish", "data_store.delete", "data_store.insert", "data_store.execute", "knowledge_base.read", "knowledge_base.write", "knowledge_base.publish", "knowledge_base.delete", "knowledge_base.use", "guardrail.read", "guardrail.write", "guardrail.publish", "guardrail.delete", "operations.approve", "users.manage", "usage.view", "audit.view", "api_access.manage", "service_principals.manage", "agent_models.manage", "assets.release"];
|
|
139
|
+
type PlatformAction = (typeof ACTIONS)[number];
|
|
140
|
+
/** A Namespace prefix: lowercase words joined by single hyphens, ending in one hyphen. */
|
|
141
|
+
declare const NAMESPACE_PREFIX_PATTERN: RegExp;
|
|
142
|
+
declare const NAMESPACE_PREFIX_MIN_LENGTH = 2;
|
|
143
|
+
declare const NAMESPACE_PREFIX_MAX_LENGTH = 32;
|
|
144
|
+
type AppErrorCode = (typeof APP_ERROR_CODES)[number];
|
|
145
|
+
/** The HTTP status every error code answers with. */
|
|
146
|
+
declare const APP_ERROR_STATUS_CODES: Record<AppErrorCode, number>;
|
|
147
|
+
type OperationEffect = (typeof OPERATION_EFFECTS)[number];
|
|
148
|
+
/**
|
|
149
|
+
* The longest `Idempotency-Key` a caller may send, in characters. It protects the index the
|
|
150
|
+
* key is looked up in. A longer key is refused with VALIDATION_FAILED naming this limit.
|
|
151
|
+
*/
|
|
152
|
+
declare const IDEMPOTENCY_KEY_MAX_LENGTH = 255;
|
|
153
|
+
/** What an instance takes from outside its own processes. A closed list. */
|
|
154
|
+
declare const PROVIDER_PORTS: readonly ["models", "mail", "objectStorage", "sandbox", "secrets"];
|
|
155
|
+
type ProviderPort = (typeof PROVIDER_PORTS)[number];
|
|
156
|
+
/**
|
|
157
|
+
* Where a provider processes the data an instance sends it. Product-owned and closed: a vendor's
|
|
158
|
+
* own region name is a separate field of its adapter, such as `bucketRegion`.
|
|
159
|
+
*/
|
|
160
|
+
declare const PROVIDER_REGIONS: readonly ["eu", "global"];
|
|
161
|
+
type ProviderRegion = (typeof PROVIDER_REGIONS)[number];
|
|
162
|
+
/**
|
|
163
|
+
* Why a check failed. Product-owned and closed: it is all of a failure that reaches a log, the
|
|
164
|
+
* API or a page, so a provider's own error text, which can repeat a key or an address, cannot.
|
|
165
|
+
*/
|
|
166
|
+
declare const PROVIDER_CHECK_ERROR_CLASSES: readonly ["unreachable", "timeout", "access_denied", "not_found", "bucket_missing", "rejected", "failed"];
|
|
167
|
+
type ProviderCheckErrorClass = (typeof PROVIDER_CHECK_ERROR_CLASSES)[number];
|
|
168
|
+
/**
|
|
169
|
+
* The immutable machine name. It is part of every operation name of the Connection
|
|
170
|
+
* (`connection.<name>.<operation>`), so it holds no dot. A Namespace prefix fits in front.
|
|
171
|
+
*/
|
|
172
|
+
declare const CONNECTION_NAME_PATTERN: RegExp;
|
|
173
|
+
declare const CONNECTION_NAME_MAX_LENGTH = 64;
|
|
174
|
+
/**
|
|
175
|
+
* The immutable machine name of a Guardrail. An approval request keeps it as the id of the
|
|
176
|
+
* check that answered, and its hits are kept under it.
|
|
177
|
+
*/
|
|
178
|
+
declare const GUARDRAIL_NAME_PATTERN: RegExp;
|
|
179
|
+
declare const GUARDRAIL_NAME_MAX_LENGTH = 64;
|
|
180
|
+
/**
|
|
181
|
+
* Who may call an accepted operation. An operation exposed to nobody is callable by nobody.
|
|
182
|
+
* `outside` admits the CLI and the platform MCP server, a caller with an API credential whose
|
|
183
|
+
* results leave the instance; no operation has it unless an admin turns it on.
|
|
184
|
+
*/
|
|
185
|
+
declare const CONNECTION_EXPOSURES: readonly ["agent", "bridge", "workflow", "outside"];
|
|
186
|
+
type ConnectionExposure = (typeof CONNECTION_EXPOSURES)[number];
|
|
187
|
+
/** The health of a Connection as its page and its list show it. */
|
|
188
|
+
declare const CONNECTION_HEALTH_STATES: readonly ["unknown", "ok", "failed", "needs_configuration", "secret_unreadable"];
|
|
189
|
+
type ConnectionHealth = (typeof CONNECTION_HEALTH_STATES)[number];
|
|
190
|
+
declare const GRANT_HOLDER_KINDS: readonly ["user", "service_principal", "role", "group"];
|
|
191
|
+
type GrantHolderKind = (typeof GRANT_HOLDER_KINDS)[number];
|
|
192
|
+
declare const GRANT_SCOPE_KINDS: readonly ["instance", "workspace", "namespace", "asset"];
|
|
193
|
+
type GrantScopeKind = (typeof GRANT_SCOPE_KINDS)[number];
|
|
194
|
+
declare const GRANT_EFFECTS: readonly ["allow", "deny"];
|
|
195
|
+
type GrantEffect = (typeof GRANT_EFFECTS)[number];
|
|
196
|
+
declare const ACCESS_SOURCES: readonly ["role", "legacy_ref", "grant", "membership"];
|
|
197
|
+
type AccessSource = (typeof ACCESS_SOURCES)[number];
|
|
198
|
+
declare const POLICY_VALUES: readonly ["allow", "confirm", "approval", "deny"];
|
|
199
|
+
type PolicyValue = (typeof POLICY_VALUES)[number];
|
|
200
|
+
declare const AUTH_PRINCIPAL_KINDS: readonly ["user", "service"];
|
|
201
|
+
type AuthPrincipalKind = (typeof AUTH_PRINCIPAL_KINDS)[number];
|
|
202
|
+
declare const ADMINISTERED_USER_STATUSES: readonly ["active", "disabled", "deleting"];
|
|
203
|
+
type AdministeredUserStatus = (typeof ADMINISTERED_USER_STATUSES)[number];
|
|
204
|
+
declare const SERVICE_PRINCIPAL_STATUSES: readonly ["active", "disabled"];
|
|
205
|
+
type ServicePrincipalStatus = (typeof SERVICE_PRINCIPAL_STATUSES)[number];
|
|
206
|
+
declare const SERVICE_PRINCIPAL_PERMISSIONS: readonly ["config_assets.read", "config_assets.release"];
|
|
207
|
+
type ServicePrincipalPermission = (typeof SERVICE_PRINCIPAL_PERMISSIONS)[number];
|
|
208
|
+
declare const API_CREDENTIAL_SCOPES: readonly ["config_assets:read", "config_assets:release"];
|
|
209
|
+
type ApiCredentialScope = (typeof API_CREDENTIAL_SCOPES)[number];
|
|
210
|
+
declare const APP_ERROR_CODES: readonly ["BAD_REQUEST", "UNAUTHENTICATED", "FORBIDDEN", "NOT_FOUND", "CONFLICT", "REVISION_CONFLICT", "PRECONDITION_REQUIRED", "TIMEOUT", "VALIDATION_FAILED", "RATE_LIMITED", "POLICY_DENIED", "GUARDRAIL_BLOCKED", "DECLINED", "IDEMPOTENCY_KEY_REUSED", "OPERATION_IN_PROGRESS", "OPERATION_EXPIRED", "OUTPUT_NOT_RETAINED", "INTERNAL"];
|
|
211
|
+
declare const OPERATION_EFFECTS: readonly ["reading", "changing"];
|
|
212
|
+
declare const OPERATION_TARGETS: readonly ["live", "test", "dry_run"];
|
|
213
|
+
type OperationTarget = (typeof OPERATION_TARGETS)[number];
|
|
214
|
+
declare const OPERATION_RUN_STATUSES: readonly ["running", "pending_confirmation", "pending_approval", "done", "failed", "denied", "expired"];
|
|
215
|
+
type OperationRunStatus = (typeof OPERATION_RUN_STATUSES)[number];
|
|
216
|
+
declare const OPERATION_ORIGIN_KINDS: readonly ["agent", "user", "cli", "mcp", "app", "workflow", "schedule"];
|
|
217
|
+
type OperationOriginKind = (typeof OPERATION_ORIGIN_KINDS)[number];
|
|
218
|
+
declare const OPERATION_RUN_DECISION_MODES: readonly ["direct", "confirmed", "approved", "declined"];
|
|
219
|
+
type OperationRunDecisionMode = (typeof OPERATION_RUN_DECISION_MODES)[number];
|
|
220
|
+
declare const OPERATION_RUN_DECISION_REASONS: readonly ["inherited_approval_not_applied", "workflow_publish", "approved_by_caller"];
|
|
221
|
+
type OperationRunDecisionReason = (typeof OPERATION_RUN_DECISION_REASONS)[number];
|
|
222
|
+
declare const OPERATION_DENIAL_REASONS: readonly ["no_grant", "denied", "unknown_action", "holder_inactive", "holder_not_administrable", "user_only", "outside_key_scope"];
|
|
223
|
+
type OperationDenialReason = (typeof OPERATION_DENIAL_REASONS)[number];
|
|
224
|
+
declare const APPROVAL_REQUEST_STATUSES: readonly ["pending", "approved", "rejected", "changes_requested", "superseded", "withdrawn", "reverted"];
|
|
225
|
+
type ApprovalRequestStatus = (typeof APPROVAL_REQUEST_STATUSES)[number];
|
|
226
|
+
declare const APPROVAL_CHECK_STATUSES: readonly ["passed", "warned", "blocked"];
|
|
227
|
+
type ApprovalCheckStatus = (typeof APPROVAL_CHECK_STATUSES)[number];
|
|
228
|
+
declare const APPROVAL_EXECUTIONS: readonly ["queued", "done", "failed", "interrupted", "refused", "expired"];
|
|
229
|
+
type ApprovalExecution = (typeof APPROVAL_EXECUTIONS)[number];
|
|
230
|
+
declare const SKILL_CHANGE_TYPES: readonly ["replace", "add", "new_resource"];
|
|
231
|
+
type SkillChangeType = (typeof SKILL_CHANGE_TYPES)[number];
|
|
232
|
+
declare const GUARDRAIL_OUTCOMES: readonly ["allow", "warn", "require_approval", "block"];
|
|
233
|
+
type GuardrailOutcome = (typeof GUARDRAIL_OUTCOMES)[number];
|
|
234
|
+
declare const APP_MODES: readonly ["published", "draft"];
|
|
235
|
+
type AppMode = (typeof APP_MODES)[number];
|
|
236
|
+
declare const ASSET_NAME_REFUSAL_REASONS: readonly ["name_invalid", "name_taken"];
|
|
237
|
+
type AssetNameRefusalReason = (typeof ASSET_NAME_REFUSAL_REASONS)[number];
|
|
238
|
+
declare const ASSET_SYNC_CHANGE_TYPES: readonly ["put", "delete"];
|
|
239
|
+
type AssetSyncChangeType = (typeof ASSET_SYNC_CHANGE_TYPES)[number];
|
|
240
|
+
declare const ASSET_LIFECYCLES: readonly ["active", "draft_published"];
|
|
241
|
+
type AssetLifecycle = (typeof ASSET_LIFECYCLES)[number];
|
|
242
|
+
declare const ASSET_REPRESENTATIONS: readonly ["config", "files"];
|
|
243
|
+
type AssetRepresentation = (typeof ASSET_REPRESENTATIONS)[number];
|
|
244
|
+
declare const CONFIG_ASSET_KINDS: readonly ["agent", "skill"];
|
|
245
|
+
type ConfigAssetKind = (typeof CONFIG_ASSET_KINDS)[number];
|
|
246
|
+
declare const CONFIG_ASSET_CHANGE_OPERATIONS: readonly ["create", "update", "delete", "revert"];
|
|
247
|
+
type ConfigAssetChangeOperation = (typeof CONFIG_ASSET_CHANGE_OPERATIONS)[number];
|
|
248
|
+
declare const AGENT_AVAILABILITY_MODES: readonly ["all", "selected"];
|
|
249
|
+
type AgentAvailabilityMode = (typeof AGENT_AVAILABILITY_MODES)[number];
|
|
250
|
+
declare const AGENT_EDITABLE_FIELDS: readonly ["displayName", "description", "welcomeMessage", "welcomeSubtitle", "instructions", "modelBindingId", "reasoningEffort", "maxSteps", "toolNames", "skillNames", "knowledgeBases", "initialPrompts"];
|
|
251
|
+
type AgentEditableField = (typeof AGENT_EDITABLE_FIELDS)[number];
|
|
252
|
+
declare const ASSET_REPO_BUNDLE_KINDS: readonly ["full", "incremental"];
|
|
253
|
+
type AssetRepoBundleKind = (typeof ASSET_REPO_BUNDLE_KINDS)[number];
|
|
254
|
+
declare const WORKSPACE_FILE_KINDS: readonly ["page", "upload", "generated_file"];
|
|
255
|
+
type WorkspaceFileKind = (typeof WORKSPACE_FILE_KINDS)[number];
|
|
256
|
+
declare const WORKSPACE_VISIBILITIES: readonly ["discoverable", "private"];
|
|
257
|
+
type WorkspaceVisibility = (typeof WORKSPACE_VISIBILITIES)[number];
|
|
258
|
+
declare const WORKSPACE_MEMBERSHIP_ROLES: readonly ["owner", "admin", "member"];
|
|
259
|
+
type WorkspaceMembershipRole = (typeof WORKSPACE_MEMBERSHIP_ROLES)[number];
|
|
260
|
+
declare const WORKSPACE_ACCENT_COLORS: readonly ["garnet", "ruby", "mahogany", "copper", "amber", "olive", "jade", "emerald", "teal", "turquoise", "azure", "sapphire", "indigo", "violet", "magenta", "rose", "stone", "slate"];
|
|
261
|
+
type WorkspaceAccentColor = (typeof WORKSPACE_ACCENT_COLORS)[number];
|
|
262
|
+
declare const COLLABORATION_WORKSPACE_KINDS: readonly ["personal", "shared"];
|
|
263
|
+
type CollaborationWorkspaceKind = (typeof COLLABORATION_WORKSPACE_KINDS)[number];
|
|
264
|
+
declare const WORKSPACE_ACCESS_STATES: readonly ["member", "request_pending", "can_request"];
|
|
265
|
+
type WorkspaceAccessState = (typeof WORKSPACE_ACCESS_STATES)[number];
|
|
266
|
+
declare const DELETION_STATES: readonly ["deleting", "deleted"];
|
|
267
|
+
type DeletionState = (typeof DELETION_STATES)[number];
|
|
268
|
+
declare const WORKSPACE_SECTIONS: readonly ["agents", "apps"];
|
|
269
|
+
type WorkspaceSection = (typeof WORKSPACE_SECTIONS)[number];
|
|
270
|
+
declare const MODEL_USAGE_TIERS: readonly ["very_low", "low", "moderate", "elevated", "high", "very_high"];
|
|
271
|
+
type ModelUsageTier = (typeof MODEL_USAGE_TIERS)[number];
|
|
272
|
+
declare const THEME_MODE_PREFERENCES: readonly ["light", "dark", "system"];
|
|
273
|
+
type ThemeModePreference = (typeof THEME_MODE_PREFERENCES)[number];
|
|
274
|
+
declare const TOOL_GROUPS: readonly ["documents", "web", "files", "results", "skills", "platform", "instance"];
|
|
275
|
+
type ToolGroup = (typeof TOOL_GROUPS)[number];
|
|
276
|
+
declare const INFRASTRUCTURE_SECRET_STATES: readonly ["set", "missing"];
|
|
277
|
+
type InfrastructureSecretState = (typeof INFRASTRUCTURE_SECRET_STATES)[number];
|
|
278
|
+
declare const INFRASTRUCTURE_WITHHELD_FIELDS: readonly ["endpointHost", "bucket"];
|
|
279
|
+
type InfrastructureWithheldField = (typeof INFRASTRUCTURE_WITHHELD_FIELDS)[number];
|
|
280
|
+
declare const OPENAI_COMPATIBLE_APIS: readonly ["chat_completions", "responses"];
|
|
281
|
+
type OpenaiCompatibleApi = (typeof OPENAI_COMPATIBLE_APIS)[number];
|
|
282
|
+
declare const MODEL_PROVIDER_AUTH_MODES: readonly ["bearer", "api-key"];
|
|
283
|
+
type ModelProviderAuthMode = (typeof MODEL_PROVIDER_AUTH_MODES)[number];
|
|
284
|
+
declare const CONVERSATION_VISIBILITIES: readonly ["workspace", "private"];
|
|
285
|
+
type ConversationVisibility = (typeof CONVERSATION_VISIBILITIES)[number];
|
|
286
|
+
declare const WEB_SOURCE_PROVIDERS: readonly ["openai-native", "serper", "tavily", "firecrawl", "browserbase", "direct"];
|
|
287
|
+
type WebSourceProvider = (typeof WEB_SOURCE_PROVIDERS)[number];
|
|
288
|
+
declare const CHAT_MESSAGE_ROLES: readonly ["user", "assistant", "system", "tool"];
|
|
289
|
+
type ChatMessageRole = (typeof CHAT_MESSAGE_ROLES)[number];
|
|
290
|
+
declare const CONVERSATION_ATTACHMENT_STATUSES: readonly ["queued", "preprocessing", "ready", "failed", "unsupported", "deleted"];
|
|
291
|
+
type ConversationAttachmentStatus = (typeof CONVERSATION_ATTACHMENT_STATUSES)[number];
|
|
292
|
+
declare const ATTACHMENT_CREATE_OUTCOMES: readonly ["created", "already_available"];
|
|
293
|
+
type AttachmentCreateOutcome = (typeof ATTACHMENT_CREATE_OUTCOMES)[number];
|
|
294
|
+
declare const STRUCTURED_DATA_REVIEW_REASONS: readonly ["uncertain", "conflicting"];
|
|
295
|
+
type StructuredDataReviewReason = (typeof STRUCTURED_DATA_REVIEW_REASONS)[number];
|
|
296
|
+
declare const AGENT_RUN_STATUSES: readonly ["queued", "running", "waiting_for_decision", "cancelling", "completed", "cancelled", "failed"];
|
|
297
|
+
type AgentRunStatus = (typeof AGENT_RUN_STATUSES)[number];
|
|
298
|
+
declare const AGENT_RUN_FAILURE_CATEGORIES: readonly ["app_error", "internal_error", "runtime_interrupted", "abort_error", "unknown_error"];
|
|
299
|
+
type AgentRunFailureCategory = (typeof AGENT_RUN_FAILURE_CATEGORIES)[number];
|
|
300
|
+
declare const TOOL_INPUT_PARSE_ERROR_CODES: readonly ["invalid_json", "invalid_text"];
|
|
301
|
+
type ToolInputParseErrorCode = (typeof TOOL_INPUT_PARSE_ERROR_CODES)[number];
|
|
302
|
+
declare const WAITING_OPERATION_RUN_STATUSES: readonly ["pending_confirmation", "pending_approval"];
|
|
303
|
+
declare const OPERATION_CONFIRMATION_DECISIONS: readonly ["confirm", "decline"];
|
|
304
|
+
declare const TOOL_DECISION_MODES: readonly ["confirm", "approval"];
|
|
305
|
+
declare const TOOL_DECISION_OUTCOMES: readonly ["confirmed", "declined", "expired", "cancelled"];
|
|
306
|
+
declare const TOOL_CALL_STATES: readonly ["input_available", "waiting_for_decision", "output_available", "output_error"];
|
|
307
|
+
type ToolCallState = (typeof TOOL_CALL_STATES)[number];
|
|
308
|
+
declare const SUPPORTED_IMAGE_MIME_TYPES: readonly ["image/png", "image/jpeg", "image/webp", "image/gif"];
|
|
309
|
+
type SupportedImageMimeType = (typeof SUPPORTED_IMAGE_MIME_TYPES)[number];
|
|
310
|
+
declare const ARTIFACT_PREVIEW_IMAGE_FORMATS: readonly ["png", "webp", "jpeg"];
|
|
311
|
+
type ArtifactPreviewImageFormat = (typeof ARTIFACT_PREVIEW_IMAGE_FORMATS)[number];
|
|
312
|
+
declare const ARTIFACT_PREVIEW_STATUSES: readonly ["ready", "pending", "failed", "unsupported"];
|
|
313
|
+
type ArtifactPreviewStatus = (typeof ARTIFACT_PREVIEW_STATUSES)[number];
|
|
314
|
+
declare const WORKSPACE_COMMAND_STATUSES: readonly ["queued", "running", "cancelling", "completed", "failed", "cancelled"];
|
|
315
|
+
type WorkspaceCommandStatus = (typeof WORKSPACE_COMMAND_STATUSES)[number];
|
|
316
|
+
declare const TOOL_DISPLAY_MODES: readonly ["inline", "side_panel", "fullscreen"];
|
|
317
|
+
type ToolDisplayMode = (typeof TOOL_DISPLAY_MODES)[number];
|
|
318
|
+
declare const JOB_STATUSES: readonly ["queued", "running", "succeeded", "failed", "dead", "cancelled"];
|
|
319
|
+
type JobStatus = (typeof JOB_STATUSES)[number];
|
|
320
|
+
declare const AUDIT_ACTOR_KINDS: readonly ["user", "assistant", "service", "system"];
|
|
321
|
+
type AuditActorKind = (typeof AUDIT_ACTOR_KINDS)[number];
|
|
322
|
+
declare const AUDIT_TIERS: readonly ["governance", "workflow", "runtime", "telemetry"];
|
|
323
|
+
type AuditTier = (typeof AUDIT_TIERS)[number];
|
|
324
|
+
declare const AUDIT_OUTCOMES: readonly ["success", "failed", "denied", "warning"];
|
|
325
|
+
type AuditOutcome = (typeof AUDIT_OUTCOMES)[number];
|
|
326
|
+
declare const MODEL_USAGE_EVENT_STATUSES: readonly ["pending", "settled", "failed", "abandoned"];
|
|
327
|
+
type ModelUsageEventStatus = (typeof MODEL_USAGE_EVENT_STATUSES)[number];
|
|
328
|
+
declare const MODEL_USAGE_SOURCES: readonly ["provider_reported", "not_reported", "estimated"];
|
|
329
|
+
type ModelUsageSource = (typeof MODEL_USAGE_SOURCES)[number];
|
|
330
|
+
declare const USAGE_COST_STATUSES: readonly ["settled", "incomplete", "unpriced"];
|
|
331
|
+
type UsageCostStatus = (typeof USAGE_COST_STATUSES)[number];
|
|
332
|
+
declare const CONNECTION_OPERATION_STATUSES: readonly ["ready", "awaiting_discovery", "needs_review", "unknown", "disabled"];
|
|
333
|
+
type ConnectionOperationStatus = (typeof CONNECTION_OPERATION_STATUSES)[number];
|
|
334
|
+
declare const CONNECTION_SECRET_STATES: readonly ["set", "not_set", "unreadable"];
|
|
335
|
+
type ConnectionSecretState = (typeof CONNECTION_SECRET_STATES)[number];
|
|
336
|
+
declare const CONNECTOR_TEST_STATUSES: readonly ["ready", "unauthorized", "network_denied", "unavailable"];
|
|
337
|
+
type ConnectorTestStatus = (typeof CONNECTOR_TEST_STATUSES)[number];
|
|
338
|
+
declare const CONNECTION_ORIGINS: readonly ["release", "runtime"];
|
|
339
|
+
type ConnectionOrigin = (typeof CONNECTION_ORIGINS)[number];
|
|
340
|
+
declare const CONNECTION_NETWORKS: readonly ["public", "private"];
|
|
341
|
+
type ConnectionNetwork = (typeof CONNECTION_NETWORKS)[number];
|
|
342
|
+
declare const DATA_STORE_SCALAR_TYPES: readonly ["text", "integer", "number", "boolean", "date", "timestamp"];
|
|
343
|
+
type DataStoreScalarType = (typeof DATA_STORE_SCALAR_TYPES)[number];
|
|
344
|
+
declare const DATA_STORE_LOAD_CONFLICT_MODES: readonly ["fail", "skip", "update"];
|
|
345
|
+
type DataStoreLoadConflictMode = (typeof DATA_STORE_LOAD_CONFLICT_MODES)[number];
|
|
346
|
+
declare const DATA_STORE_INSERT_CONFLICT_MODES: readonly ["fail", "skip"];
|
|
347
|
+
type DataStoreInsertConflictMode = (typeof DATA_STORE_INSERT_CONFLICT_MODES)[number];
|
|
348
|
+
declare const DATA_STORE_CONDITIONS: readonly ["server_databases_open", "sessions_open", "temp_files_unbounded"];
|
|
349
|
+
type DataStoreCondition = (typeof DATA_STORE_CONDITIONS)[number];
|
|
350
|
+
declare const DATA_STORE_STATUSES: readonly ["provisioning", "ready", "retired"];
|
|
351
|
+
type DataStoreStatus = (typeof DATA_STORE_STATUSES)[number];
|
|
352
|
+
declare const DATA_STORE_MIGRATION_OUTCOMES: readonly ["none", "pending", "applied", "failed"];
|
|
353
|
+
type DataStoreMigrationOutcome = (typeof DATA_STORE_MIGRATION_OUTCOMES)[number];
|
|
354
|
+
declare const KNOWLEDGE_BASE_STATUSES: readonly ["unchecked", "ok", "needs_attention"];
|
|
355
|
+
type KnowledgeBaseStatus = (typeof KNOWLEDGE_BASE_STATUSES)[number];
|
|
356
|
+
declare const DATABASE_RELATION_TYPES: readonly ["table", "view", "materialized_view", "foreign_table"];
|
|
357
|
+
type DatabaseRelationType = (typeof DATABASE_RELATION_TYPES)[number];
|
|
358
|
+
declare const WORKFLOW_RUN_STATUSES: readonly ["queued", "running", "waiting", "done", "failed", "cancelled", "limit_reached"];
|
|
359
|
+
type WorkflowRunStatus = (typeof WORKFLOW_RUN_STATUSES)[number];
|
|
360
|
+
declare const WORKFLOW_STEP_TYPES: readonly ["trigger", "operation", "loop", "code", "output", "agent", "notify", "workflow"];
|
|
361
|
+
type WorkflowStepType = (typeof WORKFLOW_STEP_TYPES)[number];
|
|
362
|
+
declare const WORKFLOW_RESERVED_STEP_TYPES: readonly ["condition", "parallel"];
|
|
363
|
+
type WorkflowReservedStepType = (typeof WORKFLOW_RESERVED_STEP_TYPES)[number];
|
|
364
|
+
declare const WORKFLOW_TRIGGER_KINDS: readonly ["manual", "schedule", "parent"];
|
|
365
|
+
type WorkflowTriggerKind = (typeof WORKFLOW_TRIGGER_KINDS)[number];
|
|
366
|
+
declare const NOTIFY_CHANNELS: readonly ["inbox", "mail"];
|
|
367
|
+
type NotifyChannel = (typeof NOTIFY_CHANNELS)[number];
|
|
368
|
+
declare const PRINCIPAL_HOLDER_KINDS: readonly ["user", "service_principal"];
|
|
369
|
+
type PrincipalHolderKind = (typeof PRINCIPAL_HOLDER_KINDS)[number];
|
|
370
|
+
declare const ASSET_OWNER_KINDS: readonly ["instance", "workspace"];
|
|
371
|
+
type AssetOwnerKind = (typeof ASSET_OWNER_KINDS)[number];
|
|
372
|
+
declare const READING_POLICY_VALUES: readonly ["allow", "deny"];
|
|
373
|
+
type ReadingPolicyValue = (typeof READING_POLICY_VALUES)[number];
|
|
374
|
+
declare const CONNECTION_OPERATION_POLICIES: readonly ["deny", "approval"];
|
|
375
|
+
type ConnectionOperationPolicy = (typeof CONNECTION_OPERATION_POLICIES)[number];
|
|
376
|
+
declare const WORKFLOW_RUN_MODES: readonly ["live", "test"];
|
|
377
|
+
type WorkflowRunMode = (typeof WORKFLOW_RUN_MODES)[number];
|
|
378
|
+
declare const APP_ACTION_CALL_STATUSES: readonly ["done", "pending_approval"];
|
|
379
|
+
type AppActionCallStatus = (typeof APP_ACTION_CALL_STATUSES)[number];
|
|
380
|
+
declare const OPERATIONS_AUDIENCES: readonly ["workflow", "app"];
|
|
381
|
+
type OperationsAudience = (typeof OPERATIONS_AUDIENCES)[number];
|
|
382
|
+
declare const DECIDED_APPROVAL_REQUEST_STATUSES: readonly ["approved", "rejected", "changes_requested", "superseded", "withdrawn", "reverted"];
|
|
383
|
+
type DecidedApprovalRequestStatus = (typeof DECIDED_APPROVAL_REQUEST_STATUSES)[number];
|
|
384
|
+
declare const ENDED_APPROVAL_EXECUTIONS: readonly ["done", "failed", "interrupted", "refused", "expired"];
|
|
385
|
+
type EndedApprovalExecution = (typeof ENDED_APPROVAL_EXECUTIONS)[number];
|
|
386
|
+
declare const GUARDRAIL_HIT_OUTCOMES: readonly ["warn", "require_approval", "block"];
|
|
387
|
+
type GuardrailHitOutcome = (typeof GUARDRAIL_HIT_OUTCOMES)[number];
|
|
388
|
+
declare const APPROVAL_CHECK_FAILURE_OUTCOMES: readonly ["warn", "block"];
|
|
389
|
+
type ApprovalCheckFailureOutcome = (typeof APPROVAL_CHECK_FAILURE_OUTCOMES)[number];
|
|
390
|
+
declare const THEME_MODES: readonly ["light", "dark"];
|
|
391
|
+
type ThemeMode = (typeof THEME_MODES)[number];
|
|
392
|
+
declare const USER_STATUSES: readonly ["active", "disabled"];
|
|
393
|
+
type UserStatus = (typeof USER_STATUSES)[number];
|
|
394
|
+
declare const MESSAGE_FINISH_STATUSES: readonly ["completed", "cancelled"];
|
|
395
|
+
type MessageFinishStatus = (typeof MESSAGE_FINISH_STATUSES)[number];
|
|
396
|
+
declare const ENDED_AGENT_RUN_STATUSES: readonly ["completed", "cancelled", "failed"];
|
|
397
|
+
type EndedAgentRunStatus = (typeof ENDED_AGENT_RUN_STATUSES)[number];
|
|
398
|
+
declare const ACTIVE_AGENT_RUN_STATUSES: readonly ["queued", "running", "waiting_for_decision", "cancelling"];
|
|
399
|
+
type ActiveAgentRunStatus = (typeof ACTIVE_AGENT_RUN_STATUSES)[number];
|
|
400
|
+
declare const ARTIFACT_PREVIEW_IMAGE_MIME_TYPES: readonly ["image/png", "image/jpeg", "image/webp"];
|
|
401
|
+
type ArtifactPreviewImageMimeType = (typeof ARTIFACT_PREVIEW_IMAGE_MIME_TYPES)[number];
|
|
402
|
+
declare const LIVE_JOB_STATUSES: readonly ["queued", "running"];
|
|
403
|
+
type LiveJobStatus = (typeof LIVE_JOB_STATUSES)[number];
|
|
404
|
+
declare const FAILED_JOB_STATUSES: readonly ["failed", "dead"];
|
|
405
|
+
type FailedJobStatus = (typeof FAILED_JOB_STATUSES)[number];
|
|
406
|
+
declare const AUDIT_EVENT_STATUSES: readonly ["success", "failed", "denied"];
|
|
407
|
+
type AuditEventStatus = (typeof AUDIT_EVENT_STATUSES)[number];
|
|
408
|
+
declare const LISTED_DATA_STORE_STATUSES: readonly ["provisioning", "ready"];
|
|
409
|
+
type ListedDataStoreStatus = (typeof LISTED_DATA_STORE_STATUSES)[number];
|
|
410
|
+
declare const KNOWLEDGE_CHECK_STATUSES: readonly ["ok", "needs_attention"];
|
|
411
|
+
type KnowledgeCheckStatus = (typeof KNOWLEDGE_CHECK_STATUSES)[number];
|
|
412
|
+
declare const WORKFLOW_STEP_RUN_STATUSES: readonly ["queued", "running", "waiting", "done", "failed", "cancelled"];
|
|
413
|
+
type WorkflowStepRunStatus = (typeof WORKFLOW_STEP_RUN_STATUSES)[number];
|
|
414
|
+
declare const WORKFLOW_ENDED_STATUSES: readonly ["done", "failed", "cancelled", "limit_reached"];
|
|
415
|
+
type WorkflowEndedStatus = (typeof WORKFLOW_ENDED_STATUSES)[number];
|
|
416
|
+
|
|
417
|
+
declare const localizedStringSchema: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
418
|
+
en: z.ZodOptional<z.ZodString>;
|
|
419
|
+
de: z.ZodOptional<z.ZodString>;
|
|
420
|
+
}, z.core.$strict>]>;
|
|
421
|
+
declare const SKILL_NAME_PATTERN: RegExp;
|
|
422
|
+
declare const SKILL_NAME_RULE = "Skill name must start with a letter or a number and contain only letters, numbers, dots, underscores, or hyphens";
|
|
423
|
+
/** How long a name of the public skill convention is at most, in characters. */
|
|
424
|
+
declare const SKILL_PORTABLE_NAME_MAX_CHARS = 64;
|
|
425
|
+
/** How long a description of the public skill convention is at most, in characters. */
|
|
426
|
+
declare const SKILL_PORTABLE_DESCRIPTION_MAX_CHARS = 1024;
|
|
427
|
+
/**
|
|
428
|
+
* What keeps a skill from being taken as it is into a tool that reads the public skill
|
|
429
|
+
* convention: a name that is not lowercase letters, digits and single hyphens or is longer
|
|
430
|
+
* than 64 characters, and a description longer than 1,024. Each is a warning with a code and
|
|
431
|
+
* refuses nothing: such a skill works here.
|
|
432
|
+
*/
|
|
433
|
+
declare function skillPortabilityIssues(skill: {
|
|
434
|
+
name?: unknown;
|
|
435
|
+
description?: unknown;
|
|
436
|
+
}): {
|
|
437
|
+
code: string;
|
|
438
|
+
message: string;
|
|
439
|
+
}[];
|
|
440
|
+
declare const skillNameSchema: z.ZodString;
|
|
441
|
+
declare const skillResourcePathSchema: z.ZodString;
|
|
442
|
+
declare function skillResourceMediaTypeForPath(path: string): SkillResourceMediaType | undefined;
|
|
443
|
+
declare const skillResourceConfigSchema: z.ZodObject<{
|
|
444
|
+
path: z.ZodString;
|
|
445
|
+
mediaType: z.ZodEnum<{
|
|
446
|
+
"text/markdown": "text/markdown";
|
|
447
|
+
"text/plain": "text/plain";
|
|
448
|
+
"application/json": "application/json";
|
|
449
|
+
"application/yaml": "application/yaml";
|
|
450
|
+
}>;
|
|
451
|
+
content: z.ZodString;
|
|
452
|
+
}, z.core.$strip>;
|
|
453
|
+
declare const skillStarterSchema: z.ZodObject<{
|
|
454
|
+
title: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
455
|
+
en: z.ZodOptional<z.ZodString>;
|
|
456
|
+
de: z.ZodOptional<z.ZodString>;
|
|
457
|
+
}, z.core.$strict>]>;
|
|
458
|
+
hint: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
459
|
+
en: z.ZodOptional<z.ZodString>;
|
|
460
|
+
de: z.ZodOptional<z.ZodString>;
|
|
461
|
+
}, z.core.$strict>]>>;
|
|
462
|
+
prompt: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
463
|
+
en: z.ZodOptional<z.ZodString>;
|
|
464
|
+
de: z.ZodOptional<z.ZodString>;
|
|
465
|
+
}, z.core.$strict>]>;
|
|
466
|
+
tools: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
467
|
+
}, z.core.$strict>;
|
|
468
|
+
/**
|
|
469
|
+
* How much frontmatter a `SKILL.md` holds beside the keys the platform reads, as JSON, in
|
|
470
|
+
* characters. The keys of the public skill convention are a few lines.
|
|
471
|
+
*/
|
|
472
|
+
declare const SKILL_FRONTMATTER_MAX_BYTES = 8192;
|
|
473
|
+
/** How deep the frontmatter of a `SKILL.md` nests at most. */
|
|
474
|
+
declare const SKILL_FRONTMATTER_MAX_DEPTH = 8;
|
|
475
|
+
/**
|
|
476
|
+
* The keys of the frontmatter of a `SKILL.md` that are fields of the skill. Every other key is
|
|
477
|
+
* kept apart as its further `frontmatter`.
|
|
478
|
+
*/
|
|
479
|
+
declare const SKILL_FRONTMATTER_FIELDS: readonly ["name", "title", "description", "summary", "starters"];
|
|
480
|
+
/** One file of a skill's folder as its index names it: no content. */
|
|
481
|
+
declare const skillFileEntrySchema: z.ZodObject<{
|
|
482
|
+
path: z.ZodString;
|
|
483
|
+
sha256: z.ZodString;
|
|
484
|
+
bytes: z.ZodNumber;
|
|
485
|
+
mediaType: z.ZodString;
|
|
486
|
+
}, z.core.$strip>;
|
|
487
|
+
declare const skillConfigSchema: z.ZodObject<{
|
|
488
|
+
name: z.ZodString;
|
|
489
|
+
title: z.ZodString;
|
|
490
|
+
description: z.ZodString;
|
|
491
|
+
summary: z.ZodOptional<z.ZodString>;
|
|
492
|
+
starters: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
493
|
+
title: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
494
|
+
en: z.ZodOptional<z.ZodString>;
|
|
495
|
+
de: z.ZodOptional<z.ZodString>;
|
|
496
|
+
}, z.core.$strict>]>;
|
|
497
|
+
hint: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
498
|
+
en: z.ZodOptional<z.ZodString>;
|
|
499
|
+
de: z.ZodOptional<z.ZodString>;
|
|
500
|
+
}, z.core.$strict>]>>;
|
|
501
|
+
prompt: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
502
|
+
en: z.ZodOptional<z.ZodString>;
|
|
503
|
+
de: z.ZodOptional<z.ZodString>;
|
|
504
|
+
}, z.core.$strict>]>;
|
|
505
|
+
tools: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
506
|
+
}, z.core.$strict>>>;
|
|
507
|
+
content: z.ZodString;
|
|
508
|
+
resources: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
509
|
+
path: z.ZodString;
|
|
510
|
+
mediaType: z.ZodEnum<{
|
|
511
|
+
"text/markdown": "text/markdown";
|
|
512
|
+
"text/plain": "text/plain";
|
|
513
|
+
"application/json": "application/json";
|
|
514
|
+
"application/yaml": "application/yaml";
|
|
515
|
+
}>;
|
|
516
|
+
content: z.ZodString;
|
|
517
|
+
}, z.core.$strip>>>;
|
|
518
|
+
files: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
519
|
+
path: z.ZodString;
|
|
520
|
+
sha256: z.ZodString;
|
|
521
|
+
bytes: z.ZodNumber;
|
|
522
|
+
mediaType: z.ZodString;
|
|
523
|
+
}, z.core.$strip>>>;
|
|
524
|
+
frontmatter: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
525
|
+
origin: z.ZodOptional<z.ZodLiteral<"release">>;
|
|
526
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
527
|
+
}, z.core.$strip>;
|
|
528
|
+
/**
|
|
529
|
+
* The frontmatter of a `SKILL.md`. `description` is required. `name` may be left to the folder
|
|
530
|
+
* and `title` to the content; `summary` and `starters` are read as the config holds them.
|
|
531
|
+
* Every other key is kept as it is and never refused: the public skill convention has keys of
|
|
532
|
+
* its own, such as `license` and `metadata`, and a library may add more. A skill file is the
|
|
533
|
+
* instance's own: what only a shipped skill carries, `origin` and `icon`, is no field of it.
|
|
534
|
+
*/
|
|
535
|
+
declare const skillFileFrontmatterSchema: z.ZodObject<{
|
|
536
|
+
name: z.ZodOptional<z.ZodString>;
|
|
537
|
+
title: z.ZodOptional<z.ZodString>;
|
|
538
|
+
description: z.ZodString;
|
|
539
|
+
summary: z.ZodOptional<z.ZodString>;
|
|
540
|
+
starters: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
541
|
+
title: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
542
|
+
en: z.ZodOptional<z.ZodString>;
|
|
543
|
+
de: z.ZodOptional<z.ZodString>;
|
|
544
|
+
}, z.core.$strict>]>;
|
|
545
|
+
hint: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
546
|
+
en: z.ZodOptional<z.ZodString>;
|
|
547
|
+
de: z.ZodOptional<z.ZodString>;
|
|
548
|
+
}, z.core.$strict>]>>;
|
|
549
|
+
prompt: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
550
|
+
en: z.ZodOptional<z.ZodString>;
|
|
551
|
+
de: z.ZodOptional<z.ZodString>;
|
|
552
|
+
}, z.core.$strict>]>;
|
|
553
|
+
tools: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
554
|
+
}, z.core.$strict>>>;
|
|
555
|
+
}, z.core.$loose>;
|
|
556
|
+
declare const agentConfigSchema: z.ZodObject<{
|
|
557
|
+
name: z.ZodString;
|
|
558
|
+
displayName: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
559
|
+
en: z.ZodOptional<z.ZodString>;
|
|
560
|
+
de: z.ZodOptional<z.ZodString>;
|
|
561
|
+
}, z.core.$strict>]>;
|
|
562
|
+
description: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
563
|
+
en: z.ZodOptional<z.ZodString>;
|
|
564
|
+
de: z.ZodOptional<z.ZodString>;
|
|
565
|
+
}, z.core.$strict>]>>;
|
|
566
|
+
welcomeMessage: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
567
|
+
en: z.ZodOptional<z.ZodString>;
|
|
568
|
+
de: z.ZodOptional<z.ZodString>;
|
|
569
|
+
}, z.core.$strict>]>>;
|
|
570
|
+
welcomeSubtitle: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
571
|
+
en: z.ZodOptional<z.ZodString>;
|
|
572
|
+
de: z.ZodOptional<z.ZodString>;
|
|
573
|
+
}, z.core.$strict>]>>;
|
|
574
|
+
instructions: z.ZodString;
|
|
575
|
+
modelProviderId: z.ZodOptional<z.ZodString>;
|
|
576
|
+
modelBindingId: z.ZodOptional<z.ZodString>;
|
|
577
|
+
reasoningEffort: z.ZodOptional<z.ZodEnum<{
|
|
578
|
+
none: "none";
|
|
579
|
+
low: "low";
|
|
580
|
+
medium: "medium";
|
|
581
|
+
high: "high";
|
|
582
|
+
xhigh: "xhigh";
|
|
583
|
+
max: "max";
|
|
584
|
+
}>>;
|
|
585
|
+
fastMode: z.ZodOptional<z.ZodBoolean>;
|
|
586
|
+
userSelectableModelBindingIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
587
|
+
modelReasoningEfforts: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEnum<{
|
|
588
|
+
none: "none";
|
|
589
|
+
low: "low";
|
|
590
|
+
medium: "medium";
|
|
591
|
+
high: "high";
|
|
592
|
+
xhigh: "xhigh";
|
|
593
|
+
max: "max";
|
|
594
|
+
}>>>;
|
|
595
|
+
maxSteps: z.ZodOptional<z.ZodNumber>;
|
|
596
|
+
toolNames: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
597
|
+
skillNames: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
598
|
+
knowledgeBases: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
599
|
+
initialPrompts: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
600
|
+
title: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
601
|
+
en: z.ZodOptional<z.ZodString>;
|
|
602
|
+
de: z.ZodOptional<z.ZodString>;
|
|
603
|
+
}, z.core.$strict>]>;
|
|
604
|
+
prompt: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
605
|
+
en: z.ZodOptional<z.ZodString>;
|
|
606
|
+
de: z.ZodOptional<z.ZodString>;
|
|
607
|
+
}, z.core.$strict>]>;
|
|
608
|
+
}, z.core.$strip>>>;
|
|
609
|
+
}, z.core.$strip>;
|
|
610
|
+
/** The id of a Workflow, which is the name of its asset: part of `workflow.<id>.start`. */
|
|
611
|
+
declare const WORKFLOW_NAME_PATTERN: RegExp;
|
|
612
|
+
declare const WORKFLOW_NAME_RULE = "A Workflow id starts with a lowercase letter and holds lowercase letters, digits, '_' and '-', at most 63 characters";
|
|
613
|
+
/**
|
|
614
|
+
* What a revision of a Workflow holds as its config: the id the asset is addressed by,
|
|
615
|
+
* `workflow.yaml` as an object under `manifest`, and the files of its `steps/` folder under
|
|
616
|
+
* `files`, each with its path in the Workflow's folder and its text. This is the shape alone,
|
|
617
|
+
* which every stored revision keeps whatever a later engine accepts. Whether the engine of the
|
|
618
|
+
* instance runs the manifest and takes the files is asked of the engine when a revision is
|
|
619
|
+
* saved and when one is published.
|
|
620
|
+
*/
|
|
621
|
+
declare const workflowConfigSchema: z.ZodObject<{
|
|
622
|
+
name: z.ZodString;
|
|
623
|
+
manifest: z.ZodObject<{
|
|
624
|
+
id: z.ZodString;
|
|
625
|
+
name: z.ZodString;
|
|
626
|
+
description: z.ZodOptional<z.ZodString>;
|
|
627
|
+
}, z.core.$loose>;
|
|
628
|
+
files: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
629
|
+
path: z.ZodString;
|
|
630
|
+
content: z.ZodString;
|
|
631
|
+
}, z.core.$strict>>>;
|
|
632
|
+
}, z.core.$strict>;
|
|
633
|
+
type WorkflowAssetConfig = z.infer<typeof workflowConfigSchema>;
|
|
634
|
+
|
|
635
|
+
/**
|
|
636
|
+
* Why a frontmatter is refused before its fields are read: for an alias, for its depth, or
|
|
637
|
+
* for the size of what it holds beside the name, the title and the description.
|
|
638
|
+
*/
|
|
639
|
+
type SkillFrontmatterRefusal = "skill_frontmatter_alias" | "skill_frontmatter_too_deep" | "skill_frontmatter_too_large";
|
|
640
|
+
/**
|
|
641
|
+
* One thing that is wrong in a skill file: an invalid field by its path, or the place of the
|
|
642
|
+
* file, by line and column, where its frontmatter stops being YAML.
|
|
643
|
+
*/
|
|
644
|
+
interface SkillMarkdownIssue {
|
|
645
|
+
message: string;
|
|
646
|
+
path: PropertyKey[];
|
|
647
|
+
line?: number;
|
|
648
|
+
column?: number;
|
|
649
|
+
}
|
|
650
|
+
/**
|
|
651
|
+
* A skill file that cannot be read as a skill. `details.issues` names each invalid field, and
|
|
652
|
+
* `reason` what refused the frontmatter as a whole.
|
|
653
|
+
*/
|
|
654
|
+
declare class SkillMarkdownError extends Error {
|
|
655
|
+
readonly details?: {
|
|
656
|
+
issues: SkillMarkdownIssue[];
|
|
657
|
+
};
|
|
658
|
+
readonly reason?: SkillFrontmatterRefusal;
|
|
659
|
+
constructor(message: string, details?: {
|
|
660
|
+
issues: SkillMarkdownIssue[];
|
|
661
|
+
}, reason?: SkillFrontmatterRefusal);
|
|
662
|
+
}
|
|
663
|
+
/**
|
|
664
|
+
* Reads a `SKILL.md`: YAML frontmatter with title and description, then the content. A file
|
|
665
|
+
* without a name takes it from its folder, or from its own file name. `skillPath` separates
|
|
666
|
+
* its segments with `/`. This module runs in a browser too, so it reads the path as text.
|
|
667
|
+
*/
|
|
668
|
+
declare function parseSkillMarkdown(contents: string, skillFile: string, skillPath: string): unknown;
|
|
669
|
+
/**
|
|
670
|
+
* The title a skill is shown under where its `SKILL.md` names none, as the public skill
|
|
671
|
+
* convention does not: the first Markdown heading of its content, or else its name with
|
|
672
|
+
* spaces for hyphens and underscores and a capital first letter.
|
|
673
|
+
*/
|
|
674
|
+
declare function deriveSkillTitle(name: string, content: string): string;
|
|
675
|
+
/**
|
|
676
|
+
* A `SKILL.md` of a skill's config: what `parseSkillMarkdown` reads back as the same name,
|
|
677
|
+
* title, description, summary, starters, content and further frontmatter. A title the content
|
|
678
|
+
* or the name gives anyway is left out, as a file of the public skill convention has none. It
|
|
679
|
+
* is what a skill that was written as its config has for a file.
|
|
680
|
+
*/
|
|
681
|
+
declare function formatSkillMarkdown(skill: {
|
|
682
|
+
name: string;
|
|
683
|
+
title: string;
|
|
684
|
+
description: string;
|
|
685
|
+
summary?: string;
|
|
686
|
+
starters?: SkillStarterConfig[];
|
|
687
|
+
content: string;
|
|
688
|
+
frontmatter?: Record<string, unknown>;
|
|
689
|
+
}): string;
|
|
690
|
+
|
|
691
|
+
/**
|
|
692
|
+
* Why a value read from YAML is not taken, or nothing where it is. `alias`: an object or a
|
|
693
|
+
* list is in it more than once, which only an anchor with an alias or a merge makes; no file
|
|
694
|
+
* the platform reads needs one, so none is taken, and no count of them has to be right.
|
|
695
|
+
* `depth`: it nests deeper than `maxDepth`, where its reader names one; a file whose own
|
|
696
|
+
* rules say how deep it nests, as a Workflow's blocks do, names none. The walk is linear in
|
|
697
|
+
* what the file holds: it visits each object once and ends at the first one it meets twice.
|
|
698
|
+
*/
|
|
699
|
+
declare function yamlValueIssue(value: unknown, maxDepth?: number): "alias" | "depth" | undefined;
|
|
700
|
+
/** The sentence a reader of a YAML file answers for an issue of its value. */
|
|
701
|
+
declare function yamlValueIssueSentence(issue: "alias" | "depth", maxDepth?: number): string;
|
|
702
|
+
|
|
703
|
+
/**
|
|
704
|
+
* How many values a YAML file holds once every alias is followed. It stops a file of a few
|
|
705
|
+
* hundred bytes whose aliases expand to a billion values ("billion laughs"), which hung the
|
|
706
|
+
* server on its first walk. The largest honest manifest holds a few thousand.
|
|
707
|
+
*/
|
|
708
|
+
declare const YAML_DATA_MAX_VALUES = 100000;
|
|
709
|
+
type YamlDataIssueCode = "yaml_invalid" | "yaml_alias" | "yaml_too_deep" | "yaml_too_large" | "text_invalid";
|
|
710
|
+
interface YamlDataIssue {
|
|
711
|
+
code: YamlDataIssueCode;
|
|
712
|
+
/** One sentence that names the file. */
|
|
713
|
+
message: string;
|
|
714
|
+
/** The line of the file, from 1, where the reader stopped. */
|
|
715
|
+
line?: number;
|
|
716
|
+
/** The column of that line, from 1. */
|
|
717
|
+
column?: number;
|
|
718
|
+
}
|
|
719
|
+
interface YamlDataOptions {
|
|
720
|
+
/**
|
|
721
|
+
* Refuses an anchor with an alias or a merge key, before anything walks the value. The
|
|
722
|
+
* readers of an asset's own files ask for it: none of those files needs one.
|
|
723
|
+
*/
|
|
724
|
+
refuseAliases?: boolean;
|
|
725
|
+
}
|
|
726
|
+
type YamlDataResult = {
|
|
727
|
+
ok: true;
|
|
728
|
+
value: unknown;
|
|
729
|
+
} | {
|
|
730
|
+
ok: false;
|
|
731
|
+
issue: YamlDataIssue;
|
|
732
|
+
};
|
|
733
|
+
/**
|
|
734
|
+
* Whether Postgres can store a text, in a `text` column or in `jsonb`: it holds neither a NUL
|
|
735
|
+
* character nor half of a surrogate pair. With the `u` flag a whole pair is one code point, so
|
|
736
|
+
* only half of one matches `\p{Surrogate}`.
|
|
737
|
+
*/
|
|
738
|
+
declare function isStorableText(text: string): boolean;
|
|
739
|
+
/**
|
|
740
|
+
* Whether every text and key of a JSON-like value can be stored. It walks at most `maxValues`
|
|
741
|
+
* values, a value reached twice counted twice, and answers `too_large` beyond that. It walks
|
|
742
|
+
* without recursion, so no nesting ends it.
|
|
743
|
+
*/
|
|
744
|
+
declare function checkStorableTexts(value: unknown, maxValues: number): "storable" | "unstorable" | "too_large";
|
|
745
|
+
/**
|
|
746
|
+
* Reads YAML that an author or an agent wrote as data: the schema knows JSON types alone and
|
|
747
|
+
* builds nothing else. A file that does not parse, nests too deep, expands too far through its
|
|
748
|
+
* aliases or holds text that cannot be stored is answered as an issue, never thrown.
|
|
749
|
+
*/
|
|
750
|
+
declare function readYamlData(text: string, file: string, options?: YamlDataOptions): YamlDataResult;
|
|
751
|
+
/** A YAML file `loadYamlData` refused. `issue` says why. */
|
|
752
|
+
declare class YamlDataError extends Error {
|
|
753
|
+
readonly issue: YamlDataIssue;
|
|
754
|
+
constructor(issue: YamlDataIssue);
|
|
755
|
+
}
|
|
756
|
+
/** `readYamlData` for a caller that reports a refused file as an error: it throws `YamlDataError`. */
|
|
757
|
+
declare function loadYamlData(text: string, file: string): unknown;
|
|
758
|
+
|
|
759
|
+
export { ACCESS_SOURCES, ACTIONS, ACTIVE_AGENT_RUN_STATUSES, ADMINISTERED_USER_STATUSES, AGENT_AVAILABILITY_MODES, AGENT_EDITABLE_FIELDS, AGENT_RUN_FAILURE_CATEGORIES, AGENT_RUN_STATUSES, AGENT_STARTERS_MAX, API_CREDENTIAL_SCOPES, APPROVAL_CHECK_FAILURE_OUTCOMES, APPROVAL_CHECK_STATUSES, APPROVAL_EXECUTIONS, APPROVAL_REQUEST_STATUSES, APP_ACTION_CALL_STATUSES, APP_ERROR_CODES, APP_ERROR_STATUS_CODES, APP_MODES, ARTIFACT_PREVIEW_IMAGE_FORMATS, ARTIFACT_PREVIEW_IMAGE_MIME_TYPES, ARTIFACT_PREVIEW_STATUSES, ASSET_LIFECYCLES, ASSET_NAME_REFUSAL_REASONS, ASSET_OWNER_KINDS, ASSET_REPO_BUNDLE_KINDS, ASSET_REPRESENTATIONS, ASSET_SYNC_CHANGE_TYPES, ATTACHMENT_CREATE_OUTCOMES, AUDIT_ACTOR_KINDS, AUDIT_EVENT_STATUSES, AUDIT_OUTCOMES, AUDIT_TIERS, AUTH_PRINCIPAL_KINDS, AUTH_SCOPE_WILDCARD, type AccessSource, type ActiveAgentRunStatus, type AdministeredUserStatus, type AgentAvailabilityMode, type AgentConfig, type AgentEditableField, type AgentInitialPromptConfig, type AgentRunFailureCategory, type AgentRunStatus, type ApiCredentialScope, type AppActionCallStatus, type AppErrorCode, type AppMode, type ApprovalCheckFailureOutcome, type ApprovalCheckStatus, type ApprovalExecution, type ApprovalRequestStatus, type ArtifactPreviewImageFormat, type ArtifactPreviewImageMimeType, type ArtifactPreviewStatus, type AssetLifecycle, type AssetNameRefusalReason, type AssetOwnerKind, type AssetRepoBundleKind, type AssetRepresentation, type AssetSyncChangeType, type AttachmentCreateOutcome, type AuditActorKind, type AuditEventStatus, type AuditOutcome, type AuditTier, type AuthPrincipalKind, CHAT_MESSAGE_ROLES, CHAT_SESSION_AUTH_SCOPES, COLLABORATION_WORKSPACE_KINDS, CONFIG_ASSET_CHANGE_OPERATIONS, CONFIG_ASSET_KINDS, CONNECTION_EXPOSURES, CONNECTION_HEALTH_STATES, CONNECTION_NAME_MAX_LENGTH, CONNECTION_NAME_PATTERN, CONNECTION_NETWORKS, CONNECTION_OPERATION_POLICIES, CONNECTION_OPERATION_STATUSES, CONNECTION_ORIGINS, CONNECTION_SECRET_STATES, CONNECTOR_TEST_STATUSES, CONVERSATION_ATTACHMENT_STATUSES, CONVERSATION_VISIBILITIES, type ChatMessageRole, type ChatSessionAuthScope, type CollaborationWorkspaceKind, type ConfigAssetChangeOperation, type ConfigAssetKind, type ConnectionExposure, type ConnectionHealth, type ConnectionNetwork, type ConnectionOperationPolicy, type ConnectionOperationStatus, type ConnectionOrigin, type ConnectionSecretState, type ConnectorTestStatus, type ConversationAttachmentStatus, type ConversationVisibility, DATABASE_RELATION_TYPES, DATA_STORE_CONDITIONS, DATA_STORE_INSERT_CONFLICT_MODES, DATA_STORE_LOAD_CONFLICT_MODES, DATA_STORE_MIGRATION_OUTCOMES, DATA_STORE_SCALAR_TYPES, DATA_STORE_STATUSES, DECIDED_APPROVAL_REQUEST_STATUSES, DELETION_STATES, type DataStoreCondition, type DataStoreInsertConflictMode, type DataStoreLoadConflictMode, type DataStoreMigrationOutcome, type DataStoreScalarType, type DataStoreStatus, type DatabaseRelationType, type DecidedApprovalRequestStatus, type DeletionState, ENDED_AGENT_RUN_STATUSES, ENDED_APPROVAL_EXECUTIONS, type EndedAgentRunStatus, type EndedApprovalExecution, FAILED_JOB_STATUSES, FIRST_PARTY_AUTH_SCOPES, type FailedJobStatus, type FirstPartyAuthScope, GRANT_EFFECTS, GRANT_HOLDER_KINDS, GRANT_SCOPE_KINDS, GUARDRAIL_HIT_OUTCOMES, GUARDRAIL_NAME_MAX_LENGTH, GUARDRAIL_NAME_PATTERN, GUARDRAIL_OUTCOMES, type GrantEffect, type GrantHolderKind, type GrantScopeKind, type GuardrailHitOutcome, type GuardrailOutcome, IDEMPOTENCY_KEY_MAX_LENGTH, INFRASTRUCTURE_SECRET_STATES, INFRASTRUCTURE_WITHHELD_FIELDS, type InfrastructureSecretState, type InfrastructureWithheldField, JOB_STATUSES, type JobStatus, KNOWLEDGE_BASE_STATUSES, KNOWLEDGE_CHECK_STATUSES, type KnowledgeBaseStatus, type KnowledgeCheckStatus, LISTED_DATA_STORE_STATUSES, LIVE_JOB_STATUSES, type ListedDataStoreStatus, type LiveJobStatus, type LocaleCode, type LocalizedStringConfig, MESSAGE_FINISH_STATUSES, MODEL_PROVIDER_AUTH_MODES, MODEL_USAGE_EVENT_STATUSES, MODEL_USAGE_SOURCES, MODEL_USAGE_TIERS, type MessageFinishStatus, type ModelProviderAuthMode, type ModelUsageEventStatus, type ModelUsageSource, type ModelUsageTier, NAMESPACE_PREFIX_MAX_LENGTH, NAMESPACE_PREFIX_MIN_LENGTH, NAMESPACE_PREFIX_PATTERN, NOTIFY_CHANNELS, type NotifyChannel, OPENAI_COMPATIBLE_APIS, OPERATIONS_AUDIENCES, OPERATION_CONFIRMATION_DECISIONS, OPERATION_DENIAL_REASONS, OPERATION_EFFECTS, OPERATION_ORIGIN_KINDS, OPERATION_RUN_DECISION_MODES, OPERATION_RUN_DECISION_REASONS, OPERATION_RUN_STATUSES, OPERATION_TARGETS, type OpenaiCompatibleApi, type OperationDenialReason, type OperationEffect, type OperationOriginKind, type OperationRunDecisionMode, type OperationRunDecisionReason, type OperationRunStatus, type OperationScope, type OperationTarget, type OperationsAudience, POLICY_VALUES, PRINCIPAL_HOLDER_KINDS, PROVIDER_CHECK_ERROR_CLASSES, PROVIDER_PORTS, PROVIDER_REGIONS, type PlatformAction, type PolicyValue, type PrincipalHolderKind, type ProviderCheckErrorClass, type ProviderPort, type ProviderRegion, READING_POLICY_VALUES, REASONING_EFFORTS, type ReadingPolicyValue, type ReasoningEffortConfig, SERVICE_PRINCIPAL_PERMISSIONS, SERVICE_PRINCIPAL_STATUSES, SKILL_CHANGE_TYPES, SKILL_FRONTMATTER_FIELDS, SKILL_FRONTMATTER_MAX_BYTES, SKILL_FRONTMATTER_MAX_DEPTH, SKILL_NAME_PATTERN, SKILL_NAME_RULE, SKILL_ORIGINS, SKILL_PORTABLE_DESCRIPTION_MAX_CHARS, SKILL_PORTABLE_NAME_MAX_CHARS, SKILL_RESOURCE_MEDIA_TYPES, SKILL_STARTERS_MAX, SKILL_STARTER_LINE_MAX_LENGTH, SKILL_SUMMARY_MAX_LENGTH, STRUCTURED_DATA_REVIEW_REASONS, SUPPORTED_IMAGE_MIME_TYPES, type ServicePrincipalPermission, type ServicePrincipalStatus, type SkillChangeType, type SkillConfig, type SkillFileEntry, type SkillFrontmatterRefusal, SkillMarkdownError, type SkillOrigin, type SkillResourceConfig, type SkillResourceMediaType, type SkillStarterConfig, type StructuredDataReviewReason, type SupportedImageMimeType, THEME_MODES, THEME_MODE_PREFERENCES, TOOL_CALL_STATES, TOOL_DECISION_MODES, TOOL_DECISION_OUTCOMES, TOOL_DISPLAY_MODES, TOOL_GROUPS, TOOL_INPUT_PARSE_ERROR_CODES, type ThemeMode, type ThemeModePreference, type ToolCallState, type ToolDisplayMode, type ToolGroup, type ToolInputParseErrorCode, USAGE_COST_STATUSES, USER_STATUSES, type UsageCostStatus, type UserStatus, WAITING_OPERATION_RUN_STATUSES, WEB_SOURCE_PROVIDERS, WORKFLOW_ENDED_STATUSES, WORKFLOW_NAME_PATTERN, WORKFLOW_NAME_RULE, WORKFLOW_RESERVED_STEP_TYPES, WORKFLOW_RUN_MODES, WORKFLOW_RUN_STATUSES, WORKFLOW_STEP_RUN_STATUSES, WORKFLOW_STEP_TYPES, WORKFLOW_TRIGGER_KINDS, WORKSPACE_ACCENT_COLORS, WORKSPACE_ACCESS_STATES, WORKSPACE_COMMAND_STATUSES, WORKSPACE_FILE_KINDS, WORKSPACE_MEMBERSHIP_ROLES, WORKSPACE_SECTIONS, WORKSPACE_VISIBILITIES, type WebSourceProvider, type WorkflowAssetConfig, type WorkflowEndedStatus, type WorkflowReservedStepType, type WorkflowRunMode, type WorkflowRunStatus, type WorkflowStepRunStatus, type WorkflowStepType, type WorkflowTriggerKind, type WorkspaceAccentColor, type WorkspaceAccessState, type WorkspaceCommandStatus, type WorkspaceFileKind, type WorkspaceMembershipRole, type WorkspaceSection, type WorkspaceVisibility, YAML_DATA_MAX_VALUES, YamlDataError, type YamlDataIssue, type YamlDataIssueCode, type YamlDataOptions, type YamlDataResult, agentConfigSchema, checkStorableTexts, deriveSkillTitle, formatSkillMarkdown, isStorableText, loadYamlData, localeCodes, localizedStringSchema, parseSkillMarkdown, readYamlData, skillConfigSchema, skillFileEntrySchema, skillFileFrontmatterSchema, skillNameSchema, skillPortabilityIssues, skillResourceConfigSchema, skillResourceMediaTypeForPath, skillResourcePathSchema, skillStarterSchema, workflowConfigSchema, yamlValueIssue, yamlValueIssueSentence };
|