Commit graph

387 commits

Author SHA1 Message Date
xiose
cb717fd5f4 fix(auth): enforce owner isolation for skill publishing
- Change skill uniqueness constraint from (namespace_id, slug) to
  (namespace_id, slug, owner_id) to support per-user skill records
- Reject publish when another owner has a published skill with same slug
- Reject review approval when same-slug conflict exists
- Auto-withdraw pending review versions when submitting a new version
- Resolve visible skill by preferring published skill, then current
  user's own skill, to fix wrong skill returned for same-slug queries
- Invalidate all skill query cache on publish to prevent stale data
2026-03-16 21:21:46 +08:00
xiose
94a1e95bc7 fix(auth): invalidate session when user account is disabled 2026-03-16 21:21:46 +08:00
xiose
1805391d2d fix(auth): refresh user roles on /me request, fix login page UI issues
- Backend: /api/v1/auth/me now fetches fresh roles from DB and updates
  session when roles have changed, so users see role changes on page
  refresh without re-login
- Frontend: invalidate ['auth', 'me'] cache after admin user mutations
  (role change, status change, approve, disable, enable) and account merge
- Login: fix reversed eye icon (Eye=visible, EyeOff=hidden)
- Login: hide browser-native password reveal button to avoid duplicate
2026-03-16 21:21:46 +08:00
xiose
bd86d51f4e fix(web): reset token dialog state on reopen, fix pagination and download button
- Reset form fields and mutation state when create-token dialog reopens
- Fix delete pagination: check items.length === 0 (post-delete) instead of 1
- Restrict skill download to PUBLISHED versions only
2026-03-16 21:21:46 +08:00
xiose
bd8ef13cbb fix(web): prevent text overflow in token dialogs
Add responsive text wrapping and overflow handling to token-related
components to prevent layout breaking with long token names or descriptions.

