llm-cli-gateway 2.12.1 → 2.12.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 +23 -0
- package/README.md +132 -5
- package/dist/api-provider.d.ts +1 -0
- package/dist/api-provider.js +13 -0
- package/dist/async-job-manager.d.ts +34 -2
- package/dist/async-job-manager.js +344 -46
- package/dist/config.d.ts +34 -0
- package/dist/config.js +91 -0
- package/dist/doctor.d.ts +30 -2
- package/dist/doctor.js +78 -6
- package/dist/endpoint-exposure.js +15 -3
- package/dist/http-transport.d.ts +3 -0
- package/dist/http-transport.js +138 -8
- package/dist/index.d.ts +15 -0
- package/dist/index.js +221 -74
- package/dist/provider-login-guidance.d.ts +12 -0
- package/dist/provider-login-guidance.js +28 -0
- package/dist/provider-status.d.ts +12 -0
- package/dist/provider-status.js +14 -0
- package/dist/provider-tool-capabilities.d.ts +4 -1
- package/dist/provider-tool-capabilities.js +225 -11
- package/dist/resources.d.ts +6 -2
- package/dist/resources.js +72 -8
- package/dist/validation-normalizer.js +5 -4
- package/npm-shrinkwrap.json +2 -2
- package/package.json +1 -1
- package/setup/status.schema.json +65 -0
package/setup/status.schema.json
CHANGED
|
@@ -405,6 +405,71 @@
|
|
|
405
405
|
},
|
|
406
406
|
"additionalProperties": false
|
|
407
407
|
},
|
|
408
|
+
"api_providers": {
|
|
409
|
+
"type": "object",
|
|
410
|
+
"description": "Slice 6: health of enabled [providers.<name>] (kind:api) providers. OMITTED entirely when none are enabled (dormant byte-identical).",
|
|
411
|
+
"required": ["enabled_count", "providers"],
|
|
412
|
+
"properties": {
|
|
413
|
+
"enabled_count": { "type": "integer", "minimum": 1 },
|
|
414
|
+
"providers": {
|
|
415
|
+
"type": "object",
|
|
416
|
+
"additionalProperties": {
|
|
417
|
+
"type": "object",
|
|
418
|
+
"required": [
|
|
419
|
+
"name",
|
|
420
|
+
"kind",
|
|
421
|
+
"base_url",
|
|
422
|
+
"default_model",
|
|
423
|
+
"models",
|
|
424
|
+
"api_key_env",
|
|
425
|
+
"api_key_present",
|
|
426
|
+
"reachable",
|
|
427
|
+
"login_guidance"
|
|
428
|
+
],
|
|
429
|
+
"properties": {
|
|
430
|
+
"name": { "type": "string" },
|
|
431
|
+
"kind": { "enum": ["openai-compatible", "anthropic", "xai-responses"] },
|
|
432
|
+
"base_url": { "type": "string" },
|
|
433
|
+
"default_model": { "type": "string" },
|
|
434
|
+
"models": {
|
|
435
|
+
"type": ["array", "null"],
|
|
436
|
+
"items": { "type": "string" }
|
|
437
|
+
},
|
|
438
|
+
"api_key_env": { "type": ["string", "null"] },
|
|
439
|
+
"api_key_present": { "type": "boolean" },
|
|
440
|
+
"reachable": { "type": ["boolean", "null"] },
|
|
441
|
+
"reachability_error": { "type": "string" },
|
|
442
|
+
"login_guidance": {
|
|
443
|
+
"type": "object",
|
|
444
|
+
"required": [
|
|
445
|
+
"provider",
|
|
446
|
+
"displayName",
|
|
447
|
+
"kind",
|
|
448
|
+
"baseUrl",
|
|
449
|
+
"apiKeyEnv",
|
|
450
|
+
"summary",
|
|
451
|
+
"steps",
|
|
452
|
+
"credentialHandling"
|
|
453
|
+
],
|
|
454
|
+
"properties": {
|
|
455
|
+
"provider": { "type": "string" },
|
|
456
|
+
"displayName": { "type": "string" },
|
|
457
|
+
"kind": { "enum": ["openai-compatible", "anthropic", "xai-responses"] },
|
|
458
|
+
"baseUrl": { "type": "string" },
|
|
459
|
+
"apiKeyEnv": { "type": ["string", "null"] },
|
|
460
|
+
"summary": { "type": "string" },
|
|
461
|
+
"steps": { "type": "array", "items": { "type": "string" } },
|
|
462
|
+
"credentialHandling": { "type": "string" }
|
|
463
|
+
},
|
|
464
|
+
"additionalProperties": false
|
|
465
|
+
}
|
|
466
|
+
},
|
|
467
|
+
"additionalProperties": false
|
|
468
|
+
}
|
|
469
|
+
}
|
|
470
|
+
},
|
|
471
|
+
"additionalProperties": false
|
|
472
|
+
},
|
|
408
473
|
"upstream": {
|
|
409
474
|
"type": "object",
|
|
410
475
|
"required": [
|