@rudderhq/agent-runtime-utils 0.7.24-canary.4 → 0.7.24-canary.41

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (83) hide show
  1. package/dist/contract-shards/rudder-agent-contract-capabilities-000.d.ts +1074 -0
  2. package/dist/contract-shards/rudder-agent-contract-capabilities-000.d.ts.map +1 -0
  3. package/dist/contract-shards/rudder-agent-contract-capabilities-000.js +1195 -0
  4. package/dist/contract-shards/rudder-agent-contract-capabilities-000.js.map +1 -0
  5. package/dist/contract-shards/rudder-agent-contract-capabilities-001.d.ts +1088 -0
  6. package/dist/contract-shards/rudder-agent-contract-capabilities-001.d.ts.map +1 -0
  7. package/dist/contract-shards/rudder-agent-contract-capabilities-001.js +1172 -0
  8. package/dist/contract-shards/rudder-agent-contract-capabilities-001.js.map +1 -0
  9. package/dist/contract-shards/rudder-agent-contract-capabilities-002.d.ts +1108 -0
  10. package/dist/contract-shards/rudder-agent-contract-capabilities-002.d.ts.map +1 -0
  11. package/dist/contract-shards/rudder-agent-contract-capabilities-002.js +1187 -0
  12. package/dist/contract-shards/rudder-agent-contract-capabilities-002.js.map +1 -0
  13. package/dist/contract-shards/rudder-agent-contract-capabilities-003.d.ts +942 -0
  14. package/dist/contract-shards/rudder-agent-contract-capabilities-003.d.ts.map +1 -0
  15. package/dist/contract-shards/rudder-agent-contract-capabilities-003.js +1155 -0
  16. package/dist/contract-shards/rudder-agent-contract-capabilities-003.js.map +1 -0
  17. package/dist/contract-shards/rudder-agent-contract-capabilities-004.d.ts +733 -0
  18. package/dist/contract-shards/rudder-agent-contract-capabilities-004.d.ts.map +1 -0
  19. package/dist/contract-shards/rudder-agent-contract-capabilities-004.js +897 -0
  20. package/dist/contract-shards/rudder-agent-contract-capabilities-004.js.map +1 -0
  21. package/dist/contract-shards/rudder-agent-contract-capabilities-005.d.ts +1025 -0
  22. package/dist/contract-shards/rudder-agent-contract-capabilities-005.d.ts.map +1 -0
  23. package/dist/contract-shards/rudder-agent-contract-capabilities-005.js +1189 -0
  24. package/dist/contract-shards/rudder-agent-contract-capabilities-005.js.map +1 -0
  25. package/dist/contract-shards/rudder-agent-contract-capabilities-006.d.ts +1094 -0
  26. package/dist/contract-shards/rudder-agent-contract-capabilities-006.d.ts.map +1 -0
  27. package/dist/contract-shards/rudder-agent-contract-capabilities-006.js +1156 -0
  28. package/dist/contract-shards/rudder-agent-contract-capabilities-006.js.map +1 -0
  29. package/dist/contract-shards/rudder-agent-contract-capabilities-007.d.ts +344 -0
  30. package/dist/contract-shards/rudder-agent-contract-capabilities-007.d.ts.map +1 -0
  31. package/dist/contract-shards/rudder-agent-contract-capabilities-007.js +365 -0
  32. package/dist/contract-shards/rudder-agent-contract-capabilities-007.js.map +1 -0
  33. package/dist/contract-shards/rudder-mcp-tool-descriptors-000.d.ts +1084 -0
  34. package/dist/contract-shards/rudder-mcp-tool-descriptors-000.d.ts.map +1 -0
  35. package/dist/contract-shards/rudder-mcp-tool-descriptors-000.js +1190 -0
  36. package/dist/contract-shards/rudder-mcp-tool-descriptors-000.js.map +1 -0
  37. package/dist/contract-shards/rudder-mcp-tool-descriptors-001.d.ts +988 -0
  38. package/dist/contract-shards/rudder-mcp-tool-descriptors-001.d.ts.map +1 -0
  39. package/dist/contract-shards/rudder-mcp-tool-descriptors-001.js +1187 -0
  40. package/dist/contract-shards/rudder-mcp-tool-descriptors-001.js.map +1 -0
  41. package/dist/contract-shards/rudder-mcp-tool-descriptors-002.d.ts +934 -0
  42. package/dist/contract-shards/rudder-mcp-tool-descriptors-002.d.ts.map +1 -0
  43. package/dist/contract-shards/rudder-mcp-tool-descriptors-002.js +1161 -0
  44. package/dist/contract-shards/rudder-mcp-tool-descriptors-002.js.map +1 -0
  45. package/dist/contract-shards/rudder-mcp-tool-descriptors-003.d.ts +1014 -0
  46. package/dist/contract-shards/rudder-mcp-tool-descriptors-003.d.ts.map +1 -0
  47. package/dist/contract-shards/rudder-mcp-tool-descriptors-003.js +1187 -0
  48. package/dist/contract-shards/rudder-mcp-tool-descriptors-003.js.map +1 -0
  49. package/dist/contract-shards/rudder-mcp-tool-descriptors-004.d.ts +987 -0
  50. package/dist/contract-shards/rudder-mcp-tool-descriptors-004.d.ts.map +1 -0
  51. package/dist/contract-shards/rudder-mcp-tool-descriptors-004.js +1059 -0
  52. package/dist/contract-shards/rudder-mcp-tool-descriptors-004.js.map +1 -0
  53. package/dist/gemini-cli-history.d.ts +4 -0
  54. package/dist/gemini-cli-history.d.ts.map +1 -0
  55. package/dist/gemini-cli-history.js +228 -0
  56. package/dist/gemini-cli-history.js.map +1 -0
  57. package/dist/native-process-runner.d.ts +2 -0
  58. package/dist/native-process-runner.d.ts.map +1 -1
  59. package/dist/native-process-runner.js +99 -22
  60. package/dist/native-process-runner.js.map +1 -1
  61. package/dist/native-process-runner.test.js +356 -16
  62. package/dist/native-process-runner.test.js.map +1 -1
  63. package/dist/rudder-agent-contract.generated.d.ts +72 -3
  64. package/dist/rudder-agent-contract.generated.d.ts.map +1 -1
  65. package/dist/rudder-agent-contract.generated.js +94 -8277
  66. package/dist/rudder-agent-contract.generated.js.map +1 -1
  67. package/dist/rudder-agent-contract.test.js +46 -4
  68. package/dist/rudder-agent-contract.test.js.map +1 -1
  69. package/dist/rudder-mcp-contract.d.ts +53 -1
  70. package/dist/rudder-mcp-contract.d.ts.map +1 -1
  71. package/dist/rudder-mcp-preflight.d.ts.map +1 -1
  72. package/dist/rudder-mcp-preflight.js +11 -0
  73. package/dist/rudder-mcp-preflight.js.map +1 -1
  74. package/dist/rudder-mcp-preflight.test.js +13 -0
  75. package/dist/rudder-mcp-preflight.test.js.map +1 -1
  76. package/dist/rudder-mcp-tool-descriptors.generated.d.ts +54 -2
  77. package/dist/rudder-mcp-tool-descriptors.generated.d.ts.map +1 -1
  78. package/dist/rudder-mcp-tool-descriptors.generated.js +74 -5760
  79. package/dist/rudder-mcp-tool-descriptors.generated.js.map +1 -1
  80. package/dist/session-compaction.d.ts.map +1 -1
  81. package/dist/session-compaction.js +0 -6
  82. package/dist/session-compaction.js.map +1 -1
  83. package/package.json +2 -2
