sandboxbox 1.2.2 โ†’ 2.0.0

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.
@@ -1,410 +0,0 @@
1
-
2
- > sandboxbox@1.2.1 build
3
- > node cli.js build Dockerfile
4
-
5
- ๐Ÿ“ฆ SandboxBox - Zero-Privilege Container Runner
6
- โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•
7
-
8
- ๐Ÿ—๏ธ Building container...
9
- โœ… Using bundled bubblewrap
10
- โœ… Bubblewrap found: bubblewrap 0.9.0
11
- โš ๏ธ User namespaces not available
12
-  Try: sudo sysctl kernel.unprivileged_userns_clone=1
13
-  Or: echo 1 | sudo tee /proc/sys/kernel/unprivileged_userns_clone
14
- โœ… Using bundled bubblewrap
15
- ๐Ÿณ Building container with bubblewrap isolation...
16
-
17
- ๐Ÿ“ฆ FROM node:20
18
- โš ๏ธ Unknown base image type
19
-
20
- ๐Ÿ—๏ธ ARG TZ
21
-
22
- ๐Ÿ”ง ENV TZ="$TZ"
23
-
24
- ๐Ÿ—๏ธ ARG CLAUDE_CODE_VERSION=latest
25
-
26
- โš™๏ธ RUN apt-get update && apt-get install -y --no-install-recommends less gi...
27
- โš™๏ธ RUN mkdir -p /usr/local/share/npm-global && chown -R node:node /usr/local...
28
- ๐Ÿ—๏ธ ARG USERNAME=node
29
-
30
- โš™๏ธ RUN SNIPPET="export PROMPT_COMMAND='history -a' && export HISTFILE=/comman...
31
- ๐Ÿ”ง ENV DEVCONTAINER=true
32
-
33
- โš™๏ธ RUN mkdir -p /workspace /home/node/.claude && chown -R node:node /workspa...
34
- ๐Ÿ“ WORKDIR workspace
35
-
36
- ๐Ÿ—๏ธ ARG GIT_DELTA_VERSION=0.18.2
37
-
38
- โš™๏ธ RUN ARCH=$(dpkg --print-architecture) && wget "https://github.com/dandavi...
39
- ๐Ÿ‘ค USER node
40
-
41
- ๐Ÿ”ง ENV NPM_CONFIG_PREFIX=/usr/local/share/npm-global
42
-
43
- ๐Ÿ”ง ENV PATH=$PATH:/usr/local/share/npm-global/bin
44
-
45
- ๐Ÿ”ง ENV SHELL=/bin/zsh
46
-
47
- ๐Ÿ”ง ENV EDITOR=nano
48
-
49
- ๐Ÿ”ง ENV VISUAL=nano
50
-
51
- ๐Ÿ—๏ธ ARG ZSH_IN_DOCKER_VERSION=1.2.0
52
-
53
- โš™๏ธ RUN sh -c "$(wget -O- https://github.com/deluan/zsh-in-docker/releases/dow...
54
- โš™๏ธ RUN npm install -g @anthropic-ai/claude-code@${CLAUDE_CODE_VERSION}
55
- โš™๏ธ RUN npx --yes playwright install-deps
56
- โš™๏ธ RUN npm i -g @playwright/mcp
57
- ๐Ÿ“‹ COPY init-firewall.sh /usr/local/bin/
58
- โš ๏ธ COPY/ADD commands must be run in project directory
59
-
60
- ๐Ÿ‘ค USER root
61
-
62
- โš™๏ธ RUN chmod +x /usr/local/bin/init-firewall.sh && echo "node ALL=(root) NOP...
63
- ๐Ÿ‘ค USER node
64
-
65
- ๐Ÿ“ Creating build script...
66
-
67
- โœ… Build script created: sandboxbox-sandbox/build.sh
68
-
69
- ๐Ÿš€ Executing build commands...
70
-
71
- โš ๏ธ Note: Commands will run on host system (Docker-free mode)
72
-
73
- ๐Ÿงน Cleaning up previous build artifacts...
74
- โœ… Cleanup complete
75
-
76
- โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€
77
-
78
-
79
- ๐Ÿ“ [1/10] apt-get update && apt-get install -y --no-install-recommends less git procps ...
80
- ๐Ÿ” Running with sudo (requires root privileges)
81
- Get:1 http://ports.ubuntu.com/ubuntu-ports noble InRelease [256 kB]
82
- Get:2 http://ports.ubuntu.com/ubuntu-ports noble-updates InRelease [126 kB]
83
- Get:3 http://ports.ubuntu.com/ubuntu-ports noble-security InRelease [126 kB]
84
- Get:4 http://ports.ubuntu.com/ubuntu-ports noble/multiverse Sources [355 kB]
85
- Get:5 http://ports.ubuntu.com/ubuntu-ports noble/main Sources [1,713 kB]
86
- Get:6 http://ports.ubuntu.com/ubuntu-ports noble/universe Sources [24.3 MB]
87
- Get:7 http://ports.ubuntu.com/ubuntu-ports noble/restricted Sources [21.8 kB]
88
- Get:8 http://ports.ubuntu.com/ubuntu-ports noble/universe arm64 Packages [19.0 MB]
89
- Get:9 http://ports.ubuntu.com/ubuntu-ports noble/restricted arm64 Packages [113 kB]
90
- Get:10 http://ports.ubuntu.com/ubuntu-ports noble/main arm64 Packages [1,776 kB]
91
- Get:11 http://ports.ubuntu.com/ubuntu-ports noble/multiverse arm64 Packages [274 kB]
92
- Get:12 http://ports.ubuntu.com/ubuntu-ports noble-updates/main Sources [583 kB]
93
- Get:13 http://ports.ubuntu.com/ubuntu-ports noble-updates/restricted Sources [70.8 kB]
94
- Get:14 http://ports.ubuntu.com/ubuntu-ports noble-updates/universe Sources [633 kB]
95
- Get:15 http://ports.ubuntu.com/ubuntu-ports noble-updates/multiverse Sources [28.1 kB]
96
- Get:16 http://ports.ubuntu.com/ubuntu-ports noble-updates/main arm64 Packages [1,969 kB]
97
- Get:17 http://ports.ubuntu.com/ubuntu-ports noble-updates/universe arm64 Packages [1,849 kB]
98
- Get:18 http://ports.ubuntu.com/ubuntu-ports noble-updates/restricted arm64 Packages [3,560 kB]
99
- Get:19 http://ports.ubuntu.com/ubuntu-ports noble-updates/multiverse arm64 Packages [36.9 kB]
100
- Get:20 http://ports.ubuntu.com/ubuntu-ports noble-security/restricted Sources [64.7 kB]
101
- Get:21 http://ports.ubuntu.com/ubuntu-ports noble-security/multiverse Sources [21.3 kB]
102
- Get:22 http://ports.ubuntu.com/ubuntu-ports noble-security/universe Sources [408 kB]
103
- Get:23 http://ports.ubuntu.com/ubuntu-ports noble-security/main Sources [253 kB]
104
- Get:24 http://ports.ubuntu.com/ubuntu-ports noble-security/main arm64 Packages [1,624 kB]
105
- Get:25 http://ports.ubuntu.com/ubuntu-ports noble-security/multiverse arm64 Packages [35.8 kB]
106
- Get:26 http://ports.ubuntu.com/ubuntu-ports noble-security/restricted arm64 Packages [3,435 kB]
107
- Get:27 http://ports.ubuntu.com/ubuntu-ports noble-security/universe arm64 Packages [1,122 kB]
108
- Fetched 63.8 MB in 8s (8,114 kB/s)
109
- Reading package lists...
110
- Reading package lists...
111
- Building dependency tree...
112
- Reading state information...
113
- less is already the newest version (590-2ubuntu2.1).
114
- git is already the newest version (1:2.43.0-1ubuntu7.3).
115
- procps is already the newest version (2:4.0.4-4ubuntu3.2).
116
- sudo is already the newest version (1.9.15p5-3ubuntu5.24.04.1).
117
- fzf is already the newest version (0.44.1-1ubuntu0.3).
118
- zsh is already the newest version (5.9-6ubuntu2).
119
- man-db is already the newest version (2.12.0-4build2).
120
- unzip is already the newest version (6.0-28ubuntu4.1).
121
- gnupg2 is already the newest version (2.4.4-2ubuntu17.3).
122
- gh is already the newest version (2.45.0-1ubuntu0.3).
123
- iptables is already the newest version (1.8.10-3ubuntu2).
124
- ipset is already the newest version (7.19-1ubuntu2).
125
- iproute2 is already the newest version (6.1.0-1ubuntu6.2).
126
- dnsutils is already the newest version (1:9.18.39-0ubuntu0.24.04.1).
127
- aggregate is already the newest version (1.6-7build1).
128
- jq is already the newest version (1.7.1-3ubuntu0.24.04.1).
129
- nano is already the newest version (7.2-2ubuntu0.1).
130
- vim is already the newest version (2:9.1.0016-1ubuntu7.9).
131
- 0 upgraded, 0 newly installed, 0 to remove and 9 not upgraded.
132
- โœ… Command 1 completed successfully
133
-
134
- ๐Ÿ“ [2/10] mkdir -p /usr/local/share/npm-global && chown -R node:node /usr/local/share
135
- ๐Ÿ” Running with sudo (requires root privileges)
136
- โœ… Command 2 completed successfully
137
-
138
- ๐Ÿ“ [3/10] SNIPPET="export PROMPT_COMMAND='history -a' && export HISTFILE=/commandhistory/....
139
- ๐Ÿ” Running with sudo (requires root privileges)
140
- โœ… Command 3 completed successfully
141
-
142
- ๐Ÿ“ [4/10] mkdir -p /workspace /home/node/.claude && chown -R node:node /workspace /home/n...
143
- ๐Ÿ” Running with sudo (requires root privileges)
144
- โœ… Command 4 completed successfully
145
-
146
- ๐Ÿ“ [5/10] ARCH=$(dpkg --print-architecture) && wget "https://github.com/dandavison/delta/...
147
- --2025-10-09 19:15:05-- https://github.com/dandavison/delta/releases/download/0.18.2/git-delta_0.18.2_arm64.deb
148
- Resolving github.com (github.com)... 20.87.245.0
149
- Connecting to github.com (github.com)|20.87.245.0|:443... connected.
150
- HTTP request sent, awaiting response... 302 Found
151
- Location: https://release-assets.githubusercontent.com/github-production-release-asset/193526915/efd1d245-1d1e-4f19-ac99-0518bf31266d?sp=r&sv=2018-11-09&sr=b&spr=https&se=2025-10-09T20%3A10%3A35Z&rscd=attachment%3B+filename%3Dgit-delta_0.18.2_arm64.deb&rsct=application%2Foctet-stream&skoid=96c2d410-5711-43a1-aedd-ab1947aa7ab0&sktid=398a6654-997b-47e9-b12b-9515b896b4de&skt=2025-10-09T19%3A09%3A59Z&ske=2025-10-09T20%3A10%3A35Z&sks=b&skv=2018-11-09&sig=9FAvCwr1mWPucB%2FSVzFRstxBP2HxTfn3Bjt5k0Copn4%3D&jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmVsZWFzZS1hc3NldHMuZ2l0aHVidXNlcmNvbnRlbnQuY29tIiwia2V5Ijoia2V5MSIsImV4cCI6MTc2MDAzNzU2NSwibmJmIjoxNzYwMDM3MjY1LCJwYXRoIjoicmVsZWFzZWFzc2V0cHJvZHVjdGlvbi5ibG9iLmNvcmUud2luZG93cy5uZXQifQ.oY9L9s_P5ORWk6VDhMpfuDXTQRuez2FO3RW0ls_xets&response-content-disposition=attachment%3B%20filename%3Dgit-delta_0.18.2_arm64.deb&response-content-type=application%2Foctet-stream [following]
152
- --2025-10-09 19:15:05-- https://release-assets.githubusercontent.com/github-production-release-asset/193526915/efd1d245-1d1e-4f19-ac99-0518bf31266d?sp=r&sv=2018-11-09&sr=b&spr=https&se=2025-10-09T20%3A10%3A35Z&rscd=attachment%3B+filename%3Dgit-delta_0.18.2_arm64.deb&rsct=application%2Foctet-stream&skoid=96c2d410-5711-43a1-aedd-ab1947aa7ab0&sktid=398a6654-997b-47e9-b12b-9515b896b4de&skt=2025-10-09T19%3A09%3A59Z&ske=2025-10-09T20%3A10%3A35Z&sks=b&skv=2018-11-09&sig=9FAvCwr1mWPucB%2FSVzFRstxBP2HxTfn3Bjt5k0Copn4%3D&jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmVsZWFzZS1hc3NldHMuZ2l0aHVidXNlcmNvbnRlbnQuY29tIiwia2V5Ijoia2V5MSIsImV4cCI6MTc2MDAzNzU2NSwibmJmIjoxNzYwMDM3MjY1LCJwYXRoIjoicmVsZWFzZWFzc2V0cHJvZHVjdGlvbi5ibG9iLmNvcmUud2luZG93cy5uZXQifQ.oY9L9s_P5ORWk6VDhMpfuDXTQRuez2FO3RW0ls_xets&response-content-disposition=attachment%3B%20filename%3Dgit-delta_0.18.2_arm64.deb&response-content-type=application%2Foctet-stream
153
- Resolving release-assets.githubusercontent.com (release-assets.githubusercontent.com)... 185.199.110.133, 185.199.109.133, 185.199.108.133, ...
154
- Connecting to release-assets.githubusercontent.com (release-assets.githubusercontent.com)|185.199.110.133|:443... connected.
155
- HTTP request sent, awaiting response... 200 OK
156
- Length: 2292336 (2.2M) [application/octet-stream]
157
- Saving to: โ€˜git-delta_0.18.2_arm64.debโ€™
158
-
159
- 0K .......... .......... .......... .......... .......... 2% 13.5M 0s
160
- 50K .......... .......... .......... .......... .......... 4% 342M 0s
161
- 100K .......... .......... .......... .......... .......... 6% 389M 0s
162
- 150K .......... .......... .......... .......... .......... 8% 575M 0s
163
- 200K .......... .......... .......... .......... .......... 11% 457M 0s
164
- 250K .......... .......... .......... .......... .......... 13% 531M 0s
165
- 300K .......... .......... .......... .......... .......... 15% 542M 0s
166
- 350K .......... .......... .......... .......... .......... 17% 571M 0s
167
- 400K .......... .......... .......... .......... .......... 20% 309M 0s
168
- 450K .......... .......... .......... .......... .......... 22% 413M 0s
169
- 500K .......... .......... .......... .......... .......... 24% 704M 0s
170
- 550K .......... .......... .......... .......... .......... 26% 321M 0s
171
- 600K .......... .......... .......... .......... .......... 29% 554M 0s
172
- 650K .......... .......... .......... .......... .......... 31% 290M 0s
173
- 700K .......... .......... .......... .......... .......... 33% 544M 0s
174
- 750K .......... .......... .......... .......... .......... 35% 355M 0s
175
- 800K .......... .......... .......... .......... .......... 37% 301M 0s
176
- 850K .......... .......... .......... .......... .......... 40% 558M 0s
177
- 900K .......... .......... .......... .......... .......... 42% 567M 0s
178
- 950K .......... .......... .......... .......... .......... 44% 544M 0s
179
- 1000K .......... .......... .......... .......... .......... 46% 457M 0s
180
- 1050K .......... .......... .......... .......... .......... 49% 337M 0s
181
- 1100K .......... .......... .......... .......... .......... 51% 577M 0s
182
- 1150K .......... .......... .......... .......... .......... 53% 12.6M 0s
183
- 1200K .......... .......... .......... .......... .......... 55% 470M 0s
184
- 1250K .......... .......... .......... .......... .......... 58% 560M 0s
185
- 1300K .......... .......... .......... .......... .......... 60% 159M 0s
186
- 1350K .......... .......... .......... .......... .......... 62% 343M 0s
187
- 1400K .......... .......... .......... .......... .......... 64% 401M 0s
188
- 1450K .......... .......... .......... .......... .......... 67% 365M 0s
189
- 1500K .......... .......... .......... .......... .......... 69% 565M 0s
190
- 1550K .......... .......... .......... .......... .......... 71% 410M 0s
191
- 1600K .......... .......... .......... .......... .......... 73% 549M 0s
192
- 1650K .......... .......... .......... .......... .......... 75% 564M 0s
193
- 1700K .......... .......... .......... .......... .......... 78% 560M 0s
194
- 1750K .......... .......... .......... .......... .......... 80% 446M 0s
195
- 1800K .......... .......... .......... .......... .......... 82% 439M 0s
196
- 1850K .......... .......... .......... .......... .......... 84% 564M 0s
197
- 1900K .......... .......... .......... .......... .......... 87% 311M 0s
198
- 1950K .......... .......... .......... .......... .......... 89% 562M 0s
199
- 2000K .......... .......... .......... .......... .......... 91% 558M 0s
200
- 2050K .......... .......... .......... .......... .......... 93% 543M 0s
201
- 2100K .......... .......... .......... .......... .......... 96% 578M 0s
202
- 2150K .......... .......... .......... .......... .......... 98% 518M 0s
203
- 2200K .......... .......... .......... ........ 100% 474M=0.01s
204
-
205
- 2025-10-09 19:15:06 (178 MB/s) - โ€˜git-delta_0.18.2_arm64.debโ€™ saved [2292336/2292336]
206
-
207
- (Reading database ... 42342 files and directories currently installed.)
208
- Preparing to unpack git-delta_0.18.2_arm64.deb ...
209
- Unpacking git-delta (0.18.2) over (0.18.2) ...
210
- Setting up git-delta (0.18.2) ...
211
- โœ… Command 5 completed successfully
212
-
213
- ๐Ÿ“ [6/10] sh -c "$(wget -O- https://github.com/deluan/zsh-in-docker/releases/download/v${Z...
214
- ๐Ÿ‘ค Running as user: node
215
- --2025-10-09 19:15:06-- https://github.com/deluan/zsh-in-docker/releases/download/v1.2.0/zsh-in-docker.sh
216
- Resolving github.com (github.com)... 20.87.245.0
217
- Connecting to github.com (github.com)|20.87.245.0|:443... connected.
218
- HTTP request sent, awaiting response... 302 Found
219
- Location: https://release-assets.githubusercontent.com/github-production-release-asset/207162804/8afe1b92-7364-41b9-9e24-1c704ccf220d?sp=r&sv=2018-11-09&sr=b&spr=https&se=2025-10-09T20%3A08%3A54Z&rscd=attachment%3B+filename%3Dzsh-in-docker.sh&rsct=application%2Foctet-stream&skoid=96c2d410-5711-43a1-aedd-ab1947aa7ab0&sktid=398a6654-997b-47e9-b12b-9515b896b4de&skt=2025-10-09T19%3A08%3A27Z&ske=2025-10-09T20%3A08%3A54Z&sks=b&skv=2018-11-09&sig=FvhpWjHByLsSU9xBPzY%2FOSCgOg3IcIzHceb5%2FBYeMds%3D&jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmVsZWFzZS1hc3NldHMuZ2l0aHVidXNlcmNvbnRlbnQuY29tIiwia2V5Ijoia2V5MSIsImV4cCI6MTc2MDAzNzU2NiwibmJmIjoxNzYwMDM3MjY2LCJwYXRoIjoicmVsZWFzZWFzc2V0cHJvZHVjdGlvbi5ibG9iLmNvcmUud2luZG93cy5uZXQifQ.Jcpk4JtidBSyvuBSRqpOK5B0HRHUkbtt_xuhKZTFavo&response-content-disposition=attachment%3B%20filename%3Dzsh-in-docker.sh&response-content-type=application%2Foctet-stream [following]
220
- --2025-10-09 19:15:06-- https://release-assets.githubusercontent.com/github-production-release-asset/207162804/8afe1b92-7364-41b9-9e24-1c704ccf220d?sp=r&sv=2018-11-09&sr=b&spr=https&se=2025-10-09T20%3A08%3A54Z&rscd=attachment%3B+filename%3Dzsh-in-docker.sh&rsct=application%2Foctet-stream&skoid=96c2d410-5711-43a1-aedd-ab1947aa7ab0&sktid=398a6654-997b-47e9-b12b-9515b896b4de&skt=2025-10-09T19%3A08%3A27Z&ske=2025-10-09T20%3A08%3A54Z&sks=b&skv=2018-11-09&sig=FvhpWjHByLsSU9xBPzY%2FOSCgOg3IcIzHceb5%2FBYeMds%3D&jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmVsZWFzZS1hc3NldHMuZ2l0aHVidXNlcmNvbnRlbnQuY29tIiwia2V5Ijoia2V5MSIsImV4cCI6MTc2MDAzNzU2NiwibmJmIjoxNzYwMDM3MjY2LCJwYXRoIjoicmVsZWFzZWFzc2V0cHJvZHVjdGlvbi5ibG9iLmNvcmUud2luZG93cy5uZXQifQ.Jcpk4JtidBSyvuBSRqpOK5B0HRHUkbtt_xuhKZTFavo&response-content-disposition=attachment%3B%20filename%3Dzsh-in-docker.sh&response-content-type=application%2Foctet-stream
221
- Resolving release-assets.githubusercontent.com (release-assets.githubusercontent.com)... 185.199.108.133, 185.199.110.133, 185.199.109.133, ...
222
- Connecting to release-assets.githubusercontent.com (release-assets.githubusercontent.com)|185.199.108.133|:443... connected.
223
- HTTP request sent, awaiting response... 200 OK
224
- Length: 5426 (5.3K) [application/octet-stream]
225
- Saving to: โ€˜STDOUTโ€™
226
-
227
- 0K ..... 100% 84.5M=0s
228
-
229
- 2025-10-09 19:15:06 (84.5 MB/s) - written to stdout [5426/5426]
230
-
231
-
232
- Installing Oh-My-Zsh with:
233
- THEME = default
234
- PLUGINS = git fzf
235
-
236
- % Total % Received % Xferd Average Speed Time Time Time Current
237
- Dload Upload Total Spent Left Speed
238
-
239
  0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
