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