paseo-agy-acp 2.4.2 → 2.5.0

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/CHANGELOG.md CHANGED
@@ -2,6 +2,43 @@
2
2
 
3
3
  All notable changes to `paseo-agy-acp` are recorded here.
4
4
 
5
+ ## 2.5.0 - 2026-10-10
6
+
7
+ ### Changed
8
+
9
+ - Use the Paseo provider id `paseo-agy-acp` with display name **Antigravity
10
+ Pro** instead of `antigravity`. Paseo v0.11.2 added its own built-in agy
11
+ provider (id `antigravity`, display name Antigravity) that starts the host
12
+ `agy` CLI (`/home/tiezbro/.local/bin/agy`); its login lives in
13
+ `~/.gemini/antigravity-cli`. This adapter does not start that `agy` CLI; it
14
+ starts `agy-acp`, which runs the official ACP kernel `agy_acp_server`, and
15
+ its login lives in `~/.gemini/antigravity-acp`.
16
+ - The built-in provider and this adapter can run at the same time: the built-in
17
+ provider runs its `agy` processes, and this adapter runs its `agy_acp_server`
18
+ processes. Separate logins mean two Antigravity accounts, so both accounts'
19
+ Gemini Pro quotas can be used at the same time. Admission only limits
20
+ `agy_acp_server`; it does not limit the built-in provider's `agy` processes.
21
+ - Configure the custom provider with the Paseo v0.11.2 shape
22
+ `extends: "acp"` plus `label: "Antigravity Pro"` under `agents.providers`.
23
+ README (EN/ZH) examples, version pins, the version badge, tests, and the
24
+ official-kernel smoke now expect `2.5.0`.
25
+ - Existing users who keyed this adapter as `antigravity` must rename that key
26
+ to `paseo-agy-acp`. While the old key remains, Paseo hides the built-in agy
27
+ provider and routes the id `antigravity` to this adapter.
28
+
29
+ ### Unchanged
30
+
31
+ - Admission keeps the internal partition string `provider: "antigravity"`; the
32
+ live state directory keys seats with it, so changing it would split the
33
+ queue.
34
+ - ACP `agentInfo` name stays `agy-acp`, and the npm keyword stays
35
+ `antigravity`.
36
+
37
+ ### Verification
38
+
39
+ - Complete validation: 43 test files, 257 passed, 1 skipped; architecture and
40
+ secret checks passed.
41
+
5
42
  ## 2.4.2 - 2026-10-10
6
43
 
7
44
  ### Fixed
package/README.md CHANGED
@@ -5,7 +5,7 @@
5
5
  **Reliable Paseo adapter for Google's official Antigravity ACP kernel**
6
6
 
