@microi.net/cli 4.9.9 → 5.0.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.
@@ -5,13 +5,13 @@
5
5
  "url": "https://microi.net"
6
6
  },
7
7
  "description": "Microi吾码官方 AI 插件市场",
8
- "version": "4.9.9",
8
+ "version": "5.0.0",
9
9
  "plugins": [
10
10
  {
11
11
  "name": "microi",
12
12
  "source": ".",
13
13
  "description": "Microi吾码 AI 开发插件:服务器连接、Skills、MCP、V8 全量同步与低代码交付",
14
- "version": "4.9.9",
14
+ "version": "5.0.0",
15
15
  "strict": true
16
16
  }
17
17
  ]
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "microi",
3
- "version": "4.9.9",
3
+ "version": "5.0.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": "4.9.9",
3
+ "version": "5.0.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": "4.9.9",
8
+ "version": "5.0.0",
9
9
  "plugins": [
10
10
  {
11
11
  "name": "microi",
12
12
  "source": ".",
13
13
  "description": "Microi吾码 AI 开发插件:服务器连接、Skills、MCP、V8 全量同步与低代码交付",
14
- "version": "4.9.9",
14
+ "version": "5.0.0",
15
15
  "strict": true
16
16
  }
17
17
  ]
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "microi",
3
- "version": "4.9.9",
3
+ "version": "5.0.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-08-13T06:30:34.589Z",
3
- "version": "4.9.9",
2
+ "builtAt": "2026-08-13T12:00:00.657Z",
3
+ "version": "5.0.0",
4
4
  "sourceProducts": [
5
5
  "vscode-extension",
6
6
  "microi-cli",
@@ -9,9 +9,9 @@
9
9
  "commands": 55,
10
10
  "skills": 62,
11
11
  "hashes": {
12
- "mcpServer": "a89be7b8cd8ae5b1a505445afa2d5204d8fbf9218aa06e5ef16a6d75da5dc1fa",
13
- "cli": "bd60a2a02af3ff6337891e89ed7206499b4bebf4fe3f1b08a252a65804dcd375",
12
+ "mcpServer": "6b29b130ed7a73ee19427ff9b49fcea1b8f6674d1075ef6a96c9c3f776832f54",
13
+ "cli": "46004a91aa99d227781d9291470e5925b26d5cb3971aa5015769b5f62120a3ee",
14
14
  "router": "c9d038a1d42c0c7680019ca73677010631abdbb1468d340dba8ca0cd9ce84851",
15
- "broker": "2f093466baded3f55e612572a19323b6e09d7e4a6c178f65375f43c36e2fa47b"
15
+ "broker": "42a9d89ad7b960a324da949939ef46266aa66e21068e6fbfd040cecc58b7c956"
16
16
  }
17
17
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@microi.net/cli",
3
- "version": "4.9.9",
3
+ "version": "5.0.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",
@@ -105,7 +105,7 @@ data: ${JSON.stringify(e)}
105
105
  `):void 0}function hq(t){let e=t.replace(/^\uFEFF/,""),r=e.match(/^\s*\/\*[\s\S]*?\*\/\s*/);if(!r)return{body:e};let n=r[0];return/Microi\s+V8|Version\s*:|ChangeLog\s*:|ApiEngineKey\s*:|TableKey\s*:|WorkflowKey\s*:/i.test(n)?{header:n,body:e.slice(n.length)}:{body:e}}function gq(t,e,r){let n=t.functionDescription||mq(r||""),i=fq(n),a=t.kind==="ApiEngine"?"V8 ApiEngine":t.kind==="V8Event"?"V8 Event":"V8 Workflow",o=t.kind==="ApiEngine"?"ApiEngineKey":t.kind==="V8Event"?"TableKey":"WorkflowKey",s=["/*",` * ${a}`,` * ${o}: ${t.key}`];t.eventType&&s.push(` * EventType: ${t.eventType}`),s.push(` * Version: ${e}`),s.push(" * Function:");for(let c of i)s.push(` * - ${c}`);return s.push(" */"),`${s.join(`
106
106
  `)}
107
107
 
108
- `}function Xs(t){let e=tp(t.currentCode),r=tp(t.remoteCode),n=tp(t.remoteVersion),i=pq([e,r,n]),a=t.initial?i||"v1.0.0":dq(i),{header:o,body:s}=hq(t.currentCode||""),c=`${gq(t,a,o)}${s.replace(/^\s+/,"")}`,l=(t.changeSummary||"\u540C\u6B65 V8 \u4EE3\u7801").trim();return{code:c,version:a,changeHistory:`${a} ${l}`}}var D8=$e(require("node:child_process"),1),rp=$e(require("node:fs"),1),z8=$e(require("node:path"),1),yq=["Add-Type -AssemblyName System.Security;","$inputBase64 = [Console]::In.ReadToEnd().Trim();","$cipher = [Convert]::FromBase64String($inputBase64);","$plain = [Security.Cryptography.ProtectedData]::Unprotect($cipher, $null, [Security.Cryptography.DataProtectionScope]::CurrentUser);","[Console]::Out.Write([Convert]::ToBase64String($plain));"].join(" ");function bq(t){if(process.platform!=="win32")throw new Error("Windows DPAPI is unavailable on this platform");let e=process.env.SystemRoot||"C:\\Windows",r=z8.default.join(e,"System32","WindowsPowerShell","v1.0","powershell.exe"),n=D8.default.spawnSync(r,["-NoLogo","-NoProfile","-NonInteractive","-ExecutionPolicy","Bypass","-Command",yq],{input:t.toString("base64"),encoding:"utf8",windowsHide:!0,maxBuffer:4*1024*1024});if(n.status!==0||!String(n.stdout||"").trim())throw new Error("Windows DPAPI unprotect failed");return Buffer.from(String(n.stdout).trim(),"base64")}function F8(t,e=bq){let r=String(t.filePath||"").trim(),n=String(t.usernameKey||"").trim(),i=String(t.passwordKey||"").trim();if(!(!r||!n||!i||!rp.default.existsSync(r))&&!(rp.default.statSync(r).size>2*1024*1024))try{let a=JSON.parse(rp.default.readFileSync(r,"utf8"));if(a.version!==1||a.protection!=="windows-dpapi-current-user"||typeof a.ciphertext!="string"||!a.ciphertext)return;let o=e(Buffer.from(a.ciphertext,"base64")),s=JSON.parse(o.toString("utf8"));if(s.version!==1||!s.values||typeof s.values!="object")return;let c=typeof s.values[n]=="string"?s.values[n]:"",l=typeof s.values[i]=="string"?s.values[i]:"";return c&&l?{username:c,password:l}:void 0}catch{return}}var vq=new Set([1001,1002]),xq=`-----BEGIN PUBLIC KEY-----
108
+ `}function Xs(t){let e=tp(t.currentCode),r=tp(t.remoteCode),n=tp(t.remoteVersion),i=pq([e,r,n]),a=t.initial?i||"v1.0.0":dq(i),{header:o,body:s}=hq(t.currentCode||""),c=`${gq(t,a,o)}${s.replace(/^\s+/,"")}`,l=(t.changeSummary||"\u540C\u6B65 V8 \u4EE3\u7801").trim();return{code:c,version:a,changeHistory:`${a} ${l}`}}var D8=$e(require("node:child_process"),1),rp=$e(require("node:fs"),1),z8=$e(require("node:path"),1),yq=["Add-Type -AssemblyName System.Security;","$inputBase64 = [Console]::In.ReadToEnd().Trim();","$cipher = [Convert]::FromBase64String($inputBase64);","$plain = [Security.Cryptography.ProtectedData]::Unprotect($cipher, $null, [Security.Cryptography.DataProtectionScope]::CurrentUser);","[Console]::Out.Write([Convert]::ToBase64String($plain));"].join(" ");function bq(t){if(process.platform!=="win32")throw new Error("Windows DPAPI is unavailable on this platform");let e=process.env.SystemRoot||"C:\\Windows",r=z8.default.join(e,"System32","WindowsPowerShell","v1.0","powershell.exe"),n=D8.default.spawnSync(r,["-NoLogo","-NoProfile","-NonInteractive","-ExecutionPolicy","Bypass","-Command",yq],{input:t.toString("base64"),encoding:"utf8",windowsHide:!0,maxBuffer:4*1024*1024,timeout:15e3});if(n.error||n.status!==0||!String(n.stdout||"").trim())throw new Error("Windows DPAPI unprotect failed");return Buffer.from(String(n.stdout).trim(),"base64")}function F8(t,e=bq){let r=String(t.filePath||"").trim(),n=String(t.usernameKey||"").trim(),i=String(t.passwordKey||"").trim();if(!(!r||!n||!i||!rp.default.existsSync(r))&&!(rp.default.statSync(r).size>2*1024*1024))try{let a=JSON.parse(rp.default.readFileSync(r,"utf8"));if(a.version!==1||a.protection!=="windows-dpapi-current-user"||typeof a.ciphertext!="string"||!a.ciphertext)return;let o=e(Buffer.from(a.ciphertext,"base64")),s=JSON.parse(o.toString("utf8"));if(s.version!==1||!s.values||typeof s.values!="object")return;let c=typeof s.values[n]=="string"?s.values[n]:"",l=typeof s.values[i]=="string"?s.values[i]:"";return c&&l?{username:c,password:l}:void 0}catch{return}}var vq=new Set([1001,1002]),xq=`-----BEGIN PUBLIC KEY-----
109
109
  MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQC7q21EG3HiSFNO9XFUJoMeyz2R
110
110
  XaFX8UgCFE4d4pvK6IvQsWunm+WfYqgrSzBMS1LH1fstmZB0wnVUX1uGROaZTKGZ
111
111
  1rS/MVn4i6CsPgP9Q7nFV6dZvbxro1byH/E3CV/Q1CgCDeue9FzQUlWQ+UZld8Jg