@microi.net/cli 5.6.5 → 5.6.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 (70) hide show
  1. package/.codebuddy-plugin/marketplace.json +2 -2
  2. package/.codebuddy-plugin/plugin.json +1 -1
  3. package/.codex-plugin/plugin.json +1 -1
  4. package/.workbuddy-plugin/marketplace.json +2 -2
  5. package/.workbuddy-plugin/plugin.json +1 -1
  6. package/assets/build-meta.json +4 -4
  7. package/cordis.patch.yml +1 -1
  8. package/package.json +1 -1
  9. package/scripts/mcp-server.js +45 -44
  10. package/scripts/microi-skills.meta.json +250 -250
  11. package/skills/.microi-skills-version.json +2 -2
  12. package/skills/.progressive-disclosure-manifest.json +221 -221
  13. package/skills/ai-engine/SKILL.md +3 -2
  14. package/skills/ai-platform-governance/SKILL.md +8 -8
  15. package/skills/ai-platform-governance/references/progressive-01-/345/212/237/350/203/275/345/274/200/345/205/263.md +9 -9
  16. package/skills/app-store/SKILL.md +3 -1
  17. package/skills/datasource-engine/SKILL.md +3 -1
  18. package/skills/job-engine/SKILL.md +12 -2
  19. package/skills/microi-client-frontend/SKILL.md +19 -5
  20. package/skills/microi-codex/SKILL.md +8 -3
  21. package/skills/microi-deployment/SKILL.md +11 -0
  22. package/skills/microi-form-engine/SKILL.md +3 -0
  23. package/skills/microi-form-engine/references/component-catalog.md +1 -1
  24. package/skills/microi-form-layout/SKILL.md +1 -1
  25. package/skills/microi-form-layout/references/progressive-01-3-/344/270/211/347/247/215/345/210/206/347/273/204/347/232/204/345/255/230/345/202/250/344/270/216/351/205/215/347/275/256.md +3 -3
  26. package/skills/microi-frontend-sdk/SKILL.md +2 -2
  27. package/skills/microi-frontend-sdk/references/progressive-01-token-/345/275/223/345/211/215/347/231/273/345/275/225/347/224/250/346/210/267/344/270/216/345/275/223/345/211/215/347/273/210/347/253/257/347/231/273/345/275/225/345/215/217/350/256/256.md +8 -7
  28. package/skills/microi-mobile-app-quality/SKILL.md +8 -8
  29. package/skills/microi-mobile-app-quality/references/progressive-01-4-/351/207/215/350/246/201/346/214/211/351/222/256/345/277/205/351/241/273/345/270/246/345/233/276/346/240/207.md +10 -10
  30. package/skills/microi-mobile-app-quality/references/progressive-02-9-/344/270/273/351/242/230/345/210/207/346/215/242/345/277/205/351/241/273/347/234/237/345/256/236/344/270/224/345/205/250/345/261/200/347/224/237/346/225/210.md +4 -4
  31. package/skills/microi-sso/SKILL.md +1 -0
  32. package/skills/microi-uniapp-frontend/SKILL.md +10 -10
  33. package/skills/microi-uniapp-frontend/references/progressive-01-/347/247/273/345/212/250/347/253/257/345/210/206/347/261/273-/345/217/214/346/240/217/345/210/227/350/241/250/347/213/254/347/253/213/346/273/232/345/212/250.md +7 -7
  34. package/skills/microi-uniapp-frontend/references/progressive-02-/345/205/263/351/224/256/344/270/232/345/212/241/350/265/204/344/272/247/344/270/215/345/276/227/351/273/230/350/256/244/351/200/211/344/270/255.md +10 -10
  35. package/skills/microi.v8.js +14 -3
  36. package/skills/module-engine/SKILL.md +8 -2
  37. package/skills/page-engine/SKILL.md +4 -4
  38. package/skills/page-engine/references/progressive-01-/346/211/200/346/234/211/347/273/204/344/273/266/347/261/273/345/236/213.md +3 -3
  39. package/skills/page-engine/references/progressive-02-/347/211/210/346/234/254/345/216/206/345/217/262-/345/271/266/345/217/221/344/277/235/345/255/230/344/270/216/345/233/236/346/273/232.md +4 -4
  40. package/skills/system-observability/SKILL.md +2 -1
  41. package/skills/uniapp-mall-assets/SKILL.md +6 -0
  42. package/skills/v8-crud-api/SKILL.md +3 -3
  43. package/skills/v8-crud-api/references/progressive-01-/346/237/245/350/257/242/345/210/227/350/241/250-/345/210/206/351/241/265.md +4 -4
  44. package/skills/v8-export-import/SKILL.md +9 -5
  45. package/skills/v8-export-import/references/progressive-01-excellayout-/351/253/230/347/272/247/350/207/252/347/224/261/345/270/203/345/261/200.md +3 -3
  46. package/skills/v8-export-import/references/progressive-02-powerpoint-/345/257/274/345/207/272.md +3 -3
  47. package/skills/v8-export-import/references/progressive-03-/345/256/211/345/205/250-/346/200/247/350/203/275/346/263/250/346/204/217.md +1 -1
  48. package/skills/v8-file-upload/references/progressive-02-office-/346/226/207/344/273/266/345/234/250/347/272/277/347/274/226/350/276/221/347/211/210/346/234/254/345/217/267/350/247/204/345/210/231.md +2 -0
  49. package/skills/v8-frontend-events/SKILL.md +4 -3
  50. package/skills/v8-frontend-events/references/bluetooth-print.md +13 -2
  51. package/skills/v8-frontend-events/references/progressive-01-/345/210/227/350/241/250/344/272/213/344/273/266.md +2 -2
  52. package/skills/v8-http-integration/SKILL.md +4 -4
  53. package/skills/v8-http-integration/references/progressive-01-get-/350/257/267/346/261/202.md +2 -2
  54. package/skills/v8-http-integration/references/progressive-02-/351/224/231/350/257/257/345/244/204/347/220/206/346/250/241/345/274/217.md +1 -1
  55. package/skills/v8-menu-buttons/SKILL.md +4 -4
  56. package/skills/v8-menu-buttons/references/progressive-01-2-/346/214/211/351/222/256/345/257/271/350/261/241-schema.md +4 -4
  57. package/skills/v8-menu-buttons/references/progressive-02-8-/346/250/241/345/274/217-f-/345/220/216/345/217/260/344/273/273/345/212/241/346/214/211/351/222/256-/351/225/277/344/273/273/345/212/241.md +5 -5
  58. package/skills/v8-menu-buttons/references/progressive-03-10-/345/217/215/346/250/241/345/274/217-/351/201/277/345/205/215.md +3 -3
  59. package/skills/v8-mongodb/SKILL.md +8 -1
  60. package/skills/v8-mq-mqtt/SKILL.md +2 -2
  61. package/skills/v8-mq-mqtt/references/progressive-01-v8-mqtt-iot-/347/211/251/350/201/224/347/275/221.md +1 -1
  62. package/skills/v8-saas-multi-tenant/SKILL.md +5 -2
  63. package/skills/v8-security/SKILL.md +2 -2
  64. package/skills/v8-security/references/progressive-01-2-/346/235/203/351/231/220/346/240/241/351/252/214.md +5 -4
  65. package/skills/v8-table-event/SKILL.md +1 -1
  66. package/skills/v8-table-event/references/progressive-01-informv8-js-/350/241/250/345/215/225/346/211/223/345/274/200/344/272/213/344/273/266.md +1 -1
  67. package/skills/v8-table-event/references/progressive-02-/345/211/215/347/253/257/344/272/213/344/273/266/345/220/215-v8-eventname-/345/217/257/350/203/275/347/232/204/345/200/274.md +2 -2
  68. package/skills/v8-utilities/SKILL.md +6 -2
  69. package/skills/v8-workflow/SKILL.md +2 -2
  70. package/skills/vision-engine/SKILL.md +1 -1
