@mastra/inngest 1.10.4-alpha.1 → 1.10.4-alpha.2
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 +1 -0
- 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-CGrVAs0_.cjs → src-CRuqO4qq.cjs} +6 -1
- package/dist/src-CRuqO4qq.cjs.map +1 -0
- package/dist/{src-CoboLrh1.js → src-MsxnBjG8.js} +6 -1
- package/dist/src-MsxnBjG8.js.map +1 -0
- package/package.json +7 -7
- package/dist/src-CGrVAs0_.cjs.map +0 -1
- package/dist/src-CoboLrh1.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-MsxnBjG8.js";
|
|
2
2
|
export { connect };
|
|
@@ -21,6 +21,7 @@ export declare function createInngestDurableAgenticWorkflow(options: InngestDura
|
|
|
21
21
|
agentId: string;
|
|
22
22
|
agentName?: string | undefined;
|
|
23
23
|
messageListState: any;
|
|
24
|
+
initialUntaggedSystemMessages?: any[] | undefined;
|
|
24
25
|
toolsMetadata: any[];
|
|
25
26
|
modelConfig: {
|
|
26
27
|
provider: string;
|
|
@@ -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":"AAgCA,OAAO,KAAK,EAAe,OAAO,EAAE,MAAM,SAAS,CAAC;AAIpD,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,UAAU,CAAC;AAyCzD;;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;AAuCD,oCAAoC;AACpC,eAAO,MAAM,qBAAqB;aAChC,iBAAiB;aACjB,YAAY;CACJ,CAAC;AAEX,wBAAgB,mCAAmC,CAAC,OAAO,EAAE,oCAAoC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;YAqXhG"}
|
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-CRuqO4qq.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, n as init, o as serve, p as InngestExecutionEngine, 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, n as init, o as serve, p as InngestExecutionEngine, r as _compatibilityCheck, s as createInngestAgent, t as createStep, u as InngestWorkflow } from "./src-MsxnBjG8.js";
|
|
2
2
|
export { InngestExecutionEngine, InngestPubSub, InngestRun, InngestWorkflow, _compatibilityCheck, connect, createInngestAgent, createInngestDurableAgenticWorkflow, createServe, createStep, init, isInngestAgent, serve };
|
|
@@ -17,6 +17,7 @@ let _mastra_core_request_context = require("@mastra/core/request-context");
|
|
|
17
17
|
let inngest_hono = require("inngest/hono");
|
|
18
18
|
let _mastra_core_cache = require("@mastra/core/cache");
|
|
19
19
|
let _mastra_core_utils = require("@mastra/core/utils");
|
|
20
|
+
let _mastra_core_agent_message_list = require("@mastra/core/agent/message-list");
|
|
20
21
|
let _mastra_core_workflows__constants = require("@mastra/core/workflows/_constants");
|
|
21
22
|
let zod = require("zod");
|
|
22
23
|
//#region src/nested-workflow-output.ts
|
|
@@ -2073,6 +2074,7 @@ const durableAgenticInputSchema = zod.z.object({
|
|
|
2073
2074
|
agentId: zod.z.string(),
|
|
2074
2075
|
agentName: zod.z.string().optional(),
|
|
2075
2076
|
messageListState: zod.z.any(),
|
|
2077
|
+
initialUntaggedSystemMessages: zod.z.array(zod.z.any()).optional(),
|
|
2076
2078
|
toolsMetadata: zod.z.array(zod.z.any()),
|
|
2077
2079
|
modelConfig: _mastra_core_agent_durable.modelConfigSchema,
|
|
2078
2080
|
options: zod.z.any(),
|
|
@@ -2143,6 +2145,7 @@ function createInngestDurableAgenticWorkflow(options) {
|
|
|
2143
2145
|
agentId: state.agentId,
|
|
2144
2146
|
agentName: state.agentName,
|
|
2145
2147
|
messageListState: state.messageListState,
|
|
2148
|
+
initialUntaggedSystemMessages: state.initialUntaggedSystemMessages,
|
|
2146
2149
|
toolsMetadata: state.toolsMetadata,
|
|
2147
2150
|
modelConfig: state.modelConfig,
|
|
2148
2151
|
options: state.options,
|
|
@@ -2208,10 +2211,12 @@ function createInngestDurableAgenticWorkflow(options) {
|
|
|
2208
2211
|
steps: []
|
|
2209
2212
|
}).map(async ({ inputData }) => {
|
|
2210
2213
|
const input = inputData;
|
|
2214
|
+
const initialMessageList = new _mastra_core_agent_message_list.MessageList().deserialize(input.messageListState);
|
|
2211
2215
|
const agentSpanData = input.agentSpanData;
|
|
2212
2216
|
const modelSpanData = input.modelSpanData;
|
|
2213
2217
|
return {
|
|
2214
2218
|
...input,
|
|
2219
|
+
initialUntaggedSystemMessages: initialMessageList.getSystemMessages(),
|
|
2215
2220
|
iterationCount: 0,
|
|
2216
2221
|
accumulatedSteps: [],
|
|
2217
2222
|
accumulatedUsage: {
|
|
@@ -3911,4 +3916,4 @@ Object.defineProperty(exports, "serve", {
|
|
|
3911
3916
|
}
|
|
3912
3917
|
});
|
|
3913
3918
|
|
|
3914
|
-
//# sourceMappingURL=src-
|
|
3919
|
+
//# sourceMappingURL=src-CRuqO4qq.cjs.map
|