@microi.net/cli 6.0.8 → 6.1.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 (119) 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 +5 -5
  7. package/cordis.patch.yml +1 -1
  8. package/package.json +1 -1
  9. package/scripts/mcp-server.js +96 -96
  10. package/scripts/microi-cli.js +1 -1
  11. package/scripts/microi-skills.meta.json +309 -309
  12. package/skills/.microi-skills-version.json +2 -2
  13. package/skills/.progressive-disclosure-manifest.json +13 -13
  14. package/skills/README.md +287 -287
  15. package/skills/ai-engine/SKILL.md +273 -273
  16. package/skills/ai-engine/references/ai-employees.md +48 -48
  17. package/skills/ai-engine/references/self-hosted-digital-human.md +59 -59
  18. package/skills/ai-platform-governance/references/progressive-01-/345/212/237/350/203/275/345/274/200/345/205/263.md +2 -2
  19. package/skills/app-store/SKILL.md +3 -3
  20. package/skills/business-blueprint/SKILL.md +193 -193
  21. package/skills/datasource-engine/SKILL.md +93 -93
  22. package/skills/dos-orm/SKILL.md +105 -105
  23. package/skills/dos-orm/references/api-reference.md +229 -229
  24. package/skills/email-engine/SKILL.md +81 -81
  25. package/skills/email-engine/references/v8-email.md +34 -34
  26. package/skills/job-engine/SKILL.md +176 -176
  27. package/skills/message-notification/SKILL.md +156 -156
  28. package/skills/message-notification/references/contracts.md +102 -102
  29. package/skills/microi/SKILL.md +14 -14
  30. package/skills/microi-ai-app-auth.js +1 -1
  31. package/skills/microi-ai-application/SKILL.md +115 -115
  32. package/skills/microi-ai-application/references/frontend-baseline.md +164 -164
  33. package/skills/microi-client-frontend/SKILL.md +19 -19
  34. 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 +10 -10
  35. 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 +10 -10
  36. 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 +10 -10
  37. package/skills/microi-codex/SKILL.md +130 -130
  38. package/skills/microi-codex-installer/SKILL.md +233 -233
  39. package/skills/microi-datasource-mapping/SKILL.md +122 -122
  40. package/skills/microi-db-schema/SKILL.md +175 -175
  41. package/skills/microi-db-schema/references/core-tables.md +695 -695
  42. package/skills/microi-db-schema/references/form-component-options.md +256 -256
  43. package/skills/microi-db-schema/references/schema-overview.md +202 -202
  44. package/skills/microi-db-schema/references/schema.md +646 -646
  45. package/skills/microi-db-schema/references/table-catalog.md +1599 -1599
  46. package/skills/microi-deployment/SKILL.md +260 -258
  47. package/skills/microi-deployment/references/deployment-matrix.md +109 -109
  48. package/skills/microi-docs-coverage/SKILL.md +133 -133
  49. package/skills/microi-docs-coverage/references/capability-map.md +91 -91
  50. package/skills/microi-form-engine/SKILL.md +338 -338
  51. package/skills/microi-form-engine/references/component-catalog.md +218 -218
  52. package/skills/microi-form-engine/references/data-source-events.md +124 -124
  53. package/skills/microi-left-right-layout/SKILL.md +141 -141
  54. package/skills/microi-microservice/SKILL.md +353 -348
  55. package/skills/microi-microservice/references/runtime-delivery.md +282 -282
  56. package/skills/microi-solution-quotation/SKILL.md +78 -78
  57. package/skills/microi-sso/SKILL.md +102 -102
  58. package/skills/microi-sso/references/acceptance.md +51 -51
  59. package/skills/microi-sso/references/configuration-and-security.md +53 -53
  60. package/skills/microi-sso/references/inbound.md +53 -53
  61. package/skills/microi-sso/references/outbound.md +43 -43
  62. package/skills/microi-system-delivery/SKILL.md +18 -16
  63. package/skills/microi-system-delivery/references/context-quality.md +3 -3
  64. package/skills/microi-system-delivery/references/progressive-01-/346/240/207/345/207/206/345/267/245/344/275/234/346/265/201.md +11 -11
  65. 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 +12 -8
  66. package/skills/microi-system-delivery/references/progressive-03-/345/256/211/345/205/250/344/270/216/350/267/250/347/253/257/351/252/214/346/224/266.md +8 -8
  67. package/skills/module-engine/SKILL.md +297 -297
  68. package/skills/module-engine/references/module-config.md +204 -204
  69. package/skills/ocr-engine/SKILL.md +113 -113
  70. package/skills/page-engine/SKILL.md +24 -24
  71. 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 +10 -10
  72. 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 +12 -12
  73. package/skills/performance-testing/SKILL.md +227 -227
  74. package/skills/print-engine/SKILL.md +259 -259
  75. package/skills/production-readonly-audit/SKILL.md +41 -41
  76. package/skills/report-engine/SKILL.md +83 -83
  77. package/skills/search-engine/SKILL.md +75 -75
  78. package/skills/spider-engine/SKILL.md +190 -190
  79. package/skills/system-observability/SKILL.md +264 -264
  80. package/skills/system-observability/references/memory-incident-triage.md +77 -77
  81. package/skills/translate-engine/SKILL.md +140 -140
  82. package/skills/ui-design/assets/templates/MCI-DESIGN.md +206 -206
  83. package/skills/ui-design/references/design-pattern-library.md +184 -184
  84. package/skills/ui-design/references/mci-design-contract.md +163 -163
  85. package/skills/ui-design/references/motion-and-media.md +78 -78
  86. package/skills/ui-design/references/product-flow-recipes.md +94 -94
  87. package/skills/uniapp-mall-assets/SKILL.md +176 -176
  88. package/skills/unity-integration/SKILL.md +178 -178
  89. package/skills/unity-integration/references/ai-app-delivery.md +119 -119
  90. package/skills/unity-integration/references/sdk-api.md +82 -82
  91. package/skills/unity-integration/references/toolbox-migration.md +66 -66
  92. package/skills/unity-integration/references/webgl-hosting.md +57 -57
  93. package/skills/v8-cache-pattern/SKILL.md +320 -320
  94. package/skills/v8-debugging/SKILL.md +284 -284
  95. package/skills/v8-explorer-tree/SKILL.md +228 -228
  96. package/skills/v8-file-upload/SKILL.md +1 -1
  97. package/skills/v8-file-upload/references/cdn-alias-repair.md +13 -13
  98. package/skills/v8-formengine-http/SKILL.md +238 -238
  99. package/skills/v8-frontend-events/references/bluetooth-print-api.md +135 -135
  100. package/skills/v8-frontend-events/references/bluetooth-print.md +258 -258
  101. package/skills/v8-image-processing/SKILL.md +190 -190
  102. package/skills/v8-image-processing/references/api-reference.md +623 -623
  103. package/skills/v8-mongodb/SKILL.md +201 -201
  104. package/skills/v8-mq-mqtt/references/mqtt-production.md +352 -352
  105. package/skills/v8-saas-multi-tenant/SKILL.md +305 -305
  106. package/skills/v8-sql-query/SKILL.md +302 -302
  107. package/skills/v8-tcp-integration/SKILL.md +158 -158
  108. package/skills/v8-template-engine/SKILL.md +167 -167
  109. package/skills/v8-utilities/SKILL.md +104 -104
  110. package/skills/v8-utilities/references/client-api-index.md +143 -143
  111. package/skills/v8-utilities/references/platform-http-routes.md +83 -83
  112. package/skills/v8-utilities/references/server-api-index.md +188 -188
  113. package/skills/v8-workflow/references/workflow-configuration.md +49 -49
  114. package/skills/vision-engine/SKILL.md +160 -160
  115. package/skills/vision-engine/references/architecture-and-acceptance.md +194 -194
  116. package/skills/workspace-conventions/SKILL.md +15 -3
  117. 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 +33 -33
  118. 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 +34 -34
  119. 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 +6 -6
