@phren/agent 0.3.73 → 0.3.75
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.
|
@@ -53,7 +53,9 @@ function pythonErrors(content) {
|
|
|
53
53
|
" print(json.dumps([{'line': e.lineno or 1, 'column': e.offset or 1, 'message': e.msg}]))",
|
|
54
54
|
].join("\n");
|
|
55
55
|
try {
|
|
56
|
-
|
|
56
|
+
// -I: only the interpreter's own modules. Without it Python looks in the
|
|
57
|
+
// working directory first, so a project's ast.py or json.py would run here.
|
|
58
|
+
const out = execFileSync("python3", ["-I", "-c", script], { input: content, encoding: "utf-8", timeout: 5_000, stdio: ["pipe", "pipe", "ignore"] });
|
|
57
59
|
return JSON.parse(out);
|
|
58
60
|
}
|
|
59
61
|
catch {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@phren/agent",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.75",
|
|
4
4
|
"description": "phren's coding agent: starts every session knowing your project's memory, tasks and decisions",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
],
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"@modelcontextprotocol/sdk": "^1.32.0",
|
|
18
|
-
"@phren/cli": "0.3.
|
|
18
|
+
"@phren/cli": "0.3.75",
|
|
19
19
|
"ajv": "^8.20.0",
|
|
20
20
|
"ink": "^8.0.0",
|
|
21
21
|
"react": "^19.3.0"
|