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.
Files changed (56) hide show
  1. package/README.md +44 -42
  2. package/bin/cli.js +1 -1
  3. package/dist/client/assets/AppContent-M14Au3SB.js +542 -0
  4. package/dist/client/assets/{BrowserPanel-CSvD4jOX.js → BrowserPanel-TFKm2NDJ.js} +2 -2
  5. package/dist/client/assets/DashboardPanel-C88HjsCh.js +1 -0
  6. package/dist/client/assets/FileTree-DvO1xnDE.js +1 -0
  7. package/dist/client/assets/{GitPanel-DdeJ0bp5.js → GitPanel-D-slVlyy.js} +2 -2
  8. package/dist/client/assets/LoginModal-Chi4SYcr.js +21 -0
  9. package/dist/client/assets/{MarkdownPreview-CESjI261.js → MarkdownPreview-CuIix2u9.js} +1 -1
  10. package/dist/client/assets/MermaidBlock-Dq9uFv82.js +2 -0
  11. package/dist/client/assets/Onboarding-QYXx24dX.js +1 -0
  12. package/dist/client/assets/{PreviewPanel-CqCa92Tf.js → PreviewPanel-Dd8q-jo0.js} +1 -1
  13. package/dist/client/assets/{SetupForm-Be7-WBe-.js → SetupForm-CrspaUva.js} +1 -1
  14. package/dist/client/assets/{WorkflowsPanel-CusLbVJ6.js → WorkflowsPanel-DIlYAdhB.js} +1 -1
  15. package/dist/client/assets/index-CnNNzw9A.css +1 -0
  16. package/dist/client/assets/{index-BQy15irW.js → index-rUkK9FDP.js} +18 -18
  17. package/dist/client/assets/{vendor-codemirror-D2ALgpaX.js → vendor-codemirror-jc6nyJQg.js} +1 -1
  18. package/dist/client/assets/{vendor-diff-DNQpbhrT.js → vendor-diff-THJmAcEI.js} +1 -1
  19. package/dist/client/assets/{vendor-icons-kix3Gb31.js → vendor-icons-CfjIpdrD.js} +145 -155
  20. package/dist/client/assets/{vendor-markdown-CimbIo6Y.js → vendor-markdown-Cdm6NEGf.js} +1 -1
  21. package/dist/client/assets/{vendor-mermaid-CS3J4_Bz.js → vendor-mermaid-DTPaBx-U.js} +337 -337
  22. package/dist/client/assets/{vendor-react-96lCPsRK.js → vendor-react-wFkb6mSf.js} +1 -1
  23. package/dist/client/assets/{vendor-syntax-LS_Nt30I.js → vendor-syntax-C_UZR7tc.js} +1 -1
  24. package/dist/client/favicon.png +0 -0
  25. package/dist/client/favicon.svg +2 -12
  26. package/dist/client/icons/icon-128x128.png +0 -0
  27. package/dist/client/icons/icon-144x144.png +0 -0
  28. package/dist/client/icons/icon-152x152.png +0 -0
  29. package/dist/client/icons/icon-192x192.png +0 -0
  30. package/dist/client/icons/icon-384x384.png +0 -0
  31. package/dist/client/icons/icon-512x512.png +0 -0
  32. package/dist/client/icons/icon-72x72.png +0 -0
  33. package/dist/client/icons/icon-96x96.png +0 -0
  34. package/dist/client/index.html +37 -36
  35. package/dist/client/logo-128.png +0 -0
  36. package/dist/client/logo-256.png +0 -0
  37. package/dist/client/logo-32.png +0 -0
  38. package/dist/client/logo-512.png +0 -0
  39. package/dist/client/logo-64.png +0 -0
  40. package/dist/client/logo.png +0 -0
  41. package/dist/client/mcp-docs.html +1 -1
  42. package/dist/client/sw.js +2 -2
  43. package/package.json +9 -9
  44. package/dist/client/assets/AppContent-BofJquUs.js +0 -545
  45. package/dist/client/assets/CanvasFullScreen-onRfarpc.js +0 -1
  46. package/dist/client/assets/CanvasWorkspace-DvGKdL-k.js +0 -259
  47. package/dist/client/assets/DashboardPanel-DqAHbXDO.js +0 -1
  48. package/dist/client/assets/FileTree-BE0h-9M9.js +0 -1
  49. package/dist/client/assets/LoginModal-BP0pCTrH.js +0 -13
  50. package/dist/client/assets/MermaidBlock-D0rfEhrT.js +0 -2
  51. package/dist/client/assets/Onboarding-B2zQy-_6.js +0 -1
  52. package/dist/client/assets/index-CS0fDqEC.js +0 -1
  53. package/dist/client/assets/index-DYLSCCCp.css +0 -1
  54. package/dist/client/assets/pdf-CE_K4jFx.js +0 -12
  55. package/dist/client/assets/vendor-canvas-BZV40eAE.css +0 -1
  56. package/dist/client/assets/vendor-canvas-QWTduIvM.js +0 -23
