wasm-idle 1.0.12 → 1.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.
Files changed (161) hide show
  1. package/README.md +150 -37
  2. package/dist/playground/applicationAssets.js +2 -0
  3. package/dist/playground/assetBridge.js +106 -31
  4. package/dist/playground/assets.d.ts +2 -2
  5. package/dist/playground/c3.js +22 -0
  6. package/dist/playground/c3Memory.d.ts +19 -0
  7. package/dist/playground/c3Memory.js +117 -0
  8. package/dist/playground/cachedClang.js +143 -34
  9. package/dist/playground/clangAssetIntegrity.js +6 -6
  10. package/dist/playground/clangWorkerProtocol.d.ts +12 -1
  11. package/dist/playground/cobol.d.ts +3 -0
  12. package/dist/playground/cobol.js +10 -1
  13. package/dist/playground/commonlisp.d.ts +8 -0
  14. package/dist/playground/commonlisp.js +33 -0
  15. package/dist/playground/commonlispAssets.d.ts +30 -0
  16. package/dist/playground/commonlispAssets.js +184 -0
  17. package/dist/playground/compiledArtifactCache.d.ts +3 -1
  18. package/dist/playground/compiledArtifactCache.js +31 -5
  19. package/dist/playground/container/ContainerExplorer.svelte +307 -0
  20. package/dist/playground/container/ContainerExplorer.svelte.d.ts +14 -0
  21. package/dist/playground/container/binding.d.ts +26 -0
  22. package/dist/playground/container/binding.js +247 -0
  23. package/dist/playground/container/clang-runtime.d.ts +38 -0
  24. package/dist/playground/container/clang-runtime.js +343 -0
  25. package/dist/playground/container/client.d.ts +15 -0
  26. package/dist/playground/container/client.js +189 -0
  27. package/dist/playground/container/explorer.d.ts +31 -0
  28. package/dist/playground/container/explorer.js +112 -0
  29. package/dist/playground/container/owner.worker.d.ts +1 -0
  30. package/dist/playground/container/owner.worker.js +390 -0
  31. package/dist/playground/container/protocol.d.ts +73 -0
  32. package/dist/playground/container/protocol.js +28 -0
  33. package/dist/playground/container/release.d.ts +31 -0
  34. package/dist/playground/container/release.js +612 -0
  35. package/dist/playground/container/runtime-adapter.d.ts +73 -0
  36. package/dist/playground/container/runtime-adapter.js +474 -0
  37. package/dist/playground/container/shell-control.d.ts +49 -0
  38. package/dist/playground/container/shell-control.js +303 -0
  39. package/dist/playground/container/workspace.d.ts +8 -0
  40. package/dist/playground/container/workspace.js +29 -0
  41. package/dist/playground/d.d.ts +6 -1
  42. package/dist/playground/d.js +83 -5
  43. package/dist/playground/dotnet.js +6 -8
  44. package/dist/playground/fortran.d.ts +3 -0
  45. package/dist/playground/fortran.js +10 -1
  46. package/dist/playground/go.js +14 -3
  47. package/dist/playground/goDebugInstrumentation.js +184 -54
  48. package/dist/playground/index.d.ts +1 -1
  49. package/dist/playground/index.js +14 -0
  50. package/dist/playground/java.js +3 -2
  51. package/dist/playground/javaRuntimeErrors.d.ts +9 -0
  52. package/dist/playground/javaRuntimeErrors.js +60 -0
  53. package/dist/playground/javaRuntimeStdin.d.ts +9 -0
  54. package/dist/playground/javaRuntimeStdin.js +145 -0
  55. package/dist/playground/lean4.d.ts +13 -0
  56. package/dist/playground/lean4.js +50 -0
  57. package/dist/playground/lean4Assets.d.ts +25 -0
  58. package/dist/playground/lean4Assets.js +123 -0
  59. package/dist/playground/lfortran.js +10 -0
  60. package/dist/playground/lfortranAssets.d.ts +2 -2
  61. package/dist/playground/loadingProgress.js +4 -1
  62. package/dist/playground/nim.js +22 -0
  63. package/dist/playground/objectivec.d.ts +3 -0
  64. package/dist/playground/objectivec.js +11 -2
  65. package/dist/playground/options.d.ts +2 -0
  66. package/dist/playground/python.js +8 -0
  67. package/dist/playground/runtimeAssetCache.d.ts +1 -32
  68. package/dist/playground/runtimeAssetCache.js +1 -193
  69. package/dist/playground/runtimeSession.d.ts +2 -2
  70. package/dist/playground/runtimeSession.js +11 -11
  71. package/dist/playground/rust.d.ts +6 -0
  72. package/dist/playground/rust.js +103 -6
  73. package/dist/playground/staticStdinRing.d.ts +2 -1
  74. package/dist/playground/staticStdinRing.js +21 -10
  75. package/dist/playground/staticWorkerRuntime.d.ts +15 -1
  76. package/dist/playground/staticWorkerRuntime.js +119 -17
  77. package/dist/playground/tinygo.d.ts +3 -0
  78. package/dist/playground/tinygo.js +81 -6
  79. package/dist/playground/v.d.ts +3 -0
  80. package/dist/playground/v.js +10 -1
  81. package/dist/playground/wasmAwkVersion.d.ts +13 -13
  82. package/dist/playground/wasmAwkVersion.js +4 -4
  83. package/dist/playground/wasmBqnVersion.d.ts +2 -2
  84. package/dist/playground/wasmBqnVersion.js +2 -2
  85. package/dist/playground/wasmC3Version.d.ts +2 -2
  86. package/dist/playground/wasmC3Version.js +2 -2
  87. package/dist/playground/wasmClojureScriptVersion.d.ts +2 -2
  88. package/dist/playground/wasmClojureScriptVersion.js +2 -2
  89. package/dist/playground/wasmCommonLispVersion.d.ts +32 -0
  90. package/dist/playground/wasmCommonLispVersion.js +33 -0
  91. package/dist/playground/wasmDIntegrity.d.ts +5 -5
  92. package/dist/playground/wasmDIntegrity.js +5 -5
  93. package/dist/playground/wasmDVersion.d.ts +16 -1
  94. package/dist/playground/wasmDVersion.js +16 -1
  95. package/dist/playground/wasmDebugVersion.d.ts +1 -1
  96. package/dist/playground/wasmDebugVersion.js +1 -1
  97. package/dist/playground/wasmForthVersion.d.ts +2 -2
  98. package/dist/playground/wasmForthVersion.js +2 -2
  99. package/dist/playground/wasmGleamVersion.d.ts +2 -2
  100. package/dist/playground/wasmGleamVersion.js +2 -2
  101. package/dist/playground/wasmGrainVersion.d.ts +2 -2
  102. package/dist/playground/wasmGrainVersion.js +2 -2
  103. package/dist/playground/wasmJVersion.d.ts +2 -2
  104. package/dist/playground/wasmJVersion.js +2 -2
  105. package/dist/playground/wasmJanetVersion.js +2 -2
  106. package/dist/playground/wasmJuliaVersion.js +2 -2
  107. package/dist/playground/wasmLean4Version.d.ts +110 -0
  108. package/dist/playground/wasmLean4Version.js +111 -0
  109. package/dist/playground/wasmLfortranVersion.d.ts +2 -2
  110. package/dist/playground/wasmLfortranVersion.js +2 -2
  111. package/dist/playground/wasmNimVersion.d.ts +9 -9
  112. package/dist/playground/wasmNimVersion.js +6 -6
  113. package/dist/playground/wasmOcamlVersion.d.ts +2 -2
  114. package/dist/playground/wasmOcamlVersion.js +1 -1
  115. package/dist/playground/wasmPascalVersion.js +2 -2
  116. package/dist/playground/wasmPerlVersion.js +2 -2
  117. package/dist/playground/wasmPrologVersion.d.ts +2 -2
  118. package/dist/playground/wasmPrologVersion.js +2 -2
  119. package/dist/playground/wasmReScriptVersion.d.ts +2 -2
  120. package/dist/playground/wasmReScriptVersion.js +2 -2
  121. package/dist/playground/wasmRustVersion.d.ts +8 -8
  122. package/dist/playground/wasmRustVersion.js +7 -7
  123. package/dist/playground/wasmTclVersion.d.ts +4 -4
  124. package/dist/playground/wasmTclVersion.js +2 -2
  125. package/dist/playground/wasmTinyGoVersion.d.ts +14 -14
  126. package/dist/playground/wasmTinyGoVersion.js +14 -14
  127. package/dist/playground/wasmTypeScriptVersion.d.ts +5 -5
  128. package/dist/playground/wasmTypeScriptVersion.js +5 -5
  129. package/dist/playground/worker/cachedClangCompile.js +52 -4
  130. package/dist/playground/worker/cachedClangExecute.js +6 -5
  131. package/dist/playground/worker/clang.js +32 -10
  132. package/dist/playground/worker/cobol.js +2 -2
  133. package/dist/playground/worker/d.js +12 -5
  134. package/dist/playground/worker/fortran.js +2 -2
  135. package/dist/playground/worker/go.js +16 -5
  136. package/dist/playground/worker/haskell.js +10 -7
  137. package/dist/playground/worker/java.js +92 -39
  138. package/dist/playground/worker/lua.js +2 -3
  139. package/dist/playground/worker/php.js +15 -9
  140. package/dist/playground/worker/python.js +131 -131
  141. package/dist/playground/worker/pythonDebugPreview.d.ts +2 -0
  142. package/dist/playground/worker/pythonDebugPreview.js +55 -0
  143. package/dist/playground/worker/pythonExecution.d.ts +8 -0
  144. package/dist/playground/worker/pythonExecution.js +183 -0
  145. package/dist/playground/worker/pythonStdio.d.ts +32 -0
  146. package/dist/playground/worker/pythonStdio.js +253 -0
  147. package/dist/playground/worker/pythonWorkspaceFiles.d.ts +6 -0
  148. package/dist/playground/worker/pythonWorkspaceFiles.js +26 -0
  149. package/dist/playground/worker/pythonWorkspaceImports.d.ts +4 -0
  150. package/dist/playground/worker/pythonWorkspaceImports.js +129 -0
  151. package/dist/playground/worker/r.js +13 -6
  152. package/dist/playground/worker/rust.js +34 -2
  153. package/dist/playground/worker/sqlite.js +4 -3
  154. package/dist/playground/worker/tinygo.js +11 -3
  155. package/dist/playground/worker/typescript.js +2 -3
  156. package/dist/playground/worker/v.js +2 -2
  157. package/dist/playground/worker/wat.js +2 -3
  158. package/dist/playground/worker/zig.js +20 -6
  159. package/dist/playground/workerSession.d.ts +1 -28
  160. package/dist/playground/workerSession.js +1 -164
  161. package/package.json +30 -15
