@13rac1/openclaw-plugin-claude-code 1.0.4 → 1.0.5

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.
@@ -0,0 +1,88 @@
1
+ {
2
+ "id": "claude-code",
3
+ "version": "1.0.5",
4
+ "description": "Run Claude Code sessions in isolated Podman containers",
5
+ "main": "claude-code.js",
6
+ "tools": ["claude_code_start", "claude_code_status", "claude_code_output", "claude_code_cancel", "claude_code_cleanup", "claude_code_sessions"],
7
+ "configSchema": {
8
+ "type": "object",
9
+ "additionalProperties": false,
10
+ "properties": {
11
+ "image": {
12
+ "type": "string",
13
+ "default": "ghcr.io/13rac1/openclaw-claude-code:latest",
14
+ "description": "Container image for Claude Code sessions"
15
+ },
16
+ "runtime": {
17
+ "type": "string",
18
+ "default": "podman",
19
+ "description": "Container runtime (podman or docker)"
20
+ },
21
+ "startupTimeout": {
22
+ "type": "number",
23
+ "default": 30,
24
+ "description": "Seconds to wait for container to produce first output"
25
+ },
26
+ "idleTimeout": {
27
+ "type": "number",
28
+ "default": 120,
29
+ "description": "Kill container after this many seconds of no output (hung detection)"
30
+ },
31
+ "memory": {
32
+ "type": "string",
33
+ "default": "512m",
34
+ "description": "Memory limit for containers"
35
+ },
36
+ "cpus": {
37
+ "type": "string",
38
+ "default": "1.0",
39
+ "description": "CPU limit for containers"
40
+ },
41
+ "sessionsDir": {
42
+ "type": "string",
43
+ "default": "~/.openclaw/claude-sessions",
44
+ "description": "Directory for session data"
45
+ },
46
+ "workspacesDir": {
47
+ "type": "string",
48
+ "default": "~/.openclaw/workspaces",
49
+ "description": "Directory for session workspaces"
50
+ },
51
+ "network": {
52
+ "type": "string",
53
+ "default": "bridge",
54
+ "description": "Container network mode (none, bridge, host)"
55
+ },
56
+ "sessionIdleTimeout": {
57
+ "type": "number",
58
+ "default": 3600,
59
+ "description": "Cleanup idle sessions after this many seconds"
60
+ },
61
+ "apparmorProfile": {
62
+ "type": "string",
63
+ "default": "",
64
+ "description": "AppArmor profile name for containers (empty = disabled)"
65
+ },
66
+ "maxOutputSize": {
67
+ "type": "number",
68
+ "default": 10485760,
69
+ "description": "Maximum output size in bytes (0 = unlimited). Default 10MB."
70
+ }
71
+ }
72
+ },
73
+ "uiHints": {
74
+ "image": { "label": "Container Image" },
75
+ "runtime": { "label": "Container Runtime" },
76
+ "startupTimeout": { "label": "Startup Timeout (seconds)" },
77
+ "idleTimeout": { "label": "Idle Timeout (seconds)" },
78
+ "memory": { "label": "Memory Limit" },
79
+ "cpus": { "label": "CPU Limit" },
80
+ "network": { "label": "Network Mode" },
81
+ "sessionIdleTimeout": { "label": "Session Cleanup Timeout (seconds)" },
82
+ "apparmorProfile": { "label": "AppArmor Profile" },
83
+ "maxOutputSize": { "label": "Max Output Size (bytes)" }
84
+ },
85
+ "requires": {
86
+ "bins": ["podman"]
87
+ }
88
+ }
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "id": "claude-code",
3
- "version": "1.0.2",
3
+ "version": "1.0.5",
4
4
  "description": "Run Claude Code sessions in isolated Podman containers",
5
- "main": "dist/claude-code.js",
6
- "tools": ["claude_code", "claude_code_cleanup", "claude_code_sessions"],
5
+ "main": "claude-code.js",
6
+ "tools": ["claude_code_start", "claude_code_status", "claude_code_output", "claude_code_cancel", "claude_code_cleanup", "claude_code_sessions"],
7
7
  "configSchema": {
8
8
  "type": "object",
9
9
  "additionalProperties": false,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@13rac1/openclaw-plugin-claude-code",
3
- "version": "1.0.4",
3
+ "version": "1.0.5",
4
4
  "description": "OpenClaw plugin for running Claude Code CLI in isolated Podman containers",
5
5
  "type": "module",
6
6
  "license": "Apache-2.0",
@@ -34,7 +34,7 @@
34
34
  "openclaw.plugin.json"
35
35
  ],
36
36
  "scripts": {
37
- "build": "tsc && esbuild src/claude-code.ts --bundle --platform=node --format=esm --outfile=dist/claude-code.js --external:openclaw",
37
+ "build": "tsc && esbuild src/claude-code.ts --bundle --platform=node --format=esm --outfile=dist/claude-code.js --external:openclaw && cp openclaw.plugin.json dist/",
38
38
  "clean": "rm -rf dist coverage",
39
39
  "lint": "eslint src/",
40
40
  "lint:fix": "eslint src/ --fix",