@gaodefa/daocore 2026.5.85 → 2026.5.86

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.
Files changed (91) hide show
  1. package/dist/acp/control-plane/manager.d.ts +2 -1
  2. package/dist/{agent-command-COFQwKxZ.d.ts → agent-command-DQ1XgXqe.d.ts} +2 -38
  3. package/dist/{agent-harness-WlBoSv-g.d.ts → agent-harness-Bt_1zRJ1.d.ts} +1 -1
  4. package/dist/build-info.json +2 -2
  5. package/dist/canvas-host/a2ui/.bundle.hash +1 -1
  6. package/dist/{channel-lifecycle-C4NrMjdz.d.ts → channel-lifecycle-BXdiTu_h.d.ts} +1 -0
  7. package/dist/{channel-pairing-ndZVB-VX.d.ts → channel-pairing-qPwn6FAN.d.ts} +1 -1
  8. package/dist/cli-startup-metadata.json +8 -8
  9. package/dist/control-ui/sw.js +2 -2
  10. package/dist/extensions/anthropic/doctor-contract-api.d.ts +1 -1
  11. package/dist/extensions/browser/test-support.d.ts +1 -1
  12. package/dist/extensions/google/doctor-contract-api.d.ts +1 -1
  13. package/dist/extensions/image-generation-core/api.d.ts +1 -1
  14. package/dist/extensions/imessage/message-tool-api.d.ts +1 -1
  15. package/dist/extensions/imessage/runtime-api.d.ts +1 -1
  16. package/dist/extensions/mattermost/runtime-api.d.ts +7 -7
  17. package/dist/extensions/signal/api.d.ts +1 -1
  18. package/dist/extensions/signal/runtime-api.d.ts +2 -2
  19. package/dist/extensions/telegram/api.d.ts +1 -1
  20. package/dist/extensions/video-generation-core/api.d.ts +1 -1
  21. package/dist/extensions/webhooks/runtime-api.d.ts +2 -2
  22. package/dist/{hook-runtime-Cms52qXe.d.ts → hook-runtime-BBONf8H3.d.ts} +1 -0
  23. package/dist/index.d.ts +1 -1
  24. package/dist/manager-DWN3qo90.d.ts +10 -0
  25. package/dist/{manager-CuzV3XAs.d.ts → manager.core-BRd2_lqA.d.ts} +1 -8
  26. package/dist/{pairing-challenge-EwSQYSud.d.ts → pairing-store-Cfy_zHzi.d.ts} +34 -34
  27. package/dist/plugin-sdk/.boundary-entry-shims.stamp +1 -1
  28. package/dist/plugin-sdk/src/commands/doctor.types.d.ts +0 -1
  29. package/dist/plugin-sdk/src/compat/legacy-names.d.ts +1 -1
  30. package/dist/plugin-sdk/src/plugins/manifest.d.ts +1 -1
  31. package/dist/reply-runtime-DUv2dRp3.d.ts +34 -0
  32. package/dist/{runtime-C3k-ZByi.d.ts → runtime-D21vC5Bd.d.ts} +1 -1
  33. package/dist/{runtime-api.actions-CzDO06T7.d.ts → runtime-api.actions-CClxRuYx.d.ts} +1 -1
  34. package/dist/{runtime-api.send-C_MjuzGA.d.ts → runtime-api.send-wXeDllRu.d.ts} +1 -1
  35. package/dist/{runtime-doctor-_yVIDUi3.d.ts → runtime-doctor-DVYwKwIT.d.ts} +0 -1
  36. package/dist/{send-DaFuA5cD.d.ts → send-D95RJNJM.d.ts} +0 -1
  37. package/dist/{send-CTDEXMPp.d.ts → send-DZ4YhPHH.d.ts} +1 -1
  38. package/dist/{send.types-DU1uiiR9.d.ts → send.types-_f4omMzG.d.ts} +0 -1
  39. package/dist/server-plugins-BVVgDSdq.d.ts +1 -0
  40. package/dist/subagent-registry-BVVgDSdq.d.ts +1 -0
  41. package/dist/subagent-registry-read-BVVgDSdq.d.ts +1 -0
  42. package/dist/task-registry-control.runtime.d.ts +1 -1
  43. package/dist/{test-fixtures-HY6a4nTW.d.ts → test-fixtures-xgg7UsEw.d.ts} +1 -0
  44. package/dist/test-support-BVVgDSdq.d.ts +1 -0
  45. package/dist/{typed-cases-BYRVKA1F.d.ts → typed-cases-v8PtmO3g.d.ts} +1 -1
  46. package/dist/{webhook-targets-DqetRJVn.d.ts → webhook-targets-C9cJD_kB.d.ts} +1 -1
  47. package/npm-shrinkwrap.json +2 -2
  48. package/package.json +1 -1
  49. package/dist/control-ui/apple-touch-icon.png +0 -0
  50. package/dist/control-ui/assets/agents-DHLE0HFl.js +0 -1008
  51. package/dist/control-ui/assets/ar-DmY3OKJ7.js +0 -2
  52. package/dist/control-ui/assets/channel-config-extras-CxFOBh-V.js +0 -2
  53. package/dist/control-ui/assets/channels-C6FcgeKY.js +0 -367
  54. package/dist/control-ui/assets/cron-SXiWM7mY.js +0 -1013
  55. package/dist/control-ui/assets/de-nNWCMyC9.js +0 -2
  56. package/dist/control-ui/assets/debug-B0jMeZzd.js +0 -97
  57. package/dist/control-ui/assets/es-BcdhLNdf.js +0 -2
  58. package/dist/control-ui/assets/fa-DbS2z7VZ.js +0 -2
  59. package/dist/control-ui/assets/fr-CBqvw0rY.js +0 -2
  60. package/dist/control-ui/assets/id-DXES9f6X.js +0 -2
  61. package/dist/control-ui/assets/index-BimYwq-S.css +0 -1
  62. package/dist/control-ui/assets/index-DL8I3w4m.js +0 -7373
  63. package/dist/control-ui/assets/instances-CzcXlcf6.js +0 -57
  64. package/dist/control-ui/assets/it-DpT4ZVOU.js +0 -2
  65. package/dist/control-ui/assets/ja-JP-D8RXA_04.js +0 -2
  66. package/dist/control-ui/assets/ko-5en8VO8w.js +0 -2
  67. package/dist/control-ui/assets/logs-UowLBcx5.js +0 -74
  68. package/dist/control-ui/assets/nl-Bb10QoRg.js +0 -2
  69. package/dist/control-ui/assets/nodes-elwKg1C7.js +0 -436
  70. package/dist/control-ui/assets/pl-Y8UIOEIm.js +0 -2
  71. package/dist/control-ui/assets/preview-BBw3vauN.js +0 -2
  72. package/dist/control-ui/assets/pt-BR-DDsy5M68.js +0 -2
  73. package/dist/control-ui/assets/push-subscription-TTvs1whj.js +0 -2
  74. package/dist/control-ui/assets/sessions-zRBKS883.js +0 -399
  75. package/dist/control-ui/assets/skills-Bdaz7HoH.js +0 -314
  76. package/dist/control-ui/assets/skills-shared-DMTrs8i3.js +0 -11
  77. package/dist/control-ui/assets/th-D_2DtFn6.js +0 -2
  78. package/dist/control-ui/assets/tr-DBsYZTmE.js +0 -2
  79. package/dist/control-ui/assets/uk-BUxHBc05.js +0 -2
  80. package/dist/control-ui/assets/vi-B67Eos5b.js +0 -2
  81. package/dist/control-ui/assets/zh-CN-1-UH_6gQ.js +0 -2
  82. package/dist/control-ui/assets/zh-TW-CA4YEnf2.js +0 -2
  83. package/dist/control-ui/favicon-32.png +0 -0
  84. package/dist/control-ui/favicon-512.png +0 -0
  85. package/dist/control-ui/favicon.ico +0 -0
  86. package/dist/control-ui/favicon.svg +0 -12
  87. package/dist/control-ui/index.html +0 -322
  88. package/dist/control-ui/manifest.webmanifest +0 -40
  89. package/dist/plugin-sdk/scripts/lib/plugin-sdk-doc-metadata.d.ts +0 -107
  90. /package/dist/{models-D6WT5XG8.d.ts → models-D6WT5XG82.d.ts} +0 -0
  91. /package/dist/{runtime-api-C7ToEUFX2.d.ts → runtime-api-C7ToEUFX.d.ts} +0 -0
