@qredence/fleet 0.7.1 → 0.7.2
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 +6 -0
- package/dist/web/client/assets/{action-swap-roll-BfVrBOVd.js → action-swap-roll-Bek47h-E.js} +1 -1
- package/dist/web/client/assets/{alert-dialog-FCppNafx.js → alert-dialog-OoasP5iO.js} +1 -1
- package/dist/web/client/assets/{artifacts-panel-C69vz-oo.js → artifacts-panel-DVY0-7X0.js} +1 -1
- package/dist/web/client/assets/{badge-DOGhnsYk.js → badge-9wr3qUp1.js} +2 -2
- package/dist/web/client/assets/{button-BJyg7l5W.js → button-Bqms7ZKX.js} +1 -1
- package/dist/web/client/assets/{card-BScRdZNS.js → card-DPCbcrMK.js} +1 -1
- package/dist/web/client/assets/{chat-command-palette-wyZjTNa8.js → chat-command-palette-CXS5eTiy.js} +1 -1
- package/dist/web/client/assets/{citations-BhyqbxcZ.js → citations-C7USoVdz.js} +1 -1
- package/dist/web/client/assets/{command-Bo31U-UD.js → command-s2yLD3tA.js} +1 -1
- package/dist/web/client/assets/{create-project-dialog-SDyXTpl-.js → create-project-dialog-C99_Lyjg.js} +1 -1
- package/dist/web/client/assets/{dialog-DLIPvl1s.js → dialog-DuCD5hRq.js} +1 -1
- package/dist/web/client/assets/{ease-DKi-MOH5.js → ease-2gsl7ABx.js} +1 -1
- package/dist/web/client/assets/{fork-picker-dialog-BDleMADF.js → fork-picker-dialog--dV6TE-9.js} +1 -1
- package/dist/web/client/assets/globals-BXtzVIWE.css +2 -0
- package/dist/web/client/assets/{index-BARp0bjW.js → index-C2EkVtv5.js} +3 -3
- package/dist/web/client/assets/{input-Ce8yLnXY.js → input-DECT4vz2.js} +1 -1
- package/dist/web/client/assets/{input-group-BZLQiZOA.js → input-group-CZlz1ygA.js} +1 -1
- package/dist/web/client/assets/{ipython-tool-CuSGRhXl.js → ipython-tool-Bs6ESZe1.js} +1 -1
- package/dist/web/client/assets/{layout-constants-Bl6XCvhY.js → layout-constants-C4hoW3YP.js} +1 -1
- package/dist/web/client/assets/{markdown-yn-nhRzB.js → markdown-B2tpfUKu.js} +2 -2
- package/dist/web/client/assets/{markdown-code-DfJbKhL9.js → markdown-code-B5YUmtLX.js} +1 -1
- package/dist/web/client/assets/{message-queue-CiptKSb6.js → message-queue-BD2sIUTH.js} +1 -1
- package/dist/web/client/assets/{model-selector-list-BHQ-Q8b9.js → model-selector-list-zPZRE3JY.js} +1 -1
- package/dist/web/client/assets/{notify-BC0a76VJ.js → notify-mVA6z9Ly.js} +1 -1
- package/dist/web/client/assets/{openui-renderer-DrfHxs1t.js → openui-renderer-ByP8yQph.js} +1 -1
- package/dist/web/client/assets/{prompt-input-IwZOepG7.js → prompt-input-Bnl0HyL6.js} +1 -1
- package/dist/web/client/assets/{prompt-suggestions-BRFWFm5y.js → prompt-suggestions-DcgETXtw.js} +1 -1
- package/dist/web/client/assets/{provider-label-DNZOLldn.js → provider-label-COVNyoZo.js} +1 -1
- package/dist/web/client/assets/{repl-panel-UQN9UFG7.js → repl-panel-BoDNpJOe.js} +1 -1
- package/dist/web/client/assets/{resources-panel-kp_UjnpX.js → resources-panel-DD6iWOF3.js} +1 -1
- package/dist/web/client/assets/{right-panel-registry-CF7GLJrk.js → right-panel-registry-CIfLdAfS.js} +2 -2
- package/dist/web/client/assets/{routes-DCP1DP1g.js → routes-DO93P3Xm.js} +5 -5
- package/dist/web/client/assets/{select-COK0Kaq2.js → select-Dp15z1lf.js} +1 -1
- package/dist/web/client/assets/{session-reasoning-panel-DrTWp8d4.js → session-reasoning-panel-WMedZp__.js} +1 -1
- package/dist/web/client/assets/session-tool-renderer-BFC3-Md4.js +170 -0
- package/dist/web/client/assets/{session-tree-panel-deGRKAhX.js → session-tree-panel-CnHOsPzz.js} +1 -1
- package/dist/web/client/assets/{settings-dialog-BU1Tw0CQ.js → settings-dialog-BN138nzK.js} +1 -1
- package/dist/web/client/assets/{skeleton-D5Y9nBfp.js → skeleton-DNAr5ULI.js} +1 -1
- package/dist/web/client/assets/{skeleton-loaders-DOKGa7CW.js → skeleton-loaders-B28mF4tJ.js} +1 -1
- package/dist/web/client/assets/{spinner-C3sPnLdu.js → spinner-CSBXk3Lo.js} +1 -1
- package/dist/web/client/assets/{subagent-chat-panel-bVnkDkgs.js → subagent-chat-panel-DYKOKRPp.js} +1 -1
- package/dist/web/client/assets/subagent-transcript-BCUhqVvi.js +1 -0
- package/dist/web/client/assets/{subagent-utils-D7sXbLsS.js → subagent-utils-CM2qX9BG.js} +2 -2
- package/dist/web/client/assets/{subagents-panel-i5-12E1U.js → subagents-panel-CTvtU0Sh.js} +1 -1
- package/dist/web/client/assets/{surface-context-DWplCCcO.js → surface-context-VvasJf_6.js} +1 -1
- package/dist/web/client/assets/{surfaces-BULKVm-B.js → surfaces-m1vs5aMP.js} +1 -1
- package/dist/web/client/assets/{switch-DQETDDJT.js → switch-eqXIzePo.js} +1 -1
- package/dist/web/client/assets/{toast-BFeqSeaR.js → toast-DRDVljMF.js} +1 -1
- package/dist/web/client/assets/{tool-result-D7HtJ_yg.js → tool-result-DWUV8hEz.js} +1 -1
- package/dist/web/client/assets/{tool-timeline-B4ci1oJg.js → tool-timeline-4k2iSEky.js} +1 -1
- package/dist/web/client/assets/{use-reduced-motion-BgG7f9xw.js → use-reduced-motion-BzGFRmoG.js} +1 -1
- package/dist/web/client/assets/utils-CFDGLzf6.js +1 -0
- package/dist/web/client/assets/{workspace-panel-Clbmrdza.js → workspace-panel-BNeGABPi.js} +1 -1
- package/dist/web/client/assets/{workspace-path-nav-eVT0rYvv.js → workspace-path-nav-umvkE4ut.js} +2 -2
- package/dist/web/client/bundle-budget.json +5 -5
- package/dist/web/server/{_tanstack-start-manifest_v-CaT-3S-N-VAOGUHEJ.js → _tanstack-start-manifest_v-DTCFS0PG-ARV2V4FW.js} +26 -26
- package/dist/web/server/{artifacts-panel-BuAqeJzj-6DYYLKUW.js → artifacts-panel-Ct2R_4wM-DAPQMI57.js} +13 -13
- package/dist/web/server/{chat-command-palette-Ca8gXVi2-P6EOQ43G.js → chat-command-palette-ETZzg35Q-TAV74IAW.js} +8 -8
- package/dist/web/server/{chunk-5AYK2KDO.js → chunk-777VIBCH.js} +176 -176
- package/dist/web/server/{chunk-7VFULIHV.js → chunk-AAPVQJAD.js} +2 -2
- package/dist/web/server/{chunk-K4KN3QBT.js → chunk-BNB7T7P6.js} +2 -2
- package/dist/web/server/{chunk-E4YWFQX5.js → chunk-FFGFTGLQ.js} +415 -383
- package/dist/web/server/{chunk-GCDOYNXR.js → chunk-FL3FOWSC.js} +30 -30
- package/dist/web/server/{chunk-ITKXE2Q5.js → chunk-GS5F6X7H.js} +497 -234
- package/dist/web/server/{chunk-B7YWDA2F.js → chunk-INRE3X52.js} +2 -2
- package/dist/web/server/{chunk-35AFSKDX.js → chunk-JOCVZVZ3.js} +5 -5
- package/dist/web/server/{chunk-J4Y2Z3XM.js → chunk-JU7PCOE7.js} +4 -4
- package/dist/web/server/{chunk-UTV66W5H.js → chunk-KVW6XTN3.js} +14 -9
- package/dist/web/server/{chunk-NB3TVOGB.js → chunk-LECHJX4M.js} +483 -481
- package/dist/web/server/{chunk-JFAUSHBI.js → chunk-M6K66QBV.js} +6 -6
- package/dist/web/server/{chunk-COWE2EJ6.js → chunk-R7KUUFDW.js} +4 -4
- package/dist/web/server/chunk-SHNODG3C.js +18343 -0
- package/dist/web/server/{chunk-PXSOI3XF.js → chunk-SQXJ5TUB.js} +2 -2
- package/dist/web/server/{chunk-B5Y7XOIJ.js → chunk-TMQ3MT3D.js} +78 -17
- package/dist/web/server/{chunk-M7BTY55G.js → chunk-UWZYLMEH.js} +2 -2
- package/dist/web/server/{chunk-YIJ7D7G5.js → chunk-VTEYQNJE.js} +7 -7
- package/dist/web/server/{chunk-ABYOWAMD.js → chunk-X76RBZ37.js} +2 -2
- package/dist/web/server/{chunk-FPPKECLB.js → chunk-XMAAYUOT.js} +14 -14
- package/dist/web/server/{create-project-dialog-DCvdysey-IZUGGDAN.js → create-project-dialog-CqBmLTlA-X6HI6AYR.js} +9 -9
- package/dist/web/server/{dist-DVCLWOYT.js → dist-3UIQ7SZN.js} +2 -2
- package/dist/web/server/{dist-4A22NBTB.js → dist-ZPEDRNZ4.js} +2 -2
- package/dist/web/server/{fork-picker-dialog-QH00XmqX-6YLU5REF.js → fork-picker-dialog-PYNd9ozc-EA7BRLRR.js} +6 -6
- package/dist/web/server/{markdown-CShfYRVO-OKGCYPQK.js → markdown-CShfYRVO-22N5LNAN.js} +2 -2
- package/dist/web/server/{markdown-code-BDV_2b2T-VZGAECQB.js → markdown-code-BDV_2b2T-KUPHX52W.js} +2 -2
- package/dist/web/server/{message-queue-BzEFQR8k-2W53EW32.js → message-queue-DmSFAI5Y-XDZHJ2Z6.js} +6 -6
- package/dist/web/server/{model-selector-list-BjoXmw92-TEKBPB3E.js → model-selector-list-C-Y3p5UM-HTSWVVHP.js} +8 -8
- package/dist/web/server/{openui-renderer-CJ7Q2zZ_-FPXKZPSO.js → openui-renderer-C4B1EJxC-QDYQF5LD.js} +10 -10
- package/dist/web/server/{prompt-suggestions-EqAaAx6L-723M64XJ.js → prompt-suggestions-EqAaAx6L-B4KCWNZX.js} +1 -1
- package/dist/web/server/{repl-panel-DOyUyuQR-IMYO4FKX.js → repl-panel-DOyUyuQR-LRBDRMHW.js} +3 -3
- package/dist/web/server/{resources-panel-yVB4xF_K-OHFHXVU4.js → resources-panel-Bo-TmRON-O47AKGEQ.js} +7 -7
- package/dist/web/server/{router-UgU5vJxm-R33FGTXY.js → router-DtS2wXhd-I2SZV7YF.js} +5 -5
- package/dist/web/server/{routes-Cbbo-jh9-ZUPH4SJD.js → routes-DuSYlASY-U7C32ONE.js} +5 -5
- package/dist/web/server/server.js +3 -3
- package/dist/web/server/{session-reasoning-panel-C50VbaQ8-4YLMVVY6.js → session-reasoning-panel-BFcZs1pZ-KNHSU5GX.js} +7 -7
- package/dist/web/server/{session-tool-renderer-QcAkYD-V-6RXRKDH6.js → session-tool-renderer-TiFeeJEc-YUZPEEZ4.js} +9 -9
- package/dist/web/server/{session-tree-panel-CL49XSTK-4ZPK6AIV.js → session-tree-panel-CjsqVYLY-DGZBGY2E.js} +6 -6
- package/dist/web/server/{settings-dialog-DG9HEZeP-TWDRDGMN.js → settings-dialog-Bj5LrAE8-6BQRLUJT.js} +10 -10
- package/dist/web/server/{start-DEejK9Uj-FODAOTAO.js → start-cCC--AXu-BBMIT6OU.js} +1 -1
- package/dist/web/server/{subagent-chat-panel-Cg2CxshI-WWGFHTIF.js → subagent-chat-panel-DAS4Ne-1-TWIUXSQC.js} +12 -12
- package/dist/web/server/{subagents-panel-aC3Eo-MR-RNIPLCZQ.js → subagents-panel-C3CdUcqw-DFTJTPHA.js} +12 -12
- package/dist/web/server/{tool-timeline-C4dgQITK-CFWANSDL.js → tool-timeline-C4dgQITK-IWCLQLWG.js} +3 -3
- package/dist/web/server/{workspace-panel-DfdFkgHU-6HIOXRBX.js → workspace-panel-DNs0Ye2U-VFB6X5PK.js} +7 -7
- package/package.json +4 -4
- package/dist/web/client/assets/globals-DZbMyHfg.css +0 -2
- package/dist/web/client/assets/session-tool-renderer-Yu4G1165.js +0 -1389
- package/dist/web/client/assets/subagent-transcript-D_L-8PQi.js +0 -1
- package/dist/web/client/assets/utils-Dpy9ZFOr.js +0 -1
- package/dist/web/server/chunk-PHHC52CO.js +0 -38412
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as e}from"./rolldown-runtime-hePW80VL.js";import{t}from"./react-Cvdyeg_0.js";import{t as n}from"./jsx-runtime-NZYk81nU.js";import{t as r}from"./button-
|
|
1
|
+
import{r as e}from"./rolldown-runtime-hePW80VL.js";import{t}from"./react-Cvdyeg_0.js";import{t as n}from"./jsx-runtime-NZYk81nU.js";import{t as r}from"./button-Bqms7ZKX.js";import{t as i}from"./utils-CFDGLzf6.js";import{c as a,d as o}from"./ease-2gsl7ABx.js";import{n as s,t as c}from"./use-reduced-motion-BzGFRmoG.js";import{t as l}from"./arrow-up-DCwrqIrK.js";import{t as u}from"./square-BbTF3gLc.js";var d=e(t(),1),f=`px-2 text-sm leading-6 whitespace-pre-wrap [overflow-wrap:break-word]`,p=`text-transparent`,m=`text-foreground/55`,h={focused:!1,composing:!1,caretStart:null,caretEnd:null};function g(e,t){return e.focused===t.focused&&e.composing===t.composing&&e.caretStart===t.caretStart&&e.caretEnd===t.caretEnd}function _(e){let{completion:t,value:n,editing:r}=e;if(!t||t.forValue!==n)return null;let i=t.text;return i.length===0||i.trim().length===0||t.mode!==`replace`&&n.endsWith(i)||n.length===0||e.streaming||e.disabled||e.triggerOpen||e.dismissed&&e.dismissed.forValue===n&&e.dismissed.text===i||!r.focused||r.composing||r.caretStart===null||r.caretEnd===null||r.caretStart!==r.caretEnd||r.caretStart!==n.length?null:{text:i,mode:t.mode}}function v(e,t,n=`append`){return n===`replace`?t:`${e}${t}`}function y(e,t){if(t)return t.mode===`append`||/\s$/.test(e)?t.text:` ${t.text}`}var b=n();function x({value:e,defaultValue:t=``,onValueChange:n,onSubmit:h,loading:g=!1,submitWhileLoading:_=!1,onStop:v,minRows:y=2,maxRows:x=8,leadingAction:S,className:C,disabled:w,placeholder:T=`Ask the agent to do something…`,"aria-label":E=`Prompt`,"aria-describedby":D,onKeyDown:O,onScroll:k,ghostText:A,onTextareaRef:j,...M}){let N=c()??!1,P=(0,d.useRef)(null),F=(0,d.useRef)(null),I=(0,d.useRef)(null),L=(0,d.useId)(),R=(0,d.useId)(),[z,B]=(0,d.useState)(void 0),[V,H]=(0,d.useState)(t),U=e??V,W=!!U.trim()&&!w&&(!g||_),G=!!w||g&&!_,K=[L,R,D].filter(Boolean).join(` `),q=(0,d.useCallback)(()=>{let e=P.current,t=I.current;t&&e&&(t.scrollTop=e.scrollTop,B(t=>t===e.clientWidth?t:e.clientWidth))},[]);(0,d.useLayoutEffect)(()=>{q()},[q,A,U]);let J=(0,d.useCallback)(()=>{let e=P.current,t=F.current;if(!e||!t||e.value!==U)return;let n=`${Math.min(Math.max(t.scrollHeight,y*24),x*24)}px`;e.style.height!==n&&(e.style.height=n)},[U,x,y]);(0,d.useLayoutEffect)(()=>{J()},[J]);let Y=(0,d.useRef)(J);(0,d.useEffect)(()=>{Y.current=J}),(0,d.useEffect)(()=>{let e=P.current;if(!e||typeof ResizeObserver>`u`)return;let t=new ResizeObserver(()=>{Y.current(),q()});return t.observe(e),()=>t.disconnect()},[q]),(0,d.useEffect)(()=>(j?.(P.current),()=>j?.(null)),[j]);let X=t=>{e===void 0&&H(t),n?.(t)},Z=t=>{t?.preventDefault();let n=U.trim();!n||w||g&&!_||(h?.(n),e===void 0&&H(``),P.current?.focus({preventScroll:!0}))},Q=e=>{O?.(e),!(e.defaultPrevented||e.key!==`Enter`||e.shiftKey||e.nativeEvent.isComposing)&&(e.preventDefault(),Z())};return(0,b.jsxs)(`form`,{"aria-label":`Message composer`,onSubmit:Z,className:i(`relative w-full rounded-chat-input border border-border/70 bg-sidebar p-2 text-[color:var(--foreground)] shadow-sm transition-[border-color,box-shadow] focus-within:border-chat-input-focus-outline/45 focus-within:ring-2 focus-within:ring-chat-input-focus-outline/25`,w&&`opacity-60`,C),children:[(0,b.jsx)(`div`,{ref:F,"data-slot":`composer-measure`,"aria-hidden":`true`,className:i(`pointer-events-none invisible absolute inset-x-2 top-0`,f),children:`${U}\u200b`}),(0,b.jsx)(`p`,{id:L,className:`sr-only`,children:`Enter to send. Shift+Enter for a new line. Tab accepts an inline suggestion or menu item. Escape dismisses suggestions.`}),(0,b.jsx)(`p`,{id:R,className:`sr-only`,"aria-live":`polite`,children:A?`Suggestion available. Press Tab to accept.`:``}),(0,b.jsxs)(`div`,{className:`relative`,children:[A?(0,b.jsx)(`div`,{"data-slot":`composer-ghost-layer`,"aria-hidden":`true`,className:`pointer-events-none absolute inset-0 select-none overflow-hidden`,children:(0,b.jsxs)(`div`,{ref:I,"data-slot":`composer-ghost-mirror`,className:i(`h-full overflow-hidden pt-1.5`,f,p),style:z===void 0?void 0:{width:`${z}px`},children:[U,(0,b.jsx)(`span`,{"data-slot":`composer-ghost`,className:m,children:A})]})}):null,(0,b.jsx)(`textarea`,{ref:P,value:U,disabled:w,placeholder:T,"aria-label":E,"aria-describedby":K,autoComplete:`off`,rows:y,...M,onChange:e=>X(e.target.value),onKeyDown:Q,onScroll:e=>{k?.(e),q()},className:i(`block w-full resize-none overflow-y-auto bg-transparent pt-1.5 text-foreground outline-none placeholder:text-foreground/70`,f)})]}),(0,b.jsxs)(`div`,{className:`mt-1 flex min-h-8 items-center gap-1.5`,children:[S?(0,b.jsx)(`div`,{role:`group`,"aria-label":`Composer options`,className:`flex min-w-0 items-center gap-1.5`,children:S}):null,g&&v?(0,b.jsx)(r,{type:`button`,size:`icon`,"aria-label":`Stop generating`,onClick:v,className:`ms-auto size-8 rounded-full`,children:(0,b.jsx)(u,{"aria-hidden":`true`,className:`size-3 fill-current`})}):null,!g||W||_?(0,b.jsx)(r,{type:`submit`,size:`icon`,disabled:G||!U.trim(),"aria-label":g?`Send follow-up`:`Send prompt`,className:i(`size-8 rounded-full`,!g&&`ms-auto`,W&&`border-transparent bg-chat-input-accent text-white hover:bg-chat-input-accent/90 focus-visible:border-chat-input-accent focus-visible:ring-chat-input-accent/40`),children:(0,b.jsx)(s,{initial:!1,mode:`popLayout`,children:(0,b.jsx)(o.span,{initial:N?{opacity:1}:{opacity:0,y:3,scale:.8},animate:{opacity:1,y:0,scale:1},exit:N?{opacity:0}:{opacity:0,y:-3,scale:.8},transition:N?{duration:0}:a,className:`grid place-items-center`,children:(0,b.jsx)(l,{"aria-hidden":`true`,className:`size-4`})},`send`)})}):null]})]})}export{g as a,_ as i,h as n,v as o,y as r,x as t};
|
package/dist/web/client/assets/{prompt-suggestions-BRFWFm5y.js → prompt-suggestions-DcgETXtw.js}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{t as e}from"./jsx-runtime-NZYk81nU.js";import{t}from"./utils-
|
|
1
|
+
import{t as e}from"./jsx-runtime-NZYk81nU.js";import{t}from"./utils-CFDGLzf6.js";import{d as n}from"./tokens-CtP2s1Y3.js";var r=e();function i({suggestions:e,selectedSuggestion:i,cycle:a,onSuggestion:o,variant:s=`pills`,className:c,...l}){let u=s===`list`;return(0,r.jsx)(`div`,{"data-slot":`suggestions`,className:t(u?`flex w-full max-w-sm flex-col gap-2`:`flex w-full max-w-chat flex-wrap justify-center gap-1.5`,c),...l,children:e.map((e,a)=>(0,r.jsx)(`button`,{type:`button`,"aria-pressed":i===e,onClick:()=>o(e),className:t(n,`fade-in slide-in-from-bottom-2 animate-in fill-mode-both cursor-pointer focus-visible:ring-2 focus-visible:ring-ring motion-reduce:animate-none`,u&&`w-full justify-start rounded-2xl px-4 py-2.5 text-start`,i===e&&`!bg-foreground !text-background hover:!text-background focus-visible:!text-background`),style:{animationDelay:`${a*70}ms`},children:e},e))},a)}export{i as PromptSuggestions};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{t as e}from"./jsx-runtime-NZYk81nU.js";import{t}from"./utils-
|
|
1
|
+
import{t as e}from"./jsx-runtime-NZYk81nU.js";import{t}from"./utils-CFDGLzf6.js";import{g as n,m as r,v as i}from"./select-Dp15z1lf.js";import{t as a}from"./createLucideIcon-CQY2ECfR.js";import{t as o}from"./bot-DETalD3q.js";import{n as s,r as c,t as l}from"./sparkles-C4VQyMox.js";import{t as u}from"./git-branch-DZEh2mM2.js";import{t as d}from"./plug-wCz-036u.js";var f={name:`arrow-left`,size:24,node:[[`path`,{d:`m12 19-7-7 7-7`,key:`1l729n`}],[`path`,{d:`M19 12H5`,key:`x3x0zl`}]]};f.node;var p=a(f),m={name:`brain`,size:24,node:[[`path`,{d:`M12 18V5`,key:`adv99a`}],[`path`,{d:`M15 13a4.17 4.17 0 0 1-3-4 4.17 4.17 0 0 1-3 4`,key:`1e3is1`}],[`path`,{d:`M17.598 6.5A3 3 0 1 0 12 5a3 3 0 1 0-5.598 1.5`,key:`1gqd8o`}],[`path`,{d:`M17.997 5.125a4 4 0 0 1 2.526 5.77`,key:`iwvgf7`}],[`path`,{d:`M18 18a4 4 0 0 0 2-7.464`,key:`efp6ie`}],[`path`,{d:`M19.967 17.483A4 4 0 1 1 12 18a4 4 0 1 1-7.967-.517`,key:`1gq6am`}],[`path`,{d:`M6 18a4 4 0 0 1-2-7.464`,key:`k1g0md`}],[`path`,{d:`M6.003 5.125a4 4 0 0 0-2.526 5.77`,key:`q97ue3`}]]};m.node;var h=a(m),g={name:`cpu`,size:24,node:[[`path`,{d:`M12 20v2`,key:`1lh1kg`}],[`path`,{d:`M12 2v2`,key:`tus03m`}],[`path`,{d:`M17 20v2`,key:`1rnc9c`}],[`path`,{d:`M17 2v2`,key:`11trls`}],[`path`,{d:`M2 12h2`,key:`1t8f8n`}],[`path`,{d:`M2 17h2`,key:`7oei6x`}],[`path`,{d:`M2 7h2`,key:`asdhe0`}],[`path`,{d:`M20 12h2`,key:`1q8mjw`}],[`path`,{d:`M20 17h2`,key:`1fpfkl`}],[`path`,{d:`M20 7h2`,key:`1o8tra`}],[`path`,{d:`M7 20v2`,key:`4gnj0m`}],[`path`,{d:`M7 2v2`,key:`1i4yhu`}],[`rect`,{x:`4`,y:`4`,width:`16`,height:`16`,rx:`2`,key:`1vbyd7`}],[`rect`,{x:`8`,y:`8`,width:`8`,height:`8`,rx:`1`,key:`z9xiuo`}]]};g.node;var _=a(g),v={name:`server`,size:24,node:[[`rect`,{width:`20`,height:`8`,x:`2`,y:`2`,rx:`2`,ry:`2`,key:`ngkwjq`}],[`rect`,{width:`20`,height:`8`,x:`2`,y:`14`,rx:`2`,ry:`2`,key:`iecqi9`}],[`line`,{x1:`6`,x2:`6.01`,y1:`6`,y2:`6`,key:`16zg32`}],[`line`,{x1:`6`,x2:`6.01`,y1:`18`,y2:`18`,key:`nzw8ys`}]]};v.node;var y=a(v),b={name:`settings`,size:24,node:[[`path`,{d:`M9.671 4.136a2.34 2.34 0 0 1 4.659 0 2.34 2.34 0 0 0 3.319 1.915 2.34 2.34 0 0 1 2.33 4.033 2.34 2.34 0 0 0 0 3.831 2.34 2.34 0 0 1-2.33 4.033 2.34 2.34 0 0 0-3.319 1.915 2.34 2.34 0 0 1-4.659 0 2.34 2.34 0 0 0-3.32-1.915 2.34 2.34 0 0 1-2.33-4.033 2.34 2.34 0 0 0 0-3.831A2.34 2.34 0 0 1 6.35 6.051a2.34 2.34 0 0 0 3.319-1.915`,key:`1i5ecw`}],[`circle`,{cx:`12`,cy:`12`,r:`3`,key:`1v7zrd`}]]};b.node;var x=a(b),S={name:`trash`,size:24,node:[[`path`,{d:`M10 11v6`,key:`nco0om`}],[`path`,{d:`M14 11v6`,key:`outv1u`}],[`path`,{d:`M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6`,key:`miytrc`}],[`path`,{d:`M3 6h18`,key:`d0wm0j`}],[`path`,{d:`M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2`,key:`e791ji`}]],aliases:[`trash-2`]};S.node;var C=a(S),w={name:`wind`,size:24,node:[[`path`,{d:`M12.8 19.6A2 2 0 1 0 14 16H2`,key:`148xed`}],[`path`,{d:`M17.5 8a2.5 2.5 0 1 1 2 4H2`,key:`1u4tom`}],[`path`,{d:`M9.8 4.4A2 2 0 1 1 11 8H2`,key:`75valh`}]]};w.node;var T=a(w),E={name:`zap`,size:24,node:[[`path`,{d:`M15.914 4a1.5 1.5 0 00-2.474-1.561l-9 9A1.5 1.5 0 005.5 14h4.002a.5.5 0 01.471.666L8.086 20a1.5 1.5 0 002.475 1.56l9-9A1.5 1.5 0 0018.5 10h-3.997a.5.5 0 01-.472-.667z`,key:`1v7up4`}]]};E.node;var D=a(E),O={"amazon-bedrock":{icon:y,placeholder:`AKIA... (AWS access key id)`,help:`Amazon Bedrock uses standard AWS credentials (AWS_ACCESS_KEY_ID / AWS_SECRET_ACCESS_KEY) plus AWS_REGION. This field sets AWS_ACCESS_KEY_ID in .env.local.`},openai:{icon:l,placeholder:`sk-proj-...`,help:`Stored securely in your root .env.local file. Overrides the active OPENAI_API_KEY environment variable.`},"openai-chat-completions":{icon:l,placeholder:`sk-... or nvapi-...`,help:`OpenAI-compatible Chat Completions root (e.g. https://opencode.ai/zen/v1). Paste …/chat/completions if you want — it is normalized. Requires API key, base URL, and model name.`},"openai-chat-completions-model":{icon:l,placeholder:`meta/llama-3.1-70b-instruct`,help:`Gateway model name registered when /models is empty or incomplete.`},anthropic:{icon:o,placeholder:`sk-ant-...`,help:`Stored securely in your root .env.local file. Overrides the active ANTHROPIC_API_KEY environment variable.`},"google-vertex":{icon:s,placeholder:`Path to service account JSON, or credentials text...`,help:`Stored securely in your root .env.local file. Overrides the active GOOGLE_APPLICATION_CREDENTIALS environment variable.`},google:{icon:h,placeholder:`AIzaSy...`,help:`Stored securely in your root .env.local file. Overrides the active GEMINI_API_KEY environment variable.`},mistral:{icon:T,placeholder:`Your Mistral API key...`,help:`Stored securely in your root .env.local file. Overrides the active MISTRAL_API_KEY environment variable.`},groq:{icon:D,placeholder:`gsk_...`,help:`Stored securely in your root .env.local file. Overrides the active GROQ_API_KEY environment variable.`},openrouter:{icon:c,placeholder:`sk-or-...`,help:`Stored securely in your root .env.local file. Overrides the active OPENROUTER_API_KEY environment variable.`},"vercel-ai-gateway":{icon:u,placeholder:`Your AI Gateway API key...`,help:`Stored securely in your root .env.local file. Overrides the active AI_GATEWAY_API_KEY environment variable.`},"github-copilot":{icon:o,placeholder:`OAuth subscription`,help:`GitHub Copilot uses device-code OAuth. Sign in from Settings; credentials are stored in auth.json.`},"openai-codex":{icon:l,placeholder:`OAuth subscription`,help:`OpenAI Codex uses ChatGPT OAuth. Sign in from Settings; credentials are stored in auth.json.`},ollama:{icon:_,placeholder:`http://localhost:11434 (default)`,help:`Configure local Ollama execution endpoints. Overrides the active OLLAMA_BASE_URL environment variable.`},custom:{icon:d,placeholder:`sk-... / provider key`,help:`Register any OpenAI-, Anthropic-, or Google-compatible endpoint through Pi's native custom-provider mechanism. Requires a name, API key, https base URL, API family, and at least one model id. Deployed accounts only.`}},k=e(),A=`size-4`;function j({className:e}){return(0,k.jsx)(`svg`,{viewBox:`0 0 24 24`,className:t(A,e),fill:`currentColor`,"aria-hidden":!0,children:(0,k.jsx)(`path`,{d:`M22.282 9.821a5.985 5.985 0 0 0-.516-4.91 6.046 6.046 0 0 0-6.51-2.9A6.065 6.065 0 0 0 4.981 4.18a5.985 5.985 0 0 0-3.998 2.9 6.046 6.046 0 0 0 .743 7.097 5.98 5.98 0 0 0 .51 4.911 6.051 6.051 0 0 0 6.515 2.9A5.985 5.985 0 0 0 13.26 24a6.056 6.056 0 0 0 5.772-4.206 5.99 5.99 0 0 0 3.997-2.9 6.056 6.056 0 0 0-.747-7.073zM13.26 22.43a4.476 4.476 0 0 1-2.876-1.04l.141-.081 4.779-2.758a.795.795 0 0 0 .392-.681v-6.737l2.02 1.168a.071.071 0 0 1 .038.052v5.583a4.504 4.504 0 0 1-4.494 4.494zM3.6 18.304a4.47 4.47 0 0 1-.535-3.014l.142.085 4.783 2.759a.771.771 0 0 0 .78 0l5.843-3.368v2.332a.08.08 0 0 1-.033.062L9.74 19.95a4.5 4.5 0 0 1-6.14-1.646zM2.34 7.896a4.485 4.485 0 0 1 2.366-1.973V11.6a.766.766 0 0 0 .388.676l5.814 3.354-2.02 1.168a.076.076 0 0 1-.071 0l-4.83-2.786A4.504 4.504 0 0 1 2.34 7.872zm16.597 3.855l-5.833-3.387L15.119 7.2a.076.076 0 0 1 .071 0l4.83 2.791a4.494 4.494 0 0 1-.676 8.105v-5.678a.079.079 0 0 0-.041-.067zm2.01-3.023l-.141-.085-4.774-2.782a.776.776 0 0 0-.785 0L9.409 9.23V6.897a.066.066 0 0 1 .028-.061l4.83-2.787a4.5 4.5 0 0 1 6.68 4.66zM8.306 12.683l-2.02-1.163a.08.08 0 0 1-.038-.057V6.074a4.5 4.5 0 0 1 7.375-3.453l-.142.08L8.704 5.46a.795.795 0 0 0-.392.681zm1.098-2.016l2.602-1.5 2.607 1.5v2.999l-2.597 1.5-2.607-1.5z`})})}function M({className:e}){return(0,k.jsx)(`svg`,{viewBox:`0 0 24 24`,className:t(A,e),fill:`currentColor`,"aria-hidden":!0,children:(0,k.jsx)(`path`,{d:`M17.305 14.256h-3.778l-2.28-7.23h-.005l-2.32 7.23H5.145L9.93 3h4.14l4.235 11.256zm-8.48 2.37h6.37l1.16 3.374h3.465L14.18 3h-4.36L4.15 20h3.465l1.21-3.374z`})})}function N({className:e}){return(0,k.jsxs)(`svg`,{viewBox:`0 0 24 24`,className:t(A,e),fill:`currentColor`,"aria-hidden":!0,children:[(0,k.jsx)(`path`,{d:`M21.6 12.23c0-.71-.06-1.4-.18-2.05H12v3.87h5.38a4.6 4.6 0 0 1-2 3.02v2.5h3.24c1.89-1.74 2.98-4.3 2.98-7.34z`}),(0,k.jsx)(`path`,{d:`M12 22c2.7 0 4.96-.89 6.61-2.42l-3.24-2.5c-.9.6-2.04.96-3.37.96-2.59 0-4.78-1.75-5.56-4.1H3.1v2.58A9.99 9.99 0 0 0 12 22z`}),(0,k.jsx)(`path`,{d:`M6.44 13.94A5.99 5.99 0 0 1 6.12 12c0-.67.12-1.33.32-1.94V7.48H3.1A9.99 9.99 0 0 0 2 12c0 1.61.39 3.14 1.1 4.52l3.34-2.58z`}),(0,k.jsx)(`path`,{d:`M12 5.96c1.47 0 2.79.5 3.82 1.5l2.87-2.87C16.95 2.99 14.7 2 12 2A9.99 9.99 0 0 0 3.1 7.48l3.34 2.58C7.22 7.71 9.41 5.96 12 5.96z`})]})}function P({className:e}){return(0,k.jsx)(`svg`,{viewBox:`0 0 24 24`,className:t(A,e),fill:`currentColor`,"aria-hidden":!0,children:(0,k.jsx)(`path`,{d:`M12 .3a12 12 0 0 0-3.8 23.4c.6.1.8-.3.8-.6v-2.2c-3.3.7-4-1.4-4-1.4-.5-1.4-1.3-1.8-1.3-1.8-1.1-.7.1-.7.1-.7 1.2.1 1.8 1.2 1.8 1.2 1.1 1.8 2.8 1.3 3.5 1 .1-.8.4-1.3.8-1.6-2.7-.3-5.5-1.3-5.5-6 0-1.3.5-2.4 1.2-3.2-.1-.3-.5-1.5.1-3.2 0 0 1-.3 3.3 1.2a11.5 11.5 0 0 1 6 0c2.3-1.5 3.3-1.2 3.3-1.2.6 1.7.2 2.9.1 3.2.8.8 1.2 1.9 1.2 3.2 0 4.6-2.9 5.6-5.5 5.9.4.4.8 1.1.8 2.2v3.3c0 .3.2.7.8.6A12 12 0 0 0 12 .3z`})})}function F({provider:e,api:r,className:a}){let o=e.toLowerCase();if(n(o)||o===`custom`)return r===`anthropic-messages`?(0,k.jsx)(M,{className:a}):r===`google-genai`?(0,k.jsx)(N,{className:a}):(0,k.jsx)(j,{className:a});if(o===`openai`||o===`openai-codex`||i(o))return(0,k.jsx)(j,{className:a});if(o===`anthropic`)return(0,k.jsx)(M,{className:a});if(o===`google`||o===`google-vertex`)return(0,k.jsx)(N,{className:a});if(o===`github-copilot`||o===`github`)return(0,k.jsx)(P,{className:a});let s=e in O?O[e].icon:_;return(0,k.jsx)(s,{className:t(A,a),"aria-hidden":!0})}function I(e){return r.find(t=>t.id===e)?.name??e}export{x as a,C as i,F as n,_ as o,O as r,p as s,I as t};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as e}from"./rolldown-runtime-hePW80VL.js";import{t}from"./react-Cvdyeg_0.js";import{t as n}from"./jsx-runtime-NZYk81nU.js";import{o as r,t as i}from"./ipython-tool-
|
|
1
|
+
import{r as e}from"./rolldown-runtime-hePW80VL.js";import{t}from"./react-Cvdyeg_0.js";import{t as n}from"./jsx-runtime-NZYk81nU.js";import{o as r,t as i}from"./ipython-tool-Bs6ESZe1.js";import{t as a}from"./square-terminal-BLq2bQVF.js";import{t as o}from"./triangle-alert-BuzmrrqI.js";var s=e(t(),1),c=n(),l={running:{toolState:`input-streaming`,label:`Running`},error:{toolState:`output-error`,label:`Failed`},cancelled:{toolState:`aborted`,label:`Cancelled`},success:{toolState:`output-available`,label:`Completed`}};function u(e){return l[e].toolState}function d(e){return{type:`tool-IPython`,toolCallId:e.sourceToolCallId??e.id,state:u(e.status),input:e.input,output:e.output,backgroundOutput:e.backgroundOutput}}function f(e){return l[e].label}function p({artifact:e,index:t,selected:n}){let a=(0,s.useRef)(null);return(0,s.useEffect)(()=>{n&&requestAnimationFrame(()=>{a.current?.focus({preventScroll:!0}),a.current?.scrollIntoView({block:`nearest`})})},[e.id,n]),(0,c.jsxs)(`article`,{ref:a,tabIndex:-1,className:`overflow-hidden rounded-md border border-border/60 bg-background outline-none focus-visible:ring-2 focus-visible:ring-ring`,"data-repl-run-id":e.id,children:[(0,c.jsxs)(`div`,{className:`flex min-w-0 items-center gap-2 border-b border-border/50 px-2.5 py-1.5`,children:[(0,c.jsx)(r,{className:`size-3.5 shrink-0 text-foreground/45`}),(0,c.jsxs)(`span`,{className:`min-w-0 flex-1 truncate text-caption font-medium text-foreground/70`,children:[`Cell `,t+1]}),(0,c.jsx)(`span`,{className:`shrink-0 text-micro text-foreground/40`,children:f(e.status)})]}),(0,c.jsx)(`div`,{className:`p-2`,children:(0,c.jsx)(i,{part:d(e)})})]})}function m({artifactRuns:e=[],selectedArtifactId:t,kernelDiagnostics:n}){let r=e.flatMap(e=>e.artifacts).filter(e=>e.kind===`ipython`);return(0,c.jsxs)(`section`,{"aria-label":`REPL runs`,className:`space-y-2 pb-1`,children:[(0,c.jsxs)(`div`,{className:`flex min-w-0 items-center gap-2 rounded-sm bg-foreground/5 px-2 py-1.5`,children:[(0,c.jsx)(a,{className:`size-3.5 shrink-0 text-foreground/45`}),(0,c.jsx)(`span`,{className:`min-w-0 flex-1 truncate text-label font-medium text-foreground/70`,children:`IPython cells`}),(0,c.jsx)(`span`,{className:`shrink-0 text-micro text-foreground/40`,children:r.length>0?r.length:`none yet`})]}),n?(0,c.jsxs)(`details`,{className:`overflow-hidden rounded-md border border-border/60 bg-background`,children:[(0,c.jsxs)(`summary`,{className:`flex min-w-0 cursor-pointer items-center gap-2 px-2.5 py-1.5`,children:[(0,c.jsx)(o,{className:`size-3.5 shrink-0 text-foreground/45`}),(0,c.jsx)(`span`,{className:`min-w-0 flex-1 truncate text-caption font-medium text-foreground/70`,children:`Kernel diagnostics`}),(0,c.jsx)(`span`,{className:`shrink-0 text-micro text-foreground/40`,children:n.truncated?`tail`:`stderr`})]}),(0,c.jsx)(`pre`,{className:`max-h-48 overflow-auto border-t border-border/50 px-2.5 py-1.5 font-mono text-caption leading-4 whitespace-pre-wrap text-foreground/70`,children:n.tail})]}):null,r.length===0?(0,c.jsx)(`p`,{className:`px-2 text-caption leading-4 text-foreground/45`,children:`Executed IPython cells and their output will appear here.`}):(0,c.jsx)(`div`,{className:`space-y-2`,"data-testid":`repl-run-list`,children:r.map((e,n)=>(0,c.jsx)(p,{artifact:e,index:n,selected:e.id===t},e.id))})]})}export{m as ReplPanelContent};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{t as e}from"./jsx-runtime-NZYk81nU.js";import{r as t}from"./resource-helpers-CKbSmzpw.js";import{n}from"./file-text-cqOanUYv.js";import{a as r,i,t as a}from"./skeleton-loaders-
|
|
1
|
+
import{t as e}from"./jsx-runtime-NZYk81nU.js";import{r as t}from"./resource-helpers-CKbSmzpw.js";import{n}from"./file-text-cqOanUYv.js";import{a as r,i,t as a}from"./skeleton-loaders-B28mF4tJ.js";var o=e();function s({error:e,loading:s,resources:c,workspace:l}){let u=t(c,l);return(0,o.jsxs)(o.Fragment,{children:[e&&(0,o.jsx)(r,{icon:n,title:`Unable to load resources`,description:e.message}),!e&&s&&!c&&(0,o.jsx)(a,{}),!e&&c&&u.map(e=>(0,o.jsx)(i,{...e},e.id))]})}export{s as ResourcesPanelContent};
|
package/dist/web/client/assets/{right-panel-registry-CF7GLJrk.js → right-panel-registry-CIfLdAfS.js}
RENAMED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/artifacts-panel-
|
|
2
|
-
import{r as e}from"./rolldown-runtime-hePW80VL.js";import{t}from"./react-Cvdyeg_0.js";import{t as n}from"./jsx-runtime-NZYk81nU.js";import{t as r}from"./createLucideIcon-CQY2ECfR.js";import{t as i}from"./bot-DETalD3q.js";import{t as a}from"./folder-COBtkKZa.js";import{t as o}from"./git-branch-DZEh2mM2.js";import{t as s}from"./package-BkC-HSi-.js";import{i as c,n as l}from"./right-panel-context-DHKWoetk.js";import{t as u}from"./square-terminal-BLq2bQVF.js";import{t as d}from"./preload-helper-BZ1Pz5am.js";import{t as f}from"./skeleton-
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/artifacts-panel-DVY0-7X0.js","assets/rolldown-runtime-hePW80VL.js","assets/react-Cvdyeg_0.js","assets/jsx-runtime-NZYk81nU.js","assets/button-Bqms7ZKX.js","assets/react-dom-B7th3XGm.js","assets/utils-CFDGLzf6.js","assets/createBaseUIEventDetails-DklXWq23.js","assets/dist-BogNzeK9.js","assets/clsx-DB0hHKMi.js","assets/createLucideIcon-CQY2ECfR.js","assets/tool-result-DWUV8hEz.js","assets/ease-2gsl7ABx.js","assets/is-ref-object-BD8OGh9C.js","assets/use-reduced-motion-BzGFRmoG.js","assets/use-presence-rcUnm8Z7.js","assets/check-BTwIaCtI.js","assets/chevron-down-Bse1ggZM.js","assets/circle-check-DBhaebaM.js","assets/action-swap-roll-Bek47h-E.js","assets/loader-circle-BmKYM_C4.js","assets/rotate-ccw-DLkfsmG9.js","assets/square-terminal-BLq2bQVF.js","assets/wrench-BYnD147U.js","assets/preload-helper-BZ1Pz5am.js","assets/chevron-right-BPCB1mOg.js","assets/package-BkC-HSi-.js","assets/openui-renderer-ByP8yQph.js","assets/card-DPCbcrMK.js","assets/select-Dp15z1lf.js","assets/surface-context-VvasJf_6.js","assets/useBaseUiId-BlzQUkVG.js","assets/input-DECT4vz2.js","assets/useControlled-CkQSkSv1.js","assets/safe-external-url-BnEhm9A0.js","assets/chunk-YOKDWASO-Dego39cu.js","assets/lib-ChrQ49PO.js","assets/character-entities-legacy-Wut6vMuj.js","assets/badge-9wr3qUp1.js","assets/dist-BJJVCio8.js","assets/markdown-B2tpfUKu.js","assets/switch-eqXIzePo.js","assets/dialog-DuCD5hRq.js","assets/x-DEU6H3M-.js","assets/openui-utils-DawGoQNp.js","assets/prime-agent-artifacts-C-g1VPiW.js","assets/collapsible-DsbKpD_Y.js","assets/resources-panel-DD6iWOF3.js","assets/resource-helpers-CKbSmzpw.js","assets/file-text-cqOanUYv.js","assets/plug-wCz-036u.js","assets/skeleton-loaders-B28mF4tJ.js","assets/skeleton-DNAr5ULI.js","assets/session-insights-panel-B0rl37lo.js","assets/repl-panel-BoDNpJOe.js","assets/ipython-tool-Bs6ESZe1.js","assets/triangle-alert-BuzmrrqI.js","assets/subagents-panel-CTvtU0Sh.js","assets/bot-DETalD3q.js","assets/subagent-utils-CM2qX9BG.js","assets/citations-C7USoVdz.js","assets/sparkles-C4VQyMox.js","assets/tokens-CtP2s1Y3.js","assets/workspace-path-nav-umvkE4ut.js","assets/notify-mVA6z9Ly.js","assets/toast-DRDVljMF.js","assets/subagent-transcript-BCUhqVvi.js","assets/session-tool-renderer-BFC3-Md4.js","assets/eye-iNSvs0UA.js","assets/git-branch-DZEh2mM2.js","assets/search-Cb6fFWew.js","assets/terminal-Ceucj7us.js","assets/dist-QgsZ1U9l.js","assets/range-BWOHiLNe.js","assets/surfaces-m1vs5aMP.js","assets/tool-timeline-4k2iSEky.js","assets/refresh-cw-CqPE3kNY.js","assets/workspace-panel-BNeGABPi.js","assets/layout-constants-C4hoW3YP.js","assets/safe-storage-s25GrfpH.js","assets/chat-helpers-Bj7_hES7.js","assets/folder-COBtkKZa.js","assets/hard-drive-B3opVeEB.js","assets/session-tree-panel-CnHOsPzz.js","assets/alert-dialog-OoasP5iO.js"])))=>i.map(i=>d[i]);
|
|
2
|
+
import{r as e}from"./rolldown-runtime-hePW80VL.js";import{t}from"./react-Cvdyeg_0.js";import{t as n}from"./jsx-runtime-NZYk81nU.js";import{t as r}from"./createLucideIcon-CQY2ECfR.js";import{t as i}from"./bot-DETalD3q.js";import{t as a}from"./folder-COBtkKZa.js";import{t as o}from"./git-branch-DZEh2mM2.js";import{t as s}from"./package-BkC-HSi-.js";import{i as c,n as l}from"./right-panel-context-DHKWoetk.js";import{t as u}from"./square-terminal-BLq2bQVF.js";import{t as d}from"./preload-helper-BZ1Pz5am.js";import{t as f}from"./skeleton-DNAr5ULI.js";var p={name:`activity`,size:24,node:[[`path`,{d:`M22 12h-2.48a2 2 0 0 0-1.93 1.46l-2.35 8.36a.25.25 0 0 1-.48 0L9.24 2.18a.25.25 0 0 0-.48 0l-2.35 8.36A2 2 0 0 1 4.49 12H2`,key:`169zse`}]]};p.node;var m=r(p),h={name:`library`,size:24,node:[[`path`,{d:`m16 6 4 14`,key:`ji33uf`}],[`path`,{d:`M12 6v14`,key:`1n7gus`}],[`path`,{d:`M8 8v12`,key:`1gg7y9`}],[`path`,{d:`M4 4v16`,key:`6qkkli`}]]};h.node;var g=r(h),_=e(t(),1),v=n(),y=(0,_.lazy)(()=>d(async()=>{let{ArtifactsPanelContent:e}=await import(`./artifacts-panel-DVY0-7X0.js`);return{ArtifactsPanelContent:e}},__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46])).then(({ArtifactsPanelContent:e})=>({default:e}))),b=(0,_.lazy)(()=>d(async()=>{let{ResourcesPanelContent:e}=await import(`./resources-panel-DD6iWOF3.js`);return{ResourcesPanelContent:e}},__vite__mapDeps([47,3,1,48,10,2,49,26,50,51,52,6])).then(({ResourcesPanelContent:e})=>({default:e}))),x=(0,_.lazy)(()=>d(async()=>{let{SessionInsightsPanel:e}=await import(`./session-insights-panel-B0rl37lo.js`);return{SessionInsightsPanel:e}},__vite__mapDeps([53,3,1])).then(({SessionInsightsPanel:e})=>({default:e}))),S=(0,_.lazy)(()=>d(async()=>{let{ReplPanelContent:e}=await import(`./repl-panel-BoDNpJOe.js`);return{ReplPanelContent:e}},__vite__mapDeps([54,1,2,3,55,6,10,22,56])).then(({ReplPanelContent:e})=>({default:e}))),C=(0,_.lazy)(()=>d(async()=>{let{SubagentsPanelContent:e}=await import(`./subagents-panel-CTvtU0Sh.js`);return{SubagentsPanelContent:e}},__vite__mapDeps([57,1,2,3,4,5,6,7,8,9,58,10,59,12,13,14,15,60,17,34,19,61,16,25,49,18,20,43,24,44,62,63,64,65,56,66,67,11,21,22,23,55,68,69,70,71,72,36,37,46,31,33,73,74,75,76,45])).then(({SubagentsPanelContent:e})=>({default:e}))),w=(0,_.lazy)(()=>d(async()=>{let{WorkspacePanelContent:e}=await import(`./workspace-panel-BNeGABPi.js`);return{WorkspacePanelContent:e}},__vite__mapDeps([77,1,2,3,6,12,13,14,15,48,10,49,26,50,25,78,79,80,81,82,63,24,51,52])).then(({WorkspacePanelContent:e})=>({default:e}))),T=(0,_.lazy)(()=>d(async()=>{let{SessionTreePanel:e}=await import(`./session-tree-panel-CnHOsPzz.js`);return{SessionTreePanel:e}},__vite__mapDeps([83,1,2,3,4,5,6,7,8,9,69,10,84,30,31])).then(({SessionTreePanel:e})=>({default:e})));function E(){return(0,v.jsxs)(`div`,{className:`flex min-h-32 flex-col gap-3 p-4`,"aria-label":`Loading panel`,children:[(0,v.jsx)(f,{className:`h-5 w-32`}),(0,v.jsx)(f,{className:`h-20 w-full`})]})}function D(){let e=l();return(0,v.jsx)(_.Suspense,{fallback:(0,v.jsx)(E,{}),children:(0,v.jsx)(x,{activityLabel:e.activityLabel,artifactRuns:e.artifactRuns,chatMode:e.chatMode,transcriptSummary:e.transcriptSummary,planLabel:e.planLabel,presentation:e.presentation,queue:e.queue,selectedModelKey:e.selectedModelKey,sessionId:e.sessionId,status:e.status,thinkingLevel:e.thinkingLevel})})}function O(){let e=l(),t=c();return(0,v.jsx)(_.Suspense,{fallback:(0,v.jsx)(E,{}),children:(0,v.jsx)(b,{error:e.resourcesError,loading:e.resourcesLoading,resources:e.resources,workspace:t.workspaceTree})})}function k(){let e=c();return(0,v.jsx)(_.Suspense,{fallback:(0,v.jsx)(E,{}),children:(0,v.jsx)(w,{error:e.workspaceError,loadWorkspaceFile:e.loadWorkspaceFile,loading:e.workspaceLoading,onSelectedPathChange:e.setSelectedWorkspacePath,selectedPath:e.selectedWorkspacePath,workspace:e.workspaceTree})})}function A(){let e=l();return(0,v.jsx)(_.Suspense,{fallback:(0,v.jsx)(E,{}),children:(0,v.jsx)(y,{artifactRuns:e.artifactRuns,openUIBlocks:e.transcriptSummary.openUIBlocks,onOpenUIAction:e.onOpenUIAction,selectedArtifactId:e.selectedArtifactId,status:e.status})})}function j(){let e=l();return(0,v.jsx)(_.Suspense,{fallback:(0,v.jsx)(E,{}),children:(0,v.jsx)(S,{artifactRuns:e.artifactRuns,selectedArtifactId:e.selectedArtifactId,kernelDiagnostics:e.presentation.kernelDiagnostics})})}function M(){let e=l();return(0,v.jsx)(_.Suspense,{fallback:(0,v.jsx)(E,{}),children:(0,v.jsx)(C,{agents:e.presentation.rlmChildren,loadSession:e.loadSubagentSession,onOpenTab:e.onOpenSubagentTab,parentSessionId:e.sessionId,tree:e.presentation.rlmTree})})}function N(){let e=l();return(0,v.jsx)(_.Suspense,{fallback:(0,v.jsx)(E,{}),children:(0,v.jsx)(T,{sessionId:e.sessionId,snapshot:e.sessionTreeSnapshot,loading:e.sessionTreeLoading,error:e.sessionTreeError,isStreaming:e.isSessionTreeStreaming,selectedEntryId:e.selectedSessionTreeEntryId,onSelectEntry:e.selectSessionTreeEntry,onRefresh:e.refreshSessionTree,onRewind:e.rewindSessionTree})})}var P={resources:{id:`resources`,order:0,title:`Resources`,ariaLabel:`Resources`,commandLabel:`Open Resources`,commandKeywords:[`resources`,`skills`,`panels`],icon:g,dataTestid:`pi-resources-canvas`,mobileDataTestid:`pi-resources-mobile-panel`,showInLauncher:!0,badgeSource:`resources`,loadingSource:`resources`,refreshSource:`resources`,component:O},workspace:{id:`workspace`,order:1,title:`Workspace`,ariaLabel:`Workspace`,commandLabel:`Open Workspace`,commandKeywords:[`workspace`,`files`,`panels`],icon:a,dataTestid:`pi-workspace-canvas`,mobileDataTestid:`pi-workspace-mobile-panel`,showInLauncher:!0,badgeSource:void 0,loadingSource:`workspace`,refreshSource:`workspace`,component:k},artifacts:{id:`artifacts`,order:2,title:`Artifacts`,ariaLabel:`Artifacts`,commandLabel:`Open Artifacts`,commandKeywords:[`artifacts`,`reports`,`datasets`,`panels`],icon:s,dataTestid:`pi-artifacts-canvas`,mobileDataTestid:`pi-artifacts-mobile-panel`,showInLauncher:!0,badgeSource:`artifacts`,loadingSource:void 0,refreshSource:void 0,component:A},repl:{id:`repl`,order:3,title:`REPL`,ariaLabel:`REPL runs`,commandLabel:`Open REPL`,commandKeywords:[`repl`,`ipython`,`python`,`cells`,`panels`],icon:u,dataTestid:`pi-repl-canvas`,mobileDataTestid:`pi-repl-mobile-panel`,showInLauncher:!0,badgeSource:`repl`,loadingSource:void 0,refreshSource:void 0,component:j},subagents:{id:`subagents`,order:4,title:`Subagents`,ariaLabel:`Subagents`,commandLabel:`Open Subagents`,commandKeywords:[`subagents`,`agents`,`threads`,`delegation`,`panels`],icon:i,dataTestid:`pi-subagents-canvas`,mobileDataTestid:`pi-subagents-mobile-panel`,showInLauncher:!1,badgeSource:void 0,loadingSource:void 0,refreshSource:void 0,component:M},"session-insights":{id:`session-insights`,order:5,title:`Session insights`,ariaLabel:`Session insights`,commandLabel:`Open Session Insights`,commandKeywords:[`session`,`insights`,`activity`,`panels`],icon:m,dataTestid:`pi-session-insights-canvas`,mobileDataTestid:`pi-session-insights-mobile-panel`,showInLauncher:!0,badgeSource:void 0,loadingSource:void 0,refreshSource:void 0,component:D},"session-tree":{id:`session-tree`,order:6,title:`Session tree`,ariaLabel:`Session tree`,commandLabel:`Open Session Tree`,commandKeywords:[`session`,`tree`,`branch`,`rewind`,`history`,`panels`],icon:o,dataTestid:`pi-session-tree-canvas`,mobileDataTestid:`pi-session-tree-mobile-panel`,showInLauncher:!0,badgeSource:void 0,loadingSource:void 0,refreshSource:void 0,component:N}},F=Object.values(P).sort((e,t)=>e.order-t.order).filter(e=>e.showInLauncher!==!1);function I(e){return P[e]}export{I as n,g as r,F as t};
|