@jeffusion/bungee-core 6.2.1 → 6.3.1
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/main.js +46 -45
- package/dist/observability-worker.js +24 -1
- package/dist/plugins/anthropic-request-sanitizer/index.js.map +1 -1
- package/dist/plugins/anthropic-tool-name-transformer/index.js.map +1 -1
- package/dist/plugins/chatgpt-oauth/control.js.map +1 -1
- package/dist/plugins/chatgpt-oauth/index.js.map +1 -1
- package/dist/plugins/chatgpt-oauth/ui/AccountsPage.svelte +1 -1
- package/dist/plugins/codex-router/control.js.map +1 -1
- package/dist/plugins/codex-router/index.js.map +1 -1
- package/dist/plugins/deepseek-reasoning-fix/index.js.map +1 -1
- package/dist/plugins/key-access/control.js.map +1 -1
- package/dist/plugins/key-access/index.js.map +1 -1
- package/dist/plugins/key-access/ingress.js.map +1 -1
- package/dist/plugins/key-rate-limit/index.js.map +1 -1
- package/dist/plugins/llm-protocol-adapter/control.js.map +1 -1
- package/dist/plugins/llm-protocol-adapter/index.js.map +3 -3
- package/dist/plugins/llm-tps/control.js +41 -11
- package/dist/plugins/llm-tps/control.js.map +5 -5
- package/dist/plugins/llm-tps/index.js +20 -1
- package/dist/plugins/llm-tps/index.js.map +6 -6
- package/dist/plugins/llm-tps/manifest.json +20 -6
- package/dist/plugins/llm-tps/ui/TpsModels.svelte +9 -0
- package/dist/plugins/llm-tps/ui/TpsWidget.svelte +63 -58
- package/dist/plugins/llm-tps/ui/presentation.ts +6 -6
- package/dist/plugins/llm-tps/ui/stats-resource.ts +7 -3
- package/dist/plugins/model-mapping/index.js.map +1 -1
- package/dist/plugins/models-dev/index.js.map +1 -1
- package/dist/plugins/signature-repair/index.js.map +1 -1
- package/dist/plugins/token-budget/control.js.map +1 -1
- package/dist/plugins/token-budget/index.js.map +2 -2
- package/dist/plugins/token-metering/index.js +7 -3
- package/dist/plugins/token-metering/index.js.map +5 -5
- package/dist/plugins/token-stats/control.js.map +1 -1
- package/dist/plugins/token-stats/index.js.map +2 -2
- package/dist/plugins/token-stats/ui/TokenStatsPage.svelte +2 -2
- package/dist/plugins/user-auth/control.js.map +1 -1
- package/dist/plugins/user-auth/index.js.map +1 -1
- package/package.json +2 -2
|
@@ -17457,6 +17457,29 @@ var LLM_TPS_SAMPLES = {
|
|
|
17457
17457
|
}
|
|
17458
17458
|
};
|
|
17459
17459
|
|
|
17460
|
+
// src/migrations/llm-tps-model.ts
|
|
17461
|
+
var LLM_TPS_MODEL = {
|
|
17462
|
+
version: "003",
|
|
17463
|
+
name: "llm_tps_model",
|
|
17464
|
+
up(db) {
|
|
17465
|
+
db.run(`ALTER TABLE llm_tps_samples ADD COLUMN model TEXT
|
|
17466
|
+
CHECK (model IS NULL OR (typeof(model) = 'text' AND length(trim(model)) > 0))`);
|
|
17467
|
+
}
|
|
17468
|
+
};
|
|
17469
|
+
|
|
17470
|
+
// src/migrations/llm-tps-upstream-host.ts
|
|
17471
|
+
var LLM_TPS_UPSTREAM_HOST = {
|
|
17472
|
+
version: "004",
|
|
17473
|
+
name: "llm_tps_upstream_host",
|
|
17474
|
+
up(db) {
|
|
17475
|
+
db.run(`ALTER TABLE llm_tps_samples ADD COLUMN upstream_host TEXT
|
|
17476
|
+
CHECK (upstream_host IS NULL OR (typeof(upstream_host) = 'text' AND length(upstream_host) > 0
|
|
17477
|
+
AND instr(upstream_host, char(0)) = 0
|
|
17478
|
+
AND upstream_host NOT GLOB ('*[' || char(1) || '-' || char(32) || char(127) || ']*')
|
|
17479
|
+
AND upstream_host NOT GLOB '*[/\\@?#]*'))`);
|
|
17480
|
+
}
|
|
17481
|
+
};
|
|
17482
|
+
|
|
17460
17483
|
// src/migrations/schema.ts
|
|
17461
17484
|
var ACCESS_SCHEMA_STATEMENTS = [
|
|
17462
17485
|
`CREATE TABLE access_logs (
|
|
@@ -18051,7 +18074,7 @@ class MigrationManager {
|
|
|
18051
18074
|
}
|
|
18052
18075
|
|
|
18053
18076
|
// src/migrations/index.ts
|
|
18054
|
-
var migrations = [ACCESS_BASELINE, LLM_TPS_SAMPLES];
|
|
18077
|
+
var migrations = [ACCESS_BASELINE, LLM_TPS_SAMPLES, LLM_TPS_MODEL, LLM_TPS_UPSTREAM_HOST];
|
|
18055
18078
|
|
|
18056
18079
|
// src/master-runtime/observability-worker.ts
|
|
18057
18080
|
function headerEntries(headers) {
|