@aiti-ai/aiti-containers 0.1.0 → 0.1.2

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/DESC.en.md ADDED
@@ -0,0 +1,3 @@
1
+ Container management panel: containers / images / volumes / networks with compose-project grouping, supporting start-stop, logs, removal, pruning and exec inside a container. The same capabilities are exposed to AI as `aiti_containers_*` tools (destructive actions require confirmation).
2
+
3
+ Auto-detects docker / podman / nerdctl — no configuration needed. Read-only operations (list / logs / inspect) are always available; destructive operations (remove / prune / compose down / exec) require a second confirmation.
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/icon.svg CHANGED
@@ -1 +1 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M21 8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16Z"/><path d="m3.3 7 8.7 5 8.7-5"/><path d="M12 22V12"/></svg>
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M21 8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16Z"/><path d="m3.3 7 8.7 5 8.7-5"/><path d="M12 22V12"/></svg>
package/package.json CHANGED
@@ -1,7 +1,13 @@
1
1
  {
2
2
  "name": "@aiti-ai/aiti-containers",
3
- "version": "0.1.0",
3
+ "version": "0.1.2",
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
+ "displayNameI18n": {
6
+ "en": "Containers"
7
+ },
8
+ "descriptionI18n": {
9
+ "zh-CN": "AI 窗里的容器浏览器:容器 / 镜像 / 卷 / 网络 / compose 项目,操作走白名单,另带 docker / podman / nerdctl 的 agent 工具"
10
+ },
5
11
  "type": "module",
6
12
  "scripts": {
7
13
  "build": "node tools/build.mjs",
@@ -9,6 +15,9 @@
9
15
  "deploy": "node tools/deploy.mjs"
10
16
  },
11
17
  "soul": "容器不是黑盒——看得见、点得动,AI 也说得清。",
18
+ "soulI18n": {
19
+ "en": "Containers are not a black box — you can see them, click them, and the AI can explain them."
20
+ },
12
21
  "aitiExtProtocol": "1.0",
13
22
  "license": "MIT",
14
23
  "repository": {
@@ -23,5 +32,5 @@
23
32
  "devDependencies": {
24
33
  "esbuild": "^0.24.2"
25
34
  },
26
- "contentHash": "4744de5348535863"
35
+ "contentHash": "80616f98a93d3117"
27
36
  }
package/tools/deploy.mjs CHANGED
@@ -29,7 +29,7 @@ try {
29
29
 
30
30
  for (const extDir of targets) {
31
31
  mkdirSync(extDir, { recursive: true });
32
- for (const f of ["index.ts", "package.json", "icon.svg", "DESC.md", "README.md", "AGENTS.md"]) {
32
+ for (const f of ["index.ts", "package.json", "icon.svg", "DESC.md", "DESC.en.md", "README.md", "AGENTS.md"]) {
33
33
  try {
34
34
  copyFileSync(resolve(root, f), resolve(extDir, f));
35
35
  } catch {