@mastra/inngest 1.10.7-alpha.3 → 1.10.7-alpha.4
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/connect.cjs +1 -1
- package/dist/connect.js +1 -1
- package/dist/durable-agent/create-inngest-agentic-workflow.d.ts.map +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/dist/{src-CJ5wmdni.cjs → src-BrICnawu.cjs} +5 -3
- package/dist/src-BrICnawu.cjs.map +1 -0
- package/dist/{src-CyyAX2O_.js → src-DfWVfNp1.js} +6 -4
- package/dist/src-DfWVfNp1.js.map +1 -0
- package/package.json +5 -5
- package/dist/src-CJ5wmdni.cjs.map +0 -1
- package/dist/src-CyyAX2O_.js.map +0 -1
package/dist/connect.cjs
CHANGED
package/dist/connect.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { i as connect } from "./src-
|
|
1
|
+
import { i as connect } from "./src-DfWVfNp1.js";
|
|
2
2
|
export { connect };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-inngest-agentic-workflow.d.ts","sourceRoot":"","sources":["../../src/durable-agent/create-inngest-agentic-workflow.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-inngest-agentic-workflow.d.ts","sourceRoot":"","sources":["../../src/durable-agent/create-inngest-agentic-workflow.ts"],"names":[],"mappings":"AAsCA,OAAO,KAAK,EAAe,OAAO,EAAE,MAAM,SAAS,CAAC;AAIpD,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,UAAU,CAAC;AA0CzD;;GAEG;AACH,MAAM,WAAW,oCAAoC;IACnD,8BAA8B;IAC9B,OAAO,EAAE,OAAO,CAAC;IACjB,gDAAgD;IAChD,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,kGAAkG;IAClG,OAAO,CAAC,EAAE,wBAAwB,CAAC,SAAS,CAAC,CAAC;CAC/C;AAyCD,oCAAoC;AACpC,eAAO,MAAM,qBAAqB;aAChC,iBAAiB;aACjB,YAAY;CACJ,CAAC;AAEX,wBAAgB,mCAAmC,CAAC,OAAO,EAAE,oCAAoC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;YAmbhG"}
|
package/dist/index.cjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_src = require("./src-
|
|
2
|
+
const require_src = require("./src-BrICnawu.cjs");
|
|
3
3
|
exports.InngestExecutionEngine = require_src.InngestExecutionEngine;
|
|
4
4
|
exports.InngestPubSub = require_src.InngestPubSub;
|
|
5
5
|
exports.InngestRun = require_src.InngestRun;
|
package/dist/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as createServe, c as isInngestAgent, d as InngestRun, f as InngestPubSub, i as connect, l as createInngestDurableAgenticWorkflow, m as InngestExecutionEngine, n as init, o as serve, p as OVERSIZED_EVENT_CHUNK_TYPE, r as _compatibilityCheck, s as createInngestAgent, t as createStep, u as InngestWorkflow } from "./src-
|
|
1
|
+
import { a as createServe, c as isInngestAgent, d as InngestRun, f as InngestPubSub, i as connect, l as createInngestDurableAgenticWorkflow, m as InngestExecutionEngine, n as init, o as serve, p as OVERSIZED_EVENT_CHUNK_TYPE, r as _compatibilityCheck, s as createInngestAgent, t as createStep, u as InngestWorkflow } from "./src-DfWVfNp1.js";
|
|
2
2
|
export { InngestExecutionEngine, InngestPubSub, InngestRun, InngestWorkflow, OVERSIZED_EVENT_CHUNK_TYPE, _compatibilityCheck, connect, createInngestAgent, createInngestDurableAgenticWorkflow, createServe, createStep, init, isInngestAgent, serve };
|
|
@@ -2604,13 +2604,15 @@ function createInngestDurableAgenticWorkflow(options) {
|
|
|
2604
2604
|
return finalOutput;
|
|
2605
2605
|
}, { id: "map-final-output" }).map(async (params) => {
|
|
2606
2606
|
const { inputData, getInitData, mastra, requestContext, tracingContext } = params;
|
|
2607
|
+
const initData = getInitData();
|
|
2607
2608
|
(0, _mastra_core_agent_durable.executeDurableAgentScorers)({
|
|
2608
|
-
initData
|
|
2609
|
+
initData,
|
|
2609
2610
|
finalOutput: inputData,
|
|
2610
2611
|
mastra,
|
|
2611
2612
|
requestContext,
|
|
2612
2613
|
tracingContext,
|
|
2613
|
-
loadStoredMessages: (0, _mastra_core_agent_durable.loadRunStoredMessages)(params)
|
|
2614
|
+
loadStoredMessages: (0, _mastra_core_agent_durable.loadRunStoredMessages)(params),
|
|
2615
|
+
scorerInstances: (0, _mastra_core_agent_durable.takeRunScorerInstances)(initData.runId, mastra)
|
|
2614
2616
|
}).catch((error) => mastra?.getLogger?.()?.warn?.(`[DurableAgent] Skipped scorers: ${error}`));
|
|
2615
2617
|
return inputData;
|
|
2616
2618
|
}, { id: "execute-scorers" }).commit();
|
|
@@ -4293,4 +4295,4 @@ Object.defineProperty(exports, "serve", {
|
|
|
4293
4295
|
}
|
|
4294
4296
|
});
|
|
4295
4297
|
|
|
4296
|
-
//# sourceMappingURL=src-
|
|
4298
|
+
//# sourceMappingURL=src-BrICnawu.cjs.map
|