@keystrokehq/keystroke 0.0.66 → 0.0.69

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 (35) hide show
  1. package/dist/action.cjs +1 -1
  2. package/dist/action.mjs +1 -1
  3. package/dist/agent.cjs +3 -3
  4. package/dist/agent.mjs +3 -3
  5. package/dist/credentials.cjs +1 -1
  6. package/dist/credentials.mjs +1 -1
  7. package/dist/{dist-DRPUD4yJ.mjs → dist-BNJUEQuz.mjs} +4 -3
  8. package/dist/{dist-DRPUD4yJ.mjs.map → dist-BNJUEQuz.mjs.map} +1 -1
  9. package/dist/{dist-D_ZSj4pO.mjs → dist-BmPy5M5x.mjs} +121 -1
  10. package/dist/dist-BmPy5M5x.mjs.map +1 -0
  11. package/dist/{dist-Bism_aBn.cjs → dist-CEwjYC2P.cjs} +3 -3
  12. package/dist/{dist-Bism_aBn.cjs.map → dist-CEwjYC2P.cjs.map} +1 -1
  13. package/dist/{dist-D5Grf4qu.cjs → dist-CMtsXlvx.cjs} +121 -1
  14. package/dist/dist-CMtsXlvx.cjs.map +1 -0
  15. package/dist/{dist-D1jOLmXW.cjs → dist-ItsoC5HL.cjs} +4 -3
  16. package/dist/{dist-D1jOLmXW.cjs.map → dist-ItsoC5HL.cjs.map} +1 -1
  17. package/dist/{dist-D8tPcFYP.mjs → dist-tz7FGihf.mjs} +3 -3
  18. package/dist/{dist-D8tPcFYP.mjs.map → dist-tz7FGihf.mjs.map} +1 -1
  19. package/dist/index-BeEymXir.d.cts.map +1 -1
  20. package/dist/index-BeEymXir.d.mts.map +1 -1
  21. package/dist/{mistral-BGGYz0IH.cjs → mistral-CQYg1JOM.cjs} +2 -2
  22. package/dist/{mistral-BGGYz0IH.cjs.map → mistral-CQYg1JOM.cjs.map} +1 -1
  23. package/dist/{mistral-R2FX6jgL.mjs → mistral-D7a1LQ-6.mjs} +2 -2
  24. package/dist/{mistral-R2FX6jgL.mjs.map → mistral-D7a1LQ-6.mjs.map} +1 -1
  25. package/dist/{sse-WhoZVnd2.cjs → sse-DT9Dj_UC.cjs} +2 -2
  26. package/dist/{sse-WhoZVnd2.cjs.map → sse-DT9Dj_UC.cjs.map} +1 -1
  27. package/dist/{sse-CKh7BzLf.mjs → sse-Du6RPHfh.mjs} +2 -2
  28. package/dist/{sse-CKh7BzLf.mjs.map → sse-Du6RPHfh.mjs.map} +1 -1
  29. package/dist/trigger.cjs +1 -1
  30. package/dist/trigger.mjs +1 -1
  31. package/dist/workflow.cjs +1 -1
  32. package/dist/workflow.mjs +1 -1
  33. package/package.json +2 -8
  34. package/dist/dist-D5Grf4qu.cjs.map +0 -1
  35. package/dist/dist-D_ZSj4pO.mjs.map +0 -1
package/dist/action.cjs CHANGED
@@ -1,5 +1,5 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_dist = require("./dist-D5Grf4qu.cjs");
2
+ const require_dist = require("./dist-CMtsXlvx.cjs");
3
3
  exports.CREDENTIAL_SCOPE_LEVELS = require_dist.CREDENTIAL_SCOPE_LEVELS;
4
4
  exports.DEFAULT_CREDENTIAL_RESOLUTION_CHAIN = require_dist.DEFAULT_CREDENTIAL_RESOLUTION_CHAIN;
5
5
  exports.actionCoreSchema = require_dist.actionCoreSchema;
