@mkhuda/agent-ps 0.3.0 → 0.4.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/CHANGELOG.md CHANGED
@@ -1,5 +1,26 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.4.0
4
+
5
+ Antigravity, and a legend that was lying about one of the colours.
6
+
7
+ - Google's `agy` is the eighth agent. Each conversation is its own SQLite file,
8
+ but the fields worth showing sit inside protobuf blobs rather than columns, so
9
+ they are read out one at a time: the workspace by its length prefix, the
10
+ opening request from its tags, and the model from the small metadata blob
11
+ rather than the large one, which also holds whatever the session was reading
12
+ and will happily hand back another agent's name.
13
+ - Its steps carry the same status whether a turn is running or finished, so it
14
+ is the one agent whose busy and idle cannot be told apart. That column stays a
15
+ dash rather than guessing at it.
16
+ - The legend coloured the wrong letters. It found each agent by searching the
17
+ line it had just built, and `copilot` contains `pi`, so two letters in the
18
+ middle of one name were painted in another's colour while the real `pi` was
19
+ left with none. Positions are recorded while the line is composed now.
20
+ - An eighth agent had nowhere to go: a basic terminal has seven usable colours
21
+ and the new one would have worn the first one's. Terminals offering 256 now
22
+ draw from a wider palette without disturbing the seven already learned.
23
+
3
24
  ## 0.3.0
4
25
 
5
26
  The detail panel earns its screen.
package/README.md CHANGED
@@ -1,7 +1,7 @@
1
1
  <div align="center">
2
2
 
3
3
  <img src="https://raw.githubusercontent.com/mkhuda/agent-ps/main/images/agent-ps-screenshot.jpg" width="900"
4
- alt="agent-ps listing sessions from claude, hermes, codex, opencode, pi, commandcode and copilot side by side, each with its model, uptime, idle time, cpu, memory, disk and working directory, with two hermes background helpers at the bottom">
4
+ alt="agent-ps listing eleven sessions across all eight agents at once, each agent named in its own colour, with columns for model, uptime, time since the last turn, cpu, memory and disk. Three antigravity sessions, two hermes background helpers, a copilot chat with no process of its own, and a busy claude session highlighted at the top.">
5
5
 
6
6
  # agent-ps
7
7
 
@@ -13,7 +13,7 @@ what a session was.**
13
13
  [![npm](https://img.shields.io/npm/v/%40mkhuda%2Fagent-ps?style=flat-square&color=blue&label=npm)](https://www.npmjs.com/package/@mkhuda/agent-ps)
14
14
  [![license](https://img.shields.io/badge/license-MIT-blue?style=flat-square)](https://github.com/mkhuda/agent-ps/blob/main/LICENSE)
15
15
  ![python](https://img.shields.io/badge/python-3.8%2B-blue?style=flat-square)
16
- ![agents](https://img.shields.io/badge/agents-7-orange?style=flat-square)
16
+ ![agents](https://img.shields.io/badge/agents-8-orange?style=flat-square)
17
17
  ![dependencies](https://img.shields.io/badge/dependencies-none-brightgreen?style=flat-square)
18
18
 
19
19
  [Install](#install) | [Usage](#usage) | [Agents](#agents) |
@@ -124,12 +124,18 @@ legend above the keys.
124
124
  | [OpenCode](https://github.com/sst/opencode) | ![blue](https://img.shields.io/badge/-3b6fd4?style=flat-square) | SQLite | directory | yes | `opencode --session` |
125
125
  | Hermes | ![red](https://img.shields.io/badge/-c0392b?style=flat-square) | SQLite | directory | yes | `hermes --resume` |
126
126
  | GitHub Copilot | ![white](https://img.shields.io/badge/-cfd3d8?style=flat-square) | VS Code storage | no process | yes | in the editor |
127
+ | Antigravity | ![blue](https://img.shields.io/badge/-5f87ff?style=flat-square) | SQLite per conversation | directory | no | `agy --conversation` |
127
128
 
128
129
  Only Claude Code records which process is running which session, so every other
129
130
  pairing is matched on working directory and shown as a guess. OpenCode, Hermes
130
131
  and Copilot count tokens and cost, which the detail panel shows. Agents you have
131
132
  not installed are skipped, not reported as missing.
132
133
 
134
+ Antigravity keeps each conversation in its own database, but the fields worth
135
+ showing are inside protobuf blobs rather than columns, so they are read out one
136
+ at a time. Its steps carry the same status whether a turn is running or has
137
+ finished, so it is the one agent whose busy and idle cannot be told apart.
138
+
133
139
  Copilot is the exception to everything. It runs inside the VS Code extension
134
140
  host, so it has no process of its own: no PID, no uptime, no CPU or memory, and
135
141
  nothing to stop. What it does have is the credits each turn spent, which the free
@@ -168,7 +174,7 @@ something.
168
174
  Those keys live at the bottom of the screen, under a line naming every agent on
169
175
  screen in its own colour and, on the right, what the table is sorted by:
170
176
 
171
- ![The bottom of the screen: a legend naming each agent in its own colour, the sort shown in words on the right, and the key bar beneath it](https://raw.githubusercontent.com/mkhuda/agent-ps/main/images/agent-ps-footer-screenshot.jpg)
177
+ ![The bottom of the screen: a legend naming all eight agents, each in its own colour, the sort order spelled out on the right, and the key bar beneath it](https://raw.githubusercontent.com/mkhuda/agent-ps/main/images/agent-ps-footer-screenshot.jpg)
172
178
 
173
179
  That middle line does three jobs. It is the key to the colours in the AGENT
174
180
  column, it says the sort order in words so the marked heading is never a guess,
@@ -360,7 +366,7 @@ install fetches. The build is reproducible: the same source always produces the
360
366
  same bytes, so the committed executable can be checked against the tree.
361
367
 
362
368
  ```
363
- d5f2e2bd6d35e148e461c60c7cb7bd80fce272a15efb462a7dd513955ef5a2b6 agent-ps
369
+ 1a44868de812f5d0d2ac012ec97d610a34bca21884f718c7a8dffae80fb05ee6 agent-ps
364
370
  ```
365
371
 
366
372
  Adding an agent takes one class and one line in the registry. See
package/agent-ps CHANGED
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mkhuda/agent-ps",
3
- "version": "0.3.0",
3
+ "version": "0.4.0",
4
4
  "description": "A process table for coding agent sessions. Claude Code, Codex, OpenCode, Hermes, Pi, CommandCode and Copilot in one view, with models, idle time, disk use and one key to stop them.",
5
5
  "keywords": [
6
6
  "cli",