@hienlh/ppm 0.17.31 → 0.17.33
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 +16 -0
- package/assets/skills/ppm/SKILL.md +1 -1
- package/assets/skills/ppm/references/http-api.md +1 -1
- package/dist/web/assets/{ai-resource-editor-ByZApv3Y.js → ai-resource-editor-CZc98en9.js} +1 -1
- package/dist/web/assets/{audio-preview-izB0KGPQ.js → audio-preview-XkBaDV-d.js} +1 -1
- package/dist/web/assets/{chat-tab-CwWL5DbD.js → chat-tab-Cpxrbm1O.js} +6 -6
- package/dist/web/assets/{code-editor-Bx-Q27Nm.js → code-editor-DeqsPj8M.js} +2 -2
- package/dist/web/assets/{conflict-editor-B60UimS8.js → conflict-editor-CqORnyRu.js} +1 -1
- package/dist/web/assets/{csv-preview-BZv2SuCz.js → csv-preview-i79R-2TA.js} +1 -1
- package/dist/web/assets/{database-viewer-B5J_4lvX.js → database-viewer-ClrtBc_A.js} +1 -1
- package/dist/web/assets/{diff-viewer-DiytoNvX.js → diff-viewer-CWUjtM3T.js} +1 -1
- package/dist/web/assets/{docx-preview-CrjmF16z.js → docx-preview-CFjtBdLf.js} +1 -1
- package/dist/web/assets/{extension-webview-BSiQUxFD.js → extension-webview-DwRdXtK4.js} +1 -1
- package/dist/web/assets/{git-log-panel-Fb5EefXW.js → git-log-panel-DI_uaWVT.js} +1 -1
- package/dist/web/assets/{glide-data-grid-Cjve7mDb.js → glide-data-grid-Q2kMqNeo.js} +1 -1
- package/dist/web/assets/{group-chat-tab-DT0X7Cbz.js → group-chat-tab-2NJcUl_4.js} +1 -1
- package/dist/web/assets/{image-preview-BiVYVqa9.js → image-preview-QyeYNiJt.js} +1 -1
- package/dist/web/assets/{index-CuAijZGh.js → index-BI35sAVB.js} +4 -4
- package/dist/web/assets/{keybindings-store-sakq3gsF.js → keybindings-store-55cr_nFT.js} +1 -1
- package/dist/web/assets/{markdown-renderer-Cct9JHnx.js → markdown-renderer-ClDzjZ5T.js} +1 -1
- package/dist/web/assets/{markdown-renderer-BsKIIM83.js → markdown-renderer-DoofKFOC.js} +1 -1
- package/dist/web/assets/{notification-store-D4TsAnN3.js → notification-store-Bwzk7bz9.js} +1 -1
- package/dist/web/assets/panel-store-D-RxcUgH.js +1 -0
- package/dist/web/assets/{pdf-preview-B6G1QpE6.js → pdf-preview-Dd65pYcK.js} +1 -1
- package/dist/web/assets/{postgres-viewer-CdFu2Yj9.js → postgres-viewer-BAeRjowr.js} +1 -1
- package/dist/web/assets/{settings-tab-Dh3bD_dg.js → settings-tab-D_Vz5vjU.js} +1 -1
- package/dist/web/assets/{sql-query-editor-C8XXOY2R.js → sql-query-editor-RrxjEhFI.js} +1 -1
- package/dist/web/assets/{sqlite-viewer-B1eXvaLK.js → sqlite-viewer-DULpl_6h.js} +1 -1
- package/dist/web/assets/{system-monitor-tab-D2QcCXl1.js → system-monitor-tab-DHOIu_5Y.js} +1 -1
- package/dist/web/assets/{tab-store-ByORqglW.js → tab-store-CNxCwdXw.js} +1 -1
- package/dist/web/assets/{terminal-tab-D2-buBAQ.js → terminal-tab-B64jdELv.js} +1 -1
- package/dist/web/assets/{tool-cards-DDxShmxN.js → tool-cards-DT3R2C18.js} +2 -2
- package/dist/web/assets/{use-monaco-theme-DMlVAYKD.js → use-monaco-theme-Bf_8qog4.js} +1 -1
- package/dist/web/assets/{video-preview-Cg3A7vrt.js → video-preview-C-ZB6w-Z.js} +1 -1
- package/dist/web/index.html +3 -3
- package/dist/web/sw.js +1 -1
- package/package.json +1 -1
- package/src/server/routes/chat.ts +13 -4
- package/src/services/db.service.ts +36 -1
- package/src/services/session-branch.service.ts +43 -10
- package/src/services/slash-discovery/builtin-commands.ts +7 -3
- package/src/services/slash-discovery/index.ts +8 -1
- package/src/services/slash-discovery/sdk-commands.ts +126 -0
- package/src/services/slash-discovery/types.ts +5 -0
- package/src/shared/fuzzy-search.ts +37 -5
- package/src/web/components/chat/chat-tab.tsx +25 -5
- package/src/web/components/chat/slash-command-picker.tsx +2 -0
- package/src/web/components/layout/tab-bar.tsx +3 -3
- package/src/web/stores/dock-actions.ts +14 -4
- package/src/web/stores/panel-store.ts +8 -14
- package/dist/web/assets/panel-store-DsDZX8Mi.js +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.17.33] - 2026-08-27
|
|
4
|
+
|
|
5
|
+
### Added
|
|
6
|
+
- **Claude's own slash commands now show in the picker** — `/context`, `/init`, `/usage`, `/goal`, `/review` and the rest live inside the Claude CLI with no file on disk, so the picker never found them. They are now fetched from the SDK once per project.
|
|
7
|
+
- **`/clear` opens a new chat tab** — the SDK treats it as a no-op because session lifecycle belongs to the app. Any text after it becomes the tab title, and the chat it was cleared from is recorded.
|
|
8
|
+
|
|
9
|
+
### Fixed
|
|
10
|
+
- **Searching the slash picker ignored what you use most** — the unfiltered list was ordered by recent use, but typing reordered it alphabetically. Recent commands now stay on top, promoted just enough to beat an equally relevant match.
|
|
11
|
+
- **A terminal tab could not be closed from the editor grid** — closing it moved the terminal into the dock and pulled the dock open. Parking a live session is now only the explicit "Move to Dock" action.
|
|
12
|
+
- **The dock covered the whole screen on mobile after a reload** — a dock left open on desktop synced across and reopened as a full-height sheet. Restored dock state now starts collapsed on mobile.
|
|
13
|
+
|
|
14
|
+
## [0.17.32] - 2026-08-27
|
|
15
|
+
|
|
16
|
+
### Fixed
|
|
17
|
+
- **A forked chat and the chat it was forked from could not both appear in the history list** — the list showed one of the two and hid the other, and which one it hid kept changing: refresh after working in the fork and the original was gone, refresh after working in the original and the fork was gone. Pinning one of them brought both back, which was the only reliable way to reach either. Forking a chat and editing one of your earlier messages both create a new chat behind the scenes, and the history list deliberately folds the versions of an edited message into a single row, so that revising one message five times does not leave five near-identical rows behind. The two kinds were not being told apart, so a fork — a separate conversation you opened in its own tab on purpose — was folded in as though it were just another version of an edited message, and only whichever of the pair had been written to most recently survived the fold. A fork is now recorded as a conversation in its own right and always keeps its own row, whichever side you last used. Edited messages still collapse into one row, with the other versions reachable from the arrows on the message itself. Forks and edits made before this release can no longer be told apart, so all of them are now treated as forks and will each keep a row — a message you had revised several times may therefore show more rows in the list than it used to.
|
|
18
|
+
|
|
3
19
|
## [0.17.31] - 2026-08-27
|
|
4
20
|
|
|
5
21
|
### Added
|
|
@@ -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.17.
|
|
74
|
+
<!-- Generated for PPM v0.17.33 at build time. Re-run `ppm export skill --install` to refresh. -->
|
|
@@ -284,4 +284,4 @@ _Base URL: `http://localhost:8080` (default; override via `ppm config set port <
|
|
|
284
284
|
- `ws://<host>/ws/terminal` — PTY terminal multiplexer
|
|
285
285
|
- `ws://<host>/ws/extensions` — extension host channel
|
|
286
286
|
|
|
287
|
-
<!-- Generated from src/server/routes/ for PPM v0.17.
|
|
287
|
+
<!-- Generated from src/server/routes/ for PPM v0.17.33 -->
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{o as e}from"./rolldown-runtime-FhOqtrmT.js";import{b as t,y as n}from"./vendor-markdown-CKTlmXbz.js";import"./vendor-ui-DMRGWRuc.js";import{t as r}from"./save-BM4p9_9n.js";import{o as i}from"./api-client-DhXpjLdi.js";import"./vendor-mermaid-CYOBtZtD.js";import"./settings-store-DFMz_Oer.js";import{n as a}from"./utils-E0yyGxXt.js";import{At as o,D as s,E as c,O as l,Qt as u,T as d,Zt as f,k as p,kt as m,o as h}from"./index-
|
|
1
|
+
import{o as e}from"./rolldown-runtime-FhOqtrmT.js";import{b as t,y as n}from"./vendor-markdown-CKTlmXbz.js";import"./vendor-ui-DMRGWRuc.js";import{t as r}from"./save-BM4p9_9n.js";import{o as i}from"./api-client-DhXpjLdi.js";import"./vendor-mermaid-CYOBtZtD.js";import"./settings-store-DFMz_Oer.js";import{n as a}from"./utils-E0yyGxXt.js";import{At as o,D as s,E as c,O as l,Qt as u,T as d,Zt as f,k as p,kt as m,o as h}from"./index-BI35sAVB.js";import{t as g}from"./use-monaco-theme-Bf_8qog4.js";var _=e(t(),1),v=n();function y({metadata:e}){let t=e?.filePath,n=e?.name,a=e?.resourceType??`skill`,y=e?.scope??`user`,x=e?.readOnly===!0,S=e?.shadowed===!0,C=e?.shadowedBy,w=e?.project??``,[T,E]=(0,_.useState)(``),[D,O]=(0,_.useState)(``),[k,A]=(0,_.useState)(!0),[j,M]=(0,_.useState)(null),[N,P]=(0,_.useState)(!1),F=g(),I=(0,_.useRef)(``),L=T!==D;(0,_.useEffect)(()=>{let e=!1;return A(!0),M(null),l(t,w).then(t=>{e||(E(t.content),O(t.content),I.current=t.content)}).catch(t=>{e||M(t.message)}).finally(()=>{e||A(!1)}),()=>{e=!0}},[t,w]);let R=(0,_.useCallback)(async()=>{if(x||N)return;let e=I.current;if(e!==D){P(!0);try{await p(t,e,w),O(e),E(e),i.success(`Saved`),s.getState().reload()}catch(e){i.error(e.message)}finally{P(!1)}}},[t,w,D,x,N]);(0,_.useEffect)(()=>{let e=e=>{(e.ctrlKey||e.metaKey)&&e.key.toLowerCase()===`s`&&(e.preventDefault(),R())};return window.addEventListener(`keydown`,e),()=>window.removeEventListener(`keydown`,e)},[R]);let z=c[a];return(0,v.jsxs)(`div`,{className:`flex h-full flex-col`,children:[(0,v.jsxs)(`div`,{className:`flex items-center gap-2 border-b border-border px-3 py-2 shrink-0`,children:[(0,v.jsx)(z,{className:`size-4 text-text-subtle`}),(0,v.jsx)(`span`,{className:`text-sm font-semibold`,children:n}),(0,v.jsx)(d,{scope:y}),L&&!x&&(0,v.jsx)(`span`,{className:`size-1.5 rounded-full bg-primary`,title:`Unsaved changes`}),(0,v.jsx)(`div`,{className:`flex-1`}),(0,v.jsxs)(`span`,{className:`hidden sm:block text-[11px] text-text-subtle`,children:[a,` · markdown`]}),!x&&(0,v.jsxs)(v.Fragment,{children:[(0,v.jsxs)(`button`,{onClick:()=>E(D),disabled:!L||N,className:`flex items-center gap-1 rounded px-2 py-1 text-xs text-text-secondary hover:bg-surface-elevated disabled:opacity-40`,children:[(0,v.jsx)(m,{className:`size-3.5`}),` Revert`]}),(0,v.jsxs)(`button`,{onClick:()=>void R(),disabled:!L||N,className:`flex items-center gap-1 rounded bg-primary px-2.5 py-1 text-xs font-medium text-primary-foreground hover:bg-primary/90 disabled:opacity-40`,children:[N?(0,v.jsx)(u,{className:`size-3.5 animate-spin`}):(0,v.jsx)(r,{className:`size-3.5`}),` Save`]})]})]}),x&&(0,v.jsx)(b,{icon:f,tone:`muted`,children:`Bundled resource — read-only. Duplicate it (from the AI Resources panel) to make an editable copy.`}),S&&C&&(0,v.jsxs)(b,{icon:o,tone:`warn`,children:[`This `,a,` is overridden by another “`,C.name,`” from a higher-priority source (`,C.source,`). It is currently inactive.`]}),(0,v.jsx)(`div`,{className:`min-h-0 flex-1`,children:k?(0,v.jsx)(`div`,{className:`flex h-full items-center justify-center`,children:(0,v.jsx)(u,{className:`size-5 animate-spin text-primary`})}):j?(0,v.jsx)(`div`,{className:`p-6 text-center text-sm text-destructive`,children:j}):(0,v.jsx)(h,{height:`100%`,language:`markdown`,theme:F,value:T,onChange:e=>{let t=e??``;I.current=t,E(t)},options:{readOnly:x,minimap:{enabled:!1},fontSize:13,wordWrap:`on`,scrollBeyondLastLine:!1,lineNumbers:`on`}})})]})}function b({icon:e,tone:t,children:n}){return(0,v.jsxs)(`div`,{className:a(`flex items-start gap-2 px-3 py-2 text-[12px] shrink-0 border-b border-border`,t===`warn`?`bg-amber-500/10 text-amber-300`:`bg-surface-elevated text-text-secondary`),children:[(0,v.jsx)(e,{className:`mt-0.5 size-3.5 shrink-0`}),(0,v.jsx)(`span`,{children:n})]})}export{y as AiResourceEditor};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{y as e}from"./vendor-markdown-CKTlmXbz.js";import"./vendor-ui-DMRGWRuc.js";import{t}from"./createLucideIcon-ConhwJnb.js";import{t as n}from"./file-exclamation-point-DBEC-Kst.js";import"./api-client-DhXpjLdi.js";import{t as r}from"./utils-E0yyGxXt.js";import{Qt as i}from"./index-
|
|
1
|
+
import{y as e}from"./vendor-markdown-CKTlmXbz.js";import"./vendor-ui-DMRGWRuc.js";import{t}from"./createLucideIcon-ConhwJnb.js";import{t as n}from"./file-exclamation-point-DBEC-Kst.js";import"./api-client-DhXpjLdi.js";import{t as r}from"./utils-E0yyGxXt.js";import{Qt as i}from"./index-BI35sAVB.js";import{t as a}from"./use-blob-url-kvtWmJtt.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};
|