fix(apiproxy): title-invalid only for the input's fault, presentable messages

The rename impl narrows on SessionTitleInvalidError: only an
empty-normalizing title maps to title-invalid (its message renders verbatim
in the rename dialog alert), while liveness/disposal races fall to internal;
the absent-service message trims to one presentable sentence. rpc-schemas
gains the title-invalid accept/missing-details lines; cosmetic ordering
(type-only import comment, tsconfig reference, schema import order) restored.
This commit is contained in:
imccyu
2026-07-29 20:11:19 +08:00
parent c8374e916f
commit 1c3fa6edcd
6 changed files with 45 additions and 14 deletions
+1 -1
View File
@@ -20,11 +20,11 @@ import {
import {
sessionCancelValueSchema,
sessionCreateValueSchema,
sessionRenameValueSchema,
sessionHistoryValueSchema,
sessionListValueSchema,
sessionModelsValueSchema,
sessionPromptValueSchema,
sessionRenameValueSchema,
sessionSelectModelValueSchema,
} from '../api/sessions.schema.ts'
import {