@@ -5,13 +5,13 @@
5
5
  "url": "https://microi.net"
6
6
  },
7
7
  "description": "Microi吾码官方 AI 插件市场",
8
- "version": "6.0.8",
8
+ "version": "6.1.0",
9
9
  "plugins": [
10
10
  {
11
11
  "name": "microi",
12
12
  "source": ".",
13
13
  "description": "Microi吾码 AI 开发插件:服务器连接、Skills、MCP、V8 全量同步与低代码交付",
14
- "version": "6.0.8",
14
+ "version": "6.1.0",
15
15
  "strict": true
16
16
  }
17
17
  ]
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "microi",
3
- "version": "6.0.8",
3
+ "version": "6.1.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": "6.0.8",
3
+ "version": "6.1.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": "6.0.8",
8
+ "version": "6.1.0",
9
9
  "plugins": [
10
10
  {
11
11
  "name": "microi",
12
12
  "source": ".",
13
13
  "description": "Microi吾码 AI 开发插件:服务器连接、Skills、MCP、V8 全量同步与低代码交付",
14
- "version": "6.0.8",
14
+ "version": "6.1.0",
15
15
  "strict": true
16
16
  }
17
17
  ]
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "microi",
3
- "version": "6.0.8",
3
+ "version": "6.1.0",
4
4
  "description": "Microi吾码 AI 开发插件:服务器连接、Skills、MCP、V8 全量同步与低代码交付",
