uplink-cli 0.2.0 → 0.2.1

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/AGENTS.md CHANGED
@@ -3,7 +3,6 @@
3
3
  For agents (Cursor, Claude Code, Codex, Windsurf, and similar) to use Uplink **non-interactively**.
4
4
 
5
5
  Install: `npm install -g uplink-cli` or `npx uplink-cli …`
6
- Until **0.2.0** is on npm: `npm install -g github:firstprinciplecode/uplink#v0.2.0`
7
6
  Package name: `uplink-cli` · Binary: `uplink`
8
7
 
9
8
  ## Auth
@@ -174,4 +173,4 @@ Agents should prefer the non-interactive commands above.
174
173
  - Hosting: `docs/HOSTING.md`
175
174
  - Product: `docs/PRODUCT.md`
176
175
  - Website: https://uplink.spot
177
- - npm: https://www.npmjs.com/package/uplink-cli (0.2.0 pending; use the GitHub tag until then)
176
+ - npm: https://www.npmjs.com/package/uplink-cli
package/CHANGELOG.md CHANGED
@@ -1,8 +1,12 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.2.1 — 2026-08-29
4
+
5
+ Ship `tsconfig.json` in the npm tarball so the menu's JSX compiles with `react-jsx`. 0.2.0 global installs crashed with `React is not defined` because tsx had no config and used the classic `React.createElement` transform.
6
+
3
7
  ## 0.2.0 — 2026-08-28
4
8
 
5
- Tagged on GitHub. npm publish is pending org auth (`firstprinciplellc`). Until then install from the tag (see README).
9
+ Published on npm as `uplink-cli@0.2.0`.
6
10
 
7
11
  - **Guest access** — `tunnel create` and the interactive menu mint a guest token when none exists (1 active tunnel, 24-hour expiry). Stored in `~/.uplink/credentials`.
8
12
  - **Email login** — `uplink login --email` / `--code` upgrades that guest account, keeps the tunnel, and unlocks hosting, databases, and registrar inventory.
package/README.md CHANGED
@@ -15,18 +15,13 @@ Learn more at [uplink.spot](https://uplink.spot)
15
15
 
16
16
  ## Install
17
17
 
18
- **npm (current published: 0.1.39)** — guest login and DreamHost land in **0.2.0**, tagged on GitHub, npm publish waiting on org auth.
19
-
20
18
  ```bash
21
- # Until 0.2.0 is on npm:
22
- npm install -g github:firstprinciplecode/uplink#v0.2.0
23
-
24
- # After publish:
25
19
  npm install -g uplink-cli
20
+ # or
26
21
  npx uplink-cli --help
27
22
  ```
28
23
 
29
- Changelog: [CHANGELOG.md](./CHANGELOG.md). Product overview: [docs/PRODUCT.md](./docs/PRODUCT.md). Hosting: [docs/HOSTING.md](./docs/HOSTING.md).
24
+ `latest` on npm is **0.2.0** (guest login, email OTP, public `domains check`, DreamHost). Changelog: [CHANGELOG.md](./CHANGELOG.md). Product: [docs/PRODUCT.md](./docs/PRODUCT.md). Hosting: [docs/HOSTING.md](./docs/HOSTING.md).
30
25
 
31
26
  ## Start without signup
32
27
  ```bash
package/cli/bin/uplink.js CHANGED
@@ -38,7 +38,12 @@ try {
38
38
  }
39
39
 
40
40
  // Run the CLI via tsx (no extra node wrapper so PATH/global tsx works)
41
- const child = spawn(tsxPath, [cliPath, ...args], {
41
+ const tsconfigPath = path.join(projectRoot, "tsconfig.json");
42
+ const tsxArgs = fs.existsSync(tsconfigPath)
43
+ ? ["--tsconfig", tsconfigPath, cliPath, ...args]
44
+ : [cliPath, ...args];
45
+
46
+ const child = spawn(tsxPath, tsxArgs, {
42
47
  stdio: "inherit",
43
48
  cwd: projectRoot,
44
49
  env: { ...process.env, UPLINK_CWD: invokeCwd, UPLINK_BIN: invokeBin },
package/docs/AGENTS.md CHANGED
@@ -3,7 +3,6 @@
3
3
  For agents (Cursor, Claude Code, Codex, Windsurf, and similar) to use Uplink **non-interactively**.
4
4
 
5
5
  Install: `npm install -g uplink-cli` or `npx uplink-cli …`
6
- Until **0.2.0** is on npm: `npm install -g github:firstprinciplecode/uplink#v0.2.0`
7
6
  Package name: `uplink-cli` · Binary: `uplink`
8
7
 
9
8
  ## Auth
@@ -174,4 +173,4 @@ Agents should prefer the non-interactive commands above.
174
173
  - Hosting: `docs/HOSTING.md`
175
174
  - Product: `docs/PRODUCT.md`
176
175
  - Website: https://uplink.spot
177
- - npm: https://www.npmjs.com/package/uplink-cli (0.2.0 pending; use the GitHub tag until then)
176
+ - npm: https://www.npmjs.com/package/uplink-cli
package/docs/README.md CHANGED
@@ -3,8 +3,7 @@
3
3
  ## Quick Start
4
4
 
5
5
  ```bash
6
- # 0.2.0 (guest login, public domain check) — GitHub tag until npm org auth lands
7
- npm install -g github:firstprinciplecode/uplink#v0.2.0
6
+ npm install -g uplink-cli
8
7
  uplink menu # interactive
9
8
  uplink --help # commands
10
9
  ```
@@ -20,6 +19,6 @@ uplink --help # commands
20
19
  ## Links
21
20
 
22
21
  - Website: [uplink.spot](https://uplink.spot)
23
- - npm: [uplink-cli](https://www.npmjs.com/package/uplink-cli) (0.1.39 until 0.2.0 publishes)
22
+ - npm: [uplink-cli](https://www.npmjs.com/package/uplink-cli)
24
23
  - Source: [github.com/firstprinciplecode/uplink](https://github.com/firstprinciplecode/uplink)
25
24
  - API: `https://api.uplink.spot`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "uplink-cli",
3
- "version": "0.2.0",
3
+ "version": "0.2.1",
4
4
  "description": "Software for agents — share localhost, host apps, and attach domains from the terminal. JSON-first CLI for Cursor, Claude, Codex, and Windsurf.",
5
5
  "keywords": [
6
6
  "ai-agents",
@@ -45,7 +45,8 @@
45
45
  "docs/MENU_STRUCTURE.md",
46
46
  "docs/HOSTING.md",
47
47
  "docs/PRODUCT.md",
48
- "CHANGELOG.md"
48
+ "CHANGELOG.md",
49
+ "tsconfig.json"
49
50
  ],
50
51
  "scripts": {
51
52
  "dev:cli": "tsx cli/src/index.ts",
package/tsconfig.json ADDED
@@ -0,0 +1,17 @@
1
+ {
2
+ "compilerOptions": {
3
+ "target": "ES2020",
4
+ "module": "commonjs",
5
+ "esModuleInterop": true,
6
+ "resolveJsonModule": true,
7
+ "skipLibCheck": true,
8
+ "noEmit": true,
9
+ "jsx": "react-jsx",
10
+ "types": ["node", "react"],
11
+ "typeRoots": ["./node_modules/@types"]
12
+ },
13
+ "include": [
14
+ "cli/src/**/*",
15
+ "scripts/**/*"
16
+ ]
17
+ }