@kvell007/embed-labs-local-bridge 0.1.0-alpha.23 → 0.1.0-alpha.25
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 +23 -0
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -25,6 +25,9 @@ are complete.
|
|
|
25
25
|
- Non-destructive debug tool availability scans for OpenOCD, probe-rs, pyOCD,
|
|
26
26
|
and SEGGER J-Link command-line tools.
|
|
27
27
|
- Flash plan endpoints and local job tracking.
|
|
28
|
+
- RP2350/Pico 2 monitor capability catalog plus first-class GPIO, UART, I2C,
|
|
29
|
+
SPI, logic-analyzer, Wi-Fi, and debug-probe operations routed through the
|
|
30
|
+
shared `/api/operation` bridge.
|
|
28
31
|
- Stable HTTP/JSON response contracts used by the CLI and agent plugins.
|
|
29
32
|
|
|
30
33
|
## Install
|
|
@@ -85,8 +88,25 @@ curl -fsS http://127.0.0.1:18083/v1/debug/tools
|
|
|
85
88
|
curl -fsS http://127.0.0.1:18083/v1/devices/probe \
|
|
86
89
|
-H 'content-type: application/json' \
|
|
87
90
|
-d '{"host":"198.19.77.2","ports":[22,15301],"timeout_ms":1000}'
|
|
91
|
+
curl -fsS http://127.0.0.1:18083/v1/tools/invoke \
|
|
92
|
+
-H 'content-type: application/json' \
|
|
93
|
+
-d '{"capability_id":"rp2350.monitor.capabilities","input":{}}'
|
|
94
|
+
curl -fsS http://127.0.0.1:18083/v1/tools/invoke \
|
|
95
|
+
-H 'content-type: application/json' \
|
|
96
|
+
-d '{"capability_id":"rp2350.monitor.gpio.read","approved":true,"input":{"pins":[16,17],"pull":"none"}}'
|
|
97
|
+
curl -fsS http://127.0.0.1:18083/v1/tools/invoke \
|
|
98
|
+
-H 'content-type: application/json' \
|
|
99
|
+
-d '{"capability_id":"rp2350.monitor.spi.transfer","approved":true,"input":{"hex":"a55a3cc3"}}'
|
|
88
100
|
```
|
|
89
101
|
|
|
102
|
+
RP2350/Pico 2 monitor capabilities are intentionally exposed as a complete
|
|
103
|
+
hardware surface: `rp2350.monitor.capabilities`, `status`, `gpio.read`,
|
|
104
|
+
`gpio.write`, `uart.write`, `i2c.transfer`, `spi.transfer`, `logic.capture`,
|
|
105
|
+
`logic.decode`, `wifi.manage`, `probe.debug`, `operation`, and legacy
|
|
106
|
+
`command`. Agents should ask for the catalog first when the protocol or
|
|
107
|
+
operation is unclear, then use the specific tool rather than scraping the
|
|
108
|
+
monitor UI.
|
|
109
|
+
|
|
90
110
|
## Hardware Support Boundary
|
|
91
111
|
|
|
92
112
|
Current local behavior is intentionally narrow:
|
|
@@ -98,6 +118,9 @@ Current local behavior is intentionally narrow:
|
|
|
98
118
|
they do not open probes, start GDB servers, or create debug sessions.
|
|
99
119
|
- RP2350 UF2 flashing copies a `.uf2` artifact to a mounted UF2 volume only
|
|
100
120
|
after a ready flash plan and explicit approval.
|
|
121
|
+
- RP2350 Monitor protocol operations are exposed through the capability catalog
|
|
122
|
+
and specific local tools. Agents should not scrape the monitor UI or call raw
|
|
123
|
+
serial/TCP endpoints to learn operation formats.
|
|
101
124
|
- TaishanPi image-set planning can check required image files and
|
|
102
125
|
`rkdeveloptool` availability, but real destructive TaishanPi flashing is
|
|
103
126
|
guarded and not enabled. The bridge returns a blocked job until the exact
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kvell007/embed-labs-local-bridge",
|
|
3
|
-
"version": "0.1.0-alpha.
|
|
3
|
+
"version": "0.1.0-alpha.25",
|
|
4
4
|
"description": "Local hardware bridge service for Embed Labs Cloud. Experimental npm publish.",
|
|
5
5
|
"private": false,
|
|
6
6
|
"type": "module",
|
|
@@ -18,10 +18,10 @@
|
|
|
18
18
|
"embed-local-bridge": "dist/index.js"
|
|
19
19
|
},
|
|
20
20
|
"optionalDependencies": {
|
|
21
|
-
"@embed-labs/local-bridge-darwin-arm64": "npm:@kvell007/embed-labs-local-bridge-darwin-arm64@0.1.0-alpha.
|
|
22
|
-
"@embed-labs/local-bridge-linux-arm64": "npm:@kvell007/embed-labs-local-bridge-linux-arm64@0.1.0-alpha.
|
|
23
|
-
"@embed-labs/local-bridge-linux-x64": "npm:@kvell007/embed-labs-local-bridge-linux-x64@0.1.0-alpha.
|
|
24
|
-
"@embed-labs/local-bridge-win32-x64": "npm:@kvell007/embed-labs-local-bridge-win32-x64@0.1.0-alpha.
|
|
21
|
+
"@embed-labs/local-bridge-darwin-arm64": "npm:@kvell007/embed-labs-local-bridge-darwin-arm64@0.1.0-alpha.25",
|
|
22
|
+
"@embed-labs/local-bridge-linux-arm64": "npm:@kvell007/embed-labs-local-bridge-linux-arm64@0.1.0-alpha.25",
|
|
23
|
+
"@embed-labs/local-bridge-linux-x64": "npm:@kvell007/embed-labs-local-bridge-linux-x64@0.1.0-alpha.25",
|
|
24
|
+
"@embed-labs/local-bridge-win32-x64": "npm:@kvell007/embed-labs-local-bridge-win32-x64@0.1.0-alpha.25"
|
|
25
25
|
},
|
|
26
26
|
"publishConfig": {
|
|
27
27
|
"access": "public",
|