yiling
4fd27ab147
feat(webui): add i18n text keys and translate one static text element per page for verification
2026-06-26 11:24:32 +08:00
yiling
6e2e5bdbc2
refactor(webui): extract shared resolveTeamIdFromPath function for root route and component
2026-06-26 11:18:09 +08:00
yiling
b6ff60f8b8
docs: add paraglide-js i18n rules and usage guide to AGENTS.md
2026-06-26 10:44:49 +08:00
yiling
48f4c83cc8
feat(webui): add i18n support using paraglide-js
2026-06-26 10:39:32 +08:00
Yiling-J
81b0083672
Fix formatting for AWS_ENDPOINT_URL_S3 example
2026-06-25 20:38:21 +08:00
yiling
3737418ec3
Release v0.1.2
v0.1.2
2026-06-25 19:43:07 +08:00
Yiling-J
6d47ea7466
Update AWS_ENDPOINT_URL_S3 explanation in README
...
Clarified the default value for AWS_ENDPOINT_URL_S3 and its usage with custom host/port.
2026-06-25 19:15:11 +08:00
Yiling-J
84d96ff83a
Revise README for environment variable setup
...
Updated environment variable configuration instructions for clarity and added optional settings for S3-compatible storage.
2026-06-25 19:11:39 +08:00
Yiling-J
6e985aed61
Merge pull request #155 from shumaiOne/refactor/s3-endpoint
...
refactor(s3): remove automatic port appending to AWS_ENDPOINT_URL_S3
2026-06-25 18:56:49 +08:00
yiling
8347a9ca15
docs(docker): document SHUMAI_SERVER_PORT and update local docker-compose env
2026-06-25 18:50:29 +08:00
yiling
ab9b33320d
docs(s3): document SHUMAI_SERVER_PORT and S3 endpoint port configurations
2026-06-25 18:48:23 +08:00
yiling
efd6163238
refactor(s3): remove automatic port appending to AWS_ENDPOINT_URL_S3
2026-06-25 18:46:14 +08:00
yiling
0e4bdec0e3
Release v0.1.1
v0.1.1
2026-06-23 10:32:41 +08:00
yiling
0eb03b16a4
chore(docker): add AWS_ENDPOINT_URL_S3 to local docker-compose
2026-06-23 10:27:18 +08:00
Yiling-J
b216773044
Merge pull request #151 from shumaiOne/docker/entrypoint-privilege-dropping
...
feat(docker): add root entrypoint with privilege dropping for data volumes
2026-06-23 10:09:57 +08:00
yiling
92801ba14a
fix(core): make version stack sort index lookup deterministic
...
When creating a version stack, the sortIndex was previously extracted
by taking files[0] from the database query result. Because findMany
without orderBy is non-deterministic, this resulted in flakiness
where the sortIndex would sometimes be null (from file2) instead of
'abc' (from file1), causing tests to fail.
We now look up the first file specifically based on the ordered
fileIds array parameter.
2026-06-23 10:02:01 +08:00
yiling
661e836f06
fix(docker): support non-root/restricted container environments in entrypoint
...
Checks if the container is running as root (UID 0) before executing
chown and gosu. If running directly as a non-root user (e.g. in hardened
environments like Kubernetes runAsNonRoot or via docker run --user),
it directly execs the command, preventing EACCES and permission errors.
2026-06-23 09:56:31 +08:00
yiling
fb5c7ecabe
chore(docker): ignore dist and data directories in .dockerignore
...
This adds the `dist` and `data` folders to `.dockerignore` to prevent
them from being transferred as part of the Docker build context.
This reduces the build context size by over 1.5GB+, making the build
much faster.
2026-06-23 09:53:00 +08:00
yiling
a390643458
feat(docker): add root entrypoint with privilege dropping for data volumes
...
This updates the Dockerfile and adds a scripts/docker-entrypoint.sh script.
Under native Linux (like Debian), when docker-compose mounts a host folder
as a volume (e.g. `./data:/app/data`), and the folder doesn't exist, the
docker daemon creates the folder as root-owned (`root:root`).
Because the container runs as a non-root user `bun`, it gets permission
denied (`EACCES`) when trying to write to the data directory.
To resolve this in a beginner-friendly way without manual host-side
permissions updates:
1. The runner stage now installs `gosu`.
2. At the end of the Dockerfile, the user switches back to `root` so the
container launches as root.
3. On launch, the entrypoint script executes. Since it runs as root, it
automatically changes ownership of `/app/data` to `bun:bun`.
4. The entrypoint script then uses `gosu` to drop privileges and launch the
actual server processes as the non-root `bun` user.
2026-06-23 09:46:56 +08:00
yiling
9325c71b51
Release v0.1.0
v0.1.0
2026-06-22 21:45:39 +08:00
Yiling-J
2f746d3ce8
Merge pull request #150 from shumaiOne/feat/secure-share-info
...
feat(share): secure share info API and fix wrong password feedback
2026-06-22 20:53:56 +08:00
yiling
bdceda4cb6
refactor(share): use custom strongly-typed error classes
2026-06-22 20:48:47 +08:00
yiling
df6e392bf6
feat(share): expose raw password on settings page
2026-06-22 20:32:46 +08:00
yiling
48b2047a84
feat(share): secure share info API and fix wrong password feedback
2026-06-22 20:21:44 +08:00
yiling
2b360b2b2c
chore(docker): update shumai image tag to latest
2026-06-22 15:52:00 +08:00
Yiling-J
5d19e6ddfa
Merge pull request #149 from shumaiOne/fix-sidebar-overflow
...
fix(webui): truncate long folder, collection, and share link names in sidebar
2026-06-22 15:46:18 +08:00
yiling
5e70b6f3ee
docs: add note blocks for running binaries under Bun runtime
2026-06-22 15:39:47 +08:00
yiling
8eab02ab28
fix(webui): truncate long folder, collection, and share link names in sidebar
2026-06-22 15:22:44 +08:00
yiling
7aa347df92
Release v0.0.11
v0.0.11
2026-06-22 14:38:28 +08:00
Yiling-J
5d6462adf0
Merge pull request #148 from shumaiOne/rename-npm-cli-package
...
chore(cli): rename npm package to @shumai-one/shumai-cli
2026-06-22 14:21:59 +08:00
yiling
5f1e0c1823
chore(cli): rename npm package to @shumai-one/shumai-cli
2026-06-22 14:16:47 +08:00
Yiling-J
d8381dff21
Merge pull request #147 from shumaiOne/feat/user-custom-fields
...
feat(metadata): add single user and multiple user custom fields
2026-06-22 12:01:41 +08:00
yiling
b6519431db
docs(metadata): document new user custom field types
2026-06-22 11:55:53 +08:00
yiling
02fddf8ebd
chore: ignore generated prisma folder in prettier
2026-06-22 11:54:56 +08:00
yiling
f4c52d9273
chore(db): migrate generate script to root package.json under db:generate
2026-06-22 11:49:53 +08:00
yiling
77093aa294
fix(webui): lock user-field height and suppress benign ResizeObserver limit warnings
2026-06-22 11:40:48 +08:00
yiling
4806c63906
feat(metadata): add single user and multiple user custom fields
2026-06-22 11:27:00 +08:00
Yiling-J
14d04e9d77
Merge pull request #146 from shumaiOne/feat/auto-expand-folders
...
feat(folders): auto expand folder tree in left sidebar on navigation
2026-06-22 11:02:14 +08:00
yiling
342cdcdd06
style(folders): fix selection highlight overlap by increasing padding
2026-06-22 10:52:25 +08:00
yiling
98a76e913b
style(folders): use Shadcn ScrollArea in left sidebar containers
2026-06-22 10:44:07 +08:00
yiling
2240901d55
feat(folders): auto expand folder tree in left sidebar on navigation
2026-06-22 10:27:21 +08:00
Yiling-J
6892967993
Merge pull request #145 from shumaiOne/feat/agent-settings-singular-ui
...
feat(settings): use singular headers and remove collapse/counters for single agent types
2026-06-22 10:10:16 +08:00
yiling
7ea5345c52
refactor(settings): dynamically render thinkingLevel dropdown from schema options
2026-06-22 10:04:51 +08:00
yiling
bea81a207a
fix(settings): support type-safe thinkingLevel and propagate to AgentHarness
2026-06-22 09:58:35 +08:00
yiling
c20ef0e4b6
fix(settings): prioritize actual agent type when editing agent configurations
2026-06-22 09:27:37 +08:00
yiling
754131f13a
feat(settings): support singular headers and remove collapse/counters for single agent types
2026-06-22 09:23:13 +08:00
Yiling-J
6981706e13
Merge pull request #144 from shumaiOne/feat/shumai-cli
...
feat(cli): add shumai-cli and token authentication
2026-06-21 23:16:39 +08:00
yiling
280c06b68c
docs(cli): move CLI section to the bottom of the root README
2026-06-21 21:56:52 +08:00
yiling
4e21becbe0
docs(cli): add CLI documentation and link to it in root README
2026-06-21 21:54:45 +08:00
yiling
86c1d964a3
feat(cli): add create-version command
2026-06-21 20:14:26 +08:00