Commit Graph
3 Commits
Author SHA1 Message Date
adminandClaude Opus 4.8 359a67b657 feat(gateway): wire plugin toggle (load+set_current+dispatch skip); short-name config keys (R19)
- postconfiguration loads <data_dir>/plugin-config.json into registry
- disabled plugins claim no /api routes (404 fallback); core never skipped
- data-seed keys + admin_prefix now Plugin::name() short names
- collect-plugin-dist.sh: normalize keys, resolve ipass-plugin-<short> dirs,
  emit <short>-admin.umd.js alias matching loader.ts protocol

Co-Authored-By: Claude Opus 4.8 <[email protected]>
2026-09-24 20:05:48 +08:00
adminandClaude Opus 4.8 bf2528de0f refactor: depend on ../ipass-plugin-{domain,llm,apix} + ../ipass-core; strip local copies
Ruling 16:删除危险的 /static/plugins alias(暴露整个 workspace 根,含各仓
data/*.json),改为 scripts/collect-plugin-dist.sh 收集 core 壳与各启用插件
www dist 进 build/{shell,static-plugins}(build/ 已 gitignore),conf 与
tests 模板同构改指收集目录。www/*.html 多页管理台删除后由 ipass-core 壳接管。
deploy/data-seed/plugin-config.json 种子三插件配置(tracked)。

Co-Authored-By: Claude Opus 4.8 <[email protected]>
2026-09-24 18:34:32 +08:00
admin 94a48bef6e 部署持久化 deploy/:目录结构 + 空 domains.json + 脱敏模板入库
- .gitignore 由整体排除 deploy/ 改为精确排除真实凭据(users.json/llm-upstreams.json)
  与 36MB 内置凭据镜像包(*.tar.gz),保留模板与空 domains.json 可入库
- 新增 users.json.example / llm-upstreams.json.example(占位符,部署时填真实凭据)
- 红线:admin 口令哈希/API Key、上游真 Key、镜像包 仍只进镜像/本地,不入库
2026-09-11 16:36:01 +08:00