pi-context-map 0.4.0 → 0.4.3
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 +23 -9
- package/extensions/generator.ts +603 -670
- package/extensions/index.ts +110 -54
- package/extensions/live-server.ts +25 -8
- package/extensions/types/pi-coding-agent.d.ts +100 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,14 +1,28 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
-
## [0.4.
|
|
4
|
-
###
|
|
5
|
-
- **
|
|
6
|
-
- **
|
|
7
|
-
- **
|
|
8
|
-
- **
|
|
9
|
-
- **
|
|
10
|
-
- **
|
|
11
|
-
- **
|
|
3
|
+
## [0.4.3] - 2026-06-15
|
|
4
|
+
### Apple-Inspired HTML Redesign
|
|
5
|
+
- **Complete visual overhaul**: Report now uses Apple design language — white canvas, Inter font (SF Pro substitute), Action Blue (#0066cc) accent, 18px card radius, pill-shaped inputs.
|
|
6
|
+
- **Usage ring**: SVG donut chart shows context window usage at a glance. Changes color when critical (>80%) or warning (>60%).
|
|
7
|
+
- **Stat tiles**: 4-column hairline-separated grid (Total Tokens, Files, Alerts, Window %).
|
|
8
|
+
- **Live badge**: Green pill indicator with pulsing dot shows when the live server is active.
|
|
9
|
+
- **Cleaner file cards**: 14px radius, thin border, hover turns accent blue. Status chips with semantic colors.
|
|
10
|
+
- **Rounded search/filter**: Pill-shaped search input (44px height) and filter dropdown.
|
|
11
|
+
- **Responsive layout**: Adapts to mobile with 2-column stats and single-column files.
|
|
12
|
+
- **Inter font**: Loaded from Google Fonts for professional typography on all platforms.
|
|
13
|
+
|
|
14
|
+
## [0.4.2] - 2026-06-15
|
|
15
|
+
### Silent Boot & Cleanup
|
|
16
|
+
- **Removed boot messages**: All console.log startup lines removed from `live-server.ts` and `index.ts`. Extension loads silently.
|
|
17
|
+
|
|
18
|
+
## [0.4.1] - 2026-06-15
|
|
19
|
+
### Critical Fix & Test Suite
|
|
20
|
+
- **Fixed CRASH**: `(pi as any).session?.messages` → now uses event-based message accumulation. `/context-map` no longer crashes with "Cannot read properties of undefined (reading 'messages')".
|
|
21
|
+
- **Fixed Tool Signature**: `registerTool` now uses correct `execute(params, signal, onUpdate, ctx)` signature.
|
|
22
|
+
- **Fixed Import Path**: Uses `pi-coding-agent` (unscoped) instead of `@earendil-works/pi-coding-agent`.
|
|
23
|
+
- **Test Suite**: 34 tests across 5 suites (analyzer, token-counter, insights, generator, live-server).
|
|
24
|
+
- **Type Declarations**: Proper `pi-coding-agent.d.ts` with `ToolDefinition`, `ExtensionCommandContext`, `ExtensionContext`.
|
|
25
|
+
- **Build Clean**: TypeScript strict mode passes with zero errors.
|
|
12
26
|
|
|
13
27
|
## [0.3.1] - 2026-06-14
|
|
14
28
|
### Design & Interactivity Upgrade
|