pi-acp 0.0.15 → 0.0.16
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/README.md +17 -7
- package/dist/index.js +631 -68
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -61,7 +61,7 @@ Add the following to your Zed `settngs.json`:
|
|
|
61
61
|
"command": "npx",
|
|
62
62
|
"args": ["-y", "pi-acp"],
|
|
63
63
|
"env": {
|
|
64
|
-
"PI_ACP_STARTUP_INFO": "true"
|
|
64
|
+
"PI_ACP_STARTUP_INFO": "true" // optional, "true" by default
|
|
65
65
|
}
|
|
66
66
|
}
|
|
67
67
|
}
|
|
@@ -79,9 +79,7 @@ npm install -g pi-acp
|
|
|
79
79
|
"type": "custom",
|
|
80
80
|
"command": "pi-acp",
|
|
81
81
|
"args": [],
|
|
82
|
-
"env": {
|
|
83
|
-
"PI_ACP_STARTUP_INFO": "true"
|
|
84
|
-
}
|
|
82
|
+
"env": {}
|
|
85
83
|
}
|
|
86
84
|
}
|
|
87
85
|
```
|
|
@@ -101,9 +99,7 @@ Point your ACP client to the built `dist/index.js`:
|
|
|
101
99
|
"type": "custom",
|
|
102
100
|
"command": "node",
|
|
103
101
|
"args": ["/path/to/pi-acp/dist/index.js"],
|
|
104
|
-
"env": {
|
|
105
|
-
"PI_ACP_STARTUP_INFO": "true"
|
|
106
|
-
}
|
|
102
|
+
"env": {}
|
|
107
103
|
}
|
|
108
104
|
}
|
|
109
105
|
```
|
|
@@ -158,6 +154,20 @@ Other built-in commands:
|
|
|
158
154
|
|
|
159
155
|
The rest are not yet implemented due to ACP limitations (e.g. no history)
|
|
160
156
|
|
|
157
|
+
## Authentication / Setup (ACP Registry)
|
|
158
|
+
|
|
159
|
+
This agent supports **Terminal Auth** for the ACP Registry.
|
|
160
|
+
|
|
161
|
+
In Zed, this will show an **Authenticate** banner that launches pi in a terminal.
|
|
162
|
+
|
|
163
|
+
Launch pi in a terminal for interactive login/setup:
|
|
164
|
+
|
|
165
|
+
```bash
|
|
166
|
+
pi-acp --terminal-login
|
|
167
|
+
```
|
|
168
|
+
|
|
169
|
+
Your ACP client can also invoke this automatically based on the agent's advertised `authMethods`.
|
|
170
|
+
|
|
161
171
|
## Development
|
|
162
172
|
|
|
163
173
|
```bash
|