Codewerk
wasi run
Compiles a caller-supplied WebAssembly version 1 module (at most 64 KiB) with Node.js 22 and runs its _start command through the WASI preview1 ABI. Guest arguments and stdin are data, not host command arguments. No environment variables; the only preopened directory is /work, populated with up to eight small files and returned as base64 afterward. A separate OS rootfs, dynamic unprivileged user, read-only runtime mounts, private network, address-family restrictions and systemd cgroup limits.
POST https://code.halowerk.com/v1/wasi-runInputs
| Field | Type | Required | Description |
|---|---|---|---|
| wasm_base64 | string | Yes | Canonical standard base64 of a WASI command module, at most 64 KiB. |
| stdin | string | No | UTF-8 standard input, at most 8192 bytes. |
| args | array | No | |
| files | array | No |
Show full input schema
{
"type": "object",
"additionalProperties": false,
"required": [
"wasm_base64"
],
"properties": {
"wasm_base64": {
"type": "string",
"minLength": 12,
"maxLength": 87384,
"description": "Canonical standard base64 of a WASI command module, at most 64 KiB."
},
"stdin": {
"type": "string",
"maxLength": 8192,
"default": "",
"description": "UTF-8 standard input, at most 8192 bytes."
},
"args": {
"type": "array",
"maxItems": 16,
"default": [],
"items": {
"type": "string",
"maxLength": 128,
"pattern": "^[^\\x00]*$"
}
},
"files": {
"type": "array",
"maxItems": 8,
"default": [],
"items": {
"type": "object",
"additionalProperties": false,
"required": [
"name",
"base64"
],
"properties": {
"name": {
"type": "string",
"minLength": 1,
"maxLength": 128,
"pattern": "^[^/\\\\\\x00-\\x1f]+$",
"description": "A unique flat file name, without path separators or control characters."
},
"base64": {
"type": "string",
"maxLength": 43692
}
}
}
}
}
}Published input example
{
"wasm_base64": "AGFzbQEAAAABDAJgAABgBH9/f38BfwIjARZ3YXNpX3NuYXBzaG90X3ByZXZpZXcxCGZkX3dyaXRlAAEDAgEABQMBAAEHEwIGbWVtb3J5AgAGX3N0YXJ0AAEKHgEcAEEgQYABNgIAQSRBBjYCAEEBQSBBAUEIEAAaCwsNAQBBgAELBmhlbGxvCg=="
}Result & documentation
Machine-readable documentation of this hub
Source of this page: the published HALOWERK catalog. Updated: 2026-11-17 UTC.
More endpoints in this hub
- Codewerk0.003 USDC
action sha pin
POSThttps://code.halowerk.com/v1/action-sha-pinFinds every "uses: owner/repo[/path]@ref" in a GitHub Actions workflow, resolves tags (including annotated tags) and branches to the commit SHA with git ls-remote against github.com, and rewrites the line to "uses: owner/repo[/path]@<sha> #
- Codewerk0.003 USDC
actionlint
POSThttps://code.halowerk.com/v1/actionlintRuns the official statically linked actionlint 1.7.12 release binary (MIT, SHA-256 checked against the published checksums) in an isolated child process without network, with the bundled ShellCheck 0.11.0 for run: scripts (pyflakes is not a
- Codewerk0.004 USDC
api changelog
POSThttps://code.halowerk.com/v1/api-changelogCompares operations, parameters, request bodies, response codes and media types, component schemas (one property level), servers and security schemes of two documents (Swagger 2.0 is converted with swagger2openapi first; 3.0 and 3.1 are rea