@parcha/agentrun-serve 0.1.0-beta.55 → 0.1.0-beta.56
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/CHANGELOG.md +32 -0
- package/README.md +44 -10
- package/dist/adapters.d.ts +3 -2
- package/dist/adapters.js +6 -3
- package/dist/answer-json.d.ts +6 -2
- package/dist/answer-json.js +22 -4
- package/dist/api-only.js +2 -0
- package/dist/calendar/tools.js +3 -2
- package/dist/chatgpt-plan.d.ts +16 -1
- package/dist/chatgpt-plan.js +116 -12
- package/dist/claude-login.d.ts +34 -5
- package/dist/claude-login.js +31 -7
- package/dist/claude-sign-in.d.ts +35 -0
- package/dist/claude-sign-in.js +90 -0
- package/dist/console/assets/{backend-D5EmB4N3.js → backend-Boh7tC4i.js} +1 -1
- package/dist/console/assets/{index-DUYLaqiR.js → index-CQ3cJRzI.js} +130 -130
- package/dist/console/assets/index-DKkaS3a0.css +1 -0
- package/dist/console/index.html +2 -2
- package/dist/host-check.d.ts +4 -0
- package/dist/host-check.js +4 -0
- package/dist/key-refusal.d.ts +21 -5
- package/dist/key-refusal.js +231 -37
- package/dist/learn/secrets.d.ts +20 -10
- package/dist/learn/secrets.js +44 -184
- package/dist/llms.txt +1 -1
- package/dist/openapi.d.ts +3 -3
- package/dist/openapi.js +70 -18
- package/dist/place-offers.d.ts +14 -6
- package/dist/place-offers.js +26 -13
- package/dist/redact/match.d.ts +74 -0
- package/dist/redact/match.js +771 -0
- package/dist/run-timeline-served.d.ts +1 -1
- package/dist/run-timeline-served.js +4 -4
- package/dist/runner/adapter-loop.d.ts +3 -0
- package/dist/runner/adapter-loop.js +1 -1
- package/dist/runner/adapter-run-spec.js +4 -1
- package/dist/runner/beside.js +7 -3
- package/dist/runner/cli-run-spec.js +3 -1
- package/dist/runner/loop-contract.d.ts +4 -0
- package/dist/runner/main.js +8 -4
- package/dist/runner/presence.d.ts +4 -3
- package/dist/runner/presence.js +4 -2
- package/dist/runner/run-child-host.d.ts +2 -0
- package/dist/runner/run-child-host.js +2 -2
- package/dist/runner/runner.d.ts +4 -0
- package/dist/runner/runner.js +33 -3
- package/dist/server.d.ts +5 -2
- package/dist/server.js +41 -10
- package/dist/store/dialect.d.ts +3 -0
- package/dist/store/dialect.js +1 -0
- package/dist/store/index.d.ts +1 -1
- package/dist/store/index.js +1 -1
- package/dist/store/postgres/dialect.js +3 -0
- package/dist/store/sqlite/store.js +43 -13
- package/dist/store/store.d.ts +10 -1
- package/dist/store/store.js +7 -0
- package/dist/store-view.js +1 -1
- package/dist/template-eval.d.ts +2 -2
- package/dist/template-eval.js +9 -8
- package/dist/timeline/index.d.ts +1 -1
- package/dist/timeline/index.js +1 -1
- package/dist/timeline/timeline.d.ts +12 -7
- package/dist/timeline/timeline.js +14 -6
- package/dist/tool-gate.js +3 -1
- package/dist/validate.js +1 -1
- package/dist/workspace/computer-deps.d.ts +2 -1
- package/dist/workspace/computer-deps.js +5 -4
- package/dist/workspace/computer-for-claim.d.ts +8 -2
- package/dist/workspace/computer-for-claim.js +28 -9
- package/dist/workspace/computer-janitor.d.ts +15 -7
- package/dist/workspace/computer-janitor.js +33 -8
- package/dist/workspace/computer-kept.d.ts +52 -4
- package/dist/workspace/computer-kept.js +118 -6
- package/dist/workspace/run-end-computers.d.ts +5 -1
- package/dist/workspace/run-end-computers.js +27 -1
- package/dist/wrapped.d.ts +57 -0
- package/dist/wrapped.js +51 -0
- package/package.json +11 -11
- package/templates/README.md +8 -7
- package/dist/console/assets/index-DYhU4adm.css +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@font-face{font-family:JetBrains Mono;font-style:normal;font-display:swap;font-weight:400;src:url(./jetbrains-mono-cyrillic-ext-400-normal-C_uLvvQ5.woff2) format("woff2"),url(./jetbrains-mono-cyrillic-ext-400-normal-BHyURHCj.woff) format("woff");unicode-range:U+0460-052F,U+1C80-1C88,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:JetBrains Mono;font-style:normal;font-display:swap;font-weight:400;src:url(./jetbrains-mono-cyrillic-400-normal-BEIGL1Tu.woff2) format("woff2"),url(./jetbrains-mono-cyrillic-400-normal-CIEtRijs.woff) format("woff");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:JetBrains Mono;font-style:normal;font-display:swap;font-weight:400;src:url(./jetbrains-mono-greek-400-normal-C190GLew.woff2) format("woff2"),url(./jetbrains-mono-greek-400-normal-CNojz0t3.woff) format("woff");unicode-range:U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF}@font-face{font-family:JetBrains Mono;font-style:normal;font-display:swap;font-weight:400;src:url(./jetbrains-mono-vietnamese-400-normal-ByoDsISC.woff2) format("woff2"),url(./jetbrains-mono-vietnamese-400-normal-BeU3T8wf.woff) format("woff");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:JetBrains Mono;font-style:normal;font-display:swap;font-weight:400;src:url(./jetbrains-mono-latin-ext-400-normal-Bc8Ftmh3.woff2) format("woff2"),url(./jetbrains-mono-latin-ext-400-normal-DHMOLxAi.woff) format("woff");unicode-range:U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:JetBrains Mono;font-style:normal;font-display:swap;font-weight:400;src:url(./jetbrains-mono-latin-400-normal-V6pRDFza.woff2) format("woff2"),url(./jetbrains-mono-latin-400-normal-B11XCQ5g.woff) format("woff");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:JetBrains Mono;font-style:normal;font-display:swap;font-weight:600;src:url(./jetbrains-mono-cyrillic-ext-600-normal-Dj6eZy5f.woff2) format("woff2"),url(./jetbrains-mono-cyrillic-ext-600-normal-DpeVePZf.woff) format("woff");unicode-range:U+0460-052F,U+1C80-1C88,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:JetBrains Mono;font-style:normal;font-display:swap;font-weight:600;src:url(./jetbrains-mono-cyrillic-600-normal-EVf6-Yzo.woff2) format("woff2"),url(./jetbrains-mono-cyrillic-600-normal-BB5xRk30.woff) format("woff");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:JetBrains Mono;font-style:normal;font-display:swap;font-weight:600;src:url(./jetbrains-mono-greek-600-normal-H7WoG9Et.woff2) format("woff2"),url(./jetbrains-mono-greek-600-normal-3KAm9r92.woff) format("woff");unicode-range:U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF}@font-face{font-family:JetBrains Mono;font-style:normal;font-display:swap;font-weight:600;src:url(./jetbrains-mono-vietnamese-600-normal-Dtizs43-.woff2) format("woff2"),url(./jetbrains-mono-vietnamese-600-normal-CSpzN4cI.woff) format("woff");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:JetBrains Mono;font-style:normal;font-display:swap;font-weight:600;src:url(./jetbrains-mono-latin-ext-600-normal-BfB_LPfz.woff2) format("woff2"),url(./jetbrains-mono-latin-ext-600-normal-DiQlUoE6.woff) format("woff");unicode-range:U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:JetBrains Mono;font-style:normal;font-display:swap;font-weight:600;src:url(./jetbrains-mono-latin-600-normal-C8RAYTDA.woff2) format("woff2"),url(./jetbrains-mono-latin-600-normal-DXv3JcnD.woff) format("woff");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Schibsted Grotesk;font-style:normal;font-display:swap;font-weight:400;src:url(./schibsted-grotesk-latin-ext-400-normal-4l4lq8zr.woff2) format("woff2"),url(./schibsted-grotesk-latin-ext-400-normal-BGzXWJeR.woff) format("woff");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Schibsted Grotesk;font-style:normal;font-display:swap;font-weight:400;src:url(./schibsted-grotesk-latin-400-normal-Cph9ettZ.woff2) format("woff2"),url(./schibsted-grotesk-latin-400-normal-DfGZKnlb.woff) format("woff");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Schibsted Grotesk;font-style:normal;font-display:swap;font-weight:600;src:url(./schibsted-grotesk-latin-ext-600-normal-8_E36CQj.woff2) format("woff2"),url(./schibsted-grotesk-latin-ext-600-normal-C27an7Zc.woff) format("woff");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Schibsted Grotesk;font-style:normal;font-display:swap;font-weight:600;src:url(./schibsted-grotesk-latin-600-normal-BGBUNdzT.woff2) format("woff2"),url(./schibsted-grotesk-latin-600-normal-COje25QW.woff) format("woff");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}:root,.light{color-scheme:light;--background: 0 0% 100%;--foreground: 240 10% 3.9%;--card: 0 0% 100%;--card-foreground: 240 10% 3.9%;--muted: 240 4.8% 95.9%;--muted-foreground: 240 4% 43%;--accent: 240 4.8% 95.9%;--accent-foreground: 240 5.9% 10%;--overlay: 240 10% 3.9%;--primary: 30 100% 50%;--primary-foreground: 240 10% 3.9%;--primary-text: 30 100% 34%;--primary-action-text: 30 100% 31%;--success: 142 71% 45%;--success-text: 142.4 71.8% 29.2%;--warning: 38 92% 50%;--warning-text: 35.5 91.7% 32%;--destructive: 0 84.2% 60.2%;--destructive-text: 0 72% 46%;--info: 217 91% 60%;--info-text: 217 91% 48%;--border: 240 5.9% 90%;--border-strong: 216 12% 84%;--input: 240 4% 56%;--ring: var(--foreground);--run-active: var(--primary-text);--run-error-surface: 0 85.7% 97.3%;--wf-jev: 322 58% 51%;--wf-parallel: 174 72% 33%;--wf-openrouter: 239 70% 60%;--wf-tool: 207 70% 41%;--wf-exit: 251 55% 53%;--chart-agent: 213 67.7% 50.2%;--chart-handed-back: 159 73.3% 39.6%;--chart-workflow: 17 82.1% 56.3%;--trace-model: 251 55% 53%;--trace-tool: 174 72% 33%;--radius: 0px;--radius-composer: .875rem;--radius-action: .5rem;--border-width: 1px;--border-width-strong: 2px;--focus-ring-width: 2px;--focus-ring-offset: 2px;--control-sm: 2rem;--control-md: 2.5rem;--control-lg: 2.75rem;--sidebar-width: 220px;--page-width: 1100px;--page-width-wide: 1600px;--duration-fast: .15s;--duration-base: .25s;--duration-slow: .4s;--ease-standard: cubic-bezier(.4, 0, .2, 1);--shadow-float: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--layer-raised: 10;--layer-sticky: 20;--layer-overlay: 30;--layer-dialog: 40;--layer-popover: 50;--layer-toast: 60}.dark{color-scheme:dark;--background: 240 6% 9%;--foreground: 0 0% 95%;--card: 240 5% 12%;--card-foreground: 0 0% 95%;--muted: 240 5% 18%;--muted-foreground: 240 5% 66%;--accent: 240 5% 18%;--accent-foreground: 0 0% 98%;--overlay: 240 10% 3.9%;--primary: 30 100% 50%;--primary-foreground: 240 10% 3.9%;--primary-text: 30 100% 50%;--primary-action-text: var(--primary-text);--success: 142 71% 45%;--success-text: 142 71% 45%;--warning: 38 92% 55%;--warning-text: 38 92% 55%;--destructive: 0 84.2% 60.2%;--destructive-text: 0 90.6% 70.8%;--info: 217 91% 66%;--info-text: 217 91% 66%;--border: 240 5% 18%;--border-strong: 240 5% 45%;--input: 240 5% 45%;--ring: var(--foreground);--run-active: var(--primary-text);--run-error-surface: 0 33.3% 17.1%;--wf-jev: 318 73% 61%;--wf-parallel: 172 66% 50%;--wf-openrouter: 234 89% 74%;--wf-tool: 206 83% 65%;--wf-exit: 253 100% 81%;--chart-agent: 213 76.8% 56.1%;--chart-handed-back: 159 72.7% 35.9%;--chart-workflow: 17 70.2% 50%;--trace-model: 253 100% 81%;--trace-tool: 172 66% 50%;--shadow-float: 0 10px 15px -3px rgb(0 0 0 / .5), 0 4px 6px -4px rgb(0 0 0 / .5)}@media(prefers-color-scheme:dark){html:not(.light):not(.dark){--background: 240 6% 9%;color-scheme:dark}}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:Schibsted Grotesk,sans-serif;font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:JetBrains Mono,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]:where(:not([hidden=until-found])){display:none}*{--tw-border-opacity: 1;border-color:hsl(var(--border) / var(--tw-border-opacity, 1));border-radius:var(--radius)!important}html,body,#root{height:100%}body{--tw-bg-opacity: 1;background-color:hsl(var(--background) / var(--tw-bg-opacity, 1));font-family:Schibsted Grotesk,sans-serif;--tw-text-opacity: 1;color:hsl(var(--foreground) / var(--tw-text-opacity, 1));-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:focus-visible{outline:var(--focus-ring-width) solid hsl(var(--ring));outline-offset:var(--focus-ring-offset)}@media(prefers-reduced-motion:reduce){*,:before,:after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}code,pre,kbd,samp,.font-mono,.caps,svg.wf{font-variant-ligatures:none;font-feature-settings:"liga" 0,"calt" 0}.\!caps{font-variant-ligatures:none!important;font-feature-settings:"liga" 0,"calt" 0!important}.\!container{width:100%!important}.container{width:100%}@media(min-width:640px){.\!container{max-width:640px!important}.container{max-width:640px}}@media(min-width:768px){.\!container{max-width:768px!important}.container{max-width:768px}}@media(min-width:1024px){.\!container{max-width:1024px!important}.container{max-width:1024px}}@media(min-width:1280px){.\!container{max-width:1280px!important}.container{max-width:1280px}}@media(min-width:1536px){.\!container{max-width:1536px!important}.container{max-width:1536px}}.\!caps,.caps{font-variant-ligatures:none;font-feature-settings:"liga" 0,"calt" 0;font-family:JetBrains Mono,monospace;text-transform:uppercase;letter-spacing:.06em}.report h1{margin-bottom:2.5rem;border-bottom-width:3px;--tw-border-opacity: 1;border-color:hsl(var(--foreground) / var(--tw-border-opacity, 1));padding-bottom:1.25rem;font-size:32px;line-height:40px;font-weight:600;line-height:1.25}.report h2{margin-bottom:1rem;margin-top:2.5rem;border-bottom-width:1px;padding-bottom:.75rem;font-size:20px;line-height:28px;font-weight:600}.report h3{margin-bottom:.5rem;margin-top:1.5rem;font-size:16px;line-height:24px;font-weight:600}.report p,.report li{font-size:16px;line-height:24px;line-height:1.75}.report p{margin-bottom:1rem}.report ul{margin-bottom:1rem;list-style-type:disc;padding-left:1.5rem}.report ol{margin-bottom:1rem;list-style-type:decimal;padding-left:1.5rem}.report code{font-variant-ligatures:none;font-feature-settings:"liga" 0,"calt" 0;--tw-bg-opacity: 1;background-color:hsl(var(--muted) / var(--tw-bg-opacity, 1));padding-left:.25rem;padding-right:.25rem;font-family:JetBrains Mono,monospace;font-size:13px}.report pre{font-variant-ligatures:none;font-feature-settings:"liga" 0,"calt" 0;margin-bottom:1rem;overflow-x:auto;border-width:1px;--tw-bg-opacity: 1;background-color:hsl(var(--card) / var(--tw-bg-opacity, 1));padding:1rem;font-family:JetBrains Mono,monospace;font-size:12px;line-height:1.8}.report pre code{background-color:transparent;padding:0}.report table{margin-bottom:1rem;width:100%;border-collapse:collapse;font-size:14px;line-height:1.25rem}.report th,.report td{border-width:1px;padding:.5rem .75rem;text-align:left;vertical-align:top}.report th{font-variant-ligatures:none;font-feature-settings:"liga" 0,"calt" 0;font-family:JetBrains Mono,monospace;text-transform:uppercase;letter-spacing:.06em;font-size:11px;--tw-text-opacity: 1;color:hsl(var(--muted-foreground) / var(--tw-text-opacity, 1))}.report.report-sm p,.report.report-sm li{font-size:12px;line-height:1.6}.report.report-sm p,.report.report-sm ul,.report.report-sm ol{margin-bottom:.5rem}.report.report-sm code{font-size:12px}.report a,.report button[data-run-file]{--tw-text-opacity: 1;color:hsl(var(--primary-text) / var(--tw-text-opacity, 1));text-decoration-line:underline;text-underline-offset:2px}.report button[data-run-file]{cursor:pointer;text-align:left;font:inherit}.trace-mark{outline:1px solid transparent;outline-offset:-1px}.trace-mark[data-open]{outline-width:3px;outline-offset:-3px}.trace-hatch{background-image:repeating-linear-gradient(135deg,transparent 0 3px,hsl(var(--card) / .6) 3px 5px)}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.pointer-events-none{pointer-events:none}.pointer-events-auto{pointer-events:auto}.visible{visibility:visible}.invisible{visibility:hidden}.collapse{visibility:collapse}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.sticky{position:sticky}.inset-0{top:0;right:0;bottom:0;left:0}.-inset-y-1{top:-.25rem;bottom:-.25rem}.inset-x-0{left:0;right:0}.inset-x-4{left:1rem;right:1rem}.inset-y-0{top:0;bottom:0}.bottom-4{bottom:1rem}.left-0{left:0}.left-\[3px\]{left:3px}.left-\[calc\(100\%-16px\)\]{left:calc(100% - 16px)}.right-0{right:0}.top-0{top:0}.top-1{top:.25rem}.top-1\/2{top:50%}.top-full{top:100%}.z-0{z-index:0}.z-\[5\]{z-index:5}.z-dialog{z-index:var(--layer-dialog)}.z-popover{z-index:var(--layer-popover)}.z-raised{z-index:var(--layer-raised)}.z-sticky{z-index:var(--layer-sticky)}.z-toast{z-index:var(--layer-toast)}.order-last{order:9999}.col-span-2{grid-column:span 2 / span 2}.col-span-full{grid-column:1 / -1}.col-start-1{grid-column-start:1}.row-start-1{grid-row-start:1}.-m-1{margin:-.25rem}.-m-1\.5{margin:-.375rem}.m-0{margin:0}.m-2{margin:.5rem}.m-4{margin:1rem}.m-5{margin:1.25rem}.m-6{margin:1.5rem}.m-8{margin:2rem}.m-auto{margin:auto}.-mx-4{margin-left:-1rem;margin-right:-1rem}.-my-1{margin-top:-.25rem;margin-bottom:-.25rem}.-my-1\.5{margin-top:-.375rem;margin-bottom:-.375rem}.mx-3{margin-left:.75rem;margin-right:.75rem}.mx-5{margin-left:1.25rem;margin-right:1.25rem}.mx-auto{margin-left:auto;margin-right:auto}.my-1{margin-top:.25rem;margin-bottom:.25rem}.\!mt-3{margin-top:.75rem!important}.-mb-px{margin-bottom:-1px}.-ml-3{margin-left:-.75rem}.-ml-px{margin-left:-1px}.-mt-1{margin-top:-.25rem}.mb-1{margin-bottom:.25rem}.mb-1\.5{margin-bottom:.375rem}.mb-2{margin-bottom:.5rem}.mb-3{margin-bottom:.75rem}.mb-4{margin-bottom:1rem}.mb-5{margin-bottom:1.25rem}.mb-6{margin-bottom:1.5rem}.ml-1{margin-left:.25rem}.ml-1\.5{margin-left:.375rem}.ml-10{margin-left:2.5rem}.ml-2{margin-left:.5rem}.ml-6{margin-left:1.5rem}.ml-auto{margin-left:auto}.mr-1{margin-right:.25rem}.mr-2{margin-right:.5rem}.mr-auto{margin-right:auto}.mt-0{margin-top:0}.mt-0\.5{margin-top:.125rem}.mt-1{margin-top:.25rem}.mt-1\.5{margin-top:.375rem}.mt-10{margin-top:2.5rem}.mt-2{margin-top:.5rem}.mt-2\.5{margin-top:.625rem}.mt-3{margin-top:.75rem}.mt-4{margin-top:1rem}.mt-5{margin-top:1.25rem}.mt-6{margin-top:1.5rem}.mt-8{margin-top:2rem}.mt-\[12vh\]{margin-top:12vh}.mt-auto{margin-top:auto}.box-content{box-sizing:content-box}.line-clamp-2{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}.line-clamp-3{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3}.block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.table{display:table}.grid{display:grid}.contents{display:contents}.hidden{display:none}.aspect-\[16\/10\]{aspect-ratio:16/10}.aspect-\[9\/19\]{aspect-ratio:9/19}.size-1\.5{width:.375rem;height:.375rem}.size-2{width:.5rem;height:.5rem}.size-2\.5{width:.625rem;height:.625rem}.size-3{width:.75rem;height:.75rem}.size-3\.5{width:.875rem;height:.875rem}.size-4{width:1rem;height:1rem}.size-5{width:1.25rem;height:1.25rem}.size-6{width:1.5rem;height:1.5rem}.size-7{width:1.75rem;height:1.75rem}.size-\[18px\]{width:18px;height:18px}.size-control-sm{width:var(--control-sm);height:var(--control-sm)}.size-full{width:100%;height:100%}.h-0{height:0px}.h-1\.5{height:.375rem}.h-10{height:2.5rem}.h-11{height:2.75rem}.h-12{height:3rem}.h-16{height:4rem}.h-2{height:.5rem}.h-2\.5{height:.625rem}.h-24{height:6rem}.h-3{height:.75rem}.h-32{height:8rem}.h-36{height:9rem}.h-4{height:1rem}.h-48{height:12rem}.h-5{height:1.25rem}.h-6{height:1.5rem}.h-7{height:1.75rem}.h-8{height:2rem}.h-9{height:2.25rem}.h-\[124px\]{height:124px}.h-\[155px\]{height:155px}.h-\[320px\]{height:320px}.h-\[560px\]{height:560px}.h-\[70vh\]{height:70vh}.h-auto{height:auto}.h-control-lg{height:var(--control-lg)}.h-control-md{height:var(--control-md)}.h-control-sm{height:var(--control-sm)}.h-dvh{height:100dvh}.h-full{height:100%}.max-h-28{max-height:7rem}.max-h-48{max-height:12rem}.max-h-56{max-height:14rem}.max-h-64{max-height:16rem}.max-h-72{max-height:18rem}.max-h-80{max-height:20rem}.max-h-96{max-height:24rem}.max-h-\[32rem\]{max-height:32rem}.max-h-\[520px\]{max-height:520px}.max-h-\[60dvh\]{max-height:60dvh}.max-h-full{max-height:100%}.max-h-none{max-height:none}.min-h-0{min-height:0px}.min-h-10{min-height:2.5rem}.min-h-11{min-height:2.75rem}.min-h-12{min-height:3rem}.min-h-16{min-height:4rem}.min-h-28{min-height:7rem}.min-h-36{min-height:9rem}.min-h-48{min-height:12rem}.min-h-5{min-height:1.25rem}.min-h-6{min-height:1.5rem}.min-h-64{min-height:16rem}.min-h-\[1\.7em\]{min-height:1.7em}.min-h-\[220px\]{min-height:220px}.min-h-\[280px\]{min-height:280px}.min-h-\[320px\]{min-height:320px}.min-h-\[360px\]{min-height:360px}.min-h-\[380px\]{min-height:380px}.min-h-\[44px\]{min-height:44px}.min-h-control-lg{min-height:var(--control-lg)}.min-h-control-md{min-height:var(--control-md)}.min-h-control-sm{min-height:var(--control-sm)}.min-h-dvh{min-height:100dvh}.min-h-full{min-height:100%}.min-h-screen{min-height:100vh}.w-1{width:.25rem}.w-1\/2{width:50%}.w-1\/3{width:33.333333%}.w-10{width:2.5rem}.w-12{width:3rem}.w-14{width:3.5rem}.w-16{width:4rem}.w-2\/3{width:66.666667%}.w-20{width:5rem}.w-24{width:6rem}.w-28{width:7rem}.w-3\/4{width:75%}.w-32{width:8rem}.w-4{width:1rem}.w-40{width:10rem}.w-48{width:12rem}.w-52{width:13rem}.w-56{width:14rem}.w-64{width:16rem}.w-7{width:1.75rem}.w-8{width:2rem}.w-80{width:20rem}.w-9{width:2.25rem}.w-96{width:24rem}.w-\[120px\]{width:120px}.w-\[130px\]{width:130px}.w-\[132px\]{width:132px}.w-\[170px\]{width:170px}.w-\[30\%\]{width:30%}.w-\[5\.5rem\]{width:5.5rem}.w-\[92px\]{width:92px}.w-\[96px\]{width:96px}.w-\[var\(--button-width\)\]{width:var(--button-width)}.w-auto{width:auto}.w-fit{width:-moz-fit-content;width:fit-content}.w-full{width:100%}.w-max{width:-moz-max-content;width:max-content}.w-px{width:1px}.w-sidebar{width:var(--sidebar-width)}.min-w-0{min-width:0px}.min-w-0\.5{min-width:.125rem}.min-w-1{min-width:.25rem}.min-w-40{min-width:10rem}.min-w-48{min-width:12rem}.min-w-56{min-width:14rem}.min-w-\[12rem\]{min-width:12rem}.min-w-\[18px\]{min-width:18px}.min-w-\[240px\]{min-width:240px}.min-w-\[260px\]{min-width:260px}.min-w-\[280px\]{min-width:280px}.min-w-\[9rem\]{min-width:9rem}.min-w-\[max\(12rem\,var\(--button-width\)\)\]{min-width:max(12rem,var(--button-width))}.min-w-full{min-width:100%}.max-w-0{max-width:0px}.max-w-24{max-width:6rem}.max-w-2xl{max-width:42rem}.max-w-3xl{max-width:48rem}.max-w-40{max-width:10rem}.max-w-4xl{max-width:56rem}.max-w-5xl{max-width:64rem}.max-w-6{max-width:1.5rem}.max-w-64{max-width:16rem}.max-w-7xl{max-width:80rem}.max-w-\[1100px\]{max-width:1100px}.max-w-\[140px\]{max-width:140px}.max-w-\[150px\]{max-width:150px}.max-w-\[16rem\]{max-width:16rem}.max-w-\[220px\]{max-width:220px}.max-w-\[22rem\]{max-width:22rem}.max-w-\[260px\]{max-width:260px}.max-w-\[300px\]{max-width:300px}.max-w-\[440px\]{max-width:440px}.max-w-\[60vw\]{max-width:60vw}.max-w-\[640px\]{max-width:640px}.max-w-\[75\%\]{max-width:75%}.max-w-\[calc\(100vw-1rem\)\]{max-width:calc(100vw - 1rem)}.max-w-\[min\(20rem\,80vw\)\]{max-width:min(20rem,80vw)}.max-w-full{max-width:100%}.max-w-lg{max-width:32rem}.max-w-md{max-width:28rem}.max-w-none{max-width:none}.max-w-page{max-width:var(--page-width)}.max-w-page-wide{max-width:var(--page-width-wide)}.max-w-prose{max-width:65ch}.max-w-sm{max-width:24rem}.max-w-xl{max-width:36rem}.flex-1{flex:1 1 0%}.flex-\[1_1_18rem\]{flex:1 1 18rem}.flex-auto{flex:1 1 auto}.shrink{flex-shrink:1}.shrink-0{flex-shrink:0}.grow{flex-grow:1}.basis-24{flex-basis:6rem}.basis-56{flex-basis:14rem}.basis-full{flex-basis:100%}.border-collapse{border-collapse:collapse}.-translate-x-full{--tw-translate-x: -100%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-y-1\/2{--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-rotate-90{--tw-rotate: -90deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-180{--tw-rotate: 180deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-90{--tw-rotate: 90deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes ping{75%,to{transform:scale(2);opacity:0}}.animate-ping{animation:ping 1s cubic-bezier(0,0,.2,1) infinite}@keyframes spin{to{transform:rotate(360deg)}}.animate-spin{animation:spin 1s linear infinite}.cursor-crosshair{cursor:crosshair}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.touch-pan-y{--tw-pan-y: pan-y;touch-action:var(--tw-pan-x) var(--tw-pan-y) var(--tw-pinch-zoom)}.select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}.resize-none{resize:none}.resize-y{resize:vertical}.resize{resize:both}.list-decimal{list-style-type:decimal}.list-disc{list-style-type:disc}.list-none{list-style-type:none}.appearance-none{-webkit-appearance:none;-moz-appearance:none;appearance:none}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.grid-cols-5{grid-template-columns:repeat(5,minmax(0,1fr))}.grid-cols-\[1fr_7rem\]{grid-template-columns:1fr 7rem}.grid-cols-\[auto_1fr\]{grid-template-columns:auto 1fr}.grid-cols-\[minmax\(0\,1fr\)_100px_92px\]{grid-template-columns:minmax(0,1fr) 100px 92px}.grid-cols-\[repeat\(auto-fill\,minmax\(min\(100\%\,18rem\)\,1fr\)\)\]{grid-template-columns:repeat(auto-fill,minmax(min(100%,18rem),1fr))}.grid-cols-\[repeat\(auto-fill\,minmax\(min\(100\%\,9rem\)\,1fr\)\)\]{grid-template-columns:repeat(auto-fill,minmax(min(100%,9rem),1fr))}.grid-cols-\[repeat\(auto-fit\,minmax\(min\(100\%\,14rem\)\,1fr\)\)\]{grid-template-columns:repeat(auto-fit,minmax(min(100%,14rem),1fr))}.grid-rows-\[minmax\(0\,1fr\)_auto\]{grid-template-rows:minmax(0,1fr) auto}.flex-col{flex-direction:column}.flex-col-reverse{flex-direction:column-reverse}.flex-wrap{flex-wrap:wrap}.place-items-center{place-items:center}.items-start{align-items:flex-start}.items-end{align-items:flex-end}.items-center{align-items:center}.items-baseline{align-items:baseline}.items-stretch{align-items:stretch}.justify-start{justify-content:flex-start}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-0{gap:0px}.gap-0\.5{gap:.125rem}.gap-1{gap:.25rem}.gap-1\.5{gap:.375rem}.gap-2{gap:.5rem}.gap-2\.5{gap:.625rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.gap-5{gap:1.25rem}.gap-6{gap:1.5rem}.gap-px{gap:1px}.gap-x-10{-moz-column-gap:2.5rem;column-gap:2.5rem}.gap-x-2{-moz-column-gap:.5rem;column-gap:.5rem}.gap-x-3{-moz-column-gap:.75rem;column-gap:.75rem}.gap-x-4{-moz-column-gap:1rem;column-gap:1rem}.gap-x-5{-moz-column-gap:1.25rem;column-gap:1.25rem}.gap-x-6{-moz-column-gap:1.5rem;column-gap:1.5rem}.gap-x-8{-moz-column-gap:2rem;column-gap:2rem}.gap-y-1{row-gap:.25rem}.gap-y-1\.5{row-gap:.375rem}.gap-y-2{row-gap:.5rem}.gap-y-3{row-gap:.75rem}.gap-y-4{row-gap:1rem}.gap-y-6{row-gap:1.5rem}.space-y-0\.5>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.125rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.125rem * var(--tw-space-y-reverse))}.space-y-1>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.25rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.25rem * var(--tw-space-y-reverse))}.space-y-1\.5>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.375rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.375rem * var(--tw-space-y-reverse))}.space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.5rem * var(--tw-space-y-reverse))}.space-y-3>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.75rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.75rem * var(--tw-space-y-reverse))}.space-y-4>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1rem * var(--tw-space-y-reverse))}.space-y-5>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1.25rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1.25rem * var(--tw-space-y-reverse))}.space-y-6>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1.5rem * var(--tw-space-y-reverse))}.space-y-7>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1.75rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1.75rem * var(--tw-space-y-reverse))}.space-y-8>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(2rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(2rem * var(--tw-space-y-reverse))}.divide-y>:not([hidden])~:not([hidden]){--tw-divide-y-reverse: 0;border-top-width:calc(1px * calc(1 - var(--tw-divide-y-reverse)));border-bottom-width:calc(1px * var(--tw-divide-y-reverse))}.self-start{align-self:flex-start}.self-center{align-self:center}.self-stretch{align-self:stretch}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-visible{overflow:visible}.overflow-x-auto{overflow-x:auto}.overflow-y-auto{overflow-y:auto}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.whitespace-normal{white-space:normal}.whitespace-nowrap{white-space:nowrap}.whitespace-pre-wrap{white-space:pre-wrap}.break-words{overflow-wrap:break-word}.break-all{word-break:break-all}.\!rounded-action{border-radius:var(--radius-action)!important}.\!rounded-composer{border-radius:var(--radius-composer)!important}.\!rounded-none{border-radius:0!important}.rounded{border-radius:var(--radius)}.border{border-width:1px}.border-0{border-width:0px}.border-x{border-left-width:1px;border-right-width:1px}.border-x-2{border-left-width:2px;border-right-width:2px}.border-y{border-top-width:1px;border-bottom-width:1px}.border-b{border-bottom-width:1px}.border-b-2{border-bottom-width:2px}.border-l{border-left-width:1px}.border-l-2{border-left-width:2px}.border-r{border-right-width:1px}.border-t{border-top-width:1px}.border-t-2{border-top-width:2px}.border-dashed{border-style:dashed}.border-border{--tw-border-opacity: 1;border-color:hsl(var(--border) / var(--tw-border-opacity, 1))}.border-border-strong{--tw-border-opacity: 1;border-color:hsl(var(--border-strong) / var(--tw-border-opacity, 1))}.border-border-strong\/60{border-color:hsl(var(--border-strong) / .6)}.border-destructive{--tw-border-opacity: 1;border-color:hsl(var(--destructive) / var(--tw-border-opacity, 1))}.border-destructive\/40{border-color:hsl(var(--destructive) / .4)}.border-destructive\/50{border-color:hsl(var(--destructive) / .5)}.border-destructive\/60{border-color:hsl(var(--destructive) / .6)}.border-foreground{--tw-border-opacity: 1;border-color:hsl(var(--foreground) / var(--tw-border-opacity, 1))}.border-info\/50{border-color:hsl(var(--info) / .5)}.border-input{--tw-border-opacity: 1;border-color:hsl(var(--input) / var(--tw-border-opacity, 1))}.border-primary{--tw-border-opacity: 1;border-color:hsl(var(--primary) / var(--tw-border-opacity, 1))}.border-primary\/50{border-color:hsl(var(--primary) / .5)}.border-run-active\/50{border-color:hsl(var(--run-active) / .5)}.border-success{--tw-border-opacity: 1;border-color:hsl(var(--success) / var(--tw-border-opacity, 1))}.border-success\/50{border-color:hsl(var(--success) / .5)}.border-trace-model{--tw-border-opacity: 1;border-color:hsl(var(--trace-model) / var(--tw-border-opacity, 1))}.border-trace-tool{--tw-border-opacity: 1;border-color:hsl(var(--trace-tool) / var(--tw-border-opacity, 1))}.border-transparent{border-color:transparent}.border-warning{--tw-border-opacity: 1;border-color:hsl(var(--warning) / var(--tw-border-opacity, 1))}.border-warning\/40{border-color:hsl(var(--warning) / .4)}.border-warning\/50{border-color:hsl(var(--warning) / .5)}.border-warning\/60{border-color:hsl(var(--warning) / .6)}.border-wf-parallel\/\[\.6\]{border-color:hsl(var(--wf-parallel) / .6)}.border-wf-tool\/\[\.6\]{border-color:hsl(var(--wf-tool) / .6)}.border-l-foreground{--tw-border-opacity: 1;border-left-color:hsl(var(--foreground) / var(--tw-border-opacity, 1))}.border-l-transparent{border-left-color:transparent}.border-t-border{--tw-border-opacity: 1;border-top-color:hsl(var(--border) / var(--tw-border-opacity, 1))}.border-t-border-strong{--tw-border-opacity: 1;border-top-color:hsl(var(--border-strong) / var(--tw-border-opacity, 1))}.border-t-run-active{--tw-border-opacity: 1;border-top-color:hsl(var(--run-active) / var(--tw-border-opacity, 1))}.border-t-success{--tw-border-opacity: 1;border-top-color:hsl(var(--success) / var(--tw-border-opacity, 1))}.border-t-warning{--tw-border-opacity: 1;border-top-color:hsl(var(--warning) / var(--tw-border-opacity, 1))}.bg-\[var\(--card\)\]{background-color:var(--card)}.bg-accent{--tw-bg-opacity: 1;background-color:hsl(var(--accent) / var(--tw-bg-opacity, 1))}.bg-background{--tw-bg-opacity: 1;background-color:hsl(var(--background) / var(--tw-bg-opacity, 1))}.bg-background\/70{background-color:hsl(var(--background) / .7)}.bg-border{--tw-bg-opacity: 1;background-color:hsl(var(--border) / var(--tw-bg-opacity, 1))}.bg-border-strong{--tw-bg-opacity: 1;background-color:hsl(var(--border-strong) / var(--tw-bg-opacity, 1))}.bg-card{--tw-bg-opacity: 1;background-color:hsl(var(--card) / var(--tw-bg-opacity, 1))}.bg-card\/40{background-color:hsl(var(--card) / .4)}.bg-destructive{--tw-bg-opacity: 1;background-color:hsl(var(--destructive) / var(--tw-bg-opacity, 1))}.bg-destructive\/10{background-color:hsl(var(--destructive) / .1)}.bg-destructive\/15{background-color:hsl(var(--destructive) / .15)}.bg-destructive\/5{background-color:hsl(var(--destructive) / .05)}.bg-destructive\/60{background-color:hsl(var(--destructive) / .6)}.bg-foreground{--tw-bg-opacity: 1;background-color:hsl(var(--foreground) / var(--tw-bg-opacity, 1))}.bg-foreground\/10{background-color:hsl(var(--foreground) / .1)}.bg-foreground\/5{background-color:hsl(var(--foreground) / .05)}.bg-info\/10{background-color:hsl(var(--info) / .1)}.bg-info\/5{background-color:hsl(var(--info) / .05)}.bg-muted{--tw-bg-opacity: 1;background-color:hsl(var(--muted) / var(--tw-bg-opacity, 1))}.bg-muted-foreground{--tw-bg-opacity: 1;background-color:hsl(var(--muted-foreground) / var(--tw-bg-opacity, 1))}.bg-muted-foreground\/45{background-color:hsl(var(--muted-foreground) / .45)}.bg-muted-foreground\/50{background-color:hsl(var(--muted-foreground) / .5)}.bg-muted\/40{background-color:hsl(var(--muted) / .4)}.bg-muted\/70{background-color:hsl(var(--muted) / .7)}.bg-overlay\/70{background-color:hsl(var(--overlay) / .7)}.bg-primary{--tw-bg-opacity: 1;background-color:hsl(var(--primary) / var(--tw-bg-opacity, 1))}.bg-primary\/10{background-color:hsl(var(--primary) / .1)}.bg-primary\/20{background-color:hsl(var(--primary) / .2)}.bg-primary\/5{background-color:hsl(var(--primary) / .05)}.bg-primary\/\[0\.06\]{background-color:hsl(var(--primary) / .06)}.bg-run-active{--tw-bg-opacity: 1;background-color:hsl(var(--run-active) / var(--tw-bg-opacity, 1))}.bg-success{--tw-bg-opacity: 1;background-color:hsl(var(--success) / var(--tw-bg-opacity, 1))}.bg-success\/10{background-color:hsl(var(--success) / .1)}.bg-success\/40{background-color:hsl(var(--success) / .4)}.bg-success\/5{background-color:hsl(var(--success) / .05)}.bg-trace-model{--tw-bg-opacity: 1;background-color:hsl(var(--trace-model) / var(--tw-bg-opacity, 1))}.bg-trace-model\/30{background-color:hsl(var(--trace-model) / .3)}.bg-trace-tool{--tw-bg-opacity: 1;background-color:hsl(var(--trace-tool) / var(--tw-bg-opacity, 1))}.bg-trace-tool\/30{background-color:hsl(var(--trace-tool) / .3)}.bg-transparent{background-color:transparent}.bg-warning{--tw-bg-opacity: 1;background-color:hsl(var(--warning) / var(--tw-bg-opacity, 1))}.bg-warning\/10{background-color:hsl(var(--warning) / .1)}.bg-warning\/15{background-color:hsl(var(--warning) / .15)}.bg-warning\/20{background-color:hsl(var(--warning) / .2)}.bg-warning\/5{background-color:hsl(var(--warning) / .05)}.bg-warning\/60{background-color:hsl(var(--warning) / .6)}.bg-wf-tool\/\[\.12\]{background-color:hsl(var(--wf-tool) / .12)}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1))}.bg-\[radial-gradient\(hsl\(var\(--border\)\)_1px\,transparent_1px\)\]{background-image:radial-gradient(hsl(var(--border)) 1px,transparent 1px)}.fill-card{fill:hsl(var(--card) / 1)}.fill-chart-agent{fill:hsl(var(--chart-agent) / 1)}.fill-chart-handed-back{fill:hsl(var(--chart-handed-back) / 1)}.fill-chart-workflow{fill:hsl(var(--chart-workflow) / 1)}.fill-foreground{fill:hsl(var(--foreground) / 1)}.fill-muted-foreground{fill:hsl(var(--muted-foreground) / 1)}.fill-none{fill:none}.fill-warning-text{fill:hsl(var(--warning-text) / 1)}.stroke-border{stroke:hsl(var(--border) / 1)}.stroke-border-strong{stroke:hsl(var(--border-strong) / 1)}.stroke-card{stroke:hsl(var(--card) / 1)}.stroke-chart-agent{stroke:hsl(var(--chart-agent) / 1)}.stroke-chart-handed-back{stroke:hsl(var(--chart-handed-back) / 1)}.stroke-chart-workflow{stroke:hsl(var(--chart-workflow) / 1)}.stroke-foreground{stroke:hsl(var(--foreground) / 1)}.stroke-muted-foreground{stroke:hsl(var(--muted-foreground) / 1)}.stroke-warning{stroke:hsl(var(--warning) / 1)}.object-contain{-o-object-fit:contain;object-fit:contain}.object-cover{-o-object-fit:cover;object-fit:cover}.object-top{-o-object-position:top;object-position:top}.p-0{padding:0}.p-1{padding:.25rem}.p-1\.5{padding:.375rem}.p-10{padding:2.5rem}.p-2{padding:.5rem}.p-2\.5{padding:.625rem}.p-3{padding:.75rem}.p-4{padding:1rem}.p-5{padding:1.25rem}.p-6{padding:1.5rem}.p-8{padding:2rem}.px-0{padding-left:0;padding-right:0}.px-1{padding-left:.25rem;padding-right:.25rem}.px-1\.5{padding-left:.375rem;padding-right:.375rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-2\.5{padding-left:.625rem;padding-right:.625rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.px-5{padding-left:1.25rem;padding-right:1.25rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.py-0{padding-top:0;padding-bottom:0}.py-0\.5{padding-top:.125rem;padding-bottom:.125rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-1\.5{padding-top:.375rem;padding-bottom:.375rem}.py-10{padding-top:2.5rem;padding-bottom:2.5rem}.py-12{padding-top:3rem;padding-bottom:3rem}.py-16{padding-top:4rem;padding-bottom:4rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-2\.5{padding-top:.625rem;padding-bottom:.625rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.py-4{padding-top:1rem;padding-bottom:1rem}.py-5{padding-top:1.25rem;padding-bottom:1.25rem}.py-6{padding-top:1.5rem;padding-bottom:1.5rem}.py-7{padding-top:1.75rem;padding-bottom:1.75rem}.py-8{padding-top:2rem;padding-bottom:2rem}.pb-1{padding-bottom:.25rem}.pb-1\.5{padding-bottom:.375rem}.pb-16{padding-bottom:4rem}.pb-2{padding-bottom:.5rem}.pb-2\.5{padding-bottom:.625rem}.pb-20{padding-bottom:5rem}.pb-3{padding-bottom:.75rem}.pb-4{padding-bottom:1rem}.pb-6{padding-bottom:1.5rem}.pl-1{padding-left:.25rem}.pl-2\.5{padding-left:.625rem}.pl-3{padding-left:.75rem}.pl-4{padding-left:1rem}.pl-5{padding-left:1.25rem}.pl-8{padding-left:2rem}.pr-1{padding-right:.25rem}.pr-1\.5{padding-right:.375rem}.pr-2{padding-right:.5rem}.pr-3{padding-right:.75rem}.pr-4{padding-right:1rem}.pt-0\.5{padding-top:.125rem}.pt-1{padding-top:.25rem}.pt-1\.5{padding-top:.375rem}.pt-10{padding-top:2.5rem}.pt-2{padding-top:.5rem}.pt-3{padding-top:.75rem}.pt-4{padding-top:1rem}.pt-5{padding-top:1.25rem}.pt-8{padding-top:2rem}.pt-\[12vh\]{padding-top:12vh}.text-left{text-align:left}.text-center{text-align:center}.text-right{text-align:right}.align-top{vertical-align:top}.font-mono{font-family:JetBrains Mono,monospace}.font-sans{font-family:Schibsted Grotesk,sans-serif}.text-2xl{font-size:24px;line-height:32px}.text-\[13px\]{font-size:13px}.text-base{font-size:16px;line-height:24px}.text-body{font-size:13px}.text-display{font-size:32px;line-height:40px}.text-figure{font-size:22px}.text-label{font-size:11px}.text-lead{font-size:14px}.text-lg{font-size:18px;line-height:28px}.text-micro{font-size:10px}.text-prose{font-size:15px}.text-small{font-size:12px}.text-xl{font-size:20px;line-height:28px}.font-normal{font-weight:400}.font-semibold{font-weight:600}.uppercase{text-transform:uppercase}.capitalize{text-transform:capitalize}.normal-case{text-transform:none}.italic{font-style:italic}.tabular-nums{--tw-numeric-spacing: tabular-nums;font-variant-numeric:var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction)}.leading-5{line-height:1.25rem}.leading-6{line-height:1.5rem}.leading-7{line-height:1.75rem}.leading-\[1\.65\]{line-height:1.65}.leading-\[1\.6\]{line-height:1.6}.leading-\[1\.7\]{line-height:1.7}.leading-\[1\.8\]{line-height:1.8}.leading-none{line-height:1}.leading-relaxed{line-height:1.625}.leading-snug{line-height:1.375}.leading-tight{line-height:1.25}.tracking-normal{letter-spacing:0em}.tracking-tight{letter-spacing:-.025em}.text-\[color\:var\(--primary-text\)\]{color:var(--primary-text)}.text-\[hsl\(var\(--primary\)\)\]{color:hsl(var(--primary))}.text-background{--tw-text-opacity: 1;color:hsl(var(--background) / var(--tw-text-opacity, 1))}.text-card-foreground{--tw-text-opacity: 1;color:hsl(var(--card-foreground) / var(--tw-text-opacity, 1))}.text-chart-workflow{--tw-text-opacity: 1;color:hsl(var(--chart-workflow) / var(--tw-text-opacity, 1))}.text-current{color:currentColor}.text-destructive-text{--tw-text-opacity: 1;color:hsl(var(--destructive-text) / var(--tw-text-opacity, 1))}.text-foreground{--tw-text-opacity: 1;color:hsl(var(--foreground) / var(--tw-text-opacity, 1))}.text-foreground\/80{color:hsl(var(--foreground) / .8)}.text-info-text{--tw-text-opacity: 1;color:hsl(var(--info-text) / var(--tw-text-opacity, 1))}.text-inherit{color:inherit}.text-muted-foreground{--tw-text-opacity: 1;color:hsl(var(--muted-foreground) / var(--tw-text-opacity, 1))}.text-primary{--tw-text-opacity: 1;color:hsl(var(--primary) / var(--tw-text-opacity, 1))}.text-primary-action-text{--tw-text-opacity: 1;color:hsl(var(--primary-action-text) / var(--tw-text-opacity, 1))}.text-primary-text{--tw-text-opacity: 1;color:hsl(var(--primary-text) / var(--tw-text-opacity, 1))}.text-run-active{--tw-text-opacity: 1;color:hsl(var(--run-active) / var(--tw-text-opacity, 1))}.text-success-text{--tw-text-opacity: 1;color:hsl(var(--success-text) / var(--tw-text-opacity, 1))}.text-warning-text{--tw-text-opacity: 1;color:hsl(var(--warning-text) / var(--tw-text-opacity, 1))}.text-wf-tool{--tw-text-opacity: 1;color:hsl(var(--wf-tool) / var(--tw-text-opacity, 1))}.underline{text-decoration-line:underline}.line-through{text-decoration-line:line-through}.decoration-muted-foreground\/40{text-decoration-color:hsl(var(--muted-foreground) / .4)}.underline-offset-2{text-underline-offset:2px}.underline-offset-4{text-underline-offset:4px}.accent-foreground{accent-color:hsl(var(--foreground) / 1)}.accent-primary{accent-color:hsl(var(--primary) / 1)}.opacity-25{opacity:.25}.opacity-45{opacity:.45}.opacity-60{opacity:.6}.opacity-70{opacity:.7}.opacity-75{opacity:.75}.shadow-float{--tw-shadow: var(--shadow-float);--tw-shadow-colored: var(--shadow-float);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-none{--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.outline-none{outline:2px solid transparent;outline-offset:2px}.outline{outline-style:solid}.outline-focus{outline-width:var(--focus-ring-width)}.-outline-offset-2{outline-offset:-2px}.outline-offset-focus{outline-offset:var(--focus-ring-offset)}.outline-ring{outline-color:hsl(var(--ring) / 1)}.ring{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.ring-2{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.ring-4{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.ring-foreground{--tw-ring-opacity: 1;--tw-ring-color: hsl(var(--foreground) / var(--tw-ring-opacity, 1))}.ring-run-active\/\[0\.18\]{--tw-ring-color: hsl(var(--run-active) / .18)}.ring-offset-1{--tw-ring-offset-width: 1px}.ring-offset-card{--tw-ring-offset-color: hsl(var(--card) / 1)}.sepia{--tw-sepia: sepia(100%);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.\!filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)!important}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition-\[left\,background-color\]{transition-property:left,background-color;transition-timing-function:var(--ease-standard);transition-duration:var(--duration-fast)}.transition-\[width\]{transition-property:width;transition-timing-function:var(--ease-standard);transition-duration:var(--duration-fast)}.transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:var(--ease-standard);transition-duration:var(--duration-fast)}.transition-opacity{transition-property:opacity;transition-timing-function:var(--ease-standard);transition-duration:var(--duration-fast)}.transition-transform{transition-property:transform;transition-timing-function:var(--ease-standard);transition-duration:var(--duration-fast)}.duration-fast{transition-duration:var(--duration-fast)}.duration-slow{transition-duration:var(--duration-slow)}.ease-standard{transition-timing-function:var(--ease-standard)}.\@container{container-type:inline-size}.\[--anchor-gap\:2px\]{--anchor-gap: 2px}.\[--anchor-padding\:8px\]{--anchor-padding: 8px}.\[animation-duration\:2s\]{animation-duration:2s}.\[background-size\:22px_22px\]{background-size:22px 22px}.\[contain\:layout\]{contain:layout}.\[container-type\:inline-size\]{container-type:inline-size}.\[overflow-wrap\:anywhere\]{overflow-wrap:anywhere}.\[paint-order\:stroke\]{paint-order:stroke}@media(pointer:coarse){input:not([type=checkbox],[type=radio],[type=range],[type=file]),textarea,select{font-size:16px!important}}svg.wf{display:block;max-width:100%;height:auto;margin:0 auto;font-family:JetBrains Mono,monospace}.wf .wire{fill:none;stroke:hsl(var(--border-strong) / .55);stroke-width:1.5}.wf .exit-wire{stroke:hsl(var(--wf-exit))}.wf .branch.taken,.wf .wire.taken{stroke:hsl(var(--foreground));stroke-width:2.5}.wf .frame{fill:none;stroke:hsl(var(--border-strong) / .7);stroke-dasharray:4 3}.wf .box{fill:hsl(var(--card));stroke:hsl(var(--border-strong) / .6);stroke-width:1.2;transition:fill var(--duration-slow),stroke var(--duration-slow)}.wf .swatch{fill:hsl(var(--muted-foreground))}.wf .who-agent .swatch{fill:hsl(var(--primary))}.wf .who-jev .swatch{fill:hsl(var(--wf-jev))}.wf .who-parallel .swatch{fill:hsl(var(--wf-parallel))}.wf .who-openrouter .swatch{fill:hsl(var(--wf-openrouter))}.wf .who-tool .swatch{fill:hsl(var(--wf-tool))}.wf .who-control .swatch{fill:hsl(var(--foreground))}.wf .label{font:600 12.5px JetBrains Mono,monospace;fill:hsl(var(--foreground))}.wf .kind,.wf .model{font:10.5px JetBrains Mono,monospace;fill:hsl(var(--muted-foreground))}.wf .branch-name{font:600 10.5px JetBrains Mono,monospace;fill:hsl(var(--muted-foreground))}.wf .branch-name.taken{fill:hsl(var(--foreground))}.wf .exit-box{fill:hsl(var(--wf-exit) / .12);stroke:hsl(var(--wf-exit));stroke-width:1}.wf .exit-text{font:10.5px JetBrains Mono,monospace;fill:hsl(var(--foreground))}.wf .tag-box{fill:hsl(var(--foreground))}.wf .tag{font:600 9px JetBrains Mono,monospace;letter-spacing:.06em;fill:hsl(var(--background))}.wf .badge-box{fill:none;stroke:hsl(var(--border-strong))}.wf .badge{font:600 8.5px JetBrains Mono,monospace;letter-spacing:.06em;fill:hsl(var(--muted-foreground))}.wf .chip-box{fill:hsl(var(--wf-jev) / .14);stroke:hsl(var(--wf-jev) / .6)}.wf .chip{font:600 9px JetBrains Mono,monospace;letter-spacing:.06em;fill:hsl(var(--wf-jev));text-transform:uppercase}.wf .who-parallel .chip-box{fill:hsl(var(--wf-parallel) / .14);stroke:hsl(var(--wf-parallel) / .6)}.wf .who-parallel .chip{fill:hsl(var(--wf-parallel))}.wf .who-openrouter .chip-box{fill:hsl(var(--wf-openrouter) / .14);stroke:hsl(var(--wf-openrouter) / .6)}.wf .who-openrouter .chip{fill:hsl(var(--wf-openrouter))}.wf .state{font:600 9px JetBrains Mono,monospace;letter-spacing:.06em;fill:hsl(var(--muted-foreground));text-transform:uppercase}.wf .verdict{font:600 10.5px JetBrains Mono,monospace;fill:hsl(var(--foreground))}.wf .removed{font:11px JetBrains Mono,monospace;fill:hsl(var(--muted-foreground))}.wf .caption{font:10px JetBrains Mono,monospace;fill:hsl(var(--muted-foreground))}.wf .new>.box,.wf .new>.exit-box{stroke:hsl(var(--foreground));stroke-width:2.4}.wf .moved>.box,.wf .moved>.exit-box{stroke:hsl(var(--foreground));stroke-width:1.6;stroke-dasharray:1 3}.wf .edited>.box,.wf .edited>.exit-box{stroke:hsl(var(--foreground));stroke-width:1.6;stroke-dasharray:4 2}.wf .done>.box{fill:hsl(var(--success) / .1);stroke:hsl(var(--success) / .8)}.wf .done>.exit-box{fill:hsl(var(--card));stroke:hsl(var(--border))}.wf .done>.state{fill:hsl(var(--success-text))}.wf .working>.box,.wf .working>.exit-box{stroke:hsl(var(--primary));stroke-width:2.4;animation:wf-pulse 1.6s ease-in-out infinite;animation-delay:var(--wf-phase, 0s)}.wf .working>.state{fill:hsl(var(--primary))}.wf .failed>.box,.wf .failed>.exit-box{fill:hsl(var(--destructive) / .12);stroke:hsl(var(--destructive));stroke-width:2}.wf .failed>.state{fill:hsl(var(--destructive-text))}.wf .review>.box{fill:hsl(var(--warning) / .1);stroke:hsl(var(--warning));stroke-width:2}.wf .review>.state{fill:hsl(var(--warning-text))}.wf .escalated>.box,.wf .escalated>.exit-box{stroke:hsl(var(--wf-exit));stroke-width:2}.wf .escalated>.state{fill:hsl(var(--wf-exit))}.wf .stopped>.box,.wf .stopped>.exit-box{stroke:hsl(var(--muted-foreground));stroke-width:1.6}.wf .fired>.exit-box{fill:hsl(var(--wf-exit))}.wf .fired>.exit-text{fill:hsl(var(--background));font-weight:600}.wf .not-run{opacity:.4}.wf .pending>.box{stroke-dasharray:3 3}.wf .sel{fill:none;stroke:hsl(var(--primary));stroke-width:1.5}.wf g.card,.wf g.exit,.wf .cell{cursor:pointer}.wf g.card:hover>.box{stroke:hsl(var(--foreground) / .8)}.wf .cell{fill:hsl(var(--card));stroke:hsl(var(--border-strong) / .7);stroke-width:1;transition:fill var(--duration-slow),stroke var(--duration-slow)}.wf .cell:hover{stroke:hsl(var(--foreground))}.wf .cell.done{fill:hsl(var(--success) / .75);stroke:hsl(var(--success))}.wf .cell.working{fill:hsl(var(--primary) / .25);stroke:hsl(var(--primary));animation:wf-cell 1.6s ease-in-out infinite;animation-delay:var(--wf-phase, 0s)}.wf .cell.failed{fill:hsl(var(--destructive) / .8);stroke:hsl(var(--destructive))}.wf .cell.review{fill:hsl(var(--warning) / .8);stroke:hsl(var(--warning))}.wf .cell.escalated{fill:hsl(var(--wf-exit) / .7);stroke:hsl(var(--wf-exit))}.wf .cell.stopped,.wf .cell.not-run{fill:none;stroke-dasharray:2 2}.wf .cell.picked{stroke:hsl(var(--foreground));stroke-width:2.5}@keyframes wf-pulse{0%,to{stroke-opacity:1}50%{stroke-opacity:.35}}@keyframes wf-cell{0%,to{fill-opacity:.25}50%{fill-opacity:.7}}.wf .rcell{cursor:pointer}.wf .rcell .cell{fill:hsl(var(--card));stroke:hsl(var(--border-strong) / .6)}.wf .rcell .cell-edge{fill:hsl(var(--border-strong))}.wf .rcell .cell-name{font:600 10px JetBrains Mono,monospace;fill:hsl(var(--foreground))}.wf .rcell .cell-out{font:10px JetBrains Mono,monospace;fill:hsl(var(--muted-foreground))}.wf .rcell .cell-p{font:600 10px JetBrains Mono,monospace;fill:hsl(var(--foreground));font-variant-numeric:tabular-nums}.wf .rcell:hover .cell{stroke:hsl(var(--foreground))}.wf .rcell.done .cell{fill:hsl(var(--success) / .06);stroke:hsl(var(--success) / .5)}.wf .rcell.done .cell-edge{fill:hsl(var(--success))}.wf .rcell.working .cell{fill:hsl(var(--primary) / .1);stroke:hsl(var(--primary));animation:wf-pulse 1.6s ease-in-out infinite;animation-delay:var(--wf-phase, 0s)}.wf .rcell.working .cell-edge,.wf .rcell.working .cell-out{fill:hsl(var(--primary))}.wf .rcell.pending .cell{stroke-dasharray:3 3;fill:none}.wf .rcell.pending .cell-name,.wf .rcell.not-run .cell-name{fill:hsl(var(--muted-foreground));font-weight:400}.wf .rcell.not-run,.wf .rcell.stopped{opacity:.5}.wf .rcell.tone-good .cell{fill:hsl(var(--success) / .14);stroke:hsl(var(--success) / .8)}.wf .rcell.tone-good .cell-edge{fill:hsl(var(--success))}.wf .rcell.tone-good .cell-out{fill:hsl(var(--success-text));font-weight:600}.wf .rcell.tone-warn .cell{fill:hsl(var(--warning) / .16);stroke:hsl(var(--warning))}.wf .rcell.tone-warn .cell-edge{fill:hsl(var(--warning))}.wf .rcell.tone-warn .cell-out{fill:hsl(var(--warning-text));font-weight:600}.wf .rcell.tone-bad .cell{fill:hsl(var(--destructive) / .16);stroke:hsl(var(--destructive))}.wf .rcell.tone-bad .cell-edge{fill:hsl(var(--destructive))}.wf .rcell.tone-bad .cell-out{fill:hsl(var(--destructive-text));font-weight:600}.wf .rcell.picked .cell{stroke:hsl(var(--foreground));stroke-width:2.5}.wf .held>.box{stroke:hsl(var(--warning));stroke-width:2;stroke-dasharray:5 3}.wf .held>.state{fill:hsl(var(--warning-text))}.wf .rcell.held .cell{fill:hsl(var(--warning) / .08);stroke:hsl(var(--warning));stroke-dasharray:4 2}.wf .rcell.held .cell-edge{fill:hsl(var(--warning))}.wf .rcell.held .cell-out{fill:hsl(var(--warning-text))}@property --scroll-fade-start{syntax: "<length>"; inherits: false; initial-value: 0px;}@property --scroll-fade-end{syntax: "<length>"; inherits: false; initial-value: 0px;}@property --scroll-thumb{syntax: "<color>"; inherits: true; initial-value: transparent;}.scroll-quiet{scrollbar-gutter:stable;--scroll-thumb: transparent;transition:--scroll-thumb var(--duration-slow)}.scroll-quiet[data-scrolling],.scroll-quiet[data-scroll-lane]{--scroll-thumb: hsl(var(--muted-foreground) / .45);transition-duration:var(--duration-fast)}.scroll-quiet::-webkit-scrollbar{width:6px;height:6px}.scroll-quiet::-webkit-scrollbar-track,.scroll-quiet::-webkit-scrollbar-corner{background:transparent}.scroll-quiet::-webkit-scrollbar-thumb{background:var(--scroll-thumb)}.scroll-quiet::-webkit-scrollbar-thumb:hover,.scroll-quiet::-webkit-scrollbar-thumb:active{background:hsl(var(--muted-foreground) / .8)}@supports not selector(::-webkit-scrollbar){.scroll-quiet{scrollbar-width:thin;scrollbar-color:var(--scroll-thumb) transparent}}@supports (animation-timeline: scroll()){.scroll-quiet{-webkit-mask-image:linear-gradient(to bottom,transparent,black var(--scroll-fade-start),black calc(100% - var(--scroll-fade-end)),transparent);mask-image:linear-gradient(to bottom,transparent,black var(--scroll-fade-start),black calc(100% - var(--scroll-fade-end)),transparent);animation:scroll-quiet-fade linear both;animation-timeline:scroll(self block)}@keyframes scroll-quiet-fade{0%{--scroll-fade-start: 0px;--scroll-fade-end: 2rem}10%{--scroll-fade-start: 2rem}90%{--scroll-fade-end: 2rem}to{--scroll-fade-start: 2rem;--scroll-fade-end: 0px}}}.\[\&_code\]\:font-mono code,.\[\&_pre\]\:font-mono pre{font-variant-ligatures:none;font-feature-settings:"liga" 0,"calt" 0}.selection\:bg-primary\/\[0\.28\] *::-moz-selection{background-color:hsl(var(--primary) / .28)}.selection\:bg-primary\/\[0\.28\] *::selection{background-color:hsl(var(--primary) / .28)}.selection\:text-foreground *::-moz-selection{--tw-text-opacity: 1;color:hsl(var(--foreground) / var(--tw-text-opacity, 1))}.selection\:text-foreground *::selection{--tw-text-opacity: 1;color:hsl(var(--foreground) / var(--tw-text-opacity, 1))}.selection\:bg-primary\/\[0\.28\]::-moz-selection{background-color:hsl(var(--primary) / .28)}.selection\:bg-primary\/\[0\.28\]::selection{background-color:hsl(var(--primary) / .28)}.selection\:text-foreground::-moz-selection{--tw-text-opacity: 1;color:hsl(var(--foreground) / var(--tw-text-opacity, 1))}.selection\:text-foreground::selection{--tw-text-opacity: 1;color:hsl(var(--foreground) / var(--tw-text-opacity, 1))}.placeholder\:text-muted-foreground::-moz-placeholder{--tw-text-opacity: 1;color:hsl(var(--muted-foreground) / var(--tw-text-opacity, 1))}.placeholder\:text-muted-foreground::placeholder{--tw-text-opacity: 1;color:hsl(var(--muted-foreground) / var(--tw-text-opacity, 1))}.backdrop\:bg-overlay\/60::backdrop{background-color:hsl(var(--overlay) / .6)}.after\:absolute:after{content:var(--tw-content);position:absolute}.after\:inset-x-0:after{content:var(--tw-content);left:0;right:0}.after\:bottom-0:after{content:var(--tw-content);bottom:0}.after\:h-px:after{content:var(--tw-content);height:1px}.after\:bg-border:after{content:var(--tw-content);--tw-bg-opacity: 1;background-color:hsl(var(--border) / var(--tw-bg-opacity, 1))}.first\:-ml-1:first-child{margin-left:-.25rem}.first\:ml-0:first-child{margin-left:0}.first\:mt-0:first-child{margin-top:0}.first\:pl-0:first-child{padding-left:0}.first\:text-left:first-child{text-align:left}.last\:border-b-0:last-child{border-bottom-width:0px}.last\:border-r-0:last-child{border-right-width:0px}.read-only\:text-muted-foreground:-moz-read-only{--tw-text-opacity: 1;color:hsl(var(--muted-foreground) / var(--tw-text-opacity, 1))}.read-only\:text-muted-foreground:read-only{--tw-text-opacity: 1;color:hsl(var(--muted-foreground) / var(--tw-text-opacity, 1))}.empty\:hidden:empty{display:none}.focus-within\:border-foreground:focus-within{--tw-border-opacity: 1;border-color:hsl(var(--foreground) / var(--tw-border-opacity, 1))}.focus-within\:outline:focus-within{outline-style:solid}.focus-within\:outline-focus:focus-within{outline-width:var(--focus-ring-width)}.focus-within\:outline-ring:focus-within{outline-color:hsl(var(--ring) / 1)}.hover\:border-border-strong:hover{--tw-border-opacity: 1;border-color:hsl(var(--border-strong) / var(--tw-border-opacity, 1))}.hover\:border-foreground:hover{--tw-border-opacity: 1;border-color:hsl(var(--foreground) / var(--tw-border-opacity, 1))}.hover\:border-foreground\/60:hover{border-color:hsl(var(--foreground) / .6)}.hover\:bg-accent:hover{--tw-bg-opacity: 1;background-color:hsl(var(--accent) / var(--tw-bg-opacity, 1))}.hover\:bg-accent\/40:hover{background-color:hsl(var(--accent) / .4)}.hover\:bg-accent\/50:hover{background-color:hsl(var(--accent) / .5)}.hover\:bg-accent\/60:hover{background-color:hsl(var(--accent) / .6)}.hover\:bg-destructive\/10:hover{background-color:hsl(var(--destructive) / .1)}.hover\:bg-primary\/10:hover{background-color:hsl(var(--primary) / .1)}.hover\:bg-primary\/20:hover{background-color:hsl(var(--primary) / .2)}.hover\:bg-transparent:hover{background-color:transparent}.hover\:bg-warning\/20:hover{background-color:hsl(var(--warning) / .2)}.hover\:text-foreground:hover{--tw-text-opacity: 1;color:hsl(var(--foreground) / var(--tw-text-opacity, 1))}.hover\:text-primary-text:hover{--tw-text-opacity: 1;color:hsl(var(--primary-text) / var(--tw-text-opacity, 1))}.hover\:text-primary-text\/80:hover{color:hsl(var(--primary-text) / .8)}.hover\:underline:hover{text-decoration-line:underline}.hover\:decoration-2:hover{text-decoration-thickness:2px}.hover\:underline-offset-4:hover{text-underline-offset:4px}.hover\:opacity-80:hover{opacity:.8}.focus\:border-border-strong:focus{--tw-border-opacity: 1;border-color:hsl(var(--border-strong) / var(--tw-border-opacity, 1))}.focus\:border-primary:focus{--tw-border-opacity: 1;border-color:hsl(var(--primary) / var(--tw-border-opacity, 1))}.focus\:bg-accent:focus{--tw-bg-opacity: 1;background-color:hsl(var(--accent) / var(--tw-bg-opacity, 1))}.focus\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus-visible\:not-sr-only:focus-visible{position:static;width:auto;height:auto;padding:0;margin:0;overflow:visible;clip:auto;white-space:normal}.focus-visible\:absolute:focus-visible{position:absolute}.focus-visible\:left-2:focus-visible{left:.5rem}.focus-visible\:top-2:focus-visible{top:.5rem}.focus-visible\:z-toast:focus-visible{z-index:var(--layer-toast)}.focus-visible\:inline-flex:focus-visible{display:inline-flex}.focus-visible\:bg-accent\/60:focus-visible{background-color:hsl(var(--accent) / .6)}.focus-visible\:bg-card:focus-visible{--tw-bg-opacity: 1;background-color:hsl(var(--card) / var(--tw-bg-opacity, 1))}.focus-visible\:bg-primary\/20:focus-visible{background-color:hsl(var(--primary) / .2)}.focus-visible\:bg-transparent:focus-visible{background-color:transparent}.focus-visible\:px-3:focus-visible{padding-left:.75rem;padding-right:.75rem}.focus-visible\:underline:focus-visible{text-decoration-line:underline}.focus-visible\:outline-none:focus-visible{outline:2px solid transparent;outline-offset:2px}.focus-visible\:outline:focus-visible{outline-style:solid}.focus-visible\:outline-2:focus-visible{outline-width:2px}.focus-visible\:outline-focus:focus-visible{outline-width:var(--focus-ring-width)}.focus-visible\:-outline-offset-2:focus-visible{outline-offset:-2px}.focus-visible\:outline-offset-0:focus-visible{outline-offset:0px}.focus-visible\:outline-ring:focus-visible{outline-color:hsl(var(--ring) / 1)}.focus-visible\:ring-2:focus-visible{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus-visible\:ring-inset:focus-visible{--tw-ring-inset: inset}.focus-visible\:ring-ring:focus-visible{--tw-ring-opacity: 1;--tw-ring-color: hsl(var(--ring) / var(--tw-ring-opacity, 1))}.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\:opacity-45:disabled{opacity:.45}.disabled\:opacity-60:disabled{opacity:.6}.group[open] .group-open\:rotate-90{--tw-rotate: 90deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.group\/tip:focus-within .group-focus-within\/tip\:block{display:block}.group\/tip:hover .group-hover\/tip\:block{display:block}.group:hover .group-hover\:w-full{width:100%}.has-\[\:focus-visible\]\:relative:has(:focus-visible){position:relative}.has-\[\:focus-visible\]\:bg-accent:has(:focus-visible){--tw-bg-opacity: 1;background-color:hsl(var(--accent) / var(--tw-bg-opacity, 1))}.has-\[\:focus-visible\]\:bg-primary\/20:has(:focus-visible){background-color:hsl(var(--primary) / .2)}.has-\[\:focus-visible\]\:outline:has(:focus-visible){outline-style:solid}.has-\[\:focus-visible\]\:outline-1:has(:focus-visible){outline-width:1px}.has-\[\:focus-visible\]\:outline-focus:has(:focus-visible){outline-width:var(--focus-ring-width)}.has-\[\:focus-visible\]\:outline-offset-2:has(:focus-visible){outline-offset:2px}.has-\[\:focus-visible\]\:outline-offset-focus:has(:focus-visible){outline-offset:var(--focus-ring-offset)}.has-\[\:focus-visible\]\:outline-ring:has(:focus-visible){outline-color:hsl(var(--ring) / 1)}.aria-\[invalid\=true\]\:border-destructive[aria-invalid=true]{--tw-border-opacity: 1;border-color:hsl(var(--destructive) / var(--tw-border-opacity, 1))}.data-\[disabled\]\:cursor-not-allowed[data-disabled]{cursor:not-allowed}.data-\[open\]\:border-foreground[data-open]{--tw-border-opacity: 1;border-color:hsl(var(--foreground) / var(--tw-border-opacity, 1))}.data-\[focus\]\:bg-accent[data-focus],.data-\[state\=open\]\:bg-accent[data-state=open]{--tw-bg-opacity: 1;background-color:hsl(var(--accent) / var(--tw-bg-opacity, 1))}.data-\[state\=open\]\:bg-primary\/20[data-state=open]{background-color:hsl(var(--primary) / .2)}.data-\[selected\]\:text-foreground[data-selected]{--tw-text-opacity: 1;color:hsl(var(--foreground) / var(--tw-text-opacity, 1))}.data-\[disabled\]\:opacity-45[data-disabled]{opacity:.45}.data-\[disabled\]\:opacity-50[data-disabled]{opacity:.5}.group[data-selected] .group-data-\[selected\]\:visible{visibility:visible}@media(max-height:500px){.short\:absolute{position:absolute}.short\:right-5{right:1.25rem}.short\:top-3{top:.75rem}.short\:hidden{display:none}.short\:h-auto{height:auto}.short\:min-h-96{min-height:24rem}.short\:flex-none{flex:none}.short\:overflow-auto{overflow:auto}.short\:overflow-visible{overflow:visible}.short\:border-b-0{border-bottom-width:0px}.short\:p-0{padding:0}.short\:pr-72{padding-right:18rem}}@media(min-width:768px)and (min-height:501px){.roomy\:flex{display:flex}.roomy\:hidden{display:none}.roomy\:h-dvh{height:100dvh}.roomy\:max-h-none{max-height:none}.roomy\:w-sidebar{width:var(--sidebar-width)}.roomy\:flex-row{flex-direction:row}.roomy\:overflow-y-auto{overflow-y:auto}}@container (min-width: 56rem){.\@4xl\:table-cell{display:table-cell}.\@4xl\:w-\[30\%\]{width:30%}}@container (min-width: 64rem){.\@5xl\:table-cell{display:table-cell}}@media(prefers-reduced-motion:no-preference){@keyframes pulse{50%{opacity:.5}}.motion-safe\:animate-pulse{animation:pulse 2s cubic-bezier(.4,0,.6,1) infinite}@keyframes toast-in{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}.motion-safe\:animate-toast-in{animation:toast-in var(--duration-base) var(--ease-standard)}}@media not all and (min-width:1280px){.max-xl\:mb-3{margin-bottom:.75rem}.max-xl\:table-cell{display:table-cell}}@media not all and (min-width:640px){.max-sm\:sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.max-sm\:order-first{order:-9999}.max-sm\:order-last{order:9999}.max-sm\:mt-0{margin-top:0}.max-sm\:mt-2{margin-top:.5rem}.max-sm\:line-clamp-2{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}.max-sm\:flex{display:flex}.max-sm\:contents{display:contents}.max-sm\:hidden{display:none}.max-sm\:h-10{height:2.5rem}.max-sm\:w-10{width:2.5rem}.max-sm\:w-11{width:2.75rem}.max-sm\:w-8{width:2rem}.max-sm\:min-w-0{min-width:0px}.max-sm\:max-w-full{max-width:100%}.max-sm\:shrink-0{flex-shrink:0}.max-sm\:basis-full{flex-basis:100%}.max-sm\:flex-row{flex-direction:row}.max-sm\:flex-wrap{flex-wrap:wrap}.max-sm\:items-center{align-items:center}.max-sm\:gap-2{gap:.5rem}.max-sm\:gap-x-2{-moz-column-gap:.5rem;column-gap:.5rem}.max-sm\:gap-x-3{-moz-column-gap:.75rem;column-gap:.75rem}.max-sm\:gap-y-2{row-gap:.5rem}.max-sm\:border-0{border-width:0px}.max-sm\:p-0{padding:0}.max-sm\:px-0{padding-left:0;padding-right:0}.max-sm\:px-2{padding-left:.5rem;padding-right:.5rem}.max-sm\:py-0{padding-top:0;padding-bottom:0}.max-sm\:py-2\.5{padding-top:.625rem;padding-bottom:.625rem}.max-sm\:py-3{padding-top:.75rem;padding-bottom:.75rem}.max-sm\:text-lg{font-size:18px;line-height:28px}}@media(min-width:640px){.sm\:left-auto{left:auto}.sm\:order-none{order:0}.sm\:ml-0{margin-left:0}.sm\:mt-6{margin-top:1.5rem}.sm\:block{display:block}.sm\:inline{display:inline}.sm\:inline-flex{display:inline-flex}.sm\:hidden{display:none}.sm\:w-72{width:18rem}.sm\:w-\[22rem\]{width:22rem}.sm\:min-w-\[10rem\]{min-width:10rem}.sm\:flex-1{flex:1 1 0%}.sm\:shrink-0{flex-shrink:0}.sm\:basis-0{flex-basis:0px}.sm\:basis-64{flex-basis:16rem}.sm\:basis-auto{flex-basis:auto}.sm\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.sm\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.sm\:grid-cols-\[auto_minmax\(0\,1fr\)\]{grid-template-columns:auto minmax(0,1fr)}.sm\:grid-cols-\[max-content_minmax\(0\,1fr\)\]{grid-template-columns:max-content minmax(0,1fr)}.sm\:flex-row{flex-direction:row}.sm\:flex-wrap{flex-wrap:wrap}.sm\:items-start{align-items:flex-start}.sm\:items-center{align-items:center}.sm\:justify-between{justify-content:space-between}.sm\:gap-4{gap:1rem}.sm\:self-auto{align-self:auto}}@media(min-width:768px){.md\:mt-12{margin-top:3rem}.md\:block{display:block}.md\:inline{display:inline}.md\:table-cell{display:table-cell}.md\:table-header-group{display:table-header-group}.md\:hidden{display:none}.md\:w-\[240px\]{width:240px}.md\:w-\[30\%\]{width:30%}.md\:w-\[76px\]{width:76px}.md\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.md\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.md\:grid-cols-\[minmax\(0\,2fr\)_minmax\(0\,1fr\)\]{grid-template-columns:minmax(0,2fr) minmax(0,1fr)}.md\:flex-row{flex-direction:row}.md\:flex-col{flex-direction:column}.md\:gap-0{gap:0px}.md\:border-b-0{border-bottom-width:0px}.md\:border-r{border-right-width:1px}.md\:p-4{padding:1rem}.md\:p-5{padding:1.25rem}.md\:p-6{padding:1.5rem}.md\:p-8{padding:2rem}.md\:px-0{padding-left:0;padding-right:0}.md\:px-10{padding-left:2.5rem;padding-right:2.5rem}.md\:px-12{padding-left:3rem;padding-right:3rem}.md\:px-16{padding-left:4rem;padding-right:4rem}.md\:px-5{padding-left:1.25rem;padding-right:1.25rem}.md\:px-6{padding-left:1.5rem;padding-right:1.5rem}.md\:px-8{padding-left:2rem;padding-right:2rem}.md\:py-6{padding-top:1.5rem;padding-bottom:1.5rem}.md\:pb-5{padding-bottom:1.25rem}.md\:pl-8{padding-left:2rem}.md\:pt-10{padding-top:2.5rem}.md\:pt-16{padding-top:4rem}.md\:pt-6{padding-top:1.5rem}.md\:text-right{text-align:right}.md\:text-2xl{font-size:24px;line-height:32px}.md\:text-display{font-size:32px;line-height:40px}@media not all and (min-width:1280px){.md\:max-xl\:table-cell{display:table-cell}.md\:max-xl\:w-\[30\%\]{width:30%}}}@media(min-width:1024px){.lg\:-ml-1{margin-left:-.25rem}.lg\:-mr-4{margin-right:-1rem}.lg\:flex{display:flex}.lg\:max-h-\[50\%\]{max-height:50%}.lg\:min-h-0{min-height:0px}.lg\:min-h-7{min-height:1.75rem}.lg\:w-\[460px\]{width:460px}.lg\:flex-1{flex:1 1 0%}.lg\:shrink-0{flex-shrink:0}.lg\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.lg\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.lg\:grid-cols-5{grid-template-columns:repeat(5,minmax(0,1fr))}.lg\:grid-cols-\[minmax\(0\,1fr\)_minmax\(0\,2fr\)\]{grid-template-columns:minmax(0,1fr) minmax(0,2fr)}.lg\:grid-cols-\[minmax\(0\,2fr\)_minmax\(0\,1fr\)\]{grid-template-columns:minmax(0,2fr) minmax(0,1fr)}.lg\:grid-cols-\[minmax\(260px\,320px\)_minmax\(0\,1fr\)\]{grid-template-columns:minmax(260px,320px) minmax(0,1fr)}.lg\:grid-rows-\[minmax\(0\,1fr\)\]{grid-template-rows:minmax(0,1fr)}.lg\:flex-row{flex-direction:row}.lg\:flex-col{flex-direction:column}.lg\:flex-nowrap{flex-wrap:nowrap}.lg\:items-start{align-items:flex-start}.lg\:items-stretch{align-items:stretch}.lg\:self-start{align-self:flex-start}.lg\:overflow-hidden{overflow:hidden}.lg\:overflow-y-auto{overflow-y:auto}.lg\:overflow-x-hidden{overflow-x:hidden}.lg\:border-b-0{border-bottom-width:0px}.lg\:border-l{border-left-width:1px}.lg\:border-r{border-right-width:1px}.lg\:border-t-0{border-top-width:0px}.lg\:pb-6{padding-bottom:1.5rem}.lg\:pl-1{padding-left:.25rem}.lg\:pr-2\.5{padding-right:.625rem}.lg\:pr-4{padding-right:1rem}.lg\:\[scrollbar-width\:none\]{scrollbar-width:none}}@media(min-width:1280px){.xl\:absolute{position:absolute}.xl\:sticky{position:sticky}.xl\:inset-0{top:0;right:0;bottom:0;left:0}.xl\:-top-6{top:-1.5rem}.xl\:z-raised{z-index:var(--layer-raised)}.xl\:flex{display:flex}.xl\:grid{display:grid}.xl\:h-\[calc\(100vh-330px\)\]{height:calc(100vh - 330px)}.xl\:h-\[calc\(100vh-390px\)\]{height:calc(100vh - 390px)}.xl\:max-h-none{max-height:none}.xl\:min-h-0{min-height:0px}.xl\:min-h-\[440px\]{min-height:440px}.xl\:min-h-\[480px\]{min-height:480px}.xl\:w-2\/5{width:40%}.xl\:max-w-lg{max-width:32rem}.xl\:flex-1{flex:1 1 0%}.xl\:shrink-0{flex-shrink:0}.xl\:columns-2{-moz-columns:2;columns:2}.xl\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.xl\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.xl\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.xl\:grid-cols-5{grid-template-columns:repeat(5,minmax(0,1fr))}.xl\:grid-cols-6{grid-template-columns:repeat(6,minmax(0,1fr))}.xl\:grid-cols-\[minmax\(0\,1fr\)_20rem\]{grid-template-columns:minmax(0,1fr) 20rem}.xl\:grid-cols-\[minmax\(0\,1fr\)_minmax\(0\,2fr\)\]{grid-template-columns:minmax(0,1fr) minmax(0,2fr)}.xl\:grid-cols-\[minmax\(0\,3fr\)_minmax\(0\,2fr\)\]{grid-template-columns:minmax(0,3fr) minmax(0,2fr)}.xl\:grid-cols-\[minmax\(14rem\,20rem\)_minmax\(0\,1fr\)\]{grid-template-columns:minmax(14rem,20rem) minmax(0,1fr)}.xl\:grid-cols-\[minmax\(420px\,5fr\)_7fr\]{grid-template-columns:minmax(420px,5fr) 7fr}.xl\:items-start{align-items:flex-start}.xl\:gap-x-10{-moz-column-gap:2.5rem;column-gap:2.5rem}.xl\:overflow-auto{overflow:auto}.xl\:overflow-hidden{overflow:hidden}.xl\:overflow-visible{overflow:visible}.xl\:border-b-0{border-bottom-width:0px}.xl\:border-l{border-left-width:1px}.xl\:border-r{border-right-width:1px}.xl\:border-t-0{border-top-width:0px}}@media(min-width:1536px){.\32xl\:columns-2{-moz-columns:2;columns:2}.\32xl\:columns-3{-moz-columns:3;columns:3}.\32xl\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.\32xl\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.\32xl\:grid-cols-5{grid-template-columns:repeat(5,minmax(0,1fr))}.\32xl\:grid-cols-6{grid-template-columns:repeat(6,minmax(0,1fr))}.\32xl\:gap-x-10{-moz-column-gap:2.5rem;column-gap:2.5rem}}@media not all and (min-width:640px){@media(orientation:portrait){.max-sm\:portrait\:placeholder\:text-transparent::-moz-placeholder{color:transparent}.max-sm\:portrait\:placeholder\:text-transparent::placeholder{color:transparent}}}.\[\&\+li\]\:mt-3+li{margin-top:.75rem}.\[\&\:\:-moz-range-thumb\]\:size-3::-moz-range-thumb{width:.75rem;height:.75rem}.\[\&\:\:-moz-range-thumb\]\:border-0::-moz-range-thumb{border-width:0px}.\[\&\:\:-moz-range-thumb\]\:bg-foreground::-moz-range-thumb{--tw-bg-opacity: 1;background-color:hsl(var(--foreground) / var(--tw-bg-opacity, 1))}.\[\&\:\:-moz-range-track\]\:h-0\.5::-moz-range-track{height:.125rem}.\[\&\:\:-moz-range-track\]\:bg-border-strong::-moz-range-track{--tw-bg-opacity: 1;background-color:hsl(var(--border-strong) / var(--tw-bg-opacity, 1))}.\[\&\:\:-webkit-slider-runnable-track\]\:h-0\.5::-webkit-slider-runnable-track{height:.125rem}.\[\&\:\:-webkit-slider-runnable-track\]\:bg-border-strong::-webkit-slider-runnable-track{--tw-bg-opacity: 1;background-color:hsl(var(--border-strong) / var(--tw-bg-opacity, 1))}.\[\&\:\:-webkit-slider-thumb\]\:-mt-\[5px\]::-webkit-slider-thumb{margin-top:-5px}.\[\&\:\:-webkit-slider-thumb\]\:size-3::-webkit-slider-thumb{width:.75rem;height:.75rem}.\[\&\:\:-webkit-slider-thumb\]\:appearance-none::-webkit-slider-thumb{-webkit-appearance:none;-moz-appearance:none;appearance:none}.\[\&\:\:-webkit-slider-thumb\]\:bg-foreground::-webkit-slider-thumb{--tw-bg-opacity: 1;background-color:hsl(var(--foreground) / var(--tw-bg-opacity, 1))}@media(min-width:640px){.sm\:\[\&\:last-child\:nth-child\(odd\)\]\:col-span-2:last-child:nth-child(odd){grid-column:span 2 / span 2}}@media(min-width:1024px){.lg\:\[\&\:last-child\:nth-child\(odd\)\]\:col-span-1:last-child:nth-child(odd){grid-column:span 1 / span 1}}.\[\&\>\*\]\:mb-5>*{margin-bottom:1.25rem}.\[\&\>\*\]\:mb-8>*{margin-bottom:2rem}.\[\&\>\*\]\:mt-0>*{margin-top:0}.\[\&\>\*\]\:break-inside-avoid>*{-moz-column-break-inside:avoid;break-inside:avoid}.\[\&\>\:not\(section\)\]\:mb-6>:not(section){margin-bottom:1.5rem}.\[\&\>dl\]\:border-l-0>dl{border-left-width:0px}.\[\&\>dl\]\:pl-0>dl{padding-left:0}.\[\&_a\]\:text-primary-text a{--tw-text-opacity: 1;color:hsl(var(--primary-text) / var(--tw-text-opacity, 1))}.\[\&_a\]\:underline a{text-decoration-line:underline}.\[\&_a\]\:underline-offset-2 a{text-underline-offset:2px}.\[\&_code\]\:bg-muted code{--tw-bg-opacity: 1;background-color:hsl(var(--muted) / var(--tw-bg-opacity, 1))}.\[\&_code\]\:px-1 code{padding-left:.25rem;padding-right:.25rem}.\[\&_code\]\:font-mono code{font-family:JetBrains Mono,monospace}.\[\&_code\]\:text-body code{font-size:13px}.\[\&_h1\]\:mb-2 h1{margin-bottom:.5rem}.\[\&_h1\]\:text-prose h1{font-size:15px}.\[\&_h1\]\:font-semibold h1{font-weight:600}.\[\&_h2\]\:mb-2 h2{margin-bottom:.5rem}.\[\&_h2\]\:mt-3 h2{margin-top:.75rem}.\[\&_h2\]\:text-lead h2{font-size:14px}.\[\&_h2\]\:font-semibold h2{font-weight:600}.\[\&_h3\]\:mt-3 h3{margin-top:.75rem}.\[\&_h3\]\:font-semibold h3{font-weight:600}.\[\&_li\]\:mb-0\.5 li{margin-bottom:.125rem}.\[\&_ol\]\:mb-2 ol{margin-bottom:.5rem}.\[\&_ol\]\:list-decimal ol{list-style-type:decimal}.\[\&_ol\]\:pl-5 ol{padding-left:1.25rem}.\[\&_p\:last-child\]\:mb-0 p:last-child{margin-bottom:0}.\[\&_p\]\:mb-2 p,.\[\&_pre\]\:mb-2 pre{margin-bottom:.5rem}.\[\&_pre\]\:overflow-x-auto pre{overflow-x:auto}.\[\&_pre\]\:border pre{border-width:1px}.\[\&_pre\]\:bg-background pre{--tw-bg-opacity: 1;background-color:hsl(var(--background) / var(--tw-bg-opacity, 1))}.\[\&_pre\]\:p-3 pre{padding:.75rem}.\[\&_pre\]\:font-mono pre{font-family:JetBrains Mono,monospace}.\[\&_pre\]\:text-small pre{font-size:12px}.\[\&_svg\]\:size-3\.5 svg{width:.875rem;height:.875rem}.\[\&_svg\]\:shrink-0 svg{flex-shrink:0}.\[\&_ul\]\:mb-2 ul{margin-bottom:.5rem}.\[\&_ul\]\:list-disc ul{list-style-type:disc}.\[\&_ul\]\:pl-5 ul{padding-left:1.25rem}@container (min-width:1100px){.\[\@container\(min-width\:1100px\)\]\:grid-cols-\[minmax\(0\,3fr\)_minmax\(0\,2fr\)\]{grid-template-columns:minmax(0,3fr) minmax(0,2fr)}}@container (min-width:760px) and (max-width:1099.98px){.\[\@container\(min-width\:760px\)_and_\(max-width\:1099\.98px\)\]\:grid-cols-\[minmax\(0\,1fr\)_17\.5rem\]{grid-template-columns:minmax(0,1fr) 17.5rem}}@media(min-width:1024px){@media(min-height:501px){.lg\:\[\@media\(min-height\:501px\)\]\:absolute{position:absolute}.lg\:\[\@media\(min-height\:501px\)\]\:right-6{right:1.5rem}.lg\:\[\@media\(min-height\:501px\)\]\:top-3{top:.75rem}.lg\:\[\@media\(min-height\:501px\)\]\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.lg\:\[\@media\(min-height\:501px\)\]\:border-b-0{border-bottom-width:0px}.lg\:\[\@media\(min-height\:501px\)\]\:p-0{padding:0}.lg\:\[\@media\(min-height\:501px\)\]\:pr-80{padding-right:20rem}}}
|
package/dist/console/index.html
CHANGED
|
@@ -6,8 +6,8 @@
|
|
|
6
6
|
<meta name="color-scheme" content="light dark" />
|
|
7
7
|
<title>AgentRun</title>
|
|
8
8
|
<link rel="icon" type="image/svg+xml" href="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Crect width='32' height='32' fill='%23ff8000'/%3E%3Cpath d='M12 9l11 7-11 7z' fill='%23000'/%3E%3C/svg%3E" />
|
|
9
|
-
<script type="module" crossorigin src="./assets/index-
|
|
10
|
-
<link rel="stylesheet" crossorigin href="./assets/index-
|
|
9
|
+
<script type="module" crossorigin src="./assets/index-CQ3cJRzI.js"></script>
|
|
10
|
+
<link rel="stylesheet" crossorigin href="./assets/index-DKkaS3a0.css">
|
|
11
11
|
</head>
|
|
12
12
|
<body>
|
|
13
13
|
<div id="root"></div>
|
package/dist/host-check.d.ts
CHANGED
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
/** The name a Host header gives, lowercased and without its port (an IPv6 address keeps its brackets). Undefined for a
|
|
2
2
|
* header that is not `name` or `name:port`: no user part, no path, no empty or non-numeric port. */
|
|
3
3
|
export declare function hostName(header: string | undefined): string | undefined;
|
|
4
|
+
/** Whether a Host name (as hostName gives it) is this machine's own: localhost, an IPv4 loopback address or [::1]. Not a name
|
|
5
|
+
* an operator allowed (--allow-host, AGENTRUN_PUBLIC_URL): those pass the server's Host check, and a route that reads this
|
|
6
|
+
* machine's files asks for more. */
|
|
7
|
+
export declare const isLoopbackName: (name: string | undefined) => boolean;
|
|
4
8
|
/** The port a Host header names (1 to 65535), or undefined for none, or for a header that is not `name` or `name:port`. */
|
|
5
9
|
export declare function hostPort(header: string | undefined): number | undefined;
|
|
6
10
|
/** The names a server listening on loopback `host` answers to: this machine's (localhost, 127.0.0.1, [::1], and `host`
|
package/dist/host-check.js
CHANGED
|
@@ -9,6 +9,10 @@ export function hostName(header) {
|
|
|
9
9
|
const match = /^(\[[0-9a-f:.]+\]|[a-z0-9._-]+)(?::(\d{1,5}))?$/.exec(String(header ?? "").trim().toLowerCase());
|
|
10
10
|
return match && (match[2] === undefined || Number(match[2]) <= 65535) ? match[1] : undefined;
|
|
11
11
|
}
|
|
12
|
+
/** Whether a Host name (as hostName gives it) is this machine's own: localhost, an IPv4 loopback address or [::1]. Not a name
|
|
13
|
+
* an operator allowed (--allow-host, AGENTRUN_PUBLIC_URL): those pass the server's Host check, and a route that reads this
|
|
14
|
+
* machine's files asks for more. */
|
|
15
|
+
export const isLoopbackName = (name) => name === "localhost" || name === "[::1]" || (name !== undefined && /^127(\.\d{1,3}){3}$/.test(name));
|
|
12
16
|
/** The port a Host header names (1 to 65535), or undefined for none, or for a header that is not `name` or `name:port`. */
|
|
13
17
|
export function hostPort(header) {
|
|
14
18
|
const match = /^(?:\[[0-9a-f:.]+\]|[a-z0-9._-]+):(\d{1,5})$/.exec(String(header ?? "").trim().toLowerCase());
|
package/dist/key-refusal.d.ts
CHANGED
|
@@ -17,7 +17,7 @@ export declare function runKeyOf(env: NodeJS.ProcessEnv, harness?: string, ref?:
|
|
|
17
17
|
* form (6 times it, for JSON's \uXXXX; percent is 3, hex 2, base64 4/3) and 16 more. A key whose start the cut can show
|
|
18
18
|
* starts before SHOWN, so it ends inside that head and is found whole; one that starts later is never shown. So a long
|
|
19
19
|
* error costs no more to redact than a short one, whatever it holds. `shown`: a head of another length, for a reader
|
|
20
|
-
* that is shown more
|
|
20
|
+
* that is shown more. */
|
|
21
21
|
export declare function redacted(text: string, secrets: readonly string[], shown?: number): string;
|
|
22
22
|
/** How many texts redactedAnswer has read in this process: a test reads it to see a run's view served from what an
|
|
23
23
|
* earlier view redacted (runs.ts servedOnce). */
|
|
@@ -28,11 +28,27 @@ export declare const answerPasses: {
|
|
|
28
28
|
* in it, and NEVER cut: an answer is shown whole. The same rule as redacted() (redactSecrets over `secrets`), over the
|
|
29
29
|
* whole text, read in pieces of about ANSWER_PIECE characters cut at whitespace. No form of a held value redactSecrets
|
|
30
30
|
* finds as it stands (as written, JSON-escaped, base64, hex) holds whitespace, so a cut there splits none; the one shape
|
|
31
|
-
* read across whitespace, a Bearer scheme and its token, is never cut between the two (endsInScheme). A run
|
|
32
|
-
*
|
|
33
|
-
*
|
|
34
|
-
*
|
|
31
|
+
* read across whitespace, a Bearer scheme and its token, is never cut between the two (endsInScheme). A run with no
|
|
32
|
+
* whitespace past a piece is cut at the end of a JSON string in it (never in a URL's user and password), or, a run of
|
|
33
|
+
* a JSON array's numbers only, after a comma (runCut), so compact JSON reads in pieces too. A run of more than ANSWER_PIECE characters with neither is no
|
|
34
|
+
* person's text and is shown as "[redacted]", unread, from where its run starts. A value or a secret shape split across
|
|
35
|
+
* a cut, or a form only found across pieces, still shows to one pass over the joined pieces (heldIn: valueLeft over
|
|
36
|
+
* them as they came, and secretShapes over them redacted; with the head of each run left unread, where the rest of a
|
|
37
|
+
* value split before it would be), and then the whole answer is "[redacted]", as redactSecrets does with a text that
|
|
38
|
+
* still holds a value. So is an answer whose pieces, as shown, read as a held value together (heldIn reads the text it
|
|
39
|
+
* returns too). A value split inside one piece withholds only that piece, by the piece's own redaction. */
|
|
35
40
|
export declare function redactedAnswer(text: string, secrets: readonly string[]): string;
|
|
41
|
+
/** `text`, a call's result as a grader's read shows it (timeline calls, tool_result_text), with no held secret in it:
|
|
42
|
+
* read in pieces as redactedAnswer reads an answer, each piece redacted, then shown as `show` makes it (the timeline's
|
|
43
|
+
* scrubUrls), then one pass over the pieces (heldIn). Every check reads the text as it came, redacted, and not only as
|
|
44
|
+
* shown: shown, a URL's query, fragment and userinfo are cut apart, and a held value in one no longer reads as itself;
|
|
45
|
+
* what it returns is read too, for a held value its pieces show only together. A piece
|
|
46
|
+
* never splits a URL (it is cut at whitespace, after a quote, or in a run of numbers), so a piece shows as the whole
|
|
47
|
+
* text would. Only the head the reader is shown is read: pieces stop once they show more than `shown` characters, and
|
|
48
|
+
* the pass also reads the text where they stopped (peek), so a value or a shape the stop split is seen whole. Every
|
|
49
|
+
* character returned was read; the caller cuts it to `shown`. So no redaction pass reads more than a piece, however long
|
|
50
|
+
* the result or its head. */
|
|
51
|
+
export declare function redactedCall(text: string, secrets: readonly string[], shown: number, show?: (piece: string) => string): string;
|
|
36
52
|
/** Whether a number shows a held value. A held value can be all digits (a gateway's key), and a record or a call's
|
|
37
53
|
* arguments can quote it as a number: one whose digits hold a held value, by the same rule as a string's, is held. A
|
|
38
54
|
* number can also EQUAL a held value whose text differs from its own (a leading zero, 1e21, a long key read lossy). A
|
package/dist/key-refusal.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
// count, a file name, a duration, another service's status) is no refused key, and the error is left as it is.
|
|
5
5
|
import { DEFAULT_HARNESS } from "./harness.js";
|
|
6
6
|
import { harnessOf } from "./harness-table.js";
|
|
7
|
-
import { endsInScheme, redactSecrets, valueMatcher } from "./learn/secrets.js";
|
|
7
|
+
import { cutSecrets, endsInScheme, redactSecrets, secretShapes, valueLeft, valueMatcher } from "./learn/secrets.js";
|
|
8
8
|
import { hostModel, MODEL_KEYS } from "./model.js";
|
|
9
9
|
import { modelWire, openRouterOnly, WIRES } from "./provider.js";
|
|
10
10
|
import { savedGatewayIn } from "./model-gateway.js";
|
|
@@ -59,7 +59,7 @@ const SHOWN = 2000;
|
|
|
59
59
|
* form (6 times it, for JSON's \uXXXX; percent is 3, hex 2, base64 4/3) and 16 more. A key whose start the cut can show
|
|
60
60
|
* starts before SHOWN, so it ends inside that head and is found whole; one that starts later is never shown. So a long
|
|
61
61
|
* error costs no more to redact than a short one, whatever it holds. `shown`: a head of another length, for a reader
|
|
62
|
-
* that is shown more
|
|
62
|
+
* that is shown more. */
|
|
63
63
|
export function redacted(text, secrets, shown = SHOWN) {
|
|
64
64
|
const longest = secrets.reduce((most, value) => Math.max(most, value.length), 0);
|
|
65
65
|
const window = shown + 6 * longest + 16;
|
|
@@ -83,50 +83,244 @@ export const answerPasses = { count: 0 };
|
|
|
83
83
|
* in it, and NEVER cut: an answer is shown whole. The same rule as redacted() (redactSecrets over `secrets`), over the
|
|
84
84
|
* whole text, read in pieces of about ANSWER_PIECE characters cut at whitespace. No form of a held value redactSecrets
|
|
85
85
|
* finds as it stands (as written, JSON-escaped, base64, hex) holds whitespace, so a cut there splits none; the one shape
|
|
86
|
-
* read across whitespace, a Bearer scheme and its token, is never cut between the two (endsInScheme). A run
|
|
87
|
-
*
|
|
88
|
-
*
|
|
89
|
-
*
|
|
86
|
+
* read across whitespace, a Bearer scheme and its token, is never cut between the two (endsInScheme). A run with no
|
|
87
|
+
* whitespace past a piece is cut at the end of a JSON string in it (never in a URL's user and password), or, a run of
|
|
88
|
+
* a JSON array's numbers only, after a comma (runCut), so compact JSON reads in pieces too. A run of more than ANSWER_PIECE characters with neither is no
|
|
89
|
+
* person's text and is shown as "[redacted]", unread, from where its run starts. A value or a secret shape split across
|
|
90
|
+
* a cut, or a form only found across pieces, still shows to one pass over the joined pieces (heldIn: valueLeft over
|
|
91
|
+
* them as they came, and secretShapes over them redacted; with the head of each run left unread, where the rest of a
|
|
92
|
+
* value split before it would be), and then the whole answer is "[redacted]", as redactSecrets does with a text that
|
|
93
|
+
* still holds a value. So is an answer whose pieces, as shown, read as a held value together (heldIn reads the text it
|
|
94
|
+
* returns too). A value split inside one piece withholds only that piece, by the piece's own redaction. */
|
|
90
95
|
export function redactedAnswer(text, secrets) {
|
|
91
96
|
if (!text)
|
|
92
97
|
return text;
|
|
93
98
|
answerPasses.count++;
|
|
94
|
-
const
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
99
|
+
const { out, seen } = inPieces(text, secrets);
|
|
100
|
+
return heldIn(seen, secrets, out) ? "[redacted]" : out;
|
|
101
|
+
}
|
|
102
|
+
/** `text`, a call's result as a grader's read shows it (timeline calls, tool_result_text), with no held secret in it:
|
|
103
|
+
* read in pieces as redactedAnswer reads an answer, each piece redacted, then shown as `show` makes it (the timeline's
|
|
104
|
+
* scrubUrls), then one pass over the pieces (heldIn). Every check reads the text as it came, redacted, and not only as
|
|
105
|
+
* shown: shown, a URL's query, fragment and userinfo are cut apart, and a held value in one no longer reads as itself;
|
|
106
|
+
* what it returns is read too, for a held value its pieces show only together. A piece
|
|
107
|
+
* never splits a URL (it is cut at whitespace, after a quote, or in a run of numbers), so a piece shows as the whole
|
|
108
|
+
* text would. Only the head the reader is shown is read: pieces stop once they show more than `shown` characters, and
|
|
109
|
+
* the pass also reads the text where they stopped (peek), so a value or a shape the stop split is seen whole. Every
|
|
110
|
+
* character returned was read; the caller cuts it to `shown`. So no redaction pass reads more than a piece, however long
|
|
111
|
+
* the result or its head. */
|
|
112
|
+
export function redactedCall(text, secrets, shown, show = (piece) => piece) {
|
|
113
|
+
if (!text)
|
|
114
|
+
return text;
|
|
115
|
+
const { out, seen, short } = inPieces(text, secrets, shown, show);
|
|
116
|
+
// A read that stopped on what it read, before what it shows reached `shown`, ends as a cut does ("...", timeline/util.ts
|
|
117
|
+
// cut), so a reader (the link check) knows it is not whole.
|
|
118
|
+
const result = short ? `${out}...` : out;
|
|
119
|
+
return heldIn(seen, secrets, result) ? "[redacted]" : result;
|
|
120
|
+
}
|
|
121
|
+
/** Whether the text a reader is about to be shown (`shown`, what the caller returns) holds a held value, or the joined
|
|
122
|
+
* pieces still hold one or a secret shape: one a cut split. `shown` is read whole for a held value (valueMatcher, one
|
|
123
|
+
* linear pass): however the pieces were put together, as each was cut or shown, or an unread run's "[redacted]" between
|
|
124
|
+
* them, no text that reads as a held value is returned (a held value holding "[redacted]", its parts on either side of
|
|
125
|
+
* a cut in another piece). A value is also looked for in the pieces as they came, joined by line breaks, each piece's
|
|
126
|
+
* own cuts covering it (valueLeft): a piece's cut can take part of a value split across pieces (a credential
|
|
127
|
+
* parameter's value cut in place at the end of a piece, the rest of the held value in the next), and the rest then no
|
|
128
|
+
* longer reads as the value. A piece withheld whole covers all of itself, so a value split inside one piece is that
|
|
129
|
+
* piece's own redaction's, and only a value no cut covers across pieces (or in the text read past where they stopped)
|
|
130
|
+
* withholds the text. Each unread run's head is covered (it shows as "[redacted]") and read for the rest of a value
|
|
131
|
+
* split before it. A shape is looked for in the pieces each redacted (a shape whole in one is no shape a cut split). A
|
|
132
|
+
* peek too long to read (`unread`) withholds the text too. */
|
|
133
|
+
function heldIn(seen, secrets, shown) {
|
|
134
|
+
return seen.unread || valueMatcher(secrets)(shown) || valueLeft(seen.raw, secrets, seen.cuts) || secretShapes(seen.shapes).length > 0;
|
|
135
|
+
}
|
|
136
|
+
/** `text` read in pieces as redactedAnswer says (pieceEnd), each redacted by itself: what the pieces show, joined, and
|
|
137
|
+
* what the pass after them reads (heldIn): each piece as it came and the spans its redaction cut, and each piece
|
|
138
|
+
* redacted, with the head of each unread run put back (covered, as it came; redacted by itself before its "[redacted]"
|
|
139
|
+
* for the shapes). A run runCut cut that then goes on past a piece with
|
|
140
|
+
* no place to cut is unread from its start, the pieces of it already read taken back, so no piece shows the head of a
|
|
141
|
+
* value or a shape the cut split. With `enough`, no piece is read once the pieces show more than `enough` characters,
|
|
142
|
+
* and the text where they stopped, `hold` characters the matcher sees of it (peek), goes to the pass the same way.
|
|
143
|
+
* Each piece is redacted, then shown as `show` makes it: `out` is what the pieces show, the pass reads them unshown. */
|
|
144
|
+
function inPieces(text, secrets, enough = Number.POSITIVE_INFINITY, show = (piece) => piece) {
|
|
145
|
+
const hold = 6 * secrets.reduce((most, value) => Math.max(most, value.length), 0) + 16;
|
|
146
|
+
const out = [];
|
|
147
|
+
const shapes = [];
|
|
148
|
+
const reads = [];
|
|
149
|
+
let shown = 0;
|
|
150
|
+
let unread = false;
|
|
151
|
+
// The run runCut is cutting: where it starts in `text`, and its first piece's index in `out`.
|
|
152
|
+
let run;
|
|
153
|
+
let from = 0;
|
|
154
|
+
// Also stops past 4 × `enough` characters read: text that shows as almost nothing (URLs whose queries are elided) is
|
|
155
|
+
// not read to its end. Where it stops, the peek reads on as at any stop.
|
|
156
|
+
while (from < text.length && shown <= enough && from <= 4 * enough) {
|
|
157
|
+
const to = pieceEnd(text, from);
|
|
158
|
+
const raw = text.slice(from, to);
|
|
159
|
+
if (raw.length > ANSWER_PIECE) {
|
|
160
|
+
const start = run?.from ?? from;
|
|
161
|
+
if (run) {
|
|
162
|
+
for (const part of out.splice(run.at))
|
|
163
|
+
shown -= part.length;
|
|
164
|
+
shapes.splice(run.at);
|
|
165
|
+
reads.splice(run.at);
|
|
106
166
|
}
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
to = from + before + 1;
|
|
115
|
-
else {
|
|
116
|
-
const next = text.slice(to).search(/\s/);
|
|
117
|
-
to = next < 0 ? text.length : to + next;
|
|
118
|
-
parts.push(to - from > ANSWER_PIECE ? "[redacted]" : redactSecrets(text.slice(from, to), secrets, Buffer.byteLength(text.slice(from, to))));
|
|
119
|
-
from = to;
|
|
120
|
-
continue;
|
|
121
|
-
}
|
|
167
|
+
const head = peek(text, start, hold);
|
|
168
|
+
if (head === undefined)
|
|
169
|
+
unread = true;
|
|
170
|
+
else {
|
|
171
|
+
shapes.push(`${redactSecrets(head, secrets, Buffer.byteLength(head))}[redacted]`);
|
|
172
|
+
// The run is shown as "[redacted]": all of its head is covered.
|
|
173
|
+
reads.push({ text: head, cuts: head ? [[0, head.length]] : [] });
|
|
122
174
|
}
|
|
175
|
+
out.push("[redacted]");
|
|
176
|
+
shown += "[redacted]".length;
|
|
177
|
+
run = undefined;
|
|
178
|
+
}
|
|
179
|
+
else {
|
|
180
|
+
const cut = cutSecrets(raw, secrets, Buffer.byteLength(raw));
|
|
181
|
+
const part = cut === "whole" ? "[redacted]" : cut.out;
|
|
182
|
+
reads.push({ text: raw, cuts: cut === "whole" ? [[0, raw.length]] : cut.spans });
|
|
183
|
+
// A piece that ends inside a run (runCut's): its run goes on in the next piece.
|
|
184
|
+
if (to < text.length && /\S/.test(text[to - 1] ?? "") && /\S/.test(text[to] ?? ""))
|
|
185
|
+
run ??= { from, at: out.length };
|
|
186
|
+
else
|
|
187
|
+
run = undefined;
|
|
188
|
+
const showsAs = show(part);
|
|
189
|
+
out.push(showsAs);
|
|
190
|
+
shapes.push(part);
|
|
191
|
+
shown += showsAs.length;
|
|
123
192
|
}
|
|
124
|
-
const piece = text.slice(from, to);
|
|
125
|
-
parts.push(redactSecrets(piece, secrets, Buffer.byteLength(piece)));
|
|
126
193
|
from = to;
|
|
127
194
|
}
|
|
128
|
-
|
|
129
|
-
|
|
195
|
+
if (from < text.length) {
|
|
196
|
+
// Stopped inside a run runCut cut: the rest of it, to its next whitespace (at most a piece), goes to the pass too.
|
|
197
|
+
const space = run ? text.slice(from, from + ANSWER_PIECE).search(/\s/) : 0;
|
|
198
|
+
const runTo = from + (space < 0 ? ANSWER_PIECE : space);
|
|
199
|
+
const ahead = peek(text, from, hold);
|
|
200
|
+
if (ahead === undefined)
|
|
201
|
+
unread = true;
|
|
202
|
+
else {
|
|
203
|
+
const rest = runTo > from + ahead.length ? text.slice(from, runTo) : ahead;
|
|
204
|
+
shapes.push(redactSecrets(rest, secrets, Buffer.byteLength(rest)));
|
|
205
|
+
reads.push({ text: rest, cuts: [] });
|
|
206
|
+
}
|
|
207
|
+
}
|
|
208
|
+
// The reads joined by line breaks, each one's cuts moved to where it stands in the join. The matcher's views read a
|
|
209
|
+
// line break as nothing, so a value whole across two pieces is no form found as it stands there, and is left.
|
|
210
|
+
let raw = "";
|
|
211
|
+
const cuts = [];
|
|
212
|
+
reads.forEach((read, at) => {
|
|
213
|
+
if (at > 0)
|
|
214
|
+
raw += "\n";
|
|
215
|
+
for (const [start, end] of read.cuts)
|
|
216
|
+
cuts.push([raw.length + start, raw.length + end]);
|
|
217
|
+
raw += read.text;
|
|
218
|
+
});
|
|
219
|
+
return { out: out.join(""), seen: { raw, cuts, shapes: shapes.join(""), unread }, short: from < text.length && shown <= enough };
|
|
220
|
+
}
|
|
221
|
+
/** text from `from` on, as far as `count` characters the matcher sees (all of it, if it holds fewer), each run of
|
|
222
|
+
* whitespace in it one space. The matcher reads "+" as a space and decodes percent-encoded bytes, so a "+" and an
|
|
223
|
+
* encoded byte that decodes to whitespace count no more than whitespace does: padding of either never hides the rest
|
|
224
|
+
* of a value split before it. Undefined, so the caller withholds the text, when that takes more than a piece of text
|
|
225
|
+
* (a run of whitespace counted as one): no redaction pass reads more than a piece. */
|
|
226
|
+
function peek(text, from, count) {
|
|
227
|
+
const parts = [];
|
|
228
|
+
let span = 0;
|
|
229
|
+
let found = 0;
|
|
230
|
+
for (let at = from; at < text.length && found < count;) {
|
|
231
|
+
SPACES.lastIndex = at;
|
|
232
|
+
let end = SPACES.test(text) ? SPACES.lastIndex : at;
|
|
233
|
+
if (end > at) {
|
|
234
|
+
parts.push(" ");
|
|
235
|
+
span++;
|
|
236
|
+
}
|
|
237
|
+
else {
|
|
238
|
+
while (end - at <= ANSWER_PIECE && text[end] === "%" && HEX_PAIR.test(text.slice(end + 1, end + 3)))
|
|
239
|
+
end += 3;
|
|
240
|
+
if (end > at)
|
|
241
|
+
found += Buffer.from(text.slice(at, end).replaceAll("%", ""), "hex").toString("utf8").replace(/\s+/g, "").length;
|
|
242
|
+
else {
|
|
243
|
+
end = at + 1;
|
|
244
|
+
if (text[at] !== "+")
|
|
245
|
+
found++;
|
|
246
|
+
}
|
|
247
|
+
parts.push(text.slice(at, end));
|
|
248
|
+
span += end - at;
|
|
249
|
+
}
|
|
250
|
+
if (span > ANSWER_PIECE)
|
|
251
|
+
return undefined;
|
|
252
|
+
at = end;
|
|
253
|
+
}
|
|
254
|
+
return parts.join("");
|
|
255
|
+
}
|
|
256
|
+
const SPACES = /\s+/y;
|
|
257
|
+
const HEX_PAIR = /^[0-9A-Fa-f]{2}$/;
|
|
258
|
+
/** Where the piece of `text` read from `from` ends: at its last whitespace before ANSWER_PIECE characters; with none, at
|
|
259
|
+
* runCut's place, else at the next whitespace (a run read as one, or unread past ANSWER_PIECE). */
|
|
260
|
+
function pieceEnd(text, from) {
|
|
261
|
+
const to = Math.min(text.length, from + ANSWER_PIECE);
|
|
262
|
+
if (to === text.length)
|
|
263
|
+
return to;
|
|
264
|
+
const head = text.slice(from, to);
|
|
265
|
+
const space = head.search(/\s[^\s]*$/);
|
|
266
|
+
if (space <= 0) {
|
|
267
|
+
const cut = runCut(text, from, to);
|
|
268
|
+
return cut > from ? cut : runEnd(text, to);
|
|
269
|
+
}
|
|
270
|
+
const end = from + space + 1;
|
|
271
|
+
// A cut after a Bearer scheme would leave its token at the head of the next piece, where no shape reads it (the shape
|
|
272
|
+
// is the scheme, then the token). The cut moves back to the whitespace before the scheme; with none in this piece, the
|
|
273
|
+
// scheme and its token are read as one run, to the next whitespace, as a run with no whitespace is.
|
|
274
|
+
if (!endsInScheme(text.slice(from, end)))
|
|
275
|
+
return end;
|
|
276
|
+
const before = text.slice(from, end).trimEnd().search(/\s[^\s]*$/);
|
|
277
|
+
return before > 0 ? from + before + 1 : runEnd(text, end);
|
|
278
|
+
}
|
|
279
|
+
/** The next whitespace in `text` at or after `at`, or its end. */
|
|
280
|
+
function runEnd(text, at) {
|
|
281
|
+
const next = text.slice(at).search(/\s/);
|
|
282
|
+
return next < 0 ? text.length : at + next;
|
|
283
|
+
}
|
|
284
|
+
/** Where a run with no whitespace in text[from, to) may be cut, or -1: after the last quote in it that ends a JSON
|
|
285
|
+
* string (no backslash before it; a comma, colon or closing bracket after it) and is in no URL's authority
|
|
286
|
+
* (authorities); or, a run of a JSON array's numbers only, after its last comma. The one secret shape that may hold a
|
|
287
|
+
* quote is a URL's user and password, so no cut splits a shape, whatever its length: a run with no other place to cut
|
|
288
|
+
* is read to its end, or unread from its start. A held value cut there still shows to the pass over the joined pieces
|
|
289
|
+
* (heldIn), and withholds the text whole. Each search keeps to text[from, to), but for where a URL's authority ends,
|
|
290
|
+
* which is read once per URL, to the end of its run at most. */
|
|
291
|
+
function runCut(text, from, to) {
|
|
292
|
+
const head = text.slice(from, to);
|
|
293
|
+
const urls = authorities(text, from, head);
|
|
294
|
+
let url = urls.length - 1;
|
|
295
|
+
for (let at = head.lastIndexOf('"'); at >= 0; at = at > 0 ? head.lastIndexOf('"', at - 1) : -1) {
|
|
296
|
+
// The authority starting last before this quote, the one it could be in: they do not overlap.
|
|
297
|
+
while (url >= 0 && urls[url][0] >= at)
|
|
298
|
+
url--;
|
|
299
|
+
const inUrl = url >= 0 && at < urls[url][1];
|
|
300
|
+
if (!inUrl && (at > 0 ? head[at - 1] : text[from - 1]) !== "\\" && /[,:\]}]/.test(text[from + at + 1] ?? ""))
|
|
301
|
+
return from + at + 1;
|
|
302
|
+
}
|
|
303
|
+
const comma = head.lastIndexOf(",");
|
|
304
|
+
return comma > 0 && /^\s?[-+.\deE,[\]{}:]+$/.test(head) ? from + comma + 1 : -1;
|
|
305
|
+
}
|
|
306
|
+
/** Each URL authority in `head` (text from `from`) that holds a user and password, as [start, end) in `head`: from its
|
|
307
|
+
* "://" to the "@" that ends it, past the head's end if need be. One whose first whitespace, "/", "?" or "#" comes
|
|
308
|
+
* before any "@" (a URL with no password, then the rest of the JSON it is in) holds none, so none of it is kept whole. */
|
|
309
|
+
function authorities(text, from, head) {
|
|
310
|
+
const found = [];
|
|
311
|
+
const stop = /[\s/?#@]/g;
|
|
312
|
+
for (let at = head.indexOf("://"); at >= 0; at = head.indexOf("://", at)) {
|
|
313
|
+
stop.lastIndex = from + at + 3;
|
|
314
|
+
const hit = stop.exec(text);
|
|
315
|
+
const end = (hit?.index ?? text.length) - from;
|
|
316
|
+
if (hit?.[0] === "@")
|
|
317
|
+
found.push([at, end]);
|
|
318
|
+
if (end >= head.length)
|
|
319
|
+
break;
|
|
320
|
+
// Past an "@", on; past any other stop, from the character before it: a "/" may be the first of the next "://".
|
|
321
|
+
at = hit?.[0] === "@" ? end : end - 1;
|
|
322
|
+
}
|
|
323
|
+
return found;
|
|
130
324
|
}
|
|
131
325
|
/** Whether a number shows a held value. A held value can be all digits (a gateway's key), and a record or a call's
|
|
132
326
|
* arguments can quote it as a number: one whose digits hold a held value, by the same rule as a string's, is held. A
|