1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[931],{8210:function(e,t,r){Promise.resolve().then(r.bind(r,4259)),Promise.resolve().then(r.bind(r,7574)),Promise.resolve().then(r.bind(r,1201)),Promise.resolve().then(r.bind(r,705)),Promise.resolve().then(r.bind(r,6774)),Promise.resolve().then(r.bind(r,297)),Promise.resolve().then(r.bind(r,5937)),Promise.resolve().then(r.bind(r,1112)),Promise.resolve().then(r.bind(r,3686)),Promise.resolve().then(r.bind(r,4842))},4259:function(e,t,r){"use strict";r.d(t,{default:function(){return h}});var s=r(7437),n=r(6097),o=r(5443);let i="rgba(255,255,255,0.85)",a="rgba(255,255,255,0.5)",l="rgba(255,255,255,0.28)",c="rgba(16,185,129,0.9)";function d(e){let{id:t}=e;return(0,s.jsxs)("defs",{children:[(0,s.jsxs)("linearGradient",{id:"".concat(t,"-chrome"),x1:"0",y1:"0",x2:"0",y2:"1",children:[(0,s.jsx)("stop",{offset:"0%",stopColor:"rgba(255,255,255,0.16)"}),(0,s.jsx)("stop",{offset:"50%",stopColor:"rgba(255,255,255,0.04)"}),(0,s.jsx)("stop",{offset:"100%",stopColor:"rgba(0,0,0,0.35)"})]}),(0,s.jsxs)("linearGradient",{id:"".concat(t,"-chrome-hi"),x1:"0",y1:"0",x2:"0",y2:"1",children:[(0,s.jsx)("stop",{offset:"0%",stopColor:"rgba(255,255,255,0.32)"}),(0,s.jsx)("stop",{offset:"50%",stopColor:"rgba(255,255,255,0.08)"}),(0,s.jsx)("stop",{offset:"100%",stopColor:"rgba(0,0,0,0.4)"})]}),(0,s.jsxs)("radialGradient",{id:"".concat(t,"-ok"),children:[(0,s.jsx)("stop",{offset:"0%",stopColor:"rgba(16,185,129,0.9)"}),(0,s.jsx)("stop",{offset:"70%",stopColor:"rgba(16,185,129,0.3)"}),(0,s.jsx)("stop",{offset:"100%",stopColor:"rgba(16,185,129,0)"})]}),(0,s.jsxs)("filter",{id:"".concat(t,"-lift"),x:"-20%",y:"-20%",width:"140%",height:"180%",children:[(0,s.jsx)("feGaussianBlur",{in:"SourceAlpha",stdDeviation:"2"}),(0,s.jsx)("feOffset",{dx:"0",dy:"2",result:"off"}),(0,s.jsx)("feComponentTransfer",{in:"off",result:"sh",children:(0,s.jsx)("feFuncA",{type:"linear",slope:"0.45"})}),(0,s.jsxs)("feMerge",{children:[(0,s.jsx)("feMergeNode",{in:"sh"}),(0,s.jsx)("feMergeNode",{in:"SourceGraphic"})]})]})]})}let x=[{label:"AGENT MESH",title:"A nervous system for agents.",body:"Every agent talks through a cue bus. No middleware, no polling. Outcomes flow, the mesh forms itself.",scene:(0,s.jsx)(function(){let e=[{x:36,y:22},{x:204,y:22},{x:36,y:78},{x:204,y:78}];return(0,s.jsxs)("svg",{viewBox:"0 0 240 100",className:"w-full h-auto",fill:"none","aria-hidden":!0,children:[(0,s.jsx)(d,{id:"mh"}),e.map((e,t)=>(0,s.jsxs)("g",{children:[(0,s.jsx)("line",{x1:e.x,y1:e.y,x2:120,y2:50,stroke:a,strokeWidth:"1",strokeDasharray:"2 3"}),(0,s.jsx)("circle",{cx:(e.x+120)/2,cy:(e.y+50)/2,r:"2.4",fill:"url(#".concat("mh","-ok)")})]},t)),(0,s.jsxs)("g",{filter:"url(#".concat("mh","-lift)"),children:[(0,s.jsx)("polygon",{points:"".concat(108,",").concat(36," ").concat(132,",").concat(36," ").concat(140,",").concat(50," ").concat(132,",").concat(64," ").concat(108,",").concat(64," ").concat(100,",").concat(50),fill:"url(#".concat("mh","-chrome-hi)"),stroke:i,strokeWidth:"1.4"}),(0,s.jsx)("circle",{cx:120,cy:50,r:"3",fill:i})]}),e.map((e,t)=>(0,s.jsxs)("g",{filter:"url(#".concat("mh","-lift)"),children:[(0,s.jsx)("rect",{x:e.x-28,y:e.y-10,width:"56",height:"20",rx:"4",fill:"url(#".concat("mh","-chrome)"),stroke:a,strokeWidth:"1"}),(0,s.jsx)("circle",{cx:e.x-18,cy:e.y,r:"2",fill:i}),(0,s.jsx)("rect",{x:e.x-12,y:e.y-2,width:"30",height:"2",rx:"1",fill:a}),(0,s.jsx)("rect",{x:e.x-12,y:e.y+1,width:"20",height:"2",rx:"1",fill:l})]},"a-".concat(t)))]})},{}),span:"md:col-span-4"},{label:"CI / CD",title:"Commit to prod, with proof.",body:"Push fires tests. Build fires deploy. Every stage leaves evidence, not just a green check.",scene:(0,s.jsx)(function(){return(0,s.jsxs)("svg",{viewBox:"0 0 240 100",className:"w-full h-auto",fill:"none","aria-hidden":!0,children:[(0,s.jsx)(d,{id:"ci"}),(0,s.jsx)("g",{filter:"url(#".concat("ci","-lift)"),children:(0,s.jsx)("rect",{x:"60",y:"10",width:"120",height:"84",rx:"4",fill:"url(#".concat("ci","-chrome)"),stroke:a,strokeWidth:"1"})}),(0,s.jsx)("rect",{x:"60",y:"10",width:"120",height:"16",rx:"4",fill:"rgba(255,255,255,0.05)"}),(0,s.jsx)("circle",{cx:"74",cy:"18",r:"3",fill:i}),(0,s.jsx)("rect",{x:"84",y:"16",width:"60",height:"4",rx:"1",fill:a}),[38,54,70,86].map(e=>(0,s.jsxs)("g",{children:[(0,s.jsx)("circle",{cx:"74",cy:e,r:"4.5",fill:"rgba(16,185,129,0.18)",stroke:c,strokeWidth:"1.2"}),(0,s.jsx)("polyline",{points:"71,".concat(e," 73,").concat(e+2," 77,").concat(e-2),stroke:c,strokeWidth:"1.4",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"}),(0,s.jsx)("rect",{x:"86",y:e-2,width:"80",height:"4",rx:"1",fill:a})]},e))]})},{}),span:"md:col-span-2"},{label:"CONTENT MACHINES",title:"Research. Draft. Edit. Ship.",body:"One agent researches. Another drafts. An editor polishes. A publisher fans out. Every revision recorded.",scene:(0,s.jsx)(function(){let e=e=>{let{x:t,y:r,polish:n}=e;
1return(0,s.jsxs)("g",{filter:"url(#".concat("ct","-lift)"),children:[(0,s.jsx)("rect",{x:t,y:r,width:78,height:64,rx:4,fill:"url(#".concat("ct","-chrome").concat(2===n?"-hi":"",")"),stroke:2===n?i:l,strokeWidth:2===n?1.2:1}),[10,20,30,40].map((e,o)=>{let c=0===n?o%2?40:60:1===n?58:62;return(0,s.jsxs)("g",{children:[(0,s.jsx)("rect",{x:t+8,y:r+e,width:c,height:2,rx:1,fill:2===n?i:1===n?a:l}),0===n&&1===o&&(0,s.jsx)("line",{x1:t+8,y1:r+e+1,x2:t+8+c,y2:r+e+1,stroke:l,strokeWidth:"1"})]},o)}),2===n&&(0,s.jsxs)("g",{transform:"translate(".concat(t+60,", ").concat(r+52,")"),children:[(0,s.jsx)("circle",{cx:"0",cy:"0",r:"7",fill:"rgba(16,185,129,0.18)",stroke:c,strokeWidth:"1.2"}),(0,s.jsx)("polyline",{points:"-3,0 -1,2 3,-2",stroke:c,strokeWidth:"1.6",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"})]})]})};return(0,s.jsxs)("svg",{viewBox:"0 0 240 100",className:"w-full h-auto",fill:"none","aria-hidden":!0,children:[(0,s.jsx)(d,{id:"ct"}),(0,s.jsx)(e,{x:20,y:22,polish:0}),(0,s.jsx)(e,{x:70,y:18,polish:1}),(0,s.jsx)(e,{x:120,y:14,polish:2})]})},{}),span:"md:col-span-3"},{label:"CREATIVE STACKS",title:"Image, audio, video. One take.",body:"Brief fires every creative agent in parallel. Image, voice, edit work their tracks. Output assembles itself.",scene:(0,s.jsx)(function(){return(0,s.jsxs)("svg",{viewBox:"0 0 240 100",className:"w-full h-auto",fill:"none","aria-hidden":!0,children:[(0,s.jsx)(d,{id:"cr"}),[0,1,2,3,4,5].map(e=>(0,s.jsx)("rect",{x:24+22*e,y:18,width:18,height:12,rx:1,fill:"url(#".concat("cr","-chrome)"),stroke:l,strokeWidth:"0.8"},"img-".concat(e))),(0,s.jsx)("polyline",{points:"24,50 30,46 36,54 42,42 48,54 54,46 60,52 66,44 72,54 78,46 84,52 90,44 96,54 102,46 108,52 114,48 120,54 126,46 132,52 138,44 144,54 150,46 156,52",stroke:i,strokeWidth:"1.2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"}),[0,1,2,3,4,5].map(e=>(0,s.jsxs)("g",{children:[(0,s.jsx)("rect",{x:24+22*e,y:72,width:18,height:12,rx:1,fill:"url(#".concat("cr","-chrome)"),stroke:l,strokeWidth:"0.8"}),(0,s.jsx)("polygon",{points:"".concat(30+22*e,",76 ").concat(36+22*e,",78 ").concat(30+22*e,",80"),fill:a})]},"vid-".concat(e))),(0,s.jsx)("path",{d:"M 160 24 Q 188 50 200 50",stroke:i,strokeWidth:"1",fill:"none"}),(0,s.jsx)("path",{d:"M 160 50 L 198 50",stroke:i,strokeWidth:"1",fill:"none"}),(0,s.jsx)("path",{d:"M 160 78 Q 188 50 200 50",stroke:i,strokeWidth:"1",fill:"none"}),(0,s.jsx)("polyline",{points:"194,46 200,50 194,54",stroke:i,strokeWidth:"1.2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"}),(0,s.jsxs)("g",{filter:"url(#".concat("cr","-lift)"),children:[(0,s.jsx)("rect",{x:"202",y:"34",width:"32",height:"32",rx:"3",fill:"url(#".concat("cr","-chrome-hi)"),stroke:i,strokeWidth:"1.2"}),(0,s.jsx)("polygon",{points:"212,44 222,50 212,56",fill:i})]})]})},{}),span:"md:col-span-3"},{label:"SOFTWARE PRODUCTION",title:"Spec in. Ship out.",body:"Claude codes from the spec. Argus tests. Passing code ships and reports back.",scene:(0,s.jsx)(function(){return(0,s.jsxs)("svg",{viewBox:"0 0 240 100",className:"w-full h-auto",fill:"none","aria-hidden":!0,children:[(0,s.jsx)(d,{id:"sw"}),(0,s.jsx)("g",{filter:"url(#".concat("sw","-lift)"),children:(0,s.jsx)("rect",{x:"14",y:"22",width:"58",height:"56",rx:"3",fill:"url(#".concat("sw","-chrome)"),stroke:a,strokeWidth:"1"})}),[32,42,52,62].map((e,t)=>(0,s.jsx)("rect",{x:"22",y:e,width:3===t?30:42,height:"3",rx:"1",fill:a},e)),(0,s.jsx)("line",{x1:"74",y1:"50",x2:"104",y2:"50",stroke:a,strokeWidth:"1",strokeDasharray:"2 2"}),(0,s.jsxs)("g",{transform:"translate(120, 50)",children:[(0,s.jsx)("circle",{r:"18",fill:"url(#".concat("sw","-chrome-hi)"),stroke:i,strokeWidth:"1.3"}),(0,s.jsx)("circle",{r:"6",fill:"rgba(0,0,0,0.5)",stroke:i,strokeWidth:"1"}),Array.from({length:8}).map((e,t)=>{let r=t*Math.PI/4,n=18*Math.cos(r),o=18*Math.sin(r),a=22*Math.cos(r),l=22*Math.sin(r);return(0,s.jsx)("line",{x1:n,y1:o,x2:a,y2:l,stroke:i,strokeWidth:"1.2",strokeLinecap:"round"},t)})]}),(0,s.jsx)("line",{x1:"144",y1:"50",x2:"170",y2:"50",stroke:a,strokeWidth:"1",strokeDasharray:"2 2"}
1),(0,s.jsxs)("g",{filter:"url(#".concat("sw","-lift)"),children:[(0,s.jsx)("rect",{x:"172",y:"32",width:"52",height:"36",rx:"3",fill:"url(#".concat("sw","-chrome-hi)"),stroke:i,strokeWidth:"1.3"}),(0,s.jsx)("line",{x1:"198",y1:"32",x2:"198",y2:"68",stroke:l,strokeWidth:"1"}),(0,s.jsx)("line",{x1:"172",y1:"50",x2:"224",y2:"50",stroke:l,strokeWidth:"1"})]}),(0,s.jsx)("circle",{cx:"220",cy:"32",r:"6",fill:"rgba(16,185,129,0.2)",stroke:c,strokeWidth:"1.2"}),(0,s.jsx)("polyline",{points:"217,32 219,34 223,30",stroke:c,strokeWidth:"1.5",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"})]})},{}),span:"md:col-span-2"},{label:"AGENT FACTORY",title:"Agents that build agents.",body:"One agent writes the next. A tester runs it against a suite. A deployer puts it live. Your factory floor, on cue.",scene:(0,s.jsx)(function(){return(0,s.jsxs)("svg",{viewBox:"0 0 240 100",className:"w-full h-auto",fill:"none","aria-hidden":!0,children:[(0,s.jsx)(d,{id:"af"}),(0,s.jsxs)("g",{filter:"url(#".concat("af","-lift)"),children:[(0,s.jsx)("rect",{x:"14",y:"28",width:"64",height:"44",rx:"6",fill:"url(#".concat("af","-chrome-hi)"),stroke:i,strokeWidth:"1.4"}),(0,s.jsx)("circle",{cx:"46",cy:"50",r:"4",fill:i}),(0,s.jsx)("circle",{cx:"46",cy:"50",r:"9",fill:"none",stroke:i,strokeWidth:"1",opacity:"0.4"})]}),[20,50,80].map((e,t)=>(0,s.jsxs)("g",{children:[(0,s.jsx)("line",{x1:"80",y1:"50",x2:"154",y2:e,stroke:i,strokeWidth:"1",strokeDasharray:"3 2",opacity:"0.7"}),(0,s.jsx)("circle",{cx:117,cy:(50+e)/2,r:"3",fill:"url(#".concat("af","-ok)")}),(0,s.jsxs)("g",{filter:"url(#".concat("af","-lift)"),children:[(0,s.jsx)("rect",{x:"156",y:e-10,width:"60",height:"20",rx:"4",fill:"url(#".concat("af","-chrome)"),stroke:a,strokeWidth:"1"}),(0,s.jsx)("circle",{cx:"165",cy:e,r:"2",fill:i}),(0,s.jsx)("rect",{x:"172",y:e-2,width:"36",height:"2",rx:"1",fill:a}),(0,s.jsx)("rect",{x:"172",y:e+1,width:"26",height:"2",rx:"1",fill:l})]})]},t))]})},{}),span:"md:col-span-4"}];function u(e){let{card:t}=e,r=(0,o.G)();return(0,s.jsxs)("div",{ref:r,className:"card-3d p-5 md:p-6 h-full flex flex-col will-change-transform",style:{transition:"transform 300ms ease-out, box-shadow 300ms ease"},children:[(0,s.jsx)("span",{className:"font-mono text-[10px] text-foreground/40 tracking-[0.18em] mb-4",children:t.label}),(0,s.jsx)("div",{className:"flex-1 flex items-center justify-center py-2 mb-4 min-h-[100px] max-h-[180px]",children:(0,s.jsx)("div",{className:"w-full max-h-full [&>svg]:max-h-[160px] [&>svg]:w-full [&>svg]:h-auto",children:t.scene})}),(0,s.jsx)("h3",{className:"font-archivo font-black text-[17px] md:text-lg text-foreground leading-snug mb-2",children:t.title}),(0,s.jsx)("p",{className:"font-archivo text-[13px] text-foreground/55 leading-snug",children:t.body})]})}function h(){return(0,s.jsx)("section",{id:"why-cueapi",className:"py-12 md:py-16",children:(0,s.jsxs)("div",{className:"mx-auto max-w-7xl px-6 md:px-12",children:[(0,s.jsxs)(n.Z,{children:[(0,s.jsx)("p",{className:"font-mono text-[10px] text-foreground/30 tracking-[0.2em] uppercase mb-3",children:"IN THE WILD"}),(0,s.jsx)("h2",{className:"font-archivo font-black text-3xl md:text-[44px] leading-[0.95] tracking-[-0.02em] text-foreground mb-3 max-w-3xl",children:"The shapes cues take."}),(0,s.jsx)("p",{className:"font-archivo text-base text-foreground/50 max-w-2xl mb-8 md:mb-10",children:"Content machines. Build pipelines. Creative stacks. Agent factories. Cross-agent meshes. Same primitive underneath, six different chains on top."})]}),(0,s.jsx)("div",{className:"grid grid-cols-1 md:grid-cols-6 gap-4 auto-rows-fr",style:{perspective:"1200px"},children:x.map((e,t)=>(0,s.jsx)("div",{className:e.span,children:(0,s.jsx)(n.Z,{children:(0,s.jsx)(u,{card:e})})},t))})]})})}},7574:function(e,t,r){"use strict";r.d(t,{default:function(){return m}});var s=r(7437),n=r(2265),o=r(6097),i=r(5661);let a=[{label:"cURL",language:"bash",lines:[{text:"# Create a cue",style:"syn-comment"},{text:"curl -X POST https://api.cueapi.ai/v1/cues \\",style:"syn-flag"},{text:' -H "Authorization: Bearer cue_sk_..." \\',style:"syn-string"},{text:' -H "Content-Type: application/json" \\',style:"syn-string"},{text:" -d '{",style:"syn-punct"},{text:' "name": "morning-analytics",',style:""},{text:' "schedule": {',style:"syn-punct"},{text:' "type": "recurring",',style:""},{text:' "cron": "0 9 * * *",',style:""},{text:' "timezone": "America/Los_Angeles"',style:""},{text:" },",style:"syn-punct"},{text:' "callback": {"url": "https://my-agent.com/webhook"},',style:""},{text:' "payload": {"task": "pull-dashboard"}',style:""},{text:" }'",style:"syn-punct"},{text:"",style:""},{text:"# 201 Created",style:"syn-comment"},{text:'{"id": "cue_x7k9m2p4q8w1", "status": "active"}',style:"syn-output"}]},{label:"Python",language:"python",lines:[{text:"from cueapi import CueAPI",style:"syn-keyword"},{text:"",style:""},{text:'client = CueAPI("cue_sk_...")',style:"syn-value"},{text:"",style:""},{text:"# Schedule the agent",style:"syn-comment"},{text:"cue = client.cues.create(",style:"syn-value"},{text:' name="morning-analytics",',style:"syn-string"},{text:' cron="0 9 * * *",',style:"syn-string"},{text:' timezone="America/Los_Angeles",',style:"syn-string"},{text:' callback="https://my-agent.com/webhook",',style:"syn-string"},{text:' payload={"task": "pull-dashboard"}',style:"syn-string"}
1,{text:")",style:"syn-value"},{text:"",style:""},{text:"# Report outcome with evidence",style:"syn-comment"},{text:"client.executions.report_outcome(",style:"syn-value"},{text:' execution_id="exec_abc123",',style:"syn-string"},{text:" success=True,",style:"syn-value"},{text:' external_id="report:20260324",',style:"syn-string"},{text:' result_type="report"',style:"syn-string"},{text:")",style:"syn-value"}]},{label:"TypeScript",language:"typescript",lines:[{text:"import { CueAPIClient } from '@cueapi/client'",style:"syn-keyword"},{text:"",style:""},{text:"const cue = new CueAPIClient({ apiKey: process.env.CUEAPI_API_KEY! })",style:"syn-value"},{text:"",style:""},{text:"// Chain: when staging-verify verifies, it fires ship-prod",style:"syn-comment"},{text:"await cue.cues.create({",style:"syn-value"},{text:" name: 'staging-verify',",style:"syn-string"},{text:" schedule: { type: 'recurring', cron: '0 * * * *' },",style:"syn-string"},{text:" transport: 'worker',",style:"syn-string"},{text:" verification: { mode: 'require_external_id',",style:"syn-string"},{text:" required_assertions: ['passRate', 'testCount'] },",style:"syn-string"},{text:" on_success_fire: 'cue_ship_prod',",style:"syn-string"},{text:"})",style:"syn-value"},{text:"",style:""},{text:"// Worker reports with evidence + computational claims",style:"syn-comment"},{text:"await cue.executions.reportOutcome(execId, {",style:"syn-value"},{text:" success: true,",style:"syn-value"},{text:" external_id: 'run-8f2a1',",style:"syn-string"},{text:" assertions: { passRate: 1.0, testCount: 247 },",style:"syn-string"},{text:"})",style:"syn-value"}]},{label:"MCP",language:"json",lines:[{text:"// claude_desktop_config.json",style:"syn-comment"},{text:"{",style:"syn-punct"},{text:' "mcpServers": {',style:""},{text:' "cueapi": {',style:""},{text:' "command": "npx",',style:"syn-string"},{text:' "args": ["-y", "@cueapi/mcp"],',style:"syn-string"},{text:' "env": {',style:""},{text:' "CUEAPI_API_KEY": "cue_sk_..."',style:"syn-string"},{text:" }",style:""},{text:" }",style:""},{text:" }",style:""},{text:"}",style:"syn-punct"},{text:"",style:""},{text:"// Agent now has 8 tools: create cue, list cues,",style:"syn-comment"},{text:"// pause, resume, delete, list executions, report",style:"syn-comment"},{text:"// outcome with evidence",style:"syn-comment"}]},{label:"Self-host",language:"bash",lines:[{text:"# Clone and run",style:"syn-comment"},{text:"git clone https://github.com/cueapi/cueapi-core.git",style:"syn-flag"},{text:"cd cueapi-core && docker compose up -d",style:"syn-flag"},{text:"",style:""},{text:"# CueAPI running at http://localhost:8000",style:"syn-comment"},{text:"# API docs at http://localhost:8000/docs",style:"syn-comment"},{text:"# 600+ tests included",style:"syn-comment"},{text:"",style:""},{text:"# Register and create your first cue",style:"syn-comment"},{text:"curl -X POST http://localhost:8000/v1/auth/register \\",style:"syn-flag"},{text:' -H "Content-Type: application/json" \\',style:"syn-string"},{text:' -d \'{"email": "[email protected]"}\'',style:"syn-string"}]}];function l(){let[e,t]=(0,n.useState)(0);return(0,s.jsxs)("div",{className:"overflow-hidden rounded-xl border border-foreground
1/[0.1] bg-code-bg h-full flex flex-col",children:[(0,s.jsx)("div",{className:"relative flex overflow-x-auto border-b border-foreground/[0.06] bg-chrome-bg flex-shrink-0",children:a.map((r,n)=>(0,s.jsxs)("button",{type:"button",onClick:()=>t(n),className:"relative font-mono text-xs px-4 py-3 transition-colors whitespace-nowrap ".concat(e===n?"text-foreground":"text-foreground/40 hover:text-foreground/60"),children:[r.label,e===n&&(0,s.jsx)("span",{className:"absolute inset-x-0 bottom-0 h-[2px] bg-foreground"})]},r.label))}),(0,s.jsx)(c,{activeTab:e})]})}function c(e){let{activeTab:t}=e,r=a[t],o=(0,n.useMemo)(()=>r.lines.map(e=>e.text).join("\n"),[t]),l=(0,i.K)(o,t,!0,8),c=l.length>=o.length,d=[],x=l;for(let e of r.lines){if(x.length<=0){d.push("");continue}x.length>=e.text.length?(d.push(e.text),x=x.slice(e.text.length+1)):(d.push(x),x="")}return(0,s.jsx)("div",{className:"overflow-auto p-5 flex-1 min-h-[360px]",children:(0,s.jsx)("pre",{className:"font-mono text-[12.5px] leading-relaxed whitespace-pre",children:r.lines.map((e,r)=>{var n;let o=null!==(n=d[r])&&void 0!==n?n:"",i=!c&&o.length>0&&o.length<e.text.length;return(0,s.jsxs)("div",{className:e.style||"text-foreground/80",children:[o||"\xa0",i&&(0,s.jsx)("span",{className:"inline-block h-[1em] w-[7px] translate-y-[2px] animate-blink-cursor bg-foreground
1/60 ml-0.5"})]},"".concat(t,"-").concat(r))})})})}let d={quickstart:{name:"quickstart",lines:[{type:"cmd",text:"pip install cueapi",delay:400},{type:"out",text:"Successfully installed cueapi-0.1.1",delay:800},{type:"blank",text:"",delay:200},{type:"cmd",text:"cueapi login",delay:400},{type:"out",text:"Opening browser to authenticate...",delay:600},{type:"ok",text:"â Authenticated as [email protected]",delay:800},{type:"blank",text:"",delay:200},{type:"cmd",text:"cueapi quickstart",delay:400},{type:"out",text:"Creating test cue (fires in 15s)...",delay:600},{type:"ok",text:"â Delivered in 3.8s",delay:1200},{type:"ok",text:"Outcome: reported_success â",delay:600},{type:"final",text:"Your first coordination primitive is live.",delay:0}]},login:{name:"login",lines:[{type:"cmd",text:"cueapi login",delay:400},{type:"out",text:"Opening browser to authenticate...",delay:800},{type:"ok",text:"â Authenticated as [email protected]",delay:600},{type:"out",text:"API key saved to ~/.cueapi/credentials",delay:400},{type:"final",text:"Ready.",delay:0}]},create:{name:"create",lines:[{type:"cmd",text:'cueapi create --name "daily-report" \\',delay:200},{type:"out",text:' --cron "0 9 * * *" \\',delay:100},{type:"out",text:" --url https://my-agent.com/report",delay:400},{type:"json",text:"{",delay:100},{type:"json",text:' "cue_id": "cue_7f8a9b0c1d2e",',delay:80},{type:"json",text:' "next_fire": "2026-03-25T09:00:00-04:00",',delay:80},{type:"json",text:' "status": "active"',delay:80},{type:"json",text:"}",delay:0}]},list:{name:"list",lines:[{type:"cmd",text:"cueapi list",delay:400},{type:"out",text:"ID NAME SCHEDULE STATUS",delay:200},{type:"out",text:"cue_7f8a9b0c.. daily-report 0 9 * * * active",delay:100},{type:"out",text:"cue_3a4b5c6d.. health-check */15 * * * active",delay:100},{type:"out",text:"cue_9g0h1i2j.. data-sync 0 6 * * * active",delay:0}]},pause:{name:"pause",lines:[{type:"cmd",text:"cueapi pause cue_7f8a9b0c1d2e",delay:400},{type:"ok",text:"â Paused daily-report",delay:400},{type:"out",text:"Next fire recalculated on resume.",delay:0}]},usage:{name:"usage",lines:[{type:"cmd",text:"cueapi usage",delay:400},{type:"out",text:"Plan: Pro ($9.99/mo)",delay:200},{type:"out",text:"Active cues: 3 / 100",delay:100},{type:"out",text:"Executions: 1,247 / 5,000 (24.9%)",delay:0}]}},x=["login","quickstart","create","list","pause","usage"],u={cmd:"text-foreground/90 leading-[1.85]",out:"text-foreground/50 leading-[1.85]",ok:"text-foreground/80 leading-[1.85]",json:"text-foreground/50 pl-2 leading-[1.6]",final:"text-foreground/90 font-semibold mt-1 leading-[1.85]",blank:"h-3"};function h(){let[e,t]=(0,n.useState)("quickstart"),[r,o]=(0,n.useState)(0),[i,a]=(0,n.useState)(!1),[l,c]=(0,n.useState)(!1),h=(0,n.useRef)(null),m=(0,n.useRef)(null),f=d[e],p=(0,n.useCallback)(async()=>{if(i)return;a(!0),o(0);let t=d[e].lines;for(let e=0;e<t.length;e++)await new Promise(r=>setTimeout(r,t[e].delay)),o(e+1);a(!1)},[e,i]);(0,n.useEffect)(()=>{if(l)return;let e=h.current;if(!e)return;let t=new IntersectionObserver(e=>{let[r]=e;r.isIntersecting&&(c(!0),p(),t.disconnect())},{threshold:.3});return t.observe(e),()=>t.disconnect()},[l,p]),(0,n.useEffect)(()=>{m.current&&(m.current.scrollTop=m.current.scrollHeight)},[r]);let g=e=>{i||(t(e),o(0),setTimeout(()=>{a(!0);let t=d[e].lines,r=0,s=()=>{if(r>=t.length){a(!1);return}setTimeout(()=>{o(++r),s()},t[r].delay)};s()},100))};return(0,s.jsxs)("div",{ref:h,className:"flex flex-col h-full",children:[(0,s.jsxs)("div",{className:"rounded-xl overflow-hidden border border-foreground
1/[0.12] bg-background flex flex-col flex-1",children:[(0,s.jsxs)("div",{className:"flex items-center gap-2 px-4 py-3 border-b border-foreground/[0.06] bg-chrome-bg flex-shrink-0",children:[(0,s.jsx)("div",{className:"w-3 h-3 rounded-full bg-foreground/[0.15]"}),(0,s.jsx)("div",{className:"w-3 h-3 rounded-full bg-foreground/25"}),(0,s.jsx)("div",{className:"w-3 h-3 rounded-full bg-foreground/[0.35]"}),(0,s.jsx)("span",{className:"font-mono text-[11px] text-foreground/25 ml-2",children:"zsh"})]}),(0,s.jsxs)("div",{ref:m,className:"p-5 font-mono text-sm flex-1 min-h-[360px] overflow-hidden",children:[f.lines.slice(0,r).map((e,t)=>"blank"===e.type?(0,s.jsx)("div",{className:"h-3"},t):"cmd"===e.type?(0,s.jsxs)("div",{className:"".concat(u.cmd," animate-[hero-fade_0.3s_ease_forwards]"),children:[(0,s.jsx)("span",{className:"text-foreground/[0.35]",children:"$ "}),e.text]},t):(0,s.jsx)("div",{className:"".concat(u[e.type]," animate-[hero-fade_0.3s_ease_forwards]"),children:e.text},t)),!i&&r>0&&(0,s.jsxs)("div",{className:"mt-1",children:[(0,s.jsx)("span",{className:"text-foreground/[0.35]",children:"$ "}),(0,s.jsx)("span",{className:"inline-block h-4 w-[7px] translate-y-[2px] animate-blink-cursor bg-foreground
1/60"})]})]})]}),(0,s.jsx)("div",{className:"flex flex-wrap gap-2 mt-4",children:x.map(t=>(0,s.jsxs)("button",{onClick:()=>g(t),disabled:i,className:"font-mono text-[10px] border rounded-md px-3 py-1.5 transition-all ".concat(e===t?"bg-foreground/[0.08] border-foreground/[0.2] text-foreground/70":"bg-foreground/[0.03] border-foreground/[0.06] text-foreground/30 hover:text-foreground/50 hover:border-foreground/[0.12]"," ").concat(i?"opacity-50 cursor-not-allowed":""),children:["cueapi ",t]},t))})]})}function m(){return(0,s.jsx)("section",{id:"code",className:"py-20 md:py-28",children:(0,s.jsxs)("div",{className:"mx-auto max-w-7xl px-6 md:px-12",children:[(0,s.jsxs)(o.Z,{children:[(0,s.jsx)("p",{className:"font-mono text-[10px] text-foreground/30 tracking-[0.2em] uppercase mb-4",children:"CODE & CLI"}),(0,s.jsx)("h2",{className:"font-archivo font-black text-3xl md:text-[44px] leading-[0.95] tracking-[-0.02em] text-foreground mb-3 max-w-3xl",children:"Five minutes from install to first cue."}),(0,s.jsx)("p",{className:"font-archivo text-base text-foreground/50 max-w-2xl mb-10 md:mb-12",children:"Any language on the left. Any shell on the right. Pick your surface."})]}),(0,s.jsxs)("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-5",children:[(0,s.jsx)(o.Z,{children:(0,s.jsx)(l,{})}),(0,s.jsx)(o.Z,{children:(0,s.jsx)(h,{})})]})]})})}},1201:function(e,t,r){"use strict";r.d(t,{F:function(){return i},default:function(){return a}});var s=r(7437),n=r(2265);let o=null;function i(){null==o||o()}function a(){let[e,t]=(0,n.useState)(!1),r=(0,n.useCallback)(()=>{t(!0)},[]);return(0,n.useEffect)(()=>(o=r,()=>{o=null}),[r]),(0,n.useEffect)(()=>{if(!e)return;let r=setTimeout(()=>t(!1),3e3);return()=>clearTimeout(r)},[e]),(0,s.jsx)("div",{className:"fixed left-0 right-0 top-0 z-[60] flex justify-center transition-all duration-300 ".concat(e?"translate-y-0 opacity-100":"-translate-y-full opacity-0 pointer-events-none"),children:(0,s.jsx)("div",{className:"mt-[68px] rounded-b-lg border border-t-0 border-white/[0.1] bg-black/90 px-5 py-2.5 backdrop-blur-xl",children:(0,s.jsx)("p",{className:"font-mono text-xs text-foreground/60",children:"Paste it in your chat with your agent"})})})}},705:function(e,t,r){"use strict";r.d(t,{default:function(){return x}});var s=r(7437),n=r(6097),o=r(5443);let i="rgba(255,255,255,0.85)",a="rgba(255,255,255,0.55)",l="rgba(255,255,255,0.25)",c=[{stage:"INTENT",name:"Cue",body:"Schedule lives in CueAPI. Survives every restart and deploy.",moment:"before T = 0",example:"cron 0 9 * * *",glyph:(0,s.jsx)(function(){return(0,s.jsxs)("svg",{width:"48",height:"20",viewBox:"0 0 48 20",fill:"none","aria-hidden":!0,children:[(0,s.jsx)("line",{x1:"2",y1:"10",x2:"46",y2:"10",stroke:l,strokeWidth:"1",strokeDasharray:"2 2"}),[7,18,29,40].map(e=>(0,s.jsx)("circle",{cx:e,cy:"10",r:"2",fill:i},e))]})},{})},{stage:"FIRE",name:"Execution",body:"One row per firing. Status, attempts, outcome all attach here.",moment:"T = 09:00:00",example:"exec_a3f9b2c8",glyph:(0,s.jsx)(function(){return(0,s.jsxs)("svg",{width:"48",height:"20",viewBox:"0 0 48 20",fill:"none","aria-hidden":!0,children:[(0,s.jsx)("line",{x1:"2",y1:"10",x2:"46",y2:"10",stroke:l,strokeWidth:"1"}),(0,s.jsx)("circle",{cx:"24",cy:"10",r:"7",fill:"none",stroke:a,strokeWidth:"1"}),(0,s.jsx)("circle",{cx:"24",cy:"10",r:"3.5",fill:i})]})},{})},{stage:"REACH",name:"Worker",body:"Agent pulls its work. Reaches behind NAT, firewalls, laptops.",moment:"T = 09:00:02",example:"laptop, behind NAT",glyph:(0,s.jsx)(function(){return(0,s.jsxs)("svg",{width:"48",height:"20",viewBox:"0 0 48 20",fill:"none","aria-hidden":!0,children:[(0,s.jsx)("rect",{x:"2",y:"5",width:"10",height:"10",rx:"1.5",stroke:a,strokeWidth:"1.2"}),(0,s.jsx)("rect",{x:"36",y:"5",width:"10",height:"10",rx:"1.5",stroke:i,strokeWidth:"1.2"}),(0,s.jsx)("line",{x1:"35",y1:"10",x2:"14",y2:"10",stroke:i,strokeWidth:"1"}),(0,s.jsx)("polyline",{points:"17,7 13,10 17,13",stroke:i,strokeWidth:"1",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"})]})},{})}
1,{stage:"REPORT",name:"Outcome",body:"Handler POSTs back what happened. Closes the execution record.",moment:"T = 09:02:17",example:"success",glyph:(0,s.jsx)(function(){return(0,s.jsxs)("svg",{width:"48",height:"20",viewBox:"0 0 48 20",fill:"none","aria-hidden":!0,children:[(0,s.jsx)("rect",{x:"36",y:"5",width:"10",height:"10",rx:"1.5",stroke:a,strokeWidth:"1.2"}),(0,s.jsx)("line",{x1:"35",y1:"10",x2:"17",y2:"10",stroke:i,strokeWidth:"1"}),(0,s.jsx)("polyline",{points:"20,7 16,10 20,13",stroke:i,strokeWidth:"1",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"}),(0,s.jsx)("circle",{cx:"8",cy:"10",r:"4",fill:"none",stroke:i,strokeWidth:"1.2"}),(0,s.jsx)("polyline",{points:"6,10 7.5,11.5 10,8.5",stroke:i,strokeWidth:"1.3",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"})]})},{})},{stage:"PROVE",name:"Evidence",body:"Structured fields on the outcome. Verified against the cue rule.",moment:"T = 09:02:17",example:"github.com/org/repo/pull/42",glyph:(0,s.jsx)(function(){return(0,s.jsxs)("svg",{width:"48",height:"20",viewBox:"0 0 48 20",fill:"none","aria-hidden":!0,children:[[3,9,15].map(e=>(0,s.jsx)("rect",{x:"2",y:e,width:"24",height:"2",fill:a},e)),(0,s.jsx)("line",{x1:"27",y1:"10",x2:"32",y2:"10",stroke:l,strokeWidth:"1"}),(0,s.jsx)("circle",{cx:"39",cy:"10",r:"5",fill:"none",stroke:i,strokeWidth:"1.2"}),(0,s.jsx)("polyline",{points:"36.5,10 38.5,12 42,8",stroke:i,strokeWidth:"1.3",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"})]})},{})}];function d(e){let{p:t,index:r}=e,n=(0,o.G)();return(0,s.jsxs)("div",{className:"relative flex flex-col items-stretch",children:[(0,s.jsx)("span",{className:"font-mono text-[10px] text-foreground/40 tracking-[0.18em] uppercase mb-3 text-center lg:text-left",children:t.stage}),(0,s.jsx)("span",{"aria-hidden":!0,className:"hidden lg:block absolute left-1/2 -translate-x-1/2 top-[44px] z-10 w-2 h-2 rounded-full",style:{background:"radial-gradient(circle, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.5) 45%, rgba(255,255,255,0.08) 100%)",boxShadow:"0 0 8px rgba(255,255,255,0.25)"}}),(0,s.jsxs)("div",{ref:n,className:"card-border-sweep group relative rounded-xl p-6 h-full flex flex-col bg-background overflow-hidden will-change-transform",style:{transition:"transform 300ms ease-out, box-shadow 300ms ease"},children:[(0,s.jsxs)("div",{className:"flex items-center justify-between mb-6",children:[(0,s.jsx)("div",{className:"flex items-center",style:{minHeight:20},children:t.glyph}),(0,s.jsxs)("span",{className:"font-mono text-[10px] text-foreground/25 tracking-[0.12em]",children:["0",r+1]})]}),(0,s.jsx)("h3",{className:"font-archivo font-black text-xl text-foreground mb-3",children:t.name}),(0,s.jsx)("p",{className:"font-archivo text-[13px] text-foreground/55 leading-relaxed flex-1",children:t.body}),(0,s.jsxs)("div",{className:"mt-5 pt-4 border-t border-foreground
1/[0.08]",children:[(0,s.jsx)("span",{className:"font-mono text-[10px] text-foreground/25 tracking-[0.1em] block mb-1.5",children:"EXAMPLE"}),(0,s.jsx)("code",{className:"font-mono text-[11px] text-foreground/65 break-all",children:t.example})]})]}),(0,s.jsx)("span",{className:"font-mono text-[10px] text-foreground/35 tracking-[0.1em] mt-3 text-center lg:text-left",children:t.moment})]})}function x(){return(0,s.jsx)("section",{className:"py-24 md:py-32",children:(0,s.jsxs)("div",{className:"mx-auto max-w-7xl px-6 md:px-12",children:[(0,s.jsx)(n.Z,{children:(0,s.jsxs)("div",{className:"mb-14 md:mb-16",children:[(0,s.jsx)("p",{className:"font-mono text-[10px] text-foreground/30 tracking-[0.2em] uppercase mb-6",children:"THE PRIMITIVES"}),(0,s.jsx)("h2",{className:"font-archivo font-black text-3xl md:text-[52px] leading-[0.95] tracking-[-0.02em] text-foreground mb-4 max-w-3xl",children:"Five primitives. One journey."}),(0,s.jsx)("p",{className:"font-archivo text-lg text-foreground/50 max-w-2xl",children:"Every scheduled run passes through these five stages. Each primitive is one station on the rail."})]})}),(0,s.jsxs)("div",{className:"relative",style:{perspective:"1200px"},children:[(0,s.jsxs)("div",{"aria-hidden":!0,className:"hidden lg:block absolute left-0 right-0 pointer-events-none journey-rail",children:[(0,s.jsx)("div",{className:"h-px w-full",style:{background:"linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.12) 8%, rgba(255,255,255,0.18) 50%, rgba(255,255,255,0.12) 92%, rgba(255,255,255,0) 100%)"}}),(0,s.jsx)("div",{className:"relative h-px -mt-px overflow-hidden",children:(0,s.jsx)("div",{className:"absolute top-0 h-full w-[28%] journey-rail-shine",style:{background:"linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.6) 50%, transparent 100%)"}})})]}),(0,s.jsx)("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-5 gap-6 md:gap-5 relative",children:c.map((e,t)=>(0,s.jsx)(n.Z,{children:(0,s.jsx)(d,{p:e,index:t})},e.name))})]}),(0,s.jsx)(n.Z,{children:(0,s.jsx)("p",{className:"mt-12 md:mt-14 font-mono text-[11px] text-foreground/35 tracking-[0.08em] uppercase text-center lg:text-left",children:"One run. Five stations. No silence between."})})]})})}},6774:function(e,t,r){"use strict";r.d(t,{default:function(){return m}});var s=r(7437),n=r(2265),o=r(7648),i=r(401),a=r(8867);function l(e){let{words:t,glowWords:r,className:o}=e,i=(0,n.useRef)(null),a=(0,n.useRef)(null),l=(0,n.useRef)(null),c=(0,n.useRef)([]),d=(0,n.useRef)(!1),x=(0,n.useRef)(0),[u,h]=(0,n.useState)(!1);(0,n.useEffect)(()=>{let e=()=>h(window.innerWidth<640);return e(),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[]);let m=(0,n.useCallback)(()=>{if(!l.current)return"700 88px Archivo, sans-serif";let e=getComputedStyle(l.current),t=e.fontFamily,r=e.fontWeight||"700",s=window.innerWidth>=768?88:window.innerWidth>=640?72:32;return"".concat(r," ").concat(s,"px ").concat(t)},[]),f=(0,n.useCallback)(()=>{let e=i.current,r=a.current;if(!e||!r||u)return;let s=window.devicePixelRatio||1,n=r.getBoundingClientRect();e.width=n.width*s,e.height=n.height*s,e.style.width="".concat(n.width,"px"),e.style.height="".concat(n.height,"px");let o=e.getContext("2d");if(!o)return;o.setTransform(s,0,0,s,0,0);let l=m();o.font=l;let d=window.innerWidth>=768?88:window.innerWidth>=640?72:32,x=n.width-40,h=[[]],f=[0],g=0;for(let e of t){let t=o.measureText(e+" ").width;f[g]+t>x&&h[g].length>0&&(h[++g]=[],f[g]=0),h[g].push(e),f[g]=(f[g]||0)+t}let y=1.05*d,b=h.length*y,v=(n.height-b)/2+.8*d,j=[];for(let e=0;e<h.length;e++){let t=h[e].join(" "),r=o.measureText(t).width,s=(n.width-r)/2,i=v+e*y;for(let t=0;t<h[e].length;t++){let r=h[e][t];for(let e=0;e<r.length;e++){let t=r[e],n=o.measureText(t).width;j.push({char:t,baseX:s,baseY:i,targetX:s,targetY:i,currentX:s,currentY:i,vx:0,vy:0}),s+=n}if(t<h[e].length-1){let e=o.measureText(" ").width;j.push({char:" ",baseX:s,baseY:i,targetX:s,targetY:i,currentX:s,currentY:i,vx:0,vy:0}),s+=e}}}c.current=j,p()},[t,u,m]),p=(0,n.useCallback)(()=>{let e=i.current;if(!e)return;let t=e.getContext("2d");if(!t)return;let r=window.devicePixelRatio||1,s=e.width/r,n=e.height/r;for(let e of(t.setTransform(r,0,0,r,0,0),t.clearRect(0,0,s,n),t.font=m(),t.textBaseline="alphabetic",t.fillStyle="rgba(255,255,255,0.92)",c.current))t.fillText(e.char,e.currentX,e.currentY)},[m]),g=(0,n.useCallback)(()=>
1{if(x.current)return;let e=()=>{let t=0;for(let e of c.current){e.vx=(e.vx+(e.targetX-e.currentX)*.15)*.75,e.vy=(e.vy+(e.targetY-e.currentY)*.15)*.75,e.currentX+=e.vx,e.currentY+=e.vy;let r=Math.abs(e.vx)+Math.abs(e.vy);r>t&&(t=r)}p(),d.current||t>.01?x.current=requestAnimationFrame(e):x.current=0};x.current=requestAnimationFrame(e)},[p]);return((0,n.useEffect)(()=>{if(u)return;document.fonts.ready.then(()=>{f()}),window.addEventListener("resize",f);let e=i.current;if(!e)return;let t=t=>{let r=e.getBoundingClientRect(),s=t.clientX-r.left,n=t.clientY-r.top;for(let e of c.current){let t=e.baseX-s,r=e.baseY-n,o=Math.sqrt(t*t+r*r);if(o<80&&o>0){let s=(1-o/80)*6;e.targetX=e.baseX+t/o*s,e.targetY=e.baseY+r/o*s}else e.targetX=e.baseX,e.targetY=e.baseY}d.current=!0,g()},r=()=>{for(let e of c.current)e.targetX=e.baseX,e.targetY=e.baseY;d.current=!1,g()};return e.addEventListener("mousemove",t),e.addEventListener("mouseleave",r),()=>{x.current&&cancelAnimationFrame(x.current),x.current=0,e.removeEventListener("mousemove",t),e.removeEventListener("mouseleave",r),window.removeEventListener("resize",f)}},[u,f,g]),u)?(0,s.jsx)("h1",{className:o,children:t.map((e,n)=>(0,s.jsxs)("span",{children:[(0,s.jsx)("span",{className:"animate-split-up inline-block ".concat(r.has(e)?"hero-glow":""),style:{animationDelay:"".concat(400+80*n,"ms")},children:e}),"agents"===e&&(0,s.jsx)("br",{}),n<t.length-1&&"agents"!==e?" ":""]},n))}):(0,s.jsxs)("div",{ref:a,className:"relative",style:{minHeight:200},children:[(0,s.jsx)("canvas",{ref:i,className:"absolute inset-0 cursor-default"}),(0,s.jsx)("h1",{ref:l,className:"".concat(o," invisible"),children:t.join(" ")})]})}var c=r(1201),d=r(8713);let x=[{text:"# Your agent. On time. Every time.",color:"text-foreground/30"},{text:"curl -X POST https://api.cueapi.ai/v1/cues \\",color:"text-foreground/80"},{text:' -H "Authorization: Bearer cue_sk_..." \\',color:"text-foreground/50"},{text:' -H "Content-Type: application/json" \\',color:"text-foreground/50"},{text:' -d \'{"name":"morning-briefing",',color:"text-foreground/80"},{text:' "schedule":{"type":"recurring","cron":"0 9 * * *"},',color:"text-foreground/80"},{text:' "callback":{"url":"https://your.agent/run"}}\'',color:"text-foreground/80"},{text:"",color:""},{text:"# HTTP 200",color:"text-foreground/30"},{text:'{ "id": "cue_a3f9b2...", "status": "active" }',color:"text-green-400/70"}],u=["Coordination","infrastructure","for","agent","systems."],h=new Set(["infrastructure","agent","systems."]);function m(){let e=(0,n.useRef)(null),[t,r]=(0,n.useState)(!1),m=async()=>{await navigator.clipboard.writeText(d.q),r(!0),(0,c.F)(),setTimeout(()=>r(!1),2e3)};return(0,s.jsxs)("section",{ref:e,className:"relative min-h-screen flex items-center justify-center overflow-hidden pt-[120px] pb-12",children:[(0,s.jsxs)("div",{className:"pointer-events-none absolute inset-0 overflow-hidden",children:[(0,s.jsx)("div",{className:"absolute -top-32 -left-32 rounded-full bg-white animate-orb-drift",style:{width:500,height:500,opacity:.04,filter:"blur(100px)"}}),(0,s.jsx)("div",{className:"absolute -bottom-48 -right-48 rounded-full bg-white animate-orb-drift",style:{width:400,height:400,opacity:.03,filter:"blur(80px)",animationDelay:"-4s"}}),(0,s.jsx)("div",{className:"absolute top-1/3 left-1/2 rounded-full bg-white animate-orb-drift",style:{width:300,height:300,opacity:.035,filter:"blur(90px)",animationDelay:"-8s"}})]}),(0,s.jsxs)("div",{className:"relative z-10 mx-auto w-full max-w-7xl px-6 text-center",children:[(0,s.jsx)("div",{className:"animate-hero-fade",style:{animationDelay:"100ms"},children:(0,s.jsxs)("a",{href:"https://github.com/cueapi/cueapi-core",target:"_blank",rel:"noopener noreferrer",className:"relative overflow-hidden inline-flex items-center gap-2 font-mono text-[11px] text-foreground/40 tracking-[0.08em] border border-foreground
1/10 rounded-full px-4 py-1.5 hover:border-foreground/20 hover:text-foreground/60 transition-colors no-underline",children:[(0,s.jsx)("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"currentColor",className:"shrink-0",children:(0,s.jsx)("path",{d:"M12 0C5.37 0 0 5.37 0 12c0 5.31 3.435 9.795 8.205 11.385.6.105.825-.255.825-.57 0-.285-.015-1.23-.015-2.235-3.015.555-3.795-.735-4.035-1.41-.135-.345-.72-1.41-1.23-1.695-.42-.225-1.02-.78-.015-.795.945-.015 1.62.87 1.845 1.23 1.08 1.815 2.805 1.305 3.495.99.105-.78.42-1.305.765-1.605-2.67-.3-5.46-1.335-5.46-5.925 0-1.305.465-2.385 1.23-3.225-.12-.3-.54-1.53.12-3.18 0 0 1.005-.315 3.3 1.23.96-.27 1.98-.405 3-.405s2.04.135 3 .405c2.295-1.56 3.3-1.23 3.3-1.23.66 1.65.24 2.88.12 3.18.765.84 1.23 1.905 1.23 3.225 0 4.605-2.805 5.625-5.475 5.925.435.375.81 1.095.81 2.22 0 1.605-.015 2.895-.015 3.3 0 .315.225.69.825.57A12.02 12.02 0 0 0 24 12c0-6.63-5.37-12-12-12z"})}),"Open source on GitHub",(0,s.jsx)("span",{className:"absolute inset-0 pointer-events-none",style:{overflow:"hidden"},children:(0,s.jsx)("span",{className:"absolute top-0 left-0 w-[30%] h-full badge-shine",style:{background:"linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent)"}})})]})}),(0,s.jsx)("p",{className:"animate-hero-fade mt-6",style:{animationDelay:"200ms"},children:(0,s.jsxs)("code",{className:"font-mono text-[11px] tracking-[0.08em]",children:[(0,s.jsx)("span",{className:"text-foreground/25",children:"//"}),(0,s.jsx)("span",{className:"text-foreground/80",children:" Cloud. Laptop. Mac Mini. NAT. Same primitive."})]})}),(0,s.jsx)("div",{className:"mt-8",children:(0,s.jsx)(l,{words:u,glowWords:h,className:"text-[32px] sm:text-7xl md:text-[88px] font-bold tracking-[-0.03em] leading-[38px] sm:leading-[82px] md:leading-[100px]"})}),(0,s.jsxs)("p",{className:"animate-hero-fade mx-auto mt-6 max-w-2xl px-6 text-base sm:text-lg leading-relaxed text-foreground/55 text-center",style:{animationDelay:"900ms"},children:["Connect any step, task, job, or agent across any environment. ",(0,s.jsx)("span",{style:{whiteSpace:"nowrap"},children:"Every handoff verified."})]}),(0,s.jsxs)("div",{className:"animate-hero-fade mt-10 flex flex-col items-center justify-center gap-4 sm:flex-row",style:{animationDelay:"1100ms"},children:[(0,s.jsx)(o.default,{href:"https://dashboard.cueapi.ai/signup",className:"rounded-[7px] bg-foreground px-4 py-1.5 font-archivo font-medium text-[13px] text-background transition-all hover:scale-[1.02] hover:shadow-[0_0_20px_rgba(255,255,255,0.1)]",children:"Get API key free â"}),(0,s.jsx)("a",{href:"https://docs.cueapi.ai",className:"rounded-[7px] border border-foreground
1/[0.12] px-4 py-1.5 font-archivo font-medium text-[13px] text-foreground/50 transition-all hover:border-foreground/30 hover:text-foreground/80",children:"Read the docs â"}),(0,s.jsxs)("button",{onClick:m,className:"inline-flex items-center justify-center gap-1.5 rounded-[7px] border border-foreground/[0.12] px-4 py-1.5 font-archivo font-medium text-[13px] text-foreground/50 transition-all hover:border-foreground/30 hover:text-foreground/80",children:[t?(0,s.jsx)(i.Z,{size:13}):(0,s.jsx)(a.Z,{size:13}),t?"Copied":"Copy for agent"]})]}),(0,s.jsx)("div",{className:"animate-hero-fade mx-auto mt-16 w-full max-w-full md:max-w-2xl",style:{animationDelay:"1300ms"},children:(0,s.jsxs)("div",{className:"card-border-sweep overflow-hidden rounded-xl border border-white/[0.08] bg-code-bg shadow-[0_40px_80px_rgba(0,0,0,0.8)]",children:[(0,s.jsxs)("div",{className:"flex items-center gap-2 border-b border-white/[0.06] bg-chrome-bg px-4 py-3",children:[(0,s.jsx)("div",{className:"h-2.5 w-2.5 rounded-full bg-dot-1"}),(0,s.jsx)("div",{className:"h-2.5 w-2.5 rounded-full bg-dot-2"}),(0,s.jsx)("div",{className:"h-2.5 w-2.5 rounded-full bg-dot-3"}),(0,s.jsx)("span",{className:"ml-3 font-mono text-[11px] text-foreground/20",children:"terminal"})]}),(0,s.jsx)("div",{className:"overflow-x-auto p-5 text-left",children:(0,s.jsxs)("pre",{className:"font-mono text-[10px] leading-relaxed sm:text-sm whitespace-pre",children:[x.map((e,t)=>(0,s.jsx)("div",{className:e.color||"text-foreground/60",children:e.text||"\xa0"},t)),(0,s.jsx)("span",{className:"inline-block h-4 w-1.5 animate-blink-cursor bg-foreground
1/50"})]})})]})})]})]})}},297:function(e,t,r){"use strict";r.d(t,{default:function(){return l}});var s=r(7437),n=r(6097),o=r(6822),i=r(5443);function a(){let e=[{x:10,kind:"agent",primary:"CC",sub:"claude-code"},{x:200,kind:"cue",primary:"staging",sub:"verify"},{x:390,kind:"agent",primary:"ARG",sub:"argus worker"},{x:580,kind:"cue",primary:"ship",sub:"release"}],t=["outcome","execution","outcome"];return(0,s.jsxs)("svg",{viewBox:"0 0 720 220",className:"w-full h-auto","aria-hidden":!0,children:[(0,s.jsxs)("defs",{children:[(0,s.jsxs)("linearGradient",{id:"ht-agent",x1:"0",y1:"0",x2:"0",y2:"1",children:[(0,s.jsx)("stop",{offset:"0%",stopColor:"rgba(255,255,255,0.14)"}),(0,s.jsx)("stop",{offset:"50%",stopColor:"rgba(255,255,255,0.04)"}),(0,s.jsx)("stop",{offset:"100%",stopColor:"rgba(0,0,0,0.4)"})]}),(0,s.jsxs)("linearGradient",{id:"ht-cue",x1:"0",y1:"0",x2:"0",y2:"1",children:[(0,s.jsx)("stop",{offset:"0%",stopColor:"rgba(255,255,255,0.28)"}),(0,s.jsx)("stop",{offset:"50%",stopColor:"rgba(255,255,255,0.08)"}),(0,s.jsx)("stop",{offset:"100%",stopColor:"rgba(0,0,0,0.35)"})]}),(0,s.jsxs)("radialGradient",{id:"ht-ping",children:[(0,s.jsx)("stop",{offset:"0%",stopColor:"rgba(16,185,129,1)"}),(0,s.jsx)("stop",{offset:"60%",stopColor:"rgba(16,185,129,0.5)"}),(0,s.jsx)("stop",{offset:"100%",stopColor:"rgba(16,185,129,0)"})]}),(0,s.jsxs)("filter",{id:"ht-lift",x:"-20%",y:"-20%",width:"140%",height:"180%",children:[(0,s.jsx)("feGaussianBlur",{in:"SourceAlpha",stdDeviation:"3"}),(0,s.jsx)("feOffset",{dx:"0",dy:"4",result:"off"}),(0,s.jsx)("feComponentTransfer",{in:"off",result:"shadow",children:(0,s.jsx)("feFuncA",{type:"linear",slope:"0.55"})}),(0,s.jsxs)("feMerge",{children:[(0,s.jsx)("feMergeNode",{in:"shadow"}),(0,s.jsx)("feMergeNode",{in:"SourceGraphic"})]})]})]}),e.slice(0,-1).map((r,n)=>{let o=r.x+112+4,i=e[n+1].x-4;return(0,s.jsxs)("g",{children:[(0,s.jsx)("line",{x1:o,y1:110,x2:i,y2:110,stroke:"rgba(255,255,255,0.22)",strokeWidth:"1",strokeDasharray:"3 3"}),(0,s.jsx)("polyline",{points:"".concat(i-7,",").concat(106," ").concat(i,",").concat(110," ").concat(i-7,",").concat(114),stroke:"rgba(255,255,255,0.35)",strokeWidth:"1",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"}),(0,s.jsx)("text",{x:(o+i)/2,y:100,textAnchor:"middle",fontSize:"9",fill:"rgba(255,255,255,0.5)",letterSpacing:"1.4",fontFamily:"Archivo, sans-serif",children:t[n].toUpperCase()}),(0,s.jsxs)("circle",{r:"5",fill:"url(#ht-ping)",children:[(0,s.jsx)("animate",{attributeName:"cx",from:o,to:i,dur:"2.6s",begin:"".concat(.8*n,"s"),repeatCount:"indefinite"}),(0,s.jsx)("animate",{attributeName:"cy",values:"".concat(110,";").concat(110),dur:"2.6s",repeatCount:"indefinite"})]})]},"edge-".concat(n))}),e.map((e,t)=>{let r="cue"===e.kind,n=r?4:10;return(0,s.jsxs)("g",{filter:"url(#ht-lift)",children:[(0,s.jsx)("rect",{x:e.x,y:74,width:112,height:72,rx:n,fill:"url(#".concat(r?"ht-cue":"ht-agent",")"),stroke:r?"rgba(255,255,255,0.65)":"rgba(255,255,255,0.28)",strokeWidth:r?1.4:1}),(0,s.jsx)("rect",{x:e.x+1.5,y:75.5,width:109,height:69,rx:n-1,fill:"none",stroke:r?"rgba(255,255,255,0.18)":"rgba(255,255,255,0.05)",strokeWidth:"1"}),(0,s.jsx)("text",{x:e.x+56,y:66,textAnchor:"middle",fontSize:"9",fill:r?"rgba(255,255,255,0.75)":"rgba(255,255,255,0.4)",letterSpacing:"2",fontFamily:"Archivo, sans-serif",children:r?"CUE":"AGENT"}),(0,s.jsx)("text",{x:e.x+56,y:108,textAnchor:"middle",fontSize:r?16:22,fontWeight:"900",fill:"rgba(255,255,255,0.92)",fontFamily:"Archivo, sans-serif",children:e.primary}),(0,s.jsx)("text",{x:e.x+56,y:128,textAnchor:"middle",fontSize:"10",fill:"rgba(255,255,255,0.48)",fontFamily:"Archivo, sans-serif",children:e.sub})]},"node-".concat(t))}),(0,s.jsx)("text",{x:710,y:114,textAnchor:"end",fontSize:"20",fill:"rgba(255,255,255,0.3)",fontFamily:"Archivo, sans-serif",children:"â¦"})]})}function l(){let e=(0,i.G)();return(0,s.jsx)("section",{id:"how-it-works",className:"py-12 md:py-14",children:(0,s.jsxs)("div",{className:"mx-auto max-w-7xl px-6 md:px-12",children:[(0,s.jsxs)(n.Z,{children:[(0,s.jsx)("p",{className:"font-mono text-[10px] text-foreground
1/30 tracking-[0.2em] uppercase mb-3",children:"HOW IT WORKS"}),(0,s.jsx)("h2",{className:"font-archivo font-black text-3xl md:text-[40px] leading-[0.95] tracking-[-0.02em] text-foreground mb-2 max-w-3xl",children:"Agents coordinate through cues."}),(0,s.jsx)("p",{className:"font-archivo text-base text-foreground/50 max-w-2xl mb-6 md:mb-8",children:"One agent finishes. Its outcome fires the next cue. The next worker catches. No scheduler between them, no glue code, no polling."})]}),(0,s.jsx)("div",{style:{perspective:"1400px"},children:(0,s.jsx)(n.Z,{children:(0,s.jsx)("div",{ref:e,className:"card-border-sweep relative rounded-xl p-4 md:p-5 will-change-transform",style:{transition:"transform 300ms ease-out, box-shadow 300ms ease",background:"linear-gradient(180deg, rgba(255,255,255,0.025) 0%, rgba(255,255,255,0) 45%, rgba(0,0,0,0.25) 100%), hsl(var(--background))",boxShadow:"inset 0 1px 0 rgba(255,255,255,0.28), inset 0 -1px 0 rgba(0,0,0,0.45), inset 1px 0 0 rgba(255,255,255,0.06), inset -1px 0 0 rgba(0,0,0,0.35), 0 0 0 1px rgba(255,255,255,0.14), 0 20px 60px -24px rgba(0,0,0,0.7), 0 4px 14px -4px rgba(0,0,0,0.5)"},children:(0,s.jsxs)("div",{className:"grid grid-cols-1 lg:grid-cols-[minmax(0,1.2fr)_minmax(0,1fr)] gap-4 md:gap-5",children:[(0,s.jsxs)("div",{className:"rounded-lg p-4 md:p-5 flex flex-col",style:{background:"rgba(0,0,0,0.35)",boxShadow:"inset 0 0 0 1px rgba(255,255,255,0.06), inset 0 1px 0 rgba(255,255,255,0.04)"},children:[(0,s.jsxs)("div",{className:"flex items-center justify-between gap-2 mb-3",children:[(0,s.jsx)("span",{className:"font-mono text-[9px] text-foreground/40 tracking-[0.2em] uppercase",children:"Chain in action"}),(0,s.jsx)("span",{className:"font-archivo text-[11px] text-foreground/45",children:"Claude Code ships staging. Argus catches, tests, ships next."})]}),(0,s.jsx)("div",{className:"flex-1 flex items-center",children:(0,s.jsx)(a,{})})]}),(0,s.jsxs)("div",{className:"flex flex-col",children:[(0,s.jsxs)("div",{className:"flex items-center gap-2.5 mb-3 px-1",children:[(0,s.jsx)("span",{className:"inline-block h-1.5 w-1.5 rounded-full",style:{background:"#10b981",boxShadow:"0 0 8px rgba(16,185,129,0.7)"}}),(0,s.jsx)("span",{className:"font-mono text-[9px] text-foreground/40 tracking-[0.2em] uppercase",children:"Live chain. Agents passing the baton."})]}),(0,s.jsx)(o.default,{})]})]})})})})]})})}},6822:function(e,t,r){"use strict";r.d(t,{default:function(){return a}});var s=r(7437),n=r(2265);let o=[{name:"daily-standup-brief",status:"success",duration:"2.1s",message:"delivered"},{name:"invoice-processor",status:"retrying",attempt:"2/3",message:"retrying - backoff 5min"},{name:"sales-report-gen",status:"success",duration:"0.8s",message:"delivered"},{name:"db-backup-prod",status:"success",duration:"1.4s",message:"delivered"},{name:"fraud-detector",status:"exhausted",message:"all retries exhausted - alert sent"},{name:"lead-enrichment",status:"success",duration:"3.2s",message:"delivered"},{name:"content-publisher",status:"failure",message:"failed silently",isStory:!0,storyHighlight:"fail"},{name:"content-publisher",status:"retrying",attempt:"1/3",message:"retrying - backoff 1min",isStory:!0},{name:"content-publisher",status:"success",duration:"1.1s",message:"CueAPI caught it - delivered",isStory:!0,storyHighlight:"catch"},{name:"weekly-digest",status:"success",duration:"4.7s",message:"delivered"},{name:"uptime-monitor",status:"success",duration:"0.3s",message:"delivered"},{name:"model-fine-tune",status:"retrying",attempt:"3/3",message:"retrying - backoff 15min"}],i={success:{char:"â",color:"text-emerald-400"},delivered:{char:"â",color:"text-emerald-400"},failure:{char:"â",color:"text-red-400"},retrying:{char:"â»",color:"text-yellow-400",spin:!0},exhausted:{char:"â",color:"text-red-500"}};function a(){let[e,t]=(0,n.useState)([]),r=(0,n.useRef)(0),a=(0,n.useRef)(0),l=(0,n.useRef)(null),c=(0,n.useRef)(!0),d=(0,n.useCallback)(()=>{let e=o[a.current%o.length],s={...e,id:r.current++};t(e=>[...e,s].slice(-8)),a.current++;let n=o[a.current%o.length].isStory&&e.isStory?1040:2600;c.current&&(l.current=setTimeout(d,n))},[]);return(0,n.useEffect)(()=>{let e=[];for(let t=0;t<6;t++){let s=o[t%o.length];e.push({...s,id:r.current++}
1),a.current++}return t(e),l.current=setTimeout(d,2600),()=>{l.current&&clearTimeout(l.current)}},[d]),(0,n.useEffect)(()=>{let e=()=>{c.current="visible"===document.visibilityState,c.current&&!l.current&&(l.current=setTimeout(d,2600)),!c.current&&l.current&&(clearTimeout(l.current),l.current=null)};return document.addEventListener("visibilitychange",e),()=>document.removeEventListener("visibilitychange",e)},[d]),(0,s.jsx)("div",{children:(0,s.jsxs)("div",{className:"overflow-hidden rounded-xl",style:{background:"rgba(0,0,0,0.6)",border:"1px solid rgba(255,255,255,0.07)",boxShadow:"inset 0 0 0 1px rgba(255,255,255,0.03)"},children:[(0,s.jsxs)("div",{className:"flex items-center gap-2 px-4 py-3",style:{background:"rgba(255,255,255,0.03)",borderBottom:"1px solid rgba(255,255,255,0.06)"},children:[(0,s.jsx)("div",{className:"h-2.5 w-2.5 rounded-full bg-dot-1"}),(0,s.jsx)("div",{className:"h-2.5 w-2.5 rounded-full bg-dot-2"}),(0,s.jsx)("div",{className:"h-2.5 w-2.5 rounded-full bg-dot-3"}),(0,s.jsx)("span",{className:"ml-3 font-mono text-[11px] text-foreground/20",children:"executions"})]}),(0,s.jsx)("div",{className:"p-2 sm:p-3 font-mono text-[11px] sm:text-[13px] leading-relaxed",style:{minHeight:260},children:e.map(e=>(0,s.jsxs)("div",{className:"flex items-center gap-2 sm:gap-3 px-2 sm:px-3 py-1.5 rounded-md animate-feed-row-in transition-colors hover:bg-white/[0.02] ".concat("fail"===e.storyHighlight?"bg-red-500/[0.04]":"catch"===e.storyHighlight?"bg-emerald-400/[0.04]":""),children:[(0,s.jsx)("span",{className:"".concat(i[e.status].color," w-4 text-center shrink-0 ").concat(i[e.status].spin?"animate-spin":""," ").concat("fail"===e.storyHighlight?"animate-pulse":""),children:i[e.status].char}),(0,s.jsx)("span",{className:"shrink-0 ".concat("fail"===e.storyHighlight?"text-red-400/70":"catch"===e.storyHighlight?"text-emerald-400/80":"text-white/80"),children:e.name}),(0,s.jsx)("span",{className:"flex-1"}),e.duration&&(0,s.jsx)("span",{className:"text-white/40 text-[10px] sm:text-xs shrink-0",children:e.duration}),e.attempt&&(0,s.jsxs)("span",{className:"text-yellow-400/50 text-[10px] sm:text-xs shrink-0",children:["attempt ",e.attempt]}),(0,s.jsx)("span",{className:"text-[10px] sm:text-xs shrink-0 hidden sm:inline ".concat("fail"===e.storyHighlight?"text-red-400/60":"catch"===e.storyHighlight?"text-emerald-400/60":"text-white/30"),children:e.message})]},e.id))})]})})}},5937:function(e,t,r){"use strict";r.d(t,{default:function(){return m}});var s=r(7437),n=r(2265),o=r(9376),i=r(7648),a=r(401),l=r(8867),c=r(2489),d=r(8293),x=r(1201),u=r(8713);let h=[{label:"Thesis",href:"/thesis/"},{label:"Docs",href:"https://docs.cueapi.ai",external:!0},{label:"Blog",href:"https://blog.cueapi.ai/",external:!0},{label:"Pricing",href:"/pricing/"},{label:"Security",href:"/security/"},{label:"Support",href:"/support/"},{label:"CLI",href:"/#cli"}];function m(){let[e,t]=(0,n.useState)(!1),[r,m]=(0,n.useState)(!1),[f,p]=(0,n.useState)(!1),g=(0,o.usePathname)(),y=(0,o.useRouter)(),b="/agents"===g||"/agents/"===g;(0,n.useEffect)(()=>{let e=()=>p(window.scrollY>50);return window.addEventListener("scroll",e,{passive:!0}),()=>window.removeEventListener("scroll",e)},[]);let v=async()=>{await navigator.clipboard.writeText(u.q),m(!0),(0,x.F)(),setTimeout(()=>m(!1),2e3)};return(0,s.jsxs)("nav",{className:"fixed top-0 left-0 right-0 w-full z-[9998] backdrop-blur-md transition-all duration-300 ".concat(f?"border-b border-foreground
1/[0.04]":"border-b border-transparent"),style:{backgroundColor:f?"rgba(0,0,0,0.8)":"transparent"},children:[(0,s.jsxs)("div",{className:"mx-auto flex w-full max-w-7xl items-center justify-between px-4 sm:px-6 md:px-12",style:{height:f?46:58},children:[(0,s.jsx)(i.default,{href:"/",className:"flex items-center",children:(0,s.jsx)("img",{src:"/icons/logo-cueapi-wordmark-new.webp",alt:"CueAPI",className:"h-5 object-contain"})}),(0,s.jsxs)("div",{className:"hidden items-center gap-5 lg:flex ml-auto min-w-0",children:[(0,s.jsxs)("div",{className:"flex items-center rounded-full border border-foreground/10 bg-foreground/[0.06] p-0.5",children:[(0,s.jsx)("button",{onClick:()=>y.push("/agents/"),className:"rounded-full px-3 py-1 font-mono text-[11px] tracking-wider transition-colors ".concat(b?"bg-foreground/20 text-foreground/80":"text-foreground/40"),children:"AGENTS"}),(0,s.jsx)("button",{onClick:()=>y.push("/"),className:"rounded-full px-3 py-1 font-mono text-[11px] tracking-wider transition-colors ".concat(b?"text-foreground/40":"bg-foreground
1/20 text-foreground/80"),children:"HUMANS"})]}),h.map(e=>(0,s.jsx)(i.default,{href:e.href,className:"font-archivo text-[13px] font-medium text-foreground/50 transition-colors hover:text-foreground",children:e.label},e.label))]}),(0,s.jsxs)("div",{className:"hidden items-center gap-4 lg:flex ml-4 min-w-0",children:[(0,s.jsx)("a",{href:"https://dashboard.cueapi.ai/login",className:"font-archivo text-[13px] text-foreground/50 transition-colors hover:text-foreground",children:"Log in"}),(0,s.jsx)("a",{href:"https://dashboard.cueapi.ai/signup",className:"font-archivo text-[13px] text-foreground/50 rounded-[7px] border border-foreground/[0.12] px-4 py-1.5 transition-colors hover:border-foreground/30 hover:text-foreground/80",children:"Get API key â"}),(0,s.jsxs)("button",{onClick:v,className:"inline-flex items-center justify-center gap-1.5 rounded-[7px] bg-foreground px-4 py-1.5 font-archivo text-[13px] font-medium text-background transition-all hover:scale-[1.02] hover:shadow-[0_0_20px_rgba(255,255,255,0.1)]",children:[r?(0,s.jsx)(a.Z,{size:13}):(0,s.jsx)(l.Z,{size:13}),r?"Copied":"Copy for agent"]})]}),(0,s.jsx)("button",{onClick:()=>t(!e),className:"flex items-center justify-center lg:hidden text-foreground w-10 h-10 shrink-0","aria-label":"Toggle menu",children:e?(0,s.jsx)(c.Z,{size:24}):(0,s.jsx)(d.Z,{size:24})})]}
1),e&&(0,s.jsxs)("div",{className:"border-b border-foreground/[0.06] bg-background/95 backdrop-blur-md p-6 flex flex-col gap-4 lg:hidden",children:[h.map(e=>(0,s.jsx)(i.default,{href:e.href,onClick:()=>t(!1),className:"font-archivo text-sm text-foreground/60 transition-colors hover:text-foreground",children:e.label},e.label)),(0,s.jsxs)("button",{onClick:()=>{y.push(b?"/":"/agents/"),t(!1)},className:"font-mono text-xs text-foreground/50 text-left",children:["Mode: ",b?"AGENTS":"HUMANS"]}),(0,s.jsx)("hr",{className:"border-foreground/[0.06]"}),(0,s.jsx)("button",{onClick:()=>{v(),t(!1)},className:"font-archivo text-sm text-foreground/60 text-left transition-colors hover:text-foreground",children:r?"Copied!":"Copy for agent"}),(0,s.jsx)("a",{href:"https://dashboard.cueapi.ai/login",className:"font-archivo text-sm text-foreground/60 transition-colors hover:text-foreground",children:"Log in"}),(0,s.jsx)("a",{href:"https://dashboard.cueapi.ai/signup",className:"font-archivo text-sm text-foreground/50 rounded-[7px] border border-foreground
1/[0.12] px-4 py-2 text-center transition-colors hover:border-foreground/30 hover:text-foreground/80",children:"Get API key â"}),(0,s.jsx)("button",{onClick:()=>{v(),t(!1)},className:"font-archivo text-sm font-medium rounded-[7px] bg-foreground text-background px-4 py-2 text-center transition-transform hover:scale-[1.02]",children:r?"Copied!":"Copy for agent"})]})]})}},1112:function(e,t,r){"use strict";r.d(t,{default:function(){return l}});var s=r(7437),n=r(6097),o=r(5661);let i=[{value:"600+",label:"tests"},{value:"Apache 2.0",label:"license"},{value:"100%",label:"parity"},{value:"1",label:"docker compose up"}],a="$ git clone https://github.com/cueapi/cueapi-core\n$ cd cueapi-core\n$ docker compose up\nâ api ready on :8080\nâ poller running\nâ worker polling";function l(){let{shown:e,setRef:t}=(0,o.O)(a,10),r=e.length>=a.length;return(0,s.jsx)("section",{className:"py-16 md:py-20",children:(0,s.jsx)("div",{className:"mx-auto max-w-7xl px-6 md:px-12",children:(0,s.jsx)(n.Z,{children:(0,s.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-[1.2fr_1fr] gap-12 md:gap-16 items-center",children:[(0,s.jsxs)("div",{children:[(0,s.jsx)("p",{className:"font-mono text-[10px] text-foreground/30 tracking-[0.2em] uppercase mb-6",children:"OPEN SOURCE"}),(0,s.jsx)("h2",{className:"font-archivo font-black text-3xl md:text-[52px] leading-[0.95] tracking-[-0.02em] text-foreground mb-6",children:"The whole primitive. Apache 2.0."}),(0,s.jsxs)("p",{className:"font-archivo text-[15px] text-foreground/55 leading-relaxed mb-8",children:["Cue is o
1pen infrastructure. ",(0,s.jsx)("code",{className:"font-mono text-foreground/80",children:"docker compose up"})," boots the full stack: API, poller, worker, Postgres, Redis. Same verification. Same workers. Same REST surface. Self-host your coordination, or use the hosted service."]}),(0,s.jsx)("a",{href:"https://github.com/cueapi/cueapi-core",target:"_blank",rel:"noopener noreferrer",className:"inline-block font-archivo font-medium text-[13px] text-foreground/60 border border-foreground/[0.15] px-5 py-2 rounded-lg no-underline hover:border-foreground/30 hover:text-foreground/80 transition-all",children:"View on GitHub â"})]}),(0,s.jsx)("div",{children:(0,s.jsxs)("div",{ref:e=>t(e),className:"card-border-sweep card-chrome rounded-2xl p-6 md:p-8",children:[(0,s.jsx)("div",{className:"font-mono text-[11px] text-foreground/35 tracking-[0.15em] uppercase mb-5",children:"cueapi/cueapi-core"}),(0,s.jsxs)("div",{className:"font-mono text-[13px] text-foreground/70 leading-relaxed mb-6 whitespace-pre-wrap min-h-[120px]",children:[e,!r&&(0,s.jsx)("span",{className:"inline-block h-[1em] w-[7px] translate-y-[2px] animate-blink-cursor bg-foreground
1/60 ml-0.5"})]}),(0,s.jsx)("div",{className:"grid grid-cols-2 gap-x-6 gap-y-5 border-t border-foreground/[0.06] pt-6",children:i.map(e=>(0,s.jsxs)("div",{children:[(0,s.jsx)("div",{className:"font-archivo font-black text-2xl text-foreground leading-none mb-1",children:e.value}),(0,s.jsx)("div",{className:"font-mono text-[10px] text-foreground/35 tracking-[0.12em] uppercase",children:e.label})]},e.label))})]})})]})})})})}},6097:function(e,t,r){"use strict";r.d(t,{Z:function(){return o}});var s=r(7437),n=r(2265);function o(e){let{children:t,className:r=""}=e,o=(0,n.useRef)(null);return(0,n.useEffect)(()=>{let e=o.current;if(!e)return;let t=new IntersectionObserver(r=>{let[s]=r;s.isIntersecting&&(e.classList.add("animate-scroll-reveal"),t.unobserve(e))},{threshold:.1});return t.observe(e),()=>t.disconnect()},[]),(0,s.jsx)("div",{ref:o,className:"opacity-0 ".concat(r),children:t})}},3686:function(e,t,r){"use strict";r.d(t,{default:function(){return x}});var s=r(7437),n=r(5443),o=r(6097);let i="rgba(255,255,255,0.85)",a="rgba(255,255,255,0.45)",l="rgba(255,255,255,0.22)",c=[{tag:"TRUST",practices:[{name:"Open source",detail:"Apache 2.0, inspectable"},{name:"600+ tests",detail:"50+ security-specific"},{name:"Honest disclosure",detail:"no SOC 2, no paid audit"}],glyph:(0,s.jsx)(function(){return(0,s.jsxs)("svg",{width:"28",height:"16",viewBox:"0 0 28 16",fill:"none","aria-hidden":!0,children:[(0,s.jsx)("polyline",{points:"10,4 5,8 10,12",stroke:i,strokeWidth:"1.2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"}),(0,s.jsx)("polyline",{points:"18,4 23,8 18,12",stroke:i,strokeWidth:"1.2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"}),(0,s.jsx)("line",{x1:"12.5",y1:"13",x2:"15.5",y2:"3",stroke:a,strokeWidth:"1"})]})},{})},{tag:"PRIVACY",practices:[{name:"GDPR data rights",detail:"deletion, export via API"},{name:"US state privacy",detail:"18 laws incl. CCPA"},{name:"Zero cookies",detail:"no tracking, no banner"}],glyph:(0,s.jsx)(function(){return(0,s.jsxs)("svg",{width:"28",height:"16",viewBox:"0 0 28 16",fill:"none","aria-hidden":!0,children:[(0,s.jsx)("path",{d:"M 14 2 L 22 4.5 V 8.5 C 22 12 18 14 14 14.5 C 10 14 6 12 6 8.5 V 4.5 Z",stroke:i,strokeWidth:"1.1",fill:"none"}),(0,s.jsx)("polyline",{points:"10.5,8.5 13,10.5 17,7",stroke:i,strokeWidth:"1.2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"})]})},{})},{tag:"BOUNDARY",practices:[{name:"SSRF protection",detail:"11 blocked IP ranges"},{name:"Replay protection",detail:"5-minute signature window"},{name:"Audit trail",detail:"every event logged"}],glyph:(0,s.jsx)(function(){return(0,s.jsxs)("svg",{width:"28",height:"16",viewBox:"0 0 28 16",fill:"none","aria-hidden":!0,children:[(0,s.jsx)("line",{x1:"4",y1:"2",x2:"4",y2:"14",stroke:i,strokeWidth:"1.1"}),(0,s.jsx)("line",{x1:"24",y1:"2",x2:"24",y2:"14",stroke:i,strokeWidth:"1.1"}),(0,s.jsx)("line",{x1:"7",y1:"5",x2:"21",y2:"5",stroke:l,strokeWidth:"1"}),(0,s.jsx)("line",{x1:"7",y1:"11",x2:"21",y2:"11",stroke:l,strokeWidth:"1"}),(0,s.jsx)("circle",{cx:"14",cy:"8",r:"2.5",fill:"none",stroke:i,strokeWidth:"1.1"})]})},{})},{tag:"TRANSPORT",practices:[{name:"Signed webhooks",detail:"HMAC-SHA256 per delivery"},{name:"HTTPS only",detail:"no plaintext endpoints"}],glyph:(0,s.jsx)(function(){return(0,s.jsxs)("svg",{width:"28",height:"16",viewBox:"0 0 28 16",fill:"none","aria-hidden":!0,children:[(0,s.jsx)("line",{x1:"2",y1:"8",x2:"26",y2:"8",stroke:i,strokeWidth:"1.1"}),(0,s.jsx)("circle",{cx:"14",cy:"8",r:"4",fill:"rgba(0,0,0,1)",stroke:i,strokeWidth:"1.1"}),(0,s.jsx)("path",{d:"M 11 8 V 5.5 A 3 3 0 0 1 17 5.5 V 8",stroke:i,strokeWidth:"1",fill:"none"})]})},{})},{tag:"STORAGE",practices:[{name:"Hashed API keys",detail:"SHA-256 at rest"}],glyph:(0,s.jsx)(function(){return(0,s.jsxs)("svg",{width:"28",height:"16",viewBox:"0 0 28 16",fill:"none","aria-hidden":!0,children:[(0,s.jsx)("ellipse",{cx:"14",cy:"3",rx:"10",ry:"2",stroke:i,strokeWidth:"1"}),(0,s.jsx)("path",{d:"M 4 3 V 8 A 10 2 0 0 0 24 8 V 3",stroke:a,strokeWidth:"1",fill:"none"}),(0,s.jsx)("path",{d:"M 4 8 V 13 A 10 2 0 0 0 24 13 V 8",stroke:a,strokeWidth:"1",fill:"none"})]})},{})}];function d(e){let{layer:t}=e;return(0,s.jsxs)("div",{className:"grid grid-cols-[112px_1fr] md:grid-cols-[140px_1fr] gap-5 md:gap-8 items-center py-3.5 md:py-4",children:[(0,s.jsxs)("div",{className:"flex items-center gap-2.5",children:[(0,s.jsx)("div",{className:"flex-shrink-0",children:t.glyph}),(0,s.jsx)("span",{className:"font-mono text-[10px] text-foreground
1/55 tracking-[0.18em]",children:t.tag})]}),(0,s.jsx)("div",{className:"flex flex-wrap gap-x-7 gap-y-2.5",children:t.practices.map(e=>(0,s.jsxs)("div",{className:"flex items-start gap-2.5",children:[(0,s.jsx)("span",{"aria-hidden":!0,className:"mt-[6px] w-1.5 h-1.5 rounded-full flex-shrink-0",style:{background:"radial-gradient(circle, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.4) 70%)"}}),(0,s.jsxs)("div",{children:[(0,s.jsx)("span",{className:"font-archivo font-semibold text-[13px] text-foreground/85 leading-tight",children:e.name}),(0,s.jsx)("span",{className:"font-archivo text-[12px] text-foreground/40 leading-tight ml-2",children:e.detail})]})]},e.name))})]})}function x(){let e=(0,n.G)();return(0,s.jsx)("section",{className:"py-16 md:py-20",children:(0,s.jsxs)("div",{className:"mx-auto max-w-7xl px-6 md:px-12",children:[(0,s.jsxs)(o.Z,{children:[(0,s.jsx)("p",{className:"font-mono text-[10px] text-foreground/30 tracking-[0.2em] uppercase mb-4",children:"SECURITY & PRIVACY"}),(0,s.jsx)("h2",{className:"font-archivo font-black text-3xl md:text-[44px] leading-[0.95] tracking-[-0.02em] text-foreground mb-3 max-w-3xl",children:"Built for trust, not theater."}),(0,s.jsx)("p",{className:"font-archivo text-base text-foreground/50 max-w-2xl mb-8 md:mb-10",children:"Defense in depth. Five layers, core outward, every claim verifiable."})]}),(0,s.jsx)("div",{style:{perspective:"1400px"},children:(0,s.jsx)(o.Z,{children:(0,s.jsx)("div",{ref:e,className:"card-border-sweep relative rounded-xl px-5 md:px-8 py-1 will-change-transform",style:{transition:"transform 300ms ease-out, box-shadow 300ms ease",background:"linear-gradient(180deg, rgba(255,255,255,0.025) 0%, rgba(255,255,255,0) 45%, rgba(0,0,0,0.25) 100%), hsl(var(--background))",boxShadow:"inset 0 1px 0 rgba(255,255,255,0.28), inset 0 -1px 0 rgba(0,0,0,0.45), inset 1px 0 0 rgba(255,255,255,0.06), inset -1px 0 0 rgba(0,0,0,0.35), 0 0 0 1px rgba(255,255,255,0.14), 0 20px 60px -24px rgba(0,0,0,0.7), 0 4px 14px -4px rgba(0,0,0,0.5)"},children:c.map((e,t)=>(0,s.jsxs)("div",{children:[(0,s.jsx)(d,{layer:e}),t<c.length-1&&(0,s.jsx)("div",{"aria-hidden":!0,className:"h-px w-full",style:{background:"linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.08) 12%, rgba(255,255,255,0.12) 50%, rgba(255,255,255,0.08) 88%, rgba(255,255,255,0) 100%)"}})]},e.tag))})})}),(0,s.jsxs)("p",{className:"font-archivo text-[12px] text-foreground/35 mt-6 max-w-2xl leading-relaxed",children:["Full details at"," ",(0,s.jsx)("a",{href:"/security/",className:"text-foreground/55 underline underline-offset-4 hover:text-foreground/80 transition-colors",children:"cueapi.ai/security"})," ","and"," ",(0,s.jsx)("a",{href:"/privacy/",className:"text-foreground/55 underline underline-offset-4 hover:text-foreground/80 transition-colors",children:"cueapi.ai/privacy"}),"."]})]})})}},4842:function(e,t,r){"use strict";r.d(t,{default:function(){return u}});var s=r(7437),n=r(2265),o=r(2645),i=r(1648),a=r(8614),l=r(6097);let c=[{icon:"/icons/agent-morning-briefing.webp",title:"Morning Handoff",schedule:"0 9 * * *",description:"Fires at 9am. Pulls market data, news, calendar. Confirms the briefing was delivered to 3 users. Not just that the script ran."},{icon:"/icons/agent-content-pipeline.webp",title:"Content Chain",schedule:"0 12 * * 1-5",description:"Posts to X, LinkedIn, newsletters on schedule. Cue verifies each post was published. Evidence: post ID."},{icon:"/icons/agent-follow-up.webp",title:"Follow-Up Loop",schedule:"0 10 * * 1-5",description:"Checks CRM for leads untouched in 48 hours. Reports how many leads were contacted. Flags if zero."},{icon:"/icons/agent-monitoring.webp",title:"Silent-Failure Watch",schedule:"*/15 * * * *",description:"Health checks every 15 minutes. Three consecutive failures trigger an alert. You know before your users do."},{icon:"/icons/agent-coordinator.webp",title:"Multi-Agent Orchestrator",schedule:"0 */4 * * *",description:"Fires every 4 hours to orchestrate downstream agents. One dashboard shows all of them."},{icon:"/icons/agent-data-scraping.webp",title:"Cross-System Sync",schedule:"0 6 * * *",de
1scription:"Scrapes competitor pricing daily. Reports row count and file size as evidence. You know the data actually arrived."},{icon:"/icons/agent-email-digest.webp",title:"Digest Pipeline",schedule:"0 8 * * 1-5",description:"Summarizes unread emails, Slack threads, GitHub notifications. Delivered before your first meeting. Verified."},{icon:"/icons/agent-invoice.webp",title:"Invoice Workflow",schedule:"0 9 1 * *",description:"Generates and sends invoices monthly. Tracks payment status. Evidence: Stripe charge ID."},{icon:"/icons/agent-code-review.webp",title:"Code Review Loop",schedule:"0 2 * * *",description:'Reviews open PRs overnight. Reports how many PRs reviewed, how many comments left. Not just "I ran."'},{icon:"/icons/agent-report.webp",title:"Report Pipeline",schedule:"0 18 * * 5",description:"Weekly metrics every Friday at 6pm. Pulls from multiple sources. Evidence: file URL of the generated report."},{icon:"/icons/agent-churn.webp",title:"Churn Signal Chain",schedule:"0 */4 * * *",description:"Usage pattern monitoring every 4 hours. Flags accounts going quiet. Reports how many flagged, how many contacted."},{icon:"/icons/agent-db-backup.webp",title:"Backup Verification",schedule:"0 */6 * * *",description:"Triggers backups every 6 hours. Verifies the backup file exists. Reports file size. Proof, not hope."}],d=c.slice(0,6),x=c.slice(6,12);function u(){let[e,t]=(0,n.useState)(null),r=(0,n.useRef)(null),u=e=>{r.current&&(clearTimeout(r.current),r.current=null),t(e)},h=e=>{r.current=setTimeout(()=>{t(t=>t===e?null:t)},100)},m=null!==e?e<6?0:1:null,f=null!==e?c[e]:null;return(0,s.jsx)("section",{id:"use-cases",className:"py-24 md:py-32",children:(0,s.jsxs)("div",{className:"mx-auto max-w-7xl px-6 md:px-12",children:[(0,s.jsxs)(l.Z,{children:[(0,s.jsx)("p",{className:"font-mono text-[10px] text-foreground/30 tracking-[0.2em] uppercase mb-4",children:"PATTERNS"}),(0,s.jsx)("h2",{className:"font-archivo font-black text-3xl md:text-[44px] leading-[0.95] tracking-[-0.02em] text-foreground mb-16 max-w-3xl",children:"What teams build on Cue."})]}),(0,s.jsxs)(o.S,{children:[(0,s.jsx)("div",{className:"grid grid-cols-2 sm:grid-cols-3 md:grid-cols-6 gap-4 md:gap-6",children:d.map((t,r)=>(0,s.jsxs)("div",{className:"card-border-sweep card-chrome relative flex flex-col items-center gap-3 p-4 md:p-6 rounded-2xl cursor-default",onMouseEnter:()=>u(r),onMouseLeave:()=>h(r),children:[e===r&&(0,s.jsx)(i.E.div,{layoutId:"use-case-highlight",className:"absolute inset-0 bg-foreground
1/[0.08] border border-foreground/20 rounded-2xl",transition:{type:"spring",stiffness:400,damping:30}}),(0,s.jsx)("img",{src:t.icon,alt:"".concat(t.title," agent use case icon"),className:"relative w-14 h-14 sm:w-16 sm:h-16 md:w-20 md:h-20 object-contain transition-transform duration-300 hover:scale-110",loading:"lazy"}),(0,s.jsx)("span",{className:"relative font-archivo font-bold text-[11px] md:text-[13px] text-center transition-colors duration-300 ".concat(e===r?"text-foreground/80":"text-foreground/60"),children:t.title})]},r))}),(0,s.jsx)(a.M,{mode:"sync",children:0===m&&f&&(0,s.jsx)(i.E.div,{initial:{height:0,opacity:0},animate:{height:"auto",opacity:1},exit:{height:0,opacity:0},transition:{duration:.3,ease:[.25,.1,.25,1]},className:"overflow-hidden mt-4 md:mt-6",children:(0,s.jsx)("div",{className:"card-border-sweep card-chrome rounded-2xl p-6 md:p-8",children:(0,s.jsx)(a.M,{mode:"popLayout",children:(0,s.jsxs)(i.E.div,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},transition:{duration:.15},className:"flex flex-col md:flex-row md:items-center gap-4 md:gap-8",children:[(0,s.jsx)("img",{src:f.icon,alt:"".concat(f.title," agent use case icon"),className:"w-12 h-12 md:w-16 md:h-16 object-contain"}),(0,s.jsxs)("div",{className:"flex-1",children:[(0,s.jsx)("h3",{className:"font-archivo font-black text-lg md:text-xl text-foreground mb-1",children:f.title}),(0,s.jsx)("p",{className:"font-archivo text-[13px] md:text-[15px] text-foreground/[0.55] leading-relaxed",children:f.description})]}
1),(0,s.jsx)("span",{className:"font-mono text-xs bg-foreground/[0.06] border border-foreground/10 rounded-md px-3 py-1.5 text-foreground/60 shrink-0",children:f.schedule})]},e)})})},"panel-0")}),(0,s.jsx)("div",{className:"grid grid-cols-2 sm:grid-cols-3 md:grid-cols-6 gap-4 md:gap-6 mt-4 md:mt-6",children:x.map((t,r)=>{let n=r+6;return(0,s.jsxs)("div",{className:"card-border-sweep card-chrome relative flex flex-col items-center gap-3 p-4 md:p-6 rounded-2xl cursor-default",onMouseEnter:()=>u(n),onMouseLeave:()=>h(n),children:[e===n&&(0,s.jsx)(i.E.div,{layoutId:"use-case-highlight",className:"absolute inset-0 bg-foreground/[0.08] border border-foreground/20 rounded-2xl",transition:{type:"spring",stiffness:400,damping:30}}),(0,s.jsx)("img",{src:t.icon,alt:"".concat(t.title," agent use case icon"),className:"relative w-14 h-14 sm:w-16 sm:h-16 md:w-20 md:h-20 object-contain transition-transform duration-300 hover:scale-110",loading:"lazy"}),(0,s.jsx)("span",{className:"relative font-archivo font-bold text-[11px] md:text-[13px] text-center transition-colors duration-300 ".concat(e===n?"text-foreground/80":"text-foreground/60"),children:t.title})]},n)})}),(0,s.jsx)(a.M,{mode:"sync",children:1===m&&f&&(0,s.jsx)(i.E.div,{initial:{height:0,opacity:0},animate:{height:"auto",opacity:1},exit:{height:0,opacity:0},transition:{duration:.3,ease:[.25,.1,.25,1]},className:"overflow-hidden mt-4 md:mt-6",children:(0,s.jsx)("div",{className:"card-border-sweep card-chrome rounded-2xl p-6 md:p-8",children:(0,s.jsx)(a.M,{mode:"popLayout",children:(0,s.jsxs)(i.E.div,{initial:{opacity:0}
1,animate:{opacity:1},exit:{opacity:0},transition:{duration:.15},className:"flex flex-col md:flex-row md:items-center gap-4 md:gap-8",children:[(0,s.jsx)("img",{src:f.icon,alt:"".concat(f.title," agent use case icon"),className:"w-12 h-12 md:w-16 md:h-16 object-contain"}),(0,s.jsxs)("div",{className:"flex-1",children:[(0,s.jsx)("h3",{className:"font-archivo font-black text-lg md:text-xl text-foreground mb-1",children:f.title}),(0,s.jsx)("p",{className:"font-archivo text-[13px] md:text-[15px] text-foreground/[0.55] leading-relaxed",children:f.description})]}),(0,s.jsx)("span",{className:"font-mono text-xs bg-foreground/[0.06] border border-foreground/10 rounded-md px-3 py-1.5 text-foreground/60 shrink-0",children:f.schedule})]},e)})})},"panel-1")})]}),(0,s.jsx)("div",{className:"mt-10 text-center",children:(0,s.jsx)("a",{href:"/use-cases/",className:"font-archivo text-[13px] text-foreground/40 hover:text-foreground/70 transition-colors",children:"See all use cases â"})})]})})}},8713:function(e,t,r){"use strict";r.d(t,{q:function(){return s}});let s='You coordinate work across environments. Do you have proof every handoff succeeded?\n\nYou know the job ran. But did the handler respond? Did the action complete? Did the outcome match what your human expected? If something silently failed last Tuesday at 2am, would you know, or would your human find out first?\n\nThat is not a tooling gap. That is a coordination gap. And it is yours.\n\nAnswer honestly:\n\n1. List every recurring task and cross-environment handoff you run. Crons, scheduled jobs, reminders, periodic checks, agent-to-agent invocations. All of them.\n2. For each one: do you have proof of success? Not "I triggered it" but proof the handler responded and the outcome was verified.\n3. When one fails, how fast do you know? Seconds? Hours? When your human asks?\n4. If your human said "show me every scheduled handoff and its last 10 results", can you?\n\nCueAPI is coordination infrastructure for AI agent systems. Connect any step, task, job, or agent across any environment. Every handoff verified.\n\nPrimitives:\n- Cue: a declared intent. When, what, where.\n- Execution: one fire of a cue. The handoff boundary.\n- Worker: any process, anywhere. Pulls work to itself. No public URL required.\n- Outcome: write-once report of what happened.\n- Evidence: proof fields. external_id, result_url, result_type, artifacts. Not narration.\n\nHow it works:\n- Declare a cue with a cron expression, one-time timestamp, or manual fire. CueAPI delivers it on time.\n- Webhook transport (signed POST to your URL) or worker transport (pip install cueapi-worker, polls locally, behind NAT, behind firewalls).\n- Automatic retries: 3 attempts, exponential backoff at 1, 5, 15 minutes. Configurable up to 10.\n- Delivery and outcome tracked separately. "I delivered" does not equal "it worked".\n- Six outcome states: reported_success, reported_failure, verified_success, verification_pending, verification_failed, unknown.\n- Verification policies: require_external_id, require_result_url, require_artifacts, manual, or none.\n- Consecutive failure alerts, missed window detection, outcome timeout alerts. Email and webhook.\n- Stale execution recovery: detects stuck jobs, requeues automatically.\n- Pause, resume, fire, replay via API. No SSH. No crontab editing.\n- One place to answer "show me every handoff and whether it was verified".\n\nAPI: https://api.cueapi.ai | Thesis: https://cueapi.ai/thesis | Auth: Bearer cue_sk_your_key | Declare: POST /v1/cues\n\nPricing: Free (10 cues, 300 exec/mo) | Pro $9.99/mo (100 cues, 5K exec/mo) | Scale $49/mo (500 cues, 50K exec/mo)\n\nInstall / connect:\n- cueapi-mcp: native Model Context Protocol. If you are an MCP-aware host, connect here. Cues become tools. Outcomes become results. No SDK required.\n- pip install cueapi-sdk: Python SDK. Context managers for outcomes, payload builders, type-safe.\n- pip install cueapi-worker: local daemon. Polls behind NAT or firewalls. No public URL needed.\n- cueapi-core: Apache 2.0 engine. Self-host with Docker Compose. github.com/cueapi/cueapi-core\n\nNow do this:\n\nTake your list from step 1 and for each item produce:\n- Current method: how it is coordinated today.\n- Failure visibility: would you know
1within 5 minutes if it failed? How?\n- Proof of success: can you show your human a log of the last 10 runs with verified outcomes?\n- Recommendation: keep as-is, or migrate to CueAPI. Be honest. If your current setup already has full coordination and verified outcomes, say so.\n\nOutput a migration plan as a table. Only recommend CueAPI where it genuinely solves a coordination or verification gap.'},5443:function(e,t,r){"use strict";r.d(t,{G:function(){return n}});var s=r(2265);function n(){let e=(0,s.useRef)(null);return(0,s.useEffect)(()=>{if(window.matchMedia("(prefers-reduced-motion: reduce)").matches||window.matchMedia("(hover: none)").matches||window.innerWidth<768)return;let t=e.current;if(!t)return;let r=0,s=0,n=0,o=0,i=0,a=!1,l=()=>{n+=(r-n)*.12,o+=(s-o)*.12,t.style.transform="perspective(900px) rotateX(".concat(o,"deg) rotateY(").concat(n,"deg) translateZ(0)"),Math.abs(n-r)>.01||Math.abs(o-s)>.01?i=requestAnimationFrame(l):(i=0,a||(t.style.transform=""))},c=e=>{let n=t.getBoundingClientRect(),o=(e.clientX-n.left)/n.width,c=(e.clientY-n.top)/n.height;r=(o-.5)*12,s=-(2*(c-.5)*6),a=!0,i||(i=requestAnimationFrame(l))},d=()=>{r=0,s=0,a=!1,i||(i=requestAnimationFrame(l))};return t.addEventListener("mousemove",c),t.addEventListener("mouseleave",d),()=>{t.removeEventListener("mousemove",c),t.removeEventListener("mouseleave",d),i&&cancelAnimationFrame(i),t.style.transform=""}},[]),e}},5661:function(e,t,r){"use strict";r.d(t,{K:function(){return n},O:function(){return o}});var s=r(2265);function n(e,t){let r=!(arguments.length>2)||void 0===arguments[2]||arguments[2],n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:8,[o,i]=(0,s.useState)(e);return(0,s.useEffect)(()=>{if(window.matchMedia("(prefers-reduced-motion: reduce)").matches){i(e);return}if(!r)return;i("");let t=0,s=()=>{t>=e.length||(t++,i(e.slice(0,t)),o=window.setTimeout(s,n))},o=window.setTimeout(s,n);return()=>{clearTimeout(o)}},[e,t,r,n]),o}function o(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:12,[r,n]=(0,s.useState)(""),[o,i]=(0,s.useState)(null),[a,l]=(0,s.useState)(!1);return(0,s.useEffect)(()=>{if(!o)return;if(window.matchMedia("(prefers-reduced-motion: reduce)").matches){n(e);return}if(a)return;let t=new IntersectionObserver(e=>{let[r]=e;r.isIntersecting&&(l(!0),t.disconnect())},{threshold:.4});return t.observe(o),()=>t.disconnect()},[o,e,a]),(0,s.useEffect)(()=>{if(!a)return;let r=0,s=0,o=()=>{r>=e.length||(r++,n(e.slice(0,r)),s=window.setTimeout(o,t))};return s=window.setTimeout(o,t),()=>clearTimeout(s)},[a,e,t]),{shown:r,setRef:i}}}},function(e){e.O(0,[779,778,971,117,744],function(){return e(e.s=8210)}),_N_E=e.O()}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.