@super-one/cli 0.49.4-alpha

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/MANIFEST.json ADDED
@@ -0,0 +1,7 @@
1
+ {
2
+ "name": "@super-one/cli",
3
+ "version": "0.49.4-alpha",
4
+ "kind": "npm",
5
+ "minNodeMajor": 20,
6
+ "builtAt": "2026-08-05T22:36:54.094Z"
7
+ }
package/README.md ADDED
@@ -0,0 +1,44 @@
1
+ # @superone/cli (workspace) / `@super-one/cli` (npm)
2
+
3
+ Headless SuperOne node: RPC server, workspaces, pairing, systemd install.
4
+
5
+ ## Names
6
+
7
+ | Context | Name |
8
+ |---------|------|
9
+ | Monorepo workspace | `@superone/cli` |
10
+ | Public npm package | **`@super-one/cli`** |
11
+ | Global binary | **`superone`** |
12
+
13
+ ```bash
14
+ # users (after npm publish)
15
+ npm install -g @super-one/cli@alpha # or pin @0.49.x-alpha.N
16
+ superone start
17
+ superone install-systemd
18
+
19
+ # monorepo — daily remote-node development (host process, remote protocol)
20
+ bun run dev:cli:lab:smoke # start local lab + pair token
21
+ bun run dev # desktop; pairRemote to http://127.0.0.1:7789
22
+
23
+ # monorepo — Linux/SSH fidelity
24
+ bun run dev:cli:docker:smoke
25
+
26
+ # monorepo — publishable npm pack (no workspace:* deps)
27
+ bun run pack:cli # → apps/cli/dist/npm
28
+ bun run pack:cli -- --dry-run # npm pack only
29
+ # CI: .github/workflows/publish-cli.yml (workflow_dispatch)
30
+ ```
31
+
32
+ ### Pack / publish (design §15)
33
+
34
+ | Item | Value |
35
+ |------|--------|
36
+ | Public name | `@super-one/cli` |
37
+ | Workspace name | `@superone/cli` (unchanged) |
38
+ | Version | Root `package.json` by default (lockstep with desktop) |
39
+ | Output | `apps/cli/dist/npm/` (`lib/cli.mjs` bundle + `package.json`) |
40
+ | Dist-tag | Derived from version: `-alpha*` → `alpha`, `-beta*` → `beta`, else `latest` |
41
+
42
+ - Local remote lab (host credentials, no Docker): [`docs/local-remote-lab.md`](./docs/local-remote-lab.md)
43
+ - Docker SSH lab: [`docker/README.md`](./docker/README.md)
44
+ - Design: `docs/design/remote-node-service.md` §15 (registry vs upload install)
@@ -0,0 +1,10 @@
1
+ #!/usr/bin/env node
2
+ /**
3
+ * @super-one/cli bin — loads the bundled CLI.
4
+ */
5
+ import { pathToFileURL } from 'node:url'
6
+ import { dirname, join } from 'node:path'
7
+ import { fileURLToPath } from 'node:url'
8
+
9
+ const here = dirname(fileURLToPath(import.meta.url))
10
+ await import(pathToFileURL(join(here, '..', 'lib', 'cli.mjs')).href)