@keystrokehq/keystroke 0.0.159 → 0.0.160
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 +162 -5
- 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 +161 -6
- 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-lYNbBwe5.mjs → dist-BAzfOMfz.mjs} +3 -3
- package/dist/{dist-lYNbBwe5.mjs.map → dist-BAzfOMfz.mjs.map} +1 -1
- package/dist/{dist-u0RYk4-X.cjs → dist-BkkOal_e.cjs} +3 -3
- package/dist/{dist-u0RYk4-X.cjs.map → dist-BkkOal_e.cjs.map} +1 -1
- package/dist/{dist-DALSxODo.mjs → dist-C8t_Snfd.mjs} +32 -5
- package/dist/dist-C8t_Snfd.mjs.map +1 -0
- package/dist/{dist-D5jH3nQI.cjs → dist-DFXV_Io5.cjs} +7 -1
- package/dist/{dist-D5jH3nQI.cjs.map → dist-DFXV_Io5.cjs.map} +1 -1
- package/dist/{dist-XKCtZShd.mjs → dist-DM1Na5CA.mjs} +2 -2
- package/dist/{dist-XKCtZShd.mjs.map → dist-DM1Na5CA.mjs.map} +1 -1
- package/dist/{dist-DhBV2U_0.cjs → dist-fqWJTm0u.cjs} +37 -4
- package/dist/dist-fqWJTm0u.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-DuYf0Fdc.d.cts → index-BbwuSuxl.d.mts} +29 -7
- package/dist/index-BbwuSuxl.d.mts.map +1 -0
- 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-CyCx29m7.d.mts → index-DaxRr-x9.d.cts} +29 -7
- package/dist/index-DaxRr-x9.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-BUmyUoC2.d.mts → index-p6yOVMbx.d.mts} +12 -4
- package/dist/index-p6yOVMbx.d.mts.map +1 -0
- package/dist/{mistral-CWlaNuqc.mjs → mistral-BRIv8KXE.mjs} +2 -2
- package/dist/{mistral-CWlaNuqc.mjs.map → mistral-BRIv8KXE.mjs.map} +1 -1
- package/dist/{mistral-DIpD1PUg.cjs → mistral-DUKMgFL1.cjs} +2 -2
- package/dist/{mistral-DIpD1PUg.cjs.map → mistral-DUKMgFL1.cjs.map} +1 -1
- package/dist/sandbox.d.cts +1 -1
- package/dist/sandbox.d.mts +1 -1
- package/dist/{sse-DuzdM7Va.mjs → sse-Ba5sWI6l.mjs} +2 -2
- package/dist/{sse-DuzdM7Va.mjs.map → sse-Ba5sWI6l.mjs.map} +1 -1
- package/dist/{sse-DXvz9wn_.cjs → sse-jvB09Ct-.cjs} +2 -2
- package/dist/{sse-DXvz9wn_.cjs.map → sse-jvB09Ct-.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-DALSxODo.mjs.map +0 -1
- package/dist/dist-DhBV2U_0.cjs.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;AAAAA,KACA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+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,8 +1,8 @@
|
|
|
1
|
-
import { c as CredentialRunContext, h as OAuthTokenAdapter } from "./index-
|
|
2
|
-
import { a as AgentState, i as AgentMessage, l as ThinkingLevel,
|
|
3
|
-
import { n as ActionDefinition } from "./index-
|
|
4
|
-
import { a as McpDefinition, i as McpConnection, t as ToolCredentialResolver } from "./index-
|
|
5
|
-
import { C as AssetManifest, T as SandboxDefinition, a as RuntimeHooks, c as SkillDefinition, o as RuntimeProvider, s as Sandbox } from "./index-
|
|
1
|
+
import { _ as PromptLlmRunOptions, c as CredentialRunContext, h as OAuthTokenAdapter } from "./index-CaW3JRFU.mjs";
|
|
2
|
+
import { a as AgentState, d as Api, i as AgentMessage, l as ThinkingLevel, m as Model, n as AgentOptions, o as AgentTool, t as Agent$1 } from "./index-0KyTNuR1.mjs";
|
|
3
|
+
import { n as ActionDefinition } from "./index-CgMisiAc.mjs";
|
|
4
|
+
import { a as McpDefinition, i as McpConnection, t as ToolCredentialResolver } from "./index-BAIg1_V_.mjs";
|
|
5
|
+
import { C as AssetManifest, T as SandboxDefinition, a as RuntimeHooks, c as SkillDefinition, o as RuntimeProvider, s as Sandbox } from "./index-CxjY9wjs.mjs";
|
|
6
6
|
import { z } from "zod";
|
|
7
7
|
import { DatabaseSync } from "node:sqlite";
|
|
8
8
|
|
|
@@ -237,6 +237,28 @@ declare function normalizeAgentDefinition(input: AgentDefinitionInput, options?:
|
|
|
237
237
|
agentSlug?: string;
|
|
238
238
|
appRoot?: string;
|
|
239
239
|
}): AgentDefinition; //#endregion
|
|
240
|
+
//#region src/llm/run-llm.d.ts
|
|
241
|
+
/** One-shot LLM generation for workflow `promptLlm` steps (pi-ai transport). */
|
|
242
|
+
declare function runLlm(opts: PromptLlmRunOptions): Promise<unknown>; //#endregion
|
|
243
|
+
//#region src/llm/force-tool-choice.d.ts
|
|
244
|
+
type ForcedToolChoice = {
|
|
245
|
+
type: "tool";
|
|
246
|
+
name: string;
|
|
247
|
+
} | {
|
|
248
|
+
type: "function";
|
|
249
|
+
function: {
|
|
250
|
+
name: string;
|
|
251
|
+
};
|
|
252
|
+
} | {
|
|
253
|
+
tool: {
|
|
254
|
+
name: string;
|
|
255
|
+
};
|
|
256
|
+
} | "any";
|
|
257
|
+
/**
|
|
258
|
+
* Best-effort provider `tool_choice` for forcing a named tool. Returns `undefined`
|
|
259
|
+
* when the API shape is unknown so callers can rely on prompt + validate + retry.
|
|
260
|
+
*/
|
|
261
|
+
declare function forceToolChoice(api: Api, toolName: string): ForcedToolChoice | undefined; //#endregion
|
|
240
262
|
//#region src/define/resolve-agent-workspace-root.d.ts
|
|
241
263
|
/**
|
|
242
264
|
* Resolve the host directory backing `/workspace` for an agent prompt.
|
|
@@ -275,5 +297,5 @@ type ResolvedAgentTools = {
|
|
|
275
297
|
};
|
|
276
298
|
declare function resolveAgentTools(tools: Array<ActionDefinition | AgentTool | AgentMcpTool>, resolver: ToolCredentialResolver): Promise<ResolvedAgentTools>; //#endregion
|
|
277
299
|
//#endregion
|
|
278
|
-
export {
|
|
279
|
-
//# sourceMappingURL=index-
|
|
300
|
+
export { loadAssetManifest as A, runLlm as B, createAgent as C, errorMessage as D, defineTool as E, resolveAgentAssets as F, AgentModelIdSchema as G, AgentCreateInput as H, resolveAgentId as I, parseAgentCreateInput as J, DEFAULT_THINKING_LEVEL as K, resolveAgentTools as L, normalizeAgentDefinition as M, prepareAgentSession as N, forceToolChoice as O, prompt as P, resolveAgentWorkspaceRoot as R, buildAgentRuntime as S, defineSubagentTool as T, AgentCreateInputSchema as U, snapshot as V, AgentModelId as W, resolveThinkingLevel as X, resolveAgentModel as Y, SessionAgentMismatchError as _, AgentDefinitionInput as a, SubagentToolInherit as b, BuildAgentRuntimeContext as c, PromptInput as d, PromptResponse as f, SandboxedAgentRuntime as g, SUBAGENT_TOOL as h, AgentDefinition as i, messages as j, getSubagentToolMetadata as k, DefineSubagentToolInput as l, RunAgentPromptOptions as m, AgentAssetInput as n, AgentRuntime as o, ResolvedAgentAssets as p, ThinkingLevelSchema as q, AgentConfig as r, AgentSnapshot as s, Agent as t, ForcedToolChoice as u, SubagentTool as v, defineAgent as w, SubagentToolMetadata as x, SubagentToolDetails as y, runAgentPrompt as z };
|
|
301
|
+
//# sourceMappingURL=index-BbwuSuxl.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index-BbwuSuxl.d.mts","names":["h","ThinkingLevel","r","Model","z","AgentModelId","AgentModelIdSchema","ZodCustom","resolveAgentModel","modelId","ThinkingLevelSchema","ZodEnum","off","minimal","low","medium","high","xhigh","DEFAULT_THINKING_LEVEL","AgentCreateInputSchema","ZodString","ZodOptional","core","$strip","ZodObject","systemPrompt","model","thinkingLevel","AgentCreateInput","infer","parseAgentCreateInput","input","resolveThinkingLevel","level","a","c","i","l","n","o","s","t","DatabaseSync","Type","MemoryConfig","enabled","dir","memoryFile","userFile","archiveDir","dbFile","sessionsDir","memoryCharLimit","userCharLimit","archiveTocLimit","securityScan","loadMemoryConfig","Partial","workspaceRoot","overrides","MemoryHandle","config","db","reindexSessions","close","MemoryOptions","isMemoryEnabled","options","prepareMemory","SnapshotResult","block","warnings","buildMemorySnapshot","ArchiveHit","path","snippet","rank","SessionHit","session_file","line_no","role","ts","searchArchive","query","limit","searchSessions","TranscriptLineInput","Date","seq","eventType","payload","createdAt","appendSessionLine","Promise","sessionId","input","createMemorySearchTool","TString","TLiteral","TUnion","TOptional","TNumber","TBoolean","TObject","name","label","description","parameters","scope","full","execute","_id","params","content","type","text","details","c","AgentMessage","d","AgentTool","h","ThinkingLevel","l","AgentOptions","m","PiAgent","o","getModel","r","Model","u","AgentState","a","parseAgentCreateInput","AgentModelIdSchema","i","ThinkingLevelSchema","resolveAgentModel","n","AgentCreateInputSchema","resolveThinkingLevel","DEFAULT_THINKING_LEVEL","s","AgentModelId","t","AgentCreateInput","z","Api","McpAuthOptions","McpCallToolOptions","McpConnection","McpConnection$1","McpDefinition","McpDefinition$1","McpDefinitionInput","McpHttpTransport","McpServerOptions","McpStdioOptions","McpStdioTransport","McpTransport","connectMcpDefinition","connectMcpServer","connectMcpStdio","defineMcp","isMcp","ActionDefinition","CredentialRunContext","OAuthTokenAdapter","ToolCredentialResolver","MemoryHandle","MemoryOptions","AssetManifest","RuntimeHooks","RuntimeProvider","Sandbox","SandboxDefinition","SkillDefinition","PromptLlmRunOptions","AgentConfig","Omit","systemPrompt","model","thinkingLevel","messages","tools","AgentRuntime","Readonly","pi","AgentSnapshot","state","createAgent","config","prompt","Promise","runtime","message","snapshot","errorMessage","defineTool","T","tool","AgentMcpTool","AgentDefinitionAuthorInput","Array","slug","name","description","runtimeHooks","skills","files","sandbox","runtimeProvider","memory","AgentDefinitionInput","AgentDefinition","PromptInput","sessionId","subscriptionId","context","RunAgentPromptOptions","stepId","workspacesRoot","workspaceRoot","credentials","oauthAdapter","hostTools","tracing","trigger","gatewayAttachmentId","gatewayAttachmentKey","agentKey","skipAgentSessionSpan","invocationRoute","PromptResponse","error","canceled","BuildAgentRuntimeContext","agentId","SandboxedAgentRuntime","mcpConnections","takeCredentialError","buildAgentRuntime","def","ctx","runPrompt","Agent","buildRuntime","input","defineAgent","resolveAgentId","agentSlug","explicitId","SUBAGENT_TOOL","SubagentToolInherit","workspace","SubagentToolMetadata","agent","inherit","SubagentToolDetails","SubagentTool","DefineSubagentToolInput","label","parameters","toMessage","params","getSubagentToolMetadata","defineSubagentTool","runAgentPrompt","options","SessionAgentMismatchError","Error","constructor","prepareAgentSession","ranByUserId","normalizeAgentDefinition","appRoot","runLlm","opts","ForcedToolChoice","type","function","forceToolChoice","api","toolName","resolveAgentWorkspaceRoot","AgentAssetInput","skillKeys","ResolvedAgentAssets","loadAssetManifest","resolveAgentAssets","ResolvedAgentTools","resolveAgentTools","resolver"],"sources":["../../agent/dist/schemas-2vNCq27N.d.mts","../../memory/dist/index.d.mts","../../agent/dist/index.d.mts"],"mappings":";;;;;;;;;;;KAKKK,YAAAA;AAAAA,cACSC,kBAAAA,EAAoBF,CAAAA,CAAEG,SAAS;;iBAE5BC,iBAAAA,CAAkBC,OAAAA,EAASJ,YAAAA,GAAeF,KAAK;AAAA;AAAA,cAGlDO,mBAAAA,EAAqBN,CAAAA,CAAEO,OAAO;EAC1CC,GAAAA;EACAC,OAAAA;EACAC,GAAAA;EACAC,MAAAA;EACAC,IAAAA;EACAC,KAAAA;AAAAA;AAAAA,cAEYC,sBAAAA;AAb+B;AAAA,cAe/BC,sBAAA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AA,EAAgBxF,aAAe;AAAA;AAAA,iBAEhB4I,iBAAAA,CAAkB3G,KAAAA,EAAOmB,KAAAA,CAAMtC,gBAAAA,GAAmB9C,SAAAA,GAAYkF,YAAAA,GAAe2F,QAAAA,EAAU5H,sBAAAA,GAAyByB,OAAAA,CAAQiG,kBAAAA"}
|
|
@@ -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,SA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AAO7E,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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AAAA;AAAA,KAEf07B,kBAAAA;EACHj6B,IAAAA;EACA5C,IAAI;AAAA;AAAA,KAQD+8B,iBAAAA;EACHE,cAAAA,CAAeC,YAAAA,WAAuBF,OAAO;IAC3C1qB,WAAAA;EAAAA;AAAAA;AAAAA,KAGC6qB,6BAAAA;EACHC,QAAAA;EACAC,YAAAA;EACAC,YAAAA;AAAAA;AAAAA,KAEGC,6BAAAA;EACHjrB,WAAAA;EACAgrB,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
|
+
{"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","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","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","mapProjectDe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,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,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A5C,IAAI;AAAA;AAAA,KAQD+8B,iBAAAA;EACHE,cAAAA,CAAeC,YAAAA,WAAuBF,OAAO;IAC3C1qB,WAAAA;EAAAA;AAAAA;AAAAA,KAGC6qB,6BAAAA;EACHC,QAAAA;EACAC,YAAAA;EACAC,YAAAA;AAAAA;AAAAA,KAEGC,6BAAAA;EACHjrB,WAAAA;EACAgrB,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
|
+
{"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","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","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":";;;;;;cAst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