agent-tower 0.4.5 → 0.4.7
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/git/git-cli.js +2 -2
- package/dist/git/git-cli.js.map +1 -1
- package/dist/web/assets/{AgentDemoPage-CB48v8IV.js → AgentDemoPage-B4p6JOaa.js} +1 -1
- package/dist/web/assets/{DemoPage-_dT9rdpV.js → DemoPage-a61F8WUp.js} +1 -1
- package/dist/web/assets/{GeneralSettingsPage-DtD_oirE.js → GeneralSettingsPage-CQmEjFi8.js} +1 -1
- package/dist/web/assets/{NotificationSettingsPage-DQqz8xJs.js → NotificationSettingsPage-BRw2fFTj.js} +1 -1
- package/dist/web/assets/{ProfileSettingsPage-BaFNyfse.js → ProfileSettingsPage-D-zyXwz1.js} +1 -1
- package/dist/web/assets/{ProjectKanbanPage-DNCKy0g4.js → ProjectKanbanPage-DSO5OEi0.js} +22 -22
- package/dist/web/assets/{ProjectSettingsPage-Cv6VpL1g.js → ProjectSettingsPage-CKb-5dhB.js} +1 -1
- package/dist/web/assets/{ProviderSettingsPage-BqmSJV2I.js → ProviderSettingsPage-dGoaMV8Q.js} +1 -1
- package/dist/web/assets/{button-Cg3N0RX4.js → button-yc8E-9mL.js} +1 -1
- package/dist/web/assets/{chevron-down-BZ2n6wh3.js → chevron-down-CgN79gJE.js} +1 -1
- package/dist/web/assets/{chevron-right-BrrhT2ph.js → chevron-right-DlWP8lVM.js} +1 -1
- package/dist/web/assets/{circle-alert-a6g1jQyL.js → circle-alert-CgMmay1J.js} +1 -1
- package/dist/web/assets/{circle-check-CQEg-cq1.js → circle-check-CSmMKb6_.js} +1 -1
- package/dist/web/assets/{code-block-OCS4YCEC-C72vBOSD.js → code-block-OCS4YCEC-DiXG3CzW.js} +1 -1
- package/dist/web/assets/{confirm-dialog-DmuQeQ0J.js → confirm-dialog-Q8BsN1Up.js} +1 -1
- package/dist/web/assets/{folder-picker-Dl5GZRtL.js → folder-picker-C45cXliN.js} +1 -1
- package/dist/web/assets/{index-D3_Vq2xm.js → index-DK-vt3Cl.js} +2 -2
- package/dist/web/assets/{loader-circle-DRKF9OZx.js → loader-circle-DYUWI5Dr.js} +1 -1
- package/dist/web/assets/{mermaid-NOHMQCX5-DyQsSSRd.js → mermaid-NOHMQCX5-C5mvGqWa.js} +3 -3
- package/dist/web/assets/{modal-wSbeXj_V.js → modal-BgEFLccc.js} +1 -1
- package/dist/web/assets/{pencil-CT2HBX6f.js → pencil-CjaX70qm.js} +1 -1
- package/dist/web/assets/{rotate-ccw-DkZPjdAj.js → rotate-ccw-CDDSxb2s.js} +1 -1
- package/dist/web/assets/{select-BRJQTh28.js → select-DKQPvWiV.js} +1 -1
- package/dist/web/assets/{use-profiles-zSSuAJaA.js → use-profiles-Brdh89vT.js} +1 -1
- package/dist/web/assets/{use-providers-BfLpM8PB.js → use-providers-Es21U-kq.js} +1 -1
- package/dist/web/index.html +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{h as l,r as a,j as e}from"./index-
|
|
1
|
+
import{h as l,r as a,j as e}from"./index-DK-vt3Cl.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{h as a}from"./index-
|
|
1
|
+
import{h as a}from"./index-DK-vt3Cl.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{h as a}from"./index-
|
|
1
|
+
import{h as a}from"./index-DK-vt3Cl.js";const o=[["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",o);const e=[["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"}]],h=a("folder",e);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"}]],s=a("rotate-ccw",t);export{h as F,s 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-DK-vt3Cl.js";import{c as r}from"./utils-CkSf8FUe.js";import{C as w,a as v}from"./chevron-down-CgN79gJE.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{d as n,e as i,f as a,q as s,g as r}from"./index-
|
|
1
|
+
import{d as n,e as i,f as a,q as s,g as r}from"./index-DK-vt3Cl.js";function f(){return n({queryKey:s.profiles.all,queryFn:()=>r.get("/profiles")})}function y(){return n({queryKey:s.profiles.defaults,queryFn:()=>r.get("/profiles/defaults")})}function c(e){return n({queryKey:s.profiles.agent(e),queryFn:()=>r.get(`/profiles/${e}`),enabled:!!e})}function p(){const e=i();return a({mutationFn:({agentType:u,variant:t,config:l})=>r.put(`/profiles/${u}/${t}`,l),onSuccess:()=>{e.invalidateQueries({queryKey:s.profiles.all})}})}function q(){const e=i();return a({mutationFn:({agentType:u,variant:t})=>r.delete(`/profiles/${u}/${t}`),onSuccess:()=>{e.invalidateQueries({queryKey:s.profiles.all})}})}export{y as a,p as b,q as c,c as d,f as u};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{d as n,e as u,f as t,q as i,g as s}from"./index-
|
|
1
|
+
import{d as n,e as u,f as t,q as i,g as s}from"./index-DK-vt3Cl.js";function p(){return n({queryKey:i.providers.all,queryFn:()=>s.get("/providers")})}function c(){const e=u();return t({mutationFn:r=>s.post("/providers",r),onSuccess:()=>{e.invalidateQueries({queryKey:i.providers.all})}})}function d(){const e=u();return t({mutationFn:({id:r,data:o})=>s.put(`/providers/${r}`,o),onSuccess:()=>{e.invalidateQueries({queryKey:i.providers.all})}})}function v(){const e=u();return t({mutationFn:r=>s.delete(`/providers/${r}`),onSuccess:()=>{e.invalidateQueries({queryKey:i.providers.all})}})}function l(){return t({mutationFn:()=>s.get("/providers/backup")})}function y(){return t({mutationFn:e=>s.post("/providers/import/preview",e)})}function m(){const e=u();return t({mutationFn:r=>s.post("/providers/import",r),onSuccess:()=>{e.invalidateQueries({queryKey:i.providers.all})}})}export{c as a,d as b,v as c,l as d,y as e,m as f,p 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-DK-vt3Cl.js"></script>
|
|
9
9
|
<link rel="stylesheet" crossorigin href="/assets/index-BGvfX18x.css">
|
|
10
10
|
</head>
|
|
11
11
|
<body>
|