agent-dag 1.35.36 → 1.35.37
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
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
document.documentElement.setAttribute("data-theme", stored === "light" ? "light" : "dark");
|
|
41
41
|
})();
|
|
42
42
|
</script>
|
|
43
|
-
<script type="module" crossorigin src="/assets/index-
|
|
43
|
+
<script type="module" crossorigin src="/assets/index-D3lAhQCi.js"></script>
|
|
44
44
|
<link rel="stylesheet" crossorigin href="/assets/index-C2ruFt14.css">
|
|
45
45
|
</head>
|
|
46
46
|
<body>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "agent-dag",
|
|
3
|
-
"version": "1.35.
|
|
3
|
+
"version": "1.35.37",
|
|
4
4
|
"description": "Live deck of Claude Code and Codex agents — watch tool calls, token spend and every Claude Code subagent on one calm canvas. Also available as npx ccdeck and npx agent-dag.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
package/src/server/index.mjs
CHANGED
|
@@ -152,7 +152,18 @@ const transcriptScans = new Map(); // path -> scan state
|
|
|
152
152
|
const transcriptScanInFlight = new Map(); // path -> in-progress scan promise
|
|
153
153
|
const MAX_TRANSCRIPT_SCANS = 256; // bound the per-path state
|
|
154
154
|
|
|
155
|
-
|
|
155
|
+
// The transcript's `message.model`, and the only filter standing between it and
|
|
156
|
+
// every model the deck shows. Bedrock and Mantle put a provider namespace in
|
|
157
|
+
// front of the id — `us.anthropic.claude-opus-5`, `anthropic.claude-opus-5` —
|
|
158
|
+
// so a bare `^claude` dropped every line a Bedrock session writes and the deck
|
|
159
|
+
// showed those users no model, no context window and no cost at all (#475).
|
|
160
|
+
//
|
|
161
|
+
// The prefix list is `VENDOR_PREFIX_RE` in src/web/model-id.ts, written out a
|
|
162
|
+
// second time here rather than imported: this file is plain .mjs that node runs
|
|
163
|
+
// straight off disk with no build step, so it cannot reach a `.ts` module.
|
|
164
|
+
// bedrock-model-ids.test.ts sweeps both against one list of ids so the copies
|
|
165
|
+
// cannot drift apart.
|
|
166
|
+
const MODEL_ID_RE = /^(?:(?:us-gov|global|apac|us|eu|jp|au)\.anthropic\.|anthropic\.)?claude[-_]/i;
|
|
156
167
|
const USAGE_BLOCK_RE = /"usage"\s*:\s*\{([^}]+)\}/g;
|
|
157
168
|
// CC `/clear` and `/compact` write a marker into the transcript and reset the
|
|
158
169
|
// context window to ~0 while the JSONL keeps growing — everything before the
|