@mininglamp-oss/octo-runtime 1.1.1 → 1.1.3
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/apps/cli/dist/build-info.json +2 -2
- package/apps/cli/dist/manifest.json +5 -0
- package/node_modules/@mininglamp-oss/octo-runtime-acp-client/package.json +3 -3
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-acp/package.json +4 -4
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-antigravity/package.json +3 -3
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-claude-code/package.json +3 -3
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-codebuddy/package.json +4 -4
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-codex/package.json +3 -3
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-grok-build/dist/adapter.d.ts +54 -0
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-grok-build/dist/adapter.js +399 -0
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-grok-build/dist/client.d.ts +14 -0
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-grok-build/dist/client.js +156 -0
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-grok-build/dist/index.d.ts +29 -0
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-grok-build/dist/index.js +273 -0
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-grok-build/dist/interactions.d.ts +27 -0
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-grok-build/dist/interactions.js +161 -0
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-grok-build/package.json +17 -0
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-hermes/package.json +2 -2
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-kimi-code/package.json +2 -2
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-mcode/package.json +2 -2
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-openclaw/dist/compatibility.d.ts +24 -0
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-openclaw/dist/compatibility.js +181 -0
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-openclaw/dist/gateway.d.ts +9 -0
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-openclaw/dist/gateway.js +24 -8
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-openclaw/dist/index.js +229 -225
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-openclaw/package.json +3 -3
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-opencode/package.json +4 -4
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-qodercli/package.json +2 -2
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-qoderclicn/package.json +2 -2
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/approval.d.ts +4 -0
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/approval.js +5 -6
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/package.json +2 -2
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-zcode-gui/package.json +3 -3
- package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/build-info.json +2 -2
- package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/manifest.json +5 -0
- package/node_modules/@mininglamp-oss/octo-runtime-cli/package.json +23 -22
- package/node_modules/@mininglamp-oss/octo-runtime-cross-service/package.json +1 -1
- package/node_modules/@mininglamp-oss/octo-runtime-executor-core/dist/model-input.d.ts +1 -1
- package/node_modules/@mininglamp-oss/octo-runtime-executor-core/dist/model-input.js +13 -9
- package/node_modules/@mininglamp-oss/octo-runtime-executor-core/package.json +3 -3
- package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/invocation-manifest.js +31 -8
- package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/package.json +4 -4
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/config-schema.json +1 -1
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/application/im-channel.js +2 -1
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/contracts.d.ts +2 -0
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/execution/dispatcher.js +24 -0
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/channel.js +5 -4
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/contexts.js +2 -2
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/mentions.d.ts +5 -2
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/mentions.js +19 -5
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/normalize.d.ts +1 -1
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/normalize.js +5 -2
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/package.json +6 -6
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/package.json +5 -5
- package/node_modules/@mininglamp-oss/octo-runtime-extra-webui/package.json +2 -2
- package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/package.json +4 -4
- package/node_modules/@mininglamp-oss/octo-runtime-protocol/package.json +1 -1
- package/package.json +27 -25
- package/packages/octo-runtime-extra-channel-gateway/config-schema.json +1 -1
package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/normalize.js
CHANGED
|
@@ -14,8 +14,10 @@ export function observesImScope(config, channelId, channelType, spaceId) {
|
|
|
14
14
|
config.group_ids.length === 0 ||
|
|
15
15
|
config.group_ids.includes(groupScope(channelId).groupNo)));
|
|
16
16
|
}
|
|
17
|
-
export function acceptsImMessage(config,
|
|
17
|
+
export function acceptsImMessage(config, message) {
|
|
18
|
+
// 自己发出的消息永不触发 AgentRun,即使真实 @ 自己、@所有AI 或显式列入发送者名单。
|
|
18
19
|
if (message.fromUid === config.bot_id ||
|
|
20
|
+
!message.fromUid ||
|
|
19
21
|
isRulesNotification(message) ||
|
|
20
22
|
!message.messageId ||
|
|
21
23
|
!message.channelId ||
|
|
@@ -23,7 +25,8 @@ export function acceptsImMessage(config, owner, message) {
|
|
|
23
25
|
(message.payload.type === 1 && typeof message.payload.content !== "string") ||
|
|
24
26
|
(message.payload.space_id && message.payload.space_id !== config.spaceId))
|
|
25
27
|
return false;
|
|
26
|
-
|
|
28
|
+
// 省略时沿用平台准入:DM 好友权限由平台负责,群/话题不增加发送者限制。
|
|
29
|
+
if (config.allowed_sender_ids && !config.allowed_sender_ids.includes(message.fromUid))
|
|
27
30
|
return false;
|
|
28
31
|
const contentSupported = () => ![11, 14].includes(message.payload.type) || Boolean(messageContent(message.payload));
|
|
29
32
|
if (message.channelType === 1)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mininglamp-oss/octo-runtime-extra-channel-gateway",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.3",
|
|
4
4
|
"private": true,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -18,11 +18,11 @@
|
|
|
18
18
|
"docs"
|
|
19
19
|
],
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@mininglamp-oss/octo-runtime-executor-kernel": "1.1.
|
|
22
|
-
"@mininglamp-oss/octo-runtime-adapter-sdk": "1.1.
|
|
23
|
-
"@mininglamp-oss/octo-runtime-executor-core": "1.1.
|
|
24
|
-
"@mininglamp-oss/octo-runtime-host-sdk": "1.1.
|
|
25
|
-
"@mininglamp-oss/octo-runtime-protocol": "1.1.
|
|
21
|
+
"@mininglamp-oss/octo-runtime-executor-kernel": "1.1.3",
|
|
22
|
+
"@mininglamp-oss/octo-runtime-adapter-sdk": "1.1.3",
|
|
23
|
+
"@mininglamp-oss/octo-runtime-executor-core": "1.1.3",
|
|
24
|
+
"@mininglamp-oss/octo-runtime-host-sdk": "1.1.3",
|
|
25
|
+
"@mininglamp-oss/octo-runtime-protocol": "1.1.3",
|
|
26
26
|
"mdast-util-from-markdown": "2.1.0",
|
|
27
27
|
"ws": "8.22.0"
|
|
28
28
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mininglamp-oss/octo-runtime-extra-channel-wecom",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.3",
|
|
4
4
|
"private": true,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -18,10 +18,10 @@
|
|
|
18
18
|
"docs"
|
|
19
19
|
],
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@mininglamp-oss/octo-runtime-host-sdk": "1.1.
|
|
22
|
-
"@mininglamp-oss/octo-runtime-executor-core": "1.1.
|
|
23
|
-
"@mininglamp-oss/octo-runtime-executor-kernel": "1.1.
|
|
21
|
+
"@mininglamp-oss/octo-runtime-host-sdk": "1.1.3",
|
|
22
|
+
"@mininglamp-oss/octo-runtime-executor-core": "1.1.3",
|
|
23
|
+
"@mininglamp-oss/octo-runtime-executor-kernel": "1.1.3",
|
|
24
24
|
"ws": "8.22.0",
|
|
25
|
-
"@mininglamp-oss/octo-runtime-protocol": "1.1.
|
|
25
|
+
"@mininglamp-oss/octo-runtime-protocol": "1.1.3"
|
|
26
26
|
}
|
|
27
27
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mininglamp-oss/octo-runtime-extra-webui",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.3",
|
|
4
4
|
"private": true,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"description": "Local Runtime workbench with canonical SSE presentation",
|
|
@@ -19,6 +19,6 @@
|
|
|
19
19
|
"porting-map.md"
|
|
20
20
|
],
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@mininglamp-oss/octo-runtime-protocol": "1.1.
|
|
22
|
+
"@mininglamp-oss/octo-runtime-protocol": "1.1.3"
|
|
23
23
|
}
|
|
24
24
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mininglamp-oss/octo-runtime-host-sdk",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.3",
|
|
4
4
|
"private": true,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -19,9 +19,9 @@
|
|
|
19
19
|
}
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@mininglamp-oss/octo-runtime-adapter-sdk": "1.1.
|
|
23
|
-
"@mininglamp-oss/octo-runtime-executor-kernel": "1.1.
|
|
24
|
-
"@mininglamp-oss/octo-runtime-protocol": "1.1.
|
|
22
|
+
"@mininglamp-oss/octo-runtime-adapter-sdk": "1.1.3",
|
|
23
|
+
"@mininglamp-oss/octo-runtime-executor-kernel": "1.1.3",
|
|
24
|
+
"@mininglamp-oss/octo-runtime-protocol": "1.1.3"
|
|
25
25
|
},
|
|
26
26
|
"types": "./dist/index.d.ts",
|
|
27
27
|
"files": [
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mininglamp-oss/octo-runtime",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.3",
|
|
4
4
|
"description": "Provider-neutral Agent runtime for unified execution through provider adapters",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -70,29 +70,30 @@
|
|
|
70
70
|
"access": "public"
|
|
71
71
|
},
|
|
72
72
|
"dependencies": {
|
|
73
|
-
"@mininglamp-oss/octo-runtime-extra-webui": "1.1.
|
|
74
|
-
"@mininglamp-oss/octo-runtime-protocol": "1.1.
|
|
75
|
-
"@mininglamp-oss/octo-runtime-adapter-acp": "1.1.
|
|
76
|
-
"@mininglamp-oss/octo-runtime-acp-client": "1.1.
|
|
77
|
-
"@mininglamp-oss/octo-runtime-adapter-sdk": "1.1.
|
|
73
|
+
"@mininglamp-oss/octo-runtime-extra-webui": "1.1.3",
|
|
74
|
+
"@mininglamp-oss/octo-runtime-protocol": "1.1.3",
|
|
75
|
+
"@mininglamp-oss/octo-runtime-adapter-acp": "1.1.3",
|
|
76
|
+
"@mininglamp-oss/octo-runtime-acp-client": "1.1.3",
|
|
77
|
+
"@mininglamp-oss/octo-runtime-adapter-sdk": "1.1.3",
|
|
78
78
|
"import-meta-resolve": "4.2.0",
|
|
79
|
-
"@mininglamp-oss/octo-runtime-adapter-antigravity": "1.1.
|
|
80
|
-
"@mininglamp-oss/octo-runtime-adapter-claude-code": "1.1.
|
|
81
|
-
"@mininglamp-oss/octo-runtime-adapter-codebuddy": "1.1.
|
|
82
|
-
"@mininglamp-oss/octo-runtime-adapter-codex": "1.1.
|
|
83
|
-
"@mininglamp-oss/octo-runtime-adapter-hermes": "1.1.
|
|
84
|
-
"@mininglamp-oss/octo-runtime-
|
|
85
|
-
"@mininglamp-oss/octo-runtime-executor-
|
|
86
|
-
"@mininglamp-oss/octo-runtime-
|
|
87
|
-
"@mininglamp-oss/octo-runtime-adapter-
|
|
88
|
-
"@mininglamp-oss/octo-runtime-adapter-
|
|
79
|
+
"@mininglamp-oss/octo-runtime-adapter-antigravity": "1.1.3",
|
|
80
|
+
"@mininglamp-oss/octo-runtime-adapter-claude-code": "1.1.3",
|
|
81
|
+
"@mininglamp-oss/octo-runtime-adapter-codebuddy": "1.1.3",
|
|
82
|
+
"@mininglamp-oss/octo-runtime-adapter-codex": "1.1.3",
|
|
83
|
+
"@mininglamp-oss/octo-runtime-adapter-hermes": "1.1.3",
|
|
84
|
+
"@mininglamp-oss/octo-runtime-adapter-grok-build": "1.1.3",
|
|
85
|
+
"@mininglamp-oss/octo-runtime-executor-kernel": "1.1.3",
|
|
86
|
+
"@mininglamp-oss/octo-runtime-executor-core": "1.1.3",
|
|
87
|
+
"@mininglamp-oss/octo-runtime-adapter-kimi-code": "1.1.3",
|
|
88
|
+
"@mininglamp-oss/octo-runtime-adapter-mcode": "1.1.3",
|
|
89
|
+
"@mininglamp-oss/octo-runtime-adapter-openclaw": "1.1.3",
|
|
89
90
|
"ws": "8.22.0",
|
|
90
|
-
"@mininglamp-oss/octo-runtime-adapter-opencode": "1.1.
|
|
91
|
-
"@mininglamp-oss/octo-runtime-adapter-qodercli": "1.1.
|
|
92
|
-
"@mininglamp-oss/octo-runtime-adapter-qoderclicn": "1.1.
|
|
93
|
-
"@mininglamp-oss/octo-runtime-adapter-zcode-gui": "1.1.
|
|
94
|
-
"@mininglamp-oss/octo-runtime-extra-channel-gateway": "1.1.
|
|
95
|
-
"@mininglamp-oss/octo-runtime-host-sdk": "1.1.
|
|
91
|
+
"@mininglamp-oss/octo-runtime-adapter-opencode": "1.1.3",
|
|
92
|
+
"@mininglamp-oss/octo-runtime-adapter-qodercli": "1.1.3",
|
|
93
|
+
"@mininglamp-oss/octo-runtime-adapter-qoderclicn": "1.1.3",
|
|
94
|
+
"@mininglamp-oss/octo-runtime-adapter-zcode-gui": "1.1.3",
|
|
95
|
+
"@mininglamp-oss/octo-runtime-extra-channel-gateway": "1.1.3",
|
|
96
|
+
"@mininglamp-oss/octo-runtime-host-sdk": "1.1.3",
|
|
96
97
|
"mdast-util-from-markdown": "2.1.0",
|
|
97
98
|
"@types/mdast": "4.0.4",
|
|
98
99
|
"@types/unist": "3.0.3",
|
|
@@ -128,9 +129,9 @@
|
|
|
128
129
|
"micromark-util-sanitize-uri": "2.0.1",
|
|
129
130
|
"micromark-util-decode-string": "2.0.1",
|
|
130
131
|
"unist-util-stringify-position": "4.0.0",
|
|
131
|
-
"@mininglamp-oss/octo-runtime-cross-service": "1.1.
|
|
132
|
-
"@mininglamp-oss/octo-runtime-extra-channel-wecom": "1.1.
|
|
133
|
-
"@mininglamp-oss/octo-runtime-cli": "1.1.
|
|
132
|
+
"@mininglamp-oss/octo-runtime-cross-service": "1.1.3",
|
|
133
|
+
"@mininglamp-oss/octo-runtime-extra-channel-wecom": "1.1.3",
|
|
134
|
+
"@mininglamp-oss/octo-runtime-cli": "1.1.3",
|
|
134
135
|
"json5": "2.2.3"
|
|
135
136
|
},
|
|
136
137
|
"bundleDependencies": [
|
|
@@ -145,6 +146,7 @@
|
|
|
145
146
|
"@mininglamp-oss/octo-runtime-adapter-codebuddy",
|
|
146
147
|
"@mininglamp-oss/octo-runtime-adapter-codex",
|
|
147
148
|
"@mininglamp-oss/octo-runtime-adapter-hermes",
|
|
149
|
+
"@mininglamp-oss/octo-runtime-adapter-grok-build",
|
|
148
150
|
"@mininglamp-oss/octo-runtime-executor-kernel",
|
|
149
151
|
"@mininglamp-oss/octo-runtime-executor-core",
|
|
150
152
|
"@mininglamp-oss/octo-runtime-adapter-kimi-code",
|
|
@@ -210,7 +210,7 @@
|
|
|
210
210
|
},
|
|
211
211
|
"allowed_sender_ids": {
|
|
212
212
|
"type": "array",
|
|
213
|
-
"description": "可选。允许触发本 Bot 的真实 Octo 发送者 ID
|
|
213
|
+
"description": "可选。允许触发本 Bot 的真实 Octo 发送者 ID 白名单;省略时 DM 沿用平台好友准入,群/话题不增加发送者限制。显式非空名单仅允许列出的发送者,owner 不隐式补入,空数组拒绝全部,null 非法。自消息始终拒绝;群/话题仍须满足真实 mention、Space、启停与父群范围准入。",
|
|
214
214
|
"items": {
|
|
215
215
|
"type": "string",
|
|
216
216
|
"minLength": 1,
|