@keystrokehq/keystroke 0.0.131 → 0.0.132

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 (34) 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-DRHoiNDU.mjs → dist-BgrVL_8-.mjs} +12 -1
  8. package/dist/{dist-DRHoiNDU.mjs.map → dist-BgrVL_8-.mjs.map} +1 -1
  9. package/dist/{dist-B9gDCeSO.cjs → dist-CcNBSoDu.cjs} +5 -3
  10. package/dist/{dist-B9gDCeSO.cjs.map → dist-CcNBSoDu.cjs.map} +1 -1
  11. package/dist/{dist-D74xDrQo.mjs → dist-D10N9cCP.mjs} +5 -3
  12. package/dist/{dist-D74xDrQo.mjs.map → dist-D10N9cCP.mjs.map} +1 -1
  13. package/dist/{dist-DS0op2Qq.cjs → dist-Dnf8SOIi.cjs} +3 -3
  14. package/dist/{dist-DS0op2Qq.cjs.map → dist-Dnf8SOIi.cjs.map} +1 -1
  15. package/dist/{dist-BoXRkF1g.cjs → dist-cSfjaqCE.cjs} +12 -1
  16. package/dist/dist-cSfjaqCE.cjs.map +1 -0
  17. package/dist/{dist-C5v9sjXm.mjs → dist-u_6JRDeZ.mjs} +3 -3
  18. package/dist/{dist-C5v9sjXm.mjs.map → dist-u_6JRDeZ.mjs.map} +1 -1
  19. package/dist/index-CiuCYKLw.d.cts.map +1 -1
  20. package/dist/index-CiuCYKLw.d.mts.map +1 -1
  21. package/dist/{mistral-3GlLOH1H.mjs → mistral-Bo3rdXMQ.mjs} +2 -2
  22. package/dist/{mistral-3GlLOH1H.mjs.map → mistral-Bo3rdXMQ.mjs.map} +1 -1
  23. package/dist/{mistral-6qERlIZU.cjs → mistral-DVS5lXM4.cjs} +2 -2
  24. package/dist/{mistral-6qERlIZU.cjs.map → mistral-DVS5lXM4.cjs.map} +1 -1
  25. package/dist/{sse-DeW61Xbu.mjs → sse-C8uhZLRE.mjs} +2 -2
  26. package/dist/{sse-DeW61Xbu.mjs.map → sse-C8uhZLRE.mjs.map} +1 -1
  27. package/dist/{sse-BrIdGLze.cjs → sse-DVK2ivU3.cjs} +2 -2
  28. package/dist/{sse-BrIdGLze.cjs.map → sse-DVK2ivU3.cjs.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 +1 -1
  34. package/dist/dist-BoXRkF1g.cjs.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-BoXRkF1g.cjs");
2
+ const require_dist = require("./dist-cSfjaqCE.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 { S as toCredentialRequirement, _ as credential, a as getActionCredentialRequirements, b as isCredentialInput, c as isStepInvocation, d as resolveActionTool, f as runOutsideActionExecution, g as DEFAULT_CREDENTIAL_RESOLUTION_CHAIN, i as executeAction, l as isWithinActionExecution, m as CREDENTIAL_SCOPE_LEVELS, n as createStepInvocation, o as getWorkflowRunHandle, p as runWithinActionExecution, r as defineAction, s as isAction, t as actionCoreSchema, u as registerWorkflowRunGetter, v as credentialInputSchema, x as normalizeCredentialList, y as defineCredential } from "./dist-DRHoiNDU.mjs";
1
+ import { S as toCredentialRequirement, _ as credential, a as getActionCredentialRequirements, b as isCredentialInput, c as isStepInvocation, d as resolveActionTool, f as runOutsideActionExecution, g as DEFAULT_CREDENTIAL_RESOLUTION_CHAIN, i as executeAction, l as isWithinActionExecution, m as CREDENTIAL_SCOPE_LEVELS, n as createStepInvocation, o as getWorkflowRunHandle, p as runWithinActionExecution, r as defineAction, s as isAction, t as actionCoreSchema, u as registerWorkflowRunGetter, v as credentialInputSchema, x as normalizeCredentialList, y as defineCredential } from "./dist-BgrVL_8-.mjs";
2
2
  export { CREDENTIAL_SCOPE_LEVELS, DEFAULT_CREDENTIAL_RESOLUTION_CHAIN, actionCoreSchema, createStepInvocation, credential, credentialInputSchema, defineAction, defineCredential, executeAction, getActionCredentialRequirements, getWorkflowRunHandle, isAction, isCredentialInput, isStepInvocation, isWithinActionExecution, 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-CzlcKYAU.cjs");
3
- const require_dist$2 = require("./dist-BoXRkF1g.cjs");
3
+ const require_dist$2 = require("./dist-cSfjaqCE.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-CWDTOYvX.cjs");
7
- const require_dist$3 = require("./dist-B9gDCeSO.cjs");
7
+ const require_dist$3 = require("./dist-CcNBSoDu.cjs");
8
8
  let zod = require("zod");
9
9
  let node_async_hooks = require("node:async_hooks");
10
10
  let node_fs = require("node:fs");
@@ -901,7 +901,7 @@ function loadGoogleVertexProviderModule() {
901
901
  return googleVertexProviderModulePromise;
902
902
  }
903
903
  function loadMistralProviderModule() {
904
- mistralProviderModulePromise ||= Promise.resolve().then(() => require("./mistral-6qERlIZU.cjs")).then((module) => {
904
+ mistralProviderModulePromise ||= Promise.resolve().then(() => require("./mistral-DVS5lXM4.cjs")).then((module) => {
905
905
  const provider = module;
906
906
  return {
907
907
  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-f_JGyGWx.mjs";
2
- import { d as resolveActionTool, l as isWithinActionExecution, o as getWorkflowRunHandle, s as isAction } from "./dist-DRHoiNDU.mjs";
2
+ import { d as resolveActionTool, l as isWithinActionExecution, o as getWorkflowRunHandle, s as isAction } from "./dist-BgrVL_8-.mjs";
3
3
  import "./env-api-keys-BSMeSmLq.mjs";
4
4
  import { i as getModel, t as AssistantMessageEventStream } from "./event-stream-C7YBbzsc.mjs";
5
5
  import "./json-parse-BhvKZ346.mjs";
6
- import { C as isMcp, S as defineMcp, a as resolveActionCredentials, b as connectMcpServer, c as appendEvent, d as getSession, f as listMessageEvents, g as getTraceContext, h as captureConsole, i as isCredentialError, l as createSession, m as touchSession, n as captureCredentialToolErrors, o as resolveMcpTools, p as resolveRunSourceFromTraceContext, r as createCredentialResolver, s as MESSAGE_EVENT_TYPE$1, t as buildCredentialRunContext, u as getAgentByRoute, v as withSpan, x as connectMcpStdio, y as connectMcpDefinition } from "./dist-D74xDrQo.mjs";
6
+ import { C as isMcp, S as defineMcp, a as resolveActionCredentials, b as connectMcpServer, c as appendEvent, d as getSession, f as listMessageEvents, g as getTraceContext, h as captureConsole, i as isCredentialError, l as createSession, m as touchSession, n as captureCredentialToolErrors, o as resolveMcpTools, p as resolveRunSourceFromTraceContext, r as createCredentialResolver, s as MESSAGE_EVENT_TYPE$1, t as buildCredentialRunContext, u as getAgentByRoute, v as withSpan, x as connectMcpStdio, y as connectMcpDefinition } from "./dist-D10N9cCP.mjs";
7
7
  import { createRequire } from "node:module";
8
8
  import { z } from "zod";
9
9
  import { AsyncLocalStorage } from "node:async_hooks";
@@ -900,7 +900,7 @@ function loadGoogleVertexProviderModule() {
900
900
  return googleVertexProviderModulePromise;
901
901
  }
902
902
  function loadMistralProviderModule() {
903
- mistralProviderModulePromise ||= import("./mistral-3GlLOH1H.mjs").then((module) => {
903
+ mistralProviderModulePromise ||= import("./mistral-Bo3rdXMQ.mjs").then((module) => {
904
904
  const provider = module;
905
905
  return {
906
906
  stream: provider.streamMistral,
@@ -1,5 +1,5 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_dist = require("./dist-BoXRkF1g.cjs");
2
+ const require_dist = require("./dist-cSfjaqCE.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 { S as toCredentialRequirement, _ as credential, b as isCredentialInput, g as DEFAULT_CREDENTIAL_RESOLUTION_CHAIN, m as CREDENTIAL_SCOPE_LEVELS, v as credentialInputSchema, x as normalizeCredentialList, y as defineCredential } from "./dist-DRHoiNDU.mjs";
1
+ import { S as toCredentialRequirement, _ as credential, b as isCredentialInput, g as DEFAULT_CREDENTIAL_RESOLUTION_CHAIN, m as CREDENTIAL_SCOPE_LEVELS, v as credentialInputSchema, x as normalizeCredentialList, y as defineCredential } from "./dist-BgrVL_8-.mjs";
2
2
  export { CREDENTIAL_SCOPE_LEVELS, DEFAULT_CREDENTIAL_RESOLUTION_CHAIN, credential, credentialInputSchema, defineCredential, isCredentialInput, normalizeCredentialList, toCredentialRequirement };
@@ -1397,6 +1397,17 @@ z.object({
1397
1397
  artifact: ProjectArtifactSchema,
1398
1398
  project: ProjectSchema
1399
1399
  });
1400
+ const ProjectDeploymentSchema = z.object({
1401
+ id: z.string(),
1402
+ projectId: z.string(),
1403
+ version: z.number().int().positive(),
1404
+ deployedBy: z.string().nullable(),
1405
+ deployedByEmail: z.string().optional(),
1406
+ deployedByAvatarUrl: z.string().optional(),
1407
+ createdAt: isoDateTime$1,
1408
+ active: z.boolean()
1409
+ });
1410
+ z.object({ deployments: z.array(ProjectDeploymentSchema) });
1400
1411
  const optionalCount = z.number().int().nonnegative().nullable().optional();
1401
1412
  const optionalTimestamp = z.string().nullable().optional();
1402
1413
  const AgentSummarySchema = z.object({
@@ -1720,4 +1731,4 @@ function resolveActionTool(action, options) {
1720
1731
  //#endregion
1721
1732
  export { toCredentialRequirement as S, credential as _, getActionCredentialRequirements as a, isCredentialInput as b, isStepInvocation as c, resolveActionTool as d, runOutsideActionExecution as f, DEFAULT_CREDENTIAL_RESOLUTION_CHAIN as g, CREDENTIAL_SCOPE_LEVEL_TO_SCOPE_TYPE as h, executeAction as i, isWithinActionExecution as l, CREDENTIAL_SCOPE_LEVELS as m, createStepInvocation as n, getWorkflowRunHandle as o, runWithinActionExecution as p, defineAction as r, isAction as s, actionCoreSchema as t, registerWorkflowRunGetter as u, credentialInputSchema as v, normalizeCredentialList as x, defineCredential as y };
1722
1733
 
1723
- //# sourceMappingURL=dist-DRHoiNDU.mjs.map
1734
+ //# sourceMappingURL=dist-BgrVL_8-.mjs.map