@supen-ai/cli 0.1.6 → 0.1.8

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 CHANGED
@@ -65,13 +65,15 @@ When `app.supen.ai` generates a remote computer claim, paste the generated comma
65
65
  on a machine that already has `codex` installed and authenticated:
66
66
 
67
67
  ```bash
68
- npx -y @supen-ai/cli@0.1.6 computer enroll --claim '<one-time-claim-token>' --runtime host --yes
68
+ /bin/sh -c 'set -eu; v=22.22.0; case "$(uname -s):$(uname -m)" in Linux:x86_64) p=linux-x64;; Linux:aarch64|Linux:arm64) p=linux-arm64;; Darwin:x86_64) p=darwin-x64;; Darwin:arm64) p=darwin-arm64;; *) echo "Unsupported OS/arch: $(uname -s) $(uname -m)" >&2; exit 1;; esac; d="$HOME/.supen/node-v$v"; if [ ! -x "$d/bin/node" ]; then mkdir -p "$HOME/.supen"; t="$HOME/.supen/node-v$v-$p"; rm -rf "$t" "$d"; curl -fsSL "https://nodejs.org/dist/v$v/node-v$v-$p.tar.xz" | tar -xJ -C "$HOME/.supen"; mv "$t" "$d"; fi; PATH="$d/bin:$PATH"; npx -y @supen-ai/cli@0.1.8 computer enroll --claim '"'"'<one-time-claim-token>'"'"' --runtime host --yes'
69
69
  ```
70
70
 
71
71
  `--gateway-url` is optional for production because `computer enroll` defaults to
72
- `https://gateway.supen.ai`. The `host` runtime installs `@supen-ai/cli@0.1.6`,
73
- configures it for Codex app-server transport, and starts it as a user service
74
- with the existing Codex login on that machine.
72
+ `https://gateway.supen.ai`. The generated command downloads a private Node
73
+ 22.22.0 runtime into `~/.supen` when the system Node is too old, then uses the
74
+ `host` runtime to install `@supen-ai/cli@0.1.8`, configure it for Codex
75
+ app-server transport, and start it as a user service with the existing Codex
76
+ login on that machine.
75
77
 
76
78
  ### Health Checks
77
79
 
package/dist/computer.js CHANGED
@@ -9,7 +9,7 @@ import { CONFIG_PATH, DAEMON_BIN_PATH, DAEMON_INSTALL_DIR, DAEMON_PORT, SUPEN_HO
9
9
  import { ensureDockerAvailable, installDaemon } from './daemon-manage.js';
10
10
  import { createTransport, resolveTransportConfig } from './transport/index.js';
11
11
  const DEFAULT_LOCAL_GATEWAY_URL = 'http://127.0.0.1:2755';
12
- const HOST_DAEMON_PACKAGE_SPEC = '@supen-ai/cli@0.1.6';
12
+ const HOST_DAEMON_PACKAGE_SPEC = '@supen-ai/cli@0.1.8';
13
13
  function normalizeGatewayUrl(raw) {
14
14
  const trimmed = (raw || '').trim();
15
15
  if (!trimmed)
package/dist/index.js CHANGED
@@ -77,7 +77,7 @@ const program = new Command();
77
77
  program
78
78
  .name('supen')
79
79
  .description('Supen CLI — bootstrap, manage skills, agents, and control the service')
80
- .version('0.1.6');
80
+ .version('0.1.8');
81
81
  program
82
82
  .command('bootstrap')
83
83
  .description('First-time setup: choose gateway mode or local Docker daemon mode')
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@supen-ai/cli",
3
- "version": "0.1.6",
3
+ "version": "0.1.8",
4
4
  "description": "Supen CLI — command-line tool to manage local Supen daemon, agents, and skills",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -17,11 +17,30 @@
17
17
  "prepublishOnly": "npm run build"
18
18
  },
19
19
  "dependencies": {
20
+ "@ai-sdk/openai": "^3.0.52",
21
+ "@anthropic-ai/sdk": "^0.78.0",
22
+ "@larksuiteoapi/node-sdk": "^1.59.0",
23
+ "@modelcontextprotocol/sdk": "^1.27.1",
24
+ "@supabase/supabase-js": "^2.47.0",
25
+ "ai": "^6.0.153",
26
+ "axios": "^1.15.0",
20
27
  "commander": "^13.0.0",
28
+ "cron-parser": "^5.5.0",
29
+ "dingtalk-stream": "^2.1.0",
30
+ "discord.js": "^14.25.1",
31
+ "https-proxy-agent": "^7.0.6",
21
32
  "ink": "^7.0.0",
22
33
  "ink-text-input": "^6.0.0",
34
+ "js-yaml": "^4.1.1",
35
+ "pino": "^9.6.0",
36
+ "pino-pretty": "^13.0.0",
37
+ "playwright": "^1.58.2",
23
38
  "react": "^19.2.4",
24
- "yaml": "^2.8.2"
39
+ "rrule": "^2.8.1",
40
+ "undici": "^7.24.2",
41
+ "ws": "^8.19.0",
42
+ "yaml": "^2.8.3",
43
+ "zod": "^4.3.6"
25
44
  },
26
45
  "engines": {
27
46
  "node": ">=22.22.0"