q792602257
f4a7c770af
启动项目逻辑
2026-06-09 22:43:29 +08:00
q792602257
0484e79978
修改
2026-06-09 21:22:28 +08:00
q792602257
980c6fcf0e
models
2026-05-08 08:57:09 +08:00
q792602257
679ded50c9
chore(sqlc): regenerate models for migration 0006
...
sqlc reads all migrations into every package's schema, so the
addition of acp_* tables and workspaces.active_main_session_id
in migration 0006 propagates type definitions and SELECT
column lists across all sub-packages. No code logic changes.
2026-05-07 13:39:08 +08:00
q792602257
f56fe449fd
feat(jobs/runners): attachment cleanup + chat DeleteAttachments query/method
2026-05-06 08:07:49 +08:00
q792602257
e768adb3ff
chore(sqlc): regenerate per-module models for migration 0005 schema
...
T1 added jobs table and workspace_worktrees.prune_warning_at column but
sqlc generate was not re-run for all modules. This catches the audit,
notify, project, and user models up; chat partially regenerated already.
Workspace's regen is part of T3 (next commit).
2026-05-05 14:28:09 +08:00
q792602257
7aa8456b1b
fix(chat): NewStreamerHub accepts ConversationService interface; SSE handler drains ready events before ctx
2026-05-04 19:32:24 +08:00
q792602257
d3ef9c941b
feat(chat): SSE writer + multipart upload endpoint with mime whitelist
2026-05-04 19:28:46 +08:00
q792602257
175e9be36a
feat(chat): http handler + DTO + admin guard for endpoints/models/usage
2026-05-04 17:59:22 +08:00
q792602257
8b5dc70146
feat(chat): UsageService for cost/token summarization
2026-05-04 17:42:36 +08:00
q792602257
c42887498b
feat(chat): MessageService Send/Stream/Cancel/Retry with attachment + capability + history truncation
2026-05-04 17:39:28 +08:00
q792602257
617794c7a3
feat(chat): StreamerHub with ring buffer + cond + Done/Error/Cancel flows
2026-05-04 17:27:50 +08:00
q792602257
d1be9e6eb0
feat(chat): ConversationService with title generation hook
2026-05-04 17:15:37 +08:00
q792602257
8e8edfe3ff
fix(chat): align template service with actual repo method names
2026-05-04 16:57:22 +08:00
q792602257
45fdf63d11
feat(chat): TemplateService for prompt templates with system/user scope auth
2026-05-04 16:54:28 +08:00
q792602257
959dc2d571
feat(chat): EndpointService for admin LLM endpoints/models with cache invalidation + EndpointLoader
2026-05-04 16:52:49 +08:00
q792602257
98b4f01b10
fix(chat): cast date_trunc to timestamptz, drop interval hack
2026-05-04 16:43:54 +08:00
q792602257
daf13fff8a
feat(chat): postgres repository with tx + pending unique index translation
2026-05-04 16:39:25 +08:00
q792602257
a1d0fbc3d3
feat(chat): sqlc queries for conversations/messages/attachments/templates/endpoints/models/usage
2026-05-04 09:52:06 +08:00
q792602257
ca5a018cd4
feat(chat): domain types + service interfaces + cross-module Reader interfaces
2026-05-04 09:49:30 +08:00