@work-shape/catalyst-asset-schemas 0.8.0-rc.21 → 0.8.0-rc.23

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 CHANGED
@@ -223,7 +223,7 @@ declare const PROJECT_NAME_MAX_LENGTH = 64;
223
223
  */
224
224
  declare const AUTH_SCOPE_WILDCARD: "*";
225
225
  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"];
226
- 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", "infrastructure:check", "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"];
226
+ 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", "infrastructure:check", "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", "data_store_rows:use", "workflow_runs:use", "instance:inspect", "account:manage", "workspaces:manage"];
227
227
  type ChatSessionAuthScope = (typeof CHAT_SESSION_AUTH_SCOPES)[number];
228
228
  type FirstPartyAuthScope = (typeof FIRST_PARTY_AUTH_SCOPES)[number];
229
229
  type OperationScope = Exclude<FirstPartyAuthScope, "*">;
@@ -231,7 +231,7 @@ type OperationScope = Exclude<FirstPartyAuthScope, "*">;
231
231
  * Every right of the platform, one file per domain under `contract-values/`. The order is kept:
232
232
  * `GRANTABLE_ACTIONS` filters it, and the rights dialog lists rights in it.
233
233
  */
234
- 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"];
234
+ 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", "policy.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"];
235
235
  type PlatformAction = (typeof ACTIONS)[number];
236
236
  type AppErrorCode = (typeof APP_ERROR_CODES)[number];
237
237
  /** The HTTP status every error code answers with. */