5
5
  "author": {
6
6
  "name": "Microi.Net",
@@ -1,6 +1,6 @@
1
1
  {
2
- "builtAt": "2026-10-19T19:32:29.333Z",
3
- "version": "6.0.8",
2
+ "builtAt": "2026-10-20T09:44:11.161Z",
3
+ "version": "6.1.0",
4
4
  "sourceProducts": [
5
5
  "vscode-extension",
6
6
  "microi-cli",
@@ -10,10 +10,10 @@
10
10
  "commands": 55,
11
11
  "skills": 68,
12
12
  "hashes": {
13
- "mcpServer": "b6948b4ff6af060a36ffad9576f723c794333cc0ef308a6da89ff14aaabb5464",
14
- "cli": "57c0f273f38740675e705d796107d61eaa5080b411060567eb19f17e1677a87b",
13
+ "mcpServer": "4168ab942a1e010750b381ac11d3fdfbc37d14100a8f51f2236948d4cd5c1ea7",
14
+ "cli": "4aea8e9c7f4b6bda4c16e7eaf995e8ae3398cce0cbcbc20b59b1849febda91ad",
15
15
  "router": "a65a0a9466c4bcfc1cee2a7182c77e4e73ae3221198abd0a0670f1d847fa2938",
16
16
  "broker": "ed04bbcc5bc7d62e447d82946889d1f72af653a9016675f81a01ef6cd88051b0",
17
- "dshBundle": "097ba120e7b92186130667ad805d07edb637eb1ab1d0f09c5e15128b2ecba553"
17
+ "dshBundle": "91efd54cf2e035862a007839d05cd11a8d92f32fe96343c5895b49ad8b85fd6e"
18
18
  }
19
19
  }
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","/*\r\n * DeepSeek Harness 通过 profile bundle 加载此 `node -e` 引导脚本。\r\n * DSH 不保证 MCP 子进程 cwd 位于 npm 包根,因此按 DSH_HOME/profile 定位\r\n * 当前版本的 @microi.net/cli,再复用 Codex 同源适配器与多连接路由器。\r\n */\r\nconst fs = require('node:fs');\r\nconst os = require('node:os');\r\nconst path = require('node:path');\r\nconst packageName = '@microi.net/cli';\r\nconst expectedVersion = '6.0.8';\r\n\r\nfunction readJson(filePath) {\r\n try { return JSON.parse(fs.readFileSync(filePath, 'utf8')); }\r\n catch { return undefined; }\r\n}\r\n\r\nfunction expandHome(value) {\r\n if (value === '~') return os.homedir();\r\n if (value.startsWith('~/') || value.startsWith('~\\\\')) return path.join(os.homedir(), value.slice(2));\r\n return value;\r\n}\r\n\r\nfunction validRoot(value) {\r\n const root = path.resolve(value);\r\n const pkg = readJson(path.join(root, 'package.json'));\r\n const patch = path.join(root, 'cordis.patch.yml');\r\n const adapter = path.join(root, 'scripts', 'mcp-codex-stdio-adapter.js');\r\n const router = path.join(root, 'scripts', 'microi-codex-router.js');\r\n if (pkg?.name !== packageName || pkg?.version !== expectedVersion) return undefined;\r\n if (pkg?.dsh?.bundle?.patch !== './cordis.patch.yml') return undefined;\r\n if (![patch, adapter, router].every(filePath => fs.existsSync(filePath))) return undefined;\r\n return { root: fs.realpathSync(root), adapter, router, modifiedAt: fs.statSync(router).mtimeMs };\r\n}\r\n\r\nfunction findPlugin() {\r\n const explicit = String(process.env.MICROI_DSH_PLUGIN_ROOT || '').trim();\r\n if (explicit) {\r\n const plugin = validRoot(explicit);\r\n if (!plugin) throw new Error(`MICROI_DSH_PLUGIN_ROOT 不是版本 ${expectedVersion} 的有效 Microi DSH bundle:${explicit}`);\r\n return plugin;\r\n }\r\n const configuredHome = String(process.env.DSH_HOME || '').trim();\r\n const dshHome = path.resolve(expandHome(configuredHome || path.join(os.homedir(), '.dsh')));\r\n const profilesRoot = path.join(dshHome, 'profiles');\r\n const candidates = [];\r\n if (fs.existsSync(profilesRoot)) {\r\n for (const entry of fs.readdirSync(profilesRoot, { withFileTypes: true })) {\r\n if (!entry.isDirectory() || entry.name === 'node_modules') continue;\r\n const root = path.join(profilesRoot, entry.name, 'node_modules', '@microi.net', 'cli');\r\n const plugin = validRoot(root);\r\n if (plugin) candidates.push(plugin);\r\n }\r\n }\r\n candidates.sort((left, right) => right.modifiedAt - left.modifiedAt);\r\n if (!candidates[0]) throw new Error(`未在 ${profilesRoot} 找到版本 ${expectedVersion} 的 ${packageName}`);\r\n return candidates[0];\r\n}\r\n\r\ntry {\r\n const plugin = findPlugin();\r\n process.env.MICROI_DSH_PLUGIN_ROOT = plugin.root;\r\n process.env.MICROI_CODEX_PLUGIN_ROOT = plugin.root;\r\n process.env.MICROI_TOOL_SOURCE = 'dsh';\r\n process.env.MICROI_TOOL_VERSION = expectedVersion;\r\n process.env.MICROI_WORKSPACE_ROOT = process.env.MICROI_WORKSPACE_ROOT || process.cwd();\r\n process.argv[2] = plugin.router;\r\n require(plugin.adapter);\r\n} catch (error) {\r\n console.error(`[microi-dsh-bootstrap] ${error instanceof Error ? error.message : String(error)}`);\r\n process.exit(1);\r\n}\r\n"]
10
+ args: ["-e","/*\r\n * DeepSeek Harness 通过 profile bundle 加载此 `node -e` 引导脚本。\r\n * DSH 不保证 MCP 子进程 cwd 位于 npm 包根,因此按 DSH_HOME/profile 定位\r\n * 当前版本的 @microi.net/cli,再复用 Codex 同源适配器与多连接路由器。\r\n */\r\nconst fs = require('node:fs');\r\nconst os = require('node:os');\r\nconst path = require('node:path');\r\nconst packageName = '@microi.net/cli';\r\nconst expectedVersion = '6.1.0';\r\n\r\nfunction readJson(filePath) {\r\n try { return JSON.parse(fs.readFileSync(filePath, 'utf8')); }\r\n catch { return undefined; }\r\n}\r\n\r\nfunction expandHome(value) {\r\n if (value === '~') return os.homedir();\r\n if (value.startsWith('~/') || value.startsWith('~\\\\')) return path.join(os.homedir(), value.slice(2));\r\n return value;\r\n}\r\n\r\nfunction validRoot(value) {\r\n const root = path.resolve(value);\r\n const pkg = readJson(path.join(root, 'package.json'));\r\n const patch = path.join(root, 'cordis.patch.yml');\r\n const adapter = path.join(root, 'scripts', 'mcp-codex-stdio-adapter.js');\r\n const router = path.join(root, 'scripts', 'microi-codex-router.js');\r\n if (pkg?.name !== packageName || pkg?.version !== expectedVersion) return undefined;\r\n if (pkg?.dsh?.bundle?.patch !== './cordis.patch.yml') return undefined;\r\n if (![patch, adapter, router].every(filePath => fs.existsSync(filePath))) return undefined;\r\n return { root: fs.realpathSync(root), adapter, router, modifiedAt: fs.statSync(router).mtimeMs };\r\n}\r\n\r\nfunction findPlugin() {\r\n const explicit = String(process.env.MICROI_DSH_PLUGIN_ROOT || '').trim();\r\n if (explicit) {\r\n const plugin = validRoot(explicit);\r\n if (!plugin) throw new Error(`MICROI_DSH_PLUGIN_ROOT 不是版本 ${expectedVersion} 的有效 Microi DSH bundle:${explicit}`);\r\n return plugin;\r\n }\r\n const configuredHome = String(process.env.DSH_HOME || '').trim();\r\n const dshHome = path.resolve(expandHome(configuredHome || path.join(os.homedir(), '.dsh')));\r\n const profilesRoot = path.join(dshHome, 'profiles');\r\n const candidates = [];\r\n if (fs.existsSync(profilesRoot)) {\r\n for (const entry of fs.readdirSync(profilesRoot, { withFileTypes: true })) {\r\n if (!entry.isDirectory() || entry.name === 'node_modules') continue;\r\n const root = path.join(profilesRoot, entry.name, 'node_modules', '@microi.net', 'cli');\r\n const plugin = validRoot(root);\r\n if (plugin) candidates.push(plugin);\r\n }\r\n }\r\n candidates.sort((left, right) => right.modifiedAt - left.modifiedAt);\r\n if (!candidates[0]) throw new Error(`未在 ${profilesRoot} 找到版本 ${expectedVersion} 的 ${packageName}`);\r\n return candidates[0];\r\n}\r\n\r\ntry {\r\n const plugin = findPlugin();\r\n process.env.MICROI_DSH_PLUGIN_ROOT = plugin.root;\r\n process.env.MICROI_CODEX_PLUGIN_ROOT = plugin.root;\r\n process.env.MICROI_TOOL_SOURCE = 'dsh';\r\n process.env.MICROI_TOOL_VERSION = expectedVersion;\r\n process.env.MICROI_WORKSPACE_ROOT = process.env.MICROI_WORKSPACE_ROOT || process.cwd();\r\n process.argv[2] = plugin.router;\r\n require(plugin.adapter);\r\n} catch (error) {\r\n console.error(`[microi-dsh-bootstrap] ${error instanceof Error ? error.message : String(error)}`);\r\n process.exit(1);\r\n}\r\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": "6.0.8",
3
+ "version": "6.1.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",