Release 0.15.0: endpoints instead of deployments
Release / release (push) Successful in 12m32s

Kaname keeps two jobs: the model downloader and benchmarks. Benchmarks
now run against endpoints (any OpenAI-compatible server added by URL,
with an optional server-side API key and hand-written hardware notes)
instead of deployments Kaname started itself.

Removed: runtimes, deployments, sweeps, resource telemetry, hardware
detection, the /api/v1 API with tokens and guardrails, and all Docker
access. The quality eval's coding tests run in a network-less sandbox
container that shares only an exchange folder with the worker.

The previous state is kept in branch backup / tag backup-0.14.3.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Pascal LinxweilerandClaude Opus 5.5 committed 2026-10-26 21:43:42 +01:00
1 parent 1d2f908b75
commit 276108932d
199 files changed
+5462 -15961

No files matched your search

+23
View File
@@ -0,0 +1,23 @@
-- Approvals were for API requests, which are gone; anything still waiting is cancelled.
UPDATE `jobs` SET `state` = 'cancelled', `finished_at` = unixepoch() * 1000 WHERE `state` = 'pending_approval';--> statement-breakpoint
UPDATE `benchmark_runs` SET `state` = 'cancelled', `finished_at` = unixepoch() * 1000 WHERE `state` = 'pending_approval';--> statement-breakpoint
DELETE FROM `settings` WHERE `key` IN ('agent.guardrails', 'agent.tuning', 'hardware.overrides', 'runtimes.presetsSeeded', 'runtimes.cudaPresetSeeded', 'runtimes.intelPresetSeeded');--> statement-breakpoint
DROP TABLE `agent_activity`;--> statement-breakpoint
DROP TABLE `api_keys`;--> statement-breakpoint
DROP TABLE `api_tokens`;--> statement-breakpoint
DROP TABLE `benchmark_sweeps`;--> statement-breakpoint
DROP TABLE `deployment_logs`;--> statement-breakpoint
DROP TABLE `deployments`;--> statement-breakpoint
DROP TABLE `runtimes`;--> statement-breakpoint
ALTER TABLE `benchmark_runs` DROP COLUMN `deployment_id`;--> statement-breakpoint
ALTER TABLE `benchmark_runs` DROP COLUMN `deployment_b_id`;--> statement-breakpoint
ALTER TABLE `benchmark_runs` DROP COLUMN `resources`;--> statement-breakpoint
ALTER TABLE `benchmark_runs` DROP COLUMN `sweep_id`;--> statement-breakpoint
ALTER TABLE `benchmark_runs` DROP COLUMN `requested_by_token_id`;--> statement-breakpoint
ALTER TABLE `benchmark_runs` DROP COLUMN `requested_by`;--> statement-breakpoint
ALTER TABLE `benchmark_runs` DROP COLUMN `time_limit_s`;--> statement-breakpoint
ALTER TABLE `jobs` DROP COLUMN `requested_by_token_id`;--> statement-breakpoint
ALTER TABLE `jobs` DROP COLUMN `requested_by`;--> statement-breakpoint
ALTER TABLE `models` DROP COLUMN `requested_by_token_id`;--> statement-breakpoint
ALTER TABLE `models` DROP COLUMN `requested_by`;--> statement-breakpoint
ALTER TABLE `worker_state` DROP COLUMN `docker`;
+16
View File
@@ -0,0 +1,16 @@
CREATE TABLE `endpoints` (
`id` text PRIMARY KEY NOT NULL,
`name` text NOT NULL,
`base_url` text NOT NULL,
`api_key` text,
`model` text,
`engine` text,
`hardware` text DEFAULT '{}' NOT NULL,
`probe` text,
`created_at` integer NOT NULL,
`updated_at` integer NOT NULL
);
--> statement-breakpoint
CREATE UNIQUE INDEX `endpoints_name_uq` ON `endpoints` (`name`);--> statement-breakpoint
ALTER TABLE `benchmark_runs` ADD `endpoint_id` text;--> statement-breakpoint
ALTER TABLE `benchmark_runs` ADD `endpoint_b_id` text;
File diff suppressed because it is too large. Load diff
File diff suppressed because it is too large. Load diff
+14
View File
@@ -148,6 +148,20 @@
"when": 1792588720328,
"tag": "0020_quality_eval",
"breakpoints": true
},
{
"idx": 21,
"version": "6",
"when": 1793045191010,
"tag": "0021_slim_down",
"breakpoints": true
},
{
"idx": 22,
"version": "6",
"when": 1793045228739,
"tag": "0022_endpoints",
"breakpoints": true
}
]
}