@keystrokehq/keystroke 0.1.89 → 0.1.91

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 (50) hide show
  1. package/dist/agent-types.cjs +1 -1
  2. package/dist/agent-types.d.cts +2 -2
  3. package/dist/agent-types.d.mts +2 -2
  4. package/dist/agent-types.mjs +1 -1
  5. package/dist/agent.cjs +3 -3
  6. package/dist/agent.d.cts +3 -3
  7. package/dist/agent.d.mts +3 -3
  8. package/dist/agent.mjs +3 -3
  9. package/dist/{context-compaction-D2_B1nky-GR-BMu9j.cjs → context-compaction-D2_B1nky-BGm3K1E7.cjs} +2 -2
  10. package/dist/{context-compaction-D2_B1nky-GR-BMu9j.cjs.map → context-compaction-D2_B1nky-BGm3K1E7.cjs.map} +1 -1
  11. package/dist/{context-compaction-D2_B1nky-BDZHww1-.mjs → context-compaction-D2_B1nky-_2obJBC9.mjs} +2 -2
  12. package/dist/{context-compaction-D2_B1nky-BDZHww1-.mjs.map → context-compaction-D2_B1nky-_2obJBC9.mjs.map} +1 -1
  13. package/dist/{dist-BgAHijbJ.cjs → dist-CSveenjr.cjs} +13 -19
  14. package/dist/dist-CSveenjr.cjs.map +1 -0
  15. package/dist/{dist-bKEDQL7p.mjs → dist-CUpLAhRj.mjs} +14 -14
  16. package/dist/dist-CUpLAhRj.mjs.map +1 -0
  17. package/dist/{dist-DFDKdWMT.cjs → dist-Ca7vInBw.cjs} +3 -20
  18. package/dist/dist-Ca7vInBw.cjs.map +1 -0
  19. package/dist/{dist-CIBQNBjh.mjs → dist-K7JjYweY.mjs} +3 -20
  20. package/dist/{dist-CIBQNBjh.mjs.map → dist-K7JjYweY.mjs.map} +1 -1
  21. package/dist/{index-B1GHQ7Fl.d.mts → index-BKn5COTH.d.cts} +4 -4
  22. package/dist/{index-B1GHQ7Fl.d.mts.map → index-BKn5COTH.d.cts.map} +1 -1
  23. package/dist/{index-CE5kyJI4.d.cts → index-BowkmvyU.d.cts} +2 -2
  24. package/dist/{index-CE5kyJI4.d.cts.map → index-BowkmvyU.d.cts.map} +1 -1
  25. package/dist/{index-DgY6BIsO.d.cts → index-C61TSfQB.d.cts} +4 -4
  26. package/dist/{index-DgY6BIsO.d.cts.map → index-C61TSfQB.d.cts.map} +1 -1
  27. package/dist/{index-rLP7DFdP.d.mts → index-CjWSlYyq.d.mts} +4 -4
  28. package/dist/{index-rLP7DFdP.d.mts.map → index-CjWSlYyq.d.mts.map} +1 -1
  29. package/dist/{index-CQqtpMO9.d.cts → index-DHfxB8DH.d.mts} +4 -4
  30. package/dist/{index-CQqtpMO9.d.cts.map → index-DHfxB8DH.d.mts.map} +1 -1
  31. package/dist/{index-3jmW28h7.d.mts → index-skjc11Qf.d.mts} +2 -2
  32. package/dist/{index-3jmW28h7.d.mts.map → index-skjc11Qf.d.mts.map} +1 -1
  33. package/dist/{schemas-lSbMfQRy-CLdsabVT.d.mts → schemas-lSbMfQRy-D7NW7SCj.d.mts} +2 -2
  34. package/dist/{schemas-lSbMfQRy-CLdsabVT.d.mts.map → schemas-lSbMfQRy-D7NW7SCj.d.mts.map} +1 -1
  35. package/dist/{schemas-lSbMfQRy-Dal7spwa.d.cts → schemas-lSbMfQRy-DdpE4_dC.d.cts} +2 -2
  36. package/dist/{schemas-lSbMfQRy-Dal7spwa.d.cts.map → schemas-lSbMfQRy-DdpE4_dC.d.cts.map} +1 -1
  37. package/dist/{token-BnoRco2o.cjs → token-C3FIUHfv.cjs} +2 -2
  38. package/dist/{token-BnoRco2o.cjs.map → token-C3FIUHfv.cjs.map} +1 -1
  39. package/dist/{token-CYEqvLAY.mjs → token-FDWSsULw.mjs} +2 -2
  40. package/dist/{token-CYEqvLAY.mjs.map → token-FDWSsULw.mjs.map} +1 -1
  41. package/dist/trigger.cjs +1 -1
  42. package/dist/trigger.d.cts +1 -1
  43. package/dist/trigger.d.mts +1 -1
  44. package/dist/trigger.mjs +1 -1
  45. package/dist/workflow.cjs +1 -1
  46. package/dist/workflow.mjs +1 -1
  47. package/package.json +1 -1
  48. package/dist/dist-BgAHijbJ.cjs.map +0 -1
  49. package/dist/dist-DFDKdWMT.cjs.map +0 -1
  50. package/dist/dist-bKEDQL7p.mjs.map +0 -1
