@ekairos/dataset 1.22.60-beta.development.0 → 1.22.61-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.
@@ -1,5 +1,4 @@
1
1
  import { readFileSync } from "node:fs";
2
- import { createRequire } from "node:module";
3
2
  import { dirname, join } from "node:path";
4
3
  import { fileURLToPath } from "node:url";
5
4
  import { runDatasetSandboxCommandStep, writeDatasetSandboxFilesStep } from "../sandbox/steps.js";
@@ -16,16 +15,10 @@ const PYTHON_SCRIPT_FILES = [
16
15
  "preview_tail_csv.py",
17
16
  "preview_tail_excel.py",
18
17
  ];
19
- const require = createRequire(import.meta.url);
20
18
  function resolveScriptPath(scriptName) {
21
- try {
22
- return require.resolve(`@ekairos/dataset/file/scripts/${scriptName}`);
23
- }
24
- catch {
25
- // Prefer local scripts in src/ (tests/dev), and after build the scripts are copied to dist/
26
- // at the same relative path, so this works in both environments.
27
- return join(dirname(fileURLToPath(import.meta.url)), "scripts", scriptName);
28
- }
19
+ // In src and dist the scripts live beside this module. Avoid package-resolution here:
20
+ // Turbopack treats package-resolved Python script paths as module edges.
21
+ return join(dirname(fileURLToPath(import.meta.url)), "scripts", scriptName);
29
22
  }
30
23
  const preparedSandboxIds = new Set();
31
24
  const sandboxSetupPromises = new Map();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ekairos/dataset",
3
- "version": "1.22.60-beta.development.0",
3
+ "version": "1.22.61-beta.development.0",
4
4
  "description": "Pulzar Dataset Tools",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -65,9 +65,9 @@
65
65
  "test:ai-sdk:instant": "vitest run -c vitest.codex.config.mts src/tests/materializeDataset.ai-sdk.instant.test.ts"
66
66
  },
67
67
  "dependencies": {
68
- "@ekairos/domain": "^1.22.60-beta.development.0",
69
- "@ekairos/events": "^1.22.60-beta.development.0",
70
- "@ekairos/sandbox": "^1.22.60-beta.development.0",
68
+ "@ekairos/domain": "^1.22.61-beta.development.0",
69
+ "@ekairos/events": "^1.22.61-beta.development.0",
70
+ "@ekairos/sandbox": "^1.22.61-beta.development.0",
71
71
  "@instantdb/admin": "0.22.158",
72
72
  "@instantdb/core": "0.22.142",
73
73
  "ai": "^5.0.44",