dexagent 2026.6.2 → 2026.6.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +19 -130
- package/README.md +47 -471
- package/dist/build-info.json +3 -3
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/control-ui/assets/{activity-iPfLHQZV.js → activity-C_HZe0c-.js} +2 -2
- package/dist/control-ui/assets/{agents-CxLl6gUk.js → agents-CeF1k4Mj.js} +2 -2
- package/dist/control-ui/assets/{channels-Bta6SaYT.js → channels-C3fGrqai.js} +2 -2
- package/dist/control-ui/assets/{cron-WrJMROVi.js → cron-01SXAnEJ.js} +2 -2
- package/dist/control-ui/assets/{debug-qbPU9J5y.js → debug-B8zuijMC.js} +2 -2
- package/dist/control-ui/assets/{index-CMqtK4Ui.js → index-D1Qre842.js} +4 -4
- package/dist/control-ui/assets/{instances-JqYUP-u5.js → instances-izquLPnA.js} +2 -2
- package/dist/control-ui/assets/{nodes-FhxY7Cc1.js → nodes-e5Cze-NX.js} +2 -2
- package/dist/control-ui/assets/{sessions-Bl-n4lmW.js → sessions-BRqy7EPO.js} +2 -2
- package/dist/control-ui/assets/{skill-workshop-C1AL77pw.js → skill-workshop-DHBE6rsG.js} +2 -2
- package/dist/control-ui/assets/{skills-BBNM4ARV.js → skills-BXLJ4lgH.js} +2 -2
- package/dist/control-ui/assets/{usage-BS9V-TP1.js → usage-CrcXmrp7.js} +2 -2
- package/dist/control-ui/assets/{workboard-D6aOg7b0.js → workboard-CnCeQDxS.js} +2 -2
- package/dist/control-ui/index.html +1 -1
- package/dist/control-ui/sw.js +1 -1
- package/dist/extensions/imessage/message-tool-api.d.ts +1 -1
- package/dist/plugin-sdk/.boundary-entry-shims.stamp +1 -1
- package/dist/plugin-sdk/{bundled-channel-config-schema-CHyVartG.d.ts → bundled-channel-config-schema-dEcj4OyK.d.ts} +2 -2
- package/dist/plugin-sdk/bundled-channel-config-schema.d.ts +1 -1
- package/dist/plugin-sdk/channel-config-schema-legacy.d.ts +1 -1
- package/dist/plugin-sdk/discord.d.ts +1 -1
- package/dist/plugin-sdk/scripts/lib/plugin-sdk-doc-metadata.d.ts +125 -0
- package/dist/postinstall-inventory.json +15 -14
- package/package.json +22 -9
- /package/{openclaw.mjs → dex.mjs} +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{m as e,p as t}from"./lit-runtime-BImxIzGR.js";import{o as n,r}from"./string-coerce-CsmDCXq_.js";import{G as i,R as a,V as o,gt as s}from"./index-
|
|
1
|
+
import{m as e,p as t}from"./lit-runtime-BImxIzGR.js";import{o as n,r}from"./string-coerce-CsmDCXq_.js";import{G as i,R as a,V as o,gt as s}from"./index-D1Qre842.js";function c(...e){let t=new Set;for(let n of e){if(!n)continue;if(Array.isArray(n)){for(let e of n){let n=e.trim();n&&t.add(n)}continue}let e=n.trim();e&&t.add(e)}return[...t].toSorted()}function l(e,t){let n=new Set(e);return t.every(e=>n.has(e))}function u(e){return{roles:c(e.roles,e.role),scopes:s(e.scopes)}}function d(e){let t=c(e.roles,e.role),n=Array.isArray(e.tokens)?e.tokens:e.tokens?Object.values(e.tokens):void 0;return{roles:n===void 0?t:c(n.filter(e=>!e.revokedAtMs).flatMap(e=>e.role??[])).filter(e=>t.includes(e)),scopes:s(e.scopes)}}function f(e,t){let n=u(e),r=t?d(t):null;return r?l(r.roles,n.roles)?l(r.scopes,n.scopes)?{kind:`re-approval`,requested:n,approved:r}:{kind:`scope-upgrade`,requested:n,approved:r}:{kind:`role-upgrade`,requested:n,approved:r}:{kind:`new-pairing`,requested:n,approved:null}}function p(e){let t=e?.agents??{},n=Array.isArray(t.list)?t.list:[],i=[];return n.forEach((e,t)=>{if(!e||typeof e!=`object`)return;let n=e,a=r(n.id)??``;if(!a)return;let o=r(n.name),s=n.default===!0;i.push({id:a,name:o,isDefault:s,index:t,record:n})}),i}function m(e,t){let n=new Set(t),i=[];for(let t of e){if(!(Array.isArray(t.commands)?t.commands:[]).some(e=>n.has(String(e))))continue;let e=r(t.nodeId)??``;if(!e)continue;let a=r(t.displayName)??e;i.push({id:e,label:a===e?e:`${a} · ${e}`})}return i.sort((e,t)=>e.label.localeCompare(t.label)),i}var h=`__defaults__`,g=[{value:`deny`,label:`Deny`},{value:`allowlist`,label:`Allowlist`},{value:`full`,label:`Full`}],_=[{value:`off`,label:`Off`},{value:`on-miss`,label:`On miss`},{value:`always`,label:`Always`}];function v(e){return e===`allowlist`||e===`full`||e===`deny`?e:`deny`}function y(e){return e===`always`||e===`off`||e===`on-miss`?e:`on-miss`}function b(e){let t=e?.defaults??{};return{security:v(t.security),ask:y(t.ask),askFallback:v(t.askFallback??`deny`),autoAllowSkills:t.autoAllowSkills??!1}}function x(e){return p(e).map(e=>({id:e.id,name:e.name,isDefault:e.isDefault}))}function S(e,t){let n=x(e),r=Object.keys(t?.agents??{}),i=new Map;n.forEach(e=>i.set(e.id,e)),r.forEach(e=>{i.has(e)||i.set(e,{id:e})});let a=Array.from(i.values());return a.length===0&&a.push({id:`main`,isDefault:!0}),a.sort((e,t)=>{if(e.isDefault&&!t.isDefault)return-1;if(!e.isDefault&&t.isDefault)return 1;let n=e.name?.trim()?e.name:e.id,r=t.name?.trim()?t.name:t.id;return n.localeCompare(r)}),a}function C(e,t){return e===h?h:e&&t.some(t=>t.id===e)?e:h}function w(e){let t=e.execApprovalsForm??e.execApprovalsSnapshot?.file??null,n=!!t,r=b(t),i=S(e.configForm,t),a=j(e.nodes),o=e.execApprovalsTarget,s=o===`node`&&e.execApprovalsTargetNodeId?e.execApprovalsTargetNodeId:null;o===`node`&&s&&!a.some(e=>e.id===s)&&(s=null);let c=C(e.execApprovalsSelectedAgent,i),l=c===h?null:(t?.agents??{})[c]??null,u=Array.isArray(l?.allowlist)?l.allowlist??[]:[];return{ready:n,disabled:e.execApprovalsSaving||e.execApprovalsLoading,dirty:e.execApprovalsDirty,loading:e.execApprovalsLoading,saving:e.execApprovalsSaving,form:t,defaults:r,selectedScope:c,selectedAgent:l,agents:i,allowlist:u,target:o,targetNodeId:s,targetNodes:a,onSelectScope:e.onExecApprovalsSelectAgent,onSelectTarget:e.onExecApprovalsTargetChange,onPatch:e.onExecApprovalsPatch,onRemove:e.onExecApprovalsRemove,onLoad:e.onLoadExecApprovals,onSave:e.onSaveExecApprovals}}function T(r){let i=r.ready,a=r.target!==`node`||!!r.targetNodeId;return e`
|
|
2
2
|
<section class="card">
|
|
3
3
|
<div class="row" style="justify-content: space-between; align-items: center;">
|
|
4
4
|
<div>
|
|
@@ -433,4 +433,4 @@ import{m as e,p as t}from"./lit-runtime-BImxIzGR.js";import{o as n,r}from"./stri
|
|
|
433
433
|
</div>
|
|
434
434
|
</div>
|
|
435
435
|
`}export{M as renderNodes};
|
|
436
|
-
//# sourceMappingURL=nodes-
|
|
436
|
+
//# sourceMappingURL=nodes-e5Cze-NX.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{m as e,p as t}from"./lit-runtime-BImxIzGR.js";import{o as n,r,t as i}from"./string-coerce-CsmDCXq_.js";import{G as a,L as o,W as s,at as c,d as l,f as u,h as d,m as f,pt as p,s as m,u as h,v as g}from"./index-
|
|
1
|
+
import{m as e,p as t}from"./lit-runtime-BImxIzGR.js";import{o as n,r,t as i}from"./string-coerce-CsmDCXq_.js";import{G as a,L as o,W as s,at as c,d as l,f as u,h as d,m as f,pt as p,s as m,u as h,v as g}from"./index-D1Qre842.js";var _=[`off`,`minimal`,`low`,`medium`,`high`],v=[``,`off`,`on`,`full`],y=[``,`on`,`off`],b=[``,`off`,`on`,`stream`],x=[10,25,50,100];function S(e,t){return Object.hasOwn(e,t)?e[t]??null:null}function C(e,t){return(!e.modelProvider||e.modelProvider===t?.modelProvider)&&(!e.model||e.model===t?.model)}function ee(e,t){let n=C(e,t),r=h(e.thinkingDefault??(n?t?.thinkingDefault:void 0)),i=e.thinkingLevels?.length?e.thinkingLevels:n&&t?.thinkingLevels?.length?t.thinkingLevels:(e.thinkingOptions?.length?e.thinkingOptions:n&&t?.thinkingOptions?.length?t.thinkingOptions:_).map(e=>({id:u(e),label:e}));return[{value:``,label:r},...i.map(e=>({value:u(e.id),label:l(e.id,e.label)}))]}function te(e,t){return!t||e.includes(t)?[...e]:[...e,t]}function w(e,t){return!t||e.some(e=>e.value===t)?[...e]:[...e,{value:t,label:l(t)}]}function ne(){return v.map(e=>({value:e,label:n(e===``?`sessionsView.inherit`:e===`off`?`sessionsView.offExplicit`:`sessionsView.${e}`)}))}function re(){return y.map(e=>({value:e,label:n(e===``?`sessionsView.inherit`:`sessionsView.${e}`)}))}function T(e){switch(e){case`running`:return n(`sessionsView.statusRunning`);case`done`:return n(`sessionsView.statusDone`);case`failed`:return n(`sessionsView.statusFailed`);case`killed`:return n(`sessionsView.statusKilled`);case`timeout`:return n(`sessionsView.statusTimeout`);default:return n(`sessionsView.statusUnknown`)}}function E(e){if(o(e))return{label:n(`sessionsView.statusLive`),tone:`live`};if(e.status===`running`&&e.hasActiveRun===!1)return{label:n(`sessionsView.statusIdle`),tone:`idle`};if(e.status){let t=e.status===`done`?`done`:`failed`;return{label:T(e.status),tone:t}}return e.hasActiveRun===!1?{label:n(`sessionsView.statusIdle`),tone:`idle`}:{label:n(`sessionsView.statusUnknown`),tone:`muted`}}function D(t){let r=E(t),i=`${n(`sessionsView.status`)}: ${r.label}`;return e`
|
|
2
2
|
<span
|
|
3
3
|
class="session-status-badge session-status-badge--${r.tone}"
|
|
4
4
|
title=${i}
|
|
@@ -422,4 +422,4 @@ import{m as e,p as t}from"./lit-runtime-BImxIzGR.js";import{o as n,r,t as i}from
|
|
|
422
422
|
</div>
|
|
423
423
|
</td>
|
|
424
424
|
</tr>`]:[]]}export{V as renderSessions};
|
|
425
|
-
//# sourceMappingURL=sessions-
|
|
425
|
+
//# sourceMappingURL=sessions-BRqy7EPO.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{d as e,f as t,g as n,i as r,l as i,m as a,p as o,t as s}from"./lit-runtime-BImxIzGR.js";import{p as c,v as l}from"./index-
|
|
1
|
+
import{d as e,f as t,g as n,i as r,l as i,m as a,p as o,t as s}from"./lit-runtime-BImxIzGR.js";import{p as c,v as l}from"./index-D1Qre842.js";var u=class extends t{constructor(...e){super(...e),this.files=[],this.activePath=``,this.query=``,this.label=`Support files`,this.listLabel=`Files`,this.searchPlaceholder=`Search files...`,this.contextLabel=``,this.readOnlyLabel=`read-only`,this.emptyTitle=`No files match`,this.emptySubtitle=`Try another file name or content search.`,this.handleQueryInput=e=>{let t=e.target.value??``;this.dispatchEvent(new CustomEvent(`file-preview-query-change`,{bubbles:!0,composed:!0,detail:t}))},this.preventItemPointerFocus=e=>{e.preventDefault()},this.handleKeydown=e=>{switch(e.key){case`Escape`:e.preventDefault(),e.stopPropagation(),this.emitClose();return;case`ArrowDown`:this.moveSelection(1,e);return;case`ArrowUp`:this.moveSelection(-1,e);default:}},this.emitClose=()=>{this.dispatchEvent(new CustomEvent(`file-preview-close`,{bubbles:!0,composed:!0}))}}static{this.styles=n`
|
|
2
2
|
:host {
|
|
3
3
|
position: fixed;
|
|
4
4
|
inset: 0;
|
|
@@ -842,4 +842,4 @@ import{d as e,f as t,g as n,i as r,l as i,m as a,p as o,t as s}from"./lit-runtim
|
|
|
842
842
|
`),i=[]}};for(let e of t){let t=e.trimEnd();if(t.startsWith("```")){c(),l(),o?(n.push(a`<pre>${s.join(`
|
|
843
843
|
`)}</pre>`),s=[],o=!1):o=!0;continue}if(o){s.push(e);continue}if(t===``){c(),l();continue}if(t.startsWith(`## `)){c(),l(),n.push(a`<h3>${t.slice(3)}</h3>`);continue}if(t.startsWith(`# `)){c(),l(),n.push(a`<h3>${t.slice(2)}</h3>`);continue}let u=/^\d+\.\s+(.+)/.exec(t);if(u){c(),i.push(u[1]);continue}r.push(t)}return c(),l(),o&&s.length&&n.push(a`<pre>${s.join(`
|
|
844
844
|
`)}</pre>`),n}function K(e){let t=[],n=/(`[^`]+`|\*\*[^*]+\*\*)/g,r=0,i;for(;i=n.exec(e);){i.index>r&&t.push(e.slice(r,i.index));let n=i[0];n.startsWith("`")?t.push(a`<code>${n.slice(1,-1)}</code>`):t.push(a`<strong>${n.slice(2,-2)}</strong>`),r=i.index+n.length}return r<e.length&&t.push(e.slice(r)),t}function q(e,t,n){let r=n.trim().toLowerCase();return e.filter(e=>!(t!==`all`&&e.status!==t||r&&!`${e.name} ${e.oneLine} ${e.slug}`.toLowerCase().includes(r)))}function J(e){let t=new Map;for(let n of e){let e=t.get(n.recencyGroup)??[];e.push(n),t.set(n.recencyGroup,e)}return[`today`,`yesterday`,`earlier`].filter(e=>t.has(e)).map(e=>({label:v[e],items:t.get(e)??[]}))}function Y(e){return e.error?`Could not load proposals.`:e.loading?`Loading proposals…`:e.statusFilter===`all`?`No proposals match the current filter.`:`No ${h[e.statusFilter].toLowerCase()} proposals.`}function X(e){let t=Math.max(0,Date.now()-e),n=Math.floor(t/1e3);if(n<60)return`${n}s ago`;let r=Math.floor(n/60);if(r<60)return`${r} minutes ago`;let i=Math.floor(r/60);if(i<24)return`${i}h ago`;let a=Math.floor(i/24);return a<7?`${a}d ago`:new Date(e).toLocaleDateString()}export{q as filterSkillWorkshopProposals,y as renderSkillWorkshop};
|
|
845
|
-
//# sourceMappingURL=skill-workshop-
|
|
845
|
+
//# sourceMappingURL=skill-workshop-DHBE6rsG.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{m as e,o as t,p as n,r}from"./lit-runtime-BImxIzGR.js";import{o as i,t as a}from"./string-coerce-CsmDCXq_.js";import{P as o,R as s,_ as c,g as l}from"./index-
|
|
1
|
+
import{m as e,o as t,p as n,r}from"./lit-runtime-BImxIzGR.js";import{o as i,t as a}from"./string-coerce-CsmDCXq_.js";import{P as o,R as s,_ as c,g as l}from"./index-D1Qre842.js";import{i as u,n as d,r as f,t as p}from"./skills-shared-CNlkuf6o.js";function m(e){return e?l(e,window.location.href):null}function h(e){!(e instanceof HTMLDialogElement)||e.open||(e.isConnected?e.showModal():queueMicrotask(()=>{e.isConnected&&!e.open&&e.showModal()}))}var g=[{id:`all`,label:`All`},{id:`ready`,label:`Ready`},{id:`needs-setup`,label:`Needs Setup`},{id:`disabled`,label:`Disabled`}];function _(e,t){switch(t){case`all`:return!0;case`ready`:return!e.disabled&&e.eligible;case`needs-setup`:return!e.disabled&&!e.eligible;case`disabled`:return e.disabled}throw Error(`Unsupported skills status filter`)}function v(e){return e.disabled?`muted`:e.eligible?`ok`:`warn`}function y(e,t){let n=e.clawhub;return!n||n.status!==`linked`||!n.valid?null:t[o({registry:n.registry,slug:n.slug,version:n.installedVersion})]??null}function b(e){if(!e)return`Unavailable`;let t=e.securityStatus?.trim()||null;return e.ok&&e.decision===`pass`?t===`clean`||!t?`Clean`:t:t===`pending`||t===`not-run`?`Pending`:t===`malicious`?`Blocked`:t===`suspicious`?`Review`:`Unavailable`}function x(e){if(!e)return`chip-warn`;if(e.ok&&e.decision===`pass`)return`chip-ok`;let t=e.securityStatus?.trim()||null;return t===`pending`||t===`not-run`?`chip`:`chip-warn`}function S(t){let r=t.report?.skills??[],o={all:r.length,ready:0,"needs-setup":0,disabled:0};for(let e of r)e.disabled?o.disabled++:e.eligible?o.ready++:o[`needs-setup`]++;let s=t.statusFilter===`all`?r:r.filter(e=>_(e,t.statusFilter)),c=a(t.filter),l=c?s.filter(e=>a([e.name,e.description,e.source].join(` `)).includes(c)):s,d=u(l),f=t.detailKey?r.find(e=>e.skillKey===t.detailKey)??null:null;return e`
|
|
2
2
|
<section class="card">
|
|
3
3
|
<div class="row" style="justify-content: space-between;">
|
|
4
4
|
<div>
|
|
@@ -355,4 +355,4 @@ import{m as e,o as t,p as n,r}from"./lit-runtime-BImxIzGR.js";import{o as i,t as
|
|
|
355
355
|
${r(c(a))}
|
|
356
356
|
</article>
|
|
357
357
|
`}export{S as renderSkills};
|
|
358
|
-
//# sourceMappingURL=skills-
|
|
358
|
+
//# sourceMappingURL=skills-BXLJ4lgH.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{h as e,m as t,p as n}from"./lit-runtime-BImxIzGR.js";import{o as r,t as i}from"./string-coerce-CsmDCXq_.js";import{B as a,H as o,J as s,K as c,U as l,yt as u}from"./index-
|
|
1
|
+
import{h as e,m as t,p as n}from"./lit-runtime-BImxIzGR.js";import{o as r,t as i}from"./string-coerce-CsmDCXq_.js";import{B as a,H as o,J as s,K as c,U as l,yt as u}from"./index-D1Qre842.js";function d(e){return!e||e.status!==`refreshing`&&e.status!==`stale`&&e.status!==`partial`?null:r(`usage.cacheStatus.title`,{status:r(`usage.cacheStatus.status.${e.status}`),pending:String(e.pendingFiles),stale:String(e.staleFiles),cached:String(e.cachedFiles)})}var f=new Set([`agent`,`channel`,`chat`,`provider`,`model`,`tool`,`label`,`key`,`session`,`id`,`has`,`mintokens`,`maxtokens`,`mincost`,`maxcost`,`minmessages`,`maxmessages`]),p=e=>i(e),m=e=>{let t=e.replace(/[.+^${}()|[\]\\]/g,`\\$&`).replace(/\*/g,`.*`).replace(/\?/g,`.`);return RegExp(`^${t}$`,`i`)},h=e=>{let t=i(e);if(!t)return null;t.startsWith(`$`)&&(t=t.slice(1));let n=1;if(t.endsWith(`k`)?(n=1e3,t=t.slice(0,-1)):t.endsWith(`m`)&&(n=1e6,t=t.slice(0,-1)),!/^\d+(?:\.\d+)?$/.test(t))return null;let r=Number(t)*n;return!Number.isFinite(r)||!Number.isSafeInteger(Math.round(r))?null:r},g=e=>(e.match(/"[^"]+"|\S+/g)??[]).map(e=>{let t=e.replace(/^"|"$/g,``),n=t.indexOf(`:`);return n>0?{key:t.slice(0,n),value:t.slice(n+1),raw:t}:{value:t,raw:t}}),_=e=>[e.label,e.key,e.sessionId].filter(e=>!!e).map(e=>i(e)),v=e=>{let t=new Set;e.modelProvider&&t.add(i(e.modelProvider)),e.providerOverride&&t.add(i(e.providerOverride)),e.origin?.provider&&t.add(i(e.origin.provider));for(let n of e.usage?.modelUsage??[])n.provider&&t.add(i(n.provider));return Array.from(t)},y=e=>{let t=new Set;e.model&&t.add(i(e.model));for(let n of e.usage?.modelUsage??[])n.model&&t.add(i(n.model));return Array.from(t)},b=e=>(e.usage?.toolUsage?.tools??[]).map(e=>i(e.name)),x=(e,t)=>{let n=p(t.value??``);if(!n)return!0;if(!t.key)return _(e).some(e=>e.includes(n));switch(p(t.key)){case`agent`:return i(e.agentId).includes(n);case`channel`:return i(e.channel).includes(n);case`chat`:return i(e.chatType).includes(n);case`provider`:return v(e).some(e=>e.includes(n));case`model`:return y(e).some(e=>e.includes(n));case`tool`:return b(e).some(e=>e.includes(n));case`label`:return i(e.label).includes(n);case`key`:case`session`:case`id`:if(n.includes(`*`)||n.includes(`?`)){let t=m(n);return t.test(e.key)||(e.sessionId?t.test(e.sessionId):!1)}return i(e.key).includes(n)||i(e.sessionId).includes(n);case`has`:switch(n){case`tools`:return(e.usage?.toolUsage?.totalCalls??0)>0;case`errors`:return(e.usage?.messageCounts?.errors??0)>0;case`context`:return!!e.contextWeight;case`usage`:return!!e.usage;case`model`:return y(e).length>0;case`provider`:return v(e).length>0;default:return!0}case`mintokens`:{let t=h(n);return t===null?!0:(e.usage?.totalTokens??0)>=t}case`maxtokens`:{let t=h(n);return t===null?!0:(e.usage?.totalTokens??0)<=t}case`mincost`:{let t=h(n);return t===null?!0:(e.usage?.totalCost??0)>=t}case`maxcost`:{let t=h(n);return t===null?!0:(e.usage?.totalCost??0)<=t}case`minmessages`:{let t=h(n);return t===null?!0:(e.usage?.messageCounts?.total??0)>=t}case`maxmessages`:{let t=h(n);return t===null?!0:(e.usage?.messageCounts?.total??0)<=t}default:return!0}},ee=(e,t)=>{let n=g(t);if(n.length===0)return{sessions:e,warnings:[]};let r=[];for(let e of n){if(!e.key)continue;let t=p(e.key);if(!f.has(t)){r.push(`Unknown filter: ${e.key}`);continue}if(e.value===``&&r.push(`Missing value for ${e.key}`),t===`has`){let t=new Set([`tools`,`errors`,`context`,`usage`,`model`,`provider`]);e.value&&!t.has(p(e.value))&&r.push(`Unknown has:${e.value}`)}[`mintokens`,`maxtokens`,`mincost`,`maxcost`,`minmessages`,`maxmessages`].includes(t)&&e.value&&h(e.value)===null&&r.push(`Invalid number for ${e.key}`)}return{sessions:e.filter(e=>n.every(t=>x(e,t))),warnings:r}};function S(e){let t=e.split(`
|
|
2
2
|
`),n=new Map,r=[];for(let e of t){let t=/^\[Tool:\s*([^\]]+)\]/.exec(e.trim());if(t){let e=t[1];n.set(e,(n.get(e)??0)+1);continue}e.trim().startsWith(`[Tool Result]`)||r.push(e)}let i=Array.from(n.entries()).toSorted((e,t)=>t[1]-e[1]),a=i.reduce((e,[,t])=>e+t,0);return{tools:i,summary:i.length>0?`Tools: ${i.map(([e,t])=>`${e}×${t}`).join(`, `)} (${a} calls)`:``,cleanContent:r.join(`
|
|
3
3
|
`).trim()}}function C(e,t){!t||t.count<=0||(e.count+=t.count,e.sum+=t.avgMs*t.count,e.min=Math.min(e.min,t.minMs),e.max=Math.max(e.max,t.maxMs),e.p95Max=Math.max(e.p95Max,t.p95Ms))}function w(e,t){for(let n of t??[]){let t=e.get(n.date)??{date:n.date,count:0,sum:0,min:1/0,max:0,p95Max:0};t.count+=n.count,t.sum+=n.avgMs*n.count,t.min=Math.min(t.min,n.minMs),t.max=Math.max(t.max,n.maxMs),t.p95Max=Math.max(t.p95Max,n.p95Ms),e.set(n.date,t)}}function T(e){return{byChannel:Array.from(e.byChannelMap.entries()).map(([e,t])=>({channel:e,totals:t})).toSorted((e,t)=>t.totals.totalCost-e.totals.totalCost),latency:e.latencyTotals.count>0?{count:e.latencyTotals.count,avgMs:e.latencyTotals.sum/e.latencyTotals.count,minMs:e.latencyTotals.min===1/0?0:e.latencyTotals.min,maxMs:e.latencyTotals.max,p95Ms:e.latencyTotals.p95Max}:void 0,dailyLatency:Array.from(e.dailyLatencyMap.values()).map(e=>({date:e.date,count:e.count,avgMs:e.count?e.sum/e.count:0,minMs:e.min===1/0?0:e.min,maxMs:e.max,p95Ms:e.p95Max})).toSorted((e,t)=>e.date.localeCompare(t.date)),modelDaily:Array.from(e.modelDailyMap.values()).toSorted((e,t)=>e.date.localeCompare(t.date)||t.cost-e.cost),daily:Array.from(e.dailyMap.values()).toSorted((e,t)=>e.date.localeCompare(t.date))}}var E=4;function D(e){return Math.round(e/E)}function O(e){return e>=1e6?`${(e/1e6).toFixed(1)}M`:e>=1e3?`${(e/1e3).toFixed(1)}K`:String(e)}function k(e){let t=new Date;return t.setHours(e,0,0,0),t.toLocaleTimeString(void 0,{hour:`numeric`})}function A(e,t,n){let r=e.usage;if(!r)return!1;let i=r.firstActivity??e.updatedAt,a=r.lastActivity??e.updatedAt;if(!i||!a)return!1;let o=Math.min(i,a),s=Math.max(i,a),c=Math.max(s-o,1)/6e4,l=o;for(;l<s;){let e=new Date(l),i=F(e,t),a=Math.min(i.getTime(),s),o=Math.max((a-l)/6e4,0);n({usage:r,hour:j(e,t),weekday:M(e,t),share:o/c}),l=a+1}return!0}function te(e,t){let n=Array.from({length:24},()=>0),a=Array.from({length:24},()=>0);for(let r of e){let e=r.usage;if(!(!e?.messageCounts||e.messageCounts.total===0)){if(e.utcQuarterHourMessageCounts&&e.utcQuarterHourMessageCounts.length>0){for(let r of e.utcQuarterHourMessageCounts){let e=P(r.date,r.quarterIndex,t);e&&(n[e.hour]+=r.errors,a[e.hour]+=r.total)}continue}A(r,t,({hour:t,share:r})=>{n[t]+=e.messageCounts.errors*r,a[t]+=e.messageCounts.total*r})}}return a.map((e,t)=>{let r=n[t];return{hour:t,rate:e>0?r/e:0,errors:r,msgs:e}}).filter(e=>e.msgs>0&&e.errors>0).toSorted((e,t)=>t.rate-e.rate).slice(0,5).map(e=>({label:k(e.hour),value:`${(e.rate*100).toFixed(2)}%`,sub:`${Math.round(e.errors)} ${i(r(`usage.overview.errors`))} · ${Math.round(e.msgs)} ${r(`usage.overview.messagesAbbrev`)}`}))}function j(e,t){return t===`utc`?e.getUTCHours():e.getHours()}function M(e,t){return t===`utc`?e.getUTCDay():e.getDay()}function N(e,t){let n=/^(\d{4})-(\d{2})-(\d{2})$/.exec(e);if(!n||!Number.isInteger(t)||t<0||t>95)return null;let[,r,i,a]=n,o=Number(r),s=Number(i),c=Number(a),l=new Date(Date.UTC(o,s-1,c,0,t*15));return Number.isNaN(l.valueOf())||l.getUTCFullYear()!==o||l.getUTCMonth()!==s-1||l.getUTCDate()!==c?null:l}function P(e,t,n){let r=N(e,t);return r?{hour:j(r,n),weekday:M(r,n)}:null}function F(e,t){let n=new Date(e);return t===`utc`?n.setUTCMinutes(59,59,999):n.setMinutes(59,59,999),n}function I(e,t,n){let r=e.usage?.utcQuarterHourTokenUsage;if(!r||r.length===0)return!1;let i=!1;for(let e of r){if(e.totalTokens<=0)continue;let r=P(e.date,e.quarterIndex,t);r&&(i=!0,n({hour:r.hour,weekday:r.weekday,tokens:e.totalTokens}))}return i}function L(e,t,n){let r=e.usage,i=r?.firstActivity??e.updatedAt,a=r?.lastActivity??e.updatedAt;if(!i||!a)return!1;let o=Math.min(i,a),s=Math.max(i,a),c=o;for(;c<=s;){let e=new Date(c),r=j(e,n);if(t.includes(r))return!0;let i=F(e,n);c=Math.min(i.getTime(),s)+1}return!1}function ne(e,t,n){if(t.length===0)return!0;let r=!1;return I(e,n,({hour:e})=>{t.includes(e)&&(r=!0)})?r:L(e,t,n)}function R(e,t){let n=Array.from({length:24},()=>0),i=Array.from({length:7},()=>0),a=0,o=!1;for(let r of e){let e=r.usage;if(!(!e||!e.totalTokens||e.totalTokens<=0)){if(a+=e.totalTokens,I(r,t,({hour:e,weekday:t,tokens:r})=>{n[e]+=r,i[t]+=r})){o=!0;continue}A(r,t,({usage:e,hour:t,weekday:r,share:a})=>{n[t]+=e.totalTokens*a,i[r]+=e.totalTokens*a})&&(o=!0)}}let s=[r(`usage.mosaic.sun`),r(`usage.mosaic.mon`),r(`usage.mosaic.tue`),r(`usage.mosaic.wed`),r(`usage.mosaic.thu`),r(`usage.mosaic.fri`),r(`usage.mosaic.sat`)].map((e,t)=>({label:e,tokens:i[t]}));return{hasData:o,totalTokens:a,hourTotals:n,weekdayTotals:s}}function re(e,n,a,o){let s=R(e,n);if(!s.hasData)return t`
|
|
4
4
|
<div class="card usage-mosaic">
|
|
@@ -1267,4 +1267,4 @@ import{h as e,m as t,p as n}from"./lit-runtime-BImxIzGR.js";import{o as r,t as i
|
|
|
1267
1267
|
`}
|
|
1268
1268
|
</div>
|
|
1269
1269
|
`}export{it as renderUsage};
|
|
1270
|
-
//# sourceMappingURL=usage-
|
|
1270
|
+
//# sourceMappingURL=usage-CrcXmrp7.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{m as e,p as t}from"./lit-runtime-BImxIzGR.js";import{o as n}from"./string-coerce-CsmDCXq_.js";import{A as r,C as i,D as a,E as o,M as s,N as c,O as l,S as u,T as d,b as f,j as p,k as m,v as h,w as g,x as _,y as v,z as y}from"./index-
|
|
1
|
+
import{m as e,p as t}from"./lit-runtime-BImxIzGR.js";import{o as n}from"./string-coerce-CsmDCXq_.js";import{A as r,C as i,D as a,E as o,M as s,N as c,O as l,S as u,T as d,b as f,j as p,k as m,v as h,w as g,x as _,y as v,z as y}from"./index-D1Qre842.js";var b=[{id:`bugfix`,title:`Fix: `,notes:`Symptom:
|
|
2
2
|
Cause:
|
|
3
3
|
Acceptance:
|
|
4
4
|
Proof:`,labels:`fix, test`,priority:`high`},{id:`docs`,title:`Docs: `,notes:`Page:
|
|
@@ -620,4 +620,4 @@ Tests:`,labels:`plugin`,priority:`normal`}];function x(e){return n(`workboard.st
|
|
|
620
620
|
</div>
|
|
621
621
|
</section>
|
|
622
622
|
`}export{pe as renderWorkboard};
|
|
623
|
-
//# sourceMappingURL=workboard-
|
|
623
|
+
//# sourceMappingURL=workboard-CnCeQDxS.js.map
|
|
@@ -195,7 +195,7 @@
|
|
|
195
195
|
color: #0369a1;
|
|
196
196
|
}
|
|
197
197
|
</style>
|
|
198
|
-
<script type="module" crossorigin src="./assets/index-
|
|
198
|
+
<script type="module" crossorigin src="./assets/index-D1Qre842.js"></script>
|
|
199
199
|
<link rel="modulepreload" crossorigin href="./assets/rolldown-runtime-QTnfLwEv.js">
|
|
200
200
|
<link rel="modulepreload" crossorigin href="./assets/string-coerce-CsmDCXq_.js">
|
|
201
201
|
<link rel="modulepreload" crossorigin href="./assets/lit-runtime-BImxIzGR.js">
|
package/dist/control-ui/sw.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// Handles offline caching and push notifications.
|
|
3
3
|
|
|
4
4
|
const CACHE_PREFIX = "openclaw-control-";
|
|
5
|
-
const EMBEDDED_CACHE_VERSION = "2026.6.
|
|
5
|
+
const EMBEDDED_CACHE_VERSION = "2026.6.3-ff8762d12612";
|
|
6
6
|
const URL_CACHE_VERSION = new URL(self.location.href).searchParams
|
|
7
7
|
.get("v")
|
|
8
8
|
?.replace(/[^a-zA-Z0-9._-]/g, "-");
|
|
@@ -5,7 +5,7 @@ declare function describeIMessageMessageTool({
|
|
|
5
5
|
accountId,
|
|
6
6
|
currentChannelId
|
|
7
7
|
}: Parameters<NonNullable<ChannelMessageActionAdapter["describeMessageTool"]>>[0]): {
|
|
8
|
-
actions: ("search" | "permissions" | "timeout" | "reply" | "
|
|
8
|
+
actions: ("search" | "permissions" | "timeout" | "reply" | "broadcast" | "reactions" | "poll" | "send" | "poll-vote" | "react" | "read" | "edit" | "unsend" | "sendWithEffect" | "renameGroup" | "setGroupIcon" | "addParticipant" | "removeParticipant" | "leaveGroup" | "sendAttachment" | "delete" | "pin" | "unpin" | "list-pins" | "thread-create" | "thread-list" | "thread-reply" | "sticker" | "sticker-search" | "member-info" | "role-info" | "emoji-list" | "emoji-upload" | "sticker-upload" | "role-add" | "role-remove" | "channel-info" | "channel-list" | "channel-create" | "channel-edit" | "channel-delete" | "channel-move" | "category-create" | "category-edit" | "category-delete" | "topic-create" | "topic-edit" | "voice-status" | "event-list" | "event-create" | "kick" | "ban" | "set-profile" | "set-presence" | "download-file" | "upload-file")[];
|
|
9
9
|
} | null;
|
|
10
10
|
//#endregion
|
|
11
11
|
export { describeIMessageMessageTool as describeMessageTool };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
2026-06-
|
|
1
|
+
2026-06-05T11:33:33.444Z
|
|
@@ -2854,8 +2854,8 @@ declare const GoogleChatConfigSchema: z.ZodObject<{
|
|
|
2854
2854
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
2855
2855
|
}, z.core.$strict>>;
|
|
2856
2856
|
typingIndicator: z.ZodOptional<z.ZodEnum<{
|
|
2857
|
-
message: "message";
|
|
2858
2857
|
none: "none";
|
|
2858
|
+
message: "message";
|
|
2859
2859
|
reaction: "reaction";
|
|
2860
2860
|
}>>;
|
|
2861
2861
|
responsePrefix: z.ZodOptional<z.ZodString>;
|
|
@@ -2963,8 +2963,8 @@ declare const GoogleChatConfigSchema: z.ZodObject<{
|
|
|
2963
2963
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
2964
2964
|
}, z.core.$strict>>;
|
|
2965
2965
|
typingIndicator: z.ZodOptional<z.ZodEnum<{
|
|
2966
|
-
message: "message";
|
|
2967
2966
|
none: "none";
|
|
2967
|
+
message: "message";
|
|
2968
2968
|
reaction: "reaction";
|
|
2969
2969
|
}>>;
|
|
2970
2970
|
responsePrefix: z.ZodOptional<z.ZodString>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { a as GroupPolicySchema, c as ReplyRuntimeConfigSchemaShape, i as DmPolicySchema, m as requireOpenAllowFrom, n as ContextVisibilityModeSchema, o as MarkdownConfigSchema, p as requireAllowlistAllowFrom, r as DmConfigSchema, t as BlockStreamingCoalesceSchema } from "./zod-schema.core-BsBGROgp.js";
|
|
2
2
|
import { t as ToolPolicySchema } from "./zod-schema.agent-runtime-DWbjdB_w.js";
|
|
3
3
|
import { a as buildNestedDmConfigSchema, n as buildCatchallMultiAccountChannelSchema, r as buildChannelConfigSchema, t as AllowFromListSchema } from "./config-schema-D7cABQ6o.js";
|
|
4
|
-
import { a as MSTeamsConfigSchema, c as TelegramConfigSchema, i as IMessageConfigSchema, n as GoogleChatConfigSchema, o as SignalConfigSchema, r as DiscordConfigSchema, s as SlackConfigSchema, t as WhatsAppConfigSchema } from "./bundled-channel-config-schema-
|
|
4
|
+
import { a as MSTeamsConfigSchema, c as TelegramConfigSchema, i as IMessageConfigSchema, n as GoogleChatConfigSchema, o as SignalConfigSchema, r as DiscordConfigSchema, s as SlackConfigSchema, t as WhatsAppConfigSchema } from "./bundled-channel-config-schema-dEcj4OyK.js";
|
|
5
5
|
export { AllowFromListSchema, BlockStreamingCoalesceSchema, ContextVisibilityModeSchema, DiscordConfigSchema, DmConfigSchema, DmPolicySchema, GoogleChatConfigSchema, GroupPolicySchema, IMessageConfigSchema, MSTeamsConfigSchema, MarkdownConfigSchema, ReplyRuntimeConfigSchemaShape, SignalConfigSchema, SlackConfigSchema, TelegramConfigSchema, ToolPolicySchema, WhatsAppConfigSchema, buildCatchallMultiAccountChannelSchema, buildChannelConfigSchema, buildNestedDmConfigSchema, requireAllowlistAllowFrom, requireOpenAllowFrom };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { a as GroupPolicySchema, c as ReplyRuntimeConfigSchemaShape, i as DmPolicySchema, m as requireOpenAllowFrom, n as ContextVisibilityModeSchema, o as MarkdownConfigSchema, p as requireAllowlistAllowFrom, r as DmConfigSchema, t as BlockStreamingCoalesceSchema } from "./zod-schema.core-BsBGROgp.js";
|
|
2
2
|
import { t as ToolPolicySchema } from "./zod-schema.agent-runtime-DWbjdB_w.js";
|
|
3
3
|
import { a as buildNestedDmConfigSchema, n as buildCatchallMultiAccountChannelSchema, r as buildChannelConfigSchema, t as AllowFromListSchema } from "./config-schema-D7cABQ6o.js";
|
|
4
|
-
import { a as MSTeamsConfigSchema, c as TelegramConfigSchema, i as IMessageConfigSchema, n as GoogleChatConfigSchema, o as SignalConfigSchema, r as DiscordConfigSchema, s as SlackConfigSchema, t as WhatsAppConfigSchema } from "./bundled-channel-config-schema-
|
|
4
|
+
import { a as MSTeamsConfigSchema, c as TelegramConfigSchema, i as IMessageConfigSchema, n as GoogleChatConfigSchema, o as SignalConfigSchema, r as DiscordConfigSchema, s as SlackConfigSchema, t as WhatsAppConfigSchema } from "./bundled-channel-config-schema-dEcj4OyK.js";
|
|
5
5
|
export { AllowFromListSchema, BlockStreamingCoalesceSchema, ContextVisibilityModeSchema, DiscordConfigSchema, DmConfigSchema, DmPolicySchema, GoogleChatConfigSchema, GroupPolicySchema, IMessageConfigSchema, MSTeamsConfigSchema, MarkdownConfigSchema, ReplyRuntimeConfigSchemaShape, SignalConfigSchema, SlackConfigSchema, TelegramConfigSchema, ToolPolicySchema, WhatsAppConfigSchema, buildCatchallMultiAccountChannelSchema, buildChannelConfigSchema, buildNestedDmConfigSchema, requireAllowlistAllowFrom, requireOpenAllowFrom };
|
|
@@ -4,7 +4,7 @@ import { n as ChannelPlugin, t as ChannelMessageActionName } from "./types.publi
|
|
|
4
4
|
import { n as normalizeAccountId, t as DEFAULT_ACCOUNT_ID } from "./account-id-Dh6XMgGH.js";
|
|
5
5
|
import { $n as PluginRuntime, l as DexPluginApi } from "./types-C9WXbJM3.js";
|
|
6
6
|
import { r as buildChannelConfigSchema } from "./config-schema-D7cABQ6o.js";
|
|
7
|
-
import { r as DiscordConfigSchema } from "./bundled-channel-config-schema-
|
|
7
|
+
import { r as DiscordConfigSchema } from "./bundled-channel-config-schema-dEcj4OyK.js";
|
|
8
8
|
import { r as emptyPluginConfigSchema } from "./config-schema-DUDU-fKl.js";
|
|
9
9
|
import { s as migrateBaseNameToDefaultAccount, t as applyAccountNameToChannelSection } from "./setup-helpers-Dw6V06A3.js";
|
|
10
10
|
import { t as PAIRING_APPROVED_MESSAGE } from "./pairing-message-AZcwFUZz.js";
|
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
export type PluginSdkDocCategory = "channel" | "core" | "legacy" | "provider" | "runtime" | "utilities";
|
|
2
|
+
export declare const pluginSdkDocMetadata: {
|
|
3
|
+
readonly index: {
|
|
4
|
+
readonly category: "legacy";
|
|
5
|
+
};
|
|
6
|
+
readonly core: {
|
|
7
|
+
readonly category: "core";
|
|
8
|
+
};
|
|
9
|
+
readonly health: {
|
|
10
|
+
readonly category: "core";
|
|
11
|
+
};
|
|
12
|
+
readonly "approval-runtime": {
|
|
13
|
+
readonly category: "runtime";
|
|
14
|
+
};
|
|
15
|
+
readonly "approval-auth-runtime": {
|
|
16
|
+
readonly category: "runtime";
|
|
17
|
+
};
|
|
18
|
+
readonly "approval-client-runtime": {
|
|
19
|
+
readonly category: "runtime";
|
|
20
|
+
};
|
|
21
|
+
readonly "approval-delivery-runtime": {
|
|
22
|
+
readonly category: "runtime";
|
|
23
|
+
};
|
|
24
|
+
readonly "approval-native-runtime": {
|
|
25
|
+
readonly category: "runtime";
|
|
26
|
+
};
|
|
27
|
+
readonly "approval-reaction-runtime": {
|
|
28
|
+
readonly category: "runtime";
|
|
29
|
+
};
|
|
30
|
+
readonly "approval-reply-runtime": {
|
|
31
|
+
readonly category: "runtime";
|
|
32
|
+
};
|
|
33
|
+
readonly "plugin-entry": {
|
|
34
|
+
readonly category: "core";
|
|
35
|
+
};
|
|
36
|
+
readonly "access-groups": {
|
|
37
|
+
readonly category: "channel";
|
|
38
|
+
};
|
|
39
|
+
readonly "channel-actions": {
|
|
40
|
+
readonly category: "channel";
|
|
41
|
+
};
|
|
42
|
+
readonly "channel-config-schema": {
|
|
43
|
+
readonly category: "channel";
|
|
44
|
+
};
|
|
45
|
+
readonly "channel-config-schema-legacy": {
|
|
46
|
+
readonly category: "channel";
|
|
47
|
+
};
|
|
48
|
+
readonly "chat-channel-ids": {
|
|
49
|
+
readonly category: "channel";
|
|
50
|
+
};
|
|
51
|
+
readonly "channel-contract": {
|
|
52
|
+
readonly category: "channel";
|
|
53
|
+
};
|
|
54
|
+
readonly "channel-pairing": {
|
|
55
|
+
readonly category: "channel";
|
|
56
|
+
};
|
|
57
|
+
readonly "channel-ingress": {
|
|
58
|
+
readonly category: "channel";
|
|
59
|
+
};
|
|
60
|
+
readonly "channel-ingress-runtime": {
|
|
61
|
+
readonly category: "channel";
|
|
62
|
+
};
|
|
63
|
+
readonly "channel-reply-pipeline": {
|
|
64
|
+
readonly category: "channel";
|
|
65
|
+
};
|
|
66
|
+
readonly "channel-setup": {
|
|
67
|
+
readonly category: "channel";
|
|
68
|
+
};
|
|
69
|
+
readonly "command-auth": {
|
|
70
|
+
readonly category: "channel";
|
|
71
|
+
};
|
|
72
|
+
readonly zalouser: {
|
|
73
|
+
readonly category: "channel";
|
|
74
|
+
};
|
|
75
|
+
readonly "command-status": {
|
|
76
|
+
readonly category: "channel";
|
|
77
|
+
};
|
|
78
|
+
readonly "command-status-runtime": {
|
|
79
|
+
readonly category: "runtime";
|
|
80
|
+
};
|
|
81
|
+
readonly "secret-input": {
|
|
82
|
+
readonly category: "channel";
|
|
83
|
+
};
|
|
84
|
+
readonly "webhook-ingress": {
|
|
85
|
+
readonly category: "channel";
|
|
86
|
+
};
|
|
87
|
+
readonly "provider-onboard": {
|
|
88
|
+
readonly category: "provider";
|
|
89
|
+
};
|
|
90
|
+
readonly "provider-oauth-runtime": {
|
|
91
|
+
readonly category: "provider";
|
|
92
|
+
};
|
|
93
|
+
readonly "provider-selection-runtime": {
|
|
94
|
+
readonly category: "provider";
|
|
95
|
+
};
|
|
96
|
+
readonly "runtime-store": {
|
|
97
|
+
readonly category: "runtime";
|
|
98
|
+
};
|
|
99
|
+
readonly "qa-live-transport-scenarios": {
|
|
100
|
+
readonly category: "utilities";
|
|
101
|
+
};
|
|
102
|
+
readonly "agent-runtime": {
|
|
103
|
+
readonly category: "runtime";
|
|
104
|
+
};
|
|
105
|
+
readonly "speech-core": {
|
|
106
|
+
readonly category: "provider";
|
|
107
|
+
};
|
|
108
|
+
readonly "realtime-voice": {
|
|
109
|
+
readonly category: "provider";
|
|
110
|
+
};
|
|
111
|
+
readonly "tts-runtime": {
|
|
112
|
+
readonly category: "runtime";
|
|
113
|
+
};
|
|
114
|
+
readonly "inline-image-data-url-runtime": {
|
|
115
|
+
readonly category: "runtime";
|
|
116
|
+
};
|
|
117
|
+
readonly "allow-from": {
|
|
118
|
+
readonly category: "utilities";
|
|
119
|
+
};
|
|
120
|
+
readonly "reply-payload": {
|
|
121
|
+
readonly category: "utilities";
|
|
122
|
+
};
|
|
123
|
+
};
|
|
124
|
+
export type PluginSdkDocEntrypoint = keyof typeof pluginSdkDocMetadata;
|
|
125
|
+
export declare function resolvePluginSdkDocImportSpecifier(entrypoint: PluginSdkDocEntrypoint): string;
|
|
@@ -1274,23 +1274,23 @@
|
|
|
1274
1274
|
"dist/control-ui-links-DSfSaP0Y.js",
|
|
1275
1275
|
"dist/control-ui-shared-BvBv-6LO.js",
|
|
1276
1276
|
"dist/control-ui/apple-touch-icon.png",
|
|
1277
|
-
"dist/control-ui/assets/activity-
|
|
1278
|
-
"dist/control-ui/assets/agents-
|
|
1277
|
+
"dist/control-ui/assets/activity-C_HZe0c-.js",
|
|
1278
|
+
"dist/control-ui/assets/agents-CeF1k4Mj.js",
|
|
1279
1279
|
"dist/control-ui/assets/ar-Ddf_Z7TE.js",
|
|
1280
1280
|
"dist/control-ui/assets/channel-config-extras-CCelgxuV.js",
|
|
1281
|
-
"dist/control-ui/assets/channels-
|
|
1281
|
+
"dist/control-ui/assets/channels-C3fGrqai.js",
|
|
1282
1282
|
"dist/control-ui/assets/config-runtime-CCw2hptH.js",
|
|
1283
|
-
"dist/control-ui/assets/cron-
|
|
1283
|
+
"dist/control-ui/assets/cron-01SXAnEJ.js",
|
|
1284
1284
|
"dist/control-ui/assets/de-Df8B2_dp.js",
|
|
1285
|
-
"dist/control-ui/assets/debug-
|
|
1285
|
+
"dist/control-ui/assets/debug-B8zuijMC.js",
|
|
1286
1286
|
"dist/control-ui/assets/es-l9Uxy6PP.js",
|
|
1287
1287
|
"dist/control-ui/assets/fa-Ba28EoTs.js",
|
|
1288
1288
|
"dist/control-ui/assets/fr-Cty4aeag.js",
|
|
1289
1289
|
"dist/control-ui/assets/gateway-runtime-CMyVbEq5.js",
|
|
1290
1290
|
"dist/control-ui/assets/id-8vGgrTW5.js",
|
|
1291
|
-
"dist/control-ui/assets/index-
|
|
1291
|
+
"dist/control-ui/assets/index-D1Qre842.js",
|
|
1292
1292
|
"dist/control-ui/assets/index-DHITMkxF.css",
|
|
1293
|
-
"dist/control-ui/assets/instances-
|
|
1293
|
+
"dist/control-ui/assets/instances-izquLPnA.js",
|
|
1294
1294
|
"dist/control-ui/assets/it-DHSuREJa.js",
|
|
1295
1295
|
"dist/control-ui/assets/ja-JP-D5TMhW8W.js",
|
|
1296
1296
|
"dist/control-ui/assets/ko-DBmghh99.js",
|
|
@@ -1298,23 +1298,23 @@
|
|
|
1298
1298
|
"dist/control-ui/assets/logs-DPetTn3l.js",
|
|
1299
1299
|
"dist/control-ui/assets/markdown-runtime-CUzFp-dW.js",
|
|
1300
1300
|
"dist/control-ui/assets/nl-B4WnqSoW.js",
|
|
1301
|
-
"dist/control-ui/assets/nodes-
|
|
1301
|
+
"dist/control-ui/assets/nodes-e5Cze-NX.js",
|
|
1302
1302
|
"dist/control-ui/assets/pl-DQdNu9oZ.js",
|
|
1303
1303
|
"dist/control-ui/assets/preview-BBw3vauN.js",
|
|
1304
1304
|
"dist/control-ui/assets/pt-BR-C3cvNerB.js",
|
|
1305
1305
|
"dist/control-ui/assets/push-subscription-BB--F2Xo.js",
|
|
1306
1306
|
"dist/control-ui/assets/rolldown-runtime-QTnfLwEv.js",
|
|
1307
|
-
"dist/control-ui/assets/sessions-
|
|
1308
|
-
"dist/control-ui/assets/skill-workshop-
|
|
1309
|
-
"dist/control-ui/assets/skills-
|
|
1307
|
+
"dist/control-ui/assets/sessions-BRqy7EPO.js",
|
|
1308
|
+
"dist/control-ui/assets/skill-workshop-DHBE6rsG.js",
|
|
1309
|
+
"dist/control-ui/assets/skills-BXLJ4lgH.js",
|
|
1310
1310
|
"dist/control-ui/assets/skills-shared-CNlkuf6o.js",
|
|
1311
1311
|
"dist/control-ui/assets/string-coerce-CsmDCXq_.js",
|
|
1312
1312
|
"dist/control-ui/assets/th-B1mEFXug.js",
|
|
1313
1313
|
"dist/control-ui/assets/tr-D34LaQOa.js",
|
|
1314
1314
|
"dist/control-ui/assets/uk-CGaYJHpF.js",
|
|
1315
|
-
"dist/control-ui/assets/usage-
|
|
1315
|
+
"dist/control-ui/assets/usage-CrcXmrp7.js",
|
|
1316
1316
|
"dist/control-ui/assets/vi-CEwKLivB.js",
|
|
1317
|
-
"dist/control-ui/assets/workboard-
|
|
1317
|
+
"dist/control-ui/assets/workboard-CnCeQDxS.js",
|
|
1318
1318
|
"dist/control-ui/assets/zh-CN-B4jAvpBh.js",
|
|
1319
1319
|
"dist/control-ui/assets/zh-TW-9UQXmzS0.js",
|
|
1320
1320
|
"dist/control-ui/favicon-32.png",
|
|
@@ -5183,7 +5183,7 @@
|
|
|
5183
5183
|
"dist/plugin-sdk/browser-config.js",
|
|
5184
5184
|
"dist/plugin-sdk/btw-command-Dx-mSXt1.d.ts",
|
|
5185
5185
|
"dist/plugin-sdk/bundle-mcp-DABlFCpS.d.ts",
|
|
5186
|
-
"dist/plugin-sdk/bundled-channel-config-schema-
|
|
5186
|
+
"dist/plugin-sdk/bundled-channel-config-schema-dEcj4OyK.d.ts",
|
|
5187
5187
|
"dist/plugin-sdk/bundled-channel-config-schema.d.ts",
|
|
5188
5188
|
"dist/plugin-sdk/bundled-channel-config-schema.js",
|
|
5189
5189
|
"dist/plugin-sdk/call-C9i8lg0x.d.ts",
|
|
@@ -6166,6 +6166,7 @@
|
|
|
6166
6166
|
"dist/plugin-sdk/schema-validator-vLPJ8m3u.d.ts",
|
|
6167
6167
|
"dist/plugin-sdk/scoped-expiring-id-cache-Cpa7nD8E.d.ts",
|
|
6168
6168
|
"dist/plugin-sdk/scp-host-DCnjWa06.d.ts",
|
|
6169
|
+
"dist/plugin-sdk/scripts/lib/plugin-sdk-doc-metadata.d.ts",
|
|
6169
6170
|
"dist/plugin-sdk/sdk-alias-cV_L6leE.d.ts",
|
|
6170
6171
|
"dist/plugin-sdk/secret-file-CjbjgOXf.d.ts",
|
|
6171
6172
|
"dist/plugin-sdk/secret-file-runtime.d.ts",
|
package/package.json
CHANGED
|
@@ -1,23 +1,34 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dexagent",
|
|
3
|
-
"version": "2026.6.
|
|
3
|
+
"version": "2026.6.3",
|
|
4
4
|
"description": "Dex — a calm cockpit for commanding agents you can trust.",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
7
7
|
},
|
|
8
|
-
"keywords": [
|
|
9
|
-
|
|
8
|
+
"keywords": [
|
|
9
|
+
"dex",
|
|
10
|
+
"ai-assistant",
|
|
11
|
+
"agent",
|
|
12
|
+
"gateway",
|
|
13
|
+
"anthropic",
|
|
14
|
+
"claude",
|
|
15
|
+
"mcp",
|
|
16
|
+
"windows",
|
|
17
|
+
"automation"
|
|
18
|
+
],
|
|
19
|
+
"homepage": "https://github.com/Chethan616/Dex#readme",
|
|
10
20
|
"bugs": {
|
|
11
|
-
"url": "https://github.com/
|
|
21
|
+
"url": "https://github.com/Chethan616/Dex/issues"
|
|
12
22
|
},
|
|
13
23
|
"license": "MIT",
|
|
14
24
|
"author": "",
|
|
15
25
|
"repository": {
|
|
16
26
|
"type": "git",
|
|
17
|
-
"url": "git+https://github.com/
|
|
27
|
+
"url": "git+https://github.com/Chethan616/Dex.git",
|
|
28
|
+
"directory": "dex/core"
|
|
18
29
|
},
|
|
19
30
|
"bin": {
|
|
20
|
-
"dex": "
|
|
31
|
+
"dex": "dex.mjs"
|
|
21
32
|
},
|
|
22
33
|
"directories": {
|
|
23
34
|
"doc": "docs",
|
|
@@ -27,7 +38,7 @@
|
|
|
27
38
|
"CHANGELOG.md",
|
|
28
39
|
"LICENSE",
|
|
29
40
|
"npm-shrinkwrap.json",
|
|
30
|
-
"
|
|
41
|
+
"dex.mjs",
|
|
31
42
|
"pnpm-workspace.yaml",
|
|
32
43
|
"README.md",
|
|
33
44
|
"THIRD_PARTY_NOTICES.md",
|
|
@@ -1417,7 +1428,7 @@
|
|
|
1417
1428
|
"default": "./dist/plugin-sdk/llm.js"
|
|
1418
1429
|
},
|
|
1419
1430
|
"./extension-api": "./dist/extensionAPI.js",
|
|
1420
|
-
"./cli-entry": "./
|
|
1431
|
+
"./cli-entry": "./dex.mjs"
|
|
1421
1432
|
},
|
|
1422
1433
|
"scripts": {
|
|
1423
1434
|
"android:assemble": "cd apps/android && ./gradlew :app:assemblePlayDebug",
|
|
@@ -1594,6 +1605,8 @@
|
|
|
1594
1605
|
"mac:open": "open dist/OpenClaw.app",
|
|
1595
1606
|
"mac:package": "bash scripts/package-mac-app.sh",
|
|
1596
1607
|
"mac:restart": "bash scripts/restart-mac.sh",
|
|
1608
|
+
"dex": "node scripts/run-node.mjs",
|
|
1609
|
+
"dex:rpc": "node scripts/run-node.mjs agent --mode rpc --json",
|
|
1597
1610
|
"openclaw": "node scripts/run-node.mjs",
|
|
1598
1611
|
"openclaw:rpc": "node scripts/run-node.mjs agent --mode rpc --json",
|
|
1599
1612
|
"perf:issue-78851": "node --import tsx scripts/perf/issue-78851-model-resolution.ts",
|
|
@@ -1663,7 +1676,7 @@
|
|
|
1663
1676
|
"rtt": "node --import tsx scripts/rtt.ts",
|
|
1664
1677
|
"runtime-sidecars:check": "node --import tsx scripts/generate-runtime-sidecar-paths-baseline.ts --check",
|
|
1665
1678
|
"runtime-sidecars:gen": "node --import tsx scripts/generate-runtime-sidecar-paths-baseline.ts --write",
|
|
1666
|
-
"start": "node
|
|
1679
|
+
"start": "node dex.mjs",
|
|
1667
1680
|
"test": "node scripts/test-projects.mjs",
|
|
1668
1681
|
"test:all": "pnpm lint && pnpm build && pnpm test && pnpm test:e2e && pnpm test:live && pnpm test:docker:all",
|
|
1669
1682
|
"test:auth:compat": "node scripts/run-vitest.mjs run --config test/vitest/vitest.gateway.config.ts src/gateway/server.auth.compat-baseline.test.ts src/gateway/client.test.ts src/gateway/reconnect-gating.test.ts && node scripts/run-vitest.mjs run packages/gateway-protocol/src/connect-error-details.test.ts",
|
|
File without changes
|