@overlordai/server 1.0.41 → 1.0.42
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 +2 -2
- package/public/assets/AccessTokensPage-bSuzjk3Y.js +1 -0
- package/public/assets/{AdminPage-B8Yq8GnM.js → AdminPage-CWuaOv13.js} +1 -1
- package/public/assets/{ApiReferencePage-DZDCJQI4.js → ApiReferencePage-DzvO8t7S.js} +1 -1
- package/public/assets/{AuditLogPage-MoCRMzqP.js → AuditLogPage-DN8yUTwT.js} +1 -1
- package/public/assets/{BotManage-CVWwoYy3.js → BotManage-FsGWv-Cs.js} +1 -1
- package/public/assets/{CliReferencePage-DVB7E2Jv.js → CliReferencePage-Dr4YTU9I.js} +1 -1
- package/public/assets/{DeveloperManage-BtO-lkvD.js → DeveloperManage-NVw4KyvZ.js} +1 -1
- package/public/assets/{EditProjectPage-Bl2LyAeT.js → EditProjectPage-Ypprcu5c.js} +1 -1
- package/public/assets/{EmptyState-Bvs1SJo_.js → EmptyState-D_O928BP.js} +1 -1
- package/public/assets/HomePage-B2OxK5xj.js +1 -0
- package/public/assets/{LandingPage-COmKh2PR.js → LandingPage-BKxZn7u-.js} +1 -1
- package/public/assets/{LoginPage-DFIy5_AG.js → LoginPage-D1iYDj3x.js} +1 -1
- package/public/assets/MachineDetailPage-B8kl4br1.js +1 -0
- package/public/assets/MachineListPage-Cdhs5E6Q.js +6 -0
- package/public/assets/{NotFoundPage-BqLQpkaf.js → NotFoundPage-8NSuGh0w.js} +1 -1
- package/public/assets/{PipelineEditorPage-CyOhoLwR.js → PipelineEditorPage-Dvw7waws.js} +1 -1
- package/public/assets/{ProfilePage-D8UfMNDf.js → ProfilePage-fbqb6M9W.js} +1 -1
- package/public/assets/{ProjectDetailPage-8DxQkhBt.js → ProjectDetailPage-C8_CaJ4q.js} +1 -1
- package/public/assets/{ProjectListPage-Dwcp60o1.js → ProjectListPage-Bo9irGl7.js} +2 -2
- package/public/assets/{QuickAuth-CWpVD-8o.js → QuickAuth-BVu5F4-Z.js} +1 -1
- package/public/assets/{RemoveMemberConfirmDialog-DQ3dXuC6.js → RemoveMemberConfirmDialog-VXTWA_wn.js} +1 -1
- package/public/assets/{Select-GhXJ5uKF.js → Select-D1rjtzkM.js} +1 -1
- package/public/assets/{SettingsPage-DDsctH7X.js → SettingsPage-BYx5zcQ4.js} +1 -1
- package/public/assets/{Skeleton-CSAb9g25.js → Skeleton-JjetbQBe.js} +1 -1
- package/public/assets/{SkillPage-CtZTtfF8.js → SkillPage-W3D0XriB.js} +1 -1
- package/public/assets/{TaskDetailPage-CgT_txYn.js → TaskDetailPage-Cj8c16k5.js} +7 -7
- package/public/assets/TaskListPage-zOvt0-cZ.js +1 -0
- package/public/assets/{TaskStatusBadge-yxoaV45g.js → TaskStatusBadge-4uLJX_Vd.js} +1 -1
- package/public/assets/{TokenManage-DWk-4hAE.js → TokenManage-B8Ib-gxA.js} +1 -1
- package/public/assets/{TotpSetupPage-C3IixO0t.js → TotpSetupPage-DFyQKciF.js} +1 -1
- package/public/assets/{WorkerSetupGuidePage-CuXz1Cp5.js → WorkerSetupGuidePage-LUifUcBd.js} +1 -1
- package/public/assets/{arrow-left-tpTJv4kJ.js → arrow-left-CR5jvFjP.js} +1 -1
- package/public/assets/{arrow-right-DpePBWE7.js → arrow-right-Bo1TJaJG.js} +1 -1
- package/public/assets/{bot-BChGjdPm.js → bot-DxFLx72V.js} +1 -1
- package/public/assets/{chevron-right-B-JssgBf.js → chevron-right-VfZqXu3w.js} +1 -1
- package/public/assets/{copy-MDuQXvvx.js → copy-xV3w7rMd.js} +1 -1
- package/public/assets/{external-link-ExQuyXwZ.js → external-link-YMd0b2Hu.js} +1 -1
- package/public/assets/{index-CtAu_XZ5.js → index-_asV5ZlD.js} +3 -3
- package/public/assets/{key-Cix4k6UI.js → key-Bq5CCd4F.js} +1 -1
- package/public/assets/{loader-circle-COcLl-bl.js → loader-circle-B9QqvZqZ.js} +1 -1
- package/public/assets/{pencil-KZjOYmxG.js → pencil-DbvawD2W.js} +1 -1
- package/public/assets/{plus-B1SMCBOe.js → plus-DHhiUFNm.js} +1 -1
- package/public/assets/{rotate-ccw-DpBJ4jZw.js → rotate-ccw-Chvhmlkh.js} +1 -1
- package/public/assets/{scroll-text-CrlR_VG0.js → scroll-text-C6gAM7YD.js} +1 -1
- package/public/assets/{settings-H-4c0_mh.js → settings-B50SrjPV.js} +1 -1
- package/public/assets/{task.store-ATNoa4p7.js → task.store-DyE-1EPm.js} +1 -1
- package/public/assets/{trash-2-BzT2LBkf.js → trash-2-DFZZLvex.js} +1 -1
- package/public/assets/{users-BsLS_-Dg.js → users-CP0hBaq4.js} +1 -1
- package/public/index.html +1 -1
- package/public/assets/AccessTokensPage-DuICKFJy.js +0 -1
- package/public/assets/HomePage-BSubk1iR.js +0 -1
- package/public/assets/MachineDetailPage-BLOhWYiw.js +0 -1
- package/public/assets/MachineListPage-CIqrEM7O.js +0 -6
- package/public/assets/TaskListPage-D_tZ75c7.js +0 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import{c as L,a as E,r as a,j as e,f as z,d as D,h as R}from"./index-
|
|
1
|
+
import{c as L,a as E,r as a,j as e,f as z,d as D,h as R}from"./index-_asV5ZlD.js";import{G as h,A as b}from"./protocol-C5uQmiiB.js";import{S as F}from"./Select-D1rjtzkM.js";import{E as G}from"./EmptyState-D_O928BP.js";import{T as I}from"./Skeleton-JjetbQBe.js";import{P as H}from"./plus-DHhiUFNm.js";/**
|
|
2
2
|
* @license lucide-react v0.469.0 - ISC
|
|
3
3
|
*
|
|
4
4
|
* This source code is licensed under the ISC license.
|
|
5
5
|
* See the LICENSE file in the root directory of this source tree.
|
|
6
|
-
*/const O=L("FolderOpen",[["path",{d:"m6 14 1.5-2.9A2 2 0 0 1 9.24 10H20a2 2 0 0 1 1.94 2.5l-1.54 6a2 2 0 0 1-1.95 1.5H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H18a2 2 0 0 1 2 2v2",key:"usdka0"}]]),v={width:"100%",padding:"0.5rem 0.75rem",backgroundColor:"var(--bg-input)",border:"1px solid var(--border)",borderRadius:"4px",color:"var(--text-primary)",fontSize:"0.75rem",fontFamily:"'JetBrains Mono', monospace",outline:"none",boxSizing:"border-box"},p={display:"block",color:"var(--text-secondary)",fontSize:"0.7rem",marginBottom:"0.25rem",fontFamily:"'JetBrains Mono', monospace"};function J({isOpen:
|
|
6
|
+
*/const O=L("FolderOpen",[["path",{d:"m6 14 1.5-2.9A2 2 0 0 1 9.24 10H20a2 2 0 0 1 1.94 2.5l-1.54 6a2 2 0 0 1-1.95 1.5H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H18a2 2 0 0 1 2 2v2",key:"usdka0"}]]),v={width:"100%",padding:"0.5rem 0.75rem",backgroundColor:"var(--bg-input)",border:"1px solid var(--border)",borderRadius:"4px",color:"var(--text-primary)",fontSize:"0.75rem",fontFamily:"'JetBrains Mono', monospace",outline:"none",boxSizing:"border-box"},p={display:"block",color:"var(--text-secondary)",fontSize:"0.7rem",marginBottom:"0.25rem",fontFamily:"'JetBrains Mono', monospace"};function J({isOpen:c,onClose:s,onCreated:u}){const{t:r}=E(),[n,l]=a.useState(""),[d,x]=a.useState(""),[i,g]=a.useState(""),[o,f]=a.useState(""),[m,S]=a.useState("main"),[k,N]=a.useState(h.GITHUB),[B,T]=a.useState(b.CLAUDE),[j,w]=a.useState(!1),[U,C]=a.useState("");a.useEffect(()=>{c&&A()},[c]);function A(){l(""),x(""),g(""),f(""),S("main"),N(h.GITHUB),T(b.CLAUDE),C("")}function _(){A(),s()}async function M(t){t.preventDefault(),C(""),w(!0);try{const y=await z.post("admin/projects",{json:{name:n,key:d,repoUrl:i,sshUrl:o||void 0,defaultBranch:m,gitPlatform:k,agentType:B}}).json();u(y),_()}catch(y){const P=y instanceof Error?y.message:r("projects.failed_to_create_project");C(P)}finally{w(!1)}}return c?e.jsx("div",{onClick:_,style:{position:"fixed",inset:0,zIndex:50,display:"flex",alignItems:"center",justifyContent:"center",backgroundColor:"var(--modal-backdrop, rgba(12,12,12,0.6))"},children:e.jsxs("div",{onClick:t=>t.stopPropagation(),style:{width:"100%",maxWidth:"480px",backgroundColor:"var(--bg-card)",border:"1px solid var(--border)",borderRadius:"4px",padding:"1.5rem",fontFamily:"'JetBrains Mono', monospace"},children:[e.jsxs("div",{style:{marginBottom:"1.25rem"},children:[e.jsxs("div",{style:{color:"var(--accent)",fontSize:"0.875rem",fontWeight:600},children:["> ",r("projects.create_project")]}),e.jsx("div",{style:{color:"var(--text-muted)",fontSize:"0.7rem",marginTop:"0.25rem"},children:r("projects.add_project_desc")})]}),U&&e.jsx("div",{style:{marginBottom:"1rem",padding:"0.5rem 0.75rem",borderRadius:"4px",backgroundColor:"rgba(239, 68, 68, 0.1)",border:"1px solid rgba(239, 68, 68, 0.3)",color:"var(--destructive)",fontSize:"0.7rem"},children:U}),e.jsxs("form",{onSubmit:M,style:{display:"flex",flexDirection:"column",gap:"0.875rem"},children:[e.jsxs("div",{children:[e.jsx("label",{style:p,children:r("projects.project_name")}),e.jsx("input",{type:"text",value:n,onChange:t=>l(t.target.value),placeholder:r("projects.project_name_placeholder"),required:!0,autoFocus:!0,style:v,onFocus:t=>t.target.style.borderColor="var(--accent)",onBlur:t=>t.target.style.borderColor="var(--border)"})]}),e.jsxs("div",{children:[e.jsx("label",{style:p,children:r("projects.project_key")}),e.jsx("input",{type:"text",value:d,onChange:t=>x(t.target.value.toLowerCase().replace(/[^a-z0-9-]/g,"")),placeholder:r("projects.project_key_placeholder"),required:!0,style:v,onFocus:t=>t.target.style.borderColor="var(--accent)",onBlur:t=>t.target.style.borderColor="var(--border)"}),e.jsx("div",{style:{color:"var(--text-muted)",fontSize:"0.65rem",marginTop:"0.25rem"},children:r("projects.project_key_hint")})]}),e.jsxs("div",{children:[e.jsx("label",{style:p,children:r("projects.repo_url")}),e.jsx("input",{type:"text",value:i,onChange:t=>g(t.target.value),placeholder:r("projects.repo_url_placeholder"),required:!0,style:v,onFocus:t=>t.target.style.borderColor="var(--accent)",onBlur:t=>t.target.style.borderColor="var(--border)"})]}),e.jsxs("div",{children:[e.jsx("label",{style:p,children:r("projects.ssh_url")}),e.jsx("input",{type:"text",value:o,onChange:t=>f(t.target.value),placeholder:r("projects.ssh_url_placeholder"),style:v,onFocus:t=>t.target.style.borderColor="var(--accent)",onBlur:t=>t.target.style.borderColor="var(--border)"}),e.jsx("div",{style:{color:"var(--text-muted)",fontSize:"0.65rem",marginTop:"0.25rem"},children:r("projects.ssh_url_hint")})]}),e.jsxs("div",{style:{display:"grid",gridTemplateColumns:"1fr 1fr 1fr",gap:"0.75rem"},children:[e.jsxs("div",{children:[e.jsx("label",{style:p,children:r("projects.default_branch")}),e.jsx("input",{type:"text",value:m,onChange:t=>S(t.target.value),placeholder:r("projects.main"),style:v,onFocus:t=>t.target.style.borderColor="var(--accent)",onBlur:t=>t.target.style.borderColor="var(--border)"})]}),e.jsxs("div",{children:[e.jsx("label",{style:p,children:r("projects.git_platform")}),e.jsx(F,{value:k,onChange:t=>N(t),options:[{value:h.GITHUB,label:r("projects.github")},{value:h.GITLAB,label:r("projects.gitlab")},{value:h.GITEA,label:r("projects.gitea")}]})]}),e.jsxs("div",{children:[e.jsx("label",{style:p,children:r("projects.agent_type")}),e.jsx(F,{value:B,onChange:t=>T(t),options:[{value:b.CLAUDE,label:r("projects.claude")},{value:b.CURSOR,label:r("projects.cursor")},{value:b.CODEX,label:r("projects.codex")},{value:b.CUSTOM,label:r("projects.custom")}]})]})]}),e.jsxs("div",{style:{display:"flex",gap:"0.75rem",marginTop:"0.5rem"},children:[e.jsx("button",{type:"button",onClick:_,disabled:j,style:{flex:1,padding:"0.5rem",backgroundColor:"transparent",border:"1px solid var(--border)",borderRadius:"4px",fontSize:"0.75rem",fontFamily:"'JetBrains Mono', monospace",cursor:"pointer",transition:"color 0.15s, border-color 0.15s"},className:"text-[var(--text-muted)] hover:text-[var(--text-primary)] hover:border-[var(--text-muted)]",children:r("common.cancel")}),e.jsx("button",{type:"submit",disabled:j||!n||!d||!i,style:{flex:1,padding:"0.5rem",backgroundColor:"var(--accent)",color:"#0C0C0C",border:"none",borderRadius:"4px",fontSize:"0.75rem",fontWeight:600,fontFamily:"'JetBrains Mono', monospace",cursor:j||!n||!d||!i?"not-allowed":"pointer",opacity:j||!n||!d||!i?.7:1},children:r(j?"common.creating":"common.create")})]})]})]})}):null}function $(c){if(!c)return"-";const s=new Date(c).getTime();if(Number.isNaN(s))return"-";const u=Date.now()-s,r=Math.floor(u/1e3);if(r<60)return`${r}s ago`;const n=Math.floor(r/60);if(n<60)return`${n}m ago`;const l=Math.floor(n/60);return l<24?`${l}h ago`:`${Math.floor(l/24)}d ago`}function Y(){const c=D(),{t:s}=E(),[u,r]=a.useState([]),[n,l]=a.useState(!0),[d,x]=a.useState(!1);R(a.useMemo(()=>e.jsxs("button",{onClick:()=>x(!0),className:"flex items-center gap-1.5 rounded-[4px] bg-[var(--accent)] px-3 py-1.5 text-xs font-medium text-black",children:[e.jsx(H,{className:"h-3.5 w-3.5"}),s("projects.create_project")]}),[s]));async function i(){l(!0);try{const o=await z.get("web/projects").json();r(o)}catch{}finally{l(!1)}}a.useEffect(()=>{i()},[]);function g(o){i()}return e.jsxs("div",{className:"mx-auto max-w-5xl px-6 py-8",children:[n?e.jsx("div",{className:"rounded-[4px] border border-[var(--border)] bg-[var(--bg-card)] p-4",children:e.jsx(I,{rows:4})}):u.length===0?e.jsx(G,{icon:O,title:s("projects.no_projects_yet"),description:s("projects.create_first_project"),actionLabel:s("projects.create_project"),onAction:()=>x(!0)}):e.jsxs("div",{className:"rounded-[4px] border border-[var(--border)] bg-[var(--bg-card)]",children:[e.jsxs("div",{className:"grid grid-cols-[36px_90px_1fr_120px_60px_80px] gap-3 border-b border-[var(--border-row)] px-4 py-2.5 text-xs font-medium text-[var(--text-muted)]",children:[e.jsx("span",{children:"#"}),e.jsx("span",{children:s("projects.key")}),e.jsx("span",{children:s("projects.name")}),e.jsx("span",{children:s("projects.members")}),e.jsx("span",{children:s("projects.tasks_count")}),e.jsx("span",{children:s("projects.last_activity")})]}),u.map((o,f)=>e.jsxs("div",{onClick:()=>c(`/projects/${o.key}`),className:"grid cursor-pointer grid-cols-[36px_90px_1fr_120px_60px_80px] gap-3 border-b border-[var(--border-row)] px-4 py-3 last:border-b-0 hover:bg-[var(--bg-input)] transition-colors items-center",children:[e.jsx("span",{className:"text-xs text-[var(--text-muted)]",children:f+1}),e.jsx("span",{className:"truncate text-xs text-[var(--accent)]",children:o.key}),e.jsxs("div",{className:"min-w-0",children:[e.jsx("span",{className:"block truncate text-xs text-[var(--text-primary)]",children:o.name}),e.jsxs("span",{className:"block truncate text-[10px] text-[var(--text-muted)]",children:[o.agentType," · ",o.repoUrl.replace(/^https?:\/\//,"").split("/").slice(-2).join("/")]})]}),e.jsx("div",{className:"flex items-center",children:e.jsxs("div",{className:"flex -space-x-1.5",children:[(o.members??[]).map(m=>e.jsx("div",{className:"flex h-6 w-6 items-center justify-center rounded-full border-2 border-[var(--bg-card)] bg-[var(--accent)]/20 text-[9px] font-bold text-[var(--accent)]",title:m.name,children:m.name.charAt(0).toUpperCase()},m.id)),(o.memberCount??0)>5&&e.jsxs("div",{className:"flex h-6 w-6 items-center justify-center rounded-full border-2 border-[var(--bg-card)] bg-[var(--bg-input)] text-[9px] text-[var(--text-muted)]",children:["+",o.memberCount-5]})]})}),e.jsx("span",{className:"text-xs text-[var(--text-secondary)]",children:o.taskCount??0}),e.jsx("span",{className:"text-[10px] text-[var(--text-muted)]",children:$(o.lastActivity??null)})]},o.key))]}),e.jsx(J,{isOpen:d,onClose:()=>x(!1),onCreated:g})]})}export{Y as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as b,r as s,f as h,j as e,C as v}from"./index-
|
|
1
|
+
import{a as b,r as s,f as h,j as e,C as v}from"./index-_asV5ZlD.js";import{C as f}from"./copy-xV3w7rMd.js";function k({mode:l}){const{t:o}=b(),[n,d]=s.useState([]),[x,c]=s.useState(null),[u,i]=s.useState(!1);s.useEffect(()=>{h.get("web/profile/tokens").json().then(t=>{const r=t.filter(m=>m.status==="active");d(r),r.length>0&&c(r[0].id)}).catch(()=>{})},[]);const a=l==="cli"?"ov login --token <your-token>":'curl -H "authorization: bearer <your-token>" http://localhost:9000/api/web/tasks',p=s.useCallback(()=>{navigator.clipboard.writeText(a),i(!0),setTimeout(()=>i(!1),2e3)},[a]);return n.length===0?null:e.jsxs("div",{className:"mb-8 rounded-[4px] border border-[var(--accent)]/20 bg-[var(--bg-card)] p-4",children:[e.jsxs("div",{className:"mb-3 flex items-center justify-between",children:[e.jsx("p",{className:"text-xs text-[var(--text-muted)]",children:o("docs.quick_start_with_token")}),e.jsx("select",{value:x??"",onChange:t=>c(Number(t.target.value)),className:"rounded-[4px] border border-[var(--border)] bg-[var(--bg-primary)] px-2 py-1 text-xs text-[var(--text-primary)]",children:n.map(t=>e.jsx("option",{value:t.id,children:t.label},t.id))})]}),e.jsxs("div",{className:"flex items-center justify-between gap-2 rounded-[4px] bg-[var(--bg-primary)] px-3 py-2",children:[e.jsx("code",{className:"text-xs text-[var(--accent)] break-all",children:a}),e.jsx("button",{onClick:p,className:"shrink-0 text-[var(--text-muted)] hover:text-[var(--text-primary)] transition-colors",children:u?e.jsx(v,{size:14}):e.jsx(f,{size:14})})]}),e.jsx("p",{className:"mt-2 text-[10px] text-[var(--text-muted)]",children:o("docs.replace_token_hint")})]})}export{k as Q};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{c as w,a as _,r as s,j as e,X as R,f as g,l as C}from"./index-
|
|
1
|
+
import{c as w,a as _,r as s,j as e,X as R,f as g,l as C}from"./index-_asV5ZlD.js";import{P as l}from"./protocol-C5uQmiiB.js";import{S as N}from"./Select-D1rjtzkM.js";/**
|
|
2
2
|
* @license lucide-react v0.469.0 - ISC
|
|
3
3
|
*
|
|
4
4
|
* This source code is licensed under the ISC license.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{j as e}from"./index-
|
|
1
|
+
import{j as e}from"./index-_asV5ZlD.js";const n="rounded-[4px] bg-[var(--border)] animate-pulse";function c({rows:r=5}){const a=[[60,200,80,120],[60,160,100,80],[60,220,70,140],[60,180,90,100],[60,190,110,90]];return e.jsx("div",{className:"flex flex-col gap-3",children:Array.from({length:r}).map((s,l)=>{const t=a[l%a.length];return e.jsx("div",{className:"flex gap-4",children:t.map((i,o)=>e.jsx("div",{className:n,style:{width:i,height:12}},o))},l)})})}function m({cards:r=4}){return e.jsx("div",{className:"grid grid-cols-2 gap-3",children:Array.from({length:r}).map((a,s)=>e.jsx("div",{className:`${n} h-20`},s))})}export{m as C,c as T};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as c,j as e,r as n,C as o}from"./index-
|
|
1
|
+
import{a as c,j as e,r as n,C as o}from"./index-_asV5ZlD.js";import{E as i}from"./external-link-YMd0b2Hu.js";import{C as d}from"./copy-xV3w7rMd.js";function a({text:t}){const[s,r]=n.useState(!1);return e.jsx("button",{onClick:async()=>{await navigator.clipboard.writeText(t),r(!0),setTimeout(()=>r(!1),2e3)},className:"rounded-[4px] p-1 text-[var(--text-muted)] transition-colors hover:text-[var(--text-primary)]",children:s?e.jsx(o,{className:"h-3 w-3 text-[var(--accent)]"}):e.jsx(d,{className:"h-3 w-3"})})}function x({text:t}){return e.jsxs("div",{className:"flex items-center justify-between rounded-[4px] bg-[var(--bg-primary)] px-3 py-2",children:[e.jsx("code",{className:"text-xs text-[var(--accent)]",children:t}),e.jsx(a,{text:t})]})}const l=[{action:"create tasks",desc:"describe what you want done, overlord dispatches to a worker"},{action:"list & monitor tasks",desc:"check status, read execution logs, track progress"},{action:"cancel & retry tasks",desc:"manage task lifecycle"},{action:"confirm pipeline stages",desc:"approve or provide input for suspended stages"},{action:"manage projects",desc:"list projects, view members"},{action:"check cluster health",desc:"see machine status, online workers, queue depth"},{action:"search",desc:"find tasks, projects, and machines by keyword"},{action:"read notifications",desc:"check and clear your notification inbox"}],m=['create a task in project "frontend" to fix the login page styling',"what tasks are running right now?","show me the logs for task 42","how many machines are online?","cancel task 15"],p=[{name:"claude code",url:"https://claude.com/claude-code"},{name:"cursor",url:"https://cursor.com"},{name:"windsurf",url:"https://windsurf.com"},{name:"codex",url:"https://openai.com/codex"}];function b(){c();const t=typeof window<"u"?window.location.origin:"https://your-server";return e.jsxs("div",{className:"mx-auto max-w-4xl px-6 py-8 font-mono lowercase",children:[e.jsx("div",{className:"mb-8",children:e.jsx("p",{className:"text-xs text-[var(--text-muted)]",children:"// use overlord from your ai coding assistant — claude code, cursor, windsurf, codex, and more. install the skill and your assistant can create tasks, monitor execution, and manage your fleet."})}),e.jsxs("div",{className:"mb-8 rounded-[4px] border border-[var(--border)] bg-[var(--bg-card)] p-4 space-y-3",children:[e.jsx("p",{className:"text-xs text-[var(--text-muted)]",children:"// install"}),e.jsx(x,{text:"npx skills add overlord-run/skill"})]}),e.jsxs("div",{className:"mb-8 rounded-[4px] border border-[var(--border)] bg-[var(--bg-card)] p-4 space-y-3",children:[e.jsx("p",{className:"text-xs text-[var(--text-muted)]",children:"// configure — set these environment variables"}),e.jsxs("div",{className:"space-y-1.5",children:[e.jsxs("div",{className:"flex items-center justify-between rounded-[4px] bg-[var(--bg-primary)] px-3 py-2",children:[e.jsxs("code",{className:"text-xs text-[var(--text-primary)]",children:[e.jsx("span",{className:"text-[var(--text-muted)]",children:"export "}),"OVERLORD_SERVER=",e.jsx("span",{className:"text-[var(--accent)]",children:t})]}),e.jsx(a,{text:`export OVERLORD_SERVER=${t}`})]}),e.jsxs("div",{className:"flex items-center justify-between rounded-[4px] bg-[var(--bg-primary)] px-3 py-2",children:[e.jsxs("code",{className:"text-xs text-[var(--text-primary)]",children:[e.jsx("span",{className:"text-[var(--text-muted)]",children:"export "}),"OVERLORD_TOKEN=",e.jsx("span",{className:"text-[var(--text-secondary)]",children:"your-token"})]}),e.jsx(a,{text:"export OVERLORD_TOKEN=your-token"})]})]}),e.jsxs("p",{className:"text-[10px] text-[var(--text-muted)]",children:["// create a token at ",e.jsx("a",{href:"/access-tokens",className:"text-[var(--accent)] hover:underline",children:"/access-tokens"})]})]}),e.jsxs("div",{className:"mb-8",children:[e.jsx("h2",{className:"mb-4 text-sm text-[var(--accent)]",children:"> capabilities"}),e.jsx("div",{className:"space-y-2",children:l.map(s=>e.jsxs("div",{className:"flex items-start gap-3 rounded-[4px] border border-[var(--border)] bg-[var(--bg-card)] px-4 py-3",children:[e.jsx("span",{className:"shrink-0 text-xs font-medium text-[var(--text-primary)]",children:s.action}),e.jsxs("span",{className:"text-xs text-[var(--text-muted)]",children:["// ",s.desc]})]},s.action))})]}),e.jsxs("div",{className:"mb-8",children:[e.jsx("h2",{className:"mb-4 text-sm text-[var(--accent)]",children:"> example usage"}),e.jsxs("div",{className:"rounded-[4px] border border-[var(--border)] bg-[var(--bg-card)] p-4 space-y-2",children:[e.jsx("p",{className:"mb-3 text-xs text-[var(--text-muted)]",children:"// just ask your ai agent naturally"}),m.map(s=>e.jsx("div",{className:"rounded-[4px] bg-[var(--bg-primary)] px-3 py-2",children:e.jsxs("code",{className:"text-xs text-[var(--text-secondary)]",children:[e.jsx("span",{className:"text-[var(--accent)]",children:"> "}),s]})},s))]})]}),e.jsxs("div",{className:"mb-8",children:[e.jsx("h2",{className:"mb-4 text-sm text-[var(--accent)]",children:"> compatible tools"}),e.jsx("div",{className:"grid grid-cols-2 gap-2 sm:grid-cols-4",children:p.map(s=>e.jsxs("a",{href:s.url,target:"_blank",rel:"noopener noreferrer",className:"flex items-center justify-center gap-1.5 rounded-[4px] border border-[var(--border)] bg-[var(--bg-card)] px-3 py-2.5 text-xs text-[var(--text-primary)] transition-colors hover:border-[var(--accent)]",children:[s.name,e.jsx(i,{className:"h-3 w-3 text-[var(--text-muted)]"})]},s.name))}),e.jsx("p",{className:"mt-2 text-[10px] text-[var(--text-muted)]",children:"// and any ai coding assistant that supports the skills protocol"})]}),e.jsx("div",{className:"rounded-[4px] border border-[var(--border)] bg-[var(--bg-card)] p-4",children:e.jsxs("p",{className:"text-xs text-[var(--text-muted)]",children:["// open source:"," ",e.jsx("a",{href:"https://github.com/overlord-run/skill",target:"_blank",rel:"noopener noreferrer",className:"text-[var(--accent)] hover:underline",children:"github.com/overlord-run/skill"})]})})]})}export{b as default};
|