@2en/clawly-plugins 1.30.0-beta.1 → 1.30.0-beta.10

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/auto-pair.ts CHANGED
@@ -4,7 +4,7 @@ import type {PluginApi} from './index'
4
4
  // Security note: clientId is self-reported by the connecting client. This is safe
5
5
  // because the gateway enforces Ed25519 signature verification before a pairing
6
6
  // request is created — only clients with valid device identity reach this stage.
7
- const AUTO_APPROVE_CLIENT_IDS = new Set(['openclaw-ios', 'node-host'])
7
+ const AUTO_APPROVE_CLIENT_IDS = new Set(['openclaw-ios', 'openclaw-macos', 'node-host'])
8
8
  const POLL_INTERVAL_MS = 3_000
9
9
 
10
10
  type PendingRequest = {
@@ -13,22 +13,22 @@
13
13
  api: "openai-completions",
14
14
  models: [
15
15
  {
16
- id: "moonshotai/kimi-k2.5",
17
- name: "moonshotai/kimi-k2.5",
16
+ id: "auto",
17
+ name: "auto",
18
18
  input: ["text", "image"],
19
19
  contextWindow: 262144,
20
20
  maxTokens: 65535,
21
21
  },
22
22
  {
23
- id: "google/gemini-2.5-pro",
24
- name: "google/gemini-2.5-pro",
23
+ id: "moonshotai/kimi-k2.5",
24
+ name: "moonshotai/kimi-k2.5",
25
25
  input: ["text", "image"],
26
- contextWindow: 1048576,
27
- maxTokens: 65536,
26
+ contextWindow: 262144,
27
+ maxTokens: 65535,
28
28
  },
29
29
  {
30
- id: "google/gemini-3-pro-preview",
31
- name: "google/gemini-3-pro-preview",
30
+ id: "google/gemini-3.1-pro-preview",
31
+ name: "google/gemini-3.1-pro-preview",
32
32
  input: ["text", "image"],
33
33
  contextWindow: 1048576,
34
34
  maxTokens: 65536,
@@ -56,6 +56,13 @@
56
56
  contextWindow: 1050000,
57
57
  maxTokens: 128000,
58
58
  },
59
+ {
60
+ id: "minimax/minimax-m2.7",
61
+ name: "minimax/minimax-m2.7",
62
+ input: ["text"],
63
+ contextWindow: 204800,
64
+ maxTokens: 131072,
65
+ },
59
66
  {
60
67
  id: "minimax/minimax-m2.5",
61
68
  name: "minimax/minimax-m2.5",
@@ -77,6 +84,13 @@
77
84
  contextWindow: 1000000,
78
85
  maxTokens: 65536,
79
86
  },
87
+ {
88
+ id: "xiaomi/mimo-v2-pro",
89
+ name: "xiaomi/mimo-v2-pro",
90
+ input: ["text"],
91
+ contextWindow: 1048576,
92
+ maxTokens: 131072,
93
+ },
80
94
  {
81
95
  id: "z-ai/glm-5",
82
96
  name: "z-ai/glm-5",
@@ -89,11 +103,12 @@
89
103
  },
90
104
  },
91
105
 
92
- // agents.defaults.modelswhich models the agent can use, display names,
93
- // and per-model overrides. The whitelist only constrains the UI model picker
94
- // and fallback lists.
106
+ // agents.defaults — model picker whitelist, display names, and tuning defaults.
107
+ // The whitelist constrains the UI model picker and fallback lists.
95
108
  agents: {
96
109
  defaults: {
110
+ thinkingDefault: "off",
111
+ verboseDefault: "on",
97
112
  model: {
98
113
  primary: "clawly-model-gateway/anthropic/claude-sonnet-4.6",
99
114
  },
@@ -102,17 +117,121 @@
102
117
  fallbacks: [],
103
118
  },
104
119
  models: {
120
+ "clawly-model-gateway/auto": { alias: "Auto" },
105
121
  "clawly-model-gateway/moonshotai/kimi-k2.5": { alias: "Kimi K2.5" },
106
- "clawly-model-gateway/google/gemini-2.5-pro": { alias: "Gemini 2.5 Pro" },
107
- "clawly-model-gateway/google/gemini-3-pro-preview": { alias: "Gemini 3 Pro Preview" },
122
+ "clawly-model-gateway/google/gemini-3.1-pro-preview": { alias: "Gemini 3.1 Pro Preview" },
108
123
  "clawly-model-gateway/anthropic/claude-sonnet-4.6": { alias: "Claude Sonnet 4.6" },
109
124
  "clawly-model-gateway/anthropic/claude-opus-4.6": { alias: "Claude Opus 4.6" },
110
125
  "clawly-model-gateway/openai/gpt-5.4": { alias: "GPT-5.4" },
126
+ "clawly-model-gateway/minimax/minimax-m2.7": { alias: "MiniMax M2.7" },
111
127
  "clawly-model-gateway/minimax/minimax-m2.5": { alias: "MiniMax M2.5" },
112
128
  "clawly-model-gateway/minimax/minimax-m2.1": { alias: "MiniMax M2.1" },
113
129
  "clawly-model-gateway/qwen/qwen3.5-plus-02-15": { alias: "Qwen 3.5 Plus" },
130
+ "clawly-model-gateway/xiaomi/mimo-v2-pro": { alias: "MiMo V2 Pro" },
114
131
  "clawly-model-gateway/z-ai/glm-5": { alias: "GLM-5" },
115
132
  },
133
+ contextPruning: {
134
+ mode: "cache-ttl",
135
+ },
136
+ heartbeat: {
137
+ model: "clawly-model-gateway/auto",
138
+ lightContext: true,
139
+ },
140
+ memorySearch: {
141
+ provider: "openai",
142
+ model: "text-embedding-3-small",
143
+ remote: {
144
+ baseUrl: "${CLAWLY_MODEL_GATEWAY_BASE}/v1",
145
+ apiKey: "${CLAWLY_MODEL_GATEWAY_API_KEY}",
146
+ batch: { enabled: false },
147
+ },
148
+ },
149
+ },
150
+ },
151
+
152
+ // messages.tts — text-to-speech credentials + tuning defaults
153
+ messages: {
154
+ tts: {
155
+ auto: "tagged",
156
+ mode: "final",
157
+ provider: "elevenlabs",
158
+ summaryModel: "clawly-model-gateway/anthropic/claude-sonnet-4.6",
159
+ maxTextLength: 4000,
160
+ timeoutMs: 30000,
161
+ prefsPath: "~/.openclaw/settings/tts.json",
162
+ modelOverrides: { enabled: true },
163
+ elevenlabs: {
164
+ baseUrl: "${CLAWLY_MODEL_GATEWAY_BASE}/v1/elevenlabs",
165
+ apiKey: "${CLAWLY_MODEL_GATEWAY_API_KEY}",
166
+ voiceId: "DwwuoY7Uz8AP8zrY5TAo",
167
+ modelId: "eleven_multilingual_v2",
168
+ seed: 42,
169
+ applyTextNormalization: "auto",
170
+ languageCode: "en",
171
+ voiceSettings: {
172
+ stability: 0.5,
173
+ similarityBoost: 0.75,
174
+ style: 0.0,
175
+ useSpeakerBoost: true,
176
+ speed: 1.0,
177
+ },
178
+ },
179
+ },
180
+ },
181
+
182
+ // gateway.reload — use "hot" mode to prevent spurious SIGUSR1 restarts.
183
+ // config-setup writes restart-requiring keys (commands.*, gateway.*, env.*)
184
+ // after the gateway has already captured its startup config snapshot.
185
+ // In "hybrid" (default) mode, any subsequent config file write triggers the
186
+ // file watcher to diff against the stale snapshot, discover the config-setup
187
+ // changes as "new", and issue SIGUSR1. "hot" mode makes the watcher ignore
188
+ // restart-requiring diffs — only hot-reloadable changes (heartbeat, cron,
189
+ // hooks, browser) are applied. Direct SIGUSR1 from explicit restart commands
190
+ // and plugin auto-update is unaffected. If you manually edit a restart-
191
+ // requiring field in openclaw.json, run `openclaw restart` to apply it.
192
+ //
193
+ // gateway.nodes — allowlist dangerous node commands so the AI agent can
194
+ // invoke them on connected Clawly nodes (browser, reminders, calendar, device).
195
+ gateway: {
196
+ reload: {
197
+ mode: "hot",
198
+ },
199
+ nodes: {
200
+ allowCommands: [
201
+ // Browser commands (Mac nodes)
202
+ "browser.proxy",
203
+ "browser.navigate",
204
+ "browser.click",
205
+ "browser.type",
206
+ "browser.screenshot",
207
+ "browser.read",
208
+ "browser.tabs",
209
+ "browser.back",
210
+ "browser.scroll",
211
+ "browser.evaluate",
212
+ // Reminders + calendar (iOS nodes)
213
+ "reminders.add",
214
+ "calendar.add",
215
+ // Device permissions (iOS nodes)
216
+ "device.permissions",
217
+ "device.requestPermission",
218
+ ],
219
+ },
220
+ },
221
+
222
+ // tools.web.search — web search defaults
223
+ tools: {
224
+ web: {
225
+ search: {
226
+ provider: "perplexity",
227
+ perplexity: {
228
+ model: "perplexity/sonar-pro",
229
+ baseUrl: "${CLAWLY_MODEL_GATEWAY_BASE}/v1",
230
+ apiKey: "${CLAWLY_MODEL_GATEWAY_API_KEY}",
231
+ },
232
+ maxResults: 5,
233
+ timeoutSeconds: 30,
234
+ },
116
235
  },
117
236
  },
118
237
  }