arisa 2.3.45 → 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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "arisa",
3
- "version": "2.3.45",
3
+ "version": "2.3.47",
4
4
  "description": "Arisa - dynamic agent runtime with daemon/core architecture that evolves through user interaction",
5
5
  "keywords": [
6
6
  "tinyclaw",
@@ -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: no simple auth check, assume OK if installed
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;
@@ -341,7 +344,7 @@ async function runInteractiveLogin(cli: AgentCliName, vars: Record<string, strin
341
344
  // `claude setup-token` prints a token but does NOT store it.
342
345
  // Ask the user to paste it.
343
346
  if (cli === "claude") {
344
- console.log("\n Paste the token shown above (starts with sk-ant-):");
347
+ console.log("\n Paste the yellow token shown above (starts with sk-ant-):");
345
348
  const token = (await readLine(" > ")).trim();
346
349
  if (token.startsWith("sk-ant-") && token.length > 80) {
347
350
  vars.CLAUDE_CODE_OAUTH_TOKEN = token;