@aiti-ai/aiti-containers 0.1.0 → 0.1.1
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/DESC.en.md +3 -0
- package/icon.svg +1 -1
- package/package.json +11 -2
- package/tools/deploy.mjs +1 -1
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/icon.svg
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" width="
|
|
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.
|
|
3
|
+
"version": "0.1.1",
|
|
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": "
|
|
35
|
+
"contentHash": "b982fd9833bad613"
|
|
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 {
|