agenttwin 0.3.31 → 0.3.32

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/dist/api.js CHANGED
@@ -6161,11 +6161,12 @@ var init_rest_adapters = __esm({
6161
6161
  });
6162
6162
 
6163
6163
  // src/runtime/postgrest.ts
6164
- import pg2 from "pg";
6165
- var ident2, OPS, RESERVED, PostgrestLayer;
6164
+ import { createRequire as createRequire2 } from "module";
6165
+ var loadPg, ident2, OPS, RESERVED, PostgrestLayer;
6166
6166
  var init_postgrest = __esm({
6167
6167
  "src/runtime/postgrest.ts"() {
6168
6168
  "use strict";
6169
+ loadPg = () => createRequire2(import.meta.url)("pg");
6169
6170
  ident2 = (name) => `"${name.replace(/"/g, '""')}"`;
6170
6171
  OPS = { eq: "=", neq: "<>", gt: ">", gte: ">=", lt: "<", lte: "<=", like: "LIKE", ilike: "ILIKE" };
6171
6172
  RESERVED = /* @__PURE__ */ new Set(["select", "order", "limit", "offset", "on_conflict", "columns", "or", "and"]);
@@ -6173,7 +6174,7 @@ var init_postgrest = __esm({
6173
6174
  pool;
6174
6175
  fks;
6175
6176
  constructor(databaseUrl) {
6176
- this.pool = new pg2.Pool({ connectionString: databaseUrl, max: 1 });
6177
+ this.pool = new (loadPg()).Pool({ connectionString: databaseUrl, max: 1 });
6177
6178
  }
6178
6179
  close() {
6179
6180
  return this.pool.end().catch(() => {
@@ -10580,7 +10581,7 @@ var init_hosted_packs = __esm({
10580
10581
  });
10581
10582
 
10582
10583
  // src/runtime/e2b.ts
10583
- import { createRequire as createRequire2 } from "module";
10584
+ import { createRequire as createRequire3 } from "module";
10584
10585
  import { readFile as readFile12 } from "fs/promises";
10585
10586
  import { randomBytes as randomBytes4 } from "crypto";
10586
10587
  import { homedir as homedir2 } from "os";
@@ -10658,7 +10659,7 @@ logfile /tmp/agenttwin-redis.log
10658
10659
  }
10659
10660
  await sandbox.files.write("/input/runtime.json", JSON.stringify(runtimeEnv), { user: "root" });
10660
10661
  await sandbox.commands.run("chmod -R a+rX /input", { user: "root" });
10661
- const playwrightVersion = createRequire2(import.meta.url)("playwright/package.json").version;
10662
+ const playwrightVersion = createRequire3(import.meta.url)("playwright/package.json").version;
10662
10663
  await sandbox.files.write("/input/check-runtime.cjs", `const p=require('playwright/package.json');if(p.version!==${JSON.stringify(playwrightVersion)})throw Error('E2B template needs rebuilding with agenttwin setup: Playwright version mismatch');`, { user: "root" });
10663
10664
  await sandbox.commands.run("node /input/check-runtime.cjs", { user: "root" });
10664
10665
  if (spec.browser) {
@@ -19355,7 +19356,7 @@ function captureAnalytics(event) {
19355
19356
  // package.json
19356
19357
  var package_default = {
19357
19358
  name: "agenttwin",
19358
- version: "0.3.31",
19359
+ version: "0.3.32",
19359
19360
  description: "AgentTwin builds digital twins for testing AI agents. The current CLI prepares supported Node.js workflows with synthetic services, failures, and outcome checks.",
19360
19361
  mcpName: "io.github.AgentTwin/agenttwin",
19361
19362
  keywords: [
@@ -1 +1 @@
1
- (()=>{"use strict";var e={},t={};function r(o){var n=t[o];if(void 0!==n)return n.exports;var a=t[o]={exports:{}},i=!0;try{e[o](a,a.exports,r),i=!1}finally{i&&delete t[o]}return a.exports}r.m=e,(()=>{var e=[];r.O=(t,o,n,a)=>{if(o){a=a||0;for(var i=e.length;i>0&&e[i-1][2]>a;i--)e[i]=e[i-1];e[i]=[o,n,a];return}for(var u=1/0,i=0;i<e.length;i++){for(var[o,n,a]=e[i],c=!0,d=0;d<o.length;d++)(!1&a||u>=a)&&Object.keys(r.O).every(e=>r.O[e](o[d]))?o.splice(d--,1):(c=!1,a<u&&(u=a));if(c){e.splice(i--,1);var f=n();void 0!==f&&(t=f)}}return t}})(),r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},(()=>{var e,t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__;r.t=function(o,n){if(1&n&&(o=this(o)),8&n||"object"==typeof o&&o&&(4&n&&o.__esModule||16&n&&"function"==typeof o.then))return o;var a=Object.create(null);r.r(a);var i={};e=e||[null,t({}),t([]),t(t)];for(var u=2&n&&o;"object"==typeof u&&!~e.indexOf(u);u=t(u))Object.getOwnPropertyNames(u).forEach(e=>i[e]=()=>o[e]);return i.default=()=>o,r.d(a,i),a}})(),r.d=(e,t)=>{for(var o in t)r.o(t,o)&&!r.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},r.f={},r.e=e=>Promise.all(Object.keys(r.f).reduce((t,o)=>(r.f[o](e,t),t),[])),r.u=e=>2743===e?"static/chunks/2743-a0efd6f4aeb11cc5.js":"static/chunks/"+(9432===e?"b468fba8":e)+"."+({1018:"4871a8dd0f112c38",4055:"1056568a41510e92",4343:"023a18f52318dbad",6751:"613adb085c9a5b06",8975:"5be81ec8b09e3b45",9013:"0f2be1cc70029afa",9432:"437b212aae4abcf8",9675:"d833ca9b2d89cf8a"})[e]+".js",r.miniCssF=e=>{},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||Function("return this")()}catch(e){if("object"==typeof window)return window}}(),r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{var e={},t="_N_E:";r.l=(o,n,a,i)=>{if(e[o])return void e[o].push(n);if(void 0!==a)for(var u,c,d=document.getElementsByTagName("script"),f=0;f<d.length;f++){var l=d[f];if(l.getAttribute("src")==o||l.getAttribute("data-webpack")==t+a){u=l;break}}u||(c=!0,(u=document.createElement("script")).charset="utf-8",u.timeout=120,r.nc&&u.setAttribute("nonce",r.nc),u.setAttribute("data-webpack",t+a),u.src=r.tu(o)),e[o]=[n];var s=(t,r)=>{u.onerror=u.onload=null,clearTimeout(p);var n=e[o];if(delete e[o],u.parentNode&&u.parentNode.removeChild(u),n&&n.forEach(e=>e(r)),t)return t(r)},p=setTimeout(s.bind(null,void 0,{type:"timeout",target:u}),12e4);u.onerror=s.bind(null,u.onerror),u.onload=s.bind(null,u.onload),c&&document.head.appendChild(u)}})(),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e;r.tt=()=>(void 0===e&&(e={createScriptURL:e=>e},"undefined"!=typeof trustedTypes&&trustedTypes.createPolicy&&(e=trustedTypes.createPolicy("nextjs#bundler",e))),e)})(),r.tu=e=>r.tt().createScriptURL(e),r.p="assets/next/",(()=>{var e={8068:0,4123:0,4203:0,3935:0,6654:0,7502:0,9832:0,7329:0,4295:0,9681:0,2729:0,7056:0,3981:0,5868:0,5097:0,1133:0,1362:0,8233:0,7304:0,5521:0,1371:0,8009:0,9487:0,7441:0,2275:0,7206:0};r.f.j=(t,o)=>{var n=r.o(e,t)?e[t]:void 0;if(0!==n)if(n)o.push(n[2]);else if(/^(1(133|362|371)|39(35|81)|4(123|203|295)|5(097|521|868)|7(056|206|304|329|441|502)|8(009|068|233)|9(487|681|832)|2275|2729|6654)$/.test(t))e[t]=0;else{var a=new Promise((r,o)=>n=e[t]=[r,o]);o.push(n[2]=a);var i=r.p+r.u(t),u=Error();r.l(i,o=>{if(r.o(e,t)&&(0!==(n=e[t])&&(e[t]=void 0),n)){var a=o&&("load"===o.type?"missing":o.type),i=o&&o.target&&o.target.src;u.message="Loading chunk "+t+" failed.\n("+a+": "+i+")",u.name="ChunkLoadError",u.type=a,u.request=i,n[1](u)}},"chunk-"+t,t)}},r.O.j=t=>0===e[t];var t=(t,o)=>{var n,a,[i,u,c]=o,d=0;if(i.some(t=>0!==e[t])){for(n in u)r.o(u,n)&&(r.m[n]=u[n]);if(c)var f=c(r)}for(t&&t(o);d<i.length;d++)a=i[d],r.o(e,a)&&e[a]&&e[a][0](),e[a]=0;return r.O(f)},o=self.webpackChunk_N_E=self.webpackChunk_N_E||[];o.forEach(t.bind(null,0)),o.push=t.bind(null,o.push.bind(o))})(),r.nc=void 0})();
1
+ (()=>{"use strict";var e={},t={};function r(o){var n=t[o];if(void 0!==n)return n.exports;var a=t[o]={exports:{}},i=!0;try{e[o](a,a.exports,r),i=!1}finally{i&&delete t[o]}return a.exports}r.m=e,(()=>{var e=[];r.O=(t,o,n,a)=>{if(o){a=a||0;for(var i=e.length;i>0&&e[i-1][2]>a;i--)e[i]=e[i-1];e[i]=[o,n,a];return}for(var u=1/0,i=0;i<e.length;i++){for(var[o,n,a]=e[i],c=!0,d=0;d<o.length;d++)(!1&a||u>=a)&&Object.keys(r.O).every(e=>r.O[e](o[d]))?o.splice(d--,1):(c=!1,a<u&&(u=a));if(c){e.splice(i--,1);var f=n();void 0!==f&&(t=f)}}return t}})(),r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},(()=>{var e,t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__;r.t=function(o,n){if(1&n&&(o=this(o)),8&n||"object"==typeof o&&o&&(4&n&&o.__esModule||16&n&&"function"==typeof o.then))return o;var a=Object.create(null);r.r(a);var i={};e=e||[null,t({}),t([]),t(t)];for(var u=2&n&&o;"object"==typeof u&&!~e.indexOf(u);u=t(u))Object.getOwnPropertyNames(u).forEach(e=>i[e]=()=>o[e]);return i.default=()=>o,r.d(a,i),a}})(),r.d=(e,t)=>{for(var o in t)r.o(t,o)&&!r.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},r.f={},r.e=e=>Promise.all(Object.keys(r.f).reduce((t,o)=>(r.f[o](e,t),t),[])),r.u=e=>2743===e?"static/chunks/2743-a0efd6f4aeb11cc5.js":"static/chunks/"+(9432===e?"b468fba8":e)+"."+({1018:"4871a8dd0f112c38",4055:"1056568a41510e92",4343:"023a18f52318dbad",6751:"613adb085c9a5b06",8975:"5be81ec8b09e3b45",9013:"0f2be1cc70029afa",9432:"437b212aae4abcf8",9675:"d833ca9b2d89cf8a"})[e]+".js",r.miniCssF=e=>{},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||Function("return this")()}catch(e){if("object"==typeof window)return window}}(),r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{var e={},t="_N_E:";r.l=(o,n,a,i)=>{if(e[o])return void e[o].push(n);if(void 0!==a)for(var u,c,d=document.getElementsByTagName("script"),f=0;f<d.length;f++){var l=d[f];if(l.getAttribute("src")==o||l.getAttribute("data-webpack")==t+a){u=l;break}}u||(c=!0,(u=document.createElement("script")).charset="utf-8",u.timeout=120,r.nc&&u.setAttribute("nonce",r.nc),u.setAttribute("data-webpack",t+a),u.src=r.tu(o)),e[o]=[n];var s=(t,r)=>{u.onerror=u.onload=null,clearTimeout(p);var n=e[o];if(delete e[o],u.parentNode&&u.parentNode.removeChild(u),n&&n.forEach(e=>e(r)),t)return t(r)},p=setTimeout(s.bind(null,void 0,{type:"timeout",target:u}),12e4);u.onerror=s.bind(null,u.onerror),u.onload=s.bind(null,u.onload),c&&document.head.appendChild(u)}})(),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e;r.tt=()=>(void 0===e&&(e={createScriptURL:e=>e},"undefined"!=typeof trustedTypes&&trustedTypes.createPolicy&&(e=trustedTypes.createPolicy("nextjs#bundler",e))),e)})(),r.tu=e=>r.tt().createScriptURL(e),r.p="assets/next/",(()=>{var e={8068:0,4123:0,4203:0,3935:0,7502:0,9832:0,6654:0,7329:0,4295:0,9681:0,2729:0,7056:0,3981:0,5868:0,5097:0,1133:0,1362:0,8233:0,7304:0,5521:0,1371:0,8009:0,9487:0,7441:0,2275:0,7206:0};r.f.j=(t,o)=>{var n=r.o(e,t)?e[t]:void 0;if(0!==n)if(n)o.push(n[2]);else if(/^(1(133|362|371)|39(35|81)|4(123|203|295)|5(097|521|868)|7(056|206|304|329|441|502)|8(009|068|233)|9(487|681|832)|2275|2729|6654)$/.test(t))e[t]=0;else{var a=new Promise((r,o)=>n=e[t]=[r,o]);o.push(n[2]=a);var i=r.p+r.u(t),u=Error();r.l(i,o=>{if(r.o(e,t)&&(0!==(n=e[t])&&(e[t]=void 0),n)){var a=o&&("load"===o.type?"missing":o.type),i=o&&o.target&&o.target.src;u.message="Loading chunk "+t+" failed.\n("+a+": "+i+")",u.name="ChunkLoadError",u.type=a,u.request=i,n[1](u)}},"chunk-"+t,t)}},r.O.j=t=>0===e[t];var t=(t,o)=>{var n,a,[i,u,c]=o,d=0;if(i.some(t=>0!==e[t])){for(n in u)r.o(u,n)&&(r.m[n]=u[n]);if(c)var f=c(r)}for(t&&t(o);d<i.length;d++)a=i[d],r.o(e,a)&&e[a]&&e[a][0](),e[a]=0;return r.O(f)},o=self.webpackChunk_N_E=self.webpackChunk_N_E||[];o.forEach(t.bind(null,0)),o.push=t.bind(null,o.push.bind(o))})(),r.nc=void 0})();
@@ -1,4 +1,4 @@
1
- <!DOCTYPE html><!--m3owxChJUGxcTX3zU04al--><html lang="en"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="preload" as="image" href="assets/logo/mark-twin-rings.svg"/><link rel="preload" as="image" href="assets/icons/ui/plugs-connected.svg"/><link rel="stylesheet" href="assets/next/static/css/605ac70c9cf7a260.css" data-precedence="next"/><link rel="stylesheet" href="assets/next/static/css/459672916fd34cc5.css" data-precedence="next"/><link rel="stylesheet" href="assets/next/static/css/37d81e1d2804cc5f.css" data-precedence="next"/><link rel="stylesheet" href="assets/next/static/css/e7f08eacc20752f3.css" data-precedence="next"/><link rel="stylesheet" href="assets/next/static/css/39133c9a03c8edb8.css" data-precedence="next"/><link rel="stylesheet" href="assets/next/static/css/a55cc0682e56b7aa.css" data-precedence="next"/><link rel="stylesheet" href="assets/next/static/css/11f70fd04660da57.css" data-precedence="next"/><link rel="stylesheet" href="assets/next/static/css/dd3fb06005e18149.css" data-precedence="next"/><link rel="preload" as="script" fetchPriority="low" href="assets/next/static/chunks/webpack-1d489f41fe167959.js"/><script src="assets/next/static/chunks/4bd1b696-f785427dddbba9fb.js" async=""></script><script src="assets/next/static/chunks/1255-d4ec8dbb0865c655.js" async=""></script><script src="assets/next/static/chunks/main-app-b4faf61f2e1c2b6d.js" async=""></script><script src="assets/next/static/chunks/app/layout-be64d3e50db4b7a9.js" async=""></script><script src="assets/next/static/chunks/0e5ce63c-707674e8817dc2e1.js" async=""></script><script src="assets/next/static/chunks/app/page-ede77810f4904ea5.js" async=""></script><script src="assets/next/static/chunks/7772-f2d773cd3e94eea6.js" async=""></script><script src="assets/next/static/chunks/2743-a0efd6f4aeb11cc5.js" async=""></script><script src="assets/next/static/chunks/1937-6c86fddc443de922.js" async=""></script><script src="assets/next/static/chunks/424-83736cfafc224fc6.js" async=""></script><script src="assets/next/static/chunks/app/dashboard/page-8b436163bc85e182.js" async=""></script><link rel="ard" href="/.well-known/ard.json"/><meta name="theme-color" content="#090909"/><link rel="icon" type="image/svg+xml" href="assets/logo/favicon.svg?v=white-rings"/><link rel="preload" href="assets/fonts/syne-400.ttf" as="font" type="font/ttf" crossorigin="anonymous"/><meta name="agenttwin-api-url" content="https://api.agenttwin.si"/><title>Workspace | AgentTwin</title><meta name="description" content="Discover your project, test workflows and inspect recorded results."/><meta name="application-name" content="AgentTwin"/><link rel="manifest" href="/manifest.webmanifest"/><meta property="og:title" content="AgentTwin | Digital Twins for Testing AI Agents"/><meta property="og:description" content="AgentTwin runs your AI agent&#x27;s real code on digital twins of Stripe, Slack and any API, injects real-world failures and shows each bug with its cost and a fix."/><meta property="og:url" content="https://agenttwin.si/"/><meta property="og:site_name" content="AgentTwin"/><meta property="og:image" content="https://agenttwin.si/social-preview-20261026.png"/><meta property="og:image:width" content="1200"/><meta property="og:image:height" content="630"/><meta property="og:image:type" content="image/png"/><meta property="og:image:alt" content="AgentTwin — Digital twins for testing AI agents. Slack, Stripe and Gmail services mirrored into a test world."/><meta property="og:type" content="website"/><meta name="twitter:card" content="summary_large_image"/><meta name="twitter:title" content="AgentTwin | Digital Twins for Testing AI Agents"/><meta name="twitter:description" content="AgentTwin runs your AI agent&#x27;s real code on digital twins of Stripe, Slack and any API, injects real-world failures and shows each bug with its cost and a fix."/><meta name="twitter:image" content="https://agenttwin.si/social-preview-20261026.png"/><meta name="twitter:image:width" content="1200"/><meta name="twitter:image:height" content="630"/><meta name="twitter:image:type" content="image/png"/><meta name="twitter:image:alt" content="AgentTwin — Digital twins for testing AI agents. Slack, Stripe and Gmail services mirrored into a test world."/><link rel="apple-touch-icon" href="/apple-touch-icon.png" sizes="180x180" type="image/png"/><script>(function(){
1
+ <!DOCTYPE html><!--dQPcd2gl7ABZiL9lr9ruM--><html lang="en"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="preload" as="image" href="assets/logo/mark-twin-rings.svg"/><link rel="preload" as="image" href="assets/icons/ui/plugs-connected.svg"/><link rel="stylesheet" href="assets/next/static/css/605ac70c9cf7a260.css" data-precedence="next"/><link rel="stylesheet" href="assets/next/static/css/459672916fd34cc5.css" data-precedence="next"/><link rel="stylesheet" href="assets/next/static/css/37d81e1d2804cc5f.css" data-precedence="next"/><link rel="stylesheet" href="assets/next/static/css/e7f08eacc20752f3.css" data-precedence="next"/><link rel="stylesheet" href="assets/next/static/css/39133c9a03c8edb8.css" data-precedence="next"/><link rel="stylesheet" href="assets/next/static/css/a55cc0682e56b7aa.css" data-precedence="next"/><link rel="stylesheet" href="assets/next/static/css/11f70fd04660da57.css" data-precedence="next"/><link rel="stylesheet" href="assets/next/static/css/dd3fb06005e18149.css" data-precedence="next"/><link rel="preload" as="script" fetchPriority="low" href="assets/next/static/chunks/webpack-53525dd96c1c1e70.js"/><script src="assets/next/static/chunks/4bd1b696-f785427dddbba9fb.js" async=""></script><script src="assets/next/static/chunks/1255-d4ec8dbb0865c655.js" async=""></script><script src="assets/next/static/chunks/main-app-b4faf61f2e1c2b6d.js" async=""></script><script src="assets/next/static/chunks/app/layout-be64d3e50db4b7a9.js" async=""></script><script src="assets/next/static/chunks/0e5ce63c-707674e8817dc2e1.js" async=""></script><script src="assets/next/static/chunks/app/page-ede77810f4904ea5.js" async=""></script><script src="assets/next/static/chunks/7772-f2d773cd3e94eea6.js" async=""></script><script src="assets/next/static/chunks/2743-a0efd6f4aeb11cc5.js" async=""></script><script src="assets/next/static/chunks/1937-6c86fddc443de922.js" async=""></script><script src="assets/next/static/chunks/424-83736cfafc224fc6.js" async=""></script><script src="assets/next/static/chunks/app/dashboard/page-8b436163bc85e182.js" async=""></script><link rel="ard" href="/.well-known/ard.json"/><meta name="theme-color" content="#090909"/><link rel="icon" type="image/svg+xml" href="assets/logo/favicon.svg?v=white-rings"/><link rel="preload" href="assets/fonts/syne-400.ttf" as="font" type="font/ttf" crossorigin="anonymous"/><meta name="agenttwin-api-url" content="https://api.agenttwin.si"/><title>Workspace | AgentTwin</title><meta name="description" content="Discover your project, test workflows and inspect recorded results."/><meta name="application-name" content="AgentTwin"/><link rel="manifest" href="/manifest.webmanifest"/><meta property="og:title" content="AgentTwin | Digital Twins for Testing AI Agents"/><meta property="og:description" content="AgentTwin runs your AI agent&#x27;s real code on digital twins of Stripe, Slack and any API, injects real-world failures and shows each bug with its cost and a fix."/><meta property="og:url" content="https://agenttwin.si/"/><meta property="og:site_name" content="AgentTwin"/><meta property="og:image" content="https://agenttwin.si/social-preview-20261026.png"/><meta property="og:image:width" content="1200"/><meta property="og:image:height" content="630"/><meta property="og:image:type" content="image/png"/><meta property="og:image:alt" content="AgentTwin — Digital twins for testing AI agents. Slack, Stripe and Gmail services mirrored into a test world."/><meta property="og:type" content="website"/><meta name="twitter:card" content="summary_large_image"/><meta name="twitter:title" content="AgentTwin | Digital Twins for Testing AI Agents"/><meta name="twitter:description" content="AgentTwin runs your AI agent&#x27;s real code on digital twins of Stripe, Slack and any API, injects real-world failures and shows each bug with its cost and a fix."/><meta name="twitter:image" content="https://agenttwin.si/social-preview-20261026.png"/><meta name="twitter:image:width" content="1200"/><meta name="twitter:image:height" content="630"/><meta name="twitter:image:type" content="image/png"/><meta name="twitter:image:alt" content="AgentTwin — Digital twins for testing AI agents. Slack, Stripe and Gmail services mirrored into a test world."/><link rel="apple-touch-icon" href="/apple-touch-icon.png" sizes="180x180" type="image/png"/><script>(function(){
2
2
  var theme='dark';
3
3
  try{if(localStorage.getItem('agenttwin-site-theme')==='light')theme='light';}catch(e){}
4
4
  document.documentElement.dataset.siteTheme=theme;
@@ -17,4 +17,4 @@
17
17
  }else record.addedNodes.forEach(clean);
18
18
  });
19
19
  }).observe(document.documentElement,{subtree:true,childList:true,attributes:true,attributeFilter:[attribute]});
