wherdr 1.3.0 → 1.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.output/nitro.json +1 -1
- package/.output/public/_nuxt/{AgentView.DE2GDt4O.css → AgentView.C4YOwvZG.css} +1 -1
- package/.output/public/_nuxt/{C3P2P5Mv.js → B6qBWHWB.js} +1 -1
- package/.output/public/_nuxt/BMIe8p_3.js +2 -0
- package/.output/public/_nuxt/BrAeJIZR.js +30 -0
- package/.output/public/_nuxt/C12eXl5z.js +1 -0
- package/.output/public/_nuxt/{C3BWhslt.js → C2T9fQ4f.js} +1 -1
- package/.output/public/_nuxt/CYxHnMNH.js +83 -0
- package/.output/public/_nuxt/{OAXEskzA.js → CctS2Xn6.js} +1 -1
- package/.output/public/_nuxt/{Bta8at9w.js → CiYar6hg.js} +1 -1
- package/.output/public/_nuxt/{DcCZr0Ya.js → Dwh-l2rQ.js} +11 -11
- package/.output/public/_nuxt/{BB3uOVbO.js → WLQjK8uJ.js} +41 -41
- package/.output/public/_nuxt/builds/latest.json +1 -1
- package/.output/public/_nuxt/builds/meta/6466b0ab-7935-460c-abdf-2ea632dae6d0.json +1 -0
- package/.output/public/_nuxt/{entry.SHBiCXBL.css → entry.cKR16VqG.css} +1 -1
- package/.output/public/_nuxt/whFLy_Ne.js +23 -0
- package/.output/public/sw.js +1 -1
- package/.output/server/chunks/_/branding.mjs +1 -1
- package/.output/server/chunks/_/plugins.mjs +10 -2
- package/.output/server/chunks/_/worktrees.mjs +1 -1
- package/.output/server/chunks/_/ws.mjs +1 -1
- package/.output/server/chunks/nitro/nitro.mjs +235 -195
- package/.output/server/chunks/raw/bump-homebrew.mjs +7 -0
- package/.output/server/chunks/raw/herdr-plugin.mjs +1 -1
- package/.output/server/chunks/routes/api/screen.get.mjs +7 -5
- package/.output/server/chunks/routes/api/search.get.mjs +1 -1
- package/.output/server/chunks/routes/api/seen.post.mjs +1 -1
- package/.output/server/chunks/routes/api/sessions.get.mjs +1 -1
- package/.output/server/chunks/routes/api/sessions.post.mjs +1 -1
- package/.output/server/chunks/routes/api/space.post.mjs +1 -1
- package/.output/server/chunks/routes/api/unqueue.post.mjs +1 -1
- package/.output/server/chunks/routes/api/update.get.mjs +2 -2
- package/.output/server/chunks/routes/icons/_name_.get.mjs +1 -1
- package/.output/server/chunks/routes/renderer.mjs +2 -2
- package/.output/server/chunks/routes/uploads/_...name_.get.mjs +1 -1
- package/.output/server/chunks/routes/ws/_..._.mjs +1 -1
- package/.output/server/chunks/routes/ws/events.mjs +1 -1
- package/.output/server/chunks/routes/ws/mirror.mjs +1 -1
- package/.output/server/chunks/routes/ws/term.mjs +1 -1
- package/.output/server/chunks/virtual/precomputed.mjs +1 -1
- package/.output/server/index.mjs +1 -1
- package/.output/server/package.json +1 -1
- package/README.md +107 -23
- package/bin/lib/brew.mjs +86 -0
- package/bin/lib/commands.mjs +32 -8
- package/bin/lib/core.mjs +7 -2
- package/package.json +1 -1
- package/.output/public/_nuxt/01adBkx4.js +0 -1
- package/.output/public/_nuxt/BJsf0WRn.js +0 -2
- package/.output/public/_nuxt/Cc2bsOcu.js +0 -83
- package/.output/public/_nuxt/DKmoLFfn.js +0 -30
- package/.output/public/_nuxt/DsD2R-37.js +0 -23
- package/.output/public/_nuxt/builds/meta/ff11fc8b-1e70-4261-a76e-a52155efb196.json +0 -1
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import{A as e,B as t,Ft as n,Hn as r,Jt as i,M as a,Mn as o,N as s,Ot as c,P as l,Pt as u,Rt as d,St as f,U as p,V as m,Zt as h,b as g,dr as _,hr as v,ht as y,j as b,ln as x,mr as S,mt as C,nn as w,sn as T,wn as E,zn as D}from"./SiL1FJ5s.js";import{_t as O,gt as k,vt as A}from"./CWwyK2XK.js";import{Ar as ee,In as j,Ln as M,Qt as te,Un as N,Vn as P,Zn as F,Zt as I,_r as L,an as ne,br as R,c as z,cn as re,fn as ie,hr as B,jr as ae,kr as oe,lr as se,mn as V,pn as ce,q as le,rr as ue,sn as de,t as fe,tn as pe,vr as me,wr as H,xn as he,xr as ge}from"./DcCZr0Ya.js";import{f as _e,p as ve,u as ye}from"./Ci8N4mWR.js";import{c as be,r as xe}from"./Bta8at9w.js";import{$ as Se,$n as Ce,Cr as U,E as we,F as Te,Gn as Ee,J as De,Jn as Oe,Kn as ke,M as Ae,O as je,Qn as Me,S as Ne,Sr as Pe,T as W,Tr as Fe,X as Ie,Xn as Le,Xt as Re,Y as ze,Yn as Be,Z as Ve,Zn as He,_ as Ue,_t as We,b as G,et as Ge,fr as Ke,ft as qe,g as Je,gt as Ye,hr as Xe,ht as Ze,i as Qe,lr as $e,lt as et,m as tt,mt as K,n as nt,p as rt,pt as it,q as at,r as ot,st,tr as ct,ut as lt,w as ut,wr as q,x as dt,xr as J,y as ft}from"./Cc2bsOcu.js";import{O as pt,T as mt,a as ht,b as gt,c as _t,i as Y,k as vt,n as yt,r as bt,t as xt}from"./OAXEskzA.js";import{_ as St,a as Ct,c as wt,d as Tt,f as Et,g as Dt,h as Ot,i as kt,n as At,o as jt,r as Mt,s as Nt,t as Pt,u as Ft,v as It}from"#entry";var X=`radio.select`;function Lt(e,t,n){B(X,n,{originalEvent:e,value:t})}var Rt=p({inheritAttrs:!1,__name:`Radio`,props:{id:{type:String,required:!1},value:{type:null,required:!1},disabled:{type:Boolean,required:!1,default:!1},checked:{type:Boolean,required:!1,default:void 0},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:`button`},name:{type:String,required:!1},required:{type:Boolean,required:!1}},emits:[`update:checked`,`select`],setup(t,{emit:i}){let o=t,u=i,d=ue(o,`checked`,u,{passive:o.checked===void 0}),{value:f}=D(o),{forwardRef:p,currentElement:h}=P(),_=It(h),v=St(),y=e(()=>o.id&&h.value?document.querySelector(`[for="${o.id}"]`)?.innerText:void 0);function b(e){o.disabled||Lt(e,o.value,e=>{u(`select`,e),!e?.defaultPrevented&&(d.value=!0,_.value&&e.stopPropagation())})}return(e,t)=>(c(),l(g,null,[m(r(j),C({id:e.id,ref:r(p),role:`radio`,type:e.as===`button`?`button`:void 0,as:e.as,"aria-checked":r(d)??!1,"aria-label":y.value,"as-child":e.asChild,disabled:e.disabled?``:void 0,"data-state":r(d)?`checked`:`unchecked`,"data-disabled":e.disabled?``:void 0,value:r(f),required:e.required,name:e.name},{...r(v),...e.$attrs},{onClick:A(b,[`stop`])}),{default:T(()=>[n(e.$slots,`default`,{checked:r(d)})]),_:3},16,[`id`,`type`,`as`,`aria-checked`,`aria-label`,`as-child`,`disabled`,`data-state`,`data-disabled`,`value`,`required`,`name`]),r(_)&&e.name?(c(),a(r(Dt),C({key:0,type:`radio`,tabindex:`-1`,value:r(f),checked:!!r(d),name:e.name,disabled:e.disabled,required:e.required},r(v)),null,16,[`value`,`checked`,`name`,`disabled`,`required`])):s(`v-if`,!0)],64))}}),[zt,Bt]=L(`RadioGroupRoot`),Z=p({__name:`RadioGroupRoot`,props:{modelValue:{type:null,required:!1},defaultValue:{type:null,required:!1},disabled:{type:Boolean,required:!1,default:!1},orientation:{type:String,required:!1,default:void 0},dir:{type:String,required:!1},loop:{type:Boolean,required:!1,default:!0},asChild:{type:Boolean,required:!1},as:{type:null,required:!1},name:{type:String,required:!1},required:{type:Boolean,required:!1,default:!1}},emits:[`update:modelValue`],setup(e,{emit:t}){let i=e,o=t,{forwardRef:l,currentElement:u}=P(),d=ue(i,`modelValue`,o,{defaultValue:i.defaultValue,passive:i.modelValue===void 0}),{disabled:f,loop:p,orientation:h,name:g,required:_,dir:v}=D(i),y=N(v),b=It(u);return Bt({modelValue:d,changeModelValue:e=>{d.value=e},disabled:f,loop:p,orientation:h,name:g?.value,required:_}),(e,t)=>(c(),a(r(he),{"as-child":``,orientation:r(h),dir:r(y),loop:r(p)},{default:T(()=>[m(r(j),{ref:r(l),role:`radiogroup`,"data-disabled":r(f)?``:void 0,"as-child":e.asChild,as:e.as,"aria-orientation":r(h),"aria-required":r(_),dir:r(y)},{default:T(()=>[n(e.$slots,`default`,{modelValue:r(d)}),r(b)&&r(g)?(c(),a(r(Dt),{key:0,required:r(_),disabled:r(f),value:r(d),name:r(g)},null,8,[`required`,`disabled`,`value`,`name`])):s(`v-if`,!0)]),_:3},8,[`data-disabled`,`as-child`,`as`,`aria-orientation`,`aria-required`,`dir`])]),_:3},8,[`orientation`,`dir`,`loop`]))}}),[Vt,Ht]=L(`RadioGroupItem`),Ut=p({inheritAttrs:!1,__name:`RadioGroupItem`,props:{id:{type:String,required:!1},value:{type:null,required:!1},disabled:{type:Boolean,required:!1,default:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:`button`},name:{type:String,required:!1},required:{type:Boolean,required:!1}},emits:[`select`],setup(t,{emit:i}){let s=t,l=i,{forwardRef:u,currentElement:d}=P(),f=zt(),p=e(()=>f.disabled.value||s.disabled),h=e(()=>f.required.value||s.required),g=e(()=>xe(f.modelValue?.value,s.value));Ht({disabled:p,checked:g});let _=o(!1),v=[`ArrowUp`,`ArrowDown`,`ArrowLeft`,`ArrowRight`];F(`keydown`,e=>{v.includes(e.key)&&(_.value=!0)}),F(`keyup`,()=>{_.value=!1});function y(){setTimeout(()=>{_.value&&d.value?.click()},0)}let b=St();return(e,t)=>(c(),a(r(vt),{checked:g.value,disabled:p.value,"as-child":``,focusable:!p.value,active:g.value},{default:T(()=>[m(Rt,C({...r(b),...e.$attrs,...s},{ref:r(u),checked:g.value,required:h.value,disabled:p.value,"onUpdate:checked":t[0]||=t=>r(f).changeModelValue(e.value),onSelect:t[1]||=e=>l(`select`,e),onKeydown:t[2]||=O(A(()=>{},[`prevent`]),[`enter`]),onFocus:y}),{default:T(()=>[n(e.$slots,`default`,{checked:g.value,required:h.value,disabled:p.value})]),_:3},16,[`checked`,`required`,`disabled`])]),_:3},8,[`checked`,`disabled`,`focusable`,`active`]))}}),Wt=p({__name:`RadioGroupIndicator`,props:{forceMount:{type:Boolean,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:`span`}},setup(e){let{forwardRef:t}=P(),i=Vt();return(e,o)=>(c(),a(r(M),{present:e.forceMount||r(i).checked.value},{default:T(()=>[m(r(j),C({ref:r(t),"data-state":r(i).checked.value?`checked`:`unchecked`,"data-disabled":r(i).disabled.value?``:void 0,"as-child":e.asChild,as:e.as},e.$attrs),{default:T(()=>[n(e.$slots,`default`)]),_:3},16,[`data-state`,`data-disabled`,`as-child`,`as`])]),_:3},8,[`present`]))}}),Gt={slots:{root:`relative`,fieldset:`flex gap-x-2`,legend:`mb-1 block font-medium text-default`,item:`flex items-start`,container:`flex items-center`,base:`rounded-full ring ring-inset ring-accented overflow-hidden focus-visible:outline-none`,indicator:`flex items-center justify-center size-full after:bg-default after:rounded-full`,wrapper:`w-full`,label:`block font-medium text-default`,icon:`shrink-0`,description:`text-muted`},variants:{color:{primary:{indicator:`bg-primary`},neutral:{indicator:`bg-inverted`},success:{indicator:`bg-success`},warning:{indicator:`bg-warning`},error:{indicator:`bg-error`},info:{indicator:`bg-info`}},variant:{list:{fieldset:`flex-wrap`,item:``},card:{fieldset:`flex-wrap`,item:[`border border-default rounded-lg hover:not-has-disabled:not-has-focus-visible:not-has-data-[state=checked]:bg-elevated/50`,`transition-colors`]},table:{item:[`border border-default hover:not-has-disabled:not-has-focus-visible:not-has-data-[state=checked]:bg-elevated/50`,`transition-colors`]}},orientation:{horizontal:{fieldset:`flex-row`},vertical:{fieldset:`flex-col`}},indicator:{start:{item:`flex-row`,wrapper:`ms-2`},end:{item:`flex-row-reverse`,wrapper:`me-2`},hidden:{base:`sr-only`,wrapper:`flex flex-col items-center gap-1 text-center`}},size:{xs:{fieldset:`gap-y-0.5`,legend:`text-xs`,base:`size-3`,item:`text-xs`,container:`h-4`,indicator:`after:size-1`},sm:{fieldset:`gap-y-0.5`,legend:`text-xs`,base:`size-3.5`,item:`text-xs`,container:`h-4`,indicator:`after:size-1`},md:{fieldset:`gap-y-1`,legend:`text-sm`,base:`size-4`,item:`text-sm`,container:`h-5`,indicator:`after:size-1.5`},lg:{fieldset:`gap-y-1`,legend:`text-sm`,base:`size-4.5`,item:`text-sm`,container:`h-5`,indicator:`after:size-1.5`},xl:{fieldset:`gap-y-1.5`,legend:`text-base`,base:`size-5`,item:`text-base`,container:`h-6`,indicator:`after:size-2`}},highlight:{true:``,false:``},disabled:{true:{item:`opacity-75`,base:`cursor-not-allowed`,label:`cursor-not-allowed`,description:`cursor-not-allowed`}},required:{true:{legend:`after:content-['*'] after:ms-0.5 after:text-error`}}},compoundVariants:[{indicator:`hidden`,class:{container:`h-auto`}},{variant:[`card`,`table`],highlight:!1,class:{item:`hover:not-has-disabled:not-has-focus-visible:not-has-data-[state=checked]:border-accented`}},{size:`xs`,indicator:`hidden`,class:{icon:`size-3`}},{size:`sm`,indicator:`hidden`,class:{icon:`size-3.5`}},{size:`md`,indicator:`hidden`,class:{icon:`size-4`}},{size:`lg`,indicator:`hidden`,class:{icon:`size-4.5`}},{size:`xl`,indicator:`hidden`,class:{icon:`size-5`}},{size:`xs`,variant:[`card`,`table`],class:{item:`p-2.5`}},{size:`sm`,variant:[`card`,`table`],class:{item:`p-3`}},{size:`md`,variant:[`card`,`table`],class:{item:`p-3.5`}},{size:`lg`,variant:[`card`,`table`],class:{item:`p-4`}},{size:`xl`,variant:[`card`,`table`],class:{item:`p-4.5`}},{orientation:`horizontal`,variant:`table`,class:{item:`first-of-type:rounded-s-lg last-of-type:rounded-e-lg`,fieldset:`gap-0 -space-x-px`}},{orientation:`vertical`,variant:`table`,class:{item:`first-of-type:rounded-t-lg last-of-type:rounded-b-lg`,fieldset:`gap-0 -space-y-px`}},{color:`primary`,variant:`list`,indicator:[`start`,`end`],class:{base:`outline-primary/25 focus-visible:outline-solid focus-visible:outline-3 focus-visible:ring-primary`}},{color:`neutral`,variant:`list`,indicator:[`start`,`end`],class:{base:`outline-neutral/25 focus-visible:outline-solid focus-visible:outline-3 focus-visible:ring-neutral`}},{color:`success`,variant:`list`,indicator:[`start`,`end`],class:{base:`outline-success/25 focus-visible:outline-solid focus-visible:outline-3 focus-visible:ring-success`}},{color:`warning`,variant:`list`,indicator:[`start`,`end`],class:{base:`outline-warning/25 focus-visible:outline-solid focus-visible:outline-3 focus-visible:ring-warning`}},{color:`error`,variant:`list`,indicator:[`start`,`end`],class:{base:`outline-error/25 focus-visible:outline-solid focus-visible:outline-3 focus-visible:ring-error`}},{color:`info`,variant:`list`,indicator:[`start`,`end`],class:{base:`outline-info/25 focus-visible:outline-solid focus-visible:outline-3 focus-visible:ring-info`}},{color:`neutral`,variant:`list`,indicator:[`start`,`end`],class:{base:`outline-inverted/25 focus-visible:outline-solid focus-visible:outline-3 focus-visible:ring-inverted`}},{color:`primary`,variant:[`card`,`table`],class:{item:`outline-primary/25 has-focus-visible:outline-3 not-has-disabled:has-focus-visible:border-primary has-focus-visible:z-[1]`}},{color:`neutral`,variant:[`card`,`table`],class:{item:`outline-neutral/25 has-focus-visible:outline-3 not-has-disabled:has-focus-visible:border-neutral has-focus-visible:z-[1]`}},{color:`success`,variant:[`card`,`table`],class:{item:`outline-success/25 has-focus-visible:outline-3 not-has-disabled:has-focus-visible:border-success has-focus-visible:z-[1]`}},{color:`warning`,variant:[`card`,`table`],class:{item:`outline-warning/25 has-focus-visible:outline-3 not-has-disabled:has-focus-visible:border-warning has-focus-visible:z-[1]`}},{color:`error`,variant:[`card`,`table`],class:{item:`outline-error/25 has-focus-visible:outline-3 not-has-disabled:has-focus-visible:border-error has-focus-visible:z-[1]`}},{color:`info`,variant:[`card`,`table`],class:{item:`outline-info/25 has-focus-visible:outline-3 not-has-disabled:has-focus-visible:border-info has-focus-visible:z-[1]`}},{color:`neutral`,variant:[`card`,`table`],class:{item:`outline-inverted/25 has-focus-visible:outline-3 not-has-disabled:has-focus-visible:border-inverted has-focus-visible:z-[1]`}},{color:`primary`,variant:`list`,indicator:`hidden`,class:{item:`outline-primary/25 has-focus-visible:outline-3 not-has-disabled:has-focus-visible:border-primary has-focus-visible:z-[1]`}},{color:`neutral`,variant:`list`,indicator:`hidden`,class:{item:`outline-neutral/25 has-focus-visible:outline-3 not-has-disabled:has-focus-visible:border-neutral has-focus-visible:z-[1]`}},{color:`success`,variant:`list`,indicator:`hidden`,class:{item:`outline-success/25 has-focus-visible:outline-3 not-has-disabled:has-focus-visible:border-success has-focus-visible:z-[1]`}},{color:`warning`,variant:`list`,indicator:`hidden`,class:{item:`outline-warning/25 has-focus-visible:outline-3 not-has-disabled:has-focus-visible:border-warning has-focus-visible:z-[1]`}},{color:`error`,variant:`list`,indicator:`hidden`,class:{item:`outline-error/25 has-focus-visible:outline-3 not-has-disabled:has-focus-visible:border-error has-focus-visible:z-[1]`}},{color:`info`,variant:`list`,indicator:`hidden`,class:{item:`outline-info/25 has-focus-visible:outline-3 not-has-disabled:has-focus-visible:border-info has-focus-visible:z-[1]`}},{color:`neutral`,variant:`list`,indicator:`hidden`,class:{item:`outline-inverted/25 has-focus-visible:outline-3 not-has-disabled:has-focus-visible:border-inverted has-focus-visible:z-[1]`}},{color:`primary`,variant:`card`,class:{item:`has-data-[state=checked]:border-primary/50 has-data-[state=checked]:bg-primary/10`}},{color:`neutral`,variant:`card`,class:{item:`has-data-[state=checked]:border-neutral/50 has-data-[state=checked]:bg-neutral/10`}},{color:`success`,variant:`card`,class:{item:`has-data-[state=checked]:border-success/50 has-data-[state=checked]:bg-success/10`}},{color:`warning`,variant:`card`,class:{item:`has-data-[state=checked]:border-warning/50 has-data-[state=checked]:bg-warning/10`}},{color:`error`,variant:`card`,class:{item:`has-data-[state=checked]:border-error/50 has-data-[state=checked]:bg-error/10`}},{color:`info`,variant:`card`,class:{item:`has-data-[state=checked]:border-info/50 has-data-[state=checked]:bg-info/10`}},{color:`neutral`,variant:`card`,class:{item:`has-data-[state=checked]:border-inverted/50 has-data-[state=checked]:bg-elevated`}},{color:`primary`,variant:`table`,class:{item:`has-data-[state=checked]:bg-primary/10 has-data-[state=checked]:border-primary/50 has-data-[state=checked]:z-[1]`}},{color:`neutral`,variant:`table`,class:{item:`has-data-[state=checked]:bg-neutral/10 has-data-[state=checked]:border-neutral/50 has-data-[state=checked]:z-[1]`}},{color:`success`,variant:`table`,class:{item:`has-data-[state=checked]:bg-success/10 has-data-[state=checked]:border-success/50 has-data-[state=checked]:z-[1]`}},{color:`warning`,variant:`table`,class:{item:`has-data-[state=checked]:bg-warning/10 has-data-[state=checked]:border-warning/50 has-data-[state=checked]:z-[1]`}},{color:`error`,variant:`table`,class:{item:`has-data-[state=checked]:bg-error/10 has-data-[state=checked]:border-error/50 has-data-[state=checked]:z-[1]`}},{color:`info`,variant:`table`,class:{item:`has-data-[state=checked]:bg-info/10 has-data-[state=checked]:border-info/50 has-data-[state=checked]:z-[1]`}},{color:`neutral`,variant:`table`,class:{item:`has-data-[state=checked]:bg-elevated has-data-[state=checked]:border-inverted/50 has-data-[state=checked]:z-[1]`}},{variant:[`card`,`table`],disabled:!0,class:{item:`cursor-not-allowed`}},{color:`primary`,indicator:`hidden`,highlight:!0,class:{item:`not-has-disabled:border-primary not-has-disabled:has-data-[state=checked]:border-primary`}},{color:`neutral`,indicator:`hidden`,highlight:!0,class:{item:`not-has-disabled:border-neutral not-has-disabled:has-data-[state=checked]:border-neutral`}},{color:`success`,indicator:`hidden`,highlight:!0,class:{item:`not-has-disabled:border-success not-has-disabled:has-data-[state=checked]:border-success`}},{color:`warning`,indicator:`hidden`,highlight:!0,class:{item:`not-has-disabled:border-warning not-has-disabled:has-data-[state=checked]:border-warning`}},{color:`error`,indicator:`hidden`,highlight:!0,class:{item:`not-has-disabled:border-error not-has-disabled:has-data-[state=checked]:border-error`}},{color:`info`,indicator:`hidden`,highlight:!0,class:{item:`not-has-disabled:border-info not-has-disabled:has-data-[state=checked]:border-info`}},{color:`neutral`,indicator:`hidden`,highlight:!0,class:{item:`not-has-disabled:border-inverted not-has-disabled:has-data-[state=checked]:border-inverted`}},{color:`primary`,highlight:!0,class:{base:`ring-primary`}},{color:`neutral`,highlight:!0,class:{base:`ring-neutral`}},{color:`success`,highlight:!0,class:{base:`ring-success`}},{color:`warning`,highlight:!0,class:{base:`ring-warning`}},{color:`error`,highlight:!0,class:{base:`ring-error`}},{color:`info`,highlight:!0,class:{base:`ring-info`}},{color:`neutral`,highlight:!0,class:{base:`ring-inverted`}}],defaultVariants:{highlight:!1,size:`md`,color:`primary`,variant:`list`,indicator:`start`}},Kt={__name:`URadioGroup`,props:{as:{type:null,required:!1},legend:{type:String,required:!1},valueKey:{type:null,required:!1,default:`value`},labelKey:{type:null,required:!1,default:`label`},descriptionKey:{type:null,required:!1,default:`description`},items:{type:null,required:!1},modelValue:{type:null,required:!1},defaultValue:{type:null,required:!1},size:{type:null,required:!1},variant:{type:null,required:!1},color:{type:null,required:!1},highlight:{type:Boolean,required:!1},orientation:{type:null,required:!1,default:`vertical`},indicator:{type:null,required:!1},class:{type:null,required:!1},ui:{type:Object,required:!1},disabled:{type:Boolean,required:!1},loop:{type:Boolean,required:!1},name:{type:String,required:!1},required:{type:Boolean,required:!1}},emits:[`change`,`update:modelValue`],setup(o,{emit:f}){let p=o,y=f,x=h(),S=ce(`radioGroup`,p),w=be(),E=ie(se(S,`as`,`loop`,`required`),y),{emitFormChange:D,emitFormInput:O,color:k,name:A,size:ee,highlight:j,id:M,disabled:te,ariaAttrs:N}=re(p,{bind:!1}),P=M.value??i(),F=e(()=>k.value??S.color),I=e(()=>j.value??S.highlight),L=e(()=>ee.value??S.size),R=e(()=>te.value??S.disabled),z=e(()=>de({extend:Gt,...w.ui?.radioGroup||{}})({size:L.value,color:F.value,highlight:I.value,disabled:R.value,required:S.required,orientation:S.orientation,variant:S.variant,indicator:S.indicator}));function B(e){if(e===null)return{id:`${P}:null`,value:void 0,label:void 0};if(typeof e==`string`||typeof e==`number`||typeof e==`bigint`)return{id:`${P}:${e}`,value:String(e),label:String(e)};let t=V(e,S.valueKey),n=V(e,S.labelKey),r=V(e,S.descriptionKey);return{...e,value:t,label:n,description:r,id:`${P}:${t}`}}let ae=e(()=>S.items?S.items.map(B):[]);function oe(e){return S.indicator===`hidden`?e.icon:void 0}function le(e){let t=new Event(`change`,{target:{value:e}});y(`change`,t),D(),O()}return(e,i)=>(c(),a(r(Z),C({id:r(P)},r(E),{"model-value":r(S).modelValue,"default-value":r(S).defaultValue,orientation:r(S).orientation,name:r(A),disabled:R.value,"data-slot":`root`,class:z.value.root({class:[r(S).ui?.root,r(S).class]}),"onUpdate:modelValue":le}),{default:T(()=>[b(`fieldset`,C({"data-slot":`fieldset`,class:z.value.fieldset({class:r(S).ui?.fieldset})},r(N)),[r(S).legend||x.legend?(c(),l(`legend`,{key:0,"data-slot":`legend`,class:_(z.value.legend({class:r(S).ui?.legend}))},[n(e.$slots,`legend`,{},()=>[t(v(r(S).legend),1)])],2)):s(``,!0),(c(!0),l(g,null,u(ae.value,i=>(c(),a(d(!r(S).variant||r(S).variant===`list`?`div`:r(Ot)),{key:i.value,"data-slot":`item`,class:_(z.value.item({class:[r(S).ui?.item,i.ui?.item,i.class],disabled:i.disabled||R.value}))},{default:T(()=>[b(`div`,{"data-slot":`container`,class:_(z.value.container({class:[r(S).ui?.container,i.ui?.container]}))},[m(r(Ut),{id:i.id,value:i.value,disabled:i.disabled||R.value,"data-slot":`base`,class:_(z.value.base({class:[r(S).ui?.base,i.ui?.base],disabled:i.disabled||R.value}))},{default:T(()=>[m(r(Wt),{"data-slot":`indicator`,class:_(z.value.indicator({class:[r(S).ui?.indicator,i.ui?.indicator]}))},null,8,[`class`])]),_:2},1032,[`id`,`value`,`disabled`,`class`])],2),oe(i)||i.label||x.label||i.description||x.description?(c(),l(`div`,{key:0,"data-slot":`wrapper`,class:_(z.value.wrapper({class:[r(S).ui?.wrapper,i.ui?.wrapper]}))},[oe(i)?(c(),a(ne,{key:0,name:oe(i),"data-slot":`icon`,class:_(z.value.icon({class:[r(S).ui?.icon,i.ui?.icon]}))},null,8,[`name`,`class`])):s(``,!0),i.label||x.label?(c(),a(d(!r(S).variant||r(S).variant===`list`?r(Ot):`p`),{key:1,for:i.id,"data-slot":`label`,class:_(z.value.label({class:[r(S).ui?.label,i.ui?.label],disabled:i.disabled||R.value}))},{default:T(()=>[n(e.$slots,`label`,{item:i,modelValue:r(S).modelValue},()=>[t(v(i.label),1)])]),_:2},1032,[`for`,`class`])):s(``,!0),i.description||x.description?(c(),l(`p`,{key:2,"data-slot":`description`,class:_(z.value.description({class:[r(S).ui?.description,i.ui?.description],disabled:i.disabled||R.value}))},[n(e.$slots,`description`,{item:i,modelValue:r(S).modelValue},()=>[t(v(i.description),1)])],2)):s(``,!0)],2)):s(``,!0)]),_:2},1032,[`class`]))),128))],16)]),_:3},16,[`id`,`model-value`,`default-value`,`orientation`,`name`,`disabled`,`class`]))}},Q=`J’ai trouvé la cause : le cache n’était jamais invalidé après une mise à jour. Le correctif tient en trois points :
|
|
2
|
-
|
|
3
|
-
- vider l’entrée à chaque écriture ;
|
|
4
|
-
- ajouter un test de régression ;
|
|
5
|
-
- garder la durée de vie à 5 minutes.
|
|
6
|
-
|
|
7
|
-
\`\`\`ts
|
|
8
|
-
cache.delete(key)
|
|
9
|
-
await save(item)
|
|
10
|
-
\`\`\`
|
|
11
|
-
|
|
12
|
-
Tous les tests passent.`,$=`Found the cause: the cache was never invalidated after an update. The fix has three parts:
|
|
13
|
-
|
|
14
|
-
- clear the entry on every write;
|
|
15
|
-
- add a regression test;
|
|
16
|
-
- keep the time to live at 5 minutes.
|
|
17
|
-
|
|
18
|
-
\`\`\`ts
|
|
19
|
-
cache.delete(key)
|
|
20
|
-
await save(item)
|
|
21
|
-
\`\`\`
|
|
22
|
-
|
|
23
|
-
All tests pass.`,qt=e=>e===`fr`?Q:$,Jt=(e,t)=>e===`off`?null:t,Yt={class:`typing-preview`},Xt=[`aria-label`,`disabled`],Zt=Object.assign(p({__name:`TypingPreview`,setup(e){let t=mt(qt(J)),n=o(null),i=o(null),a=o(``),s=()=>{n.value=Jt(We.value,Date.now())};return f(()=>{i.value&&(a.value=`${i.value.offsetHeight}px`),s()}),w([We,dt],s),(e,o)=>{let u=ne,d=I,f=pt;return c(),l(`figure`,Yt,[b(`figcaption`,null,[b(`span`,null,v((`t`in e?e.t:r(U))(`Preview`)),1),m(d,{text:(`t`in e?e.t:r(U))(`Replay`)},{default:T(()=>[b(`button`,{type:`button`,class:`typing-replay`,"aria-label":(`t`in e?e.t:r(U))(`Replay`),disabled:!(`typewriterActive`in e?e.typewriterActive:r(Ze)),onClick:s},[m(u,{name:`i-lucide-rotate-ccw`})],8,Xt)]),_:1},8,[`text`])]),b(`div`,{ref_key:`box`,ref:i,class:`typing-sample md`,style:S({minHeight:r(a)})},[m(f,{html:r(t),typing:r(n),onDone:o[0]||=e=>n.value=null},null,8,[`html`,`typing`])],4)])}}}),{__name:`TypingPreview`}),Qt=[`data-mode`],$t={class:`qt-stage`},en={class:`qt-conv`},tn={class:`qt-agent`},nn={class:`qt-tag one`},rn={class:`qt-tag two`},an={class:`qt-sent`},on={class:`qt-sent-q`},sn={class:`qt-sent-q`},cn={key:0,class:`qt-chips`},ln={class:`qt-chip one`},un={class:`qt-chip two`},dn={class:`qt-field`},fn={class:`qt-ph`},pn={class:`qt-tok one`},mn={key:0},hn={class:`qt-ans one`},gn={class:`qt-tok two`},_n={key:0},vn=Object.assign(p({__name:`QuoteTokensPreview`,props:{mode:{}},setup(e){return(n,i)=>(c(),l(`figure`,{class:`qt-preview`,"data-mode":e.mode,"aria-hidden":`true`},[b(`figcaption`,null,v((`t`in n?n.t:r(U))(`Preview`)),1),b(`div`,$t,[b(`div`,en,[b(`div`,tn,[b(`p`,null,[t(v((`tl`in n?n.tl:r(q))(`Tea or coffee?`,`Thé ou café ?`))+` `,1),b(`span`,nn,`↳ `+v((`t`in n?n.t:r(U))(`Reply`)),1)]),b(`p`,null,[t(v((`tl`in n?n.tl:r(q))(`And your favorite series?`,`Et ta série préférée ?`))+` `,1),b(`span`,rn,`↳ `+v((`t`in n?n.t:r(U))(`Reply`)),1)])]),b(`div`,an,[b(`span`,on,v((`tl`in n?n.tl:r(q))(`Tea or coffee?`,`Thé ou café ?`)),1),b(`span`,null,v((`tl`in n?n.tl:r(q))(`Coffee.`,`Café.`)),1),b(`span`,sn,v((`tl`in n?n.tl:r(q))(`And your favorite series?`,`Et ta série préférée ?`)),1),i[0]||=b(`span`,null,`Lost !`,-1)])]),e.mode===`lines`?(c(),l(`div`,cn,[b(`span`,ln,[t(v((`tl`in n?n.tl:r(q))(`Tea or coffee?`,`Thé ou café ?`)),1),i[1]||=b(`i`,null,`✕`,-1)]),b(`span`,un,[t(v((`tl`in n?n.tl:r(q))(`And your favorite series?`,`Et ta série préférée ?`)),1),i[2]||=b(`i`,null,`✕`,-1)])])):s(``,!0),b(`div`,dn,[b(`span`,fn,v((`tl`in n?n.tl:r(q))(`Message to Claude…`,`Message à Claude…`)),1),b(`span`,pn,[b(`b`,null,v(e.mode===`lines`?`>`:`↳`),1),t(v((`tl`in n?n.tl:r(q))(`Tea or coffee?`,`Thé ou café ?`)),1),e.mode===`rich`?(c(),l(`i`,mn,`✕`)):s(``,!0)]),b(`span`,hn,v((`tl`in n?n.tl:r(q))(`Coffee.`,`Café.`)),1),b(`span`,gn,[b(`b`,null,v(e.mode===`lines`?`>`:`↳`),1),t(v((`tl`in n?n.tl:r(q))(`And your favorite series?`,`Et ta série préférée ?`)),1),e.mode===`rich`?(c(),l(`i`,_n,`✕`)):s(``,!0)]),i[3]||=b(`span`,{class:`qt-ans two`},`Lost !`,-1),i[4]||=b(`span`,{class:`qt-send`},`↑`,-1)])])],8,Qt))}}),{__name:`QuoteTokensPreview`}),yn={class:`settings-group`},bn={class:`settings-card wt-card`},xn={key:0,class:`muted`},Sn={key:1,class:`muted`},Cn={key:2,class:`wt-list`},wn={class:`wt-main`},Tn={class:`wt-meta`},En={class:`wt-path`},Dn=[`disabled`,`aria-label`,`onClick`],On={key:0,class:`spinner`},kn={class:`muted`},An=Object.assign(p({__name:`WorktreesSection`,setup(n){f(xt);let i=e(()=>!!(W.value.machines&&W.value.machines.length>1)),d=e=>(W.value.machines||[]).find(t=>t.key===e)?.label||je.value;function p(e){return e.prunable?U(`folder missing`):e.workspace?e.agents?q(`open · ${e.agents} agent${e.agents>1?`s`:``}`,`ouvert · ${e.agents} agent${e.agents>1?`s`:``}`):q(`open`,`ouvert`):U(`closed`)}let h=o(null);async function y(e){h.value=e.path,await yt(e),h.value=null}return(e,n)=>{let o=ne;return c(),l(`div`,yn,[b(`h3`,null,v((`t`in e?e.t:r(U))(`Worktrees`)),1),b(`div`,bn,[(`worktrees`in e?e.worktrees:r(Y))===null?(c(),l(`p`,xn,[...n[0]||=[b(`span`,{class:`spinner`},null,-1)]])):(`worktrees`in e?e.worktrees:r(Y)).length?(c(),l(`ul`,Cn,[(c(!0),l(g,null,u(`worktrees`in e?e.worktrees:r(Y),u=>(c(),l(`li`,{key:`${u.machine}|${u.path}`,class:_({open:u.workspace,gone:u.prunable})},[b(`div`,wn,[b(`b`,null,[m(o,{name:`i-lucide-git-branch`}),t(v((`worktreeName`in e?e.worktreeName:r(bt))(u)),1)]),b(`span`,Tn,[t(v(u.repo),1),r(i)?(c(),l(g,{key:0},[t(` · `+v(d(u.machine)),1)],64)):s(``,!0),n[1]||=t(` · `,-1),b(`i`,null,v(p(u)),1)]),b(`span`,En,v((`shortPath`in e?e.shortPath:r(Xe))(u.path)),1)]),b(`button`,{type:`button`,class:`wt-del`,disabled:r(h)===u.path,"aria-label":(`t`in e?e.t:r(U))(`Delete`),onClick:e=>y(u)},[r(h)===u.path?(c(),l(`span`,On)):(c(),a(o,{key:1,name:`i-lucide-trash-2`}))],8,Dn)],2))),128))])):(c(),l(`p`,Sn,v((`t`in e?e.t:r(U))(`No worktrees.`)),1)),b(`p`,kn,v((`t`in e?e.t:r(U))(`Deleting a worktree removes its folder; the Git branch is kept.`)),1)])])}}}),{__name:`WorktreesSection`}),jn=`herdr ${[`plugin`,`install`,`eliasstravik/herdr-projects`,`--yes`].join(` `)}`,Mn={class:`settings-group projects-plugin`},Nn={class:`projects-plugin-intro`},Pn={class:`projects-plugin-link`,href:`https://github.com/eliasstravik/herdr-projects`,target:`_blank`,rel:`noopener noreferrer`},Fn={class:`projects-plugin-head`},In={key:0},Ln={key:1},Rn={key:2},zn={key:3,class:`installed`},Bn={key:4},Vn={key:0,class:`projects-plugin-note`},Hn={class:`projects-plugin-actions`},Un={key:0,class:`projects-plugin-note`},Wn={key:2,class:`plugin-input-note reload projects-plugin-reload`},Gn={key:3,class:`projects-plugin-note`},Kn={class:`settings-group projects-plugin-settings`},qn={id:`project-board`,class:`projects-board-title`},Jn={class:`projects-plugin-intro`},Yn={class:`projects-board-lists`},Xn={class:`also`},Zn={class:`projects-plugin-note`},Qn={class:`projects-board-example`},$n={class:`projects-plugin-note`},er={class:`projects-plugin-note`},tr={class:`settings-toggle`},nr={id:`thread-limits`,class:`projects-board-title spaced`},rr={class:`projects-plugin-intro`},ir={class:`thread-limits`},ar=[`aria-label`,`disabled`,`onClick`],or=[`aria-label`,`disabled`,`onClick`],sr={key:0,class:`projects-plugin-note`},cr={class:`projects-plugin-note`},lr={class:`projects-plugin-actions`},ur=Object.assign(p({__name:`ProjectsPluginSettings`,props:{machines:{}},setup(n){let i=n,d=o({}),f=o({}),p=o({}),h=o({}),y=o({});async function x(e){if(e.online){p.value={...p.value,[e.key]:!0};try{let t=await nt(`/api/plugins/projects?machine=${encodeURIComponent(e.key)}`);d.value={...d.value,[e.key]:t},f.value={...f.value,[e.key]:``}}catch(t){f.value={...f.value,[e.key]:t.message}}finally{p.value={...p.value,[e.key]:!1}}}}w(()=>i.machines.map(e=>`${e.key}:${e.online}`).join(`|`),()=>{for(let e of i.machines)x(e)},{immediate:!0});async function S(e){if($e(),await z(q(`Install herdr-projects on ${e.label}? Herdr will download the plugin from GitHub and run its installer on this machine.`,`Installer herdr-projects sur ${e.label} ? Herdr téléchargera le plugin depuis GitHub et exécutera son installation sur cette machine.`),U(`Install`),`primary`)){h.value={...h.value,[e.key]:!0};try{await nt(`/api/plugins/projects`,{machine:e.key}),K(q(`herdr-projects installed on ${e.label}.`,`herdr-projects installé sur ${e.label}.`)),y.value={...y.value,[e.key]:!0},await x(e)}catch(e){K(e.message,!0)}finally{h.value={...h.value,[e.key]:!1}}}}async function C(e){$e();try{await navigator.clipboard.writeText(jn),K(q(`Command copied: paste it into a terminal on ${e.label}.`,`Commande copiée : colle-la dans un terminal de ${e.label}.`))}catch{K(U(`Copy failed`),!0)}}let D=e(()=>[{icon:`i-lucide-flask-conical`,name:q(`To test`,`À tester`),also:`To test, Testing, À vérifier`,what:q(`What you must check: Confirm, Problem, Question.`,`Ce que tu dois vérifier : Confirmer, Problème, Question.`)},{icon:`i-lucide-signpost`,name:q(`To decide`,`À décider`),also:`To decide, Décisions, Questions`,what:q(`Questions only you can unblock: Question, Answer.`,`Questions que toi seul peux trancher : Question, Répondre.`)},{icon:`i-lucide-git-pull-request`,name:q(`To review`,`À relire`),also:`To review, Relire, Relecture, Review(s), PR(s), Pull requests, À valider`,what:q(`Pull requests for you to review: Reviewed sends “✓ Reviewed: …”, Comment drafts feedback.`,`PR que tu dois relire : Relu envoie « ✓ Relu : … », Commenter prépare un retour.`)},{icon:`i-lucide-activity`,name:q(`In progress`,`En cours`),also:`In progress, Doing, WIP`,what:q(`What threads are really doing: open threads, live.`,`Ce que les threads font vraiment : threads ouverts, en direct.`)},{icon:`i-lucide-list-ordered`,name:q(`In queue`,`En file`),also:`In queue, Queue, Queued, Up next, File d’attente`,what:q(`Decided: the coordinator launches the first task as soon as a thread slot frees, in list order. Move up / down, Launch now, Clarify, Remove from queue (back to To do); the header shows the thread slots in use.`,`Décidé : le coordinateur lance la première tâche dès qu’une place de thread se libère, dans l’ordre de la liste. Monter / Descendre, Lancer maintenant, Préciser, Retirer de la file (retour en À faire) ; l’en-tête montre les places de thread occupées.`)},{icon:`i-lucide-octagon-alert`,name:q(`Blocked`,`Bloqué`),also:`Bloque, Bloquée(s), Blocked, On hold, En attente, Waiting, Stuck`,what:q(`Waiting for someone or something external: optional “— blocked by: …” reason; Unblock sends a request, Clarify prepares a message.`,`Attente de quelqu’un ou de quelque chose d’extérieur : raison facultative « — bloqué par : … » ; Débloquer envoie une demande, Préciser prépare un message.`)},{icon:`i-lucide-list-todo`,name:q(`To do`,`À faire`),also:`To do, Todo, Next, Soon, Prochainement`,what:q(`To do soon, in your priority order; never launched automatically. Move up / down, Queue it, Launch now (a thread if a slot is free, otherwise first in the queue), Clarify, Back to backlog.`,`À faire bientôt, dans ton ordre de priorité ; jamais lancé automatiquement. Monter / Descendre, Mettre en file, Lancer maintenant (un thread si une place est libre, sinon en tête de file), Préciser, Remettre au backlog.`)},{icon:`i-lucide-archive`,name:`Backlog`,also:`Later, Plus tard, Idées, Ideas, Someday`,what:q(`Everything else. Launch sends the task to the coordinator; Clarify prepares a message.`,`Tout le reste. Lancer envoie la tâche au coordinateur ; Préciser prépare un message.`)},{icon:`i-lucide-circle-check`,name:q(`Done`,`Fait`),also:`Done, Terminé, Finished`,what:q(`Filled by resolved threads.`,`Remplie par les threads clôturés.`)}]);async function O(e,t){$e();try{await navigator.clipboard.writeText(e),K(t)}catch{K(U(`Copy failed`),!0)}}let k=()=>J===`en`?`en`:`fr`,A=at,ee=()=>O(gt(k()),q(`Template copied: paste it into the project’s TASKS.md.`,`Modèle copié : colle-le dans TASKS.md du projet.`)),j=o({}),M=o(``),te=new Map;function N(e){j.value=Object.fromEntries(e.map(e=>[e.key,e]))}async function P(){try{N((await nt(`/api/plugins/thread-limits`)).machines),M.value=``}catch(e){M.value=e.message}}P();function F(e,t){$e();let n=j.value[e.key],r=n?.max??null,i=r===null?t>0?Math.max(1,n?.open||0):null:r+t<1?null:Math.min(99,r+t);if(i===r)return;let a=n?.open||0;j.value={...j.value,[e.key]:{key:e.key,label:e.label,open:a,threads:n?.threads||[],max:i,free:i===null?null:Math.max(0,i-a)}},clearTimeout(te.get(e.key)),te.set(e.key,setTimeout(async()=>{te.delete(e.key);try{N((await nt(`/api/plugins/thread-limits`,{machine:e.key,max:i})).machines)}catch(e){K(e.message,!0),P()}},450))}let I=e=>q(`${e} open thread${e===1?``:`s`} · all projects`,`${e} thread${e>1?`s`:``} ouvert${e>1?`s`:``} · tous projets`),L=()=>O(_t(k()),q(`Rules copied: paste them to the coordinator.`,`Règles copiées : colle-les au coordinateur.`));return(e,i)=>{let o=ne,x=pe,w=wt;return c(),l(g,null,[b(`div`,Mn,[i[6]||=b(`h3`,null,`herdr-projects`,-1),b(`p`,Nn,v((`tl`in e?e.tl:r(q))(`herdr-projects groups coordinators and their threads by project, adding the Project panel and worktree repositories in wherdr. The plugin is optional: agents and other wherdr features still work without it.`,`herdr-projects regroupe les coordinateurs et leurs threads par projet, avec un panneau Projet et les dépôts de worktrees dans wherdr. Le plugin est facultatif : les agents et les autres fonctions de wherdr restent utilisables sans lui.`)),1),b(`a`,Pn,[t(v((`tl`in e?e.tl:r(q))(`View plugin repository`,`Voir le dépôt du plugin`))+` `,1),m(o,{name:`i-lucide-external-link`})]),(c(!0),l(g,null,u(n.machines,n=>(c(),l(`div`,{key:n.key,class:`projects-plugin-machine`},[b(`div`,Fn,[b(`strong`,null,v(n.label),1),n.online?r(p)[n.key]&&!r(d)[n.key]?(c(),l(`span`,Ln,v((`tl`in e?e.tl:r(q))(`Checking…`,`Vérification…`)),1)):r(f)[n.key]?(c(),l(`span`,Rn,v((`tl`in e?e.tl:r(q))(`Status unavailable`,`État indisponible`)),1)):r(d)[n.key]?.installed?(c(),l(`span`,zn,v((`tl`in e?e.tl:r(q))(`Installed`,`Installé`))+v(r(d)[n.key]?.version?` · v${r(d)[n.key]?.version}`:``),1)):(c(),l(`span`,Bn,v((`tl`in e?e.tl:r(q))(`Not installed`,`Non installé`)),1)):(c(),l(`span`,In,v((`tl`in e?e.tl:r(q))(`Offline`,`Hors ligne`)),1))]),n.online&&r(f)[n.key]?(c(),l(`p`,Vn,v(r(f)[n.key]),1)):s(``,!0),n.online&&r(d)[n.key]&&!r(d)[n.key]?.installed&&!r(f)[n.key]?(c(),l(g,{key:1},[b(`div`,Hn,[r(d)[n.key]?.installable?(c(),a(x,{key:0,size:`sm`,color:`primary`,icon:`i-lucide-download`,loading:r(h)[n.key],onClick:e=>S(n)},{default:T(()=>[t(v((`t`in e?e.t:r(U))(`Install`)),1)]),_:1},8,[`loading`,`onClick`])):s(``,!0),m(x,{size:`sm`,color:`neutral`,variant:`outline`,icon:`i-lucide-copy`,onClick:e=>C(n)},{default:T(()=>[t(v((`t`in e?e.t:r(U))(`Copy command`)),1)]),_:1},8,[`onClick`])]),r(d)[n.key]?.installable?s(``,!0):(c(),l(`p`,Un,v((`tl`in e?e.tl:r(q))(`Direct installation is unavailable here: run the command on this machine.`,`Installation directe indisponible ici : lance la commande sur cette machine.`)),1))],64)):s(``,!0),r(y)[n.key]?(c(),l(`div`,Wn,[m(o,{name:`i-lucide-refresh-cw`}),b(`div`,null,[b(`strong`,null,v((`tl`in e?e.tl:r(q))(`Reload the Herdr client config`,`Recharge la config du client Herdr`)),1),b(`p`,null,[t(v((`tl`in e?e.tl:r(q))(`In the Herdr terminal: `,`Dans le terminal Herdr : `)),1),i[1]||=b(`kbd`,null,`prefix`,-1),i[2]||=t(` + `,-1),i[3]||=b(`kbd`,null,`Shift`,-1),i[4]||=t(` + `,-1),i[5]||=b(`kbd`,null,`R`,-1),t(`. `+v((`tl`in e?e.tl:r(q))(`Then run “Set up the sidebar…” from an agent’s menu to install the sidebar and the hooks.`,`Puis lance « Set up the sidebar… » depuis le menu d’un agent pour installer la barre latérale et les hooks.`)),1)])])])):s(``,!0),r(d)[n.key]?.installed&&!r(d)[n.key]?.enabled?(c(),l(`p`,Gn,v((`tl`in e?e.tl:r(q))(`The plugin is disabled in Herdr.`,`Le plugin est désactivé dans Herdr.`)),1)):s(``,!0)]))),128))]),b(`div`,Kn,[b(`h3`,null,v((`tl`in e?e.tl:r(q))(`herdr-projects settings`,`Réglages herdr-projects`)),1),b(`h4`,qn,v((`tl`in e?e.tl:r(q))(`Project board`,`Tableau du projet`)),1),b(`p`,Jn,v((`tl`in e?e.tl:r(q))(`The Project panel reads TASKS.md: one list per ## heading, one task per line “- [ ] title (owner)”, the owner being read but not shown. Every list is optional: each project uses the ones chosen with its coordinator (a small project may only need Backlog, In progress and Done). The panel shows the lists present, always in the order below, each with its own buttons; every button sends a message to the coordinator, which edits TASKS.md.`,`Le panneau Projet lit TASKS.md : une liste par titre ##, une tâche par ligne « - [ ] titre (responsable) », le responsable étant lu mais pas affiché. Toutes les listes sont facultatives : chaque projet utilise celles choisies avec son coordinateur (un petit projet peut se contenter de Backlog, En cours et Fait). Le panneau affiche les listes présentes, toujours dans l’ordre ci-dessous, chacune avec ses boutons ; chaque bouton envoie un message au coordinateur, qui modifie TASKS.md.`)),1),b(`ul`,Yn,[(c(!0),l(g,null,u(r(D),t=>(c(),l(`li`,{key:t.name},[m(o,{name:t.icon},null,8,[`name`]),b(`div`,null,[b(`strong`,null,v(t.name),1),b(`span`,Xn,v((`tl`in e?e.tl:r(q))(`also`,`aussi`))+` : `+v(t.also),1),b(`p`,null,v(t.what),1)])]))),128))]),b(`p`,Zn,v((`tl`in e?e.tl:r(q))(`The only task decoration: badges the coordinator chooses, anywhere in the line. “[b:color(text)]”, or “[b:color(text)](target)” for a clickable ↗ badge: target = an https:// link (new tab) or a thread ID t-0140 (opens its tab). Color: red, orange, amber, green, teal, blue, violet, pink, gray (theme-aware), a #rgb / #rrggbb hex, or nothing (neutral); at most 24 characters shown. A URL in the text becomes a plain link. The coordinator rules below tell it to use them on its own when useful.`,`Seule décoration des tâches : les badges que le coordinateur choisit, n’importe où dans la ligne. « [b:couleur(texte)] », ou « [b:couleur(texte)](cible) » pour un badge cliquable ↗ : cible = lien https:// (nouvel onglet) ou ID de thread t-0140 (ouvre son onglet). Couleur : red, orange, amber, green, teal, blue, violet, pink, gray (suivent le thème), un hex #rgb / #rrggbb, ou rien (neutre) ; 24 caractères affichés au plus. Une URL dans le texte devient un lien simple. Les règles du coordinateur ci-dessous lui disent d’en user de lui-même quand c’est utile.`)),1),b(`pre`,Qn,[b(`code`,null,`- [ ] `+v((`tl`in e?e.tl:r(q))(`Stop button on iPhone`,`Bouton Stop sur iPhone`))+` [b:red(bug)] [b:gray(t-0140)](t-0140) [b:blue(PR #12)](https://github.com/owner/repo/pull/12) (me)`,1)]),b(`p`,$n,v((`tl`in e?e.tl:r(q))(`Any other ## list is shown too, in a neutral style, after Backlog.`,`Toute autre liste ## s’affiche aussi, en style neutre, après Backlog.`)),1),b(`p`,er,v((`tl`in e?e.tl:r(q))(`The lists in TASKS.md are the active lists: to add or remove one, ask the coordinator (there is no setting in wherdr).`,`Les listes présentes dans TASKS.md sont les listes actives : pour en ajouter ou en retirer une, demande-le au coordinateur (pas de réglage dans wherdr).`)),1),b(`label`,tr,[b(`span`,null,[b(`b`,null,v((`tl`in e?e.tl:r(q))(`Hide empty lists`,`Masquer les listes vides`)),1),b(`small`,null,v((`tl`in e?e.tl:r(q))(`Show a Project panel list only when it has items (In progress and Done included). Setting specific to this device.`,`Afficher une liste du panneau Projet seulement si elle a des éléments (En cours et Fait compris). Réglage propre à cet appareil.`)),1)]),m(w,{modelValue:r(A),"onUpdate:modelValue":i[0]||=e=>E(A)?A.value=e:null,color:`success`,size:`xl`},null,8,[`modelValue`])]),b(`h4`,nr,v((`tl`in e?e.tl:r(q))(`Max threads per machine`,`Threads max par machine`)),1),b(`p`,rr,v((`tl`in e?e.tl:r(q))(`herdr-projects limits threads per project (max_parallel_threads in PROJECT.md). This limit counts the open threads of every project on a machine. — = no global limit.`,`herdr-projects limite les threads par projet (max_parallel_threads dans PROJECT.md). Cette limite compte les threads ouverts de tous les projets d’une machine. — = pas de limite globale.`)),1),b(`div`,ir,[(c(!0),l(g,null,u(n.machines,t=>(c(),l(`div`,{key:t.key,class:`settings-stepper thread-limit`},[b(`span`,null,[b(`b`,null,v(t.label),1),b(`small`,null,v(I(r(j)[t.key]?.open||0)),1)]),b(`div`,null,[b(`button`,{type:`button`,"aria-label":(`tl`in e?e.tl:r(q))(`Lower the limit of ${t.label}`,`Baisser la limite de ${t.label}`),disabled:r(j)[t.key]?.max==null,onClick:e=>F(t,-1)},`−`,8,ar),b(`output`,{class:_({full:r(j)[t.key]?.max!=null&&(r(j)[t.key]?.free??1)===0})},v(r(j)[t.key]?.max??`—`),3),b(`button`,{type:`button`,"aria-label":(`tl`in e?e.tl:r(q))(`Raise the limit of ${t.label}`,`Monter la limite de ${t.label}`),disabled:(r(j)[t.key]?.max??0)>=r(99),onClick:e=>F(t,1)},`+`,8,or)])]))),128))]),r(M)?(c(),l(`p`,sr,v(r(M)),1)):s(``,!0),b(`p`,cr,v((`tl`in e?e.tl:r(q))(`wherdr writes ${r(ht)} in each herdr-projects folder where a coordinator runs, refreshed on every change: the coordinator rules below tell it to check the machine before starting a thread (fallback: herdr-projects overview).`,`wherdr écrit ${r(ht)} dans chaque dossier herdr-projects où tourne un coordinateur, à chaque changement : les règles du coordinateur ci-dessous lui disent de vérifier la machine avant de lancer un thread (sinon : herdr-projects overview).`)),1),b(`div`,lr,[m(x,{size:`sm`,color:`neutral`,variant:`outline`,icon:`i-lucide-file-text`,onClick:ee},{default:T(()=>[t(v((`tl`in e?e.tl:r(q))(`Copy TASKS.md template`,`Copier le modèle TASKS.md`)),1)]),_:1}),m(x,{size:`sm`,color:`neutral`,variant:`outline`,icon:`i-lucide-clipboard-list`,onClick:L},{default:T(()=>[t(v((`tl`in e?e.tl:r(q))(`Copy rules for the coordinator`,`Copier les règles pour le coordinateur`)),1)]),_:1})])])],64)}}}),{__name:`ProjectsPluginSettings`}),dr=[`appearance`,`conversation`,`terminal`,`agents`,`plugins`,`phone`,`notifications`,`security`,`desktop`,`about`];function fr(e){let t=e.historyBack;return!e.desk&&e.section?t===`/settings`?`history`:`list`:typeof t==`string`&&t.startsWith(`/`)&&!t.startsWith(`/settings`)?`history`:`home`}var pr={id:`settings`,class:`view settings-view`},mr={class:`top bar settings-top`},hr=[`aria-label`],gr=[`aria-current`,`onClick`],_r={class:`settings-section-title`},vr={class:`settings-section`},yr={class:`settings-group`},br=[`aria-expanded`],xr={class:`theme-sw`},Sr={class:`theme-name`},Cr=[`aria-label`],wr=[`aria-checked`],Tr={class:`theme-sw`},Er={class:`theme-name`},Dr=[`aria-checked`,`onClick`],Or={class:`theme-sw`},kr={class:`theme-name`},Ar={key:0},jr={key:1},Mr={class:`muted settings-hint`},Nr={class:`settings-group`},Pr={class:`muted settings-hint`},Fr={class:`settings-group`},Ir={class:`muted settings-hint`},Lr={class:`settings-group`},Rr={class:`settings-toggle`},zr={class:`settings-toggle`},Br={class:`settings-toggle`},Vr={class:`settings-toggle`},Hr={class:`settings-toggle`},Ur={class:`settings-group`},Wr={class:`muted settings-hint`},Gr={class:`eyebrow settings-subhead`},Kr={class:`settings-group`},qr={class:`muted settings-hint`},Jr={class:`settings-group settings-width`},Yr={class:`muted settings-hint`},Xr={class:`settings-section`},Zr={class:`settings-group settings-typing`},Qr={class:`muted settings-hint`},$r={class:`settings-group`},ei={class:`muted settings-lead`},ti={class:`qt-device`},ni={key:0,class:`exp-tag`},ri={class:`qt-device`},ii={key:0,class:`exp-tag`},ai={class:`muted settings-hint`},oi={class:`settings-section`},si={class:`settings-group`},ci={class:`settings-toggle`},li={class:`settings-group`},ui={class:`settings-stepper`},di=[`aria-label`],fi=[`aria-label`],pi={class:`settings-group settings-renderer`},mi={class:`muted settings-hint`},hi={class:`settings-renderer-status`,role:`status`},gi={class:`settings-section`},_i={class:`settings-group`},vi={class:`muted agent-pref-intro`},yi={key:0,class:`agent-pref-list`},bi={key:0},xi=[`checked`,`onChange`],Si={key:1,class:`muted agent-pref-intro`},Ci={class:`muted agent-pref-note`},wi={class:`settings-section`},Ti={class:`settings-group`},Ei={class:`settings-toggle quiet-toggle`},Di={class:`notify-caption`},Oi={key:0,class:`muted notify-hint`},ki={class:`notify-caption`},Ai={class:`settings-group`},ji={class:`notify-caption`},Mi={class:`muted notify-hint`},Ni={class:`settings-section`},Pi={class:`settings-section`},Fi={class:`settings-section`},Ii={class:`settings-group`},Li={key:0,class:`settings-group`},Ri={class:`muted settings-hint`},zi={key:0,class:`muted settings-hint`},Bi={key:0,class:`settings-section`},Vi={class:`settings-group`},Hi={class:`muted settings-hint`},Ui={class:`settings-group`},Wi={class:`settings-action-keys`},Gi={class:`settings-section`},Ki={class:`settings-group`},qi={class:`settings-version`},Ji={key:1,class:`muted settings-hint`};function Yi(){Fe()}var Xi=Object.assign(p({__name:`SettingsView`,setup(n){let i=Nt.version,d=ve(),p=fe,h=_e(),C=e(()=>dr.includes(String(h.query.section))?h.query.section:null),D={appearance:`i-lucide-palette`,conversation:`i-lucide-message-square`,terminal:`i-lucide-square-terminal`,agents:`i-lucide-bot`,plugins:`i-lucide-puzzle`,phone:`i-lucide-smartphone`,notifications:`i-lucide-bell`,security:`i-lucide-lock`,desktop:`i-lucide-monitor`,about:`i-lucide-info`},O={appearance:`Appearance`,conversation:`Conversation`,terminal:`Terminal`,agents:`Agents`,plugins:`Plugins`,phone:`Phone`,notifications:`Notifications`,security:`Security`,desktop:`Desktop`,about:`About`},A=e(()=>dr.filter(e=>e!==`desktop`||G.value).map(e=>({id:e,label:U(O[e]),icon:D[e]}))),j=e(()=>C.value&&A.value.some(e=>e.id===C.value)?C.value:G.value?`appearance`:null),M=e(()=>A.value.find(e=>e.id===j.value)?.label||U(`Settings`)),N=o(null);w(C,()=>y(()=>{N.value&&(N.value.scrollTop=0)}));function P(e){if(e===C.value)return;let t={path:`/settings`,query:{section:e}};G.value?d.replace(t):d.push(t)}function F(){let e=fr({desk:G.value,section:C.value,historyBack:history.state?.back});e===`list`?d.replace(`/settings`):e===`history`?d.back():ye(`/`,{replace:!0})}f(async()=>{if(G.value||typeof history.state?.back==`string`)return;let e=h.fullPath;await d.replace(`/`),await d.push(e)});let I=o(J);w(I,e=>{e!==J&&(Pe(e),location.reload())});let L=lt,z=st,re=et,ie=rt,B=Qe,se=Ne,V=Ie,ce=Ve,ue=o(ze.value);w(V,e=>{ue.value=e}),w(ce,e=>{ue.value=e});let de=e(()=>[{label:q(`“>” lines`,`Lignes « > »`),description:q(`Plain text: each quote stays “> ” lines, a chip above the field removes it. Default.`,`Texte simple : chaque citation reste en lignes « > », une puce au-dessus du champ la retire. Par défaut.`),value:`lines`,exp:!1},{label:q(`Tokens, native field`,`Jetons, champ natif`),description:q(`The same plain field, each “> ” line drawn as a token. Typing, dictation and autocorrect unchanged.`,`Le même champ simple, chaque ligne « > » dessinée en jeton. Saisie, dictée et correction auto inchangées.`),value:`native`,exp:!0},{label:q(`Tokens, rich field`,`Jetons, champ riche`),description:q(`A rich field, each quote one compact token with ✕. On iOS, moving the caret around the tokens is unreliable.`,`Un champ riche, chaque citation un jeton compact avec ✕. Sur iOS, déplacer le curseur autour des jetons est peu fiable.`),value:`rich`,exp:!0}]),he=e({get:()=>We.value,set:e=>{Ye.value=e}}),be=e(()=>[{label:U(`Off`),description:U(`The reply appears at once.`),value:`off`},{label:U(`Fast`),description:U(`Original speed · 0.5 to 2 s.`),value:`fast`},{label:U(`Medium`),description:U(`Twice as slow · 1 to 4 s.`),value:`medium`},{label:U(`Slow`),description:U(`Three times as slow · 1.5 to 6 s.`),value:`slow`}]),xe=it,W=Je,Fe=e(()=>[{label:U(`Normal`),description:U(`760 px column · terminal fitted to width.`),value:`normal`},{label:U(`Wide`),description:U(`Up to 1100 px · terminal fitted to width.`),value:`wide`},{label:U(`Full width`),description:U(`The whole width, terminal included.`),value:`full`}]),Ue=ft,Xe=[{label:U(`Conversation`),description:U(`Read the transcript first.`),value:`chat`},{label:U(`Terminal`),description:U(`Type straight into the pane.`),value:`term`}],at=De,dt=e(()=>[{label:U(`Remaining`),description:U(`What is left in each window, like Codex.`),value:`left`},{label:U(`Used`),description:U(`What has been used, like Claude.`),value:`used`}]),pt=ge,mt=e(()=>[{label:U(`Border only`),description:U(`A second color glides slowly around the border.`),value:`border`},{label:U(`Halo`),description:U(`The same, with a faint glow around the field.`),value:`halo`},{label:U(`None`),description:U(`Plain 1 px border, no animation.`),value:`off`}]),ht=R,gt=e(()=>[{label:`wherdr grid`,description:U(`Dotted grid with light packets, like wherdr.dev.`),value:`wherdr`},{label:`herdr grid`,description:U(`Flat line grid, like herdr.dev.`),value:`herdr`}]),_t=[{label:`English`,value:`en`},{label:`Français`,value:`fr`}],Y=e(()=>ot.value.machines?.filter(e=>e.local||!!e.home&&(Te(e.key)?.status===`online`||!Te(e.key)&&e.online))||[{key:``,label:je.value||U(`This machine`),kinds:ot.value.kinds}]),vt=e(()=>[...new Set(Y.value.flatMap(e=>e.kinds||[]))]);function yt(e){return!we.value.includes(e)}function bt(e,t){we.value=t?we.value.filter(t=>t!==e):[...we.value,e]}function xt(e){let t=Y.value.filter(t=>t.kinds.includes(e));return t.length===Y.value.length?``:t.map(e=>e.label||U(`This machine`)).join(`, `)}let St=ke,Dt=[{label:U(`Project coordinators and agents outside projects`),value:`project_leads`},{label:U(`All agents`),value:`all`}],Ot=e({get:()=>Ee.value,set:e=>{Me(e).catch(e=>K(e.message,!0))}}),It=Le,X=o(`all`),Lt=o(`manual`),Rt=e(()=>[{label:q(`This device`,`Cet appareil`),value:`device`,disabled:!St.value},{label:q(`All devices`,`Tous les appareils`),value:`all`}]),zt=[{label:q(`1 hour`,`1 heure`),value:`hour`},{label:q(`Until tomorrow morning (8 am)`,`Jusqu’à demain matin (8 h)`),value:`morning`},{label:q(`Until turned back on`,`Jusqu’à réactivation`),value:`manual`}];w(Oe,e=>{if(!e)return;X.value=e.scope;let t=e.quiet.until===null?null:e.quiet.until-Date.now();Lt.value=t===null?`manual`:t<=36e5?`hour`:`morning`},{immediate:!0});async function Bt(e){try{let t=Oe.value?.scope;e&&await Ce(X.value,!0,ct(Lt.value)),t&&(!e||t!==X.value)&&await Ce(t,!1)}catch(e){K(e.message,!0)}}let Z=e({get:()=>!!Oe.value,set:e=>{Bt(e)}});function Vt(e){X.value=e,Z.value&&Bt(!0)}function Ht(e){Lt.value=e,Z.value&&Bt(!0)}let Ut=e(()=>{let e=Oe.value;if(!e)return``;let t=e.scope===`all`?q(`all devices`,`tous les appareils`):q(`this device`,`cet appareil`);if(e.quiet.until===null)return q(`Silenced on ${t} until turned back on.`,`Silence sur ${t} jusqu’à réactivation.`);let n=new Date(e.quiet.until),r=n.toLocaleTimeString(J,{hour:`2-digit`,minute:`2-digit`});return n.toDateString()===new Date(Be.value).toDateString()?q(`Silenced on ${t} until ${r}.`,`Silence sur ${t} jusqu’à ${r}.`):q(`Silenced on ${t} until tomorrow ${r}.`,`Silence sur ${t} jusqu’à demain ${r}.`)}),Wt=e=>[e.c.bg,e.c.surface,e.c.line,e.c.text,e.c.accent,e.c.blue,e.c.rose,e.c.teal],Gt=e(()=>{let e=ot.value.herdrTheme;return e?e.autoSwitch?`${e.darkName||`catppuccin`} / ${e.lightName||`catppuccin-latte`}`:e.name||`catppuccin`:null}),Q=e(()=>ae(ee(ot.value.herdrTheme,!1).id)),$=o(!1),qt=e(()=>H.value===`follow`?Q.value:ae(H.value)),Jt=e(()=>H.value===`follow`?`${U(`Follow Herdr`)}${Q.value?` · ${Q.value.label}`:``}`:qt.value?qt.value.label:H.value);function Yt(e){H.value=e,$e()}let Xt=e=>{ut.value=Math.max(8,Math.min(20,ut.value+e))},Qt=[{label:`WebGL`,value:`webgl`},{label:`HTML`,value:`html`}],$t=e(()=>qe.value===`html-fallback`?U(`Active rendering: HTML (WebGL unavailable)`):qe.value===`html`?U(`Active rendering: HTML`):U(`Active rendering: WebGL`));w(xe,Ge);let en=kt,tn=Ct,nn=e(()=>Re.map(e=>({label:e===1?U(`1 day`):e===365?U(`1 year`):q(`${e} days`,`${e} jours`),value:e}))),rn=e({get:()=>en.value?.maxSessionDays??7,set:async e=>{try{await nt(`/api/auth/max-session`,{days:e}),await tt()}catch(e){K(e.message,!0)}tn()}}),an=e(()=>{let e=en.value;if(!e?.deadline)return``;let t=new Date(e.deadline+Date.now()-(e.now??Date.now())).toLocaleString(J===`fr`?`fr-FR`:`en-GB`,{weekday:`short`,day:`numeric`,month:`short`,hour:`2-digit`,minute:`2-digit`});return q(`This device asks for the passkey again at the first opening after ${t}.`,`Cet appareil redemandera la clé d’accès à la première ouverture après le ${t}.`)});return f(Tt),f(()=>{Ge(),Ae(),It().then(He),tn()}),(e,n)=>{let o=pe,d=ne,f=Kt,h=wt,y=Zt,C=vn,w=An,D=At,O=ur,ee=jt,R=Mt,ae=te,fe=Ft;return c(),l(`section`,pr,[b(`header`,mr,[m(o,{icon:`i-lucide-chevron-left`,color:`neutral`,variant:`ghost`,size:`lg`,class:`icon-btn`,"aria-label":(`t`in e?e.t:r(U))(`Back`),onClick:F},null,8,[`aria-label`]),b(`h2`,null,v((`desk`in e?e.desk:r(G))?(`t`in e?e.t:r(U))(`Settings`):r(M)),1)]),b(`div`,{class:_([`settings-layout`,{"section-open":r(j)}])},[b(`nav`,{class:`settings-nav`,"aria-label":(`t`in e?e.t:r(U))(`Settings sections`)},[(c(!0),l(g,null,u(r(A),e=>(c(),l(`button`,{key:e.id,type:`button`,class:_([`settings-nav-item`,{selected:r(j)===e.id}]),"aria-current":r(j)===e.id?`page`:void 0,onClick:t=>P(e.id)},[m(d,{name:e.icon},null,8,[`name`]),b(`span`,null,v(e.label),1),m(d,{name:`i-lucide-chevron-right`,class:`settings-nav-arrow`})],10,gr))),128))],8,hr),x(b(`div`,{ref_key:`body`,ref:N,class:`settings-body`},[b(`h2`,_r,v(r(M)),1),x(b(`div`,vr,[b(`div`,yr,[b(`h3`,null,v((`t`in e?e.t:r(U))(`Theme`)),1),b(`button`,{type:`button`,class:`theme-opt theme-current`,"aria-expanded":r($),onClick:n[0]||=e=>$.value=!r($)},[b(`span`,xr,[(c(!0),l(g,null,u(r(qt)?Wt(r(qt)):[],(e,t)=>(c(),l(`i`,{key:t,style:S({background:e})},null,4))),128))]),b(`span`,Sr,[t(v(r(Jt)),1),b(`small`,null,v((`t`in e?e.t:r(U))(r($)?`Hide themes`:`Change theme`)),1)]),m(d,{name:r($)?`i-lucide-chevron-up`:`i-lucide-chevron-down`,class:`theme-check`},null,8,[`name`])],8,br),x(b(`div`,{class:`theme-list`,role:`radiogroup`,"aria-label":(`t`in e?e.t:r(U))(`Theme`)},[b(`button`,{type:`button`,role:`radio`,class:_([`theme-opt`,{on:(`themeChoice`in e?e.themeChoice:r(H))===(`FOLLOW_HERDR`in e?e.FOLLOW_HERDR:r(me))}]),"aria-checked":(`themeChoice`in e?e.themeChoice:r(H))===(`FOLLOW_HERDR`in e?e.FOLLOW_HERDR:r(me)),onClick:n[1]||=t=>Yt(`FOLLOW_HERDR`in e?e.FOLLOW_HERDR:r(`follow`))},[b(`span`,Tr,[(c(!0),l(g,null,u(r(Q)?Wt(r(Q)):[],(e,t)=>(c(),l(`i`,{key:t,style:S({background:e})},null,4))),128))]),b(`span`,Er,[t(v((`t`in e?e.t:r(U))(`Follow Herdr`)),1),b(`small`,null,v(r(Gt)?`config.toml · ${r(Gt)}`:(`t`in e?e.t:r(U))(`config.toml not found`)),1)]),(`themeChoice`in e?e.themeChoice:r(H))===(`FOLLOW_HERDR`in e?e.FOLLOW_HERDR:r(`follow`))?(c(),a(d,{key:0,name:`i-lucide-check`,class:`theme-check`})):s(``,!0)],10,wr),(c(!0),l(g,null,u(`THEMES`in e?e.THEMES:r(oe),n=>(c(),l(`button`,{key:n.id,type:`button`,role:`radio`,class:_([`theme-opt`,{on:(`themeChoice`in e?e.themeChoice:r(H))===n.id}]),"aria-checked":(`themeChoice`in e?e.themeChoice:r(H))===n.id,onClick:e=>Yt(n.id)},[b(`span`,Or,[(c(!0),l(g,null,u(Wt(n),(e,t)=>(c(),l(`i`,{key:t,style:S({background:e})},null,4))),128))]),b(`span`,kr,[t(v(n.label),1),n.id===(`DEFAULT_THEME`in e?e.DEFAULT_THEME:r(`wherdr-titanium`))?(c(),l(`small`,Ar,v((`t`in e?e.t:r(U))(`default`)),1)):n.light?(c(),l(`small`,jr,v((`t`in e?e.t:r(U))(`light`)),1)):s(``,!0)]),(`themeChoice`in e?e.themeChoice:r(H))===n.id?(c(),a(d,{key:0,name:`i-lucide-check`,class:`theme-check`})):s(``,!0)],10,Dr))),128))],8,Cr),[[k,r($)]])]),b(`p`,Mr,v((`t`in e?e.t:r(U))(`The theme is saved on this device.`)),1),b(`div`,Nr,[b(`h3`,null,v((`t`in e?e.t:r(U))(`Message field border on focus`)),1),m(f,{modelValue:r(pt),"onUpdate:modelValue":n[2]||=e=>E(pt)?pt.value=e:null,items:r(mt),variant:`table`,indicator:`end`,color:`primary`,size:`lg`,class:`settings-radio`},null,8,[`modelValue`,`items`]),b(`p`,Pr,v((`t`in e?e.t:r(U))(`Also on omp’s running actions (border only). Frozen when the system asks for reduced motion. Saved on this device.`)),1)]),b(`div`,Fr,[b(`h3`,null,v((`t`in e?e.t:r(U))(`Language`)),1),m(f,{modelValue:r(I),"onUpdate:modelValue":n[3]||=e=>E(I)?I.value=e:null,items:_t,variant:`table`,indicator:`end`,color:`primary`,size:`lg`,class:`settings-radio`},null,8,[`modelValue`])]),b(`p`,Ir,v((`t`in e?e.t:r(U))(`The interface language is saved on this device.`)),1),b(`div`,Lr,[b(`h3`,null,v((`t`in e?e.t:r(U))(`Home screen`)),1),b(`label`,Rr,[b(`span`,null,[b(`b`,null,v((`t`in e?e.t:r(U))(`Compact list`)),1),b(`small`,null,v((`t`in e?e.t:r(U))(`One line per agent or space: no preview, folder or model. Computer and phone. Saved on this device.`)),1)]),m(h,{modelValue:r(ie),"onUpdate:modelValue":n[4]||=e=>E(ie)?ie.value=e:null,color:`success`,size:`xl`},null,8,[`modelValue`])]),b(`label`,zr,[b(`span`,null,[b(`b`,null,v((`t`in e?e.t:r(U))(`Reorder automatically`)),1),b(`small`,null,v((`t`in e?e.t:r(U))(`In Ready, show unread agents before read ones. Saved on this device.`)),1)]),m(h,{modelValue:r(B),"onUpdate:modelValue":n[5]||=e=>E(B)?B.value=e:null,color:`success`,size:`xl`},null,8,[`modelValue`])]),b(`label`,Br,[b(`span`,null,[b(`b`,null,v((`t`in e?e.t:r(U))(`Show terminals`)),1),b(`small`,null,v((`t`in e?e.t:r(U))(`Show terminal spaces in the list, filed under Ready.`)),1)]),m(h,{modelValue:r(L),"onUpdate:modelValue":n[6]||=e=>E(L)?L.value=e:null,color:`success`,size:`xl`},null,8,[`modelValue`])]),b(`label`,Vr,[b(`span`,null,[b(`b`,null,v((`t`in e?e.t:r(U))(`Show counters`)),1),b(`small`,null,v((`t`in e?e.t:r(U))(`Show agent counters on the home screen.`)),1)]),m(h,{modelValue:r(z),"onUpdate:modelValue":n[7]||=e=>E(z)?z.value=e:null,color:`success`,size:`xl`},null,8,[`modelValue`])]),b(`label`,Hr,[b(`span`,null,[b(`b`,null,v((`t`in e?e.t:r(U))(`Show quotas`)),1),b(`small`,null,v((`t`in e?e.t:r(U))(`Show Claude and Codex quotas on the home screen.`)),1)]),m(h,{modelValue:r(re),"onUpdate:modelValue":n[8]||=e=>E(re)?re.value=e:null,color:`success`,size:`xl`},null,8,[`modelValue`])])]),b(`div`,Ur,[b(`h3`,null,v((`t`in e?e.t:r(U))(`Quotas`)),1),m(f,{modelValue:r(at),"onUpdate:modelValue":n[9]||=e=>E(at)?at.value=e:null,items:r(dt),variant:`table`,indicator:`end`,color:`primary`,size:`lg`,class:`settings-radio`},null,8,[`modelValue`,`items`]),b(`p`,Wr,v((`t`in e?e.t:r(U))(`The color always flags a nearly exhausted quota. Saved on this device.`)),1)]),(`desk`in e?e.desk:r(G))?(c(),l(g,{key:0},[b(`div`,Gr,[b(`span`,null,v((`t`in e?e.t:r(U))(`Desktop`)),1)]),b(`div`,Kr,[b(`h3`,null,v((`t`in e?e.t:r(U))(`Background`)),1),m(f,{modelValue:r(ht),"onUpdate:modelValue":n[10]||=e=>E(ht)?ht.value=e:null,items:r(gt),variant:`table`,indicator:`end`,color:`primary`,size:`lg`,class:`settings-radio`},null,8,[`modelValue`,`items`]),b(`p`,qr,v((`t`in e?e.t:r(U))(`In the margins of the conversation. Still when the system asks for reduced motion. Saved on this device.`)),1)]),b(`div`,Jr,[b(`h3`,null,v((`t`in e?e.t:r(U))(`Content width`)),1),m(f,{modelValue:r(W),"onUpdate:modelValue":n[11]||=e=>E(W)?W.value=e:null,items:r(Fe),variant:`table`,indicator:`end`,color:`primary`,size:`lg`,class:`settings-radio`},null,8,[`modelValue`,`items`]),b(`p`,Yr,v((`t`in e?e.t:r(U))(`Conversation, terminal, settings and other content. Saved on this device.`)),1)])],64)):s(``,!0)],512),[[k,r(j)===`appearance`]]),x(b(`div`,Xr,[b(`div`,Zr,[b(`h3`,null,v((`t`in e?e.t:r(U))(`Typewriter`)),1),m(f,{modelValue:r(he),"onUpdate:modelValue":n[12]||=e=>E(he)?he.value=e:null,items:r(be),variant:`table`,indicator:`end`,color:`primary`,size:`lg`,class:`settings-radio`,disabled:`reducedMotion`in e?e.reducedMotion:r(Se)},null,8,[`modelValue`,`items`,`disabled`]),b(`p`,Qr,v((`t`in e?e.t:r(U))((`reducedMotion`in e?e.reducedMotion:r(Se))?`Off: the system asks for reduced motion.`:`Only new replies are animated; history appears at once. Tap a reply while it types to show it in full. Saved on this device only.`)),1),b(`label`,{class:_([`settings-toggle encrypted-toggle`,{"is-disabled":!(`typewriterActive`in e?e.typewriterActive:r(Ze))}])},[b(`span`,null,[b(`b`,null,v((`t`in e?e.t:r(U))(`Encrypted text`)),1),b(`small`,null,v((`t`in e?e.t:r(U))(`Writing advances in glyphs, then the text decrypts behind it.`)),1)]),m(h,{modelValue:r(se),"onUpdate:modelValue":n[13]||=e=>E(se)?se.value=e:null,disabled:!(`typewriterActive`in e?e.typewriterActive:r(Ze)),color:`success`,size:`xl`},null,8,[`modelValue`,`disabled`])],2),r(j)===`conversation`?(c(),a(y,{key:0})):s(``,!0)]),b(`div`,$r,[b(`h3`,null,v((`tl`in e?e.tl:r(q))(`Quoted replies`,`Réponses citées`)),1),b(`p`,ei,v((`tl`in e?e.tl:r(q))(`Answer several questions or passages of an agent in one message: ↳ Reply quotes each in the field, above its answer. Choose how the field shows the quotes; the message sent is the same.`,`Réponds à plusieurs questions ou passages d’un agent dans un seul message : ↳ Répondre cite chacun dans le champ, au-dessus de sa réponse. Choisis comment le champ affiche les citations ; le message envoyé est le même.`)),1),r(j)===`conversation`?(c(),a(C,{key:0,mode:r(ue)},null,8,[`mode`])):s(``,!0),b(`h4`,ti,v((`tl`in e?e.tl:r(q))(`On a computer`,`Sur ordinateur`)),1),m(f,{modelValue:r(V),"onUpdate:modelValue":n[14]||=e=>E(V)?V.value=e:null,items:r(de),variant:`table`,indicator:`end`,color:`primary`,size:`lg`,class:`settings-radio`},{label:T(({item:n})=>[t(v(n.label),1),n.exp?(c(),l(`span`,ni,v((`tl`in e?e.tl:r(q))(`Experimental`,`Expérimental`)),1)):s(``,!0)]),_:1},8,[`modelValue`,`items`]),b(`h4`,ri,v((`tl`in e?e.tl:r(q))(`On a phone`,`Sur téléphone`)),1),m(f,{modelValue:r(ce),"onUpdate:modelValue":n[15]||=e=>E(ce)?ce.value=e:null,items:r(de),variant:`table`,indicator:`end`,color:`primary`,size:`lg`,class:`settings-radio`},{label:T(({item:n})=>[t(v(n.label),1),n.exp?(c(),l(`span`,ii,v((`tl`in e?e.tl:r(q))(`Experimental`,`Expérimental`)),1)):s(``,!0)]),_:1},8,[`modelValue`,`items`]),b(`p`,ai,v((`tl`in e?e.tl:r(q))(`Saved on this device.`,`Enregistré sur cet appareil.`)),1)])],512),[[k,r(j)===`conversation`]]),x(b(`div`,oi,[b(`div`,si,[b(`h3`,null,v((`t`in e?e.t:r(U))(`Home screen`)),1),b(`label`,ci,[b(`span`,null,[b(`b`,null,v((`t`in e?e.t:r(U))(`Show terminals`)),1),b(`small`,null,v((`t`in e?e.t:r(U))(`Show terminal spaces in the list, filed under Ready.`)),1)]),m(h,{modelValue:r(L),"onUpdate:modelValue":n[16]||=e=>E(L)?L.value=e:null,color:`success`,size:`xl`},null,8,[`modelValue`])])]),b(`div`,li,[b(`h3`,null,v((`t`in e?e.t:r(U))(`Text`)),1),b(`div`,ui,[b(`span`,null,v((`t`in e?e.t:r(U))(`Terminal text size`)),1),b(`div`,null,[b(`button`,{type:`button`,"aria-label":(`t`in e?e.t:r(U))(`Decrease text size`),onClick:n[17]||=e=>Xt(-1)},`A−`,8,di),b(`output`,null,v(`fontSize`in e?e.fontSize:r(ut)),1),b(`button`,{type:`button`,"aria-label":(`t`in e?e.t:r(U))(`Increase text size`),onClick:n[18]||=e=>Xt(1)},`A+`,8,fi)])])]),b(`div`,pi,[b(`h3`,null,v((`t`in e?e.t:r(U))(`Terminal rendering`)),1),m(f,{modelValue:r(xe),"onUpdate:modelValue":n[19]||=e=>E(xe)?xe.value=e:null,items:Qt,variant:`table`,indicator:`end`,color:`primary`,size:`lg`,class:`settings-radio`},null,8,[`modelValue`]),b(`p`,mi,v((`t`in e?e.t:r(U))(`Rendering is saved on this device.`)),1),b(`p`,hi,v(r($t)),1)])],512),[[k,r(j)===`terminal`]]),x(b(`div`,gi,[b(`div`,_i,[b(`h3`,null,v((`t`in e?e.t:r(U))(`New agent`)),1),b(`p`,vi,v((`t`in e?e.t:r(U))(`Types shown in New agent. Terminal is always available.`)),1),r(vt).length?(c(),l(`div`,yi,[(c(!0),l(g,null,u(r(vt),t=>(c(),l(`label`,{key:t,class:`settings-toggle`},[b(`span`,null,[b(`b`,null,v((`kindLabel`in e?e.kindLabel:r(Ke))(t)),1),xt(t)?(c(),l(`small`,bi,v(xt(t)),1)):s(``,!0)]),b(`input`,{class:`agent-pref-check`,type:`checkbox`,checked:yt(t),onChange:e=>bt(t,e.target.checked)},null,40,xi)]))),128))])):(c(),l(`p`,Si,v((`t`in e?e.t:r(U))(`No agents installed on online machines.`)),1)),b(`p`,Ci,v((`t`in e?e.t:r(U))(`Choices saved on this device.`)),1)]),m(w)],512),[[k,r(j)===`agents`]]),x(b(`div`,wi,[b(`div`,Ti,[b(`label`,Ei,[b(`span`,null,[b(`b`,null,[m(d,{name:r(Z)?`i-lucide-bell-off`:`i-lucide-bell`},null,8,[`name`]),t(v((`tl`in e?e.tl:r(q))(`Do not disturb`,`Silence`)),1)]),b(`small`,null,v((`tl`in e?e.tl:r(q))(`No push notifications while it is on.`,`Aucune notification push tant qu’il est actif.`)),1)]),m(h,{modelValue:r(Z),"onUpdate:modelValue":n[20]||=e=>E(Z)?Z.value=e:null,color:`success`,size:`xl`},null,8,[`modelValue`])]),b(`p`,Di,v((`tl`in e?e.tl:r(q))(`Silence on`,`Couper pour`)),1),m(f,{"model-value":r(X),items:r(Rt),variant:`table`,indicator:`end`,color:`primary`,size:`lg`,class:`settings-radio`,"onUpdate:modelValue":n[21]||=e=>Vt(e)},null,8,[`model-value`,`items`]),r(St)?s(``,!0):(c(),l(`p`,Oi,v((`tl`in e?e.tl:r(q))(`“This device” needs notifications turned on below.`,`« Cet appareil » demande d’activer les notifications ci-dessous.`)),1)),b(`p`,ki,v((`tl`in e?e.tl:r(q))(`Duration`,`Durée`)),1),m(f,{"model-value":r(Lt),items:zt,variant:`table`,indicator:`end`,color:`primary`,size:`lg`,class:`settings-radio`,"onUpdate:modelValue":n[22]||=e=>Ht(e)},null,8,[`model-value`]),b(`p`,{class:_([`muted notify-hint`,{"quiet-end":r(Z)}])},v(r(Ut)||(`tl`in e?e.tl:r(q))(`Notifications come back on by themselves at the end.`,`Retour automatique à la normale à la fin de la durée choisie.`)),3)]),b(`div`,Ai,[m(D),b(`p`,ji,v((`t`in e?e.t:r(U))(`Notify for`)),1),m(f,{modelValue:r(Ot),"onUpdate:modelValue":n[23]||=e=>E(Ot)?Ot.value=e:null,items:Dt,variant:`table`,indicator:`end`,color:`primary`,size:`lg`,class:`settings-radio`},null,8,[`modelValue`]),b(`p`,Mi,v((`t`in e?e.t:r(U))(`Project threads remain visible and their unread messages are kept.`)),1)])],512),[[k,r(j)===`notifications`]]),x(b(`div`,Ni,[m(O,{machines:(`appConfig`in e?e.appConfig:r(ot)).machines||[{key:``,label:(`hostLabel`in e?e.hostLabel:r(je))||(`t`in e?e.t:r(U))(`This machine`),local:!0,home:``,dirs:[],online:!0,kinds:[]}]},null,8,[`machines`])],512),[[k,r(j)===`plugins`]]),x(b(`div`,Pi,[m(ee,{active:r(j)===`phone`},null,8,[`active`])],512),[[k,r(j)===`phone`]]),x(b(`div`,Fi,[b(`div`,Ii,[b(`h3`,null,v((`t`in e?e.t:r(U))(`Passkey`)),1),m(R)]),r(en)?.enabled?(c(),l(`div`,Li,[b(`h3`,null,v((`t`in e?e.t:r(U))(`Ask for the passkey again after`)),1),m(f,{modelValue:r(rn),"onUpdate:modelValue":n[24]||=e=>E(rn)?rn.value=e:null,items:r(nn),variant:`table`,indicator:`end`,color:`primary`,size:`lg`,class:`settings-radio`},null,8,[`modelValue`,`items`]),b(`p`,Ri,v((`t`in e?e.t:r(U))(`Counted from the last passkey unlock, for every device. Never in the middle of use: at the next opening of the app.`)),1),r(an)?(c(),l(`p`,zi,v(r(an)),1)):s(``,!0)])):s(``,!0)],512),[[k,r(j)===`security`]]),(`desk`in e?e.desk:r(G))?x((c(),l(`div`,Bi,[b(`div`,Vi,[b(`h3`,null,v((`t`in e?e.t:r(U))(`Default pane view`)),1),m(f,{modelValue:r(Ue),"onUpdate:modelValue":n[25]||=e=>E(Ue)?Ue.value=e:null,items:Xe,variant:`table`,indicator:`end`,color:`primary`,size:`lg`,class:`settings-radio`},null,8,[`modelValue`]),b(`p`,Hi,v((`t`in e?e.t:r(U))(`What an agent pane opens on. A pane you switched to Terminal stays there. Saved on this device.`)),1)]),b(`div`,Ui,[b(`h3`,null,v((`tl`in e?e.tl:r(q))(`Keyboard shortcuts`,`Raccourcis clavier`)),1),b(`button`,{type:`button`,class:`settings-action solo`,onClick:n[26]||=e=>p.value=!0},[m(d,{name:`i-lucide-keyboard`}),t(v((`tl`in e?e.tl:r(q))(`Show keyboard shortcuts`,`Voir les raccourcis clavier`))+` `,1),b(`span`,Wi,[(c(!0),l(g,null,u((`shortcutKbds`in e?e.shortcutKbds:r(le))(`help`),e=>(c(),a(ae,{key:e,value:e},null,8,[`value`]))),128))])])])],512)),[[k,r(j)===`desktop`]]):s(``,!0),x(b(`div`,Gi,[b(`div`,Ki,[b(`h3`,null,v((`t`in e?e.t:r(U))(`Application`)),1),b(`p`,qi,`wherdr · v`+v(r(i)),1),(`updateInfo`in e?e.updateInfo:r(Et))?.latest?(c(),a(fe,{key:0,info:`updateInfo`in e?e.updateInfo:r(Et)},null,8,[`info`])):(`updateInfo`in e?e.updateInfo:r(Et))?.checked?(c(),l(`p`,Ji,v((`t`in e?e.t:r(U))(`This is the latest version.`)),1)):s(``,!0),b(`button`,{type:`button`,class:`settings-action solo`,onClick:Yi},[m(d,{name:`i-lucide-refresh-cw`}),t(v((`t`in e?e.t:r(U))(`Reload app`)),1)]),b(`button`,{type:`button`,class:`settings-action solo`,onClick:n[27]||=(...t)=>(`openOnboarding`in e?e.openOnboarding:r(Pt))&&(`openOnboarding`in e?e.openOnboarding:r(Pt))(...t)},[m(d,{name:`i-lucide-compass`}),t(v((`tl`in e?e.tl:r(q))(`Setup guide`,`Guide de démarrage`)),1)])])],512),[[k,r(j)===`about`]])],512),[[k,r(j)]])],2)])}}}),{__name:`SettingsView`}),Zi=p({__name:`settings`,setup(e){return f(()=>{Ue.value=null}),(e,t)=>{let n=Xi;return c(),a(n)}}});export{Zi as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"id":"ff11fc8b-1e70-4261-a76e-a52155efb196","timestamp":1791441158064,"prerendered":[]}
|