f8d07dab61
- omp-usage.js / opencode-usage.js: poll each CLI's own session store into sessions (tool omp/opencode), token_usage per model and subagent agents; transcript routes read them (omp journals, OpenCode's opencode.db). - Grok runs the Claude hooks in ~/.claude/settings.json: its hooks are now recognised (hookEventName + workspaceRoot), tagged tool=grok, and their transcript_path dropped instead of being parsed as a Claude transcript. - Catalog `resumeById`: omp/Grok/Cursor `--resume <id>`, OpenCode `--session <id>`; session ids may carry `_`. The client offers Resume for any tool that resumes by id. - Kimi Code and GitHub Copilot leave the catalog (their session stores could not be verified).
42 lines
605 B
JSON
42 lines
605 B
JSON
{
|
|
"id": "grok",
|
|
"label": "Grok Build",
|
|
"detect": [
|
|
"grok"
|
|
],
|
|
"prompt": {
|
|
"mode": "argv",
|
|
"separator": "--"
|
|
},
|
|
"model": {
|
|
"flag": "--model"
|
|
},
|
|
"resume": [
|
|
"--continue"
|
|
],
|
|
"resumeById": [
|
|
"--resume"
|
|
],
|
|
"bypass": [
|
|
"--permission-mode",
|
|
"bypassPermissions"
|
|
],
|
|
"homepageUrl": "https://x.ai/cli",
|
|
"faviconDomain": "x.ai",
|
|
"install": {
|
|
"kind": "script",
|
|
"url": "https://x.ai/cli/install.sh"
|
|
},
|
|
"update": {
|
|
"kind": "self",
|
|
"args": [
|
|
"update"
|
|
]
|
|
},
|
|
"config": [
|
|
{
|
|
"path": "~/.grok/config.toml"
|
|
}
|
|
]
|
|
}
|