@pi-chamber/web 1.0.6-rc.6 → 1.0.7-rc.1
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/dist/assets/{DiagramView-BxBfOrN5.js → DiagramView-DyF8zzYx.js} +1 -1
- package/dist/assets/{DiffView-CSC9GMrb.js → DiffView-C3rA5DfE.js} +1 -1
- package/dist/assets/{FileSaveConflictDialog-C_MNWp6w.js → FileSaveConflictDialog-CC4F--8H.js} +1 -1
- package/dist/assets/{FilesView-DeN6KmNt.js → FilesView-Dsg-QTJu.js} +1 -1
- package/dist/assets/{GitHubDetailScaffold-CrtJwlqV.js → GitHubDetailScaffold-C9WuBMGr.js} +1 -1
- package/dist/assets/{GitHubLinkPicker-g6w8K95J.js → GitHubLinkPicker-BkVdYxZT.js} +1 -1
- package/dist/assets/{GitHubListPrimitives-lAi2ywE3.js → GitHubListPrimitives-CcVlv_rJ.js} +1 -1
- package/dist/assets/{GitView-D9_em8Vx.js → GitView-OpFCss_4.js} +3 -3
- package/dist/assets/{IssuesSurface-DCiHe6TE.js → IssuesSurface-DD6Gz5Ox.js} +2 -2
- package/dist/assets/{JsonTreeView-D64mTfTx.js → JsonTreeView-Dj75jgH6.js} +1 -1
- package/dist/assets/{MarkdownRendererImpl-DwE90rTA.js → MarkdownRendererImpl-CnIzmT1p.js} +1 -1
- package/dist/assets/{PatchDiff-CcIwURzW.js → PatchDiff-DND5RBnF.js} +1 -1
- package/dist/assets/{PierreDiffViewer-tN7awL0-.js → PierreDiffViewer-Cq5CIrmH.js} +1 -1
- package/dist/assets/{PullRequestsSurface-iX4r3QlS.js → PullRequestsSurface-g8HAvbFg.js} +2 -2
- package/dist/assets/{SessionSwitcherContent-DrrM0ObM.js → SessionSwitcherContent-CUz6Cc1-.js} +1 -1
- package/dist/assets/{SessionSwitcherDropdown-B9_0JwY7.js → SessionSwitcherDropdown-COZ50Y5a.js} +2 -2
- package/dist/assets/{SessionUnreadDot-Bpgp2gLO.js → SessionUnreadDot-DOUcgBw6.js} +1 -1
- package/dist/assets/{SettingsView-C4hec1iy.js → SettingsView-AFymxZYC.js} +3 -3
- package/dist/assets/{SettingsWindow-Bepcpy0R.js → SettingsWindow-J6YOvGcV.js} +1 -1
- package/dist/assets/{ToolOutputDialog-Dl9-vpvL.js → ToolOutputDialog-5Tc7HM4z.js} +1 -1
- package/dist/assets/{ToolPartDiffPreview-CLlHEPYD.js → ToolPartDiffPreview-7GiFbVl7.js} +1 -1
- package/dist/assets/{VirtualizedFileDiff-D9OpUpR3.js → VirtualizedFileDiff-Dq8pyTGy.js} +1 -1
- package/dist/assets/{collapsible-ZT74WYMA.js → collapsible-D6qdoq7-.js} +1 -1
- package/dist/assets/{computeVirtualFileMetrics-CDv_UBXL.js → computeVirtualFileMetrics-uXZ9uhI_.js} +1 -1
- package/dist/assets/{contextFileOpenGuard-BJ2sAhZG.js → contextFileOpenGuard-CckKFYjI.js} +1 -1
- package/dist/assets/{fileTreeStatus-B2PDFobt.js → fileTreeStatus-C_7jbeGv.js} +1 -1
- package/dist/assets/{gitStatusPredicates-BDdOjxH_.js → gitStatusPredicates-CNLvdt2V.js} +1 -1
- package/dist/assets/{githubLink-wwC2_C_9.js → githubLink-0EoMGZKd.js} +1 -1
- package/dist/assets/{index-MXKT8Ir9.js → index-DD0xW5WE.js} +1 -1
- package/dist/assets/{index-fmzQmSSv.js → index-I2QYqABE.js} +3 -3
- package/dist/assets/{main-CnW7qm2b.js → main-BnWf2tm9.js} +2 -2
- package/dist/assets/{main-DmHVgAh0.js → main-yQe-k30g.js} +4 -4
- package/dist/assets/{markdownCore-DOFhfL5i.js → markdownCore-C-Ulh4n9.js} +1 -1
- package/dist/assets/{miniChat-D_Wl2jlx.js → miniChat-DKK1hotU.js} +2 -2
- package/dist/assets/{mobile-Cl-KcfGW.js → mobile-BuAWpKj9.js} +2 -2
- package/dist/assets/{nativeFileSave-B4Rg6n8u.js → nativeFileSave-Cp9i5QGd.js} +1 -1
- package/dist/assets/{pi-session-focus-preference-BqEU9Iq6.js → pi-session-focus-preference-DaWQ2rEE.js} +1 -1
- package/dist/assets/{renderDiffWithHighlighter-U7WjeGm9.js → renderDiffWithHighlighter-DD-iWWus.js} +1 -1
- package/dist/assets/{renderElectronMiniChatApp-BJxNc9OP.js → renderElectronMiniChatApp-CKuFQBRo.js} +2 -2
- package/dist/assets/{renderFileWithHighlighter-DiwpFgMp.js → renderFileWithHighlighter-B0pofdV1.js} +1 -1
- package/dist/assets/{renderMobileApp-d5KpyvBc.js → renderMobileApp-B3P_bita.js} +3 -3
- package/dist/assets/runtimeEndpointReset-DutinXZK.js +62 -0
- package/dist/assets/{runtimeSurface-X62LLBLv.js → runtimeSurface-CFwnvks_.js} +1 -1
- package/dist/assets/{useAppFontEffects-FKnY7Fe2.js → useAppFontEffects-DQlUEhzN.js} +85 -87
- package/dist/assets/{useGitHubRemoteSearch-4QMXIODG.js → useGitHubRemoteSearch-BoZvJAk3.js} +1 -1
- package/dist/assets/{useSwitcherItems-DtCNsq8u.js → useSwitcherItems-Dy2yumiU.js} +1 -1
- package/dist/assets/{web-components-D5QImbWv.js → web-components-DB-GDG7P.js} +1 -1
- package/dist/index.html +3 -3
- package/dist/mini-chat.html +2 -2
- package/dist/mobile.html +2 -2
- package/package.json +1 -1
- package/server/lib/pi/session-daemon/DOCUMENTATION.md +3 -3
- package/server/lib/pi/session-daemon/extension-custom-host.js +37 -4
- package/server/lib/pi/session-daemon/extension-custom-host.test.js +231 -2
- package/server/lib/pi/session-daemon/session-daemon-list-live.test.js +115 -1
- package/server/lib/pi/session-daemon/session-daemon.js +52 -12
- package/server/lib/pi/session-daemon/session-engine-router.js +5 -1
- package/server/lib/pi/session-daemon/session-engine-router.test.js +21 -0
- package/dist/assets/runtimeEndpointReset-Cd4yJDsk.js +0 -62
|
@@ -1 +1 @@
|
|
|
1
|
-
import{j as e}from"./vendor-boot-3SaHYVb1.js";import{R as u}from"./vendor-react-Bz1tRBxM.js";import{I as o,B as l,b2 as f}from"./useAppFontEffects-
|
|
1
|
+
import{j as e}from"./vendor-boot-3SaHYVb1.js";import{R as u}from"./vendor-react-Bz1tRBxM.js";import{I as o,B as l,b2 as f}from"./useAppFontEffects-DQlUEhzN.js";import{f as m}from"./index-I2QYqABE.js";import{R as b,S as g}from"./GitHubDetailScaffold-C9WuBMGr.js";const S=({options:r,value:s,onChange:t,ariaLabel:a})=>e.jsx("div",{role:"tablist","aria-label":a,className:"flex flex-wrap gap-1",children:r.map(i=>{const n=i.id===s;return e.jsx(l,{type:"button",variant:"chip",size:"xs",role:"tab","aria-selected":n,"aria-pressed":n,onClick:()=>t(i.id),className:m(n&&"bg-interactive-selection text-interactive-selection-foreground"),children:i.label},i.id)})}),G=({value:r,onChange:s,placeholder:t,ariaLabel:a})=>{const[i,n]=u.useState(r);u.useEffect(()=>n(r),[r]);const c=u.useRef(s);return c.current=s,u.useEffect(()=>{if(i===r)return;const d=setTimeout(()=>c.current(i),80);return()=>clearTimeout(d)},[i,r]),e.jsxs("span",{className:"relative block min-w-0 flex-1",children:[e.jsx(o,{name:"search","aria-hidden":"true",className:"pointer-events-none absolute left-2 top-1/2 size-3.5 -translate-y-1/2 text-muted-foreground"}),e.jsx(f,{value:i,onChange:d=>n(d.target.value),placeholder:t??"Search","aria-label":a??"Search",className:"h-8 pl-7"})]})},H=({rows:r=7,label:s})=>{const t=["w-3/5","w-2/5","w-1/2","w-2/3","w-2/5","w-3/5","w-1/2"],a=["w-2/5","w-1/3","w-2/5","w-1/4","w-1/3","w-2/5","w-1/3"];return e.jsx("div",{role:"status","aria-label":s,className:"flex animate-pulse flex-col p-1",children:Array.from({length:r},(i,n)=>e.jsxs("div",{className:"flex items-center gap-2 rounded-md px-2 py-2",children:[e.jsx("span",{"aria-hidden":"true",className:"size-4 shrink-0 rounded-full bg-muted-foreground/15"}),e.jsxs("span",{className:"min-w-0 flex-1 space-y-1.5",children:[e.jsx("span",{"aria-hidden":"true",className:m("block h-3.5 rounded bg-muted-foreground/15",t[n%t.length])}),e.jsx("span",{"aria-hidden":"true",className:m("block h-3 rounded bg-muted-foreground/15",a[n%a.length])})]}),e.jsxs("span",{className:"flex shrink-0 flex-col items-end gap-1.5",children:[e.jsx("span",{"aria-hidden":"true",className:"block h-3 w-12 rounded bg-muted-foreground/15"}),e.jsx("span",{"aria-hidden":"true",className:"block h-3 w-10 rounded bg-muted-foreground/15"})]})]},n))})},p=({icon:r,title:s,description:t,action:a})=>e.jsxs("div",{className:"flex h-full flex-col items-center justify-center gap-1.5 p-6 text-center",children:[e.jsx(o,{name:r,"aria-hidden":"true",className:"size-6 text-subtle-foreground"}),e.jsx("p",{className:"typography-ui-label font-medium text-foreground",children:s}),t?e.jsx("p",{className:"max-w-60 typography-micro text-muted-foreground",children:t}):null,a]}),j=({hasMore:r,isLoading:s,onLoadMore:t,label:a})=>r?e.jsx("div",{className:"flex justify-center px-2 py-2",children:e.jsx(l,{type:"button",variant:"outline",size:"sm",onClick:t,disabled:s,children:s?"Loading…":a??"Load more"})}):null,z=({matchSummary:r,searching:s,onSearchAll:t})=>e.jsxs("div",{className:"flex flex-wrap items-center gap-x-2 gap-y-1 border-t border-border/60 px-2 py-1.5 typography-micro text-muted-foreground",children:[e.jsx("span",{className:"min-w-0 flex-1 truncate",title:r,children:r}),e.jsx(l,{type:"button",variant:"ghost",size:"xs",onClick:t,disabled:s,children:s?"Searching…":"Search all on GitHub"})]}),C=({title:r,isSearching:s,error:t,hasResults:a,hasMore:i,isLoadingMore:n,onRetry:c,onLoadMore:d,children:h})=>{const x=t?.kind==="rate-limited"?"GitHub rate limit reached — try again in a little while.":"Couldn't search GitHub.";return e.jsxs("section",{"aria-label":r,className:"border-t border-border/60",children:[e.jsx("p",{className:"px-3 pb-0.5 pt-1.5 typography-micro font-medium text-muted-foreground",children:r}),t&&!a?e.jsxs("div",{className:"flex flex-wrap items-center gap-2 px-3 py-2 typography-micro text-muted-foreground",children:[e.jsx(o,{name:"error-warning",className:"size-3.5 shrink-0","aria-hidden":"true"}),e.jsx("span",{className:"min-w-0 flex-1",children:x}),e.jsx(l,{type:"button",variant:"outline",size:"xs",onClick:c,children:"Retry"})]}):null,t&&a?e.jsxs("div",{className:"flex flex-wrap items-center gap-2 px-3 py-1 typography-micro text-muted-foreground",children:[e.jsx("span",{className:"min-w-0 flex-1",children:x}),e.jsx(l,{type:"button",variant:"ghost",size:"xs",onClick:c,children:"Retry"})]}):null,!t&&s&&!a?e.jsx("p",{className:"px-3 py-2 typography-micro text-muted-foreground",role:"status",children:"Searching GitHub…"}):null,a?e.jsx("div",{className:"flex flex-col p-1 pt-0.5",children:h}):null,!t&&a?e.jsx(j,{hasMore:i,isLoading:n,onLoadMore:d,label:"Load more results"}):null]})},R=({error:r,onRetry:s,label:t})=>{if(!b(r))return null;const a=g(r);return e.jsxs("div",{className:"flex items-center gap-2 rounded-md border border-[var(--status-error-border)] bg-[var(--status-error-background)] px-3 py-2 typography-micro text-foreground",role:"alert","aria-label":`${t} failed to load`,children:[e.jsx(o,{name:"error-warning",className:"size-4 shrink-0 text-[var(--status-error)]"}),e.jsxs("span",{className:"min-w-0 flex-1 truncate",children:[t," failed to load",r?` — ${a}`:""]}),e.jsx(l,{type:"button",variant:"outline",size:"xs",onClick:s,children:"Retry"})]})},E=({number:r,kindLabel:s,onOpen:t})=>e.jsx("div",{className:"flex flex-col p-1",children:e.jsxs("button",{type:"button",onClick:t,"aria-label":`Open ${s} #${r}`,className:"group/github-row flex w-full items-center gap-2 rounded-md px-2 py-1 text-left hover:bg-interactive-hover",children:[e.jsx("span",{className:"inline-flex w-4 shrink-0 items-center justify-center",children:e.jsx(o,{name:"external-link",className:"size-3.5 text-muted-foreground","aria-hidden":"true"})}),e.jsxs("span",{className:"min-w-0 flex-1 truncate typography-ui-label text-foreground",children:["Open #",r]}),e.jsx("span",{className:"shrink-0 typography-micro text-muted-foreground",children:"Not in the loaded list"})]})}),I=({onRetry:r})=>e.jsxs("div",{className:"flex shrink-0 items-center gap-2 border-b border-[var(--status-warning-border)] bg-[var(--status-warning-background)] px-3 py-1.5 typography-micro text-foreground",children:[e.jsx(o,{name:"error-warning",className:"size-3.5 shrink-0 text-[var(--status-warning)]"}),e.jsx("span",{className:"min-w-0 flex-1 truncate",children:"Showing saved results — last refresh failed"}),e.jsx("button",{type:"button",onClick:r,className:"shrink-0 underline","aria-label":"Retry GitHub refresh",children:"Retry"})]}),L=({kind:r,noItemsTitle:s,noItemsBody:t,noItemsIcon:a,noItemsAction:i,onClearFilters:n})=>r==="no-match"?e.jsx(p,{icon:"search",title:"Nothing matches these filters",description:"Try fewer words, or search by number, author, or label.",action:n?e.jsx(l,{type:"button",variant:"outline",size:"sm",onClick:n,children:"Clear filters"}):void 0}):e.jsx(p,{icon:a??"git-pull-request",title:s,description:t,action:i});export{H as G,R as S,p as a,I as b,G as c,L as d,E as e,j as f,C as g,z as h,S as i};
|