upfynai-code 3.1.0 → 3.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/README.md +44 -42
- package/bin/cli.js +1 -1
- package/dist/client/assets/AppContent-M14Au3SB.js +542 -0
- package/dist/client/assets/{BrowserPanel-CSvD4jOX.js → BrowserPanel-TFKm2NDJ.js} +2 -2
- package/dist/client/assets/DashboardPanel-C88HjsCh.js +1 -0
- package/dist/client/assets/FileTree-DvO1xnDE.js +1 -0
- package/dist/client/assets/{GitPanel-DdeJ0bp5.js → GitPanel-D-slVlyy.js} +2 -2
- package/dist/client/assets/LoginModal-Chi4SYcr.js +21 -0
- package/dist/client/assets/{MarkdownPreview-CESjI261.js → MarkdownPreview-CuIix2u9.js} +1 -1
- package/dist/client/assets/MermaidBlock-Dq9uFv82.js +2 -0
- package/dist/client/assets/Onboarding-QYXx24dX.js +1 -0
- package/dist/client/assets/{PreviewPanel-CqCa92Tf.js → PreviewPanel-Dd8q-jo0.js} +1 -1
- package/dist/client/assets/{SetupForm-Be7-WBe-.js → SetupForm-CrspaUva.js} +1 -1
- package/dist/client/assets/{WorkflowsPanel-CusLbVJ6.js → WorkflowsPanel-DIlYAdhB.js} +1 -1
- package/dist/client/assets/index-CnNNzw9A.css +1 -0
- package/dist/client/assets/{index-BQy15irW.js → index-rUkK9FDP.js} +18 -18
- package/dist/client/assets/{vendor-codemirror-D2ALgpaX.js → vendor-codemirror-jc6nyJQg.js} +1 -1
- package/dist/client/assets/{vendor-diff-DNQpbhrT.js → vendor-diff-THJmAcEI.js} +1 -1
- package/dist/client/assets/{vendor-icons-kix3Gb31.js → vendor-icons-CfjIpdrD.js} +145 -155
- package/dist/client/assets/{vendor-markdown-CimbIo6Y.js → vendor-markdown-Cdm6NEGf.js} +1 -1
- package/dist/client/assets/{vendor-mermaid-CS3J4_Bz.js → vendor-mermaid-DTPaBx-U.js} +337 -337
- package/dist/client/assets/{vendor-react-96lCPsRK.js → vendor-react-wFkb6mSf.js} +1 -1
- package/dist/client/assets/{vendor-syntax-LS_Nt30I.js → vendor-syntax-C_UZR7tc.js} +1 -1
- package/dist/client/favicon.png +0 -0
- package/dist/client/favicon.svg +2 -12
- package/dist/client/icons/icon-128x128.png +0 -0
- package/dist/client/icons/icon-144x144.png +0 -0
- package/dist/client/icons/icon-152x152.png +0 -0
- package/dist/client/icons/icon-192x192.png +0 -0
- package/dist/client/icons/icon-384x384.png +0 -0
- package/dist/client/icons/icon-512x512.png +0 -0
- package/dist/client/icons/icon-72x72.png +0 -0
- package/dist/client/icons/icon-96x96.png +0 -0
- package/dist/client/index.html +37 -36
- package/dist/client/logo-128.png +0 -0
- package/dist/client/logo-256.png +0 -0
- package/dist/client/logo-32.png +0 -0
- package/dist/client/logo-512.png +0 -0
- package/dist/client/logo-64.png +0 -0
- package/dist/client/logo.png +0 -0
- package/dist/client/mcp-docs.html +1 -1
- package/dist/client/sw.js +2 -2
- package/package.json +9 -9
- package/dist/client/assets/AppContent-BofJquUs.js +0 -545
- package/dist/client/assets/CanvasFullScreen-onRfarpc.js +0 -1
- package/dist/client/assets/CanvasWorkspace-DvGKdL-k.js +0 -259
- package/dist/client/assets/DashboardPanel-DqAHbXDO.js +0 -1
- package/dist/client/assets/FileTree-BE0h-9M9.js +0 -1
- package/dist/client/assets/LoginModal-BP0pCTrH.js +0 -13
- package/dist/client/assets/MermaidBlock-D0rfEhrT.js +0 -2
- package/dist/client/assets/Onboarding-B2zQy-_6.js +0 -1
- package/dist/client/assets/index-CS0fDqEC.js +0 -1
- package/dist/client/assets/index-DYLSCCCp.css +0 -1
- package/dist/client/assets/pdf-CE_K4jFx.js +0 -12
- package/dist/client/assets/vendor-canvas-BZV40eAE.css +0 -1
- package/dist/client/assets/vendor-canvas-QWTduIvM.js +0 -23
package/README.md
CHANGED
|
@@ -1,24 +1,20 @@
|
|
|
1
|
-
#
|
|
1
|
+
# upfynai-code
|
|
2
2
|
|
|
3
|
-
>
|
|
3
|
+
> CLI bridge for the Upfyn ecosystem — connect your machine to code.upfyn.com and control it from any browser, phone, or tablet.
|
|
4
4
|
|
|
5
|
-
**Upfyn-Code** connects your local development machine to
|
|
5
|
+
**Upfyn-Code CLI** connects your local development machine to the Upfyn web IDE through a secure WebSocket relay. Write code with AI assistance (Plan/Code/Analyse modes), run shell commands, manage files, and handle git — all from any device.
|
|
6
6
|
|
|
7
7
|
Your source code **never leaves your machine**. All file operations, terminal commands, and git actions execute locally.
|
|
8
8
|
|
|
9
|
+
> **Prefer a GUI?** Download [Upfyn Code Desktop](https://code.upfyn.com/desktop) — same functionality with a native app that auto-connects on login.
|
|
10
|
+
|
|
9
11
|
## Install
|
|
10
12
|
|
|
11
13
|
```bash
|
|
12
14
|
npm install -g upfynai-code
|
|
13
15
|
```
|
|
14
16
|
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
```bash
|
|
18
|
-
npx upfynai-code
|
|
19
|
-
```
|
|
20
|
-
|
|
21
|
-
**Requirements:** Node.js 22 or later. Works on Windows, macOS, and Linux.
|
|
17
|
+
**Requirements:** Node.js 18 or later. Works on Windows, macOS, and Linux.
|
|
22
18
|
|
|
23
19
|
## Quick Start
|
|
24
20
|
|
|
@@ -29,78 +25,84 @@ uc login
|
|
|
29
25
|
# 2. Connect your machine to the web interface
|
|
30
26
|
uc connect
|
|
31
27
|
|
|
32
|
-
# 3.
|
|
28
|
+
# 3. Or start the local UI server
|
|
33
29
|
uc start
|
|
34
30
|
```
|
|
35
31
|
|
|
36
|
-
Once connected, open [
|
|
32
|
+
Once connected, open [code.upfyn.com](https://code.upfyn.com) on any device to access your full development environment.
|
|
37
33
|
|
|
38
34
|
## Commands
|
|
39
35
|
|
|
40
36
|
| Command | Description |
|
|
41
37
|
|---------|-------------|
|
|
42
|
-
| `uc` |
|
|
43
|
-
| `uc start` | Start the web UI server |
|
|
44
|
-
| `uc connect` | Connect your
|
|
38
|
+
| `uc` | Start local server with web UI |
|
|
39
|
+
| `uc start` | Start the web UI server (same as `uc`) |
|
|
40
|
+
| `uc connect` | Connect your machine to code.upfyn.com |
|
|
45
41
|
| `uc login` | Authenticate with your Upfyn account |
|
|
46
42
|
| `uc logout` | Clear saved credentials |
|
|
47
|
-
| `uc
|
|
43
|
+
| `uc mcp` | Show MCP integration config for Claude/Cursor |
|
|
48
44
|
| `uc config` | View or set configuration |
|
|
49
|
-
| `uc help` | Show all available commands |
|
|
50
45
|
|
|
51
|
-
|
|
46
|
+
## The Ecosystem
|
|
52
47
|
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
48
|
+
Upfyn-Code is part of a three-part ecosystem:
|
|
49
|
+
|
|
50
|
+
1. **Desktop App** (Tauri + Rust) — Native app with full local access, auto-connects to cloud
|
|
51
|
+
2. **Web App** (code.upfyn.com) — Browser IDE with AI chat, terminal, files, git
|
|
52
|
+
3. **CLI** (this package) — Lightweight bridge for users who prefer the terminal
|
|
53
|
+
|
|
54
|
+
All three connect to the same cloud relay. Use whichever fits your workflow — they're interchangeable.
|
|
56
55
|
|
|
57
|
-
|
|
56
|
+
## AI Modes
|
|
57
|
+
|
|
58
|
+
The web app supports three AI modes that change how the agent works:
|
|
59
|
+
|
|
60
|
+
- **Plan** — Explores codebase and designs an approach before writing code
|
|
61
|
+
- **Code** — Default. Reads, writes, and refactors code directly
|
|
62
|
+
- **Analyse** — Read-only. Explains and reviews code without changes
|
|
58
63
|
|
|
59
64
|
## Features
|
|
60
65
|
|
|
61
66
|
### AI Chat
|
|
62
|
-
|
|
67
|
+
Multi-model AI chat with Plan/Code/Analyse modes. Supports Claude, Codex, and BYOK providers.
|
|
63
68
|
|
|
64
69
|
### Integrated Terminal
|
|
65
|
-
|
|
70
|
+
Full PTY terminal emulation from the browser. Run any command on your connected machine.
|
|
66
71
|
|
|
67
72
|
### File Explorer
|
|
68
|
-
Browse,
|
|
73
|
+
Browse, edit, and manage project files remotely with syntax highlighting.
|
|
69
74
|
|
|
70
75
|
### Git Management
|
|
71
|
-
Visual git interface
|
|
72
|
-
|
|
73
|
-
### Upfyn Canvas
|
|
74
|
-
Visual whiteboard with AI-powered blocks for planning and collaboration. Connect chat, research, code, and documentation blocks into context flows.
|
|
76
|
+
Visual git interface — commits, branches, diffs, merges, and conflict resolution.
|
|
75
77
|
|
|
76
78
|
### MCP Protocol
|
|
77
|
-
|
|
79
|
+
Use Upfyn-Code as an MCP server with Claude Desktop, Cursor, and other compatible tools.
|
|
78
80
|
|
|
79
81
|
## How It Works
|
|
80
82
|
|
|
81
83
|
1. **Install** the CLI on your development machine
|
|
82
|
-
2. **
|
|
83
|
-
3. **Connect** with `uc connect` — creates a secure
|
|
84
|
-
4. **Open** [
|
|
84
|
+
2. **Login** with `uc login` — authenticates once, saves credentials
|
|
85
|
+
3. **Connect** with `uc connect` — creates a secure WebSocket relay
|
|
86
|
+
4. **Open** [code.upfyn.com](https://code.upfyn.com) on any browser (desktop, tablet, or mobile)
|
|
85
87
|
|
|
86
|
-
|
|
88
|
+
No ports are exposed and no firewall configuration is needed.
|
|
87
89
|
|
|
88
90
|
## Security
|
|
89
91
|
|
|
90
|
-
- All communication
|
|
91
|
-
- Source code
|
|
92
|
-
- Secure authentication with automatic session management
|
|
93
|
-
-
|
|
92
|
+
- All communication encrypted via WSS (TLS)
|
|
93
|
+
- Source code **never stored** on servers — relay only
|
|
94
|
+
- Secure JWT authentication with automatic session management
|
|
95
|
+
- IP pinning prevents session hijacking
|
|
94
96
|
|
|
95
97
|
## Links
|
|
96
98
|
|
|
97
|
-
- **Website:** [
|
|
98
|
-
- **
|
|
99
|
+
- **Website:** [code.upfyn.com](https://code.upfyn.com)
|
|
100
|
+
- **Desktop App:** [code.upfyn.com/desktop](https://code.upfyn.com/desktop)
|
|
101
|
+
- **Documentation:** [code.upfyn.com/docs](https://code.upfyn.com/docs)
|
|
99
102
|
- **GitHub:** [github.com/AnitChaudhry/UpfynAI-Code](https://github.com/AnitChaudhry/UpfynAI-Code)
|
|
100
|
-
- **Issues:** [github.com/AnitChaudhry/UpfynAI-Code/issues](https://github.com/AnitChaudhry/UpfynAI-Code/issues)
|
|
101
103
|
|
|
102
104
|
## License
|
|
103
105
|
|
|
104
106
|
GPL-3.0 — see [LICENSE](https://github.com/AnitChaudhry/UpfynAI-Code/blob/main/LICENSE) for details.
|
|
105
107
|
|
|
106
|
-
Built by [
|
|
108
|
+
Built by [Thinqmesh Technologies](https://code.upfyn.com).
|
package/bin/cli.js
CHANGED
|
@@ -28,7 +28,7 @@ program
|
|
|
28
28
|
// ── Web subcommand group ──────────────────────────────────────────
|
|
29
29
|
const web = program
|
|
30
30
|
.command('web')
|
|
31
|
-
.description('Web UI commands — connect local machine to
|
|
31
|
+
.description('Web UI commands — connect local machine to code.upfyn.com');
|
|
32
32
|
|
|
33
33
|
web
|
|
34
34
|
.command('connect [token]')
|