arisa 2.3.49 → 2.3.50

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "arisa",
3
- "version": "2.3.49",
3
+ "version": "2.3.50",
4
4
  "description": "Arisa - dynamic agent runtime with daemon/core architecture that evolves through user interaction",
5
5
  "keywords": [
6
6
  "tinyclaw",
@@ -289,16 +289,9 @@ async function isCliAuthenticated(cli: AgentCliName): Promise<boolean> {
289
289
  const exitCode = await proc.exited;
290
290
  return exitCode === 0 && stdout.includes('"loggedIn": true');
291
291
  }
292
- // Codex: has OPENAI_API_KEY or device-auth credentials
292
+ // Codex: needs OPENAI_API_KEY no reliable way to check device-auth
293
293
  if (cli === "codex") {
294
- if (process.env.OPENAI_API_KEY) return true;
295
- // device-auth stores config in ~/.codex/ — try a quick dry-run
296
- const cmd = buildBunWrappedAgentCliCommand("codex", ["--help"], { skipPreload: true });
297
- const proc = Bun.spawn(cmd, { stdout: "pipe", stderr: "pipe" });
298
- const stderr = await new Response(proc.stderr).text();
299
- await proc.exited;
300
- // If stderr mentions login/auth, not authenticated
301
- return !(/login|authenticate|OPENAI_API_KEY/i.test(stderr));
294
+ return !!(process.env.OPENAI_API_KEY);
302
295
  }
303
296
  return true;
304
297
  } catch {