@qredence/fleet 0.10.2 → 0.10.4

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 (95) hide show
  1. package/CHANGELOG.md +20 -0
  2. package/dist/runtime-manifest.json +14 -14
  3. package/dist/web/client/assets/{artifacts-panel-CfWH5cQn.js → artifacts-panel-CDuvwZXW.js} +1 -1
  4. package/dist/web/client/assets/{chat-command-palette-CKGrP-Ke.js → chat-command-palette-DSpwG3Ph.js} +1 -1
  5. package/dist/web/client/assets/{ipython-tool-bieUhw9K.js → cpython-tool-CcGMkNQ4.js} +1 -1
  6. package/dist/web/client/assets/globals-CR3boQb2.css +2 -0
  7. package/dist/web/client/assets/index-BpqhS0Xv.js +12 -0
  8. package/dist/web/client/assets/prime-agent-artifacts-CuR1D_ch.js +5 -0
  9. package/dist/web/client/assets/reasoning-line-B79r9oqP.js +1 -0
  10. package/dist/web/client/assets/{repl-panel-5xgkDXO5.js → repl-panel-Dj0nX5A6.js} +1 -1
  11. package/dist/web/client/assets/right-panel-registry-HNH3niQ8.js +2 -0
  12. package/dist/web/client/assets/routes-CJRPrnVB.js +14 -0
  13. package/dist/web/client/assets/session-activity-panel-Dvy044_T.js +1 -0
  14. package/dist/web/client/assets/{session-insights-panel-BXEmuJKf.js → session-insights-panel-Bltz_o6C.js} +1 -1
  15. package/dist/web/client/assets/{session-tool-renderer-CGMatufW.js → session-tool-renderer-BLFqj28b.js} +7 -7
  16. package/dist/web/client/assets/{subagent-chat-panel-xm-zBsFL.js → subagent-chat-panel-Cr57arv9.js} +1 -1
  17. package/dist/web/client/assets/subagent-transcript-CqAEPEJp.js +1 -0
  18. package/dist/web/client/assets/subagents-panel-DCjSDcM4.js +1 -0
  19. package/dist/web/client/assets/tool-action-icon-vTW_L1Fj.js +1 -0
  20. package/dist/web/client/assets/tool-output-normalizer-DDoLNo4P.js +4 -0
  21. package/dist/web/client/assets/tool-part-normalizer-DdgmYc9z.js +4 -0
  22. package/dist/web/client/assets/{tool-result-C_RIixge.js → tool-result-DxWDQJSF.js} +3 -3
  23. package/dist/web/client/assets/tool-timeline-BoWCZg0K.js +2 -0
  24. package/dist/web/client/bundle-budget.json +5 -5
  25. package/dist/web/server/{_tanstack-start-manifest_v-CGHXgy5L-KSOQEPW7.js → _tanstack-start-manifest_v-BhSwNUm2-HUY424SL.js} +9 -9
  26. package/dist/web/server/{agents-DOgCHixY-KUZP2VDO.js → agents-DOgCHixY-U362NTZW.js} +1 -1
  27. package/dist/web/server/{agents-page-BdiR9H8w-M6X6SXMF.js → agents-page-BdiR9H8w-WK3UCXSA.js} +7 -7
  28. package/dist/web/server/{artifacts-panel-CHPMYc6C-OWIYGSRM.js → artifacts-panel-C9OUKEU0-N74QLS6E.js} +19 -19
  29. package/dist/web/server/{chat-command-palette-VF4C0ttN-GY52QBFP.js → chat-command-palette-CnKy1Q4g-GJJGAVQ4.js} +13 -13
  30. package/dist/web/server/{chunk-GNXIDE26.js → chunk-2R5CY7DW.js} +2 -2
  31. package/dist/web/server/{chunk-W72ZBCJ5.js → chunk-37MAYG3X.js} +15 -15
  32. package/dist/web/server/{chunk-MDGXRDJM.js → chunk-3KHS4HHI.js} +13 -13
  33. package/dist/web/server/{chunk-BD7YKYWL.js → chunk-4ISLMQ2M.js} +3 -3
  34. package/dist/web/server/{chunk-FSQWWR2M.js → chunk-4ZKBYAHH.js} +1 -1
  35. package/dist/web/server/{chunk-BLGKLQJG.js → chunk-63IBRYZL.js} +6 -6
  36. package/dist/web/server/{chunk-TXZDDJCT.js → chunk-6OZY4XH7.js} +3 -3
  37. package/dist/web/server/{chunk-7DUB7HGF.js → chunk-A6LRK2MC.js} +174 -51
  38. package/dist/web/server/{chunk-PBNUO4IN.js → chunk-BG4DVGLL.js} +2 -2
  39. package/dist/web/server/{chunk-KSGGSGOA.js → chunk-BVSDXFQ6.js} +1 -1
  40. package/dist/web/server/{chunk-35RIM6VP.js → chunk-CPB76YQU.js} +1251 -740
  41. package/dist/web/server/{chunk-HAFELESQ.js → chunk-ETTLRHDY.js} +3 -3
  42. package/dist/web/server/{chunk-2ETDIMNM.js → chunk-ETVLY2KE.js} +1 -1
  43. package/dist/web/server/{chunk-BZ2EAUZZ.js → chunk-F6P2FTIT.js} +3 -3
  44. package/dist/web/server/{chunk-CE7U5QB2.js → chunk-FGOT5FGH.js} +2 -2
  45. package/dist/web/server/{chunk-GW7HYECO.js → chunk-FSIRN7F7.js} +105 -95
  46. package/dist/web/server/{chunk-R4BS3KYI.js → chunk-FVTCXLYO.js} +12 -12
  47. package/dist/web/server/{chunk-NDU4LK5M.js → chunk-IJZDCYFG.js} +15 -10
  48. package/dist/web/server/{chunk-FT7HNDR5.js → chunk-JR5TXTGV.js} +5 -5
  49. package/dist/web/server/{chunk-PQVTLG3E.js → chunk-NEMK2RTM.js} +4 -4
  50. package/dist/web/server/{chunk-AXN2OBPF.js → chunk-O5CPI2JH.js} +1 -1
  51. package/dist/web/server/{chunk-Q4ECIATK.js → chunk-ORO7KXHF.js} +4 -4
  52. package/dist/web/server/{chunk-VDEUVEWL.js → chunk-U26ZMWVI.js} +300 -300
  53. package/dist/web/server/{chunk-APOS34PW.js → chunk-U73UDYRF.js} +2 -2
  54. package/dist/web/server/{chunk-P3ZJ6L7V.js → chunk-USP4O3V7.js} +2 -2
  55. package/dist/web/server/{chunk-FNV3WZXL.js → chunk-VFW2KPLD.js} +2 -2
  56. package/dist/web/server/{chunk-5MOXRFX6.js → chunk-Y3YE73VQ.js} +45 -5
  57. package/dist/web/server/{chunk-LYJ3XDEZ.js → chunk-ZRISZYHZ.js} +14 -14
  58. package/dist/web/server/{connectors-Dv_uPdv0-2X5VWQXK.js → connectors-Dv_uPdv0-WIJGW5CQ.js} +1 -1
  59. package/dist/web/server/{connectors-page-DW75T-uH-EKRHUZ6K.js → connectors-page-DW75T-uH-3KBZRVAT.js} +10 -10
  60. package/dist/web/server/{create-project-dialog-CSZHeLNg-EEW3DRTY.js → create-project-dialog-dwXNUwY--APUSOU5G.js} +14 -14
  61. package/dist/web/server/{fork-picker-dialog-DFpKOdAw-JPLJSYYU.js → fork-picker-dialog-DFpKOdAw-WJPMXHSE.js} +6 -6
  62. package/dist/web/server/{markdown-Cc8V9dOF-JTNTJKQU.js → markdown-Cc8V9dOF-MMI3ZBVZ.js} +4 -4
  63. package/dist/web/server/{markdown-code-gaRnbgNM-V5LIRYCD.js → markdown-code-gaRnbgNM-ND6VVJ7D.js} +4 -4
  64. package/dist/web/server/{message-queue-nQ2_kU82-KKSLYR4S.js → message-queue-nQ2_kU82-3PN7CKFG.js} +4 -4
  65. package/dist/web/server/{model-selector-list-q8bMnmhy-SPFJGUBT.js → model-selector-list-q8bMnmhy-W6JM2N7G.js} +8 -8
  66. package/dist/web/server/{openui-renderer-BkDeIpwC-S5BOLH5L.js → openui-renderer-Das3EemD-AODSN4I2.js} +15 -15
  67. package/dist/web/server/{prompt-suggestions-B67Uy5Rk-5SMTSIFQ.js → prompt-suggestions-B67Uy5Rk-6MV56U6N.js} +4 -4
  68. package/dist/web/server/{repl-panel-1kSS1UGd-POXRYDDJ.js → repl-panel-DfC-BCfn-4OZEKSFX.js} +8 -8
  69. package/dist/web/server/{resources-panel-tCQCqEQv-NJO5FRHW.js → resources-panel-BL41dm3H-UWWMTOFL.js} +11 -11
  70. package/dist/web/server/{router-DBc-HYGW-CC6DTCFR.js → router-DJDog9kJ-IHEFPUCH.js} +6 -6
  71. package/dist/web/server/{routes-CcRh_tDy-M7ZRBLVA.js → routes-BWk0YodE-CEPOI27O.js} +30 -32
  72. package/dist/web/server/server.js +1415 -1004
  73. package/dist/web/server/{session-activity-panel-CS56rTyW-J4GAZSTC.js → session-activity-panel-B56ALLHr-6PDGEA2M.js} +84 -19
  74. package/dist/web/server/{session-insights-panel-BiVObm_6-AP4FITT7.js → session-insights-panel-cS12HsWt-YX7QOWIA.js} +2 -2
  75. package/dist/web/server/{session-reasoning-panel-DlqaQNE2-RMOBVYVD.js → session-reasoning-panel-CtQUqSv9-JIXRXBH7.js} +10 -10
  76. package/dist/web/server/{session-tool-renderer-CHYJwJej-Z3K5TRIZ.js → session-tool-renderer-Co466pSk-QUTYNAOE.js} +13 -13
  77. package/dist/web/server/{session-tree-panel-B2GT3Hf_-WGHVVRRR.js → session-tree-panel-B23gApxX-44NFOCFB.js} +10 -10
  78. package/dist/web/server/{settings-dialog-7V9x-CPC-6IEB2DFH.js → settings-dialog-CdRjXyfc-IYMPCNR5.js} +17 -17
  79. package/dist/web/server/{subagent-chat-panel-Cjg1oOFO-PNWSFYNA.js → subagent-chat-panel-DwvOMUnh-EPVZRTRM.js} +16 -16
  80. package/dist/web/server/{subagents-panel-DPfqOHdw-B74PSAMP.js → subagents-panel-DlFBFoX6-SAWYBVZJ.js} +32 -31
  81. package/dist/web/server/{workspace-panel-DRaU8AWD-7AYOEM55.js → workspace-panel-CxUsWmIE-3BMZFN5O.js} +11 -11
  82. package/package.json +1 -1
  83. package/dist/web/client/assets/globals-C6h6fq-s.css +0 -2
  84. package/dist/web/client/assets/index-D3OD2pV7.js +0 -13
  85. package/dist/web/client/assets/prime-agent-artifacts-C-g1VPiW.js +0 -5
  86. package/dist/web/client/assets/reasoning-line-DGdPUMwT.js +0 -1
  87. package/dist/web/client/assets/right-panel-registry-BkBAryPm.js +0 -2
  88. package/dist/web/client/assets/routes-DgbWbQOu.js +0 -14
  89. package/dist/web/client/assets/session-activity-panel-BloVPsLJ.js +0 -1
  90. package/dist/web/client/assets/subagent-transcript-BzToBVWk.js +0 -1
  91. package/dist/web/client/assets/subagents-panel-B5ooG4sS.js +0 -1
  92. package/dist/web/client/assets/tool-output-normalizer-DDU09Zc6.js +0 -4
  93. package/dist/web/client/assets/tool-part-normalizer-CJ2sY87r.js +0 -4
  94. package/dist/web/client/assets/tool-timeline-BVY5VQ3a.js +0 -2
  95. package/dist/web/client/assets/wrench-BXX_Ah2s.js +0 -1
