@kvell007/embed-labs-local-bridge 0.1.0-alpha.97 → 0.1.0-alpha.99
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 +3 -3
- package/dist/index.js +2 -2
- package/package.json +7 -7
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# @embed-labs/local-bridge
|
|
2
2
|
|
|
3
|
-
Local HTTP bridge service for
|
|
3
|
+
Local HTTP bridge service for EmbedLabs hardware discovery, bounded local
|
|
4
4
|
operations, and guarded flash planning.
|
|
5
5
|
|
|
6
6
|
## Package Status
|
|
@@ -152,8 +152,8 @@ claims.
|
|
|
152
152
|
network without an approved authentication and network access design.
|
|
153
153
|
- JSON request bodies are bounded.
|
|
154
154
|
- Serial capture and SSH operations are time-bounded. Windows serial capture
|
|
155
|
-
uses a bounded PowerShell `System.IO.Ports.SerialPort` helper in
|
|
156
|
-
runtime
|
|
155
|
+
uses a bounded PowerShell `System.IO.Ports.SerialPort` helper in the Go
|
|
156
|
+
runtime. The legacy TypeScript bridge path has been removed.
|
|
157
157
|
- Destructive operations must remain approval-gated.
|
|
158
158
|
|
|
159
159
|
## Runtime Requirements
|
package/dist/index.js
CHANGED
|
@@ -41,7 +41,7 @@ export function resolveBridgeBinary() {
|
|
|
41
41
|
const targetKey = `${platform()}-${arch()}`;
|
|
42
42
|
const target = TARGETS[targetKey];
|
|
43
43
|
if (!target) {
|
|
44
|
-
throw new Error(`
|
|
44
|
+
throw new Error(`EmbedLabs Local Bridge does not provide a native binary for ${targetKey}. Supported targets: ${Object.keys(TARGETS).join(", ")}.`);
|
|
45
45
|
}
|
|
46
46
|
const packagedBinary = resolvePackagedBinary(target);
|
|
47
47
|
if (packagedBinary) {
|
|
@@ -52,7 +52,7 @@ export function resolveBridgeBinary() {
|
|
|
52
52
|
return repoBinary;
|
|
53
53
|
}
|
|
54
54
|
throw new Error([
|
|
55
|
-
`
|
|
55
|
+
`EmbedLabs Local Bridge native package is missing for ${targetKey}.`,
|
|
56
56
|
`Expected optional dependency ${target.packageName}.`,
|
|
57
57
|
"Reinstall without omitting optional dependencies:",
|
|
58
58
|
" npm install",
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kvell007/embed-labs-local-bridge",
|
|
3
|
-
"version": "0.1.0-alpha.
|
|
4
|
-
"description": "Local
|
|
3
|
+
"version": "0.1.0-alpha.99",
|
|
4
|
+
"description": "Go Local Bridge launcher for EmbedLabs local hardware inventory and board workflows. Experimental npm publish.",
|
|
5
5
|
"private": false,
|
|
6
6
|
"type": "module",
|
|
7
7
|
"main": "dist/index.js",
|
|
@@ -18,11 +18,11 @@
|
|
|
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-arm64": "npm:@kvell007/embed-labs-local-bridge-win32-arm64@0.1.0-alpha.
|
|
25
|
-
"@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.99",
|
|
22
|
+
"@embed-labs/local-bridge-linux-arm64": "npm:@kvell007/embed-labs-local-bridge-linux-arm64@0.1.0-alpha.99",
|
|
23
|
+
"@embed-labs/local-bridge-linux-x64": "npm:@kvell007/embed-labs-local-bridge-linux-x64@0.1.0-alpha.99",
|
|
24
|
+
"@embed-labs/local-bridge-win32-arm64": "npm:@kvell007/embed-labs-local-bridge-win32-arm64@0.1.0-alpha.99",
|
|
25
|
+
"@embed-labs/local-bridge-win32-x64": "npm:@kvell007/embed-labs-local-bridge-win32-x64@0.1.0-alpha.99"
|
|
26
26
|
},
|
|
27
27
|
"publishConfig": {
|
|
28
28
|
"access": "public",
|