open-agents-ai 0.184.12 → 0.184.13

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 +17 -0
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -47867,6 +47867,18 @@ async function handleSlashCommand(input, ctx) {
47867
47867
  ollamaUrl: "http://localhost:11434",
47868
47868
  availableRows: ctx.availableContentRows?.(),
47869
47869
  onGoLive: async (config) => {
47870
+ if (config.transport.libp2p) {
47871
+ try {
47872
+ const { NexusTool: NexusTool2 } = __require("@open-agents/execution");
47873
+ const nexus = new NexusTool2(projectDir);
47874
+ renderInfo("Connecting to nexus P2P mesh...");
47875
+ await nexus.execute({ action: "connect" });
47876
+ await new Promise((r) => setTimeout(r, 3e3));
47877
+ renderInfo("Nexus daemon connected.");
47878
+ } catch (err) {
47879
+ renderWarning(`Nexus auto-connect: ${err instanceof Error ? err.message : String(err)}`);
47880
+ }
47881
+ }
47870
47882
  if (config.transport.cloudflared && ctx.exposeStart) {
47871
47883
  try {
47872
47884
  const url = await ctx.exposeStart("ollama", void 0, "tunnel");
@@ -47899,6 +47911,11 @@ async function handleSlashCommand(input, ctx) {
47899
47911
  try {
47900
47912
  const { NexusTool: NexusTool2 } = __require("@open-agents/execution");
47901
47913
  const nexus = new NexusTool2(projectDir);
47914
+ try {
47915
+ await nexus.execute({ action: "connect" });
47916
+ } catch {
47917
+ }
47918
+ await new Promise((r) => setTimeout(r, 2e3));
47902
47919
  const tunnelGw = ctx.getExposeGateway?.();
47903
47920
  const enabledEps = config.endpoints.filter((e) => e.enabled);
47904
47921
  const allModels = enabledEps.flatMap((e) => e.models || []);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "open-agents-ai",
3
- "version": "0.184.12",
3
+ "version": "0.184.13",
4
4
  "description": "AI coding agent powered by open-source models (Ollama/vLLM) \u2014 interactive TUI with agentic tool-calling loop",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",