package/README.md CHANGED
@@ -1,24 +1,20 @@
1
- # upfyn-code
1
+ # upfynai-code
2
2
 
3
- > Unified AI coding interface access AI chat, terminal, file explorer, git, and visual canvas from any browser.
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 a browser-based UI through a secure, encrypted connection. Write code with AI assistance, run shell commands, manage files, handle git operations, and plan on a visual canvas — all from any device, anywhere.
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
- Or run directly with npx:
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. Open the web UI (opens automatically)
28
+ # 3. Or start the local UI server
33
29
  uc start
34
30
  ```
35
31
 
36
- Once connected, open [cli.upfyn.com](https://cli.upfyn.com) on any device to access your full development environment.
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` | Launch Claude Code with Upfyn web UI in background |
43
- | `uc start` | Start the web UI server |
44
- | `uc connect` | Connect your local machine to the cloud interface |
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 status` | Show current configuration |
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
- ### Connect Options
46
+ ## The Ecosystem
52
47
 
53
- ```bash
54
- uc connect --key <token>
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
- - `--key <token>` — Your connection token (get from the web UI after signing in)
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
- Converse with AI coding assistants to write, debug, and refactor code across any language. Supports multiple AI models.
67
+ Multi-model AI chat with Plan/Code/Analyse modes. Supports Claude, Codex, and BYOK providers.
63
68
 
64
69
  ### Integrated Terminal
65
- Run shell commands on your connected machine directly from the browser. Full terminal emulation with command history.
70
+ Full PTY terminal emulation from the browser. Run any command on your connected machine.
66
71
 
67
72
  ### File Explorer
68
- Browse, create, edit, and manage your entire project tree remotely. Supports drag-and-drop, file search, and bulk operations.
73
+ Browse, edit, and manage project files remotely with syntax highlighting.
69
74
 
70
75
  ### Git Management
71
- Visual git interface for commits, branches, diffs, and merges. Stage changes, resolve conflicts, and manage branches without leaving the browser.
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
- Connect external tools and services via the Model Context Protocol. Use Upfyn-Code as an MCP server with Claude Desktop, Cursor, and other compatible tools.
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. **Authenticate** with `uc login`
83
- 3. **Connect** with `uc connect` — creates a secure, encrypted connection
84
- 4. **Open** [cli.upfyn.com](https://cli.upfyn.com) on any browser (desktop, tablet, or mobile)
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
- The CLI connects your local filesystem, terminal, and git to the web interface. No ports are exposed and no firewall configuration is needed.
88
+ No ports are exposed and no firewall configuration is needed.
87
89
 
88
90
  ## Security
89
91
 
90
- - All communication is encrypted end-to-end
91
- - Source code is **never stored** on servers
92
- - Secure authentication with automatic session management
93
- - Each user's environment is fully isolated
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:** [cli.upfyn.com](https://cli.upfyn.com)
98
- - **Documentation:** [cli.upfyn.com/docs](https://cli.upfyn.com/docs)
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 [Upfynai-Code](https://cli.upfyn.com).
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 cli.upfyn.com');
31
+ .description('Web UI commands — connect local machine to code.upfyn.com');
32
32
 
33
33
  web
34
34
  .command('connect [token]')