marmonitor 0.1.0 → 0.1.2
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 +49 -38
- package/dist/version.d.ts +1 -1
- package/dist/version.js +5 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<p align="center">
|
|
2
|
-
<img src="docs/banner-ansi.png" alt="marmonitor" width="
|
|
2
|
+
<img src="docs/banner-ansi.png" alt="marmonitor" width="640">
|
|
3
3
|
</p>
|
|
4
4
|
|
|
5
5
|
<p align="center">
|
|
@@ -69,11 +69,38 @@ Running multiple AI coding agents in tmux is now the norm — Claude Code refact
|
|
|
69
69
|
|
|
70
70
|
## Install
|
|
71
71
|
|
|
72
|
+
### 1. Install marmonitor
|
|
73
|
+
|
|
72
74
|
```bash
|
|
73
75
|
npm install -g marmonitor
|
|
74
76
|
```
|
|
75
77
|
|
|
76
|
-
|
|
78
|
+
### 2. Add tmux plugin
|
|
79
|
+
|
|
80
|
+
Using [tpm](https://github.com/tmux-plugins/tpm) (recommended):
|
|
81
|
+
|
|
82
|
+
```bash
|
|
83
|
+
# Add to ~/.tmux.conf
|
|
84
|
+
set -g @plugin 'mjjo16/marmonitor-tmux'
|
|
85
|
+
```
|
|
86
|
+
|
|
87
|
+
Then press `prefix + I` inside tmux to install. Done.
|
|
88
|
+
|
|
89
|
+
<details>
|
|
90
|
+
<summary>Manual install (without tpm)</summary>
|
|
91
|
+
|
|
92
|
+
```bash
|
|
93
|
+
git clone https://github.com/mjjo16/marmonitor-tmux ~/.tmux/plugins/marmonitor-tmux
|
|
94
|
+
```
|
|
95
|
+
|
|
96
|
+
Add to `~/.tmux.conf`:
|
|
97
|
+
```bash
|
|
98
|
+
run-shell ~/.tmux/plugins/marmonitor-tmux/marmonitor.tmux
|
|
99
|
+
```
|
|
100
|
+
</details>
|
|
101
|
+
|
|
102
|
+
<details>
|
|
103
|
+
<summary>Install from source (development)</summary>
|
|
77
104
|
|
|
78
105
|
```bash
|
|
79
106
|
git clone https://github.com/mjjo16/marmonitor.git
|
|
@@ -81,25 +108,26 @@ cd marmonitor
|
|
|
81
108
|
npm install && npm run build
|
|
82
109
|
npm link
|
|
83
110
|
```
|
|
111
|
+
</details>
|
|
84
112
|
|
|
85
113
|
## Quick Start
|
|
86
114
|
|
|
87
|
-
|
|
88
|
-
# Full session inventory
|
|
89
|
-
marmonitor status
|
|
90
|
-
|
|
91
|
-
# Focused attention list — what needs your input?
|
|
92
|
-
marmonitor attention
|
|
115
|
+
Once installed, your tmux status bar automatically shows AI session badges. You also get:
|
|
93
116
|
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
117
|
+
| Shortcut | Action |
|
|
118
|
+
|----------|--------|
|
|
119
|
+
| `prefix + a` | Attention popup — choose a session to review |
|
|
120
|
+
| `prefix + j` | Jump popup — pick a session to jump to |
|
|
121
|
+
| `prefix + m` | Dock — compact monitor pane |
|
|
122
|
+
| `Option+1~5` | Direct jump to attention session #1~5 |
|
|
97
123
|
|
|
98
|
-
|
|
99
|
-
marmonitor jump --attention-index 1
|
|
124
|
+
CLI commands:
|
|
100
125
|
|
|
101
|
-
|
|
102
|
-
marmonitor
|
|
126
|
+
```bash
|
|
127
|
+
marmonitor status # Full session inventory
|
|
128
|
+
marmonitor attention # What needs your input?
|
|
129
|
+
marmonitor watch # Live full-screen monitor
|
|
130
|
+
marmonitor help # All commands and options
|
|
103
131
|
```
|
|
104
132
|
|
|
105
133
|
## Phase Icons
|
|
@@ -121,32 +149,15 @@ marmonitor --statusline --statusline-format tmux-badges
|
|
|
121
149
|
| `[Dead]` | Session file exists but process is gone |
|
|
122
150
|
| `[Unmatched]` | AI process found but no matching session |
|
|
123
151
|
|
|
124
|
-
##
|
|
125
|
-
|
|
126
|
-
### tmux
|
|
127
|
-
|
|
128
|
-
Add to your `~/.tmux.conf`:
|
|
129
|
-
|
|
130
|
-
```bash
|
|
131
|
-
# Two-line status bar with AI session badges
|
|
132
|
-
set -g status-right '#(marmonitor --statusline --statusline-format tmux-badges)'
|
|
133
|
-
|
|
134
|
-
# Popup attention chooser (prefix + a)
|
|
135
|
-
bind a display-popup -E -w 80 -h 20 "marmonitor attention --interactive"
|
|
136
|
-
|
|
137
|
-
# Direct jump by number (Option+1~5)
|
|
138
|
-
bind -n M-1 run-shell "marmonitor jump --attention-index 1"
|
|
139
|
-
```
|
|
140
|
-
|
|
141
|
-
See [`examples/tmux/`](examples/tmux/) for full setup.
|
|
152
|
+
## tmux Plugin
|
|
142
153
|
|
|
143
|
-
|
|
154
|
+
The [marmonitor-tmux](https://github.com/mjjo16/marmonitor-tmux) plugin handles all tmux setup automatically:
|
|
144
155
|
|
|
145
|
-
|
|
156
|
+
- 2nd status line with agent badges and attention pills
|
|
157
|
+
- Key bindings for popup, jump, and dock
|
|
158
|
+
- Option+1~5 direct jump
|
|
146
159
|
|
|
147
|
-
|
|
148
|
-
- non-tmux bars are not part of the supported default setup right now
|
|
149
|
-
- existing WezTerm example files remain in the repo as paused reference material, not active product surface
|
|
160
|
+
All settings are customizable via `@marmonitor-*` options. See the [plugin README](https://github.com/mjjo16/marmonitor-tmux) for details.
|
|
150
161
|
|
|
151
162
|
## Configuration
|
|
152
163
|
|
package/dist/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const VERSION
|
|
1
|
+
export declare const VERSION: string;
|
package/dist/version.js
CHANGED
|
@@ -1 +1,5 @@
|
|
|
1
|
-
|
|
1
|
+
import { readFileSync } from "node:fs";
|
|
2
|
+
import { dirname, join } from "node:path";
|
|
3
|
+
import { fileURLToPath } from "node:url";
|
|
4
|
+
const pkg = JSON.parse(readFileSync(join(dirname(fileURLToPath(import.meta.url)), "..", "package.json"), "utf-8"));
|
|
5
|
+
export const VERSION = pkg.version;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "marmonitor",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2",
|
|
4
4
|
"author": "MJ JO <mjjo16@gmail.com>",
|
|
5
5
|
"description": "tmux status bar monitor for AI coding agents — track Claude Code, Codex, Gemini sessions, tokens, and phases in real time",
|
|
6
6
|
"type": "module",
|