@poolzin/pool-bot 2026.2.22 → 2026.2.24
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/CHANGELOG.md +16 -0
- package/dist/build-info.json +3 -3
- package/dist/commands/onboard-helpers.js +4 -4
- package/dist/compat/legacy-names.js +2 -2
- package/dist/control-ui/assets/{index-HRr1grwl.js → index-Dvkl4Xlx.js} +2 -1
- package/dist/control-ui/assets/{index-HRr1grwl.js.map → index-Dvkl4Xlx.js.map} +1 -1
- package/dist/control-ui/index.html +1 -1
- package/extensions/bluebubbles/package.json +1 -1
- package/extensions/copilot-proxy/package.json +1 -1
- package/extensions/device-pair/index.ts +2 -2
- package/extensions/diagnostics-otel/package.json +1 -1
- package/extensions/discord/package.json +1 -1
- package/extensions/feishu/package.json +1 -1
- package/extensions/google-antigravity-auth/package.json +1 -1
- package/extensions/google-gemini-cli-auth/package.json +1 -1
- package/extensions/googlechat/package.json +1 -1
- package/extensions/imessage/package.json +1 -1
- package/extensions/irc/package.json +1 -1
- package/extensions/irc/src/accounts.ts +1 -1
- package/extensions/irc/src/onboarding.ts +4 -4
- package/extensions/line/package.json +1 -1
- package/extensions/llm-task/package.json +1 -1
- package/extensions/lobster/package.json +1 -1
- package/extensions/matrix/CHANGELOG.md +10 -0
- package/extensions/matrix/package.json +1 -1
- package/extensions/mattermost/package.json +1 -1
- package/extensions/memory-core/package.json +1 -1
- package/extensions/memory-lancedb/package.json +1 -1
- package/extensions/minimax-portal-auth/package.json +1 -1
- package/extensions/msteams/CHANGELOG.md +10 -0
- package/extensions/msteams/package.json +1 -1
- package/extensions/nextcloud-talk/package.json +1 -1
- package/extensions/nostr/CHANGELOG.md +10 -0
- package/extensions/nostr/package.json +1 -1
- package/extensions/open-prose/package.json +1 -1
- package/extensions/openai-codex-auth/package.json +1 -1
- package/extensions/signal/package.json +1 -1
- package/extensions/slack/package.json +1 -1
- package/extensions/telegram/package.json +1 -1
- package/extensions/tlon/package.json +1 -1
- package/extensions/twitch/CHANGELOG.md +10 -0
- package/extensions/twitch/package.json +1 -1
- package/extensions/voice-call/CHANGELOG.md +10 -0
- package/extensions/voice-call/package.json +1 -1
- package/extensions/whatsapp/package.json +1 -1
- package/extensions/zalo/CHANGELOG.md +10 -0
- package/extensions/zalo/package.json +1 -1
- package/extensions/zalouser/CHANGELOG.md +10 -0
- package/extensions/zalouser/package.json +1 -1
- package/package.json +1 -1
- package/dist/agents/openclaw-tools.js +0 -151
- package/dist/agents/tool-security.js +0 -96
- package/dist/gateway/url-validation.js +0 -94
- package/dist/infra/openclaw-root.js +0 -109
- package/dist/infra/tmp-openclaw-dir.js +0 -81
- package/dist/media/path-sanitization.js +0 -78
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
<title>Poolbot Control</title>
|
|
7
7
|
<meta name="color-scheme" content="dark light" />
|
|
8
8
|
<link rel="icon" href="./favicon.ico" sizes="any" />
|
|
9
|
-
<script type="module" crossorigin src="./assets/index-
|
|
9
|
+
<script type="module" crossorigin src="./assets/index-Dvkl4Xlx.js"></script>
|
|
10
10
|
<link rel="stylesheet" crossorigin href="./assets/index-CSfXd2LO.css">
|
|
11
11
|
</head>
|
|
12
12
|
<body>
|
|
@@ -457,7 +457,7 @@ export default function register(api: PoolBotPluginApi) {
|
|
|
457
457
|
if (send) {
|
|
458
458
|
await send(
|
|
459
459
|
target,
|
|
460
|
-
["Scan this QR code with the
|
|
460
|
+
["Scan this QR code with the Pool Bot iOS app:", "", "```", qrAscii, "```"].join(
|
|
461
461
|
"\n",
|
|
462
462
|
),
|
|
463
463
|
{
|
|
@@ -495,7 +495,7 @@ export default function register(api: PoolBotPluginApi) {
|
|
|
495
495
|
// WebUI + CLI/TUI: ASCII QR
|
|
496
496
|
return {
|
|
497
497
|
text: [
|
|
498
|
-
"Scan this QR code with the
|
|
498
|
+
"Scan this QR code with the Pool Bot iOS app:",
|
|
499
499
|
"",
|
|
500
500
|
"```",
|
|
501
501
|
qrAscii,
|
|
@@ -206,7 +206,7 @@ export function resolveIrcAccount(params: {
|
|
|
206
206
|
const realname = (
|
|
207
207
|
merged.realname?.trim() ||
|
|
208
208
|
(accountId === DEFAULT_ACCOUNT_ID ? process.env.IRC_REALNAME?.trim() : "") ||
|
|
209
|
-
"
|
|
209
|
+
"Pool Bot"
|
|
210
210
|
).trim();
|
|
211
211
|
|
|
212
212
|
const passwordResolution = resolvePassword(accountId, merged);
|
|
@@ -387,14 +387,14 @@ export const ircOnboardingAdapter: ChannelOnboardingAdapter = {
|
|
|
387
387
|
const realname = String(
|
|
388
388
|
await prompter.text({
|
|
389
389
|
message: "IRC real name",
|
|
390
|
-
initialValue: resolved.config.realname || "
|
|
390
|
+
initialValue: resolved.config.realname || "Pool Bot",
|
|
391
391
|
validate: (value) => (String(value ?? "").trim() ? undefined : "Required"),
|
|
392
392
|
}),
|
|
393
393
|
).trim();
|
|
394
394
|
|
|
395
395
|
const channelsRaw = await prompter.text({
|
|
396
396
|
message: "Auto-join IRC channels (optional, comma-separated)",
|
|
397
|
-
placeholder: "#
|
|
397
|
+
placeholder: "#poolbot, #ops",
|
|
398
398
|
initialValue: (resolved.config.channels ?? []).join(", "),
|
|
399
399
|
});
|
|
400
400
|
const channels = [
|
|
@@ -424,7 +424,7 @@ export const ircOnboardingAdapter: ChannelOnboardingAdapter = {
|
|
|
424
424
|
label: "IRC channels",
|
|
425
425
|
currentPolicy: afterConfig.config.groupPolicy ?? "allowlist",
|
|
426
426
|
currentEntries: Object.keys(afterConfig.config.groups ?? {}),
|
|
427
|
-
placeholder: "#
|
|
427
|
+
placeholder: "#poolbot, #ops, *",
|
|
428
428
|
updatePrompt: Boolean(afterConfig.config.groups),
|
|
429
429
|
});
|
|
430
430
|
if (accessConfig) {
|
|
@@ -457,7 +457,7 @@ export const ircOnboardingAdapter: ChannelOnboardingAdapter = {
|
|
|
457
457
|
await prompter.note(
|
|
458
458
|
[
|
|
459
459
|
"Next: restart gateway and verify status.",
|
|
460
|
-
"Command:
|
|
460
|
+
"Command: poolbot channels status --probe",
|
|
461
461
|
`Docs: ${formatDocsLink("/channels/irc", "channels/irc")}`,
|
|
462
462
|
].join("\n"),
|
|
463
463
|
"IRC next steps",
|
package/package.json
CHANGED
|
@@ -1,151 +0,0 @@
|
|
|
1
|
-
import { resolvePluginTools } from "../plugins/tools.js";
|
|
2
|
-
import { resolveSessionAgentId } from "./agent-scope.js";
|
|
3
|
-
import { createAgentsListTool } from "./tools/agents-list-tool.js";
|
|
4
|
-
import { createBrowserTool } from "./tools/browser-tool.js";
|
|
5
|
-
import { createCanvasTool } from "./tools/canvas-tool.js";
|
|
6
|
-
import { createCronTool } from "./tools/cron-tool.js";
|
|
7
|
-
import { createGatewayTool } from "./tools/gateway-tool.js";
|
|
8
|
-
import { createDeepResearchTool } from "./tools/deep-research-tool.js";
|
|
9
|
-
import { createImageGenerateTool } from "./tools/image-generate-tool.js";
|
|
10
|
-
import { createImageTool } from "./tools/image-tool.js";
|
|
11
|
-
import { createMessageTool } from "./tools/message-tool.js";
|
|
12
|
-
import { createNodesTool } from "./tools/nodes-tool.js";
|
|
13
|
-
import { createSessionStatusTool } from "./tools/session-status-tool.js";
|
|
14
|
-
import { createSessionsHistoryTool } from "./tools/sessions-history-tool.js";
|
|
15
|
-
import { createSessionsListTool } from "./tools/sessions-list-tool.js";
|
|
16
|
-
import { createSessionsSendTool } from "./tools/sessions-send-tool.js";
|
|
17
|
-
import { createSessionsSpawnTool } from "./tools/sessions-spawn-tool.js";
|
|
18
|
-
import { createSubagentsTool } from "./tools/subagents-tool.js";
|
|
19
|
-
import { createTtsTool } from "./tools/tts-tool.js";
|
|
20
|
-
import { createWebFetchTool, createWebSearchTool } from "./tools/web-tools.js";
|
|
21
|
-
import { resolveWorkspaceRoot } from "./workspace-dir.js";
|
|
22
|
-
export function createOpenClawTools(options) {
|
|
23
|
-
const workspaceDir = resolveWorkspaceRoot(options?.workspaceDir);
|
|
24
|
-
const imageTool = options?.agentDir?.trim()
|
|
25
|
-
? createImageTool({
|
|
26
|
-
config: options?.config,
|
|
27
|
-
agentDir: options.agentDir,
|
|
28
|
-
workspaceDir,
|
|
29
|
-
sandbox: options?.sandboxRoot && options?.sandboxFsBridge
|
|
30
|
-
? { root: options.sandboxRoot, bridge: options.sandboxFsBridge }
|
|
31
|
-
: undefined,
|
|
32
|
-
modelHasVision: options?.modelHasVision,
|
|
33
|
-
})
|
|
34
|
-
: null;
|
|
35
|
-
const imageGenerateTool = createImageGenerateTool({
|
|
36
|
-
config: options?.config,
|
|
37
|
-
agentDir: options?.agentDir,
|
|
38
|
-
sandboxRoot: options?.sandboxRoot,
|
|
39
|
-
});
|
|
40
|
-
const webSearchTool = createWebSearchTool({
|
|
41
|
-
config: options?.config,
|
|
42
|
-
sandboxed: options?.sandboxed,
|
|
43
|
-
});
|
|
44
|
-
const webFetchTool = createWebFetchTool({
|
|
45
|
-
config: options?.config,
|
|
46
|
-
sandboxed: options?.sandboxed,
|
|
47
|
-
});
|
|
48
|
-
const messageTool = options?.disableMessageTool
|
|
49
|
-
? null
|
|
50
|
-
: createMessageTool({
|
|
51
|
-
agentAccountId: options?.agentAccountId,
|
|
52
|
-
agentSessionKey: options?.agentSessionKey,
|
|
53
|
-
config: options?.config,
|
|
54
|
-
currentChannelId: options?.currentChannelId,
|
|
55
|
-
currentChannelProvider: options?.agentChannel,
|
|
56
|
-
currentThreadTs: options?.currentThreadTs,
|
|
57
|
-
replyToMode: options?.replyToMode,
|
|
58
|
-
hasRepliedRef: options?.hasRepliedRef,
|
|
59
|
-
sandboxRoot: options?.sandboxRoot,
|
|
60
|
-
requireExplicitTarget: options?.requireExplicitMessageTarget,
|
|
61
|
-
});
|
|
62
|
-
const tools = [
|
|
63
|
-
createBrowserTool({
|
|
64
|
-
sandboxBridgeUrl: options?.sandboxBrowserBridgeUrl,
|
|
65
|
-
allowHostControl: options?.allowHostBrowserControl,
|
|
66
|
-
}),
|
|
67
|
-
createCanvasTool(),
|
|
68
|
-
createNodesTool({
|
|
69
|
-
agentSessionKey: options?.agentSessionKey,
|
|
70
|
-
config: options?.config,
|
|
71
|
-
}),
|
|
72
|
-
createCronTool({
|
|
73
|
-
agentSessionKey: options?.agentSessionKey,
|
|
74
|
-
}),
|
|
75
|
-
...(messageTool ? [messageTool] : []),
|
|
76
|
-
createTtsTool({
|
|
77
|
-
agentChannel: options?.agentChannel,
|
|
78
|
-
config: options?.config,
|
|
79
|
-
}),
|
|
80
|
-
createGatewayTool({
|
|
81
|
-
agentSessionKey: options?.agentSessionKey,
|
|
82
|
-
config: options?.config,
|
|
83
|
-
}),
|
|
84
|
-
createAgentsListTool({
|
|
85
|
-
agentSessionKey: options?.agentSessionKey,
|
|
86
|
-
requesterAgentIdOverride: options?.requesterAgentIdOverride,
|
|
87
|
-
}),
|
|
88
|
-
createSessionsListTool({
|
|
89
|
-
agentSessionKey: options?.agentSessionKey,
|
|
90
|
-
sandboxed: options?.sandboxed,
|
|
91
|
-
}),
|
|
92
|
-
createSessionsHistoryTool({
|
|
93
|
-
agentSessionKey: options?.agentSessionKey,
|
|
94
|
-
sandboxed: options?.sandboxed,
|
|
95
|
-
}),
|
|
96
|
-
createSessionsSendTool({
|
|
97
|
-
agentSessionKey: options?.agentSessionKey,
|
|
98
|
-
agentChannel: options?.agentChannel,
|
|
99
|
-
sandboxed: options?.sandboxed,
|
|
100
|
-
}),
|
|
101
|
-
createSessionsSpawnTool({
|
|
102
|
-
agentSessionKey: options?.agentSessionKey,
|
|
103
|
-
agentChannel: options?.agentChannel,
|
|
104
|
-
agentAccountId: options?.agentAccountId,
|
|
105
|
-
agentTo: options?.agentTo,
|
|
106
|
-
agentThreadId: options?.agentThreadId,
|
|
107
|
-
agentGroupId: options?.agentGroupId,
|
|
108
|
-
agentGroupChannel: options?.agentGroupChannel,
|
|
109
|
-
agentGroupSpace: options?.agentGroupSpace,
|
|
110
|
-
sandboxed: options?.sandboxed,
|
|
111
|
-
requesterAgentIdOverride: options?.requesterAgentIdOverride,
|
|
112
|
-
}),
|
|
113
|
-
createSubagentsTool({
|
|
114
|
-
agentSessionKey: options?.agentSessionKey,
|
|
115
|
-
}),
|
|
116
|
-
createSessionStatusTool({
|
|
117
|
-
agentSessionKey: options?.agentSessionKey,
|
|
118
|
-
config: options?.config,
|
|
119
|
-
}),
|
|
120
|
-
...(webSearchTool ? [webSearchTool] : []),
|
|
121
|
-
...(webFetchTool ? [webFetchTool] : []),
|
|
122
|
-
...(imageTool ? [imageTool] : []),
|
|
123
|
-
...(imageGenerateTool ? [imageGenerateTool] : []),
|
|
124
|
-
];
|
|
125
|
-
// Z.AI-powered research tool (gracefully absent when no key configured)
|
|
126
|
-
const deepResearchTool = createDeepResearchTool({
|
|
127
|
-
config: options?.config,
|
|
128
|
-
agentDir: options?.agentDir,
|
|
129
|
-
sandboxRoot: options?.sandboxRoot,
|
|
130
|
-
});
|
|
131
|
-
if (deepResearchTool)
|
|
132
|
-
tools.push(deepResearchTool);
|
|
133
|
-
const pluginTools = resolvePluginTools({
|
|
134
|
-
context: {
|
|
135
|
-
config: options?.config,
|
|
136
|
-
workspaceDir,
|
|
137
|
-
agentDir: options?.agentDir,
|
|
138
|
-
agentId: resolveSessionAgentId({
|
|
139
|
-
sessionKey: options?.agentSessionKey,
|
|
140
|
-
config: options?.config,
|
|
141
|
-
}),
|
|
142
|
-
sessionKey: options?.agentSessionKey,
|
|
143
|
-
messageChannel: options?.agentChannel,
|
|
144
|
-
agentAccountId: options?.agentAccountId,
|
|
145
|
-
sandboxed: options?.sandboxed,
|
|
146
|
-
},
|
|
147
|
-
existingToolNames: new Set(tools.map((tool) => tool.name)),
|
|
148
|
-
toolAllowlist: options?.pluginToolAllowlist,
|
|
149
|
-
});
|
|
150
|
-
return [...tools, ...pluginTools];
|
|
151
|
-
}
|