paseo-agy-acp 2.3.1 → 2.3.2

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,23 @@
2
2
 
3
3
  All notable changes to `paseo-agy-acp` are recorded here.
4
4
 
5
+ ## 2.3.2 - 2026-09-24
6
+
7
+ ### Fixed
8
+
9
+ - Pass `--uid=` only when spawning a direct official `.par` on Linux. Darwin
10
+ builds reject that flag at startup.
11
+
12
+ ### Verification
13
+
14
+ - Complete validation: 37 test files, 217 passed, 1 skipped; architecture and
15
+ secret checks passed. Spawn args are pinned for `linux`, `darwin`, and `win32`.
16
+
17
+ ### Contributors
18
+
19
+ - Thanks to [@zwmmm](https://github.com/zwmmm) for the Linux-only `--uid=` fix
20
+ in [#12](https://github.com/tiezbro/paseo-agy-acp/pull/12).
21
+
5
22
  ## 2.3.1 - 2026-08-31
6
23
 
7
24
  ### 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.3.1-blue?style=flat-square)](./package.json)
8
+ [![Version](https://img.shields.io/badge/version-2.3.2-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)
@@ -110,7 +110,8 @@ Paseo agents.
110
110
 
111
111
  Set `PASEO_AGY_ACP_OFFICIAL_BIN` unless the kernel already exists at the
112
112
  maintainer-host default pin. If this variable points directly at a `.par`, the
113
- adapter starts it from its own directory and supplies the required uid.
113
+ adapter starts it from its own directory and, on Linux, appends the official
114
+ `--uid=` launch flag.
114
115
 
115
116
  <!-- readme:quickstart -->
116
117
  ## Quickstart
@@ -119,7 +120,7 @@ adapter starts it from its own directory and supplies the required uid.
119
120
 
120
121
  ```bash
121
122
  export PASEO_AGY_ACP_OFFICIAL_BIN="/absolute/path/to/agy-acp-server-wrapper-or.par"
122
- npx -y paseo-agy-acp@2.3.1 --login
123
+ npx -y paseo-agy-acp@2.3.2 --login
123
124
  ```
124
125
 
125
126
  OAuth is completed by the official kernel. Its tokens remain in the kernel's
@@ -133,7 +134,7 @@ delegation.
133
134
  ```bash
134
135
  export AGY_ACP_STATE_DIR="$HOME/.local/state/paseo-agy-acp/account-name"
135
136
  install -d -m 700 "$AGY_ACP_STATE_DIR"
136
- npx -y --package=paseo-agy-acp@2.3.1 \
137
+ npx -y --package=paseo-agy-acp@2.3.2 \
137
138
  agy-acp-prepare-state "$AGY_ACP_STATE_DIR"
138
139
  ```
139
140
 
@@ -150,7 +151,7 @@ Add or update the provider in `$PASEO_HOME/config.json` or
150
151
  "providers": {
151
152
  "antigravity": {
152
153
  "type": "acp",
153
- "command": ["npx", "-y", "paseo-agy-acp@2.3.1"],
154
+ "command": ["npx", "-y", "paseo-agy-acp@2.3.2"],
154
155
  "env": {
155
156
  "PASEO_AGY_ACP_OFFICIAL_BIN": "/absolute/path/to/agy-acp-server-wrapper-or.par",
156
157
  "AGY_ACP_ADMISSION_ENABLED": "true",
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.3.1-blue?style=flat-square)](./package.json)
8
+ [![Version](https://img.shields.io/badge/version-2.3.2-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)
@@ -99,7 +99,7 @@ Antigravity 账号服务多个并发 Paseo agent 时建议启用。
99
99
 
100
100
  除非官方内核已经位于维护者主机默认 pin 路径,否则必须设置
101
101
  `PASEO_AGY_ACP_OFFICIAL_BIN`。若它直接指向 `.par`,适配器会从该文件所在目录
102
- 启动并提供所需 uid。
102
+ 启动,并仅在 Linux 上附加官方 `--uid=` 启动参数。
103
103
 
104
104
  <!-- readme:quickstart -->
105
105
  ## 快速开始
@@ -108,7 +108,7 @@ Antigravity 账号服务多个并发 Paseo agent 时建议启用。
108
108
 
109
109
  ```bash
110
110
  export PASEO_AGY_ACP_OFFICIAL_BIN="/absolute/path/to/agy-acp-server-wrapper-or.par"
111
- npx -y paseo-agy-acp@2.3.1 --login
111
+ npx -y paseo-agy-acp@2.3.2 --login
112
112
  ```
113
113
 
114
114
  OAuth 由官方内核完成。Token 保留在内核自己的状态中,本适配器不会打印。
@@ -120,7 +120,7 @@ OAuth 由官方内核完成。Token 保留在内核自己的状态中,本适
120
120
  ```bash
121
121
  export AGY_ACP_STATE_DIR="$HOME/.local/state/paseo-agy-acp/account-name"
122
122
  install -d -m 700 "$AGY_ACP_STATE_DIR"
123
- npx -y --package=paseo-agy-acp@2.3.1 \
123
+ npx -y --package=paseo-agy-acp@2.3.2 \
124
124
  agy-acp-prepare-state "$AGY_ACP_STATE_DIR"
125
125
  ```
126
126
 
@@ -136,7 +136,7 @@ npx -y --package=paseo-agy-acp@2.3.1 \
136
136
  "providers": {
137
137
  "antigravity": {
138
138
  "type": "acp",
139
- "command": ["npx", "-y", "paseo-agy-acp@2.3.1"],
139
+ "command": ["npx", "-y", "paseo-agy-acp@2.3.2"],
140
140
  "env": {
141
141
  "PASEO_AGY_ACP_OFFICIAL_BIN": "/absolute/path/to/agy-acp-server-wrapper-or.par",
142
142
  "AGY_ACP_ADMISSION_ENABLED": "true",
@@ -1,5 +1,5 @@
1
1
  import { type ChildProcessWithoutNullStreams } from "node:child_process";
2
2
  export declare const DEFAULT_OFFICIAL_BIN: string;
3
3
  export declare function resolveOfficialBinary(environment?: NodeJS.ProcessEnv): string;
4
- export declare function officialSpawnArgs(binary: string): string[];
4
+ export declare function officialSpawnArgs(binary: string, platform?: NodeJS.Platform): string[];
5
5
  export declare function spawnOfficialKernel(environment?: NodeJS.ProcessEnv): ChildProcessWithoutNullStreams;
@@ -7,8 +7,12 @@ export function resolveOfficialBinary(environment = process.env) {
7
7
  const configured = environment.PASEO_AGY_ACP_OFFICIAL_BIN?.trim();
8
8
  return configured && configured.length > 0 ? configured : DEFAULT_OFFICIAL_BIN;
9
9
  }
10
- export function officialSpawnArgs(binary) {
10
+ export function officialSpawnArgs(binary, platform = process.platform) {
11
11
  const base = path.basename(binary);
12
+ // The official agent registry attaches `--uid=` to the linux-x86-64 binary
13
+ // only; the mac/windows builds reject the flag at startup.
14
+ if (platform !== "linux")
15
+ return [];
12
16
  if (base.endsWith(".par") || base === "agy_acp_server.par")
13
17
  return ["--uid="];
14
18
  return [];
@@ -1 +1 @@
1
- {"version":3,"file":"spawn.js","sourceRoot":"","sources":["../../../ACP Connector/official-kernel/spawn.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAuC,MAAM,oBAAoB,CAAC;AAChF,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AACrC,OAAO,EAAE,OAAO,EAAE,MAAM,SAAS,CAAC;AAClC,OAAO,IAAI,MAAM,WAAW,CAAC;AAE7B,MAAM,CAAC,MAAM,oBAAoB,GAAG,IAAI,CAAC,IAAI,CAC3C,OAAO,EAAE,EACT,iFAAiF,CAClF,CAAC;AAEF,MAAM,UAAU,qBAAqB,CAAC,WAAW,GAAsB,OAAO,CAAC,GAAG;IAChF,MAAM,UAAU,G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,CACb,iDAAiD,MAAM,kCAAkC,CAC1F,CAAC;IACJ,CAAC;IACD,MAAM,KAAK,GAAG,KAAK,CAAC,MAAM,EAAE,iBAAiB,CAAC,MAAM,CAAC,EAAE;QACrD,GAAG,EAAE,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC;QACzB,GAAG,EAAE,WAAW;QAChB,KAAK,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC;KAChC,CAAC,CAAC;IACH,IAAI,KAAK,CAAC,KAAK,KAAK,IAAI,IAAI,KAAK,CAAC,MAAM,KAAK,IAAI,IAAI,KAAK,CAAC,MAAM,KAAK,IAAI,EAAE,CAAC;QAC3E,KAAK,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;QACtB,MAAM,IAAI,KAAK,CAAC,6CAA6C,CAAC,CAAC;IACjE,CAAC;IACD,KAAK,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC;IAClC,OAAO,KAAK,CAAC;AACf,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "paseo-agy-acp",
3
- "version": "2.3.1",
3
+ "version": "2.3.2",
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": {