feat(plugins): Process Pack — OS-process introspection (list + info) - #29
Merged
Conversation
rrader26
force-pushed
the
feat/process-introspection
branch
2 times, most recently
from
May 12, 2026 12:35
c1c3be9 to
32f6126
Compare
Cross-platform process listing + per-PID detail for agents that need
OS-level observability ("why isn't this app responding?", "is my
bridge still alive?", "what's eating CPU?"). Read-only in v0; kill
ships separately with explicit gating.
Tools shipped (2):
agentmark_process_list list with optional name filter + sort
agentmark_process_info detail for one PID
Cross-platform via OS-native tools (no Node deps):
macOS / Linux: `ps -A -o pid,pcpu,pmem,user,etime,rss,comm`
Windows: PowerShell Get-Process + Win32_Process WMI for cmdline
Normalised shape regardless of platform: pid, name, user, cpu_percent,
memory_kb, command, elapsed, ppid, vsz_kb, state. Sort by cpu /
memory / name / pid. Substring filter on process name.
Tests (12 new, 354 total): live `ps` calls assert current Node process
appears in list, info resolves for own PID, unknown PID returns
found=false, sort orders are honoured, name_filter matches
case-insensitively. No mocks — real OS calls.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
rrader26
force-pushed
the
feat/process-introspection
branch
from
May 12, 2026 12:43
32f6126 to
4f79757
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Tools
Why
Read-only OS observability for the agent. Use cases:
This is also a precursor to the planned Frida-style "enterprise introspection" tier — that work needs a baseline OS-level observability surface to anchor against.
What's NOT in v0
Test plan
🤖 Generated with Claude Code