premanmcp 1.1.13 → 1.1.14
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/bin/eval_harness.py +114 -1
- package/bin/eval_target.js +11 -7
- package/bin/eval_templates.js +488 -44
- package/bin/shared.js +5 -0
- package/bin/tool_proxy.py +828 -0
- package/package.json +1 -1
package/bin/shared.js
CHANGED
|
@@ -23,6 +23,11 @@ import path from "node:path";
|
|
|
23
23
|
import { createInterface } from "node:readline/promises";
|
|
24
24
|
import { fileURLToPath } from "node:url";
|
|
25
25
|
|
|
26
|
+
// Generated wrappers import tool_proxy.py from this folder (design spec §6.0.2).
|
|
27
|
+
// Set here because every entry point imports this module, and the wrapper check
|
|
28
|
+
// (`python -c`) and PYTHONSAFEPATH both drop the script folder from sys.path.
|
|
29
|
+
process.env.PREMAN_CLI_BIN = path.dirname(fileURLToPath(import.meta.url));
|
|
30
|
+
|
|
26
31
|
export const DEFAULT_BACKEND = "https://api.preman.live";
|
|
27
32
|
export const DEFAULT_FRONTEND = "https://app.preman.live";
|
|
28
33
|
export const CREDENTIALS_DIR = path.join(os.homedir(), ".preman");
|