agenttwin 0.3.17 → 0.3.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -3
- package/dist/dashboard/assets/next/static/chunks/{webpack-31e888c3be320794.js → webpack-f293c9680eabd154.js} +1 -1
- package/dist/dashboard/index.html +2 -2
- package/dist/engine.js +46 -17
- package/package.json +1 -1
- /package/dist/dashboard/assets/next/static/{V3pvPBiLJXMLA7hJtcq8Q → EvU7zdQimTNRzxI3sTw-q}/_buildManifest.js +0 -0
- /package/dist/dashboard/assets/next/static/{V3pvPBiLJXMLA7hJtcq8Q → EvU7zdQimTNRzxI3sTw-q}/_ssgManifest.js +0 -0
package/README.md
CHANGED
|
@@ -157,7 +157,7 @@ A run receipt's **Fix & retest** tab exports an evidence-based task for your cod
|
|
|
157
157
|
|
|
158
158
|
The website’s Settings page saves workspace name, default execution limit (1–300 seconds for new templates), automatic refresh, compact lists and reduced motion in this browser. Existing reviewed bundles retain their limits. The account section supports token visibility, connection status, manual workspace refresh and disconnect; tokens are never persisted with preferences.
|
|
159
159
|
|
|
160
|
-
Top-right initials open account actions. The sidebar closes into a full-width layout. See `docs-site/src/dashboard.mdx` for the complete guide.
|
|
160
|
+
Top-right initials open account actions. The sidebar closes into a full-width layout. See `docs-site/src/dashboard.mdx` for the complete guide. Website deployment and CLI release versions are tracked separately; this package reports its bundled version with `agenttwin --version`.
|
|
161
161
|
|
|
162
162
|
### Workflow discovery boundaries
|
|
163
163
|
|
|
@@ -175,8 +175,10 @@ Runs a sample cleanly, detects duplicate tickets under a lost write response, ap
|
|
|
175
175
|
|
|
176
176
|
### Optional command telemetry
|
|
177
177
|
|
|
178
|
-
Telemetry is off by default.
|
|
178
|
+
Telemetry is off by default. Set `AGENTTWIN_TELEMETRY=1` to send minimal command events to AgentTwin’s existing Umami project at `https://analytics.agenttwin.si`. Events are tagged `cli` and use `/cli/<command>` paths. Override `AGENTTWIN_UMAMI_HOST` and `AGENTTWIN_UMAMI_WEBSITE_ID` to use another project. Umami uses its public collection endpoint; no account password or personal API token is required.
|
|
179
179
|
|
|
180
|
-
|
|
180
|
+
PostHog remains optional: set `AGENTTWIN_TELEMETRY_PROVIDER=posthog`, `AGENTTWIN_TELEMETRY=1` and `AGENTTWIN_POSTHOG_KEY` to its public ingestion key. `AGENTTWIN_POSTHOG_HOST` selects the ingestion origin (HTTPS required outside loopback). `DO_NOT_TRACK=1` or `AGENTTWIN_TELEMETRY_DISABLED=1` overrides opt-in.
|
|
181
|
+
|
|
182
|
+
Command metrics include category, CLI version, Node major, platform, duration, exit category and fixed telemetry event names. Unexpected command exceptions also emit an allowlisted error type, up to eight shipped entrypoint filename/line/column locations, and a fingerprint computed only from those sanitized fields. Customer-code frames, function names and absolute paths are discarded. Pinged deployment endpoints are not part of this minimal schema. Each process gets a fresh random identifier to correlate command start and finish; there is no persistent machine identity. Arguments, source, repository names, paths, email, exception messages and raw crash stacks are never collected. A start with no finish can indicate interruption; it is not proof of abandonment. Requests time out after 750 ms and cannot change command results. The Umami ingestion URL and website ID are public configuration, bundled for opted-in users; telemetry remains disabled until explicitly enabled. The collector receives the network request and applies its normal server-side privacy policy. Missing finishes indicate possible interruption, not proven abandonment.
|
|
181
183
|
|
|
182
184
|
`agenttwin test` reuses the test selected during `init`; it still requires the proposal’s separate approval. Alternatively, save a reviewed workflow-test scenario as `agenttwin.test.json` in your repository. Explicit `--file` and `--preparation` override automatic selection. A missing or unreviewed test stops with setup instructions; it never silently runs the sample.
|
|
@@ -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 c=1/0,i=0;i<e.length;i++){for(var[o,n,a]=e[i],u=!0,d=0;d<o.length;d++)(!1&a||c>=a)&&Object.keys(r.O).every(e=>r.O[e](o[d]))?o.splice(d--,1):(u=!1,a<c&&(c=a));if(u){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 c=2&n&&o;"object"==typeof c&&!~e.indexOf(c);c=t(c))Object.getOwnPropertyNames(c).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",1482:"c28f7cd0f92885c1",3056:"ffa9a4d44a274b29",4055:"1056568a41510e92",4343:"023a18f52318dbad",6751:"613adb085c9a5b06",8975:"5be81ec8b09e3b45",9013:"0f2be1cc70029afa",9432:"437b212aae4abcf8",9675:"14739028910476e4"})[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 c,u,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){c=l;break}}c||(u=!0,(c=document.createElement("script")).charset="utf-8",c.timeout=120,r.nc&&c.setAttribute("nonce",r.nc),c.setAttribute("data-webpack",t+a),c.src=r.tu(o)),e[o]=[n];var s=(t,r)=>{c.onerror=c.onload=null,clearTimeout(b);var n=e[o];if(delete e[o],c.parentNode&&c.parentNode.removeChild(c),n&&n.forEach(e=>e(r)),t)return t(r)},b=setTimeout(s.bind(null,void 0,{type:"timeout",target:c}),12e4);c.onerror=s.bind(null,c.onerror),c.onload=s.bind(null,c.onload),u&&document.head.appendChild(c)}})(),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,4394:0,3935:0,6654: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 c=1/0,i=0;i<e.length;i++){for(var[o,n,a]=e[i],u=!0,d=0;d<o.length;d++)(!1&a||c>=a)&&Object.keys(r.O).every(e=>r.O[e](o[d]))?o.splice(d--,1):(u=!1,a<c&&(c=a));if(u){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 c=2&n&&o;"object"==typeof c&&!~e.indexOf(c);c=t(c))Object.getOwnPropertyNames(c).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",1482:"c28f7cd0f92885c1",3056:"ffa9a4d44a274b29",4055:"1056568a41510e92",4343:"023a18f52318dbad",6751:"613adb085c9a5b06",8975:"5be81ec8b09e3b45",9013:"0f2be1cc70029afa",9432:"437b212aae4abcf8",9675:"14739028910476e4"})[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 c,u,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){c=l;break}}c||(u=!0,(c=document.createElement("script")).charset="utf-8",c.timeout=120,r.nc&&c.setAttribute("nonce",r.nc),c.setAttribute("data-webpack",t+a),c.src=r.tu(o)),e[o]=[n];var s=(t,r)=>{c.onerror=c.onload=null,clearTimeout(b);var n=e[o];if(delete e[o],c.parentNode&&c.parentNode.removeChild(c),n&&n.forEach(e=>e(r)),t)return t(r)},b=setTimeout(s.bind(null,void 0,{type:"timeout",target:c}),12e4);c.onerror=s.bind(null,c.onerror),c.onload=s.bind(null,c.onload),u&&document.head.appendChild(c)}})(),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,4394:0,3935:0,6654:0,4295:0,9681:0,7329:0,2729:0,7056:0,7502:0,5097:0,9487:0,7441:0,1133:0,9477:0,9540:0,1371:0,8009: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(/^(7(056|206|329|441|502)|80(09|68)|9(477|487|540|681)|(227|393|429)5|1133|1371|2729|4394|5097|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),c=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;c.message="Loading chunk "+t+" failed.\n("+a+": "+i+")",c.name="ChunkLoadError",c.type=a,c.request=i,n[1](c)}},"chunk-"+t,t)}},r.O.j=t=>0===e[t];var t=(t,o)=>{var n,a,[i,c,u]=o,d=0;if(i.some(t=>0!==e[t])){for(n in c)r.o(c,n)&&(r.m[n]=c[n]);if(u)var f=u(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><!--
|
|
1
|
+
<!DOCTYPE html><!--EvU7zdQimTNRzxI3sTw_q--><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/14eee9340ebc5f8b.css" data-precedence="next"/><link rel="stylesheet" href="assets/next/static/css/5d8899aaed08d7f2.css" data-precedence="next"/><link rel="stylesheet" href="assets/next/static/css/18afa3e32331c41d.css" data-precedence="next"/><link rel="stylesheet" href="assets/next/static/css/d131a6499fe6cf19.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-f293c9680eabd154.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-9030513b2ea7c6ba.js" async=""></script><script src="assets/next/static/chunks/app/layout-b924dc5a0d35506b.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/5531-fde254dbd21c3153.js" async=""></script><script src="assets/next/static/chunks/2868-b80a3af454408935.js" async=""></script><script src="assets/next/static/chunks/app/dashboard/page-6894a8a3e5ba859a.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="Digital twins for testing AI agents. Run real workflows, expose failures, and verify outcomes before production."/><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="Digital twins for testing AI agents. Run real workflows, expose failures, and verify outcomes before production."/><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>(self.__next_s=self.__next_s||[]).push([0,{"children":"\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 window.addEventListener('error', event =\u003e {\n if (event.message) report('Runtime error', event.message);\n });\n window.addEventListener('unhandledrejection', event =\u003e {\n const reason = event.reason;\n report('Unhandled promise rejection', typeof reason === 'string' ? reason : reason?.message || 'Promise rejected');\n });\n})();\n","id":"runtime-errors"}])</script><script>(function(){
|
|
2
2
|
var attribute='bis_skin_checked';
|
|
3
3
|
function clean(node){
|
|
4
4
|
if(node.nodeType!==1)return;
|
|
@@ -13,4 +13,4 @@
|
|
|
13
13
|
}else record.addedNodes.forEach(clean);
|
|
14
14
|
});
|
|
15
15
|
}).observe(document.documentElement,{subtree:true,childList:true,attributes:true,attributeFilter:[attribute]});
|
|
16
|
-
})();</script><script defer="" data-domain="agenttwin.si" src="https://analytics.hirealpha.chat/js/script.js"></script><script defer="" src="https://analytics.agenttwin.si/script.js" data-website-id="00000000-0000-0000-0000-000000000000"></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 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]: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="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 & 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 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]: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-[>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 [&>span:last-child]:truncate [&>svg]:size-4 [&>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"><div class="widget-column"><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-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><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-working" id="widget-working"><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 3v12a3 3 0 0 0 3 3h9"></path><path d="M6 3 3 6m3-3 3 3"></path><path d="m15 15 3 3 3-3"></path></svg></span><h2>Working now</h2><span class="w-count" id="working-count"></span><span class="w-head-meta" id="working-meta"></span></header><div class="w-body" id="working-body"></div></article></div><div class="widget-column"><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-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-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-sandbox" id="widget-sandbox"><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>Last execution</h2><span class="w-head-meta" id="sandbox-meta"></span></header><div class="w-body" id="sandbox-body"></div></article></div></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 init</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 · Node.js 22.12+</p><div class="terminal-output" id="terminal-output"></div><details class="discovery-help"><summary>Analyze with a coding agent</summary><p>Init offers OpenCode when installed. To launch it directly, run <code>npx agenttwin init --agent opencode</code>. Other agents can use 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 init 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 & 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"><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 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></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-31e888c3be320794.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-b924dc5a0d35506b.js\"],\"\"]\n3:I[540,[\"7177\",\"static/chunks/app/layout-b924dc5a0d35506b.js\"],\"default\"]\n4:I[9766,[],\"\"]\n5:I[8924,[],\"\"]\nb:I[7150,[],\"\"]\n:HL[\"assets/next/static/css/14eee9340ebc5f8b.css\",\"style\"]\n:HL[\"assets/next/static/css/5d8899aaed08d7f2.css\",\"style\"]\n:HL[\"assets/next/static/css/18afa3e32331c41d.css\",\"style\"]\n:HL[\"assets/next/static/css/d131a6499fe6cf19.css\",\"style\"]\n:HL[\"assets/next/static/css/11f70fd04660da57.css\",\"style\"]\n:HL[\"assets/next/static/css/dd3fb06005e18149.css\",\"style\"]\n"])</script><script>self.__next_f.push([1,"0:{\"P\":null,\"b\":\"V3pvPBiLJXMLA7hJtcq8Q\",\"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/14eee9340ebc5f8b.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}]],[\"$\",\"html\",null,{\"lang\":\"en\",\"suppressHydrationWarning\":true,\"children\":[[\"$\",\"head\",null,{\"children\":[[\"$\",\"$L2\",null,{\"id\":\"runtime-errors\",\"strategy\":\"beforeInteractive\",\"dangerouslySetInnerHTML\":{\"__html\":\"\\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 window.addEventListener('error', event =\u003e {\\n if (event.message) report('Runtime error', event.message);\\n });\\n window.addEventListener('unhandledrejection', event =\u003e {\\n const reason = event.reason;\\n report('Unhandled promise rejection', typeof reason === 'string' ? reason : reason?.message || 'Promise rejected');\\n });\\n})();\\n\"}}],[\"$\",\"$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\"}],[\"$\",\"script\",null,{\"defer\":true,\"src\":\"https://analytics.agenttwin.si/script.js\",\"data-website-id\":\"00000000-0000-0000-0000-000000000000\"}],[\"$\",\"$L3\",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\":[\"$\",\"$L4\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L5\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":[[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":{\"fontFamily\":\"system-ui,\\\"Segoe UI\\\",Roboto,Helvetica,Arial,sans-serif,\\\"Apple Color Emoji\\\",\\\"Segoe UI Emoji\\\"\",\"height\":\"100vh\",\"textAlign\":\"center\",\"display\":\"flex\",\"flexDirection\":\"column\",\"alignItems\":\"center\",\"justifyContent\":\"center\"},\"children\":[\"$\",\"div\",null,{\"children\":[[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}\"}}],\"$L6\",\"$L7\"]}]}]],[]],\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]}]]}]]}],{\"children\":[\"dashboard\",\"$L8\",{\"children\":[\"__PAGE__\",\"$L9\",{},null,false]},null,false]},null,false],\"$La\",false]],\"m\":\"$undefined\",\"G\":[\"$b\",[]],\"s\":false,\"S\":true}\n"])</script><script>self.__next_f.push([1,"c:I[1286,[\"7772\",\"static/chunks/7772-f2d773cd3e94eea6.js\",\"2743\",\"static/chunks/2743-a0efd6f4aeb11cc5.js\",\"5531\",\"static/chunks/5531-fde254dbd21c3153.js\",\"2868\",\"static/chunks/2868-b80a3af454408935.js\",\"7486\",\"static/chunks/app/dashboard/page-6894a8a3e5ba859a.js\"],\"default\"]\nd:I[4431,[],\"OutletBoundary\"]\nf:I[5278,[],\"AsyncMetadataOutlet\"]\n11:I[4431,[],\"ViewportBoundary\"]\n13:I[4431,[],\"MetadataBoundary\"]\n14:\"$Sreact.suspense\"\n6:[\"$\",\"h1\",null,{\"className\":\"next-error-h1\",\"style\":{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"padding\":\"0 23px 0 0\",\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"},\"children\":404}]\n7:[\"$\",\"div\",null,{\"style\":{\"display\":\"inline-block\"},\"children\":[\"$\",\"h2\",null,{\"style\":{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"49px\",\"margin\":0},\"children\":\"This page could not be found.\"}]}]\n"])</script><script>self.__next_f.push([1,"8:[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"assets/next/static/css/5d8899aaed08d7f2.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}],[\"$\",\"link\",\"1\",{\"rel\":\"stylesheet\",\"href\":\"assets/next/static/css/18afa3e32331c41d.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}],[\"$\",\"link\",\"2\",{\"rel\":\"stylesheet\",\"href\":\"assets/next/static/css/d131a6499fe6cf19.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}]],[[\"$\",\"meta\",null,{\"name\":\"agenttwin-api-url\",\"content\":\"https://api.agenttwin.si\"}],[\"$\",\"$L4\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L5\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]]]}]\n"])</script><script>self.__next_f.push([1,"9:[\"$\",\"$1\",\"c\",{\"children\":[[\"$\",\"$Lc\",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\"}]],[\"$\",\"$Ld\",null,{\"children\":[\"$Le\",[\"$\",\"$Lf\",null,{\"promise\":\"$@10\"}]]}]]}]\na:[\"$\",\"$1\",\"h\",{\"children\":[null,[[\"$\",\"$L11\",null,{\"children\":\"$L12\"}],null],[\"$\",\"$L13\",null,{\"children\":[\"$\",\"div\",null,{\"hidden\":true,\"children\":[\"$\",\"$14\",null,{\"fallback\":null,\"children\":\"$L15\"}]}]}]]}]\n"])</script><script>self.__next_f.push([1,"12:[[\"$\",\"meta\",\"0\",{\"charSet\":\"utf-8\"}],[\"$\",\"meta\",\"1\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}]]\ne:null\n"])</script><script>self.__next_f.push([1,"16:I[622,[],\"IconMark\"]\n"])</script><script>self.__next_f.push([1,"10:{\"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\":\"Digital twins for testing AI agents. Run real workflows, expose failures, and verify outcomes before production.\"}],[\"$\",\"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\":\"Digital twins for testing AI agents. Run real workflows, expose failures, and verify outcomes before production.\"}],[\"$\",\"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\"}],[\"$\",\"$L16\",\"23\",{}]],\"error\":null,\"digest\":\"$undefined\"}\n"])</script><script>self.__next_f.push([1,"15:\"$10:metadata\"\n"])</script></body></html>
|
|
16
|
+
})();</script><script defer="" data-domain="agenttwin.si" src="https://analytics.hirealpha.chat/js/script.js"></script><script defer="" src="https://analytics.agenttwin.si/script.js" data-website-id="00000000-0000-0000-0000-000000000000"></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 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]: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="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 & 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 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]: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-[>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 [&>span:last-child]:truncate [&>svg]:size-4 [&>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"><div class="widget-column"><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-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><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-working" id="widget-working"><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 3v12a3 3 0 0 0 3 3h9"></path><path d="M6 3 3 6m3-3 3 3"></path><path d="m15 15 3 3 3-3"></path></svg></span><h2>Working now</h2><span class="w-count" id="working-count"></span><span class="w-head-meta" id="working-meta"></span></header><div class="w-body" id="working-body"></div></article></div><div class="widget-column"><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-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-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-sandbox" id="widget-sandbox"><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>Last execution</h2><span class="w-head-meta" id="sandbox-meta"></span></header><div class="w-body" id="sandbox-body"></div></article></div></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 init</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 · Node.js 22.12+</p><div class="terminal-output" id="terminal-output"></div><details class="discovery-help"><summary>Analyze with a coding agent</summary><p>Init offers OpenCode when installed. To launch it directly, run <code>npx agenttwin init --agent opencode</code>. Other agents can use 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 init 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 & 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"><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 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></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-f293c9680eabd154.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-b924dc5a0d35506b.js\"],\"\"]\n3:I[540,[\"7177\",\"static/chunks/app/layout-b924dc5a0d35506b.js\"],\"default\"]\n4:I[9766,[],\"\"]\n5:I[8924,[],\"\"]\nb:I[7150,[],\"\"]\n:HL[\"assets/next/static/css/14eee9340ebc5f8b.css\",\"style\"]\n:HL[\"assets/next/static/css/5d8899aaed08d7f2.css\",\"style\"]\n:HL[\"assets/next/static/css/18afa3e32331c41d.css\",\"style\"]\n:HL[\"assets/next/static/css/d131a6499fe6cf19.css\",\"style\"]\n:HL[\"assets/next/static/css/11f70fd04660da57.css\",\"style\"]\n:HL[\"assets/next/static/css/dd3fb06005e18149.css\",\"style\"]\n"])</script><script>self.__next_f.push([1,"0:{\"P\":null,\"b\":\"EvU7zdQimTNRzxI3sTw-q\",\"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/14eee9340ebc5f8b.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}]],[\"$\",\"html\",null,{\"lang\":\"en\",\"suppressHydrationWarning\":true,\"children\":[[\"$\",\"head\",null,{\"children\":[[\"$\",\"$L2\",null,{\"id\":\"runtime-errors\",\"strategy\":\"beforeInteractive\",\"dangerouslySetInnerHTML\":{\"__html\":\"\\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 window.addEventListener('error', event =\u003e {\\n if (event.message) report('Runtime error', event.message);\\n });\\n window.addEventListener('unhandledrejection', event =\u003e {\\n const reason = event.reason;\\n report('Unhandled promise rejection', typeof reason === 'string' ? reason : reason?.message || 'Promise rejected');\\n });\\n})();\\n\"}}],[\"$\",\"$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\"}],[\"$\",\"script\",null,{\"defer\":true,\"src\":\"https://analytics.agenttwin.si/script.js\",\"data-website-id\":\"00000000-0000-0000-0000-000000000000\"}],[\"$\",\"$L3\",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\":[\"$\",\"$L4\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L5\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":[[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":{\"fontFamily\":\"system-ui,\\\"Segoe UI\\\",Roboto,Helvetica,Arial,sans-serif,\\\"Apple Color Emoji\\\",\\\"Segoe UI Emoji\\\"\",\"height\":\"100vh\",\"textAlign\":\"center\",\"display\":\"flex\",\"flexDirection\":\"column\",\"alignItems\":\"center\",\"justifyContent\":\"center\"},\"children\":[\"$\",\"div\",null,{\"children\":[[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}\"}}],\"$L6\",\"$L7\"]}]}]],[]],\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]}]]}]]}],{\"children\":[\"dashboard\",\"$L8\",{\"children\":[\"__PAGE__\",\"$L9\",{},null,false]},null,false]},null,false],\"$La\",false]],\"m\":\"$undefined\",\"G\":[\"$b\",[]],\"s\":false,\"S\":true}\n"])</script><script>self.__next_f.push([1,"c:I[1286,[\"7772\",\"static/chunks/7772-f2d773cd3e94eea6.js\",\"2743\",\"static/chunks/2743-a0efd6f4aeb11cc5.js\",\"5531\",\"static/chunks/5531-fde254dbd21c3153.js\",\"2868\",\"static/chunks/2868-b80a3af454408935.js\",\"7486\",\"static/chunks/app/dashboard/page-6894a8a3e5ba859a.js\"],\"default\"]\nd:I[4431,[],\"OutletBoundary\"]\nf:I[5278,[],\"AsyncMetadataOutlet\"]\n11:I[4431,[],\"ViewportBoundary\"]\n13:I[4431,[],\"MetadataBoundary\"]\n14:\"$Sreact.suspense\"\n6:[\"$\",\"h1\",null,{\"className\":\"next-error-h1\",\"style\":{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"padding\":\"0 23px 0 0\",\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"},\"children\":404}]\n7:[\"$\",\"div\",null,{\"style\":{\"display\":\"inline-block\"},\"children\":[\"$\",\"h2\",null,{\"style\":{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"49px\",\"margin\":0},\"children\":\"This page could not be found.\"}]}]\n"])</script><script>self.__next_f.push([1,"8:[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"assets/next/static/css/5d8899aaed08d7f2.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}],[\"$\",\"link\",\"1\",{\"rel\":\"stylesheet\",\"href\":\"assets/next/static/css/18afa3e32331c41d.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}],[\"$\",\"link\",\"2\",{\"rel\":\"stylesheet\",\"href\":\"assets/next/static/css/d131a6499fe6cf19.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}]],[[\"$\",\"meta\",null,{\"name\":\"agenttwin-api-url\",\"content\":\"https://api.agenttwin.si\"}],[\"$\",\"$L4\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L5\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]]]}]\n"])</script><script>self.__next_f.push([1,"9:[\"$\",\"$1\",\"c\",{\"children\":[[\"$\",\"$Lc\",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\"}]],[\"$\",\"$Ld\",null,{\"children\":[\"$Le\",[\"$\",\"$Lf\",null,{\"promise\":\"$@10\"}]]}]]}]\na:[\"$\",\"$1\",\"h\",{\"children\":[null,[[\"$\",\"$L11\",null,{\"children\":\"$L12\"}],null],[\"$\",\"$L13\",null,{\"children\":[\"$\",\"div\",null,{\"hidden\":true,\"children\":[\"$\",\"$14\",null,{\"fallback\":null,\"children\":\"$L15\"}]}]}]]}]\n"])</script><script>self.__next_f.push([1,"12:[[\"$\",\"meta\",\"0\",{\"charSet\":\"utf-8\"}],[\"$\",\"meta\",\"1\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}]]\ne:null\n"])</script><script>self.__next_f.push([1,"16:I[622,[],\"IconMark\"]\n"])</script><script>self.__next_f.push([1,"10:{\"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\":\"Digital twins for testing AI agents. Run real workflows, expose failures, and verify outcomes before production.\"}],[\"$\",\"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\":\"Digital twins for testing AI agents. Run real workflows, expose failures, and verify outcomes before production.\"}],[\"$\",\"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\"}],[\"$\",\"$L16\",\"23\",{}]],\"error\":null,\"digest\":\"$undefined\"}\n"])</script><script>self.__next_f.push([1,"15:\"$10:metadata\"\n"])</script></body></html>
|
package/dist/engine.js
CHANGED
|
@@ -10042,6 +10042,8 @@ var init_answers = __esm({
|
|
|
10042
10042
|
// src/lib/telemetry.ts
|
|
10043
10043
|
import { createHash, randomUUID } from "crypto";
|
|
10044
10044
|
var COMMANDS = /* @__PURE__ */ new Set(["init", "refresh", "test", "run", "demo", "example", "prepare", "verify", "replay", "sync", "login", "world", "regression", "mcp"]);
|
|
10045
|
+
var UMAMI_HOST = "https://analytics.agenttwin.si";
|
|
10046
|
+
var UMAMI_WEBSITE = "873fedb3-a0c4-43bc-86fe-98611f2cd064";
|
|
10045
10047
|
function crashDiagnostic(error) {
|
|
10046
10048
|
const names = /* @__PURE__ */ new Set(["Error", "TypeError", "RangeError", "ReferenceError", "SyntaxError"]);
|
|
10047
10049
|
const errorType = error instanceof Error && names.has(error.name) ? error.name : "Error";
|
|
@@ -10054,33 +10056,54 @@ function crashDiagnostic(error) {
|
|
|
10054
10056
|
}
|
|
10055
10057
|
function commandTelemetry(command, version, env = process.env) {
|
|
10056
10058
|
const key = env.AGENTTWIN_POSTHOG_KEY;
|
|
10059
|
+
const provider = env.AGENTTWIN_TELEMETRY_PROVIDER ?? (key ? "posthog" : "umami");
|
|
10060
|
+
const website = env.AGENTTWIN_UMAMI_WEBSITE_ID ?? UMAMI_WEBSITE;
|
|
10057
10061
|
let endpoint;
|
|
10058
10062
|
try {
|
|
10059
|
-
const base = new URL(env.AGENTTWIN_POSTHOG_HOST ?? "https://us.i.posthog.com");
|
|
10063
|
+
const base = new URL(provider === "umami" ? env.AGENTTWIN_UMAMI_HOST ?? UMAMI_HOST : env.AGENTTWIN_POSTHOG_HOST ?? "https://us.i.posthog.com");
|
|
10060
10064
|
if (base.protocol === "https:" || base.protocol === "http:" && ["localhost", "127.0.0.1", "[::1]"].includes(base.hostname))
|
|
10061
|
-
endpoint = new URL("/capture/", base);
|
|
10065
|
+
endpoint = new URL(provider === "umami" ? "/api/send" : "/capture/", base);
|
|
10062
10066
|
} catch {
|
|
10063
10067
|
}
|
|
10064
|
-
const
|
|
10068
|
+
const configured = provider === "posthog" ? !!key : provider === "umami" && /^[a-f\d]{8}(-[a-f\d]{4}){3}-[a-f\d]{12}$/i.test(website);
|
|
10069
|
+
const enabled = env.AGENTTWIN_TELEMETRY === "1" && env.DO_NOT_TRACK !== "1" && env.AGENTTWIN_TELEMETRY_DISABLED !== "1" && configured && !!endpoint;
|
|
10065
10070
|
const id = randomUUID(), started = performance.now();
|
|
10066
10071
|
const send = async (event, exitCode, diagnostic) => {
|
|
10067
10072
|
if (!enabled) return;
|
|
10068
10073
|
try {
|
|
10074
|
+
const properties = {
|
|
10075
|
+
distinct_id: id,
|
|
10076
|
+
command: COMMANDS.has(command) ? command : "other",
|
|
10077
|
+
version,
|
|
10078
|
+
nodeMajor: Number(process.versions.node.split(".")[0]),
|
|
10079
|
+
platform: process.platform,
|
|
10080
|
+
...exitCode === void 0 ? {} : { exitCode: [0, 1, 2, 3, 130].includes(exitCode) ? exitCode : 1, durationMs: Math.round(performance.now() - started) },
|
|
10081
|
+
...diagnostic ? { diagnostic } : {},
|
|
10082
|
+
$process_person_profile: false
|
|
10083
|
+
};
|
|
10084
|
+
const { distinct_id, diagnostic: ignoredDiagnostic, $process_person_profile, ...metrics2 } = properties;
|
|
10085
|
+
const body = provider === "umami" ? { type: "event", payload: {
|
|
10086
|
+
website,
|
|
10087
|
+
hostname: "agenttwin.si",
|
|
10088
|
+
url: `/cli/${properties.command}`,
|
|
10089
|
+
title: "AgentTwin CLI",
|
|
10090
|
+
language: "en-US",
|
|
10091
|
+
screen: "0x0",
|
|
10092
|
+
referrer: "",
|
|
10093
|
+
name: event,
|
|
10094
|
+
tag: "cli",
|
|
10095
|
+
data: { ...metrics2, commandRunId: distinct_id, ...diagnostic ? {
|
|
10096
|
+
errorType: diagnostic.errorType,
|
|
10097
|
+
frames: diagnostic.frames.join("\n"),
|
|
10098
|
+
fingerprint: diagnostic.fingerprint
|
|
10099
|
+
} : {} }
|
|
10100
|
+
} } : { api_key: key, event, properties };
|
|
10069
10101
|
await fetch(endpoint, {
|
|
10070
10102
|
method: "POST",
|
|
10071
|
-
signal: AbortSignal.timeout(
|
|
10103
|
+
signal: AbortSignal.timeout(750),
|
|
10072
10104
|
redirect: "error",
|
|
10073
|
-
headers: { "content-type": "application/json" },
|
|
10074
|
-
body: JSON.stringify(
|
|
10075
|
-
distinct_id: id,
|
|
10076
|
-
command: COMMANDS.has(command) ? command : "other",
|
|
10077
|
-
version,
|
|
10078
|
-
nodeMajor: Number(process.versions.node.split(".")[0]),
|
|
10079
|
-
platform: process.platform,
|
|
10080
|
-
...exitCode === void 0 ? {} : { exitCode: [0, 1, 2, 3, 130].includes(exitCode) ? exitCode : 1, durationMs: Math.round(performance.now() - started) },
|
|
10081
|
-
...diagnostic ? { diagnostic } : {},
|
|
10082
|
-
$process_person_profile: false
|
|
10083
|
-
} })
|
|
10105
|
+
headers: { "content-type": "application/json", ...provider === "umami" ? { "user-agent": "Mozilla/5.0 (Server)" } : {} },
|
|
10106
|
+
body: JSON.stringify(body)
|
|
10084
10107
|
});
|
|
10085
10108
|
} catch {
|
|
10086
10109
|
}
|
|
@@ -10088,7 +10111,13 @@ function commandTelemetry(command, version, env = process.env) {
|
|
|
10088
10111
|
return {
|
|
10089
10112
|
start: () => send("cli_command_started"),
|
|
10090
10113
|
finish: (exitCode) => send("cli_command_finished", exitCode),
|
|
10091
|
-
crash: (error) =>
|
|
10114
|
+
crash: async (error) => {
|
|
10115
|
+
if (!enabled) return;
|
|
10116
|
+
try {
|
|
10117
|
+
await send("cli_command_crashed", 1, crashDiagnostic(error));
|
|
10118
|
+
} catch {
|
|
10119
|
+
}
|
|
10120
|
+
}
|
|
10092
10121
|
};
|
|
10093
10122
|
}
|
|
10094
10123
|
|
|
@@ -10158,7 +10187,7 @@ import { join as join44 } from "path";
|
|
|
10158
10187
|
// package.json
|
|
10159
10188
|
var package_default = {
|
|
10160
10189
|
name: "agenttwin",
|
|
10161
|
-
version: "0.3.
|
|
10190
|
+
version: "0.3.18",
|
|
10162
10191
|
description: "Give your agent a test world before it touches the real one.",
|
|
10163
10192
|
keywords: [
|
|
10164
10193
|
"agent",
|
package/package.json
CHANGED
|
File without changes
|
|
File without changes
|