240
1
  0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
241
- Cloning Oh My Zsh...
242
- From https://github.com/ohmyzsh/ohmyzsh
243
- * [new branch] master -> origin/master
244
- Already on 'master'
245
- branch 'master' set up to track 'origin/master'.
246
- /tmp
247
-
248
- Looking for an existing zsh config...
249
- Found old .zshrc.pre-oh-my-zsh. Backing up to /home/node/.zshrc.pre-oh-my-zsh-2025-10-09_19-15-07
250
- Backing up to /home/node/.zshrc.pre-oh-my-zsh
251
- Using the Oh My Zsh template file and adding it to /home/node/.zshrc.
252
-
253
- __ __
254
- ____ / /_ ____ ___ __ __ ____ _____/ /_
255
- / __ \/ __ \ / __ `__ \/ / / / /_ / / ___/ __ \
256
- / /_/ / / / / / / / / / / /_/ / / /_(__ ) / / /
257
- \____/_/ /_/ /_/ /_/ /_/\__, / /___/____/_/ /_/
258
- /____/ ....is now installed!
259
-
260
-
261
- Before you scream Oh My Zsh! look over the `.zshrc` file to select plugins, themes, and options.
262
-
263
- โ€ข Follow us on X: https://x.com/ohmyzsh
264
- โ€ข Join our Discord community: https://discord.gg/ohmyzsh
265
- โ€ข Get stickers, t-shirts, coffee mugs and more: https://shop.planetargon.com/collections/oh-my-zsh
266
-
267
- Run zsh to try it out.
268
- Cloning into '/home/node/.oh-my-zsh/custom/themes/powerlevel10k'...
269
- โœ… Command 6 completed successfully
270
-
271
- ๐Ÿ“ [7/10] npm install -g @anthropic-ai/claude-code@${CLAUDE_CODE_VERSION}
272
- ๐Ÿ” Running with sudo (requires root privileges)
273
-
274
- changed 3 packages in 3s
275
-
276
- 2 packages are looking for funding
277
- run `npm fund` for details
278
- โœ… Command 7 completed successfully
279
-
280
- ๐Ÿ“ [8/10] npx --yes playwright install-deps
281
- ๐Ÿ” Running with sudo (requires root privileges)
282
- Installing dependencies...
283
- Get:1 http://ports.ubuntu.com/ubuntu-ports noble InRelease [256 kB]
284
- Get:2 http://ports.ubuntu.com/ubuntu-ports noble-updates InRelease [126 kB]
285
- Get:3 http://ports.ubuntu.com/ubuntu-ports noble-security InRelease [126 kB]
286
- Get:4 http://ports.ubuntu.com/ubuntu-ports noble/restricted Sources [21.8 kB]
287
- Get:5 http://ports.ubuntu.com/ubuntu-ports noble/main Sources [1,713 kB]
288
- Get:6 http://ports.ubuntu.com/ubuntu-ports noble/universe Sources [24.3 MB]
289
- Get:7 http://ports.ubuntu.com/ubuntu-ports noble/multiverse Sources [355 kB]
290
- Get:8 http://ports.ubuntu.com/ubuntu-ports noble/universe arm64 Packages [19.0 MB]
291
- Get:9 http://ports.ubuntu.com/ubuntu-ports noble/restricted arm64 Packages [113 kB]
292
- Get:10 http://ports.ubuntu.com/ubuntu-ports noble/main arm64 Packages [1,776 kB]
293
- Get:11 http://ports.ubuntu.com/ubuntu-ports noble/multiverse arm64 Packages [274 kB]
294
- Get:12 http://ports.ubuntu.com/ubuntu-ports noble-updates/restricted Sources [70.8 kB]
295
- Get:13 http://ports.ubuntu.com/ubuntu-ports noble-updates/multiverse Sources [28.1 kB]
296
- Get:14 http://ports.ubuntu.com/ubuntu-ports noble-updates/main Sources [583 kB]
297
- Get:15 http://ports.ubuntu.com/ubuntu-ports noble-updates/universe Sources [633 kB]
298
- Get:16 http://ports.ubuntu.com/ubuntu-ports noble-updates/restricted arm64 Packages [3,560 kB]
299
- Get:17 http://ports.ubuntu.com/ubuntu-ports noble-updates/main arm64 Packages [1,969 kB]
300
- Get:18 http://ports.ubuntu.com/ubuntu-ports noble-updates/universe arm64 Packages [1,849 kB]
301
- Get:19 http://ports.ubuntu.com/ubuntu-ports noble-updates/multiverse arm64 Packages [36.9 kB]
302
- Get:20 http://ports.ubuntu.com/ubuntu-ports noble-security/universe Sources [408 kB]
303
- Get:21 http://ports.ubuntu.com/ubuntu-ports noble-security/restricted Sources [64.7 kB]
304
- Get:22 http://ports.ubuntu.com/ubuntu-ports noble-security/multiverse Sources [21.3 kB]
305
- Get:23 http://ports.ubuntu.com/ubuntu-ports noble-security/main Sources [253 kB]
306
- Get:24 http://ports.ubuntu.com/ubuntu-ports noble-security/multiverse arm64 Packages [35.8 kB]
307
- Get:25 http://ports.ubuntu.com/ubuntu-ports noble-security/restricted arm64 Packages [3,435 kB]
308
- Get:26 http://ports.ubuntu.com/ubuntu-ports noble-security/main arm64 Packages [1,624 kB]
309
- Get:27 http://ports.ubuntu.com/ubuntu-ports noble-security/universe arm64 Packages [1,122 kB]
310
- Fetched 63.8 MB in 5min 56s (179 kB/s)
311
- Reading package lists...
312
- Reading package lists...
313
- Building dependency tree...
314
- Reading state information...
315
- libasound2t64 is already the newest version (1.2.11-1ubuntu0.1).
316
- libatk-bridge2.0-0t64 is already the newest version (2.52.0-1build1).
317
- libatk1.0-0t64 is already the newest version (2.52.0-1build1).
318
- libatspi2.0-0t64 is already the newest version (2.52.0-1build1).
319
- libcairo2 is already the newest version (1.18.0-3build1).
320
- libcups2t64 is already the newest version (2.4.7-1.2ubuntu7.4).
321
- libdbus-1-3 is already the newest version (1.14.10-4ubuntu4.1).
322
- libdrm2 is already the newest version (2.4.122-1~ubuntu0.24.04.1).
323
- libgbm1 is already the newest version (25.0.7-0ubuntu0.24.04.2).
324
- libglib2.0-0t64 is already the newest version (2.80.0-6ubuntu3.4).
325
- libnspr4 is already the newest version (2:4.35-1.1build1).
326
- libnss3 is already the newest version (2:3.98-1build1).
327
- libpango-1.0-0 is already the newest version (1.52.1+ds-1build1).
328
- libx11-6 is already the newest version (2:1.8.7-1build1).
329
- libxcb1 is already the newest version (1.15-1ubuntu2).
330
- libxcomposite1 is already the newest version (1:0.4.5-1build3).
331
- libxdamage1 is already the newest version (1:1.1.6-1build1).
332
- libxext6 is already the newest version (2:1.3.4-1build2).
333
- libxfixes3 is already the newest version (1:6.0.0-2build1).
334
- libxkbcommon0 is already the newest version (1.6.0-1build1).
335
- libxrandr2 is already the newest version (2:1.5.2-2build1).
336
- libcairo-gobject2 is already the newest version (1.18.0-3build1).
337
- libfontconfig1 is already the newest version (2.15.0-1.1ubuntu2).
338
- libfreetype6 is already the newest version (2.13.2+dfsg-1build3).
339
- libgdk-pixbuf-2.0-0 is already the newest version (2.42.10+dfsg-3ubuntu3.2).
340
- libgtk-3-0t64 is already the newest version (3.24.41-4ubuntu1.3).
341
- libpangocairo-1.0-0 is already the newest version (1.52.1+ds-1build1).
342
- libx11-xcb1 is already the newest version (2:1.8.7-1build1).
343
- libxcb-shm0 is already the newest version (1.15-1ubuntu2).
344
- libxcursor1 is already the newest version (1:1.2.1-1build1).
345
- libxi6 is already the newest version (2:1.8.1-1build1).
346
- libxrender1 is already the newest version (1:0.9.10-1.1build1).
347
- gstreamer1.0-libav is already the newest version (1.24.1-1build1).
348
- gstreamer1.0-plugins-bad is already the newest version (1.24.2-1ubuntu4).
349
- gstreamer1.0-plugins-base is already the newest version (1.24.2-1ubuntu0.3).
350
- gstreamer1.0-plugins-good is already the newest version (1.24.2-1ubuntu1.2).
351
- libicu74 is already the newest version (74.2-1ubuntu3.1).
352
- libatomic1 is already the newest version (14.2.0-4ubuntu2~24.04).
353
- libenchant-2-2 is already the newest version (2.3.3-2build2).
354
- libepoxy0 is already the newest version (1.5.10-1build1).
355
- libevent-2.1-7t64 is already the newest version (2.1.12-stable-9ubuntu2).
356
- libflite1 is already the newest version (2.2-6build3).
357
- libgles2 is already the newest version (1.7.0-1build1).
358
- libgstreamer-gl1.0-0 is already the newest version (1.24.2-1ubuntu0.3).
359
- libgstreamer-plugins-bad1.0-0 is already the newest version (1.24.2-1ubuntu4).
360
- libgstreamer-plugins-base1.0-0 is already the newest version (1.24.2-1ubuntu0.3).
361
- libgstreamer1.0-0 is already the newest version (1.24.2-1ubuntu0.1).
362
- libgtk-4-1 is already the newest version (4.14.5+ds-0ubuntu0.5).
363
- libharfbuzz-icu0 is already the newest version (8.3.0-2build2).
364
- libharfbuzz0b is already the newest version (8.3.0-2build2).
365
- libhyphen0 is already the newest version (2.8.8-7build3).
366
- libjpeg-turbo8 is already the newest version (2.1.5-2ubuntu2).
367
- liblcms2-2 is already the newest version (2.14-2build1).
368
- libmanette-0.2-0 is already the newest version (0.2.7-1build2).
369
- libopus0 is already the newest version (1.4-1build1).
370
- libpng16-16t64 is already the newest version (1.6.43-5build1).
371
- libsecret-1-0 is already the newest version (0.21.4-1build3).
372
- libvpx9 is already the newest version (1.14.0-1ubuntu2.2).
373
- libwayland-client0 is already the newest version (1.22.0-2.1build1).
374
- libwayland-egl1 is already the newest version (1.22.0-2.1build1).
375
- libwayland-server0 is already the newest version (1.22.0-2.1build1).
376
- libwebp7 is already the newest version (1.3.2-0.4build3).
377
- libwebpdemux2 is already the newest version (1.3.2-0.4build3).
378
- libwoff1 is already the newest version (1.0.2-2build1).
379
- libxml2 is already the newest version (2.9.14+dfsg-1.3ubuntu3.5).
380
- libxslt1.1 is already the newest version (1.1.39-0exp1ubuntu0.24.04.2).
381
- libx264-164 is already the newest version (2:0.164.3108+git31e19f9-1).
382
- libavif16 is already the newest version (1.0.4-1ubuntu3).
383
- xvfb is already the newest version (2:21.1.12-1ubuntu1.4).
384
- fonts-noto-color-emoji is already the newest version (2.047-0ubuntu0.24.04.1).
385
- fonts-unifont is already the newest version (1:15.1.01-1build1).
386
- xfonts-cyrillic is already the newest version (1:1.0.5+nmu1).
387
- xfonts-scalable is already the newest version (1:1.0.3-1.3).
388
- fonts-liberation is already the newest version (1:2.1.5-3).
389
- fonts-ipafont-gothic is already the newest version (00303-21ubuntu1).
390
- fonts-wqy-zenhei is already the newest version (0.9.45-8).
391
- fonts-tlwg-loma-otf is already the newest version (1:0.7.3-1).
392
- fonts-freefont-ttf is already the newest version (20211204+svn4273-2).
393
- 0 upgraded, 0 newly installed, 0 to remove and 9 not upgraded.
394
- โœ… Command 8 completed successfully
395
-
396
- ๐Ÿ“ [9/10] npm i -g @playwright/mcp
397
- ๐Ÿ” Running with sudo (requires root privileges)
398
-
399
- added 3 packages in 3s
400
- โœ… Command 9 completed successfully
401
-
402
- ๐Ÿ“ [10/10] chmod +x /usr/local/bin/init-firewall.sh && echo "node ALL=(root) NOPASSWD: /us...
403
- ๐Ÿ” Running with sudo (requires root privileges)
404
- โœ… Command 10 completed successfully
405
-
406
- โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€
407
-
408
- ๐ŸŽ‰ Build completed successfully!
409
-
410
- ๐Ÿ“ฆ Container root: sandboxbox-sandbox/rootfs
411
- ๐Ÿ“ Build script: sandboxbox-sandbox/build.sh
412
-
package/playwright.sh DELETED
@@ -1,183 +0,0 @@
1
- #!/bin/bash
2
-
3
- # Playwright Bubblewrap Wrapper Script
4
- # Addresses all Alpine/Playwright compatibility issues
5
-
6
- set -e
7
-
8
- # Configuration
9
- PROJECT_DIR="${1:-$(pwd)}"
10
- ALPINE_ROOT="$HOME/.bubblewrap-sandbox/alpine-playwright"
11
- COMMAND="${2:-npx playwright test}"
12
-
13
- # Colors for output
14
- RED='\033[0;31m'
15
- GREEN='\033[0;32m'
16
- YELLOW='\033[1;33m'
17
- BLUE='\033[0;34m'
18
- NC='\033[0m' # No Color
19
-
20
- echo -e "${BLUE}๐ŸŽญ Playwright + Bubblewrap Container Runner${NC}"
21
- echo -e "${BLUE}โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•${NC}\n"
22
-
23
- # Check if bubblewrap is available
24
- if ! command -v bwrap &> /dev/null; then
25
- echo -e "${RED}โŒ Bubblewrap (bwrap) not found!${NC}"
26
- echo -e "${YELLOW}๐Ÿ“ฆ Install bubblewrap:${NC}"
27
- echo -e " Ubuntu/Debian: sudo apt-get install bubblewrap"
28
- echo -e " Alpine: sudo apk add bubblewrap"
29
- echo -e " CentOS/RHEL: sudo yum install bubblewrap"
30
- echo -e " Arch: sudo pacman -S bubblewrap"
31
- echo ""
32
- echo -e "${GREEN}โœ… After installation, no root privileges required!${NC}"
33
- exit 1
34
- fi
35
-
36
- echo -e "${GREEN}โœ… Bubblewrap found: $(which bwrap)${NC}"
37
-
38
- # First-time setup
39
- if [ ! -d "$ALPINE_ROOT" ]; then
40
- echo -e "${YELLOW}๐Ÿ”๏ธ Setting up Alpine Linux rootfs for Playwright...${NC}"
41
- mkdir -p "$ALPINE_ROOT"
42
- cd "$ALPINE_ROOT"
43
-
44
- # Download Alpine minirootfs
45
- ALPINE_VERSION="3.20.2"
46
- ARCH="x86_64"
47
- TARBALL="alpine-minirootfs-${ALPINE_VERSION}-${ARCH}.tar.gz"
48
-
49
- if [ ! -f "$TARBALL" ]; then
50
- echo -e "${BLUE}๐Ÿ“ฅ Downloading Alpine Linux...${NC}"
51
- wget -q "https://dl-cdn.alpinelinux.org/alpine/v3.20/releases/${ARCH}/${TARBALL}"
52
- fi
53
-
54
- # Extract
55
- echo -e "${BLUE}๐Ÿ“ฆ Extracting Alpine rootfs...${NC}"
56
- tar -xzf "$TARBALL"
57
-
58
- # Setup Alpine with Playwright packages
59
- echo -e "${BLUE}๐Ÿ”ง Installing Playwright dependencies in Alpine...${NC}"
60
- bwrap \
61
- --ro-bind "$ALPINE_ROOT" / \
62
- --proc /proc \
63
- --dev /dev \
64
- --tmpfs /tmp \
65
- --share-net \
66
- --die-with-parent \
67
- /bin/sh -c "
68
- echo 'https://dl-cdn.alpinelinux.org/alpine/v3.20/main' > /etc/apk/repositories
69
- echo 'https://dl-cdn.alpinelinux.org/alpine/v3.20/community' >> /etc/apk/repositories
70
- apk update
71
- apk add --no-cache \\
72
- nodejs \\
73
- npm \\
74
- chromium \\
75
- nss \\
76
- freetype \\
77
- harfbuzz \\
78
- ttf-freefont \\
79
- xvfb \\
80
- mesa-gl \\
81
- libx11 \\
82
- libxrandr \\
83
- libxss \\
84
- bash \\
85
- ca-certificates
86
- npm install -g @anthropic-ai/claude-code
87
- echo 'โœ… Alpine setup complete'
88
- " || {
89
- echo -e "${RED}โŒ Alpine setup failed${NC}"
90
- exit 1
91
- }
92
-
93
- # Create Playwright config
94
- cat > "$ALPINE_ROOT/playwright.config.js" << 'EOF'
95
- export default defineConfig({
96
- use: {
97
- chromiumSandbox: false,
98
- headless: true,
99
- executablePath: '/usr/bin/chromium-browser',
100
- },
101
- projects: [
102
- {
103
- name: 'chromium',
104
- use: {
105
- executablePath: '/usr/bin/chromium-browser',
106
- },
107
- },
108
- ],
109
- });
110
- EOF
111
-
112
- echo -e "${GREEN}โœ… Alpine setup complete!${NC}"
113
- fi
114
-
115
- # Verify project directory
116
- if [ ! -d "$PROJECT_DIR" ]; then
117
- echo -e "${RED}โŒ Project directory not found: $PROJECT_DIR${NC}"
118
- exit 1
119
- fi
120
-
121
- echo -e "${BLUE}๐Ÿ“ Project directory: $PROJECT_DIR${NC}"
122
- echo -e "${BLUE}๐ŸŽฏ Command: $COMMAND${NC}"
123
- echo ""
124
-
125
- # Run Playwright in bubblewrap sandbox
126
- echo -e "${GREEN}๐Ÿš€ Starting Playwright in bubblewrap sandbox...${NC}"
127
-
128
- bwrap \
129
- --ro-bind "$ALPINE_ROOT" / \
130
- --proc /proc \
131
- --dev /dev \
132
- --dev-bind /dev/dri /dev/dri \
133
- --tmpfs /tmp \
134
- --tmpfs /var/tmp \
135
- --tmpfs /run \
136
- --tmpfs /dev/shm \
137
- --bind "$PROJECT_DIR" /workspace \
138
- --chdir /workspace \
139
- --bind /tmp/.X11-unix /tmp/.X11-unix \
140
- --share-net \
141
- --unshare-pid \
142
- --unshare-ipc \
143
- --unshare-uts \
144
- --die-with-parent \
145
- --new-session \
146
- --as-pid-1 \
147
- --hostname playwright-sandbox \
148
- --setenv PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD=1 \
149
- --setenv PLAYWRIGHT_CHROMIUM_EXECUTABLE_PATH=/usr/bin/chromium-browser \
150
- --setenv DISPLAY=:99 \
151
- --setenv CI=true \
152
- --setenv NODE_ENV=test \
153
- --setenv CHROMIUM_FLAGS="--no-sandbox --disable-dev-shm-usage --disable-gpu" \
154
- /bin/sh -c "
155
- export PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD=1
156
- export PLAYWRIGHT_CHROMIUM_EXECUTABLE_PATH=/usr/bin/chromium-browser
157
- export DISPLAY=:99
158
-
159
- # Start virtual display
160
- Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 &
161
- XVFB_PID=\$!
162
-
163
- # Give Xvfb time to start
164
- sleep 2
165
-
166
- # Cleanup function
167
- cleanup() {
168
- if [ ! -z \"\$XVFB_PID\" ]; then
169
- kill \$XVFB_PID 2>/dev/null || true
170
- fi
171
- }
172
-
173
- # Trap cleanup
174
- trap cleanup EXIT INT TERM
175
-
176
- echo '๐ŸŽญ Running Playwright tests...'
177
- cd /workspace
178
- $COMMAND
179
- "
180
-
181
- echo ""
182
- echo -e "${GREEN}โœ… Playwright tests completed!${NC}"
183
- echo -e "${BLUE}๐Ÿ’ก Benefits: 8ms startup, true isolation, no Docker required${NC}"
package/run.sh DELETED
@@ -1,12 +0,0 @@
1
- #!/bin/bash
2
-
3
- # Claudtainer - Simple Wrapper Script
4
- # Usage: ./run.sh <command> [args]
5
-
6
- set -e
7
-
8
- # Get the directory where this script is located
9
- SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
10
-
11
- # Run the CLI
12
- node "$SCRIPT_DIR/cli.js" "$@"