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