refactor(packages/coding-agent): reorganized tiny-title runtime stack

- Added tiny-title protocol contracts, including progress-state unions, message payloads, and transport interfaces.
- Added title text utilities to truncate long inputs, wrap `<user-message>` blocks, and normalize generated titles.
- Added tiny-title model registry and helpers with type-safe keys and runtime optional loading via optionalDependencies.
- Added client-side worker orchestration with spawn fallback, request queueing, progress/error routing, and smoke-test APIs.
- Added worker runtime for model resolution, prompt-based inference, lock-based install retries, and close-time cache clear.
This commit is contained in:
can1357
2026-05-30 17:34:39 +02:00
parent e22b31401b
commit 826c3b932d
25 changed files with 1067 additions and 259 deletions
+1 -1
View File
@@ -27,7 +27,7 @@ const workerEntrypoints = [
"./packages/stats/src/sync-worker.ts",
"./packages/coding-agent/src/tools/browser/tab-worker-entry.ts",
"./packages/coding-agent/src/eval/js/worker-entry.ts",
"./packages/coding-agent/src/title/tiny-title-worker.ts",
"./packages/coding-agent/src/tiny/worker.ts",
];
const isDryRun = process.argv.includes("--dry-run");
const targets: BinaryTarget[] = [