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