@hienlh/ppm 0.11.7 → 0.11.9

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 (33) hide show
  1. package/CHANGELOG.md +18 -0
  2. package/dist/web/assets/{audio-preview--VaB403K.js → audio-preview-DklYMLn9.js} +1 -1
  3. package/dist/web/assets/{chat-tab-DS455Mwt.js → chat-tab-D8jTquKg.js} +8 -8
  4. package/dist/web/assets/code-editor-b_XM6ZCA.js +8 -0
  5. package/dist/web/assets/{conflict-editor-DTMT0ZxI.js → conflict-editor-B0doehdT.js} +1 -1
  6. package/dist/web/assets/{database-viewer-B7aIs1XX.js → database-viewer-BOy1odBI.js} +2 -2
  7. package/dist/web/assets/{diff-viewer-C9unqCxZ.js → diff-viewer-BIpHr-Qa.js} +1 -1
  8. package/dist/web/assets/{extension-webview-DUs8mqO_.js → extension-webview-BISaL10b.js} +1 -1
  9. package/dist/web/assets/{image-preview-CoiyMXuX.js → image-preview-BK7gTzfW.js} +1 -1
  10. package/dist/web/assets/index-CaIM2BmJ.js +23 -0
  11. package/dist/web/assets/index-DYi59ytw.css +2 -0
  12. package/dist/web/assets/{markdown-renderer-4LYdtPZU.js → markdown-renderer-B2-O-_b9.js} +2 -2
  13. package/dist/web/assets/{pdf-preview-CFO6CjHG.js → pdf-preview-CAWtJtyh.js} +1 -1
  14. package/dist/web/assets/{port-forwarding-tab-DpoVwtlp.js → port-forwarding-tab-CgO2JZy8.js} +1 -1
  15. package/dist/web/assets/{postgres-viewer-Ku3X9rJQ.js → postgres-viewer-ByUqIYuz.js} +2 -2
  16. package/dist/web/assets/{settings-tab-l-SopAs4.js → settings-tab-CB1Zns46.js} +1 -1
  17. package/dist/web/assets/{sqlite-viewer-DzS8-nbv.js → sqlite-viewer-OUxK-Ssz.js} +1 -1
  18. package/dist/web/assets/{terminal-tab-ERPwhU5O.js → terminal-tab-D5zcIjmH.js} +1 -1
  19. package/dist/web/assets/{video-preview-BZenXc_U.js → video-preview-K0XoP6N-.js} +1 -1
  20. package/dist/web/index.html +2 -2
  21. package/dist/web/sw.js +1 -1
  22. package/package.json +1 -1
  23. package/src/services/autostart-generator.ts +2 -0
  24. package/src/services/supervisor.ts +12 -1
  25. package/src/web/components/layout/draggable-tab.tsx +7 -3
  26. package/src/web/components/layout/tab-bar.tsx +4 -0
  27. package/src/web/hooks/use-chat.ts +8 -0
  28. package/src/web/hooks/use-notification-badge.ts +39 -9
  29. package/src/web/lib/favicon.ts +23 -14
  30. package/src/web/stores/streaming-store.ts +23 -0
  31. package/dist/web/assets/code-editor-BsUsDjJz.js +0 -8
  32. package/dist/web/assets/index-B1GZswlR.js +0 -26
  33. package/dist/web/assets/index-C3ZstZ9f.css +0 -2
package/CHANGELOG.md CHANGED
@@ -1,5 +1,23 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.11.9] - 2026-04-19
4
+
5
+ ### Added
6
+ - **Streaming favicon indicator**: Favicon alternates between blue and amber when any chat tab is streaming an AI response; notification badge preserved during animation
7
+ - **Streaming tab icon indicator**: Chat tabs show a pulsing emerald dot on the icon while streaming, replacing the static notification badge during active streams
8
+
9
+ ## [0.11.8] - 2026-04-19
10
+
11
+ ### Fixed
12
+ - **Supervisor shutdown timeout**: Use SIGKILL for child processes instead of SIGTERM — prevents 90s systemd timeout caused by orphaned grandchildren (Claude SDK subprocesses)
13
+ - **Supervisor signal handler**: Add 5s force-exit safety net if `process.exit(0)` doesn't terminate
14
+ - **Tunnel retry overflow**: URL extraction failure path now respects MAX_RESTARTS and resets counter after stable window (previously retried infinitely)
15
+
16
+ ### Improved
17
+ - **Supervisor logging**: All supervisor logs now write to stderr so `journalctl` captures full lifecycle events
18
+ - **Tunnel exit logging**: Log exit code and signal when tunnel process dies for easier debugging
19
+ - **systemd service hardening**: Add `TimeoutStopSec=10` and `KillMode=mixed` to generated service unit
20
+
3
21
  ## [0.11.7] - 2026-04-19
4
22
 
5
23
  ### Added
@@ -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-BwzaQ50n.js";import"./api-client-Bn-Pi9k5.js";import{t as r}from"./utils-CTg5uAYR.js";import{M as i}from"./index-B1GZswlR.js";import{t as a}from"./use-blob-url-BK7zshV7.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};
1
+ import{b as e}from"./vendor-markdown-0Mxgxy0L.js";import{t}from"./createLucideIcon-BjHrJDVb.js";import{t as n}from"./file-exclamation-point-BwzaQ50n.js";import"./api-client-Bn-Pi9k5.js";import{t as r}from"./utils-CTg5uAYR.js";import{N as i}from"./index-CaIM2BmJ.js";import{t as a}from"./use-blob-url-BK7zshV7.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};