-
Notifications
You must be signed in to change notification settings - Fork 7
feat: add Gemini CLI + CodeBuddy sessions, polish Usage and Sessions UI #113
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
3fca3d7
feat: support gemini cli sessions
ymkiux dfdb9f9
fix: session source dropdown uses latest selection
ymkiux 50c86df
fix: reload sessions after restoring gemini filter
ymkiux db8422c
fix(ui): keep sessions header actions inline
ymkiux 40ce1d1
fix(ui): force sessions header buttons inline
ymkiux 4004b99
fix(ui): prevent sessions header actions wrapping
ymkiux dba4a2e
test(ui): lock sessions header actions inline
ymkiux 41f053f
fix(ui): prevent sessions header buttons stacking
ymkiux 0827714
fix(ui): align sessions header action buttons
ymkiux 15169c2
docs: add gemini cli install and session browser support
ymkiux cc8f37c
feat: add codebuddy code session browser support
ymkiux a4c681c
fix: initialize codebuddy session lookup cache
d149b07
fix: sync sessions current source label
ymkiux bfd07ab
fix: update cli install docs copy for gemini/codebuddy
ymkiux 3d263d3
feat: support codebuddy resume command copy
ymkiux 6d4de6d
feat: support gemini resume command copy
ymkiux 4526446
docs: document resume command copy for gemini/codebuddy
ymkiux 336432a
docs: expand session management docs
6be02b4
fix(ui): keep session list titles single-line
ymkiux 1333ca2
fix(ui): tighten session toolbar spacing
ymkiux 75756c0
feat(usage): add current session summary bar
ymkiux File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -29,7 +29,7 @@ Codex Mate is a local-first CLI + Web UI for unified management of: | |
| - Claude Code `CLAUDE.md` editing (writes to `~/.claude/CLAUDE.md`) | ||
| - OpenClaw JSON5 profiles and workspace `AGENTS.md` | ||
| - Local skills market for Codex / Claude Code (target switching, local skills management, cross-app import, ZIP distribution) | ||
| - Local Codex/Claude sessions (list/filter/export/delete) with Usage analytics overview | ||
| - Local Codex/Claude/Gemini CLI/CodeBuddy Code sessions (list/filter/export/delete) with Usage analytics overview | ||
| - Plugins (Prompt templates): reusable templates with variables and one-click copy | ||
| - Task orchestration: plan/queue/run/review local tasks | ||
|
|
||
|
|
@@ -57,12 +57,18 @@ It works on local files directly and does not require cloud hosting. The skills | |
| - OpenClaw JSON5 profile management | ||
|
|
||
| **Session Management** | ||
| - Unified Codex + Claude session list | ||
| - Unified Codex + Claude + Gemini CLI + CodeBuddy Code session list | ||
|
coderabbitai[bot] marked this conversation as resolved.
|
||
| - Session locations (local-first, configurable): | ||
| - Codex: `~/.codex/sessions/*.jsonl` (or `$CODEX_HOME/sessions`, `$XDG_CONFIG_HOME/codex/sessions`) | ||
| - Claude: `~/.claude/projects/**/**/*.jsonl` (or `$CLAUDE_HOME/projects`, `$XDG_CONFIG_HOME/claude/projects`) | ||
| - Gemini: `~/.gemini/tmp/*/chats/*.json` (or `$GEMINI_HOME/tmp`, `$XDG_CONFIG_HOME/gemini/tmp`) | ||
| - CodeBuddy: `~/.codebuddy/projects/**/**/*.jsonl` (or `$CODEBUDDY_CODE_HOME_DIR/projects`) | ||
| - Local session pinning with persistent pinned state and pinned-first ordering | ||
| - Keyword/source/cwd filters | ||
| - Keyword/source/cwd/role/time filters, plus shareable filter links | ||
| - Copy resume command (Codex/Gemini/CodeBuddy): `codex resume <sessionId>` / `gemini -r <sessionId>` / `codebuddy -r <sessionId>` | ||
| - Fast search UX: short-lived query result caching to avoid rescanning on each keystroke | ||
| - Usage subview with 7d / 30d session trends, message trends, source share, and top paths | ||
| - Markdown export | ||
| - Markdown export (Web UI + `codexmate export-session`, supports `--session-id` or `--file`) | ||
| - Session-level and message-level delete (supports batch), with a local recycle bin for restore/purge | ||
| - Large-session preview optimization (fast tail preview path) | ||
|
Comment on lines
59
to
73
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Fix “Copy resume command” entry to include Codex’s optional The “Copy resume command” bullet currently shows:
…but your PR objective states Codex supports 🛠️ Proposed fix- - Copy resume command (Codex/Gemini/CodeBuddy): `codex resume <sessionId>` / `gemini -r <sessionId>` / `codebuddy -r <sessionId>`
+ - Copy resume command (Codex/Gemini/CodeBuddy): `codex resume <sessionId> [--yolo]` / `gemini -r <sessionId>` / `codebuddy -r <sessionId>`🤖 Prompt for AI Agents |
||
|
|
||
|
|
@@ -176,6 +182,12 @@ npm install -g @mmmbuto/codex-cli-termux@latest | |
|
|
||
| # Claude Code | ||
| npm install -g @anthropic-ai/claude-code | ||
|
|
||
| # Gemini CLI | ||
| npm install -g @google/gemini-cli | ||
|
|
||
| # CodeBuddy Code | ||
| npm install -g @tencent-ai/codebuddy-code | ||
| ``` | ||
|
|
||
| ### Run from source | ||
|
|
@@ -223,7 +235,7 @@ npm run reset 79 | |
| | `codexmate qwen [args...]` | Qwen CLI passthrough entrypoint | | ||
| | `codexmate run [--host <HOST>] [--no-browser]` | Start Web UI | | ||
| | `codexmate mcp serve [--read-only\|--allow-write]` | Start MCP stdio server | | ||
| | `codexmate export-session --source <codex\|claude> ...` | Export session to Markdown | | ||
| | `codexmate export-session --source <codex\|claude\|gemini\|codebuddy> ...` | Export session to Markdown | | ||
| | `codexmate zip <path> [--max:0-9]` / `codexmate unzip <zip> [out]` | Zip / unzip | | ||
| | `codexmate unzip-ext <zip-dir> [out] [--ext:suffix[,suffix...]] [--no-recursive]` | Extract files with target suffixes from ZIP files in a directory (default `.json`, recursive by default) | | ||
|
|
||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fix malformed bullet concatenation around the session/Plugins bullets.
At around line ~32, the sessions bullet appears to include trailing text like
with Usage analytics overview - Plugins ...in the same line, which suggests a missing newline or a duplicated fragment. This is consistent with the static-analysis orthography/format hint and can easily render incorrectly in Markdown.🛠️ Proposed fix
🧰 Tools
🪛 LanguageTool
[grammar] ~32-~32: Ensure spelling is correct
Context: ...ter/export/delete) with Usage analytics overview - Plugins (Prompt templates): reusable te...
(QB_NEW_EN_ORTHOGRAPHY_ERROR_IDS_1)
[grammar] ~33-~33: Ensure spelling is correct
Context: ... templates with variables and one-click copy - Task orchestration: plan/queue/run/revi...
(QB_NEW_EN_ORTHOGRAPHY_ERROR_IDS_1)
🤖 Prompt for AI Agents