ryco-cli 0.1.16 → 0.1.17

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 (64) hide show
  1. package/dist/bin.cjs +1 -1
  2. package/dist/bin.mjs +1 -1
  3. package/dist/client/assets/{AccountSettings-CkFq28pN.js → AccountSettings-F4ZOTHid.js} +1 -1
  4. package/dist/client/assets/{AiFocusSettings-BI9AgQUi.js → AiFocusSettings-DwIYKKIc.js} +1 -1
  5. package/dist/client/assets/{BranchToolbar.logic-6LRTxcuo.js → BranchToolbar.logic-B2jdtYEs.js} +1 -1
  6. package/dist/client/assets/{ChatRightPanel-BSNsAFtv.js → ChatRightPanel-CxA4EQ1O.js} +3 -3
  7. package/dist/client/assets/{ChatThreadRouteView-Daox0F74.js → ChatThreadRouteView-BJ6OSbWZ.js} +1 -1
  8. package/dist/client/assets/{CommandPaletteDialog-CIZnwgK9.js → CommandPaletteDialog-DywhkOKa.js} +1 -1
  9. package/dist/client/assets/{ConnectionsSettings-DFBNmvfL.js → ConnectionsSettings-B8t9Z17K.js} +1 -1
  10. package/dist/client/assets/{DiagnosticsSettings-DhuLK993.js → DiagnosticsSettings-Bt7j-SXg.js} +1 -1
  11. package/dist/client/assets/{DraftChatThreadRouteView-BmVyawpM.js → DraftChatThreadRouteView-BzcBT-YW.js} +1 -1
  12. package/dist/client/assets/{HostedConnectionControls-BvHq5iCa.js → HostedConnectionControls-DLrwfgKF.js} +1 -1
  13. package/dist/client/assets/{HostedHubRoot-CB5TRXg5.js → HostedHubRoot-eqwMpBq5.js} +1 -1
  14. package/dist/client/assets/{HostedNativeAuthorizationRoute-Cb5WJuEG.js → HostedNativeAuthorizationRoute-C11yMgF7.js} +1 -1
  15. package/dist/client/assets/{HostedRelayTrustNotice-DFcgMZlL.js → HostedRelayTrustNotice-CMrrvMuJ.js} +1 -1
  16. package/dist/client/assets/{IntegrationsSettingsPanel-BIy-rKDv.js → IntegrationsSettingsPanel-rkW9RyYH.js} +1 -1
  17. package/dist/client/assets/{KeybindingsSettings-u3yB7Cob.js → KeybindingsSettings-CjU5J7hU.js} +1 -1
  18. package/dist/client/assets/{McpServersSettings-V32mLD4v.js → McpServersSettings-D-Gq3vgy.js} +1 -1
  19. package/dist/client/assets/{NewWorktreeDialog-B64WGjQj.js → NewWorktreeDialog-C4D-dD0C.js} +1 -1
  20. package/dist/client/assets/{NoActiveThreadState-C0MwHtMx.js → NoActiveThreadState-z_FeP4Al.js} +1 -1
  21. package/dist/client/assets/{NodeSecuritySettings-CWlThhfV.js → NodeSecuritySettings-CMjnKY0w.js} +1 -1
  22. package/dist/client/assets/{OpinionatedPluginsSettings-CVzfv5nP.js → OpinionatedPluginsSettings-D9INVQf7.js} +1 -1
  23. package/dist/client/assets/{PhoneGetAppInterstitial-CylfsDBD.js → PhoneGetAppInterstitial-B8iVzT22.js} +1 -1
  24. package/dist/client/assets/{PhoneHome-DBwwEeaI.js → PhoneHome-BonZTgK7.js} +1 -1
  25. package/dist/client/assets/{PhoneSettingsSurface-sDCNEVkR.js → PhoneSettingsSurface-B-6LoBMV.js} +1 -1
  26. package/dist/client/assets/{ProjectFavicon-BjXJxNbQ.js → ProjectFavicon-CxXx07Sa.js} +1 -1
  27. package/dist/client/assets/{ProviderModelPicker-BTFj53Qv.js → ProviderModelPicker-M_Ezjlmq.js} +1 -1
  28. package/dist/client/assets/{ProvidersSettingsPanel-IhzMeM1F.js → ProvidersSettingsPanel-CtTyCMP0.js} +1 -1
  29. package/dist/client/assets/{RootAppShell-CG06ruyc.js → RootAppShell-DJfVW8Xa.js} +2 -2
  30. package/dist/client/assets/{SettingsDialog-ByR9PwEc.js → SettingsDialog-ClIbtJ2y.js} +1 -1
  31. package/dist/client/assets/{SettingsPanels-CwsCgdds.js → SettingsPanels-DshjYQGk.js} +1 -1
  32. package/dist/client/assets/{SourceControlSettings-5w4N9XII.js → SourceControlSettings-C_GMp7qk.js} +1 -1
  33. package/dist/client/assets/{StatisticsPage-jRyjIh52.js → StatisticsPage-CDukahZF.js} +1 -1
  34. package/dist/client/assets/{StatisticsPanel-CV5eFeO_.js → StatisticsPanel-BTdaxoVf.js} +1 -1
  35. package/dist/client/assets/{ThreadStatusIndicators-C40TYVEC.js → ThreadStatusIndicators-D_6jI6us.js} +0 -0
  36. package/dist/client/assets/{ThreadTerminalDrawer-flv5ZDel.js → ThreadTerminalDrawer-C2B3Ry66.js} +1 -1
  37. package/dist/client/assets/{ThreadWorkspacePanel-B-cBAWFz.js → ThreadWorkspacePanel-D8gR7mQC.js} +1 -1
  38. package/dist/client/assets/{WorkItemsTab-0DE4S4n0.js → WorkItemsTab-QQXGM1BH.js} +1 -1
  39. package/dist/client/assets/{branding-Ck4g7yv3.js → branding-BS9Iv2ln.js} +1 -1
  40. package/dist/client/assets/{capabilities-xa5Ll0KT.js → capabilities-tpmeGBtr.js} +1 -1
  41. package/dist/client/assets/{desktopUpdateAtoms-hP0oc_If.js → desktopUpdateAtoms-BpN7gP0v.js} +1 -1
  42. package/dist/client/assets/{desktopWorkspace-hOxsGVFz.js → desktopWorkspace-CIvAIvMt.js} +1 -1
  43. package/dist/client/assets/{device-DIfzlguu.js → device-B3lHunk1.js} +1 -1
  44. package/dist/client/assets/{editorPreferences-B54y5_sx.js → editorPreferences-DiUypD3L.js} +1 -1
  45. package/dist/client/assets/{index-Dp3JRlOK.js → index-C536LXZ6.js} +1 -1
  46. package/dist/client/assets/{main-B6n7O_N3.js → main-BjfqengQ.js} +2 -2
  47. package/dist/client/assets/{projectPaths-D8b4yLOe.js → projectPaths-3WDk4ziK.js} +1 -1
  48. package/dist/client/assets/{providerIconUtils-Cq0fezxt.js → providerIconUtils-DLRASbiu.js} +1 -1
  49. package/dist/client/assets/{runtime-QZPKtH2P.js → runtime-CYtynKGT.js} +1 -1
  50. package/dist/client/assets/{session-logic-BuGYhZKZ.js → session-logic-DfaSS3p9.js} +1 -1
  51. package/dist/client/assets/{sidebarProjectFolders-Dlo6McCj.js → sidebarProjectFolders-DKxZsoOv.js} +1 -1
  52. package/dist/client/assets/storeSelectors-BeLJe5C1.js +1 -0
  53. package/dist/client/assets/{threadPinning-D2e9MEDr.js → threadPinning-UKIVw0OX.js} +1 -1
  54. package/dist/client/assets/{threadPriorityRefreshRuntime-DbEFchoL.js → threadPriorityRefreshRuntime-BbiIUPfh.js} +1 -1
  55. package/dist/client/assets/types-BeLJe5C1.js +1 -0
  56. package/dist/client/assets/{useAtlassian-Zb2Kkt0_.js → useAtlassian-BTWMzLgJ.js} +0 -0
  57. package/dist/client/assets/{useHandleNewThread-ByVfL71G.js → useHandleNewThread-9FAjhuhK.js} +1 -1
  58. package/dist/client/assets/{usePhoneThreadActions-BhTVcLtf.js → usePhoneThreadActions-B7yDFO2l.js} +1 -1
  59. package/dist/client/assets/{useStatistics-Dbp94K5j.js → useStatistics-C9g3i7bQ.js} +1 -1
  60. package/dist/client/assets/{useThreadActions-CPL4dO-X.js → useThreadActions-CouKkjbt.js} +1 -1
  61. package/dist/client/index.html +1 -1
  62. package/package.json +1 -1
  63. package/dist/client/assets/storeSelectors-_h41wnN2.js +0 -1
  64. package/dist/client/assets/types-_h41wnN2.js +0 -1
