@teneo-protocol/cli 2.0.43 → 2.0.45

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.
Files changed (2) hide show
  1. package/install.mjs +3 -2
  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 uses node directly (no tsx overhead)
118
- const wrapper = `#!/bin/bash\ncd ~/teneo-skill && exec node teneo.mjs "$@"\n`;
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.43",
3
+ "version": "2.0.45",
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"