acp-kernel 0.0.68-pr.278.141 → 0.0.68

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/index.js CHANGED
@@ -3502,7 +3502,7 @@ function buildStatusReport(state, messages, countTokens, options = {}) {
3502
3502
  const limit = options.limit ?? 30;
3503
3503
  const activeBlocks2 = state.blocks.filter((b) => b.active).sort((a, b) => numericPart2(a.blockId) - numericPart2(b.blockId));
3504
3504
  if (scope === "compressed") {
3505
- return renderCompressedDrilldown(activeBlocks2, state, sort, limit, countTokens, options.meta);
3505
+ return renderCompressedDrilldown(activeBlocks2, state, sort, limit, countTokens);
3506
3506
  }
3507
3507
  const { visible, summaryTokens } = collectVisible(messages, state, countTokens);
3508
3508
  if (scope === "uncompressed") {
@@ -3511,20 +3511,10 @@ function buildStatusReport(state, messages, countTokens, options = {}) {
3511
3511
  }
3512
3512
  return renderUncompressedRanges(visible);
3513
3513
  }
3514
- return renderOverview(visible, summaryTokens, activeBlocks2, state, countTokens, limit, options.meta);
3514
+ return renderOverview(visible, summaryTokens, activeBlocks2, state, countTokens, limit);
3515
3515
  }
3516
- function surfaceLine(meta) {
3517
- if (!meta) return null;
3518
- const parts = [];
3519
- if (meta.pack) parts.push(`pack=${meta.pack}${meta.packVersion ? ` v${meta.packVersion}` : ""}`);
3520
- if (meta.host) parts.push(`host=${meta.host}`);
3521
- if (parts.length === 0) return null;
3522
- return `ACTIVE SURFACE: ${parts.join(" | ")}`;
3523
- }
3524
- function renderOverview(visible, summaryTokens, blocks, state, countTokens, limit, meta) {
3516
+ function renderOverview(visible, summaryTokens, blocks, state, countTokens, limit) {
3525
3517
  const lines = [];
3526
- const surface = surfaceLine(meta);
3527
- if (surface) lines.push(surface);
3528
3518
  const toolTypeMap = /* @__PURE__ */ new Map();
3529
3519
  for (const message of visible) {
3530
3520
  toolTypeMap.set(message.tool, (toolTypeMap.get(message.tool) ?? 0) + message.tokens);
@@ -3641,7 +3631,7 @@ function renderMessageDrilldown(visible, toolFilter, sort, limit) {
3641
3631
  }
3642
3632
  return lines.join("\n");
3643
3633
  }
3644
- function renderCompressedDrilldown(blocks, state, sort, limit, countTokens, meta) {
3634
+ function renderCompressedDrilldown(blocks, state, sort, limit, countTokens) {
3645
3635
  let sorted = [...blocks];
3646
3636
  if (sort === "time") sorted.sort((a, b) => a.createdAt - b.createdAt);
3647
3637
  else if (sort === "age") sorted.sort((a, b) => b.survivedCount - a.survivedCount);
@@ -3657,8 +3647,6 @@ function renderCompressedDrilldown(blocks, state, sort, limit, countTokens, meta
3657
3647
  const lines = [
3658
3648
  `COMPRESSED \u2014 ${sorted.length} blocks | ${formatTokens2(totalEffective)} original \u2192 ${formatTokens2(totalSummary)} summary`
3659
3649
  ];
3660
- const surface = surfaceLine(meta);
3661
- if (surface) lines.push(surface);
3662
3650
  const breakdown = tierBreakdown(sorted, countTokens);
3663
3651
  if (breakdown) lines.push(`Tier usage: ${breakdown}`);
3664
3652
  lines.push("");