yiling
dbe3420b6c
feat(agent): update pi packages to 0.82.1 and implement new SessionStorage interface methods
2026-08-03 10:25:10 +08:00
yiling
f161437797
feat(db): update Asset.sizeByte and AiUsage token fields to BigInt
2026-07-29 20:14:23 +08:00
yiling
f1c0f4e50d
fix(agent): disable tools for session naming and make naming non-blocking
2026-07-29 16:31:24 +08:00
yiling
bb789a9557
feat(agent): inject reply count alongside Thread ID tag in getPathToRoot
2026-07-29 15:24:55 +08:00
yiling
1c7a87488b
refactor(agent): optimize ULID id sorting and exclude __CHAT__ placeholder comments
2026-07-29 14:59:48 +08:00
yiling
41622f45b4
fix(agent): use upsert in DatabaseSessionStorage appendEntry to handle existing entry IDs
2026-07-29 11:56:11 +08:00
yiling
952323deca
fix(agent): include top-level comment entries in Main Session DAG timeline
2026-07-29 11:52:18 +08:00
yiling
acb64f44bb
fix(agent): prevent userComment entry duplication by passing userCommentId as active prompt entry ID
2026-07-29 11:33:26 +08:00
yiling
343750e178
fix(agent): implement shared DAG tree entries across comment sessions without entry duplication
2026-07-29 11:21:55 +08:00
yiling
b75e0c7fdc
fix(agent): scope agent comment sessions to thread sessions anchored at root comments
2026-07-29 11:07:47 +08:00
yiling
56421cd562
feat(agent): implement dynamic in-memory thread tagging for session context entries
2026-07-28 11:51:25 +08:00
yiling
4e2694e2d9
feat(agent): refactor database session storage to normalized DAG entries and lazy thread sync
2026-07-28 11:21:31 +08:00
yiling
cd3c7f3641
feat(agent): inject user name and role into chat context
2026-07-27 11:24:48 +08:00
yiling
f93c8ea524
refactor(agent): invoke harness.subscribe directly without typeof check
2026-07-23 11:11:48 +08:00
yiling
1c44e5aff7
feat(ai-usage): add team and member token usage tracking and APIs
2026-07-23 11:02:54 +08:00
yiling
5855134236
fix(agent): pass latest version asset from version stack to prompt builder
2026-07-21 15:04:38 +08:00
yiling
6643d63e81
refactor(api/chat): remove direct Prisma query from API layer
...
API layer routes in packages/api/src/chat.ts accessed the database directly via prisma, violating communication layer boundaries.
This refactoring migrates these queries to packages/core/src/chat/chat.ts:
- Added getNewSessionMessages to fetch mapped SSE entries.
- Added getChatWorkflowStatus to check task completions.
- Added abortSession to handle workflow cancellation and task updates in core.
- Updated both core and API tests to match refactored signatures and mock boundaries.
2026-07-14 16:40:55 +08:00
yiling
636e92af4c
fix(agent): unregister temporal cancellation listener on completion
2026-07-14 16:08:43 +08:00
yiling
cd48d2d389
fix(agent): resolve lint, typecheck, and stop button UI issues
2026-07-14 10:35:25 +08:00
yiling
8a942d4f4e
feat(agent): support aborting agent execution in local and temporal modes
2026-07-14 10:25:06 +08:00
yiling
c5ce4d07e9
feat(chat): add chatbot session name generation
2026-07-11 20:54:09 +08:00
yiling
bea81a207a
fix(settings): support type-safe thinkingLevel and propagate to AgentHarness
2026-06-22 09:58:35 +08:00
yiling
0c89616a4e
feat(api): use enum for API protocol in provider config
2026-06-17 16:07:48 +08:00
yiling
6dc060b04f
refactor(agent): use concrete Prisma model types in agent database activity tests
2026-06-03 16:17:25 +08:00
yiling
6a903478e1
test(agent): verify prompt builder instructions exactly in agent-chat workflow tests
2026-06-03 16:02:06 +08:00
yiling
729d16d3ee
test(agent): write solid tests for agent workflows and activities
2026-06-03 15:48:25 +08:00
yiling
9dc2d07151
fix(agent,webui): show agent error messages and fix IME enter key bug
2026-06-03 11:46:24 +08:00
yiling
e3f4fa219e
refactor(monorepo): decouple and split background workflow workers into packages
...
Splits monolithic workflow workers into four decoupled workspaces under the Bun workspaces monorepo:
- @shumai/workflow-core containing the core execution engine and utilities.
- @shumai/agent containing agent-specific logic, workflows, and activities.
- @shumai/transcode containing transcoding workflows, transcoder, and transcode activities.
- @shumai/worker-db containing database activities.
Introduces a dynamic workflow and activity registration pattern on LocalExecutor to eliminate circular dependencies. Updates worker bootstrapping and test suites to cleanly leverage generic workspace modules.
2026-06-01 23:29:11 +08:00