@hienlh/ppm 0.13.4 → 0.13.5
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 +6 -0
- package/assets/skills/ppm/SKILL.md +1 -1
- package/assets/skills/ppm/references/http-api.md +1 -1
- package/dist/web/assets/{audio-preview-BSAe2WQB.js → audio-preview-BdRw2cYi.js} +1 -1
- package/dist/web/assets/{chat-tab-UFEFOnpl.js → chat-tab-C2NBEXEX.js} +7 -7
- package/dist/web/assets/{code-editor-BJ1tSNWA.js → code-editor-BhmUC3pD.js} +2 -2
- package/dist/web/assets/{conflict-editor-CrgrMZ2F.js → conflict-editor-Br_CSQdA.js} +1 -1
- package/dist/web/assets/{database-viewer-e_NAkIL_.js → database-viewer-CbIMjroK.js} +1 -1
- package/dist/web/assets/{diff-viewer-C2eOczTs.js → diff-viewer-oq0RiOpV.js} +1 -1
- package/dist/web/assets/{extension-webview-B95nOfj-.js → extension-webview-DxP22X_y.js} +1 -1
- package/dist/web/assets/{image-preview-DAuPOzYl.js → image-preview-yX0yZtyd.js} +1 -1
- package/dist/web/assets/{index-DSOP0R0s.css → index-BJ76xcQz.css} +1 -1
- package/dist/web/assets/{index-DJOjXTcq.js → index-DJQJu6Ef.js} +3 -3
- package/dist/web/assets/keybindings-store-zxSQXdFL.js +1 -0
- package/dist/web/assets/{markdown-renderer-DwINRWo4.js → markdown-renderer-DHD3HPwK.js} +1 -1
- package/dist/web/assets/{pdf-preview-CqoQE09t.js → pdf-preview-BlRtar7G.js} +1 -1
- package/dist/web/assets/{port-forwarding-tab-De7qxkjp.js → port-forwarding-tab-DOYZIXHo.js} +1 -1
- package/dist/web/assets/{postgres-viewer-Dd6rLb8b.js → postgres-viewer-DM6b5mZl.js} +1 -1
- package/dist/web/assets/{settings-tab-BdTEumwU.js → settings-tab-JzeC-QC7.js} +1 -1
- package/dist/web/assets/{sqlite-viewer-Ccz2crvN.js → sqlite-viewer-IvosQxK2.js} +1 -1
- package/dist/web/assets/{terminal-tab-D7u7wsyb.js → terminal-tab-D4xxia2I.js} +1 -1
- package/dist/web/assets/{video-preview-BSDzqlzk.js → video-preview-ClY8ALGJ.js} +1 -1
- package/dist/web/index.html +2 -2
- package/dist/web/sw.js +1 -1
- package/package.json +1 -1
- package/src/server/routes/chat.ts +2 -1
- package/src/services/jsonl-transcript-parser.ts +10 -1
- package/src/services/supervisor.ts +35 -35
- package/src/web/components/chat/message-list.tsx +49 -2
- package/src/web/components/layout/draggable-tab.tsx +1 -1
- package/src/web/hooks/use-chat.ts +8 -1
- package/dist/web/assets/keybindings-store-V12kZZHO.js +0 -1
- package/docs/journals/2026-04-22-compare-files-feature-ship.md +0 -53
package/CHANGELOG.md
CHANGED
|
@@ -1,8 +1,14 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.13.5] - 2026-04-22
|
|
4
|
+
|
|
5
|
+
### Fixed
|
|
6
|
+
- **Tunnel URL changes shortly after upgrade (WSL/systemd)**: Adopted tunnel was dying ~10-15s after old supervisor exited during self-replace upgrade, forcing a tunnel respawn with a new trycloudflare URL. Root cause: `Bun.spawn(..., { stderr: "pipe" })` tied cloudflared's stderr to a pipe held by the *old* supervisor; when that supervisor exited, the pipe's read-end closed and cloudflared received `SIGPIPE` on its next periodic log write (typical cadence ~10-15s). `systemd-run --scope` wrapping did NOT protect against this because `--scope` inherits stdio from the invoker. Fix: redirect cloudflared stderr to `~/.ppm/cloudflared.log` (file fd, not pipe). URL extraction polls the file instead of reading the pipe stream. Tunnel now survives parent exit cleanly — adopted URL persists across upgrades
|
|
7
|
+
|
|
3
8
|
## [0.13.4] - 2026-04-22
|
|
4
9
|
|
|
5
10
|
### Fixed
|
|
11
|
+
- **Expand compact duplicated post-compact messages + scrollbar jumped**: Claude's compact summary references the CURRENT session JSONL (pre+summary+post in one file), so parsing the whole file and prepending re-inserted the compact marker and every post-compact message. Frontend now sends the compact message's raw uuid as `&before=<uuid>`; `parseJsonlTranscript` stops at that line (exclusive) so only pre-compact messages return. For nested expansions, the `pc-{hash}-` prefix is stripped before sending so the recursive boundary resolves correctly. Also added a manual scroll anchor — `ScrollAnchorBridge` captures `scrollTop`+`scrollHeight` before the prepend and restores `scrollTop + (newHeight - oldHeight)` after the commit (skipped when user is at bottom so `use-stick-to-bottom` retains control). Replaces the CSS `overflow-anchor: auto` fallback which was unreliable on large prepends
|
|
6
12
|
- **Command palette: `.git` files leaked into results + `.env` was missing**: Two compounding bugs. (1) Glob regex treated `**/X` as requiring at least one parent segment, so hardcoded `**/.git` exclude silently failed at repo root — users searching for e.g. `refs` got flooded with `.git/refs/heads/...` entries. (2) Gitignore logic hard-excluded all ignored paths, so `.env` never reached the index. Fix:
|
|
7
13
|
- `globPatternToRegex`: detect `**/` prefix, emit `(^|.*/)X(/|$)` so root-level matches work
|
|
8
14
|
- `walkForIndex`: soft-exclude gitignored FILES (surface with `isIgnored: true` flag), hard-exclude gitignored DIRECTORIES (skip recursion to avoid walking huge dirs)
|
|
@@ -71,4 +71,4 @@ This skill covers the `ppm` CLI, its HTTP API, and its config DB. It does **not*
|
|
|
71
71
|
- Third-party extensions (inspect via `ppm ext list`).
|
|
72
72
|
- The Claude Agent SDK internals (separate skill).
|
|
73
73
|
|
|
74
|
-
<!-- Generated for PPM v0.13.
|
|
74
|
+
<!-- Generated for PPM v0.13.5 at build time. Re-run `ppm export skill --install` to refresh. -->
|
|
@@ -201,4 +201,4 @@ _Base URL: `http://localhost:8080` (default; override via `ppm config set port <
|
|
|
201
201
|
- `ws://<host>/ws/terminal` — PTY terminal multiplexer
|
|
202
202
|
- `ws://<host>/ws/extensions` — extension host channel
|
|
203
203
|
|
|
204
|
-
<!-- Generated from src/server/routes/ for PPM v0.13.
|
|
204
|
+
<!-- Generated from src/server/routes/ for PPM v0.13.5 -->
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{b as e}from"./vendor-markdown-0Mxgxy0L.js";import{t}from"./createLucideIcon-BjHrJDVb.js";import{t as n}from"./file-exclamation-point-Baz81y5z.js";import"./api-client-r4nyVy7H.js";import{t as r}from"./utils-ChWX7pZv.js";import{U as i}from"./index-
|
|
1
|
+
import{b as e}from"./vendor-markdown-0Mxgxy0L.js";import{t}from"./createLucideIcon-BjHrJDVb.js";import{t as n}from"./file-exclamation-point-Baz81y5z.js";import"./api-client-r4nyVy7H.js";import{t as r}from"./utils-ChWX7pZv.js";import{U as i}from"./index-DJQJu6Ef.js";import{t as a}from"./use-blob-url-BgxxT-n_.js";var o=t(`music`,[[`path`,{d:`M9 18V5l12-2v13`,key:`1jmyc2`}],[`circle`,{cx:`6`,cy:`18`,r:`3`,key:`fqmcym`}],[`circle`,{cx:`18`,cy:`16`,r:`3`,key:`1hluhg`}]]),s=e();function c({filePath:e,projectName:t}){let{blobUrl:c,error:l}=a(e,t);return l?(0,s.jsxs)(`div`,{className:`flex flex-col items-center justify-center h-full gap-3 text-text-secondary`,children:[(0,s.jsx)(n,{className:`size-10 text-text-subtle`}),(0,s.jsx)(`p`,{className:`text-sm`,children:`Failed to load audio.`})]}):c?(0,s.jsxs)(`div`,{className:`flex flex-col items-center justify-center h-full gap-4 p-4 bg-surface`,children:[(0,s.jsx)(o,{className:`size-16 text-text-subtle`}),(0,s.jsx)(`p`,{className:`text-sm text-text-secondary truncate max-w-xs`,children:r(e)}),(0,s.jsx)(`audio`,{src:c,controls:!0,className:`w-full max-w-md`})]}):(0,s.jsx)(`div`,{className:`flex items-center justify-center h-full`,children:(0,s.jsx)(i,{className:`size-5 animate-spin text-text-subtle`})})}export{c as AudioPreview};
|