claude-simple 0.2.9 → 0.2.10
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 +13 -5
- package/dist/app.0.2.9.min.js +143 -139
- package/dist/style.0.2.9.min.css +1 -1
- package/package.json +11 -3
- package/public/chat.js +5 -5
- package/public/files.js +5 -5
- package/public/index.html +4 -5
- package/public/lib.js +1 -1
- package/public/router.js +36 -8
- package/public/settings.js +54 -2
- package/public/shell/boot.js +7 -7
- package/public/shell/layout.js +2 -3
- package/public/shell/session-list.js +5 -12
- package/public/shell/templates.js +26 -24
- package/public/shell/util.js +3 -1
- package/public/shell.js +54 -13
- package/public/state.js +36 -5
- package/public/sw.js +6 -2
- package/public/ui.min.css +2 -0
- package/public/vendor/highlight-dark.min.css +10 -0
- package/public/vendor/highlight.min.js +1262 -0
- package/public/vendor/jszip.min.js +13 -0
- package/public/vendor/mammoth.browser.min.js +21 -0
- package/public/vendor/marked.min.js +6 -0
- package/public/vendor/mini-react.min.js +4 -0
- package/public/vendor/pdf.min.js +22 -0
- package/public/vendor/pdf.worker.min.js +22 -0
- package/public/vendor/xlsx.full.min.js +22 -0
- package/src/agents/cursor.js +189 -0
- package/src/agents/gemini.js +182 -0
- package/src/agents/meta-agent.js +9 -5
- package/src/agents/models.js +112 -2
- package/src/agents/sessions.js +258 -14
- package/src/app.js +119 -7
- package/src/mcp.js +275 -0
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Claude Simple UI (multi-agent)
|
|
2
2
|
|
|
3
|
-
A lightweight web UI for **Claude Code**, **OpenAI Codex**, and **
|
|
3
|
+
A lightweight web UI for **Claude Code**, **OpenAI Codex**, **Grok**, **Google Gemini** (via `agy`), and **Cursor Agent**. No build step — pure ES Modules in the browser.
|
|
4
4
|
|
|
5
5
|
Inspired by [cc-connect](https://github.com/chenhg5/cc-connect) agent adapters: Claude via the Agent SDK, Codex via `codex exec --json`, Grok via `grok --output-format streaming-json`.
|
|
6
6
|
|
|
@@ -48,6 +48,8 @@ Requires CLIs on `PATH` for the agents you use:
|
|
|
48
48
|
# Codex
|
|
49
49
|
npm install -g @openai/codex
|
|
50
50
|
# Grok (xAI) — install grok CLI and run `grok login`
|
|
51
|
+
# Gemini — install `agy` (Antigravity CLI) and sign in; `agy models` should list Gemini models
|
|
52
|
+
# Cursor Agent — install the Cursor CLI and sign in with `cursor-agent login`
|
|
51
53
|
```
|
|
52
54
|
|
|
53
55
|
### Environment Variables (standalone / edge Node app)
|
|
@@ -55,13 +57,17 @@ npm install -g @openai/codex
|
|
|
55
57
|
| Variable | Default | Description |
|
|
56
58
|
| ---------------------- | --------------------------------- | ---------------------------------------- |
|
|
57
59
|
| `PORT` | `3000` | HTTP port (standalone) |
|
|
58
|
-
| `AGENTS` | `claude,codex,grok`
|
|
60
|
+
| `AGENTS` | `claude,codex,grok,gemini,cursor` | Enabled agents (comma-separated) |
|
|
59
61
|
| `CLAUDE_CONFIG_DIRS` | `~/.claude` | Claude Code config dirs, comma-separated |
|
|
60
62
|
| `CLAUDE_CLI_PATH` | `claude` | Path to Claude Code executable |
|
|
61
63
|
| `CODEX_CLI_PATH` | `codex` | Path to Codex CLI |
|
|
62
64
|
| `CODEX_HOME` | `~/.codex` | Codex home (sessions, config) |
|
|
63
65
|
| `GROK_CLI_PATH` | `grok` | Path to Grok CLI |
|
|
64
66
|
| `GROK_HOME` | `~/.grok` | Grok home (sessions) |
|
|
67
|
+
| `GEMINI_CLI_PATH` / `AGY_PATH` | `agy` | Path to Gemini/Antigravity CLI |
|
|
68
|
+
| `GEMINI_HOME` | `~/.gemini` | Gemini home (native conversations + UI journal) |
|
|
69
|
+
| `CURSOR_AGENT_PATH` | `cursor-agent` | Path to Cursor Agent executable |
|
|
70
|
+
| `CURSOR_HOME` | `~/.cursor` | Cursor home (UI session journal) |
|
|
65
71
|
| `JWT_SECRET` | persisted in `.credentials.json` | Override JWT signing key |
|
|
66
72
|
| `AUTH_USERNAME` / `AUTH_PASSWORD` | — | Bootstrap first user from env |
|
|
67
73
|
|
|
@@ -78,7 +84,7 @@ Edge-only env (when connecting to a hub):
|
|
|
78
84
|
|
|
79
85
|
### Chat
|
|
80
86
|
|
|
81
|
-
- Multi-agent: pick **Claude / Codex / Grok** in options or New Session
|
|
87
|
+
- Multi-agent: pick **Claude / Codex / Grok / Gemini / Cursor** in options or New Session
|
|
82
88
|
- Slash commands: `/agent`, `/model`, `/effort`, `/clear`
|
|
83
89
|
- Stream responses via WebSocket
|
|
84
90
|
- Markdown rendering with syntax-highlighted code blocks
|
|
@@ -89,9 +95,9 @@ Edge-only env (when connecting to a hub):
|
|
|
89
95
|
|
|
90
96
|
### Sessions & projects
|
|
91
97
|
|
|
92
|
-
- **Projects** view: group by working directory; show agent mix (CC/CX/GX), last activity title
|
|
98
|
+
- **Projects** view: group by working directory; show agent mix (CC/CX/GX/GM), last activity title
|
|
93
99
|
- **Recent** timeline: chronological “what did I do” by day
|
|
94
|
-
- Filters: agent (All/Claude/Codex/Grok) + time range (Today / 7d / 14d / 30d / All) + **★ Fav**
|
|
100
|
+
- Filters: agent (All/Claude/Codex/Grok/Gemini) + time range (Today / 7d / 14d / 30d / All) + **★ Fav**
|
|
95
101
|
- Search: metadata (path, title, session notes) + **deep content peek** via `GET /api/activity?q=…`
|
|
96
102
|
- Double-click a project header to open that cwd
|
|
97
103
|
- **Session conversion**: convert / clone sessions between Claude Code, Codex, and Grok
|
|
@@ -212,6 +218,8 @@ Legacy Node hub: `npm run gateway` → `gateway.js` (prefer the Go binary).
|
|
|
212
218
|
| Claude | `@anthropic-ai/claude-agent-sdk` → Claude Code CLI | SDK `resume` | `~/.claude/projects/**/*.jsonl` |
|
|
213
219
|
| Codex | `codex exec --json` / `codex exec resume <id>` | thread_id | `~/.codex/sessions/**/rollout-*.jsonl` |
|
|
214
220
|
| Grok | `grok -p … --output-format streaming-json` | `--resume <id>` | `~/.grok/sessions/<cwd>/<id>/` |
|
|
221
|
+
| Gemini | `agy --output-format stream-json -p …` | `--conversation <id>` | `~/.gemini/antigravity-cli/` + UI journal |
|
|
222
|
+
| Cursor | `cursor-agent --print --output-format stream-json` | `--resume <id>` | `~/.cursor/claude-simple-ui/sessions/` UI journal |
|
|
215
223
|
|
|
216
224
|
The Memory tab lists files for the selected session's agent and loads their contents on click: Claude project memory, Codex account memory, or Grok session memory. Meta Agent can use `get_session_jsonl` to inspect a specific agent session's raw JSONL in bounded pages.
|
|
217
225
|
|