@microi.net/cli 5.9.5 → 5.9.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (37) hide show
  1. package/.codebuddy-plugin/marketplace.json +2 -2
  2. package/.codebuddy-plugin/plugin.json +1 -1
  3. package/.codex-plugin/plugin.json +43 -43
  4. package/.mcp.json +1 -1
  5. package/.workbuddy-plugin/marketplace.json +2 -2
  6. package/.workbuddy-plugin/plugin.json +1 -1
  7. package/LICENSE +21 -21
  8. package/README.md +71 -71
  9. package/assets/build-meta.json +7 -7
  10. package/assets/feature-matrix.json +138 -138
  11. package/assets/logo.svg +4 -4
  12. package/cordis.patch.yml +1 -1
  13. package/package.json +82 -82
  14. package/scripts/codex-marketplace.json +20 -20
  15. package/scripts/mcp-codex-stdio-adapter.js +189 -189
  16. package/scripts/mcp-server.js +165 -435
  17. package/scripts/mcp-trae-windows-launcher.cmd +21 -21
  18. package/scripts/microi-cli-mcp.js +7 -7
  19. package/scripts/microi-cli.js +64 -673
  20. package/scripts/microi-codex-broker.js +466 -466
  21. package/scripts/microi-codex-router.js +635 -634
  22. package/scripts/microi-skills.meta.json +221 -212
  23. package/skills/.microi-skills-version.json +2 -2
  24. package/skills/.progressive-disclosure-manifest.json +62 -36
  25. package/skills/microi-codex/SKILL.md +3 -0
  26. package/skills/microi-codex-installer/SKILL.md +1 -1
  27. package/skills/microi-system-delivery/SKILL.md +20 -71
  28. package/skills/microi-system-delivery/references/context-quality.md +56 -0
  29. package/skills/microi-system-delivery/references/progressive-01-/346/240/207/345/207/206/345/267/245/344/275/234/346/265/201.md +39 -1
  30. 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 +3 -3
  31. 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 +71 -0
  32. package/skills/module-engine/SKILL.md +26 -0
  33. package/skills/page-engine/SKILL.md +21 -0
  34. package/skills/playwright-e2e/references/progressive-03-microi-helper-/346/250/241/346/235/277.md +3 -3
  35. package/skills/report-engine/SKILL.md +12 -0
  36. package/skills/workspace-conventions/SKILL.md +13 -180
  37. package/skills/workspace-conventions/references/progressive-04-/345/267/245/344/275/234/345/214/272/344/270/216/345/271/263/345/217/260/344/270/223/351/241/271/344/277/235/351/232/234.md +180 -0
