dsh-llm-omp-transports 0.4.4 → 0.4.6
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 +46 -164
- package/lib/adapter.d.ts +12 -48
- package/lib/adapter.js +11 -85
- package/lib/adapter.js.map +1 -1
- package/lib/antigravity/credentials.d.ts +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/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/devin/credentials.d.ts +1 -1
- package/lib/devin/discovery.d.ts +1 -1
- package/lib/factory-droid/credentials.d.ts +1 -1
- package/lib/factory-droid/credentials.js +2 -2
- package/lib/factory-droid/credentials.js.map +1 -1
- package/lib/gitlab/credentials.d.ts +1 -1
- package/lib/gitlab/credentials.js +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 +42 -273
- package/lib/index.js +19 -271
- package/lib/index.js.map +1 -1
- package/lib/jwt.d.ts +1 -1
- package/lib/jwt.js +1 -1
- package/lib/omp/antigravity-cli.mjs +4282 -2439
- package/lib/omp/antigravity-login.mjs +1724 -1127
- 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 +9 -117
- package/lib/omp.js +4 -4
- package/lib/projection.d.ts +19 -154
- package/lib/projection.js +67 -376
- package/lib/projection.js.map +1 -1
- package/lib/transport/credentials.d.ts +28 -0
- package/lib/transport/credentials.js +14 -0
- package/lib/transport/credentials.js.map +1 -0
- package/package.json +7 -8
- package/lib/catalog/cursor.d.ts +0 -29
- package/lib/catalog/cursor.js +0 -3954
- package/lib/catalog/cursor.js.map +0 -1
- 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/cursor/auth.d.ts +0 -135
- package/lib/cursor/auth.js +0 -304
- package/lib/cursor/auth.js.map +0 -1
- package/lib/cursor/credentials.d.ts +0 -52
- package/lib/cursor/credentials.js +0 -117
- package/lib/cursor/credentials.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/cursor.mjs +0 -23010
- package/lib/omp/google.mjs +0 -21492
package/README.md
CHANGED
|
@@ -11,43 +11,18 @@ 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 | `
|
|
15
|
-
| Credential scope | `llm-omp-transports/<provider>` — one record per route (`
|
|
14
|
+
| Routes | `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 (`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
|
|
|
19
19
|
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
|
-
artifact per route (`lib/omp/
|
|
23
|
-
|
|
22
|
+
artifact per route (`lib/omp/devin.mjs`), plus one shared
|
|
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
|
-
## Cursor support status
|
|
27
|
-
|
|
28
|
-
- **Text streaming** — yes. Assistant text and usage are projected onto DSH's
|
|
29
|
-
`StreamChunk` stream.
|
|
30
|
-
- **Reasoning streaming** — yes, with the catalog's effort routing. The
|
|
31
|
-
selected effort becomes the routed wire model id; an effort the model does
|
|
32
|
-
not advertise is refused with `UNSUPPORTED_REASONING_EFFORT`.
|
|
33
|
-
- **Tool-call handoff** — yes, through DSH's tool loop. Cursor's server drives
|
|
34
|
-
execution over its exec channel, so the transport runs in external-executor
|
|
35
|
-
mode: an unhandled MCP call is emitted as an unresolved tool call and
|
|
36
|
-
answered with a handoff, DSH runs the tool, and the next request replays the
|
|
37
|
-
result from history. The adapter never executes a tool itself.
|
|
38
|
-
- **Sign-in and refresh** — yes. The package registers the
|
|
39
|
-
`llm-omp-transports/cursor` authorization flow (a browser login page plus a
|
|
40
|
-
poll, no loopback callback and no device code) and refreshes an expiring
|
|
41
|
-
grant under the credential store's per-key lock. The Keys Manager Web page's
|
|
42
|
-
**Transport accounts** section is the surface that starts the flow.
|
|
43
|
-
- **Models** — from the pinned catalog: the Cursor slice of
|
|
44
|
-
`@oh-my-pi/pi-catalog@18.18.8` (123 rows) is generated into
|
|
45
|
-
`src/catalog/cursor.ts` and served without a network call.
|
|
46
|
-
- **Route** — `cursor`, declared configurable so the Models page has a profile
|
|
47
|
-
entry for it.
|
|
48
|
-
- **Images** — not yet. The route advertises text-only input and refuses image
|
|
49
|
-
blocks with `CONTENT_UNSUPPORTED`; see [known limits](docs/known-limits.md).
|
|
50
|
-
|
|
51
26
|
## Devin support status
|
|
52
27
|
|
|
53
28
|
- **Text streaming** — yes. Assistant text and reasoning are projected onto
|
|
@@ -57,8 +32,7 @@ package imports nothing from `@oh-my-pi/*` or `bun:*` at runtime.
|
|
|
57
32
|
with `UNSUPPORTED_REASONING_EFFORT`.
|
|
58
33
|
- **Tool-call handoff** — yes, native to DSH's tool loop. The transport emits
|
|
59
34
|
the call, finishes the turn `toolUse`, and DSH executes it; the result is
|
|
60
|
-
replayed from history on the next request.
|
|
61
|
-
transport-resolved, so nothing is filtered from the handoff.
|
|
35
|
+
replayed from history on the next request.
|
|
62
36
|
- **Sign-in** — two methods. Either paste the callback: the pinned omp login is
|
|
63
37
|
a declarative `oauth-code` rule whose loopback listener is Bun-only, so this
|
|
64
38
|
package opens the authorize page and asks for the address the browser landed
|
|
@@ -74,67 +48,20 @@ package imports nothing from `@oh-my-pi/*` or `bun:*` at runtime.
|
|
|
74
48
|
rather than the previous account's rows.
|
|
75
49
|
- **Route** — `devin`, declared configurable so the Models page has a
|
|
76
50
|
`providers.devin` profile with an allow-list.
|
|
77
|
-
- **Images** — not yet
|
|
51
|
+
- **Images** — not yet: text-only input, image blocks refused
|
|
78
52
|
with `CONTENT_UNSUPPORTED`.
|
|
79
53
|
|
|
80
|
-
## Google support status
|
|
54
|
+
## Google / Antigravity support status
|
|
81
55
|
|
|
82
|
-
|
|
83
|
-
and `google-antigravity`
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
56
|
+
Upstream omp 19.3+ removed the Cloud Code Assist OAuth transports
|
|
57
|
+
(`google-gemini-cli` and `google-antigravity`). This package **does not**
|
|
58
|
+
re-register those routes and does **not** invent a Gemini API-key or Vertex
|
|
59
|
+
transport here — those wires are ordinary HTTP and belong outside the omp-only
|
|
60
|
+
transport set.
|
|
87
61
|
|
|
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.
|
|
62
|
+
Antigravity remains as the ACP route `antigravity-cli` (the official `agy`
|
|
63
|
+
CLI). It is not a rename of `google-gemini-cli`: different login, different
|
|
64
|
+
credential record, different model table.
|
|
138
65
|
|
|
139
66
|
## Factory Droid support status
|
|
140
67
|
|
|
@@ -192,7 +119,7 @@ next turn replays the result through the goal transcript.
|
|
|
192
119
|
may import them: `tests/build.test.ts` checks that every static import of the
|
|
193
120
|
shipped artifact is a Node builtin.
|
|
194
121
|
- **Node 24 load.** The artifact is imported through a plain Node ESM loader
|
|
195
|
-
with no Bun global present, and must expose
|
|
122
|
+
with no Bun global present, and must expose its stream export. The Bun and
|
|
196
123
|
`@oh-my-pi/pi-utils` surface the bundled graph reaches is covered by the
|
|
197
124
|
shims in `scripts/omp-shim/`; a missing shim symbol or a new shim category
|
|
198
125
|
fails the build.
|
|
@@ -203,24 +130,17 @@ next turn replays the result through the goal transcript.
|
|
|
203
130
|
committed manifest is unchanged after a build, so an omp bump that changes
|
|
204
131
|
the contract shows up as a reviewable manifest diff before it can reach a
|
|
205
132
|
request.
|
|
206
|
-
- **Generated catalogs.** The model tables (`
|
|
207
|
-
`
|
|
208
|
-
catalog and are not hand-edited. An omp or catalog
|
|
209
|
-
`pnpm -C packages/llm-omp run generate:catalog`.
|
|
133
|
+
- **Generated catalogs.** The model tables (`devin`,
|
|
134
|
+
`antigravity-cli`, `factory-droid`, `gitlab-duo`, `gitlab-duo-agent`) are
|
|
135
|
+
generated from the pinned catalog and are not hand-edited. An omp or catalog
|
|
136
|
+
bump requires `pnpm -C packages/llm-omp run generate:catalog`.
|
|
210
137
|
|
|
211
138
|
## Limits and risks
|
|
212
139
|
|
|
213
|
-
- **
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
terms-of-service (ToS) risk. If Cursor gates non-IDE clients (a `401`/`403`
|
|
218
|
-
on `Run` with a valid account), this transport stops until the product
|
|
219
|
-
decision recorded as stop condition **S4**.
|
|
220
|
-
- **Real endpoints unverified.** The login, poll, refresh and agent endpoint
|
|
221
|
-
shapes are ported from the pinned omp sources; this repository's tests replay
|
|
222
|
-
recorded fixtures and never call Cursor, so live behavior is unverified until
|
|
223
|
-
it is exercised against a real account.
|
|
140
|
+
- **Real endpoints unverified.** The login, refresh and agent endpoint shapes
|
|
141
|
+
are ported from the pinned omp sources; this repository's tests replay
|
|
142
|
+
recorded fixtures and never call the providers, so live behavior is
|
|
143
|
+
unverified until it is exercised against a real account.
|
|
224
144
|
- **In-process checkpoint cache.** Per-conversation checkpoints live in a
|
|
225
145
|
module-level, in-process LRU (128 conversations) inside the bundled omp
|
|
226
146
|
transport. Nothing is persisted: an evicted or lost checkpoint rebuilds from
|
|
@@ -228,39 +148,26 @@ next turn replays the result through the goal transcript.
|
|
|
228
148
|
multi-step tool turn must replay its history.
|
|
229
149
|
- **Image input is advertised as text-only.** Forwarding is future work; until
|
|
230
150
|
it lands the projection refuses non-text blocks instead of silently dropping
|
|
231
|
-
them.
|
|
151
|
+
them. Many pinned catalog rows claim image support but are
|
|
232
152
|
advertised text-only.
|
|
233
|
-
- **Tool handoff
|
|
234
|
-
|
|
235
|
-
Tool declarations travel as MCP definitions, and
|
|
236
|
-
but cannot be replayed (the active tool set is the
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
`
|
|
241
|
-
history replay keeps the advertised alias so the follow-up request stays
|
|
242
|
-
consistent. The seven `dsh_<native>` names are reserved: a DSH tool that
|
|
243
|
-
already carries one is refused with `TOOL_ALIAS_COLLISION`, which fails the
|
|
244
|
-
whole request and requires renaming the tool. Any other tool name travels
|
|
245
|
-
unchanged. Cursor-native exec frames (`read`, `shell`, `write`, `delete`,
|
|
246
|
-
`grep`, `ls`, `diagnostics`, streamed edits) are still answered by the
|
|
247
|
-
transport with `Tool not available` and are **not** executed by DSH (live
|
|
248
|
-
reachability unverified).
|
|
249
|
-
- **Advisory request knobs are ignored.** Cursor's agent protocol has no field
|
|
250
|
-
for an output cap, sampling temperature, stop sequences or an auxiliary-call
|
|
251
|
-
purpose; DSH's `maxTokens`, `temperature`, `stop` and `purpose` never reach
|
|
252
|
-
the wire, and Cursor applies the catalog output limit server-side.
|
|
153
|
+
- **Tool handoff runs in DSH's own loop.** A turn that needs a tool ends with
|
|
154
|
+
the tool call; DSH's loop executes it and the result is replayed on the
|
|
155
|
+
follow-up request. Tool declarations travel as MCP definitions, and
|
|
156
|
+
`toolHistory` is accepted but cannot be replayed (the active tool set is the
|
|
157
|
+
projection).
|
|
158
|
+
- **Advisory request knobs are ignored.** Each route forwards only the knobs
|
|
159
|
+
its wire carries; the rest of DSH's `maxTokens`/`temperature`/`stop`/
|
|
160
|
+
`purpose` never reaches the wire.
|
|
253
161
|
- **Unofficial Devin client.** The transport presents the released Devin CLI
|
|
254
162
|
identity (`ideName: "devin-cli"`, `ideType: "chisel"`, `ideVersion:
|
|
255
163
|
"3000.11.205"`) and a `connect-go` client header the omp sources copy from the
|
|
256
|
-
CLI.
|
|
257
|
-
|
|
258
|
-
identity.
|
|
164
|
+
CLI. A first live turn rejected with `401`/`403` stops the route until a
|
|
165
|
+
product decision, never a retry under another identity.
|
|
259
166
|
- **Attribution deviates on one call.** The Devin chat request must keep the
|
|
260
167
|
transport's own `connect-go` client header — the backend gates on it. The
|
|
261
168
|
header-less `GetUserJwt` handshake has no identity of its own, so the adapter
|
|
262
|
-
fills DSH's attribution `user-agent` only where a header is absent.
|
|
263
|
-
requests keep full attribution.
|
|
169
|
+
fills DSH's attribution `user-agent` only where a header is absent. Other
|
|
170
|
+
routes' requests keep full attribution.
|
|
264
171
|
- **Devin has no refresh.** The pinned rule declares `refresh "none"`, so the
|
|
265
172
|
record is a static bearer with a derived `expires` (JWT `exp` minus five
|
|
266
173
|
minutes, else one year). An expired or corrupt record is `REAUTH_REQUIRED`,
|
|
@@ -276,36 +183,11 @@ next turn replays the result through the goal transcript.
|
|
|
276
183
|
stored WorkOS token), and a catalog-declared plain variable (`OPENAI_API_KEY`, …) still
|
|
277
184
|
resolves. The install id is per-process rather than persisted for the same reason: the
|
|
278
185
|
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.
|
|
186
|
+
- **Antigravity CLI only.** The Cloud Code Assist OAuth hub routes
|
|
187
|
+
(`google-gemini-cli` / `google-antigravity`) and `lib/omp/google.mjs` were
|
|
188
|
+
removed with omp 19.4.2. The remaining Google-adjacent surface is the
|
|
189
|
+
`antigravity-cli` ACP route (see support status above).
|
|
190
|
+
|
|
309
191
|
|
|
310
192
|
## Develop and test
|
|
311
193
|
|
|
@@ -316,10 +198,10 @@ pnpm -C packages/llm-omp test
|
|
|
316
198
|
pnpm -C packages/llm-omp run generate:catalog
|
|
317
199
|
```
|
|
318
200
|
|
|
319
|
-
`build` bundles the pinned omp graphs from `scripts/omp-entry
|
|
320
|
-
`
|
|
321
|
-
|
|
322
|
-
`
|
|
201
|
+
`build` bundles the pinned omp graphs from the `scripts/omp-entry*.ts` entries
|
|
202
|
+
into `lib/omp/*.mjs` (devin, antigravity-cli/login, factory-droid,
|
|
203
|
+
gitlab-duo/agent) and rewrites `scripts/omp-manifest.json`; run it before
|
|
204
|
+
`test` after a pin or shim change. CI runs the same sequence and then fails if
|
|
323
205
|
the committed manifest drifted.
|
|
324
206
|
|
|
325
207
|
The install proof lives at the repository root and needs `pnpm` and `dsh` on
|
package/lib/adapter.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Adapter for the omp-owned routes this plugin serves.
|
|
3
3
|
*
|
|
4
|
-
*
|
|
5
|
-
* (
|
|
6
|
-
* `
|
|
4
|
+
* Each route shares one shape: the provider speaks its own agent protocol
|
|
5
|
+
* (Devin's Connect-framed `GetChatMessage`) through an omp build artifact in
|
|
6
|
+
* `lib/omp/*.mjs`. The
|
|
7
7
|
* transport is injected rather than imported so this module stays free of the
|
|
8
8
|
* bundled artifacts and tests can replay recorded event scripts. A
|
|
9
9
|
* {@link TransportRoute} carries what differs per route: the catalog, the
|
|
@@ -20,15 +20,11 @@ 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 {
|
|
24
|
-
/** The Cursor provider route this adapter owns. */
|
|
25
|
-
export declare const CURSOR_ROUTE = "cursor";
|
|
23
|
+
import type { DevinModelRow, FactoryDroidModelRow, GitLabDuoAgentModelRow, GitLabDuoModelRow, GoogleModelRow, OmpDevinModel, OmpDevinOptions, OmpFactoryDroidModel, OmpFactoryDroidOptions, OmpGitLabDuoAgentModel, OmpGitLabDuoModel, OmpGitLabDuoOptions, OmpGitLabDuoWorkflowOptions, OmpAntigravityCliModel, OmpAntigravityCliOptions } from './omp.js';
|
|
26
24
|
/** The Devin provider route this adapter owns. */
|
|
27
25
|
export declare const DEVIN_ROUTE = "devin";
|
|
28
26
|
/** The Antigravity ACP provider route this adapter owns. */
|
|
29
27
|
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
28
|
/** The Factory Droid provider route this adapter owns. */
|
|
33
29
|
export declare const FACTORY_DROID_ROUTE = "factory-droid";
|
|
34
30
|
/** The GitLab Duo proxy provider route this adapter owns. */
|
|
@@ -65,7 +61,7 @@ export interface ProjectedTransportRequest<Model, Options> {
|
|
|
65
61
|
/** What differs between the routes: identity, catalog, projection and credential record. */
|
|
66
62
|
export interface TransportRoute<Row extends TransportRow, Model, Options extends TransportOptions> {
|
|
67
63
|
/** Provider id; also the registered route set the projection's profile accepts. */
|
|
68
|
-
readonly id: '
|
|
64
|
+
readonly id: 'devin' | 'factory-droid' | 'gitlab-duo' | 'gitlab-duo-agent' | 'antigravity-cli';
|
|
69
65
|
/** Models-page / provider-info display name. */
|
|
70
66
|
readonly displayName: string;
|
|
71
67
|
/** The `ctx.credentials` record this route reads. */
|
|
@@ -76,28 +72,9 @@ export interface TransportRoute<Row extends TransportRow, Model, Options extends
|
|
|
76
72
|
readonly models: readonly Row[];
|
|
77
73
|
/** Project one DSH request onto this route's transport arguments. */
|
|
78
74
|
readonly project: (row: Row, options: GenerateOptions<string>) => ProjectedTransportRequest<Model, Options>;
|
|
79
|
-
/**
|
|
80
|
-
* The row's advertised reasoning efforts.
|
|
81
|
-
*
|
|
82
|
-
* Cursor's rows carry `thinking.efforts`; Devin's rows advertise none (a
|
|
83
|
-
* selected effort is refused by its projection), so the route may omit this.
|
|
84
|
-
*/
|
|
85
|
-
readonly efforts?: (row: Row) => readonly string[] | undefined;
|
|
86
75
|
}
|
|
87
|
-
/** The Cursor route's facts. */
|
|
88
|
-
export declare const CURSOR_TRANSPORT_ROUTE: TransportRoute<CursorModelRow, OmpCursorModel, OmpCursorOptions>;
|
|
89
76
|
/** The Devin route's facts. */
|
|
90
77
|
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
78
|
/**
|
|
102
79
|
* The Antigravity CLI (ACP) route's facts.
|
|
103
80
|
*
|
|
@@ -151,8 +128,8 @@ export interface OmpAdapterOptions<Model, Options extends TransportOptions, Row
|
|
|
151
128
|
* Resolve the route's bearer token for one request.
|
|
152
129
|
*
|
|
153
130
|
* @remarks
|
|
154
|
-
* Asynchronous because it reads (and
|
|
155
|
-
*
|
|
131
|
+
* Asynchronous because it reads (and may refresh) the route's credential
|
|
132
|
+
* through the credentials seam. The request signal is forwarded
|
|
156
133
|
* so an aborted turn can abandon a refresh instead of writing it late. Tests
|
|
157
134
|
* inject a fake.
|
|
158
135
|
*/
|
|
@@ -178,7 +155,7 @@ export interface OmpAdapterOptions<Model, Options extends TransportOptions, Row
|
|
|
178
155
|
* `inferenceRegion`) with the grant, and the transport needs it as
|
|
179
156
|
* `options.oauthIdentity` to pick the EU host. The base class merges whatever
|
|
180
157
|
* this returns into the transport options, so a route that has no such data
|
|
181
|
-
* (
|
|
158
|
+
* (devin, google, gitlab) simply omits it — the ignored-field contract
|
|
182
159
|
* the design chose over a route-specific adapter subclass.
|
|
183
160
|
*/
|
|
184
161
|
identity?: () => Promise<Readonly<Record<string, unknown>> | undefined>;
|
|
@@ -204,8 +181,8 @@ interface OmpRouteAdapterConfig<Row extends TransportRow, Model, Options extends
|
|
|
204
181
|
* @remarks
|
|
205
182
|
* The per-turn order is fixed: refuse an already-aborted turn, resolve the row,
|
|
206
183
|
* project the request (refusals must not pay a credential read), read the
|
|
207
|
-
* credential, validate it, then stream.
|
|
208
|
-
* that read; Devin's resolver only reads.
|
|
184
|
+
* credential, validate it, then stream. A route's resolver may refresh the
|
|
185
|
+
* grant under that read; Devin's resolver only reads.
|
|
209
186
|
*/
|
|
210
187
|
declare abstract class OmpTransportAdapter<Row extends TransportRow, Model, Options extends TransportOptions> extends LlmAdapter {
|
|
211
188
|
private readonly config;
|
|
@@ -231,9 +208,8 @@ declare abstract class OmpTransportAdapter<Row extends TransportRow, Model, Opti
|
|
|
231
208
|
* The id is echoed back (`id: provider`) so a caller sees the route it named,
|
|
232
209
|
* but only for a route this adapter owns: a foreign id raises
|
|
233
210
|
* {@link UNKNOWN_PROVIDER} instead of answering another provider's id with
|
|
234
|
-
* this route's display name. That guard
|
|
235
|
-
*
|
|
236
|
-
* id); it applies to every route and is pinned in both directions.
|
|
211
|
+
* this route's display name. That guard applies to every route and is pinned
|
|
212
|
+
* in both directions.
|
|
237
213
|
*/
|
|
238
214
|
providerInfo(provider: string): LlmProviderInfo;
|
|
239
215
|
listModels(provider: string): Promise<readonly LlmModelInfo[]>;
|
|
@@ -245,24 +221,12 @@ declare abstract class OmpTransportAdapter<Row extends TransportRow, Model, Opti
|
|
|
245
221
|
/** Build the seam's exact-model metadata from one catalog row. */
|
|
246
222
|
private modelInfo;
|
|
247
223
|
}
|
|
248
|
-
/** The DSH llm adapter configuration for the Cursor route. */
|
|
249
|
-
export type OmpCursorAdapterConfig = OmpAdapterOptions<OmpCursorModel, OmpCursorOptions, CursorModelRow>;
|
|
250
|
-
/** The Cursor adapter: the bundled `streamCursor` over the generated Cursor catalog. */
|
|
251
|
-
export declare class OmpCursorAdapter extends OmpTransportAdapter<CursorModelRow, OmpCursorModel, OmpCursorOptions> {
|
|
252
|
-
constructor(options: OmpCursorAdapterConfig);
|
|
253
|
-
}
|
|
254
224
|
/** The DSH llm adapter configuration for the Devin route. */
|
|
255
225
|
export type OmpDevinAdapterConfig = OmpAdapterOptions<OmpDevinModel, OmpDevinOptions, DevinModelRow>;
|
|
256
226
|
/** The Devin adapter: the bundled `streamDevin` over the generated Devin catalog. */
|
|
257
227
|
export declare class OmpDevinAdapter extends OmpTransportAdapter<DevinModelRow, OmpDevinModel, OmpDevinOptions> {
|
|
258
228
|
constructor(options: OmpDevinAdapterConfig);
|
|
259
229
|
}
|
|
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
230
|
/** The Antigravity ACP adapter: the bundled `streamAntigravityCli` over the `agy` catalog. */
|
|
267
231
|
export declare class OmpAntigravityCliAdapter extends OmpTransportAdapter<GoogleModelRow, OmpAntigravityCliModel, OmpAntigravityCliOptions> {
|
|
268
232
|
constructor(options: OmpAdapterOptions<OmpAntigravityCliModel, OmpAntigravityCliOptions>);
|
package/lib/adapter.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Adapter for the omp-owned routes this plugin serves.
|
|
3
3
|
*
|
|
4
|
-
*
|
|
5
|
-
* (
|
|
6
|
-
* `
|
|
4
|
+
* Each route shares one shape: the provider speaks its own agent protocol
|
|
5
|
+
* (Devin's Connect-framed `GetChatMessage`) through an omp build artifact in
|
|
6
|
+
* `lib/omp/*.mjs`. The
|
|
7
7
|
* transport is injected rather than imported so this module stays free of the
|
|
8
8
|
* bundled artifacts and tests can replay recorded event scripts. A
|
|
9
9
|
* {@link TransportRoute} carries what differs per route: the catalog, the
|
|
@@ -17,24 +17,17 @@
|
|
|
17
17
|
* @module dsh-llm-omp-transports/adapter
|
|
18
18
|
*/
|
|
19
19
|
import { LlmAdapter, LlmError, ReasoningEffortId, assertUsableApiKey } from '@deepseek-ai/dsh-llm';
|
|
20
|
-
import { CURSOR_MODELS } from './catalog/cursor.js';
|
|
21
20
|
import { DEVIN_MODELS } from './catalog/devin.js';
|
|
22
21
|
import { FACTORY_DROID_MODELS } from './catalog/factory-droid.js';
|
|
23
22
|
import { GITLAB_DUO_MODELS } from './catalog/gitlab-duo.js';
|
|
24
23
|
import { GITLAB_DUO_AGENT_MODELS } from './catalog/gitlab-duo-agent.js';
|
|
25
24
|
import { ANTIGRAVITY_CLI_MODELS } from './catalog/antigravity-cli.js';
|
|
26
|
-
import { GOOGLE_GEMINI_CLI_MODELS } from './catalog/google-gemini-cli.js';
|
|
27
|
-
import { CURSOR_CREDENTIAL_KEY } from './cursor/credentials.js';
|
|
28
25
|
import { DEVIN_CREDENTIAL_KEY } from './devin/credentials.js';
|
|
29
|
-
import { ANTIGRAVITY_CLI_PROFILE,
|
|
30
|
-
/** The Cursor provider route this adapter owns. */
|
|
31
|
-
export const CURSOR_ROUTE = 'cursor';
|
|
26
|
+
import { ANTIGRAVITY_CLI_PROFILE, DEVIN_PROFILE, FACTORY_DROID_PROFILE, GITLAB_DUO_AGENT_PROFILE, GITLAB_DUO_PROFILE, abortedFinish, projectDevinRequest, projectEvents, projectFactoryDroidRequest, projectGitLabDuoAgentRequest, projectGitLabDuoRequest, projectAntigravityCliRequest, } from './projection.js';
|
|
32
27
|
/** The Devin provider route this adapter owns. */
|
|
33
28
|
export const DEVIN_ROUTE = 'devin';
|
|
34
29
|
/** The Antigravity ACP provider route this adapter owns. */
|
|
35
30
|
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
31
|
/** The Factory Droid provider route this adapter owns. */
|
|
39
32
|
export const FACTORY_DROID_ROUTE = 'factory-droid';
|
|
40
33
|
/** The GitLab Duo proxy provider route this adapter owns. */
|
|
@@ -55,25 +48,6 @@ export const UNKNOWN_PROVIDER = 'UNKNOWN_PROVIDER';
|
|
|
55
48
|
* advertisable again.
|
|
56
49
|
*/
|
|
57
50
|
const INPUT_MODALITIES = ['text'];
|
|
58
|
-
/** Display names for the catalog's reasoning efforts. */
|
|
59
|
-
const EFFORT_NAMES = {
|
|
60
|
-
minimal: 'Minimal',
|
|
61
|
-
low: 'Low',
|
|
62
|
-
medium: 'Medium',
|
|
63
|
-
high: 'High',
|
|
64
|
-
xhigh: 'Extra high',
|
|
65
|
-
max: 'Max',
|
|
66
|
-
};
|
|
67
|
-
/** The Cursor route's facts. */
|
|
68
|
-
export const CURSOR_TRANSPORT_ROUTE = {
|
|
69
|
-
id: CURSOR_ROUTE,
|
|
70
|
-
displayName: 'Cursor',
|
|
71
|
-
credentialKey: CURSOR_CREDENTIAL_KEY,
|
|
72
|
-
profile: CURSOR_PROFILE,
|
|
73
|
-
models: CURSOR_MODELS,
|
|
74
|
-
project: projectRequest,
|
|
75
|
-
efforts: row => row.thinking?.efforts,
|
|
76
|
-
};
|
|
77
51
|
/** The Devin route's facts. */
|
|
78
52
|
export const DEVIN_TRANSPORT_ROUTE = {
|
|
79
53
|
id: DEVIN_ROUTE,
|
|
@@ -83,24 +57,6 @@ export const DEVIN_TRANSPORT_ROUTE = {
|
|
|
83
57
|
models: DEVIN_MODELS,
|
|
84
58
|
project: projectDevinRequest,
|
|
85
59
|
};
|
|
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
60
|
/**
|
|
105
61
|
* The Antigravity CLI (ACP) route's facts.
|
|
106
62
|
*
|
|
@@ -206,8 +162,8 @@ export const GITLAB_DUO_AGENT_TRANSPORT_ROUTE = {
|
|
|
206
162
|
* @remarks
|
|
207
163
|
* The per-turn order is fixed: refuse an already-aborted turn, resolve the row,
|
|
208
164
|
* project the request (refusals must not pay a credential read), read the
|
|
209
|
-
* credential, validate it, then stream.
|
|
210
|
-
* that read; Devin's resolver only reads.
|
|
165
|
+
* credential, validate it, then stream. A route's resolver may refresh the
|
|
166
|
+
* grant under that read; Devin's resolver only reads.
|
|
211
167
|
*/
|
|
212
168
|
class OmpTransportAdapter extends LlmAdapter {
|
|
213
169
|
config;
|
|
@@ -251,9 +207,8 @@ class OmpTransportAdapter extends LlmAdapter {
|
|
|
251
207
|
* The id is echoed back (`id: provider`) so a caller sees the route it named,
|
|
252
208
|
* but only for a route this adapter owns: a foreign id raises
|
|
253
209
|
* {@link UNKNOWN_PROVIDER} instead of answering another provider's id with
|
|
254
|
-
* this route's display name. That guard
|
|
255
|
-
*
|
|
256
|
-
* id); it applies to every route and is pinned in both directions.
|
|
210
|
+
* this route's display name. That guard applies to every route and is pinned
|
|
211
|
+
* in both directions.
|
|
257
212
|
*/
|
|
258
213
|
providerInfo(provider) {
|
|
259
214
|
this.assertRoute(provider);
|
|
@@ -290,8 +245,7 @@ class OmpTransportAdapter extends LlmAdapter {
|
|
|
290
245
|
async *call(options) {
|
|
291
246
|
// Read the live signal each time: it can abort while the credential is read.
|
|
292
247
|
const aborted = () => options.signal?.aborted === true;
|
|
293
|
-
// An already-cancelled turn must not pay a credential read
|
|
294
|
-
// refreshes, a CAS write) or open a stream.
|
|
248
|
+
// An already-cancelled turn must not pay a credential read or open a stream.
|
|
295
249
|
if (aborted()) {
|
|
296
250
|
yield abortedFinish();
|
|
297
251
|
return;
|
|
@@ -328,11 +282,10 @@ class OmpTransportAdapter extends LlmAdapter {
|
|
|
328
282
|
apiKey: accessKey,
|
|
329
283
|
...(extras === undefined ? {} : extras),
|
|
330
284
|
};
|
|
331
|
-
yield* projectEvents(this.config.transport(request.model, request.context, transportOptions),
|
|
285
|
+
yield* projectEvents(this.config.transport(request.model, request.context, transportOptions), this.config.route.profile, options.signal);
|
|
332
286
|
}
|
|
333
287
|
/** Build the seam's exact-model metadata from one catalog row. */
|
|
334
288
|
modelInfo(provider, row) {
|
|
335
|
-
const efforts = this.config.route.efforts?.(row) ?? [];
|
|
336
289
|
return {
|
|
337
290
|
provider,
|
|
338
291
|
id: row.id,
|
|
@@ -342,46 +295,19 @@ class OmpTransportAdapter extends LlmAdapter {
|
|
|
342
295
|
// absent `context` as "capacity not stated", which is the truth here.
|
|
343
296
|
...(row.contextWindow === undefined ? {} : { context: { contextWindow: row.contextWindow } }),
|
|
344
297
|
// No `defaultMaxTokens`. The seam materializes that number into
|
|
345
|
-
// `maxTokens` on every request that omits one;
|
|
346
|
-
// per-request output-cap field, and Devin's projection forwards an
|
|
298
|
+
// `maxTokens` on every request that omits one; Devin's projection forwards an
|
|
347
299
|
// explicit `maxTokens` but the transport already defaults to the row's
|
|
348
300
|
// `maxTokens`. Advertising a default would only promise a cap nothing
|
|
349
301
|
// enforces. Both catalogs apply their cap from the model object.
|
|
350
|
-
// Every effort list is advertised exactly as the catalog declares it. On
|
|
351
|
-
// a row with no `effortRouting` entry each advertised effort resolves to
|
|
352
|
-
// the same wire id — the row's own — so those selections are wire-level
|
|
353
|
-
// no-ops, exactly as in omp.
|
|
354
|
-
...(efforts.length > 0
|
|
355
|
-
? {
|
|
356
|
-
reasoning: {
|
|
357
|
-
efforts: efforts.map(effort => ({
|
|
358
|
-
id: ReasoningEffortId(effort),
|
|
359
|
-
name: EFFORT_NAMES[effort] ?? effort,
|
|
360
|
-
})),
|
|
361
|
-
},
|
|
362
|
-
}
|
|
363
|
-
: {}),
|
|
364
302
|
};
|
|
365
303
|
}
|
|
366
304
|
}
|
|
367
|
-
/** The Cursor adapter: the bundled `streamCursor` over the generated Cursor catalog. */
|
|
368
|
-
export class OmpCursorAdapter extends OmpTransportAdapter {
|
|
369
|
-
constructor(options) {
|
|
370
|
-
super({ route: CURSOR_TRANSPORT_ROUTE, ...options });
|
|
371
|
-
}
|
|
372
|
-
}
|
|
373
305
|
/** The Devin adapter: the bundled `streamDevin` over the generated Devin catalog. */
|
|
374
306
|
export class OmpDevinAdapter extends OmpTransportAdapter {
|
|
375
307
|
constructor(options) {
|
|
376
308
|
super({ route: DEVIN_TRANSPORT_ROUTE, ...options });
|
|
377
309
|
}
|
|
378
310
|
}
|
|
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
311
|
/** The Antigravity ACP adapter: the bundled `streamAntigravityCli` over the `agy` catalog. */
|
|
386
312
|
export class OmpAntigravityCliAdapter extends OmpTransportAdapter {
|
|
387
313
|
constructor(options) {
|