UNPKG

openclaw

Version:

Multi-channel AI gateway with extensible messaging integrations

1 lines • 881 B
import{n as e}from"./rolldown-runtime-CNOWq4Kh.js";import{_t as t,li as n,oi as r,sr as i,vt as a}from"./_4____________________________.js";import{n as o,t as s}from"./en-plugin-management-D2xHjJYC.js";import{h as c}from"./config-form-utils-runtime-CqcGJa6w.js";import{c as l,o as u}from"./config-form.node.shared-D-tDfw5e.js";function d(e,t){if(t)return`<redacted>`;let r=[e],o=0;for(;r.length;){let e=r.pop();if(++o>1e3||e===`__OPENCLAW_REDACTED__`||l(e)||typeof e==`string`&&a(e)!==e)return`<redacted>`;if(e&&typeof e==`object`){let t=Object.entries(e);if(t.length+r.length+o>1e3||t.some(([e])=>a(e)!==e))return`<redacted>`;r.push(...t.map(([,e])=>e))}}let s=typeof e==`string`?e:JSON.stringify(e);return s===void 0?n(`custodian.pluginHelpUnset`):s.length>512?`${i(s,512)}…`:s}function f(){return(f=e((()=>{t(),u(),r(),s(),c(),o()})))()}f();export{d as formatPluginHelpValue};