@rudderhq/agent-runtime-utils 0.7.24-canary.2 → 0.7.24-canary.21

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