agent-tower 0.5.1-beta.2 → 0.5.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.
Files changed (31) hide show
  1. package/dist/web/assets/{AgentDemoPage-CEWSskKz.js → AgentDemoPage-C41Npg-J.js} +1 -1
  2. package/dist/web/assets/{DemoPage-DVt_gGQE.js → DemoPage-DeXHpe0f.js} +1 -1
  3. package/dist/web/assets/{GeneralSettingsPage-B7DbUzT6.js → GeneralSettingsPage-ROIAXf_I.js} +1 -1
  4. package/dist/web/assets/{MemberAvatar--HnaCo5f.js → MemberAvatar-Bgb9cNkt.js} +1 -1
  5. package/dist/web/assets/{NotificationSettingsPage-BklUEhB2.js → NotificationSettingsPage-BSFFB_Xk.js} +1 -1
  6. package/dist/web/assets/{ProfileSettingsPage-Be7yYwbc.js → ProfileSettingsPage-n6J_nKUb.js} +1 -1
  7. package/dist/web/assets/{ProjectKanbanPage-BZR3HX3_.js → ProjectKanbanPage-BUwfUX3X.js} +24 -24
  8. package/dist/web/assets/{ProjectSettingsPage-Cj1h7G2-.js → ProjectSettingsPage-Dv5Ab2MY.js} +1 -1
  9. package/dist/web/assets/{ProviderSettingsPage-l244dDeI.js → ProviderSettingsPage-Ckp_pVCi.js} +1 -1
  10. package/dist/web/assets/{TeamSettingsPage-CXp-7kqb.js → TeamSettingsPage-DjlyHMct.js} +1 -1
  11. package/dist/web/assets/{button-Cc_0rVdG.js → button-_UA8cNod.js} +1 -1
  12. package/dist/web/assets/{chevron-down-DAto5uxR.js → chevron-down-qLfxqOnz.js} +1 -1
  13. package/dist/web/assets/{chevron-right-fcp8yUcf.js → chevron-right-SY4_v7-h.js} +1 -1
  14. package/dist/web/assets/{chevron-up-BkPAyFXE.js → chevron-up-xy9sRgGr.js} +1 -1
  15. package/dist/web/assets/{circle-check-BmWaxH2e.js → circle-check-D53Ur01f.js} +1 -1
  16. package/dist/web/assets/{code-block-OCS4YCEC-U8rjjKMO.js → code-block-OCS4YCEC-BHTzJkrx.js} +1 -1
  17. package/dist/web/assets/{confirm-dialog-D0R59Lv2.js → confirm-dialog-D9WQU47x.js} +1 -1
  18. package/dist/web/assets/{folder-picker-COVJdb7m.js → folder-picker-DPW13OyX.js} +1 -1
  19. package/dist/web/assets/{index-BCz-PlSG.js → index-BsrxN6e4.js} +2 -2
  20. package/dist/web/assets/{loader-circle-B0dxeUg4.js → loader-circle-CPz4Agyr.js} +1 -1
  21. package/dist/web/assets/{mermaid-NOHMQCX5-CfVlHQvQ.js → mermaid-NOHMQCX5-BSPQ7bmi.js} +3 -3
  22. package/dist/web/assets/{modal-kzH1vcBa.js → modal-BLPS1r7Q.js} +1 -1
  23. package/dist/web/assets/{pencil-DvjVNKIw.js → pencil-zfyDXHtM.js} +1 -1
  24. package/dist/web/assets/{select-Xt2WadPY.js → select-CEtSClHi.js} +1 -1
  25. package/dist/web/assets/{upload-dtpXWuCN.js → upload-hdDyQIIu.js} +1 -1
  26. package/dist/web/assets/{use-profiles-oZ63gfvO.js → use-profiles-BrCaq-M0.js} +1 -1
  27. package/dist/web/assets/{use-providers-BVrApYJA.js → use-providers-BmGR6zlI.js} +1 -1
  28. package/dist/web/index.html +1 -1
  29. package/node_modules/@prisma/client/.prisma/client/edge.js +2 -2
  30. package/node_modules/@prisma/client/.prisma/client/index.js +2 -2
  31. package/package.json +1 -1
