@ekairos/structure 1.22.39-beta.development.0 → 1.22.40-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/structure.js CHANGED
@@ -495,11 +495,13 @@ export function structure(env, opts) {
495
495
  }
496
496
  }
497
497
  async function runStory(evt) {
498
- await story.react(evt, {
498
+ const shell = await story.react(evt, {
499
499
  env,
500
500
  context: { key: contextKey },
501
+ durable: false,
501
502
  options: { silent: true, preventClose: true, sendFinish: false, maxIterations: 40, maxModelSteps: 10 },
502
503
  });
504
+ await shell.run;
503
505
  // Tools are intentionally pure: persist completion outputs post-react by reading tool results from events.
504
506
  const commit = await structureCommitFromEventsStep({ env, structureId: datasetId });
505
507
  if (!commit.ok) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ekairos/structure",
3
- "version": "1.22.39-beta.development.0",
3
+ "version": "1.22.40-beta.development.0",
4
4
  "description": "Ekairos Structure - Unified structured extraction (rows or object) from file/text/dataset inputs",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -36,8 +36,8 @@
36
36
  "typecheck": "tsc --noEmit"
37
37
  },
38
38
  "dependencies": {
39
- "@ekairos/domain": "^1.22.39-beta.development.0",
40
- "@ekairos/sandbox": "^1.22.39-beta.development.0",
39
+ "@ekairos/domain": "^1.22.40-beta.development.0",
40
+ "@ekairos/sandbox": "^1.22.40-beta.development.0",
41
41
  "@instantdb/admin": "0.22.126",
42
42
  "@instantdb/core": "0.22.126",
43
43
  "ai": "^5.0.95",
@@ -49,8 +49,8 @@
49
49
  "@ekairos/events": "workspace:*"
50
50
  },
51
51
  "devDependencies": {
52
- "@ekairos/sandbox": "workspace:*",
53
52
  "@ekairos/events": "workspace:*",
53
+ "@ekairos/sandbox": "workspace:*",
54
54
  "@ekairos/tsconfig": "workspace:*",
55
55
  "@types/node": "^24.5.0",
56
56
  "dotenv": "^17.2.2",