@keystrokehq/keystroke 0.0.159 → 0.0.161
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/action.cjs +1 -1
- package/dist/action.d.cts +3 -3
- package/dist/action.d.mts +3 -3
- package/dist/action.mjs +1 -1
- package/dist/agent-types.d.cts +1 -1
- package/dist/agent-types.d.mts +1 -1
- package/dist/agent.cjs +269 -39
- package/dist/agent.cjs.map +1 -1
- package/dist/agent.d.cts +4 -4
- package/dist/agent.d.mts +4 -4
- package/dist/agent.mjs +268 -40
- package/dist/agent.mjs.map +1 -1
- package/dist/config.d.cts +1 -1
- package/dist/config.d.mts +1 -1
- package/dist/credentials.cjs +1 -1
- package/dist/credentials.d.cts +1 -1
- package/dist/credentials.d.mts +1 -1
- package/dist/credentials.mjs +1 -1
- package/dist/{dist-XKCtZShd.mjs → dist-BIbZjRd7.mjs} +4 -2
- package/dist/dist-BIbZjRd7.mjs.map +1 -0
- package/dist/{dist-DALSxODo.mjs → dist-CQH7Ircq.mjs} +32 -5
- package/dist/dist-CQH7Ircq.mjs.map +1 -0
- package/dist/{dist-lYNbBwe5.mjs → dist-DXzvN8aq.mjs} +210 -6
- package/dist/{dist-lYNbBwe5.mjs.map → dist-DXzvN8aq.mjs.map} +1 -1
- package/dist/{dist-u0RYk4-X.cjs → dist-DiqTL3ZF.cjs} +233 -5
- package/dist/{dist-u0RYk4-X.cjs.map → dist-DiqTL3ZF.cjs.map} +1 -1
- package/dist/{dist-D5jH3nQI.cjs → dist-lWDTuftA.cjs} +9 -1
- package/dist/dist-lWDTuftA.cjs.map +1 -0
- package/dist/{dist-DhBV2U_0.cjs → dist-mblcM3Bv.cjs} +37 -4
- package/dist/dist-mblcM3Bv.cjs.map +1 -0
- package/dist/{index-BcMCpDKh.d.cts → index-0KyTNuR1.d.mts} +5 -5
- package/dist/{index-Bd_asjgz.d.mts.map → index-0KyTNuR1.d.mts.map} +1 -1
- package/dist/{index-CUrU-w2Y.d.cts → index-BAIg1_V_.d.mts} +3 -3
- package/dist/{index-Qnwdoq7U.d.mts.map → index-BAIg1_V_.d.mts.map} +1 -1
- package/dist/{index-B4HxxDhO.d.cts → index-Bjg-QRlL.d.cts} +2 -2
- package/dist/{index-B4HxxDhO.d.cts.map → index-Bjg-QRlL.d.cts.map} +1 -1
- package/dist/{index-BNcrFoZi.d.cts → index-CaW3JRFU.d.cts} +15 -2
- package/dist/{index-BNcrFoZi.d.mts.map → index-CaW3JRFU.d.cts.map} +1 -1
- package/dist/{index-BNcrFoZi.d.mts → index-CaW3JRFU.d.mts} +15 -2
- package/dist/{index-BNcrFoZi.d.cts.map → index-CaW3JRFU.d.mts.map} +1 -1
- package/dist/{index-Bbe9CzYo.d.mts → index-CgMisiAc.d.mts} +7 -4
- package/dist/index-CgMisiAc.d.mts.map +1 -0
- package/dist/{index-Qnwdoq7U.d.mts → index-CsGfxjDx.d.cts} +3 -3
- package/dist/{index-CUrU-w2Y.d.cts.map → index-CsGfxjDx.d.cts.map} +1 -1
- package/dist/{index-CqbBhKYv.d.mts → index-CxjY9wjs.d.mts} +2 -2
- package/dist/{index-CqbBhKYv.d.mts.map → index-CxjY9wjs.d.mts.map} +1 -1
- package/dist/{index-BmXIGJlQ.d.cts → index-D7upoVsK.d.cts} +7 -4
- package/dist/index-D7upoVsK.d.cts.map +1 -0
- package/dist/{index-DuYf0Fdc.d.cts → index-DIm3_7or.d.cts} +41 -7
- package/dist/index-DIm3_7or.d.cts.map +1 -0
- package/dist/{index-jLW9DNA0.d.cts → index-DkQoSfqQ.d.cts} +12 -4
- package/dist/index-DkQoSfqQ.d.cts.map +1 -0
- package/dist/{index-Bd_asjgz.d.mts → index-Dr-3nl0A.d.cts} +5 -5
- package/dist/{index-BcMCpDKh.d.cts.map → index-Dr-3nl0A.d.cts.map} +1 -1
- package/dist/{index-CyCx29m7.d.mts → index-IVnunyAF.d.mts} +41 -7
- package/dist/index-IVnunyAF.d.mts.map +1 -0
- package/dist/{index-BUmyUoC2.d.mts → index-p6yOVMbx.d.mts} +12 -4
- package/dist/index-p6yOVMbx.d.mts.map +1 -0
- package/dist/{mistral-CWlaNuqc.mjs → mistral-CDuUHkpO.mjs} +2 -2
- package/dist/{mistral-CWlaNuqc.mjs.map → mistral-CDuUHkpO.mjs.map} +1 -1
- package/dist/{mistral-DIpD1PUg.cjs → mistral-DuG294d1.cjs} +2 -2
- package/dist/{mistral-DIpD1PUg.cjs.map → mistral-DuG294d1.cjs.map} +1 -1
- package/dist/sandbox.d.cts +1 -1
- package/dist/sandbox.d.mts +1 -1
- package/dist/{sse-DuzdM7Va.mjs → sse-BBd2aLiw.mjs} +2 -2
- package/dist/{sse-DuzdM7Va.mjs.map → sse-BBd2aLiw.mjs.map} +1 -1
- package/dist/{sse-DXvz9wn_.cjs → sse-DCsg_ELF.cjs} +2 -2
- package/dist/{sse-DXvz9wn_.cjs.map → sse-DCsg_ELF.cjs.map} +1 -1
- package/dist/trigger.cjs +1 -1
- package/dist/trigger.d.cts +3 -3
- package/dist/trigger.d.mts +3 -3
- package/dist/trigger.mjs +1 -1
- package/dist/workflow.cjs +2 -1
- package/dist/workflow.d.cts +3 -2
- package/dist/workflow.d.mts +3 -2
- package/dist/workflow.mjs +2 -2
- package/package.json +1 -1
- package/dist/dist-D5jH3nQI.cjs.map +0 -1
- package/dist/dist-DALSxODo.mjs.map +0 -1
- package/dist/dist-DhBV2U_0.cjs.map +0 -1
- package/dist/dist-XKCtZShd.mjs.map +0 -1
- package/dist/index-BUmyUoC2.d.mts.map +0 -1
- package/dist/index-Bbe9CzYo.d.mts.map +0 -1
- package/dist/index-BmXIGJlQ.d.cts.map +0 -1
- package/dist/index-CyCx29m7.d.mts.map +0 -1
- package/dist/index-DuYf0Fdc.d.cts.map +0 -1
- package/dist/index-jLW9DNA0.d.cts.map +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { o as AgentTool, s as AgentToolResult } from "./index-
|
|
1
|
+
import { i as CredentialConsumer, o as CredentialList, y as ResolvedCredentials } from "./index-CaW3JRFU.mjs";
|
|
2
|
+
import { o as AgentTool, s as AgentToolResult } from "./index-0KyTNuR1.mjs";
|
|
3
3
|
import { z } from "zod";
|
|
4
4
|
|
|
5
5
|
//#region ../mcp/dist/index.d.mts
|
|
@@ -90,4 +90,4 @@ type ToolCredentialResolver = {
|
|
|
90
90
|
//#region src/context.d.ts
|
|
91
91
|
//#endregion
|
|
92
92
|
export { McpDefinition as a, McpServerOptions as c, McpTransport as d, connectMcpDefinition as f, isMcp as g, defineMcp as h, McpConnection as i, McpStdioOptions as l, connectMcpStdio as m, McpAuthOptions as n, McpDefinitionInput as o, connectMcpServer as p, McpCallToolOptions as r, McpHttpTransport as s, ToolCredentialResolver as t, McpStdioTransport as u };
|
|
93
|
-
//# sourceMappingURL=index-
|
|
93
|
+
//# sourceMappingURL=index-BAIg1_V_.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index-
|
|
1
|
+
{"version":3,"file":"index-BAIg1_V_.d.mts","names":["Client","AgentTool","AgentToolResult","Tool","MCP","McpCallToolOptions","AbortSignal","signal","McpTransport","McpAuthOptions","Record","headers","env","searchParams","McpHttpTransport","URL","type","url","transport","McpStdioTransport","command","args","cwd","stderr","McpDeclaredTool","name","title","description","inputSchema","McpDefinitionInput","TCredentials","fetch","RequestInit","key","credentials","auth","resolved","declaredTools","clientName","clientVersion","requestInit","McpDefinition","McpServerOptions","McpConnection","Promise","tools","callTool","toolName","options","close","McpStdioOptions","defineMcp","def","isMcp","value","connectMcpServer","connectMcpStdio","connectMcpDefinition","JsonSchemaObject","createToolName","serverName","normalizeInputSchema","schema","mcpToolsToAgentTools","client","CREDENTIAL_SCOPE_LEVELS","CredentialConsumer","CredentialConsumer$1","CredentialInput","CredentialList","CredentialRunContext","CredentialRunContext$1","CredentialScopeType","CredentialScopeType$1","CredentialSelectionOption","CredentialSelectionOption$1","DEFAULT_CREDENTIAL_RESOLUTION_CHAIN","OAuthAccessTokenRefreshParams","OAuthAccessTokenRefreshResult","OAuthAccessTokenRefresher","OAuthTokenAdapter","OAuthTokenAdapter$1","OAuthTokenRefreshRegistry","OAuthTokenRefreshRegistry$1","ResolvedCredentials","MCP","McpConnection","McpDefinition","McpDefinition$1","McpDefinitionInput","AgentTool","z","CredentialToolErrorCapture","tools","takeCredentialError","captureCredentialToolErrors","WorkflowSubscriptionProfile","id","workflowKey","userId","enabled","CredentialRunContextInput","Record","Partial","subscription","orgId","projectId","credentialSelection","request","ToolCredentialResolver","T","Promise","resolve","requirements","consumer","buildCredentialRunContext","input","buildWorkflowRunContext","actor","CredentialBackend","ZodType","resolveApiKey","instanceId","schema","getOAuthAccessToken","connectionId","accessToken","CreateLocalCredentialBackendOptions","_$_keystrokehq_shared0","tokenRefresh","CreatePlatformCredentialBackendOptions","platformUrl","workerToken","CreateCredentialResolverOptions","context","credentialBackend","oauthAdapter","CredentialResolver","createCredentialResolver","options","ResolveCredentialRequirementsOptions","resolveCredentialRequirements","ResolvedMcpTools","connection","resolveMcpTools","TCredentials","def","resolver","McpInput","Omit","defineMcp","credentials","auth","TRequirements","TResolved","NonNullable","ReturnType","resolved","parseResolvedCredentials","ResolveActionCredentialsOptions","resolveCredentials","contextOverride","resolveActionCredentials","MissingCredentialsError","Error","code","key","chainAttempted","constructor","NeedsSelectionError","OAuthNotConfiguredError","message","CredentialAccessDeniedError","isCredentialError","error","credentialScopeMatchesContext","scopeType","scopeId","formatCredentialErrorMessage","stubOAuthTokenAdapter","createOAuthTokenRefreshRegistry","createLocalCredentialBackend","createPlatformCredentialBackend","isWorkerRuntime","createCredentialBackend","setProjectCredentialBackend","backend","getProjectCredentialBackend","createOAuthTokenAdapterFromBackend"],"sources":["../../mcp/dist/index.d.mts","../../credentials/dist/index.d.mts"],"mappings":";;;;;;cAKcI,GAAAA;AAAAA,KACTC,kBAAAA;EACHE,MAAAA,GAASD,WAAW;AAAA;AAAA,KAEjBE,YAAAA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eAAAA;EACjG+C,KAAAA,IAASL,OAAAA;AAAAA;AAAAA,KAENM,eAAAA;EACH9B,OAAAA;EACAC,IAAAA;EACAT,GAAAA,GAAMF,MAAM;EACZY,GAAAA;EACAC,MAAAA;EACAe,UAAAA;EACAC,aAAAA;AAAAA;AAAAA;AAAAA,iBAIeY,SAAAA,gBAAyBzC,MAAAA,gBAAAA,CAAuB0C,GAAAA,EAAKvB,kBAAAA,CAAmBC,YAAAA,IAAgBW,aAAAA,CAAcX,YAAAA;AAAAA;AAAAA,iBAGtGuB,KAAAA,CAAMC,KAAAA,YAAiBA,KAAAA,IAASb,aAAa;AAAA;AAAA,iBAG7Cc,gBAAAA,CAAiB9B,IAAAA,UAAcuB,OAAAA,EAASN,gBAAAA,GAAmBE,OAAAA,CAAQD,aAAAA;AAAAA;AAAAA,iBAGnEa,eAAAA,CAAgB/B,IAAAA,UAAcuB,OAAAA,EAASE,eAAAA,GAAkBN,OAAAA,CAAQD,aAAAA;AAAAA;AAAAA,iBAGjEc,oBAAAA,gBAAoC/C,MAAAA,gBAAAA,CAAuB0C,GAAAA,EAAKX,aAAAA,CAAcX,YAAAA,GAAeK,IAAAA,GAAO1B,cAAAA,GAAiBmC,OAAAA,CAAQD,aAAAA;AAAAA;;;KC1DzIkE,sBAAAA;EACHG,OAAAA,WAAkB3C,cAAAA,EAAgB4C,YAAAA,EAAcH,CAAAA,EAAGI,QAAAA,EAAU/C,kBAAAA,GAAuB4C,OAAAA,CAAQ3B,mBAAAA,CAAoB0B,CAAAA;AAAAA;AAAAA"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { o as AgentTool } from "./index-
|
|
1
|
+
import { o as AgentTool } from "./index-Dr-3nl0A.cjs";
|
|
2
2
|
import { z } from "zod";
|
|
3
3
|
|
|
4
4
|
//#region ../sandbox/dist/index-hF1B54uN.d.mts
|
|
@@ -194,4 +194,4 @@ declare function resolveSandboxRoot(workspacesRoot: string, scope: SandboxScope)
|
|
|
194
194
|
declare function ensureWorkspaceDir(workspaceRoot: string): Promise<void>; //#endregion
|
|
195
195
|
//#endregion
|
|
196
196
|
export { SandboxInstance as A, AssetManifest as C, SandboxDefinitionSchema as D, SandboxDefinitionInput as E, packDirFromDisk as F, resolveAppRootFromModule as I, defineSandbox as M, materializeSandbox as N, SandboxFile as O, packAssetDirs as P, resolveSandboxRoot as S, SandboxDefinition as T, defineTool as _, RuntimeHooks as a, materializeSkills as b, SkillDefinition as c, createCodingTools as d, createInvokeToolBridge as f, defineSkill as g, defaultWorkspacesRoot as h, RuntimeHookContext as i, SandboxScope as j, SandboxFileContent as k, SkillDefinitionInput as l, createSandbox as m, ExecResult as n, RuntimeProvider as o, createJustBashProvider as p, InvokeToolCallback as r, Sandbox as s, ExecOptions as t, WORKSPACE_MOUNT as u, ensureSandboxDirs as v, MaterializeSandboxOptions as w, resolveRunProvider as x, ensureWorkspaceDir as y };
|
|
197
|
-
//# sourceMappingURL=index-
|
|
197
|
+
//# sourceMappingURL=index-Bjg-QRlL.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index-
|
|
1
|
+
{"version":3,"file":"index-Bjg-QRlL.d.cts","names":["z","SandboxFileContentSchema","ZodString","core","$strip","ZodObject","path","file","SandboxFileSchema","ZodOptional","ZodArray","dir","SandboxDefinitionSchema","key","files","SandboxFileContent","infer","SandboxFile","SandboxDefinitionInput","SandboxDefinition","SandboxScope","type","agentId","runId","SandboxInstance","root","scope","definition","defineSandbox","def","flattenSandboxFiles","MaterializeSandboxOptions","workspacesRoot","materializeSandbox","Promise","options","PackedFile","packDirFromDisk","rootPath","AssetManifest","Record","skills","packAssetDirs","appRoot","srcDir","resolveAppRoot","fromPath","resolveAppRootFromModule","moduleUrl","_","a","c","d","f","g","h","i","l","m","n","o","p","r","s","t","u","v","y","_","SandboxFileContent","c","materializeSandbox","d","SandboxInstance","f","SandboxScope","g","SandboxFile","h","SandboxDefinitionSchema","i","packAssetDirs","m","SandboxDefinitionInput","n","resolveAppRootFromModule","o","packDirFromDisk","p","SandboxDefinition","r","AssetManifest","s","MaterializeSandboxOptions","u","defineSandbox","AgentTool","AgentTool$1","ExecResult","stdout","stderr","exitCode","ExecOptions","Record","AbortSignal","cwd","env","stdin","signal","RuntimeHooks","RuntimeHookContext","Promise","beforeExec","script","ctx","afterExec","result","onDispose","agentId","sessionId","workspaceRoot","InvokeToolCallback","path","argsJson","ProviderSandboxOptions","hooks","invokeTool","Sandbox","exec","options","dispose","SandboxHandle","runtime","tools","RuntimeProvider","create","CreateSandboxOptions","workspacesRoot","provider","runtimeProvider","defaultWorkspacesRoot","createSandbox","SkillDefinitionInput","slug","name","description","files","SkillDefinition","defineSkill","input","MaterializeSkillsOptions","skills","scope","materializeSkills","createJustBashProvider","WORKSPACE_MOUNT","CodingToolsOptions","codemode","createCodingTools","defineTool","T","tool","createInvokeToolBridge","resolveRunProvider","ensureSandboxDirs","Iterable","agentIds","resolveSandboxRoot","ensureWorkspaceDir"],"sources":["../../sandbox/dist/index-hF1B54uN.d.mts","../../sandbox/dist/index.d.mts"],"mappings":";;;;;cAGcC,wBAAAA,EAA0BD,CAAAA,CAAEK,SAAAA;EACxCC,IAAAA,EAAMN,CAAAA,CAAEE,SAAAA;EACRK,IAAAA,EAAMP,CAAAA,CAAEE,SAAAA;AAAAA,GACPF,CAAAA,CAAEG,IAAAA,CAAKC,MAAAA;;cAEII,iBAAAA,EAAmBR,CAAAA,CAAEK,SAAAA;EACjCC,IAAAA,EAAMN,CAAAA,CAAEE,SAAAA;EACRK,IAAAA,EAAMP,CAAAA,CAAES,WAAAA,CAAYT,CAAAA,CAAEE,SAAAA;EACtBS,GAAAA,EAAKX,CAAAA,CAAES,WAAAA,CAAYT,CAAAA,CAAEU,QAAAA,CAASV,CAAAA,CAAEK,SAAAA;IAC9BC,IAAAA,EAAMN,CAAAA,CAAEE,SAAAA;IACRK,IAAAA,EAAMP,CAAAA,CAAEE,SAAAA;EAAAA,GACPF,CAAAA,CAAEG,IAA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BAAAA,GAA2BvC,OAAO;AAAA;AAAA,iBAG7D2C,sBAAAA,CAAAA,GAA0BpB,eAAe;AAAA;;cAI5CqB,eAAAA;AAAAA;AAAAA,KAGTC,kBAAAA;EDvFoBlJ,yFCwFkEmJ,QAAQ;AAAA;AAAA,iBAElFC,iBAAAA,CAAkB1B,OAAAA,EAASL,OAAAA,EAASE,OAAAA,GAAU2B,kBAAAA,GAAqB5D,SAAAA;AAAAA;AAAAA,iBAGnE+D,UAAAA,WAAqB/D,SAAAA,CAAAA,CAAWiE,IAAAA,EAAMD,CAAAA,GAAIA,CAAAA;AAAAA;;iBAI1CE,sBAAAA,CAAuB7B,KAAAA,EAAOpC,SAAAA,KAAgBwB,kBAAkB;AAAA;AAAA,iBAGhE0C,kBAAAA,CAAmBlC,OAAAA;EDjGzBxH,kCCkGyBkI,eAAAA,GAAkBL,eAAAA,EDlG3C7H;ECmGTiI,QAAAA,GAAWJ,eAAAA;AAAAA,IACTA,eAAAA;AAAAA;;iBAIa8B,iBAAAA,CAAkB3B,cAAAA,UAAwB6B,QAAAA,EAAUD,QAAAA,WAAmBtD,OAAO;AAAA;AAAA,iBAG9EwD,kBAAAA,CAAmB9B,cAAAA,UAAwBe,KAAAA,EAAO7E,YAAY;AAAA,iBAC9D6F,kBAAAA,CAAmBhD,aAAAA,WAAwBT,OAAO"}
|
|
@@ -119,6 +119,19 @@ declare const WorkflowEventTypeSchema: z.ZodEnum<{
|
|
|
119
119
|
}>;
|
|
120
120
|
type WorkflowEventType = z.infer<typeof WorkflowEventTypeSchema>;
|
|
121
121
|
//#endregion
|
|
122
|
+
//#region src/types/prompt-llm.d.ts
|
|
123
|
+
type PromptLlmThinkingLevel = "off" | "minimal" | "low" | "medium" | "high" | "xhigh";
|
|
124
|
+
/** Options for a one-shot LLM step (`promptLlm` / `runLlm`). */
|
|
125
|
+
type PromptLlmRunOptions = {
|
|
126
|
+
prompt: string;
|
|
127
|
+
model: string;
|
|
128
|
+
outputSchema?: z.ZodType;
|
|
129
|
+
system?: string;
|
|
130
|
+
thinkingLevel?: PromptLlmThinkingLevel;
|
|
131
|
+
temperature?: number;
|
|
132
|
+
maxTokens?: number;
|
|
133
|
+
stepId?: string;
|
|
134
|
+
}; //#endregion
|
|
122
135
|
//#region src/types/credential-runtime.d.ts
|
|
123
136
|
type CredentialRunContext = {
|
|
124
137
|
orgId?: string;
|
|
@@ -153,5 +166,5 @@ type OAuthTokenRefreshRegistry = {
|
|
|
153
166
|
}; //#endregion
|
|
154
167
|
//#region src/types/openapi.d.ts
|
|
155
168
|
//#endregion
|
|
156
|
-
export {
|
|
157
|
-
//# sourceMappingURL=index-
|
|
169
|
+
export { defineCredential as C, toCredentialRequirement as E, credentialInputSchema as S, normalizeCredentialList as T, PromptLlmRunOptions as _, CredentialInput as a, WorkflowEventType as b, CredentialRunContext as c, DefineCredentialInput as d, DefineOAuthCredentialInput as f, OAuthTokenRefreshRegistry as g, OAuthTokenAdapter as h, CredentialConsumer as i, CredentialScopeLevel as l, NormalizeCredential as m, Credential as n, CredentialList as o, DefineStaticCredentialInput as p, CredentialAuthKind as r, CredentialRequirement as s, CREDENTIAL_SCOPE_LEVELS as t, DEFAULT_CREDENTIAL_RESOLUTION_CHAIN as u, PromptLlmThinkingLevel as v, isCredentialInput as w, credential as x, ResolvedCredentials as y };
|
|
170
|
+
//# sourceMappingURL=index-CaW3JRFU.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index-BNcrFoZi.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","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","ROUTE_MANIFEST_HTTP_PATH","StoredRouteManifestSkillSchema","ZodOptional","core","$strip","ZodObject","slug","description","moduleFile","StoredRouteManifestSkill","StoredRouteManifestSchema","ZodLiteral","ZodNumber","ZodUnknown","ZodRecord","ZodBoolean","ZodArray","ZodEnum","ZodDiscriminatedUnion","ZodDefault","version","entries","kind","method","path","agentSlug","model","systemPrompt","toolCount","credentialCount","requestSchema","responseSchema","workflowSlug","workflowName","subscribable","attachmentIds","attachmentSchemas","filterSchema","attachmentId","schedule","pollId","GET","POST","PUT","PATCH","DELETE","plugin","skills","integrations","StoredRouteManifest","parseStoredRouteManifest","OAuthScopeOptionSchema","defaultSelected","required","AppAuthKindSchema","oauth","api_key","AppCatalogEntrySchema","id","category","integrationDescription","authKind","oauthScopes","gateway","capabilities","mentions","reactions","full","none","cards","partial","modals","streaming","drafts","native","buffered","dms","supportedModes","mention","all","dm","resourceNoun","singular","plural","supportsChannelDirectory","webhookPathHint","docsUrl","tagline","ListAppsResponseSchema","apps","OAuthScopeOption","AppAuthKind","AppCatalogEntry","ListAppsResponse","ChannelPlatformKeySchema","slack","ChannelReactionSupportSchema","ChannelCardSupportSchema","ChannelStreamingSupportSchema","ChannelCapabilitiesSchema","ChannelListenModeSchema","ChannelBindingKindSchema","public","private","group","space","AppGatewaySchema","ChannelPlatformSchema","key","appLogoId","fallbackDomain","credentialFields","label","placeholder","helpText","type","password","text","textarea","prefix","ChannelBindingSchema","channelId","channelName","channelKind","mode","subscribeOnMention","createdAt","updatedAt","ChannelConnectionSchema","platform","agentId","accountLabel","accountId","connectedAt","bindings","ChannelDirectoryEntrySchema","memberCount","isArchived","ChannelConnectionListResponseSchema","connections","ChannelDirectoryListResponseSchema","channels","ChannelAccountMetadataSchema","teamName","ChannelAccountSchema","ChannelAccountListResponseSchema","accounts","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","organization","user","project","CredentialScopeLevelSchema","selection","CredentialAuthKind","CredentialScopeType","CredentialScopeLevel","CREDENTIAL_AUTH_KINDS","CREDENTIAL_SCOPE_TYPES","CREDENTIAL_SCOPE_LEVELS","DEFAULT_CREDENTIAL_RESOLUTION_CHAIN","ResolvableCredentialScopeLevel","Exclude","StoredCredentialScopeType","CREDENTIAL_SCOPE_LEVEL_TO_SCOPE_TYPE","AppCredentialScopeSchema","AppCredentialConnectionKindSchema","manual","OAuthPermissionModeSchema","default","restricted","AppCredentialSummarySchema","ZodNullable","appId","scope","lastRefreshedAt","appName","projectId","projectName","status","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","CreateCredentialsRequestSchema","CreateCredentialsRequest","UpdateCredentialRequestSchema","UpdateCredentialRequest","ListCredentialsResponseSchema","credentials","GetCredentialResponseSchema","credential","CreateCredentialsResponseSchema","ListCredentialsResponse","GetCredentialResponse","CreateCredentialsResponse","TeamRequestTypeSchema","contact","SubmitTeamRequestRequestSchema","message","SubmitTeamRequestResponseSchema","ok","TeamRequestType","SubmitTeamRequestRequest","SubmitTeamRequestResponse","CredentialRequirement","chain","tokenField","Credential","K","S","CredentialInput","CredentialList","isCredentialInput","credentialInputSchema","ZodCustom","NormalizeCredential","T","ResolvedCredentials","R","staticCredential","ZodTypeAny","oauthCredential","options","accessToken","F","static","DefineStaticCredentialInput","fields","DefineOAuthCredentialInput","DefineCredentialInput","defineCredential","ReturnType","normalizeCredentialList","list","toCredentialRequirement","item","ValidationErrorDetailSchema","ValidationErrorDetail","ErrorResponseCodeSchema","ZodUnion","slug_taken","slug_reserved","slug_invalid","needs_org_selection","ErrorResponseCode","ErrorResponseSchema","error","code","details","ErrorResponse","validationErrorResponse","summary","parseErrorResponse","body","PromptInputSchema","sessionId","subscriptionId","context","orgId","userId","userIds","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","failed","canceled","source","sourceId","messageCount","AgentSessionSummary","AgentSessionRecordSchema","parentSpanId","AgentSessionRecord","AgentSessionListQuerySchema","ZodCoercedNumber","limit","cursor","AgentSessionListQuery","AgentSessionListResponseSchema","items","nextCursor","AgentSessionListResponse","AgentSessionDetailIncludeSchema","events","trace","AgentSessionDetailQuerySchema","include","AgentSessionDetailQuery","parseAgentSessionDetailInclude","AgentSessionDetailInclude","GatewaySessionDetailSchema","threadId","attachmentSlug","GatewaySessionDetail","AgentEventSchema","seq","eventType","payload","AgentEvent","AgentSessionDetailResponseSchema","session","traceId","triggerType","triggerRunId","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","scopeType","scopeId","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","endpoint","TriggerDetailResponseSchema","TriggerListItem","TriggerListResponse","TriggerListQuery","TriggerDetailResponse","OrganizationMemberRoleSchema","admin","owner","builder","OrganizationMemberRole","OrganizationMemberStatusSchema","invited","active","rejected","suspended","OrganizationMemberStatus","InvitableOrganizationMemberRoleSchema","InvitableOrganizationMemberRole","OrganizationMemberSchema","email","role","joinedAt","lastActiveAt","OrganizationMember","ListOrganizationMembersResponseSchema","members","ListOrganizationMembersResponse","InviteOrganizationMembersRequestSchema","emails","InviteOrganizationMembersRequest","InviteOrganizationMemberResultStatusSchema","sent","already_member","invalid","InviteOrganizationMemberResultStatus","InviteOrganizationMembersResponseSchema","invitationId","InviteOrganizationMembersResponse","UpdateOrganizationMemberRequestSchema","UpdateOrganizationMemberRequest","UpdateOrganizationMemberResponseSchema","member","UpdateOrganizationMemberResponse","OrganizationInvitationSchema","organizationName","organizationSlug","invitedByName","invitedByEmail","OrganizationInvitation","ListOrganizationInvitationsResponseSchema","invitations","ListOrganizationInvitationsResponse","AcceptOrganizationInvitationResponseSchema","AcceptOrganizationInvitationResponse","DeclineOrganizationInvitationResponseSchema","success","DeclineOrganizationInvitationResponse","organizationInvitationAcceptPath","ApiKeyCreatorSchema","deleted","ApiKeyCreator","ApiKeySummarySchema","keyPreview","createdBy","isCreatedByCurrentUser","ApiKeySummary","ListApiKeysResponseSchema","apiKeys","ListApiKeysResponse","CreateApiKeyRequestSchema","CreateApiKeyRequest","CreateApiKeyResponseSchema","secret","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","settings","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","ORGANIZATION_SLUG_TAKEN_MESSAGE","PROJECT_SLUG_TAKEN_MESSAGE","OrganizationSlugErrorCodeSchema","OrganizationSlugErrorCode","SlugAvailabilityReasonSchema","taken","reserved","SlugAvailabilityReason","SlugAvailabilityResponseSchema","available","reason","suggestion","SlugAvailabilityResponse","SlugAvailabilityQuerySchema","excludeOrganizationId","SlugAvailabilityQuery","ProjectSlugAvailabilityReasonSchema","ProjectSlugAvailabilityReason","ProjectSlugAvailabilityResponseSchema","ProjectSlugAvailabilityResponse","ProjectSlugAvailabilityQuerySchema","excludeProjectId","ProjectSlugAvailabilityQuery","validateProjectSlug","valid","validateClaimableOrganizationSlug","organizationSlugErrorCodeFromMessage","ProjectStatusSchema","inactive","starting","ProjectStatus","OrganizationUserRoleSchema","OrganizationUserRole","OrganizationSchema","Organization","ProjectSchema","organizationId","baseUrl","runtimeId","lastError","Project","UserOrganizationSchema","UserOrganization","CurrentOrganizationResponseSchema","CurrentOrganizationResponse","ActiveOrganizationResponseSchema","ActiveOrganizationResponse","ListOrganizationsResponseSchema","organizations","ListOrganizationsResponse","CreateOrganizationRequestSchema","UpdateOrganizationRequestSchema","UpdateOrganizationRequest","CreateOrganizationRequest","CreateOrganizationResponseSchema","CreateOrganizationResponse","ListProjectsResponseSchema","ListProjectsResponse","ProjectListMetricsSchema","agentCount","workflowCount","skillCount","lastDeploymentAt","ProjectListMetrics","ListProjectMetricsResponseSchema","metrics","ListProjectMetricsResponse","CreateProjectRequestSchema","CreateProjectRequest","UpdateProjectRequestSchema","UpdateProjectRequest","CreateProjectResponseSchema","CreateProjectResponse","ProjectResponseSchema","ProjectResponse","ProjectReachabilityResponseSchema","reachable","ProjectReachabilityResponse","parseCreateOrganizationRequest","ProjectArtifactStatusSchema","ready","ProjectArtifactStatus","ProjectArtifactSchema","ProjectArtifact","CreateProjectArtifactResponseSchema","artifact","expiresInSeconds","CreateProjectArtifactResponse","CompleteProjectArtifactResponseSchema","CompleteProjectArtifactResponse","ProjectDeploymentSchema","deployedBy","deployedByEmail","deployedByAvatarUrl","ProjectDeployment","ListProjectDeploymentsResponseSchema","deployments","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","artifactId","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","CredentialRunContext","CredentialConsumer","CredentialSelectionOption","OAuthTokenAdapter","Promise","getAccessToken","connectionId","OAuthAccessTokenRefreshParams","clientId","clientSecret","refreshToken","OAuthAccessTokenRefreshResult","Date","accessTokenExpiresAt","OAuthAccessTokenRefresher","params","OAuthTokenRefreshRegistry","register","appKey","refresher","get","DiscoveredModule","file","KeystrokeSchedule","OrganizationRow","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":";;;;;;cAstBcoN,wBAAAA,EAA0BnN,CAAAA,CAAE0D,OAAO;EAC/CuC,OAAAA;EACAmH,aAAAA;AAAAA;;;;;;cAYYK,0BAAAA,EAA4BzN,CAAAA,CAAE0D,OAAO;EACjD4J,YAAAA;EACAC,IAAAA;EACAC,OAAAA;EACAE,SAAAA;AAAAA;AAAAA,KAEGC,kBAAAA,GAAqB3N,CAAAA,CAAEgB,KAAK,QAAQmM,wBAAAA;AAAAA,KAEpCU,oBAAAA,GAAuB7N,CAAAA,CAAEgB,KAAK,QAAQyM,0BAAAA;AAAAA,cAG7BO,uBAAAA;;cAEAC,mCAAAA;;;;KA0OTqE,qBAAAA;EAAAA,SACMjJ,GAAAA;EAAAA,SACAtF,IAAAA,EAAM4J,kBAAAA;EAAAA,SACNpL,MAAAA,EAAQvC,CAAAA,CAAEqC,OAAAA;EAAAA,SACVkQ,KAAAA,WAAgB1E,oBAAAA;EAAAA,SAChB2E,UAAAA;AAAAA;AAAAA,KAENC,UAAAA,sCAAgDzS,CAAAA,CAAEqC,OAAAA,GAAUrC,CAAAA,CAAEqC,OAAAA;EAAAA,SACxD0B,IAAAA,EAAM4J,kBAAAA;EAAAA,SACNtE,GAAAA,EAAKqJ,CAAAA;EAAAA,SACLnQ,MAAAA,EAAQoQ,CAAAA;EAAAA,SACRH,UAAAA;EACTzD,KAAAA,IAASwD,KAAAA,EAAO1E,oBAAAA,KAAyByE,qBAAAA;IACvCjJ,GAAAA,EAAKqJ,CAAAA;IAC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A,EAAWL,yBAAAA;EACpCM,GAAAA,CAAIF,MAAAA,WAAiBJ,yBAAyB;AAAA;AAAA"}
|
|
1
|
+
{"version":3,"file":"index-CaW3JRFU.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","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","ROUTE_MANIFEST_HTTP_PATH","StoredRouteManifestSkillSchema","ZodOptional","core","$strip","ZodObject","slug","description","moduleFile","StoredRouteManifestSkill","StoredRouteManifestSchema","ZodLiteral","ZodNumber","ZodUnknown","ZodRecord","ZodBoolean","ZodArray","ZodEnum","ZodDiscriminatedUnion","ZodDefault","version","entries","kind","method","path","agentSlug","model","systemPrompt","toolCount","credentialCount","requestSchema","responseSchema","workflowSlug","workflowName","subscribable","attachmentIds","attachmentSchemas","filterSchema","attachmentId","schedule","pollId","GET","POST","PUT","PATCH","DELETE","plugin","skills","integrations","StoredRouteManifest","parseStoredRouteManifest","OAuthScopeOptionSchema","defaultSelected","required","AppAuthKindSchema","oauth","api_key","AppCatalogEntrySchema","id","category","integrationDescription","authKind","oauthScopes","gateway","capabilities","mentions","reactions","full","none","cards","partial","modals","streaming","drafts","native","buffered","dms","supportedModes","mention","all","dm","resourceNoun","singular","plural","supportsChannelDirectory","webhookPathHint","docsUrl","tagline","ListAppsResponseSchema","apps","OAuthScopeOption","AppAuthKind","AppCatalogEntry","ListAppsResponse","ChannelPlatformKeySchema","slack","ChannelReactionSupportSchema","ChannelCardSupportSchema","ChannelStreamingSupportSchema","ChannelCapabilitiesSchema","ChannelListenModeSchema","ChannelBindingKindSchema","public","private","group","space","AppGatewaySchema","ChannelPlatformSchema","key","appLogoId","fallbackDomain","credentialFields","label","placeholder","helpText","type","password","text","textarea","prefix","ChannelBindingSchema","channelId","channelName","channelKind","mode","subscribeOnMention","createdAt","updatedAt","ChannelConnectionSchema","platform","agentId","accountLabel","accountId","connectedAt","bindings","ChannelDirectoryEntrySchema","memberCount","isArchived","ChannelConnectionListResponseSchema","connections","ChannelDirectoryListResponseSchema","channels","ChannelAccountMetadataSchema","teamName","ChannelAccountSchema","ChannelAccountListResponseSchema","accounts","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","organization","user","project","CredentialScopeLevelSchema","selection","CredentialAuthKind","CredentialScopeType","CredentialScopeLevel","CREDENTIAL_AUTH_KINDS","CREDENTIAL_SCOPE_TYPES","CREDENTIAL_SCOPE_LEVELS","DEFAULT_CREDENTIAL_RESOLUTION_CHAIN","ResolvableCredentialScopeLevel","Exclude","StoredCredentialScopeType","CREDENTIAL_SCOPE_LEVEL_TO_SCOPE_TYPE","AppCredentialScopeSchema","AppCredentialConnectionKindSchema","manual","OAuthPermissionModeSchema","default","restricted","AppCredentialSummarySchema","ZodNullable","appId","scope","lastRefreshedAt","appName","projectId","projectName","status","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","CreateCredentialsRequestSchema","CreateCredentialsRequest","UpdateCredentialRequestSchema","UpdateCredentialRequest","ListCredentialsResponseSchema","credentials","GetCredentialResponseSchema","credential","CreateCredentialsResponseSchema","ListCredentialsResponse","GetCredentialResponse","CreateCredentialsResponse","TeamRequestTypeSchema","contact","SubmitTeamRequestRequestSchema","message","SubmitTeamRequestResponseSchema","ok","TeamRequestType","SubmitTeamRequestRequest","SubmitTeamRequestResponse","CredentialRequirement","chain","tokenField","Credential","K","S","CredentialInput","CredentialList","isCredentialInput","credentialInputSchema","ZodCustom","NormalizeCredential","T","ResolvedCredentials","R","staticCredential","ZodTypeAny","oauthCredential","options","accessToken","F","static","DefineStaticCredentialInput","fields","DefineOAuthCredentialInput","DefineCredentialInput","defineCredential","ReturnType","normalizeCredentialList","list","toCredentialRequirement","item","ValidationErrorDetailSchema","ValidationErrorDetail","ErrorResponseCodeSchema","ZodUnion","slug_taken","slug_reserved","slug_invalid","needs_org_selection","ErrorResponseCode","ErrorResponseSchema","error","code","details","ErrorResponse","validationErrorResponse","summary","parseErrorResponse","body","PromptInputSchema","sessionId","subscriptionId","context","orgId","userId","userIds","thinkingLevel","off","minimal","low","medium","high","xhigh","PromptInput","PromptResponseSchema","runId","messages","PromptResponse","SkipResponseSchema","skipped","HealthResponseSchema","HealthResponse","PlatformInfoResponseSchema","service","PlatformInfoResponse","ConnectProviderSchema","requiresAuth","ConnectProvider","ConnectProvidersResponseSchema","providers","ConnectProvidersResponse","ConnectAuthorizeUrlResponseSchema","ConnectAuthorizeUrlResponse","QueuedRunResponseSchema","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","failed","canceled","source","sourceId","messageCount","AgentSessionSummary","AgentSessionRecordSchema","parentSpanId","AgentSessionRecord","AgentSessionListQuerySchema","ZodCoercedNumber","limit","cursor","AgentSessionListQuery","AgentSessionListResponseSchema","items","nextCursor","AgentSessionListResponse","AgentSessionDetailIncludeSchema","events","trace","AgentSessionDetailQuerySchema","include","AgentSessionDetailQuery","parseAgentSessionDetailInclude","AgentSessionDetailInclude","GatewaySessionDetailSchema","threadId","attachmentSlug","GatewaySessionDetail","AgentEventSchema","seq","eventType","payload","AgentEvent","AgentSessionDetailResponseSchema","session","traceId","triggerType","triggerRunId","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","scopeType","scopeId","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","endpoint","TriggerDetailResponseSchema","TriggerListItem","TriggerListResponse","TriggerListQuery","TriggerDetailResponse","OrganizationMemberRoleSchema","admin","owner","builder","OrganizationMemberRole","OrganizationMemberStatusSchema","invited","active","rejected","suspended","OrganizationMemberStatus","InvitableOrganizationMemberRoleSchema","InvitableOrganizationMemberRole","OrganizationMemberSchema","email","role","joinedAt","lastActiveAt","OrganizationMember","ListOrganizationMembersResponseSchema","members","ListOrganizationMembersResponse","InviteOrganizationMembersRequestSchema","emails","InviteOrganizationMembersRequest","InviteOrganizationMemberResultStatusSchema","sent","already_member","invalid","InviteOrganizationMemberResultStatus","InviteOrganizationMembersResponseSchema","invitationId","InviteOrganizationMembersResponse","UpdateOrganizationMemberRequestSchema","UpdateOrganizationMemberRequest","UpdateOrganizationMemberResponseSchema","member","UpdateOrganizationMemberResponse","OrganizationInvitationSchema","organizationName","organizationSlug","invitedByName","invitedByEmail","OrganizationInvitation","ListOrganizationInvitationsResponseSchema","invitations","ListOrganizationInvitationsResponse","AcceptOrganizationInvitationResponseSchema","AcceptOrganizationInvitationResponse","DeclineOrganizationInvitationResponseSchema","success","DeclineOrganizationInvitationResponse","organizationInvitationAcceptPath","ApiKeyCreatorSchema","deleted","ApiKeyCreator","ApiKeySummarySchema","keyPreview","createdBy","isCreatedByCurrentUser","ApiKeySummary","ListApiKeysResponseSchema","apiKeys","ListApiKeysResponse","CreateApiKeyRequestSchema","CreateApiKeyRequest","CreateApiKeyResponseSchema","secret","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","settings","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","ORGANIZATION_SLUG_TAKEN_MESSAGE","PROJECT_SLUG_TAKEN_MESSAGE","OrganizationSlugErrorCodeSchema","OrganizationSlugErrorCode","SlugAvailabilityReasonSchema","taken","reserved","SlugAvailabilityReason","SlugAvailabilityResponseSchema","available","reason","suggestion","SlugAvailabilityResponse","SlugAvailabilityQuerySchema","excludeOrganizationId","SlugAvailabilityQuery","ProjectSlugAvailabilityReasonSchema","ProjectSlugAvailabilityReason","ProjectSlugAvailabilityResponseSchema","ProjectSlugAvailabilityResponse","ProjectSlugAvailabilityQuerySchema","excludeProjectId","ProjectSlugAvailabilityQuery","validateProjectSlug","valid","validateClaimableOrganizationSlug","organizationSlugErrorCodeFromMessage","ProjectStatusSchema","inactive","starting","ProjectStatus","OrganizationUserRoleSchema","OrganizationUserRole","OrganizationSchema","Organization","ProjectSchema","organizationId","baseUrl","runtimeId","lastError","Project","UserOrganizationSchema","UserOrganization","CurrentOrganizationResponseSchema","CurrentOrganizationResponse","ActiveOrganizationResponseSchema","ActiveOrganizationResponse","ListOrganizationsResponseSchema","organizations","ListOrganizationsResponse","CreateOrganizationRequestSchema","UpdateOrganizationRequestSchema","UpdateOrganizationRequest","CreateOrganizationRequest","CreateOrganizationResponseSchema","CreateOrganizationResponse","ListProjectsResponseSchema","ListProjectsResponse","ProjectListMetricsSchema","agentCount","workflowCount","skillCount","lastDeploymentAt","ProjectListMetrics","ListProjectMetricsResponseSchema","metrics","ListProjectMetricsResponse","CreateProjectRequestSchema","CreateProjectRequest","UpdateProjectRequestSchema","UpdateProjectRequest","CreateProjectResponseSchema","CreateProjectResponse","ProjectResponseSchema","ProjectResponse","ProjectReachabilityResponseSchema","reachable","ProjectReachabilityResponse","parseCreateOrganizationRequest","ProjectArtifactStatusSchema","ready","ProjectArtifactStatus","ProjectArtifactSchema","ProjectArtifact","CreateProjectArtifactResponseSchema","artifact","expiresInSeconds","CreateProjectArtifactResponse","CompleteProjectArtifactResponseSchema","CompleteProjectArtifactResponse","ProjectDeploymentSchema","deployedBy","deployedByEmail","deployedByAvatarUrl","ProjectDeployment","ListProjectDeploymentsResponseSchema","deployments","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","artifactId","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","connectionId","OAuthAccessTokenRefreshParams","clientId","clientSecret","refreshToken","OAuthAccessTokenRefreshResult","Date","accessTokenExpiresAt","OAuthAccessTokenRefresher","params","OAuthTokenRefreshRegistry","register","appKey","refresher","get","DiscoveredModule","file","KeystrokeSchedule","OrganizationRow","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":";;;;;;cAstBcoN,wBAAAA,EAA0BnN,CAAAA,CAAE0D,OAAO;EAC/CuC,OAAAA;EACAmH,aAAAA;AAAAA;;;;;;cAYYK,0BAAAA,EAA4BzN,CAAAA,CAAE0D,OAAO;EACjD4J,YAAAA;EACAC,IAAAA;EACAC,OAAAA;EACAE,SAAAA;AAAAA;AAAAA,KAEGC,kBAAAA,GAAqB3N,CAAAA,CAAEgB,KAAK,QAAQmM,wBAAAA;AAAAA,KAEpCU,oBAAAA,GAAuB7N,CAAAA,CAAEgB,KAAK,QAAQyM,0BAAAA;AAAAA,cAG7BO,uBAAAA;;cAEAC,mCAAAA;;;;KA0OTqE,qBAAAA;EAAAA,SACMjJ,GAA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OAAAA;EACjBksB,MAAAA;EACAxY,aAAAA,GAAgBgoB,sBAAsB;EACtCI,WAAAA;EACAC,SAAAA;EACAC,MAAAA;AAAAA;AAAAA;AAAAA,KAIGC,oBAAAA;EACH1oB,KAAAA;EACA1G,SAAAA;EACA2G,MAAAA;EACAC,OAAAA,GAAUxT,MAAAA;EACVoL,SAAAA,GAAYpL,MAAM;AAAA;AAAA,KAEfi8B,kBAAAA;EACHx6B,IAAAA;EACA5C,IAAI;AAAA;AAAA,KAQDs9B,iBAAAA;EACHE,cAAAA,CAAeC,YAAAA,WAAuBF,OAAO;IAC3CjrB,WAAAA;EAAAA;AAAAA;AAAAA,KAGCorB,6BAAAA;EACHC,QAAAA;EACAC,YAAAA;EACAC,YAAAA;AAAAA;AAAAA,KAEGC,6BAAAA;EACHxrB,WAAAA;EACAurB,YAAAA;EACAG,oBAAAA,GAAuBD,IAAI;AAAA;AAAA,KAExBE,yBAAAA,IAA6BC,MAAAA,EAAQR,6BAAAA,KAAkCH,OAAAA,CAAQO,6BAAAA;AAAAA,KAC/EK,yBAAAA;EACHC,QAAAA,CAASC,MAAAA,UAAgBC,SAAAA,EAAWL,yBAAAA;EACpCM,GAAAA,CAAIF,MAAAA,WAAiBJ,yBAAyB;AAAA;AAAA"}
|
|
@@ -119,6 +119,19 @@ declare const WorkflowEventTypeSchema: z.ZodEnum<{
|
|
|
119
119
|
}>;
|
|
120
120
|
type WorkflowEventType = z.infer<typeof WorkflowEventTypeSchema>;
|
|
121
121
|
//#endregion
|
|
122
|
+
//#region src/types/prompt-llm.d.ts
|
|
123
|
+
type PromptLlmThinkingLevel = "off" | "minimal" | "low" | "medium" | "high" | "xhigh";
|
|
124
|
+
/** Options for a one-shot LLM step (`promptLlm` / `runLlm`). */
|
|
125
|
+
type PromptLlmRunOptions = {
|
|
126
|
+
prompt: string;
|
|
127
|
+
model: string;
|
|
128
|
+
outputSchema?: z.ZodType;
|
|
129
|
+
system?: string;
|
|
130
|
+
thinkingLevel?: PromptLlmThinkingLevel;
|
|
131
|
+
temperature?: number;
|
|
132
|
+
maxTokens?: number;
|
|
133
|
+
stepId?: string;
|
|
134
|
+
}; //#endregion
|
|
122
135
|
//#region src/types/credential-runtime.d.ts
|
|
123
136
|
type CredentialRunContext = {
|
|
124
137
|
orgId?: string;
|
|
@@ -153,5 +166,5 @@ type OAuthTokenRefreshRegistry = {
|
|
|
153
166
|
}; //#endregion
|
|
154
167
|
//#region src/types/openapi.d.ts
|
|
155
168
|
//#endregion
|
|
156
|
-
export {
|
|
157
|
-
//# sourceMappingURL=index-
|
|
169
|
+
export { defineCredential as C, toCredentialRequirement as E, credentialInputSchema as S, normalizeCredentialList as T, PromptLlmRunOptions as _, CredentialInput as a, WorkflowEventType as b, CredentialRunContext as c, DefineCredentialInput as d, DefineOAuthCredentialInput as f, OAuthTokenRefreshRegistry as g, OAuthTokenAdapter as h, CredentialConsumer as i, CredentialScopeLevel as l, NormalizeCredential as m, Credential as n, CredentialList as o, DefineStaticCredentialInput as p, CredentialAuthKind as r, CredentialRequirement as s, CREDENTIAL_SCOPE_LEVELS as t, DEFAULT_CREDENTIAL_RESOLUTION_CHAIN as u, PromptLlmThinkingLevel as v, isCredentialInput as w, credential as x, ResolvedCredentials as y };
|
|
170
|
+
//# sourceMappingURL=index-CaW3JRFU.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index-BNcrFoZi.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","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","ROUTE_MANIFEST_HTTP_PATH","StoredRouteManifestSkillSchema","ZodOptional","core","$strip","ZodObject","slug","description","moduleFile","StoredRouteManifestSkill","StoredRouteManifestSchema","ZodLiteral","ZodNumber","ZodUnknown","ZodRecord","ZodBoolean","ZodArray","ZodEnum","ZodDiscriminatedUnion","ZodDefault","version","entries","kind","method","path","agentSlug","model","systemPrompt","toolCount","credentialCount","requestSchema","responseSchema","workflowSlug","workflowName","subscribable","attachmentIds","attachmentSchemas","filterSchema","attachmentId","schedule","pollId","GET","POST","PUT","PATCH","DELETE","plugin","skills","integrations","StoredRouteManifest","parseStoredRouteManifest","OAuthScopeOptionSchema","defaultSelected","required","AppAuthKindSchema","oauth","api_key","AppCatalogEntrySchema","id","category","integrationDescription","authKind","oauthScopes","gateway","capabilities","mentions","reactions","full","none","cards","partial","modals","streaming","drafts","native","buffered","dms","supportedModes","mention","all","dm","resourceNoun","singular","plural","supportsChannelDirectory","webhookPathHint","docsUrl","tagline","ListAppsResponseSchema","apps","OAuthScopeOption","AppAuthKind","AppCatalogEntry","ListAppsResponse","ChannelPlatformKeySchema","slack","ChannelReactionSupportSchema","ChannelCardSupportSchema","ChannelStreamingSupportSchema","ChannelCapabilitiesSchema","ChannelListenModeSchema","ChannelBindingKindSchema","public","private","group","space","AppGatewaySchema","ChannelPlatformSchema","key","appLogoId","fallbackDomain","credentialFields","label","placeholder","helpText","type","password","text","textarea","prefix","ChannelBindingSchema","channelId","channelName","channelKind","mode","subscribeOnMention","createdAt","updatedAt","ChannelConnectionSchema","platform","agentId","accountLabel","accountId","connectedAt","bindings","ChannelDirectoryEntrySchema","memberCount","isArchived","ChannelConnectionListResponseSchema","connections","ChannelDirectoryListResponseSchema","channels","ChannelAccountMetadataSchema","teamName","ChannelAccountSchema","ChannelAccountListResponseSchema","accounts","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","organization","user","project","CredentialScopeLevelSchema","selection","CredentialAuthKind","CredentialScopeType","CredentialScopeLevel","CREDENTIAL_AUTH_KINDS","CREDENTIAL_SCOPE_TYPES","CREDENTIAL_SCOPE_LEVELS","DEFAULT_CREDENTIAL_RESOLUTION_CHAIN","ResolvableCredentialScopeLevel","Exclude","StoredCredentialScopeType","CREDENTIAL_SCOPE_LEVEL_TO_SCOPE_TYPE","AppCredentialScopeSchema","AppCredentialConnectionKindSchema","manual","OAuthPermissionModeSchema","default","restricted","AppCredentialSummarySchema","ZodNullable","appId","scope","lastRefreshedAt","appName","projectId","projectName","status","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","CreateCredentialsRequestSchema","CreateCredentialsRequest","UpdateCredentialRequestSchema","UpdateCredentialRequest","ListCredentialsResponseSchema","credentials","GetCredentialResponseSchema","credential","CreateCredentialsResponseSchema","ListCredentialsResponse","GetCredentialResponse","CreateCredentialsResponse","TeamRequestTypeSchema","contact","SubmitTeamRequestRequestSchema","message","SubmitTeamRequestResponseSchema","ok","TeamRequestType","SubmitTeamRequestRequest","SubmitTeamRequestResponse","CredentialRequirement","chain","tokenField","Credential","K","S","CredentialInput","CredentialList","isCredentialInput","credentialInputSchema","ZodCustom","NormalizeCredential","T","ResolvedCredentials","R","staticCredential","ZodTypeAny","oauthCredential","options","accessToken","F","static","DefineStaticCredentialInput","fields","DefineOAuthCredentialInput","DefineCredentialInput","defineCredential","ReturnType","normalizeCredentialList","list","toCredentialRequirement","item","ValidationErrorDetailSchema","ValidationErrorDetail","ErrorResponseCodeSchema","ZodUnion","slug_taken","slug_reserved","slug_invalid","needs_org_selection","ErrorResponseCode","ErrorResponseSchema","error","code","details","ErrorResponse","validationErrorResponse","summary","parseErrorResponse","body","PromptInputSchema","sessionId","subscriptionId","context","orgId","userId","userIds","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","failed","canceled","source","sourceId","messageCount","AgentSessionSummary","AgentSessionRecordSchema","parentSpanId","AgentSessionRecord","AgentSessionListQuerySchema","ZodCoercedNumber","limit","cursor","AgentSessionListQuery","AgentSessionListResponseSchema","items","nextCursor","AgentSessionListResponse","AgentSessionDetailIncludeSchema","events","trace","AgentSessionDetailQuerySchema","include","AgentSessionDetailQuery","parseAgentSessionDetailInclude","AgentSessionDetailInclude","GatewaySessionDetailSchema","threadId","attachmentSlug","GatewaySessionDetail","AgentEventSchema","seq","eventType","payload","AgentEvent","AgentSessionDetailResponseSchema","session","traceId","triggerType","triggerRunId","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","scopeType","scopeId","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","endpoint","TriggerDetailResponseSchema","TriggerListItem","TriggerListResponse","TriggerListQuery","TriggerDetailResponse","OrganizationMemberRoleSchema","admin","owner","builder","OrganizationMemberRole","OrganizationMemberStatusSchema","invited","active","rejected","suspended","OrganizationMemberStatus","InvitableOrganizationMemberRoleSchema","InvitableOrganizationMemberRole","OrganizationMemberSchema","email","role","joinedAt","lastActiveAt","OrganizationMember","ListOrganizationMembersResponseSchema","members","ListOrganizationMembersResponse","InviteOrganizationMembersRequestSchema","emails","InviteOrganizationMembersRequest","InviteOrganizationMemberResultStatusSchema","sent","already_member","invalid","InviteOrganizationMemberResultStatus","InviteOrganizationMembersResponseSchema","invitationId","InviteOrganizationMembersResponse","UpdateOrganizationMemberRequestSchema","UpdateOrganizationMemberRequest","UpdateOrganizationMemberResponseSchema","member","UpdateOrganizationMemberResponse","OrganizationInvitationSchema","organizationName","organizationSlug","invitedByName","invitedByEmail","OrganizationInvitation","ListOrganizationInvitationsResponseSchema","invitations","ListOrganizationInvitationsResponse","AcceptOrganizationInvitationResponseSchema","AcceptOrganizationInvitationResponse","DeclineOrganizationInvitationResponseSchema","success","DeclineOrganizationInvitationResponse","organizationInvitationAcceptPath","ApiKeyCreatorSchema","deleted","ApiKeyCreator","ApiKeySummarySchema","keyPreview","createdBy","isCreatedByCurrentUser","ApiKeySummary","ListApiKeysResponseSchema","apiKeys","ListApiKeysResponse","CreateApiKeyRequestSchema","CreateApiKeyRequest","CreateApiKeyResponseSchema","secret","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","settings","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","ORGANIZATION_SLUG_TAKEN_MESSAGE","PROJECT_SLUG_TAKEN_MESSAGE","OrganizationSlugErrorCodeSchema","OrganizationSlugErrorCode","SlugAvailabilityReasonSchema","taken","reserved","SlugAvailabilityReason","SlugAvailabilityResponseSchema","available","reason","suggestion","SlugAvailabilityResponse","SlugAvailabilityQuerySchema","excludeOrganizationId","SlugAvailabilityQuery","ProjectSlugAvailabilityReasonSchema","ProjectSlugAvailabilityReason","ProjectSlugAvailabilityResponseSchema","ProjectSlugAvailabilityResponse","ProjectSlugAvailabilityQuerySchema","excludeProjectId","ProjectSlugAvailabilityQuery","validateProjectSlug","valid","validateClaimableOrganizationSlug","organizationSlugErrorCodeFromMessage","ProjectStatusSchema","inactive","starting","ProjectStatus","OrganizationUserRoleSchema","OrganizationUserRole","OrganizationSchema","Organization","ProjectSchema","organizationId","baseUrl","runtimeId","lastError","Project","UserOrganizationSchema","UserOrganization","CurrentOrganizationResponseSchema","CurrentOrganizationResponse","ActiveOrganizationResponseSchema","ActiveOrganizationResponse","ListOrganizationsResponseSchema","organizations","ListOrganizationsResponse","CreateOrganizationRequestSchema","UpdateOrganizationRequestSchema","UpdateOrganizationRequest","CreateOrganizationRequest","CreateOrganizationResponseSchema","CreateOrganizationResponse","ListProjectsResponseSchema","ListProjectsResponse","ProjectListMetricsSchema","agentCount","workflowCount","skillCount","lastDeploymentAt","ProjectListMetrics","ListProjectMetricsResponseSchema","metrics","ListProjectMetricsResponse","CreateProjectRequestSchema","CreateProjectRequest","UpdateProjectRequestSchema","UpdateProjectRequest","CreateProjectResponseSchema","CreateProjectResponse","ProjectResponseSchema","ProjectResponse","ProjectReachabilityResponseSchema","reachable","ProjectReachabilityResponse","parseCreateOrganizationRequest","ProjectArtifactStatusSchema","ready","ProjectArtifactStatus","ProjectArtifactSchema","ProjectArtifact","CreateProjectArtifactResponseSchema","artifact","expiresInSeconds","CreateProjectArtifactResponse","CompleteProjectArtifactResponseSchema","CompleteProjectArtifactResponse","ProjectDeploymentSchema","deployedBy","deployedByEmail","deployedByAvatarUrl","ProjectDeployment","ListProjectDeploymentsResponseSchema","deployments","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","artifactId","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","CredentialRunContext","CredentialConsumer","CredentialSelectionOption","OAuthTokenAdapter","Promise","getAccessToken","connectionId","OAuthAccessTokenRefreshParams","clientId","clientSecret","refreshToken","OAuthAccessTokenRefreshResult","Date","accessTokenExpiresAt","OAuthAccessTokenRefresher","params","OAuthTokenRefreshRegistry","register","appKey","refresher","get","DiscoveredModule","file","KeystrokeSchedule","OrganizationRow","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":";;;;;;cAstBcoN,wBAAAA,EAA0BnN,CAAAA,CAAE0D,OAAO;EAC/CuC,OAAAA;EACAmH,aAAAA;AAAAA;;;;;;cAYYK,0BAAAA,EAA4BzN,CAAAA,CAAE0D,OAAO;EACjD4J,YAAAA;EACAC,IAAAA;EACAC,OAAAA;EACAE,SAAAA;AAAAA;AAAAA,KAEGC,kBAAAA,GAAqB3N,CAAAA,CAAEgB,KAAK,QAAQmM,wBAAAA;AAAAA,KAEpCU,oBAAAA,GAAuB7N,CAAAA,CAAEgB,KAAK,QAAQyM,0BAAAA;AAAAA,cAG7BO,uBAAAA;;cAEAC,mCAAAA;;;;KA0OTqE,qBAAAA;EAAAA,SACMjJ,GAAAA;EAAAA,SACAtF,IAAAA,EAAM4J,kBAAAA;EAAAA,SACNpL,MAAAA,EAAQvC,CAAAA,CAAEqC,OAAAA;EAAAA,SACVkQ,KAAAA,WAAgB1E,oBAAAA;EAAAA,SAChB2E,UAAAA;AAAAA;AAAAA,KAENC,UAAAA,sCAAgDzS,CAAAA,CAAEqC,OAAAA,GAAUrC,CAAAA,CAAEqC,OAAAA;EAAAA,SACxD0B,IAAAA,EAAM4J,kBAAAA;EAAAA,SACNtE,GAAAA,EAAKqJ,CAAAA;EAAAA,SACLnQ,MAAAA,EAAQoQ,CAAAA;EAAAA,SACRH,UAAAA;EACTzD,KAAAA,IAASwD,KAAAA,EAAO1E,oBAAAA,KAAyByE,qBAAAA;IACvCjJ,GAAAA,EAAKqJ,CAAAA;IACLnQ,MAAAA,EAAQoQ,CAAAA;EAAAA;AAAAA;A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,WAAiBJ,yBAAyB;AAAA;AAAA"}
|
|
1
|
+
{"version":3,"file":"index-CaW3JRFU.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","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","ROUTE_MANIFEST_HTTP_PATH","StoredRouteManifestSkillSchema","ZodOptional","core","$strip","ZodObject","slug","description","moduleFile","StoredRouteManifestSkill","StoredRouteManifestSchema","ZodLiteral","ZodNumber","ZodUnknown","ZodRecord","ZodBoolean","ZodArray","ZodEnum","ZodDiscriminatedUnion","ZodDefault","version","entries","kind","method","path","agentSlug","model","systemPrompt","toolCount","credentialCount","requestSchema","responseSchema","workflowSlug","workflowName","subscribable","attachmentIds","attachmentSchemas","filterSchema","attachmentId","schedule","pollId","GET","POST","PUT","PATCH","DELETE","plugin","skills","integrations","StoredRouteManifest","parseStoredRouteManifest","OAuthScopeOptionSchema","defaultSelected","required","AppAuthKindSchema","oauth","api_key","AppCatalogEntrySchema","id","category","integrationDescription","authKind","oauthScopes","gateway","capabilities","mentions","reactions","full","none","cards","partial","modals","streaming","drafts","native","buffered","dms","supportedModes","mention","all","dm","resourceNoun","singular","plural","supportsChannelDirectory","webhookPathHint","docsUrl","tagline","ListAppsResponseSchema","apps","OAuthScopeOption","AppAuthKind","AppCatalogEntry","ListAppsResponse","ChannelPlatformKeySchema","slack","ChannelReactionSupportSchema","ChannelCardSupportSchema","ChannelStreamingSupportSchema","ChannelCapabilitiesSchema","ChannelListenModeSchema","ChannelBindingKindSchema","public","private","group","space","AppGatewaySchema","ChannelPlatformSchema","key","appLogoId","fallbackDomain","credentialFields","label","placeholder","helpText","type","password","text","textarea","prefix","ChannelBindingSchema","channelId","channelName","channelKind","mode","subscribeOnMention","createdAt","updatedAt","ChannelConnectionSchema","platform","agentId","accountLabel","accountId","connectedAt","bindings","ChannelDirectoryEntrySchema","memberCount","isArchived","ChannelConnectionListResponseSchema","connections","ChannelDirectoryListResponseSchema","channels","ChannelAccountMetadataSchema","teamName","ChannelAccountSchema","ChannelAccountListResponseSchema","accounts","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","organization","user","project","CredentialScopeLevelSchema","selection","CredentialAuthKind","CredentialScopeType","CredentialScopeLevel","CREDENTIAL_AUTH_KINDS","CREDENTIAL_SCOPE_TYPES","CREDENTIAL_SCOPE_LEVELS","DEFAULT_CREDENTIAL_RESOLUTION_CHAIN","ResolvableCredentialScopeLevel","Exclude","StoredCredentialScopeType","CREDENTIAL_SCOPE_LEVEL_TO_SCOPE_TYPE","AppCredentialScopeSchema","AppCredentialConnectionKindSchema","manual","OAuthPermissionModeSchema","default","restricted","AppCredentialSummarySchema","ZodNullable","appId","scope","lastRefreshedAt","appName","projectId","projectName","status","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","CreateCredentialsRequestSchema","CreateCredentialsRequest","UpdateCredentialRequestSchema","UpdateCredentialRequest","ListCredentialsResponseSchema","credentials","GetCredentialResponseSchema","credential","CreateCredentialsResponseSchema","ListCredentialsResponse","GetCredentialResponse","CreateCredentialsResponse","TeamRequestTypeSchema","contact","SubmitTeamRequestRequestSchema","message","SubmitTeamRequestResponseSchema","ok","TeamRequestType","SubmitTeamRequestRequest","SubmitTeamRequestResponse","CredentialRequirement","chain","tokenField","Credential","K","S","CredentialInput","CredentialList","isCredentialInput","credentialInputSchema","ZodCustom","NormalizeCredential","T","ResolvedCredentials","R","staticCredential","ZodTypeAny","oauthCredential","options","accessToken","F","static","DefineStaticCredentialInput","fields","DefineOAuthCredentialInput","DefineCredentialInput","defineCredential","ReturnType","normalizeCredentialList","list","toCredentialRequirement","item","ValidationErrorDetailSchema","ValidationErrorDetail","ErrorResponseCodeSchema","ZodUnion","slug_taken","slug_reserved","slug_invalid","needs_org_selection","ErrorResponseCode","ErrorResponseSchema","error","code","details","ErrorResponse","validationErrorResponse","summary","parseErrorResponse","body","PromptInputSchema","sessionId","subscriptionId","context","orgId","userId","userIds","thinkingLevel","off","minimal","low","medium","high","xhigh","PromptInput","PromptResponseSchema","runId","messages","PromptResponse","SkipResponseSchema","skipped","HealthResponseSchema","HealthResponse","PlatformInfoResponseSchema","service","PlatformInfoResponse","ConnectProviderSchema","requiresAuth","ConnectProvider","ConnectProvidersResponseSchema","providers","ConnectProvidersResponse","ConnectAuthorizeUrlResponseSchema","ConnectAuthorizeUrlResponse","QueuedRunResponseSchema","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","failed","canceled","source","sourceId","messageCount","AgentSessionSummary","AgentSessionRecordSchema","parentSpanId","AgentSessionRecord","AgentSessionListQuerySchema","ZodCoercedNumber","limit","cursor","AgentSessionListQuery","AgentSessionListResponseSchema","items","nextCursor","AgentSessionListResponse","AgentSessionDetailIncludeSchema","events","trace","AgentSessionDetailQuerySchema","include","AgentSessionDetailQuery","parseAgentSessionDetailInclude","AgentSessionDetailInclude","GatewaySessionDetailSchema","threadId","attachmentSlug","GatewaySessionDetail","AgentEventSchema","seq","eventType","payload","AgentEvent","AgentSessionDetailResponseSchema","session","traceId","triggerType","triggerRunId","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","scopeType","scopeId","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","endpoint","TriggerDetailResponseSchema","TriggerListItem","TriggerListResponse","TriggerListQuery","TriggerDetailResponse","OrganizationMemberRoleSchema","admin","owner","builder","OrganizationMemberRole","OrganizationMemberStatusSchema","invited","active","rejected","suspended","OrganizationMemberStatus","InvitableOrganizationMemberRoleSchema","InvitableOrganizationMemberRole","OrganizationMemberSchema","email","role","joinedAt","lastActiveAt","OrganizationMember","ListOrganizationMembersResponseSchema","members","ListOrganizationMembersResponse","InviteOrganizationMembersRequestSchema","emails","InviteOrganizationMembersRequest","InviteOrganizationMemberResultStatusSchema","sent","already_member","invalid","InviteOrganizationMemberResultStatus","InviteOrganizationMembersResponseSchema","invitationId","InviteOrganizationMembersResponse","UpdateOrganizationMemberRequestSchema","UpdateOrganizationMemberRequest","UpdateOrganizationMemberResponseSchema","member","UpdateOrganizationMemberResponse","OrganizationInvitationSchema","organizationName","organizationSlug","invitedByName","invitedByEmail","OrganizationInvitation","ListOrganizationInvitationsResponseSchema","invitations","ListOrganizationInvitationsResponse","AcceptOrganizationInvitationResponseSchema","AcceptOrganizationInvitationResponse","DeclineOrganizationInvitationResponseSchema","success","DeclineOrganizationInvitationResponse","organizationInvitationAcceptPath","ApiKeyCreatorSchema","deleted","ApiKeyCreator","ApiKeySummarySchema","keyPreview","createdBy","isCreatedByCurrentUser","ApiKeySummary","ListApiKeysResponseSchema","apiKeys","ListApiKeysResponse","CreateApiKeyRequestSchema","CreateApiKeyRequest","CreateApiKeyResponseSchema","secret","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","settings","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","ORGANIZATION_SLUG_TAKEN_MESSAGE","PROJECT_SLUG_TAKEN_MESSAGE","OrganizationSlugErrorCodeSchema","OrganizationSlugErrorCode","SlugAvailabilityReasonSchema","taken","reserved","SlugAvailabilityReason","SlugAvailabilityResponseSchema","available","reason","suggestion","SlugAvailabilityResponse","SlugAvailabilityQuerySchema","excludeOrganizationId","SlugAvailabilityQuery","ProjectSlugAvailabilityReasonSchema","ProjectSlugAvailabilityReason","ProjectSlugAvailabilityResponseSchema","ProjectSlugAvailabilityResponse","ProjectSlugAvailabilityQuerySchema","excludeProjectId","ProjectSlugAvailabilityQuery","validateProjectSlug","valid","validateClaimableOrganizationSlug","organizationSlugErrorCodeFromMessage","ProjectStatusSchema","inactive","starting","ProjectStatus","OrganizationUserRoleSchema","OrganizationUserRole","OrganizationSchema","Organization","ProjectSchema","organizationId","baseUrl","runtimeId","lastError","Project","UserOrganizationSchema","UserOrganization","CurrentOrganizationResponseSchema","CurrentOrganizationResponse","ActiveOrganizationResponseSchema","ActiveOrganizationResponse","ListOrganizationsResponseSchema","organizations","ListOrganizationsResponse","CreateOrganizationRequestSchema","UpdateOrganizationRequestSchema","UpdateOrganizationRequest","CreateOrganizationRequest","CreateOrganizationResponseSchema","CreateOrganizationResponse","ListProjectsResponseSchema","ListProjectsResponse","ProjectListMetricsSchema","agentCount","workflowCount","skillCount","lastDeploymentAt","ProjectListMetrics","ListProjectMetricsResponseSchema","metrics","ListProjectMetricsResponse","CreateProjectRequestSchema","CreateProjectRequest","UpdateProjectRequestSchema","UpdateProjectRequest","CreateProjectResponseSchema","CreateProjectResponse","ProjectResponseSchema","ProjectResponse","ProjectReachabilityResponseSchema","reachable","ProjectReachabilityResponse","parseCreateOrganizationRequest","ProjectArtifactStatusSchema","ready","ProjectArtifactStatus","ProjectArtifactSchema","ProjectArtifact","CreateProjectArtifactResponseSchema","artifact","expiresInSeconds","CreateProjectArtifactResponse","CompleteProjectArtifactResponseSchema","CompleteProjectArtifactResponse","ProjectDeploymentSchema","deployedBy","deployedByEmail","deployedByAvatarUrl","ProjectDeployment","ListProjectDeploymentsResponseSchema","deployments","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","artifactId","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","connectionId","OAuthAccessTokenRefreshParams","clientId","clientSecret","refreshToken","OAuthAccessTokenRefreshResult","Date","accessTokenExpiresAt","OAuthAccessTokenRefresher","params","OAuthTokenRefreshRegistry","register","appKey","refresher","get","DiscoveredModule","file","KeystrokeSchedule","OrganizationRow","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":";;;;;;cAstBcoN,wBAAAA,EAA0BnN,CAAAA,CAAE0D,OAAO;EAC/CuC,OAAAA;EACAmH,aAAAA;AAAAA;;;;;;cAYYK,0BAAAA,EAA4BzN,CAAAA,CAAE0D,OAAO;EACjD4J,YAAAA;EACAC,IAAAA;EACAC,OAAAA;EACAE,SAAAA;AAAAA;AAAAA,KAEGC,kBAAAA,GAAqB3N,CAAAA,CAAEgB,KAAK,QAAQmM,wBAAAA;AAAAA,KAEpCU,oBAAAA,GAAuB7N,CAAAA,CAAEgB,KAAK,QAAQyM,0BAAAA;AAAAA,cAG7BO,uBAAAA;;cAEAC,mCAAAA;;;;KA0OTqE,qBAAAA;EAAAA,SACMjJ,GAAAA;EAAAA,SACAtF,IAAAA,EAAM4J,kBAAAA;EAA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B,sBAAsB;EACtCI,WAAAA;EACAC,SAAAA;EACAC,MAAAA;AAAAA;AAAAA;AAAAA,KAIGC,oBAAAA;EACH1oB,KAAAA;EACA1G,SAAAA;EACA2G,MAAAA;EACAC,OAAAA,GAAUxT,MAAAA;EACVoL,SAAAA,GAAYpL,MAAM;AAAA;AAAA,KAEfi8B,kBAAAA;EACHx6B,IAAAA;EACA5C,IAAI;AAAA;AAAA,KAQDs9B,iBAAAA;EACHE,cAAAA,CAAeC,YAAAA,WAAuBF,OAAO;IAC3CjrB,WAAAA;EAAAA;AAAAA;AAAAA,KAGCorB,6BAAAA;EACHC,QAAAA;EACAC,YAAAA;EACAC,YAAAA;AAAAA;AAAAA,KAEGC,6BAAAA;EACHxrB,WAAAA;EACAurB,YAAAA;EACAG,oBAAAA,GAAuBD,IAAI;AAAA;AAAA,KAExBE,yBAAAA,IAA6BC,MAAAA,EAAQR,6BAAAA,KAAkCH,OAAAA,CAAQO,6BAAAA;AAAAA,KAC/EK,yBAAAA;EACHC,QAAAA,CAASC,MAAAA,UAAgBC,SAAAA,EAAWL,yBAAAA;EACpCM,GAAAA,CAAIF,MAAAA,WAAiBJ,yBAAyB;AAAA;AAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { o as AgentTool } from "./index-
|
|
1
|
+
import { a as CredentialInput, l as CredentialScopeLevel, o as CredentialList, y as ResolvedCredentials } from "./index-CaW3JRFU.mjs";
|
|
2
|
+
import { o as AgentTool } from "./index-0KyTNuR1.mjs";
|
|
3
3
|
import { z } from "zod";
|
|
4
4
|
|
|
5
5
|
//#region ../action/dist/index.d.mts
|
|
@@ -129,9 +129,12 @@ type WorkflowRunHandle = {
|
|
|
129
129
|
sessionId?: string;
|
|
130
130
|
agentId?: string;
|
|
131
131
|
}, options?: AgentRunOptions) => Promise<unknown>;
|
|
132
|
+
llmRunner?: (opts: {
|
|
133
|
+
prompt: string;
|
|
134
|
+
} & Record<string, unknown>) => Promise<unknown>;
|
|
132
135
|
};
|
|
133
136
|
declare function registerWorkflowRunGetter(fn: () => WorkflowRunHandle | undefined): void;
|
|
134
137
|
declare function getWorkflowRunHandle(): WorkflowRunHandle | undefined; //#endregion
|
|
135
138
|
//#endregion
|
|
136
|
-
export {
|
|
137
|
-
//# sourceMappingURL=index-
|
|
139
|
+
export { runWithRunSignal as C, runOutsideActionExecution as S, isAction as _, ResolveActionCredentialsFn as a, registerWorkflowRunGetter as b, WorkflowActionDefinition as c, createStepInvocation as d, defineAction as f, getWorkflowRunHandle as g, getRunSignal as h, AgentRunOptions as i, WorkflowRunHandle as l, getActionCredentialRequirements as m, ActionDefinition as n, ResolveActionToolOptions as o, executeAction as p, ActionDefinitionInput as r, StepInvocation as s, ActionCredentialConsumer as t, actionCoreSchema as u, isStepInvocation as v, runWithinActionExecution as w, resolveActionTool as x, isWithinActionExecution as y };
|
|
140
|
+
//# sourceMappingURL=index-CgMisiAc.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index-CgMisiAc.d.mts","names":["z","CREDENTIAL_SCOPE_LEVELS","Credential","CredentialAuthKind","CredentialInput","CredentialList","CredentialRequirement","CredentialScopeLevel","DEFAULT_CREDENTIAL_RESOLUTION_CHAIN","DefineCredentialInput","DefineOAuthCredentialInput","DefineStaticCredentialInput","NormalizeCredential","ResolvedCredentials","credential","credentialInputSchema","defineCredential","isCredentialInput","normalizeCredentialList","toCredentialRequirement","AgentTool","actionCoreSchema","ZodString","ZodOptional","core","$ZodTypeInternals","ZodType","ZodCustom","_$_keystrokehq_shared0","ZodArray","$ZodFunctionArgs","$ZodFunctionOut","ZodFunction","$strip","ZodObject","slug","name","description","input","output","credentials","run","ActionMeta","infer","Omit","ActionIO","TInputSchema","TOutputSchema","TCredentials","AbortSignal","Promise","signal","ctx","ACTION","ActionDefinition","TInput","TOutput","Record","ActionDefinitionInput","isAction","value","getActionCredentialRequirements","Pick","action","StepInvocationState","chain","selection","id","StepInvocation","TResult1","TResult2","PromiseLike","scope","select","instanceIdOrMap","stepId","then","onfulfilled","reason","onrejected","isStepInvocation","createStepInvocation","state","WorkflowActionDefinition","TRequirements","defineAction","def","executeAction","ActionCredentialConsumer","kind","ResolveActionCredentialsFn","T","Partial","requirements","consumer","contextOverride","ResolveActionToolOptions","resolveCredentials","resolveActionTool","options","runWithinActionExecution","actionKey","runOutsideActionExecution","fn","isWithinActionExecution","runWithRunSignal","getRunSignal","AgentRunOptions","runPrompt","WorkflowRunHandle","actionRunner","credentialChain","credentialSelection","agentRunner","agent","message","sessionId","agentId","llmRunner","prompt","opts","registerWorkflowRunGetter","getWorkflowRunHandle"],"sources":["../../action/dist/index.d.mts"],"mappings":";;;;;;AAE0D;AAAA,cAI5CqB,gBAAAA,EAAkBrB,CAAAA,CAAEkC,SAAAA;EAChCC,IAAAA,EAAMnC,CAAAA,CAAEsB,SAAAA;EACRc,IAAAA,EAAMpC,CAAAA,CAAEuB,WAAAA,CAAYvB,CAAAA,CAAEsB,SAAAA;EACtBe,WAAAA,EAAarC,CAAAA,CAAEuB,WAAAA,CAAYvB,CAAAA,CAAEsB,SAAAA;EAC7BgB,KAAAA,EAAOtC,CAAAA,CAAE2B,SAAAA,CAAU3B,CAAAA,CAAE0B,OAAAA,mBAA0B1B,CAAAA,CAAEwB,IAAAA,CAAKC,iBAAAA,qBAAsCzB,CAAAA,CAAE0B,OAAAA,mBAA0B1B,CAAAA,CAAEwB,IAAAA,CAAKC,iBAAAA;EAC/Hc,MAAAA,EAAQvC,CAAAA,CAAE2B,SAAAA,CAAU3B,CAAAA,CAAE0B,OAAAA,mBAA0B1B,CAAAA,CAAEwB,IAAAA,CAAKC,iBAAAA,qBAAsCzB,CAAAA,CAAE0B,OAAAA,mBAA0B1B,CAAAA,CAAEwB,IAAAA,CAAKC,iBAAAA;EAChIe,WAAAA,EAAaxC,CAAAA,CAAEuB,WAAAA,CAAYvB,CAAAA,CAAE6B,QAAAA,CAAS7B,CAAAA,CAAE2B,SAAA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IACAC,OAAAA;EAAAA,GACClB,OAAAA,GAAUQ,eAAAA,KAAoBzD,OAAAA;EACjCoE,SAAAA,IAAaE,IAAAA;IACXD,MAAAA;EAAAA,IACE9D,MAAAA,sBAA4BP,OAAAA;AAAAA;AAAAA,iBAEjBuE,yBAAAA,CAA0BlB,EAAuC,QAA7BM,iBAAiB;AAAA,iBACrDa,oBAAAA,CAAAA,GAAwBb,iBAAiB"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { o as AgentTool, s as AgentToolResult } from "./index-
|
|
1
|
+
import { i as CredentialConsumer, o as CredentialList, y as ResolvedCredentials } from "./index-CaW3JRFU.cjs";
|
|
2
|
+
import { o as AgentTool, s as AgentToolResult } from "./index-Dr-3nl0A.cjs";
|
|
3
3
|
import { z } from "zod";
|
|
4
4
|
|
|
5
5
|
//#region ../mcp/dist/index.d.mts
|
|
@@ -90,4 +90,4 @@ type ToolCredentialResolver = {
|
|
|
90
90
|
//#region src/context.d.ts
|
|
91
91
|
//#endregion
|
|
92
92
|
export { McpDefinition as a, McpServerOptions as c, McpTransport as d, connectMcpDefinition as f, isMcp as g, defineMcp as h, McpConnection as i, McpStdioOptions as l, connectMcpStdio as m, McpAuthOptions as n, McpDefinitionInput as o, connectMcpServer as p, McpCallToolOptions as r, McpHttpTransport as s, ToolCredentialResolver as t, McpStdioTransport as u };
|
|
93
|
-
//# sourceMappingURL=index-
|
|
93
|
+
//# sourceMappingURL=index-CsGfxjDx.d.cts.map
|