白
12628c9233
feat(hub): migrate database admin pages to SPA (database-admin)
...
- scaffold hub/database-admin as SvelteKit 2 + Svelte 5 static SPA
with aurora/glass visual style (paths.base='/database')
- add lib/{api,session,org}.ts + Aurora.svelte component
- add routes: root redirect, /admin login page, /dashboard (OWNER/ADMIN only)
- backend: replace server-rendered HTML routes with /database/config JSON endpoint
- add hub/src/database/static.ts to serve SPA under /database/*
- wire registerDatabaseSpa into plugin.ts
- exempt /database/* from silo rate-limit (same treatment as /admin/*)
- add database:dev + database:build npm scripts; update deploy scripts
- update hub/src/database/README.md
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com >
2026-07-23 21:51:53 +08:00
hongjr03
e21096c642
feat(hub): embed agent images via Feishu upload + release v0.0.36
...
Materialize markdown image refs on agent finish: fetch/read bytes, upload
im.v1.image, and render native card img elements so remote image URLs no
longer trip Feishu content-security. Stream masks image URLs mid-run;
card failure falls back to plain text plus standalone image messages.
Docs: clarify im:resource covers outbound Agent image send.
2026-07-20 10:40:03 +00:00
hongjr03
3f9b60f692
chore: remove Lean spec; ADRs are the single source of truth
...
The spec/ Lean semantic master had no conformance gate, no codegen, and
no CI tie to implementations — alignment was carried entirely by human
review, the same mechanism that carries the ADRs. In practice the ADRs
plus greppable code comments were already the load-bearing artifacts,
so spec/ was the most expensive kind of stale documentation.
- delete spec/ and the spec-check CI workflow
- README: constitution rewritten around ADRs as decision truth
- AGENTS.md/CLAUDE.md: discipline re-anchored (new decisions -> new ADR,
never rewrite ADR history; supersede instead)
- code comments: re-anchor 'Mirrors Spec.X' invariants to ADR numbers
(cph-diag, cph-check, cph-model, hub runner/capacity/org, prisma)
- leave ADR bodies and .scratch audit snapshots untouched (history);
fix live references in open readiness tickets
2026-07-20 09:07:26 +00:00
hongjr03
7f09fb1f13
feat(hub): drop redundant /admin/org/:slug path + release v0.0.35 ( #11 )
...
Silo hostname already carries tenancy. Admin SPA routes become /admin/..., legacy bookmarks redirect, login lands on /admin.
Co-authored-by: Hong Jiarong <me@jrhim.com >
Co-committed-by: Hong Jiarong <me@jrhim.com >
2026-07-19 01:36:10 +08:00
hongjr03
eb0be43eac
feat(hub): usage fact breakdown API + admin usage/session UI + release v0.0.34 ( #10 )
...
Expose UsageFact kind/capability rollups on org and project usage reports, and add admin pages that separate model tokens from external-capability meters.
Co-authored-by: Hong Jiarong <me@jrhim.com >
Co-committed-by: Hong Jiarong <me@jrhim.com >
2026-07-19 01:19:59 +08:00
hongjr03
ce18740870
feat(hub): expose pdf_to_md_bundle as MCP tool to agent + skill (ADR-0027) ( #9 )
...
Co-authored-by: Hong Jiarong <me@jrhim.com >
Co-committed-by: Hong Jiarong <me@jrhim.com >
2026-07-18 21:43:00 +08:00
hongjr03
ef96f8d33d
feat(hub): capability connection admin API + UI + release v0.0.32 ( #8 )
...
Co-authored-by: Hong Jiarong <me@jrhim.com >
Co-committed-by: Hong Jiarong <me@jrhim.com >
2026-07-18 17:57:04 +08:00
hongjr03
64b3d1fc64
feat(hub): switch capability provider to Aliyun Doc Mind (ADR-0027) ( #6 )
...
Co-authored-by: Hong Jiarong <me@jrhim.com >
Co-committed-by: Hong Jiarong <me@jrhim.com >
2026-07-18 16:42:42 +08:00
hongjr03
97f7972cc5
chore(hub): remove markdown_to_pdf tool ( #3 )
...
Drop markdown_to_pdf MCP surface, implementation, tests, and md-to-pdf dependency.
Roles that still list markdown_to_pdf must be cleaned before startup.
Co-authored-by: Hong Jiarong <me@jrhim.com >
Co-committed-by: Hong Jiarong <me@jrhim.com >
2026-07-18 13:57:27 +08:00
hongjr03
cc42e6a7c6
chore: release v0.0.31
2026-07-18 13:38:07 +08:00
hongjr03
4e01c18cac
feat(hub): add markdown_to_pdf tool and default web tools
...
Teachers need ad-hoc Markdown → PDF. Ship an MCP tool powered by
md-to-pdf (Marked + headless Chrome) so remote images/CSS work, with
workspace-scoped basedir, front-matter stripped so untrusted markdown
cannot override dest/basedir/launch options, and MathJax for $/$ math.
Also include WebFetch and WebSearch in the unrestricted role tool
surface by default. Deploy skips Puppeteer's browser download and
expects a host Chrome/Chromium (PUPPETEER_EXECUTABLE_PATH / CHROME_PATH).
2026-07-18 13:38:07 +08:00
hongjr03
b93acd8e8c
chore: release v0.0.30
2026-07-16 01:26:28 +08:00
hongjr03
3ee6da7ceb
chore: release v0.0.29
...
Web-based skill management: create, read, edit, disable skills from the
org admin surface. File tree editor with SKILL.md manifest support.
2026-07-16 01:12:51 +08:00
hongjr03
ae5f78f036
chore: release v0.0.28
...
Exempt SPA static assets and admin HTML shell from silo HTTP rate limit so
page loads no longer exhaust HUB_HTTP_REQUESTS_PER_MINUTE.
2026-07-15 22:33:07 +08:00
hongjr03
0782e155f6
chore: release v0.0.27
...
Agent role/skill admin restore, OAuth login URL fixes, project create 404 fix.
2026-07-15 21:35:26 +08:00
hongjr03
8990277916
chore: release v0.0.26
...
Org admin SPA, capacity policy admin, fleet deploy CI for educraft/educraft-dev.
2026-07-15 00:29:31 +08:00
hongjr03
4e2699d0a5
fix(admin): serve built SPA and include it in release builds
...
registerStaticSpa was never mounted, so production only exposed org-admin
APIs. Wire it after auth/API routes, fold admin:build into npm run build,
and install admin-web deps during deploy so admin-web/build ships with the
release for same-origin /admin/*.
2026-07-14 23:54:47 +08:00
ChickenPige0n
3ae0cc3e60
feat: update .gitignore, remove unused API interfaces, and add local dev scripts for bootstrap and seeding connections
2026-07-14 19:13:29 +08:00
hongjr03
93f252b177
chore: release v0.0.25
2026-07-13 17:05:47 +08:00
hongjr03
2f0e0f2cd7
chore: release v0.0.24
2026-07-13 16:52:51 +08:00
hongjr03
07aa10ef27
chore: release v0.0.23
2026-07-12 02:42:49 +08:00
hongjr03
53d372e29b
fix: report untracked legacy symlinks
2026-07-11 23:37:25 +08:00
hongjr03
530fcdd2b7
feat: migrate legacy projects through binding search
2026-07-11 23:33:23 +08:00
hongjr03
53998d2651
fix: enable proxy use in new silos
2026-07-11 15:07:28 +08:00
hongjr03
5b55cf18a8
Revert "fix: accept SDK provider capability headers"
...
This reverts commit e7ad5580ec .
2026-07-11 15:06:48 +08:00
hongjr03
b0d691d53f
Revert "fix: pass provider capability as API key"
...
This reverts commit f065f9f978 .
2026-07-11 15:06:48 +08:00
hongjr03
1f48c5b707
Revert "fix: provide capability for both SDK auth modes"
...
This reverts commit ebf870249f .
2026-07-11 15:06:48 +08:00
hongjr03
12a2f3117f
Revert "fix: preserve run provider capability"
...
This reverts commit 63c86322de .
2026-07-11 15:06:48 +08:00
hongjr03
2ee84d9543
Revert "fix: carry provider capability in dedicated header"
...
This reverts commit 3087132083 .
2026-07-11 15:06:47 +08:00
hongjr03
3087132083
fix: carry provider capability in dedicated header
2026-07-11 15:02:51 +08:00
hongjr03
63c86322de
fix: preserve run provider capability
2026-07-11 15:00:34 +08:00
hongjr03
ebf870249f
fix: provide capability for both SDK auth modes
2026-07-11 14:59:00 +08:00
hongjr03
f065f9f978
fix: pass provider capability as API key
2026-07-11 14:57:22 +08:00
hongjr03
e7ad5580ec
fix: accept SDK provider capability headers
2026-07-11 14:55:29 +08:00
hongjr03
df0b12e38b
fix: hide per-run cost from Feishu replies
2026-07-11 14:11:59 +08:00
hongjr03
83ec835d4c
fix: show Feishu OAuth completion page
2026-07-11 14:07:43 +08:00
hongjr03
6ed56ddfc8
feat: auto-join scoped Feishu OAuth users
2026-07-11 14:00:43 +08:00
hongjr03
3bf643ff4d
fix: guide Feishu users through onboarding
2026-07-11 13:52:19 +08:00
hongjr03
d36b00bbec
feat: make agent roles and skills dynamic
2026-07-11 12:55:05 +08:00
hongjr03
17c0536958
fix: enable only curated agent skills
2026-07-11 12:25:52 +08:00
hongjr03
96e120e02c
feat: add curated curriculum agent skills
2026-07-11 12:22:01 +08:00
hongjr03
1a892ccb54
chore: release hub 0.0.7
2026-07-11 02:42:35 +08:00
hongjr03
7fcb57013e
fix: restore bounded agent sandbox execution
2026-07-11 02:34:56 +08:00
hongjr03
035c264179
fix: keep agent sandbox sockets on short paths
2026-07-11 02:22:19 +08:00
hongjr03
38d9a9c6cb
fix: bootstrap fresh alpha silo
2026-07-11 01:40:20 +08:00
hongjr03
cb1a9e823a
chore: release hub 0.0.3
2026-07-11 00:29:32 +08:00
hongjr03
9e954790dc
feat: add deployable alpha silo
2026-07-11 00:25:45 +08:00
hongjr03
848f913597
feat: secure organization provider credentials
2026-07-10 22:04:43 +08:00
hongjr03
e049cb6880
fix: clear dependency security advisories
2026-07-10 18:59:03 +08:00
hongjr03
a025d23af8
fix(hub): 启动前应用 Prisma 迁移
2026-07-08 15:45:12 +08:00