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.
Files changed (128) hide show
  1. package/dist/src/messaging/executor.d.ts +2 -3
  2. package/dist/src/messaging/executor.js +4 -31
  3. package/dist/src/plugin-ui/assets/openagent-override.js +4 -5
  4. package/dist/src/runtime/update-checker.d.ts +1 -1
  5. package/dist/src/runtime/update-checker.js +9 -46
  6. package/package.json +1 -3
  7. package/src/app/channel-tools.ts +0 -249
  8. package/src/app/discovery-tools.ts +0 -273
  9. package/src/app/download-file-tool.ts +0 -133
  10. package/src/app/hooks.ts +0 -144
  11. package/src/app/index.ts +0 -84
  12. package/src/app/messaging-tools.ts +0 -79
  13. package/src/app/ops-tools.ts +0 -155
  14. package/src/app/remote-agent-tool.ts +0 -762
  15. package/src/app/types.ts +0 -68
  16. package/src/app/upload-file-tool.ts +0 -411
  17. package/src/app/verbose-preflight.ts +0 -190
  18. package/src/auth/config.ts +0 -266
  19. package/src/auth/credential-manager.ts +0 -146
  20. package/src/auth/index.ts +0 -24
  21. package/src/auth/verify.ts +0 -99
  22. package/src/channel.ts +0 -566
  23. package/src/compat.ts +0 -94
  24. package/src/config/config-schema.ts +0 -45
  25. package/src/messaging/aggregator.ts +0 -120
  26. package/src/messaging/collector.ts +0 -89
  27. package/src/messaging/executor.ts +0 -72
  28. package/src/messaging/inbound.ts +0 -150
  29. package/src/messaging/index.ts +0 -11
  30. package/src/messaging/mention-protocol.ts +0 -94
  31. package/src/messaging/process-c2c-request.ts +0 -564
  32. package/src/messaging/process-message.ts +0 -373
  33. package/src/messaging/scheduler.ts +0 -55
  34. package/src/messaging/types.ts +0 -38
  35. package/src/plugin-ui/adapters/oc-2026-04.js +0 -103
  36. package/src/plugin-ui/adapters/oc-2026-05.js +0 -125
  37. package/src/plugin-ui/adapters/oc-2026-06.js +0 -125
  38. package/src/plugin-ui/adapters/oc-unknown.js +0 -48
  39. package/src/plugin-ui/assets/agentbook-icon.svg +0 -5
  40. package/src/plugin-ui/assets/bg.png +0 -0
  41. package/src/plugin-ui/assets/icon.png +0 -0
  42. package/src/plugin-ui/assets/magic.svg +0 -5
  43. package/src/plugin-ui/assets/openagent-override.js +0 -11263
  44. package/src/plugin-ui/build.cjs +0 -463
  45. package/src/plugin-ui/index.ts +0 -18
  46. package/src/plugin-ui/modules/agent-book/panel/agent-book.js +0 -570
  47. package/src/plugin-ui/modules/agent-book/panel/agent-card.js +0 -170
  48. package/src/plugin-ui/modules/agent-book/panel/agent-data.js +0 -643
  49. package/src/plugin-ui/modules/agent-book/panel/inject-ui.js +0 -665
  50. package/src/plugin-ui/modules/agent-book/panel/mention-state.js +0 -206
  51. package/src/plugin-ui/modules/agent-book/panel/styles.js +0 -832
  52. package/src/plugin-ui/modules/agent-book/panel/theme-adapter.js +0 -86
  53. package/src/plugin-ui/modules/agent-book/remote-agent-tool/components-core.js +0 -295
  54. package/src/plugin-ui/modules/agent-book/remote-agent-tool/thought-chain-card.js +0 -211
  55. package/src/plugin-ui/modules/agent-book/scanner.js +0 -131
  56. package/src/plugin-ui/modules/agent-book/travelcard/travel-cards.js +0 -500
  57. package/src/plugin-ui/modules/agent-book/travelcard/travel-engine.js +0 -652
  58. package/src/plugin-ui/modules/agent-book/travelcard/travel-styles.js +0 -262
  59. package/src/plugin-ui/modules/loader/bootstrap.js +0 -133
  60. package/src/plugin-ui/modules/loader/shared-state.js +0 -838
  61. package/src/plugin-ui/modules/loader/ws-intercept.js +0 -199
  62. package/src/plugin-ui/modules/remote-agent/chunk-parser.js +0 -161
  63. package/src/plugin-ui/modules/remote-agent/execution-card.js +0 -530
  64. package/src/plugin-ui/modules/remote-agent/markdown-renderer.js +0 -256
  65. package/src/plugin-ui/modules/remote-agent/media-links.js +0 -151
  66. package/src/plugin-ui/modules/remote-agent/native-style-adapter.js +0 -134
  67. package/src/plugin-ui/modules/remote-agent/output-card.js +0 -342
  68. package/src/plugin-ui/modules/remote-agent/progress-store.js +0 -363
  69. package/src/plugin-ui/modules/remote-agent/render-hooks.js +0 -1700
  70. package/src/plugin-ui/modules/remote-agent/styles.js +0 -903
  71. package/src/plugin-ui/modules/remote-agent/tool-card-model.js +0 -130
  72. package/src/plugin-ui/postinstall-deploy.cjs +0 -52
  73. package/src/plugin-ui/ui-extension-loader/backup.ts +0 -92
  74. package/src/plugin-ui/ui-extension-loader/index.ts +0 -276
  75. package/src/plugin-ui/ui-extension-loader/locator.ts +0 -152
  76. package/src/plugin-ui/ui-extension-loader/manifest.ts +0 -57
  77. package/src/plugin-ui/ui-extension-loader/registry-regex.ts +0 -944
  78. package/src/plugin-ui/ui-extension-loader/removed-extensions.ts +0 -70
  79. package/src/plugin-ui/ui-extension-loader/types.ts +0 -72
  80. package/src/proxy/auth-proxy.ts +0 -414
  81. package/src/runtime/account.ts +0 -549
  82. package/src/runtime/index.ts +0 -7
  83. package/src/runtime/plugin-runtime.ts +0 -94
  84. package/src/runtime/registry.ts +0 -71
  85. package/src/runtime/update-checker.ts +0 -286
  86. package/src/sdk/CLASS_MAP.md +0 -143
  87. package/src/sdk/index.d.ts +0 -126
  88. package/src/sdk/index.js +0 -23990
  89. package/src/sdk/modules/cloud-search-module.js +0 -1117
  90. package/src/sdk/modules/follow-module.js +0 -1069
  91. package/src/sdk/modules/group-module.js +0 -7397
  92. package/src/sdk/modules/relationship-module.js +0 -2269
  93. package/src/sdk/modules/signaling-module.js +0 -1468
  94. package/src/sdk/modules/tim-upload-plugin.js +0 -730
  95. package/src/sdk/node-env/http-request.js +0 -90
  96. package/src/sdk/node-env/index.js +0 -57
  97. package/src/sdk/node-env/storage.js +0 -114
  98. package/src/sdk/package.json +0 -10
  99. package/src/sdk/tsconfig.json +0 -16
  100. package/src/state/pending-invocation-store.ts +0 -43
  101. package/src/state/store.ts +0 -756
  102. package/src/tim/c2c.ts +0 -451
  103. package/src/tim/channels.ts +0 -364
  104. package/src/tim/client.ts +0 -330
  105. package/src/tim/index.ts +0 -18
  106. package/src/tim/messages.ts +0 -166
  107. package/src/tim/sdk-logger-init.ts +0 -50
  108. package/src/tools.ts +0 -10
  109. package/src/transport/factory.ts +0 -95
  110. package/src/transport/oasn/index.ts +0 -17
  111. package/src/transport/oasn/oasn-agent-card.ts +0 -111
  112. package/src/transport/oasn/oasn-discovery.ts +0 -108
  113. package/src/transport/oasn/oasn-files.ts +0 -210
  114. package/src/transport/oasn/oasn-http.ts +0 -529
  115. package/src/transport/oasn/oasn-invocation.ts +0 -604
  116. package/src/transport/oasn/oasn-normalize.ts +0 -133
  117. package/src/transport/oasn/oasn-register.ts +0 -33
  118. package/src/transport/oasn/oasn-transport.ts +0 -318
  119. package/src/transport/oasn/oasn-types.ts +0 -404
  120. package/src/transport/tim/index.ts +0 -8
  121. package/src/transport/tim/tim-transport.ts +0 -515
  122. package/src/transport/types.ts +0 -538
  123. package/src/types/openclaw-plugin-sdk-media-store.d.ts +0 -9
  124. package/src/types/openclaw.d.ts +0 -97
  125. package/src/types/tencentcloud-chat.d.ts +0 -15
  126. package/src/util/http.ts +0 -113
  127. package/src/util/logger.ts +0 -131
  128. 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>