@keystrokehq/keystroke 0.1.19 → 0.1.22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/agent.cjs +72 -54
- package/dist/agent.cjs.map +1 -1
- package/dist/agent.d.cts +2 -2
- package/dist/agent.d.mts +2 -2
- package/dist/agent.mjs +71 -52
- package/dist/agent.mjs.map +1 -1
- package/dist/{dist-KpQEao0i.mjs → dist-B1Pjv-cM.mjs} +666 -21
- package/dist/dist-B1Pjv-cM.mjs.map +1 -0
- package/dist/dist-BKL5duJl.cjs.map +1 -1
- package/dist/{dist-BFCT4aiu.cjs → dist-D69ocJ7u.cjs} +728 -23
- package/dist/dist-D69ocJ7u.cjs.map +1 -0
- package/dist/dist-_i6Rguqn.mjs.map +1 -1
- package/dist/{index-Dlu1kaci.d.cts → index-BQOZkLWG.d.cts} +10 -34
- package/dist/index-BQOZkLWG.d.cts.map +1 -0
- package/dist/{index-I9DneAMW.d.mts → index-CGf1NwA4.d.mts} +10 -34
- package/dist/index-CGf1NwA4.d.mts.map +1 -0
- package/dist/index-CeRtE5Gn.d.cts.map +1 -1
- package/dist/{index-BUYoOHa1.d.mts → index-WHR4qX4x.d.mts} +10 -3
- package/dist/index-WHR4qX4x.d.mts.map +1 -0
- package/dist/index-w8mrqxo3.d.mts.map +1 -1
- package/dist/index-wVbZ-JO2.d.cts.map +1 -1
- package/dist/index-wVbZ-JO2.d.mts.map +1 -1
- package/dist/{index-Dzm0OSN4.d.cts → index-wpyFrBvl.d.cts} +10 -3
- package/dist/index-wpyFrBvl.d.cts.map +1 -0
- package/dist/{token-dA7JRmgB.cjs → token-DZEJHEnH.cjs} +2 -2
- package/dist/{token-dA7JRmgB.cjs.map → token-DZEJHEnH.cjs.map} +1 -1
- package/dist/{token-shJjdG3B.mjs → token-D_x8iwF8.mjs} +2 -2
- package/dist/{token-shJjdG3B.mjs.map → token-D_x8iwF8.mjs.map} +1 -1
- package/dist/trigger.cjs +1 -1
- package/dist/trigger.d.cts +2 -2
- package/dist/trigger.d.mts +2 -2
- package/dist/trigger.mjs +1 -1
- package/dist/workflow.cjs +3 -1
- package/dist/workflow.d.cts +2 -2
- package/dist/workflow.d.mts +2 -2
- package/dist/workflow.mjs +2 -2
- package/package.json +2 -2
- package/dist/dist-BFCT4aiu.cjs.map +0 -1
- package/dist/dist-BekOBuw8.cjs +0 -665
- package/dist/dist-BekOBuw8.cjs.map +0 -1
- package/dist/dist-C-1uJk5f.mjs +0 -612
- package/dist/dist-C-1uJk5f.mjs.map +0 -1
- package/dist/dist-KpQEao0i.mjs.map +0 -1
- package/dist/index-BUYoOHa1.d.mts.map +0 -1
- package/dist/index-Dlu1kaci.d.cts.map +0 -1
- package/dist/index-Dzm0OSN4.d.cts.map +0 -1
- package/dist/index-I9DneAMW.d.mts.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index-wVbZ-JO2.d.mts","names":["ZodError","z","DISCOVERY_CONVENTIONS","agents","flat","nested","helpers","workflows","triggers","openapi","ACTIVE_ORG_COOKIE","ACTIVE_ORG_HEADER","RESERVED_ORGANIZATION_SLUGS","Set","OrganizationSlugSchema","ZodString","OrganizationSlug","infer","ClaimableOrganizationSlugSchema","previewOrganizationSlugFromName","name","slugifyOrganizationName","parseOrganizationSlug","input","ProjectSlugSchema","ProjectSlug","slugifyProjectName","parseProjectSlug","ORGANIZATION_SLUG_TAKEN_MESSAGE","PROJECT_SLUG_TAKEN_MESSAGE","OrganizationSlugErrorCodeSchema","ZodEnum","slug_taken","slug_reserved","slug_invalid","OrganizationSlugErrorCode","SlugAvailabilityReasonSchema","taken","invalid","reserved","SlugAvailabilityReason","SlugAvailabilityResponseSchema","ZodBoolean","ZodOptional","core","$strip","ZodObject","slug","available","reason","suggestion","SlugAvailabilityResponse","SlugAvailabilityQuerySchema","excludeOrganizationId","SlugAvailabilityQuery","ProjectSlugAvailabilityReasonSchema","ProjectSlugAvailabilityReason","ProjectSlugAvailabilityResponseSchema","ProjectSlugAvailabilityResponse","ProjectSlugAvailabilityQuerySchema","excludeProjectId","ProjectSlugAvailabilityQuery","validateProjectSlug","valid","message","validateClaimableOrganizationSlug","organizationSlugErrorCodeFromMessage","ProjectStatusSchema","failed","active","inactive","starting","ProjectStatus","OrganizationUserRoleSchema","admin","owner","builder","OrganizationUserRole","OrganizationSchema","id","verified","createdAt","updatedAt","Organization","ProjectSchema","ZodNullable","organizationId","description","status","baseUrl","runtimeId","lastError","Project","UserOrganizationSchema","organization","role","UserOrganization","CurrentOrganizationResponseSchema","CurrentOrganizationResponse","ActiveOrganizationResponseSchema","ActiveOrganizationResponse","ListOrganizationsResponseSchema","ZodArray","ListOrganizationsResponse","CreateOrganizationRequestSchema","UpdateOrganizationRequestSchema","UpdateOrganizationRequest","CreateOrganizationRequest","CreateOrganizationResponseSchema","CreateOrganizationResponse","ListProjectsResponseSchema","ListProjectsResponse","ProjectListMetricsSchema","ZodNumber","agentCount","workflowCount","skillCount","credentialCount","lastDeploymentAt","ProjectListMetrics","ListProjectMetricsResponseSchema","ZodRecord","ListProjectMetricsResponse","CreateProjectRequestSchema","CreateProjectRequest","UpdateProjectRequestSchema","UpdateProjectRequest","CreateProjectResponseSchema","CreateProjectResponse","ProjectResponseSchema","ProjectResponse","ProjectReachabilityResponseSchema","reachable","ProjectReachabilityResponse","parseCreateOrganizationRequest","AppSlugSchema","AppSlug","APP_SLUG_TAKEN_MESSAGE","slugifyAppName","validateAppSlug","PROJECT_PING_TIMEOUT_MS","PROJECT_REACHABILITY_REQUEST_TIMEOUT_MS","PROJECT_REACHABILITY_RETRY_MS","originFromPublicUrl","value","fallback","listenPortFromUrl","url","listenPortFromPublicUrl","LOCAL_PLATFORM_ORIGIN","DEFAULT_CLOUD_PLATFORM_ORIGIN","resolveExplicitPublicPlatformOrigin","NodeJS","ProcessEnv","env","resolvePublicPlatformOrigin","resolveExternalPlatformOrigin","resolvePublicPlatformApiOrigin","resolvePlatformWebhookOrigin","projectId","resolveMcpPlatformUrl","toolParameters","ZodType","Record","schema","AgentToolResult","TDetails","Array","content","type","text","data","mimeType","details","terminate","AgentToolUpdateCallback","partialResult","AgentToolParameters","AgentTool","AbortSignal","Promise","label","parameters","prepareArguments","args","execute","toolCallId","params","signal","onUpdate","executionMode","AGENT_TOOL_INPUT","DefineToolInput","TParameters","getAgentToolInputSchema","tool","defineTool","ROUTE_MANIFEST_REL_PATH","StoredRouteManifestSkillSchema","moduleFile","StoredRouteManifestSkill","StoredRouteManifestSchema","ZodLiteral","ZodDefault","ZodUnknown","ZodDiscriminatedUnion","version","entries","kind","model","systemPrompt","toolCount","appSlugs","toolSlugs","subscribable","requestSchema","endpoint","attachmentIds","sourceHash","attachmentSchemas","filterSchema","attachmentMeta","attachmentId","schedule","pollId","skills","integrations","StoredRouteManifest","parseStoredRouteManifest","AppCredentialFieldSchema","secret","optional","default","placement","prefix","AppCredentialFieldsSchema","AppCredentialField","AppCredentialFields","validateCredentialValueAgainstFields","fields","ok","OAuthScopeOptionSchema","defaultSelected","required","AppAuthKindSchema","oauth","api_key","keystroke","AppCredentialSchemeSchema","API_KEY","BEARER_TOKEN","BASIC","BASIC_WITH_JWT","AppSourceSchema","AppCatalogMetadataSchema","category","logo","authKind","oauthScopes","AppSeedEntrySchema","source","credentialFields","credentialScheme","AppSlugAvailabilityResponseSchema","AppSlugAvailabilityQuerySchema","CreateCustomAppRequestSchema","mcp","graphql","custom","CustomAppDetailSchema","CreateCustomAppResponseSchema","GetCustomAppResponseSchema","AppRecordSchema","AppCatalogEntrySchema","integrationDescription","gateway","capabilities","mentions","reactions","full","none","cards","partial","modals","streaming","drafts","native","buffered","dms","supportedModes","mention","all","dm","resourceNoun","singular","plural","supportsChannelDirectory","webhookPathHint","connectAppId","docsUrl","tagline","ListAppsResponseSchema","OAuthScopeOption","AppAuthKind","AppCredentialScheme","AppSource","AppCatalogMetadata","AppSeedEntry","AppRecord","AppCatalogEntry","ListAppsResponse","AppSlugAvailabilityResponse","AppSlugAvailabilityQuery","CreateCustomAppRequest","CustomAppDetail","CreateCustomAppResponse","GetCustomAppResponse","McpAuthProbeModeSchema","token","McpAuthProbeOAuthSchema","issuer","authorizationEndpoint","tokenEndpoint","registrationEndpoint","scopes","resource","resourceName","McpAuthProbeResultSchema","mode","unauthenticatedStatus","scheme","McpDiscoverRequestSchema","McpDiscoverResponseSchema","detected","template","serverName","serverDescription","StartMcpOAuthConnectionInputSchema","appSlug","projects","createOrganizationCredential","createUserProvidedCredential","credentialInstanceId","StartMcpOAuthConnectionResultSchema","authorizeUrl","McpAuthProbeMode","McpAuthProbeOAuth","McpAuthProbeResult","McpDiscoverRequest","McpDiscoverResponse","StartMcpOAuthConnectionInput","StartMcpOAuthConnectionResult","McpAppTemplate","mcpProbeToAppTemplate","probe","CustomAppDiscoverTemplate","deriveCustomAppDisplay","opts","McpToolResultImage","dataUrl","mediaType","McpToolResultFile","filename","uri","ParsedMcpToolResult","images","files","AiSdkToolResultContentPart","mediaDataUrl","mcpContentBlocksFromToolOutput","output","parseMcpToolResultDisplay","mcpContentBlocksToAiSdkParts","blocks","isRedundantMcpJsonText","OpenApiAppTemplate","homepageUrl","openApiSpecToAppTemplate","spec","OpenApiDiscoverRequestSchema","OpenApiDiscoverResponseSchema","OpenApiDiscoverRequest","OpenApiDiscoverResponse","GraphqlAuthProbe","GraphqlAppTemplate","isRecord","inferGraphqlAuthFromProbe","wwwAuthenticate","body","graphqlIntrospectionToAppTemplate","introspection","endpointUrl","authProbe","GraphqlDiscoverRequestSchema","GraphqlDiscoverResponseSchema","GraphqlDiscoverRequest","GraphqlDiscoverResponse","McpApiKeyPlacementSchema","DEFAULT_MCP_API_KEY_PLACEMENT","McpApiKeyPlacement","McpApiKeyCredentialValueSchema","McpApiKeyCredentialValue","McpAuthInjection","headers","searchParams","mcpApiKeyAuthInjection","mcpCredentialAuthInjection","values","CatalogAppSummarySchema","package","CatalogAppsPageSchema","items","nextCursor","CatalogAppDetailSchema","CatalogActionSummarySchema","CatalogActionsPageSchema","toolkit","CatalogActionDetailSchema","inputParameters","outputParameters","CatalogAppSummary","CatalogAppsPage","CatalogAppDetail","CatalogActionSummary","CatalogActionsPage","CatalogActionDetail","CatalogAppsPageResponseSchema","CatalogAppDetailResponseSchema","CatalogActionsPageResponseSchema","CatalogActionDetailResponseSchema","isOfficialSlug","qualifyOrgSlug","orgSlug","ParsedOfficialAppSlug","ParsedOrgAppSlug","ParsedAppSlug","parseAppSlug","buildConnectDeeplink","webUrl","options","resolveConnectAppSlug","apps","ProjectPackageManager","detectProjectPackageManagerFromSnapshot","ReadonlyArray","path","contents","isAcceptableInstallExit","manager","exitCode","ChannelPlatformKeySchema","slack","ChannelReactionSupportSchema","ChannelCardSupportSchema","ChannelStreamingSupportSchema","ChannelCapabilitiesSchema","ChannelListenModeSchema","ChannelBindingKindSchema","public","private","group","space","AppGatewaySchema","ChannelPlatformSchema","key","appLogoId","fallbackDomain","placeholder","helpText","password","textarea","ChannelBindingSchema","channelId","channelName","channelKind","subscribeOnMention","ChannelConnectionSchema","platform","agentId","accountLabel","accountId","connectedAt","bindings","ChannelDirectoryEntrySchema","memberCount","isArchived","ChannelConnectionListResponseSchema","ChannelDirectoryListResponseSchema","ChannelAccountMetadataSchema","teamName","ChannelAccountSchema","ChannelAccountListResponseSchema","NewChannelBindingInputSchema","BindChannelBodySchema","binding","UpdateChannelBindingBodySchema","patch","ChannelPlatformKey","ChannelCapabilities","ChannelListenMode","ChannelBindingKind","AppGateway","ChannelPlatform","ChannelBinding","ChannelConnection","ChannelDirectoryEntry","ChannelAccount","ChannelAccountMetadata","NewChannelBindingInput","BindChannelBody","UpdateChannelBindingBody","BindChannelInput","UpdateChannelBindingInput","bindingId","RemoveChannelBindingInput","CredentialAuthKindSchema","oauth_managed","CredentialScopeTypeSchema","user","project","CredentialAuthKind","CredentialScopeType","CREDENTIAL_AUTH_KINDS","CREDENTIAL_SCOPE_TYPES","displayCredentialAppName","appId","buildCredentialInstanceLabel","scopeType","appName","projectName","deriveCredentialInstanceSlug","Iterable","explicitSlug","takenSlugs","resolveUniqueCredentialInstanceLabel","baseLabel","takenLabels","disambiguator","AppCredentialScopeSchema","AppCredentialConnectionKindSchema","manual","OAuthPermissionModeSchema","restricted","AppCredentialSummarySchema","scope","lastRefreshedAt","lastUsedAt","isDefault","connectionKind","ownerUserId","ownerName","ownerAvatarUrl","grantedScopes","credentialKeys","keyPreviews","expiresAt","AppCredentialScope","AppCredentialConnectionKind","OAuthPermissionMode","AppCredentialSummary","CredentialTargetsFieldsSchema","CredentialTargetsFields","StartOAuthConnectionInputSchema","permissionMode","StartOAuthConnectionInput","StartOAuthConnectionResultSchema","connected","redirecting","StartOAuthConnectionResult","StartKeystrokeConnectionInputSchema","app","StartKeystrokeConnectionInput","StartKeystrokeConnectionResultSchema","connectionId","StartKeystrokeConnectionResult","CreateCredentialsRequestSchema","CreateCredentialsRequest","UpdateCredentialRequestSchema","UpdateCredentialRequest","ListCredentialsResponseSchema","GetCredentialResponseSchema","CreateCredentialsResponseSchema","ListCredentialsResponse","GetCredentialResponse","CreateCredentialsResponse","McpConnectionStatusSchema","INITIATED","ACTIVE","EXPIRED","FAILED","INACTIVE","REVOKED","McpConnectionStatus","McpAppSchema","McpApp","ListMcpAppsResponseSchema","mcpEntityId","scopeId","parseMcpEntityId","entityId","KeystrokeCredentialSchema","instanceId","KeystrokeCredential","McpCredentialAssignmentTargetSchema","agent","workflow","McpCredentialAssignmentTarget","ExecuteKeystrokeToolRequestSchema","arguments","assignmentTarget","consumerId","ExecuteKeystrokeToolRequest","ExecuteKeystrokeToolErrorCodeSchema","not_found","forbidden","mcp_execute_failed","ExecuteKeystrokeToolErrorCode","ExecuteKeystrokeToolErrorResponseSchema","error","ExecuteKeystrokeToolErrorResponse","MCP_TOOL_EXECUTE_FAILED_STATUS","formatMcpToolErrorMessage","raw","TeamRequestTypeSchema","contact","verification","SubmitTeamRequestRequestSchema","SubmitTeamRequestResponseSchema","TeamRequestType","SubmitTeamRequestRequest","SubmitTeamRequestResponse","MarketingContactCompanySizeSchema","SubmitMarketingContactRequestSchema","fullName","workEmail","companySize","companyWebsite","SubmitMarketingContactResponseSchema","MarketingContactCompanySize","SubmitMarketingContactRequest","SubmitMarketingContactResponse","PublicModelsResponseSchema","models","PublicModelsResponse","CredentialRequirement","tokenField","Credential","K","S","CredentialInput","CredentialList","isCredentialInput","credentialInputSchema","ZodCustom","NormalizeCredential","T","ResolvedCredentials","R","staticCredential","ZodTypeAny","oauthCredential","accessToken","F","keystrokeCredential","credential","static","DefineStaticCredentialInput","DefineOAuthCredentialInput","DefineKeystrokeCredentialInput","DefineCredentialInput","defineCredential","ReturnType","normalizeCredentialList","list","toCredentialRequirement","item","ValidationErrorDetailSchema","ValidationErrorDetail","ErrorResponseCodeSchema","ZodUnion","needs_org_selection","org_unverified","ErrorResponseCode","ErrorResponseSchema","code","ErrorResponse","validationErrorResponse","summary","parseErrorResponse","CHAT_ATTACHMENT_MAX_COUNT","CHAT_ATTACHMENT_MAX_BYTES","CHAT_ATTACHMENT_TYPES","ext","CHAT_ATTACHMENT_ALLOWED_MEDIA_TYPES","ChatAttachmentAllowedMediaType","chatAttachmentExtension","ChatAttachmentInputSchema","storageKey","ChatAttachmentInput","PresignChatAttachmentRequestSchema","contentType","size","PresignChatAttachmentRequest","PresignChatAttachmentResponseSchema","uploadUrl","PresignChatAttachmentResponse","isAllowedChatAttachmentMediaType","ModelCapabilities","modelSupportsMediaType","chatAttachmentServePath","agentSlug","parseChatAttachmentServePath","URL","PromptInputSchema","sessionId","subscriptionId","context","orgId","userId","userIds","selection","thinkingLevel","minimal","low","medium","high","xhigh","PromptInput","PromptResponseSchema","messages","PromptResponse","SkipResponseSchema","skipped","HealthResponseSchema","HealthResponse","PlatformInfoResponseSchema","service","PlatformInfoResponse","ConnectProviderSchema","requiresAuth","ConnectProvider","ConnectProvidersResponseSchema","providers","ConnectProvidersResponse","ConnectAuthorizeUrlResponseSchema","ConnectAuthorizeUrlResponse","QueuedRunResponseSchema","runId","QueuedRunResponse","QueuedAgentPromptResponseSchema","QueuedAgentPromptResponse","parsePromptInput","PollRunTargetSchema","attachments","PollRunTarget","PollRunRequestSchema","PollRunRequest","PollAttachmentResultSchema","attachmentSlug","workflowKey","queued","PollAttachmentResult","PollRunMultiResponseSchema","results","PollRunMultiResponse","PollRunResponseSchema","PollRunResponse","parsePollRunRequest","RunSourceKindSchema","trigger","api","RunSourceKind","RunSourceSchema","RunSource","AgentSessionSummarySchema","running","completed","canceled","sourceId","title","ranByUserName","gatewayPlatform","triggerType","cron","webhook","poll","messageCount","AgentSessionSummary","AgentSessionRecordSchema","parentSpanId","AgentSessionRecord","AgentSessionListQuerySchema","ZodCoercedNumber","limit","cursor","AgentSessionListQuery","AgentSessionListResponseSchema","AgentSessionListResponse","AgentSessionDetailIncludeSchema","events","trace","AgentSessionDetailQuerySchema","include","AgentSessionDetailQuery","parseAgentSessionDetailInclude","AgentSessionDetailInclude","GatewaySessionDetailSchema","threadId","GatewaySessionDetail","AgentEventSchema","seq","eventType","payload","AgentEvent","AgentSessionDetailResponseSchema","session","traceId","triggerRunId","workflowSlug","route","sourcePath","gatewayAttachmentId","gatewayAttachmentKey","spans","refId","startedAt","finishedAt","metadata","logs","spanId","level","AgentSessionDetailResponse","AgentSessionChatStateQuerySchema","sinceSeq","AgentSessionChatStateQuery","AgentSessionChatStateResponseSchema","live","AgentSessionChatStateResponse","AgentTriggerOriginSchema","ephemeral","AgentTriggerStatusSchema","disabled","AgentTriggerTypeSchema","AgentTriggerType","AgentTriggerSummarySchema","origin","prompt","executionCount","until","AgentTriggerSummary","AgentTriggerSummaryListResponseSchema","AgentTriggerSummaryListResponse","GatewayAttachmentRecordSchema","agentKey","teamId","channel","credentialKey","channelIds","registeredAt","GatewayAttachmentListResponseSchema","UpsertGatewayAttachmentBodySchema","AgentListItemSchema","AgentListResponseSchema","GatewayAttachmentRecord","GatewayAttachmentListResponse","UpsertGatewayAttachmentBody","AgentListItem","AgentListResponse","WorkflowEventTypeSchema","run_started","step_completed","step_failed","step_retrying","sleep_scheduled","sleep_completed","hook_created","hook_resumed","run_completed","run_failed","run_canceled","WorkflowEventType","WorkflowRunSummarySchema","pending","sleeping","waiting_hook","retry","triggeredAt","sourceKind","WorkflowRunSummary","WorkflowRunRecordSchema","parentWorkflowRunId","WorkflowRunRecord","WorkflowRunListQuerySchema","WorkflowRunListQuery","WorkflowRunListResponseSchema","WorkflowRunListResponse","WorkflowRunDetailIncludeSchema","steps","WorkflowRunDetailQuerySchema","WorkflowRunDetailQuery","parseWorkflowRunDetailInclude","WorkflowRunDetailInclude","TriggerRunDetailSchema","triggerId","TriggerRunDetail","TraceResponseSchema","TraceResponse","WorkflowRunDetailResponseSchema","run","actionKey","completedAt","WorkflowRunDetailResponse","WorkflowHookStatusSchema","waiting","resumed","WorkflowHookSummarySchema","correlationId","resumeUrl","WorkflowHookSummary","WorkflowRunHooksResponseSchema","WorkflowRunHooksResponse","HistoryRunKindSchema","HistoryRunStatusSchema","HistoryRunActorSchema","avatarUrl","HistoryRunUsageLineItemSchema","amountUsd","HistoryRunUsageSchema","runDurationMs","lineItems","totalExcludingDurationUsd","HistoryRunSchema","resourceKey","resourceId","timeInQueueMs","durationMs","triggerLabel","triggerRaw","ranAs","modelsUsed","otherServicesUsed","totalCostUsd","stepCount","HistoryTraceSpanSchema","HistoryTraceLogSchema","HistoryTraceTriggerSchema","HistoryTraceGatewaySchema","HistoryTraceSchema","HistoryWorkflowStepSchema","HistoryWorkflowRunDetailSchema","usage","HistoryAgentSessionDetailSchema","HistoryRunDetailSchema","HistoryRunListQuerySchema","HistoryRunListResponseSchema","HistoryRunDetailResponseSchema","HistoryRunCancelResponseSchema","HistoryRunKind","HistoryRunStatus","HistoryRunActor","HistoryRunUsageLineItem","HistoryRunUsage","HistoryRun","HistoryTraceSpan","HistoryTraceLog","HistoryTraceTrigger","HistoryTraceGateway","HistoryTrace","HistoryWorkflowStep","HistoryWorkflowRunDetail","HistoryAgentSessionDetail","HistoryRunDetail","HistoryRunListQuery","WorkflowSubscriptionRecordSchema","enabled","WorkflowSubscriptionListResponseSchema","subscriptions","UpsertWorkflowSubscriptionBodySchema","CredentialInstanceRecordSchema","CredentialInstanceListResponseSchema","instances","CreateCredentialInstanceBodySchema","UpdateCredentialInstanceBodySchema","WorkflowSubscriptionRecord","CreateCredentialInstanceBody","UpdateCredentialInstanceBody","CREDENTIAL_ASSIGNMENT_WILDCARD","CredentialAssignmentTargetTypeSchema","CredentialAssignmentRecordSchema","targetType","targetKey","credentialSlug","CredentialAssignmentListResponseSchema","assignments","AssignCredentialBodySchema","CredentialAssignmentListQuerySchema","CredentialConsumerListQuerySchema","CredentialConsumerSummarySchema","CredentialConsumerListResponseSchema","consumers","CredentialAssignmentTargetType","CredentialAssignmentRecord","AssignCredentialBody","CredentialAssignmentListQuery","CredentialConsumerListQuery","CredentialConsumerSummary","TriggerRunOutcomeSchema","dispatched","TriggerRunReasonSchema","filter_rejected","transform_undefined","invalid_payload","source_error","handler_error","TriggerRunWorkflowSummarySchema","TriggerRunWorkflowSummary","TriggerRunSummarySchema","outcome","detail","workflowRuns","agentSessions","TriggerRunSummary","TriggerRunRecordSchema","TriggerRunRecord","TriggerRunListQuerySchema","TriggerRunListQuery","TriggerRunListResponseSchema","TriggerRunListResponse","TriggerRunDetailIncludeSchema","TriggerRunDetailQuerySchema","TriggerRunDetailQuery","parseTriggerRunDetailInclude","TriggerRunDetailInclude","TriggerRunDetailResponseSchema","TriggerRunDetailResponse","TriggerRunOutcome","TriggerRunReason","TriggerTypeSchema","TriggerTargetKindSchema","TriggerStatusSchema","TriggerAttachmentStatusSchema","TriggerListItemSchema","webhookUrl","targetKind","TriggerListResponseSchema","TriggerListQuerySchema","TriggerDetailResponseSchema","TriggerAssignmentSchema","disabledAt","TriggerAssignment","TriggerAttachmentStatus","TriggerStatus","TriggerListItem","TriggerListResponse","TriggerListQuery","TriggerDetailResponse","TriggerTargetKind","TriggerType","WorkspaceTriggerRunStatusSchema","WorkspaceTriggerRunStatus","WorkspaceTriggerSkipReasonSchema","filtered","no_new_data","WorkspaceTriggerSkipReason","WorkspaceTriggerRunTargetSchema","workflowId","WorkspaceTriggerRunTarget","WorkspaceTriggerRunOutcomeSchema","targets","WorkspaceTriggerRunOutcome","WorkspaceTriggerSummarySchema","lastFiredAt","fireCount","WorkspaceTriggerSummary","WorkspaceTriggerDetailSchema","WorkspaceTriggerDetail","WorkspaceTriggerListResponseSchema","WorkspaceTriggerListResponse","WorkspaceTriggerRunSummarySchema","WorkspaceTriggerRunSummary","WorkspaceTriggerRunListResponseSchema","WorkspaceTriggerRunListResponse","WorkspaceTriggerFileSchema","WorkspaceTriggerFile","DEFAULT_TRIGGER_OVERVIEW_MODEL","WorkspaceTriggerOverviewStatusSchema","generating","ready","WorkspaceTriggerOverviewStatus","WorkspaceTriggerOverviewSchema","markdown","hash","generatedAt","WorkspaceTriggerOverview","TriggerOverviewInputSchema","sourceContents","TriggerOverviewInput","TriggerOverviewJobPayloadSchema","triggerHash","TriggerOverviewJobPayload","TriggerAttachmentUpdateRequestSchema","TriggerAttachmentUpdateRequest","TriggerAttachmentUpdateResponseSchema","TriggerAttachmentUpdateResponse","OrganizationMemberRoleSchema","OrganizationMemberRole","OrganizationMemberStatusSchema","invited","rejected","suspended","OrganizationMemberStatus","InvitableOrganizationMemberRoleSchema","InvitableOrganizationMemberRole","OrganizationMemberSchema","email","joinedAt","lastActiveAt","OrganizationMember","ListOrganizationMembersResponseSchema","ListOrganizationMembersResponse","InviteOrganizationMembersRequestSchema","emails","InviteOrganizationMembersRequest","InviteOrganizationMemberResultStatusSchema","sent","already_member","InviteOrganizationMemberResultStatus","InviteOrganizationMembersResponseSchema","invitationId","InviteOrganizationMembersResponse","UpdateOrganizationMemberRequestSchema","UpdateOrganizationMemberRequest","UpdateOrganizationMemberResponseSchema","UpdateOrganizationMemberResponse","OrganizationInvitationSchema","organizationName","organizationSlug","invitedByName","invitedByEmail","OrganizationInvitation","ListOrganizationInvitationsResponseSchema","ListOrganizationInvitationsResponse","AcceptOrganizationInvitationResponseSchema","AcceptOrganizationInvitationResponse","DeclineOrganizationInvitationResponseSchema","success","DeclineOrganizationInvitationResponse","organizationInvitationAcceptPath","ApiKeyCreatorSchema","deleted","ApiKeyCreator","ApiKeySummarySchema","keyPreview","createdBy","isCreatedByCurrentUser","ApiKeySummary","ListApiKeysResponseSchema","ListApiKeysResponse","CreateApiKeyRequestSchema","CreateApiKeyRequest","CreateApiKeyResponseSchema","CreateApiKeyResponse","ProjectUserRoleSchema","ProjectUserRole","ProjectInvitePermissionSchema","ProjectInvitePermission","ProjectMemberStatusSchema","ProjectMemberStatus","ProjectMemberSchema","image","isCurrentUser","ProjectMember","ListProjectMembersResponseSchema","ListProjectMembersResponse","InviteProjectMembersRequestSchema","InviteProjectMembersRequest","InviteProjectMemberResultStatusSchema","added","not_org_member","InviteProjectMemberResultStatus","InviteProjectMembersResponseSchema","InviteProjectMembersResponse","UpdateProjectMemberRequestSchema","UpdateProjectMemberRequest","UpdateProjectMemberResponseSchema","UpdateProjectMemberResponse","ProjectSettingsSchema","defaultRole","invitePermission","ProjectSettings","UpdateProjectSettingsRequestSchema","UpdateProjectSettingsRequest","ProjectSettingsResponseSchema","ProjectSettingsResponse","UserAvatarSchema","ZodURL","UserAvatar","UserAvatarPatchSchema","UserAvatarPatch","PresignUserAvatarRequestSchema","PresignUserAvatarRequest","PresignUserAvatarResponseSchema","PresignUserAvatarResponse","UserInterfaceThemeSchema","system","light","dark","UserInterfaceTheme","UserSurfaceContrastSchema","off","on","UserSurfaceContrast","UserWorkspaceLayoutModeSchema","linear","UserWorkspaceLayoutMode","UserWorkspaceFontSizeSchema","large","UserWorkspaceFontSize","UserSidebarNavIconVisibilitySchema","hidden","visible","UserSidebarNavIconVisibility","UserSidebarFooterChatRowVisibilitySchema","UserSidebarFooterChatRowVisibility","UserWorkspaceFavoriteKindSchema","skill","UserWorkspaceFavoriteKind","UserWorkspaceFavoriteSchema","UserWorkspaceFavorite","UserSidebarPreferencesSchema","navIconVisibility","footerChatRowVisibility","hiddenNavItemIds","topNavItemOrderIds","workspaceNavItemOrderIds","UserSidebarPreferences","UserPreferencesSchema","interfaceTheme","surfaceContrast","layoutMode","fontSize","sidebar","favorites","projectOrderIds","projectDotColors","onboardingTabVisible","UserPreferences","UserSidebarPreferencesPatchSchema","UserPreferencesPatchSchema","UserPreferencesPatch","DEFAULT_USER_PREFERENCES","normalizeUserPreferences","mergeUserPreferences","current","OrganizationLogoVariantSchema","OrganizationLogoVariant","DEFAULT_LOGO_HEIGHT_PX","MIN_LOGO_HEIGHT_PX","MAX_LOGO_HEIGHT_PX","OrganizationSidebarBrandingSchema","customLogoEnabled","customLogoExplicitlyDisabled","logoLightUrl","logoDarkUrl","logoHeightPx","OrganizationSidebarBranding","OrganizationSidebarBrandingPatchSchema","logoLightStorageKey","logoDarkStorageKey","OrganizationSidebarBrandingPatch","PresignOrgLogoRequestSchema","variant","PresignOrgLogoRequest","PresignOrgLogoResponseSchema","PresignOrgLogoResponse","DEFAULT_ORGANIZATION_SIDEBAR_BRANDING","normalizeLogoUrl","normalizeOrganizationSidebarBranding","mergeOrganizationSidebarBranding","Partial","ProjectArtifactStatusSchema","ProjectArtifactStatus","ProjectArtifactSchema","ProjectArtifact","CreateProjectArtifactResponseSchema","artifact","expiresInSeconds","CreateProjectArtifactResponse","CompleteProjectArtifactResponseSchema","CompleteProjectArtifactResponse","DownloadActiveProjectArtifactResponse","DownloadActiveProjectArtifactResponseSchema","artifactId","downloadUrl","ProjectDeploymentSchema","deployedBy","deployedByEmail","deployedByAvatarUrl","ProjectDeployment","ListProjectDeploymentsResponseSchema","ListProjectDeploymentsResponse","PLATFORM_RESOURCE_UNSUPPORTED_TEXT","PLATFORM_RESOURCE_UNSUPPORTED_TIMESTAMP","PLATFORM_RESOURCE_UNSUPPORTED_COUNT","AgentSummarySchema","lastRunAt","AgentSummary","WorkflowSummarySchema","WorkflowSummary","SkillSummarySchema","SkillSummary","AgentSummaryListResponseSchema","AgentSummaryDetailResponseSchema","AgentSummaryListResponse","AgentSummaryDetailResponse","WorkflowSummaryListResponseSchema","WorkflowSummaryDetailResponseSchema","WorkflowSummaryListResponse","WorkflowSummaryDetailResponse","SkillSummaryListResponseSchema","SkillSummaryDetailResponseSchema","SkillSummaryListResponse","SkillSummaryDetailResponse","RecentResourceKindSchema","RecentResourceSourceSchema","shared","owned","RecentResourceSchema","resourceKind","lastOpenedAt","lastModifiedAt","RecentResourceKind","RecentResourceSource","RecentResource","RecentResourceListResponseSchema","RecentResourceListResponse","ProjectFileSummarySchema","ProjectFileSummary","ProjectSourceResourceRefSchema","ProjectSourceResourceRef","ProjectSourceResourcesSchema","ProjectSourceResources","ListProjectFilesResponseSchema","resources","ListProjectFilesResponse","ProjectSourceFileSchema","ProjectSourceFile","SourceBlobRefSchema","SourceBlobRef","PresignProjectSourceRequestSchema","blobs","PresignProjectSourceRequest","PresignedBlobUploadSchema","PresignedBlobUpload","PresignProjectSourceResponseSchema","uploads","PresignProjectSourceResponse","ManifestFileRefSchema","ManifestFileRef","UploadProjectSourceManifestRequestSchema","UploadProjectSourceManifestRequest","UploadProjectSourceResponseSchema","fileCount","UploadProjectSourceResponse","StoredManifestFileSchema","StoredManifestFile","StoredProjectSourceManifestSchema","StoredProjectSourceManifest","DownloadActiveProjectSourceFileSchema","DownloadActiveProjectSourceFile","DownloadActiveProjectSourceResponseSchema","DownloadActiveProjectSourceResponse","projectFileLanguage","projectFileId","PROJECT_PULL_STATE_RELATIVE_PATH","ProjectPullStateSchema","pulledAt","ProjectPullState","AgentMemoryFileSummarySchema","AgentMemoryFileSummary","ListAgentMemoryFilesResponseSchema","ListAgentMemoryFilesResponse","agentMemoryFileId","AgentWorkspaceFileSummarySchema","AgentWorkspaceFileSummary","ListAgentWorkspaceFilesResponseSchema","ListAgentWorkspaceFilesResponse","agentWorkspaceFileId","PromptLlmThinkingLevel","PromptLlmRunOptions","outputSchema","temperature","maxTokens","stepId","CredentialAssignmentSet","byConsumer","wildcard","CredentialRunContext","CredentialConsumer","CredentialSelectionOption","OAuthTokenAdapter","getAccessToken","OAuthAccessTokenRefreshParams","clientId","clientSecret","refreshToken","OAuthAccessTokenRefreshResult","Date","accessTokenExpiresAt","OAuthAccessTokenRefresher","OAuthTokenRefreshRegistry","register","appKey","refresher","get","DiscoveredModule","file","KeystrokeSchedule","OrganizationRow","verifiedAt","ProjectRow","UserOrganizationRow","mapOrganization","row","mapProject","mapUserOrganization","OrganizationMemberRow","OrganizationInvitationRow","mapOrganizationMember","mapOrganizationInvitation","ProjectMemberRecord","mapProjectMember","mapProjectSettings","defaultMemberRole","ProjectArtifactRow","mapProjectArtifact","ProjectDeploymentRow","deployedByName","mapProjectDeployment"],"sources":["../../shared/dist/index.d.mts"],"mappings":";;;;;;KAoaKqK,eAAAA;EACHG,OAAAA,EAASD,KAAAA;IACPE,IAAAA;IACAC,IAAAA;EAAAA;IAEAD,IAAAA;IACAE,IAAAA;IACAC,QAAAA;EAAAA;EAEFC,OAAAA,EAASP,QAAQ;EACjBQ,SAAAA;AAAAA;AAAAA,KAEGC,uBAAAA,wBAA+CC,aAAAA,EAAeX,eAAe,CAACC,QAAAA;;KAE9EW,mBAAAA;;KAEAC,SAAAA;EACH9J,IAAAA;EACAiK,KAAAA;EACA9F,WAAAA;EACA+F,UAAAA,EAAYL,mBAAAA;EACZM,gBAAAA,IAAoBC,IAAAA;EACpBC,OAAAA,GAAUC,UAAAA,UAAoBC,MAAAA,WAAiBC,MAAAA,GAAST,WAAAA,EAAaU,QAAAA,GAAWd,uBAAAA,CAAwBT,QAAAA,MAAcc,OAAAA,CAAQf,eAAAA,CAAgBC,QAAAA;EAC9IwB,aAAAA;AAAAA;AAAAA;;KAMGE,eAAAA,qBAAoC/L,CAAAA,CAAEiK,OAAAA;EACzC9I,IAAAA;EACAiK,KAAAA;EACA9F,WAAAA,UA+DmBe;EA9DnBgF,UAAAA,EAAYW,WAAAA;EACZV,gBAAAA,IAAoBC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A,EAAWJ,yBAAAA;EACpCK,GAAAA,CAAIF,MAAAA,WAAiBH,yBAAyB;AAAA;AAAA"}
|
|
1
|
+
{"version":3,"file":"index-wVbZ-JO2.d.mts","names":["ZodError","z","DISCOVERY_CONVENTIONS","agents","flat","nested","helpers","workflows","triggers","openapi","ACTIVE_ORG_COOKIE","ACTIVE_ORG_HEADER","RESERVED_ORGANIZATION_SLUGS","Set","OrganizationSlugSchema","ZodString","OrganizationSlug","infer","ClaimableOrganizationSlugSchema","previewOrganizationSlugFromName","name","slugifyOrganizationName","parseOrganizationSlug","input","ProjectSlugSchema","ProjectSlug","slugifyProjectName","parseProjectSlug","ORGANIZATION_SLUG_TAKEN_MESSAGE","PROJECT_SLUG_TAKEN_MESSAGE","OrganizationSlugErrorCodeSchema","ZodEnum","slug_taken","slug_reserved","slug_invalid","OrganizationSlugErrorCode","SlugAvailabilityReasonSchema","taken","invalid","reserved","SlugAvailabilityReason","SlugAvailabilityResponseSchema","ZodBoolean","ZodOptional","core","$strip","ZodObject","slug","available","reason","suggestion","SlugAvailabilityResponse","SlugAvailabilityQuerySchema","excludeOrganizationId","SlugAvailabilityQuery","ProjectSlugAvailabilityReasonSchema","ProjectSlugAvailabilityReason","ProjectSlugAvailabilityResponseSchema","ProjectSlugAvailabilityResponse","ProjectSlugAvailabilityQuerySchema","excludeProjectId","ProjectSlugAvailabilityQuery","validateProjectSlug","valid","message","validateClaimableOrganizationSlug","organizationSlugErrorCodeFromMessage","ProjectStatusSchema","failed","active","inactive","starting","ProjectStatus","OrganizationUserRoleSchema","admin","owner","builder","OrganizationUserRole","OrganizationSchema","id","verified","createdAt","updatedAt","Organization","ProjectSchema","ZodNullable","organizationId","description","status","baseUrl","runtimeId","lastError","Project","UserOrganizationSchema","organization","role","UserOrganization","CurrentOrganizationResponseSchema","CurrentOrganizationResponse","ActiveOrganizationResponseSchema","ActiveOrganizationResponse","ListOrganizationsResponseSchema","ZodArray","ListOrganizationsResponse","CreateOrganizationRequestSchema","UpdateOrganizationRequestSchema","UpdateOrganizationRequest","CreateOrganizationRequest","CreateOrganizationResponseSchema","CreateOrganizationResponse","ListProjectsResponseSchema","ListProjectsResponse","ProjectListMetricsSchema","ZodNumber","agentCount","workflowCount","skillCount","credentialCount","lastDeploymentAt","ProjectListMetrics","ListProjectMetricsResponseSchema","ZodRecord","ListProjectMetricsResponse","CreateProjectRequestSchema","CreateProjectRequest","UpdateProjectRequestSchema","UpdateProjectRequest","CreateProjectResponseSchema","CreateProjectResponse","ProjectResponseSchema","ProjectResponse","ProjectReachabilityResponseSchema","reachable","ProjectReachabilityResponse","parseCreateOrganizationRequest","AppSlugSchema","AppSlug","APP_SLUG_TAKEN_MESSAGE","slugifyAppName","validateAppSlug","PROJECT_PING_TIMEOUT_MS","PROJECT_REACHABILITY_REQUEST_TIMEOUT_MS","PROJECT_REACHABILITY_RETRY_MS","DOCS_MCP_PATH","DOCS_SEARCH_TOOL","DOCS_QUERY_TOOL","resolveDocsMcpUrl","webUrl","override","options","originFromPublicUrl","value","fallback","listenPortFromUrl","url","listenPortFromPublicUrl","LOCAL_PLATFORM_ORIGIN","DEFAULT_CLOUD_PLATFORM_ORIGIN","resolveExplicitPublicPlatformOrigin","NodeJS","ProcessEnv","env","resolvePublicPlatformOrigin","resolveExternalPlatformOrigin","resolvePublicPlatformApiOrigin","resolvePlatformWebhookOrigin","projectId","resolveMcpPlatformUrl","toolParameters","ZodType","Record","schema","AgentToolResult","TDetails","Array","content","type","text","data","mimeType","details","terminate","AgentToolUpdateCallback","partialResult","AgentToolParameters","AgentTool","AbortSignal","Promise","label","parameters","prepareArguments","args","execute","toolCallId","params","signal","onUpdate","executionMode","AGENT_TOOL_INPUT","DefineToolInput","TParameters","getAgentToolInputSchema","tool","defineTool","ROUTE_MANIFEST_REL_PATH","StoredRouteManifestSkillSchema","moduleFile","StoredRouteManifestSkill","StoredRouteManifestSchema","ZodLiteral","ZodDefault","ZodUnknown","ZodDiscriminatedUnion","version","entries","kind","model","systemPrompt","toolCount","appSlugs","toolSlugs","subscribable","requestSchema","endpoint","attachmentIds","sourceHash","attachmentSchemas","filterSchema","attachmentMeta","attachmentId","schedule","pollId","skills","integrations","StoredRouteManifest","parseStoredRouteManifest","AppCredentialFieldSchema","secret","optional","default","placement","prefix","AppCredentialFieldsSchema","AppCredentialField","AppCredentialFields","validateCredentialValueAgainstFields","fields","ok","OAuthScopeOptionSchema","defaultSelected","required","AppAuthKindSchema","oauth","api_key","keystroke","AppCredentialSchemeSchema","API_KEY","BEARER_TOKEN","BASIC","BASIC_WITH_JWT","AppSourceSchema","AppCatalogMetadataSchema","category","logo","authKind","oauthScopes","AppSeedEntrySchema","source","credentialFields","credentialScheme","AppSlugAvailabilityResponseSchema","AppSlugAvailabilityQuerySchema","CreateCustomAppRequestSchema","mcp","graphql","custom","CustomAppDetailSchema","CreateCustomAppResponseSchema","GetCustomAppResponseSchema","AppRecordSchema","AppCatalogEntrySchema","integrationDescription","gateway","capabilities","mentions","reactions","full","none","cards","partial","modals","streaming","drafts","native","buffered","dms","supportedModes","mention","all","dm","resourceNoun","singular","plural","supportsChannelDirectory","webhookPathHint","connectAppId","docsUrl","tagline","ListAppsResponseSchema","OAuthScopeOption","AppAuthKind","AppCredentialScheme","AppSource","AppCatalogMetadata","AppSeedEntry","AppRecord","AppCatalogEntry","ListAppsResponse","AppSlugAvailabilityResponse","AppSlugAvailabilityQuery","CreateCustomAppRequest","CustomAppDetail","CreateCustomAppResponse","GetCustomAppResponse","McpAuthProbeModeSchema","token","McpAuthProbeOAuthSchema","issuer","authorizationEndpoint","tokenEndpoint","registrationEndpoint","scopes","resource","resourceName","McpAuthProbeResultSchema","mode","unauthenticatedStatus","scheme","McpDiscoverRequestSchema","McpDiscoverResponseSchema","detected","template","serverName","serverDescription","StartMcpOAuthConnectionInputSchema","appSlug","projects","createOrganizationCredential","createUserProvidedCredential","credentialInstanceId","StartMcpOAuthConnectionResultSchema","authorizeUrl","McpAuthProbeMode","McpAuthProbeOAuth","McpAuthProbeResult","McpDiscoverRequest","McpDiscoverResponse","StartMcpOAuthConnectionInput","StartMcpOAuthConnectionResult","McpAppTemplate","mcpProbeToAppTemplate","probe","CustomAppDiscoverTemplate","deriveCustomAppDisplay","opts","McpToolResultImage","dataUrl","mediaType","McpToolResultFile","filename","uri","ParsedMcpToolResult","images","files","AiSdkToolResultContentPart","mediaDataUrl","mcpContentBlocksFromToolOutput","output","parseMcpToolResultDisplay","mcpContentBlocksToAiSdkParts","blocks","isRedundantMcpJsonText","OpenApiAppTemplate","homepageUrl","openApiSpecToAppTemplate","spec","OpenApiDiscoverRequestSchema","OpenApiDiscoverResponseSchema","OpenApiDiscoverRequest","OpenApiDiscoverResponse","GraphqlAuthProbe","GraphqlAppTemplate","isRecord","inferGraphqlAuthFromProbe","wwwAuthenticate","body","graphqlIntrospectionToAppTemplate","introspection","endpointUrl","authProbe","GraphqlDiscoverRequestSchema","GraphqlDiscoverResponseSchema","GraphqlDiscoverRequest","GraphqlDiscoverResponse","McpApiKeyPlacementSchema","DEFAULT_MCP_API_KEY_PLACEMENT","McpApiKeyPlacement","McpApiKeyCredentialValueSchema","McpApiKeyCredentialValue","McpAuthInjection","headers","searchParams","mcpApiKeyAuthInjection","mcpCredentialAuthInjection","values","CatalogAppSummarySchema","package","CatalogAppsPageSchema","items","nextCursor","CatalogAppDetailSchema","CatalogActionSummarySchema","CatalogActionsPageSchema","toolkit","CatalogActionDetailSchema","inputParameters","outputParameters","CatalogAppSummary","CatalogAppsPage","CatalogAppDetail","CatalogActionSummary","CatalogActionsPage","CatalogActionDetail","CatalogAppsPageResponseSchema","CatalogAppDetailResponseSchema","CatalogActionsPageResponseSchema","CatalogActionDetailResponseSchema","isOfficialSlug","qualifyOrgSlug","orgSlug","ParsedOfficialAppSlug","ParsedOrgAppSlug","ParsedAppSlug","parseAppSlug","buildConnectDeeplink","resolveConnectAppSlug","apps","ProjectPackageManager","detectProjectPackageManagerFromSnapshot","ReadonlyArray","path","contents","isAcceptableInstallExit","manager","exitCode","ChannelPlatformKeySchema","slack","ChannelReactionSupportSchema","ChannelCardSupportSchema","ChannelStreamingSupportSchema","ChannelCapabilitiesSchema","ChannelListenModeSchema","ChannelBindingKindSchema","public","private","group","space","AppGatewaySchema","ChannelPlatformSchema","key","appLogoId","fallbackDomain","placeholder","helpText","password","textarea","ChannelBindingSchema","channelId","channelName","channelKind","subscribeOnMention","ChannelConnectionSchema","platform","agentId","accountLabel","accountId","connectedAt","bindings","ChannelDirectoryEntrySchema","memberCount","isArchived","ChannelConnectionListResponseSchema","ChannelDirectoryListResponseSchema","ChannelAccountMetadataSchema","teamName","ChannelAccountSchema","ChannelAccountListResponseSchema","NewChannelBindingInputSchema","BindChannelBodySchema","binding","UpdateChannelBindingBodySchema","patch","ChannelPlatformKey","ChannelCapabilities","ChannelListenMode","ChannelBindingKind","AppGateway","ChannelPlatform","ChannelBinding","ChannelConnection","ChannelDirectoryEntry","ChannelAccount","ChannelAccountMetadata","NewChannelBindingInput","BindChannelBody","UpdateChannelBindingBody","BindChannelInput","UpdateChannelBindingInput","bindingId","RemoveChannelBindingInput","CredentialAuthKindSchema","oauth_managed","CredentialScopeTypeSchema","user","project","CredentialAuthKind","CredentialScopeType","CREDENTIAL_AUTH_KINDS","CREDENTIAL_SCOPE_TYPES","displayCredentialAppName","appId","buildCredentialInstanceLabel","scopeType","appName","projectName","deriveCredentialInstanceSlug","Iterable","explicitSlug","takenSlugs","resolveUniqueCredentialInstanceLabel","baseLabel","takenLabels","disambiguator","AppCredentialScopeSchema","AppCredentialConnectionKindSchema","manual","OAuthPermissionModeSchema","restricted","AppCredentialSummarySchema","scope","lastRefreshedAt","lastUsedAt","isDefault","connectionKind","ownerUserId","ownerName","ownerAvatarUrl","grantedScopes","credentialKeys","keyPreviews","expiresAt","AppCredentialScope","AppCredentialConnectionKind","OAuthPermissionMode","AppCredentialSummary","CredentialTargetsFieldsSchema","CredentialTargetsFields","StartOAuthConnectionInputSchema","permissionMode","StartOAuthConnectionInput","StartOAuthConnectionResultSchema","connected","redirecting","StartOAuthConnectionResult","StartKeystrokeConnectionInputSchema","app","StartKeystrokeConnectionInput","StartKeystrokeConnectionResultSchema","connectionId","StartKeystrokeConnectionResult","CreateCredentialsRequestSchema","CreateCredentialsRequest","UpdateCredentialRequestSchema","UpdateCredentialRequest","ListCredentialsResponseSchema","GetCredentialResponseSchema","CreateCredentialsResponseSchema","ListCredentialsResponse","GetCredentialResponse","CreateCredentialsResponse","McpConnectionStatusSchema","INITIATED","ACTIVE","EXPIRED","FAILED","INACTIVE","REVOKED","McpConnectionStatus","McpAppSchema","McpApp","ListMcpAppsResponseSchema","mcpEntityId","scopeId","parseMcpEntityId","entityId","KeystrokeCredentialSchema","instanceId","KeystrokeCredential","McpCredentialAssignmentTargetSchema","agent","workflow","McpCredentialAssignmentTarget","ExecuteKeystrokeToolRequestSchema","arguments","assignmentTarget","consumerId","ExecuteKeystrokeToolRequest","ExecuteKeystrokeToolErrorCodeSchema","not_found","forbidden","mcp_execute_failed","ExecuteKeystrokeToolErrorCode","ExecuteKeystrokeToolErrorResponseSchema","error","ExecuteKeystrokeToolErrorResponse","MCP_TOOL_EXECUTE_FAILED_STATUS","formatMcpToolErrorMessage","raw","TeamRequestTypeSchema","contact","verification","SubmitTeamRequestRequestSchema","SubmitTeamRequestResponseSchema","TeamRequestType","SubmitTeamRequestRequest","SubmitTeamRequestResponse","MarketingContactCompanySizeSchema","SubmitMarketingContactRequestSchema","fullName","workEmail","companySize","companyWebsite","SubmitMarketingContactResponseSchema","MarketingContactCompanySize","SubmitMarketingContactRequest","SubmitMarketingContactResponse","PublicModelsResponseSchema","models","PublicModelsResponse","CredentialRequirement","tokenField","Credential","K","S","CredentialInput","CredentialList","isCredentialInput","credentialInputSchema","ZodCustom","NormalizeCredential","T","ResolvedCredentials","R","staticCredential","ZodTypeAny","oauthCredential","accessToken","F","keystrokeCredential","credential","static","DefineStaticCredentialInput","DefineOAuthCredentialInput","DefineKeystrokeCredentialInput","DefineCredentialInput","defineCredential","ReturnType","normalizeCredentialList","list","toCredentialRequirement","item","ValidationErrorDetailSchema","ValidationErrorDetail","ErrorResponseCodeSchema","ZodUnion","needs_org_selection","org_unverified","ErrorResponseCode","ErrorResponseSchema","code","ErrorResponse","validationErrorResponse","summary","parseErrorResponse","CHAT_ATTACHMENT_MAX_COUNT","CHAT_ATTACHMENT_MAX_BYTES","CHAT_ATTACHMENT_TYPES","ext","CHAT_ATTACHMENT_ALLOWED_MEDIA_TYPES","ChatAttachmentAllowedMediaType","chatAttachmentExtension","ChatAttachmentInputSchema","storageKey","ChatAttachmentInput","PresignChatAttachmentRequestSchema","contentType","size","PresignChatAttachmentRequest","PresignChatAttachmentResponseSchema","uploadUrl","PresignChatAttachmentResponse","isAllowedChatAttachmentMediaType","ModelCapabilities","modelSupportsMediaType","chatAttachmentServePath","agentSlug","parseChatAttachmentServePath","URL","PromptInputSchema","sessionId","subscriptionId","context","orgId","userId","userIds","selection","thinkingLevel","minimal","low","medium","high","xhigh","PromptInput","PromptResponseSchema","messages","PromptResponse","SkipResponseSchema","skipped","HealthResponseSchema","HealthResponse","PlatformInfoResponseSchema","service","PlatformInfoResponse","ConnectProviderSchema","requiresAuth","ConnectProvider","ConnectProvidersResponseSchema","providers","ConnectProvidersResponse","ConnectAuthorizeUrlResponseSchema","ConnectAuthorizeUrlResponse","QueuedRunResponseSchema","runId","QueuedRunResponse","QueuedAgentPromptResponseSchema","QueuedAgentPromptResponse","parsePromptInput","PollRunTargetSchema","attachments","PollRunTarget","PollRunRequestSchema","PollRunRequest","PollAttachmentResultSchema","attachmentSlug","workflowKey","queued","PollAttachmentResult","PollRunMultiResponseSchema","results","PollRunMultiResponse","PollRunResponseSchema","PollRunResponse","parsePollRunRequest","RunSourceKindSchema","trigger","api","RunSourceKind","RunSourceSchema","RunSource","AgentSessionSummarySchema","running","completed","canceled","sourceId","title","ranByUserName","gatewayPlatform","triggerType","cron","webhook","poll","messageCount","AgentSessionSummary","AgentSessionRecordSchema","parentSpanId","AgentSessionRecord","AgentSessionListQuerySchema","ZodCoercedNumber","limit","cursor","AgentSessionListQuery","AgentSessionListResponseSchema","AgentSessionListResponse","AgentSessionDetailIncludeSchema","events","trace","AgentSessionDetailQuerySchema","include","AgentSessionDetailQuery","parseAgentSessionDetailInclude","AgentSessionDetailInclude","GatewaySessionDetailSchema","threadId","GatewaySessionDetail","AgentEventSchema","seq","eventType","payload","AgentEvent","AgentSessionDetailResponseSchema","session","traceId","triggerRunId","workflowSlug","route","sourcePath","gatewayAttachmentId","gatewayAttachmentKey","spans","refId","startedAt","finishedAt","metadata","logs","spanId","level","AgentSessionDetailResponse","AgentSessionChatStateQuerySchema","sinceSeq","AgentSessionChatStateQuery","AgentSessionChatStateResponseSchema","live","AgentSessionChatStateResponse","AgentTriggerOriginSchema","ephemeral","AgentTriggerStatusSchema","disabled","AgentTriggerTypeSchema","AgentTriggerType","AgentTriggerSummarySchema","origin","prompt","executionCount","until","AgentTriggerSummary","AgentTriggerSummaryListResponseSchema","AgentTriggerSummaryListResponse","GatewayAttachmentRecordSchema","agentKey","teamId","channel","credentialKey","channelIds","registeredAt","GatewayAttachmentListResponseSchema","UpsertGatewayAttachmentBodySchema","AgentListItemSchema","AgentListResponseSchema","GatewayAttachmentRecord","GatewayAttachmentListResponse","UpsertGatewayAttachmentBody","AgentListItem","AgentListResponse","WorkflowEventTypeSchema","run_started","step_completed","step_failed","step_retrying","sleep_scheduled","sleep_completed","hook_created","hook_resumed","run_completed","run_failed","run_canceled","WorkflowEventType","WorkflowRunSummarySchema","pending","sleeping","waiting_hook","retry","triggeredAt","sourceKind","WorkflowRunSummary","WorkflowRunRecordSchema","parentWorkflowRunId","WorkflowRunRecord","WorkflowRunListQuerySchema","WorkflowRunListQuery","WorkflowRunListResponseSchema","WorkflowRunListResponse","WorkflowRunDetailIncludeSchema","steps","WorkflowRunDetailQuerySchema","WorkflowRunDetailQuery","parseWorkflowRunDetailInclude","WorkflowRunDetailInclude","TriggerRunDetailSchema","triggerId","TriggerRunDetail","TraceResponseSchema","TraceResponse","WorkflowRunDetailResponseSchema","run","actionKey","completedAt","WorkflowRunDetailResponse","WorkflowHookStatusSchema","waiting","resumed","WorkflowHookSummarySchema","correlationId","resumeUrl","WorkflowHookSummary","WorkflowRunHooksResponseSchema","WorkflowRunHooksResponse","HistoryRunKindSchema","HistoryRunStatusSchema","HistoryRunActorSchema","avatarUrl","HistoryRunUsageLineItemSchema","amountUsd","HistoryRunUsageSchema","runDurationMs","lineItems","totalExcludingDurationUsd","HistoryRunSchema","resourceKey","resourceId","timeInQueueMs","durationMs","triggerLabel","triggerRaw","ranAs","modelsUsed","otherServicesUsed","totalCostUsd","stepCount","HistoryTraceSpanSchema","HistoryTraceLogSchema","HistoryTraceTriggerSchema","HistoryTraceGatewaySchema","HistoryTraceSchema","HistoryWorkflowStepSchema","HistoryWorkflowRunDetailSchema","usage","HistoryAgentSessionDetailSchema","HistoryRunDetailSchema","HistoryRunListQuerySchema","HistoryRunListResponseSchema","HistoryRunDetailResponseSchema","HistoryRunCancelResponseSchema","HistoryRunKind","HistoryRunStatus","HistoryRunActor","HistoryRunUsageLineItem","HistoryRunUsage","HistoryRun","HistoryTraceSpan","HistoryTraceLog","HistoryTraceTrigger","HistoryTraceGateway","HistoryTrace","HistoryWorkflowStep","HistoryWorkflowRunDetail","HistoryAgentSessionDetail","HistoryRunDetail","HistoryRunListQuery","WorkflowSubscriptionRecordSchema","enabled","WorkflowSubscriptionListResponseSchema","subscriptions","UpsertWorkflowSubscriptionBodySchema","CredentialInstanceRecordSchema","CredentialInstanceListResponseSchema","instances","CreateCredentialInstanceBodySchema","UpdateCredentialInstanceBodySchema","WorkflowSubscriptionRecord","CreateCredentialInstanceBody","UpdateCredentialInstanceBody","CREDENTIAL_ASSIGNMENT_WILDCARD","CredentialAssignmentTargetTypeSchema","CredentialAssignmentRecordSchema","targetType","targetKey","credentialSlug","CredentialAssignmentListResponseSchema","assignments","AssignCredentialBodySchema","CredentialAssignmentListQuerySchema","CredentialConsumerListQuerySchema","CredentialConsumerSummarySchema","CredentialConsumerListResponseSchema","consumers","CredentialAssignmentTargetType","CredentialAssignmentRecord","AssignCredentialBody","CredentialAssignmentListQuery","CredentialConsumerListQuery","CredentialConsumerSummary","TriggerRunOutcomeSchema","dispatched","TriggerRunReasonSchema","filter_rejected","transform_undefined","invalid_payload","source_error","handler_error","TriggerRunWorkflowSummarySchema","TriggerRunWorkflowSummary","TriggerRunSummarySchema","outcome","detail","workflowRuns","agentSessions","TriggerRunSummary","TriggerRunRecordSchema","TriggerRunRecord","TriggerRunListQuerySchema","TriggerRunListQuery","TriggerRunListResponseSchema","TriggerRunListResponse","TriggerRunDetailIncludeSchema","TriggerRunDetailQuerySchema","TriggerRunDetailQuery","parseTriggerRunDetailInclude","TriggerRunDetailInclude","TriggerRunDetailResponseSchema","TriggerRunDetailResponse","TriggerRunOutcome","TriggerRunReason","TriggerTypeSchema","TriggerTargetKindSchema","TriggerStatusSchema","TriggerAttachmentStatusSchema","TriggerListItemSchema","webhookUrl","targetKind","TriggerListResponseSchema","TriggerListQuerySchema","TriggerDetailResponseSchema","TriggerAssignmentSchema","disabledAt","TriggerAssignment","TriggerAttachmentStatus","TriggerStatus","TriggerListItem","TriggerListResponse","TriggerListQuery","TriggerDetailResponse","TriggerTargetKind","TriggerType","WorkspaceTriggerRunStatusSchema","WorkspaceTriggerRunStatus","WorkspaceTriggerSkipReasonSchema","filtered","no_new_data","WorkspaceTriggerSkipReason","WorkspaceTriggerRunTargetSchema","workflowId","WorkspaceTriggerRunTarget","WorkspaceTriggerRunOutcomeSchema","targets","WorkspaceTriggerRunOutcome","WorkspaceTriggerSummarySchema","lastFiredAt","fireCount","WorkspaceTriggerSummary","WorkspaceTriggerDetailSchema","WorkspaceTriggerDetail","WorkspaceTriggerListResponseSchema","WorkspaceTriggerListResponse","WorkspaceTriggerRunSummarySchema","WorkspaceTriggerRunSummary","WorkspaceTriggerRunListResponseSchema","WorkspaceTriggerRunListResponse","WorkspaceTriggerFileSchema","WorkspaceTriggerFile","DEFAULT_TRIGGER_OVERVIEW_MODEL","WorkspaceTriggerOverviewStatusSchema","generating","ready","WorkspaceTriggerOverviewStatus","WorkspaceTriggerOverviewSchema","markdown","hash","generatedAt","WorkspaceTriggerOverview","TriggerOverviewInputSchema","sourceContents","TriggerOverviewInput","TriggerOverviewJobPayloadSchema","triggerHash","TriggerOverviewJobPayload","TriggerAttachmentUpdateRequestSchema","TriggerAttachmentUpdateRequest","TriggerAttachmentUpdateResponseSchema","TriggerAttachmentUpdateResponse","OrganizationMemberRoleSchema","OrganizationMemberRole","OrganizationMemberStatusSchema","invited","rejected","suspended","OrganizationMemberStatus","InvitableOrganizationMemberRoleSchema","InvitableOrganizationMemberRole","OrganizationMemberSchema","email","joinedAt","lastActiveAt","OrganizationMember","ListOrganizationMembersResponseSchema","ListOrganizationMembersResponse","InviteOrganizationMembersRequestSchema","emails","InviteOrganizationMembersRequest","InviteOrganizationMemberResultStatusSchema","sent","already_member","InviteOrganizationMemberResultStatus","InviteOrganizationMembersResponseSchema","invitationId","InviteOrganizationMembersResponse","UpdateOrganizationMemberRequestSchema","UpdateOrganizationMemberRequest","UpdateOrganizationMemberResponseSchema","UpdateOrganizationMemberResponse","OrganizationInvitationSchema","organizationName","organizationSlug","invitedByName","invitedByEmail","OrganizationInvitation","ListOrganizationInvitationsResponseSchema","ListOrganizationInvitationsResponse","AcceptOrganizationInvitationResponseSchema","AcceptOrganizationInvitationResponse","DeclineOrganizationInvitationResponseSchema","success","DeclineOrganizationInvitationResponse","organizationInvitationAcceptPath","ApiKeyCreatorSchema","deleted","ApiKeyCreator","ApiKeySummarySchema","keyPreview","createdBy","isCreatedByCurrentUser","ApiKeySummary","ListApiKeysResponseSchema","ListApiKeysResponse","CreateApiKeyRequestSchema","CreateApiKeyRequest","CreateApiKeyResponseSchema","CreateApiKeyResponse","ProjectUserRoleSchema","ProjectUserRole","ProjectInvitePermissionSchema","ProjectInvitePermission","ProjectMemberStatusSchema","ProjectMemberStatus","ProjectMemberSchema","image","isCurrentUser","ProjectMember","ListProjectMembersResponseSchema","ListProjectMembersResponse","InviteProjectMembersRequestSchema","InviteProjectMembersRequest","InviteProjectMemberResultStatusSchema","added","not_org_member","InviteProjectMemberResultStatus","InviteProjectMembersResponseSchema","InviteProjectMembersResponse","UpdateProjectMemberRequestSchema","UpdateProjectMemberRequest","UpdateProjectMemberResponseSchema","UpdateProjectMemberResponse","ProjectSettingsSchema","defaultRole","invitePermission","ProjectSettings","UpdateProjectSettingsRequestSchema","UpdateProjectSettingsRequest","ProjectSettingsResponseSchema","ProjectSettingsResponse","UserAvatarSchema","ZodURL","UserAvatar","UserAvatarPatchSchema","UserAvatarPatch","PresignUserAvatarRequestSchema","PresignUserAvatarRequest","PresignUserAvatarResponseSchema","PresignUserAvatarResponse","UserInterfaceThemeSchema","system","light","dark","UserInterfaceTheme","UserSurfaceContrastSchema","off","on","UserSurfaceContrast","UserWorkspaceLayoutModeSchema","linear","UserWorkspaceLayoutMode","UserWorkspaceFontSizeSchema","large","UserWorkspaceFontSize","UserSidebarNavIconVisibilitySchema","hidden","visible","UserSidebarNavIconVisibility","UserSidebarFooterChatRowVisibilitySchema","UserSidebarFooterChatRowVisibility","UserWorkspaceFavoriteKindSchema","skill","UserWorkspaceFavoriteKind","UserWorkspaceFavoriteSchema","UserWorkspaceFavorite","UserSidebarPreferencesSchema","navIconVisibility","footerChatRowVisibility","hiddenNavItemIds","topNavItemOrderIds","workspaceNavItemOrderIds","UserSidebarPreferences","UserPreferencesSchema","interfaceTheme","surfaceContrast","layoutMode","fontSize","sidebar","favorites","projectOrderIds","projectDotColors","onboardingTabVisible","UserPreferences","UserSidebarPreferencesPatchSchema","UserPreferencesPatchSchema","UserPreferencesPatch","DEFAULT_USER_PREFERENCES","normalizeUserPreferences","mergeUserPreferences","current","OrganizationLogoVariantSchema","OrganizationLogoVariant","DEFAULT_LOGO_HEIGHT_PX","MIN_LOGO_HEIGHT_PX","MAX_LOGO_HEIGHT_PX","OrganizationSidebarBrandingSchema","customLogoEnabled","customLogoExplicitlyDisabled","logoLightUrl","logoDarkUrl","logoHeightPx","OrganizationSidebarBranding","OrganizationSidebarBrandingPatchSchema","logoLightStorageKey","logoDarkStorageKey","OrganizationSidebarBrandingPatch","PresignOrgLogoRequestSchema","variant","PresignOrgLogoRequest","PresignOrgLogoResponseSchema","PresignOrgLogoResponse","DEFAULT_ORGANIZATION_SIDEBAR_BRANDING","normalizeLogoUrl","normalizeOrganizationSidebarBranding","mergeOrganizationSidebarBranding","Partial","ProjectArtifactStatusSchema","ProjectArtifactStatus","ProjectArtifactSchema","ProjectArtifact","CreateProjectArtifactResponseSchema","artifact","expiresInSeconds","CreateProjectArtifactResponse","CompleteProjectArtifactResponseSchema","CompleteProjectArtifactResponse","DownloadActiveProjectArtifactResponse","DownloadActiveProjectArtifactResponseSchema","artifactId","downloadUrl","ProjectDeploymentSchema","deployedBy","deployedByEmail","deployedByAvatarUrl","ProjectDeployment","ListProjectDeploymentsResponseSchema","ListProjectDeploymentsResponse","PLATFORM_RESOURCE_UNSUPPORTED_TEXT","PLATFORM_RESOURCE_UNSUPPORTED_TIMESTAMP","PLATFORM_RESOURCE_UNSUPPORTED_COUNT","AgentSummarySchema","lastRunAt","AgentSummary","WorkflowSummarySchema","WorkflowSummary","SkillSummarySchema","SkillSummary","AgentSummaryListResponseSchema","AgentSummaryDetailResponseSchema","AgentSummaryListResponse","AgentSummaryDetailResponse","WorkflowSummaryListResponseSchema","WorkflowSummaryDetailResponseSchema","WorkflowSummaryListResponse","WorkflowSummaryDetailResponse","SkillSummaryListResponseSchema","SkillSummaryDetailResponseSchema","SkillSummaryListResponse","SkillSummaryDetailResponse","RecentResourceKindSchema","RecentResourceSourceSchema","shared","owned","RecentResourceSchema","resourceKind","lastOpenedAt","lastModifiedAt","RecentResourceKind","RecentResourceSource","RecentResource","RecentResourceListResponseSchema","RecentResourceListResponse","ProjectFileSummarySchema","ProjectFileSummary","ProjectSourceResourceRefSchema","ProjectSourceResourceRef","ProjectSourceResourcesSchema","ProjectSourceResources","ListProjectFilesResponseSchema","resources","ListProjectFilesResponse","ProjectSourceFileSchema","ProjectSourceFile","SourceBlobRefSchema","SourceBlobRef","PresignProjectSourceRequestSchema","blobs","PresignProjectSourceRequest","PresignedBlobUploadSchema","PresignedBlobUpload","PresignProjectSourceResponseSchema","uploads","PresignProjectSourceResponse","ManifestFileRefSchema","ManifestFileRef","UploadProjectSourceManifestRequestSchema","UploadProjectSourceManifestRequest","UploadProjectSourceResponseSchema","fileCount","UploadProjectSourceResponse","StoredManifestFileSchema","StoredManifestFile","StoredProjectSourceManifestSchema","StoredProjectSourceManifest","DownloadActiveProjectSourceFileSchema","DownloadActiveProjectSourceFile","DownloadActiveProjectSourceResponseSchema","DownloadActiveProjectSourceResponse","projectFileLanguage","projectFileId","PROJECT_PULL_STATE_RELATIVE_PATH","ProjectPullStateSchema","pulledAt","ProjectPullState","AgentMemoryFileSummarySchema","AgentMemoryFileSummary","ListAgentMemoryFilesResponseSchema","ListAgentMemoryFilesResponse","agentMemoryFileId","AgentWorkspaceFileSummarySchema","AgentWorkspaceFileSummary","ListAgentWorkspaceFilesResponseSchema","ListAgentWorkspaceFilesResponse","agentWorkspaceFileId","PromptLlmThinkingLevel","PromptLlmRunOptions","outputSchema","temperature","maxTokens","stepId","CredentialAssignmentSet","byConsumer","wildcard","CredentialRunContext","CredentialConsumer","CredentialSelectionOption","OAuthTokenAdapter","getAccessToken","OAuthAccessTokenRefreshParams","clientId","clientSecret","refreshToken","OAuthAccessTokenRefreshResult","Date","accessTokenExpiresAt","OAuthAccessTokenRefresher","OAuthTokenRefreshRegistry","register","appKey","refresher","get","DiscoveredModule","file","KeystrokeSchedule","OrganizationRow","verifiedAt","ProjectRow","UserOrganizationRow","mapOrganization","row","mapProject","mapUserOrganization","OrganizationMemberRow","OrganizationInvitationRow","mapOrganizationMember","mapOrganizationInvitation","ProjectMemberRecord","mapProjectMember","mapProjectSettings","defaultMemberRole","ProjectArtifactRow","mapProjectArtifact","ProjectDeploymentRow","deployedByName","mapProjectDeployment"],"sources":["../../shared/dist/index.d.mts"],"mappings":";;;;;;KAubK4K,eAAAA;EACHG,OAAAA,EAASD,KAAAA;IACPE,IAAAA;IACAC,IAAAA;EAAAA;IAEAD,IAAAA;IACAE,IAAAA;IACAC,QAAAA;EAAAA;EAEFC,OAAAA,EAASP,QAAQ;EACjBQ,SAAAA;AAAAA;AAAAA,KAEGC,uBAAAA,wBAA+CC,aAAAA,EAAeX,eAAe,CAACC,QAAAA;;KAE9EW,mBAAAA;;KAEAC,SAAAA;EACHrK,IAAAA;EACAwK,KAAAA;EACArG,WAAAA;EACAsG,UAAAA,EAAYL,mBAAAA;EACZM,gBAAAA,IAAoBC,IAAAA;EACpBC,OAAAA,GAAUC,UAAAA,UAAoBC,MAAAA,WAAiBC,MAAAA,GAAST,WAAAA,EAAaU,QAAAA,GAAWd,uBAAAA,CAAwBT,QAAAA,MAAcc,OAAAA,CAAQf,eAAAA,CAAgBC,QAAAA;EAC9IwB,aAAAA;AAAAA;AAAAA;;KAMGE,eAAAA,qBAAoCtM,CAAAA,CAAEwK,OAAAA;EACzCrJ,IAAAA;EACAwK,KAAAA;EACArG,WAAAA,UAoEEA;EAnEFsG,UAAAA,EAAYW,WAAAA;EACZV,gBAAAA,IAAoBC,IAAAA,EAAM9L,CAAAA,CAAEgB,KAAAA,CAAMuL,WAAAA,MAAiBvM,CAAAA,CAAEgB,KAAAA,CAAMuL,WAAAA;EAC3DR,OAAAA,GAAUC,UAAAA,UAAoBC,MAAAA,EAAQjM,CAAAA,CAAEgB,KAAAA,CAAMuL,WAAAA,GAAcL,MAAAA,GAAST,WAAAA,EAAaU,QAAAA,GAAWd,uBAAAA,CAAwBT,QAAAA,MAAcc,OAAAA,CAAQf,eAAAA,CAAgBC,QAAAA;EAC3JwB,aAAAA;AAAAA;;iBAIeM,UAAAA,qBAA+B1M,CAAAA,CAAEwK,OAAAA,qBAAAA,C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MAAAA;AAAAA;AAAAA;AAAAA,KAIGC,uBAAAA;EACHC,UAAAA,EAAY9sC,MAAAA,SAAeA,MAAAA;EAC3B+sC,QAAAA,EAAU/sC,MAAAA;AAAAA;AAAAA,KAEPgtC,oBAAAA;EACHxqB,KAAAA;EACA5iB,SAAAA;EACA6iB,MAAAA;EACAC,OAAAA,GAAU1iB,MAAAA;EACV2iB,SAAAA,GAAY3iB,MAAAA;EACZ4zB,WAAAA,GAAciZ,uBAAAA;AAAAA;AAAAA,KAEXI,kBAAAA;EACHpqC,IAAAA;EACAnM,IAAAA;EACA2D,EAAAA;AAAAA;AAAAA,KAQG8yC,iBAAAA;EACHC,cAAAA,CAAe5zB,YAAAA,WAAuBvY,OAAO;IAC3C+d,WAAAA;EAAAA;AAAAA;AAAAA,KAGCquB,6BAAAA;EACHC,QAAAA;EACAC,YAAAA;EACAC,YAAAA;EACAzjC,aAAAA;AAAAA;AAAAA,KAEG0jC,6BAAAA;EACHzuB,WAAAA;EACAwuB,YAAAA;EACAG,oBAAAA,GAAuBD,IAAI;AAAA;AAAA,KAExBE,yBAAAA,IAA6BpsC,MAAAA,EAAQ6rC,6BAAAA,KAAkCpsC,OAAAA,CAAQwsC,6BAAAA;AAAAA,KAC/EI,yBAAAA;EACHC,QAAAA,CAASC,MAAAA,UAAgBC,SAAAA,EAAWJ,yBAAAA;EACpCK,GAAAA,CAAIF,MAAAA,WAAiBH,yBAAyB;AAAA;AAAA"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { E as WorkflowEventType, S as PromptLlmRunOptions, b as OAuthTokenAdapter, d as CredentialList, l as CredentialConsumer, p as CredentialRunContext, w as ResolvedCredentials } from "./index-wVbZ-JO2.cjs";
|
|
1
|
+
import { E as WorkflowEventType, S as PromptLlmRunOptions, b as OAuthTokenAdapter, d as CredentialList, l as CredentialConsumer, p as CredentialRunContext, t as AgentTool, w as ResolvedCredentials } from "./index-wVbZ-JO2.cjs";
|
|
2
2
|
import { a as McpCredentialContext } from "./index-D5jfyf69.cjs";
|
|
3
3
|
import { z } from "zod";
|
|
4
4
|
|
|
@@ -199,6 +199,13 @@ type SerializedWorkflowError = {
|
|
|
199
199
|
declare function serializeWorkflowError(error: unknown): SerializedWorkflowError;
|
|
200
200
|
/** Rebuild an Error from a recorded error so replay re-raises the same failure. */
|
|
201
201
|
declare function deserializeWorkflowError(data: unknown): Error; //#endregion
|
|
202
|
+
//#region src/workflow-tool.d.ts
|
|
203
|
+
type WorkflowToolExecutorOptions = {
|
|
204
|
+
workflowKey?: string;
|
|
205
|
+
};
|
|
206
|
+
type WorkflowToolExecutor = (workflow: WorkflowDefinition<unknown, unknown>, input: unknown, options: WorkflowToolExecutorOptions) => Promise<unknown>;
|
|
207
|
+
declare function registerWorkflowToolExecutor(fn: WorkflowToolExecutor): void;
|
|
208
|
+
declare function resolveWorkflowTool(workflow: WorkflowDefinition<unknown, unknown>): AgentTool; //#endregion
|
|
202
209
|
//#endregion
|
|
203
|
-
export {
|
|
204
|
-
//# sourceMappingURL=index-
|
|
210
|
+
export { promptLlm as A, WorkflowToolExecutor as C, executeWorkflow as D, deserializeWorkflowError as E, resolveWorkflowTool as M, serializeWorkflowError as N, isRunCanceledError as O, WorkflowStepInvocation as S, defineWorkflow as T, SleepPendingItem as _, HookHandle as a, WorkflowRunContext as b, LlmStepExecutor as c, PromptLlmOptions as d, ReplayEvent as f, SleepDuration as g, SerializedWorkflowError as h, ExecuteWorkflowOptions as i, registerWorkflowToolExecutor as j, isWorkflow as k, MemoryEventLog as l, RunCanceledError as m, AppendEventInput as n, HookOptions as o, ReplayResult as p, DurableEventLog as r, HookPendingItem as s, AgentStepExecutor as t, PendingItem as u, WorkflowDefinition as v, WorkflowToolExecutorOptions as w, WorkflowSleep as x, WorkflowHook as y };
|
|
211
|
+
//# sourceMappingURL=index-wpyFrBvl.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index-wpyFrBvl.d.cts","names":["z","CredentialList","McpCredentialContext","ResolvedCredentials","AgentTool","CredentialConsumer","CredentialRunContext","OAuthTokenAdapter","PromptLlmRunOptions","PromptLlmThinkingLevel","WorkflowEventType","RunCanceledError","Error","constructor","runId","isRunCanceledError","error","ActionRunnerOptions","T","Partial","Promise","resolveCredentials","requirements","consumer","contextOverride","credentialContext","oauthAdapter","mcpCredentialContext","AgentStepExecutor","Record","agent","message","sessionId","agentId","input","runPrompt","LlmStepExecutor","opts","SleepDuration","Date","WorkflowSleep","duration","HookOptions","ZodType","token","schema","HookHandle","PromiseLike","resumeUrl","WorkflowHook","options","WorkflowRunContext","workspacesRoot","trigger","triggeredAt","sleep","hook","workflowCoreSchema","ZodString","ZodOptional","ZodEnum","core","$strip","ZodObject","$ZodTypeInternals","ZodCustom","$ZodFunctionArgs","$ZodFunctionOut","ZodFunction","slug","name","description","subscription","mode","system","subscribable","output","run","WorkflowMeta","infer","Omit","WorkflowIO","TInputSchema","TOutputSchema","ctx","WORKFLOW","WorkflowStepInvocation","TResult1","TResult2","TOutput","stepId","id","then","value","onfulfilled","reason","onrejected","WorkflowDefinition","TInput","WorkflowDefinitionInput","isWorkflow","defineWorkflow","def","ReplayEvent","seq","type","correlationId","data","AppendEventInput","DurableEventLog","append","event","listReplay","SleepPendingItem","kind","resumeAt","HookPendingItem","PendingItem","ReplayResult","status","failedCorrelationId","items","ExecuteWorkflowOptions","eventLog","hookBaseUrl","now","context","runAgent","runLlm","executeWorkflow","workflow","PromptLlmOptions","S","outputSchema","promptLlm","prompt","MemoryEventLog","events","ids","SerializedWorkflowError","serializeWorkflowError","deserializeWorkflowError","WorkflowToolExecutorOptions","workflowKey","WorkflowToolExecutor","registerWorkflowToolExecutor","fn","resolveWorkflowTool"],"sources":["../../workflow/dist/index.d.mts"],"mappings":";;;;;;cAKcW,gBAAAA,SAAyBC,KAAK;EAC1CC,WAAAA,CAAYC,KAAAA;AAAAA;AAAAA,iBAEGC,kBAAAA,CAAmBC,KAAAA,YAAiBA,KAAAA,IAASL,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DE,wBAAAA,CAAyBlC,IAAAA,YAAgB/F,KAAK;AAAA;AAAA,KAG1DkI,2BAAAA;EACHC,WAAW;AAAA;AAAA,KAERC,oBAAAA,IAAwBd,QAAAA,EAAUjC,kBAAAA,oBAAsC/D,KAAAA,WAAgBgB,OAAAA,EAAS4F,2BAAAA,KAAgC1H,OAAAA;AAAAA,iBACrH6H,4BAAAA,CAA6BC,EAAwB,EAApBF,oBAAoB;AAAA,iBACrDG,mBAAAA,CAAoBjB,QAAAA,EAAUjC,kBAAAA,qBAAuC7F,SAAS"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
const require_chunk = require("./chunk-emK7D4bc.cjs");
|
|
2
|
-
const require_dist = require("./dist-
|
|
2
|
+
const require_dist = require("./dist-D69ocJ7u.cjs");
|
|
3
3
|
//#region ../../node_modules/.pnpm/@vercel+oidc@3.2.0/node_modules/@vercel/oidc/dist/token.js
|
|
4
4
|
var require_token = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module) => {
|
|
5
5
|
var __defProp = Object.defineProperty;
|
|
@@ -58,4 +58,4 @@ Object.defineProperty(exports, "default", {
|
|
|
58
58
|
}
|
|
59
59
|
});
|
|
60
60
|
|
|
61
|
-
//# sourceMappingURL=token-
|
|
61
|
+
//# sourceMappingURL=token-DZEJHEnH.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"token-
|
|
1
|
+
{"version":3,"file":"token-DZEJHEnH.cjs","names":[],"sources":["../../../node_modules/.pnpm/@vercel+oidc@3.2.0/node_modules/@vercel/oidc/dist/token.js"],"sourcesContent":["\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\nvar token_exports = {};\n__export(token_exports, {\n refreshToken: () => refreshToken\n});\nmodule.exports = __toCommonJS(token_exports);\nvar import_token_error = require(\"./token-error\");\nvar import_token_util = require(\"./token-util\");\nasync function refreshToken(options) {\n let projectId = options?.project;\n let teamId = options?.team;\n if (!projectId && !teamId) {\n const projectInfo = (0, import_token_util.findProjectInfo)();\n projectId = projectInfo.projectId;\n teamId = projectInfo.teamId;\n } else if (!projectId || !teamId) {\n const projectInfo = (0, import_token_util.findProjectInfo)();\n projectId = projectId ?? projectInfo.projectId;\n teamId = teamId ?? projectInfo.teamId;\n }\n if (!projectId) {\n throw new import_token_error.VercelOidcTokenError(\n \"Failed to refresh OIDC token: No project specified. Try re-linking your project with `vc link`\"\n );\n }\n let maybeToken = (0, import_token_util.loadToken)(projectId);\n if (!maybeToken || (0, import_token_util.isExpired)((0, import_token_util.getTokenPayload)(maybeToken.token), options?.expirationBufferMs)) {\n const authToken = await (0, import_token_util.getVercelToken)({\n expirationBufferMs: options?.expirationBufferMs\n });\n maybeToken = await (0, import_token_util.getVercelOidcToken)(authToken, projectId, teamId);\n if (!maybeToken) {\n throw new import_token_error.VercelOidcTokenError(\"Failed to refresh OIDC token\");\n }\n (0, import_token_util.saveToken)(maybeToken, projectId);\n }\n process.env.VERCEL_OIDC_TOKEN = maybeToken.token;\n return;\n}\n// Annotate the CommonJS export names for ESM import in node:\n0 && (module.exports = {\n refreshToken\n});\n"],"x_google_ignoreList":[0],"mappings":";;;;CACA,IAAI,YAAY,OAAO;CACvB,IAAI,mBAAmB,OAAO;CAC9B,IAAI,oBAAoB,OAAO;CAC/B,IAAI,eAAe,OAAO,UAAU;CACp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AAG;GAC1I,MAAM,YAAY,OAAO,GAAG,kBAAkB,gBAAgB,EAC5D,oBAAoB,SAAS,mBAC/B,CAAC;GACD,aAAa,OAAO,GAAG,kBAAkB,oBAAoB,WAAW,WAAW,MAAM;GACzF,IAAI,CAAC,YACH,MAAM,IAAI,mBAAmB,qBAAqB,8BAA8B;GAElF,CAAC,GAAG,kBAAkB,WAAW,YAAY,SAAS;EACxD;EACA,QAAQ,IAAI,oBAAoB,WAAW;CAE7C"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as __commonJSMin } from "./chunk-DnnnRqeS.mjs";
|
|
2
|
-
import {
|
|
2
|
+
import { $ as require_token_error, Q as require_token_util } from "./dist-B1Pjv-cM.mjs";
|
|
3
3
|
//#region ../../node_modules/.pnpm/@vercel+oidc@3.2.0/node_modules/@vercel/oidc/dist/token.js
|
|
4
4
|
var require_token = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
5
5
|
var __defProp = Object.defineProperty;
|
|
@@ -54,4 +54,4 @@ var require_token = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
54
54
|
export default require_token();
|
|
55
55
|
export {};
|
|
56
56
|
|
|
57
|
-
//# sourceMappingURL=token-
|
|
57
|
+
//# sourceMappingURL=token-D_x8iwF8.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"token-
|
|
1
|
+
{"version":3,"file":"token-D_x8iwF8.mjs","names":[],"sources":["../../../node_modules/.pnpm/@vercel+oidc@3.2.0/node_modules/@vercel/oidc/dist/token.js"],"sourcesContent":["\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\nvar token_exports = {};\n__export(token_exports, {\n refreshToken: () => refreshToken\n});\nmodule.exports = __toCommonJS(token_exports);\nvar import_token_error = require(\"./token-error\");\nvar import_token_util = require(\"./token-util\");\nasync function refreshToken(options) {\n let projectId = options?.project;\n let teamId = options?.team;\n if (!projectId && !teamId) {\n const projectInfo = (0, import_token_util.findProjectInfo)();\n projectId = projectInfo.projectId;\n teamId = projectInfo.teamId;\n } else if (!projectId || !teamId) {\n const projectInfo = (0, import_token_util.findProjectInfo)();\n projectId = projectId ?? projectInfo.projectId;\n teamId = teamId ?? projectInfo.teamId;\n }\n if (!projectId) {\n throw new import_token_error.VercelOidcTokenError(\n \"Failed to refresh OIDC token: No project specified. Try re-linking your project with `vc link`\"\n );\n }\n let maybeToken = (0, import_token_util.loadToken)(projectId);\n if (!maybeToken || (0, import_token_util.isExpired)((0, import_token_util.getTokenPayload)(maybeToken.token), options?.expirationBufferMs)) {\n const authToken = await (0, import_token_util.getVercelToken)({\n expirationBufferMs: options?.expirationBufferMs\n });\n maybeToken = await (0, import_token_util.getVercelOidcToken)(authToken, projectId, teamId);\n if (!maybeToken) {\n throw new import_token_error.VercelOidcTokenError(\"Failed to refresh OIDC token\");\n }\n (0, import_token_util.saveToken)(maybeToken, projectId);\n }\n process.env.VERCEL_OIDC_TOKEN = maybeToken.token;\n return;\n}\n// Annotate the CommonJS export names for ESM import in node:\n0 && (module.exports = {\n refreshToken\n});\n"],"x_google_ignoreList":[0],"mappings":";;;;CACA,IAAI,YAAY,OAAO;CACvB,IAAI,mBAAmB,OAAO;CAC9B,IAAI,oBAAoB,OAAO;CAC/B,IAAI,eAAe,OAAO,UAAU;CACpC,IAAI,YAAY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AAO,GAAG,kBAAkB,gBAAgB,EAC5D,oBAAoB,SAAS,mBAC/B,CAAC;GACD,aAAa,OAAO,GAAG,kBAAkB,oBAAoB,WAAW,WAAW,MAAM;GACzF,IAAI,CAAC,YACH,MAAM,IAAI,mBAAmB,qBAAqB,8BAA8B;GAElF,CAAC,GAAG,kBAAkB,WAAW,YAAY,SAAS;EACxD;EACA,QAAQ,IAAI,oBAAoB,WAAW;CAE7C"}
|
package/dist/trigger.cjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_dist = require("./dist-
|
|
2
|
+
const require_dist = require("./dist-D69ocJ7u.cjs");
|
|
3
3
|
let zod = require("zod");
|
|
4
4
|
//#region ../../node_modules/.pnpm/cron-schedule@6.0.0/node_modules/cron-schedule/dist/utils.js
|
|
5
5
|
function extractDateElements(date) {
|
package/dist/trigger.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { p as CredentialRunContext } from "./index-wVbZ-JO2.cjs";
|
|
2
|
-
import {
|
|
3
|
-
import { v as WorkflowDefinition } from "./index-
|
|
2
|
+
import { n as Agent } from "./index-BQOZkLWG.cjs";
|
|
3
|
+
import { v as WorkflowDefinition } from "./index-wpyFrBvl.cjs";
|
|
4
4
|
import { z } from "zod";
|
|
5
5
|
|
|
6
6
|
//#region ../../node_modules/.pnpm/cron-schedule@6.0.0/node_modules/cron-schedule/dist/cron.d.ts
|
package/dist/trigger.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { p as CredentialRunContext } from "./index-wVbZ-JO2.mjs";
|
|
2
|
-
import {
|
|
3
|
-
import { v as WorkflowDefinition } from "./index-
|
|
2
|
+
import { n as Agent } from "./index-CGf1NwA4.mjs";
|
|
3
|
+
import { v as WorkflowDefinition } from "./index-WHR4qX4x.mjs";
|
|
4
4
|
import { z } from "zod";
|
|
5
5
|
|
|
6
6
|
//#region ../../node_modules/.pnpm/cron-schedule@6.0.0/node_modules/cron-schedule/dist/cron.d.ts
|
package/dist/trigger.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { s as isWorkflow } from "./dist-
|
|
1
|
+
import { s as isWorkflow } from "./dist-B1Pjv-cM.mjs";
|
|
2
2
|
import { z } from "zod";
|
|
3
3
|
//#region ../../node_modules/.pnpm/cron-schedule@6.0.0/node_modules/cron-schedule/dist/utils.js
|
|
4
4
|
function extractDateElements(date) {
|
package/dist/workflow.cjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_dist = require("./dist-
|
|
2
|
+
const require_dist = require("./dist-D69ocJ7u.cjs");
|
|
3
3
|
exports.MemoryEventLog = require_dist.MemoryEventLog;
|
|
4
4
|
exports.RunCanceledError = require_dist.RunCanceledError;
|
|
5
5
|
exports.defineWorkflow = require_dist.defineWorkflow;
|
|
@@ -8,4 +8,6 @@ exports.executeWorkflow = require_dist.executeWorkflow;
|
|
|
8
8
|
exports.isRunCanceledError = require_dist.isRunCanceledError;
|
|
9
9
|
exports.isWorkflow = require_dist.isWorkflow;
|
|
10
10
|
exports.promptLlm = require_dist.promptLlm;
|
|
11
|
+
exports.registerWorkflowToolExecutor = require_dist.registerWorkflowToolExecutor;
|
|
12
|
+
exports.resolveWorkflowTool = require_dist.resolveWorkflowTool;
|
|
11
13
|
exports.serializeWorkflowError = require_dist.serializeWorkflowError;
|
package/dist/workflow.d.cts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { C as PromptLlmThinkingLevel, S as PromptLlmRunOptions } from "./index-wVbZ-JO2.cjs";
|
|
2
|
-
import { C as
|
|
3
|
-
export { type AgentStepExecutor, type AppendEventInput, type DurableEventLog, type ExecuteWorkflowOptions, type HookHandle, type HookOptions, type HookPendingItem, type LlmStepExecutor, MemoryEventLog, type PendingItem, type PromptLlmOptions, type PromptLlmRunOptions, type PromptLlmThinkingLevel, type ReplayEvent, type ReplayResult, RunCanceledError, type SerializedWorkflowError, type SleepDuration, type SleepPendingItem, type WorkflowDefinition, type WorkflowHook, type WorkflowRunContext, type WorkflowSleep, type WorkflowStepInvocation, defineWorkflow, deserializeWorkflowError, executeWorkflow, isRunCanceledError, isWorkflow, promptLlm, serializeWorkflowError };
|
|
2
|
+
import { A as promptLlm, C as WorkflowToolExecutor, D as executeWorkflow, E as deserializeWorkflowError, M as resolveWorkflowTool, N as serializeWorkflowError, O as isRunCanceledError, S as WorkflowStepInvocation, T as defineWorkflow, _ as SleepPendingItem, a as HookHandle, b as WorkflowRunContext, c as LlmStepExecutor, d as PromptLlmOptions, f as ReplayEvent, g as SleepDuration, h as SerializedWorkflowError, i as ExecuteWorkflowOptions, j as registerWorkflowToolExecutor, k as isWorkflow, l as MemoryEventLog, m as RunCanceledError, n as AppendEventInput, o as HookOptions, p as ReplayResult, r as DurableEventLog, s as HookPendingItem, t as AgentStepExecutor, u as PendingItem, v as WorkflowDefinition, w as WorkflowToolExecutorOptions, x as WorkflowSleep, y as WorkflowHook } from "./index-wpyFrBvl.cjs";
|
|
3
|
+
export { type AgentStepExecutor, type AppendEventInput, type DurableEventLog, type ExecuteWorkflowOptions, type HookHandle, type HookOptions, type HookPendingItem, type LlmStepExecutor, MemoryEventLog, type PendingItem, type PromptLlmOptions, type PromptLlmRunOptions, type PromptLlmThinkingLevel, type ReplayEvent, type ReplayResult, RunCanceledError, type SerializedWorkflowError, type SleepDuration, type SleepPendingItem, type WorkflowDefinition, type WorkflowHook, type WorkflowRunContext, type WorkflowSleep, type WorkflowStepInvocation, type WorkflowToolExecutor, type WorkflowToolExecutorOptions, defineWorkflow, deserializeWorkflowError, executeWorkflow, isRunCanceledError, isWorkflow, promptLlm, registerWorkflowToolExecutor, resolveWorkflowTool, serializeWorkflowError };
|
package/dist/workflow.d.mts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { C as PromptLlmThinkingLevel, S as PromptLlmRunOptions } from "./index-wVbZ-JO2.mjs";
|
|
2
|
-
import { C as
|
|
3
|
-
export { type AgentStepExecutor, type AppendEventInput, type DurableEventLog, type ExecuteWorkflowOptions, type HookHandle, type HookOptions, type HookPendingItem, type LlmStepExecutor, MemoryEventLog, type PendingItem, type PromptLlmOptions, type PromptLlmRunOptions, type PromptLlmThinkingLevel, type ReplayEvent, type ReplayResult, RunCanceledError, type SerializedWorkflowError, type SleepDuration, type SleepPendingItem, type WorkflowDefinition, type WorkflowHook, type WorkflowRunContext, type WorkflowSleep, type WorkflowStepInvocation, defineWorkflow, deserializeWorkflowError, executeWorkflow, isRunCanceledError, isWorkflow, promptLlm, serializeWorkflowError };
|
|
2
|
+
import { A as promptLlm, C as WorkflowToolExecutor, D as executeWorkflow, E as deserializeWorkflowError, M as resolveWorkflowTool, N as serializeWorkflowError, O as isRunCanceledError, S as WorkflowStepInvocation, T as defineWorkflow, _ as SleepPendingItem, a as HookHandle, b as WorkflowRunContext, c as LlmStepExecutor, d as PromptLlmOptions, f as ReplayEvent, g as SleepDuration, h as SerializedWorkflowError, i as ExecuteWorkflowOptions, j as registerWorkflowToolExecutor, k as isWorkflow, l as MemoryEventLog, m as RunCanceledError, n as AppendEventInput, o as HookOptions, p as ReplayResult, r as DurableEventLog, s as HookPendingItem, t as AgentStepExecutor, u as PendingItem, v as WorkflowDefinition, w as WorkflowToolExecutorOptions, x as WorkflowSleep, y as WorkflowHook } from "./index-WHR4qX4x.mjs";
|
|
3
|
+
export { type AgentStepExecutor, type AppendEventInput, type DurableEventLog, type ExecuteWorkflowOptions, type HookHandle, type HookOptions, type HookPendingItem, type LlmStepExecutor, MemoryEventLog, type PendingItem, type PromptLlmOptions, type PromptLlmRunOptions, type PromptLlmThinkingLevel, type ReplayEvent, type ReplayResult, RunCanceledError, type SerializedWorkflowError, type SleepDuration, type SleepPendingItem, type WorkflowDefinition, type WorkflowHook, type WorkflowRunContext, type WorkflowSleep, type WorkflowStepInvocation, type WorkflowToolExecutor, type WorkflowToolExecutorOptions, defineWorkflow, deserializeWorkflowError, executeWorkflow, isRunCanceledError, isWorkflow, promptLlm, registerWorkflowToolExecutor, resolveWorkflowTool, serializeWorkflowError };
|
package/dist/workflow.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as executeWorkflow, c as promptLlm, i as deserializeWorkflowError, l as
|
|
2
|
-
export { MemoryEventLog, RunCanceledError, defineWorkflow, deserializeWorkflowError, executeWorkflow, isRunCanceledError, isWorkflow, promptLlm, serializeWorkflowError };
|
|
1
|
+
import { a as executeWorkflow, c as promptLlm, d as serializeWorkflowError, i as deserializeWorkflowError, l as registerWorkflowToolExecutor, n as RunCanceledError, o as isRunCanceledError, r as defineWorkflow, s as isWorkflow, t as MemoryEventLog, u as resolveWorkflowTool } from "./dist-B1Pjv-cM.mjs";
|
|
2
|
+
export { MemoryEventLog, RunCanceledError, defineWorkflow, deserializeWorkflowError, executeWorkflow, isRunCanceledError, isWorkflow, promptLlm, registerWorkflowToolExecutor, resolveWorkflowTool, serializeWorkflowError };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@keystrokehq/keystroke",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.22",
|
|
4
4
|
"description": "Keystroke authoring facade — re-exports primitives for user projects.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -78,8 +78,8 @@
|
|
|
78
78
|
"typescript": "^6.0.3",
|
|
79
79
|
"vitest": "^4.1.7",
|
|
80
80
|
"zod": "^4.4.3",
|
|
81
|
-
"@keystrokehq/oxlint-config": "0.0.4",
|
|
82
81
|
"@keystrokehq/tsconfig": "0.0.3",
|
|
82
|
+
"@keystrokehq/oxlint-config": "0.0.4",
|
|
83
83
|
"@keystrokehq/tsdown-config": "0.0.3",
|
|
84
84
|
"@keystrokehq/vitest-config": "0.0.6"
|
|
85
85
|
},
|