package/dist/action.mjs CHANGED
@@ -1,2 +1,2 @@
1
- import { _ as credentialInputSchema, a as getActionCredentialRequirements, b as normalizeCredentialList, c as isStepInvocation, d as runOutsideActionExecution, f as runWithinActionExecution, g as credential, h as DEFAULT_CREDENTIAL_RESOLUTION_CHAIN, i as executeAction, l as registerWorkflowRunGetter, n as createStepInvocation, o as getWorkflowRunHandle, p as CREDENTIAL_SCOPE_LEVELS, r as defineAction, s as isAction, t as actionCoreSchema, u as resolveActionTool, v as defineCredential, x as toCredentialRequirement, y as isCredentialInput } from "./dist-D_ZSj4pO.mjs";
1
+ import { _ as credentialInputSchema, a as getActionCredentialRequirements, b as normalizeCredentialList, c as isStepInvocation, d as runOutsideActionExecution, f as runWithinActionExecution, g as credential, h as DEFAULT_CREDENTIAL_RESOLUTION_CHAIN, i as executeAction, l as registerWorkflowRunGetter, n as createStepInvocation, o as getWorkflowRunHandle, p as CREDENTIAL_SCOPE_LEVELS, r as defineAction, s as isAction, t as actionCoreSchema, u as resolveActionTool, v as defineCredential, x as toCredentialRequirement, y as isCredentialInput } from "./dist-BmPy5M5x.mjs";
2
2
  export { CREDENTIAL_SCOPE_LEVELS, DEFAULT_CREDENTIAL_RESOLUTION_CHAIN, actionCoreSchema, createStepInvocation, credential, credentialInputSchema, defineAction, defineCredential, executeAction, getActionCredentialRequirements, getWorkflowRunHandle, isAction, isCredentialInput, isStepInvocation, normalizeCredentialList, registerWorkflowRunGetter, resolveActionTool, runOutsideActionExecution, runWithinActionExecution, toCredentialRequirement };
package/dist/agent.cjs CHANGED
@@ -1,10 +1,10 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
2
  const require_dist$1 = require("./dist-C7Fgk61q.cjs");
3
- const require_dist$2 = require("./dist-D5Grf4qu.cjs");
3
+ const require_dist$2 = require("./dist-CMtsXlvx.cjs");
4
4
  require("./env-api-keys-BFptfIIs.cjs");
5
5
  const require_event_stream = require("./event-stream-CS-ls7wC.cjs");
6
6
  require("./json-parse-DV41_cbO.cjs");
7
- const require_dist$3 = require("./dist-D1jOLmXW.cjs");
7
+ const require_dist$3 = require("./dist-ItsoC5HL.cjs");
8
8
  let zod = require("zod");
9
9
  let node_module = require("node:module");
10
10
  let node_fs = require("node:fs");
@@ -928,7 +928,7 @@ function loadGoogleVertexProviderModule() {
928
928
  return googleVertexProviderModulePromise;
929
929
  }