@@ -2,7 +2,7 @@
2
2
 
3
3
  > 按需读取;本文件由 SKILL.md 的原章节无损拆分。
4
4
 
5
- <!-- microi-progressive:chunk id=v8-table-event-011 sha256=20342f03d457bd86d1d3e4b80ee8f2ffa254f0b60312a18bc3dab2ce2d448308 -->
5
+ <!-- microi-progressive:chunk id=v8-table-event-011 sha256=80a4d5538406b23ac45b463def94ef977e365b4dffdefdcbb1d31af0cac71830 -->
6
6
  ## 前端事件名(V8.EventName 可能的值)
7
7
 
8
8
  | 值 | 说明 |
@@ -25,7 +25,7 @@
25
25
  | `WFNodeEnd` | 流程节点结束 V8 事件 |
26
26
 
27
27
  <!-- /microi-progressive:chunk -->
28
- <!-- microi-progressive:chunk id=v8-table-event-012 sha256=db5bf410bc6babf14d3d91cc61b9875c81bc1be24b2c1b7c62334bc6819e4e55 -->
28
+ <!-- microi-progressive:chunk id=v8-table-event-012 sha256=eb7de1dc530ad35ea2b8d9538ef9e6e687bf93f58cf8d278e5db9034085c3abf -->
29
29
  ## 注意事项
30
30
 
31
31
  - 前端事件可使用 `window` 对象和 `async/await`,后端事件不可以
@@ -63,11 +63,15 @@ var clientEncoded = V8.Base64.encode('吾码');
63
63
  var clientDecoded = V8.Base64.decode(clientEncoded);
