sidekick-agent-hub 0.19.3 → 0.21.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.
- package/README.md +52 -5
- package/dist/sidekick-cli.mjs +3239 -900
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -6,6 +6,16 @@ Full-screen terminal dashboard for monitoring AI agent sessions — standalone,
|
|
|
6
6
|
|
|
7
7
|
Sidekick CLI reads from `~/.config/sidekick/` — the same data files the [VS Code extension](https://marketplace.visualstudio.com/items?itemName=CesarAndresLopez.sidekick-for-max) writes. Browse sessions, tasks, decisions, knowledge notes, mind maps, and more in an interactive terminal UI.
|
|
8
8
|
|
|
9
|
+
## What's New
|
|
10
|
+
|
|
11
|
+
- **`sidekick extract`** — pull URLs, file paths, commands, and plans out of recent Claude Code and Codex chats, with `--json` and an interactive picker.
|
|
12
|
+
- **`sidekick quota history`** — a 13-week, per-workspace, GitHub-style heatmap of session-limit utilization.
|
|
13
|
+
- **`sidekick status` & `sidekick peak`** — one-shot Claude/OpenAI API health checks and a Claude peak-hours indicator.
|
|
14
|
+
- **`sidekick account`** — manage multiple Claude Code and Codex accounts, with first-run auto-registration of your active credentials.
|
|
15
|
+
- **Recent models & richer reports** — Claude Opus 4.8 and Fable 5 pricing/context, plus `report`/`dump` transcripts that interleave reasoning, tool calls, and narration.
|
|
16
|
+
|
|
17
|
+
See the [full changelog](https://github.com/cesarandreslopez/sidekick-agent-hub/blob/main/CHANGELOG.md) for everything.
|
|
18
|
+
|
|
9
19
|
## Installation
|
|
10
20
|
|
|
11
21
|
> **Note:** The npm package is `sidekick-agent-hub`, but the binary it installs is called `sidekick`.
|
|
@@ -37,7 +47,7 @@ If `sqlite3` is missing or not executable in the current shell environment, Side
|
|
|
37
47
|
|
|
38
48
|
```bash
|
|
39
49
|
sidekick dashboard [options]
|
|
40
|
-
sidekick tasks|decisions|notes|stats|quota|status|account|handoff|search|context [options]
|
|
50
|
+
sidekick tasks|decisions|notes|stats|quota|status|account|handoff|search|context|extract [options]
|
|
41
51
|
```
|
|
42
52
|
|
|
43
53
|
The standalone commands open the dashboard directly to a specific panel or run a one-shot query. All accept `--project` and `--provider` flags.
|
|
@@ -87,6 +97,38 @@ Global flags `--project` and `--provider` also apply.
|
|
|
87
97
|
|
|
88
98
|
You can also press `r` in the TUI dashboard to generate a report for the current session.
|
|
89
99
|
|
|
100
|
+
## Extract Session Assets
|
|
101
|
+
|
|
102
|
+
```bash
|
|
103
|
+
sidekick extract [options]
|
|
104
|
+
```
|
|
105
|
+
|
|
106
|
+
Pull actionable assets from recent Claude Code and Codex sessions for exactly the current project directory: URLs, validated file paths, commands the agent suggested for you to run, and plan-mode plans. Text output is grouped by type and labels each item with its source agent; `--json` returns the same grouped shape plus `inChat` and per-item provenance for scripts; `-i` opens an interactive picker where Enter opens URLs and copies other assets.
|
|
107
|
+
|
|
108
|
+
This feature was contributed by [@B33pBeeps](https://github.com/B33pBeeps) (Juan Fourie) and adapted from his MIT-licensed [`trawl`](https://github.com/B33pBeeps/trawl) project.
|
|
109
|
+
|
|
110
|
+
| Flag | Description |
|
|
111
|
+
|------|-------------|
|
|
112
|
+
| `--type <types>` | Comma list: `url`, `path`, `command`, `plan` (aliases: `urls`, `files`, `cmds`, `plans`) |
|
|
113
|
+
| `--limit <n>` | Positive integer maximum items per type |
|
|
114
|
+
| `-i`, `--interactive` | Interactive picker with copy/open actions |
|
|
115
|
+
|
|
116
|
+
Global flags `--project`, `--provider`, and `--json` also apply. `--provider claude-code` scopes to Claude Code, `--provider codex` scopes to Codex, and `auto` reads both. Invalid `--type` or `--limit` values fail fast with a clear error. OpenCode extraction is not supported yet.
|
|
117
|
+
|
|
118
|
+
```bash
|
|
119
|
+
# Grouped text output
|
|
120
|
+
sidekick extract
|
|
121
|
+
|
|
122
|
+
# URLs and file paths only
|
|
123
|
+
sidekick extract --type url,path
|
|
124
|
+
|
|
125
|
+
# JSON for scripts
|
|
126
|
+
sidekick extract --limit 10 --json
|
|
127
|
+
|
|
128
|
+
# Interactive picker
|
|
129
|
+
sidekick extract -i
|
|
130
|
+
```
|
|
131
|
+
|
|
90
132
|
## API Status
|
|
91
133
|
|
|
92
134
|
```bash
|
|
@@ -130,6 +172,8 @@ Use `--json` for machine-readable output. Use `--provider codex` to explicitly c
|
|
|
130
172
|
|
|
131
173
|
When multi-account is enabled, `sidekick quota` shows the active account email above the quota bars.
|
|
132
174
|
|
|
175
|
+
Use `sidekick quota --all` to show Claude and Codex quota together in a single run. Each provider degrades independently — if one provider's quota can't be fetched, its error is shown inline and the other still renders (the command never aborts on a single provider's failure). `--all --json` emits a `{ claude, codex }` payload for dashboards and automation.
|
|
176
|
+
|
|
133
177
|
### Quota History
|
|
134
178
|
|
|
135
179
|
```bash
|
|
@@ -162,14 +206,17 @@ On first CLI startup, Sidekick auto-registers the active system Claude Code and
|
|
|
162
206
|
|
|
163
207
|
| Flag | Description |
|
|
164
208
|
|------|-------------|
|
|
165
|
-
| `--provider <id>` | Provider: `claude-code` (default) or `
|
|
209
|
+
| `--provider <id>` | Provider: `claude-code` (default), `codex`, or `all` |
|
|
166
210
|
| `--add` | Save the currently signed-in account |
|
|
167
|
-
| `--
|
|
211
|
+
| `--login` | Sign in and save a **new** account via a provider-isolated login flow, without disturbing the active account until finalization |
|
|
212
|
+
| `--label <name>` | Label for the account (required for Codex and `--login`; optional for Claude `--add`) |
|
|
168
213
|
| `--switch` | Switch to the next saved account |
|
|
169
214
|
| `--switch-to <id>` | Switch to a specific account by email, label, or ID |
|
|
170
215
|
| `--remove <id>` | Remove a saved account by email, label, or ID |
|
|
216
|
+
| `--launcher <name>` | Create an opt-in per-account terminal launcher for the active account |
|
|
217
|
+
| `--auto-switch <pct\|off>` | Persist the auto-switch quota threshold (1–100), or `off` to disable. Continuous auto-switching runs in a long-running host such as VS Code |
|
|
171
218
|
|
|
172
|
-
With no flags, lists all saved accounts and marks the active one. Use `--json` for machine-readable output.
|
|
219
|
+
With no flags, lists all saved accounts and marks the active one. `--provider all` lists Claude and Codex accounts together. Use `--json` for machine-readable output (provider-keyed when `--provider all`).
|
|
173
220
|
|
|
174
221
|
## Dashboard Panels
|
|
175
222
|
|
|
@@ -273,7 +320,7 @@ Override with `--provider claude-code`, `--provider opencode`, or `--provider co
|
|
|
273
320
|
|
|
274
321
|
## See Also
|
|
275
322
|
|
|
276
|
-
**[sidekick-shared](https://www.npmjs.com/package/sidekick-shared)** — the shared data access library used by this CLI. Published as a standalone npm package for building custom tools on Sidekick session data — types, parsers, providers, event aggregation, model pricing, and more. Install with `npm install sidekick-shared`.
|
|
323
|
+
**[sidekick-shared](https://www.npmjs.com/package/sidekick-shared)** — the shared data access library used by this CLI. Published as a standalone npm package for building custom tools on Sidekick session data — types, parsers, providers, event aggregation, model pricing, actionable session-asset extraction, and more. Install with `npm install sidekick-shared`.
|
|
277
324
|
|
|
278
325
|
**[Sidekick Docker](https://github.com/cesarandreslopez/sidekick-docker)** — the same TUI dashboard experience for Docker management. Monitor containers, Compose projects, images, and volumes from a keyboard-driven terminal. Install with `npm install -g sidekick-docker`.
|
|
279
326
|
|