@hienlh/ppm 0.11.13 → 0.11.15
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 +11 -0
- package/dist/web/assets/{audio-preview-BvgcrGbQ.js → audio-preview-DUTDkh1f.js} +1 -1
- package/dist/web/assets/{chat-tab-BznTVMoa.js → chat-tab-Cf1vTYcj.js} +9 -9
- package/dist/web/assets/{code-editor-DobBqV6s.js → code-editor-CggfXtFW.js} +2 -2
- package/dist/web/assets/{conflict-editor-sH0ngkMp.js → conflict-editor-iWOABkhf.js} +1 -1
- package/dist/web/assets/{database-viewer-CExYBaSw.js → database-viewer-DX9f9NyY.js} +1 -1
- package/dist/web/assets/{diff-viewer-B3hk-GCU.js → diff-viewer-B1Xncm02.js} +1 -1
- package/dist/web/assets/{extension-webview-BofKCLlN.js → extension-webview-8b_CTllD.js} +2 -2
- package/dist/web/assets/{image-preview-DIRhNXRg.js → image-preview-s7xusRYU.js} +1 -1
- package/dist/web/assets/index-B0V_IYbX.css +2 -0
- package/dist/web/assets/index-B6mI0Eg3.js +23 -0
- package/dist/web/assets/{markdown-renderer-DthjF1EM.js → markdown-renderer-DXOnDF6-.js} +1 -1
- package/dist/web/assets/{pdf-preview-CeKNu2YO.js → pdf-preview-CnmUqDwC.js} +1 -1
- package/dist/web/assets/{port-forwarding-tab-DeupnZEu.js → port-forwarding-tab-CbWeIeKi.js} +1 -1
- package/dist/web/assets/{postgres-viewer-o_X5rcfk.js → postgres-viewer-CSReoBEH.js} +1 -1
- package/dist/web/assets/{settings-tab-i8KvbzER.js → settings-tab-C8B1XEJW.js} +1 -1
- package/dist/web/assets/{sqlite-viewer-DqUB0Ay9.js → sqlite-viewer-DnPhLsuv.js} +1 -1
- package/dist/web/assets/{terminal-tab-COozElr2.js → terminal-tab-CEH5Ymjy.js} +1 -1
- package/dist/web/assets/use-blob-url-BSltfg79.js +1 -0
- package/dist/web/assets/{video-preview-DRmHpcT4.js → video-preview-BbCZ9v-V.js} +1 -1
- package/dist/web/index.html +2 -2
- package/dist/web/sw.js +1 -1
- package/package.json +1 -1
- package/src/web/components/chat/message-list.tsx +34 -3
- package/src/web/components/editor/use-blob-url.ts +6 -2
- package/src/web/components/extensions/extension-webview.tsx +6 -1
- package/src/web/hooks/use-extension-ws.ts +25 -2
- package/dist/web/assets/index-CBJpHXBr.js +0 -23
- package/dist/web/assets/index-FKwHNxD8.css +0 -2
- package/dist/web/assets/use-blob-url-BK7zshV7.js +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,16 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.11.15] - 2026-04-20
|
|
4
|
+
|
|
5
|
+
### Fixed
|
|
6
|
+
- **Slash command display in chat**: Parse `<command-message>/<command-name>/<command-args>` XML tags and render as styled chip instead of raw text
|
|
7
|
+
- **Extension tab auto-reopen**: Track recently closed extension viewTypes to prevent auto-reopen when extension sends `webview:create` after user intentionally closed the tab
|
|
8
|
+
|
|
9
|
+
## [0.11.14] - 2026-04-20
|
|
10
|
+
|
|
11
|
+
### Fixed
|
|
12
|
+
- **External file preview (image/PDF/video/audio)**: Files opened from filesystem search (e.g. `/tmp/`) now load correctly — `useBlobUrl` routes absolute paths through `/api/fs/raw` instead of project-scoped endpoint that returned 403
|
|
13
|
+
|
|
3
14
|
## [0.11.13] - 2026-04-20
|
|
4
15
|
|
|
5
16
|
### Fixed
|
|
@@ -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{N 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-BwzaQ50n.js";import"./api-client-Bn-Pi9k5.js";import{t as r}from"./utils-CTg5uAYR.js";import{N as i}from"./index-B6mI0Eg3.js";import{t as a}from"./use-blob-url-BSltfg79.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};
|