@gaodefa/daocore 2026.5.83 → 2026.5.85
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/acp/control-plane/manager.d.ts +1 -2
- package/dist/{agent-command-DQ1XgXqe.d.ts → agent-command-COFQwKxZ.d.ts} +38 -2
- package/dist/{agent-harness-Bt_1zRJ1.d.ts → agent-harness-WlBoSv-g.d.ts} +1 -1
- package/dist/build-info.json +3 -3
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{channel-lifecycle-BXdiTu_h.d.ts → channel-lifecycle-C4NrMjdz.d.ts} +0 -1
- package/dist/{channel-pairing-qPwn6FAN.d.ts → channel-pairing-ndZVB-VX.d.ts} +1 -1
- package/dist/cli-startup-metadata.json +8 -8
- package/dist/control-ui/assets/{agents-DI-WnJ02.js → agents-DHLE0HFl.js} +2 -2
- package/dist/control-ui/assets/{channel-config-extras-leIlRHoU.js → channel-config-extras-CxFOBh-V.js} +2 -2
- package/dist/control-ui/assets/{channels-Ds-qLUlB.js → channels-C6FcgeKY.js} +2 -2
- package/dist/control-ui/assets/{cron-DLTDbUMn.js → cron-SXiWM7mY.js} +2 -2
- package/dist/control-ui/assets/{debug-Bv75BYr-.js → debug-B0jMeZzd.js} +2 -2
- package/dist/control-ui/assets/{index-Ba3wfJLC.js → index-DL8I3w4m.js} +4 -4
- package/dist/control-ui/assets/{instances-DU_QK-3f.js → instances-CzcXlcf6.js} +2 -2
- package/dist/control-ui/assets/{logs-CGVUps6u.js → logs-UowLBcx5.js} +2 -2
- package/dist/control-ui/assets/{nodes-BQyIBTsJ.js → nodes-elwKg1C7.js} +2 -2
- package/dist/control-ui/assets/{sessions-Djd-Gwtj.js → sessions-zRBKS883.js} +2 -2
- package/dist/control-ui/assets/{skills-BJskJH2j.js → skills-Bdaz7HoH.js} +2 -2
- package/dist/control-ui/assets/{skills-shared-Dp6IMfi0.js → skills-shared-DMTrs8i3.js} +2 -2
- package/dist/control-ui/index.html +1 -1
- package/dist/control-ui/sw.js +1 -1
- package/dist/extensions/anthropic/doctor-contract-api.d.ts +1 -1
- package/dist/extensions/browser/test-support.d.ts +1 -1
- package/dist/extensions/google/doctor-contract-api.d.ts +1 -1
- package/dist/extensions/image-generation-core/api.d.ts +1 -1
- package/dist/extensions/imessage/runtime-api.d.ts +1 -1
- package/dist/extensions/mattermost/runtime-api.d.ts +7 -7
- package/dist/extensions/signal/api.d.ts +1 -1
- package/dist/extensions/signal/runtime-api.d.ts +2 -2
- package/dist/extensions/telegram/api.d.ts +1 -1
- package/dist/extensions/video-generation-core/api.d.ts +1 -1
- package/dist/extensions/webhooks/runtime-api.d.ts +2 -2
- package/dist/{hook-runtime-BBONf8H3.d.ts → hook-runtime-Cms52qXe.d.ts} +0 -1
- package/dist/index.d.ts +1 -1
- package/dist/{manager.core-BRd2_lqA.d.ts → manager-CuzV3XAs.d.ts} +8 -1
- package/dist/{pairing-store-Cfy_zHzi.d.ts → pairing-challenge-EwSQYSud.d.ts} +34 -34
- package/dist/plugin-sdk/.boundary-entry-shims.stamp +1 -1
- package/dist/plugin-sdk/scripts/lib/plugin-sdk-doc-metadata.d.ts +107 -0
- package/dist/plugin-sdk/src/commands/doctor.types.d.ts +1 -0
- package/dist/plugin-sdk/src/compat/legacy-names.d.ts +1 -1
- package/dist/plugin-sdk/src/plugins/manifest.d.ts +1 -1
- package/dist/{runtime-D21vC5Bd.d.ts → runtime-C3k-ZByi.d.ts} +1 -1
- package/dist/{runtime-api.actions-CClxRuYx.d.ts → runtime-api.actions-CzDO06T7.d.ts} +1 -1
- package/dist/{runtime-api.send-wXeDllRu.d.ts → runtime-api.send-C_MjuzGA.d.ts} +1 -1
- package/dist/{runtime-doctor-DVYwKwIT.d.ts → runtime-doctor-_yVIDUi3.d.ts} +1 -0
- package/dist/{send-DZ4YhPHH.d.ts → send-CTDEXMPp.d.ts} +1 -1
- package/dist/{send-D95RJNJM.d.ts → send-DaFuA5cD.d.ts} +1 -0
- package/dist/{send.types-_f4omMzG.d.ts → send.types-DU1uiiR9.d.ts} +1 -0
- package/dist/task-registry-control.runtime.d.ts +1 -1
- package/dist/{test-fixtures-xgg7UsEw.d.ts → test-fixtures-HY6a4nTW.d.ts} +0 -1
- package/dist/{typed-cases-v8PtmO3g.d.ts → typed-cases-BYRVKA1F.d.ts} +1 -1
- package/dist/{webhook-targets-C9cJD_kB.d.ts → webhook-targets-DqetRJVn.d.ts} +1 -1
- package/npm-shrinkwrap.json +2 -2
- package/package.json +1 -1
- package/dist/manager-DWN3qo90.d.ts +0 -10
- package/dist/reply-runtime-DUv2dRp3.d.ts +0 -34
- package/dist/server-plugins-BVVgDSdq.d.ts +0 -1
- package/dist/subagent-registry-BVVgDSdq.d.ts +0 -1
- package/dist/subagent-registry-read-BVVgDSdq.d.ts +0 -1
- package/dist/test-support-BVVgDSdq.d.ts +0 -1
- /package/dist/{models-D6WT5XG82.d.ts → models-D6WT5XG8.d.ts} +0 -0
- /package/dist/{runtime-api-C7ToEUFX.d.ts → runtime-api-C7ToEUFX2.d.ts} +0 -0
|
@@ -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-DL8I3w4m.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-Ba3wfJLC.js";var a=!1;
|
|
|
54
54
|
</div>
|
|
55
55
|
</div>
|
|
56
56
|
`}export{o as renderInstances};
|
|
57
|
-
//# sourceMappingURL=instances-
|
|
57
|
+
//# sourceMappingURL=instances-CzcXlcf6.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-DL8I3w4m.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-Ba3wfJLC.js";var i=[`trace`,`
|
|
|
71
71
|
</div>
|
|
72
72
|
</section>
|
|
73
73
|
`}export{s as renderLogs};
|
|
74
|
-
//# sourceMappingURL=logs-
|
|
74
|
+
//# sourceMappingURL=logs-UowLBcx5.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-DL8I3w4m.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-elwKg1C7.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-DL8I3w4m.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-zRBKS883.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-DL8I3w4m.js";import{i as s,n as c,r as l,t as u}from"./skills-shared-DMTrs8i3.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-Ba3wfJLC
|
|
|
311
311
|
</div>
|
|
312
312
|
</dialog>
|
|
313
313
|
`}export{g as renderSkills};
|
|
314
|
-
//# sourceMappingURL=skills-
|
|
314
|
+
//# sourceMappingURL=skills-Bdaz7HoH.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-DL8I3w4m.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-Ba3wfJLC.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-DMTrs8i3.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-DL8I3w4m.js"></script>
|
|
199
199
|
<link rel="stylesheet" crossorigin href="./assets/index-BimYwq-S.css">
|
|
200
200
|
</head>
|
|
201
201
|
<body>
|
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.85-26b59ca41cf5";
|
|
6
6
|
const URL_CACHE_VERSION = new URL(self.location.href).searchParams
|
|
7
7
|
.get("v")
|
|
8
8
|
?.replace(/[^a-zA-Z0-9._-]/g, "-");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as DoctorSessionRouteStateOwner } from "../../runtime-doctor-
|
|
1
|
+
import { t as DoctorSessionRouteStateOwner } from "../../runtime-doctor-_yVIDUi3.js";
|
|
2
2
|
|
|
3
3
|
//#region extensions/anthropic/doctor-contract-api.d.ts
|
|
4
4
|
declare const legacyConfigRules: never[];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { r as DaoCoreConfig } from "../../types.daocore-z1fablj2.js";
|
|
2
|
-
import { d as CliRuntimeCapture, f as createCliRuntimeCapture, n as expectGeneratedTokenPersistedToGatewayAuth, u as CliMockOutputRuntime } from "../../typed-cases-
|
|
2
|
+
import { d as CliRuntimeCapture, f as createCliRuntimeCapture, n as expectGeneratedTokenPersistedToGatewayAuth, u as CliMockOutputRuntime } from "../../typed-cases-BYRVKA1F.js";
|
|
3
3
|
import { a as createTempHomeEnv, c as withFetchPreconnect, d as withEnvAsync, i as TempHomeEnv, s as FetchMock, u as withEnv, z as isLiveTestEnabled } from "../../frozen-time-DwAZolm2.js";
|
|
4
4
|
export { type CliMockOutputRuntime, type CliRuntimeCapture, type DaoCoreConfig, type FetchMock, type TempHomeEnv, createCliRuntimeCapture, createTempHomeEnv, expectGeneratedTokenPersistedToGatewayAuth, isLiveTestEnabled, withEnv, withEnvAsync, withFetchPreconnect };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as DoctorSessionRouteStateOwner } from "../../runtime-doctor-
|
|
1
|
+
import { t as DoctorSessionRouteStateOwner } from "../../runtime-doctor-_yVIDUi3.js";
|
|
2
2
|
|
|
3
3
|
//#region extensions/google/doctor-contract-api.d.ts
|
|
4
4
|
declare const sessionRouteStateOwners: DoctorSessionRouteStateOwner[];
|
|
@@ -6,9 +6,9 @@ import { G as ImageGenerationProviderPlugin } from "../../types-Zj4Bq9h-2.js";
|
|
|
6
6
|
import { n as createSubsystemLogger } from "../../subsystem-Ce5qcC5n.js";
|
|
7
7
|
import { n as getProviderEnvVars } from "../../provider-env-vars-D4P1nybb.js";
|
|
8
8
|
import { k as normalizeGooglePreviewModelId } from "../../provider-model-shared-Bv_vhH6i.js";
|
|
9
|
+
import { n as resolveAgentModelPrimaryValue, t as resolveAgentModelFallbackValues } from "../../model-input-Bcau7j-d.js";
|
|
9
10
|
import { n as resolveApiKeyForProvider, r as parseImageGenerationModelRef, t as OPENAI_DEFAULT_IMAGE_MODEL } from "../../image-generation-core-CTdXmiWL.js";
|
|
10
11
|
import { n as isFailoverError, t as describeFailoverError } from "../../failover-error-DQhtVXzc.js";
|
|
11
12
|
import { c as resolveCapabilityModelCandidates, m as throwCapabilityGenerationFailure, r as buildNoCapabilityModelConfiguredMessage } from "../../runtime-shared-D647LTXM.js";
|
|
12
|
-
import { n as resolveAgentModelPrimaryValue, t as resolveAgentModelFallbackValues } from "../../model-input-Bcau7j-d.js";
|
|
13
13
|
import { n as listImageGenerationProviders, t as getImageGenerationProvider } from "../../provider-registry-BQ5DzWBt.js";
|
|
14
14
|
export { type AuthProfileStore, type DaoCoreConfig, type FallbackAttempt, type GeneratedImageAsset, type ImageGenerationProvider, type ImageGenerationProviderConfiguredContext, type ImageGenerationProviderPlugin, type ImageGenerationRequest, type ImageGenerationResolution, type ImageGenerationResult, type ImageGenerationSourceImage, OPENAI_DEFAULT_IMAGE_MODEL, buildNoCapabilityModelConfiguredMessage, createSubsystemLogger, describeFailoverError, getImageGenerationProvider, getProviderEnvVars, isFailoverError, listImageGenerationProviders, normalizeGooglePreviewModelId as normalizeGoogleModelId, parseImageGenerationModelRef, resolveAgentModelFallbackValues, resolveAgentModelPrimaryValue, resolveApiKeyForProvider, resolveCapabilityModelCandidates, throwCapabilityGenerationFailure };
|
|
@@ -10,9 +10,9 @@ import { r as buildChannelConfigSchema } from "../../config-schema-Dx48Ud8L.js";
|
|
|
10
10
|
import { d as getChatChannelMeta } from "../../core-B7zb6eoz.js";
|
|
11
11
|
import { t as PAIRING_APPROVED_MESSAGE } from "../../pairing-message-CPDqF95Z.js";
|
|
12
12
|
import { c as collectStatusIssuesFromLastError, r as buildComputedAccountStatusSnapshot } from "../../status-helpers-CXimLFTG.js";
|
|
13
|
+
import { t as chunkTextForOutbound } from "../../text-chunking-B2vtBPHV.js";
|
|
13
14
|
import { i as IMessageConfigSchema } from "../../bundled-channel-config-schema-4eXcH-RE.js";
|
|
14
15
|
import { g as formatTrimmedAllowFromEntries } from "../../channel-config-helpers-CT_uHJja.js";
|
|
15
|
-
import { t as chunkTextForOutbound } from "../../text-chunking-B2vtBPHV.js";
|
|
16
16
|
import { a as looksLikeIMessageTargetId, o as normalizeIMessageMessagingTarget, r as probeIMessage, s as ResolvedIMessageAccount, t as IMessageProbe } from "../../probe-BsCqBWdU.js";
|
|
17
17
|
import { d as resolveIMessageGroupRequireMention, f as resolveIMessageGroupToolPolicy, n as IMessageService } from "../../targets-CU1hATDw.js";
|
|
18
18
|
|
|
@@ -24,21 +24,21 @@ import { i as parseStrictPositiveInteger } from "../../parse-finite-number-DclbL
|
|
|
24
24
|
import { i as resolveClientIp, r as isTrustedProxyAddress } from "../../net-F7HGAsK5.js";
|
|
25
25
|
import { r as normalizeProviderId } from "../../provider-id--cxPuRVm.js";
|
|
26
26
|
import { n as isDangerousNameMatchingEnabled } from "../../dangerous-name-matching-D8w3gqIz.js";
|
|
27
|
-
import {
|
|
28
|
-
import {
|
|
29
|
-
import { a as getAgentScopedMediaLocalRoots, n as buildAgentMediaPayload } from "../../agent-media-payload-BCMtUkvt.js";
|
|
27
|
+
import { r as buildComputedAccountStatusSnapshot } from "../../status-helpers-CXimLFTG.js";
|
|
28
|
+
import { t as chunkTextForOutbound } from "../../text-chunking-B2vtBPHV.js";
|
|
30
29
|
import { a as warnMissingProviderGroupPolicyFallbackOnce, n as resolveAllowlistProviderRuntimeGroupPolicy, r as resolveDefaultGroupPolicy, t as GROUP_POLICY_BLOCKED_LABEL } from "../../runtime-group-policy-BrxcORKQ.js";
|
|
30
|
+
import { r as createChannelPairingController } from "../../channel-pairing-ndZVB-VX.js";
|
|
31
|
+
import { i as logTypingFailure, r as logInboundDrop } from "../../logging-BuEYHHqy.js";
|
|
31
32
|
import { d as isRequestBodyLimitError, p as readRequestBodyWithLimit } from "../../http-body-C1ZLKBbL.js";
|
|
32
|
-
import {
|
|
33
|
+
import { n as registerPluginHttpRoute } from "../../http-registry-D3Cdok5J.js";
|
|
34
|
+
import { t as rawDataToString } from "../../ws-DPQUGEy8.js";
|
|
35
|
+
import { a as getAgentScopedMediaLocalRoots, n as buildAgentMediaPayload } from "../../agent-media-payload-BCMtUkvt.js";
|
|
33
36
|
import { i as createAccountStatusSink } from "../../channel-lifecycle.core-BAA2tO7Y.js";
|
|
34
37
|
import { n as loadOutboundMediaFromUrl } from "../../outbound-media-Bp109xuN.js";
|
|
35
|
-
import { i as logTypingFailure, r as logInboundDrop } from "../../logging-BuEYHHqy.js";
|
|
36
38
|
import { c as buildPendingHistoryContextFromMap, m as recordPendingHistoryEntryIfEnabled, t as DEFAULT_GROUP_HISTORY_LIMIT, u as clearHistoryEntriesIfEnabled } from "../../reply-history-D0BAmlGo.js";
|
|
37
39
|
import { n as resolveStoredModelOverride } from "../../stored-model-override-DQr9sYoN.js";
|
|
38
40
|
import { r as buildModelsProviderData, t as ModelsProviderData } from "../../commands-models-CAEPBjmz.js";
|
|
39
41
|
import { t as listSkillCommandsForAgents } from "../../skill-commands-6gVFUBkY.js";
|
|
40
|
-
import { r as createChannelPairingController } from "../../channel-pairing-qPwn6FAN.js";
|
|
41
42
|
import { t as loadSessionStore } from "../../session-store-runtime-DmZVeAkA.js";
|
|
42
|
-
import { t as chunkTextForOutbound } from "../../text-chunking-B2vtBPHV.js";
|
|
43
43
|
import { t as setMattermostRuntime } from "../../runtime-api-BpeGiGD2.js";
|
|
44
44
|
export { type BaseProbeResult, type BlockStreamingCoalesceConfig, type ChannelAccountSnapshot, type ChannelDirectoryEntry, type ChannelGroupContext, type ChannelMessageActionName, type ChannelPlugin, type ChatType, DEFAULT_ACCOUNT_ID, DEFAULT_GROUP_HISTORY_LIMIT, type DaoCoreConfig, type DaoCorePluginApi, type DmPolicy, GROUP_POLICY_BLOCKED_LABEL, type GroupPolicy, type HistoryEntry, type ModelsProviderData, type PluginRuntime, type ReplyPayload, type RuntimeEnv, applyAccountNameToChannelSection, applySetupAccountConfigPatch, buildAgentMediaPayload, buildChannelConfigSchema, buildComputedAccountStatusSnapshot, buildModelsProviderData, buildPendingHistoryContextFromMap, chunkTextForOutbound, clearHistoryEntriesIfEnabled, createAccountStatusSink, createChannelHistoryWindow, createChannelReplyPipeline as createChannelMessageReplyPipeline, createChannelPairingController, createDedupeCache, formatInboundFromLabel, getAgentScopedMediaLocalRoots, isDangerousNameMatchingEnabled, isRequestBodyLimitError, isTrustedProxyAddress, listSkillCommandsForAgents, loadOutboundMediaFromUrl, loadSessionStore, logInboundDrop, logTypingFailure, migrateBaseNameToDefaultAccount, normalizeAccountId, normalizeProviderId, parseStrictPositiveInteger, rawDataToString, readRequestBodyWithLimit, recordPendingHistoryEntryIfEnabled, registerPluginHttpRoute, resolveAllowlistMatchSimple, resolveAllowlistProviderRuntimeGroupPolicy, resolveChannelMediaMaxBytes, resolveClientIp, resolveControlCommandGate, resolveDefaultGroupPolicy, resolveStorePath, resolveStoredModelOverride, resolveThreadSessionKeys, setMattermostRuntime, warnMissingProviderGroupPolicyFallbackOnce };
|
|
@@ -2,7 +2,7 @@ import { n as ChannelPlugin } from "../../types.public-B0VjJLe9.js";
|
|
|
2
2
|
import { n as RoutePeer } from "../../resolve-route-ClmiFo9R.js";
|
|
3
3
|
import { a as resolveSignalAccount, c as probeSignal, i as resolveDefaultSignalAccountId, n as listEnabledSignalAccounts, r as listSignalAccountIds, s as SignalProbe, t as ResolvedSignalAccount } from "../../accounts-DvNCYCPg.js";
|
|
4
4
|
import { t as signalPlugin } from "../../channel-Bq3wyp3c.js";
|
|
5
|
-
import { _ as markdownToSignalTextChunks, a as sendMessageSignal, c as ResolvedSignalReactionLevel, d as MonitorSignalOpts, f as monitorSignalProvider, g as markdownToSignalText, h as SignalTextStyleRange, i as SignalSendResult, l as SignalReactionLevel, m as SignalFormattedText, n as SignalRpcOpts, o as sendReadReceiptSignal, p as signalMessageActions, r as SignalSendOpts, s as sendTypingSignal, t as SignalReceiptType, u as resolveSignalReactionLevel } from "../../send-
|
|
5
|
+
import { _ as markdownToSignalTextChunks, a as sendMessageSignal, c as ResolvedSignalReactionLevel, d as MonitorSignalOpts, f as monitorSignalProvider, g as markdownToSignalText, h as SignalTextStyleRange, i as SignalSendResult, l as SignalReactionLevel, m as SignalFormattedText, n as SignalRpcOpts, o as sendReadReceiptSignal, p as signalMessageActions, r as SignalSendOpts, s as sendTypingSignal, t as SignalReceiptType, u as resolveSignalReactionLevel } from "../../send-DaFuA5cD.js";
|
|
6
6
|
import { a as isSignalSenderAllowed, c as resolveSignalRecipient, i as formatSignalSenderId, l as resolveSignalSender, n as formatSignalPairingIdLine, o as normalizeSignalAllowRecipient, r as formatSignalSenderDisplay, s as resolveSignalPeerId, t as SignalSender, u as looksLikeUuid } from "../../identity-DLlvfU6p.js";
|
|
7
7
|
import { a as SignalInstallResult, c as installSignalCli, d as pickAsset, i as ReleaseAsset, n as normalizeSignalMessagingTarget, r as NamedAsset, s as extractSignalCliArchive, t as looksLikeSignalTargetId, u as looksLikeArchive } from "../../normalize-BtYM5FLJ.js";
|
|
8
8
|
import { i as sendReactionSignal, n as SignalReactionResult, r as removeReactionSignal, t as SignalReactionOpts } from "../../send-reactions-CiQj_UQ2.js";
|
|
@@ -16,12 +16,12 @@ import { d as getChatChannelMeta } from "../../core-B7zb6eoz.js";
|
|
|
16
16
|
import { t as formatCliCommand } from "../../command-format-d2gWtZzp.js";
|
|
17
17
|
import { t as detectBinary } from "../../detect-binary-DqlFLJ1Y.js";
|
|
18
18
|
import { t as formatDocsLink } from "../../links-Dz13kJx9.js";
|
|
19
|
-
import { n as resolveAllowlistProviderRuntimeGroupPolicy, r as resolveDefaultGroupPolicy } from "../../runtime-group-policy-BrxcORKQ.js";
|
|
20
19
|
import { t as PAIRING_APPROVED_MESSAGE } from "../../pairing-message-CPDqF95Z.js";
|
|
21
20
|
import { c as collectStatusIssuesFromLastError, d as createDefaultChannelRuntimeState, n as buildBaseChannelStatusSummary, t as buildBaseAccountStatusSnapshot } from "../../status-helpers-CXimLFTG.js";
|
|
21
|
+
import { n as resolveAllowlistProviderRuntimeGroupPolicy, r as resolveDefaultGroupPolicy } from "../../runtime-group-policy-BrxcORKQ.js";
|
|
22
22
|
import { o as SignalConfigSchema } from "../../bundled-channel-config-schema-4eXcH-RE.js";
|
|
23
23
|
import { a as resolveSignalAccount, c as probeSignal, i as resolveDefaultSignalAccountId, n as listEnabledSignalAccounts, o as SignalAccountConfig, r as listSignalAccountIds, t as ResolvedSignalAccount } from "../../accounts-DvNCYCPg.js";
|
|
24
|
-
import { a as sendMessageSignal, f as monitorSignalProvider, p as signalMessageActions, u as resolveSignalReactionLevel } from "../../send-
|
|
24
|
+
import { a as sendMessageSignal, f as monitorSignalProvider, p as signalMessageActions, u as resolveSignalReactionLevel } from "../../send-DaFuA5cD.js";
|
|
25
25
|
import { c as installSignalCli, n as normalizeSignalMessagingTarget, t as looksLikeSignalTargetId } from "../../normalize-BtYM5FLJ.js";
|
|
26
26
|
import { i as sendReactionSignal, r as removeReactionSignal } from "../../send-reactions-CiQj_UQ2.js";
|
|
27
27
|
|
|
@@ -8,7 +8,7 @@ import { F as ChannelStatusIssue, m as ChannelGroupContext, r as ChannelAccountS
|
|
|
8
8
|
import { r as ReplyPayload } from "../../reply-payload-KThnG8ZZ.js";
|
|
9
9
|
import { o as PluginApprovalRequest } from "../../plugin-approvals-DURBhODQ.js";
|
|
10
10
|
import { n as NormalizedLocation } from "../../location-D6ia4w3e.js";
|
|
11
|
-
import {
|
|
11
|
+
import { c as readChannelAllowFromStore } from "../../pairing-challenge-EwSQYSud.js";
|
|
12
12
|
import { n as TelegramCredentialStatus, r as inspectTelegramAccount, t as InspectedTelegramAccount } from "../../account-inspect-DDbuOvTz.js";
|
|
13
13
|
import { g as TelegramInlineButtons, h as TelegramButtonStyle, u as sendMessageTelegram } from "../../send-DhL6N0ht.js";
|
|
14
14
|
import { a as normalizeTelegramCommandName, i as normalizeTelegramCommandDescription, n as TelegramCustomCommandInput, o as resolveTelegramCustomCommands, r as TelegramCustomCommandIssue, t as TELEGRAM_COMMAND_NAME_PATTERN } from "../../command-config-B5uSKuEF.js";
|
|
@@ -5,9 +5,9 @@ import { c as VideoGenerationProviderCapabilities, d as VideoGenerationResolutio
|
|
|
5
5
|
import { Jn as VideoGenerationProviderPlugin } from "../../types-Zj4Bq9h-2.js";
|
|
6
6
|
import { n as createSubsystemLogger } from "../../subsystem-Ce5qcC5n.js";
|
|
7
7
|
import { n as getProviderEnvVars } from "../../provider-env-vars-D4P1nybb.js";
|
|
8
|
+
import { n as resolveAgentModelPrimaryValue, t as resolveAgentModelFallbackValues } from "../../model-input-Bcau7j-d.js";
|
|
8
9
|
import { n as isFailoverError, t as describeFailoverError } from "../../failover-error-DQhtVXzc.js";
|
|
9
10
|
import { c as resolveCapabilityModelCandidates, m as throwCapabilityGenerationFailure, r as buildNoCapabilityModelConfiguredMessage } from "../../runtime-shared-D647LTXM.js";
|
|
10
|
-
import { n as resolveAgentModelPrimaryValue, t as resolveAgentModelFallbackValues } from "../../model-input-Bcau7j-d.js";
|
|
11
11
|
import { t as parseVideoGenerationModelRef } from "../../model-ref-mtPT-mlX.js";
|
|
12
12
|
import { n as listVideoGenerationProviders, t as getVideoGenerationProvider } from "../../provider-registry-DG571X-9.js";
|
|
13
13
|
export { type AuthProfileStore, type DaoCoreConfig, type FallbackAttempt, type GeneratedVideoAsset, type VideoGenerationIgnoredOverride, type VideoGenerationMode, type VideoGenerationModeCapabilities, type VideoGenerationProvider, type VideoGenerationProviderCapabilities, type VideoGenerationProviderConfiguredContext, type VideoGenerationProviderPlugin, type VideoGenerationRequest, type VideoGenerationResolution, type VideoGenerationResult, type VideoGenerationSourceAsset, type VideoGenerationTransformCapabilities, buildNoCapabilityModelConfiguredMessage, createSubsystemLogger, describeFailoverError, getProviderEnvVars, getVideoGenerationProvider, isFailoverError, listVideoGenerationProviders, parseVideoGenerationModelRef, resolveAgentModelFallbackValues, resolveAgentModelPrimaryValue, resolveCapabilityModelCandidates, throwCapabilityGenerationFailure };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as DaoCoreConfig } from "../../types.daocore-z1fablj2.js";
|
|
2
2
|
import { a as resolveRequestClientIp } from "../../net-F7HGAsK5.js";
|
|
3
|
-
import { t as resolveConfiguredSecretInputString } from "../../resolve-configured-secret-input-string-D5mmr6Ae.js";
|
|
4
3
|
import { h as WEBHOOK_RATE_LIMIT_DEFAULTS, i as WebhookInFlightLimiter, l as readJsonWebhookBodyOrReject, n as WEBHOOK_IN_FLIGHT_DEFAULTS, s as createWebhookInFlightLimiter, v as createFixedWindowRateLimiter } from "../../webhook-request-guards-CQf6yUy9.js";
|
|
5
|
-
import { d as resolveWebhookTargetWithAuthOrRejectSync, p as withResolvedWebhookRequestPipeline, u as resolveWebhookTargetWithAuthOrReject } from "../../webhook-targets-
|
|
4
|
+
import { d as resolveWebhookTargetWithAuthOrRejectSync, p as withResolvedWebhookRequestPipeline, u as resolveWebhookTargetWithAuthOrReject } from "../../webhook-targets-DqetRJVn.js";
|
|
6
5
|
import { t as normalizeWebhookPath } from "../../webhook-path-O9E0sKmN.js";
|
|
6
|
+
import { t as resolveConfiguredSecretInputString } from "../../resolve-configured-secret-input-string-D5mmr6Ae.js";
|
|
7
7
|
export { type DaoCoreConfig, WEBHOOK_IN_FLIGHT_DEFAULTS, WEBHOOK_RATE_LIMIT_DEFAULTS, type WebhookInFlightLimiter, createFixedWindowRateLimiter, createWebhookInFlightLimiter, normalizeWebhookPath, readJsonWebhookBodyOrReject, resolveConfiguredSecretInputString, resolveRequestClientIp, resolveWebhookTargetWithAuthOrReject, resolveWebhookTargetWithAuthOrRejectSync, withResolvedWebhookRequestPipeline };
|
|
@@ -3,7 +3,6 @@ import { t as DiagnosticTraceContext } from "./diagnostic-trace-context-DcbwO2-o
|
|
|
3
3
|
import { t as FinalizedMsgContext } from "./templating-ER7W_0Hh.js";
|
|
4
4
|
import { Bt as PluginHookInboundClaimEvent, Gt as PluginHookMessageSentEvent, Ht as PluginHookMessageReceivedEvent, Vt as PluginHookMessageContext, zt as PluginHookInboundClaimContext } from "./hook-types-ax20W7Kw.js";
|
|
5
5
|
import { a as MessagePreprocessedHookContext, d as MessageTranscribedHookContext, l as MessageSentHookContext, s as MessageReceivedHookContext } from "./internal-hooks-DCdYIJk0.js";
|
|
6
|
-
|
|
7
6
|
//#region src/hooks/fire-and-forget.d.ts
|
|
8
7
|
type FireAndForgetBoundedHookOptions = {
|
|
9
8
|
maxConcurrency?: number;
|
package/dist/index.d.ts
CHANGED
|
@@ -8,9 +8,9 @@ import { n as PollInput } from "./polls-CfHkU59X.js";
|
|
|
8
8
|
import { l as normalizeE164$1 } from "./utils-DSrjARXN.js";
|
|
9
9
|
import { n as resolveSessionKey$1, t as deriveSessionKey$1 } from "./session-key-uDwxuftd.js";
|
|
10
10
|
import { t as CliDeps } from "./deps.types-C8BV1CgG.js";
|
|
11
|
+
import { t as getReplyFromConfig$2 } from "./get-reply-BGgkS68z.js";
|
|
11
12
|
import { i as handlePortError$1, n as describePortOwner$1, r as ensurePortAvailable$1, t as PortInUseError$1 } from "./ports-DqReeIZ2.js";
|
|
12
13
|
import { t as waitForever$1 } from "./wait-isUfz79Z.js";
|
|
13
|
-
import { t as getReplyFromConfig$2 } from "./get-reply-BGgkS68z.js";
|
|
14
14
|
import { AgentToolResult } from "@earendil-works/pi-agent-core";
|
|
15
15
|
|
|
16
16
|
//#region src/cli/prompt.d.ts
|
|
@@ -195,4 +195,11 @@ declare class AcpSessionManager {
|
|
|
195
195
|
private markBackgroundTaskTerminal;
|
|
196
196
|
}
|
|
197
197
|
//#endregion
|
|
198
|
-
|
|
198
|
+
//#region src/acp/control-plane/manager.d.ts
|
|
199
|
+
declare function getAcpSessionManager(): AcpSessionManager;
|
|
200
|
+
declare const testing: {
|
|
201
|
+
resetAcpSessionManagerForTests(): void;
|
|
202
|
+
setAcpSessionManagerForTests(manager: unknown): void;
|
|
203
|
+
};
|
|
204
|
+
//#endregion
|
|
205
|
+
export { AcpCloseSessionResult as a, AcpRunTurnInput as c, AcpStartupIdentityReconcileResult as d, AcpCloseSessionInput as i, AcpSessionResolution as l, testing as n, AcpInitializeSessionInput as o, AcpSessionManager as r, AcpManagerObservabilitySnapshot as s, getAcpSessionManager as t, AcpSessionStatus as u };
|
|
@@ -1,39 +1,6 @@
|
|
|
1
1
|
import { t as ChannelPairingAdapter } from "./pairing.types-B8gJXl1a.js";
|
|
2
2
|
import { t as PairingChannel } from "./pairing-store.types-BcORBxth.js";
|
|
3
3
|
|
|
4
|
-
//#region src/pairing/pairing-challenge.d.ts
|
|
5
|
-
type PairingMeta = Record<string, string | undefined>;
|
|
6
|
-
type PairingChallengeParams = {
|
|
7
|
-
channel: string;
|
|
8
|
-
senderId: string;
|
|
9
|
-
senderIdLine: string;
|
|
10
|
-
meta?: PairingMeta;
|
|
11
|
-
upsertPairingRequest: (params: {
|
|
12
|
-
id: string;
|
|
13
|
-
meta?: PairingMeta;
|
|
14
|
-
}) => Promise<{
|
|
15
|
-
code: string;
|
|
16
|
-
created: boolean;
|
|
17
|
-
}>;
|
|
18
|
-
sendPairingReply: (text: string) => Promise<void>;
|
|
19
|
-
buildReplyText?: (params: {
|
|
20
|
-
code: string;
|
|
21
|
-
senderIdLine: string;
|
|
22
|
-
}) => string;
|
|
23
|
-
onCreated?: (params: {
|
|
24
|
-
code: string;
|
|
25
|
-
}) => void;
|
|
26
|
-
onReplyError?: (err: unknown) => void;
|
|
27
|
-
};
|
|
28
|
-
/**
|
|
29
|
-
* Shared pairing challenge issuance for DM pairing policy pathways.
|
|
30
|
-
* Ensures every channel follows the same create-if-missing + reply flow.
|
|
31
|
-
*/
|
|
32
|
-
declare function issuePairingChallenge(params: PairingChallengeParams): Promise<{
|
|
33
|
-
created: boolean;
|
|
34
|
-
code?: string;
|
|
35
|
-
}>;
|
|
36
|
-
//#endregion
|
|
37
4
|
//#region src/pairing/pairing-store.d.ts
|
|
38
5
|
type PairingRequest = {
|
|
39
6
|
id: string;
|
|
@@ -84,4 +51,37 @@ declare function approveChannelPairingCode(params: {
|
|
|
84
51
|
entry?: PairingRequest;
|
|
85
52
|
} | null>;
|
|
86
53
|
//#endregion
|
|
87
|
-
|
|
54
|
+
//#region src/pairing/pairing-challenge.d.ts
|
|
55
|
+
type PairingMeta = Record<string, string | undefined>;
|
|
56
|
+
type PairingChallengeParams = {
|
|
57
|
+
channel: string;
|
|
58
|
+
senderId: string;
|
|
59
|
+
senderIdLine: string;
|
|
60
|
+
meta?: PairingMeta;
|
|
61
|
+
upsertPairingRequest: (params: {
|
|
62
|
+
id: string;
|
|
63
|
+
meta?: PairingMeta;
|
|
64
|
+
}) => Promise<{
|
|
65
|
+
code: string;
|
|
66
|
+
created: boolean;
|
|
67
|
+
}>;
|
|
68
|
+
sendPairingReply: (text: string) => Promise<void>;
|
|
69
|
+
buildReplyText?: (params: {
|
|
70
|
+
code: string;
|
|
71
|
+
senderIdLine: string;
|
|
72
|
+
}) => string;
|
|
73
|
+
onCreated?: (params: {
|
|
74
|
+
code: string;
|
|
75
|
+
}) => void;
|
|
76
|
+
onReplyError?: (err: unknown) => void;
|
|
77
|
+
};
|
|
78
|
+
/**
|
|
79
|
+
* Shared pairing challenge issuance for DM pairing policy pathways.
|
|
80
|
+
* Ensures every channel follows the same create-if-missing + reply flow.
|
|
81
|
+
*/
|
|
82
|
+
declare function issuePairingChallenge(params: PairingChallengeParams): Promise<{
|
|
83
|
+
created: boolean;
|
|
84
|
+
code?: string;
|
|
85
|
+
}>;
|
|
86
|
+
//#endregion
|
|
87
|
+
export { approveChannelPairingCode as a, readChannelAllowFromStore as c, readLegacyChannelAllowFromStoreSync as d, removeChannelAllowFromStoreEntry as f, addChannelAllowFromStoreEntry as i, readChannelAllowFromStoreSync as l, upsertChannelPairingRequest as m, issuePairingChallenge as n, clearPairingAllowFromReadCacheForTest as o, resolveChannelAllowFromPath as p, PairingRequest as r, listChannelPairingRequests as s, PairingChallengeParams as t, readLegacyChannelAllowFromStore as u };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
2026-05-
|
|
1
|
+
2026-05-28T05:04:04.111Z
|
|
@@ -0,0 +1,107 @@
|
|
|
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-reply-runtime": {
|
|
28
|
+
readonly category: "runtime";
|
|
29
|
+
};
|
|
30
|
+
readonly "plugin-entry": {
|
|
31
|
+
readonly category: "core";
|
|
32
|
+
};
|
|
33
|
+
readonly "access-groups": {
|
|
34
|
+
readonly category: "channel";
|
|
35
|
+
};
|
|
36
|
+
readonly "channel-actions": {
|
|
37
|
+
readonly category: "channel";
|
|
38
|
+
};
|
|
39
|
+
readonly "channel-config-schema": {
|
|
40
|
+
readonly category: "channel";
|
|
41
|
+
};
|
|
42
|
+
readonly "channel-config-schema-legacy": {
|
|
43
|
+
readonly category: "channel";
|
|
44
|
+
};
|
|
45
|
+
readonly "channel-contract": {
|
|
46
|
+
readonly category: "channel";
|
|
47
|
+
};
|
|
48
|
+
readonly "channel-pairing": {
|
|
49
|
+
readonly category: "channel";
|
|
50
|
+
};
|
|
51
|
+
readonly "channel-ingress": {
|
|
52
|
+
readonly category: "channel";
|
|
53
|
+
};
|
|
54
|
+
readonly "channel-ingress-runtime": {
|
|
55
|
+
readonly category: "channel";
|
|
56
|
+
};
|
|
57
|
+
readonly "channel-reply-pipeline": {
|
|
58
|
+
readonly category: "channel";
|
|
59
|
+
};
|
|
60
|
+
readonly "channel-setup": {
|
|
61
|
+
readonly category: "channel";
|
|
62
|
+
};
|
|
63
|
+
readonly "command-auth": {
|
|
64
|
+
readonly category: "channel";
|
|
65
|
+
};
|
|
66
|
+
readonly zalouser: {
|
|
67
|
+
readonly category: "channel";
|
|
68
|
+
};
|
|
69
|
+
readonly "command-status": {
|
|
70
|
+
readonly category: "channel";
|
|
71
|
+
};
|
|
72
|
+
readonly "command-status-runtime": {
|
|
73
|
+
readonly category: "runtime";
|
|
74
|
+
};
|
|
75
|
+
readonly "secret-input": {
|
|
76
|
+
readonly category: "channel";
|
|
77
|
+
};
|
|
78
|
+
readonly "webhook-ingress": {
|
|
79
|
+
readonly category: "channel";
|
|
80
|
+
};
|
|
81
|
+
readonly "provider-onboard": {
|
|
82
|
+
readonly category: "provider";
|
|
83
|
+
};
|
|
84
|
+
readonly "provider-selection-runtime": {
|
|
85
|
+
readonly category: "provider";
|
|
86
|
+
};
|
|
87
|
+
readonly "runtime-store": {
|
|
88
|
+
readonly category: "runtime";
|
|
89
|
+
};
|
|
90
|
+
readonly "agent-runtime": {
|
|
91
|
+
readonly category: "runtime";
|
|
92
|
+
};
|
|
93
|
+
readonly "speech-core": {
|
|
94
|
+
readonly category: "provider";
|
|
95
|
+
};
|
|
96
|
+
readonly "tts-runtime": {
|
|
97
|
+
readonly category: "runtime";
|
|
98
|
+
};
|
|
99
|
+
readonly "allow-from": {
|
|
100
|
+
readonly category: "utilities";
|
|
101
|
+
};
|
|
102
|
+
readonly "reply-payload": {
|
|
103
|
+
readonly category: "utilities";
|
|
104
|
+
};
|
|
105
|
+
};
|
|
106
|
+
export type PluginSdkDocEntrypoint = keyof typeof pluginSdkDocMetadata;
|
|
107
|
+
export declare function resolvePluginSdkDocImportSpecifier(entrypoint: PluginSdkDocEntrypoint): string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export declare const PROJECT_NAME: "daocore";
|
|
2
2
|
export declare const MANIFEST_KEY: "daocore";
|
|
3
|
-
export declare const LEGACY_MANIFEST_KEYS: readonly ["clawdbot"];
|
|
3
|
+
export declare const LEGACY_MANIFEST_KEYS: readonly ["clawdbot", "openclaw"];
|
|
4
4
|
export declare const MACOS_APP_SOURCES_DIR: "apps/macos/Sources/DaoCore";
|
|
@@ -6,7 +6,7 @@ import { type PluginManifestCommandAlias } from "./manifest-command-aliases.js";
|
|
|
6
6
|
import type { PluginConfigUiHint } from "./manifest-types.js";
|
|
7
7
|
import type { PluginKind } from "./plugin-kind.types.js";
|
|
8
8
|
export declare const PLUGIN_MANIFEST_FILENAME = "daocore.plugin.json";
|
|
9
|
-
export declare const PLUGIN_MANIFEST_FILENAMES: readonly ["daocore.plugin.json"];
|
|
9
|
+
export declare const PLUGIN_MANIFEST_FILENAMES: readonly ["daocore.plugin.json", "openclaw.plugin.json"];
|
|
10
10
|
export declare const MAX_PLUGIN_MANIFEST_BYTES: number;
|
|
11
11
|
export declare function clearPluginManifestLoadCache(): void;
|
|
12
12
|
export type PluginManifestChannelConfig = {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as PluginRuntime } from "./types-FUwVViJs.js";
|
|
2
|
-
import { f as sendMessageDiscord } from "./send-
|
|
2
|
+
import { f as sendMessageDiscord } from "./send-CTDEXMPp.js";
|
|
3
3
|
import { t as discordMessageActions } from "./channel-actions-kaGtvTpB.js";
|
|
4
4
|
|
|
5
5
|
//#region extensions/discord/src/runtime.d.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as DiscordChannelEdit, r as DiscordChannelMove, t as DiscordChannelCreate } from "./send.types-
|
|
1
|
+
import { n as DiscordChannelEdit, r as DiscordChannelMove, t as DiscordChannelCreate } from "./send.types-DU1uiiR9.js";
|
|
2
2
|
//#region extensions/discord/src/actions/runtime.moderation-shared.d.ts
|
|
3
3
|
type DiscordModerationAction = "timeout" | "kick" | "ban";
|
|
4
4
|
type DiscordModerationCommand = {
|
|
@@ -4,7 +4,7 @@ import { t as OutboundMediaAccess } from "./load-options-CTuppEe4.js";
|
|
|
4
4
|
import { f as ChunkMode } from "./outbound.types-gEprXV1y.js";
|
|
5
5
|
import { t as RequestClient } from "./rest-CE8PF7Nu.js";
|
|
6
6
|
import { d as DiscordComponentBuildResult, h as DiscordComponentMessageSpec } from "./components-D9TlXmrM.js";
|
|
7
|
-
import { v as DiscordSendResult } from "./send.types-
|
|
7
|
+
import { v as DiscordSendResult } from "./send.types-DU1uiiR9.js";
|
|
8
8
|
|
|
9
9
|
//#region extensions/discord/src/send.components.d.ts
|
|
10
10
|
type DiscordComponentSendOpts = {
|
|
@@ -7,7 +7,7 @@ import { t as RetryConfig } from "./retry-CrxGEpqH.js";
|
|
|
7
7
|
import { Et as APIRole, I as APIGuildMember, S as APIMessage, it as APIChannel, kt as Snowflake } from "./payload-U2icqU80.js";
|
|
8
8
|
import { a as APIGuildScheduledEventRecurrenceRule, i as APIGuildScheduledEventEntityMetadata, n as APIVoiceState, o as GuildScheduledEventEntityType, r as APIGuildScheduledEvent, s as GuildScheduledEventPrivacyLevel } from "./voice-Damkqy6G.js";
|
|
9
9
|
import { t as RequestClient } from "./rest-CE8PF7Nu.js";
|
|
10
|
-
import { S as DiscordTimeoutTarget, a as DiscordEmojiUpload, b as DiscordThreadCreate, c as DiscordModerationTarget, f as DiscordReactionSummary, g as DiscordSearchQuery, i as DiscordChannelPermissionSet, l as DiscordPermissionsSummary, m as DiscordRoleChange, n as DiscordChannelEdit, o as DiscordMessageEdit, r as DiscordChannelMove, s as DiscordMessageQuery, t as DiscordChannelCreate, u as DiscordReactOpts, v as DiscordSendResult, x as DiscordThreadList, y as DiscordStickerUpload } from "./send.types-
|
|
10
|
+
import { S as DiscordTimeoutTarget, a as DiscordEmojiUpload, b as DiscordThreadCreate, c as DiscordModerationTarget, f as DiscordReactionSummary, g as DiscordSearchQuery, i as DiscordChannelPermissionSet, l as DiscordPermissionsSummary, m as DiscordRoleChange, n as DiscordChannelEdit, o as DiscordMessageEdit, r as DiscordChannelMove, s as DiscordMessageQuery, t as DiscordChannelCreate, u as DiscordReactOpts, v as DiscordSendResult, x as DiscordThreadList, y as DiscordStickerUpload } from "./send.types-DU1uiiR9.js";
|
|
11
11
|
import { n as DiscordSendEmbeds, t as DiscordSendComponents } from "./send.shared-DFtuanuS.js";
|
|
12
12
|
|
|
13
13
|
//#region node_modules/discord-api-types/rest/v10/guildScheduledEvent.d.ts
|
|
@@ -6,6 +6,7 @@ import { P as MessageReceipt } from "./types-BVrDKTdl.js";
|
|
|
6
6
|
import { y as ChannelMessageActionAdapter } from "./types.core-Vx171EXS.js";
|
|
7
7
|
import { y as BackoffPolicy } from "./wsl-DGjWf35r.js";
|
|
8
8
|
import { r as waitForTransportReady } from "./transport-ready-CRskTZ8O.js";
|
|
9
|
+
|
|
9
10
|
//#region extensions/signal/src/format.d.ts
|
|
10
11
|
type SignalTextStyle = "BOLD" | "ITALIC" | "STRIKETHROUGH" | "MONOSPACE" | "SPOILER";
|
|
11
12
|
type SignalTextStyleRange = {
|
|
@@ -2,6 +2,7 @@ import { r as DaoCoreConfig } from "./types.daocore-z1fablj2.js";
|
|
|
2
2
|
import { P as MessageReceipt } from "./types-BVrDKTdl.js";
|
|
3
3
|
import { t as RetryConfig } from "./retry-CrxGEpqH.js";
|
|
4
4
|
import { t as RequestClient } from "./rest-CE8PF7Nu.js";
|
|
5
|
+
|
|
5
6
|
//#region extensions/discord/src/send.types.d.ts
|
|
6
7
|
declare class DiscordSendError extends Error {
|
|
7
8
|
kind?: "missing-permissions" | "dm-blocked";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as DaoCoreConfig } from "./types.daocore-z1fablj2.js";
|
|
2
|
-
import { t as getAcpSessionManager } from "./manager-
|
|
2
|
+
import { t as getAcpSessionManager } from "./manager-CuzV3XAs.js";
|
|
3
3
|
//#region src/agents/subagent-control.d.ts
|
|
4
4
|
declare function killSubagentRunAdmin(params: {
|
|
5
5
|
cfg: DaoCoreConfig;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { a as SandboxSshConfig, i as SandboxPruneConfig, t as SandboxBrowserConfig } from "./types-kd_AtXCR.js";
|
|
2
|
-
|
|
3
2
|
//#region src/plugin-sdk/test-helpers/sandbox-fixtures.d.ts
|
|
4
3
|
declare function createSandboxBrowserConfig(overrides?: Partial<SandboxBrowserConfig>): SandboxBrowserConfig;
|
|
5
4
|
declare function createSandboxPruneConfig(overrides?: Partial<SandboxPruneConfig>): SandboxPruneConfig;
|