@omercnet/paseo-agent-monitor 0.4.2-next.72.1

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/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Omer Cohen
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,102 @@
1
+ # agent-monitor
2
+
3
+ One roster for every agent on a daemon. Sidebar surface (`Agent monitor`) plus a global Command
4
+ Center item (`Open agent monitor`).
5
+
6
+ Answers "which of my 38 agents needs me right now" without walking the workspace tree.
7
+
8
+ ## Screenshots
9
+
10
+ Names and session titles in these screenshots are synthetic; the underlying browser DOM was
11
+ rewritten before capture so no private project, workspace, or session identifiers are published.
12
+
13
+ ### Project-first roster
14
+
15
+ ![Agent Monitor project-first roster](docs/images/agent-monitor-roster.png)
16
+
17
+ ### Monitor settings
18
+
19
+ ![Agent Monitor settings sheet](docs/images/agent-monitor-settings.png)
20
+
21
+ ## What it shows
22
+
23
+ - Counts and filters by triage bucket: Attention, Running, Idle, Closed. Attention covers
24
+ `requiresAttention`, `status === "error"`, and pending permission requests.
25
+ - Default layout groups agents by **project**, then by workspace under each project. Open the
26
+ gear beside Refresh for the host-native Monitor settings screen, which can switch to workspace
27
+ groups or a flat compact list.
28
+ - Settings also control float-pinned sorting, agent sort (triage / recently updated / title),
29
+ collapse of matching workspace headers, density, default bucket, whether Closed stays out of
30
+ All, and display toggles for diffs, pin markers, model, wait age, subagent counts, last error, and
31
+ compact placement. Preferences are a typed, host-scoped document shared by connected clients.
32
+ - Workspace headers show up to two workspace labels and current `+additions −deletions`
33
+ (additions in the success color, deletions in danger when color diffs are on).
34
+ - Per row: a status dot that separates errors (danger) from agents waiting on you (warning) and
35
+ running agents (success), state and wait age on a right-aligned rail (`attentionTimestamp`,
36
+ falling back to `updatedAt`), model, and `lastError` inline.
37
+ - Parent rows show their subagent count; child rows use a left indent guide.
38
+ - Text filter over title, agent id, provider, model, cwd, project, and workspace.
39
+ - Select an agent row to open that agent, or select a workspace header (or its folder button when
40
+ collapsed) to open its workspace through Paseo's cross-platform navigation API.
41
+ - Archive one agent, or sweep every closed agent (two taps).
42
+
43
+ ## How it reads state
44
+
45
+ `usePaseo().agents.list()` pages the daemon agent directory, `usePaseo().workspaces.list()` reads
46
+ workspace pin state, project id, and diff stats (200 per page, up to 10 pages each), and
47
+ `usePaseo().projects.list()` supplies registered project names, including custom renames, so an
48
+ agent whose workspace is beyond the paged workspace list still lands under its real project. Rows
49
+ refresh from agent, workspace, and project subscription deltas, debounced 750ms, with a 30s
50
+ backstop refetch. The plugin borrows the selected host's connection; it opens no socket of its own.
51
+
52
+ ## Limits
53
+
54
+ Interrupting a turn is not part of `PaseoApi`, so archive is the only lifecycle action here.
55
+
56
+ ## Install
57
+
58
+ Requires a compatible Paseo 0.8.x release, including 0.8 prereleases. The manifest declares
59
+ `requirements.paseo` as `^0.8.0`, and the development SDK is pinned to stable `0.8.0`.
60
+
61
+ Install the published package on the daemon host:
62
+
63
+ ```bash
64
+ paseo plugin install npm:@omercnet/paseo-agent-monitor
65
+ paseo plugin update agent-monitor
66
+ ```
67
+
68
+ Alternatively, install from Git. Git installs track the default branch and run no package manager;
69
+ the plugin has no runtime dependencies:
70
+
71
+ ```bash
72
+ paseo plugin add omercnet/paseo-plugins:agent-monitor
73
+ ```
74
+
75
+ For an air-gapped host, clone or download the monorepo and install this directory:
76
+
77
+ ```bash
78
+ cd paseo-plugins/agent-monitor
79
+ npm ci
80
+ paseo plugin install "$PWD"
81
+ ```
82
+
83
+ ## Develop
84
+
85
+ ```bash
86
+ npm ci
87
+ npm run check
88
+ npm test
89
+ npm run test:coverage
90
+ npm run typecheck
91
+ npx paseo plugin install "$PWD"
92
+ npx paseo plugin reload agent-monitor
93
+ ```
94
+
95
+ Release Please maintains the version, changelog, component tag, and GitHub release from
96
+ Conventional Commits in the monorepo.
97
+
98
+ The project targets the Paseo 0.8.x release line and pins `@getpaseo/plugin`, `@getpaseo/client`,
99
+ `@getpaseo/protocol`, and `@getpaseo/cli` to stable `0.8.0`. Renovate groups
100
+ `@getpaseo/*` updates so the SDKs move together.
101
+
102
+ React `19.1` and React Native `0.81` intentionally match the versions supplied by Paseo 0.8.