sidekick-agent-hub 0.19.2 → 0.20.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 +34 -2
- package/dist/sidekick-cli.mjs +1188 -70
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -37,7 +37,7 @@ If `sqlite3` is missing or not executable in the current shell environment, Side
|
|
|
37
37
|
|
|
38
38
|
```bash
|
|
39
39
|
sidekick dashboard [options]
|
|
40
|
-
sidekick tasks|decisions|notes|stats|quota|status|account|handoff|search|context [options]
|
|
40
|
+
sidekick tasks|decisions|notes|stats|quota|status|account|handoff|search|context|extract [options]
|
|
41
41
|
```
|
|
42
42
|
|
|
43
43
|
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 +87,38 @@ Global flags `--project` and `--provider` also apply.
|
|
|
87
87
|
|
|
88
88
|
You can also press `r` in the TUI dashboard to generate a report for the current session.
|
|
89
89
|
|
|
90
|
+
## Extract Session Assets
|
|
91
|
+
|
|
92
|
+
```bash
|
|
93
|
+
sidekick extract [options]
|
|
94
|
+
```
|
|
95
|
+
|
|
96
|
+
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.
|
|
97
|
+
|
|
98
|
+
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.
|
|
99
|
+
|
|
100
|
+
| Flag | Description |
|
|
101
|
+
|------|-------------|
|
|
102
|
+
| `--type <types>` | Comma list: `url`, `path`, `command`, `plan` (aliases: `urls`, `files`, `cmds`, `plans`) |
|
|
103
|
+
| `--limit <n>` | Positive integer maximum items per type |
|
|
104
|
+
| `-i`, `--interactive` | Interactive picker with copy/open actions |
|
|
105
|
+
|
|
106
|
+
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.
|
|
107
|
+
|
|
108
|
+
```bash
|
|
109
|
+
# Grouped text output
|
|
110
|
+
sidekick extract
|
|
111
|
+
|
|
112
|
+
# URLs and file paths only
|
|
113
|
+
sidekick extract --type url,path
|
|
114
|
+
|
|
115
|
+
# JSON for scripts
|
|
116
|
+
sidekick extract --limit 10 --json
|
|
117
|
+
|
|
118
|
+
# Interactive picker
|
|
119
|
+
sidekick extract -i
|
|
120
|
+
```
|
|
121
|
+
|
|
90
122
|
## API Status
|
|
91
123
|
|
|
92
124
|
```bash
|
|
@@ -273,7 +305,7 @@ Override with `--provider claude-code`, `--provider opencode`, or `--provider co
|
|
|
273
305
|
|
|
274
306
|
## See Also
|
|
275
307
|
|
|
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`.
|
|
308
|
+
**[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
309
|
|
|
278
310
|
**[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
311
|
|