@keystrokehq/keystroke 1.0.6 → 1.0.7

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.
Files changed (53) hide show
  1. package/dist/action.cjs +1 -1
  2. package/dist/action.mjs +1 -1
  3. package/dist/agent.cjs +110 -14
  4. package/dist/agent.cjs.map +1 -1
  5. package/dist/agent.d.cts +1 -1
  6. package/dist/agent.d.mts +1 -1
  7. package/dist/agent.mjs +110 -14
  8. package/dist/agent.mjs.map +1 -1
  9. package/dist/app.cjs +1 -1
  10. package/dist/app.mjs +1 -1
  11. package/dist/client.cjs +1 -1
  12. package/dist/client.mjs +1 -1
  13. package/dist/credentials.cjs +1 -1
  14. package/dist/credentials.mjs +1 -1
  15. package/dist/{dist-pErVjN3p.mjs → dist-BpkCqbil.mjs} +3 -3
  16. package/dist/{dist-pErVjN3p.mjs.map → dist-BpkCqbil.mjs.map} +1 -1
  17. package/dist/{dist-DBE-7Q9K.cjs → dist-C5otI4u3.cjs} +58 -7
  18. package/dist/dist-C5otI4u3.cjs.map +1 -0
  19. package/dist/{dist-hu4oHsK8.cjs → dist-DOMwPx7V.cjs} +54 -14
  20. package/dist/dist-DOMwPx7V.cjs.map +1 -0
  21. package/dist/{dist-B4CrrSM0.cjs → dist-DQL6zTI5.cjs} +3 -3
  22. package/dist/{dist-B4CrrSM0.cjs.map → dist-DQL6zTI5.cjs.map} +1 -1
  23. package/dist/{dist-6ug9ozqR.mjs → dist-DqFdFpiB.mjs} +54 -14
  24. package/dist/dist-DqFdFpiB.mjs.map +1 -0
  25. package/dist/{dist-BgFLp5DL.mjs → dist-IUl7Bexl.mjs} +41 -8
  26. package/dist/dist-IUl7Bexl.mjs.map +1 -0
  27. package/dist/{index-Dd0B13U7.d.cts → index-BY9SPR2h.d.cts} +2 -1
  28. package/dist/index-BY9SPR2h.d.cts.map +1 -0
  29. package/dist/{index-IhPXtbNf.d.mts → index-BeBgntxT.d.mts} +2 -1
  30. package/dist/index-BeBgntxT.d.mts.map +1 -0
  31. package/dist/index-e9f4pcX4.d.cts.map +1 -1
  32. package/dist/index-e9f4pcX4.d.mts.map +1 -1
  33. package/dist/{mistral-B1ULILEc.mjs → mistral-CMDejXQt.mjs} +2 -2
  34. package/dist/{mistral-B1ULILEc.mjs.map → mistral-CMDejXQt.mjs.map} +1 -1
  35. package/dist/{mistral-WPrOS6Bw.cjs → mistral-wOLLEgb9.cjs} +2 -2
  36. package/dist/{mistral-WPrOS6Bw.cjs.map → mistral-wOLLEgb9.cjs.map} +1 -1
  37. package/dist/{sse-B3mQ3cnH.mjs → sse-DI7TsPKG.mjs} +2 -2
  38. package/dist/{sse-B3mQ3cnH.mjs.map → sse-DI7TsPKG.mjs.map} +1 -1
  39. package/dist/{sse-7gbBPR9G.cjs → sse-Dzs73rQw.cjs} +2 -2
  40. package/dist/{sse-7gbBPR9G.cjs.map → sse-Dzs73rQw.cjs.map} +1 -1
  41. package/dist/trigger.cjs +1 -1
  42. package/dist/trigger.d.cts +1 -1
  43. package/dist/trigger.d.mts +1 -1
  44. package/dist/trigger.mjs +1 -1
  45. package/dist/workflow.cjs +1 -1
  46. package/dist/workflow.mjs +1 -1
  47. package/package.json +3 -3
  48. package/dist/dist-6ug9ozqR.mjs.map +0 -1
  49. package/dist/dist-BgFLp5DL.mjs.map +0 -1
  50. package/dist/dist-DBE-7Q9K.cjs.map +0 -1
  51. package/dist/dist-hu4oHsK8.cjs.map +0 -1
  52. package/dist/index-Dd0B13U7.d.cts.map +0 -1
  53. package/dist/index-IhPXtbNf.d.mts.map +0 -1
@@ -50,6 +50,7 @@ type LlmUsageRecordInput = {
50
50
  };
51
51
  //#endregion
52
52
  //#region ../memory/dist/index.d.mts
53
+ //#endregion
53
54
  //#region src/config.d.ts
