pi-sdk-web 0.2.2 → 0.2.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.
Files changed (2) hide show
  1. package/dist/server.js +3 -1
  2. package/package.json +1 -1
package/dist/server.js CHANGED
@@ -251,7 +251,9 @@ export class PiWebServer {
251
251
  buildHistory() {
252
252
  try {
253
253
  return {
254
- entries: this.session.sessionManager.getEntries(),
254
+ // Match TUI's initial rendering: the current context view
255
+ // (compaction collapses older entries into a summary; branch-aware)
256
+ entries: this.session.sessionManager.buildContextEntries(),
255
257
  leafId: this.session.sessionManager.getLeafId(),
256
258
  };
257
259
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pi-sdk-web",
3
- "version": "0.2.2",
3
+ "version": "0.2.3",
4
4
  "description": "Browser Web access for Pi (AI coding agent) via the Pi SDK - standalone module, zero modification to Pi itself",
5
5
  "type": "module",
6
6
  "bin": {