sidekick-agent-hub 0.12.1 → 0.12.3

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.
Files changed (3) hide show
  1. package/README.md +105 -19
  2. package/dist/sidekick-cli.mjs +7066 -1371
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -1,41 +1,125 @@
1
- # Sidekick Agent Hub CLI
1
+ # Sidekick CLI
2
2
 
3
- Full-screen TUI dashboard for monitoring AI agent sessions from the terminal.
3
+ Full-screen terminal dashboard for monitoring AI agent sessions standalone, no VS Code required.
4
4
 
5
- The CLI reads from `~/.config/sidekick/` — the same data files the [Sidekick Agent Hub VS Code extension](https://marketplace.visualstudio.com/items?itemName=CesarAndresLopez.sidekick-for-max) writes. Browse sessions, tasks, decisions, knowledge notes, and more in an interactive Ink-based terminal UI.
5
+ ![Sidekick CLI Dashboard](https://raw.githubusercontent.com/cesarandreslopez/sidekick-agent-hub/main/assets/sidekick-cli.gif)
6
+
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.
6
8
 
7
9
  ## Installation
8
10
 
11
+ > **Note:** The npm package is `sidekick-agent-hub`, but the binary it installs is called `sidekick`.
12
+
9
13
  ```bash
10
14
  npm install -g sidekick-agent-hub
11
15
  ```
12
16
 
17
+ Requires **Node.js 20+**.
18
+
19
+ ## Quick Start
20
+
21
+ 1. `cd` into your project directory
22
+ 2. Run `sidekick dashboard`
23
+ 3. The dashboard auto-detects your project and session provider
24
+ 4. Press `?` to see all keybindings
25
+
13
26
  ## Usage
14
27
 
15
28
  ```bash
16
- sidekick dashboard [--project <path>] [--provider <id>]
29
+ sidekick dashboard [options]
17
30
  ```
18
31
 
19
- ### Options
20
-
21
- | Option | Description |
22
- |--------|-------------|
32
+ | Flag | Description |
33
+ |------|-------------|
23
34
  | `--project <path>` | Override project path (default: current working directory) |
24
35
  | `--provider <id>` | Session provider: `claude-code`, `opencode`, `codex`, or `auto` (default) |
36
+ | `--session <id>` | Follow a specific session by ID |
37
+ | `--replay` | Replay existing events from the beginning before streaming live |
25
38
 
26
39
  ## Dashboard Panels
27
40
 
28
- | Panel | Description |
29
- |-------|-------------|
30
- | Sessions | Browse and select from recent sessions |
31
- | Tasks | View persisted tasks filtered by status |
32
- | Kanban | Task board with status columns |
33
- | Mind Map | Terminal-rendered session structure graph |
34
- | Notes | Knowledge notes attached to files |
35
- | Decisions | Architectural decisions from sessions |
36
- | Search | Full-text search across session files |
37
- | Files | Files touched during sessions |
38
- | Git Diff | View diffs from session file changes |
41
+ The dashboard is a two-pane terminal UI. The left side shows a navigable list, the right side shows details for the selected item.
42
+
43
+ | # | Panel | Description |
44
+ |---|-------|-------------|
45
+ | 1 | **Sessions** | Browse recent sessions with detail tabs: Summary, Timeline, Mind Map, Tools, Files, Agents, AI Summary |
46
+ | 2 | **Tasks** | View persisted tasks filtered by status |
47
+ | 3 | **Kanban** | Task board with status columns |
48
+ | 4 | **Notes** | Knowledge notes attached to files |
49
+ | 5 | **Decisions** | Architectural decisions from sessions |
50
+
51
+ ## Layout Modes
52
+
53
+ Press `z` to cycle through layout modes:
54
+
55
+ | Mode | Description |
56
+ |------|-------------|
57
+ | **Normal** | Default two-pane split |
58
+ | **Expanded** | Side list hidden, detail pane fills the screen |
59
+ | **Wide Side** | Wider side list for longer item labels |
60
+
61
+ ## Keybindings
62
+
63
+ ### Navigation
64
+
65
+ | Key | Action |
66
+ |-----|--------|
67
+ | `1`–`5` | Switch panel |
68
+ | `Tab` | Toggle focus between side list and detail pane |
69
+ | `j` / `↓` | Next item (side) or scroll down (detail) |
70
+ | `k` / `↑` | Previous item (side) or scroll up (detail) |
71
+ | `g` | Jump to first item / scroll to top |
72
+ | `G` | Jump to last item / scroll to bottom |
73
+ | `h` / `←` | Return focus to side list (from detail) |
74
+ | `Enter` | Move focus to detail pane (from side list) |
75
+
76
+ ### Detail Tabs
77
+
78
+ | Key | Action |
79
+ |-----|--------|
80
+ | `[` | Previous detail tab |
81
+ | `]` | Next detail tab |
82
+
83
+ ### Session Management
84
+
85
+ | Key | Action |
86
+ |-----|--------|
87
+ | `p` | Pin session (prevent auto-switching to newest) |
88
+ | `s` | Switch to pending session |
89
+ | `f` | Toggle session filter |
90
+
91
+ ### Session Panel — Mind Map Tab
92
+
93
+ | Key | Action |
94
+ |-----|--------|
95
+ | `v` | Cycle mind map view: tree → boxed → flow |
96
+ | `f` | Cycle node filter: all → file → tool → task → subagent → command → plan → knowledge-note |
97
+
98
+ ### Session Panel — AI Summary Tab
99
+
100
+ | Key | Action |
101
+ |-----|--------|
102
+ | `n` | Generate / retry AI narrative |
103
+
104
+ ### General
105
+
106
+ | Key | Action |
107
+ |-----|--------|
108
+ | `z` | Cycle layout mode |
109
+ | `/` | Open filter overlay |
110
+ | `x` | Open context menu for selected item |
111
+ | `?` | Show help |
112
+ | `V` | Show version / changelog |
113
+ | `q` / `Ctrl+C` | Quit |
114
+
115
+ ## Mouse Support
116
+
117
+ The dashboard supports mouse input in terminals with SGR 1006 extended mouse encoding:
118
+
119
+ - **Click** side list items to select them
120
+ - **Click** panel tabs or detail tabs to switch
121
+ - **Scroll wheel** in either pane to navigate
122
+ - **Click** anywhere to dismiss overlays
39
123
 
40
124
  ## Multi-Provider Support
41
125
 
@@ -45,6 +129,8 @@ Auto-detects the most recently active session provider:
45
129
  - **OpenCode** — `~/.local/share/opencode/`
46
130
  - **Codex** — `~/.codex/`
47
131
 
132
+ Override with `--provider claude-code`, `--provider opencode`, or `--provider codex`.
133
+
48
134
  ## Documentation
49
135
 
50
136
  Full documentation at [cesarandreslopez.github.io/sidekick-agent-hub](https://cesarandreslopez.github.io/sidekick-agent-hub/features/cli/).