arisa 2.3.46 → 2.3.47
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 +1 -1
- package/src/daemon/setup.ts +4 -1
package/package.json
CHANGED
package/src/daemon/setup.ts
CHANGED
|
@@ -289,7 +289,10 @@ 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:
|
|
292
|
+
// Codex: needs OPENAI_API_KEY
|
|
293
|
+
if (cli === "codex") {
|
|
294
|
+
return !!(process.env.OPENAI_API_KEY);
|
|
295
|
+
}
|
|
293
296
|
return true;
|
|
294
297
|
} catch {
|
|
295
298
|
return false;
|