UNPKG

openclaw

Version:

Multi-channel AI gateway with extensible messaging integrations

2 lines • 12.2 kB
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./settings-disclosure-C2Lxm_wL.js","./exec-approval-card-DGfgNbQP.js","./shell-quote-C3pXf1vi.js","./mcp-servers-form-C2o45ohr.js","./mcp-server-status-VHWhzkTL.js","./wizard-login-controller-BMXHpvy8.js","./state-C_Hf0dVB.js","./wizard-runner-4KF7fzfY.js","./wizard-step-controls-Cub-DAGP.js","./channel-picker-BMxuIkk_.js","./presentation-DumN14oJ.js","./_1____________________________.css","./_0____________________________________.css","./exec-approval-card-CKSHrQlk.css","./mcp-servers-form-BF9AgWs6.css","./channel-picker-f46D7XnC.css","./wizard-step-controls-Da3Zxdy_.css","./wizard-login-controller-Cyuh5duS.css","./config-form.node-CrgTELhZ.js","./progressive-list-CF1z_CZ0.js","./json-schema-QgwGaU4v.js","./schema-VvtGzI60.js","./system-CeTchkPd.js","./config-form.node.shared-D-tDfw5e.js","./config-form.search-Z0jyQfrJ.js","./phone-runtime-CzuAxQYL.js","./config-form.render-B4Hi0ZGk.js","./config-form.tiers-MvbiZwtM.js","./route-chrome-styles-3PguhbQm.css","./settings-targets-bvwku6ua.js","./en-transcripts-DRiFUrTi.js","./settings-status-BxjB-cFC.js","./en-plugin-management-D2xHjJYC.js","./en-memory-import-VdMrpSL9.js","./en-cron-1Z0Y8Wk-.js","./memory-panel-BMVVgm25.js","./control-ui-boot-new-pHXPNTZp.js","./control-ui-boot-new-styles-C3bRIOZh.js","./command-discovery-english-zfhZUSVO.js","./composer-invocation-menus-Dvscf6c8.js","./markdown-runtime-CtlJb8xA.js","./gateway-page-runtime-CW2orlv_.js","./control-ui-settings-components.solid-BwajhUcR.js","./control-ui-boot-new-styles-C8rpwVHV.css","./lobster-pet-identity-BPFofFUK.css","./memory-panel-B5CIgRLw.css","./tool-catalog-DSlK3gNp.js","./settings-select-row-DhCp1sjn.js","./en-update-actions-DQoZlnG9.js","./update-run-projection-29zDwPjz.js","./update-run-report-vAIYUOHn.js","./update-run-view-CbjZwaCg.js","./update-run-projection-B0xeyxwt.css","./update-run-view-P7EMAJ-k.css"])))=>i.map(i=>d[i]); import{n as e}from"./rolldown-runtime-CNOWq4Kh.js";import{$u as t,Gr as n,Qu as r,ii as i,qs as a,rc as o,ri as s}from"./_4____________________________.js";import{$k as ee,AN as te,CE as ne,EN as re,FN as ie,GN as c,JN as l,PN as ae,Qk as u,SE as d,SO as oe,bO as f,vO as se}from"./_2_____________________________.js";import{F as p,J as m,O as h,Rt as ce,S as le,U as ue,W as g,d as _,f as v,j as y,m as de,u as fe,w as b,x}from"./_6____________________.js";import{n as S,t as C}from"./en-route-subtitles-CjswZHfJ.js";import{o as w,p as T,w as E,x as D}from"./settings-controls-runtime-CwXZmgDo.js";import{y as O}from"./config-form-utils-runtime-CqcGJa6w.js";import{o as k}from"./config-form-analysis-runtime-oVfDtt-o.js";import{a as A,o as j}from"./route-chrome-Dr9fhzjf.js";import{a as M,o as N,t as P}from"./mcp-schema-DcQIZVvj.js";import{i as F,r as I}from"./memory-schema-BcMM2rqV.js";import{a as L,c as R,i as z,l as pe,n as B,o as me,r as he,s as ge,t as V}from"./view-JgPyRiu3.js";var H;function U(){return(U=e((()=>{ee(),H=[{id:`claw`,name:`Claw`,description:`Signature coral red and teal on charcoal or pale surfaces, with Instrument Sans throughout. A balanced everyday workspace.`},{id:`knot`,name:`Knot`,description:`Crimson accents on true black or clean white, with Geist typography. Sharp, minimal, and high contrast.`},{id:`dash`,name:`Dash`,description:`Toasted caramel on deep cocoa or warm cream, with DM Sans controls and Fraunces serif chat. Warm and bookish.`},{id:`absolutely`,name:`Absolutely`,description:`Terracotta clay on warm graphite or soft cream, with Space Grotesk controls and Lora serif chat. Quiet editorial character.`},{id:`tide`,name:`Tide`,description:`Steel cyan on cool slate or pale blue-gray, with IBM Plex Sans throughout. Calm, technical, and understated.`},{id:`beacon`,name:`Beacon`,description:`High-visibility amber on black or white, bold focus rings, and Atkinson Hyperlegible typography. Designed for maximum readability.`},{id:`phosphor`,name:`Phosphor`,description:`Luminous green on green-tinted black or pale green, with JetBrains Mono throughout. A classic green terminal atmosphere.`},{id:`crt`,name:`CRT`,description:`White phosphor and amber on tube black, with a light counterpart, JetBrains Mono, and nearly square corners. A retro computer console.`},{id:`manuscript`,name:`Manuscript`,description:`Lapis blue and gold on aged paper, with a dark reading-room variant and Lora serif throughout. A quiet illuminated manuscript.`},{id:`rose`,name:`Rosé`,description:`Dried rose and gold on deep plum-gray or soft rose-tinted cream, with DM Sans. Gentle, muted, and warm.`},{id:`miami`,name:`Miami`,description:`Hot magenta and cyan on violet-black or pale lavender, with Space Grotesk. Bright neon energy and a synthwave character.`}].map(e=>Object.assign(e,u(e.id),{source:`builtin`,modes:[`light`,`dark`]}))})))()}function _e(e,t=d(e).activeSection){return e===`updates`?Q.preload():e===`memory`?J.preload():e===`talk`?Z.preload():Promise.all([ge(t),...e===`mcp`?[G.preload()]:[],...e===`security`?[Y.preload()]:[],...e===`communications`&&t===`transcripts`?[q.preload()]:[],...e===`ai-agents`&&t===`session`?[X.preload()]:[]])}function ve(e){switch(e){case`appearance`:return[v(()=>l(`configView.appearance.intro`)),` `,y(w,{url:`https://docs.openclaw.ai/web/control-ui`})];case`mcp`:return[v(()=>l(`subtitles.mcp`)),` `,y(w,{url:`https://docs.openclaw.ai/tools/mcp`})];case`security`:return[v(()=>l(`subtitles.security`)),` `,y(w,{url:`https://docs.openclaw.ai/gateway/security`})];case`talk`:return[v(()=>l(`subtitles.talk`)),` `,y(w,{url:`https://docs.openclaw.ai/nodes/talk`})];default:return s(e)}}function ye(e){let t=()=>e.state.application(),n=t=>y(h,{get when(){return v(()=>e.pageId===`communications`)()&&e.config.activeSection===`transcripts`},get fallback(){return y(h,{get when(){return v(()=>e.pageId===`ai-agents`)()&&e.config.activeSection===`session`},fallback:t,get children(){return y(X,{get mutationDisabled(){return e.state.mutationDisabled()},get advancedExpanded(){return e.config.forceAdvancedSection===`session`||e.routeData?.targetBlockId===`config-section-session`},buildEditor:()=>t})}})},get children(){return y(q,{get mutationDisabled(){return e.state.mutationDisabled()},get advancedExpanded(){return e.config.forceAdvancedSection===`transcripts`||e.routeData?.targetBlockId===`config-section-transcripts`},buildEditor:()=>t})}}),r=y(h,{get when(){return v(()=>!!(e.config.activeSection===`browser`&&f(t().gateway.snapshot)))()?!oe():e.config.activeSection===`browser`&&f(t().gateway.snapshot)},get children(){return y(D,{get title(){return l(`browserLinkPreferences.openInControlUi`)},get checked(){return e.config.openLinksInControlUiBrowser===!0},onChange:t=>e.config.onAppearanceChange({openLinksInControlUiBrowser:t})})}}),i=p(()=>({...e.config,renderSection:n,sectionPrelude:r})),a=(e,t,n=i().schema)=>y(V,m(i,{schema:n,activeSection:e,activeSubsection:null,showModeToggle:!1,embeddedEditor:!0,navRootLabel:t}));return[y(h,{get when(){return e.pageId===`updates`},get children(){return y(Q,{get context(){return t()},get configObject(){return e.configObject},get nowMs(){return e.state.nowMs()},get configBusy(){return e.state.mutationDisabled()},get updateBusy(){return e.state.updateBusy()},get statusRead(){return e.state.updates.read()},get onCheckStatus(){return e.state.updates.refresh},get captureCommandPresentation(){return e.state.updates.captureCommandPresentation}})}}),y(h,{get when(){return e.pageId===`memory`},get children(){return y(J,{get configObject(){return e.configObject},get mutationDisabled(){return e.state.mutationDisabled()},get pluginsHref(){return o(`plugins`,t().basePath)},get memoryImportHref(){return o(`memory-import`,t().basePath)},get routeData(){return e.routeData},get admittedRoute(){return e.state.admittedRoute},buildEditor:()=>a(`memory`,l(`tabs.memory`),F(i().schema))})}}),y(h,{get when(){return e.pageId===`talk`},get children(){return y(Z,{get presentationRetired(){return e.config.presentationRetired},get configObject(){return e.configObject},get mutationDisabled(){return e.state.mutationDisabled()},buildEditor:()=>a(`talk`,l(`tabs.talk`))})}}),y(h,{get when(){return e.pageId===`mcp`},get children(){return y(G,{get editor(){return y(V,m(i,{get schema(){return M(i().schema)},activeSection:`mcp`,activeSubsection:null,showModeToggle:!1,showSectionDocs:!1,embeddedEditor:!0,navRootLabel:`MCP`,get sectionTitle(){return l(`mcpPage.settings`)},get sectionPrelude(){return y(D,{get title(){return l(`mcpPage.apps`)},get description(){return O([`mcp`,`apps`,`enabled`],i().uiHints)?.help},get checked(){return N(i().formValue)},get disabled(){return i().loading||i().saving||i().applying||i().updating||!i().formValue||i().mutationAllowed===!1},onChange:e=>i().onFormPatch([`mcp`,`apps`,`enabled`],e)})}}))},renderServerEditor:(e,t)=>y(b,{get children(){return y(K,{get config(){return i()},server:e,onRenamed:t})}})})}}),y(h,{get when(){return e.pageId===`security`},get children(){return y(Y,{get context(){return t()},get configBusy(){return e.state.mutationDisabled()},get configObject(){return e.configObject},get configLoaded(){return e.config.configLoaded},get gatewayUrl(){return e.config.gatewayUrl},buildEditor:e=>y(V,m(i,{activeSection:null,activeSubsection:null,settingsLayout:`stack`,embeddedEditor:!0,curatedSections:e}))})}}),y(h,{get when(){return![`updates`,`memory`,`talk`,`mcp`,`security`].includes(e.pageId)},get children(){return y(h,{get when(){return e.pageId===`advanced`||e.pageId===`ai-agents`&&e.config.activeSection===`agents`},get fallback(){return y(V,m(i))},get children(){return y(V,m(i,{get progressive(){return!e.routeData?.targetBlockId}}))}})}})]}function be(e){let t,n=ie(),r=R(n,()=>({pageId:e.pageId,routeData:e.routeData}),()=>t);var a=W(),o=a.firstChild,s=o.nextSibling;return de(()=>e=>t=e,a),a._$owner=ce(),_(a,y(h,{get when(){return e.pageId!==`memory`},get children(){return y(T,{get title(){return i(e.pageId,l)},get subtitle(){return ve(e.pageId)}})}}),o),_(a,y(A,{get children(){return y(le,{fallback:(e,t)=>y(he,{get message(){return re(e())},onRetry:t}),get children(){return y(b,{get on(){return e.pageId},get fallback(){return y(z,{get message(){return l(`common.loading`)}})},get children(){return y(ye,{state:r,get pageId(){return e.pageId},get routeData(){return e.routeData},get config(){return r.configProps()},get configObject(){return r.configObject()}})}})}})}}),s),a}function xe(e){return y(h,{get when(){return e.data},children:e=>y(be,{get pageId(){return e().pageId},get routeData(){return e()}})})}var W,G,K,q,J,Y,X,Z,Q;function $(){return($=e((()=>{fe(),ue(),n(),a(),se(),k(),E(),j(),C(),te(),ae(),c(),pe(),ne(),P(),I(),me(),L(),B(),t(),W=x(`<openclaw-config-page><!><!>`,1),S(),G=g(()=>r(()=>import(`./mcp-CzRYn-JN.js`),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17]),import.meta.url),{export:`Mcp`},`src/pages/config/mcp.tsx`),K=g(()=>r(()=>import(`./mcp-server-editor-B0WoMB0p.js`),__vite__mapDeps([18,19,20,21,22,23,24,25,26,27,0,11,12,28]),import.meta.url),{export:`McpServerEditor`},`src/pages/config/mcp-server-editor.tsx`),q=g(()=>r(()=>import(`./meeting-capture-CvPkhu6s.js`),__vite__mapDeps([29,20,21,22,0,30,31,11,12,28]),import.meta.url),{export:`MeetingCaptureSettings`},`src/pages/config/meeting-capture.tsx`),J=g(()=>r(()=>import(`./memory-page-CCDDme6r.js`),__vite__mapDeps([32,33,34,35,36,37,38,39,40,41,42,11,12,28,43,44,45]),import.meta.url),{export:`MemorySettingsPage`},`src/pages/config/memory-page.tsx`),Y=g(()=>r(()=>import(`./security-HSfRgVTD.js`),__vite__mapDeps([41,46,11,12,28]),import.meta.url),{export:`SecurityPage`},`src/pages/config/security.tsx`),X=g(()=>r(()=>import(`./session-storage-B42kcbcA.js`),__vite__mapDeps([29,0,31,11,12]),import.meta.url),{export:`SessionStorageSettings`},`src/pages/config/session-storage.tsx`),Z=g(()=>r(()=>import(`./talk-page-Dtueobl8.js`),__vite__mapDeps([47,11,12,28]),import.meta.url),{export:`TalkSettingsPage`},`src/pages/config/talk-page.tsx`),Q=g(()=>r(()=>import(`./updates-page-CyBgWgMc.js`),__vite__mapDeps([48,49,50,51,11,12,52,53]),import.meta.url),{export:`UpdatesPage`},`src/pages/config/updates-page.tsx`)})))()}export{U as a,H as i,$ as n,_e as r,xe as t};