@agnishc/edb-context-viewer 0.12.0 → 0.13.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 CHANGED
@@ -1,5 +1,10 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.13.0] - 2026-05-22
4
+
5
+ ### Changed
6
+ - Renamed `/context-viewer` command → `/context`
7
+
3
8
  ## [0.12.0] - 2026-05-22
4
9
 
5
10
  ### Changed
package/README.md CHANGED
@@ -5,7 +5,7 @@ Pi CLI extension for inspecting the full LLM context. A single command opens a t
5
5
  ## Command
6
6
 
7
7
  ```
8
- /context-viewer
8
+ /context
9
9
  ```
10
10
 
11
11
  Opens a tabbed overlay with five views you can navigate using `Tab` / `Shift+Tab`.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agnishc/edb-context-viewer",
3
- "version": "0.12.0",
3
+ "version": "0.13.0",
4
4
  "description": "Pi extension: inspect the system prompt and full LLM context in scrollable overlay popups",
5
5
  "keywords": [
6
6
  "pi-package",
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-viewer — opens a tabbed overlay with:
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-viewer", {
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;
@@ -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-viewer.")}`,
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;