Commit Graph
225 Commits
Author SHA1 Message Date
Yiling-J 4e689a596d Merge pull request #46 from shumaiOne/feat/system-colors-sidebar-settings
feat(ui): migrate settings, sidebar, and cards to system colors
2026-06-01 10:35:27 +08:00
yiling 42f78016dd feat(ui): migrate components and pages to system colors
Update folder card, file card, dual sidebar, notifications, upload tasks, and team settings components to remove all hardcoded slate, blue, and red colors. They now fully leverage standard semantic system/theme tokens, providing polished, consistent dark mode support.
2026-06-01 10:34:22 +08:00
Yiling-J 87707d7708 Merge pull request #45 from shumaiOne/feat/message-card-thread-line
refactor(ui): improve message card thread line alignment and replying indicator
2026-06-01 09:15:22 +08:00
yiling 7bd808df0b refactor(ui): redesign chat input replying to thread header card 2026-06-01 09:12:55 +08:00
yiling 1ffa25803c refactor(ui): collapse spacing and merge corners for reply card stacks 2026-05-31 23:25:17 +08:00
yiling fb81fc6ed3 refactor(ui): align message card avatar and thread lines via flexbox 2026-05-31 23:21:29 +08:00
Yiling-J 221850f713 Merge pull request #44 from shumaiOne/feat/agent-system-tools
feat(agent): implement secure database-backed agent tools and comments context
2026-05-31 19:21:41 +08:00
yiling 81d7e2b845 chore(agent): remove unused os import from index.ts 2026-05-31 19:16:38 +08:00
yiling b53c40cbde update 2026-05-31 19:11:27 +08:00
yiling be7dc45051 feat(agent): restrict sandbox filesystem access and update system prompt instructions 2026-05-31 12:55:45 +08:00
yiling 9c20938628 fix(agent): assign lower sortIndex to newer versions to ensure they are marked as latest 2026-05-31 10:56:52 +08:00
yiling 3f5b564726 fix(agent): upload files and versions using compliant S3 keys 2026-05-31 10:48:06 +08:00
yiling c3cce15d7a feat(agent): format available skills as standard XML with absolute path locations 2026-05-31 10:20:20 +08:00
yiling 975a0cfcda feat(agent): add structured error logging to sandboxed-bash tool 2026-05-31 10:02:05 +08:00
yiling c2fbd3ed53 fix(agent): trigger post-upload transcode and AI workflows for agent-created assets 2026-05-31 09:38:18 +08:00
yiling a8df6b382d feat(agent): add local write filesystem constraints to agent system prompt 2026-05-30 23:27:49 +08:00
yiling ff5196a517 fix(agent): pre-upload files in agent tools before database workflow execution to ensure worker isolation 2026-05-30 19:24:04 +08:00
yiling 2e685ceccb perf(workflow): optimize getMimeType to read first 4100 bytes instead of whole file 2026-05-30 19:03:13 +08:00
yiling 2fe66a74e3 feat(agent): update agent system prompt with platform instructions and file system constraints 2026-05-30 18:50:12 +08:00
yiling 2362d050a4 fix(agent): populate userId in agent workflow chat task payloads 2026-05-30 18:42:55 +08:00
yiling 64bdccaa8a fix(ui): resolve comments and fields sidebar overflow and restore scrolling 2026-05-30 17:24:35 +08:00
yiling 39d45a1dc7 feat(agent): implement secure database-backed agent tools and comments context 2026-05-30 17:09:18 +08:00
Yiling-J 447d241466 Merge pull request #43 from shumaiOne/feature/redesign-project-dialog
feat(ui): redesign project create and edit dialog
2026-05-30 15:12:37 +08:00
yiling 68f21bc258 feat(ui): redesign project create and edit dialog 2026-05-30 14:59:55 +08:00
Yiling-J 5acbebc6db Merge pull request #42 from shumaiOne/feature/transcode-updates
feat(transcode): implement new image and video transcode strategies with UI detail enhancements
2026-05-30 14:27:59 +08:00
yiling 5a60e175b1 fix(transcode): match target long sides exactly and dynamic resolution mapping 2026-05-30 14:21:55 +08:00
yiling 5073651721 feat(transcode): migrate video quality matching to Frame.io long-edge scaling approach 2026-05-30 14:15:45 +08:00
yiling f6656dce2f fix(ui): prevent memory leak and ensure Safari/iOS compatibility in image copying 2026-05-30 13:46:25 +08:00
yiling ec14e12b3f feat(transcode): implement new image and video transcode strategies with UI detail enhancements 2026-05-30 12:09:27 +08:00
Yiling-J ed8a08ec91 Merge pull request #41 from shumaiOne/feat/local-executor-queue-lock
feat(workflow): lock task status and start heartbeat immediately upon queueing
2026-05-30 11:37:44 +08:00
yiling 53c2792cf5 feat(workflow): use atomic updateMany CAS locking to prevent multi-replica polling race conditions 2026-05-30 11:19:15 +08:00
yiling 2119eb4194 feat(workflow): lock task status and start heartbeat immediately upon queueing 2026-05-30 11:12:58 +08:00
Yiling-J 8a5af5828d Merge pull request #40 from shumaiOne/feat/local-executor-improvements
feat(workflow): add concurrency control and heartbeat loops to local executor
2026-05-30 11:05:00 +08:00
yiling aebe90f280 fix(workflow): resolve microtask race condition in ConcurrencyLimiter 2026-05-30 10:58:08 +08:00
yiling 29f7a97a4a feat(workflow): add concurrency control and task heartbeat loop to local executor 2026-05-30 10:13:31 +08:00
yiling 0b61f90028 increase sidebar width 2026-05-30 09:36:33 +08:00
Yiling-J 7a9da4ff15 Merge pull request #39 from shumaiOne/chore/upgrade-shadcn-v4
chore(shadcn): upgrade shadcn style to v4
2026-05-30 09:34:46 +08:00
yiling 724e120969 chore(shadcn): upgrade shadcn style to v4 and resolve typecheck issues 2026-05-30 09:29:24 +08:00
Yiling-J 537d80fe17 Merge pull request #38 from shumaiOne/feat/improve-notification-system
feat(notification): improve notification system and settings toggles
2026-05-30 09:00:26 +08:00
yiling 1a865eac88 feat(notification): optimistically clear unread badge on mark all as read 2026-05-29 23:35:26 +08:00
yiling 3ba107bfa4 feat(notification): add unread sidebar count badge and fix project scope upload authorization check 2026-05-29 23:30:15 +08:00
yiling 9c1d672c1e feat(notification): use Shadcn Switch for project card context menu notification toggle 2026-05-29 22:57:07 +08:00
yiling ff66d4af14 feat(notification): improve notification system with team settings and project-level toggles 2026-05-29 20:40:13 +08:00
Yiling-J 748363d8f8 Merge pull request #37 from shumaiOne/fix/workflow-execute-wait-race
fix(workflow): remove redundant submit call from executeWait
2026-05-29 20:07:39 +08:00
yiling ae445fa58a fix(workflow): remove redundant submit call from executeWait
Remove the duplicate 'this.submit(task)' call in 'executeWait' as task submission is already handled automatically upon task creation by the Prisma Client Extension in 'src/db.ts'.
2026-05-29 20:00:47 +08:00
Yiling-J dc29f7e273 Merge pull request #36 from shumaiOne/feat/hnsw-index-and-natural-sort
feat(db): add HNSW index on asset_embeddings and natural sort collation on assets.name
2026-05-29 15:35:33 +08:00
yiling dad60b4bca chore(db): regenerate prisma client after schema index additions 2026-05-29 15:31:34 +08:00
yiling b9e35512e5 fix(db): rename collation from 'numeric' to 'natural_sort'
'numeric' is a reserved keyword and built-in type in PostgreSQL, which
can cause syntax parsing issues and ORM compatibility problems when used
as a collation name. Renamed to 'natural_sort' to be unambiguous and
self-documenting.
2026-05-29 15:30:35 +08:00
yiling ddac22a12f fix(db): persist hnsw.iterative_scan via ALTER DATABASE instead of SET
SET only applies to the current migration session and is lost when the
connection closes. Use a DO block with current_database() to execute
ALTER DATABASE ... SET, which persists the GUC for all future connections.

The DO block with format('%I', current_database()) avoids hardcoding
the database name and works on PostgreSQL < 16 (which lacks ALTER DATABASE
CURRENT syntax).
2026-05-29 15:29:29 +08:00
yiling 048028007e feat(db): add HNSW index on asset_embeddings and natural sort collation on assets.name
- Add HNSW index on asset_embeddings.embedding using vector_cosine_ops (m=16,
  ef_construction=64) with hnsw.iterative_scan=relaxed_order for efficient
  filtered ANN queries
- Create ICU numeric collation and alter assets.name column to use it for
  natural sort (file2 < file10 instead of lexicographic ordering)
- Add B-tree index on assets.name with numeric collation for sort performance
- Add schema @@index annotations to match migration index names
- Add 7 tests verifying natural sort behaviour in both AssetService.listChildren
  and SearchService.search (Prisma ORM and raw-SQL paths)
2026-05-29 15:18:31 +08:00