Commit Graph
5 Commits
Author SHA1 Message Date
杨豪 4334234062 feat: add upload_asset tool (16th tool) for image/asset upload
Publish to npm / publish (push) Successful in 26s
- POST /api/asset/upload with multipart field name file[] (files/files[]
  are silently swallowed by the reverse proxy on this deployment, per
  SiYuan v3.8.2 kernel/model/upload.go)
- audit: target notebook requires W permission
- code:0 + empty succMap is treated as a hard error (the exact silent
  failure that forced a previous session to fall back to raw HTTP)
- client: extract callRaw, allow FormData body, 120s timeout for uploads
- self-check: src/upload.test.ts (stubbed fetch, no HTTP)
- live-tested against siyuan.ipao.vip; probe asset cleaned up
2026-09-03 17:21:11 +08:00
rogee e33c50754c fix: initialize and sync notebook config on startup
Publish to npm / publish (push) Successful in 29s
2026-09-02 22:41:21 +08:00
rogee 776f31fb47 fix: use package-root extension entrypoint
Publish to npm / publish (push) Successful in 30s
2026-09-02 22:29:10 +08:00
rogee f22081ebec ci: add Gitea workflow to auto-publish to npm on tag push
Publish to npm / publish (push) Successful in 37s
- .gitea/workflows/publish-npm.yml: npm ci + audit self-check + npm publish (NPM_PACKAGE_TOKEN secret)
- package.json: files whitelist (src only), prepublishOnly gate, npm install support
2026-09-02 19:33:35 +08:00
rogee 305cdfb3f3 feat: pi-siyuan v0.1.0 SiYuan extension with RWD permission auditing
- 15 siyuan-mcp-compatible tools + siyuan_discover progressive-disclosure loader
- Notebook-level R/W/D/NONE permission audit matrix (SQL box lookup, global rules)
- New-notebook auto-sync to config.json (default R)
- env-first connection config with config.json fallback
- 3 self-check suites (pure-function / integration / extension e2e)
2026-09-02 19:07:04 +08:00