@@ -0,0 +1,612 @@
1
+ // Generated by prepare-page-container.mjs from explicitly selected producer assets.
2
+ const release = {
3
+ "distribution": {
4
+ "schemaVersion": 1,
5
+ "packages": [
6
+ {
7
+ "id": "shell",
8
+ "identity": "sha256:e4fe2cf474b0276d79c0899ab233f2f1a0fca3ad494c842345a21ea5ed69c711",
9
+ "dependencies": [],
10
+ "mount": "/opt/toolchains/bash",
11
+ "producer": {
12
+ "repository": "https://github.com/seo-rii/wasm-idle",
13
+ "revision": "65c335b48fe2fade4f24d4c8ff00c03f5c9b16b3",
14
+ "receiptSha256": "4953449c949841bdf8cc17d40103e5cf2be466a39da695ef89ebefb1d2645d64"
15
+ },
16
+ "capabilities": [
17
+ "wasix"
18
+ ],
19
+ "assets": [
20
+ {
21
+ "id": "sdk",
22
+ "url": "https://seo-rii.github.io/wasm-idle/container-app/objects/522a8c74c286f6b69256b537a0d3d8a2c17130f4b855ace9605d7434e3414bce/sdk.wasm",
23
+ "encoding": "identity",
24
+ "delivery": {
25
+ "bytes": 9246938,
26
+ "sha256": "522a8c74c286f6b69256b537a0d3d8a2c17130f4b855ace9605d7434e3414bce",
27
+ "mediaType": "application/wasm"
28
+ },
29
+ "logical": {
30
+ "bytes": 9246938,
31
+ "sha256": "522a8c74c286f6b69256b537a0d3d8a2c17130f4b855ace9605d7434e3414bce",
32
+ "mediaType": "application/wasm"
33
+ }
34
+ },
35
+ {
36
+ "id": "bash",
37
+ "url": "https://seo-rii.github.io/wasm-idle/container-app/objects/7b96d6c3fba3c6978fa16c0bb523ce76a106ba006e6a9104384ad61336617604/bash.webc.bin",
38
+ "encoding": "identity",
39
+ "delivery": {
40
+ "bytes": 1814180,
41
+ "sha256": "7b96d6c3fba3c6978fa16c0bb523ce76a106ba006e6a9104384ad61336617604",
42
+ "mediaType": "application/octet-stream"
43
+ },
44
+ "logical": {
45
+ "bytes": 1814180,
46
+ "sha256": "7b96d6c3fba3c6978fa16c0bb523ce76a106ba006e6a9104384ad61336617604",
47
+ "mediaType": "application/octet-stream"
48
+ }
49
+ }
50
+ ],
51
+ "files": [
52
+ {
53
+ "path": "sdk.wasm",
54
+ "asset": "sdk",
55
+ "executable": false
56
+ },
57
+ {
58
+ "path": "bash.webc",
59
+ "asset": "bash",
60
+ "executable": false
61
+ }
62
+ ]
63
+ },
64
+ {
65
+ "id": "busybox",
66
+ "identity": "sha256:30ea0ce3a36013b343dddc0045c72f490c468268c1a1fd2050fdc8702f97bd40",
67
+ "dependencies": [],
68
+ "mount": "/opt/toolchains/busybox",
69
+ "producer": {
70
+ "repository": "https://github.com/seo-rii/wasm-idle",
71
+ "revision": "8ead09726cfed3c758c9a6b827bf1fa020549dd4",
72
+ "receiptSha256": "a726fa35c9959dbe85c9dfec17ddad9004ef43c403658d71c2080180afa084ad"
73
+ },
74
+ "capabilities": [
75
+ "wasi-preview1"
76
+ ],
77
+ "assets": [
78
+ {
79
+ "id": "busybox",
80
+ "url": "https://seo-rii.github.io/wasm-idle/container-app/objects/30ea0ce3a36013b343dddc0045c72f490c468268c1a1fd2050fdc8702f97bd40/busybox.wasm",
81
+ "encoding": "identity",
82
+ "delivery": {
83
+ "bytes": 634885,
84
+ "sha256": "30ea0ce3a36013b343dddc0045c72f490c468268c1a1fd2050fdc8702f97bd40",
85
+ "mediaType": "application/wasm"
86
+ },
87
+ "logical": {
88
+ "bytes": 634885,
89
+ "sha256": "30ea0ce3a36013b343dddc0045c72f490c468268c1a1fd2050fdc8702f97bd40",
90
+ "mediaType": "application/wasm"
91
+ }
92
+ }
93
+ ],
94
+ "files": [
95
+ {
96
+ "path": "bin/busybox",
97
+ "asset": "busybox",
98
+ "executable": true
99
+ }
100
+ ]
101
+ },
102
+ {
103
+ "id": "llvm",
104
+ "identity": "sha256:1f7f638019dbb70a74fc9d4c5579b5d8697bc243a893bc3f9dbdc65a4b80465b",
105
+ "dependencies": [],
106
+ "mount": "/opt/toolchains/llvm",
107
+ "producer": {
108
+ "repository": "https://github.com/llvm/llvm-project",
109
+ "revision": "ca7933e47d3a3451d81e72ac174dcb5aa28b59d1",
110
+ "receiptSha256": "7db6ac0eff2256c79e0a5435908810d15daa18d2220c57ab64fea2116b7ba9fd"
111
+ },
112
+ "capabilities": [
113
+ "wasi-preview1",
114
+ "llvm-tool-host-exec-v1"
115
+ ],
116
+ "assets": [
117
+ {
118
+ "id": "clang",
119
+ "encoding": "gzip",
120
+ "delivery": {
121
+ "bytes": 16270174,
122
+ "sha256": "eeee4f23e80b03cdd7b98c6722801f6e21143e67d83301a667acc7b70aba31ba",
123
+ "mediaType": "application/octet-stream"
124
+ },
125
+ "logical": {
126
+ "bytes": 51965041,
127
+ "sha256": "e0b548b70e13ad9620c1f47a1ef3f552b74cea586866ef1d8dcc0558c87f50e3",
128
+ "mediaType": "application/wasm"
129
+ },
130
+ "url": "https://seo-rii.github.io/wasm-idle/container-app/objects/eeee4f23e80b03cdd7b98c6722801f6e21143e67d83301a667acc7b70aba31ba/clang.wasm.gz.bin"
131
+ },
132
+ {
133
+ "id": "lld",
134
+ "encoding": "gzip",
135
+ "delivery": {
136
+ "bytes": 8178107,
137
+ "sha256": "dd9279345172fae1aef049ffcaf7531f945d85df08d97ea2ffce90581e9eee2d",
138
+ "mediaType": "application/octet-stream"
139
+ },
140
+ "logical": {
141
+ "bytes": 24938493,
142
+ "sha256": "3da2fc3d37702d3d56bce834672912334e36d245efaf97fbdda7e4b5e810134a",
143
+ "mediaType": "application/wasm"
144
+ },
145
+ "url": "https://seo-rii.github.io/wasm-idle/container-app/objects/dd9279345172fae1aef049ffcaf7531f945d85df08d97ea2ffce90581e9eee2d/lld.wasm.gz.bin"
146
+ },
147
+ {
148
+ "id": "sysroot",
149
+ "encoding": "identity",
150
+ "delivery": {
151
+ "bytes": 35328000,
152
+ "sha256": "b5c51389ce2f2b404f8b354788aa4a19a65d7e4af746cf52d24e7276d2eabf7f",
153
+ "mediaType": "application/octet-stream"
154
+ },
155
+ "logical": {
156
+ "bytes": 35328000,
157
+ "sha256": "b5c51389ce2f2b404f8b354788aa4a19a65d7e4af746cf52d24e7276d2eabf7f",
158
+ "mediaType": "application/octet-stream"
159
+ },
160
+ "url": "https://seo-rii.github.io/wasm-idle/container-app/objects/b5c51389ce2f2b404f8b354788aa4a19a65d7e4af746cf52d24e7276d2eabf7f/sysroot.tar.bin"
161
+ }
162
+ ],
163
+ "files": [
164
+ {
165
+ "path": "bin/llvm",
166
+ "asset": "clang",
167
+ "executable": true
168
+ },
169
+ {
170
+ "path": "bin/wasm-ld",
171
+ "asset": "lld",
172
+ "executable": true
173
+ },
174
+ {
175
+ "path": "sysroot.tar",
176
+ "asset": "sysroot",
177
+ "executable": false
178
+ }
179
+ ]
180
+ }
181
+ ],
182
+ "commands": [
183
+ {
184
+ "name": "busybox",
185
+ "package": "busybox",
186
+ "adapter": "wasi-preview1-live",
187
+ "path": "bin/busybox",
188
+ "argv0": "busybox",
189
+ "prefixArgs": []
190
+ },
191
+ {
192
+ "name": "base64",
193
+ "package": "busybox",
194
+ "adapter": "wasi-preview1-live",
195
+ "path": "bin/busybox",
196
+ "argv0": "base64",
197
+ "prefixArgs": []
198
+ },
199
+ {
200
+ "name": "basename",
201
+ "package": "busybox",
202
+ "adapter": "wasi-preview1-live",
203
+ "path": "bin/busybox",
204
+ "argv0": "basename",
205
+ "prefixArgs": []
206
+ },
207
+ {
208
+ "name": "cat",
209
+ "package": "busybox",
210
+ "adapter": "wasi-preview1-live",
211
+ "path": "bin/busybox",
212
+ "argv0": "cat",
213
+ "prefixArgs": []
214
+ },
215
+ {
216
+ "name": "cmp",
217
+ "package": "busybox",
218
+ "adapter": "wasi-preview1-live",
219
+ "path": "bin/busybox",
220
+ "argv0": "cmp",
221
+ "prefixArgs": []
222
+ },
223
+ {
224
+ "name": "cp",
225
+ "package": "busybox",
226
+ "adapter": "wasi-preview1-live",
227
+ "path": "bin/busybox",
228
+ "argv0": "cp",
229
+ "prefixArgs": []
230
+ },
231
+ {
232
+ "name": "cut",
233
+ "package": "busybox",
234
+ "adapter": "wasi-preview1-live",
235
+ "path": "bin/busybox",
236
+ "argv0": "cut",
237
+ "prefixArgs": []
238
+ },
239
+ {
240
+ "name": "diff",
241
+ "package": "busybox",
242
+ "adapter": "wasi-preview1-live",
243
+ "path": "bin/busybox",
244
+ "argv0": "diff",
245
+ "prefixArgs": []
246
+ },
247
+ {
248
+ "name": "dirname",
249
+ "package": "busybox",
250
+ "adapter": "wasi-preview1-live",
251
+ "path": "bin/busybox",
252
+ "argv0": "dirname",
253
+ "prefixArgs": []
254
+ },
255
+ {
256
+ "name": "echo",
257
+ "package": "busybox",
258
+ "adapter": "wasi-preview1-live",
259
+ "path": "bin/busybox",
260
+ "argv0": "echo",
261
+ "prefixArgs": []
262
+ },
263
+ {
264
+ "name": "false",
265
+ "package": "busybox",
266
+ "adapter": "wasi-preview1-live",
267
+ "path": "bin/busybox",
268
+ "argv0": "false",
269
+ "prefixArgs": []
270
+ },
271
+ {
272
+ "name": "find",
273
+ "package": "busybox",
274
+ "adapter": "wasi-preview1-live",
275
+ "path": "bin/busybox",
276
+ "argv0": "find",
277
+ "prefixArgs": []
278
+ },
279
+ {
280
+ "name": "grep",
281
+ "package": "busybox",
282
+ "adapter": "wasi-preview1-live",
283
+ "path": "bin/busybox",
284
+ "argv0": "grep",
285
+ "prefixArgs": []
286
+ },
287
+ {
288
+ "name": "gunzip",
289
+ "package": "busybox",
290
+ "adapter": "wasi-preview1-live",
291
+ "path": "bin/busybox",
292
+ "argv0": "gunzip",
293
+ "prefixArgs": []
294
+ },
295
+ {
296
+ "name": "gzip",
297
+ "package": "busybox",
298
+ "adapter": "wasi-preview1-live",
299
+ "path": "bin/busybox",
300
+ "argv0": "gzip",
301
+ "prefixArgs": []
302
+ },
303
+ {
304
+ "name": "head",
305
+ "package": "busybox",
306
+ "adapter": "wasi-preview1-live",
307
+ "path": "bin/busybox",
308
+ "argv0": "head",
309
+ "prefixArgs": []
310
+ },
311
+ {
312
+ "name": "hexdump",
313
+ "package": "busybox",
314
+ "adapter": "wasi-preview1-live",
315
+ "path": "bin/busybox",
316
+ "argv0": "hexdump",
317
+ "prefixArgs": []
318
+ },
319
+ {
320
+ "name": "ln",
321
+ "package": "busybox",
322
+ "adapter": "wasi-preview1-live",
323
+ "path": "bin/busybox",
324
+ "argv0": "ln",
325
+ "prefixArgs": []
326
+ },
327
+ {
328
+ "name": "ls",
329
+ "package": "busybox",
330
+ "adapter": "wasi-preview1-live",
331
+ "path": "bin/busybox",
332
+ "argv0": "ls",
333
+ "prefixArgs": []
334
+ },
335
+ {
336
+ "name": "mkdir",
337
+ "package": "busybox",
338
+ "adapter": "wasi-preview1-live",
339
+ "path": "bin/busybox",
340
+ "argv0": "mkdir",
341
+ "prefixArgs": []
342
+ },
343
+ {
344
+ "name": "mv",
345
+ "package": "busybox",
346
+ "adapter": "wasi-preview1-live",
347
+ "path": "bin/busybox",
348
+ "argv0": "mv",
349
+ "prefixArgs": []
350
+ },
351
+ {
352
+ "name": "od",
353
+ "package": "busybox",
354
+ "adapter": "wasi-preview1-live",
355
+ "path": "bin/busybox",
356
+ "argv0": "od",
357
+ "prefixArgs": []
358
+ },
359
+ {
360
+ "name": "printf",
361
+ "package": "busybox",
362
+ "adapter": "wasi-preview1-live",
363
+ "path": "bin/busybox",
364
+ "argv0": "printf",
365
+ "prefixArgs": []
366
+ },
367
+ {
368
+ "name": "pwd",
369
+ "package": "busybox",
370
+ "adapter": "wasi-preview1-live",
371
+ "path": "bin/busybox",
372
+ "argv0": "pwd",
373
+ "prefixArgs": []
374
+ },
375
+ {
376
+ "name": "readlink",
377
+ "package": "busybox",
378
+ "adapter": "wasi-preview1-live",
379
+ "path": "bin/busybox",
380
+ "argv0": "readlink",
381
+ "prefixArgs": []
382
+ },
383
+ {
384
+ "name": "realpath",
385
+ "package": "busybox",
386
+ "adapter": "wasi-preview1-live",
387
+ "path": "bin/busybox",
388
+ "argv0": "realpath",
389
+ "prefixArgs": []
390
+ },
391
+ {
392
+ "name": "rm",
393
+ "package": "busybox",
394
+ "adapter": "wasi-preview1-live",
395
+ "path": "bin/busybox",
396
+ "argv0": "rm",
397
+ "prefixArgs": []
398
+ },
399
+ {
400
+ "name": "rmdir",
401
+ "package": "busybox",
402
+ "adapter": "wasi-preview1-live",
403
+ "path": "bin/busybox",
404
+ "argv0": "rmdir",
405
+ "prefixArgs": []
406
+ },
407
+ {
408
+ "name": "sed",
409
+ "package": "busybox",
410
+ "adapter": "wasi-preview1-live",
411
+ "path": "bin/busybox",
412
+ "argv0": "sed",
413
+ "prefixArgs": []
414
+ },
415
+ {
416
+ "name": "sha256sum",
417
+ "package": "busybox",
418
+ "adapter": "wasi-preview1-live",
419
+ "path": "bin/busybox",
420
+ "argv0": "sha256sum",
421
+ "prefixArgs": []
422
+ },
423
+ {
424
+ "name": "sort",
425
+ "package": "busybox",
426
+ "adapter": "wasi-preview1-live",
427
+ "path": "bin/busybox",
428
+ "argv0": "sort",
429
+ "prefixArgs": []
430
+ },
431
+ {
432
+ "name": "stat",
433
+ "package": "busybox",
434
+ "adapter": "wasi-preview1-live",
435
+ "path": "bin/busybox",
436
+ "argv0": "stat",
437
+ "prefixArgs": []
438
+ },
439
+ {
440
+ "name": "tail",
441
+ "package": "busybox",
442
+ "adapter": "wasi-preview1-live",
443
+ "path": "bin/busybox",
444
+ "argv0": "tail",
445
+ "prefixArgs": []
446
+ },
447
+ {
448
+ "name": "tar",
449
+ "package": "busybox",
450
+ "adapter": "wasi-preview1-live",
451
+ "path": "bin/busybox",
452
+ "argv0": "tar",
453
+ "prefixArgs": []
454
+ },
455
+ {
456
+ "name": "tee",
457
+ "package": "busybox",
458
+ "adapter": "wasi-preview1-live",
459
+ "path": "bin/busybox",
460
+ "argv0": "tee",
461
+ "prefixArgs": []
462
+ },
463
+ {
464
+ "name": "touch",
465
+ "package": "busybox",
466
+ "adapter": "wasi-preview1-live",
467
+ "path": "bin/busybox",
468
+ "argv0": "touch",
469
+ "prefixArgs": []
470
+ },
471
+ {
472
+ "name": "tr",
473
+ "package": "busybox",
474
+ "adapter": "wasi-preview1-live",
475
+ "path": "bin/busybox",
476
+ "argv0": "tr",
477
+ "prefixArgs": []
478
+ },
479
+ {
480
+ "name": "true",
481
+ "package": "busybox",
482
+ "adapter": "wasi-preview1-live",
483
+ "path": "bin/busybox",
484
+ "argv0": "true",
485
+ "prefixArgs": []
486
+ },
487
+ {
488
+ "name": "uniq",
489
+ "package": "busybox",
490
+ "adapter": "wasi-preview1-live",
491
+ "path": "bin/busybox",
492
+ "argv0": "uniq",
493
+ "prefixArgs": []
494
+ },
495
+ {
496
+ "name": "unzip",
497
+ "package": "busybox",
498
+ "adapter": "wasi-preview1-live",
499
+ "path": "bin/busybox",
500
+ "argv0": "unzip",
501
+ "prefixArgs": []
502
+ },
503
+ {
504
+ "name": "wc",
505
+ "package": "busybox",
506
+ "adapter": "wasi-preview1-live",
507
+ "path": "bin/busybox",
508
+ "argv0": "wc",
509
+ "prefixArgs": []
510
+ },
511
+ {
512
+ "name": "clang",
513
+ "package": "llvm",
514
+ "adapter": "llvm-clang-tool-host-live-v1",
515
+ "path": "bin/llvm",
516
+ "argv0": "/opt/toolchains/llvm/bin/llvm",
517
+ "prefixArgs": [
518
+ "clang",
519
+ "--target=wasm32-wasi",
520
+ "-fuse-ld=/opt/toolchains/llvm/bin/wasm-ld",
521
+ "--sysroot=/usr/share/wasm-sysroot",
522
+ "-resource-dir=/usr/share/wasm-sysroot/lib/clang/22",
523
+ "-Wl,--max-memory=67108864"
524
+ ]
525
+ }
526
+ ],
527
+ "distributionId": "website-aadc62719404966fb4c4d019db5651417854efe47f57582e26612ecc6a36d389"
528
+ },
529
+ "config": {
530
+ "manifest": "{\n \"schemaVersion\": 1,\n \"packages\": [\n {\n \"id\": \"shell\",\n \"identity\": \"sha256:e4fe2cf474b0276d79c0899ab233f2f1a0fca3ad494c842345a21ea5ed69c711\",\n \"dependencies\": [],\n \"mount\": \"/opt/toolchains/bash\",\n \"producer\": {\n \"repository\": \"https://github.com/seo-rii/wasm-idle\",\n \"revision\": \"65c335b48fe2fade4f24d4c8ff00c03f5c9b16b3\",\n \"receiptSha256\": \"4953449c949841bdf8cc17d40103e5cf2be466a39da695ef89ebefb1d2645d64\"\n },\n \"capabilities\": [\n \"wasix\"\n ],\n \"assets\": [\n {\n \"id\": \"sdk\",\n \"url\": \"https://seo-rii.github.io/wasm-idle/container-app/objects/522a8c74c286f6b69256b537a0d3d8a2c17130f4b855ace9605d7434e3414bce/sdk.wasm\",\n \"encoding\": \"identity\",\n \"delivery\": {\n \"bytes\": 9246938,\n \"sha256\": \"522a8c74c286f6b69256b537a0d3d8a2c17130f4b855ace9605d7434e3414bce\",\n \"mediaType\": \"application/wasm\"\n },\n \"logical\": {\n \"bytes\": 9246938,\n \"sha256\": \"522a8c74c286f6b69256b537a0d3d8a2c17130f4b855ace9605d7434e3414bce\",\n \"mediaType\": \"application/wasm\"\n }\n },\n {\n \"id\": \"bash\",\n \"url\": \"https://seo-rii.github.io/wasm-idle/container-app/objects/7b96d6c3fba3c6978fa16c0bb523ce76a106ba006e6a9104384ad61336617604/bash.webc.bin\",\n \"encoding\": \"identity\",\n \"delivery\": {\n \"bytes\": 1814180,\n \"sha256\": \"7b96d6c3fba3c6978fa16c0bb523ce76a106ba006e6a9104384ad61336617604\",\n \"mediaType\": \"application/octet-stream\"\n },\n \"logical\": {\n \"bytes\": 1814180,\n \"sha256\": \"7b96d6c3fba3c6978fa16c0bb523ce76a106ba006e6a9104384ad61336617604\",\n \"mediaType\": \"application/octet-stream\"\n }\n }\n ],\n \"files\": [\n {\n \"path\": \"sdk.wasm\",\n \"asset\": \"sdk\",\n \"executable\": false\n },\n {\n \"path\": \"bash.webc\",\n \"asset\": \"bash\",\n \"executable\": false\n }\n ]\n },\n {\n \"id\": \"busybox\",\n \"identity\": \"sha256:30ea0ce3a36013b343dddc0045c72f490c468268c1a1fd2050fdc8702f97bd40\",\n \"dependencies\": [],\n \"mount\": \"/opt/toolchains/busybox\",\n \"producer\": {\n \"repository\": \"https://github.com/seo-rii/wasm-idle\",\n \"revision\": \"8ead09726cfed3c758c9a6b827bf1fa020549dd4\",\n \"receiptSha256\": \"a726fa35c9959dbe85c9dfec17ddad9004ef43c403658d71c2080180afa084ad\"\n },\n \"capabilities\": [\n \"wasi-preview1\"\n ],\n \"assets\": [\n {\n \"id\": \"busybox\",\n \"url\": \"https://seo-rii.github.io/wasm-idle/container-app/objects/30ea0ce3a36013b343dddc0045c72f490c468268c1a1fd2050fdc8702f97bd40/busybox.wasm\",\n \"encoding\": \"identity\",\n \"delivery\": {\n \"bytes\": 634885,\n \"sha256\": \"30ea0ce3a36013b343dddc0045c72f490c468268c1a1fd2050fdc8702f97bd40\",\n \"mediaType\": \"application/wasm\"\n },\n \"logical\": {\n \"bytes\": 634885,\n \"sha256\": \"30ea0ce3a36013b343dddc0045c72f490c468268c1a1fd2050fdc8702f97bd40\",\n \"mediaType\": \"application/wasm\"\n }\n }\n ],\n \"files\": [\n {\n \"path\": \"bin/busybox\",\n \"asset\": \"busybox\",\n \"executable\": true\n }\n ]\n },\n {\n \"id\": \"llvm\",\n \"identity\": \"sha256:1f7f638019dbb70a74fc9d4c5579b5d8697bc243a893bc3f9dbdc65a4b80465b\",\n \"dependencies\": [],\n \"mount\": \"/opt/toolchains/llvm\",\n \"producer\": {\n \"repository\": \"https://github.com/llvm/llvm-project\",\n \"revision\": \"ca7933e47d3a3451d81e72ac174dcb5aa28b59d1\",\n \"receiptSha256\": \"7db6ac0eff2256c79e0a5435908810d15daa18d2220c57ab64fea2116b7ba9fd\"\n },\n \"capabilities\": [\n \"wasi-preview1\",\n \"llvm-tool-host-exec-v1\"\n ],\n \"assets\": [\n {\n \"id\": \"clang\",\n \"encoding\": \"gzip\",\n \"delivery\": {\n \"bytes\": 16270174,\n \"sha256\": \"eeee4f23e80b03cdd7b98c6722801f6e21143e67d83301a667acc7b70aba31ba\",\n \"mediaType\": \"application/octet-stream\"\n },\n \"logical\": {\n \"bytes\": 51965041,\n \"sha256\": \"e0b548b70e13ad9620c1f47a1ef3f552b74cea586866ef1d8dcc0558c87f50e3\",\n \"mediaType\": \"application/wasm\"\n },\n \"url\": \"https://seo-rii.github.io/wasm-idle/container-app/objects/eeee4f23e80b03cdd7b98c6722801f6e21143e67d83301a667acc7b70aba31ba/clang.wasm.gz.bin\"\n },\n {\n \"id\": \"lld\",\n \"encoding\": \"gzip\",\n \"delivery\": {\n \"bytes\": 8178107,\n \"sha256\": \"dd9279345172fae1aef049ffcaf7531f945d85df08d97ea2ffce90581e9eee2d\",\n \"mediaType\": \"application/octet-stream\"\n },\n \"logical\": {\n \"bytes\": 24938493,\n \"sha256\": \"3da2fc3d37702d3d56bce834672912334e36d245efaf97fbdda7e4b5e810134a\",\n \"mediaType\": \"application/wasm\"\n },\n \"url\": \"https://seo-rii.github.io/wasm-idle/container-app/objects/dd9279345172fae1aef049ffcaf7531f945d85df08d97ea2ffce90581e9eee2d/lld.wasm.gz.bin\"\n },\n {\n \"id\": \"sysroot\",\n \"encoding\": \"identity\",\n \"delivery\": {\n \"bytes\": 35328000,\n \"sha256\": \"b5c51389ce2f2b404f8b354788aa4a19a65d7e4af746cf52d24e7276d2eabf7f\",\n \"mediaType\": \"application/octet-stream\"\n },\n \"logical\": {\n \"bytes\": 35328000,\n \"sha256\": \"b5c51389ce2f2b404f8b354788aa4a19a65d7e4af746cf52d24e7276d2eabf7f\",\n \"mediaType\": \"application/octet-stream\"\n },\n \"url\": \"https://seo-rii.github.io/wasm-idle/container-app/objects/b5c51389ce2f2b404f8b354788aa4a19a65d7e4af746cf52d24e7276d2eabf7f/sysroot.tar.bin\"\n }\n ],\n \"files\": [\n {\n \"path\": \"bin/llvm\",\n \"asset\": \"clang\",\n \"executable\": true\n },\n {\n \"path\": \"bin/wasm-ld\",\n \"asset\": \"lld\",\n \"executable\": true\n },\n {\n \"path\": \"sysroot.tar\",\n \"asset\": \"sysroot\",\n \"executable\": false\n }\n ]\n }\n ],\n \"commands\": [\n {\n \"name\": \"busybox\",\n \"package\": \"busybox\",\n \"adapter\": \"wasi-preview1-live\",\n \"path\": \"bin/busybox\",\n \"argv0\": \"busybox\",\n \"prefixArgs\": []\n },\n {\n \"name\": \"base64\",\n \"package\": \"busybox\",\n \"adapter\": \"wasi-preview1-live\",\n \"path\": \"bin/busybox\",\n \"argv0\": \"base64\",\n \"prefixArgs\": []\n },\n {\n \"name\": \"basename\",\n \"package\": \"busybox\",\n \"adapter\": \"wasi-preview1-live\",\n \"path\": \"bin/busybox\",\n \"argv0\": \"basename\",\n \"prefixArgs\": []\n },\n {\n \"name\": \"cat\",\n \"package\": \"busybox\",\n \"adapter\": \"wasi-preview1-live\",\n \"path\": \"bin/busybox\",\n \"argv0\": \"cat\",\n \"prefixArgs\": []\n },\n {\n \"name\": \"cmp\",\n \"package\": \"busybox\",\n \"adapter\": \"wasi-preview1-live\",\n \"path\": \"bin/busybox\",\n \"argv0\": \"cmp\",\n \"prefixArgs\": []\n },\n {\n \"name\": \"cp\",\n \"package\": \"busybox\",\n \"adapter\": \"wasi-preview1-live\",\n \"path\": \"bin/busybox\",\n \"argv0\": \"cp\",\n \"prefixArgs\": []\n },\n {\n \"name\": \"cut\",\n \"package\": \"busybox\",\n \"adapter\": \"wasi-preview1-live\",\n \"path\": \"bin/busybox\",\n \"argv0\": \"cut\",\n \"prefixArgs\": []\n },\n {\n \"name\": \"diff\",\n \"package\": \"busybox\",\n \"adapter\": \"wasi-preview1-live\",\n \"path\": \"bin/busybox\",\n \"argv0\": \"diff\",\n \"prefixArgs\": []\n },\n {\n \"name\": \"dirname\",\n \"package\": \"busybox\",\n \"adapter\": \"wasi-preview1-live\",\n \"path\": \"bin/busybox\",\n \"argv0\": \"dirname\",\n \"prefixArgs\": []\n },\n {\n \"name\": \"echo\",\n \"package\": \"busybox\",\n \"adapter\": \"wasi-preview1-live\",\n \"path\": \"bin/busybox\",\n \"argv0\": \"echo\",\n \"prefixArgs\": []\n },\n {\n \"name\": \"false\",\n \"package\": \"busybox\",\n \"adapter\": \"wasi-preview1-live\",\n \"path\": \"bin/busybox\",\n \"argv0\": \"false\",\n \"prefixArgs\": []\n },\n {\n \"name\": \"find\",\n \"package\": \"busybox\",\n \"adapter\": \"wasi-preview1-live\",\n \"path\": \"bin/busybox\",\n \"argv0\": \"find\",\n \"prefixArgs\": []\n },\n {\n \"name\": \"grep\",\n \"package\": \"busybox\",\n \"adapter\": \"wasi-preview1-live\",\n \"path\": \"bin/busybox\",\n \"argv0\": \"grep\",\n \"prefixArgs\": []\n },\n {\n \"name\": \"gunzip\",\n \"package\": \"busybox\",\n \"adapter\": \"wasi-preview1-live\",\n \"path\": \"bin/busybox\",\n \"argv0\": \"gunzip\",\n \"prefixArgs\": []\n },\n {\n \"name\": \"gzip\",\n \"package\": \"busybox\",\n \"adapter\": \"wasi-preview1-live\",\n \"path\": \"bin/busybox\",\n \"argv0\": \"gzip\",\n \"prefixArgs\": []\n },\n {\n \"name\": \"head\",\n \"package\": \"busybox\",\n \"adapter\": \"wasi-preview1-live\",\n \"path\": \"bin/busybox\",\n \"argv0\": \"head\",\n \"prefixArgs\": []\n },\n {\n \"name\": \"hexdump\",\n \"package\": \"busybox\",\n \"adapter\": \"wasi-preview1-live\",\n \"path\": \"bin/busybox\",\n \"argv0\": \"hexdump\",\n \"prefixArgs\": []\n },\n {\n \"name\": \"ln\",\n \"package\": \"busybox\",\n \"adapter\": \"wasi-preview1-live\",\n \"path\": \"bin/busybox\",\n \"argv0\": \"ln\",\n \"prefixArgs\": []\n },\n {\n \"name\": \"ls\",\n \"package\": \"busybox\",\n \"adapter\": \"wasi-preview1-live\",\n \"path\": \"bin/busybox\",\n \"argv0\": \"ls\",\n \"prefixArgs\": []\n },\n {\n \"name\": \"mkdir\",\n \"package\": \"busybox\",\n \"adapter\": \"wasi-preview1-live\",\n \"path\": \"bin/busybox\",\n \"argv0\": \"mkdir\",\n \"prefixArgs\": []\n },\n {\n \"name\": \"mv\",\n \"package\": \"busybox\",\n \"adapter\": \"wasi-preview1-live\",\n \"path\": \"bin/busybox\",\n \"argv0\": \"mv\",\n \"prefixArgs\": []\n },\n {\n \"name\": \"od\",\n \"package\": \"busybox\",\n \"adapter\": \"wasi-preview1-live\",\n \"path\": \"bin/busybox\",\n \"argv0\": \"od\",\n \"prefixArgs\": []\n },\n {\n \"name\": \"printf\",\n \"package\": \"busybox\",\n \"adapter\": \"wasi-preview1-live\",\n \"path\": \"bin/busybox\",\n \"argv0\": \"printf\",\n \"prefixArgs\": []\n },\n {\n \"name\": \"pwd\",\n \"package\": \"busybox\",\n \"adapter\": \"wasi-preview1-live\",\n \"path\": \"bin/busybox\",\n \"argv0\": \"pwd\",\n \"prefixArgs\": []\n },\n {\n \"name\": \"readlink\",\n \"package\": \"busybox\",\n \"adapter\": \"wasi-preview1-live\",\n \"path\": \"bin/busybox\",\n \"argv0\": \"readlink\",\n \"prefixArgs\": []\n },\n {\n \"name\": \"realpath\",\n \"package\": \"busybox\",\n \"adapter\": \"wasi-preview1-live\",\n \"path\": \"bin/busybox\",\n \"argv0\": \"realpath\",\n \"prefixArgs\": []\n },\n {\n \"name\": \"rm\",\n \"package\": \"busybox\",\n \"adapter\": \"wasi-preview1-live\",\n \"path\": \"bin/busybox\",\n \"argv0\": \"rm\",\n \"prefixArgs\": []\n },\n {\n \"name\": \"rmdir\",\n \"package\": \"busybox\",\n \"adapter\": \"wasi-preview1-live\",\n \"path\": \"bin/busybox\",\n \"argv0\": \"rmdir\",\n \"prefixArgs\": []\n },\n {\n \"name\": \"sed\",\n \"package\": \"busybox\",\n \"adapter\": \"wasi-preview1-live\",\n \"path\": \"bin/busybox\",\n \"argv0\": \"sed\",\n \"prefixArgs\": []\n },\n {\n \"name\": \"sha256sum\",\n \"package\": \"busybox\",\n \"adapter\": \"wasi-preview1-live\",\n \"path\": \"bin/busybox\",\n \"argv0\": \"sha256sum\",\n \"prefixArgs\": []\n },\n {\n \"name\": \"sort\",\n \"package\": \"busybox\",\n \"adapter\": \"wasi-preview1-live\",\n \"path\": \"bin/busybox\",\n \"argv0\": \"sort\",\n \"prefixArgs\": []\n },\n {\n \"name\": \"stat\",\n \"package\": \"busybox\",\n \"adapter\": \"wasi-preview1-live\",\n \"path\": \"bin/busybox\",\n \"argv0\": \"stat\",\n \"prefixArgs\": []\n },\n {\n \"name\": \"tail\",\n \"package\": \"busybox\",\n \"adapter\": \"wasi-preview1-live\",\n \"path\": \"bin/busybox\",\n \"argv0\": \"tail\",\n \"prefixArgs\": []\n },\n {\n \"name\": \"tar\",\n \"package\": \"busybox\",\n \"adapter\": \"wasi-preview1-live\",\n \"path\": \"bin/busybox\",\n \"argv0\": \"tar\",\n \"prefixArgs\": []\n },\n {\n \"name\": \"tee\",\n \"package\": \"busybox\",\n \"adapter\": \"wasi-preview1-live\",\n \"path\": \"bin/busybox\",\n \"argv0\": \"tee\",\n \"prefixArgs\": []\n },\n {\n \"name\": \"touch\",\n \"package\": \"busybox\",\n \"adapter\": \"wasi-preview1-live\",\n \"path\": \"bin/busybox\",\n \"argv0\": \"touch\",\n \"prefixArgs\": []\n },\n {\n \"name\": \"tr\",\n \"package\": \"busybox\",\n \"adapter\": \"wasi-preview1-live\",\n \"path\": \"bin/busybox\",\n \"argv0\": \"tr\",\n \"prefixArgs\": []\n },\n {\n \"name\": \"true\",\n \"package\": \"busybox\",\n \"adapter\": \"wasi-preview1-live\",\n \"path\": \"bin/busybox\",\n \"argv0\": \"true\",\n \"prefixArgs\": []\n },\n {\n \"name\": \"uniq\",\n \"package\": \"busybox\",\n \"adapter\": \"wasi-preview1-live\",\n \"path\": \"bin/busybox\",\n \"argv0\": \"uniq\",\n \"prefixArgs\": []\n },\n {\n \"name\": \"unzip\",\n \"package\": \"busybox\",\n \"adapter\": \"wasi-preview1-live\",\n \"path\": \"bin/busybox\",\n \"argv0\": \"unzip\",\n \"prefixArgs\": []\n },\n {\n \"name\": \"wc\",\n \"package\": \"busybox\",\n \"adapter\": \"wasi-preview1-live\",\n \"path\": \"bin/busybox\",\n \"argv0\": \"wc\",\n \"prefixArgs\": []\n },\n {\n \"name\": \"clang\",\n \"package\": \"llvm\",\n \"adapter\": \"llvm-clang-tool-host-live-v1\",\n \"path\": \"bin/llvm\",\n \"argv0\": \"/opt/toolchains/llvm/bin/llvm\",\n \"prefixArgs\": [\n \"clang\",\n \"--target=wasm32-wasi\",\n \"-fuse-ld=/opt/toolchains/llvm/bin/wasm-ld\",\n \"--sysroot=/usr/share/wasm-sysroot\",\n \"-resource-dir=/usr/share/wasm-sysroot/lib/clang/22\",\n \"-Wl,--max-memory=67108864\"\n ]\n }\n ],\n \"distributionId\": \"website-aadc62719404966fb4c4d019db5651417854efe47f57582e26612ecc6a36d389\"\n}\n",
531
+ "manifestSha256": "cd73953077c3157aa1c69ece6ca4160efff63703ce99f4385f1b227bf83c2e2d",
532
+ "assetURLs": [
533
+ "https://seo-rii.github.io/wasm-idle/container-app/objects/522a8c74c286f6b69256b537a0d3d8a2c17130f4b855ace9605d7434e3414bce/sdk.wasm",
534
+ "https://seo-rii.github.io/wasm-idle/container-app/objects/7b96d6c3fba3c6978fa16c0bb523ce76a106ba006e6a9104384ad61336617604/bash.webc.bin",
535
+ "https://seo-rii.github.io/wasm-idle/container-app/objects/30ea0ce3a36013b343dddc0045c72f490c468268c1a1fd2050fdc8702f97bd40/busybox.wasm",
536
+ "https://seo-rii.github.io/wasm-idle/container-app/objects/eeee4f23e80b03cdd7b98c6722801f6e21143e67d83301a667acc7b70aba31ba/clang.wasm.gz.bin",
537
+ "https://seo-rii.github.io/wasm-idle/container-app/objects/dd9279345172fae1aef049ffcaf7531f945d85df08d97ea2ffce90581e9eee2d/lld.wasm.gz.bin",
538
+ "https://seo-rii.github.io/wasm-idle/container-app/objects/b5c51389ce2f2b404f8b354788aa4a19a65d7e4af746cf52d24e7276d2eabf7f/sysroot.tar.bin"
539
+ ],
540
+ "sdkUrl": "./sdk/index.mjs",
541
+ "sdkWorkerUrl": "./sdk/worker.mjs",
542
+ "liveWorkerUrl": "./live-worker.mjs",
543
+ "clangWorkerUrl": "./clang-worker.mjs",
544
+ "sdkAsset": {
545
+ "packageId": "shell",
546
+ "assetId": "sdk"
547
+ },
548
+ "shellAsset": {
549
+ "packageId": "shell",
550
+ "assetId": "bash"
551
+ },
552
+ "bashWasmSha256": "b960085bf67b064f73658fb2678f2d9d87eda448a74840d582f1d615f1a94a8f",
553
+ "memory": {
554
+ "initial": 35,
555
+ "maximum": 16384,
556
+ "shared": true
557
+ },
558
+ "clangSha256": "e0b548b70e13ad9620c1f47a1ef3f552b74cea586866ef1d8dcc0558c87f50e3",
559
+ "linkerSha256": "3da2fc3d37702d3d56bce834672912334e36d245efaf97fbdda7e4b5e810134a",
560
+ "cacheNamespace": "container-website",
561
+ "commandTimeoutMs": 240000,
562
+ "clangFilesystem": "live"
563
+ },
564
+ "hostHash": "c9dd8f39b4fe219a9e0ce4635ae35e1a909ec4d9156004f46b61a403933af55b",
565
+ "container": {
566
+ "source": "workspace",
567
+ "profile": "virtual-metadata-v1",
568
+ "package": "@wasm-idle/container",
569
+ "version": "0.1.0-alpha.0",
570
+ "packageJsonSha256": "6f466afc2393dd72dfbcfefd4a99ac29ce9b775b984f6af6b2dd9b5e9b625044",
571
+ "files": {
572
+ "dist/index.js": "6a3f1db162cb02ff34783c1d8b338935fa2876ab66774fe6fc7e376b877299f3",
573
+ "dist/adapters/wasix/index.js": "43813aa511ff0b78f5342982f27abe69a7e7c8f4a5fa3bf5dfeb08683113f8db",
574
+ "dist/adapters/clang/index.js": "e6a9662175670cdf1dcc58afc27620e5848b2e2f899c8667b610027cc47dbb5a",
575
+ "dist/adapters/clang-live/index.js": "630cce26bc0ba89a8644043633c21d0cadb8a010546ed3f8f8c760dc40e0051e",
576
+ "dist/adapters/wasi-live/index.js": "a59b80163c9ce907d2602bc92e708581f147ab5b5da3abce47301b7235cfa088",
577
+ "dist/fs/persistence/index.js": "ecfb92ffb4a79dab9f17fe44182a0d9f6523f0dcbbecefd44fd9b64aedcf7cf5",
578
+ "dist/workspace/index.js": "ca74765bbdac2827bdcd4992364fe8c5ba316d84c00d280fd4974156375738d9",
579
+ "dist/terminal/index.js": "f6afa89b2554b7212ba40630260f6a3c96b41cfda9957ef48239a0a1467a0269",
580
+ "dist/adapters/wasi-live/worker.js": "847e8cbed2699ef0bc9f0f2dbc6f4af21a0e01360cb53a8a97c83cdbe4148419",
581
+ "dist/adapters/clang-live/worker.js": "69bc3d7a44ee0897d674ed06dc2baf51bf98f3b4402a34c9bec88df4118538a9"
582
+ }
583
+ },
584
+ "baseURL": "https://seo-rii.github.io/wasm-idle/container-app/"
585
+ };
586
+ export async function createWebsiteBashConfiguration(applicationRootURL) {
587
+ const application = new URL(applicationRootURL, globalThis.location.href);
588
+ if (application.origin !== globalThis.location.origin || !application.pathname.endsWith('/') || application.search || application.hash || application.username || application.password)
589
+ throw new Error('Invalid application asset root');
590
+ const base = new URL('container-app/', application);
591
+ const priorBase = new URL(release.baseURL);
592
+ const distribution = structuredClone(release.distribution);
593
+ for (const pkg of distribution.packages)
594
+ for (const asset of pkg.assets) {
595
+ const path = new URL(asset.url).pathname.slice(priorBase.pathname.length);
596
+ if (!/^objects\/[a-f0-9]{64}\/[a-z0-9.-]+$/.test(path))
597
+ throw new Error('Invalid fixed container object');
598
+ asset.url = new URL(path, base).href;
599
+ }
600
+ const manifest = JSON.stringify(distribution);
601
+ const manifestSha256 = Array.from(new Uint8Array(await crypto.subtle.digest('SHA-256', new TextEncoder().encode(manifest))), n => n.toString(16).padStart(2, '0')).join('');
602
+ const host = new URL('host/' + release.hostHash + '/', base);
603
+ const config = { ...release.config, manifest, manifestSha256,
604
+ assetURLs: distribution.packages.flatMap(pkg => pkg.assets.map(asset => asset.url)),
605
+ sdkUrl: new URL('./sdk/index.mjs', host).href, sdkWorkerUrl: new URL('./sdk/worker.mjs', host).href,
606
+ liveWorkerUrl: new URL('./live-worker.mjs', host).href, clangWorkerUrl: new URL('./clang-worker.mjs', host).href,
607
+ commandTimeoutMs: undefined
608
+ };
609
+ // This URL comes from the compiled application's fixed host hash, never a guest or a fetched manifest.
610
+ const sdk = await import(/* @vite-ignore */ config.sdkUrl);
611
+ return { config, sdk };
612
+ }