@ascenda-one/cursor-hooks 0.1.16 → 0.1.17
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/cli.js +13 -1
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -478,6 +478,11 @@ var require_metricKeys = __commonJS({
|
|
|
478
478
|
unit: "tokens",
|
|
479
479
|
note: "The measured quantity, with no assumed denominator. Prefer this to the ratio for any within-person baseline."
|
|
480
480
|
},
|
|
481
|
+
contextWindowTokens: {
|
|
482
|
+
readBy: ["handoff"],
|
|
483
|
+
unit: "tokens",
|
|
484
|
+
note: "Codex only: the model_context_window the rollout itself recorded \u2014 the real denominator its contextWindowPeakPct was computed against. Claude Code records no window and its ratio assumes 200k; absent here means the store never said."
|
|
485
|
+
},
|
|
481
486
|
date: { readBy: ["handoff"] },
|
|
482
487
|
errorCount: { readBy: ["handoff"] },
|
|
483
488
|
filesChangedCount: { readBy: ["handoff"] },
|
|
@@ -561,6 +566,10 @@ var require_metricKeys = __commonJS({
|
|
|
561
566
|
unparsedLines: { readBy: ["diagnostic"] },
|
|
562
567
|
unreadableChatSessionFiles: { readBy: ["diagnostic"] },
|
|
563
568
|
unreadableHistoryFiles: { readBy: ["diagnostic"] },
|
|
569
|
+
unreadableRolloutFiles: {
|
|
570
|
+
readBy: ["diagnostic"],
|
|
571
|
+
note: "Codex only: rollout files the extractor meant to read and could not open. Summed into the import's read-failure warning, so a store that is partly unreadable says so rather than reporting a short window as the whole."
|
|
572
|
+
},
|
|
564
573
|
unrecognisedChatSessionFiles: { readBy: ["diagnostic"] }
|
|
565
574
|
};
|
|
566
575
|
function backendMetricKeys() {
|
|
@@ -2635,7 +2644,10 @@ var require_hookAdapter = __commonJS({
|
|
|
2635
2644
|
toolInstallationId,
|
|
2636
2645
|
eventWriteToken,
|
|
2637
2646
|
tokenFilePath,
|
|
2638
|
-
|
|
2647
|
+
// An empty ASCENDA_SESSION_ID is "unset", not "override with nothing":
|
|
2648
|
+
// read raw, `ASCENDA_SESSION_ID=""` beat a real hook session and shipped
|
|
2649
|
+
// an empty string, grouping unrelated rows under a value naming no session.
|
|
2650
|
+
sessionId: process.env.ASCENDA_SESSION_ID?.trim() || sessionIdFromHook || null,
|
|
2639
2651
|
workspaceHash: contextHashes.workspaceHash,
|
|
2640
2652
|
projectHash: contextHashes.projectHash,
|
|
2641
2653
|
// Agents await command hooks; fail fast rather than stall the user's turn.
|
package/package.json
CHANGED