Some checks are pending
build-and-push / image (push) Waiting to run
- Introduced a new WebAssembly binary file `cxllm_rust_core 3.wasm` to enhance the core functionality of the cxllm project. - Added a new JavaScript file `wasm_exec 2.js` that provides a polyfill for WebAssembly execution in environments lacking native support. - Included a second version of `wasm_exec 3.js` with the same functionality, ensuring compatibility and providing a backup for future enhancements.
379 lines
76 KiB
JavaScript
379 lines
76 KiB
JavaScript
(function(){let e=document.createElement(`link`).relList;if(e&&e.supports&&e.supports(`modulepreload`))return;for(let e of document.querySelectorAll(`link[rel="modulepreload"]`))n(e);new MutationObserver(e=>{for(let t of e)if(t.type===`childList`)for(let e of t.addedNodes)e.tagName===`LINK`&&e.rel===`modulepreload`&&n(e)}).observe(document,{childList:!0,subtree:!0});function t(e){let t={};return e.integrity&&(t.integrity=e.integrity),e.referrerPolicy&&(t.referrerPolicy=e.referrerPolicy),e.crossOrigin===`use-credentials`?t.credentials=`include`:e.crossOrigin===`anonymous`?t.credentials=`omit`:t.credentials=`same-origin`,t}function n(e){if(e.ep)return;e.ep=!0;let n=t(e);fetch(e.href,n)}})();var e={modules:[{id:`rust`,label:`Rust core`,loaded:!1,detail:`TypeScript fallback active`},{id:`cpp`,label:`C++ route core`,loaded:!1,detail:`TypeScript fallback active`},{id:`go`,label:`Go status core`,loaded:!1,detail:`TypeScript fallback active`},{id:`cxedge`,label:`cxedge runtime`,loaded:!1,detail:`cxedge shim not available`}],scoreCatalog(e){return Math.max(0,Math.min(100,70+e.publicCount*2+e.gatedCount-e.degradedCount*12))},routeWeight(e,t){return e*10+t*7},cxedgeVersion:null,cxedgeCapabilities:0};function t(e){return new URL(`${import.meta.env?.BASE_URL??`./`}${e}`,window.location.href)}async function n(e){let n=await fetch(t(e));if(!n.ok)return null;let r=await n.arrayBuffer();return(await WebAssembly.instantiate(r,{})).instance.exports}function r(e,t){if(!e)return null;for(let n of t){let t=e[n];if(typeof t==`function`)return(...e)=>Number(t(...e))}return null}async function i(){try{let e=await fetch(t(`wasm/modules.json`));if(!e.ok)return new Map;let n=await e.json();return new Map((n.modules??[]).map(e=>[e.id,e]))}catch{return new Map}}function a(t,n){let r=e.modules.find(e=>e.id===t)??e.modules[0],i=n.get(t)?.detail;return i?{...r,detail:i}:r}async function o(){let t=await i(),o=[],s=e.scoreCatalog,c=e.routeWeight;if(t.get(`rust`)?.status===`built`)try{let e=r(await n(`wasm/cxllm_rust_core.wasm`),[`cxllm_signal_score`]);e?(s=t=>e(t.publicCount,t.gatedCount,t.degradedCount),o.push({id:`rust`,label:`Rust core`,loaded:!0,detail:`Catalog signal scoring`})):o.push(a(`rust`,t))}catch{o.push(a(`rust`,t))}else o.push(a(`rust`,t));if(t.get(`cpp`)?.status===`built`)try{let e=r(await n(`wasm/cxllm_cpp_core.wasm`),[`cxllm_route_weight`,`_cxllm_route_weight`]);e?(c=(t,n)=>e(t,n),o.push({id:`cpp`,label:`C++ route core`,loaded:!0,detail:`Endpoint weighting`})):o.push(a(`cpp`,t))}catch{o.push(a(`cpp`,t))}else o.push(a(`cpp`,t));let l=t.get(`go`)?.status===`built`;o.push(l?{id:`go`,label:`Go status core`,loaded:!0,detail:`Go Wasm artifact available`}:a(`go`,t));let u=null,d=0;if(t.get(`cxedge`)?.status===`built`)try{let e=await n(`wasm/cxllm_cxedge_core.wasm`),i=r(e,[`cxedge_version`,`_cxedge_version`]),s=r(e,[`cxedge_version_len`,`_cxedge_version_len`]),c=r(e,[`cxedge_capabilities`,`_cxedge_capabilities`]);if(e&&i&&s&&c){let t=e.memory,n=i(),r=s();if(t&&n>0&&r>0){let e=new Uint8Array(t.buffer,n,r);u=new TextDecoder().decode(e)}d=c(),o.push({id:`cxedge`,label:`cxedge runtime`,loaded:!0,detail:u?`v${u} (caps=0x${d.toString(16)})`:`loaded`})}else o.push(a(`cxedge`,t))}catch{o.push(a(`cxedge`,t))}else o.push(a(`cxedge`,t));return{modules:o,scoreCatalog:s,routeWeight:c,cxedgeVersion:u,cxedgeCapabilities:d}}var s=`cxllm:nav:section`,c=`cxllm:nav:devpane`,l=`cxllm:sidebar:collapsed`;function u(e){return e===`members`||e===`webapp`||e===`api`||e===`mcp`?e:`landing`}function d(e){switch(e){case`api`:case`mcp`:return`developer`;case`webapp`:return`services`;case`members`:return`overview`;default:return`overview`}}function ee(e){let t=new URLSearchParams(window.location.search).get(`section`),n=localStorage.getItem(s)??null;return{target:e,section:f(t)?t:e===`api`||e===`mcp`?`developer`:f(n)?n:d(e),devPane:e===`api`?`api`:e===`mcp`||localStorage.getItem(c)===`mcp`?`mcp`:`api`,query:``,sidebarCollapsed:localStorage.getItem(l)===`1`}}function f(e){return e===`overview`||e===`services`||e===`developer`||e===`agent`}function te(e){try{localStorage.setItem(s,e)}catch{}}function ne(e){try{localStorage.setItem(c,e)}catch{}}function p(e){try{localStorage.setItem(l,e?`1`:`0`)}catch{}}var m=`cxllm:session:v1`,re=6e4;function ie(){try{let e=sessionStorage.getItem(m);if(!e)return null;let t=JSON.parse(e);return Date.now()-t.ts>re?null:t}catch{return null}}function h(e){try{sessionStorage.setItem(m,JSON.stringify({ts:Date.now(),value:e}))}catch{}}async function ae(e=!1){if(!e){let e=ie();if(e)return e.value}let t=window.location.host;if(t===`127.0.0.1`||t.startsWith(`127.0.0.1:`)||t.startsWith(`localhost`)){let e=new URLSearchParams(window.location.search),t=e.get(`signed-in`)===`1`?{authenticated:!0,username:e.get(`user`)||`dev`,email:`dev@cxllm.io`}:{authenticated:!1};return h(t),t}try{let e=new AbortController,t=setTimeout(()=>e.abort(),3e3),n=await fetch(`/outpost.goauthentik.io/auth/caddy`,{method:`GET`,credentials:`include`,signal:e.signal});if(clearTimeout(t),n.status===200){let e={authenticated:!0,username:n.headers.get(`X-Authentik-Username`)||void 0,email:n.headers.get(`X-Authentik-Email`)||void 0,groups:(n.headers.get(`X-Authentik-Groups`)||``).split(`|`).filter(Boolean)};return h(e),e}}catch{}let n={authenticated:!1};return h(n),n}function oe(e){return`https://auth.cxllm.io/if/flow/default-authentication-flow/?next=${encodeURIComponent(e??`https://web.cxllm.io/`)}`}function g(e){return String(e??``).replace(/&/g,`&`).replace(/</g,`<`).replace(/>/g,`>`).replace(/"/g,`"`).replace(/'/g,`'`)}function _(e){try{return JSON.stringify(e,null,2)}catch{return String(e)}}var v=e=>`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true">${e}</svg>`,y={overview:v(`<rect x="3" y="3" width="7" height="9"/><rect x="14" y="3" width="7" height="5"/><rect x="14" y="12" width="7" height="9"/><rect x="3" y="16" width="7" height="5"/>`),services:v(`<rect x="3" y="3" width="7" height="7"/><rect x="14" y="3" width="7" height="7"/><rect x="14" y="14" width="7" height="7"/><rect x="3" y="14" width="7" height="7"/>`),developer:v(`<polyline points="16 18 22 12 16 6"/><polyline points="8 6 2 12 8 18"/>`),agent:v(`<path d="M12 2a4 4 0 0 1 4 4v2H8V6a4 4 0 0 1 4-4z"/><rect x="4" y="8" width="16" height="12" rx="2"/><circle cx="9" cy="14" r="1"/><circle cx="15" cy="14" r="1"/>`),workspace:v(`<rect x="3" y="4" width="18" height="12" rx="2"/><line x1="2" y1="20" x2="22" y2="20"/>`),ops:v(`<circle cx="12" cy="12" r="3"/><path d="M19.4 15a1.7 1.7 0 0 0 .3 1.8l.1.1a2 2 0 1 1-2.8 2.8l-.1-.1a1.7 1.7 0 0 0-1.8-.3 1.7 1.7 0 0 0-1 1.5V21a2 2 0 1 1-4 0v-.1a1.7 1.7 0 0 0-1-1.5 1.7 1.7 0 0 0-1.8.3l-.1.1a2 2 0 1 1-2.8-2.8l.1-.1a1.7 1.7 0 0 0 .3-1.8 1.7 1.7 0 0 0-1.5-1H3a2 2 0 1 1 0-4h.1a1.7 1.7 0 0 0 1.5-1 1.7 1.7 0 0 0-.3-1.8l-.1-.1a2 2 0 1 1 2.8-2.8l.1.1a1.7 1.7 0 0 0 1.8.3H9a1.7 1.7 0 0 0 1-1.5V3a2 2 0 1 1 4 0v.1a1.7 1.7 0 0 0 1 1.5 1.7 1.7 0 0 0 1.8-.3l.1-.1a2 2 0 1 1 2.8 2.8l-.1.1a1.7 1.7 0 0 0-.3 1.8V9a1.7 1.7 0 0 0 1.5 1H21a2 2 0 1 1 0 4h-.1a1.7 1.7 0 0 0-1.5 1z"/>`),account:v(`<circle cx="12" cy="8" r="4"/><path d="M4 21a8 8 0 0 1 16 0"/>`),collapse:v(`<polyline points="15 18 9 12 15 6"/>`),expand:v(`<polyline points="9 18 15 12 9 6"/>`),search:v(`<circle cx="11" cy="11" r="7"/><line x1="21" y1="21" x2="16.65" y2="16.65"/>`),open:v(`<path d="M14 3h7v7"/><line x1="10" y1="14" x2="21" y2="3"/><path d="M21 14v5a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h5"/>`),copy:v(`<rect x="9" y="9" width="13" height="13" rx="2"/><path d="M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"/>`),pulse:v(`<polyline points="22 12 18 12 15 21 9 3 6 12 2 12"/>`),signin:v(`<path d="M15 3h4a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-4"/><polyline points="10 17 15 12 10 7"/><line x1="15" y1="12" x2="3" y2="12"/>`),signout:v(`<path d="M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4"/><polyline points="16 17 21 12 16 7"/><line x1="21" y1="12" x2="9" y2="12"/>`)},b={domain:`cxllm.io`,home:[{auth:`hybrid-status-public-rest-authentik`,badge:`API key`,badgeClass:`api`,color:`sb-green`,composeService:null,deprecated:!1,description:`OpenAI-compatible inference, embeddings, and tools.`,endpointGroups:[`status`,`models`,`chat`,`embeddings`,`docs`],expected:[200],health:[{expect:[200],path:`/healthz`},{expect:[200],path:`/readyz`},{expect:[200],path:`/status`},{expect:[302],path:`/docs`},{expect:[302],path:`/v1/models`},{expect:[204],path:`/outpost.goauthentik.io/ping`}],host:`api.cxllm.io`,hosts:[`api.cxllm.io`],id:`api`,kind:`api`,landing:!0,membersSpa:!0,name:`CxAI API`,notes:`Currently proxies to cxai-mcp on 8082; swap to the Python API on 8080 when that runtime is promoted.`,probe:`https://api.cxllm.io/status`,replacement:null,source:`CxAI Base/api`,title:`CxAI API`,upstreamPort:8082,url:`https://api.cxllm.io/`},{auth:`authentik-forward-auth-status-public`,badge:`SSO`,badgeClass:``,color:`sb-blue`,composeService:null,deprecated:!1,description:`Model Context Protocol gateway for agents.`,endpointGroups:[`mcp`,`tools`,`resources`,`prompts`],expected:[200],health:[{expect:[200],path:`/healthz`},{expect:[200],path:`/readyz`},{expect:[200],path:`/status`},{expect:[302],path:`/mcp`},{expect:[302],path:`/tools`},{expect:[204],path:`/outpost.goauthentik.io/ping`}],host:`mcp.cxllm.io`,hosts:[`mcp.cxllm.io`],id:`mcp`,kind:`mcp`,landing:!0,membersSpa:!0,name:`CxAI MCP`,notes:`MCP HTTP surface for agents and IDE tools.`,probe:`https://mcp.cxllm.io/status`,replacement:null,source:`CxAI/_agent/mcp-server`,title:`CxAI MCP`,upstreamPort:8082,url:`https://mcp.cxllm.io/`},{auth:`authentik-forward-auth-status-public`,badge:`SSO`,badgeClass:``,color:`sb-purple`,composeService:null,deprecated:!1,description:`CxAI agent control plane (cxai-mcp HTTP sidecar: status, tools, events).`,endpointGroups:[`status`,`tools`,`events`],expected:[200],health:[{expect:[200],path:`/status`},{expect:[200,401,302],path:`/tools`},{expect:[204],path:`/outpost.goauthentik.io/ping`}],host:`agent.cxllm.io`,hosts:[`agent.cxllm.io`],id:`agent`,kind:`agent`,landing:!1,membersSpa:!0,name:`CxAI Agent`,notes:`CxAI control plane: cxai-mcp HTTP sidecar (status, tools registry, /events tail).`,probe:`https://agent.cxllm.io/status`,replacement:null,source:`CxAI/_agent/mcp-server`,title:`CxAI Agent`,upstreamPort:8082,url:`https://agent.cxllm.io/`},{auth:`public`,badge:`public`,badgeClass:`public`,color:`sb-red`,composeService:null,deprecated:!1,description:`cxedge WebAssembly runtime: release downloads, docs, Homebrew tap pointer.`,endpointGroups:[`downloads`,`docs`],expected:[200],health:[{expect:[200],path:`/`},{expect:[200],path:`/healthz`}],host:`cxedge.cxllm.io`,hosts:[`cxedge.cxllm.io`],id:`cxedge`,kind:`runtime-downloads`,landing:!0,membersSpa:!1,name:`cxedge`,notes:`Static landing for the cxedge WebAssembly runtime fork: release downloads, docs, and the cxai/cxedge Homebrew tap pointer.`,probe:`https://cxedge.cxllm.io/healthz`,replacement:null,source:`host/cxllm-stack/cxedge`,title:`cxedge`,upstreamPort:null,url:`https://cxedge.cxllm.io/`},{auth:`authentik-forward-auth`,badge:`SSO`,badgeClass:``,color:`sb-blue`,composeService:`scale-dashboard`,deprecated:!1,description:`Tailscale machines, routes, Serve, and Funnel behind Authentik.`,endpointGroups:[`tailscale`,`machines`,`routes`,`serve`,`funnel`,`authentik`],expected:[302],health:[{expect:[302],path:`/`},{expect:[302],path:`/healthz`},{expect:[302],path:`/api/tailscale/status`},{expect:[204],path:`/outpost.goauthentik.io/ping`}],host:`scale.cxllm.io`,hosts:[`scale.cxllm.io`],id:`scale`,kind:`tailnet-ops`,landing:!0,membersSpa:!0,name:`Scale`,notes:`Authentik-gated Tailscale machine, app, route, Serve, and Funnel operations dashboard.`,probe:`https://scale.cxllm.io/healthz`,replacement:null,source:`scale`,title:`Scale`,upstreamPort:8091,url:`https://scale.cxllm.io/`},{auth:`authentik-forward-auth`,badge:`SSO`,badgeClass:``,color:`sb-amber`,composeService:null,deprecated:!1,description:`Data flywheel and ML operations surface.`,endpointGroups:[],expected:[200],health:[{expect:[200],path:`/healthz`},{expect:[200],path:`/readyz`},{expect:[302],path:`/`},{expect:[204],path:`/outpost.goauthentik.io/ping`}],host:`mlrun.cxllm.io`,hosts:[`mlrun.cxllm.io`],id:`mlrun`,kind:`ml-dashboard`,landing:!1,membersSpa:!0,name:`MLRun`,notes:`Static ML/data-flywheel page until a live MLRun UI container is promoted.`,probe:`https://mlrun.cxllm.io/healthz`,replacement:null,source:`cx-ml/web`,title:`MLRun`,upstreamPort:null,url:`https://mlrun.cxllm.io/`},{auth:`nextcloud-oidc`,badge:`SSO`,badgeClass:``,color:`sb-purple`,composeService:`nextcloud`,deprecated:!1,description:`Nextcloud files, shares, and team folders.`,endpointGroups:[],expected:[200,302],health:[{expect:[200,302],path:`/status.php`}],host:`files.cxllm.io`,hosts:[`files.cxllm.io`],id:`files`,kind:`files`,landing:!0,membersSpa:!0,name:`Files`,notes:`Nextcloud workspace.`,probe:`https://files.cxllm.io/status.php`,replacement:null,source:`host/cxllm-stack/compose.yaml`,title:`Files`,upstreamPort:8081,url:`https://files.cxllm.io/`},{auth:`authentik-forward-auth`,badge:`SSO`,badgeClass:``,color:`sb-blue`,composeService:`code-server`,deprecated:!1,description:`VS Code in the browser.`,endpointGroups:[],expected:[302],health:[{expect:[302],path:`/`},{expect:[204],path:`/outpost.goauthentik.io/ping`}],host:`code.cxllm.io`,hosts:[`code.cxllm.io`],id:`code`,kind:`ide`,landing:!0,membersSpa:!0,name:`code-server`,notes:`Browser VS Code gated by Authentik edge auth.`,probe:`https://code.cxllm.io/`,replacement:null,source:`host/cxllm-stack/compose.yaml`,title:`code-server`,upstreamPort:8443,url:`https://code.cxllm.io/`},{auth:`grafana-oidc`,badge:`SSO`,badgeClass:``,color:`sb-amber`,composeService:`grafana`,deprecated:!1,description:`Grafana dashboards, metrics, and alerts.`,endpointGroups:[],expected:[200],health:[{expect:[200],path:`/api/health`}],host:`monitor.cxllm.io`,hosts:[`monitor.cxllm.io`],id:`monitor`,kind:`observability`,landing:!0,membersSpa:!0,name:`Grafana`,notes:`Grafana dashboards and alerts.`,probe:`https://monitor.cxllm.io/api/health`,replacement:null,source:`host/cxllm-stack/compose.yaml`,title:`Grafana`,upstreamPort:3e3,url:`https://monitor.cxllm.io/`}],landing:[{auth:`public`,badge:`public`,badgeClass:`public`,color:`sb-green`,composeService:null,deprecated:!1,description:`Legacy Crow UI for operator workflows.`,endpointGroups:[],expected:[200],health:[{expect:[200],path:`/api/health`}],host:`webapp.cxllm.io`,hosts:[`webapp.cxllm.io`],id:`webapp`,kind:`web`,landing:!0,membersSpa:!0,name:`CxWebApp`,notes:`Legacy Crow C++ operator UI; currently managed outside cxllm-cloud compose.`,probe:`https://webapp.cxllm.io/api/health`,replacement:null,source:`CxWebApp`,title:`CxWebApp`,upstreamPort:8085,url:`https://webapp.cxllm.io/`},{auth:`authentik-forward-auth`,badge:`SSO`,badgeClass:``,color:`sb-green`,composeService:null,deprecated:!1,description:`Members workspace and authenticated service console.`,endpointGroups:[],expected:[200],health:[{expect:[200],path:`/healthz`},{expect:[200],path:`/readyz`},{expect:[302],path:`/`},{expect:[204],path:`/outpost.goauthentik.io/ping`}],host:`web.cxllm.io`,hosts:[`web.cxllm.io`],id:`web`,kind:`spa`,landing:!0,membersSpa:!1,name:`Members SPA`,notes:`Static members workspace deployed to /srv/cxai/web and protected by Authentik at the edge.`,probe:`https://web.cxllm.io/healthz`,replacement:null,source:`host/cxllm-stack/cxllm-web`,title:`Members SPA`,upstreamPort:null,url:`https://web.cxllm.io/`},{auth:`public-idp`,badge:`public`,badgeClass:`public`,color:`sb-purple`,composeService:`authentik-server`,deprecated:!1,description:`Identity, SSO, MFA, and access policies.`,endpointGroups:[],expected:[200],health:[{expect:[200],path:`/-/health/ready/`},{expect:[200],path:`/-/health/live/`}],host:`auth.cxllm.io`,hosts:[`auth.cxllm.io`],id:`auth`,kind:`identity`,landing:!0,membersSpa:!0,name:`Authentik IdP`,notes:`Identity provider and embedded forward-auth outpost.`,probe:`https://auth.cxllm.io/-/health/ready/`,replacement:null,source:`host/cxllm-stack/compose.yaml`,title:`Authentik IdP`,upstreamPort:9e3,url:`https://auth.cxllm.io/`},{auth:`hybrid-status-public-rest-authentik`,badge:`API key`,badgeClass:`api`,color:`sb-green`,composeService:null,deprecated:!1,description:`OpenAI-compatible inference, embeddings, and tools.`,endpointGroups:[`status`,`models`,`chat`,`embeddings`,`docs`],expected:[200],health:[{expect:[200],path:`/healthz`},{expect:[200],path:`/readyz`},{expect:[200],path:`/status`},{expect:[302],path:`/docs`},{expect:[302],path:`/v1/models`},{expect:[204],path:`/outpost.goauthentik.io/ping`}],host:`api.cxllm.io`,hosts:[`api.cxllm.io`],id:`api`,kind:`api`,landing:!0,membersSpa:!0,name:`CxAI API`,notes:`Currently proxies to cxai-mcp on 8082; swap to the Python API on 8080 when that runtime is promoted.`,probe:`https://api.cxllm.io/status`,replacement:null,source:`CxAI Base/api`,title:`CxAI API`,upstreamPort:8082,url:`https://api.cxllm.io/`},{auth:`authentik-forward-auth-status-public`,badge:`SSO`,badgeClass:``,color:`sb-blue`,composeService:null,deprecated:!1,description:`Model Context Protocol gateway for agents.`,endpointGroups:[`mcp`,`tools`,`resources`,`prompts`],expected:[200],health:[{expect:[200],path:`/healthz`},{expect:[200],path:`/readyz`},{expect:[200],path:`/status`},{expect:[302],path:`/mcp`},{expect:[302],path:`/tools`},{expect:[204],path:`/outpost.goauthentik.io/ping`}],host:`mcp.cxllm.io`,hosts:[`mcp.cxllm.io`],id:`mcp`,kind:`mcp`,landing:!0,membersSpa:!0,name:`CxAI MCP`,notes:`MCP HTTP surface for agents and IDE tools.`,probe:`https://mcp.cxllm.io/status`,replacement:null,source:`CxAI/_agent/mcp-server`,title:`CxAI MCP`,upstreamPort:8082,url:`https://mcp.cxllm.io/`},{auth:`public`,badge:`public`,badgeClass:`public`,color:`sb-red`,composeService:null,deprecated:!1,description:`cxedge WebAssembly runtime: release downloads, docs, Homebrew tap pointer.`,endpointGroups:[`downloads`,`docs`],expected:[200],health:[{expect:[200],path:`/`},{expect:[200],path:`/healthz`}],host:`cxedge.cxllm.io`,hosts:[`cxedge.cxllm.io`],id:`cxedge`,kind:`runtime-downloads`,landing:!0,membersSpa:!1,name:`cxedge`,notes:`Static landing for the cxedge WebAssembly runtime fork: release downloads, docs, and the cxai/cxedge Homebrew tap pointer.`,probe:`https://cxedge.cxllm.io/healthz`,replacement:null,source:`host/cxllm-stack/cxedge`,title:`cxedge`,upstreamPort:null,url:`https://cxedge.cxllm.io/`},{auth:`authentik-forward-auth`,badge:`SSO`,badgeClass:``,color:`sb-blue`,composeService:`code-server`,deprecated:!1,description:`VS Code in the browser.`,endpointGroups:[],expected:[302],health:[{expect:[302],path:`/`},{expect:[204],path:`/outpost.goauthentik.io/ping`}],host:`code.cxllm.io`,hosts:[`code.cxllm.io`],id:`code`,kind:`ide`,landing:!0,membersSpa:!0,name:`code-server`,notes:`Browser VS Code gated by Authentik edge auth.`,probe:`https://code.cxllm.io/`,replacement:null,source:`host/cxllm-stack/compose.yaml`,title:`code-server`,upstreamPort:8443,url:`https://code.cxllm.io/`},{auth:`authentik-forward-auth`,badge:`SSO`,badgeClass:``,color:`sb-blue`,composeService:`scale-dashboard`,deprecated:!1,description:`Tailscale machines, routes, Serve, and Funnel behind Authentik.`,endpointGroups:[`tailscale`,`machines`,`routes`,`serve`,`funnel`,`authentik`],expected:[302],health:[{expect:[302],path:`/`},{expect:[302],path:`/healthz`},{expect:[302],path:`/api/tailscale/status`},{expect:[204],path:`/outpost.goauthentik.io/ping`}],host:`scale.cxllm.io`,hosts:[`scale.cxllm.io`],id:`scale`,kind:`tailnet-ops`,landing:!0,membersSpa:!0,name:`Scale`,notes:`Authentik-gated Tailscale machine, app, route, Serve, and Funnel operations dashboard.`,probe:`https://scale.cxllm.io/healthz`,replacement:null,source:`scale`,title:`Scale`,upstreamPort:8091,url:`https://scale.cxllm.io/`},{auth:`nextcloud-oidc`,badge:`SSO`,badgeClass:``,color:`sb-purple`,composeService:`nextcloud`,deprecated:!1,description:`Nextcloud files, shares, and team folders.`,endpointGroups:[],expected:[200,302],health:[{expect:[200,302],path:`/status.php`}],host:`files.cxllm.io`,hosts:[`files.cxllm.io`],id:`files`,kind:`files`,landing:!0,membersSpa:!0,name:`Files`,notes:`Nextcloud workspace.`,probe:`https://files.cxllm.io/status.php`,replacement:null,source:`host/cxllm-stack/compose.yaml`,title:`Files`,upstreamPort:8081,url:`https://files.cxllm.io/`},{auth:`aws-iam`,badge:`AWS IAM`,badgeClass:`api`,color:`sb-purple`,composeService:null,deprecated:!1,description:`AWS-backed object storage, CloudFront keys, and IAM access.`,endpointGroups:[`s3`,`cloudfront`,`iam`],expected:[],health:[],host:`AWS S3`,hosts:[],id:`aws-storage`,kind:`object-storage-cloud`,landing:!0,membersSpa:!0,name:`AWS Storage`,notes:`Primary object storage is AWS-backed and configured from the local CxAWS config directory; credentials are never embedded in static assets.`,probe:`https://console.aws.amazon.com/s3/home`,replacement:null,source:`CxAI/projects/CxAWS/config`,title:`AWS Storage`,upstreamPort:null,url:`https://console.aws.amazon.com/s3/home`},{auth:`docker-basic-auth`,badge:`basic`,badgeClass:`basic`,color:`sb-amber`,composeService:null,deprecated:!1,description:`Private container image registry.`,endpointGroups:[],expected:[401],health:[{expect:[401],path:`/v2/`}],host:`registry.cxllm.io`,hosts:[`registry.cxllm.io`],id:`registry`,kind:`registry`,landing:!0,membersSpa:!1,name:`Container Registry`,notes:`Docker registry; 401 is the expected unauthenticated health result.`,probe:`https://registry.cxllm.io/v2/`,replacement:null,source:`host/cxllm-stack/compose.yaml`,title:`Container Registry`,upstreamPort:5e3,url:`https://registry.cxllm.io/`},{auth:`grafana-oidc`,badge:`SSO`,badgeClass:``,color:`sb-amber`,composeService:`grafana`,deprecated:!1,description:`Grafana dashboards, metrics, and alerts.`,endpointGroups:[],expected:[200],health:[{expect:[200],path:`/api/health`}],host:`monitor.cxllm.io`,hosts:[`monitor.cxllm.io`],id:`monitor`,kind:`observability`,landing:!0,membersSpa:!0,name:`Grafana`,notes:`Grafana dashboards and alerts.`,probe:`https://monitor.cxllm.io/api/health`,replacement:null,source:`host/cxllm-stack/compose.yaml`,title:`Grafana`,upstreamPort:3e3,url:`https://monitor.cxllm.io/`}],manifestSchemaVersion:1,members:[{auth:`public`,badge:`public`,badgeClass:`public`,color:`sb-green`,composeService:`cxllm-landing`,deprecated:!1,description:`Public marketing front door.`,endpointGroups:[],expected:[200],health:[{expect:[200],path:`/healthz`}],host:`cxllm.io`,hosts:[`cxllm.io`,`www.cxllm.io`,`app.cxllm.io`],id:`landing`,kind:`web`,landing:!1,membersSpa:!0,name:`CxLLM Landing`,notes:`Public marketing and console landing served by the cxllm-landing container.`,probe:`https://cxllm.io/healthz`,replacement:null,source:`host/cxllm-stack/app`,title:`CxLLM Landing`,upstreamPort:8086,url:`https://cxllm.io/`},{auth:`public`,badge:`public`,badgeClass:`public`,color:`sb-green`,composeService:null,deprecated:!1,description:`Legacy Crow UI for operator workflows.`,endpointGroups:[],expected:[200],health:[{expect:[200],path:`/api/health`}],host:`webapp.cxllm.io`,hosts:[`webapp.cxllm.io`],id:`webapp`,kind:`web`,landing:!0,membersSpa:!0,name:`CxWebApp`,notes:`Legacy Crow C++ operator UI; currently managed outside cxllm-cloud compose.`,probe:`https://webapp.cxllm.io/api/health`,replacement:null,source:`CxWebApp`,title:`CxWebApp`,upstreamPort:8085,url:`https://webapp.cxllm.io/`},{auth:`public-idp`,badge:`public`,badgeClass:`public`,color:`sb-purple`,composeService:`authentik-server`,deprecated:!1,description:`Identity, SSO, MFA, and access policies.`,endpointGroups:[],expected:[200],health:[{expect:[200],path:`/-/health/ready/`},{expect:[200],path:`/-/health/live/`}],host:`auth.cxllm.io`,hosts:[`auth.cxllm.io`],id:`auth`,kind:`identity`,landing:!0,membersSpa:!0,name:`Authentik IdP`,notes:`Identity provider and embedded forward-auth outpost.`,probe:`https://auth.cxllm.io/-/health/ready/`,replacement:null,source:`host/cxllm-stack/compose.yaml`,title:`Authentik IdP`,upstreamPort:9e3,url:`https://auth.cxllm.io/`},{auth:`hybrid-status-public-rest-authentik`,badge:`API key`,badgeClass:`api`,color:`sb-green`,composeService:null,deprecated:!1,description:`OpenAI-compatible inference, embeddings, and tools.`,endpointGroups:[`status`,`models`,`chat`,`embeddings`,`docs`],expected:[200],health:[{expect:[200],path:`/healthz`},{expect:[200],path:`/readyz`},{expect:[200],path:`/status`},{expect:[302],path:`/docs`},{expect:[302],path:`/v1/models`},{expect:[204],path:`/outpost.goauthentik.io/ping`}],host:`api.cxllm.io`,hosts:[`api.cxllm.io`],id:`api`,kind:`api`,landing:!0,membersSpa:!0,name:`CxAI API`,notes:`Currently proxies to cxai-mcp on 8082; swap to the Python API on 8080 when that runtime is promoted.`,probe:`https://api.cxllm.io/status`,replacement:null,source:`CxAI Base/api`,title:`CxAI API`,upstreamPort:8082,url:`https://api.cxllm.io/`},{auth:`authentik-forward-auth-status-public`,badge:`SSO`,badgeClass:``,color:`sb-blue`,composeService:null,deprecated:!1,description:`Model Context Protocol gateway for agents.`,endpointGroups:[`mcp`,`tools`,`resources`,`prompts`],expected:[200],health:[{expect:[200],path:`/healthz`},{expect:[200],path:`/readyz`},{expect:[200],path:`/status`},{expect:[302],path:`/mcp`},{expect:[302],path:`/tools`},{expect:[204],path:`/outpost.goauthentik.io/ping`}],host:`mcp.cxllm.io`,hosts:[`mcp.cxllm.io`],id:`mcp`,kind:`mcp`,landing:!0,membersSpa:!0,name:`CxAI MCP`,notes:`MCP HTTP surface for agents and IDE tools.`,probe:`https://mcp.cxllm.io/status`,replacement:null,source:`CxAI/_agent/mcp-server`,title:`CxAI MCP`,upstreamPort:8082,url:`https://mcp.cxllm.io/`},{auth:`authentik-forward-auth-status-public`,badge:`SSO`,badgeClass:``,color:`sb-purple`,composeService:null,deprecated:!1,description:`CxAI agent control plane (cxai-mcp HTTP sidecar: status, tools, events).`,endpointGroups:[`status`,`tools`,`events`],expected:[200],health:[{expect:[200],path:`/status`},{expect:[200,401,302],path:`/tools`},{expect:[204],path:`/outpost.goauthentik.io/ping`}],host:`agent.cxllm.io`,hosts:[`agent.cxllm.io`],id:`agent`,kind:`agent`,landing:!1,membersSpa:!0,name:`CxAI Agent`,notes:`CxAI control plane: cxai-mcp HTTP sidecar (status, tools registry, /events tail).`,probe:`https://agent.cxllm.io/status`,replacement:null,source:`CxAI/_agent/mcp-server`,title:`CxAI Agent`,upstreamPort:8082,url:`https://agent.cxllm.io/`},{auth:`authentik-forward-auth`,badge:`SSO`,badgeClass:``,color:`sb-blue`,composeService:`code-server`,deprecated:!1,description:`VS Code in the browser.`,endpointGroups:[],expected:[302],health:[{expect:[302],path:`/`},{expect:[204],path:`/outpost.goauthentik.io/ping`}],host:`code.cxllm.io`,hosts:[`code.cxllm.io`],id:`code`,kind:`ide`,landing:!0,membersSpa:!0,name:`code-server`,notes:`Browser VS Code gated by Authentik edge auth.`,probe:`https://code.cxllm.io/`,replacement:null,source:`host/cxllm-stack/compose.yaml`,title:`code-server`,upstreamPort:8443,url:`https://code.cxllm.io/`},{auth:`authentik-forward-auth`,badge:`SSO`,badgeClass:``,color:`sb-blue`,composeService:`scale-dashboard`,deprecated:!1,description:`Tailscale machines, routes, Serve, and Funnel behind Authentik.`,endpointGroups:[`tailscale`,`machines`,`routes`,`serve`,`funnel`,`authentik`],expected:[302],health:[{expect:[302],path:`/`},{expect:[302],path:`/healthz`},{expect:[302],path:`/api/tailscale/status`},{expect:[204],path:`/outpost.goauthentik.io/ping`}],host:`scale.cxllm.io`,hosts:[`scale.cxllm.io`],id:`scale`,kind:`tailnet-ops`,landing:!0,membersSpa:!0,name:`Scale`,notes:`Authentik-gated Tailscale machine, app, route, Serve, and Funnel operations dashboard.`,probe:`https://scale.cxllm.io/healthz`,replacement:null,source:`scale`,title:`Scale`,upstreamPort:8091,url:`https://scale.cxllm.io/`},{auth:`nextcloud-oidc`,badge:`SSO`,badgeClass:``,color:`sb-purple`,composeService:`nextcloud`,deprecated:!1,description:`Nextcloud files, shares, and team folders.`,endpointGroups:[],expected:[200,302],health:[{expect:[200,302],path:`/status.php`}],host:`files.cxllm.io`,hosts:[`files.cxllm.io`],id:`files`,kind:`files`,landing:!0,membersSpa:!0,name:`Files`,notes:`Nextcloud workspace.`,probe:`https://files.cxllm.io/status.php`,replacement:null,source:`host/cxllm-stack/compose.yaml`,title:`Files`,upstreamPort:8081,url:`https://files.cxllm.io/`},{auth:`aws-iam`,badge:`AWS IAM`,badgeClass:`api`,color:`sb-purple`,composeService:null,deprecated:!1,description:`AWS-backed object storage, CloudFront keys, and IAM access.`,endpointGroups:[`s3`,`cloudfront`,`iam`],expected:[],health:[],host:`AWS S3`,hosts:[],id:`aws-storage`,kind:`object-storage-cloud`,landing:!0,membersSpa:!0,name:`AWS Storage`,notes:`Primary object storage is AWS-backed and configured from the local CxAWS config directory; credentials are never embedded in static assets.`,probe:`https://console.aws.amazon.com/s3/home`,replacement:null,source:`CxAI/projects/CxAWS/config`,title:`AWS Storage`,upstreamPort:null,url:`https://console.aws.amazon.com/s3/home`},{auth:`grafana-oidc`,badge:`SSO`,badgeClass:``,color:`sb-amber`,composeService:`grafana`,deprecated:!1,description:`Grafana dashboards, metrics, and alerts.`,endpointGroups:[],expected:[200],health:[{expect:[200],path:`/api/health`}],host:`monitor.cxllm.io`,hosts:[`monitor.cxllm.io`],id:`monitor`,kind:`observability`,landing:!0,membersSpa:!0,name:`Grafana`,notes:`Grafana dashboards and alerts.`,probe:`https://monitor.cxllm.io/api/health`,replacement:null,source:`host/cxllm-stack/compose.yaml`,title:`Grafana`,upstreamPort:3e3,url:`https://monitor.cxllm.io/`},{auth:`authentik-forward-auth-health-public`,badge:`SSO`,badgeClass:``,color:`sb-red`,composeService:`cxai-rust`,deprecated:!1,description:`Rust integration runtime.`,endpointGroups:[`health`,`version`,`metrics`],expected:[200],health:[{expect:[200],path:`/healthz`},{expect:[200],path:`/readyz`},{expect:[200],path:`/version`},{expect:[204],path:`/outpost.goauthentik.io/ping`}],host:`rust.cxllm.io`,hosts:[`rust.cxllm.io`],id:`rust`,kind:`runtime`,landing:!1,membersSpa:!0,name:`Rust Runtime`,notes:`Rust integration shim.`,probe:`https://rust.cxllm.io/healthz`,replacement:null,source:`CxAI Base/cargo`,title:`Rust Runtime`,upstreamPort:8089,url:`https://rust.cxllm.io/`},{auth:`authentik-forward-auth-health-public`,badge:`SSO`,badgeClass:``,color:`sb-blue`,composeService:`cxai-go`,deprecated:!1,description:`Go integration runtime.`,endpointGroups:[`health`,`version`,`huggingface`,`operations`,`governance`,`agentic`,`tasks`,`infer`,`git`,`tool-use`],expected:[200],health:[{expect:[200],path:`/healthz`},{expect:[200],path:`/readyz`},{expect:[200],path:`/version`},{expect:[204],path:`/outpost.goauthentik.io/ping`}],host:`go.cxllm.io`,hosts:[`go.cxllm.io`],id:`go`,kind:`runtime`,landing:!1,membersSpa:!0,name:`Go Runtime`,notes:`Go implementation of the integration API.`,probe:`https://go.cxllm.io/healthz`,replacement:null,source:`CxAI Base/apps/cxai-go`,title:`Go Runtime`,upstreamPort:8088,url:`https://go.cxllm.io/`},{auth:`authentik-forward-auth-health-public`,badge:`SSO`,badgeClass:``,color:`sb-amber`,composeService:`cxai-maven`,deprecated:!1,description:`Java integration runtime.`,endpointGroups:[`health`,`version`,`metrics`,`huggingface`,`operations`,`governance`,`agentic`,`tasks`,`infer`,`git`,`tool-use`],expected:[200],health:[{expect:[200],path:`/healthz`},{expect:[200],path:`/readyz`},{expect:[200],path:`/version`},{expect:[204],path:`/outpost.goauthentik.io/ping`}],host:`java.cxllm.io`,hosts:[`java.cxllm.io`],id:`java`,kind:`runtime`,landing:!1,membersSpa:!0,name:`Java Runtime`,notes:`Java/Maven implementation of the integration API.`,probe:`https://java.cxllm.io/healthz`,replacement:null,source:`CxAI Base/apps/cxai-maven`,title:`Java Runtime`,upstreamPort:8090,url:`https://java.cxllm.io/`},{auth:`authentik-forward-auth`,badge:`SSO`,badgeClass:``,color:`sb-amber`,composeService:null,deprecated:!1,description:`Data flywheel and ML operations surface.`,endpointGroups:[],expected:[200],health:[{expect:[200],path:`/healthz`},{expect:[200],path:`/readyz`},{expect:[302],path:`/`},{expect:[204],path:`/outpost.goauthentik.io/ping`}],host:`mlrun.cxllm.io`,hosts:[`mlrun.cxllm.io`],id:`mlrun`,kind:`ml-dashboard`,landing:!1,membersSpa:!0,name:`MLRun`,notes:`Static ML/data-flywheel page until a live MLRun UI container is promoted.`,probe:`https://mlrun.cxllm.io/healthz`,replacement:null,source:`cx-ml/web`,title:`MLRun`,upstreamPort:null,url:`https://mlrun.cxllm.io/`}],schemaVersion:1,services:[{auth:`public`,badge:`public`,badgeClass:`public`,color:`sb-green`,composeService:`cxllm-landing`,deprecated:!1,description:`Public marketing front door.`,endpointGroups:[],expected:[200],health:[{expect:[200],path:`/healthz`}],host:`cxllm.io`,hosts:[`cxllm.io`,`www.cxllm.io`,`app.cxllm.io`],id:`landing`,kind:`web`,landing:!1,membersSpa:!0,name:`CxLLM Landing`,notes:`Public marketing and console landing served by the cxllm-landing container.`,probe:`https://cxllm.io/healthz`,replacement:null,source:`host/cxllm-stack/app`,title:`CxLLM Landing`,upstreamPort:8086,url:`https://cxllm.io/`},{auth:`public`,badge:`public`,badgeClass:`public`,color:`sb-green`,composeService:null,deprecated:!1,description:`Legacy Crow UI for operator workflows.`,endpointGroups:[],expected:[200],health:[{expect:[200],path:`/api/health`}],host:`webapp.cxllm.io`,hosts:[`webapp.cxllm.io`],id:`webapp`,kind:`web`,landing:!0,membersSpa:!0,name:`CxWebApp`,notes:`Legacy Crow C++ operator UI; currently managed outside cxllm-cloud compose.`,probe:`https://webapp.cxllm.io/api/health`,replacement:null,source:`CxWebApp`,title:`CxWebApp`,upstreamPort:8085,url:`https://webapp.cxllm.io/`},{auth:`authentik-forward-auth`,badge:`SSO`,badgeClass:``,color:`sb-green`,composeService:null,deprecated:!1,description:`Members workspace and authenticated service console.`,endpointGroups:[],expected:[200],health:[{expect:[200],path:`/healthz`},{expect:[200],path:`/readyz`},{expect:[302],path:`/`},{expect:[204],path:`/outpost.goauthentik.io/ping`}],host:`web.cxllm.io`,hosts:[`web.cxllm.io`],id:`web`,kind:`spa`,landing:!0,membersSpa:!1,name:`Members SPA`,notes:`Static members workspace deployed to /srv/cxai/web and protected by Authentik at the edge.`,probe:`https://web.cxllm.io/healthz`,replacement:null,source:`host/cxllm-stack/cxllm-web`,title:`Members SPA`,upstreamPort:null,url:`https://web.cxllm.io/`},{auth:`public-idp`,badge:`public`,badgeClass:`public`,color:`sb-purple`,composeService:`authentik-server`,deprecated:!1,description:`Identity, SSO, MFA, and access policies.`,endpointGroups:[],expected:[200],health:[{expect:[200],path:`/-/health/ready/`},{expect:[200],path:`/-/health/live/`}],host:`auth.cxllm.io`,hosts:[`auth.cxllm.io`],id:`auth`,kind:`identity`,landing:!0,membersSpa:!0,name:`Authentik IdP`,notes:`Identity provider and embedded forward-auth outpost.`,probe:`https://auth.cxllm.io/-/health/ready/`,replacement:null,source:`host/cxllm-stack/compose.yaml`,title:`Authentik IdP`,upstreamPort:9e3,url:`https://auth.cxllm.io/`},{auth:`hybrid-status-public-rest-authentik`,badge:`API key`,badgeClass:`api`,color:`sb-green`,composeService:null,deprecated:!1,description:`OpenAI-compatible inference, embeddings, and tools.`,endpointGroups:[`status`,`models`,`chat`,`embeddings`,`docs`],expected:[200],health:[{expect:[200],path:`/healthz`},{expect:[200],path:`/readyz`},{expect:[200],path:`/status`},{expect:[302],path:`/docs`},{expect:[302],path:`/v1/models`},{expect:[204],path:`/outpost.goauthentik.io/ping`}],host:`api.cxllm.io`,hosts:[`api.cxllm.io`],id:`api`,kind:`api`,landing:!0,membersSpa:!0,name:`CxAI API`,notes:`Currently proxies to cxai-mcp on 8082; swap to the Python API on 8080 when that runtime is promoted.`,probe:`https://api.cxllm.io/status`,replacement:null,source:`CxAI Base/api`,title:`CxAI API`,upstreamPort:8082,url:`https://api.cxllm.io/`},{auth:`authentik-forward-auth-status-public`,badge:`SSO`,badgeClass:``,color:`sb-blue`,composeService:null,deprecated:!1,description:`Model Context Protocol gateway for agents.`,endpointGroups:[`mcp`,`tools`,`resources`,`prompts`],expected:[200],health:[{expect:[200],path:`/healthz`},{expect:[200],path:`/readyz`},{expect:[200],path:`/status`},{expect:[302],path:`/mcp`},{expect:[302],path:`/tools`},{expect:[204],path:`/outpost.goauthentik.io/ping`}],host:`mcp.cxllm.io`,hosts:[`mcp.cxllm.io`],id:`mcp`,kind:`mcp`,landing:!0,membersSpa:!0,name:`CxAI MCP`,notes:`MCP HTTP surface for agents and IDE tools.`,probe:`https://mcp.cxllm.io/status`,replacement:null,source:`CxAI/_agent/mcp-server`,title:`CxAI MCP`,upstreamPort:8082,url:`https://mcp.cxllm.io/`},{auth:`authentik-forward-auth-status-public`,badge:`SSO`,badgeClass:``,color:`sb-purple`,composeService:null,deprecated:!1,description:`CxAI agent control plane (cxai-mcp HTTP sidecar: status, tools, events).`,endpointGroups:[`status`,`tools`,`events`],expected:[200],health:[{expect:[200],path:`/status`},{expect:[200,401,302],path:`/tools`},{expect:[204],path:`/outpost.goauthentik.io/ping`}],host:`agent.cxllm.io`,hosts:[`agent.cxllm.io`],id:`agent`,kind:`agent`,landing:!1,membersSpa:!0,name:`CxAI Agent`,notes:`CxAI control plane: cxai-mcp HTTP sidecar (status, tools registry, /events tail).`,probe:`https://agent.cxllm.io/status`,replacement:null,source:`CxAI/_agent/mcp-server`,title:`CxAI Agent`,upstreamPort:8082,url:`https://agent.cxllm.io/`},{auth:`public`,badge:`public`,badgeClass:`public`,color:`sb-red`,composeService:null,deprecated:!1,description:`cxedge WebAssembly runtime: release downloads, docs, Homebrew tap pointer.`,endpointGroups:[`downloads`,`docs`],expected:[200],health:[{expect:[200],path:`/`},{expect:[200],path:`/healthz`}],host:`cxedge.cxllm.io`,hosts:[`cxedge.cxllm.io`],id:`cxedge`,kind:`runtime-downloads`,landing:!0,membersSpa:!1,name:`cxedge`,notes:`Static landing for the cxedge WebAssembly runtime fork: release downloads, docs, and the cxai/cxedge Homebrew tap pointer.`,probe:`https://cxedge.cxllm.io/healthz`,replacement:null,source:`host/cxllm-stack/cxedge`,title:`cxedge`,upstreamPort:null,url:`https://cxedge.cxllm.io/`},{auth:`authentik-forward-auth`,badge:`SSO`,badgeClass:``,color:`sb-blue`,composeService:`code-server`,deprecated:!1,description:`VS Code in the browser.`,endpointGroups:[],expected:[302],health:[{expect:[302],path:`/`},{expect:[204],path:`/outpost.goauthentik.io/ping`}],host:`code.cxllm.io`,hosts:[`code.cxllm.io`],id:`code`,kind:`ide`,landing:!0,membersSpa:!0,name:`code-server`,notes:`Browser VS Code gated by Authentik edge auth.`,probe:`https://code.cxllm.io/`,replacement:null,source:`host/cxllm-stack/compose.yaml`,title:`code-server`,upstreamPort:8443,url:`https://code.cxllm.io/`},{auth:`authentik-forward-auth`,badge:`SSO`,badgeClass:``,color:`sb-blue`,composeService:`scale-dashboard`,deprecated:!1,description:`Tailscale machines, routes, Serve, and Funnel behind Authentik.`,endpointGroups:[`tailscale`,`machines`,`routes`,`serve`,`funnel`,`authentik`],expected:[302],health:[{expect:[302],path:`/`},{expect:[302],path:`/healthz`},{expect:[302],path:`/api/tailscale/status`},{expect:[204],path:`/outpost.goauthentik.io/ping`}],host:`scale.cxllm.io`,hosts:[`scale.cxllm.io`],id:`scale`,kind:`tailnet-ops`,landing:!0,membersSpa:!0,name:`Scale`,notes:`Authentik-gated Tailscale machine, app, route, Serve, and Funnel operations dashboard.`,probe:`https://scale.cxllm.io/healthz`,replacement:null,source:`scale`,title:`Scale`,upstreamPort:8091,url:`https://scale.cxllm.io/`},{auth:`nextcloud-oidc`,badge:`SSO`,badgeClass:``,color:`sb-purple`,composeService:`nextcloud`,deprecated:!1,description:`Nextcloud files, shares, and team folders.`,endpointGroups:[],expected:[200,302],health:[{expect:[200,302],path:`/status.php`}],host:`files.cxllm.io`,hosts:[`files.cxllm.io`],id:`files`,kind:`files`,landing:!0,membersSpa:!0,name:`Files`,notes:`Nextcloud workspace.`,probe:`https://files.cxllm.io/status.php`,replacement:null,source:`host/cxllm-stack/compose.yaml`,title:`Files`,upstreamPort:8081,url:`https://files.cxllm.io/`},{auth:`aws-iam`,badge:`AWS IAM`,badgeClass:`api`,color:`sb-purple`,composeService:null,deprecated:!1,description:`AWS-backed object storage, CloudFront keys, and IAM access.`,endpointGroups:[`s3`,`cloudfront`,`iam`],expected:[],health:[],host:`AWS S3`,hosts:[],id:`aws-storage`,kind:`object-storage-cloud`,landing:!0,membersSpa:!0,name:`AWS Storage`,notes:`Primary object storage is AWS-backed and configured from the local CxAWS config directory; credentials are never embedded in static assets.`,probe:`https://console.aws.amazon.com/s3/home`,replacement:null,source:`CxAI/projects/CxAWS/config`,title:`AWS Storage`,upstreamPort:null,url:`https://console.aws.amazon.com/s3/home`},{auth:`docker-basic-auth`,badge:`basic`,badgeClass:`basic`,color:`sb-amber`,composeService:null,deprecated:!1,description:`Private container image registry.`,endpointGroups:[],expected:[401],health:[{expect:[401],path:`/v2/`}],host:`registry.cxllm.io`,hosts:[`registry.cxllm.io`],id:`registry`,kind:`registry`,landing:!0,membersSpa:!1,name:`Container Registry`,notes:`Docker registry; 401 is the expected unauthenticated health result.`,probe:`https://registry.cxllm.io/v2/`,replacement:null,source:`host/cxllm-stack/compose.yaml`,title:`Container Registry`,upstreamPort:5e3,url:`https://registry.cxllm.io/`},{auth:`grafana-oidc`,badge:`SSO`,badgeClass:``,color:`sb-amber`,composeService:`grafana`,deprecated:!1,description:`Grafana dashboards, metrics, and alerts.`,endpointGroups:[],expected:[200],health:[{expect:[200],path:`/api/health`}],host:`monitor.cxllm.io`,hosts:[`monitor.cxllm.io`],id:`monitor`,kind:`observability`,landing:!0,membersSpa:!0,name:`Grafana`,notes:`Grafana dashboards and alerts.`,probe:`https://monitor.cxllm.io/api/health`,replacement:null,source:`host/cxllm-stack/compose.yaml`,title:`Grafana`,upstreamPort:3e3,url:`https://monitor.cxllm.io/`},{auth:`authentik-forward-auth-health-public`,badge:`SSO`,badgeClass:``,color:`sb-red`,composeService:`cxai-rust`,deprecated:!1,description:`Rust integration runtime.`,endpointGroups:[`health`,`version`,`metrics`],expected:[200],health:[{expect:[200],path:`/healthz`},{expect:[200],path:`/readyz`},{expect:[200],path:`/version`},{expect:[204],path:`/outpost.goauthentik.io/ping`}],host:`rust.cxllm.io`,hosts:[`rust.cxllm.io`],id:`rust`,kind:`runtime`,landing:!1,membersSpa:!0,name:`Rust Runtime`,notes:`Rust integration shim.`,probe:`https://rust.cxllm.io/healthz`,replacement:null,source:`CxAI Base/cargo`,title:`Rust Runtime`,upstreamPort:8089,url:`https://rust.cxllm.io/`},{auth:`authentik-forward-auth-health-public`,badge:`SSO`,badgeClass:``,color:`sb-blue`,composeService:`cxai-go`,deprecated:!1,description:`Go integration runtime.`,endpointGroups:[`health`,`version`,`huggingface`,`operations`,`governance`,`agentic`,`tasks`,`infer`,`git`,`tool-use`],expected:[200],health:[{expect:[200],path:`/healthz`},{expect:[200],path:`/readyz`},{expect:[200],path:`/version`},{expect:[204],path:`/outpost.goauthentik.io/ping`}],host:`go.cxllm.io`,hosts:[`go.cxllm.io`],id:`go`,kind:`runtime`,landing:!1,membersSpa:!0,name:`Go Runtime`,notes:`Go implementation of the integration API.`,probe:`https://go.cxllm.io/healthz`,replacement:null,source:`CxAI Base/apps/cxai-go`,title:`Go Runtime`,upstreamPort:8088,url:`https://go.cxllm.io/`},{auth:`authentik-forward-auth-health-public`,badge:`SSO`,badgeClass:``,color:`sb-amber`,composeService:`cxai-maven`,deprecated:!1,description:`Java integration runtime.`,endpointGroups:[`health`,`version`,`metrics`,`huggingface`,`operations`,`governance`,`agentic`,`tasks`,`infer`,`git`,`tool-use`],expected:[200],health:[{expect:[200],path:`/healthz`},{expect:[200],path:`/readyz`},{expect:[200],path:`/version`},{expect:[204],path:`/outpost.goauthentik.io/ping`}],host:`java.cxllm.io`,hosts:[`java.cxllm.io`],id:`java`,kind:`runtime`,landing:!1,membersSpa:!0,name:`Java Runtime`,notes:`Java/Maven implementation of the integration API.`,probe:`https://java.cxllm.io/healthz`,replacement:null,source:`CxAI Base/apps/cxai-maven`,title:`Java Runtime`,upstreamPort:8090,url:`https://java.cxllm.io/`},{auth:`authentik-forward-auth`,badge:`SSO`,badgeClass:``,color:`sb-amber`,composeService:null,deprecated:!1,description:`Data flywheel and ML operations surface.`,endpointGroups:[],expected:[200],health:[{expect:[200],path:`/healthz`},{expect:[200],path:`/readyz`},{expect:[302],path:`/`},{expect:[204],path:`/outpost.goauthentik.io/ping`}],host:`mlrun.cxllm.io`,hosts:[`mlrun.cxllm.io`],id:`mlrun`,kind:`ml-dashboard`,landing:!1,membersSpa:!0,name:`MLRun`,notes:`Static ML/data-flywheel page until a live MLRun UI container is promoted.`,probe:`https://mlrun.cxllm.io/healthz`,replacement:null,source:`cx-ml/web`,title:`MLRun`,upstreamPort:null,url:`https://mlrun.cxllm.io/`}],source:`manifest/cxllm-services.json`},se=[{id:`overview`,label:`Overview`,icon:`overview`},{id:`services`,label:`Services`,icon:`services`},{id:`developer`,label:`Developer`,icon:`developer`},{id:`agent`,label:`Agent`,icon:`agent`}],ce=[{id:`web`,label:`Console`,href:`https://web.cxllm.io/`},{id:`files`,label:`Files`,href:`https://files.cxllm.io/`},{id:`code`,label:`Code`,href:`https://code.cxllm.io/`}],le=[{id:`scale`,label:`Scale`,href:`https://scale.cxllm.io/`},{id:`monitor`,label:`Monitor`,href:`https://monitor.cxllm.io/`},{id:`mlrun`,label:`MLRun`,href:`https://mlrun.cxllm.io/`}];function ue(e,t,n){let r=e.sidebarCollapsed,i=n.modules.filter(e=>e.loaded).length,a=n.modules.length;return`
|
|
<aside class="cx-sidebar ${r?`is-collapsed`:``}" aria-label="Primary navigation">
|
|
<div class="cx-brand">
|
|
<a href="https://${g(b.domain)}/" class="cx-brand-link">
|
|
<span class="cx-brand-mark" aria-hidden="true">Cx</span>
|
|
<span class="cx-brand-text"><strong>CxLLM</strong><small>Service fabric</small></span>
|
|
</a>
|
|
<button type="button" class="cx-icon-btn" data-action="toggle-sidebar" aria-label="${r?`Expand sidebar`:`Collapse sidebar`}" aria-expanded="${!r}">
|
|
${r?y.expand:y.collapse}
|
|
</button>
|
|
</div>
|
|
|
|
<nav class="cx-nav cx-nav-primary" aria-label="Sections">
|
|
${se.map(t=>`
|
|
<button type="button" class="cx-nav-btn ${e.section===t.id?`is-active`:``}" data-section="${t.id}" aria-current="${e.section===t.id?`page`:`false`}">
|
|
<span class="cx-nav-icon">${y[t.icon]}</span>
|
|
<span class="cx-nav-label">${g(t.label)}</span>
|
|
</button>
|
|
`).join(``)}
|
|
</nav>
|
|
|
|
${x(`workspace`,`Workspace`,ce)}
|
|
${x(`ops`,`Operations`,le)}
|
|
${de(t)}
|
|
|
|
<footer class="cx-sidebar-foot">
|
|
<div class="cx-foot-row" title="Wasm modules loaded">
|
|
<span class="cx-dot ${i===a?`ok`:i>0?`warn`:`err`}"></span>
|
|
<span class="cx-mono">wasm ${i}/${a}</span>
|
|
</div>
|
|
<div class="cx-foot-row" data-role="agent-badge" title="cxai-mcp agent health">
|
|
<span class="cx-dot warn"></span>
|
|
<span class="cx-mono">agent …</span>
|
|
</div>
|
|
</footer>
|
|
</aside>
|
|
`}function x(e,t,n){return`
|
|
<details class="cx-group" data-group="${e}" open>
|
|
<summary class="cx-group-summary"><span>${g(t)}</span></summary>
|
|
<div class="cx-group-body">
|
|
${n.map(e=>`
|
|
<a class="cx-link" href="${g(e.href)}" target="_blank" rel="noopener">
|
|
<span>${g(e.label)}</span>
|
|
<span class="cx-link-icon">${y.open}</span>
|
|
</a>
|
|
`).join(``)}
|
|
</div>
|
|
</details>
|
|
`}function de(e){return e.authenticated?`
|
|
<details class="cx-group" data-group="account" open>
|
|
<summary class="cx-group-summary"><span>Account</span></summary>
|
|
<div class="cx-group-body">
|
|
<div class="cx-link cx-link-static">
|
|
<span class="cx-mono">${g(e.username||e.email||`signed in`)}</span>
|
|
</div>
|
|
<a class="cx-link" href="https://auth.cxllm.io/if/user/">
|
|
<span>Identity</span><span class="cx-link-icon">${y.open}</span>
|
|
</a>
|
|
<a class="cx-link" href="https://cxllm.io/logout">
|
|
<span>Sign out</span><span class="cx-link-icon">${y.signout}</span>
|
|
</a>
|
|
</div>
|
|
</details>
|
|
`:`
|
|
<details class="cx-group" data-group="account" open>
|
|
<summary class="cx-group-summary"><span>Account</span></summary>
|
|
<div class="cx-group-body">
|
|
<a class="cx-link" href="https://cxllm.io/signin">
|
|
<span>Sign in</span><span class="cx-link-icon">${y.signin}</span>
|
|
</a>
|
|
<a class="cx-link" href="https://cxllm.io/signup">
|
|
<span>Create account</span><span class="cx-link-icon">${y.account}</span>
|
|
</a>
|
|
</div>
|
|
</details>
|
|
`}var fe={overview:`Overview`,services:`Services`,developer:`Developer`,agent:`Agent`};function S(e,t){let n=e.section===`developer`?` / ${e.devPane.toUpperCase()}`:``;return`
|
|
<header class="cx-topbar">
|
|
<div class="cx-breadcrumb">
|
|
<span class="cx-eyebrow cx-mono">cxllm</span>
|
|
<span class="cx-crumb">${g(fe[e.section]??e.section)}${g(n)}</span>
|
|
</div>
|
|
<label class="cx-search" aria-label="Search services">
|
|
<span class="cx-search-icon">${y.search}</span>
|
|
<input type="search" data-role="search" placeholder="Search services, hosts, tools…" value="${g(e.query)}" />
|
|
<kbd class="cx-kbd">⌘K</kbd>
|
|
</label>
|
|
${pe(t)}
|
|
</header>
|
|
`}function pe(e){if(!e.authenticated)return`
|
|
<a class="cx-pill cx-pill-cta" href="https://cxllm.io/signin">
|
|
<span class="cx-pill-icon">${y.signin}</span>
|
|
<span>Sign in</span>
|
|
</a>
|
|
`;let t=e.username||e.email||`you`,n=t.slice(0,1).toUpperCase();return`
|
|
<a class="cx-pill cx-pill-session" href="https://auth.cxllm.io/if/user/" title="${g(e.email||t)}">
|
|
<span class="cx-avatar" aria-hidden="true">${g(n)}</span>
|
|
<span class="cx-mono">${g(t)}</span>
|
|
</a>
|
|
`}var C=new Map,me=15e3;async function w(e,t={}){let n=`${t.credentials??`omit`}|${e}`;if(t.cache!==!1){let e=C.get(n);if(e&&Date.now()-e.ts<me)return e.value}let r=new AbortController,i=setTimeout(()=>r.abort(),t.timeoutMs??5e3),a=performance.now(),o;try{let n=await fetch(e,{method:`GET`,mode:`cors`,credentials:t.credentials??`omit`,signal:r.signal,headers:{Accept:`application/json, text/plain;q=0.5, */*;q=0.1`}});o={url:e,ok:n.ok,status:n.status,latencyMs:Math.round(performance.now()-a)}}catch(t){o={url:e,ok:!1,status:0,latencyMs:Math.round(performance.now()-a),error:t instanceof Error?t.message:String(t)}}finally{clearTimeout(i)}return C.set(n,{ts:Date.now(),value:o}),o}var T=he();function he(){let e=window.location.host;return e.startsWith(`127.0.0.1`)||e.startsWith(`localhost`)?``:`https://mcp.cxllm.io`}async function E(e=document){let t=e.querySelector(`[data-role="agent-badge"]`);if(!t)return;if(!T){t.innerHTML=`<span class="cx-dot warn"></span><span class="cx-mono">agent local</span>`;return}let n=await w(`${T}/status`,{timeoutMs:4e3});t.innerHTML=`<span class="cx-dot ${n.ok?`ok`:`err`}"></span><span class="cx-mono">${n.ok?`agent ${n.status}`:`agent down`}</span>`}function ge(e=3e4){E();let t=window.setInterval(()=>void E(),e);return()=>window.clearInterval(t)}function _e(e){let{runtime:t,session:n}=e,r=b.services.length,i=b.services.filter(e=>e.auth===`public`||e.auth===`public-idp`).length,a=r-i,o=t.scoreCatalog({publicCount:i,gatedCount:a,degradedCount:b.services.filter(e=>!e.probe).length}),s=t.modules.filter(e=>e.loaded).length;return`
|
|
<section class="cx-page cx-page-overview">
|
|
<header class="cx-hero">
|
|
<p class="cx-eyebrow cx-mono">CxLLM service fabric</p>
|
|
<h1 class="cx-h1">A coherent surface for inference, agents, and operations.</h1>
|
|
<p class="cx-lead">
|
|
${n.authenticated?`Welcome back, ${g(n.username||n.email||`operator`)}. Your workspace is wired into the CxAI control plane.`:`Public catalog view. <a href="https://cxllm.io/signin">Sign in</a> to access the full members console, MCP, and CxAI agent.`}
|
|
</p>
|
|
</header>
|
|
|
|
<section class="cx-kpi-grid" aria-label="Key indicators">
|
|
${D(`Services`,r,`across the fabric`)}
|
|
${D(`Public`,i,`no sign-in required`)}
|
|
${D(`Gated`,a,`Authentik forward-auth`)}
|
|
${D(`Signal`,o,`${s}/${t.modules.length} wasm modules loaded`)}
|
|
</section>
|
|
|
|
<section class="cx-panel" data-role="today">
|
|
<header class="cx-panel-head">
|
|
<h2 class="cx-h2">Today</h2>
|
|
<p class="cx-muted">Live health for the three pillars.</p>
|
|
</header>
|
|
<div class="cx-today-grid" data-role="today-grid">
|
|
${O(`api`,`API`,`https://api.cxllm.io/status`)}
|
|
${O(`mcp`,`MCP`,`https://mcp.cxllm.io/status`)}
|
|
${O(`agent`,`Agent`,`https://mcp.cxllm.io/status`)}
|
|
</div>
|
|
</section>
|
|
|
|
<section class="cx-panel" aria-label="Wasm runtime">
|
|
<header class="cx-panel-head">
|
|
<h2 class="cx-h2">Wasm runtime</h2>
|
|
<p class="cx-muted">Rust, C++, and Go modules instantiated in the browser.</p>
|
|
</header>
|
|
<ul class="cx-list cx-list-rail">
|
|
${t.modules.map(e=>`
|
|
<li class="cx-list-row ${e.loaded?`is-ok`:`is-warn`}">
|
|
<span class="cx-dot ${e.loaded?`ok`:`warn`}"></span>
|
|
<strong>${g(e.label)}</strong>
|
|
<span class="cx-mono">${e.loaded?`loaded`:`fallback`}</span>
|
|
<small class="cx-muted">${g(e.detail)}</small>
|
|
</li>
|
|
`).join(``)}
|
|
</ul>
|
|
</section>
|
|
</section>
|
|
`}function D(e,t,n){return`
|
|
<article class="cx-kpi">
|
|
<span class="cx-kpi-value">${t}</span>
|
|
<span class="cx-kpi-label">${g(e)}</span>
|
|
<small class="cx-muted">${g(n)}</small>
|
|
</article>
|
|
`}function O(e,t,n){return`
|
|
<article class="cx-today-card" data-today="${g(e)}" data-probe="${g(n)}">
|
|
<header>
|
|
<span class="cx-dot warn"></span>
|
|
<strong>${g(t)}</strong>
|
|
<small class="cx-muted cx-mono" data-role="latency">…</small>
|
|
</header>
|
|
<p class="cx-muted cx-mono" data-role="url">${g(n)}</p>
|
|
</article>
|
|
`}async function k(e){let t=e.querySelectorAll(`[data-today]`);await Promise.all(Array.from(t).map(async e=>{let t=e.dataset.probe;if(!t)return;let n=await w(t,{timeoutMs:4e3}),r=e.querySelector(`.cx-dot`),i=e.querySelector(`[data-role="latency"]`);r&&(r.className=`cx-dot ${n.ok?`ok`:`err`}`),i&&(i.textContent=n.ok?`${n.status} · ${n.latencyMs}ms`:n.error||`status ${n.status}`)}))}function A(e){let t=e.query.trim().toLowerCase(),n=b.services.filter(e=>!e.deprecated).filter(e=>t?[e.title,e.host,e.description,e.id,e.kind,e.auth].join(` `).toLowerCase().includes(t):!0),r=N(n,e=>e.kind||`service`),i=Array.from(r.keys()).sort();return`
|
|
<section class="cx-page cx-page-services">
|
|
<header class="cx-page-head">
|
|
<div>
|
|
<p class="cx-eyebrow cx-mono">Catalog</p>
|
|
<h1 class="cx-h1">Services</h1>
|
|
<p class="cx-lead">${n.length} active surfaces across the cxllm.io fabric.</p>
|
|
</div>
|
|
</header>
|
|
${i.map(e=>{let t=r.get(e)||[];return`
|
|
<section class="cx-panel">
|
|
<header class="cx-panel-head">
|
|
<h2 class="cx-h2">${g(P(e))}</h2>
|
|
<small class="cx-muted">${t.length}</small>
|
|
</header>
|
|
<ul class="cx-list cx-list-services">
|
|
${t.map(M).join(``)}
|
|
</ul>
|
|
</section>
|
|
`}).join(``)}
|
|
</section>
|
|
`}async function j(e){let t=e.querySelectorAll(`[data-probe-url]`);await Promise.all(Array.from(t).map(async e=>{let t=e.dataset.probeUrl;if(!t)return;let n=await w(t,{timeoutMs:4e3}),r=e.querySelector(`.cx-dot`),i=e.querySelector(`[data-role="probe-meta"]`);r&&(r.className=`cx-dot ${n.ok?`ok`:`err`}`),i&&(i.textContent=n.ok?`${n.status} · ${n.latencyMs}ms`:n.error||`status ${n.status}`)}))}function M(e){let t=e.url||(e.host?`https://${e.host}/`:`#`),n=e.probe||``;return`
|
|
<li class="cx-row cx-row-service" data-service-id="${g(e.id)}" ${n?`data-probe-url="${g(n)}"`:``}>
|
|
<span class="cx-row-mark ${g(e.color)}">${g(e.title.slice(0,2).toUpperCase())}</span>
|
|
<div class="cx-row-main">
|
|
<strong>${g(e.title)}</strong>
|
|
<small class="cx-muted">${g(e.description||e.notes||e.host)}</small>
|
|
</div>
|
|
<div class="cx-row-meta cx-mono">
|
|
<span>${g(e.host||`local`)}</span>
|
|
<span class="cx-tag">${g(e.badge||e.auth||`SSO`)}</span>
|
|
</div>
|
|
<div class="cx-row-status">
|
|
<span class="cx-dot warn"></span>
|
|
<small class="cx-mono" data-role="probe-meta">…</small>
|
|
</div>
|
|
<div class="cx-row-actions">
|
|
<a class="cx-icon-btn" href="${g(t)}" target="_blank" rel="noopener" title="Open ${g(e.title)}">${y.open}</a>
|
|
</div>
|
|
</li>
|
|
`}function N(e,t){let n=new Map;for(let r of e){let e=t(r),i=n.get(e)||[];i.push(r),n.set(e,i)}return n}function P(e){return{api:`Inference API`,mcp:`Model Context Protocol`,ide:`Developer tools`,files:`Storage & files`,storage:`Object storage`,identity:`Identity`,monitoring:`Operations`,spa:`Web surfaces`,service:`Other services`}[e]||e.replace(/(^|\s)\S/g,e=>e.toUpperCase())}function F(e,t){return`
|
|
<form data-form-id="${g(t)}" class="cx-form">
|
|
${e.map(I).join(``)}
|
|
</form>
|
|
`}function I(e){let t=`f-${e.name}`,n=`<label for="${g(t)}" class="cx-field-label">${g(e.label||e.name)}${e.required?` <span aria-hidden="true">*</span>`:``}</label>`,r=e.description?`<small class="cx-field-desc">${g(e.description)}</small>`:``,i=``;switch(e.type){case`boolean`:return i=`<label class="cx-toggle"><input id="${g(t)}" type="checkbox" name="${g(e.name)}" ${e.default?`checked`:``} /><span>${g(e.label||e.name)}</span></label>`,`<div class="cx-field">${i}${r}</div>`;case`number`:i=`<input id="${g(t)}" class="cx-input" type="number" name="${g(e.name)}" value="${g(e.default??``)}" placeholder="${g(e.placeholder??``)}" ${e.required?`required`:``} />`;break;case`enum`:i=`<select id="${g(t)}" class="cx-input" name="${g(e.name)}">${(e.options||[]).map(t=>`<option value="${g(t)}" ${String(e.default)===t?`selected`:``}>${g(t)}</option>`).join(``)}</select>`;break;case`json`:i=`<textarea id="${g(t)}" class="cx-input cx-mono" name="${g(e.name)}" rows="${e.rows??6}" placeholder="${g(e.placeholder??`{}`)}">${g(typeof e.default==`string`?e.default:e.default===void 0?``:JSON.stringify(e.default,null,2))}</textarea>`;break;default:i=(e.rows??1)>1?`<textarea id="${g(t)}" class="cx-input" name="${g(e.name)}" rows="${e.rows}" placeholder="${g(e.placeholder??``)}" ${e.required?`required`:``}>${g(e.default??``)}</textarea>`:`<input id="${g(t)}" class="cx-input" type="text" name="${g(e.name)}" value="${g(e.default??``)}" placeholder="${g(e.placeholder??``)}" ${e.required?`required`:``} />`}return`<div class="cx-field">${n}${i}${r}</div>`}function L(e,t){let n=document.querySelector(`[data-form-id="${e}"]`),r={},i=[];if(!n)return{values:r,errors:[`form not mounted`]};for(let e of t){let t=n.elements.namedItem(e.name);if(!t)continue;if(e.type===`boolean`){r[e.name]=t.checked;continue}let a=(t.value??``).trim();if(!a){e.required&&i.push(`${e.label||e.name} is required`);continue}if(e.type===`number`){let t=Number(a);Number.isNaN(t)?i.push(`${e.label||e.name} must be a number`):r[e.name]=t;continue}if(e.type===`json`){try{r[e.name]=JSON.parse(a)}catch{i.push(`${e.label||e.name} must be valid JSON`)}continue}r[e.name]=a}return{values:r,errors:i}}function ve(e){let t=[`curl -sS -X ${e.method} \\`,` '${e.url}' \\`];return e.bearerEnv&&t.push(` -H "Authorization: Bearer $${e.bearerEnv}" \\`),t.push(` -H 'Content-Type: application/json'`),e.body!==void 0&&t.push(` \\\n -d '${JSON.stringify(e.body)}'`),t.join(`
|
|
`)}function ye(e){let t={"Content-Type":`application/json`};return e.bearerEnv&&(t.Authorization=`Bearer \${process.env.${e.bearerEnv}}`),[`const res = await fetch(${JSON.stringify(e.url)}, {`,` method: ${JSON.stringify(e.method)},`,` headers: ${JSON.stringify(t,null,2).replace(/\n/g,`
|
|
`)},`,e.body===void 0?``:` body: JSON.stringify(${JSON.stringify(e.body,null,2).replace(/\n/g,`
|
|
`)}),`,`});`,`const data = await res.json();`,`console.log(data);`].filter(Boolean).join(`
|
|
`)}function be(e){let t=[`import os`,`import httpx`,``,`headers = {"Content-Type": "application/json"}`];return e.bearerEnv&&t.push(`headers["Authorization"] = f"Bearer {os.environ['${e.bearerEnv}']}"`),e.body===void 0?t.push(`r = httpx.${e.method.toLowerCase()}(${JSON.stringify(e.url)}, headers=headers, timeout=60)`):(t.push(`payload = ${JSON.stringify(e.body,null,4)}`),t.push(`r = httpx.${e.method.toLowerCase()}(${JSON.stringify(e.url)}, headers=headers, json=payload, timeout=60)`)),t.push(`r.raise_for_status()`,`print(r.json())`),t.join(`
|
|
`)}var R=xe(`api`);function xe(e){let t=window.location.host;return t.startsWith(`127.0.0.1`)||t.startsWith(`localhost`)?``:`https://${e}.cxllm.io`}var z=[{id:`status`,label:`GET /status`,description:`Public liveness probe (no auth).`,method:`GET`,path:`/status`,fields:[],publicProbe:!0},{id:`models`,label:`GET /v1/models`,description:`List available chat/embedding models.`,method:`GET`,path:`/v1/models`,fields:[]},{id:`chat`,label:`POST /v1/chat/completions`,description:`OpenAI-compatible chat completion.`,method:`POST`,path:`/v1/chat/completions`,fields:[{name:`model`,label:`Model`,type:`string`,required:!0,default:`gpt-4o-mini`},{name:`prompt`,label:`User message`,type:`string`,rows:4,required:!0,placeholder:`Say hello in three languages.`},{name:`temperature`,label:`Temperature`,type:`number`,default:.7}],body:e=>({model:e.model,messages:[{role:`user`,content:e.prompt}],temperature:e.temperature})},{id:`embeddings`,label:`POST /v1/embeddings`,description:`Vector embeddings for retrieval.`,method:`POST`,path:`/v1/embeddings`,fields:[{name:`model`,label:`Model`,type:`string`,required:!0,default:`text-embedding-3-small`},{name:`input`,label:`Input text`,type:`string`,rows:3,required:!0,default:`hello world`}],body:e=>({model:e.model,input:e.input})}];function Se(e){return`
|
|
<div class="cx-dev">
|
|
<aside class="cx-dev-side">
|
|
<ul class="cx-dev-ops" role="tablist" aria-label="API operations">
|
|
${z.map((e,t)=>`
|
|
<li>
|
|
<button type="button" class="cx-dev-op ${t===0?`is-active`:``}" data-op="${g(e.id)}" role="tab" aria-selected="${t===0}">
|
|
<strong>${g(e.label)}</strong>
|
|
<small class="cx-muted">${g(e.description)}</small>
|
|
</button>
|
|
</li>
|
|
`).join(``)}
|
|
</ul>
|
|
</aside>
|
|
<div class="cx-dev-main" data-role="dev-main">
|
|
${B(z[0],e)}
|
|
</div>
|
|
</div>
|
|
`}async function Ce(e,t){let n=e.querySelectorAll(`[data-op]`),r=e.querySelector(`[data-role="dev-main"]`);n.forEach(e=>{e.addEventListener(`click`,()=>{n.forEach(e=>e.classList.remove(`is-active`)),e.classList.add(`is-active`),n.forEach(t=>t.setAttribute(`aria-selected`,t===e?`true`:`false`));let i=z.find(t=>t.id===e.dataset.op);i&&r&&(r.innerHTML=B(i,t),V(r,i,t))})}),r&&V(r,z[0],t)}function B(e,t){let n=`${R||`https://api.cxllm.io`}${e.path}`,r=e.body?e.body(Object.fromEntries(e.fields.map(e=>[e.name,e.default]))):void 0,i=t.authenticated||e.publicProbe;return`
|
|
<article class="cx-dev-op-panel">
|
|
<header class="cx-dev-op-head">
|
|
<h2 class="cx-h2">${g(e.label)}</h2>
|
|
<p class="cx-muted">${g(e.description)}</p>
|
|
<p class="cx-mono cx-muted">${g(e.method)} ${g(n)}</p>
|
|
</header>
|
|
${e.fields.length?`<section class="cx-card">${F(e.fields,`api-${e.id}`)}</section>`:``}
|
|
<section class="cx-card">
|
|
<header class="cx-card-head">
|
|
<strong>Run</strong>
|
|
<span class="cx-muted">${i?e.publicProbe?`Public probe`:`Uses your Authentik session cookie.`:`Sign in to enable.`}</span>
|
|
</header>
|
|
<div class="cx-actions">
|
|
<button type="button" class="cx-btn cx-btn-primary" data-op-run="${g(e.id)}" ${i?``:`disabled`}>Run</button>
|
|
${i?``:`<a class="cx-btn cx-btn-ghost" href="https://cxllm.io/signin">Sign in</a>`}
|
|
</div>
|
|
<pre class="cx-output" data-role="op-output" aria-live="polite">// Result will appear here.</pre>
|
|
</section>
|
|
<section class="cx-card">
|
|
<header class="cx-card-head"><strong>Snippets</strong></header>
|
|
<div class="cx-snippet">
|
|
<header><span class="cx-mono">curl</span></header>
|
|
<pre><code>${g(ve({method:e.method,url:n,body:r,bearerEnv:`CXLLM_API_KEY`}))}</code></pre>
|
|
</div>
|
|
<div class="cx-snippet">
|
|
<header><span class="cx-mono">TypeScript</span></header>
|
|
<pre><code>${g(ye({method:e.method,url:n,body:r,bearerEnv:`CXLLM_API_KEY`}))}</code></pre>
|
|
</div>
|
|
<div class="cx-snippet">
|
|
<header><span class="cx-mono">Python</span></header>
|
|
<pre><code>${g(be({method:e.method,url:n,body:r,bearerEnv:`CXLLM_API_KEY`}))}</code></pre>
|
|
</div>
|
|
</section>
|
|
</article>
|
|
`}function V(e,t,n){let r=e.querySelector(`[data-op-run="${t.id}"]`),i=e.querySelector(`[data-role="op-output"]`);!r||!i||r.addEventListener(`click`,async()=>{i.textContent=`// Calling…`;let{values:e,errors:r}=L(`api-${t.id}`,t.fields);if(r.length){i.textContent=`// validation:\n${r.join(`
|
|
`)}`;return}try{let r=`${R||`https://api.cxllm.io`}${t.path}`,a={method:t.method,credentials:n.authenticated?`include`:`omit`,headers:{Accept:`application/json`}};t.method===`POST`&&(a.headers={...a.headers,"Content-Type":`application/json`},a.body=JSON.stringify(t.body?t.body(e):e));let o=await fetch(r,a),s=(o.headers.get(`content-type`)||``).includes(`application/json`)?await o.json():await o.text();i.textContent=`// ${o.status} ${o.statusText}\n${typeof s==`string`?s:_(s)}`}catch(e){i.textContent=`// error: ${e instanceof Error?e.message:String(e)}`}})}var H=(()=>{let e=window.location.host;return e.startsWith(`127.0.0.1`)||e.startsWith(`localhost`)?`http://127.0.0.1:8082`:`https://mcp.cxllm.io`})();function we(e){return`
|
|
<div class="cx-dev">
|
|
<aside class="cx-dev-side">
|
|
<header class="cx-dev-side-head">
|
|
<strong>Tools</strong>
|
|
<button type="button" class="cx-icon-btn" data-role="reload-tools" title="Reload">↻</button>
|
|
</header>
|
|
<ul class="cx-dev-ops" data-role="tool-list" aria-label="MCP tools">
|
|
<li class="cx-muted cx-mono">loading…</li>
|
|
</ul>
|
|
</aside>
|
|
<div class="cx-dev-main" data-role="mcp-main">
|
|
<article class="cx-card">
|
|
<header class="cx-card-head">
|
|
<strong>cxai-mcp</strong>
|
|
<span class="cx-muted cx-mono">${g(H)}</span>
|
|
</header>
|
|
<p class="cx-muted">${e.authenticated?`Pick a tool on the left to render its schema-driven form and call it live.`:`Anonymous view. Tools list loads, but invocations need a signed-in session.`}</p>
|
|
</article>
|
|
<article class="cx-card">
|
|
<header class="cx-card-head"><strong>/events tail</strong></header>
|
|
<pre class="cx-output" data-role="events-tail" aria-live="polite">// connecting…</pre>
|
|
</article>
|
|
</div>
|
|
</div>
|
|
`}async function Te(e,t){let n=e.querySelector(`[data-role="tool-list"]`),r=e.querySelector(`[data-role="mcp-main"]`),i=e.querySelector(`[data-role="reload-tools"]`);if(!n||!r)return;await U(n,r,t),i?.addEventListener(`click`,()=>void U(n,r,t));let a=e.querySelector(`[data-role="events-tail"]`);a&&De(a,t)}async function U(e,t,n){try{let r=await fetch(`${H}/tools`,{credentials:n.authenticated?`include`:`omit`,headers:{Accept:`application/json`}});if(!r.ok)throw Error(`status ${r.status}`);let i=await r.json(),a=Array.isArray(i)?i:Array.isArray(i?.tools)?i.tools:[];if(!a.length){e.innerHTML=`<li class="cx-muted cx-mono">no tools registered</li>`;return}e.innerHTML=a.map((e,t)=>`
|
|
<li>
|
|
<button type="button" class="cx-dev-op ${t===0?`is-active`:``}" data-tool="${g(e.name)}">
|
|
<strong>${g(e.name)}</strong>
|
|
<small class="cx-muted">${g(e.description||``)}</small>
|
|
</button>
|
|
</li>
|
|
`).join(``);let o=e.querySelectorAll(`[data-tool]`);o.forEach(e=>{e.addEventListener(`click`,()=>{o.forEach(e=>e.classList.remove(`is-active`)),e.classList.add(`is-active`);let r=a.find(t=>t.name===e.dataset.tool);r&&W(t,r,n)})}),W(t,a[0],n)}catch(t){e.innerHTML=`<li class="cx-muted cx-mono">error: ${g(t instanceof Error?t.message:String(t))}</li>`}}function W(e,t,n){let r=Ee(t),i=n.authenticated;e.innerHTML=`
|
|
<article class="cx-card">
|
|
<header class="cx-card-head">
|
|
<strong>${g(t.name)}</strong>
|
|
<span class="cx-muted cx-mono">POST ${g(H)}/tools/${g(t.name)}</span>
|
|
</header>
|
|
<p class="cx-muted">${g(t.description||``)}</p>
|
|
</article>
|
|
${r.length?`<section class="cx-card">${F(r,`mcp-${t.name}`)}</section>`:``}
|
|
<section class="cx-card">
|
|
<header class="cx-card-head"><strong>Run</strong><span class="cx-muted">${i?"Calls /tools/${name} with your session cookie.":`Sign in to enable.`}</span></header>
|
|
<div class="cx-actions">
|
|
<button type="button" class="cx-btn cx-btn-primary" data-mcp-run="${g(t.name)}" ${i?``:`disabled`}>Invoke</button>
|
|
</div>
|
|
<pre class="cx-output" data-role="mcp-output" aria-live="polite">// Result will appear here.</pre>
|
|
</section>
|
|
`;let a=e.querySelector(`[data-mcp-run]`),o=e.querySelector(`[data-role="mcp-output"]`);a?.addEventListener(`click`,async()=>{if(!o)return;o.textContent=`// Invoking…`;let{values:e,errors:n}=L(`mcp-${t.name}`,r);if(n.length){o.textContent=`// validation:\n${n.join(`
|
|
`)}`;return}try{let n=await fetch(`${H}/tools/${encodeURIComponent(t.name)}`,{method:`POST`,credentials:`include`,headers:{"Content-Type":`application/json`,Accept:`application/json`},body:JSON.stringify(e)}),r=(n.headers.get(`content-type`)||``).includes(`application/json`)?await n.json():await n.text();o.textContent=`// ${n.status} ${n.statusText}\n${typeof r==`string`?r:_(r)}`}catch(e){o.textContent=`// error: ${e instanceof Error?e.message:String(e)}`}})}function Ee(e){let t=e.schema?.properties||{},n=new Set(e.schema?.required||[]);return Object.entries(t).map(([e,t])=>{let r=(t.type||`string`).toLowerCase(),i=`string`;return r===`number`||r===`integer`?i=`number`:r===`boolean`?i=`boolean`:r===`object`||r===`array`?i=`json`:t.enum&&t.enum.length&&(i=`enum`),{name:e,label:e,type:i,required:n.has(e),default:t.default,description:t.description,options:t.enum,rows:i===`json`?6:i===`string`?2:1}})}function De(e,t){try{let n=`${H}/events`,r=new EventSource(n,{withCredentials:t.authenticated}),i=[];e.textContent=`// connected`,r.onmessage=t=>{i.push(`${new Date().toLocaleTimeString()} ${t.data}`),i.length>20&&i.shift(),e.textContent=i.join(`
|
|
`)},r.onerror=()=>{e.textContent+=`\n// stream error (${new Date().toLocaleTimeString()})`,r.close()}}catch(t){e.textContent=`// events unavailable: ${t instanceof Error?t.message:String(t)}`}}function Oe(e,t){let n=e.devPane,r=n===`mcp`?we(t):Se(t);return`
|
|
<section class="cx-page cx-page-developer">
|
|
<header class="cx-page-head">
|
|
<div>
|
|
<p class="cx-eyebrow cx-mono">Developer</p>
|
|
<h1 class="cx-h1">Build against CxLLM</h1>
|
|
<p class="cx-lead">${t.authenticated?`Live, authenticated calls. Forms run against your session.`:`Anonymous view. Snippets only — sign in to run live requests.`}</p>
|
|
</div>
|
|
<div class="cx-seg" role="tablist" aria-label="Developer surface">
|
|
${G(`api`,`API`,n===`api`)}
|
|
${G(`mcp`,`MCP`,n===`mcp`)}
|
|
</div>
|
|
</header>
|
|
<div data-role="dev-pane" data-pane="${g(n)}">${r}</div>
|
|
</section>
|
|
`}async function ke(e,t,n){t.devPane===`mcp`?await Te(e,n):await Ce(e,n)}function G(e,t,n){return`<button type="button" class="cx-seg-btn ${n?`is-active`:``}" data-dev-pane="${g(e)}" role="tab" aria-selected="${n}">${g(t)}</button>`}var K=(()=>{let e=window.location.host;return e.startsWith(`127.0.0.1`)||e.startsWith(`localhost`)?`http://127.0.0.1:8082`:`https://mcp.cxllm.io`})();function Ae(e){return`
|
|
<section class="cx-page cx-page-agent">
|
|
<header class="cx-page-head">
|
|
<div>
|
|
<p class="cx-eyebrow cx-mono">CxAI</p>
|
|
<h1 class="cx-h1">Agent control plane</h1>
|
|
<p class="cx-lead">cxai-mcp sidecar status, registered tools, and recent activity.${e.authenticated?``:` <a href="https://cxllm.io/signin">Sign in</a> for live tool invocations.`}</p>
|
|
</div>
|
|
</header>
|
|
|
|
<section class="cx-panel">
|
|
<header class="cx-panel-head"><h2 class="cx-h2">Status</h2><span class="cx-muted cx-mono" data-role="agent-status-meta">…</span></header>
|
|
<pre class="cx-output" data-role="agent-status">// loading…</pre>
|
|
</section>
|
|
|
|
<section class="cx-panel">
|
|
<header class="cx-panel-head"><h2 class="cx-h2">Tools</h2><small class="cx-muted">Registered with cxai-mcp.</small></header>
|
|
<ul class="cx-list" data-role="agent-tools"><li class="cx-muted cx-mono">loading…</li></ul>
|
|
</section>
|
|
|
|
<section class="cx-panel">
|
|
<header class="cx-panel-head"><h2 class="cx-h2">Activity</h2><small class="cx-muted">/events tail (last 20).</small></header>
|
|
<pre class="cx-output" data-role="agent-events">// connecting…</pre>
|
|
</section>
|
|
</section>
|
|
`}async function je(e,t){let n=e.querySelector(`[data-role="agent-status"]`),r=e.querySelector(`[data-role="agent-status-meta"]`),i=e.querySelector(`[data-role="agent-tools"]`),a=e.querySelector(`[data-role="agent-events"]`);if(n&&r){let e=await w(`${K}/status`,{timeoutMs:4e3});if(r.textContent=e.ok?`${e.status} · ${e.latencyMs}ms`:e.error||`status ${e.status}`,e.ok)try{let e=await fetch(`${K}/status`,{credentials:t.authenticated?`include`:`omit`}),r=await e.json().catch(()=>null);n.textContent=r?_(r):`// status ${e.status}`}catch(e){n.textContent=`// error: ${e instanceof Error?e.message:String(e)}`}else n.textContent=`// unavailable (${e.error||e.status})`}if(i)try{let e=await(await fetch(`${K}/tools`,{credentials:t.authenticated?`include`:`omit`})).json(),n=Array.isArray(e)?e:Array.isArray(e?.tools)?e.tools:[];i.innerHTML=n.length?n.map(e=>`
|
|
<li class="cx-row">
|
|
<strong>${g(e.name)}</strong>
|
|
<small class="cx-muted">${g(e.description||``)}</small>
|
|
</li>
|
|
`).join(``):`<li class="cx-muted cx-mono">no tools registered</li>`}catch(e){i.innerHTML=`<li class="cx-muted cx-mono">error: ${g(e instanceof Error?e.message:String(e))}</li>`}if(a)try{let e=new EventSource(`${K}/events`,{withCredentials:t.authenticated}),n=[];a.textContent=`// connected`,e.onmessage=e=>{n.push(`${new Date().toLocaleTimeString()} ${e.data}`),n.length>20&&n.shift(),a.textContent=n.join(`
|
|
`)},e.onerror=()=>{a.textContent+=`\n// stream error (${new Date().toLocaleTimeString()})`,e.close()}}catch(e){a.textContent=`// events unavailable: ${e instanceof Error?e.message:String(e)}`}}var q,J,Y,X;async function Z(){if((q.target===`members`||q.target===`webapp`)&&!Y.authenticated){Me();return}X.innerHTML=`
|
|
<div class="cx-app-shell">
|
|
${ue(q,Y,J)}
|
|
<main class="cx-workspace">
|
|
${S(q,Y)}
|
|
<div class="cx-workspace-body" data-role="workspace-body">
|
|
${Q()}
|
|
</div>
|
|
</main>
|
|
</div>
|
|
`,Ne(),E(X),await $()}function Q(){switch(q.section){case`services`:return A(q);case`developer`:return Oe(q,Y);case`agent`:return Ae(Y);default:return _e({state:q,session:Y,runtime:J})}}async function $(){let e=X.querySelector(`[data-role="workspace-body"]`);if(e)switch(q.section){case`services`:await j(e);break;case`developer`:await ke(e,q,Y);break;case`agent`:await je(e,Y);break;default:await k(e);break}}function Me(){X.innerHTML=`
|
|
<div class="cx-auth-gate">
|
|
<article class="cx-auth-gate-card">
|
|
<p class="cx-eyebrow cx-mono">CxLLM</p>
|
|
<h1>Sign in to continue</h1>
|
|
<p>The ${q.target===`webapp`?`operator console`:`members workspace`} is protected by Authentik. Sign in to access services, developer tools, and the CxAI agent.</p>
|
|
<a class="cx-btn cx-btn-primary" href="${oe(window.location.href)}">Sign in with Authentik</a>
|
|
<p style="margin-top:16px; font-size:12px;"><a href="https://cxllm.io/">← Back to public landing</a></p>
|
|
</article>
|
|
</div>
|
|
`}function Ne(){X.querySelectorAll(`[data-section]`).forEach(e=>{e.addEventListener(`click`,()=>{let t=e.dataset.section;!t||t===q.section||(q.section=t,te(t),Pe(),Z())})}),X.querySelectorAll(`[data-dev-pane]`).forEach(e=>{e.addEventListener(`click`,()=>{let t=e.dataset.devPane;!t||t===q.devPane||(q.devPane=t,ne(t),Z())})}),X.querySelector(`[data-role="search"]`)?.addEventListener(`input`,e=>{if(q.query=e.currentTarget.value,q.section===`services`){let e=X.querySelector(`[data-role="workspace-body"]`);e&&(e.innerHTML=Q(),$())}}),X.querySelector(`[data-action="toggle-sidebar"]`)?.addEventListener(`click`,()=>{q.sidebarCollapsed=!q.sidebarCollapsed,p(q.sidebarCollapsed),Z()}),document.addEventListener(`keydown`,e=>{(e.metaKey||e.ctrlKey)&&e.key.toLowerCase()===`k`&&(e.preventDefault(),X.querySelector(`[data-role="search"]`)?.focus())},{once:!0})}function Pe(){try{let e=new URL(window.location.href);e.searchParams.set(`section`,q.section),window.history.replaceState(null,``,e)}catch{}}async function Fe(){let e=document.querySelector(`#cxllm-root`);e&&(X=e,q=ee(u(e.dataset.cxTarget)),[Y,J]=await Promise.all([ae(),o()]),await Z(),ge())}Fe(); |