@ekairos/events 1.22.31-beta.development.0 → 1.22.32-beta.development.0
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/steps/stream.steps.js +0 -10
- package/package.json +2 -2
|
@@ -37,14 +37,6 @@ export async function closeContextStream(params) {
|
|
|
37
37
|
await writable.close();
|
|
38
38
|
}
|
|
39
39
|
}
|
|
40
|
-
function readWaitUntil(env) {
|
|
41
|
-
const candidate = typeof env?.waitUntil === "function"
|
|
42
|
-
? env.waitUntil
|
|
43
|
-
: typeof env?.after === "function"
|
|
44
|
-
? env.after
|
|
45
|
-
: undefined;
|
|
46
|
-
return typeof candidate === "function" ? candidate : undefined;
|
|
47
|
-
}
|
|
48
40
|
function asRecord(value) {
|
|
49
41
|
return value && typeof value === "object" ? value : {};
|
|
50
42
|
}
|
|
@@ -76,10 +68,8 @@ export async function createPersistedContextStepStream(params) {
|
|
|
76
68
|
}
|
|
77
69
|
const clientId = asString(params.clientId) || createContextStepStreamClientId(params.stepId);
|
|
78
70
|
const startedAt = new Date();
|
|
79
|
-
const waitUntil = readWaitUntil(params.env);
|
|
80
71
|
const writeStream = db.streams.createWriteStream({
|
|
81
72
|
clientId,
|
|
82
|
-
waitUntil,
|
|
83
73
|
});
|
|
84
74
|
const streamId = await writeStream.streamId();
|
|
85
75
|
await db.transact([
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ekairos/events",
|
|
3
|
-
"version": "1.22.
|
|
3
|
+
"version": "1.22.32-beta.development.0",
|
|
4
4
|
"description": "Ekairos Events - Context-first workflow runtime",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -116,7 +116,7 @@
|
|
|
116
116
|
},
|
|
117
117
|
"dependencies": {
|
|
118
118
|
"@ai-sdk/openai": "^2.0.52",
|
|
119
|
-
"@ekairos/domain": "^1.22.
|
|
119
|
+
"@ekairos/domain": "^1.22.32-beta.development.0",
|
|
120
120
|
"@instantdb/admin": "0.22.158",
|
|
121
121
|
"@instantdb/core": "0.22.142",
|
|
122
122
|
"@vercel/mcp-adapter": "^1.0.0",
|