paseo-agy-acp 2.2.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.
Files changed (107) hide show
  1. package/CHANGELOG.md +296 -0
  2. package/LICENSE +201 -0
  3. package/README.md +571 -0
  4. package/README.zh-CN.md +540 -0
  5. package/assets/official-kernel-compat/rc01/paseo_model_compat.py +172 -0
  6. package/dist/ACP Connector/acp/session/paseo-context.d.ts +6 -0
  7. package/dist/ACP Connector/acp/session/paseo-context.js +83 -0
  8. package/dist/ACP Connector/acp/session/paseo-context.js.map +1 -0
  9. package/dist/ACP Connector/acp/session/turn-scheduler.d.ts +90 -0
  10. package/dist/ACP Connector/acp/session/turn-scheduler.js +247 -0
  11. package/dist/ACP Connector/acp/session/turn-scheduler.js.map +1 -0
  12. package/dist/ACP Connector/admission/dispatch-boundary.d.ts +19 -0
  13. package/dist/ACP Connector/admission/dispatch-boundary.js +16 -0
  14. package/dist/ACP Connector/admission/dispatch-boundary.js.map +1 -0
  15. package/dist/ACP Connector/admission/errors.d.ts +18 -0
  16. package/dist/ACP Connector/admission/errors.js +46 -0
  17. package/dist/ACP Connector/admission/errors.js.map +1 -0
  18. package/dist/ACP Connector/admission/owner-instance.d.ts +31 -0
  19. package/dist/ACP Connector/admission/owner-instance.js +105 -0
  20. package/dist/ACP Connector/admission/owner-instance.js.map +1 -0
  21. package/dist/ACP Connector/admission/runtime.d.ts +20 -0
  22. package/dist/ACP Connector/admission/runtime.js +157 -0
  23. package/dist/ACP Connector/admission/runtime.js.map +1 -0
  24. package/dist/ACP Connector/admission/startup-recovery.d.ts +22 -0
  25. package/dist/ACP Connector/admission/startup-recovery.js +129 -0
  26. package/dist/ACP Connector/admission/startup-recovery.js.map +1 -0
  27. package/dist/ACP Connector/admission/turn-coordinator.d.ts +57 -0
  28. package/dist/ACP Connector/admission/turn-coordinator.js +369 -0
  29. package/dist/ACP Connector/admission/turn-coordinator.js.map +1 -0
  30. package/dist/ACP Connector/agent.d.ts +4 -0
  31. package/dist/ACP Connector/agent.js +6 -0
  32. package/dist/ACP Connector/agent.js.map +1 -0
  33. package/dist/ACP Connector/main.d.ts +2 -0
  34. package/dist/ACP Connector/main.js +31 -0
  35. package/dist/ACP Connector/main.js.map +1 -0
  36. package/dist/ACP Connector/official-kernel/admission-fence.d.ts +10 -0
  37. package/dist/ACP Connector/official-kernel/admission-fence.js +52 -0
  38. package/dist/ACP Connector/official-kernel/admission-fence.js.map +1 -0
  39. package/dist/ACP Connector/official-kernel/context.d.ts +3 -0
  40. package/dist/ACP Connector/official-kernel/context.js +52 -0
  41. package/dist/ACP Connector/official-kernel/context.js.map +1 -0
  42. package/dist/ACP Connector/official-kernel/errors.d.ts +5 -0
  43. package/dist/ACP Connector/official-kernel/errors.js +39 -0
  44. package/dist/ACP Connector/official-kernel/errors.js.map +1 -0
  45. package/dist/ACP Connector/official-kernel/identity.d.ts +3 -0
  46. package/dist/ACP Connector/official-kernel/identity.js +17 -0
  47. package/dist/ACP Connector/official-kernel/identity.js.map +1 -0
  48. package/dist/ACP Connector/official-kernel/json-rpc.d.ts +34 -0
  49. package/dist/ACP Connector/official-kernel/json-rpc.js +26 -0
  50. package/dist/ACP Connector/official-kernel/json-rpc.js.map +1 -0
  51. package/dist/ACP Connector/official-kernel/kernel-compat-lifecycle.d.ts +115 -0
  52. package/dist/ACP Connector/official-kernel/kernel-compat-lifecycle.js +1904 -0
  53. package/dist/ACP Connector/official-kernel/kernel-compat-lifecycle.js.map +1 -0
  54. package/dist/ACP Connector/official-kernel/kernel-compat-pins.d.ts +14 -0
  55. package/dist/ACP Connector/official-kernel/kernel-compat-pins.js +29 -0
  56. package/dist/ACP Connector/official-kernel/kernel-compat-pins.js.map +1 -0
  57. package/dist/ACP Connector/official-kernel/kernel-compat-rc01-recipe.d.ts +2 -0
  58. package/dist/ACP Connector/official-kernel/kernel-compat-rc01-recipe.js +32 -0
  59. package/dist/ACP Connector/official-kernel/kernel-compat-rc01-recipe.js.map +1 -0
  60. package/dist/ACP Connector/official-kernel/kernel.d.ts +3 -0
  61. package/dist/ACP Connector/official-kernel/kernel.js +12 -0
  62. package/dist/ACP Connector/official-kernel/kernel.js.map +1 -0
  63. package/dist/ACP Connector/official-kernel/login.d.ts +1 -0
  64. package/dist/ACP Connector/official-kernel/login.js +73 -0
  65. package/dist/ACP Connector/official-kernel/login.js.map +1 -0
  66. package/dist/ACP Connector/official-kernel/mcp-rewrite.d.ts +1 -0
  67. package/dist/ACP Connector/official-kernel/mcp-rewrite.js +39 -0
  68. package/dist/ACP Connector/official-kernel/mcp-rewrite.js.map +1 -0
  69. package/dist/ACP Connector/official-kernel/mode-map.d.ts +5 -0
  70. package/dist/ACP Connector/official-kernel/mode-map.js +35 -0
  71. package/dist/ACP Connector/official-kernel/mode-map.js.map +1 -0
  72. package/dist/ACP Connector/official-kernel/ndjson.d.ts +3 -0
  73. package/dist/ACP Connector/official-kernel/ndjson.js +29 -0
  74. package/dist/ACP Connector/official-kernel/ndjson.js.map +1 -0
  75. package/dist/ACP Connector/official-kernel/proxy.d.ts +14 -0
  76. package/dist/ACP Connector/official-kernel/proxy.js +197 -0
  77. package/dist/ACP Connector/official-kernel/proxy.js.map +1 -0
  78. package/dist/ACP Connector/official-kernel/run.d.ts +8 -0
  79. package/dist/ACP Connector/official-kernel/run.js +22 -0
  80. package/dist/ACP Connector/official-kernel/run.js.map +1 -0
  81. package/dist/ACP Connector/official-kernel/spawn.d.ts +5 -0
  82. package/dist/ACP Connector/official-kernel/spawn.js +33 -0
  83. package/dist/ACP Connector/official-kernel/spawn.js.map +1 -0
  84. package/dist/Admission Controller/controller.d.ts +338 -0
  85. package/dist/Admission Controller/controller.js +2089 -0
  86. package/dist/Admission Controller/controller.js.map +1 -0
  87. package/dist/Admission Controller/key-derivation.d.ts +24 -0
  88. package/dist/Admission Controller/key-derivation.js +141 -0
  89. package/dist/Admission Controller/key-derivation.js.map +1 -0
  90. package/dist/Admission Controller/key-store.d.ts +8 -0
  91. package/dist/Admission Controller/key-store.js +280 -0
  92. package/dist/Admission Controller/key-store.js.map +1 -0
  93. package/dist/Admission Controller/policy-limits.d.ts +6 -0
  94. package/dist/Admission Controller/policy-limits.js +11 -0
  95. package/dist/Admission Controller/policy-limits.js.map +1 -0
  96. package/dist/Admission Controller/process-evidence.d.ts +111 -0
  97. package/dist/Admission Controller/process-evidence.js +549 -0
  98. package/dist/Admission Controller/process-evidence.js.map +1 -0
  99. package/dist/Admission Controller/runtime-config.d.ts +23 -0
  100. package/dist/Admission Controller/runtime-config.js +86 -0
  101. package/dist/Admission Controller/runtime-config.js.map +1 -0
  102. package/dist/Admission Controller/schema.d.ts +12 -0
  103. package/dist/Admission Controller/schema.js +422 -0
  104. package/dist/Admission Controller/schema.js.map +1 -0
  105. package/package.json +72 -0
  106. package/scripts/prepare-admission-state-dir.mjs +62 -0
  107. package/scripts/prepare-official-kernel-compat.mjs +387 -0
