@wayai/cli 0.3.180 → 0.3.182
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.js +202 -135
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -6046,7 +6046,7 @@ function refineScopedTarget(data, ctx) {
|
|
|
6046
6046
|
}
|
|
6047
6047
|
}
|
|
6048
6048
|
}
|
|
6049
|
-
var uuidSchema, USER_ID_REGEX, paginationSchema, timestampSchema, idParamSchema, clientOptionalString, clientOptionalBoolean, clientOptionalNumber, messageAttachment, MAX_MESSAGE_BODY_BYTES, MAX_ATTACHMENTS_PER_MESSAGE, MESSAGE_ENVELOPE_HEADROOM_BYTES, MAX_AUDIO_FILE_BASE64_BYTES, primaryRegionSchema, placementSourceSchema, orgIdParam, orgAdminIdParam, createOrganizationBody, updateOrganizationBody, addOrgAdminBody, AUTH_TYPE, ORG_CREDENTIAL_AUTH_TYPES, AUTH_TYPE_DISPLAY, LEGACY_AUTH_TYPE_MAP, VALID_AUTH_TYPES, AGENT_ROLES, SAFE_USER_ID_REGEX, SUPPORTED_LOCALES, SUMMARIZATION_THRESHOLD_MIN, SUMMARIZATION_THRESHOLD_MAX, PREVIOUS_CONVERSATIONS_MAX, FLAG_CONDITION_OPERATORS, CONFIDENCE_VARIABLE_SUFFIX, DECISION_SCORE_MIN_LEVELS, DECISION_SCORE_MAX_LEVELS, DECISIONS_MODEL_PREFIXES, DECISION_CAPABLE_AGENT_ROLES, NATIVE_TOOL_SCHEMAS, WAYAI_CONNECTOR, BASE_NATIVE_TOOLS, NATIVE_TOOLS, CATALOG_SIDE_EFFECTS, NATIVE_TOOL_NAMES, previousConversationsCountField, summarizationThresholdField, flagConditionSchema, MONITOR_TRIGGERS, monitorTriggerSchema, MONITOR_FIRING_TRIGGERS, MONITOR_DELAY_SECONDS_MIN, MONITOR_IDLE_DELAY_REQUIRED_MESSAGE, MONITOR_HISTORY_MESSAGES_MAX, monitorHistoryMessagesSchema, monitorIncludeToolResultsSchema, MONITOR_INPUT_SHAPING_KEYS, MONITOR_INPUT_SHAPING_SCHEMAS, MONITOR_INPUT_SHAPING_IDLE_MESSAGE, monitorArgumentSourceSchema, MONITOR_NOTE_TEMPLATE_MAX, MONITOR_STEER_NOTE_MAX, monitorActionSchema, monitorRuleSchema, MONITOR_RULE_KEYS, MONITOR_RULE_SCHEMAS, MONITOR_RULE_TRIGGERS, MONITOR_RULE_TRIGGER_MESSAGE, CALL_UTTERANCE_SPEAKERS, callUtteranceSpeakerSchema, MONITOR_CALL_KEYS, MONITOR_CALL_SCHEMAS, MONITOR_CALL_KEY_MESSAGE, CALL_STEERING_MIN_CONFIDENCE, CALL_UTTERANCE_RULE_NOT_CONFIDENT_MESSAGE, CALL_UTTERANCE_FALLBACK_MESSAGE, CALL_UTTERANCE_FLAG_CONDITIONS_MESSAGE, CALL_STEER_NOTE_BLANK_MESSAGE, MONITOR_USER_MESSAGE_ACTION_KINDS, MONITOR_ASSISTANT_REPLY_ACTION_KINDS, MONITOR_CALL_UTTERANCE_ACTION_KINDS, INSERT_NOTE_TOOL_NAME, RUN_MONITOR_TOOL_NAME, MONITOR_RULE_ALLOWED_NATIVE_TOOLS, MONITOR_RULE_REENTRY_TOOLS, MONITOR_RULE_REENTRY_TRACKS, monitorConfigField, flagConditionsField, agentIdParam, listAgentsQuery, agentConnectionsQuery, createAgentBody, updateAgentBody, AGENT_PARAMETER_TYPES, AGENT_PARAMETER_NAME_REGEX, agentParameterCreateSchema, MAX_AGENT_PARAMETERS_PER_REQUEST, createAgentParametersBody, SLUG_REGEX, slugSchema, INVISIBLE_NAME_CHARS, MAX_KANBAN_STATUSES, MAX_FOLLOWUPS_PER_STATUS, MAX_LANES, MAX_ADDITIONAL_CONTEXT_SCHEMA_BYTES, RESERVED_TEMPLATE_DUMP_NAME, kanbanStatusSlugSchema, followupTypeSchema, EVENT_RELATIVE_FOLLOWUP_TYPES, followupTimeUnitSchema, followupIdSchema, SELECTABLE_FOLLOWUP_TYPES, MAX_LINKED_FOLLOWUP_TARGETS_PER_STATUS, followupSchema, MAX_OUTCOMES_PER_STATUS, kanbanOutcomeSchema, EXCLUSIVE_FLAG_PAIRS, kanbanStatusSchema, kanbanStatusesArraySchema, laneSchema, lanesArraySchema, hubIdParam, hubAdminIdParam, hubUserIdParam, hubIdentityIdParam, hubTeamIdParam, hubTeamUserDeleteParam, hubSchemaQuery, PREVIEW_LABEL_MAX_LENGTH, MAX_ENDED_INDEX_RETENTION_DAYS, MAX_EVAL_RETENTION_DAYS, previewLabelField, createHubBody, updateHubBody, addHubAdminBody, addHubIdentityAuthorizationBody, contactDecisionBody, approveContactBody, listContactAccessQuery, createHubTeamBody, updateHubTeamBody, addHubTeamUserBody, reassignHubUserBody, replicatePreviewBody, updateChannelTestIdentitiesBody, claimCodeChannelParam, claimCodeDeleteParam, connectionIdParam, connectorIdParam, listConnectionsQuery, deleteConnectionQuery, addConnectionBody, editConnectionBody, PRODUCTION_DIRECT_FIELDS, setProductionCredentialBody, registerWhatsappQuery, registerWhatsappBody, retryProvisioningQuery, resendDomainStatusQuery, PLACEHOLDER_TOKENS, ALLOWED_TYPES, SUBSCHEMA_OBJECT_KEYWORDS, SUBSCHEMA_LIST_KEYWORDS, SUBSCHEMA_MAP_KEYWORDS, MAX_SCHEMA_DEPTH, toolIdParam, listToolsQuery, toolAgentQuery, deleteToolQuery, toolConnectionsQuery, nativeToolIdSchema, CONTEXT_BOUNDARIES, contextBoundarySchema, addNativeToolBody, addMcpToolBody, createCustomToolBody, updateCustomToolBody, updateToolExecutionConfigBody, initialValueCreateSchema, initialValueUpdateSchema, stateIdParam, listStatesQuery, stateNameSchema, createStateBody, updateStateBody, reorderStatesBody, variantAiModeSchema, experimentStatusSchema, overlayUpdateSchema, experimentIdParam, variantIdParam, listExperimentsQuery, listVariantsQuery, listOverridesQuery, deleteOverrideQuery, createExperimentBody, updateExperimentBody, setExperimentStatusBody, createVariantBody, updateVariantBody, upsertOverrideBody, orgTagIdParam, listOrgTagsQuery, ORG_TAG_NAME_REGEX, ORG_TAG_NAME_MAX_LENGTH, createOrgTagBody, updateOrgTagBody, orgCredentialIdParam, listOrgCredentialsQuery, createOrgCredentialBody, updateOrgCredentialBody, BASE_CREDENTIAL_MANAGED_BY, BASE_CREDENTIAL_NAME_MAX, baseCredentialNameSchema, createBaseCredentialLinkBody, baseCredentialLinkParams, baseCredentialLinkQuery, orgResourceIdParam, orgResourceFileIdParam, orgResourceFolderIdParam, hubOrgResourceParam, listOrgResourcesQuery, orgIdQuery, createOrgResourceBody, updateOrgResourceBody, createOrgResourceFolderBody, updateOrgResourceFolderBody, uploadOrgResourceFileBody, updateOrgResourceFileBody, uploadOrgSkillZipBody, linkOrgResourceBody, resourceIdParam, listResourcesQuery, createResourceBody, updateResourceBody, syncSkillsBody, resourceFileIdParam, listResourceFilesQuery, createResourceFileBody, updateResourceFileBody, uploadResourceFileBody, uploadSkillZipBody, resourceFolderIdParam, listResourceFoldersQuery, createResourceFolderBody, updateResourceFolderBody, agentResourceQuery, hubResourceQuery, linkAgentResourceBody, updateAgentResourceBody, unlinkAgentResourceQuery, navItemSchema, hubCountResetBody, navItemCountResetBody, typingBody, analyticsHubIdParam, analyticsVariableIdParam, updateVariablePinBody, updateAnalyticsViewBody, NUMERIC_FILTER_OPS, TEXT_FILTER_OPS, CATEGORICAL_FILTER_OPS, VARIABLE_FILTER_OPS, STRUCTURED_QUERY_OPS, STRUCTURED_QUERY_AGGREGATIONS, filterValueSchema, conversationsBody, analyticsConversationIdParam, messagesQuery, conversationDetailDataQuery, analyticsDataBody, structuredQueryBody, analyticsSqlBody, analyticsSqlTable, analyticsSqlSchemaQuery, EVAL_PACING_PRESET_NAMES, PACING_INTERVAL_MIN_MS, PACING_INTERVAL_MAX_MS, EVAL_MAX_RUNS_PER_SCENARIO, EVAL_RUN_DEADLINE_MIN_MS, EVAL_RUN_DEADLINE_MAX_MS, ISO_UTC_RE, paginationSchema2, evalIdParam, sessionIdParam, scenarioSetIdParam, hubIdQuery, evalDateContextSchema, EVAL_FIXTURE_NAME_MAX_LENGTH, evalFixtureOverrideSchema, runSessionQuery, runJourneyQuery, EVAL_INPUT_ROLES, EVAL_INPUT_ROLE_LIST, ROLE_ECHO_MAX, EVAL_INITIAL_STATE_SCOPES, MAX_INITIAL_STATE_ENTRIES, evalInitialStateEntry, evalBody, EVAL_LIST_MAX_LIMIT, evalListLimit, getEvalsQuery, toggleEvalBody, bulkToggleEvalsBody, pacingConfigSchema, EVAL_MAX_SELECTED_SCENARIOS, evalScenarioSelectionEntrySchema, evalScenarioSelectionSchema, sessionConfigSchema, createSessionBody, getSessionsQuery, getSessionResultsQuery, getSessionRunsQuery, evalAnalyticsQuery, getSessionCostQuery, compareSessionsQuery, evalsSqlBody, evalsSqlSchemaQuery, exportResultsQuery, validateEvalBody, hubAgentsQuery, createScenarioSetBody, updateScenarioSetBody, scenarioSetsHubQuery, createScenarioFromConversationBody, createJourneyFromConversationBody, EVAL_ATTACHMENT_HASH_REGEX, evalAttachmentRef, turnMayCarryAttachments, ATTACHMENTS_USER_ONLY_MESSAGE, journeyIdParam, journeyToolCallSchema, journeyTurnSchema, journeyStepOverrideSchema, fixtureField, createJourneyBody, updateJourneyBody, evalSessionConfigResponseSchema, evalSessionResponseSchema, evalSessionListConfigSchema, evalSessionListItemSchema, seedReleaseStatusSchema, EVAL_SESSION_NOT_QUIESCENT, getConversationsQuery, getMessagesQuery, appMessageSenderType, appMessageReceiverType, apiChannelMessage, apiChannelMessageBody, appMessageBody, appMessageResponse, CALL_STATUSES, callStatus, CALL_END_REASONS, callEndReason, CALL_TRANSPORTS, callTransport, CALL_PARTICIPANT_TYPES, callParticipantType, callInstant, MAX_SDP_OFFER_LENGTH, sdpDescription, sdpOffer, MAX_CALL_REQUEST_BODY_BYTES, hubScoped, callSummaryFields, callSummary, callIdParam, createCallBody, createCallResponse, callReadyBody, callHangupBody, callStatusQuery, MAX_REPORTED_DELEGATION_IDS, callDelegationId, callDelegationsBody, callResponse, MAX_CALL_RECORDING_GAPS, callRecordingGap, callRecordingNoteMetadata, CALL_OPENING_LANGUAGES, callOpeningLanguage, CALL_OPENING_MAX_DURATION_MS, CALL_OPENING_MAX_BYTES, CALL_OPENING_CAPTION_MAX_CHARS, CALL_OPENING_CONTENT_TYPES, callOpeningContentType, CALL_OPENING_HASH_REGEX, callOpeningHash, callOpeningCaption, storedCallOpening, MAX_CALL_OPENING_ENCODED_BYTES, MAX_CALL_OPENING_BODY_BYTES, agentCallOpeningParams, putAgentCallOpeningBody, deleteAgentCallOpeningQuery, callOpeningParam, callOpeningQuery, TTS_VOICE_REPLY_ENABLED_FIELD, COPILOT_TRIGGER_FIELD, AUDIO_LANGUAGE_OPTIONS, whatsapp, instagram, resend, telegram, API_CHANNEL_DELIVERY_EVENTS, apiChannel, OPENAI_REASONING_MODELS, openai, anthropic, googleAiStudio, openRouter, xai, groqStt, openaiStt, elevenLabsStt, openaiTts, groqTts, elevenLabsTts, GEMINI_TTS_VOICES, googleTts, wayai, externalResources, restApiTool, mcpServer, e2b, CLAUDE_HARNESS_MODELS, CLAUDE_HARNESS_MODEL_OPTIONS, HARNESS_MCP_SERVERS_FIELD, HARNESS_EGRESS_FIELDS, claudeAgentSdk, claudeManagedAgents, rekorMemory, SPOKEN_LINE_MAX_CHARS, gptLive, CONNECTORS, evalCallInstant, EVAL_CALL_MIN_SECONDS, EVAL_CALL_MAX_SECONDS, EVAL_CALL_SPOKEN_LINE_MAX_CHARS, hubScoped2, createEvalCallBody, createEvalCallResponse, evalCallConversationQuery, evalCallRecordQuery, evalCallSpeaker, evalCallUtterance, evalCallTurn, evalCallRecording, evalCallRecordResponse, evalCallFinishResponse, updateUserBody, updateProfileBody, pathnameRegex, updatePreferencesBody, registerPushTokenBody, deletePushTokenQuery, activityQuery, deletionModeSchema, deletionRequestBody, archiveHubIdParam, archiveConversationParams, archiveListQuery, archiveMessageObservabilityParams, conversationIdParam, claimBody, releaseBody, transferBody, closeBody, additionalContextPayloadSchema, kanbanUpdateBody, annotateConversationBody, observabilityParams, observabilityListParams, deleteUserConversationsBody, deleteUserConversationsResponse, sendMessageBody, listConversationsQuery, flagSourceSchema, getConversationsResponse, getConversationDetailParams, getConversationDetailQuery, getConversationDetailResponse, listWhatsAppTemplatesQuery, sendWhatsAppTemplateBody, copilotSuggestBody, copilotSuggestResponse, CONSULT_THREAD_STATUSES, consultThreadStatus, CONSULT_THREAD_TITLE_MAX, consultThreadTitle, consultThreadSummary, listConsultThreadsQuery, listConsultThreadsResponse, createConsultThreadBody, createConsultThreadResponse, consultThreadIdParam, updateConsultThreadBody, updateConsultThreadResponse, CONSULT_AWAIT_TIMEOUT_MS, billingOrgIdParam, subscriptionItemParams, spendCapBody, growthPacksBody, portalSessionBody, checkoutSessionBody, updateBillingCurrencyBody, invoicesQuery, planKeySchema, billingStatusSchema, billingPlanTypeSchema, dataUsageCountersSchema, REKOR_ENTITLEMENT_CONTRACT_VERSION, entitlementProjectionSchema, rekorEntitlementRefreshMessageSchema, downloadBody, uploadQuery, signUrlBody, outboundSchemaQuery, templateIdParam, listTemplatesQuery, deleteTemplateQuery, templateStatusQuery, createTemplateBody, updateTemplateBody, submitTemplateBody, testTemplateBody, contactIdParam, listContactsQuery, createContactBody, updateContactBody, listIdParam, listListsQuery, listListContactsQuery, createListBody, updateListBody, addListContactsBody, removeListContactsBody, scheduleIdParam, listSchedulesQuery, listExecutionsQuery, createScheduleBody, updateScheduleBody, MAX_RESOURCE_FILE_SIZE, MAX_10MB_BASE64_ENCODED_BYTES, MAX_EVAL_ATTACHMENT_ENCODED_BYTES, MAX_EVAL_ATTACHMENT_CARRIERS, MAX_EVAL_ATTACHMENT_AGGREGATE_ENCODED_BYTES, MAX_RESOURCE_ENCODED_BYTES, MAX_HUB_AS_CODE_RESOURCES, MAX_HUB_AS_CODE_RESOURCE_FILES, MAX_RESOURCE_AGGREGATE_ENCODED_BYTES, MAX_CI_CONFIG_BODY_BYTES, MAX_CALL_OPENING_CARRIERS, MAX_CALL_OPENING_AGGREGATE_ENCODED_BYTES, hubAsCodeStateSchema, hubAsCodeResourceFileSchema, hubAsCodeResourceSchema, uuidPattern, ciUuidSchema, boundedHubAsCodeResourcesSchema, hubAsCodeConfigSchema, ciPullHubIdParam, ciBranchParam, ciPullQuery, ciHubsQuery, ciLookupQuery, ciBranchesQuery, ciSyncBody, ciPushBody, ciDiffBody, ciPublishBody, ciPublishPreviewBody, ciSyncMcpBody, ciOrgResourcesParam, orgResourcesConfigSchema, ciOrgResourcesPushBody, ciOrgResourcesDiffBody, CI_APPLY_ENTITY_KINDS, CI_APPLY_OPERATIONS, ciApplyErrorBaseSchema, ciApplyErrorSchema, ciSyncCountSchema, ciSyncChangesSchema, ciSyncWarningSchema, ciSyncResponseSchema, VERSION_PART, MOBILE_APP_VERSION_RE, mobileAppVersionSchema, MOBILE_PLATFORMS, mobilePlatformSchema, mobileVersionPolicyQuery, mobileVersionPolicySchema, mobileVersionPolicyResponse, adminOrgIdParam, adminOrgAdminIdParam, adminUserIdParam, PRICING_PLAN_ID_RE, adminPlanIdParam, adminOrganizationsQuery, adminUserSearchQuery, kanbanSlugMigrationQuery, adjustQuotaBody, updatePlanBody, addAdminUserBody, MAX_VOICE_CALL_MINUTE_OPS, voiceCallMinuteOps, updatePlatformConfigBody, updateFreeOrgLimitBody, adminScopedTargetShape, adminScopedTargetBody, BRANCHING_ORPHAN_ENTITY_TYPES, BRANCHING_ORPHAN_MAX_TARGETS, adminRepairBranchingOrphansBody, adminRepairLegacyOrgGrantsBody, adminRepairCompedPlansBody, updatePricingPlanBody, dataExplorerSearchQuery, dataExplorerOrgIdParam, dataExplorerHubIdParam, dataExplorerConvIdParam, dataExplorerDoInstancesQuery, dataExplorerNsIdParam, dataExplorerKvKeysBody, dataExplorerKvKeyBody, uuidOrHexId, dataExplorerDeleteOrgParam, dataExplorerDeleteHubParam, dataExplorerDeleteConvParam, dataExplorerDeleteUserParam, dataExplorerDeleteQuery, dataExplorerKvDeleteBody, pitrDoNamespace, pitrBookmarkParam, pitrRestoreBody, healthSamplingTriggerBody, dataExplorerDebugDoType, DEBUG_READ_MAX_LIMIT, DEBUG_READ_DEFAULT_LIMIT, DEBUG_DO_HEX_PREFIX, debugDoEntityId, debugTableName, dataExplorerDebugTablesParam, dataExplorerDebugRowsParam, dataExplorerDebugRowsQuery, dataExplorerDebugAnalyticsTable, debugUuid, dataExplorerDebugAnalyticsRowsParam, dataExplorerDebugAnalyticsRowsQuery, debugHubConvParam, debugMessageIdQuery, sandboxEgressPolicy, SANDBOX_EXEC_MAX_CMD_LENGTH, SANDBOX_EXEC_MAX_ALLOWLIST, SANDBOX_EXEC_MAX_TIMEOUT_MS, adminSandboxExecBody, META_ENTITY_ID_PATTERN, metaEntityId, whatsappCallbackBody, authMeResponse, wsTicketResponse, sessionCheckResponse, logoutResponse, magicCodeSendBody, magicCodeSendResponse, magicCodeVerifyBody, magicCodeVerifyResponse, passwordLoginBody, stateOperationBody, conversationListResourcesQuery, conversationReadResourceQuery, listPendingSchedulesQuery, listHubAggregateSchedulesQuery, reportSourceSchema, intakeReportSourceSchema, reportClassificationSchema, reportStatusSchema, reportLocaleSchema, reportMessageAuthorRoleSchema, reportMessageSchema, sentryRefStatusSchema, createReportBody, editReportBody, reporterReportSummarySchema, reporterListResponseSchema, getReportResponseSchema, reporterTransitionResponseSchema, contestReportBody, reporterListQuery, listReportsQuery, GITHUB_ISSUE_URL_REGEX, githubIssueUrlSchema, transitionReportBody, groupReportsBody, holdReportBody, clickhouseReadyResponse, bootstrapQuery, requestSnapshotChunkMessage, MAX_NAME_LENGTH, MAX_VALUE_LENGTH, MAX_TAGS, MAX_TAG_LENGTH, MAX_SCOPE_HUBS, MAX_SCOPE_TAGS, vaultSecretScopeSchema, vaultCreateBody, vaultUpdateBody, PERMISSIONS, MAX_NAME_LENGTH2, MAX_HUBS_PER_GRANT, MAX_HUB_TAGS_PER_GRANT, MAX_GRANTS, permissionEnum, grantScopeSchema, grantSchema, createTokenBody, tokenOrgIdParam, tokenGrantScopeSchema, tokenGrantSchema, tokenMetadataSchema, listTokensResponse, createTokenResponse, orgTokenSummarySchema, listOrgTokensResponse, invitePreviewQuery, invitePreviewResponse, jsonSchemaSchema, hubUserIdentity, stateValueEntry, getHubUserContextResponse, updateHubUserBody, updateHubUserResponse, unlockHubUserNameResponse, stateResetParams, stateResetResponse, hubAlertsParam, hubAlertSeverity, hubAlert, hubAlertsListResponse, noticeSeveritySchema, noticeStatusSchema, NOTICE_SCOPE_REGEX, noticeScopeSchema, noticeLinkSchema, createNoticeBody, updateNoticeBody, listNoticesQuery, noticeIdParamSchema, ADMIN_SKILL_NAME_REGEX, adminSkillNameParam, REKOR_ACTOR_TYPE_HEADER, REKOR_ACTOR_ID_HEADER, REKOR_ACTOR_LABEL_HEADER, REKOR_ACTOR_ORG_HEADER, REKOR_ACTOR_ADMIN_HEADER, REKOR_CLIENT_HEADER, REKOR_TOOL_ID_HEADER, REKOR_CLIENTS, rekorClientSchema, MAX_REKOR_TOOL_ID_LENGTH, rekorToolIdSchema, DATA_PROXY_MOUNT, DATA_PROXY_PREFIX, REKOR_V1_PREFIX, DATA_PROXY_ORG_QUERY_PARAM, MAX_PROVISIONING_BODY_BYTES, dataProxyQuery, rekorAttestation, REQUIRED_REKOR_ATTESTATION_HEADERS, BASE_DESTRUCTION_MOUNT, BASE_DESTRUCTION_PREFIX, BASE_DESTRUCTION_CONFIRM_PATH, baseDestructionConfirmBody, BASE_DESTRUCTION_GRACE_MS, BASE_DESTRUCTION_CONFIRM_TTL_MS, BASE_DESTRUCTION_ORG_QUERY_PARAM, baseDestructionQuery, baseDestructionParam, baseDestructionInitiateBody, baseDestructionStatus, baseDestructionRequest, baseDestructionListResponse, baseDestructionInitiateResponse, baseDestructionConfirmResponse, baseDestructionCancelResponse, rekorBaseChangeMessageSchema, DESKTOP_SHELL_VERSION_RE, DESKTOP_PLATFORMS, DESKTOP_FLAVORS, desktopShellInfoSchema, DESKTOP_PRESENCE_STATES, desktopPresenceSchema, desktopUpdateSchema, DESKTOP_SIGN_IN_URL_MAX_LENGTH, DESKTOP_APP_PATH_MAX_LENGTH, desktopAppPathSchema, DESKTOP_NOTIFICATION_KINDS, DESKTOP_NOTIFICATION_TITLE_MAX_LENGTH, DESKTOP_NOTIFICATION_BODY_MAX_LENGTH, notificationTitleSchema, notificationBodySchema, desktopNotificationSchema, DESKTOP_BADGE_MAX_COUNT, DESKTOP_BADGE_LABEL_MAX_LENGTH, desktopBadgeSchema, desktopNavigateSchema, desktopSettingsSchema, desktopSettingsChangeSchema, desktopBridgeArgsSchemas, PEOPLE_CONTACT_PAGE_MAX, PEOPLE_CONTACT_PAGE_DEFAULT, PEOPLE_CONTACT_EMAIL_MAX_LENGTH, peopleUserIdSchema, peopleContactInviteBody, peopleContactInviteIdParam, peopleContactUserIdParam, peopleContactBlockBody, peopleContactPageQuery, peopleOutgoingInviteSchema, peopleContactPersonSchema, peopleContactSchema, peopleIncomingInviteSchema, peopleBlockedUserSchema;
|
|
6049
|
+
var uuidSchema, USER_ID_REGEX, paginationSchema, timestampSchema, idParamSchema, clientOptionalString, clientOptionalBoolean, clientOptionalNumber, messageAttachment, MAX_MESSAGE_BODY_BYTES, MAX_ATTACHMENTS_PER_MESSAGE, MESSAGE_ENVELOPE_HEADROOM_BYTES, MAX_AUDIO_FILE_BASE64_BYTES, primaryRegionSchema, placementSourceSchema, orgIdParam, orgAdminIdParam, createOrganizationBody, updateOrganizationBody, addOrgAdminBody, AUTH_TYPE, ORG_CREDENTIAL_AUTH_TYPES, AUTH_TYPE_DISPLAY, LEGACY_AUTH_TYPE_MAP, VALID_AUTH_TYPES, AGENT_ROLES, SAFE_USER_ID_REGEX, SUPPORTED_LOCALES, SUMMARIZATION_THRESHOLD_MIN, SUMMARIZATION_THRESHOLD_MAX, PREVIOUS_CONVERSATIONS_MAX, FLAG_CONDITION_OPERATORS, CONFIDENCE_VARIABLE_SUFFIX, DECISION_SCORE_MIN_LEVELS, DECISION_SCORE_MAX_LEVELS, DECISIONS_MODEL_PREFIXES, DECISION_CAPABLE_AGENT_ROLES, NATIVE_TOOL_SCHEMAS, WAYAI_CONNECTOR, BASE_NATIVE_TOOLS, NATIVE_TOOLS, CATALOG_SIDE_EFFECTS, NATIVE_TOOL_NAMES, previousConversationsCountField, summarizationThresholdField, flagConditionSchema, MONITOR_TRIGGERS, monitorTriggerSchema, MONITOR_FIRING_TRIGGERS, MONITOR_DELAY_SECONDS_MIN, MONITOR_IDLE_DELAY_REQUIRED_MESSAGE, MONITOR_HISTORY_MESSAGES_MAX, monitorHistoryMessagesSchema, monitorIncludeToolResultsSchema, MONITOR_INPUT_SHAPING_KEYS, MONITOR_INPUT_SHAPING_SCHEMAS, MONITOR_INPUT_SHAPING_IDLE_MESSAGE, monitorArgumentSourceSchema, MONITOR_NOTE_TEMPLATE_MAX, MONITOR_STEER_NOTE_MAX, monitorActionSchema, monitorRuleSchema, MONITOR_RULE_KEYS, MONITOR_RULE_SCHEMAS, MONITOR_RULE_TRIGGERS, MONITOR_RULE_TRIGGER_MESSAGE, CALL_UTTERANCE_SPEAKERS, callUtteranceSpeakerSchema, MONITOR_CALL_KEYS, MONITOR_CALL_SCHEMAS, MONITOR_CALL_KEY_MESSAGE, CALL_STEERING_MIN_CONFIDENCE, CALL_UTTERANCE_RULE_NOT_CONFIDENT_MESSAGE, CALL_UTTERANCE_FALLBACK_MESSAGE, CALL_UTTERANCE_FLAG_CONDITIONS_MESSAGE, CALL_STEER_NOTE_BLANK_MESSAGE, MONITOR_USER_MESSAGE_ACTION_KINDS, MONITOR_ASSISTANT_REPLY_ACTION_KINDS, MONITOR_CALL_UTTERANCE_ACTION_KINDS, INSERT_NOTE_TOOL_NAME, RUN_MONITOR_TOOL_NAME, MONITOR_RULE_ALLOWED_NATIVE_TOOLS, MONITOR_RULE_REENTRY_TOOLS, MONITOR_RULE_REENTRY_TRACKS, monitorConfigField, flagConditionsField, agentIdParam, listAgentsQuery, agentConnectionsQuery, createAgentBody, updateAgentBody, AGENT_PARAMETER_TYPES, AGENT_PARAMETER_NAME_REGEX, agentParameterCreateSchema, MAX_AGENT_PARAMETERS_PER_REQUEST, createAgentParametersBody, SLUG_REGEX, slugSchema, INVISIBLE_NAME_CHARS, MAX_KANBAN_STATUSES, MAX_FOLLOWUPS_PER_STATUS, MAX_LANES, MAX_ADDITIONAL_CONTEXT_SCHEMA_BYTES, RESERVED_TEMPLATE_DUMP_NAME, kanbanStatusSlugSchema, followupTypeSchema, EVENT_RELATIVE_FOLLOWUP_TYPES, followupTimeUnitSchema, followupIdSchema, SELECTABLE_FOLLOWUP_TYPES, MAX_LINKED_FOLLOWUP_TARGETS_PER_STATUS, followupSchema, MAX_OUTCOMES_PER_STATUS, kanbanOutcomeSchema, EXCLUSIVE_FLAG_PAIRS, kanbanStatusSchema, kanbanStatusesArraySchema, laneSchema, lanesArraySchema, hubIdParam, hubAdminIdParam, hubUserIdParam, hubIdentityIdParam, hubTeamIdParam, hubTeamUserDeleteParam, hubSchemaQuery, PREVIEW_LABEL_MAX_LENGTH, MAX_ENDED_INDEX_RETENTION_DAYS, MAX_EVAL_RETENTION_DAYS, previewLabelField, createHubBody, updateHubBody, addHubAdminBody, addHubIdentityAuthorizationBody, contactDecisionBody, approveContactBody, listContactAccessQuery, createHubTeamBody, updateHubTeamBody, addHubTeamUserBody, reassignHubUserBody, replicatePreviewBody, updateChannelTestIdentitiesBody, claimCodeChannelParam, claimCodeDeleteParam, connectionIdParam, connectorIdParam, listConnectionsQuery, deleteConnectionQuery, addConnectionBody, editConnectionBody, PRODUCTION_DIRECT_FIELDS, setProductionCredentialBody, registerWhatsappQuery, registerWhatsappBody, retryProvisioningQuery, resendDomainStatusQuery, PLACEHOLDER_TOKENS, ALLOWED_TYPES, SUBSCHEMA_OBJECT_KEYWORDS, SUBSCHEMA_LIST_KEYWORDS, SUBSCHEMA_MAP_KEYWORDS, MAX_SCHEMA_DEPTH, toolIdParam, listToolsQuery, toolAgentQuery, deleteToolQuery, toolConnectionsQuery, nativeToolIdSchema, CONTEXT_BOUNDARIES, contextBoundarySchema, addNativeToolBody, addMcpToolBody, createCustomToolBody, updateCustomToolBody, updateToolExecutionConfigBody, initialValueCreateSchema, initialValueUpdateSchema, stateIdParam, listStatesQuery, stateNameSchema, createStateBody, updateStateBody, reorderStatesBody, variantAiModeSchema, experimentStatusSchema, overlayUpdateSchema, experimentIdParam, variantIdParam, listExperimentsQuery, listVariantsQuery, listOverridesQuery, deleteOverrideQuery, createExperimentBody, updateExperimentBody, setExperimentStatusBody, createVariantBody, updateVariantBody, upsertOverrideBody, orgTagIdParam, listOrgTagsQuery, ORG_TAG_NAME_REGEX, ORG_TAG_NAME_MAX_LENGTH, createOrgTagBody, updateOrgTagBody, orgCredentialIdParam, listOrgCredentialsQuery, createOrgCredentialBody, updateOrgCredentialBody, BASE_CREDENTIAL_MANAGED_BY, BASE_CREDENTIAL_NAME_MAX, baseCredentialNameSchema, createBaseCredentialLinkBody, baseCredentialLinkParams, baseCredentialLinkQuery, orgResourceIdParam, orgResourceFileIdParam, orgResourceFolderIdParam, hubOrgResourceParam, listOrgResourcesQuery, orgIdQuery, createOrgResourceBody, updateOrgResourceBody, createOrgResourceFolderBody, updateOrgResourceFolderBody, uploadOrgResourceFileBody, updateOrgResourceFileBody, uploadOrgSkillZipBody, linkOrgResourceBody, resourceIdParam, listResourcesQuery, createResourceBody, updateResourceBody, syncSkillsBody, resourceFileIdParam, listResourceFilesQuery, createResourceFileBody, updateResourceFileBody, uploadResourceFileBody, uploadSkillZipBody, resourceFolderIdParam, listResourceFoldersQuery, createResourceFolderBody, updateResourceFolderBody, agentResourceQuery, hubResourceQuery, linkAgentResourceBody, updateAgentResourceBody, unlinkAgentResourceQuery, navItemSchema, hubCountResetBody, navItemCountResetBody, typingBody, analyticsHubIdParam, analyticsVariableIdParam, updateVariablePinBody, updateAnalyticsViewBody, NUMERIC_FILTER_OPS, TEXT_FILTER_OPS, CATEGORICAL_FILTER_OPS, VARIABLE_FILTER_OPS, STRUCTURED_QUERY_OPS, STRUCTURED_QUERY_AGGREGATIONS, filterValueSchema, conversationsBody, analyticsConversationIdParam, messagesQuery, conversationDetailDataQuery, analyticsDataBody, structuredQueryBody, analyticsSqlBody, analyticsSqlTable, analyticsSqlSchemaQuery, EVAL_PACING_PRESET_NAMES, PACING_INTERVAL_MIN_MS, PACING_INTERVAL_MAX_MS, EVAL_MAX_RUNS_PER_SCENARIO, EVAL_RUN_DEADLINE_MIN_MS, EVAL_RUN_DEADLINE_MAX_MS, ISO_UTC_RE, paginationSchema2, evalIdParam, sessionIdParam, scenarioSetIdParam, hubIdQuery, evalDateContextSchema, EVAL_FIXTURE_NAME_MAX_LENGTH, evalFixtureOverrideSchema, runSessionQuery, runJourneyQuery, EVAL_INPUT_ROLES, EVAL_INPUT_ROLE_LIST, ROLE_ECHO_MAX, EVAL_INITIAL_STATE_SCOPES, MAX_INITIAL_STATE_ENTRIES, evalInitialStateEntry, evalBody, EVAL_LIST_MAX_LIMIT, evalListLimit, getEvalsQuery, toggleEvalBody, bulkToggleEvalsBody, pacingConfigSchema, EVAL_MAX_SELECTED_SCENARIOS, evalScenarioSelectionEntrySchema, evalScenarioSelectionSchema, sessionConfigSchema, createSessionBody, getSessionsQuery, getSessionResultsQuery, getSessionRunsQuery, evalAnalyticsQuery, getSessionCostQuery, compareSessionsQuery, evalsSqlBody, evalsSqlSchemaQuery, exportResultsQuery, validateEvalBody, hubAgentsQuery, createScenarioSetBody, updateScenarioSetBody, scenarioSetsHubQuery, createScenarioFromConversationBody, createJourneyFromConversationBody, EVAL_ATTACHMENT_HASH_REGEX, evalAttachmentRef, turnMayCarryAttachments, ATTACHMENTS_USER_ONLY_MESSAGE, journeyIdParam, journeyToolCallSchema, journeyTurnSchema, journeyStepOverrideSchema, fixtureField, createJourneyBody, updateJourneyBody, evalSessionConfigResponseSchema, evalSessionResponseSchema, evalSessionListConfigSchema, evalSessionListItemSchema, seedReleaseStatusSchema, EVAL_SESSION_NOT_QUIESCENT, getConversationsQuery, getMessagesQuery, appMessageSenderType, appMessageReceiverType, apiChannelMessage, apiChannelMessageBody, appMessageBody, appMessageResponse, CALL_STATUSES, callStatus, CALL_END_REASONS, callEndReason, CALL_TRANSPORTS, callTransport, CALL_PARTICIPANT_TYPES, callParticipantType, callInstant, MAX_SDP_OFFER_LENGTH, sdpDescription, sdpOffer, MAX_CALL_REQUEST_BODY_BYTES, hubScoped, callSummaryFields, callSummary, callIdParam, createCallBody, createCallResponse, callReadyBody, callHangupBody, callStatusQuery, MAX_REPORTED_DELEGATION_IDS, callDelegationId, callDelegationsBody, callResponse, MAX_CALL_RECORDING_GAPS, callRecordingGap, callRecordingNoteMetadata, CALL_OPENING_LANGUAGES, callOpeningLanguage, CALL_OPENING_MAX_DURATION_MS, CALL_OPENING_MAX_BYTES, CALL_OPENING_CAPTION_MAX_CHARS, CALL_OPENING_CONTENT_TYPES, callOpeningContentType, CALL_OPENING_HASH_REGEX, callOpeningHash, callOpeningCaption, storedCallOpening, MAX_CALL_OPENING_ENCODED_BYTES, MAX_CALL_OPENING_BODY_BYTES, agentCallOpeningParams, putAgentCallOpeningBody, deleteAgentCallOpeningQuery, callOpeningParam, callOpeningQuery, CALLER_LANGUAGE, TTS_VOICE_REPLY_ENABLED_FIELD, COPILOT_TRIGGER_FIELD, AUDIO_LANGUAGE_OPTIONS, whatsapp, instagram, resend, telegram, API_CHANNEL_DELIVERY_EVENTS, apiChannel, OPENAI_REASONING_MODELS, openai, anthropic, googleAiStudio, openRouter, xai, groqStt, openaiStt, elevenLabsStt, openaiTts, groqTts, elevenLabsTts, GEMINI_TTS_VOICES, googleTts, wayai, externalResources, restApiTool, mcpServer, e2b, CLAUDE_HARNESS_MODELS, CLAUDE_HARNESS_MODEL_OPTIONS, HARNESS_MCP_SERVERS_FIELD, HARNESS_EGRESS_FIELDS, claudeAgentSdk, claudeManagedAgents, rekorMemory, SPOKEN_LINE_MAX_CHARS, gptLive, CONNECTORS, evalCallInstant, EVAL_CALL_MIN_SECONDS, EVAL_CALL_MAX_SECONDS, EVAL_CALL_SPOKEN_LINE_MAX_CHARS, hubScoped2, createEvalCallBody, createEvalCallResponse, evalCallConversationQuery, evalCallRecordQuery, evalCallSpeaker, evalCallUtterance, evalCallTurn, evalCallRecording, evalCallRecordResponse, evalCallFinishResponse, updateUserBody, updateProfileBody, pathnameRegex, updatePreferencesBody, registerPushTokenBody, deletePushTokenQuery, recordAiDisclosureAcceptanceBody, activityQuery, deletionModeSchema, deletionRequestBody, archiveHubIdParam, archiveConversationParams, archiveListQuery, archiveMessageObservabilityParams, conversationIdParam, claimBody, releaseBody, transferBody, closeBody, additionalContextPayloadSchema, kanbanUpdateBody, annotateConversationBody, observabilityParams, observabilityListParams, deleteUserConversationsBody, deleteUserConversationsResponse, sendMessageBody, listConversationsQuery, flagSourceSchema, getConversationsResponse, getConversationDetailParams, getConversationDetailQuery, getConversationDetailResponse, listWhatsAppTemplatesQuery, sendWhatsAppTemplateBody, copilotSuggestBody, copilotSuggestResponse, CONSULT_THREAD_STATUSES, consultThreadStatus, CONSULT_THREAD_TITLE_MAX, consultThreadTitle, consultThreadSummary, listConsultThreadsQuery, listConsultThreadsResponse, createConsultThreadBody, createConsultThreadResponse, consultThreadIdParam, updateConsultThreadBody, updateConsultThreadResponse, CONSULT_AWAIT_TIMEOUT_MS, billingOrgIdParam, subscriptionItemParams, spendCapBody, growthPacksBody, portalSessionBody, checkoutSessionBody, updateBillingCurrencyBody, invoicesQuery, planKeySchema, billingStatusSchema, billingPlanTypeSchema, dataUsageCountersSchema, REKOR_ENTITLEMENT_CONTRACT_VERSION, entitlementProjectionSchema, rekorEntitlementRefreshMessageSchema, downloadBody, uploadQuery, signUrlBody, outboundSchemaQuery, templateIdParam, listTemplatesQuery, deleteTemplateQuery, templateStatusQuery, createTemplateBody, updateTemplateBody, submitTemplateBody, testTemplateBody, contactIdParam, listContactsQuery, createContactBody, updateContactBody, listIdParam, listListsQuery, listListContactsQuery, createListBody, updateListBody, addListContactsBody, removeListContactsBody, scheduleIdParam, listSchedulesQuery, listExecutionsQuery, createScheduleBody, updateScheduleBody, MAX_RESOURCE_FILE_SIZE, MAX_10MB_BASE64_ENCODED_BYTES, MAX_EVAL_ATTACHMENT_ENCODED_BYTES, MAX_EVAL_ATTACHMENT_CARRIERS, MAX_EVAL_ATTACHMENT_AGGREGATE_ENCODED_BYTES, MAX_RESOURCE_ENCODED_BYTES, MAX_HUB_AS_CODE_RESOURCES, MAX_HUB_AS_CODE_RESOURCE_FILES, MAX_RESOURCE_AGGREGATE_ENCODED_BYTES, MAX_CI_CONFIG_BODY_BYTES, MAX_CALL_OPENING_CARRIERS, MAX_CALL_OPENING_AGGREGATE_ENCODED_BYTES, hubAsCodeStateSchema, hubAsCodeResourceFileSchema, hubAsCodeResourceSchema, uuidPattern, ciUuidSchema, boundedHubAsCodeResourcesSchema, hubAsCodeConfigSchema, ciPullHubIdParam, ciBranchParam, ciPullQuery, ciHubsQuery, ciLookupQuery, ciBranchesQuery, ciSyncBody, ciPushBody, ciDiffBody, ciPublishBody, ciPublishPreviewBody, ciSyncMcpBody, ciOrgResourcesParam, orgResourcesConfigSchema, ciOrgResourcesPushBody, ciOrgResourcesDiffBody, CI_APPLY_ENTITY_KINDS, CI_APPLY_OPERATIONS, ciApplyErrorBaseSchema, ciApplyErrorSchema, ciSyncCountSchema, ciSyncChangesSchema, ciSyncWarningSchema, ciSyncResponseSchema, VERSION_PART, MOBILE_APP_VERSION_RE, mobileAppVersionSchema, MOBILE_PLATFORMS, mobilePlatformSchema, mobileVersionPolicyQuery, mobileVersionPolicySchema, mobileVersionPolicyResponse, adminOrgIdParam, adminOrgAdminIdParam, adminUserIdParam, PRICING_PLAN_ID_RE, adminPlanIdParam, adminOrganizationsQuery, adminUserSearchQuery, kanbanSlugMigrationQuery, adjustQuotaBody, updatePlanBody, addAdminUserBody, MAX_VOICE_CALL_MINUTE_OPS, voiceCallMinuteOps, updatePlatformConfigBody, updateFreeOrgLimitBody, adminScopedTargetShape, adminScopedTargetBody, BRANCHING_ORPHAN_ENTITY_TYPES, BRANCHING_ORPHAN_MAX_TARGETS, adminRepairBranchingOrphansBody, adminRepairLegacyOrgGrantsBody, adminRepairCompedPlansBody, updatePricingPlanBody, dataExplorerSearchQuery, dataExplorerOrgIdParam, dataExplorerHubIdParam, dataExplorerConvIdParam, dataExplorerDoInstancesQuery, dataExplorerNsIdParam, dataExplorerKvKeysBody, dataExplorerKvKeyBody, uuidOrHexId, dataExplorerDeleteOrgParam, dataExplorerDeleteHubParam, dataExplorerDeleteConvParam, dataExplorerDeleteUserParam, dataExplorerDeleteQuery, dataExplorerKvDeleteBody, pitrDoNamespace, pitrBookmarkParam, pitrRestoreBody, healthSamplingTriggerBody, dataExplorerDebugDoType, DEBUG_READ_MAX_LIMIT, DEBUG_READ_DEFAULT_LIMIT, DEBUG_DO_HEX_PREFIX, debugDoEntityId, debugTableName, dataExplorerDebugTablesParam, dataExplorerDebugRowsParam, dataExplorerDebugRowsQuery, dataExplorerDebugAnalyticsTable, debugUuid, dataExplorerDebugAnalyticsRowsParam, dataExplorerDebugAnalyticsRowsQuery, debugHubConvParam, debugMessageIdQuery, sandboxEgressPolicy, SANDBOX_EXEC_MAX_CMD_LENGTH, SANDBOX_EXEC_MAX_ALLOWLIST, SANDBOX_EXEC_MAX_TIMEOUT_MS, adminSandboxExecBody, META_ENTITY_ID_PATTERN, metaEntityId, whatsappCallbackBody, authMeResponse, wsTicketResponse, sessionCheckResponse, logoutResponse, magicCodeSendBody, magicCodeSendResponse, magicCodeVerifyBody, magicCodeVerifyResponse, passwordLoginBody, stateOperationBody, conversationListResourcesQuery, conversationReadResourceQuery, listPendingSchedulesQuery, listHubAggregateSchedulesQuery, reportSourceSchema, intakeReportSourceSchema, reportClassificationSchema, reportStatusSchema, reportLocaleSchema, reportMessageAuthorRoleSchema, reportMessageSchema, sentryRefStatusSchema, createReportBody, editReportBody, reporterReportSummarySchema, reporterListResponseSchema, getReportResponseSchema, reporterTransitionResponseSchema, contestReportBody, reporterListQuery, listReportsQuery, GITHUB_ISSUE_URL_REGEX, githubIssueUrlSchema, transitionReportBody, groupReportsBody, holdReportBody, clickhouseReadyResponse, bootstrapQuery, requestSnapshotChunkMessage, MAX_NAME_LENGTH, MAX_VALUE_LENGTH, MAX_TAGS, MAX_TAG_LENGTH, MAX_SCOPE_HUBS, MAX_SCOPE_TAGS, vaultSecretScopeSchema, vaultCreateBody, vaultUpdateBody, PERMISSIONS, MAX_NAME_LENGTH2, MAX_HUBS_PER_GRANT, MAX_HUB_TAGS_PER_GRANT, MAX_GRANTS, permissionEnum, grantScopeSchema, grantSchema, createTokenBody, tokenOrgIdParam, tokenGrantScopeSchema, tokenGrantSchema, tokenMetadataSchema, listTokensResponse, createTokenResponse, orgTokenSummarySchema, listOrgTokensResponse, invitePreviewQuery, invitePreviewResponse, jsonSchemaSchema, hubUserIdentity, stateValueEntry, getHubUserContextResponse, updateHubUserBody, updateHubUserResponse, unlockHubUserNameResponse, stateResetParams, stateResetResponse, hubAlertsParam, hubAlertSeverity, hubAlert, hubAlertsListResponse, noticeSeveritySchema, noticeStatusSchema, NOTICE_SCOPE_REGEX, noticeScopeSchema, noticeLinkSchema, createNoticeBody, updateNoticeBody, listNoticesQuery, noticeIdParamSchema, ADMIN_SKILL_NAME_REGEX, adminSkillNameParam, REKOR_ACTOR_TYPE_HEADER, REKOR_ACTOR_ID_HEADER, REKOR_ACTOR_LABEL_HEADER, REKOR_ACTOR_ORG_HEADER, REKOR_ACTOR_ADMIN_HEADER, REKOR_CLIENT_HEADER, REKOR_TOOL_ID_HEADER, REKOR_CLIENTS, rekorClientSchema, MAX_REKOR_TOOL_ID_LENGTH, rekorToolIdSchema, DATA_PROXY_MOUNT, DATA_PROXY_PREFIX, REKOR_V1_PREFIX, DATA_PROXY_ORG_QUERY_PARAM, MAX_PROVISIONING_BODY_BYTES, dataProxyQuery, rekorAttestation, REQUIRED_REKOR_ATTESTATION_HEADERS, BASE_DESTRUCTION_MOUNT, BASE_DESTRUCTION_PREFIX, BASE_DESTRUCTION_CONFIRM_PATH, baseDestructionConfirmBody, BASE_DESTRUCTION_GRACE_MS, BASE_DESTRUCTION_CONFIRM_TTL_MS, BASE_DESTRUCTION_ORG_QUERY_PARAM, baseDestructionQuery, baseDestructionParam, baseDestructionInitiateBody, baseDestructionStatus, baseDestructionRequest, baseDestructionListResponse, baseDestructionInitiateResponse, baseDestructionConfirmResponse, baseDestructionCancelResponse, rekorBaseChangeMessageSchema, DESKTOP_SHELL_VERSION_RE, DESKTOP_PLATFORMS, DESKTOP_FLAVORS, desktopShellInfoSchema, DESKTOP_PRESENCE_STATES, desktopPresenceSchema, desktopUpdateSchema, DESKTOP_SIGN_IN_URL_MAX_LENGTH, DESKTOP_APP_PATH_MAX_LENGTH, desktopAppPathSchema, DESKTOP_NOTIFICATION_KINDS, DESKTOP_NOTIFICATION_TITLE_MAX_LENGTH, DESKTOP_NOTIFICATION_BODY_MAX_LENGTH, notificationTitleSchema, notificationBodySchema, desktopNotificationSchema, DESKTOP_BADGE_MAX_COUNT, DESKTOP_BADGE_LABEL_MAX_LENGTH, desktopBadgeSchema, desktopNavigateSchema, desktopSettingsSchema, desktopSettingsChangeSchema, desktopBridgeArgsSchemas, PEOPLE_CONTACT_PAGE_MAX, PEOPLE_CONTACT_PAGE_DEFAULT, PEOPLE_CONTACT_EMAIL_MAX_LENGTH, peopleUserIdSchema, peopleContactInviteBody, peopleContactInviteIdParam, peopleContactUserIdParam, peopleContactBlockBody, peopleContactPageQuery, peopleOutgoingInviteSchema, peopleContactPersonSchema, peopleContactSchema, peopleIncomingInviteSchema, peopleBlockedUserSchema, PEOPLE_THREAD_MESSAGE_MAX_LENGTH, PEOPLE_THREAD_MESSAGES_PAGE_MAX, PEOPLE_THREAD_PAGE_MAX, PEOPLE_THREAD_PAGE_DEFAULT, peopleThreadIdParam, peopleThreadMessageIdParam, peopleThreadListQuery, peopleThreadMessagesQuery, peopleThreadSendBody, peopleThreadReadBody, peopleThreadSettingsBody, peopleThreadKindSchema, peopleThreadMemberSchema, peopleThreadLastMessageSchema, peopleThreadSummarySchema, peopleThreadMessageSchema;
|
|
6050
6050
|
var init_contracts = __esm({
|
|
6051
6051
|
"../../packages/core/dist/contracts/index.js"() {
|
|
6052
6052
|
"use strict";
|
|
@@ -6107,6 +6107,7 @@ var init_contracts = __esm({
|
|
|
6107
6107
|
init_zod();
|
|
6108
6108
|
init_zod();
|
|
6109
6109
|
init_zod();
|
|
6110
|
+
init_zod();
|
|
6110
6111
|
uuidSchema = external_exports.string().uuid();
|
|
6111
6112
|
USER_ID_REGEX = /^([0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}|user_[A-Za-z0-9]+)$/i;
|
|
6112
6113
|
paginationSchema = external_exports.object({
|
|
@@ -8063,7 +8064,6 @@ var init_contracts = __esm({
|
|
|
8063
8064
|
folder_metadata_schema: external_exports.record(external_exports.unknown()).optional(),
|
|
8064
8065
|
file_metadata_schema: external_exports.record(external_exports.unknown()).optional(),
|
|
8065
8066
|
enabled: external_exports.boolean().optional(),
|
|
8066
|
-
user_browsable: external_exports.boolean().optional(),
|
|
8067
8067
|
tags: external_exports.array(external_exports.string().uuid()).optional(),
|
|
8068
8068
|
environment: external_exports.enum(["preview", "production", "all"]).optional()
|
|
8069
8069
|
});
|
|
@@ -8075,7 +8075,6 @@ var init_contracts = __esm({
|
|
|
8075
8075
|
folder_metadata_schema: external_exports.record(external_exports.unknown()).optional(),
|
|
8076
8076
|
file_metadata_schema: external_exports.record(external_exports.unknown()).optional(),
|
|
8077
8077
|
enabled: external_exports.boolean().optional(),
|
|
8078
|
-
user_browsable: external_exports.boolean().optional(),
|
|
8079
8078
|
tags: external_exports.array(external_exports.string().uuid()).optional(),
|
|
8080
8079
|
environment: external_exports.enum(["preview", "production", "all"]).optional()
|
|
8081
8080
|
});
|
|
@@ -8140,8 +8139,7 @@ var init_contracts = __esm({
|
|
|
8140
8139
|
file_metadata_schema: external_exports.record(external_exports.unknown()).optional(),
|
|
8141
8140
|
resource_type: external_exports.enum(["knowledge", "skill"]).optional(),
|
|
8142
8141
|
skill_name: external_exports.string().optional(),
|
|
8143
|
-
skill_version: external_exports.string().optional()
|
|
8144
|
-
user_browsable: external_exports.boolean().optional()
|
|
8142
|
+
skill_version: external_exports.string().optional()
|
|
8145
8143
|
});
|
|
8146
8144
|
updateResourceBody = external_exports.object({
|
|
8147
8145
|
resource_name: external_exports.string().min(1).optional(),
|
|
@@ -8150,11 +8148,10 @@ var init_contracts = __esm({
|
|
|
8150
8148
|
folder_metadata_schema: external_exports.record(external_exports.unknown()).optional(),
|
|
8151
8149
|
file_metadata_schema: external_exports.record(external_exports.unknown()).optional(),
|
|
8152
8150
|
skill_name: external_exports.string().optional(),
|
|
8153
|
-
skill_version: external_exports.string().optional()
|
|
8151
|
+
skill_version: external_exports.string().optional()
|
|
8154
8152
|
// No `anthropic_skill_id`/`anthropic_version`: `resource` has neither column.
|
|
8155
8153
|
// The provider link lives on `resource_provider_sync.provider_skill_id`,
|
|
8156
8154
|
// written by `skillSync.ts` — never through this body.
|
|
8157
|
-
user_browsable: external_exports.boolean().optional()
|
|
8158
8155
|
});
|
|
8159
8156
|
syncSkillsBody = external_exports.object({
|
|
8160
8157
|
hub_id: uuidSchema,
|
|
@@ -9030,6 +9027,7 @@ var init_contracts = __esm({
|
|
|
9030
9027
|
*/
|
|
9031
9028
|
v: external_exports.string().regex(/^[a-f0-9]{64}\.[a-f0-9]{8}$/, "Expected a call opening version")
|
|
9032
9029
|
});
|
|
9030
|
+
CALLER_LANGUAGE = "caller";
|
|
9033
9031
|
TTS_VOICE_REPLY_ENABLED_FIELD = {
|
|
9034
9032
|
voice_reply_enabled: {
|
|
9035
9033
|
type: "toggle",
|
|
@@ -10022,7 +10020,7 @@ var init_contracts = __esm({
|
|
|
10022
10020
|
// `voice` is in that role's own name (`pilot_voice`).
|
|
10023
10021
|
agent_settings_schema: {
|
|
10024
10022
|
speaker_voice: { type: "select", label: "Voice", allowCustomValue: true, options: ["bossa", "tempo"], default: "bossa", description: "The built-in GPT-Live voice the caller hears. bossa and tempo are Brazilian Portuguese voices; another built-in voice id can be typed." },
|
|
10025
|
-
language: { type: "select", label: "Language", options: [{ value: "", label: "Hub language" }, { value: "pt", label: "Portuguese" }, { value: "en", label: "English" }, { value: "es", label: "Spanish" }], default: "", description: "The language the voice speaks with the caller. Empty uses the hub's language." },
|
|
10023
|
+
language: { type: "select", label: "Language", options: [{ value: "", label: "Hub language" }, { value: CALLER_LANGUAGE, label: "Caller's language" }, { value: "pt", label: "Portuguese" }, { value: "en", label: "English" }, { value: "es", label: "Spanish" }], default: "", description: "The language the voice speaks with the caller. Empty uses the hub's language; Caller's language uses the language in the caller's profile, or the hub's when they have none." },
|
|
10026
10024
|
// The provider ends every session about 2 hours after it starts (`expires_at` is
|
|
10027
10025
|
// start + 7,199 s), so 119 whole minutes is the most a call can last.
|
|
10028
10026
|
max_call_minutes: { type: "number", label: "Maximum Call Length (minutes)", min: 1, max: 119, default: 10, description: "A call ends when it reaches this length." },
|
|
@@ -10243,6 +10241,10 @@ var init_contracts = __esm({
|
|
|
10243
10241
|
deletePushTokenQuery = external_exports.object({
|
|
10244
10242
|
token: external_exports.string().min(1).max(512)
|
|
10245
10243
|
});
|
|
10244
|
+
recordAiDisclosureAcceptanceBody = external_exports.object({
|
|
10245
|
+
version: external_exports.number().int().positive(),
|
|
10246
|
+
withdrawn_at_seen: external_exports.string().datetime().nullable().optional()
|
|
10247
|
+
});
|
|
10246
10248
|
activityQuery = external_exports.object({
|
|
10247
10249
|
limit: external_exports.coerce.number().int().min(1).max(100).optional()
|
|
10248
10250
|
});
|
|
@@ -10874,7 +10876,9 @@ var init_contracts = __esm({
|
|
|
10874
10876
|
// 'knowledge' (default) | 'skill'
|
|
10875
10877
|
description: external_exports.string().optional(),
|
|
10876
10878
|
enabled: external_exports.boolean().optional(),
|
|
10877
|
-
user_browsable
|
|
10879
|
+
// No `user_browsable`: the field is retired (wayai#4710). This schema is `.passthrough()`,
|
|
10880
|
+
// so YAML pulled before that — and a CLI old enough to still send it — keeps parsing;
|
|
10881
|
+
// the diff and apply engines ignore the key.
|
|
10878
10882
|
skill_name: external_exports.string().optional(),
|
|
10879
10883
|
// skill-only; auto-derived when omitted
|
|
10880
10884
|
files: external_exports.array(hubAsCodeResourceFileSchema).optional()
|
|
@@ -11676,7 +11680,12 @@ var init_contracts = __esm({
|
|
|
11676
11680
|
bootstrapQuery = external_exports.object({
|
|
11677
11681
|
active_hub_id: external_exports.string().uuid().optional(),
|
|
11678
11682
|
active_conversation_id: external_exports.string().uuid().optional(),
|
|
11679
|
-
active_nav: external_exports.enum(["chat", "task", "support"]).optional()
|
|
11683
|
+
active_nav: external_exports.enum(["chat", "task", "support"]).optional(),
|
|
11684
|
+
/**
|
|
11685
|
+
* The people thread the URL names (`/chat/threads/:threadId`, gh #4661): the snapshot
|
|
11686
|
+
* preloads it as `people.active_thread` when the viewer is a member.
|
|
11687
|
+
*/
|
|
11688
|
+
active_thread_id: external_exports.string().uuid().optional()
|
|
11680
11689
|
});
|
|
11681
11690
|
requestSnapshotChunkMessage = external_exports.object({
|
|
11682
11691
|
type: external_exports.literal("request_snapshot_chunk"),
|
|
@@ -12138,7 +12147,7 @@ var init_contracts = __esm({
|
|
|
12138
12147
|
display_name: external_exports.string().nullable(),
|
|
12139
12148
|
email: external_exports.string().nullable()
|
|
12140
12149
|
}).strict();
|
|
12141
|
-
peopleContactSchema = peopleContactPersonSchema.extend({ contact_since: timestampSchema }).strict();
|
|
12150
|
+
peopleContactSchema = peopleContactPersonSchema.extend({ contact_since: timestampSchema, thread_id: uuidSchema }).strict();
|
|
12142
12151
|
peopleIncomingInviteSchema = external_exports.object({
|
|
12143
12152
|
invite_id: uuidSchema,
|
|
12144
12153
|
inviter: peopleContactPersonSchema,
|
|
@@ -12146,6 +12155,69 @@ var init_contracts = __esm({
|
|
|
12146
12155
|
expires_at: timestampSchema
|
|
12147
12156
|
}).strict();
|
|
12148
12157
|
peopleBlockedUserSchema = peopleContactPersonSchema.extend({ blocked_at: timestampSchema, deleted_user: external_exports.boolean() }).strict();
|
|
12158
|
+
PEOPLE_THREAD_MESSAGE_MAX_LENGTH = 4e3;
|
|
12159
|
+
PEOPLE_THREAD_MESSAGES_PAGE_MAX = 50;
|
|
12160
|
+
PEOPLE_THREAD_PAGE_MAX = 100;
|
|
12161
|
+
PEOPLE_THREAD_PAGE_DEFAULT = 50;
|
|
12162
|
+
peopleThreadIdParam = external_exports.object({ threadId: uuidSchema });
|
|
12163
|
+
peopleThreadMessageIdParam = external_exports.object({ threadId: uuidSchema, messageId: uuidSchema });
|
|
12164
|
+
peopleThreadListQuery = external_exports.object({
|
|
12165
|
+
cursor: external_exports.string().min(1).max(256).optional(),
|
|
12166
|
+
limit: external_exports.coerce.number().int().min(1).max(PEOPLE_THREAD_PAGE_MAX).default(PEOPLE_THREAD_PAGE_DEFAULT)
|
|
12167
|
+
});
|
|
12168
|
+
peopleThreadMessagesQuery = external_exports.object({
|
|
12169
|
+
before_seq: external_exports.coerce.number().int().min(1).optional(),
|
|
12170
|
+
limit: external_exports.coerce.number().int().min(1).max(PEOPLE_THREAD_MESSAGES_PAGE_MAX).default(PEOPLE_THREAD_MESSAGES_PAGE_MAX)
|
|
12171
|
+
});
|
|
12172
|
+
peopleThreadSendBody = external_exports.object({
|
|
12173
|
+
body: external_exports.string().max(PEOPLE_THREAD_MESSAGE_MAX_LENGTH).refine((s) => s.trim().length > 0, "must not be empty"),
|
|
12174
|
+
client_message_id: uuidSchema.optional()
|
|
12175
|
+
}).strict();
|
|
12176
|
+
peopleThreadReadBody = external_exports.object({ seq: external_exports.number().int().min(0) }).strict();
|
|
12177
|
+
peopleThreadSettingsBody = external_exports.object({
|
|
12178
|
+
muted: external_exports.boolean().optional(),
|
|
12179
|
+
hidden: external_exports.boolean().optional()
|
|
12180
|
+
}).strict().refine((b) => b.muted !== void 0 || b.hidden !== void 0, "nothing to change");
|
|
12181
|
+
peopleThreadKindSchema = external_exports.enum(["dm", "group"]);
|
|
12182
|
+
peopleThreadMemberSchema = external_exports.object({
|
|
12183
|
+
user_id: peopleUserIdSchema,
|
|
12184
|
+
display_name: external_exports.string().nullable(),
|
|
12185
|
+
deleted_user: external_exports.boolean()
|
|
12186
|
+
}).strict();
|
|
12187
|
+
peopleThreadLastMessageSchema = external_exports.object({
|
|
12188
|
+
message_id: uuidSchema,
|
|
12189
|
+
seq: external_exports.number().int().positive(),
|
|
12190
|
+
author_user_id: peopleUserIdSchema,
|
|
12191
|
+
preview: external_exports.string().nullable(),
|
|
12192
|
+
deleted: external_exports.boolean(),
|
|
12193
|
+
created_at: timestampSchema
|
|
12194
|
+
}).strict();
|
|
12195
|
+
peopleThreadSummarySchema = external_exports.object({
|
|
12196
|
+
thread_id: uuidSchema,
|
|
12197
|
+
kind: peopleThreadKindSchema,
|
|
12198
|
+
org_id: external_exports.string().nullable(),
|
|
12199
|
+
org_name: external_exports.string().nullable(),
|
|
12200
|
+
title: external_exports.string().nullable(),
|
|
12201
|
+
counterpart: peopleThreadMemberSchema.nullable(),
|
|
12202
|
+
last_seq: external_exports.number().int().nonnegative(),
|
|
12203
|
+
last_message: peopleThreadLastMessageSchema.nullable(),
|
|
12204
|
+
last_activity_at: timestampSchema,
|
|
12205
|
+
read_seq: external_exports.number().int().nonnegative(),
|
|
12206
|
+
unread_count: external_exports.number().int().nonnegative(),
|
|
12207
|
+
muted: external_exports.boolean(),
|
|
12208
|
+
hidden: external_exports.boolean(),
|
|
12209
|
+
writable: external_exports.boolean()
|
|
12210
|
+
}).strict();
|
|
12211
|
+
peopleThreadMessageSchema = external_exports.object({
|
|
12212
|
+
message_id: uuidSchema,
|
|
12213
|
+
seq: external_exports.number().int().positive(),
|
|
12214
|
+
author_user_id: peopleUserIdSchema,
|
|
12215
|
+
body: external_exports.string().nullable(),
|
|
12216
|
+
deleted: external_exports.boolean(),
|
|
12217
|
+
created_at: timestampSchema,
|
|
12218
|
+
deleted_at: timestampSchema.nullable(),
|
|
12219
|
+
client_message_id: uuidSchema.nullable()
|
|
12220
|
+
}).strict();
|
|
12149
12221
|
}
|
|
12150
12222
|
});
|
|
12151
12223
|
|
|
@@ -14606,7 +14678,7 @@ function findStepBoundaries(transcript) {
|
|
|
14606
14678
|
}
|
|
14607
14679
|
return out;
|
|
14608
14680
|
}
|
|
14609
|
-
var UUID_RE, HEX_RE, WORKOS_ID_RE, OPAQUE_SECRET_RE, BASE64_SECRET_RE, BASE64_MARKER_RE, TOKEN_RE, SENSITIVE_FIELDS, SENSITIVE_KEY_ALTERNATION, SENSITIVE_KEY_PATTERN, JSON_CREDENTIAL_RE, QUERY_CREDENTIAL_RE, REDACTED, PROVIDER_TOKEN_RE, APP_ERROR_BRAND, AppError, LLM_RATE_LIMIT_BRAND, LlmRateLimitError, LLM_PROVIDER_HTTP_BRAND, LlmProviderHttpError, LLM_PROVIDER_CONTENT_BRAND, LlmProviderContentError, LLM_PROVIDER_TIMEOUT_BRAND, LlmProviderTimeoutError, ExternalServiceError, CHANNEL_PROVIDER_HTTP_BRAND, ChannelProviderHttpError, MEDIA_PROVIDER_HTTP_BRAND, MediaProviderHttpError, REKOR_ACTOR_TYPE_HEADER2, REKOR_ACTOR_ID_HEADER2, REKOR_ACTOR_LABEL_HEADER2, REKOR_ACTOR_ORG_HEADER2, REKOR_ACTOR_ADMIN_HEADER2, REKOR_CLIENT_HEADER2, REKOR_TOOL_ID_HEADER2, REKOR_CLIENTS2, rekorClientSchema2, MAX_REKOR_TOOL_ID_LENGTH2, rekorToolIdSchema2, DATA_PROXY_MOUNT2, DATA_PROXY_PREFIX2, DATA_PROXY_ORG_QUERY_PARAM2, MAX_PROVISIONING_BODY_BYTES2, dataProxyQuery2, rekorAttestation2, REQUIRED_REKOR_ATTESTATION_HEADERS2, BASE_DESTRUCTION_MOUNT2, BASE_DESTRUCTION_PREFIX2, BASE_DESTRUCTION_CONFIRM_PATH2, baseDestructionConfirmBody2, BASE_DESTRUCTION_GRACE_MS2, BASE_DESTRUCTION_CONFIRM_TTL_MS2, BASE_DESTRUCTION_ORG_QUERY_PARAM2, baseDestructionQuery2, baseDestructionParam2, baseDestructionInitiateBody2, baseDestructionStatus2, baseDestructionRequest2, baseDestructionListResponse2, baseDestructionInitiateResponse2, baseDestructionConfirmResponse2, baseDestructionCancelResponse2, ENDPOINT_CONFIGS, AUTH_TYPE2, ORG_CREDENTIAL_AUTH_TYPES2, AUTH_TYPE_DISPLAY2, LEGACY_AUTH_TYPE_MAP2, VALID_AUTH_TYPES2, AGENT_ROLES2, SAFE_USER_ID_REGEX2, SUPPORTED_LOCALES2, uuidSchema2, USER_ID_REGEX2, paginationSchema3, timestampSchema2, idParamSchema2, clientOptionalString2, clientOptionalBoolean2, clientOptionalNumber2, messageAttachment2, MAX_MESSAGE_BODY_BYTES2, MAX_ATTACHMENTS_PER_MESSAGE2, MESSAGE_ENVELOPE_HEADROOM_BYTES2, MAX_AUDIO_FILE_BASE64_BYTES2, primaryRegionSchema2, placementSourceSchema2, orgIdParam2, orgAdminIdParam2, createOrganizationBody2, updateOrganizationBody2, addOrgAdminBody2, SUMMARIZATION_THRESHOLD_MIN2, SUMMARIZATION_THRESHOLD_MAX2, PREVIOUS_CONVERSATIONS_MAX2, FLAG_CONDITION_OPERATORS2, CONFIDENCE_VARIABLE_SUFFIX2, DECISION_SCORE_MIN_LEVELS2, DECISION_SCORE_MAX_LEVELS2, DECISIONS_MODEL_PREFIXES2, DECISION_CAPABLE_AGENT_ROLES2, NATIVE_TOOL_SCHEMAS2, WAYAI_CONNECTOR2, BASE_NATIVE_TOOLS2, NATIVE_TOOLS2, CATALOG_SIDE_EFFECTS2, NATIVE_TOOL_NAMES2, previousConversationsCountField2, summarizationThresholdField2, flagConditionSchema2, MONITOR_TRIGGERS2, monitorTriggerSchema2, MONITOR_FIRING_TRIGGERS2, MONITOR_DELAY_SECONDS_MIN2, MONITOR_IDLE_DELAY_REQUIRED_MESSAGE2, MONITOR_HISTORY_MESSAGES_MAX2, monitorHistoryMessagesSchema2, monitorIncludeToolResultsSchema2, MONITOR_INPUT_SHAPING_KEYS2, MONITOR_INPUT_SHAPING_SCHEMAS2, MONITOR_INPUT_SHAPING_IDLE_MESSAGE2, monitorArgumentSourceSchema2, MONITOR_NOTE_TEMPLATE_MAX2, MONITOR_STEER_NOTE_MAX2, monitorActionSchema2, monitorRuleSchema2, MONITOR_RULE_KEYS2, MONITOR_RULE_SCHEMAS2, MONITOR_RULE_TRIGGERS2, MONITOR_RULE_TRIGGER_MESSAGE2, CALL_UTTERANCE_SPEAKERS2, callUtteranceSpeakerSchema2, MONITOR_CALL_KEYS2, MONITOR_CALL_SCHEMAS2, MONITOR_CALL_KEY_MESSAGE2, CALL_STEERING_MIN_CONFIDENCE2, CALL_UTTERANCE_RULE_NOT_CONFIDENT_MESSAGE2, CALL_UTTERANCE_FALLBACK_MESSAGE2, CALL_UTTERANCE_FLAG_CONDITIONS_MESSAGE2, CALL_STEER_NOTE_BLANK_MESSAGE2, MONITOR_USER_MESSAGE_ACTION_KINDS2, MONITOR_ASSISTANT_REPLY_ACTION_KINDS2, MONITOR_CALL_UTTERANCE_ACTION_KINDS2, INSERT_NOTE_TOOL_NAME2, RUN_MONITOR_TOOL_NAME2, MONITOR_RULE_ALLOWED_NATIVE_TOOLS2, MONITOR_RULE_REENTRY_TOOLS2, MONITOR_RULE_REENTRY_TRACKS2, monitorConfigField2, flagConditionsField2, agentIdParam2, listAgentsQuery2, agentConnectionsQuery2, createAgentBody2, updateAgentBody2, AGENT_PARAMETER_TYPES2, AGENT_PARAMETER_NAME_REGEX2, agentParameterCreateSchema2, MAX_AGENT_PARAMETERS_PER_REQUEST2, createAgentParametersBody2, SLUG_REGEX2, slugSchema2, INVISIBLE_NAME_CHARS2, MAX_KANBAN_STATUSES2, MAX_FOLLOWUPS_PER_STATUS2, MAX_LANES2, MAX_ADDITIONAL_CONTEXT_SCHEMA_BYTES2, RESERVED_TEMPLATE_DUMP_NAME2, kanbanStatusSlugSchema2, followupTypeSchema2, EVENT_RELATIVE_FOLLOWUP_TYPES2, followupTimeUnitSchema2, followupIdSchema2, SELECTABLE_FOLLOWUP_TYPES2, MAX_LINKED_FOLLOWUP_TARGETS_PER_STATUS2, followupSchema2, MAX_OUTCOMES_PER_STATUS2, kanbanOutcomeSchema2, EXCLUSIVE_FLAG_PAIRS2, kanbanStatusSchema2, kanbanStatusesArraySchema2, laneSchema2, lanesArraySchema2, hubIdParam2, hubAdminIdParam2, hubUserIdParam2, hubIdentityIdParam2, hubTeamIdParam2, hubTeamUserDeleteParam2, hubSchemaQuery2, PREVIEW_LABEL_MAX_LENGTH2, MAX_ENDED_INDEX_RETENTION_DAYS2, MAX_EVAL_RETENTION_DAYS2, previewLabelField2, createHubBody2, updateHubBody2, addHubAdminBody2, addHubIdentityAuthorizationBody2, contactDecisionBody2, approveContactBody2, listContactAccessQuery2, createHubTeamBody2, updateHubTeamBody2, addHubTeamUserBody2, reassignHubUserBody2, replicatePreviewBody2, updateChannelTestIdentitiesBody2, claimCodeChannelParam2, claimCodeDeleteParam2, connectionIdParam2, connectorIdParam2, listConnectionsQuery2, deleteConnectionQuery2, addConnectionBody2, editConnectionBody2, PRODUCTION_DIRECT_FIELDS2, setProductionCredentialBody2, registerWhatsappQuery2, registerWhatsappBody2, retryProvisioningQuery2, resendDomainStatusQuery2, PLACEHOLDER_TOKENS2, ALLOWED_TYPES2, SUBSCHEMA_OBJECT_KEYWORDS2, SUBSCHEMA_LIST_KEYWORDS2, SUBSCHEMA_MAP_KEYWORDS2, MAX_SCHEMA_DEPTH2, toolIdParam2, listToolsQuery2, toolAgentQuery2, deleteToolQuery2, toolConnectionsQuery2, nativeToolIdSchema2, CONTEXT_BOUNDARIES2, contextBoundarySchema2, addNativeToolBody2, addMcpToolBody2, createCustomToolBody2, updateCustomToolBody2, updateToolExecutionConfigBody2, initialValueCreateSchema2, initialValueUpdateSchema2, stateIdParam2, listStatesQuery2, stateNameSchema2, createStateBody2, updateStateBody2, reorderStatesBody2, variantAiModeSchema2, experimentStatusSchema2, overlayUpdateSchema2, experimentIdParam2, variantIdParam2, listExperimentsQuery2, listVariantsQuery2, listOverridesQuery2, deleteOverrideQuery2, createExperimentBody2, updateExperimentBody2, setExperimentStatusBody2, createVariantBody2, updateVariantBody2, upsertOverrideBody2, orgTagIdParam2, listOrgTagsQuery2, ORG_TAG_NAME_REGEX2, ORG_TAG_NAME_MAX_LENGTH2, createOrgTagBody2, updateOrgTagBody2, orgCredentialIdParam2, listOrgCredentialsQuery2, createOrgCredentialBody2, updateOrgCredentialBody2, BASE_CREDENTIAL_NAME_MAX2, baseCredentialNameSchema2, createBaseCredentialLinkBody2, baseCredentialLinkParams2, baseCredentialLinkQuery2, orgResourceIdParam2, orgResourceFileIdParam2, orgResourceFolderIdParam2, hubOrgResourceParam2, listOrgResourcesQuery2, orgIdQuery2, createOrgResourceBody2, updateOrgResourceBody2, createOrgResourceFolderBody2, updateOrgResourceFolderBody2, uploadOrgResourceFileBody2, updateOrgResourceFileBody2, uploadOrgSkillZipBody2, linkOrgResourceBody2, resourceIdParam2, listResourcesQuery2, createResourceBody2, updateResourceBody2, syncSkillsBody2, resourceFileIdParam2, listResourceFilesQuery2, createResourceFileBody2, updateResourceFileBody2, uploadResourceFileBody2, uploadSkillZipBody2, resourceFolderIdParam2, listResourceFoldersQuery2, createResourceFolderBody2, updateResourceFolderBody2, agentResourceQuery2, hubResourceQuery2, linkAgentResourceBody2, updateAgentResourceBody2, unlinkAgentResourceQuery2, navItemSchema2, hubCountResetBody2, navItemCountResetBody2, typingBody2, analyticsHubIdParam2, analyticsVariableIdParam2, updateVariablePinBody2, updateAnalyticsViewBody2, NUMERIC_FILTER_OPS2, TEXT_FILTER_OPS2, CATEGORICAL_FILTER_OPS2, VARIABLE_FILTER_OPS2, STRUCTURED_QUERY_OPS2, STRUCTURED_QUERY_AGGREGATIONS2, filterValueSchema2, conversationsBody2, analyticsConversationIdParam2, messagesQuery2, conversationDetailDataQuery2, analyticsDataBody2, structuredQueryBody2, analyticsSqlBody2, analyticsSqlTable2, analyticsSqlSchemaQuery2, EVAL_PACING_PRESET_NAMES2, PACING_INTERVAL_MIN_MS2, PACING_INTERVAL_MAX_MS2, EVAL_MAX_RUNS_PER_SCENARIO2, EVAL_RUN_DEADLINE_MIN_MS2, EVAL_RUN_DEADLINE_MAX_MS2, ISO_UTC_RE2, paginationSchema22, evalIdParam2, sessionIdParam2, scenarioSetIdParam2, hubIdQuery2, evalDateContextSchema2, EVAL_FIXTURE_NAME_MAX_LENGTH2, evalFixtureOverrideSchema2, runSessionQuery2, runJourneyQuery2, EVAL_INPUT_ROLES2, EVAL_INPUT_ROLE_LIST2, ROLE_ECHO_MAX2, EVAL_INITIAL_STATE_SCOPES2, MAX_INITIAL_STATE_ENTRIES2, evalInitialStateEntry2, evalBody2, EVAL_LIST_MAX_LIMIT2, evalListLimit2, getEvalsQuery2, toggleEvalBody2, bulkToggleEvalsBody2, pacingConfigSchema2, EVAL_MAX_SELECTED_SCENARIOS2, evalScenarioSelectionEntrySchema2, evalScenarioSelectionSchema2, sessionConfigSchema2, createSessionBody2, getSessionsQuery2, getSessionResultsQuery2, getSessionRunsQuery2, evalAnalyticsQuery2, getSessionCostQuery2, compareSessionsQuery2, evalsSqlBody2, evalsSqlSchemaQuery2, exportResultsQuery2, validateEvalBody2, hubAgentsQuery2, createScenarioSetBody2, updateScenarioSetBody2, scenarioSetsHubQuery2, createScenarioFromConversationBody2, createJourneyFromConversationBody2, EVAL_ATTACHMENT_HASH_REGEX2, evalAttachmentRef2, turnMayCarryAttachments2, ATTACHMENTS_USER_ONLY_MESSAGE2, journeyIdParam2, journeyToolCallSchema2, journeyTurnSchema2, journeyStepOverrideSchema2, fixtureField2, createJourneyBody2, updateJourneyBody2, evalSessionConfigResponseSchema2, evalSessionResponseSchema2, evalSessionListConfigSchema2, evalSessionListItemSchema2, seedReleaseStatusSchema2, getConversationsQuery2, getMessagesQuery2, appMessageSenderType2, appMessageReceiverType2, apiChannelMessage2, apiChannelMessageBody2, appMessageBody2, appMessageResponse2, CALL_STATUSES2, callStatus2, CALL_END_REASONS2, callEndReason2, CALL_TRANSPORTS2, callTransport2, CALL_PARTICIPANT_TYPES2, callParticipantType2, callInstant2, MAX_SDP_OFFER_LENGTH2, sdpDescription2, sdpOffer2, MAX_CALL_REQUEST_BODY_BYTES2, hubScoped3, callSummaryFields2, callSummary2, callIdParam2, createCallBody2, createCallResponse2, callReadyBody2, callHangupBody2, callStatusQuery2, MAX_REPORTED_DELEGATION_IDS2, callDelegationId2, callDelegationsBody2, callResponse2, MAX_CALL_RECORDING_GAPS2, callRecordingGap2, callRecordingNoteMetadata2, CALL_OPENING_LANGUAGES2, callOpeningLanguage2, CALL_OPENING_MAX_DURATION_MS2, CALL_OPENING_MAX_BYTES2, CALL_OPENING_CAPTION_MAX_CHARS2, CALL_OPENING_CONTENT_TYPES2, callOpeningContentType2, CALL_OPENING_HASH_REGEX2, callOpeningHash2, callOpeningCaption2, storedCallOpening2, MAX_CALL_OPENING_ENCODED_BYTES2, MAX_CALL_OPENING_BODY_BYTES2, agentCallOpeningParams2, putAgentCallOpeningBody2, deleteAgentCallOpeningQuery2, callOpeningParam2, callOpeningQuery2, TTS_VOICE_REPLY_ENABLED_FIELD2, COPILOT_TRIGGER_FIELD2, AUDIO_LANGUAGE_OPTIONS2, whatsapp2, instagram2, resend2, telegram2, API_CHANNEL_DELIVERY_EVENTS2, apiChannel2, OPENAI_REASONING_MODELS2, openai2, anthropic2, googleAiStudio2, openRouter2, xai2, groqStt2, openaiStt2, elevenLabsStt2, openaiTts2, groqTts2, elevenLabsTts2, GEMINI_TTS_VOICES2, googleTts2, wayai2, externalResources2, restApiTool2, mcpServer2, e2b2, CLAUDE_HARNESS_MODELS2, CLAUDE_HARNESS_MODEL_OPTIONS2, HARNESS_MCP_SERVERS_FIELD2, HARNESS_EGRESS_FIELDS2, claudeAgentSdk2, claudeManagedAgents2, rekorMemory2, SPOKEN_LINE_MAX_CHARS2, gptLive2, CONNECTORS2, evalCallInstant2, EVAL_CALL_MIN_SECONDS2, EVAL_CALL_MAX_SECONDS2, EVAL_CALL_SPOKEN_LINE_MAX_CHARS2, hubScoped22, createEvalCallBody2, createEvalCallResponse2, evalCallConversationQuery2, evalCallRecordQuery2, evalCallSpeaker2, evalCallUtterance2, evalCallTurn2, evalCallRecording2, evalCallRecordResponse2, evalCallFinishResponse2, updateUserBody2, updateProfileBody2, pathnameRegex2, updatePreferencesBody2, registerPushTokenBody2, deletePushTokenQuery2, activityQuery2, deletionModeSchema2, deletionRequestBody2, archiveHubIdParam2, archiveConversationParams2, archiveListQuery2, archiveMessageObservabilityParams2, conversationIdParam2, claimBody2, releaseBody2, transferBody2, closeBody2, additionalContextPayloadSchema2, kanbanUpdateBody2, annotateConversationBody2, observabilityParams2, observabilityListParams2, deleteUserConversationsBody2, deleteUserConversationsResponse2, sendMessageBody2, listConversationsQuery2, flagSourceSchema2, getConversationsResponse2, getConversationDetailParams2, getConversationDetailQuery2, getConversationDetailResponse2, listWhatsAppTemplatesQuery2, sendWhatsAppTemplateBody2, copilotSuggestBody2, copilotSuggestResponse2, CONSULT_THREAD_STATUSES2, consultThreadStatus2, CONSULT_THREAD_TITLE_MAX2, consultThreadTitle2, consultThreadSummary2, listConsultThreadsQuery2, listConsultThreadsResponse2, createConsultThreadBody2, createConsultThreadResponse2, consultThreadIdParam2, updateConsultThreadBody2, updateConsultThreadResponse2, CONSULT_AWAIT_TIMEOUT_MS2, billingOrgIdParam2, subscriptionItemParams2, spendCapBody2, growthPacksBody2, portalSessionBody2, checkoutSessionBody2, updateBillingCurrencyBody2, invoicesQuery2, planKeySchema2, billingStatusSchema2, billingPlanTypeSchema2, dataUsageCountersSchema2, REKOR_ENTITLEMENT_CONTRACT_VERSION2, entitlementProjectionSchema2, rekorEntitlementRefreshMessageSchema2, downloadBody2, uploadQuery2, signUrlBody2, outboundSchemaQuery2, templateIdParam2, listTemplatesQuery2, deleteTemplateQuery2, templateStatusQuery2, createTemplateBody2, updateTemplateBody2, submitTemplateBody2, testTemplateBody2, contactIdParam2, listContactsQuery2, createContactBody2, updateContactBody2, listIdParam2, listListsQuery2, listListContactsQuery2, createListBody2, updateListBody2, addListContactsBody2, removeListContactsBody2, scheduleIdParam2, listSchedulesQuery2, listExecutionsQuery2, createScheduleBody2, updateScheduleBody2, MAX_RESOURCE_FILE_SIZE2, MAX_10MB_BASE64_ENCODED_BYTES2, MAX_EVAL_ATTACHMENT_ENCODED_BYTES2, MAX_EVAL_ATTACHMENT_CARRIERS2, MAX_EVAL_ATTACHMENT_AGGREGATE_ENCODED_BYTES2, MAX_RESOURCE_ENCODED_BYTES2, MAX_HUB_AS_CODE_RESOURCES2, MAX_HUB_AS_CODE_RESOURCE_FILES2, MAX_RESOURCE_AGGREGATE_ENCODED_BYTES2, MAX_CI_CONFIG_BODY_BYTES2, MAX_CALL_OPENING_CARRIERS2, MAX_CALL_OPENING_AGGREGATE_ENCODED_BYTES2, hubAsCodeStateSchema2, hubAsCodeResourceFileSchema2, hubAsCodeResourceSchema2, uuidPattern2, ciUuidSchema2, boundedHubAsCodeResourcesSchema2, hubAsCodeConfigSchema2, ciPullHubIdParam2, ciBranchParam2, ciPullQuery2, ciHubsQuery2, ciLookupQuery2, ciBranchesQuery2, ciSyncBody2, ciPushBody2, ciDiffBody2, ciPublishBody2, ciPublishPreviewBody2, ciSyncMcpBody2, ciOrgResourcesParam2, orgResourcesConfigSchema2, ciOrgResourcesPushBody2, ciOrgResourcesDiffBody2, CI_APPLY_ENTITY_KINDS2, CI_APPLY_OPERATIONS2, ciApplyErrorBaseSchema2, ciApplyErrorSchema2, ciSyncCountSchema2, ciSyncChangesSchema2, ciSyncWarningSchema2, ciSyncResponseSchema2, VERSION_PART2, MOBILE_APP_VERSION_RE2, mobileAppVersionSchema2, MOBILE_PLATFORMS2, mobilePlatformSchema2, mobileVersionPolicyQuery2, mobileVersionPolicySchema2, mobileVersionPolicyResponse2, adminOrgIdParam2, adminOrgAdminIdParam2, adminUserIdParam2, PRICING_PLAN_ID_RE2, adminPlanIdParam2, adminOrganizationsQuery2, adminUserSearchQuery2, kanbanSlugMigrationQuery2, adjustQuotaBody2, updatePlanBody2, addAdminUserBody2, MAX_VOICE_CALL_MINUTE_OPS2, voiceCallMinuteOps2, updatePlatformConfigBody2, updateFreeOrgLimitBody2, adminScopedTargetShape2, adminScopedTargetBody2, BRANCHING_ORPHAN_ENTITY_TYPES2, BRANCHING_ORPHAN_MAX_TARGETS2, adminRepairBranchingOrphansBody2, adminRepairLegacyOrgGrantsBody2, adminRepairCompedPlansBody2, updatePricingPlanBody2, dataExplorerSearchQuery2, dataExplorerOrgIdParam2, dataExplorerHubIdParam2, dataExplorerConvIdParam2, dataExplorerDoInstancesQuery2, dataExplorerNsIdParam2, dataExplorerKvKeysBody2, dataExplorerKvKeyBody2, uuidOrHexId2, dataExplorerDeleteOrgParam2, dataExplorerDeleteHubParam2, dataExplorerDeleteConvParam2, dataExplorerDeleteUserParam2, dataExplorerDeleteQuery2, dataExplorerKvDeleteBody2, pitrDoNamespace2, pitrBookmarkParam2, pitrRestoreBody2, healthSamplingTriggerBody2, dataExplorerDebugDoType2, DEBUG_READ_MAX_LIMIT2, DEBUG_READ_DEFAULT_LIMIT2, DEBUG_DO_HEX_PREFIX2, debugDoEntityId2, debugTableName2, dataExplorerDebugTablesParam2, dataExplorerDebugRowsParam2, dataExplorerDebugRowsQuery2, dataExplorerDebugAnalyticsTable2, debugUuid2, dataExplorerDebugAnalyticsRowsParam2, dataExplorerDebugAnalyticsRowsQuery2, debugHubConvParam2, debugMessageIdQuery2, sandboxEgressPolicy2, SANDBOX_EXEC_MAX_CMD_LENGTH2, SANDBOX_EXEC_MAX_ALLOWLIST2, SANDBOX_EXEC_MAX_TIMEOUT_MS2, adminSandboxExecBody2, META_ENTITY_ID_PATTERN2, metaEntityId2, whatsappCallbackBody2, authMeResponse2, wsTicketResponse2, sessionCheckResponse2, logoutResponse2, magicCodeSendBody2, magicCodeSendResponse2, magicCodeVerifyBody2, magicCodeVerifyResponse2, passwordLoginBody2, stateOperationBody2, conversationListResourcesQuery2, conversationReadResourceQuery2, listPendingSchedulesQuery2, listHubAggregateSchedulesQuery2, reportSourceSchema2, intakeReportSourceSchema2, reportClassificationSchema2, reportStatusSchema2, reportLocaleSchema2, reportMessageAuthorRoleSchema2, reportMessageSchema2, sentryRefStatusSchema2, createReportBody2, editReportBody2, reporterReportSummarySchema2, reporterListResponseSchema2, getReportResponseSchema2, reporterTransitionResponseSchema2, contestReportBody2, reporterListQuery2, listReportsQuery2, GITHUB_ISSUE_URL_REGEX2, githubIssueUrlSchema2, transitionReportBody2, groupReportsBody2, holdReportBody2, clickhouseReadyResponse2, bootstrapQuery2, requestSnapshotChunkMessage2, MAX_NAME_LENGTH3, MAX_VALUE_LENGTH2, MAX_TAGS2, MAX_TAG_LENGTH2, MAX_SCOPE_HUBS2, MAX_SCOPE_TAGS2, vaultSecretScopeSchema2, vaultCreateBody2, vaultUpdateBody2, PERMISSIONS2, MAX_NAME_LENGTH22, MAX_HUBS_PER_GRANT2, MAX_HUB_TAGS_PER_GRANT2, MAX_GRANTS2, permissionEnum2, grantScopeSchema2, grantSchema2, createTokenBody2, tokenOrgIdParam2, tokenGrantScopeSchema2, tokenGrantSchema2, tokenMetadataSchema2, listTokensResponse2, createTokenResponse2, orgTokenSummarySchema2, listOrgTokensResponse2, invitePreviewQuery2, invitePreviewResponse2, jsonSchemaSchema2, hubUserIdentity2, stateValueEntry2, getHubUserContextResponse2, updateHubUserBody2, updateHubUserResponse2, unlockHubUserNameResponse2, stateResetParams2, stateResetResponse2, hubAlertsParam2, hubAlertSeverity2, hubAlert2, hubAlertsListResponse2, noticeSeveritySchema2, noticeStatusSchema2, NOTICE_SCOPE_REGEX2, noticeScopeSchema2, noticeLinkSchema2, createNoticeBody2, updateNoticeBody2, listNoticesQuery2, noticeIdParamSchema2, ADMIN_SKILL_NAME_REGEX2, adminSkillNameParam2, rekorBaseChangeMessageSchema2, DESKTOP_SHELL_VERSION_RE2, DESKTOP_PLATFORMS2, DESKTOP_FLAVORS2, desktopShellInfoSchema2, DESKTOP_PRESENCE_STATES2, desktopPresenceSchema2, desktopUpdateSchema2, DESKTOP_SIGN_IN_URL_MAX_LENGTH2, DESKTOP_APP_PATH_MAX_LENGTH2, desktopAppPathSchema2, DESKTOP_NOTIFICATION_KINDS2, DESKTOP_NOTIFICATION_TITLE_MAX_LENGTH2, DESKTOP_NOTIFICATION_BODY_MAX_LENGTH2, notificationTitleSchema2, notificationBodySchema2, desktopNotificationSchema2, DESKTOP_BADGE_MAX_COUNT2, DESKTOP_BADGE_LABEL_MAX_LENGTH2, desktopBadgeSchema2, desktopNavigateSchema2, desktopSettingsSchema2, desktopSettingsChangeSchema2, desktopBridgeArgsSchemas2, PEOPLE_CONTACT_PAGE_MAX2, PEOPLE_CONTACT_PAGE_DEFAULT2, PEOPLE_CONTACT_EMAIL_MAX_LENGTH2, peopleUserIdSchema2, peopleContactInviteBody2, peopleContactInviteIdParam2, peopleContactUserIdParam2, peopleContactBlockBody2, peopleContactPageQuery2, peopleOutgoingInviteSchema2, peopleContactPersonSchema2, peopleContactSchema2, peopleIncomingInviteSchema2, peopleBlockedUserSchema2, WAYAI_WORKSPACE_LAYOUT, decisionAnswerSchema, decisionsResponseSchema;
|
|
14681
|
+
var UUID_RE, HEX_RE, WORKOS_ID_RE, OPAQUE_SECRET_RE, BASE64_SECRET_RE, BASE64_MARKER_RE, TOKEN_RE, SENSITIVE_FIELDS, SENSITIVE_KEY_ALTERNATION, SENSITIVE_KEY_PATTERN, JSON_CREDENTIAL_RE, QUERY_CREDENTIAL_RE, REDACTED, PROVIDER_TOKEN_RE, APP_ERROR_BRAND, AppError, LLM_RATE_LIMIT_BRAND, LlmRateLimitError, LLM_PROVIDER_HTTP_BRAND, LlmProviderHttpError, LLM_PROVIDER_CONTENT_BRAND, LlmProviderContentError, LLM_PROVIDER_TIMEOUT_BRAND, LlmProviderTimeoutError, ExternalServiceError, CHANNEL_PROVIDER_HTTP_BRAND, ChannelProviderHttpError, MEDIA_PROVIDER_HTTP_BRAND, MediaProviderHttpError, REKOR_ACTOR_TYPE_HEADER2, REKOR_ACTOR_ID_HEADER2, REKOR_ACTOR_LABEL_HEADER2, REKOR_ACTOR_ORG_HEADER2, REKOR_ACTOR_ADMIN_HEADER2, REKOR_CLIENT_HEADER2, REKOR_TOOL_ID_HEADER2, REKOR_CLIENTS2, rekorClientSchema2, MAX_REKOR_TOOL_ID_LENGTH2, rekorToolIdSchema2, DATA_PROXY_MOUNT2, DATA_PROXY_PREFIX2, DATA_PROXY_ORG_QUERY_PARAM2, MAX_PROVISIONING_BODY_BYTES2, dataProxyQuery2, rekorAttestation2, REQUIRED_REKOR_ATTESTATION_HEADERS2, BASE_DESTRUCTION_MOUNT2, BASE_DESTRUCTION_PREFIX2, BASE_DESTRUCTION_CONFIRM_PATH2, baseDestructionConfirmBody2, BASE_DESTRUCTION_GRACE_MS2, BASE_DESTRUCTION_CONFIRM_TTL_MS2, BASE_DESTRUCTION_ORG_QUERY_PARAM2, baseDestructionQuery2, baseDestructionParam2, baseDestructionInitiateBody2, baseDestructionStatus2, baseDestructionRequest2, baseDestructionListResponse2, baseDestructionInitiateResponse2, baseDestructionConfirmResponse2, baseDestructionCancelResponse2, ENDPOINT_CONFIGS, AUTH_TYPE2, ORG_CREDENTIAL_AUTH_TYPES2, AUTH_TYPE_DISPLAY2, LEGACY_AUTH_TYPE_MAP2, VALID_AUTH_TYPES2, AGENT_ROLES2, SAFE_USER_ID_REGEX2, SUPPORTED_LOCALES2, uuidSchema2, USER_ID_REGEX2, paginationSchema3, timestampSchema2, idParamSchema2, clientOptionalString2, clientOptionalBoolean2, clientOptionalNumber2, messageAttachment2, MAX_MESSAGE_BODY_BYTES2, MAX_ATTACHMENTS_PER_MESSAGE2, MESSAGE_ENVELOPE_HEADROOM_BYTES2, MAX_AUDIO_FILE_BASE64_BYTES2, primaryRegionSchema2, placementSourceSchema2, orgIdParam2, orgAdminIdParam2, createOrganizationBody2, updateOrganizationBody2, addOrgAdminBody2, SUMMARIZATION_THRESHOLD_MIN2, SUMMARIZATION_THRESHOLD_MAX2, PREVIOUS_CONVERSATIONS_MAX2, FLAG_CONDITION_OPERATORS2, CONFIDENCE_VARIABLE_SUFFIX2, DECISION_SCORE_MIN_LEVELS2, DECISION_SCORE_MAX_LEVELS2, DECISIONS_MODEL_PREFIXES2, DECISION_CAPABLE_AGENT_ROLES2, NATIVE_TOOL_SCHEMAS2, WAYAI_CONNECTOR2, BASE_NATIVE_TOOLS2, NATIVE_TOOLS2, CATALOG_SIDE_EFFECTS2, NATIVE_TOOL_NAMES2, previousConversationsCountField2, summarizationThresholdField2, flagConditionSchema2, MONITOR_TRIGGERS2, monitorTriggerSchema2, MONITOR_FIRING_TRIGGERS2, MONITOR_DELAY_SECONDS_MIN2, MONITOR_IDLE_DELAY_REQUIRED_MESSAGE2, MONITOR_HISTORY_MESSAGES_MAX2, monitorHistoryMessagesSchema2, monitorIncludeToolResultsSchema2, MONITOR_INPUT_SHAPING_KEYS2, MONITOR_INPUT_SHAPING_SCHEMAS2, MONITOR_INPUT_SHAPING_IDLE_MESSAGE2, monitorArgumentSourceSchema2, MONITOR_NOTE_TEMPLATE_MAX2, MONITOR_STEER_NOTE_MAX2, monitorActionSchema2, monitorRuleSchema2, MONITOR_RULE_KEYS2, MONITOR_RULE_SCHEMAS2, MONITOR_RULE_TRIGGERS2, MONITOR_RULE_TRIGGER_MESSAGE2, CALL_UTTERANCE_SPEAKERS2, callUtteranceSpeakerSchema2, MONITOR_CALL_KEYS2, MONITOR_CALL_SCHEMAS2, MONITOR_CALL_KEY_MESSAGE2, CALL_STEERING_MIN_CONFIDENCE2, CALL_UTTERANCE_RULE_NOT_CONFIDENT_MESSAGE2, CALL_UTTERANCE_FALLBACK_MESSAGE2, CALL_UTTERANCE_FLAG_CONDITIONS_MESSAGE2, CALL_STEER_NOTE_BLANK_MESSAGE2, MONITOR_USER_MESSAGE_ACTION_KINDS2, MONITOR_ASSISTANT_REPLY_ACTION_KINDS2, MONITOR_CALL_UTTERANCE_ACTION_KINDS2, INSERT_NOTE_TOOL_NAME2, RUN_MONITOR_TOOL_NAME2, MONITOR_RULE_ALLOWED_NATIVE_TOOLS2, MONITOR_RULE_REENTRY_TOOLS2, MONITOR_RULE_REENTRY_TRACKS2, monitorConfigField2, flagConditionsField2, agentIdParam2, listAgentsQuery2, agentConnectionsQuery2, createAgentBody2, updateAgentBody2, AGENT_PARAMETER_TYPES2, AGENT_PARAMETER_NAME_REGEX2, agentParameterCreateSchema2, MAX_AGENT_PARAMETERS_PER_REQUEST2, createAgentParametersBody2, SLUG_REGEX2, slugSchema2, INVISIBLE_NAME_CHARS2, MAX_KANBAN_STATUSES2, MAX_FOLLOWUPS_PER_STATUS2, MAX_LANES2, MAX_ADDITIONAL_CONTEXT_SCHEMA_BYTES2, RESERVED_TEMPLATE_DUMP_NAME2, kanbanStatusSlugSchema2, followupTypeSchema2, EVENT_RELATIVE_FOLLOWUP_TYPES2, followupTimeUnitSchema2, followupIdSchema2, SELECTABLE_FOLLOWUP_TYPES2, MAX_LINKED_FOLLOWUP_TARGETS_PER_STATUS2, followupSchema2, MAX_OUTCOMES_PER_STATUS2, kanbanOutcomeSchema2, EXCLUSIVE_FLAG_PAIRS2, kanbanStatusSchema2, kanbanStatusesArraySchema2, laneSchema2, lanesArraySchema2, hubIdParam2, hubAdminIdParam2, hubUserIdParam2, hubIdentityIdParam2, hubTeamIdParam2, hubTeamUserDeleteParam2, hubSchemaQuery2, PREVIEW_LABEL_MAX_LENGTH2, MAX_ENDED_INDEX_RETENTION_DAYS2, MAX_EVAL_RETENTION_DAYS2, previewLabelField2, createHubBody2, updateHubBody2, addHubAdminBody2, addHubIdentityAuthorizationBody2, contactDecisionBody2, approveContactBody2, listContactAccessQuery2, createHubTeamBody2, updateHubTeamBody2, addHubTeamUserBody2, reassignHubUserBody2, replicatePreviewBody2, updateChannelTestIdentitiesBody2, claimCodeChannelParam2, claimCodeDeleteParam2, connectionIdParam2, connectorIdParam2, listConnectionsQuery2, deleteConnectionQuery2, addConnectionBody2, editConnectionBody2, PRODUCTION_DIRECT_FIELDS2, setProductionCredentialBody2, registerWhatsappQuery2, registerWhatsappBody2, retryProvisioningQuery2, resendDomainStatusQuery2, PLACEHOLDER_TOKENS2, ALLOWED_TYPES2, SUBSCHEMA_OBJECT_KEYWORDS2, SUBSCHEMA_LIST_KEYWORDS2, SUBSCHEMA_MAP_KEYWORDS2, MAX_SCHEMA_DEPTH2, toolIdParam2, listToolsQuery2, toolAgentQuery2, deleteToolQuery2, toolConnectionsQuery2, nativeToolIdSchema2, CONTEXT_BOUNDARIES2, contextBoundarySchema2, addNativeToolBody2, addMcpToolBody2, createCustomToolBody2, updateCustomToolBody2, updateToolExecutionConfigBody2, initialValueCreateSchema2, initialValueUpdateSchema2, stateIdParam2, listStatesQuery2, stateNameSchema2, createStateBody2, updateStateBody2, reorderStatesBody2, variantAiModeSchema2, experimentStatusSchema2, overlayUpdateSchema2, experimentIdParam2, variantIdParam2, listExperimentsQuery2, listVariantsQuery2, listOverridesQuery2, deleteOverrideQuery2, createExperimentBody2, updateExperimentBody2, setExperimentStatusBody2, createVariantBody2, updateVariantBody2, upsertOverrideBody2, orgTagIdParam2, listOrgTagsQuery2, ORG_TAG_NAME_REGEX2, ORG_TAG_NAME_MAX_LENGTH2, createOrgTagBody2, updateOrgTagBody2, orgCredentialIdParam2, listOrgCredentialsQuery2, createOrgCredentialBody2, updateOrgCredentialBody2, BASE_CREDENTIAL_NAME_MAX2, baseCredentialNameSchema2, createBaseCredentialLinkBody2, baseCredentialLinkParams2, baseCredentialLinkQuery2, orgResourceIdParam2, orgResourceFileIdParam2, orgResourceFolderIdParam2, hubOrgResourceParam2, listOrgResourcesQuery2, orgIdQuery2, createOrgResourceBody2, updateOrgResourceBody2, createOrgResourceFolderBody2, updateOrgResourceFolderBody2, uploadOrgResourceFileBody2, updateOrgResourceFileBody2, uploadOrgSkillZipBody2, linkOrgResourceBody2, resourceIdParam2, listResourcesQuery2, createResourceBody2, updateResourceBody2, syncSkillsBody2, resourceFileIdParam2, listResourceFilesQuery2, createResourceFileBody2, updateResourceFileBody2, uploadResourceFileBody2, uploadSkillZipBody2, resourceFolderIdParam2, listResourceFoldersQuery2, createResourceFolderBody2, updateResourceFolderBody2, agentResourceQuery2, hubResourceQuery2, linkAgentResourceBody2, updateAgentResourceBody2, unlinkAgentResourceQuery2, navItemSchema2, hubCountResetBody2, navItemCountResetBody2, typingBody2, analyticsHubIdParam2, analyticsVariableIdParam2, updateVariablePinBody2, updateAnalyticsViewBody2, NUMERIC_FILTER_OPS2, TEXT_FILTER_OPS2, CATEGORICAL_FILTER_OPS2, VARIABLE_FILTER_OPS2, STRUCTURED_QUERY_OPS2, STRUCTURED_QUERY_AGGREGATIONS2, filterValueSchema2, conversationsBody2, analyticsConversationIdParam2, messagesQuery2, conversationDetailDataQuery2, analyticsDataBody2, structuredQueryBody2, analyticsSqlBody2, analyticsSqlTable2, analyticsSqlSchemaQuery2, EVAL_PACING_PRESET_NAMES2, PACING_INTERVAL_MIN_MS2, PACING_INTERVAL_MAX_MS2, EVAL_MAX_RUNS_PER_SCENARIO2, EVAL_RUN_DEADLINE_MIN_MS2, EVAL_RUN_DEADLINE_MAX_MS2, ISO_UTC_RE2, paginationSchema22, evalIdParam2, sessionIdParam2, scenarioSetIdParam2, hubIdQuery2, evalDateContextSchema2, EVAL_FIXTURE_NAME_MAX_LENGTH2, evalFixtureOverrideSchema2, runSessionQuery2, runJourneyQuery2, EVAL_INPUT_ROLES2, EVAL_INPUT_ROLE_LIST2, ROLE_ECHO_MAX2, EVAL_INITIAL_STATE_SCOPES2, MAX_INITIAL_STATE_ENTRIES2, evalInitialStateEntry2, evalBody2, EVAL_LIST_MAX_LIMIT2, evalListLimit2, getEvalsQuery2, toggleEvalBody2, bulkToggleEvalsBody2, pacingConfigSchema2, EVAL_MAX_SELECTED_SCENARIOS2, evalScenarioSelectionEntrySchema2, evalScenarioSelectionSchema2, sessionConfigSchema2, createSessionBody2, getSessionsQuery2, getSessionResultsQuery2, getSessionRunsQuery2, evalAnalyticsQuery2, getSessionCostQuery2, compareSessionsQuery2, evalsSqlBody2, evalsSqlSchemaQuery2, exportResultsQuery2, validateEvalBody2, hubAgentsQuery2, createScenarioSetBody2, updateScenarioSetBody2, scenarioSetsHubQuery2, createScenarioFromConversationBody2, createJourneyFromConversationBody2, EVAL_ATTACHMENT_HASH_REGEX2, evalAttachmentRef2, turnMayCarryAttachments2, ATTACHMENTS_USER_ONLY_MESSAGE2, journeyIdParam2, journeyToolCallSchema2, journeyTurnSchema2, journeyStepOverrideSchema2, fixtureField2, createJourneyBody2, updateJourneyBody2, evalSessionConfigResponseSchema2, evalSessionResponseSchema2, evalSessionListConfigSchema2, evalSessionListItemSchema2, seedReleaseStatusSchema2, getConversationsQuery2, getMessagesQuery2, appMessageSenderType2, appMessageReceiverType2, apiChannelMessage2, apiChannelMessageBody2, appMessageBody2, appMessageResponse2, CALL_STATUSES2, callStatus2, CALL_END_REASONS2, callEndReason2, CALL_TRANSPORTS2, callTransport2, CALL_PARTICIPANT_TYPES2, callParticipantType2, callInstant2, MAX_SDP_OFFER_LENGTH2, sdpDescription2, sdpOffer2, MAX_CALL_REQUEST_BODY_BYTES2, hubScoped3, callSummaryFields2, callSummary2, callIdParam2, createCallBody2, createCallResponse2, callReadyBody2, callHangupBody2, callStatusQuery2, MAX_REPORTED_DELEGATION_IDS2, callDelegationId2, callDelegationsBody2, callResponse2, MAX_CALL_RECORDING_GAPS2, callRecordingGap2, callRecordingNoteMetadata2, CALL_OPENING_LANGUAGES2, callOpeningLanguage2, CALL_OPENING_MAX_DURATION_MS2, CALL_OPENING_MAX_BYTES2, CALL_OPENING_CAPTION_MAX_CHARS2, CALL_OPENING_CONTENT_TYPES2, callOpeningContentType2, CALL_OPENING_HASH_REGEX2, callOpeningHash2, callOpeningCaption2, storedCallOpening2, MAX_CALL_OPENING_ENCODED_BYTES2, MAX_CALL_OPENING_BODY_BYTES2, agentCallOpeningParams2, putAgentCallOpeningBody2, deleteAgentCallOpeningQuery2, callOpeningParam2, callOpeningQuery2, CALLER_LANGUAGE2, TTS_VOICE_REPLY_ENABLED_FIELD2, COPILOT_TRIGGER_FIELD2, AUDIO_LANGUAGE_OPTIONS2, whatsapp2, instagram2, resend2, telegram2, API_CHANNEL_DELIVERY_EVENTS2, apiChannel2, OPENAI_REASONING_MODELS2, openai2, anthropic2, googleAiStudio2, openRouter2, xai2, groqStt2, openaiStt2, elevenLabsStt2, openaiTts2, groqTts2, elevenLabsTts2, GEMINI_TTS_VOICES2, googleTts2, wayai2, externalResources2, restApiTool2, mcpServer2, e2b2, CLAUDE_HARNESS_MODELS2, CLAUDE_HARNESS_MODEL_OPTIONS2, HARNESS_MCP_SERVERS_FIELD2, HARNESS_EGRESS_FIELDS2, claudeAgentSdk2, claudeManagedAgents2, rekorMemory2, SPOKEN_LINE_MAX_CHARS2, gptLive2, CONNECTORS2, evalCallInstant2, EVAL_CALL_MIN_SECONDS2, EVAL_CALL_MAX_SECONDS2, EVAL_CALL_SPOKEN_LINE_MAX_CHARS2, hubScoped22, createEvalCallBody2, createEvalCallResponse2, evalCallConversationQuery2, evalCallRecordQuery2, evalCallSpeaker2, evalCallUtterance2, evalCallTurn2, evalCallRecording2, evalCallRecordResponse2, evalCallFinishResponse2, updateUserBody2, updateProfileBody2, pathnameRegex2, updatePreferencesBody2, registerPushTokenBody2, deletePushTokenQuery2, recordAiDisclosureAcceptanceBody2, activityQuery2, deletionModeSchema2, deletionRequestBody2, archiveHubIdParam2, archiveConversationParams2, archiveListQuery2, archiveMessageObservabilityParams2, conversationIdParam2, claimBody2, releaseBody2, transferBody2, closeBody2, additionalContextPayloadSchema2, kanbanUpdateBody2, annotateConversationBody2, observabilityParams2, observabilityListParams2, deleteUserConversationsBody2, deleteUserConversationsResponse2, sendMessageBody2, listConversationsQuery2, flagSourceSchema2, getConversationsResponse2, getConversationDetailParams2, getConversationDetailQuery2, getConversationDetailResponse2, listWhatsAppTemplatesQuery2, sendWhatsAppTemplateBody2, copilotSuggestBody2, copilotSuggestResponse2, CONSULT_THREAD_STATUSES2, consultThreadStatus2, CONSULT_THREAD_TITLE_MAX2, consultThreadTitle2, consultThreadSummary2, listConsultThreadsQuery2, listConsultThreadsResponse2, createConsultThreadBody2, createConsultThreadResponse2, consultThreadIdParam2, updateConsultThreadBody2, updateConsultThreadResponse2, CONSULT_AWAIT_TIMEOUT_MS2, billingOrgIdParam2, subscriptionItemParams2, spendCapBody2, growthPacksBody2, portalSessionBody2, checkoutSessionBody2, updateBillingCurrencyBody2, invoicesQuery2, planKeySchema2, billingStatusSchema2, billingPlanTypeSchema2, dataUsageCountersSchema2, REKOR_ENTITLEMENT_CONTRACT_VERSION2, entitlementProjectionSchema2, rekorEntitlementRefreshMessageSchema2, downloadBody2, uploadQuery2, signUrlBody2, outboundSchemaQuery2, templateIdParam2, listTemplatesQuery2, deleteTemplateQuery2, templateStatusQuery2, createTemplateBody2, updateTemplateBody2, submitTemplateBody2, testTemplateBody2, contactIdParam2, listContactsQuery2, createContactBody2, updateContactBody2, listIdParam2, listListsQuery2, listListContactsQuery2, createListBody2, updateListBody2, addListContactsBody2, removeListContactsBody2, scheduleIdParam2, listSchedulesQuery2, listExecutionsQuery2, createScheduleBody2, updateScheduleBody2, MAX_RESOURCE_FILE_SIZE2, MAX_10MB_BASE64_ENCODED_BYTES2, MAX_EVAL_ATTACHMENT_ENCODED_BYTES2, MAX_EVAL_ATTACHMENT_CARRIERS2, MAX_EVAL_ATTACHMENT_AGGREGATE_ENCODED_BYTES2, MAX_RESOURCE_ENCODED_BYTES2, MAX_HUB_AS_CODE_RESOURCES2, MAX_HUB_AS_CODE_RESOURCE_FILES2, MAX_RESOURCE_AGGREGATE_ENCODED_BYTES2, MAX_CI_CONFIG_BODY_BYTES2, MAX_CALL_OPENING_CARRIERS2, MAX_CALL_OPENING_AGGREGATE_ENCODED_BYTES2, hubAsCodeStateSchema2, hubAsCodeResourceFileSchema2, hubAsCodeResourceSchema2, uuidPattern2, ciUuidSchema2, boundedHubAsCodeResourcesSchema2, hubAsCodeConfigSchema2, ciPullHubIdParam2, ciBranchParam2, ciPullQuery2, ciHubsQuery2, ciLookupQuery2, ciBranchesQuery2, ciSyncBody2, ciPushBody2, ciDiffBody2, ciPublishBody2, ciPublishPreviewBody2, ciSyncMcpBody2, ciOrgResourcesParam2, orgResourcesConfigSchema2, ciOrgResourcesPushBody2, ciOrgResourcesDiffBody2, CI_APPLY_ENTITY_KINDS2, CI_APPLY_OPERATIONS2, ciApplyErrorBaseSchema2, ciApplyErrorSchema2, ciSyncCountSchema2, ciSyncChangesSchema2, ciSyncWarningSchema2, ciSyncResponseSchema2, VERSION_PART2, MOBILE_APP_VERSION_RE2, mobileAppVersionSchema2, MOBILE_PLATFORMS2, mobilePlatformSchema2, mobileVersionPolicyQuery2, mobileVersionPolicySchema2, mobileVersionPolicyResponse2, adminOrgIdParam2, adminOrgAdminIdParam2, adminUserIdParam2, PRICING_PLAN_ID_RE2, adminPlanIdParam2, adminOrganizationsQuery2, adminUserSearchQuery2, kanbanSlugMigrationQuery2, adjustQuotaBody2, updatePlanBody2, addAdminUserBody2, MAX_VOICE_CALL_MINUTE_OPS2, voiceCallMinuteOps2, updatePlatformConfigBody2, updateFreeOrgLimitBody2, adminScopedTargetShape2, adminScopedTargetBody2, BRANCHING_ORPHAN_ENTITY_TYPES2, BRANCHING_ORPHAN_MAX_TARGETS2, adminRepairBranchingOrphansBody2, adminRepairLegacyOrgGrantsBody2, adminRepairCompedPlansBody2, updatePricingPlanBody2, dataExplorerSearchQuery2, dataExplorerOrgIdParam2, dataExplorerHubIdParam2, dataExplorerConvIdParam2, dataExplorerDoInstancesQuery2, dataExplorerNsIdParam2, dataExplorerKvKeysBody2, dataExplorerKvKeyBody2, uuidOrHexId2, dataExplorerDeleteOrgParam2, dataExplorerDeleteHubParam2, dataExplorerDeleteConvParam2, dataExplorerDeleteUserParam2, dataExplorerDeleteQuery2, dataExplorerKvDeleteBody2, pitrDoNamespace2, pitrBookmarkParam2, pitrRestoreBody2, healthSamplingTriggerBody2, dataExplorerDebugDoType2, DEBUG_READ_MAX_LIMIT2, DEBUG_READ_DEFAULT_LIMIT2, DEBUG_DO_HEX_PREFIX2, debugDoEntityId2, debugTableName2, dataExplorerDebugTablesParam2, dataExplorerDebugRowsParam2, dataExplorerDebugRowsQuery2, dataExplorerDebugAnalyticsTable2, debugUuid2, dataExplorerDebugAnalyticsRowsParam2, dataExplorerDebugAnalyticsRowsQuery2, debugHubConvParam2, debugMessageIdQuery2, sandboxEgressPolicy2, SANDBOX_EXEC_MAX_CMD_LENGTH2, SANDBOX_EXEC_MAX_ALLOWLIST2, SANDBOX_EXEC_MAX_TIMEOUT_MS2, adminSandboxExecBody2, META_ENTITY_ID_PATTERN2, metaEntityId2, whatsappCallbackBody2, authMeResponse2, wsTicketResponse2, sessionCheckResponse2, logoutResponse2, magicCodeSendBody2, magicCodeSendResponse2, magicCodeVerifyBody2, magicCodeVerifyResponse2, passwordLoginBody2, stateOperationBody2, conversationListResourcesQuery2, conversationReadResourceQuery2, listPendingSchedulesQuery2, listHubAggregateSchedulesQuery2, reportSourceSchema2, intakeReportSourceSchema2, reportClassificationSchema2, reportStatusSchema2, reportLocaleSchema2, reportMessageAuthorRoleSchema2, reportMessageSchema2, sentryRefStatusSchema2, createReportBody2, editReportBody2, reporterReportSummarySchema2, reporterListResponseSchema2, getReportResponseSchema2, reporterTransitionResponseSchema2, contestReportBody2, reporterListQuery2, listReportsQuery2, GITHUB_ISSUE_URL_REGEX2, githubIssueUrlSchema2, transitionReportBody2, groupReportsBody2, holdReportBody2, clickhouseReadyResponse2, bootstrapQuery2, requestSnapshotChunkMessage2, MAX_NAME_LENGTH3, MAX_VALUE_LENGTH2, MAX_TAGS2, MAX_TAG_LENGTH2, MAX_SCOPE_HUBS2, MAX_SCOPE_TAGS2, vaultSecretScopeSchema2, vaultCreateBody2, vaultUpdateBody2, PERMISSIONS2, MAX_NAME_LENGTH22, MAX_HUBS_PER_GRANT2, MAX_HUB_TAGS_PER_GRANT2, MAX_GRANTS2, permissionEnum2, grantScopeSchema2, grantSchema2, createTokenBody2, tokenOrgIdParam2, tokenGrantScopeSchema2, tokenGrantSchema2, tokenMetadataSchema2, listTokensResponse2, createTokenResponse2, orgTokenSummarySchema2, listOrgTokensResponse2, invitePreviewQuery2, invitePreviewResponse2, jsonSchemaSchema2, hubUserIdentity2, stateValueEntry2, getHubUserContextResponse2, updateHubUserBody2, updateHubUserResponse2, unlockHubUserNameResponse2, stateResetParams2, stateResetResponse2, hubAlertsParam2, hubAlertSeverity2, hubAlert2, hubAlertsListResponse2, noticeSeveritySchema2, noticeStatusSchema2, NOTICE_SCOPE_REGEX2, noticeScopeSchema2, noticeLinkSchema2, createNoticeBody2, updateNoticeBody2, listNoticesQuery2, noticeIdParamSchema2, ADMIN_SKILL_NAME_REGEX2, adminSkillNameParam2, rekorBaseChangeMessageSchema2, DESKTOP_SHELL_VERSION_RE2, DESKTOP_PLATFORMS2, DESKTOP_FLAVORS2, desktopShellInfoSchema2, DESKTOP_PRESENCE_STATES2, desktopPresenceSchema2, desktopUpdateSchema2, DESKTOP_SIGN_IN_URL_MAX_LENGTH2, DESKTOP_APP_PATH_MAX_LENGTH2, desktopAppPathSchema2, DESKTOP_NOTIFICATION_KINDS2, DESKTOP_NOTIFICATION_TITLE_MAX_LENGTH2, DESKTOP_NOTIFICATION_BODY_MAX_LENGTH2, notificationTitleSchema2, notificationBodySchema2, desktopNotificationSchema2, DESKTOP_BADGE_MAX_COUNT2, DESKTOP_BADGE_LABEL_MAX_LENGTH2, desktopBadgeSchema2, desktopNavigateSchema2, desktopSettingsSchema2, desktopSettingsChangeSchema2, desktopBridgeArgsSchemas2, PEOPLE_CONTACT_PAGE_MAX2, PEOPLE_CONTACT_PAGE_DEFAULT2, PEOPLE_CONTACT_EMAIL_MAX_LENGTH2, peopleUserIdSchema2, peopleContactInviteBody2, peopleContactInviteIdParam2, peopleContactUserIdParam2, peopleContactBlockBody2, peopleContactPageQuery2, peopleOutgoingInviteSchema2, peopleContactPersonSchema2, peopleContactSchema2, peopleIncomingInviteSchema2, peopleBlockedUserSchema2, PEOPLE_THREAD_MESSAGE_MAX_LENGTH2, PEOPLE_THREAD_MESSAGES_PAGE_MAX2, PEOPLE_THREAD_PAGE_MAX2, PEOPLE_THREAD_PAGE_DEFAULT2, peopleThreadIdParam2, peopleThreadMessageIdParam2, peopleThreadListQuery2, peopleThreadMessagesQuery2, peopleThreadSendBody2, peopleThreadReadBody2, peopleThreadSettingsBody2, peopleThreadKindSchema2, peopleThreadMemberSchema2, peopleThreadLastMessageSchema2, peopleThreadSummarySchema2, peopleThreadMessageSchema2, WAYAI_WORKSPACE_LAYOUT, decisionAnswerSchema, decisionsResponseSchema;
|
|
14610
14682
|
var init_dist = __esm({
|
|
14611
14683
|
"../../packages/core/dist/index.js"() {
|
|
14612
14684
|
"use strict";
|
|
@@ -14668,6 +14740,7 @@ var init_dist = __esm({
|
|
|
14668
14740
|
init_zod();
|
|
14669
14741
|
init_zod();
|
|
14670
14742
|
init_zod();
|
|
14743
|
+
init_zod();
|
|
14671
14744
|
UUID_RE = /^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i;
|
|
14672
14745
|
HEX_RE = /^[0-9a-f]{16,}$/;
|
|
14673
14746
|
WORKOS_ID_RE = /^(?:user|org)_[0-9A-HJKMNP-TV-Z]{26}$/;
|
|
@@ -15155,6 +15228,17 @@ var init_dist = __esm({
|
|
|
15155
15228
|
skipAuthenticatedUsers: true,
|
|
15156
15229
|
userLimitKey: "/api/contacts/blocks/*"
|
|
15157
15230
|
},
|
|
15231
|
+
// Person-to-person threads (gh #4661, `routes/api/threads`): the per-user send limit, 60 a
|
|
15232
|
+
// minute on the native binding. Every thread route shares the one budget, reads included:
|
|
15233
|
+
// the paths carry thread and message ids, so the key is pinned, and a pattern here cannot
|
|
15234
|
+
// tell a send from a read of the same path. Like every 60 s budget it fails open on a
|
|
15235
|
+
// binding error, so it bounds sends in the steady state only.
|
|
15236
|
+
"/api/threads/*": {
|
|
15237
|
+
tier: "STANDARD",
|
|
15238
|
+
userLimit: 60,
|
|
15239
|
+
skipAuthenticatedUsers: true,
|
|
15240
|
+
userLimitKey: "/api/threads/*"
|
|
15241
|
+
},
|
|
15158
15242
|
// App channel - high throughput with user limits
|
|
15159
15243
|
"/channels/app/*": { tier: "HIGH", userLimit: 500, skipAuthenticatedUsers: true },
|
|
15160
15244
|
// API channel (api-channel-connector) - machine-to-machine, high throughput
|
|
@@ -17123,7 +17207,6 @@ var init_dist = __esm({
|
|
|
17123
17207
|
folder_metadata_schema: external_exports.record(external_exports.unknown()).optional(),
|
|
17124
17208
|
file_metadata_schema: external_exports.record(external_exports.unknown()).optional(),
|
|
17125
17209
|
enabled: external_exports.boolean().optional(),
|
|
17126
|
-
user_browsable: external_exports.boolean().optional(),
|
|
17127
17210
|
tags: external_exports.array(external_exports.string().uuid()).optional(),
|
|
17128
17211
|
environment: external_exports.enum(["preview", "production", "all"]).optional()
|
|
17129
17212
|
});
|
|
@@ -17135,7 +17218,6 @@ var init_dist = __esm({
|
|
|
17135
17218
|
folder_metadata_schema: external_exports.record(external_exports.unknown()).optional(),
|
|
17136
17219
|
file_metadata_schema: external_exports.record(external_exports.unknown()).optional(),
|
|
17137
17220
|
enabled: external_exports.boolean().optional(),
|
|
17138
|
-
user_browsable: external_exports.boolean().optional(),
|
|
17139
17221
|
tags: external_exports.array(external_exports.string().uuid()).optional(),
|
|
17140
17222
|
environment: external_exports.enum(["preview", "production", "all"]).optional()
|
|
17141
17223
|
});
|
|
@@ -17200,8 +17282,7 @@ var init_dist = __esm({
|
|
|
17200
17282
|
file_metadata_schema: external_exports.record(external_exports.unknown()).optional(),
|
|
17201
17283
|
resource_type: external_exports.enum(["knowledge", "skill"]).optional(),
|
|
17202
17284
|
skill_name: external_exports.string().optional(),
|
|
17203
|
-
skill_version: external_exports.string().optional()
|
|
17204
|
-
user_browsable: external_exports.boolean().optional()
|
|
17285
|
+
skill_version: external_exports.string().optional()
|
|
17205
17286
|
});
|
|
17206
17287
|
updateResourceBody2 = external_exports.object({
|
|
17207
17288
|
resource_name: external_exports.string().min(1).optional(),
|
|
@@ -17210,11 +17291,10 @@ var init_dist = __esm({
|
|
|
17210
17291
|
folder_metadata_schema: external_exports.record(external_exports.unknown()).optional(),
|
|
17211
17292
|
file_metadata_schema: external_exports.record(external_exports.unknown()).optional(),
|
|
17212
17293
|
skill_name: external_exports.string().optional(),
|
|
17213
|
-
skill_version: external_exports.string().optional()
|
|
17294
|
+
skill_version: external_exports.string().optional()
|
|
17214
17295
|
// No `anthropic_skill_id`/`anthropic_version`: `resource` has neither column.
|
|
17215
17296
|
// The provider link lives on `resource_provider_sync.provider_skill_id`,
|
|
17216
17297
|
// written by `skillSync.ts` — never through this body.
|
|
17217
|
-
user_browsable: external_exports.boolean().optional()
|
|
17218
17298
|
});
|
|
17219
17299
|
syncSkillsBody2 = external_exports.object({
|
|
17220
17300
|
hub_id: uuidSchema2,
|
|
@@ -18089,6 +18169,7 @@ var init_dist = __esm({
|
|
|
18089
18169
|
*/
|
|
18090
18170
|
v: external_exports.string().regex(/^[a-f0-9]{64}\.[a-f0-9]{8}$/, "Expected a call opening version")
|
|
18091
18171
|
});
|
|
18172
|
+
CALLER_LANGUAGE2 = "caller";
|
|
18092
18173
|
TTS_VOICE_REPLY_ENABLED_FIELD2 = {
|
|
18093
18174
|
voice_reply_enabled: {
|
|
18094
18175
|
type: "toggle",
|
|
@@ -19081,7 +19162,7 @@ var init_dist = __esm({
|
|
|
19081
19162
|
// `voice` is in that role's own name (`pilot_voice`).
|
|
19082
19163
|
agent_settings_schema: {
|
|
19083
19164
|
speaker_voice: { type: "select", label: "Voice", allowCustomValue: true, options: ["bossa", "tempo"], default: "bossa", description: "The built-in GPT-Live voice the caller hears. bossa and tempo are Brazilian Portuguese voices; another built-in voice id can be typed." },
|
|
19084
|
-
language: { type: "select", label: "Language", options: [{ value: "", label: "Hub language" }, { value: "pt", label: "Portuguese" }, { value: "en", label: "English" }, { value: "es", label: "Spanish" }], default: "", description: "The language the voice speaks with the caller. Empty uses the hub's language." },
|
|
19165
|
+
language: { type: "select", label: "Language", options: [{ value: "", label: "Hub language" }, { value: CALLER_LANGUAGE2, label: "Caller's language" }, { value: "pt", label: "Portuguese" }, { value: "en", label: "English" }, { value: "es", label: "Spanish" }], default: "", description: "The language the voice speaks with the caller. Empty uses the hub's language; Caller's language uses the language in the caller's profile, or the hub's when they have none." },
|
|
19085
19166
|
// The provider ends every session about 2 hours after it starts (`expires_at` is
|
|
19086
19167
|
// start + 7,199 s), so 119 whole minutes is the most a call can last.
|
|
19087
19168
|
max_call_minutes: { type: "number", label: "Maximum Call Length (minutes)", min: 1, max: 119, default: 10, description: "A call ends when it reaches this length." },
|
|
@@ -19302,6 +19383,10 @@ var init_dist = __esm({
|
|
|
19302
19383
|
deletePushTokenQuery2 = external_exports.object({
|
|
19303
19384
|
token: external_exports.string().min(1).max(512)
|
|
19304
19385
|
});
|
|
19386
|
+
recordAiDisclosureAcceptanceBody2 = external_exports.object({
|
|
19387
|
+
version: external_exports.number().int().positive(),
|
|
19388
|
+
withdrawn_at_seen: external_exports.string().datetime().nullable().optional()
|
|
19389
|
+
});
|
|
19305
19390
|
activityQuery2 = external_exports.object({
|
|
19306
19391
|
limit: external_exports.coerce.number().int().min(1).max(100).optional()
|
|
19307
19392
|
});
|
|
@@ -19933,7 +20018,9 @@ var init_dist = __esm({
|
|
|
19933
20018
|
// 'knowledge' (default) | 'skill'
|
|
19934
20019
|
description: external_exports.string().optional(),
|
|
19935
20020
|
enabled: external_exports.boolean().optional(),
|
|
19936
|
-
user_browsable
|
|
20021
|
+
// No `user_browsable`: the field is retired (wayai#4710). This schema is `.passthrough()`,
|
|
20022
|
+
// so YAML pulled before that — and a CLI old enough to still send it — keeps parsing;
|
|
20023
|
+
// the diff and apply engines ignore the key.
|
|
19937
20024
|
skill_name: external_exports.string().optional(),
|
|
19938
20025
|
// skill-only; auto-derived when omitted
|
|
19939
20026
|
files: external_exports.array(hubAsCodeResourceFileSchema2).optional()
|
|
@@ -20735,7 +20822,12 @@ var init_dist = __esm({
|
|
|
20735
20822
|
bootstrapQuery2 = external_exports.object({
|
|
20736
20823
|
active_hub_id: external_exports.string().uuid().optional(),
|
|
20737
20824
|
active_conversation_id: external_exports.string().uuid().optional(),
|
|
20738
|
-
active_nav: external_exports.enum(["chat", "task", "support"]).optional()
|
|
20825
|
+
active_nav: external_exports.enum(["chat", "task", "support"]).optional(),
|
|
20826
|
+
/**
|
|
20827
|
+
* The people thread the URL names (`/chat/threads/:threadId`, gh #4661): the snapshot
|
|
20828
|
+
* preloads it as `people.active_thread` when the viewer is a member.
|
|
20829
|
+
*/
|
|
20830
|
+
active_thread_id: external_exports.string().uuid().optional()
|
|
20739
20831
|
});
|
|
20740
20832
|
requestSnapshotChunkMessage2 = external_exports.object({
|
|
20741
20833
|
type: external_exports.literal("request_snapshot_chunk"),
|
|
@@ -21105,7 +21197,7 @@ var init_dist = __esm({
|
|
|
21105
21197
|
display_name: external_exports.string().nullable(),
|
|
21106
21198
|
email: external_exports.string().nullable()
|
|
21107
21199
|
}).strict();
|
|
21108
|
-
peopleContactSchema2 = peopleContactPersonSchema2.extend({ contact_since: timestampSchema2 }).strict();
|
|
21200
|
+
peopleContactSchema2 = peopleContactPersonSchema2.extend({ contact_since: timestampSchema2, thread_id: uuidSchema2 }).strict();
|
|
21109
21201
|
peopleIncomingInviteSchema2 = external_exports.object({
|
|
21110
21202
|
invite_id: uuidSchema2,
|
|
21111
21203
|
inviter: peopleContactPersonSchema2,
|
|
@@ -21113,6 +21205,69 @@ var init_dist = __esm({
|
|
|
21113
21205
|
expires_at: timestampSchema2
|
|
21114
21206
|
}).strict();
|
|
21115
21207
|
peopleBlockedUserSchema2 = peopleContactPersonSchema2.extend({ blocked_at: timestampSchema2, deleted_user: external_exports.boolean() }).strict();
|
|
21208
|
+
PEOPLE_THREAD_MESSAGE_MAX_LENGTH2 = 4e3;
|
|
21209
|
+
PEOPLE_THREAD_MESSAGES_PAGE_MAX2 = 50;
|
|
21210
|
+
PEOPLE_THREAD_PAGE_MAX2 = 100;
|
|
21211
|
+
PEOPLE_THREAD_PAGE_DEFAULT2 = 50;
|
|
21212
|
+
peopleThreadIdParam2 = external_exports.object({ threadId: uuidSchema2 });
|
|
21213
|
+
peopleThreadMessageIdParam2 = external_exports.object({ threadId: uuidSchema2, messageId: uuidSchema2 });
|
|
21214
|
+
peopleThreadListQuery2 = external_exports.object({
|
|
21215
|
+
cursor: external_exports.string().min(1).max(256).optional(),
|
|
21216
|
+
limit: external_exports.coerce.number().int().min(1).max(PEOPLE_THREAD_PAGE_MAX2).default(PEOPLE_THREAD_PAGE_DEFAULT2)
|
|
21217
|
+
});
|
|
21218
|
+
peopleThreadMessagesQuery2 = external_exports.object({
|
|
21219
|
+
before_seq: external_exports.coerce.number().int().min(1).optional(),
|
|
21220
|
+
limit: external_exports.coerce.number().int().min(1).max(PEOPLE_THREAD_MESSAGES_PAGE_MAX2).default(PEOPLE_THREAD_MESSAGES_PAGE_MAX2)
|
|
21221
|
+
});
|
|
21222
|
+
peopleThreadSendBody2 = external_exports.object({
|
|
21223
|
+
body: external_exports.string().max(PEOPLE_THREAD_MESSAGE_MAX_LENGTH2).refine((s) => s.trim().length > 0, "must not be empty"),
|
|
21224
|
+
client_message_id: uuidSchema2.optional()
|
|
21225
|
+
}).strict();
|
|
21226
|
+
peopleThreadReadBody2 = external_exports.object({ seq: external_exports.number().int().min(0) }).strict();
|
|
21227
|
+
peopleThreadSettingsBody2 = external_exports.object({
|
|
21228
|
+
muted: external_exports.boolean().optional(),
|
|
21229
|
+
hidden: external_exports.boolean().optional()
|
|
21230
|
+
}).strict().refine((b) => b.muted !== void 0 || b.hidden !== void 0, "nothing to change");
|
|
21231
|
+
peopleThreadKindSchema2 = external_exports.enum(["dm", "group"]);
|
|
21232
|
+
peopleThreadMemberSchema2 = external_exports.object({
|
|
21233
|
+
user_id: peopleUserIdSchema2,
|
|
21234
|
+
display_name: external_exports.string().nullable(),
|
|
21235
|
+
deleted_user: external_exports.boolean()
|
|
21236
|
+
}).strict();
|
|
21237
|
+
peopleThreadLastMessageSchema2 = external_exports.object({
|
|
21238
|
+
message_id: uuidSchema2,
|
|
21239
|
+
seq: external_exports.number().int().positive(),
|
|
21240
|
+
author_user_id: peopleUserIdSchema2,
|
|
21241
|
+
preview: external_exports.string().nullable(),
|
|
21242
|
+
deleted: external_exports.boolean(),
|
|
21243
|
+
created_at: timestampSchema2
|
|
21244
|
+
}).strict();
|
|
21245
|
+
peopleThreadSummarySchema2 = external_exports.object({
|
|
21246
|
+
thread_id: uuidSchema2,
|
|
21247
|
+
kind: peopleThreadKindSchema2,
|
|
21248
|
+
org_id: external_exports.string().nullable(),
|
|
21249
|
+
org_name: external_exports.string().nullable(),
|
|
21250
|
+
title: external_exports.string().nullable(),
|
|
21251
|
+
counterpart: peopleThreadMemberSchema2.nullable(),
|
|
21252
|
+
last_seq: external_exports.number().int().nonnegative(),
|
|
21253
|
+
last_message: peopleThreadLastMessageSchema2.nullable(),
|
|
21254
|
+
last_activity_at: timestampSchema2,
|
|
21255
|
+
read_seq: external_exports.number().int().nonnegative(),
|
|
21256
|
+
unread_count: external_exports.number().int().nonnegative(),
|
|
21257
|
+
muted: external_exports.boolean(),
|
|
21258
|
+
hidden: external_exports.boolean(),
|
|
21259
|
+
writable: external_exports.boolean()
|
|
21260
|
+
}).strict();
|
|
21261
|
+
peopleThreadMessageSchema2 = external_exports.object({
|
|
21262
|
+
message_id: uuidSchema2,
|
|
21263
|
+
seq: external_exports.number().int().positive(),
|
|
21264
|
+
author_user_id: peopleUserIdSchema2,
|
|
21265
|
+
body: external_exports.string().nullable(),
|
|
21266
|
+
deleted: external_exports.boolean(),
|
|
21267
|
+
created_at: timestampSchema2,
|
|
21268
|
+
deleted_at: timestampSchema2.nullable(),
|
|
21269
|
+
client_message_id: uuidSchema2.nullable()
|
|
21270
|
+
}).strict();
|
|
21116
21271
|
WAYAI_WORKSPACE_LAYOUT = {
|
|
21117
21272
|
/** Product-namespaced root dir at the git root. */
|
|
21118
21273
|
wsDir: "wayai-ws",
|
|
@@ -21435,12 +21590,10 @@ __export(workspace_exports, {
|
|
|
21435
21590
|
findHubByFolderName: () => findHubByFolderName,
|
|
21436
21591
|
findLocalHubFolder: () => findLocalHubFolder,
|
|
21437
21592
|
findRepoRootSync: () => findRepoRootSync,
|
|
21438
|
-
getChangedHubs: () => getChangedHubs,
|
|
21439
21593
|
getHubFolderSlug: () => getHubFolderSlug,
|
|
21440
21594
|
isPreviewHub: () => isPreviewHub,
|
|
21441
21595
|
localHubEnvironment: () => localHubEnvironment,
|
|
21442
21596
|
resolveActiveHubId: () => resolveActiveHubId,
|
|
21443
|
-
resolveExplicitHubPath: () => resolveExplicitHubPath,
|
|
21444
21597
|
resolveHubFolder: () => resolveHubFolder,
|
|
21445
21598
|
resolveNewHubForCreate: () => resolveNewHubForCreate,
|
|
21446
21599
|
resolvePushTarget: () => resolvePushTarget,
|
|
@@ -21564,80 +21717,6 @@ function findLocalHubFolder(hubId) {
|
|
|
21564
21717
|
const match = scanWorkspaceHubs(workspaceDir).find((h) => h.hubId === hubId);
|
|
21565
21718
|
return match ? match.hubFolder : null;
|
|
21566
21719
|
}
|
|
21567
|
-
function getChangedHubs(workspaceDir) {
|
|
21568
|
-
const gitRoot = findGitRoot();
|
|
21569
|
-
if (!gitRoot) return [];
|
|
21570
|
-
const relWorkspace = path3.relative(gitRoot, workspaceDir);
|
|
21571
|
-
const normalizedRel = path3.normalize(relWorkspace);
|
|
21572
|
-
if (normalizedRel.startsWith("..") || path3.isAbsolute(normalizedRel)) {
|
|
21573
|
-
return [];
|
|
21574
|
-
}
|
|
21575
|
-
let statusOutput;
|
|
21576
|
-
try {
|
|
21577
|
-
statusOutput = execFileSync("git", ["status", "--porcelain", "-u", "--", `${relWorkspace}/`], {
|
|
21578
|
-
encoding: "utf-8",
|
|
21579
|
-
cwd: gitRoot,
|
|
21580
|
-
stdio: ["pipe", "pipe", "pipe"]
|
|
21581
|
-
});
|
|
21582
|
-
} catch {
|
|
21583
|
-
return [];
|
|
21584
|
-
}
|
|
21585
|
-
const lines = statusOutput.split("\n").filter((l) => l.length > 0);
|
|
21586
|
-
const changedFiles = lines.map((line) => {
|
|
21587
|
-
const filePart = line.slice(3);
|
|
21588
|
-
const arrowIdx = filePart.indexOf(" -> ");
|
|
21589
|
-
return arrowIdx >= 0 ? filePart.slice(arrowIdx + 4) : filePart;
|
|
21590
|
-
});
|
|
21591
|
-
const hubFiles = changedFiles.filter((file) => {
|
|
21592
|
-
return file.endsWith("/hub.yaml") || file.endsWith("hub.yaml") || file.endsWith("/wayai.yaml") || file.endsWith("wayai.yaml") || /\/agents\/[^/]+\.(md|yaml)$/.test(file);
|
|
21593
|
-
});
|
|
21594
|
-
if (hubFiles.length === 0) return [];
|
|
21595
|
-
const hubFolders = /* @__PURE__ */ new Set();
|
|
21596
|
-
for (const file of hubFiles) {
|
|
21597
|
-
const absFile = path3.resolve(gitRoot, file);
|
|
21598
|
-
if (file.endsWith("hub.yaml") || file.endsWith("wayai.yaml")) {
|
|
21599
|
-
hubFolders.add(path3.dirname(absFile));
|
|
21600
|
-
} else if (file.includes("/agents/")) {
|
|
21601
|
-
const agentsIndex = absFile.lastIndexOf("/agents/");
|
|
21602
|
-
hubFolders.add(absFile.substring(0, agentsIndex));
|
|
21603
|
-
}
|
|
21604
|
-
}
|
|
21605
|
-
const hubs = [];
|
|
21606
|
-
for (const hubFolder of hubFolders) {
|
|
21607
|
-
if (!isRealDirectory(hubFolder)) continue;
|
|
21608
|
-
const meta = readHubYaml(path3.join(hubFolder, "hub.yaml")) || readHubYaml(path3.join(hubFolder, "wayai.yaml"));
|
|
21609
|
-
if (meta) {
|
|
21610
|
-
hubs.push({ hubFolder, hubId: meta.hubId, hubEnvironment: meta.hubEnvironment });
|
|
21611
|
-
}
|
|
21612
|
-
}
|
|
21613
|
-
return filterPreviewHubs(hubs);
|
|
21614
|
-
}
|
|
21615
|
-
function resolveExplicitHubPath(hubPath) {
|
|
21616
|
-
const parts = hubPath.split("/");
|
|
21617
|
-
let hubSegment;
|
|
21618
|
-
let orgPrefix;
|
|
21619
|
-
if (parts.length === 1) {
|
|
21620
|
-
hubSegment = parts[0];
|
|
21621
|
-
} else if (parts.length === 2) {
|
|
21622
|
-
[orgPrefix, hubSegment] = parts;
|
|
21623
|
-
} else {
|
|
21624
|
-
throw new Error("Hub path must be hub or org/hub");
|
|
21625
|
-
}
|
|
21626
|
-
const workspace = detectWorkspace();
|
|
21627
|
-
if (workspace) {
|
|
21628
|
-
const local = findHubByFolderName(workspace.workspaceDir, hubSegment);
|
|
21629
|
-
if (local) {
|
|
21630
|
-
return {
|
|
21631
|
-
resolved: {
|
|
21632
|
-
hubId: local.hubId,
|
|
21633
|
-
hubFolder: local.hubFolder,
|
|
21634
|
-
hubEnvironment: local.hubEnvironment
|
|
21635
|
-
}
|
|
21636
|
-
};
|
|
21637
|
-
}
|
|
21638
|
-
}
|
|
21639
|
-
return { segments: { orgPrefix, hub: hubSegment } };
|
|
21640
|
-
}
|
|
21641
21720
|
function findHubByFolderName(workspaceDir, hubFolderName) {
|
|
21642
21721
|
const all = scanWorkspaceHubs(workspaceDir);
|
|
21643
21722
|
return all.find((h) => path3.basename(h.hubFolder) === hubFolderName) ?? null;
|
|
@@ -22630,7 +22709,7 @@ var init_registry = __esm({
|
|
|
22630
22709
|
});
|
|
22631
22710
|
|
|
22632
22711
|
// src/lib/version-cache.ts
|
|
22633
|
-
import { existsSync as existsSync3, readFileSync as
|
|
22712
|
+
import { existsSync as existsSync3, readFileSync as readFileSync5, writeFileSync as writeFileSync2, mkdirSync as mkdirSync2 } from "fs";
|
|
22634
22713
|
import { dirname as dirname6, join as join7 } from "path";
|
|
22635
22714
|
import { homedir as homedir2 } from "os";
|
|
22636
22715
|
function getVersionCachePath(filename = CLI_CACHE_FILE) {
|
|
@@ -22640,7 +22719,7 @@ function readVersionCache(filename = CLI_CACHE_FILE) {
|
|
|
22640
22719
|
try {
|
|
22641
22720
|
const path36 = getVersionCachePath(filename);
|
|
22642
22721
|
if (!existsSync3(path36)) return null;
|
|
22643
|
-
const parsed = JSON.parse(
|
|
22722
|
+
const parsed = JSON.parse(readFileSync5(path36, "utf-8"));
|
|
22644
22723
|
if (typeof parsed.lastCheck !== "number") return null;
|
|
22645
22724
|
if (parsed.latest !== null && typeof parsed.latest !== "string") return null;
|
|
22646
22725
|
return parsed;
|
|
@@ -22680,7 +22759,7 @@ var init_version_cache = __esm({
|
|
|
22680
22759
|
});
|
|
22681
22760
|
|
|
22682
22761
|
// src/lib/skill-version.ts
|
|
22683
|
-
import { existsSync as existsSync4, readFileSync as
|
|
22762
|
+
import { existsSync as existsSync4, readFileSync as readFileSync6 } from "fs";
|
|
22684
22763
|
import { join as join8 } from "path";
|
|
22685
22764
|
import * as yaml4 from "js-yaml";
|
|
22686
22765
|
function skillInstallPaths(skillName) {
|
|
@@ -22706,7 +22785,7 @@ function findInstalledSkills(projectRoot, paths = SKILL_INSTALL_PATHS) {
|
|
|
22706
22785
|
if (!existsSync4(path36)) continue;
|
|
22707
22786
|
let version = null;
|
|
22708
22787
|
try {
|
|
22709
|
-
version = parseFrontmatterVersion(
|
|
22788
|
+
version = parseFrontmatterVersion(readFileSync6(path36, "utf-8"));
|
|
22710
22789
|
} catch {
|
|
22711
22790
|
}
|
|
22712
22791
|
found.push({ path: path36, version });
|
|
@@ -22735,8 +22814,6 @@ var init_skill_version = __esm({
|
|
|
22735
22814
|
// src/lib/config.ts
|
|
22736
22815
|
var config_exports = {};
|
|
22737
22816
|
__export(config_exports, {
|
|
22738
|
-
deleteConfig: () => deleteConfig,
|
|
22739
|
-
getConfigPath: () => getConfigPath,
|
|
22740
22817
|
readConfig: () => readConfig,
|
|
22741
22818
|
writeConfig: () => writeConfig
|
|
22742
22819
|
});
|
|
@@ -22749,9 +22826,6 @@ function configDir() {
|
|
|
22749
22826
|
function configPath() {
|
|
22750
22827
|
return path7.join(configDir(), "config.json");
|
|
22751
22828
|
}
|
|
22752
|
-
function getConfigPath() {
|
|
22753
|
-
return configPath();
|
|
22754
|
-
}
|
|
22755
22829
|
function readConfig() {
|
|
22756
22830
|
if (!fs6.existsSync(configPath())) return null;
|
|
22757
22831
|
try {
|
|
@@ -22787,11 +22861,6 @@ function writeConfig(config) {
|
|
|
22787
22861
|
// owner-only read/write
|
|
22788
22862
|
});
|
|
22789
22863
|
}
|
|
22790
|
-
function deleteConfig() {
|
|
22791
|
-
if (fs6.existsSync(configPath())) {
|
|
22792
|
-
fs6.unlinkSync(configPath());
|
|
22793
|
-
}
|
|
22794
|
-
}
|
|
22795
22864
|
var init_config = __esm({
|
|
22796
22865
|
"src/lib/config.ts"() {
|
|
22797
22866
|
"use strict";
|
|
@@ -25190,7 +25259,6 @@ function parseResources(hubFolder, configResources, unreadable) {
|
|
|
25190
25259
|
else if (res.type !== void 0) throw expected(`Invalid resource type for "${resource.name}": expected knowledge or skill`);
|
|
25191
25260
|
if (res.description) resource.description = res.description;
|
|
25192
25261
|
if (res.enabled === false) resource.enabled = false;
|
|
25193
|
-
if (res.user_browsable) resource.user_browsable = res.user_browsable;
|
|
25194
25262
|
if (res.skill_name) resource.skill_name = res.skill_name;
|
|
25195
25263
|
const resSlug = slugify(resource.name);
|
|
25196
25264
|
const resDir = path14.join(resourcesDir, resSlug);
|
|
@@ -26096,7 +26164,7 @@ var init_client = __esm({
|
|
|
26096
26164
|
});
|
|
26097
26165
|
|
|
26098
26166
|
// src/data/helpers.ts
|
|
26099
|
-
import { readFileSync as
|
|
26167
|
+
import { readFileSync as readFileSync14 } from "fs";
|
|
26100
26168
|
function pathSegment(id, label = "id") {
|
|
26101
26169
|
if (!isPathSafeId(id)) {
|
|
26102
26170
|
throw expected(`Invalid ${label}: ${JSON.stringify(id)}. An id may use ${PATH_SAFE_ID_RULE}.`);
|
|
@@ -26124,7 +26192,7 @@ function parseData(data, flag) {
|
|
|
26124
26192
|
let text = data;
|
|
26125
26193
|
if (source !== void 0) {
|
|
26126
26194
|
try {
|
|
26127
|
-
text =
|
|
26195
|
+
text = readFileSync14(source, "utf-8");
|
|
26128
26196
|
} catch (e) {
|
|
26129
26197
|
throw expected(`${prefix}${source}: ${e instanceof Error ? e.message : "could not be read"}`);
|
|
26130
26198
|
}
|
|
@@ -30614,9 +30682,9 @@ var init_eval_results = __esm({
|
|
|
30614
30682
|
|
|
30615
30683
|
// src/lib/call-eval/caller-audio.ts
|
|
30616
30684
|
import { createHash as createHash3 } from "crypto";
|
|
30617
|
-
import { mkdirSync as mkdirSync12, readFileSync as
|
|
30685
|
+
import { mkdirSync as mkdirSync12, readFileSync as readFileSync17, renameSync as renameSync5, writeFileSync as writeFileSync7 } from "fs";
|
|
30618
30686
|
import { homedir as homedir5 } from "os";
|
|
30619
|
-
import { dirname as dirname12, isAbsolute as
|
|
30687
|
+
import { dirname as dirname12, isAbsolute as isAbsolute2, join as join27, resolve as resolve9 } from "path";
|
|
30620
30688
|
function parseWav(buf, name = "clip") {
|
|
30621
30689
|
if (buf.length < 12 || buf.toString("ascii", 0, 4) !== "RIFF" || buf.toString("ascii", 8, 12) !== "WAVE") {
|
|
30622
30690
|
throw new Error(`${name} is not a WAV file.`);
|
|
@@ -30704,11 +30772,11 @@ var init_caller_audio = __esm({
|
|
|
30704
30772
|
}
|
|
30705
30773
|
describe;
|
|
30706
30774
|
async clipFor(line) {
|
|
30707
|
-
const path36 = line.clip ?
|
|
30775
|
+
const path36 = line.clip ? isAbsolute2(line.clip) ? line.clip : resolve9(this.planDir, line.clip) : this.dir ? join27(this.dir, `${line.n}.wav`) : null;
|
|
30708
30776
|
if (!path36) throw new Error(`Line ${line.n} has no clip: give --clips <dir>, or a "clip" for it in the plan.`);
|
|
30709
30777
|
let buf;
|
|
30710
30778
|
try {
|
|
30711
|
-
buf =
|
|
30779
|
+
buf = readFileSync17(path36);
|
|
30712
30780
|
} catch {
|
|
30713
30781
|
throw new Error(`Line ${line.n}'s clip ${path36} cannot be read.`);
|
|
30714
30782
|
}
|
|
@@ -30752,7 +30820,7 @@ ${text}`).digest("hex");
|
|
|
30752
30820
|
}
|
|
30753
30821
|
async readOrSynthesize(line, path36) {
|
|
30754
30822
|
try {
|
|
30755
|
-
return pcmClip(
|
|
30823
|
+
return pcmClip(readFileSync17(path36));
|
|
30756
30824
|
} catch {
|
|
30757
30825
|
}
|
|
30758
30826
|
const res = await this.doFetch("https://api.openai.com/v1/audio/speech", {
|
|
@@ -32258,7 +32326,7 @@ __export(eval_call_exports, {
|
|
|
32258
32326
|
printEvalCallHelp: () => printEvalCallHelp,
|
|
32259
32327
|
suiteExitCode: () => suiteExitCode
|
|
32260
32328
|
});
|
|
32261
|
-
import { accessSync, constants as fsConstants, existsSync as existsSync16, readFileSync as
|
|
32329
|
+
import { accessSync, constants as fsConstants, existsSync as existsSync16, readFileSync as readFileSync18, statSync as statSync8, writeFileSync as writeFileSync8 } from "fs";
|
|
32262
32330
|
import { dirname as dirname13, resolve as resolve10 } from "path";
|
|
32263
32331
|
function fail(message) {
|
|
32264
32332
|
throw new Error(message);
|
|
@@ -32416,7 +32484,7 @@ async function evalCallCommand(argv) {
|
|
|
32416
32484
|
let plan;
|
|
32417
32485
|
try {
|
|
32418
32486
|
options = parseEvalCallArgs(args2);
|
|
32419
|
-
plan = options.planPath ? parseCallPlan(JSON.parse(
|
|
32487
|
+
plan = options.planPath ? parseCallPlan(JSON.parse(readFileSync18(options.planPath, "utf8"))) : { lines: {} };
|
|
32420
32488
|
} catch (err) {
|
|
32421
32489
|
console.error(extractApiMessage(err));
|
|
32422
32490
|
process.exit(1);
|
|
@@ -34077,7 +34145,6 @@ function parseOrgResources(orgDir) {
|
|
|
34077
34145
|
if (res.type) resource.type = res.type;
|
|
34078
34146
|
if (res.description) resource.description = res.description;
|
|
34079
34147
|
if (res.enabled === false) resource.enabled = false;
|
|
34080
|
-
if (res.user_browsable) resource.user_browsable = res.user_browsable;
|
|
34081
34148
|
if (res.skill_name) resource.skill_name = res.skill_name;
|
|
34082
34149
|
if (res.environment) resource.environment = res.environment;
|
|
34083
34150
|
if (Array.isArray(res.tags)) resource.tags = res.tags;
|
|
@@ -36706,7 +36773,7 @@ var init_actions = __esm({
|
|
|
36706
36773
|
|
|
36707
36774
|
// src/data/commands/attachments.ts
|
|
36708
36775
|
import { Command as Command2 } from "commander";
|
|
36709
|
-
import { readFileSync as
|
|
36776
|
+
import { readFileSync as readFileSync19 } from "fs";
|
|
36710
36777
|
function findAttachmentByFilename(attachments, filename) {
|
|
36711
36778
|
return attachments.find((a) => a.key.endsWith(`/${filename}`)) ?? null;
|
|
36712
36779
|
}
|
|
@@ -36747,7 +36814,7 @@ function buildAttachmentsCommand() {
|
|
|
36747
36814
|
printOutput(data, outputFormat(this));
|
|
36748
36815
|
return;
|
|
36749
36816
|
}
|
|
36750
|
-
const body =
|
|
36817
|
+
const body = readFileSync19(opts.file);
|
|
36751
36818
|
await client.upload(uploadPathFrom(data?.upload_url), body, opts.contentType);
|
|
36752
36819
|
printOutput({ ...data, uploaded: true }, outputFormat(this));
|
|
36753
36820
|
});
|
|
@@ -37227,7 +37294,7 @@ var init_providers = __esm({
|
|
|
37227
37294
|
|
|
37228
37295
|
// src/data/commands/report.ts
|
|
37229
37296
|
import { Command as Command6 } from "commander";
|
|
37230
|
-
import { readFileSync as
|
|
37297
|
+
import { readFileSync as readFileSync20 } from "fs";
|
|
37231
37298
|
import { dirname as dirname15, join as join32 } from "path";
|
|
37232
37299
|
import { fileURLToPath as fileURLToPath2 } from "url";
|
|
37233
37300
|
function resolveCliVersion() {
|
|
@@ -37236,7 +37303,7 @@ function resolveCliVersion() {
|
|
|
37236
37303
|
join32(here, "..", "..", "..", "package.json")
|
|
37237
37304
|
]) {
|
|
37238
37305
|
try {
|
|
37239
|
-
const version = JSON.parse(
|
|
37306
|
+
const version = JSON.parse(readFileSync20(candidate, "utf-8")).version;
|
|
37240
37307
|
if (typeof version === "string" && version) return version;
|
|
37241
37308
|
} catch {
|
|
37242
37309
|
}
|
|
@@ -37438,7 +37505,7 @@ var init_report3 = __esm({
|
|
|
37438
37505
|
|
|
37439
37506
|
// src/data/commands/credentials.ts
|
|
37440
37507
|
import { Command as Command7 } from "commander";
|
|
37441
|
-
import { readFileSync as
|
|
37508
|
+
import { readFileSync as readFileSync21 } from "fs";
|
|
37442
37509
|
function withValueSourceOptions(cmd, what) {
|
|
37443
37510
|
return cmd.option(
|
|
37444
37511
|
"--file <path>",
|
|
@@ -37451,7 +37518,7 @@ async function resolveValue(opts, label) {
|
|
|
37451
37518
|
throw expected("--file cannot be combined with --value-stdin or --value-prompt \u2014 pass one.");
|
|
37452
37519
|
}
|
|
37453
37520
|
try {
|
|
37454
|
-
return
|
|
37521
|
+
return readFileSync21(opts.file).toString("base64");
|
|
37455
37522
|
} catch (e) {
|
|
37456
37523
|
throw expected(`--file ${opts.file}: ${e instanceof Error ? e.message : "could not be read"}`);
|
|
37457
37524
|
}
|
|
@@ -37600,7 +37667,7 @@ var init_credentials = __esm({
|
|
|
37600
37667
|
|
|
37601
37668
|
// src/data/commands/sql.ts
|
|
37602
37669
|
import { Command as Command8 } from "commander";
|
|
37603
|
-
import { readFileSync as
|
|
37670
|
+
import { readFileSync as readFileSync22 } from "fs";
|
|
37604
37671
|
function buildBasesSqlCommand() {
|
|
37605
37672
|
return withBaseOption(new Command8("sql")).description("Execute a read-only SQL query against base data").argument("[query]", "SQL query (SELECT only)").option("--file <path>", "Read SQL from a file instead of the argument").option(
|
|
37606
37673
|
"--param <kv...>",
|
|
@@ -37610,7 +37677,7 @@ function buildBasesSqlCommand() {
|
|
|
37610
37677
|
let query;
|
|
37611
37678
|
if (opts.file) {
|
|
37612
37679
|
try {
|
|
37613
|
-
query =
|
|
37680
|
+
query = readFileSync22(opts.file, "utf-8").trim();
|
|
37614
37681
|
} catch (e) {
|
|
37615
37682
|
throw expected(`--file ${opts.file}: ${e instanceof Error ? e.message : "could not be read"}`);
|
|
37616
37683
|
}
|
|
@@ -38265,7 +38332,7 @@ var init_file_types = __esm({
|
|
|
38265
38332
|
|
|
38266
38333
|
// src/data/commands/files.ts
|
|
38267
38334
|
import { Command as Command12 } from "commander";
|
|
38268
|
-
import { readFileSync as
|
|
38335
|
+
import { readFileSync as readFileSync23, writeFileSync as writeFileSync12 } from "fs";
|
|
38269
38336
|
import { basename as basename20 } from "path";
|
|
38270
38337
|
function renderFileDiff(fileType, filePath, from, to, d) {
|
|
38271
38338
|
console.log(sanitizeTerminalText(`${fileType}/${filePath}: v${from} \u2192 v${to}`));
|
|
@@ -38314,7 +38381,7 @@ function buildFilesCommand() {
|
|
|
38314
38381
|
"Upload a local file to a path (e.g. wayai files put reports q3/summary.pdf --file ./summary.pdf)"
|
|
38315
38382
|
).requiredOption("--file <local>", "Local file to upload").option("--content-type <type>", "MIME type", "application/octet-stream").action(async function(fileType, filePath, opts) {
|
|
38316
38383
|
const base = pathSegment(requireBase(this), "--base");
|
|
38317
|
-
const body =
|
|
38384
|
+
const body = readFileSync23(opts.file);
|
|
38318
38385
|
const client = await createDataClient();
|
|
38319
38386
|
printOutput(
|
|
38320
38387
|
await client.upload(
|
|
@@ -39363,7 +39430,7 @@ init_errors2();
|
|
|
39363
39430
|
init_mask_secrets();
|
|
39364
39431
|
init_utils();
|
|
39365
39432
|
init_registry();
|
|
39366
|
-
import { readFileSync as
|
|
39433
|
+
import { readFileSync as readFileSync24 } from "fs";
|
|
39367
39434
|
import { fileURLToPath as fileURLToPath3 } from "url";
|
|
39368
39435
|
import { dirname as dirname16, join as join33 } from "path";
|
|
39369
39436
|
|
|
@@ -39521,7 +39588,7 @@ Run \`wayai admin skill install\` to update.`);
|
|
|
39521
39588
|
|
|
39522
39589
|
// src/index.ts
|
|
39523
39590
|
var __dirname = dirname16(fileURLToPath3(import.meta.url));
|
|
39524
|
-
var pkg = JSON.parse(
|
|
39591
|
+
var pkg = JSON.parse(readFileSync24(join33(__dirname, "..", "package.json"), "utf-8"));
|
|
39525
39592
|
var [, , command, ...args] = process.argv;
|
|
39526
39593
|
var isBackgroundRefresh = command === REFRESH_COMMAND;
|
|
39527
39594
|
if (!isBackgroundRefresh) initSentry(command, pkg.version);
|