@@ -1,322 +0,0 @@
1
- <!doctype html>
2
- <html lang="en">
3
- <head>
4
- <meta charset="UTF-8" />
5
- <meta name="viewport" content="width=device-width, initial-scale=1.0, viewport-fit=cover" />
6
- <title>DaoCore Control</title>
7
- <meta name="color-scheme" content="dark light" />
8
- <link rel="icon" type="image/svg+xml" href="./favicon.svg" />
9
- <link rel="icon" type="image/png" sizes="32x32" href="./favicon-32.png" />
10
- <link rel="apple-touch-icon" sizes="180x180" href="./apple-touch-icon.png" />
11
- <link rel="manifest" href="manifest.webmanifest" />
12
- <script>
13
- (function () {
14
- var THEMES = { claw: 1, knot: 1, dash: 1 };
15
- var MODES = { system: 1, light: 1, dark: 1 };
16
- var LEGACY = {
17
- dark: "claw:dark",
18
- light: "claw:light",
19
- openknot: "knot:dark",
20
- fieldmanual: "dash:dark",
21
- clawdash: "dash:light",
22
- system: "claw:system",
23
- };
24
- try {
25
- var keys = Object.keys(localStorage);
26
- var raw;
27
- for (var i = 0; i < keys.length; i++) {
28
- if (keys[i].indexOf("daocore.control.settings.v1") === 0) {
29
- raw = localStorage.getItem(keys[i]);
30
- if (raw) break;
31
- }
32
- }
33
- if (!raw) return;
34
- var s = JSON.parse(raw);
35
- var t = s && s.theme;
36
- var m = s && s.themeMode;
37
- if (typeof t !== "string") t = "";
38
- if (typeof m !== "string") m = "";
39
- var legacy = LEGACY[t];
40
- var theme = THEMES[t] ? t : legacy ? legacy.split(":")[0] : "claw";
41
- var mode = MODES[m] ? m : legacy ? legacy.split(":")[1] : "system";
42
- if (mode === "system") {
43
- mode = window.matchMedia("(prefers-color-scheme: light)").matches ? "light" : "dark";
44
- }
45
- var resolved =
46
- theme === "knot"
47
- ? mode === "light"
48
- ? "openknot-light"
49
- : "openknot"
50
- : theme === "dash"
51
- ? mode === "light"
52
- ? "dash-light"
53
- : "dash"
54
- : mode === "light"
55
- ? "light"
56
- : "dark";
57
- document.documentElement.setAttribute("data-theme", resolved);
58
- document.documentElement.setAttribute(
59
- "data-theme-mode",
60
- resolved.indexOf("light") !== -1 ? "light" : "dark",
61
- );
62
- } catch (e) {}
63
- })();
64
- </script>
65
- <style>
66
- body.daocore-mount-fallback-active {
67
- margin: 0;
68
- min-width: 320px;
69
- color: #eef4f8;
70
- background: #101418;
71
- font-family:
72
- Inter,
73
- ui-sans-serif,
74
- system-ui,
75
- -apple-system,
76
- BlinkMacSystemFont,
77
- "Segoe UI",
78
- sans-serif;
79
- }
80
-
81
- body.daocore-mount-fallback-active daocore-app {
82
- display: none;
83
- }
84
-
85
- .mount-fallback {
86
- box-sizing: border-box;
87
- min-height: 100vh;
88
- padding: 24px;
89
- place-items: center;
90
- }
91
-
92
- .mount-fallback:not([hidden]) {
93
- display: grid;
94
- }
95
-
96
- .mount-fallback__panel {
97
- box-sizing: border-box;
98
- width: min(100%, 640px);
99
- border: 1px solid rgba(148, 163, 184, 0.28);
100
- border-radius: 8px;
101
- background: #151b21;
102
- box-shadow: 0 24px 80px rgba(0, 0, 0, 0.36);
103
- padding: 28px;
104
- }
105
-
106
- .mount-fallback__eyebrow {
107
- margin: 0 0 10px;
108
- color: #9fb0bd;
109
- font-size: 0.78rem;
110
- font-weight: 700;
111
- letter-spacing: 0.08em;
112
- text-transform: uppercase;
113
- }
114
-
115
- .mount-fallback__panel h1 {
116
- margin: 0;
117
- color: inherit;
118
- font-size: clamp(1.5rem, 3vw, 2rem);
119
- line-height: 1.15;
120
- }
121
-
122
- .mount-fallback__panel p {
123
- margin: 16px 0 0;
124
- color: #c8d3da;
125
- font-size: 1rem;
126
- line-height: 1.6;
127
- }
128
-
129
- .mount-fallback__panel ul {
130
- margin: 18px 0 0;
131
- padding-left: 1.2rem;
132
- color: #c8d3da;
133
- line-height: 1.6;
134
- }
135
-
136
- .mount-fallback__panel a {
137
- color: #8bd3ff;
138
- text-decoration-thickness: 0.08em;
139
- text-underline-offset: 0.18em;
140
- }
141
-
142
- .mount-fallback__actions {
143
- display: flex;
144
- flex-wrap: wrap;
145
- gap: 10px;
146
- margin-top: 24px;
147
- }
148
-
149
- .mount-fallback__button {
150
- min-height: 42px;
151
- border: 1px solid rgba(148, 163, 184, 0.36);
152
- border-radius: 6px;
153
- padding: 0 16px;
154
- color: inherit;
155
- background: transparent;
156
- font: inherit;
157
- font-weight: 700;
158
- cursor: pointer;
159
- }
160
-
161
- .mount-fallback__button--primary {
162
- border-color: #66c2ff;
163
- color: #061019;
164
- background: #8bd3ff;
165
- }
166
-
167
- .mount-fallback__panel:focus {
168
- outline: none;
169
- }
170
-
171
- .mount-fallback__button:focus-visible,
172
- .mount-fallback__panel a:focus-visible {
173
- outline: 3px solid #f9c74f;
174
- outline-offset: 3px;
175
- }
176
-
177
- html[data-theme-mode="light"] body.daocore-mount-fallback-active {
178
- color: #151b21;
179
- background: #f5f7fa;
180
- }
181
-
182
- html[data-theme-mode="light"] .mount-fallback__panel {
183
- border-color: rgba(71, 85, 105, 0.22);
184
- background: #ffffff;
185
- box-shadow: 0 24px 80px rgba(15, 23, 42, 0.14);
186
- }
187
-
188
- html[data-theme-mode="light"] .mount-fallback__eyebrow,
189
- html[data-theme-mode="light"] .mount-fallback__panel p,
190
- html[data-theme-mode="light"] .mount-fallback__panel ul {
191
- color: #4b5963;
192
- }
193
-
194
- html[data-theme-mode="light"] .mount-fallback__panel a {
195
- color: #0369a1;
196
- }
197
- </style>
198
- <script type="module" crossorigin src="./assets/index-DL8I3w4m.js"></script>
199
- <link rel="stylesheet" crossorigin href="./assets/index-BimYwq-S.css">
200
- </head>
201
- <body>
202
- <daocore-app></daocore-app>
203
- <section
204
- id="daocore-mount-fallback"
205
- class="mount-fallback"
206
- data-daocore-mount-timeout-ms="12000"
207
- role="alert"
208
- aria-labelledby="daocore-mount-fallback-title"
209
- hidden
210
- >
211
- <div class="mount-fallback__panel" tabindex="-1">
212
- <p class="mount-fallback__eyebrow">DaoCore Control UI</p>
213
- <h1 id="daocore-mount-fallback-title">Control UI did not start</h1>
214
- <p>
215
- The browser loaded the static page, but the app bundle did not register the
216
- <code>daocore-app</code> web component. A browser extension or early content script may
217
- be blocking module execution.
218
- </p>
219
- <ul>
220
- <li>Try again in a clean browser profile or private window.</li>
221
- <li>Disable extensions that run on all pages, then reload this dashboard.</li>
222
- <li>
223
- See
224
- <a
225
- href="https://docs.daocore.ai/web/control-ui#blank-control-ui-page"
226
- target="_blank"
227
- rel="noopener noreferrer"
228
- >Control UI troubleshooting</a
229
- >.
230
- </li>
231
- </ul>
232
- <div class="mount-fallback__actions">
233
- <button
234
- type="button"
235
- id="daocore-mount-retry"
236
- class="mount-fallback__button mount-fallback__button--primary"
237
- >
238
- Try again
239
- </button>
240
- <button type="button" id="daocore-mount-wait" class="mount-fallback__button">
241
- Keep waiting
242
- </button>
243
- </div>
244
- </div>
245
- </section>
246
- <script>
247
- (function () {
248
- var tagName = "daocore-app";
249
- var app = document.querySelector(tagName);
250
- var fallback = document.getElementById("daocore-mount-fallback");
251
- if (!app || !fallback) return;
252
-
253
- var panel = fallback.querySelector(".mount-fallback__panel");
254
- var retry = document.getElementById("daocore-mount-retry");
255
- var wait = document.getElementById("daocore-mount-wait");
256
- var rawDelay = Number(fallback.getAttribute("data-daocore-mount-timeout-ms"));
257
- var delay = Number.isFinite(rawDelay) && rawDelay > 0 ? rawDelay : 12000;
258
- var timer;
259
-
260
- function appMounted() {
261
- try {
262
- return Boolean(
263
- app.isConnected &&
264
- window.customElements &&
265
- typeof window.customElements.get === "function" &&
266
- window.customElements.get(tagName),
267
- );
268
- } catch (e) {
269
- return false;
270
- }
271
- }
272
-
273
- function hideFallback() {
274
- fallback.hidden = true;
275
- document.body.classList.remove("daocore-mount-fallback-active");
276
- }
277
-
278
- function showFallback() {
279
- if (appMounted()) return;
280
- fallback.hidden = false;
281
- document.body.classList.add("daocore-mount-fallback-active");
282
- if (panel && typeof panel.focus === "function") {
283
- try {
284
- panel.focus({ preventScroll: true });
285
- } catch (e) {
286
- panel.focus();
287
- }
288
- }
289
- }
290
-
291
- function armFallbackTimer() {
292
- window.clearTimeout(timer);
293
- timer = window.setTimeout(showFallback, delay);
294
- }
295
-
296
- armFallbackTimer();
297
-
298
- if (window.customElements && typeof window.customElements.whenDefined === "function") {
299
- window.customElements.whenDefined(tagName).then(
300
- function () {
301
- window.clearTimeout(timer);
302
- hideFallback();
303
- },
304
- function () {},
305
- );
306
- }
307
-
308
- if (retry) {
309
- retry.addEventListener("click", function () {
310
- window.location.reload();
311
- });
312
- }
313
- if (wait) {
314
- wait.addEventListener("click", function () {
315
- hideFallback();
316
- armFallbackTimer();
317
- });
318
- }
319
- })();
320
- </script>
321
- </body>
322
- </html>
@@ -1,40 +0,0 @@
1
- {
2
- "name": "DaoCore Control",
3
- "short_name": "DaoCore",
4
- "description": "DaoCore AI 网关控制面板",
5
- "start_url": "./",
6
- "display": "standalone",
7
- "theme_color": "#050810",
8
- "background_color": "#050810",
9
- "icons": [
10
- {
11
- "src": "./favicon.svg",
12
- "sizes": "any",
13
- "type": "image/svg+xml",
14
- "purpose": "any"
15
- },
16
- {
17
- "src": "./favicon-32.png",
18
- "sizes": "32x32",
19
- "type": "image/png"
20
- },
21
- {
22
- "src": "./apple-touch-icon.png",
23
- "sizes": "180x180",
24
- "type": "image/png"
25
- }
26
- ],
27
- "related_applications": [
28
- {
29
- "platform": "macos",
30
- "url": "daocore://",
31
- "id": "ai.daocore.mac"
32
- }
33
- ],
34
- "protocol_handlers": [
35
- {
36
- "protocol": "web+daocore",
37
- "url": "./?deeplink=%s"
38
- }
39
- ]
40
- }
@@ -1,107 +0,0 @@
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;