dsh-llm-omp-transports 0.4.3 → 0.4.5
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 +24 -96
- package/lib/adapter.d.ts +2 -20
- package/lib/adapter.js +1 -28
- package/lib/adapter.js.map +1 -1
- package/lib/catalog/antigravity-cli.d.ts +6 -6
- package/lib/catalog/antigravity-cli.js +36 -3
- package/lib/catalog/antigravity-cli.js.map +1 -1
- package/lib/catalog/cursor.d.ts +5 -5
- package/lib/catalog/cursor.js +4826 -1255
- package/lib/catalog/cursor.js.map +1 -1
- package/lib/catalog/devin.d.ts +4 -4
- package/lib/catalog/devin.js +2 -2
- package/lib/catalog/devin.js.map +1 -1
- package/lib/catalog/factory-droid.d.ts +5 -5
- package/lib/catalog/factory-droid.js +134 -4
- package/lib/catalog/factory-droid.js.map +1 -1
- package/lib/catalog/gitlab-duo-agent.d.ts +4 -4
- package/lib/catalog/gitlab-duo-agent.js +2 -2
- package/lib/catalog/gitlab-duo-agent.js.map +1 -1
- package/lib/catalog/gitlab-duo.d.ts +4 -4
- package/lib/catalog/gitlab-duo.js +61 -2
- package/lib/catalog/gitlab-duo.js.map +1 -1
- package/lib/google/callback-listener.d.ts +11 -1
- package/lib/google/callback-listener.js +7 -4
- package/lib/google/callback-listener.js.map +1 -1
- package/lib/index.d.ts +20 -135
- package/lib/index.js +13 -164
- package/lib/index.js.map +1 -1
- package/lib/omp/antigravity-cli.mjs +4282 -2439
- package/lib/omp/antigravity-login.mjs +1724 -1127
- package/lib/omp/cursor.mjs +4334 -3610
- package/lib/omp/devin.mjs +2634 -2408
- package/lib/omp/factory-droid.mjs +5826 -5597
- package/lib/omp/gitlab-duo-agent.mjs +2637 -884
- package/lib/omp/gitlab-duo.mjs +8918 -9315
- package/lib/omp.d.ts +2 -57
- package/lib/projection.d.ts +3 -66
- package/lib/projection.js +2 -143
- package/lib/projection.js.map +1 -1
- package/package.json +14 -15
- package/lib/catalog/google-antigravity.d.ts +0 -27
- package/lib/catalog/google-antigravity.js +0 -1049
- package/lib/catalog/google-antigravity.js.map +0 -1
- package/lib/catalog/google-gemini-cli.d.ts +0 -28
- package/lib/catalog/google-gemini-cli.js +0 -323
- package/lib/catalog/google-gemini-cli.js.map +0 -1
- package/lib/google/auth.d.ts +0 -148
- package/lib/google/auth.js +0 -627
- package/lib/google/auth.js.map +0 -1
- package/lib/google/client-facts.generated.d.ts +0 -13
- package/lib/google/client-facts.generated.js +0 -8
- package/lib/google/client-facts.generated.js.map +0 -1
- package/lib/google/credentials.d.ts +0 -47
- package/lib/google/credentials.js +0 -170
- package/lib/google/credentials.js.map +0 -1
- package/lib/google/route.d.ts +0 -51
- package/lib/google/route.js +0 -61
- package/lib/google/route.js.map +0 -1
- package/lib/omp/google.mjs +0 -21492
package/README.md
CHANGED
|
@@ -11,8 +11,8 @@ and the plugin page lists both bundle components
|
|
|
11
11
|
|---|---|
|
|
12
12
|
| npm package | `dsh-llm-omp-transports` |
|
|
13
13
|
| Plugin id | `llm-omp-transports` |
|
|
14
|
-
| Routes | `cursor`, `devin`, `
|
|
15
|
-
| Credential scope | `llm-omp-transports/<provider>` — one record per route (`cursor`, `devin`, `
|
|
14
|
+
| Routes | `cursor`, `devin`, `antigravity-cli`, `factory-droid`, `gitlab-duo`, `gitlab-duo-agent` (the seam is provider-generic) |
|
|
15
|
+
| Credential scope | `llm-omp-transports/<provider>` — one record per route (`cursor`, `devin`, `antigravity-cli`, `factory-droid`, `gitlab-duo`, `gitlab-duo-agent`) |
|
|
16
16
|
| Runtime | Node 24 (the bundle imports Node builtins only) |
|
|
17
17
|
| License | MIT |
|
|
18
18
|
|
|
@@ -20,7 +20,7 @@ The plugin registers its own route on the DSH `llm` seam, so it depends on no
|
|
|
20
20
|
upstream DSH change. `@oh-my-pi/pi-ai` and `@oh-my-pi/pi-catalog` are used at
|
|
21
21
|
**build time only**: the build inlines the pinned omp transports into one ESM
|
|
22
22
|
artifact per route (`lib/omp/cursor.mjs`, `lib/omp/devin.mjs`), plus one shared
|
|
23
|
-
|
|
23
|
+
artifacts for Antigravity CLI (`lib/omp/antigravity-cli.mjs` / `antigravity-login.mjs`), and the published
|
|
24
24
|
package imports nothing from `@oh-my-pi/*` or `bun:*` at runtime.
|
|
25
25
|
|
|
26
26
|
## Cursor support status
|
|
@@ -77,64 +77,17 @@ package imports nothing from `@oh-my-pi/*` or `bun:*` at runtime.
|
|
|
77
77
|
- **Images** — not yet, same as Cursor: text-only input, image blocks refused
|
|
78
78
|
with `CONTENT_UNSUPPORTED`.
|
|
79
79
|
|
|
80
|
-
## Google support status
|
|
80
|
+
## Google / Antigravity support status
|
|
81
81
|
|
|
82
|
-
|
|
83
|
-
and `google-antigravity`
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
82
|
+
Upstream omp 19.3+ removed the Cloud Code Assist OAuth transports
|
|
83
|
+
(`google-gemini-cli` and `google-antigravity`). This package **does not**
|
|
84
|
+
re-register those routes and does **not** invent a Gemini API-key or Vertex
|
|
85
|
+
transport here — those wires are ordinary HTTP and belong outside the omp-only
|
|
86
|
+
transport set.
|
|
87
87
|
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
`thinkingLevel`. A row with `requiresEffort` refuses a turn that selects no
|
|
92
|
-
effort (`UNSUPPORTED_REASONING_EFFORT`), exactly as omp does.
|
|
93
|
-
- **Tool-call handoff** — yes, native to DSH's tool loop, like Devin: the
|
|
94
|
-
transport emits the call and finishes the turn `toolUse`. Antigravity's
|
|
95
|
-
default tool mode (`VALIDATED`) is sent on every request that declares tools.
|
|
96
|
-
- **Sign-in** — yes, with a real loopback listener on `127.0.0.1`:
|
|
97
|
-
`:8085/oauth2callback` for Gemini CLI and `:51121/oauth-callback` for
|
|
98
|
-
Antigravity, as the pinned rules declare. The browser redirect completes the
|
|
99
|
-
flow automatically; if the port is taken the listener falls back to an
|
|
100
|
-
ephemeral port and the authorize page names the port it actually bound. The
|
|
101
|
-
full address the browser landed on (or `code#state`) can also be pasted; a
|
|
102
|
-
pasted code without the state is refused, because that is exactly the shape a
|
|
103
|
-
forged callback would have. Anything the listener does not recognise — a
|
|
104
|
-
foreign `state`, an `error=`, a missing code — is answered `400` and dropped
|
|
105
|
-
without ending the attempt, so a stray request cannot kill the sign-in. The
|
|
106
|
-
listener closes on the matching callback, on an aborted attempt and **on a
|
|
107
|
-
timeout** (five minutes, `GoogleFlowOptions.waitMs` for tests): an expired wait
|
|
108
|
-
fails with `AUTH_FAILED` and commits nothing.
|
|
109
|
-
- **Refresh** — yes. The resolver refreshes once, under the credential store's
|
|
110
|
-
per-key lock, when `expires - 60 s <= now`, keeps the `projectId` and an
|
|
111
|
-
un-rotated `refresh_token`, and reports a dead sign-in as `REAUTH_REQUIRED`.
|
|
112
|
-
- **Credential record** — `llm-omp-transports/<route>` with
|
|
113
|
-
`{access, refresh, expires, projectId, email?}`. The adapter hands the
|
|
114
|
-
transport the structured JSON envelope (`token`, `projectId`, `refreshToken`,
|
|
115
|
-
`expiresAt`, `email`) that omp parses.
|
|
116
|
-
- **Project discovery** — sign-in finishes with the Cloud Code Assist project:
|
|
117
|
-
`loadCodeAssist` → (tier onboarding `onboardUser` + LRO poll, or, when a
|
|
118
|
-
`google-gemini-cli` account is `legacy-tier`/paid **and** Google returns no
|
|
119
|
-
project, a project-id question in the sign-in panel — `GOOGLE_CLOUD_PROJECT` /
|
|
120
|
-
`GOOGLE_CLOUD_PROJECT_ID` answers it without the prompt). Antigravity
|
|
121
|
-
additionally checks free-tier eligibility and bounds onboarding at 30 s.
|
|
122
|
-
- **Google account requirements** — the routes are not interchangeable.
|
|
123
|
-
`google-gemini-cli` is the Google Cloud (Gemini Code Assist) route: the account
|
|
124
|
-
needs a Cloud project, and a Google One subscription does not provide one.
|
|
125
|
-
`google-antigravity` runs on a Google account's Antigravity entitlement (its
|
|
126
|
-
free tier here; Antigravity's own plans decide paid access). Both go straight
|
|
127
|
-
to Cloud Code Assist — this package bundles no `agy` CLI and no ACP transport;
|
|
128
|
-
omp's separate `antigravity-cli` provider is out of scope.
|
|
129
|
-
- **Models** — generated from the pinned `@oh-my-pi/pi-catalog@18.18.8`: 7 rows
|
|
130
|
-
for `google-gemini-cli`, 22 for `google-antigravity`, served without a network
|
|
131
|
-
call.
|
|
132
|
-
- **Routes** — both declared configurable, so the Models page has
|
|
133
|
-
`providers.google-gemini-cli` and `providers.google-antigravity` allow-lists.
|
|
134
|
-
- **Images** — not yet, same posture as the other routes: text-only input, image
|
|
135
|
-
blocks refused with `CONTENT_UNSUPPORTED`. omp's Antigravity image path
|
|
136
|
-
decodes through `Bun.Image`, which does not exist under Node, so that path is
|
|
137
|
-
dead here by construction; the projection never reaches it.
|
|
88
|
+
Antigravity remains as the ACP route `antigravity-cli` (the official `agy`
|
|
89
|
+
CLI). It is not a rename of `google-gemini-cli`: different login, different
|
|
90
|
+
credential record, different model table.
|
|
138
91
|
|
|
139
92
|
## Factory Droid support status
|
|
140
93
|
|
|
@@ -204,9 +157,9 @@ next turn replays the result through the goal transcript.
|
|
|
204
157
|
the contract shows up as a reviewable manifest diff before it can reach a
|
|
205
158
|
request.
|
|
206
159
|
- **Generated catalogs.** The model tables (`cursor`, `devin`,
|
|
207
|
-
`
|
|
208
|
-
catalog and are not hand-edited. An omp or catalog
|
|
209
|
-
`pnpm -C packages/llm-omp run generate:catalog`.
|
|
160
|
+
`antigravity-cli`, `factory-droid`, `gitlab-duo`, `gitlab-duo-agent`) are
|
|
161
|
+
generated from the pinned catalog and are not hand-edited. An omp or catalog
|
|
162
|
+
bump requires `pnpm -C packages/llm-omp run generate:catalog`.
|
|
210
163
|
|
|
211
164
|
## Limits and risks
|
|
212
165
|
|
|
@@ -276,36 +229,11 @@ next turn replays the result through the goal transcript.
|
|
|
276
229
|
stored WorkOS token), and a catalog-declared plain variable (`OPENAI_API_KEY`, …) still
|
|
277
230
|
resolves. The install id is per-process rather than persisted for the same reason: the
|
|
278
231
|
transport must not write to a user's home.
|
|
279
|
-
- **
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
turn rejected with `401`/`403` on a valid token stops the route until a
|
|
285
|
-
product decision (stop condition **S4**) — never a retry under another
|
|
286
|
-
identity.
|
|
287
|
-
- **Antigravity version lookup.** Before the first Antigravity request the
|
|
288
|
-
artifact reads the client version from the public update manifest (D11),
|
|
289
|
-
because the backend gates newer models on that version. A failed lookup is
|
|
290
|
-
silent and falls back to the pinned `2.26.0` for ten minutes; an explicit
|
|
291
|
-
`PI_AI_ANTIGRAVITY_VERSION` skips the lookup. That is the only outbound
|
|
292
|
-
request the routes make besides the vendor API itself.
|
|
293
|
-
- **Google sign-in waits at most five minutes.** The loopback listener is
|
|
294
|
-
bounded by a wait budget (five minutes by default): a browser that never
|
|
295
|
-
returns fails the attempt with `AUTH_FAILED`, closes the socket and commits
|
|
296
|
-
nothing. An aborted attempt is reported as a cancellation, not a failure.
|
|
297
|
-
When the configured port is taken, the fallback is an ephemeral port; a host
|
|
298
|
-
that can bind neither fails the sign-in rather than silently dropping the
|
|
299
|
-
browser half (pasting still works only while the listener is up).
|
|
300
|
-
- **Google attribution deviates on both routes.** The Cloud Code Assist wire
|
|
301
|
-
sets a vendor `user-agent` that the backend gates on, so DSH's attribution
|
|
302
|
-
`user-agent` is filled only where a request left the header absent — the same
|
|
303
|
-
fill-absent wrapper the Devin handshake uses.
|
|
304
|
-
- **Real Google endpoints unverified.** The wire suite drives the bundled
|
|
305
|
-
transport end to end over a stubbed `fetch` (URL, envelope, headers, SSE,
|
|
306
|
-
in-band errors, Antigravity failover and the version manifest), but it never
|
|
307
|
-
calls Google. A first live sign-in and turn is a manual smoke check, not a
|
|
308
|
-
claim of server acceptance.
|
|
232
|
+
- **Antigravity CLI only.** The Cloud Code Assist OAuth hub routes
|
|
233
|
+
(`google-gemini-cli` / `google-antigravity`) and `lib/omp/google.mjs` were
|
|
234
|
+
removed with omp 19.4.2. The remaining Google-adjacent surface is the
|
|
235
|
+
`antigravity-cli` ACP route (see support status above).
|
|
236
|
+
|
|
309
237
|
|
|
310
238
|
## Develop and test
|
|
311
239
|
|
|
@@ -316,10 +244,10 @@ pnpm -C packages/llm-omp test
|
|
|
316
244
|
pnpm -C packages/llm-omp run generate:catalog
|
|
317
245
|
```
|
|
318
246
|
|
|
319
|
-
`build` bundles the pinned omp graphs from `scripts/omp-entry
|
|
320
|
-
`
|
|
321
|
-
|
|
322
|
-
`
|
|
247
|
+
`build` bundles the pinned omp graphs from the `scripts/omp-entry*.ts` entries
|
|
248
|
+
into `lib/omp/*.mjs` (cursor, devin, antigravity-cli/login, factory-droid,
|
|
249
|
+
gitlab-duo/agent) and rewrites `scripts/omp-manifest.json`; run it before
|
|
250
|
+
`test` after a pin or shim change. CI runs the same sequence and then fails if
|
|
323
251
|
the committed manifest drifted.
|
|
324
252
|
|
|
325
253
|
The install proof lives at the repository root and needs `pnpm` and `dsh` on
|
package/lib/adapter.d.ts
CHANGED
|
@@ -20,15 +20,13 @@ import { LlmAdapter } from '@deepseek-ai/dsh-llm';
|
|
|
20
20
|
import type { GenerateOptions, LlmModelInfo, LlmProviderInfo, LlmResolvedModelInfo, StreamChunk } from '@deepseek-ai/dsh-llm';
|
|
21
21
|
import type { RouteProfile } from './projection.js';
|
|
22
22
|
import type { OmpAssistantMessageEvent, OmpContext } from './omp.js';
|
|
23
|
-
import type { CursorModelRow, DevinModelRow, FactoryDroidModelRow, GitLabDuoAgentModelRow, GitLabDuoModelRow, GoogleModelRow, OmpCursorModel, OmpCursorOptions, OmpDevinModel, OmpDevinOptions, OmpFactoryDroidModel, OmpFactoryDroidOptions, OmpGitLabDuoAgentModel, OmpGitLabDuoModel, OmpGitLabDuoOptions, OmpGitLabDuoWorkflowOptions, OmpAntigravityCliModel, OmpAntigravityCliOptions
|
|
23
|
+
import type { CursorModelRow, DevinModelRow, FactoryDroidModelRow, GitLabDuoAgentModelRow, GitLabDuoModelRow, GoogleModelRow, OmpCursorModel, OmpCursorOptions, OmpDevinModel, OmpDevinOptions, OmpFactoryDroidModel, OmpFactoryDroidOptions, OmpGitLabDuoAgentModel, OmpGitLabDuoModel, OmpGitLabDuoOptions, OmpGitLabDuoWorkflowOptions, OmpAntigravityCliModel, OmpAntigravityCliOptions } from './omp.js';
|
|
24
24
|
/** The Cursor provider route this adapter owns. */
|
|
25
25
|
export declare const CURSOR_ROUTE = "cursor";
|
|
26
26
|
/** The Devin provider route this adapter owns. */
|
|
27
27
|
export declare const DEVIN_ROUTE = "devin";
|
|
28
28
|
/** The Antigravity ACP provider route this adapter owns. */
|
|
29
29
|
export declare const ANTIGRAVITY_CLI_ROUTE = "antigravity-cli";
|
|
30
|
-
/** The Gemini CLI provider route this adapter owns. */
|
|
31
|
-
export declare const GOOGLE_GEMINI_CLI_ROUTE = "google-gemini-cli";
|
|
32
30
|
/** The Factory Droid provider route this adapter owns. */
|
|
33
31
|
export declare const FACTORY_DROID_ROUTE = "factory-droid";
|
|
34
32
|
/** The GitLab Duo proxy provider route this adapter owns. */
|
|
@@ -65,7 +63,7 @@ export interface ProjectedTransportRequest<Model, Options> {
|
|
|
65
63
|
/** What differs between the routes: identity, catalog, projection and credential record. */
|
|
66
64
|
export interface TransportRoute<Row extends TransportRow, Model, Options extends TransportOptions> {
|
|
67
65
|
/** Provider id; also the registered route set the projection's profile accepts. */
|
|
68
|
-
readonly id: 'cursor' | 'devin' | 'factory-droid' | 'gitlab-duo' | 'gitlab-duo-agent' | '
|
|
66
|
+
readonly id: 'cursor' | 'devin' | 'factory-droid' | 'gitlab-duo' | 'gitlab-duo-agent' | 'antigravity-cli';
|
|
69
67
|
/** Models-page / provider-info display name. */
|
|
70
68
|
readonly displayName: string;
|
|
71
69
|
/** The `ctx.credentials` record this route reads. */
|
|
@@ -88,16 +86,6 @@ export interface TransportRoute<Row extends TransportRow, Model, Options extends
|
|
|
88
86
|
export declare const CURSOR_TRANSPORT_ROUTE: TransportRoute<CursorModelRow, OmpCursorModel, OmpCursorOptions>;
|
|
89
87
|
/** The Devin route's facts. */
|
|
90
88
|
export declare const DEVIN_TRANSPORT_ROUTE: TransportRoute<DevinModelRow, OmpDevinModel, OmpDevinOptions>;
|
|
91
|
-
/**
|
|
92
|
-
* The two Google routes' facts.
|
|
93
|
-
*
|
|
94
|
-
* One artifact serves both: `streamGoogleGeminiCli` dispatches on
|
|
95
|
-
* `model.provider`, so only the profile, the catalog and the credential record
|
|
96
|
-
* differ. The credential key is the route id under the package namespace
|
|
97
|
-
* (`llm-omp-transports/<route>`), as it is for cursor and devin; the Google
|
|
98
|
-
* resolver reads and writes those records.
|
|
99
|
-
*/
|
|
100
|
-
export declare const GOOGLE_GEMINI_CLI_TRANSPORT_ROUTE: TransportRoute<GoogleModelRow, OmpGoogleModel, OmpGoogleOptions>;
|
|
101
89
|
/**
|
|
102
90
|
* The Antigravity CLI (ACP) route's facts.
|
|
103
91
|
*
|
|
@@ -257,12 +245,6 @@ export type OmpDevinAdapterConfig = OmpAdapterOptions<OmpDevinModel, OmpDevinOpt
|
|
|
257
245
|
export declare class OmpDevinAdapter extends OmpTransportAdapter<DevinModelRow, OmpDevinModel, OmpDevinOptions> {
|
|
258
246
|
constructor(options: OmpDevinAdapterConfig);
|
|
259
247
|
}
|
|
260
|
-
/** The DSH llm adapter configuration for a Google route. */
|
|
261
|
-
export type OmpGoogleAdapterConfig = OmpAdapterOptions<OmpGoogleModel, OmpGoogleOptions, GoogleModelRow>;
|
|
262
|
-
/** The Gemini CLI adapter: the bundled `streamGoogleGeminiCli` over the Gemini CLI catalog. */
|
|
263
|
-
export declare class OmpGoogleGeminiCliAdapter extends OmpTransportAdapter<GoogleModelRow, OmpGoogleModel, OmpGoogleOptions> {
|
|
264
|
-
constructor(options: OmpGoogleAdapterConfig);
|
|
265
|
-
}
|
|
266
248
|
/** The Antigravity ACP adapter: the bundled `streamAntigravityCli` over the `agy` catalog. */
|
|
267
249
|
export declare class OmpAntigravityCliAdapter extends OmpTransportAdapter<GoogleModelRow, OmpAntigravityCliModel, OmpAntigravityCliOptions> {
|
|
268
250
|
constructor(options: OmpAdapterOptions<OmpAntigravityCliModel, OmpAntigravityCliOptions>);
|
package/lib/adapter.js
CHANGED
|
@@ -23,18 +23,15 @@ import { FACTORY_DROID_MODELS } from './catalog/factory-droid.js';
|
|
|
23
23
|
import { GITLAB_DUO_MODELS } from './catalog/gitlab-duo.js';
|
|
24
24
|
import { GITLAB_DUO_AGENT_MODELS } from './catalog/gitlab-duo-agent.js';
|
|
25
25
|
import { ANTIGRAVITY_CLI_MODELS } from './catalog/antigravity-cli.js';
|
|
26
|
-
import { GOOGLE_GEMINI_CLI_MODELS } from './catalog/google-gemini-cli.js';
|
|
27
26
|
import { CURSOR_CREDENTIAL_KEY } from './cursor/credentials.js';
|
|
28
27
|
import { DEVIN_CREDENTIAL_KEY } from './devin/credentials.js';
|
|
29
|
-
import { ANTIGRAVITY_CLI_PROFILE, CURSOR_PROFILE, DEVIN_PROFILE, FACTORY_DROID_PROFILE, GITLAB_DUO_AGENT_PROFILE, GITLAB_DUO_PROFILE,
|
|
28
|
+
import { ANTIGRAVITY_CLI_PROFILE, CURSOR_PROFILE, DEVIN_PROFILE, FACTORY_DROID_PROFILE, GITLAB_DUO_AGENT_PROFILE, GITLAB_DUO_PROFILE, abortedFinish, projectDevinRequest, projectEvents, projectFactoryDroidRequest, projectGitLabDuoAgentRequest, projectGitLabDuoRequest, projectAntigravityCliRequest, projectRequest, } from './projection.js';
|
|
30
29
|
/** The Cursor provider route this adapter owns. */
|
|
31
30
|
export const CURSOR_ROUTE = 'cursor';
|
|
32
31
|
/** The Devin provider route this adapter owns. */
|
|
33
32
|
export const DEVIN_ROUTE = 'devin';
|
|
34
33
|
/** The Antigravity ACP provider route this adapter owns. */
|
|
35
34
|
export const ANTIGRAVITY_CLI_ROUTE = 'antigravity-cli';
|
|
36
|
-
/** The Gemini CLI provider route this adapter owns. */
|
|
37
|
-
export const GOOGLE_GEMINI_CLI_ROUTE = 'google-gemini-cli';
|
|
38
35
|
/** The Factory Droid provider route this adapter owns. */
|
|
39
36
|
export const FACTORY_DROID_ROUTE = 'factory-droid';
|
|
40
37
|
/** The GitLab Duo proxy provider route this adapter owns. */
|
|
@@ -83,24 +80,6 @@ export const DEVIN_TRANSPORT_ROUTE = {
|
|
|
83
80
|
models: DEVIN_MODELS,
|
|
84
81
|
project: projectDevinRequest,
|
|
85
82
|
};
|
|
86
|
-
/**
|
|
87
|
-
* The two Google routes' facts.
|
|
88
|
-
*
|
|
89
|
-
* One artifact serves both: `streamGoogleGeminiCli` dispatches on
|
|
90
|
-
* `model.provider`, so only the profile, the catalog and the credential record
|
|
91
|
-
* differ. The credential key is the route id under the package namespace
|
|
92
|
-
* (`llm-omp-transports/<route>`), as it is for cursor and devin; the Google
|
|
93
|
-
* resolver reads and writes those records.
|
|
94
|
-
*/
|
|
95
|
-
export const GOOGLE_GEMINI_CLI_TRANSPORT_ROUTE = {
|
|
96
|
-
id: GOOGLE_GEMINI_CLI_ROUTE,
|
|
97
|
-
displayName: 'Google Gemini CLI',
|
|
98
|
-
credentialKey: `llm-omp-transports/${GOOGLE_GEMINI_CLI_ROUTE}`,
|
|
99
|
-
profile: GOOGLE_GEMINI_CLI_PROFILE,
|
|
100
|
-
models: GOOGLE_GEMINI_CLI_MODELS,
|
|
101
|
-
project: (row, options) => projectGoogleRequest(row, GOOGLE_GEMINI_CLI_PROFILE, options),
|
|
102
|
-
efforts: row => row.thinking?.efforts,
|
|
103
|
-
};
|
|
104
83
|
/**
|
|
105
84
|
* The Antigravity CLI (ACP) route's facts.
|
|
106
85
|
*
|
|
@@ -376,12 +355,6 @@ export class OmpDevinAdapter extends OmpTransportAdapter {
|
|
|
376
355
|
super({ route: DEVIN_TRANSPORT_ROUTE, ...options });
|
|
377
356
|
}
|
|
378
357
|
}
|
|
379
|
-
/** The Gemini CLI adapter: the bundled `streamGoogleGeminiCli` over the Gemini CLI catalog. */
|
|
380
|
-
export class OmpGoogleGeminiCliAdapter extends OmpTransportAdapter {
|
|
381
|
-
constructor(options) {
|
|
382
|
-
super({ route: GOOGLE_GEMINI_CLI_TRANSPORT_ROUTE, ...options });
|
|
383
|
-
}
|
|
384
|
-
}
|
|
385
358
|
/** The Antigravity ACP adapter: the bundled `streamAntigravityCli` over the `agy` catalog. */
|
|
386
359
|
export class OmpAntigravityCliAdapter extends OmpTransportAdapter {
|
|
387
360
|
constructor(options) {
|
package/lib/adapter.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"adapter.js","sourceRoot":"","sources":["../src/adapter.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AACH,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE,iBAAiB,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAA;AAUlG,OAAO,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAA;AACnD,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAA;AACjD,OAAO,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAA;AACjE,OAAO,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAA;AAC3D,OAAO,EAAE,uBAAuB,EAAE,MAAM,+BAA+B,CAAA;AACvE,OAAO,EAAE,sBAAsB,EAAE,MAAM,8BAA8B,CAAA;AACrE,OAAO,EAAE,wBAAwB,EAAE,MAAM,gCAAgC,CAAA;AACzE,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAA;AAC/D,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAA;AAC7D,OAAO,EACL,uBAAuB,EACvB,cAAc,EACd,aAAa,EACb,qBAAqB,EACrB,wBAAwB,EACxB,kBAAkB,EAClB,yBAAyB,EACzB,aAAa,EACb,mBAAmB,EACnB,aAAa,EACb,0BAA0B,EAC1B,4BAA4B,EAC5B,uBAAuB,EACvB,4BAA4B,EAC5B,oBAAoB,EACpB,cAAc,GACf,MAAM,iBAAiB,CAAA;AA0BxB,mDAAmD;AACnD,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5
|
-
* (
|
|
4
|
+
* Source: `@oh-my-pi/pi-catalog@19.4.2` `src/models.json` key `antigravity-cli`
|
|
5
|
+
* (8 rows, sha256:57b1026bd01d473d4c09aa5f3c715949aa8298e31db9caebc21d285597ed3f28). Regenerate with `pnpm -C packages/llm-omp run generate:catalog`.
|
|
6
6
|
*
|
|
7
|
-
* The drift gate in `tests/build-
|
|
7
|
+
* The drift gate in `tests/build-antigravity.test.ts` pins the same package version
|
|
8
8
|
* and source hash, so an omp bump fails there before this table can describe
|
|
9
9
|
* the wrong models.
|
|
10
10
|
*
|
|
@@ -17,11 +17,11 @@ import type { GoogleModelRow } from '../omp.js';
|
|
|
17
17
|
/** Provenance of {@link ANTIGRAVITY_CLI_MODELS}. */
|
|
18
18
|
export declare const ANTIGRAVITY_CLI_CATALOG_SOURCE: {
|
|
19
19
|
readonly package: "@oh-my-pi/pi-catalog";
|
|
20
|
-
readonly version: "
|
|
20
|
+
readonly version: "19.4.2";
|
|
21
21
|
readonly file: "src/models.json";
|
|
22
22
|
readonly key: "antigravity-cli";
|
|
23
|
-
readonly sourceHash: "sha256:
|
|
24
|
-
readonly rowCount:
|
|
23
|
+
readonly sourceHash: "sha256:57b1026bd01d473d4c09aa5f3c715949aa8298e31db9caebc21d285597ed3f28";
|
|
24
|
+
readonly rowCount: 8;
|
|
25
25
|
};
|
|
26
26
|
/** Every Antigravity CLI model the pinned catalog serves, sorted by id. */
|
|
27
27
|
export declare const ANTIGRAVITY_CLI_MODELS: readonly GoogleModelRow[];
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/** Provenance of {@link ANTIGRAVITY_CLI_MODELS}. */
|
|
2
2
|
export const ANTIGRAVITY_CLI_CATALOG_SOURCE = {
|
|
3
3
|
package: '@oh-my-pi/pi-catalog',
|
|
4
|
-
version: '
|
|
4
|
+
version: '19.4.2',
|
|
5
5
|
file: 'src/models.json',
|
|
6
6
|
key: 'antigravity-cli',
|
|
7
|
-
sourceHash: 'sha256:
|
|
8
|
-
rowCount:
|
|
7
|
+
sourceHash: 'sha256:57b1026bd01d473d4c09aa5f3c715949aa8298e31db9caebc21d285597ed3f28',
|
|
8
|
+
rowCount: 8,
|
|
9
9
|
};
|
|
10
10
|
/** Every Antigravity CLI model the pinned catalog serves, sorted by id. */
|
|
11
11
|
export const ANTIGRAVITY_CLI_MODELS = [
|
|
@@ -205,6 +205,39 @@ export const ANTIGRAVITY_CLI_MODELS = [
|
|
|
205
205
|
"requiresEffort": true
|
|
206
206
|
}
|
|
207
207
|
},
|
|
208
|
+
{
|
|
209
|
+
"id": "gemini-4-neon",
|
|
210
|
+
"name": "Gemini 4 Neon",
|
|
211
|
+
"baseUrl": "https://antigravity.google",
|
|
212
|
+
"contextWindow": 1048576,
|
|
213
|
+
"maxTokens": 262144,
|
|
214
|
+
"input": [
|
|
215
|
+
"text",
|
|
216
|
+
"image"
|
|
217
|
+
],
|
|
218
|
+
"cost": {
|
|
219
|
+
"input": 0,
|
|
220
|
+
"output": 0,
|
|
221
|
+
"cacheRead": 0,
|
|
222
|
+
"cacheWrite": 0
|
|
223
|
+
},
|
|
224
|
+
"reasoning": true,
|
|
225
|
+
"identity": {
|
|
226
|
+
"class": "gemini",
|
|
227
|
+
"revision": "4.0.0"
|
|
228
|
+
},
|
|
229
|
+
"compat": {},
|
|
230
|
+
"thinking": {
|
|
231
|
+
"mode": "effort",
|
|
232
|
+
"efforts": [
|
|
233
|
+
"low",
|
|
234
|
+
"medium",
|
|
235
|
+
"high",
|
|
236
|
+
"xhigh"
|
|
237
|
+
],
|
|
238
|
+
"requiresEffort": true
|
|
239
|
+
}
|
|
240
|
+
},
|
|
208
241
|
{
|
|
209
242
|
"id": "gpt-oss-120b-medium",
|
|
210
243
|
"name": "GPT-OSS 120B (Medium)",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"antigravity-cli.js","sourceRoot":"","sources":["../../src/catalog/antigravity-cli.ts"],"names":[],"mappings":"AAiBA,oDAAoD;AACpD,MAAM,CAAC,MAAM,8BAA8B,GAAG;IAC5C,OAAO,EAAE,sBAAsB;IAC/B,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"antigravity-cli.js","sourceRoot":"","sources":["../../src/catalog/antigravity-cli.ts"],"names":[],"mappings":"AAiBA,oDAAoD;AACpD,MAAM,CAAC,MAAM,8BAA8B,GAAG;IAC5C,OAAO,EAAE,sBAAsB;IAC/B,OAAO,EAAE,QAAQ;IACjB,IAAI,EAAE,iBAAiB;IACvB,GAAG,EAAE,iBAAiB;IACtB,UAAU,EAAE,yEAAyE;IACrF,QAAQ,EAAE,CAAC;CACH,CAAA;AAEV,2EAA2E;AAC3E,MAAM,CAAC,MAAM,sBAAsB,GAA8B;IAC/D;QACE,IAAI,EAAE,iBAAiB;QACvB,MAAM,EAAE,iBAAiB;QACzB,SAAS,EAAE,4BAA4B;QACvC,eAAe,EAAE,OAAO;QACxB,WAAW,EAAE,MAAM;QACnB,OAAO,EAAE;YACP,MAAM;YACN,OAAO;SACR;QACD,MAAM,EAAE;YACN,OAAO,EAAE,CAAC;YACV,QAAQ,EAAE,CAAC;YACX,WAAW,EAAE,CAAC;YACd,YAAY,EAAE,CAAC;SAChB;QACD,WAAW,EAAE,IAAI;QACjB,UAAU,EAAE;YACV,OAAO,EAAE,WAAW;YACpB,QAAQ,EAAE,MAAM;YAChB,UAAU,EAAE,OAAO;SACpB;QACD,QAAQ,EAAE,EAAE;QACZ,UAAU,EAAE;YACV,MAAM,EAAE,QAAQ;YAChB,SAAS,EAAE;gBACT,KAAK;gBACL,QAAQ;gBACR,MAAM;aACP;YACD,eAAe,EAAE,IAAI;SACtB;KACF;IACD;QACE,IAAI,EAAE,mBAAmB;QACzB,MAAM,EAAE,mBAAmB;QAC3B,SAAS,EAAE,4BAA4B;QACvC,eAAe,EAAE,OAAO;QACxB,WAAW,EAAE,MAAM;QACnB,OAAO,EAAE;YACP,MAAM;YACN,OAAO;SACR;QACD,MAAM,EAAE;YACN,OAAO,EAAE,CAAC;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AAM,EAAE,QAAQ;YAChB,SAAS,EAAE;gBACT,KAAK;gBACL,QAAQ;gBACR,MAAM;gBACN,OAAO;aACR;YACD,gBAAgB,EAAE,IAAI;SACvB;KACF;IACD;QACE,IAAI,EAAE,eAAe;QACrB,MAAM,EAAE,eAAe;QACvB,SAAS,EAAE,4BAA4B;QACvC,eAAe,EAAE,OAAO;QACxB,WAAW,EAAE,MAAM;QACnB,OAAO,EAAE;YACP,MAAM;YACN,OAAO;SACR;QACD,MAAM,EAAE;YACN,OAAO,EAAE,CAAC;YACV,QAAQ,EAAE,CAAC;YACX,WAAW,EAAE,CAAC;YACd,YAAY,EAAE,CAAC;SAChB;QACD,WAAW,EAAE,IAAI;QACjB,UAAU,EAAE;YACV,OAAO,EAAE,QAAQ;YACjB,UAAU,EAAE,OAAO;SACpB;QACD,QAAQ,EAAE,EAAE;QACZ,UAAU,EAAE;YACV,MAAM,EAAE,QAAQ;YAChB,SAAS,EAAE;gBACT,KAAK;gBACL,QAAQ;gBACR,MAAM;gBACN,OAAO;aACR;YACD,gBAAgB,EAAE,IAAI;SACvB;KACF;IACD;QACE,IAAI,EAAE,qBAAqB;QAC3B,MAAM,EAAE,uBAAuB;QAC/B,SAAS,EAAE,4BAA4B;QACvC,eAAe,EAAE,MAAM;QACvB,WAAW,EAAE,KAAK;QAClB,OAAO,EAAE;YACP,MAAM;SACP;QACD,MAAM,EAAE;YACN,OAAO,EAAE,CAAC;YACV,QAAQ,EAAE,CAAC;YACX,WAAW,EAAE,CAAC;YACd,YAAY,EAAE,CAAC;SAChB;QACD,WAAW,EAAE,KAAK;QAClB,UAAU,EAAE;YACV,OAAO,EAAE,SAAS;YAClB,QAAQ,EAAE,MAAM;SACjB;QACD,QAAQ,EAAE,EAAE;KACb;CACF,CAAA"}
|
package/lib/catalog/cursor.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Generated Cursor model table — do not edit by hand.
|
|
3
3
|
*
|
|
4
|
-
* Source: `@oh-my-pi/pi-catalog@
|
|
5
|
-
* (
|
|
4
|
+
* Source: `@oh-my-pi/pi-catalog@19.4.2` `src/models.json` key `cursor`
|
|
5
|
+
* (197 rows, sha256:57b1026bd01d473d4c09aa5f3c715949aa8298e31db9caebc21d285597ed3f28). Regenerate with `pnpm -C packages/llm-omp run generate:catalog`.
|
|
6
6
|
*
|
|
7
7
|
* The drift gate in `tests/build.test.ts` pins the same package version and
|
|
8
8
|
* source hash, so an omp bump fails there before this table can describe the
|
|
@@ -19,11 +19,11 @@ import type { CursorModelRow } from '../omp.js';
|
|
|
19
19
|
/** Provenance of {@link CURSOR_MODELS}. */
|
|
20
20
|
export declare const CURSOR_CATALOG_SOURCE: {
|
|
21
21
|
readonly package: "@oh-my-pi/pi-catalog";
|
|
22
|
-
readonly version: "
|
|
22
|
+
readonly version: "19.4.2";
|
|
23
23
|
readonly file: "src/models.json";
|
|
24
24
|
readonly key: "cursor";
|
|
25
|
-
readonly sourceHash: "sha256:
|
|
26
|
-
readonly rowCount:
|
|
25
|
+
readonly sourceHash: "sha256:57b1026bd01d473d4c09aa5f3c715949aa8298e31db9caebc21d285597ed3f28";
|
|
26
|
+
readonly rowCount: 197;
|
|
27
27
|
};
|
|
28
28
|
/** Every Cursor model the pinned catalog serves, sorted by id. */
|
|
29
29
|
export declare const CURSOR_MODELS: readonly CursorModelRow[];
|