@standardbeagle/agnt 0.5.1 → 0.6.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/README.md CHANGED
@@ -1,6 +1,18 @@
1
1
  # agnt
2
2
 
3
- MCP server for AI coding agents - process management, reverse proxy with traffic logging, browser instrumentation, and sketch mode.
3
+ **Give your AI coding agent browser superpowers.**
4
+
5
+ agnt is a new kind of tool designed for the age of AI-assisted development. It acts as a bridge between your AI coding agent and the browser, extending what's possible during vibe coding sessions.
6
+
7
+ ## What Does It Do?
8
+
9
+ When you're in the flow with Claude Code, Cursor, or other AI tools, agnt lets your agent:
10
+
11
+ - **See what you see** - Screenshots, DOM inspection, visual debugging
12
+ - **Hear from you directly** - Send messages from browser to agent
13
+ - **Sketch ideas together** - Draw wireframes directly on your UI
14
+ - **Debug in real-time** - Capture errors, network traffic, performance
15
+ - **Extend its thinking window** - Structured data uses fewer tokens than descriptions
4
16
 
5
17
  ## Installation
6
18
 
@@ -10,9 +22,9 @@ npm install -g @standardbeagle/agnt
10
22
 
11
23
  ## Quick Start
12
24
 
13
- ### As MCP Server (Claude Code, etc.)
25
+ ### As MCP Server (Claude Code, Cursor, etc.)
14
26
 
15
- Add to your Claude Code MCP configuration:
27
+ Add to your MCP configuration:
16
28
 
17
29
  ```json
18
30
  {
@@ -38,57 +50,74 @@ Wrap your AI coding tool with overlay features:
38
50
 
39
51
  ```bash
40
52
  agnt run claude --dangerously-skip-permissions
41
- agnt run gemini
42
- agnt run copilot
53
+ agnt run cursor
54
+ agnt run aider
43
55
  ```
44
56
 
45
- ## Features
46
-
47
- - **Project Detection**: Auto-detect Go, Node.js, Python projects
48
- - **Process Management**: Run and manage long-running processes
49
- - **Reverse Proxy**: HTTP proxy with traffic logging
50
- - **Browser Instrumentation**: 50+ diagnostic primitives
51
- - **Sketch Mode**: Excalidraw-like wireframing on your UI
52
- - **Floating Indicator**: Quick access panel in browser
57
+ This adds a terminal overlay menu (Ctrl+P) and enables browser-to-terminal messaging.
53
58
 
54
- ## MCP Tools
59
+ ## Core Features
55
60
 
56
- | Tool | Description |
57
- |------|-------------|
58
- | `detect` | Detect project type and available scripts |
59
- | `run` | Run scripts or commands |
60
- | `proc` | Manage processes: status, output, stop, list |
61
- | `proxy` | Reverse proxy: start, stop, exec, toast |
62
- | `proxylog` | Query proxy traffic logs |
63
- | `currentpage` | View active page sessions |
64
- | `daemon` | Manage background daemon |
61
+ ### Browser Superpowers
65
62
 
66
- ## Usage Examples
63
+ Start a proxy and your agent gains eyes into the browser:
67
64
 
68
65
  ```
69
- # Start a proxy for your dev server
70
- proxy {action: "start", id: "dev", target_url: "http://localhost:3000"}
66
+ proxy {action: "start", id: "app", target_url: "http://localhost:3000"}
67
+ ```
71
68
 
72
- # Execute JavaScript in connected browsers
73
- proxy {action: "exec", id: "dev", code: "__devtool.screenshot('homepage')"}
69
+ Now your agent can:
70
+ - Take screenshots
71
+ - Inspect any element
72
+ - Audit accessibility
73
+ - See what you clicked
74
74
 
75
- # Show toast notification
76
- proxy {action: "toast", id: "dev", toast_message: "Build complete!", toast_type: "success"}
77
- ```
75
+ ### Floating Indicator
76
+
77
+ Every proxied page gets a floating bug icon. Click to:
78
+ - Send messages to your agent
79
+ - Take area screenshots
80
+ - Select elements to log
81
+ - Open sketch mode
82
+
83
+ ### Sketch Mode
84
+
85
+ Draw directly on your UI:
86
+ - Shapes: rectangles, circles, arrows, freehand
87
+ - Wireframes: buttons, inputs, sticky notes
88
+ - Save and send to agent instantly
89
+
90
+ ### Real-Time Error Capture
91
+
92
+ JavaScript errors automatically captured and available to your agent - no more forgetting to mention them.
93
+
94
+ ## MCP Tools
95
+
96
+ | Tool | Description |
97
+ |------|-------------|
98
+ | `detect` | Auto-detect project type and scripts |
99
+ | `run` | Run scripts or commands |
100
+ | `proc` | Manage processes |
101
+ | `proxy` | Reverse proxy with instrumentation |
102
+ | `proxylog` | Query traffic logs |
103
+ | `currentpage` | View page sessions |
104
+ | `daemon` | Manage background service |
78
105
 
79
106
  ## Browser API
80
107
 
81
- The proxy injects `window.__devtool` with 50+ functions:
108
+ The proxy injects `window.__devtool` with 50+ diagnostic functions:
82
109
 
83
- - `screenshot(name)` - Capture screenshot
84
- - `inspect(selector)` - Get element info
85
- - `sketch.open()` / `sketch.save()` - Wireframe mode
86
- - `indicator.toggle()` - Toggle floating indicator
87
- - And many more...
110
+ ```javascript
111
+ __devtool.screenshot('name') // Capture screenshot
112
+ __devtool.inspect('#element') // Full element analysis
113
+ __devtool.auditAccessibility() // A11y audit
114
+ __devtool.sketch.open() // Enter sketch mode
115
+ __devtool.interactions.getLastClick() // Last click details
116
+ ```
88
117
 
89
118
  ## Configuration
90
119
 
91
- Create `.agnt.kdl` in your project root:
120
+ Create `.agnt.kdl` in your project:
92
121
 
93
122
  ```kdl
94
123
  scripts {
@@ -110,7 +139,7 @@ proxies {
110
139
  ## Documentation
111
140
 
112
141
  - [GitHub](https://github.com/standardbeagle/agnt)
113
- - [Documentation](https://standardbeagle.github.io/agnt/)
142
+ - [Full Docs](https://standardbeagle.github.io/agnt/)
114
143
 
115
144
  ## License
116
145
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@standardbeagle/agnt",
3
- "version": "0.5.1",
3
+ "version": "0.6.0",
4
4
  "description": "MCP server for AI coding agents - process management, reverse proxy with traffic logging, browser instrumentation, and sketch mode",
5
5
  "main": "dist/index.js",
6
6
  "bin": {
@@ -5,7 +5,9 @@ const http = require('http');
5
5
  const fs = require('fs');
6
6
  const path = require('path');
7
7
 
8
- const VERSION = '0.5.1';
8
+ // Read version from package.json to stay in sync
9
+ const packageJson = require('../package.json');
10
+ const VERSION = packageJson.version;
9
11
  const REPO = 'standardbeagle/agnt';
10
12
  const BINARY_NAME = 'agnt';
11
13