@jeffusion/bungee-types 6.8.2 → 6.10.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.
package/dist/menus.d.ts CHANGED
@@ -85,7 +85,7 @@ export declare const DEFAULT_MENU_GROUPS: readonly [{
85
85
  readonly id: "group:usage";
86
86
  readonly label: "menus.groups.usage";
87
87
  readonly icon: "lucide:chart-no-axes-combined";
88
- readonly pages: readonly ["plugin:token-stats:%2Fstatistics", "plugin:token-budget:%2Fsettings"];
88
+ readonly pages: readonly ["plugin:token-stats:%2Fstatistics", "plugin:token-budget:%2Fsettings", "plugin:chatgpt-oauth:%2Faccounts"];
89
89
  }, {
90
90
  readonly id: "group:access";
91
91
  readonly label: "menus.groups.access";
@@ -106,7 +106,7 @@ export declare function defaultMenuGroup(id: string): {
106
106
  readonly id: "group:usage";
107
107
  readonly label: "menus.groups.usage";
108
108
  readonly icon: "lucide:chart-no-axes-combined";
109
- readonly pages: readonly ["plugin:token-stats:%2Fstatistics", "plugin:token-budget:%2Fsettings"];
109
+ readonly pages: readonly ["plugin:token-stats:%2Fstatistics", "plugin:token-budget:%2Fsettings", "plugin:chatgpt-oauth:%2Faccounts"];
110
110
  } | {
111
111
  readonly id: "group:access";
112
112
  readonly label: "menus.groups.access";
package/dist/menus.js CHANGED
@@ -4,7 +4,7 @@ export const DEFAULT_MENU_GROUPS = [
4
4
  { id: 'group:gateway', label: 'menus.groups.gateway', icon: 'lucide:network',
5
5
  pages: ['builtin:routes', 'builtin:services'] },
6
6
  { id: 'group:usage', label: 'menus.groups.usage', icon: 'lucide:chart-no-axes-combined',
7
- pages: ['plugin:token-stats:%2Fstatistics', 'plugin:token-budget:%2Fsettings'] },
7
+ pages: ['plugin:token-stats:%2Fstatistics', 'plugin:token-budget:%2Fsettings', 'plugin:chatgpt-oauth:%2Faccounts'] },
8
8
  { id: 'group:access', label: 'menus.groups.access', icon: 'lucide:shield-check',
9
9
  pages: ['plugin:key-access:%2Fsettings', 'plugin:user-auth:%2Fusers'] },
10
10
  { id: SYSTEM_MENU_GROUP_ID, label: 'header.management', icon: 'lucide:settings',
package/dist/types.d.ts CHANGED
@@ -309,7 +309,10 @@ export type InterceptResult = {
309
309
  action: 'failover';
310
310
  reason?: string;
311
311
  } | undefined;
312
+ export declare const DEFAULT_WEBSOCKET_MAX_CONNECTIONS = 512;
312
313
  export interface AppConfig {
314
+ /** Public client connections, including pending handshakes; null disables the count limit. */
315
+ websocket_max_connections?: number | null;
313
316
  config_version?: number;
314
317
  log_level?: string;
315
318
  body_parser_limit?: string;
package/dist/types.js CHANGED
@@ -1 +1,2 @@
1
+ export const DEFAULT_WEBSOCKET_MAX_CONNECTIONS = 512;
1
2
  export { decodeDaemonMetadataV1, encodeDaemonMetadataV1, parseDaemonMetadataV1, validateDaemonMetadataV1, } from './daemon-control.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jeffusion/bungee-types",
3
- "version": "6.8.2",
3
+ "version": "6.10.0",
4
4
  "description": "TypeScript type definitions for Bungee",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",