swytchcode-runtime 0.1.3 → 0.1.4
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/README.md +2 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -68,7 +68,7 @@ Equivalent to: `swytchcode exec api.report.export --raw` with input on stdin.
|
|
|
68
68
|
- **`allowRaw`** – If `true`, pass `--allow-raw` to the CLI; required for executing raw methods (kernel has this disabled by default).
|
|
69
69
|
- **`debug`** – If `true`, log spawn args, cwd, exit status, and stdout/stderr lengths to stderr.
|
|
70
70
|
|
|
71
|
-
This runtime invokes `swytchcode exec [canonical_id]` with the flags above. For full exec behavior (exit codes, output format, pipeline), see the [Swytchcode kernel documentation](https://
|
|
71
|
+
This runtime invokes `swytchcode exec [canonical_id]` with the flags above. For full exec behavior (exit codes, output format, pipeline), see the [Swytchcode kernel documentation](https://gitlab.com/swytchcode/swytchcode-runtime).
|
|
72
72
|
|
|
73
73
|
**Debug logs** are also enabled when `SWYTCHCODE_RUNTIME_DEBUG=1` or `SWYTCHCODE_RUNTIME_DEBUG=true` (no code change):
|
|
74
74
|
|
|
@@ -114,6 +114,7 @@ This library **must not** and **does not**:
|
|
|
114
114
|
|
|
115
115
|
It is a pipe, not a brain.
|
|
116
116
|
|
|
117
|
+
|
|
117
118
|
## For Cursor / IDE agents
|
|
118
119
|
|
|
119
120
|
Generate code that uses this runtime instead of subprocess boilerplate.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "swytchcode-runtime",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.4",
|
|
4
4
|
"description": "Thin runtime wrapper around the Swytchcode CLI",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
},
|
|
29
29
|
"repository": {
|
|
30
30
|
"type": "git",
|
|
31
|
-
"url": "https://gitlab.com/swytchcode/runtime
|
|
31
|
+
"url": "https://gitlab.com/swytchcode/js-runtime"
|
|
32
32
|
},
|
|
33
33
|
"license": "MIT",
|
|
34
34
|
"keywords": ["swytchcode", "cli", "runtime", "exec"]
|