claude-overnight 1.24.6 → 1.24.8

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.
@@ -1 +1 @@
1
- export declare const VERSION = "1.24.6";
1
+ export declare const VERSION = "1.24.8";
package/dist/_version.js CHANGED
@@ -1,2 +1,2 @@
1
1
  // Auto-generated by build — do not edit manually.
2
- export const VERSION = "1.24.6";
2
+ export const VERSION = "1.24.8";
package/dist/providers.js CHANGED
@@ -617,12 +617,21 @@ async function startProxyProcess(baseUrl, url, port) {
617
617
  catch {
618
618
  cliResolved = composerCli;
619
619
  }
620
+ const bridgeKey = apiKeyEnv || apiKeyStored || "unused";
620
621
  const proxyEnv = {
621
622
  ...Object.fromEntries(Object.entries(process.env).filter(([, v]) => v !== undefined)),
622
623
  CI: "true",
623
- CURSOR_BRIDGE_API_KEY: apiKeyEnv || apiKeyStored || "unused",
624
+ CURSOR_BRIDGE_API_KEY: bridgeKey,
624
625
  CURSOR_SKIP_KEYCHAIN: "1",
625
626
  };
627
+ // cursor-composer-in-claude passes CURSOR_API_KEY / CURSOR_AUTH_TOKEN to the agent only from
628
+ // these vars — not from CURSOR_BRIDGE_API_KEY. Without them the Cursor CLI falls back to
629
+ // login/keychain (macOS dialogs, "cursor-user", hangs under preflight).
630
+ const explicitAgentKey = process.env.CURSOR_API_KEY?.trim() || process.env.CURSOR_AUTH_TOKEN?.trim();
631
+ if (!explicitAgentKey && bridgeKey !== "unused") {
632
+ proxyEnv.CURSOR_API_KEY = bridgeKey;
633
+ proxyEnv.CURSOR_AUTH_TOKEN = bridgeKey;
634
+ }
626
635
  if (sysNode && agentJs) {
627
636
  proxyEnv.CURSOR_AGENT_NODE = sysNode;
628
637
  proxyEnv.CURSOR_AGENT_SCRIPT = agentJs;
@@ -635,8 +644,13 @@ async function startProxyProcess(baseUrl, url, port) {
635
644
  cliPath: cliResolved,
636
645
  nodeExec: process.execPath,
637
646
  apiKey: keySource,
647
+ agentCursorKey: explicitAgentKey ? "env CURSOR_API_KEY or CURSOR_AUTH_TOKEN" : (bridgeKey === "unused" ? "none" : "mirrored from bridge key"),
638
648
  agentPaths: sysNode && agentJs ? { node: sysNode, script: agentJs } : undefined,
639
- childEnv: { CI: proxyEnv.CI, CURSOR_SKIP_KEYCHAIN: proxyEnv.CURSOR_SKIP_KEYCHAIN },
649
+ childEnv: {
650
+ CI: proxyEnv.CI,
651
+ CURSOR_SKIP_KEYCHAIN: proxyEnv.CURSOR_SKIP_KEYCHAIN,
652
+ CURSOR_API_KEY: proxyEnv.CURSOR_API_KEY ? "(set)" : "(unset)",
653
+ },
640
654
  },
641
655
  })));
642
656
  try {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "claude-overnight",
3
- "version": "1.24.6",
3
+ "version": "1.24.8",
4
4
  "description": "Background lane for your Claude Max plan. Parallel Claude Agent SDK sessions in git worktrees with a usage cap that reserves headroom for your interactive Claude Code. Crash-safe resume. Provider-agnostic model catalog with capability-based planning.",
5
5
  "type": "module",
6
6
  "bin": {
@@ -16,7 +16,7 @@
16
16
  "dependencies": {
17
17
  "@anthropic-ai/claude-agent-sdk": "^0.2.92",
18
18
  "chalk": "^5.4.1",
19
- "cursor-composer-in-claude": "0.7.7",
19
+ "cursor-composer-in-claude": "0.7.9",
20
20
  "jsonwebtoken": "^9.0.2"
21
21
  },
22
22
  "devDependencies": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "claude-overnight",
3
- "version": "1.24.6",
3
+ "version": "1.24.8",
4
4
  "description": "Claude Code skill for understanding, installing, and inspecting claude-overnight runs -- parallel Claude agents in git worktrees with thinking waves, multi-wave steering, and crash-safe resume. Supports Cursor API Proxy, Qwen, OpenRouter.",
5
5
  "author": {
6
6
  "name": "Francesco Fornace"