package/CHANGELOG.md ADDED
@@ -0,0 +1,296 @@
1
+ # Changelog
2
+
3
+ All notable changes to `paseo-agy-acp` are recorded here.
4
+
5
+ ## 2.2.0 - 2026-08-29
6
+
7
+ ### Changed
8
+
9
+ - npm-publishable semver: `2.2.0` is the same product as GitHub tag
10
+ `v2.2.0.0`. Install with `npx -y paseo-agy-acp@2.2.0`. The package `bin`
11
+ includes a `paseo-agy-acp` alias so `npx` can infer the CLI. npm still does
12
+ **not** ship Google's `.par`.
13
+
14
+ ## 2.2.0.0 - 2026-08-29
15
+
16
+ ### Added
17
+
18
+ - Local **opt-in** compatibility on the **official** Antigravity ACP kernel so
19
+ entitled Claude 4.6 and GPT-OSS 120B sessions can complete through Paseo.
20
+ Gemini-family models stay the stock official path until an operator prepares
21
+ and points `PASEO_AGY_ACP_OFFICIAL_BIN` at the stable wrapper
22
+ (`agy-acp-kernel-compat-active`).
23
+ - `agy-acp-prepare-official-kernel-compat` lifecycle (`prepare` / `verify` /
24
+ `activate` / `status` / `rollback` / `cleanup`), RC01 pin checks, and
25
+ `paseo_model_compat.py` request transforms (tool schema, tool-call ids,
26
+ GPT-OSS generation config; Gemini/unknown identity).
27
+ - Isolated acceptance harness coverage (catalog, text, tools, warm resume,
28
+ capability-gated load/media/timeout) and an operator
29
+ [runbook](docs/operations/official-kernel-compat-runbook.md).
30
+ - Sanitized maintainer-host production evidence
31
+ ([P7](docs/operations/official-kernel-compat-p7-production-evidence.md)):
32
+ catalog 14, live text/tools; official RC01 active cancel not confirmed;
33
+ real 503/quota not induced.
34
+
35
+ ### Unchanged
36
+
37
+ - Execution kernel remains official `agy_acp_server`. npm still does **not**
38
+ ship Google's proprietary `.par` or runfiles. Admission defaults stay
39
+ **8 / 8 / 2s** (tested default, not a product ceiling). No daemon restart
40
+ is required for new provider processes to read an updated launcher.
41
+
42
+ ## 2.1.0.0 - 2026-08-23
43
+
44
+ ### Changed
45
+
46
+ - Switched ACP execution from the PTY/SQLite scraper to the official Google
47
+ `agy-acp` NDJSON server (Registry id `antigravity-acp`). The product binary
48
+ stays `agy-acp` and runs as a thin proxy: it injects Paseo daemon
49
+ `appendSystemPrompt`, maps session modes, rewrites MCP `http` servers to
50
+ `sse`, overlays product identity, and fences Admission around the official
51
+ `session/prompt` write.
52
+ - Official live modes are `default`, `auto_edit`, and `yolo`. Legacy
53
+ `accept-edits` maps to `auto_edit`, `dangerously-skip-permissions` maps to
54
+ `yolo`, and `plan` maps to `default` because official has no plan mode.
55
+ - Blank official `end_turn` results with no visible assistant output become a
56
+ JSON-RPC error instead of an empty successful turn.
57
+ - **Deleted** the scraper kernel. `PASEO_AGY_ACP_KERNEL=legacy` and
58
+ `--legacy-kernel` fail closed. The product source stays **Apache-2.0**; the
59
+ official kernel binary is proprietary and is spawned, not redistributed.
60
+ Set `PASEO_AGY_ACP_OFFICIAL_BIN` to override the pinned official wrapper.
61
+ Official Admission state is isolated under `$AGY_ACP_STATE_DIR/official-kernel`.
62
+ - Isolated canary on `127.0.0.1:6768` proved product `2.1.0.0` + official
63
+ kernel + daemon context (`ISOLATED_OFFICIAL_KERNEL_CANARY_OK`). Production
64
+ `127.0.0.1:6767` was not mutated by that canary.
65
+ - Default Admission is **8 shared seats / 8 concurrent starts / 2s start
66
+ interval**, from production testing (including a 10-agent Antigravity
67
+ dispatch that did not reproduce the scraper hang). The queue stays enabled
68
+ so Paseo → Antigravity delegation stays steadier under burst. Env integers
69
+ **≥ 1** can raise seats/starts for concurrency experiments; this repo does
70
+ **not** publish a product maximum. Admission schema v3 rebuilds
71
+ `policy_state` so SQLite no longer carries a leftover upper CHECK from the
72
+ old 1–8 ledger. Isolated 6-way yolo stress on `127.0.0.1:6768` also did not
73
+ reproduce the scraper hang; official ACP is still not proven unlimited.
74
+ Optional `AGY_ACP_ADMISSION_MAX_ACTIVE_TURNS=3` and
75
+ `AGY_ACP_ADMISSION_MAX_CONCURRENT_STARTS=1` remain a tighter fence, not the
76
+ default.
77
+
78
+ ### Unchanged
79
+
80
+ - Production Paseo daemon `127.0.0.1:6767` was **not restarted**. After the
81
+ 8/8 Admission raise, `/home/tiezbro/.local/bin/agy-acp` was retargeted to
82
+ `/home/tiezbro/.local/opt/paseo-agy-acp-2.1.0.0-20260823T112457Z/bin/agy-acp-production`
83
+ with a fresh ledger at
84
+ `/home/tiezbro/.local/state/paseo-agy-acp/production-official-8` so the
85
+ durable 3+1 fingerprint cannot fail-close the new policy. The default Paseo
86
+ `antigravity` provider still runs that symlink. `antigravity-official-canary`
87
+ is disabled so production is not split. Idle Antigravity agents pick up 8/8
88
+ on the next spawn; live Cursor/Claude agents were left running.
89
+ - Stage 2 Scheme pointers and the 2.0.0.0 closeout facts below are unchanged.
90
+
91
+ ## 2.0.0.2 - 2026-08-19
92
+
93
+ ### Changed
94
+
95
+ - Recorded authorized live Antigravity CLI observation for the trusted-503
96
+ physical-source gate. Current `agy 1.1.14` produced Gemini successes and a
97
+ Claude individual-quota failure on the stream-json `result.error` carrier,
98
+ with no `httpStatus`, `code`, `reason`, or HTTP 503.
99
+ - Corrected the earlier 2.0.0.1 verification claim that historical native
100
+ `1.1.12` logs establish the trusted `503 UNAVAILABLE` carrier. Those logs
101
+ remain unverified prose; this release does not close Scheme §4.5 and does
102
+ not change the fail-closed classifier.
103
+ - Runtime Admission and Connector code is unchanged from `2.0.0.1`. This
104
+ patch ships evidence and documentation only.
105
+
106
+ ### Verification
107
+
108
+ - Live observation receipts: `docs/design/receipts/S3-T08/observation-1.txt`
109
+ and `observation-2.txt`, plus raw captures. `LIVE_503_CAPTURED=no`.
110
+ - Repository validation is recorded in the release commit. One existing
111
+ symlink cleanup in `tests/edit-reconcile.test.ts` now unlinks the
112
+ directory symlink so current Node `fs.rmSync` does not treat it as a
113
+ directory.
114
+
115
+ ## 2.0.0.1 - 2026-08-17
116
+
117
+ ### Changed
118
+
119
+ - Promoted `2.0.0.1` after separating the earlier isolated happy-path canary
120
+ from formal production acceptance and completing both.
121
+ - Documented why Admission Controller v2 exists: we first encountered
122
+ concurrency failures while running multiple Paseo agents against the same
123
+ Antigravity account, then surveyed the wider community to confirm the
124
+ behavior was not isolated. Antigravity CLI issue
125
+ [#573](https://github.com/google-antigravity/antigravity-cli/issues/573),
126
+ which reports `agy -p` hanging under three or more longer-running neighboring
127
+ CLI processes, is public corroborating evidence rather than the original
128
+ cause. The durable account-wide queue, three shared active seats, one paced
129
+ start permit, reaping, recovery, soft drain, and typed settlement are the
130
+ bounded Paseo-side mitigation; no Google endorsement is claimed.
131
+ - Bound fresh Linux interactive streams to the conversation database opened by
132
+ the exact Antigravity child process, preventing concurrent agents from
133
+ attaching to another process's newly-created conversation.
134
+ - Made final persisted model-provider errors fail both interactive and print
135
+ turns immediately, instead of waiting for the turn timeout or completing an
136
+ empty successful turn. ACP admission still owns the typed terminal mapping.
137
+ - Accepted Paseo's `low`, `medium`, and `high` reasoning selections for Claude
138
+ models whose Antigravity catalog has one base model rather than separate
139
+ effort variants. The native default remains available without `--effort`.
140
+ - Made every enabled runtime opener claim or assert the shared durable policy
141
+ before startup recovery. A connector with a mismatched policy now fails
142
+ closed instead of running with an empty `policy_state` singleton.
143
+ - Added the packaged `agy-acp-prepare-state` preflight so installation and
144
+ isolated acceptance create account state directories with exact mode `0700`
145
+ and reject existing permissive directories without silently changing them.
146
+
147
+ ### Verification
148
+
149
+ - The state-directory preflight passed focused tests for secure creation,
150
+ fail-closed handling of an existing `0775` directory, and published-manifest
151
+ exposure. The complete repository validation passed with 58 test files,
152
+ 626 passed tests, 2 skipped tests, architecture PASS, and secret scan PASS.
153
+ - A fresh `2.0.0.1` tarball installed into a new prefix and exposed the packaged
154
+ preflight binary. That binary created an absent state directory as `0700`;
155
+ its `admission.key` and `runtime.sqlite` were `0600`. A clean isolated Paseo
156
+ daemon on `127.0.0.1:6768` then completed a real Antigravity turn with marker
157
+ `STATE_DIR_FIX_R11_OK`; the durable request was `completed`, with zero leases
158
+ and zero retained payloads afterward.
159
+ - The complete fault matrix passed for concurrent admission, queueing and
160
+ pressure, crash/restart recovery, reaping and queued-owner death, soft drain,
161
+ ambiguous dispatch, queue timeout, auth/permission modes, typed terminal
162
+ outcomes, and trusted Provider capacity classification.
163
+ - Production-candidate acceptance on `127.0.0.1:6767` passed with real Gemini
164
+ and Claude turns, stable `3 active + 1 queued` FIFO handoff, an additional
165
+ six-request mixed-provider pressure run, zero final leases, zero retained
166
+ payloads, SQLite integrity PASS, and no OOM or candidate-process residue.
167
+ - Nine additional `agy 1.1.13` Claude pressure probes completed through the
168
+ production queue. The Provider did not emit a live capacity `503` in that
169
+ window; historical native `1.1.12` logs establish the trusted
170
+ `503 UNAVAILABLE` carrier while deterministic tests verify the current
171
+ classifier and cooldown boundary.
172
+
173
+ ## 2.0.0.0 - 2026-08-16
174
+
175
+ ### Changed
176
+
177
+ - Closed the final Stage 3 v2 migration for `shared-admission-queue` schema v2:
178
+ `turn_requests.agent_id`, `policy_state` with `policy_fingerprint`,
179
+ `queued_owner_instances`, lease suspect metadata, and the v1 to v2 migration
180
+ ledger are now the local database contract.
181
+ - Made durable policy the single runtime authority. Connectors claim or assert
182
+ the same `policy_state`, and soft drain moves `3 -> soft_draining_to_1 ->
183
+ steady(max_active_turns=1)` without killing active turns.
184
+ - Closed owner, recovery, and runtime reaper behavior. Queued owner death is
185
+ bounded, `recovery_required` remains non-replayable, and suspect leases are
186
+ released only after process evidence proves the local turn is gone.
187
+ - Wired enabled production dispatch through durable dispatch intent before the
188
+ prompt write. Ambiguous or blocked writes become durable terminal states.
189
+ - Added the enabled-mode auth gate for v1/v2 login/logout, preserved disabled
190
+ legacy auth, restored the interactive permission chain, and kept official ACP
191
+ session history replay in the connector.
192
+ - Mapped `queue_timeout`, `provider_capacity`/provider failure, cancellation,
193
+ and `recovery_required` through typed terminal behavior instead of treating
194
+ known failures as successful `end_turn`.
195
+ - Made the packaged ACP entry importable from its built public layout and kept
196
+ provider discovery available before Paseo assigns `PASEO_AGENT_ID` while
197
+ still rejecting business prompts until Admission composition is complete.
198
+ - Corrected prompt-free argv ordering and made cold-start interactive PTY
199
+ dispatch wait for Antigravity's authentication/model redraws to settle before
200
+ the single durable fenced prompt write.
201
+
202
+ ### Added
203
+
204
+ - Added Stage 3 closeout documentation that points README.md and
205
+ README.zh-CN.md at the confirmed Scheme and accepted Stage 2 artifacts.
206
+ - Added a clause-by-clause historical disposition for the legacy admission
207
+ design file so it cannot act as a second authority.
208
+ - Added `tests/closeout-docs-contract.test.ts` to keep the bilingual
209
+ documentation, CHANGELOG, and historical design disposition aligned.
210
+
211
+ ### Removed
212
+
213
+ - Removed the old documentation authority claim from the legacy design. It is
214
+ retained only as historical input with dispositions grounded in the Scheme
215
+ and accepted Stage 2 artifacts.
216
+
217
+ ### Verification
218
+
219
+ - Final validation passed with `npm test -- --maxWorkers=1`: 56 test files,
220
+ 611 passed tests, and 2 skipped tests. Architecture boundaries, secret scan,
221
+ GitNexus detect-changes, and `git diff --check` also passed.
222
+ - Stage 3 documentation receipts remain in `docs/design/receipts/S3-T21/`.
223
+ - A local `2.0.0.0` tarball passed fresh-prefix installation, built public
224
+ entry import, CLI EOF, and native PTY smoke tests.
225
+ - The installed tarball ran a real Antigravity `gemini-3.1-pro` Admission turn
226
+ on an isolated `127.0.0.1:6768` daemon. The exact canary response was
227
+ `STAGE4_ADMISSION_CANARY_OK`; the durable request completed and released its
228
+ lease. Production `127.0.0.1:6767` was not switched or mutated.
229
+
230
+ ## 1.0.0.4 - 2026-08-07
231
+
232
+ ### Fixed
233
+
234
+ - Suppress the connector's posthoc completed-edit approval bridge when the
235
+ active Antigravity session mode is `dangerously-skip-permissions`. This keeps
236
+ Paseo unattended runs fully unattended after Antigravity has already applied
237
+ an edit through `agy --dangerously-skip-permissions`.
238
+ - Parse tab-separated `agy models` output as `modelId<TAB>display name` and pass
239
+ the exact provider-native model id to Antigravity. This prevents display
240
+ labels such as `Gemini 3.6 Flash (High)` from being folded into the model id
241
+ and avoids sending unsupported `--effort` flags for exact variant ids.
242
+
243
+ ### Verification
244
+
245
+ - `npx vitest run tests/cli.test.ts --testNamePattern "posthoc edit review|dangerous permission bypass"` — passes.
246
+ - `npx vitest run tests/acp-server.test.ts tests/cli.test.ts --testNamePattern "tab-separated|exact tab-list|modern stable model slugs|passes --effort|parseAgyModels|dangerous permission bypass"` — passes.
247
+
248
+ ## 1.0.0.3 - 2026-08-07
249
+
250
+ ### Changed
251
+
252
+ - Added bilingual README navigation and refreshed the provider feature table.
253
+
254
+ ## 1.0.0.2 - 2026-08-07
255
+
256
+ ### Added
257
+
258
+ - Expose Antigravity CLI's native unattended permission bypass as ACP mode id
259
+ `dangerously-skip-permissions`.
260
+ - Map that mode directly to the official `agy --dangerously-skip-permissions`
261
+ parameter. The adapter does not introduce a custom `full-access` alias for
262
+ Antigravity.
263
+ - Support `/mode dangerously-skip-permissions` and common operator aliases such
264
+ as `/mode yolo`.
265
+
266
+ ### Changed
267
+
268
+ - When `agy-acp` itself is launched with `--dangerously-skip-permissions`, the
269
+ initial ACP mode is now reported as `dangerously-skip-permissions`.
270
+ - Switching away from `dangerously-skip-permissions` through ACP mode/config
271
+ selection disables the bypass for later turns in that session.
272
+
273
+ ### Verification
274
+
275
+ - `env -u PASEO_AGENT_ID -u PASEO_AGENT_CWD -u PASEO_HOME npm test` — 383 passed, 1 skipped.
276
+ - `env -u PASEO_AGENT_ID -u PASEO_AGENT_CWD -u PASEO_HOME npm run build` — passes.
277
+
278
+ ## 1.0.0.1 - 2026-08-06
279
+
280
+ ### Fixed
281
+
282
+ - Treat `PASEO_HOME` as optional when reading Paseo daemon context. The bridge
283
+ falls back to `~/.paseo` when `PASEO_AGENT_ID` is present and `PASEO_HOME` is
284
+ unset or empty.
285
+
286
+ ## 1.0.0.0 - 2026-08-06
287
+
288
+ ### Added
289
+
290
+ - Initial Paseo-focused Antigravity ACP adapter release derived from upstream
291
+ `shindgew/agy-acp`.
292
+ - Paseo daemon append-system-prompt bridge.
293
+ - Permission denial authority fixes.
294
+ - Stronger turn-completion detection.
295
+ - Foreground command task-state repair.
296
+ - Whole-file edit revert newline tolerance.
package/LICENSE ADDED
@@ -0,0 +1,201 @@
1
+ Apache License
2
+ Version 2.0, January 2004
3
+ http://www.apache.org/licenses/
4
+
5
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
+
7
+ 1. Definitions.
8
+
9
+ "License" shall mean the terms and conditions for use, reproduction,
10
+ and distribution as defined by Sections 1 through 9 of this document.
11
+
12
+ "Licensor" shall mean the copyright owner or entity authorized by
13
+ the copyright owner that is granting the License.
14
+
15
+ "Legal Entity" shall mean the union of the acting entity and all
16
+ other entities that control, are controlled by, or are under common
17
+ control with that entity. For the purposes of this definition,
18
+ "control" means (i) the power, direct or indirect, to cause the
19
+ direction or management of such entity, whether by contract or
20
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
21
+ outstanding shares, or (iii) beneficial ownership of such entity.
22
+
23
+ "You" (or "Your") shall mean an individual or Legal Entity
24
+ exercising permissions granted by this License.
25
+
26
+ "Source" form shall mean the preferred form for making modifications,
27
+ including but not limited to software source code, documentation
28
+ source, and configuration files.
29
+
30
+ "Object" form shall mean any form resulting from mechanical
31
+ transformation or translation of a Source form, including but
32
+ not limited to compiled object code, generated documentation,
33
+ and conversions to other media types.
34
+
35
+ "Work" shall mean the work of authorship, whether in Source or
36
+ Object form, made available under the License, as indicated by a
37
+ copyright notice that is included in or attached to the work
38
+ (an example is provided in the Appendix below).
39
+
40
+ "Derivative Works" shall mean any work, whether in Source or Object
41
+ form, that is based on (or derived from) the Work and for which the
42
+ editorial revisions, annotations, elaborations, or other modifications
43
+ represent, as a whole, an original work of authorship. For the purposes
44
+ of this License, Derivative Works shall not include works that remain
45
+ separable from, or merely link (or bind by name) to the interfaces of,
46
+ the Work and Derivative Works thereof.
47
+
48
+ "Contribution" shall mean any work of authorship, including
49
+ the original version of the Work and any modifications or additions
50
+ to that Work or Derivative Works thereof, that is intentionally
51
+ submitted to Licensor for inclusion in the Work by the copyright owner
52
+ or by an individual or Legal Entity authorized to submit on behalf of
53
+ the copyright owner. For the purposes of this definition, "submitted"
54
+ means any form of electronic, verbal, or written communication sent
55
+ to the Licensor or its representatives, including but not limited to
56
+ communication on electronic mailing lists, source code control systems,
57
+ and issue tracking systems that are managed by, or on behalf of, the
58
+ Licensor for the purpose of discussing and improving the Work, but
59
+ excluding communication that is conspicuously marked or otherwise
60
+ designated in writing by the copyright owner as "Not a Contribution."
61
+
62
+ "Contributor" shall mean Licensor and any individual or Legal Entity
63
+ on behalf of whom a Contribution has been received by Licensor and
64
+ subsequently incorporated within the Work.
65
+
66
+ 2. Grant of Copyright License. Subject to the terms and conditions of
67
+ this License, each Contributor hereby grants to You a perpetual,
68
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
69
+ copyright license to reproduce, prepare Derivative Works of,
70
+ publicly display, publicly perform, sublicense, and distribute the
71
+ Work and such Derivative Works in Source or Object form.
72
+
73
+ 3. Grant of Patent License. Subject to the terms and conditions of
74
+ this License, each Contributor hereby grants to You a perpetual,
75
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
76
+ (except as stated in this section) patent license to make, have made,
77
+ use, offer to sell, sell, import, and otherwise transfer the Work,
78
+ where such license applies only to those patent claims licensable
79
+ by such Contributor that are necessarily infringed by their
80
+ Contribution(s) alone or by combination of their Contribution(s)
81
+ with the Work to which such Contribution(s) was submitted. If You
82
+ institute patent litigation against any entity (including a
83
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
84
+ or a Contribution incorporated within the Work constitutes direct
85
+ or contributory patent infringement, then any patent licenses
86
+ granted to You under this License for that Work shall terminate
87
+ as of the date such litigation is filed.
88
+
89
+ 4. Redistribution. You may reproduce and distribute copies of the
90
+ Work or Derivative Works thereof in any medium, with or without
91
+ modifications, and in Source or Object form, provided that You
92
+ meet the following conditions:
93
+
94
+ (a) You must give any other recipients of the Work or
95
+ Derivative Works a copy of this License; and
96
+
97
+ (b) You must cause any modified files to carry prominent notices
98
+ stating that You changed the files; and
99
+
100
+ (c) You must retain, in the Source form of any Derivative Works
101
+ that You distribute, all copyright, patent, trademark, and
102
+ attribution notices from the Source form of the Work,
103
+ excluding those notices that do not pertain to any part of
104
+ the Derivative Works; and
105
+
106
+ (d) If the Work includes a "NOTICE" text file as part of its
107
+ distribution, then any Derivative Works that You distribute must
108
+ include a readable copy of the attribution notices contained
109
+ within such NOTICE file, excluding those notices that do not
110
+ pertain to any part of the Derivative Works, in at least one
111
+ of the following places: within a NOTICE text file distributed
112
+ as part of the Derivative Works; within the Source form or
113
+ documentation, if provided along with the Derivative Works; or,
114
+ within a display generated by the Derivative Works, if and
115
+ wherever such third-party notices normally appear. The contents
116
+ of the NOTICE file are for informational purposes only and
117
+ do not modify the License. You may add Your own attribution
118
+ notices within Derivative Works that You distribute, alongside
119
+ or as an addendum to the NOTICE text from the Work, provided
120
+ that such additional attribution notices cannot be construed
121
+ as modifying the License.
122
+
123
+ You may add Your own copyright statement to Your modifications and
124
+ may provide additional or different license terms and conditions
125
+ for use, reproduction, or distribution of Your modifications, or
126
+ for any such Derivative Works as a whole, provided Your use,
127
+ reproduction, and distribution of the Work otherwise complies with
128
+ the conditions stated in this License.
129
+
130
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
131
+ any Contribution intentionally submitted for inclusion in the Work
132
+ by You to the Licensor shall be under the terms and conditions of
133
+ this License, without any additional terms or conditions.
134
+ Notwithstanding the above, nothing herein shall supersede or modify
135
+ the terms of any separate license agreement you may have executed
136
+ with Licensor regarding such Contributions.
137
+
138
+ 6. Trademarks. This License does not grant permission to use the trade
139
+ names, trademarks, service marks, or product names of the Licensor,
140
+ except as required for reasonable and customary use in describing the
141
+ origin of the Work and reproducing the content of the NOTICE file.
142
+
143
+ 7. Disclaimer of Warranty. Unless required by applicable law or
144
+ agreed to in writing, Licensor provides the Work (and each
145
+ Contributor provides its Contributions) on an "AS IS" BASIS,
146
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
147
+ implied, including, without limitation, any warranties or conditions
148
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
149
+ PARTICULAR PURPOSE. You are solely responsible for determining the
150
+ appropriateness of using or redistributing the Work and assume any
151
+ risks associated with Your exercise of permissions under this License.
152
+
153
+ 8. Limitation of Liability. In no event and under no legal theory,
154
+ whether in tort (including negligence), contract, or otherwise,
155
+ unless required by applicable law (such as deliberate and grossly
156
+ negligent acts) or agreed to in writing, shall any Contributor be
157
+ liable to You for damages, including any direct, indirect, special,
158
+ incidental, or consequential damages of any character arising as a
159
+ result of this License or out of the use or inability to use the
160
+ Work (including but not limited to damages for loss of goodwill,
161
+ work stoppage, computer failure or malfunction, or any and all
162
+ other commercial damages or losses), even if such Contributor
163
+ has been advised of the possibility of such damages.
164
+
165
+ 9. Accepting Warranty or Additional Liability. While redistributing
166
+ the Work or Derivative Works thereof, You may choose to offer,
167
+ and charge a fee for, acceptance of support, warranty, indemnity,
168
+ or other liability obligations and/or rights consistent with this
169
+ License. However, in accepting such obligations, You may act only
170
+ on Your own behalf and on Your sole responsibility, not on behalf
171
+ of any other Contributor, and only if You agree to indemnify,
172
+ defend, and hold each Contributor harmless for any liability
173
+ incurred by, or claims asserted against, such Contributor by reason
174
+ of your accepting any such warranty or additional liability.
175
+
176
+ END OF TERMS AND CONDITIONS
177
+
178
+ APPENDIX: How to apply the Apache License to your work.
179
+
180
+ To apply the Apache License to your work, attach the following
181
+ boilerplate notice, with the fields enclosed by brackets "[]"
182
+ replaced with your own identifying information. (Don't include
183
+ the brackets!) The text should be enclosed in the appropriate
184
+ comment syntax for the file format. We also recommend that a
185
+ file or class name and description of purpose be included on the
186
+ same "printed page" as the copyright notice for easier
187
+ identification within third-party archives.
188
+
189
+ Copyright 2026 Shindge Wong
190
+
191
+ Licensed under the Apache License, Version 2.0 (the "License");
192
+ you may not use this file except in compliance with the License.
193
+ You may obtain a copy of the License at
194
+
195
+ http://www.apache.org/licenses/LICENSE-2.0
196
+
197
+ Unless required by applicable law or agreed to in writing, software
198
+ distributed under the License is distributed on an "AS IS" BASIS,
199
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
200
+ See the License for the specific language governing permissions and
201
+ limitations under the License.