omp-antigravity-acp-provider 0.1.23 → 0.1.24

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 CHANGED
@@ -19,9 +19,9 @@ The repository keeps the OMP adapter sources separately and uses upstream versio
19
19
 
20
20
  ## Status
21
21
 
22
- Version 0.1.23 adds cross-process session ownership, isolates adapter state by OMP agent directory, and preserves registries with unsupported records. Restart all OMP processes after upgrading so they participate in session ownership.
22
+ Version 0.1.24 protects cross-process session ownership even when ACP shutdown times out, isolates adapter state by OMP agent directory, and preserves registries with unsupported records. Restart all OMP processes after upgrading so they participate in session ownership.
23
23
 
24
- Version 0.1.23 supports all models advertised by the official ACP server. Earlier live inference was tested with macOS, OMP 18.12.5, upstream provider 0.1.15 and official ACP runtime 1.4.1. The 0.1.21–0.1.23 continuity fixes are verified offline, including OMP 18.13.3 catalog loading and the local OMP summarizer source. Other platforms and full interactive Refine plan behavior with a real model remain unverified.
24
+ Version 0.1.24 supports all models advertised by the official ACP server. Earlier live inference was tested with macOS, OMP 18.12.5, upstream provider 0.1.15 and official ACP runtime 1.4.1. The 0.1.21–0.1.24 continuity fixes are verified offline, including OMP 18.13.3 catalog loading and the local OMP summarizer source. Other platforms and full interactive Refine plan behavior with a real model remain unverified.
25
25
 
26
26
  Google's consumer-plan policies can restrict third-party agent access even through the official CLI or ACP executable. An official transport does not establish permission to use a subscription in OMP. Check the current [Antigravity FAQ](https://www.antigravity.google/docs/faq/) and [terms](https://antigravity.google/terms) for your account.
27
27
 
@@ -58,7 +58,7 @@ Or, inside OMP:
58
58
 
59
59
  Select **omp-antigravity-acp-provider** in the browser, install it, and restart OMP to load the provider.
60
60
 
61
- OMP's marketplace installer currently copies Git content without installing npm dependencies. This marketplace therefore ships a small source launcher that retrieves the exact published **0.1.23** prebuilt npm adapter on first load. It disables npm install scripts and performs no local compilation. Node.js 22.19+ and npm must be on PATH. The standalone build bundles the required code and supervisor assets with no production dependencies: a clean test installation occupied approximately **2.6 MiB** (477 KiB tarball), down from roughly 150 MiB with the old dependency tree. This excludes the separately downloaded Google runtime. First preparation needs internet access; later loads reuse the installed cache without npm network access.
61
+ OMP's marketplace installer currently copies Git content without installing npm dependencies. This marketplace therefore ships a small source launcher that retrieves the exact published **0.1.24** prebuilt npm adapter on first load. It disables npm install scripts and performs no local compilation. Node.js 22.19+ and npm must be on PATH. The standalone build bundles the required code and supervisor assets with no production dependencies: a clean test installation occupied approximately **2.6 MiB** (477 KiB tarball), down from roughly 150 MiB with the old dependency tree. This excludes the separately downloaded Google runtime. First preparation needs internet access; later loads reuse the installed cache without npm network access.
62
62
 
63
63
  The launcher stores its versioned dependencies in `.runtime/` inside the installed marketplace plugin's cache directory. Uninstalling the marketplace plugin removes that cache when it is no longer referenced by another scope. Google credentials and the separately downloaded official ACP runtime are unaffected.
64
64
 
@@ -82,7 +82,7 @@ omp plugin install npm:omp-antigravity-acp-provider
82
82
  To pin a specific release:
83
83
 
84
84
  ```sh
85
- omp plugin install npm:omp-antigravity-acp-provider@0.1.23
85
+ omp plugin install npm:omp-antigravity-acp-provider@0.1.24
86
86
  ```
87
87
 
88
88
  Restart OMP after installation. The npm package includes the built adapter; users do not need esbuild or a manual build step. Disable any older ACP adapter for the same provider before loading this package.
@@ -60236,12 +60236,20 @@ var AntigravityRuntime = class {
60236
60236
  });
60237
60237
  try {
60238
60238
  if (key.startsWith("sid:") && typeof this.sessionStore?.acquireSessionLease === "function") {
60239
- releaseLease = await this.sessionStore.acquireSessionLease(key.slice(4), () => {
60239
+ const releaseOwnedLease = await this.sessionStore.acquireSessionLease(key.slice(4), () => {
60240
60240
  leaseLost = true;
60241
60241
  if (binding) binding.ompInvalidated = true;
60242
60242
  void connection.close().catch(() => {
60243
60243
  });
60244
60244
  });
60245
+ releaseLease = async () => {
60246
+ if (connection.process.alive) {
60247
+ void connection.process.exited.then(releaseOwnedLease).catch(() => {
60248
+ });
60249
+ return;
60250
+ }
60251
+ await releaseOwnedLease();
60252
+ };
60245
60253
  this.assertEpoch(epoch);
60246
60254
  }
60247
60255
  const initialize = await connection.initialize();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "omp-antigravity-acp-provider",
3
- "version": "0.1.23",
3
+ "version": "0.1.24",
4
4
  "ompAcpBundle": 1,
5
5
  "description": "Google Antigravity ACP provider for Oh My Pi (OMP), with tool bridging and per-model thinking; derived from zacbemis/pi-antigravity-acp-provider",
6
6
  "type": "module",
package/scripts/build.mjs CHANGED
@@ -243,7 +243,14 @@ const result = await build({
243
243
  });
244
244
  try {
245
245
  if (key.startsWith('sid:') && typeof this.sessionStore?.acquireSessionLease === 'function') {
246
- releaseLease = await this.sessionStore.acquireSessionLease(key.slice(4), () => { leaseLost = true; if (binding) binding.ompInvalidated = true; void connection.close().catch(() => {}); });
246
+ const releaseOwnedLease = await this.sessionStore.acquireSessionLease(key.slice(4), () => { leaseLost = true; if (binding) binding.ompInvalidated = true; void connection.close().catch(() => {}); });
247
+ releaseLease = async () => {
248
+ if (connection.process.alive) {
249
+ void connection.process.exited.then(releaseOwnedLease).catch(() => {});
250
+ return;
251
+ }
252
+ await releaseOwnedLease();
253
+ };
247
254
  this.assertEpoch(epoch);
248
255
  }
249
256
  \t\t\tconst initialize = await connection.initialize();`],