@@ -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.5';\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","/*\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 = '5.9.7';\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,82 +1,82 @@
1
- {
2
- "name": "@microi.net/cli",
3
- "version": "5.9.5",
4
- "description": "Microi吾码 AI 开发 CLI 与多宿主 Plugin:服务器连接、Skills、MCP、V8 同步和低代码交付",
5
- "license": "MIT",
6
- "homepage": "https://microi.net/doc/v8-engine/vs-code-plugin.html",
7
- "repository": {
8
- "type": "git",
9
- "url": "https://git.itdos.net:88/anderson/microi.vscode.git",
10
- "directory": "plugins/microi"
11
- },
12
- "keywords": [
13
- "microi",
14
- "吾码",
15
- "cli",
16
- "codex-plugin",
17
- "workbuddy-plugin",
18
- "codebuddy-plugin",
19
- "deepseek-harness-plugin",
20
- "dsh-plugin",
21
- "qoder",
22
- "comate",
23
- "mcp",
24
- "mcp-server",
25
- "skills",
26
- "codex",
27
- "chatgpt",
28
- "low-code",
29
- "lowcode",
30
- "low-code-platform",
31
- "低代码",
32
- "低代码平台",
33
- "低代码开发平台",
34
- "ai",
35
- "artificial-intelligence",
36
- "ai-coding",
37
- "ai-development",
38
- "ai-agent",
39
- "agentic-ai",
40
- "ai-low-code",
41
- "AI编程",
42
- "AI开发",
43
- "AI低代码",
44
- "人工智能",
45
- "AI智能体",
46
- "智能开发",
47
- "v8",
48
- "v8-engine"
49
- ],
50
- "type": "commonjs",
51
- "bin": {
52
- "microi": "scripts/microi-cli.js"
53
- },
54
- "dsh": {
55
- "bundle": {
56
- "patch": "./cordis.patch.yml"
57
- }
58
- },
59
- "files": [
60
- ".codex-plugin/",
61
- ".codebuddy-plugin/",
62
- ".workbuddy-plugin/",
63
- ".mcp.json",
64
- "cordis.patch.yml",
65
- "assets/",
66
- "skills/",
67
- "scripts/",
68
- "LICENSE",
69
- "README.md"
70
- ],
71
- "engines": {
72
- "node": ">=18.18.0"
73
- },
74
- "publishConfig": {
75
- "access": "public",
76
- "registry": "https://registry.npmjs.org/"
77
- },
78
- "scripts": {
79
- "build": "node ../../cli/build.js --production",
80
- "prepack": "node ../../cli/build.js --production"
81
- }
82
- }
1
+ {
2
+ "name": "@microi.net/cli",
3
+ "version": "5.9.7",
4
+ "description": "Microi吾码 AI 开发 CLI 与多宿主 Plugin:服务器连接、Skills、MCP、V8 同步和低代码交付",
5
+ "license": "MIT",
6
+ "homepage": "https://microi.net/doc/v8-engine/vs-code-plugin.html",
7
+ "repository": {
8
+ "type": "git",
9
+ "url": "https://git.itdos.net:88/anderson/microi.vscode.git",
10
+ "directory": "plugins/microi"
11
+ },
12
+ "keywords": [
13
+ "microi",
14
+ "吾码",
15
+ "cli",
16
+ "codex-plugin",
17
+ "workbuddy-plugin",
18
+ "codebuddy-plugin",
19
+ "deepseek-harness-plugin",
20
+ "dsh-plugin",
21
+ "qoder",
22
+ "comate",
23
+ "mcp",
24
+ "mcp-server",
25
+ "skills",
26
+ "codex",
27
+ "chatgpt",
28
+ "low-code",
29
+ "lowcode",
30
+ "low-code-platform",
31
+ "低代码",
32
+ "低代码平台",
33
+ "低代码开发平台",
34
+ "ai",
35
+ "artificial-intelligence",
36
+ "ai-coding",
37
+ "ai-development",
38
+ "ai-agent",
39
+ "agentic-ai",
40
+ "ai-low-code",
41
+ "AI编程",
42
+ "AI开发",
43
+ "AI低代码",
44
+ "人工智能",
45
+ "AI智能体",
46
+ "智能开发",
47
+ "v8",
48
+ "v8-engine"
49
+ ],
50
+ "type": "commonjs",
51
+ "bin": {
52
+ "microi": "scripts/microi-cli.js"
53
+ },
54
+ "dsh": {
55
+ "bundle": {
56
+ "patch": "./cordis.patch.yml"
57
+ }
58
+ },
59
+ "files": [
60
+ ".codex-plugin/",
61
+ ".codebuddy-plugin/",
62
+ ".workbuddy-plugin/",
63
+ ".mcp.json",
64
+ "cordis.patch.yml",
65
+ "assets/",
66
+ "skills/",
67
+ "scripts/",
68
+ "LICENSE",
69
+ "README.md"
70
+ ],
71
+ "engines": {
72
+ "node": ">=18.18.0"
73
+ },
74
+ "publishConfig": {
75
+ "access": "public",
76
+ "registry": "https://registry.npmjs.org/"
77
+ },
78
+ "scripts": {
79
+ "build": "node ../../cli/build.js --production",
80
+ "prepack": "node ../../cli/build.js --production"
81
+ }
82
+ }
@@ -1,20 +1,20 @@
1
- {
2
- "name": "microi-net",
3
- "interface": {
4
- "displayName": "Microi.Net"
5
- },
6
- "plugins": [
7
- {
8
- "name": "microi",
9
- "source": {
10
- "source": "local",
11
- "path": "./plugins/microi"
12
- },
13
- "policy": {
14
- "installation": "AVAILABLE",
15
- "authentication": "ON_USE"
16
- },
17
- "category": "developer-tools"
18
- }
19
- ]
20
- }
1
+ {
2
+ "name": "microi-net",
3
+ "interface": {
4
+ "displayName": "Microi.Net"
5
+ },
6
+ "plugins": [
7
+ {
8
+ "name": "microi",
9
+ "source": {
10
+ "source": "local",
11
+ "path": "./plugins/microi"
12
+ },
13
+ "policy": {
14
+ "installation": "AVAILABLE",
15
+ "authentication": "ON_USE"
16
+ },
17
+ "category": "developer-tools"
18
+ }
19
+ ]
20
+ }