vantuz 3.3.1 → 3.3.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.
@@ -1,1966 +0,0 @@
1
-
2
- Register-ArgumentCompleter -Native -CommandName openclaw -ScriptBlock {
3
- param($wordToComplete, $commandAst, $cursorPosition)
4
-
5
- $commandElements = $commandAst.CommandElements
6
- $commandPath = ""
7
-
8
- # Reconstruct command path (simple approximation)
9
- # Skip the executable name
10
- for ($i = 1; $i -lt $commandElements.Count; $i++) {
11
- $element = $commandElements[$i].Extent.Text
12
- if ($element -like "-*") { break }
13
- if ($i -eq $commandElements.Count - 1 -and $wordToComplete -ne "") { break } # Don't include current word being typed
14
- $commandPath += "$element "
15
- }
16
- $commandPath = $commandPath.Trim()
17
-
18
- # Root command
19
- if ($commandPath -eq "") {
20
- $completions = @('setup','onboard','configure','config','doctor','dashboard','reset','uninstall','message','memory','agent','agents','status','health','sessions','browser','completion','acp','gateway','daemon','logs','system','models','approvals','nodes','devices','node','sandbox','tui','cron','dns','docs','hooks','webhooks','pairing','plugins','channels','directory','security','skills','update', '-V,','--dev','--profile','--no-color')
21
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
22
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
23
- }
24
- }
25
-
26
-
27
- if ($commandPath -eq 'openclaw') {
28
- $completions = @('setup','onboard','configure','config','doctor','dashboard','reset','uninstall','message','memory','agent','agents','status','health','sessions','browser','completion','acp','gateway','daemon','logs','system','models','approvals','nodes','devices','node','sandbox','tui','cron','dns','docs','hooks','webhooks','pairing','plugins','channels','directory','security','skills','update','-V','--dev','--profile','--no-color')
29
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
30
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
31
- }
32
- }
33
-
34
- if ($commandPath -eq 'openclaw setup') {
35
- $completions = @('--workspace','--wizard','--non-interactive','--mode','--remote-url','--remote-token')
36
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
37
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
38
- }
39
- }
40
-
41
- if ($commandPath -eq 'openclaw onboard') {
42
- $completions = @('--workspace','--reset','--non-interactive','--accept-risk','--flow','--mode','--auth-choice','--token-provider','--token','--token-profile-id','--token-expires-in','--anthropic-api-key','--openai-api-key','--openrouter-api-key','--ai-gateway-api-key','--cloudflare-ai-gateway-account-id','--cloudflare-ai-gateway-gateway-id','--cloudflare-ai-gateway-api-key','--moonshot-api-key','--kimi-code-api-key','--gemini-api-key','--zai-api-key','--xiaomi-api-key','--minimax-api-key','--synthetic-api-key','--venice-api-key','--opencode-zen-api-key','--xai-api-key','--qianfan-api-key','--gateway-port','--gateway-bind','--gateway-auth','--gateway-token','--gateway-password','--remote-url','--remote-token','--tailscale','--tailscale-reset-on-exit','--install-daemon','--no-install-daemon','--skip-daemon','--daemon-runtime','--skip-channels','--skip-skills','--skip-health','--skip-ui','--node-manager','--json')
43
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
44
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
45
- }
46
- }
47
-
48
- if ($commandPath -eq 'openclaw configure') {
49
- $completions = @('--section')
50
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
51
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
52
- }
53
- }
54
-
55
- if ($commandPath -eq 'openclaw config') {
56
- $completions = @('get','set','unset','--section')
57
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
58
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
59
- }
60
- }
61
-
62
- if ($commandPath -eq 'openclaw config get') {
63
- $completions = @('--json')
64
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
65
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
66
- }
67
- }
68
-
69
- if ($commandPath -eq 'openclaw config set') {
70
- $completions = @('--json')
71
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
72
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
73
- }
74
- }
75
-
76
- if ($commandPath -eq 'openclaw doctor') {
77
- $completions = @('--no-workspace-suggestions','--yes','--repair','--fix','--force','--non-interactive','--generate-gateway-token','--deep')
78
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
79
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
80
- }
81
- }
82
-
83
- if ($commandPath -eq 'openclaw dashboard') {
84
- $completions = @('--no-open')
85
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
86
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
87
- }
88
- }
89
-
90
- if ($commandPath -eq 'openclaw reset') {
91
- $completions = @('--scope','--yes','--non-interactive','--dry-run')
92
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
93
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
94
- }
95
- }
96
-
97
- if ($commandPath -eq 'openclaw uninstall') {
98
- $completions = @('--service','--state','--workspace','--app','--all','--yes','--non-interactive','--dry-run')
99
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
100
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
101
- }
102
- }
103
-
104
- if ($commandPath -eq 'openclaw message') {
105
- $completions = @('send','broadcast','poll','react','reactions','read','edit','delete','pin','unpin','pins','permissions','search','thread','emoji','sticker','role','channel','member','voice','event','timeout','kick','ban')
106
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
107
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
108
- }
109
- }
110
-
111
- if ($commandPath -eq 'openclaw message send') {
112
- $completions = @('-m','-t','--media','--buttons','--card','--reply-to','--thread-id','--gif-playback','--silent','--channel','--account','--json','--dry-run','--verbose')
113
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
114
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
115
- }
116
- }
117
-
118
- if ($commandPath -eq 'openclaw message broadcast') {
119
- $completions = @('--channel','--account','--json','--dry-run','--verbose','--targets','--message','--media')
120
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
121
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
122
- }
123
- }
124
-
125
- if ($commandPath -eq 'openclaw message poll') {
126
- $completions = @('-t','--channel','--account','--json','--dry-run','--verbose','--poll-question','--poll-option','--poll-multi','--poll-duration-hours','-m')
127
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
128
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
129
- }
130
- }
131
-
132
- if ($commandPath -eq 'openclaw message react') {
133
- $completions = @('-t','--channel','--account','--json','--dry-run','--verbose','--message-id','--emoji','--remove','--participant','--from-me','--target-author','--target-author-uuid')
134
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
135
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
136
- }
137
- }
138
-
139
- if ($commandPath -eq 'openclaw message reactions') {
140
- $completions = @('-t','--channel','--account','--json','--dry-run','--verbose','--message-id','--limit')
141
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
142
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
143
- }
144
- }
145
-
146
- if ($commandPath -eq 'openclaw message read') {
147
- $completions = @('-t','--channel','--account','--json','--dry-run','--verbose','--limit','--before','--after','--around','--include-thread')
148
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
149
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
150
- }
151
- }
152
-
153
- if ($commandPath -eq 'openclaw message edit') {
154
- $completions = @('--message-id','-m','-t','--channel','--account','--json','--dry-run','--verbose','--thread-id')
155
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
156
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
157
- }
158
- }
159
-
160
- if ($commandPath -eq 'openclaw message delete') {
161
- $completions = @('--message-id','-t','--channel','--account','--json','--dry-run','--verbose')
162
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
163
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
164
- }
165
- }
166
-
167
- if ($commandPath -eq 'openclaw message pin') {
168
- $completions = @('-t','--channel','--account','--json','--dry-run','--verbose','--message-id')
169
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
170
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
171
- }
172
- }
173
-
174
- if ($commandPath -eq 'openclaw message unpin') {
175
- $completions = @('-t','--channel','--account','--json','--dry-run','--verbose','--message-id')
176
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
177
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
178
- }
179
- }
180
-
181
- if ($commandPath -eq 'openclaw message pins') {
182
- $completions = @('-t','--channel','--account','--json','--dry-run','--verbose','--limit')
183
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
184
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
185
- }
186
- }
187
-
188
- if ($commandPath -eq 'openclaw message permissions') {
189
- $completions = @('-t','--channel','--account','--json','--dry-run','--verbose')
190
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
191
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
192
- }
193
- }
194
-
195
- if ($commandPath -eq 'openclaw message search') {
196
- $completions = @('--channel','--account','--json','--dry-run','--verbose','--guild-id','--query','--channel-id','--channel-ids','--author-id','--author-ids','--limit')
197
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
198
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
199
- }
200
- }
201
-
202
- if ($commandPath -eq 'openclaw message thread') {
203
- $completions = @('create','list','reply')
204
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
205
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
206
- }
207
- }
208
-
209
- if ($commandPath -eq 'openclaw message thread create') {
210
- $completions = @('--thread-name','-t','--channel','--account','--json','--dry-run','--verbose','--message-id','-m','--auto-archive-min')
211
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
212
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
213
- }
214
- }
215
-
216
- if ($commandPath -eq 'openclaw message thread list') {
217
- $completions = @('--guild-id','--channel','--account','--json','--dry-run','--verbose','--channel-id','--include-archived','--before','--limit')
218
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
219
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
220
- }
221
- }
222
-
223
- if ($commandPath -eq 'openclaw message thread reply') {
224
- $completions = @('-m','-t','--channel','--account','--json','--dry-run','--verbose','--media','--reply-to')
225
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
226
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
227
- }
228
- }
229
-
230
- if ($commandPath -eq 'openclaw message emoji') {
231
- $completions = @('list','upload')
232
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
233
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
234
- }
235
- }
236
-
237
- if ($commandPath -eq 'openclaw message emoji list') {
238
- $completions = @('--channel','--account','--json','--dry-run','--verbose','--guild-id')
239
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
240
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
241
- }
242
- }
243
-
244
- if ($commandPath -eq 'openclaw message emoji upload') {
245
- $completions = @('--guild-id','--channel','--account','--json','--dry-run','--verbose','--emoji-name','--media','--role-ids')
246
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
247
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
248
- }
249
- }
250
-
251
- if ($commandPath -eq 'openclaw message sticker') {
252
- $completions = @('send','upload')
253
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
254
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
255
- }
256
- }
257
-
258
- if ($commandPath -eq 'openclaw message sticker send') {
259
- $completions = @('-t','--channel','--account','--json','--dry-run','--verbose','--sticker-id','-m')
260
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
261
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
262
- }
263
- }
264
-
265
- if ($commandPath -eq 'openclaw message sticker upload') {
266
- $completions = @('--guild-id','--channel','--account','--json','--dry-run','--verbose','--sticker-name','--sticker-desc','--sticker-tags','--media')
267
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
268
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
269
- }
270
- }
271
-
272
- if ($commandPath -eq 'openclaw message role') {
273
- $completions = @('info','add','remove')
274
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
275
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
276
- }
277
- }
278
-
279
- if ($commandPath -eq 'openclaw message role info') {
280
- $completions = @('--guild-id','--channel','--account','--json','--dry-run','--verbose')
281
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
282
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
283
- }
284
- }
285
-
286
- if ($commandPath -eq 'openclaw message role add') {
287
- $completions = @('--guild-id','--user-id','--role-id','--channel','--account','--json','--dry-run','--verbose')
288
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
289
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
290
- }
291
- }
292
-
293
- if ($commandPath -eq 'openclaw message role remove') {
294
- $completions = @('--guild-id','--user-id','--role-id','--channel','--account','--json','--dry-run','--verbose')
295
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
296
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
297
- }
298
- }
299
-
300
- if ($commandPath -eq 'openclaw message channel') {
301
- $completions = @('info','list')
302
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
303
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
304
- }
305
- }
306
-
307
- if ($commandPath -eq 'openclaw message channel info') {
308
- $completions = @('-t','--channel','--account','--json','--dry-run','--verbose')
309
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
310
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
311
- }
312
- }
313
-
314
- if ($commandPath -eq 'openclaw message channel list') {
315
- $completions = @('--guild-id','--channel','--account','--json','--dry-run','--verbose')
316
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
317
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
318
- }
319
- }
320
-
321
- if ($commandPath -eq 'openclaw message member') {
322
- $completions = @('info')
323
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
324
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
325
- }
326
- }
327
-
328
- if ($commandPath -eq 'openclaw message member info') {
329
- $completions = @('--user-id','--channel','--account','--json','--dry-run','--verbose','--guild-id')
330
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
331
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
332
- }
333
- }
334
-
335
- if ($commandPath -eq 'openclaw message voice') {
336
- $completions = @('status')
337
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
338
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
339
- }
340
- }
341
-
342
- if ($commandPath -eq 'openclaw message voice status') {
343
- $completions = @('--guild-id','--user-id','--channel','--account','--json','--dry-run','--verbose')
344
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
345
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
346
- }
347
- }
348
-
349
- if ($commandPath -eq 'openclaw message event') {
350
- $completions = @('list','create')
351
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
352
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
353
- }
354
- }
355
-
356
- if ($commandPath -eq 'openclaw message event list') {
357
- $completions = @('--guild-id','--channel','--account','--json','--dry-run','--verbose')
358
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
359
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
360
- }
361
- }
362
-
363
- if ($commandPath -eq 'openclaw message event create') {
364
- $completions = @('--guild-id','--event-name','--start-time','--channel','--account','--json','--dry-run','--verbose','--end-time','--desc','--channel-id','--location','--event-type')
365
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
366
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
367
- }
368
- }
369
-
370
- if ($commandPath -eq 'openclaw message timeout') {
371
- $completions = @('--guild-id','--user-id','--channel','--account','--json','--dry-run','--verbose','--duration-min','--until','--reason')
372
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
373
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
374
- }
375
- }
376
-
377
- if ($commandPath -eq 'openclaw message kick') {
378
- $completions = @('--guild-id','--user-id','--channel','--account','--json','--dry-run','--verbose','--reason')
379
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
380
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
381
- }
382
- }
383
-
384
- if ($commandPath -eq 'openclaw message ban') {
385
- $completions = @('--guild-id','--user-id','--channel','--account','--json','--dry-run','--verbose','--reason','--delete-days')
386
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
387
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
388
- }
389
- }
390
-
391
- if ($commandPath -eq 'openclaw memory') {
392
- $completions = @('status','index','search')
393
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
394
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
395
- }
396
- }
397
-
398
- if ($commandPath -eq 'openclaw memory status') {
399
- $completions = @('--agent','--json','--deep','--index','--verbose')
400
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
401
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
402
- }
403
- }
404
-
405
- if ($commandPath -eq 'openclaw memory index') {
406
- $completions = @('--agent','--force','--verbose')
407
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
408
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
409
- }
410
- }
411
-
412
- if ($commandPath -eq 'openclaw memory search') {
413
- $completions = @('--agent','--max-results','--min-score','--json')
414
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
415
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
416
- }
417
- }
418
-
419
- if ($commandPath -eq 'openclaw agent') {
420
- $completions = @('-m','-t','--session-id','--agent','--thinking','--verbose','--channel','--reply-to','--reply-channel','--reply-account','--local','--deliver','--json','--timeout')
421
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
422
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
423
- }
424
- }
425
-
426
- if ($commandPath -eq 'openclaw agents') {
427
- $completions = @('list','add','set-identity','delete')
428
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
429
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
430
- }
431
- }
432
-
433
- if ($commandPath -eq 'openclaw agents list') {
434
- $completions = @('--json','--bindings')
435
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
436
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
437
- }
438
- }
439
-
440
- if ($commandPath -eq 'openclaw agents add') {
441
- $completions = @('--workspace','--model','--agent-dir','--bind','--non-interactive','--json')
442
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
443
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
444
- }
445
- }
446
-
447
- if ($commandPath -eq 'openclaw agents set-identity') {
448
- $completions = @('--agent','--workspace','--identity-file','--from-identity','--name','--theme','--emoji','--avatar','--json')
449
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
450
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
451
- }
452
- }
453
-
454
- if ($commandPath -eq 'openclaw agents delete') {
455
- $completions = @('--force','--json')
456
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
457
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
458
- }
459
- }
460
-
461
- if ($commandPath -eq 'openclaw status') {
462
- $completions = @('--json','--all','--usage','--deep','--timeout','--verbose','--debug')
463
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
464
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
465
- }
466
- }
467
-
468
- if ($commandPath -eq 'openclaw health') {
469
- $completions = @('--json','--timeout','--verbose','--debug')
470
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
471
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
472
- }
473
- }
474
-
475
- if ($commandPath -eq 'openclaw sessions') {
476
- $completions = @('--json','--verbose','--store','--active')
477
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
478
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
479
- }
480
- }
481
-
482
- if ($commandPath -eq 'openclaw browser') {
483
- $completions = @('status','start','stop','reset-profile','tabs','tab','open','focus','close','profiles','create-profile','delete-profile','extension','screenshot','snapshot','navigate','resize','click','type','press','hover','scrollintoview','drag','select','upload','waitfordownload','download','dialog','fill','wait','evaluate','console','pdf','responsebody','highlight','errors','requests','trace','cookies','storage','set','--browser-profile','--json','--url','--token','--timeout','--expect-final')
484
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
485
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
486
- }
487
- }
488
-
489
- if ($commandPath -eq 'openclaw browser tab') {
490
- $completions = @('new','select','close')
491
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
492
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
493
- }
494
- }
495
-
496
- if ($commandPath -eq 'openclaw browser create-profile') {
497
- $completions = @('--name','--color','--cdp-url','--driver')
498
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
499
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
500
- }
501
- }
502
-
503
- if ($commandPath -eq 'openclaw browser delete-profile') {
504
- $completions = @('--name')
505
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
506
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
507
- }
508
- }
509
-
510
- if ($commandPath -eq 'openclaw browser extension') {
511
- $completions = @('install','path')
512
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
513
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
514
- }
515
- }
516
-
517
- if ($commandPath -eq 'openclaw browser screenshot') {
518
- $completions = @('--full-page','--ref','--element','--type')
519
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
520
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
521
- }
522
- }
523
-
524
- if ($commandPath -eq 'openclaw browser snapshot') {
525
- $completions = @('--format','--target-id','--limit','--mode','--efficient','--interactive','--compact','--depth','--selector','--frame','--labels','--out')
526
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
527
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
528
- }
529
- }
530
-
531
- if ($commandPath -eq 'openclaw browser navigate') {
532
- $completions = @('--target-id')
533
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
534
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
535
- }
536
- }
537
-
538
- if ($commandPath -eq 'openclaw browser resize') {
539
- $completions = @('--target-id')
540
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
541
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
542
- }
543
- }
544
-
545
- if ($commandPath -eq 'openclaw browser click') {
546
- $completions = @('--target-id','--double','--button','--modifiers')
547
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
548
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
549
- }
550
- }
551
-
552
- if ($commandPath -eq 'openclaw browser type') {
553
- $completions = @('--submit','--slowly','--target-id')
554
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
555
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
556
- }
557
- }
558
-
559
- if ($commandPath -eq 'openclaw browser press') {
560
- $completions = @('--target-id')
561
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
562
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
563
- }
564
- }
565
-
566
- if ($commandPath -eq 'openclaw browser hover') {
567
- $completions = @('--target-id')
568
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
569
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
570
- }
571
- }
572
-
573
- if ($commandPath -eq 'openclaw browser scrollintoview') {
574
- $completions = @('--target-id','--timeout-ms')
575
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
576
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
577
- }
578
- }
579
-
580
- if ($commandPath -eq 'openclaw browser drag') {
581
- $completions = @('--target-id')
582
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
583
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
584
- }
585
- }
586
-
587
- if ($commandPath -eq 'openclaw browser select') {
588
- $completions = @('--target-id')
589
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
590
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
591
- }
592
- }
593
-
594
- if ($commandPath -eq 'openclaw browser upload') {
595
- $completions = @('--ref','--input-ref','--element','--target-id','--timeout-ms')
596
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
597
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
598
- }
599
- }
600
-
601
- if ($commandPath -eq 'openclaw browser waitfordownload') {
602
- $completions = @('--target-id','--timeout-ms')
603
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
604
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
605
- }
606
- }
607
-
608
- if ($commandPath -eq 'openclaw browser download') {
609
- $completions = @('--target-id','--timeout-ms')
610
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
611
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
612
- }
613
- }
614
-
615
- if ($commandPath -eq 'openclaw browser dialog') {
616
- $completions = @('--accept','--dismiss','--prompt','--target-id','--timeout-ms')
617
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
618
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
619
- }
620
- }
621
-
622
- if ($commandPath -eq 'openclaw browser fill') {
623
- $completions = @('--fields','--fields-file','--target-id')
624
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
625
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
626
- }
627
- }
628
-
629
- if ($commandPath -eq 'openclaw browser wait') {
630
- $completions = @('--time','--text','--text-gone','--url','--load','--fn','--timeout-ms','--target-id')
631
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
632
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
633
- }
634
- }
635
-
636
- if ($commandPath -eq 'openclaw browser evaluate') {
637
- $completions = @('--fn','--ref','--target-id')
638
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
639
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
640
- }
641
- }
642
-
643
- if ($commandPath -eq 'openclaw browser console') {
644
- $completions = @('--level','--target-id')
645
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
646
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
647
- }
648
- }
649
-
650
- if ($commandPath -eq 'openclaw browser pdf') {
651
- $completions = @('--target-id')
652
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
653
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
654
- }
655
- }
656
-
657
- if ($commandPath -eq 'openclaw browser responsebody') {
658
- $completions = @('--target-id','--timeout-ms','--max-chars')
659
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
660
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
661
- }
662
- }
663
-
664
- if ($commandPath -eq 'openclaw browser highlight') {
665
- $completions = @('--target-id')
666
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
667
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
668
- }
669
- }
670
-
671
- if ($commandPath -eq 'openclaw browser errors') {
672
- $completions = @('--clear','--target-id')
673
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
674
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
675
- }
676
- }
677
-
678
- if ($commandPath -eq 'openclaw browser requests') {
679
- $completions = @('--filter','--clear','--target-id')
680
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
681
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
682
- }
683
- }
684
-
685
- if ($commandPath -eq 'openclaw browser trace') {
686
- $completions = @('start','stop')
687
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
688
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
689
- }
690
- }
691
-
692
- if ($commandPath -eq 'openclaw browser trace start') {
693
- $completions = @('--target-id','--no-screenshots','--no-snapshots','--sources')
694
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
695
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
696
- }
697
- }
698
-
699
- if ($commandPath -eq 'openclaw browser trace stop') {
700
- $completions = @('--out','--target-id')
701
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
702
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
703
- }
704
- }
705
-
706
- if ($commandPath -eq 'openclaw browser cookies') {
707
- $completions = @('set','clear','--target-id')
708
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
709
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
710
- }
711
- }
712
-
713
- if ($commandPath -eq 'openclaw browser cookies set') {
714
- $completions = @('--url','--target-id')
715
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
716
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
717
- }
718
- }
719
-
720
- if ($commandPath -eq 'openclaw browser cookies clear') {
721
- $completions = @('--target-id')
722
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
723
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
724
- }
725
- }
726
-
727
- if ($commandPath -eq 'openclaw browser storage') {
728
- $completions = @('local','session')
729
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
730
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
731
- }
732
- }
733
-
734
- if ($commandPath -eq 'openclaw browser storage local') {
735
- $completions = @('get','set','clear')
736
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
737
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
738
- }
739
- }
740
-
741
- if ($commandPath -eq 'openclaw browser storage local get') {
742
- $completions = @('--target-id')
743
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
744
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
745
- }
746
- }
747
-
748
- if ($commandPath -eq 'openclaw browser storage local set') {
749
- $completions = @('--target-id')
750
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
751
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
752
- }
753
- }
754
-
755
- if ($commandPath -eq 'openclaw browser storage local clear') {
756
- $completions = @('--target-id')
757
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
758
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
759
- }
760
- }
761
-
762
- if ($commandPath -eq 'openclaw browser storage session') {
763
- $completions = @('get','set','clear')
764
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
765
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
766
- }
767
- }
768
-
769
- if ($commandPath -eq 'openclaw browser storage session get') {
770
- $completions = @('--target-id')
771
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
772
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
773
- }
774
- }
775
-
776
- if ($commandPath -eq 'openclaw browser storage session set') {
777
- $completions = @('--target-id')
778
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
779
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
780
- }
781
- }
782
-
783
- if ($commandPath -eq 'openclaw browser storage session clear') {
784
- $completions = @('--target-id')
785
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
786
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
787
- }
788
- }
789
-
790
- if ($commandPath -eq 'openclaw browser set') {
791
- $completions = @('viewport','offline','headers','credentials','geo','media','timezone','locale','device')
792
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
793
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
794
- }
795
- }
796
-
797
- if ($commandPath -eq 'openclaw browser set viewport') {
798
- $completions = @('--target-id')
799
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
800
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
801
- }
802
- }
803
-
804
- if ($commandPath -eq 'openclaw browser set offline') {
805
- $completions = @('--target-id')
806
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
807
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
808
- }
809
- }
810
-
811
- if ($commandPath -eq 'openclaw browser set headers') {
812
- $completions = @('--json','--target-id')
813
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
814
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
815
- }
816
- }
817
-
818
- if ($commandPath -eq 'openclaw browser set credentials') {
819
- $completions = @('--clear','--target-id')
820
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
821
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
822
- }
823
- }
824
-
825
- if ($commandPath -eq 'openclaw browser set geo') {
826
- $completions = @('--clear','--accuracy','--origin','--target-id')
827
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
828
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
829
- }
830
- }
831
-
832
- if ($commandPath -eq 'openclaw browser set media') {
833
- $completions = @('--target-id')
834
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
835
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
836
- }
837
- }
838
-
839
- if ($commandPath -eq 'openclaw browser set timezone') {
840
- $completions = @('--target-id')
841
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
842
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
843
- }
844
- }
845
-
846
- if ($commandPath -eq 'openclaw browser set locale') {
847
- $completions = @('--target-id')
848
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
849
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
850
- }
851
- }
852
-
853
- if ($commandPath -eq 'openclaw browser set device') {
854
- $completions = @('--target-id')
855
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
856
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
857
- }
858
- }
859
-
860
- if ($commandPath -eq 'openclaw completion') {
861
- $completions = @('-s','-i','--write-state','-y')
862
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
863
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
864
- }
865
- }
866
-
867
- if ($commandPath -eq 'openclaw acp') {
868
- $completions = @('client','--url','--token','--password','--session','--session-label','--require-existing','--reset-session','--no-prefix-cwd','--verbose')
869
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
870
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
871
- }
872
- }
873
-
874
- if ($commandPath -eq 'openclaw acp client') {
875
- $completions = @('--cwd','--server','--server-args','--server-verbose','--verbose')
876
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
877
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
878
- }
879
- }
880
-
881
- if ($commandPath -eq 'openclaw gateway') {
882
- $completions = @('run','status','install','uninstall','start','stop','restart','call','usage-cost','health','probe','discover','--port','--bind','--token','--auth','--password','--tailscale','--tailscale-reset-on-exit','--allow-unconfigured','--dev','--reset','--force','--verbose','--claude-cli-logs','--ws-log','--compact','--raw-stream','--raw-stream-path')
883
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
884
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
885
- }
886
- }
887
-
888
- if ($commandPath -eq 'openclaw gateway run') {
889
- $completions = @('--port','--bind','--token','--auth','--password','--tailscale','--tailscale-reset-on-exit','--allow-unconfigured','--dev','--reset','--force','--verbose','--claude-cli-logs','--ws-log','--compact','--raw-stream','--raw-stream-path')
890
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
891
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
892
- }
893
- }
894
-
895
- if ($commandPath -eq 'openclaw gateway status') {
896
- $completions = @('--url','--token','--password','--timeout','--no-probe','--deep','--json')
897
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
898
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
899
- }
900
- }
901
-
902
- if ($commandPath -eq 'openclaw gateway install') {
903
- $completions = @('--port','--runtime','--token','--force','--json')
904
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
905
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
906
- }
907
- }
908
-
909
- if ($commandPath -eq 'openclaw gateway uninstall') {
910
- $completions = @('--json')
911
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
912
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
913
- }
914
- }
915
-
916
- if ($commandPath -eq 'openclaw gateway start') {
917
- $completions = @('--json')
918
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
919
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
920
- }
921
- }
922
-
923
- if ($commandPath -eq 'openclaw gateway stop') {
924
- $completions = @('--json')
925
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
926
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
927
- }
928
- }
929
-
930
- if ($commandPath -eq 'openclaw gateway restart') {
931
- $completions = @('--json')
932
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
933
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
934
- }
935
- }
936
-
937
- if ($commandPath -eq 'openclaw gateway call') {
938
- $completions = @('--params','--url','--token','--password','--timeout','--expect-final','--json')
939
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
940
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
941
- }
942
- }
943
-
944
- if ($commandPath -eq 'openclaw gateway usage-cost') {
945
- $completions = @('--days','--url','--token','--password','--timeout','--expect-final','--json')
946
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
947
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
948
- }
949
- }
950
-
951
- if ($commandPath -eq 'openclaw gateway health') {
952
- $completions = @('--url','--token','--password','--timeout','--expect-final','--json')
953
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
954
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
955
- }
956
- }
957
-
958
- if ($commandPath -eq 'openclaw gateway probe') {
959
- $completions = @('--url','--ssh','--ssh-identity','--ssh-auto','--token','--password','--timeout','--json')
960
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
961
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
962
- }
963
- }
964
-
965
- if ($commandPath -eq 'openclaw gateway discover') {
966
- $completions = @('--timeout','--json')
967
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
968
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
969
- }
970
- }
971
-
972
- if ($commandPath -eq 'openclaw daemon') {
973
- $completions = @('status','install','uninstall','start','stop','restart')
974
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
975
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
976
- }
977
- }
978
-
979
- if ($commandPath -eq 'openclaw daemon status') {
980
- $completions = @('--url','--token','--password','--timeout','--no-probe','--deep','--json')
981
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
982
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
983
- }
984
- }
985
-
986
- if ($commandPath -eq 'openclaw daemon install') {
987
- $completions = @('--port','--runtime','--token','--force','--json')
988
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
989
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
990
- }
991
- }
992
-
993
- if ($commandPath -eq 'openclaw daemon uninstall') {
994
- $completions = @('--json')
995
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
996
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
997
- }
998
- }
999
-
1000
- if ($commandPath -eq 'openclaw daemon start') {
1001
- $completions = @('--json')
1002
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
1003
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
1004
- }
1005
- }
1006
-
1007
- if ($commandPath -eq 'openclaw daemon stop') {
1008
- $completions = @('--json')
1009
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
1010
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
1011
- }
1012
- }
1013
-
1014
- if ($commandPath -eq 'openclaw daemon restart') {
1015
- $completions = @('--json')
1016
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
1017
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
1018
- }
1019
- }
1020
-
1021
- if ($commandPath -eq 'openclaw logs') {
1022
- $completions = @('--limit','--max-bytes','--follow','--interval','--json','--plain','--no-color','--url','--token','--timeout','--expect-final')
1023
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
1024
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
1025
- }
1026
- }
1027
-
1028
- if ($commandPath -eq 'openclaw system') {
1029
- $completions = @('event','heartbeat','presence')
1030
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
1031
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
1032
- }
1033
- }
1034
-
1035
- if ($commandPath -eq 'openclaw system event') {
1036
- $completions = @('--text','--mode','--json','--url','--token','--timeout','--expect-final')
1037
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
1038
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
1039
- }
1040
- }
1041
-
1042
- if ($commandPath -eq 'openclaw system heartbeat') {
1043
- $completions = @('last','enable','disable')
1044
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
1045
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
1046
- }
1047
- }
1048
-
1049
- if ($commandPath -eq 'openclaw system heartbeat last') {
1050
- $completions = @('--json','--url','--token','--timeout','--expect-final')
1051
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
1052
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
1053
- }
1054
- }
1055
-
1056
- if ($commandPath -eq 'openclaw system heartbeat enable') {
1057
- $completions = @('--json','--url','--token','--timeout','--expect-final')
1058
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
1059
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
1060
- }
1061
- }
1062
-
1063
- if ($commandPath -eq 'openclaw system heartbeat disable') {
1064
- $completions = @('--json','--url','--token','--timeout','--expect-final')
1065
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
1066
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
1067
- }
1068
- }
1069
-
1070
- if ($commandPath -eq 'openclaw system presence') {
1071
- $completions = @('--json','--url','--token','--timeout','--expect-final')
1072
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
1073
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
1074
- }
1075
- }
1076
-
1077
- if ($commandPath -eq 'openclaw models') {
1078
- $completions = @('list','status','set','set-image','aliases','fallbacks','image-fallbacks','scan','auth','--status-json','--status-plain','--agent')
1079
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
1080
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
1081
- }
1082
- }
1083
-
1084
- if ($commandPath -eq 'openclaw models list') {
1085
- $completions = @('--all','--local','--provider','--json','--plain')
1086
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
1087
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
1088
- }
1089
- }
1090
-
1091
- if ($commandPath -eq 'openclaw models status') {
1092
- $completions = @('--json','--plain','--check','--probe','--probe-provider','--probe-profile','--probe-timeout','--probe-concurrency','--probe-max-tokens','--agent')
1093
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
1094
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
1095
- }
1096
- }
1097
-
1098
- if ($commandPath -eq 'openclaw models aliases') {
1099
- $completions = @('list','add','remove')
1100
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
1101
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
1102
- }
1103
- }
1104
-
1105
- if ($commandPath -eq 'openclaw models aliases list') {
1106
- $completions = @('--json','--plain')
1107
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
1108
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
1109
- }
1110
- }
1111
-
1112
- if ($commandPath -eq 'openclaw models fallbacks') {
1113
- $completions = @('list','add','remove','clear')
1114
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
1115
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
1116
- }
1117
- }
1118
-
1119
- if ($commandPath -eq 'openclaw models fallbacks list') {
1120
- $completions = @('--json','--plain')
1121
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
1122
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
1123
- }
1124
- }
1125
-
1126
- if ($commandPath -eq 'openclaw models image-fallbacks') {
1127
- $completions = @('list','add','remove','clear')
1128
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
1129
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
1130
- }
1131
- }
1132
-
1133
- if ($commandPath -eq 'openclaw models image-fallbacks list') {
1134
- $completions = @('--json','--plain')
1135
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
1136
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
1137
- }
1138
- }
1139
-
1140
- if ($commandPath -eq 'openclaw models scan') {
1141
- $completions = @('--min-params','--max-age-days','--provider','--max-candidates','--timeout','--concurrency','--no-probe','--yes','--no-input','--set-default','--set-image','--json')
1142
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
1143
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
1144
- }
1145
- }
1146
-
1147
- if ($commandPath -eq 'openclaw models auth') {
1148
- $completions = @('add','login','setup-token','paste-token','login-github-copilot','order','--agent')
1149
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
1150
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
1151
- }
1152
- }
1153
-
1154
- if ($commandPath -eq 'openclaw models auth login') {
1155
- $completions = @('--provider','--method','--set-default')
1156
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
1157
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
1158
- }
1159
- }
1160
-
1161
- if ($commandPath -eq 'openclaw models auth setup-token') {
1162
- $completions = @('--provider','--yes')
1163
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
1164
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
1165
- }
1166
- }
1167
-
1168
- if ($commandPath -eq 'openclaw models auth paste-token') {
1169
- $completions = @('--provider','--profile-id','--expires-in')
1170
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
1171
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
1172
- }
1173
- }
1174
-
1175
- if ($commandPath -eq 'openclaw models auth login-github-copilot') {
1176
- $completions = @('--profile-id','--yes')
1177
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
1178
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
1179
- }
1180
- }
1181
-
1182
- if ($commandPath -eq 'openclaw models auth order') {
1183
- $completions = @('get','set','clear')
1184
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
1185
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
1186
- }
1187
- }
1188
-
1189
- if ($commandPath -eq 'openclaw models auth order get') {
1190
- $completions = @('--provider','--agent','--json')
1191
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
1192
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
1193
- }
1194
- }
1195
-
1196
- if ($commandPath -eq 'openclaw models auth order set') {
1197
- $completions = @('--provider','--agent')
1198
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
1199
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
1200
- }
1201
- }
1202
-
1203
- if ($commandPath -eq 'openclaw models auth order clear') {
1204
- $completions = @('--provider','--agent')
1205
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
1206
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
1207
- }
1208
- }
1209
-
1210
- if ($commandPath -eq 'openclaw approvals') {
1211
- $completions = @('get','set','allowlist')
1212
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
1213
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
1214
- }
1215
- }
1216
-
1217
- if ($commandPath -eq 'openclaw approvals get') {
1218
- $completions = @('--node','--gateway','--url','--token','--timeout','--json')
1219
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
1220
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
1221
- }
1222
- }
1223
-
1224
- if ($commandPath -eq 'openclaw approvals set') {
1225
- $completions = @('--node','--gateway','--file','--stdin','--url','--token','--timeout','--json')
1226
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
1227
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
1228
- }
1229
- }
1230
-
1231
- if ($commandPath -eq 'openclaw approvals allowlist') {
1232
- $completions = @('add','remove')
1233
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
1234
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
1235
- }
1236
- }
1237
-
1238
- if ($commandPath -eq 'openclaw approvals allowlist add') {
1239
- $completions = @('--node','--gateway','--agent','--url','--token','--timeout','--json')
1240
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
1241
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
1242
- }
1243
- }
1244
-
1245
- if ($commandPath -eq 'openclaw approvals allowlist remove') {
1246
- $completions = @('--node','--gateway','--agent','--url','--token','--timeout','--json')
1247
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
1248
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
1249
- }
1250
- }
1251
-
1252
- if ($commandPath -eq 'openclaw nodes') {
1253
- $completions = @('status','describe','list','pending','approve','reject','rename','invoke','run','notify','canvas','camera','screen','location')
1254
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
1255
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
1256
- }
1257
- }
1258
-
1259
- if ($commandPath -eq 'openclaw nodes status') {
1260
- $completions = @('--connected','--last-connected','--url','--token','--timeout','--json')
1261
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
1262
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
1263
- }
1264
- }
1265
-
1266
- if ($commandPath -eq 'openclaw nodes describe') {
1267
- $completions = @('--node','--url','--token','--timeout','--json')
1268
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
1269
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
1270
- }
1271
- }
1272
-
1273
- if ($commandPath -eq 'openclaw nodes list') {
1274
- $completions = @('--connected','--last-connected','--url','--token','--timeout','--json')
1275
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
1276
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
1277
- }
1278
- }
1279
-
1280
- if ($commandPath -eq 'openclaw nodes pending') {
1281
- $completions = @('--url','--token','--timeout','--json')
1282
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
1283
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
1284
- }
1285
- }
1286
-
1287
- if ($commandPath -eq 'openclaw nodes approve') {
1288
- $completions = @('--url','--token','--timeout','--json')
1289
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
1290
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
1291
- }
1292
- }
1293
-
1294
- if ($commandPath -eq 'openclaw nodes reject') {
1295
- $completions = @('--url','--token','--timeout','--json')
1296
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
1297
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
1298
- }
1299
- }
1300
-
1301
- if ($commandPath -eq 'openclaw nodes rename') {
1302
- $completions = @('--node','--name','--url','--token','--timeout','--json')
1303
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
1304
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
1305
- }
1306
- }
1307
-
1308
- if ($commandPath -eq 'openclaw nodes invoke') {
1309
- $completions = @('--node','--command','--params','--invoke-timeout','--idempotency-key','--url','--token','--timeout','--json')
1310
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
1311
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
1312
- }
1313
- }
1314
-
1315
- if ($commandPath -eq 'openclaw nodes run') {
1316
- $completions = @('--node','--cwd','--env','--raw','--agent','--ask','--security','--command-timeout','--needs-screen-recording','--invoke-timeout','--url','--token','--timeout','--json')
1317
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
1318
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
1319
- }
1320
- }
1321
-
1322
- if ($commandPath -eq 'openclaw nodes notify') {
1323
- $completions = @('--node','--title','--body','--sound','--priority','--delivery','--invoke-timeout','--url','--token','--timeout','--json')
1324
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
1325
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
1326
- }
1327
- }
1328
-
1329
- if ($commandPath -eq 'openclaw nodes canvas') {
1330
- $completions = @('snapshot','present','hide','navigate','eval','a2ui')
1331
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
1332
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
1333
- }
1334
- }
1335
-
1336
- if ($commandPath -eq 'openclaw nodes canvas snapshot') {
1337
- $completions = @('--node','--format','--max-width','--quality','--invoke-timeout','--url','--token','--timeout','--json')
1338
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
1339
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
1340
- }
1341
- }
1342
-
1343
- if ($commandPath -eq 'openclaw nodes canvas present') {
1344
- $completions = @('--node','--target','--x','--y','--width','--height','--invoke-timeout','--url','--token','--timeout','--json')
1345
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
1346
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
1347
- }
1348
- }
1349
-
1350
- if ($commandPath -eq 'openclaw nodes canvas hide') {
1351
- $completions = @('--node','--invoke-timeout','--url','--token','--timeout','--json')
1352
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
1353
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
1354
- }
1355
- }
1356
-
1357
- if ($commandPath -eq 'openclaw nodes canvas navigate') {
1358
- $completions = @('--node','--invoke-timeout','--url','--token','--timeout','--json')
1359
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
1360
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
1361
- }
1362
- }
1363
-
1364
- if ($commandPath -eq 'openclaw nodes canvas eval') {
1365
- $completions = @('--js','--node','--invoke-timeout','--url','--token','--timeout','--json')
1366
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
1367
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
1368
- }
1369
- }
1370
-
1371
- if ($commandPath -eq 'openclaw nodes canvas a2ui') {
1372
- $completions = @('push','reset')
1373
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
1374
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
1375
- }
1376
- }
1377
-
1378
- if ($commandPath -eq 'openclaw nodes canvas a2ui push') {
1379
- $completions = @('--jsonl','--text','--node','--invoke-timeout','--url','--token','--timeout','--json')
1380
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
1381
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
1382
- }
1383
- }
1384
-
1385
- if ($commandPath -eq 'openclaw nodes canvas a2ui reset') {
1386
- $completions = @('--node','--invoke-timeout','--url','--token','--timeout','--json')
1387
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
1388
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
1389
- }
1390
- }
1391
-
1392
- if ($commandPath -eq 'openclaw nodes camera') {
1393
- $completions = @('list','snap','clip')
1394
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
1395
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
1396
- }
1397
- }
1398
-
1399
- if ($commandPath -eq 'openclaw nodes camera list') {
1400
- $completions = @('--node','--url','--token','--timeout','--json')
1401
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
1402
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
1403
- }
1404
- }
1405
-
1406
- if ($commandPath -eq 'openclaw nodes camera snap') {
1407
- $completions = @('--node','--facing','--device-id','--max-width','--quality','--delay-ms','--invoke-timeout','--url','--token','--timeout','--json')
1408
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
1409
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
1410
- }
1411
- }
1412
-
1413
- if ($commandPath -eq 'openclaw nodes camera clip') {
1414
- $completions = @('--node','--facing','--device-id','--duration','--no-audio','--invoke-timeout','--url','--token','--timeout','--json')
1415
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
1416
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
1417
- }
1418
- }
1419
-
1420
- if ($commandPath -eq 'openclaw nodes screen') {
1421
- $completions = @('record')
1422
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
1423
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
1424
- }
1425
- }
1426
-
1427
- if ($commandPath -eq 'openclaw nodes screen record') {
1428
- $completions = @('--node','--screen','--duration','--fps','--no-audio','--out','--invoke-timeout','--url','--token','--timeout','--json')
1429
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
1430
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
1431
- }
1432
- }
1433
-
1434
- if ($commandPath -eq 'openclaw nodes location') {
1435
- $completions = @('get')
1436
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
1437
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
1438
- }
1439
- }
1440
-
1441
- if ($commandPath -eq 'openclaw nodes location get') {
1442
- $completions = @('--node','--max-age','--accuracy','--location-timeout','--invoke-timeout','--url','--token','--timeout','--json')
1443
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
1444
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
1445
- }
1446
- }
1447
-
1448
- if ($commandPath -eq 'openclaw devices') {
1449
- $completions = @('list','approve','reject','rotate','revoke')
1450
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
1451
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
1452
- }
1453
- }
1454
-
1455
- if ($commandPath -eq 'openclaw devices list') {
1456
- $completions = @('--url','--token','--password','--timeout','--json')
1457
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
1458
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
1459
- }
1460
- }
1461
-
1462
- if ($commandPath -eq 'openclaw devices approve') {
1463
- $completions = @('--url','--token','--password','--timeout','--json')
1464
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
1465
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
1466
- }
1467
- }
1468
-
1469
- if ($commandPath -eq 'openclaw devices reject') {
1470
- $completions = @('--url','--token','--password','--timeout','--json')
1471
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
1472
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
1473
- }
1474
- }
1475
-
1476
- if ($commandPath -eq 'openclaw devices rotate') {
1477
- $completions = @('--device','--role','--scope','--url','--token','--password','--timeout','--json')
1478
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
1479
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
1480
- }
1481
- }
1482
-
1483
- if ($commandPath -eq 'openclaw devices revoke') {
1484
- $completions = @('--device','--role','--url','--token','--password','--timeout','--json')
1485
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
1486
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
1487
- }
1488
- }
1489
-
1490
- if ($commandPath -eq 'openclaw node') {
1491
- $completions = @('run','status','install','uninstall','stop','restart')
1492
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
1493
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
1494
- }
1495
- }
1496
-
1497
- if ($commandPath -eq 'openclaw node run') {
1498
- $completions = @('--host','--port','--tls','--tls-fingerprint','--node-id','--display-name')
1499
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
1500
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
1501
- }
1502
- }
1503
-
1504
- if ($commandPath -eq 'openclaw node status') {
1505
- $completions = @('--json')
1506
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
1507
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
1508
- }
1509
- }
1510
-
1511
- if ($commandPath -eq 'openclaw node install') {
1512
- $completions = @('--host','--port','--tls','--tls-fingerprint','--node-id','--display-name','--runtime','--force','--json')
1513
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
1514
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
1515
- }
1516
- }
1517
-
1518
- if ($commandPath -eq 'openclaw node uninstall') {
1519
- $completions = @('--json')
1520
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
1521
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
1522
- }
1523
- }
1524
-
1525
- if ($commandPath -eq 'openclaw node stop') {
1526
- $completions = @('--json')
1527
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
1528
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
1529
- }
1530
- }
1531
-
1532
- if ($commandPath -eq 'openclaw node restart') {
1533
- $completions = @('--json')
1534
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
1535
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
1536
- }
1537
- }
1538
-
1539
- if ($commandPath -eq 'openclaw sandbox') {
1540
- $completions = @('list','recreate','explain')
1541
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
1542
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
1543
- }
1544
- }
1545
-
1546
- if ($commandPath -eq 'openclaw sandbox list') {
1547
- $completions = @('--json','--browser')
1548
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
1549
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
1550
- }
1551
- }
1552
-
1553
- if ($commandPath -eq 'openclaw sandbox recreate') {
1554
- $completions = @('--all','--session','--agent','--browser','--force')
1555
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
1556
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
1557
- }
1558
- }
1559
-
1560
- if ($commandPath -eq 'openclaw sandbox explain') {
1561
- $completions = @('--session','--agent','--json')
1562
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
1563
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
1564
- }
1565
- }
1566
-
1567
- if ($commandPath -eq 'openclaw tui') {
1568
- $completions = @('--url','--token','--password','--session','--deliver','--thinking','--message','--timeout-ms','--history-limit')
1569
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
1570
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
1571
- }
1572
- }
1573
-
1574
- if ($commandPath -eq 'openclaw cron') {
1575
- $completions = @('status','list','add','rm','enable','disable','runs','run','edit')
1576
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
1577
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
1578
- }
1579
- }
1580
-
1581
- if ($commandPath -eq 'openclaw cron status') {
1582
- $completions = @('--json','--url','--token','--timeout','--expect-final')
1583
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
1584
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
1585
- }
1586
- }
1587
-
1588
- if ($commandPath -eq 'openclaw cron list') {
1589
- $completions = @('--all','--json','--url','--token','--timeout','--expect-final')
1590
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
1591
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
1592
- }
1593
- }
1594
-
1595
- if ($commandPath -eq 'openclaw cron add') {
1596
- $completions = @('--name','--description','--disabled','--delete-after-run','--keep-after-run','--agent','--session','--wake','--at','--every','--cron','--tz','--system-event','--message','--thinking','--model','--timeout-seconds','--announce','--deliver','--no-deliver','--channel','--to','--best-effort-deliver','--json','--url','--token','--timeout','--expect-final')
1597
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
1598
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
1599
- }
1600
- }
1601
-
1602
- if ($commandPath -eq 'openclaw cron rm') {
1603
- $completions = @('--json','--url','--token','--timeout','--expect-final')
1604
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
1605
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
1606
- }
1607
- }
1608
-
1609
- if ($commandPath -eq 'openclaw cron enable') {
1610
- $completions = @('--url','--token','--timeout','--expect-final')
1611
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
1612
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
1613
- }
1614
- }
1615
-
1616
- if ($commandPath -eq 'openclaw cron disable') {
1617
- $completions = @('--url','--token','--timeout','--expect-final')
1618
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
1619
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
1620
- }
1621
- }
1622
-
1623
- if ($commandPath -eq 'openclaw cron runs') {
1624
- $completions = @('--id','--limit','--url','--token','--timeout','--expect-final')
1625
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
1626
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
1627
- }
1628
- }
1629
-
1630
- if ($commandPath -eq 'openclaw cron run') {
1631
- $completions = @('--due','--url','--token','--timeout','--expect-final')
1632
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
1633
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
1634
- }
1635
- }
1636
-
1637
- if ($commandPath -eq 'openclaw cron edit') {
1638
- $completions = @('--name','--description','--enable','--disable','--delete-after-run','--keep-after-run','--session','--agent','--clear-agent','--wake','--at','--every','--cron','--tz','--system-event','--message','--thinking','--model','--timeout-seconds','--announce','--deliver','--no-deliver','--channel','--to','--best-effort-deliver','--no-best-effort-deliver','--url','--token','--timeout','--expect-final')
1639
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
1640
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
1641
- }
1642
- }
1643
-
1644
- if ($commandPath -eq 'openclaw dns') {
1645
- $completions = @('setup')
1646
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
1647
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
1648
- }
1649
- }
1650
-
1651
- if ($commandPath -eq 'openclaw dns setup') {
1652
- $completions = @('--domain','--apply')
1653
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
1654
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
1655
- }
1656
- }
1657
-
1658
- if ($commandPath -eq 'openclaw hooks') {
1659
- $completions = @('list','info','check','enable','disable','install','update')
1660
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
1661
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
1662
- }
1663
- }
1664
-
1665
- if ($commandPath -eq 'openclaw hooks list') {
1666
- $completions = @('--eligible','--json','-v')
1667
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
1668
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
1669
- }
1670
- }
1671
-
1672
- if ($commandPath -eq 'openclaw hooks info') {
1673
- $completions = @('--json')
1674
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
1675
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
1676
- }
1677
- }
1678
-
1679
- if ($commandPath -eq 'openclaw hooks check') {
1680
- $completions = @('--json')
1681
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
1682
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
1683
- }
1684
- }
1685
-
1686
- if ($commandPath -eq 'openclaw hooks install') {
1687
- $completions = @('-l')
1688
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
1689
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
1690
- }
1691
- }
1692
-
1693
- if ($commandPath -eq 'openclaw hooks update') {
1694
- $completions = @('--all','--dry-run')
1695
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
1696
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
1697
- }
1698
- }
1699
-
1700
- if ($commandPath -eq 'openclaw webhooks') {
1701
- $completions = @('gmail')
1702
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
1703
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
1704
- }
1705
- }
1706
-
1707
- if ($commandPath -eq 'openclaw webhooks gmail') {
1708
- $completions = @('setup','run')
1709
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
1710
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
1711
- }
1712
- }
1713
-
1714
- if ($commandPath -eq 'openclaw webhooks gmail setup') {
1715
- $completions = @('--account','--project','--topic','--subscription','--label','--hook-url','--hook-token','--push-token','--bind','--port','--path','--include-body','--max-bytes','--renew-minutes','--tailscale','--tailscale-path','--tailscale-target','--push-endpoint','--json')
1716
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
1717
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
1718
- }
1719
- }
1720
-
1721
- if ($commandPath -eq 'openclaw webhooks gmail run') {
1722
- $completions = @('--account','--topic','--subscription','--label','--hook-url','--hook-token','--push-token','--bind','--port','--path','--include-body','--max-bytes','--renew-minutes','--tailscale','--tailscale-path','--tailscale-target')
1723
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
1724
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
1725
- }
1726
- }
1727
-
1728
- if ($commandPath -eq 'openclaw pairing') {
1729
- $completions = @('list','approve')
1730
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
1731
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
1732
- }
1733
- }
1734
-
1735
- if ($commandPath -eq 'openclaw pairing list') {
1736
- $completions = @('--channel','--json')
1737
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
1738
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
1739
- }
1740
- }
1741
-
1742
- if ($commandPath -eq 'openclaw pairing approve') {
1743
- $completions = @('--channel','--notify')
1744
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
1745
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
1746
- }
1747
- }
1748
-
1749
- if ($commandPath -eq 'openclaw plugins') {
1750
- $completions = @('list','info','enable','disable','install','update','doctor')
1751
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
1752
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
1753
- }
1754
- }
1755
-
1756
- if ($commandPath -eq 'openclaw plugins list') {
1757
- $completions = @('--json','--enabled','--verbose')
1758
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
1759
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
1760
- }
1761
- }
1762
-
1763
- if ($commandPath -eq 'openclaw plugins info') {
1764
- $completions = @('--json')
1765
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
1766
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
1767
- }
1768
- }
1769
-
1770
- if ($commandPath -eq 'openclaw plugins install') {
1771
- $completions = @('-l')
1772
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
1773
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
1774
- }
1775
- }
1776
-
1777
- if ($commandPath -eq 'openclaw plugins update') {
1778
- $completions = @('--all','--dry-run')
1779
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
1780
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
1781
- }
1782
- }
1783
-
1784
- if ($commandPath -eq 'openclaw channels') {
1785
- $completions = @('list','status','capabilities','resolve','logs','add','remove','login','logout')
1786
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
1787
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
1788
- }
1789
- }
1790
-
1791
- if ($commandPath -eq 'openclaw channels list') {
1792
- $completions = @('--no-usage','--json')
1793
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
1794
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
1795
- }
1796
- }
1797
-
1798
- if ($commandPath -eq 'openclaw channels status') {
1799
- $completions = @('--probe','--timeout','--json')
1800
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
1801
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
1802
- }
1803
- }
1804
-
1805
- if ($commandPath -eq 'openclaw channels capabilities') {
1806
- $completions = @('--channel','--account','--target','--timeout','--json')
1807
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
1808
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
1809
- }
1810
- }
1811
-
1812
- if ($commandPath -eq 'openclaw channels resolve') {
1813
- $completions = @('--channel','--account','--kind','--json')
1814
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
1815
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
1816
- }
1817
- }
1818
-
1819
- if ($commandPath -eq 'openclaw channels logs') {
1820
- $completions = @('--channel','--lines','--json')
1821
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
1822
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
1823
- }
1824
- }
1825
-
1826
- if ($commandPath -eq 'openclaw channels add') {
1827
- $completions = @('--channel','--account','--name','--token','--token-file','--bot-token','--app-token','--signal-number','--cli-path','--db-path','--service','--region','--auth-dir','--http-url','--http-host','--http-port','--webhook-path','--webhook-url','--audience-type','--audience','--homeserver','--user-id','--access-token','--password','--device-name','--initial-sync-limit','--ship','--url','--code','--group-channels','--dm-allowlist','--auto-discover-channels','--no-auto-discover-channels','--use-env')
1828
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
1829
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
1830
- }
1831
- }
1832
-
1833
- if ($commandPath -eq 'openclaw channels remove') {
1834
- $completions = @('--channel','--account','--delete')
1835
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
1836
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
1837
- }
1838
- }
1839
-
1840
- if ($commandPath -eq 'openclaw channels login') {
1841
- $completions = @('--channel','--account','--verbose')
1842
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
1843
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
1844
- }
1845
- }
1846
-
1847
- if ($commandPath -eq 'openclaw channels logout') {
1848
- $completions = @('--channel','--account')
1849
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
1850
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
1851
- }
1852
- }
1853
-
1854
- if ($commandPath -eq 'openclaw directory') {
1855
- $completions = @('self','peers','groups')
1856
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
1857
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
1858
- }
1859
- }
1860
-
1861
- if ($commandPath -eq 'openclaw directory self') {
1862
- $completions = @('--channel','--account','--json')
1863
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
1864
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
1865
- }
1866
- }
1867
-
1868
- if ($commandPath -eq 'openclaw directory peers') {
1869
- $completions = @('list')
1870
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
1871
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
1872
- }
1873
- }
1874
-
1875
- if ($commandPath -eq 'openclaw directory peers list') {
1876
- $completions = @('--channel','--account','--json','--query','--limit')
1877
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
1878
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
1879
- }
1880
- }
1881
-
1882
- if ($commandPath -eq 'openclaw directory groups') {
1883
- $completions = @('list','members')
1884
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
1885
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
1886
- }
1887
- }
1888
-
1889
- if ($commandPath -eq 'openclaw directory groups list') {
1890
- $completions = @('--channel','--account','--json','--query','--limit')
1891
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
1892
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
1893
- }
1894
- }
1895
-
1896
- if ($commandPath -eq 'openclaw directory groups members') {
1897
- $completions = @('--group-id','--channel','--account','--json','--limit')
1898
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
1899
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
1900
- }
1901
- }
1902
-
1903
- if ($commandPath -eq 'openclaw security') {
1904
- $completions = @('audit')
1905
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
1906
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
1907
- }
1908
- }
1909
-
1910
- if ($commandPath -eq 'openclaw security audit') {
1911
- $completions = @('--deep','--fix','--json')
1912
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
1913
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
1914
- }
1915
- }
1916
-
1917
- if ($commandPath -eq 'openclaw skills') {
1918
- $completions = @('list','info','check')
1919
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
1920
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
1921
- }
1922
- }
1923
-
1924
- if ($commandPath -eq 'openclaw skills list') {
1925
- $completions = @('--json','--eligible','-v')
1926
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
1927
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
1928
- }
1929
- }
1930
-
1931
- if ($commandPath -eq 'openclaw skills info') {
1932
- $completions = @('--json')
1933
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
1934
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
1935
- }
1936
- }
1937
-
1938
- if ($commandPath -eq 'openclaw skills check') {
1939
- $completions = @('--json')
1940
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
1941
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
1942
- }
1943
- }
1944
-
1945
- if ($commandPath -eq 'openclaw update') {
1946
- $completions = @('wizard','status','--json','--no-restart','--channel','--tag','--timeout','--yes')
1947
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
1948
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
1949
- }
1950
- }
1951
-
1952
- if ($commandPath -eq 'openclaw update wizard') {
1953
- $completions = @('--timeout')
1954
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
1955
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
1956
- }
1957
- }
1958
-
1959
- if ($commandPath -eq 'openclaw update status') {
1960
- $completions = @('--json','--timeout')
1961
- $completions | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {
1962
- [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterName', $_)
1963
- }
1964
- }
1965
-
1966
- }