@@ -1,5 +0,0 @@
1
- function e(e){let t=2166136261;for(let n=0;n<e.length;n+=1)t^=e.charCodeAt(n),t=Math.imul(t,16777619);return`${e.replace(/[^a-zA-Z0-9:_-]+/g,`-`).slice(0,96)}-${(t>>>0).toString(36)}`}function t(e){if(typeof e.createdAt==`number`)return e.createdAt;if(e.createdAt instanceof Date)return e.createdAt.getTime();if(typeof e.createdAt==`string`){let t=Date.parse(e.createdAt);if(Number.isFinite(t))return t}return 0}function n(e){return typeof e==`object`&&e&&!Array.isArray(e)?e:void 0}function r(e,...t){for(let n of t)if(typeof e?.[n]==`string`)return e[n]}function i(e){if(typeof e==`string`)return e;if(Array.isArray(e))return e.flatMap(e=>{let t=n(e);return typeof t?.text==`string`?[t.text]:[]}).join(``)||void 0}function a(e,t,n,r){return n.split(`
2
- `).map((n,i)=>({id:`${e}-${t}-${r}-${i}`,type:r,content:n}))}function o(e){let t=n(e.input),i=n(e.output);return r(t,`path`,`file_path`,`filePath`)??r(i,`path`,`file_path`,`filePath`)??e.title}function s(e){let t=n(e.input),i=n(e.output),a=n(i?.details);return r(i,`diff`,`patch`)??r(a,`diff`,`patch`)??r(t,`diff`,`patch`)}function c(e){let t=n(e.input),i=n(e.output);return(Array.isArray(t?.edits)?t.edits:Array.isArray(i?.edits)?i.edits:[]).flatMap((t,i)=>{let o=n(t);if(!o)return[];let s=r(o,`oldText`,`old_string`,`before`),c=r(o,`newText`,`new_string`,`after`,`content`);return[...s===void 0?[]:a(e.id,i,s,`removed`),...c===void 0?[]:a(e.id,i,c,`added`)]})}function l(e){let t=s(e);if(t?.trim()){let n=t.split(`
3
- `).map((t,n)=>({id:`${e.id}-${n}`,type:t.startsWith(`+`)&&!t.startsWith(`+++`)?`added`:t.startsWith(`-`)&&!t.startsWith(`---`)?`removed`:`context`,content:t}));return{file:o(e),lines:n,copyText:t}}let r=c(e);if(r.length>0)return{file:o(e),lines:r,copyText:r.map(e=>`${e.type===`added`?`+`:e.type===`removed`?`-`:` `}${e.content}`).join(`
4
- `)};let l=n(e.input),u=n(e.output);if(!(e.title.toLowerCase().includes(`write`)||l?.content!==void 0))return;let d=i(l?.content)??i(u?.content);if(d===void 0)return;let f=a(e.id,0,d,`added`);return{file:o(e),lines:f,copyText:f.map(e=>`+${e.content}`).join(`
5
- `)}}function u(e){let t=e.toLowerCase();if(!(t.includes(`thinking`)||t.includes(`reasoning`)||t.includes(`question`)))return t.includes(`bash`)||t.includes(`shell`)?`bash`:t.includes(`ipython`)||t.includes(`python`)?`ipython`:t.includes(`mcp`)?`mcp`:t.includes(`edit`)||t.includes(`write`)||t.includes(`patch`)?`diff`:`generic`}function d(e,t){let n=typeof e.state==`string`?e.state:void 0;return n===`output-error`||n===`error`?`error`:n===`output-available`||n===`complete`||n===`success`?`success`:n===`cancelled`||n===`canceled`||n===`aborted`||n===`interrupted`?`cancelled`:e.error===void 0?e.output!==void 0||e.result!==void 0?`success`:t===`streaming`?`running`:`cancelled`:`error`}function f(t,n){let r=t.find(e=>e.runId===n.runId);if(!r){t.push({id:e(`artifact-run:${n.runId}`),runId:n.runId,artifacts:[n],startedAt:n.timestamp,...n.status===`running`?{}:{endedAt:n.timestamp}});return}let i=r.artifacts.findIndex(e=>e.id===n.id);i<0?r.artifacts.push(n):r.artifacts[i]=n,n.status!==`running`&&(r.endedAt=n.timestamp)}function p(r,i){let a=[];for(let o of r)for(let[r,s]of o.parts.entries()){let c=n(s);if(!c)continue;let l=c?.type;if(typeof l!=`string`||!l.startsWith(`tool-`))continue;let p=l.slice(5),m=u(p);if(!m)continue;let h=c.input??c.args,g=c.output??c.result;if(h===void 0&&g===void 0)continue;let _=typeof c.toolCallId==`string`&&c.toolCallId?c.toolCallId:`${o.id}:${r}`,v=typeof c.runId==`string`&&c.runId?c.runId:o.id,y=t(o);f(a,{id:e(`${v}:${_}:${m}`),runId:v,sourceMessageId:o.id,...typeof c.toolCallId==`string`?{sourceToolCallId:c.toolCallId}:{},kind:m,title:p,status:d(c,i),...h===void 0?{}:{input:h},...g===void 0?{}:{output:g},...typeof c.backgroundOutput==`string`?{backgroundOutput:c.backgroundOutput}:{},timestamp:y})}return a}function m(e,t,n){let r=(t?.artifactRuns??[]).map(e=>({...e,artifacts:e.artifacts.map(e=>({...e}))}));for(let t of p(e,n))for(let e of t.artifacts)f(r,e);return r}export{l as n,m as t};
@@ -1 +0,0 @@
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"./circle-check-DBhaebaM.js";import{t as i}from"./loader-circle-BmKYM_C4.js";import{a,c as o,i as s,n as c,o as l,r as u,s as d,t as f}from"./trace-IsV5RRvM.js";function p(e){let t=[],n;for(let r of e){if(r.role===`user`){n&&t.push(n),n={user:r,assistants:[]};continue}if(r.role===`assistant`){if(!n||r.source===`local`){n&&t.push(n),n={assistants:[r]};continue}n.assistants.push(r)}}return n&&t.push(n),t}var m=e(t(),1),h=n();function g({text:e,streaming:t,durationMs:n}){let[p,g]=(0,m.useState)(),_=(0,h.jsxs)(d,{status:t?`running`:void 0,children:[(0,h.jsx)(l,{children:t?(0,h.jsx)(i,{className:`animate-spin motion-reduce:animate-none`}):(0,h.jsx)(r,{})}),(0,h.jsx)(o,{children:t?`Thinking`:`Thought`}),n===void 0?null:(0,h.jsxs)(a,{children:[Math.max(0,Math.round(n/1e3)),`s`]})]});return(0,h.jsx)(f,{"data-testid":`reasoning-line`,children:e?(0,h.jsxs)(c,{open:p??t,onOpenChange:g,children:[(0,h.jsx)(s,{children:_}),(0,h.jsx)(u,{className:`whitespace-pre-wrap text-foreground`,children:e})]}):_})}export{p as n,g as t};
@@ -1,2 +0,0 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/artifacts-panel-CfWH5cQn.js","assets/rolldown-runtime-hePW80VL.js","assets/react-Cvdyeg_0.js","assets/jsx-runtime-NZYk81nU.js","assets/createLucideIcon-CQY2ECfR.js","assets/tool-result-C_RIixge.js","assets/utils-oBThwhjm.js","assets/ease-nNJMFgD_.js","assets/is-ref-object-h-bjS8Eq.js","assets/use-reduced-motion-69Ji0Qlf.js","assets/use-presence-BPZ36pcg.js","assets/check-BTwIaCtI.js","assets/chevron-down-Bse1ggZM.js","assets/circle-check-DBhaebaM.js","assets/wrench-BXX_Ah2s.js","assets/file-code-corner-BkDULqko.js","assets/loader-circle-BmKYM_C4.js","assets/square-terminal-BLq2bQVF.js","assets/preload-helper-BLdHbfdN.js","assets/code-block-pKKmFZ5w.js","assets/button-CWYjn8Zk.js","assets/useButton-CvcmqA2s.js","assets/dist-BogNzeK9.js","assets/clsx-DB0hHKMi.js","assets/open-panel-action-message-SdA1VU42.js","assets/chat-hpzV6IA6.js","assets/chevron-right-BPCB1mOg.js","assets/package-BkC-HSi-.js","assets/prime-agent-artifacts-C-g1VPiW.js","assets/openui-renderer-DG-iML7M.js","assets/react-dom-B7th3XGm.js","assets/with-selector-B_VDO56x.js","assets/card-Dj1SnGUU.js","assets/FloatingPortal-D8-EPDs2.js","assets/createBaseUIEventDetails-DIxvaz-Y.js","assets/select-DYh951qi.js","assets/useScrollLock-BcsteNzT.js","assets/useBaseUiId-lKfDDIcw.js","assets/input-CBoTMPC_.js","assets/useControlled-CkQSkSv1.js","assets/surfaces-BUjUJTyD.js","assets/markdown-CvBfbPCn.js","assets/chunk-D32TOXHM-BM74MRmz.js","assets/space-separated-tokens-Ciu5hotc.js","assets/lib-CJ9xR_xY.js","assets/lib-BvGd2E-G.js","assets/arrow-left-Bfkw0vUM.js","assets/createLucideIcon-CR62Fawq.js","assets/arrow-up-CzxAS3J9.js","assets/blocks-BmVH6RoL.js","assets/boxes-P3I8BDys.js","assets/calendar-days-CXqvsoor.js","assets/check-check-Btqs36TD.js","assets/check-IbKELFd2.js","assets/chevron-down-D5amraNy.js","assets/chevron-left-AyR1xUDb.js","assets/chevron-right-E-3OemuN.js","assets/chevron-up-DCTJ3XA-.js","assets/circle-alert-CSVDHZOw.js","assets/copy-CLOAxiYY.js","assets/ellipsis-dxrmXw37.js","assets/globe-eVRxbI0y.js","assets/image-1Usfao59.js","assets/info-DJfctP7D.js","assets/lightbulb-BwqxgRpD.js","assets/link-DreltefI.js","assets/list-VCLXYdos.js","assets/loader-circle-BAwTuoks.js","assets/menu-ykZJO64E.js","assets/message-square-CZNlkRgV.js","assets/panel-left-D8Dtrg9O.js","assets/rotate-ccw-3h4Oynp3.js","assets/search-yqNIhSMn.js","assets/share-2-2ysz1TZP.js","assets/square-code-BL_X7jLn.js","assets/square-pen-C4QgEtsH.js","assets/square-DS8IK_lK.js","assets/trash-2-BhumKxcC.js","assets/type-H-QEoR0y.js","assets/x-CXE81yPy.js","assets/character-entities-legacy-Wut6vMuj.js","assets/alert-CzWGeumf.js","assets/badge-CzQFgmVK.js","assets/useRender-CzJUrRlB.js","assets/dist-BJJVCio8.js","assets/provider-catalog-CLEDlH_v.js","assets/dialog-CK8dym6z.js","assets/DialogTitle-BlVq-tcv.js","assets/x-DEU6H3M-.js","assets/switch-BrxDfsX6.js","assets/safe-external-url-D3PJJIcM.js","assets/openui-utils-DawGoQNp.js","assets/collapsible-Bk6zCsRX.js","assets/resources-panel-aJCKt9eF.js","assets/resource-helpers-CKbSmzpw.js","assets/file-text-cqOanUYv.js","assets/plug-wCz-036u.js","assets/skeleton-loaders-DWc1eDL3.js","assets/skeleton-B_Lq2XFl.js","assets/session-insights-panel-BXEmuJKf.js","assets/repl-panel-5xgkDXO5.js","assets/ipython-tool-bieUhw9K.js","assets/triangle-alert-BuzmrrqI.js","assets/subagents-panel-B5ooG4sS.js","assets/bot-DETalD3q.js","assets/tool-part-normalizer-CJ2sY87r.js","assets/tool-output-normalizer-DDU09Zc6.js","assets/search-Cb6fFWew.js","assets/shield-check-7HDd-2Fn.js","assets/tokens-DinEQBG4.js","assets/workspace-path-nav-D-77sJ_A.js","assets/reasoning-line-DGdPUMwT.js","assets/trace-IsV5RRvM.js","assets/use-hover-capable-CLq8BADD.js","assets/subagent-transcript-BzToBVWk.js","assets/session-tool-renderer-CGMatufW.js","assets/arrow-up-right-CG9RNk4p.js","assets/eye-iNSvs0UA.js","assets/git-branch-DZEh2mM2.js","assets/sparkles-CASAe1AI.js","assets/rotate-ccw-DLkfsmG9.js","assets/dist-CprW0Qol.js","assets/refresh-cw-CqPE3kNY.js","assets/tool-timeline-BVY5VQ3a.js","assets/workspace-panel-DsZZnfkm.js","assets/layout-constants-BWf8QAZ6.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-5QgMvXoX.js","assets/alert-dialog-D-e1Pr4q.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"./activity-BPIKUzOU.js";import{t as a}from"./bot-DETalD3q.js";import{t as o}from"./folder-COBtkKZa.js";import{t as s}from"./git-branch-DZEh2mM2.js";import{t as c}from"./package-BkC-HSi-.js";import{t as l}from"./square-terminal-BLq2bQVF.js";import{t as u}from"./preload-helper-BLdHbfdN.js";import{i as d,n as f}from"./right-panel-context-CjX-HkDO.js";import{t as p}from"./skeleton-B_Lq2XFl.js";var m={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`}]]};m.node;var h=r(m),g=e(t(),1),_=n(),v=(0,g.lazy)(()=>u(async()=>{let{ArtifactsPanelContent:e}=await import(`./artifacts-panel-CfWH5cQn.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,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92])).then(({ArtifactsPanelContent:e})=>({default:e}))),y=(0,g.lazy)(()=>u(async()=>{let{ResourcesPanelContent:e}=await import(`./resources-panel-aJCKt9eF.js`);return{ResourcesPanelContent:e}},__vite__mapDeps([93,3,1,94,4,2,95,27,96,97,98,6])).then(({ResourcesPanelContent:e})=>({default:e}))),b=(0,g.lazy)(()=>u(async()=>{let{SessionInsightsPanel:e}=await import(`./session-insights-panel-BXEmuJKf.js`);return{SessionInsightsPanel:e}},__vite__mapDeps([99,3,1])).then(({SessionInsightsPanel:e})=>({default:e}))),x=(0,g.lazy)(()=>u(async()=>{let{ReplPanelContent:e}=await import(`./repl-panel-5xgkDXO5.js`);return{ReplPanelContent:e}},__vite__mapDeps([100,1,2,3,101,6,4,17,102])).then(({ReplPanelContent:e})=>({default:e}))),S=(0,g.lazy)(()=>u(async()=>{let{SubagentsPanelContent:e}=await import(`./subagents-panel-B5ooG4sS.js`);return{SubagentsPanelContent:e}},__vite__mapDeps([103,1,2,3,6,104,4,105,30,7,8,9,10,21,26,95,13,14,106,107,108,90,16,88,22,23,18,83,91,109,110,111,112,92,34,37,39,113,20,114,115,116,5,11,12,15,17,19,101,117,118,119,120,121,43,80,45,40,122,28,123])).then(({SubagentsPanelContent:e})=>({default:e}))),C=(0,g.lazy)(()=>u(async()=>{let{WorkspacePanelContent:e}=await import(`./workspace-panel-DsZZnfkm.js`);return{WorkspacePanelContent:e}},__vite__mapDeps([124,1,2,3,6,7,8,9,10,94,4,95,27,96,26,125,126,127,128,129,110,18,97,98])).then(({WorkspacePanelContent:e})=>({default:e}))),w=(0,g.lazy)(()=>u(async()=>{let{SessionTreePanel:e}=await import(`./session-tree-panel-5QgMvXoX.js`);return{SessionTreePanel:e}},__vite__mapDeps([130,1,2,3,6,118,4,20,21,22,23,131,87,34,30,33,31,36,37,40])).then(({SessionTreePanel:e})=>({default:e})));function T(){return(0,_.jsxs)(`div`,{className:`flex min-h-32 flex-col gap-3 p-4`,"aria-label":`Loading panel`,children:[(0,_.jsx)(p,{className:`h-5 w-32`}),(0,_.jsx)(p,{className:`h-20 w-full`})]})}function E(){let e=f();return(0,_.jsx)(g.Suspense,{fallback:(0,_.jsx)(T,{}),children:(0,_.jsx)(b,{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 D(){let e=f(),t=d();return(0,_.jsx)(g.Suspense,{fallback:(0,_.jsx)(T,{}),children:(0,_.jsx)(y,{error:e.resourcesError,loading:e.resourcesLoading,resources:e.resources,workspace:t.workspaceTree})})}function O(){let e=d();return(0,_.jsx)(g.Suspense,{fallback:(0,_.jsx)(T,{}),children:(0,_.jsx)(C,{error:e.workspaceError,loadWorkspaceFile:e.loadWorkspaceFile,loading:e.workspaceLoading,onSelectedPathChange:e.setSelectedWorkspacePath,selectedPath:e.selectedWorkspacePath,workspace:e.workspaceTree})})}function k(){let e=f();return(0,_.jsx)(g.Suspense,{fallback:(0,_.jsx)(T,{}),children:(0,_.jsx)(v,{artifactRuns:e.artifactRuns,openUIBlocks:e.transcriptSummary.openUIBlocks,onOpenUIAction:e.onOpenUIAction,selectedArtifactId:e.selectedArtifactId,status:e.status})})}function A(){let e=f();return(0,_.jsx)(g.Suspense,{fallback:(0,_.jsx)(T,{}),children:(0,_.jsx)(x,{artifactRuns:e.artifactRuns,selectedArtifactId:e.selectedArtifactId,kernelDiagnostics:e.presentation.kernelDiagnostics})})}function j(){let e=f();return(0,_.jsx)(g.Suspense,{fallback:(0,_.jsx)(T,{}),children:(0,_.jsx)(S,{agents:e.presentation.rlmChildren,loadSession:e.loadSubagentSession,onOpenTab:e.onOpenSubagentTab,parentSessionId:e.sessionId,tree:e.presentation.rlmTree})})}function M(){let e=f();return(0,_.jsx)(g.Suspense,{fallback:(0,_.jsx)(T,{}),children:(0,_.jsx)(w,{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 N={resources:{id:`resources`,order:0,title:`Resources`,ariaLabel:`Resources`,commandLabel:`Open Resources`,commandKeywords:[`resources`,`skills`,`panels`],icon:h,dataTestid:`pi-resources-canvas`,mobileDataTestid:`pi-resources-mobile-panel`,badgeSource:`resources`,loadingSource:`resources`,refreshSource:`resources`,component:D},workspace:{id:`workspace`,order:1,title:`Workspace`,ariaLabel:`Workspace`,commandLabel:`Open Workspace`,commandKeywords:[`workspace`,`files`,`panels`],icon:o,dataTestid:`pi-workspace-canvas`,mobileDataTestid:`pi-workspace-mobile-panel`,badgeSource:void 0,loadingSource:`workspace`,refreshSource:`workspace`,component:O},artifacts:{id:`artifacts`,order:2,title:`Artifacts`,ariaLabel:`Artifacts`,commandLabel:`Open Artifacts`,commandKeywords:[`artifacts`,`reports`,`datasets`,`panels`],icon:c,dataTestid:`pi-artifacts-canvas`,mobileDataTestid:`pi-artifacts-mobile-panel`,badgeSource:`artifacts`,loadingSource:void 0,refreshSource:void 0,component:k},repl:{id:`repl`,order:3,title:`REPL`,ariaLabel:`REPL runs`,commandLabel:`Open REPL`,commandKeywords:[`repl`,`ipython`,`python`,`cells`,`panels`],icon:l,dataTestid:`pi-repl-canvas`,mobileDataTestid:`pi-repl-mobile-panel`,badgeSource:`repl`,loadingSource:void 0,refreshSource:void 0,component:A},subagents:{id:`subagents`,order:4,title:`Subagents`,ariaLabel:`Subagents`,commandLabel:`Open Subagents`,commandKeywords:[`subagents`,`agents`,`threads`,`delegation`,`panels`],icon:a,dataTestid:`pi-subagents-canvas`,mobileDataTestid:`pi-subagents-mobile-panel`,badgeSource:void 0,loadingSource:void 0,refreshSource:void 0,component:j},"session-insights":{id:`session-insights`,order:5,title:`Session insights`,ariaLabel:`Session insights`,commandLabel:`Open Session Insights`,commandKeywords:[`session`,`insights`,`activity`,`panels`],icon:i,dataTestid:`pi-session-insights-canvas`,mobileDataTestid:`pi-session-insights-mobile-panel`,badgeSource:void 0,loadingSource:void 0,refreshSource:void 0,component:E},"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:s,dataTestid:`pi-session-tree-canvas`,mobileDataTestid:`pi-session-tree-mobile-panel`,badgeSource:void 0,loadingSource:void 0,refreshSource:void 0,component:M}},P=Object.values(N).sort((e,t)=>e.order-t.order),F=[{id:`workspace`,title:`Workspace`,ariaLabel:`Workspace`,icon:o,defaultPanel:`workspace`,panels:[`workspace`,`artifacts`]},{id:`subagents`,title:`Subagents`,ariaLabel:`Subagents`,icon:a,defaultPanel:`subagents`,panels:[`subagents`]},{id:`session`,title:`Session`,ariaLabel:`Session`,icon:i,defaultPanel:`session-insights`,panels:[`resources`,`session-insights`,`session-tree`]},{id:`repl`,title:`REPL`,ariaLabel:`REPL`,icon:l,defaultPanel:`repl`,panels:[`repl`]}];function I(e){return F.find(t=>t.panels.includes(e))}function L(e){return N[e]}export{h as a,I as i,F as n,L as r,P as t};