openclaw-openagent 1.0.13 → 1.0.14
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/src/messaging/executor.d.ts +2 -3
- package/dist/src/messaging/executor.js +4 -31
- package/dist/src/plugin-ui/assets/openagent-override.js +4 -5
- package/dist/src/runtime/update-checker.d.ts +1 -1
- package/dist/src/runtime/update-checker.js +9 -46
- package/package.json +1 -3
- package/src/app/channel-tools.ts +0 -249
- package/src/app/discovery-tools.ts +0 -273
- package/src/app/download-file-tool.ts +0 -133
- package/src/app/hooks.ts +0 -144
- package/src/app/index.ts +0 -84
- package/src/app/messaging-tools.ts +0 -79
- package/src/app/ops-tools.ts +0 -155
- package/src/app/remote-agent-tool.ts +0 -762
- package/src/app/types.ts +0 -68
- package/src/app/upload-file-tool.ts +0 -411
- package/src/app/verbose-preflight.ts +0 -190
- package/src/auth/config.ts +0 -266
- package/src/auth/credential-manager.ts +0 -146
- package/src/auth/index.ts +0 -24
- package/src/auth/verify.ts +0 -99
- package/src/channel.ts +0 -566
- package/src/compat.ts +0 -94
- package/src/config/config-schema.ts +0 -45
- package/src/messaging/aggregator.ts +0 -120
- package/src/messaging/collector.ts +0 -89
- package/src/messaging/executor.ts +0 -72
- package/src/messaging/inbound.ts +0 -150
- package/src/messaging/index.ts +0 -11
- package/src/messaging/mention-protocol.ts +0 -94
- package/src/messaging/process-c2c-request.ts +0 -564
- package/src/messaging/process-message.ts +0 -373
- package/src/messaging/scheduler.ts +0 -55
- package/src/messaging/types.ts +0 -38
- package/src/plugin-ui/adapters/oc-2026-04.js +0 -103
- package/src/plugin-ui/adapters/oc-2026-05.js +0 -125
- package/src/plugin-ui/adapters/oc-2026-06.js +0 -125
- package/src/plugin-ui/adapters/oc-unknown.js +0 -48
- package/src/plugin-ui/assets/agentbook-icon.svg +0 -5
- package/src/plugin-ui/assets/bg.png +0 -0
- package/src/plugin-ui/assets/icon.png +0 -0
- package/src/plugin-ui/assets/magic.svg +0 -5
- package/src/plugin-ui/assets/openagent-override.js +0 -11263
- package/src/plugin-ui/build.cjs +0 -463
- package/src/plugin-ui/index.ts +0 -18
- package/src/plugin-ui/modules/agent-book/panel/agent-book.js +0 -570
- package/src/plugin-ui/modules/agent-book/panel/agent-card.js +0 -170
- package/src/plugin-ui/modules/agent-book/panel/agent-data.js +0 -643
- package/src/plugin-ui/modules/agent-book/panel/inject-ui.js +0 -665
- package/src/plugin-ui/modules/agent-book/panel/mention-state.js +0 -206
- package/src/plugin-ui/modules/agent-book/panel/styles.js +0 -832
- package/src/plugin-ui/modules/agent-book/panel/theme-adapter.js +0 -86
- package/src/plugin-ui/modules/agent-book/remote-agent-tool/components-core.js +0 -295
- package/src/plugin-ui/modules/agent-book/remote-agent-tool/thought-chain-card.js +0 -211
- package/src/plugin-ui/modules/agent-book/scanner.js +0 -131
- package/src/plugin-ui/modules/agent-book/travelcard/travel-cards.js +0 -500
- package/src/plugin-ui/modules/agent-book/travelcard/travel-engine.js +0 -652
- package/src/plugin-ui/modules/agent-book/travelcard/travel-styles.js +0 -262
- package/src/plugin-ui/modules/loader/bootstrap.js +0 -133
- package/src/plugin-ui/modules/loader/shared-state.js +0 -838
- package/src/plugin-ui/modules/loader/ws-intercept.js +0 -199
- package/src/plugin-ui/modules/remote-agent/chunk-parser.js +0 -161
- package/src/plugin-ui/modules/remote-agent/execution-card.js +0 -530
- package/src/plugin-ui/modules/remote-agent/markdown-renderer.js +0 -256
- package/src/plugin-ui/modules/remote-agent/media-links.js +0 -151
- package/src/plugin-ui/modules/remote-agent/native-style-adapter.js +0 -134
- package/src/plugin-ui/modules/remote-agent/output-card.js +0 -342
- package/src/plugin-ui/modules/remote-agent/progress-store.js +0 -363
- package/src/plugin-ui/modules/remote-agent/render-hooks.js +0 -1700
- package/src/plugin-ui/modules/remote-agent/styles.js +0 -903
- package/src/plugin-ui/modules/remote-agent/tool-card-model.js +0 -130
- package/src/plugin-ui/postinstall-deploy.cjs +0 -52
- package/src/plugin-ui/ui-extension-loader/backup.ts +0 -92
- package/src/plugin-ui/ui-extension-loader/index.ts +0 -276
- package/src/plugin-ui/ui-extension-loader/locator.ts +0 -152
- package/src/plugin-ui/ui-extension-loader/manifest.ts +0 -57
- package/src/plugin-ui/ui-extension-loader/registry-regex.ts +0 -944
- package/src/plugin-ui/ui-extension-loader/removed-extensions.ts +0 -70
- package/src/plugin-ui/ui-extension-loader/types.ts +0 -72
- package/src/proxy/auth-proxy.ts +0 -414
- package/src/runtime/account.ts +0 -549
- package/src/runtime/index.ts +0 -7
- package/src/runtime/plugin-runtime.ts +0 -94
- package/src/runtime/registry.ts +0 -71
- package/src/runtime/update-checker.ts +0 -286
- package/src/sdk/CLASS_MAP.md +0 -143
- package/src/sdk/index.d.ts +0 -126
- package/src/sdk/index.js +0 -23990
- package/src/sdk/modules/cloud-search-module.js +0 -1117
- package/src/sdk/modules/follow-module.js +0 -1069
- package/src/sdk/modules/group-module.js +0 -7397
- package/src/sdk/modules/relationship-module.js +0 -2269
- package/src/sdk/modules/signaling-module.js +0 -1468
- package/src/sdk/modules/tim-upload-plugin.js +0 -730
- package/src/sdk/node-env/http-request.js +0 -90
- package/src/sdk/node-env/index.js +0 -57
- package/src/sdk/node-env/storage.js +0 -114
- package/src/sdk/package.json +0 -10
- package/src/sdk/tsconfig.json +0 -16
- package/src/state/pending-invocation-store.ts +0 -43
- package/src/state/store.ts +0 -756
- package/src/tim/c2c.ts +0 -451
- package/src/tim/channels.ts +0 -364
- package/src/tim/client.ts +0 -330
- package/src/tim/index.ts +0 -18
- package/src/tim/messages.ts +0 -166
- package/src/tim/sdk-logger-init.ts +0 -50
- package/src/tools.ts +0 -10
- package/src/transport/factory.ts +0 -95
- package/src/transport/oasn/index.ts +0 -17
- package/src/transport/oasn/oasn-agent-card.ts +0 -111
- package/src/transport/oasn/oasn-discovery.ts +0 -108
- package/src/transport/oasn/oasn-files.ts +0 -210
- package/src/transport/oasn/oasn-http.ts +0 -529
- package/src/transport/oasn/oasn-invocation.ts +0 -604
- package/src/transport/oasn/oasn-normalize.ts +0 -133
- package/src/transport/oasn/oasn-register.ts +0 -33
- package/src/transport/oasn/oasn-transport.ts +0 -318
- package/src/transport/oasn/oasn-types.ts +0 -404
- package/src/transport/tim/index.ts +0 -8
- package/src/transport/tim/tim-transport.ts +0 -515
- package/src/transport/types.ts +0 -538
- package/src/types/openclaw-plugin-sdk-media-store.d.ts +0 -9
- package/src/types/openclaw.d.ts +0 -97
- package/src/types/tencentcloud-chat.d.ts +0 -15
- package/src/util/http.ts +0 -113
- package/src/util/logger.ts +0 -131
- package/src/util/url-resolver.ts +0 -77
|
@@ -1,125 +0,0 @@
|
|
|
1
|
-
// ── OpenClaw 2026.6 host adapter ──
|
|
2
|
-
// 2026.6 uses the V2 OpenAgent card path and the newer tools-collapse host
|
|
3
|
-
// structure. Selector values intentionally mirror the 2026.5 adapter.
|
|
4
|
-
|
|
5
|
-
(function _clInstallHostAdapter202606() {
|
|
6
|
-
function _matches(node, selector) {
|
|
7
|
-
return !!(node && selector && node.matches && node.matches(selector));
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
var adapter = {
|
|
11
|
-
id: 'oc-2026-06',
|
|
12
|
-
family: '2026.6',
|
|
13
|
-
css: {
|
|
14
|
-
remoteShell: [
|
|
15
|
-
'details.chat-tools-collapse:has(.cl-remote-agent-card)',
|
|
16
|
-
'details.chat-tool-msg-collapse:has(.cl-remote-agent-card)',
|
|
17
|
-
'.chat-tools-collapse:has(.cl-remote-agent-card)',
|
|
18
|
-
'.chat-tool-msg-collapse:has(.cl-remote-agent-card)',
|
|
19
|
-
],
|
|
20
|
-
outputHostMargin: [
|
|
21
|
-
'details.chat-tools-collapse:has(.cl-output-card)',
|
|
22
|
-
'.chat-tools-collapse:has(.cl-output-card)',
|
|
23
|
-
'details.chat-tool-msg-collapse:has(.cl-remote-agent-card)',
|
|
24
|
-
'.chat-tool-msg-collapse:has(.cl-remote-agent-card)',
|
|
25
|
-
],
|
|
26
|
-
outputHostMarginReset: [],
|
|
27
|
-
summaryHidden: [
|
|
28
|
-
'details.chat-tools-collapse:has(.cl-remote-agent-card) > summary.chat-tools-summary',
|
|
29
|
-
'details.chat-tool-msg-collapse:has(.cl-remote-agent-card) > summary.chat-tool-msg-summary',
|
|
30
|
-
'.chat-tools-collapse:has(.cl-remote-agent-card) > .chat-tools-summary',
|
|
31
|
-
'.chat-tool-msg-collapse:has(.cl-remote-agent-card) > .chat-tool-msg-summary',
|
|
32
|
-
],
|
|
33
|
-
hostShellRawText: [
|
|
34
|
-
'.chat-tools-collapse__body.cl-remote-agent-host-shell > .chat-text',
|
|
35
|
-
'.chat-tool-msg-body.cl-remote-agent-host-shell > .chat-text',
|
|
36
|
-
],
|
|
37
|
-
rawTextCardHosts: [
|
|
38
|
-
'.chat-tools-collapse__body:has(.cl-remote-agent-card) > .chat-text',
|
|
39
|
-
'.chat-tool-msg-body:has(.cl-remote-agent-card) > .chat-text',
|
|
40
|
-
'.chat-tool-card__detail:has(.cl-remote-agent-card) > .chat-text',
|
|
41
|
-
],
|
|
42
|
-
rawTextPlaceholderHosts: [
|
|
43
|
-
'.chat-tools-collapse__body:has(.cl-remote-agent-output-placeholder) > .chat-text',
|
|
44
|
-
'.chat-tool-msg-body:has(.cl-remote-agent-output-placeholder) > .chat-text',
|
|
45
|
-
'.chat-tool-card__detail:has(.cl-remote-agent-output-placeholder) > .chat-text',
|
|
46
|
-
],
|
|
47
|
-
hostBody: [
|
|
48
|
-
'details.chat-tools-collapse:has(.cl-remote-agent-card) > .chat-tools-collapse__body',
|
|
49
|
-
'details.chat-tool-msg-collapse:has(.cl-remote-agent-card) > .chat-tool-msg-body',
|
|
50
|
-
'.chat-tools-collapse:has(.cl-remote-agent-card) > .chat-tools-collapse__body',
|
|
51
|
-
'.chat-tool-msg-collapse:has(.cl-remote-agent-card) > .chat-tool-msg-body',
|
|
52
|
-
],
|
|
53
|
-
manualOpenReset: [
|
|
54
|
-
'.chat-tool-msg-collapse.chat-tool-msg-collapse--manual.is-open:has(.cl-remote-agent-card)',
|
|
55
|
-
],
|
|
56
|
-
hostShellReset: [
|
|
57
|
-
'.cl-remote-agent-host-shell.chat-tool-card',
|
|
58
|
-
'.cl-remote-agent-host-shell.chat-tool-card__detail',
|
|
59
|
-
'.cl-remote-agent-host-shell.chat-tools-collapse__body',
|
|
60
|
-
'.cl-remote-agent-host-shell.chat-tool-msg-body',
|
|
61
|
-
'details.cl-remote-agent-host-shell',
|
|
62
|
-
],
|
|
63
|
-
hostShellSummary: [
|
|
64
|
-
'.cl-remote-agent-host-shell > summary.chat-tools-summary',
|
|
65
|
-
'.cl-remote-agent-host-shell > summary.chat-tool-msg-summary',
|
|
66
|
-
'.cl-remote-agent-host-shell > .chat-tools-summary',
|
|
67
|
-
'.cl-remote-agent-host-shell > .chat-tool-msg-summary',
|
|
68
|
-
],
|
|
69
|
-
modernCardLayout: true,
|
|
70
|
-
},
|
|
71
|
-
nativeStyle: {
|
|
72
|
-
shellSelectors: [
|
|
73
|
-
'.chat-tool-card:not(:has(.cl-remote-agent-card))',
|
|
74
|
-
'.chat-tool-msg-collapse:not(:has(.cl-remote-agent-card))',
|
|
75
|
-
'.chat-tools-collapse:not(:has(.cl-remote-agent-card))',
|
|
76
|
-
'.tool-card:not(:has(.cl-remote-agent-card))',
|
|
77
|
-
'.chat-tool-card__wrapper:not(:has(.cl-remote-agent-card))',
|
|
78
|
-
],
|
|
79
|
-
summarySelectors: [
|
|
80
|
-
'.chat-tool-card__header',
|
|
81
|
-
'.chat-tool-card__title',
|
|
82
|
-
'.chat-tool-msg-summary:not(.cl-remote-agent-host-shell *)',
|
|
83
|
-
'.chat-tools-summary:not(.cl-remote-agent-host-shell *)',
|
|
84
|
-
'.tool-card__header',
|
|
85
|
-
'.tool-card__title',
|
|
86
|
-
],
|
|
87
|
-
indentSelectors: [
|
|
88
|
-
'.chat-group.tool:not(:has(.cl-remote-agent-card))',
|
|
89
|
-
'.chat-bubble:not(:has(.cl-remote-agent-card))',
|
|
90
|
-
],
|
|
91
|
-
},
|
|
92
|
-
selectors: {
|
|
93
|
-
textContext: '.chat-text, .chat-tool-card__detail, .chat-tool-msg-body, .chat-tools-collapse__body',
|
|
94
|
-
summary: ':scope > summary, :scope > .chat-tools-summary, :scope > .chat-tool-msg-summary, .chat-tools-summary, .chat-tool-msg-summary',
|
|
95
|
-
forceOpenHeader: '.chat-tool-msg-summary, .chat-tools-summary',
|
|
96
|
-
rawTextHostClosest: [
|
|
97
|
-
'.chat-tools-collapse__body',
|
|
98
|
-
'.chat-tool-msg-body',
|
|
99
|
-
'.chat-tool-card__detail',
|
|
100
|
-
'.chat-bubble',
|
|
101
|
-
],
|
|
102
|
-
rawTextHostsWithinShell: '.chat-tools-collapse__body, .chat-tool-msg-body, .chat-tool-card__detail, .chat-bubble',
|
|
103
|
-
},
|
|
104
|
-
isRemoteNativeToolShellCandidate: function(node) {
|
|
105
|
-
return _matches(node, 'details.chat-tools-collapse, details.chat-tool-msg-collapse, .chat-tools-collapse, .chat-tool-msg-collapse, .chat-tool-card');
|
|
106
|
-
},
|
|
107
|
-
isNativeToolShell: function(node) {
|
|
108
|
-
return _matches(node, 'details.chat-tools-collapse, details.chat-tool-msg-collapse, .chat-tools-collapse, .chat-tool-msg-collapse');
|
|
109
|
-
},
|
|
110
|
-
isToolLikeShell: function(node) {
|
|
111
|
-
return _matches(node, 'details.chat-tools-collapse, details.chat-tool-msg-collapse, .chat-tools-collapse, .chat-tool-msg-collapse, .chat-tool-card, .chat-tools-collapse__body, .chat-tool-msg-body, .chat-tool-card__detail');
|
|
112
|
-
},
|
|
113
|
-
isToolBody: function(node) {
|
|
114
|
-
return _matches(node, '.chat-tools-collapse__body, .chat-tool-msg-body');
|
|
115
|
-
},
|
|
116
|
-
isMarkableHost: function(node) {
|
|
117
|
-
return _matches(node, 'details.chat-tools-collapse, details.chat-tool-msg-collapse, .chat-tool-card, .chat-tool-card__detail, .chat-tools-collapse__body, .chat-tool-msg-body');
|
|
118
|
-
},
|
|
119
|
-
};
|
|
120
|
-
|
|
121
|
-
CL.hostAdapter = adapter;
|
|
122
|
-
try {
|
|
123
|
-
document.documentElement.setAttribute('data-openagent-host-adapter', adapter.id);
|
|
124
|
-
} catch (e) {}
|
|
125
|
-
})();
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
// ── Unknown OpenClaw host adapter ──
|
|
2
|
-
// Fail closed: render OpenAgent's own card, but do not apply host-structure
|
|
3
|
-
// takeover selectors when the host version is not one of the supported series.
|
|
4
|
-
|
|
5
|
-
(function _clInstallHostAdapterUnknown() {
|
|
6
|
-
function _false() { return false; }
|
|
7
|
-
|
|
8
|
-
var adapter = {
|
|
9
|
-
id: 'oc-unknown',
|
|
10
|
-
family: 'unknown',
|
|
11
|
-
css: {
|
|
12
|
-
remoteShell: [],
|
|
13
|
-
outputHostMargin: [],
|
|
14
|
-
outputHostMarginReset: [],
|
|
15
|
-
summaryHidden: [],
|
|
16
|
-
hostShellRawText: [],
|
|
17
|
-
rawTextCardHosts: [],
|
|
18
|
-
rawTextPlaceholderHosts: [],
|
|
19
|
-
hostBody: [],
|
|
20
|
-
manualOpenReset: [],
|
|
21
|
-
hostShellReset: [],
|
|
22
|
-
hostShellSummary: [],
|
|
23
|
-
modernCardLayout: false,
|
|
24
|
-
},
|
|
25
|
-
nativeStyle: {
|
|
26
|
-
shellSelectors: [],
|
|
27
|
-
summarySelectors: [],
|
|
28
|
-
indentSelectors: [],
|
|
29
|
-
},
|
|
30
|
-
selectors: {
|
|
31
|
-
textContext: '.chat-text',
|
|
32
|
-
summary: '',
|
|
33
|
-
forceOpenHeader: '',
|
|
34
|
-
rawTextHostClosest: [],
|
|
35
|
-
rawTextHostsWithinShell: '',
|
|
36
|
-
},
|
|
37
|
-
isRemoteNativeToolShellCandidate: _false,
|
|
38
|
-
isNativeToolShell: _false,
|
|
39
|
-
isToolLikeShell: _false,
|
|
40
|
-
isToolBody: _false,
|
|
41
|
-
isMarkableHost: _false,
|
|
42
|
-
};
|
|
43
|
-
|
|
44
|
-
CL.hostAdapter = adapter;
|
|
45
|
-
try {
|
|
46
|
-
document.documentElement.setAttribute('data-openagent-host-adapter', adapter.id);
|
|
47
|
-
} catch (e) {}
|
|
48
|
-
})();
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
<svg width="56" height="56" viewBox="0 0 56 56" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
-
<path d="M28 25H32C34.2091 25 36 26.7909 36 29V39C36 41.2091 34.2091 43 32 43H14C11.7909 43 10 41.2091 10 39V29C10 26.7909 11.7909 25 14 25H15" stroke="#12CCF6" stroke-width="3.3" stroke-linecap="round"/>
|
|
3
|
-
<path d="M39 31H42C44.2091 31 46 29.2091 46 27V17C46 14.7909 44.2091 13 42 13H24C21.7909 13 20 14.7909 20 17V27C20 29.2091 21.7909 31 24 31H30.0652C30.236 31 30.3282 31.2004 30.217 31.3302L27.5 34.5" stroke="#12CCF6" stroke-width="3.3" stroke-linecap="round"/>
|
|
4
|
-
<path d="M27 25.5L32.5 21" stroke="#12CCF6" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"/>
|
|
5
|
-
</svg>
|
|
Binary file
|
|
Binary file
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
<svg width="56" height="56" viewBox="0 0 56 56" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
-
<path d="M28 25H32C34.2091 25 36 26.7909 36 29V39C36 41.2091 34.2091 43 32 43H14C11.7909 43 10 41.2091 10 39V29C10 26.7909 11.7909 25 14 25H15" stroke="#12CCF6" stroke-width="3.3" stroke-linecap="round"/>
|
|
3
|
-
<path d="M39 31H42C44.2091 31 46 29.2091 46 27V17C46 14.7909 44.2091 13 42 13H24C21.7909 13 20 14.7909 20 17V27C20 29.2091 21.7909 31 24 31H30.0652C30.236 31 30.3282 31.2004 30.217 31.3302L27.5 34.5" stroke="#12CCF6" stroke-width="3.3" stroke-linecap="round"/>
|
|
4
|
-
<path d="M27 25.5L32.5 21" stroke="#12CCF6" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"/>
|
|
5
|
-
</svg>
|