@microi.net/cli 5.9.2 → 5.9.3

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 (199) 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/LICENSE +21 -21
  7. package/README.md +71 -71
  8. package/assets/build-meta.json +5 -5
  9. package/assets/feature-matrix.json +138 -138
  10. package/assets/logo.svg +4 -4
  11. package/cordis.patch.yml +1 -1
  12. package/package.json +1 -1
  13. package/scripts/microi-codex-broker.js +466 -450
  14. package/scripts/microi-codex-router.js +634 -618
  15. package/scripts/microi-skills.meta.json +384 -378
  16. package/skills/.microi-skills-version.json +2 -2
  17. package/skills/.progressive-disclosure-manifest.json +122 -115
  18. package/skills/README.md +287 -287
  19. package/skills/ai-engine/SKILL.md +269 -269
  20. package/skills/ai-engine/agents/openai.yaml +4 -4
  21. package/skills/ai-engine/references/ai-employees.md +48 -48
  22. package/skills/ai-engine/references/self-hosted-digital-human.md +59 -59
  23. package/skills/ai-platform-governance/SKILL.md +177 -177
  24. package/skills/ai-platform-governance/references/progressive-01-/345/212/237/350/203/275/345/274/200/345/205/263.md +190 -190
  25. package/skills/app-store/SKILL.md +525 -525
  26. package/skills/app-store/agents/openai.yaml +4 -4
  27. package/skills/business-blueprint/SKILL.md +193 -193
  28. package/skills/datasource-engine/SKILL.md +93 -93
  29. package/skills/datasource-engine/agents/openai.yaml +4 -4
  30. package/skills/dos-orm/SKILL.md +101 -95
  31. package/skills/dos-orm/references/api-reference.md +229 -229
  32. package/skills/email-engine/SKILL.md +81 -81
  33. package/skills/email-engine/references/v8-email.md +34 -34
  34. package/skills/job-engine/SKILL.md +176 -176
  35. package/skills/job-engine/agents/openai.yaml +4 -4
  36. package/skills/message-notification/SKILL.md +156 -156
  37. package/skills/message-notification/agents/openai.yaml +5 -5
  38. package/skills/message-notification/references/contracts.md +102 -102
  39. package/skills/microi/SKILL.md +14 -14
  40. package/skills/microi-ai-app-auth.js +652 -652
  41. package/skills/microi-ai-application/SKILL.md +115 -115
  42. package/skills/microi-ai-application/agents/openai.yaml +4 -4
  43. package/skills/microi-ai-application/references/frontend-baseline.md +164 -164
  44. package/skills/microi-client-frontend/SKILL.md +242 -242
  45. package/skills/microi-client-frontend/references/progressive-01-3-/345/212/250/346/200/201/346/214/211/351/222/256/347/263/273/347/273/237.md +144 -144
  46. package/skills/microi-client-frontend/references/progressive-02-8-/350/277/220/350/241/214/346/227/266/351/253/230/351/242/221/345/235/221/345/244/215/347/233/230.md +196 -196
  47. package/skills/microi-client-frontend/references/progressive-03-vue3-/345/211/215/347/253/257/345/276/256/346/234/215/345/212/241/345/256/277/344/270/273/350/247/204/345/210/231.md +167 -167
  48. package/skills/microi-codex-installer/SKILL.md +231 -231
  49. package/skills/microi-codex-installer/agents/openai.yaml +7 -7
  50. package/skills/microi-datasource-mapping/SKILL.md +122 -122
  51. package/skills/microi-db-schema/SKILL.md +175 -175
  52. package/skills/microi-db-schema/agents/openai.yaml +4 -4
  53. package/skills/microi-db-schema/references/core-tables.md +695 -695
  54. package/skills/microi-db-schema/references/form-component-options.md +256 -256
  55. package/skills/microi-db-schema/references/schema-overview.md +202 -202
  56. package/skills/microi-db-schema/references/schema.md +646 -646
  57. package/skills/microi-db-schema/references/table-catalog.md +1599 -1599
  58. package/skills/microi-deployment/SKILL.md +239 -220
  59. package/skills/microi-deployment/references/deployment-matrix.md +109 -109
  60. package/skills/microi-docs-coverage/SKILL.md +133 -133
  61. package/skills/microi-docs-coverage/references/capability-map.md +90 -90
  62. package/skills/microi-docs-coverage/scripts/audit-doc-skill-coverage.mjs +894 -894
  63. package/skills/microi-form-engine/SKILL.md +338 -333
  64. package/skills/microi-form-engine/references/component-catalog.md +218 -218
  65. package/skills/microi-form-engine/references/data-source-events.md +124 -124
  66. package/skills/microi-frontend-sdk/SKILL.md +194 -194
  67. 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 +176 -176
  68. package/skills/microi-left-right-layout/SKILL.md +141 -141
  69. package/skills/microi-microservice/SKILL.md +330 -328
  70. package/skills/microi-microservice/references/runtime-delivery.md +278 -278
  71. package/skills/microi-mobile-app-quality/SKILL.md +203 -203
  72. 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 +227 -227
  73. 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 +129 -129
  74. package/skills/microi-solution-quotation/SKILL.md +78 -78
  75. package/skills/microi-solution-quotation/agents/openai.yaml +4 -4
  76. package/skills/microi-solution-quotation/scripts/build_solution_quote.py +296 -296
  77. package/skills/microi-sso/SKILL.md +95 -91
  78. package/skills/microi-sso/references/acceptance.md +51 -49
  79. package/skills/microi-sso/references/configuration-and-security.md +53 -53
  80. package/skills/microi-sso/references/inbound.md +53 -53
  81. package/skills/microi-sso/references/outbound.md +43 -39
  82. package/skills/microi-ui/SKILL.md +192 -192
  83. package/skills/microi-ui/references/progressive-01-/347/247/273/345/212/250/347/253/257/345/234/272/346/231/257/350/223/235/345/233/276.md +183 -183
  84. package/skills/microi-uniapp-frontend/SKILL.md +206 -204
  85. 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 +261 -261
  86. 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 +154 -154
  87. package/skills/microi.v8.js +1921 -1921
  88. package/skills/module-engine/SKILL.md +255 -255
  89. package/skills/module-engine/references/module-config.md +204 -204
  90. package/skills/ocr-engine/SKILL.md +113 -113
  91. package/skills/ocr-engine/agents/openai.yaml +4 -4
  92. package/skills/page-engine/SKILL.md +206 -206
  93. package/skills/page-engine/examples/compact-dashboard.json +1444 -1444
  94. 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 +234 -234
  95. 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 +60 -60
  96. package/skills/performance-testing/SKILL.md +227 -221
  97. package/skills/playwright-e2e/SKILL.md +197 -196
  98. package/skills/playwright-e2e/references/progressive-01-/345/205/250/350/207/252/345/212/250/347/231/273/345/275/225-/345/205/215/351/252/214/350/257/201/347/240/201-/344/275/206/344/270/215/345/205/215/345/257/206/347/240/201-/345/277/205/350/257/273.md +173 -173
  99. package/skills/playwright-e2e/references/progressive-02-/346/226/207/345/255/227/345/257/271/346/257/224/345/272/246/344/270/216/345/217/257/350/257/273/346/200/247/350/207/252/345/212/250/345/214/226/346/243/200/346/237/245-/345/277/205/345/201/232.md +183 -183
  100. package/skills/playwright-e2e/references/progressive-03-microi-helper-/346/250/241/346/235/277.md +221 -221
  101. package/skills/playwright-e2e/references/progressive-04-ci-/345/273/272/350/256/256.md +115 -115
  102. package/skills/print-engine/SKILL.md +259 -259
  103. package/skills/production-readonly-audit/SKILL.md +41 -41
  104. package/skills/report-engine/SKILL.md +71 -71
  105. package/skills/report-engine/agents/openai.yaml +4 -4
  106. package/skills/scripts/optimize-progressive-disclosure.mjs +204 -204
  107. package/skills/scripts/refresh-progressive-disclosure.mjs +64 -64
  108. package/skills/scripts/sync-embedded-skills.mjs +46 -46
  109. package/skills/scripts/validate-progressive-disclosure.mjs +57 -57
  110. package/skills/search-engine/SKILL.md +75 -75
  111. package/skills/search-engine/agents/openai.yaml +4 -4
  112. package/skills/spider-engine/SKILL.md +190 -190
  113. package/skills/system-observability/SKILL.md +259 -246
  114. package/skills/system-observability/references/memory-incident-triage.md +77 -77
  115. package/skills/translate-engine/SKILL.md +140 -140
  116. package/skills/translate-engine/agents/openai.yaml +4 -4
  117. package/skills/ui-design/SKILL.md +223 -223
  118. package/skills/ui-design/assets/pattern-showcase/app.js +54 -54
  119. package/skills/ui-design/assets/pattern-showcase/index.html +163 -163
  120. package/skills/ui-design/assets/pattern-showcase/styles.css +311 -311
  121. package/skills/ui-design/assets/templates/MCI-DESIGN.md +206 -206
  122. package/skills/ui-design/references/design-pattern-library.md +184 -184
  123. package/skills/ui-design/references/mci-design-contract.md +163 -163
  124. package/skills/ui-design/references/motion-and-media.md +78 -78
  125. package/skills/ui-design/references/product-flow-recipes.md +94 -94
  126. package/skills/ui-design/references/progressive-01-/351/242/234/350/211/262/344/275/223/347/263/273-css-variables-/346/224/257/346/214/201/344/270/273/351/242/230/345/210/207/346/215/242.md +218 -218
  127. package/skills/ui-design/references/progressive-02-/345/255/227/344/275/223.md +164 -164
  128. package/skills/ui-design/references/progressive-03-/345/212/250/346/225/210/350/247/204/350/214/203-/344/270/260/345/257/214/344/275/206/344/270/215/345/215/241.md +235 -235
  129. package/skills/ui-design/references/progressive-04-/347/273/204/344/273/266/351/243/216/346/240/274/351/200/237/346/237/245.md +152 -152
  130. package/skills/ui-design/references/progressive-05-/347/247/273/345/212/250/347/253/257/344/270/223/347/224/250/350/247/204/350/214/203.md +238 -238
  131. package/skills/ui-design/references/progressive-06-/344/270/273/351/242/230/345/210/207/346/215/242/345/256/236/347/216/260.md +194 -194
  132. package/skills/ui-design/references/progressive-07-/351/200/237/346/237/245-/344/273/216/345/244/264/346/220/255/345/273/272/344/270/200/344/270/252/347/247/273/345/212/250/347/253/257/351/241/265/351/235/242.md +207 -207
  133. package/skills/ui-design/references/progressive-08-/350/241/250/345/215/225/345/210/206/347/273/204/350/247/204/350/214/203-tabs-vs-collapsegroup-/345/274/272/345/210/266.md +142 -142
  134. package/skills/uniapp-mall-assets/SKILL.md +176 -176
  135. package/skills/unity-integration/SKILL.md +178 -171
  136. package/skills/unity-integration/agents/openai.yaml +4 -4
  137. package/skills/unity-integration/references/ai-app-delivery.md +119 -119
  138. package/skills/unity-integration/references/sdk-api.md +82 -82
  139. package/skills/unity-integration/references/toolbox-migration.md +66 -66
  140. package/skills/unity-integration/references/webgl-hosting.md +57 -57
  141. package/skills/v8-api-config/SKILL.md +388 -388
  142. package/skills/v8-cache-pattern/SKILL.md +312 -312
  143. package/skills/v8-crud-api/SKILL.md +179 -178
  144. 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 +226 -226
  145. package/skills/v8-crud-api/references/progressive-02-where-/346/235/241/344/273/266/350/257/255/346/263/225/351/200/237/346/237/245.md +49 -49
  146. package/skills/v8-debugging/SKILL.md +284 -284
  147. package/skills/v8-explorer-tree/SKILL.md +228 -228
  148. package/skills/v8-export-import/SKILL.md +219 -219
  149. 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 +211 -211
  150. package/skills/v8-export-import/references/progressive-02-powerpoint-/345/257/274/345/207/272.md +202 -202
  151. 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 +42 -42
  152. package/skills/v8-file-upload/SKILL.md +255 -284
  153. package/skills/v8-file-upload/references/cdn-alias-repair.md +13 -0
  154. package/skills/v8-file-upload/references/progressive-01-/345/205/254/346/234/211/346/241/266-vs-/347/247/201/346/234/211/346/241/266.md +263 -263
  155. 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 +161 -161
  156. package/skills/v8-file-upload/references/progressive-03-/347/251/272/347/233/256/345/275/225/346/240/207/350/256/260/344/270/216/350/277/234/347/250/213/344/270/213/350/275/275.md +36 -0
  157. package/skills/v8-formengine-http/SKILL.md +238 -238
  158. package/skills/v8-frontend-events/SKILL.md +180 -180
  159. package/skills/v8-frontend-events/references/bluetooth-print-api.md +135 -135
  160. package/skills/v8-frontend-events/references/bluetooth-print.md +258 -258
  161. package/skills/v8-frontend-events/references/progressive-01-/345/210/227/350/241/250/344/272/213/344/273/266.md +219 -219
  162. package/skills/v8-http-integration/SKILL.md +182 -182
  163. package/skills/v8-http-integration/references/progressive-01-get-/350/257/267/346/261/202.md +220 -220
  164. 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 +44 -44
  165. package/skills/v8-image-processing/SKILL.md +190 -190
  166. package/skills/v8-image-processing/agents/openai.yaml +4 -4
  167. package/skills/v8-image-processing/references/api-reference.md +623 -623
  168. package/skills/v8-menu-buttons/SKILL.md +186 -186
  169. package/skills/v8-menu-buttons/references/progressive-01-2-/346/214/211/351/222/256/345/257/271/350/261/241-schema.md +222 -222
  170. 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 +228 -228
  171. 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 +104 -104
  172. package/skills/v8-mongodb/SKILL.md +200 -200
  173. package/skills/v8-mq-mqtt/SKILL.md +178 -176
  174. package/skills/v8-mq-mqtt/references/mqtt-production.md +352 -342
  175. package/skills/v8-mq-mqtt/references/progressive-01-v8-mqtt-iot-/347/211/251/350/201/224/347/275/221.md +181 -181
  176. package/skills/v8-mq-mqtt/scripts/check-mqtt-skill-coverage.mjs +203 -203
  177. package/skills/v8-saas-multi-tenant/SKILL.md +305 -305
  178. package/skills/v8-security/SKILL.md +227 -210
  179. package/skills/v8-security/references/progressive-01-2-/346/235/203/351/231/220/346/240/241/351/252/214.md +200 -200
  180. package/skills/v8-security/references/progressive-02-7-/346/227/245/345/277/227/350/256/260/345/275/225.md +160 -160
  181. package/skills/v8-sql-query/SKILL.md +302 -302
  182. package/skills/v8-table-event/SKILL.md +176 -176
  183. 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 +216 -216
  184. 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 +46 -46
  185. package/skills/v8-tcp-integration/SKILL.md +158 -147
  186. package/skills/v8-tcp-integration/agents/openai.yaml +4 -4
  187. package/skills/v8-template-engine/SKILL.md +167 -167
  188. package/skills/v8-utilities/SKILL.md +104 -104
  189. package/skills/v8-utilities/references/client-api-index.md +143 -143
  190. package/skills/v8-utilities/references/platform-http-routes.md +83 -83
  191. package/skills/v8-utilities/references/server-api-index.md +188 -188
  192. package/skills/v8-workflow/SKILL.md +252 -252
  193. package/skills/v8-workflow/references/progressive-01-/350/212/202/347/202/271/345/274/200/345/247/213-v8-/344/272/213/344/273/266.md +180 -180
  194. package/skills/v8-workflow/references/workflow-configuration.md +49 -49
  195. package/skills/vision-engine/SKILL.md +160 -160
  196. package/skills/vision-engine/agents/openai.yaml +4 -4
  197. package/skills/vision-engine/references/architecture-and-acceptance.md +194 -194
  198. package/skills/workspace-conventions/SKILL.md +13 -13
  199. package/skills/workspace-conventions/references/progressive-03-cli-/344/270/216-ide-/346/217/222/344/273/266/351/224/231/347/211/210/345/205/261/345/255/230/347/272/246/345/256/232.md +2 -2