@@ -1,7 +1,7 @@
1
1
  const require_chunk = require("./chunk-emK7D4bc.cjs");
2
2
  const require_dist$2 = require("./dist-Dms6jxEC.cjs");
3
3
  const require_dist$3 = require("./dist-B2p9wZWi.cjs");
4
- const require_dist$4 = require("./dist-BgAHijbJ.cjs");
4
+ const require_dist$4 = require("./dist-CSveenjr.cjs");
5
5
  let zod = require("zod");
6
6
  let node_async_hooks = require("node:async_hooks");
7
7
  require("node:fs");
@@ -18777,20 +18777,7 @@ async function runDurableStep(state, options) {
18777
18777
  [options.metadataKey]: options.key,
18778
18778
  correlationId
18779
18779
  };
18780
- if (cached.completed) {
18781
- await require_dist$4.withSpan({
18782
- kind: options.kind,
18783
- name: options.key,
18784
- refId: `${runId}:${correlationId}`,
18785
- metadata: {
18786
- ...metadata,
18787
- replayed: true
18788
- }
18789
- }, async () => {
18790
- await require_dist$4.logSystem("info", options.replayMessage, metadata);
18791
- });
18792
- return options.parseCached ? options.parseCached(cached.result) : cached.result;
18793
- }
18780
+ if (cached.completed) return options.parseCached ? options.parseCached(cached.result) : cached.result;
18794
18781
  return require_dist$4.withSpan({
18795
18782
  kind: options.kind,
18796
18783
  name: options.key,
@@ -18858,7 +18845,6 @@ function createActionRunner(state, options = {}) {
18858
18845
  key: action.slug,
18859
18846
  correlationKey: runOptions?.callSiteId,
18860
18847
  metadataKey: "actionKey",
18861
- replayMessage: "action replayed from checkpoint",
18862
18848
  parseCached: (cached) => action.output.parse(cached),
18863
18849
  execute: async (correlationId) => {
18864
18850
  return executeActionWithResolvedCredentials(action, input, options, runOptions, runOptions?.callSiteId ? stepConsumerId(runOptions.callSiteId) : correlationId);
@@ -18909,7 +18895,6 @@ function createAgentStepRunner(state, runAgent, queueChildren = false) {
18909
18895
  key: slug,
18910
18896
  correlationKey: options?.callSiteId,
18911
18897
  metadataKey: "agentKey",
18912
- replayMessage: "agent step replayed from checkpoint",
18913
18898
  execute: (_correlationId) => runAgent(agent, input, options?.runPrompt)
18914
18899
  });
18915
18900
  };
@@ -18925,7 +18910,6 @@ function createLlmStepRunner(state, runLlm) {
18925
18910
  key: "promptLlm",
18926
18911
  correlationKey: opts.callSiteId,
18927
18912
  metadataKey: "llmKey",
18928
- replayMessage: "llm step replayed from checkpoint",
18929
18913
  parseCached: (cached) => opts.outputSchema ? opts.outputSchema.parse(cached) : cached,
18930
18914
  execute: (_correlationId) => runLlm(opts)
18931
18915
  });
@@ -18959,7 +18943,6 @@ function createWorkflowStepRunner(state, ctx, queueChildren = false) {
18959
18943
  key: workflow.slug,
18960
18944
  correlationKey: options?.callSiteId,
18961
18945
  metadataKey: "workflowKey",
18962
- replayMessage: "workflow step replayed from checkpoint",
18963
18946
  parseCached: (cached) => workflow.output.parse(cached),
18964
18947
  execute: async () => {
18965
18948
  return runInStepScope(options?.callSiteId ?? workflow.slug, async () => {
@@ -19425,4 +19408,4 @@ Object.defineProperty(exports, "withCredentialAssignments", {
19425
19408
  }
19426
19409
  });
19427
19410
 
19428
- //# sourceMappingURL=dist-DFDKdWMT.cjs.map
19411
+ //# sourceMappingURL=dist-Ca7vInBw.cjs.map