@evref-bl/pharo-agent 0.3.0 → 0.3.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/.claude-plugin/plugin.json +1 -1
- package/README.md +1 -1
- package/package.json +4 -4
- package/plugin.json +1 -1
- package/skills/pharo-setup/SKILL.md +2 -2
- package/src/init.js +1 -1
- package/src/project.js +2 -2
package/README.md
CHANGED
|
@@ -15,7 +15,7 @@ on-demand Pharo workflow skills and references from the pinned MCP template
|
|
|
15
15
|
package. It does not install an agent-host MCP server.
|
|
16
16
|
|
|
17
17
|
`init` acts on the current directory and never searches above it. If that
|
|
18
|
-
directory has no `plexus.
|
|
18
|
+
directory has no `plexus.json`, it creates one that declares the
|
|
19
19
|
project and no image; an existing one is left untouched. It refuses to run
|
|
20
20
|
inside an enclosing PLexus project rather than initializing that project root.
|
|
21
21
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@evref-bl/pharo-agent",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.1",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Terminal-first Pharo integration for coding agents.",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -31,9 +31,9 @@
|
|
|
31
31
|
"test": "node --test"
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@evref-bl/pharo-mcp": "1.
|
|
35
|
-
"@evref-bl/plexus": "0.
|
|
36
|
-
"@evref-bl/plexus-gateway": "0.
|
|
34
|
+
"@evref-bl/pharo-mcp": "1.5.0",
|
|
35
|
+
"@evref-bl/plexus": "0.4.1",
|
|
36
|
+
"@evref-bl/plexus-gateway": "0.4.1",
|
|
37
37
|
"@modelcontextprotocol/sdk": "1.32.1"
|
|
38
38
|
}
|
|
39
39
|
}
|
package/plugin.json
CHANGED
|
@@ -8,14 +8,14 @@ Run this only when the user asks to enable Pharo tooling in this project.
|
|
|
8
8
|
From the project root, run the released CLI that matches this plugin:
|
|
9
9
|
|
|
10
10
|
```sh
|
|
11
|
-
npx --yes @evref-bl/pharo-agent@0.3.
|
|
11
|
+
npx --yes @evref-bl/pharo-agent@0.3.1 init --host codex
|
|
12
12
|
```
|
|
13
13
|
|
|
14
14
|
Use `--host claude` in Claude Code and `--host opencode` in OpenCode.
|
|
15
15
|
Do not configure an MCP server in the agent host. The command adds only a
|
|
16
16
|
conditional instruction block, so Pharo guidance stays out of unrelated work.
|
|
17
17
|
|
|
18
|
-
Setup initializes the current directory, creating `plexus.
|
|
18
|
+
Setup initializes the current directory, creating `plexus.json` with
|
|
19
19
|
no image when it is absent. Register one before the first `pharo-agent open`:
|
|
20
20
|
|
|
21
21
|
```sh
|
package/src/init.js
CHANGED
|
@@ -77,7 +77,7 @@ function guidance() {
|
|
|
77
77
|
function pharoGuide() {
|
|
78
78
|
return `# Pharo project guide
|
|
79
79
|
|
|
80
|
-
\`plexus.
|
|
80
|
+
\`plexus.json\` declares this project's images. A freshly initialized
|
|
81
81
|
project declares none; register one before the first \`pharo-agent open\`:
|
|
82
82
|
|
|
83
83
|
\`\`\`sh
|
package/src/project.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import fs from "node:fs";
|
|
2
2
|
import path from "node:path";
|
|
3
3
|
|
|
4
|
-
export const projectConfigFileName = "plexus.
|
|
4
|
+
export const projectConfigFileName = "plexus.json";
|
|
5
5
|
|
|
6
6
|
export function findProjectRoot(start = process.cwd()) {
|
|
7
7
|
let directory = path.resolve(start);
|
|
@@ -13,7 +13,7 @@ export function findProjectRoot(start = process.cwd()) {
|
|
|
13
13
|
|
|
14
14
|
const parent = path.dirname(directory);
|
|
15
15
|
if (parent === directory) {
|
|
16
|
-
throw new Error("No plexus.
|
|
16
|
+
throw new Error("No plexus.json found above the current directory");
|
|
17
17
|
}
|
|
18
18
|
directory = parent;
|
|
19
19
|
}
|