open-agents-ai 0.103.13 → 0.103.14

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/dist/index.js +7 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -26739,6 +26739,7 @@ var init_expose = __esm({
26739
26739
  }
26740
26740
  /** Format connection info for display */
26741
26741
  formatConnectionInfo() {
26742
+ const endpointCmd = `/endpoint ${this._tunnelUrl ?? "<tunnel-url>"} --auth ${this._authKey}`;
26742
26743
  const lines = [];
26743
26744
  lines.push(` ${c2.green("\u25CF")} Expose gateway active`);
26744
26745
  lines.push(` ${c2.cyan("Backend".padEnd(12))} ${this._kind} (${this._targetUrl})`);
@@ -26746,9 +26747,14 @@ var init_expose = __esm({
26746
26747
  lines.push(` ${c2.cyan("Auth Key".padEnd(12))} ${c2.bold(this._authKey)}`);
26747
26748
  lines.push("");
26748
26749
  lines.push(` ${c2.dim("Remote users connect with:")}`);
26749
- lines.push(` ${c2.bold(`/endpoint ${this._tunnelUrl ?? "<tunnel-url>"} --auth ${this._authKey}`)}`);
26750
+ lines.push(` ${c2.bold(endpointCmd)}`);
26750
26751
  lines.push("");
26751
26752
  lines.push(` ${c2.yellow("!")} ${c2.dim("Keep this key secure \u2014 it grants full access to your models.")}`);
26753
+ if ((process.stdout.isTTY ?? false) && this._tunnelUrl) {
26754
+ const b64 = Buffer.from(endpointCmd).toString("base64");
26755
+ lines.push(`\x1B]52;c;${b64}\x07`);
26756
+ lines.push(` ${c2.dim("(copied to clipboard)")}`);
26757
+ }
26752
26758
  return lines.join("\n");
26753
26759
  }
26754
26760
  /** Format usage stats for display */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "open-agents-ai",
3
- "version": "0.103.13",
3
+ "version": "0.103.14",
4
4
  "description": "AI coding agent powered by open-source models (Ollama/vLLM) — interactive TUI with agentic tool-calling loop",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",