Never stop coding. Free MIT AI gateway: one endpoint, 375 providers (150+ free), 1,400+ models Kimi, Claude, GPT, Gemini, GLM, DeepSeek, MiniMax. Works with Claude Code, Codex, Cursor, OpenCode, Cline & Copilot. Quota-aware auto-fallback, RTK+Caveman compression saves 15-95% tokens, MCP/A2A, Desktop/PWA. Built by 900+ contributors
TypeScript a2aai-agentsai-gatewayanthropicclaudeclaude-codeclinecodexcopilotcursordeepseekfree-aigeminikimillm-gatewaymcpopenaiopenai-proxyqwentoken-saver
chore(docs): add npm run docs:render-diagrams and export SVGs
diegosouzapw519fdf41b84d
diff --git a/docs/diagrams/exported/authz-pipeline.svg b/docs/diagrams/exported/authz-pipeline.svgnew file mode 100644index 0000000000..cf29408a46--- /dev/null+++ b/docs/diagrams/exported/authz-pipeline.svg@@ -0,0 +1 @@+<svg id="my-svg" width="100%" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" class="flowchart" style="max-width: 2595.44px; background-color: white;" viewBox="0 0 2595.4375 596" role="graphics-document document" aria-roledescription="flowchart-v2"><style>#my-svg{font-family:"trebuchet ms",verdana,arial,sans-serif;font-size:16px;fill:#333;}@keyframes edge-animation-frame{from{stroke-dashoffset:0;}}@keyframes dash{to{stroke-dashoffset:0;}}#my-svg .edge-animation-slow{stroke-dasharray:9,5!important;stroke-dashoffset:900;animation:dash 50s linear infinite;stroke-linecap:round;}#my-svg .edge-animation-fast{stroke-dasharray:9,5!important;stroke-dashoffset:900;animation:dash 20s linear infinite;stroke-linecap:round;}#my-svg .error-icon{fill:#552222;}#my-svg .error-text{fill:#552222;stroke:#552222;}#my-svg .edge-thickness-normal{stroke-width:1px;}#my-svg .edge-thickness-thick{stroke-width:3.5px;}#my-svg .edge-pattern-solid{stroke-dasharray:0;}#my-svg .edge-thickness-invisible{stroke-width:0;fill:none;}#my-svg .edge-pattern-dashed{stroke-dasharray:3;}#my-svg .edge-pattern-dotted{stroke-dasharray:2;}#my-svg .marker{fill:#333333;stroke:#333333;}#my-svg .marker.cross{stroke:#333333;}#my-svg svg{font-family:"trebuchet ms",verdana,arial,sans-serif;font-size:16px;}#my-svg p{margin:0;}#my-svg .label{font-family:"trebuchet ms",verdana,arial,sans-serif;color:#333;}#my-svg .cluster-label text{fill:#333;}#my-svg .cluster-label span{color:#333;}#my-svg .cluster-label span p{background-color:transparent;}#my-svg .label text,#my-svg span{fill:#333;color:#333;}#my-svg .node rect,#my-svg .node circle,#my-svg .node ellipse,#my-svg .node polygon,#my-svg .node path{fill:#ECECFF;stroke:#9370DB;stroke-width:1px;}#my-svg .rough-node .label text,#my-svg .node .label text,#my-svg .image-shape .label,#my-svg .icon-shape .label{text-anchor:middle;}#my-svg .node .katex path{fill:#000;stroke:#000;stroke-width:1px;}#my-svg .rough-node .label,#my-svg .node .label,#my-svg .image-shape .label,#my-svg .icon-shape .label{text-align:center;}#my-svg .node.clickable{cursor:pointer;}#my-svg .root .anchor path{fill:#333333!important;stroke-width:0;stroke:#333333;}#my-svg .arrowheadPath{fill:#333333;}#my-svg .edgePath .path{stroke:#333333;stroke-width:1px;}#my-svg .flowchart-link{stroke:#333333;fill:none;}#my-svg .edgeLabel{background-color:rgba(232,232,232, 0.8);text-align:center;}#my-svg .edgeLabel p{background-color:rgba(232,232,232, 0.8);}#my-svg .edgeLabel rect{opacity:0.5;background-color:rgba(232,232,232, 0.8);fill:rgba(232,232,232, 0.8);}#my-svg .labelBkg{background-color:rgba(232, 232, 232, 0.5);}#my-svg .cluster rect{fill:#ffffde;stroke:#aaaa33;stroke-width:1px;}#my-svg .cluster text{fill:#333;}#my-svg .cluster span{color:#333;}#my-svg div.mermaidTooltip{position:absolute;text-align:center;max-width:200px;padding:2px;font-family:"trebuchet ms",verdana,arial,sans-serif;font-size:12px;background:hsl(80, 100%, 96.2745098039%);border:1px solid #aaaa33;border-radius:2px;pointer-events:none;z-index:100;}#my-svg .flowchartTitleText{text-anchor:middle;font-size:18px;fill:#333;}#my-svg rect.text{fill:none;stroke-width:0;}#my-svg .icon-shape,#my-svg .image-shape{background-color:rgba(232,232,232, 0.8);text-align:center;}#my-svg .icon-shape p,#my-svg .image-shape p{background-color:rgba(232,232,232, 0.8);padding:2px;}#my-svg .icon-shape .label rect,#my-svg .image-shape .label rect{opacity:0.5;background-color:rgba(232,232,232, 0.8);fill:rgba(232,232,232, 0.8);}#my-svg .label-icon{display:inline-block;height:1em;overflow:visible;vertical-align:-0.125em;}#my-svg .node .label-icon path{fill:currentColor;stroke:revert;stroke-width:revert;}#my-svg .node .neo-node{stroke:#9370DB;}#my-svg [data-look="neo"].node rect,#my-svg [data-look="neo"].cluster rect,#my-svg [data-look="neo"].node polygon{stroke:#9370DB;filter:drop-shadow(1px 2px 2px rgba(185, 185, 185, 1));}#my-svg [data-look="neo"].node path{stroke:#9370DB;stroke-width:1px;}#my-svg [data-look="neo"].node .outer-path{filter:drop-shadow(1px 2px 2px rgba(185, 185, 185, 1));}#my-svg [data-look="neo"].node .neo-line path{stroke:#9370DB;filter:none;}#my-svg [data-look="neo"].node circle{stroke:#9370DB;filter:drop-shadow(1px 2px 2px rgba(185, 185, 185, 1));}#my-svg [data-look="neo"].node circle .state-start{fill:#000000;}#my-svg [data-look="neo"].icon-shape .icon{fill:#9370DB;filter:drop-shadow(1px 2px 2px rgba(185, 185, 185, 1));}#my-svg [data-look="neo"].icon-shape .icon-neo path{stroke:#9370DB;filter:drop-shadow(1px 2px 2px rgba(185, 185, 185, 1));}#my-svg :root{--mermaid-font-family:"trebuchet ms",verdana,arial,sans-serif;}</style><g><marker id="my-svg_flowchart-v2-pointEnd" class="marker flowchart-v2" viewBox="0 0 10 10" refX="5" refY="5" markerUnits="userSpaceOnUse" markerWidth="8" markerHeight="8" orient="auto"><path d="M 0 0 L 10 5 L 0 10 z" class="arrowMarkerPath" style="stroke-width: 1; stroke-dasharray: 1, 0;"/></marker><marker id="my-svg_flowchart-v2-pointStart" class="marker flowchart-v2" viewBox="0 0 10 10" refX="4.5" refY="5" markerUnits="userSpaceOnUse" markerWidth="8" markerHeight="8" orient="auto"><path d="M 0 5 L 10 10 L 10 0 z" class="arrowMarkerPath" style="stroke-width: 1; stroke-dasharray: 1, 0;"/></marker><marker id="my-svg_flowchart-v2-pointEnd-margin" class="marker flowchart-v2" viewBox="0 0 11.5 14" refX="11.5" refY="7" markerUnits="userSpaceOnUse" markerWidth="10.5" markerHeight="14" orient="auto"><path d="M 0 0 L 11.5 7 L 0 14 z" class="arrowMarkerPath" style="stroke-width: 0; stroke-dasharray: 1, 0;"/></marker><marker id="my-svg_flowchart-v2-pointStart-margin" class="marker flowchart-v2" viewBox="0 0 11.5 14" refX="1" refY="7" markerUnits="userSpaceOnUse" markerWidth="11.5" markerHeight="14" orient="auto"><polygon points="0,7 11.5,14 11.5,0" class="arrowMarkerPath" style="stroke-width: 0; stroke-dasharray: 1, 0;"/></marker><marker id="my-svg_flowchart-v2-circleEnd" class="marker flowchart-v2" viewBox="0 0 10 10" refX="11" refY="5" markerUnits="userSpaceOnUse" markerWidth="11" markerHeight="11" orient="auto"><circle cx="5" cy="5" r="5" class="arrowMarkerPath" style="stroke-width: 1; stroke-dasharray: 1, 0;"/></marker><marker id="my-svg_flowchart-v2-circleStart" class="marker flowchart-v2" viewBox="0 0 10 10" refX="-1" refY="5" markerUnits="userSpaceOnUse" markerWidth="11" markerHeight="11" orient="auto"><circle cx="5" cy="5" r="5" class="arrowMarkerPath" style="stroke-width: 1; stroke-dasharray: 1, 0;"/></marker><marker id="my-svg_flowchart-v2-circleEnd-margin" class="marker flowchart-v2" viewBox="0 0 10 10" refY="5" refX="12.25" markerUnits="userSpaceOnUse" markerWidth="14" markerHeight="14" orient="auto"><circle cx="5" cy="5" r="5" class="arrowMarkerPath" style="stroke-width: 0; stroke-dasharray: 1, 0;"/></marker><marker id="my-svg_flowchart-v2-circleStart-margin" class="marker flowchart-v2" viewBox="0 0 10 10" refX="-2" refY="5" markerUnits="userSpaceOnUse" markerWidth="14" markerHeight="14" orient="auto"><circle cx="5" cy="5" r="5" class="arrowMarkerPath" style="stroke-width: 0; stroke-dasharray: 1, 0;"/></marker><marker id="my-svg_flowchart-v2-crossEnd" class="marker cross flowchart-v2" viewBox="0 0 11 11" refX="12" refY="5.2" markerUnits="userSpaceOnUse" markerWidth="11" markerHeight="11" orient="auto"><path d="M 1,1 l 9,9 M 10,1 l -9,9" class="arrowMarkerPath" style="stroke-width: 2; stroke-dasharray: 1, 0;"/></marker><marker id="my-svg_flowchart-v2-crossStart" class="marker cross flowchart-v2" viewBox="0 0 11 11" refX="-1" refY="5.2" markerUnits="userSpaceOnUse" markerWidth="11" markerHeight="11" orient="auto"><path d="M 1,1 l 9,9 M 10,1 l -9,9" class="arrowMarkerPath" style="stroke-width: 2; stroke-dasharray: 1, 0;"/></marker><marker id="my-svg_flowchart-v2-crossEnd-margin" class="marker cross flowchart-v2" viewBox="0 0 15 15" refX="17.7" refY="7.5" markerUnits="userSpaceOnUse" markerWidth="12" markerHeight="12" orient="auto"><path d="M 1,1 L 14,14 M 1,14 L 14,1" class="arrowMarkerPath" style="stroke-width: 2.5;"/></marker><marker id="my-svg_flowchart-v2-crossStart-margin" class="marker cross flowchart-v2" viewBox="0 0 15 15" refX="-3.5" refY="7.5" markerUnits="userSpaceOnUse" markerWidth="12" markerHeight="12" orient="auto"><path d="M 1,1 L 14,14 M 1,14 L 14,1" class="arrowMarkerPath" style="stroke-width: 2.5; stroke-dasharray: 1, 0;"/></marker><g class="root"><g class="clusters"/><g class="edgePaths"><path d="M190.734,171L194.901,171C199.068,171,207.401,171,215.068,171C222.734,171,229.734,171,233.234,171L236.734,171" id="my-svg-L_Req_Strip_0" class="edge-thickness-normal edge-pattern-solid edge-thickness-normal edge-pattern-solid flowchart-link" style=";" data-edge="true" data-et="edge" data-id="L_Req_Strip_0" data-points="W3sieCI6MTkwLjczNDM3NSwieSI6MTcxfSx7IngiOjIxNS43MzQzNzUsInkiOjE3MX0seyJ4IjoyNDAuNzM0Mzc1LCJ5IjoxNzF9XQ==" data-look="classic" marker-end="url(#my-svg_flowchart-v2-pointEnd)"/><path d="M500.734,171L504.901,171C509.068,171,517.401,171,525.068,171C532.734,171,539.734,171,543.234,171L546.734,171" id="my-svg-L_Strip_Classify_0" class="edge-thickness-normal edge-pattern-solid edge-thickness-normal edge-pattern-solid flowchart-link" style=";" data-edge="true" data-et="edge" data-id="L_Strip_Classify_0" data-points="W3sieCI6NTAwLjczNDM3NSwieSI6MTcxfSx7IngiOjUyNS43MzQzNzUsInkiOjE3MX0seyJ4Ijo1NTAuNzM0Mzc1LCJ5IjoxNzF9XQ==" data-look="classic" marker-end="url(#my-svg_flowchart-v2-pointEnd)"/><path d="M667.108,144L687.147,127.833C707.187,111.667,747.265,79.333,793.219,63.167C839.172,47,891,47,944.751,47C998.503,47,1054.177,47,1110.445,47C1166.714,47,1223.576,47,1287.74,47C1351.904,47,1423.37,47,1483.75,47C1544.13,47,1593.424,47,1618.072,47L1642.719,47" id="my-svg-L_Classify_PubP_0" class="edge-thickness-normal edge-pattern-solid edge-thickness-normal edge-pattern-solid flowchart-link" style=";" data-edge="true" data-et="edge" data-id="L_Classify_PubP_0" data-points="W3sieCI6NjY3LjEwODI0MDkyNzQxOTQsInkiOjE0NH0seyJ4Ijo3ODcuMzQzNzUsInkiOjQ3fSx7IngiOjk0Mi44MjgxMjUsInkiOjQ3fSx7IngiOjExMDkuODUxNTYyNSwieSI6NDd9LHsieCI6MTI4MC40Mzc1LCJ5Ijo0N30seyJ4IjoxNDk0LjgzNTkzNzUsInkiOjQ3fSx7IngiOjE2NDYuNzE4NzUsInkiOjQ3fV0=" data-look="classic" marker-end="url(#my-svg_flowchart-v2-pointEnd)"/><path d="M716.547,171L728.346,171C740.146,171,763.745,171,786.677,171C809.609,171,831.875,171,843.008,171L854.141,171" id="my-svg-L_Classify_CliP_0" class="edge-thickness-normal edge-pattern-solid edge-thickness-normal edge-pattern-solid flowchart-link" style=";" data-edge="true" data-et="edge" data-id="L_Classify_CliP_0" data-points="W3sieCI6NzE2LjU0Njg3NSwieSI6MTcxfSx7IngiOjc4Ny4zNDM3NSwieSI6MTcxfSx7IngiOjg1OC4xNDA2MjUsInkiOjE3MX1d" data-look="classic" marker-end="url(#my-svg_flowchart-v2-pointEnd)"/><path d="M649.126,198L672.162,238.167C695.198,278.333,741.271,358.667,790.221,398.833C839.172,439,891,439,944.751,439C998.503,439,1054.177,439,1110.445,439C1166.714,439,1223.576,439,1287.74,439C1351.904,439,1423.37,439,1479.461,439C1535.552,439,1576.268,439,1596.626,439L1616.984,439" id="my-svg-L_Classify_MgmtP_0" class="edge-thickness-normal edge-pattern-solid edge-thickness-normal edge-pattern-solid flowchart-link" style=";" data-edge="true" data-et="edge" data-id="L_Classify_MgmtP_0" data-points="W3sieCI6NjQ5LjEyNTY0MTMyNDYyNjgsInkiOjE5OH0seyJ4Ijo3ODcuMzQzNzUsInkiOjQzOX0seyJ4Ijo5NDIuODI4MTI1LCJ5Ijo0Mzl9LHsieCI6MTEwOS44NTE1NjI1LCJ5Ijo0Mzl9LHsieCI6MTI4MC40Mzc1LCJ5Ijo0Mzl9LHsieCI6MTQ5NC44MzU5Mzc1LCJ5Ijo0Mzl9LHsieCI6MTYyMC45ODQzNzUsInkiOjQzOX1d" data-look="classic" marker-end="url(#my-svg_flowchart-v2-pointEnd)"/><path d="M1855.25,47L1878.529,47C1901.807,47,1948.365,47,2004.656,84.003C2060.947,121.005,2126.971,195.01,2159.983,232.013L2192.996,269.015" id="my-svg-L_PubP_Stamp_0" class="edge-thickness-normal edge-pattern-solid edge-thickness-normal edge-pattern-solid flowchart-link" style=";" data-edge="true" data-et="edge" data-id="L_PubP_Stamp_0" data-points="W3sieCI6MTg1NS4yNSwieSI6NDd9LHsieCI6MTk5NC45MjE4NzUsInkiOjQ3fSx7IngiOjIxOTUuNjU4NzM1Nzk1NDU0NSwieSI6MjcyfV0=" data-look="classic" marker-end="url(#my-svg_flowchart-v2-pointEnd)"/><path d="M1027.516,171L1041.238,171C1054.961,171,1082.406,171,1109.185,171C1135.964,171,1162.076,171,1175.132,171L1188.188,171" id="my-svg-L_CliP_Validate_0" class="edge-thickness-normal edge-pattern-solid edge-thickness-normal edge-pattern-solid flowchart-link" style=";" data-edge="true" data-et="edge" data-id="L_CliP_Validate_0" data-points="W3sieCI6MTAyNy41MTU2MjUsInkiOjE3MX0seyJ4IjoxMTA5Ljg1MTU2MjUsInkiOjE3MX0seyJ4IjoxMTkyLjE4NzUsInkiOjE3MX1d" data-look="classic" marker-end="url(#my-svg_flowchart-v2-pointEnd)"/><path d="M1368.688,155.359L1389.712,151.632C1410.737,147.906,1452.786,140.453,1516.503,136.726C1580.219,133,1665.602,133,1748.949,133C1832.297,133,1913.609,133,1984.388,155.765C2055.167,178.529,2115.412,224.059,2145.534,246.824L2175.657,269.588" id="my-svg-L_Validate_Stamp_0" class="edge-thickness-normal edge-pattern-solid edge-thickness-normal edge-pattern-solid flowchart-link" style=";" data-edge="true" data-et="edge" data-id="L_Validate_Stamp_0" data-points="W3sieCI6MTM2OC42ODc1LCJ5IjoxNTUuMzU4NTYxMzgxNzczMTR9LHsieCI6MTQ5NC44MzU5Mzc1LCJ5IjoxMzN9LHsieCI6MTc1MC45ODQzNzUsInkiOjEzM30seyJ4IjoxOTk0LjkyMTg3NSwieSI6MTMzfSx7IngiOjIxNzguODQ3OTYzNDgzMTQ2LCJ5IjoyNzJ9XQ==" data-look="classic" marker-end="url(#my-svg_flowchart-v2-pointEnd)"/><path d="M1368.688,185.818L1389.712,189.349C1410.737,192.879,1452.786,199.939,1501.719,203.47C1550.651,207,1606.466,207,1634.374,207L1662.281,207" id="my-svg-L_Validate_Reject401_0" class="edge-thickness-normal edge-pattern-solid edge-thickness-normal edge-pattern-solid flowchart-link" style=";" data-edge="true" data-et="edge" data-id="L_Validate_Reject401_0" data-points="W3sieCI6MTM2OC42ODc1LCJ5IjoxODUuODE4MjA1MDA2NzQxMjR9LHsieCI6MTQ5NC44MzU5Mzc1LCJ5IjoyMDd9LHsieCI6MTY2Ni4yODEyNSwieSI6MjA3fV0=" data-look="classic" marker-end="url(#my-svg_flowchart-v2-pointEnd)"/><path d="M1321.786,198L1350.627,216.833C1379.469,235.667,1437.153,273.333,1489.528,292.167C1541.904,311,1588.971,311,1612.505,311L1636.039,311" id="my-svg-L_Validate_Anon_0" class="edge-thickness-normal edge-pattern-solid edge-thickness-normal edge-pattern-solid flowchart-link" style=";" data-edge="true" data-et="edge" data-id="L_Validate_Anon_0" data-points="W3sieCI6MTMyMS43ODU3NzAwODkyODU3LCJ5IjoxOTh9LHsieCI6MTQ5NC44MzU5Mzc1LCJ5IjozMTF9LHsieCI6MTY0MC4wMzkwNjI1LCJ5IjozMTF9XQ==" data-look="classic" marker-end="url(#my-svg_flowchart-v2-pointEnd)"/><path d="M1861.93,311L1884.095,311C1906.26,311,1950.591,311,1991.079,311C2031.568,311,2068.214,311,2086.536,311L2104.859,311" id="my-svg-L_Anon_Stamp_0" class="edge-thickness-normal edge-pattern-solid edge-thickness-normal edge-pattern-solid flowchart-link" style=";" data-edge="true" data-et="edge" data-id="L_Anon_Stamp_0" data-points="W3sieCI6MTg2MS45Mjk2ODc1LCJ5IjozMTF9LHsieCI6MTk5NC45MjE4NzUsInkiOjMxMX0seyJ4IjoyMTA4Ljg1OTM3NSwieSI6MzExfV0=" data-look="classic" marker-end="url(#my-svg_flowchart-v2-pointEnd)"/><path d="M1880.984,401.695L1899.974,396.246C1918.964,390.797,1956.943,379.898,1994.275,369.932C2031.606,359.966,2068.291,350.933,2086.633,346.416L2104.975,341.899" id="my-svg-L_MgmtP_Stamp_0" class="edge-thickness-normal edge-pattern-solid edge-thickness-normal edge-pattern-solid flowchart-link" style=";" data-edge="true" data-et="edge" data-id="L_MgmtP_Stamp_0" data-points="W3sieCI6MTg4MC45ODQzNzUsInkiOjQwMS42OTUzNjI1NDE2MzQ2fSx7IngiOjE5OTQuOTIxODc1LCJ5IjozNjl9LHsieCI6MjEwOC44NTkzNzUsInkiOjM0MC45NDI2ODI3NjUwMjU5fV0=" data-look="classic" marker-end="url(#my-svg_flowchart-v2-pointEnd)"/><path d="M1880.984,425.144L1899.974,423.12C1918.964,421.096,1956.943,417.048,1999.566,404.789C2042.19,392.53,2089.458,372.06,2113.092,361.825L2136.726,351.59" id="my-svg-L_MgmtP_Stamp_2" class="edge-thickness-normal edge-pattern-solid edge-thickness-normal edge-pattern-solid flowchart-link" style=";" data-edge="true" data-et="edge" data-id="L_MgmtP_Stamp_2" data-points="W3sieCI6MTg4MC45ODQzNzUsInkiOjQyNS4xNDM5OTE4MDExNzg2fSx7IngiOjE5OTQuOTIxODc1LCJ5Ijo0MTN9LHsieCI6MjE0MC4zOTcwNTg4MjM1MjkzLCJ5IjozNTB9XQ==" data-look="classic" marker-end="url(#my-svg_flowchart-v2-pointEnd)"/><path d="M1880.984,448.593L1899.974,449.994C1918.964,451.395,1956.943,454.198,2000.404,455.599C2043.865,457,2092.807,457,2117.279,457L2141.75,457" id="my-svg-L_MgmtP_Reject403_0" class="edge-thickness-normal edge-pattern-solid edge-thickness-normal edge-pattern-solid flowchart-link" style=";" data-edge="true" data-et="edge" data-id="L_MgmtP_Reject403_0" data-points="W3sieCI6MTg4MC45ODQzNzUsInkiOjQ0OC41OTI2MjEwNjA3MjI1NH0seyJ4IjoxOTk0LjkyMTg3NSwieSI6NDU3fSx7IngiOjIxNDUuNzUsInkiOjQ1N31d" data-look="classic" marker-end="url(#my-svg_flowchart-v2-pointEnd)"/><path d="M1852.958,490L1876.619,501.833C1900.279,513.667,1947.601,537.333,1995.731,549.167C2043.862,561,2092.802,561,2117.272,561L2141.742,561" id="my-svg-L_MgmtP_Reject401Mgmt_0" class="edge-thickness-normal edge-pattern-solid edge-thickness-normal edge-pattern-solid flowchart-link" style=";" data-edge="true" data-et="edge" data-id="L_MgmtP_Reject401Mgmt_0" data-points="W3sieCI6MTg1Mi45NTgyNDc5NTA4MTk3LCJ5Ijo0OTB9LHsieCI6MTk5NC45MjE4NzUsInkiOjU2MX0seyJ4IjoyMTQ1Ljc0MjE4NzUsInkiOjU2MX1d" data-look="classic" marker-end="url(#my-svg_flowchart-v2-pointEnd)"/><path d="M2352.047,311L2356.214,311C2360.38,311,2368.714,311,2376.38,311C2384.047,311,2391.047,311,2394.547,311L2398.047,311" id="my-svg-L_Stamp_Handler_0" class="edge-thickness-normal edge-pattern-solid edge-thickness-normal edge-pattern-solid flowchart-link" style=";" data-edge="true" data-et="edge" data-id="L_Stamp_Handler_0" data-points="W3sieCI6MjM1Mi4wNDY4NzUsInkiOjMxMX0seyJ4IjoyMzc3LjA0Njg3NSwieSI6MzExfSx7IngiOjI0MDIuMDQ2ODc1LCJ5IjozMTF9XQ==" data-look="classic" marker-end="url(#my-svg_flowchart-v2-pointEnd)"/></g><g class="edgeLabels"><g class="edgeLabel"><g class="label" data-id="L_Req_Strip_0" transform="translate(0, 0)"><foreignObject width="0" height="0"><div xmlns="http://www.w3.org/1999/xhtml" class="labelBkg" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="edgeLabel"></span></div></foreignObject></g></g><g class="edgeLabel"><g class="label" data-id="L_Strip_Classify_0" transform="translate(0, 0)"><foreignObject width="0" height="0"><div xmlns="http://www.w3.org/1999/xhtml" class="labelBkg" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="edgeLabel"></span></div></foreignObject></g></g><g class="edgeLabel" transform="translate(1109.8515625, 47)"><g class="label" data-id="L_Classify_PubP_0" transform="translate(-28.8984375, -12)"><foreignObject width="57.796875" height="24"><div xmlns="http://www.w3.org/1999/xhtml" class="labelBkg" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="edgeLabel"><p>PUBLIC</p></span></div></foreignObject></g></g><g class="edgeLabel" transform="translate(787.34375, 171)"><g class="label" data-id="L_Classify_CliP_0" transform="translate(-45.796875, -12)"><foreignObject width="91.59375" height="24"><div xmlns="http://www.w3.org/1999/xhtml" class="labelBkg" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="edgeLabel"><p>CLIENT_API</p></span></div></foreignObject></g></g><g class="edgeLabel" transform="translate(1109.8515625, 439)"><g class="label" data-id="L_Classify_MgmtP_0" transform="translate(-57.3359375, -12)"><foreignObject width="114.671875" height="24"><div xmlns="http://www.w3.org/1999/xhtml" class="labelBkg" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="edgeLabel"><p>MANAGEMENT</p></span></div></foreignObject></g></g><g class="edgeLabel" transform="translate(1994.921875, 47)"><g class="label" data-id="L_PubP_Stamp_0" transform="translate(-18.234375, -12)"><foreignObject width="36.46875" height="24"><div xmlns="http://www.w3.org/1999/xhtml" class="labelBkg" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="edgeLabel"><p>allow</p></span></div></foreignObject></g></g><g class="edgeLabel" transform="translate(1109.8515625, 171)"><g class="label" data-id="L_CliP_Validate_0" transform="translate(-50.2421875, -12)"><foreignObject width="100.484375" height="24"><div xmlns="http://www.w3.org/1999/xhtml" class="labelBkg" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="edgeLabel"><p>extract Bearer</p></span></div></foreignObject></g></g><g class="edgeLabel" transform="translate(1750.984375, 133)"><g class="label" data-id="L_Validate_Stamp_0" transform="translate(-16.453125, -12)"><foreignObject width="32.90625" height="24"><div xmlns="http://www.w3.org/1999/xhtml" class="labelBkg" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="edgeLabel"><p>valid</p></span></div></foreignObject></g></g><g class="edgeLabel" transform="translate(1494.8359375, 207)"><g class="label" data-id="L_Validate_Reject401_0" transform="translate(-100, -24)"><foreignObject width="200" height="48"><div xmlns="http://www.w3.org/1999/xhtml" class="labelBkg" style="display: table; white-space: break-spaces; line-height: 1.5; max-width: 200px; text-align: center; width: 200px;"><span class="edgeLabel"><p>invalid (REQUIRE_API_KEY=true)</p></span></div></foreignObject></g></g><g class="edgeLabel" transform="translate(1494.8359375, 311)"><g class="label" data-id="L_Validate_Anon_0" transform="translate(-101.1484375, -24)"><foreignObject width="202.296875" height="48"><div xmlns="http://www.w3.org/1999/xhtml" class="labelBkg" style="display: table; white-space: break-spaces; line-height: 1.5; max-width: 200px; text-align: center; width: 200px;"><span class="edgeLabel"><p>absent (REQUIRE_API_KEY=false)</p></span></div></foreignObject></g></g><g class="edgeLabel"><g class="label" data-id="L_Anon_Stamp_0" transform="translate(0, 0)"><foreignObject width="0" height="0"><div xmlns="http://www.w3.org/1999/xhtml" class="labelBkg" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="edgeLabel"></span></div></foreignObject></g></g><g class="edgeLabel" transform="translate(1994.34776, 369.16475)"><g class="label" data-id="L_MgmtP_Stamp_0" transform="translate(-37.796875, -12)"><foreignObject width="75.59375" height="24"><div xmlns="http://www.w3.org/1999/xhtml" class="labelBkg" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="edgeLabel"><p>session ok</p></span></div></foreignObject></g></g><g class="edgeLabel" transform="translate(2015.08622, 404.26756)"><g class="label" data-id="L_MgmtP_Stamp_2" transform="translate(-88.9375, -12)"><foreignObject width="177.875" height="24"><div xmlns="http://www.w3.org/1999/xhtml" class="labelBkg" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="edgeLabel"><p>Bearer w/ manage scope</p></span></div></foreignObject></g></g><g class="edgeLabel" transform="translate(1994.921875, 457)"><g class="label" data-id="L_MgmtP_Reject403_0" transform="translate(-48.9140625, -12)"><foreignObject width="97.828125" height="24"><div xmlns="http://www.w3.org/1999/xhtml" class="labelBkg" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="edgeLabel"><p>Bearer invalid</p></span></div></foreignObject></g></g><g class="edgeLabel" transform="translate(1994.921875, 561)"><g class="label" data-id="L_MgmtP_Reject401Mgmt_0" transform="translate(-26.6953125, -12)"><foreignObject width="53.390625" height="24"><div xmlns="http://www.w3.org/1999/xhtml" class="labelBkg" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="edgeLabel"><p>no auth</p></span></div></foreignObject></g></g><g class="edgeLabel"><g class="label" data-id="L_Stamp_Handler_0" transform="translate(0, 0)"><foreignObject width="0" height="0"><div xmlns="http://www.w3.org/1999/xhtml" class="labelBkg" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="edgeLabel"></span></div></foreignObject></g></g></g><g class="nodes"><g class="node default" id="my-svg-flowchart-Req-0" data-look="classic" transform="translate(99.3671875, 171)"><rect class="basic label-container" style="" x="-91.3671875" y="-27" width="182.734375" height="54"/><g class="label" style="" transform="translate(-61.3671875, -12)"><rect/><foreignObject width="122.734375" height="24"><div xmlns="http://www.w3.org/1999/xhtml" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="nodeLabel"><p>Incoming request</p></span></div></foreignObject></g></g><g class="node default" id="my-svg-flowchart-Strip-1" data-look="classic" transform="translate(370.734375, 171)"><rect class="basic label-container" style="" x="-130" y="-51" width="260" height="102"/><g class="label" style="" transform="translate(-100, -36)"><rect/><foreignObject width="200" height="72"><div xmlns="http://www.w3.org/1999/xhtml" style="display: table; white-space: break-spaces; line-height: 1.5; max-width: 200px; text-align: center; width: 200px;"><span class="nodeLabel"><p>Strip trusted internal headers<br />(x-omniroute-auth-*)</p></span></div></foreignObject></g></g><g class="node default" id="my-svg-flowchart-Classify-3" data-look="classic" transform="translate(633.640625, 171)"><rect class="basic label-container" style="" x="-82.90625" y="-27" width="165.8125" height="54"/><g class="label" style="" transform="translate(-52.90625, -12)"><rect/><foreignObject width="105.8125" height="24"><div xmlns="http://www.w3.org/1999/xhtml" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="nodeLabel"><p>classifyRoute()</p></span></div></foreignObject></g></g><g class="node default" id="my-svg-flowchart-PubP-5" data-look="classic" transform="translate(1750.984375, 47)"><rect class="basic label-container" style="" x="-104.265625" y="-39" width="208.53125" height="78"/><g class="label" style="" transform="translate(-74.265625, -24)"><rect/><foreignObject width="148.53125" height="48"><div xmlns="http://www.w3.org/1999/xhtml" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="nodeLabel"><p>publicPolicy<br />(login, health, status)</p></span></div></foreignObject></g></g><g class="node default" id="my-svg-flowchart-CliP-7" data-look="classic" transform="translate(942.828125, 171)"><rect class="basic label-container" style="" x="-84.6875" y="-39" width="169.375" height="78"/><g class="label" style="" transform="translate(-54.6875, -24)"><rect/><foreignObject width="109.375" height="48"><div xmlns="http://www.w3.org/1999/xhtml" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="nodeLabel"><p>clientApiPolicy<br />(/api/v1/*, /v1/*)</p></span></div></foreignObject></g></g><g class="node default" id="my-svg-flowchart-MgmtP-9" data-look="classic" transform="translate(1750.984375, 439)"><rect class="basic label-container" style="" x="-130" y="-51" width="260" height="102"/><g class="label" style="" transform="translate(-100, -36)"><rect/><foreignObject width="200" height="72"><div xmlns="http://www.w3.org/1999/xhtml" style="display: table; white-space: break-spaces; line-height: 1.5; max-width: 200px; text-align: center; width: 200px;"><span class="nodeLabel"><p>managementPolicy<br />(dashboard, settings, admin)</p></span></div></foreignObject></g></g><g class="node default" id="my-svg-flowchart-Stamp-11" data-look="classic" transform="translate(2230.453125, 311)"><rect class="basic label-container" style="" x="-121.59375" y="-39" width="243.1875" height="78"/><g class="label" style="" transform="translate(-91.59375, -24)"><rect/><foreignObject width="183.1875" height="48"><div xmlns="http://www.w3.org/1999/xhtml" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="nodeLabel"><p>Stamp x-omniroute-auth-*<br />(kind / id / label / scopes)</p></span></div></foreignObject></g></g><g class="node default" id="my-svg-flowchart-Validate-13" data-look="classic" transform="translate(1280.4375, 171)"><rect class="basic label-container" style="" x="-88.25" y="-27" width="176.5" height="54"/><g class="label" style="" transform="translate(-58.25, -12)"><rect/><foreignObject width="116.5" height="24"><div xmlns="http://www.w3.org/1999/xhtml" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="nodeLabel"><p>validateApiKey()</p></span></div></foreignObject></g></g><g class="node default" id="my-svg-flowchart-Reject401-17" data-look="classic" transform="translate(1750.984375, 207)"><rect class="basic label-container" style="" x="-84.703125" y="-27" width="169.40625" height="54"/><g class="label" style="" transform="translate(-54.703125, -12)"><rect/><foreignObject width="109.40625" height="24"><div xmlns="http://www.w3.org/1999/xhtml" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="nodeLabel"><p>401 AUTH_002</p></span></div></foreignObject></g></g><g class="node default" id="my-svg-flowchart-Anon-19" data-look="classic" transform="translate(1750.984375, 311)"><rect class="basic label-container" style="" x="-110.9453125" y="-27" width="221.890625" height="54"/><g class="label" style="" transform="translate(-80.9453125, -12)"><rect/><foreignObject width="161.890625" height="24"><div xmlns="http://www.w3.org/1999/xhtml" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="nodeLabel"><p>anonymous fallthrough</p></span></div></foreignObject></g></g><g class="node default" id="my-svg-flowchart-Reject403-26" data-look="classic" transform="translate(2230.453125, 457)"><rect class="basic label-container" style="" x="-84.703125" y="-27" width="169.40625" height="54"/><g class="label" style="" transform="translate(-54.703125, -12)"><rect/><foreignObject width="109.40625" height="24"><div xmlns="http://www.w3.org/1999/xhtml" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="nodeLabel"><p>403 AUTH_001</p></span></div></foreignObject></g></g><g class="node default" id="my-svg-flowchart-Reject401Mgmt-28" data-look="classic" transform="translate(2230.453125, 561)"><rect class="basic label-container" style="" x="-84.7109375" y="-27" width="169.421875" height="54"/><g class="label" style="" transform="translate(-54.7109375, -12)"><rect/><foreignObject width="109.421875" height="24"><div xmlns="http://www.w3.org/1999/xhtml" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="nodeLabel"><p>401 / 302 /login</p></span></div></foreignObject></g></g><g class="node default" id="my-svg-flowchart-Handler-30" data-look="classic" transform="translate(2494.7421875, 311)"><rect class="basic label-container" style="" x="-92.6953125" y="-39" width="185.390625" height="78"/><g class="label" style="" transform="translate(-62.6953125, -24)"><rect/><foreignObject width="125.390625" height="48"><div xmlns="http://www.w3.org/1999/xhtml" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="nodeLabel"><p>Handler<br />(uses assertAuth)</p></span></div></foreignObject></g></g></g></g></g><defs><filter id="my-svg-drop-shadow" height="130%" width="130%"><feDropShadow dx="4" dy="4" stdDeviation="0" flood-opacity="0.06" flood-color="#000000"/></filter></defs><defs><filter id="my-svg-drop-shadow-small" height="150%" width="150%"><feDropShadow dx="2" dy="2" stdDeviation="0" flood-opacity="0.06" flood-color="#000000"/></filter></defs></svg>\ No newline at end of filediff --git a/docs/diagrams/exported/auto-combo-9factor.svg b/docs/diagrams/exported/auto-combo-9factor.svgnew file mode 100644index 0000000000..54e8ebb9c0--- /dev/null+++ b/docs/diagrams/exported/auto-combo-9factor.svg@@ -0,0 +1 @@+<svg id="my-svg" width="100%" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" class="flowchart" style="max-width: 310.172px; background-color: white;" viewBox="0 0 310.171875 1716" role="graphics-document document" aria-roledescription="flowchart-v2"><style>#my-svg{font-family:"trebuchet ms",verdana,arial,sans-serif;font-size:16px;fill:#333;}@keyframes edge-animation-frame{from{stroke-dashoffset:0;}}@keyframes dash{to{stroke-dashoffset:0;}}#my-svg .edge-animation-slow{stroke-dasharray:9,5!important;stroke-dashoffset:900;animation:dash 50s linear infinite;stroke-linecap:round;}#my-svg .edge-animation-fast{stroke-dasharray:9,5!important;stroke-dashoffset:900;animation:dash 20s linear infinite;stroke-linecap:round;}#my-svg .error-icon{fill:#552222;}#my-svg .error-text{fill:#552222;stroke:#552222;}#my-svg .edge-thickness-normal{stroke-width:1px;}#my-svg .edge-thickness-thick{stroke-width:3.5px;}#my-svg .edge-pattern-solid{stroke-dasharray:0;}#my-svg .edge-thickness-invisible{stroke-width:0;fill:none;}#my-svg .edge-pattern-dashed{stroke-dasharray:3;}#my-svg .edge-pattern-dotted{stroke-dasharray:2;}#my-svg .marker{fill:#333333;stroke:#333333;}#my-svg .marker.cross{stroke:#333333;}#my-svg svg{font-family:"trebuchet ms",verdana,arial,sans-serif;font-size:16px;}#my-svg p{margin:0;}#my-svg .label{font-family:"trebuchet ms",verdana,arial,sans-serif;color:#333;}#my-svg .cluster-label text{fill:#333;}#my-svg .cluster-label span{color:#333;}#my-svg .cluster-label span p{background-color:transparent;}#my-svg .label text,#my-svg span{fill:#333;color:#333;}#my-svg .node rect,#my-svg .node circle,#my-svg .node ellipse,#my-svg .node polygon,#my-svg .node path{fill:#ECECFF;stroke:#9370DB;stroke-width:1px;}#my-svg .rough-node .label text,#my-svg .node .label text,#my-svg .image-shape .label,#my-svg .icon-shape .label{text-anchor:middle;}#my-svg .node .katex path{fill:#000;stroke:#000;stroke-width:1px;}#my-svg .rough-node .label,#my-svg .node .label,#my-svg .image-shape .label,#my-svg .icon-shape .label{text-align:center;}#my-svg .node.clickable{cursor:pointer;}#my-svg .root .anchor path{fill:#333333!important;stroke-width:0;stroke:#333333;}#my-svg .arrowheadPath{fill:#333333;}#my-svg .edgePath .path{stroke:#333333;stroke-width:1px;}#my-svg .flowchart-link{stroke:#333333;fill:none;}#my-svg .edgeLabel{background-color:rgba(232,232,232, 0.8);text-align:center;}#my-svg .edgeLabel p{background-color:rgba(232,232,232, 0.8);}#my-svg .edgeLabel rect{opacity:0.5;background-color:rgba(232,232,232, 0.8);fill:rgba(232,232,232, 0.8);}#my-svg .labelBkg{background-color:rgba(232, 232, 232, 0.5);}#my-svg .cluster rect{fill:#ffffde;stroke:#aaaa33;stroke-width:1px;}#my-svg .cluster text{fill:#333;}#my-svg .cluster span{color:#333;}#my-svg div.mermaidTooltip{position:absolute;text-align:center;max-width:200px;padding:2px;font-family:"trebuchet ms",verdana,arial,sans-serif;font-size:12px;background:hsl(80, 100%, 96.2745098039%);border:1px solid #aaaa33;border-radius:2px;pointer-events:none;z-index:100;}#my-svg .flowchartTitleText{text-anchor:middle;font-size:18px;fill:#333;}#my-svg rect.text{fill:none;stroke-width:0;}#my-svg .icon-shape,#my-svg .image-shape{background-color:rgba(232,232,232, 0.8);text-align:center;}#my-svg .icon-shape p,#my-svg .image-shape p{background-color:rgba(232,232,232, 0.8);padding:2px;}#my-svg .icon-shape .label rect,#my-svg .image-shape .label rect{opacity:0.5;background-color:rgba(232,232,232, 0.8);fill:rgba(232,232,232, 0.8);}#my-svg .label-icon{display:inline-block;height:1em;overflow:visible;vertical-align:-0.125em;}#my-svg .node .label-icon path{fill:currentColor;stroke:revert;stroke-width:revert;}#my-svg .node .neo-node{stroke:#9370DB;}#my-svg [data-look="neo"].node rect,#my-svg [data-look="neo"].cluster rect,#my-svg [data-look="neo"].node polygon{stroke:#9370DB;filter:drop-shadow(1px 2px 2px rgba(185, 185, 185, 1));}#my-svg [data-look="neo"].node path{stroke:#9370DB;stroke-width:1px;}#my-svg [data-look="neo"].node .outer-path{filter:drop-shadow(1px 2px 2px rgba(185, 185, 185, 1));}#my-svg [data-look="neo"].node .neo-line path{stroke:#9370DB;filter:none;}#my-svg [data-look="neo"].node circle{stroke:#9370DB;filter:drop-shadow(1px 2px 2px rgba(185, 185, 185, 1));}#my-svg [data-look="neo"].node circle .state-start{fill:#000000;}#my-svg [data-look="neo"].icon-shape .icon{fill:#9370DB;filter:drop-shadow(1px 2px 2px rgba(185, 185, 185, 1));}#my-svg [data-look="neo"].icon-shape .icon-neo path{stroke:#9370DB;filter:drop-shadow(1px 2px 2px rgba(185, 185, 185, 1));}#my-svg :root{--mermaid-font-family:"trebuchet ms",verdana,arial,sans-serif;}</style><g><marker id="my-svg_flowchart-v2-pointEnd" class="marker flowchart-v2" viewBox="0 0 10 10" refX="5" refY="5" markerUnits="userSpaceOnUse" markerWidth="8" markerHeight="8" orient="auto"><path d="M 0 0 L 10 5 L 0 10 z" class="arrowMarkerPath" style="stroke-width: 1; stroke-dasharray: 1, 0;"/></marker><marker id="my-svg_flowchart-v2-pointStart" class="marker flowchart-v2" viewBox="0 0 10 10" refX="4.5" refY="5" markerUnits="userSpaceOnUse" markerWidth="8" markerHeight="8" orient="auto"><path d="M 0 5 L 10 10 L 10 0 z" class="arrowMarkerPath" style="stroke-width: 1; stroke-dasharray: 1, 0;"/></marker><marker id="my-svg_flowchart-v2-pointEnd-margin" class="marker flowchart-v2" viewBox="0 0 11.5 14" refX="11.5" refY="7" markerUnits="userSpaceOnUse" markerWidth="10.5" markerHeight="14" orient="auto"><path d="M 0 0 L 11.5 7 L 0 14 z" class="arrowMarkerPath" style="stroke-width: 0; stroke-dasharray: 1, 0;"/></marker><marker id="my-svg_flowchart-v2-pointStart-margin" class="marker flowchart-v2" viewBox="0 0 11.5 14" refX="1" refY="7" markerUnits="userSpaceOnUse" markerWidth="11.5" markerHeight="14" orient="auto"><polygon points="0,7 11.5,14 11.5,0" class="arrowMarkerPath" style="stroke-width: 0; stroke-dasharray: 1, 0;"/></marker><marker id="my-svg_flowchart-v2-circleEnd" class="marker flowchart-v2" viewBox="0 0 10 10" refX="11" refY="5" markerUnits="userSpaceOnUse" markerWidth="11" markerHeight="11" orient="auto"><circle cx="5" cy="5" r="5" class="arrowMarkerPath" style="stroke-width: 1; stroke-dasharray: 1, 0;"/></marker><marker id="my-svg_flowchart-v2-circleStart" class="marker flowchart-v2" viewBox="0 0 10 10" refX="-1" refY="5" markerUnits="userSpaceOnUse" markerWidth="11" markerHeight="11" orient="auto"><circle cx="5" cy="5" r="5" class="arrowMarkerPath" style="stroke-width: 1; stroke-dasharray: 1, 0;"/></marker><marker id="my-svg_flowchart-v2-circleEnd-margin" class="marker flowchart-v2" viewBox="0 0 10 10" refY="5" refX="12.25" markerUnits="userSpaceOnUse" markerWidth="14" markerHeight="14" orient="auto"><circle cx="5" cy="5" r="5" class="arrowMarkerPath" style="stroke-width: 0; stroke-dasharray: 1, 0;"/></marker><marker id="my-svg_flowchart-v2-circleStart-margin" class="marker flowchart-v2" viewBox="0 0 10 10" refX="-2" refY="5" markerUnits="userSpaceOnUse" markerWidth="14" markerHeight="14" orient="auto"><circle cx="5" cy="5" r="5" class="arrowMarkerPath" style="stroke-width: 0; stroke-dasharray: 1, 0;"/></marker><marker id="my-svg_flowchart-v2-crossEnd" class="marker cross flowchart-v2" viewBox="0 0 11 11" refX="12" refY="5.2" markerUnits="userSpaceOnUse" markerWidth="11" markerHeight="11" orient="auto"><path d="M 1,1 l 9,9 M 10,1 l -9,9" class="arrowMarkerPath" style="stroke-width: 2; stroke-dasharray: 1, 0;"/></marker><marker id="my-svg_flowchart-v2-crossStart" class="marker cross flowchart-v2" viewBox="0 0 11 11" refX="-1" refY="5.2" markerUnits="userSpaceOnUse" markerWidth="11" markerHeight="11" orient="auto"><path d="M 1,1 l 9,9 M 10,1 l -9,9" class="arrowMarkerPath" style="stroke-width: 2; stroke-dasharray: 1, 0;"/></marker><marker id="my-svg_flowchart-v2-crossEnd-margin" class="marker cross flowchart-v2" viewBox="0 0 15 15" refX="17.7" refY="7.5" markerUnits="userSpaceOnUse" markerWidth="12" markerHeight="12" orient="auto"><path d="M 1,1 L 14,14 M 1,14 L 14,1" class="arrowMarkerPath" style="stroke-width: 2.5;"/></marker><marker id="my-svg_flowchart-v2-crossStart-margin" class="marker cross flowchart-v2" viewBox="0 0 15 15" refX="-3.5" refY="7.5" markerUnits="userSpaceOnUse" markerWidth="12" markerHeight="12" orient="auto"><path d="M 1,1 L 14,14 M 1,14 L 14,1" class="arrowMarkerPath" style="stroke-width: 2.5; stroke-dasharray: 1, 0;"/></marker><g class="root"><g class="clusters"/><g class="edgePaths"><path d="M155.086,62L155.086,66.167C155.086,70.333,155.086,78.667,155.086,86.333C155.086,94,155.086,101,155.086,104.5L155.086,108" id="my-svg-L_Request_Candidates_0" class="edge-thickness-normal edge-pattern-solid edge-thickness-normal edge-pattern-solid flowchart-link" style=";" data-edge="true" data-et="edge" data-id="L_Request_Candidates_0" data-points="W3sieCI6MTU1LjA4NTkzNzUsInkiOjYyfSx7IngiOjE1NS4wODU5Mzc1LCJ5Ijo4N30seyJ4IjoxNTUuMDg1OTM3NSwieSI6MTEyfV0=" data-look="classic" marker-end="url(#my-svg_flowchart-v2-pointEnd)"/><path d="M155.086,214L155.086,218.167C155.086,222.333,155.086,230.667,155.086,238.333C155.086,246,155.086,253,155.086,256.5L155.086,260" id="my-svg-L_Candidates_Score_0" class="edge-thickness-normal edge-pattern-solid edge-thickness-normal edge-pattern-solid flowchart-link" style=";" data-edge="true" data-et="edge" data-id="L_Candidates_Score_0" data-points="W3sieCI6MTU1LjA4NTkzNzUsInkiOjIxNH0seyJ4IjoxNTUuMDg1OTM3NSwieSI6MjM5fSx7IngiOjE1NS4wODU5Mzc1LCJ5IjoyNjR9XQ==" data-look="classic" marker-end="url(#my-svg_flowchart-v2-pointEnd)"/><path d="M155.086,1476L155.086,1480.167C155.086,1484.333,155.086,1492.667,155.086,1500.333C155.086,1508,155.086,1515,155.086,1518.5L155.086,1522" id="my-svg-L_Final_Top_0" class="edge-thickness-normal edge-pattern-solid edge-thickness-normal edge-pattern-solid flowchart-link" style=";" data-edge="true" data-et="edge" data-id="L_Final_Top_0" data-points="W3sieCI6MTU1LjA4NTkzNzUsInkiOjE0NzZ9LHsieCI6MTU1LjA4NTkzNzUsInkiOjE1MDF9LHsieCI6MTU1LjA4NTkzNzUsInkiOjE1MjZ9XQ==" data-look="classic" marker-end="url(#my-svg_flowchart-v2-pointEnd)"/><path d="M155.086,1580L155.086,1584.167C155.086,1588.333,155.086,1596.667,155.086,1604.333C155.086,1612,155.086,1619,155.086,1622.5L155.086,1626" id="my-svg-L_Top_Dispatch_0" class="edge-thickness-normal edge-pattern-solid edge-thickness-normal edge-pattern-solid flowchart-link" style=";" data-edge="true" data-et="edge" data-id="L_Top_Dispatch_0" data-points="W3sieCI6MTU1LjA4NTkzNzUsInkiOjE1ODB9LHsieCI6MTU1LjA4NTkzNzUsInkiOjE2MDV9LHsieCI6MTU1LjA4NTkzNzUsInkiOjE2MzB9XQ==" data-look="classic" marker-end="url(#my-svg_flowchart-v2-pointEnd)"/><path d="M155.086,342L155.086,346.167C155.086,350.333,155.086,358.667,155.086,366.333C155.086,374,155.086,381,155.086,384.5L155.086,388" id="my-svg-L_Score_Factors_0" class="edge-thickness-normal edge-pattern-solid edge-thickness-normal edge-pattern-solid flowchart-link" style=";" data-edge="true" data-et="edge" data-id="L_Score_Factors_0" data-points="W3sieCI6MTU1LjA4NTkzNzUsInkiOjM0Mn0seyJ4IjoxNTUuMDg1OTM3NSwieSI6MzY3fSx7IngiOjE1NS4wODU5Mzc1LCJ5IjozOTJ9XQ==" data-look="classic" marker-end="url(#my-svg_flowchart-v2-pointEnd)"/><path d="M155.086,1348L155.086,1352.167C155.086,1356.333,155.086,1364.667,155.086,1372.333C155.086,1380,155.086,1387,155.086,1390.5L155.086,1394" id="my-svg-L_Factors_Final_0" class="edge-thickness-normal edge-pattern-solid edge-thickness-normal edge-pattern-solid flowchart-link" style=";" data-edge="true" data-et="edge" data-id="L_Factors_Final_0" data-points="W3sieCI6MTU1LjA4NTkzNzUsInkiOjEzNDh9LHsieCI6MTU1LjA4NTkzNzUsInkiOjEzNzN9LHsieCI6MTU1LjA4NTkzNzUsInkiOjEzOTh9XQ==" data-look="classic" marker-end="url(#my-svg_flowchart-v2-pointEnd)"/></g><g class="edgeLabels"><g class="edgeLabel"><g class="label" data-id="L_Request_Candidates_0" transform="translate(0, 0)"><foreignObject width="0" height="0"><div xmlns="http://www.w3.org/1999/xhtml" class="labelBkg" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="edgeLabel"></span></div></foreignObject></g></g><g class="edgeLabel"><g class="label" data-id="L_Candidates_Score_0" transform="translate(0, 0)"><foreignObject width="0" height="0"><div xmlns="http://www.w3.org/1999/xhtml" class="labelBkg" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="edgeLabel"></span></div></foreignObject></g></g><g class="edgeLabel"><g class="label" data-id="L_Final_Top_0" transform="translate(0, 0)"><foreignObject width="0" height="0"><div xmlns="http://www.w3.org/1999/xhtml" class="labelBkg" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="edgeLabel"></span></div></foreignObject></g></g><g class="edgeLabel"><g class="label" data-id="L_Top_Dispatch_0" transform="translate(0, 0)"><foreignObject width="0" height="0"><div xmlns="http://www.w3.org/1999/xhtml" class="labelBkg" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="edgeLabel"></span></div></foreignObject></g></g><g class="edgeLabel"><g class="label" data-id="L_Score_Factors_0" transform="translate(0, 0)"><foreignObject width="0" height="0"><div xmlns="http://www.w3.org/1999/xhtml" class="labelBkg" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="edgeLabel"></span></div></foreignObject></g></g><g class="edgeLabel"><g class="label" data-id="L_Factors_Final_0" transform="translate(0, 0)"><foreignObject width="0" height="0"><div xmlns="http://www.w3.org/1999/xhtml" class="labelBkg" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="edgeLabel"></span></div></foreignObject></g></g></g><g class="nodes"><g class="root" transform="translate(0, 384)"><g class="clusters"><g class="cluster" id="my-svg-Factors" data-look="classic"><rect style="" x="8" y="8" width="294.171875" height="956"/><g class="cluster-label" transform="translate(27.703125, 8)"><foreignObject width="254.765625" height="24"><div xmlns="http://www.w3.org/1999/xhtml" style="display: table-cell; white-space: nowrap; line-height: 1.5;"><span class="nodeLabel"><p>9-factor scoring weights (sum = 1.0)</p></span></div></foreignObject></g></g></g><g class="edgePaths"/><g class="edgeLabels"/><g class="nodes"><g class="node default" id="my-svg-flowchart-f1-4" data-look="classic" transform="translate(155.0859375, 70)"><rect class="basic label-container" style="" x="-74.921875" y="-27" width="149.84375" height="54"/><g class="label" style="" transform="translate(-44.921875, -12)"><rect/><foreignObject width="89.84375" height="24"><div xmlns="http://www.w3.org/1999/xhtml" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="nodeLabel"><p>health (0.22)</p></span></div></foreignObject></g></g><g class="node default" id="my-svg-flowchart-f2-5" data-look="classic" transform="translate(155.0859375, 174)"><rect class="basic label-container" style="" x="-73.140625" y="-27" width="146.28125" height="54"/><g class="label" style="" transform="translate(-43.140625, -12)"><rect/><foreignObject width="86.28125" height="24"><div xmlns="http://www.w3.org/1999/xhtml" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="nodeLabel"><p>quota (0.17)</p></span></div></foreignObject></g></g><g class="node default" id="my-svg-flowchart-f3-6" data-look="classic" transform="translate(155.0859375, 278)"><rect class="basic label-container" style="" x="-78.46875" y="-27" width="156.9375" height="54"/><g class="label" style="" transform="translate(-48.46875, -12)"><rect/><foreignObject width="96.9375" height="24"><div xmlns="http://www.w3.org/1999/xhtml" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="nodeLabel"><p>costInv (0.17)</p></span></div></foreignObject></g></g><g class="node default" id="my-svg-flowchart-f4-7" data-look="classic" transform="translate(155.0859375, 382)"><rect class="basic label-container" style="" x="-89.140625" y="-27" width="178.28125" height="54"/><g class="label" style="" transform="translate(-59.140625, -12)"><rect/><foreignObject width="118.28125" height="24"><div xmlns="http://www.w3.org/1999/xhtml" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="nodeLabel"><p>latencyInv (0.13)</p></span></div></foreignObject></g></g><g class="node default" id="my-svg-flowchart-f5-8" data-look="classic" transform="translate(155.0859375, 486)"><rect class="basic label-container" style="" x="-76.6796875" y="-27" width="153.359375" height="54"/><g class="label" style="" transform="translate(-46.6796875, -12)"><rect/><foreignObject width="93.359375" height="24"><div xmlns="http://www.w3.org/1999/xhtml" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="nodeLabel"><p>taskFit (0.08)</p></span></div></foreignObject></g></g><g class="node default" id="my-svg-flowchart-f6-9" data-look="classic" transform="translate(155.0859375, 590)"><rect class="basic label-container" style="" x="-109.5859375" y="-27" width="219.171875" height="54"/><g class="label" style="" transform="translate(-79.5859375, -12)"><rect/><foreignObject width="159.171875" height="24"><div xmlns="http://www.w3.org/1999/xhtml" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="nodeLabel"><p>specificityMatch (0.08)</p></span></div></foreignObject></g></g><g class="node default" id="my-svg-flowchart-f7-10" data-look="classic" transform="translate(155.0859375, 694)"><rect class="basic label-container" style="" x="-79.796875" y="-27" width="159.59375" height="54"/><g class="label" style="" transform="translate(-49.796875, -12)"><rect/><foreignObject width="99.59375" height="24"><div xmlns="http://www.w3.org/1999/xhtml" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="nodeLabel"><p>stability (0.05)</p></span></div></foreignObject></g></g><g class="node default" id="my-svg-flowchart-f8-11" data-look="classic" transform="translate(155.0859375, 798)"><rect class="basic label-container" style="" x="-89.125" y="-27" width="178.25" height="54"/><g class="label" style="" transform="translate(-59.125, -12)"><rect/><foreignObject width="118.25" height="24"><div xmlns="http://www.w3.org/1999/xhtml" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="nodeLabel"><p>tierPriority (0.05)</p></span></div></foreignObject></g></g><g class="node default" id="my-svg-flowchart-f9-12" data-look="classic" transform="translate(155.0859375, 902)"><rect class="basic label-container" style="" x="-88.1015625" y="-27" width="176.203125" height="54"/><g class="label" style="" transform="translate(-58.1015625, -12)"><rect/><foreignObject width="116.203125" height="24"><div xmlns="http://www.w3.org/1999/xhtml" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="nodeLabel"><p>tierAffinity (0.05)</p></span></div></foreignObject></g></g></g></g><g class="node default" id="my-svg-flowchart-Request-0" data-look="classic" transform="translate(155.0859375, 35)"><rect class="basic label-container" style="" x="-91.3671875" y="-27" width="182.734375" height="54"/><g class="label" style="" transform="translate(-61.3671875, -12)"><rect/><foreignObject width="122.734375" height="24"><div xmlns="http://www.w3.org/1999/xhtml" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="nodeLabel"><p>Incoming request</p></span></div></foreignObject></g></g><g class="node default" id="my-svg-flowchart-Candidates-1" data-look="classic" transform="translate(155.0859375, 163)"><rect class="basic label-container" style="" x="-130" y="-51" width="260" height="102"/><g class="label" style="" transform="translate(-100, -36)"><rect/><foreignObject width="200" height="72"><div xmlns="http://www.w3.org/1999/xhtml" style="display: table; white-space: break-spaces; line-height: 1.5; max-width: 200px; text-align: center; width: 200px;"><span class="nodeLabel"><p>Eligible candidates<br />(provider × model × account)</p></span></div></foreignObject></g></g><g class="node default" id="my-svg-flowchart-Score-3" data-look="classic" transform="translate(155.0859375, 303)"><rect class="basic label-container" style="" x="-122.9296875" y="-39" width="245.859375" height="78"/><g class="label" style="" transform="translate(-92.9296875, -24)"><rect/><foreignObject width="185.859375" height="48"><div xmlns="http://www.w3.org/1999/xhtml" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="nodeLabel"><p>Compute composite score<br />per candidate</p></span></div></foreignObject></g></g><g class="node default" id="my-svg-flowchart-Final-16" data-look="classic" transform="translate(155.0859375, 1437)"><rect class="basic label-container" style="" x="-77.1328125" y="-39" width="154.265625" height="78"/><g class="label" style="" transform="translate(-47.1328125, -24)"><rect/><foreignObject width="94.265625" height="48"><div xmlns="http://www.w3.org/1999/xhtml" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="nodeLabel"><p>Sort by score<br />(desc)</p></span></div></foreignObject></g></g><g class="node default" id="my-svg-flowchart-Top-18" data-look="classic" transform="translate(155.0859375, 1553)"><rect class="basic label-container" style="" x="-93.578125" y="-27" width="187.15625" height="54"/><g class="label" style="" transform="translate(-63.578125, -12)"><rect/><foreignObject width="127.15625" height="24"><div xmlns="http://www.w3.org/1999/xhtml" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="nodeLabel"><p>Pick top-N targets</p></span></div></foreignObject></g></g><g class="node default" id="my-svg-flowchart-Dispatch-20" data-look="classic" transform="translate(155.0859375, 1669)"><rect class="basic label-container" style="" x="-118.9140625" y="-39" width="237.828125" height="78"/><g class="label" style="" transform="translate(-88.9140625, -24)"><rect/><foreignObject width="177.828125" height="48"><div xmlns="http://www.w3.org/1999/xhtml" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="nodeLabel"><p>Dispatch sequentially<br />(short-circuit on success)</p></span></div></foreignObject></g></g></g></g></g><defs><filter id="my-svg-drop-shadow" height="130%" width="130%"><feDropShadow dx="4" dy="4" stdDeviation="0" flood-opacity="0.06" flood-color="#000000"/></filter></defs><defs><filter id="my-svg-drop-shadow-small" height="150%" width="150%"><feDropShadow dx="2" dy="2" stdDeviation="0" flood-opacity="0.06" flood-color="#000000"/></filter></defs></svg>\ No newline at end of filediff --git a/docs/diagrams/exported/cloud-agent-flow.svg b/docs/diagrams/exported/cloud-agent-flow.svgnew file mode 100644index 0000000000..8196fc2036--- /dev/null+++ b/docs/diagrams/exported/cloud-agent-flow.svg@@ -0,0 +1 @@+<svg id="my-svg" width="100%" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" style="max-width: 1261px; background-color: white;" viewBox="-50 -10 1261 1054" role="graphics-document document" aria-roledescription="sequence"><g><rect x="1011" y="968" fill="#eaeaea" stroke="#666" width="150" height="65" name="DB" rx="3" ry="3" class="actor actor-bottom"/><text x="1086" y="1000.5" dominant-baseline="central" alignment-baseline="central" class="actor actor-box" style="text-anchor: middle; font-size: 16px; font-weight: 400;"><tspan x="1086" dy="0">SQLite domain DB</tspan></text></g><g><rect x="747" y="968" fill="#eaeaea" stroke="#666" width="200" height="65" name="Ag" rx="3" ry="3" class="actor actor-bottom"/><text x="847" y="1000.5" dominant-baseline="central" alignment-baseline="central" class="actor actor-box" style="text-anchor: middle; font-size: 16px; font-weight: 400;"><tspan x="847" dy="-8">Cloud Agent</tspan></text><text x="847" y="1000.5" dominant-baseline="central" alignment-baseline="central" class="actor actor-box" style="text-anchor: middle; font-size: 16px; font-weight: 400;"><tspan x="847" dy="8">(codex-cloud / devin / jules)</tspan></text></g><g><rect x="525" y="968" fill="#eaeaea" stroke="#666" width="160" height="65" name="Reg" rx="3" ry="3" class="actor actor-bottom"/><text x="605" y="1000.5" dominant-baseline="central" alignment-baseline="central" class="actor actor-box" style="text-anchor: middle; font-size: 16px; font-weight: 400;"><tspan x="605" dy="0">Cloud Agent Registry</tspan></text></g><g><rect x="323" y="968" fill="#eaeaea" stroke="#666" width="150" height="65" name="API" rx="3" ry="3" class="actor actor-bottom"/><text x="398" y="1000.5" dominant-baseline="central" alignment-baseline="central" class="actor actor-box" style="text-anchor: middle; font-size: 16px; font-weight: 400;"><tspan x="398" dy="0">/v1/agents/tasks</tspan></text></g><g><rect x="0" y="968" fill="#eaeaea" stroke="#666" width="150" height="65" name="U" rx="3" ry="3" class="actor actor-bottom"/><text x="75" y="1000.5" dominant-baseline="central" alignment-baseline="central" class="actor actor-box" style="text-anchor: middle; font-size: 16px; font-weight: 400;"><tspan x="75" dy="0">User</tspan></text></g><g><line id="actor4" x1="1086" y1="65" x2="1086" y2="968" class="actor-line 200" stroke-width="0.5px" stroke="#999" name="DB" data-et="life-line" data-id="DB"/><g id="root-4" data-et="participant" data-type="participant" data-id="DB"><rect x="1011" y="0" fill="#eaeaea" stroke="#666" width="150" height="65" name="DB" rx="3" ry="3" class="actor actor-top"/><text x="1086" y="32.5" dominant-baseline="central" alignment-baseline="central" class="actor actor-box" style="text-anchor: middle; font-size: 16px; font-weight: 400;"><tspan x="1086" dy="0">SQLite domain DB</tspan></text></g></g><g><line id="actor3" x1="847" y1="65" x2="847" y2="968" class="actor-line 200" stroke-width="0.5px" stroke="#999" name="Ag" data-et="life-line" data-id="Ag"/><g id="root-3" data-et="participant" data-type="participant" data-id="Ag"><rect x="747" y="0" fill="#eaeaea" stroke="#666" width="200" height="65" name="Ag" rx="3" ry="3" class="actor actor-top"/><text x="847" y="32.5" dominant-baseline="central" alignment-baseline="central" class="actor actor-box" style="text-anchor: middle; font-size: 16px; font-weight: 400;"><tspan x="847" dy="-8">Cloud Agent</tspan></text><text x="847" y="32.5" dominant-baseline="central" alignment-baseline="central" class="actor actor-box" style="text-anchor: middle; font-size: 16px; font-weight: 400;"><tspan x="847" dy="8">(codex-cloud / devin / jules)</tspan></text></g></g><g><line id="actor2" x1="605" y1="65" x2="605" y2="968" class="actor-line 200" stroke-width="0.5px" stroke="#999" name="Reg" data-et="life-line" data-id="Reg"/><g id="root-2" data-et="participant" data-type="participant" data-id="Reg"><rect x="525" y="0" fill="#eaeaea" stroke="#666" width="160" height="65" name="Reg" rx="3" ry="3" class="actor actor-top"/><text x="605" y="32.5" dominant-baseline="central" alignment-baseline="central" class="actor actor-box" style="text-anchor: middle; font-size: 16px; font-weight: 400;"><tspan x="605" dy="0">Cloud Agent Registry</tspan></text></g></g><g><line id="actor1" x1="398" y1="65" x2="398" y2="968" class="actor-line 200" stroke-width="0.5px" stroke="#999" name="API" data-et="life-line" data-id="API"/><g id="root-1" data-et="participant" data-type="participant" data-id="API"><rect x="323" y="0" fill="#eaeaea" stroke="#666" width="150" height="65" name="API" rx="3" ry="3" class="actor actor-top"/><text x="398" y="32.5" dominant-baseline="central" alignment-baseline="central" class="actor actor-box" style="text-anchor: middle; font-size: 16px; font-weight: 400;"><tspan x="398" dy="0">/v1/agents/tasks</tspan></text></g></g><g><line id="actor0" x1="75" y1="65" x2="75" y2="968" class="actor-line 200" stroke-width="0.5px" stroke="#999" name="U" data-et="life-line" data-id="U"/><g id="root-0" data-et="participant" data-type="participant" data-id="U"><rect x="0" y="0" fill="#eaeaea" stroke="#666" width="150" height="65" name="U" rx="3" ry="3" class="actor actor-top"/><text x="75" y="32.5" dominant-baseline="central" alignment-baseline="central" class="actor actor-box" style="text-anchor: middle; font-size: 16px; font-weight: 400;"><tspan x="75" dy="0">User</tspan></text></g></g><style>#my-svg{font-family:"trebuchet ms",verdana,arial,sans-serif;font-size:16px;fill:#333;}@keyframes edge-animation-frame{from{stroke-dashoffset:0;}}@keyframes dash{to{stroke-dashoffset:0;}}#my-svg .edge-animation-slow{stroke-dasharray:9,5!important;stroke-dashoffset:900;animation:dash 50s linear infinite;stroke-linecap:round;}#my-svg .edge-animation-fast{stroke-dasharray:9,5!important;stroke-dashoffset:900;animation:dash 20s linear infinite;stroke-linecap:round;}#my-svg .error-icon{fill:#552222;}#my-svg .error-text{fill:#552222;stroke:#552222;}#my-svg .edge-thickness-normal{stroke-width:1px;}#my-svg .edge-thickness-thick{stroke-width:3.5px;}#my-svg .edge-pattern-solid{stroke-dasharray:0;}#my-svg .edge-thickness-invisible{stroke-width:0;fill:none;}#my-svg .edge-pattern-dashed{stroke-dasharray:3;}#my-svg .edge-pattern-dotted{stroke-dasharray:2;}#my-svg .marker{fill:#333333;stroke:#333333;}#my-svg .marker.cross{stroke:#333333;}#my-svg svg{font-family:"trebuchet ms",verdana,arial,sans-serif;font-size:16px;}#my-svg p{margin:0;}#my-svg .actor{stroke:#9370DB;fill:#ECECFF;stroke-width:1;}#my-svg rect.actor.outer-path[data-look="neo"]{filter:drop-shadow(1px 2px 2px rgba(185, 185, 185, 1));}#my-svg rect.note[data-look="neo"]{stroke:#aaaa33;fill:#fff5ad;filter:drop-shadow(1px 2px 2px rgba(185, 185, 185, 1));}#my-svg text.actor>tspan{fill:black;stroke:none;}#my-svg .actor-line{stroke:#9370DB;}#my-svg .innerArc{stroke-width:1.5;stroke-dasharray:none;}#my-svg .messageLine0{stroke-width:1.5;stroke-dasharray:none;stroke:#333;}#my-svg .messageLine1{stroke-width:1.5;stroke-dasharray:2,2;stroke:#333;}#my-svg [id$="-arrowhead"] path{fill:#333;stroke:#333;}#my-svg .sequenceNumber{fill:white;}#my-svg [id$="-sequencenumber"]{fill:#333;}#my-svg [id$="-crosshead"] path{fill:#333;stroke:#333;}#my-svg .messageText{fill:#333;stroke:none;}#my-svg .labelBox{stroke:#9370DB;fill:#ECECFF;filter:none;}#my-svg .labelText,#my-svg .labelText>tspan{fill:black;stroke:none;}#my-svg .loopText,#my-svg .loopText>tspan{fill:black;stroke:none;}#my-svg .sectionTitle,#my-svg .sectionTitle>tspan{fill:black;stroke:none;}#my-svg .loopLine{stroke-width:2px;stroke-dasharray:2,2;stroke:#9370DB;fill:#9370DB;}#my-svg .note{stroke:#aaaa33;fill:#fff5ad;}#my-svg .noteText,#my-svg .noteText>tspan{fill:black;stroke:none;font-weight:normal;}#my-svg .activation0{fill:#f4f4f4;stroke:#666;}#my-svg .activation1{fill:#f4f4f4;stroke:#666;}#my-svg .activation2{fill:#f4f4f4;stroke:#666;}#my-svg .actorPopupMenu{position:absolute;}#my-svg .actorPopupMenuPanel{position:absolute;fill:#ECECFF;box-shadow:0px 8px 16px 0px rgba(0,0,0,0.2);filter:drop-shadow(3px 5px 2px rgb(0 0 0 / 0.4));}#my-svg .actor-man circle,#my-svg line{fill:#ECECFF;stroke-width:2px;}#my-svg g rect.rect{filter:drop-shadow(1px 2px 2px rgba(185, 185, 185, 1));stroke:#9370DB;}#my-svg .node .neo-node{stroke:#9370DB;}#my-svg [data-look="neo"].node rect,#my-svg [data-look="neo"].cluster rect,#my-svg [data-look="neo"].node polygon{stroke:#9370DB;filter:drop-shadow(1px 2px 2px rgba(185, 185, 185, 1));}#my-svg [data-look="neo"].node path{stroke:#9370DB;stroke-width:1px;}#my-svg [data-look="neo"].node .outer-path{filter:drop-shadow(1px 2px 2px rgba(185, 185, 185, 1));}#my-svg [data-look="neo"].node .neo-line path{stroke:#9370DB;filter:none;}#my-svg [data-look="neo"].node circle{stroke:#9370DB;filter:drop-shadow(1px 2px 2px rgba(185, 185, 185, 1));}#my-svg [data-look="neo"].node circle .state-start{fill:#000000;}#my-svg [data-look="neo"].icon-shape .icon{fill:#9370DB;filter:drop-shadow(1px 2px 2px rgba(185, 185, 185, 1));}#my-svg [data-look="neo"].icon-shape .icon-neo path{stroke:#9370DB;filter:drop-shadow(1px 2px 2px rgba(185, 185, 185, 1));}#my-svg :root{--mermaid-font-family:"trebuchet ms",verdana,arial,sans-serif;}</style><g/><defs><symbol id="my-svg-computer" width="24" height="24"><path transform="scale(.5)" d="M2 2v13h20v-13h-20zm18 11h-16v-9h16v9zm-10.228 6l.466-1h3.524l.467 1h-4.457zm14.228 3h-24l2-6h2.104l-1.33 4h18.45l-1.297-4h2.073l2 6zm-5-10h-14v-7h14v7z"/></symbol></defs><defs><symbol id="my-svg-database" fill-rule="evenodd" clip-rule="evenodd"><path transform="scale(.5)" d="M12.258.001l.256.004.255.005.253.008.251.01.249.012.247.015.246.016.242.019.241.02.239.023.236.024.233.027.231.028.229.031.225.032.223.034.22.036.217.038.214.04.211.041.208.043.205.045.201.046.198.048.194.05.191.051.187.053.183.054.18.056.175.057.172.059.168.06.163.061.16.063.155.064.15.066.074.033.073.033.071.034.07.034.069.035.068.035.067.035.066.035.064.036.064.036.062.036.06.036.06.037.058.037.058.037.055.038.055.038.053.038.052.038.051.039.05.039.048.039.047.039.045.04.044.04.043.04.041.04.04.041.039.041.037.041.036.041.034.041.033.042.032.042.03.042.029.042.027.042.026.043.024.043.023.043.021.043.02.043.018.044.017.043.015.044.013.044.012.044.011.045.009.044.007.045.006.045.004.045.002.045.001.045v17l-.001.045-.002.045-.004.045-.006.045-.007.045-.009.044-.011.045-.012.044-.013.044-.015.044-.017.043-.018.044-.02.043-.021.043-.023.043-.024.043-.026.043-.027.042-.029.042-.03.042-.032.042-.033.042-.034.041-.036.041-.037.041-.039.041-.04.041-.041.04-.043.04-.044.04-.045.04-.047.039-.048.039-.05.039-.051.039-.052.038-.053.038-.055.038-.055.038-.058.037-.058.037-.06.037-.06.036-.062.036-.064.036-.064.036-.066.035-.067.035-.068.035-.069.035-.07.034-.071.034-.073.033-.074.033-.15.066-.155.064-.16.063-.163.061-.168.06-.172.059-.175.057-.18.056-.183.054-.187.053-.191.051-.194.05-.198.048-.201.046-.205.045-.208.043-.211.041-.214.04-.217.038-.22.036-.223.034-.225.032-.229.031-.231.028-.233.027-.236.024-.239.023-.241.02-.242.019-.246.016-.247.015-.249.012-.251.01-.253.008-.255.005-.256.004-.258.001-.258-.001-.256-.004-.255-.005-.253-.008-.251-.01-.249-.012-.247-.015-.245-.016-.243-.019-.241-.02-.238-.023-.236-.024-.234-.027-.231-.028-.228-.031-.226-.032-.223-.034-.22-.036-.217-.038-.214-.04-.211-.041-.208-.043-.204-.045-.201-.046-.198-.048-.195-.05-.19-.051-.187-.053-.184-.054-.179-.056-.176-.057-.172-.059-.167-.06-.164-.061-.159-.063-.155-.064-.151-.066-.074-.033-.072-.033-.072-.034-.07-.034-.069-.035-.068-.035-.067-.035-.066-.035-.064-.036-.063-.036-.062-.036-.061-.036-.06-.037-.058-.037-.057-.037-.056-.038-.055-.038-.053-.038-.052-.038-.051-.039-.049-.039-.049-.039-.046-.039-.046-.04-.044-.04-.043-.04-.041-.04-.04-.041-.039-.041-.037-.041-.036-.041-.034-.041-.033-.042-.032-.042-.03-.042-.029-.042-.027-.042-.026-.043-.024-.043-.023-.043-.021-.043-.02-.043-.018-.044-.017-.043-.015-.044-.013-.044-.012-.044-.011-.045-.009-.044-.007-.045-.006-.045-.004-.045-.002-.045-.001-.045v-17l.001-.045.002-.045.004-.045.006-.045.007-.045.009-.044.011-.045.012-.044.013-.044.015-.044.017-.043.018-.044.02-.043.021-.043.023-.043.024-.043.026-.043.027-.042.029-.042.03-.042.032-.042.033-.042.034-.041.036-.041.037-.041.039-.041.04-.041.041-.04.043-.04.044-.04.046-.04.046-.039.049-.039.049-.039.051-.039.052-.038.053-.038.055-.038.056-.038.057-.037.058-.037.06-.037.061-.036.062-.036.063-.036.064-.036.066-.035.067-.035.068-.035.069-.035.07-.034.072-.034.072-.033.074-.033.151-.066.155-.064.159-.063.164-.061.167-.06.172-.059.176-.057.179-.056.184-.054.187-.053.19-.051.195-.05.198-.048.201-.046.204-.045.208-.043.211-.041.214-.04.217-.038.22-.036.223-.034.226-.032.228-.031.231-.028.234-.027.236-.024.238-.023.241-.02.243-.019.245-.016.247-.015.249-.012.251-.01.253-.008.255-.005.256-.004.258-.001.258.001zm-9.258 20.499v.01l.001.021.003.021.004.022.005.021.006.022.007.022.009.023.01.022.011.023.012.023.013.023.015.023.016.024.017.023.018.024.019.024.021.024.022.025.023.024.024.025.052.049.056.05.061.051.066.051.07.051.075.051.079.052.084.052.088.052.092.052.097.052.102.051.105.052.11.052.114.051.119.051.123.051.127.05.131.05.135.05.139.048.144.049.147.047.152.047.155.047.16.045.163.045.167.043.171.043.176.041.178.041.183.039.187.039.19.037.194.035.197.035.202.033.204.031.209.03.212.029.216.027.219.025.222.024.226.021.23.02.233.018.236.016.24.015.243.012.246.01.249.008.253.005.256.004.259.001.26-.001.257-.004.254-.005.25-.008.247-.011.244-.012.241-.014.237-.016.233-.018.231-.021.226-.021.224-.024.22-.026.216-.027.212-.028.21-.031.205-.031.202-.034.198-.034.194-.036.191-.037.187-.039.183-.04.179-.04.175-.042.172-.043.168-.044.163-.045.16-.046.155-.046.152-.047.148-.048.143-.049.139-.049.136-.05.131-.05.126-.05.123-.051.118-.052.114-.051.11-.052.106-.052.101-.052.096-.052.092-.052.088-.053.083-.051.079-.052.074-.052.07-.051.065-.051.06-.051.056-.05.051-.05.023-.024.023-.025.021-.024.02-.024.019-.024.018-.024.017-.024.015-.023.014-.024.013-.023.012-.023.01-.023.01-.022.008-.022.006-.022.006-.022.004-.022.004-.021.001-.021.001-.021v-4.127l-.077.055-.08.053-.083.054-.085.053-.087.052-.09.052-.093.051-.095.05-.097.05-.1.049-.102.049-.105.048-.106.047-.109.047-.111.046-.114.045-.115.045-.118.044-.12.043-.122.042-.124.042-.126.041-.128.04-.13.04-.132.038-.134.038-.135.037-.138.037-.139.035-.142.035-.143.034-.144.033-.147.032-.148.031-.15.03-.151.03-.153.029-.154.027-.156.027-.158.026-.159.025-.161.024-.162.023-.163.022-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.011-.178.01-.179.008-.179.008-.181.006-.182.005-.182.004-.184.003-.184.002h-.37l-.184-.002-.184-.003-.182-.004-.182-.005-.181-.006-.179-.008-.179-.008-.178-.01-.176-.011-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.022-.162-.023-.161-.024-.159-.025-.157-.026-.156-.027-.155-.027-.153-.029-.151-.03-.15-.03-.148-.031-.146-.032-.145-.033-.143-.034-.141-.035-.14-.035-.137-.037-.136-.037-.134-.038-.132-.038-.13-.04-.128-.04-.126-.041-.124-.042-.122-.042-.12-.044-.117-.043-.116-.045-.113-.045-.112-.046-.109-.047-.106-.047-.105-.048-.102-.049-.1-.049-.097-.05-.095-.05-.093-.052-.09-.051-.087-.052-.085-.053-.083-.054-.08-.054-.077-.054v4.127zm0-5.654v.011l.001.021.003.021.004.021.005.022.006.022.007.022.009.022.01.022.011.023.012.023.013.023.015.024.016.023.017.024.018.024.019.024.021.024.022.024.023.025.024.024.052.05.056.05.061.05.066.051.07.051.075.052.079.051.084.052.088.052.092.052.097.052.102.052.105.052.11.051.114.051.119.052.123.05.127.051.131.05.135.049.139.049.144.048.147.048.152.047.155.046.16.045.163.045.167.044.171.042.176.042.178.04.183.04.187.038.19.037.194.036.197.034.202.033.204.032.209.03.212.028.216.027.219.025.222.024.226.022.23.02.233.018.236.016.24.014.243.012.246.01.249.008.253.006.256.003.259.001.26-.001.257-.003.254-.006.25-.008.247-.01.244-.012.241-.015.237-.016.233-.018.231-.02.226-.022.224-.024.22-.025.216-.027.212-.029.21-.03.205-.032.202-.033.198-.035.194-.036.191-.037.187-.039.183-.039.179-.041.175-.042.172-.043.168-.044.163-.045.16-.045.155-.047.152-.047.148-.048.143-.048.139-.05.136-.049.131-.05.126-.051.123-.051.118-.051.114-.052.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.051.07-.052.065-.051.06-.05.056-.051.051-.049.023-.025.023-.024.021-.025.02-.024.019-.024.018-.024.017-.024.015-.023.014-.023.013-.024.012-.022.01-.023.01-.023.008-.022.006-.022.006-.022.004-.021.004-.022.001-.021.001-.021v-4.139l-.077.054-.08.054-.083.054-.085.052-.087.053-.09.051-.093.051-.095.051-.097.05-.1.049-.102.049-.105.048-.106.047-.109.047-.111.046-.114.045-.115.044-.118.044-.12.044-.122.042-.124.042-.126.041-.128.04-.13.039-.132.039-.134.038-.135.037-.138.036-.139.036-.142.035-.143.033-.144.033-.147.033-.148.031-.15.03-.151.03-.153.028-.154.028-.156.027-.158.026-.159.025-.161.024-.162.023-.163.022-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.011-.178.009-.179.009-.179.007-.181.007-.182.005-.182.004-.184.003-.184.002h-.37l-.184-.002-.184-.003-.182-.004-.182-.005-.181-.007-.179-.007-.179-.009-.178-.009-.176-.011-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.022-.162-.023-.161-.024-.159-.025-.157-.026-.156-.027-.155-.028-.153-.028-.151-.03-.15-.03-.148-.031-.146-.033-.145-.033-.143-.033-.141-.035-.14-.036-.137-.036-.136-.037-.134-.038-.132-.039-.13-.039-.128-.04-.126-.041-.124-.042-.122-.043-.12-.043-.117-.044-.116-.044-.113-.046-.112-.046-.109-.046-.106-.047-.105-.048-.102-.049-.1-.049-.097-.05-.095-.051-.093-.051-.09-.051-.087-.053-.085-.052-.083-.054-.08-.054-.077-.054v4.139zm0-5.666v.011l.001.02.003.022.004.021.005.022.006.021.007.022.009.023.01.022.011.023.012.023.013.023.015.023.016.024.017.024.018.023.019.024.021.025.022.024.023.024.024.025.052.05.056.05.061.05.066.051.07.051.075.052.079.051.084.052.088.052.092.052.097.052.102.052.105.051.11.052.114.051.119.051.123.051.127.05.131.05.135.05.139.049.144.048.147.048.152.047.155.046.16.045.163.045.167.043.171.043.176.042.178.04.183.04.187.038.19.037.194.036.197.034.202.033.204.032.209.03.212.028.216.027.219.025.222.024.226.021.23.02.233.018.236.017.24.014.243.012.246.01.249.008.253.006.256.003.259.001.26-.001.257-.003.254-.006.25-.008.247-.01.244-.013.241-.014.237-.016.233-.018.231-.02.226-.022.224-.024.22-.025.216-.027.212-.029.21-.03.205-.032.202-.033.198-.035.194-.036.191-.037.187-.039.183-.039.179-.041.175-.042.172-.043.168-.044.163-.045.16-.045.155-.047.152-.047.148-.048.143-.049.139-.049.136-.049.131-.051.126-.05.123-.051.118-.052.114-.051.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.052.07-.051.065-.051.06-.051.056-.05.051-.049.023-.025.023-.025.021-.024.02-.024.019-.024.018-.024.017-.024.015-.023.014-.024.013-.023.012-.023.01-.022.01-.023.008-.022.006-.022.006-.022.004-.022.004-.021.001-.021.001-.021v-4.153l-.077.054-.08.054-.083.053-.085.053-.087.053-.09.051-.093.051-.095.051-.097.05-.1.049-.102.048-.105.048-.106.048-.109.046-.111.046-.114.046-.115.044-.118.044-.12.043-.122.043-.124.042-.126.041-.128.04-.13.039-.132.039-.134.038-.135.037-.138.036-.139.036-.142.034-.143.034-.144.033-.147.032-.148.032-.15.03-.151.03-.153.028-.154.028-.156.027-.158.026-.159.024-.161.024-.162.023-.163.023-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.01-.178.01-.179.009-.179.007-.181.006-.182.006-.182.004-.184.003-.184.001-.185.001-.185-.001-.184-.001-.184-.003-.182-.004-.182-.006-.181-.006-.179-.007-.179-.009-.178-.01-.176-.01-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.023-.162-.023-.161-.024-.159-.024-.157-.026-.156-.027-.155-.028-.153-.028-.151-.03-.15-.03-.148-.032-.146-.032-.145-.033-.143-.034-.141-.034-.14-.036-.137-.036-.136-.037-.134-.038-.132-.039-.13-.039-.128-.041-.126-.041-.124-.041-.122-.043-.12-.043-.117-.044-.116-.044-.113-.046-.112-.046-.109-.046-.106-.048-.105-.048-.102-.048-.1-.05-.097-.049-.095-.051-.093-.051-.09-.052-.087-.052-.085-.053-.083-.053-.08-.054-.077-.054v4.153zm8.74-8.179l-.257.004-.254.005-.25.008-.247.011-.244.012-.241.014-.237.016-.233.018-.231.021-.226.022-.224.023-.22.026-.216.027-.212.028-.21.031-.205.032-.202.033-.198.034-.194.036-.191.038-.187.038-.183.04-.179.041-.175.042-.172.043-.168.043-.163.045-.16.046-.155.046-.152.048-.148.048-.143.048-.139.049-.136.05-.131.05-.126.051-.123.051-.118.051-.114.052-.11.052-.106.052-.101.052-.096.052-.092.052-.088.052-.083.052-.079.052-.074.051-.07.052-.065.051-.06.05-.056.05-.051.05-.023.025-.023.024-.021.024-.02.025-.019.024-.018.024-.017.023-.015.024-.014.023-.013.023-.012.023-.01.023-.01.022-.008.022-.006.023-.006.021-.004.022-.004.021-.001.021-.001.021.001.021.001.021.004.021.004.022.006.021.006.023.008.022.01.022.01.023.012.023.013.023.014.023.015.024.017.023.018.024.019.024.02.025.021.024.023.024.023.025.051.05.056.05.06.05.065.051.07.052.074.051.079.052.083.052.088.052.092.052.096.052.101.052.106.052.11.052.114.052.118.051.123.051.126.051.131.05.136.05.139.049.143.048.148.048.152.048.155.046.16.046.163.045.168.043.172.043.175.042.179.041.183.04.187.038.191.038.194.036.198.034.202.033.205.032.21.031.212.028.216.027.22.026.224.023.226.022.231.021.233.018.237.016.241.014.244.012.247.011.25.008.254.005.257.004.26.001.26-.001.257-.004.254-.005.25-.008.247-.011.244-.012.241-.014.237-.016.233-.018.231-.021.226-.022.224-.023.22-.026.216-.027.212-.028.21-.031.205-.032.202-.033.198-.034.194-.036.191-.038.187-.038.183-.04.179-.041.175-.042.172-.043.168-.043.163-.045.16-.046.155-.046.152-.048.148-.048.143-.048.139-.049.136-.05.131-.05.126-.051.123-.051.118-.051.114-.052.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.051.07-.052.065-.051.06-.05.056-.05.051-.05.023-.025.023-.024.021-.024.02-.025.019-.024.018-.024.017-.023.015-.024.014-.023.013-.023.012-.023.01-.023.01-.022.008-.022.006-.023.006-.021.004-.022.004-.021.001-.021.001-.021-.001-.021-.001-.021-.004-.021-.004-.022-.006-.021-.006-.023-.008-.022-.01-.022-.01-.023-.012-.023-.013-.023-.014-.023-.015-.024-.017-.023-.018-.024-.019-.024-.02-.025-.021-.024-.023-.024-.023-.025-.051-.05-.056-.05-.06-.05-.065-.051-.07-.052-.074-.051-.079-.052-.083-.052-.088-.052-.092-.052-.096-.052-.101-.052-.106-.052-.11-.052-.114-.052-.118-.051-.123-.051-.126-.051-.131-.05-.136-.05-.139-.049-.143-.048-.148-.048-.152-.048-.155-.046-.16-.046-.163-.045-.168-.043-.172-.043-.175-.042-.179-.041-.183-.04-.187-.038-.191-.038-.194-.036-.198-.034-.202-.033-.205-.032-.21-.031-.212-.028-.216-.027-.22-.026-.224-.023-.226-.022-.231-.021-.233-.018-.237-.016-.241-.014-.244-.012-.247-.011-.25-.008-.254-.005-.257-.004-.26-.001-.26.001z"/></symbol></defs><defs><symbol id="my-svg-clock" width="24" height="24"><path transform="scale(.5)" d="M12 2c5.514 0 10 4.486 10 10s-4.486 10-10 10-10-4.486-10-10 4.486-10 10-10zm0-2c-6.627 0-12 5.373-12 12s5.373 12 12 12 12-5.373 12-12-5.373-12-12-12zm5.848 12.459c.202.038.202.333.001.372-1.907.361-6.045 1.111-6.547 1.111-.719 0-1.301-.582-1.301-1.301 0-.512.77-5.447 1.125-7.445.034-.192.312-.181.343.014l.985 6.238 5.394 1.011z"/></symbol></defs><defs><marker id="my-svg-arrowhead" refX="7.9" refY="5" markerUnits="userSpaceOnUse" markerWidth="12" markerHeight="12" orient="auto-start-reverse"><path d="M -1 0 L 10 5 L 0 10 z"/></marker></defs><defs><marker id="my-svg-crosshead" markerWidth="15" markerHeight="8" orient="auto" refX="4" refY="4.5"><path fill="none" stroke="#000000" stroke-width="1pt" d="M 1,2 L 6,7 M 6,2 L 1,7" style="stroke-dasharray: 0, 0;"/></marker></defs><defs><marker id="my-svg-filled-head" refX="15.5" refY="7" markerWidth="20" markerHeight="28" orient="auto"><path d="M 18,7 L9,13 L14,7 L9,1 Z"/></marker></defs><defs><marker id="my-svg-sequencenumber" refX="15" refY="15" markerWidth="60" markerHeight="40" orient="auto"><circle cx="15" cy="15" r="6"/></marker></defs><defs><marker id="my-svg-solidTopArrowHead" refX="7.9" refY="7.25" markerUnits="userSpaceOnUse" markerWidth="12" markerHeight="12" orient="auto-start-reverse"><path d="M 0 0 L 10 8 L 0 8 z"/></marker></defs><defs><marker id="my-svg-solidBottomArrowHead" refX="7.9" refY="0.75" markerUnits="userSpaceOnUse" markerWidth="12" markerHeight="12" orient="auto-start-reverse"><path d="M 0 0 L 10 0 L 0 8 z"/></marker></defs><defs><marker id="my-svg-stickTopArrowHead" refX="7.5" refY="7" markerUnits="userSpaceOnUse" markerWidth="12" markerHeight="12" orient="auto-start-reverse"><path d="M 0 0 L 7 7" stroke="black" stroke-width="1.5" fill="none"/></marker></defs><defs><marker id="my-svg-stickBottomArrowHead" refX="7.5" refY="0" markerUnits="userSpaceOnUse" markerWidth="12" markerHeight="12" orient="auto-start-reverse"><path d="M 0 7 L 7 0" stroke="black" stroke-width="1.5" fill="none"/></marker></defs><g data-et="note" data-id="i16"><rect x="747" y="867" fill="#EDF2AE" stroke="#666" width="200" height="37" class="note"/><text x="847" y="872" text-anchor="middle" dominant-baseline="middle" alignment-baseline="middle" class="noteText" dy="1em" style="font-size: 16px; font-weight: 400;"><tspan x="847">Async execution upstream</tspan></text></g><text x="235" y="80" text-anchor="middle" dominant-baseline="middle" alignment-baseline="middle" class="messageText" dy="1em" style="font-size: 16px; font-weight: 400;">POST createTask (description, sources)</text><line x1="76" y1="111" x2="394" y2="111" class="messageLine0" data-et="message" data-id="i0" data-from="U" data-to="API" stroke-width="2" stroke="none" marker-end="url(#my-svg-arrowhead)" style="fill: none;"/><text x="399" y="126" text-anchor="middle" dominant-baseline="middle" alignment-baseline="middle" class="messageText" dy="1em" style="font-size: 16px; font-weight: 400;">Zod validation + AuthZ (management)</text><path d="M 399,157 C 459,147 459,187 399,177" class="messageLine0" data-et="message" data-id="i1" data-from="API" data-to="API" stroke-width="2" stroke="none" marker-end="url(#my-svg-arrowhead)" style="fill: none;"/><text x="500" y="202" text-anchor="middle" dominant-baseline="middle" alignment-baseline="middle" class="messageText" dy="1em" style="font-size: 16px; font-weight: 400;">getAgent(providerId)</text><line x1="399" y1="233" x2="601" y2="233" class="messageLine0" data-et="message" data-id="i2" data-from="API" data-to="Reg" stroke-width="2" stroke="none" marker-end="url(#my-svg-arrowhead)" style="fill: none;"/><text x="725" y="248" text-anchor="middle" dominant-baseline="middle" alignment-baseline="middle" class="messageText" dy="1em" style="font-size: 16px; font-weight: 400;">instantiate with credentials</text><line x1="606" y1="277" x2="843" y2="277" class="messageLine0" data-et="message" data-id="i3" data-from="Reg" data-to="Ag" stroke-width="2" stroke="none" marker-end="url(#my-svg-arrowhead)" style="fill: none;"/><text x="848" y="292" text-anchor="middle" dominant-baseline="middle" alignment-baseline="middle" class="messageText" dy="1em" style="font-size: 16px; font-weight: 400;">createTask() returns planning</text><path d="M 848,323 C 908,313 908,353 848,343" class="messageLine0" data-et="message" data-id="i4" data-from="Ag" data-to="Ag" stroke-width="2" stroke="none" marker-end="url(#my-svg-arrowhead)" style="fill: none;"/><text x="624" y="368" text-anchor="middle" dominant-baseline="middle" alignment-baseline="middle" class="messageText" dy="1em" style="font-size: 16px; font-weight: 400;">taskId + status: planning</text><line x1="846" y1="399" x2="402" y2="399" class="messageLine1" data-et="message" data-id="i5" data-from="Ag" data-to="API" stroke-width="2" stroke="none" marker-end="url(#my-svg-arrowhead)" style="stroke-dasharray: 3, 3; fill: none;"/><text x="741" y="414" text-anchor="middle" dominant-baseline="middle" alignment-baseline="middle" class="messageText" dy="1em" style="font-size: 16px; font-weight: 400;">insertCloudAgentTask</text><line x1="399" y1="445" x2="1082" y2="445" class="messageLine0" data-et="message" data-id="i6" data-from="API" data-to="DB" stroke-width="2" stroke="none" marker-end="url(#my-svg-arrowhead)" style="fill: none;"/><text x="238" y="460" text-anchor="middle" dominant-baseline="middle" alignment-baseline="middle" class="messageText" dy="1em" style="font-size: 16px; font-weight: 400;">taskId</text><line x1="397" y1="489" x2="79" y2="489" class="messageLine1" data-et="message" data-id="i7" data-from="API" data-to="U" stroke-width="2" stroke="none" marker-end="url(#my-svg-arrowhead)" style="stroke-dasharray: 3, 3; fill: none;"/><text x="235" y="504" text-anchor="middle" dominant-baseline="middle" alignment-baseline="middle" class="messageText" dy="1em" style="font-size: 16px; font-weight: 400;">GET /tasks/:id (poll)</text><line x1="76" y1="535" x2="394" y2="535" class="messageLine0" data-et="message" data-id="i8" data-from="U" data-to="API" stroke-width="2" stroke="none" marker-end="url(#my-svg-arrowhead)" style="fill: none;"/><text x="621" y="550" text-anchor="middle" dominant-baseline="middle" alignment-baseline="middle" class="messageText" dy="1em" style="font-size: 16px; font-weight: 400;">getStatus(externalId)</text><line x1="399" y1="581" x2="843" y2="581" class="messageLine0" data-et="message" data-id="i9" data-from="API" data-to="Ag" stroke-width="2" stroke="none" marker-end="url(#my-svg-arrowhead)" style="fill: none;"/><text x="624" y="596" text-anchor="middle" dominant-baseline="middle" alignment-baseline="middle" class="messageText" dy="1em" style="font-size: 16px; font-weight: 400;">status, plan, messages</text><line x1="846" y1="627" x2="402" y2="627" class="messageLine1" data-et="message" data-id="i10" data-from="Ag" data-to="API" stroke-width="2" stroke="none" marker-end="url(#my-svg-arrowhead)" style="stroke-dasharray: 3, 3; fill: none;"/><text x="741" y="642" text-anchor="middle" dominant-baseline="middle" alignment-baseline="middle" class="messageText" dy="1em" style="font-size: 16px; font-weight: 400;">updateCloudAgentTask</text><line x1="399" y1="673" x2="1082" y2="673" class="messageLine0" data-et="message" data-id="i11" data-from="API" data-to="DB" stroke-width="2" stroke="none" marker-end="url(#my-svg-arrowhead)" style="fill: none;"/><text x="238" y="688" text-anchor="middle" dominant-baseline="middle" alignment-baseline="middle" class="messageText" dy="1em" style="font-size: 16px; font-weight: 400;">snapshot</text><line x1="397" y1="719" x2="79" y2="719" class="messageLine1" data-et="message" data-id="i12" data-from="API" data-to="U" stroke-width="2" stroke="none" marker-end="url(#my-svg-arrowhead)" style="stroke-dasharray: 3, 3; fill: none;"/><text x="235" y="734" text-anchor="middle" dominant-baseline="middle" alignment-baseline="middle" class="messageText" dy="1em" style="font-size: 16px; font-weight: 400;">POST approvePlan</text><line x1="76" y1="765" x2="394" y2="765" class="messageLine0" data-et="message" data-id="i13" data-from="U" data-to="API" stroke-width="2" stroke="none" marker-end="url(#my-svg-arrowhead)" style="fill: none;"/><text x="621" y="780" text-anchor="middle" dominant-baseline="middle" alignment-baseline="middle" class="messageText" dy="1em" style="font-size: 16px; font-weight: 400;">approvePlan(externalId)</text><line x1="399" y1="811" x2="843" y2="811" class="messageLine0" data-et="message" data-id="i14" data-from="API" data-to="Ag" stroke-width="2" stroke="none" marker-end="url(#my-svg-arrowhead)" style="fill: none;"/><text x="624" y="826" text-anchor="middle" dominant-baseline="middle" alignment-baseline="middle" class="messageText" dy="1em" style="font-size: 16px; font-weight: 400;">status: running</text><line x1="846" y1="857" x2="402" y2="857" class="messageLine1" data-et="message" data-id="i15" data-from="Ag" data-to="API" stroke-width="2" stroke="none" marker-end="url(#my-svg-arrowhead)" style="stroke-dasharray: 3, 3; fill: none;"/><text x="965" y="919" text-anchor="middle" dominant-baseline="middle" alignment-baseline="middle" class="messageText" dy="1em" style="font-size: 16px; font-weight: 400;">stream events / final result</text><line x1="848" y1="948" x2="1082" y2="948" class="messageLine1" data-et="message" data-id="i17" data-from="Ag" data-to="DB" stroke-width="2" stroke="none" marker-end="url(#my-svg-arrowhead)" style="stroke-dasharray: 3, 3; fill: none;"/></svg>\ No newline at end of filediff --git a/docs/diagrams/exported/db-schema-overview.svg b/docs/diagrams/exported/db-schema-overview.svgnew file mode 100644index 0000000000..1aabb59678--- /dev/null+++ b/docs/diagrams/exported/db-schema-overview.svg@@ -0,0 +1 @@+<svg id="my-svg" width="100%" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" class="erDiagram" style="max-width: 2550.33px; background-color: white;" viewBox="0 0 2550.328125 470" role="graphics-document document" aria-roledescription="er"><style>#my-svg{font-family:"trebuchet ms",verdana,arial,sans-serif;font-size:16px;fill:#333;}@keyframes edge-animation-frame{from{stroke-dashoffset:0;}}@keyframes dash{to{stroke-dashoffset:0;}}#my-svg .edge-animation-slow{stroke-dasharray:9,5!important;stroke-dashoffset:900;animation:dash 50s linear infinite;stroke-linecap:round;}#my-svg .edge-animation-fast{stroke-dasharray:9,5!important;stroke-dashoffset:900;animation:dash 20s linear infinite;stroke-linecap:round;}#my-svg .error-icon{fill:#552222;}#my-svg .error-text{fill:#552222;stroke:#552222;}#my-svg .edge-thickness-normal{stroke-width:1px;}#my-svg .edge-thickness-thick{stroke-width:3.5px;}#my-svg .edge-pattern-solid{stroke-dasharray:0;}#my-svg .edge-thickness-invisible{stroke-width:0;fill:none;}#my-svg .edge-pattern-dashed{stroke-dasharray:3;}#my-svg .edge-pattern-dotted{stroke-dasharray:2;}#my-svg .marker{fill:#333333;stroke:#333333;}#my-svg .marker.cross{stroke:#333333;}#my-svg svg{font-family:"trebuchet ms",verdana,arial,sans-serif;font-size:16px;}#my-svg p{margin:0;}#my-svg .entityBox{fill:#ECECFF;stroke:#9370DB;}#my-svg .relationshipLabelBox{fill:hsl(80, 100%, 96.2745098039%);opacity:0.7;background-color:hsl(80, 100%, 96.2745098039%);}#my-svg .relationshipLabelBox rect{opacity:0.5;}#my-svg .labelBkg{background-color:rgba(248.6666666666, 255, 235.9999999999, 0.5);}#my-svg .edgeLabel{background-color:rgba(232,232,232, 0.8);}#my-svg .edgeLabel .label rect{fill:rgba(232,232,232, 0.8);}#my-svg .edgeLabel .label text{fill:#333;}#my-svg .edgeLabel .label{fill:#9370DB;font-size:14px;}#my-svg .label{font-family:"trebuchet ms",verdana,arial,sans-serif;color:#333;}#my-svg .edge-pattern-dashed{stroke-dasharray:8,8;}#my-svg .node rect,#my-svg .node circle,#my-svg .node ellipse,#my-svg .node polygon{fill:#ECECFF;stroke:#9370DB;stroke-width:1px;}#my-svg .relationshipLine{stroke:#333333;stroke-width:1px;fill:none;}#my-svg .marker{fill:none!important;stroke:#333333!important;stroke-width:1;}#my-svg [data-look=neo].labelBkg{background-color:rgba(248.6666666666, 255, 235.9999999999, 0.5);}#my-svg .node .neo-node{stroke:#9370DB;}#my-svg [data-look="neo"].node rect,#my-svg [data-look="neo"].cluster rect,#my-svg [data-look="neo"].node polygon{stroke:#9370DB;filter:drop-shadow(1px 2px 2px rgba(185, 185, 185, 1));}#my-svg [data-look="neo"].node path{stroke:#9370DB;stroke-width:1px;}#my-svg [data-look="neo"].node .outer-path{filter:drop-shadow(1px 2px 2px rgba(185, 185, 185, 1));}#my-svg [data-look="neo"].node .neo-line path{stroke:#9370DB;filter:none;}#my-svg [data-look="neo"].node circle{stroke:#9370DB;filter:drop-shadow(1px 2px 2px rgba(185, 185, 185, 1));}#my-svg [data-look="neo"].node circle .state-start{fill:#000000;}#my-svg [data-look="neo"].icon-shape .icon{fill:#9370DB;filter:drop-shadow(1px 2px 2px rgba(185, 185, 185, 1));}#my-svg [data-look="neo"].icon-shape .icon-neo path{stroke:#9370DB;filter:drop-shadow(1px 2px 2px rgba(185, 185, 185, 1));}#my-svg :root{--mermaid-font-family:"trebuchet ms",verdana,arial,sans-serif;}</style><g><defs><marker id="my-svg_er-onlyOneStart" class="marker onlyOne er" refX="0" refY="9" markerWidth="18" markerHeight="18" orient="auto"><path d="M9,0 L9,18 M15,0 L15,18"/></marker></defs><defs><marker id="my-svg_er-onlyOneEnd" class="marker onlyOne er" refX="18" refY="9" markerWidth="18" markerHeight="18" orient="auto"><path d="M3,0 L3,18 M9,0 L9,18"/></marker></defs><defs><marker id="my-svg_er-zeroOrOneStart" class="marker zeroOrOne er" refX="0" refY="9" markerWidth="30" markerHeight="18" orient="auto"><circle fill="white" cx="21" cy="9" r="6"/><path d="M9,0 L9,18"/></marker></defs><defs><marker id="my-svg_er-zeroOrOneEnd" class="marker zeroOrOne er" refX="30" refY="9" markerWidth="30" markerHeight="18" orient="auto"><circle fill="white" cx="9" cy="9" r="6"/><path d="M21,0 L21,18"/></marker></defs><defs><marker id="my-svg_er-oneOrMoreStart" class="marker oneOrMore er" refX="18" refY="18" markerWidth="45" markerHeight="36" orient="auto"><path d="M0,18 Q 18,0 36,18 Q 18,36 0,18 M42,9 L42,27"/></marker></defs><defs><marker id="my-svg_er-oneOrMoreEnd" class="marker oneOrMore er" refX="27" refY="18" markerWidth="45" markerHeight="36" orient="auto"><path d="M3,9 L3,27 M9,18 Q27,0 45,18 Q27,36 9,18"/></marker></defs><defs><marker id="my-svg_er-zeroOrMoreStart" class="marker zeroOrMore er" refX="18" refY="18" markerWidth="57" markerHeight="36" orient="auto"><circle fill="white" cx="48" cy="18" r="6"/><path d="M0,18 Q18,0 36,18 Q18,36 0,18"/></marker></defs><defs><marker id="my-svg_er-zeroOrMoreEnd" class="marker zeroOrMore er" refX="39" refY="18" markerWidth="57" markerHeight="36" orient="auto"><circle fill="white" cx="9" cy="18" r="6"/><path d="M21,18 Q39,0 57,18 Q39,36 21,18"/></marker></defs><g class="root"><g class="clusters"/><g class="edgePaths"><path d="M519.691,270.305L505.765,279.837C491.839,289.37,463.986,308.435,450.059,326.384C436.133,344.333,436.133,361.167,436.133,369.583L436.133,378" id="my-svg-id_entity-api_keys-0_entity-api_key_usage-1_0" class="edge-thickness-normal edge-pattern-solid relationshipLine" style="undefined;;;undefined" data-edge="true" data-et="edge" data-id="id_entity-api_keys-0_entity-api_key_usage-1_0" data-points="W3sieCI6NTE5LjY5MTQwNjI1LCJ5IjoyNzAuMzA0ODEyODM0MjI0Nn0seyJ4Ijo0MzYuMTMyODEyNSwieSI6MzI3LjV9LHsieCI6NDM2LjEzMjgxMjUsInkiOjM3OH1d" data-look="classic" marker-start="url(#my-svg_er-onlyOneStart)" marker-end="url(#my-svg_er-zeroOrMoreEnd)"/><path d="M622.848,270.305L636.774,279.837C650.701,289.37,678.553,308.435,692.48,326.384C706.406,344.333,706.406,361.167,706.406,369.583L706.406,378" id="my-svg-id_entity-api_keys-0_entity-rate_limits-2_1" class="edge-thickness-normal edge-pattern-solid relationshipLine" style="undefined;;;undefined" data-edge="true" data-et="edge" data-id="id_entity-api_keys-0_entity-rate_limits-2_1" data-points="W3sieCI6NjIyLjg0NzY1NjI1LCJ5IjoyNzAuMzA0ODEyODM0MjI0Nn0seyJ4Ijo3MDYuNDA2MjUsInkiOjMyNy41fSx7IngiOjcwNi40MDYyNSwieSI6Mzc4fV0=" data-look="classic" marker-start="url(#my-svg_er-onlyOneStart)" marker-end="url(#my-svg_er-zeroOrMoreEnd)"/><path d="M115.156,92L115.156,100.417C115.156,108.833,115.156,125.667,115.156,142.5C115.156,159.333,115.156,176.167,115.156,184.583L115.156,193" id="my-svg-id_entity-providers-3_entity-provider_connections-4_2" class="edge-thickness-normal edge-pattern-solid relationshipLine" style="undefined;;;undefined" data-edge="true" data-et="edge" data-id="id_entity-providers-3_entity-provider_connections-4_2" data-points="W3sieCI6MTE1LjE1NjI1LCJ5Ijo5Mn0seyJ4IjoxMTUuMTU2MjUsInkiOjE0Mi41fSx7IngiOjExNS4xNTYyNSwieSI6MTkzfV0=" data-look="classic" marker-start="url(#my-svg_er-onlyOneStart)" marker-end="url(#my-svg_er-zeroOrMoreEnd)"/><path d="M115.156,277L115.156,285.417C115.156,293.833,115.156,310.667,115.156,327.5C115.156,344.333,115.156,361.167,115.156,369.583L115.156,378" id="my-svg-id_entity-provider_connections-4_entity-domain_circuit_breakers-5_3" class="edge-thickness-normal edge-pattern-solid relationshipLine" style="undefined;;;undefined" data-edge="true" data-et="edge" data-id="id_entity-provider_connections-4_entity-domain_circuit_breakers-5_3" data-points="W3sieCI6MTE1LjE1NjI1LCJ5IjoyNzd9LHsieCI6MTE1LjE1NjI1LCJ5IjozMjcuNX0seyJ4IjoxMTUuMTU2MjUsInkiOjM3OH1d" data-look="classic" marker-start="url(#my-svg_er-onlyOneStart)" marker-end="url(#my-svg_er-zeroOrMoreEnd)"/><path d="M1051.488,80.871L1034.852,91.143C1018.216,101.414,984.944,121.957,968.308,140.645C951.672,159.333,951.672,176.167,951.672,184.583L951.672,193" id="my-svg-id_entity-combos-6_entity-combo_targets-7_4" class="edge-thickness-normal edge-pattern-solid relationshipLine" style="undefined;;;undefined" data-edge="true" data-et="edge" data-id="id_entity-combos-6_entity-combo_targets-7_4" data-points="W3sieCI6MTA1MS40ODgyODEyNSwieSI6ODAuODcxMTE4Mjk1ODMwODR9LHsieCI6OTUxLjY3MTg3NSwieSI6MTQyLjV9LHsieCI6OTUxLjY3MTg3NSwieSI6MTkzfV0=" data-look="classic" marker-start="url(#my-svg_er-onlyOneStart)" marker-end="url(#my-svg_er-zeroOrMoreEnd)"/><path d="M1151.488,80.871L1168.124,91.143C1184.76,101.414,1218.033,121.957,1234.669,140.645C1251.305,159.333,1251.305,176.167,1251.305,184.583L1251.305,193" id="my-svg-id_entity-combos-6_entity-combo_executions-8_5" class="edge-thickness-normal edge-pattern-solid relationshipLine" style="undefined;;;undefined" data-edge="true" data-et="edge" data-id="id_entity-combos-6_entity-combo_executions-8_5" data-points="W3sieCI6MTE1MS40ODgyODEyNSwieSI6ODAuODcxMTE4Mjk1ODMwODR9LHsieCI6MTI1MS4zMDQ2ODc1LCJ5IjoxNDIuNX0seyJ4IjoxMjUxLjMwNDY4NzUsInkiOjE5M31d" data-look="classic" marker-start="url(#my-svg_er-onlyOneStart)" marker-end="url(#my-svg_er-zeroOrMoreEnd)"/><path d="M1570.523,92L1570.523,100.417C1570.523,108.833,1570.523,125.667,1570.523,142.5C1570.523,159.333,1570.523,176.167,1570.523,184.583L1570.523,193" id="my-svg-id_entity-spend_buffer-9_entity-usage_aggregations-10_6" class="edge-thickness-normal edge-pattern-solid relationshipLine" style="undefined;;;undefined" data-edge="true" data-et="edge" data-id="id_entity-spend_buffer-9_entity-usage_aggregations-10_6" data-points="W3sieCI6MTU3MC41MjM0Mzc1LCJ5Ijo5Mn0seyJ4IjoxNTcwLjUyMzQzNzUsInkiOjE0Mi41fSx7IngiOjE1NzAuNTIzNDM3NSwieSI6MTkzfV0=" data-look="classic" marker-start="url(#my-svg_er-onlyOneStart)" marker-end="url(#my-svg_er-zeroOrMoreEnd)"/><path d="M1881.719,92L1881.719,100.417C1881.719,108.833,1881.719,125.667,1881.719,142.5C1881.719,159.333,1881.719,176.167,1881.719,184.583L1881.719,193" id="my-svg-id_entity-memory_documents-11_entity-memory_chunks-12_7" class="edge-thickness-normal edge-pattern-solid relationshipLine" style="undefined;;;undefined" data-edge="true" data-et="edge" data-id="id_entity-memory_documents-11_entity-memory_chunks-12_7" data-points="W3sieCI6MTg4MS43MTg3NSwieSI6OTJ9LHsieCI6MTg4MS43MTg3NSwieSI6MTQyLjV9LHsieCI6MTg4MS43MTg3NSwieSI6MTkzfV0=" data-look="classic" marker-start="url(#my-svg_er-onlyOneStart)" marker-end="url(#my-svg_er-zeroOrMoreEnd)"/><path d="M2171.539,92L2171.539,100.417C2171.539,108.833,2171.539,125.667,2171.539,142.5C2171.539,159.333,2171.539,176.167,2171.539,184.583L2171.539,193" id="my-svg-id_entity-skills_runs-13_entity-skills_logs-14_8" class="edge-thickness-normal edge-pattern-solid relationshipLine" style="undefined;;;undefined" data-edge="true" data-et="edge" data-id="id_entity-skills_runs-13_entity-skills_logs-14_8" data-points="W3sieCI6MjE3MS41MzkwNjI1LCJ5Ijo5Mn0seyJ4IjoyMTcxLjUzOTA2MjUsInkiOjE0Mi41fSx7IngiOjIxNzEuNTM5MDYyNSwieSI6MTkzfV0=" data-look="classic" marker-start="url(#my-svg_er-onlyOneStart)" marker-end="url(#my-svg_er-zeroOrMoreEnd)"/><path d="M2455.164,92L2455.164,100.417C2455.164,108.833,2455.164,125.667,2455.164,142.5C2455.164,159.333,2455.164,176.167,2455.164,184.583L2455.164,193" id="my-svg-id_entity-agent_tasks-15_entity-agent_task_events-16_9" class="edge-thickness-normal edge-pattern-solid relationshipLine" style="undefined;;;undefined" data-edge="true" data-et="edge" data-id="id_entity-agent_tasks-15_entity-agent_task_events-16_9" data-points="W3sieCI6MjQ1NS4xNjQwNjI1LCJ5Ijo5Mn0seyJ4IjoyNDU1LjE2NDA2MjUsInkiOjE0Mi41fSx7IngiOjI0NTUuMTY0MDYyNSwieSI6MTkzfV0=" data-look="classic" marker-start="url(#my-svg_er-onlyOneStart)" marker-end="url(#my-svg_er-zeroOrMoreEnd)"/><path d="M398.336,92L398.336,100.417C398.336,108.833,398.336,125.667,418.562,144.902C438.788,164.137,479.24,185.774,499.465,196.593L519.691,207.412" id="my-svg-id_entity-audit_log-17_entity-api_keys-0_10" class="edge-thickness-normal edge-pattern-solid relationshipLine" style="undefined;;;undefined" data-edge="true" data-et="edge" data-id="id_entity-audit_log-17_entity-api_keys-0_10" data-points="W3sieCI6Mzk4LjMzNTkzNzUsInkiOjkyfSx7IngiOjM5OC4zMzU5Mzc1LCJ5IjoxNDIuNX0seyJ4Ijo1MTkuNjkxNDA2MjUsInkiOjIwNy40MTE1MTA5MjEzNzA2NX1d" data-look="classic" marker-start="url(#my-svg_er-oneOrMoreStart)" marker-end="url(#my-svg_er-onlyOneEnd)"/><path d="M695.965,92L695.965,100.417C695.965,108.833,695.965,125.667,683.779,143.123C671.592,160.58,647.22,178.659,635.034,187.699L622.848,196.739" id="my-svg-id_entity-mcp_audit-18_entity-api_keys-0_11" class="edge-thickness-normal edge-pattern-solid relationshipLine" style="undefined;;;undefined" data-edge="true" data-et="edge" data-id="id_entity-mcp_audit-18_entity-api_keys-0_11" data-points="W3sieCI6Njk1Ljk2NDg0Mzc1LCJ5Ijo5Mn0seyJ4Ijo2OTUuOTY0ODQzNzUsInkiOjE0Mi41fSx7IngiOjYyMi44NDc2NTYyNSwieSI6MTk2LjczODkyNjEzMjQ0NzgzfV0=" data-look="classic" marker-start="url(#my-svg_er-oneOrMoreStart)" marker-end="url(#my-svg_er-onlyOneEnd)"/></g><g class="edgeLabels"><g class="edgeLabel" transform="translate(436.1328125, 327.5)"><g class="label" data-id="id_entity-api_keys-0_entity-api_key_usage-1_0" transform="translate(-18.671875, -10.5)"><foreignObject width="37.34375" height="21"><div xmlns="http://www.w3.org/1999/xhtml" class="labelBkg" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="edgeLabel"><p>tracks</p></span></div></foreignObject></g></g><g class="edgeLabel" transform="translate(706.40625, 327.5)"><g class="label" data-id="id_entity-api_keys-0_entity-rate_limits-2_1" transform="translate(-26.8515625, -10.5)"><foreignObject width="53.703125" height="21"><div xmlns="http://www.w3.org/1999/xhtml" class="labelBkg" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="edgeLabel"><p>enforces</p></span></div></foreignObject></g></g><g class="edgeLabel" transform="translate(115.15625, 142.5)"><g class="label" data-id="id_entity-providers-3_entity-provider_connections-4_2" transform="translate(-16.734375, -10.5)"><foreignObject width="33.46875" height="21"><div xmlns="http://www.w3.org/1999/xhtml" class="labelBkg" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="edgeLabel"><p>holds</p></span></div></foreignObject></g></g><g class="edgeLabel" transform="translate(115.15625, 327.5)"><g class="label" data-id="id_entity-provider_connections-4_entity-domain_circuit_breakers-5_3" transform="translate(-40.4765625, -10.5)"><foreignObject width="80.953125" height="21"><div xmlns="http://www.w3.org/1999/xhtml" class="labelBkg" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="edgeLabel"><p>protected_by</p></span></div></foreignObject></g></g><g class="edgeLabel" transform="translate(951.671875, 142.5)"><g class="label" data-id="id_entity-combos-6_entity-combo_targets-7_4" transform="translate(-26.078125, -10.5)"><foreignObject width="52.15625" height="21"><div xmlns="http://www.w3.org/1999/xhtml" class="labelBkg" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="edgeLabel"><p>contains</p></span></div></foreignObject></g></g><g class="edgeLabel" transform="translate(1251.3046875, 142.5)"><g class="label" data-id="id_entity-combos-6_entity-combo_executions-8_5" transform="translate(-12.84375, -10.5)"><foreignObject width="25.6875" height="21"><div xmlns="http://www.w3.org/1999/xhtml" class="labelBkg" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="edgeLabel"><p>logs</p></span></div></foreignObject></g></g><g class="edgeLabel" transform="translate(1570.5234375, 142.5)"><g class="label" data-id="id_entity-spend_buffer-9_entity-usage_aggregations-10_6" transform="translate(-32.3046875, -10.5)"><foreignObject width="64.609375" height="21"><div xmlns="http://www.w3.org/1999/xhtml" class="labelBkg" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="edgeLabel"><p>flushed_to</p></span></div></foreignObject></g></g><g class="edgeLabel" transform="translate(1881.71875, 142.5)"><g class="label" data-id="id_entity-memory_documents-11_entity-memory_chunks-12_7" transform="translate(-27.6328125, -10.5)"><foreignObject width="55.265625" height="21"><div xmlns="http://www.w3.org/1999/xhtml" class="labelBkg" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="edgeLabel"><p>split_into</p></span></div></foreignObject></g></g><g class="edgeLabel" transform="translate(2171.5390625, 142.5)"><g class="label" data-id="id_entity-skills_runs-13_entity-skills_logs-14_8" transform="translate(-29.1953125, -10.5)"><foreignObject width="58.390625" height="21"><div xmlns="http://www.w3.org/1999/xhtml" class="labelBkg" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="edgeLabel"><p>produced</p></span></div></foreignObject></g></g><g class="edgeLabel" transform="translate(2455.1640625, 142.5)"><g class="label" data-id="id_entity-agent_tasks-15_entity-agent_task_events-16_9" transform="translate(-24.8984375, -10.5)"><foreignObject width="49.796875" height="21"><div xmlns="http://www.w3.org/1999/xhtml" class="labelBkg" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="edgeLabel"><p>streams</p></span></div></foreignObject></g></g><g class="edgeLabel" transform="translate(398.3359375, 142.5)"><g class="label" data-id="id_entity-audit_log-17_entity-api_keys-0_10" transform="translate(-7.3984375, -10.5)"><foreignObject width="14.796875" height="21"><div xmlns="http://www.w3.org/1999/xhtml" class="labelBkg" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="edgeLabel"><p>by</p></span></div></foreignObject></g></g><g class="edgeLabel" transform="translate(695.96484375, 142.5)"><g class="label" data-id="id_entity-mcp_audit-18_entity-api_keys-0_11" transform="translate(-7.3984375, -10.5)"><foreignObject width="14.796875" height="21"><div xmlns="http://www.w3.org/1999/xhtml" class="labelBkg" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="edgeLabel"><p>by</p></span></div></foreignObject></g></g></g><g class="nodes"><g class="node default" id="my-svg-entity-api_keys-0" data-look="classic" transform="translate(571.26953125, 235)"><rect class="basic label-container" style="" x="-51.578125" y="-42" width="103.15625" height="84"/><g class="label" style="" transform="translate(-31.578125, -12)"><rect/><foreignObject width="63.15625" height="24"><div xmlns="http://www.w3.org/1999/xhtml" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 100px; text-align: center;"><span class="nodeLabel markdown-node-label"><p>api_keys</p></span></div></foreignObject></g></g><g class="node default" id="my-svg-entity-api_key_usage-1" data-look="classic" transform="translate(436.1328125, 420)"><rect class="basic label-container" style="" x="-73.8203125" y="-42" width="147.640625" height="84"/><g class="label" style="" transform="translate(-53.8203125, -12)"><rect/><foreignObject width="107.640625" height="24"><div xmlns="http://www.w3.org/1999/xhtml" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="nodeLabel markdown-node-label"><p>api_key_usage</p></span></div></foreignObject></g></g><g class="node default" id="my-svg-entity-rate_limits-2" data-look="classic" transform="translate(706.40625, 420)"><rect class="basic label-container" style="" x="-56.453125" y="-42" width="112.90625" height="84"/><g class="label" style="" transform="translate(-36.453125, -12)"><rect/><foreignObject width="72.90625" height="24"><div xmlns="http://www.w3.org/1999/xhtml" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="nodeLabel markdown-node-label"><p>rate_limits</p></span></div></foreignObject></g></g><g class="node default" id="my-svg-entity-providers-3" data-look="classic" transform="translate(115.15625, 50)"><rect class="basic label-container" style="" x="-52.90625" y="-42" width="105.8125" height="84"/><g class="label" style="" transform="translate(-32.90625, -12)"><rect/><foreignObject width="65.8125" height="24"><div xmlns="http://www.w3.org/1999/xhtml" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="nodeLabel markdown-node-label"><p>providers</p></span></div></foreignObject></g></g><g class="node default" id="my-svg-entity-provider_connections-4" data-look="classic" transform="translate(115.15625, 235)"><rect class="basic label-container" style="" x="-96.046875" y="-42" width="192.09375" height="84"/><g class="label" style="" transform="translate(-76.046875, -12)"><rect/><foreignObject width="152.09375" height="24"><div xmlns="http://www.w3.org/1999/xhtml" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="nodeLabel markdown-node-label"><p>provider_connections</p></span></div></foreignObject></g></g><g class="node default" id="my-svg-entity-domain_circuit_breakers-5" data-look="classic" transform="translate(115.15625, 420)"><rect class="basic label-container" style="" x="-107.15625" y="-42" width="214.3125" height="84"/><g class="label" style="" transform="translate(-87.15625, -12)"><rect/><foreignObject width="174.3125" height="24"><div xmlns="http://www.w3.org/1999/xhtml" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="nodeLabel markdown-node-label"><p>domain_circuit_breakers</p></span></div></foreignObject></g></g><g class="node default" id="my-svg-entity-combos-6" data-look="classic" transform="translate(1101.48828125, 50)"><rect class="basic label-container" style="" x="-50" y="-42" width="100" height="84"/><g class="label" style="" transform="translate(-28.015625, -12)"><rect/><foreignObject width="56.03125" height="24"><div xmlns="http://www.w3.org/1999/xhtml" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 100px; text-align: center;"><span class="nodeLabel markdown-node-label"><p>combos</p></span></div></foreignObject></g></g><g class="node default" id="my-svg-entity-combo_targets-7" data-look="classic" transform="translate(951.671875, 235)"><rect class="basic label-container" style="" x="-72.921875" y="-42" width="145.84375" height="84"/><g class="label" style="" transform="translate(-52.921875, -12)"><rect/><foreignObject width="105.84375" height="24"><div xmlns="http://www.w3.org/1999/xhtml" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="nodeLabel markdown-node-label"><p>combo_targets</p></span></div></foreignObject></g></g><g class="node default" id="my-svg-entity-combo_executions-8" data-look="classic" transform="translate(1251.3046875, 235)"><rect class="basic label-container" style="" x="-86.7109375" y="-42" width="173.421875" height="84"/><g class="label" style="" transform="translate(-66.7109375, -12)"><rect/><foreignObject width="133.421875" height="24"><div xmlns="http://www.w3.org/1999/xhtml" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="nodeLabel markdown-node-label"><p>combo_executions</p></span></div></foreignObject></g></g><g class="node default" id="my-svg-entity-spend_buffer-9" data-look="classic" transform="translate(1570.5234375, 50)"><rect class="basic label-container" style="" x="-66.5625" y="-42" width="133.125" height="84"/><g class="label" style="" transform="translate(-46.5625, -12)"><rect/><foreignObject width="93.125" height="24"><div xmlns="http://www.w3.org/1999/xhtml" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="nodeLabel markdown-node-label"><p>spend_buffer</p></span></div></foreignObject></g></g><g class="node default" id="my-svg-entity-usage_aggregations-10" data-look="classic" transform="translate(1570.5234375, 235)"><rect class="basic label-container" style="" x="-92.5078125" y="-42" width="185.015625" height="84"/><g class="label" style="" transform="translate(-72.5078125, -12)"><rect/><foreignObject width="145.015625" height="24"><div xmlns="http://www.w3.org/1999/xhtml" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="nodeLabel markdown-node-label"><p>usage_aggregations</p></span></div></foreignObject></g></g><g class="node default" id="my-svg-entity-memory_documents-11" data-look="classic" transform="translate(1881.71875, 50)"><rect class="basic label-container" style="" x="-92.4765625" y="-42" width="184.953125" height="84"/><g class="label" style="" transform="translate(-72.4765625, -12)"><rect/><foreignObject width="144.953125" height="24"><div xmlns="http://www.w3.org/1999/xhtml" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="nodeLabel markdown-node-label"><p>memory_documents</p></span></div></foreignObject></g></g><g class="node default" id="my-svg-entity-memory_chunks-12" data-look="classic" transform="translate(1881.71875, 235)"><rect class="basic label-container" style="" x="-78.6875" y="-42" width="157.375" height="84"/><g class="label" style="" transform="translate(-58.6875, -12)"><rect/><foreignObject width="117.375" height="24"><div xmlns="http://www.w3.org/1999/xhtml" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="nodeLabel markdown-node-label"><p>memory_chunks</p></span></div></foreignObject></g></g><g class="node default" id="my-svg-entity-skills_runs-13" data-look="classic" transform="translate(2171.5390625, 50)"><rect class="basic label-container" style="" x="-57.34375" y="-42" width="114.6875" height="84"/><g class="label" style="" transform="translate(-37.34375, -12)"><rect/><foreignObject width="74.6875" height="24"><div xmlns="http://www.w3.org/1999/xhtml" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="nodeLabel markdown-node-label"><p>skills_runs</p></span></div></foreignObject></g></g><g class="node default" id="my-svg-entity-skills_logs-14" data-look="classic" transform="translate(2171.5390625, 235)"><rect class="basic label-container" style="" x="-56.4609375" y="-42" width="112.921875" height="84"/><g class="label" style="" transform="translate(-36.4609375, -12)"><rect/><foreignObject width="72.921875" height="24"><div xmlns="http://www.w3.org/1999/xhtml" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="nodeLabel markdown-node-label"><p>skills_logs</p></span></div></foreignObject></g></g><g class="node default" id="my-svg-entity-agent_tasks-15" data-look="classic" transform="translate(2455.1640625, 50)"><rect class="basic label-container" style="" x="-63.140625" y="-42" width="126.28125" height="84"/><g class="label" style="" transform="translate(-43.140625, -12)"><rect/><foreignObject width="86.28125" height="24"><div xmlns="http://www.w3.org/1999/xhtml" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="nodeLabel markdown-node-label"><p>agent_tasks</p></span></div></foreignObject></g></g><g class="node default" id="my-svg-entity-agent_task_events-16" data-look="classic" transform="translate(2455.1640625, 235)"><rect class="basic label-container" style="" x="-87.1640625" y="-42" width="174.328125" height="84"/><g class="label" style="" transform="translate(-67.1640625, -12)"><rect/><foreignObject width="134.328125" height="24"><div xmlns="http://www.w3.org/1999/xhtml" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="nodeLabel markdown-node-label"><p>agent_task_events</p></span></div></foreignObject></g></g><g class="node default" id="my-svg-entity-audit_log-17" data-look="classic" transform="translate(398.3359375, 50)"><rect class="basic label-container" style="" x="-52.4765625" y="-42" width="104.953125" height="84"/><g class="label" style="" transform="translate(-32.4765625, -12)"><rect/><foreignObject width="64.953125" height="24"><div xmlns="http://www.w3.org/1999/xhtml" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="nodeLabel markdown-node-label"><p>audit_log</p></span></div></foreignObject></g></g><g class="node default" id="my-svg-entity-mcp_audit-18" data-look="classic" transform="translate(695.96484375, 50)"><rect class="basic label-container" style="" x="-56.9140625" y="-42" width="113.828125" height="84"/><g class="label" style="" transform="translate(-36.9140625, -12)"><rect/><foreignObject width="73.828125" height="24"><div xmlns="http://www.w3.org/1999/xhtml" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="nodeLabel markdown-node-label"><p>mcp_audit</p></span></div></foreignObject></g></g></g></g></g><defs><filter id="my-svg-drop-shadow" height="130%" width="130%"><feDropShadow dx="4" dy="4" stdDeviation="0" flood-opacity="0.06" flood-color="#000000"/></filter></defs><defs><filter id="my-svg-drop-shadow-small" height="150%" width="150%"><feDropShadow dx="2" dy="2" stdDeviation="0" flood-opacity="0.06" flood-color="#000000"/></filter></defs></svg>\ No newline at end of filediff --git a/docs/diagrams/exported/i18n-flow.svg b/docs/diagrams/exported/i18n-flow.svgnew file mode 100644index 0000000000..dc0d44561e--- /dev/null+++ b/docs/diagrams/exported/i18n-flow.svg@@ -0,0 +1 @@+<svg id="my-svg" width="100%" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" class="flowchart" style="max-width: 2218px; background-color: white;" viewBox="0 0 2218 288.19140625" role="graphics-document document" aria-roledescription="flowchart-v2"><style>#my-svg{font-family:"trebuchet ms",verdana,arial,sans-serif;font-size:16px;fill:#333;}@keyframes edge-animation-frame{from{stroke-dashoffset:0;}}@keyframes dash{to{stroke-dashoffset:0;}}#my-svg .edge-animation-slow{stroke-dasharray:9,5!important;stroke-dashoffset:900;animation:dash 50s linear infinite;stroke-linecap:round;}#my-svg .edge-animation-fast{stroke-dasharray:9,5!important;stroke-dashoffset:900;animation:dash 20s linear infinite;stroke-linecap:round;}#my-svg .error-icon{fill:#552222;}#my-svg .error-text{fill:#552222;stroke:#552222;}#my-svg .edge-thickness-normal{stroke-width:1px;}#my-svg .edge-thickness-thick{stroke-width:3.5px;}#my-svg .edge-pattern-solid{stroke-dasharray:0;}#my-svg .edge-thickness-invisible{stroke-width:0;fill:none;}#my-svg .edge-pattern-dashed{stroke-dasharray:3;}#my-svg .edge-pattern-dotted{stroke-dasharray:2;}#my-svg .marker{fill:#333333;stroke:#333333;}#my-svg .marker.cross{stroke:#333333;}#my-svg svg{font-family:"trebuchet ms",verdana,arial,sans-serif;font-size:16px;}#my-svg p{margin:0;}#my-svg .label{font-family:"trebuchet ms",verdana,arial,sans-serif;color:#333;}#my-svg .cluster-label text{fill:#333;}#my-svg .cluster-label span{color:#333;}#my-svg .cluster-label span p{background-color:transparent;}#my-svg .label text,#my-svg span{fill:#333;color:#333;}#my-svg .node rect,#my-svg .node circle,#my-svg .node ellipse,#my-svg .node polygon,#my-svg .node path{fill:#ECECFF;stroke:#9370DB;stroke-width:1px;}#my-svg .rough-node .label text,#my-svg .node .label text,#my-svg .image-shape .label,#my-svg .icon-shape .label{text-anchor:middle;}#my-svg .node .katex path{fill:#000;stroke:#000;stroke-width:1px;}#my-svg .rough-node .label,#my-svg .node .label,#my-svg .image-shape .label,#my-svg .icon-shape .label{text-align:center;}#my-svg .node.clickable{cursor:pointer;}#my-svg .root .anchor path{fill:#333333!important;stroke-width:0;stroke:#333333;}#my-svg .arrowheadPath{fill:#333333;}#my-svg .edgePath .path{stroke:#333333;stroke-width:1px;}#my-svg .flowchart-link{stroke:#333333;fill:none;}#my-svg .edgeLabel{background-color:rgba(232,232,232, 0.8);text-align:center;}#my-svg .edgeLabel p{background-color:rgba(232,232,232, 0.8);}#my-svg .edgeLabel rect{opacity:0.5;background-color:rgba(232,232,232, 0.8);fill:rgba(232,232,232, 0.8);}#my-svg .labelBkg{background-color:rgba(232, 232, 232, 0.5);}#my-svg .cluster rect{fill:#ffffde;stroke:#aaaa33;stroke-width:1px;}#my-svg .cluster text{fill:#333;}#my-svg .cluster span{color:#333;}#my-svg div.mermaidTooltip{position:absolute;text-align:center;max-width:200px;padding:2px;font-family:"trebuchet ms",verdana,arial,sans-serif;font-size:12px;background:hsl(80, 100%, 96.2745098039%);border:1px solid #aaaa33;border-radius:2px;pointer-events:none;z-index:100;}#my-svg .flowchartTitleText{text-anchor:middle;font-size:18px;fill:#333;}#my-svg rect.text{fill:none;stroke-width:0;}#my-svg .icon-shape,#my-svg .image-shape{background-color:rgba(232,232,232, 0.8);text-align:center;}#my-svg .icon-shape p,#my-svg .image-shape p{background-color:rgba(232,232,232, 0.8);padding:2px;}#my-svg .icon-shape .label rect,#my-svg .image-shape .label rect{opacity:0.5;background-color:rgba(232,232,232, 0.8);fill:rgba(232,232,232, 0.8);}#my-svg .label-icon{display:inline-block;height:1em;overflow:visible;vertical-align:-0.125em;}#my-svg .node .label-icon path{fill:currentColor;stroke:revert;stroke-width:revert;}#my-svg .node .neo-node{stroke:#9370DB;}#my-svg [data-look="neo"].node rect,#my-svg [data-look="neo"].cluster rect,#my-svg [data-look="neo"].node polygon{stroke:#9370DB;filter:drop-shadow(1px 2px 2px rgba(185, 185, 185, 1));}#my-svg [data-look="neo"].node path{stroke:#9370DB;stroke-width:1px;}#my-svg [data-look="neo"].node .outer-path{filter:drop-shadow(1px 2px 2px rgba(185, 185, 185, 1));}#my-svg [data-look="neo"].node .neo-line path{stroke:#9370DB;filter:none;}#my-svg [data-look="neo"].node circle{stroke:#9370DB;filter:drop-shadow(1px 2px 2px rgba(185, 185, 185, 1));}#my-svg [data-look="neo"].node circle .state-start{fill:#000000;}#my-svg [data-look="neo"].icon-shape .icon{fill:#9370DB;filter:drop-shadow(1px 2px 2px rgba(185, 185, 185, 1));}#my-svg [data-look="neo"].icon-shape .icon-neo path{stroke:#9370DB;filter:drop-shadow(1px 2px 2px rgba(185, 185, 185, 1));}#my-svg :root{--mermaid-font-family:"trebuchet ms",verdana,arial,sans-serif;}</style><g><marker id="my-svg_flowchart-v2-pointEnd" class="marker flowchart-v2" viewBox="0 0 10 10" refX="5" refY="5" markerUnits="userSpaceOnUse" markerWidth="8" markerHeight="8" orient="auto"><path d="M 0 0 L 10 5 L 0 10 z" class="arrowMarkerPath" style="stroke-width: 1; stroke-dasharray: 1, 0;"/></marker><marker id="my-svg_flowchart-v2-pointStart" class="marker flowchart-v2" viewBox="0 0 10 10" refX="4.5" refY="5" markerUnits="userSpaceOnUse" markerWidth="8" markerHeight="8" orient="auto"><path d="M 0 5 L 10 10 L 10 0 z" class="arrowMarkerPath" style="stroke-width: 1; stroke-dasharray: 1, 0;"/></marker><marker id="my-svg_flowchart-v2-pointEnd-margin" class="marker flowchart-v2" viewBox="0 0 11.5 14" refX="11.5" refY="7" markerUnits="userSpaceOnUse" markerWidth="10.5" markerHeight="14" orient="auto"><path d="M 0 0 L 11.5 7 L 0 14 z" class="arrowMarkerPath" style="stroke-width: 0; stroke-dasharray: 1, 0;"/></marker><marker id="my-svg_flowchart-v2-pointStart-margin" class="marker flowchart-v2" viewBox="0 0 11.5 14" refX="1" refY="7" markerUnits="userSpaceOnUse" markerWidth="11.5" markerHeight="14" orient="auto"><polygon points="0,7 11.5,14 11.5,0" class="arrowMarkerPath" style="stroke-width: 0; stroke-dasharray: 1, 0;"/></marker><marker id="my-svg_flowchart-v2-circleEnd" class="marker flowchart-v2" viewBox="0 0 10 10" refX="11" refY="5" markerUnits="userSpaceOnUse" markerWidth="11" markerHeight="11" orient="auto"><circle cx="5" cy="5" r="5" class="arrowMarkerPath" style="stroke-width: 1; stroke-dasharray: 1, 0;"/></marker><marker id="my-svg_flowchart-v2-circleStart" class="marker flowchart-v2" viewBox="0 0 10 10" refX="-1" refY="5" markerUnits="userSpaceOnUse" markerWidth="11" markerHeight="11" orient="auto"><circle cx="5" cy="5" r="5" class="arrowMarkerPath" style="stroke-width: 1; stroke-dasharray: 1, 0;"/></marker><marker id="my-svg_flowchart-v2-circleEnd-margin" class="marker flowchart-v2" viewBox="0 0 10 10" refY="5" refX="12.25" markerUnits="userSpaceOnUse" markerWidth="14" markerHeight="14" orient="auto"><circle cx="5" cy="5" r="5" class="arrowMarkerPath" style="stroke-width: 0; stroke-dasharray: 1, 0;"/></marker><marker id="my-svg_flowchart-v2-circleStart-margin" class="marker flowchart-v2" viewBox="0 0 10 10" refX="-2" refY="5" markerUnits="userSpaceOnUse" markerWidth="14" markerHeight="14" orient="auto"><circle cx="5" cy="5" r="5" class="arrowMarkerPath" style="stroke-width: 0; stroke-dasharray: 1, 0;"/></marker><marker id="my-svg_flowchart-v2-crossEnd" class="marker cross flowchart-v2" viewBox="0 0 11 11" refX="12" refY="5.2" markerUnits="userSpaceOnUse" markerWidth="11" markerHeight="11" orient="auto"><path d="M 1,1 l 9,9 M 10,1 l -9,9" class="arrowMarkerPath" style="stroke-width: 2; stroke-dasharray: 1, 0;"/></marker><marker id="my-svg_flowchart-v2-crossStart" class="marker cross flowchart-v2" viewBox="0 0 11 11" refX="-1" refY="5.2" markerUnits="userSpaceOnUse" markerWidth="11" markerHeight="11" orient="auto"><path d="M 1,1 l 9,9 M 10,1 l -9,9" class="arrowMarkerPath" style="stroke-width: 2; stroke-dasharray: 1, 0;"/></marker><marker id="my-svg_flowchart-v2-crossEnd-margin" class="marker cross flowchart-v2" viewBox="0 0 15 15" refX="17.7" refY="7.5" markerUnits="userSpaceOnUse" markerWidth="12" markerHeight="12" orient="auto"><path d="M 1,1 L 14,14 M 1,14 L 14,1" class="arrowMarkerPath" style="stroke-width: 2.5;"/></marker><marker id="my-svg_flowchart-v2-crossStart-margin" class="marker cross flowchart-v2" viewBox="0 0 15 15" refX="-3.5" refY="7.5" markerUnits="userSpaceOnUse" markerWidth="12" markerHeight="12" orient="auto"><path d="M 1,1 L 14,14 M 1,14 L 14,1" class="arrowMarkerPath" style="stroke-width: 2.5; stroke-dasharray: 1, 0;"/></marker><g class="root"><g class="clusters"/><g class="edgePaths"><path d="M267.172,166.043L271.339,166.043C275.505,166.043,283.839,166.043,291.505,166.043C299.172,166.043,306.172,166.043,309.672,166.043L313.172,166.043" id="my-svg-L_Src_Hash_0" class="edge-thickness-normal edge-pattern-solid edge-thickness-normal edge-pattern-solid flowchart-link" style=";" data-edge="true" data-et="edge" data-id="L_Src_Hash_0" data-points="W3sieCI6MjY3LjE3MTg3NSwieSI6MTY2LjA0Mjk2ODc1fSx7IngiOjI5Mi4xNzE4NzUsInkiOjE2Ni4wNDI5Njg3NX0seyJ4IjozMTcuMTcxODc1LCJ5IjoxNjYuMDQyOTY4NzV9XQ==" data-look="classic" marker-end="url(#my-svg_flowchart-v2-pointEnd)"/><path d="M468.813,166.043L472.979,166.043C477.146,166.043,485.479,166.043,493.146,166.043C500.813,166.043,507.813,166.043,511.313,166.043L514.813,166.043" id="my-svg-L_Hash_State_0" class="edge-thickness-normal edge-pattern-solid edge-thickness-normal edge-pattern-solid flowchart-link" style=";" data-edge="true" data-et="edge" data-id="L_Hash_State_0" data-points="W3sieCI6NDY4LjgxMjUsInkiOjE2Ni4wNDI5Njg3NX0seyJ4Ijo0OTMuODEyNSwieSI6MTY2LjA0Mjk2ODc1fSx7IngiOjUxOC44MTI1LCJ5IjoxNjYuMDQyOTY4NzV9XQ==" data-look="classic" marker-end="url(#my-svg_flowchart-v2-pointEnd)"/><path d="M653.333,139.043L664.921,132.818C676.509,126.594,699.684,114.145,716.527,107.92C733.37,101.695,743.88,101.695,749.135,101.695L754.391,101.695" id="my-svg-L_State_Dirty_0" class="edge-thickness-normal edge-pattern-solid edge-thickness-normal edge-pattern-solid flowchart-link" style=";" data-edge="true" data-et="edge" data-id="L_State_Dirty_0" data-points="W3sieCI6NjUzLjMzMzI4ODI3ODU0NjcsInkiOjEzOS4wNDI5Njg3NX0seyJ4Ijo3MjIuODU5Mzc1LCJ5IjoxMDEuNjk1MzEyNX0seyJ4Ijo3NTguMzkwNjI1LCJ5IjoxMDEuNjk1MzEyNX1d" data-look="classic" marker-end="url(#my-svg_flowchart-v2-pointEnd)"/><path d="M941.094,101.695L945.26,101.695C949.427,101.695,957.76,101.695,965.427,101.695C973.094,101.695,980.094,101.695,983.594,101.695L987.094,101.695" id="my-svg-L_Dirty_Loop_0" class="edge-thickness-normal edge-pattern-solid edge-thickness-normal edge-pattern-solid flowchart-link" style=";" data-edge="true" data-et="edge" data-id="L_Dirty_Loop_0" data-points="W3sieCI6OTQxLjA5Mzc1LCJ5IjoxMDEuNjk1MzEyNX0seyJ4Ijo5NjYuMDkzNzUsInkiOjEwMS42OTUzMTI1fSx7IngiOjk5MS4wOTM3NSwieSI6MTAxLjY5NTMxMjV9XQ==" data-look="classic" marker-end="url(#my-svg_flowchart-v2-pointEnd)"/><path d="M1178.484,101.695L1182.651,101.695C1186.818,101.695,1195.151,101.695,1202.818,101.695C1210.484,101.695,1217.484,101.695,1220.984,101.695L1224.484,101.695" id="my-svg-L_Loop_LLM_0" class="edge-thickness-normal edge-pattern-solid edge-thickness-normal edge-pattern-solid flowchart-link" style=";" data-edge="true" data-et="edge" data-id="L_Loop_LLM_0" data-points="W3sieCI6MTE3OC40ODQzNzUsInkiOjEwMS42OTUzMTI1fSx7IngiOjEyMDMuNDg0Mzc1LCJ5IjoxMDEuNjk1MzEyNX0seyJ4IjoxMjI4LjQ4NDM3NSwieSI6MTAxLjY5NTMxMjV9XQ==" data-look="classic" marker-end="url(#my-svg_flowchart-v2-pointEnd)"/><path d="M1413,101.695L1417.167,101.695C1421.333,101.695,1429.667,101.695,1438.576,103.664C1447.486,105.633,1456.972,109.571,1461.715,111.54L1466.457,113.509" id="my-svg-L_LLM_Target_0" class="edge-thickness-normal edge-pattern-solid edge-thickness-normal edge-pattern-solid flowchart-link" style=";" data-edge="true" data-et="edge" data-id="L_LLM_Target_0" data-points="W3sieCI6MTQxMywieSI6MTAxLjY5NTMxMjV9LHsieCI6MTQzOCwieSI6MTAxLjY5NTMxMjV9LHsieCI6MTQ3MC4xNTE3MDI3ODYzNzc3LCJ5IjoxMTUuMDQyOTY4NzV9XQ==" data-look="classic" marker-end="url(#my-svg_flowchart-v2-pointEnd)"/><path d="M1470.152,217.043L1464.793,219.268C1459.434,221.492,1448.717,225.941,1423.816,228.166C1398.914,230.391,1359.828,230.391,1320.742,230.391C1281.656,230.391,1242.57,230.391,1203.245,230.391C1163.919,230.391,1124.354,230.391,1084.789,230.391C1045.224,230.391,1005.659,230.391,966.484,230.391C927.31,230.391,888.526,230.391,847.987,230.391C807.448,230.391,765.154,230.391,733.006,224.481C700.859,218.572,678.858,206.754,667.857,200.845L656.857,194.936" id="my-svg-L_Target_State_0" class="edge-thickness-normal edge-pattern-solid edge-thickness-normal edge-pattern-solid flowchart-link" style=";" data-edge="true" data-et="edge" data-id="L_Target_State_0" data-points="W3sieCI6MTQ3MC4xNTE3MDI3ODYzNzc3LCJ5IjoyMTcuMDQyOTY4NzV9LHsieCI6MTQzOCwieSI6MjMwLjM5MDYyNX0seyJ4IjoxMzIwLjc0MjE4NzUsInkiOjIzMC4zOTA2MjV9LHsieCI6MTIwMy40ODQzNzUsInkiOjIzMC4zOTA2MjV9LHsieCI6MTA4NC43ODkwNjI1LCJ5IjoyMzAuMzkwNjI1fSx7IngiOjk2Ni4wOTM3NSwieSI6MjMwLjM5MDYyNX0seyJ4Ijo4NDkuNzQyMTg3NSwieSI6MjMwLjM5MDYyNX0seyJ4Ijo3MjIuODU5Mzc1LCJ5IjoyMzAuMzkwNjI1fSx7IngiOjY1My4zMzMyODgyNzg1NDY3LCJ5IjoxOTMuMDQyOTY4NzV9XQ==" data-look="classic" marker-end="url(#my-svg_flowchart-v2-pointEnd)"/><path d="M1723,166.043L1727.167,166.043C1731.333,166.043,1739.667,166.043,1747.333,166.043C1755,166.043,1762,166.043,1765.5,166.043L1769,166.043" id="my-svg-L_Target_CI_0" class="edge-thickness-normal edge-pattern-solid edge-thickness-normal edge-pattern-solid flowchart-link" style=";" data-edge="true" data-et="edge" data-id="L_Target_CI_0" data-points="W3sieCI6MTcyMywieSI6MTY2LjA0Mjk2ODc1fSx7IngiOjE3NDgsInkiOjE2Ni4wNDI5Njg3NX0seyJ4IjoxNzczLCJ5IjoxNjYuMDQyOTY4NzV9XQ==" data-look="classic" marker-end="url(#my-svg_flowchart-v2-pointEnd)"/><path d="M1971.481,136.227L1984.766,131.529C1998.052,126.832,2024.624,117.438,2046.818,112.74C2069.013,108.043,2086.831,108.043,2095.74,108.043L2104.648,108.043" id="my-svg-L_CI_Pass_0" class="edge-thickness-normal edge-pattern-solid edge-thickness-normal edge-pattern-solid flowchart-link" style=";" data-edge="true" data-et="edge" data-id="L_CI_Pass_0" data-points="W3sieCI6MTk3MS40ODA2MDU5MTI2NzM0LCJ5IjoxMzYuMjI2Njk5NjYyNjczMjd9LHsieCI6MjA1MS4xOTUzMTI1LCJ5IjoxMDguMDQyOTY4NzV9LHsieCI6MjEwOC42NDg0Mzc1LCJ5IjoxMDguMDQyOTY4NzV9XQ==" data-look="classic" marker-end="url(#my-svg_flowchart-v2-pointEnd)"/><path d="M1971.481,195.859L1984.766,200.557C1998.052,205.254,2024.624,214.648,2045.559,219.346C2066.495,224.043,2081.794,224.043,2089.444,224.043L2097.094,224.043" id="my-svg-L_CI_Fail_0" class="edge-thickness-normal edge-pattern-solid edge-thickness-normal edge-pattern-solid flowchart-link" style=";" data-edge="true" data-et="edge" data-id="L_CI_Fail_0" data-points="W3sieCI6MTk3MS40ODA2MDU5MTI2NzM0LCJ5IjoxOTUuODU5MjM3ODM3MzI2NzN9LHsieCI6MjA1MS4xOTUzMTI1LCJ5IjoyMjQuMDQyOTY4NzV9LHsieCI6MjEwMS4wOTM3NSwieSI6MjI0LjA0Mjk2ODc1fV0=" data-look="classic" marker-end="url(#my-svg_flowchart-v2-pointEnd)"/></g><g class="edgeLabels"><g class="edgeLabel"><g class="label" data-id="L_Src_Hash_0" transform="translate(0, 0)"><foreignObject width="0" height="0"><div xmlns="http://www.w3.org/1999/xhtml" class="labelBkg" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="edgeLabel"></span></div></foreignObject></g></g><g class="edgeLabel"><g class="label" data-id="L_Hash_State_0" transform="translate(0, 0)"><foreignObject width="0" height="0"><div xmlns="http://www.w3.org/1999/xhtml" class="labelBkg" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="edgeLabel"></span></div></foreignObject></g></g><g class="edgeLabel" transform="translate(722.859375, 101.6953125)"><g class="label" data-id="L_State_Dirty_0" transform="translate(-10.53125, -12)"><foreignObject width="21.0625" height="24"><div xmlns="http://www.w3.org/1999/xhtml" class="labelBkg" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="edgeLabel"><p>diff</p></span></div></foreignObject></g></g><g class="edgeLabel"><g class="label" data-id="L_Dirty_Loop_0" transform="translate(0, 0)"><foreignObject width="0" height="0"><div xmlns="http://www.w3.org/1999/xhtml" class="labelBkg" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="edgeLabel"></span></div></foreignObject></g></g><g class="edgeLabel"><g class="label" data-id="L_Loop_LLM_0" transform="translate(0, 0)"><foreignObject width="0" height="0"><div xmlns="http://www.w3.org/1999/xhtml" class="labelBkg" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="edgeLabel"></span></div></foreignObject></g></g><g class="edgeLabel"><g class="label" data-id="L_LLM_Target_0" transform="translate(0, 0)"><foreignObject width="0" height="0"><div xmlns="http://www.w3.org/1999/xhtml" class="labelBkg" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="edgeLabel"></span></div></foreignObject></g></g><g class="edgeLabel"><g class="label" data-id="L_Target_State_0" transform="translate(0, 0)"><foreignObject width="0" height="0"><div xmlns="http://www.w3.org/1999/xhtml" class="labelBkg" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="edgeLabel"></span></div></foreignObject></g></g><g class="edgeLabel"><g class="label" data-id="L_Target_CI_0" transform="translate(0, 0)"><foreignObject width="0" height="0"><div xmlns="http://www.w3.org/1999/xhtml" class="labelBkg" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="edgeLabel"></span></div></foreignObject></g></g><g class="edgeLabel" transform="translate(2051.1953125, 108.04296875)"><g class="label" data-id="L_CI_Pass_0" transform="translate(-24.8984375, -12)"><foreignObject width="49.796875" height="24"><div xmlns="http://www.w3.org/1999/xhtml" class="labelBkg" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="edgeLabel"><p>in sync</p></span></div></foreignObject></g></g><g class="edgeLabel" transform="translate(2051.1953125, 224.04296875)"><g class="label" data-id="L_CI_Fail_0" transform="translate(-13.3359375, -12)"><foreignObject width="26.671875" height="24"><div xmlns="http://www.w3.org/1999/xhtml" class="labelBkg" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="edgeLabel"><p>drift</p></span></div></foreignObject></g></g></g><g class="nodes"><g class="node default" id="my-svg-flowchart-Src-0" data-look="classic" transform="translate(137.5859375, 166.04296875)"><rect class="basic label-container" style="" x="-129.5859375" y="-39" width="259.171875" height="78"/><g class="label" style="" transform="translate(-99.5859375, -24)"><rect/><foreignObject width="199.171875" height="48"><div xmlns="http://www.w3.org/1999/xhtml" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="nodeLabel"><p>Source MDs<br />(CLAUDE.md, docs/**/*.md)</p></span></div></foreignObject></g></g><g class="node default" id="my-svg-flowchart-Hash-1" data-look="classic" transform="translate(392.9921875, 166.04296875)"><rect class="basic label-container" style="" x="-75.8203125" y="-27" width="151.640625" height="54"/><g class="label" style="" transform="translate(-45.8203125, -12)"><rect/><foreignObject width="91.640625" height="24"><div xmlns="http://www.w3.org/1999/xhtml" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="nodeLabel"><p>sha256 hash</p></span></div></foreignObject></g></g><g class="node default" id="my-svg-flowchart-State-3" data-look="classic" transform="translate(603.0703125, 166.04296875)"><rect class="basic label-container" style="" x="-84.2578125" y="-27" width="168.515625" height="54"/><g class="label" style="" transform="translate(-54.2578125, -12)"><rect/><foreignObject width="108.515625" height="24"><div xmlns="http://www.w3.org/1999/xhtml" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="nodeLabel"><p>.i18n-state.json</p></span></div></foreignObject></g></g><g class="node default" id="my-svg-flowchart-Dirty-5" data-look="classic" transform="translate(849.7421875, 101.6953125)"><rect class="basic label-container" style="" x="-91.3515625" y="-27" width="182.703125" height="54"/><g class="label" style="" transform="translate(-61.3515625, -12)"><rect/><foreignObject width="122.703125" height="24"><div xmlns="http://www.w3.org/1999/xhtml" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="nodeLabel"><p>Mark source dirty</p></span></div></foreignObject></g></g><g class="node default" id="my-svg-flowchart-Loop-7" data-look="classic" transform="translate(1084.7890625, 101.6953125)"><polygon points="93.6953125,0 187.390625,-93.6953125 93.6953125,-187.390625 0,-93.6953125" class="label-container" transform="translate(-93.1953125, 93.6953125)"/><g class="label" style="" transform="translate(-54.6953125, -24)"><rect/><foreignObject width="109.390625" height="48"><div xmlns="http://www.w3.org/1999/xhtml" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="nodeLabel"><p>For each locale<br />(39 langs)</p></span></div></foreignObject></g></g><g class="node default" id="my-svg-flowchart-LLM-9" data-look="classic" transform="translate(1320.7421875, 101.6953125)"><rect class="basic label-container" style="" x="-92.2578125" y="-51" width="184.515625" height="102"/><g class="label" style="" transform="translate(-62.2578125, -36)"><rect/><foreignObject width="124.515625" height="72"><div xmlns="http://www.w3.org/1999/xhtml" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="nodeLabel"><p>OmniRoute<br />/chat/completions<br />(cx/gpt-5.4-mini)</p></span></div></foreignObject></g></g><g class="node default" id="my-svg-flowchart-Target-11" data-look="classic" transform="translate(1593, 166.04296875)"><rect class="basic label-container" style="" x="-130" y="-51" width="260" height="102"/><g class="label" style="" transform="translate(-100, -36)"><rect/><foreignObject width="200" height="72"><div xmlns="http://www.w3.org/1999/xhtml" style="display: table; white-space: break-spaces; line-height: 1.5; max-width: 200px; text-align: center; width: 200px;"><span class="nodeLabel"><p>Write<br />docs/i18n/<locale>/<rel-path>.md</p></span></div></foreignObject></g></g><g class="node default" id="my-svg-flowchart-CI-15" data-look="classic" transform="translate(1887.1484375, 166.04296875)"><polygon points="114.1484375,0 228.296875,-114.1484375 114.1484375,-228.296875 0,-114.1484375" class="label-container" transform="translate(-113.6484375, 114.1484375)"/><g class="label" style="" transform="translate(-75.1484375, -24)"><rect/><foreignObject width="150.296875" height="48"><div xmlns="http://www.w3.org/1999/xhtml" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="nodeLabel"><p>CI drift check<br />(npm run i18n:check)</p></span></div></foreignObject></g></g><g class="node default" id="my-svg-flowchart-Pass-17" data-look="classic" transform="translate(2155.546875, 108.04296875)"><rect class="basic label-container" style="" x="-46.8984375" y="-27" width="93.796875" height="54"/><g class="label" style="" transform="translate(-16.8984375, -12)"><rect/><foreignObject width="33.796875" height="24"><div xmlns="http://www.w3.org/1999/xhtml" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="nodeLabel"><p>pass</p></span></div></foreignObject></g></g><g class="node default" id="my-svg-flowchart-Fail-19" data-look="classic" transform="translate(2155.546875, 224.04296875)"><rect class="basic label-container" style="" x="-54.453125" y="-39" width="108.90625" height="78"/><g class="label" style="" transform="translate(-24.453125, -24)"><rect/><foreignObject width="48.90625" height="48"><div xmlns="http://www.w3.org/1999/xhtml" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="nodeLabel"><p>fail<br />(exit 1)</p></span></div></foreignObject></g></g></g></g></g><defs><filter id="my-svg-drop-shadow" height="130%" width="130%"><feDropShadow dx="4" dy="4" stdDeviation="0" flood-opacity="0.06" flood-color="#000000"/></filter></defs><defs><filter id="my-svg-drop-shadow-small" height="150%" width="150%"><feDropShadow dx="2" dy="2" stdDeviation="0" flood-opacity="0.06" flood-color="#000000"/></filter></defs></svg>\ No newline at end of filediff --git a/docs/diagrams/exported/mcp-tools-37.svg b/docs/diagrams/exported/mcp-tools-37.svgnew file mode 100644index 0000000000..2877bf0caf--- /dev/null+++ b/docs/diagrams/exported/mcp-tools-37.svg@@ -0,0 +1 @@+<svg id="my-svg" width="100%" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" class="flowchart" style="max-width: 668.516px; background-color: white;" viewBox="0 0 668.515625 1750" role="graphics-document document" aria-roledescription="flowchart-v2"><style>#my-svg{font-family:"trebuchet ms",verdana,arial,sans-serif;font-size:16px;fill:#333;}@keyframes edge-animation-frame{from{stroke-dashoffset:0;}}@keyframes dash{to{stroke-dashoffset:0;}}#my-svg .edge-animation-slow{stroke-dasharray:9,5!important;stroke-dashoffset:900;animation:dash 50s linear infinite;stroke-linecap:round;}#my-svg .edge-animation-fast{stroke-dasharray:9,5!important;stroke-dashoffset:900;animation:dash 20s linear infinite;stroke-linecap:round;}#my-svg .error-icon{fill:#552222;}#my-svg .error-text{fill:#552222;stroke:#552222;}#my-svg .edge-thickness-normal{stroke-width:1px;}#my-svg .edge-thickness-thick{stroke-width:3.5px;}#my-svg .edge-pattern-solid{stroke-dasharray:0;}#my-svg .edge-thickness-invisible{stroke-width:0;fill:none;}#my-svg .edge-pattern-dashed{stroke-dasharray:3;}#my-svg .edge-pattern-dotted{stroke-dasharray:2;}#my-svg .marker{fill:#333333;stroke:#333333;}#my-svg .marker.cross{stroke:#333333;}#my-svg svg{font-family:"trebuchet ms",verdana,arial,sans-serif;font-size:16px;}#my-svg p{margin:0;}#my-svg .label{font-family:"trebuchet ms",verdana,arial,sans-serif;color:#333;}#my-svg .cluster-label text{fill:#333;}#my-svg .cluster-label span{color:#333;}#my-svg .cluster-label span p{background-color:transparent;}#my-svg .label text,#my-svg span{fill:#333;color:#333;}#my-svg .node rect,#my-svg .node circle,#my-svg .node ellipse,#my-svg .node polygon,#my-svg .node path{fill:#ECECFF;stroke:#9370DB;stroke-width:1px;}#my-svg .rough-node .label text,#my-svg .node .label text,#my-svg .image-shape .label,#my-svg .icon-shape .label{text-anchor:middle;}#my-svg .node .katex path{fill:#000;stroke:#000;stroke-width:1px;}#my-svg .rough-node .label,#my-svg .node .label,#my-svg .image-shape .label,#my-svg .icon-shape .label{text-align:center;}#my-svg .node.clickable{cursor:pointer;}#my-svg .root .anchor path{fill:#333333!important;stroke-width:0;stroke:#333333;}#my-svg .arrowheadPath{fill:#333333;}#my-svg .edgePath .path{stroke:#333333;stroke-width:1px;}#my-svg .flowchart-link{stroke:#333333;fill:none;}#my-svg .edgeLabel{background-color:rgba(232,232,232, 0.8);text-align:center;}#my-svg .edgeLabel p{background-color:rgba(232,232,232, 0.8);}#my-svg .edgeLabel rect{opacity:0.5;background-color:rgba(232,232,232, 0.8);fill:rgba(232,232,232, 0.8);}#my-svg .labelBkg{background-color:rgba(232, 232, 232, 0.5);}#my-svg .cluster rect{fill:#ffffde;stroke:#aaaa33;stroke-width:1px;}#my-svg .cluster text{fill:#333;}#my-svg .cluster span{color:#333;}#my-svg div.mermaidTooltip{position:absolute;text-align:center;max-width:200px;padding:2px;font-family:"trebuchet ms",verdana,arial,sans-serif;font-size:12px;background:hsl(80, 100%, 96.2745098039%);border:1px solid #aaaa33;border-radius:2px;pointer-events:none;z-index:100;}#my-svg .flowchartTitleText{text-anchor:middle;font-size:18px;fill:#333;}#my-svg rect.text{fill:none;stroke-width:0;}#my-svg .icon-shape,#my-svg .image-shape{background-color:rgba(232,232,232, 0.8);text-align:center;}#my-svg .icon-shape p,#my-svg .image-shape p{background-color:rgba(232,232,232, 0.8);padding:2px;}#my-svg .icon-shape .label rect,#my-svg .image-shape .label rect{opacity:0.5;background-color:rgba(232,232,232, 0.8);fill:rgba(232,232,232, 0.8);}#my-svg .label-icon{display:inline-block;height:1em;overflow:visible;vertical-align:-0.125em;}#my-svg .node .label-icon path{fill:currentColor;stroke:revert;stroke-width:revert;}#my-svg .node .neo-node{stroke:#9370DB;}#my-svg [data-look="neo"].node rect,#my-svg [data-look="neo"].cluster rect,#my-svg [data-look="neo"].node polygon{stroke:#9370DB;filter:drop-shadow(1px 2px 2px rgba(185, 185, 185, 1));}#my-svg [data-look="neo"].node path{stroke:#9370DB;stroke-width:1px;}#my-svg [data-look="neo"].node .outer-path{filter:drop-shadow(1px 2px 2px rgba(185, 185, 185, 1));}#my-svg [data-look="neo"].node .neo-line path{stroke:#9370DB;filter:none;}#my-svg [data-look="neo"].node circle{stroke:#9370DB;filter:drop-shadow(1px 2px 2px rgba(185, 185, 185, 1));}#my-svg [data-look="neo"].node circle .state-start{fill:#000000;}#my-svg [data-look="neo"].icon-shape .icon{fill:#9370DB;filter:drop-shadow(1px 2px 2px rgba(185, 185, 185, 1));}#my-svg [data-look="neo"].icon-shape .icon-neo path{stroke:#9370DB;filter:drop-shadow(1px 2px 2px rgba(185, 185, 185, 1));}#my-svg :root{--mermaid-font-family:"trebuchet ms",verdana,arial,sans-serif;}</style><g><marker id="my-svg_flowchart-v2-pointEnd" class="marker flowchart-v2" viewBox="0 0 10 10" refX="5" refY="5" markerUnits="userSpaceOnUse" markerWidth="8" markerHeight="8" orient="auto"><path d="M 0 0 L 10 5 L 0 10 z" class="arrowMarkerPath" style="stroke-width: 1; stroke-dasharray: 1, 0;"/></marker><marker id="my-svg_flowchart-v2-pointStart" class="marker flowchart-v2" viewBox="0 0 10 10" refX="4.5" refY="5" markerUnits="userSpaceOnUse" markerWidth="8" markerHeight="8" orient="auto"><path d="M 0 5 L 10 10 L 10 0 z" class="arrowMarkerPath" style="stroke-width: 1; stroke-dasharray: 1, 0;"/></marker><marker id="my-svg_flowchart-v2-pointEnd-margin" class="marker flowchart-v2" viewBox="0 0 11.5 14" refX="11.5" refY="7" markerUnits="userSpaceOnUse" markerWidth="10.5" markerHeight="14" orient="auto"><path d="M 0 0 L 11.5 7 L 0 14 z" class="arrowMarkerPath" style="stroke-width: 0; stroke-dasharray: 1, 0;"/></marker><marker id="my-svg_flowchart-v2-pointStart-margin" class="marker flowchart-v2" viewBox="0 0 11.5 14" refX="1" refY="7" markerUnits="userSpaceOnUse" markerWidth="11.5" markerHeight="14" orient="auto"><polygon points="0,7 11.5,14 11.5,0" class="arrowMarkerPath" style="stroke-width: 0; stroke-dasharray: 1, 0;"/></marker><marker id="my-svg_flowchart-v2-circleEnd" class="marker flowchart-v2" viewBox="0 0 10 10" refX="11" refY="5" markerUnits="userSpaceOnUse" markerWidth="11" markerHeight="11" orient="auto"><circle cx="5" cy="5" r="5" class="arrowMarkerPath" style="stroke-width: 1; stroke-dasharray: 1, 0;"/></marker><marker id="my-svg_flowchart-v2-circleStart" class="marker flowchart-v2" viewBox="0 0 10 10" refX="-1" refY="5" markerUnits="userSpaceOnUse" markerWidth="11" markerHeight="11" orient="auto"><circle cx="5" cy="5" r="5" class="arrowMarkerPath" style="stroke-width: 1; stroke-dasharray: 1, 0;"/></marker><marker id="my-svg_flowchart-v2-circleEnd-margin" class="marker flowchart-v2" viewBox="0 0 10 10" refY="5" refX="12.25" markerUnits="userSpaceOnUse" markerWidth="14" markerHeight="14" orient="auto"><circle cx="5" cy="5" r="5" class="arrowMarkerPath" style="stroke-width: 0; stroke-dasharray: 1, 0;"/></marker><marker id="my-svg_flowchart-v2-circleStart-margin" class="marker flowchart-v2" viewBox="0 0 10 10" refX="-2" refY="5" markerUnits="userSpaceOnUse" markerWidth="14" markerHeight="14" orient="auto"><circle cx="5" cy="5" r="5" class="arrowMarkerPath" style="stroke-width: 0; stroke-dasharray: 1, 0;"/></marker><marker id="my-svg_flowchart-v2-crossEnd" class="marker cross flowchart-v2" viewBox="0 0 11 11" refX="12" refY="5.2" markerUnits="userSpaceOnUse" markerWidth="11" markerHeight="11" orient="auto"><path d="M 1,1 l 9,9 M 10,1 l -9,9" class="arrowMarkerPath" style="stroke-width: 2; stroke-dasharray: 1, 0;"/></marker><marker id="my-svg_flowchart-v2-crossStart" class="marker cross flowchart-v2" viewBox="0 0 11 11" refX="-1" refY="5.2" markerUnits="userSpaceOnUse" markerWidth="11" markerHeight="11" orient="auto"><path d="M 1,1 l 9,9 M 10,1 l -9,9" class="arrowMarkerPath" style="stroke-width: 2; stroke-dasharray: 1, 0;"/></marker><marker id="my-svg_flowchart-v2-crossEnd-margin" class="marker cross flowchart-v2" viewBox="0 0 15 15" refX="17.7" refY="7.5" markerUnits="userSpaceOnUse" markerWidth="12" markerHeight="12" orient="auto"><path d="M 1,1 L 14,14 M 1,14 L 14,1" class="arrowMarkerPath" style="stroke-width: 2.5;"/></marker><marker id="my-svg_flowchart-v2-crossStart-margin" class="marker cross flowchart-v2" viewBox="0 0 15 15" refX="-3.5" refY="7.5" markerUnits="userSpaceOnUse" markerWidth="12" markerHeight="12" orient="auto"><path d="M 1,1 L 14,14 M 1,14 L 14,1" class="arrowMarkerPath" style="stroke-width: 2.5; stroke-dasharray: 1, 0;"/></marker><g class="root"><g class="clusters"/><g class="edgePaths"><path d="M90.697,1156L106.204,1073.5C121.71,991,152.722,826,172.912,743.5C193.102,661,202.469,661,207.152,661L211.836,661" id="my-svg-L_MCP_Core_0" class="edge-thickness-normal edge-pattern-solid edge-thickness-normal edge-pattern-solid flowchart-link" style=";" data-edge="true" data-et="edge" data-id="L_MCP_Core_0" data-points="W3sieCI6OTAuNjk3Mzc1MzUxMTIzNiwieSI6MTE1Nn0seyJ4IjoxODMuNzM0Mzc1LCJ5Ijo2NjF9LHsieCI6MjE1LjgzNTkzNzUsInkiOjY2MX1d" data-look="classic" marker-end="url(#my-svg_flowchart-v2-pointEnd)"/><path d="M158.734,1195L162.901,1195C167.068,1195,175.401,1195,183.068,1195C190.734,1195,197.734,1195,201.234,1195L204.734,1195" id="my-svg-L_MCP_Mem_0" class="edge-thickness-normal edge-pattern-solid edge-thickness-normal edge-pattern-solid flowchart-link" style=";" data-edge="true" data-et="edge" data-id="L_MCP_Mem_0" data-points="W3sieCI6MTU4LjczNDM3NSwieSI6MTE5NX0seyJ4IjoxODMuNzM0Mzc1LCJ5IjoxMTk1fSx7IngiOjIwOC43MzQzNzUsInkiOjExOTV9XQ==" data-look="classic" marker-end="url(#my-svg_flowchart-v2-pointEnd)"/><path d="M94.121,1234L109.056,1288.167C123.992,1342.333,153.863,1450.667,174.002,1504.833C194.141,1559,204.547,1559,209.75,1559L214.953,1559" id="my-svg-L_MCP_Skl_0" class="edge-thickness-normal edge-pattern-solid edge-thickness-normal edge-pattern-solid flowchart-link" style=";" data-edge="true" data-et="edge" data-id="L_MCP_Skl_0" data-points="W3sieCI6OTQuMTIwODE0NzMyMTQyODYsInkiOjEyMzR9LHsieCI6MTgzLjczNDM3NSwieSI6MTU1OX0seyJ4IjoyMTguOTUzMTI1LCJ5IjoxNTU5fV0=" data-look="classic" marker-end="url(#my-svg_flowchart-v2-pointEnd)"/><path d="M284.298,634L299.501,546.167C314.704,458.333,345.11,282.667,363.813,194.833C382.516,107,389.516,107,393.016,107L396.516,107" id="my-svg-L_Core_Essential_0" class="edge-thickness-normal edge-pattern-solid edge-thickness-normal edge-pattern-solid flowchart-link" style=";" data-edge="true" data-et="edge" data-id="L_Core_Essential_0" data-points="W3sieCI6Mjg0LjI5ODM2OTgxMDQ2OTMsInkiOjYzNH0seyJ4IjozNzUuNTE1NjI1LCJ5IjoxMDd9LHsieCI6NDAwLjUxNTYyNSwieSI6MTA3fV0=" data-look="classic" marker-end="url(#my-svg_flowchart-v2-pointEnd)"/><path d="M286.699,634L301.502,577.5C316.304,521,345.91,408,373.689,351.5C401.469,295,427.422,295,440.398,295L453.375,295" id="my-svg-L_Core_Search_0" class="edge-thickness-normal edge-pattern-solid edge-thickness-normal edge-pattern-solid flowchart-link" style=";" data-edge="true" data-et="edge" data-id="L_Core_Search_0" data-points="W3sieCI6Mjg2LjY5ODg5ODU2NTU3Mzc2LCJ5Ijo2MzR9LHsieCI6Mzc1LjUxNTYyNSwieSI6Mjk1fSx7IngiOjQ1Ny4zNzUsInkiOjI5NX1d" data-look="classic" marker-end="url(#my-svg_flowchart-v2-pointEnd)"/><path d="M301.566,634L313.891,618.833C326.216,603.667,350.866,573.333,366.691,558.167C382.516,543,389.516,543,393.016,543L396.516,543" id="my-svg-L_Core_Advanced_0" class="edge-thickness-normal edge-pattern-solid edge-thickness-normal edge-pattern-solid flowchart-link" style=";" data-edge="true" data-et="edge" data-id="L_Core_Advanced_0" data-points="W3sieCI6MzAxLjU2NjA3NTIxMTg2NDQsInkiOjYzNH0seyJ4IjozNzUuNTE1NjI1LCJ5Ijo1NDN9LHsieCI6NDAwLjUxNTYyNSwieSI6NTQzfV0=" data-look="classic" marker-end="url(#my-svg_flowchart-v2-pointEnd)"/><path d="M301.566,688L313.891,703.167C326.216,718.333,350.866,748.667,377.503,763.833C404.141,779,432.766,779,447.078,779L461.391,779" id="my-svg-L_Core_Cache_0" class="edge-thickness-normal edge-pattern-solid edge-thickness-normal edge-pattern-solid flowchart-link" style=";" data-edge="true" data-et="edge" data-id="L_Core_Cache_0" data-points="W3sieCI6MzAxLjU2NjA3NTIxMTg2NDQsInkiOjY4OH0seyJ4IjozNzUuNTE1NjI1LCJ5Ijo3Nzl9LHsieCI6NDY1LjM5MDYyNSwieSI6Nzc5fV0=" data-look="classic" marker-end="url(#my-svg_flowchart-v2-pointEnd)"/><path d="M291.287,688L305.325,720.5C319.363,753,347.44,818,371.789,850.5C396.138,883,416.76,883,427.072,883L437.383,883" id="my-svg-L_Core_Compression_0" class="edge-thickness-normal edge-pattern-solid edge-thickness-normal edge-pattern-solid flowchart-link" style=";" data-edge="true" data-et="edge" data-id="L_Core_Compression_0" data-points="W3sieCI6MjkxLjI4NzM3MzMxMDgxMDg0LCJ5Ijo2ODh9LHsieCI6Mzc1LjUxNTYyNSwieSI6ODgzfSx7IngiOjQ0MS4zODI4MTI1LCJ5Ijo4ODN9XQ==" data-look="classic" marker-end="url(#my-svg_flowchart-v2-pointEnd)"/><path d="M287.567,688L302.225,737.833C316.883,787.667,346.199,887.333,369.093,937.167C391.987,987,408.458,987,416.694,987L424.93,987" id="my-svg-L_Core_Tunnels_0" class="edge-thickness-normal edge-pattern-solid edge-thickness-normal edge-pattern-solid flowchart-link" style=";" data-edge="true" data-et="edge" data-id="L_Core_Tunnels_0" data-points="W3sieCI6Mjg3LjU2Njg2MTU3OTc1NDYsInkiOjY4OH0seyJ4IjozNzUuNTE1NjI1LCJ5Ijo5ODd9LHsieCI6NDI4LjkyOTY4NzUsInkiOjk4N31d" data-look="classic" marker-end="url(#my-svg_flowchart-v2-pointEnd)"/><path d="M304.52,1168L316.352,1155.167C328.185,1142.333,351.85,1116.667,374.291,1103.833C396.732,1091,417.948,1091,428.556,1091L439.164,1091" id="my-svg-L_Mem_M1_0" class="edge-thickness-normal edge-pattern-solid edge-thickness-normal edge-pattern-solid flowchart-link" style=";" data-edge="true" data-et="edge" data-id="L_Mem_M1_0" data-points="W3sieCI6MzA0LjUxOTY4MTQ5MDM4NDY0LCJ5IjoxMTY4fSx7IngiOjM3NS41MTU2MjUsInkiOjEwOTF9LHsieCI6NDQzLjE2NDA2MjUsInkiOjEwOTF9XQ==" data-look="classic" marker-end="url(#my-svg_flowchart-v2-pointEnd)"/><path d="M350.516,1195L354.682,1195C358.849,1195,367.182,1195,383.142,1195C399.102,1195,422.688,1195,434.48,1195L446.273,1195" id="my-svg-L_Mem_M2_0" class="edge-thickness-normal edge-pattern-solid edge-thickness-normal edge-pattern-solid flowchart-link" style=";" data-edge="true" data-et="edge" data-id="L_Mem_M2_0" data-points="W3sieCI6MzUwLjUxNTYyNSwieSI6MTE5NX0seyJ4IjozNzUuNTE1NjI1LCJ5IjoxMTk1fSx7IngiOjQ1MC4yNzM0Mzc1LCJ5IjoxMTk1fV0=" data-look="classic" marker-end="url(#my-svg_flowchart-v2-pointEnd)"/><path d="M304.52,1222L316.352,1234.833C328.185,1247.667,351.85,1273.333,374.66,1286.167C397.469,1299,419.422,1299,430.398,1299L441.375,1299" id="my-svg-L_Mem_M3_0" class="edge-thickness-normal edge-pattern-solid edge-thickness-normal edge-pattern-solid flowchart-link" style=";" data-edge="true" data-et="edge" data-id="L_Mem_M3_0" data-points="W3sieCI6MzA0LjUxOTY4MTQ5MDM4NDY0LCJ5IjoxMjIyfSx7IngiOjM3NS41MTU2MjUsInkiOjEyOTl9LHsieCI6NDQ1LjM3NSwieSI6MTI5OX1d" data-look="classic" marker-end="url(#my-svg_flowchart-v2-pointEnd)"/><path d="M296.221,1532L309.437,1510.5C322.653,1489,349.084,1446,375.649,1424.5C402.214,1403,428.911,1403,442.26,1403L455.609,1403" id="my-svg-L_Skl_S1_0" class="edge-thickness-normal edge-pattern-solid edge-thickness-normal edge-pattern-solid flowchart-link" style=";" data-edge="true" data-et="edge" data-id="L_Skl_S1_0" data-points="W3sieCI6Mjk2LjIyMTQ1NDMyNjkyMzEsInkiOjE1MzJ9LHsieCI6Mzc1LjUxNTYyNSwieSI6MTQwM30seyJ4Ijo0NTkuNjA5Mzc1LCJ5IjoxNDAzfV0=" data-look="classic" marker-end="url(#my-svg_flowchart-v2-pointEnd)"/><path d="M329.414,1532L337.098,1527.833C344.781,1523.667,360.149,1515.333,383.405,1511.167C406.661,1507,437.807,1507,453.38,1507L468.953,1507" id="my-svg-L_Skl_S2_0" class="edge-thickness-normal edge-pattern-solid edge-thickness-normal edge-pattern-solid flowchart-link" style=";" data-edge="true" data-et="edge" data-id="L_Skl_S2_0" data-points="W3sieCI6MzI5LjQxNDM2Mjk4MDc2OTIsInkiOjE1MzJ9LHsieCI6Mzc1LjUxNTYyNSwieSI6MTUwN30seyJ4Ijo0NzIuOTUzMTI1LCJ5IjoxNTA3fV0=" data-look="classic" marker-end="url(#my-svg_flowchart-v2-pointEnd)"/><path d="M329.414,1586L337.098,1590.167C344.781,1594.333,360.149,1602.667,379.622,1606.833C399.096,1611,422.677,1611,434.467,1611L446.258,1611" id="my-svg-L_Skl_S3_0" class="edge-thickness-normal edge-pattern-solid edge-thickness-normal edge-pattern-solid flowchart-link" style=";" data-edge="true" data-et="edge" data-id="L_Skl_S3_0" data-points="W3sieCI6MzI5LjQxNDM2Mjk4MDc2OTIsInkiOjE1ODZ9LHsieCI6Mzc1LjUxNTYyNSwieSI6MTYxMX0seyJ4Ijo0NTAuMjU3ODEyNSwieSI6MTYxMX1d" data-look="classic" marker-end="url(#my-svg_flowchart-v2-pointEnd)"/><path d="M296.221,1586L309.437,1607.5C322.653,1629,349.084,1672,374.611,1693.5C400.138,1715,424.76,1715,437.072,1715L449.383,1715" id="my-svg-L_Skl_S4_0" class="edge-thickness-normal edge-pattern-solid edge-thickness-normal edge-pattern-solid flowchart-link" style=";" data-edge="true" data-et="edge" data-id="L_Skl_S4_0" data-points="W3sieCI6Mjk2LjIyMTQ1NDMyNjkyMzEsInkiOjE1ODZ9LHsieCI6Mzc1LjUxNTYyNSwieSI6MTcxNX0seyJ4Ijo0NTMuMzgyODEyNSwieSI6MTcxNX1d" data-look="classic" marker-end="url(#my-svg_flowchart-v2-pointEnd)"/></g><g class="edgeLabels"><g class="edgeLabel"><g class="label" data-id="L_MCP_Core_0" transform="translate(0, 0)"><foreignObject width="0" height="0"><div xmlns="http://www.w3.org/1999/xhtml" class="labelBkg" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="edgeLabel"></span></div></foreignObject></g></g><g class="edgeLabel"><g class="label" data-id="L_MCP_Mem_0" transform="translate(0, 0)"><foreignObject width="0" height="0"><div xmlns="http://www.w3.org/1999/xhtml" class="labelBkg" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="edgeLabel"></span></div></foreignObject></g></g><g class="edgeLabel"><g class="label" data-id="L_MCP_Skl_0" transform="translate(0, 0)"><foreignObject width="0" height="0"><div xmlns="http://www.w3.org/1999/xhtml" class="labelBkg" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="edgeLabel"></span></div></foreignObject></g></g><g class="edgeLabel"><g class="label" data-id="L_Core_Essential_0" transform="translate(0, 0)"><foreignObject width="0" height="0"><div xmlns="http://www.w3.org/1999/xhtml" class="labelBkg" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="edgeLabel"></span></div></foreignObject></g></g><g class="edgeLabel"><g class="label" data-id="L_Core_Search_0" transform="translate(0, 0)"><foreignObject width="0" height="0"><div xmlns="http://www.w3.org/1999/xhtml" class="labelBkg" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="edgeLabel"></span></div></foreignObject></g></g><g class="edgeLabel"><g class="label" data-id="L_Core_Advanced_0" transform="translate(0, 0)"><foreignObject width="0" height="0"><div xmlns="http://www.w3.org/1999/xhtml" class="labelBkg" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="edgeLabel"></span></div></foreignObject></g></g><g class="edgeLabel"><g class="label" data-id="L_Core_Cache_0" transform="translate(0, 0)"><foreignObject width="0" height="0"><div xmlns="http://www.w3.org/1999/xhtml" class="labelBkg" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="edgeLabel"></span></div></foreignObject></g></g><g class="edgeLabel"><g class="label" data-id="L_Core_Compression_0" transform="translate(0, 0)"><foreignObject width="0" height="0"><div xmlns="http://www.w3.org/1999/xhtml" class="labelBkg" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="edgeLabel"></span></div></foreignObject></g></g><g class="edgeLabel"><g class="label" data-id="L_Core_Tunnels_0" transform="translate(0, 0)"><foreignObject width="0" height="0"><div xmlns="http://www.w3.org/1999/xhtml" class="labelBkg" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="edgeLabel"></span></div></foreignObject></g></g><g class="edgeLabel"><g class="label" data-id="L_Mem_M1_0" transform="translate(0, 0)"><foreignObject width="0" height="0"><div xmlns="http://www.w3.org/1999/xhtml" class="labelBkg" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="edgeLabel"></span></div></foreignObject></g></g><g class="edgeLabel"><g class="label" data-id="L_Mem_M2_0" transform="translate(0, 0)"><foreignObject width="0" height="0"><div xmlns="http://www.w3.org/1999/xhtml" class="labelBkg" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="edgeLabel"></span></div></foreignObject></g></g><g class="edgeLabel"><g class="label" data-id="L_Mem_M3_0" transform="translate(0, 0)"><foreignObject width="0" height="0"><div xmlns="http://www.w3.org/1999/xhtml" class="labelBkg" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="edgeLabel"></span></div></foreignObject></g></g><g class="edgeLabel"><g class="label" data-id="L_Skl_S1_0" transform="translate(0, 0)"><foreignObject width="0" height="0"><div xmlns="http://www.w3.org/1999/xhtml" class="labelBkg" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="edgeLabel"></span></div></foreignObject></g></g><g class="edgeLabel"><g class="label" data-id="L_Skl_S2_0" transform="translate(0, 0)"><foreignObject width="0" height="0"><div xmlns="http://www.w3.org/1999/xhtml" class="labelBkg" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="edgeLabel"></span></div></foreignObject></g></g><g class="edgeLabel"><g class="label" data-id="L_Skl_S3_0" transform="translate(0, 0)"><foreignObject width="0" height="0"><div xmlns="http://www.w3.org/1999/xhtml" class="labelBkg" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="edgeLabel"></span></div></foreignObject></g></g><g class="edgeLabel"><g class="label" data-id="L_Skl_S4_0" transform="translate(0, 0)"><foreignObject width="0" height="0"><div xmlns="http://www.w3.org/1999/xhtml" class="labelBkg" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="edgeLabel"></span></div></foreignObject></g></g></g><g class="nodes"><g class="node default" id="my-svg-flowchart-MCP-0" data-look="classic" transform="translate(83.3671875, 1195)"><rect class="basic label-container" style="" x="-75.3671875" y="-39" width="150.734375" height="78"/><g class="label" style="" transform="translate(-45.3671875, -24)"><rect/><foreignObject width="90.734375" height="48"><div xmlns="http://www.w3.org/1999/xhtml" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="nodeLabel"><p>MCP Server<br />37 tools total</p></span></div></foreignObject></g></g><g class="node default" id="my-svg-flowchart-Core-1" data-look="classic" transform="translate(279.625, 661)"><rect class="basic label-container" style="" x="-63.7890625" y="-27" width="127.578125" height="54"/><g class="label" style="" transform="translate(-33.7890625, -12)"><rect/><foreignObject width="67.578125" height="24"><div xmlns="http://www.w3.org/1999/xhtml" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="nodeLabel"><p>Core (30)</p></span></div></foreignObject></g></g><g class="node default" id="my-svg-flowchart-Mem-3" data-look="classic" transform="translate(279.625, 1195)"><rect class="basic label-container" style="" x="-70.890625" y="-27" width="141.78125" height="54"/><g class="label" style="" transform="translate(-40.890625, -12)"><rect/><foreignObject width="81.78125" height="24"><div xmlns="http://www.w3.org/1999/xhtml" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="nodeLabel"><p>Memory (3)</p></span></div></foreignObject></g></g><g class="node default" id="my-svg-flowchart-Skl-5" data-look="classic" transform="translate(279.625, 1559)"><rect class="basic label-container" style="" x="-60.671875" y="-27" width="121.34375" height="54"/><g class="label" style="" transform="translate(-30.671875, -12)"><rect/><foreignObject width="61.34375" height="24"><div xmlns="http://www.w3.org/1999/xhtml" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="nodeLabel"><p>Skills (4)</p></span></div></foreignObject></g></g><g class="node default" id="my-svg-flowchart-Essential-7" data-look="classic" transform="translate(530.515625, 107)"><rect class="basic label-container" style="" x="-130" y="-99" width="260" height="198"/><g class="label" style="" transform="translate(-100, -84)"><rect/><foreignObject width="200" height="168"><div xmlns="http://www.w3.org/1999/xhtml" style="display: table; white-space: break-spaces; line-height: 1.5; max-width: 200px; text-align: center; width: 200px;"><span class="nodeLabel"><p>Essential (8)<br />get_health, list_combos,<br />switch_combo, check_quota,<br />route_request, cost_report,<br />list_models_catalog,<br />get_combo_metrics</p></span></div></foreignObject></g></g><g class="node default" id="my-svg-flowchart-Search-9" data-look="classic" transform="translate(530.515625, 295)"><rect class="basic label-container" style="" x="-73.140625" y="-39" width="146.28125" height="78"/><g class="label" style="" transform="translate(-43.140625, -24)"><rect/><foreignObject width="86.28125" height="48"><div xmlns="http://www.w3.org/1999/xhtml" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="nodeLabel"><p>Search (1)<br />web_search</p></span></div></foreignObject></g></g><g class="node default" id="my-svg-flowchart-Advanced-11" data-look="classic" transform="translate(530.515625, 543)"><rect class="basic label-container" style="" x="-130" y="-159" width="260" height="318"/><g class="label" style="" transform="translate(-100, -144)"><rect/><foreignObject width="200" height="288"><div xmlns="http://www.w3.org/1999/xhtml" style="display: table; white-space: break-spaces; line-height: 1.5; max-width: 200px; text-align: center; width: 200px;"><span class="nodeLabel"><p>Advanced (11)<br />simulate_route, set_budget_guard,<br />set_routing_strategy,<br />set_resilience_profile,<br />test_combo, get_provider_metrics,<br />best_combo_for_task, explain_route,<br />get_session_snapshot,<br />db_health_check, sync_pricing</p></span></div></foreignObject></g></g><g class="node default" id="my-svg-flowchart-Cache-13" data-look="classic" transform="translate(530.515625, 779)"><rect class="basic label-container" style="" x="-65.125" y="-27" width="130.25" height="54"/><g class="label" style="" transform="translate(-35.125, -12)"><rect/><foreignObject width="70.25" height="24"><div xmlns="http://www.w3.org/1999/xhtml" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="nodeLabel"><p>Cache (2)</p></span></div></foreignObject></g></g><g class="node default" id="my-svg-flowchart-Compression-15" data-look="classic" transform="translate(530.515625, 883)"><rect class="basic label-container" style="" x="-89.1328125" y="-27" width="178.265625" height="54"/><g class="label" style="" transform="translate(-59.1328125, -12)"><rect/><foreignObject width="118.265625" height="24"><div xmlns="http://www.w3.org/1999/xhtml" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="nodeLabel"><p>Compression (5)</p></span></div></foreignObject></g></g><g class="node default" id="my-svg-flowchart-Tunnels-17" data-look="classic" transform="translate(530.515625, 987)"><rect class="basic label-container" style="" x="-101.5859375" y="-27" width="203.171875" height="54"/><g class="label" style="" transform="translate(-71.5859375, -12)"><rect/><foreignObject width="143.171875" height="24"><div xmlns="http://www.w3.org/1999/xhtml" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="nodeLabel"><p>1Proxy / Tunnels (3)</p></span></div></foreignObject></g></g><g class="node default" id="my-svg-flowchart-M1-19" data-look="classic" transform="translate(530.515625, 1091)"><rect class="basic label-container" style="" x="-87.3515625" y="-27" width="174.703125" height="54"/><g class="label" style="" transform="translate(-57.3515625, -12)"><rect/><foreignObject width="114.703125" height="24"><div xmlns="http://www.w3.org/1999/xhtml" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="nodeLabel"><p>memory_search</p></span></div></foreignObject></g></g><g class="node default" id="my-svg-flowchart-M2-21" data-look="classic" transform="translate(530.515625, 1195)"><rect class="basic label-container" style="" x="-80.2421875" y="-27" width="160.484375" height="54"/><g class="label" style="" transform="translate(-50.2421875, -12)"><rect/><foreignObject width="100.484375" height="24"><div xmlns="http://www.w3.org/1999/xhtml" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="nodeLabel"><p>memory_save</p></span></div></foreignObject></g></g><g class="node default" id="my-svg-flowchart-M3-23" data-look="classic" transform="translate(530.515625, 1299)"><rect class="basic label-container" style="" x="-85.140625" y="-27" width="170.28125" height="54"/><g class="label" style="" transform="translate(-55.140625, -12)"><rect/><foreignObject width="110.28125" height="24"><div xmlns="http://www.w3.org/1999/xhtml" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="nodeLabel"><p>memory_delete</p></span></div></foreignObject></g></g><g class="node default" id="my-svg-flowchart-S1-25" data-look="classic" transform="translate(530.515625, 1403)"><rect class="basic label-container" style="" x="-70.90625" y="-27" width="141.8125" height="54"/><g class="label" style="" transform="translate(-40.90625, -12)"><rect/><foreignObject width="81.8125" height="24"><div xmlns="http://www.w3.org/1999/xhtml" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="nodeLabel"><p>skill_invoke</p></span></div></foreignObject></g></g><g class="node default" id="my-svg-flowchart-S2-27" data-look="classic" transform="translate(530.515625, 1507)"><rect class="basic label-container" style="" x="-57.5625" y="-27" width="115.125" height="54"/><g class="label" style="" transform="translate(-27.5625, -12)"><rect/><foreignObject width="55.125" height="24"><div xmlns="http://www.w3.org/1999/xhtml" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="nodeLabel"><p>skill_list</p></span></div></foreignObject></g></g><g class="node default" id="my-svg-flowchart-S3-29" data-look="classic" transform="translate(530.515625, 1611)"><rect class="basic label-container" style="" x="-80.2578125" y="-27" width="160.515625" height="54"/><g class="label" style="" transform="translate(-50.2578125, -12)"><rect/><foreignObject width="100.515625" height="24"><div xmlns="http://www.w3.org/1999/xhtml" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="nodeLabel"><p>skill_diagnose</p></span></div></foreignObject></g></g><g class="node default" id="my-svg-flowchart-S4-31" data-look="classic" transform="translate(530.515625, 1715)"><rect class="basic label-container" style="" x="-77.1328125" y="-27" width="154.265625" height="54"/><g class="label" style="" transform="translate(-47.1328125, -12)"><rect/><foreignObject width="94.265625" height="24"><div xmlns="http://www.w3.org/1999/xhtml" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="nodeLabel"><p>skill_uninstall</p></span></div></foreignObject></g></g></g></g></g><defs><filter id="my-svg-drop-shadow" height="130%" width="130%"><feDropShadow dx="4" dy="4" stdDeviation="0" flood-opacity="0.06" flood-color="#000000"/></filter></defs><defs><filter id="my-svg-drop-shadow-small" height="150%" width="150%"><feDropShadow dx="2" dy="2" stdDeviation="0" flood-opacity="0.06" flood-color="#000000"/></filter></defs></svg>\ No newline at end of filediff --git a/docs/diagrams/exported/request-pipeline.svg b/docs/diagrams/exported/request-pipeline.svgnew file mode 100644index 0000000000..f64c7903fe--- /dev/null+++ b/docs/diagrams/exported/request-pipeline.svg@@ -0,0 +1 @@+<svg id="my-svg" width="100%" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" class="flowchart" style="max-width: 4194.58px; background-color: white;" viewBox="0 0 4194.578125 268.125" role="graphics-document document" aria-roledescription="flowchart-v2"><style>#my-svg{font-family:"trebuchet ms",verdana,arial,sans-serif;font-size:16px;fill:#333;}@keyframes edge-animation-frame{from{stroke-dashoffset:0;}}@keyframes dash{to{stroke-dashoffset:0;}}#my-svg .edge-animation-slow{stroke-dasharray:9,5!important;stroke-dashoffset:900;animation:dash 50s linear infinite;stroke-linecap:round;}#my-svg .edge-animation-fast{stroke-dasharray:9,5!important;stroke-dashoffset:900;animation:dash 20s linear infinite;stroke-linecap:round;}#my-svg .error-icon{fill:#552222;}#my-svg .error-text{fill:#552222;stroke:#552222;}#my-svg .edge-thickness-normal{stroke-width:1px;}#my-svg .edge-thickness-thick{stroke-width:3.5px;}#my-svg .edge-pattern-solid{stroke-dasharray:0;}#my-svg .edge-thickness-invisible{stroke-width:0;fill:none;}#my-svg .edge-pattern-dashed{stroke-dasharray:3;}#my-svg .edge-pattern-dotted{stroke-dasharray:2;}#my-svg .marker{fill:#333333;stroke:#333333;}#my-svg .marker.cross{stroke:#333333;}#my-svg svg{font-family:"trebuchet ms",verdana,arial,sans-serif;font-size:16px;}#my-svg p{margin:0;}#my-svg .label{font-family:"trebuchet ms",verdana,arial,sans-serif;color:#333;}#my-svg .cluster-label text{fill:#333;}#my-svg .cluster-label span{color:#333;}#my-svg .cluster-label span p{background-color:transparent;}#my-svg .label text,#my-svg span{fill:#333;color:#333;}#my-svg .node rect,#my-svg .node circle,#my-svg .node ellipse,#my-svg .node polygon,#my-svg .node path{fill:#ECECFF;stroke:#9370DB;stroke-width:1px;}#my-svg .rough-node .label text,#my-svg .node .label text,#my-svg .image-shape .label,#my-svg .icon-shape .label{text-anchor:middle;}#my-svg .node .katex path{fill:#000;stroke:#000;stroke-width:1px;}#my-svg .rough-node .label,#my-svg .node .label,#my-svg .image-shape .label,#my-svg .icon-shape .label{text-align:center;}#my-svg .node.clickable{cursor:pointer;}#my-svg .root .anchor path{fill:#333333!important;stroke-width:0;stroke:#333333;}#my-svg .arrowheadPath{fill:#333333;}#my-svg .edgePath .path{stroke:#333333;stroke-width:1px;}#my-svg .flowchart-link{stroke:#333333;fill:none;}#my-svg .edgeLabel{background-color:rgba(232,232,232, 0.8);text-align:center;}#my-svg .edgeLabel p{background-color:rgba(232,232,232, 0.8);}#my-svg .edgeLabel rect{opacity:0.5;background-color:rgba(232,232,232, 0.8);fill:rgba(232,232,232, 0.8);}#my-svg .labelBkg{background-color:rgba(232, 232, 232, 0.5);}#my-svg .cluster rect{fill:#ffffde;stroke:#aaaa33;stroke-width:1px;}#my-svg .cluster text{fill:#333;}#my-svg .cluster span{color:#333;}#my-svg div.mermaidTooltip{position:absolute;text-align:center;max-width:200px;padding:2px;font-family:"trebuchet ms",verdana,arial,sans-serif;font-size:12px;background:hsl(80, 100%, 96.2745098039%);border:1px solid #aaaa33;border-radius:2px;pointer-events:none;z-index:100;}#my-svg .flowchartTitleText{text-anchor:middle;font-size:18px;fill:#333;}#my-svg rect.text{fill:none;stroke-width:0;}#my-svg .icon-shape,#my-svg .image-shape{background-color:rgba(232,232,232, 0.8);text-align:center;}#my-svg .icon-shape p,#my-svg .image-shape p{background-color:rgba(232,232,232, 0.8);padding:2px;}#my-svg .icon-shape .label rect,#my-svg .image-shape .label rect{opacity:0.5;background-color:rgba(232,232,232, 0.8);fill:rgba(232,232,232, 0.8);}#my-svg .label-icon{display:inline-block;height:1em;overflow:visible;vertical-align:-0.125em;}#my-svg .node .label-icon path{fill:currentColor;stroke:revert;stroke-width:revert;}#my-svg .node .neo-node{stroke:#9370DB;}#my-svg [data-look="neo"].node rect,#my-svg [data-look="neo"].cluster rect,#my-svg [data-look="neo"].node polygon{stroke:#9370DB;filter:drop-shadow(1px 2px 2px rgba(185, 185, 185, 1));}#my-svg [data-look="neo"].node path{stroke:#9370DB;stroke-width:1px;}#my-svg [data-look="neo"].node .outer-path{filter:drop-shadow(1px 2px 2px rgba(185, 185, 185, 1));}#my-svg [data-look="neo"].node .neo-line path{stroke:#9370DB;filter:none;}#my-svg [data-look="neo"].node circle{stroke:#9370DB;filter:drop-shadow(1px 2px 2px rgba(185, 185, 185, 1));}#my-svg [data-look="neo"].node circle .state-start{fill:#000000;}#my-svg [data-look="neo"].icon-shape .icon{fill:#9370DB;filter:drop-shadow(1px 2px 2px rgba(185, 185, 185, 1));}#my-svg [data-look="neo"].icon-shape .icon-neo path{stroke:#9370DB;filter:drop-shadow(1px 2px 2px rgba(185, 185, 185, 1));}#my-svg :root{--mermaid-font-family:"trebuchet ms",verdana,arial,sans-serif;}</style><g><marker id="my-svg_flowchart-v2-pointEnd" class="marker flowchart-v2" viewBox="0 0 10 10" refX="5" refY="5" markerUnits="userSpaceOnUse" markerWidth="8" markerHeight="8" orient="auto"><path d="M 0 0 L 10 5 L 0 10 z" class="arrowMarkerPath" style="stroke-width: 1; stroke-dasharray: 1, 0;"/></marker><marker id="my-svg_flowchart-v2-pointStart" class="marker flowchart-v2" viewBox="0 0 10 10" refX="4.5" refY="5" markerUnits="userSpaceOnUse" markerWidth="8" markerHeight="8" orient="auto"><path d="M 0 5 L 10 10 L 10 0 z" class="arrowMarkerPath" style="stroke-width: 1; stroke-dasharray: 1, 0;"/></marker><marker id="my-svg_flowchart-v2-pointEnd-margin" class="marker flowchart-v2" viewBox="0 0 11.5 14" refX="11.5" refY="7" markerUnits="userSpaceOnUse" markerWidth="10.5" markerHeight="14" orient="auto"><path d="M 0 0 L 11.5 7 L 0 14 z" class="arrowMarkerPath" style="stroke-width: 0; stroke-dasharray: 1, 0;"/></marker><marker id="my-svg_flowchart-v2-pointStart-margin" class="marker flowchart-v2" viewBox="0 0 11.5 14" refX="1" refY="7" markerUnits="userSpaceOnUse" markerWidth="11.5" markerHeight="14" orient="auto"><polygon points="0,7 11.5,14 11.5,0" class="arrowMarkerPath" style="stroke-width: 0; stroke-dasharray: 1, 0;"/></marker><marker id="my-svg_flowchart-v2-circleEnd" class="marker flowchart-v2" viewBox="0 0 10 10" refX="11" refY="5" markerUnits="userSpaceOnUse" markerWidth="11" markerHeight="11" orient="auto"><circle cx="5" cy="5" r="5" class="arrowMarkerPath" style="stroke-width: 1; stroke-dasharray: 1, 0;"/></marker><marker id="my-svg_flowchart-v2-circleStart" class="marker flowchart-v2" viewBox="0 0 10 10" refX="-1" refY="5" markerUnits="userSpaceOnUse" markerWidth="11" markerHeight="11" orient="auto"><circle cx="5" cy="5" r="5" class="arrowMarkerPath" style="stroke-width: 1; stroke-dasharray: 1, 0;"/></marker><marker id="my-svg_flowchart-v2-circleEnd-margin" class="marker flowchart-v2" viewBox="0 0 10 10" refY="5" refX="12.25" markerUnits="userSpaceOnUse" markerWidth="14" markerHeight="14" orient="auto"><circle cx="5" cy="5" r="5" class="arrowMarkerPath" style="stroke-width: 0; stroke-dasharray: 1, 0;"/></marker><marker id="my-svg_flowchart-v2-circleStart-margin" class="marker flowchart-v2" viewBox="0 0 10 10" refX="-2" refY="5" markerUnits="userSpaceOnUse" markerWidth="14" markerHeight="14" orient="auto"><circle cx="5" cy="5" r="5" class="arrowMarkerPath" style="stroke-width: 0; stroke-dasharray: 1, 0;"/></marker><marker id="my-svg_flowchart-v2-crossEnd" class="marker cross flowchart-v2" viewBox="0 0 11 11" refX="12" refY="5.2" markerUnits="userSpaceOnUse" markerWidth="11" markerHeight="11" orient="auto"><path d="M 1,1 l 9,9 M 10,1 l -9,9" class="arrowMarkerPath" style="stroke-width: 2; stroke-dasharray: 1, 0;"/></marker><marker id="my-svg_flowchart-v2-crossStart" class="marker cross flowchart-v2" viewBox="0 0 11 11" refX="-1" refY="5.2" markerUnits="userSpaceOnUse" markerWidth="11" markerHeight="11" orient="auto"><path d="M 1,1 l 9,9 M 10,1 l -9,9" class="arrowMarkerPath" style="stroke-width: 2; stroke-dasharray: 1, 0;"/></marker><marker id="my-svg_flowchart-v2-crossEnd-margin" class="marker cross flowchart-v2" viewBox="0 0 15 15" refX="17.7" refY="7.5" markerUnits="userSpaceOnUse" markerWidth="12" markerHeight="12" orient="auto"><path d="M 1,1 L 14,14 M 1,14 L 14,1" class="arrowMarkerPath" style="stroke-width: 2.5;"/></marker><marker id="my-svg_flowchart-v2-crossStart-margin" class="marker cross flowchart-v2" viewBox="0 0 15 15" refX="-3.5" refY="7.5" markerUnits="userSpaceOnUse" markerWidth="12" markerHeight="12" orient="auto"><path d="M 1,1 L 14,14 M 1,14 L 14,1" class="arrowMarkerPath" style="stroke-width: 2.5; stroke-dasharray: 1, 0;"/></marker><g class="root"><g class="clusters"/><g class="edgePaths"><path d="M172.016,104.711L176.182,102.759C180.349,100.807,188.682,96.904,196.349,94.952C204.016,93,211.016,93,214.516,93L218.016,93" id="my-svg-L_Client_Route_0" class="edge-thickness-normal edge-pattern-solid edge-thickness-normal edge-pattern-solid flowchart-link" style=";" data-edge="true" data-et="edge" data-id="L_Client_Route_0" data-points="W3sieCI6MTcyLjAxNTYyNSwieSI6MTA0LjcxMDU5MzU2MDYzMzczfSx7IngiOjE5Ny4wMTU2MjUsInkiOjkzfSx7IngiOjIyMi4wMTU2MjUsInkiOjkzfV0=" data-look="classic" marker-end="url(#my-svg_flowchart-v2-pointEnd)"/><path d="M427.875,93L432.042,93C436.208,93,444.542,93,452.208,93C459.875,93,466.875,93,470.375,93L473.875,93" id="my-svg-L_Route_CORS_0" class="edge-thickness-normal edge-pattern-solid edge-thickness-normal edge-pattern-solid flowchart-link" style=";" data-edge="true" data-et="edge" data-id="L_Route_CORS_0" data-points="W3sieCI6NDI3Ljg3NSwieSI6OTN9LHsieCI6NDUyLjg3NSwieSI6OTN9LHsieCI6NDc3Ljg3NSwieSI6OTN9XQ==" data-look="classic" marker-end="url(#my-svg_flowchart-v2-pointEnd)"/><path d="M645.469,93L649.635,93C653.802,93,662.135,93,669.802,93C677.469,93,684.469,93,687.969,93L691.469,93" id="my-svg-L_CORS_Validate_0" class="edge-thickness-normal edge-pattern-solid edge-thickness-normal edge-pattern-solid flowchart-link" style=";" data-edge="true" data-et="edge" data-id="L_CORS_Validate_0" data-points="W3sieCI6NjQ1LjQ2ODc1LCJ5Ijo5M30seyJ4Ijo2NzAuNDY4NzUsInkiOjkzfSx7IngiOjY5NS40Njg3NSwieSI6OTN9XQ==" data-look="classic" marker-end="url(#my-svg_flowchart-v2-pointEnd)"/><path d="M858.641,93L862.807,93C866.974,93,875.307,93,882.974,93C890.641,93,897.641,93,901.141,93L904.641,93" id="my-svg-L_Validate_Authz_0" class="edge-thickness-normal edge-pattern-solid edge-thickness-normal edge-pattern-solid flowchart-link" style=";" data-edge="true" data-et="edge" data-id="L_Validate_Authz_0" data-points="W3sieCI6ODU4LjY0MDYyNSwieSI6OTN9LHsieCI6ODgzLjY0MDYyNSwieSI6OTN9LHsieCI6OTA4LjY0MDYyNSwieSI6OTN9XQ==" data-look="classic" marker-end="url(#my-svg_flowchart-v2-pointEnd)"/><path d="M1086.469,93L1090.635,93C1094.802,93,1103.135,93,1110.802,93C1118.469,93,1125.469,93,1128.969,93L1132.469,93" id="my-svg-L_Authz_Policy_0" class="edge-thickness-normal edge-pattern-solid edge-thickness-normal edge-pattern-solid flowchart-link" style=";" data-edge="true" data-et="edge" data-id="L_Authz_Policy_0" data-points="W3sieCI6MTA4Ni40Njg3NSwieSI6OTN9LHsieCI6MTExMS40Njg3NSwieSI6OTN9LHsieCI6MTEzNi40Njg3NSwieSI6OTN9XQ==" data-look="classic" marker-end="url(#my-svg_flowchart-v2-pointEnd)"/><path d="M1332.078,93L1336.245,93C1340.411,93,1348.745,93,1356.411,93C1364.078,93,1371.078,93,1374.578,93L1378.078,93" id="my-svg-L_Policy_Guard_0" class="edge-thickness-normal edge-pattern-solid edge-thickness-normal edge-pattern-solid flowchart-link" style=";" data-edge="true" data-et="edge" data-id="L_Policy_Guard_0" data-points="W3sieCI6MTMzMi4wNzgxMjUsInkiOjkzfSx7IngiOjEzNTcuMDc4MTI1LCJ5Ijo5M30seyJ4IjoxMzgyLjA3ODEyNSwieSI6OTN9XQ==" data-look="classic" marker-end="url(#my-svg_flowchart-v2-pointEnd)"/><path d="M1557.688,93L1561.854,93C1566.021,93,1574.354,93,1582.021,93C1589.688,93,1596.688,93,1600.188,93L1603.688,93" id="my-svg-L_Guard_ChatCore_0" class="edge-thickness-normal edge-pattern-solid edge-thickness-normal edge-pattern-solid flowchart-link" style=";" data-edge="true" data-et="edge" data-id="L_Guard_ChatCore_0" data-points="W3sieCI6MTU1Ny42ODc1LCJ5Ijo5M30seyJ4IjoxNTgyLjY4NzUsInkiOjkzfSx7IngiOjE2MDcuNjg3NSwieSI6OTN9XQ==" data-look="classic" marker-end="url(#my-svg_flowchart-v2-pointEnd)"/><path d="M1784.219,93L1788.385,93C1792.552,93,1800.885,93,1808.552,93C1816.219,93,1823.219,93,1826.719,93L1830.219,93" id="my-svg-L_ChatCore_Cache_0" class="edge-thickness-normal edge-pattern-solid edge-thickness-normal edge-pattern-solid flowchart-link" style=";" data-edge="true" data-et="edge" data-id="L_ChatCore_Cache_0" data-points="W3sieCI6MTc4NC4yMTg3NSwieSI6OTN9LHsieCI6MTgwOS4yMTg3NSwieSI6OTN9LHsieCI6MTgzNC4yMTg3NSwieSI6OTN9XQ==" data-look="classic" marker-end="url(#my-svg_flowchart-v2-pointEnd)"/><path d="M1941.169,69.45L1951.336,63.709C1961.503,57.967,1981.838,46.483,1998.515,40.742C2015.193,35,2028.214,35,2034.724,35L2041.234,35" id="my-svg-L_Cache_Return_0" class="edge-thickness-normal edge-pattern-solid edge-thickness-normal edge-pattern-solid flowchart-link" style=";" data-edge="true" data-et="edge" data-id="L_Cache_Return_0" data-points="W3sieCI6MTk0MS4xNjkxMTQ2MDg2NTM0LCJ5Ijo2OS40NTAzNjQ2MDg2NTMzN30seyJ4IjoyMDAyLjE3MTg3NSwieSI6MzV9LHsieCI6MjA0NS4yMzQzNzUsInkiOjM1fV0=" data-look="classic" marker-end="url(#my-svg_flowchart-v2-pointEnd)"/><path d="M1941.169,116.55L1951.336,122.291C1961.503,128.033,1981.838,139.517,1997.58,145.258C2013.323,151,2024.474,151,2030.049,151L2035.625,151" id="my-svg-L_Cache_Rate_0" class="edge-thickness-normal edge-pattern-solid edge-thickness-normal edge-pattern-solid flowchart-link" style=";" data-edge="true" data-et="edge" data-id="L_Cache_Rate_0" data-points="W3sieCI6MTk0MS4xNjkxMTQ2MDg2NTM0LCJ5IjoxMTYuNTQ5NjM1MzkxMzQ2NjN9LHsieCI6MjAwMi4xNzE4NzUsInkiOjE1MX0seyJ4IjoyMDM5LjYyNSwieSI6MTUxfV0=" data-look="classic" marker-end="url(#my-svg_flowchart-v2-pointEnd)"/><path d="M2214.906,151L2219.073,151C2223.24,151,2231.573,151,2239.24,151C2246.906,151,2253.906,151,2257.406,151L2260.906,151" id="my-svg-L_Rate_Combo_0" class="edge-thickness-normal edge-pattern-solid edge-thickness-normal edge-pattern-solid flowchart-link" style=";" data-edge="true" data-et="edge" data-id="L_Rate_Combo_0" data-points="W3sieCI6MjIxNC45MDYyNSwieSI6MTUxfSx7IngiOjIyMzkuOTA2MjUsInkiOjE1MX0seyJ4IjoyMjY0LjkwNjI1LCJ5IjoxNTF9XQ==" data-look="classic" marker-end="url(#my-svg_flowchart-v2-pointEnd)"/><path d="M2376.717,133.233L2387.848,129.028C2398.978,124.822,2421.239,116.411,2439.872,112.206C2458.505,108,2473.51,108,2481.013,108L2488.516,108" id="my-svg-L_Combo_Resolve_0" class="edge-thickness-normal edge-pattern-solid edge-thickness-normal edge-pattern-solid flowchart-link" style=";" data-edge="true" data-et="edge" data-id="L_Combo_Resolve_0" data-points="W3sieCI6MjM3Ni43MTc0OTc0MTU0MjU0LCJ5IjoxMzMuMjMzMTIyNDE1NDI1MjR9LHsieCI6MjQ0My41LCJ5IjoxMDh9LHsieCI6MjQ5Mi41MTU2MjUsInkiOjEwOH1d" data-look="classic" marker-end="url(#my-svg_flowchart-v2-pointEnd)"/><path d="M2708.141,108L2712.307,108C2716.474,108,2724.807,108,2732.511,109.236C2740.215,110.472,2747.29,112.944,2750.827,114.18L2754.365,115.416" id="my-svg-L_Resolve_Single_0" class="edge-thickness-normal edge-pattern-solid edge-thickness-normal edge-pattern-solid flowchart-link" style=";" data-edge="true" data-et="edge" data-id="L_Resolve_Single_0" data-points="W3sieCI6MjcwOC4xNDA2MjUsInkiOjEwOH0seyJ4IjoyNzMzLjE0MDYyNSwieSI6MTA4fSx7IngiOjI3NTguMTQwNjI1LCJ5IjoxMTYuNzM1OTUzMjcyODA4MDh9XQ==" data-look="classic" marker-end="url(#my-svg_flowchart-v2-pointEnd)"/><path d="M2376.717,168.767L2387.848,172.972C2398.978,177.178,2421.239,185.589,2458.508,189.794C2495.776,194,2548.052,194,2596.326,194C2644.599,194,2688.87,194,2714.543,192.764C2740.215,191.528,2747.29,189.056,2750.827,187.82L2754.365,186.584" id="my-svg-L_Combo_Single_0" class="edge-thickness-normal edge-pattern-solid edge-thickness-normal edge-pattern-solid flowchart-link" style=";" data-edge="true" data-et="edge" data-id="L_Combo_Single_0" data-points="W3sieCI6MjM3Ni43MTc0OTc0MTU0MjU0LCJ5IjoxNjguNzY2ODc3NTg0NTc0NzZ9LHsieCI6MjQ0My41LCJ5IjoxOTR9LHsieCI6MjYwMC4zMjgxMjUsInkiOjE5NH0seyJ4IjoyNzMzLjE0MDYyNSwieSI6MTk0fSx7IngiOjI3NTguMTQwNjI1LCJ5IjoxODUuMjY0MDQ2NzI3MTkxOTJ9XQ==" data-look="classic" marker-end="url(#my-svg_flowchart-v2-pointEnd)"/><path d="M2954.25,151L2958.417,151C2962.583,151,2970.917,151,2978.583,151C2986.25,151,2993.25,151,2996.75,151L3000.25,151" id="my-svg-L_Single_Translate_0" class="edge-thickness-normal edge-pattern-solid edge-thickness-normal edge-pattern-solid flowchart-link" style=";" data-edge="true" data-et="edge" data-id="L_Single_Translate_0" data-points="W3sieCI6Mjk1NC4yNSwieSI6MTUxfSx7IngiOjI5NzkuMjUsInkiOjE1MX0seyJ4IjozMDA0LjI1LCJ5IjoxNTF9XQ==" data-look="classic" marker-end="url(#my-svg_flowchart-v2-pointEnd)"/><path d="M3262.547,151L3266.714,151C3270.88,151,3279.214,151,3286.88,151C3294.547,151,3301.547,151,3305.047,151L3308.547,151" id="my-svg-L_Translate_Exec_0" class="edge-thickness-normal edge-pattern-solid edge-thickness-normal edge-pattern-solid flowchart-link" style=";" data-edge="true" data-et="edge" data-id="L_Translate_Exec_0" data-points="W3sieCI6MzI2Mi41NDY4NzUsInkiOjE1MX0seyJ4IjozMjg3LjU0Njg3NSwieSI6MTUxfSx7IngiOjMzMTIuNTQ2ODc1LCJ5IjoxNTF9XQ==" data-look="classic" marker-end="url(#my-svg_flowchart-v2-pointEnd)"/><path d="M3474.813,151L3478.979,151C3483.146,151,3491.479,151,3499.146,151C3506.813,151,3513.813,151,3517.313,151L3520.813,151" id="my-svg-L_Exec_Upstream_0" class="edge-thickness-normal edge-pattern-solid edge-thickness-normal edge-pattern-solid flowchart-link" style=";" data-edge="true" data-et="edge" data-id="L_Exec_Upstream_0" data-points="W3sieCI6MzQ3NC44MTI1LCJ5IjoxNTF9LHsieCI6MzQ5OS44MTI1LCJ5IjoxNTF9LHsieCI6MzUyNC44MTI1LCJ5IjoxNTF9XQ==" data-look="classic" marker-end="url(#my-svg_flowchart-v2-pointEnd)"/><path d="M3718.188,151L3722.354,151C3726.521,151,3734.854,151,3742.521,151C3750.188,151,3757.188,151,3760.688,151L3764.188,151" id="my-svg-L_Upstream_Stream_0" class="edge-thickness-normal edge-pattern-solid edge-thickness-normal edge-pattern-solid flowchart-link" style=";" data-edge="true" data-et="edge" data-id="L_Upstream_Stream_0" data-points="W3sieCI6MzcxOC4xODc1LCJ5IjoxNTF9LHsieCI6Mzc0My4xODc1LCJ5IjoxNTF9LHsieCI6Mzc2OC4xODc1LCJ5IjoxNTF9XQ==" data-look="classic" marker-end="url(#my-svg_flowchart-v2-pointEnd)"/><path d="M3916.219,151L3920.385,151C3924.552,151,3932.885,151,3941.427,152.622C3949.969,154.245,3958.72,157.49,3963.095,159.112L3967.471,160.734" id="my-svg-L_Stream_Transformer_0" class="edge-thickness-normal edge-pattern-solid edge-thickness-normal edge-pattern-solid flowchart-link" style=";" data-edge="true" data-et="edge" data-id="L_Stream_Transformer_0" data-points="W3sieCI6MzkxNi4yMTg3NSwieSI6MTUxfSx7IngiOjM5NDEuMjE4NzUsInkiOjE1MX0seyJ4IjozOTcxLjIyMTIyNDI4MzA0MjQsInkiOjE2Mi4xMjV9XQ==" data-look="classic" marker-end="url(#my-svg_flowchart-v2-pointEnd)"/><path d="M3987.042,240.125L3979.405,243.458C3971.768,246.792,3956.493,253.458,3932.353,256.792C3908.214,260.125,3875.208,260.125,3842.203,260.125C3809.198,260.125,3776.193,260.125,3739.409,260.125C3702.625,260.125,3662.063,260.125,3621.5,260.125C3580.938,260.125,3540.375,260.125,3502.405,260.125C3464.435,260.125,3429.057,260.125,3393.68,260.125C3358.302,260.125,3322.924,260.125,3279.544,260.125C3236.164,260.125,3184.781,260.125,3133.398,260.125C3082.016,260.125,3030.633,260.125,2984.432,260.125C2938.232,260.125,2897.214,260.125,2856.195,260.125C2815.177,260.125,2774.159,260.125,2731.514,260.125C2688.87,260.125,2644.599,260.125,2596.326,260.125C2548.052,260.125,2495.776,260.125,2450.671,260.125C2405.565,260.125,2367.63,260.125,2333.698,260.125C2299.766,260.125,2269.836,260.125,2236.098,260.125C2202.359,260.125,2164.813,260.125,2125.19,260.125C2085.568,260.125,2043.87,260.125,2005.904,260.125C1967.938,260.125,1933.703,260.125,1901.544,260.125C1869.385,260.125,1839.302,260.125,1805.383,260.125C1771.464,260.125,1733.708,260.125,1695.953,260.125C1658.198,260.125,1620.443,260.125,1582.764,260.125C1545.086,260.125,1507.484,260.125,1469.883,260.125C1432.281,260.125,1394.68,260.125,1355.411,260.125C1316.143,260.125,1275.208,260.125,1234.273,260.125C1193.339,260.125,1152.404,260.125,1112.951,260.125C1073.497,260.125,1035.526,260.125,997.555,260.125C959.583,260.125,921.612,260.125,884.862,260.125C848.112,260.125,812.583,260.125,777.055,260.125C741.526,260.125,705.997,260.125,670.1,260.125C634.203,260.125,597.938,260.125,561.672,260.125C525.406,260.125,489.141,260.125,449.686,260.125C410.232,260.125,367.589,260.125,324.945,260.125C282.302,260.125,239.659,260.125,206.897,247.617C174.136,235.109,151.256,210.093,139.816,197.585L128.377,185.077" id="my-svg-L_Transformer_Client_0" class="edge-thickness-normal edge-pattern-solid edge-thickness-normal edge-pattern-solid flowchart-link" style=";" data-edge="true" data-et="edge" data-id="L_Transformer_Client_0" data-points="W3sieCI6Mzk4Ny4wNDIzNzI4ODEzNTU3LCJ5IjoyNDAuMTI1fSx7IngiOjM5NDEuMjE4NzUsInkiOjI2MC4xMjV9LHsieCI6Mzg0Mi4yMDMxMjUsInkiOjI2MC4xMjV9LHsieCI6Mzc0My4xODc1LCJ5IjoyNjAuMTI1fSx7IngiOjM2MjEuNSwieSI6MjYwLjEyNX0seyJ4IjozNDk5LjgxMjUsInkiOjI2MC4xMjV9LHsieCI6MzM5My42Nzk2ODc1LCJ5IjoyNjAuMTI1fSx7IngiOjMyODcuNTQ2ODc1LCJ5IjoyNjAuMTI1fSx7IngiOjMxMzMuMzk4NDM3NSwieSI6MjYwLjEyNX0seyJ4IjoyOTc5LjI1LCJ5IjoyNjAuMTI1fSx7IngiOjI4NTYuMTk1MzEyNSwieSI6MjYwLjEyNX0seyJ4IjoyNzMzLjE0MDYyNSwieSI6MjYwLjEyNX0seyJ4IjoyNjAwLjMyODEyNSwieSI6MjYwLjEyNX0seyJ4IjoyNDQzLjUsInkiOjI2MC4xMjV9LHsieCI6MjMyOS42OTUzMTI1LCJ5IjoyNjAuMTI1fSx7IngiOjIyMzkuOTA2MjUsInkiOjI2MC4xMjV9LHsieCI6MjEyNy4yNjU2MjUsInkiOjI2MC4xMjV9LHsieCI6MjAwMi4xNzE4NzUsInkiOjI2MC4xMjV9LHsieCI6MTg5OS40Njg3NSwieSI6MjYwLjEyNX0seyJ4IjoxODA5LjIxODc1LCJ5IjoyNjAuMTI1fSx7IngiOjE2OTUuOTUzMTI1LCJ5IjoyNjAuMTI1fSx7IngiOjE1ODIuNjg3NSwieSI6MjYwLjEyNX0seyJ4IjoxNDY5Ljg4MjgxMjUsInkiOjI2MC4xMjV9LHsieCI6MTM1Ny4wNzgxMjUsInkiOjI2MC4xMjV9LHsieCI6MTIzNC4yNzM0Mzc1LCJ5IjoyNjAuMTI1fSx7IngiOjExMTEuNDY4NzUsInkiOjI2MC4xMjV9LHsieCI6OTk3LjU1NDY4NzUsInkiOjI2MC4xMjV9LHsieCI6ODgzLjY0MDYyNSwieSI6MjYwLjEyNX0seyJ4Ijo3NzcuMDU0Njg3NSwieSI6MjYwLjEyNX0seyJ4Ijo2NzAuNDY4NzUsInkiOjI2MC4xMjV9LHsieCI6NTYxLjY3MTg3NSwieSI6MjYwLjEyNX0seyJ4Ijo0NTIuODc1LCJ5IjoyNjAuMTI1fSx7IngiOjMyNC45NDUzMTI1LCJ5IjoyNjAuMTI1fSx7IngiOjE5Ny4wMTU2MjUsInkiOjI2MC4xMjV9LHsieCI6MTI1LjY3NzA4MzMzMzMzMzM0LCJ5IjoxODIuMTI1fV0=" data-look="classic" marker-end="url(#my-svg_flowchart-v2-pointEnd)"/></g><g class="edgeLabels"><g class="edgeLabel"><g class="label" data-id="L_Client_Route_0" transform="translate(0, 0)"><foreignObject width="0" height="0"><div xmlns="http://www.w3.org/1999/xhtml" class="labelBkg" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="edgeLabel"></span></div></foreignObject></g></g><g class="edgeLabel"><g class="label" data-id="L_Route_CORS_0" transform="translate(0, 0)"><foreignObject width="0" height="0"><div xmlns="http://www.w3.org/1999/xhtml" class="labelBkg" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="edgeLabel"></span></div></foreignObject></g></g><g class="edgeLabel"><g class="label" data-id="L_CORS_Validate_0" transform="translate(0, 0)"><foreignObject width="0" height="0"><div xmlns="http://www.w3.org/1999/xhtml" class="labelBkg" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="edgeLabel"></span></div></foreignObject></g></g><g class="edgeLabel"><g class="label" data-id="L_Validate_Authz_0" transform="translate(0, 0)"><foreignObject width="0" height="0"><div xmlns="http://www.w3.org/1999/xhtml" class="labelBkg" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="edgeLabel"></span></div></foreignObject></g></g><g class="edgeLabel"><g class="label" data-id="L_Authz_Policy_0" transform="translate(0, 0)"><foreignObject width="0" height="0"><div xmlns="http://www.w3.org/1999/xhtml" class="labelBkg" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="edgeLabel"></span></div></foreignObject></g></g><g class="edgeLabel"><g class="label" data-id="L_Policy_Guard_0" transform="translate(0, 0)"><foreignObject width="0" height="0"><div xmlns="http://www.w3.org/1999/xhtml" class="labelBkg" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="edgeLabel"></span></div></foreignObject></g></g><g class="edgeLabel"><g class="label" data-id="L_Guard_ChatCore_0" transform="translate(0, 0)"><foreignObject width="0" height="0"><div xmlns="http://www.w3.org/1999/xhtml" class="labelBkg" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="edgeLabel"></span></div></foreignObject></g></g><g class="edgeLabel"><g class="label" data-id="L_ChatCore_Cache_0" transform="translate(0, 0)"><foreignObject width="0" height="0"><div xmlns="http://www.w3.org/1999/xhtml" class="labelBkg" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="edgeLabel"></span></div></foreignObject></g></g><g class="edgeLabel" transform="translate(2002.171875, 35)"><g class="label" data-id="L_Cache_Return_0" transform="translate(-12.453125, -12)"><foreignObject width="24.90625" height="24"><div xmlns="http://www.w3.org/1999/xhtml" class="labelBkg" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="edgeLabel"><p>yes</p></span></div></foreignObject></g></g><g class="edgeLabel" transform="translate(2002.171875, 151)"><g class="label" data-id="L_Cache_Rate_0" transform="translate(-8.8984375, -12)"><foreignObject width="17.796875" height="24"><div xmlns="http://www.w3.org/1999/xhtml" class="labelBkg" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="edgeLabel"><p>no</p></span></div></foreignObject></g></g><g class="edgeLabel"><g class="label" data-id="L_Rate_Combo_0" transform="translate(0, 0)"><foreignObject width="0" height="0"><div xmlns="http://www.w3.org/1999/xhtml" class="labelBkg" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="edgeLabel"></span></div></foreignObject></g></g><g class="edgeLabel" transform="translate(2443.5, 108)"><g class="label" data-id="L_Combo_Resolve_0" transform="translate(-24.015625, -12)"><foreignObject width="48.03125" height="24"><div xmlns="http://www.w3.org/1999/xhtml" class="labelBkg" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="edgeLabel"><p>combo</p></span></div></foreignObject></g></g><g class="edgeLabel"><g class="label" data-id="L_Resolve_Single_0" transform="translate(0, 0)"><foreignObject width="0" height="0"><div xmlns="http://www.w3.org/1999/xhtml" class="labelBkg" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="edgeLabel"></span></div></foreignObject></g></g><g class="edgeLabel" transform="translate(2600.328125, 194)"><g class="label" data-id="L_Combo_Single_0" transform="translate(-20.90625, -12)"><foreignObject width="41.8125" height="24"><div xmlns="http://www.w3.org/1999/xhtml" class="labelBkg" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="edgeLabel"><p>single</p></span></div></foreignObject></g></g><g class="edgeLabel"><g class="label" data-id="L_Single_Translate_0" transform="translate(0, 0)"><foreignObject width="0" height="0"><div xmlns="http://www.w3.org/1999/xhtml" class="labelBkg" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="edgeLabel"></span></div></foreignObject></g></g><g class="edgeLabel"><g class="label" data-id="L_Translate_Exec_0" transform="translate(0, 0)"><foreignObject width="0" height="0"><div xmlns="http://www.w3.org/1999/xhtml" class="labelBkg" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="edgeLabel"></span></div></foreignObject></g></g><g class="edgeLabel"><g class="label" data-id="L_Exec_Upstream_0" transform="translate(0, 0)"><foreignObject width="0" height="0"><div xmlns="http://www.w3.org/1999/xhtml" class="labelBkg" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="edgeLabel"></span></div></foreignObject></g></g><g class="edgeLabel"><g class="label" data-id="L_Upstream_Stream_0" transform="translate(0, 0)"><foreignObject width="0" height="0"><div xmlns="http://www.w3.org/1999/xhtml" class="labelBkg" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="edgeLabel"></span></div></foreignObject></g></g><g class="edgeLabel"><g class="label" data-id="L_Stream_Transformer_0" transform="translate(0, 0)"><foreignObject width="0" height="0"><div xmlns="http://www.w3.org/1999/xhtml" class="labelBkg" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="edgeLabel"></span></div></foreignObject></g></g><g class="edgeLabel"><g class="label" data-id="L_Transformer_Client_0" transform="translate(0, 0)"><foreignObject width="0" height="0"><div xmlns="http://www.w3.org/1999/xhtml" class="labelBkg" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="edgeLabel"></span></div></foreignObject></g></g></g><g class="nodes"><g class="node default" id="my-svg-flowchart-Client-0" data-look="classic" transform="translate(90.0078125, 143.125)"><rect class="basic label-container" style="" x="-82.0078125" y="-39" width="164.015625" height="78"/><g class="label" style="" transform="translate(-52.0078125, -24)"><rect/><foreignObject width="104.015625" height="48"><div xmlns="http://www.w3.org/1999/xhtml" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="nodeLabel"><p>Client<br />(IDE/CLI/SDK)</p></span></div></foreignObject></g></g><g class="node default" id="my-svg-flowchart-Route-1" data-look="classic" transform="translate(324.9453125, 93)"><rect class="basic label-container" style="" x="-102.9296875" y="-39" width="205.859375" height="78"/><g class="label" style="" transform="translate(-72.9296875, -24)"><rect/><foreignObject width="145.859375" height="48"><div xmlns="http://www.w3.org/1999/xhtml" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="nodeLabel"><p>Next.js Route<br />/v1/chat/completions</p></span></div></foreignObject></g></g><g class="node default" id="my-svg-flowchart-CORS-3" data-look="classic" transform="translate(561.671875, 93)"><rect class="basic label-container" style="" x="-83.796875" y="-27" width="167.59375" height="54"/><g class="label" style="" transform="translate(-53.796875, -12)"><rect/><foreignObject width="107.59375" height="24"><div xmlns="http://www.w3.org/1999/xhtml" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="nodeLabel"><p>CORS preflight</p></span></div></foreignObject></g></g><g class="node default" id="my-svg-flowchart-Validate-5" data-look="classic" transform="translate(777.0546875, 93)"><rect class="basic label-container" style="" x="-81.5859375" y="-39" width="163.171875" height="78"/><g class="label" style="" transform="translate(-51.5859375, -24)"><rect/><foreignObject width="103.171875" height="48"><div xmlns="http://www.w3.org/1999/xhtml" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="nodeLabel"><p>Zod validation<br />(request body)</p></span></div></foreignObject></g></g><g class="node default" id="my-svg-flowchart-Authz-7" data-look="classic" transform="translate(997.5546875, 93)"><rect class="basic label-container" style="" x="-88.9140625" y="-51" width="177.828125" height="102"/><g class="label" style="" transform="translate(-58.9140625, -36)"><rect/><foreignObject width="117.828125" height="72"><div xmlns="http://www.w3.org/1999/xhtml" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="nodeLabel"><p>AuthZ pipeline<br />(extractApiKey +<br />isValidApiKey)</p></span></div></foreignObject></g></g><g class="node default" id="my-svg-flowchart-Policy-9" data-look="classic" transform="translate(1234.2734375, 93)"><rect class="basic label-container" style="" x="-97.8046875" y="-39" width="195.609375" height="78"/><g class="label" style="" transform="translate(-67.8046875, -24)"><rect/><foreignObject width="135.609375" height="48"><div xmlns="http://www.w3.org/1999/xhtml" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="nodeLabel"><p>API key policy<br />(allowlist + scopes)</p></span></div></foreignObject></g></g><g class="node default" id="my-svg-flowchart-Guard-11" data-look="classic" transform="translate(1469.8828125, 93)"><rect class="basic label-container" style="" x="-87.8046875" y="-39" width="175.609375" height="78"/><g class="label" style="" transform="translate(-57.8046875, -24)"><rect/><foreignObject width="115.609375" height="48"><div xmlns="http://www.w3.org/1999/xhtml" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="nodeLabel"><p>Prompt-injection<br />guardrail</p></span></div></foreignObject></g></g><g class="node default" id="my-svg-flowchart-ChatCore-13" data-look="classic" transform="translate(1695.953125, 93)"><rect class="basic label-container" style="" x="-88.265625" y="-27" width="176.53125" height="54"/><g class="label" style="" transform="translate(-58.265625, -12)"><rect/><foreignObject width="116.53125" height="24"><div xmlns="http://www.w3.org/1999/xhtml" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="nodeLabel"><p>handleChatCore</p></span></div></foreignObject></g></g><g class="node default" id="my-svg-flowchart-Cache-15" data-look="classic" transform="translate(1899.46875, 93)"><polygon points="65.25,0 130.5,-65.25 65.25,-130.5 0,-65.25" class="label-container" transform="translate(-64.75, 65.25)"/><g class="label" style="" transform="translate(-38.25, -12)"><rect/><foreignObject width="76.5" height="24"><div xmlns="http://www.w3.org/1999/xhtml" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="nodeLabel"><p>Cache hit?</p></span></div></foreignObject></g></g><g class="node default" id="my-svg-flowchart-Return-17" data-look="classic" transform="translate(2127.265625, 35)"><rect class="basic label-container" style="" x="-82.03125" y="-27" width="164.0625" height="54"/><g class="label" style="" transform="translate(-52.03125, -12)"><rect/><foreignObject width="104.0625" height="24"><div xmlns="http://www.w3.org/1999/xhtml" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="nodeLabel"><p>Return cached</p></span></div></foreignObject></g></g><g class="node default" id="my-svg-flowchart-Rate-19" data-look="classic" transform="translate(2127.265625, 151)"><rect class="basic label-container" style="" x="-87.640625" y="-39" width="175.28125" height="78"/><g class="label" style="" transform="translate(-57.640625, -24)"><rect/><foreignObject width="115.28125" height="48"><div xmlns="http://www.w3.org/1999/xhtml" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="nodeLabel"><p>Rate limit<br />(per-key, per-IP)</p></span></div></foreignObject></g></g><g class="node default" id="my-svg-flowchart-Combo-21" data-look="classic" transform="translate(2329.6953125, 151)"><polygon points="64.7890625,0 129.578125,-64.7890625 64.7890625,-129.578125 0,-64.7890625" class="label-container" transform="translate(-64.2890625, 64.7890625)"/><g class="label" style="" transform="translate(-25.7890625, -24)"><rect/><foreignObject width="51.578125" height="48"><div xmlns="http://www.w3.org/1999/xhtml" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="nodeLabel"><p>Combo<br />target?</p></span></div></foreignObject></g></g><g class="node default" id="my-svg-flowchart-Resolve-23" data-look="classic" transform="translate(2600.328125, 108)"><rect class="basic label-container" style="" x="-107.8125" y="-39" width="215.625" height="78"/><g class="label" style="" transform="translate(-77.8125, -24)"><rect/><foreignObject width="155.625" height="48"><div xmlns="http://www.w3.org/1999/xhtml" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="nodeLabel"><p>resolveComboTargets<br />(14 strategies)</p></span></div></foreignObject></g></g><g class="node default" id="my-svg-flowchart-Single-25" data-look="classic" transform="translate(2856.1953125, 151)"><rect class="basic label-container" style="" x="-98.0546875" y="-39" width="196.109375" height="78"/><g class="label" style="" transform="translate(-68.0546875, -24)"><rect/><foreignObject width="136.109375" height="48"><div xmlns="http://www.w3.org/1999/xhtml" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="nodeLabel"><p>handleSingleModel<br />(per target)</p></span></div></foreignObject></g></g><g class="node default" id="my-svg-flowchart-Translate-29" data-look="classic" transform="translate(3133.3984375, 151)"><rect class="basic label-container" style="" x="-129.1484375" y="-39" width="258.296875" height="78"/><g class="label" style="" transform="translate(-99.1484375, -24)"><rect/><foreignObject width="198.296875" height="48"><div xmlns="http://www.w3.org/1999/xhtml" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="nodeLabel"><p>translateRequest<br />(OpenAI↔Claude↔Gemini)</p></span></div></foreignObject></g></g><g class="node default" id="my-svg-flowchart-Exec-31" data-look="classic" transform="translate(3393.6796875, 151)"><rect class="basic label-container" style="" x="-81.1328125" y="-39" width="162.265625" height="78"/><g class="label" style="" transform="translate(-51.1328125, -24)"><rect/><foreignObject width="102.265625" height="48"><div xmlns="http://www.w3.org/1999/xhtml" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="nodeLabel"><p>getExecutor<br />(31 executors)</p></span></div></foreignObject></g></g><g class="node default" id="my-svg-flowchart-Upstream-33" data-look="classic" transform="translate(3621.5, 151)"><rect class="basic label-container" style="" x="-96.6875" y="-39" width="193.375" height="78"/><g class="label" style="" transform="translate(-66.6875, -24)"><rect/><foreignObject width="133.375" height="48"><div xmlns="http://www.w3.org/1999/xhtml" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="nodeLabel"><p>Upstream Provider<br />(177 providers)</p></span></div></foreignObject></g></g><g class="node default" id="my-svg-flowchart-Stream-35" data-look="classic" transform="translate(3842.203125, 151)"><rect class="basic label-container" style="" x="-74.015625" y="-27" width="148.03125" height="54"/><g class="label" style="" transform="translate(-44.015625, -12)"><rect/><foreignObject width="88.03125" height="24"><div xmlns="http://www.w3.org/1999/xhtml" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="nodeLabel"><p>SSE / JSON</p></span></div></foreignObject></g></g><g class="node default" id="my-svg-flowchart-Transformer-37" data-look="classic" transform="translate(4076.3984375, 201.125)"><rect class="basic label-container" style="" x="-110.1796875" y="-39" width="220.359375" height="78"/><g class="label" style="" transform="translate(-80.1796875, -24)"><rect/><foreignObject width="160.359375" height="48"><div xmlns="http://www.w3.org/1999/xhtml" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="nodeLabel"><p>responsesTransformer<br />(Responses↔Chat)</p></span></div></foreignObject></g></g></g></g></g><defs><filter id="my-svg-drop-shadow" height="130%" width="130%"><feDropShadow dx="4" dy="4" stdDeviation="0" flood-opacity="0.06" flood-color="#000000"/></filter></defs><defs><filter id="my-svg-drop-shadow-small" height="150%" width="150%"><feDropShadow dx="2" dy="2" stdDeviation="0" flood-opacity="0.06" flood-color="#000000"/></filter></defs></svg>\ No newline at end of filediff --git a/docs/diagrams/exported/resilience-3layers.svg b/docs/diagrams/exported/resilience-3layers.svgnew file mode 100644index 0000000000..b1804b1da2--- /dev/null+++ b/docs/diagrams/exported/resilience-3layers.svg@@ -0,0 +1 @@+<svg id="my-svg" width="100%" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" class="flowchart" style="max-width: 1081.95px; background-color: white;" viewBox="0 0 1081.953125 1458.59375" role="graphics-document document" aria-roledescription="flowchart-v2"><style>#my-svg{font-family:"trebuchet ms",verdana,arial,sans-serif;font-size:16px;fill:#333;}@keyframes edge-animation-frame{from{stroke-dashoffset:0;}}@keyframes dash{to{stroke-dashoffset:0;}}#my-svg .edge-animation-slow{stroke-dasharray:9,5!important;stroke-dashoffset:900;animation:dash 50s linear infinite;stroke-linecap:round;}#my-svg .edge-animation-fast{stroke-dasharray:9,5!important;stroke-dashoffset:900;animation:dash 20s linear infinite;stroke-linecap:round;}#my-svg .error-icon{fill:#552222;}#my-svg .error-text{fill:#552222;stroke:#552222;}#my-svg .edge-thickness-normal{stroke-width:1px;}#my-svg .edge-thickness-thick{stroke-width:3.5px;}#my-svg .edge-pattern-solid{stroke-dasharray:0;}#my-svg .edge-thickness-invisible{stroke-width:0;fill:none;}#my-svg .edge-pattern-dashed{stroke-dasharray:3;}#my-svg .edge-pattern-dotted{stroke-dasharray:2;}#my-svg .marker{fill:#333333;stroke:#333333;}#my-svg .marker.cross{stroke:#333333;}#my-svg svg{font-family:"trebuchet ms",verdana,arial,sans-serif;font-size:16px;}#my-svg p{margin:0;}#my-svg .label{font-family:"trebuchet ms",verdana,arial,sans-serif;color:#333;}#my-svg .cluster-label text{fill:#333;}#my-svg .cluster-label span{color:#333;}#my-svg .cluster-label span p{background-color:transparent;}#my-svg .label text,#my-svg span{fill:#333;color:#333;}#my-svg .node rect,#my-svg .node circle,#my-svg .node ellipse,#my-svg .node polygon,#my-svg .node path{fill:#ECECFF;stroke:#9370DB;stroke-width:1px;}#my-svg .rough-node .label text,#my-svg .node .label text,#my-svg .image-shape .label,#my-svg .icon-shape .label{text-anchor:middle;}#my-svg .node .katex path{fill:#000;stroke:#000;stroke-width:1px;}#my-svg .rough-node .label,#my-svg .node .label,#my-svg .image-shape .label,#my-svg .icon-shape .label{text-align:center;}#my-svg .node.clickable{cursor:pointer;}#my-svg .root .anchor path{fill:#333333!important;stroke-width:0;stroke:#333333;}#my-svg .arrowheadPath{fill:#333333;}#my-svg .edgePath .path{stroke:#333333;stroke-width:1px;}#my-svg .flowchart-link{stroke:#333333;fill:none;}#my-svg .edgeLabel{background-color:rgba(232,232,232, 0.8);text-align:center;}#my-svg .edgeLabel p{background-color:rgba(232,232,232, 0.8);}#my-svg .edgeLabel rect{opacity:0.5;background-color:rgba(232,232,232, 0.8);fill:rgba(232,232,232, 0.8);}#my-svg .labelBkg{background-color:rgba(232, 232, 232, 0.5);}#my-svg .cluster rect{fill:#ffffde;stroke:#aaaa33;stroke-width:1px;}#my-svg .cluster text{fill:#333;}#my-svg .cluster span{color:#333;}#my-svg div.mermaidTooltip{position:absolute;text-align:center;max-width:200px;padding:2px;font-family:"trebuchet ms",verdana,arial,sans-serif;font-size:12px;background:hsl(80, 100%, 96.2745098039%);border:1px solid #aaaa33;border-radius:2px;pointer-events:none;z-index:100;}#my-svg .flowchartTitleText{text-anchor:middle;font-size:18px;fill:#333;}#my-svg rect.text{fill:none;stroke-width:0;}#my-svg .icon-shape,#my-svg .image-shape{background-color:rgba(232,232,232, 0.8);text-align:center;}#my-svg .icon-shape p,#my-svg .image-shape p{background-color:rgba(232,232,232, 0.8);padding:2px;}#my-svg .icon-shape .label rect,#my-svg .image-shape .label rect{opacity:0.5;background-color:rgba(232,232,232, 0.8);fill:rgba(232,232,232, 0.8);}#my-svg .label-icon{display:inline-block;height:1em;overflow:visible;vertical-align:-0.125em;}#my-svg .node .label-icon path{fill:currentColor;stroke:revert;stroke-width:revert;}#my-svg .node .neo-node{stroke:#9370DB;}#my-svg [data-look="neo"].node rect,#my-svg [data-look="neo"].cluster rect,#my-svg [data-look="neo"].node polygon{stroke:#9370DB;filter:drop-shadow(1px 2px 2px rgba(185, 185, 185, 1));}#my-svg [data-look="neo"].node path{stroke:#9370DB;stroke-width:1px;}#my-svg [data-look="neo"].node .outer-path{filter:drop-shadow(1px 2px 2px rgba(185, 185, 185, 1));}#my-svg [data-look="neo"].node .neo-line path{stroke:#9370DB;filter:none;}#my-svg [data-look="neo"].node circle{stroke:#9370DB;filter:drop-shadow(1px 2px 2px rgba(185, 185, 185, 1));}#my-svg [data-look="neo"].node circle .state-start{fill:#000000;}#my-svg [data-look="neo"].icon-shape .icon{fill:#9370DB;filter:drop-shadow(1px 2px 2px rgba(185, 185, 185, 1));}#my-svg [data-look="neo"].icon-shape .icon-neo path{stroke:#9370DB;filter:drop-shadow(1px 2px 2px rgba(185, 185, 185, 1));}#my-svg :root{--mermaid-font-family:"trebuchet ms",verdana,arial,sans-serif;}</style><g><marker id="my-svg_flowchart-v2-pointEnd" class="marker flowchart-v2" viewBox="0 0 10 10" refX="5" refY="5" markerUnits="userSpaceOnUse" markerWidth="8" markerHeight="8" orient="auto"><path d="M 0 0 L 10 5 L 0 10 z" class="arrowMarkerPath" style="stroke-width: 1; stroke-dasharray: 1, 0;"/></marker><marker id="my-svg_flowchart-v2-pointStart" class="marker flowchart-v2" viewBox="0 0 10 10" refX="4.5" refY="5" markerUnits="userSpaceOnUse" markerWidth="8" markerHeight="8" orient="auto"><path d="M 0 5 L 10 10 L 10 0 z" class="arrowMarkerPath" style="stroke-width: 1; stroke-dasharray: 1, 0;"/></marker><marker id="my-svg_flowchart-v2-pointEnd-margin" class="marker flowchart-v2" viewBox="0 0 11.5 14" refX="11.5" refY="7" markerUnits="userSpaceOnUse" markerWidth="10.5" markerHeight="14" orient="auto"><path d="M 0 0 L 11.5 7 L 0 14 z" class="arrowMarkerPath" style="stroke-width: 0; stroke-dasharray: 1, 0;"/></marker><marker id="my-svg_flowchart-v2-pointStart-margin" class="marker flowchart-v2" viewBox="0 0 11.5 14" refX="1" refY="7" markerUnits="userSpaceOnUse" markerWidth="11.5" markerHeight="14" orient="auto"><polygon points="0,7 11.5,14 11.5,0" class="arrowMarkerPath" style="stroke-width: 0; stroke-dasharray: 1, 0;"/></marker><marker id="my-svg_flowchart-v2-circleEnd" class="marker flowchart-v2" viewBox="0 0 10 10" refX="11" refY="5" markerUnits="userSpaceOnUse" markerWidth="11" markerHeight="11" orient="auto"><circle cx="5" cy="5" r="5" class="arrowMarkerPath" style="stroke-width: 1; stroke-dasharray: 1, 0;"/></marker><marker id="my-svg_flowchart-v2-circleStart" class="marker flowchart-v2" viewBox="0 0 10 10" refX="-1" refY="5" markerUnits="userSpaceOnUse" markerWidth="11" markerHeight="11" orient="auto"><circle cx="5" cy="5" r="5" class="arrowMarkerPath" style="stroke-width: 1; stroke-dasharray: 1, 0;"/></marker><marker id="my-svg_flowchart-v2-circleEnd-margin" class="marker flowchart-v2" viewBox="0 0 10 10" refY="5" refX="12.25" markerUnits="userSpaceOnUse" markerWidth="14" markerHeight="14" orient="auto"><circle cx="5" cy="5" r="5" class="arrowMarkerPath" style="stroke-width: 0; stroke-dasharray: 1, 0;"/></marker><marker id="my-svg_flowchart-v2-circleStart-margin" class="marker flowchart-v2" viewBox="0 0 10 10" refX="-2" refY="5" markerUnits="userSpaceOnUse" markerWidth="14" markerHeight="14" orient="auto"><circle cx="5" cy="5" r="5" class="arrowMarkerPath" style="stroke-width: 0; stroke-dasharray: 1, 0;"/></marker><marker id="my-svg_flowchart-v2-crossEnd" class="marker cross flowchart-v2" viewBox="0 0 11 11" refX="12" refY="5.2" markerUnits="userSpaceOnUse" markerWidth="11" markerHeight="11" orient="auto"><path d="M 1,1 l 9,9 M 10,1 l -9,9" class="arrowMarkerPath" style="stroke-width: 2; stroke-dasharray: 1, 0;"/></marker><marker id="my-svg_flowchart-v2-crossStart" class="marker cross flowchart-v2" viewBox="0 0 11 11" refX="-1" refY="5.2" markerUnits="userSpaceOnUse" markerWidth="11" markerHeight="11" orient="auto"><path d="M 1,1 l 9,9 M 10,1 l -9,9" class="arrowMarkerPath" style="stroke-width: 2; stroke-dasharray: 1, 0;"/></marker><marker id="my-svg_flowchart-v2-crossEnd-margin" class="marker cross flowchart-v2" viewBox="0 0 15 15" refX="17.7" refY="7.5" markerUnits="userSpaceOnUse" markerWidth="12" markerHeight="12" orient="auto"><path d="M 1,1 L 14,14 M 1,14 L 14,1" class="arrowMarkerPath" style="stroke-width: 2.5;"/></marker><marker id="my-svg_flowchart-v2-crossStart-margin" class="marker cross flowchart-v2" viewBox="0 0 15 15" refX="-3.5" refY="7.5" markerUnits="userSpaceOnUse" markerWidth="12" markerHeight="12" orient="auto"><path d="M 1,1 L 14,14 M 1,14 L 14,1" class="arrowMarkerPath" style="stroke-width: 2.5; stroke-dasharray: 1, 0;"/></marker><g class="root"><g class="clusters"/><g class="edgePaths"><path d="M751.867,62L751.867,66.167C751.867,70.333,751.867,78.667,751.867,86.333C751.867,94,751.867,101,751.867,104.5L751.867,108" id="my-svg-L_Req_L1_0" class="edge-thickness-normal edge-pattern-solid edge-thickness-normal edge-pattern-solid flowchart-link" style=";" data-edge="true" data-et="edge" data-id="L_Req_L1_0" data-points="W3sieCI6NzUxLjg2NzE4NzUsInkiOjYyfSx7IngiOjc1MS44NjcxODc1LCJ5Ijo4N30seyJ4Ijo3NTEuODY3MTg3NSwieSI6MTEyfV0=" data-look="classic" marker-end="url(#my-svg_flowchart-v2-pointEnd)"/><path d="M751.867,359.828L751.867,365.995C751.867,372.161,751.867,384.495,751.867,403.328C751.867,422.161,751.867,447.495,751.867,470.828C751.867,494.161,751.867,515.495,756.538,536.417C761.208,557.339,770.548,577.849,775.219,588.104L779.889,598.36" id="my-svg-L_L1_L2_0" class="edge-thickness-normal edge-pattern-solid edge-thickness-normal edge-pattern-solid flowchart-link" style=";" data-edge="true" data-et="edge" data-id="L_L1_L2_0" data-points="W3sieCI6NzUxLjg2NzE4NzUsInkiOjM1OS44MjgxMjV9LHsieCI6NzUxLjg2NzE4NzUsInkiOjM5Ni44MjgxMjV9LHsieCI6NzUxLjg2NzE4NzUsInkiOjQ3Mi44MjgxMjV9LHsieCI6NzUxLjg2NzE4NzUsInkiOjUzNi44MjgxMjV9LHsieCI6NzgxLjU0Njg5MDAzNzcwOTEsInkiOjYwMS45OTk5ODQ5NjIyOTA5fV0=" data-look="classic" marker-end="url(#my-svg_flowchart-v2-pointEnd)"/><path d="M689.548,297.509L672.801,314.062C656.053,330.616,622.558,363.722,605.81,385.775C589.063,407.828,589.063,418.828,589.063,424.328L589.063,429.828" id="my-svg-L_L1_Block1_0" class="edge-thickness-normal edge-pattern-solid edge-thickness-normal edge-pattern-solid flowchart-link" style=";" data-edge="true" data-et="edge" data-id="L_L1_Block1_0" data-points="W3sieCI6Njg5LjU0ODMwNjYxMjkwOTEsInkiOjI5Ny41MDkyNDQxMTI5MDkxfSx7IngiOjU4OS4wNjI1LCJ5IjozOTYuODI4MTI1fSx7IngiOjU4OS4wNjI1LCJ5Ijo0MzMuODI4MTI1fV0=" data-look="classic" marker-end="url(#my-svg_flowchart-v2-pointEnd)"/><path d="M809.453,302.243L823.139,318.007C836.825,333.771,864.198,365.3,877.884,388.564C891.57,411.828,891.57,426.828,891.57,434.328L891.57,441.828" id="my-svg-L_L1_Probe_0" class="edge-thickness-normal edge-pattern-solid edge-thickness-normal edge-pattern-solid flowchart-link" style=";" data-edge="true" data-et="edge" data-id="L_L1_Probe_0" data-points="W3sieCI6ODA5LjQ1MjY1NjYwMzI3NzEsInkiOjMwMi4yNDI2NTU4OTY3MjI5fSx7IngiOjg5MS41NzAzMTI1LCJ5IjozOTYuODI4MTI1fSx7IngiOjg5MS41NzAzMTI1LCJ5Ijo0NDUuODI4MTI1fV0=" data-look="classic" marker-end="url(#my-svg_flowchart-v2-pointEnd)"/><path d="M891.57,499.828L891.57,505.995C891.57,512.161,891.57,524.495,886.9,540.917C882.23,557.339,872.889,577.849,868.219,588.104L863.548,598.36" id="my-svg-L_Probe_L2_0" class="edge-thickness-normal edge-pattern-solid edge-thickness-normal edge-pattern-solid flowchart-link" style=";" data-edge="true" data-et="edge" data-id="L_Probe_L2_0" data-points="W3sieCI6ODkxLjU3MDMxMjUsInkiOjQ5OS44MjgxMjV9LHsieCI6ODkxLjU3MDMxMjUsInkiOjUzNi44MjgxMjV9LHsieCI6ODYxLjg5MDYwOTk2MjI5MDksInkiOjYwMS45OTk5ODQ5NjIyOTA5fV0=" data-look="classic" marker-end="url(#my-svg_flowchart-v2-pointEnd)"/><path d="M760.429,757.304L745.464,773.686C730.499,790.067,700.57,822.83,685.605,844.712C670.641,866.594,670.641,877.594,670.641,883.094L670.641,888.594" id="my-svg-L_L2_L3_0" class="edge-thickness-normal edge-pattern-solid edge-thickness-normal edge-pattern-solid flowchart-link" style=";" data-edge="true" data-et="edge" data-id="L_L2_L3_0" data-points="W3sieCI6NzYwLjQyODkyNzc5MzM0NDMsInkiOjc1Ny4zMDM5Mjc3OTMzNDQzfSx7IngiOjY3MC42NDA2MjUsInkiOjg1NS41OTM3NX0seyJ4Ijo2NzAuNjQwNjI1LCJ5Ijo4OTIuNTkzNzV9XQ==" data-look="classic" marker-end="url(#my-svg_flowchart-v2-pointEnd)"/><path d="M883.009,757.304L897.973,773.686C912.938,790.067,942.867,822.83,957.832,863.379C972.797,903.927,972.797,952.26,972.797,976.427L972.797,1000.594" id="my-svg-L_L2_Skip2_0" class="edge-thickness-normal edge-pattern-solid edge-thickness-normal edge-pattern-solid flowchart-link" style=";" data-edge="true" data-et="edge" data-id="L_L2_Skip2_0" data-points="W3sieCI6ODgzLjAwODU3MjIwNjY1NTcsInkiOjc1Ny4zMDM5Mjc3OTMzNDQzfSx7IngiOjk3Mi43OTY4NzUsInkiOjg1NS41OTM3NX0seyJ4Ijo5NzIuNzk2ODc1LCJ5IjoxMDA0LjU5Mzc1fV0=" data-look="classic" marker-end="url(#my-svg_flowchart-v2-pointEnd)"/><path d="M608.14,1132.093L596.429,1148.677C584.717,1165.26,561.294,1198.427,549.583,1220.51C537.871,1242.594,537.871,1253.594,537.871,1259.094L537.871,1264.594" id="my-svg-L_L3_Exec_0" class="edge-thickness-normal edge-pattern-solid edge-thickness-normal edge-pattern-solid flowchart-link" style=";" data-edge="true" data-et="edge" data-id="L_L3_Exec_0" data-points="W3sieCI6NjA4LjE0MDMwMjI4OTcyMDgsInkiOjExMzIuMDkzNDI3Mjg5NzIwN30seyJ4Ijo1MzcuODcxMDkzNzUsInkiOjEyMzEuNTkzNzV9LHsieCI6NTM3Ljg3MTA5Mzc1LCJ5IjoxMjY4LjU5Mzc1fV0=" data-look="classic" marker-end="url(#my-svg_flowchart-v2-pointEnd)"/><path d="M730.645,1134.589L741.307,1150.756C751.968,1166.924,773.291,1199.259,783.952,1220.926C794.613,1242.594,794.613,1253.594,794.613,1259.094L794.613,1264.594" id="my-svg-L_L3_Skip3_0" class="edge-thickness-normal edge-pattern-solid edge-thickness-normal edge-pattern-solid flowchart-link" style=";" data-edge="true" data-et="edge" data-id="L_L3_Skip3_0" data-points="W3sieCI6NzMwLjY0NTQ3MDY3NzA4MDEsInkiOjExMzQuNTg4OTA0MzIyOTJ9LHsieCI6Nzk0LjYxMzI4MTI1LCJ5IjoxMjMxLjU5Mzc1fSx7IngiOjc5NC42MTMyODEyNSwieSI6MTI2OC41OTM3NX1d" data-look="classic" marker-end="url(#my-svg_flowchart-v2-pointEnd)"/><path d="M443.395,1310.372L390.947,1318.575C338.5,1326.779,233.605,1343.186,181.158,1356.89C128.711,1370.594,128.711,1381.594,128.711,1387.094L128.711,1392.594" id="my-svg-L_Exec_Clear_0" class="edge-thickness-normal edge-pattern-solid edge-thickness-normal edge-pattern-solid flowchart-link" style=";" data-edge="true" data-et="edge" data-id="L_Exec_Clear_0" data-points="W3sieCI6NDQzLjM5NDUzMTI1LCJ5IjoxMzEwLjM3MTU4MTg3NzQxNjV9LHsieCI6MTI4LjcxMDkzNzUsInkiOjEzNTkuNTkzNzV9LHsieCI6MTI4LjcxMDkzNzUsInkiOjEzOTYuNTkzNzV9XQ==" data-look="classic" marker-end="url(#my-svg_flowchart-v2-pointEnd)"/><path d="M481.131,1322.594L468.171,1328.76C455.212,1334.927,429.294,1347.26,416.334,1358.927C403.375,1370.594,403.375,1381.594,403.375,1387.094L403.375,1392.594" id="my-svg-L_Exec_TripL1_0" class="edge-thickness-normal edge-pattern-solid edge-thickness-normal edge-pattern-solid flowchart-link" style=";" data-edge="true" data-et="edge" data-id="L_Exec_TripL1_0" data-points="W3sieCI6NDgxLjEzMDU1NDE5OTIxODc1LCJ5IjoxMzIyLjU5Mzc1fSx7IngiOjQwMy4zNzUsInkiOjEzNTkuNTkzNzV9LHsieCI6NDAzLjM3NSwieSI6MTM5Ni41OTM3NX1d" data-look="classic" marker-end="url(#my-svg_flowchart-v2-pointEnd)"/><path d="M598.323,1322.594L612.13,1328.76C625.937,1334.927,653.55,1347.26,667.357,1358.927C681.164,1370.594,681.164,1381.594,681.164,1387.094L681.164,1392.594" id="my-svg-L_Exec_TripL2_0" class="edge-thickness-normal edge-pattern-solid edge-thickness-normal edge-pattern-solid flowchart-link" style=";" data-edge="true" data-et="edge" data-id="L_Exec_TripL2_0" data-points="W3sieCI6NTk4LjMyMjgxNDk0MTQwNjIsInkiOjEzMjIuNTkzNzV9LHsieCI6NjgxLjE2NDA2MjUsInkiOjEzNTkuNTkzNzV9LHsieCI6NjgxLjE2NDA2MjUsInkiOjEzOTYuNTkzNzV9XQ==" data-look="classic" marker-end="url(#my-svg_flowchart-v2-pointEnd)"/><path d="M632.348,1310.142L685.869,1318.384C739.391,1326.626,846.434,1343.11,899.955,1356.852C953.477,1370.594,953.477,1381.594,953.477,1387.094L953.477,1392.594" id="my-svg-L_Exec_TripL3_0" class="edge-thickness-normal edge-pattern-solid edge-thickness-normal edge-pattern-solid flowchart-link" style=";" data-edge="true" data-et="edge" data-id="L_Exec_TripL3_0" data-points="W3sieCI6NjMyLjM0NzY1NjI1LCJ5IjoxMzEwLjE0MjQwMzYwMjE0Mjh9LHsieCI6OTUzLjQ3NjU2MjUsInkiOjEzNTkuNTkzNzV9LHsieCI6OTUzLjQ3NjU2MjUsInkiOjEzOTYuNTkzNzV9XQ==" data-look="classic" marker-end="url(#my-svg_flowchart-v2-pointEnd)"/></g><g class="edgeLabels"><g class="edgeLabel"><g class="label" data-id="L_Req_L1_0" transform="translate(0, 0)"><foreignObject width="0" height="0"><div xmlns="http://www.w3.org/1999/xhtml" class="labelBkg" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="edgeLabel"></span></div></foreignObject></g></g><g class="edgeLabel" transform="translate(751.8671875, 472.828125)"><g class="label" data-id="L_L1_L2_0" transform="translate(-32.8984375, -12)"><foreignObject width="65.796875" height="24"><div xmlns="http://www.w3.org/1999/xhtml" class="labelBkg" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="edgeLabel"><p>CLOSED</p></span></div></foreignObject></g></g><g class="edgeLabel" transform="translate(589.0625, 396.828125)"><g class="label" data-id="L_L1_Block1_0" transform="translate(-22.671875, -12)"><foreignObject width="45.34375" height="24"><div xmlns="http://www.w3.org/1999/xhtml" class="labelBkg" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="edgeLabel"><p>OPEN</p></span></div></foreignObject></g></g><g class="edgeLabel" transform="translate(891.5703125, 396.828125)"><g class="label" data-id="L_L1_Probe_0" transform="translate(-47.5703125, -12)"><foreignObject width="95.140625" height="24"><div xmlns="http://www.w3.org/1999/xhtml" class="labelBkg" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="edgeLabel"><p>HALF_OPEN</p></span></div></foreignObject></g></g><g class="edgeLabel"><g class="label" data-id="L_Probe_L2_0" transform="translate(0, 0)"><foreignObject width="0" height="0"><div xmlns="http://www.w3.org/1999/xhtml" class="labelBkg" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="edgeLabel"></span></div></foreignObject></g></g><g class="edgeLabel" transform="translate(670.640625, 855.59375)"><g class="label" data-id="L_L2_L3_0" transform="translate(-31.578125, -12)"><foreignObject width="63.15625" height="24"><div xmlns="http://www.w3.org/1999/xhtml" class="labelBkg" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="edgeLabel"><p>available</p></span></div></foreignObject></g></g><g class="edgeLabel" transform="translate(972.796875, 855.59375)"><g class="label" data-id="L_L2_Skip2_0" transform="translate(-46.703125, -12)"><foreignObject width="93.40625" height="24"><div xmlns="http://www.w3.org/1999/xhtml" class="labelBkg" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="edgeLabel"><p>cooling down</p></span></div></foreignObject></g></g><g class="edgeLabel" transform="translate(537.87109375, 1231.59375)"><g class="label" data-id="L_L3_Exec_0" transform="translate(-27.1328125, -12)"><foreignObject width="54.265625" height="24"><div xmlns="http://www.w3.org/1999/xhtml" class="labelBkg" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="edgeLabel"><p>allowed</p></span></div></foreignObject></g></g><g class="edgeLabel" transform="translate(794.61328125, 1231.59375)"><g class="label" data-id="L_L3_Skip3_0" transform="translate(-23.125, -12)"><foreignObject width="46.25" height="24"><div xmlns="http://www.w3.org/1999/xhtml" class="labelBkg" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="edgeLabel"><p>locked</p></span></div></foreignObject></g></g><g class="edgeLabel" transform="translate(128.7109375, 1359.59375)"><g class="label" data-id="L_Exec_Clear_0" transform="translate(-28.8984375, -12)"><foreignObject width="57.796875" height="24"><div xmlns="http://www.w3.org/1999/xhtml" class="labelBkg" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="edgeLabel"><p>success</p></span></div></foreignObject></g></g><g class="edgeLabel" transform="translate(403.375, 1359.59375)"><g class="label" data-id="L_Exec_TripL1_0" transform="translate(-93.4140625, -12)"><foreignObject width="186.828125" height="24"><div xmlns="http://www.w3.org/1999/xhtml" class="labelBkg" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="edgeLabel"><p>408 / 500 / 502 / 503 / 504</p></span></div></foreignObject></g></g><g class="edgeLabel" transform="translate(681.1640625, 1359.59375)"><g class="label" data-id="L_Exec_TripL2_0" transform="translate(-68.9375, -12)"><foreignObject width="137.875" height="24"><div xmlns="http://www.w3.org/1999/xhtml" class="labelBkg" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="edgeLabel"><p>401 / 403 (account)</p></span></div></foreignObject></g></g><g class="edgeLabel" transform="translate(953.4765625, 1359.59375)"><g class="label" data-id="L_Exec_TripL3_0" transform="translate(-64.9296875, -12)"><foreignObject width="129.859375" height="24"><div xmlns="http://www.w3.org/1999/xhtml" class="labelBkg" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="edgeLabel"><p>429 quota (model)</p></span></div></foreignObject></g></g></g><g class="nodes"><g class="node default" id="my-svg-flowchart-Req-0" data-look="classic" transform="translate(751.8671875, 35)"><rect class="basic label-container" style="" x="-59.796875" y="-27" width="119.59375" height="54"/><g class="label" style="" transform="translate(-29.796875, -12)"><rect/><foreignObject width="59.59375" height="24"><div xmlns="http://www.w3.org/1999/xhtml" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="nodeLabel"><p>Request</p></span></div></foreignObject></g></g><g class="node default" id="my-svg-flowchart-L1-1" data-look="classic" transform="translate(751.8671875, 235.9140625)"><polygon points="123.9140625,0 247.828125,-123.9140625 123.9140625,-247.828125 0,-123.9140625" class="label-container" transform="translate(-123.4140625, 123.9140625)"/><g class="label" style="" transform="translate(-84.9140625, -24)"><rect/><foreignObject width="169.828125" height="48"><div xmlns="http://www.w3.org/1999/xhtml" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="nodeLabel"><p>Provider Circuit Breaker<br />(scope: whole provider)</p></span></div></foreignObject></g></g><g class="node default" id="my-svg-flowchart-L2-3" data-look="classic" transform="translate(821.71875, 690.2109375)"><polygon points="128.3828125,0 256.765625,-128.3828125 128.3828125,-256.765625 0,-128.3828125" class="label-container" transform="translate(-127.8828125, 128.3828125)"/><g class="label" style="" transform="translate(-89.3828125, -24)"><rect/><foreignObject width="178.765625" height="48"><div xmlns="http://www.w3.org/1999/xhtml" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="nodeLabel"><p>Connection Cooldown<br />(scope: one account/key)</p></span></div></foreignObject></g></g><g class="node default" id="my-svg-flowchart-Block1-5" data-look="classic" transform="translate(589.0625, 472.828125)"><rect class="basic label-container" style="" x="-94.90625" y="-39" width="189.8125" height="78"/><g class="label" style="" transform="translate(-64.90625, -24)"><rect/><foreignObject width="129.8125" height="48"><div xmlns="http://www.w3.org/1999/xhtml" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="nodeLabel"><p>Skip provider<br />(or 503 retry-after)</p></span></div></foreignObject></g></g><g class="node default" id="my-svg-flowchart-Probe-7" data-look="classic" transform="translate(891.5703125, 472.828125)"><rect class="basic label-container" style="" x="-71.8046875" y="-27" width="143.609375" height="54"/><g class="label" style="" transform="translate(-41.8046875, -12)"><rect/><foreignObject width="83.609375" height="24"><div xmlns="http://www.w3.org/1999/xhtml" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="nodeLabel"><p>Allow probe</p></span></div></foreignObject></g></g><g class="node default" id="my-svg-flowchart-L3-11" data-look="classic" transform="translate(670.640625, 1043.59375)"><polygon points="151,0 302,-151 151,-302 0,-151" class="label-container" transform="translate(-150.5, 151)"/><g class="label" style="" transform="translate(-100, -36)"><rect/><foreignObject width="200" height="72"><div xmlns="http://www.w3.org/1999/xhtml" style="display: table; white-space: break-spaces; line-height: 1.5; max-width: 200px; text-align: center; width: 200px;"><span class="nodeLabel"><p>Model Lockout<br />(scope: provider × conn × model)</p></span></div></foreignObject></g></g><g class="node default" id="my-svg-flowchart-Skip2-13" data-look="classic" transform="translate(972.796875, 1043.59375)"><rect class="basic label-container" style="" x="-101.15625" y="-39" width="202.3125" height="78"/><g class="label" style="" transform="translate(-71.15625, -24)"><rect/><foreignObject width="142.3125" height="48"><div xmlns="http://www.w3.org/1999/xhtml" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="nodeLabel"><p>Skip this connection<br />fall back to next</p></span></div></foreignObject></g></g><g class="node default" id="my-svg-flowchart-Exec-15" data-look="classic" transform="translate(537.87109375, 1295.59375)"><rect class="basic label-container" style="" x="-94.4765625" y="-27" width="188.953125" height="54"/><g class="label" style="" transform="translate(-64.4765625, -12)"><rect/><foreignObject width="128.953125" height="24"><div xmlns="http://www.w3.org/1999/xhtml" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="nodeLabel"><p>Execute upstream</p></span></div></foreignObject></g></g><g class="node default" id="my-svg-flowchart-Skip3-17" data-look="classic" transform="translate(794.61328125, 1295.59375)"><rect class="basic label-container" style="" x="-112.265625" y="-27" width="224.53125" height="54"/><g class="label" style="" transform="translate(-82.265625, -12)"><rect/><foreignObject width="164.53125" height="24"><div xmlns="http://www.w3.org/1999/xhtml" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="nodeLabel"><p>Fall back to next model</p></span></div></foreignObject></g></g><g class="node default" id="my-svg-flowchart-Clear-19" data-look="classic" transform="translate(128.7109375, 1423.59375)"><rect class="basic label-container" style="" x="-120.7109375" y="-27" width="241.421875" height="54"/><g class="label" style="" transform="translate(-90.7109375, -12)"><rect/><foreignObject width="181.421875" height="24"><div xmlns="http://www.w3.org/1999/xhtml" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="nodeLabel"><p>Clear cooldowns/lockouts</p></span></div></foreignObject></g></g><g class="node default" id="my-svg-flowchart-TripL1-21" data-look="classic" transform="translate(403.375, 1423.59375)"><rect class="basic label-container" style="" x="-103.953125" y="-27" width="207.90625" height="54"/><g class="label" style="" transform="translate(-73.953125, -12)"><rect/><foreignObject width="147.90625" height="24"><div xmlns="http://www.w3.org/1999/xhtml" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="nodeLabel"><p>Trip provider breaker</p></span></div></foreignObject></g></g><g class="node default" id="my-svg-flowchart-TripL2-23" data-look="classic" transform="translate(681.1640625, 1423.59375)"><rect class="basic label-container" style="" x="-123.8359375" y="-27" width="247.671875" height="54"/><g class="label" style="" transform="translate(-93.8359375, -12)"><rect/><foreignObject width="187.671875" height="24"><div xmlns="http://www.w3.org/1999/xhtml" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="nodeLabel"><p>Start connection cooldown</p></span></div></foreignObject></g></g><g class="node default" id="my-svg-flowchart-TripL3-25" data-look="classic" transform="translate(953.4765625, 1423.59375)"><rect class="basic label-container" style="" x="-98.4765625" y="-27" width="196.953125" height="54"/><g class="label" style="" transform="translate(-68.4765625, -12)"><rect/><foreignObject width="136.953125" height="24"><div xmlns="http://www.w3.org/1999/xhtml" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="nodeLabel"><p>Start model lockout</p></span></div></foreignObject></g></g></g></g></g><defs><filter id="my-svg-drop-shadow" height="130%" width="130%"><feDropShadow dx="4" dy="4" stdDeviation="0" flood-opacity="0.06" flood-color="#000000"/></filter></defs><defs><filter id="my-svg-drop-shadow-small" height="150%" width="150%"><feDropShadow dx="2" dy="2" stdDeviation="0" flood-opacity="0.06" flood-color="#000000"/></filter></defs></svg>\ No newline at end of filediff --git a/package.json b/package.jsonindex 03cee3da5f..ccc0f0f644 100644--- a/package.json+++ b/package.json@@ -87,6 +87,7 @@"check:docs-counts": "node scripts/check-docs-counts-sync.mjs","check:deprecated-versions": "node scripts/check-deprecated-versions.mjs","check:docs-all": "npm run check:docs-sync && npm run check:docs-counts && npm run check:env-doc-sync && npm run check:deprecated-versions",+ "docs:render-diagrams": "node scripts/docs/render-diagrams.mjs","check:node-runtime": "node --import tsx/esm scripts/check-supported-node-runtime.ts","check:pack-artifact": "node --import tsx/esm scripts/validate-pack-artifact.ts","audit:deps": "npm audit --audit-level=moderate && npm run audit:electron",@@ -128,7 +129,7 @@"express": "^5.2.1","fetch-socks": "^1.3.3","fuse.js": "^7.3.0",-"gray-matter": "^4.0.3",+ "gray-matter": "^4.0.3","http-proxy-middleware": "^4.0.0","https-proxy-agent": "^9.0.0","ioredis": "^5.10.1",diff --git a/scripts/docs/render-diagrams.mjs b/scripts/docs/render-diagrams.mjsnew file mode 100644index 0000000000..01cd7c7377--- /dev/null+++ b/scripts/docs/render-diagrams.mjs@@ -0,0 +1,85 @@+#!/usr/bin/env node+/**+ * Render every Mermaid source in docs/diagrams/*.mmd into docs/diagrams/exported/*.svg+ *+ * Usage:+ * npm run docs:render-diagrams+ *+ * Requirements:+ * - @mermaid-js/mermaid-cli (`mmdc`) on PATH or installed globally.+ * `npm install -g @mermaid-js/mermaid-cli` if missing.+ *+ * Notes:+ * - Puppeteer needs `--no-sandbox` on Ubuntu 23.10+ / WSL. A temp config file+ * is written automatically.+ * - Each diagram is rendered with `--backgroundColor white` so the SVG works+ * against both light and dark themes.+ * - The script exits non-zero on first failure so CI / pre-commit hooks can+ * gate on it.+ */+import { spawnSync } from "node:child_process";+import { existsSync, mkdirSync, readdirSync, writeFileSync } from "node:fs";+import { dirname, join, resolve } from "node:path";+import { fileURLToPath } from "node:url";+import { tmpdir } from "node:os";++const __dirname = dirname(fileURLToPath(import.meta.url));+const repoRoot = resolve(__dirname, "..", "..");+const srcDir = resolve(repoRoot, "docs", "diagrams");+const outDir = resolve(srcDir, "exported");++if (!existsSync(srcDir)) {+ console.error(`[render-diagrams] missing source dir: ${srcDir}`);+ process.exit(1);+}+if (!existsSync(outDir)) {+ mkdirSync(outDir, { recursive: true });+}++// Puppeteer needs --no-sandbox on many Linux distros (Ubuntu 23.10+, WSL).+const puppeteerConfigPath = join(tmpdir(), "omniroute-mmdc-puppeteer.json");+writeFileSync(+ puppeteerConfigPath,+ JSON.stringify({ args: ["--no-sandbox", "--disable-setuid-sandbox"] }, null, 2)+);++const sources = readdirSync(srcDir)+ .filter((f) => f.endsWith(".mmd"))+ .sort();++if (sources.length === 0) {+ console.error(`[render-diagrams] no .mmd files in ${srcDir}`);+ process.exit(1);+}++console.log(`[render-diagrams] rendering ${sources.length} diagram(s)`);+let failures = 0;+for (const src of sources) {+ const input = join(srcDir, src);+ const output = join(outDir, src.replace(/\.mmd$/, ".svg"));+ console.log(` - ${src} -> ${output.replace(repoRoot + "/", "")}`);+ const result = spawnSync(+ "mmdc",+ [+ "-i",+ input,+ "-o",+ output,+ "--backgroundColor",+ "white",+ "--puppeteerConfigFile",+ puppeteerConfigPath,+ ],+ { stdio: "inherit" }+ );+ if (result.status !== 0) {+ console.error(` [FAIL] ${src} (exit ${result.status})`);+ failures += 1;+ }+}++if (failures > 0) {+ console.error(`[render-diagrams] ${failures} failure(s)`);+ process.exit(1);+}+console.log(`[render-diagrams] all ${sources.length} diagram(s) rendered.`);