lumniverse 0.3.0 → 0.3.1

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.
@@ -387,6 +387,8 @@ export async function main(argv = process.argv.slice(2), env = process.env, { fe
387
387
  const got = await deviceLogin(consoleUrl, basename(dir), { fetchFn, sleep, open, browser: !o['no-browser'] });
388
388
  code = got.code;
389
389
  actor ||= got.actor_hint || null;
390
+ // The console says where its API is, unless this run was told already.
391
+ if (got.api_url && !o.url && !env.LUMNI_URL) url = String(got.api_url).replace(/\/+$/, '');
390
392
  ok('Connected in the browser');
391
393
  }
392
394
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lumniverse",
3
- "version": "0.3.0",
3
+ "version": "0.3.1",
4
4
  "description": "Run Lumni (the coordination layer for AI agents) in one command, connect agents to it, or try the demo.",
5
5
  "type": "module",
6
6
  "bin": {