@microi.net/cli 5.7.8 → 5.8.0

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 (189) 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 +6 -6
  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/mcp-codex-stdio-adapter.js +0 -0
  14. package/scripts/mcp-server.js +113 -112
  15. package/scripts/microi-cli.js +57 -57
  16. package/scripts/microi-codex-broker.js +450 -450
  17. package/scripts/microi-codex-router.js +0 -0
  18. package/scripts/microi-skills.meta.json +364 -364
  19. package/skills/.microi-skills-version.json +2 -2
  20. package/skills/README.md +286 -286
  21. package/skills/ai-engine/SKILL.md +265 -265
  22. package/skills/ai-engine/agents/openai.yaml +4 -4
  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 +396 -396
  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 +90 -90
  29. package/skills/datasource-engine/agents/openai.yaml +4 -4
  30. package/skills/dos-orm/references/api-reference.md +229 -229
  31. package/skills/email-engine/SKILL.md +78 -78
  32. package/skills/email-engine/references/v8-email.md +34 -34
  33. package/skills/job-engine/SKILL.md +172 -172
  34. package/skills/job-engine/agents/openai.yaml +4 -4
  35. package/skills/message-notification/SKILL.md +156 -156
  36. package/skills/message-notification/agents/openai.yaml +5 -5
  37. package/skills/message-notification/references/contracts.md +102 -102
  38. package/skills/microi-ai-app-auth.js +652 -652
  39. package/skills/microi-ai-application/SKILL.md +106 -106
  40. package/skills/microi-ai-application/agents/openai.yaml +4 -4
  41. package/skills/microi-ai-application/references/frontend-baseline.md +164 -164
  42. package/skills/microi-client-frontend/SKILL.md +237 -237
  43. 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
  44. 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
  45. 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
  46. package/skills/microi-codex/SKILL.md +72 -70
  47. package/skills/microi-codex-installer/SKILL.md +225 -223
  48. package/skills/microi-codex-installer/agents/openai.yaml +7 -7
  49. package/skills/microi-datasource-mapping/SKILL.md +108 -108
  50. package/skills/microi-db-schema/SKILL.md +175 -175
  51. package/skills/microi-db-schema/agents/openai.yaml +4 -4
  52. package/skills/microi-db-schema/references/core-tables.md +695 -695
  53. package/skills/microi-db-schema/references/form-component-options.md +256 -256
  54. package/skills/microi-db-schema/references/schema-overview.md +202 -202
  55. package/skills/microi-db-schema/references/schema.md +646 -646
  56. package/skills/microi-db-schema/references/table-catalog.md +1599 -1599
  57. package/skills/microi-deployment/references/deployment-matrix.md +101 -101
  58. package/skills/microi-docs-coverage/scripts/audit-doc-skill-coverage.mjs +894 -894
  59. package/skills/microi-form-engine/SKILL.md +226 -226
  60. package/skills/microi-form-engine/references/component-catalog.md +216 -216
  61. package/skills/microi-form-engine/references/data-source-events.md +124 -124
  62. package/skills/microi-form-layout/SKILL.md +205 -205
  63. 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 +235 -235
  64. package/skills/microi-frontend-sdk/SKILL.md +188 -188
  65. 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
  66. package/skills/microi-left-right-layout/SKILL.md +141 -141
  67. package/skills/microi-microservice/SKILL.md +323 -323
  68. package/skills/microi-microservice/references/runtime-delivery.md +278 -278
  69. package/skills/microi-mobile-app-quality/SKILL.md +181 -181
  70. 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 +213 -213
  71. 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 +128 -128
  72. package/skills/microi-solution-quotation/SKILL.md +78 -78
  73. package/skills/microi-solution-quotation/agents/openai.yaml +4 -4
  74. package/skills/microi-solution-quotation/scripts/build_solution_quote.py +296 -296
  75. package/skills/microi-sso/references/acceptance.md +49 -49
  76. package/skills/microi-sso/references/configuration-and-security.md +53 -53
  77. package/skills/microi-sso/references/inbound.md +53 -53
  78. package/skills/microi-sso/references/outbound.md +39 -39
  79. package/skills/microi-system-delivery/SKILL.md +134 -134
  80. package/skills/microi-system-delivery/references/progressive-01-/346/240/207/345/207/206/345/267/245/344/275/234/346/265/201.md +193 -193
  81. package/skills/microi-system-delivery/references/progressive-02-/350/207/252/345/212/250/345/214/226/346/265/213/350/257/225/345/277/205/351/241/273/350/246/206/347/233/226/347/232/204/345/235/221.md +189 -189
  82. package/skills/microi-ui/SKILL.md +174 -174
  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 +193 -193
  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 +225 -225
  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 +250 -250
  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 +182 -182
  93. 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
  94. 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
  95. package/skills/performance-testing/SKILL.md +221 -221
  96. package/skills/playwright-e2e/SKILL.md +197 -197
  97. 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
  98. 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
  99. package/skills/playwright-e2e/references/progressive-03-microi-helper-/346/250/241/346/235/277.md +221 -221
  100. package/skills/playwright-e2e/references/progressive-04-ci-/345/273/272/350/256/256.md +115 -115
  101. package/skills/print-engine/SKILL.md +259 -259
  102. package/skills/production-readonly-audit/SKILL.md +41 -41
  103. package/skills/report-engine/SKILL.md +71 -71
  104. package/skills/report-engine/agents/openai.yaml +4 -4
  105. package/skills/scripts/optimize-progressive-disclosure.mjs +204 -204
  106. package/skills/scripts/refresh-progressive-disclosure.mjs +64 -64
  107. package/skills/search-engine/SKILL.md +75 -75
  108. package/skills/search-engine/agents/openai.yaml +4 -4
  109. package/skills/spider-engine/SKILL.md +190 -190
  110. package/skills/system-observability/SKILL.md +238 -238
  111. package/skills/system-observability/references/memory-incident-triage.md +70 -70
  112. package/skills/translate-engine/SKILL.md +140 -140
  113. package/skills/translate-engine/agents/openai.yaml +4 -4
  114. package/skills/ui-design/SKILL.md +191 -191
  115. package/skills/ui-design/assets/templates/MCI-DESIGN.md +198 -198
  116. package/skills/ui-design/references/design-pattern-library.md +184 -184
  117. package/skills/ui-design/references/mci-design-contract.md +163 -163
  118. 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
  119. package/skills/ui-design/references/progressive-02-/345/255/227/344/275/223.md +137 -137
  120. 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
  121. 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
  122. 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
  123. 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
  124. 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
  125. 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 +117 -117
  126. package/skills/uniapp-mall-assets/SKILL.md +176 -176
  127. package/skills/unity-integration/SKILL.md +155 -155
  128. package/skills/unity-integration/agents/openai.yaml +4 -4
  129. package/skills/unity-integration/references/ai-app-delivery.md +103 -103
  130. package/skills/unity-integration/references/sdk-api.md +82 -82
  131. package/skills/unity-integration/references/toolbox-migration.md +66 -66
  132. package/skills/unity-integration/references/webgl-hosting.md +57 -57
  133. package/skills/v8-cache-pattern/SKILL.md +306 -306
  134. package/skills/v8-crud-api/SKILL.md +175 -175
  135. 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
  136. 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
  137. package/skills/v8-debugging/SKILL.md +284 -284
  138. package/skills/v8-explorer-tree/SKILL.md +228 -228
  139. package/skills/v8-export-import/SKILL.md +209 -209
  140. 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
  141. package/skills/v8-export-import/references/progressive-02-powerpoint-/345/257/274/345/207/272.md +202 -202
  142. 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
  143. package/skills/v8-file-upload/SKILL.md +263 -263
  144. 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 +101 -101
  145. 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 +150 -150
  146. package/skills/v8-formengine-http/SKILL.md +219 -219
  147. package/skills/v8-frontend-events/SKILL.md +178 -178
  148. package/skills/v8-frontend-events/references/bluetooth-print-api.md +135 -135
  149. package/skills/v8-frontend-events/references/bluetooth-print.md +246 -246
  150. package/skills/v8-frontend-events/references/progressive-01-/345/210/227/350/241/250/344/272/213/344/273/266.md +219 -219
  151. package/skills/v8-http-integration/SKILL.md +182 -182
  152. package/skills/v8-http-integration/references/progressive-01-get-/350/257/267/346/261/202.md +220 -220
  153. 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
  154. package/skills/v8-image-processing/SKILL.md +190 -190
  155. package/skills/v8-image-processing/agents/openai.yaml +4 -4
  156. package/skills/v8-image-processing/references/api-reference.md +623 -623
  157. package/skills/v8-menu-buttons/SKILL.md +180 -180
  158. 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
  159. 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
  160. 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
  161. package/skills/v8-mongodb/SKILL.md +192 -192
  162. package/skills/v8-mq-mqtt/SKILL.md +176 -176
  163. package/skills/v8-mq-mqtt/references/mqtt-production.md +342 -342
  164. package/skills/v8-mq-mqtt/references/progressive-01-v8-mqtt-iot-/347/211/251/350/201/224/347/275/221.md +181 -181
  165. package/skills/v8-mq-mqtt/scripts/check-mqtt-skill-coverage.mjs +203 -203
  166. package/skills/v8-saas-multi-tenant/SKILL.md +219 -219
  167. package/skills/v8-security/SKILL.md +168 -168
  168. package/skills/v8-security/references/progressive-01-2-/346/235/203/351/231/220/346/240/241/351/252/214.md +198 -198
  169. package/skills/v8-security/references/progressive-02-7-/346/227/245/345/277/227/350/256/260/345/275/225.md +158 -158
  170. package/skills/v8-sql-query/SKILL.md +302 -302
  171. package/skills/v8-table-event/SKILL.md +144 -144
  172. 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 +197 -197
  173. 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
  174. package/skills/v8-tcp-integration/SKILL.md +147 -147
  175. package/skills/v8-tcp-integration/agents/openai.yaml +4 -4
  176. package/skills/v8-template-engine/SKILL.md +167 -167
  177. package/skills/v8-utilities/SKILL.md +90 -90
  178. package/skills/v8-utilities/references/client-api-index.md +143 -143
  179. package/skills/v8-utilities/references/platform-http-routes.md +83 -83
  180. package/skills/v8-utilities/references/server-api-index.md +188 -188
  181. package/skills/v8-workflow/SKILL.md +243 -243
  182. 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
  183. package/skills/vision-engine/SKILL.md +159 -159
  184. package/skills/vision-engine/agents/openai.yaml +4 -4
  185. package/skills/vision-engine/references/architecture-and-acceptance.md +194 -194
  186. package/skills/workspace-conventions/SKILL.md +261 -261
  187. package/skills/workspace-conventions/references/progressive-01-/347/211/210/346/234/254/346/233/264/346/226/260/346/227/245/345/277/227/344/277/235/346/212/244/350/247/204/345/210/231-/345/274/272/345/210/266.md +208 -208
  188. package/skills/workspace-conventions/references/progressive-02-microi-net-api-/346/234/254/345/234/260/345/220/257/345/212/250/347/272/246/345/256/232.md +216 -216
  189. 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 +27 -27
