@keystrokehq/keystroke 0.0.174 → 0.0.175

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (75) hide show
  1. package/dist/action.cjs +1 -1
  2. package/dist/action.d.cts +2 -2
  3. package/dist/action.d.mts +2 -2
  4. package/dist/action.mjs +1 -1
  5. package/dist/agent.cjs +3 -3
  6. package/dist/agent.d.cts +2 -2
  7. package/dist/agent.d.mts +2 -2
  8. package/dist/agent.mjs +3 -3
  9. package/dist/app.cjs +11 -47
  10. package/dist/app.cjs.map +1 -1
  11. package/dist/app.d.cts +36 -42
  12. package/dist/app.d.cts.map +1 -1
  13. package/dist/app.d.mts +36 -42
  14. package/dist/app.d.mts.map +1 -1
  15. package/dist/app.mjs +11 -47
  16. package/dist/app.mjs.map +1 -1
  17. package/dist/config.d.cts +1 -1
  18. package/dist/config.d.mts +1 -1
  19. package/dist/credentials.cjs +1 -1
  20. package/dist/credentials.d.cts +1 -1
  21. package/dist/credentials.d.mts +1 -1
  22. package/dist/credentials.mjs +1 -1
  23. package/dist/{dist-DEwBt6Ee.cjs → dist-B3WT5qgl.cjs} +35 -2
  24. package/dist/dist-B3WT5qgl.cjs.map +1 -0
  25. package/dist/{dist-g-XZ7Tbo.mjs → dist-BwuyO3oY.mjs} +3 -3
  26. package/dist/{dist-g-XZ7Tbo.mjs.map → dist-BwuyO3oY.mjs.map} +1 -1
  27. package/dist/{dist-BLADLFrG.cjs → dist-CIhk3fW1.cjs} +18 -3
  28. package/dist/{dist-BLADLFrG.cjs.map → dist-CIhk3fW1.cjs.map} +1 -1
  29. package/dist/{dist-CFy63Npi.mjs → dist-DgjcBE-O.mjs} +35 -2
  30. package/dist/dist-DgjcBE-O.mjs.map +1 -0
  31. package/dist/{dist-BX0Upt63.mjs → dist-itGeZOJp.mjs} +18 -3
  32. package/dist/{dist-BX0Upt63.mjs.map → dist-itGeZOJp.mjs.map} +1 -1
  33. package/dist/{dist-Bwkl4vwe.cjs → dist-tKIYuAek.cjs} +3 -3
  34. package/dist/{dist-Bwkl4vwe.cjs.map → dist-tKIYuAek.cjs.map} +1 -1
  35. package/dist/{index-DT9Ml-7N.d.mts → index-CPCPd4hJ.d.cts} +2 -2
  36. package/dist/{index-CDWAJRJD.d.cts.map → index-CPCPd4hJ.d.cts.map} +1 -1
  37. package/dist/{index-CDWAJRJD.d.cts → index-Cn6nUPtC.d.mts} +2 -2
  38. package/dist/{index-DT9Ml-7N.d.mts.map → index-Cn6nUPtC.d.mts.map} +1 -1
  39. package/dist/{index-CUYwOWCh.d.cts → index-DQfGP5X4.d.cts} +4 -4
  40. package/dist/{index-DPyUP9U_.d.mts.map → index-DQfGP5X4.d.cts.map} +1 -1
  41. package/dist/{index-DjLUdkRo.d.cts → index-DpOXmY3P.d.cts} +2 -2
  42. package/dist/{index-B8ZRIgPK.d.mts.map → index-DpOXmY3P.d.cts.map} +1 -1
  43. package/dist/{index-B8ZRIgPK.d.mts → index-DsDxuNfg.d.mts} +2 -2
  44. package/dist/{index-DjLUdkRo.d.cts.map → index-DsDxuNfg.d.mts.map} +1 -1
  45. package/dist/{index-CITVigQS.d.mts → index-DykbAIg-.d.mts} +2 -2
  46. package/dist/{index-CITVigQS.d.mts.map → index-DykbAIg-.d.mts.map} +1 -1
  47. package/dist/{index-DPyUP9U_.d.mts → index-VCi-jUnh.d.mts} +4 -4
  48. package/dist/{index-CUYwOWCh.d.cts.map → index-VCi-jUnh.d.mts.map} +1 -1
  49. package/dist/{index-hf0OTB6M.d.mts → index-e9f4pcX4.d.cts} +2 -2
  50. package/dist/index-e9f4pcX4.d.cts.map +1 -0
  51. package/dist/{index-hf0OTB6M.d.cts → index-e9f4pcX4.d.mts} +2 -2
  52. package/dist/index-e9f4pcX4.d.mts.map +1 -0
  53. package/dist/{index-y_2btA4s.d.cts → index-nUAXCgEe.d.cts} +2 -2
  54. package/dist/{index-y_2btA4s.d.cts.map → index-nUAXCgEe.d.cts.map} +1 -1
  55. package/dist/{mistral-DbKZmAHf.mjs → mistral-MfzlP5Os.mjs} +2 -2
  56. package/dist/{mistral-DbKZmAHf.mjs.map → mistral-MfzlP5Os.mjs.map} +1 -1
  57. package/dist/{mistral-CC5EGzH4.cjs → mistral-gBakFlvh.cjs} +2 -2
  58. package/dist/{mistral-CC5EGzH4.cjs.map → mistral-gBakFlvh.cjs.map} +1 -1
  59. package/dist/{sse-DqYCbW54.mjs → sse-CFH10VfF.mjs} +2 -2
  60. package/dist/{sse-DqYCbW54.mjs.map → sse-CFH10VfF.mjs.map} +1 -1
  61. package/dist/{sse-dAxMgDEB.cjs → sse-CO21wkJ1.cjs} +2 -2
  62. package/dist/{sse-dAxMgDEB.cjs.map → sse-CO21wkJ1.cjs.map} +1 -1
  63. package/dist/trigger.cjs +1 -1
  64. package/dist/trigger.d.cts +3 -3
  65. package/dist/trigger.d.mts +3 -3
  66. package/dist/trigger.mjs +1 -1
  67. package/dist/workflow.cjs +1 -1
  68. package/dist/workflow.d.cts +2 -2
  69. package/dist/workflow.d.mts +2 -2
  70. package/dist/workflow.mjs +1 -1
  71. package/package.json +1 -1
  72. package/dist/dist-CFy63Npi.mjs.map +0 -1
  73. package/dist/dist-DEwBt6Ee.cjs.map +0 -1
  74. package/dist/index-hf0OTB6M.d.cts.map +0 -1
  75. package/dist/index-hf0OTB6M.d.mts.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"index-DjLUdkRo.d.cts","names":["z","CREDENTIAL_SCOPE_TYPES","Credential","CredentialAuthKind","CredentialInput","CredentialList","CredentialRequirement","CredentialScopeType","DefineCredentialInput","DefineOAuthCredentialInput","DefineStaticCredentialInput","NormalizeCredential","ResolvedCredentials","credential","credentialInputSchema","defineCredential","isCredentialInput","normalizeCredentialList","toCredentialRequirement","AgentTool","actionCoreSchema","ZodString","ZodOptional","core","$ZodTypeInternals","ZodType","ZodCustom","_$_keystrokehq_shared0","ZodArray","$ZodFunctionArgs","$ZodFunctionOut","ZodFunction","$strip","ZodObject","slug","name","description","input","output","credentials","run","ActionMeta","infer","Omit","ActionIO","TInputSchema","TOutputSchema","TCredentials","AbortSignal","Promise","signal","ctx","ACTION","ActionDefinition","TInput","TOutput","Record","ActionDefinitionInput","isAction","value","getActionCredentialRequirements","Pick","action","StepInvocationState","scope","id","StepInvocation","TResult1","TResult2","PromiseLike","stepId","then","onfulfilled","reason","onrejected","isStepInvocation","createStepInvocation","state","WorkflowActionDefinition","TRequirements","defineAction","def","executeAction","ActionCredentialConsumer","kind","ResolveActionCredentialsFn","T","Partial","requirements","consumer","contextOverride","ResolveActionToolOptions","resolveCredentials","resolveActionTool","options","runWithinActionExecution","actionKey","runOutsideActionExecution","fn","isWithinActionExecution","runWithRunSignal","getRunSignal","AgentRunOptions","runPrompt","WorkflowRunHandle","actionRunner","credentialScope","agentRunner","agent","message","sessionId","agentId","llmRunner","prompt","opts","registerWorkflowRunGetter","getWorkflowRunHandle"],"sources":["../../action/dist/index.d.mts"],"mappings":";;;;;;AAE0D;AAAA,cAI5CoB,gBAAAA,EAAkBpB,CAAAA,CAAEiC,SAAAA;EAChCC,IAAAA,EAAMlC,CAAAA,CAAEqB,SAAAA;EACRc,IAAAA,EAAMnC,CAAAA,CAAEsB,WAAAA,CAAYtB,CAAAA,CAAEqB,SAAAA;EACtBe,WAAAA,EAAapC,CAAAA,CAAEsB,WAAAA,CAAYtB,CAAAA,CAAEqB,SAAAA;EAC7BgB,KAAAA,EAAOrC,CAAAA,CAAE0B,SAAAA,CAAU1B,CAAAA,CAAEyB,OAAAA,mBAA0BzB,CAAAA,CAAEuB,IAAAA,CAAKC,iBAAAA,qBAAsCxB,CAAAA,CAAEyB,OAAAA,mBAA0BzB,CAAAA,CAAEuB,IAAAA,CAAKC,iBAAAA;EAC/Hc,MAAAA,EAAQtC,CAAAA,CAAE0B,SAAAA,CAAU1B,CAAAA,CAAEyB,OAAAA,mBAA0BzB,CAAAA,CAAEuB,IAAAA,CAAKC,iBAAAA,qBAAsCxB,CAAAA,CAAEy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A,IAAeC,KAAAA,WAAgBvE,KAAAA;IAC7BwE,OAAAA;IACAC,SAAAA;IACAC,OAAAA;EAAAA,GACCjB,OAAAA,GAAUQ,eAAAA,KAAoBrD,OAAAA;EACjC+D,SAAAA,IAAaE,IAAAA;IACXD,MAAAA;EAAAA,IACEzD,MAAAA,sBAA4BP,OAAAA;AAAAA;AAAAA,iBAEjBkE,yBAAAA,CAA0BjB,EAAuC,QAA7BM,iBAAiB;AAAA,iBACrDY,oBAAAA,CAAAA,GAAwBZ,iBAAiB"}