930
930
  function loadMistralProviderModule() {
931
- mistralProviderModulePromise ||= Promise.resolve().then(() => require("./mistral-BGGYz0IH.cjs")).then((module) => {
931
+ mistralProviderModulePromise ||= Promise.resolve().then(() => require("./mistral-CQYg1JOM.cjs")).then((module) => {
932
932
  const provider = module;
933
933
  return {
934
934
  stream: provider.streamMistral,
package/dist/agent.mjs CHANGED
@@ -1,9 +1,9 @@
1
1
  import { $ as Options, $t as IsMap, An as IsSymbol$1, At as Unreachable, Bn as __require, Bt as IsRef$1, Cn as IsMinLength$2, Ct as IsInteger$2, Dn as IsObject$1, Dt as IsCodec, En as IsNumber$1, Et as IsBigInt$2, Fn as Symbols, Ft as IsUnion, G as ensureWorkspaceDir, Gt as IsArray$2, Ht as IsFunction$2, In as guard_exports, It as Union, Jt as IsOptional, K as materializeSandbox, Kt as Base, Ln as __commonJSMin, Lt as IsObject$2, Mn as IsUnsafePropertyKey, Mt as IsEnum$1, Nn as IsValueLike, Nt as IsCyclic, On as IsObjectNotArray$1, Ot as Hash, Pn as Keys$1, Pt as Unknown, Q as Instantiate, Qt as Get$3, Rt as _Object_, Sn as IsMaxLength$2, St as IsIterator$2, Tn as IsNull$1, Tt as IsBoolean$2, Ut as IsConstructor$2, Vt as Ref$1, W as defineSandbox, Wt as IsAsyncIterator$2, X as resolveSandboxRoot, Xt as IsPromise, Y as resolveAppRootFromModule, Yt as Optional, Z as Evaluate$1, Zt as IsSchema$1, _n as IsGreaterThan$1, _t as IsLiteralBigInt, a as createSandbox, an as EveryAll, at as RecordPattern, bn as IsLessEqualThan$1, bt as IsLiteralString, c as defineTool$1, cn as IsAsyncIterator$1, ct as EnumToUnion, d as resolveRunProvider, dn as IsClassInstance, dt as String$1, en as IsSet, et as Compare, fn as IsConstructor$1, ft as IsSymbol$2, gn as IsGreaterEqualThan$1, gt as IsLiteral, hn as IsFunction$1, ht as IsNull$2, i as createJustBashProvider, in as Every$1, it as IsRecord, jn as IsUndefined$1, jt as IsIntersect, kn as IsString$1, kt as hash_exports, ln as IsBigInt$1, lt as TemplateLiteralDecode, mn as IsEqual$1, mt as Number$1, nn as Entries$2, nt as IsVoid, o as defaultWorkspacesRoot, on as HasPropertyKey$1, ot as RecordValue, pn as IsDeepEqual$1, pt as IsNumber$2, q as packAssetDirs, qt as IsBase, r as createInvokeToolBridge, rn as EntriesRegExp, rt as IsUndefined$2, s as defineSkill, sn as IsArray$1, st as IsTuple, tn as IsTypeArray, tt as IsTemplateLiteral, u as materializeSkills, un as IsBoolean$1, ut as IsString$2, vn as IsInteger$1, vt as IsLiteralBoolean, wn as IsMultipleOf$1, wt as Boolean$1, xn as IsLessThan$1, xt as Literal, yn as IsIterator$1, yt as IsLiteralNumber, zn as __exportAll, zt as IsNever } from "./dist-PFUo6XmY.mjs";
2
- import { s as isAction, u as resolveActionTool } from "./dist-D_ZSj4pO.mjs";
2
+ import { s as isAction, u as resolveActionTool } from "./dist-BmPy5M5x.mjs";
3
3
  import "./env-api-keys-CdN4tAK8.mjs";
4
4
  import { i as getModel, t as AssistantMessageEventStream } from "./event-stream-C7YBbzsc.mjs";
5
5
  import "./json-parse-CQOxNUrj.mjs";
6
- import { S as isMcp, _ as touchSession, a as buildCredentialRunContext, b as connectMcpStdio, c as isCredentialError, d as MESSAGE_EVENT_TYPE$1, f as appendEvent, g as listMessageEvents, h as getSession, i as withSpan, l as resolveActionCredentials, m as getAgentByRoute, n as getTraceContext, o as captureCredentialToolErrors, p as createSession, s as createCredentialResolver, t as captureConsole, u as resolveMcpTools, v as connectMcpDefinition, x as defineMcp, y as connectMcpServer } from "./dist-DRPUD4yJ.mjs";
6
+ import { S as isMcp, _ as touchSession, a as buildCredentialRunContext, b as connectMcpStdio, c as isCredentialError, d as MESSAGE_EVENT_TYPE$1, f as appendEvent, g as listMessageEvents, h as getSession, i as withSpan, l as resolveActionCredentials, m as getAgentByRoute, n as getTraceContext, o as captureCredentialToolErrors, p as createSession, s as createCredentialResolver, t as captureConsole, u as resolveMcpTools, v as connectMcpDefinition, x as defineMcp, y as connectMcpServer } from "./dist-BNJUEQuz.mjs";
7
7
  import { createRequire } from "node:module";
8
8
  import { z } from "zod";
9
9
  import { existsSync, mkdirSync, readFileSync, readdirSync, statSync, writeFileSync } from "node:fs";
@@ -927,7 +927,7 @@ function loadGoogleVertexProviderModule() {
927
927
  return googleVertexProviderModulePromise;
928
928
  }
929
929
  function loadMistralProviderModule() {
930
- mistralProviderModulePromise ||= import("./mistral-R2FX6jgL.mjs").then((module) => {
930
+ mistralProviderModulePromise ||= import("./mistral-D7a1LQ-6.mjs").then((module) => {
931
931
  const provider = module;
932
932
  return {
933
933
  stream: provider.streamMistral,
@@ -1,5 +1,5 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_dist = require("./dist-D5Grf4qu.cjs");
2
+ const require_dist = require("./dist-CMtsXlvx.cjs");
3
3
  exports.CREDENTIAL_SCOPE_LEVELS = require_dist.CREDENTIAL_SCOPE_LEVELS;
4
4
  exports.DEFAULT_CREDENTIAL_RESOLUTION_CHAIN = require_dist.DEFAULT_CREDENTIAL_RESOLUTION_CHAIN;
5
5
  exports.credential = require_dist.credential;
@@ -1,2 +1,2 @@
1
- import { _ as credentialInputSchema, b as normalizeCredentialList, g as credential, h as DEFAULT_CREDENTIAL_RESOLUTION_CHAIN, p as CREDENTIAL_SCOPE_LEVELS, v as defineCredential, x as toCredentialRequirement, y as isCredentialInput } from "./dist-D_ZSj4pO.mjs";
1
+ import { _ as credentialInputSchema, b as normalizeCredentialList, g as credential, h as DEFAULT_CREDENTIAL_RESOLUTION_CHAIN, p as CREDENTIAL_SCOPE_LEVELS, v as defineCredential, x as toCredentialRequirement, y as isCredentialInput } from "./dist-BmPy5M5x.mjs";
2
2
  export { CREDENTIAL_SCOPE_LEVELS, DEFAULT_CREDENTIAL_RESOLUTION_CHAIN, credential, credentialInputSchema, defineCredential, isCredentialInput, normalizeCredentialList, toCredentialRequirement };
@@ -1,5 +1,5 @@
1
1
  import { Bn as __require, Ln as __commonJSMin, Vn as __toESM } from "./dist-PFUo6XmY.mjs";
2
- import { b as normalizeCredentialList, m as CREDENTIAL_SCOPE_LEVEL_TO_SCOPE_TYPE } from "./dist-D_ZSj4pO.mjs";
2
+ import { b as normalizeCredentialList, m as CREDENTIAL_SCOPE_LEVEL_TO_SCOPE_TYPE } from "./dist-BmPy5M5x.mjs";
3
3
  import { AsyncLocalStorage } from "node:async_hooks";
4
4
  import "node:fs";
5
5
  import { ZodFirstPartyTypeKind } from "zod/v3";
@@ -13252,7 +13252,7 @@ async function connectMcpServer(name, options) {
13252
13252
  }
13253
13253
  async function createTransport(url, transport, requestInit, fetchImpl) {
13254
13254
  if (transport === "sse") {
13255
- const { SSEClientTransport } = await import("./sse-CKh7BzLf.mjs");
13255
+ const { SSEClientTransport } = await import("./sse-Du6RPHfh.mjs");
13256
13256
  return new SSEClientTransport(url, {
13257
13257
  requestInit,
13258
13258
  fetch: fetchImpl
@@ -17368,6 +17368,7 @@ const projects = pgTable("projects", {
17368
17368
  baseUrl: text$1("base_url"),
17369
17369
  runtimeId: text$1("runtime_id"),
17370
17370
  activeArtifactId: text$1("active_artifact_id"),
17371
+ pendingArtifactId: text$1("pending_artifact_id"),
17371
17372
  lastError: text$1("last_error"),
17372
17373
  createdAt: timestamp("created_at", { withTimezone: true }).notNull(),
17373
17374
  updatedAt: timestamp("updated_at", { withTimezone: true }).notNull(),
@@ -18024,4 +18025,4 @@ async function withSpan(input, fn) {
18024
18025
  //#endregion
18025
18026
  export { JSONRPCMessageSchema as A, createParser as C, createFetchWithInit as D, extractWWWAuthenticateParams as E, normalizeHeaders as O, isMcp as S, auth as T, touchSession as _, buildCredentialRunContext as a, connectMcpStdio as b, isCredentialError as c, MESSAGE_EVENT_TYPE as d, appendEvent as f, listMessageEvents as g, getSession as h, withSpan as i, zodToJsonSchema as k, resolveActionCredentials as l, getAgentByRoute as m, getTraceContext as n, captureCredentialToolErrors as o, createSession as p, logSystem as r, createCredentialResolver as s, captureConsole as t, resolveMcpTools as u, connectMcpDefinition as v, UnauthorizedError as w, defineMcp as x, connectMcpServer as y };
18026
18027
 
18027
- //# sourceMappingURL=dist-DRPUD4yJ.mjs.map
18028
+ //# sourceMappingURL=dist-BNJUEQuz.mjs.map