@@ -1 +1 @@
1
- import{h as l,r as a,j as e}from"./index-BCz-PlSG.js";import{c}from"./utils-CkSf8FUe.js";const f=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]],j=l("plus",f);const y=[["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",y);const x=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],b=l("x",x),v=({isOpen:t,onClose:s,title:i,children:u,action:n,className:m})=>{const[h,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]),!h&&!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 flex max-h-[calc(100vh-2rem)] w-full max-w-lg flex-col overflow-hidden 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 shrink-0 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(b,{size:18})})]}),e.jsx("div",{className:"min-h-0 flex-1 overflow-y-auto p-6",children:u}),n?e.jsx("div",{className:"shrink-0 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:v},Symbol.toStringTag,{value:"Module"}));export{v as M,j as P,w as T,b as X,M as m};
1
+ import{h as l,r as a,j as e}from"./index-BsrxN6e4.js";import{c}from"./utils-CkSf8FUe.js";const f=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]],j=l("plus",f);const y=[["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",y);const x=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],b=l("x",x),v=({isOpen:t,onClose:s,title:i,children:u,action:n,className:m})=>{const[h,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]),!h&&!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 flex max-h-[calc(100vh-2rem)] w-full max-w-lg flex-col overflow-hidden 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 shrink-0 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(b,{size:18})})]}),e.jsx("div",{className:"min-h-0 flex-1 overflow-y-auto p-6",children:u}),n?e.jsx("div",{className:"shrink-0 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:v},Symbol.toStringTag,{value:"Module"}));export{v as M,j as P,w as T,b as X,M as m};
@@ -1 +1 @@
1
- import{h as a}from"./index-BCz-PlSG.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
+ import{h as a}from"./index-BsrxN6e4.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{u as p,r as n,j as t}from"./index-BCz-PlSG.js";import{c as r}from"./utils-CkSf8FUe.js";import{C as w,a as v}from"./chevron-down-DAto5uxR.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
+ import{u as p,r as n,j as t}from"./index-BsrxN6e4.js";import{c as r}from"./utils-CkSf8FUe.js";import{C as w,a as v}from"./chevron-down-qLfxqOnz.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{h as a}from"./index-BCz-PlSG.js";const o=[["path",{d:"M12 3v12",key:"1x0j5s"}],["path",{d:"m17 8-5-5-5 5",key:"7q97r8"}],["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}]],t=a("upload",o);export{t as U};
1
+ import{h as a}from"./index-BsrxN6e4.js";const o=[["path",{d:"M12 3v12",key:"1x0j5s"}],["path",{d:"m17 8-5-5-5 5",key:"7q97r8"}],["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}]],t=a("upload",o);export{t as U};
@@ -1 +1 @@
1
- import{d as n,e as i,f as a,q as s,g as r}from"./index-BCz-PlSG.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
+ import{d as n,e as i,f as a,q as s,g as r}from"./index-BsrxN6e4.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-BCz-PlSG.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};
1
+ import{d as n,e as u,f as t,q as i,g as s}from"./index-BsrxN6e4.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};
@@ -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-BCz-PlSG.js"></script>
8
+ <script type="module" crossorigin src="/assets/index-BsrxN6e4.js"></script>
9
9
  <link rel="stylesheet" crossorigin href="/assets/index-BjIvVVfi.css">
10
10
  </head>
11
11
  <body>
@@ -344,7 +344,7 @@ const config = {
344
344
  "value": "prisma-client-js"
345
345
  },
346
346
  "output": {
347
- "value": "/Users/shitian/Work/shitian/agent-tower/.worktrees/at/a372d4e3/node_modules/.pnpm/@prisma+client@5.22.0_prisma@5.22.0/node_modules/@prisma/client",
347
+ "value": "/Users/shitian/Work/shitian/agent-tower/.worktrees/at/5e4f0142/node_modules/.pnpm/@prisma+client@5.22.0_prisma@5.22.0/node_modules/@prisma/client",
348
348
  "fromEnvVar": null
349
349
  },
350
350
  "config": {
@@ -362,7 +362,7 @@ const config = {
362
362
  }
363
363
  ],
364
364
  "previewFeatures": [],
365
- "sourceFilePath": "/Users/shitian/Work/shitian/agent-tower/.worktrees/at/a372d4e3/packages/server/prisma/schema.prisma"
365
+ "sourceFilePath": "/Users/shitian/Work/shitian/agent-tower/.worktrees/at/5e4f0142/packages/server/prisma/schema.prisma"
366
366
  },
367
367
  "relativeEnvPaths": {
368
368
  "rootEnvPath": null
@@ -345,7 +345,7 @@ const config = {
345
345
  "value": "prisma-client-js"
346
346
  },
347
347
  "output": {
348
- "value": "/Users/shitian/Work/shitian/agent-tower/.worktrees/at/a372d4e3/node_modules/.pnpm/@prisma+client@5.22.0_prisma@5.22.0/node_modules/@prisma/client",
348
+ "value": "/Users/shitian/Work/shitian/agent-tower/.worktrees/at/5e4f0142/node_modules/.pnpm/@prisma+client@5.22.0_prisma@5.22.0/node_modules/@prisma/client",
349
349
  "fromEnvVar": null
350
350
  },
351
351
  "config": {
@@ -363,7 +363,7 @@ const config = {
363
363
  }
364
364
  ],
365
365
  "previewFeatures": [],
366
- "sourceFilePath": "/Users/shitian/Work/shitian/agent-tower/.worktrees/at/a372d4e3/packages/server/prisma/schema.prisma"
366
+ "sourceFilePath": "/Users/shitian/Work/shitian/agent-tower/.worktrees/at/5e4f0142/packages/server/prisma/schema.prisma"
367
367
  },
368
368
  "relativeEnvPaths": {
369
369
  "rootEnvPath": null
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agent-tower",
3
- "version": "0.5.1-beta.2",
3
+ "version": "0.5.1",
4
4
  "description": "AI Agent Task Management Dashboard",
5
5
  "repository": {
6
6
  "type": "git",