@@ -5,13 +5,13 @@
5
5
  "url": "https://microi.net"
6
6
  },
7
7
  "description": "Microi吾码官方 AI 插件市场",
8
- "version": "5.7.8",
8
+ "version": "5.8.0",
9
9
  "plugins": [
10
10
  {
11
11
  "name": "microi",
12
12
  "source": ".",
13
13
  "description": "Microi吾码 AI 开发插件:服务器连接、Skills、MCP、V8 全量同步与低代码交付",
14
- "version": "5.7.8",
14
+ "version": "5.8.0",
15
15
  "strict": true
16
16
  }
17
17
  ]
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "microi",
3
- "version": "5.7.8",
3
+ "version": "5.8.0",
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.7.8",
3
+ "version": "5.8.0",
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.7.8",
8
+ "version": "5.8.0",
9
9
  "plugins": [
10
10
  {
11
11
  "name": "microi",
12
12
  "source": ".",
13
13
  "description": "Microi吾码 AI 开发插件:服务器连接、Skills、MCP、V8 全量同步与低代码交付",
14
- "version": "5.7.8",
14
+ "version": "5.8.0",
15
15
  "strict": true
16
16
  }
17
17
  ]
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "microi",
3
- "version": "5.7.8",
3
+ "version": "5.8.0",
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-09-30T18:53:11.350Z",
3
- "version": "5.7.8",
2
+ "builtAt": "2026-10-01T06:04:33.248Z",
3
+ "version": "5.8.0",
4
4
  "sourceProducts": [
5
5
  "vscode-extension",
6
6
  "microi-cli",
@@ -10,10 +10,10 @@
10
10
  "commands": 55,
11
11
  "skills": 67,
12
12
  "hashes": {
13
- "mcpServer": "d3ca0608d91040cbcc5867ffc3dfb2bfb167803a1ce9585bdaa12f1074ee7502",
14
- "cli": "bd1adffcb4dfd430780c5424a1587f6f07fb6027b525634e7172c70f70214931",
13
+ "mcpServer": "fef8c76f20b4c3171731a3beac7580c164bb2001eb025e67779af988632e0360",
14
+ "cli": "7dbc7a3364e6d1f884accfe0dc704f12b595bcd6ca20fbbf0f1fe51369bb4525",
15
15
  "router": "1cb624a05b38ea717601b4dc678426840fbd39220014fc5316f09f2e6b50f733",
16
- "broker": "fffe3a7bbbc0c842d69c2eda09a0490ce0055a060f56d6a6d6230046e8952749",
17
- "dshBundle": "4750663845356f8598e362fa4f75580c21d003067a5db5c470fb3a517e670c20"
16
+ "broker": "e4f21ac938950af5a446a2f5f39acc6e6e73535eab6e644fac6e04e73c4069e9",
17
+ "dshBundle": "8672b0434ecad691bd9b8f9ad393c98cff1cd79f93ff38ffcd21af335d2c3961"
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.7.8';\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.8.0';\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.7.8",
3
+ "version": "5.8.0",
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",
File without changes