@gaodefa/daocore 2026.5.57 → 2026.5.59
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/dist/build-info.json +2 -2
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{channel-BdhbzWTg.d.ts → channel-MXOd30fz.d.ts} +2 -2
- package/dist/cli/run-main.js +4 -4
- package/dist/cli-startup-metadata.json +8 -8
- package/dist/{command-registry-CEGc-tLO.js → command-registry-DDgaBEGu.js} +2 -2
- package/dist/{command-registry-DyH-S8Mq.js → command-registry-Di64_KWH.js} +2 -2
- package/dist/{command-registry-core-Dm6muwXT.js → command-registry-core-CMOMqf7O.js} +1 -1
- package/dist/{completion-cli-jKzV4sfV.js → completion-cli-CbpKmVcF.js} +2 -2
- package/dist/{components-u4gL95dv.d.ts → components-D9TlXmrM.d.ts} +1 -1
- package/dist/{components.modal-glHG-y8o.d.ts → components.modal-F1ooc12a.d.ts} +18 -18
- package/dist/control-ui/assets/{agents-BDUMERgO.js → agents-CYV9CA7W.js} +2 -2
- package/dist/control-ui/assets/{channel-config-extras-Cf2MQ4fw.js → channel-config-extras-BkdPv2uP.js} +2 -2
- package/dist/control-ui/assets/{channels-u-ST-7HL.js → channels-BF9WzuHU.js} +2 -2
- package/dist/control-ui/assets/{cron-B9oQvQUF.js → cron-ky98vYkn.js} +2 -2
- package/dist/control-ui/assets/{debug-DzwXJPob.js → debug-DrNegAiH.js} +2 -2
- package/dist/control-ui/assets/{index-BNgzcqbU.js → index-CF5j9-bx.js} +13 -4
- package/dist/control-ui/assets/index-Dv4QTBa8.css +1 -0
- package/dist/control-ui/assets/{instances-CvAVAozy.js → instances-WQSeN_ZQ.js} +2 -2
- package/dist/control-ui/assets/{logs-aR0p0kJ3.js → logs-fXMaQEp6.js} +2 -2
- package/dist/control-ui/assets/{nodes-m4lui4-1.js → nodes-DK3dANr7.js} +2 -2
- package/dist/control-ui/assets/{sessions-NOIW66qZ.js → sessions-_QcCy9qB.js} +2 -2
- package/dist/control-ui/assets/{skills-Jm7PDV4c.js → skills-BUD7q2Za.js} +2 -2
- package/dist/control-ui/assets/{skills-shared-DNQYYVFk.js → skills-shared-CkRBEwKq.js} +2 -2
- package/dist/control-ui/index.html +2 -2
- package/dist/control-ui/sw.js +1 -1
- package/dist/extensions/imessage/message-tool-api.d.ts +1 -1
- package/dist/{gateway-cli-Do3zXVoA.js → gateway-cli-DO_7pU25.js} +1 -1
- package/dist/{health-state-D8_oJguq.js → health-state-Dt3dt8nN.js} +1 -1
- package/dist/{message-handler-BsTTww09.js → message-handler-BTzLxp9t.js} +1 -1
- package/dist/plugin-sdk/.boundary-entry-shims.stamp +1 -1
- package/dist/postinstall-inventory.json +40 -40
- package/dist/{program-BBjSDxOK.js → program-DbX5LUmA.js} +1 -1
- package/dist/register.subclis-B_0suk5T.js +3 -0
- package/dist/{register.subclis-CLGUU8xn.js → register.subclis-DxvmjC9U.js} +2 -2
- package/dist/{register.subclis-core-BtmmMq6c.js → register.subclis-core-BXOMpaBf.js} +2 -2
- package/dist/{run-DkpOzywN.js → run-Cw6_Y_Ev.js} +1 -1
- package/dist/{run-command-BFRAg7du.js → run-command-Bz6bkPi0.js} +1 -1
- package/dist/run-command-CTgeYMBU.js +2 -0
- package/dist/{runtime-api.monitor-5-ucdxYA.d.ts → runtime-api.monitor-LRfB_JTP.d.ts} +1 -1
- package/dist/{runtime-api.send-BttKZW-F.d.ts → runtime-api.send-BygcWA7R.d.ts} +1 -1
- package/dist/{server-DP_Qxv9p.js → server-DRfK3aBR.js} +1 -1
- package/dist/{server-maintenance-B4tgrBO5.js → server-maintenance-BUA7oKV6.js} +1 -1
- package/dist/{server-startup-early-C_ZWIblP.js → server-startup-early-LwlsJ1uv.js} +1 -1
- package/dist/{server-startup-post-attach-CNe0QrNc.js → server-startup-post-attach-Bo68eDRo.js} +1 -1
- package/dist/{server-ws-runtime-hH14LVjT.js → server-ws-runtime-CdgSBUGs.js} +2 -2
- package/dist/{server.impl-VrV1FexC.js → server.impl-DOQVugvr.js} +4 -4
- package/dist/{update-startup-B86---uS.js → update-startup-BKLlhg9N.js} +1 -1
- package/dist/{update-startup-C2tCNZ7v.js → update-startup-V7F8BmHs.js} +0 -5
- package/package.json +1 -1
- package/dist/control-ui/assets/index-R-oyCoNF.css +0 -1
- package/dist/register.subclis-DwHGcc-o.js +0 -3
- package/dist/run-command-DdJMIAJV.js +0 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{_ as e,it as t,o as n,rt as r,tt as i}from"./index-
|
|
1
|
+
import{_ as e,it as t,o as n,rt as r,tt as i}from"./index-CF5j9-bx.js";var a=!1;function o(n){let o=!a;return t`
|
|
2
2
|
<section class="card">
|
|
3
3
|
<div class="row" style="justify-content: space-between;">
|
|
4
4
|
<div>
|
|
@@ -54,4 +54,4 @@ import{_ as e,it as t,o as n,rt as r,tt as i}from"./index-BNgzcqbU.js";var a=!1;
|
|
|
54
54
|
</div>
|
|
55
55
|
</div>
|
|
56
56
|
`}export{o as renderInstances};
|
|
57
|
-
//# sourceMappingURL=instances-
|
|
57
|
+
//# sourceMappingURL=instances-WQSeN_ZQ.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{$ as e,it as t,rt as n,tt as r}from"./index-
|
|
1
|
+
import{$ as e,it as t,rt as n,tt as r}from"./index-CF5j9-bx.js";var i=[`trace`,`debug`,`info`,`warn`,`error`,`fatal`];function a(e){if(!e)return``;let t=new Date(e);return Number.isNaN(t.getTime())?e:t.toLocaleTimeString()}function o(t,n){return n?e([t.message,t.subsystem,t.raw].filter(Boolean).join(` `)).includes(n):!0}function s(s){let c=e(s.filterText),l=i.some(e=>!s.levelFilters[e]),u=s.entries.filter(e=>e.level&&!s.levelFilters[e.level]?!1:o(e,c)),d=c||l?`filtered`:`visible`;return t`
|
|
2
2
|
<section class="card">
|
|
3
3
|
<div class="row" style="justify-content: space-between;">
|
|
4
4
|
<div>
|
|
@@ -71,4 +71,4 @@ import{$ as e,it as t,rt as n,tt as r}from"./index-BNgzcqbU.js";var i=[`trace`,`
|
|
|
71
71
|
</div>
|
|
72
72
|
</section>
|
|
73
73
|
`}export{s as renderLogs};
|
|
74
|
-
//# sourceMappingURL=logs-
|
|
74
|
+
//# sourceMappingURL=logs-fXMaQEp6.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{E as e,Q as t,T as n,et as r,it as i,k as a,rt as o,tt as s}from"./index-
|
|
1
|
+
import{E as e,Q as t,T as n,et as r,it as i,k as a,rt as o,tt as s}from"./index-CF5j9-bx.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:t(e.scopes)}}function d(e){let n=c(e.roles,e.role),r=Array.isArray(e.tokens)?e.tokens:e.tokens?Object.values(e.tokens):void 0;return{roles:r===void 0?n:c(r.filter(e=>!e.revokedAtMs).flatMap(e=>e.role??[])).filter(e=>n.includes(e)),scopes:t(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(e){let t=e.ready,n=e.target!==`node`||!!e.targetNodeId;return i`
|
|
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{E as e,Q as t,T as n,et as r,it as i,k as a,rt as o,tt as s}from"./index-
|
|
|
433
433
|
</div>
|
|
434
434
|
</div>
|
|
435
435
|
`}export{M as renderNodes};
|
|
436
|
-
//# sourceMappingURL=nodes-
|
|
436
|
+
//# sourceMappingURL=nodes-DK3dANr7.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{$ as e,O as t,V as n,Y as r,_ as i,d as a,et as o,f as s,it as c,k as l,rt as u,s as d,tt as f,u as p,w as m}from"./index-
|
|
1
|
+
import{$ as e,O as t,V as n,Y as r,_ as i,d as a,et as o,f as s,it as c,k as l,rt as u,s as d,tt as f,u as p,w as m}from"./index-CF5j9-bx.js";var h=[`off`,`minimal`,`low`,`medium`,`high`],g=[``,`off`,`on`,`full`],_=[``,`on`,`off`],v=[``,`off`,`on`,`stream`],y=[10,25,50,100];function b(e,t){return Object.prototype.hasOwnProperty.call(e,t)?e[t]??null:null}function x(e,t){return(!e.modelProvider||e.modelProvider===t?.modelProvider)&&(!e.model||e.model===t?.model)}function S(e,t){let n=x(e,t),r=p(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:h).map(e=>({id:s(e),label:e}));return[{value:``,label:r},...i.map(e=>({value:s(e.id),label:a(e.id,e.label)}))]}function C(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:a(t)}]}function T(){return g.map(e=>({value:e,label:f(e===``?`sessionsView.inherit`:e===`off`?`sessionsView.offExplicit`:`sessionsView.${e}`)}))}function ee(){return _.map(e=>({value:e,label:f(e===``?`sessionsView.inherit`:`sessionsView.${e}`)}))}function E(e){switch(e){case`running`:return f(`sessionsView.statusRunning`);case`done`:return f(`sessionsView.statusDone`);case`failed`:return f(`sessionsView.statusFailed`);case`killed`:return f(`sessionsView.statusKilled`);case`timeout`:return f(`sessionsView.statusTimeout`);default:return f(`sessionsView.statusUnknown`)}}function D(e){if(m(e))return{label:f(`sessionsView.statusLive`),tone:`live`};if(e.status){let t=e.status===`done`?`done`:`failed`;return{label:E(e.status),tone:t}}return e.hasActiveRun===!1?{label:f(`sessionsView.statusIdle`),tone:`idle`}:{label:f(`sessionsView.statusUnknown`),tone:`muted`}}function O(e){let t=D(e),n=`${f(`sessionsView.status`)}: ${t.label}`;return c`
|
|
2
2
|
<span
|
|
3
3
|
class="session-status-badge session-status-badge--${t.tone}"
|
|
4
4
|
title=${n}
|
|
@@ -396,4 +396,4 @@ import{$ as e,O as t,V as n,Y as r,_ as i,d as a,et as o,f as s,it as c,k as l,r
|
|
|
396
396
|
</div>
|
|
397
397
|
</td>
|
|
398
398
|
</tr>`]:[]]}export{B as renderSessions};
|
|
399
|
-
//# sourceMappingURL=sessions-
|
|
399
|
+
//# sourceMappingURL=sessions-_QcCy9qB.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{$ as e,T as t,it as n,p as r,rt as i,tt as a,v as o}from"./index-
|
|
1
|
+
import{$ as e,T as t,it as n,p as r,rt as i,tt as a,v as o}from"./index-CF5j9-bx.js";import{i as s,n as c,r as l,t as u}from"./skills-shared-CkRBEwKq.js";function d(e){return e?r(e,window.location.href):null}function f(e){!(e instanceof HTMLDialogElement)||e.open||(e.isConnected?e.showModal():queueMicrotask(()=>{e.isConnected&&!e.open&&e.showModal()}))}var p=[{id:`all`,label:`All`},{id:`ready`,label:`Ready`},{id:`needs-setup`,label:`Needs Setup`},{id:`disabled`,label:`Disabled`}];function m(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 h(e){return e.disabled?`muted`:e.eligible?`ok`:`warn`}function g(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 c=t.statusFilter===`all`?r:r.filter(e=>m(e,t.statusFilter)),l=e(t.filter),u=l?c.filter(t=>e([t.name,t.description,t.source].join(` `)).includes(l)):c,d=s(u),f=t.detailKey?r.find(e=>e.skillKey===t.detailKey)??null:null;return n`
|
|
2
2
|
<section class="card">
|
|
3
3
|
<div class="row" style="justify-content: space-between;">
|
|
4
4
|
<div>
|
|
@@ -311,4 +311,4 @@ import{$ as e,T as t,it as n,p as r,rt as i,tt as a,v as o}from"./index-BNgzcqbU
|
|
|
311
311
|
</div>
|
|
312
312
|
</dialog>
|
|
313
313
|
`}export{g as renderSkills};
|
|
314
|
-
//# sourceMappingURL=skills-
|
|
314
|
+
//# sourceMappingURL=skills-BUD7q2Za.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{it as e,rt as t}from"./index-
|
|
1
|
+
import{it as e,rt as t}from"./index-CF5j9-bx.js";var n=[{id:`workspace`,label:`Workspace Skills`,sources:[`daocore-workspace`]},{id:`built-in`,label:`Built-in Skills`,sources:[`daocore-bundled`]},{id:`installed`,label:`Installed Skills`,sources:[`daocore-managed`]},{id:`extra`,label:`Extra Skills`,sources:[`daocore-extra`]}];function r(e){let t=new Map;for(let e of n)t.set(e.id,{id:e.id,label:e.label,skills:[]});let r=n.find(e=>e.id===`built-in`),i={id:`other`,label:`Other Skills`,skills:[]};for(let a of e){let e=a.bundled?r:n.find(e=>e.sources.includes(a.source));e?t.get(e.id)?.skills.push(a):i.skills.push(a)}let a=n.map(e=>t.get(e.id)).filter(e=>!!(e&&e.skills.length>0));return i.skills.length>0&&a.push(i),a}function i(e){return[...e.missing.bins.map(e=>`bin:${e}`),...e.missing.env.map(e=>`env:${e}`),...e.missing.config.map(e=>`config:${e}`),...e.missing.os.map(e=>`os:${e}`)]}function a(e){let t=[];return e.disabled&&t.push(`disabled`),e.blockedByAllowlist&&t.push(`blocked by allowlist`),t}function o(n){let r=n.skill,i=!!n.showBundledBadge;return e`
|
|
2
2
|
<div class="chip-row" style="margin-top: 6px;">
|
|
3
3
|
<span class="chip">${r.source}</span>
|
|
4
4
|
${i?e` <span class="chip">bundled</span> `:t}
|
|
@@ -8,4 +8,4 @@ import{it as e,rt as t}from"./index-BNgzcqbU.js";var n=[{id:`workspace`,label:`W
|
|
|
8
8
|
${r.disabled?e` <span class="chip chip-warn">disabled</span> `:t}
|
|
9
9
|
</div>
|
|
10
10
|
`}export{r as i,a as n,o as r,i as t};
|
|
11
|
-
//# sourceMappingURL=skills-shared-
|
|
11
|
+
//# sourceMappingURL=skills-shared-CkRBEwKq.js.map
|
|
@@ -195,8 +195,8 @@
|
|
|
195
195
|
color: #0369a1;
|
|
196
196
|
}
|
|
197
197
|
</style>
|
|
198
|
-
<script type="module" crossorigin src="./assets/index-
|
|
199
|
-
<link rel="stylesheet" crossorigin href="./assets/index-
|
|
198
|
+
<script type="module" crossorigin src="./assets/index-CF5j9-bx.js"></script>
|
|
199
|
+
<link rel="stylesheet" crossorigin href="./assets/index-Dv4QTBa8.css">
|
|
200
200
|
</head>
|
|
201
201
|
<body>
|
|
202
202
|
<daocore-app></daocore-app>
|
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 = "daocore-control-";
|
|
5
|
-
const EMBEDDED_CACHE_VERSION = "2026.5.
|
|
5
|
+
const EMBEDDED_CACHE_VERSION = "2026.5.59-035897d3a9ac";
|
|
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: ("permissions" | "timeout" | "search" | "reply" | "
|
|
8
|
+
actions: ("permissions" | "timeout" | "search" | "reply" | "send" | "broadcast" | "poll" | "poll-vote" | "react" | "reactions" | "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 };
|
|
@@ -5,7 +5,7 @@ import { n as inheritOptionFromParent } from "./command-options-Dhjl7AMa.js";
|
|
|
5
5
|
import { t as addGatewayServiceCommands } from "./register-service-commands-DxATe7_2.js";
|
|
6
6
|
import { n as defaultRuntime } from "./runtime-E_A14BX_.js";
|
|
7
7
|
import { t as formatHelpExamples } from "./help-format-DXVAk021.js";
|
|
8
|
-
import { t as addGatewayRunCommand } from "./run-command-
|
|
8
|
+
import { t as addGatewayRunCommand } from "./run-command-Bz6bkPi0.js";
|
|
9
9
|
//#region src/cli/gateway-cli/register.ts
|
|
10
10
|
const configModuleLoader = createLazyImportLoader(() => import("./read-best-effort-config.runtime.js"));
|
|
11
11
|
const gatewayStatusModuleLoader = createLazyImportLoader(() => import("./gateway-status-Baa5algc.js"));
|
|
@@ -9,7 +9,7 @@ import { i as resolveMainSessionKey } from "./main-session-D3q_5w0B.js";
|
|
|
9
9
|
import "./sessions-4ZNlAnYc.js";
|
|
10
10
|
import { t as getHealthSnapshot } from "./health-BFHVjxFk.js";
|
|
11
11
|
import { t as listSystemPresence } from "./system-presence-ClNSY4UX.js";
|
|
12
|
-
import { t as getUpdateAvailable } from "./update-startup-
|
|
12
|
+
import { t as getUpdateAvailable } from "./update-startup-V7F8BmHs.js";
|
|
13
13
|
//#region src/gateway/server/health-state.ts
|
|
14
14
|
let presenceVersion = 1;
|
|
15
15
|
let healthVersion = 1;
|
|
@@ -30,7 +30,7 @@ import { a as redeemDeviceBootstrapTokenProfile, d as PAIRING_SETUP_BOOTSTRAP_PR
|
|
|
30
30
|
import { _ as updatePairedDeviceMetadata, a as getPairedDevice, c as listApprovedPairedDeviceRoles, l as listDevicePairing, n as approveDevicePairing, p as requestDevicePairing, r as ensureDeviceToken, s as hasEffectivePairedDeviceRole, t as approveBootstrapDevicePairing, u as listEffectivePairedDeviceRoles, v as verifyDeviceToken } from "./device-pairing-Bw7rq1YT.js";
|
|
31
31
|
import { r as loadVoiceWakeConfig, t as formatError } from "./server-utils-Dzo1sugg.js";
|
|
32
32
|
import { r as upsertPresence } from "./system-presence-ClNSY4UX.js";
|
|
33
|
-
import { a as incrementPresenceVersion, n as getHealthCache, r as getHealthVersion, t as buildGatewaySnapshot } from "./health-state-
|
|
33
|
+
import { a as incrementPresenceVersion, n as getHealthCache, r as getHealthVersion, t as buildGatewaySnapshot } from "./health-state-Dt3dt8nN.js";
|
|
34
34
|
import { c as roleCanSkipDeviceIdentity, s as parseGatewayRole, t as loadVoiceWakeRoutingConfig } from "./voicewake-routing-DZDAf5fD.js";
|
|
35
35
|
import { t as resolveSharedGatewaySessionGeneration } from "./ws-shared-generation-Bp5l7wzu.js";
|
|
36
36
|
import { t as truncateCloseReason } from "./close-reason-f7R6T5LC.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
2026-05-
|
|
1
|
+
2026-05-25T17:03:14.627Z
|
|
@@ -621,7 +621,6 @@
|
|
|
621
621
|
"dist/channel-api-Ci3JYOUQ.js",
|
|
622
622
|
"dist/channel-Aq5t-z3L.js",
|
|
623
623
|
"dist/channel-B6YcNFXw.d.ts",
|
|
624
|
-
"dist/channel-BdhbzWTg.d.ts",
|
|
625
624
|
"dist/channel-Bkp8v6zY.d.ts",
|
|
626
625
|
"dist/channel-BoK62YYe.d.ts",
|
|
627
626
|
"dist/channel-bootstrap.runtime-4ANLKMcl.js",
|
|
@@ -695,6 +694,7 @@
|
|
|
695
694
|
"dist/channel-message-DbUlSW1P.d.ts",
|
|
696
695
|
"dist/channel-message-YAmKOwAT.js",
|
|
697
696
|
"dist/channel-meta-COEgfCjE.js",
|
|
697
|
+
"dist/channel-MXOd30fz.d.ts",
|
|
698
698
|
"dist/channel-options-F4viywp8.js",
|
|
699
699
|
"dist/channel-outbound-send-B42Kw96s.js",
|
|
700
700
|
"dist/channel-pairing-BQeyBt0a.js",
|
|
@@ -951,9 +951,9 @@
|
|
|
951
951
|
"dist/command-queue.types-CfUiTJN8.d.ts",
|
|
952
952
|
"dist/command-registration-kBnrmjif.js",
|
|
953
953
|
"dist/command-registration-policy-DNB5-kPy.js",
|
|
954
|
-
"dist/command-registry-
|
|
955
|
-
"dist/command-registry-
|
|
956
|
-
"dist/command-registry-
|
|
954
|
+
"dist/command-registry-core-CMOMqf7O.js",
|
|
955
|
+
"dist/command-registry-DDgaBEGu.js",
|
|
956
|
+
"dist/command-registry-Di64_KWH.js",
|
|
957
957
|
"dist/command-secret-gateway-BD_fy02G.js",
|
|
958
958
|
"dist/command-secret-gateway-DhIFpZHu.d.ts",
|
|
959
959
|
"dist/command-secret-targets-BsCSGKC-.d.ts",
|
|
@@ -1034,13 +1034,13 @@
|
|
|
1034
1034
|
"dist/compact.runtime.js",
|
|
1035
1035
|
"dist/compat-bCpUj7Jq.js",
|
|
1036
1036
|
"dist/compat-Cv0f0P7B.d.ts",
|
|
1037
|
-
"dist/completion-cli-
|
|
1037
|
+
"dist/completion-cli-CbpKmVcF.js",
|
|
1038
1038
|
"dist/completion-delivery-policy-BkKoBF9J.js",
|
|
1039
1039
|
"dist/completion-runtime-BfGS2hGl.js",
|
|
1040
1040
|
"dist/components-CaDkKz9J.js",
|
|
1041
|
+
"dist/components-D9TlXmrM.d.ts",
|
|
1041
1042
|
"dist/components-DiI7GuUO.js",
|
|
1042
|
-
"dist/components-
|
|
1043
|
-
"dist/components.modal-glHG-y8o.d.ts",
|
|
1043
|
+
"dist/components.modal-F1ooc12a.d.ts",
|
|
1044
1044
|
"dist/computer-use-CSww5tMF.js",
|
|
1045
1045
|
"dist/config-1c6Kyjc5.js",
|
|
1046
1046
|
"dist/config-3K7a2-uP.d.ts",
|
|
@@ -1166,33 +1166,33 @@
|
|
|
1166
1166
|
"dist/control-ui-links-EK8NjUoh.js",
|
|
1167
1167
|
"dist/control-ui-shared-DyXRM8Tr.js",
|
|
1168
1168
|
"dist/control-ui/apple-touch-icon.png",
|
|
1169
|
-
"dist/control-ui/assets/agents-
|
|
1169
|
+
"dist/control-ui/assets/agents-CYV9CA7W.js",
|
|
1170
1170
|
"dist/control-ui/assets/ar-DmY3OKJ7.js",
|
|
1171
|
-
"dist/control-ui/assets/channel-config-extras-
|
|
1172
|
-
"dist/control-ui/assets/channels-
|
|
1173
|
-
"dist/control-ui/assets/cron-
|
|
1171
|
+
"dist/control-ui/assets/channel-config-extras-BkdPv2uP.js",
|
|
1172
|
+
"dist/control-ui/assets/channels-BF9WzuHU.js",
|
|
1173
|
+
"dist/control-ui/assets/cron-ky98vYkn.js",
|
|
1174
1174
|
"dist/control-ui/assets/de-nNWCMyC9.js",
|
|
1175
|
-
"dist/control-ui/assets/debug-
|
|
1175
|
+
"dist/control-ui/assets/debug-DrNegAiH.js",
|
|
1176
1176
|
"dist/control-ui/assets/es-BcdhLNdf.js",
|
|
1177
1177
|
"dist/control-ui/assets/fa-DbS2z7VZ.js",
|
|
1178
1178
|
"dist/control-ui/assets/fr-CBqvw0rY.js",
|
|
1179
1179
|
"dist/control-ui/assets/id-DXES9f6X.js",
|
|
1180
|
-
"dist/control-ui/assets/index-
|
|
1181
|
-
"dist/control-ui/assets/index-
|
|
1182
|
-
"dist/control-ui/assets/instances-
|
|
1180
|
+
"dist/control-ui/assets/index-CF5j9-bx.js",
|
|
1181
|
+
"dist/control-ui/assets/index-Dv4QTBa8.css",
|
|
1182
|
+
"dist/control-ui/assets/instances-WQSeN_ZQ.js",
|
|
1183
1183
|
"dist/control-ui/assets/it-DpT4ZVOU.js",
|
|
1184
1184
|
"dist/control-ui/assets/ja-JP-D8RXA_04.js",
|
|
1185
1185
|
"dist/control-ui/assets/ko-5en8VO8w.js",
|
|
1186
|
-
"dist/control-ui/assets/logs-
|
|
1186
|
+
"dist/control-ui/assets/logs-fXMaQEp6.js",
|
|
1187
1187
|
"dist/control-ui/assets/nl-Bb10QoRg.js",
|
|
1188
|
-
"dist/control-ui/assets/nodes-
|
|
1188
|
+
"dist/control-ui/assets/nodes-DK3dANr7.js",
|
|
1189
1189
|
"dist/control-ui/assets/pl-Y8UIOEIm.js",
|
|
1190
1190
|
"dist/control-ui/assets/preview-BBw3vauN.js",
|
|
1191
1191
|
"dist/control-ui/assets/pt-BR-DDsy5M68.js",
|
|
1192
1192
|
"dist/control-ui/assets/push-subscription-TTvs1whj.js",
|
|
1193
|
-
"dist/control-ui/assets/sessions-
|
|
1194
|
-
"dist/control-ui/assets/skills-
|
|
1195
|
-
"dist/control-ui/assets/skills-shared-
|
|
1193
|
+
"dist/control-ui/assets/sessions-_QcCy9qB.js",
|
|
1194
|
+
"dist/control-ui/assets/skills-BUD7q2Za.js",
|
|
1195
|
+
"dist/control-ui/assets/skills-shared-CkRBEwKq.js",
|
|
1196
1196
|
"dist/control-ui/assets/th-D_2DtFn6.js",
|
|
1197
1197
|
"dist/control-ui/assets/tr-DBsYZTmE.js",
|
|
1198
1198
|
"dist/control-ui/assets/uk-BUxHBc05.js",
|
|
@@ -3420,7 +3420,7 @@
|
|
|
3420
3420
|
"dist/future-version-guard-DMEx_viS.js",
|
|
3421
3421
|
"dist/gateway-auth-bypass-BHgOAkk8.js",
|
|
3422
3422
|
"dist/gateway-bindings-_pDLz4Wt.js",
|
|
3423
|
-
"dist/gateway-cli-
|
|
3423
|
+
"dist/gateway-cli-DO_7pU25.js",
|
|
3424
3424
|
"dist/gateway-control-ui-origins-w-xTn5T7.js",
|
|
3425
3425
|
"dist/gateway-discovery-targets-DPusGq3m.js",
|
|
3426
3426
|
"dist/gateway-DNFWDb9C.js",
|
|
@@ -3558,7 +3558,7 @@
|
|
|
3558
3558
|
"dist/health-DJs4PS7H.js",
|
|
3559
3559
|
"dist/health-DTO8sQYx.js",
|
|
3560
3560
|
"dist/health-format-DaSqSjzQ.js",
|
|
3561
|
-
"dist/health-state-
|
|
3561
|
+
"dist/health-state-Dt3dt8nN.js",
|
|
3562
3562
|
"dist/health-style-BBi8275c.js",
|
|
3563
3563
|
"dist/health-style-DGWAk6Wn.js",
|
|
3564
3564
|
"dist/health-ztJUsAQL.d.ts",
|
|
@@ -4203,7 +4203,7 @@
|
|
|
4203
4203
|
"dist/message-CudwAGH4.js",
|
|
4204
4204
|
"dist/message-format-DTSg0LNA.js",
|
|
4205
4205
|
"dist/message-handler-BmkNxRDD.js",
|
|
4206
|
-
"dist/message-handler-
|
|
4206
|
+
"dist/message-handler-BTzLxp9t.js",
|
|
4207
4207
|
"dist/message-handler.preflight-UPPmUa3q.js",
|
|
4208
4208
|
"dist/message-handler.process-D0yb6UtD.js",
|
|
4209
4209
|
"dist/message-hook-mappers-Cts6cIjh.js",
|
|
@@ -9610,9 +9610,9 @@
|
|
|
9610
9610
|
"dist/profile-utils-r2hpDMy8.js",
|
|
9611
9611
|
"dist/profiles-CBgInL6r.js",
|
|
9612
9612
|
"dist/profiles-CtUpGo1g.d.ts",
|
|
9613
|
-
"dist/program-BBjSDxOK.js",
|
|
9614
9613
|
"dist/program-context-C1V-hxtg.js",
|
|
9615
9614
|
"dist/program-context-qqDjqw9S.js",
|
|
9615
|
+
"dist/program-DbX5LUmA.js",
|
|
9616
9616
|
"dist/progress-CE2g1zbv.js",
|
|
9617
9617
|
"dist/progress-DI8gGVuX.js",
|
|
9618
9618
|
"dist/progress-line-C1NvDnL7.js",
|
|
@@ -9979,9 +9979,9 @@
|
|
|
9979
9979
|
"dist/register.runtime-CihNYXEU.js",
|
|
9980
9980
|
"dist/register.setup-BBYXcG0V.js",
|
|
9981
9981
|
"dist/register.status-health-sessions-B0aNyEHy.js",
|
|
9982
|
-
"dist/register.subclis-
|
|
9983
|
-
"dist/register.subclis-core-
|
|
9984
|
-
"dist/register.subclis-
|
|
9982
|
+
"dist/register.subclis-B_0suk5T.js",
|
|
9983
|
+
"dist/register.subclis-core-BXOMpaBf.js",
|
|
9984
|
+
"dist/register.subclis-DxvmjC9U.js",
|
|
9985
9985
|
"dist/registry-3gZZMphX.js",
|
|
9986
9986
|
"dist/registry-B9-P6D_z.js",
|
|
9987
9987
|
"dist/registry-BCmRCXCi.js",
|
|
@@ -10147,16 +10147,16 @@
|
|
|
10147
10147
|
"dist/run-attempt-C8drUXdL.js",
|
|
10148
10148
|
"dist/run-auth-profile.runtime-VAC2m9qD.js",
|
|
10149
10149
|
"dist/run-auth-profile.runtime.js",
|
|
10150
|
-
"dist/run-command-
|
|
10150
|
+
"dist/run-command-Bz6bkPi0.js",
|
|
10151
|
+
"dist/run-command-CTgeYMBU.js",
|
|
10151
10152
|
"dist/run-command-D3-UhQvl.d.ts",
|
|
10152
|
-
"dist/run-command-DdJMIAJV.js",
|
|
10153
10153
|
"dist/run-command-Dn-Ckk-s.js",
|
|
10154
10154
|
"dist/run-context.runtime-B-oO7Eld.js",
|
|
10155
10155
|
"dist/run-context.runtime.js",
|
|
10156
|
+
"dist/run-Cw6_Y_Ev.js",
|
|
10156
10157
|
"dist/run-delivery.runtime-n4c4NyEL.js",
|
|
10157
10158
|
"dist/run-delivery.runtime.js",
|
|
10158
10159
|
"dist/run-diagnostics-DCtUqVFF.js",
|
|
10159
|
-
"dist/run-DkpOzywN.js",
|
|
10160
10160
|
"dist/run-embedded.runtime-LQMkpF2y.js",
|
|
10161
10161
|
"dist/run-embedded.runtime.js",
|
|
10162
10162
|
"dist/run-execution-cli.runtime-0FeH38Px.js",
|
|
@@ -10221,9 +10221,9 @@
|
|
|
10221
10221
|
"dist/runtime-api.actions-Blt2bAHw.d.ts",
|
|
10222
10222
|
"dist/runtime-api.lookup-DeEWC0Zm.js",
|
|
10223
10223
|
"dist/runtime-api.lookup-DzoXNl3e.d.ts",
|
|
10224
|
-
"dist/runtime-api.monitor-5-ucdxYA.d.ts",
|
|
10225
10224
|
"dist/runtime-api.monitor-e7p7IfH1.js",
|
|
10226
|
-
"dist/runtime-api.
|
|
10225
|
+
"dist/runtime-api.monitor-LRfB_JTP.d.ts",
|
|
10226
|
+
"dist/runtime-api.send-BygcWA7R.d.ts",
|
|
10227
10227
|
"dist/runtime-api.send-COhoRdi6.js",
|
|
10228
10228
|
"dist/runtime-api.threads-BVVgDSdq.d.ts",
|
|
10229
10229
|
"dist/runtime-api.threads-DFYlu1e-.js",
|
|
@@ -10524,8 +10524,8 @@
|
|
|
10524
10524
|
"dist/server-cron-DUfOPQkW.js",
|
|
10525
10525
|
"dist/server-D9itR58L.js",
|
|
10526
10526
|
"dist/server-discovery-runtime-BPeOecri.js",
|
|
10527
|
-
"dist/server-
|
|
10528
|
-
"dist/server-maintenance-
|
|
10527
|
+
"dist/server-DRfK3aBR.js",
|
|
10528
|
+
"dist/server-maintenance-BUA7oKV6.js",
|
|
10529
10529
|
"dist/server-methods-BM3XCIWG.js",
|
|
10530
10530
|
"dist/server-methods-list-CU1TXyOY.js",
|
|
10531
10531
|
"dist/server-middleware-BHFVnaGU.js",
|
|
@@ -10550,16 +10550,16 @@
|
|
|
10550
10550
|
"dist/server-session-key-SMcOmuEU.js",
|
|
10551
10551
|
"dist/server-shared-auth-generation-Csm1h6QK.js",
|
|
10552
10552
|
"dist/server-startup-config-DSromX8c.js",
|
|
10553
|
-
"dist/server-startup-early-
|
|
10553
|
+
"dist/server-startup-early-LwlsJ1uv.js",
|
|
10554
10554
|
"dist/server-startup-log-oFoDieof.js",
|
|
10555
10555
|
"dist/server-startup-memory-BbpHg53m.js",
|
|
10556
10556
|
"dist/server-startup-plugins-v2iGMqTe.js",
|
|
10557
|
-
"dist/server-startup-post-attach-
|
|
10557
|
+
"dist/server-startup-post-attach-Bo68eDRo.js",
|
|
10558
10558
|
"dist/server-startup-session-migration-DAYlIufM.js",
|
|
10559
10559
|
"dist/server-tailscale-B7xppCEl.js",
|
|
10560
10560
|
"dist/server-utils-Dzo1sugg.js",
|
|
10561
|
-
"dist/server-ws-runtime-
|
|
10562
|
-
"dist/server.impl-
|
|
10561
|
+
"dist/server-ws-runtime-CdgSBUGs.js",
|
|
10562
|
+
"dist/server.impl-DOQVugvr.js",
|
|
10563
10563
|
"dist/service-audit-BdKQm5XK.js",
|
|
10564
10564
|
"dist/service-audit-BHO4HwOv.js",
|
|
10565
10565
|
"dist/service-BJz1apuv.js",
|
|
@@ -11427,8 +11427,8 @@
|
|
|
11427
11427
|
"dist/update-offset-store-CpTi0AUg.js",
|
|
11428
11428
|
"dist/update-phase-ueCdL5Fr.js",
|
|
11429
11429
|
"dist/update-runner-B8GJeQ12.js",
|
|
11430
|
-
"dist/update-startup-
|
|
11431
|
-
"dist/update-startup-
|
|
11430
|
+
"dist/update-startup-BKLlhg9N.js",
|
|
11431
|
+
"dist/update-startup-V7F8BmHs.js",
|
|
11432
11432
|
"dist/url-validation-Cyfm2zPU.js",
|
|
11433
11433
|
"dist/usage-0Vcscj0Z.js",
|
|
11434
11434
|
"dist/usage-DIK88adr.js",
|
|
@@ -12,7 +12,7 @@ import { n as setProgramContext } from "./program-context-qqDjqw9S.js";
|
|
|
12
12
|
import { t as isCommandJsonOutputMode } from "./json-mode-bUK0Pr8D.js";
|
|
13
13
|
import { n as resolvePluginInstallPreactionRequest, t as resolvePluginInstallInvalidConfigPolicy } from "./plugin-install-config-policy-B1LovVfG.js";
|
|
14
14
|
import { t as forceFreePort } from "./ports-Ct-1tfSj.js";
|
|
15
|
-
import { t as registerProgramCommands } from "./command-registry-
|
|
15
|
+
import { t as registerProgramCommands } from "./command-registry-DDgaBEGu.js";
|
|
16
16
|
import { t as configureProgramHelp } from "./help-CYtOCMY_.js";
|
|
17
17
|
import { n as ensureCliExecutionBootstrap, r as resolveCliExecutionStartupContext, t as applyCliExecutionStartupPresentation } from "./command-execution-startup-vZsHD9m1.js";
|
|
18
18
|
import process$1 from "node:process";
|
|
@@ -2,11 +2,11 @@ import { h as getSubCliEntries } from "./argv-BEXMl80F.js";
|
|
|
2
2
|
import { t as resolveCliArgvInvocation } from "./argv-invocation-BVIVPYjV.js";
|
|
3
3
|
import { i as shouldRegisterPrimarySubcommandOnly, n as shouldEagerRegisterSubcommands } from "./command-registration-policy-DNB5-kPy.js";
|
|
4
4
|
import { i as registerCommandGroups, r as registerCommandGroupByName } from "./register-command-groups-BJJkSUKS.js";
|
|
5
|
-
import { i as buildCommandGroupEntries, n as registerSubCliByName$1, o as defineImportedProgramCommandGroupSpecs, r as registerSubCliCommands$1 } from "./register.subclis-core-
|
|
5
|
+
import { i as buildCommandGroupEntries, n as registerSubCliByName$1, o as defineImportedProgramCommandGroupSpecs, r as registerSubCliCommands$1 } from "./register.subclis-core-BXOMpaBf.js";
|
|
6
6
|
//#region src/cli/program/register.subclis.ts
|
|
7
7
|
const entrySpecs = [...defineImportedProgramCommandGroupSpecs([{
|
|
8
8
|
commandNames: ["completion"],
|
|
9
|
-
loadModule: () => import("./completion-cli-
|
|
9
|
+
loadModule: () => import("./completion-cli-CbpKmVcF.js"),
|
|
10
10
|
exportName: "registerCompletionCli"
|
|
11
11
|
}])];
|
|
12
12
|
function resolveSubCliCommandGroups(argv, context = {}) {
|
|
@@ -52,7 +52,7 @@ function shouldRegisterGatewayRunOnly(name, argv) {
|
|
|
52
52
|
return invocation.commandPath.length === 1 || invocation.commandPath[1] === "run";
|
|
53
53
|
}
|
|
54
54
|
async function registerGatewayRunOnly(program) {
|
|
55
|
-
const { addGatewayRunCommand } = await import("./run-command-
|
|
55
|
+
const { addGatewayRunCommand } = await import("./run-command-CTgeYMBU.js");
|
|
56
56
|
removeCommandByName(program, "gateway");
|
|
57
57
|
addGatewayRunCommand(addGatewayRunCommand(program.command("gateway").description("Run, inspect, and query the WebSocket Gateway")).command("run").description("Run the WebSocket Gateway (foreground)"));
|
|
58
58
|
}
|
|
@@ -78,7 +78,7 @@ const entrySpecs = [
|
|
|
78
78
|
},
|
|
79
79
|
{
|
|
80
80
|
commandNames: ["gateway"],
|
|
81
|
-
loadModule: () => import("./gateway-cli-
|
|
81
|
+
loadModule: () => import("./gateway-cli-DO_7pU25.js"),
|
|
82
82
|
exportName: "registerGatewayCli"
|
|
83
83
|
},
|
|
84
84
|
{
|
|
@@ -928,7 +928,7 @@ async function runGatewayCommand(opts) {
|
|
|
928
928
|
const { startGatewayServer } = await startupTrace.measure("cli.server-import", () => withProgress({
|
|
929
929
|
label: "Loading gateway modules…",
|
|
930
930
|
indeterminate: true
|
|
931
|
-
}, async () => import("./server-
|
|
931
|
+
}, async () => import("./server-DRfK3aBR.js")));
|
|
932
932
|
setConsoleTimestampPrefix(true);
|
|
933
933
|
if (devMode) {
|
|
934
934
|
const { ensureDevGatewayConfig } = await import("./dev-C6vBQ7Cj.js");
|
|
@@ -15,7 +15,7 @@ function formatModeChoices(modes) {
|
|
|
15
15
|
}
|
|
16
16
|
function addGatewayRunCommand(cmd) {
|
|
17
17
|
return cmd.option("--port <port>", "Port for the gateway WebSocket").option("--bind <mode>", "Bind mode (\"loopback\"|\"lan\"|\"tailnet\"|\"auto\"|\"custom\"). Defaults to config gateway.bind (or loopback).").option("--token <token>", "Shared token required in connect.params.auth.token (default: DAOCORE_GATEWAY_TOKEN env if set)").option("--auth <mode>", `Gateway auth mode (${formatModeChoices(GATEWAY_AUTH_MODES)})`).option("--password <password>", "Password for auth mode=password").option("--password-file <path>", "Read gateway password from file").option("--tailscale <mode>", `Tailscale exposure mode (${formatModeChoices(GATEWAY_TAILSCALE_MODES)})`).option("--tailscale-reset-on-exit", "Reset Tailscale serve/funnel configuration on shutdown", false).option("--allow-unconfigured", "Allow gateway start without enforcing gateway.mode=local in config (does not repair config)", false).option("--dev", "Create a dev config + workspace if missing (no BOOTSTRAP.md)", false).option("--reset", "Reset dev config + credentials + sessions + workspace (requires --dev)", false).option("--force", "Kill any existing listener on the target port before starting", false).option("--verbose", "Verbose logging to stdout/stderr", false).option("--cli-backend-logs", "Only show CLI backend logs in the console (includes stdout/stderr)", false).option("--claude-cli-logs", "Deprecated alias for --cli-backend-logs", false).option("--ws-log <style>", "WebSocket log style (\"auto\"|\"full\"|\"compact\")", "auto").option("--compact", "Alias for \"--ws-log compact\"", false).option("--raw-stream", "Log raw model stream events to jsonl", false).option("--raw-stream-path <path>", "Raw stream jsonl path").action(async (opts, command) => {
|
|
18
|
-
const { resolveGatewayRunOptions, runGatewayCommand } = await import("./run-
|
|
18
|
+
const { resolveGatewayRunOptions, runGatewayCommand } = await import("./run-Cw6_Y_Ev.js");
|
|
19
19
|
await runGatewayCommand(resolveGatewayRunOptions(opts, command));
|
|
20
20
|
});
|
|
21
21
|
}
|
|
@@ -15,7 +15,7 @@ import { u as ThreadBindingManager } from "./thread-bindings.manager-D0W3axXV.js
|
|
|
15
15
|
import { $ as GatewayPresenceUpdate, A as APIBaseGuildMember, B as APIUnavailableGuild, Ct as VideoQualityMode, Dt as _AddUndefinedToPossiblyUndefinedPropertiesOfInterface, Et as APIRole, F as APIGuildIntegrationType, G as GuildVerificationLevel, H as GuildExplicitContentFilter, I as APIGuildMember, K as IntegrationExpireBehavior, L as APIGuildMemberAvatar, M as APIFlaggedGuildMember, N as APIGuild, Ot as _NonNullableFields, P as APIGuildIntegration, Q as GatewayGuildMembersChunkPresence, R as APIGuildMemberJoined, St as ThreadChannelType, Tt as APIUser, U as GuildMFALevel, V as GuildDefaultMessageNotifications, W as GuildSystemChannelFlags, X as APIGatewayBotInfo, Y as StickerFormatType, Z as GatewayActivity, _ as APIEntitlement, _t as APITextChannel, a as APIInteraction, at as APIGroupDMChannel, b as APIBaseMessage, bt as ChannelType, ct as APIGuildForumDefaultReactionEmoji, d as APIApplicationCommandPermission, dt as APIGuildStageVoiceChannel, et as GatewayThreadListSync, ft as APIGuildVoiceChannel, gt as APIPublicThreadChannel, ht as APIPrivateThreadChannel, i as APIApplication, it as APIChannel, j as APIBaseVoiceGuildMember, k as APIBaseGuild, kt as Snowflake, l as ApplicationCommandType, lt as APIGuildForumTag, m as ApplicationCommandOptionType, mt as APIOverwrite, nt as PresenceUpdateStatus, ot as APIGuildCategoryChannel, pt as APINewsChannel, q as APISticker, rt as APIAnnouncementThreadChannel, s as APIApplicationCommand, st as APIGuildForumChannel, tt as GatewayThreadMembersUpdate, u as InteractionContextType, ut as APIGuildMediaChannel, v as APISubscription, vt as APIThreadChannel, wt as APIEmoji, xt as GuildChannelType, yt as APIThreadMember, z as APIGuildMemberUser } from "./payload-U2icqU80.js";
|
|
16
16
|
import { a as APIGuildScheduledEventRecurrenceRule, c as GuildScheduledEventStatus, n as APIVoiceState, o as GuildScheduledEventEntityType, r as APIGuildScheduledEvent, t as APIBaseVoiceState } from "./voice-Damkqy6G.js";
|
|
17
17
|
import { n as RequestClientOptions, t as RequestClient } from "./rest-CE8PF7Nu.js";
|
|
18
|
-
import { c as AutocompleteInteraction, d as Message, f as User, i as BaseMessageInteractiveComponent, l as Guild, n as Modal, s as parseCustomId, u as GuildMember } from "./components.modal-
|
|
18
|
+
import { c as AutocompleteInteraction, d as Message, f as User, i as BaseMessageInteractiveComponent, l as Guild, n as Modal, s as parseCustomId, u as GuildMember } from "./components.modal-F1ooc12a.js";
|
|
19
19
|
import * as ws from "ws";
|
|
20
20
|
import { EventEmitter } from "node:events";
|
|
21
21
|
import { Duplex } from "stream";
|
|
@@ -3,7 +3,7 @@ import { S as MarkdownTableMode } from "./types.base-tQh4FMBR.js";
|
|
|
3
3
|
import { t as OutboundMediaAccess } from "./load-options-CTuppEe4.js";
|
|
4
4
|
import { f as ChunkMode } from "./outbound.types-B2wXms-j.js";
|
|
5
5
|
import { t as RequestClient } from "./rest-CE8PF7Nu.js";
|
|
6
|
-
import { d as DiscordComponentBuildResult, h as DiscordComponentMessageSpec } from "./components-
|
|
6
|
+
import { d as DiscordComponentBuildResult, h as DiscordComponentMessageSpec } from "./components-D9TlXmrM.js";
|
|
7
7
|
import { v as DiscordSendResult } from "./send.types-D_3tsfSL.js";
|
|
8
8
|
|
|
9
9
|
//#region extensions/discord/src/send.components.d.ts
|
|
@@ -8,7 +8,7 @@ async function loadServerImpl() {
|
|
|
8
8
|
const startupStartedAt = performance.now();
|
|
9
9
|
const before = performance.now();
|
|
10
10
|
try {
|
|
11
|
-
return await import("./server.impl-
|
|
11
|
+
return await import("./server.impl-DOQVugvr.js");
|
|
12
12
|
} finally {
|
|
13
13
|
const now = performance.now();
|
|
14
14
|
emitStartupTrace("gateway.server-impl-import", now - before, now - startupStartedAt);
|
|
@@ -4,7 +4,7 @@ import { t as abortChatRunById } from "./chat-abort-QQsgcDHe.js";
|
|
|
4
4
|
import { r as HEALTH_REFRESH_INTERVAL_MS, s as TICK_INTERVAL_MS, t as DEDUPE_MAX } from "./server-constants-BGwLM6XN.js";
|
|
5
5
|
import { n as pruneStaleControlPlaneBuckets } from "./control-plane-rate-limit-AYt-ugaJ.js";
|
|
6
6
|
import { t as formatError } from "./server-utils-Dzo1sugg.js";
|
|
7
|
-
import { s as setBroadcastHealthUpdate } from "./health-state-
|
|
7
|
+
import { s as setBroadcastHealthUpdate } from "./health-state-Dt3dt8nN.js";
|
|
8
8
|
//#region src/gateway/server-maintenance.ts
|
|
9
9
|
function startGatewayMaintenanceTimers(params) {
|
|
10
10
|
setBroadcastHealthUpdate((snap) => {
|
|
@@ -55,7 +55,7 @@ async function startGatewayEarlyRuntime(params) {
|
|
|
55
55
|
const startMaintenance = async () => {
|
|
56
56
|
if (params.minimalTestGateway) return null;
|
|
57
57
|
return await measureStartup(params.startupTrace, "post-ready.maintenance", async () => {
|
|
58
|
-
const { startGatewayMaintenanceTimers } = await import("./server-maintenance-
|
|
58
|
+
const { startGatewayMaintenanceTimers } = await import("./server-maintenance-BUA7oKV6.js");
|
|
59
59
|
return startGatewayMaintenanceTimers({
|
|
60
60
|
broadcast: params.broadcast,
|
|
61
61
|
nodeSendToAllSubscribed: params.nodeSendToAllSubscribed,
|
package/dist/{server-startup-post-attach-CNe0QrNc.js → server-startup-post-attach-Bo68eDRo.js}
RENAMED
|
@@ -518,7 +518,7 @@ const defaultGatewayPostAttachRuntimeDeps = {
|
|
|
518
518
|
getGlobalHookRunner: async () => (await import("./plugins/hook-runner-global.js")).getGlobalHookRunner(),
|
|
519
519
|
logGatewayStartup: async (params) => (await import("./server-startup-log-oFoDieof.js")).logGatewayStartup(params),
|
|
520
520
|
refreshLatestUpdateRestartSentinel: refreshLatestUpdateRestartSentinelIfPresent,
|
|
521
|
-
scheduleGatewayUpdateCheck: async (...args) => (await import("./update-startup-
|
|
521
|
+
scheduleGatewayUpdateCheck: async (...args) => (await import("./update-startup-BKLlhg9N.js")).scheduleGatewayUpdateCheck(...args),
|
|
522
522
|
startGatewaySidecars,
|
|
523
523
|
startGatewayTailscaleExposure: async (...args) => (await import("./server-tailscale-B7xppCEl.js")).startGatewayTailscaleExposure(...args)
|
|
524
524
|
};
|
|
@@ -12,7 +12,7 @@ import { n as logWs } from "./ws-log-CHuv7KC7.js";
|
|
|
12
12
|
import { s as removeRemoteNodeInfo } from "./skills-remote-vuEE6sLa.js";
|
|
13
13
|
import { t as formatError } from "./server-utils-Dzo1sugg.js";
|
|
14
14
|
import { r as upsertPresence } from "./system-presence-ClNSY4UX.js";
|
|
15
|
-
import { a as incrementPresenceVersion, r as getHealthVersion } from "./health-state-
|
|
15
|
+
import { a as incrementPresenceVersion, r as getHealthVersion } from "./health-state-Dt3dt8nN.js";
|
|
16
16
|
import { i as clearNodeWakeState, t as broadcastPresenceSnapshot } from "./presence-events-CgGl_cCU.js";
|
|
17
17
|
import { t as resolveSharedGatewaySessionGeneration } from "./ws-shared-generation-Bp5l7wzu.js";
|
|
18
18
|
import { randomUUID } from "node:crypto";
|
|
@@ -77,7 +77,7 @@ function attachGatewayWsMessageHandlerOnDemand(params) {
|
|
|
77
77
|
queued.push(data);
|
|
78
78
|
};
|
|
79
79
|
params.socket.on("message", queueMessage);
|
|
80
|
-
import("./message-handler-
|
|
80
|
+
import("./message-handler-BTzLxp9t.js").then(({ attachGatewayWsMessageHandler }) => {
|
|
81
81
|
params.socket.off("message", queueMessage);
|
|
82
82
|
if (params.isClosed()) return;
|
|
83
83
|
attachGatewayWsMessageHandler(params);
|
|
@@ -50,7 +50,7 @@ import { n as ensureControlUiAllowedOriginsForNonLoopbackBind } from "./gateway-
|
|
|
50
50
|
import { n as resolveAssistantIdentity } from "./assistant-identity-B3FaMqHl.js";
|
|
51
51
|
import { i as getRequiredSharedGatewaySessionGeneration, r as enforceSharedGatewaySessionGenerationForConfigWrite } from "./server-shared-auth-generation-Csm1h6QK.js";
|
|
52
52
|
import { a as createToolEventRecipientRegistry, n as createChatRunState } from "./server-chat-state-5p6_r5uT.js";
|
|
53
|
-
import { a as incrementPresenceVersion, i as getPresenceVersion, n as getHealthCache, o as refreshGatewayHealthSnapshot, r as getHealthVersion } from "./health-state-
|
|
53
|
+
import { a as incrementPresenceVersion, i as getPresenceVersion, n as getHealthCache, o as refreshGatewayHealthSnapshot, r as getHealthVersion } from "./health-state-Dt3dt8nN.js";
|
|
54
54
|
import { n as applyGatewayLaneConcurrency, t as resolveHookClientIpConfig } from "./hook-client-ip-config-DGMUK7zA.js";
|
|
55
55
|
import { t as GATEWAY_EVENTS } from "./server-methods-list-CU1TXyOY.js";
|
|
56
56
|
import { t as resolveSharedGatewaySessionGeneration } from "./ws-shared-generation-Bp5l7wzu.js";
|
|
@@ -1457,11 +1457,11 @@ const POST_READY_MAINTENANCE_DELAY_MS = 250;
|
|
|
1457
1457
|
let gatewayStartupEarlyModulePromise = null;
|
|
1458
1458
|
let gatewayStartupPostAttachModulePromise = null;
|
|
1459
1459
|
function loadGatewayStartupEarlyModule() {
|
|
1460
|
-
gatewayStartupEarlyModulePromise ??= import("./server-startup-early-
|
|
1460
|
+
gatewayStartupEarlyModulePromise ??= import("./server-startup-early-LwlsJ1uv.js");
|
|
1461
1461
|
return gatewayStartupEarlyModulePromise;
|
|
1462
1462
|
}
|
|
1463
1463
|
function loadGatewayStartupPostAttachModule() {
|
|
1464
|
-
gatewayStartupPostAttachModulePromise ??= import("./server-startup-post-attach-
|
|
1464
|
+
gatewayStartupPostAttachModulePromise ??= import("./server-startup-post-attach-Bo68eDRo.js");
|
|
1465
1465
|
return gatewayStartupPostAttachModulePromise;
|
|
1466
1466
|
}
|
|
1467
1467
|
function listGatewayStartupChannelPlugins() {
|
|
@@ -2345,7 +2345,7 @@ async function startGatewayServer(port = 18789, opts = {}) {
|
|
|
2345
2345
|
await refreshAttachedGatewayDiscovery(loaded.pluginRegistry);
|
|
2346
2346
|
}
|
|
2347
2347
|
}
|
|
2348
|
-
const { attachGatewayWsHandlers } = await import("./server-ws-runtime-
|
|
2348
|
+
const { attachGatewayWsHandlers } = await import("./server-ws-runtime-CdgSBUGs.js");
|
|
2349
2349
|
const { listPluginNodeCapabilities } = await import("./route-capability-CgIms8P7.js");
|
|
2350
2350
|
const pluginSurfaceScheme = gatewayTls.enabled ? "https" : "http";
|
|
2351
2351
|
attachGatewayWsHandlers({
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { r as scheduleGatewayUpdateCheck } from "./update-startup-
|
|
1
|
+
import { r as scheduleGatewayUpdateCheck } from "./update-startup-V7F8BmHs.js";
|
|
2
2
|
export { scheduleGatewayUpdateCheck };
|