agent-tower 0.3.17 → 0.3.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/web/assets/{AgentDemoPage-Dk1IYwFK.js → AgentDemoPage-2AqgX6Cf.js} +1 -1
- package/dist/web/assets/{DemoPage-Bb2AZehZ.js → DemoPage-DyFtRa8x.js} +1 -1
- package/dist/web/assets/{GeneralSettingsPage-D8zqV0GJ.js → GeneralSettingsPage-B6uXd3Wp.js} +1 -1
- package/dist/web/assets/{NotificationSettingsPage-BNmaa7hl.js → NotificationSettingsPage-B0m5t4qH.js} +1 -1
- package/dist/web/assets/{ProfileSettingsPage-BfkPfhve.js → ProfileSettingsPage-CwRQ5Wr1.js} +1 -1
- package/dist/web/assets/{ProjectKanbanPage-B05oCm3R.js → ProjectKanbanPage-DwSI2gad.js} +3 -3
- package/dist/web/assets/{ProjectSettingsPage-BH_gXmXq.js → ProjectSettingsPage-BxGCUc3h.js} +1 -1
- package/dist/web/assets/{ProviderSettingsPage-GZE99hfd.js → ProviderSettingsPage-BF3I_Oba.js} +1 -1
- package/dist/web/assets/{button-CS5E51rP.js → button-Dh8FHptl.js} +1 -1
- package/dist/web/assets/{chevron-down-CNJQT9Sp.js → chevron-down-B-UCtkpw.js} +1 -1
- package/dist/web/assets/{chevron-right-B-lN0D3w.js → chevron-right-CIJ95cIu.js} +1 -1
- package/dist/web/assets/{circle-alert-LlKj0Adg.js → circle-alert-DwzV6nbB.js} +1 -1
- package/dist/web/assets/{circle-check-D6OqR8RC.js → circle-check-MgjzSuSN.js} +1 -1
- package/dist/web/assets/{code-block-OCS4YCEC-BULlfDuJ.js → code-block-OCS4YCEC-DVFIuiT3.js} +1 -1
- package/dist/web/assets/{confirm-dialog-DleQPcPQ.js → confirm-dialog-B4CDGom7.js} +1 -1
- package/dist/web/assets/{folder-picker-BrwGE8fG.js → folder-picker-CzSKXweo.js} +1 -1
- package/dist/web/assets/{index-rIfTzP50.js → index-CFjAe6OM.js} +6 -6
- package/dist/web/assets/{loader-circle-HI6vkANh.js → loader-circle-BiT33tiH.js} +1 -1
- package/dist/web/assets/{mermaid-NOHMQCX5-CJn-Z2zW.js → mermaid-NOHMQCX5-BeW1Fb1_.js} +3 -3
- package/dist/web/assets/{modal-B3n4422l.js → modal-hQOddjel.js} +1 -1
- package/dist/web/assets/{pencil-e62PRCc1.js → pencil-Ca4AsZLH.js} +1 -1
- package/dist/web/assets/{rotate-ccw-BwTBsurV.js → rotate-ccw-Dx6ZIa1R.js} +1 -1
- package/dist/web/assets/{select-gVl1VGXh.js → select-DN0KH4Bi.js} +1 -1
- package/dist/web/assets/{use-profiles-JN2sz72u.js → use-profiles-CUlWd_po.js} +1 -1
- package/dist/web/index.html +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{e as l,r as a,j as e}from"./index-
|
|
1
|
+
import{e as l,r as a,j as e}from"./index-CFjAe6OM.js";import{c}from"./utils-CkSf8FUe.js";const h=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]],k=l("plus",h);const b=[["path",{d:"M10 11v6",key:"nco0om"}],["path",{d:"M14 11v6",key:"outv1u"}],["path",{d:"M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6",key:"miytrc"}],["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2",key:"e791ji"}]],w=l("trash-2",b);const f=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],x=l("x",f),p=({isOpen:t,onClose:s,title:i,children:u,action:n,className:m})=>{const[y,d]=a.useState(!1);a.useEffect(()=>{if(t)d(!0),document.body.style.overflow="hidden";else{const o=setTimeout(()=>d(!1),200);return document.body.style.overflow="unset",()=>clearTimeout(o)}},[t]);const r=a.useCallback(o=>{o.key==="Escape"&&s()},[s]);return a.useEffect(()=>{if(t)return document.addEventListener("keydown",r),()=>{document.removeEventListener("keydown",r)}},[t,r]),!y&&!t?null:e.jsxs("div",{className:c("fixed inset-0 z-50 flex items-center justify-center p-4 transition-opacity duration-200",t?"opacity-100":"opacity-0"),children:[e.jsx("div",{className:"absolute inset-0 bg-white/80 backdrop-blur-sm",onClick:s}),e.jsxs("div",{className:c("relative w-full max-w-lg bg-white rounded-xl shadow-2xl shadow-neutral-200/50 border border-neutral-100 transform transition-all duration-200",t?"scale-100 translate-y-0":"scale-95 translate-y-2",m),children:[e.jsxs("div",{className:"flex items-center justify-between px-6 py-4 border-b border-neutral-50",children:[e.jsx("h3",{className:"font-semibold text-neutral-900",children:i}),e.jsx("button",{onClick:s,className:"text-neutral-400 hover:text-neutral-900 transition-colors",children:e.jsx(x,{size:18})})]}),e.jsx("div",{className:"p-6",children:u}),n?e.jsx("div",{className:"px-6 py-4 bg-neutral-50 rounded-b-xl border-t border-neutral-100 flex justify-end gap-3",children:n}):null]})]})},M=Object.freeze(Object.defineProperty({__proto__:null,Modal:p},Symbol.toStringTag,{value:"Module"}));export{p as M,k as P,w as T,x as X,M as m};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{e as a}from"./index-
|
|
1
|
+
import{e as a}from"./index-CFjAe6OM.js";const e=[["path",{d:"M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z",key:"1a8usu"}],["path",{d:"m15 5 4 4",key:"1mk7zo"}]],c=a("pencil",e);export{c as P};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{e as a}from"./index-
|
|
1
|
+
import{e as a}from"./index-CFjAe6OM.js";const e=[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}]],d=a("file",e);const o=[["path",{d:"M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z",key:"1kt360"}]],s=a("folder",o);const t=[["path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"1357e3"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}]],h=a("rotate-ccw",t);export{s as F,h as R,d as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{u as p,r as n,j as t}from"./index-
|
|
1
|
+
import{u as p,r as n,j as t}from"./index-CFjAe6OM.js";import{c as r}from"./utils-CkSf8FUe.js";import{C as w,a as v}from"./chevron-down-B-UCtkpw.js";function g({value:l,onChange:d,options:o,placeholder:m="Select...",disabled:f=!1,className:x}){const{t:i}=p(),[s,a]=n.useState(!1),c=n.useRef(null),u=o.find(e=>e.value===l);n.useEffect(()=>{if(!s)return;const e=h=>{c.current&&!c.current.contains(h.target)&&a(!1)};return document.addEventListener("mousedown",e),()=>document.removeEventListener("mousedown",e)},[s]);const b=n.useCallback(e=>{e.key==="Escape"&&a(!1)},[]);return t.jsxs("div",{ref:c,className:r("relative",x),onKeyDown:b,children:[t.jsxs("button",{type:"button",disabled:f,onClick:()=>a(e=>!e),className:r("flex items-center justify-between w-full h-9 px-3 border rounded-lg text-sm transition-colors","bg-white border-neutral-200 hover:border-neutral-300","focus:outline-none focus:border-neutral-400","disabled:opacity-50 disabled:cursor-not-allowed",s&&"border-neutral-400",!u&&"text-neutral-400"),children:[t.jsx("span",{className:"truncate",children:u?u.label:i(m)}),t.jsx(w,{size:14,className:r("ml-2 shrink-0 text-neutral-400 transition-transform duration-150",s&&"rotate-180")})]}),s&&t.jsx("div",{className:"absolute z-50 mt-1 w-full min-w-[160px] bg-white border border-neutral-200 rounded-lg shadow-lg shadow-neutral-200/50 py-1 max-h-[200px] overflow-y-auto",children:o.length===0?t.jsx("div",{className:"px-3 py-2 text-sm text-neutral-400",children:i("No options")}):o.map(e=>t.jsxs("button",{type:"button",disabled:e.disabled,onClick:()=>{d(e.value),a(!1)},className:r("flex items-center w-full px-3 py-1.5 text-sm text-left transition-colors","hover:bg-neutral-50",e.value===l?"text-neutral-900 font-medium":"text-neutral-600",e.disabled&&"opacity-40 cursor-not-allowed"),children:[t.jsx(v,{size:14,className:r("mr-2 shrink-0",e.value===l?"opacity-100":"opacity-0")}),t.jsx("span",{className:"truncate",children:e.label})]},e.value))})]})}export{g as S};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as n,b as a,c as i,q as s,d as r}from"./index-
|
|
1
|
+
import{a as n,b as a,c as i,q as s,d as r}from"./index-CFjAe6OM.js";function f(){return n({queryKey:s.profiles.all,queryFn:()=>r.get("/profiles")})}function c(){return n({queryKey:s.profiles.defaults,queryFn:()=>r.get("/profiles/defaults")})}function y(e){return n({queryKey:s.profiles.agent(e),queryFn:()=>r.get(`/profiles/${e}`),enabled:!!e})}function p(){const e=a();return i({mutationFn:({agentType:u,variant:t,config:l})=>r.put(`/profiles/${u}/${t}`,l),onSuccess:()=>{e.invalidateQueries({queryKey:s.profiles.all})}})}function q(){const e=a();return i({mutationFn:({agentType:u,variant:t})=>r.delete(`/profiles/${u}/${t}`),onSuccess:()=>{e.invalidateQueries({queryKey:s.profiles.all})}})}export{c as a,p as b,q as c,y as d,f as u};
|
package/dist/web/index.html
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
|
|
6
6
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no, viewport-fit=cover" />
|
|
7
7
|
<title>web</title>
|
|
8
|
-
<script type="module" crossorigin src="/assets/index-
|
|
8
|
+
<script type="module" crossorigin src="/assets/index-CFjAe6OM.js"></script>
|
|
9
9
|
<link rel="stylesheet" crossorigin href="/assets/index-CnQr7qh9.css">
|
|
10
10
|
</head>
|
|
11
11
|
<body>
|