@ascenda-one/agent-mcp 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.
Files changed (2) hide show
  1. package/dist/cli.js +13 -1
  2. package/package.json +1 -1
package/dist/cli.js CHANGED
@@ -482,6 +482,11 @@ var require_metricKeys = __commonJS({
482
482
  unit: "tokens",
483
483
  note: "The measured quantity, with no assumed denominator. Prefer this to the ratio for any within-person baseline."
484
484
  },
485
+ contextWindowTokens: {
486
+ readBy: ["handoff"],
487
+ unit: "tokens",
488
+ 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."
489
+ },
485
490
  date: { readBy: ["handoff"] },
486
491
  errorCount: { readBy: ["handoff"] },
487
492
  filesChangedCount: { readBy: ["handoff"] },
@@ -565,6 +570,10 @@ var require_metricKeys = __commonJS({
565
570
  unparsedLines: { readBy: ["diagnostic"] },
566
571
  unreadableChatSessionFiles: { readBy: ["diagnostic"] },
567
572
  unreadableHistoryFiles: { readBy: ["diagnostic"] },
573
+ unreadableRolloutFiles: {
574
+ readBy: ["diagnostic"],
575
+ 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."
576
+ },
568
577
  unrecognisedChatSessionFiles: { readBy: ["diagnostic"] }
569
578
  };
570
579
  function backendMetricKeys() {
@@ -2639,7 +2648,10 @@ var require_hookAdapter = __commonJS({
2639
2648
  toolInstallationId,
2640
2649
  eventWriteToken,
2641
2650
  tokenFilePath,
2642
- sessionId: process.env.ASCENDA_SESSION_ID ?? sessionIdFromHook ?? null,
2651
+ // An empty ASCENDA_SESSION_ID is "unset", not "override with nothing":
2652
+ // read raw, `ASCENDA_SESSION_ID=""` beat a real hook session and shipped
2653
+ // an empty string, grouping unrelated rows under a value naming no session.
2654
+ sessionId: process.env.ASCENDA_SESSION_ID?.trim() || sessionIdFromHook || null,
2643
2655
  workspaceHash: contextHashes.workspaceHash,
2644
2656
  projectHash: contextHashes.projectHash,
2645
2657
  // Agents await command hooks; fail fast rather than stall the user's turn.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "publishConfig": { "access": "public" },
3
3
  "name": "@ascenda-one/agent-mcp",
4
- "version": "0.1.16",
4
+ "version": "0.1.17",
5
5
  "description": "MCP server exposing ascenda_emit_work_signal — the one submission interface for agent-observed (semantic) work-friction signals.",
6
6
  "repository": {
7
7
  "type": "git",