@hienlh/ppm 0.13.61 → 0.13.62

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 (40) hide show
  1. package/CHANGELOG.md +5 -0
  2. package/assets/skills/ppm/SKILL.md +1 -1
  3. package/assets/skills/ppm/references/http-api.md +1 -1
  4. package/dist/web/assets/{audio-preview-CKyqt8Qa.js → audio-preview-B3rIhhbi.js} +1 -1
  5. package/dist/web/assets/{chat-tab-6xXNp6td.js → chat-tab-nNh5rLB2.js} +3 -3
  6. package/dist/web/assets/{code-editor-DWNVyji6.js → code-editor-CMSwWKuR.js} +2 -2
  7. package/dist/web/assets/{conflict-editor-pC5U_tzr.js → conflict-editor-B4f2ilts.js} +1 -1
  8. package/dist/web/assets/{database-viewer-Qp7wc8sJ.js → database-viewer-D-28-BdV.js} +1 -1
  9. package/dist/web/assets/{diff-viewer-FyAyKn4J.js → diff-viewer-Bv8DUUIR.js} +1 -1
  10. package/dist/web/assets/{extension-webview-CVylZpkv.js → extension-webview-CUPyfczi.js} +1 -1
  11. package/dist/web/assets/{git-log-panel-BA4xxiZR.js → git-log-panel-CFLQD23g.js} +1 -1
  12. package/dist/web/assets/{glide-data-grid-PZOzxnWV.js → glide-data-grid-1rBqhi2J.js} +1 -1
  13. package/dist/web/assets/{image-preview-meDqzT6e.js → image-preview-DHrZPetH.js} +1 -1
  14. package/dist/web/assets/index-CkQX29w3.js +27 -0
  15. package/dist/web/assets/keybindings-store-Bigfs0Ss.js +1 -0
  16. package/dist/web/assets/{markdown-renderer-BPuu5Czn.js → markdown-renderer-BS-EgLZm.js} +1 -1
  17. package/dist/web/assets/notification-store-NXr7Mag_.js +1 -0
  18. package/dist/web/assets/{pdf-preview-CE6iGnyw.js → pdf-preview-CeN9W7kd.js} +1 -1
  19. package/dist/web/assets/{port-forwarding-tab-Bm2K9NO-.js → port-forwarding-tab-CYUcx2_j.js} +1 -1
  20. package/dist/web/assets/{postgres-viewer-D72BwBOg.js → postgres-viewer-BZ7RHn6E.js} +1 -1
  21. package/dist/web/assets/{settings-tab-BTT3CCTS.js → settings-tab-B3U6o2Cv.js} +1 -1
  22. package/dist/web/assets/{sql-query-editor-BiVMmcK3.js → sql-query-editor-CfDG3duv.js} +1 -1
  23. package/dist/web/assets/{sqlite-viewer-CKdZF5AA.js → sqlite-viewer-ofYBAsHX.js} +1 -1
  24. package/dist/web/assets/{system-monitor-tab-PIhMDYPP.js → system-monitor-tab-By-j_TO1.js} +1 -1
  25. package/dist/web/assets/{terminal-tab-BHFM5N0l.js → terminal-tab-BEGaXjCj.js} +1 -1
  26. package/dist/web/assets/{video-preview-DC5PWgPo.js → video-preview-CHOiQ3I9.js} +1 -1
  27. package/dist/web/index.html +1 -1
  28. package/dist/web/sw.js +1 -1
  29. package/package.json +1 -1
  30. package/src/index.ts +0 -0
  31. package/src/web/components/explorer/file-tree.tsx +5 -0
  32. package/src/web/components/explorer/tree-node-context-menu.tsx +3 -0
  33. package/src/web/components/layout/draggable-tab.tsx +3 -0
  34. package/src/web/components/layout/mobile-nav.tsx +11 -0
  35. package/src/web/components/layout/tab-bar.tsx +9 -0
  36. package/bun.lock +0 -2129
  37. package/bunfig.toml +0 -2
  38. package/dist/web/assets/index-Drwzii_w.js +0 -27
  39. package/dist/web/assets/keybindings-store-D6R_grEQ.js +0 -1
  40. package/dist/web/assets/notification-store-eSbjsPHn.js +0 -1
@@ -138,6 +138,13 @@ export function MobileNav({ onMenuPress, onProjectsPress }: MobileNavProps) {
138
138
  case "copy-path":
139
139
  if (filePath) navigator.clipboard.writeText(filePath).catch(() => {});
140
140
  break;
141
+ case "copy-full-path": {
142
+ if (filePath) {
143
+ const project = projectName ? useProjectStore.getState().projects.find((p) => p.name === projectName) : null;
144
+ navigator.clipboard.writeText(project ? `${project.path}/${filePath}` : filePath).catch(() => {});
145
+ }
146
+ break;
147
+ }
141
148
  case "download":
142
149
  if (filePath && projectName) downloadFile(projectName, filePath);
143
150
  break;
@@ -334,6 +341,10 @@ export function MobileNav({ onMenuPress, onProjectsPress }: MobileNavProps) {
334
341
  className="flex items-center gap-2 w-full px-3 py-2.5 text-sm text-foreground active:bg-surface-elevated">
335
342
  <Copy className="size-4" /> Copy Path
336
343
  </button>
344
+ <button onClick={() => handleFileAction(menuTab, "copy-full-path")}
345
+ className="flex items-center gap-2 w-full px-3 py-2.5 text-sm text-foreground active:bg-surface-elevated">
346
+ <Copy className="size-4" /> Copy Full Path
347
+ </button>
337
348
  <button onClick={() => handleFileAction(menuTab, "download")}
338
349
  className="flex items-center gap-2 w-full px-3 py-2.5 text-sm text-foreground active:bg-surface-elevated">
339
350
  <Download className="size-4" /> Download
@@ -231,6 +231,15 @@ export const TabBar = memo(function TabBar({ panelId }: TabBarProps) {
231
231
  if (filePath) navigator.clipboard.writeText(filePath).catch(() => {});
232
232
  break;
233
233
  }
234
+ case "copy-full-path": {
235
+ const filePath = tab.metadata?.filePath as string | undefined;
236
+ const projectName = tab.metadata?.projectName as string | undefined;
237
+ if (filePath) {
238
+ const project = projectName ? useProjectStore.getState().projects.find((p) => p.name === projectName) : null;
239
+ navigator.clipboard.writeText(project ? `${project.path}/${filePath}` : filePath).catch(() => {});
240
+ }
241
+ break;
242
+ }
234
243
  case "download": {
235
244
  const filePath = tab.metadata?.filePath as string | undefined;
236
245
  const projectName = tab.metadata?.projectName as string | undefined;