@keystrokehq/keystroke 0.1.90 → 0.1.92
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/agent-types.cjs +1 -1
- package/dist/agent-types.d.cts +2 -2
- package/dist/agent-types.d.mts +2 -2
- package/dist/agent-types.mjs +1 -1
- package/dist/agent.cjs +81 -11
- package/dist/agent.cjs.map +1 -1
- package/dist/agent.d.cts +3 -3
- package/dist/agent.d.mts +3 -3
- package/dist/agent.mjs +81 -11
- package/dist/agent.mjs.map +1 -1
- package/dist/{context-compaction-D2_B1nky-BZ0Nxnlz.cjs → context-compaction-D2_B1nky-BGm3K1E7.cjs} +2 -2
- package/dist/{context-compaction-D2_B1nky-BZ0Nxnlz.cjs.map → context-compaction-D2_B1nky-BGm3K1E7.cjs.map} +1 -1
- package/dist/{context-compaction-D2_B1nky-Z-RHprX6.mjs → context-compaction-D2_B1nky-_2obJBC9.mjs} +2 -2
- package/dist/{context-compaction-D2_B1nky-Z-RHprX6.mjs.map → context-compaction-D2_B1nky-_2obJBC9.mjs.map} +1 -1
- package/dist/{dist-BquLTvmJ.cjs → dist-CSveenjr.cjs} +2 -11
- package/dist/{dist-BquLTvmJ.cjs.map → dist-CSveenjr.cjs.map} +1 -1
- package/dist/{dist-CBMAwfqk.mjs → dist-CUpLAhRj.mjs} +3 -6
- package/dist/{dist-CBMAwfqk.mjs.map → dist-CUpLAhRj.mjs.map} +1 -1
- package/dist/{dist-DV-u1dSU.cjs → dist-Ca7vInBw.cjs} +3 -20
- package/dist/dist-Ca7vInBw.cjs.map +1 -0
- package/dist/{dist-D5LMFsGS.mjs → dist-K7JjYweY.mjs} +3 -20
- package/dist/{dist-D5LMFsGS.mjs.map → dist-K7JjYweY.mjs.map} +1 -1
- package/dist/{index-IsjwL1qE.d.cts → index-BAERW4m3.d.mts} +4 -4
- package/dist/{index-IsjwL1qE.d.cts.map → index-BAERW4m3.d.mts.map} +1 -1
- package/dist/{index-C1LkEWsV.d.mts → index-BNptJCCC.d.mts} +4 -4
- package/dist/{index-C1LkEWsV.d.mts.map → index-BNptJCCC.d.mts.map} +1 -1
- package/dist/{index-XtUIsmsf.d.mts → index-C614Tmd_.d.cts} +4 -4
- package/dist/{index-XtUIsmsf.d.mts.map → index-C614Tmd_.d.cts.map} +1 -1
- package/dist/{index-DnlzDIsv.d.mts → index-CIz44roq.d.mts} +2 -2
- package/dist/{index-DnlzDIsv.d.mts.map → index-CIz44roq.d.mts.map} +1 -1
- package/dist/{index-BYUo1T9j.d.cts → index-DFkYFZEw.d.cts} +2 -2
- package/dist/{index-BYUo1T9j.d.cts.map → index-DFkYFZEw.d.cts.map} +1 -1
- package/dist/{index-CE-pKU-3.d.cts → index-N9Wzbx7A.d.cts} +4 -4
- package/dist/{index-CE-pKU-3.d.cts.map → index-N9Wzbx7A.d.cts.map} +1 -1
- package/dist/{schemas-lSbMfQRy-XXpvG020.d.mts → schemas-lSbMfQRy-CIfs2xv6.d.mts} +2 -2
- package/dist/{schemas-lSbMfQRy-EZTAAsXz.d.cts.map → schemas-lSbMfQRy-CIfs2xv6.d.mts.map} +1 -1
- package/dist/{schemas-lSbMfQRy-EZTAAsXz.d.cts → schemas-lSbMfQRy-YsonGA_B.d.cts} +2 -2
- package/dist/{schemas-lSbMfQRy-XXpvG020.d.mts.map → schemas-lSbMfQRy-YsonGA_B.d.cts.map} +1 -1
- package/dist/{token-CiaIOCoy.cjs → token-C3FIUHfv.cjs} +2 -2
- package/dist/{token-CiaIOCoy.cjs.map → token-C3FIUHfv.cjs.map} +1 -1
- package/dist/{token-BFGvC19A.mjs → token-FDWSsULw.mjs} +2 -2
- package/dist/{token-BFGvC19A.mjs.map → token-FDWSsULw.mjs.map} +1 -1
- package/dist/trigger.cjs +1 -1
- package/dist/trigger.d.cts +1 -1
- package/dist/trigger.d.mts +1 -1
- package/dist/trigger.mjs +1 -1
- package/dist/workflow.cjs +1 -1
- package/dist/workflow.mjs +1 -1
- package/package.json +1 -1
- package/dist/dist-DV-u1dSU.cjs.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-
|
|
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-
|
|
19411
|
+
//# sourceMappingURL=dist-Ca7vInBw.cjs.map
|