llm-cli-gateway 2.13.1 → 2.13.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +43 -0
- package/dist/config.d.ts +8 -0
- package/dist/config.js +58 -19
- package/dist/connector-setup.d.ts +39 -0
- package/dist/connector-setup.js +86 -0
- package/dist/doctor.d.ts +39 -1
- package/dist/doctor.js +182 -3
- package/dist/http-transport.js +27 -3
- package/dist/index.d.ts +1 -0
- package/dist/index.js +149 -25
- package/dist/oauth.js +15 -14
- package/dist/remote-url.d.ts +28 -0
- package/dist/remote-url.js +61 -0
- package/dist/resources.js +3 -1
- package/dist/session-manager.d.ts +2 -0
- package/dist/session-manager.js +20 -1
- package/dist/workspace-registry.d.ts +9 -0
- package/dist/workspace-registry.js +24 -4
- package/npm-shrinkwrap.json +2 -2
- package/package.json +1 -1
- package/setup/status.schema.json +75 -0
package/setup/status.schema.json
CHANGED
|
@@ -14,6 +14,7 @@
|
|
|
14
14
|
"workspaces",
|
|
15
15
|
"providers",
|
|
16
16
|
"endpoint_exposure",
|
|
17
|
+
"remote_http_oauth",
|
|
17
18
|
"client_config",
|
|
18
19
|
"cache_awareness",
|
|
19
20
|
"provider_capabilities",
|
|
@@ -229,6 +230,80 @@
|
|
|
229
230
|
},
|
|
230
231
|
"additionalProperties": false
|
|
231
232
|
},
|
|
233
|
+
"remote_http_oauth": {
|
|
234
|
+
"type": "object",
|
|
235
|
+
"description": "Stable readiness projection for the preferred remote connector path (public HTTPS URL + /mcp + OAuth + registered/default workspace). Secret-free.",
|
|
236
|
+
"required": [
|
|
237
|
+
"ready",
|
|
238
|
+
"stage",
|
|
239
|
+
"public_url",
|
|
240
|
+
"mcp_url",
|
|
241
|
+
"auth_mode",
|
|
242
|
+
"oauth",
|
|
243
|
+
"workspace",
|
|
244
|
+
"next_actions"
|
|
245
|
+
],
|
|
246
|
+
"properties": {
|
|
247
|
+
"ready": { "type": "boolean" },
|
|
248
|
+
"stage": {
|
|
249
|
+
"enum": [
|
|
250
|
+
"not_started",
|
|
251
|
+
"missing_public_url",
|
|
252
|
+
"endpoint_unreachable",
|
|
253
|
+
"oauth_disabled",
|
|
254
|
+
"unsafe_oauth_config",
|
|
255
|
+
"missing_oauth_client",
|
|
256
|
+
"missing_workspace",
|
|
257
|
+
"ready"
|
|
258
|
+
]
|
|
259
|
+
},
|
|
260
|
+
"public_url": { "type": ["string", "null"] },
|
|
261
|
+
"mcp_url": { "type": ["string", "null"] },
|
|
262
|
+
"auth_mode": { "enum": ["oauth", "bearer_token", "none"] },
|
|
263
|
+
"oauth": {
|
|
264
|
+
"type": "object",
|
|
265
|
+
"required": [
|
|
266
|
+
"enabled",
|
|
267
|
+
"issuer",
|
|
268
|
+
"authorization_url",
|
|
269
|
+
"token_url",
|
|
270
|
+
"registration_policy",
|
|
271
|
+
"clients_configured",
|
|
272
|
+
"consent_required"
|
|
273
|
+
],
|
|
274
|
+
"properties": {
|
|
275
|
+
"enabled": { "type": "boolean" },
|
|
276
|
+
"issuer": { "type": ["string", "null"] },
|
|
277
|
+
"authorization_url": { "type": ["string", "null"] },
|
|
278
|
+
"token_url": { "type": ["string", "null"] },
|
|
279
|
+
"registration_policy": {
|
|
280
|
+
"enum": ["static_clients", "shared_secret", "open_dev"]
|
|
281
|
+
},
|
|
282
|
+
"clients_configured": { "type": "integer", "minimum": 0 },
|
|
283
|
+
"consent_required": { "type": "boolean" }
|
|
284
|
+
},
|
|
285
|
+
"additionalProperties": false
|
|
286
|
+
},
|
|
287
|
+
"workspace": {
|
|
288
|
+
"type": "object",
|
|
289
|
+
"required": ["ready", "default", "aliases"],
|
|
290
|
+
"properties": {
|
|
291
|
+
"ready": { "type": "boolean" },
|
|
292
|
+
"default": { "type": ["string", "null"] },
|
|
293
|
+
"aliases": {
|
|
294
|
+
"type": "array",
|
|
295
|
+
"items": { "type": "string" }
|
|
296
|
+
}
|
|
297
|
+
},
|
|
298
|
+
"additionalProperties": false
|
|
299
|
+
},
|
|
300
|
+
"next_actions": {
|
|
301
|
+
"type": "array",
|
|
302
|
+
"items": { "type": "string" }
|
|
303
|
+
}
|
|
304
|
+
},
|
|
305
|
+
"additionalProperties": false
|
|
306
|
+
},
|
|
232
307
|
"client_config": {
|
|
233
308
|
"type": "object",
|
|
234
309
|
"required": [
|