nexus/server/src/services
Mikkel Georgsen 0152d95865 feat(21-01): DB schema, shared types, validators, and chat service with tests
- Add chat_conversations and chat_messages Drizzle schema tables
- Generate migration 0047 with cascade FK and indexes
- Add ChatConversation, ChatMessage, ChatConversationListResponse types
- Add createConversationSchema, updateConversationSchema, createMessageSchema Zod validators
- Implement chatService factory with CRUD, auto-title on first message, updatedAt bump
- Add chat-service test suite (12 tests, all passing)

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-04-01 13:01:28 +02:00
..
access.ts Remove api trigger kind and mark webhook as coming soon 2026-03-20 06:54:03 -05:00
activity-log.ts Add username log censor setting 2026-03-20 08:50:00 -05:00
activity.ts refactor: rename packages to @paperclipai and CLI binary to paperclipai 2026-03-03 08:45:26 -06:00
agent-instructions.ts chore: mark bootstrapPromptTemplate as deprecated 2026-03-26 11:12:25 -05:00
agent-permissions.ts Implement agent hiring, approval workflows, config revisions, LLM reflection, and sidebar badges 2026-02-19 13:02:41 -06:00
agents.ts Fix budget auth and monthly spend rollups 2026-03-16 15:41:48 -05:00
approvals.ts Add username log censor setting 2026-03-20 08:50:00 -05:00
assets.ts refactor: rename packages to @paperclipai and CLI binary to paperclipai 2026-03-03 08:45:26 -06:00
board-auth.ts Address Greptile review on board CLI auth 2026-03-23 08:46:05 -05:00
budgets.ts Fix budget incident resolution edge cases 2026-03-16 16:48:13 -05:00
chat.ts feat(21-01): DB schema, shared types, validators, and chat service with tests 2026-04-01 13:01:28 +02:00
companies.ts Fix budget auth and monthly spend rollups 2026-03-16 15:41:48 -05:00
company-export-readme.ts [nexus] fix(06): resolve verifier gaps — portability fallback, export readme, CLI company descriptions, server error msg 2026-04-01 07:45:51 +02:00
company-portability.ts [nexus] fix(06): resolve verifier gaps — portability fallback, export readme, CLI company descriptions, server error msg 2026-04-01 07:45:51 +02:00
company-skills.ts feat(09-01): extract GitHub fetch helpers to shared module 2026-04-01 07:46:05 +02:00
costs.ts Fix budget auth and monthly spend rollups 2026-03-16 15:41:48 -05:00
cron.ts Add plugin framework and settings UI 2026-03-13 16:22:34 -05:00
dashboard.ts feat(costs): add billing, quota, and budget control plane 2026-03-16 15:11:01 -05:00
default-agent-instructions.ts feat(08-01): add Generalist agent template bundle and wire role mapping 2026-04-01 07:46:05 +02:00
documents.ts Add issue document revision restore flow 2026-03-26 08:24:57 -05:00
execution-workspace-policy.ts fix: address latest Greptile runtime review 2026-03-23 19:43:50 -05:00
execution-workspaces.ts Fix shared workspace close semantics 2026-03-29 10:55:26 -05:00
finance.ts feat(costs): add billing, quota, and budget control plane 2026-03-16 15:11:01 -05:00
github-skill-helpers.ts feat(09-01): extract GitHub fetch helpers to shared module 2026-04-01 07:46:05 +02:00
goals.ts Improve onboarding defaults and issue goal fallback 2026-03-12 08:50:31 -05:00
heartbeat-run-summary.ts Fix issue run lookup and heartbeat run summaries 2026-03-11 17:23:33 -05:00
heartbeat.ts feat(12-01): ratings routes, community ratings in fetcher, list/getById JOIN, heartbeat hook 2026-04-01 07:46:09 +02:00
hire-hook.ts feat(openclaw): add adapter hire-approved hooks 2026-03-06 08:17:42 -06:00
index.ts feat(09-03): wire skillRegistryService export and startup DB init 2026-04-01 07:46:05 +02:00
instance-settings.ts Add guarded dev restart handling 2026-03-20 08:50:00 -05:00
issue-approvals.ts refactor: rename packages to @paperclipai and CLI binary to paperclipai 2026-03-03 08:45:26 -06:00
issue-assignment-wakeup.ts fix: close remaining routine merge blockers 2026-03-20 16:40:27 -05:00
issue-goal-fallback.ts Seed onboarding project and issue goal context 2026-03-24 11:48:59 -05:00
issues.ts Preserve workspaces for follow-up issues 2026-03-30 14:10:36 -05:00
live-events.ts Add plugin framework and settings UI 2026-03-13 16:22:34 -05:00
local-service-supervisor.ts Add idempotent local dev service management 2026-03-29 10:55:26 -05:00
plugin-capability-validator.ts Add globalToolbarButton slot type and update related documentation 2026-03-14 15:05:04 -07:00
plugin-config-validator.ts Refactor secret-ref format registration to use a UI hint for Paperclip secret UUIDs 2026-03-14 15:43:56 -07:00
plugin-dev-watcher.ts Tighten plugin dev file watching 2026-03-14 12:07:04 -05:00
plugin-event-bus.ts Simplify plugin runtime and cleanup lifecycle 2026-03-13 16:58:29 -05:00
plugin-host-service-cleanup.ts Add plugin framework and settings UI 2026-03-13 16:22:34 -05:00
plugin-host-services.ts Merge remote-tracking branch 'public-gh/master' into paperclip-subissues 2026-03-16 19:51:09 -05:00
plugin-job-coordinator.ts Add plugin framework and settings UI 2026-03-13 16:22:34 -05:00
plugin-job-scheduler.ts Add plugin framework and settings UI 2026-03-13 16:22:34 -05:00
plugin-job-store.ts Add plugin framework and settings UI 2026-03-13 16:22:34 -05:00
plugin-lifecycle.ts Simplify plugin runtime and cleanup lifecycle 2026-03-13 16:58:29 -05:00
plugin-loader.ts Enhance plugin loading and toolbar integration 2026-03-14 15:27:45 -07:00
plugin-log-retention.ts Add plugin framework and settings UI 2026-03-13 16:22:34 -05:00
plugin-manifest-validator.ts Add plugin framework and settings UI 2026-03-13 16:22:34 -05:00
plugin-registry.ts Simplify plugin runtime and cleanup lifecycle 2026-03-13 16:58:29 -05:00
plugin-runtime-sandbox.ts Add plugin framework and settings UI 2026-03-13 16:22:34 -05:00
plugin-secrets-handler.ts Simplify plugin runtime and cleanup lifecycle 2026-03-13 16:58:29 -05:00
plugin-state-store.ts Add plugin framework and settings UI 2026-03-13 16:22:34 -05:00
plugin-stream-bus.ts Add plugin framework and settings UI 2026-03-13 16:22:34 -05:00
plugin-tool-dispatcher.ts Add plugin framework and settings UI 2026-03-13 16:22:34 -05:00
plugin-tool-registry.ts Add plugin framework and settings UI 2026-03-13 16:22:34 -05:00
plugin-worker-manager.ts Add plugin framework and settings UI 2026-03-13 16:22:34 -05:00
project-workspace-runtime-config.ts Add workspace runtime controls 2026-03-29 10:55:26 -05:00
projects.ts Add workspace runtime controls 2026-03-29 10:55:26 -05:00
quota-windows.ts feat(costs): add billing, quota, and budget control plane 2026-03-16 15:11:01 -05:00
routines.ts fix: close remaining routine merge blockers 2026-03-20 16:40:27 -05:00
run-log-store.ts fix(server): use home-based path for run logs instead of cwd 2026-03-07 16:18:14 -08:00
secrets.ts Add routines automation workflows 2026-03-19 08:39:24 -05:00
sidebar-badges.ts Add touched/unread inbox issue semantics 2026-03-06 08:21:03 -06:00
skill-registry-db.ts [nexus] feat(19-01): adapter-aware skill service layer — source column, uninstall file removal, syncHermesNativeSkills 2026-04-01 11:15:27 +02:00
skill-registry-fetcher.ts feat(12-01): ratings routes, community ratings in fetcher, list/getById JOIN, heartbeat hook 2026-04-01 07:46:09 +02:00
skill-registry-groups.ts [nexus] feat(19-01): unit tests for adapter-aware install/uninstall and Hermes dual-source 2026-04-01 11:19:57 +02:00
skill-registry-ratings.ts feat(12-01): personalRatings schema, DB DDL, skillRatingService, and tests 2026-04-01 07:46:09 +02:00
skill-registry-schema.ts [nexus] feat(19-01): adapter-aware skill service layer — source column, uninstall file removal, syncHermesNativeSkills 2026-04-01 11:15:27 +02:00
skill-registry.ts [nexus] feat(19-01): adapter-aware skill service layer — source column, uninstall file removal, syncHermesNativeSkills 2026-04-01 11:15:27 +02:00
work-products.ts Address remaining Greptile workspace review 2026-03-17 10:12:44 -05:00
workspace-operation-log-store.ts Add workspace operation tracking and fix project properties JSX 2026-03-17 09:36:35 -05:00
workspace-operations.ts Add username log censor setting 2026-03-20 08:50:00 -05:00
workspace-runtime.ts Address Greptile feedback on workspace reuse 2026-03-30 14:55:44 -05:00