7
7
  [![License](https://img.shields.io/badge/license-Apache%202.0-blue?style=flat-square)](./LICENSE)
8
- [![Version](https://img.shields.io/badge/version-2.4.2-blue?style=flat-square)](./package.json)
8
+ [![Version](https://img.shields.io/badge/version-2.5.0-blue?style=flat-square)](./package.json)
9
9
  [![npm](https://img.shields.io/npm/v/paseo-agy-acp?style=flat-square)](https://www.npmjs.com/package/paseo-agy-acp)
10
10
  [![Node](https://img.shields.io/badge/node-%3E%3D22-brightgreen?style=flat-square)](./package.json)
11
11
  [![ACP](https://img.shields.io/badge/ACP-NDJSON%20v1-8A2BE2?style=flat-square)](https://agentclientprotocol.com)
@@ -102,7 +102,7 @@ Paseo agents.
102
102
  <!-- readme:requirements -->
103
103
  ## Requirements
104
104
 
105
- - **Paseo** with Generic ACP provider support
105
+ - **Paseo** v0.11.2 or newer with custom ACP provider support
106
106
  - **Node.js 22 or newer**
107
107
  - An Antigravity account able to complete official `oauth-personal`
108
108
  - Linux filesystem ownership and mode support when Admission is enabled
@@ -119,7 +119,7 @@ wrapper. A different existing path is used as-is.
119
119
  ### 1. Authenticate
120
120
 
121
121
  ```bash
122
- npx -y paseo-agy-acp@2.4.2 --login
122
+ npx -y paseo-agy-acp@2.5.0 --login
123
123
  ```
124
124
 
125
125
  The first run downloads and configures official kernel 1.2.1. That download is
@@ -136,7 +136,7 @@ delegation.
136
136
  ```bash
137
137
  export AGY_ACP_STATE_DIR="$HOME/.local/state/paseo-agy-acp/account-name"
138
138
  install -d -m 700 "$AGY_ACP_STATE_DIR"
139
- npx -y --package=paseo-agy-acp@2.4.2 \
139
+ npx -y --package=paseo-agy-acp@2.5.0 \
140
140
  agy-acp-prepare-state "$AGY_ACP_STATE_DIR"
141
141
  ```
142
142
 
@@ -146,32 +146,61 @@ creates or validates the directory and refuses an existing permissive path.
146
146
  ### 3. Configure the Paseo provider
147
147
 
148
148
  Add or update the provider in `$PASEO_HOME/config.json` or
149
- `~/.paseo/config.json`:
149
+ `~/.paseo/config.json`. The provider id is the key under `agents.providers`:
150
150
 
151
151
  ```json
152
152
  {
153
- "providers": {
154
- "antigravity": {
155
- "type": "acp",
156
- "command": ["npx", "-y", "paseo-agy-acp@2.4.2"],
157
- "env": {
158
- "AGY_ACP_ADMISSION_ENABLED": "true",
159
- "AGY_ACP_STATE_DIR": "/home/YOU/.local/state/paseo-agy-acp/account-name"
153
+ "agents": {
154
+ "providers": {
155
+ "paseo-agy-acp": {
156
+ "extends": "acp",
157
+ "label": "Antigravity Pro",
158
+ "command": ["npx", "-y", "paseo-agy-acp@2.5.0"],
159
+ "env": {
160
+ "AGY_ACP_ADMISSION_ENABLED": "true",
161
+ "AGY_ACP_STATE_DIR": "/home/YOU/.local/state/paseo-agy-acp/account-name"
162
+ }
160
163
  }
161
164
  }
162
165
  }
163
166
  }
164
167
  ```
165
168
 
169
+ Paseo v0.11.2 requires `extends: "acp"` and a `label` for a custom ACP
170
+ provider. Provider ids must match `^[a-z][a-z0-9-]*$`; `paseo-agy-acp` does.
171
+
166
172
  Paseo supplies `PASEO_AGENT_ID` and `PASEO_AGENT_CWD` to the provider process.
167
173
  Omit the two Admission variables only when you intentionally want unfenced
168
174
  single-agent operation.
169
175
 
176
+ #### Coexistence with Paseo's built-in agy provider
177
+
178
+ Paseo v0.11.2 added its own built-in Antigravity provider. The two providers
179
+ are separate programs:
180
+
181
+ - Paseo's built-in agy provider (id `antigravity`, display name **Antigravity**)
182
+ starts the host `agy` CLI (resolved from `PATH`). Its login lives in
183
+ `~/.gemini/antigravity-cli`.
184
+ - `paseo-agy-acp` (id `paseo-agy-acp`, display name **Antigravity Pro**) does
185
+ not start that `agy` CLI. It starts `agy-acp`, which runs the official ACP
186
+ kernel `agy_acp_server`. Its login lives in `~/.gemini/antigravity-acp`.
187
+
188
+ Both can be enabled at the same time: Paseo's built-in provider runs its `agy`
189
+ processes, and this adapter runs its `agy_acp_server` processes. Because the
190
+ logins are separate, they can be signed into two Antigravity accounts, so each
191
+ account's Gemini Pro quota can be used at the same time. The adapter's
192
+ Admission queue only limits `agy_acp_server`; it does not limit the built-in
193
+ provider's `agy` processes.
194
+
195
+ Existing users who configured this adapter under the key `antigravity` must
196
+ rename that key to `paseo-agy-acp`. While the old key remains, Paseo hides the
197
+ built-in agy provider and routes the id `antigravity` to this adapter.
198
+
170
199
  ### 4. Restart and verify
171
200
 
172
- Restart the Paseo daemon, create an agent with provider `antigravity`, select a
173
- supported mode, and send a simple prompt. `npx` starts a stdio ACP server for
174
- Paseo; it is not a standalone chat application.
201
+ Restart the Paseo daemon, create an agent with provider `paseo-agy-acp`,
202
+ select a supported mode, and send a simple prompt. `npx` starts a stdio ACP
203
+ server for Paseo; it is not a standalone chat application.
175
204
 
176
205
  <!-- readme:configuration -->
177
206
  ## Configuration
package/README.zh-CN.md CHANGED
@@ -5,7 +5,7 @@
5
5
  **Google 官方 Antigravity ACP 内核面向 Paseo 的可靠产品适配器**
6
6
 
7
7
  [![License](https://img.shields.io/badge/license-Apache%202.0-blue?style=flat-square)](./LICENSE)
8
- [![Version](https://img.shields.io/badge/version-2.4.2-blue?style=flat-square)](./package.json)
8
+ [![Version](https://img.shields.io/badge/version-2.5.0-blue?style=flat-square)](./package.json)
9
9
  [![npm](https://img.shields.io/npm/v/paseo-agy-acp?style=flat-square)](https://www.npmjs.com/package/paseo-agy-acp)
10
10
  [![Node](https://img.shields.io/badge/node-%3E%3D22-brightgreen?style=flat-square)](./package.json)
11
11
  [![ACP](https://img.shields.io/badge/ACP-NDJSON%20v1-8A2BE2?style=flat-square)](https://agentclientprotocol.com)
@@ -91,7 +91,7 @@ Antigravity 账号服务多个并发 Paseo agent 时建议启用。
91
91
  <!-- readme:requirements -->
92
92
  ## 环境要求
93
93
 
94
- - 支持 Generic ACP provider 的 **Paseo**
94
+ - **Paseo** v0.11.2 或更新版本,支持自定义 ACP provider
95
95
  - **Node.js 22 或更新版本**
96
96
  - 可以完成官方 `oauth-personal` 的 Antigravity 账号
97
97
  - 启用 Admission 时,系统需支持 Linux 文件 owner 与 mode
@@ -107,7 +107,7 @@ Antigravity 账号服务多个并发 Paseo agent 时建议启用。
107
107
  ### 1. 完成认证
108
108
 
109
109
  ```bash
110
- npx -y paseo-agy-acp@2.4.2 --login
110
+ npx -y paseo-agy-acp@2.5.0 --login
111
111
  ```
112
112
 
113
113
  第一次运行会下载并配置官方内核 1.2.1。下载约 320 MiB,放在 `~/.local/opt/`。
@@ -121,7 +121,7 @@ OAuth 由官方内核完成。Token 保留在内核自己的状态中,本适
121
121
  ```bash
122
122
  export AGY_ACP_STATE_DIR="$HOME/.local/state/paseo-agy-acp/account-name"
123
123
  install -d -m 700 "$AGY_ACP_STATE_DIR"
124
- npx -y --package=paseo-agy-acp@2.4.2 \
124
+ npx -y --package=paseo-agy-acp@2.5.0 \
125
125
  agy-acp-prepare-state "$AGY_ACP_STATE_DIR"
126
126
  ```
127
127
 
@@ -130,30 +130,56 @@ npx -y --package=paseo-agy-acp@2.4.2 \
130
130
 
131
131
  ### 3. 配置 Paseo provider
132
132
 
133
- 在 `$PASEO_HOME/config.json` 或 `~/.paseo/config.json` 中增加或更新 provider:
133
+ 在 `$PASEO_HOME/config.json` 或 `~/.paseo/config.json` 中增加或更新 provider。
134
+ provider id 是 `agents.providers` 下的键:
134
135
 
135
136
  ```json
136
137
  {
137
- "providers": {
138
- "antigravity": {
139
- "type": "acp",
140
- "command": ["npx", "-y", "paseo-agy-acp@2.4.2"],
141
- "env": {
142
- "AGY_ACP_ADMISSION_ENABLED": "true",
143
- "AGY_ACP_STATE_DIR": "/home/YOU/.local/state/paseo-agy-acp/account-name"
138
+ "agents": {
139
+ "providers": {
140
+ "paseo-agy-acp": {
141
+ "extends": "acp",
142
+ "label": "Antigravity Pro",
143
+ "command": ["npx", "-y", "paseo-agy-acp@2.5.0"],
144
+ "env": {
145
+ "AGY_ACP_ADMISSION_ENABLED": "true",
146
+ "AGY_ACP_STATE_DIR": "/home/YOU/.local/state/paseo-agy-acp/account-name"
147
+ }
144
148
  }
145
149
  }
146
150
  }
147
151
  }
148
152
  ```
149
153
 
154
+ Paseo v0.11.2 要求自定义 ACP provider 声明 `extends: "acp"` 和 `label`。
155
+ provider id 必须匹配 `^[a-z][a-z0-9-]*$`,`paseo-agy-acp` 符合。
156
+
150
157
  Paseo 会向 provider 进程提供 `PASEO_AGENT_ID` 和 `PASEO_AGENT_CWD`。只有在明确
151
158
  需要不受 Admission 约束的单 agent 运行时,才省略两个 Admission 变量。
152
159
 
160
+ #### 与 Paseo 内置 agy provider 共存
161
+
162
+ Paseo v0.11.2 新增了内置的 agy provider,两者是两个不同的程序:
163
+
164
+ - Paseo 内置 agy provider(id `antigravity`,显示名 **Antigravity**)走宿主机的
165
+ `agy` CLI(从 `PATH` 查找),登录保存在 `~/.gemini/antigravity-cli`。
166
+ - `paseo-agy-acp`(id `paseo-agy-acp`,显示名 **Antigravity Pro**)不启动该
167
+ `agy` CLI,而是启动 `agy-acp`,由它运行官方 ACP 内核 `agy_acp_server`,
168
+ 登录保存在 `~/.gemini/antigravity-acp`。
169
+
170
+ 两者可以同时启用:内置 provider 运行自己的 `agy` 进程,本适配器运行自己的
171
+ `agy_acp_server` 进程。登录互相独立,因此可以分别登录两个 Antigravity 账号,
172
+ 同时使用两个账号各自的 Gemini Pro 配额。适配器的 Admission 队列只限制
173
+ `agy_acp_server`,不限制内置 provider 的 `agy` 进程。
174
+
175
+ 如果本适配器原先配置在 `antigravity` 键下,必须把该键改名为
176
+ `paseo-agy-acp`。旧键仍然存在时,Paseo 会隐藏内置 agy provider,并把
177
+ `antigravity` 这个 id 路由给本适配器。
178
+
153
179
  ### 4. 重启并验证
154
180
 
155
- 重启 Paseo daemon,创建 provider 为 `antigravity` 的 agent,选择受支持模式并
156
- 发送一个简单 prompt。`npx` 启动的是 Paseo 使用的 stdio ACP server,不是独立
181
+ 重启 Paseo daemon,创建 provider 为 `paseo-agy-acp` 的 agent,选择受支持模式
182
+ 并发送一个简单 prompt。`npx` 启动的是 Paseo 使用的 stdio ACP server,不是独立
157
183
  聊天程序。
158
184
 
159
185
  <!-- readme:configuration -->
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "paseo-agy-acp",
3
- "version": "2.4.2",
3
+ "version": "2.5.0",
4
4
  "description": "Paseo product ACP adapter that proxies the official Google Antigravity ACP kernel (NDJSON) with Admission and daemon context",
5
5
  "type": "module",
6
6
  "author": {