@aiti-ai/aiti-containers 0.1.1 → 0.1.3

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/AGENTS.md CHANGED
@@ -31,7 +31,7 @@ pi-web 扩展:容器管理面板 + agent 工具(对标 `microsoft/vscode-con
31
31
  node tools/build.mjs
32
32
  node tools/deploy.mjs
33
33
  curl -s http://127.0.0.1:30142/dev/api/extensions/aiti-containers/state | python3 -m json.tool | head -40
34
- node ../../pi-work/gates/gate-all.mjs --root ../.. # 仓根跑(本目录是 aiti-ai/extensions/aiti-containers)
34
+ node ../../workspace-tools/gates/gate-all.mjs --root ../.. # 仓根跑(本目录是 aiti-ai/extensions/aiti-containers)
35
35
  ```
36
36
 
37
37
  真机 UI:dev 实例(30142)打开面板;危险操作走「再点确认」。
package/README.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  把 VS Code Container Tools 的核心体验搬进 pi-web AI 窗:一个面板管容器 / 镜像 / 卷 / 网络 / compose 项目,同一套能力以 agent 工具暴露给 AI。
4
4
 
5
- 对标 `microsoft/vscode-containers`(调研与设计见 `pi-work/docs/aiti-containers-方案.md`)。
5
+ 对标 `microsoft/vscode-containers`(调研与设计见 `workspace-tools/docs/aiti-containers-方案.md`)。
6
6
 
7
7
  ## 功能
8
8
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aiti-ai/aiti-containers",
3
- "version": "0.1.1",
3
+ "version": "0.1.3",
4
4
  "description": "Container explorer for the pi-web AI window: containers / images / volumes / networks / compose projects with whitelisted actions, plus agent tools over docker, podman and nerdctl.",
5
5
  "displayNameI18n": {
6
6
  "en": "Containers"
@@ -32,5 +32,8 @@
32
32
  "devDependencies": {
33
33
  "esbuild": "^0.24.2"
34
34
  },
35
- "contentHash": "b982fd9833bad613"
35
+ "contentHash": "3bb02df5c45f1f4e",
36
+ "dependencies": {
37
+ "@aiti-ai/ext-shared": "^0.1.22"
38
+ }
36
39
  }
package/tools/deploy.mjs CHANGED
@@ -45,7 +45,7 @@ for (const extDir of targets) {
45
45
  }
46
46
 
47
47
  try {
48
- const { deployCommit } = await import("../../_shared/deploy-commit.mjs");
48
+ const { deployCommit } = await import("@aiti-ai/ext-shared/deploy-commit");
49
49
  deployCommit({ repo: extRepo, name, paths: [name], ident: true, log: (m) => console.log("[deploy] " + m) });
50
50
  } catch (e) {
51
51
  console.log("[deploy] deploy commit skipped:", String((e && e.message) || e));