1
+ {"version":3,"file":"index-DsDxuNfg.d.mts","names":["z","CREDENTIAL_SCOPE_TYPES","Credential","CredentialAuthKind","CredentialInput","CredentialList","CredentialRequirement","CredentialScopeType","DefineCredentialInput","DefineOAuthCredentialInput","DefineStaticCredentialInput","NormalizeCredential","ResolvedCredentials","credential","credentialInputSchema","defineCredential","isCredentialInput","normalizeCredentialList","toCredentialRequirement","AgentTool","actionCoreSchema","ZodString","ZodOptional","core","$ZodTypeInternals","ZodType","ZodCustom","_$_keystrokehq_shared0","ZodArray","$ZodFunctionArgs","$ZodFunctionOut","ZodFunction","$strip","ZodObject","slug","name","description","input","output","credentials","run","ActionMeta","infer","Omit","ActionIO","TInputSchema","TOutputSchema","TCredentials","AbortSignal","Promise","signal","ctx","ACTION","ActionDefinition","TInput","TOutput","Record","ActionDefinitionInput","isAction","value","getActionCredentialRequirements","Pick","action","StepInvocationState","scope","id","StepInvocation","TResult1","TResult2","PromiseLike","stepId","then","onfulfilled","reason","onrejected","isStepInvocation","createStepInvocation","state","WorkflowActionDefinition","TRequirements","defineAction","def","executeAction","ActionCredentialConsumer","kind","ResolveActionCredentialsFn","T","Partial","requirements","consumer","contextOverride","ResolveActionToolOptions","resolveCredentials","resolveActionTool","options","runWithinActionExecution","actionKey","runOutsideActionExecution","fn","isWithinActionExecution","runWithRunSignal","getRunSignal","AgentRunOptions","runPrompt","WorkflowRunHandle","actionRunner","credentialScope","agentRunner","agent","message","sessionId","agentId","ll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,SAAAA;AAAAA;;;;;iBAOhM4E,wBAAAA,GAAAA,CAA4BC,SAAAA,UAAmBxD,GAAAA,QAAWS,OAAAA,CAAQqC,CAAAA,IAAKrC,OAAAA,CAAQqC,CAAAA;;;;;;iBAM/EW,yBAAAA,GAAAA,CAA6BC,EAAAA,QAAUjD,OAAAA,CAAQqC,CAAAA,IAAKrC,OAAAA,CAAQqC,CAAAA;;iBAE5Da,uBAAAA,CAAAA;AAAAA;AAhGa;AAAA;;;;;AAAA,iBAyGbC,gBAAAA,GAAAA,CAAoBlD,MAAAA,EAAQF,WAAAA,EAAakD,EAAAA,QAAUjD,OAAAA,CAAQqC,CAAAA,IAAKrC,OAAAA,CAAQqC,CAAAA;;iBAExEe,YAAAA,CAAAA,GAAgBrD,WAAW;AAAA;AAAA,KAGvCsD,eAAAA;EACHrC,EAAAA;EACAsC,SAAAA,GAAY/C,MAAM;AAAA;AAAA,KAEfgD,iBAAAA;EACHC,YAAAA,GAAe3C,MAAAA,WAAiBzB,KAAAA,WAAgByD,OAAAA;IAC9C7B,EAAAA;IACAyC,eAAAA;EAAAA,MACIzD,OAAAA;EACN0D,WAAAA,IAAeC,KAAAA,WAAgBvE,KAAAA;IAC7BwE,OAAAA;IACAC,SAAAA;IACAC,OAAAA;EAAAA,GACCjB,OAAAA,GAAUQ,eAAAA,KAAoBrD,OAAAA;EACjC+D,SAAAA,IAAaE,IAAAA;IACXD,MAAAA;EAAAA,IACEzD,MAAAA,sBAA4BP,OAAAA;AAAAA;AAAAA,iBAEjBkE,yBAAAA,CAA0BjB,EAAuC,QAA7BM,iBAAiB;AAAA,iBACrDY,oBAAAA,CAAAA,GAAwBZ,iBAAiB"}
@@ -1,4 +1,4 @@
1
- import { i as CredentialConsumer, o as CredentialList, v as ResolvedCredentials } from "./index-hf0OTB6M.mjs";
1
+ import { i as CredentialConsumer, o as CredentialList, v as ResolvedCredentials } from "./index-e9f4pcX4.mjs";
2
2
  import { o as AgentTool, s as AgentToolResult } from "./index-D37gqyek.mjs";
3
3
  import { z } from "zod";
4
4
 
@@ -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-CITVigQS.d.mts.map
93
+ //# sourceMappingURL=index-DykbAIg-.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index-CITVigQS.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_TYPES","CredentialConsumer","CredentialConsumer$1","CredentialInput","CredentialList","CredentialRunContext","CredentialRunContext$1","CredentialScopeType","CredentialScopeType$1","CredentialSelectionOption","CredentialSelectionOption$1","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,KACAC,cAAAA;EACHE,OAAAA,GAAUD,MAAAA;EACVE,GAAAA,GAAMF,MAAAA,kBALc;EAMpBG,YAAAA,GAAeH,MAAAA;AAAAA;AAAAA,KAEZI,gBAAAA;EACHE,IAAAA;EACAC,GAAAA,WAAcF,GAAAA,EARC;EASfG,SAAAA,GAAYV,YAAY;AAAA;AAAA,KAErBW,iBAAAA;EACHH,IAAAA;EACAI,OAAAA;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AAmBC,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;;;KC1DzIiE,sBAAAA;EACHG,OAAAA,WAAkB1C,cAAAA,EAAgB2C,YAAAA,EAAcH,CAAAA,EAAGI,QAAAA,EAAU9C,kBAAAA,GAAuB2C,OAAAA,CAAQ3B,mBAAAA,CAAoB0B,CAAAA;AAAAA;AAAAA"}
1
+ {"version":3,"file":"index-DykbAIg-.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_TYPES","CredentialConsumer","CredentialConsumer$1","CredentialInput","CredentialList","CredentialRunContext","CredentialRunContext$1","CredentialScopeType","CredentialScopeType$1","CredentialSelectionOption","CredentialSelectionOption$1","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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BuC,OAAAA,CAAQ1C,eAAAA;EACjG+C,KAAAA,IAASL,OAAAA;AAAAA;AAAAA,KAENM,eAAAA;EACH9B,OAAAA;EACAC,IAAAA;EACAT,GAAAA,GAAMF,MAAM;EACZY,GAAAA;EACAC,MAAAA;EACAe,UAAAA;EACAC,aAAAA;AAAAA;AAAAA;AAAAA,iBAIeY,SAAAA,gBAAyBzC,MAAAA,gBAAAA,CAAuB0C,GAAAA,EAAKvB,kBAAAA,CAAmBC,YAAAA,IAAgBW,aAAAA,CAAcX,YAAAA;AAAAA;AAAAA,iBAGtGuB,KAAAA,CAAMC,KAAAA,YAAiBA,KAAAA,IAASb,aAAa;AAAA;AAAA,iBAG7Cc,gBAAAA,CAAiB9B,IAAAA,UAAcuB,OAAAA,EAASN,gBAAAA,GAAmBE,OAAAA,CAAQD,aAAAA;AAAAA;AAAAA,iBAGnEa,eAAAA,CAAgB/B,IAAAA,UAAcuB,OAAAA,EAASE,eAAAA,GAAkBN,OAAAA,CAAQD,aAAAA;AAAAA;AAAAA,iBAGjEc,oBAAAA,gBAAoC/C,MAAAA,gBAAAA,CAAuB0C,GAAAA,EAAKX,aAAAA,CAAcX,YAAAA,GAAeK,IAAAA,GAAO1B,cAAAA,GAAiBmC,OAAAA,CAAQD,aAAAA;AAAAA;;;KC1DzIiE,sBAAAA;EACHG,OAAAA,WAAkB1C,cAAAA,EAAgB2C,YAAAA,EAAcH,CAAAA,EAAGI,QAAAA,EAAU9C,kBAAAA,GAAuB2C,OAAAA,CAAQ3B,mBAAAA,CAAoB0B,CAAAA;AAAAA;AAAAA"}
@@ -1,8 +1,8 @@
1
1
  /// <reference types="node" />
2
- import { c as CredentialRunContext, g as PromptLlmRunOptions, m as OAuthTokenAdapter } from "./index-hf0OTB6M.mjs";
2
+ import { c as CredentialRunContext, g as PromptLlmRunOptions, m as OAuthTokenAdapter } from "./index-e9f4pcX4.mjs";
3
3
  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-D37gqyek.mjs";
4
- import { n as ActionDefinition } from "./index-B8ZRIgPK.mjs";
5
- import { a as McpDefinition, i as McpConnection, t as ToolCredentialResolver } from "./index-CITVigQS.mjs";
4
+ import { n as ActionDefinition } from "./index-DsDxuNfg.mjs";
5
+ import { a as McpDefinition, i as McpConnection, t as ToolCredentialResolver } from "./index-DykbAIg-.mjs";
6
6
  import { C as AssetManifest, T as SandboxDefinition, a as RuntimeHooks, c as SkillDefinition, o as RuntimeProvider, s as Sandbox } from "./index-Dus4LyXT.mjs";
7
7
  import { z } from "zod";
8
8
  import { Duplex, Readable, Writable } from "node:stream";
@@ -382,4 +382,4 @@ type ResolvedAgentTools = {
382
382
  declare function resolveAgentTools(tools: Array<ActionDefinition | AgentTool | AgentMcpTool>, resolver: ToolCredentialResolver): Promise<ResolvedAgentTools>; //#endregion
383
383
  //#endregion
384
384
  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 };
385
- //# sourceMappingURL=index-DPyUP9U_.d.mts.map
385
+ //# sourceMappingURL=index-VCi-jUnh.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index-CUYwOWCh.d.cts","names":["h","ThinkingLevel","r","Model","z","AgentModelId","AgentModelIdSchema","ZodCustom","resolveAgentModel","modelId","ThinkingLevelSchema","ZodEnum","off","minimal","low","medium","high","xhigh","DEFAULT_THINKING_LEVEL","AgentCreateInputSchema","ZodString","ZodOptional","core","$strip","ZodObject","systemPrompt","model","thinkingLevel","AgentCreateInput","infer","parseAgentCreateInput","input","resolveThinkingLevel","level","a","c","i","l","n","o","s","t","_$drizzle_orm_node_postgres0","Pool","TracingSink","CredentialAuthKind","CredentialScopeType","HistoryAgentSessionDetail","HistoryRun","HistoryRunKind","HistoryRunStatus","HistoryWorkflowRunDetail","OAuthTokenAdapter","OAuthTokenRefreshRegistry","RunSourceKind","WorkflowEventType","DEFAULT_DATABASE_URL","runWithTenantScope","T","Promise","tenantId","fn","getServerTenantScopeId","DEFAULT_PROJECT_ID","runWithProjectScope","projectId","getBoundProjectScopeId","getProjectScopeId","PostgresConnectionConfig","host","port","database","user","password","ssl","qualifyConnectionUser","NodeJS","ProcessEnv","env","buildPostgresUrl","config","parsePostgresUrl","url","resolvePostgresConfigFromEnv","resolvePostgresUrlFromEnv","resolveProjectDatabaseUrlFromEnv","resolveDatabaseUrlFromEnv","closeDatabase","StoredRunSourceKind$1","agentSessions","_$drizzle_orm_pg_core0","PgColumn","Date","PgTableWithColumns","name","schema","columns","id","tableName","dataType","columnType","data","driverParam","notNull","hasDefault","isPrimaryKey","isAutoincrement","hasRuntimeDefault","enumValues","baseColumn","identity","generated","agentId","sourceKind","$type","sourceId","parentSpanId","ranByUserId","canceledAt","totalDurationMs","createdAt","updatedAt","deletedAt","dialect","UsageRunKind","TriggerScheduleKind","triggerSchedules","attachmentSlug","kind","schedule","nextRunAt","enabled","TriggerRunType","triggerRuns","attachmentId","sourcePath","triggerType","payload","triggeredAt","WorkflowRunStatus","WorkflowRunTrigger","StoredRunSourceKind","workflowRuns","workflowSlug","subscriptionId","triggerRunId","parentWorkflowRunId","status","trigger","startedAt","finishedAt","input","output","error","WorkflowHookStatus","workflowHooks","hookId","runId","token","correlationId","resumedAt","JobKind","JobStatus","JobTrigger","TraceSpanKind","TraceSpanStatus","traceSpans","traceId","refId","metadata","TraceLogLevel","TraceLogSource","traceLogs","spanId","seq","level","message","source","OAuthTokenStrategy","OAuthAppMetadata","appName","scopes","oauthApps","provider","slug","tokenStrategy","clientIdCiphertext","clientSecretCiphertext","signingSecretCiphertext","redirectUri","OAuthConnectionMetadata","Record","oauthConnections","appId","externalId","accessTokenCiphertext","refreshTokenCiphertext","accessTokenExpiresAt","grantedScopes","connectedAt","agents","description","route","moduleFile","model","systemPrompt","toolCount","credentialCount","registeredAt","agentEvents","sessionId","eventType","StoredTriggerTargetKind","StoredTriggerOrigin","StoredTriggerLifecycleStatus","StoredTriggerLifecycle","maxExecutions","until","executionCount","StoredTriggerSource","key","endpoint","requestSchema","filterSchema","code","triggerAttachments","targetKind","agentSlug","origin","prompt","lifecycle","createdBySessionId","workflowEvents","type","credentialInstances","scopeType","scopeId","label","isDefault","authKind","ciphertext","connectionId","SlackGatewayMode","StoredGatewaySource","mode","credentialKey","channelIds","subscribeOnMention","channelName","channelKind","gatewayAttachments","platform","teamId","channelId","gatewayAttachmentKeyForChannel","gatewayThreadSessions","threadId","SecretRefKind","SecretField","secretValues","refKind","field","skills","workflows","subscribable","workflowSubscriptions","userId","resourceActivityKinds","ResourceActivityKind","resourceActivity","resourceKind","resourceId","lastOpenedAt","AgentRow","$inferSelect","listActiveAgents","projectIds","options","selectAgentBySlug","selectActiveAgentsByIds","ids","selectActiveAgentById","AgentSessionRow","AgentSessionSourceFilter","selectAgentSessionById","addAgentSessionDuration","deltaMs","AgentEventRow","TriggerAttachmentRow","getTriggerAttachmentBySlug","selectWebhookTriggerAttachments","selectEphemeralTriggerAttachmentsByAgentSlug","selectEphemeralTriggerAttachments","TriggerScheduleRow","UpsertTriggerScheduleValues","selectTriggerScheduleBySlug","upsertTriggerSchedule","values","disableAllTriggerSchedules","now","disableTriggerSchedulesNotInSlugs","attachmentKeys","listEnabledTriggerSchedules","claimDueTriggerSchedules","resolveNextRunAt","limit","listTriggerSchedulesBySlugs","triggerRunSummaryFromRow","TriggerRunRow","WorkflowRunRow","row","workflowRun","agentSession","triggerRunRecordFromRow","WorkflowEventRow","AppendWorkflowEventValues","listStepCompletedEvents","TraceLogRow","TraceSpanRow","createDatabaseTracingSink","flushNow","TraceTriggerSummary","TraceGatewaySummary","gatewayAttachmentId","gatewayAttachmentKey","TraceResponse","gateway","spans","logs","getTraceForWorkflowRun","workflowRunId","getTraceForTriggerRun","getTraceForAgentSession","workflowRunSummaryFromRow","workflowRunRecordFromRow","triggerRunDetailFromRow","workflowStepRunFromEvent","actionKey","completedAt","traceResponseToJson","trace","selectWorkflowRunById","listWorkflowRunsByWorkflowSlug","selectWorkflowRunForWorkflow","listWorkflowRunsPaginated","ReturnType","cursor","items","nextCursor","WorkflowHookRow","InsertWorkflowHookValues","requeueExpiredLeases","GatewayAttachmentRow","GatewayChannelConflictError","Error","ownerProjectId","constructor","getActiveOrgGatewayAttachmentByChannel","getActiveOrgGatewayAttachmentByTeamAndChannel","getActiveGatewayAttachmentByChannel","listActiveGatewayAttachments","ActiveGatewayBinding","listActiveOrgGatewayBindingsByPlatform","listActiveGatewayAttachmentsByAgentSlug","softDeleteGatewayAttachmentsForAgentPlatformTeam","listActiveGatewayAttachmentsByPlatform","softDeleteGatewayAttachmentByChannel","upsertGatewayAttachmentByChannel","getGatewayAttachmentBySlug","GatewayThreadSessionRow","selectGatewayThreadSessionByThreadId","WorkflowRow","listActiveWorkflows","selectActiveWorkflowBySlug","selectActiveWorkflowsByIds","selectActiveWorkflowById","SkillRow","listActiveSkills","selectActiveSkillsByIds","selectActiveSkillById","WorkflowSubscriptionRow","InsertWorkflowSubscriptionValues","UpdateWorkflowSubscriptionValues","selectWorkflowSubscriptionById","selectWorkflowSubscriptionByWorkflowAndUser","listWorkflowSubscriptionsByWorkflowSlug","listEnabledWorkflowSubscriptionsByWorkflowSlug","insertWorkflowSubscription","updateWorkflowSubscriptionById","deleteWorkflowSubscriptionById","ResourceActivityRow","TouchResourceActivityInput","touchResourceActivity","listRecentResourceActivity","selectWorkflowLastRunAtByIds","Map","workflowIds","selectAgentLastRunAtByIds","agentIds","ProjectResourceCounts","agentCount","workflowCount","skillCount","selectProjectResourceCounts","ListHistoryRunsOptions","HistoryRunCore","Omit","buildHistoryWorkflowRunDetail","buildHistoryAgentSessionDetail","listHistoryRuns","findHistoryRunCore","CredentialInstanceRow","InsertCredentialInstanceValues","listAllCredentialInstances","listCredentialInstancesByConnectionId","selectCredentialInstanceById","listCredentialInstancesByScope","selectCredentialInstancesForScope","upsertCredentialInstance","deleteCredentialInstanceById","clearCredentialInstanceDefaults","exceptId","createPgDb","NodePgDatabase","pool","usageRecords","runKind","quantity","unit","amount","jobs","targetId","scheduledAt","attempt","maxAttempts","leasedBy","leaseExpiresAt","$client","Database","DatabaseDialect","PgPool","PgDatabase","SqliteDatabase","AppDatabase","DatabaseHandle","db","searchPath","close","InitDatabaseOptions","migrate","migrationsFolder","max","closeAllProjectDatabasePools","isDatabaseInitialized","getDatabaseHandle","initDatabase","RunWithProjectDatabaseOptions","runWithProjectDatabase","ConnectionOptions","PgConnectionOptions","SqliteConnectionOptions","createPgConnection","PostgresCancelHandler","PostgresCancelChannel","publishCancel","subscribeCancel","handler","createPostgresCancelChannel","connectionString","channel","createSqliteConnection","createConnection","inferDialect","override","resolveMigrationsFolder","runMigrations","handle","cancelWorkflowRun","cancelAgentSession","RunSource","runSource","sourceFromSpan","span","resolveRunSourceFromTraceContext","DiscoveredAgentRecord","AgentRegistryEntry","MESSAGE_EVENT_TYPE","syncAgentRegistry","records","getAgentByRoute","AgentSession","createSession","getSession","touchSession","nextSeq","appendEvent","listMessageEvents","countMessageEvents","AgentEventRecord","listSessionEvents","LlmUsageRecordInput","recordLlmUsageFromAssistantMessage","usage","AgentSessionStatus$1","agentSessionSummaryFromParts","messageCount","agentSessionRecordFromParts","gatewaySessionDetailFromParts","agentEventFromRow","AgentSessionStatus","AgentSessionSource","listAgentSessionsPaginated","AgentSessionDetailInclude","buildAgentSessionDetail","include","session","messages","events","DiscoveredSkillRecord","SkillRegistryEntry","syncSkillRegistry","TriggerAttachmentRegistryEntry","DiscoveredTriggerAttachmentRecord","syncTriggerAttachmentRegistry","CreateAgentAttachmentExecutionInput","createAgentAttachmentExecution","getTriggerRunForAgentSession","EPHEMERAL_TRIGGER_MODULE_FILE","UpsertEphemeralTriggerInput","Extract","upsertEphemeralTrigger","deleteEphemeralTrigger","isEphemeralTriggerActive","recordEphemeralTriggerExecution","selectActiveEphemeralScheduledAttachmentSlugs","selectActiveEphemeralCronAttachmentSlugs","getOrCreateGatewayThreadSession","existingSessionId","DiscoveredWorkflowRecord","WorkflowRegistryEntry","syncWorkflowRegistry","WorkflowSubscriptionProfile","getWorkflowSubscription","listCredentialInstancesForBinding","CreateWorkflowRunInput","CreateAttachmentExecutionInput","Exclude","createWorkflowRun","createPendingWorkflowRun","markWorkflowRunRunning","markWorkflowRunSleeping","markWorkflowRunWaitingHook","completeWorkflowRun","failWorkflowRun","recordWorkflowLlmUsage","finalizeCanceledWorkflowRun","createAttachmentExecution","createPendingAttachmentExecution","markAttachmentExecutionRunning","WorkflowRunDetailInclude","buildWorkflowRunDetail","run","steps","WorkflowEventRecord","EventLog","append","event","listReplay","createDatabaseEventLog","WorkflowHookRecord","HookStore","create","getByToken","markResumed","createDatabaseHookStore","TriggerRunDetailInclude","listTriggerRunsPaginated","buildTriggerRunDetail","Array","encryptCredentialPayload","plaintext","decryptCredentialPayload","setCredentialInstanceValue","value","SecretValueRow","selectSecretValue","upsertSecretValue","deleteSecretValuesForRef","CreateDatabaseOAuthTokenAdapterOptions","tokenRefresh","createDatabaseOAuthTokenAdapter","OAuthAppRow","InsertOAuthAppValues","DecryptedOAuthApp","clientId","clientSecret","signingSecret","DecryptedOAuthConnection","accessToken","refreshToken","EnsureOAuthAppOptions","getDecryptedOAuthAppBySlug","getDecryptedOAuthAppById","ensureOAuthApp","created","updated","OAuthConnectionRow","InsertOAuthConnectionValues","getDecryptedOAuthConnectionById","getDecryptedOAuthConnectionsByAppSlug","appKey","getDecryptedOAuthConnectionByAppSlugAndExternalId","saveOAuthConnection","OAuthCredentialTargets","projectNamesById","organization","ensureOAuthCredentialInstance","accountLabel","targets","KeystrokeCredentialTargets","ensureKeystrokeCredentialInstance","resolveOAuthAccessToken","connection","app","EnqueueJobInput","ClaimedJob","JobSnapshot","enqueueJob","claimNextJob","workerId","markJobComplete","jobId","markJobFailed","scheduleJobRetry","delayMs","getJobByRunId","DatabaseSync","Static","Static$1","TSchema","Type","URL","URL$1","URLSearchParams","URLSearchParams$1","Duplex","Readable","Writable","EventEmitter","Blob","Blob$1","File","File$1","ConnectionOptions","TLSSocket","IpcNetConnectOpts","Socket","TcpNetConnectOpts","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","TextContent","type","text","textSignature","ImageContent","data","mimeType","Tool","TParameters","name","description","parameters","AutocompletePrimitiveBaseType$1","T","Autocomplete$1","Record","IncomingHttpHeaders$1","HeaderNames$1","IANARegisteredMimeType$1","KnownHeaderValues$1","HeaderRecord$1","Lowercase","K","BodyReadable$1","Uint8Array","ArrayBuffer","AbortSignal","constructor","resume","this","size","abort","contentType","contentLength","highWaterMark","opts","json","blob","bytes","arrayBuffer","formData","bodyUsed","body","dump","signal","BodyInit$1","AsyncIterable","FormData$2","Iterable","NodeJS","ArrayBufferView","SpecIterator$1","TReturn","TNext","IteratorResult","next","args","SpecIterableIterator$1","Symbol","iterator","SpecIterable$1","HeadersInit$1","Headers$2","init","append","value","delete","get","has","set","getSetCookie","forEach","key","iterable","callbackfn","thisArg","keys","values","entries","FormDataEntryValue$1","toStringTag","fileName","getAll","buildConnector$1","BuildOptions","connector","CallbackArgs","Error","Options","Callback","allowH2","maxCachedSessions","socketPath","timeout","port","keepAlive","keepAliveInitialDelay","typeOfService","hostname","host","protocol","servername","localAddress","httpSocket","callback","ClientStats$1","Client$1","pool","connected","pending","running","ClientConnectOptions$1","Dispatcher$1","ConnectOptions","Omit","ConnectData","url","pipelining","closed","destroyed","stats","connect","err","DispatchInterceptor","OptionsInterceptors","Client","interceptors","maxHeaderSize","headersTimeout","socketTimeout","requestTimeout","connectTimeout","bodyTimeout","idleTimeout","keepAliveTimeout","maxKeepAliveTimeout","keepAliveMaxTimeout","keepAliveTimeoutThreshold","tls","strictContentLength","maxRequestsPerClient","maxResponseSize","autoSelectFamily","autoSelectFamilyAttemptTimeout","maxConcurrentStreams","initialWindowSize","connectionWindowSize","pingInterval","SocketInfo","localPort","remoteAddress","remotePort","remoteFamily","bytesWritten","bytesRead","Errors$1","UndiciError","code","ConnectTimeoutError","HeadersTimeoutError","HeadersOverflowError","BodyTimeoutError","ResponseError","message","headers","statusCode","InvalidArgumentError","InvalidReturnValueError","RequestAbortedError","InformationalError","RequestContentLengthMismatchError","ResponseContentLengthMismatchError","ClientDestroyedError","ClientClosedError","SocketError","socket","NotSupportedError","BalancedPoolMissingUpstreamError","HTTPParserError","ResponseExceededMaxSizeError","RequestRetryError","count","SecureProxyConnectionError","cause","MaxOriginsReachedError","Socks5ProxyError","MessageSizeExceededError","AbortSignal$2","UndiciHeaders$1","TOpaque","DispatchOptions","DispatchHandler","DispatcherComposeInterceptor","ComposedDispatcher","RequestOptions","ResponseData","PipelineOptions","PipelineHandler","StreamFactory","StreamData","UpgradeOptions","UpgradeData","dispatch","handler","compose","dispatchers","request","pipeline","stream","factory","upgrade","destroy","on","eventName","origin","targets","error","once","off","addListener","removeListener","prependListener","prependOnceListener","listeners","rawListeners","emit","Dispatch","HttpMethod","Buffer","BodyMixin","StreamFactoryData","DispatchController","PipelineHandlerData","method","idempotent","blocking","reset","throwOnError","expectContinue","opaque","redirectionLimitReached","responseHeaders","onInfo","info","objectMode","statusText","trailers","context","aborted","paused","reason","pause","onRequestStart","controller","onRequestUpgrade","onResponseStart","statusMessage","onResponseData","chunk","onResponseEnd","onResponseError","onConnect","onError","onUpgrade","onResponseStarted","onHeaders","onData","onComplete","onBodySent","chunkSize","totalBytesSent","MockScope$1","TData","MockInterceptor$1","MockDispatch","mockDispatch","delay","waitInMs","persist","times","repeatTimes","TError","MockReplyOptionsCallback","MockResponseDataHandler","MockResponseOptions","mockDispatches","reply","replyOptionsCallback","responseOptions","replyWithError","defaultReplyHeaders","defaultReplyTrailers","replyContentLength","RegExp","MockDispatchData","MockResponseCallbackOptions","consumed","AutocompletePrimitiveBaseType","Autocomplete","IncomingHttpHeaders","HeaderNames","IANARegisteredMimeType","KnownHeaderValues","HeaderRecord","BodyReadable","BodyInit","FormData$1","SpecIterator","SpecIteratorObject","U","S","Iterator","map","index","filter","predicate","take","drop","flatMap","reduce","previousValue","currentValue","currentIndex","initialValue","toArray","some","every","find","SpecIterableIterator","SpecIterable","HeadersInit","Headers$1","_0","sideEffect","FormDataEntryValue","buildConnector","ClientStats","ClientConnectOptions","Dispatcher","Errors","AbortSignal$1","UndiciHeaders","MockScope","MockInterceptor","ToolExecutionMode","AgentToolResult","content","details","terminate","AgentToolUpdateCallback","partialResult","AgentTool","TDetails","label","prepareArguments","execute","toolCallId","params","onUpdate","executionMode","BashExecutionMessage","command","output","exitCode","cancelled","truncated","fullOutputPath","timestamp","excludeFromContext","CustomMessage","customType","display","BranchSummaryMessage","summary","fromId","CompactionSummaryMessage","tokensBefore","_1","CustomAgentMessages","bashExecution","custom","branchSummary","compactionSummary","createMemorySearchTool","TString","TLiteral","TUnion","TOptional","TNumber","TBoolean","TObject","scope","full","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","LlmUsageRecordInput","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","RunLlmHooks","onUsage","usage","runLlm","opts","hooks","ForcedToolChoice","type","function","forceToolChoice","api","toolName","resolveAgentWorkspaceRoot","AgentAssetInput","skillKeys","ResolvedAgentAssets","loadAssetManifest","resolveAgentAssets","ResolvedAgentTools","resolveAgentTools","resolver"],"sources":["../../agent/dist/schemas-2vNCq27N.d.mts","../../database/dist/index.d.mts","../../memory/dist/index.d.mts","../../agent/dist/index.d.mts"],"mappings":";;;;;;;;;;;;;;;;;;KAKKK,YAAAA;AAAAA,cACSC,kBAAAA,EAAoBF,CAAAA,CAAEG,SAAS;;iBAE5BC,iBAAAA,CAAkBC,OAAAA,EAASJ,YAAAA,GAAeF,KAAK;AAAA;AAAA,cAGlDO,mBAAAA,EAAqBN,CAAAA,CAAEO,OAAO;EAC1CC,GAAAA;EACAC,OAAAA;EACAC,GAAAA;EACAC,MAAAA;EACAC,IAAAA;EACAC,KAAAA;AAAAA;AAAAA,cAEYC,sBAAAA;AAdG;AAAA,cAgBHC,sBAAAA,EAAwBf,CAAAA,CAAEoB,SAAAA;EACtCC,YAAAA,EAAcrB,CAAAA,CAAEgB,SAAAA;EAChBM,KAAAA,EAAOtB,CAAAA,CAAEG,SAAAA;EACToB,aAAAA,EAAevB,CAAAA,CAAEiB,WAAAA,CAAYjB,CAAAA,CAAEO,OAAAA;IAC7BC,GAAAA;IACAC,OAAAA;IACAC,GAAAA;IACAC,MAAAA;IACAC,IAAAA;IACAC,KAAAA;EAAAA;AAAAA,GAEDb,CAAAA,CAAEkB,IAAAA,CAAKC,MAAAA;AAAAA,KACLK,gBAAAA,GAAmBxB,CAAAA,CAAEyB,KAAK,QAAQV,sBAAAA;AAAAA,iBACtBW,qBAAAA,CAAsBC,KAAAA,YAAi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AAAA;EAAAA;AAAAA;EAGFL,IAAAA;IACEK,IAAAA;EAAAA;AAAAA;;;;;iBAOagF,eAAAA,CAAgBC,GAAAA,EAAK5I,GAAAA,EAAK6I,QAAAA,WAAmBL,gBAAgB;AAAA;;;;;;ADkhDnE;AAAA;;;;iBCrgDMM,yBAAAA,CAA0BnD,OAAAA,UAAiB+B,OAAAA;EAC1D/C,cAAAA;EACAC,aAAAA;EACAZ,OAAAA,GAAUnC,iBAAAA;EACViC,MAAAA,GAAShC,eAAAA;AAAAA,IACPiB,OAAAA;AAAAA;AAAAA,KAGCgG,eAAAA;EACHC,SAAAA;EACAjF,KAAAA;EACAyC,SAAAA;EACAyB,OAAAA;AAAAA;AAAAA,KAEGgB,mBAAAA;EACHnF,MAAAA,GAAShC,eAAAA;EACTkC,OAAAA,GAAUnC,iBAAiB;AAAA;AAAA,iBAEZqH,iBAAAA,CAAkBjB,OAAAA,WAAkBxG,aAAa;;iBAEjD0H,kBAAAA,CAAmB9C,KAAAA,EAAO0C,eAAAA,GAAkBE,mBAAmB;AAAA;AAAA,KAG3EG,kBAAAA;EACH9G,KAAAA,EAAOlE,SAAAA;EACPyH,cAAAA,EAAgBzF,aAAe;AAAA;AAAA,iBAEhBiJ,iBAAAA,CAAkB/G,KAAAA,EAAOmB,KAAAA,CAAMtC,gBAAAA,GAAmB/C,SAAAA,GAAYmF,YAAAA,GAAe+F,QAAAA,EAAUhI,sBAAAA,GAAyByB,OAAAA,CAAQqG,kBAAAA"}
1
+ {"version":3,"file":"index-VCi-jUnh.d.mts","names":["h","ThinkingLevel","r","Model","z","AgentModelId","AgentModelIdSchema","ZodCustom","resolveAgentModel","modelId","ThinkingLevelSchema","ZodEnum","off","minimal","low","medium","high","xhigh","DEFAULT_THINKING_LEVEL","AgentCreateInputSchema","ZodString","ZodOptional","core","$strip","ZodObject","systemPrompt","model","thinkingLevel","AgentCreateInput","infer","parseAgentCreateInput","input","resolveThinkingLevel","level","a","c","i","l","n","o","s","t","_$drizzle_orm_node_postgres0","Pool","TracingSink","CredentialAuthKind","CredentialScopeType","HistoryAgentSessionDetail","HistoryRun","HistoryRunKind","HistoryRunStatus","HistoryWorkflowRunDetail","OAuthTokenAdapter","OAuthTokenRefreshRegistry","RunSourceKind","WorkflowEventType","DEFAULT_DATABASE_URL","runWithTenantScope","T","Promise","tenantId","fn","getServerTenantScopeId","DEFAULT_PROJECT_ID","runWithProjectScope","projectId","getBoundProjectScopeId","getProjectScopeId","PostgresConnectionConfig","host","port","database","user","password","ssl","qualifyConnectionUser","NodeJS","ProcessEnv","env","buildPostgresUrl","config","parsePostgresUrl","url","resolvePostgresConfigFromEnv","resolvePostgresUrlFromEnv","resolveProjectDatabaseUrlFromEnv","resolveDatabaseUrlFromEnv","closeDatabase","StoredRunSourceKind$1","agentSessions","_$drizzle_orm_pg_core0","PgColumn","Date","PgTableWithColumns","name","schema","columns","id","tableName","dataType","columnType","data","driverParam","notNull","hasDefault","isPrimaryKey","isAutoincrement","hasRuntimeDefault","enumValues","baseColumn","identity","generated","agentId","sourceKind","$type","sourceId","parentSpanId","ranByUserId","canceledAt","totalDurationMs","createdAt","updatedAt","deletedAt","dialect","UsageRunKind","TriggerScheduleKind","triggerSchedules","attachmentSlug","kind","schedule","nextRunAt","enabled","TriggerRunType","triggerRuns","attachmentId","sourcePath","triggerType","payload","triggeredAt","WorkflowRunStatus","WorkflowRunTrigger","StoredRunSourceKind","workflowRuns","workflowSlug","subscriptionId","triggerRunId","parentWorkflowRunId","status","trigger","startedAt","finishedAt","input","output","error","WorkflowHookStatus","workflowHooks","hookId","runId","token","correlationId","resumedAt","JobKind","JobStatus","JobTrigger","TraceSpanKind","TraceSpanStatus","traceSpans","traceId","refId","metadata","TraceLogLevel","TraceLogSource","traceLogs","spanId","seq","level","message","source","OAuthTokenStrategy","OAuthAppMetadata","appName","scopes","oauthApps","provider","slug","tokenStrategy","clientIdCiphertext","clientSecretCiphertext","signingSecretCiphertext","redirectUri","OAuthConnectionMetadata","Record","oauthConnections","appId","externalId","accessTokenCiphertext","refreshTokenCiphertext","accessTokenExpiresAt","grantedScopes","connectedAt","agents","description","route","moduleFile","model","systemPrompt","toolCount","credentialCount","registeredAt","agentEvents","sessionId","eventType","StoredTriggerTargetKind","StoredTriggerOrigin","StoredTriggerLifecycleStatus","StoredTriggerLifecycle","maxExecutions","until","executionCount","StoredTriggerSource","key","endpoint","requestSchema","filterSchema","code","triggerAttachments","targetKind","agentSlug","origin","prompt","lifecycle","createdBySessionId","workflowEvents","type","credentialInstances","scopeType","scopeId","label","isDefault","authKind","ciphertext","connectionId","SlackGatewayMode","StoredGatewaySource","mode","credentialKey","channelIds","subscribeOnMention","channelName","channelKind","gatewayAttachments","platform","teamId","channelId","gatewayAttachmentKeyForChannel","gatewayThreadSessions","threadId","SecretRefKind","SecretField","secretValues","refKind","field","skills","workflows","subscribable","workflowSubscriptions","userId","resourceActivityKinds","ResourceActivityKind","resourceActivity","resourceKind","resourceId","lastOpenedAt","AgentRow","$inferSelect","listActiveAgents","projectIds","options","selectAgentBySlug","selectActiveAgentsByIds","ids","selectActiveAgentById","AgentSessionRow","AgentSessionSourceFilter","selectAgentSessionById","addAgentSessionDuration","deltaMs","AgentEventRow","TriggerAttachmentRow","getTriggerAttachmentBySlug","selectWebhookTriggerAttachments","selectEphemeralTriggerAttachmentsByAgentSlug","selectEphemeralTriggerAttachments","TriggerScheduleRow","UpsertTriggerScheduleValues","selectTriggerScheduleBySlug","upsertTriggerSchedule","values","disableAllTriggerSchedules","now","disableTriggerSchedulesNotInSlugs","attachmentKeys","listEnabledTriggerSchedules","claimDueTriggerSchedules","resolveNextRunAt","limit","listTriggerSchedulesBySlugs","triggerRunSummaryFromRow","TriggerRunRow","WorkflowRunRow","row","workflowRun","agentSession","triggerRunRecordFromRow","WorkflowEventRow","AppendWorkflowEventValues","listStepCompletedEvents","TraceLogRow","TraceSpanRow","createDatabaseTracingSink","flushNow","TraceTriggerSummary","TraceGatewaySummary","gatewayAttachmentId","gatewayAttachmentKey","TraceResponse","gateway","spans","logs","getTraceForWorkflowRun","workflowRunId","getTraceForTriggerRun","getTraceForAgentSession","workflowRunSummaryFromRow","workflowRunRecordFromRow","triggerRunDetailFromRow","workflowStepRunFromEvent","actionKey","completedAt","traceResponseToJson","trace","selectWorkflowRunById","listWorkflowRunsByWorkflowSlug","selectWorkflowRunForWorkflow","listWorkflowRunsPaginated","ReturnType","cursor","items","nextCursor","WorkflowHookRow","InsertWorkflowHookValues","requeueExpiredLeases","GatewayAttachmentRow","GatewayChannelConflictError","Error","ownerProjectId","constructor","getActiveOrgGatewayAttachmentByChannel","getActiveOrgGatewayAttachmentByTeamAndChannel","getActiveGatewayAttachmentByChannel","listActiveGatewayAttachments","ActiveGatewayBinding","listActiveOrgGatewayBindingsByPlatform","listActiveGatewayAttachmentsByAgentSlug","softDeleteGatewayAttachmentsForAgentPlatformTeam","listActiveGatewayAttachmentsByPlatform","softDeleteGatewayAttachmentByChannel","upsertGatewayAttachmentByChannel","getGatewayAttachmentBySlug","GatewayThreadSessionRow","selectGatewayThreadSessionByThreadId","WorkflowRow","listActiveWorkflows","selectActiveWorkflowBySlug","selectActiveWorkflowsByIds","selectActiveWorkflowById","SkillRow","listActiveSkills","selectActiveSkillsByIds","selectActiveSkillById","WorkflowSubscriptionRow","InsertWorkflowSubscriptionValues","UpdateWorkflowSubscriptionValues","selectWorkflowSubscriptionById","selectWorkflowSubscriptionByWorkflowAndUser","listWorkflowSubscriptionsByWorkflowSlug","listEnabledWorkflowSubscriptionsByWorkflowSlug","insertWorkflowSubscription","updateWorkflowSubscriptionById","deleteWorkflowSubscriptionById","ResourceActivityRow","TouchResourceActivityInput","touchResourceActivity","listRecentResourceActivity","selectWorkflowLastRunAtByIds","Map","workflowIds","selectAgentLastRunAtByIds","agentIds","ProjectResourceCounts","agentCount","workflowCount","skillCount","selectProjectResourceCounts","ListHistoryRunsOptions","HistoryRunCore","Omit","buildHistoryWorkflowRunDetail","buildHistoryAgentSessionDetail","listHistoryRuns","findHistoryRunCore","CredentialInstanceRow","InsertCredentialInstanceValues","listAllCredentialInstances","listCredentialInstancesByConnectionId","selectCredentialInstanceById","listCredentialInstancesByScope","selectCredentialInstancesForScope","upsertCredentialInstance","deleteCredentialInstanceById","clearCredentialInstanceDefaults","exceptId","createPgDb","NodePgDatabase","pool","usageRecords","runKind","quantity","unit","amount","jobs","targetId","scheduledAt","attempt","maxAttempts","leasedBy","leaseExpiresAt","$client","Database","DatabaseDialect","PgPool","PgDatabase","SqliteDatabase","AppDatabase","DatabaseHandle","db","searchPath","close","InitDatabaseOptions","migrate","migrationsFolder","max","closeAllProjectDatabasePools","isDatabaseInitialized","getDatabaseHandle","initDatabase","RunWithProjectDatabaseOptions","runWithProjectDatabase","ConnectionOptions","PgConnectionOptions","SqliteConnectionOptions","createPgConnection","PostgresCancelHandler","PostgresCancelChannel","publishCancel","subscribeCancel","handler","createPostgresCancelChannel","connectionString","channel","createSqliteConnection","createConnection","inferDialect","override","resolveMigrationsFolder","runMigrations","handle","cancelWorkflowRun","cancelAgentSession","RunSource","runSource","sourceFromSpan","span","resolveRunSourceFromTraceContext","DiscoveredAgentRecord","AgentRegistryEntry","MESSAGE_EVENT_TYPE","syncAgentRegistry","records","getAgentByRoute","AgentSession","createSession","getSession","touchSession","nextSeq","appendEvent","listMessageEvents","countMessageEvents","AgentEventRecord","listSessionEvents","LlmUsageRecordInput","recordLlmUsageFromAssistantMessage","usage","AgentSessionStatus$1","agentSessionSummaryFromParts","messageCount","agentSessionRecordFromParts","gatewaySessionDetailFromParts","agentEventFromRow","AgentSessionStatus","AgentSessionSource","listAgentSessionsPaginated","AgentSessionDetailInclude","buildAgentSessionDetail","include","session","messages","events","DiscoveredSkillRecord","SkillRegistryEntry","syncSkillRegistry","TriggerAttachmentRegistryEntry","DiscoveredTriggerAttachmentRecord","syncTriggerAttachmentRegistry","CreateAgentAttachmentExecutionInput","createAgentAttachmentExecution","getTriggerRunForAgentSession","EPHEMERAL_TRIGGER_MODULE_FILE","UpsertEphemeralTriggerInput","Extract","upsertEphemeralTrigger","deleteEphemeralTrigger","isEphemeralTriggerActive","recordEphemeralTriggerExecution","selectActiveEphemeralScheduledAttachmentSlugs","selectActiveEphemeralCronAttachmentSlugs","getOrCreateGatewayThreadSession","existingSessionId","DiscoveredWorkflowRecord","WorkflowRegistryEntry","syncWorkflowRegistry","WorkflowSubscriptionProfile","getWorkflowSubscription","listCredentialInstancesForBinding","CreateWorkflowRunInput","CreateAttachmentExecutionInput","Exclude","createWorkflowRun","createPendingWorkflowRun","markWorkflowRunRunning","markWorkflowRunSleeping","markWorkflowRunWaitingHook","completeWorkflowRun","failWorkflowRun","recordWorkflowLlmUsage","finalizeCanceledWorkflowRun","createAttachmentExecution","createPendingAttachmentExecution","markAttachmentExecutionRunning","WorkflowRunDetailInclude","buildWorkflowRunDetail","run","steps","WorkflowEventRecord","EventLog","append","event","listReplay","createDatabaseEventLog","WorkflowHookRecord","HookStore","create","getByToken","markResumed","createDatabaseHookStore","TriggerRunDetailInclude","listTriggerRunsPaginated","buildTriggerRunDetail","Array","encryptCredentialPayload","plaintext","decryptCredentialPayload","setCredentialInstanceValue","value","SecretValueRow","selectSecretValue","upsertSecretValue","deleteSecretValuesForRef","CreateDatabaseOAuthTokenAdapterOptions","tokenRefresh","createDatabaseOAuthTokenAdapter","OAuthAppRow","InsertOAuthAppValues","DecryptedOAuthApp","clientId","clientSecret","signingSecret","DecryptedOAuthConnection","accessToken","refreshToken","EnsureOAuthAppOptions","getDecryptedOAuthAppBySlug","getDecryptedOAuthAppById","ensureOAuthApp","created","updated","OAuthConnectionRow","InsertOAuthConnectionValues","getDecryptedOAuthConnectionById","getDecryptedOAuthConnectionsByAppSlug","appKey","getDecryptedOAuthConnectionByAppSlugAndExternalId","saveOAuthConnection","OAuthCredentialTargets","projectNamesById","organization","ensureOAuthCredentialInstance","accountLabel","targets","KeystrokeCredentialTargets","ensureKeystrokeCredentialInstance","resolveOAuthAccessToken","connection","app","EnqueueJobInput","ClaimedJob","JobSnapshot","enqueueJob","claimNextJob","workerId","markJobComplete","jobId","markJobFailed","scheduleJobRetry","delayMs","getJobByRunId","DatabaseSync","Static","Static$1","TSchema","Type","URL","URL$1","URLSearchParams","URLSearchParams$1","Duplex","Readable","Writable","EventEmitter","Blob","Blob$1","File","File$1","ConnectionOptions","TLSSocket","IpcNetConnectOpts","Socket","TcpNetConnectOpts","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","TextContent","type","text","textSignature","ImageContent","data","mimeType","Tool","TParameters","name","description","parameters","AutocompletePrimitiveBaseType$1","T","Autocomplete$1","Record","IncomingHttpHeaders$1","HeaderNames$1","IANARegisteredMimeType$1","KnownHeaderValues$1","HeaderRecord$1","Lowercase","K","BodyReadable$1","Uint8Array","ArrayBuffer","AbortSignal","constructor","resume","this","size","abort","contentType","contentLength","highWaterMark","opts","json","blob","bytes","arrayBuffer","formData","bodyUsed","body","dump","signal","BodyInit$1","AsyncIterable","FormData$2","Iterable","NodeJS","ArrayBufferView","SpecIterator$1","TReturn","TNext","IteratorResult","next","args","SpecIterableIterator$1","Symbol","iterator","SpecIterable$1","HeadersInit$1","Headers$2","init","append","value","delete","get","has","set","getSetCookie","forEach","key","iterable","callbackfn","thisArg","keys","values","entries","FormDataEntryValue$1","toStringTag","fileName","getAll","buildConnector$1","BuildOptions","connector","CallbackArgs","Error","Options","Callback","allowH2","maxCachedSessions","socketPath","timeout","port","keepAlive","keepAliveInitialDelay","typeOfService","hostname","host","protocol","servername","localAddress","httpSocket","callback","ClientStats$1","Client$1","pool","connected","pending","running","ClientConnectOptions$1","Dispatcher$1","ConnectOptions","Omit","ConnectData","url","pipelining","closed","destroyed","stats","connect","err","DispatchInterceptor","OptionsInterceptors","Client","interceptors","maxHeaderSize","headersTimeout","socketTimeout","requestTimeout","connectTimeout","bodyTimeout","idleTimeout","keepAliveTimeout","maxKeepAliveTimeout","keepAliveMaxTimeout","keepAliveTimeoutThreshold","tls","strictContentLength","maxRequestsPerClient","maxResponseSize","autoSelectFamily","autoSelectFamilyAttemptTimeout","maxConcurrentStreams","initialWindowSize","connectionWindowSize","pingInterval","SocketInfo","localPort","remoteAddress","remotePort","remoteFamily","bytesWritten","bytesRead","Errors$1","UndiciError","code","ConnectTimeoutError","HeadersTimeoutError","HeadersOverflowError","BodyTimeoutError","ResponseError","message","headers","statusCode","InvalidArgumentError","InvalidReturnValueError","RequestAbortedError","InformationalError","RequestContentLengthMismatchError","ResponseContentLengthMismatchError","ClientDestroyedError","ClientClosedError","SocketError","socket","NotSupportedError","BalancedPoolMissingUpstreamError","HTTPParserError","ResponseExceededMaxSizeError","RequestRetryError","count","SecureProxyConnectionError","cause","MaxOriginsReachedError","Socks5ProxyError","MessageSizeExceededError","AbortSignal$2","UndiciHeaders$1","TOpaque","DispatchOptions","DispatchHandler","DispatcherComposeInterceptor","ComposedDispatcher","RequestOptions","ResponseData","PipelineOptions","PipelineHandler","StreamFactory","StreamData","UpgradeOptions","UpgradeData","dispatch","handler","compose","dispatchers","request","pipeline","stream","factory","upgrade","destroy","on","eventName","origin","targets","error","once","off","addListener","removeListener","prependListener","prependOnceListener","listeners","rawListeners","emit","Dispatch","HttpMethod","Buffer","BodyMixin","StreamFactoryData","DispatchController","PipelineHandlerData","method","idempotent","blocking","reset","throwOnError","expectContinue","opaque","redirectionLimitReached","responseHeaders","onInfo","info","objectMode","statusText","trailers","context","aborted","paused","reason","pause","onRequestStart","controller","onRequestUpgrade","onResponseStart","statusMessage","onResponseData","chunk","onResponseEnd","onResponseError","onConnect","onError","onUpgrade","onResponseStarted","onHeaders","onData","onComplete","onBodySent","chunkSize","totalBytesSent","MockScope$1","TData","MockInterceptor$1","MockDispatch","mockDispatch","delay","waitInMs","persist","times","repeatTimes","TError","MockReplyOptionsCallback","MockResponseDataHandler","MockResponseOptions","mockDispatches","reply","replyOptionsCallback","responseOptions","replyWithError","defaultReplyHeaders","defaultReplyTrailers","replyContentLength","RegExp","MockDispatchData","MockResponseCallbackOptions","consumed","AutocompletePrimitiveBaseType","Autocomplete","IncomingHttpHeaders","HeaderNames","IANARegisteredMimeType","KnownHeaderValues","HeaderRecord","BodyReadable","BodyInit","FormData$1","SpecIterator","SpecIteratorObject","U","S","Iterator","map","index","filter","predicate","take","drop","flatMap","reduce","previousValue","currentValue","currentIndex","initialValue","toArray","some","every","find","SpecIterableIterator","SpecIterable","HeadersInit","Headers$1","_0","sideEffect","FormDataEntryValue","buildConnector","ClientStats","ClientConnectOptions","Dispatcher","Errors","AbortSignal$1","UndiciHeaders","MockScope","MockInterceptor","ToolExecutionMode","AgentToolResult","content","details","terminate","AgentToolUpdateCallback","partialResult","AgentTool","TDetails","label","prepareArguments","execute","toolCallId","params","onUpdate","executionMode","BashExecutionMessage","command","output","exitCode","cancelled","truncated","fullOutputPath","timestamp","excludeFromContext","CustomMessage","customType","display","BranchSummaryMessage","summary","fromId","CompactionSummaryMessage","tokensBefore","_1","CustomAgentMessages","bashExecution","custom","branchSummary","compactionSummary","createMemorySearchTool","TString","TLiteral","TUnion","TOptional","TNumber","TBoolean","TObject","scope","full","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","LlmUsageRecordInput","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","RunLlmHooks","onUsage","usage","runLlm","opts","hooks","ForcedToolChoice","type","function","forceToolChoice","api","toolName","resolveAgentWorkspaceRoot","AgentAssetInput","skillKeys","ResolvedAgentAssets","loadAssetManifest","resolveAgentAssets","ResolvedAgentTools","resolveAgentTools","resolver"],"sources":["../../agent/dist/schemas-2vNCq27N.d.mts","../../database/dist/index.d.mts","../../memory/dist/index.d.mts","../../agent/dist/index.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AAAA;AAAAA;AAAAA,KAEGgB,mBAAAA;EACHnF,MAAAA,GAAShC,eAAAA;EACTkC,OAAAA,GAAUnC,iBAAiB;AAAA;AAAA,iBAEZqH,iBAAAA,CAAkBjB,OAAAA,WAAkBxG,aAAa;;iBAEjD0H,kBAAAA,CAAmB9C,KAAAA,EAAO0C,eAAAA,GAAkBE,mBAAmB;AAAA;AAAA,KAG3EG,kBAAAA;EACH9G,KAAAA,EAAOlE,SAAAA;EACPyH,cAAAA,EAAgBzF,aAAe;AAAA;AAAA,iBAEhBiJ,iBAAAA,CAAkB/G,KAAAA,EAAOmB,KAAAA,CAAMtC,gBAAAA,GAAmB/C,SAAAA,GAAYmF,YAAAA,GAAe+F,QAAAA,EAAUhI,sBAAAA,GAAyByB,OAAAA,CAAQqG,kBAAAA"}
@@ -6,8 +6,8 @@ import { z } from "zod";
6
6
  /** How a credential instance is stored (`credential_instances.auth_kind`). */
7
7
  declare const CredentialAuthKindSchema: z.ZodEnum<{
8
8
  api_key: "api_key";
9
- oauth_managed: "oauth_managed";
10
9
  keystroke: "keystroke";
10
+ oauth_managed: "oauth_managed";
11
11
  }>;
12
12
  /**
13
13
  * Where a credential instance is stored (`credential_instances.scope_type`), and the only thing an
@@ -173,4 +173,4 @@ type OAuthTokenRefreshRegistry = {
173
173
  //#region src/types/openapi.d.ts
174
174
  //#endregion
175
175
  export { isCredentialInput as C, defineCredential as S, toCredentialRequirement as T, PromptLlmThinkingLevel as _, CredentialInput as a, credential as b, CredentialRunContext as c, DefineOAuthCredentialInput as d, DefineStaticCredentialInput as f, PromptLlmRunOptions as g, OAuthTokenRefreshRegistry as h, CredentialConsumer as i, CredentialScopeType as l, OAuthTokenAdapter as m, Credential as n, CredentialList as o, NormalizeCredential as p, CredentialAuthKind as r, CredentialRequirement as s, CREDENTIAL_SCOPE_TYPES as t, DefineCredentialInput as u, ResolvedCredentials as v, normalizeCredentialList as w, credentialInputSchema as x, WorkflowEventType as y };
176
- //# sourceMappingURL=index-hf0OTB6M.d.mts.map
176
+ //# sourceMappingURL=index-e9f4pcX4.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index-e9f4pcX4.d.cts","names":["ZodError","z","DISCOVERY_CONVENTIONS","agents","flat","nested","helpers","workflows","triggers","openapi","ACTIVE_ORG_COOKIE","ACTIVE_ORG_HEADER","RESERVED_ORGANIZATION_SLUGS","Set","OrganizationSlugSchema","ZodString","OrganizationSlug","infer","ClaimableOrganizationSlugSchema","previewOrganizationSlugFromName","name","slugifyOrganizationName","parseOrganizationSlug","input","ProjectSlugSchema","ProjectSlug","slugifyProjectName","parseProjectSlug","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","keystroke","AppSourceSchema","AppCatalogMetadataSchema","category","logo","authKind","oauthScopes","AppSeedEntrySchema","source","AppRecordSchema","ZodNullable","id","organizationId","createdAt","updatedAt","AppCatalogEntrySchema","integrationDescription","gateway","capabilities","mentions","reactions","full","none","cards","partial","modals","streaming","drafts","native","buffered","dms","supportedModes","mention","all","dm","resourceNoun","singular","plural","supportsChannelDirectory","webhookPathHint","docsUrl","tagline","ListAppsResponseSchema","apps","OAuthScopeOption","AppAuthKind","AppSource","AppCatalogMetadata","AppSeedEntry","AppRecord","AppCatalogEntry","ListAppsResponse","isOfficialSlug","qualifyOrgSlug","orgSlug","ParsedOfficialAppSlug","ParsedOrgAppSlug","ParsedAppSlug","parseAppSlug","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","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","CredentialAuthKind","CredentialScopeType","CREDENTIAL_AUTH_KINDS","CREDENTIAL_SCOPE_TYPES","displayCredentialAppName","appId","buildCredentialInstanceLabel","scopeType","appName","projectName","options","resolveUniqueCredentialInstanceLabel","Iterable","baseLabel","takenLabels","disambiguator","AppCredentialScopeSchema","AppCredentialConnectionKindSchema","manual","OAuthPermissionModeSchema","default","restricted","AppCredentialSummarySchema","scope","lastRefreshedAt","projectId","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","McpConnectionStatusSchema","INITIATED","ACTIVE","EXPIRED","FAILED","INACTIVE","REVOKED","McpConnectionStatus","McpAppSchema","connectionId","McpApp","ListMcpAppsResponseSchema","mcpEntityId","scopeId","KeystrokeCredentialSchema","entityId","instanceId","KeystrokeCredential","ExecuteKeystrokeToolRequestSchema","app","tool","arguments","ExecuteKeystrokeToolRequest","TeamRequestTypeSchema","contact","SubmitTeamRequestRequestSchema","message","SubmitTeamRequestResponseSchema","ok","TeamRequestType","SubmitTeamRequestRequest","SubmitTeamRequestResponse","CredentialRequirement","tokenField","Credential","K","S","CredentialInput","CredentialList","isCredentialInput","credentialInputSchema","ZodCustom","NormalizeCredential","T","ResolvedCredentials","R","staticCredential","ZodTypeAny","oauthCredential","accessToken","F","keystrokeCredential","static","DefineStaticCredentialInput","fields","DefineOAuthCredentialInput","DefineKeystrokeCredentialInput","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","selection","thinkingLevel","off","minimal","low","medium","high","xhigh","PromptInput","PromptResponseSchema","messages","PromptResponse","SkipResponseSchema","skipped","HealthResponseSchema","HealthResponse","PlatformInfoResponseSchema","service","PlatformInfoResponse","ConnectProviderSchema","requiresAuth","ConnectProvider","ConnectProvidersResponseSchema","providers","ConnectProvidersResponse","ConnectAuthorizeUrlResponseSchema","ConnectAuthorizeUrlResponse","QueuedRunResponseSchema","runId","QueuedRunResponse","QueuedAgentPromptResponseSchema","QueuedAgentPromptResponse","parsePromptInput","PollRunTargetSchema","attachments","PollRunTarget","PollRunRequestSchema","PollRunRequest","PollAttachmentResultSchema","attachmentKey","workflowKey","queued","PollAttachmentResult","PollRunMultiResponseSchema","results","PollRunMultiResponse","PollRunResponseSchema","PollRunResponse","parsePollRunRequest","RunSourceKindSchema","agent","trigger","workflow","api","RunSourceKind","RunSourceSchema","RunSource","AgentSessionSummarySchema","running","completed","failed","canceled","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","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","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","DownloadActiveProjectArtifactResponse","DownloadActiveProjectArtifactResponseSchema","artifactId","downloadUrl","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","files","resources","ListProjectFilesResponse","ProjectSourceFileSchema","contents","ProjectSourceFile","SourceBlobRefSchema","size","SourceBlobRef","PresignProjectSourceRequestSchema","blobs","PresignProjectSourceRequest","PresignedBlobUploadSchema","PresignedBlobUpload","PresignProjectSourceResponseSchema","uploads","PresignProjectSourceResponse","ManifestFileRefSchema","ManifestFileRef","UploadProjectSourceManifestRequestSchema","UploadProjectSourceManifestRequest","UploadProjectSourceResponseSchema","fileCount","UploadProjectSourceResponse","StoredManifestFileSchema","StoredManifestFile","StoredProjectSourceManifestSchema","generatedAt","StoredProjectSourceManifest","projectFileLanguage","projectFileId","PromptLlmThinkingLevel","PromptLlmRunOptions","prompt","outputSchema","temperature","maxTokens","stepId","CredentialRunContext","CredentialConsumer","CredentialSelectionOption","OAuthTokenAdapter","Promise","getAccessToken","OAuthAccessTokenRefreshParams","clientId","clientSecret","refreshToken","OAuthAccessTokenRefreshResult","Date","accessTokenExpiresAt","OAuthAccessTokenRefresher","params","OAuthTokenRefreshRegistry","register","appKey","refresher","get","DiscoveredModule","file","KeystrokeSchedule","OrganizationRow","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":";;;;;;cAszBcwO,wBAAAA,EAA0BvO,CAAAA,CAAE0D,OAAO;EAC/CuC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AAAA;EACHzrB,WAAAA;EACAwrB,YAAAA;EACAG,oBAAAA,GAAuBD,IAAI;AAAA;AAAA,KAExBE,yBAAAA,IAA6BC,MAAAA,EAAQR,6BAAAA,KAAkCF,OAAAA,CAAQM,6BAAAA;AAAAA,KAC/EK,yBAAAA;EACHC,QAAAA,CAASC,MAAAA,UAAgBC,SAAAA,EAAWL,yBAAAA;EACpCM,GAAAA,CAAIF,MAAAA,WAAiBJ,yBAAyB;AAAA;AAAA"}
@@ -6,8 +6,8 @@ import { z } from "zod";
6
6
  /** How a credential instance is stored (`credential_instances.auth_kind`). */
7
7
  declare const CredentialAuthKindSchema: z.ZodEnum<{
8
8
  api_key: "api_key";
9
- oauth_managed: "oauth_managed";
10
9
  keystroke: "keystroke";
10
+ oauth_managed: "oauth_managed";
11
11
  }>;
12
12
  /**
13
13
  * Where a credential instance is stored (`credential_instances.scope_type`), and the only thing an
@@ -173,4 +173,4 @@ type OAuthTokenRefreshRegistry = {
173
173
  //#region src/types/openapi.d.ts
174
174
  //#endregion
175
175
  export { isCredentialInput as C, defineCredential as S, toCredentialRequirement as T, PromptLlmThinkingLevel as _, CredentialInput as a, credential as b, CredentialRunContext as c, DefineOAuthCredentialInput as d, DefineStaticCredentialInput as f, PromptLlmRunOptions as g, OAuthTokenRefreshRegistry as h, CredentialConsumer as i, CredentialScopeType as l, OAuthTokenAdapter as m, Credential as n, CredentialList as o, NormalizeCredential as p, CredentialAuthKind as r, CredentialRequirement as s, CREDENTIAL_SCOPE_TYPES as t, DefineCredentialInput as u, ResolvedCredentials as v, normalizeCredentialList as w, credentialInputSchema as x, WorkflowEventType as y };
176
- //# sourceMappingURL=index-hf0OTB6M.d.cts.map
176
+ //# sourceMappingURL=index-e9f4pcX4.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index-e9f4pcX4.d.mts","names":["ZodError","z","DISCOVERY_CONVENTIONS","agents","flat","nested","helpers","workflows","triggers","openapi","ACTIVE_ORG_COOKIE","ACTIVE_ORG_HEADER","RESERVED_ORGANIZATION_SLUGS","Set","OrganizationSlugSchema","ZodString","OrganizationSlug","infer","ClaimableOrganizationSlugSchema","previewOrganizationSlugFromName","name","slugifyOrganizationName","parseOrganizationSlug","input","ProjectSlugSchema","ProjectSlug","slugifyProjectName","parseProjectSlug","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","keystroke","AppSourceSchema","AppCatalogMetadataSchema","category","logo","authKind","oauthScopes","AppSeedEntrySchema","source","AppRecordSchema","ZodNullable","id","organizationId","createdAt","updatedAt","AppCatalogEntrySchema","integrationDescription","gateway","capabilities","mentions","reactions","full","none","cards","partial","modals","streaming","drafts","native","buffered","dms","supportedModes","mention","all","dm","resourceNoun","singular","plural","supportsChannelDirectory","webhookPathHint","docsUrl","tagline","ListAppsResponseSchema","apps","OAuthScopeOption","AppAuthKind","AppSource","AppCatalogMetadata","AppSeedEntry","AppRecord","AppCatalogEntry","ListAppsResponse","isOfficialSlug","qualifyOrgSlug","orgSlug","ParsedOfficialAppSlug","ParsedOrgAppSlug","ParsedAppSlug","parseAppSlug","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","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","CredentialAuthKind","CredentialScopeType","CREDENTIAL_AUTH_KINDS","CREDENTIAL_SCOPE_TYPES","displayCredentialAppName","appId","buildCredentialInstanceLabel","scopeType","appName","projectName","options","resolveUniqueCredentialInstanceLabel","Iterable","baseLabel","takenLabels","disambiguator","AppCredentialScopeSchema","AppCredentialConnectionKindSchema","manual","OAuthPermissionModeSchema","default","restricted","AppCredentialSummarySchema","scope","lastRefreshedAt","projectId","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","McpConnectionStatusSchema","INITIATED","ACTIVE","EXPIRED","FAILED","INACTIVE","REVOKED","McpConnectionStatus","McpAppSchema","connectionId","McpApp","ListMcpAppsResponseSchema","mcpEntityId","scopeId","KeystrokeCredentialSchema","entityId","instanceId","KeystrokeCredential","ExecuteKeystrokeToolRequestSchema","app","tool","arguments","ExecuteKeystrokeToolRequest","TeamRequestTypeSchema","contact","SubmitTeamRequestRequestSchema","message","SubmitTeamRequestResponseSchema","ok","TeamRequestType","SubmitTeamRequestRequest","SubmitTeamRequestResponse","CredentialRequirement","tokenField","Credential","K","S","CredentialInput","CredentialList","isCredentialInput","credentialInputSchema","ZodCustom","NormalizeCredential","T","ResolvedCredentials","R","staticCredential","ZodTypeAny","oauthCredential","accessToken","F","keystrokeCredential","static","DefineStaticCredentialInput","fields","DefineOAuthCredentialInput","DefineKeystrokeCredentialInput","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","selection","thinkingLevel","off","minimal","low","medium","high","xhigh","PromptInput","PromptResponseSchema","messages","PromptResponse","SkipResponseSchema","skipped","HealthResponseSchema","HealthResponse","PlatformInfoResponseSchema","service","PlatformInfoResponse","ConnectProviderSchema","requiresAuth","ConnectProvider","ConnectProvidersResponseSchema","providers","ConnectProvidersResponse","ConnectAuthorizeUrlResponseSchema","ConnectAuthorizeUrlResponse","QueuedRunResponseSchema","runId","QueuedRunResponse","QueuedAgentPromptResponseSchema","QueuedAgentPromptResponse","parsePromptInput","PollRunTargetSchema","attachments","PollRunTarget","PollRunRequestSchema","PollRunRequest","PollAttachmentResultSchema","attachmentKey","workflowKey","queued","PollAttachmentResult","PollRunMultiResponseSchema","results","PollRunMultiResponse","PollRunResponseSchema","PollRunResponse","parsePollRunRequest","RunSourceKindSchema","agent","trigger","workflow","api","RunSourceKind","RunSourceSchema","RunSource","AgentSessionSummarySchema","running","completed","failed","canceled","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","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","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","DownloadActiveProjectArtifactResponse","DownloadActiveProjectArtifactResponseSchema","artifactId","downloadUrl","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","files","resources","ListProjectFilesResponse","ProjectSourceFileSchema","contents","ProjectSourceFile","SourceBlobRefSchema","size","SourceBlobRef","PresignProjectSourceRequestSchema","blobs","PresignProjectSourceRequest","PresignedBlobUploadSchema","PresignedBlobUpload","PresignProjectSourceResponseSchema","uploads","PresignProjectSourceResponse","ManifestFileRefSchema","ManifestFileRef","UploadProjectSourceManifestRequestSchema","UploadProjectSourceManifestRequest","UploadProjectSourceResponseSchema","fileCount","UploadProjectSourceResponse","StoredManifestFileSchema","StoredManifestFile","StoredProjectSourceManifestSchema","generatedAt","StoredProjectSourceManifest","projectFileLanguage","projectFileId","PromptLlmThinkingLevel","PromptLlmRunOptions","prompt","outputSchema","temperature","maxTokens","stepId","CredentialRunContext","CredentialConsumer","CredentialSelectionOption","OAuthTokenAdapter","Promise","getAccessToken","OAuthAccessTokenRefreshParams","clientId","clientSecret","refreshToken","OAuthAccessTokenRefreshResult","Date","accessTokenExpiresAt","OAuthAccessTokenRefresher","params","OAuthTokenRefreshRegistry","register","appKey","refresher","get","DiscoveredModule","file","KeystrokeSchedule","OrganizationRow","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":";;;;;;cAszBcwO,wBAAAA,EAA0BvO,CAAAA,CAAE0D,OAAO;EAC/CuC,OAAAA;EACAC,SAAAA;EACAsI,aAAAA;AAAAA;;;;;;cAOYC,yBAAAA,EAA2BzO,CAAAA,CAAE0D,OAAO;EAChDgL,YAAAA;EACAC,IAAAA;EACAC,OAAAA;AAAAA;AAAAA,KAEGC,kBAAAA,GAAqB7O,CAAAA,CAAEgB,KAAK,Q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AAAA,UAAgBC,SAAAA,EAAWL,yBAAAA;EACpCM,GAAAA,CAAIF,MAAAA,WAAiBJ,yBAAyB;AAAA;AAAA"}
@@ -1,4 +1,4 @@
1
- import { i as CredentialConsumer, o as CredentialList, v as ResolvedCredentials } from "./index-hf0OTB6M.cjs";
1
+ import { i as CredentialConsumer, o as CredentialList, v as ResolvedCredentials } from "./index-e9f4pcX4.cjs";
2
2
  import { o as AgentTool, s as AgentToolResult } from "./index-BByNfhJU.cjs";
3
3
  import { z } from "zod";
4
4
 
@@ -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-y_2btA4s.d.cts.map
93
+ //# sourceMappingURL=index-nUAXCgEe.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index-y_2btA4s.d.cts","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_TYPES","CredentialConsumer","CredentialConsumer$1","CredentialInput","CredentialList","CredentialRunContext","CredentialRunContext$1","CredentialScopeType","CredentialScopeType$1","CredentialSelectionOption","CredentialSelectionOption$1","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;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GAAqBuC,OAAAA,CAAQ1C,eAAAA;EACjG+C,KAAAA,IAASL,OAAAA;AAAAA;AAAAA,KAENM,eAAAA;EACH9B,OAAAA;EACAC,IAAAA;EACAT,GAAAA,GAAMF,MAAM;EACZY,GAAAA;EACAC,MAAAA;EACAe,UAAAA;EACAC,aAAAA;AAAAA;AAAAA;AAAAA,iBAIeY,SAAAA,gBAAyBzC,MAAAA,gBAAAA,CAAuB0C,GAAAA,EAAKvB,kBAAAA,CAAmBC,YAAAA,IAAgBW,aAAAA,CAAcX,YAAAA;AAAAA;AAAAA,iBAGtGuB,KAAAA,CAAMC,KAAAA,YAAiBA,KAAAA,IAASb,aAAa;AAAA;AAAA,iBAG7Cc,gBAAAA,CAAiB9B,IAAAA,UAAcuB,OAAAA,EAASN,gBAAAA,GAAmBE,OAAAA,CAAQD,aAAAA;AAAAA;AAAAA,iBAGnEa,eAAAA,CAAgB/B,IAAAA,UAAcuB,OAAAA,EAASE,eAAAA,GAAkBN,OAAAA,CAAQD,aAAAA;AAAAA;AAAAA,iBAGjEc,oBAAAA,gBAAoC/C,MAAAA,gBAAAA,CAAuB0C,GAAAA,EAAKX,aAAAA,CAAcX,YAAAA,GAAeK,IAAAA,GAAO1B,cAAAA,GAAiBmC,OAAAA,CAAQD,aAAAA;AAAAA;;;KC1DzIiE,sBAAAA;EACHG,OAAAA,WAAkB1C,cAAAA,EAAgB2C,YAAAA,EAAcH,CAAAA,EAAGI,QAAAA,EAAU9C,kBAAAA,GAAuB2C,OAAAA,CAAQ3B,mBAAAA,CAAoB0B,CAAAA;AAAAA;AAAAA"}
1
+ {"version":3,"file":"index-nUAXCgEe.d.cts","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_TYPES","CredentialConsumer","CredentialConsumer$1","CredentialInput","CredentialList","CredentialRunContext","CredentialRunContext$1","CredentialScopeType","CredentialScopeType$1","CredentialSelectionOption","CredentialSelectionOption$1","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,KACAC,cAAAA;EACHE,OAAAA,GAAUD,MAAAA;EACVE,GAAAA,GAAMF,MAAAA,kBALc;EAMpBG,YAAAA,GAAeH,MAAAA;AAAAA;AAAAA,KAEZI,gBAAAA;EACHE,IAAAA;EACAC,GAAAA,WAAcF,GAAAA,EARC;EASfG,SAAAA,GAAYV,YAAY;AAAA;AAAA,KAErBW,iBAAAA;EACHH,IAAAA;EACAI,OAAAA;EACAC,IAAAA;EACAC,GAAAA;EACAC,MAAAA;AAAAA;AAAAA,KAEGC,eAAAA;EACHC,IAAAA;EACAC,KAAAA;EACAC,WAAAA;EACAC,WAAAA,GAAclB,MAAM;AAAA;AAAA,KAEjBmB,kBAAAA,gBAAkCnB,MAAAA;EACrCuB,GAAAA;EACAR,IAAAA;EACAP,SAAAA,EAAWJ,gBAAAA,GAAmBK,iBAAAA;EAC9Be,WAAAA;EACAC,IAAAA,IAAQC,QAAAA,EAAUN,YAAAA,KAAiBrB,cAAAA,EApBX;EAqBxB4B,aAAAA,YAAyBb,eAAAA;EACzBc,UAAAA;EACAC,aAAAA;EACAR,KAAAA,UAAeA,KAAAA;EACfS,WAAAA,GAAcR,WAAAA;AAAAA;AAAAA,KAEXS,aAAAA,gBAA6B/B,MAAAA,mBAAyBmB,kBAAAA,CAAmBC,YAAAA;EAAAA,UAClE1B,GAAAA;AAAAA;AAAAA,KAEPsC,gBAAAA;EACHzB,GAAAA,WAAcF,GAAAA;EACdG,SAAAA,GAAYV,YA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3B,mBAAAA,CAAoB0B,CAAAA;AAAAA;AAAAA"}
@@ -1,7 +1,7 @@
1
1
  import { t as getEnvApiKey } from "./env-api-keys-mSUt6vw1.mjs";
2
2
  import { n as calculateCost, r as clampThinkingLevel, t as AssistantMessageEventStream } from "./event-stream-C7YBbzsc.mjs";
3
3
  import { n as parseStreamingJson } from "./json-parse-DzekVFUW.mjs";
4
- import { M as zodToJsonSchema } from "./dist-BX0Upt63.mjs";
4
+ import { M as zodToJsonSchema } from "./dist-itGeZOJp.mjs";
5
5
  import { t as sanitizeSurrogates } from "./sanitize-unicode-Bs-DYObW.mjs";
6
6
  import { r as buildBaseOptions, t as transformMessages } from "./transform-messages-6GVRF4kb.mjs";
7
7
  import { t as shortHash } from "./hash-REle1V7f.mjs";
@@ -27560,4 +27560,4 @@ function mapChatStopReason(reason) {
27560
27560
  //#endregion
27561
27561
  export { streamMistral, streamSimpleMistral };
27562
27562
 
27563
- //# sourceMappingURL=mistral-DbKZmAHf.mjs.map
27563
+ //# sourceMappingURL=mistral-MfzlP5Os.mjs.map