20
- })();</script><script defer="" data-domain="agenttwin.si" src="https://analytics.hirealpha.chat/js/script.js"></script><script src="assets/next/static/chunks/polyfills-42372ed130431b0a.js" noModule=""></script></head><body><div hidden=""><!--$--><!--/$--></div><a class="skip" href="#main">Skip to content</a><div data-slot="sidebar-wrapper" style="--sidebar-width:16rem;--sidebar-width-icon:3rem" class="group/sidebar-wrapper flex min-h-svh w-full has-data-[variant=inset]:bg-sidebar app-frame dashboard-workspace dark"><header class="topbar"><a class="brand dashboard-brand" data-dashboard-home="true" href="#home" aria-label="AgentTwin home"><img src="assets/logo/mark-twin-rings.svg" width="25" height="25" alt="" aria-hidden="true"/>AgentTwin</a><button data-slot="sidebar-trigger" data-variant="ghost" data-size="icon" class="inline-flex shrink-0 items-center justify-center gap-2 rounded-md text-sm font-medium whitespace-nowrap transition-all outline-none focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 disabled:pointer-events-none disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 [&amp;_svg]:pointer-events-none [&amp;_svg]:shrink-0 [&amp;_svg:not([class*=&#x27;size-&#x27;])]:size-4 hover:bg-accent hover:text-accent-foreground dark:hover:bg-accent/50 size-7" aria-expanded="true" data-sidebar="trigger" id="sidebar-toggle" data-shadcn-sidebar="true" aria-label="Toggle sidebar"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-panel-left lucide-sidebar" aria-hidden="true"><rect width="18" height="18" x="3" y="3" rx="2"></rect><path d="M9 3v18"></path></svg><span class="sr-only">Toggle Sidebar</span></button><nav class="home-switcher workspace-navigation" aria-label="Main navigation"><button type="button" data-view="home"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-house lucide-home" aria-hidden="true"><path d="M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8"></path><path d="M3 10a2 2 0 0 1 .709-1.528l7-6a2 2 0 0 1 2.582 0l7 6A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z"></path></svg><span>Home</span><span id="home-badge" class="pill-count" hidden="">0</span></button><button type="button" data-view="environment"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-layers lucide-layers-3" aria-hidden="true"><path d="M12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83z"></path><path d="M2 12a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 12"></path><path d="M2 17a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 17"></path></svg><span>Environment</span></button><button type="button" data-view="configure"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-git-branch" aria-hidden="true"><path d="M15 6a9 9 0 0 0-9 9V3"></path><circle cx="18" cy="6" r="3"></circle><circle cx="6" cy="18" r="3"></circle></svg><span>Workflows</span></button><button type="button" data-view="history"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-rotate-ccw-clock lucide-history" aria-hidden="true"><path d="M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8"></path><path d="M3 3v5h5"></path><path d="M12 7v5l4 2"></path></svg><span>Runs</span></button><button type="button" data-view="checks"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-shield-check" aria-hidden="true"><path d="M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z"></path><path d="m9 12 2 2 4-4"></path></svg><span>Checks</span></button><button type="button" data-view="team"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-users" aria-hidden="true"><path d="M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2"></path><path d="M16 3.128a4 4 0 0 1 0 7.744"></path><path d="M22 21v-2a4 4 0 0 0-3-3.87"></path><circle cx="9" cy="7" r="4"></circle></svg><span>Team</span></button><button type="button" data-view="settings"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-settings" aria-hidden="true"><path d="M9.671 4.136a2.34 2.34 0 0 1 4.659 0 2.34 2.34 0 0 0 3.319 1.915 2.34 2.34 0 0 1 2.33 4.033 2.34 2.34 0 0 0 0 3.831 2.34 2.34 0 0 1-2.33 4.033 2.34 2.34 0 0 0-3.319 1.915 2.34 2.34 0 0 1-4.659 0 2.34 2.34 0 0 0-3.32-1.915 2.34 2.34 0 0 1-2.33-4.033 2.34 2.34 0 0 0 0-3.831A2.34 2.34 0 0 1 6.35 6.051a2.34 2.34 0 0 0 3.319-1.915"></path><circle cx="12" cy="12" r="3"></circle></svg><span>Settings</span></button></nav><div class="home-top-actions"><a href="/login/" data-auth-link="true" class="home-search">Sign in</a><button type="button" id="home-search" class="home-search" aria-label="Search"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.6" aria-hidden="true"><circle cx="11" cy="11" r="6.5"></circle><path d="m16 16 4.5 4.5"></path></svg><span class="hs-label">Search</span><kbd>⌘K</kbd></button><div class="home-bell-wrap"><button type="button" id="home-bell" class="home-icon-btn" aria-label="Notifications" aria-haspopup="true" aria-expanded="false" aria-controls="home-bell-menu"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.6" aria-hidden="true"><path d="M18 9a6 6 0 1 0-12 0c0 6-2 7-2 7h16s-2-1-2-7"></path><path d="M10 20a2.2 2.2 0 0 0 4 0"></path></svg><span class="bell-badge" id="bell-badge" hidden="">0</span></button><div id="home-bell-menu" class="home-menu bell-menu" hidden=""><p class="menu-label">Notifications</p><div id="bell-items"></div></div></div><button type="button" id="home-expand" class="home-icon-btn" aria-label="Toggle full screen"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.6" aria-hidden="true"><path d="M9 3H3v6M15 3h6v6M9 21H3v-6M15 21h6v-6"></path></svg></button></div><div class="workspace-name" hidden=""><span id="workspace-label">Workspace</span><span class="workspace-divider">/</span><span id="current-view">Environment</span></div><div class="account-control"><button type="button" id="account-toggle" class="workspace-avatar" aria-label="Open account menu" aria-expanded="false" aria-controls="account-menu">AT</button><div id="account-menu" class="account-menu" hidden=""><div class="account-menu-head"><span class="account-menu-avatar" aria-hidden="true">AT</span><span class="account-menu-identity"><strong id="account-user-name">Your name not set</strong><small id="account-workspace">My workspace</small></span></div><p id="account-menu-status" class="account-menu-status muted">Not connected</p><div class="account-menu-links"><a href="/login/" data-auth-link="true">Sign in</a><a href="/signup/" data-auth-link="true">Create an account</a><a href="/onboarding/">Connect a repository</a></div><div class="account-menu-actions"><button type="button" data-action="settings">Account &amp; settings</button><button type="button" data-action="history">View runs</button></div><div class="account-menu-footer"><button type="button" id="account-disconnect" disabled="">Sign out</button></div></div></div></header><div class="workspace-body"><div class="group peer hidden text-sidebar-foreground md:block" data-state="expanded" data-collapsible="" data-variant="floating" data-side="left" data-slot="sidebar"><div data-slot="sidebar-gap" class="relative w-(--sidebar-width) bg-transparent transition-[width] duration-200 ease-linear group-data-[collapsible=offcanvas]:w-0 group-data-[side=right]:rotate-180 group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)+(--spacing(4)))]"></div><div data-slot="sidebar-container" class="fixed inset-y-0 z-10 hidden h-svh w-(--sidebar-width) transition-[left,right,width] duration-200 ease-linear md:flex left-0 group-data-[collapsible=offcanvas]:left-[calc(var(--sidebar-width)*-1)] p-2 group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)+(--spacing(4))+2px)] workspace-sidebar"><div data-sidebar="sidebar" data-slot="sidebar-inner" class="flex h-full w-full flex-col bg-sidebar group-data-[variant=floating]:rounded-lg group-data-[variant=floating]:border group-data-[variant=floating]:border-sidebar-border group-data-[variant=floating]:shadow-sm"><div data-slot="sidebar-header" data-sidebar="header" class="flex flex-col gap-2 p-2"><button data-slot="button" data-variant="outline" data-size="default" class="inline-flex shrink-0 items-center justify-center gap-2 rounded-md text-sm font-medium whitespace-nowrap transition-all outline-none focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 disabled:pointer-events-none disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 [&amp;_svg]:pointer-events-none [&amp;_svg]:shrink-0 [&amp;_svg:not([class*=&#x27;size-&#x27;])]:size-4 border bg-background shadow-xs hover:bg-accent hover:text-accent-foreground dark:border-input dark:bg-input/30 dark:hover:bg-input/50 h-9 px-4 py-2 has-[&gt;svg]:px-3" id="sidebar-discover"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-plus" aria-hidden="true"><path d="M5 12h14"></path><path d="M12 5v14"></path></svg><span>Connect project</span></button></div><div data-slot="sidebar-content" data-sidebar="content" class="flex min-h-0 flex-1 flex-col gap-2 overflow-auto group-data-[collapsible=icon]:overflow-hidden"><div data-slot="sidebar-group" data-sidebar="group" class="relative flex w-full min-w-0 flex-col p-2 repository-group"><div id="sidebar-projects" aria-label="Your repositories"></div></div></div><div data-slot="sidebar-footer" data-sidebar="footer" class="flex flex-col gap-2 p-2"><ul data-slot="sidebar-menu" data-sidebar="menu" class="flex w-full min-w-0 flex-col gap-1"><li data-slot="sidebar-menu-item" data-sidebar="menu-item" class="group/menu-item relative"><a href="https://agenttwin.si/docs/" data-slot="sidebar-menu-button" data-sidebar="menu-button" data-size="default" data-active="false" class="peer/menu-button flex w-full items-center gap-2 overflow-hidden rounded-md p-2 text-left ring-sidebar-ring outline-hidden transition-[width,height,padding] group-has-data-[sidebar=menu-action]/menu-item:pr-8 group-data-[collapsible=icon]:size-8! group-data-[collapsible=icon]:p-2! focus-visible:ring-2 active:bg-sidebar-accent active:text-sidebar-accent-foreground disabled:pointer-events-none disabled:opacity-50 aria-disabled:pointer-events-none aria-disabled:opacity-50 data-[active=true]:bg-sidebar-accent data-[active=true]:font-medium data-[active=true]:text-sidebar-accent-foreground data-[state=open]:hover:bg-sidebar-accent data-[state=open]:hover:text-sidebar-accent-foreground [&amp;&gt;span:last-child]:truncate [&amp;&gt;svg]:size-4 [&amp;&gt;svg]:shrink-0 hover:bg-sidebar-accent hover:text-sidebar-accent-foreground h-8 text-sm"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-book-open" aria-hidden="true"><path d="M12 5v16"></path><path d="M20.001 19A2 2 0 0022 17V5a2 2 0 00-1.999-2L16 3.002A5 5 0 0012 5a5 5 0 00-4-2H4a2 2 0 00-2 2v12a2 2 0 001.999 2H8a5 5 0 014 2 5 5 0 014-2z"></path></svg><span>Documentation</span></a></li></ul></div></div></div></div><div data-slot="sidebar-inset" class="relative flex w-full flex-1 flex-col bg-background md:peer-data-[variant=inset]:m-2 md:peer-data-[variant=inset]:ml-0 md:peer-data-[variant=inset]:rounded-xl md:peer-data-[variant=inset]:shadow-sm md:peer-data-[variant=inset]:peer-data-[state=collapsed]:ml-2 workspace-inset"><div class="app-layout"><main id="main"><p id="api-message" class="coverage" role="status" aria-live="polite"></p><section id="home-view" hidden="" aria-label="Agent home"><div class="home-hero"><div id="home-sky" aria-hidden="true"></div><h1 class="home-overview-title">What should your agent test?</h1><section class="home-assistant-bottom" aria-label="Workflow assistant"><div class="assistant-entry"><button type="button" id="assistant-dock-toggle" aria-expanded="false" aria-controls="assistant-dock-panel"><span class="assistant-entry-label-desktop">Ask about a workflow or test result</span><span class="assistant-entry-label-mobile">Ask AgentTwin</span><span aria-hidden="true">↑</span></button><button type="button" id="assistant-voice-entry" class="voice-button" aria-label="Dictate a message" title="Dictate a message"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.7" aria-hidden="true"><rect x="9" y="3" width="6" height="12" rx="3"></rect><path d="M5 10v2a7 7 0 0 0 14 0v-2M12 19v3M8 22h8"></path></svg></button></div><div class="hero-content" id="assistant-dock-panel" hidden=""><button type="button" id="assistant-dock-close" aria-label="Minimize workflow assistant">Minimize ↓</button><div class="home-composer" role="form" aria-label="Workflow assistant"><div class="assistant-heading"><strong>Ask AgentTwin</strong><span id="assistant-project-context"></span></div><p id="assistant-connection-status" role="status"></p><button type="button" id="assistant-connect">Connect your account</button><label class="visually-hidden" for="composer-input">Ask about your workflow</label><textarea id="composer-input" rows="3" placeholder="What would you like to test?" spellCheck="false"></textarea><div class="composer-row"><span class="assistant-send-hint">Ask about your workflows or run results</span><button type="button" id="composer-voice" class="voice-button" aria-label="Dictate a message" title="Dictate a message"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.7" aria-hidden="true"><rect x="9" y="3" width="6" height="12" rx="3"></rect><path d="M5 10v2a7 7 0 0 0 14 0v-2M12 19v3M8 22h8"></path></svg></button><button type="button" class="composer-send" id="composer-send" aria-label="Send message">Send ↑</button></div><div id="chat-thread" class="chat-thread" aria-label="Workflow conversation" hidden=""></div><p id="composer-note" class="composer-note" role="status"></p></div></div></section></div><div class="home-body"><section id="home-next-step" class="next-step home-action" aria-label="Next step"></section><div class="home-grid-head"><span class="grid-hint">Your workspace</span><button type="button" id="home-customize" aria-expanded="false" aria-controls="home-widget-controls"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" aria-hidden="true"><rect x="4" y="4" width="6.5" height="6.5" rx="1.5"></rect><rect x="13.5" y="4" width="6.5" height="6.5" rx="1.5"></rect><rect x="4" y="13.5" width="6.5" height="6.5" rx="1.5"></rect><rect x="13.5" y="13.5" width="6.5" height="6.5" rx="1.5"></rect></svg>Customize</button></div><div id="home-widget-controls" class="home-widget-controls" role="region" aria-label="Customize home" hidden=""></div><div class="home-widgets home-grid"><article class="widget area-project" id="widget-project"><header><h2>Project discovery</h2></header><div class="w-body" id="project-body"></div></article><article class="widget area-overview" id="widget-overview"><header><span class="w-ico" aria-hidden="true"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5"><path d="M4 20h16"></path><path d="M7 16v-5M12 16V8M17 16v-3"></path></svg></span><h2>Failure overview</h2><span class="w-head-meta">Last 8 weeks</span></header><div class="w-body failure-overview" id="failure-overview"></div></article><article class="widget area-failures" id="widget-failures"><header><span class="w-ico" aria-hidden="true"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5"><circle cx="12" cy="12" r="9"></circle><path d="m9 9 6 6M15 9l-6 6"></path></svg></span><h2>Needs attention</h2><span class="w-head-meta" id="failures-meta"></span></header><div class="w-body" id="failures-body"></div></article><article class="widget area-receipts" id="widget-receipts"><header><span class="w-ico" aria-hidden="true"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5"><path d="M6 3h9l4 4v14H6Z"></path><path d="M15 3v4h4"></path><path d="M9 12h7M9 16h7"></path></svg></span><h2>Test results</h2><span class="w-count warn" id="receipts-count"></span><span class="w-head-spin" id="receipts-spin" hidden=""><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" class="spin"><path d="M12 3a9 9 0 1 0 9 9" stroke-linecap="round"></path></svg></span></header><div class="w-body" id="receipts-body"></div></article><article class="widget area-execution" id="widget-execution"><header><span class="w-ico" aria-hidden="true"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5"><rect x="3" y="5" width="18" height="14" rx="3"></rect><path d="M3 10h18M8 5v5"></path></svg></span><h2>Execution</h2><span class="w-count" id="working-count"></span><span class="w-head-meta" id="sandbox-meta"></span><span id="working-meta" hidden=""></span></header><div class="w-body"><p class="exec-label">Last run</p><div id="sandbox-body"></div><p class="exec-label">Now</p><div id="working-body"></div></div></article><article class="widget area-readiness" id="widget-readiness"><header><span class="w-ico" aria-hidden="true"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5"><path d="M8 4H5v17h14V4h-3"></path><rect x="8" y="2" width="8" height="4" rx="1"></rect><path d="m8 13 3 3 5-6"></path></svg></span><h2>Test readiness</h2></header><div class="w-body" id="readiness-body"></div></article><article class="widget area-services" id="widget-services"><header><span class="w-ico" aria-hidden="true"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5"><circle cx="12" cy="12" r="9"></circle><circle cx="12" cy="12" r="2.5"></circle><path d="M5.5 5.5 10 10m4 4 4.5 4.5M18.5 5.5 14 10m-4 4-4.5 4.5"></path></svg></span><h2>Observed activities</h2></header><div class="w-body" id="services-body"></div></article><article class="widget area-git" id="widget-git"><header><h2>Git activity</h2><span id="git-meta" class="w-head-meta"></span></header><div class="w-body" id="git-body"></div></article></div></div></section><section id="environment-view"><div id="environment-project-actions" class="environment-project-actions" hidden=""><p id="environment-removal-message" role="status" aria-live="polite"></p><button id="environment-delete-project" type="button"><svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" aria-hidden="true"><path d="M3 6h18M9 6V3h6v3M5 6l1 15h12l1-15M10 10v7M14 10v7"></path></svg>Delete project</button></div><div class="heading"><div><p class="eyebrow">Project / environment</p><h1 id="environment-title">Start by connecting your project</h1><p id="environment-subtitle" class="muted">Run one command in your repository — AgentTwin maps the tools and workflows your agent uses.</p></div><div class="actions"><label class="upload">Upload discovery file<input id="inventory-import" type="file" accept="application/json,.json"/></label><button id="configure-run" class="primary" type="button">Review workflows →</button></div></div><div class="discovery-onboarding"><aside class="terminal-panel"><div class="terminal-title"><h2>Connect your project</h2><span>From your terminal</span></div><div class="terminal-content"><div class="terminal-command"><span class="command-prompt" aria-hidden="true">❯</span><code>npx agenttwin</code><button id="copy-init" type="button" aria-label="Copy discovery command">Copy command <span aria-hidden="true">↗</span></button></div><p class="terminal-comment">Run in your repository · any Node.js version</p><div class="terminal-output" id="terminal-output"></div><details class="discovery-help"><summary>Analyze with a coding agent</summary><p>Give your coding agent the AgentTwin tools with <code>npx agenttwin mcp</code>, or point it at the generated <code>AGENT-TASK.md</code>.</p></details><details class="discovery-help"><summary>Send findings to this workspace</summary><p>Connect your account in Settings, configure <code>AGENTTWIN_TOKEN</code> in your terminal, then run <code>npx agenttwin sync</code>. This sends discovery metadata. Application files upload separately when you execute a reviewed bundle.</p><button type="button" data-action="settings">Open connection settings →</button></details></div></aside><section class="workflow-area"><div class="section-title"><h2 id="discovery-workflows-title">Discovery</h2><button id="discovery-workflows-link" type="button" data-action="configure">View workflows →</button></div><div id="environment-workflows"></div></section></div><div class="welcome-next"><ol class="welcome-steps"><li><span>01</span><div><strong>Discover</strong><p>Find tools and code paths.</p></div></li><li><span>02</span><div><strong>Review</strong><p>Choose what needs testing.</p></div></li><li><span>03</span><div><strong>Run safely</strong><p>Test through the CLI.</p></div></li></ol><button id="welcome-select-software" type="button">Or select your tools manually <span aria-hidden="true">→</span></button></div><div id="environment-coverage" class="coverage-strip"></div><div class="environment-grid"><section class="discovery-area"><div class="section-title"><h2>Selected resources</h2><div class="actions"><button id="add-app-toggle" type="button">Add custom software</button><button id="select-software" type="button">Select software</button></div></div><p id="inventory-context" class="coverage">No project connected. Import the inventory from your CLI to see its dependencies and workflow candidates.</p><form id="add-app" class="app-declaration" hidden=""><label>App or tool name<input id="app-name" required="" maxLength="80" placeholder="For example, Apple Mail"/></label><label>How the agent uses it<select id="app-interface"><option value="desktop">Desktop interface · no API required</option><option value="browser">Browser interface</option><option value="api">API / connector</option><option value="terminal">Terminal / command line</option></select></label><button type="submit">Add to environment</button></form><section class="topology-panel"><header class="topology-heading"><h3>Environment map</h3><span id="resource-count">0 resources</span><div class="map-controls"><button id="map-zoom-out" type="button" aria-label="Zoom out">−</button><span id="map-zoom-label">100%</span><button id="map-zoom-in" type="button" aria-label="Zoom in">+</button><button id="map-fit" type="button">Reset view</button><button id="map-arrange" type="button">Arrange</button></div></header><p class="topology-hint">Each card is a tool or service your agent uses — click one to see what its test needs.</p><div class="map-workspace"><div id="map-canvas" class="topology-canvas" tabindex="0" aria-label="Environment map. Drag empty space to pan; drag cards to move them. Use arrow keys to pan."><p id="topology-label" class="topology-label">Selected resources</p><div id="map-scroll-space" class="map-scroll-space"><div id="map-stage" class="map-stage"><svg id="map-edges" class="map-edges" aria-hidden="true"></svg><div id="environment-project" class="environment-project" data-node="project" tabindex="0" aria-label="Move project card"></div><div id="environment-tools" class="resource-grid"></div></div></div><div id="map-empty" class="map-empty"><img src="assets/icons/ui/plugs-connected.svg" width="26" height="26" alt=""/><h3>No resources selected</h3><p>Run npx agenttwin in your project, then import .agenttwin/inventory.json. You can also declare a resource manually.</p><button id="map-select-tools" type="button">Browse resource catalog</button></div><span class="map-hint">Drag to pan · drag cards to arrange</span></div><aside class="map-resource-rail"><label>Selected resources <span id="map-list-count"></span><input id="map-resource-search" type="search" placeholder="Find a selected tool"/></label><div id="map-resource-list"></div><div id="map-resource-detail"><p>Select a resource to inspect coverage.</p></div></aside></div><div class="map-pagination"><span id="map-page-label"></span><span>Scroll to explore · select a name to locate its card</span></div></section><p id="environment-message" role="status" aria-live="polite"></p><div id="removed-resource" class="removal-notice" role="status" hidden=""><span id="removed-resource-message"></span><button id="undo-remove-resource" type="button">Undo</button></div></section></div><details class="catalog-drawer"><summary>Select software <span>choose what your workflow uses</span></summary><div class="catalog-body"><div id="catalog-slot"><div class="connector-toolbar"><label>Find a connector<input id="connector-search" type="search" placeholder="Search services"/></label><button id="select-connectors" type="button">Select all</button><button id="clear-connectors" type="button">Clear selection</button></div><p id="connector-status" role="status" aria-live="polite"></p><div id="connector-catalog" class="connector-catalog"></div><button id="export-connectors" type="button">Export selection ↓</button></div></div></details><details class="coverage-note"><summary>Runtime coverage</summary><p>Node workflows with custom HTTP collections and bounded Slack operations run through the CLI. PostgreSQL and Redis worlds can use an explicitly selected cloud runner. Other provider adapters and browser/desktop execution require implementation. Native macOS apps need a compatible macOS runtime. Production accounts are not copied.</p></details></section><section id="configure-view" hidden=""><div class="heading"><div><p class="eyebrow">Project / workflows</p><h1 id="workflows-title">Workflows</h1><p id="workflows-subtitle" class="muted">Pick something your agent does. Prepare a safe test, run it, and see exactly what passed.</p></div></div><div id="workflow-workspace"></div></section><section id="settings-view" hidden=""><div class="heading"><div><h1>Settings</h1><p class="muted">Your account, projects and dashboard preferences.</p></div></div><form id="api-connect"></form><section class="settings-section"><div class="settings-section-heading"><h2>Sign-in methods</h2><p>Signed up with Google? Create a password to use email sign-in with the same workspace.</p></div><a href="/account/password/">Email and password →</a></section><form id="workspace-preferences" class="settings-preferences"><section class="settings-section"><div class="settings-section-heading"><h2>Account &amp; company</h2><p>Your display details on this browser.</p></div><div class="setting-row"><div><label for="workspace-display-name">Company or workspace</label></div><input id="workspace-display-name" type="text" maxLength="40" required="" autoComplete="organization" value="My workspace"/></div><div class="setting-row"><div><label for="workspace-user-name">Your name</label></div><input id="workspace-user-name" type="text" maxLength="60" autoComplete="name"/></div><div class="settings-connection"><div class="settings-section-heading"><h3>Workspace connection</h3><p>Connect to see your synced projects and test results.</p></div><p id="account-connection-status" class="connection-status" role="status">Not connected</p><details class="settings-credentials"><summary>Connection details</summary><label for="api-url">Server address</label><input form="api-connect" id="api-url" type="url" required="" placeholder="https://your-agenttwin-api.example"/><label for="api-token">Account token</label><div class="token-input"><input form="api-connect" id="api-token" type="password" required="" autoComplete="off" placeholder="at_user_…"/><button id="toggle-token" type="button" aria-label="Show account token" aria-pressed="false">Show</button></div><p class="setup-note">Your token stays in this tab until you reload or disconnect.</p><button form="api-connect" type="submit" class="primary">Connect account</button></details><div class="actions"><button type="button" id="api-sync-settings" disabled="">Refresh projects</button><button type="button" id="api-disconnect" disabled="">Disconnect account</button></div><p id="settings-connection-message" role="status" aria-live="polite"></p><details class="settings-assistant-status"><summary>Assistant availability</summary><p id="settings-chat-status" role="status">Connect your account to check availability.</p></details></div></section><section class="settings-section"><div class="project-settings-heading"><div><h2>Projects</h2><p>Applications connected to this workspace.</p></div><a class="project-add" href="/onboarding/">Add project</a></div><div id="settings-repositories"><p class="muted">No projects connected.</p></div><p id="project-settings-message" role="status" aria-live="polite"></p></section><section class="settings-section" id="github-settings"><div class="settings-section-heading"><h2>GitHub</h2><p>Run locked twin regressions on every pull request. Installing the AgentTwin app sets up the webhook for you.</p></div><div id="github-app"><p class="muted">Connect your account to add AgentTwin to GitHub.</p></div><div class="actions"><button type="button" class="primary github-install" data-github-install="true">Add to GitHub</button></div><p id="github-app-message" role="status" aria-live="polite"></p></section><section class="settings-section"><div class="settings-section-heading"><h2>Testing</h2><p>Start locally. Choose a cloud machine only when a workflow needs one.</p></div><div class="settings-runtime"><span class="settings-default">Default</span><h3>Run in your repository</h3><p>Use <code>npx agenttwin run</code>, then <code>npx agenttwin sync</code> to see results here.</p></div><p class="setup-note">Execution limits, dependencies and cloud requirements belong to each workflow.</p><button type="button" data-goto="configure">Review workflows →</button></section><section class="settings-section"><div class="settings-section-heading"><h2>Preferences</h2><p>Make this dashboard comfortable for you.</p></div><div class="setting-row"><div><label for="dashboard-artwork">Home background</label><p>Automatic follows your local time.</p></div><select id="dashboard-artwork"><option value="auto" selected="">Automatic</option><option value="morning">Morning</option><option value="afternoon">Afternoon</option><option value="evening">Evening</option></select></div><div class="setting-row"><div><label for="auto-refresh">Live updates</label><p>Refresh project and run status while this tab is open.</p></div><input id="auto-refresh" type="checkbox" role="switch" checked=""/></div><div class="setting-row"><div><label for="compact-density">Compact layout</label><p>Fit more workflows and runs on screen.</p></div><input id="compact-density" type="checkbox" role="switch"/></div><div class="setting-row"><div><label for="reduce-motion">Reduce motion</label><p>Use fewer animations and transitions.</p></div><input id="reduce-motion" type="checkbox" role="switch"/></div></section><div class="settings-save"><p id="preferences-message" role="status" aria-live="polite">Changes save to this browser.</p><button type="button" id="reset-preferences">Reset preferences</button><button type="submit" class="primary">Save changes</button></div></form></section><section id="history-view" hidden=""><div class="heading"><div><p class="eyebrow">Project / runs</p><h1 id="runs-title">Test results</h1><p id="runs-subtitle" class="muted">Every test run lands here — what was tested, what passed, and what to fix.</p></div><div class="actions"><button type="button" class="github-install" data-github-install="true" title="Run locked regressions on every pull request">Add to GitHub</button><button id="reload" type="button">Refresh</button><label class="primary upload">Import test results<input id="import" type="file" accept="application/json,.json" multiple=""/></label></div></div><section class="workflow-register submitted-jobs"><div class="section-title"><h2>Execution queue</h2><button id="refresh-api-jobs" type="button" disabled="">Refresh</button></div><div id="api-jobs"><p class="coverage">Connect your account in Settings to load submitted runs.</p></div></section><p id="message" role="status" aria-live="polite"></p><section class="stats" id="stats" aria-label="Run summary"></section><div class="workspace"><aside class="run-sidebar"><div class="list-heading"><h2>Test history</h2><span id="run-count"></span></div><label class="search-label">Filter runs<input id="search" type="search" placeholder="Find a workflow, revision or run"/></label><div class="run-filters"><label>Repository<select id="run-project"><option value="all" selected="">All repositories</option></select></label><label>Outcome<select id="run-status"><option value="all" selected="">All outcomes</option><option value="passed">Passed</option><option value="failed">Failed</option><option value="error">Execution error</option><option value="incomplete">Incomplete</option></select></label><label>Workflow<select id="run-workflow"><option value="all" selected="">All workflows</option></select></label></div><label class="mobile-run-picker">Select test<select id="run-picker"><option value="" selected="">No tests loaded</option></select></label><div id="runs" aria-label="Select a run"><p class="muted">Loading run evidence…</p></div></aside><article id="detail" class="detail" aria-live="polite"><div class="empty"><h2>Loading evidence</h2><p>Fetching recorded test results.</p></div></article></div></section><section id="checks-view" hidden=""><div class="heading"><div><p class="eyebrow">All repositories / checks</p><h1>Pull request checks</h1><p class="muted">What each pull request would have done to your systems, and what AgentTwin stopped before merge.</p></div></div><div id="checks-content" aria-live="polite"><p class="muted">Loading checks…</p></div></section><section id="team-view" hidden=""><div class="heading"><div><p class="eyebrow">Workspace / team</p><h1>Team</h1><p class="muted">Who can see and change this workspace, the tokens your CI uses, and a log of every change.</p></div></div><div id="team-content" aria-live="polite"><p class="muted">Loading team…</p></div></section></main><button type="button" class="workspace-tour-launcher"><span aria-hidden="true">✦</span> Take a tour</button></div></div></div></div><!--$--><!--/$--><script src="assets/next/static/chunks/webpack-1d489f41fe167959.js" id="_R_" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0])</script><script>self.__next_f.push([1,"1:\"$Sreact.fragment\"\n2:I[1402,[\"7177\",\"static/chunks/app/layout-be64d3e50db4b7a9.js\"],\"\"]\n4:I[540,[\"7177\",\"static/chunks/app/layout-be64d3e50db4b7a9.js\"],\"default\"]\n5:I[9766,[],\"\"]\n6:I[8924,[],\"\"]\nc:I[7150,[],\"\"]\n:HL[\"assets/next/static/css/605ac70c9cf7a260.css\",\"style\"]\n:HL[\"assets/next/static/css/459672916fd34cc5.css\",\"style\"]\n:HL[\"assets/next/static/css/37d81e1d2804cc5f.css\",\"style\"]\n:HL[\"assets/next/static/css/e7f08eacc20752f3.css\",\"style\"]\n:HL[\"assets/next/static/css/39133c9a03c8edb8.css\",\"style\"]\n:HL[\"assets/next/static/css/a55cc0682e56b7aa.css\",\"style\"]\n:HL[\"assets/next/static/css/11f70fd04660da57.css\",\"style\"]\n:HL[\"assets/next/static/css/dd3fb06005e18149.css\",\"style\"]\n3:T41c,"])</script><script>self.__next_f.push([1,"\n// Local diagnostics only. Preserve the browser's default error reporting.\n(() =\u003e {\n if (window.__agenttwinRuntimeDiagnostics) return;\n Object.defineProperty(window, '__agenttwinRuntimeDiagnostics', { value: true });\n const report = (kind, message) =\u003e {\n try { console.error('[AgentTwin] ' + kind + ':', String(message).slice(0, 2048)); }\n catch { /* Diagnostics must never break the application. */ }\n };\n // Browser extensions run in the page too; their failures are not AgentTwin's.\n const extension = text =\u003e /(?:chrome|moz|safari-web)-extension:\\/\\//.test(String(text ?? ''));\n window.addEventListener('error', event =\u003e {\n if (extension(event.filename) || extension(event.error?.stack)) return;\n if (event.message) report('Runtime error', event.message);\n });\n window.addEventListener('unhandledrejection', event =\u003e {\n const reason = event.reason;\n if (extension(reason?.stack)) return;\n report('Unhandled promise rejection', typeof reason === 'string' ? reason : reason?.message || 'Promise rejected');\n });\n})();\n"])</script><script>self.__next_f.push([1,"0:{\"P\":null,\"b\":\"m3owxChJUGxcTX3zU04al\",\"p\":\"\",\"c\":[\"\",\"dashboard\",\"\"],\"i\":false,\"f\":[[[\"\",{\"children\":[\"dashboard\",{\"children\":[\"__PAGE__\",{}]}]},\"$undefined\",\"$undefined\",true],[\"\",[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"assets/next/static/css/605ac70c9cf7a260.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}]],[\"$\",\"html\",null,{\"lang\":\"en\",\"suppressHydrationWarning\":true,\"children\":[[\"$\",\"head\",null,{\"children\":[[\"$\",\"script\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"(function(){\\n var theme='dark';\\n try{if(localStorage.getItem('agenttwin-site-theme')==='light')theme='light';}catch(e){}\\n document.documentElement.dataset.siteTheme=theme;\\n})();\"}}],[\"$\",\"$L2\",null,{\"id\":\"runtime-errors\",\"strategy\":\"beforeInteractive\",\"dangerouslySetInnerHTML\":{\"__html\":\"$3\"}}],[\"$\",\"$L2\",null,{\"strategy\":\"lazyOnload\",\"src\":\"https://www.googletagmanager.com/gtag/js?id=G-R96JDX5RCK\"}],[\"$\",\"$L2\",null,{\"id\":\"google-analytics-init\",\"strategy\":\"afterInteractive\",\"dangerouslySetInnerHTML\":{\"__html\":\"window.dataLayer = window.dataLayer || [];\\nfunction gtag(){dataLayer.push(arguments);}\\ngtag('js', new Date());\\ngtag('config', 'G-R96JDX5RCK');\"}}],[\"$\",\"script\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"(function(){\\n var attribute='bis_skin_checked';\\n function clean(node){\\n if(node.nodeType!==1)return;\\n if(node.hasAttribute(attribute))node.removeAttribute(attribute);\\n node.querySelectorAll('['+attribute+']').forEach(function(element){element.removeAttribute(attribute);});\\n }\\n clean(document.documentElement);\\n new MutationObserver(function(records){\\n records.forEach(function(record){\\n if(record.type==='attributes'){\\n if(record.target.hasAttribute(attribute))record.target.removeAttribute(attribute);\\n }else record.addedNodes.forEach(clean);\\n });\\n }).observe(document.documentElement,{subtree:true,childList:true,attributes:true,attributeFilter:[attribute]});\\n})();\"}}],[\"$\",\"script\",null,{\"defer\":true,\"data-domain\":\"agenttwin.si\",\"src\":\"https://analytics.hirealpha.chat/js/script.js\"}],\"$undefined\",[\"$\",\"$L4\",null,{}],[\"$\",\"script\",null,{\"type\":\"module\",\"src\":\"/agent-tools.js\"}],[\"$\",\"link\",null,{\"rel\":\"ard\",\"href\":\"/.well-known/ard.json\"}],[\"$\",\"meta\",null,{\"name\":\"theme-color\",\"content\":\"#090909\"}],[\"$\",\"link\",null,{\"rel\":\"icon\",\"type\":\"image/svg+xml\",\"href\":\"assets/logo/favicon.svg?v=white-rings\"}],[\"$\",\"link\",null,{\"rel\":\"preload\",\"href\":\"assets/fonts/syne-400.ttf\",\"as\":\"font\",\"type\":\"font/ttf\",\"crossOrigin\":\"anonymous\"}]]}],[\"$\",\"body\",null,{\"suppressHydrationWarning\":true,\"children\":[\"$\",\"$L5\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L6\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":[[[\"$\",\"a\",null,{\"className\":\"skip\",\"href\":\"#main\",\"children\":\"Skip to content\"}],\"$L7\"],[\"$L8\"]],\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]}]]}]]}],{\"children\":[\"dashboard\",\"$L9\",{\"children\":[\"__PAGE__\",\"$La\",{},null,false]},null,false]},null,false],\"$Lb\",false]],\"m\":\"$undefined\",\"G\":[\"$c\",[]],\"s\":false,\"S\":true}\n"])</script><script>self.__next_f.push([1,"d:I[8765,[\"5105\",\"static/chunks/0e5ce63c-707674e8817dc2e1.js\",\"8974\",\"static/chunks/app/page-ede77810f4904ea5.js\"],\"default\"]\n18:I[5705,[\"7772\",\"static/chunks/7772-f2d773cd3e94eea6.js\",\"2743\",\"static/chunks/2743-a0efd6f4aeb11cc5.js\",\"1937\",\"static/chunks/1937-6c86fddc443de922.js\",\"424\",\"static/chunks/424-83736cfafc224fc6.js\",\"7486\",\"static/chunks/app/dashboard/page-8b436163bc85e182.js\"],\"default\"]\n19:I[4431,[],\"OutletBoundary\"]\n1b:I[5278,[],\"AsyncMetadataOutlet\"]\n1d:I[4431,[],\"ViewportBoundary\"]\n1f:I[4431,[],\"MetadataBoundary\"]\n20:\"$Sreact.suspense\"\n"])</script><script>self.__next_f.push([1,"7:[\"$\",\"div\",null,{\"className\":\"page-frame\",\"children\":[[\"$\",\"$Ld\",null,{}],[\"$\",\"main\",null,{\"id\":\"main\",\"className\":\"container\",\"style\":{\"maxWidth\":840,\"padding\":\"140px 0 110px\"},\"children\":[[\"$\",\"p\",null,{\"style\":{\"font\":\"600 11px var(--mono)\",\"letterSpacing\":\".22em\",\"textTransform\":\"uppercase\",\"color\":\"var(--dim)\",\"margin\":\"0 0 14px\"},\"children\":\"404\"}],[\"$\",\"h1\",null,{\"style\":{\"fontSize\":\"clamp(36px,5vw,56px)\",\"fontWeight\":500,\"letterSpacing\":\"-.04em\",\"lineHeight\":1.06,\"margin\":\"0 0 16px\"},\"children\":\"This page doesn't exist.\"}],[\"$\",\"p\",null,{\"style\":{\"color\":\"var(--muted)\",\"fontSize\":17,\"lineHeight\":1.65,\"maxWidth\":560,\"margin\":\"0 0 40px\"},\"children\":\"The link may be old or mistyped. These are the places most people are looking for:\"}],[\"$\",\"ul\",null,{\"style\":{\"listStyle\":\"none\",\"padding\":0,\"margin\":0,\"display\":\"grid\",\"gap\":1,\"borderTop\":\"1px solid var(--line)\"},\"children\":[[\"$\",\"li\",\"/dashboard/\",{\"style\":{\"borderBottom\":\"1px solid var(--line)\"},\"children\":[\"$\",\"a\",null,{\"href\":\"/dashboard/\",\"style\":{\"display\":\"flex\",\"justifyContent\":\"space-between\",\"gap\":16,\"padding\":\"18px 0\",\"color\":\"inherit\",\"textDecoration\":\"none\"},\"children\":[[\"$\",\"span\",null,{\"children\":[[\"$\",\"strong\",null,{\"style\":{\"fontWeight\":500},\"children\":\"Open your workspace\"}],[\"$\",\"br\",null,{}],[\"$\",\"span\",null,{\"style\":{\"color\":\"var(--muted)\",\"fontSize\":14},\"children\":\"Projects, workflows and test results\"}]]}],[\"$\",\"span\",null,{\"aria-hidden\":\"true\",\"children\":\"→\"}]]}]}],[\"$\",\"li\",\"/docs/quickstart/\",{\"style\":{\"borderBottom\":\"1px solid var(--line)\"},\"children\":[\"$\",\"a\",null,{\"href\":\"/docs/quickstart/\",\"style\":{\"display\":\"flex\",\"justifyContent\":\"space-between\",\"gap\":16,\"padding\":\"18px 0\",\"color\":\"inherit\",\"textDecoration\":\"none\"},\"children\":[[\"$\",\"span\",null,{\"children\":[[\"$\",\"strong\",null,{\"style\":{\"fontWeight\":500},\"children\":\"Set up your project\"}],[\"$\",\"br\",null,{}],[\"$\",\"span\",null,{\"style\":{\"color\":\"var(--muted)\",\"fontSize\":14},\"children\":\"Run your first test in a digital twin\"}]]}],[\"$\",\"span\",null,{\"aria-hidden\":\"true\",\"children\":\"→\"}]]}]}],[\"$\",\"li\",\"/pricing/\",{\"style\":{\"borderBottom\":\"1px solid var(--line)\"},\"children\":[\"$\",\"a\",null,{\"href\":\"/pricing/\",\"style\":{\"display\":\"flex\",\"justifyContent\":\"space-between\",\"gap\":16,\"padding\":\"18px 0\",\"color\":\"inherit\",\"textDecoration\":\"none\"},\"children\":[[\"$\",\"span\",null,{\"children\":[[\"$\",\"strong\",null,{\"style\":{\"fontWeight\":500},\"children\":\"Pricing\"}],[\"$\",\"br\",null,{}],[\"$\",\"span\",null,{\"style\":{\"color\":\"var(--muted)\",\"fontSize\":14},\"children\":\"Enterprise: contact us\"}]]}],[\"$\",\"span\",null,{\"aria-hidden\":\"true\",\"children\":\"→\"}]]}]}],[\"$\",\"li\",\"/contact/\",{\"style\":{\"borderBottom\":\"1px solid var(--line)\"},\"children\":[\"$\",\"a\",null,{\"href\":\"/contact/\",\"style\":{\"display\":\"flex\",\"justifyContent\":\"space-between\",\"gap\":16,\"padding\":\"18px 0\",\"color\":\"inherit\",\"textDecoration\":\"none\"},\"children\":[[\"$\",\"span\",null,{\"children\":[[\"$\",\"strong\",null,{\"style\":{\"fontWeight\":500},\"children\":\"Contact us\"}],[\"$\",\"br\",null,{}],[\"$\",\"span\",null,{\"style\":{\"color\":\"var(--muted)\",\"fontSize\":14},\"children\":\"Book a call or ask a question\"}]]}],[\"$\",\"span\",null,{\"aria-hidden\":\"true\",\"children\":\"→\"}]]}]}]]}]]}],[\"$\",\"footer\",null,{\"className\":\"site-footer SiteFooter_footer__aUaTs\",\"id\":\"footer\",\"children\":[\"$\",\"div\",null,{\"className\":\"container SiteFooter_content__1J6Jy\",\"children\":[[\"$\",\"div\",null,{\"className\":\"SiteFooter_main__EWvbi\",\"children\":[[\"$\",\"div\",null,{\"className\":\"SiteFooter_brand__HyIqL\",\"children\":[[\"$\",\"a\",null,{\"className\":\"brand\",\"href\":\"/\",\"aria-label\":\"AgentTwin home\",\"children\":[[\"$\",\"img\",null,{\"src\":\"assets/logo/mark-twin-rings.svg?v=white-rings\",\"alt\":\"\",\"aria-hidden\":\"true\",\"width\":29,\"height\":29}],\"AgentTwin\"]}],[\"$\",\"p\",null,{\"children\":[\"Production conditions.\",[\"$\",\"br\",null,{}],\"Room to get it wrong.\"]}]]}],[\"$\",\"div\",null,{\"className\":\"SiteFooter_navigation__Zsq8o\",\"children\":[[\"$\",\"div\",null,{\"className\":\"SiteFooter_groups__tPgIM\",\"children\":[[\"$\",\"nav\",\"Product\",{\"aria-label\":\"Footer Product\",\"className\":\"SiteFooter_group__FK9ik\",\"children\":[[\"$\",\"h2\",null,{\"children\":\"Product\"}],[[\"$\",\"a\",\"/#how\",{\"href\":\"/#how\",\"aria-label\":\"$undefined\",\"target\":\"$undefined\",\"rel\":\"$undefined\",\"children\":[\"How it works\",false]}],[\"$\",\"a\",\"/docs/status/\",{\"href\":\"/docs/status/\",\"aria-label\":\"$undefined\",\"target\":\"$undefined\",\"rel\":\"$undefined\",\"children\":[\"What works today\",false]}],[\"$\",\"a\",\"/scoreboard/\",{\"href\":\"/scoreboard/\",\"aria-label\":\"$undefined\",\"target\":\"$undefined\",\"rel\":\"$undefined\",\"children\":[\"Scoreboard\",false]}],[\"$\",\"a\",\"/demo/\",{\"href\":\"/demo/\",\"aria-label\":\"$undefined\",\"target\":\"$undefined\",\"rel\":\"$undefined\",\"children\":[\"Browser demo\",false]}],[\"$\",\"a\",\"/pricing/\",{\"href\":\"/pricing/\",\"aria-label\":\"$undefined\",\"target\":\"$undefined\",\"rel\":\"$undefined\",\"children\":[\"Pricing\",false]}],[\"$\",\"a\",\"/docs/roadmap/\",{\"href\":\"/docs/roadmap/\",\"aria-label\":\"$undefined\",\"target\":\"$undefined\",\"rel\":\"$undefined\",\"children\":[\"Roadmap\",false]}]]]}],[\"$\",\"nav\",\"Developers\",{\"aria-label\":\"Footer Developers\",\"className\":\"SiteFooter_group__FK9ik\",\"children\":[\"$Le\",[\"$Lf\",\"$L10\",\"$L11\",\"$L12\",\"$L13\"]]}],\"$L14\",\"$L15\"]}],\"$L16\"]}]]}],\"$L17\"]}]}]]}]\n"])</script><script>self.__next_f.push([1,"8:[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"assets/next/static/css/2c38dfe54afd9bb6.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}]\n"])</script><script>self.__next_f.push([1,"9:[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"assets/next/static/css/459672916fd34cc5.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}],[\"$\",\"link\",\"1\",{\"rel\":\"stylesheet\",\"href\":\"assets/next/static/css/37d81e1d2804cc5f.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}],[\"$\",\"link\",\"2\",{\"rel\":\"stylesheet\",\"href\":\"assets/next/static/css/e7f08eacc20752f3.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}],[\"$\",\"link\",\"3\",{\"rel\":\"stylesheet\",\"href\":\"assets/next/static/css/39133c9a03c8edb8.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}],[\"$\",\"link\",\"4\",{\"rel\":\"stylesheet\",\"href\":\"assets/next/static/css/a55cc0682e56b7aa.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}]],[[\"$\",\"meta\",null,{\"name\":\"agenttwin-api-url\",\"content\":\"https://api.agenttwin.si\"}],[\"$\",\"$L5\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L6\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]]]}]\n"])</script><script>self.__next_f.push([1,"a:[\"$\",\"$1\",\"c\",{\"children\":[[\"$\",\"$L18\",null,{}],[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"assets/next/static/css/11f70fd04660da57.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}],[\"$\",\"link\",\"1\",{\"rel\":\"stylesheet\",\"href\":\"assets/next/static/css/dd3fb06005e18149.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}]],[\"$\",\"$L19\",null,{\"children\":[\"$L1a\",[\"$\",\"$L1b\",null,{\"promise\":\"$@1c\"}]]}]]}]\nb:[\"$\",\"$1\",\"h\",{\"children\":[null,[[\"$\",\"$L1d\",null,{\"children\":\"$L1e\"}],null],[\"$\",\"$L1f\",null,{\"children\":[\"$\",\"div\",null,{\"hidden\":true,\"children\":[\"$\",\"$20\",null,{\"fallback\":null,\"children\":\"$L21\"}]}]}]]}]\n"])</script><script>self.__next_f.push([1,"e:[\"$\",\"h2\",null,{\"children\":\"Developers\"}]\nf:[\"$\",\"a\",\"/docs/quickstart/\",{\"href\":\"/docs/quickstart/\",\"aria-label\":\"$undefined\",\"target\":\"$undefined\",\"rel\":\"$undefined\",\"children\":[\"Quickstart\",false]}]\n10:[\"$\",\"a\",\"/docs/\",{\"href\":\"/docs/\",\"aria-label\":\"$undefined\",\"target\":\"$undefined\",\"rel\":\"$undefined\",\"children\":[\"Documentation\",false]}]\n11:[\"$\",\"a\",\"/docs/api/\",{\"href\":\"/docs/api/\",\"aria-label\":\"$undefined\",\"target\":\"$undefined\",\"rel\":\"$undefined\",\"children\":[\"API reference\",false]}]\n12:[\"$\",\"a\",\"/docs/mcp/\",{\"href\":\"/docs/mcp/\",\"aria-label\":\"$undefined\",\"target\":\"$undefined\",\"rel\":\"$undefined\",\"children\":[\"MCP for agents\",false]}]\n"])</script><script>self.__next_f.push([1,"13:[\"$\",\"a\",\"https://github.com/AgentTwin/agenttwin-agent-tools\",{\"href\":\"https://github.com/AgentTwin/agenttwin-agent-tools\",\"aria-label\":\"$undefined\",\"target\":\"_blank\",\"rel\":\"noopener noreferrer\",\"children\":[\"Agent tools\",[[\"$\",\"svg\",null,{\"width\":\"15\",\"height\":\"15\",\"viewBox\":\"0 0 15 15\",\"fill\":\"none\",\"xmlns\":\"http://www.w3.org/2000/svg\",\"aria-hidden\":\"true\",\"ref\":\"$undefined\",\"children\":[\"$\",\"path\",null,{\"d\":\"M3.64645 11.3536C3.45118 11.1583 3.45118 10.8417 3.64645 10.6465L10.2929 4L6 4C5.72386 4 5.5 3.77614 5.5 3.5C5.5 3.22386 5.72386 3 6 3L11.5 3C11.6326 3 11.7598 3.05268 11.8536 3.14645C11.9473 3.24022 12 3.36739 12 3.5L12 9.00001C12 9.27615 11.7761 9.50001 11.5 9.50001C11.2239 9.50001 11 9.27615 11 9.00001V4.70711L4.35355 11.3536C4.15829 11.5488 3.84171 11.5488 3.64645 11.3536Z\",\"fill\":\"currentColor\",\"fillRule\":\"evenodd\",\"clipRule\":\"evenodd\"}]}],[\"$\",\"span\",null,{\"className\":\"SiteFooter_srOnly__e7DbB\",\"children\":\" (opens in a new tab)\"}]]]}]\n"])</script><script>self.__next_f.push([1,"14:[\"$\",\"nav\",\"Resources\",{\"aria-label\":\"Footer Resources\",\"className\":\"SiteFooter_group__FK9ik\",\"children\":[[\"$\",\"h2\",null,{\"children\":\"Resources\"}],[[\"$\",\"a\",\"/guides/\",{\"href\":\"/guides/\",\"aria-label\":\"$undefined\",\"target\":\"$undefined\",\"rel\":\"$undefined\",\"children\":[\"Guides\",false]}],[\"$\",\"a\",\"/blog/\",{\"href\":\"/blog/\",\"aria-label\":\"$undefined\",\"target\":\"$undefined\",\"rel\":\"$undefined\",\"children\":[\"Blog\",false]}],[\"$\",\"a\",\"/compare/\",{\"href\":\"/compare/\",\"aria-label\":\"$undefined\",\"target\":\"$undefined\",\"rel\":\"$undefined\",\"children\":[\"Comparisons\",false]}],[\"$\",\"a\",\"/sandbox/\",{\"href\":\"/sandbox/\",\"aria-label\":\"$undefined\",\"target\":\"$undefined\",\"rel\":\"$undefined\",\"children\":[\"Try a sample test\",false]}],[\"$\",\"a\",\"/docs/safety/\",{\"href\":\"/docs/safety/\",\"aria-label\":\"$undefined\",\"target\":\"$undefined\",\"rel\":\"$undefined\",\"children\":[\"Safety and limits\",false]}]]]}]\n"])</script><script>self.__next_f.push([1,"15:[\"$\",\"nav\",\"Company\",{\"aria-label\":\"Footer Company\",\"className\":\"SiteFooter_group__FK9ik\",\"children\":[[\"$\",\"h2\",null,{\"children\":\"Company\"}],[[\"$\",\"a\",\"/about/\",{\"href\":\"/about/\",\"aria-label\":\"$undefined\",\"target\":\"$undefined\",\"rel\":\"$undefined\",\"children\":[\"About\",false]}],[\"$\",\"a\",\"/contact/\",{\"href\":\"/contact/\",\"aria-label\":\"$undefined\",\"target\":\"$undefined\",\"rel\":\"$undefined\",\"children\":[\"Contact\",false]}],[\"$\",\"a\",\"https://cal.com/sashanksingh\",{\"href\":\"https://cal.com/sashanksingh\",\"aria-label\":\"$undefined\",\"target\":\"_blank\",\"rel\":\"noopener noreferrer\",\"children\":[\"Book a call\",[[\"$\",\"svg\",null,{\"width\":\"15\",\"height\":\"15\",\"viewBox\":\"0 0 15 15\",\"fill\":\"none\",\"xmlns\":\"http://www.w3.org/2000/svg\",\"aria-hidden\":\"true\",\"ref\":\"$undefined\",\"children\":[\"$\",\"path\",null,{\"d\":\"M3.64645 11.3536C3.45118 11.1583 3.45118 10.8417 3.64645 10.6465L10.2929 4L6 4C5.72386 4 5.5 3.77614 5.5 3.5C5.5 3.22386 5.72386 3 6 3L11.5 3C11.6326 3 11.7598 3.05268 11.8536 3.14645C11.9473 3.24022 12 3.36739 12 3.5L12 9.00001C12 9.27615 11.7761 9.50001 11.5 9.50001C11.2239 9.50001 11 9.27615 11 9.00001V4.70711L4.35355 11.3536C4.15829 11.5488 3.84171 11.5488 3.64645 11.3536Z\",\"fill\":\"currentColor\",\"fillRule\":\"evenodd\",\"clipRule\":\"evenodd\"}]}],[\"$\",\"span\",null,{\"className\":\"SiteFooter_srOnly__e7DbB\",\"children\":\" (opens in a new tab)\"}]]]}],[\"$\",\"a\",\"https://www.linkedin.com/in/sashanksingh08\",{\"href\":\"https://www.linkedin.com/in/sashanksingh08\",\"aria-label\":\"Sashank Singh on LinkedIn (opens in a new tab)\",\"target\":\"_blank\",\"rel\":\"me noopener noreferrer\",\"children\":[\"Founder on LinkedIn\",[[\"$\",\"svg\",null,{\"width\":\"15\",\"height\":\"15\",\"viewBox\":\"0 0 15 15\",\"fill\":\"none\",\"xmlns\":\"http://www.w3.org/2000/svg\",\"aria-hidden\":\"true\",\"ref\":\"$undefined\",\"children\":[\"$\",\"path\",null,{\"d\":\"M3.64645 11.3536C3.45118 11.1583 3.45118 10.8417 3.64645 10.6465L10.2929 4L6 4C5.72386 4 5.5 3.77614 5.5 3.5C5.5 3.22386 5.72386 3 6 3L11.5 3C11.6326 3 11.7598 3.05268 11.8536 3.14645C11.9473 3.24022 12 3.36739 12 3.5L12 9.00001C12 9.27615 11.7761 9.50001 11.5 9.50001C11.2239 9.50001 11 9.27615 11 9.00001V4.70711L4.35355 11.3536C4.15829 11.5488 3.84171 11.5488 3.64645 11.3536Z\",\"fill\":\"currentColor\",\"fillRule\":\"evenodd\",\"clipRule\":\"evenodd\"}]}],[\"$\",\"span\",null,{\"className\":\"SiteFooter_srOnly__e7DbB\",\"children\":\" (opens in a new tab)\"}]]]}],[\"$\",\"a\",\"https://x.com/Agent_Twin\",{\"href\":\"https://x.com/Agent_Twin\",\"aria-label\":\"$undefined\",\"target\":\"_blank\",\"rel\":\"me noopener noreferrer\",\"children\":[\"X / Twitter\",[[\"$\",\"svg\",null,{\"width\":\"15\",\"height\":\"15\",\"viewBox\":\"0 0 15 15\",\"fill\":\"none\",\"xmlns\":\"http://www.w3.org/2000/svg\",\"aria-hidden\":\"true\",\"ref\":\"$undefined\",\"children\":[\"$\",\"path\",null,{\"d\":\"M3.64645 11.3536C3.45118 11.1583 3.45118 10.8417 3.64645 10.6465L10.2929 4L6 4C5.72386 4 5.5 3.77614 5.5 3.5C5.5 3.22386 5.72386 3 6 3L11.5 3C11.6326 3 11.7598 3.05268 11.8536 3.14645C11.9473 3.24022 12 3.36739 12 3.5L12 9.00001C12 9.27615 11.7761 9.50001 11.5 9.50001C11.2239 9.50001 11 9.27615 11 9.00001V4.70711L4.35355 11.3536C4.15829 11.5488 3.84171 11.5488 3.64645 11.3536Z\",\"fill\":\"currentColor\",\"fillRule\":\"evenodd\",\"clipRule\":\"evenodd\"}]}],[\"$\",\"span\",null,{\"className\":\"SiteFooter_srOnly__e7DbB\",\"children\":\" (opens in a new tab)\"}]]]}]]]}]\n"])</script><script>self.__next_f.push([1,"16:[\"$\",\"details\",null,{\"className\":\"SiteFooter_more__LEh69\",\"children\":[[\"$\",\"summary\",null,{\"children\":[\"More resources \",[\"$\",\"svg\",null,{\"width\":\"15\",\"height\":\"15\",\"viewBox\":\"0 0 15 15\",\"fill\":\"none\",\"xmlns\":\"http://www.w3.org/2000/svg\",\"aria-hidden\":\"true\",\"ref\":\"$undefined\",\"children\":[\"$\",\"path\",null,{\"d\":\"M3.13523 6.15803C3.3241 5.95657 3.64052 5.94637 3.84197 6.13523L7.5 9.56464L11.158 6.13523C11.3595 5.94637 11.6759 5.95657 11.8648 6.15803C12.0536 6.35949 12.0434 6.67591 11.842 6.86477L7.84197 10.6148C7.64964 10.7951 7.35036 10.7951 7.15803 10.6148L3.15803 6.86477C2.95657 6.67591 2.94637 6.35949 3.13523 6.15803Z\",\"fill\":\"currentColor\",\"fillRule\":\"evenodd\",\"clipRule\":\"evenodd\"}]}]]}],[\"$\",\"nav\",null,{\"aria-label\":\"More footer resources\",\"children\":[[\"$\",\"a\",\"/docs/wedge/\",{\"href\":\"/docs/wedge/\",\"aria-label\":\"$undefined\",\"target\":\"$undefined\",\"rel\":\"$undefined\",\"children\":[\"Failure scenarios\",false]}],[\"$\",\"a\",\"/developers/\",{\"href\":\"/developers/\",\"aria-label\":\"$undefined\",\"target\":\"$undefined\",\"rel\":\"$undefined\",\"children\":[\"Developer resources\",false]}],[\"$\",\"a\",\"/docs/prototype/\",{\"href\":\"/docs/prototype/\",\"aria-label\":\"$undefined\",\"target\":\"$undefined\",\"rel\":\"$undefined\",\"children\":[\"Demo walkthrough\",false]}],[\"$\",\"a\",\"/docs/fidelity/\",{\"href\":\"/docs/fidelity/\",\"aria-label\":\"$undefined\",\"target\":\"$undefined\",\"rel\":\"$undefined\",\"children\":[\"Fidelity contract\",false]}],[\"$\",\"a\",\"/api-policy/\",{\"href\":\"/api-policy/\",\"aria-label\":\"$undefined\",\"target\":\"$undefined\",\"rel\":\"$undefined\",\"children\":[\"API versioning\",false]}],[\"$\",\"a\",\"https://registry.modelcontextprotocol.io/?q=io.github.AgentTwin%2Fagenttwin-docs\",{\"href\":\"https://registry.modelcontextprotocol.io/?q=io.github.AgentTwin%2Fagenttwin-docs\",\"aria-label\":\"$undefined\",\"target\":\"_blank\",\"rel\":\"noopener noreferrer\",\"children\":[\"MCP registry\",[[\"$\",\"svg\",null,{\"width\":\"15\",\"height\":\"15\",\"viewBox\":\"0 0 15 15\",\"fill\":\"none\",\"xmlns\":\"http://www.w3.org/2000/svg\",\"aria-hidden\":\"true\",\"ref\":\"$undefined\",\"children\":[\"$\",\"path\",null,{\"d\":\"M3.64645 11.3536C3.45118 11.1583 3.45118 10.8417 3.64645 10.6465L10.2929 4L6 4C5.72386 4 5.5 3.77614 5.5 3.5C5.5 3.22386 5.72386 3 6 3L11.5 3C11.6326 3 11.7598 3.05268 11.8536 3.14645C11.9473 3.24022 12 3.36739 12 3.5L12 9.00001C12 9.27615 11.7761 9.50001 11.5 9.50001C11.2239 9.50001 11 9.27615 11 9.00001V4.70711L4.35355 11.3536C4.15829 11.5488 3.84171 11.5488 3.64645 11.3536Z\",\"fill\":\"currentColor\",\"fillRule\":\"evenodd\",\"clipRule\":\"evenodd\"}]}],[\"$\",\"span\",null,{\"className\":\"SiteFooter_srOnly__e7DbB\",\"children\":\" (opens in a new tab)\"}]]]}],[\"$\",\"a\",\"https://glama.ai/mcp/connectors/io.github.AgentTwin/agenttwin-docs\",{\"href\":\"https://glama.ai/mcp/connectors/io.github.AgentTwin/agenttwin-docs\",\"aria-label\":\"$undefined\",\"target\":\"_blank\",\"rel\":\"noopener noreferrer\",\"children\":[\"AgentTwin on Glama\",[[\"$\",\"svg\",null,{\"width\":\"15\",\"height\":\"15\",\"viewBox\":\"0 0 15 15\",\"fill\":\"none\",\"xmlns\":\"http://www.w3.org/2000/svg\",\"aria-hidden\":\"true\",\"ref\":\"$undefined\",\"children\":[\"$\",\"path\",null,{\"d\":\"M3.64645 11.3536C3.45118 11.1583 3.45118 10.8417 3.64645 10.6465L10.2929 4L6 4C5.72386 4 5.5 3.77614 5.5 3.5C5.5 3.22386 5.72386 3 6 3L11.5 3C11.6326 3 11.7598 3.05268 11.8536 3.14645C11.9473 3.24022 12 3.36739 12 3.5L12 9.00001C12 9.27615 11.7761 9.50001 11.5 9.50001C11.2239 9.50001 11 9.27615 11 9.00001V4.70711L4.35355 11.3536C4.15829 11.5488 3.84171 11.5488 3.64645 11.3536Z\",\"fill\":\"currentColor\",\"fillRule\":\"evenodd\",\"clipRule\":\"evenodd\"}]}],[\"$\",\"span\",null,{\"className\":\"SiteFooter_srOnly__e7DbB\",\"children\":\" (opens in a new tab)\"}]]]}],[\"$\",\"a\",\"https://www.f6s.com/company/agenttwin\",{\"href\":\"https://www.f6s.com/company/agenttwin\",\"aria-label\":\"$undefined\",\"target\":\"_blank\",\"rel\":\"me noopener noreferrer\",\"children\":[\"AgentTwin on F6S\",[[\"$\",\"svg\",null,{\"width\":\"15\",\"height\":\"15\",\"viewBox\":\"0 0 15 15\",\"fill\":\"none\",\"xmlns\":\"http://www.w3.org/2000/svg\",\"aria-hidden\":\"true\",\"ref\":\"$undefined\",\"children\":[\"$\",\"path\",null,{\"d\":\"M3.64645 11.3536C3.45118 11.1583 3.45118 10.8417 3.64645 10.6465L10.2929 4L6 4C5.72386 4 5.5 3.77614 5.5 3.5C5.5 3.22386 5.72386 3 6 3L11.5 3C11.6326 3 11.7598 3.05268 11.8536 3.14645C11.9473 3.24022 12 3.36739 12 3.5L12 9.00001C12 9.27615 11.7761 9.50001 11.5 9.50001C11.2239 9.50001 11 9.27615 11 9.00001V4.70711L4.35355 11.3536C4.15829 11.5488 3.84171 11.5488 3.64645 11.3536Z\",\"fill\":\"currentColor\",\"fillRule\":\"evenodd\",\"clipRule\":\"evenodd\"}]}],\"$L22\"]]}]]}]]}]\n"])</script><script>self.__next_f.push([1,"17:[\"$\",\"div\",null,{\"className\":\"SiteFooter_bottom__ADU2b\",\"children\":[[\"$\",\"span\",null,{\"children\":\"© 2026 AgentTwin\"}],[\"$\",\"p\",null,{\"children\":\"CLI available. Browser demo uses scripted outcomes.\"}],[\"$\",\"div\",null,{\"children\":[[\"$\",\"a\",null,{\"href\":\"/privacy/\",\"children\":\"Privacy and data\"}],[\"$\",\"a\",null,{\"href\":\"/security/\",\"children\":\"Security\"}],[\"$\",\"a\",null,{\"href\":\"/subprocessors/\",\"children\":\"Subprocessors\"}],[\"$\",\"a\",null,{\"href\":\"/terms/\",\"children\":\"Terms\"}],[\"$\",\"a\",null,{\"href\":\"/dpa/\",\"children\":\"DPA\"}],[\"$\",\"a\",null,{\"href\":\"/status/\",\"children\":\"Status\"}],[\"$\",\"a\",null,{\"href\":\"#main\",\"children\":[\"Back to top \",[\"$\",\"svg\",null,{\"width\":\"15\",\"height\":\"15\",\"viewBox\":\"0 0 15 15\",\"fill\":\"none\",\"xmlns\":\"http://www.w3.org/2000/svg\",\"aria-hidden\":\"true\",\"ref\":\"$undefined\",\"children\":[\"$\",\"path\",null,{\"d\":\"M7.14645 2.14645C7.34171 1.95118 7.65829 1.95118 7.85355 2.14645L11.8536 6.14645C12.0488 6.34171 12.0488 6.65829 11.8536 6.85355C11.6583 7.04882 11.3417 7.04882 11.1464 6.85355L8 3.70711L8 12.5C8 12.7761 7.77614 13 7.5 13C7.22386 13 7 12.7761 7 12.5L7 3.70711L3.85355 6.85355C3.65829 7.04882 3.34171 7.04882 3.14645 6.85355C2.95118 6.65829 2.95118 6.34171 3.14645 6.14645L7.14645 2.14645Z\",\"fill\":\"currentColor\",\"fillRule\":\"evenodd\",\"clipRule\":\"evenodd\"}]}]]}]]}]]}]\n"])</script><script>self.__next_f.push([1,"22:[\"$\",\"span\",null,{\"className\":\"SiteFooter_srOnly__e7DbB\",\"children\":\" (opens in a new tab)\"}]\n"])</script><script>self.__next_f.push([1,"1e:[[\"$\",\"meta\",\"0\",{\"charSet\":\"utf-8\"}],[\"$\",\"meta\",\"1\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}]]\n1a:null\n"])</script><script>self.__next_f.push([1,"23:I[622,[],\"IconMark\"]\n"])</script><script>self.__next_f.push([1,"1c:{\"metadata\":[[\"$\",\"title\",\"0\",{\"children\":\"Workspace | AgentTwin\"}],[\"$\",\"meta\",\"1\",{\"name\":\"description\",\"content\":\"Discover your project, test workflows and inspect recorded results.\"}],[\"$\",\"meta\",\"2\",{\"name\":\"application-name\",\"content\":\"AgentTwin\"}],[\"$\",\"link\",\"3\",{\"rel\":\"manifest\",\"href\":\"/manifest.webmanifest\",\"crossOrigin\":\"$undefined\"}],[\"$\",\"meta\",\"4\",{\"property\":\"og:title\",\"content\":\"AgentTwin | Digital Twins for Testing AI Agents\"}],[\"$\",\"meta\",\"5\",{\"property\":\"og:description\",\"content\":\"AgentTwin runs your AI agent's real code on digital twins of Stripe, Slack and any API, injects real-world failures and shows each bug with its cost and a fix.\"}],[\"$\",\"meta\",\"6\",{\"property\":\"og:url\",\"content\":\"https://agenttwin.si/\"}],[\"$\",\"meta\",\"7\",{\"property\":\"og:site_name\",\"content\":\"AgentTwin\"}],[\"$\",\"meta\",\"8\",{\"property\":\"og:image\",\"content\":\"https://agenttwin.si/social-preview-20261026.png\"}],[\"$\",\"meta\",\"9\",{\"property\":\"og:image:width\",\"content\":\"1200\"}],[\"$\",\"meta\",\"10\",{\"property\":\"og:image:height\",\"content\":\"630\"}],[\"$\",\"meta\",\"11\",{\"property\":\"og:image:type\",\"content\":\"image/png\"}],[\"$\",\"meta\",\"12\",{\"property\":\"og:image:alt\",\"content\":\"AgentTwin — Digital twins for testing AI agents. Slack, Stripe and Gmail services mirrored into a test world.\"}],[\"$\",\"meta\",\"13\",{\"property\":\"og:type\",\"content\":\"website\"}],[\"$\",\"meta\",\"14\",{\"name\":\"twitter:card\",\"content\":\"summary_large_image\"}],[\"$\",\"meta\",\"15\",{\"name\":\"twitter:title\",\"content\":\"AgentTwin | Digital Twins for Testing AI Agents\"}],[\"$\",\"meta\",\"16\",{\"name\":\"twitter:description\",\"content\":\"AgentTwin runs your AI agent's real code on digital twins of Stripe, Slack and any API, injects real-world failures and shows each bug with its cost and a fix.\"}],[\"$\",\"meta\",\"17\",{\"name\":\"twitter:image\",\"content\":\"https://agenttwin.si/social-preview-20261026.png\"}],[\"$\",\"meta\",\"18\",{\"name\":\"twitter:image:width\",\"content\":\"1200\"}],[\"$\",\"meta\",\"19\",{\"name\":\"twitter:image:height\",\"content\":\"630\"}],[\"$\",\"meta\",\"20\",{\"name\":\"twitter:image:type\",\"content\":\"image/png\"}],[\"$\",\"meta\",\"21\",{\"name\":\"twitter:image:alt\",\"content\":\"AgentTwin — Digital twins for testing AI agents. Slack, Stripe and Gmail services mirrored into a test world.\"}],[\"$\",\"link\",\"22\",{\"rel\":\"apple-touch-icon\",\"href\":\"/apple-touch-icon.png\",\"sizes\":\"180x180\",\"type\":\"image/png\"}],[\"$\",\"$L23\",\"23\",{}]],\"error\":null,\"digest\":\"$undefined\"}\n"])</script><script>self.__next_f.push([1,"21:\"$1c:metadata\"\n"])</script></body></html>
20
+ })();</script><script defer="" data-domain="agenttwin.si" src="https://analytics.hirealpha.chat/js/script.js"></script><script src="assets/next/static/chunks/polyfills-42372ed130431b0a.js" noModule=""></script></head><body><div hidden=""><!--$--><!--/$--></div><a class="skip" href="#main">Skip to content</a><div data-slot="sidebar-wrapper" style="--sidebar-width:16rem;--sidebar-width-icon:3rem" class="group/sidebar-wrapper flex min-h-svh w-full has-data-[variant=inset]:bg-sidebar app-frame dashboard-workspace dark"><header class="topbar"><a class="brand dashboard-brand" data-dashboard-home="true" href="#home" aria-label="AgentTwin home"><img src="assets/logo/mark-twin-rings.svg" width="25" height="25" alt="" aria-hidden="true"/>AgentTwin</a><button data-slot="sidebar-trigger" data-variant="ghost" data-size="icon" class="inline-flex shrink-0 items-center justify-center gap-2 rounded-md text-sm font-medium whitespace-nowrap transition-all outline-none focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 disabled:pointer-events-none disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 [&amp;_svg]:pointer-events-none [&amp;_svg]:shrink-0 [&amp;_svg:not([class*=&#x27;size-&#x27;])]:size-4 hover:bg-accent hover:text-accent-foreground dark:hover:bg-accent/50 size-7" aria-expanded="true" data-sidebar="trigger" id="sidebar-toggle" data-shadcn-sidebar="true" aria-label="Toggle sidebar"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-panel-left lucide-sidebar" aria-hidden="true"><rect width="18" height="18" x="3" y="3" rx="2"></rect><path d="M9 3v18"></path></svg><span class="sr-only">Toggle Sidebar</span></button><nav class="home-switcher workspace-navigation" aria-label="Main navigation"><button type="button" data-view="home"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-house lucide-home" aria-hidden="true"><path d="M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8"></path><path d="M3 10a2 2 0 0 1 .709-1.528l7-6a2 2 0 0 1 2.582 0l7 6A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z"></path></svg><span>Home</span><span id="home-badge" class="pill-count" hidden="">0</span></button><button type="button" data-view="environment"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-layers lucide-layers-3" aria-hidden="true"><path d="M12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83z"></path><path d="M2 12a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 12"></path><path d="M2 17a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 17"></path></svg><span>Environment</span></button><button type="button" data-view="configure"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-git-branch" aria-hidden="true"><path d="M15 6a9 9 0 0 0-9 9V3"></path><circle cx="18" cy="6" r="3"></circle><circle cx="6" cy="18" r="3"></circle></svg><span>Workflows</span></button><button type="button" data-view="history"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-rotate-ccw-clock lucide-history" aria-hidden="true"><path d="M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8"></path><path d="M3 3v5h5"></path><path d="M12 7v5l4 2"></path></svg><span>Runs</span></button><button type="button" data-view="checks"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-shield-check" aria-hidden="true"><path d="M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z"></path><path d="m9 12 2 2 4-4"></path></svg><span>Checks</span></button><button type="button" data-view="team"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-users" aria-hidden="true"><path d="M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2"></path><path d="M16 3.128a4 4 0 0 1 0 7.744"></path><path d="M22 21v-2a4 4 0 0 0-3-3.87"></path><circle cx="9" cy="7" r="4"></circle></svg><span>Team</span></button><button type="button" data-view="settings"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-settings" aria-hidden="true"><path d="M9.671 4.136a2.34 2.34 0 0 1 4.659 0 2.34 2.34 0 0 0 3.319 1.915 2.34 2.34 0 0 1 2.33 4.033 2.34 2.34 0 0 0 0 3.831 2.34 2.34 0 0 1-2.33 4.033 2.34 2.34 0 0 0-3.319 1.915 2.34 2.34 0 0 1-4.659 0 2.34 2.34 0 0 0-3.32-1.915 2.34 2.34 0 0 1-2.33-4.033 2.34 2.34 0 0 0 0-3.831A2.34 2.34 0 0 1 6.35 6.051a2.34 2.34 0 0 0 3.319-1.915"></path><circle cx="12" cy="12" r="3"></circle></svg><span>Settings</span></button></nav><div class="home-top-actions"><a href="/login/" data-auth-link="true" class="home-search">Sign in</a><button type="button" id="home-search" class="home-search" aria-label="Search"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.6" aria-hidden="true"><circle cx="11" cy="11" r="6.5"></circle><path d="m16 16 4.5 4.5"></path></svg><span class="hs-label">Search</span><kbd>⌘K</kbd></button><div class="home-bell-wrap"><button type="button" id="home-bell" class="home-icon-btn" aria-label="Notifications" aria-haspopup="true" aria-expanded="false" aria-controls="home-bell-menu"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.6" aria-hidden="true"><path d="M18 9a6 6 0 1 0-12 0c0 6-2 7-2 7h16s-2-1-2-7"></path><path d="M10 20a2.2 2.2 0 0 0 4 0"></path></svg><span class="bell-badge" id="bell-badge" hidden="">0</span></button><div id="home-bell-menu" class="home-menu bell-menu" hidden=""><p class="menu-label">Notifications</p><div id="bell-items"></div></div></div><button type="button" id="home-expand" class="home-icon-btn" aria-label="Toggle full screen"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.6" aria-hidden="true"><path d="M9 3H3v6M15 3h6v6M9 21H3v-6M15 21h6v-6"></path></svg></button></div><div class="workspace-name" hidden=""><span id="workspace-label">Workspace</span><span class="workspace-divider">/</span><span id="current-view">Environment</span></div><div class="account-control"><button type="button" id="account-toggle" class="workspace-avatar" aria-label="Open account menu" aria-expanded="false" aria-controls="account-menu">AT</button><div id="account-menu" class="account-menu" hidden=""><div class="account-menu-head"><span class="account-menu-avatar" aria-hidden="true">AT</span><span class="account-menu-identity"><strong id="account-user-name">Your name not set</strong><small id="account-workspace">My workspace</small></span></div><p id="account-menu-status" class="account-menu-status muted">Not connected</p><div class="account-menu-links"><a href="/login/" data-auth-link="true">Sign in</a><a href="/signup/" data-auth-link="true">Create an account</a><a href="/onboarding/">Connect a repository</a></div><div class="account-menu-actions"><button type="button" data-action="settings">Account &amp; settings</button><button type="button" data-action="history">View runs</button></div><div class="account-menu-footer"><button type="button" id="account-disconnect" disabled="">Sign out</button></div></div></div></header><div class="workspace-body"><div class="group peer hidden text-sidebar-foreground md:block" data-state="expanded" data-collapsible="" data-variant="floating" data-side="left" data-slot="sidebar"><div data-slot="sidebar-gap" class="relative w-(--sidebar-width) bg-transparent transition-[width] duration-200 ease-linear group-data-[collapsible=offcanvas]:w-0 group-data-[side=right]:rotate-180 group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)+(--spacing(4)))]"></div><div data-slot="sidebar-container" class="fixed inset-y-0 z-10 hidden h-svh w-(--sidebar-width) transition-[left,right,width] duration-200 ease-linear md:flex left-0 group-data-[collapsible=offcanvas]:left-[calc(var(--sidebar-width)*-1)] p-2 group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)+(--spacing(4))+2px)] workspace-sidebar"><div data-sidebar="sidebar" data-slot="sidebar-inner" class="flex h-full w-full flex-col bg-sidebar group-data-[variant=floating]:rounded-lg group-data-[variant=floating]:border group-data-[variant=floating]:border-sidebar-border group-data-[variant=floating]:shadow-sm"><div data-slot="sidebar-header" data-sidebar="header" class="flex flex-col gap-2 p-2"><button data-slot="button" data-variant="outline" data-size="default" class="inline-flex shrink-0 items-center justify-center gap-2 rounded-md text-sm font-medium whitespace-nowrap transition-all outline-none focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 disabled:pointer-events-none disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 [&amp;_svg]:pointer-events-none [&amp;_svg]:shrink-0 [&amp;_svg:not([class*=&#x27;size-&#x27;])]:size-4 border bg-background shadow-xs hover:bg-accent hover:text-accent-foreground dark:border-input dark:bg-input/30 dark:hover:bg-input/50 h-9 px-4 py-2 has-[&gt;svg]:px-3" id="sidebar-discover"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-plus" aria-hidden="true"><path d="M5 12h14"></path><path d="M12 5v14"></path></svg><span>Connect project</span></button></div><div data-slot="sidebar-content" data-sidebar="content" class="flex min-h-0 flex-1 flex-col gap-2 overflow-auto group-data-[collapsible=icon]:overflow-hidden"><div data-slot="sidebar-group" data-sidebar="group" class="relative flex w-full min-w-0 flex-col p-2 repository-group"><div id="sidebar-projects" aria-label="Your repositories"></div></div></div><div data-slot="sidebar-footer" data-sidebar="footer" class="flex flex-col gap-2 p-2"><ul data-slot="sidebar-menu" data-sidebar="menu" class="flex w-full min-w-0 flex-col gap-1"><li data-slot="sidebar-menu-item" data-sidebar="menu-item" class="group/menu-item relative"><a href="https://agenttwin.si/docs/" data-slot="sidebar-menu-button" data-sidebar="menu-button" data-size="default" data-active="false" class="peer/menu-button flex w-full items-center gap-2 overflow-hidden rounded-md p-2 text-left ring-sidebar-ring outline-hidden transition-[width,height,padding] group-has-data-[sidebar=menu-action]/menu-item:pr-8 group-data-[collapsible=icon]:size-8! group-data-[collapsible=icon]:p-2! focus-visible:ring-2 active:bg-sidebar-accent active:text-sidebar-accent-foreground disabled:pointer-events-none disabled:opacity-50 aria-disabled:pointer-events-none aria-disabled:opacity-50 data-[active=true]:bg-sidebar-accent data-[active=true]:font-medium data-[active=true]:text-sidebar-accent-foreground data-[state=open]:hover:bg-sidebar-accent data-[state=open]:hover:text-sidebar-accent-foreground [&amp;&gt;span:last-child]:truncate [&amp;&gt;svg]:size-4 [&amp;&gt;svg]:shrink-0 hover:bg-sidebar-accent hover:text-sidebar-accent-foreground h-8 text-sm"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-book-open" aria-hidden="true"><path d="M12 5v16"></path><path d="M20.001 19A2 2 0 0022 17V5a2 2 0 00-1.999-2L16 3.002A5 5 0 0012 5a5 5 0 00-4-2H4a2 2 0 00-2 2v12a2 2 0 001.999 2H8a5 5 0 014 2 5 5 0 014-2z"></path></svg><span>Documentation</span></a></li></ul></div></div></div></div><div data-slot="sidebar-inset" class="relative flex w-full flex-1 flex-col bg-background md:peer-data-[variant=inset]:m-2 md:peer-data-[variant=inset]:ml-0 md:peer-data-[variant=inset]:rounded-xl md:peer-data-[variant=inset]:shadow-sm md:peer-data-[variant=inset]:peer-data-[state=collapsed]:ml-2 workspace-inset"><div class="app-layout"><main id="main"><p id="api-message" class="coverage" role="status" aria-live="polite"></p><section id="home-view" hidden="" aria-label="Agent home"><div class="home-hero"><div id="home-sky" aria-hidden="true"></div><h1 class="home-overview-title">What should your agent test?</h1><section class="home-assistant-bottom" aria-label="Workflow assistant"><div class="assistant-entry"><button type="button" id="assistant-dock-toggle" aria-expanded="false" aria-controls="assistant-dock-panel"><span class="assistant-entry-label-desktop">Ask about a workflow or test result</span><span class="assistant-entry-label-mobile">Ask AgentTwin</span><span aria-hidden="true">↑</span></button><button type="button" id="assistant-voice-entry" class="voice-button" aria-label="Dictate a message" title="Dictate a message"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.7" aria-hidden="true"><rect x="9" y="3" width="6" height="12" rx="3"></rect><path d="M5 10v2a7 7 0 0 0 14 0v-2M12 19v3M8 22h8"></path></svg></button></div><div class="hero-content" id="assistant-dock-panel" hidden=""><button type="button" id="assistant-dock-close" aria-label="Minimize workflow assistant">Minimize ↓</button><div class="home-composer" role="form" aria-label="Workflow assistant"><div class="assistant-heading"><strong>Ask AgentTwin</strong><span id="assistant-project-context"></span></div><p id="assistant-connection-status" role="status"></p><button type="button" id="assistant-connect">Connect your account</button><label class="visually-hidden" for="composer-input">Ask about your workflow</label><textarea id="composer-input" rows="3" placeholder="What would you like to test?" spellCheck="false"></textarea><div class="composer-row"><span class="assistant-send-hint">Ask about your workflows or run results</span><button type="button" id="composer-voice" class="voice-button" aria-label="Dictate a message" title="Dictate a message"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.7" aria-hidden="true"><rect x="9" y="3" width="6" height="12" rx="3"></rect><path d="M5 10v2a7 7 0 0 0 14 0v-2M12 19v3M8 22h8"></path></svg></button><button type="button" class="composer-send" id="composer-send" aria-label="Send message">Send ↑</button></div><div id="chat-thread" class="chat-thread" aria-label="Workflow conversation" hidden=""></div><p id="composer-note" class="composer-note" role="status"></p></div></div></section></div><div class="home-body"><section id="home-next-step" class="next-step home-action" aria-label="Next step"></section><div class="home-grid-head"><span class="grid-hint">Your workspace</span><button type="button" id="home-customize" aria-expanded="false" aria-controls="home-widget-controls"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" aria-hidden="true"><rect x="4" y="4" width="6.5" height="6.5" rx="1.5"></rect><rect x="13.5" y="4" width="6.5" height="6.5" rx="1.5"></rect><rect x="4" y="13.5" width="6.5" height="6.5" rx="1.5"></rect><rect x="13.5" y="13.5" width="6.5" height="6.5" rx="1.5"></rect></svg>Customize</button></div><div id="home-widget-controls" class="home-widget-controls" role="region" aria-label="Customize home" hidden=""></div><div class="home-widgets home-grid"><article class="widget area-project" id="widget-project"><header><h2>Project discovery</h2></header><div class="w-body" id="project-body"></div></article><article class="widget area-overview" id="widget-overview"><header><span class="w-ico" aria-hidden="true"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5"><path d="M4 20h16"></path><path d="M7 16v-5M12 16V8M17 16v-3"></path></svg></span><h2>Failure overview</h2><span class="w-head-meta">Last 8 weeks</span></header><div class="w-body failure-overview" id="failure-overview"></div></article><article class="widget area-failures" id="widget-failures"><header><span class="w-ico" aria-hidden="true"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5"><circle cx="12" cy="12" r="9"></circle><path d="m9 9 6 6M15 9l-6 6"></path></svg></span><h2>Needs attention</h2><span class="w-head-meta" id="failures-meta"></span></header><div class="w-body" id="failures-body"></div></article><article class="widget area-receipts" id="widget-receipts"><header><span class="w-ico" aria-hidden="true"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5"><path d="M6 3h9l4 4v14H6Z"></path><path d="M15 3v4h4"></path><path d="M9 12h7M9 16h7"></path></svg></span><h2>Test results</h2><span class="w-count warn" id="receipts-count"></span><span class="w-head-spin" id="receipts-spin" hidden=""><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" class="spin"><path d="M12 3a9 9 0 1 0 9 9" stroke-linecap="round"></path></svg></span></header><div class="w-body" id="receipts-body"></div></article><article class="widget area-execution" id="widget-execution"><header><span class="w-ico" aria-hidden="true"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5"><rect x="3" y="5" width="18" height="14" rx="3"></rect><path d="M3 10h18M8 5v5"></path></svg></span><h2>Execution</h2><span class="w-count" id="working-count"></span><span class="w-head-meta" id="sandbox-meta"></span><span id="working-meta" hidden=""></span></header><div class="w-body"><p class="exec-label">Last run</p><div id="sandbox-body"></div><p class="exec-label">Now</p><div id="working-body"></div></div></article><article class="widget area-readiness" id="widget-readiness"><header><span class="w-ico" aria-hidden="true"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5"><path d="M8 4H5v17h14V4h-3"></path><rect x="8" y="2" width="8" height="4" rx="1"></rect><path d="m8 13 3 3 5-6"></path></svg></span><h2>Test readiness</h2></header><div class="w-body" id="readiness-body"></div></article><article class="widget area-services" id="widget-services"><header><span class="w-ico" aria-hidden="true"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5"><circle cx="12" cy="12" r="9"></circle><circle cx="12" cy="12" r="2.5"></circle><path d="M5.5 5.5 10 10m4 4 4.5 4.5M18.5 5.5 14 10m-4 4-4.5 4.5"></path></svg></span><h2>Observed activities</h2></header><div class="w-body" id="services-body"></div></article><article class="widget area-git" id="widget-git"><header><h2>Git activity</h2><span id="git-meta" class="w-head-meta"></span></header><div class="w-body" id="git-body"></div></article></div></div></section><section id="environment-view"><div id="environment-project-actions" class="environment-project-actions" hidden=""><p id="environment-removal-message" role="status" aria-live="polite"></p><button id="environment-delete-project" type="button"><svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" aria-hidden="true"><path d="M3 6h18M9 6V3h6v3M5 6l1 15h12l1-15M10 10v7M14 10v7"></path></svg>Delete project</button></div><div class="heading"><div><p class="eyebrow">Project / environment</p><h1 id="environment-title">Start by connecting your project</h1><p id="environment-subtitle" class="muted">Run one command in your repository — AgentTwin maps the tools and workflows your agent uses.</p></div><div class="actions"><label class="upload">Upload discovery file<input id="inventory-import" type="file" accept="application/json,.json"/></label><button id="configure-run" class="primary" type="button">Review workflows →</button></div></div><div class="discovery-onboarding"><aside class="terminal-panel"><div class="terminal-title"><h2>Connect your project</h2><span>From your terminal</span></div><div class="terminal-content"><div class="terminal-command"><span class="command-prompt" aria-hidden="true">❯</span><code>npx agenttwin</code><button id="copy-init" type="button" aria-label="Copy discovery command">Copy command <span aria-hidden="true">↗</span></button></div><p class="terminal-comment">Run in your repository · any Node.js version</p><div class="terminal-output" id="terminal-output"></div><details class="discovery-help"><summary>Analyze with a coding agent</summary><p>Give your coding agent the AgentTwin tools with <code>npx agenttwin mcp</code>, or point it at the generated <code>AGENT-TASK.md</code>.</p></details><details class="discovery-help"><summary>Send findings to this workspace</summary><p>Connect your account in Settings, configure <code>AGENTTWIN_TOKEN</code> in your terminal, then run <code>npx agenttwin sync</code>. This sends discovery metadata. Application files upload separately when you execute a reviewed bundle.</p><button type="button" data-action="settings">Open connection settings →</button></details></div></aside><section class="workflow-area"><div class="section-title"><h2 id="discovery-workflows-title">Discovery</h2><button id="discovery-workflows-link" type="button" data-action="configure">View workflows →</button></div><div id="environment-workflows"></div></section></div><div class="welcome-next"><ol class="welcome-steps"><li><span>01</span><div><strong>Discover</strong><p>Find tools and code paths.</p></div></li><li><span>02</span><div><strong>Review</strong><p>Choose what needs testing.</p></div></li><li><span>03</span><div><strong>Run safely</strong><p>Test through the CLI.</p></div></li></ol><button id="welcome-select-software" type="button">Or select your tools manually <span aria-hidden="true">→</span></button></div><div id="environment-coverage" class="coverage-strip"></div><div class="environment-grid"><section class="discovery-area"><div class="section-title"><h2>Selected resources</h2><div class="actions"><button id="add-app-toggle" type="button">Add custom software</button><button id="select-software" type="button">Select software</button></div></div><p id="inventory-context" class="coverage">No project connected. Import the inventory from your CLI to see its dependencies and workflow candidates.</p><form id="add-app" class="app-declaration" hidden=""><label>App or tool name<input id="app-name" required="" maxLength="80" placeholder="For example, Apple Mail"/></label><label>How the agent uses it<select id="app-interface"><option value="desktop">Desktop interface · no API required</option><option value="browser">Browser interface</option><option value="api">API / connector</option><option value="terminal">Terminal / command line</option></select></label><button type="submit">Add to environment</button></form><section class="topology-panel"><header class="topology-heading"><h3>Environment map</h3><span id="resource-count">0 resources</span><div class="map-controls"><button id="map-zoom-out" type="button" aria-label="Zoom out">−</button><span id="map-zoom-label">100%</span><button id="map-zoom-in" type="button" aria-label="Zoom in">+</button><button id="map-fit" type="button">Reset view</button><button id="map-arrange" type="button">Arrange</button></div></header><p class="topology-hint">Each card is a tool or service your agent uses — click one to see what its test needs.</p><div class="map-workspace"><div id="map-canvas" class="topology-canvas" tabindex="0" aria-label="Environment map. Drag empty space to pan; drag cards to move them. Use arrow keys to pan."><p id="topology-label" class="topology-label">Selected resources</p><div id="map-scroll-space" class="map-scroll-space"><div id="map-stage" class="map-stage"><svg id="map-edges" class="map-edges" aria-hidden="true"></svg><div id="environment-project" class="environment-project" data-node="project" tabindex="0" aria-label="Move project card"></div><div id="environment-tools" class="resource-grid"></div></div></div><div id="map-empty" class="map-empty"><img src="assets/icons/ui/plugs-connected.svg" width="26" height="26" alt=""/><h3>No resources selected</h3><p>Run npx agenttwin in your project, then import .agenttwin/inventory.json. You can also declare a resource manually.</p><button id="map-select-tools" type="button">Browse resource catalog</button></div><span class="map-hint">Drag to pan · drag cards to arrange</span></div><aside class="map-resource-rail"><label>Selected resources <span id="map-list-count"></span><input id="map-resource-search" type="search" placeholder="Find a selected tool"/></label><div id="map-resource-list"></div><div id="map-resource-detail"><p>Select a resource to inspect coverage.</p></div></aside></div><div class="map-pagination"><span id="map-page-label"></span><span>Scroll to explore · select a name to locate its card</span></div></section><p id="environment-message" role="status" aria-live="polite"></p><div id="removed-resource" class="removal-notice" role="status" hidden=""><span id="removed-resource-message"></span><button id="undo-remove-resource" type="button">Undo</button></div></section></div><details class="catalog-drawer"><summary>Select software <span>choose what your workflow uses</span></summary><div class="catalog-body"><div id="catalog-slot"><div class="connector-toolbar"><label>Find a connector<input id="connector-search" type="search" placeholder="Search services"/></label><button id="select-connectors" type="button">Select all</button><button id="clear-connectors" type="button">Clear selection</button></div><p id="connector-status" role="status" aria-live="polite"></p><div id="connector-catalog" class="connector-catalog"></div><button id="export-connectors" type="button">Export selection ↓</button></div></div></details><details class="coverage-note"><summary>Runtime coverage</summary><p>Node workflows with custom HTTP collections and bounded Slack operations run through the CLI. PostgreSQL and Redis worlds can use an explicitly selected cloud runner. Other provider adapters and browser/desktop execution require implementation. Native macOS apps need a compatible macOS runtime. Production accounts are not copied.</p></details></section><section id="configure-view" hidden=""><div class="heading"><div><p class="eyebrow">Project / workflows</p><h1 id="workflows-title">Workflows</h1><p id="workflows-subtitle" class="muted">Pick something your agent does. Prepare a safe test, run it, and see exactly what passed.</p></div></div><div id="workflow-workspace"></div></section><section id="settings-view" hidden=""><div class="heading"><div><h1>Settings</h1><p class="muted">Your account, projects and dashboard preferences.</p></div></div><form id="api-connect"></form><section class="settings-section"><div class="settings-section-heading"><h2>Sign-in methods</h2><p>Signed up with Google? Create a password to use email sign-in with the same workspace.</p></div><a href="/account/password/">Email and password →</a></section><form id="workspace-preferences" class="settings-preferences"><section class="settings-section"><div class="settings-section-heading"><h2>Account &amp; company</h2><p>Your display details on this browser.</p></div><div class="setting-row"><div><label for="workspace-display-name">Company or workspace</label></div><input id="workspace-display-name" type="text" maxLength="40" required="" autoComplete="organization" value="My workspace"/></div><div class="setting-row"><div><label for="workspace-user-name">Your name</label></div><input id="workspace-user-name" type="text" maxLength="60" autoComplete="name"/></div><div class="settings-connection"><div class="settings-section-heading"><h3>Workspace connection</h3><p>Connect to see your synced projects and test results.</p></div><p id="account-connection-status" class="connection-status" role="status">Not connected</p><details class="settings-credentials"><summary>Connection details</summary><label for="api-url">Server address</label><input form="api-connect" id="api-url" type="url" required="" placeholder="https://your-agenttwin-api.example"/><label for="api-token">Account token</label><div class="token-input"><input form="api-connect" id="api-token" type="password" required="" autoComplete="off" placeholder="at_user_…"/><button id="toggle-token" type="button" aria-label="Show account token" aria-pressed="false">Show</button></div><p class="setup-note">Your token stays in this tab until you reload or disconnect.</p><button form="api-connect" type="submit" class="primary">Connect account</button></details><div class="actions"><button type="button" id="api-sync-settings" disabled="">Refresh projects</button><button type="button" id="api-disconnect" disabled="">Disconnect account</button></div><p id="settings-connection-message" role="status" aria-live="polite"></p><details class="settings-assistant-status"><summary>Assistant availability</summary><p id="settings-chat-status" role="status">Connect your account to check availability.</p></details></div></section><section class="settings-section"><div class="project-settings-heading"><div><h2>Projects</h2><p>Applications connected to this workspace.</p></div><a class="project-add" href="/onboarding/">Add project</a></div><div id="settings-repositories"><p class="muted">No projects connected.</p></div><p id="project-settings-message" role="status" aria-live="polite"></p></section><section class="settings-section" id="github-settings"><div class="settings-section-heading"><h2>GitHub</h2><p>Run locked twin regressions on every pull request. Installing the AgentTwin app sets up the webhook for you.</p></div><div id="github-app"><p class="muted">Connect your account to add AgentTwin to GitHub.</p></div><div class="actions"><button type="button" class="primary github-install" data-github-install="true">Add to GitHub</button></div><p id="github-app-message" role="status" aria-live="polite"></p></section><section class="settings-section"><div class="settings-section-heading"><h2>Testing</h2><p>Start locally. Choose a cloud machine only when a workflow needs one.</p></div><div class="settings-runtime"><span class="settings-default">Default</span><h3>Run in your repository</h3><p>Use <code>npx agenttwin run</code>, then <code>npx agenttwin sync</code> to see results here.</p></div><p class="setup-note">Execution limits, dependencies and cloud requirements belong to each workflow.</p><button type="button" data-goto="configure">Review workflows →</button></section><section class="settings-section"><div class="settings-section-heading"><h2>Preferences</h2><p>Make this dashboard comfortable for you.</p></div><div class="setting-row"><div><label for="dashboard-artwork">Home background</label><p>Automatic follows your local time.</p></div><select id="dashboard-artwork"><option value="auto" selected="">Automatic</option><option value="morning">Morning</option><option value="afternoon">Afternoon</option><option value="evening">Evening</option></select></div><div class="setting-row"><div><label for="auto-refresh">Live updates</label><p>Refresh project and run status while this tab is open.</p></div><input id="auto-refresh" type="checkbox" role="switch" checked=""/></div><div class="setting-row"><div><label for="compact-density">Compact layout</label><p>Fit more workflows and runs on screen.</p></div><input id="compact-density" type="checkbox" role="switch"/></div><div class="setting-row"><div><label for="reduce-motion">Reduce motion</label><p>Use fewer animations and transitions.</p></div><input id="reduce-motion" type="checkbox" role="switch"/></div></section><div class="settings-save"><p id="preferences-message" role="status" aria-live="polite">Changes save to this browser.</p><button type="button" id="reset-preferences">Reset preferences</button><button type="submit" class="primary">Save changes</button></div></form></section><section id="history-view" hidden=""><div class="heading"><div><p class="eyebrow">Project / runs</p><h1 id="runs-title">Test results</h1><p id="runs-subtitle" class="muted">Every test run lands here — what was tested, what passed, and what to fix.</p></div><div class="actions"><button type="button" class="github-install" data-github-install="true" title="Run locked regressions on every pull request">Add to GitHub</button><button id="reload" type="button">Refresh</button><label class="primary upload">Import test results<input id="import" type="file" accept="application/json,.json" multiple=""/></label></div></div><section class="workflow-register submitted-jobs"><div class="section-title"><h2>Execution queue</h2><button id="refresh-api-jobs" type="button" disabled="">Refresh</button></div><div id="api-jobs"><p class="coverage">Connect your account in Settings to load submitted runs.</p></div></section><p id="message" role="status" aria-live="polite"></p><section class="stats" id="stats" aria-label="Run summary"></section><div class="workspace"><aside class="run-sidebar"><div class="list-heading"><h2>Test history</h2><span id="run-count"></span></div><label class="search-label">Filter runs<input id="search" type="search" placeholder="Find a workflow, revision or run"/></label><div class="run-filters"><label>Repository<select id="run-project"><option value="all" selected="">All repositories</option></select></label><label>Outcome<select id="run-status"><option value="all" selected="">All outcomes</option><option value="passed">Passed</option><option value="failed">Failed</option><option value="error">Execution error</option><option value="incomplete">Incomplete</option></select></label><label>Workflow<select id="run-workflow"><option value="all" selected="">All workflows</option></select></label></div><label class="mobile-run-picker">Select test<select id="run-picker"><option value="" selected="">No tests loaded</option></select></label><div id="runs" aria-label="Select a run"><p class="muted">Loading run evidence…</p></div></aside><article id="detail" class="detail" aria-live="polite"><div class="empty"><h2>Loading evidence</h2><p>Fetching recorded test results.</p></div></article></div></section><section id="checks-view" hidden=""><div class="heading"><div><p class="eyebrow">All repositories / checks</p><h1>Pull request checks</h1><p class="muted">What each pull request would have done to your systems, and what AgentTwin stopped before merge.</p></div></div><div id="checks-content" aria-live="polite"><p class="muted">Loading checks…</p></div></section><section id="team-view" hidden=""><div class="heading"><div><p class="eyebrow">Workspace / team</p><h1>Team</h1><p class="muted">Who can see and change this workspace, the tokens your CI uses, and a log of every change.</p></div></div><div id="team-content" aria-live="polite"><p class="muted">Loading team…</p></div></section></main><button type="button" class="workspace-tour-launcher"><span aria-hidden="true">✦</span> Take a tour</button></div></div></div></div><!--$--><!--/$--><script src="assets/next/static/chunks/webpack-53525dd96c1c1e70.js" id="_R_" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0])</script><script>self.__next_f.push([1,"1:\"$Sreact.fragment\"\n2:I[1402,[\"7177\",\"static/chunks/app/layout-be64d3e50db4b7a9.js\"],\"\"]\n4:I[540,[\"7177\",\"static/chunks/app/layout-be64d3e50db4b7a9.js\"],\"default\"]\n5:I[9766,[],\"\"]\n6:I[8924,[],\"\"]\nc:I[7150,[],\"\"]\n:HL[\"assets/next/static/css/605ac70c9cf7a260.css\",\"style\"]\n:HL[\"assets/next/static/css/459672916fd34cc5.css\",\"style\"]\n:HL[\"assets/next/static/css/37d81e1d2804cc5f.css\",\"style\"]\n:HL[\"assets/next/static/css/e7f08eacc20752f3.css\",\"style\"]\n:HL[\"assets/next/static/css/39133c9a03c8edb8.css\",\"style\"]\n:HL[\"assets/next/static/css/a55cc0682e56b7aa.css\",\"style\"]\n:HL[\"assets/next/static/css/11f70fd04660da57.css\",\"style\"]\n:HL[\"assets/next/static/css/dd3fb06005e18149.css\",\"style\"]\n3:T41c,"])</script><script>self.__next_f.push([1,"\n// Local diagnostics only. Preserve the browser's default error reporting.\n(() =\u003e {\n if (window.__agenttwinRuntimeDiagnostics) return;\n Object.defineProperty(window, '__agenttwinRuntimeDiagnostics', { value: true });\n const report = (kind, message) =\u003e {\n try { console.error('[AgentTwin] ' + kind + ':', String(message).slice(0, 2048)); }\n catch { /* Diagnostics must never break the application. */ }\n };\n // Browser extensions run in the page too; their failures are not AgentTwin's.\n const extension = text =\u003e /(?:chrome|moz|safari-web)-extension:\\/\\//.test(String(text ?? ''));\n window.addEventListener('error', event =\u003e {\n if (extension(event.filename) || extension(event.error?.stack)) return;\n if (event.message) report('Runtime error', event.message);\n });\n window.addEventListener('unhandledrejection', event =\u003e {\n const reason = event.reason;\n if (extension(reason?.stack)) return;\n report('Unhandled promise rejection', typeof reason === 'string' ? reason : reason?.message || 'Promise rejected');\n });\n})();\n"])</script><script>self.__next_f.push([1,"0:{\"P\":null,\"b\":\"dQPcd2gl7ABZiL9lr9ruM\",\"p\":\"\",\"c\":[\"\",\"dashboard\",\"\"],\"i\":false,\"f\":[[[\"\",{\"children\":[\"dashboard\",{\"children\":[\"__PAGE__\",{}]}]},\"$undefined\",\"$undefined\",true],[\"\",[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"assets/next/static/css/605ac70c9cf7a260.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}]],[\"$\",\"html\",null,{\"lang\":\"en\",\"suppressHydrationWarning\":true,\"children\":[[\"$\",\"head\",null,{\"children\":[[\"$\",\"script\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"(function(){\\n var theme='dark';\\n try{if(localStorage.getItem('agenttwin-site-theme')==='light')theme='light';}catch(e){}\\n document.documentElement.dataset.siteTheme=theme;\\n})();\"}}],[\"$\",\"$L2\",null,{\"id\":\"runtime-errors\",\"strategy\":\"beforeInteractive\",\"dangerouslySetInnerHTML\":{\"__html\":\"$3\"}}],[\"$\",\"$L2\",null,{\"strategy\":\"lazyOnload\",\"src\":\"https://www.googletagmanager.com/gtag/js?id=G-R96JDX5RCK\"}],[\"$\",\"$L2\",null,{\"id\":\"google-analytics-init\",\"strategy\":\"afterInteractive\",\"dangerouslySetInnerHTML\":{\"__html\":\"window.dataLayer = window.dataLayer || [];\\nfunction gtag(){dataLayer.push(arguments);}\\ngtag('js', new Date());\\ngtag('config', 'G-R96JDX5RCK');\"}}],[\"$\",\"script\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"(function(){\\n var attribute='bis_skin_checked';\\n function clean(node){\\n if(node.nodeType!==1)return;\\n if(node.hasAttribute(attribute))node.removeAttribute(attribute);\\n node.querySelectorAll('['+attribute+']').forEach(function(element){element.removeAttribute(attribute);});\\n }\\n clean(document.documentElement);\\n new MutationObserver(function(records){\\n records.forEach(function(record){\\n if(record.type==='attributes'){\\n if(record.target.hasAttribute(attribute))record.target.removeAttribute(attribute);\\n }else record.addedNodes.forEach(clean);\\n });\\n }).observe(document.documentElement,{subtree:true,childList:true,attributes:true,attributeFilter:[attribute]});\\n})();\"}}],[\"$\",\"script\",null,{\"defer\":true,\"data-domain\":\"agenttwin.si\",\"src\":\"https://analytics.hirealpha.chat/js/script.js\"}],\"$undefined\",[\"$\",\"$L4\",null,{}],[\"$\",\"script\",null,{\"type\":\"module\",\"src\":\"/agent-tools.js\"}],[\"$\",\"link\",null,{\"rel\":\"ard\",\"href\":\"/.well-known/ard.json\"}],[\"$\",\"meta\",null,{\"name\":\"theme-color\",\"content\":\"#090909\"}],[\"$\",\"link\",null,{\"rel\":\"icon\",\"type\":\"image/svg+xml\",\"href\":\"assets/logo/favicon.svg?v=white-rings\"}],[\"$\",\"link\",null,{\"rel\":\"preload\",\"href\":\"assets/fonts/syne-400.ttf\",\"as\":\"font\",\"type\":\"font/ttf\",\"crossOrigin\":\"anonymous\"}]]}],[\"$\",\"body\",null,{\"suppressHydrationWarning\":true,\"children\":[\"$\",\"$L5\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L6\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":[[[\"$\",\"a\",null,{\"className\":\"skip\",\"href\":\"#main\",\"children\":\"Skip to content\"}],\"$L7\"],[\"$L8\"]],\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]}]]}]]}],{\"children\":[\"dashboard\",\"$L9\",{\"children\":[\"__PAGE__\",\"$La\",{},null,false]},null,false]},null,false],\"$Lb\",false]],\"m\":\"$undefined\",\"G\":[\"$c\",[]],\"s\":false,\"S\":true}\n"])</script><script>self.__next_f.push([1,"d:I[8765,[\"5105\",\"static/chunks/0e5ce63c-707674e8817dc2e1.js\",\"8974\",\"static/chunks/app/page-ede77810f4904ea5.js\"],\"default\"]\n18:I[5705,[\"7772\",\"static/chunks/7772-f2d773cd3e94eea6.js\",\"2743\",\"static/chunks/2743-a0efd6f4aeb11cc5.js\",\"1937\",\"static/chunks/1937-6c86fddc443de922.js\",\"424\",\"static/chunks/424-83736cfafc224fc6.js\",\"7486\",\"static/chunks/app/dashboard/page-8b436163bc85e182.js\"],\"default\"]\n19:I[4431,[],\"OutletBoundary\"]\n1b:I[5278,[],\"AsyncMetadataOutlet\"]\n1d:I[4431,[],\"ViewportBoundary\"]\n1f:I[4431,[],\"MetadataBoundary\"]\n20:\"$Sreact.suspense\"\n"])</script><script>self.__next_f.push([1,"7:[\"$\",\"div\",null,{\"className\":\"page-frame\",\"children\":[[\"$\",\"$Ld\",null,{}],[\"$\",\"main\",null,{\"id\":\"main\",\"className\":\"container\",\"style\":{\"maxWidth\":840,\"padding\":\"140px 0 110px\"},\"children\":[[\"$\",\"p\",null,{\"style\":{\"font\":\"600 11px var(--mono)\",\"letterSpacing\":\".22em\",\"textTransform\":\"uppercase\",\"color\":\"var(--dim)\",\"margin\":\"0 0 14px\"},\"children\":\"404\"}],[\"$\",\"h1\",null,{\"style\":{\"fontSize\":\"clamp(36px,5vw,56px)\",\"fontWeight\":500,\"letterSpacing\":\"-.04em\",\"lineHeight\":1.06,\"margin\":\"0 0 16px\"},\"children\":\"This page doesn't exist.\"}],[\"$\",\"p\",null,{\"style\":{\"color\":\"var(--muted)\",\"fontSize\":17,\"lineHeight\":1.65,\"maxWidth\":560,\"margin\":\"0 0 40px\"},\"children\":\"The link may be old or mistyped. These are the places most people are looking for:\"}],[\"$\",\"ul\",null,{\"style\":{\"listStyle\":\"none\",\"padding\":0,\"margin\":0,\"display\":\"grid\",\"gap\":1,\"borderTop\":\"1px solid var(--line)\"},\"children\":[[\"$\",\"li\",\"/dashboard/\",{\"style\":{\"borderBottom\":\"1px solid var(--line)\"},\"children\":[\"$\",\"a\",null,{\"href\":\"/dashboard/\",\"style\":{\"display\":\"flex\",\"justifyContent\":\"space-between\",\"gap\":16,\"padding\":\"18px 0\",\"color\":\"inherit\",\"textDecoration\":\"none\"},\"children\":[[\"$\",\"span\",null,{\"children\":[[\"$\",\"strong\",null,{\"style\":{\"fontWeight\":500},\"children\":\"Open your workspace\"}],[\"$\",\"br\",null,{}],[\"$\",\"span\",null,{\"style\":{\"color\":\"var(--muted)\",\"fontSize\":14},\"children\":\"Projects, workflows and test results\"}]]}],[\"$\",\"span\",null,{\"aria-hidden\":\"true\",\"children\":\"→\"}]]}]}],[\"$\",\"li\",\"/docs/quickstart/\",{\"style\":{\"borderBottom\":\"1px solid var(--line)\"},\"children\":[\"$\",\"a\",null,{\"href\":\"/docs/quickstart/\",\"style\":{\"display\":\"flex\",\"justifyContent\":\"space-between\",\"gap\":16,\"padding\":\"18px 0\",\"color\":\"inherit\",\"textDecoration\":\"none\"},\"children\":[[\"$\",\"span\",null,{\"children\":[[\"$\",\"strong\",null,{\"style\":{\"fontWeight\":500},\"children\":\"Set up your project\"}],[\"$\",\"br\",null,{}],[\"$\",\"span\",null,{\"style\":{\"color\":\"var(--muted)\",\"fontSize\":14},\"children\":\"Run your first test in a digital twin\"}]]}],[\"$\",\"span\",null,{\"aria-hidden\":\"true\",\"children\":\"→\"}]]}]}],[\"$\",\"li\",\"/pricing/\",{\"style\":{\"borderBottom\":\"1px solid var(--line)\"},\"children\":[\"$\",\"a\",null,{\"href\":\"/pricing/\",\"style\":{\"display\":\"flex\",\"justifyContent\":\"space-between\",\"gap\":16,\"padding\":\"18px 0\",\"color\":\"inherit\",\"textDecoration\":\"none\"},\"children\":[[\"$\",\"span\",null,{\"children\":[[\"$\",\"strong\",null,{\"style\":{\"fontWeight\":500},\"children\":\"Pricing\"}],[\"$\",\"br\",null,{}],[\"$\",\"span\",null,{\"style\":{\"color\":\"var(--muted)\",\"fontSize\":14},\"children\":\"Enterprise: contact us\"}]]}],[\"$\",\"span\",null,{\"aria-hidden\":\"true\",\"children\":\"→\"}]]}]}],[\"$\",\"li\",\"/contact/\",{\"style\":{\"borderBottom\":\"1px solid var(--line)\"},\"children\":[\"$\",\"a\",null,{\"href\":\"/contact/\",\"style\":{\"display\":\"flex\",\"justifyContent\":\"space-between\",\"gap\":16,\"padding\":\"18px 0\",\"color\":\"inherit\",\"textDecoration\":\"none\"},\"children\":[[\"$\",\"span\",null,{\"children\":[[\"$\",\"strong\",null,{\"style\":{\"fontWeight\":500},\"children\":\"Contact us\"}],[\"$\",\"br\",null,{}],[\"$\",\"span\",null,{\"style\":{\"color\":\"var(--muted)\",\"fontSize\":14},\"children\":\"Book a call or ask a question\"}]]}],[\"$\",\"span\",null,{\"aria-hidden\":\"true\",\"children\":\"→\"}]]}]}]]}]]}],[\"$\",\"footer\",null,{\"className\":\"site-footer SiteFooter_footer__aUaTs\",\"id\":\"footer\",\"children\":[\"$\",\"div\",null,{\"className\":\"container SiteFooter_content__1J6Jy\",\"children\":[[\"$\",\"div\",null,{\"className\":\"SiteFooter_main__EWvbi\",\"children\":[[\"$\",\"div\",null,{\"className\":\"SiteFooter_brand__HyIqL\",\"children\":[[\"$\",\"a\",null,{\"className\":\"brand\",\"href\":\"/\",\"aria-label\":\"AgentTwin home\",\"children\":[[\"$\",\"img\",null,{\"src\":\"assets/logo/mark-twin-rings.svg?v=white-rings\",\"alt\":\"\",\"aria-hidden\":\"true\",\"width\":29,\"height\":29}],\"AgentTwin\"]}],[\"$\",\"p\",null,{\"children\":[\"Production conditions.\",[\"$\",\"br\",null,{}],\"Room to get it wrong.\"]}]]}],[\"$\",\"div\",null,{\"className\":\"SiteFooter_navigation__Zsq8o\",\"children\":[[\"$\",\"div\",null,{\"className\":\"SiteFooter_groups__tPgIM\",\"children\":[[\"$\",\"nav\",\"Product\",{\"aria-label\":\"Footer Product\",\"className\":\"SiteFooter_group__FK9ik\",\"children\":[[\"$\",\"h2\",null,{\"children\":\"Product\"}],[[\"$\",\"a\",\"/#how\",{\"href\":\"/#how\",\"aria-label\":\"$undefined\",\"target\":\"$undefined\",\"rel\":\"$undefined\",\"children\":[\"How it works\",false]}],[\"$\",\"a\",\"/docs/status/\",{\"href\":\"/docs/status/\",\"aria-label\":\"$undefined\",\"target\":\"$undefined\",\"rel\":\"$undefined\",\"children\":[\"What works today\",false]}],[\"$\",\"a\",\"/scoreboard/\",{\"href\":\"/scoreboard/\",\"aria-label\":\"$undefined\",\"target\":\"$undefined\",\"rel\":\"$undefined\",\"children\":[\"Scoreboard\",false]}],[\"$\",\"a\",\"/demo/\",{\"href\":\"/demo/\",\"aria-label\":\"$undefined\",\"target\":\"$undefined\",\"rel\":\"$undefined\",\"children\":[\"Browser demo\",false]}],[\"$\",\"a\",\"/pricing/\",{\"href\":\"/pricing/\",\"aria-label\":\"$undefined\",\"target\":\"$undefined\",\"rel\":\"$undefined\",\"children\":[\"Pricing\",false]}],[\"$\",\"a\",\"/docs/roadmap/\",{\"href\":\"/docs/roadmap/\",\"aria-label\":\"$undefined\",\"target\":\"$undefined\",\"rel\":\"$undefined\",\"children\":[\"Roadmap\",false]}]]]}],[\"$\",\"nav\",\"Developers\",{\"aria-label\":\"Footer Developers\",\"className\":\"SiteFooter_group__FK9ik\",\"children\":[\"$Le\",[\"$Lf\",\"$L10\",\"$L11\",\"$L12\",\"$L13\"]]}],\"$L14\",\"$L15\"]}],\"$L16\"]}]]}],\"$L17\"]}]}]]}]\n"])</script><script>self.__next_f.push([1,"8:[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"assets/next/static/css/2c38dfe54afd9bb6.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}]\n"])</script><script>self.__next_f.push([1,"9:[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"assets/next/static/css/459672916fd34cc5.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}],[\"$\",\"link\",\"1\",{\"rel\":\"stylesheet\",\"href\":\"assets/next/static/css/37d81e1d2804cc5f.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}],[\"$\",\"link\",\"2\",{\"rel\":\"stylesheet\",\"href\":\"assets/next/static/css/e7f08eacc20752f3.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}],[\"$\",\"link\",\"3\",{\"rel\":\"stylesheet\",\"href\":\"assets/next/static/css/39133c9a03c8edb8.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}],[\"$\",\"link\",\"4\",{\"rel\":\"stylesheet\",\"href\":\"assets/next/static/css/a55cc0682e56b7aa.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}]],[[\"$\",\"meta\",null,{\"name\":\"agenttwin-api-url\",\"content\":\"https://api.agenttwin.si\"}],[\"$\",\"$L5\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L6\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]]]}]\n"])</script><script>self.__next_f.push([1,"a:[\"$\",\"$1\",\"c\",{\"children\":[[\"$\",\"$L18\",null,{}],[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"assets/next/static/css/11f70fd04660da57.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}],[\"$\",\"link\",\"1\",{\"rel\":\"stylesheet\",\"href\":\"assets/next/static/css/dd3fb06005e18149.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}]],[\"$\",\"$L19\",null,{\"children\":[\"$L1a\",[\"$\",\"$L1b\",null,{\"promise\":\"$@1c\"}]]}]]}]\nb:[\"$\",\"$1\",\"h\",{\"children\":[null,[[\"$\",\"$L1d\",null,{\"children\":\"$L1e\"}],null],[\"$\",\"$L1f\",null,{\"children\":[\"$\",\"div\",null,{\"hidden\":true,\"children\":[\"$\",\"$20\",null,{\"fallback\":null,\"children\":\"$L21\"}]}]}]]}]\n"])</script><script>self.__next_f.push([1,"e:[\"$\",\"h2\",null,{\"children\":\"Developers\"}]\nf:[\"$\",\"a\",\"/docs/quickstart/\",{\"href\":\"/docs/quickstart/\",\"aria-label\":\"$undefined\",\"target\":\"$undefined\",\"rel\":\"$undefined\",\"children\":[\"Quickstart\",false]}]\n10:[\"$\",\"a\",\"/docs/\",{\"href\":\"/docs/\",\"aria-label\":\"$undefined\",\"target\":\"$undefined\",\"rel\":\"$undefined\",\"children\":[\"Documentation\",false]}]\n11:[\"$\",\"a\",\"/docs/api/\",{\"href\":\"/docs/api/\",\"aria-label\":\"$undefined\",\"target\":\"$undefined\",\"rel\":\"$undefined\",\"children\":[\"API reference\",false]}]\n12:[\"$\",\"a\",\"/docs/mcp/\",{\"href\":\"/docs/mcp/\",\"aria-label\":\"$undefined\",\"target\":\"$undefined\",\"rel\":\"$undefined\",\"children\":[\"MCP for agents\",false]}]\n"])</script><script>self.__next_f.push([1,"13:[\"$\",\"a\",\"https://github.com/AgentTwin/agenttwin-agent-tools\",{\"href\":\"https://github.com/AgentTwin/agenttwin-agent-tools\",\"aria-label\":\"$undefined\",\"target\":\"_blank\",\"rel\":\"noopener noreferrer\",\"children\":[\"Agent tools\",[[\"$\",\"svg\",null,{\"width\":\"15\",\"height\":\"15\",\"viewBox\":\"0 0 15 15\",\"fill\":\"none\",\"xmlns\":\"http://www.w3.org/2000/svg\",\"aria-hidden\":\"true\",\"ref\":\"$undefined\",\"children\":[\"$\",\"path\",null,{\"d\":\"M3.64645 11.3536C3.45118 11.1583 3.45118 10.8417 3.64645 10.6465L10.2929 4L6 4C5.72386 4 5.5 3.77614 5.5 3.5C5.5 3.22386 5.72386 3 6 3L11.5 3C11.6326 3 11.7598 3.05268 11.8536 3.14645C11.9473 3.24022 12 3.36739 12 3.5L12 9.00001C12 9.27615 11.7761 9.50001 11.5 9.50001C11.2239 9.50001 11 9.27615 11 9.00001V4.70711L4.35355 11.3536C4.15829 11.5488 3.84171 11.5488 3.64645 11.3536Z\",\"fill\":\"currentColor\",\"fillRule\":\"evenodd\",\"clipRule\":\"evenodd\"}]}],[\"$\",\"span\",null,{\"className\":\"SiteFooter_srOnly__e7DbB\",\"children\":\" (opens in a new tab)\"}]]]}]\n"])</script><script>self.__next_f.push([1,"14:[\"$\",\"nav\",\"Resources\",{\"aria-label\":\"Footer Resources\",\"className\":\"SiteFooter_group__FK9ik\",\"children\":[[\"$\",\"h2\",null,{\"children\":\"Resources\"}],[[\"$\",\"a\",\"/guides/\",{\"href\":\"/guides/\",\"aria-label\":\"$undefined\",\"target\":\"$undefined\",\"rel\":\"$undefined\",\"children\":[\"Guides\",false]}],[\"$\",\"a\",\"/blog/\",{\"href\":\"/blog/\",\"aria-label\":\"$undefined\",\"target\":\"$undefined\",\"rel\":\"$undefined\",\"children\":[\"Blog\",false]}],[\"$\",\"a\",\"/compare/\",{\"href\":\"/compare/\",\"aria-label\":\"$undefined\",\"target\":\"$undefined\",\"rel\":\"$undefined\",\"children\":[\"Comparisons\",false]}],[\"$\",\"a\",\"/sandbox/\",{\"href\":\"/sandbox/\",\"aria-label\":\"$undefined\",\"target\":\"$undefined\",\"rel\":\"$undefined\",\"children\":[\"Try a sample test\",false]}],[\"$\",\"a\",\"/docs/safety/\",{\"href\":\"/docs/safety/\",\"aria-label\":\"$undefined\",\"target\":\"$undefined\",\"rel\":\"$undefined\",\"children\":[\"Safety and limits\",false]}]]]}]\n"])</script><script>self.__next_f.push([1,"15:[\"$\",\"nav\",\"Company\",{\"aria-label\":\"Footer Company\",\"className\":\"SiteFooter_group__FK9ik\",\"children\":[[\"$\",\"h2\",null,{\"children\":\"Company\"}],[[\"$\",\"a\",\"/about/\",{\"href\":\"/about/\",\"aria-label\":\"$undefined\",\"target\":\"$undefined\",\"rel\":\"$undefined\",\"children\":[\"About\",false]}],[\"$\",\"a\",\"/contact/\",{\"href\":\"/contact/\",\"aria-label\":\"$undefined\",\"target\":\"$undefined\",\"rel\":\"$undefined\",\"children\":[\"Contact\",false]}],[\"$\",\"a\",\"https://cal.com/sashanksingh\",{\"href\":\"https://cal.com/sashanksingh\",\"aria-label\":\"$undefined\",\"target\":\"_blank\",\"rel\":\"noopener noreferrer\",\"children\":[\"Book a call\",[[\"$\",\"svg\",null,{\"width\":\"15\",\"height\":\"15\",\"viewBox\":\"0 0 15 15\",\"fill\":\"none\",\"xmlns\":\"http://www.w3.org/2000/svg\",\"aria-hidden\":\"true\",\"ref\":\"$undefined\",\"children\":[\"$\",\"path\",null,{\"d\":\"M3.64645 11.3536C3.45118 11.1583 3.45118 10.8417 3.64645 10.6465L10.2929 4L6 4C5.72386 4 5.5 3.77614 5.5 3.5C5.5 3.22386 5.72386 3 6 3L11.5 3C11.6326 3 11.7598 3.05268 11.8536 3.14645C11.9473 3.24022 12 3.36739 12 3.5L12 9.00001C12 9.27615 11.7761 9.50001 11.5 9.50001C11.2239 9.50001 11 9.27615 11 9.00001V4.70711L4.35355 11.3536C4.15829 11.5488 3.84171 11.5488 3.64645 11.3536Z\",\"fill\":\"currentColor\",\"fillRule\":\"evenodd\",\"clipRule\":\"evenodd\"}]}],[\"$\",\"span\",null,{\"className\":\"SiteFooter_srOnly__e7DbB\",\"children\":\" (opens in a new tab)\"}]]]}],[\"$\",\"a\",\"https://www.linkedin.com/in/sashanksingh08\",{\"href\":\"https://www.linkedin.com/in/sashanksingh08\",\"aria-label\":\"Sashank Singh on LinkedIn (opens in a new tab)\",\"target\":\"_blank\",\"rel\":\"me noopener noreferrer\",\"children\":[\"Founder on LinkedIn\",[[\"$\",\"svg\",null,{\"width\":\"15\",\"height\":\"15\",\"viewBox\":\"0 0 15 15\",\"fill\":\"none\",\"xmlns\":\"http://www.w3.org/2000/svg\",\"aria-hidden\":\"true\",\"ref\":\"$undefined\",\"children\":[\"$\",\"path\",null,{\"d\":\"M3.64645 11.3536C3.45118 11.1583 3.45118 10.8417 3.64645 10.6465L10.2929 4L6 4C5.72386 4 5.5 3.77614 5.5 3.5C5.5 3.22386 5.72386 3 6 3L11.5 3C11.6326 3 11.7598 3.05268 11.8536 3.14645C11.9473 3.24022 12 3.36739 12 3.5L12 9.00001C12 9.27615 11.7761 9.50001 11.5 9.50001C11.2239 9.50001 11 9.27615 11 9.00001V4.70711L4.35355 11.3536C4.15829 11.5488 3.84171 11.5488 3.64645 11.3536Z\",\"fill\":\"currentColor\",\"fillRule\":\"evenodd\",\"clipRule\":\"evenodd\"}]}],[\"$\",\"span\",null,{\"className\":\"SiteFooter_srOnly__e7DbB\",\"children\":\" (opens in a new tab)\"}]]]}],[\"$\",\"a\",\"https://x.com/Agent_Twin\",{\"href\":\"https://x.com/Agent_Twin\",\"aria-label\":\"$undefined\",\"target\":\"_blank\",\"rel\":\"me noopener noreferrer\",\"children\":[\"X / Twitter\",[[\"$\",\"svg\",null,{\"width\":\"15\",\"height\":\"15\",\"viewBox\":\"0 0 15 15\",\"fill\":\"none\",\"xmlns\":\"http://www.w3.org/2000/svg\",\"aria-hidden\":\"true\",\"ref\":\"$undefined\",\"children\":[\"$\",\"path\",null,{\"d\":\"M3.64645 11.3536C3.45118 11.1583 3.45118 10.8417 3.64645 10.6465L10.2929 4L6 4C5.72386 4 5.5 3.77614 5.5 3.5C5.5 3.22386 5.72386 3 6 3L11.5 3C11.6326 3 11.7598 3.05268 11.8536 3.14645C11.9473 3.24022 12 3.36739 12 3.5L12 9.00001C12 9.27615 11.7761 9.50001 11.5 9.50001C11.2239 9.50001 11 9.27615 11 9.00001V4.70711L4.35355 11.3536C4.15829 11.5488 3.84171 11.5488 3.64645 11.3536Z\",\"fill\":\"currentColor\",\"fillRule\":\"evenodd\",\"clipRule\":\"evenodd\"}]}],[\"$\",\"span\",null,{\"className\":\"SiteFooter_srOnly__e7DbB\",\"children\":\" (opens in a new tab)\"}]]]}]]]}]\n"])</script><script>self.__next_f.push([1,"16:[\"$\",\"details\",null,{\"className\":\"SiteFooter_more__LEh69\",\"children\":[[\"$\",\"summary\",null,{\"children\":[\"More resources \",[\"$\",\"svg\",null,{\"width\":\"15\",\"height\":\"15\",\"viewBox\":\"0 0 15 15\",\"fill\":\"none\",\"xmlns\":\"http://www.w3.org/2000/svg\",\"aria-hidden\":\"true\",\"ref\":\"$undefined\",\"children\":[\"$\",\"path\",null,{\"d\":\"M3.13523 6.15803C3.3241 5.95657 3.64052 5.94637 3.84197 6.13523L7.5 9.56464L11.158 6.13523C11.3595 5.94637 11.6759 5.95657 11.8648 6.15803C12.0536 6.35949 12.0434 6.67591 11.842 6.86477L7.84197 10.6148C7.64964 10.7951 7.35036 10.7951 7.15803 10.6148L3.15803 6.86477C2.95657 6.67591 2.94637 6.35949 3.13523 6.15803Z\",\"fill\":\"currentColor\",\"fillRule\":\"evenodd\",\"clipRule\":\"evenodd\"}]}]]}],[\"$\",\"nav\",null,{\"aria-label\":\"More footer resources\",\"children\":[[\"$\",\"a\",\"/docs/wedge/\",{\"href\":\"/docs/wedge/\",\"aria-label\":\"$undefined\",\"target\":\"$undefined\",\"rel\":\"$undefined\",\"children\":[\"Failure scenarios\",false]}],[\"$\",\"a\",\"/developers/\",{\"href\":\"/developers/\",\"aria-label\":\"$undefined\",\"target\":\"$undefined\",\"rel\":\"$undefined\",\"children\":[\"Developer resources\",false]}],[\"$\",\"a\",\"/docs/prototype/\",{\"href\":\"/docs/prototype/\",\"aria-label\":\"$undefined\",\"target\":\"$undefined\",\"rel\":\"$undefined\",\"children\":[\"Demo walkthrough\",false]}],[\"$\",\"a\",\"/docs/fidelity/\",{\"href\":\"/docs/fidelity/\",\"aria-label\":\"$undefined\",\"target\":\"$undefined\",\"rel\":\"$undefined\",\"children\":[\"Fidelity contract\",false]}],[\"$\",\"a\",\"/api-policy/\",{\"href\":\"/api-policy/\",\"aria-label\":\"$undefined\",\"target\":\"$undefined\",\"rel\":\"$undefined\",\"children\":[\"API versioning\",false]}],[\"$\",\"a\",\"https://registry.modelcontextprotocol.io/?q=io.github.AgentTwin%2Fagenttwin-docs\",{\"href\":\"https://registry.modelcontextprotocol.io/?q=io.github.AgentTwin%2Fagenttwin-docs\",\"aria-label\":\"$undefined\",\"target\":\"_blank\",\"rel\":\"noopener noreferrer\",\"children\":[\"MCP registry\",[[\"$\",\"svg\",null,{\"width\":\"15\",\"height\":\"15\",\"viewBox\":\"0 0 15 15\",\"fill\":\"none\",\"xmlns\":\"http://www.w3.org/2000/svg\",\"aria-hidden\":\"true\",\"ref\":\"$undefined\",\"children\":[\"$\",\"path\",null,{\"d\":\"M3.64645 11.3536C3.45118 11.1583 3.45118 10.8417 3.64645 10.6465L10.2929 4L6 4C5.72386 4 5.5 3.77614 5.5 3.5C5.5 3.22386 5.72386 3 6 3L11.5 3C11.6326 3 11.7598 3.05268 11.8536 3.14645C11.9473 3.24022 12 3.36739 12 3.5L12 9.00001C12 9.27615 11.7761 9.50001 11.5 9.50001C11.2239 9.50001 11 9.27615 11 9.00001V4.70711L4.35355 11.3536C4.15829 11.5488 3.84171 11.5488 3.64645 11.3536Z\",\"fill\":\"currentColor\",\"fillRule\":\"evenodd\",\"clipRule\":\"evenodd\"}]}],[\"$\",\"span\",null,{\"className\":\"SiteFooter_srOnly__e7DbB\",\"children\":\" (opens in a new tab)\"}]]]}],[\"$\",\"a\",\"https://glama.ai/mcp/connectors/io.github.AgentTwin/agenttwin-docs\",{\"href\":\"https://glama.ai/mcp/connectors/io.github.AgentTwin/agenttwin-docs\",\"aria-label\":\"$undefined\",\"target\":\"_blank\",\"rel\":\"noopener noreferrer\",\"children\":[\"AgentTwin on Glama\",[[\"$\",\"svg\",null,{\"width\":\"15\",\"height\":\"15\",\"viewBox\":\"0 0 15 15\",\"fill\":\"none\",\"xmlns\":\"http://www.w3.org/2000/svg\",\"aria-hidden\":\"true\",\"ref\":\"$undefined\",\"children\":[\"$\",\"path\",null,{\"d\":\"M3.64645 11.3536C3.45118 11.1583 3.45118 10.8417 3.64645 10.6465L10.2929 4L6 4C5.72386 4 5.5 3.77614 5.5 3.5C5.5 3.22386 5.72386 3 6 3L11.5 3C11.6326 3 11.7598 3.05268 11.8536 3.14645C11.9473 3.24022 12 3.36739 12 3.5L12 9.00001C12 9.27615 11.7761 9.50001 11.5 9.50001C11.2239 9.50001 11 9.27615 11 9.00001V4.70711L4.35355 11.3536C4.15829 11.5488 3.84171 11.5488 3.64645 11.3536Z\",\"fill\":\"currentColor\",\"fillRule\":\"evenodd\",\"clipRule\":\"evenodd\"}]}],[\"$\",\"span\",null,{\"className\":\"SiteFooter_srOnly__e7DbB\",\"children\":\" (opens in a new tab)\"}]]]}],[\"$\",\"a\",\"https://www.f6s.com/company/agenttwin\",{\"href\":\"https://www.f6s.com/company/agenttwin\",\"aria-label\":\"$undefined\",\"target\":\"_blank\",\"rel\":\"me noopener noreferrer\",\"children\":[\"AgentTwin on F6S\",[[\"$\",\"svg\",null,{\"width\":\"15\",\"height\":\"15\",\"viewBox\":\"0 0 15 15\",\"fill\":\"none\",\"xmlns\":\"http://www.w3.org/2000/svg\",\"aria-hidden\":\"true\",\"ref\":\"$undefined\",\"children\":[\"$\",\"path\",null,{\"d\":\"M3.64645 11.3536C3.45118 11.1583 3.45118 10.8417 3.64645 10.6465L10.2929 4L6 4C5.72386 4 5.5 3.77614 5.5 3.5C5.5 3.22386 5.72386 3 6 3L11.5 3C11.6326 3 11.7598 3.05268 11.8536 3.14645C11.9473 3.24022 12 3.36739 12 3.5L12 9.00001C12 9.27615 11.7761 9.50001 11.5 9.50001C11.2239 9.50001 11 9.27615 11 9.00001V4.70711L4.35355 11.3536C4.15829 11.5488 3.84171 11.5488 3.64645 11.3536Z\",\"fill\":\"currentColor\",\"fillRule\":\"evenodd\",\"clipRule\":\"evenodd\"}]}],\"$L22\"]]}]]}]]}]\n"])</script><script>self.__next_f.push([1,"17:[\"$\",\"div\",null,{\"className\":\"SiteFooter_bottom__ADU2b\",\"children\":[[\"$\",\"span\",null,{\"children\":\"© 2026 AgentTwin\"}],[\"$\",\"p\",null,{\"children\":\"CLI available. Browser demo uses scripted outcomes.\"}],[\"$\",\"div\",null,{\"children\":[[\"$\",\"a\",null,{\"href\":\"/privacy/\",\"children\":\"Privacy and data\"}],[\"$\",\"a\",null,{\"href\":\"/security/\",\"children\":\"Security\"}],[\"$\",\"a\",null,{\"href\":\"/subprocessors/\",\"children\":\"Subprocessors\"}],[\"$\",\"a\",null,{\"href\":\"/terms/\",\"children\":\"Terms\"}],[\"$\",\"a\",null,{\"href\":\"/dpa/\",\"children\":\"DPA\"}],[\"$\",\"a\",null,{\"href\":\"/status/\",\"children\":\"Status\"}],[\"$\",\"a\",null,{\"href\":\"#main\",\"children\":[\"Back to top \",[\"$\",\"svg\",null,{\"width\":\"15\",\"height\":\"15\",\"viewBox\":\"0 0 15 15\",\"fill\":\"none\",\"xmlns\":\"http://www.w3.org/2000/svg\",\"aria-hidden\":\"true\",\"ref\":\"$undefined\",\"children\":[\"$\",\"path\",null,{\"d\":\"M7.14645 2.14645C7.34171 1.95118 7.65829 1.95118 7.85355 2.14645L11.8536 6.14645C12.0488 6.34171 12.0488 6.65829 11.8536 6.85355C11.6583 7.04882 11.3417 7.04882 11.1464 6.85355L8 3.70711L8 12.5C8 12.7761 7.77614 13 7.5 13C7.22386 13 7 12.7761 7 12.5L7 3.70711L3.85355 6.85355C3.65829 7.04882 3.34171 7.04882 3.14645 6.85355C2.95118 6.65829 2.95118 6.34171 3.14645 6.14645L7.14645 2.14645Z\",\"fill\":\"currentColor\",\"fillRule\":\"evenodd\",\"clipRule\":\"evenodd\"}]}]]}]]}]]}]\n"])</script><script>self.__next_f.push([1,"22:[\"$\",\"span\",null,{\"className\":\"SiteFooter_srOnly__e7DbB\",\"children\":\" (opens in a new tab)\"}]\n"])</script><script>self.__next_f.push([1,"1e:[[\"$\",\"meta\",\"0\",{\"charSet\":\"utf-8\"}],[\"$\",\"meta\",\"1\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}]]\n1a:null\n"])</script><script>self.__next_f.push([1,"23:I[622,[],\"IconMark\"]\n"])</script><script>self.__next_f.push([1,"1c:{\"metadata\":[[\"$\",\"title\",\"0\",{\"children\":\"Workspace | AgentTwin\"}],[\"$\",\"meta\",\"1\",{\"name\":\"description\",\"content\":\"Discover your project, test workflows and inspect recorded results.\"}],[\"$\",\"meta\",\"2\",{\"name\":\"application-name\",\"content\":\"AgentTwin\"}],[\"$\",\"link\",\"3\",{\"rel\":\"manifest\",\"href\":\"/manifest.webmanifest\",\"crossOrigin\":\"$undefined\"}],[\"$\",\"meta\",\"4\",{\"property\":\"og:title\",\"content\":\"AgentTwin | Digital Twins for Testing AI Agents\"}],[\"$\",\"meta\",\"5\",{\"property\":\"og:description\",\"content\":\"AgentTwin runs your AI agent's real code on digital twins of Stripe, Slack and any API, injects real-world failures and shows each bug with its cost and a fix.\"}],[\"$\",\"meta\",\"6\",{\"property\":\"og:url\",\"content\":\"https://agenttwin.si/\"}],[\"$\",\"meta\",\"7\",{\"property\":\"og:site_name\",\"content\":\"AgentTwin\"}],[\"$\",\"meta\",\"8\",{\"property\":\"og:image\",\"content\":\"https://agenttwin.si/social-preview-20261026.png\"}],[\"$\",\"meta\",\"9\",{\"property\":\"og:image:width\",\"content\":\"1200\"}],[\"$\",\"meta\",\"10\",{\"property\":\"og:image:height\",\"content\":\"630\"}],[\"$\",\"meta\",\"11\",{\"property\":\"og:image:type\",\"content\":\"image/png\"}],[\"$\",\"meta\",\"12\",{\"property\":\"og:image:alt\",\"content\":\"AgentTwin — Digital twins for testing AI agents. Slack, Stripe and Gmail services mirrored into a test world.\"}],[\"$\",\"meta\",\"13\",{\"property\":\"og:type\",\"content\":\"website\"}],[\"$\",\"meta\",\"14\",{\"name\":\"twitter:card\",\"content\":\"summary_large_image\"}],[\"$\",\"meta\",\"15\",{\"name\":\"twitter:title\",\"content\":\"AgentTwin | Digital Twins for Testing AI Agents\"}],[\"$\",\"meta\",\"16\",{\"name\":\"twitter:description\",\"content\":\"AgentTwin runs your AI agent's real code on digital twins of Stripe, Slack and any API, injects real-world failures and shows each bug with its cost and a fix.\"}],[\"$\",\"meta\",\"17\",{\"name\":\"twitter:image\",\"content\":\"https://agenttwin.si/social-preview-20261026.png\"}],[\"$\",\"meta\",\"18\",{\"name\":\"twitter:image:width\",\"content\":\"1200\"}],[\"$\",\"meta\",\"19\",{\"name\":\"twitter:image:height\",\"content\":\"630\"}],[\"$\",\"meta\",\"20\",{\"name\":\"twitter:image:type\",\"content\":\"image/png\"}],[\"$\",\"meta\",\"21\",{\"name\":\"twitter:image:alt\",\"content\":\"AgentTwin — Digital twins for testing AI agents. Slack, Stripe and Gmail services mirrored into a test world.\"}],[\"$\",\"link\",\"22\",{\"rel\":\"apple-touch-icon\",\"href\":\"/apple-touch-icon.png\",\"sizes\":\"180x180\",\"type\":\"image/png\"}],[\"$\",\"$L23\",\"23\",{}]],\"error\":null,\"digest\":\"$undefined\"}\n"])</script><script>self.__next_f.push([1,"21:\"$1c:metadata\"\n"])</script></body></html>
package/dist/engine.js CHANGED
@@ -290,7 +290,7 @@ var init_package = __esm({
290
290
  "package.json"() {
291
291
  package_default = {
292
292
  name: "agenttwin",
293
- version: "0.3.31",
293
+ version: "0.3.32",
294
294
  description: "AgentTwin builds digital twins for testing AI agents. The current CLI prepares supported Node.js workflows with synthetic services, failures, and outcome checks.",
295
295
  mcpName: "io.github.AgentTwin/agenttwin",
296
296
  keywords: [
@@ -7060,11 +7060,12 @@ var init_rest_adapters = __esm({
7060
7060
  });
7061
7061
 
7062
7062
  // src/runtime/postgrest.ts
7063
- import pg from "pg";
7064
- var ident2, OPS, RESERVED, PostgrestLayer;
7063
+ import { createRequire as createRequire2 } from "module";
7064
+ var loadPg, ident2, OPS, RESERVED, PostgrestLayer;
7065
7065
  var init_postgrest = __esm({
7066
7066
  "src/runtime/postgrest.ts"() {
7067
7067
  "use strict";
7068
+ loadPg = () => createRequire2(import.meta.url)("pg");
7068
7069
  ident2 = (name) => `"${name.replace(/"/g, '""')}"`;
7069
7070
  OPS = { eq: "=", neq: "<>", gt: ">", gte: ">=", lt: "<", lte: "<=", like: "LIKE", ilike: "ILIKE" };
7070
7071
  RESERVED = /* @__PURE__ */ new Set(["select", "order", "limit", "offset", "on_conflict", "columns", "or", "and"]);
@@ -7072,7 +7073,7 @@ var init_postgrest = __esm({
7072
7073
  pool;
7073
7074
  fks;
7074
7075
  constructor(databaseUrl) {
7075
- this.pool = new pg.Pool({ connectionString: databaseUrl, max: 1 });
7076
+ this.pool = new (loadPg()).Pool({ connectionString: databaseUrl, max: 1 });
7076
7077
  }
7077
7078
  close() {
7078
7079
  return this.pool.end().catch(() => {
@@ -11387,7 +11388,7 @@ var init_hosted_packs = __esm({
11387
11388
  });
11388
11389
 
11389
11390
  // src/runtime/e2b.ts
11390
- import { createRequire as createRequire2 } from "module";
11391
+ import { createRequire as createRequire3 } from "module";
11391
11392
  import { readFile as readFile11 } from "fs/promises";
11392
11393
  import { randomBytes as randomBytes3 } from "crypto";
11393
11394
  import { homedir as homedir2 } from "os";
@@ -11465,7 +11466,7 @@ logfile /tmp/agenttwin-redis.log
11465
11466
  }
11466
11467
  await sandbox.files.write("/input/runtime.json", JSON.stringify(runtimeEnv), { user: "root" });
11467
11468
  await sandbox.commands.run("chmod -R a+rX /input", { user: "root" });
11468
- const playwrightVersion = createRequire2(import.meta.url)("playwright/package.json").version;
11469
+ const playwrightVersion = createRequire3(import.meta.url)("playwright/package.json").version;
11469
11470
  await sandbox.files.write("/input/check-runtime.cjs", `const p=require('playwright/package.json');if(p.version!==${JSON.stringify(playwrightVersion)})throw Error('E2B template needs rebuilding with agenttwin setup: Playwright version mismatch');`, { user: "root" });
11470
11471
  await sandbox.commands.run("node /input/check-runtime.cjs", { user: "root" });
11471
11472
  if (spec.browser) {
@@ -19893,21 +19894,21 @@ async function runVerify(cwd, opts) {
19893
19894
  if (spec.fetchRoutes) add("fetch-routing", Array.isArray(receipt.blockedFetches) && receipt.blockedFetches.length === 0, "Reviewed fetch routing must record no blocked origins; this is not network isolation");
19894
19895
  let databaseVerified = !spec.postgres;
19895
19896
  if (spec.postgres && receipt.runtime === "local") {
19896
- let pg2;
19897
+ let pg;
19897
19898
  try {
19898
19899
  const evidence = embeddedDatabaseEvidence(raw.embeddedDatabase);
19899
19900
  add("database-engine", isDeepStrictEqual7(evidence.extensions, spec.postgres.extensions ?? []), "Recorded embedded PostgreSQL extensions must match the reviewed world");
19900
- pg2 = await startPostgresEngine({ extensions: spec.postgres.extensions });
19901
- if (spec.postgres.seedFile) await pg2.seed({ sql: (await readBounded3(resolve11(root2, spec.postgres.seedFile), EMBEDDED_SEED_LIMIT).catch(() => {
19901
+ pg = await startPostgresEngine({ extensions: spec.postgres.extensions });
19902
+ if (spec.postgres.seedFile) await pg.seed({ sql: (await readBounded3(resolve11(root2, spec.postgres.seedFile), EMBEDDED_SEED_LIMIT).catch(() => {
19902
19903
  throw new Error(`PostgreSQL seedFile must be a regular file of at most ${EMBEDDED_SEED_LIMIT / 1024 / 1024} MiB`);
19903
19904
  })).toString() });
19904
- const initial2 = await snapshotPublicTables(pg2);
19905
+ const initial2 = await snapshotPublicTables(pg);
19905
19906
  add("database-initial", isDeepStrictEqual7(initial2, evidence.initial), "Seeded database must match recorded initial public tables");
19906
19907
  const schema = (s) => s.tables.map(({ rows: rows2, ...table4 }) => table4);
19907
19908
  if (!isDeepStrictEqual7(schema(evidence.final), schema(initial2))) throw new Error("Recorded database schema differs from the reviewed seed");
19908
- await restorePublicTables(pg2, evidence.final);
19909
- add("database-state", isDeepStrictEqual7(await snapshotPublicTables(pg2), evidence.final), "Restored recorded public table state must match exactly");
19910
- const recomputed = await evaluatePostgresAssertions(pg2, spec.postgres.assertions);
19909
+ await restorePublicTables(pg, evidence.final);
19910
+ add("database-state", isDeepStrictEqual7(await snapshotPublicTables(pg), evidence.final), "Restored recorded public table state must match exactly");
19911
+ const recomputed = await evaluatePostgresAssertions(pg, spec.postgres.assertions);
19911
19912
  for (const [index, assertion] of recomputed.entries()) add("database-assertion:" + String(index + 1), assertion.passed, "SQL assertion independently recomputed against restored recorded data");
19912
19913
  const recorded = Array.isArray(receipt.infrastructureAssertions) ? receipt.infrastructureAssertions.filter((a) => a?.service === "postgres") : void 0;
19913
19914
  add("database-evidence", isDeepStrictEqual7(recomputed, recorded), "Recorded SQL assertion results must match recomputed evidence");
@@ -19915,7 +19916,7 @@ async function runVerify(cwd, opts) {
19915
19916
  } catch (error) {
19916
19917
  add("database-verification", false, error instanceof Error ? error.message : "Database verification failed");
19917
19918
  } finally {
19918
- await pg2?.stop();
19919
+ await pg?.stop();
19919
19920
  }
19920
19921
  } else if (spec.postgres) {
19921
19922
  let db;
@@ -22147,7 +22148,7 @@ async function signInThroughApp(signIn){
22147
22148
 
22148
22149
  // src/runtime/engines/rabbitmq.ts
22149
22150
  import { createServer as createServer8 } from "net";
22150
- import { createRequire as createRequire4 } from "module";
22151
+ import { createRequire as createRequire5 } from "module";
22151
22152
  import { dirname as dirname13, join as join51 } from "path";
22152
22153
  async function startRabbitmqEngine(options = {}) {
22153
22154
  if (options.prefer && options.prefer !== "auto" && options.prefer !== "in-process") throw new Error("RabbitMQ twin supports in-process only");
@@ -22561,7 +22562,7 @@ var init_rabbitmq = __esm({
22561
22562
  "src/runtime/engines/rabbitmq.ts"() {
22562
22563
  "use strict";
22563
22564
  init_types();
22564
- require2 = createRequire4(import.meta.url);
22565
+ require2 = createRequire5(import.meta.url);
22565
22566
  root = dirname13(require2.resolve("amqplib"));
22566
22567
  d = require2(join51(root, "lib/defs.js"));
22567
22568
  wire = require2(join51(root, "lib/frame.js"));
@@ -25573,7 +25574,7 @@ var init_account_presets = __esm({
25573
25574
  import { mkdir as mkdir21, readFile as readFile40, writeFile as writeFile32 } from "fs/promises";
25574
25575
  import { existsSync as existsSync9, readdirSync as readdirSync4, readFileSync as readFileSync11 } from "fs";
25575
25576
  import { createHash as createHash28 } from "crypto";
25576
- import { createRequire as createRequire5 } from "module";
25577
+ import { createRequire as createRequire6 } from "module";
25577
25578
  import { spawnSync as spawnSync2 } from "child_process";
25578
25579
  import { dirname as dirname16, join as join57, posix as posix5, relative as relative18 } from "path";
25579
25580
  import { pathToFileURL as pathToFileURL2 } from "url";
@@ -26056,7 +26057,7 @@ function seedTimes(value3, now = Date.now()) {
26056
26057
  }
26057
26058
  function typescriptLoader() {
26058
26059
  try {
26059
- return pathToFileURL2(createRequire5(import.meta.url).resolve("tsx")).href;
26060
+ return pathToFileURL2(createRequire6(import.meta.url).resolve("tsx")).href;
26060
26061
  } catch {
26061
26062
  return void 0;
26062
26063
  }
@@ -26487,7 +26488,7 @@ function ensurePrismaClient(cwd, appDir) {
26487
26488
  for (const schema of schemas) {
26488
26489
  const text3 = readFileSync11(schema, "utf8"), pkgDir = dirname16(dirname16(schema)).endsWith("prisma") ? dirname16(dirname16(schema)) : existsSync9(join57(dirname16(schema), "..", "package.json")) ? join57(dirname16(schema), "..") : dirname16(schema);
26489
26490
  const output = /generator\s+\w+\s*\{[^}]*\boutput\s*=\s*"([^"]+)"/.exec(text3)?.[1];
26490
- const req = createRequire5(join57(pkgDir, "package.json"));
26491
+ const req = createRequire6(join57(pkgDir, "package.json"));
26491
26492
  const generated = output ? existsSync9(join57(dirname16(schema), output)) : (() => {
26492
26493
  try {
26493
26494
  req.resolve(".prisma/client/default");
@@ -32212,7 +32213,7 @@ import { parseArgs } from "util";
32212
32213
 
32213
32214
  // src/commands/setup.ts
32214
32215
  init_exit();
32215
- import { createRequire as createRequire3 } from "module";
32216
+ import { createRequire as createRequire4 } from "module";
32216
32217
  import { mkdir as mkdir13, writeFile as writeFile22 } from "fs/promises";
32217
32218
  import { homedir as homedir4 } from "os";
32218
32219
  import { join as join37 } from "path";
@@ -32220,7 +32221,7 @@ async function runSetup(log) {
32220
32221
  if (!process.env.E2B_API_KEY) throw new CliError("Set E2B_API_KEY before creating your hosted runtime template", { code: EXIT.BLOCKED });
32221
32222
  log("Building the AgentTwin template on E2B (Node 22, PostgreSQL 15, Redis, Chromium). No local containers are used.");
32222
32223
  const { Template } = await import("e2b");
32223
- const playwrightVersion = createRequire3(import.meta.url)("playwright/package.json").version;
32224
+ const playwrightVersion = createRequire4(import.meta.url)("playwright/package.json").version;
32224
32225
  if (!/^\d+\.\d+\.\d+$/.test(playwrightVersion)) throw new Error("Unsupported Playwright version");
32225
32226
  const template = Template().fromImage("node:22-bookworm-slim").aptInstall(["postgresql-15", "redis-server", "ca-certificates", "iptables", "util-linux"]).setUser("root").runCmd("mkdir -p /input/app && chmod 755 /input /input/app").runCmd(`npm install --prefix /input --save-exact --omit=dev playwright@${playwrightVersion}`).runCmd("PLAYWRIGHT_BROWSERS_PATH=/opt/agenttwin-browsers /input/node_modules/.bin/playwright install --with-deps chromium").setUser("node");
32226
32227
  const result2 = await Template.build(template, "agenttwin-node-v3", { apiKey: process.env.E2B_API_KEY, cpuCount: 2, memoryMB: 2048, onBuildLogs: (entry) => {
package/dist/gateway.js CHANGED
@@ -6612,11 +6612,12 @@ var init_rest_adapters = __esm({
6612
6612
  });
6613
6613
 
6614
6614
  // src/runtime/postgrest.ts
6615
- import pg2 from "pg";
6616
- var ident2, OPS, RESERVED, PostgrestLayer;
6615
+ import { createRequire as createRequire2 } from "module";
6616
+ var loadPg, ident2, OPS, RESERVED, PostgrestLayer;
6617
6617
  var init_postgrest = __esm({
6618
6618
  "src/runtime/postgrest.ts"() {
6619
6619
  "use strict";
6620
+ loadPg = () => createRequire2(import.meta.url)("pg");
6620
6621
  ident2 = (name) => `"${name.replace(/"/g, '""')}"`;
6621
6622
  OPS = { eq: "=", neq: "<>", gt: ">", gte: ">=", lt: "<", lte: "<=", like: "LIKE", ilike: "ILIKE" };
6622
6623
  RESERVED = /* @__PURE__ */ new Set(["select", "order", "limit", "offset", "on_conflict", "columns", "or", "and"]);
@@ -6624,7 +6625,7 @@ var init_postgrest = __esm({
6624
6625
  pool;
6625
6626
  fks;
6626
6627
  constructor(databaseUrl2) {
6627
- this.pool = new pg2.Pool({ connectionString: databaseUrl2, max: 1 });
6628
+ this.pool = new (loadPg()).Pool({ connectionString: databaseUrl2, max: 1 });
6628
6629
  }
6629
6630
  close() {
6630
6631
  return this.pool.end().catch(() => {
@@ -11031,7 +11032,7 @@ var init_hosted_packs = __esm({
11031
11032
  });
11032
11033
 
11033
11034
  // src/runtime/e2b.ts
11034
- import { createRequire as createRequire2 } from "module";
11035
+ import { createRequire as createRequire3 } from "module";
11035
11036
  import { readFile as readFile12 } from "fs/promises";
11036
11037
  import { randomBytes as randomBytes6 } from "crypto";
11037
11038
  import { homedir as homedir2 } from "os";
@@ -11109,7 +11110,7 @@ logfile /tmp/agenttwin-redis.log
11109
11110
  }
11110
11111
  await sandbox.files.write("/input/runtime.json", JSON.stringify(runtimeEnv), { user: "root" });
11111
11112
  await sandbox.commands.run("chmod -R a+rX /input", { user: "root" });
11112
- const playwrightVersion = createRequire2(import.meta.url)("playwright/package.json").version;
11113
+ const playwrightVersion = createRequire3(import.meta.url)("playwright/package.json").version;
11113
11114
  await sandbox.files.write("/input/check-runtime.cjs", `const p=require('playwright/package.json');if(p.version!==${JSON.stringify(playwrightVersion)})throw Error('E2B template needs rebuilding with agenttwin setup: Playwright version mismatch');`, { user: "root" });
11114
11115
  await sandbox.commands.run("node /input/check-runtime.cjs", { user: "root" });
11115
11116
  if (spec.browser) {
@@ -19525,7 +19526,7 @@ function captureAnalytics(event) {
19525
19526
  // package.json
19526
19527
  var package_default = {
19527
19528
  name: "agenttwin",
19528
- version: "0.3.31",
19529
+ version: "0.3.32",
19529
19530
  description: "AgentTwin builds digital twins for testing AI agents. The current CLI prepares supported Node.js workflows with synthetic services, failures, and outcome checks.",
19530
19531
  mcpName: "io.github.AgentTwin/agenttwin",
19531
19532
  keywords: [
package/dist/worker.js CHANGED
@@ -5217,7 +5217,8 @@ function parseWorld(value) {
5217
5217
  }
5218
5218
 
5219
5219
  // src/runtime/postgrest.ts
5220
- import pg from "pg";
5220
+ import { createRequire as createRequire2 } from "module";
5221
+ var loadPg = () => createRequire2(import.meta.url)("pg");
5221
5222
  var ident2 = (name) => `"${name.replace(/"/g, '""')}"`;
5222
5223
  var OPS = { eq: "=", neq: "<>", gt: ">", gte: ">=", lt: "<", lte: "<=", like: "LIKE", ilike: "ILIKE" };
5223
5224
  var RESERVED = /* @__PURE__ */ new Set(["select", "order", "limit", "offset", "on_conflict", "columns", "or", "and"]);
@@ -5225,7 +5226,7 @@ var PostgrestLayer = class _PostgrestLayer {
5225
5226
  pool;
5226
5227
  fks;
5227
5228
  constructor(databaseUrl) {
5228
- this.pool = new pg.Pool({ connectionString: databaseUrl, max: 1 });
5229
+ this.pool = new (loadPg()).Pool({ connectionString: databaseUrl, max: 1 });
5229
5230
  }
5230
5231
  close() {
5231
5232
  return this.pool.end().catch(() => {
@@ -5514,11 +5514,12 @@ var init_spec = __esm({
5514
5514
  });
5515
5515
 
5516
5516
  // src/runtime/postgrest.ts
5517
- import pg from "pg";
5518
- var ident2, OPS, RESERVED, PostgrestLayer;
5517
+ import { createRequire as createRequire2 } from "module";
5518
+ var loadPg, ident2, OPS, RESERVED, PostgrestLayer;
5519
5519
  var init_postgrest = __esm({
5520
5520
  "src/runtime/postgrest.ts"() {
5521
5521
  "use strict";
5522
+ loadPg = () => createRequire2(import.meta.url)("pg");
5522
5523
  ident2 = (name) => `"${name.replace(/"/g, '""')}"`;
5523
5524
  OPS = { eq: "=", neq: "<>", gt: ">", gte: ">=", lt: "<", lte: "<=", like: "LIKE", ilike: "ILIKE" };
5524
5525
  RESERVED = /* @__PURE__ */ new Set(["select", "order", "limit", "offset", "on_conflict", "columns", "or", "and"]);
@@ -5526,7 +5527,7 @@ var init_postgrest = __esm({
5526
5527
  pool;
5527
5528
  fks;
5528
5529
  constructor(databaseUrl) {
5529
- this.pool = new pg.Pool({ connectionString: databaseUrl, max: 1 });
5530
+ this.pool = new (loadPg()).Pool({ connectionString: databaseUrl, max: 1 });
5530
5531
  }
5531
5532
  close() {
5532
5533
  return this.pool.end().catch(() => {
@@ -9886,7 +9887,7 @@ var init_hosted_packs = __esm({
9886
9887
  });
9887
9888
 
9888
9889
  // src/runtime/e2b.ts
9889
- import { createRequire as createRequire2 } from "module";
9890
+ import { createRequire as createRequire3 } from "module";
9890
9891
  import { readFile as readFile11 } from "fs/promises";
9891
9892
  import { randomBytes as randomBytes3 } from "crypto";
9892
9893
  import { homedir as homedir2 } from "os";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agenttwin",
3
- "version": "0.3.31",
3
+ "version": "0.3.32",
4
4
  "description": "AgentTwin builds digital twins for testing AI agents. The current CLI prepares supported Node.js workflows with synthetic services, failures, and outcome checks.",
5
5
  "mcpName": "io.github.AgentTwin/agenttwin",
6
6
  "keywords": [