@saluzi/saluzi-edu 0.2.0 → 0.2.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/dist/cli.js +41 -41
- package/package.json +5 -3
- package/scripts/acp-link.mjs +12 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@saluzi/saluzi-edu",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.1",
|
|
4
4
|
"description": "Saluzi CLI - interactive AI coding assistant in the terminal",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -18,7 +18,8 @@
|
|
|
18
18
|
"bin": {
|
|
19
19
|
"slz": "dist/cli-node.js",
|
|
20
20
|
"slz-bun": "dist/cli-bun.js",
|
|
21
|
-
"saluzi": "dist/cli-node.js"
|
|
21
|
+
"saluzi": "dist/cli-node.js",
|
|
22
|
+
"acp-link": "scripts/acp-link.mjs"
|
|
22
23
|
},
|
|
23
24
|
"workspaces": [
|
|
24
25
|
"packages/*",
|
|
@@ -27,6 +28,7 @@
|
|
|
27
28
|
],
|
|
28
29
|
"files": [
|
|
29
30
|
"dist",
|
|
31
|
+
"scripts/acp-link.mjs",
|
|
30
32
|
"scripts/postinstall.cjs",
|
|
31
33
|
"scripts/run-parallel.mjs",
|
|
32
34
|
"packages/remote-control-server/src",
|
|
@@ -66,7 +68,7 @@
|
|
|
66
68
|
},
|
|
67
69
|
"dependencies": {
|
|
68
70
|
"@agentclientprotocol/sdk": "^0.19.0",
|
|
69
|
-
"@saluzi/acp-link": "^0.1.
|
|
71
|
+
"@saluzi/acp-link": "^0.1.1",
|
|
70
72
|
"@saluzi/codegraph": "^0.2.4",
|
|
71
73
|
"@saluzi/sa-agent-tools": "^1.0.0",
|
|
72
74
|
"@saluzi/sa-builtin-tools": "^1.0.1",
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
// Wrapper that exposes @saluzi/acp-link's CLI as the `acp-link` command
|
|
3
|
+
// shipped with @saluzi/saluzi-edu.
|
|
4
|
+
//
|
|
5
|
+
// Why: npm `install -g` only links the top-level package's bins to the
|
|
6
|
+
// global bin directory — dependencies' bins are NOT linked. So even though
|
|
7
|
+
// @saluzi/acp-link is a dependency of @saluzi/saluzi-edu and ships its own
|
|
8
|
+
// `acp-link` bin, users would have to install @saluzi/acp-link separately
|
|
9
|
+
// without this wrapper. The bare specifier resolves through node_modules
|
|
10
|
+
// at runtime, finding @saluzi/acp-link whether installed globally or
|
|
11
|
+
// locally alongside @saluzi/saluzi-edu.
|
|
12
|
+
import '@saluzi/acp-link/dist/cli/bin.js'
|