Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- **Appearance settings tab** in the web UI: a System (follow-OS) option plus dark/light swatch grids that render a true mini-preview of each theme. Themes apply via `html[data-theme]`; the legacy light/dark/system localStorage values migrate automatically.

### Changed
- Renamed the session modes to **Ask for approval / Plan / Full access** across the web UI, terminal UI, and ACP. Their canonical IDs are now `approval` / `plan` / `full_access`; the old `ask`, `agent`, and `autopilot` IDs are no longer accepted.
- The terminal palette was de-frozen: the ~50 lipgloss styles that were baked in at import time are now rebuilt from the active theme by `ApplyTheme`, and previously-hardcoded colors (subagent purple, on-primary text, team-panel and context-bar colors) are now semantic tokens. Markdown (glamour) follows the theme's light/dark appearance.

### Fixed
Expand Down
11 changes: 7 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -81,12 +81,15 @@ SIDECAR_EXE := $(if $(findstring windows,$(RUST_TARGET)),.exe,)
desktop-icons:
cd $(DESKTOP_DIR) && npx --yes @tauri-apps/cli@2 icon ../web/public/icon.svg -o src-tauri/icons

# Build the sidecar binary (frontend embedded) named for the host target triple,
# which is what Tauri's externalBin resolver expects.
desktop-sidecar: generate build-web
# Build the sidecar binary for the desktop shell. The desktop app serves the
# page itself (Tauri's built-in frontend), so the sidecar is built with the
# `jcode_headless` tag: it omits the embedded SPA (no dist/ needed, smaller
# binary) and exposes only the REST + WebSocket API on a loopback port. The
# frontend is built separately and bundled by the Tauri dev/build targets.
desktop-sidecar: generate
@echo "Building jcode sidecar for $(RUST_TARGET)..."
@mkdir -p $(SIDECAR_DIR)
go build -ldflags "$(LDFLAGS)" -o $(SIDECAR_DIR)/jcode-$(RUST_TARGET)$(SIDECAR_EXE) $(PKG)
go build -tags jcode_headless -ldflags "$(LDFLAGS)" -o $(SIDECAR_DIR)/jcode-$(RUST_TARGET)$(SIDECAR_EXE) $(PKG)

# Run the desktop app in development (hot window; rebuilds the sidecar first).
desktop-dev: desktop-sidecar
Expand Down
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -120,13 +120,13 @@ Save connections as named aliases and jump between hosts with `/ssh`:
└─────────────────────────────────────────────────┘
```

### 📋 Modes — Ask · Plan · Autopilot
### 📋 Modes — Ask for approval · Plan · Full access

Press **Shift+Tab** to cycle the session mode:

- **Ask** (default) — full tools, but you approve each non-trivial tool call.
- **Ask for approval** (default) — full tools, but you approve each non-trivial tool call.
- **Plan** — the agent explores your codebase **read-only** and presents a structured plan before touching any file. Review, approve or reject with feedback — then it executes step by step.
- **Autopilot** — full tools, every call auto-approved, end-to-end with no interruptions.
- **Full access** — full tools, every call auto-approved, end-to-end with no interruptions.

```
Plan │ Model: openai / gpt-4o │ [██░░░░░░░░] 12%
Expand All @@ -146,7 +146,7 @@ Connect any [MCP](https://modelcontextprotocol.io/)-compatible server — stdio,
```

```
Ask │ Model: openai / gpt-4o │ [████░░░░░░] 2% │ MCP: 2/5
Ask for approval │ Model: openai / gpt-4o │ [████░░░░░░] 2% │ MCP: 2/5
```

### 💰 Token Usage & Budget Control
Expand Down Expand Up @@ -245,7 +245,7 @@ No manual configuration needed — the agent adapts to your project.
| ------------- | --------------------------------- |
| **Enter** | Submit prompt / select option |
| **Ctrl+C** | Press once to warn, twice to exit |
| **Shift+Tab** | Cycle mode (Ask → Plan → Autopilot) |
| **Shift+Tab** | Cycle mode (Ask for approval → Plan → Full access) |
| **Ctrl+L** | Model picker |
| **Ctrl+T** | Toggle team panel |
| **Shift+↑/↓** | Switch between teammates |
Expand Down
Loading
Loading