@binoctal/open-agents-bridge 0.1.0 → 0.3.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/install.js +2 -2
- package/package.json +2 -2
- package/run.js +1 -1
package/install.js
CHANGED
|
@@ -6,7 +6,7 @@ const { execSync } = require("child_process");
|
|
|
6
6
|
|
|
7
7
|
const REPO_OWNER = "binoctal";
|
|
8
8
|
const REPO_NAME = "open-agents-bridge";
|
|
9
|
-
const BINARY_NAME = "open-agents";
|
|
9
|
+
const BINARY_NAME = "open-agents-bridge";
|
|
10
10
|
|
|
11
11
|
function getPlatform() {
|
|
12
12
|
const platform = os.platform();
|
|
@@ -176,7 +176,7 @@ async function install() {
|
|
|
176
176
|
fs.chmodSync(binaryPath, 0o755);
|
|
177
177
|
}
|
|
178
178
|
|
|
179
|
-
console.log(`Successfully installed open-agents ${release.tag_name}`);
|
|
179
|
+
console.log(`Successfully installed open-agents-bridge ${release.tag_name}`);
|
|
180
180
|
}
|
|
181
181
|
|
|
182
182
|
install().catch((err) => {
|
package/package.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@binoctal/open-agents-bridge",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.3.0",
|
|
4
4
|
"description": "Bridge CLI for Open Agents - connect your devices to the agent network",
|
|
5
5
|
"bin": {
|
|
6
|
-
"open-agents": "./run.js"
|
|
6
|
+
"open-agents-bridge": "./run.js"
|
|
7
7
|
},
|
|
8
8
|
"scripts": {
|
|
9
9
|
"postinstall": "node install.js"
|
package/run.js
CHANGED
|
@@ -5,7 +5,7 @@ const path = require("path");
|
|
|
5
5
|
const os = require("os");
|
|
6
6
|
|
|
7
7
|
const ext = os.platform() === "win32" ? ".exe" : "";
|
|
8
|
-
const binaryPath = path.join(__dirname, "bin", `open-agents${ext}`);
|
|
8
|
+
const binaryPath = path.join(__dirname, "bin", `open-agents-bridge${ext}`);
|
|
9
9
|
|
|
10
10
|
const child = spawn(binaryPath, process.argv.slice(2), {
|
|
11
11
|
stdio: "inherit",
|