@mammothb/pi-eval 2.0.0 → 2.0.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mammothb/pi-eval",
3
- "version": "2.0.0",
3
+ "version": "2.0.1",
4
4
  "description": "A pi extension that adds an eval tool for executing JavaScript and Python code in isolated subprocesses",
5
5
  "keywords": [
6
6
  "pi-package"
package/src/eval.ts CHANGED
@@ -1,13 +1,13 @@
1
1
  import type { ToolDefinition } from "@earendil-works/pi-coding-agent";
2
2
  import { Type } from "typebox";
3
- import { loadConfig } from "./config.js";
4
- import { executeJavaScript } from "./javascript.js";
5
- import { executePython } from "./python.js";
3
+ import { loadConfig } from "./lib/config.js";
4
+ import { executeJavaScript } from "./lib/javascript.js";
5
+ import { executePython } from "./lib/python.js";
6
6
  import {
7
7
  EvalCancelledError,
8
8
  type EvalDetails,
9
9
  EvalUnsupportedLanguageError,
10
- } from "./types.js";
10
+ } from "./lib/types.js";
11
11
 
12
12
  export const TIMEOUT_MS = 30_000;
13
13
 
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes