agenttwin 0.3.28 → 0.3.30
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/README.md +12 -12
- package/dist/api.js +3328 -757
- package/dist/dashboard/assets/next/static/chunks/7796-dcf7d396bd4449c0.js +1 -0
- package/dist/dashboard/assets/next/static/chunks/app/_not-found/page-abd7b06b013b863e.js +1 -0
- package/dist/dashboard/assets/next/static/chunks/app/about/page-f24aa0d77f7fa73c.js +1 -0
- package/dist/dashboard/assets/next/static/chunks/app/account/password/page-5775ac3aa5e4562f.js +1 -0
- package/dist/dashboard/assets/next/static/chunks/app/api-policy/page-4a176798090a08d6.js +1 -0
- package/dist/dashboard/assets/next/static/chunks/app/auth/page-4a176798090a08d6.js +1 -0
- package/dist/dashboard/assets/next/static/chunks/app/blog/{layout-70bc4f31b68866ba.js → layout-c4d11b2d8403020d.js} +1 -1
- package/dist/dashboard/assets/next/static/chunks/app/compare/page-4a176798090a08d6.js +1 -0
- package/dist/dashboard/assets/next/static/chunks/app/contact/page-4a176798090a08d6.js +1 -0
- package/dist/dashboard/assets/next/static/chunks/app/dashboard/layout-039b7665231d6e02.js +1 -0
- package/dist/dashboard/assets/next/static/chunks/app/dashboard/page-651d698c70c4751d.js +1 -0
- package/dist/dashboard/assets/next/static/chunks/app/demo/{page-9d65014623ef427a.js → page-823ab04e4ce3d98d.js} +1 -1
- package/dist/dashboard/assets/next/static/chunks/app/developers/page-4a176798090a08d6.js +1 -0
- package/dist/dashboard/assets/next/static/chunks/app/docs/[[...slug]]/page-257fb2b60b9c51ea.js +1 -0
- package/dist/dashboard/assets/next/static/chunks/app/dpa/page-4a176798090a08d6.js +1 -0
- package/dist/dashboard/assets/next/static/chunks/app/enterprise/{page-7e1eac02bcf83a2e.js → page-3b10665bd391180f.js} +1 -1
- package/dist/dashboard/assets/next/static/chunks/app/guides/page-4a176798090a08d6.js +1 -0
- package/dist/dashboard/assets/next/static/chunks/app/layout-d5b27156a3186b08.js +1 -0
- package/dist/dashboard/assets/next/static/chunks/app/login/page-b7e1d396e6b8f1e5.js +1 -0
- package/dist/dashboard/assets/next/static/chunks/app/not-found-4a176798090a08d6.js +1 -0
- package/dist/dashboard/assets/next/static/chunks/app/onboarding/page-3a50aee18c830bd9.js +1 -0
- package/dist/dashboard/assets/next/static/chunks/app/page-f8bd9dabf8d184f0.js +1 -0
- package/dist/dashboard/assets/next/static/chunks/app/pricing/{page-f850766346c187ef.js → page-832b691ac0762fc1.js} +1 -1
- package/dist/dashboard/assets/next/static/chunks/app/privacy/page-4a176798090a08d6.js +1 -0
- package/dist/dashboard/assets/next/static/chunks/app/sandbox/page-4a176798090a08d6.js +1 -0
- package/dist/dashboard/assets/next/static/chunks/app/security/page-4a176798090a08d6.js +1 -0
- package/dist/dashboard/assets/next/static/chunks/app/signup/page-b7e1d396e6b8f1e5.js +1 -0
- package/dist/dashboard/assets/next/static/chunks/app/status/{page-a9757d09bc1b44b8.js → page-7ce6f0e1c434b71e.js} +1 -1
- package/dist/dashboard/assets/next/static/chunks/app/subprocessors/page-4a176798090a08d6.js +1 -0
- package/dist/dashboard/assets/next/static/chunks/app/terms/page-4a176798090a08d6.js +1 -0
- package/dist/dashboard/assets/next/static/chunks/app/v2/dashboard/{layout-bc5e1f82967fb4ad.js → layout-3578b0057d2de8c7.js} +1 -1
- package/dist/dashboard/assets/next/static/chunks/app/v2/dashboard/page-7bb4b6860280b5cc.js +1 -0
- package/dist/dashboard/assets/next/static/chunks/app/v2/layout-fbf2197ee73a9b94.js +1 -0
- package/dist/dashboard/assets/next/static/chunks/app/v2/login/page-830a35428306a169.js +1 -0
- package/dist/dashboard/assets/next/static/chunks/app/v2/onboarding/page-8f78f1d869d1c720.js +1 -0
- package/dist/dashboard/assets/next/static/chunks/app/v2/page-e538ea410a189bb5.js +1 -0
- package/dist/dashboard/assets/next/static/chunks/app/v2/signup/page-830a35428306a169.js +1 -0
- package/dist/dashboard/assets/next/static/chunks/app/what-is-agenttwin/page-4a176798090a08d6.js +1 -0
- package/dist/dashboard/assets/next/static/chunks/{webpack-4bacefbda663942c.js → webpack-cf0b56829d9b93b8.js} +1 -1
- package/dist/dashboard/index.html +2 -2
- package/dist/engine.js +19611 -18250
- package/dist/gateway.js +3328 -757
- package/dist/worker.js +1694 -245
- package/dist/world-host.js +2928 -376
- package/package.json +1 -1
- package/dist/dashboard/assets/next/static/chunks/7796-fc89ddade1486b74.js +0 -1
- package/dist/dashboard/assets/next/static/chunks/app/_not-found/page-7e4cb85118372f1c.js +0 -1
- package/dist/dashboard/assets/next/static/chunks/app/about/page-e200f2e2ee9de57c.js +0 -1
- package/dist/dashboard/assets/next/static/chunks/app/account/password/page-4da5d90343fe147c.js +0 -1
- package/dist/dashboard/assets/next/static/chunks/app/api-policy/page-da1214e21c84a275.js +0 -1
- package/dist/dashboard/assets/next/static/chunks/app/auth/page-da1214e21c84a275.js +0 -1
- package/dist/dashboard/assets/next/static/chunks/app/compare/page-da1214e21c84a275.js +0 -1
- package/dist/dashboard/assets/next/static/chunks/app/contact/page-da1214e21c84a275.js +0 -1
- package/dist/dashboard/assets/next/static/chunks/app/dashboard/layout-5a5b80af0abc55f1.js +0 -1
- package/dist/dashboard/assets/next/static/chunks/app/dashboard/page-7abea2a754ac1e4b.js +0 -1
- package/dist/dashboard/assets/next/static/chunks/app/developers/page-da1214e21c84a275.js +0 -1
- package/dist/dashboard/assets/next/static/chunks/app/docs/[[...slug]]/page-230de6cb268dc69a.js +0 -1
- package/dist/dashboard/assets/next/static/chunks/app/dpa/page-da1214e21c84a275.js +0 -1
- package/dist/dashboard/assets/next/static/chunks/app/guides/page-da1214e21c84a275.js +0 -1
- package/dist/dashboard/assets/next/static/chunks/app/layout-d602b4869a6cbb05.js +0 -1
- package/dist/dashboard/assets/next/static/chunks/app/login/page-a95c756e144a6331.js +0 -1
- package/dist/dashboard/assets/next/static/chunks/app/not-found-da1214e21c84a275.js +0 -1
- package/dist/dashboard/assets/next/static/chunks/app/onboarding/page-351f0547ef1b26be.js +0 -1
- package/dist/dashboard/assets/next/static/chunks/app/page-2ba5d9bd6c160bda.js +0 -1
- package/dist/dashboard/assets/next/static/chunks/app/privacy/page-da1214e21c84a275.js +0 -1
- package/dist/dashboard/assets/next/static/chunks/app/sandbox/page-da1214e21c84a275.js +0 -1
- package/dist/dashboard/assets/next/static/chunks/app/security/page-da1214e21c84a275.js +0 -1
- package/dist/dashboard/assets/next/static/chunks/app/signup/page-a95c756e144a6331.js +0 -1
- package/dist/dashboard/assets/next/static/chunks/app/subprocessors/page-da1214e21c84a275.js +0 -1
- package/dist/dashboard/assets/next/static/chunks/app/terms/page-da1214e21c84a275.js +0 -1
- package/dist/dashboard/assets/next/static/chunks/app/v2/dashboard/page-f3cab3a18644b226.js +0 -1
- package/dist/dashboard/assets/next/static/chunks/app/v2/layout-a32bac062bbc8f9f.js +0 -1
- package/dist/dashboard/assets/next/static/chunks/app/v2/login/page-decb55bb59df2e0a.js +0 -1
- package/dist/dashboard/assets/next/static/chunks/app/v2/onboarding/page-c854e517be15a4ac.js +0 -1
- package/dist/dashboard/assets/next/static/chunks/app/v2/page-778d815d61a3c9aa.js +0 -1
- package/dist/dashboard/assets/next/static/chunks/app/v2/signup/page-decb55bb59df2e0a.js +0 -1
- package/dist/dashboard/assets/next/static/chunks/app/what-is-agenttwin/page-da1214e21c84a275.js +0 -1
- /package/dist/dashboard/assets/next/static/{KYQHhyUSq0YJb83IAIjYO → c1e-XsXauzTgZ5LPHO9qr}/_buildManifest.js +0 -0
- /package/dist/dashboard/assets/next/static/{KYQHhyUSq0YJb83IAIjYO → c1e-XsXauzTgZ5LPHO9qr}/_ssgManifest.js +0 -0
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9566],{5320:(e,t,s)=>{Promise.resolve().then(s.bind(s,6345))},6345:(e,t,s)=>{"use strict";s.d(t,{default:()=>x});var a=s(3529),n=s(1869),r=s(3023);function o(e){var t,s,a,n,r;return{company:null!=(t=null==e?void 0:e.company)?t:"",website:null!=(s=null==e?void 0:e.website)?s:"",role:null!=(a=null==e?void 0:e.role)?a:"",teamSize:null!=(n=null==e?void 0:e.teamSize)?n:"",useCase:null!=(r=null==e?void 0:e.useCase)?r:""}}function i(e){let t,s=e.trim();if(!s)return"";let a=s.startsWith("//")?"https:"+s:/^[a-z][a-z\d+.-]*:/i.test(s)?s:"https://"+s;try{t=new URL(a)}catch(e){throw Error("Enter a valid company website, such as example.com.")}if(!["https:","http:"].includes(t.protocol)||t.username||t.password||t.href.length>254)throw Error("Enter a company website using http:// or https://, without login details.");return t.href}s(9475),s(9204),s(9786);let c={company:"",website:"",role:"",teamSize:"",useCase:""},l="agenttwin:pending-terminal:v1",d=e=>"agenttwin:onboarding-draft:v1:"+JSON.stringify([r.n,e]),u="agenttwin:workspace-preferences:v1",p={morning:"bay-morning.webp",afternoon:"golden-gate-afternoon.webp",evening:"moonlit-coast.webp"},h=["Your profile","Your workspace","Connect your application"],m={artwork:"afternoon",compact:!1,autoRefresh:!0,reduceMotion:!1};function g(){return(0,a.jsx)("span",{"aria-hidden":"true",children:"→"})}function j(){return(0,a.jsx)("svg",{viewBox:"0 0 16 16",fill:"none","aria-hidden":"true",children:(0,a.jsx)("path",{d:"m4 8 2.5 2.5L12 5",stroke:"currentColor",strokeWidth:"1.6",strokeLinecap:"round",strokeLinejoin:"round"})})}function x(){var e;let[t,s]=(0,n.useState)(null),[x,v]=(0,n.useState)(""),[w,y]=(0,n.useState)(0),[f,b]=(0,n.useState)(0),[k,N]=(0,n.useState)(0),[S,C]=(0,n.useState)(m),[A,I]=(0,n.useState)(""),[E,O]=(0,n.useState)(""),[T,L]=(0,n.useState)(""),[P,R]=(0,n.useState)(c),[W,z]=(0,n.useState)(!1),F=(e,t)=>R(s=>({...s,[e]:t})),[J,Y]=(0,n.useState)(""),[D,M]=(0,n.useState)(!1),[B,U]=(0,n.useState)(!1),[_,q]=(0,n.useState)(!1),[H,K]=(0,n.useState)(""),[$,V]=(0,n.useState)(!1),[G,Q]=(0,n.useState)(""),[X,Z]=(0,n.useState)([]),[ee,et]=(0,n.useState)(!1),[es,ea]=(0,n.useState)(""),[en,er]=(0,n.useState)(!1),eo=(0,n.useRef)(null),ei="auto"===S.artwork?"afternoon":S.artwork;function ec(e){b(e),N(t=>Math.max(t,e)),I(""),requestAnimationFrame(()=>{var e;return null==(e=eo.current)?void 0:e.focus({preventScroll:!0})})}function el(){try{let e={};try{let t=JSON.parse(localStorage.getItem(u)||"{}");t&&"object"==typeof t&&!Array.isArray(t)&&(e=t)}catch(e){}return localStorage.setItem(u,JSON.stringify({...e,...S,name:T.slice(0,40),userName:E.slice(0,60)})),er(!1),!0}catch(e){return er(!0),I("Browser storage is unavailable. Your preferences could not be saved."),!1}}async function ed(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(!t||W)return!1;z(!0),I("");try{let t=i(P.website);F("website",t);let a=await fetch(r.n+"/v1/auth/profile",{method:"POST",credentials:"include",headers:{"content-type":"application/json"},body:JSON.stringify({name:E,workspace:T,...o(P),website:t,complete:e}),signal:AbortSignal.timeout(15e3)}),n=await a.json();if(!a.ok)throw Error(404===a.status?"Account setup is not available on this API yet. Please try again after the API is updated.":n.error||"Could not save your details. Try again.");return s(n.user),!0}catch(e){return I(e instanceof Error?e.message:"Could not save your details. Try again."),!1}finally{z(!1)}}async function eu(){!t||D||$||W||await ed(!0)&&(el(),location.assign(X.length?"/dashboard/#environment":"/dashboard/#home"))}async function ep(e){if(e.preventDefault(),!D&&!B&&t){M(!0),K("");try{let e=await fetch(r.n+"/v1/auth/device/approve",{method:"POST",credentials:"include",headers:{"content-type":"application/json"},body:JSON.stringify({userCode:J.trim().toUpperCase()}),signal:AbortSignal.timeout(15e3)}),t=await e.json();if(!e.ok)throw Error(t.error||"Could not connect your terminal. Try again.");try{sessionStorage.removeItem(l)}catch(e){}U(!0),Y(""),K("Terminal connected. Init is syncing your project; this page will update automatically.")}catch(e){K(e instanceof Error?e.message:"Could not connect your terminal.")}finally{M(!1)}}}async function eh(){if(!$&&t){V(!0),Q("");try{let e=await fetch(r.n+"/v1/projects",{credentials:"include",signal:AbortSignal.timeout(15e3)});if(!e.ok)throw Error("Could not check your projects. Try again.");let t=await e.json();if(!Array.isArray(t.projects))throw Error("Could not load your projects. Try again.");Z(t.projects),et(!0),Q(t.projects.length?"Your project is in your workspace.":"Keep init running until it says Setup complete. Discovery syncs here automatically; no terminal menu is required.")}catch(e){Q(e instanceof Error?e.message:"Could not check your projects.")}finally{V(!1)}}}async function em(e){try{await navigator.clipboard.writeText(e),ea(e),I("Command copied. Run it in your project’s terminal.")}catch(e){I("Select the command and copy it into your terminal.")}}return(0,n.useEffect)(()=>{let e=new URLSearchParams(location.hash.slice(1)).get("user_code"),t=null;try{e&&/^[A-F0-9]{10}$/.test(e)?(t={code:e,expires:Date.now()+6e5},sessionStorage.setItem(l,JSON.stringify(t))):t=JSON.parse(sessionStorage.getItem(l)||"null")}catch(s){e&&(t={code:e,expires:Date.now()+6e5})}if(t&&/^[A-F0-9]{10}$/.test(t.code||"")&&Number(t.expires)>Date.now())Y(t.code),q(!0),b(2),N(2);else try{sessionStorage.removeItem(l)}catch(e){}e&&history.replaceState(null,"",location.pathname+location.search)},[]),(0,n.useEffect)(()=>{try{let e=JSON.parse(localStorage.getItem(u)||"null");e&&C({artwork:"afternoon",compact:!0===e.compact,autoRefresh:!1!==e.autoRefresh,reduceMotion:!0===e.reduceMotion})}catch(e){}},[]),(0,n.useEffect)(()=>{let e=new AbortController;return v(""),fetch(r.n+"/v1/auth/me",{credentials:"include",signal:AbortSignal.any([e.signal,AbortSignal.timeout(15e3)])}).then(async e=>{var t;if(401===e.status)return void location.replace("/login/?next=onboarding");if(!e.ok)throw Error();let a=(await e.json()).user;if(s(a),O(a.name),L(a.workspace),R(o(a.workspaceProfile)),null==(t=a.workspaceProfile)?void 0:t.completedAt){b(2),N(2);try{localStorage.removeItem(d(a.accountId))}catch(e){}}else if(a.accountId)try{let e=JSON.parse(localStorage.getItem(d(a.accountId))||"null");if((null==e?void 0:e.accountId)===a.accountId&&e.expires>Date.now()&&"string"==typeof e.name&&e.name.length<=100&&"string"==typeof e.workspace&&e.workspace.length<=100&&e.context&&["company","website","role","teamSize","useCase"].every(t=>"string"==typeof e.context[t])&&Number.isInteger(e.step)&&e.step>=0&&e.step<=2&&Number.isInteger(e.furthest)&&e.furthest>=e.step&&e.furthest<=2){O(e.name),L(e.workspace),R(o(e.context));let t=!1;try{let e=JSON.parse(sessionStorage.getItem(l)||"null");t=(null==e?void 0:e.expires)>Date.now()&&/^[A-F0-9]{10}$/.test((null==e?void 0:e.code)||"")}catch(e){}t||(b(e.step),N(e.furthest))}}catch(e){er(!0)}}).catch(()=>{e.signal.aborted||v("Your account could not be loaded. Try again to continue setup.")}),()=>e.abort()},[w]),(0,n.useEffect)(()=>{var e;if((null==t?void 0:t.accountId)&&(null==(e=t.workspaceProfile)||!e.completedAt))try{localStorage.setItem(d(t.accountId),JSON.stringify({accountId:t.accountId,name:E,workspace:T,context:o(P),step:f,furthest:k,expires:Date.now()+6048e5}))}catch(e){er(!0)}},[t,E,T,P,f,k]),(0,n.useEffect)(()=>{if(!t)return;let e=new AbortController,s=!1,a=async()=>{if("hidden"!==document.visibilityState&&!s){s=!0;try{2===f&&"http://localhost:8080"===r.n&&await fetch(r.n+"/v1/dev/workspace",{method:"POST",credentials:"include",headers:{"content-type":"application/json"},body:"{}",signal:AbortSignal.any([e.signal,AbortSignal.timeout(2e3)])}).catch(()=>{});let t=await fetch(r.n+"/v1/projects",{credentials:"include",signal:AbortSignal.any([e.signal,AbortSignal.timeout(1e4)])});if(!t.ok)return void Q("Could not check your project connection. Try again.");let s=await t.json();!e.signal.aborted&&Array.isArray(s.projects)&&(Z(s.projects),et(!0),s.projects.length&&Q("Your project is in your workspace."))}catch(e){}finally{s=!1}}};a();let n=2===f?setInterval(()=>{a()},3e3):void 0;return document.addEventListener("visibilitychange",a),()=>{e.abort(),clearInterval(n),document.removeEventListener("visibilitychange",a)}},[f,null==t?void 0:t.email]),(0,a.jsxs)("main",{className:"onboarding-page onboarding-san-francisco".concat(S.reduceMotion?" onboarding-still":""),style:{"--setup-scene":"url('assets/dashboard/".concat(p[ei],"')")},children:[(0,a.jsx)("div",{className:"onboarding-backdrop","aria-hidden":"true"}),(0,a.jsxs)("section",{className:"onboarding-shell","aria-labelledby":"onboarding-title",children:[(0,a.jsxs)("header",{className:"onboarding-header",children:[(0,a.jsxs)("a",{className:"auth-brand",href:"/","aria-label":"AgentTwin home",children:[(0,a.jsx)("img",{src:"assets/logo/mark-twin-rings.svg",width:"26",height:"26",alt:""}),"AgentTwin"]}),(0,a.jsxs)("a",{href:"/docs/workflow/",children:["Need a hand? ",(0,a.jsx)(g,{})]})]}),(0,a.jsxs)("div",{className:"onboarding-content".concat(0===f?" onboarding-welcome":""),children:[(0,a.jsxs)("div",{className:"onboarding-controls",children:[(0,a.jsxs)("div",{className:"onboarding-greeting",children:[(0,a.jsx)("p",{children:T||"Your workspace"}),(0,a.jsx)("h1",{id:"onboarding-title",children:t?"Welcome, ".concat(t.name.trim().split(/\s+/)[0],"."):"Set up your workspace."})]}),!t&&!x&&(0,a.jsx)("p",{className:"setup-help",role:"status",children:"Loading your account…"}),x&&(0,a.jsxs)("div",{className:"onboarding-account-error",role:"alert",children:[(0,a.jsx)("p",{children:x}),(0,a.jsx)("button",{type:"button",onClick:()=>y(e=>e+1),children:"Try again"})]}),(0,a.jsx)("ol",{className:"setup-steps","aria-label":"Workspace setup",children:h.map((e,s)=>{var n,r;return(0,a.jsxs)("li",{className:"setup-step".concat(f===s?" active":"").concat(s<k?" visited":""),children:[(0,a.jsx)("h2",{children:(0,a.jsxs)("button",{type:"button",ref:f===s?eo:void 0,className:"setup-step-heading",onClick:()=>ec(s),disabled:s>k||D||$||W||!t,"aria-expanded":f===s,"aria-controls":"setup-panel-".concat(s),"aria-current":f===s?"step":void 0,children:[(0,a.jsx)("span",{className:"setup-step-number",children:s<k&&s!==f?(0,a.jsx)(j,{}):s+1}),e,s<k&&s!==f&&(0,a.jsx)("span",{className:"setup-edit",children:"Edit"})]})}),(0,a.jsxs)("div",{id:"setup-panel-".concat(s),className:"setup-step-panel",hidden:f!==s,children:[0===s&&(0,a.jsxs)("form",{className:"setup-profile-form",onSubmit:async e=>{e.preventDefault(),await ed()&&ec(1)},children:[(0,a.jsx)("p",{children:"Tell your team who you are."}),(0,a.jsxs)("label",{htmlFor:"setup-name",children:["Full name",(0,a.jsx)("input",{id:"setup-name",autoComplete:"name",value:E,onChange:e=>O(e.target.value),maxLength:100,required:!0,disabled:!t||W})]}),(0,a.jsxs)("label",{htmlFor:"setup-email",children:["Account email",(0,a.jsx)("input",{id:"setup-email",type:"email",value:(null==t?void 0:t.email)||"",readOnly:!0,autoComplete:"email"})]}),(0,a.jsxs)("label",{htmlFor:"setup-role",children:["Job title ",(0,a.jsx)("span",{children:"Optional"}),(0,a.jsx)("input",{id:"setup-role",autoComplete:"organization-title",value:P.role,onChange:e=>F("role",e.target.value),maxLength:100,disabled:!t||W,placeholder:"e.g. Platform engineer"})]}),(0,a.jsxs)("button",{type:"submit",className:"setup-primary",disabled:!t||W,children:[W?"Saving…":"Continue"," ",(0,a.jsx)(g,{})]})]}),1===s&&(0,a.jsxs)("form",{className:"setup-profile-form",onSubmit:async e=>{e.preventDefault(),await ed()&&(el(),ec(2))},children:[(0,a.jsx)("p",{children:"Name the workspace for your application and test results."}),(0,a.jsx)("p",{className:"setup-help",children:en?"Browser storage is unavailable. Save workspace to keep your details.":"Your draft stays on this device when you refresh. Save workspace to save it to your account."}),(0,a.jsxs)("label",{htmlFor:"setup-workspace",children:["Workspace name",(0,a.jsx)("input",{id:"setup-workspace",value:T,onChange:e=>L(e.target.value),required:!0,maxLength:100,disabled:!t||W,placeholder:"e.g. Acme engineering"})]}),(0,a.jsxs)("label",{htmlFor:"setup-website",children:["Company website ",(0,a.jsx)("span",{children:"Optional"}),(0,a.jsx)("input",{id:"setup-website",type:"text",inputMode:"url",autoComplete:"url",value:P.website,onChange:e=>F("website",e.target.value),onBlur:e=>{try{F("website",i(e.target.value))}catch(e){}},maxLength:254,placeholder:"https://example.com",disabled:!t||W})]}),(0,a.jsxs)("label",{htmlFor:"setup-size",children:["Team size ",(0,a.jsx)("span",{children:"Optional"}),(0,a.jsxs)("select",{id:"setup-size",value:P.teamSize,onChange:e=>F("teamSize",e.target.value),disabled:!t||W,children:[(0,a.jsx)("option",{value:"",children:"Select team size"}),["1","2–10","11–50","51–200","201–1000","1000+"].map(e=>(0,a.jsx)("option",{value:e,children:"1"===e?"Just me":e+" people"},e))]})]}),(0,a.jsxs)("details",{className:"setup-appearance",children:[(0,a.jsx)("summary",{children:"Appearance and accessibility"}),(0,a.jsxs)("fieldset",{className:"setup-choice",children:[(0,a.jsx)("legend",{children:"Layout"}),(0,a.jsx)("div",{className:"setup-segmented",children:[{label:"Comfortable",value:!1},{label:"Compact",value:!0}].map(e=>(0,a.jsxs)("label",{children:[(0,a.jsx)("input",{type:"radio",name:"setup-density",checked:S.compact===e.value,onChange:()=>C(t=>({...t,compact:e.value}))}),(0,a.jsx)("span",{children:e.label})]},e.label))})]}),(0,a.jsxs)("fieldset",{className:"setup-choice",children:[(0,a.jsx)("legend",{children:"Background"}),(0,a.jsx)("div",{className:"setup-scenes",children:["auto","morning","afternoon","evening"].map(e=>(0,a.jsxs)("label",{children:[(0,a.jsx)("input",{type:"radio",name:"setup-artwork",checked:S.artwork===e,onChange:()=>C(t=>({...t,artwork:e}))}),(0,a.jsx)("span",{className:"setup-scene-swatch".concat("auto"===e?" automatic":""),style:"auto"!==e?{backgroundImage:"url('assets/dashboard/".concat(p[e],"')")}:void 0,children:"auto"===e&&(0,a.jsxs)("svg",{viewBox:"0 0 24 24",fill:"none","aria-hidden":"true",children:[(0,a.jsx)("circle",{cx:"12",cy:"12",r:"7",stroke:"currentColor",strokeWidth:"1.5"}),(0,a.jsx)("path",{d:"M12 8v4l3 2",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round"})]})}),(0,a.jsx)("span",{children:"auto"===e?"Automatic":e[0].toUpperCase()+e.slice(1)})]},e))}),(0,a.jsx)("p",{className:"setup-help",children:"auto"===S.artwork?"Changes with your local time.":"Keep this scene throughout the day."})]}),(0,a.jsxs)("div",{className:"setup-toggle-list",children:[(0,a.jsxs)("label",{children:[(0,a.jsxs)("span",{children:[(0,a.jsx)("strong",{children:"Live updates"}),(0,a.jsx)("small",{children:"Keep projects and test results up to date."})]}),(0,a.jsx)("input",{type:"checkbox",role:"switch",checked:S.autoRefresh,onChange:e=>C(t=>({...t,autoRefresh:e.target.checked}))})]}),(0,a.jsxs)("label",{children:[(0,a.jsxs)("span",{children:[(0,a.jsx)("strong",{children:"Reduce motion"}),(0,a.jsx)("small",{children:"Use fewer animations and transitions."})]}),(0,a.jsx)("input",{type:"checkbox",role:"switch",checked:S.reduceMotion,onChange:e=>C(t=>({...t,reduceMotion:e.target.checked}))})]})]})]}),(0,a.jsxs)("button",{type:"submit",className:"setup-primary",disabled:!t||W,children:[W?"Saving…":"Save workspace"," ",(0,a.jsx)(g,{})]})]}),2===s&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("p",{className:"setup-connect-intro",children:"Run one command in your repository."}),(0,a.jsxs)("div",{className:"setup-terminal",children:[(0,a.jsxs)("div",{className:"setup-command-label",children:[(0,a.jsx)("span",{children:"01"}),(0,a.jsx)("strong",{children:"Discover and connect"}),B&&(0,a.jsxs)("span",{className:"setup-connected",children:[(0,a.jsx)(j,{}),"Connected"]})]}),(r="npx agenttwin init",(0,a.jsxs)("div",{className:"setup-command",children:[(0,a.jsx)("code",{children:r}),(0,a.jsx)("button",{type:"button",onClick:()=>em(r),"aria-label":"Copy ".concat(r),children:es===r?(0,a.jsx)(j,{}):(0,a.jsxs)("svg",{viewBox:"0 0 20 20",fill:"none","aria-hidden":"true",children:[(0,a.jsx)("rect",{x:"7",y:"7",width:"9",height:"10",rx:"2",stroke:"currentColor",strokeWidth:"1.4"}),(0,a.jsx)("path",{d:"M12 7V5a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2h2",stroke:"currentColor",strokeWidth:"1.4"})]})})]})),(0,a.jsx)("p",{className:"setup-help",children:"Init discovers your application and syncs its services, code paths and available test results here. Approve this terminal once if asked. You can continue in this browser as soon as syncing finishes."}),!B&&(0,a.jsxs)("details",{className:"setup-pairing",open:_||!!(null==t||null==(n=t.workspaceProfile)?void 0:n.completedAt),children:[(0,a.jsx)("summary",{children:_?"Confirm your terminal connection":"I have a terminal code"}),(0,a.jsxs)("form",{onSubmit:ep,children:[(0,a.jsxs)("label",{htmlFor:"setup-terminal-code",children:["Connection code",(0,a.jsx)("input",{id:"setup-terminal-code",name:"userCode",value:J,onChange:e=>Y(e.target.value.toUpperCase()),autoComplete:"off",autoCapitalize:"characters",spellCheck:!1,placeholder:"10-character code",minLength:10,maxLength:10,pattern:"[A-Fa-f0-9]{10}",required:!0,disabled:!t||D})]}),(0,a.jsx)("button",{type:"submit",className:"setup-secondary",disabled:!t||D,children:D?"Connecting…":"Connect terminal"})]}),(0,a.jsx)("p",{className:"setup-help",children:"Compare this code with your terminal before approving. Connecting lets it sync project discovery and test evidence to your workspace. Application source and credentials stay local."})]}),H&&(0,a.jsx)("p",{className:"setup-feedback",role:"status",children:H})]}),(0,a.jsx)("p",{className:"setup-help",role:"status",children:X.length?"Project connected.":B?"Terminal connected. Waiting for init to finish syncing your project…":"Waiting for init. This page updates automatically."}),(0,a.jsxs)("button",{type:"button",className:"setup-secondary setup-check",onClick:eh,disabled:!t||$,children:[$?"Checking…":X.length?"Check again":"Refresh connection",!$&&(0,a.jsx)(g,{})]}),G&&(0,a.jsx)("p",{className:"setup-feedback",role:"status",children:G}),X.map(e=>(0,a.jsxs)("div",{className:"setup-project",children:[(0,a.jsx)(j,{}),(0,a.jsxs)("div",{children:[(0,a.jsx)("strong",{children:e.name}),(0,a.jsxs)("span",{children:[e.tools," resource",1===e.tools?"":"s"," \xb7 ",e.workflows," workflow candidate",1===e.workflows?"":"s"]})]})]},e.name)),(0,a.jsxs)("div",{className:"setup-finish",children:[(0,a.jsxs)("button",{type:"button",className:"setup-primary",onClick:eu,disabled:!t||$||D||W,children:[W?"Saving…":X.length?"Open my workspace":"Connect later"," ",(0,a.jsx)(g,{})]}),!X.length&&(0,a.jsx)("p",{children:"Connect a project later from your workspace."}),en&&(0,a.jsx)("a",{href:"/dashboard/#home",children:"Open workspace without saving"})]})]})]})]},e)})}),(0,a.jsx)("p",{className:"setup-notice",role:"status","aria-live":"polite",children:A})]}),(0,a.jsxs)("aside",{className:"setup-preview".concat(S.compact?" compact":""),"aria-label":"Live workspace preview",children:[(0,a.jsxs)("div",{className:"setup-preview-heading",children:[(0,a.jsx)("span",{children:"Workspace preview"}),(0,a.jsx)("span",{className:"setup-preview-scene",children:ei[0].toUpperCase()+ei.slice(1)})]}),(0,a.jsxs)("div",{className:"setup-preview-window dashboard-preview",children:[(0,a.jsxs)("div",{className:"setup-preview-nav",children:[(0,a.jsx)("img",{src:"assets/logo/mark-twin-rings.svg",width:"18",height:"18",alt:""}),(0,a.jsx)("strong",{children:"AgentTwin"}),(0,a.jsx)("span",{className:"setup-preview-avatar",children:E?E[0].toUpperCase():"A"})]}),(0,a.jsx)("div",{className:"preview-navigation","aria-label":"Dashboard navigation preview",children:["Home","Environment","Workflows","Runs","Settings"].map(e=>(0,a.jsx)("span",{className:"Home"===e?"selected":void 0,children:e},e))}),(0,a.jsxs)("div",{className:"setup-preview-hero",children:[(0,a.jsx)("h3",{children:"What should your agent test?"}),(0,a.jsxs)("div",{className:"setup-preview-composer",children:[(0,a.jsx)("span",{children:"Ask about a workflow or test result"}),(0,a.jsx)("span",{"aria-hidden":"true",children:"↑"}),(0,a.jsx)("span",{className:"preview-microphone","aria-hidden":"true",children:(0,a.jsxs)("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.6",children:[(0,a.jsx)("rect",{x:"9",y:"3",width:"6",height:"12",rx:"3"}),(0,a.jsx)("path",{d:"M5 10v2a7 7 0 0 0 14 0v-2M12 19v3"})]})})]})]}),(0,a.jsxs)("div",{className:"preview-dashboard-body",children:[(0,a.jsxs)("div",{className:"preview-connect-banner",children:[(0,a.jsxs)("div",{children:[(0,a.jsx)("strong",{children:(null==(e=X[0])?void 0:e.name)||"Connect your project"}),(0,a.jsx)("p",{children:X[0]?"".concat(X[0].tools," resources \xb7 ").concat(X[0].workflows," workflow candidates"):"Start in your repository with npx agenttwin init."})]}),(0,a.jsxs)("span",{className:"preview-action",children:[X.length?"View project":"Connect project"," ",(0,a.jsx)(g,{})]})]}),(0,a.jsxs)("div",{className:"preview-workspace-heading",children:[(0,a.jsx)("span",{children:T||"Your workspace"}),(0,a.jsx)("span",{children:"⊞ Customize"})]}),(0,a.jsxs)("div",{className:"preview-widget-grid",children:[(0,a.jsxs)("div",{children:[(0,a.jsx)("strong",{children:"Project discovery"}),(0,a.jsx)("p",{children:X[0]?"".concat(X[0].name,": ").concat(X[0].tools," detected resources."):"Connect and sync your project to see its resources and workflow candidates."})]}),(0,a.jsxs)("div",{children:[(0,a.jsx)("strong",{children:"Test results"}),(0,a.jsx)("p",{children:"Run receipts, assertions and recorded state changes appear here after a test."})]}),(0,a.jsxs)("div",{children:[(0,a.jsx)("strong",{children:"Git activity"}),(0,a.jsx)("p",{children:"Repository commits and workflow changes."}),(0,a.jsx)("code",{children:"npx agenttwin init"})]}),(0,a.jsxs)("div",{children:[(0,a.jsx)("strong",{children:"Observed activities"}),(0,a.jsx)("p",{children:"Reads, writes, retries and injected failures recorded during a run."})]}),(0,a.jsxs)("div",{children:[(0,a.jsx)("strong",{children:"Working now"}),(0,a.jsx)("p",{children:"Follow the progress of running workflow tests."})]}),(0,a.jsxs)("div",{children:[(0,a.jsx)("strong",{children:"Needs attention"}),(0,a.jsx)("p",{children:"Inspect failed checks and the evidence behind them."})]}),(0,a.jsxs)("div",{children:[(0,a.jsx)("strong",{children:"Last execution"}),(0,a.jsx)("p",{children:"The tested revision, runtime and outcome of your latest run."})]}),(0,a.jsxs)("div",{children:[(0,a.jsx)("strong",{children:"Test readiness"}),(0,a.jsx)("p",{children:"Review dependencies, inputs and required outcomes."})]})]})]})]}),(0,a.jsx)("p",{className:"setup-preview-caption",children:2===f?X.length?"Project found. You can start reviewing workflows.":ee?"Your project appears here after its first sync.":"Connect your own project when you’re ready.":"Your application, its test world and the evidence from each run."})]})]}),(0,a.jsxs)("footer",{className:"onboarding-footer",children:[(0,a.jsxs)("span",{children:[f+1," of 3"]}),(0,a.jsx)("span",{children:"Profile and workspace save to your account."})]})]})]})}},9204:()=>{},9786:()=>{}},e=>{e.O(0,[527,2915,1757,3023,4177,9029,7358],()=>e(e.s=5320)),_N_E=e.O()}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8974],{846:(e,t,a)=>{"use strict";a.d(t,{default:()=>i});var r=a(3529),n=a(1869);function i(){let[e,t]=(0,n.useState)("javascript"),[a,i]=(0,n.useState)(""),s="python"===e,o="npx agenttwin";async function l(){try{await navigator.clipboard.writeText(o),i("Command copied.")}catch(e){i("Select the command above to copy it.")}}return(0,r.jsxs)("div",{className:"init-command-picker",children:[(0,r.jsxs)("div",{className:"init-language-options",role:"group","aria-label":"Choose your project language",children:[(0,r.jsx)("button",{type:"button","aria-pressed":!s,onClick:()=>{t("javascript"),i("")},children:"JavaScript / TypeScript"}),(0,r.jsx)("button",{type:"button","aria-pressed":s,onClick:()=>{t("python"),i("")},children:"Python"})]}),(0,r.jsxs)("div",{className:"init-command-row",children:[(0,r.jsx)("span",{className:"init-prompt","aria-hidden":"true",children:"$"}),(0,r.jsx)("pre",{className:"init-command",children:(0,r.jsx)("code",{children:o})}),(0,r.jsx)("button",{type:"button",className:"init-copy",onClick:l,"aria-label":"Copy ".concat(o),children:"Command copied."===a?"Copied":"Copy"})]}),(0,r.jsxs)("div",{className:"init-command-footer",children:[(0,r.jsx)("p",{className:"init-command-status",role:"status",children:a||(s?"Python projects use the same command. Needs Node.js (any version).":"Works with any Node.js version.")}),(0,r.jsxs)("a",{href:"/docs/quickstart/",children:["Setup guide ",(0,r.jsx)("span",{"aria-hidden":"true",children:"↗"})]})]})]})}},1062:(e,t,a)=>{"use strict";a.d(t,{default:()=>h});var r=a(3529),n=a(1869);let i="assets/video/agenttwin-hero",s=e=>"".concat(Math.floor(e/60),":").concat(String(Math.floor(e%60)).padStart(2,"0"));function o(){let e=(0,n.useRef)(null),[t,a]=(0,n.useState)(!0),[o,l]=(0,n.useState)(!1),[d,c]=(0,n.useState)(0),[h,u]=(0,n.useState)(0),m=(0,n.useRef)(!1),[p,v]=(0,n.useState)(!1),f=(0,n.useRef)(void 0),g=()=>{v(!0),clearTimeout(f.current),f.current=setTimeout(()=>{var t;(null==(t=e.current)?void 0:t.paused)||v(!1)},3500)};(0,n.useEffect)(()=>()=>clearTimeout(f.current),[]),(0,n.useEffect)(()=>{let t=e.current;if(!t)return;let a=matchMedia("(prefers-reduced-motion: reduce)").matches,r=!1,n=()=>{!r||document.hidden||m.current||a?t.paused||t.pause():t.play().catch(()=>{})},i=new IntersectionObserver(e=>{let[t]=e;r=t.isIntersecting,n()},{threshold:.35});i.observe(t),document.addEventListener("visibilitychange",n);let s=()=>l(!0),o=()=>l(!1),d=()=>c(t.currentTime),h=()=>u(t.duration||0);return t.addEventListener("play",s),t.addEventListener("pause",o),t.addEventListener("timeupdate",d),t.addEventListener("loadedmetadata",h),t.readyState>=1&&h(),()=>{i.disconnect(),document.removeEventListener("visibilitychange",n),t.removeEventListener("play",s),t.removeEventListener("pause",o),t.removeEventListener("timeupdate",d),t.removeEventListener("loadedmetadata",h)}},[]);let x=t=>{let a=e.current;a&&(a.currentTime=t,c(t))};return(0,r.jsxs)("div",{className:"hero-capture hero-video",children:[(0,r.jsxs)("video",{ref:e,muted:!0,loop:!0,playsInline:!0,preload:"metadata",poster:"".concat(i,"-poster.webp"),width:1920,height:1080,"aria-label":"AgentTwin product film: an agent's services become digital twins, a failure is introduced, fixed, and saved as a test",onClick:g,children:[(0,r.jsx)("source",{src:"".concat(i,"-540.mp4"),type:"video/mp4",media:"(max-width: 767px)"}),(0,r.jsx)("source",{src:"".concat(i,"-1080.mp4"),type:"video/mp4"})]}),(0,r.jsxs)("div",{className:"hero-video-controls","data-open":p||void 0,onPointerMove:p?g:void 0,onFocus:g,children:[p&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("button",{type:"button",onClick:()=>{let t=e.current;t&&(t.paused?(m.current=!1,t.play().catch(()=>{})):(m.current=!0,t.pause()))},"aria-label":o?"Pause video":"Play video",children:o?(0,r.jsxs)("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true",children:[(0,r.jsx)("rect",{x:"6",y:"5",width:"4",height:"14",rx:"1"}),(0,r.jsx)("rect",{x:"14",y:"5",width:"4",height:"14",rx:"1"})]}):(0,r.jsx)("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true",children:(0,r.jsx)("path",{d:"M7 4.5v15a1 1 0 0 0 1.5.86l12-7.5a1 1 0 0 0 0-1.72l-12-7.5A1 1 0 0 0 7 4.5Z"})})}),(0,r.jsx)("button",{type:"button",onClick:()=>{var t;x(0),m.current=!1,null==(t=e.current)||t.play().catch(()=>{})},"aria-label":"Restart video",children:(0,r.jsxs)("svg",{width:"15",height:"15",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.8",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",children:[(0,r.jsx)("path",{d:"M3 12a9 9 0 1 0 3-6.7L3 8"}),(0,r.jsx)("path",{d:"M3 3v5h5"})]})}),(0,r.jsxs)("label",{className:"hero-video-seek",children:[(0,r.jsx)("span",{className:"sr-only",children:"Seek video"}),(0,r.jsx)("input",{type:"range",min:0,max:h||0,step:.1,value:Math.min(d,h||0),onChange:e=>x(Number(e.currentTarget.value)),"aria-valuetext":"".concat(s(d)," of ").concat(s(h)),style:{"--seek":h?"".concat(d/h*100,"%"):"0%"}})]}),(0,r.jsxs)("span",{className:"hero-video-time","aria-hidden":"true",children:[s(d)," / ",s(h)]})]}),(0,r.jsx)("button",{type:"button",className:"hero-video-sound",onClick:()=>{let t=e.current;t&&(t.muted=!t.muted,a(t.muted),!t.muted&&t.paused&&(m.current=!1,t.play().catch(()=>{})))},"aria-label":t?"Turn sound on":"Turn sound off",children:t?(0,r.jsxs)("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.8",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",children:[(0,r.jsx)("path",{d:"M11 5 6 9H3v6h3l5 4V5Z"}),(0,r.jsx)("path",{d:"m22 9-6 6M16 9l6 6"})]}):(0,r.jsxs)("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.8",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",children:[(0,r.jsx)("path",{d:"M11 5 6 9H3v6h3l5 4V5Z"}),(0,r.jsx)("path",{d:"M15.5 8.5a5 5 0 0 1 0 7M19 5a10 10 0 0 1 0 14"})]})})]})]})}async function l(e){var t;if(null==(t=navigator.clipboard)?void 0:t.writeText)try{await navigator.clipboard.writeText(e);return}catch(e){}let a=document.createElement("textarea");a.value=e,a.readOnly=!0,a.tabIndex=-1,a.style.cssText="position:fixed;top:0;left:0;opacity:0;pointer-events:none",document.body.append(a),a.select();try{if(!document.execCommand("copy"))throw Error("Copy unavailable")}finally{a.remove()}}function d(){let[e,t]=(0,n.useState)("idle"),a=(0,n.useRef)(!1),i=(0,n.useRef)(void 0),s=(0,n.useCallback)(async e=>{let r=e.currentTarget;if(!a.current){a.current=!0,clearTimeout(i.current),t("idle");try{await l(r.querySelector("code").textContent.trim()),t("success"),i.current=setTimeout(()=>t("idle"),3e3)}catch(e){t("error")}finally{a.current=!1}}},[]);return(0,r.jsxs)("div",{className:"command-action",children:[(0,r.jsxs)("button",{className:"button button-outline button-command",type:"button","aria-label":"Copy npx agenttwin",title:"Copy command","data-copy-state":"idle"===e?void 0:e,onClick:s,children:[(0,r.jsxs)("span",{className:"pearl-spark","aria-hidden":"true",children:[(0,r.jsx)("span",{children:"✧"}),(0,r.jsx)("span",{children:"✦"})]}),(0,r.jsx)("code",{children:"npx agenttwin"}),(0,r.jsxs)("svg",{className:"copy-icon",width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.6",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",children:[(0,r.jsx)("rect",{x:"8",y:"8",width:"12",height:"12",rx:"2"}),(0,r.jsx)("path",{d:"M16 8V4a1 1 0 0 0-1-1H4a1 1 0 0 0-1 1v11a1 1 0 0 0 1 1h4"})]}),(0,r.jsx)("svg",{className:"copy-done",width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.8",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",children:(0,r.jsx)("path",{d:"m5 12 4 4L19 6"})})]}),(0,r.jsx)("span",{className:"copy-feedback",role:"status","aria-live":"polite","aria-atomic":"true",children:"success"===e?"Copied!":"error"===e?"Copy unavailable. Select the command to copy it.":""})]})}function c(e){let{text:t,offset:a=0}=e;return t.split(" ").map((e,t)=>(0,r.jsxs)(n.Fragment,{children:[t>0?" ":null,(0,r.jsx)("span",{className:"hero-word".concat("Twins"===e?" text-emphasis":""),style:{"--word-order":a+t},children:e})]},e))}function h(){let e=(0,n.useRef)(null),t=(0,n.useRef)(null);return(0,n.useEffect)(()=>{let a=e.current,r=t.current,n=null==a?void 0:a.getContext("2d");if(!a||!r||!n)return;let i=matchMedia("(prefers-reduced-motion: reduce)"),s=(e,t)=>{let a=document.createElement("canvas");return a.width=a.height=e,t(a.getContext("2d"),e),a},o=s(64,(e,t)=>{let a=e.createRadialGradient(t/2,t/2,0,t/2,t/2,t/2);a.addColorStop(0,"rgba(255,255,255,.85)"),a.addColorStop(.16,"rgba(255,255,255,.32)"),a.addColorStop(.45,"rgba(255,255,255,.08)"),a.addColorStop(1,"rgba(255,255,255,0)"),e.fillStyle=a,e.fillRect(0,0,t,t)}),l=s(64,(e,t)=>{let a=t/2;for(let r of[0,Math.PI/2]){e.save(),e.translate(a,a),e.rotate(r);let n=e.createLinearGradient(-a,0,a,0);n.addColorStop(0,"rgba(255,255,255,0)"),n.addColorStop(.5,"rgba(255,255,255,.9)"),n.addColorStop(1,"rgba(255,255,255,0)"),e.fillStyle=n,e.fillRect(-a,-.75,t,1.5),e.restore()}e.globalCompositeOperation="destination-in";let r=e.createRadialGradient(a,a,0,a,a,a);r.addColorStop(0,"rgba(0,0,0,1)"),r.addColorStop(1,"rgba(0,0,0,0)"),e.fillStyle=r,e.fillRect(0,0,t,t)}),d=0,c=0,h=0,u=!0,m=0,p=[],v=e=>{for(let t of(n.clearRect(0,0,d,c),n.globalCompositeOperation="lighter",p)){let a=i.matches?.6:.5+.5*Math.sin(e*t.speed+t.phase),r=a*a*(3-2*a),s=t.opacity*(.55+.45*r);if(t.bright){let e=18+26*r;n.globalAlpha=Math.min(1,1.2*s),n.drawImage(o,t.x-e/2,t.y-e/2,e,e);let a=20+32*r;n.globalAlpha=.85*s,n.drawImage(l,t.x-a/2,t.y-a/2,a,a)}else if(t.size>1.3){let e=10+10*r;n.globalAlpha=s,n.drawImage(o,t.x-e/2,t.y-e/2,e,e)}n.globalAlpha=Math.min(1,1.25*s),n.fillStyle="#fff",n.fillRect(t.x,t.y,t.size,t.size)}n.globalAlpha=1,n.globalCompositeOperation="source-over"},f=()=>{let e=a.getBoundingClientRect();d=e.width,c=e.height;let t=Math.min(devicePixelRatio||1,2);a.width=Math.round(d*t),a.height=Math.round(c*t),n.setTransform(t,0,0,t,0,0),p=[];for(let e=3;e<c;e+=8)for(let t=3;t<d;t+=8){let a=Math.max(0,Math.min(1,(1-Math.hypot(Math.min(t,d-t)/(.48*d),e/(1.3*c)))/1.25)),r=a*a*(3-2*a);if(r<=0)continue;let n=Math.abs(43758.5453*Math.sin(12.9898*t+78.233*e)%1);p.push({x:t,y:e,opacity:r*(.5+.5*n),size:n>.985?2.4:n>.9?1.6:1.1,bright:n>.985,phase:n*Math.PI*2,speed:8e-4+7*n%1*.0017})}v(0)},g=e=>{e-m>33&&(v(e),m=e),h=requestAnimationFrame(g)},x=r.querySelector("[data-arc]"),b=()=>{if(null==x||x.classList.toggle("is-paused",!u||document.hidden),cancelAnimationFrame(h),i.matches||!u||document.hidden)return void v(0);h=requestAnimationFrame(g)},y=new ResizeObserver(f);y.observe(a);let j=new IntersectionObserver(e=>{u=e[0].isIntersecting,b()});j.observe(r),document.addEventListener("visibilitychange",b);let w=()=>b();return i.addEventListener("change",w),f(),()=>{cancelAnimationFrame(h),y.disconnect(),j.disconnect(),document.removeEventListener("visibilitychange",b),i.removeEventListener("change",w)}},[e,t]),(0,r.jsxs)("section",{className:"hero","aria-labelledby":"hero-title",ref:t,children:[(0,r.jsxs)("div",{className:"hero-light","aria-hidden":"true",children:[(0,r.jsx)("div",{className:"hero-wash"}),(0,r.jsx)("div",{className:"hero-bloom"}),(0,r.jsx)("div",{className:"hero-halo"}),(0,r.jsx)("div",{className:"hero-horizon"})]}),(0,r.jsx)("canvas",{className:"hero-particles","aria-hidden":"true",ref:e}),(0,r.jsx)("div",{className:"hero-floor","aria-hidden":"true",children:(0,r.jsx)("div",{})}),(0,r.jsxs)("div",{className:"hero-content",children:[(0,r.jsx)("div",{className:"arc-label","aria-hidden":"true","data-arc":"",children:(0,r.jsx)("img",{className:"arc-track","aria-hidden":"true",src:"assets/img/hero-arc.svg?v=inset-loop",width:700,height:700,alt:""})}),(0,r.jsx)("style",{dangerouslySetInnerHTML:{__html:"@media(max-width:600px){.hero h1 .hero-second{display:block}}"}}),(0,r.jsxs)("h1",{id:"hero-title","data-text-reveal":"hero",children:[(0,r.jsx)(c,{text:"Digital Twins for"})," ",(0,r.jsx)("span",{className:"hero-second",children:(0,r.jsx)(c,{text:"testing AI agents.",offset:3})})]}),(0,r.jsxs)("p",{children:["Run your AI agent on a twin of your entire infrastructure.",(0,r.jsx)("br",{className:"mobile-break"})," It finds broken workflows and critical failures, and lets you inject your own."]}),(0,r.jsxs)("div",{className:"actions hero-actions",children:[(0,r.jsxs)("a",{className:"button button-outline",href:"/dashboard/?demo=1",children:["Explore the demo ",(0,r.jsx)("span",{"aria-hidden":"true",children:"\xbb"})]}),(0,r.jsx)("a",{className:"button button-white",href:"https://cal.com/sashanksingh",target:"_blank",rel:"noopener noreferrer",children:"Book a call"}),(0,r.jsx)(d,{})]})]}),(0,r.jsx)(o,{})]})}},2423:()=>{},2508:(e,t,a)=>{"use strict";a.d(t,{default:()=>i});var r=a(3529),n=a(1869);function i(e){let{children:t}=e,a=(0,n.useRef)(null),i=e=>"string"==typeof e||"number"==typeof e?String(e):(0,n.isValidElement)(e)?"true"===e.props["aria-hidden"]?"":i(e.props.children):n.Children.toArray(e).map(i).join(""),s=n.Children.toArray(t).flatMap(e=>{if(!(0,n.isValidElement)(e))return[];let t=n.Children.toArray(e.props.children),a=t.find(e=>(0,n.isValidElement)(e)&&"summary"===e.type),r=t.find(e=>(0,n.isValidElement)(e)&&"p"===e.type);return a&&r?[{"@type":"Question",name:i(a),acceptedAnswer:{"@type":"Answer",text:i(r)}}]:[]});return(0,r.jsxs)("div",{className:"faq-items",ref:a,onToggle:e=>{var t;let r=e.target;r.open&&(null==(t=a.current)||t.querySelectorAll("details").forEach(e=>{e!==r&&(e.open=!1)}))},children:[(0,r.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify({"@context":"https://schema.org","@type":"FAQPage",mainEntity:s}).replace(/</g,"\\u003c")}}),t]})}},3966:(e,t,a)=>{"use strict";a.d(t,{default:()=>n});var r=a(1869);function n(){return(0,r.useEffect)(()=>{var e;let t,a=document.querySelector(".home-page");if(!a)return;let r=!1,n=()=>{r||(t=function(e,t,a,r){let n,i,s=Array.from(e.querySelectorAll("[data-text-reveal]")),o=e.ownerDocument,l=new Set,d=new Map,c=e=>{let t=Array.from(e.querySelectorAll("[data-reveal-word]")),a=function(e){let t=[];return e.map(e=>{let a=t.findIndex(t=>2>Math.abs(t-e));return -1===a&&(a=t.length,t.push(e)),a})}(t.map(e=>e.getBoundingClientRect().top));t.forEach((e,t)=>e.style.setProperty("--reveal-line",String(a[t]))),d.set(e,e.getBoundingClientRect().width)},h=()=>{e.dataset.textMotion="static",s.forEach(e=>{e.dataset.textState="static"}),null==n||n.disconnect(),null==i||i.disconnect(),l.clear()};if(t.matches||!a)return h(),()=>{};e.dataset.textMotion="enabled",s.forEach(e=>{"hero"!==e.dataset.textReveal&&(c(e),e.dataset.textState=e.getBoundingClientRect().top>=o.documentElement.clientHeight?"pending":"static")});let u=e=>{("hero"===e.dataset.textReveal||"pending"===e.dataset.textState)&&(e.dataset.textState="visible")},m=()=>{e.dataset.textPaused=String(o.hidden),o.hidden||l.forEach(u)};m(),n=new a(t=>{"enabled"===e.dataset.textMotion&&t.forEach(e=>{let t=e.target;e.isIntersecting?e.intersectionRatio>=.2&&(l.add(t),t.dataset.textInView="true",o.hidden||u(t)):(l.delete(t),t.dataset.textInView="false","hero"===t.dataset.textReveal&&(t.dataset.textState="ready"))})},{threshold:[0,.2],rootMargin:"0px 0px -8% 0px"}),s.forEach(e=>null==n?void 0:n.observe(e)),r&&(i=new r(t=>{"enabled"===e.dataset.textMotion&&t.forEach(e=>{var t;let{target:a}=e,r=a.getBoundingClientRect().width;1>Math.abs((null!=(t=d.get(a))?t:r)-r)||("visible"===a.dataset.textState&&(a.dataset.textState="static"),c(a))})}),s.filter(e=>"hero"!==e.dataset.textReveal).forEach(e=>null==i?void 0:i.observe(e)));let p=()=>{t.matches&&h()};return o.addEventListener("visibilitychange",m),t.addEventListener("change",p),()=>{t.removeEventListener("change",p),o.removeEventListener("visibilitychange",m),null==n||n.disconnect(),null==i||i.disconnect(),l.clear(),delete e.dataset.textMotion,delete e.dataset.textPaused,s.forEach(e=>{delete e.dataset.textState,delete e.dataset.textInView})}}(a,matchMedia("(prefers-reduced-motion: reduce)"),window.IntersectionObserver,window.ResizeObserver))};return(null==(e=document.fonts)?void 0:e.status)==="loading"?document.fonts.ready.then(n):n(),()=>{r=!0,null==t||t()}},[]),null}},4024:e=>{e.exports={footer:"SiteFooter_footer__aUaTs",content:"SiteFooter_content__1J6Jy",navigation:"SiteFooter_navigation__Zsq8o",main:"SiteFooter_main__EWvbi",brand:"SiteFooter_brand__HyIqL",groups:"SiteFooter_groups__tPgIM",group:"SiteFooter_group__FK9ik",more:"SiteFooter_more__LEh69",bottom:"SiteFooter_bottom__ADU2b",srOnly:"SiteFooter_srOnly__e7DbB"}},5131:(e,t,a)=>{"use strict";a.d(t,{default:()=>l});var r=a(3529),n=a(1869),i=a(9993);function s(){let[e,t]=(0,n.useState)(!1);return(0,n.useEffect)(()=>{t("light"===document.documentElement.dataset.siteTheme)},[]),(0,r.jsxs)("button",{className:"site-theme-toggle",type:"button","aria-label":e?"Switch to dark mode":"Switch to light mode",title:e?"Switch to dark mode":"Switch to light mode",onClick:()=>{let e="light"!==document.documentElement.dataset.siteTheme,a=e?"light":"dark";document.documentElement.dataset.siteTheme=a,t(e);try{localStorage.setItem("agenttwin-site-theme",a)}catch(e){}},children:[(0,r.jsx)(i.gLX,{className:"site-theme-sun",width:20,height:20,"aria-hidden":"true"}),(0,r.jsx)(i.rRK,{className:"site-theme-moon",width:20,height:20,"aria-hidden":"true"})]})}let o=[{href:"/what-is-agenttwin/",label:"Product"},{href:"/#how",label:"How it works"},{href:"/pricing/",label:"Pricing"},{href:"/about/",label:"About"},{href:"/docs/",label:"Docs"},{href:"/blog/",label:"Blog"}];function l(){let[e,t]=(0,n.useState)(!1),a=(0,n.useRef)(null),i=(0,n.useRef)(null);return(0,n.useEffect)(()=>{let e=e=>{var r,n;"Escape"===e.key&&(null==(r=i.current)?void 0:r.querySelector("#navlinks.is-open"))&&(t(!1),null==(n=a.current)||n.focus())},r=e=>{var a;(null==(a=i.current)?void 0:a.contains(e.target))||t(!1)},n=matchMedia("(min-width: 1024px)"),s=()=>t(!1);return document.addEventListener("keydown",e),document.addEventListener("click",r),n.addEventListener("change",s),()=>{document.removeEventListener("keydown",e),document.removeEventListener("click",r),n.removeEventListener("change",s)}},[]),(0,r.jsxs)("header",{className:"site-header",ref:i,children:[(0,r.jsxs)("a",{className:"brand",href:"/","aria-label":"AgentTwin home",children:[(0,r.jsx)("img",{src:"assets/logo/mark-twin-rings.svg?v=white-rings",alt:"","aria-hidden":"true",width:29,height:29}),"AgentTwin"]}),(0,r.jsxs)("nav",{className:"main-nav".concat(e?" is-open":""),id:"navlinks","aria-label":"Main navigation",children:[o.map(e=>(0,r.jsx)("a",{href:e.href,onClick:()=>t(!1),children:e.label},e.href)),(0,r.jsx)("a",{className:"nav-mobile-dashboard",href:"/dashboard/",onClick:()=>t(!1),children:"Open dashboard"})]}),(0,r.jsxs)("div",{className:"nav-actions",children:[(0,r.jsx)("a",{href:"/login/",children:"Sign in"}),(0,r.jsxs)("a",{className:"button button-white button-small",href:"/signup/",children:["Get started ",(0,r.jsx)("span",{"aria-hidden":"true",children:"\xbb"})]})]}),(0,r.jsx)(s,{}),(0,r.jsxs)("button",{className:"menu-toggle",ref:a,type:"button","aria-label":e?"Close menu":"Open menu","aria-expanded":e,"aria-controls":"navlinks",onClick:()=>t(!e),children:[(0,r.jsx)("span",{}),(0,r.jsx)("span",{})]})]})}},6968:(e,t,a)=>{Promise.resolve().then(a.bind(a,2508)),Promise.resolve().then(a.bind(a,1062)),Promise.resolve().then(a.bind(a,3966)),Promise.resolve().then(a.bind(a,846)),Promise.resolve().then(a.bind(a,9140)),Promise.resolve().then(a.bind(a,7830)),Promise.resolve().then(a.t.bind(a,4024,23)),Promise.resolve().then(a.bind(a,5131)),Promise.resolve().then(a.bind(a,9968)),Promise.resolve().then(a.t.bind(a,2423,23))},7830:(e,t,a)=>{"use strict";a.d(t,{default:()=>n});var r=a(1869);function n(){return(0,r.useEffect)(()=>{if(matchMedia("(prefers-reduced-motion: reduce)").matches)return;let e=document.querySelectorAll(".reveal");e.forEach(e=>e.classList.add("is-pending"));let t=new IntersectionObserver(e=>{e.forEach(e=>{e.isIntersecting&&(e.target.classList.remove("is-pending"),t.unobserve(e.target))})},{threshold:.08});return e.forEach(e=>t.observe(e)),()=>t.disconnect()},[]),null}},9140:(e,t,a)=>{"use strict";a.d(t,{default:()=>i});var r=a(3529),n=a(1869);function i(e){let{children:t}=e,a=(0,n.useRef)(null);return(0,n.useEffect)(()=>{let e=a.current;if(!e||e.children.length>1)return;let t=e.firstElementChild;if(!t)return;let r=t.cloneNode(!0);r.setAttribute("aria-hidden","true"),r.querySelectorAll("img").forEach(e=>{e.alt=""}),e.append(r),e.classList.add("is-ready")},[]),(0,r.jsx)("div",{className:"logo-marquee","aria-label":"Potential service coverage",children:(0,r.jsx)("div",{className:"logo-track",ref:a,children:t})})}},9968:(e,t,a)=>{"use strict";a.d(t,{default:()=>n});var r=a(1869);function n(){return(0,r.useEffect)(()=>{let e=[...document.querySelectorAll(".workflow-nav a")],t=new IntersectionObserver(t=>{t.forEach(t=>{t.isIntersecting&&e.forEach(e=>{e.hash==="#".concat(t.target.id)?e.setAttribute("aria-current","step"):e.removeAttribute("aria-current")})})},{rootMargin:"-15% 0px -55% 0px"});return document.querySelectorAll(".workflow-chapter").forEach(e=>t.observe(e)),()=>t.disconnect()},[]),null}}},e=>{e.O(0,[6555,5800,4277,4177,9029,7358],()=>e(e.s=6968)),_N_E=e.O()}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[977,990,1369,2882,3232,4345,6226,6402,6990,7006,7066,8365,9366,9877],{4024:e=>{e.exports={footer:"SiteFooter_footer__aUaTs",content:"SiteFooter_content__1J6Jy",navigation:"SiteFooter_navigation__Zsq8o",main:"SiteFooter_main__EWvbi",brand:"SiteFooter_brand__HyIqL",groups:"SiteFooter_groups__tPgIM",group:"SiteFooter_group__FK9ik",more:"SiteFooter_more__LEh69",bottom:"SiteFooter_bottom__ADU2b",srOnly:"SiteFooter_srOnly__e7DbB"}},5131:(e,t,n)=>{"use strict";n.d(t,{default:()=>l});var a=n(3529),i=n(1869),s=n(9993);function o(){let[e,t]=(0,i.useState)(!1);return(0,i.useEffect)(()=>{t("light"===document.documentElement.dataset.siteTheme)},[]),(0,a.jsxs)("button",{className:"site-theme-toggle",type:"button","aria-label":e?"Switch to dark mode":"Switch to light mode",title:e?"Switch to dark mode":"Switch to light mode",onClick:()=>{let e="light"!==document.documentElement.dataset.siteTheme,n=e?"light":"dark";document.documentElement.dataset.siteTheme=n,t(e);try{localStorage.setItem("agenttwin-site-theme",n)}catch(e){}},children:[(0,a.jsx)(s.gLX,{className:"site-theme-sun",width:20,height:20,"aria-hidden":"true"}),(0,a.jsx)(s.rRK,{className:"site-theme-moon",width:20,height:20,"aria-hidden":"true"})]})}let r=[{href:"/what-is-agenttwin/",label:"Product"},{href:"/#how",label:"How it works"},{href:"/pricing/",label:"Pricing"},{href:"/about/",label:"About"},{href:"/docs/",label:"Docs"},{href:"/blog/",label:"Blog"}];function l(){let[e,t]=(0,i.useState)(!1),n=(0,i.useRef)(null),s=(0,i.useRef)(null);return(0,i.useEffect)(()=>{let e=e=>{var a,i;"Escape"===e.key&&(null==(a=s.current)?void 0:a.querySelector("#navlinks.is-open"))&&(t(!1),null==(i=n.current)||i.focus())},a=e=>{var n;(null==(n=s.current)?void 0:n.contains(e.target))||t(!1)},i=matchMedia("(min-width: 1024px)"),o=()=>t(!1);return document.addEventListener("keydown",e),document.addEventListener("click",a),i.addEventListener("change",o),()=>{document.removeEventListener("keydown",e),document.removeEventListener("click",a),i.removeEventListener("change",o)}},[]),(0,a.jsxs)("header",{className:"site-header",ref:s,children:[(0,a.jsxs)("a",{className:"brand",href:"/","aria-label":"AgentTwin home",children:[(0,a.jsx)("img",{src:"assets/logo/mark-twin-rings.svg?v=white-rings",alt:"","aria-hidden":"true",width:29,height:29}),"AgentTwin"]}),(0,a.jsxs)("nav",{className:"main-nav".concat(e?" is-open":""),id:"navlinks","aria-label":"Main navigation",children:[r.map(e=>(0,a.jsx)("a",{href:e.href,onClick:()=>t(!1),children:e.label},e.href)),(0,a.jsx)("a",{className:"nav-mobile-dashboard",href:"/dashboard/",onClick:()=>t(!1),children:"Open dashboard"})]}),(0,a.jsxs)("div",{className:"nav-actions",children:[(0,a.jsx)("a",{href:"/login/",children:"Sign in"}),(0,a.jsxs)("a",{className:"button button-white button-small",href:"/signup/",children:["Get started ",(0,a.jsx)("span",{"aria-hidden":"true",children:"\xbb"})]})]}),(0,a.jsx)(o,{}),(0,a.jsxs)("button",{className:"menu-toggle",ref:n,type:"button","aria-label":e?"Close menu":"Open menu","aria-expanded":e,"aria-controls":"navlinks",onClick:()=>t(!e),children:[(0,a.jsx)("span",{}),(0,a.jsx)("span",{})]})]})}},8068:(e,t,n)=>{Promise.resolve().then(n.t.bind(n,4024,23)),Promise.resolve().then(n.bind(n,5131))}},e=>{e.O(0,[6555,4277,4177,9029,7358],()=>e(e.s=8068)),_N_E=e.O()}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[977,990,1369,2882,3232,4345,6226,6402,6990,7006,7066,8365,9366,9877],{4024:e=>{e.exports={footer:"SiteFooter_footer__aUaTs",content:"SiteFooter_content__1J6Jy",navigation:"SiteFooter_navigation__Zsq8o",main:"SiteFooter_main__EWvbi",brand:"SiteFooter_brand__HyIqL",groups:"SiteFooter_groups__tPgIM",group:"SiteFooter_group__FK9ik",more:"SiteFooter_more__LEh69",bottom:"SiteFooter_bottom__ADU2b",srOnly:"SiteFooter_srOnly__e7DbB"}},5131:(e,t,n)=>{"use strict";n.d(t,{default:()=>l});var a=n(3529),i=n(1869),s=n(9993);function o(){let[e,t]=(0,i.useState)(!1);return(0,i.useEffect)(()=>{t("light"===document.documentElement.dataset.siteTheme)},[]),(0,a.jsxs)("button",{className:"site-theme-toggle",type:"button","aria-label":e?"Switch to dark mode":"Switch to light mode",title:e?"Switch to dark mode":"Switch to light mode",onClick:()=>{let e="light"!==document.documentElement.dataset.siteTheme,n=e?"light":"dark";document.documentElement.dataset.siteTheme=n,t(e);try{localStorage.setItem("agenttwin-site-theme",n)}catch(e){}},children:[(0,a.jsx)(s.gLX,{className:"site-theme-sun",width:20,height:20,"aria-hidden":"true"}),(0,a.jsx)(s.rRK,{className:"site-theme-moon",width:20,height:20,"aria-hidden":"true"})]})}let r=[{href:"/what-is-agenttwin/",label:"Product"},{href:"/#how",label:"How it works"},{href:"/pricing/",label:"Pricing"},{href:"/about/",label:"About"},{href:"/docs/",label:"Docs"},{href:"/blog/",label:"Blog"}];function l(){let[e,t]=(0,i.useState)(!1),n=(0,i.useRef)(null),s=(0,i.useRef)(null);return(0,i.useEffect)(()=>{let e=e=>{var a,i;"Escape"===e.key&&(null==(a=s.current)?void 0:a.querySelector("#navlinks.is-open"))&&(t(!1),null==(i=n.current)||i.focus())},a=e=>{var n;(null==(n=s.current)?void 0:n.contains(e.target))||t(!1)},i=matchMedia("(min-width: 1024px)"),o=()=>t(!1);return document.addEventListener("keydown",e),document.addEventListener("click",a),i.addEventListener("change",o),()=>{document.removeEventListener("keydown",e),document.removeEventListener("click",a),i.removeEventListener("change",o)}},[]),(0,a.jsxs)("header",{className:"site-header",ref:s,children:[(0,a.jsxs)("a",{className:"brand",href:"/","aria-label":"AgentTwin home",children:[(0,a.jsx)("img",{src:"assets/logo/mark-twin-rings.svg?v=white-rings",alt:"","aria-hidden":"true",width:29,height:29}),"AgentTwin"]}),(0,a.jsxs)("nav",{className:"main-nav".concat(e?" is-open":""),id:"navlinks","aria-label":"Main navigation",children:[r.map(e=>(0,a.jsx)("a",{href:e.href,onClick:()=>t(!1),children:e.label},e.href)),(0,a.jsx)("a",{className:"nav-mobile-dashboard",href:"/dashboard/",onClick:()=>t(!1),children:"Open dashboard"})]}),(0,a.jsxs)("div",{className:"nav-actions",children:[(0,a.jsx)("a",{href:"/login/",children:"Sign in"}),(0,a.jsxs)("a",{className:"button button-white button-small",href:"/signup/",children:["Get started ",(0,a.jsx)("span",{"aria-hidden":"true",children:"\xbb"})]})]}),(0,a.jsx)(o,{}),(0,a.jsxs)("button",{className:"menu-toggle",ref:n,type:"button","aria-label":e?"Close menu":"Open menu","aria-expanded":e,"aria-controls":"navlinks",onClick:()=>t(!e),children:[(0,a.jsx)("span",{}),(0,a.jsx)("span",{})]})]})}},8068:(e,t,n)=>{Promise.resolve().then(n.t.bind(n,4024,23)),Promise.resolve().then(n.bind(n,5131))}},e=>{e.O(0,[6555,4277,4177,9029,7358],()=>e(e.s=8068)),_N_E=e.O()}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[977,990,1369,2882,3232,4345,6226,6402,6990,7006,7066,8365,9366,9877],{4024:e=>{e.exports={footer:"SiteFooter_footer__aUaTs",content:"SiteFooter_content__1J6Jy",navigation:"SiteFooter_navigation__Zsq8o",main:"SiteFooter_main__EWvbi",brand:"SiteFooter_brand__HyIqL",groups:"SiteFooter_groups__tPgIM",group:"SiteFooter_group__FK9ik",more:"SiteFooter_more__LEh69",bottom:"SiteFooter_bottom__ADU2b",srOnly:"SiteFooter_srOnly__e7DbB"}},5131:(e,t,n)=>{"use strict";n.d(t,{default:()=>l});var a=n(3529),i=n(1869),s=n(9993);function o(){let[e,t]=(0,i.useState)(!1);return(0,i.useEffect)(()=>{t("light"===document.documentElement.dataset.siteTheme)},[]),(0,a.jsxs)("button",{className:"site-theme-toggle",type:"button","aria-label":e?"Switch to dark mode":"Switch to light mode",title:e?"Switch to dark mode":"Switch to light mode",onClick:()=>{let e="light"!==document.documentElement.dataset.siteTheme,n=e?"light":"dark";document.documentElement.dataset.siteTheme=n,t(e);try{localStorage.setItem("agenttwin-site-theme",n)}catch(e){}},children:[(0,a.jsx)(s.gLX,{className:"site-theme-sun",width:20,height:20,"aria-hidden":"true"}),(0,a.jsx)(s.rRK,{className:"site-theme-moon",width:20,height:20,"aria-hidden":"true"})]})}let r=[{href:"/what-is-agenttwin/",label:"Product"},{href:"/#how",label:"How it works"},{href:"/pricing/",label:"Pricing"},{href:"/about/",label:"About"},{href:"/docs/",label:"Docs"},{href:"/blog/",label:"Blog"}];function l(){let[e,t]=(0,i.useState)(!1),n=(0,i.useRef)(null),s=(0,i.useRef)(null);return(0,i.useEffect)(()=>{let e=e=>{var a,i;"Escape"===e.key&&(null==(a=s.current)?void 0:a.querySelector("#navlinks.is-open"))&&(t(!1),null==(i=n.current)||i.focus())},a=e=>{var n;(null==(n=s.current)?void 0:n.contains(e.target))||t(!1)},i=matchMedia("(min-width: 1024px)"),o=()=>t(!1);return document.addEventListener("keydown",e),document.addEventListener("click",a),i.addEventListener("change",o),()=>{document.removeEventListener("keydown",e),document.removeEventListener("click",a),i.removeEventListener("change",o)}},[]),(0,a.jsxs)("header",{className:"site-header",ref:s,children:[(0,a.jsxs)("a",{className:"brand",href:"/","aria-label":"AgentTwin home",children:[(0,a.jsx)("img",{src:"assets/logo/mark-twin-rings.svg?v=white-rings",alt:"","aria-hidden":"true",width:29,height:29}),"AgentTwin"]}),(0,a.jsxs)("nav",{className:"main-nav".concat(e?" is-open":""),id:"navlinks","aria-label":"Main navigation",children:[r.map(e=>(0,a.jsx)("a",{href:e.href,onClick:()=>t(!1),children:e.label},e.href)),(0,a.jsx)("a",{className:"nav-mobile-dashboard",href:"/dashboard/",onClick:()=>t(!1),children:"Open dashboard"})]}),(0,a.jsxs)("div",{className:"nav-actions",children:[(0,a.jsx)("a",{href:"/login/",children:"Sign in"}),(0,a.jsxs)("a",{className:"button button-white button-small",href:"/signup/",children:["Get started ",(0,a.jsx)("span",{"aria-hidden":"true",children:"\xbb"})]})]}),(0,a.jsx)(o,{}),(0,a.jsxs)("button",{className:"menu-toggle",ref:n,type:"button","aria-label":e?"Close menu":"Open menu","aria-expanded":e,"aria-controls":"navlinks",onClick:()=>t(!e),children:[(0,a.jsx)("span",{}),(0,a.jsx)("span",{})]})]})}},8068:(e,t,n)=>{Promise.resolve().then(n.t.bind(n,4024,23)),Promise.resolve().then(n.bind(n,5131))}},e=>{e.O(0,[6555,4277,4177,9029,7358],()=>e(e.s=8068)),_N_E=e.O()}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[879,4520],{1379:(e,s,_)=>{Promise.resolve().then(_.bind(_,3023))}},e=>{e.O(0,[527,3023,4177,9029,7358],()=>e(e.s=1379)),_N_E=e.O()}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[977,990,1369,2882,3232,4345,6226,6402,6990,7006,7066,8365,9366,9877],{4024:e=>{e.exports={footer:"SiteFooter_footer__aUaTs",content:"SiteFooter_content__1J6Jy",navigation:"SiteFooter_navigation__Zsq8o",main:"SiteFooter_main__EWvbi",brand:"SiteFooter_brand__HyIqL",groups:"SiteFooter_groups__tPgIM",group:"SiteFooter_group__FK9ik",more:"SiteFooter_more__LEh69",bottom:"SiteFooter_bottom__ADU2b",srOnly:"SiteFooter_srOnly__e7DbB"}},5131:(e,t,n)=>{"use strict";n.d(t,{default:()=>l});var a=n(3529),i=n(1869),s=n(9993);function o(){let[e,t]=(0,i.useState)(!1);return(0,i.useEffect)(()=>{t("light"===document.documentElement.dataset.siteTheme)},[]),(0,a.jsxs)("button",{className:"site-theme-toggle",type:"button","aria-label":e?"Switch to dark mode":"Switch to light mode",title:e?"Switch to dark mode":"Switch to light mode",onClick:()=>{let e="light"!==document.documentElement.dataset.siteTheme,n=e?"light":"dark";document.documentElement.dataset.siteTheme=n,t(e);try{localStorage.setItem("agenttwin-site-theme",n)}catch(e){}},children:[(0,a.jsx)(s.gLX,{className:"site-theme-sun",width:20,height:20,"aria-hidden":"true"}),(0,a.jsx)(s.rRK,{className:"site-theme-moon",width:20,height:20,"aria-hidden":"true"})]})}let r=[{href:"/what-is-agenttwin/",label:"Product"},{href:"/#how",label:"How it works"},{href:"/pricing/",label:"Pricing"},{href:"/about/",label:"About"},{href:"/docs/",label:"Docs"},{href:"/blog/",label:"Blog"}];function l(){let[e,t]=(0,i.useState)(!1),n=(0,i.useRef)(null),s=(0,i.useRef)(null);return(0,i.useEffect)(()=>{let e=e=>{var a,i;"Escape"===e.key&&(null==(a=s.current)?void 0:a.querySelector("#navlinks.is-open"))&&(t(!1),null==(i=n.current)||i.focus())},a=e=>{var n;(null==(n=s.current)?void 0:n.contains(e.target))||t(!1)},i=matchMedia("(min-width: 1024px)"),o=()=>t(!1);return document.addEventListener("keydown",e),document.addEventListener("click",a),i.addEventListener("change",o),()=>{document.removeEventListener("keydown",e),document.removeEventListener("click",a),i.removeEventListener("change",o)}},[]),(0,a.jsxs)("header",{className:"site-header",ref:s,children:[(0,a.jsxs)("a",{className:"brand",href:"/","aria-label":"AgentTwin home",children:[(0,a.jsx)("img",{src:"assets/logo/mark-twin-rings.svg?v=white-rings",alt:"","aria-hidden":"true",width:29,height:29}),"AgentTwin"]}),(0,a.jsxs)("nav",{className:"main-nav".concat(e?" is-open":""),id:"navlinks","aria-label":"Main navigation",children:[r.map(e=>(0,a.jsx)("a",{href:e.href,onClick:()=>t(!1),children:e.label},e.href)),(0,a.jsx)("a",{className:"nav-mobile-dashboard",href:"/dashboard/",onClick:()=>t(!1),children:"Open dashboard"})]}),(0,a.jsxs)("div",{className:"nav-actions",children:[(0,a.jsx)("a",{href:"/login/",children:"Sign in"}),(0,a.jsxs)("a",{className:"button button-white button-small",href:"/signup/",children:["Get started ",(0,a.jsx)("span",{"aria-hidden":"true",children:"\xbb"})]})]}),(0,a.jsx)(o,{}),(0,a.jsxs)("button",{className:"menu-toggle",ref:n,type:"button","aria-label":e?"Close menu":"Open menu","aria-expanded":e,"aria-controls":"navlinks",onClick:()=>t(!e),children:[(0,a.jsx)("span",{}),(0,a.jsx)("span",{})]})]})}},8068:(e,t,n)=>{Promise.resolve().then(n.t.bind(n,4024,23)),Promise.resolve().then(n.bind(n,5131))}},e=>{e.O(0,[6555,4277,4177,9029,7358],()=>e(e.s=8068)),_N_E=e.O()}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[977,990,1369,2882,3232,4345,6226,6402,6990,7006,7066,8365,9366,9877],{4024:e=>{e.exports={footer:"SiteFooter_footer__aUaTs",content:"SiteFooter_content__1J6Jy",navigation:"SiteFooter_navigation__Zsq8o",main:"SiteFooter_main__EWvbi",brand:"SiteFooter_brand__HyIqL",groups:"SiteFooter_groups__tPgIM",group:"SiteFooter_group__FK9ik",more:"SiteFooter_more__LEh69",bottom:"SiteFooter_bottom__ADU2b",srOnly:"SiteFooter_srOnly__e7DbB"}},5131:(e,t,n)=>{"use strict";n.d(t,{default:()=>l});var a=n(3529),i=n(1869),s=n(9993);function o(){let[e,t]=(0,i.useState)(!1);return(0,i.useEffect)(()=>{t("light"===document.documentElement.dataset.siteTheme)},[]),(0,a.jsxs)("button",{className:"site-theme-toggle",type:"button","aria-label":e?"Switch to dark mode":"Switch to light mode",title:e?"Switch to dark mode":"Switch to light mode",onClick:()=>{let e="light"!==document.documentElement.dataset.siteTheme,n=e?"light":"dark";document.documentElement.dataset.siteTheme=n,t(e);try{localStorage.setItem("agenttwin-site-theme",n)}catch(e){}},children:[(0,a.jsx)(s.gLX,{className:"site-theme-sun",width:20,height:20,"aria-hidden":"true"}),(0,a.jsx)(s.rRK,{className:"site-theme-moon",width:20,height:20,"aria-hidden":"true"})]})}let r=[{href:"/what-is-agenttwin/",label:"Product"},{href:"/#how",label:"How it works"},{href:"/pricing/",label:"Pricing"},{href:"/about/",label:"About"},{href:"/docs/",label:"Docs"},{href:"/blog/",label:"Blog"}];function l(){let[e,t]=(0,i.useState)(!1),n=(0,i.useRef)(null),s=(0,i.useRef)(null);return(0,i.useEffect)(()=>{let e=e=>{var a,i;"Escape"===e.key&&(null==(a=s.current)?void 0:a.querySelector("#navlinks.is-open"))&&(t(!1),null==(i=n.current)||i.focus())},a=e=>{var n;(null==(n=s.current)?void 0:n.contains(e.target))||t(!1)},i=matchMedia("(min-width: 1024px)"),o=()=>t(!1);return document.addEventListener("keydown",e),document.addEventListener("click",a),i.addEventListener("change",o),()=>{document.removeEventListener("keydown",e),document.removeEventListener("click",a),i.removeEventListener("change",o)}},[]),(0,a.jsxs)("header",{className:"site-header",ref:s,children:[(0,a.jsxs)("a",{className:"brand",href:"/","aria-label":"AgentTwin home",children:[(0,a.jsx)("img",{src:"assets/logo/mark-twin-rings.svg?v=white-rings",alt:"","aria-hidden":"true",width:29,height:29}),"AgentTwin"]}),(0,a.jsxs)("nav",{className:"main-nav".concat(e?" is-open":""),id:"navlinks","aria-label":"Main navigation",children:[r.map(e=>(0,a.jsx)("a",{href:e.href,onClick:()=>t(!1),children:e.label},e.href)),(0,a.jsx)("a",{className:"nav-mobile-dashboard",href:"/dashboard/",onClick:()=>t(!1),children:"Open dashboard"})]}),(0,a.jsxs)("div",{className:"nav-actions",children:[(0,a.jsx)("a",{href:"/login/",children:"Sign in"}),(0,a.jsxs)("a",{className:"button button-white button-small",href:"/signup/",children:["Get started ",(0,a.jsx)("span",{"aria-hidden":"true",children:"\xbb"})]})]}),(0,a.jsx)(o,{}),(0,a.jsxs)("button",{className:"menu-toggle",ref:n,type:"button","aria-label":e?"Close menu":"Open menu","aria-expanded":e,"aria-controls":"navlinks",onClick:()=>t(!e),children:[(0,a.jsx)("span",{}),(0,a.jsx)("span",{})]})]})}},8068:(e,t,n)=>{Promise.resolve().then(n.t.bind(n,4024,23)),Promise.resolve().then(n.bind(n,5131))}},e=>{e.O(0,[6555,4277,4177,9029,7358],()=>e(e.s=8068)),_N_E=e.O()}]);
|