@@ -0,0 +1,1161 @@
1
+ // Generated by scripts/generate-rudder-mcp-tool-descriptors.ts. Do not edit by hand.
2
+ export const GENERATED_RUDDER_MCP_TOOL_DESCRIPTORS_002 = [
3
+ {
4
+ "capabilityId": "browser.cua",
5
+ "name": "rudder_browser_cua",
6
+ "description": "Perform trusted coordinate mouse, scroll, drag, keyboard, and text input in a run-owned Browser tab.",
7
+ "semanticDescription": "Perform trusted coordinate mouse, scroll, drag, keyboard, and text input in a run-owned Browser tab. Mutating: yes. Runtime identity and authorization are injected by the Rudder-managed MCP server and are not accepted as tool input. Org context: required from runtime env. Agent context: required from runtime env. Run attribution: attached from runtime env when available.",
8
+ "annotations": {
9
+ "destructiveHint": false,
10
+ "idempotentHint": false,
11
+ "readOnlyHint": false,
12
+ "title": "Perform trusted coordinate mouse, scroll, drag, keyboard, and text input in a run-owned Browser tab"
13
+ },
14
+ "mutating": true,
15
+ "requiresOrgId": true,
16
+ "requiresAgentId": true,
17
+ "attachesRunIdWhenAvailable": true,
18
+ "inputSchema": {
19
+ "additionalProperties": false,
20
+ "properties": {
21
+ "action": {
22
+ "description": "Coordinate input or inspection action.",
23
+ "enum": [
24
+ "click",
25
+ "doubleClick",
26
+ "move",
27
+ "scroll",
28
+ "drag",
29
+ "keypress",
30
+ "type",
31
+ "elementInfo"
32
+ ],
33
+ "type": "string"
34
+ },
35
+ "button": {
36
+ "oneOf": [
37
+ {
38
+ "description": "Mouse button number.",
39
+ "maximum": 5,
40
+ "minimum": 1,
41
+ "type": "number"
42
+ },
43
+ {
44
+ "description": "Mouse button.",
45
+ "enum": [
46
+ "left",
47
+ "middle",
48
+ "right"
49
+ ],
50
+ "type": "string"
51
+ }
52
+ ]
53
+ },
54
+ "keys": {
55
+ "items": {
56
+ "description": "Keyboard key or modifier.",
57
+ "maxLength": 100,
58
+ "minLength": 1,
59
+ "type": "string"
60
+ },
61
+ "maxItems": 10,
62
+ "type": "array"
63
+ },
64
+ "path": {
65
+ "items": {
66
+ "additionalProperties": false,
67
+ "properties": {
68
+ "x": {
69
+ "description": "Path X coordinate.",
70
+ "type": "number"
71
+ },
72
+ "y": {
73
+ "description": "Path Y coordinate.",
74
+ "type": "number"
75
+ }
76
+ },
77
+ "required": [
78
+ "x",
79
+ "y"
80
+ ],
81
+ "type": "object"
82
+ },
83
+ "maxItems": 200,
84
+ "minItems": 2,
85
+ "type": "array"
86
+ },
87
+ "scrollX": {
88
+ "description": "Horizontal scroll delta.",
89
+ "type": "number"
90
+ },
91
+ "scrollY": {
92
+ "description": "Vertical scroll delta.",
93
+ "type": "number"
94
+ },
95
+ "tabId": {
96
+ "description": "Run-owned Rudder Browser tab id.",
97
+ "maxLength": 160,
98
+ "minLength": 1,
99
+ "type": "string"
100
+ },
101
+ "text": {
102
+ "description": "Text to type.",
103
+ "maxLength": 100000,
104
+ "type": "string"
105
+ },
106
+ "x": {
107
+ "description": "Viewport X coordinate.",
108
+ "type": "number"
109
+ },
110
+ "y": {
111
+ "description": "Viewport Y coordinate.",
112
+ "type": "number"
113
+ }
114
+ },
115
+ "required": [
116
+ "tabId",
117
+ "action"
118
+ ],
119
+ "type": "object"
120
+ }
121
+ },
122
+ {
123
+ "capabilityId": "browser.dom-cua",
124
+ "name": "rudder_browser_dom_cua",
125
+ "description": "Inspect a bounded read-only DOM snapshot with ephemeral node ids.",
126
+ "semanticDescription": "Inspect a bounded read-only DOM snapshot with ephemeral node ids. Mutating: no. Runtime identity and authorization are injected by the Rudder-managed MCP server and are not accepted as tool input. Org context: required from runtime env. Agent context: required from runtime env. Run attribution: attached from runtime env when available.",
127
+ "annotations": {
128
+ "destructiveHint": false,
129
+ "idempotentHint": true,
130
+ "readOnlyHint": true,
131
+ "title": "Inspect a bounded read-only DOM snapshot with ephemeral node ids"
132
+ },
133
+ "mutating": false,
134
+ "requiresOrgId": true,
135
+ "requiresAgentId": true,
136
+ "attachesRunIdWhenAvailable": true,
137
+ "inputSchema": {
138
+ "additionalProperties": false,
139
+ "properties": {
140
+ "action": {
141
+ "description": "Read-only DOM snapshot action.",
142
+ "enum": [
143
+ "get"
144
+ ],
145
+ "type": "string"
146
+ },
147
+ "depth": {
148
+ "description": "Maximum DOM depth.",
149
+ "maximum": 30,
150
+ "minimum": 1,
151
+ "type": "number"
152
+ },
153
+ "maxNodes": {
154
+ "description": "Maximum DOM nodes.",
155
+ "maximum": 3000,
156
+ "minimum": 1,
157
+ "type": "number"
158
+ },
159
+ "tabId": {
160
+ "description": "Run-owned Rudder Browser tab id.",
161
+ "maxLength": 160,
162
+ "minLength": 1,
163
+ "type": "string"
164
+ }
165
+ },
166
+ "required": [
167
+ "tabId",
168
+ "action"
169
+ ],
170
+ "type": "object"
171
+ }
172
+ },
173
+ {
174
+ "capabilityId": "browser.dialog",
175
+ "name": "rudder_browser_dialog",
176
+ "description": "Inspect, accept, or dismiss the active JavaScript dialog in a run-owned Browser tab.",
177
+ "semanticDescription": "Inspect, accept, or dismiss the active JavaScript dialog in a run-owned Browser tab. Mutating: yes. Runtime identity and authorization are injected by the Rudder-managed MCP server and are not accepted as tool input. Org context: required from runtime env. Agent context: required from runtime env. Run attribution: attached from runtime env when available.",
178
+ "annotations": {
179
+ "destructiveHint": false,
180
+ "idempotentHint": false,
181
+ "readOnlyHint": false,
182
+ "title": "Inspect, accept, or dismiss the active JavaScript dialog in a run-owned Browser tab"
183
+ },
184
+ "mutating": true,
185
+ "requiresOrgId": true,
186
+ "requiresAgentId": true,
187
+ "attachesRunIdWhenAvailable": true,
188
+ "inputSchema": {
189
+ "additionalProperties": false,
190
+ "properties": {
191
+ "action": {
192
+ "description": "Dialog action.",
193
+ "enum": [
194
+ "get",
195
+ "accept",
196
+ "dismiss"
197
+ ],
198
+ "type": "string"
199
+ },
200
+ "promptText": {
201
+ "description": "Prompt response text.",
202
+ "maxLength": 10000,
203
+ "type": "string"
204
+ },
205
+ "tabId": {
206
+ "description": "Run-owned Rudder Browser tab id.",
207
+ "maxLength": 160,
208
+ "minLength": 1,
209
+ "type": "string"
210
+ }
211
+ },
212
+ "required": [
213
+ "tabId",
214
+ "action"
215
+ ],
216
+ "type": "object"
217
+ }
218
+ },
219
+ {
220
+ "capabilityId": "browser.clipboard",
221
+ "name": "rudder_browser_clipboard",
222
+ "description": "Read or write the isolated virtual clipboard for the current Browser run without touching the OS clipboard.",
223
+ "semanticDescription": "Read or write the isolated virtual clipboard for the current Browser run without touching the OS clipboard. Mutating: yes. Runtime identity and authorization are injected by the Rudder-managed MCP server and are not accepted as tool input. Org context: required from runtime env. Agent context: required from runtime env. Run attribution: attached from runtime env when available.",
224
+ "annotations": {
225
+ "destructiveHint": true,
226
+ "idempotentHint": false,
227
+ "readOnlyHint": false,
228
+ "title": "Read or write the isolated virtual clipboard for the current Browser run without touching the OS clipboard"
229
+ },
230
+ "mutating": true,
231
+ "requiresOrgId": true,
232
+ "requiresAgentId": true,
233
+ "attachesRunIdWhenAvailable": true,
234
+ "inputSchema": {
235
+ "additionalProperties": false,
236
+ "properties": {
237
+ "action": {
238
+ "description": "Virtual clipboard action.",
239
+ "enum": [
240
+ "read",
241
+ "readText",
242
+ "write",
243
+ "writeText",
244
+ "clear"
245
+ ],
246
+ "type": "string"
247
+ },
248
+ "items": {
249
+ "items": {
250
+ "additionalProperties": false,
251
+ "properties": {
252
+ "entries": {
253
+ "items": {
254
+ "additionalProperties": false,
255
+ "properties": {
256
+ "base64": {
257
+ "description": "Base64 clipboard payload.",
258
+ "maxLength": 650000,
259
+ "type": "string"
260
+ },
261
+ "mimeType": {
262
+ "description": "Clipboard MIME type.",
263
+ "maxLength": 200,
264
+ "minLength": 1,
265
+ "type": "string"
266
+ },
267
+ "text": {
268
+ "description": "Text clipboard payload.",
269
+ "maxLength": 500000,
270
+ "type": "string"
271
+ }
272
+ },
273
+ "required": [
274
+ "mimeType"
275
+ ],
276
+ "type": "object"
277
+ },
278
+ "maxItems": 20,
279
+ "type": "array"
280
+ },
281
+ "presentationStyle": {
282
+ "description": "Clipboard presentation style.",
283
+ "enum": [
284
+ "unspecified",
285
+ "inline",
286
+ "attachment"
287
+ ],
288
+ "type": "string"
289
+ }
290
+ },
291
+ "required": [
292
+ "entries"
293
+ ],
294
+ "type": "object"
295
+ },
296
+ "maxItems": 20,
297
+ "type": "array"
298
+ },
299
+ "text": {
300
+ "description": "Plain clipboard text.",
301
+ "maxLength": 500000,
302
+ "type": "string"
303
+ }
304
+ },
305
+ "required": [
306
+ "action"
307
+ ],
308
+ "type": "object"
309
+ }
310
+ },
311
+ {
312
+ "capabilityId": "browser.logs",
313
+ "name": "rudder_browser_logs",
314
+ "description": "Read bounded console and runtime logs captured for a run-owned Browser tab.",
315
+ "semanticDescription": "Read bounded console and runtime logs captured for a run-owned Browser tab. Mutating: yes. Runtime identity and authorization are injected by the Rudder-managed MCP server and are not accepted as tool input. Org context: required from runtime env. Agent context: required from runtime env. Run attribution: attached from runtime env when available.",
316
+ "annotations": {
317
+ "destructiveHint": true,
318
+ "idempotentHint": false,
319
+ "readOnlyHint": false,
320
+ "title": "Read bounded console and runtime logs captured for a run-owned Browser tab"
321
+ },
322
+ "mutating": true,
323
+ "requiresOrgId": true,
324
+ "requiresAgentId": true,
325
+ "attachesRunIdWhenAvailable": true,
326
+ "inputSchema": {
327
+ "additionalProperties": false,
328
+ "properties": {
329
+ "clear": {
330
+ "description": "Clear the tab log buffer after reading.",
331
+ "type": "boolean"
332
+ },
333
+ "filter": {
334
+ "description": "Case-insensitive log substring filter.",
335
+ "maxLength": 2000,
336
+ "type": "string"
337
+ },
338
+ "levels": {
339
+ "items": {
340
+ "description": "Log level.",
341
+ "enum": [
342
+ "debug",
343
+ "info",
344
+ "log",
345
+ "warn",
346
+ "error"
347
+ ],
348
+ "type": "string"
349
+ },
350
+ "maxItems": 5,
351
+ "type": "array"
352
+ },
353
+ "limit": {
354
+ "description": "Maximum log entries.",
355
+ "maximum": 500,
356
+ "minimum": 1,
357
+ "type": "number"
358
+ },
359
+ "tabId": {
360
+ "description": "Run-owned Rudder Browser tab id.",
361
+ "maxLength": 160,
362
+ "minLength": 1,
363
+ "type": "string"
364
+ }
365
+ },
366
+ "required": [
367
+ "tabId"
368
+ ],
369
+ "type": "object"
370
+ }
371
+ },
372
+ {
373
+ "capabilityId": "browser.download",
374
+ "name": "rudder_browser_download",
375
+ "description": "Download explicit locator media without dispatching page input into a bounded run-owned artifact.",
376
+ "semanticDescription": "Download explicit locator media without dispatching page input into a bounded run-owned artifact. Mutating: yes. Runtime identity and authorization are injected by the Rudder-managed MCP server and are not accepted as tool input. Org context: required from runtime env. Agent context: required from runtime env. Run attribution: attached from runtime env when available.",
377
+ "annotations": {
378
+ "destructiveHint": false,
379
+ "idempotentHint": false,
380
+ "openWorldHint": true,
381
+ "readOnlyHint": false,
382
+ "title": "Download explicit locator media without dispatching page input into a bounded run-owned artifact"
383
+ },
384
+ "mutating": true,
385
+ "requiresOrgId": true,
386
+ "requiresAgentId": true,
387
+ "attachesRunIdWhenAvailable": true,
388
+ "inputSchema": {
389
+ "additionalProperties": false,
390
+ "properties": {
391
+ "locator": {
392
+ "additionalProperties": false,
393
+ "properties": {
394
+ "and": {
395
+ "additionalProperties": false,
396
+ "properties": {
397
+ "exact": {
398
+ "description": "Require an exact text or attribute match.",
399
+ "type": "boolean"
400
+ },
401
+ "name": {
402
+ "description": "Accessible name used with the role strategy.",
403
+ "maxLength": 2000,
404
+ "type": "string"
405
+ },
406
+ "strategy": {
407
+ "description": "Locator strategy.",
408
+ "enum": [
409
+ "css",
410
+ "testId",
411
+ "href",
412
+ "role",
413
+ "label",
414
+ "placeholder",
415
+ "text"
416
+ ],
417
+ "type": "string"
418
+ },
419
+ "value": {
420
+ "description": "Selector, role, label, placeholder, href, test id, or text value.",
421
+ "maxLength": 2000,
422
+ "minLength": 1,
423
+ "type": "string"
424
+ }
425
+ },
426
+ "required": [
427
+ "strategy",
428
+ "value"
429
+ ],
430
+ "type": "object"
431
+ },
432
+ "exact": {
433
+ "description": "Require an exact text or attribute match.",
434
+ "type": "boolean"
435
+ },
436
+ "filter": {
437
+ "additionalProperties": false,
438
+ "properties": {
439
+ "has": {
440
+ "additionalProperties": false,
441
+ "properties": {
442
+ "exact": {
443
+ "description": "Require an exact text or attribute match.",
444
+ "type": "boolean"
445
+ },
446
+ "name": {
447
+ "description": "Accessible name used with the role strategy.",
448
+ "maxLength": 2000,
449
+ "type": "string"
450
+ },
451
+ "strategy": {
452
+ "description": "Locator strategy.",
453
+ "enum": [
454
+ "css",
455
+ "testId",
456
+ "href",
457
+ "role",
458
+ "label",
459
+ "placeholder",
460
+ "text"
461
+ ],
462
+ "type": "string"
463
+ },
464
+ "value": {
465
+ "description": "Selector, role, label, placeholder, href, test id, or text value.",
466
+ "maxLength": 2000,
467
+ "minLength": 1,
468
+ "type": "string"
469
+ }
470
+ },
471
+ "required": [
472
+ "strategy",
473
+ "value"
474
+ ],
475
+ "type": "object"
476
+ },
477
+ "hasNot": {
478
+ "additionalProperties": false,
479
+ "properties": {
480
+ "exact": {
481
+ "description": "Require an exact text or attribute match.",
482
+ "type": "boolean"
483
+ },
484
+ "name": {
485
+ "description": "Accessible name used with the role strategy.",
486
+ "maxLength": 2000,
487
+ "type": "string"
488
+ },
489
+ "strategy": {
490
+ "description": "Locator strategy.",
491
+ "enum": [
492
+ "css",
493
+ "testId",
494
+ "href",
495
+ "role",
496
+ "label",
497
+ "placeholder",
498
+ "text"
499
+ ],
500
+ "type": "string"
501
+ },
502
+ "value": {
503
+ "description": "Selector, role, label, placeholder, href, test id, or text value.",
504
+ "maxLength": 2000,
505
+ "minLength": 1,
506
+ "type": "string"
507
+ }
508
+ },
509
+ "required": [
510
+ "strategy",
511
+ "value"
512
+ ],
513
+ "type": "object"
514
+ },
515
+ "hasNotText": {
516
+ "description": "Excluded descendant text.",
517
+ "maxLength": 2000,
518
+ "type": "string"
519
+ },
520
+ "hasText": {
521
+ "description": "Required descendant text.",
522
+ "maxLength": 2000,
523
+ "type": "string"
524
+ },
525
+ "visible": {
526
+ "description": "Filter by current visibility.",
527
+ "type": "boolean"
528
+ }
529
+ },
530
+ "type": "object"
531
+ },
532
+ "frame": {
533
+ "items": {
534
+ "description": "CSS iframe selector.",
535
+ "maxLength": 1000,
536
+ "minLength": 1,
537
+ "type": "string"
538
+ },
539
+ "maxItems": 8,
540
+ "type": "array"
541
+ },
542
+ "index": {
543
+ "description": "Zero-based locator match index.",
544
+ "maximum": 499,
545
+ "minimum": 0,
546
+ "type": "number"
547
+ },
548
+ "name": {
549
+ "description": "Accessible name used with the role strategy.",
550
+ "maxLength": 2000,
551
+ "type": "string"
552
+ },
553
+ "or": {
554
+ "additionalProperties": false,
555
+ "properties": {
556
+ "exact": {
557
+ "description": "Require an exact text or attribute match.",
558
+ "type": "boolean"
559
+ },
560
+ "name": {
561
+ "description": "Accessible name used with the role strategy.",
562
+ "maxLength": 2000,
563
+ "type": "string"
564
+ },
565
+ "strategy": {
566
+ "description": "Locator strategy.",
567
+ "enum": [
568
+ "css",
569
+ "testId",
570
+ "href",
571
+ "role",
572
+ "label",
573
+ "placeholder",
574
+ "text"
575
+ ],
576
+ "type": "string"
577
+ },
578
+ "value": {
579
+ "description": "Selector, role, label, placeholder, href, test id, or text value.",
580
+ "maxLength": 2000,
581
+ "minLength": 1,
582
+ "type": "string"
583
+ }
584
+ },
585
+ "required": [
586
+ "strategy",
587
+ "value"
588
+ ],
589
+ "type": "object"
590
+ },
591
+ "position": {
592
+ "description": "Locator endpoint after an explicit count.",
593
+ "enum": [
594
+ "first",
595
+ "last"
596
+ ],
597
+ "type": "string"
598
+ },
599
+ "scope": {
600
+ "additionalProperties": false,
601
+ "properties": {
602
+ "and": {
603
+ "additionalProperties": false,
604
+ "properties": {
605
+ "exact": {
606
+ "description": "Require an exact text or attribute match.",
607
+ "type": "boolean"
608
+ },
609
+ "name": {
610
+ "description": "Accessible name used with the role strategy.",
611
+ "maxLength": 2000,
612
+ "type": "string"
613
+ },
614
+ "strategy": {
615
+ "description": "Locator strategy.",
616
+ "enum": [
617
+ "css",
618
+ "testId",
619
+ "href",
620
+ "role",
621
+ "label",
622
+ "placeholder",
623
+ "text"
624
+ ],
625
+ "type": "string"
626
+ },
627
+ "value": {
628
+ "description": "Selector, role, label, placeholder, href, test id, or text value.",
629
+ "maxLength": 2000,
630
+ "minLength": 1,
631
+ "type": "string"
632
+ }
633
+ },
634
+ "required": [
635
+ "strategy",
636
+ "value"
637
+ ],
638
+ "type": "object"
639
+ },
640
+ "exact": {
641
+ "description": "Require an exact text or attribute match.",
642
+ "type": "boolean"
643
+ },
644
+ "filter": {
645
+ "additionalProperties": false,
646
+ "properties": {
647
+ "has": {
648
+ "additionalProperties": false,
649
+ "properties": {
650
+ "exact": {
651
+ "description": "Require an exact text or attribute match.",
652
+ "type": "boolean"
653
+ },
654
+ "name": {
655
+ "description": "Accessible name used with the role strategy.",
656
+ "maxLength": 2000,
657
+ "type": "string"
658
+ },
659
+ "strategy": {
660
+ "description": "Locator strategy.",
661
+ "enum": [
662
+ "css",
663
+ "testId",
664
+ "href",
665
+ "role",
666
+ "label",
667
+ "placeholder",
668
+ "text"
669
+ ],
670
+ "type": "string"
671
+ },
672
+ "value": {
673
+ "description": "Selector, role, label, placeholder, href, test id, or text value.",
674
+ "maxLength": 2000,
675
+ "minLength": 1,
676
+ "type": "string"
677
+ }
678
+ },
679
+ "required": [
680
+ "strategy",
681
+ "value"
682
+ ],
683
+ "type": "object"
684
+ },
685
+ "hasNot": {
686
+ "additionalProperties": false,
687
+ "properties": {
688
+ "exact": {
689
+ "description": "Require an exact text or attribute match.",
690
+ "type": "boolean"
691
+ },
692
+ "name": {
693
+ "description": "Accessible name used with the role strategy.",
694
+ "maxLength": 2000,
695
+ "type": "string"
696
+ },
697
+ "strategy": {
698
+ "description": "Locator strategy.",
699
+ "enum": [
700
+ "css",
701
+ "testId",
702
+ "href",
703
+ "role",
704
+ "label",
705
+ "placeholder",
706
+ "text"
707
+ ],
708
+ "type": "string"
709
+ },
710
+ "value": {
711
+ "description": "Selector, role, label, placeholder, href, test id, or text value.",
712
+ "maxLength": 2000,
713
+ "minLength": 1,
714
+ "type": "string"
715
+ }
716
+ },
717
+ "required": [
718
+ "strategy",
719
+ "value"
720
+ ],
721
+ "type": "object"
722
+ },
723
+ "hasNotText": {
724
+ "description": "Excluded descendant text.",
725
+ "maxLength": 2000,
726
+ "type": "string"
727
+ },
728
+ "hasText": {
729
+ "description": "Required descendant text.",
730
+ "maxLength": 2000,
731
+ "type": "string"
732
+ },
733
+ "visible": {
734
+ "description": "Filter by current visibility.",
735
+ "type": "boolean"
736
+ }
737
+ },
738
+ "type": "object"
739
+ },
740
+ "index": {
741
+ "description": "Zero-based locator match index.",
742
+ "maximum": 499,
743
+ "minimum": 0,
744
+ "type": "number"
745
+ },
746
+ "name": {
747
+ "description": "Accessible name used with the role strategy.",
748
+ "maxLength": 2000,
749
+ "type": "string"
750
+ },
751
+ "or": {
752
+ "additionalProperties": false,
753
+ "properties": {
754
+ "exact": {
755
+ "description": "Require an exact text or attribute match.",
756
+ "type": "boolean"
757
+ },
758
+ "name": {
759
+ "description": "Accessible name used with the role strategy.",
760
+ "maxLength": 2000,
761
+ "type": "string"
762
+ },
763
+ "strategy": {
764
+ "description": "Locator strategy.",
765
+ "enum": [
766
+ "css",
767
+ "testId",
768
+ "href",
769
+ "role",
770
+ "label",
771
+ "placeholder",
772
+ "text"
773
+ ],
774
+ "type": "string"
775
+ },
776
+ "value": {
777
+ "description": "Selector, role, label, placeholder, href, test id, or text value.",
778
+ "maxLength": 2000,
779
+ "minLength": 1,
780
+ "type": "string"
781
+ }
782
+ },
783
+ "required": [
784
+ "strategy",
785
+ "value"
786
+ ],
787
+ "type": "object"
788
+ },
789
+ "position": {
790
+ "description": "Locator endpoint after an explicit count.",
791
+ "enum": [
792
+ "first",
793
+ "last"
794
+ ],
795
+ "type": "string"
796
+ },
797
+ "strategy": {
798
+ "description": "Locator strategy.",
799
+ "enum": [
800
+ "css",
801
+ "testId",
802
+ "href",
803
+ "role",
804
+ "label",
805
+ "placeholder",
806
+ "text"
807
+ ],
808
+ "type": "string"
809
+ },
810
+ "value": {
811
+ "description": "Selector, role, label, placeholder, href, test id, or text value.",
812
+ "maxLength": 2000,
813
+ "minLength": 1,
814
+ "type": "string"
815
+ }
816
+ },
817
+ "required": [
818
+ "strategy",
819
+ "value"
820
+ ],
821
+ "type": "object"
822
+ },
823
+ "strategy": {
824
+ "description": "Locator strategy.",
825
+ "enum": [
826
+ "css",
827
+ "testId",
828
+ "href",
829
+ "role",
830
+ "label",
831
+ "placeholder",
832
+ "text"
833
+ ],
834
+ "type": "string"
835
+ },
836
+ "value": {
837
+ "description": "Selector, role, label, placeholder, href, test id, or text value.",
838
+ "maxLength": 2000,
839
+ "minLength": 1,
840
+ "type": "string"
841
+ }
842
+ },
843
+ "required": [
844
+ "strategy",
845
+ "value"
846
+ ],
847
+ "type": "object"
848
+ },
849
+ "mode": {
850
+ "description": "Read-only media download mode.",
851
+ "enum": [
852
+ "media"
853
+ ],
854
+ "type": "string"
855
+ },
856
+ "tabId": {
857
+ "description": "Run-owned Rudder Browser tab id.",
858
+ "maxLength": 160,
859
+ "minLength": 1,
860
+ "type": "string"
861
+ }
862
+ },
863
+ "required": [
864
+ "tabId",
865
+ "mode",
866
+ "locator"
867
+ ],
868
+ "type": "object"
869
+ }
870
+ },
871
+ {
872
+ "capabilityId": "browser.assets",
873
+ "name": "rudder_browser_assets",
874
+ "description": "List page assets or bundle an explicit bounded selection into a run-owned temporary artifact.",
875
+ "semanticDescription": "List page assets or bundle an explicit bounded selection into a run-owned temporary artifact. Mutating: yes. Runtime identity and authorization are injected by the Rudder-managed MCP server and are not accepted as tool input. Org context: required from runtime env. Agent context: required from runtime env. Run attribution: attached from runtime env when available.",
876
+ "annotations": {
877
+ "destructiveHint": false,
878
+ "idempotentHint": false,
879
+ "readOnlyHint": false,
880
+ "title": "List page assets or bundle an explicit bounded selection into a run-owned temporary artifact"
881
+ },
882
+ "mutating": true,
883
+ "requiresOrgId": true,
884
+ "requiresAgentId": true,
885
+ "attachesRunIdWhenAvailable": true,
886
+ "inputSchema": {
887
+ "additionalProperties": false,
888
+ "properties": {
889
+ "action": {
890
+ "description": "Asset action.",
891
+ "enum": [
892
+ "list",
893
+ "bundle"
894
+ ],
895
+ "type": "string"
896
+ },
897
+ "assetIds": {
898
+ "items": {
899
+ "description": "Asset id.",
900
+ "maxLength": 160,
901
+ "type": "string"
902
+ },
903
+ "maxItems": 100,
904
+ "minItems": 1,
905
+ "type": "array"
906
+ },
907
+ "inventoryId": {
908
+ "description": "Prior asset inventory id.",
909
+ "maxLength": 160,
910
+ "type": "string"
911
+ },
912
+ "kinds": {
913
+ "items": {
914
+ "description": "Asset kind.",
915
+ "enum": [
916
+ "font",
917
+ "image",
918
+ "stylesheet",
919
+ "video"
920
+ ],
921
+ "type": "string"
922
+ },
923
+ "maxItems": 4,
924
+ "minItems": 1,
925
+ "type": "array"
926
+ },
927
+ "tabId": {
928
+ "description": "Run-owned Rudder Browser tab id.",
929
+ "maxLength": 160,
930
+ "minLength": 1,
931
+ "type": "string"
932
+ }
933
+ },
934
+ "required": [
935
+ "tabId",
936
+ "action"
937
+ ],
938
+ "type": "object"
939
+ }
940
+ },
941
+ {
942
+ "capabilityId": "browser.content",
943
+ "name": "rudder_browser_content",
944
+ "description": "Export current page content or an eligible Google Workspace document into a bounded run-owned artifact.",
945
+ "semanticDescription": "Export current page content or an eligible Google Workspace document into a bounded run-owned artifact. Mutating: yes. Runtime identity and authorization are injected by the Rudder-managed MCP server and are not accepted as tool input. Org context: required from runtime env. Agent context: required from runtime env. Run attribution: attached from runtime env when available.",
946
+ "annotations": {
947
+ "destructiveHint": false,
948
+ "idempotentHint": false,
949
+ "openWorldHint": true,
950
+ "readOnlyHint": false,
951
+ "title": "Export current page content or an eligible Google Workspace document into a bounded run-owned artifact"
952
+ },
953
+ "mutating": true,
954
+ "requiresOrgId": true,
955
+ "requiresAgentId": true,
956
+ "attachesRunIdWhenAvailable": true,
957
+ "inputSchema": {
958
+ "additionalProperties": false,
959
+ "properties": {
960
+ "format": {
961
+ "description": "Content export format.",
962
+ "enum": [
963
+ "text",
964
+ "pdf",
965
+ "md",
966
+ "docx",
967
+ "xlsx",
968
+ "csv",
969
+ "pptx"
970
+ ],
971
+ "type": "string"
972
+ },
973
+ "tabId": {
974
+ "description": "Run-owned Rudder Browser tab id.",
975
+ "maxLength": 160,
976
+ "minLength": 1,
977
+ "type": "string"
978
+ }
979
+ },
980
+ "required": [
981
+ "tabId",
982
+ "format"
983
+ ],
984
+ "type": "object"
985
+ }
986
+ },
987
+ {
988
+ "capabilityId": "browser.wait",
989
+ "name": "rudder_browser_wait",
990
+ "description": "Wait for bounded URL, text, disappearance, or time conditions in a run-owned Browser tab.",
991
+ "semanticDescription": "Wait for bounded URL, text, disappearance, or time conditions in a run-owned Browser tab. Mutating: no. Runtime identity and authorization are injected by the Rudder-managed MCP server and are not accepted as tool input. Org context: required from runtime env. Agent context: required from runtime env. Run attribution: attached from runtime env when available.",
992
+ "annotations": {
993
+ "destructiveHint": false,
994
+ "idempotentHint": true,
995
+ "readOnlyHint": true,
996
+ "title": "Wait for bounded URL, text, disappearance, or time conditions in a run-owned Browser tab"
997
+ },
998
+ "mutating": false,
999
+ "requiresOrgId": true,
1000
+ "requiresAgentId": true,
1001
+ "attachesRunIdWhenAvailable": true,
1002
+ "inputSchema": {
1003
+ "additionalProperties": false,
1004
+ "properties": {
1005
+ "tabId": {
1006
+ "description": "Run-owned Rudder Browser tab id.",
1007
+ "maxLength": 160,
1008
+ "minLength": 1,
1009
+ "type": "string"
1010
+ },
1011
+ "text": {
1012
+ "description": "Text that must appear.",
1013
+ "maxLength": 10000,
1014
+ "type": "string"
1015
+ },
1016
+ "textGone": {
1017
+ "description": "Text that must disappear.",
1018
+ "maxLength": 10000,
1019
+ "type": "string"
1020
+ },
1021
+ "timeMs": {
1022
+ "description": "Fixed bounded delay in milliseconds.",
1023
+ "maximum": 30000,
1024
+ "minimum": 0,
1025
+ "type": "number"
1026
+ },
1027
+ "timeoutMs": {
1028
+ "description": "Wait timeout in milliseconds.",
1029
+ "maximum": 30000,
1030
+ "minimum": 0,
1031
+ "type": "number"
1032
+ },
1033
+ "url": {
1034
+ "description": "URL substring.",
1035
+ "maxLength": 8192,
1036
+ "type": "string"
1037
+ }
1038
+ },
1039
+ "required": [
1040
+ "tabId"
1041
+ ],
1042
+ "type": "object"
1043
+ }
1044
+ },
1045
+ {
1046
+ "capabilityId": "browser.read",
1047
+ "name": "rudder_browser_read",
1048
+ "description": "Read a structured snapshot from a run-owned Rudder Browser tab.",
1049
+ "semanticDescription": "Read a structured snapshot from a run-owned Rudder Browser tab. Mutating: no. Runtime identity and authorization are injected by the Rudder-managed MCP server and are not accepted as tool input. Org context: required from runtime env. Agent context: required from runtime env. Run attribution: not attached.",
1050
+ "annotations": {
1051
+ "destructiveHint": false,
1052
+ "idempotentHint": true,
1053
+ "readOnlyHint": true,
1054
+ "title": "Read a structured snapshot from a run-owned Rudder Browser tab"
1055
+ },
1056
+ "mutating": false,
1057
+ "requiresOrgId": true,
1058
+ "requiresAgentId": true,
1059
+ "attachesRunIdWhenAvailable": false,
1060
+ "inputSchema": {
1061
+ "additionalProperties": false,
1062
+ "properties": {
1063
+ "tabId": {
1064
+ "description": "Run-owned Rudder Browser tab id.",
1065
+ "maxLength": 160,
1066
+ "minLength": 1,
1067
+ "type": "string"
1068
+ }
1069
+ },
1070
+ "required": [
1071
+ "tabId"
1072
+ ],
1073
+ "type": "object"
1074
+ }
1075
+ },
1076
+ {
1077
+ "capabilityId": "browser.click",
1078
+ "name": "rudder_browser_click",
1079
+ "description": "Click an element reference returned by Rudder Browser read.",
1080
+ "semanticDescription": "Click an element reference returned by Rudder Browser read. Mutating: yes. Runtime identity and authorization are injected by the Rudder-managed MCP server and are not accepted as tool input. Org context: required from runtime env. Agent context: required from runtime env. Run attribution: attached from runtime env when available.",
1081
+ "annotations": {
1082
+ "destructiveHint": false,
1083
+ "idempotentHint": false,
1084
+ "readOnlyHint": false,
1085
+ "title": "Click an element reference returned by Rudder Browser read"
1086
+ },
1087
+ "mutating": true,
1088
+ "requiresOrgId": true,
1089
+ "requiresAgentId": true,
1090
+ "attachesRunIdWhenAvailable": true,
1091
+ "inputSchema": {
1092
+ "additionalProperties": false,
1093
+ "properties": {
1094
+ "ref": {
1095
+ "description": "Element reference returned by rudder_browser_read.",
1096
+ "maxLength": 160,
1097
+ "type": "string"
1098
+ },
1099
+ "tabId": {
1100
+ "description": "Run-owned Rudder Browser tab id.",
1101
+ "maxLength": 160,
1102
+ "minLength": 1,
1103
+ "type": "string"
1104
+ }
1105
+ },
1106
+ "required": [
1107
+ "tabId",
1108
+ "ref"
1109
+ ],
1110
+ "type": "object"
1111
+ }
1112
+ },
1113
+ {
1114
+ "capabilityId": "browser.type",
1115
+ "name": "rudder_browser_type",
1116
+ "description": "Type into an element reference in a run-owned Rudder Browser tab.",
1117
+ "semanticDescription": "Type into an element reference in a run-owned Rudder Browser tab. Mutating: yes. Runtime identity and authorization are injected by the Rudder-managed MCP server and are not accepted as tool input. Org context: required from runtime env. Agent context: required from runtime env. Run attribution: attached from runtime env when available.",
1118
+ "annotations": {
1119
+ "destructiveHint": false,
1120
+ "idempotentHint": false,
1121
+ "readOnlyHint": false,
1122
+ "title": "Type into an element reference in a run-owned Rudder Browser tab"
1123
+ },
1124
+ "mutating": true,
1125
+ "requiresOrgId": true,
1126
+ "requiresAgentId": true,
1127
+ "attachesRunIdWhenAvailable": true,
1128
+ "inputSchema": {
1129
+ "additionalProperties": false,
1130
+ "properties": {
1131
+ "ref": {
1132
+ "description": "Element reference returned by rudder_browser_read.",
1133
+ "maxLength": 160,
1134
+ "type": "string"
1135
+ },
1136
+ "submit": {
1137
+ "description": "Submit the owning form after typing.",
1138
+ "type": "boolean"
1139
+ },
1140
+ "tabId": {
1141
+ "description": "Run-owned Rudder Browser tab id.",
1142
+ "maxLength": 160,
1143
+ "minLength": 1,
1144
+ "type": "string"
1145
+ },
1146
+ "text": {
1147
+ "description": "Text to enter.",
1148
+ "maxLength": 100000,
1149
+ "type": "string"
1150
+ }
1151
+ },
1152
+ "required": [
1153
+ "tabId",
1154
+ "ref",
1155
+ "text"
1156
+ ],
1157
+ "type": "object"
1158
+ }
1159
+ }
1160
+ ];
1161
+ //# sourceMappingURL=rudder-mcp-tool-descriptors-002.js.map