@@ -5,13 +5,13 @@
5
5
  "url": "https://microi.net"
6
6
  },
7
7
  "description": "Microi吾码官方 AI 插件市场",
8
- "version": "5.9.2",
8
+ "version": "5.9.3",
9
9
  "plugins": [
10
10
  {
11
11
  "name": "microi",
12
12
  "source": ".",
13
13
  "description": "Microi吾码 AI 开发插件:服务器连接、Skills、MCP、V8 全量同步与低代码交付",
14
- "version": "5.9.2",
14
+ "version": "5.9.3",
15
15
  "strict": true
16
16
  }
17
17
  ]
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "microi",
3
- "version": "5.9.2",
3
+ "version": "5.9.3",
4
4
  "description": "Microi吾码 AI 开发插件:服务器连接、Skills、MCP、V8 全量同步与低代码交付",
5
5
  "author": {
6
6
  "name": "Microi.Net",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "microi",
3
- "version": "5.9.2",
3
+ "version": "5.9.3",
4
4
  "description": "Microi吾码低代码平台的 Codex 开发插件,共享 VS Code/CLI 的连接、同步、MCP、V8 与交付能力。",
5
5
  "author": {
6
6
  "name": "Microi.Net",
@@ -5,13 +5,13 @@
5
5
  "url": "https://microi.net"
6
6
  },
7
7
  "description": "Microi吾码官方 AI 插件市场",
8
- "version": "5.9.2",
8
+ "version": "5.9.3",
9
9
  "plugins": [
10
10
  {
11
11
  "name": "microi",
12
12
  "source": ".",
13
13
  "description": "Microi吾码 AI 开发插件:服务器连接、Skills、MCP、V8 全量同步与低代码交付",
14
- "version": "5.9.2",
14
+ "version": "5.9.3",
15
15
  "strict": true
16
16
  }
17
17
  ]
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "microi",
3
- "version": "5.9.2",
3
+ "version": "5.9.3",
4
4
  "description": "Microi吾码 AI 开发插件:服务器连接、Skills、MCP、V8 全量同步与低代码交付",
5
5
  "author": {
6
6
  "name": "Microi.Net",
package/LICENSE CHANGED
@@ -1,21 +1,21 @@
1
- MIT License
2
-
3
- Copyright (c) 2026 Microi吾码
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Microi吾码
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md CHANGED
@@ -1,71 +1,71 @@
1
- # @microi.net/cli — Microi吾码 CLI + 多宿主 AI Plugin
2
-
3
- `@microi.net/cli` 是 Microi吾码唯一的 AI/npm 产品,同时提供:
4
-
5
- - 全局命令 `microi`;
6
- - Codex Plugin、DeepSeek Harness 原生 profile bundle,以及 WorkBuddy/CodeBuddy 兼容 plugin 与 marketplace 清单;
7
- - 与 Microi.Agent 同源的 MCP Server、连接/Token/同步协议;
8
- - 支持多服务器、租户、产品类型和网络环境的 `microi_codex` 路由;
9
- - 全套 Microi Skills 与 VS Code 命令覆盖矩阵。
10
-
11
- ## 安装与空工作区初始化
12
-
13
- ```bash
14
- npm install -g @microi.net/cli
15
- microi init --workspace <工作区> --pull
16
- ```
17
-
18
- 未全局安装时,也可以一次执行:
19
-
20
- ```bash
21
- npx --yes @microi.net/cli@latest init --workspace <工作区> --pull
22
- ```
23
-
24
- 命令会引导添加服务器、登录、生成 AI 指令/Skills/类型提示,并同时配置 Codex、VS Code、Cursor、Trae、Claude Code、WorkBuddy、CodeBuddy、Qoder、Comate MCP;密码仅在当前进程中隐式输入,不写入命令参数或配置文件。
25
-
26
- 在这些 AI 软件的空工作区中,可以直接说:
27
-
28
- ```text
29
- 安装 @microi.net/cli@latest,初始化 Microi吾码插件;添加指定服务器和 MCP,登录后拉取该连接的所有 V8 代码。
30
- ```
31
-
32
- 初始化会生成 `.workbuddy/mcp.json`、根 `.mcp.json`、`.comate/mcp.json`,以及 CodeBuddy/Qoder/Comate 项目 Skill。当前会话不支持热加载时继续使用已加载版本,新版在下一次自然启动时生效。
33
-
34
- ## 安装 Codex Plugin
35
-
36
- ```bash
37
- microi version --json
38
- microi codex status --json
39
- microi codex install --yes
40
- ```
41
-
42
- marketplace 固定为 `microi-net`,插件选择器固定为 `microi@microi-net`。安装器会迁移旧的 `microi-official` 标识,以及曾指向 `@microi.net/codex-plugin` 的吾码 marketplace 文件。安装不终止当前 Codex Router,新版在后续新进程中生效。
43
-
44
- 全新 Codex 的空目录中可直接对 AI 说“通过 `@microi.net/cli@latest` 安装吾码 Codex 插件”。AI 应执行 `npx --yes @microi.net/cli@latest codex install --yes`:npm 仅负责下载,安装器将本包完整复制到 `${CODEX_HOME:-~/.codex}/microi-net-marketplace/plugins/microi`,生成官方支持的本地 marketplace 并安装启用插件。Codex 下次自然启动后,插件页显示 **Microi吾码**,来源为 **microi-net**。
45
-
46
- Codex Router、VS Code 扩展与 CLI 会自动投递统一后台更新:
47
-
48
- ```bash
49
- microi update --background --workspace "<工作区绝对路径>" --json
50
- ```
51
-
52
- 更新器只使用 npm 官方 registry,并自动升级 CLI、Codex/DeepSeek Harness 插件、AI 指令、Skills 与 MCP。当前进程继续使用旧版本;断网、权限不足、文件占用或安装失败只会延后重试和非阻塞提示,不影响当前、正在进行或新建工作。
53
-
54
- 本 npm 包根目录本身就是有效的 Codex Plugin。发布到 npm 只完成 CLI 下载与用户本地 marketplace 安装能力,不代表已经进入 ChatGPT/Codex 通用公开插件目录;公开目录仍需按 OpenAI 官方流程提交审核。
55
-
56
- ## 安装 DeepSeek Harness Plugin
57
-
58
- DeepSeek Harness 已安装且 `dsh`、`pnpm` 可用时执行:
59
-
60
- ```bash
61
- microi dsh status --json
62
- microi dsh install
63
- ```
64
-
65
- 默认幂等安装到 DSH 官方 `web` 与 `headless` profile;也可用 `--profile <名称>` 指定一个 profile。本包通过 `dsh.bundle.patch` 和 `cordis.patch.yml` 接入官方 `@deepseek-ai/dsh-mcp-client`,不是向 DSH 写入无效的 `.mcp.json`。安装后新建 DSH 会话,工具入口为 `mcp__microi__microi_codex`。开发源码可用 `microi dsh install --source <Microi.Agent目录> --force` 验收。
66
-
67
- 后台更新会在检测到 DSH 时自动幂等升级 bundle;DSH 或 pnpm 不存在、网络失败时只记录延后状态,不影响其它宿主和当前任务。
68
-
69
- ## WorkBuddy / CodeBuddy 原生插件
70
-
71
- 包根同时包含 `.workbuddy-plugin/`、`.codebuddy-plugin/`、`.mcp.json` 和全部 `skills/`。运行 `microi plugin path --json` 可取得本机真实包根与清单路径,供 WorkBuddy 插件页或 CodeBuddy 本地 marketplace 导入。宿主自身的安装、启用和工作区信任仍需由用户授权,CLI 不伪造 UI 安装状态。
1
+ # @microi.net/cli — Microi吾码 CLI + 多宿主 AI Plugin
2
+
3
+ `@microi.net/cli` 是 Microi吾码唯一的 AI/npm 产品,同时提供:
4
+
5
+ - 全局命令 `microi`;
6
+ - Codex Plugin、DeepSeek Harness 原生 profile bundle,以及 WorkBuddy/CodeBuddy 兼容 plugin 与 marketplace 清单;
7
+ - 与 Microi.Agent 同源的 MCP Server、连接/Token/同步协议;
8
+ - 支持多服务器、租户、产品类型和网络环境的 `microi_codex` 路由;
9
+ - 全套 Microi Skills 与 VS Code 命令覆盖矩阵。
10
+
11
+ ## 安装与空工作区初始化
12
+
13
+ ```bash
14
+ npm install -g @microi.net/cli
15
+ microi init --workspace <工作区> --pull
16
+ ```
17
+
18
+ 未全局安装时,也可以一次执行:
19
+
20
+ ```bash
21
+ npx --yes @microi.net/cli@latest init --workspace <工作区> --pull
22
+ ```
23
+
24
+ 命令会引导添加服务器、登录、生成 AI 指令/Skills/类型提示,并同时配置 Codex、VS Code、Cursor、Trae、Claude Code、WorkBuddy、CodeBuddy、Qoder、Comate MCP;密码仅在当前进程中隐式输入,不写入命令参数或配置文件。
25
+
26
+ 在这些 AI 软件的空工作区中,可以直接说:
27
+
28
+ ```text
29
+ 安装 @microi.net/cli@latest,初始化 Microi吾码插件;添加指定服务器和 MCP,登录后拉取该连接的所有 V8 代码。
30
+ ```
31
+
32
+ 初始化会生成 `.workbuddy/mcp.json`、根 `.mcp.json`、`.comate/mcp.json`,以及 CodeBuddy/Qoder/Comate 项目 Skill。当前会话不支持热加载时继续使用已加载版本,新版在下一次自然启动时生效。
33
+
34
+ ## 安装 Codex Plugin
35
+
36
+ ```bash
37
+ microi version --json
38
+ microi codex status --json
39
+ microi codex install --yes
40
+ ```
41
+
42
+ marketplace 固定为 `microi-net`,插件选择器固定为 `microi@microi-net`。安装器会迁移旧的 `microi-official` 标识,以及曾指向 `@microi.net/codex-plugin` 的吾码 marketplace 文件。安装不终止当前 Codex Router,新版在后续新进程中生效。
43
+
44
+ 全新 Codex 的空目录中可直接对 AI 说“通过 `@microi.net/cli@latest` 安装吾码 Codex 插件”。AI 应执行 `npx --yes @microi.net/cli@latest codex install --yes`:npm 仅负责下载,安装器将本包完整复制到 `${CODEX_HOME:-~/.codex}/microi-net-marketplace/plugins/microi`,生成官方支持的本地 marketplace 并安装启用插件。Codex 下次自然启动后,插件页显示 **Microi吾码**,来源为 **microi-net**。
45
+
46
+ Codex Router、VS Code 扩展与 CLI 会自动投递统一后台更新:
47
+
48
+ ```bash
49
+ microi update --background --workspace "<工作区绝对路径>" --json
50
+ ```
51
+
52
+ 更新器只使用 npm 官方 registry,并自动升级 CLI、Codex/DeepSeek Harness 插件、AI 指令、Skills 与 MCP。当前进程继续使用旧版本;断网、权限不足、文件占用或安装失败只会延后重试和非阻塞提示,不影响当前、正在进行或新建工作。
53
+
54
+ 本 npm 包根目录本身就是有效的 Codex Plugin。发布到 npm 只完成 CLI 下载与用户本地 marketplace 安装能力,不代表已经进入 ChatGPT/Codex 通用公开插件目录;公开目录仍需按 OpenAI 官方流程提交审核。
55
+
56
+ ## 安装 DeepSeek Harness Plugin
57
+
58
+ DeepSeek Harness 已安装且 `dsh`、`pnpm` 可用时执行:
59
+
60
+ ```bash
61
+ microi dsh status --json
62
+ microi dsh install
63
+ ```
64
+
65
+ 默认幂等安装到 DSH 官方 `web` 与 `headless` profile;也可用 `--profile <名称>` 指定一个 profile。本包通过 `dsh.bundle.patch` 和 `cordis.patch.yml` 接入官方 `@deepseek-ai/dsh-mcp-client`,不是向 DSH 写入无效的 `.mcp.json`。安装后新建 DSH 会话,工具入口为 `mcp__microi__microi_codex`。开发源码可用 `microi dsh install --source <Microi.Agent目录> --force` 验收。
66
+
67
+ 后台更新会在检测到 DSH 时自动幂等升级 bundle;DSH 或 pnpm 不存在、网络失败时只记录延后状态,不影响其它宿主和当前任务。
68
+
69
+ ## WorkBuddy / CodeBuddy 原生插件
70
+
71
+ 包根同时包含 `.workbuddy-plugin/`、`.codebuddy-plugin/`、`.mcp.json` 和全部 `skills/`。运行 `microi plugin path --json` 可取得本机真实包根与清单路径,供 WorkBuddy 插件页或 CodeBuddy 本地 marketplace 导入。宿主自身的安装、启用和工作区信任仍需由用户授权,CLI 不伪造 UI 安装状态。
@@ -1,6 +1,6 @@
1
1
  {
2
- "builtAt": "2026-10-11T08:09:47.299Z",
3
- "version": "5.9.2",
2
+ "builtAt": "2026-10-12T22:11:37.135Z",
3
+ "version": "5.9.3",
4
4
  "sourceProducts": [
5
5
  "vscode-extension",
6
6
  "microi-cli",
@@ -12,8 +12,8 @@
12
12
  "hashes": {
13
13
  "mcpServer": "daf65060b88bc1a52bc0333e0f2a4c7aba2b0c97aa6c53c3d6c5189d40c15950",
14
14
  "cli": "f9f346bce30623280ce56afd4d0d516918a869f8e264ae55863c8f5d7c28002b",
15
- "router": "761b54007451348da5f6491245635c15c33663cae6c1811005839bc2312886e2",
16
- "broker": "fffe3a7bbbc0c842d69c2eda09a0490ce0055a060f56d6a6d6230046e8952749",
17
- "dshBundle": "8f7a9b90bc278a6e5e8eadff122006909cd3167dd398a26b9988df27616ca74c"
15
+ "router": "fd33e0ada07a21d2dd78289c83a984d2c73b51b81fa5fef1f69ae6b1ed011f84",
16
+ "broker": "031a6055a00167c2da79af51da1b3b66ee91cf017689e9246b2f347d402f6311",
17
+ "dshBundle": "7ba2945becb226e2be997b6f84827ca7502042e976a1009db496353ec09d0e6b"
18
18
  }
19
19
  }
@@ -1,138 +1,138 @@
1
- {
2
- "schemaVersion": 1,
3
- "products": [
4
- "vscode-extension",
5
- "microi-cli",
6
- "codex-plugin",
7
- "microi-code-desktop"
8
- ],
9
- "groups": [
10
- {
11
- "id": "connection-and-auth",
12
- "adapter": "bundled-cli",
13
- "workflow": "microi profile/auth/doctor 与 Codex 原生设置",
14
- "surfaceDifference": "VS Code Webview 与树视图改为对话、JSON 输出和工作区文件。",
15
- "commands": [
16
- "microi.showSettings",
17
- "microi.login",
18
- "microi.logout",
19
- "microi.switchOsClient",
20
- "microi.refreshTree",
21
- "microi.openLocalFolder",
22
- "microi.copyEngineKey",
23
- "microi.searchEngine"
24
- ],
25
- "desktopSurface": "服务器连接 / 官方账号 / 项目选择"
26
- },
27
- {
28
- "id": "remote-execution-debug-and-performance",
29
- "adapter": "skill-and-mcp",
30
- "workflow": "v8-debugging/performance-testing Skills + microi_codex 原工具",
31
- "surfaceDifference": "VS Code DAP/Webview 改为结构化执行、诊断、补丁、复测及报告;远端执行能力和安全门保持一致。",
32
- "commands": [
33
- "microi.showPerformanceTest",
34
- "microi.remoteExecute",
35
- "microi.remoteDebug",
36
- "microi.stopDebugSession"
37
- ],
38
- "desktopSurface": "吾码工具与 AI 开发;原 VS Code DAP 面板继续保留"
39
- },
40
- {
41
- "id": "source-sync-and-diff",
42
- "adapter": "bundled-cli-and-codex-native",
43
- "workflow": "microi pull/push/sync status + Codex 文件读取、搜索和 diff",
44
- "surfaceDifference": "VS Code 编辑器命令改为 Codex 文件链接、补丁和终端输出。",
45
- "commands": [
46
- "microi.push",
47
- "microi.openFile",
48
- "microi.diffWithRemote",
49
- "microi.showSyncStatus",
50
- "microi.checkSyncConflicts",
51
- "microi.syncResults.open",
52
- "microi.syncResults.refresh",
53
- "microi.syncResults.clear",
54
- "microi.pullServer",
55
- "microi.syncServer",
56
- "microi.pullTableFields",
57
- "microi.pullModuleTree",
58
- "microi.pullDbSchema"
59
- ],
60
- "desktopSurface": "项目资源:编辑、拉取、推送、同步差异;AI 审阅"
61
- },
62
- {
63
- "id": "resource-authoring",
64
- "adapter": "mcp",
65
- "workflow": "microi_codex 中的 create/save/get/list 原工具及对应领域 Skill",
66
- "surfaceDifference": "QuickPick/InputBox 改为对话确认;仍复用原工具 schema、确认口令、审计和回读。",
67
- "commands": [
68
- "microi.createEngine",
69
- "microi.createFormEvent",
70
- "microi.createWorkflowNodeEvent",
71
- "microi.createMenuButtonEvent"
72
- ],
73
- "desktopSurface": "AI 开发 + 同源 MCP / Skills / Harness 工作区工具"
74
- },
75
- {
76
- "id": "micro-app",
77
- "adapter": "skill-mcp-and-shell",
78
- "workflow": "microi-microservice Skill + scaffold/sync/publish MCP 原工具 + 受控 npm build",
79
- "surfaceDifference": "VS Code 进度条与选择框改为阶段化对话和构建日志。",
80
- "commands": [
81
- "microi.microApp.create",
82
- "microi.microApp.pull",
83
- "microi.microApp.build",
84
- "microi.microApp.push",
85
- "microi.microApp.buildAndPush",
86
- "microi.microApp.pushRuntimeOnly",
87
- "microi.microApp.buildAndPushRuntimeOnly",
88
- "microi.microApp.buildAndPublishStore",
89
- "microi.microApp.syncSource",
90
- "microi.microApp.showSyncStatus"
91
- ],
92
- "desktopSurface": "AI 开发 + 同源 MCP / Skills / Harness 工作区工具"
93
- },
94
- {
95
- "id": "ai-bootstrap",
96
- "adapter": "bundled-cli-and-skills",
97
- "workflow": "microi ai init / mcp init 与同源 Skills、typings、AGENTS 注入",
98
- "surfaceDifference": "初始化结果以结构化文本返回。",
99
- "commands": [
100
- "microi.initializeAiConfig",
101
- "microi.configureMcp"
102
- ],
103
- "desktopSurface": "AI 开发 + 同源 MCP / Skills / Harness 工作区工具"
104
- },
105
- {
106
- "id": "mcp-lifecycle",
107
- "adapter": "codex-plugin-native-and-router",
108
- "workflow": "Codex Plugin 启停策略、microi_codex profiles、CLI doctor/mcp init",
109
- "surfaceDifference": "进程启停和输出由 Codex 插件宿主托管,不复制 VS Code MCP 面板。",
110
- "commands": [
111
- "microi.mcp.refreshStatus",
112
- "microi.mcp.diagnose",
113
- "microi.mcp.startAll",
114
- "microi.mcp.startServer",
115
- "microi.mcp.stopServer",
116
- "microi.mcp.restartServer",
117
- "microi.mcp.showOutput",
118
- "microi.mcp.showConfig",
119
- "microi.mcp.openServerOptions",
120
- "microi.mcp.showInstalled",
121
- "microi.mcp.removeServerConfig"
122
- ],
123
- "desktopSurface": "AI 开发 + 同源 MCP / Skills / Harness 工作区工具"
124
- },
125
- {
126
- "id": "playwright",
127
- "adapter": "skill-browser-and-shell",
128
- "workflow": "playwright-e2e Skill + Codex 浏览器/终端 + 原测试上下文接口",
129
- "surfaceDifference": "VS Code 命令改为 Codex 浏览器验收与可点击报告文件。",
130
- "commands": [
131
- "microi.initPlaywright",
132
- "microi.runPlaywright",
133
- "microi.openPlaywrightReport"
134
- ],
135
- "desktopSurface": "AI 开发 + 同源 MCP / Skills / Harness 工作区工具"
136
- }
137
- ]
138
- }
1
+ {
2
+ "schemaVersion": 1,
3
+ "products": [
4
+ "vscode-extension",
5
+ "microi-cli",
6
+ "codex-plugin",
7
+ "microi-code-desktop"
8
+ ],
9
+ "groups": [
10
+ {
11
+ "id": "connection-and-auth",
12
+ "adapter": "bundled-cli",
13
+ "workflow": "microi profile/auth/doctor 与 Codex 原生设置",
14
+ "surfaceDifference": "VS Code Webview 与树视图改为对话、JSON 输出和工作区文件。",
15
+ "commands": [
16
+ "microi.showSettings",
17
+ "microi.login",
18
+ "microi.logout",
19
+ "microi.switchOsClient",
20
+ "microi.refreshTree",
21
+ "microi.openLocalFolder",
22
+ "microi.copyEngineKey",
23
+ "microi.searchEngine"
24
+ ],
25
+ "desktopSurface": "服务器连接 / 官方账号 / 项目选择"
26
+ },
27
+ {
28
+ "id": "remote-execution-debug-and-performance",
29
+ "adapter": "skill-and-mcp",
30
+ "workflow": "v8-debugging/performance-testing Skills + microi_codex 原工具",
31
+ "surfaceDifference": "VS Code DAP/Webview 改为结构化执行、诊断、补丁、复测及报告;远端执行能力和安全门保持一致。",
32
+ "commands": [
33
+ "microi.showPerformanceTest",
34
+ "microi.remoteExecute",
35
+ "microi.remoteDebug",
36
+ "microi.stopDebugSession"
37
+ ],
38
+ "desktopSurface": "吾码工具与 AI 开发;原 VS Code DAP 面板继续保留"
39
+ },
40
+ {
41
+ "id": "source-sync-and-diff",
42
+ "adapter": "bundled-cli-and-codex-native",
43
+ "workflow": "microi pull/push/sync status + Codex 文件读取、搜索和 diff",
44
+ "surfaceDifference": "VS Code 编辑器命令改为 Codex 文件链接、补丁和终端输出。",
45
+ "commands": [
46
+ "microi.push",
47
+ "microi.openFile",
48
+ "microi.diffWithRemote",
49
+ "microi.showSyncStatus",
50
+ "microi.checkSyncConflicts",
51
+ "microi.syncResults.open",
52
+ "microi.syncResults.refresh",
53
+ "microi.syncResults.clear",
54
+ "microi.pullServer",
55
+ "microi.syncServer",
56
+ "microi.pullTableFields",
57
+ "microi.pullModuleTree",
58
+ "microi.pullDbSchema"
59
+ ],
60
+ "desktopSurface": "项目资源:编辑、拉取、推送、同步差异;AI 审阅"
61
+ },
62
+ {
63
+ "id": "resource-authoring",
64
+ "adapter": "mcp",
65
+ "workflow": "microi_codex 中的 create/save/get/list 原工具及对应领域 Skill",
66
+ "surfaceDifference": "QuickPick/InputBox 改为对话确认;仍复用原工具 schema、确认口令、审计和回读。",
67
+ "commands": [
68
+ "microi.createEngine",
69
+ "microi.createFormEvent",
70
+ "microi.createWorkflowNodeEvent",
71
+ "microi.createMenuButtonEvent"
72
+ ],
73
+ "desktopSurface": "AI 开发 + 同源 MCP / Skills / Harness 工作区工具"
74
+ },
75
+ {
76
+ "id": "micro-app",
77
+ "adapter": "skill-mcp-and-shell",
78
+ "workflow": "microi-microservice Skill + scaffold/sync/publish MCP 原工具 + 受控 npm build",
79
+ "surfaceDifference": "VS Code 进度条与选择框改为阶段化对话和构建日志。",
80
+ "commands": [
81
+ "microi.microApp.create",
82
+ "microi.microApp.pull",
83
+ "microi.microApp.build",
84
+ "microi.microApp.push",
85
+ "microi.microApp.buildAndPush",
86
+ "microi.microApp.pushRuntimeOnly",
87
+ "microi.microApp.buildAndPushRuntimeOnly",
88
+ "microi.microApp.buildAndPublishStore",
89
+ "microi.microApp.syncSource",
90
+ "microi.microApp.showSyncStatus"
91
+ ],
92
+ "desktopSurface": "AI 开发 + 同源 MCP / Skills / Harness 工作区工具"
93
+ },
94
+ {
95
+ "id": "ai-bootstrap",
96
+ "adapter": "bundled-cli-and-skills",
97
+ "workflow": "microi ai init / mcp init 与同源 Skills、typings、AGENTS 注入",
98
+ "surfaceDifference": "初始化结果以结构化文本返回。",
99
+ "commands": [
100
+ "microi.initializeAiConfig",
101
+ "microi.configureMcp"
102
+ ],
103
+ "desktopSurface": "AI 开发 + 同源 MCP / Skills / Harness 工作区工具"
104
+ },
105
+ {
106
+ "id": "mcp-lifecycle",
107
+ "adapter": "codex-plugin-native-and-router",
108
+ "workflow": "Codex Plugin 启停策略、microi_codex profiles、CLI doctor/mcp init",
109
+ "surfaceDifference": "进程启停和输出由 Codex 插件宿主托管,不复制 VS Code MCP 面板。",
110
+ "commands": [
111
+ "microi.mcp.refreshStatus",
112
+ "microi.mcp.diagnose",
113
+ "microi.mcp.startAll",
114
+ "microi.mcp.startServer",
115
+ "microi.mcp.stopServer",
116
+ "microi.mcp.restartServer",
117
+ "microi.mcp.showOutput",
118
+ "microi.mcp.showConfig",
119
+ "microi.mcp.openServerOptions",
120
+ "microi.mcp.showInstalled",
121
+ "microi.mcp.removeServerConfig"
122
+ ],
123
+ "desktopSurface": "AI 开发 + 同源 MCP / Skills / Harness 工作区工具"
124
+ },
125
+ {
126
+ "id": "playwright",
127
+ "adapter": "skill-browser-and-shell",
128
+ "workflow": "playwright-e2e Skill + Codex 浏览器/终端 + 原测试上下文接口",
129
+ "surfaceDifference": "VS Code 命令改为 Codex 浏览器验收与可点击报告文件。",
130
+ "commands": [
131
+ "microi.initPlaywright",
132
+ "microi.runPlaywright",
133
+ "microi.openPlaywrightReport"
134
+ ],
135
+ "desktopSurface": "AI 开发 + 同源 MCP / Skills / Harness 工作区工具"
136
+ }
137
+ ]
138
+ }
package/assets/logo.svg CHANGED
@@ -1,4 +1,4 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" fill="currentColor">
2
- <path d="M407.5,118.7c0,27.1-22.4,49.1-50.1,49.1s-50.1-22-50.1-49.1s22.4-49.1,50.1-49.1S407.5,91.6,407.5,118.7z"/>
3
- <path d="M403.9,193.1c-4.9-4.4-11.4-6.9-18.2-6.9h-52.5c-14.6,0-26.4,11.3-26.5,25.1l-0.4,138.1l-70.5-63.8c-6.5-5.9-15.6-8.2-24.3-6.2l-92.5,20.8c-9,2-16.3,8.5-19.1,16.8l-31,92.6l-58.7-68.5c-1.9-3.1-4.5-5.8-7.8-7.7c-0.8-0.5-1.6-0.9-2.4-1.2v102c6.4,46.4,33.2,72.3,80.4,77.9h74.3l35.1-133.6l95.9,85.1c6,5.4,14.3,7.7,22.4,6.4l83.8,0.4l1.5-0.3c12.3-2.8,15.3-17.8,16.6-24.2c1.4-7.2,2.2-15.3,2.2-19.2l0.1-215.5C412.2,204.4,409.3,197.9,403.9,193.1z"/>
4
- </svg>
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" fill="currentColor">
2
+ <path d="M407.5,118.7c0,27.1-22.4,49.1-50.1,49.1s-50.1-22-50.1-49.1s22.4-49.1,50.1-49.1S407.5,91.6,407.5,118.7z"/>
3
+ <path d="M403.9,193.1c-4.9-4.4-11.4-6.9-18.2-6.9h-52.5c-14.6,0-26.4,11.3-26.5,25.1l-0.4,138.1l-70.5-63.8c-6.5-5.9-15.6-8.2-24.3-6.2l-92.5,20.8c-9,2-16.3,8.5-19.1,16.8l-31,92.6l-58.7-68.5c-1.9-3.1-4.5-5.8-7.8-7.7c-0.8-0.5-1.6-0.9-2.4-1.2v102c6.4,46.4,33.2,72.3,80.4,77.9h74.3l35.1-133.6l95.9,85.1c6,5.4,14.3,7.7,22.4,6.4l83.8,0.4l1.5-0.3c12.3-2.8,15.3-17.8,16.6-24.2c1.4-7.2,2.2-15.3,2.2-19.2l0.1-215.5C412.2,204.4,409.3,197.9,403.9,193.1z"/>
4
+ </svg>
package/cordis.patch.yml CHANGED
@@ -7,7 +7,7 @@
7
7
  serverName: microi
8
8
  transport: stdio
9
9
  command: !!js process.execPath
10
- args: ["-e","/*\n * DeepSeek Harness 通过 profile bundle 加载此 `node -e` 引导脚本。\n * DSH 不保证 MCP 子进程 cwd 位于 npm 包根,因此按 DSH_HOME/profile 定位\n * 当前版本的 @microi.net/cli,再复用 Codex 同源适配器与多连接路由器。\n */\nconst fs = require('node:fs');\nconst os = require('node:os');\nconst path = require('node:path');\nconst packageName = '@microi.net/cli';\nconst expectedVersion = '5.9.2';\n\nfunction readJson(filePath) {\n try { return JSON.parse(fs.readFileSync(filePath, 'utf8')); }\n catch { return undefined; }\n}\n\nfunction expandHome(value) {\n if (value === '~') return os.homedir();\n if (value.startsWith('~/') || value.startsWith('~\\\\')) return path.join(os.homedir(), value.slice(2));\n return value;\n}\n\nfunction validRoot(value) {\n const root = path.resolve(value);\n const pkg = readJson(path.join(root, 'package.json'));\n const patch = path.join(root, 'cordis.patch.yml');\n const adapter = path.join(root, 'scripts', 'mcp-codex-stdio-adapter.js');\n const router = path.join(root, 'scripts', 'microi-codex-router.js');\n if (pkg?.name !== packageName || pkg?.version !== expectedVersion) return undefined;\n if (pkg?.dsh?.bundle?.patch !== './cordis.patch.yml') return undefined;\n if (![patch, adapter, router].every(filePath => fs.existsSync(filePath))) return undefined;\n return { root: fs.realpathSync(root), adapter, router, modifiedAt: fs.statSync(router).mtimeMs };\n}\n\nfunction findPlugin() {\n const explicit = String(process.env.MICROI_DSH_PLUGIN_ROOT || '').trim();\n if (explicit) {\n const plugin = validRoot(explicit);\n if (!plugin) throw new Error(`MICROI_DSH_PLUGIN_ROOT 不是版本 ${expectedVersion} 的有效 Microi DSH bundle:${explicit}`);\n return plugin;\n }\n const configuredHome = String(process.env.DSH_HOME || '').trim();\n const dshHome = path.resolve(expandHome(configuredHome || path.join(os.homedir(), '.dsh')));\n const profilesRoot = path.join(dshHome, 'profiles');\n const candidates = [];\n if (fs.existsSync(profilesRoot)) {\n for (const entry of fs.readdirSync(profilesRoot, { withFileTypes: true })) {\n if (!entry.isDirectory() || entry.name === 'node_modules') continue;\n const root = path.join(profilesRoot, entry.name, 'node_modules', '@microi.net', 'cli');\n const plugin = validRoot(root);\n if (plugin) candidates.push(plugin);\n }\n }\n candidates.sort((left, right) => right.modifiedAt - left.modifiedAt);\n if (!candidates[0]) throw new Error(`未在 ${profilesRoot} 找到版本 ${expectedVersion} 的 ${packageName}`);\n return candidates[0];\n}\n\ntry {\n const plugin = findPlugin();\n process.env.MICROI_DSH_PLUGIN_ROOT = plugin.root;\n process.env.MICROI_CODEX_PLUGIN_ROOT = plugin.root;\n process.env.MICROI_TOOL_SOURCE = 'dsh';\n process.env.MICROI_TOOL_VERSION = expectedVersion;\n process.env.MICROI_WORKSPACE_ROOT = process.env.MICROI_WORKSPACE_ROOT || process.cwd();\n process.argv[2] = plugin.router;\n require(plugin.adapter);\n} catch (error) {\n console.error(`[microi-dsh-bootstrap] ${error instanceof Error ? error.message : String(error)}`);\n process.exit(1);\n}\n"]
10
+ args: ["-e","/*\n * DeepSeek Harness 通过 profile bundle 加载此 `node -e` 引导脚本。\n * DSH 不保证 MCP 子进程 cwd 位于 npm 包根,因此按 DSH_HOME/profile 定位\n * 当前版本的 @microi.net/cli,再复用 Codex 同源适配器与多连接路由器。\n */\nconst fs = require('node:fs');\nconst os = require('node:os');\nconst path = require('node:path');\nconst packageName = '@microi.net/cli';\nconst expectedVersion = '5.9.3';\n\nfunction readJson(filePath) {\n try { return JSON.parse(fs.readFileSync(filePath, 'utf8')); }\n catch { return undefined; }\n}\n\nfunction expandHome(value) {\n if (value === '~') return os.homedir();\n if (value.startsWith('~/') || value.startsWith('~\\\\')) return path.join(os.homedir(), value.slice(2));\n return value;\n}\n\nfunction validRoot(value) {\n const root = path.resolve(value);\n const pkg = readJson(path.join(root, 'package.json'));\n const patch = path.join(root, 'cordis.patch.yml');\n const adapter = path.join(root, 'scripts', 'mcp-codex-stdio-adapter.js');\n const router = path.join(root, 'scripts', 'microi-codex-router.js');\n if (pkg?.name !== packageName || pkg?.version !== expectedVersion) return undefined;\n if (pkg?.dsh?.bundle?.patch !== './cordis.patch.yml') return undefined;\n if (![patch, adapter, router].every(filePath => fs.existsSync(filePath))) return undefined;\n return { root: fs.realpathSync(root), adapter, router, modifiedAt: fs.statSync(router).mtimeMs };\n}\n\nfunction findPlugin() {\n const explicit = String(process.env.MICROI_DSH_PLUGIN_ROOT || '').trim();\n if (explicit) {\n const plugin = validRoot(explicit);\n if (!plugin) throw new Error(`MICROI_DSH_PLUGIN_ROOT 不是版本 ${expectedVersion} 的有效 Microi DSH bundle:${explicit}`);\n return plugin;\n }\n const configuredHome = String(process.env.DSH_HOME || '').trim();\n const dshHome = path.resolve(expandHome(configuredHome || path.join(os.homedir(), '.dsh')));\n const profilesRoot = path.join(dshHome, 'profiles');\n const candidates = [];\n if (fs.existsSync(profilesRoot)) {\n for (const entry of fs.readdirSync(profilesRoot, { withFileTypes: true })) {\n if (!entry.isDirectory() || entry.name === 'node_modules') continue;\n const root = path.join(profilesRoot, entry.name, 'node_modules', '@microi.net', 'cli');\n const plugin = validRoot(root);\n if (plugin) candidates.push(plugin);\n }\n }\n candidates.sort((left, right) => right.modifiedAt - left.modifiedAt);\n if (!candidates[0]) throw new Error(`未在 ${profilesRoot} 找到版本 ${expectedVersion} 的 ${packageName}`);\n return candidates[0];\n}\n\ntry {\n const plugin = findPlugin();\n process.env.MICROI_DSH_PLUGIN_ROOT = plugin.root;\n process.env.MICROI_CODEX_PLUGIN_ROOT = plugin.root;\n process.env.MICROI_TOOL_SOURCE = 'dsh';\n process.env.MICROI_TOOL_VERSION = expectedVersion;\n process.env.MICROI_WORKSPACE_ROOT = process.env.MICROI_WORKSPACE_ROOT || process.cwd();\n process.argv[2] = plugin.router;\n require(plugin.adapter);\n} catch (error) {\n console.error(`[microi-dsh-bootstrap] ${error instanceof Error ? error.message : String(error)}`);\n process.exit(1);\n}\n"]
11
11
  env:
12
12
  MICROI_TOOL_SOURCE: dsh
13
13
  cwd: !!js process.cwd()
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@microi.net/cli",
3
- "version": "5.9.2",
3
+ "version": "5.9.3",
4
4
  "description": "Microi吾码 AI 开发 CLI 与多宿主 Plugin:服务器连接、Skills、MCP、V8 同步和低代码交付",
5
5
  "license": "MIT",
6
6
  "homepage": "https://microi.net/doc/v8-engine/vs-code-plugin.html",