64
64
  ```
65
65
 
66
- ## 能力选择
66
+ ## 能力选择
67
67
 
68
68
  - 日期基础函数由新版后端运行时自举,不能要求租户先配置 DateNow 才能安装应用。全局函数管理使用系统设置子表 `mci_global_function`,按 `SysConfigId + Runtime(Client/Server) + FunctionName` 隔离,一行一个同名 function 声明;用 `V8.Method.ValidateGlobalFunction` 只解析验证,不执行源码。
69
69
  - 原有前后端全局 V8 必须保留,合并顺序为内置日期、函数库、租户原有代码;同名原有函数优先。不得用官方全局脚本整段覆盖客户脚本。函数库种子 `InsertIfMissing`,不得升级覆盖客户已改源码。
70
- - 列表和合并代码走 L1/Redis,表单引擎真实提交后更新租户版本并通知其它节点;回滚不变更版本。禁止通过直接 SQL 修改函数库规避失效。前端已打开页面需要刷新。
70
+ - 列表和合并代码走 L1/Redis,表单引擎真实提交后更新租户版本并通知其它节点;回滚不变更版本。禁止通过直接 SQL 修改函数库规避失效。前端已打开页面需要刷新。
71
+
72
+ ## 平台兼容入口索引
73
+
74
+ 下列旧 HTTP 地址仍由受控兼容链路识别,不能据此绕过 DiyToken、租户或权限校验:`/api/FormEngine/GetSysConfig`、`/api/Os/GetDateTimeNow`、`/api/SysLog/AddSysLog`、`/api/SysUser/`。畅捷通 V2 回调在接口引擎中编排,可信后端只提供当前租户绑定的 `V8.Method.DecodeChanjetCallbackV2` 原子。
71
75
 
72
76
  | 需求 | 专项 Skill |
73
77
  |---|---|
@@ -41,7 +41,7 @@ description: Microi V8 工作流事件指南。用于编写审批流条件、节
41
41
  生成工作流 V8 代码时,代码内容本身(文件头、普通注释、`console.log`、返回 `Msg` 等)不要包含 `Microi`、`吾码` 等平台品牌文字,除非业务数据或字段值本身必须如此。生成代码要有可维护注释:每个 `function` 前写清用途、关键参数和返回值;路线选择、审批人计算、状态回写、撤回/驳回处理、跨表联动等复杂代码段前写短注释说明业务原因;避免“给变量赋值”这类无信息量注释。若工作流存储表支持 `Version`/`ChangeHistory`,历史说明也必须最新在前并保留旧记录。
42
42
 
43
43
  <!-- /microi-progressive:chunk -->
44
- <!-- microi-progressive:chunk id=v8-workflow-001 sha256=013233bfa935a24b668691318ea79c2f0a95787d05d0b033b82859a5999878ba -->
44
+ <!-- microi-progressive:chunk id=v8-workflow-001 sha256=53550786c531c347cfe9d92247b07d127c348210f07e302a1b68f278136c3e77 -->
45
45
  ## 工作流物理表
46
46
 
47
47
  | 表名 | 说明 |
@@ -85,7 +85,7 @@ var history = V8.Db.FromSql(
85
85
  ```
86
86
 
87
87
  <!-- /microi-progressive:chunk -->
88
- <!-- microi-progressive:chunk id=v8-workflow-002 sha256=1f94d40c041929aafc45ec975f42bcbbc50c3ba424ed499c7bdf65fa73a41041 -->
88
+ <!-- microi-progressive:chunk id=v8-workflow-002 sha256=377698ecb64266fb74399ea664010e0a46156d13c3e047de1b2cbae3dbba15c7 -->
89
89
  ## 流程 V8 事件执行顺序
90
90
 
91
91
  工作流合并提交请求的 `_FormSubmitAction` 可使用 `Add/Edit`;表单后端事件中的
@@ -94,7 +94,7 @@ var voted = await V8.Vision.Stabilize({
94
94
  });
95
95
  ```
96
96
 
97
- 主流流水线方法:`V8.Vision.Analyze`、`V8.Vision.Search`、`V8.Vision.Stabilize`;兼容原子方法:`Extract`、`ExtractBatch`、`Compare`、`CompareBatch`、`GetCapabilities`。业务入口优先使用 `V8.ApiEngine.Run('platform-vision-runtime', ...)`,不要把向量返回给普通浏览器或日志。
97
+ 主流流水线方法:`V8.Vision.Analyze`、`V8.Vision.Search`、`V8.Vision.Stabilize`;兼容原子方法:`V8.Vision.Extract`、`V8.Vision.ExtractBatch`、`V8.Vision.Compare`、`V8.Vision.CompareBatch`、`V8.Vision.GetCapabilities`。业务入口优先使用 `V8.ApiEngine.Run('platform-vision-runtime', ...)`,不要把向量返回给普通浏览器或日志。
98
98
 
99
99
  ## 模型与准确率门禁
100
100