@teneo-protocol/cli 2.0.43 → 2.0.44
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.mjs +3 -2
- package/package.json +1 -1
package/install.mjs
CHANGED
|
@@ -114,8 +114,9 @@ try {
|
|
|
114
114
|
);
|
|
115
115
|
log("Pre-compiled to teneo.mjs and daemon.mjs");
|
|
116
116
|
|
|
117
|
-
// Create bash wrapper
|
|
118
|
-
|
|
117
|
+
// Create bash wrapper without changing the caller's working directory.
|
|
118
|
+
// This keeps relative paths like `agent deploy .` pointed at the user's agent folder.
|
|
119
|
+
const wrapper = `#!/bin/bash\nexec node "${join(INSTALL_DIR, "teneo.mjs")}" "$@"\n`;
|
|
119
120
|
writeFileSync(join(INSTALL_DIR, "teneo"), wrapper);
|
|
120
121
|
chmodSync(join(INSTALL_DIR, "teneo"), 0o755);
|
|
121
122
|
log("Created wrapper script");
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@teneo-protocol/cli",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.44",
|
|
4
4
|
"description": "Install the Teneo Protocol CLI to discover and query network agents, auto-pay them in USDC via x402, and deploy your own agents from coding assistants",
|
|
5
5
|
"bin": {
|
|
6
6
|
"teneo-cli": "./install.mjs"
|