agent-dag 1.33.25 → 1.33.26
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/dist/web/index.html
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
6
6
|
<title>agents-deck</title>
|
|
7
7
|
<link rel="icon" href="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Ctext y='84' font-size='84'%3E%E2%97%89%3C/text%3E%3C/svg%3E" />
|
|
8
|
-
<script type="module" crossorigin src="/assets/index-
|
|
8
|
+
<script type="module" crossorigin src="/assets/index-nJ-wQvVW.js"></script>
|
|
9
9
|
<link rel="stylesheet" crossorigin href="/assets/index-Cpi89XJ8.css">
|
|
10
10
|
</head>
|
|
11
11
|
<body>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "agent-dag",
|
|
3
|
-
"version": "1.33.
|
|
3
|
+
"version": "1.33.26",
|
|
4
4
|
"description": "Live deck of Claude Code and Codex agents — watch parallel subagents fork, call tools, and return on one calm canvas. Also available as npx ccdeck and npx agent-dag.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -237,7 +237,16 @@ export async function startLogin({ email } = {}) {
|
|
|
237
237
|
const url = await waitFor(() => flow.url, 15_000);
|
|
238
238
|
if (!url) {
|
|
239
239
|
child.kill();
|
|
240
|
-
|
|
240
|
+
// Same identity check as the done handler above, and for a sharper reason:
|
|
241
|
+
// a second startLogin cancels this one's child (the yield path at the top),
|
|
242
|
+
// so this url can never arrive and this wait always runs its full fifteen
|
|
243
|
+
// seconds. Overwriting _login then would erase a live flow — the dialog
|
|
244
|
+
// would flip to "failed" while the newer child is still waiting for a code
|
|
245
|
+
// that can no longer be delivered, and with its handle gone not even
|
|
246
|
+
// cancelLogin could reach it.
|
|
247
|
+
if (flow === _login) {
|
|
248
|
+
_login = { state: "failed", error: "the claude CLI did not print a sign-in link" };
|
|
249
|
+
}
|
|
241
250
|
return { ok: false, reason: "no_url", ...loginState() };
|
|
242
251
|
}
|
|
243
252
|
return { ok: true, ...loginState() };
|