54
55
  type MemoryConfig = {
55
56
  enabled: boolean;
@@ -333,4 +334,4 @@ type ResolvedAgentTools = {
333
334
  declare function resolveAgentTools(tools: Array<ActionDefinition | AgentTool | AgentMcpTool>, resolver: ToolCredentialResolver): Promise<ResolvedAgentTools>; //#endregion
334
335
  //#endregion
335
336
  export { forceToolChoice as A, runAgentPrompt as B, SubagentToolMetadata as C, defineSubagentTool as D, defineAgent as E, prompt as F, AgentModelId as G, snapshot as H, resolveAgentAssets as I, ThinkingLevelSchema as J, AgentModelIdSchema as K, resolveAgentId as L, messages as M, normalizeAgentDefinition as N, defineTool as O, prepareAgentSession as P, resolveAgentTools as R, SubagentToolInherit as S, createAgent as T, AgentCreateInput as U, runLlm as V, AgentCreateInputSchema as W, resolveAgentModel as X, parseAgentCreateInput as Y, resolveThinkingLevel as Z, SessionAgentMismatchError as _, AgentDefinitionInput as a, SubagentTool as b, BuildAgentRuntimeContext as c, PromptInput as d, PromptResponse as f, SandboxedAgentRuntime as g, SUBAGENT_TOOL as h, AgentDefinition as i, getSubagentToolMetadata as j, errorMessage as k, DefineSubagentToolInput as l, RunAgentPromptOptions as m, AgentAssetInput as n, AgentRuntime as o, ResolvedAgentAssets as p, DEFAULT_THINKING_LEVEL as q, AgentConfig as r, AgentSnapshot as s, Agent as t, ForcedToolChoice as u, SessionLifecycle as v, buildAgentRuntime as w, SubagentToolDetails as x, SessionLifecycleContext as y, resolveAgentWorkspaceRoot as z };
336
- //# sourceMappingURL=index-Dd0B13U7.d.cts.map
337
+ //# sourceMappingURL=index-BY9SPR2h.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index-BY9SPR2h.d.cts","names":["h","ThinkingLevel","r","Model","z","AgentModelId","AgentModelIdSchema","ZodCustom","resolveAgentModel","modelId","ThinkingLevelSchema","ZodEnum","off","minimal","low","medium","high","xhigh","DEFAULT_THINKING_LEVEL","AgentCreateInputSchema","ZodString","ZodOptional","core","$strip","ZodObject","systemPrompt","model","thinkingLevel","AgentCreateInput","infer","parseAgentCreateInput","input","resolveThinkingLevel","level","a","c","i","l","n","o","s","t","_$drizzle_orm_node_postgres0","Pool","MigrationConfig","MigrationMeta","TracingSink","AgentTriggerType","CredentialAuthKind","CredentialScopeType","HistoryAgentSessionDetail","HistoryRun","HistoryRunKind","HistoryRunStatus","HistoryWorkflowRunDetail","RunSourceKind","WorkflowEventType","DEFAULT_DATABASE_URL","runWithTenantScope","T","Promise","tenantId","fn","getServerTenantScopeId","DEFAULT_PROJECT_ID","runWithProjectScope","projectId","getBoundProjectScopeId","getProjectScopeId","PostgresConnectionConfig","host","port","database","user","password","ssl","qualifyConnectionUser","NodeJS","ProcessEnv","env","buildPostgresUrl","config","parsePostgresUrl","url","resolvePostgresConfigFromEnv","resolvePostgresUrlFromEnv","resolveProjectDatabaseUrlFromEnv","resolveDatabaseUrlFromEnv","closeDatabase","StoredRunSourceKind$1","agentSessions","_$drizzle_orm_pg_core0","PgColumn","Date","PgTableWithColumns","name","schema","columns","id","tableName","dataType","columnType","data","driverParam","notNull","hasDefault","isPrimaryKey","isAutoincrement","hasRuntimeDefault","enumValues","baseColumn","identity","generated","agentId","sourceKind","$type","sourceId","parentSpanId","ranByUserId","title","canceledAt","totalDurationMs","liveMessage","createdAt","updatedAt","deletedAt","dialect","UsageRunKind","TriggerScheduleKind","triggerSchedules","attachmentSlug","kind","schedule","nextRunAt","enabled","TriggerRunType","triggerRuns","attachmentId","sourcePath","triggerType","payload","triggeredAt","WorkflowRunStatus","WorkflowRunTrigger","StoredRunSourceKind","workflowRuns","workflowSlug","subscriptionId","triggerRunId","parentWorkflowRunId","status","trigger","startedAt","finishedAt","input","output","error","WorkflowHookStatus","workflowHooks","hookId","runId","token","correlationId","resumedAt","JobKind","JobStatus","JobTrigger","TraceSpanKind","TraceSpanStatus","traceSpans","traceId","refId","metadata","TraceLogLevel","TraceLogSource","traceLogs","spanId","seq","level","message","source","agents","slug","description","route","moduleFile","model","systemPrompt","toolCount","credentialCount","credentialKeys","registeredAt","agentEvents","sessionId","eventType","StoredTriggerTargetKind","StoredTriggerOrigin","StoredTriggerLifecycleStatus","StoredTriggerLifecycle","maxExecutions","until","executionCount","StoredTriggerSource","Record","key","endpoint","requestSchema","filterSchema","code","triggerAttachments","targetKind","agentSlug","origin","prompt","lifecycle","createdBySessionId","workflowEvents","type","credentialInstances","scopeType","scopeId","label","isDefault","authKind","ciphertext","connectionId","sharedConnectionId","SlackGatewayMode","StoredGatewaySource","mode","credentialKey","channelIds","subscribeOnMention","channelName","channelKind","gatewayAttachments","platform","teamId","channelId","gatewayAttachmentKeyForChannel","gatewayThreadSessions","threadId","skills","workflows","subscribable","workflowSubscriptions","userId","resourceActivityKinds","ResourceActivityKind","resourceActivity","resourceKind","resourceId","lastOpenedAt","AgentRow","$inferSelect","listActiveAgents","projectIds","options","selectAgentBySlug","selectActiveAgentsByIds","ids","selectActiveAgentById","resolveAgentProjectId","AgentSessionRow","AgentSessionSourceFilter","selectAgentSessionById","addAgentSessionDuration","deltaMs","AgentEventRow","TriggerAttachmentRow","getTriggerAttachmentBySlug","listActiveTriggerAttachments","selectWebhookTriggerAttachments","selectEphemeralTriggerAttachmentsByAgentSlug","selectTriggerAttachmentsByAgentSlug","selectEphemeralTriggerAttachments","TriggerScheduleRow","UpsertTriggerScheduleValues","selectTriggerScheduleBySlug","upsertTriggerSchedule","values","disableAllTriggerSchedules","now","disableTriggerSchedulesNotInSlugs","attachmentKeys","listEnabledTriggerSchedules","claimDueTriggerSchedules","resolveNextRunAt","limit","claimDueTriggerSchedulesForOrg","listTriggerSchedulesBySlugs","triggerRunSummaryFromRow","TriggerRunRow","WorkflowRunRow","row","workflowRun","agentSession","triggerRunRecordFromRow","WorkflowEventRow","AppendWorkflowEventValues","listStepCompletedEvents","TraceLogRow","TraceSpanRow","createDatabaseTracingSink","flushNow","TraceTriggerSummary","TraceGatewaySummary","gatewayAttachmentId","gatewayAttachmentKey","TraceResponse","gateway","spans","logs","getTraceForWorkflowRun","workflowRunId","getTraceForTriggerRun","getTraceForAgentSession","workflowRunSummaryFromRow","workflowRunRecordFromRow","triggerRunDetailFromRow","workflowStepRunFromEvent","actionKey","completedAt","traceResponseToJson","trace","selectWorkflowRunById","resolveWorkflowRunProjectId","listWorkflowRunsByWorkflowSlug","selectWorkflowRunForWorkflow","listWorkflowRunsPaginated","ReturnType","cursor","items","nextCursor","WorkflowHookRow","InsertWorkflowHookValues","requeueExpiredLeases","GatewayAttachmentRow","GatewayChannelConflictError","Error","ownerProjectId","constructor","getActiveOrgGatewayAttachmentByChannel","getActiveOrgGatewayAttachmentByTeamAndChannel","getActiveGatewayAttachmentByChannel","listActiveGatewayAttachments","ActiveGatewayBinding","listActiveOrgGatewayBindingsByPlatform","listActiveGatewayAttachmentsByAgentSlug","softDeleteGatewayAttachmentsForAgentPlatformTeam","listActiveGatewayAttachmentsByPlatform","softDeleteGatewayAttachmentByChannel","upsertGatewayAttachmentByChannel","getGatewayAttachmentBySlug","GatewayThreadSessionRow","selectGatewayThreadSessionByThreadId","WorkflowRow","listActiveWorkflows","selectActiveWorkflowBySlug","selectActiveWorkflowsByIds","selectActiveWorkflowById","SkillRow","listActiveSkills","selectActiveSkillsByIds","selectActiveSkillById","WorkflowSubscriptionRow","InsertWorkflowSubscriptionValues","UpdateWorkflowSubscriptionValues","selectWorkflowSubscriptionById","selectWorkflowSubscriptionByWorkflowAndUser","listWorkflowSubscriptionsByWorkflowSlug","listEnabledWorkflowSubscriptionsByWorkflowSlug","insertWorkflowSubscription","updateWorkflowSubscriptionById","deleteWorkflowSubscriptionById","ResourceActivityRow","TouchResourceActivityInput","touchResourceActivity","listRecentResourceActivity","selectWorkflowLastRunAtByIds","Map","workflowIds","selectAgentLastRunAtByIds","agentIds","ProjectResourceCounts","agentCount","workflowCount","skillCount","selectProjectResourceCounts","ListHistoryRunsOptions","HistoryRunCore","Omit","buildHistoryWorkflowRunDetail","buildHistoryAgentSessionDetail","listHistoryRuns","findHistoryRunCore","CredentialInstanceRow","InsertCredentialInstanceValues","listAllCredentialInstances","listCredentialInstancesByConnectionId","selectCredentialInstanceById","listCredentialInstancesByScope","selectCredentialInstancesForScope","upsertCredentialInstance","deleteCredentialInstanceById","clearCredentialInstanceDefaults","exceptId","createPgDb","NodePgDatabase","pool","usageRecords","runKind","quantity","unit","amount","jobs","targetId","scheduledAt","attempt","maxAttempts","leasedBy","leaseExpiresAt","$client","Database","DatabaseDialect","PgPool","PgDatabase","SqliteDatabase","AppDatabase","DatabaseHandle","db","searchPath","close","InitDatabaseOptions","migrate","migrationsFolder","max","closeAllProjectDatabasePools","isDatabaseInitialized","getDatabaseHandle","initDatabase","RunWithProjectDatabaseOptions","runWithProjectDatabase","ConnectionOptions","PgConnectionOptions","SqliteConnectionOptions","createPgConnection","PostgresCancelHandler","PostgresCancelChannel","publishCancel","subscribeCancel","handler","createPostgresCancelChannel","connectionString","channel","createSqliteConnection","createConnection","resolveSqlitePath","inferDialect","override","adaptPgMigrationsForSearchPath","migrations","loadMigrations","embedded","migratePgDatabase","resolveMigrationsFolder","runMigrations","handle","resolveMigrationsSchema","primarySearchPathSchema","resolveSearchPath","appendSearchPathToUrl","cancelWorkflowRun","cancelAgentSession","RunSource","runSource","sourceFromSpan","span","resolveRunSourceFromTraceContext","DiscoveredAgentRecord","AgentRegistryEntry","MESSAGE_EVENT_TYPE","syncAgentRegistry","records","getAgentByRoute","AgentSession","createSession","getSession","touchSession","setSessionTitle","nextSeq","appendEvent","listMessageEvents","countMessageEvents","AgentEventRecord","listSessionEvents","setSessionLiveMessage","clearLiveMessage","getSessionLiveMessage","LlmUsageRecordInput","recordLlmUsageFromAssistantMessage","usage","failAgentSession","AgentSessionStatus$1","agentSessionSummaryFromParts","messageCount","ranByUserName","gatewayPlatform","agentSessionRecordFromParts","gatewaySessionDetailFromParts","agentEventFromRow","AgentSessionStatus","AgentSessionSource","listAgentSessionsPaginated","resolveUserName","AgentSessionDetailInclude","buildAgentSessionDetail","include","session","messages","events","buildAgentSessionChatState","sinceSeq","live","DiscoveredSkillRecord","SkillRegistryEntry","syncSkillRegistry","TriggerAttachmentRegistryEntry","DiscoveredTriggerAttachmentRecord","syncTriggerAttachmentRegistry","CreateAgentAttachmentExecutionInput","createAgentAttachmentExecution","getTriggerRunForAgentSession","EPHEMERAL_TRIGGER_MODULE_FILE","UpsertEphemeralTriggerInput","Extract","upsertEphemeralTrigger","deleteEphemeralTrigger","isEphemeralTriggerActive","recordEphemeralTriggerExecution","selectActiveEphemeralScheduledAttachmentSlugs","selectActiveEphemeralCronAttachmentSlugs","listAgentTriggers","getOrCreateGatewayThreadSession","existingSessionId","DiscoveredWorkflowRecord","WorkflowRegistryEntry","syncWorkflowRegistry","WorkflowSubscriptionProfile","getWorkflowSubscription","listCredentialInstancesForBinding","CreateWorkflowRunInput","CreateAttachmentExecutionInput","Exclude","createWorkflowRun","createPendingWorkflowRun","markWorkflowRunRunning","markWorkflowRunSleeping","markWorkflowRunWaitingHook","completeWorkflowRun","failWorkflowRun","recordWorkflowLlmUsage","finalizeCanceledWorkflowRun","createAttachmentExecution","createPendingAttachmentExecution","markAttachmentExecutionRunning","WorkflowRunDetailInclude","buildWorkflowRunDetail","run","steps","WorkflowEventRecord","EventLog","append","event","listReplay","createDatabaseEventLog","WorkflowHookRecord","HookStore","create","getByToken","markResumed","createDatabaseHookStore","TriggerRunDetailInclude","listTriggerRunsPaginated","buildTriggerRunDetail","Array","encryptCredentialPayload","plaintext","decryptCredentialPayload","setCredentialInstanceValue","value","OAuthCredentialTargets","projectNamesById","organization","ensureOAuthCredentialInstance","accountLabel","externalId","userLabel","targets","ensureKeystrokeCredentialInstance","projectName","EnqueueJobInput","ClaimedJob","JobSnapshot","enqueueJob","claimNextJob","workerId","markJobComplete","jobId","markJobFailed","scheduleJobRetry","delayMs","getJobByRunId","DatabaseSync","Type","AgentTool","resolveMemoryRelativePath","memoryDir","inputPath","orderMemoryRelativePaths","relativePaths","listMemoryFilePaths","readMemoryFileContent","MemoryConfig","enabled","dir","memoryFile","userFile","archiveDir","dbFile","sessionsDir","memoryCharLimit","userCharLimit","archiveTocLimit","securityScan","loadMemoryConfig","Partial","overrides","Memory","Promise","tool","systemPromptInjection","close","MemoryFactory","create","agentId","sessionId","ctx","DefaultMemoryOptions","user","memories","createDefaultMemory","NodeJS","ProcessEnv","options","env","MemoryStoragePort","Uint8Array","Buffer","listObjects","prefix","getObject","key","putObject","body","contentType","input","deleteObject","StorageBackedMemoryOptions","storage","seed","createStorageBackedMemory","SnapshotResult","block","warnings","buildMemorySnapshot","config","ArchiveHit","path","snippet","rank","SessionHit","session_file","line_no","role","ts","searchArchive","db","query","limit","searchSessions","reindexSessions","memoryToolParameters","TLiteral","TObject","TString","TUnion","TOptional","TNumber","TBoolean","action","content","oldText","newText","scope","full","createMemoryTool","_$_earendil_works_pi_agent_core0","c","AgentMessage","d","AgentTool","h","ThinkingLevel","l","AgentOptions","m","PiAgent","o","getModel","r","Model","u","AgentState","a","parseAgentCreateInput","AgentModelIdSchema","i","ThinkingLevelSchema","resolveAgentModel","n","AgentCreateInputSchema","resolveThinkingLevel","DEFAULT_THINKING_LEVEL","s","AgentModelId","t","AgentCreateInput","z","LlmUsageRecordInput","Api","McpAuthOptions","McpCallToolOptions","McpConnection","McpConnection$1","McpDefinition","McpDefinition$1","McpDefinitionInput","McpHttpTransport","McpServerOptions","McpStdioOptions","McpStdioTransport","McpTransport","connectMcpDefinition","connectMcpServer","connectMcpStdio","defineMcp","isMcp","ActionDefinition","CredentialRunContext","OAuthTokenAdapter","ToolCredentialResolver","DefaultMemoryOptions","Memory","MemoryFactory","AgentWorkspaceRoots","RuntimeHooks","RuntimeProvider","Sandbox","SandboxDefinition","SandboxDefinitionInput","SandboxMode","SkillDefinition","loadAssetManifest","PromptLlmRunOptions","AgentConfig","Omit","systemPrompt","model","thinkingLevel","messages","tools","AgentRuntime","Readonly","pi","AgentSnapshot","state","createAgent","config","prompt","Promise","runtime","message","snapshot","errorMessage","defineTool","T","tool","AgentMcpTool","AgentDefinitionAuthorInput","Array","slug","name","description","runtimeHooks","skills","sandbox","memory","AgentDefinitionInput","AgentDefinition","PromptInput","sessionId","subscriptionId","context","SessionLifecycleContext","agentId","SessionLifecycle","beforeRuntime","ctx","afterRuntime","RunAgentPromptOptions","stepId","workspacesRoot","agentRoot","sessionRoot","workspaceRoot","mode","runtimeProvider","vmRuntimeProvider","memoryFactory","credentials","oauthAdapter","hostTools","tracing","trigger","gatewayAttachmentId","gatewayAttachmentKey","agentKey","skipAgentSessionSpan","invocationRoute","sessionLifecycle","PromptResponse","error","canceled","BuildAgentRuntimeContext","SandboxedAgentRuntime","mcpConnections","takeCredentialError","buildAgentRuntime","def","runPrompt","Agent","buildRuntime","input","defineAgent","resolveAgentId","agentSlug","explicitId","SUBAGENT_TOOL","SubagentToolInherit","workspace","SubagentToolMetadata","agent","inherit","SubagentToolDetails","SubagentTool","DefineSubagentToolInput","label","parameters","toMessage","params","getSubagentToolMetadata","defineSubagentTool","runAgentPrompt","options","SessionAgentMismatchError","Error","constructor","prepareAgentSession","ranByUserId","normalizeAgentDefinition","appRoot","RunLlmHooks","onUsage","usage","runLlm","opts","hooks","ForcedToolChoice","type","function","forceToolChoice","api","toolName","resolveAgentWorkspaceRoot","AgentAssetInput","skillKeys","ResolvedAgentAssets","resolveAgentAssets","ResolvedAgentTools","resolveAgentTools","resolver"],"sources":["../../agent/dist/schemas-2vNCq27N.d.mts","../../database/dist/index.d.mts","../../memory/dist/index.d.mts","../../agent/dist/index.d.mts"],"mappings":";;;;;;;;;;KAKKK,YAAAA;AAAAA,cACSC,kBAAAA,EAAoBF,CAAAA,CAAEG,SAAS;;iBAE5BC,iBAAAA,CAAkBC,OAAAA,EAASJ,YAAAA,GAAeF,KAAK;AAAA;AAAA,cAGlDO,mBAAAA,EAAqBN,CAAAA,CAAEO,OAAO;EAC1CC,GAAAA;EACAC,OAAAA;EACAC,GAAAA;EACAC,MAAAA;EACAC,IAAAA;EACAC,KAAAA;AAAAA;AAAAA,cAEYC,sBAAAA;;cAEAC,sBAAAA,EAAwBf,CAAAA,CAAEoB,SAAAA;EACtCC,YAAAA,EAAcrB,CAAAA,CAAEgB,SAAAA;EAChBM,KAAAA,EAAOtB,CAAAA,CAAEG,SAA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xJ,GAAAA,EAAKyJ,QAAAA,WAAmBL,gBAAgB;AAAA;;;;;AA9MQ;AAAA;;;;;iBA2NrEM,yBAAAA,CAA0B/E,OAAAA,UAAiBJ,SAAAA,UAAmB+D,OAAAA;EAC7EpD,cAAAA;EACAC,SAAAA;EACAC,WAAAA,WA7N6D;EA8N7DC,aAAAA;EACAnB,OAAAA,GAAUrC,iBAAAA;EACVoC,MAAAA,GAASjC,eAAAA;AAAAA,IACPkB,OAAAA,CAAQzB,mBAAAA;AAAAA;AAAAA,KAGPkI,eAAAA;EACHC,SAAAA;EACAxC,SAAAA;EACAyB,OAAAA;AAAAA;AAAAA,KAEGgB,mBAAAA;EACH5F,MAAAA,GAASjC,eAAe;AAAA;AAxO2B;AAAA,iBA2OpC8H,kBAAAA,CAAmB7C,KAAAA,EAAO0C,eAAAA,GAAkBE,mBAAmB;AAAA;AAAA,KAG3EE,kBAAAA;EACHtH,KAAAA,EAAOtE,SAAAA;EACPuI,cAAAA,EAAgBtG,aAAe;AAAA;AAAA,iBAEhB4J,iBAAAA,CAAkBvH,KAAAA,EAAOmB,KAAAA,CAAM1C,gBAAAA,GAAmB/C,SAAAA,GAAYuF,YAAAA,GAAeuG,QAAAA,EAAU5I,sBAAAA,GAAyB6B,OAAAA,CAAQ6G,kBAAAA"}
@@ -51,6 +51,7 @@ type LlmUsageRecordInput = {
51
51
  };
52
52
  //#endregion
53
53
  //#region ../memory/dist/index.d.mts
54
+ //#endregion
54
55
  //#region src/config.d.ts
55
56
  type MemoryConfig = {
56
57
  enabled: boolean;
@@ -334,4 +335,4 @@ type ResolvedAgentTools = {
334
335
  declare function resolveAgentTools(tools: Array<ActionDefinition | AgentTool | AgentMcpTool>, resolver: ToolCredentialResolver): Promise<ResolvedAgentTools>; //#endregion
335
336
  //#endregion
336
337
  export { forceToolChoice as A, runAgentPrompt as B, SubagentToolMetadata as C, defineSubagentTool as D, defineAgent as E, prompt as F, AgentModelId as G, snapshot as H, resolveAgentAssets as I, ThinkingLevelSchema as J, AgentModelIdSchema as K, resolveAgentId as L, messages as M, normalizeAgentDefinition as N, defineTool as O, prepareAgentSession as P, resolveAgentTools as R, SubagentToolInherit as S, createAgent as T, AgentCreateInput as U, runLlm as V, AgentCreateInputSchema as W, resolveAgentModel as X, parseAgentCreateInput as Y, resolveThinkingLevel as Z, SessionAgentMismatchError as _, AgentDefinitionInput as a, SubagentTool as b, BuildAgentRuntimeContext as c, PromptInput as d, PromptResponse as f, SandboxedAgentRuntime as g, SUBAGENT_TOOL as h, AgentDefinition as i, getSubagentToolMetadata as j, errorMessage as k, DefineSubagentToolInput as l, RunAgentPromptOptions as m, AgentAssetInput as n, AgentRuntime as o, ResolvedAgentAssets as p, DEFAULT_THINKING_LEVEL as q, AgentConfig as r, AgentSnapshot as s, Agent as t, ForcedToolChoice as u, SessionLifecycle as v, buildAgentRuntime as w, SubagentToolDetails as x, SessionLifecycleContext as y, resolveAgentWorkspaceRoot as z };
337
- //# sourceMappingURL=index-IhPXtbNf.d.mts.map
338
+ //# sourceMappingURL=index-BeBgntxT.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index-BeBgntxT.d.mts","names":["h","ThinkingLevel","r","Model","z","AgentModelId","AgentModelIdSchema","ZodCustom","resolveAgentModel","modelId","ThinkingLevelSchema","ZodEnum","off","minimal","low","medium","high","xhigh","DEFAULT_THINKING_LEVEL","AgentCreateInputSchema","ZodString","ZodOptional","core","$strip","ZodObject","systemPrompt","model","thinkingLevel","AgentCreateInput","infer","parseAgentCreateInput","input","resolveThinkingLevel","level","a","c","i","l","n","o","s","t","_$drizzle_orm_node_postgres0","Pool","MigrationConfig","MigrationMeta","TracingSink","AgentTriggerType","CredentialAuthKind","CredentialScopeType","HistoryAgentSessionDetail","HistoryRun","HistoryRunKind","HistoryRunStatus","HistoryWorkflowRunDetail","RunSourceKind","WorkflowEventType","DEFAULT_DATABASE_URL","runWithTenantScope","T","Promise","tenantId","fn","getServerTenantScopeId","DEFAULT_PROJECT_ID","runWithProjectScope","projectId","getBoundProjectScopeId","getProjectScopeId","PostgresConnectionConfig","host","port","database","user","password","ssl","qualifyConnectionUser","NodeJS","ProcessEnv","env","buildPostgresUrl","config","parsePostgresUrl","url","resolvePostgresConfigFromEnv","resolvePostgresUrlFromEnv","resolveProjectDatabaseUrlFromEnv","resolveDatabaseUrlFromEnv","closeDatabase","StoredRunSourceKind$1","agentSessions","_$drizzle_orm_pg_core0","PgColumn","Date","PgTableWithColumns","name","schema","columns","id","tableName","dataType","columnType","data","driverParam","notNull","hasDefault","isPrimaryKey","isAutoincrement","hasRuntimeDefault","enumValues","baseColumn","identity","generated","agentId","sourceKind","$type","sourceId","parentSpanId","ranByUserId","title","canceledAt","totalDurationMs","liveMessage","createdAt","updatedAt","deletedAt","dialect","UsageRunKind","TriggerScheduleKind","triggerSchedules","attachmentSlug","kind","schedule","nextRunAt","enabled","TriggerRunType","triggerRuns","attachmentId","sourcePath","triggerType","payload","triggeredAt","WorkflowRunStatus","WorkflowRunTrigger","StoredRunSourceKind","workflowRuns","workflowSlug","subscriptionId","triggerRunId","parentWorkflowRunId","status","trigger","startedAt","finishedAt","input","output","error","WorkflowHookStatus","workflowHooks","hookId","runId","token","correlationId","resumedAt","JobKind","JobStatus","JobTrigger","TraceSpanKind","TraceSpanStatus","traceSpans","traceId","refId","metadata","TraceLogLevel","TraceLogSource","traceLogs","spanId","seq","level","message","source","agents","slug","description","route","moduleFile","model","systemPrompt","toolCount","credentialCount","credentialKeys","registeredAt","agentEvents","sessionId","eventType","StoredTriggerTargetKind","StoredTriggerOrigin","StoredTriggerLifecycleStatus","StoredTriggerLifecycle","maxExecutions","until","executionCount","StoredTriggerSource","Record","key","endpoint","requestSchema","filterSchema","code","triggerAttachments","targetKind","agentSlug","origin","prompt","lifecycle","createdBySessionId","workflowEvents","type","credentialInstances","scopeType","scopeId","label","isDefault","authKind","ciphertext","connectionId","sharedConnectionId","SlackGatewayMode","StoredGatewaySource","mode","credentialKey","channelIds","subscribeOnMention","channelName","channelKind","gatewayAttachments","platform","teamId","channelId","gatewayAttachmentKeyForChannel","gatewayThreadSessions","threadId","skills","workflows","subscribable","workflowSubscriptions","userId","resourceActivityKinds","ResourceActivityKind","resourceActivity","resourceKind","resourceId","lastOpenedAt","AgentRow","$inferSelect","listActiveAgents","projectIds","options","selectAgentBySlug","selectActiveAgentsByIds","ids","selectActiveAgentById","resolveAgentProjectId","AgentSessionRow","AgentSessionSourceFilter","selectAgentSessionById","addAgentSessionDuration","deltaMs","AgentEventRow","TriggerAttachmentRow","getTriggerAttachmentBySlug","listActiveTriggerAttachments","selectWebhookTriggerAttachments","selectEphemeralTriggerAttachmentsByAgentSlug","selectTriggerAttachmentsByAgentSlug","selectEphemeralTriggerAttachments","TriggerScheduleRow","UpsertTriggerScheduleValues","selectTriggerScheduleBySlug","upsertTriggerSchedule","values","disableAllTriggerSchedules","now","disableTriggerSchedulesNotInSlugs","attachmentKeys","listEnabledTriggerSchedules","claimDueTriggerSchedules","resolveNextRunAt","limit","claimDueTriggerSchedulesForOrg","listTriggerSchedulesBySlugs","triggerRunSummaryFromRow","TriggerRunRow","WorkflowRunRow","row","workflowRun","agentSession","triggerRunRecordFromRow","WorkflowEventRow","AppendWorkflowEventValues","listStepCompletedEvents","TraceLogRow","TraceSpanRow","createDatabaseTracingSink","flushNow","TraceTriggerSummary","TraceGatewaySummary","gatewayAttachmentId","gatewayAttachmentKey","TraceResponse","gateway","spans","logs","getTraceForWorkflowRun","workflowRunId","getTraceForTriggerRun","getTraceForAgentSession","workflowRunSummaryFromRow","workflowRunRecordFromRow","triggerRunDetailFromRow","workflowStepRunFromEvent","actionKey","completedAt","traceResponseToJson","trace","selectWorkflowRunById","resolveWorkflowRunProjectId","listWorkflowRunsByWorkflowSlug","selectWorkflowRunForWorkflow","listWorkflowRunsPaginated","ReturnType","cursor","items","nextCursor","WorkflowHookRow","InsertWorkflowHookValues","requeueExpiredLeases","GatewayAttachmentRow","GatewayChannelConflictError","Error","ownerProjectId","constructor","getActiveOrgGatewayAttachmentByChannel","getActiveOrgGatewayAttachmentByTeamAndChannel","getActiveGatewayAttachmentByChannel","listActiveGatewayAttachments","ActiveGatewayBinding","listActiveOrgGatewayBindingsByPlatform","listActiveGatewayAttachmentsByAgentSlug","softDeleteGatewayAttachmentsForAgentPlatformTeam","listActiveGatewayAttachmentsByPlatform","softDeleteGatewayAttachmentByChannel","upsertGatewayAttachmentByChannel","getGatewayAttachmentBySlug","GatewayThreadSessionRow","selectGatewayThreadSessionByThreadId","WorkflowRow","listActiveWorkflows","selectActiveWorkflowBySlug","selectActiveWorkflowsByIds","selectActiveWorkflowById","SkillRow","listActiveSkills","selectActiveSkillsByIds","selectActiveSkillById","WorkflowSubscriptionRow","InsertWorkflowSubscriptionValues","UpdateWorkflowSubscriptionValues","selectWorkflowSubscriptionById","selectWorkflowSubscriptionByWorkflowAndUser","listWorkflowSubscriptionsByWorkflowSlug","listEnabledWorkflowSubscriptionsByWorkflowSlug","insertWorkflowSubscription","updateWorkflowSubscriptionById","deleteWorkflowSubscriptionById","ResourceActivityRow","TouchResourceActivityInput","touchResourceActivity","listRecentResourceActivity","selectWorkflowLastRunAtByIds","Map","workflowIds","selectAgentLastRunAtByIds","agentIds","ProjectResourceCounts","agentCount","workflowCount","skillCount","selectProjectResourceCounts","ListHistoryRunsOptions","HistoryRunCore","Omit","buildHistoryWorkflowRunDetail","buildHistoryAgentSessionDetail","listHistoryRuns","findHistoryRunCore","CredentialInstanceRow","InsertCredentialInstanceValues","listAllCredentialInstances","listCredentialInstancesByConnectionId","selectCredentialInstanceById","listCredentialInstancesByScope","selectCredentialInstancesForScope","upsertCredentialInstance","deleteCredentialInstanceById","clearCredentialInstanceDefaults","exceptId","createPgDb","NodePgDatabase","pool","usageRecords","runKind","quantity","unit","amount","jobs","targetId","scheduledAt","attempt","maxAttempts","leasedBy","leaseExpiresAt","$client","Database","DatabaseDialect","PgPool","PgDatabase","SqliteDatabase","AppDatabase","DatabaseHandle","db","searchPath","close","InitDatabaseOptions","migrate","migrationsFolder","max","closeAllProjectDatabasePools","isDatabaseInitialized","getDatabaseHandle","initDatabase","RunWithProjectDatabaseOptions","runWithProjectDatabase","ConnectionOptions","PgConnectionOptions","SqliteConnectionOptions","createPgConnection","PostgresCancelHandler","PostgresCancelChannel","publishCancel","subscribeCancel","handler","createPostgresCancelChannel","connectionString","channel","createSqliteConnection","createConnection","resolveSqlitePath","inferDialect","override","adaptPgMigrationsForSearchPath","migrations","loadMigrations","embedded","migratePgDatabase","resolveMigrationsFolder","runMigrations","handle","resolveMigrationsSchema","primarySearchPathSchema","resolveSearchPath","appendSearchPathToUrl","cancelWorkflowRun","cancelAgentSession","RunSource","runSource","sourceFromSpan","span","resolveRunSourceFromTraceContext","DiscoveredAgentRecord","AgentRegistryEntry","MESSAGE_EVENT_TYPE","syncAgentRegistry","records","getAgentByRoute","AgentSession","createSession","getSession","touchSession","setSessionTitle","nextSeq","appendEvent","listMessageEvents","countMessageEvents","AgentEventRecord","listSessionEvents","setSessionLiveMessage","clearLiveMessage","getSessionLiveMessage","LlmUsageRecordInput","recordLlmUsageFromAssistantMessage","usage","failAgentSession","AgentSessionStatus$1","agentSessionSummaryFromParts","messageCount","ranByUserName","gatewayPlatform","agentSessionRecordFromParts","gatewaySessionDetailFromParts","agentEventFromRow","AgentSessionStatus","AgentSessionSource","listAgentSessionsPaginated","resolveUserName","AgentSessionDetailInclude","buildAgentSessionDetail","include","session","messages","events","buildAgentSessionChatState","sinceSeq","live","DiscoveredSkillRecord","SkillRegistryEntry","syncSkillRegistry","TriggerAttachmentRegistryEntry","DiscoveredTriggerAttachmentRecord","syncTriggerAttachmentRegistry","CreateAgentAttachmentExecutionInput","createAgentAttachmentExecution","getTriggerRunForAgentSession","EPHEMERAL_TRIGGER_MODULE_FILE","UpsertEphemeralTriggerInput","Extract","upsertEphemeralTrigger","deleteEphemeralTrigger","isEphemeralTriggerActive","recordEphemeralTriggerExecution","selectActiveEphemeralScheduledAttachmentSlugs","selectActiveEphemeralCronAttachmentSlugs","listAgentTriggers","getOrCreateGatewayThreadSession","existingSessionId","DiscoveredWorkflowRecord","WorkflowRegistryEntry","syncWorkflowRegistry","WorkflowSubscriptionProfile","getWorkflowSubscription","listCredentialInstancesForBinding","CreateWorkflowRunInput","CreateAttachmentExecutionInput","Exclude","createWorkflowRun","createPendingWorkflowRun","markWorkflowRunRunning","markWorkflowRunSleeping","markWorkflowRunWaitingHook","completeWorkflowRun","failWorkflowRun","recordWorkflowLlmUsage","finalizeCanceledWorkflowRun","createAttachmentExecution","createPendingAttachmentExecution","markAttachmentExecutionRunning","WorkflowRunDetailInclude","buildWorkflowRunDetail","run","steps","WorkflowEventRecord","EventLog","append","event","listReplay","createDatabaseEventLog","WorkflowHookRecord","HookStore","create","getByToken","markResumed","createDatabaseHookStore","TriggerRunDetailInclude","listTriggerRunsPaginated","buildTriggerRunDetail","Array","encryptCredentialPayload","plaintext","decryptCredentialPayload","setCredentialInstanceValue","value","OAuthCredentialTargets","projectNamesById","organization","ensureOAuthCredentialInstance","accountLabel","externalId","userLabel","targets","ensureKeystrokeCredentialInstance","projectName","EnqueueJobInput","ClaimedJob","JobSnapshot","enqueueJob","claimNextJob","workerId","markJobComplete","jobId","markJobFailed","scheduleJobRetry","delayMs","getJobByRunId","DatabaseSync","Type","AgentTool","resolveMemoryRelativePath","memoryDir","inputPath","orderMemoryRelativePaths","relativePaths","listMemoryFilePaths","readMemoryFileContent","MemoryConfig","enabled","dir","memoryFile","userFile","archiveDir","dbFile","sessionsDir","memoryCharLimit","userCharLimit","archiveTocLimit","securityScan","loadMemoryConfig","Partial","overrides","Memory","Promise","tool","systemPromptInjection","close","MemoryFactory","create","agentId","sessionId","ctx","DefaultMemoryOptions","user","memories","createDefaultMemory","NodeJS","ProcessEnv","options","env","MemoryStoragePort","Uint8Array","Buffer","listObjects","prefix","getObject","key","putObject","body","contentType","input","deleteObject","StorageBackedMemoryOptions","storage","seed","createStorageBackedMemory","SnapshotResult","block","warnings","buildMemorySnapshot","config","ArchiveHit","path","snippet","rank","SessionHit","session_file","line_no","role","ts","searchArchive","db","query","limit","searchSessions","reindexSessions","memoryToolParameters","TLiteral","TObject","TString","TUnion","TOptional","TNumber","TBoolean","action","content","oldText","newText","scope","full","createMemoryTool","_$_earendil_works_pi_agent_core0","c","AgentMessage","d","AgentTool","h","ThinkingLevel","l","AgentOptions","m","PiAgent","o","getModel","r","Model","u","AgentState","a","parseAgentCreateInput","AgentModelIdSchema","i","ThinkingLevelSchema","resolveAgentModel","n","AgentCreateInputSchema","resolveThinkingLevel","DEFAULT_THINKING_LEVEL","s","AgentModelId","t","AgentCreateInput","z","LlmUsageRecordInput","Api","McpAuthOptions","McpCallToolOptions","McpConnection","McpConnection$1","McpDefinition","McpDefinition$1","McpDefinitionInput","McpHttpTransport","McpServerOptions","McpStdioOptions","McpStdioTransport","McpTransport","connectMcpDefinition","connectMcpServer","connectMcpStdio","defineMcp","isMcp","ActionDefinition","CredentialRunContext","OAuthTokenAdapter","ToolCredentialResolver","DefaultMemoryOptions","Memory","MemoryFactory","AgentWorkspaceRoots","RuntimeHooks","RuntimeProvider","Sandbox","SandboxDefinition","SandboxDefinitionInput","SandboxMode","SkillDefinition","loadAssetManifest","PromptLlmRunOptions","AgentConfig","Omit","systemPrompt","model","thinkingLevel","messages","tools","AgentRuntime","Readonly","pi","AgentSnapshot","state","createAgent","config","prompt","Promise","runtime","message","snapshot","errorMessage","defineTool","T","tool","AgentMcpTool","AgentDefinitionAuthorInput","Array","slug","name","description","runtimeHooks","skills","sandbox","memory","AgentDefinitionInput","AgentDefinition","PromptInput","sessionId","subscriptionId","context","SessionLifecycleContext","agentId","SessionLifecycle","beforeRuntime","ctx","afterRuntime","RunAgentPromptOptions","stepId","workspacesRoot","agentRoot","sessionRoot","workspaceRoot","mode","runtimeProvider","vmRuntimeProvider","memoryFactory","credentials","oauthAdapter","hostTools","tracing","trigger","gatewayAttachmentId","gatewayAttachmentKey","agentKey","skipAgentSessionSpan","invocationRoute","sessionLifecycle","PromptResponse","error","canceled","BuildAgentRuntimeContext","SandboxedAgentRuntime","mcpConnections","takeCredentialError","buildAgentRuntime","def","runPrompt","Agent","buildRuntime","input","defineAgent","resolveAgentId","agentSlug","explicitId","SUBAGENT_TOOL","SubagentToolInherit","workspace","SubagentToolMetadata","agent","inherit","SubagentToolDetails","SubagentTool","DefineSubagentToolInput","label","parameters","toMessage","params","getSubagentToolMetadata","defineSubagentTool","runAgentPrompt","options","SessionAgentMismatchError","Error","constructor","prepareAgentSession","ranByUserId","normalizeAgentDefinition","appRoot","RunLlmHooks","onUsage","usage","runLlm","opts","hooks","ForcedToolChoice","type","function","forceToolChoice","api","toolName","resolveAgentWorkspaceRoot","AgentAssetInput","skillKeys","ResolvedAgentAssets","resolveAgentAssets","ResolvedAgentTools","resolveAgentTools","resolver"],"sources":["../../agent/dist/schemas-2vNCq27N.d.mts","../../database/dist/index.d.mts","../../memory/dist/index.d.mts","../../agent/dist/index.d.mts"],"mappings":";;;;;;;;;;;KAKKK,YAAAA;AAAAA,cACSC,kBAAAA,EAAoBF,CAAAA,CAAEG,SAAS;;iBAE5BC,iBAAAA,CAAkBC,OAAAA,EAASJ,YAAAA,GAAeF,KAAK;AAAA;AAAA,cAGlDO,mBAAAA,EAAqBN,CAAAA,CAAEO,OAAO;EAC1CC,GAAAA;EACAC,OAAAA;EACAC,GAAAA;EACAC,MAAAA;EACAC,IAAAA;EACAC,KAAAA;AAAAA;AAAAA,cAEYC,sBAAAA;AAb+B;AAAA,cAe/BC,sBAAAA,EAAwBf,CAAAA,CAAEoB,SAAAA;EACtCC,YAAAA,EAAcrB,CAAAA,CAAEgB,SAAAA;EAChBM,KAAAA,EAAOtB,CAAAA,CAAEG,SAAAA;EACToB,aAAAA,EAAevB,CAAAA,CAAEiB,WAAAA,CAAYjB,CAAAA,CAAEO,OAAAA;IAC7BC,GAAAA;IACAC,OAAAA;IACAC,GAAAA;IACAC,MAAAA;IACAC,IAAAA;IACAC,KAAAA;E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AA;EACAC,WAAAA,WA7N6D;EA8N7DC,aAAAA;EACAnB,OAAAA,GAAUrC,iBAAAA;EACVoC,MAAAA,GAASjC,eAAAA;AAAAA,IACPkB,OAAAA,CAAQzB,mBAAAA;AAAAA;AAAAA,KAGPkI,eAAAA;EACHC,SAAAA;EACAxC,SAAAA;EACAyB,OAAAA;AAAAA;AAAAA,KAEGgB,mBAAAA;EACH5F,MAAAA,GAASjC,eAAe;AAAA;AAxO2B;AAAA,iBA2OpC8H,kBAAAA,CAAmB7C,KAAAA,EAAO0C,eAAAA,GAAkBE,mBAAmB;AAAA;AAAA,KAG3EE,kBAAAA;EACHtH,KAAAA,EAAOtE,SAAAA;EACPuI,cAAAA,EAAgBtG,aAAe;AAAA;AAAA,iBAEhB4J,iBAAAA,CAAkBvH,KAAAA,EAAOmB,KAAAA,CAAM1C,gBAAAA,GAAmB/C,SAAAA,GAAYuF,YAAAA,GAAeuG,QAAAA,EAAU5I,sBAAAA,GAAyB6B,OAAAA,CAAQ6G,kBAAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"index-e9f4pcX4.d.cts","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","toolParameters","ZodType","Record","schema","ROUTE_MANIFEST_REL_PATH","StoredRouteManifestSkillSchema","moduleFile","StoredRouteManifestSkill","StoredRouteManifestSchema","ZodLiteral","ZodUnknown","ZodDiscriminatedUnion","ZodDefault","version","entries","kind","model","systemPrompt","toolCount","subscribable","requestSchema","endpoint","attachmentIds","attachmentSchemas","filterSchema","attachmentId","schedule","pollId","skills","integrations","StoredRouteManifest","parseStoredRouteManifest","AppCredentialFieldSchema","label","secret","optional","AppCredentialFieldsSchema","AppCredentialField","AppCredentialFields","validateCredentialValueAgainstFields","fields","ok","OAuthScopeOptionSchema","defaultSelected","required","AppAuthKindSchema","oauth","api_key","keystroke","AppSourceSchema","AppCatalogMetadataSchema","category","logo","authKind","oauthScopes","AppSeedEntrySchema","source","AppSlugAvailabilityResponseSchema","AppSlugAvailabilityQuerySchema","CreateCustomAppRequestSchema","CustomAppDetailSchema","credentialFields","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","AppSource","AppCatalogMetadata","AppSeedEntry","AppRecord","AppCatalogEntry","ListAppsResponse","AppSlugAvailabilityResponse","AppSlugAvailabilityQuery","CreateCustomAppRequest","CustomAppDetail","CreateCustomAppResponse","GetCustomAppResponse","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","ChannelPlatformKeySchema","slack","ChannelReactionSupportSchema","ChannelCardSupportSchema","ChannelStreamingSupportSchema","ChannelCapabilitiesSchema","ChannelListenModeSchema","ChannelBindingKindSchema","public","private","group","space","AppGatewaySchema","ChannelPlatformSchema","key","appLogoId","fallbackDomain","placeholder","helpText","type","password","text","textarea","prefix","ChannelBindingSchema","channelId","channelName","channelKind","mode","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","options","resolveUniqueCredentialInstanceLabel","Iterable","baseLabel","takenLabels","disambiguator","AppCredentialScopeSchema","AppCredentialConnectionKindSchema","manual","OAuthPermissionModeSchema","default","restricted","AppCredentialSummarySchema","scope","lastRefreshedAt","projectId","lastUsedAt","isDefault","connectionKind","ownerUserId","ownerName","ownerAvatarUrl","grantedScopes","credentialKeys","keyPreviews","expiresAt","AppCredentialScope","AppCredentialConnectionKind","OAuthPermissionMode","AppCredentialSummary","CredentialTargetsFieldsSchema","projects","createOrganizationCredential","createUserProvidedCredential","CredentialTargetsFields","StartOAuthConnectionInputSchema","scopes","permissionMode","StartOAuthConnectionInput","StartOAuthConnectionResultSchema","connected","redirecting","authorizeUrl","StartOAuthConnectionResult","StartKeystrokeConnectionInputSchema","app","projectSlug","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","ExecuteKeystrokeToolRequestSchema","tool","arguments","ExecuteKeystrokeToolRequest","TeamRequestTypeSchema","contact","verification","SubmitTeamRequestRequestSchema","SubmitTeamRequestResponseSchema","TeamRequestType","SubmitTeamRequestRequest","SubmitTeamRequestResponse","MarketingContactCompanySizeSchema","SubmitMarketingContactRequestSchema","fullName","workEmail","companySize","companyWebsite","SubmitMarketingContactResponseSchema","MarketingContactCompanySize","SubmitMarketingContactRequest","SubmitMarketingContactResponse","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","path","ValidationErrorDetail","ErrorResponseCodeSchema","ZodUnion","needs_org_selection","org_unverified","ErrorResponseCode","ErrorResponseSchema","error","code","details","ErrorResponse","validationErrorResponse","summary","parseErrorResponse","body","PromptInputSchema","sessionId","subscriptionId","context","orgId","userId","userIds","selection","thinkingLevel","off","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","attachmentKey","workflowKey","queued","PollAttachmentResult","PollRunMultiResponseSchema","results","PollRunMultiResponse","PollRunResponseSchema","PollRunResponse","parsePollRunRequest","RunSourceKindSchema","agent","trigger","workflow","api","RunSourceKind","RunSourceSchema","RunSource","AgentSessionSummarySchema","running","completed","canceled","sourceId","messageCount","AgentSessionSummary","AgentSessionRecordSchema","agentSlug","parentSpanId","AgentSessionRecord","AgentSessionListQuerySchema","ZodCoercedNumber","limit","cursor","AgentSessionListQuery","AgentSessionListResponseSchema","AgentSessionListResponse","AgentSessionDetailIncludeSchema","events","trace","AgentSessionDetailQuerySchema","include","AgentSessionDetailQuery","parseAgentSessionDetailInclude","AgentSessionDetailInclude","GatewaySessionDetailSchema","threadId","attachmentSlug","GatewaySessionDetail","AgentEventSchema","seq","eventType","payload","AgentEvent","AgentSessionDetailResponseSchema","session","traceId","triggerType","triggerRunId","workflowSlug","route","sourcePath","gatewayAttachmentId","gatewayAttachmentKey","spans","refId","startedAt","finishedAt","metadata","logs","spanId","level","data","AgentSessionDetailResponse","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","cron","webhook","poll","retry","triggeredAt","sourceKind","WorkflowRunSummary","WorkflowRunRecordSchema","parentWorkflowRunId","output","WorkflowRunRecord","WorkflowRunListQuerySchema","WorkflowRunListQuery","WorkflowRunListResponseSchema","WorkflowRunListResponse","WorkflowRunDetailIncludeSchema","steps","WorkflowRunDetailQuerySchema","WorkflowRunDetailQuery","parseWorkflowRunDetailInclude","WorkflowRunDetailInclude","TriggerRunDetailSchema","TriggerRunDetail","TraceResponseSchema","TraceResponse","WorkflowRunDetailResponseSchema","run","actionKey","completedAt","WorkflowRunDetailResponse","HistoryRunKindSchema","HistoryRunStatusSchema","HistoryRunActorSchema","avatarUrl","HistoryRunUsageLineItemSchema","amountUsd","HistoryRunUsageSchema","runDurationMs","lineItems","totalExcludingDurationUsd","HistoryRunSchema","resourceKey","resourceId","resourceName","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","TriggerRunWorkflowSummarySchema","TriggerRunWorkflowSummary","TriggerRunSummarySchema","workflowRun","agentSession","TriggerRunSummary","TriggerRunRecordSchema","TriggerRunRecord","TriggerRunListQuerySchema","TriggerRunListQuery","TriggerRunListResponseSchema","TriggerRunListResponse","TriggerRunDetailIncludeSchema","TriggerRunDetailQuerySchema","TriggerRunDetailQuery","parseTriggerRunDetailInclude","TriggerRunDetailInclude","TriggerRunDetailResponseSchema","workflowRuns","agentSessions","TriggerRunDetailResponse","TriggerTypeSchema","TriggerListItemSchema","webhookUrl","targetKind","TriggerListResponseSchema","TriggerListQuerySchema","TriggerDetailResponseSchema","TriggerListItem","TriggerListResponse","TriggerListQuery","TriggerDetailResponse","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","storageKey","UserAvatarPatch","PresignUserAvatarRequestSchema","contentType","PresignUserAvatarRequest","PresignUserAvatarResponseSchema","uploadUrl","PresignUserAvatarResponse","UserInterfaceThemeSchema","system","light","dark","UserInterfaceTheme","UserSurfaceContrastSchema","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","ready","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","hash","ProjectFileSummary","ProjectSourceResourceRefSchema","ProjectSourceResourceRef","ProjectSourceResourcesSchema","ProjectSourceResources","ListProjectFilesResponseSchema","files","resources","ListProjectFilesResponse","ProjectSourceFileSchema","contents","ProjectSourceFile","SourceBlobRefSchema","size","SourceBlobRef","PresignProjectSourceRequestSchema","blobs","PresignProjectSourceRequest","PresignedBlobUploadSchema","PresignedBlobUpload","PresignProjectSourceResponseSchema","uploads","PresignProjectSourceResponse","ManifestFileRefSchema","ManifestFileRef","UploadProjectSourceManifestRequestSchema","UploadProjectSourceManifestRequest","UploadProjectSourceResponseSchema","fileCount","UploadProjectSourceResponse","StoredManifestFileSchema","StoredManifestFile","StoredProjectSourceManifestSchema","generatedAt","StoredProjectSourceManifest","projectFileLanguage","projectFileId","PromptLlmThinkingLevel","PromptLlmRunOptions","prompt","outputSchema","temperature","maxTokens","stepId","CredentialRunContext","CredentialConsumer","CredentialSelectionOption","OAuthTokenAdapter","Promise","getAccessToken","OAuthAccessTokenRefreshParams","clientId","clientSecret","refreshToken","OAuthAccessTokenRefreshResult","Date","accessTokenExpiresAt","OAuthAccessTokenRefresher","params","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/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;AAAAA;AAAAA,KAGCulB,6BAAAA;EACHC,QAAAA;EACAC,YAAAA;EACAC,YAAAA;AAAAA;AAAAA,KAEGC,6BAAAA;EACH3lB,WAAAA;EACA0lB,YAAAA;EACAG,oBAAAA,GAAuBD,IAAI;AAAA;AAAA,KAExBE,yBAAAA,IAA6BC,MAAAA,EAAQR,6BAAAA,KAAkCF,OAAAA,CAAQM,6BAAAA;AAAAA,KAC/EK,yBAAAA;EACHC,QAAAA,CAASC,MAAAA,UAAgBC,SAAAA,EAAWL,yBAAAA;EACpCM,GAAAA,CAAIF,MAAAA,WAAiBJ,yBAAyB;AAAA;AAAA"}
1
+ {"version":3,"file":"index-e9f4pcX4.d.cts","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","toolParameters","ZodType","Record","schema","ROUTE_MANIFEST_REL_PATH","StoredRouteManifestSkillSchema","moduleFile","StoredRouteManifestSkill","StoredRouteManifestSchema","ZodLiteral","ZodDefault","ZodUnknown","ZodDiscriminatedUnion","version","entries","kind","model","systemPrompt","toolCount","credentialKeys","subscribable","requestSchema","endpoint","attachmentIds","attachmentSchemas","filterSchema","attachmentId","schedule","pollId","skills","integrations","StoredRouteManifest","parseStoredRouteManifest","AppCredentialFieldSchema","label","secret","optional","AppCredentialFieldsSchema","AppCredentialField","AppCredentialFields","validateCredentialValueAgainstFields","fields","ok","OAuthScopeOptionSchema","defaultSelected","required","AppAuthKindSchema","oauth","api_key","keystroke","AppSourceSchema","AppCatalogMetadataSchema","category","logo","authKind","oauthScopes","AppSeedEntrySchema","source","AppSlugAvailabilityResponseSchema","AppSlugAvailabilityQuerySchema","CreateCustomAppRequestSchema","CustomAppDetailSchema","credentialFields","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","AppSource","AppCatalogMetadata","AppSeedEntry","AppRecord","AppCatalogEntry","ListAppsResponse","AppSlugAvailabilityResponse","AppSlugAvailabilityQuery","CreateCustomAppRequest","CustomAppDetail","CreateCustomAppResponse","GetCustomAppResponse","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","ChannelPlatformKeySchema","slack","ChannelReactionSupportSchema","ChannelCardSupportSchema","ChannelStreamingSupportSchema","ChannelCapabilitiesSchema","ChannelListenModeSchema","ChannelBindingKindSchema","public","private","group","space","AppGatewaySchema","ChannelPlatformSchema","key","appLogoId","fallbackDomain","placeholder","helpText","type","password","text","textarea","prefix","ChannelBindingSchema","channelId","channelName","channelKind","mode","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","options","resolveUniqueCredentialInstanceLabel","Iterable","baseLabel","takenLabels","disambiguator","AppCredentialScopeSchema","AppCredentialConnectionKindSchema","manual","OAuthPermissionModeSchema","default","restricted","AppCredentialSummarySchema","scope","lastRefreshedAt","projectId","lastUsedAt","isDefault","connectionKind","ownerUserId","ownerName","ownerAvatarUrl","grantedScopes","keyPreviews","expiresAt","AppCredentialScope","AppCredentialConnectionKind","OAuthPermissionMode","AppCredentialSummary","CredentialTargetsFieldsSchema","projects","createOrganizationCredential","createUserProvidedCredential","CredentialTargetsFields","StartOAuthConnectionInputSchema","scopes","permissionMode","StartOAuthConnectionInput","StartOAuthConnectionResultSchema","connected","redirecting","authorizeUrl","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","ExecuteKeystrokeToolRequestSchema","tool","arguments","ExecuteKeystrokeToolRequest","TeamRequestTypeSchema","contact","verification","SubmitTeamRequestRequestSchema","SubmitTeamRequestResponseSchema","TeamRequestType","SubmitTeamRequestRequest","SubmitTeamRequestResponse","MarketingContactCompanySizeSchema","SubmitMarketingContactRequestSchema","fullName","workEmail","companySize","companyWebsite","SubmitMarketingContactResponseSchema","MarketingContactCompanySize","SubmitMarketingContactRequest","SubmitMarketingContactResponse","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","path","ValidationErrorDetail","ErrorResponseCodeSchema","ZodUnion","needs_org_selection","org_unverified","ErrorResponseCode","ErrorResponseSchema","error","code","details","ErrorResponse","validationErrorResponse","summary","parseErrorResponse","body","PromptInputSchema","sessionId","subscriptionId","context","orgId","userId","userIds","selection","thinkingLevel","off","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","attachmentKey","workflowKey","queued","PollAttachmentResult","PollRunMultiResponseSchema","results","PollRunMultiResponse","PollRunResponseSchema","PollRunResponse","parsePollRunRequest","RunSourceKindSchema","agent","trigger","workflow","api","RunSourceKind","RunSourceSchema","RunSource","AgentSessionSummarySchema","running","completed","canceled","sourceId","title","ranByUserName","gatewayPlatform","triggerType","cron","webhook","poll","messageCount","AgentSessionSummary","AgentSessionRecordSchema","agentSlug","parentSpanId","AgentSessionRecord","AgentSessionListQuerySchema","ZodCoercedNumber","limit","cursor","AgentSessionListQuery","AgentSessionListResponseSchema","AgentSessionListResponse","AgentSessionDetailIncludeSchema","events","trace","AgentSessionDetailQuerySchema","include","AgentSessionDetailQuery","parseAgentSessionDetailInclude","AgentSessionDetailInclude","GatewaySessionDetailSchema","threadId","attachmentSlug","GatewaySessionDetail","AgentEventSchema","seq","eventType","payload","AgentEvent","AgentSessionDetailResponseSchema","session","traceId","triggerRunId","workflowSlug","route","sourcePath","gatewayAttachmentId","gatewayAttachmentKey","spans","refId","startedAt","finishedAt","metadata","logs","spanId","level","data","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","output","WorkflowRunRecord","WorkflowRunListQuerySchema","WorkflowRunListQuery","WorkflowRunListResponseSchema","WorkflowRunListResponse","WorkflowRunDetailIncludeSchema","steps","WorkflowRunDetailQuerySchema","WorkflowRunDetailQuery","parseWorkflowRunDetailInclude","WorkflowRunDetailInclude","TriggerRunDetailSchema","TriggerRunDetail","TraceResponseSchema","TraceResponse","WorkflowRunDetailResponseSchema","run","actionKey","completedAt","WorkflowRunDetailResponse","HistoryRunKindSchema","HistoryRunStatusSchema","HistoryRunActorSchema","avatarUrl","HistoryRunUsageLineItemSchema","amountUsd","HistoryRunUsageSchema","runDurationMs","lineItems","totalExcludingDurationUsd","HistoryRunSchema","resourceKey","resourceId","resourceName","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","TriggerRunWorkflowSummarySchema","TriggerRunWorkflowSummary","TriggerRunSummarySchema","workflowRun","agentSession","TriggerRunSummary","TriggerRunRecordSchema","TriggerRunRecord","TriggerRunListQuerySchema","TriggerRunListQuery","TriggerRunListResponseSchema","TriggerRunListResponse","TriggerRunDetailIncludeSchema","TriggerRunDetailQuerySchema","TriggerRunDetailQuery","parseTriggerRunDetailInclude","TriggerRunDetailInclude","TriggerRunDetailResponseSchema","workflowRuns","agentSessions","TriggerRunDetailResponse","TriggerTypeSchema","TriggerListItemSchema","webhookUrl","targetKind","TriggerListResponseSchema","TriggerListQuerySchema","TriggerDetailResponseSchema","TriggerListItem","TriggerListResponse","TriggerListQuery","TriggerDetailResponse","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","storageKey","UserAvatarPatch","PresignUserAvatarRequestSchema","contentType","PresignUserAvatarRequest","PresignUserAvatarResponseSchema","uploadUrl","PresignUserAvatarResponse","UserInterfaceThemeSchema","system","light","dark","UserInterfaceTheme","UserSurfaceContrastSchema","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","ready","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","apps","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","hash","ProjectFileSummary","ProjectSourceResourceRefSchema","ProjectSourceResourceRef","ProjectSourceResourcesSchema","ProjectSourceResources","ListProjectFilesResponseSchema","files","resources","ListProjectFilesResponse","ProjectSourceFileSchema","contents","ProjectSourceFile","SourceBlobRefSchema","size","SourceBlobRef","PresignProjectSourceRequestSchema","blobs","PresignProjectSourceRequest","PresignedBlobUploadSchema","PresignedBlobUpload","PresignProjectSourceResponseSchema","uploads","PresignProjectSourceResponse","ManifestFileRefSchema","ManifestFileRef","UploadProjectSourceManifestRequestSchema","UploadProjectSourceManifestRequest","UploadProjectSourceResponseSchema","fileCount","UploadProjectSourceResponse","StoredManifestFileSchema","StoredManifestFile","StoredProjectSourceManifestSchema","generatedAt","StoredProjectSourceManifest","projectFileLanguage","projectFileId","AgentMemoryFileSummarySchema","AgentMemoryFileSummary","ListAgentMemoryFilesResponseSchema","ListAgentMemoryFilesResponse","agentMemoryFileId","PromptLlmThinkingLevel","PromptLlmRunOptions","outputSchema","temperature","maxTokens","stepId","CredentialRunContext","CredentialConsumer","CredentialSelectionOption","OAuthTokenAdapter","Promise","getAccessToken","OAuthAccessTokenRefreshParams","clientId","clientSecret","refreshToken","OAuthAccessTokenRefreshResult","Date","accessTokenExpiresAt","OAuthAccessTokenRefresher","params","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":";;;;;;cA2tCcoW,wBAAAA,EAA0BnW,CAAAA,CAAE8B,OAAO;EAC/CsK,OAAAA;EACAC,SAAAA;EACA+J,aAAAA;AAAAA;;;;;;cAOYC,yBAAAA,EAA2BrW,CAAAA,CAAE8B,OAAO;EAChD+D,YAAAA;EACAyQ,IAAAA;EACAC,OAAAA;AAAAA;AAAAA,KAEGC,kBAAAA,GAAqBxW,CAAAA,CAAEgB,KAAK,QAAQmV,wBAAAA;AAAAA,KACpCM,mBAAAA,GAAsBzW,CAAAA,CAAEgB,KAAK,QAAQqV,yBAAAA;AAAAA,cAE5BM,sBAAAA;AAAAA;;;;KAyVT0G,qBAAAA;EAAAA,SACMzK,GAAAA;EAAAA,SACAzI,IAAAA,EAAMqM,kBAAAA;EAAAA,SACNjN,MAAAA,EAAQvJ,CAAAA,CAAEqJ,OAAAA;WACV0O,KAAAA,GAAQtB,mBAAAA;EAAAA,SACR6G,UAAAA;AAAAA;AAAAA,KAENC,UAAAA,sCAAgDvd,CAAAA,CAAEqJ,OAAAA,GAAUrJ,CAAAA,CAAEqJ,OAAAA;EAAAA,SACxDc,IAAAA,EAAMqM,kBAAAA;EAAAA,SACN5D,GAAAA,EAAK4K,CAAAA;EAAAA,SACLjU,MAAAA,EAAQkU,CAAAA;EAAAA,SACRH,UAAAA;EACTvF,KAAAA,CAAMA,KAAAA,EAAOtB,mBAAAA,GAAsB4G,qBAAAA;IACjCzK,GAAAA,EAAK4K,CAAAA;IACLjU,MAAAA,EAAQkU,CAAAA;EAAAA;AAAAA;AAAAA,KAGPC,eAAAA,GAAkBL,qBAAAA,GAAwBE,UAAAA,SAAmBvd,CAAAA,CAAEqJ,OAAAA;AAAAA,KAC/DsU,cAAAA,YAA0BD,eAAe;AAAA,iBAC7BE,iBAAAA,CAAkB7U,KAAAA,YAA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AAAA,KAQDmkC,iBAAAA;EACHE,cAAAA,CAAevrB,YAAAA,WAAuBsrB,OAAO;IAC3CjnB,WAAAA;EAAAA;AAAAA;AAAAA,KAGCmnB,6BAAAA;EACHC,QAAAA;EACAC,YAAAA;EACAC,YAAAA;AAAAA;AAAAA,KAEGC,6BAAAA;EACHvnB,WAAAA;EACAsnB,YAAAA;EACAG,oBAAAA,GAAuBD,IAAI;AAAA;AAAA,KAExBE,yBAAAA,IAA6BC,MAAAA,EAAQR,6BAAAA,KAAkCF,OAAAA,CAAQM,6BAAAA;AAAAA,KAC/EK,yBAAAA;EACHC,QAAAA,CAASC,MAAAA,UAAgBC,SAAAA,EAAWL,yBAAAA;EACpCM,GAAAA,CAAIF,MAAAA,WAAiBJ,yBAAyB;AAAA;AAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"index-e9f4pcX4.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","toolParameters","ZodType","Record","schema","ROUTE_MANIFEST_REL_PATH","StoredRouteManifestSkillSchema","moduleFile","StoredRouteManifestSkill","StoredRouteManifestSchema","ZodLiteral","ZodUnknown","ZodDiscriminatedUnion","ZodDefault","version","entries","kind","model","systemPrompt","toolCount","subscribable","requestSchema","endpoint","attachmentIds","attachmentSchemas","filterSchema","attachmentId","schedule","pollId","skills","integrations","StoredRouteManifest","parseStoredRouteManifest","AppCredentialFieldSchema","label","secret","optional","AppCredentialFieldsSchema","AppCredentialField","AppCredentialFields","validateCredentialValueAgainstFields","fields","ok","OAuthScopeOptionSchema","defaultSelected","required","AppAuthKindSchema","oauth","api_key","keystroke","AppSourceSchema","AppCatalogMetadataSchema","category","logo","authKind","oauthScopes","AppSeedEntrySchema","source","AppSlugAvailabilityResponseSchema","AppSlugAvailabilityQuerySchema","CreateCustomAppRequestSchema","CustomAppDetailSchema","credentialFields","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","AppSource","AppCatalogMetadata","AppSeedEntry","AppRecord","AppCatalogEntry","ListAppsResponse","AppSlugAvailabilityResponse","AppSlugAvailabilityQuery","CreateCustomAppRequest","CustomAppDetail","CreateCustomAppResponse","GetCustomAppResponse","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","ChannelPlatformKeySchema","slack","ChannelReactionSupportSchema","ChannelCardSupportSchema","ChannelStreamingSupportSchema","ChannelCapabilitiesSchema","ChannelListenModeSchema","ChannelBindingKindSchema","public","private","group","space","AppGatewaySchema","ChannelPlatformSchema","key","appLogoId","fallbackDomain","placeholder","helpText","type","password","text","textarea","prefix","ChannelBindingSchema","channelId","channelName","channelKind","mode","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","options","resolveUniqueCredentialInstanceLabel","Iterable","baseLabel","takenLabels","disambiguator","AppCredentialScopeSchema","AppCredentialConnectionKindSchema","manual","OAuthPermissionModeSchema","default","restricted","AppCredentialSummarySchema","scope","lastRefreshedAt","projectId","lastUsedAt","isDefault","connectionKind","ownerUserId","ownerName","ownerAvatarUrl","grantedScopes","credentialKeys","keyPreviews","expiresAt","AppCredentialScope","AppCredentialConnectionKind","OAuthPermissionMode","AppCredentialSummary","CredentialTargetsFieldsSchema","projects","createOrganizationCredential","createUserProvidedCredential","CredentialTargetsFields","StartOAuthConnectionInputSchema","scopes","permissionMode","StartOAuthConnectionInput","StartOAuthConnectionResultSchema","connected","redirecting","authorizeUrl","StartOAuthConnectionResult","StartKeystrokeConnectionInputSchema","app","projectSlug","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","ExecuteKeystrokeToolRequestSchema","tool","arguments","ExecuteKeystrokeToolRequest","TeamRequestTypeSchema","contact","verification","SubmitTeamRequestRequestSchema","SubmitTeamRequestResponseSchema","TeamRequestType","SubmitTeamRequestRequest","SubmitTeamRequestResponse","MarketingContactCompanySizeSchema","SubmitMarketingContactRequestSchema","fullName","workEmail","companySize","companyWebsite","SubmitMarketingContactResponseSchema","MarketingContactCompanySize","SubmitMarketingContactRequest","SubmitMarketingContactResponse","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","path","ValidationErrorDetail","ErrorResponseCodeSchema","ZodUnion","needs_org_selection","org_unverified","ErrorResponseCode","ErrorResponseSchema","error","code","details","ErrorResponse","validationErrorResponse","summary","parseErrorResponse","body","PromptInputSchema","sessionId","subscriptionId","context","orgId","userId","userIds","selection","thinkingLevel","off","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","attachmentKey","workflowKey","queued","PollAttachmentResult","PollRunMultiResponseSchema","results","PollRunMultiResponse","PollRunResponseSchema","PollRunResponse","parsePollRunRequest","RunSourceKindSchema","agent","trigger","workflow","api","RunSourceKind","RunSourceSchema","RunSource","AgentSessionSummarySchema","running","completed","canceled","sourceId","messageCount","AgentSessionSummary","AgentSessionRecordSchema","agentSlug","parentSpanId","AgentSessionRecord","AgentSessionListQuerySchema","ZodCoercedNumber","limit","cursor","AgentSessionListQuery","AgentSessionListResponseSchema","AgentSessionListResponse","AgentSessionDetailIncludeSchema","events","trace","AgentSessionDetailQuerySchema","include","AgentSessionDetailQuery","parseAgentSessionDetailInclude","AgentSessionDetailInclude","GatewaySessionDetailSchema","threadId","attachmentSlug","GatewaySessionDetail","AgentEventSchema","seq","eventType","payload","AgentEvent","AgentSessionDetailResponseSchema","session","traceId","triggerType","triggerRunId","workflowSlug","route","sourcePath","gatewayAttachmentId","gatewayAttachmentKey","spans","refId","startedAt","finishedAt","metadata","logs","spanId","level","data","AgentSessionDetailResponse","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","cron","webhook","poll","retry","triggeredAt","sourceKind","WorkflowRunSummary","WorkflowRunRecordSchema","parentWorkflowRunId","output","WorkflowRunRecord","WorkflowRunListQuerySchema","WorkflowRunListQuery","WorkflowRunListResponseSchema","WorkflowRunListResponse","WorkflowRunDetailIncludeSchema","steps","WorkflowRunDetailQuerySchema","WorkflowRunDetailQuery","parseWorkflowRunDetailInclude","WorkflowRunDetailInclude","TriggerRunDetailSchema","TriggerRunDetail","TraceResponseSchema","TraceResponse","WorkflowRunDetailResponseSchema","run","actionKey","completedAt","WorkflowRunDetailResponse","HistoryRunKindSchema","HistoryRunStatusSchema","HistoryRunActorSchema","avatarUrl","HistoryRunUsageLineItemSchema","amountUsd","HistoryRunUsageSchema","runDurationMs","lineItems","totalExcludingDurationUsd","HistoryRunSchema","resourceKey","resourceId","resourceName","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","TriggerRunWorkflowSummarySchema","TriggerRunWorkflowSummary","TriggerRunSummarySchema","workflowRun","agentSession","TriggerRunSummary","TriggerRunRecordSchema","TriggerRunRecord","TriggerRunListQuerySchema","TriggerRunListQuery","TriggerRunListResponseSchema","TriggerRunListResponse","TriggerRunDetailIncludeSchema","TriggerRunDetailQuerySchema","TriggerRunDetailQuery","parseTriggerRunDetailInclude","TriggerRunDetailInclude","TriggerRunDetailResponseSchema","workflowRuns","agentSessions","TriggerRunDetailResponse","TriggerTypeSchema","TriggerListItemSchema","webhookUrl","targetKind","TriggerListResponseSchema","TriggerListQuerySchema","TriggerDetailResponseSchema","TriggerListItem","TriggerListResponse","TriggerListQuery","TriggerDetailResponse","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","storageKey","UserAvatarPatch","PresignUserAvatarRequestSchema","contentType","PresignUserAvatarRequest","PresignUserAvatarResponseSchema","uploadUrl","PresignUserAvatarResponse","UserInterfaceThemeSchema","system","light","dark","UserInterfaceTheme","UserSurfaceContrastSchema","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","ready","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","hash","ProjectFileSummary","ProjectSourceResourceRefSchema","ProjectSourceResourceRef","ProjectSourceResourcesSchema","ProjectSourceResources","ListProjectFilesResponseSchema","files","resources","ListProjectFilesResponse","ProjectSourceFileSchema","contents","ProjectSourceFile","SourceBlobRefSchema","size","SourceBlobRef","PresignProjectSourceRequestSchema","blobs","PresignProjectSourceRequest","PresignedBlobUploadSchema","PresignedBlobUpload","PresignProjectSourceResponseSchema","uploads","PresignProjectSourceResponse","ManifestFileRefSchema","ManifestFileRef","UploadProjectSourceManifestRequestSchema","UploadProjectSourceManifestRequest","UploadProjectSourceResponseSchema","fileCount","UploadProjectSourceResponse","StoredManifestFileSchema","StoredManifestFile","StoredProjectSourceManifestSchema","generatedAt","StoredProjectSourceManifest","projectFileLanguage","projectFileId","PromptLlmThinkingLevel","PromptLlmRunOptions","prompt","outputSchema","temperature","maxTokens","stepId","CredentialRunContext","CredentialConsumer","CredentialSelectionOption","OAuthTokenAdapter","Promise","getAccessToken","OAuthAccessTokenRefreshParams","clientId","clientSecret","refreshToken","OAuthAccessTokenRefreshResult","Date","accessTokenExpiresAt","OAuthAccessTokenRefresher","params","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":";;;;;;cA0tCcmW,wBAAAA,EAA0BlW,CAAAA,CAAE8B,OAAO;EAC/CqK,OAAAA;EACAC,SAAAA;EACA+J,aAAAA;AAAAA;;;;;;cAOYC,yBAA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AAA,GAAuBD,IAAI;AAAA;AAAA,KAExBE,yBAAAA,IAA6BC,MAAAA,EAAQR,6BAAAA,KAAkCF,OAAAA,CAAQM,6BAAAA;AAAAA,KAC/EK,yBAAAA;EACHC,QAAAA,CAASC,MAAAA,UAAgBC,SAAAA,EAAWL,yBAAAA;EACpCM,GAAAA,CAAIF,MAAAA,WAAiBJ,yBAAyB;AAAA;AAAA"}
1
+ {"version":3,"file":"index-e9f4pcX4.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","toolParameters","ZodType","Record","schema","ROUTE_MANIFEST_REL_PATH","StoredRouteManifestSkillSchema","moduleFile","StoredRouteManifestSkill","StoredRouteManifestSchema","ZodLiteral","ZodDefault","ZodUnknown","ZodDiscriminatedUnion","version","entries","kind","model","systemPrompt","toolCount","credentialKeys","subscribable","requestSchema","endpoint","attachmentIds","attachmentSchemas","filterSchema","attachmentId","schedule","pollId","skills","integrations","StoredRouteManifest","parseStoredRouteManifest","AppCredentialFieldSchema","label","secret","optional","AppCredentialFieldsSchema","AppCredentialField","AppCredentialFields","validateCredentialValueAgainstFields","fields","ok","OAuthScopeOptionSchema","defaultSelected","required","AppAuthKindSchema","oauth","api_key","keystroke","AppSourceSchema","AppCatalogMetadataSchema","category","logo","authKind","oauthScopes","AppSeedEntrySchema","source","AppSlugAvailabilityResponseSchema","AppSlugAvailabilityQuerySchema","CreateCustomAppRequestSchema","CustomAppDetailSchema","credentialFields","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","AppSource","AppCatalogMetadata","AppSeedEntry","AppRecord","AppCatalogEntry","ListAppsResponse","AppSlugAvailabilityResponse","AppSlugAvailabilityQuery","CreateCustomAppRequest","CustomAppDetail","CreateCustomAppResponse","GetCustomAppResponse","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","ChannelPlatformKeySchema","slack","ChannelReactionSupportSchema","ChannelCardSupportSchema","ChannelStreamingSupportSchema","ChannelCapabilitiesSchema","ChannelListenModeSchema","ChannelBindingKindSchema","public","private","group","space","AppGatewaySchema","ChannelPlatformSchema","key","appLogoId","fallbackDomain","placeholder","helpText","type","password","text","textarea","prefix","ChannelBindingSchema","channelId","channelName","channelKind","mode","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","options","resolveUniqueCredentialInstanceLabel","Iterable","baseLabel","takenLabels","disambiguator","AppCredentialScopeSchema","AppCredentialConnectionKindSchema","manual","OAuthPermissionModeSchema","default","restricted","AppCredentialSummarySchema","scope","lastRefreshedAt","projectId","lastUsedAt","isDefault","connectionKind","ownerUserId","ownerName","ownerAvatarUrl","grantedScopes","keyPreviews","expiresAt","AppCredentialScope","AppCredentialConnectionKind","OAuthPermissionMode","AppCredentialSummary","CredentialTargetsFieldsSchema","projects","createOrganizationCredential","createUserProvidedCredential","CredentialTargetsFields","StartOAuthConnectionInputSchema","scopes","permissionMode","StartOAuthConnectionInput","StartOAuthConnectionResultSchema","connected","redirecting","authorizeUrl","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","ExecuteKeystrokeToolRequestSchema","tool","arguments","ExecuteKeystrokeToolRequest","TeamRequestTypeSchema","contact","verification","SubmitTeamRequestRequestSchema","SubmitTeamRequestResponseSchema","TeamRequestType","SubmitTeamRequestRequest","SubmitTeamRequestResponse","MarketingContactCompanySizeSchema","SubmitMarketingContactRequestSchema","fullName","workEmail","companySize","companyWebsite","SubmitMarketingContactResponseSchema","MarketingContactCompanySize","SubmitMarketingContactRequest","SubmitMarketingContactResponse","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","path","ValidationErrorDetail","ErrorResponseCodeSchema","ZodUnion","needs_org_selection","org_unverified","ErrorResponseCode","ErrorResponseSchema","error","code","details","ErrorResponse","validationErrorResponse","summary","parseErrorResponse","body","PromptInputSchema","sessionId","subscriptionId","context","orgId","userId","userIds","selection","thinkingLevel","off","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","attachmentKey","workflowKey","queued","PollAttachmentResult","PollRunMultiResponseSchema","results","PollRunMultiResponse","PollRunResponseSchema","PollRunResponse","parsePollRunRequest","RunSourceKindSchema","agent","trigger","workflow","api","RunSourceKind","RunSourceSchema","RunSource","AgentSessionSummarySchema","running","completed","canceled","sourceId","title","ranByUserName","gatewayPlatform","triggerType","cron","webhook","poll","messageCount","AgentSessionSummary","AgentSessionRecordSchema","agentSlug","parentSpanId","AgentSessionRecord","AgentSessionListQuerySchema","ZodCoercedNumber","limit","cursor","AgentSessionListQuery","AgentSessionListResponseSchema","AgentSessionListResponse","AgentSessionDetailIncludeSchema","events","trace","AgentSessionDetailQuerySchema","include","AgentSessionDetailQuery","parseAgentSessionDetailInclude","AgentSessionDetailInclude","GatewaySessionDetailSchema","threadId","attachmentSlug","GatewaySessionDetail","AgentEventSchema","seq","eventType","payload","AgentEvent","AgentSessionDetailResponseSchema","session","traceId","triggerRunId","workflowSlug","route","sourcePath","gatewayAttachmentId","gatewayAttachmentKey","spans","refId","startedAt","finishedAt","metadata","logs","spanId","level","data","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","output","WorkflowRunRecord","WorkflowRunListQuerySchema","WorkflowRunListQuery","WorkflowRunListResponseSchema","WorkflowRunListResponse","WorkflowRunDetailIncludeSchema","steps","WorkflowRunDetailQuerySchema","WorkflowRunDetailQuery","parseWorkflowRunDetailInclude","WorkflowRunDetailInclude","TriggerRunDetailSchema","TriggerRunDetail","TraceResponseSchema","TraceResponse","WorkflowRunDetailResponseSchema","run","actionKey","completedAt","WorkflowRunDetailResponse","HistoryRunKindSchema","HistoryRunStatusSchema","HistoryRunActorSchema","avatarUrl","HistoryRunUsageLineItemSchema","amountUsd","HistoryRunUsageSchema","runDurationMs","lineItems","totalExcludingDurationUsd","HistoryRunSchema","resourceKey","resourceId","resourceName","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","TriggerRunWorkflowSummarySchema","TriggerRunWorkflowSummary","TriggerRunSummarySchema","workflowRun","agentSession","TriggerRunSummary","TriggerRunRecordSchema","TriggerRunRecord","TriggerRunListQuerySchema","TriggerRunListQuery","TriggerRunListResponseSchema","TriggerRunListResponse","TriggerRunDetailIncludeSchema","TriggerRunDetailQuerySchema","TriggerRunDetailQuery","parseTriggerRunDetailInclude","TriggerRunDetailInclude","TriggerRunDetailResponseSchema","workflowRuns","agentSessions","TriggerRunDetailResponse","TriggerTypeSchema","TriggerListItemSchema","webhookUrl","targetKind","TriggerListResponseSchema","TriggerListQuerySchema","TriggerDetailResponseSchema","TriggerListItem","TriggerListResponse","TriggerListQuery","TriggerDetailResponse","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","storageKey","UserAvatarPatch","PresignUserAvatarRequestSchema","contentType","PresignUserAvatarRequest","PresignUserAvatarResponseSchema","uploadUrl","PresignUserAvatarResponse","UserInterfaceThemeSchema","system","light","dark","UserInterfaceTheme","UserSurfaceContrastSchema","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","ready","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","apps","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","hash","ProjectFileSummary","ProjectSourceResourceRefSchema","ProjectSourceResourceRef","ProjectSourceResourcesSchema","ProjectSourceResources","ListProjectFilesResponseSchema","files","resources","ListProjectFilesResponse","ProjectSourceFileSchema","contents","ProjectSourceFile","SourceBlobRefSchema","size","SourceBlobRef","PresignProjectSourceRequestSchema","blobs","PresignProjectSourceRequest","PresignedBlobUploadSchema","PresignedBlobUpload","PresignProjectSourceResponseSchema","uploads","PresignProjectSourceResponse","ManifestFileRefSchema","ManifestFileRef","UploadProjectSourceManifestRequestSchema","UploadProjectSourceManifestRequest","UploadProjectSourceResponseSchema","fileCount","UploadProjectSourceResponse","StoredManifestFileSchema","StoredManifestFile","StoredProjectSourceManifestSchema","generatedAt","StoredProjectSourceManifest","projectFileLanguage","projectFileId","AgentMemoryFileSummarySchema","AgentMemoryFileSummary","ListAgentMemoryFilesResponseSchema","ListAgentMemoryFilesResponse","agentMemoryFileId","PromptLlmThinkingLevel","PromptLlmRunOptions","outputSchema","temperature","maxTokens","stepId","CredentialRunContext","CredentialConsumer","CredentialSelectionOption","OAuthTokenAdapter","Promise","getAccessToken","OAuthAccessTokenRefreshParams","clientId","clientSecret","refreshToken","OAuthAccessTokenRefreshResult","Date","accessTokenExpiresAt","OAuthAccessTokenRefresher","params","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":";;;;;;cA2tCcoW,wBAAAA,EA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AC,YAAAA;EACAC,YAAAA;AAAAA;AAAAA,KAEGC,6BAAAA;EACHvnB,WAAAA;EACAsnB,YAAAA;EACAG,oBAAAA,GAAuBD,IAAI;AAAA;AAAA,KAExBE,yBAAAA,IAA6BC,MAAAA,EAAQR,6BAAAA,KAAkCF,OAAAA,CAAQM,6BAAAA;AAAAA,KAC/EK,yBAAAA;EACHC,QAAAA,CAASC,MAAAA,UAAgBC,SAAAA,EAAWL,yBAAAA;EACpCM,GAAAA,CAAIF,MAAAA,WAAiBJ,yBAAyB;AAAA;AAAA"}
@@ -1,4 +1,4 @@
1
- import { v as zodToJsonSchema } from "./dist-BgFLp5DL.mjs";
1
+ import { v as zodToJsonSchema } from "./dist-IUl7Bexl.mjs";
2
2
  import { t as getEnvApiKey } from "./env-api-keys-24ayFQZr.mjs";
3
3
  import { n as calculateCost, r as clampThinkingLevel, t as AssistantMessageEventStream } from "./event-stream-C7YBbzsc.mjs";
4
4
  import { n as parseStreamingJson } from "./json-parse-C01lczI5.mjs";
@@ -27560,4 +27560,4 @@ function mapChatStopReason(reason) {
27560
27560
  //#endregion
27561
27561
  export { streamMistral, streamSimpleMistral };
27562
27562
 
27563
- //# sourceMappingURL=mistral-B1ULILEc.mjs.map
27563
+ //# sourceMappingURL=mistral-CMDejXQt.mjs.map