@jeffusion/bungee-types 5.17.0 → 5.18.0

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.
Files changed (2) hide show
  1. package/dist/types.d.ts +3 -0
  2. package/package.json +1 -1
package/dist/types.d.ts CHANGED
@@ -143,7 +143,9 @@ export interface LoadBalancingConfig {
143
143
  /** 仅 policy='consistent_hash' 时有意义 */
144
144
  hash_policy?: HashPolicyConfig;
145
145
  }
146
+ export type LLMProtocol = 'responses' | 'chat_completions' | 'anthropic_messages';
146
147
  export interface Service {
148
+ llm_protocol?: LLMProtocol;
147
149
  /** Stable identity supplied by the runtime compiler. */
148
150
  id?: string;
149
151
  name: string;
@@ -215,6 +217,7 @@ export interface RetryConfig {
215
217
  per_retry_timeout_ms?: number;
216
218
  }
217
219
  export interface RouteConfig extends DirectionalModificationRules {
220
+ llm_protocol?: LLMProtocol;
218
221
  /** Stable logical route identity, present only in compiled runtime config. */
219
222
  id?: string;
220
223
  path: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jeffusion/bungee-types",
3
- "version": "5.17.0",
3
+ "version": "5.18.0",
4
4
  "description": "TypeScript type definitions for Bungee",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",