@agnishc/edb-context-viewer 0.12.0 → 0.14.0
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/CHANGELOG.md +5 -0
- package/README.md +1 -1
- package/package.json +1 -1
- package/src/index.ts +2 -2
- package/src/stats-tab-content.ts +1 -1
package/CHANGELOG.md
CHANGED
package/README.md
CHANGED
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Single command for inspecting the full LLM context in a tabbed overlay:
|
|
5
5
|
*
|
|
6
|
-
* /context
|
|
6
|
+
* /context — opens a tabbed overlay with:
|
|
7
7
|
* [Stats] token distribution grid + category breakdown
|
|
8
8
|
* [System] full system prompt (scrollable)
|
|
9
9
|
* [Tools] active tool definitions (scrollable)
|
|
@@ -312,7 +312,7 @@ const OVERLAY_OPTIONS = {
|
|
|
312
312
|
// ── Extension ──────────────────────────────────────────────────────────────────
|
|
313
313
|
|
|
314
314
|
export default function contextViewerExtension(pi: ExtensionAPI): void {
|
|
315
|
-
pi.registerCommand("context
|
|
315
|
+
pi.registerCommand("context", {
|
|
316
316
|
description: "Inspect context usage, system prompt, tools, messages, and full LLM context in a tabbed overlay",
|
|
317
317
|
handler: async (_args: string, ctx: ExtensionCommandContext) => {
|
|
318
318
|
if (!ctx.hasUI) return;
|
package/src/stats-tab-content.ts
CHANGED
|
@@ -150,7 +150,7 @@ export class StatsTabContent implements TabContent {
|
|
|
150
150
|
const lines: string[] = [
|
|
151
151
|
"",
|
|
152
152
|
` ${th.fg("warning", "No context usage data available.")}`,
|
|
153
|
-
` ${th.fg("dim", "Send a message first, then re-open /context
|
|
153
|
+
` ${th.fg("dim", "Send a message first, then re-open /context.")}`,
|
|
154
154
|
];
|
|
155
155
|
while (lines.length < height) lines.push("");
|
|
156
156
|
return lines;
|