modu-platform 0.1.6 → 0.1.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +11 -0
  2. package/package.json +4 -4
package/README.md CHANGED
@@ -48,6 +48,17 @@ modu hub --project ../demo-app --port 3300 # 工作台,另开一个终
48
48
 
49
49
  打开 <http://127.0.0.1:3300> → 用上一步的账号登录(口令由服务端校验,拿到 JWT)。
50
50
 
51
+ ## 0.1.7(2026-11-19 发布)
52
+
53
+ 小版本,两件事:
54
+
55
+ | 新增/修复 | 说明 |
56
+ |---|---|
57
+ | **可视化文档页 `/docs`** | 浏览器打开即可看:Swagger UI 渲染 `/openapi.json`,按资源/聚合/命令分组,带 Try it out(填 `Bearer <key>` 直接调)。渲染器走 CDN(默认 `unpkg swagger-ui-dist@5`),内网/离线用 `MODU_API_DOCS_CDN=<镜像基址>` 指向自建副本;CDN 不可达时给回退说明与 JSON 链接(不白屏)。免鉴权;`enabled:false` 时与 `/openapi.json` 一起 503。 |
58
+ | 根路径 JSON 索引字段修正 | 不托管页面时 `GET /` 返回的索引里,旧的 `"mode":"api"` 改为 `"api":true`(`mode` 概念在该版本已撤销,字段不再误导) |
59
+
60
+ 升级建议:需要**在线看接口文档**的直接升;纯机器对接不受影响。
61
+
51
62
  ## 0.1.6(2026-11-19 发布)
52
63
 
53
64
  这一版把**对外 REST API** 做成可用能力:模型定义好之后,声明 `.modu/api.json` 就能给第三方开接口,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "modu-platform",
3
- "version": "0.1.6",
3
+ "version": "0.1.7",
4
4
  "description": "modu 命令行:低代码业务平台的二进制命令面(MCP 启动 · 项目建立 · 研发 · 运维)",
5
5
  "license": "Apache-2.0",
6
6
  "bin": {
@@ -14,8 +14,8 @@
14
14
  "README.md"
15
15
  ],
16
16
  "optionalDependencies": {
17
- "modu-platform-darwin-arm64": "0.1.6",
18
- "modu-platform-linux-x64": "0.1.6",
19
- "modu-platform-windows-x64": "0.1.6"
17
+ "modu-platform-darwin-arm64": "0.1.7",
18
+ "modu-platform-linux-x64": "0.1.7",
19
+ "modu-platform-windows-x64": "0.1.7"
20
20
  }
21
21
  }