@agents-shire/cli-linux-arm64 1.0.3 → 1.0.4
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/package.json +1 -1
- package/shire +0 -0
- package/frontend/chunk-080ent60.js +0 -2
- package/frontend/chunk-08yrv2nn.js +0 -2
- package/frontend/chunk-0sevb013.js +0 -2
- package/frontend/chunk-0v5erpy0.js +0 -2
- package/frontend/chunk-19284fra.js +0 -2
- package/frontend/chunk-2kh30qex.js +0 -2
- package/frontend/chunk-4ny2qr6s.js +0 -2
- package/frontend/chunk-62c2ejc6.js +0 -2
- package/frontend/chunk-6zekv36x.js +0 -28
- package/frontend/chunk-9c81zaw2.js +0 -2
- package/frontend/chunk-9eadacms.js +0 -2
- package/frontend/chunk-9g67pqq7.js +0 -42
- package/frontend/chunk-abx95kyf.js +0 -2
- package/frontend/chunk-bdx9vjnz.js +0 -1
- package/frontend/chunk-bkfyhghz.js +0 -1
- package/frontend/chunk-bs8nhy4h.js +0 -2
- package/frontend/chunk-dpy2bnvw.js +0 -2
- package/frontend/chunk-gxhame5n.js +0 -2
- package/frontend/chunk-j7zegcep.js +0 -1
- package/frontend/chunk-jenng4z6.js +0 -12
- package/frontend/chunk-kwqbxj7m.js +0 -1
- package/frontend/chunk-p8qycd26.js +0 -30
- package/frontend/chunk-q1tqw02v.js +0 -1
- package/frontend/chunk-r19vjw47.js +0 -2
- package/frontend/chunk-sxzad3y5.js +0 -2
- package/frontend/chunk-vp3by99k.js +0 -2
- package/frontend/chunk-w24pb2qv.js +0 -2
- package/frontend/chunk-z92gr3sp.js +0 -3
- package/frontend/chunk-zkc6t7cc.js +0 -1
- package/frontend/index.html +0 -16
- package/frontend/main.js +0 -214
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{q as X,r as Y,s as P,t as B}from"/chunk-bs8nhy4h.js";import"/chunk-abx95kyf.js";import{I as O}from"/chunk-62c2ejc6.js";import{K as w}from"/chunk-sxzad3y5.js";import"/chunk-08yrv2nn.js";import{xa as W}from"/chunk-dpy2bnvw.js";import{za as K}from"/chunk-0sevb013.js";import{Aa as u,Cb as $,Db as H,Ea as S,Gb as J,Oa as z,Qa as m,Wb as U,Xa as v,bb as G,fb as R,mb as _,pb as I,qb as L,xb as q}from"/chunk-p8qycd26.js";var Z=u(S(),1);var Q=u(S(),1);var p=u(m(),1);function d(l){let i=l==="dark"||l==="system"&&window.matchMedia("(prefers-color-scheme: dark)").matches;document.documentElement.classList.toggle("dark",i)}var g=[{value:"light",label:"Light",icon:p.jsxDEV(q,{className:"h-5 w-5"},void 0,!1,void 0,this)},{value:"dark",label:"Dark",icon:p.jsxDEV(L,{className:"h-5 w-5"},void 0,!1,void 0,this)},{value:"system",label:"System",icon:p.jsxDEV(I,{className:"h-5 w-5"},void 0,!1,void 0,this)}];function A(){let[l,i]=Q.useState(()=>{let e=localStorage.getItem("theme");return e==="light"||e==="dark"||e==="system"?e:"system"}),r=(e)=>{localStorage.setItem("theme",e),i(e),d(e)};return p.jsxDEV("div",{className:"space-y-3",children:[p.jsxDEV(w,{children:"Theme"},void 0,!1,void 0,this),p.jsxDEV("div",{className:"flex gap-3",children:g.map((e)=>p.jsxDEV(v,{variant:l===e.value?"default":"outline",className:"flex flex-col items-center gap-2 h-auto py-4 px-6",onClick:()=>r(e.value),"data-active":l===e.value,"aria-label":e.label,children:[e.icon,p.jsxDEV("span",{className:"text-sm",children:e.label},void 0,!1,void 0,this)]},e.value,!0,void 0,this))},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}var f=u(S(),1);var a=u(m(),1);function n({messages:l,hasMore:i,loadingMore:r,onLoadMore:e}){let[b,T]=f.useState(new Set),h=f.useRef(null),N=(t)=>{T((o)=>{let y=new Set(o);if(y.has(t))y.delete(t);else y.add(t);return y})},k=f.useCallback(()=>{let t=h.current;if(!t||!i||r)return;if(t.scrollHeight-t.scrollTop-t.clientHeight<100&&l.length>0)e()},[i,r,l.length,e]);if(f.useEffect(()=>{let t=h.current;if(!t||!i||r||l.length===0)return;if(t.scrollHeight<=t.clientHeight)e()},[i,r,l.length,e]),l.length===0)return a.jsxDEV("div",{className:"text-center text-muted-foreground py-12",children:"No inter-agent messages yet. Messages between agents will appear here."},void 0,!1,void 0,this);return a.jsxDEV("div",{ref:h,onScroll:k,className:"space-y-2 overflow-y-auto max-h-[calc(100vh-16rem)]",children:[l.map((t)=>{let o=b.has(t.id),y=t.text.length>200,s=y&&!o?t.text.slice(0,200)+"...":t.text;return a.jsxDEV("div",{className:"border rounded-lg p-3 space-y-1",children:[a.jsxDEV("div",{className:"flex items-center justify-between text-xs text-muted-foreground",children:[a.jsxDEV("span",{children:t.trigger==="scheduled_task"?a.jsxDEV(a.Fragment,{children:[a.jsxDEV(R,{className:"inline h-3 w-3 mr-1"},void 0,!1,void 0,this),a.jsxDEV("span",{className:"font-medium text-foreground",children:t.taskLabel??"Scheduled task"},void 0,!1,void 0,this)]},void 0,!0,void 0,this):t.role==="system"||!t.fromAgent&&!t.toAgent?a.jsxDEV(a.Fragment,{children:[a.jsxDEV(_,{className:"inline h-3 w-3 mr-1"},void 0,!1,void 0,this),a.jsxDEV("span",{className:"font-medium text-foreground",children:"System"},void 0,!1,void 0,this)]},void 0,!0,void 0,this):a.jsxDEV(a.Fragment,{children:[a.jsxDEV("span",{className:"font-medium text-foreground",children:t.fromAgent},void 0,!1,void 0,this)," → ",a.jsxDEV("span",{className:"font-medium text-foreground",children:t.toAgent},void 0,!1,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this),a.jsxDEV("time",{children:new Date(t.ts).toLocaleString()},void 0,!1,void 0,this)]},void 0,!0,void 0,this),a.jsxDEV("p",{className:"text-sm whitespace-pre-wrap",children:s},void 0,!1,void 0,this),y&&a.jsxDEV(v,{variant:"link",size:"sm","aria-expanded":o,className:"h-auto p-0 text-xs text-muted-foreground hover:text-foreground",onClick:()=>N(t.id),children:o?"Show less":"Show more"},void 0,!1,void 0,this)]},t.id,!0,void 0,this)}),r&&a.jsxDEV("div",{className:"flex justify-center py-2",children:a.jsxDEV($,{size:"md",className:"text-muted-foreground"},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}var c=u(m(),1);function C(){let l=z(),{projectId:i,projectName:r}=J(),{data:e,fetchNextPage:b,hasNextPage:T,isFetchingNextPage:h}=U(i);O(i?`project:${i}:schedules`:null,()=>{l.invalidateQueries({queryKey:["activity",i]})});let N=Z.useMemo(()=>e?.pages?.flatMap((t)=>t.messages)??[],[e]),k=T??!1;if(!i)return c.jsxDEV(H,{},void 0,!1,void 0,this);return c.jsxDEV(W,{children:c.jsxDEV("div",{className:"space-y-6",children:[c.jsxDEV("div",{className:"flex items-center gap-3",children:[c.jsxDEV(v,{variant:"ghost",size:"icon","aria-label":"Back",onClick:()=>K(`/projects/${r}`),children:c.jsxDEV(G,{className:"h-5 w-5"},void 0,!1,void 0,this)},void 0,!1,void 0,this),c.jsxDEV("h1",{className:"text-2xl font-bold",children:"Settings"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),c.jsxDEV(X,{defaultValue:"activity",children:[c.jsxDEV(Y,{children:[c.jsxDEV(P,{value:"activity",children:"Activity Log"},void 0,!1,void 0,this),c.jsxDEV(P,{value:"appearance",children:"Appearance"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),c.jsxDEV(B,{value:"activity",className:"pt-4",children:c.jsxDEV(n,{messages:N,hasMore:k,loadingMore:h,onLoadMore:b},void 0,!1,void 0,this)},void 0,!1,void 0,this),c.jsxDEV(B,{value:"appearance",className:"space-y-4 pt-4",children:c.jsxDEV(A,{},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this)}var F=u(m(),1);function M(){return F.jsxDEV(C,{},void 0,!1,void 0,this)}export{M as default};
|
package/frontend/index.html
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
<!DOCTYPE html>
|
|
2
|
-
<html lang="en">
|
|
3
|
-
<head>
|
|
4
|
-
<meta charset="UTF-8" />
|
|
5
|
-
<meta name="viewport" content="width=device-width, initial-scale=1.0, viewport-fit=cover" />
|
|
6
|
-
<title>Shire</title>
|
|
7
|
-
<link rel="preconnect" href="https://fonts.googleapis.com" />
|
|
8
|
-
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
|
|
9
|
-
<link href="https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&display=swap" rel="stylesheet" />
|
|
10
|
-
<link rel="stylesheet" href="/app.css" />
|
|
11
|
-
</head>
|
|
12
|
-
<body class="bg-background text-foreground antialiased">
|
|
13
|
-
<div id="root"></div>
|
|
14
|
-
<script type="module" src="/main.js"></script>
|
|
15
|
-
</body>
|
|
16
|
-
</html>
|