yiling
3789366d35
test(e2e): add file, share, and collection web app e2e tests
...
Add six domain-level web app e2e tests covering team member removal,
file upload/delete/restore, share link creation and password protection,
and collection creation. Introduce a parametrized 'file' fixture with
configurable media types (text/binary/image/video/pdf) for future
type-scoped tests, plus helpers for share APIs and team member seeding.
Also document all web app e2e test cases in apps/web/e2e/README.md and
require this documentation in AGENTS.md.
2026-08-03 16:34:37 +08:00
yiling
4532deb753
test(e2e): add domain-based auth and project web app e2e tests
2026-08-03 15:24:21 +08:00
yiling
d696c39622
fix(webui): stop mention popup section headers from sticking and overlapping
...
Both Agents and Members header buttons had 'sticky top-0', so while
scrolling the 256px mention list the Agents header stayed pinned and the
Members header snapped to the same top position, covering it exactly.
Remove 'sticky top-0' so headers scroll away naturally with their
sections.
2026-08-03 14:47:43 +08:00
yiling
83d22d47a2
fix(webui): show member avatars and auto-scroll in mention popup
...
- Render real avatar images (with initials fallback) for users in the
@-mention popup instead of a colored letter circle; bots keep the
colored fallback since BotInfo has no image field.
- Auto-scroll the highlighted mention row into view when navigating
the list with ArrowUp/ArrowDown keys.
2026-08-03 14:38:40 +08:00
Yiling-J
4436c3304d
Merge pull request #255 from shumaiOne/refactor/use-pi-builtin-providers
...
refactor(core): replace generated provider files with pi-ai dynamic methods
2026-08-03 11:43:38 +08:00
yiling
2fee708863
feat(agent): implement DatabaseSessionStorage getSessionName and getSessionStats methods
2026-08-03 10:40:33 +08:00
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
16d136b45a
refactor(core): replace generated provider files with pi-ai dynamic methods
2026-08-03 10:00:21 +08:00
yiling
15910a0bf4
feat(webui): persist agent preference in localStorage
2026-08-02 15:06:51 +08:00
yiling
d3aef5f0c1
fix(agent): add required api field to test mock provider config
2026-08-02 14:30:28 +08:00
yiling
5946a679ea
refactor(agent): load models directly from database without pi fallback
2026-08-02 14:26:03 +08:00
yiling
a54c04e15a
update providers
2026-08-01 21:38:42 +08:00
yiling
3b86d9b6d8
test(core): add missing tests for methods introduced in 97069042
...
Add comprehensive test coverage for 5 core service methods that were
added in the layered architecture refactor but lacked tests:
- AgentService.getAgent: found/not-found cases
- ProjectService.getUserProjects: team scope, project scope,
multi-team aggregation, limit, and empty result cases
- SkillService.getSkill: full field mapping and not-found cases
- TeamService.hasWritableRoleInAnyTeam: owner, editor, reviewer,
and no-membership cases
- UserService (new file): getUserById and createGuestUser
2026-08-01 20:44:34 +08:00
yiling
2f5b968935
fix(api): fix eslint any type assertion in file.test.ts
2026-08-01 16:35:57 +08:00
yiling
97069042b2
refactor(api): enforce layered architecture by moving db queries to core services
2026-08-01 16:25:01 +08:00
yiling
fb66166b49
feat(core): wrap audit log creation in try catch to prevent blocking APIs
2026-08-01 15:50:35 +08:00
yiling
b0d8ecb589
refactor(dtos): define AuditAction enum in dtos package to decouple from db
2026-08-01 15:28:23 +08:00
yiling
2d61fae699
refactor(db): consolidate audit log migration into single add_audit_log migration
2026-08-01 15:19:53 +08:00
yiling
5ef7716c9c
feat(audit): change audit log action to string at db level and split file/folder actions
2026-08-01 14:49:08 +08:00
yiling
6d80f06c22
refactor(core): update getAssetContext to throw error on missing asset
2026-08-01 11:21:56 +08:00
yiling
0324b95c7e
feat(api): add missing audit log calls to API endpoints
2026-08-01 11:03:50 +08:00
yiling
7dfb2c7f2f
refactor(dtos): use @shumai/db/enums across DTO definitions
2026-08-01 10:47:41 +08:00
yiling
11fc76e56b
refactor(dtos): import AuditAction from @shumai/db/enums subpath
2026-08-01 10:45:10 +08:00
yiling
52f85fcd15
fix(dtos): decouple AuditAction from @shumai/db to prevent leaking DB dependencies to WebUI
2026-08-01 10:41:57 +08:00
yiling
118107ebc9
feat(audit): add audit log support for APIs and WebUI dashboard
2026-08-01 10:39:31 +08:00
yiling
c2d25bd2f1
feat(agent): enable LLM API call retries in AgentHarness
2026-08-01 09:49:43 +08:00
yiling
8e223da8e3
Release v0.3.2
2026-07-30 20:54:48 +08:00
yiling
87ccbe5330
feat(agent): instruct agent to check if folder exists with list_assets before calling create_folder
2026-07-30 17:08:29 +08:00
yiling
04f0a39300
fix(webui): persist chatbot sidebar input text across route navigation
2026-07-30 17:01:03 +08:00
yiling
79ea3c3ffd
fix(agent): include os.tmpdir() in sandbox allowWrite filesystem configuration
2026-07-30 16:35:36 +08:00
yiling
18780a9117
feat(agent): add output truncation and streaming limits to sandboxed bash tool
2026-07-30 16:21:01 +08:00
yiling
1bf22231ec
fix(agent): download original document asset instead of pdf proxy
2026-07-30 15:00:53 +08:00
yiling
361e4f32be
Release v0.3.1
2026-07-30 11:12:32 +08:00
Yiling-J
5bb546bd8c
Merge pull request #246 from shumaiOne/fix/s3-service-property-syntax-and-stream-support
...
fix(s3): enforce property syntax in S3Service interface and fix ReadableStream handling in S3StorageService
2026-07-30 09:37:39 +08:00
yiling
e802469a70
refactor(s3): remove unnecessary type cast on payload in S3StorageService.putObject
2026-07-30 08:36:57 +08:00
yiling
31894bfb59
fix(s3): enforce property syntax in S3Service interface and wrap ReadableStream in Response for S3StorageService
2026-07-30 08:29:18 +08:00
yiling
a64ed2aa13
fix(webui): update file size formatting to SI decimal standard
2026-07-29 22:43:30 +08:00
yiling
668871b730
fix(workflow): map sizeByte BigInt to Number in getAssetActivity for Temporal serialization
2026-07-29 22:31:25 +08:00
yiling
cd8a9e58fd
test(transcode): assert body is expect.any(ReadableStream) in S3 upload tests
2026-07-29 21:42:54 +08:00
yiling
69c57b16ab
test(transcode): update statSync mock for streaming proxy upload assertions
2026-07-29 21:40:25 +08:00
yiling
8837b03b3c
refactor(s3): remove unnecessary any cast in LocalStorageProvider putObject
2026-07-29 21:32:53 +08:00
yiling
36ae27fdd5
refactor(s3): add await to writer.write for stream chunk writes
2026-07-29 21:31:05 +08:00
yiling
9a4f8d67c3
feat(transcode): stream uploads and transcode output to prevent memory crashes on large files
2026-07-29 21:22:49 +08:00
yiling
f161437797
feat(db): update Asset.sizeByte and AiUsage token fields to BigInt
2026-07-29 20:14:23 +08:00
yiling
9ba61b3d3e
refactor(agent): simplify download_asset prompt instruction in prompt builder
2026-07-29 17:15:12 +08:00
yiling
db04df88f1
feat(agent): add download_asset tool and prompt instructions
2026-07-29 16:56:06 +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
cdc344ab7a
feat(db): preserve agent sessions on asset deletion by setting onDelete to SetNull
2026-07-29 15:42:45 +08:00
yiling
bb789a9557
feat(agent): inject reply count alongside Thread ID tag in getPathToRoot
2026-07-29 15:24:55 +08:00
yiling
d267c7de98
fix(agent): prevent passing asset IDs to read_thread and improve tool error messages
2026-07-29 15:18:30 +08:00