@@ -348,6 +348,10 @@ declare const CATALOGUE_CATEGORIES: readonly ["mail", "files", "accounting", "da
348
348
  type CatalogueCategory = (typeof CATALOGUE_CATEGORIES)[number];
349
349
  declare const OPERATION_TARGETS: readonly ["live", "test", "dry_run"];
350
350
  type OperationTarget = (typeof OPERATION_TARGETS)[number];
351
+ /** The test target of an asset a call of a draft reaches (ADR-0031): there, or made by a change. */
352
+ declare const DRAFT_TEST_TARGETS: readonly ["present", "made_on_change"];
353
+ /** How a changing call a publish makes live differs from the live revision (DT-1b). */
354
+ declare const PUBLISH_CHANGE_KINDS: readonly ["new", "changed"];
351
355
  declare const OPERATION_RUN_STATUSES: readonly ["running", "pending_confirmation", "pending_approval", "done", "failed", "denied", "expired"];
352
356
  type OperationRunStatus = (typeof OPERATION_RUN_STATUSES)[number];
353
357
  declare const OPERATION_ORIGIN_KINDS: readonly ["agent", "user", "cli", "mcp", "app", "workflow", "schedule"];
@@ -368,6 +372,8 @@ declare const SKILL_CHANGE_TYPES: readonly ["replace", "add", "new_resource"];
368
372
  type SkillChangeType = (typeof SKILL_CHANGE_TYPES)[number];
369
373
  declare const GUARDRAIL_OUTCOMES: readonly ["allow", "warn", "require_approval", "block"];
370
374
  type GuardrailOutcome = (typeof GUARDRAIL_OUTCOMES)[number];
375
+ /** The kinds of a guardrail's check: an RE2 pattern, or a model reading the content. */
376
+ declare const GUARDRAIL_CHECK_KINDS: readonly ["pattern", "model_judge"];
371
377
  declare const APP_MODES: readonly ["published", "draft"];
372
378
  type AppMode = (typeof APP_MODES)[number];
373
379
  declare const ASSET_NAME_REFUSAL_REASONS: readonly ["name_invalid", "name_taken"];
@@ -406,6 +412,21 @@ declare const COLLABORATION_WORKSPACE_KINDS: readonly ["personal", "shared"];
406
412
  type CollaborationWorkspaceKind = (typeof COLLABORATION_WORKSPACE_KINDS)[number];
407
413
  declare const WORKSPACE_ACCESS_STATES: readonly ["member", "request_pending", "can_request"];
408
414
  type WorkspaceAccessState = (typeof WORKSPACE_ACCESS_STATES)[number];
415
+ /** The two bundles a member of a Shared Workspace holds one by one (AP-3). */
416
+ declare const WORKSPACE_BUNDLES: readonly ["builder", "publisher"];
417
+ type WorkspaceBundle = (typeof WORKSPACE_BUNDLES)[number];
418
+ /**
419
+ * Where a member stands with one bundle on the Members screen: held through a row in this
420
+ * workspace, held some other way (a role, a group or the whole instance), asked for, or not.
421
+ */
422
+ declare const MEMBER_BUNDLE_STATES: readonly ["none", "requested", "held", "inherited"];
423
+ type MemberBundleState = (typeof MEMBER_BUNDLE_STATES)[number];
424
+ /** What the caller's switch does to one bundle of one member. */
425
+ declare const MEMBER_BUNDLE_CHANGES: readonly ["grant", "request", "revoke", "withdraw"];
426
+ type MemberBundleChange = (typeof MEMBER_BUNDLE_CHANGES)[number];
427
+ /** Why a request for Builder or Publisher can no longer give what it asked. */
428
+ declare const GRANT_REQUEST_STALE_REASONS: readonly ["member_left", "member_inactive", "already_held"];
429
+ type GrantRequestStaleReason = (typeof GRANT_REQUEST_STALE_REASONS)[number];
409
430
  declare const DELETION_STATES: readonly ["deleting", "deleted"];
410
431
  type DeletionState = (typeof DELETION_STATES)[number];
411
432
  declare const WORKSPACE_SECTIONS: readonly ["agents", "apps"];
@@ -487,6 +508,12 @@ declare const CONNECTION_OPERATION_STATUSES: readonly ["ready", "awaiting_discov
487
508
  type ConnectionOperationStatus = (typeof CONNECTION_OPERATION_STATUSES)[number];
488
509
  declare const CONNECTION_SECRET_STATES: readonly ["set", "not_set", "unreadable"];
489
510
  type ConnectionSecretState = (typeof CONNECTION_SECRET_STATES)[number];
511
+ /**
512
+ * The states of a Connection's test credential (ADR-0031). `stale`: one is stored that no call
513
+ * can use, since the Connection's address or auth scheme changed after it was set.
514
+ */
515
+ declare const CONNECTION_TEST_CREDENTIAL_STATES: readonly ["not_set", "set", "stale"];
516
+ type ConnectionTestCredentialState = (typeof CONNECTION_TEST_CREDENTIAL_STATES)[number];
490
517
  declare const CONNECTOR_TEST_STATUSES: readonly ["ready", "unauthorized", "network_denied", "unavailable", "oauth_required"];
491
518
  type ConnectorTestStatus = (typeof CONNECTOR_TEST_STATUSES)[number];
492
519
  /** Shared account, or the acting person's own account. */
@@ -625,7 +652,25 @@ type WorkflowStepType = (typeof WORKFLOW_STEP_TYPES)[number];
625
652
  declare const WORKFLOW_EXECUTED_STEP_TYPES: readonly ["trigger", "operation", "loop", "code", "output", "agent", "notify", "workflow", "condition", "parallel"];
626
653
  declare const WORKFLOW_RESERVED_STEP_TYPES: readonly [];
627
654
  type WorkflowReservedStepType = (typeof WORKFLOW_RESERVED_STEP_TYPES)[number];
628
- declare const WORKFLOW_TRIGGER_KINDS: readonly ["manual", "schedule", "parent", "outside"];
655
+ /**
656
+ * The bounds of a `webhook` trigger. A request is at most `maxBodyBytes`, its timestamp at most
657
+ * `toleranceMs` away from the instance's clock, its nonce used once, and a Workflow accepts
658
+ * `perMinute` requests a minute unless its trigger sets its own, up to `perMinuteMax`.
659
+ */
660
+ declare const WORKFLOW_WEBHOOK_LIMITS: {
661
+ readonly maxBodyBytes: number;
662
+ readonly toleranceMs: number;
663
+ readonly perMinute: 60;
664
+ readonly perMinuteMax: 600;
665
+ readonly nonceMaxLength: 200;
666
+ };
667
+ /** The headers of a signed webhook request. */
668
+ declare const WORKFLOW_WEBHOOK_HEADERS: {
669
+ readonly timestamp: "catalyst-webhook-timestamp";
670
+ readonly nonce: "catalyst-webhook-nonce";
671
+ readonly signature: "catalyst-webhook-signature";
672
+ };
673
+ declare const WORKFLOW_TRIGGER_KINDS: readonly ["manual", "schedule", "parent", "outside", "webhook", "platform_event"];
629
674
  type WorkflowTriggerKind = (typeof WORKFLOW_TRIGGER_KINDS)[number];
630
675
  declare const NOTIFY_CHANNELS: readonly ["inbox", "mail"];
631
676
  /**
@@ -648,6 +693,8 @@ declare const ASSET_OWNER_KINDS: readonly ["instance", "workspace"];
648
693
  type AssetOwnerKind = (typeof ASSET_OWNER_KINDS)[number];
649
694
  declare const READING_POLICY_VALUES: readonly ["allow", "deny"];
650
695
  type ReadingPolicyValue = (typeof READING_POLICY_VALUES)[number];
696
+ /** Who locked "Always allow": the release config, which no screen lifts, or an instance admin. */
697
+ declare const ALWAYS_ALLOW_LOCK_SOURCES: readonly ["release", "instance"];
651
698
  declare const CONNECTION_OPERATION_POLICIES: readonly ["deny", "approval"];
652
699
  type ConnectionOperationPolicy = (typeof CONNECTION_OPERATION_POLICIES)[number];
653
700
  declare const WORKFLOW_RUN_MODES: readonly ["live", "test"];
@@ -725,6 +772,20 @@ declare const PREVIEW_CAPTURE_SIZES: readonly ["phone", "tablet", "desktop"];
725
772
  declare const PREVIEW_CAPTURE_STATUSES: readonly ["pending", "answering", "captured", "refused"];
726
773
  declare const SERVER_PREVIEW_CAPTURE_REFUSALS: readonly ["capture_busy", "capture_failed"];
727
774
 
775
+ /**
776
+ * What `workflows.capabilities` says of a setting's number: bytes, a count, seconds, minutes,
777
+ * CPUs, or a duration written as text such as `7d`.
778
+ */
779
+ declare const WORKFLOW_CAPABILITY_UNITS: readonly ["bytes", "count", "seconds", "minutes", "cpus", "duration"];
780
+ type WorkflowCapabilityUnit = (typeof WORKFLOW_CAPABILITY_UNITS)[number];
781
+ /**
782
+ * Whether the instance runs code steps: `available` where it has a sandbox and a command
783
+ * worker, `no_sandbox` where a code step would fail at once.
784
+ */
785
+ declare const WORKFLOW_CODE_STEP_AVAILABILITY: readonly ["available", "no_sandbox"];
786
+ /** How the runner image's package manifest was read at startup (EW-PKG). */
787
+ declare const WORKFLOW_PACKAGE_MANIFEST_STATES: readonly ["available", "missing", "invalid"];
788
+
728
789
  /**
729
790
  * The path of the interface route that shows one App to a signed-in person: the published
730
791
  * revision under `/apps/`, or the draft under `/app-drafts/`. Every path below the published
@@ -1674,6 +1735,16 @@ declare const operationBatchResultSchema: z.ZodObject<{
1674
1735
  type OperationBatchResult = z.infer<typeof operationBatchResultSchema>;
1675
1736
  type OperationBatchFailure = z.infer<typeof operationBatchFailureSchema>;
1676
1737
 
1738
+ /** How long an origin link may be. */
1739
+ declare const KNOWLEDGE_ORIGIN_LINK_MAX_CHARS = 4000;
1740
+ /** What an edit did to the origin link of a document: entered or changed it, or cleared it. */
1741
+ declare const KNOWLEDGE_ORIGIN_LINK_CHANGES: readonly ["set", "cleared"];
1742
+ /**
1743
+ * Where a person opens the original of a document at its source (DS-6b): an `http` or `https`
1744
+ * address and nothing else, never one that carries a credential. The source's own sign-in
1745
+ * decides who reaches the original; a token in the link would decide it in its place.
1746
+ */
1747
+ declare const knowledgeOriginLinkSchema: z.ZodURL;
1677
1748
  /** Reserved until CONN-DL: the Workflow's account must be allowed to use this Connection. */
1678
1749
  declare const knowledgeIngestFetchSchema: z.ZodObject<{
1679
1750
  connection: z.ZodString;
@@ -2461,7 +2532,7 @@ declare const MODEL_USAGE_LIMIT_SCOPES: readonly ["instance", "user", "system",
2461
2532
  */
2462
2533
  declare const USAGE_SPEND_LIMIT_LEVELS: readonly ["instance", "workspace_default", "workspace", "user_default", "user"];
2463
2534
  /** The limit that refused a call: its period, what it counts, and whose counter it is. */
2464
- interface ModelUsageRefusal {
2535
+ type ModelUsageRefusal = {
2465
2536
  period: (typeof MODEL_USAGE_LIMIT_PERIODS)[number];
2466
2537
  metric: (typeof MODEL_USAGE_LIMIT_METRICS)[number];
2467
2538
  /**
@@ -2470,7 +2541,7 @@ interface ModelUsageRefusal {
2470
2541
  * spend budget everyone shares.
2471
2542
  */
2472
2543
  scope: (typeof MODEL_USAGE_LIMIT_SCOPES)[number];
2473
- }
2544
+ };
2474
2545
  /** The workspace key every Personal Workspace shares in the usage sums (LU-3): one row. */
2475
2546
  declare const PERSONAL_WORKSPACES_KEY = "personal";
2476
2547
  /**
@@ -2992,11 +3063,14 @@ declare const FEEDBACK_CATEGORY_MAX_LENGTH = 60;
2992
3063
  /** The longest note a reviewer leaves when marking a comment handled. */
2993
3064
  declare const FEEDBACK_NOTE_MAX_LENGTH = 2000;
2994
3065
  /**
2995
- * What a comment is about. `message` in the first version; an App and a Workflow run follow
2996
- * (LU-6), each with a reference of its own.
3066
+ * What a comment is about: an agent's answer (LU-4), an App a person uses, and the result of a
3067
+ * Workflow run that reached a person's Inbox (LU-6).
2997
3068
  */
2998
- declare const FEEDBACK_SUBJECT_KINDS: readonly ["message"];
3069
+ declare const FEEDBACK_SUBJECT_KINDS: readonly ["message", "app", "workflow_run"];
2999
3070
  type FeedbackSubjectKind = (typeof FEEDBACK_SUBJECT_KINDS)[number];
3071
+ /** The kinds of asset a comment is about: an agent, an App, a Workflow. */
3072
+ declare const FEEDBACK_ASSET_KINDS: readonly ["agent", "app", "workflow"];
3073
+ type FeedbackAssetKind = (typeof FEEDBACK_ASSET_KINDS)[number];
3000
3074
  declare const FEEDBACK_STATES: readonly ["new", "handled"];
3001
3075
  type FeedbackState = (typeof FEEDBACK_STATES)[number];
3002
3076
 
@@ -3311,4 +3385,4 @@ declare const serverPreviewCaptureOutcomeSchema: z.ZodDiscriminatedUnion<[z.ZodO
3311
3385
  type ServerPreviewCaptureInput = z.infer<typeof serverPreviewCaptureInputSchema>;
3312
3386
  type ServerPreviewCaptureOutcome = z.infer<typeof serverPreviewCaptureOutcomeSchema>;
3313
3387
 
3314
- 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_CHOICE_REFUSALS, PROJECT_DELETION_CONVERSATIONS, PROJECT_DESCRIPTION_MAX_LENGTH, PROJECT_FILE_CHANGES, PROJECT_FILE_ORIGINS, PROJECT_FOLDER_WRITE_CHANGES, PROJECT_KNOWLEDGE_BASES_MAX, PROJECT_NAME_MAX_LENGTH, PROJECT_NAME_PATTERN, PROJECT_SKILLS_MAX, 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 ProjectDeletionConversations, 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 };
3388
+ 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, ALWAYS_ALLOW_LOCK_SOURCES, 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, CONNECTION_TEST_CREDENTIAL_STATES, 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 ConnectionTestCredentialState, 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, DRAFT_TEST_TARGETS, 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_ASSET_KINDS, 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 FeedbackAssetKind, type FeedbackState, type FeedbackSubjectKind, type FirstPartyAuthScope, GRANT_EFFECTS, GRANT_HOLDER_KINDS, GRANT_REQUEST_STALE_REASONS, GRANT_SCOPE_KINDS, GUARDRAIL_CHECK_KINDS, GUARDRAIL_HIT_OUTCOMES, GUARDRAIL_NAME_MAX_LENGTH, GUARDRAIL_NAME_PATTERN, GUARDRAIL_OUTCOMES, type GrantEffect, type GrantHolderKind, type GrantRequestStaleReason, 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_ORIGIN_LINK_CHANGES, KNOWLEDGE_ORIGIN_LINK_MAX_CHARS, 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, MEMBER_BUNDLE_CHANGES, MEMBER_BUNDLE_STATES, 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 MemberBundleChange, type MemberBundleState, 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_CHOICE_REFUSALS, PROJECT_DELETION_CONVERSATIONS, PROJECT_DESCRIPTION_MAX_LENGTH, PROJECT_FILE_CHANGES, PROJECT_FILE_ORIGINS, PROJECT_FOLDER_WRITE_CHANGES, PROJECT_KNOWLEDGE_BASES_MAX, PROJECT_NAME_MAX_LENGTH, PROJECT_NAME_PATTERN, PROJECT_SKILLS_MAX, PROJECT_TITLE_MAX_LENGTH, PROVIDER_CHECK_ERROR_CLASSES, PROVIDER_PORTS, PROVIDER_REGIONS, PUBLISHED_DATA_CONSUMER_KINDS, PUBLISH_CHANGE_KINDS, type PlatformAction, type PolicyValue, type PreviewCaptureRefusal, type PreviewReport, type PreviewReportBridge, type PreviewReportEntry, type PreviewReportEntryKind, type PrincipalHolderKind, type ProjectAudience, type ProjectDeletionConversations, 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_CAPABILITY_UNITS, WORKFLOW_CODE_STEP_AVAILABILITY, 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_PACKAGE_MANIFEST_STATES, 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, WORKFLOW_WEBHOOK_HEADERS, WORKFLOW_WEBHOOK_LIMITS, WORKSPACE_ACCENT_COLORS, WORKSPACE_ACCESS_STATES, WORKSPACE_BUNDLES, WORKSPACE_COMMAND_STATUSES, WORKSPACE_FILE_KINDS, WORKSPACE_MEMBERSHIP_ROLES, WORKSPACE_SECTIONS, WORKSPACE_USE_ASSET_KINDS, WORKSPACE_VISIBILITIES, type WebSourceProvider, type WorkflowAssetConfig, type WorkflowCapabilityUnit, 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 WorkspaceBundle, 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, knowledgeOriginLinkSchema, 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
@@ -165,6 +165,9 @@ var ADMINISTRATION_ACTIONS = [
165
165
  // Setting the spend limits of the instance, of shared workspaces and of users (LU-2).
166
166
  // Instance admins hold it; workspace owners do not.
167
167
  "limits.manage",
168
+ // Setting the central policy of operations on Instance > Policies and locking "Always allow"
169
+ // (OP-2). Instance admins hold it.
170
+ "policy.manage",
168
171
  // Usage by named person beyond one's own (LU-3, limits spec 3.4): the Users view of the
169
172
  // instance, and an owner's figures per member of a workspace. A separate right because the
170
173
  // works council has a say on it (BetrVG section 87(1) no. 6).
@@ -266,7 +269,29 @@ var FIRST_PARTY_AUTH_SCOPES = [
266
269
  // store and its migrations stay under `config_assets:*`. A scope caps what a key may be
267
270
  // used for; whether its holder may do it is decided by the grants.
268
271
  "data_store_rows:read",
269
- "data_store_rows:write"
272
+ "data_store_rows:write",
273
+ // What the use level of a personal key reaches of those rows (CLI-PARITY-4): a read of a
274
+ // store's rows, an insert and a query of a Knowledge Base, and nothing else under
275
+ // `data_store_rows:*`. Only a personal key's call is asked for it, through the operation's
276
+ // `personalKeyScope`; every other credential keeps the scopes above.
277
+ "data_store_rows:use",
278
+ // What the use level of a personal key reaches of Workflows: starting a run by hand, with
279
+ // `workflow.use` alone (CLI-PARITY-4 review). Only a personal key's call is asked for it, through
280
+ // the operation's `personalKeyScope`.
281
+ "workflow_runs:use",
282
+ // What the instance level of a personal key reads of the instance (CLI-PARITY-6a): usage,
283
+ // audit events, background jobs, Operation Runs, Modules and the last infrastructure check,
284
+ // each still asking the right of its own (`usage.view`, `audit.view`, `system.view`). Only
285
+ // a personal key's call is asked for it, through the operation's `personalKeyScope`.
286
+ "instance:inspect",
287
+ // What the account and workspaces level of a personal key reaches (CLI-PARITY-5): the
288
+ // person's name and model preference and the revocation of their own keys, never a new key,
289
+ // a confirmed connect code, the password or the account's deletion; and the Shared
290
+ // Workspaces as the person's role in each allows, never a workspace's usage. Only a personal
291
+ // key's call is asked for them, through the operation's `personalKeyScope`; `me:write` and
292
+ // `collaboration_workspace:*` stay off every key.
293
+ "account:manage",
294
+ "workspaces:manage"
270
295
  ];
271
296
  var ACTIONS = [
272
297
  ...AGENT_ACTIONS,
@@ -392,6 +417,8 @@ var OPERATION_EFFECTS = ["reading", "changing"];
392
417
  var CATALOGUE_PARTS = ["tools", "source"];
393
418
  var CATALOGUE_CATEGORIES = ["mail", "files", "accounting", "databases", "other"];
394
419
  var OPERATION_TARGETS = ["live", "test", "dry_run"];
420
+ var DRAFT_TEST_TARGETS = ["present", "made_on_change"];
421
+ var PUBLISH_CHANGE_KINDS = ["new", "changed"];
395
422
  var OPERATION_RUN_STATUSES = [
396
423
  "running",
397
424
  "pending_confirmation",
@@ -453,6 +480,7 @@ var APPROVAL_EXECUTIONS = [
453
480
  ];
454
481
  var SKILL_CHANGE_TYPES = ["replace", "add", "new_resource"];
455
482
  var GUARDRAIL_OUTCOMES = ["allow", "warn", "require_approval", "block"];
483
+ var GUARDRAIL_CHECK_KINDS = ["pattern", "model_judge"];
456
484
  var APP_MODES = ["published", "draft"];
457
485
  var ASSET_NAME_REFUSAL_REASONS = ["name_invalid", "name_taken"];
458
486
  var ASSET_SYNC_CHANGE_TYPES = ["put", "delete"];
@@ -502,6 +530,14 @@ var WORKSPACE_ACCENT_COLORS = [
502
530
  ];
503
531
  var COLLABORATION_WORKSPACE_KINDS = ["personal", "shared"];
504
532
  var WORKSPACE_ACCESS_STATES = ["member", "request_pending", "can_request"];
533
+ var WORKSPACE_BUNDLES = ["builder", "publisher"];
534
+ var MEMBER_BUNDLE_STATES = ["none", "requested", "held", "inherited"];
535
+ var MEMBER_BUNDLE_CHANGES = ["grant", "request", "revoke", "withdraw"];
536
+ var GRANT_REQUEST_STALE_REASONS = [
537
+ "member_left",
538
+ "member_inactive",
539
+ "already_held"
540
+ ];
505
541
  var DELETION_STATES = ["deleting", "deleted"];
506
542
  var WORKSPACE_SECTIONS = ["agents", "apps"];
507
543
  var MODEL_USAGE_TIERS = [
@@ -624,6 +660,7 @@ var CONNECTION_OPERATION_STATUSES = [
624
660
  "disabled"
625
661
  ];
626
662
  var CONNECTION_SECRET_STATES = ["set", "not_set", "unreadable"];
663
+ var CONNECTION_TEST_CREDENTIAL_STATES = ["not_set", "set", "stale"];
627
664
  var CONNECTOR_TEST_STATUSES = [
628
665
  "ready",
629
666
  "unauthorized",
@@ -777,7 +814,26 @@ var WORKFLOW_STEP_TYPES = [
777
814
  ];
778
815
  var WORKFLOW_EXECUTED_STEP_TYPES = [...WORKFLOW_STEP_TYPES];
779
816
  var WORKFLOW_RESERVED_STEP_TYPES = [];
780
- var WORKFLOW_TRIGGER_KINDS = ["manual", "schedule", "parent", "outside"];
817
+ var WORKFLOW_WEBHOOK_LIMITS = {
818
+ maxBodyBytes: 256 * 1024,
819
+ toleranceMs: 5 * 6e4,
820
+ perMinute: 60,
821
+ perMinuteMax: 600,
822
+ nonceMaxLength: 200
823
+ };
824
+ var WORKFLOW_WEBHOOK_HEADERS = {
825
+ timestamp: "catalyst-webhook-timestamp",
826
+ nonce: "catalyst-webhook-nonce",
827
+ signature: "catalyst-webhook-signature"
828
+ };
829
+ var WORKFLOW_TRIGGER_KINDS = [
830
+ "manual",
831
+ "schedule",
832
+ "parent",
833
+ "outside",
834
+ "webhook",
835
+ "platform_event"
836
+ ];
781
837
  var NOTIFY_CHANNELS = ["inbox", "mail"];
782
838
  var WORKFLOW_STEP_SOURCE_KINDS = [
783
839
  "connection",
@@ -803,6 +859,7 @@ var ASSET_OWNER_KINDS = [
803
859
  "workspace"
804
860
  ];
805
861
  var READING_POLICY_VALUES = ["allow", "deny"];
862
+ var ALWAYS_ALLOW_LOCK_SOURCES = ["release", "instance"];
806
863
  var CONNECTION_OPERATION_POLICIES = [
807
864
  "deny",
808
865
  "approval"
@@ -910,6 +967,16 @@ var AGENT_PREVIEW_SOURCES = ["draft", "live"];
910
967
  var PREVIEW_CAPTURE_SIZES = ["phone", "tablet", "desktop"];
911
968
  var PREVIEW_CAPTURE_STATUSES = ["pending", "answering", "captured", "refused"];
912
969
  var SERVER_PREVIEW_CAPTURE_REFUSALS = ["capture_busy", "capture_failed"];
970
+ var WORKFLOW_CAPABILITY_UNITS = [
971
+ "bytes",
972
+ "count",
973
+ "seconds",
974
+ "minutes",
975
+ "cpus",
976
+ "duration"
977
+ ];
978
+ var WORKFLOW_CODE_STEP_AVAILABILITY = ["available", "no_sandbox"];
979
+ var WORKFLOW_PACKAGE_MANIFEST_STATES = ["available", "missing", "invalid"];
913
980
 
914
981
  // src/interface-paths.ts
915
982
  function appInterfacePath(input) {
@@ -1501,6 +1568,44 @@ var hash = z3.string().regex(/^[a-f0-9]{64}$/u);
1501
1568
  var text = z3.string().max(KNOWLEDGE_FILE_MAX_BYTES).refine((value) => new TextEncoder().encode(value).byteLength <= KNOWLEDGE_FILE_MAX_BYTES, {
1502
1569
  message: `Document text exceeds ${KNOWLEDGE_FILE_MAX_BYTES} bytes`
1503
1570
  });
1571
+ var KNOWLEDGE_ORIGIN_LINK_MAX_CHARS = 4e3;
1572
+ var KNOWLEDGE_ORIGIN_LINK_CHANGES = ["set", "cleared"];
1573
+ var CREDENTIAL_PARAMETERS = /* @__PURE__ */ new Set([
1574
+ "access_token",
1575
+ "id_token",
1576
+ "refresh_token",
1577
+ "token",
1578
+ "auth",
1579
+ "authorization",
1580
+ "apikey",
1581
+ "api_key",
1582
+ "password",
1583
+ "secret",
1584
+ "client_secret",
1585
+ "sig",
1586
+ "signature",
1587
+ "x-amz-signature",
1588
+ "x-amz-credential",
1589
+ "x-amz-security-token",
1590
+ "x-goog-signature",
1591
+ "x-goog-credential"
1592
+ ]);
1593
+ function carriesCredential(link) {
1594
+ let url;
1595
+ try {
1596
+ url = new URL(link);
1597
+ } catch {
1598
+ return false;
1599
+ }
1600
+ if (url.username !== "" || url.password !== "") return true;
1601
+ const fragment = url.hash.startsWith("#") ? url.hash.slice(1) : url.hash;
1602
+ return [url.searchParams, new URLSearchParams(fragment)].some(
1603
+ (parameters) => [...parameters.keys()].some((key2) => CREDENTIAL_PARAMETERS.has(key2.toLowerCase()))
1604
+ );
1605
+ }
1606
+ var knowledgeOriginLinkSchema = z3.url({ protocol: /^https?$/u, error: "An origin link is an http or https address" }).max(KNOWLEDGE_ORIGIN_LINK_MAX_CHARS).refine((link) => !carriesCredential(link), {
1607
+ error: "An origin link names where the original is and carries no sign-in: leave out a user, a password and any token or signature parameter"
1608
+ });
1504
1609
  var knowledgeIngestFetchSchema = z3.strictObject({
1505
1610
  connection: id,
1506
1611
  operation: id,
@@ -1511,7 +1616,7 @@ var ingestItemIdentity = z3.strictObject({
1511
1616
  version: id,
1512
1617
  name: z3.string().min(1).max(1e3),
1513
1618
  path: z3.string().startsWith("/").max(4e3).optional(),
1514
- originLink: z3.url({ protocol: /^https?$/u }).max(4e3).optional(),
1619
+ originLink: knowledgeOriginLinkSchema.optional(),
1515
1620
  metadata: z3.record(z3.string(), z3.json()).optional(),
1516
1621
  text: z3.never().optional(),
1517
1622
  fileId: z3.never().optional(),
@@ -2343,7 +2448,8 @@ var FEEDBACK_TEXT_MAX_LENGTH = 4e3;
2343
2448
  var FEEDBACK_SUMMARY_MAX_LENGTH = 1e3;
2344
2449
  var FEEDBACK_CATEGORY_MAX_LENGTH = 60;
2345
2450
  var FEEDBACK_NOTE_MAX_LENGTH = 2e3;
2346
- var FEEDBACK_SUBJECT_KINDS = ["message"];
2451
+ var FEEDBACK_SUBJECT_KINDS = ["message", "app", "workflow_run"];
2452
+ var FEEDBACK_ASSET_KINDS = ["agent", "app", "workflow"];
2347
2453
  var FEEDBACK_STATES = ["new", "handled"];
2348
2454
 
2349
2455
  // src/platform-report-values.ts
@@ -2656,6 +2762,7 @@ export {
2656
2762
  AGENT_RUN_STATUSES,
2657
2763
  AGENT_STARTERS_MAX,
2658
2764
  AGENT_USE_SETTINGS,
2765
+ ALWAYS_ALLOW_LOCK_SOURCES,
2659
2766
  API_CREDENTIAL_SCOPES,
2660
2767
  APPROVAL_CHECK_FAILURE_OUTCOMES,
2661
2768
  APPROVAL_CHECK_STATUSES,
@@ -2713,6 +2820,7 @@ export {
2713
2820
  CONNECTION_PROVIDER_REVOCATIONS,
2714
2821
  CONNECTION_SECRET_STATES,
2715
2822
  CONNECTION_SIGN_IN_NEEDS,
2823
+ CONNECTION_TEST_CREDENTIAL_STATES,
2716
2824
  CONNECTOR_TEST_STATUSES,
2717
2825
  CONVERSATION_ATTACHMENT_STATUSES,
2718
2826
  CONVERSATION_KINDS,
@@ -2727,9 +2835,11 @@ export {
2727
2835
  DATA_STORE_STATUSES,
2728
2836
  DECIDED_APPROVAL_REQUEST_STATUSES,
2729
2837
  DELETION_STATES,
2838
+ DRAFT_TEST_TARGETS,
2730
2839
  ENDED_AGENT_RUN_STATUSES,
2731
2840
  ENDED_APPROVAL_EXECUTIONS,
2732
2841
  FAILED_JOB_STATUSES,
2842
+ FEEDBACK_ASSET_KINDS,
2733
2843
  FEEDBACK_CATEGORY_MAX_LENGTH,
2734
2844
  FEEDBACK_NOTE_MAX_LENGTH,
2735
2845
  FEEDBACK_STATES,
@@ -2741,7 +2851,9 @@ export {
2741
2851
  FOLLOW_UP_STATUSES,
2742
2852
  GRANT_EFFECTS,
2743
2853
  GRANT_HOLDER_KINDS,
2854
+ GRANT_REQUEST_STALE_REASONS,
2744
2855
  GRANT_SCOPE_KINDS,
2856
+ GUARDRAIL_CHECK_KINDS,
2745
2857
  GUARDRAIL_HIT_OUTCOMES,
2746
2858
  GUARDRAIL_NAME_MAX_LENGTH,
2747
2859
  GUARDRAIL_NAME_PATTERN,
@@ -2757,6 +2869,8 @@ export {
2757
2869
  KNOWLEDGE_DOCUMENT_WAIT_CODES,
2758
2870
  KNOWLEDGE_EMBEDDING_STATES,
2759
2871
  KNOWLEDGE_FILE_MAX_BYTES,
2872
+ KNOWLEDGE_ORIGIN_LINK_CHANGES,
2873
+ KNOWLEDGE_ORIGIN_LINK_MAX_CHARS,
2760
2874
  KNOWLEDGE_SEARCH_SIGNALS,
2761
2875
  KNOWLEDGE_SOURCE_FAILURE_CODES,
2762
2876
  KNOWLEDGE_SOURCE_ITEM_FAILURE_CODES,
@@ -2790,6 +2904,8 @@ export {
2790
2904
  MAIL_SUBJECT_MAX_LENGTH,
2791
2905
  MAIL_WORKFLOW_MESSAGE_TEMPLATE,
2792
2906
  MANAGED_FILE_STATUSES,
2907
+ MEMBER_BUNDLE_CHANGES,
2908
+ MEMBER_BUNDLE_STATES,
2793
2909
  MESSAGE_FINISH_STATUSES,
2794
2910
  MODEL_FALLBACK_REASONS,
2795
2911
  MODEL_PROVIDER_AUTH_MODES,
@@ -2852,6 +2968,7 @@ export {
2852
2968
  PROVIDER_PORTS,
2853
2969
  PROVIDER_REGIONS,
2854
2970
  PUBLISHED_DATA_CONSUMER_KINDS,
2971
+ PUBLISH_CHANGE_KINDS,
2855
2972
  READING_POLICY_VALUES,
2856
2973
  REASONING_EFFORTS,
2857
2974
  RECORDS_FLAGGED_MAX_ITEMS_PER_PAGE,
@@ -2900,6 +3017,8 @@ export {
2900
3017
  USER_STATUSES,
2901
3018
  WAITING_OPERATION_RUN_STATUSES,
2902
3019
  WEB_SOURCE_PROVIDERS,
3020
+ WORKFLOW_CAPABILITY_UNITS,
3021
+ WORKFLOW_CODE_STEP_AVAILABILITY,
2903
3022
  WORKFLOW_DATASET_DOWNLOAD_FORMATS,
2904
3023
  WORKFLOW_DATASET_STATES,
2905
3024
  WORKFLOW_ENDED_STATUSES,
@@ -2909,6 +3028,7 @@ export {
2909
3028
  WORKFLOW_MARKDOWN_MAX_ROWS,
2910
3029
  WORKFLOW_NAME_PATTERN,
2911
3030
  WORKFLOW_NAME_RULE,
3031
+ WORKFLOW_PACKAGE_MANIFEST_STATES,
2912
3032
  WORKFLOW_RESERVED_STEP_TYPES,
2913
3033
  WORKFLOW_RIGHTS_REVISIONS,
2914
3034
  WORKFLOW_RIGHT_NEEDED_FOR,
@@ -2923,8 +3043,11 @@ export {
2923
3043
  WORKFLOW_TEXT_FORMAT_MARKDOWN,
2924
3044
  WORKFLOW_TEXT_MAX_PARTS,
2925
3045
  WORKFLOW_TRIGGER_KINDS,
3046
+ WORKFLOW_WEBHOOK_HEADERS,
3047
+ WORKFLOW_WEBHOOK_LIMITS,
2926
3048
  WORKSPACE_ACCENT_COLORS,
2927
3049
  WORKSPACE_ACCESS_STATES,
3050
+ WORKSPACE_BUNDLES,
2928
3051
  WORKSPACE_COMMAND_STATUSES,
2929
3052
  WORKSPACE_FILE_KINDS,
2930
3053
  WORKSPACE_MEMBERSHIP_ROLES,
@@ -2973,6 +3096,7 @@ export {
2973
3096
  knowledgeIngestOutputSchema,
2974
3097
  knowledgeLocateInputSchema,
2975
3098
  knowledgeLocateOutputSchema,
3099
+ knowledgeOriginLinkSchema,
2976
3100
  knowledgePendingInputSchema,
2977
3101
  knowledgePendingOutputSchema,
2978
3102
  knowledgePendingRowSchema,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@work-shape/catalyst-asset-schemas",
3
- "version": "0.8.0-rc.21",
3
+ "version": "0.8.0-rc.23",
4
4
  "license": "MIT",
5
5
  "repository": {
6
6
  "type": "git",