@unikernelai/sandbox-cli 1.1.0 → 1.2.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.
- package/SKILL.md +2 -2
- package/dist/cli.js +4 -4
- package/package.json +5 -4
package/SKILL.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
# SKILL: unik —
|
|
1
|
+
# SKILL: unik — Unikernel AI Sandbox CLI
|
|
2
2
|
|
|
3
3
|
## Overview
|
|
4
|
-
`unik` is a CLI for running code in unikernel-isolated sandboxes on
|
|
4
|
+
`unik` is a CLI for running code in unikernel-isolated sandboxes on Unikernel AI.
|
|
5
5
|
It is designed to be used by autonomous AI agents as well as humans.
|
|
6
6
|
|
|
7
7
|
## Agent Mode (automatic)
|
package/dist/cli.js
CHANGED
|
@@ -57,8 +57,8 @@ function readStdin() {
|
|
|
57
57
|
// ─── CLI ──────────────────────────────────────────────────────────────────────
|
|
58
58
|
program
|
|
59
59
|
.name("unik")
|
|
60
|
-
.description("
|
|
61
|
-
.version("1.
|
|
60
|
+
.description("Unikernel AI sandbox CLI. JSON output auto-enabled in pipe/agent mode.")
|
|
61
|
+
.version("1.2.0");
|
|
62
62
|
// schema ─────────────────────────────────────────────────────────────────────
|
|
63
63
|
program.command("schema").description("Output a machine-readable JSON schema of all commands. For agents.").action(() => jsonOut(SCHEMA));
|
|
64
64
|
// auth ────────────────────────────────────────────────────────────────────────
|
|
@@ -282,8 +282,8 @@ program.command("mcp")
|
|
|
282
282
|
});
|
|
283
283
|
// ─── Schema (for unik schema command) ────────────────────────────────────────
|
|
284
284
|
const SCHEMA = {
|
|
285
|
-
name: "unik", version: "1.
|
|
286
|
-
description: "
|
|
285
|
+
name: "unik", version: "1.2.0",
|
|
286
|
+
description: "Unikernel AI sandbox CLI — unikernel-isolated code execution",
|
|
287
287
|
agent_note: "stdout is JSON when stdout is not a TTY. Exit 0 = success, exit 1 = error. Errors go to stderr as JSON { ok: false, error: string }.",
|
|
288
288
|
commands: [
|
|
289
289
|
{ command: "unik run <language> [code]", description: "Stateless execution. Reads stdin if code omitted.", args: { language: "python|nodejs|shell", code: "string (optional)" }, options: { "--timeout <ms>": "max 8000 (default 8000)" }, output: { ok: "bool", status: "success|error|timeout", stdout: "string", stderr: "string", execution_time_ms: "number" } },
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@unikernelai/sandbox-cli",
|
|
3
|
-
"version": "1.
|
|
4
|
-
"description": "CLI for the
|
|
3
|
+
"version": "1.2.0",
|
|
4
|
+
"description": "CLI for the Unikernel AI sandbox — run code, manage sandboxes, provision API keys",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
7
7
|
"unik": "./dist/cli.js"
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
"dev": "node --loader ts-node/esm src/cli.ts"
|
|
17
17
|
},
|
|
18
18
|
"dependencies": {
|
|
19
|
-
"@unikernelai/sandbox": "^1.
|
|
19
|
+
"@unikernelai/sandbox": "^1.2.0",
|
|
20
20
|
"commander": "^12.1.0"
|
|
21
21
|
},
|
|
22
22
|
"devDependencies": {
|
|
@@ -25,7 +25,8 @@
|
|
|
25
25
|
},
|
|
26
26
|
"keywords": [
|
|
27
27
|
"sandbox",
|
|
28
|
-
"
|
|
28
|
+
"unikernel",
|
|
29
|
+
"unikernel-ai",
|
|
29
30
|
"code-execution",
|
|
30
31
|
"cli"
|
|
31
32
|
],
|