@@ -1 +1 @@
1
- import{A as e,O as t,j as n,k as r}from"./runtime-QZPKtH2P.js";import{f as i}from"./useRenderElement-DchFnsR8.js";import{r as a}from"./utils-CV2fJJxC.js";var o=i(`pin`,[[`path`,{d:`M12 17v5`,key:`bb1du9`}],[`path`,{d:`M9 10.76a2 2 0 0 1-1.11 1.79l-1.78.9A2 2 0 0 0 5 15.24V16a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1v-.76a2 2 0 0 0-1.11-1.79l-1.78-.9A2 2 0 0 1 15 10.76V7a1 1 0 0 1 1-1 2 2 0 0 0 0-4H8a2 2 0 0 0 0 4 1 1 0 0 1 1 1z`,key:`1nkz8b`}]]);function s(e){return e===`/`||e===`\\`||/^[a-zA-Z]:[/\\]?$/.test(e)}function c(e){return n(e)||r(e)?`windows`:e.startsWith(`/`)?`unix`:null}function l(e){if(e.length===0||s(e))return e;let t=c(e)===`unix`?e.replace(/\/+$/g,``):e.replace(/[\\/]+$/g,``);return t.length===0?e:/^[a-zA-Z]:$/.test(t)?`${t}\\`:t}function u(e){let t=c(e);return t===`windows`?`\\`:t===`unix`?`/`:e.includes(`\\`)?`\\`:`/`}function d(e){return(c(e)===`unix`?/\/$/:/[\\/]$/).test(e)}function f(e,t){return e.split(t===`/`?/\/+/:/[\\/]+/).filter(Boolean)}function p(e){return c(e)===`unix`?e.lastIndexOf(`/`):Math.max(e.lastIndexOf(`/`),e.lastIndexOf(`\\`))}function m(e){if(n(e)){let t=`${e.slice(0,2)}\\`;return{root:t,separator:`\\`,segments:f(e.slice(t.length),`\\`)}}if(r(e)){let[t,n,...r]=f(e,`\\`);return!t||!n?null:{root:`\\\\${t}\\${n}\\`,separator:`\\`,segments:r}}return e.startsWith(`/`)?{root:`/`,separator:`/`,segments:f(e.slice(1),`/`)}:null}function h(t,n=typeof navigator>`u`?``:navigator.platform){let r=a(n);return t.startsWith(`./`)||t.startsWith(`../`)||t.startsWith(`.\\`)||t.startsWith(`..\\`)||t.startsWith(`/`)||t.startsWith(`~/`)||r&&e(t)}function g(t,n){return e(t)&&!a(n)}function _(e){return l(e.trim())}function v(e,n){let r=e.trim();if(!t(r)||!n)return _(r);let i=m(_(n));if(!i)return _(r);let a=[...i.segments];for(let e of r.split(/[\\/]+/))if(e.length!==0&&e!==`.`){if(e===`..`){a.pop();continue}a.push(e)}let o=a.join(i.separator);return o.length===0?_(i.root):_(`${i.root}${o}`)}function y(e){let t=_(e);return n(t)||t.startsWith(`\\\\`)?t.replaceAll(`/`,`\\`).toLowerCase():t}function b(e,t){let n=y(t);if(n.length!==0)return e.find(e=>y(e.cwd)===n)}function x(e){let t=_(e),n=m(t);return n?n.segments.findLast(Boolean)??t:t.split(/[/\\]/).findLast(Boolean)??t}function S(e,t){let n=u(e);return`${w(e)}${t}${n}`}function C(e){let t=p(e);return e.slice(t+1)}function w(e){if(d(e))return e;let t=p(e);return t<0?e:e.slice(0,t+1)}function T(e){let t=e.trim();return t.length===0||d(t)?t:`${t}${u(t)}`}function E(e){let t=e.workspaceAccessRoot?.trim()??``;if(t.length>0)return T(t);let n=e.configuredBaseDirectory?.trim()??``;return n.length>0?T(n):`~/`}function D(e){let t=l(e),n=m(t);if(n){if(n.segments.length===0)return null;if(n.segments.length===1)return n.root;let e=n.segments.slice(0,-1).join(n.separator);return`${n.root}${e}${n.separator}`}let r=u(e),i=p(t);return i<0?null:i===2&&/^[a-zA-Z]:/.test(t)?`${t.slice(0,2)}${r}`:t.slice(0,i+1)}function O(e){return d(e)&&D(e)!==null}function k(e,t){let n=l(e.trim()),r=l(t.trim());return c(n)===`windows`||c(r)===`windows`?n.replace(/\//g,`\\`).toLowerCase()===r.replace(/\//g,`\\`).toLowerCase():n===r}export{w as a,d as c,k as d,g as f,o as g,v as h,b as i,x as l,E as m,O as n,C as o,y as p,T as r,D as s,S as t,h as u};
1
+ import{A as e,O as t,j as n,k as r}from"./runtime-CYtynKGT.js";import{f as i}from"./useRenderElement-DchFnsR8.js";import{r as a}from"./utils-CV2fJJxC.js";var o=i(`pin`,[[`path`,{d:`M12 17v5`,key:`bb1du9`}],[`path`,{d:`M9 10.76a2 2 0 0 1-1.11 1.79l-1.78.9A2 2 0 0 0 5 15.24V16a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1v-.76a2 2 0 0 0-1.11-1.79l-1.78-.9A2 2 0 0 1 15 10.76V7a1 1 0 0 1 1-1 2 2 0 0 0 0-4H8a2 2 0 0 0 0 4 1 1 0 0 1 1 1z`,key:`1nkz8b`}]]);function s(e){return e===`/`||e===`\\`||/^[a-zA-Z]:[/\\]?$/.test(e)}function c(e){return n(e)||r(e)?`windows`:e.startsWith(`/`)?`unix`:null}function l(e){if(e.length===0||s(e))return e;let t=c(e)===`unix`?e.replace(/\/+$/g,``):e.replace(/[\\/]+$/g,``);return t.length===0?e:/^[a-zA-Z]:$/.test(t)?`${t}\\`:t}function u(e){let t=c(e);return t===`windows`?`\\`:t===`unix`?`/`:e.includes(`\\`)?`\\`:`/`}function d(e){return(c(e)===`unix`?/\/$/:/[\\/]$/).test(e)}function f(e,t){return e.split(t===`/`?/\/+/:/[\\/]+/).filter(Boolean)}function p(e){return c(e)===`unix`?e.lastIndexOf(`/`):Math.max(e.lastIndexOf(`/`),e.lastIndexOf(`\\`))}function m(e){if(n(e)){let t=`${e.slice(0,2)}\\`;return{root:t,separator:`\\`,segments:f(e.slice(t.length),`\\`)}}if(r(e)){let[t,n,...r]=f(e,`\\`);return!t||!n?null:{root:`\\\\${t}\\${n}\\`,separator:`\\`,segments:r}}return e.startsWith(`/`)?{root:`/`,separator:`/`,segments:f(e.slice(1),`/`)}:null}function h(t,n=typeof navigator>`u`?``:navigator.platform){let r=a(n);return t.startsWith(`./`)||t.startsWith(`../`)||t.startsWith(`.\\`)||t.startsWith(`..\\`)||t.startsWith(`/`)||t.startsWith(`~/`)||r&&e(t)}function g(t,n){return e(t)&&!a(n)}function _(e){return l(e.trim())}function v(e,n){let r=e.trim();if(!t(r)||!n)return _(r);let i=m(_(n));if(!i)return _(r);let a=[...i.segments];for(let e of r.split(/[\\/]+/))if(e.length!==0&&e!==`.`){if(e===`..`){a.pop();continue}a.push(e)}let o=a.join(i.separator);return o.length===0?_(i.root):_(`${i.root}${o}`)}function y(e){let t=_(e);return n(t)||t.startsWith(`\\\\`)?t.replaceAll(`/`,`\\`).toLowerCase():t}function b(e,t){let n=y(t);if(n.length!==0)return e.find(e=>y(e.cwd)===n)}function x(e){let t=_(e),n=m(t);return n?n.segments.findLast(Boolean)??t:t.split(/[/\\]/).findLast(Boolean)??t}function S(e,t){let n=u(e);return`${w(e)}${t}${n}`}function C(e){let t=p(e);return e.slice(t+1)}function w(e){if(d(e))return e;let t=p(e);return t<0?e:e.slice(0,t+1)}function T(e){let t=e.trim();return t.length===0||d(t)?t:`${t}${u(t)}`}function E(e){let t=e.workspaceAccessRoot?.trim()??``;if(t.length>0)return T(t);let n=e.configuredBaseDirectory?.trim()??``;return n.length>0?T(n):`~/`}function D(e){let t=l(e),n=m(t);if(n){if(n.segments.length===0)return null;if(n.segments.length===1)return n.root;let e=n.segments.slice(0,-1).join(n.separator);return`${n.root}${e}${n.separator}`}let r=u(e),i=p(t);return i<0?null:i===2&&/^[a-zA-Z]:/.test(t)?`${t.slice(0,2)}${r}`:t.slice(0,i+1)}function O(e){return d(e)&&D(e)!==null}function k(e,t){let n=l(e.trim()),r=l(t.trim());return c(n)===`windows`||c(r)===`windows`?n.replace(/\//g,`\\`).toLowerCase()===r.replace(/\//g,`\\`).toLowerCase():n===r}export{w as a,d as c,k as d,g as f,o as g,v as h,b as i,x as l,E as m,O as n,C as o,y as p,T as r,D as s,S as t,h as u};
@@ -1 +1 @@
1
- import{i as e,t}from"./react-SIfiwpqq.js";import{t as n}from"./compiler-runtime-qmuS0Svy.js";import{ot as r}from"./src-DmPIm3ie.js";import{It as i,Tt as a,wt as o}from"./composerDraftStore-TYv9j3vY.js";import{$t as s,Bt as c,Gn as l,Mn as u,N as d,Nn as f,R as p,Xn as m,Z as h,a as g,i as _,j as v,l as y,nn as b,nt as x,o as S,zt as ee}from"./usePopupViewport-8F-J1h5f.js";import{d as C,t as w}from"./useRenderElement-DchFnsR8.js";import{n as T}from"./loader-circle-CrtHFAvM.js";import{C as E,S as D,a as O,b as k,c as A,d as j,f as M,g as N,h as P,i as F,l as I,m as L,p as R,r as z,u as B,w as V,x as H,y as U}from"./kbd-DbvN3zTb.js";import{t as W}from"./x-C1Cemsov.js";import{t as G}from"./utils-CV2fJJxC.js";import{r as K}from"./session-logic-BuGYhZKZ.js";import{n as te,p as ne}from"./useScrollLock-CBz-5_MX.js";import{n as re}from"./ToolbarRootContext-B1g8IP6k.js";import{t as ie}from"./input-BZz4eLRl.js";import{t as ae}from"./scroll-area-C0yF015F.js";import{_ as oe,m as se,o as ce,p as le,s as ue,v as de}from"./Icons-BEtED8P8.js";var q=e(t(),1),fe=`⁠`;function pe(e){let t=e.ownerDocument.createTreeWalker(e,NodeFilter.SHOW_TEXT),n=null;for(;t.nextNode();){let e=t.currentNode;e.nodeValue!==``&&(n=e)}return n}function J(){let e=b(),t=q.useRef(null);return q.useEffect(()=>{if(s)return;let n=t.current;if(n==null)return;let r=pe(n);if(r==null)return;let i=r.data,a=`${i}${fe}`;return r.nodeValue=a,e.start(200,()=>{r.nodeValue===a&&(r.nodeValue=i)}),()=>{e.clear(),r.nodeValue===a&&(r.nodeValue=i)}},[t,e]),t}var me=q.forwardRef(function(e,t){let{render:n,className:r,style:i,children:a,...o}=e,s=J();return w(`div`,e,{ref:[t,s],props:[{children:a,role:`status`,"aria-live":`polite`,"aria-atomic":!0},o]})}),Y=q.createContext(void 0);function he(){let e=q.useContext(Y);if(e===void 0)throw Error(C(20));return e}var X=i(),ge=q.forwardRef(function(e,t){let{keepMounted:n=!1,...r}=e,i=E(),a=p(i,k.mounted),o=p(i,k.forceMounted);return a||n||o?(0,X.jsx)(Y.Provider,{value:n,children:(0,X.jsx)(h,{ref:t,...r})}):null}),_e=q.forwardRef(function(e,t){let{render:n,className:r,anchor:i,positionMethod:a,side:o,align:s,sideOffset:c,alignOffset:l,collisionBoundary:d=`clipping-ancestors`,collisionPadding:m,arrowPadding:h,sticky:g,disableAnchorTracking:v=!1,collisionAvoidance:b=x,style:ee,...C}=e,w=E(),T=D(),O=he(),A=p(w,k.modal),j=p(w,k.open),N=p(w,k.mounted),F=p(w,k.openMethod),I=p(w,k.positionerElement),L=p(w,k.triggerElement),R=p(w,k.inputElement),z=p(w,k.inputGroupElement),B=p(w,k.inputInsidePopup),V=p(w,k.transitionStatus),H=P(),U=S({anchor:i??(B?L:z??R),floatingRootContext:T,positionMethod:a,mounted:N,side:o,sideOffset:c,align:s,alignOffset:l,arrowPadding:h,collisionBoundary:d,collisionPadding:m,sticky:g,disableAnchorTracking:v,keepMounted:O,collisionAvoidance:b,lazyFlip:!0});re(j&&A,F===`touch`,I,L);let W={open:j,side:U.side,align:U.align,anchorHidden:U.anchorHidden,empty:H};u(()=>{w.set(`popupSide`,U.side)},[w,U.side]);let G=f(e=>{w.set(`positionerElement`,e)}),K=_(e,W,{styles:U.positionerStyles,transitionStatus:V,props:C,refs:[t,G],hidden:!N,inert:!j});return(0,X.jsxs)(M.Provider,{value:U,children:[N&&A&&(0,X.jsx)(te,{inert:y(!j),cutout:z??R??L}),K]})}),ve={...l,...m},ye=q.forwardRef(function(e,t){let{render:n,className:r,style:i,initialFocus:a,finalFocus:o,...s}=e,l=E(),d=R(),f=D(),m=p(l,k.mounted),h=p(l,k.open),_=p(l,k.openMethod),y=p(l,k.popupProps),b=p(l,k.transitionStatus),x=p(l,k.inputInsidePopup),S=p(l,k.inputElement),C=p(l,k.modal),T=p(l,k.id),O=P(),A=s.id??(x?U(T):void 0);u(()=>(l.set(`popupId`,l.state.popupRef.current?.id||A),()=>{l.set(`popupId`,void 0)}),[l,A]),v({open:h,ref:l.state.popupRef,onComplete(){h&&l.state.onOpenChangeComplete(!0)}});let M={open:h,side:d.side,align:d.align,anchorHidden:d.anchorHidden,transitionStatus:b,empty:O},N=w(`div`,e,{state:M,ref:[t,l.state.popupRef],props:[y,{id:A,role:x?`dialog`:`presentation`,onFocus(e){let t=c(e.nativeEvent);_!==`touch`&&(ee(l.state.listElement,t)||t===e.currentTarget)&&l.state.inputRef.current?.focus()}},g(b),s],stateAttributesMapping:ve}),F=a===void 0?x?e=>e===`touch`?l.state.popupRef.current:S:!1:a,I;I=o??(x?void 0:!1);let L=!x||C;return(0,X.jsx)(ne,{context:f,disabled:!m,modal:L,openInteractionType:_,initialFocus:F,returnFocus:I,getInsideElements:()=>[l.state.startDismissRef.current,l.state.endDismissRef.current],children:(0,X.jsxs)(q.Fragment,{children:[N,L&&(0,X.jsx)(j,{ref:l.state.endDismissRef})]})})}),be=q.forwardRef(function(e,t){let{render:n,className:r,style:i,children:a,...o}=e,{filteredItems:s}=H(),c=E(),l=J(),u=s.length===0?a:null;return w(`div`,e,{ref:[t,c.state.emptyRef,l],props:[{children:u,role:`status`,"aria-live":`polite`,"aria-atomic":!0},o]})});function xe(e){let{multiple:t=!1,defaultValue:n,value:r,onValueChange:i,autoComplete:a,...o}=e;return(0,X.jsx)(N,{...o,selectionMode:t?`multiple`:`single`,selectedValue:r,defaultSelectedValue:n,onSelectedValueChange:i,formAutoComplete:a})}var Se=q.forwardRef(function(e,t){let{selected:n}=F();return e.keepMounted||n?(0,X.jsx)(Ce,{...e,ref:t}):null}),Ce=q.memo(q.forwardRef((e,t)=>{let{render:n,className:r,style:i,keepMounted:a,...o}=e,{selected:s}=F(),c=q.useRef(null),{transitionStatus:l,setMounted:u}=d(s),f=w(`span`,e,{ref:[t,c],state:{selected:s,transitionStatus:l},props:[{"aria-hidden":!0,children:`✔️`},o],stateAttributesMapping:m});return v({open:s,ref:c,onComplete(){s||u(!1)}}),f})),Z=n(),Q=q.createContext({chipsRef:null,multiple:!1});function we(e){let t=(0,Z.c)(7),n=q.useRef(null),r=!!e.multiple,i;t[0]===r?i=t[1]:(i={chipsRef:n,multiple:r},t[0]=r,t[1]=i);let a=i,o;t[2]===e?o=t[3]:(o=(0,X.jsx)(xe,{...e}),t[2]=e,t[3]=o);let s;return t[4]!==o||t[5]!==a?(s=(0,X.jsx)(Q.Provider,{value:a,children:o}),t[4]=o,t[5]=a,t[6]=s):s=t[6],s}function Te(e){let t=(0,Z.c)(34),n,r,i,a,o,s,c;t[0]===e?(n=t[1],r=t[2],i=t[3],a=t[4],o=t[5],s=t[6],c=t[7]):({className:n,inputClassName:r,showTrigger:s,showClear:c,startAddon:o,size:a,...i}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a,t[5]=o,t[6]=s,t[7]=c);let l=s===void 0||s,u=c!==void 0&&c,d=a??`default`,f;t[8]===o?f=t[9]:(f=o&&(0,X.jsx)(`div`,{"aria-hidden":`true`,className:`[&_svg]:-mx-0.5 pointer-events-none absolute inset-y-0 start-px z-10 flex items-center ps-[calc(--spacing(3)-1px)] opacity-80 has-[+[data-size=sm]]:ps-[calc(--spacing(2.5)-1px)] [&_svg:not([class*='size-'])]:size-4.5 sm:[&_svg:not([class*='size-'])]:size-4`,"data-slot":`combobox-start-addon`,children:o}),t[8]=o,t[9]=f);let p=o&&`data-[size=sm]:*:data-[slot=combobox-input]:ps-[calc(--spacing(7.5)-1px)] *:data-[slot=combobox-input]:ps-[calc(--spacing(8.5)-1px)] sm:data-[size=sm]:*:data-[slot=combobox-input]:ps-[calc(--spacing(7)-1px)] sm:*:data-[slot=combobox-input]:ps-[calc(--spacing(8)-1px)]`,m=d===`sm`?`has-[+[data-slot=combobox-trigger],+[data-slot=combobox-clear]]:*:data-[slot=combobox-input]:pe-6.5`:`has-[+[data-slot=combobox-trigger],+[data-slot=combobox-clear]]:*:data-[slot=combobox-input]:pe-7`,h;t[10]!==n||t[11]!==p||t[12]!==m?(h=G(p,m,n),t[10]=n,t[11]=p,t[12]=m,t[13]=h):h=t[13];let g;t[14]===r?g=t[15]:(g=G(`has-disabled:opacity-100`,r),t[14]=r,t[15]=g);let _;t[16]!==d||t[17]!==g?(_=(0,X.jsx)(ie,{className:g,nativeInput:!0,size:d}),t[16]=d,t[17]=g,t[18]=_):_=t[18];let v;t[19]!==i||t[20]!==h||t[21]!==_?(v=(0,X.jsx)(B,{className:h,"data-slot":`combobox-input`,render:_,...i}),t[19]=i,t[20]=h,t[21]=_,t[22]=v):v=t[22];let y;t[23]!==l||t[24]!==d?(y=l&&(0,X.jsx)($,{className:G(`-translate-y-1/2 absolute top-1/2 inline-flex size-8 shrink-0 cursor-pointer items-center justify-center rounded-md border border-transparent opacity-80 outline-none transition-opacity pointer-coarse:after:absolute pointer-coarse:after:min-h-11 pointer-coarse:after:min-w-11 hover:opacity-100 has-[+[data-slot=combobox-clear]]:hidden sm:size-7 [&_svg:not([class*='size-'])]:size-4.5 sm:[&_svg:not([class*='size-'])]:size-4 [&_svg]:pointer-events-none [&_svg]:shrink-0`,d===`sm`?`end-0`:`end-0.5`),children:(0,X.jsx)(I,{"data-slot":`combobox-icon`,children:(0,X.jsx)(V,{})})}),t[23]=l,t[24]=d,t[25]=y):y=t[25];let b;t[26]!==u||t[27]!==d?(b=u&&(0,X.jsx)(je,{className:G(`-translate-y-1/2 absolute top-1/2 inline-flex size-8 shrink-0 cursor-pointer items-center justify-center rounded-md border border-transparent opacity-80 outline-none transition-opacity pointer-coarse:after:absolute pointer-coarse:after:min-h-11 pointer-coarse:after:min-w-11 hover:opacity-100 has-[+[data-slot=combobox-clear]]:hidden sm:size-7 [&_svg:not([class*='size-'])]:size-4.5 sm:[&_svg:not([class*='size-'])]:size-4 [&_svg]:pointer-events-none [&_svg]:shrink-0`,d===`sm`?`end-0`:`end-0.5`),children:(0,X.jsx)(W,{})}),t[26]=u,t[27]=d,t[28]=b):b=t[28];let x;return t[29]!==y||t[30]!==b||t[31]!==f||t[32]!==v?(x=(0,X.jsxs)(`div`,{className:`relative not-has-[>*.w-full]:w-fit w-full text-foreground has-disabled:opacity-64`,children:[f,v,y,b]}),t[29]=y,t[30]=b,t[31]=f,t[32]=v,t[33]=x):x=t[33],x}function $(e){let t=(0,Z.c)(8),n,r,i;t[0]===e?(n=t[1],r=t[2],i=t[3]):({className:r,children:n,...i}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i);let a;return t[4]!==n||t[5]!==r||t[6]!==i?(a=(0,X.jsx)(L,{className:r,"data-slot":`combobox-trigger`,...i,children:n}),t[4]=n,t[5]=r,t[6]=i,t[7]=a):a=t[7],a}function Ee(e){let t=(0,Z.c)(24),n,r,i,a,o,s,c,l;t[0]===e?(n=t[1],r=t[2],i=t[3],a=t[4],o=t[5],s=t[6],c=t[7],l=t[8]):({className:a,children:i,side:s,sideOffset:c,alignOffset:n,align:l,anchor:r,...o}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a,t[5]=o,t[6]=s,t[7]=c,t[8]=l);let u=s===void 0?`bottom`:s,d=c===void 0?4:c,f=l===void 0?`start`:l,{chipsRef:p}=q.useContext(Q),m=r??p,h;t[9]===a?h=t[10]:(h=G(`selection-glass-surface relative flex max-h-full min-w-(--anchor-width) max-w-(--available-width) origin-(--transform-origin) overflow-hidden rounded-lg border transition-[scale,opacity,translate] duration-(--app-motion-duration-pop) ease-(--app-motion-spring-gentle) will-change-transform data-ending-style:scale-98 data-starting-style:scale-98 data-ending-style:opacity-0 data-starting-style:opacity-0`,a),t[9]=a,t[10]=h);let g;t[11]!==i||t[12]!==o?(g=(0,X.jsx)(ye,{className:`flex min-w-0 max-h-[min(var(--available-height),23rem)] flex-1 flex-col overflow-hidden text-foreground`,"data-slot":`combobox-popup`,...o,children:i}),t[11]=i,t[12]=o,t[13]=g):g=t[13];let _;t[14]!==h||t[15]!==g?(_=(0,X.jsx)(`span`,{className:h,children:g}),t[14]=h,t[15]=g,t[16]=_):_=t[16];let v;return t[17]!==f||t[18]!==n||t[19]!==m||t[20]!==u||t[21]!==d||t[22]!==_?(v=(0,X.jsx)(ge,{children:(0,X.jsx)(_e,{align:f,alignOffset:n,anchor:m,className:`z-50 select-none`,"data-slot":`combobox-positioner`,side:u,sideOffset:d,children:_})}),t[17]=f,t[18]=n,t[19]=m,t[20]=u,t[21]=d,t[22]=_,t[23]=v):v=t[23],v}function De(e){let t=(0,Z.c)(24),n,r,i,a,o;t[0]===e?(n=t[1],r=t[2],i=t[3],a=t[4],o=t[5]):({className:r,contentClassName:i,children:n,hideIndicator:o,...a}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a,t[5]=o);let s=o!==void 0&&o,c;t[6]===r?c=t[7]:(c=G(`grid min-h-8 in-data-[side=none]:min-w-[calc(var(--anchor-width)+1.25rem)] cursor-default grid-cols-[1rem_1fr] items-center gap-2 rounded-sm py-1 ps-2 pe-4 text-base outline-none hover:bg-accent/70 data-disabled:pointer-events-none data-selected:bg-accent/50 data-selected:text-foreground data-highlighted:bg-accent/80 data-highlighted:text-accent-foreground [&[data-highlighted][data-selected]]:bg-accent/90 [&[data-highlighted][data-selected]]:text-accent-foreground data-disabled:opacity-64 sm:min-h-7 sm:text-sm [&_svg:not([class*='size-'])]:size-4.5 sm:[&_svg:not([class*='size-'])]:size-4 [&_svg]:pointer-events-none [&_svg]:shrink-0`,r),t[6]=r,t[7]=c);let l=s&&`hidden`,u;t[8]===l?u=t[9]:(u=G(`col-start-1`,l),t[8]=l,t[9]=u);let d;t[10]===Symbol.for(`react.memo_cache_sentinel`)?(d=(0,X.jsx)(T,{}),t[10]=d):d=t[10];let f;t[11]===u?f=t[12]:(f=(0,X.jsx)(Se,{className:u,children:d}),t[11]=u,t[12]=f);let p=s?`col-start-1 col-span-full`:`col-start-2`,m;t[13]!==i||t[14]!==p?(m=G(p,i),t[13]=i,t[14]=p,t[15]=m):m=t[15];let h;t[16]!==n||t[17]!==m?(h=(0,X.jsx)(`div`,{className:m,children:n}),t[16]=n,t[17]=m,t[18]=h):h=t[18];let g;return t[19]!==a||t[20]!==c||t[21]!==f||t[22]!==h?(g=(0,X.jsxs)(z,{className:c,"data-slot":`combobox-item`,...a,children:[f,h]}),t[19]=a,t[20]=c,t[21]=f,t[22]=h,t[23]=g):g=t[23],g}function Oe(e){let t=(0,Z.c)(8),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i;t[3]===n?i=t[4]:(i=G(`not-empty:p-2 text-center text-base text-muted-foreground sm:text-sm`,n),t[3]=n,t[4]=i);let a;return t[5]!==r||t[6]!==i?(a=(0,X.jsx)(be,{className:i,"data-slot":`combobox-empty`,...r}),t[5]=r,t[6]=i,t[7]=a):a=t[7],a}function ke(e){let t=(0,Z.c)(8),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i;t[3]===n?i=t[4]:(i=G(`not-empty:scroll-py-1 not-empty:px-1 not-empty:py-1`,n),t[3]=n,t[4]=i);let a;return t[5]!==r||t[6]!==i?(a=(0,X.jsx)(ae,{scrollbarGutter:!0,scrollFade:!0,children:(0,X.jsx)(O,{className:i,"data-slot":`combobox-list`,...r})}),t[5]=r,t[6]=i,t[7]=a):a=t[7],a}function Ae(e){let t=(0,Z.c)(8),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i;t[3]===n?i=t[4]:(i=G(`not-empty:px-1 not-empty:py-1`,n),t[3]=n,t[4]=i);let a;return t[5]!==r||t[6]!==i?(a=(0,X.jsx)(O,{className:i,"data-slot":`combobox-list`,...r}),t[5]=r,t[6]=i,t[7]=a):a=t[7],a}function je(e){let t=(0,Z.c)(6),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i;return t[3]!==n||t[4]!==r?(i=(0,X.jsx)(A,{className:n,"data-slot":`combobox-clear`,...r}),t[3]=n,t[4]=r,t[5]=i):i=t[5],i}function Me(e){let t=(0,Z.c)(8),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i;t[3]===n?i=t[4]:(i=G(`px-3 py-2 font-medium text-muted-foreground text-xs empty:m-0 empty:p-0`,n),t[3]=n,t[4]=i);let a;return t[5]!==r||t[6]!==i?(a=(0,X.jsx)(me,{className:i,"data-slot":`combobox-status`,...r}),t[5]=r,t[6]=i,t[7]=a):a=t[7],a}var Ne={[r.make(`codex`)]:oe,[r.make(`claudeAgent`)]:ce,[r.make(`copilot`)]:le,[r.make(`opencode`)]:de,[r.make(`cursor`)]:ue,[r.make(`grok`)]:se};function Pe(e){return e.available}K.filter(Pe);function Fe(e,t){return a(e,t)}function Ie(e){return Fe(e,{preferShortName:!0})}function Le(e){return o(e,{preferShortName:!0})}export{we as a,De as c,Ee as d,Me as f,Ie as i,ke as l,Fe as n,Oe as o,$ as p,Le as r,Te as s,Ne as t,Ae as u};
1
+ import{i as e,t}from"./react-SIfiwpqq.js";import{t as n}from"./compiler-runtime-qmuS0Svy.js";import{ot as r}from"./src-DmPIm3ie.js";import{It as i,Tt as a,wt as o}from"./composerDraftStore-TYv9j3vY.js";import{$t as s,Bt as c,Gn as l,Mn as u,N as d,Nn as f,R as p,Xn as m,Z as h,a as g,i as _,j as v,l as y,nn as b,nt as x,o as S,zt as ee}from"./usePopupViewport-8F-J1h5f.js";import{d as C,t as w}from"./useRenderElement-DchFnsR8.js";import{n as T}from"./loader-circle-CrtHFAvM.js";import{C as E,S as D,a as O,b as k,c as A,d as j,f as M,g as N,h as P,i as F,l as I,m as L,p as R,r as z,u as B,w as V,x as H,y as U}from"./kbd-DbvN3zTb.js";import{t as W}from"./x-C1Cemsov.js";import{t as G}from"./utils-CV2fJJxC.js";import{r as K}from"./session-logic-DfaSS3p9.js";import{n as te,p as ne}from"./useScrollLock-CBz-5_MX.js";import{n as re}from"./ToolbarRootContext-B1g8IP6k.js";import{t as ie}from"./input-BZz4eLRl.js";import{t as ae}from"./scroll-area-C0yF015F.js";import{_ as oe,m as se,o as ce,p as le,s as ue,v as de}from"./Icons-BEtED8P8.js";var q=e(t(),1),fe=`⁠`;function pe(e){let t=e.ownerDocument.createTreeWalker(e,NodeFilter.SHOW_TEXT),n=null;for(;t.nextNode();){let e=t.currentNode;e.nodeValue!==``&&(n=e)}return n}function J(){let e=b(),t=q.useRef(null);return q.useEffect(()=>{if(s)return;let n=t.current;if(n==null)return;let r=pe(n);if(r==null)return;let i=r.data,a=`${i}${fe}`;return r.nodeValue=a,e.start(200,()=>{r.nodeValue===a&&(r.nodeValue=i)}),()=>{e.clear(),r.nodeValue===a&&(r.nodeValue=i)}},[t,e]),t}var me=q.forwardRef(function(e,t){let{render:n,className:r,style:i,children:a,...o}=e,s=J();return w(`div`,e,{ref:[t,s],props:[{children:a,role:`status`,"aria-live":`polite`,"aria-atomic":!0},o]})}),Y=q.createContext(void 0);function he(){let e=q.useContext(Y);if(e===void 0)throw Error(C(20));return e}var X=i(),ge=q.forwardRef(function(e,t){let{keepMounted:n=!1,...r}=e,i=E(),a=p(i,k.mounted),o=p(i,k.forceMounted);return a||n||o?(0,X.jsx)(Y.Provider,{value:n,children:(0,X.jsx)(h,{ref:t,...r})}):null}),_e=q.forwardRef(function(e,t){let{render:n,className:r,anchor:i,positionMethod:a,side:o,align:s,sideOffset:c,alignOffset:l,collisionBoundary:d=`clipping-ancestors`,collisionPadding:m,arrowPadding:h,sticky:g,disableAnchorTracking:v=!1,collisionAvoidance:b=x,style:ee,...C}=e,w=E(),T=D(),O=he(),A=p(w,k.modal),j=p(w,k.open),N=p(w,k.mounted),F=p(w,k.openMethod),I=p(w,k.positionerElement),L=p(w,k.triggerElement),R=p(w,k.inputElement),z=p(w,k.inputGroupElement),B=p(w,k.inputInsidePopup),V=p(w,k.transitionStatus),H=P(),U=S({anchor:i??(B?L:z??R),floatingRootContext:T,positionMethod:a,mounted:N,side:o,sideOffset:c,align:s,alignOffset:l,arrowPadding:h,collisionBoundary:d,collisionPadding:m,sticky:g,disableAnchorTracking:v,keepMounted:O,collisionAvoidance:b,lazyFlip:!0});re(j&&A,F===`touch`,I,L);let W={open:j,side:U.side,align:U.align,anchorHidden:U.anchorHidden,empty:H};u(()=>{w.set(`popupSide`,U.side)},[w,U.side]);let G=f(e=>{w.set(`positionerElement`,e)}),K=_(e,W,{styles:U.positionerStyles,transitionStatus:V,props:C,refs:[t,G],hidden:!N,inert:!j});return(0,X.jsxs)(M.Provider,{value:U,children:[N&&A&&(0,X.jsx)(te,{inert:y(!j),cutout:z??R??L}),K]})}),ve={...l,...m},ye=q.forwardRef(function(e,t){let{render:n,className:r,style:i,initialFocus:a,finalFocus:o,...s}=e,l=E(),d=R(),f=D(),m=p(l,k.mounted),h=p(l,k.open),_=p(l,k.openMethod),y=p(l,k.popupProps),b=p(l,k.transitionStatus),x=p(l,k.inputInsidePopup),S=p(l,k.inputElement),C=p(l,k.modal),T=p(l,k.id),O=P(),A=s.id??(x?U(T):void 0);u(()=>(l.set(`popupId`,l.state.popupRef.current?.id||A),()=>{l.set(`popupId`,void 0)}),[l,A]),v({open:h,ref:l.state.popupRef,onComplete(){h&&l.state.onOpenChangeComplete(!0)}});let M={open:h,side:d.side,align:d.align,anchorHidden:d.anchorHidden,transitionStatus:b,empty:O},N=w(`div`,e,{state:M,ref:[t,l.state.popupRef],props:[y,{id:A,role:x?`dialog`:`presentation`,onFocus(e){let t=c(e.nativeEvent);_!==`touch`&&(ee(l.state.listElement,t)||t===e.currentTarget)&&l.state.inputRef.current?.focus()}},g(b),s],stateAttributesMapping:ve}),F=a===void 0?x?e=>e===`touch`?l.state.popupRef.current:S:!1:a,I;I=o??(x?void 0:!1);let L=!x||C;return(0,X.jsx)(ne,{context:f,disabled:!m,modal:L,openInteractionType:_,initialFocus:F,returnFocus:I,getInsideElements:()=>[l.state.startDismissRef.current,l.state.endDismissRef.current],children:(0,X.jsxs)(q.Fragment,{children:[N,L&&(0,X.jsx)(j,{ref:l.state.endDismissRef})]})})}),be=q.forwardRef(function(e,t){let{render:n,className:r,style:i,children:a,...o}=e,{filteredItems:s}=H(),c=E(),l=J(),u=s.length===0?a:null;return w(`div`,e,{ref:[t,c.state.emptyRef,l],props:[{children:u,role:`status`,"aria-live":`polite`,"aria-atomic":!0},o]})});function xe(e){let{multiple:t=!1,defaultValue:n,value:r,onValueChange:i,autoComplete:a,...o}=e;return(0,X.jsx)(N,{...o,selectionMode:t?`multiple`:`single`,selectedValue:r,defaultSelectedValue:n,onSelectedValueChange:i,formAutoComplete:a})}var Se=q.forwardRef(function(e,t){let{selected:n}=F();return e.keepMounted||n?(0,X.jsx)(Ce,{...e,ref:t}):null}),Ce=q.memo(q.forwardRef((e,t)=>{let{render:n,className:r,style:i,keepMounted:a,...o}=e,{selected:s}=F(),c=q.useRef(null),{transitionStatus:l,setMounted:u}=d(s),f=w(`span`,e,{ref:[t,c],state:{selected:s,transitionStatus:l},props:[{"aria-hidden":!0,children:`✔️`},o],stateAttributesMapping:m});return v({open:s,ref:c,onComplete(){s||u(!1)}}),f})),Z=n(),Q=q.createContext({chipsRef:null,multiple:!1});function we(e){let t=(0,Z.c)(7),n=q.useRef(null),r=!!e.multiple,i;t[0]===r?i=t[1]:(i={chipsRef:n,multiple:r},t[0]=r,t[1]=i);let a=i,o;t[2]===e?o=t[3]:(o=(0,X.jsx)(xe,{...e}),t[2]=e,t[3]=o);let s;return t[4]!==o||t[5]!==a?(s=(0,X.jsx)(Q.Provider,{value:a,children:o}),t[4]=o,t[5]=a,t[6]=s):s=t[6],s}function Te(e){let t=(0,Z.c)(34),n,r,i,a,o,s,c;t[0]===e?(n=t[1],r=t[2],i=t[3],a=t[4],o=t[5],s=t[6],c=t[7]):({className:n,inputClassName:r,showTrigger:s,showClear:c,startAddon:o,size:a,...i}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a,t[5]=o,t[6]=s,t[7]=c);let l=s===void 0||s,u=c!==void 0&&c,d=a??`default`,f;t[8]===o?f=t[9]:(f=o&&(0,X.jsx)(`div`,{"aria-hidden":`true`,className:`[&_svg]:-mx-0.5 pointer-events-none absolute inset-y-0 start-px z-10 flex items-center ps-[calc(--spacing(3)-1px)] opacity-80 has-[+[data-size=sm]]:ps-[calc(--spacing(2.5)-1px)] [&_svg:not([class*='size-'])]:size-4.5 sm:[&_svg:not([class*='size-'])]:size-4`,"data-slot":`combobox-start-addon`,children:o}),t[8]=o,t[9]=f);let p=o&&`data-[size=sm]:*:data-[slot=combobox-input]:ps-[calc(--spacing(7.5)-1px)] *:data-[slot=combobox-input]:ps-[calc(--spacing(8.5)-1px)] sm:data-[size=sm]:*:data-[slot=combobox-input]:ps-[calc(--spacing(7)-1px)] sm:*:data-[slot=combobox-input]:ps-[calc(--spacing(8)-1px)]`,m=d===`sm`?`has-[+[data-slot=combobox-trigger],+[data-slot=combobox-clear]]:*:data-[slot=combobox-input]:pe-6.5`:`has-[+[data-slot=combobox-trigger],+[data-slot=combobox-clear]]:*:data-[slot=combobox-input]:pe-7`,h;t[10]!==n||t[11]!==p||t[12]!==m?(h=G(p,m,n),t[10]=n,t[11]=p,t[12]=m,t[13]=h):h=t[13];let g;t[14]===r?g=t[15]:(g=G(`has-disabled:opacity-100`,r),t[14]=r,t[15]=g);let _;t[16]!==d||t[17]!==g?(_=(0,X.jsx)(ie,{className:g,nativeInput:!0,size:d}),t[16]=d,t[17]=g,t[18]=_):_=t[18];let v;t[19]!==i||t[20]!==h||t[21]!==_?(v=(0,X.jsx)(B,{className:h,"data-slot":`combobox-input`,render:_,...i}),t[19]=i,t[20]=h,t[21]=_,t[22]=v):v=t[22];let y;t[23]!==l||t[24]!==d?(y=l&&(0,X.jsx)($,{className:G(`-translate-y-1/2 absolute top-1/2 inline-flex size-8 shrink-0 cursor-pointer items-center justify-center rounded-md border border-transparent opacity-80 outline-none transition-opacity pointer-coarse:after:absolute pointer-coarse:after:min-h-11 pointer-coarse:after:min-w-11 hover:opacity-100 has-[+[data-slot=combobox-clear]]:hidden sm:size-7 [&_svg:not([class*='size-'])]:size-4.5 sm:[&_svg:not([class*='size-'])]:size-4 [&_svg]:pointer-events-none [&_svg]:shrink-0`,d===`sm`?`end-0`:`end-0.5`),children:(0,X.jsx)(I,{"data-slot":`combobox-icon`,children:(0,X.jsx)(V,{})})}),t[23]=l,t[24]=d,t[25]=y):y=t[25];let b;t[26]!==u||t[27]!==d?(b=u&&(0,X.jsx)(je,{className:G(`-translate-y-1/2 absolute top-1/2 inline-flex size-8 shrink-0 cursor-pointer items-center justify-center rounded-md border border-transparent opacity-80 outline-none transition-opacity pointer-coarse:after:absolute pointer-coarse:after:min-h-11 pointer-coarse:after:min-w-11 hover:opacity-100 has-[+[data-slot=combobox-clear]]:hidden sm:size-7 [&_svg:not([class*='size-'])]:size-4.5 sm:[&_svg:not([class*='size-'])]:size-4 [&_svg]:pointer-events-none [&_svg]:shrink-0`,d===`sm`?`end-0`:`end-0.5`),children:(0,X.jsx)(W,{})}),t[26]=u,t[27]=d,t[28]=b):b=t[28];let x;return t[29]!==y||t[30]!==b||t[31]!==f||t[32]!==v?(x=(0,X.jsxs)(`div`,{className:`relative not-has-[>*.w-full]:w-fit w-full text-foreground has-disabled:opacity-64`,children:[f,v,y,b]}),t[29]=y,t[30]=b,t[31]=f,t[32]=v,t[33]=x):x=t[33],x}function $(e){let t=(0,Z.c)(8),n,r,i;t[0]===e?(n=t[1],r=t[2],i=t[3]):({className:r,children:n,...i}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i);let a;return t[4]!==n||t[5]!==r||t[6]!==i?(a=(0,X.jsx)(L,{className:r,"data-slot":`combobox-trigger`,...i,children:n}),t[4]=n,t[5]=r,t[6]=i,t[7]=a):a=t[7],a}function Ee(e){let t=(0,Z.c)(24),n,r,i,a,o,s,c,l;t[0]===e?(n=t[1],r=t[2],i=t[3],a=t[4],o=t[5],s=t[6],c=t[7],l=t[8]):({className:a,children:i,side:s,sideOffset:c,alignOffset:n,align:l,anchor:r,...o}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a,t[5]=o,t[6]=s,t[7]=c,t[8]=l);let u=s===void 0?`bottom`:s,d=c===void 0?4:c,f=l===void 0?`start`:l,{chipsRef:p}=q.useContext(Q),m=r??p,h;t[9]===a?h=t[10]:(h=G(`selection-glass-surface relative flex max-h-full min-w-(--anchor-width) max-w-(--available-width) origin-(--transform-origin) overflow-hidden rounded-lg border transition-[scale,opacity,translate] duration-(--app-motion-duration-pop) ease-(--app-motion-spring-gentle) will-change-transform data-ending-style:scale-98 data-starting-style:scale-98 data-ending-style:opacity-0 data-starting-style:opacity-0`,a),t[9]=a,t[10]=h);let g;t[11]!==i||t[12]!==o?(g=(0,X.jsx)(ye,{className:`flex min-w-0 max-h-[min(var(--available-height),23rem)] flex-1 flex-col overflow-hidden text-foreground`,"data-slot":`combobox-popup`,...o,children:i}),t[11]=i,t[12]=o,t[13]=g):g=t[13];let _;t[14]!==h||t[15]!==g?(_=(0,X.jsx)(`span`,{className:h,children:g}),t[14]=h,t[15]=g,t[16]=_):_=t[16];let v;return t[17]!==f||t[18]!==n||t[19]!==m||t[20]!==u||t[21]!==d||t[22]!==_?(v=(0,X.jsx)(ge,{children:(0,X.jsx)(_e,{align:f,alignOffset:n,anchor:m,className:`z-50 select-none`,"data-slot":`combobox-positioner`,side:u,sideOffset:d,children:_})}),t[17]=f,t[18]=n,t[19]=m,t[20]=u,t[21]=d,t[22]=_,t[23]=v):v=t[23],v}function De(e){let t=(0,Z.c)(24),n,r,i,a,o;t[0]===e?(n=t[1],r=t[2],i=t[3],a=t[4],o=t[5]):({className:r,contentClassName:i,children:n,hideIndicator:o,...a}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a,t[5]=o);let s=o!==void 0&&o,c;t[6]===r?c=t[7]:(c=G(`grid min-h-8 in-data-[side=none]:min-w-[calc(var(--anchor-width)+1.25rem)] cursor-default grid-cols-[1rem_1fr] items-center gap-2 rounded-sm py-1 ps-2 pe-4 text-base outline-none hover:bg-accent/70 data-disabled:pointer-events-none data-selected:bg-accent/50 data-selected:text-foreground data-highlighted:bg-accent/80 data-highlighted:text-accent-foreground [&[data-highlighted][data-selected]]:bg-accent/90 [&[data-highlighted][data-selected]]:text-accent-foreground data-disabled:opacity-64 sm:min-h-7 sm:text-sm [&_svg:not([class*='size-'])]:size-4.5 sm:[&_svg:not([class*='size-'])]:size-4 [&_svg]:pointer-events-none [&_svg]:shrink-0`,r),t[6]=r,t[7]=c);let l=s&&`hidden`,u;t[8]===l?u=t[9]:(u=G(`col-start-1`,l),t[8]=l,t[9]=u);let d;t[10]===Symbol.for(`react.memo_cache_sentinel`)?(d=(0,X.jsx)(T,{}),t[10]=d):d=t[10];let f;t[11]===u?f=t[12]:(f=(0,X.jsx)(Se,{className:u,children:d}),t[11]=u,t[12]=f);let p=s?`col-start-1 col-span-full`:`col-start-2`,m;t[13]!==i||t[14]!==p?(m=G(p,i),t[13]=i,t[14]=p,t[15]=m):m=t[15];let h;t[16]!==n||t[17]!==m?(h=(0,X.jsx)(`div`,{className:m,children:n}),t[16]=n,t[17]=m,t[18]=h):h=t[18];let g;return t[19]!==a||t[20]!==c||t[21]!==f||t[22]!==h?(g=(0,X.jsxs)(z,{className:c,"data-slot":`combobox-item`,...a,children:[f,h]}),t[19]=a,t[20]=c,t[21]=f,t[22]=h,t[23]=g):g=t[23],g}function Oe(e){let t=(0,Z.c)(8),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i;t[3]===n?i=t[4]:(i=G(`not-empty:p-2 text-center text-base text-muted-foreground sm:text-sm`,n),t[3]=n,t[4]=i);let a;return t[5]!==r||t[6]!==i?(a=(0,X.jsx)(be,{className:i,"data-slot":`combobox-empty`,...r}),t[5]=r,t[6]=i,t[7]=a):a=t[7],a}function ke(e){let t=(0,Z.c)(8),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i;t[3]===n?i=t[4]:(i=G(`not-empty:scroll-py-1 not-empty:px-1 not-empty:py-1`,n),t[3]=n,t[4]=i);let a;return t[5]!==r||t[6]!==i?(a=(0,X.jsx)(ae,{scrollbarGutter:!0,scrollFade:!0,children:(0,X.jsx)(O,{className:i,"data-slot":`combobox-list`,...r})}),t[5]=r,t[6]=i,t[7]=a):a=t[7],a}function Ae(e){let t=(0,Z.c)(8),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i;t[3]===n?i=t[4]:(i=G(`not-empty:px-1 not-empty:py-1`,n),t[3]=n,t[4]=i);let a;return t[5]!==r||t[6]!==i?(a=(0,X.jsx)(O,{className:i,"data-slot":`combobox-list`,...r}),t[5]=r,t[6]=i,t[7]=a):a=t[7],a}function je(e){let t=(0,Z.c)(6),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i;return t[3]!==n||t[4]!==r?(i=(0,X.jsx)(A,{className:n,"data-slot":`combobox-clear`,...r}),t[3]=n,t[4]=r,t[5]=i):i=t[5],i}function Me(e){let t=(0,Z.c)(8),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i;t[3]===n?i=t[4]:(i=G(`px-3 py-2 font-medium text-muted-foreground text-xs empty:m-0 empty:p-0`,n),t[3]=n,t[4]=i);let a;return t[5]!==r||t[6]!==i?(a=(0,X.jsx)(me,{className:i,"data-slot":`combobox-status`,...r}),t[5]=r,t[6]=i,t[7]=a):a=t[7],a}var Ne={[r.make(`codex`)]:oe,[r.make(`claudeAgent`)]:ce,[r.make(`copilot`)]:le,[r.make(`opencode`)]:de,[r.make(`cursor`)]:ue,[r.make(`grok`)]:se};function Pe(e){return e.available}K.filter(Pe);function Fe(e,t){return a(e,t)}function Ie(e){return Fe(e,{preferShortName:!0})}function Le(e){return o(e,{preferShortName:!0})}export{we as a,De as c,Ee as d,Me as f,Ie as i,ke as l,Fe as n,Oe as o,$ as p,Le as r,Te as s,Ne as t,Ae as u};