Changes:
- Add min-w-0 to dialog headers to allow flex shrinking
- Add break-all/break-words to prevent text overflow
- Add overflow-hidden to token display container
- Apply max-w-48 constraint to token name column
2026-03-16 21:21:46 +08:00
vsxd
785c15cd0f Fix SKILL.md frontmatter rendering 2026-03-16 21:21:46 +08:00
tww
3d4afc2120 Merge remote-tracking branch 'origin/main' into cli-login 2026-03-16 19:53:13 +08:00
vsxd
723ddf559c Configure default session timeout 2026-03-16 19:31:51 +08:00
vsxd
3e67e12344 fix: clarify global namespace visibility copy 2026-03-16 19:30:54 +08:00
yun-zhi-ztl
84bc5c7d9d fix: improve dashboard UX and session refresh handling (#51)
* fix: refresh skill download counts after download

* fix: limit skill search query length

* fix: truncate long error messages in ui

* fix: refresh auth roles promptly

* fix: block disabled users with active sessions

* fix: add my skills preview to dashboard

* fix: align dashboard my skills layout

* fix: refine dashboard my skills preview

* fix: adjust dashboard my skills grid

* fix: keep dashboard more tile visible

* fix: refine dashboard copy tone
2026-03-16 19:29:26 +08:00
tww
3ab76b201a cli login fix 2026-03-16 17:33:12 +08:00
vsxd
5168e866da fix: make bootstrap admin opt-in and stabilize promotion errors 2026-03-16 16:03:46 +08:00
yun-zhi-ztl
2b0bb25240 fix: stabilize promotion approval and documentation fallback 2026-03-16 16:03:46 +08:00
yun-zhi-ztl
df5883ec04 fix: stabilize skill promotion approval flow 2026-03-16 16:03:46 +08:00
yun-zhi-ztl
0b85bf1e89 feat: bootstrap default super admin across profiles 2026-03-16 16:03:46 +08:00
yun-zhi-ztl
556e65efef feat: complete skill promotion submission flow 2026-03-16 16:03:46 +08:00
vsxd
bead940e3e test: stabilize api assertions and add frontend test setup 2026-03-16 16:03:46 +08:00
yun-zhi-ztl
5c42f05486 fix: tighten archived namespace visibility 2026-03-16 16:03:46 +08:00
yun-zhi-ztl
b30311a537 feat: build governance center workflow 2026-03-16 16:03:46 +08:00
yun-zhi-ztl
62979b2dd7 test: cover namespace workflow smoke paths 2026-03-16 16:03:46 +08:00
yun-zhi-ztl
30d6581710 fix: stabilize backend dev startup flow 2026-03-16 16:03:46 +08:00
yun-zhi-ztl
8fc2c01a32 feat: complete namespace member management 2026-03-16 16:03:46 +08:00
yun-zhi-ztl
889a6d3b9d feat: add namespace creation dialog 2026-03-16 16:03:46 +08:00
yun-zhi-ztl
93323766db fix: stabilize backend dev module classpath 2026-03-16 16:03:46 +08:00
yun-zhi-ztl
f92cdb31f2 feat: add namespace governance dashboard 2026-03-16 16:03:46 +08:00
yun-zhi-ztl
33ed8fe17d feat: hide archived namespaces from public reads 2026-03-16 16:03:46 +08:00
yun-zhi-ztl
fcc2df2975 feat: enforce namespace lifecycle on workflows 2026-03-16 16:03:46 +08:00
yun-zhi-ztl
971c75c936 feat: add namespace management endpoints 2026-03-16 16:03:46 +08:00
yun-zhi-ztl
7501bb3cf2 feat: add namespace lifecycle governance 2026-03-16 16:03:46 +08:00
yun-zhi-ztl
1418bc4840 docs: add namespace governance implementation plan 2026-03-16 16:03:46 +08:00
yun-zhi-ztl
3753d7bcff docs: add namespace governance design spec 2026-03-16 16:03:46 +08:00
wowo
a3136a7b31 Merge pull request #47 from FenjuFu/main
docs: add Support section to README (#2)
2026-03-16 14:13:15 +08:00
FenjuFu
8c44b20027 docs: add Support section to README (#2)
* Initial plan

* docs: add Support section to README with community links

Co-authored-by: FenjuFu <92919259+FenjuFu@users.noreply.github.com>

---------

Co-authored-by: FenjuFu <92919259+FenjuFu@users.noreply.github.com>
2026-03-16 13:57:38 +08:00
tww
bbd416ceca Quick Start 2026-03-15 21:14:36 +08:00
tww
bd83f91648 cli fix 2026-03-15 20:34:36 +08:00
tww
6bbc82837b Merge remote-tracking branch 'origin/main' 2026-03-15 20:19:29 +08:00
yun-zhi-ztl
ed81fb0ba6 Merge pull request #43 from iflytek/feature/project-local
feat(skill): improve version management and pending previews
2026-03-15 05:13:52 -07:00
yun-zhi-ztl
2039e45b00 Merge origin/main into feature/project-local 2026-03-15 20:13:07 +08:00
yun-zhi-ztl
907885eb79 fix(skill): surface unavailable readme states 2026-03-15 20:09:32 +08:00
tww
9df63be0bb Merge remote-tracking branch 'origin/main' 2026-03-15 20:09:07 +08:00
yun-zhi-ztl
c6b3eab034 fix(skill): keep published view stable for owners 2026-03-15 20:06:45 +08:00
yun-zhi-ztl
2757f0ede7 fix(skill): handle missing stored files gracefully 2026-03-15 20:02:31 +08:00
yun-zhi-ztl
28393669e0 feat(skill): allow owner preview of pending submissions 2026-03-15 19:59:19 +08:00
何时
3b3d7d2b70 Merge pull request #42 from likes1234-bro/codex/fix-deploy-local-storage-clean
docs(readme): clarify runtime quick start paths
2026-03-15 19:55:31 +08:00
binfan5
1596398467 docs(readme): clarify runtime quick start paths 2026-03-15 19:54:49 +08:00
yun-zhi-ztl
75c184b365 feat(skill): improve version lifecycle management (#41) 2026-03-15 04:50:10 -07:00
yun-zhi-ztl
3446740b5f feat(web): add skill version management UI 2026-03-15 19:48:29 +08:00
yun-zhi-ztl
4ad97aa55a feat(skill): add version management APIs 2026-03-15 19:45:10 +08:00
yun-zhi-ztl
3f82a88c4e feat(skill): support rereleasing published versions 2026-03-15 19:42:44 +08:00
yun-zhi-ztl
155a59790a feat(skill): allow withdrawing pending submissions (#40) 2026-03-15 04:26:52 -07:00