@microi.net/cli 4.7.6 → 4.7.9

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.
package/README.md CHANGED
@@ -22,6 +22,8 @@ microi profile add
22
22
  microi auth login --profile 1
23
23
  microi ai init
24
24
  microi mcp init
25
+ microi codex status --json
26
+ microi codex install --yes
25
27
  microi pull --scope all --profile 1
26
28
  microi sync status --scope all --profile 1
27
29
  microi push "Microi-V8-Engine/.../接口.js"
@@ -30,6 +32,8 @@ microi doctor
30
32
 
31
33
  自动化脚本可加 `--json`,并用 `--workspace D:\path\to\project` 指定工作区。`push` 是显式远端写入命令,不会因普通文件保存自动执行。
32
34
 
35
+ `microi codex install` 会注册 `microi-net` marketplace、安装 `microi@microi-net`,并在新版安装成功后迁移旧的 `microi-official` 标识。该操作会修改 Codex 全局配置,交互模式会询问确认;AI/CI 只有在用户已经明确授权时才可传 `--yes`。开发者可用 `--source <可信本地目录或Git源>` 验收源码 marketplace。
36
+
33
37
  ## 与 VS Code 插件的关系
34
38
 
35
39
  - 共用 `Microi-V8-Engine/.microi-config.json` 和 `.microi-mcp-tokens.json`。
@@ -55,7 +59,7 @@ cd ..
55
59
  npm run publish:preflight
56
60
  ```
57
61
 
58
- 预检通过后执行 `npm run publish`。脚本会在递增版本前验证 npm、Visual Studio Marketplace 和 Open VSX 三方权限,同时更新插件/CLI/Skills 版本,优先发布 CLI,并在结束时回读三端公开版本。旧的 `publish-tokens.json` 曾被 Git 跟踪,必须废弃其 PAT,把新 PAT 放入环境变量或 `publish-tokens.local.json`,再删除旧文件并从 Git 索引移除;脚本不再读取它。
62
+ 预检通过后执行 `npm run publish`。脚本会在递增版本前验证 npm、Visual Studio Marketplace 和 Open VSX 三方权限,同时更新插件/CLI/Skills 版本;npm 阶段先发布 Codex Plugin,确认安装目标可用后才发布内含安装器的 CLI,并在结束时回读全部公开版本。旧的 `publish-tokens.json` 曾被 Git 跟踪,必须废弃其 PAT,把新 PAT 放入环境变量或 `publish-tokens.local.json`,再删除旧文件并从 Git 索引移除;脚本不再读取它。
59
63
 
60
64
  如果当前版本的 VS Marketplace 与 Open VSX 已经发布、只需补发 CLI,不要再次运行普通发布命令;执行:
61
65
 
@@ -0,0 +1,22 @@
1
+ {
2
+ "name": "microi-net",
3
+ "interface": {
4
+ "displayName": "Microi.Net"
5
+ },
6
+ "plugins": [
7
+ {
8
+ "name": "microi",
9
+ "source": {
10
+ "source": "npm",
11
+ "package": "@microi.net/codex-plugin",
12
+ "version": "4.7.9",
13
+ "registry": "https://registry.npmjs.org"
14
+ },
15
+ "policy": {
16
+ "installation": "AVAILABLE",
17
+ "authentication": "ON_USE"
18
+ },
19
+ "category": "developer-tools"
20
+ }
21
+ ]
22
+ }