@work-shape/catalyst-asset-schemas 0.8.0-rc.17 → 0.8.0-rc.19
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/index.d.ts +186 -18
- package/dist/index.js +163 -7
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -25,6 +25,8 @@ interface AgentConfig {
|
|
|
25
25
|
welcomeMessage?: LocalizedStringConfig;
|
|
26
26
|
welcomeSubtitle?: LocalizedStringConfig;
|
|
27
27
|
instructions: string;
|
|
28
|
+
/** What the instance adds after the instructions of an agent that ships with the platform. */
|
|
29
|
+
additionalInstructions?: string;
|
|
28
30
|
modelProviderId?: string;
|
|
29
31
|
modelBindingId?: string;
|
|
30
32
|
reasoningEffort?: ReasoningEffortConfig;
|
|
@@ -61,6 +63,8 @@ interface AgentConfig {
|
|
|
61
63
|
* the release seed writes it; every other write keeps it as stored.
|
|
62
64
|
*/
|
|
63
65
|
shipped?: Record<string, unknown>;
|
|
66
|
+
/** The shipped fields the instance changed and a release then shipped anew. */
|
|
67
|
+
shippedNewer?: string[];
|
|
64
68
|
}
|
|
65
69
|
interface SkillConfig {
|
|
66
70
|
name: string;
|
|
@@ -170,6 +174,32 @@ declare function mergeConfigObjects(base: Record<string, unknown>, overrides: Re
|
|
|
170
174
|
/** An object a config merges into, not a list or a YAML-derived value such as a Date. */
|
|
171
175
|
declare function isPlainConfigObject(value: unknown): value is Record<string, unknown>;
|
|
172
176
|
|
|
177
|
+
declare const PROJECT_ACTIONS: readonly ["project.read", "project.write", "project.delete"];
|
|
178
|
+
/** The kind of a project's definition: a named folder of chat work in one workspace. */
|
|
179
|
+
declare const PROJECT_ASSET_KIND = "project";
|
|
180
|
+
/**
|
|
181
|
+
* Who reads a project, its files and every conversation in it: every member of its workspace,
|
|
182
|
+
* or its creator alone. The same pair a conversation's visibility holds.
|
|
183
|
+
*/
|
|
184
|
+
declare const PROJECT_AUDIENCES: readonly ["workspace", "private"];
|
|
185
|
+
type ProjectAudience = (typeof PROJECT_AUDIENCES)[number];
|
|
186
|
+
/** Who made a version of a project file: a person on the page, an agent in a chat, an upload. */
|
|
187
|
+
declare const PROJECT_FILE_ORIGINS: readonly ["person", "agent", "upload"];
|
|
188
|
+
/** What a change did to a project's folder (PRJ-2). */
|
|
189
|
+
declare const PROJECT_FILE_CHANGES: readonly ["created", "updated", "deleted", "restored", "unchanged", "conflict_copy"];
|
|
190
|
+
/** What a write of an agent in the folder did: it neither deletes nor restores. */
|
|
191
|
+
declare const PROJECT_FOLDER_WRITE_CHANGES: readonly ["created", "updated", "unchanged", "conflict_copy"];
|
|
192
|
+
/** The longest title of a project, in characters. */
|
|
193
|
+
declare const PROJECT_TITLE_MAX_LENGTH = 120;
|
|
194
|
+
/** The longest description of a project, in characters. */
|
|
195
|
+
declare const PROJECT_DESCRIPTION_MAX_LENGTH = 500;
|
|
196
|
+
/**
|
|
197
|
+
* The name the server makes of a title: lowercase words joined by hyphens, then a hyphen and a
|
|
198
|
+
* random suffix. A person never types it, and it never changes.
|
|
199
|
+
*/
|
|
200
|
+
declare const PROJECT_NAME_PATTERN: RegExp;
|
|
201
|
+
declare const PROJECT_NAME_MAX_LENGTH = 64;
|
|
202
|
+
|
|
173
203
|
/**
|
|
174
204
|
* The values the HTTP contract of an instance is written with: scopes, actions, error codes
|
|
175
205
|
* and the limits a request is checked against. They hold no behaviour. The private packages
|
|
@@ -186,7 +216,7 @@ type OperationScope = Exclude<FirstPartyAuthScope, "*">;
|
|
|
186
216
|
* Every right of the platform, one file per domain under `contract-values/`. The order is kept:
|
|
187
217
|
* `GRANTABLE_ACTIONS` filters it, and the rights dialog lists rights in it.
|
|
188
218
|
*/
|
|
189
|
-
declare const ACTIONS: readonly ["agent.read", "agent.write", "agent.publish", "agent.approve", "agent.delete", "agent.use", "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", "data_store.records", "knowledge_base.read", "knowledge_base.write", "knowledge_base.ingest", "knowledge_base.publish", "knowledge_base.delete", "knowledge_base.use", "mail_sender.use", "guardrail.read", "guardrail.write", "guardrail.publish", "guardrail.delete", "operations.approve", "feedback.review", "users.manage", "users.delete", "usage.view", "limits.manage", "usage.view_users", "audit.view", "system.view", "jobs.retry", "api_access.manage", "service_principals.manage", "agent_models.manage", "roles.edit_built_in", "assets.release", "builder", "publisher"];
|
|
219
|
+
declare const ACTIONS: readonly ["agent.read", "agent.write", "agent.publish", "agent.approve", "agent.delete", "agent.use", "skill.read", "skill.write", "skill.publish", "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", "data_store.records", "knowledge_base.read", "knowledge_base.write", "knowledge_base.ingest", "knowledge_base.publish", "knowledge_base.delete", "knowledge_base.use", "mail_sender.use", "guardrail.read", "guardrail.write", "guardrail.publish", "guardrail.delete", "operations.approve", "feedback.review", "users.manage", "users.delete", "usage.view", "limits.manage", "usage.view_users", "audit.view", "system.view", "jobs.retry", "api_access.manage", "service_principals.manage", "agent_models.manage", "roles.edit_built_in", "assets.release", "builder", "publisher", "project.read", "project.write", "project.delete"];
|
|
190
220
|
type PlatformAction = (typeof ACTIONS)[number];
|
|
191
221
|
type AppErrorCode = (typeof APP_ERROR_CODES)[number];
|
|
192
222
|
/** The HTTP status every error code answers with. */
|
|
@@ -234,6 +264,21 @@ type ConnectionExposure = (typeof CONNECTION_EXPOSURES)[number];
|
|
|
234
264
|
/** The health of a Connection as its page and its list show it. */
|
|
235
265
|
declare const CONNECTION_HEALTH_STATES: readonly ["unknown", "ok", "failed", "needs_configuration", "secret_unreadable"];
|
|
236
266
|
type ConnectionHealth = (typeof CONNECTION_HEALTH_STATES)[number];
|
|
267
|
+
/**
|
|
268
|
+
* Sharing an asset up the ladder (SHARE-1): its rungs, Nur ich (a Personal Workspace), Team (a
|
|
269
|
+
* Shared Workspace) and Alle (the instance); whether a move is made at once or as a request; how
|
|
270
|
+
* it ended; and who edits and uses the asset at its new owner.
|
|
271
|
+
*/
|
|
272
|
+
declare const ASSET_OWNER_RUNGS: readonly ["personal", "team", "everyone"];
|
|
273
|
+
type AssetOwnerRung = (typeof ASSET_OWNER_RUNGS)[number];
|
|
274
|
+
declare const ASSET_MOVE_PATHS: readonly ["direct", "request"];
|
|
275
|
+
type AssetMovePath = (typeof ASSET_MOVE_PATHS)[number];
|
|
276
|
+
declare const ASSET_MOVE_STATUSES: readonly ["moved", "requested"];
|
|
277
|
+
type AssetMoveStatus = (typeof ASSET_MOVE_STATUSES)[number];
|
|
278
|
+
declare const ASSET_MOVE_EDITORS: readonly ["workspace_builders", "instance_builders"];
|
|
279
|
+
type AssetMoveEditors = (typeof ASSET_MOVE_EDITORS)[number];
|
|
280
|
+
declare const ASSET_MOVE_USERS: readonly ["workspace_members", "everyone_where_offered"];
|
|
281
|
+
type AssetMoveUsers = (typeof ASSET_MOVE_USERS)[number];
|
|
237
282
|
declare const GRANT_HOLDER_KINDS: readonly ["user", "service_principal", "role", "group"];
|
|
238
283
|
type GrantHolderKind = (typeof GRANT_HOLDER_KINDS)[number];
|
|
239
284
|
declare const GRANT_SCOPE_KINDS: readonly ["instance", "workspace", "asset"];
|
|
@@ -555,15 +600,15 @@ declare const DATABASE_RELATION_TYPES: readonly ["table", "view", "materialized_
|
|
|
555
600
|
type DatabaseRelationType = (typeof DATABASE_RELATION_TYPES)[number];
|
|
556
601
|
declare const WORKFLOW_RUN_STATUSES: readonly ["continued", "queued", "running", "waiting", "done", "failed", "cancelled", "limit_reached"];
|
|
557
602
|
type WorkflowRunStatus = (typeof WORKFLOW_RUN_STATUSES)[number];
|
|
558
|
-
declare const WORKFLOW_STEP_TYPES: readonly ["trigger", "operation", "loop", "code", "output", "agent", "notify", "workflow"];
|
|
603
|
+
declare const WORKFLOW_STEP_TYPES: readonly ["trigger", "operation", "loop", "code", "output", "agent", "notify", "workflow", "condition", "parallel"];
|
|
559
604
|
type WorkflowStepType = (typeof WORKFLOW_STEP_TYPES)[number];
|
|
560
605
|
/**
|
|
561
606
|
* The step types this release executes. The engine accepts no definition that names another,
|
|
562
607
|
* and the interface offers no other in its palette (workflow-canvas 9.6). A list of its own, so
|
|
563
608
|
* it can be narrower than `WORKFLOW_STEP_TYPES` while a known type is not run yet.
|
|
564
609
|
*/
|
|
565
|
-
declare const WORKFLOW_EXECUTED_STEP_TYPES: readonly ["trigger", "operation", "loop", "code", "output", "agent", "notify", "workflow"];
|
|
566
|
-
declare const WORKFLOW_RESERVED_STEP_TYPES: readonly [
|
|
610
|
+
declare const WORKFLOW_EXECUTED_STEP_TYPES: readonly ["trigger", "operation", "loop", "code", "output", "agent", "notify", "workflow", "condition", "parallel"];
|
|
611
|
+
declare const WORKFLOW_RESERVED_STEP_TYPES: readonly [];
|
|
567
612
|
type WorkflowReservedStepType = (typeof WORKFLOW_RESERVED_STEP_TYPES)[number];
|
|
568
613
|
declare const WORKFLOW_TRIGGER_KINDS: readonly ["manual", "schedule", "parent", "outside"];
|
|
569
614
|
type WorkflowTriggerKind = (typeof WORKFLOW_TRIGGER_KINDS)[number];
|
|
@@ -660,6 +705,10 @@ type PublishedDataConsumerKind = (typeof PUBLISHED_DATA_CONSUMER_KINDS)[number];
|
|
|
660
705
|
declare const SCHEDULED_START_STATES: readonly ["active", "paused"];
|
|
661
706
|
/** Which revision answered an agent preview turn. */
|
|
662
707
|
declare const AGENT_PREVIEW_SOURCES: readonly ["draft", "live"];
|
|
708
|
+
/** Server capture admission and the shared request lifecycle (browser transport retained). */
|
|
709
|
+
declare const PREVIEW_CAPTURE_SIZES: readonly ["phone", "tablet", "desktop"];
|
|
710
|
+
declare const PREVIEW_CAPTURE_STATUSES: readonly ["pending", "answering", "captured", "refused"];
|
|
711
|
+
declare const SERVER_PREVIEW_CAPTURE_REFUSALS: readonly ["capture_busy", "capture_failed"];
|
|
663
712
|
|
|
664
713
|
/**
|
|
665
714
|
* The path of the interface route that shows one App to a signed-in person: the published
|
|
@@ -685,6 +734,14 @@ declare function assetPagePath(asset: {
|
|
|
685
734
|
name: string;
|
|
686
735
|
workspaceId?: string | undefined;
|
|
687
736
|
}): string | undefined;
|
|
737
|
+
/**
|
|
738
|
+
* The path of one conversation of a workspace: a link to it opens the conversation, so a person
|
|
739
|
+
* goes on there with the work it holds, such as the files of an App built in it.
|
|
740
|
+
*/
|
|
741
|
+
declare function conversationInterfacePath(input: {
|
|
742
|
+
workspaceId: string;
|
|
743
|
+
conversationId: string;
|
|
744
|
+
}): string;
|
|
688
745
|
/** The path of one item of the Inbox, such as an approval request, by its id. */
|
|
689
746
|
declare function inboxItemPath(itemId: string): string;
|
|
690
747
|
|
|
@@ -850,6 +907,7 @@ declare const agentConfigSchema: z.ZodObject<{
|
|
|
850
907
|
de: z.ZodOptional<z.ZodString>;
|
|
851
908
|
}, z.core.$strict>]>>;
|
|
852
909
|
instructions: z.ZodString;
|
|
910
|
+
additionalInstructions: z.ZodOptional<z.ZodString>;
|
|
853
911
|
modelProviderId: z.ZodOptional<z.ZodString>;
|
|
854
912
|
modelBindingId: z.ZodOptional<z.ZodString>;
|
|
855
913
|
reasoningEffort: z.ZodOptional<z.ZodEnum<{
|
|
@@ -887,6 +945,7 @@ declare const agentConfigSchema: z.ZodObject<{
|
|
|
887
945
|
}, z.core.$strict>]>;
|
|
888
946
|
}, z.core.$strip>>>;
|
|
889
947
|
shipped: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
948
|
+
shippedNewer: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
890
949
|
}, z.core.$strip>;
|
|
891
950
|
/** The id of a Workflow, which is the name of its asset: part of `workflow.<id>.start`. */
|
|
892
951
|
declare const WORKFLOW_NAME_PATTERN: RegExp;
|
|
@@ -2399,6 +2458,12 @@ interface ModelUsageRefusal {
|
|
|
2399
2458
|
}
|
|
2400
2459
|
/** The workspace key every Personal Workspace shares in the usage sums (LU-3): one row. */
|
|
2401
2460
|
declare const PERSONAL_WORKSPACES_KEY = "personal";
|
|
2461
|
+
/**
|
|
2462
|
+
* The agent key every person's own agent ("Only me") shares in the usage of a shared workspace:
|
|
2463
|
+
* the team's Owners and the Usage page see that someone's own agent was used there, never which.
|
|
2464
|
+
* No agent the Studio names starts with a colon.
|
|
2465
|
+
*/
|
|
2466
|
+
declare const PERSONAL_AGENTS_KEY = ":personal";
|
|
2402
2467
|
/** What the Breakdown of the Usage page groups by (LU-3, limits spec 3.3, view 2). */
|
|
2403
2468
|
declare const USAGE_BREAKDOWN_DIMENSIONS: readonly ["workspace", "agent", "app", "workflow", "model", "origin"];
|
|
2404
2469
|
/**
|
|
@@ -2631,8 +2696,8 @@ type MailSendOutput = z.infer<typeof mailSendOutputSchema>;
|
|
|
2631
2696
|
/** A recipient as a preview names it: a person by name, an address as written. */
|
|
2632
2697
|
declare const mailPreviewRecipientSchema: z.ZodObject<{
|
|
2633
2698
|
kind: z.ZodEnum<{
|
|
2634
|
-
address: "address";
|
|
2635
2699
|
person: "person";
|
|
2700
|
+
address: "address";
|
|
2636
2701
|
}>;
|
|
2637
2702
|
label: z.ZodString;
|
|
2638
2703
|
}, z.core.$strict>;
|
|
@@ -2649,22 +2714,22 @@ declare const mailSendPreviewSchema: z.ZodObject<{
|
|
|
2649
2714
|
replyTo: z.ZodOptional<z.ZodEmail>;
|
|
2650
2715
|
to: z.ZodArray<z.ZodObject<{
|
|
2651
2716
|
kind: z.ZodEnum<{
|
|
2652
|
-
address: "address";
|
|
2653
2717
|
person: "person";
|
|
2718
|
+
address: "address";
|
|
2654
2719
|
}>;
|
|
2655
2720
|
label: z.ZodString;
|
|
2656
2721
|
}, z.core.$strict>>;
|
|
2657
2722
|
cc: z.ZodArray<z.ZodObject<{
|
|
2658
2723
|
kind: z.ZodEnum<{
|
|
2659
|
-
address: "address";
|
|
2660
2724
|
person: "person";
|
|
2725
|
+
address: "address";
|
|
2661
2726
|
}>;
|
|
2662
2727
|
label: z.ZodString;
|
|
2663
2728
|
}, z.core.$strict>>;
|
|
2664
2729
|
bcc: z.ZodArray<z.ZodObject<{
|
|
2665
2730
|
kind: z.ZodEnum<{
|
|
2666
|
-
address: "address";
|
|
2667
2731
|
person: "person";
|
|
2732
|
+
address: "address";
|
|
2668
2733
|
}>;
|
|
2669
2734
|
label: z.ZodString;
|
|
2670
2735
|
}, z.core.$strict>>;
|
|
@@ -2685,22 +2750,22 @@ declare const mailSendSimulatedOutputSchema: z.ZodObject<{
|
|
|
2685
2750
|
replyTo: z.ZodOptional<z.ZodEmail>;
|
|
2686
2751
|
to: z.ZodArray<z.ZodObject<{
|
|
2687
2752
|
kind: z.ZodEnum<{
|
|
2688
|
-
address: "address";
|
|
2689
2753
|
person: "person";
|
|
2754
|
+
address: "address";
|
|
2690
2755
|
}>;
|
|
2691
2756
|
label: z.ZodString;
|
|
2692
2757
|
}, z.core.$strict>>;
|
|
2693
2758
|
cc: z.ZodArray<z.ZodObject<{
|
|
2694
2759
|
kind: z.ZodEnum<{
|
|
2695
|
-
address: "address";
|
|
2696
2760
|
person: "person";
|
|
2761
|
+
address: "address";
|
|
2697
2762
|
}>;
|
|
2698
2763
|
label: z.ZodString;
|
|
2699
2764
|
}, z.core.$strict>>;
|
|
2700
2765
|
bcc: z.ZodArray<z.ZodObject<{
|
|
2701
2766
|
kind: z.ZodEnum<{
|
|
2702
|
-
address: "address";
|
|
2703
2767
|
person: "person";
|
|
2768
|
+
address: "address";
|
|
2704
2769
|
}>;
|
|
2705
2770
|
label: z.ZodString;
|
|
2706
2771
|
}, z.core.$strict>>;
|
|
@@ -2733,22 +2798,22 @@ declare const workflowMessageMailParamsSchema: z.ZodObject<{
|
|
|
2733
2798
|
intendedRecipients: z.ZodObject<{
|
|
2734
2799
|
to: z.ZodArray<z.ZodObject<{
|
|
2735
2800
|
kind: z.ZodEnum<{
|
|
2736
|
-
address: "address";
|
|
2737
2801
|
person: "person";
|
|
2802
|
+
address: "address";
|
|
2738
2803
|
}>;
|
|
2739
2804
|
label: z.ZodString;
|
|
2740
2805
|
}, z.core.$strict>>;
|
|
2741
2806
|
cc: z.ZodArray<z.ZodObject<{
|
|
2742
2807
|
kind: z.ZodEnum<{
|
|
2743
|
-
address: "address";
|
|
2744
2808
|
person: "person";
|
|
2809
|
+
address: "address";
|
|
2745
2810
|
}>;
|
|
2746
2811
|
label: z.ZodString;
|
|
2747
2812
|
}, z.core.$strict>>;
|
|
2748
2813
|
bcc: z.ZodArray<z.ZodObject<{
|
|
2749
2814
|
kind: z.ZodEnum<{
|
|
2750
|
-
address: "address";
|
|
2751
2815
|
person: "person";
|
|
2816
|
+
address: "address";
|
|
2752
2817
|
}>;
|
|
2753
2818
|
label: z.ZodString;
|
|
2754
2819
|
}, z.core.$strict>>;
|
|
@@ -2836,22 +2901,22 @@ declare const mailSendContract: {
|
|
|
2836
2901
|
replyTo: z.ZodOptional<z.ZodEmail>;
|
|
2837
2902
|
to: z.ZodArray<z.ZodObject<{
|
|
2838
2903
|
kind: z.ZodEnum<{
|
|
2839
|
-
address: "address";
|
|
2840
2904
|
person: "person";
|
|
2905
|
+
address: "address";
|
|
2841
2906
|
}>;
|
|
2842
2907
|
label: z.ZodString;
|
|
2843
2908
|
}, z.core.$strict>>;
|
|
2844
2909
|
cc: z.ZodArray<z.ZodObject<{
|
|
2845
2910
|
kind: z.ZodEnum<{
|
|
2846
|
-
address: "address";
|
|
2847
2911
|
person: "person";
|
|
2912
|
+
address: "address";
|
|
2848
2913
|
}>;
|
|
2849
2914
|
label: z.ZodString;
|
|
2850
2915
|
}, z.core.$strict>>;
|
|
2851
2916
|
bcc: z.ZodArray<z.ZodObject<{
|
|
2852
2917
|
kind: z.ZodEnum<{
|
|
2853
|
-
address: "address";
|
|
2854
2918
|
person: "person";
|
|
2919
|
+
address: "address";
|
|
2855
2920
|
}>;
|
|
2856
2921
|
label: z.ZodString;
|
|
2857
2922
|
}, z.core.$strict>>;
|
|
@@ -3128,4 +3193,107 @@ declare function scrubPreviewFile(file: string | undefined): string | undefined;
|
|
|
3128
3193
|
*/
|
|
3129
3194
|
declare function boundPreviewReport(input: UnboundPreviewReport): PreviewReport;
|
|
3130
3195
|
|
|
3131
|
-
export { ACCESS_SOURCES, ACTIONS, ACTIVE_AGENT_RUN_STATUSES, ADMINISTERED_USER_STATUSES, AGENT_AVAILABILITY_MODES, AGENT_EDITABLE_FIELDS, AGENT_PREVIEW_SOURCES, AGENT_RUN_FAILURE_CATEGORIES, AGENT_RUN_STATUSES, AGENT_STARTERS_MAX, AGENT_USE_SETTINGS, API_CREDENTIAL_SCOPES, APPROVAL_CHECK_FAILURE_OUTCOMES, APPROVAL_CHECK_STATUSES, APPROVAL_EXECUTIONS, APPROVAL_REQUEST_STATUSES, APP_ACTION_CALL_STATUSES, APP_AUDIENCES, APP_ERROR_CODES, APP_ERROR_STATUS_CODES, APP_MODES, ARTIFACT_PREVIEW_IMAGE_FORMATS, ARTIFACT_PREVIEW_IMAGE_MIME_TYPES, ARTIFACT_PREVIEW_STATUSES, ASSET_ACCESS_VERBS, 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, AWS_ACCOUNT_ID, type AccessSource, type ActiveAgentRunStatus, type AdministeredUserStatus, type AgentAvailabilityMode, type AgentConfig, type AgentEditableField, type AgentInitialPromptConfig, type AgentRunFailureCategory, type AgentRunStatus, type AgentUse, 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, BEDROCK_REGION, CATALOGUE_CATEGORIES, CATALOGUE_PARTS, CHAT_MESSAGE_ROLES, CHAT_SESSION_AUTH_SCOPES, COLLABORATION_WORKSPACE_KINDS, CONFIG_ASSET_CHANGE_OPERATIONS, CONFIG_ASSET_KINDS, CONNECTION_BINDING_STATES, CONNECTION_CREDENTIAL_MODES, CONNECTION_EXPOSURES, CONNECTION_HEALTH_STATES, CONNECTION_NAME_MAX_LENGTH, CONNECTION_NAME_PATTERN, CONNECTION_NETWORKS, CONNECTION_OAUTH_REGISTRATIONS, CONNECTION_OPERATION_POLICIES, CONNECTION_OPERATION_STATUSES, CONNECTION_ORIGINS, CONNECTION_PROPOSAL_BINDING_STATES, CONNECTION_PROPOSAL_STATES, CONNECTION_PROVIDER_REVOCATIONS, CONNECTION_SECRET_STATES, CONNECTION_SIGN_IN_NEEDS, CONNECTOR_TEST_STATUSES, CONVERSATION_ATTACHMENT_STATUSES, CONVERSATION_KINDS, CONVERSATION_VISIBILITIES, type CallableOperationView, type CallableOperationsPage, type CatalogueCategory, type CataloguePart, type ChatMessageRole, type ChatSessionAuthScope, type CollaborationWorkspaceKind, type ConfigAssetChangeOperation, type ConfigAssetKind, type ConnectionBindingState, type ConnectionCredentialMode, type ConnectionExposure, type ConnectionHealth, type ConnectionNetwork, type ConnectionOAuthRegistration, type ConnectionOperationPolicy, type ConnectionOperationStatus, type ConnectionOrigin, type ConnectionProposalBindingState, type ConnectionProposalState, type ConnectionProviderRevocation, type ConnectionSecretState, type ConnectionSignInNeed, type ConnectorTestStatus, type ConversationAttachmentStatus, type ConversationKind, 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 DataScopes, type DataStoreCondition, type DataStoreInsertConflictMode, type DataStoreLoadConflictMode, type DataStoreMigrationOutcome, type DataStoreRecordField, type DataStoreRecordProposalItem, type DataStoreRecordsDecideInput, type DataStoreRecordsDecideOutput, type DataStoreRecordsFlaggedInput, type DataStoreRecordsFlaggedOutput, type DataStoreRecordsProposeInput, type DataStoreRecordsRule, type DataStoreScalarType, type DataStoreStatus, type DatabaseRelationType, type DecidedApprovalRequestStatus, type DeletionState, ENDED_AGENT_RUN_STATUSES, ENDED_APPROVAL_EXECUTIONS, type EndedAgentRunStatus, type EndedApprovalExecution, FAILED_JOB_STATUSES, FEEDBACK_CATEGORY_MAX_LENGTH, FEEDBACK_NOTE_MAX_LENGTH, FEEDBACK_STATES, FEEDBACK_SUBJECT_KINDS, FEEDBACK_SUMMARY_MAX_LENGTH, FEEDBACK_TEXT_MAX_LENGTH, FIRST_PARTY_AUTH_SCOPES, FOLLOW_UP_MODES, FOLLOW_UP_STATUSES, type FailedJobStatus, type FeedbackState, type FeedbackSubjectKind, 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, KNOWLEDGE_DOCUMENT_FAILURE_CODES, KNOWLEDGE_DOCUMENT_STATES, KNOWLEDGE_DOCUMENT_WAIT_CODES, KNOWLEDGE_EMBEDDING_STATES, KNOWLEDGE_FILE_MAX_BYTES, KNOWLEDGE_SEARCH_SIGNALS, KNOWLEDGE_SOURCE_FAILURE_CODES, KNOWLEDGE_SOURCE_ITEM_FAILURE_CODES, KNOWLEDGE_SOURCE_ITEM_SHOWN_STATES, KNOWLEDGE_SOURCE_ITEM_STATES, KNOWLEDGE_SYNC_COUNTS, KNOWLEDGE_SYNC_MODES, KNOWLEDGE_SYNC_RUN_STATES, type KnowledgeBaseStatus, type KnowledgeCheckStatus, type KnowledgeDocumentFailureCode, type KnowledgeDocumentState, type KnowledgeDocumentWaitCode, type KnowledgeExtractFieldsInput, type KnowledgeExtractFieldsOutput, type KnowledgeFirstPassConfirmation, type KnowledgeIngestFetch, type KnowledgeIngestInput, type KnowledgeIngestItem, type KnowledgeIngestOutput, type KnowledgeLocateInput, type KnowledgeLocateOutput, type KnowledgePendingInput, type KnowledgePendingOutput, type KnowledgePendingRow, type KnowledgeProcessorOutput, type KnowledgePutProcessedInput, type KnowledgeRetryInput, type KnowledgeRetryOutput, type KnowledgeSearchSignal, type KnowledgeSourceFailureCode, type KnowledgeSourceItemFailureCode, type KnowledgeSourceItemShownState, type KnowledgeSourceItemState, type KnowledgeSourceItemsInput, type KnowledgeSourceItemsOutput, type KnowledgeSourcesOutput, type KnowledgeSyncCount, type KnowledgeSyncInput, type KnowledgeSyncMode, type KnowledgeSyncResult, type KnowledgeSyncRunState, type KnowledgeWithdrawInput, type KnowledgeWithdrawOutput, type KnowledgeWorkflowSource, type KnowledgeWorkflowSourcesOutput, LISTED_DATA_STORE_STATUSES, LIVE_JOB_STATUSES, type ListedDataStoreStatus, type LiveJobStatus, type LocaleCode, type LocalizedStringConfig, MAIL_ADDRESS_MAX_LENGTH, MAIL_ATTACHMENTS_MAX_BYTES, MAIL_ATTACHMENTS_MAX_FILES, MAIL_AUDIT_MAX_DOMAINS, MAIL_BODY_MAX_BYTES, MAIL_OUTBOUND_DEFAULT_LIMITS, MAIL_OUTBOUND_FOOTER_MAX_LENGTH, MAIL_RECIPIENT_DOMAINS_ANY, MAIL_RECIPIENT_DOMAIN_PATTERN, MAIL_RECIPIENT_ID_PATTERN, MAIL_SENDER_CONNECTION_PREFIX, MAIL_SENDER_NAME_MAX_LENGTH, MAIL_SENDER_RESOURCE_KIND, MAIL_SENDER_SYSTEM, MAIL_SENDER_SYSTEM_ICON, MAIL_SENDER_USE_ACTION, MAIL_SEND_ERROR_CODES, MAIL_SEND_MAX_ADDRESSES, MAIL_SEND_OPERATION, MAIL_SEND_REFUSAL_REASONS, MAIL_SUBJECT_MAX_LENGTH, MAIL_WORKFLOW_MESSAGE_TEMPLATE, MANAGED_FILE_STATUSES, MESSAGE_FINISH_STATUSES, MODEL_FALLBACK_REASONS, MODEL_PROVIDER_AUTH_MODES, MODEL_USAGE_EVENT_STATUSES, MODEL_USAGE_LIMIT_METRICS, MODEL_USAGE_LIMIT_PERIODS, MODEL_USAGE_LIMIT_SCOPES, MODEL_USAGE_SOURCES, MODEL_USAGE_TIERS, type MailPreviewRecipient, type MailSendErrorCode, type MailSendInput, type MailSendInputFields, type MailSendOutput, type MailSendPreview, type MailSendRecipient, type MailSendRecipientList, type MailSendRefusalDetails, type MailSendSimulatedOutput, type MailSenderId, type MessageFinishStatus, type ModelFallbackReason, type ModelProviderAuthMode, type ModelUsageEventStatus, type ModelUsageRefusal, type ModelUsageSource, type ModelUsageTier, NOTIFY_CHANNELS, type NotifyChannel, OPENAI_COMPATIBLE_APIS, OPERATIONS_AUDIENCES, OPERATION_CHANGE_CLASSES, OPERATION_CONFIRMATION_DECISIONS, OPERATION_DENIAL_REASONS, OPERATION_EFFECTS, OPERATION_ORIGIN_KINDS, OPERATION_RUN_DECISION_MODES, OPERATION_RUN_DECISION_REASONS, OPERATION_RUN_STATUSES, OPERATION_SOURCE_KINDS, OPERATION_TARGETS, type OpenaiCompatibleApi, type OperationBatchFailure, type OperationBatchResult, type OperationDenialReason, type OperationEffect, type OperationOriginKind, type OperationPaging, type OperationRunDecisionMode, type OperationRunDecisionReason, type OperationRunStatus, type OperationScope, type OperationSourceKind, type OperationSourceView, type OperationTarget, type OperationsAudience, PERSONAL_WORKSPACES_KEY, PERSON_POLICY_SETTINGS, PLATFORM_REPORT_NOTE_MAX_LENGTH, POLICY_VALUES, PREVIEW_CAPTURES_PER_HOUR, PREVIEW_CAPTURES_PER_RUN, PREVIEW_CAPTURE_MAX_BYTES, PREVIEW_CAPTURE_MAX_HEIGHT, PREVIEW_CAPTURE_MAX_WIDTH, PREVIEW_CAPTURE_REFUSALS, PREVIEW_CAPTURE_TOOL_NAME, PREVIEW_CAPTURE_WAIT_MS, PREVIEW_REPORT_BRIDGE_STATES, PREVIEW_REPORT_ENTRY_KINDS, PREVIEW_REPORT_KEEP_MS, PREVIEW_REPORT_MAX_BYTES, PREVIEW_REPORT_MAX_ENTRIES, PREVIEW_REPORT_MAX_MESSAGE_CHARS, PRINCIPAL_HOLDER_KINDS, PROVIDER_CHECK_ERROR_CLASSES, PROVIDER_PORTS, PROVIDER_REGIONS, PUBLISHED_DATA_CONSUMER_KINDS, type PlatformAction, type PolicyValue, type PreviewCaptureRefusal, type PreviewReport, type PreviewReportBridge, type PreviewReportEntry, type PreviewReportEntryKind, type PrincipalHolderKind, type ProviderCheckErrorClass, type ProviderPort, type ProviderRegion, type PublishedDataConsumerKind, READING_POLICY_VALUES, REASONING_EFFORTS, RECORDS_FLAGGED_MAX_ITEMS_PER_PAGE, RECORDS_PROPOSE_MAX_FIELDS_PER_ITEM, RECORDS_PROPOSE_MAX_ITEMS_PER_CALL, RECORD_FIELD_FAILURE_CODES, RECORD_FIELD_STATES, RECORD_FLAG_REASONS, ROLE_GRANT_SCOPE_KINDS, ROLE_PENDING_CHANGES, ROLE_PENDING_DECISIONS, type ReadingPolicyValue, type ReasoningEffortConfig, type RecordColumn, type RecordEvidenceResult, type RoleGrantScopeKind, type RolePendingDecision, SCHEDULED_START_STATES, SECRET_NAME_EXPECTATION, 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, STUDIO_KIND_PATHS, SUPPORTED_IMAGE_MIME_TYPES, type ScopeAssignmentInput, type ScopedTables, 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_BREAKDOWN_DIMENSIONS, USAGE_COST_STATUSES, USAGE_ORIGINS, USAGE_SPEND_LIMIT_LEVELS, USER_STATUSES, type UnboundPreviewReport, type UsageCostStatus, type UserStatus, WAITING_OPERATION_RUN_STATUSES, WEB_SOURCE_PROVIDERS, WORKFLOW_DATASET_DOWNLOAD_FORMATS, WORKFLOW_DATASET_STATES, WORKFLOW_ENDED_STATUSES, WORKFLOW_EXECUTED_STEP_TYPES, WORKFLOW_KINDS, WORKFLOW_MARKDOWN_MAX_COLUMNS, WORKFLOW_MARKDOWN_MAX_ROWS, WORKFLOW_NAME_PATTERN, WORKFLOW_NAME_RULE, WORKFLOW_RESERVED_STEP_TYPES, WORKFLOW_RIGHTS_REVISIONS, WORKFLOW_RIGHT_NEEDED_FOR, WORKFLOW_RIGHT_REFUSALS, WORKFLOW_RUN_ACCOUNT_STATUSES, WORKFLOW_RUN_MODES, WORKFLOW_RUN_STATUSES, WORKFLOW_STEP_RUN_STATUSES, WORKFLOW_STEP_SOURCE_KINDS, WORKFLOW_STEP_TYPES, WORKFLOW_TEST_REVISIONS, WORKFLOW_TEXT_FORMAT_MARKDOWN, WORKFLOW_TEXT_MAX_PARTS, WORKFLOW_TRIGGER_KINDS, WORKSPACE_ACCENT_COLORS, WORKSPACE_ACCESS_STATES, WORKSPACE_COMMAND_STATUSES, WORKSPACE_FILE_KINDS, WORKSPACE_MEMBERSHIP_ROLES, WORKSPACE_SECTIONS, WORKSPACE_USE_ASSET_KINDS, WORKSPACE_VISIBILITIES, type WebSourceProvider, type WorkflowAssetConfig, type WorkflowDatasetDownloadFormat, type WorkflowDatasetState, type WorkflowEndedStatus, type WorkflowKind, type WorkflowMailSenderFact, type WorkflowMessageMailParams, type WorkflowReservedStepType, type WorkflowRunMode, type WorkflowRunStatus, type WorkflowStepRunStatus, type WorkflowStepSourceKind, type WorkflowStepType, type WorkflowTestRevision, 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, appInterfacePath, assetPagePath, bedrockProfileRefusal, boundPreviewReport, callableOperationSchema, callableOperationsPageSchema, checkStorableTexts, dataScopeNameSchema, dataScopesSchema, dataStoreRecordFieldSchema, dataStoreRecordProposalItemSchema, dataStoreRecordsContracts, dataStoreRecordsDecideInputSchema, dataStoreRecordsDecideOutputSchema, dataStoreRecordsFlaggedInputSchema, dataStoreRecordsFlaggedOutputSchema, dataStoreRecordsProposeInputSchema, dataStoreRecordsRuleSchema, deriveSkillTitle, formatSkillMarkdown, inboxItemPath, isPlainConfigObject, isPreviewCaptureWithinBounds, isRecord, isSecretName, isStorableText, knowledgeExtractFieldsInputSchema, knowledgeExtractFieldsOutputSchema, knowledgeFieldValueSchema, knowledgeFirstPassConfirmationSchema, knowledgeIngestFetchSchema, knowledgeIngestInputSchema, knowledgeIngestItemSchema, knowledgeIngestOutputSchema, knowledgeLocateInputSchema, knowledgeLocateOutputSchema, knowledgePendingInputSchema, knowledgePendingOutputSchema, knowledgePendingRowSchema, knowledgeProcessorOutputSchema, knowledgePutProcessedInputSchema, knowledgeRecordsRefusalSchema, knowledgeRetryInputSchema, knowledgeRetryOutputSchema, knowledgeSourceItemsInputSchema, knowledgeSourceItemsOutputSchema, knowledgeSourcesOutputSchema, knowledgeSyncInputSchema, knowledgeSyncResultSchema, knowledgeWithdrawInputSchema, knowledgeWithdrawOutputSchema, knowledgeWorkflowSourceSchema, knowledgeWorkflowSourcesOutputSchema, knowledgeWriteContracts, loadYamlData, localeCodes, localizedStringSchema, mailAddressSchema, mailBodySchema, mailCopyRecipientListSchema, mailPreviewRecipientSchema, mailRecipientDomainSchema, mailRecipientListSchema, mailRecipientSchema, mailReplyToSchema, mailSendContract, mailSendInputSchema, mailSendOutputSchema, mailSendPreviewSchema, mailSendRefusalDetailsSchema, mailSendSimulatedOutputSchema, mailSenderIdSchema, mailSenderNameSchema, mailSubjectSchema, mergeConfigObjects, operationBatchFailureSchema, operationBatchResultSchema, operationPagingSchema, operationSourceSchema, parseSkillMarkdown, previewReportEntrySchema, previewReportSchema, providerRegionSchema, readWebpSize, readYamlData, recordColumnTakes, recordEvidenceResultSchema, scopeAssignmentInputSchema, scopedTablesSchema, scrubPreviewFile, scrubPreviewText, skillConfigSchema, skillFileEntrySchema, skillFileFrontmatterSchema, skillNameSchema, skillPortabilityIssues, skillResourceConfigSchema, skillResourceMediaTypeForPath, skillResourcePathSchema, skillStarterSchema, workflowConfigSchema, workflowDataFlowsSchema, workflowDatasetReferenceSchema, workflowFileReferenceSchema, workflowMailSenderFactSchema, workflowMessageMailParamsSchema, writeYamlData, yamlValueIssue, yamlValueIssueSentence };
|
|
3196
|
+
declare const DATA_STORE_DESCRIPTION_TOOL_NAME = "platform.data_stores.describe";
|
|
3197
|
+
declare const dataStoreDescriptionInputSchema: z.ZodObject<{
|
|
3198
|
+
store: z.ZodString;
|
|
3199
|
+
}, z.core.$strict>;
|
|
3200
|
+
/** Metadata only. No defaults, SQL, rows, samples or distinct values belong here. */
|
|
3201
|
+
declare const dataStoreDescriptionSchema: z.ZodObject<{
|
|
3202
|
+
name: z.ZodString;
|
|
3203
|
+
title: z.ZodString;
|
|
3204
|
+
description: z.ZodOptional<z.ZodString>;
|
|
3205
|
+
owner: z.ZodUnion<readonly [z.ZodObject<{
|
|
3206
|
+
kind: z.ZodLiteral<"instance">;
|
|
3207
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3208
|
+
kind: z.ZodLiteral<"workspace">;
|
|
3209
|
+
workspaceId: z.ZodString;
|
|
3210
|
+
}, z.core.$strip>]>;
|
|
3211
|
+
published: z.ZodBoolean;
|
|
3212
|
+
tables: z.ZodArray<z.ZodObject<{
|
|
3213
|
+
name: z.ZodString;
|
|
3214
|
+
description: z.ZodOptional<z.ZodString>;
|
|
3215
|
+
rowEstimate: z.ZodNullable<z.ZodNumber>;
|
|
3216
|
+
fields: z.ZodArray<z.ZodObject<{
|
|
3217
|
+
name: z.ZodString;
|
|
3218
|
+
type: z.ZodString;
|
|
3219
|
+
description: z.ZodString;
|
|
3220
|
+
nullable: z.ZodBoolean;
|
|
3221
|
+
}, z.core.$strip>>;
|
|
3222
|
+
}, z.core.$strip>>;
|
|
3223
|
+
schemaAvailable: z.ZodBoolean;
|
|
3224
|
+
filledBy: z.ZodArray<z.ZodObject<{
|
|
3225
|
+
kind: z.ZodString;
|
|
3226
|
+
name: z.ZodString;
|
|
3227
|
+
title: z.ZodString;
|
|
3228
|
+
}, z.core.$strip>>;
|
|
3229
|
+
readBy: z.ZodArray<z.ZodObject<{
|
|
3230
|
+
kind: z.ZodString;
|
|
3231
|
+
name: z.ZodString;
|
|
3232
|
+
title: z.ZodString;
|
|
3233
|
+
}, z.core.$strip>>;
|
|
3234
|
+
usesTruncated: z.ZodBoolean;
|
|
3235
|
+
rights: z.ZodObject<{
|
|
3236
|
+
read: z.ZodBoolean;
|
|
3237
|
+
add: z.ZodBoolean;
|
|
3238
|
+
change: z.ZodBoolean;
|
|
3239
|
+
}, z.core.$strip>;
|
|
3240
|
+
chat: z.ZodObject<{
|
|
3241
|
+
canReadRows: z.ZodBoolean;
|
|
3242
|
+
reason: z.ZodString;
|
|
3243
|
+
nextStep: z.ZodOptional<z.ZodString>;
|
|
3244
|
+
}, z.core.$strip>;
|
|
3245
|
+
}, z.core.$strip>;
|
|
3246
|
+
|
|
3247
|
+
declare const serverPreviewCaptureInputSchema: z.ZodObject<{
|
|
3248
|
+
themeColors: z.ZodObject<{
|
|
3249
|
+
surfaceColor: z.ZodString;
|
|
3250
|
+
backgroundColor: z.ZodString;
|
|
3251
|
+
textColor: z.ZodString;
|
|
3252
|
+
mutedTextColor: z.ZodString;
|
|
3253
|
+
borderColor: z.ZodString;
|
|
3254
|
+
accentColor: z.ZodString;
|
|
3255
|
+
accentStrongColor: z.ZodString;
|
|
3256
|
+
}, z.core.$strict>;
|
|
3257
|
+
contentPath: z.ZodString;
|
|
3258
|
+
session: z.ZodString;
|
|
3259
|
+
deadline: z.ZodNumber;
|
|
3260
|
+
size: z.ZodEnum<{
|
|
3261
|
+
phone: "phone";
|
|
3262
|
+
tablet: "tablet";
|
|
3263
|
+
desktop: "desktop";
|
|
3264
|
+
}>;
|
|
3265
|
+
theme: z.ZodEnum<{
|
|
3266
|
+
light: "light";
|
|
3267
|
+
dark: "dark";
|
|
3268
|
+
}>;
|
|
3269
|
+
locale: z.ZodEnum<{
|
|
3270
|
+
en: "en";
|
|
3271
|
+
de: "de";
|
|
3272
|
+
}>;
|
|
3273
|
+
number: z.ZodNumber;
|
|
3274
|
+
}, z.core.$strict>;
|
|
3275
|
+
declare const serverPreviewCaptureOutcomeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3276
|
+
status: z.ZodLiteral<"done">;
|
|
3277
|
+
image: z.ZodString;
|
|
3278
|
+
report: z.ZodUnknown;
|
|
3279
|
+
blocked: z.ZodArray<z.ZodObject<{
|
|
3280
|
+
method: z.ZodString;
|
|
3281
|
+
host: z.ZodString;
|
|
3282
|
+
path: z.ZodString;
|
|
3283
|
+
}, z.core.$strict>>;
|
|
3284
|
+
calls: z.ZodArray<z.ZodObject<{
|
|
3285
|
+
name: z.ZodString;
|
|
3286
|
+
code: z.ZodString;
|
|
3287
|
+
}, z.core.$strict>>;
|
|
3288
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3289
|
+
status: z.ZodLiteral<"refused">;
|
|
3290
|
+
code: z.ZodEnum<{
|
|
3291
|
+
capture_busy: "capture_busy";
|
|
3292
|
+
capture_failed: "capture_failed";
|
|
3293
|
+
}>;
|
|
3294
|
+
message: z.ZodOptional<z.ZodString>;
|
|
3295
|
+
}, z.core.$strict>], "status">;
|
|
3296
|
+
type ServerPreviewCaptureInput = z.infer<typeof serverPreviewCaptureInputSchema>;
|
|
3297
|
+
type ServerPreviewCaptureOutcome = z.infer<typeof serverPreviewCaptureOutcomeSchema>;
|
|
3298
|
+
|
|
3299
|
+
export { ACCESS_SOURCES, ACTIONS, ACTIVE_AGENT_RUN_STATUSES, ADMINISTERED_USER_STATUSES, AGENT_AVAILABILITY_MODES, AGENT_EDITABLE_FIELDS, AGENT_PREVIEW_SOURCES, AGENT_RUN_FAILURE_CATEGORIES, AGENT_RUN_STATUSES, AGENT_STARTERS_MAX, AGENT_USE_SETTINGS, API_CREDENTIAL_SCOPES, APPROVAL_CHECK_FAILURE_OUTCOMES, APPROVAL_CHECK_STATUSES, APPROVAL_EXECUTIONS, APPROVAL_REQUEST_STATUSES, APP_ACTION_CALL_STATUSES, APP_AUDIENCES, APP_ERROR_CODES, APP_ERROR_STATUS_CODES, APP_MODES, ARTIFACT_PREVIEW_IMAGE_FORMATS, ARTIFACT_PREVIEW_IMAGE_MIME_TYPES, ARTIFACT_PREVIEW_STATUSES, ASSET_ACCESS_VERBS, ASSET_LIFECYCLES, ASSET_MOVE_EDITORS, ASSET_MOVE_PATHS, ASSET_MOVE_STATUSES, ASSET_MOVE_USERS, ASSET_NAME_REFUSAL_REASONS, ASSET_OWNER_KINDS, ASSET_OWNER_RUNGS, 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, AWS_ACCOUNT_ID, type AccessSource, type ActiveAgentRunStatus, type AdministeredUserStatus, type AgentAvailabilityMode, type AgentConfig, type AgentEditableField, type AgentInitialPromptConfig, type AgentRunFailureCategory, type AgentRunStatus, type AgentUse, 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 AssetMoveEditors, type AssetMovePath, type AssetMoveStatus, type AssetMoveUsers, type AssetNameRefusalReason, type AssetOwnerKind, type AssetOwnerRung, type AssetRepoBundleKind, type AssetRepresentation, type AssetSyncChangeType, type AttachmentCreateOutcome, type AuditActorKind, type AuditEventStatus, type AuditOutcome, type AuditTier, type AuthPrincipalKind, BEDROCK_REGION, CATALOGUE_CATEGORIES, CATALOGUE_PARTS, CHAT_MESSAGE_ROLES, CHAT_SESSION_AUTH_SCOPES, COLLABORATION_WORKSPACE_KINDS, CONFIG_ASSET_CHANGE_OPERATIONS, CONFIG_ASSET_KINDS, CONNECTION_BINDING_STATES, CONNECTION_CREDENTIAL_MODES, CONNECTION_EXPOSURES, CONNECTION_HEALTH_STATES, CONNECTION_NAME_MAX_LENGTH, CONNECTION_NAME_PATTERN, CONNECTION_NETWORKS, CONNECTION_OAUTH_REGISTRATIONS, CONNECTION_OPERATION_POLICIES, CONNECTION_OPERATION_STATUSES, CONNECTION_ORIGINS, CONNECTION_PROPOSAL_BINDING_STATES, CONNECTION_PROPOSAL_STATES, CONNECTION_PROVIDER_REVOCATIONS, CONNECTION_SECRET_STATES, CONNECTION_SIGN_IN_NEEDS, CONNECTOR_TEST_STATUSES, CONVERSATION_ATTACHMENT_STATUSES, CONVERSATION_KINDS, CONVERSATION_VISIBILITIES, type CallableOperationView, type CallableOperationsPage, type CatalogueCategory, type CataloguePart, type ChatMessageRole, type ChatSessionAuthScope, type CollaborationWorkspaceKind, type ConfigAssetChangeOperation, type ConfigAssetKind, type ConnectionBindingState, type ConnectionCredentialMode, type ConnectionExposure, type ConnectionHealth, type ConnectionNetwork, type ConnectionOAuthRegistration, type ConnectionOperationPolicy, type ConnectionOperationStatus, type ConnectionOrigin, type ConnectionProposalBindingState, type ConnectionProposalState, type ConnectionProviderRevocation, type ConnectionSecretState, type ConnectionSignInNeed, type ConnectorTestStatus, type ConversationAttachmentStatus, type ConversationKind, type ConversationVisibility, DATABASE_RELATION_TYPES, DATA_STORE_CONDITIONS, DATA_STORE_DESCRIPTION_TOOL_NAME, 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 DataScopes, type DataStoreCondition, type DataStoreInsertConflictMode, type DataStoreLoadConflictMode, type DataStoreMigrationOutcome, type DataStoreRecordField, type DataStoreRecordProposalItem, type DataStoreRecordsDecideInput, type DataStoreRecordsDecideOutput, type DataStoreRecordsFlaggedInput, type DataStoreRecordsFlaggedOutput, type DataStoreRecordsProposeInput, type DataStoreRecordsRule, type DataStoreScalarType, type DataStoreStatus, type DatabaseRelationType, type DecidedApprovalRequestStatus, type DeletionState, ENDED_AGENT_RUN_STATUSES, ENDED_APPROVAL_EXECUTIONS, type EndedAgentRunStatus, type EndedApprovalExecution, FAILED_JOB_STATUSES, FEEDBACK_CATEGORY_MAX_LENGTH, FEEDBACK_NOTE_MAX_LENGTH, FEEDBACK_STATES, FEEDBACK_SUBJECT_KINDS, FEEDBACK_SUMMARY_MAX_LENGTH, FEEDBACK_TEXT_MAX_LENGTH, FIRST_PARTY_AUTH_SCOPES, FOLLOW_UP_MODES, FOLLOW_UP_STATUSES, type FailedJobStatus, type FeedbackState, type FeedbackSubjectKind, 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, KNOWLEDGE_DOCUMENT_FAILURE_CODES, KNOWLEDGE_DOCUMENT_STATES, KNOWLEDGE_DOCUMENT_WAIT_CODES, KNOWLEDGE_EMBEDDING_STATES, KNOWLEDGE_FILE_MAX_BYTES, KNOWLEDGE_SEARCH_SIGNALS, KNOWLEDGE_SOURCE_FAILURE_CODES, KNOWLEDGE_SOURCE_ITEM_FAILURE_CODES, KNOWLEDGE_SOURCE_ITEM_SHOWN_STATES, KNOWLEDGE_SOURCE_ITEM_STATES, KNOWLEDGE_SYNC_COUNTS, KNOWLEDGE_SYNC_MODES, KNOWLEDGE_SYNC_RUN_STATES, type KnowledgeBaseStatus, type KnowledgeCheckStatus, type KnowledgeDocumentFailureCode, type KnowledgeDocumentState, type KnowledgeDocumentWaitCode, type KnowledgeExtractFieldsInput, type KnowledgeExtractFieldsOutput, type KnowledgeFirstPassConfirmation, type KnowledgeIngestFetch, type KnowledgeIngestInput, type KnowledgeIngestItem, type KnowledgeIngestOutput, type KnowledgeLocateInput, type KnowledgeLocateOutput, type KnowledgePendingInput, type KnowledgePendingOutput, type KnowledgePendingRow, type KnowledgeProcessorOutput, type KnowledgePutProcessedInput, type KnowledgeRetryInput, type KnowledgeRetryOutput, type KnowledgeSearchSignal, type KnowledgeSourceFailureCode, type KnowledgeSourceItemFailureCode, type KnowledgeSourceItemShownState, type KnowledgeSourceItemState, type KnowledgeSourceItemsInput, type KnowledgeSourceItemsOutput, type KnowledgeSourcesOutput, type KnowledgeSyncCount, type KnowledgeSyncInput, type KnowledgeSyncMode, type KnowledgeSyncResult, type KnowledgeSyncRunState, type KnowledgeWithdrawInput, type KnowledgeWithdrawOutput, type KnowledgeWorkflowSource, type KnowledgeWorkflowSourcesOutput, LISTED_DATA_STORE_STATUSES, LIVE_JOB_STATUSES, type ListedDataStoreStatus, type LiveJobStatus, type LocaleCode, type LocalizedStringConfig, MAIL_ADDRESS_MAX_LENGTH, MAIL_ATTACHMENTS_MAX_BYTES, MAIL_ATTACHMENTS_MAX_FILES, MAIL_AUDIT_MAX_DOMAINS, MAIL_BODY_MAX_BYTES, MAIL_OUTBOUND_DEFAULT_LIMITS, MAIL_OUTBOUND_FOOTER_MAX_LENGTH, MAIL_RECIPIENT_DOMAINS_ANY, MAIL_RECIPIENT_DOMAIN_PATTERN, MAIL_RECIPIENT_ID_PATTERN, MAIL_SENDER_CONNECTION_PREFIX, MAIL_SENDER_NAME_MAX_LENGTH, MAIL_SENDER_RESOURCE_KIND, MAIL_SENDER_SYSTEM, MAIL_SENDER_SYSTEM_ICON, MAIL_SENDER_USE_ACTION, MAIL_SEND_ERROR_CODES, MAIL_SEND_MAX_ADDRESSES, MAIL_SEND_OPERATION, MAIL_SEND_REFUSAL_REASONS, MAIL_SUBJECT_MAX_LENGTH, MAIL_WORKFLOW_MESSAGE_TEMPLATE, MANAGED_FILE_STATUSES, MESSAGE_FINISH_STATUSES, MODEL_FALLBACK_REASONS, MODEL_PROVIDER_AUTH_MODES, MODEL_USAGE_EVENT_STATUSES, MODEL_USAGE_LIMIT_METRICS, MODEL_USAGE_LIMIT_PERIODS, MODEL_USAGE_LIMIT_SCOPES, MODEL_USAGE_SOURCES, MODEL_USAGE_TIERS, type MailPreviewRecipient, type MailSendErrorCode, type MailSendInput, type MailSendInputFields, type MailSendOutput, type MailSendPreview, type MailSendRecipient, type MailSendRecipientList, type MailSendRefusalDetails, type MailSendSimulatedOutput, type MailSenderId, type MessageFinishStatus, type ModelFallbackReason, type ModelProviderAuthMode, type ModelUsageEventStatus, type ModelUsageRefusal, type ModelUsageSource, type ModelUsageTier, NOTIFY_CHANNELS, type NotifyChannel, OPENAI_COMPATIBLE_APIS, OPERATIONS_AUDIENCES, OPERATION_CHANGE_CLASSES, OPERATION_CONFIRMATION_DECISIONS, OPERATION_DENIAL_REASONS, OPERATION_EFFECTS, OPERATION_ORIGIN_KINDS, OPERATION_RUN_DECISION_MODES, OPERATION_RUN_DECISION_REASONS, OPERATION_RUN_STATUSES, OPERATION_SOURCE_KINDS, OPERATION_TARGETS, type OpenaiCompatibleApi, type OperationBatchFailure, type OperationBatchResult, type OperationDenialReason, type OperationEffect, type OperationOriginKind, type OperationPaging, type OperationRunDecisionMode, type OperationRunDecisionReason, type OperationRunStatus, type OperationScope, type OperationSourceKind, type OperationSourceView, type OperationTarget, type OperationsAudience, PERSONAL_AGENTS_KEY, PERSONAL_WORKSPACES_KEY, PERSON_POLICY_SETTINGS, PLATFORM_REPORT_NOTE_MAX_LENGTH, POLICY_VALUES, PREVIEW_CAPTURES_PER_HOUR, PREVIEW_CAPTURES_PER_RUN, PREVIEW_CAPTURE_MAX_BYTES, PREVIEW_CAPTURE_MAX_HEIGHT, PREVIEW_CAPTURE_MAX_WIDTH, PREVIEW_CAPTURE_REFUSALS, PREVIEW_CAPTURE_SIZES, PREVIEW_CAPTURE_STATUSES, PREVIEW_CAPTURE_TOOL_NAME, PREVIEW_CAPTURE_WAIT_MS, PREVIEW_REPORT_BRIDGE_STATES, PREVIEW_REPORT_ENTRY_KINDS, PREVIEW_REPORT_KEEP_MS, PREVIEW_REPORT_MAX_BYTES, PREVIEW_REPORT_MAX_ENTRIES, PREVIEW_REPORT_MAX_MESSAGE_CHARS, PRINCIPAL_HOLDER_KINDS, PROJECT_ACTIONS, PROJECT_ASSET_KIND, PROJECT_AUDIENCES, PROJECT_DESCRIPTION_MAX_LENGTH, PROJECT_FILE_CHANGES, PROJECT_FILE_ORIGINS, PROJECT_FOLDER_WRITE_CHANGES, PROJECT_NAME_MAX_LENGTH, PROJECT_NAME_PATTERN, PROJECT_TITLE_MAX_LENGTH, PROVIDER_CHECK_ERROR_CLASSES, PROVIDER_PORTS, PROVIDER_REGIONS, PUBLISHED_DATA_CONSUMER_KINDS, type PlatformAction, type PolicyValue, type PreviewCaptureRefusal, type PreviewReport, type PreviewReportBridge, type PreviewReportEntry, type PreviewReportEntryKind, type PrincipalHolderKind, type ProjectAudience, type ProviderCheckErrorClass, type ProviderPort, type ProviderRegion, type PublishedDataConsumerKind, READING_POLICY_VALUES, REASONING_EFFORTS, RECORDS_FLAGGED_MAX_ITEMS_PER_PAGE, RECORDS_PROPOSE_MAX_FIELDS_PER_ITEM, RECORDS_PROPOSE_MAX_ITEMS_PER_CALL, RECORD_FIELD_FAILURE_CODES, RECORD_FIELD_STATES, RECORD_FLAG_REASONS, ROLE_GRANT_SCOPE_KINDS, ROLE_PENDING_CHANGES, ROLE_PENDING_DECISIONS, type ReadingPolicyValue, type ReasoningEffortConfig, type RecordColumn, type RecordEvidenceResult, type RoleGrantScopeKind, type RolePendingDecision, SCHEDULED_START_STATES, SECRET_NAME_EXPECTATION, SERVER_PREVIEW_CAPTURE_REFUSALS, 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, STUDIO_KIND_PATHS, SUPPORTED_IMAGE_MIME_TYPES, type ScopeAssignmentInput, type ScopedTables, type ServerPreviewCaptureInput, type ServerPreviewCaptureOutcome, 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_BREAKDOWN_DIMENSIONS, USAGE_COST_STATUSES, USAGE_ORIGINS, USAGE_SPEND_LIMIT_LEVELS, USER_STATUSES, type UnboundPreviewReport, type UsageCostStatus, type UserStatus, WAITING_OPERATION_RUN_STATUSES, WEB_SOURCE_PROVIDERS, WORKFLOW_DATASET_DOWNLOAD_FORMATS, WORKFLOW_DATASET_STATES, WORKFLOW_ENDED_STATUSES, WORKFLOW_EXECUTED_STEP_TYPES, WORKFLOW_KINDS, WORKFLOW_MARKDOWN_MAX_COLUMNS, WORKFLOW_MARKDOWN_MAX_ROWS, WORKFLOW_NAME_PATTERN, WORKFLOW_NAME_RULE, WORKFLOW_RESERVED_STEP_TYPES, WORKFLOW_RIGHTS_REVISIONS, WORKFLOW_RIGHT_NEEDED_FOR, WORKFLOW_RIGHT_REFUSALS, WORKFLOW_RUN_ACCOUNT_STATUSES, WORKFLOW_RUN_MODES, WORKFLOW_RUN_STATUSES, WORKFLOW_STEP_RUN_STATUSES, WORKFLOW_STEP_SOURCE_KINDS, WORKFLOW_STEP_TYPES, WORKFLOW_TEST_REVISIONS, WORKFLOW_TEXT_FORMAT_MARKDOWN, WORKFLOW_TEXT_MAX_PARTS, WORKFLOW_TRIGGER_KINDS, WORKSPACE_ACCENT_COLORS, WORKSPACE_ACCESS_STATES, WORKSPACE_COMMAND_STATUSES, WORKSPACE_FILE_KINDS, WORKSPACE_MEMBERSHIP_ROLES, WORKSPACE_SECTIONS, WORKSPACE_USE_ASSET_KINDS, WORKSPACE_VISIBILITIES, type WebSourceProvider, type WorkflowAssetConfig, type WorkflowDatasetDownloadFormat, type WorkflowDatasetState, type WorkflowEndedStatus, type WorkflowKind, type WorkflowMailSenderFact, type WorkflowMessageMailParams, type WorkflowReservedStepType, type WorkflowRunMode, type WorkflowRunStatus, type WorkflowStepRunStatus, type WorkflowStepSourceKind, type WorkflowStepType, type WorkflowTestRevision, 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, appInterfacePath, assetPagePath, bedrockProfileRefusal, boundPreviewReport, callableOperationSchema, callableOperationsPageSchema, checkStorableTexts, conversationInterfacePath, dataScopeNameSchema, dataScopesSchema, dataStoreDescriptionInputSchema, dataStoreDescriptionSchema, dataStoreRecordFieldSchema, dataStoreRecordProposalItemSchema, dataStoreRecordsContracts, dataStoreRecordsDecideInputSchema, dataStoreRecordsDecideOutputSchema, dataStoreRecordsFlaggedInputSchema, dataStoreRecordsFlaggedOutputSchema, dataStoreRecordsProposeInputSchema, dataStoreRecordsRuleSchema, deriveSkillTitle, formatSkillMarkdown, inboxItemPath, isPlainConfigObject, isPreviewCaptureWithinBounds, isRecord, isSecretName, isStorableText, knowledgeExtractFieldsInputSchema, knowledgeExtractFieldsOutputSchema, knowledgeFieldValueSchema, knowledgeFirstPassConfirmationSchema, knowledgeIngestFetchSchema, knowledgeIngestInputSchema, knowledgeIngestItemSchema, knowledgeIngestOutputSchema, knowledgeLocateInputSchema, knowledgeLocateOutputSchema, knowledgePendingInputSchema, knowledgePendingOutputSchema, knowledgePendingRowSchema, knowledgeProcessorOutputSchema, knowledgePutProcessedInputSchema, knowledgeRecordsRefusalSchema, knowledgeRetryInputSchema, knowledgeRetryOutputSchema, knowledgeSourceItemsInputSchema, knowledgeSourceItemsOutputSchema, knowledgeSourcesOutputSchema, knowledgeSyncInputSchema, knowledgeSyncResultSchema, knowledgeWithdrawInputSchema, knowledgeWithdrawOutputSchema, knowledgeWorkflowSourceSchema, knowledgeWorkflowSourcesOutputSchema, knowledgeWriteContracts, loadYamlData, localeCodes, localizedStringSchema, mailAddressSchema, mailBodySchema, mailCopyRecipientListSchema, mailPreviewRecipientSchema, mailRecipientDomainSchema, mailRecipientListSchema, mailRecipientSchema, mailReplyToSchema, mailSendContract, mailSendInputSchema, mailSendOutputSchema, mailSendPreviewSchema, mailSendRefusalDetailsSchema, mailSendSimulatedOutputSchema, mailSenderIdSchema, mailSenderNameSchema, mailSubjectSchema, mergeConfigObjects, operationBatchFailureSchema, operationBatchResultSchema, operationPagingSchema, operationSourceSchema, parseSkillMarkdown, previewReportEntrySchema, previewReportSchema, providerRegionSchema, readWebpSize, readYamlData, recordColumnTakes, recordEvidenceResultSchema, scopeAssignmentInputSchema, scopedTablesSchema, scrubPreviewFile, scrubPreviewText, serverPreviewCaptureInputSchema, serverPreviewCaptureOutcomeSchema, skillConfigSchema, skillFileEntrySchema, skillFileFrontmatterSchema, skillNameSchema, skillPortabilityIssues, skillResourceConfigSchema, skillResourceMediaTypeForPath, skillResourcePathSchema, skillStarterSchema, workflowConfigSchema, workflowDataFlowsSchema, workflowDatasetReferenceSchema, workflowFileReferenceSchema, workflowMailSenderFactSchema, workflowMessageMailParamsSchema, writeYamlData, yamlValueIssue, yamlValueIssueSentence };
|
package/dist/index.js
CHANGED
|
@@ -73,6 +73,8 @@ var AGENT_ACTIONS = [
|
|
|
73
73
|
var SKILL_ACTIONS = [
|
|
74
74
|
"skill.read",
|
|
75
75
|
"skill.write",
|
|
76
|
+
// Makes the shared draft of a team's or the instance's skill live (SKILL-DRAFT-1).
|
|
77
|
+
"skill.publish",
|
|
76
78
|
"skill.delete",
|
|
77
79
|
"skill.approve"
|
|
78
80
|
];
|
|
@@ -193,6 +195,36 @@ var WORKSPACE_ACTIONS = [
|
|
|
193
195
|
"publisher"
|
|
194
196
|
];
|
|
195
197
|
|
|
198
|
+
// src/contract-values/project.ts
|
|
199
|
+
var PROJECT_ACTIONS = [
|
|
200
|
+
// A project's rights come from membership of its workspace alone (PRJ-1): no grant row, no
|
|
201
|
+
// role default and no bundle carries them, and its audience narrows them further.
|
|
202
|
+
"project.read",
|
|
203
|
+
"project.write",
|
|
204
|
+
"project.delete"
|
|
205
|
+
];
|
|
206
|
+
var PROJECT_ASSET_KIND = "project";
|
|
207
|
+
var PROJECT_AUDIENCES = ["workspace", "private"];
|
|
208
|
+
var PROJECT_FILE_ORIGINS = ["person", "agent", "upload"];
|
|
209
|
+
var PROJECT_FILE_CHANGES = [
|
|
210
|
+
"created",
|
|
211
|
+
"updated",
|
|
212
|
+
"deleted",
|
|
213
|
+
"restored",
|
|
214
|
+
"unchanged",
|
|
215
|
+
"conflict_copy"
|
|
216
|
+
];
|
|
217
|
+
var PROJECT_FOLDER_WRITE_CHANGES = [
|
|
218
|
+
"created",
|
|
219
|
+
"updated",
|
|
220
|
+
"unchanged",
|
|
221
|
+
"conflict_copy"
|
|
222
|
+
];
|
|
223
|
+
var PROJECT_TITLE_MAX_LENGTH = 120;
|
|
224
|
+
var PROJECT_DESCRIPTION_MAX_LENGTH = 500;
|
|
225
|
+
var PROJECT_NAME_PATTERN = /^[a-z0-9]+(?:-[a-z0-9]+)*$/u;
|
|
226
|
+
var PROJECT_NAME_MAX_LENGTH = 64;
|
|
227
|
+
|
|
196
228
|
// src/contract-values.ts
|
|
197
229
|
var AUTH_SCOPE_WILDCARD = "*";
|
|
198
230
|
var CHAT_SESSION_AUTH_SCOPES = [
|
|
@@ -245,7 +277,8 @@ var ACTIONS = [
|
|
|
245
277
|
...OPERATIONS_ACTIONS,
|
|
246
278
|
...FEEDBACK_ACTIONS,
|
|
247
279
|
...ADMINISTRATION_ACTIONS,
|
|
248
|
-
...WORKSPACE_ACTIONS
|
|
280
|
+
...WORKSPACE_ACTIONS,
|
|
281
|
+
...PROJECT_ACTIONS
|
|
249
282
|
];
|
|
250
283
|
var APP_ERROR_STATUS_CODES = {
|
|
251
284
|
BAD_REQUEST: 400,
|
|
@@ -292,6 +325,11 @@ var CONNECTION_HEALTH_STATES = [
|
|
|
292
325
|
"needs_configuration",
|
|
293
326
|
"secret_unreadable"
|
|
294
327
|
];
|
|
328
|
+
var ASSET_OWNER_RUNGS = ["personal", "team", "everyone"];
|
|
329
|
+
var ASSET_MOVE_PATHS = ["direct", "request"];
|
|
330
|
+
var ASSET_MOVE_STATUSES = ["moved", "requested"];
|
|
331
|
+
var ASSET_MOVE_EDITORS = ["workspace_builders", "instance_builders"];
|
|
332
|
+
var ASSET_MOVE_USERS = ["workspace_members", "everyone_where_offered"];
|
|
295
333
|
var GRANT_HOLDER_KINDS = ["user", "service_principal", "role", "group"];
|
|
296
334
|
var GRANT_SCOPE_KINDS = ["instance", "workspace", "asset"];
|
|
297
335
|
var ROLE_GRANT_SCOPE_KINDS = [
|
|
@@ -729,14 +767,12 @@ var WORKFLOW_STEP_TYPES = [
|
|
|
729
767
|
"agent",
|
|
730
768
|
"notify",
|
|
731
769
|
/** Starts another Workflow as a child run and waits for it. */
|
|
732
|
-
"workflow"
|
|
733
|
-
];
|
|
734
|
-
var WORKFLOW_EXECUTED_STEP_TYPES = [...WORKFLOW_STEP_TYPES];
|
|
735
|
-
var WORKFLOW_RESERVED_STEP_TYPES = [
|
|
736
|
-
/** Reserved in the contract: drawn, and run by no engine yet. */
|
|
770
|
+
"workflow",
|
|
737
771
|
"condition",
|
|
738
772
|
"parallel"
|
|
739
773
|
];
|
|
774
|
+
var WORKFLOW_EXECUTED_STEP_TYPES = [...WORKFLOW_STEP_TYPES];
|
|
775
|
+
var WORKFLOW_RESERVED_STEP_TYPES = [];
|
|
740
776
|
var WORKFLOW_TRIGGER_KINDS = ["manual", "schedule", "parent", "outside"];
|
|
741
777
|
var NOTIFY_CHANNELS = ["inbox", "mail"];
|
|
742
778
|
var WORKFLOW_STEP_SOURCE_KINDS = [
|
|
@@ -867,6 +903,9 @@ var WORKSPACE_USE_ASSET_KINDS = ["knowledge_base", "connection"];
|
|
|
867
903
|
var PUBLISHED_DATA_CONSUMER_KINDS = ["app", "workflow", "knowledge_base"];
|
|
868
904
|
var SCHEDULED_START_STATES = ["active", "paused"];
|
|
869
905
|
var AGENT_PREVIEW_SOURCES = ["draft", "live"];
|
|
906
|
+
var PREVIEW_CAPTURE_SIZES = ["phone", "tablet", "desktop"];
|
|
907
|
+
var PREVIEW_CAPTURE_STATUSES = ["pending", "answering", "captured", "refused"];
|
|
908
|
+
var SERVER_PREVIEW_CAPTURE_REFUSALS = ["capture_busy", "capture_failed"];
|
|
870
909
|
|
|
871
910
|
// src/interface-paths.ts
|
|
872
911
|
function appInterfacePath(input) {
|
|
@@ -892,6 +931,9 @@ function assetPagePath(asset) {
|
|
|
892
931
|
}
|
|
893
932
|
return asset.kind === "app" ? appInterfacePath({ workspaceId: asset.workspaceId, app: asset.name, mode: "draft" }) : void 0;
|
|
894
933
|
}
|
|
934
|
+
function conversationInterfacePath(input) {
|
|
935
|
+
return `/w/${encodeURIComponent(input.workspaceId)}/c/${encodeURIComponent(input.conversationId)}`;
|
|
936
|
+
}
|
|
895
937
|
function inboxItemPath(itemId) {
|
|
896
938
|
return `/inbox/${encodeURIComponent(itemId)}`;
|
|
897
939
|
}
|
|
@@ -1108,6 +1150,11 @@ var agentConfigSchema = z.object({
|
|
|
1108
1150
|
welcomeMessage: localizedStringSchema.optional(),
|
|
1109
1151
|
welcomeSubtitle: welcomeSubtitleSchema.optional(),
|
|
1110
1152
|
instructions: z.string().min(1),
|
|
1153
|
+
/**
|
|
1154
|
+
* What the instance adds after the instructions of an agent that ships with the platform. A
|
|
1155
|
+
* release never ships or changes it, so the instructions keep taking each release's text.
|
|
1156
|
+
*/
|
|
1157
|
+
additionalInstructions: z.string().optional(),
|
|
1111
1158
|
modelProviderId: z.string().min(1).optional(),
|
|
1112
1159
|
modelBindingId: z.string().min(1).optional(),
|
|
1113
1160
|
reasoningEffort: z.enum(REASONING_EFFORTS).optional(),
|
|
@@ -1140,7 +1187,12 @@ var agentConfigSchema = z.object({
|
|
|
1140
1187
|
* stored. A field the instance left as shipped takes what the next release ships; one it
|
|
1141
1188
|
* changed stays the instance's.
|
|
1142
1189
|
*/
|
|
1143
|
-
shipped: z.record(z.string(), z.unknown()).optional()
|
|
1190
|
+
shipped: z.record(z.string(), z.unknown()).optional(),
|
|
1191
|
+
/**
|
|
1192
|
+
* The fields of `shipped` the instance changed and a release then shipped anew. The release
|
|
1193
|
+
* seed adds a field; a save may only take one out.
|
|
1194
|
+
*/
|
|
1195
|
+
shippedNewer: z.array(z.string()).optional()
|
|
1144
1196
|
});
|
|
1145
1197
|
var WORKFLOW_NAME_PATTERN = /^[a-z][a-z0-9_-]{0,62}$/u;
|
|
1146
1198
|
var WORKFLOW_NAME_RULE = "A Workflow id starts with a lowercase letter and holds lowercase letters, digits, '_' and '-', at most 63 characters";
|
|
@@ -2062,6 +2114,7 @@ var USAGE_SPEND_LIMIT_LEVELS = [
|
|
|
2062
2114
|
"user"
|
|
2063
2115
|
];
|
|
2064
2116
|
var PERSONAL_WORKSPACES_KEY = "personal";
|
|
2117
|
+
var PERSONAL_AGENTS_KEY = ":personal";
|
|
2065
2118
|
var USAGE_BREAKDOWN_DIMENSIONS = [
|
|
2066
2119
|
"workspace",
|
|
2067
2120
|
"agent",
|
|
@@ -2509,6 +2562,84 @@ function boundPreviewReport(input) {
|
|
|
2509
2562
|
}
|
|
2510
2563
|
return report;
|
|
2511
2564
|
}
|
|
2565
|
+
|
|
2566
|
+
// src/data-store-description.ts
|
|
2567
|
+
import { z as z12 } from "zod";
|
|
2568
|
+
var DATA_STORE_DESCRIPTION_TOOL_NAME = "platform.data_stores.describe";
|
|
2569
|
+
var dataStoreDescriptionInputSchema = z12.strictObject({ store: z12.string().min(1) });
|
|
2570
|
+
var useSchema = z12.object({ kind: z12.string(), name: z12.string(), title: z12.string() });
|
|
2571
|
+
var dataStoreDescriptionSchema = z12.object({
|
|
2572
|
+
name: z12.string(),
|
|
2573
|
+
title: z12.string(),
|
|
2574
|
+
description: z12.string().optional(),
|
|
2575
|
+
owner: z12.union([
|
|
2576
|
+
z12.object({ kind: z12.literal("instance") }),
|
|
2577
|
+
z12.object({ kind: z12.literal("workspace"), workspaceId: z12.string() })
|
|
2578
|
+
]),
|
|
2579
|
+
published: z12.boolean(),
|
|
2580
|
+
tables: z12.array(
|
|
2581
|
+
z12.object({
|
|
2582
|
+
name: z12.string(),
|
|
2583
|
+
description: z12.string().optional(),
|
|
2584
|
+
rowEstimate: z12.number().nullable(),
|
|
2585
|
+
fields: z12.array(
|
|
2586
|
+
z12.object({
|
|
2587
|
+
name: z12.string(),
|
|
2588
|
+
type: z12.string(),
|
|
2589
|
+
description: z12.string(),
|
|
2590
|
+
nullable: z12.boolean()
|
|
2591
|
+
})
|
|
2592
|
+
)
|
|
2593
|
+
})
|
|
2594
|
+
),
|
|
2595
|
+
schemaAvailable: z12.boolean(),
|
|
2596
|
+
filledBy: z12.array(useSchema),
|
|
2597
|
+
readBy: z12.array(useSchema),
|
|
2598
|
+
usesTruncated: z12.boolean(),
|
|
2599
|
+
rights: z12.object({ read: z12.boolean(), add: z12.boolean(), change: z12.boolean() }),
|
|
2600
|
+
chat: z12.object({ canReadRows: z12.boolean(), reason: z12.string(), nextStep: z12.string().optional() })
|
|
2601
|
+
});
|
|
2602
|
+
|
|
2603
|
+
// src/server-preview-capture.ts
|
|
2604
|
+
import { z as z13 } from "zod";
|
|
2605
|
+
var serverPreviewCaptureInputSchema = z13.strictObject({
|
|
2606
|
+
themeColors: z13.strictObject({
|
|
2607
|
+
surfaceColor: z13.string().min(1).max(128),
|
|
2608
|
+
backgroundColor: z13.string().min(1).max(128),
|
|
2609
|
+
textColor: z13.string().min(1).max(128),
|
|
2610
|
+
mutedTextColor: z13.string().min(1).max(128),
|
|
2611
|
+
borderColor: z13.string().min(1).max(128),
|
|
2612
|
+
accentColor: z13.string().min(1).max(128),
|
|
2613
|
+
accentStrongColor: z13.string().min(1).max(128)
|
|
2614
|
+
}),
|
|
2615
|
+
contentPath: z13.string().max(1024).regex(/^\/app-content\/fset_[A-Za-z0-9_-]+\/[A-Za-z0-9_.-]+\/$/),
|
|
2616
|
+
session: z13.string().regex(/^capture:pcap_[A-Za-z0-9_-]+$/),
|
|
2617
|
+
deadline: z13.number().int().positive(),
|
|
2618
|
+
size: z13.enum(PREVIEW_CAPTURE_SIZES),
|
|
2619
|
+
theme: z13.enum(THEME_MODES),
|
|
2620
|
+
locale: z13.enum(localeCodes),
|
|
2621
|
+
number: z13.number().int().positive()
|
|
2622
|
+
});
|
|
2623
|
+
var serverPreviewCaptureOutcomeSchema = z13.discriminatedUnion("status", [
|
|
2624
|
+
z13.strictObject({
|
|
2625
|
+
status: z13.literal("done"),
|
|
2626
|
+
image: z13.string().max(54e4),
|
|
2627
|
+
report: z13.unknown(),
|
|
2628
|
+
blocked: z13.array(
|
|
2629
|
+
z13.strictObject({
|
|
2630
|
+
method: z13.string().max(16),
|
|
2631
|
+
host: z13.string().max(160),
|
|
2632
|
+
path: z13.string().max(240)
|
|
2633
|
+
})
|
|
2634
|
+
).max(50),
|
|
2635
|
+
calls: z13.array(z13.strictObject({ name: z13.string().max(160), code: z13.string().max(80) })).max(20)
|
|
2636
|
+
}),
|
|
2637
|
+
z13.strictObject({
|
|
2638
|
+
status: z13.literal("refused"),
|
|
2639
|
+
code: z13.enum(SERVER_PREVIEW_CAPTURE_REFUSALS),
|
|
2640
|
+
message: z13.string().max(160).optional()
|
|
2641
|
+
})
|
|
2642
|
+
]);
|
|
2512
2643
|
export {
|
|
2513
2644
|
ACCESS_SOURCES,
|
|
2514
2645
|
ACTIONS,
|
|
@@ -2536,8 +2667,13 @@ export {
|
|
|
2536
2667
|
ARTIFACT_PREVIEW_STATUSES,
|
|
2537
2668
|
ASSET_ACCESS_VERBS,
|
|
2538
2669
|
ASSET_LIFECYCLES,
|
|
2670
|
+
ASSET_MOVE_EDITORS,
|
|
2671
|
+
ASSET_MOVE_PATHS,
|
|
2672
|
+
ASSET_MOVE_STATUSES,
|
|
2673
|
+
ASSET_MOVE_USERS,
|
|
2539
2674
|
ASSET_NAME_REFUSAL_REASONS,
|
|
2540
2675
|
ASSET_OWNER_KINDS,
|
|
2676
|
+
ASSET_OWNER_RUNGS,
|
|
2541
2677
|
ASSET_REPO_BUNDLE_KINDS,
|
|
2542
2678
|
ASSET_REPRESENTATIONS,
|
|
2543
2679
|
ASSET_SYNC_CHANGE_TYPES,
|
|
@@ -2579,6 +2715,7 @@ export {
|
|
|
2579
2715
|
CONVERSATION_VISIBILITIES,
|
|
2580
2716
|
DATABASE_RELATION_TYPES,
|
|
2581
2717
|
DATA_STORE_CONDITIONS,
|
|
2718
|
+
DATA_STORE_DESCRIPTION_TOOL_NAME,
|
|
2582
2719
|
DATA_STORE_INSERT_CONFLICT_MODES,
|
|
2583
2720
|
DATA_STORE_LOAD_CONFLICT_MODES,
|
|
2584
2721
|
DATA_STORE_MIGRATION_OUTCOMES,
|
|
@@ -2671,6 +2808,7 @@ export {
|
|
|
2671
2808
|
OPERATION_RUN_STATUSES,
|
|
2672
2809
|
OPERATION_SOURCE_KINDS,
|
|
2673
2810
|
OPERATION_TARGETS,
|
|
2811
|
+
PERSONAL_AGENTS_KEY,
|
|
2674
2812
|
PERSONAL_WORKSPACES_KEY,
|
|
2675
2813
|
PERSON_POLICY_SETTINGS,
|
|
2676
2814
|
PLATFORM_REPORT_NOTE_MAX_LENGTH,
|
|
@@ -2681,6 +2819,8 @@ export {
|
|
|
2681
2819
|
PREVIEW_CAPTURE_MAX_HEIGHT,
|
|
2682
2820
|
PREVIEW_CAPTURE_MAX_WIDTH,
|
|
2683
2821
|
PREVIEW_CAPTURE_REFUSALS,
|
|
2822
|
+
PREVIEW_CAPTURE_SIZES,
|
|
2823
|
+
PREVIEW_CAPTURE_STATUSES,
|
|
2684
2824
|
PREVIEW_CAPTURE_TOOL_NAME,
|
|
2685
2825
|
PREVIEW_CAPTURE_WAIT_MS,
|
|
2686
2826
|
PREVIEW_REPORT_BRIDGE_STATES,
|
|
@@ -2690,6 +2830,16 @@ export {
|
|
|
2690
2830
|
PREVIEW_REPORT_MAX_ENTRIES,
|
|
2691
2831
|
PREVIEW_REPORT_MAX_MESSAGE_CHARS,
|
|
2692
2832
|
PRINCIPAL_HOLDER_KINDS,
|
|
2833
|
+
PROJECT_ACTIONS,
|
|
2834
|
+
PROJECT_ASSET_KIND,
|
|
2835
|
+
PROJECT_AUDIENCES,
|
|
2836
|
+
PROJECT_DESCRIPTION_MAX_LENGTH,
|
|
2837
|
+
PROJECT_FILE_CHANGES,
|
|
2838
|
+
PROJECT_FILE_ORIGINS,
|
|
2839
|
+
PROJECT_FOLDER_WRITE_CHANGES,
|
|
2840
|
+
PROJECT_NAME_MAX_LENGTH,
|
|
2841
|
+
PROJECT_NAME_PATTERN,
|
|
2842
|
+
PROJECT_TITLE_MAX_LENGTH,
|
|
2693
2843
|
PROVIDER_CHECK_ERROR_CLASSES,
|
|
2694
2844
|
PROVIDER_PORTS,
|
|
2695
2845
|
PROVIDER_REGIONS,
|
|
@@ -2707,6 +2857,7 @@ export {
|
|
|
2707
2857
|
ROLE_PENDING_DECISIONS,
|
|
2708
2858
|
SCHEDULED_START_STATES,
|
|
2709
2859
|
SECRET_NAME_EXPECTATION,
|
|
2860
|
+
SERVER_PREVIEW_CAPTURE_REFUSALS,
|
|
2710
2861
|
SERVICE_PRINCIPAL_PERMISSIONS,
|
|
2711
2862
|
SERVICE_PRINCIPAL_STATUSES,
|
|
2712
2863
|
SKILL_CHANGE_TYPES,
|
|
@@ -2782,8 +2933,11 @@ export {
|
|
|
2782
2933
|
callableOperationSchema,
|
|
2783
2934
|
callableOperationsPageSchema,
|
|
2784
2935
|
checkStorableTexts,
|
|
2936
|
+
conversationInterfacePath,
|
|
2785
2937
|
dataScopeNameSchema,
|
|
2786
2938
|
dataScopesSchema,
|
|
2939
|
+
dataStoreDescriptionInputSchema,
|
|
2940
|
+
dataStoreDescriptionSchema,
|
|
2787
2941
|
dataStoreRecordFieldSchema,
|
|
2788
2942
|
dataStoreRecordProposalItemSchema,
|
|
2789
2943
|
dataStoreRecordsContracts,
|
|
@@ -2866,6 +3020,8 @@ export {
|
|
|
2866
3020
|
scopedTablesSchema,
|
|
2867
3021
|
scrubPreviewFile,
|
|
2868
3022
|
scrubPreviewText,
|
|
3023
|
+
serverPreviewCaptureInputSchema,
|
|
3024
|
+
serverPreviewCaptureOutcomeSchema,
|
|
2869
3025
|
skillConfigSchema,
|
|
2870
3026
|
skillFileEntrySchema,
|
|
2871
3027
|
skillFileFrontmatterSchema,
|