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

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,1189 @@
1
+ // Generated by scripts/generate-rudder-mcp-tool-descriptors.ts. Do not edit by hand.
2
+ export const GENERATED_RUDDER_AGENT_CONTRACT_CAPABILITIES_005 = [
3
+ {
4
+ "api": {
5
+ "method": "POST",
6
+ "pathTemplate": "/api/browser/screenshot",
7
+ "transport": "direct"
8
+ },
9
+ "cli": {
10
+ "attachesRunIdWhenAvailable": false,
11
+ "category": "browser",
12
+ "command": "rudder browser screenshot <tab-id> [--input <json>]",
13
+ "contract": "agent-v1",
14
+ "description": "Capture a screenshot of a run-owned Rudder Browser tab.",
15
+ "id": "browser.screenshot",
16
+ "mutating": false,
17
+ "requiresAgentId": true,
18
+ "requiresOrgId": true,
19
+ "requiresRunId": true
20
+ },
21
+ "id": "browser.screenshot",
22
+ "mcp": {
23
+ "annotations": {
24
+ "destructiveHint": false,
25
+ "idempotentHint": true,
26
+ "readOnlyHint": true,
27
+ "title": "Capture a screenshot of a run-owned Rudder Browser tab"
28
+ },
29
+ "capabilityId": "browser.screenshot",
30
+ "description": "Capture a screenshot of 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.",
31
+ "inputSchema": {
32
+ "additionalProperties": false,
33
+ "properties": {
34
+ "clip": {
35
+ "additionalProperties": false,
36
+ "properties": {
37
+ "height": {
38
+ "description": "Clip height.",
39
+ "minimum": 1,
40
+ "type": "number"
41
+ },
42
+ "width": {
43
+ "description": "Clip width.",
44
+ "minimum": 1,
45
+ "type": "number"
46
+ },
47
+ "x": {
48
+ "description": "Clip X coordinate.",
49
+ "type": "number"
50
+ },
51
+ "y": {
52
+ "description": "Clip Y coordinate.",
53
+ "type": "number"
54
+ }
55
+ },
56
+ "required": [
57
+ "x",
58
+ "y",
59
+ "width",
60
+ "height"
61
+ ],
62
+ "type": "object"
63
+ },
64
+ "format": {
65
+ "description": "Image format.",
66
+ "enum": [
67
+ "png",
68
+ "jpeg"
69
+ ],
70
+ "type": "string"
71
+ },
72
+ "fullPage": {
73
+ "description": "Capture the full scrollable page.",
74
+ "type": "boolean"
75
+ },
76
+ "locator": {
77
+ "additionalProperties": false,
78
+ "properties": {
79
+ "and": {
80
+ "additionalProperties": false,
81
+ "properties": {
82
+ "exact": {
83
+ "description": "Require an exact text or attribute match.",
84
+ "type": "boolean"
85
+ },
86
+ "name": {
87
+ "description": "Accessible name used with the role strategy.",
88
+ "maxLength": 2000,
89
+ "type": "string"
90
+ },
91
+ "strategy": {
92
+ "description": "Locator strategy.",
93
+ "enum": [
94
+ "css",
95
+ "testId",
96
+ "href",
97
+ "role",
98
+ "label",
99
+ "placeholder",
100
+ "text"
101
+ ],
102
+ "type": "string"
103
+ },
104
+ "value": {
105
+ "description": "Selector, role, label, placeholder, href, test id, or text value.",
106
+ "maxLength": 2000,
107
+ "minLength": 1,
108
+ "type": "string"
109
+ }
110
+ },
111
+ "required": [
112
+ "strategy",
113
+ "value"
114
+ ],
115
+ "type": "object"
116
+ },
117
+ "exact": {
118
+ "description": "Require an exact text or attribute match.",
119
+ "type": "boolean"
120
+ },
121
+ "filter": {
122
+ "additionalProperties": false,
123
+ "properties": {
124
+ "has": {
125
+ "additionalProperties": false,
126
+ "properties": {
127
+ "exact": {
128
+ "description": "Require an exact text or attribute match.",
129
+ "type": "boolean"
130
+ },
131
+ "name": {
132
+ "description": "Accessible name used with the role strategy.",
133
+ "maxLength": 2000,
134
+ "type": "string"
135
+ },
136
+ "strategy": {
137
+ "description": "Locator strategy.",
138
+ "enum": [
139
+ "css",
140
+ "testId",
141
+ "href",
142
+ "role",
143
+ "label",
144
+ "placeholder",
145
+ "text"
146
+ ],
147
+ "type": "string"
148
+ },
149
+ "value": {
150
+ "description": "Selector, role, label, placeholder, href, test id, or text value.",
151
+ "maxLength": 2000,
152
+ "minLength": 1,
153
+ "type": "string"
154
+ }
155
+ },
156
+ "required": [
157
+ "strategy",
158
+ "value"
159
+ ],
160
+ "type": "object"
161
+ },
162
+ "hasNot": {
163
+ "additionalProperties": false,
164
+ "properties": {
165
+ "exact": {
166
+ "description": "Require an exact text or attribute match.",
167
+ "type": "boolean"
168
+ },
169
+ "name": {
170
+ "description": "Accessible name used with the role strategy.",
171
+ "maxLength": 2000,
172
+ "type": "string"
173
+ },
174
+ "strategy": {
175
+ "description": "Locator strategy.",
176
+ "enum": [
177
+ "css",
178
+ "testId",
179
+ "href",
180
+ "role",
181
+ "label",
182
+ "placeholder",
183
+ "text"
184
+ ],
185
+ "type": "string"
186
+ },
187
+ "value": {
188
+ "description": "Selector, role, label, placeholder, href, test id, or text value.",
189
+ "maxLength": 2000,
190
+ "minLength": 1,
191
+ "type": "string"
192
+ }
193
+ },
194
+ "required": [
195
+ "strategy",
196
+ "value"
197
+ ],
198
+ "type": "object"
199
+ },
200
+ "hasNotText": {
201
+ "description": "Excluded descendant text.",
202
+ "maxLength": 2000,
203
+ "type": "string"
204
+ },
205
+ "hasText": {
206
+ "description": "Required descendant text.",
207
+ "maxLength": 2000,
208
+ "type": "string"
209
+ },
210
+ "visible": {
211
+ "description": "Filter by current visibility.",
212
+ "type": "boolean"
213
+ }
214
+ },
215
+ "type": "object"
216
+ },
217
+ "frame": {
218
+ "items": {
219
+ "description": "CSS iframe selector.",
220
+ "maxLength": 1000,
221
+ "minLength": 1,
222
+ "type": "string"
223
+ },
224
+ "maxItems": 8,
225
+ "type": "array"
226
+ },
227
+ "index": {
228
+ "description": "Zero-based locator match index.",
229
+ "maximum": 499,
230
+ "minimum": 0,
231
+ "type": "number"
232
+ },
233
+ "name": {
234
+ "description": "Accessible name used with the role strategy.",
235
+ "maxLength": 2000,
236
+ "type": "string"
237
+ },
238
+ "or": {
239
+ "additionalProperties": false,
240
+ "properties": {
241
+ "exact": {
242
+ "description": "Require an exact text or attribute match.",
243
+ "type": "boolean"
244
+ },
245
+ "name": {
246
+ "description": "Accessible name used with the role strategy.",
247
+ "maxLength": 2000,
248
+ "type": "string"
249
+ },
250
+ "strategy": {
251
+ "description": "Locator strategy.",
252
+ "enum": [
253
+ "css",
254
+ "testId",
255
+ "href",
256
+ "role",
257
+ "label",
258
+ "placeholder",
259
+ "text"
260
+ ],
261
+ "type": "string"
262
+ },
263
+ "value": {
264
+ "description": "Selector, role, label, placeholder, href, test id, or text value.",
265
+ "maxLength": 2000,
266
+ "minLength": 1,
267
+ "type": "string"
268
+ }
269
+ },
270
+ "required": [
271
+ "strategy",
272
+ "value"
273
+ ],
274
+ "type": "object"
275
+ },
276
+ "position": {
277
+ "description": "Locator endpoint after an explicit count.",
278
+ "enum": [
279
+ "first",
280
+ "last"
281
+ ],
282
+ "type": "string"
283
+ },
284
+ "scope": {
285
+ "additionalProperties": false,
286
+ "properties": {
287
+ "and": {
288
+ "additionalProperties": false,
289
+ "properties": {
290
+ "exact": {
291
+ "description": "Require an exact text or attribute match.",
292
+ "type": "boolean"
293
+ },
294
+ "name": {
295
+ "description": "Accessible name used with the role strategy.",
296
+ "maxLength": 2000,
297
+ "type": "string"
298
+ },
299
+ "strategy": {
300
+ "description": "Locator strategy.",
301
+ "enum": [
302
+ "css",
303
+ "testId",
304
+ "href",
305
+ "role",
306
+ "label",
307
+ "placeholder",
308
+ "text"
309
+ ],
310
+ "type": "string"
311
+ },
312
+ "value": {
313
+ "description": "Selector, role, label, placeholder, href, test id, or text value.",
314
+ "maxLength": 2000,
315
+ "minLength": 1,
316
+ "type": "string"
317
+ }
318
+ },
319
+ "required": [
320
+ "strategy",
321
+ "value"
322
+ ],
323
+ "type": "object"
324
+ },
325
+ "exact": {
326
+ "description": "Require an exact text or attribute match.",
327
+ "type": "boolean"
328
+ },
329
+ "filter": {
330
+ "additionalProperties": false,
331
+ "properties": {
332
+ "has": {
333
+ "additionalProperties": false,
334
+ "properties": {
335
+ "exact": {
336
+ "description": "Require an exact text or attribute match.",
337
+ "type": "boolean"
338
+ },
339
+ "name": {
340
+ "description": "Accessible name used with the role strategy.",
341
+ "maxLength": 2000,
342
+ "type": "string"
343
+ },
344
+ "strategy": {
345
+ "description": "Locator strategy.",
346
+ "enum": [
347
+ "css",
348
+ "testId",
349
+ "href",
350
+ "role",
351
+ "label",
352
+ "placeholder",
353
+ "text"
354
+ ],
355
+ "type": "string"
356
+ },
357
+ "value": {
358
+ "description": "Selector, role, label, placeholder, href, test id, or text value.",
359
+ "maxLength": 2000,
360
+ "minLength": 1,
361
+ "type": "string"
362
+ }
363
+ },
364
+ "required": [
365
+ "strategy",
366
+ "value"
367
+ ],
368
+ "type": "object"
369
+ },
370
+ "hasNot": {
371
+ "additionalProperties": false,
372
+ "properties": {
373
+ "exact": {
374
+ "description": "Require an exact text or attribute match.",
375
+ "type": "boolean"
376
+ },
377
+ "name": {
378
+ "description": "Accessible name used with the role strategy.",
379
+ "maxLength": 2000,
380
+ "type": "string"
381
+ },
382
+ "strategy": {
383
+ "description": "Locator strategy.",
384
+ "enum": [
385
+ "css",
386
+ "testId",
387
+ "href",
388
+ "role",
389
+ "label",
390
+ "placeholder",
391
+ "text"
392
+ ],
393
+ "type": "string"
394
+ },
395
+ "value": {
396
+ "description": "Selector, role, label, placeholder, href, test id, or text value.",
397
+ "maxLength": 2000,
398
+ "minLength": 1,
399
+ "type": "string"
400
+ }
401
+ },
402
+ "required": [
403
+ "strategy",
404
+ "value"
405
+ ],
406
+ "type": "object"
407
+ },
408
+ "hasNotText": {
409
+ "description": "Excluded descendant text.",
410
+ "maxLength": 2000,
411
+ "type": "string"
412
+ },
413
+ "hasText": {
414
+ "description": "Required descendant text.",
415
+ "maxLength": 2000,
416
+ "type": "string"
417
+ },
418
+ "visible": {
419
+ "description": "Filter by current visibility.",
420
+ "type": "boolean"
421
+ }
422
+ },
423
+ "type": "object"
424
+ },
425
+ "index": {
426
+ "description": "Zero-based locator match index.",
427
+ "maximum": 499,
428
+ "minimum": 0,
429
+ "type": "number"
430
+ },
431
+ "name": {
432
+ "description": "Accessible name used with the role strategy.",
433
+ "maxLength": 2000,
434
+ "type": "string"
435
+ },
436
+ "or": {
437
+ "additionalProperties": false,
438
+ "properties": {
439
+ "exact": {
440
+ "description": "Require an exact text or attribute match.",
441
+ "type": "boolean"
442
+ },
443
+ "name": {
444
+ "description": "Accessible name used with the role strategy.",
445
+ "maxLength": 2000,
446
+ "type": "string"
447
+ },
448
+ "strategy": {
449
+ "description": "Locator strategy.",
450
+ "enum": [
451
+ "css",
452
+ "testId",
453
+ "href",
454
+ "role",
455
+ "label",
456
+ "placeholder",
457
+ "text"
458
+ ],
459
+ "type": "string"
460
+ },
461
+ "value": {
462
+ "description": "Selector, role, label, placeholder, href, test id, or text value.",
463
+ "maxLength": 2000,
464
+ "minLength": 1,
465
+ "type": "string"
466
+ }
467
+ },
468
+ "required": [
469
+ "strategy",
470
+ "value"
471
+ ],
472
+ "type": "object"
473
+ },
474
+ "position": {
475
+ "description": "Locator endpoint after an explicit count.",
476
+ "enum": [
477
+ "first",
478
+ "last"
479
+ ],
480
+ "type": "string"
481
+ },
482
+ "strategy": {
483
+ "description": "Locator strategy.",
484
+ "enum": [
485
+ "css",
486
+ "testId",
487
+ "href",
488
+ "role",
489
+ "label",
490
+ "placeholder",
491
+ "text"
492
+ ],
493
+ "type": "string"
494
+ },
495
+ "value": {
496
+ "description": "Selector, role, label, placeholder, href, test id, or text value.",
497
+ "maxLength": 2000,
498
+ "minLength": 1,
499
+ "type": "string"
500
+ }
501
+ },
502
+ "required": [
503
+ "strategy",
504
+ "value"
505
+ ],
506
+ "type": "object"
507
+ },
508
+ "strategy": {
509
+ "description": "Locator strategy.",
510
+ "enum": [
511
+ "css",
512
+ "testId",
513
+ "href",
514
+ "role",
515
+ "label",
516
+ "placeholder",
517
+ "text"
518
+ ],
519
+ "type": "string"
520
+ },
521
+ "value": {
522
+ "description": "Selector, role, label, placeholder, href, test id, or text value.",
523
+ "maxLength": 2000,
524
+ "minLength": 1,
525
+ "type": "string"
526
+ }
527
+ },
528
+ "required": [
529
+ "strategy",
530
+ "value"
531
+ ],
532
+ "type": "object"
533
+ },
534
+ "quality": {
535
+ "description": "JPEG quality.",
536
+ "maximum": 100,
537
+ "minimum": 1,
538
+ "type": "number"
539
+ },
540
+ "tabId": {
541
+ "description": "Run-owned Rudder Browser tab id.",
542
+ "maxLength": 160,
543
+ "minLength": 1,
544
+ "type": "string"
545
+ }
546
+ },
547
+ "required": [
548
+ "tabId"
549
+ ],
550
+ "type": "object"
551
+ },
552
+ "name": "rudder_browser_screenshot"
553
+ }
554
+ },
555
+ {
556
+ "api": {
557
+ "method": "POST",
558
+ "pathTemplate": "/api/browser/close",
559
+ "transport": "direct"
560
+ },
561
+ "cli": {
562
+ "attachesRunIdWhenAvailable": true,
563
+ "category": "browser",
564
+ "command": "rudder browser close <tab-id>",
565
+ "contract": "agent-v1",
566
+ "description": "Close a run-owned Rudder Browser tab.",
567
+ "id": "browser.close",
568
+ "mutating": true,
569
+ "requiresAgentId": true,
570
+ "requiresOrgId": true,
571
+ "requiresRunId": true
572
+ },
573
+ "id": "browser.close",
574
+ "mcp": {
575
+ "annotations": {
576
+ "destructiveHint": false,
577
+ "idempotentHint": true,
578
+ "readOnlyHint": false,
579
+ "title": "Close a run-owned Rudder Browser tab"
580
+ },
581
+ "capabilityId": "browser.close",
582
+ "description": "Close 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.",
583
+ "inputSchema": {
584
+ "additionalProperties": false,
585
+ "properties": {
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
+ ],
596
+ "type": "object"
597
+ },
598
+ "name": "rudder_browser_close"
599
+ }
600
+ },
601
+ {
602
+ "api": {
603
+ "transport": "cli-fallback"
604
+ },
605
+ "cli": {
606
+ "attachesRunIdWhenAvailable": false,
607
+ "category": "automation",
608
+ "command": "rudder automation list --org-id <id>",
609
+ "contract": "agent-v1",
610
+ "description": "List automations for an organization with compact local filters.",
611
+ "id": "automation.list",
612
+ "mutating": false,
613
+ "requiresAgentId": false,
614
+ "requiresOrgId": true,
615
+ "requiresRunId": false
616
+ },
617
+ "id": "automation.list",
618
+ "mcp": {
619
+ "annotations": {
620
+ "destructiveHint": false,
621
+ "idempotentHint": true,
622
+ "readOnlyHint": true,
623
+ "title": "List automations for an organization with compact local filters"
624
+ },
625
+ "capabilityId": "automation.list",
626
+ "description": "List automations for an organization with compact local filters. 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: runtime env when available. Run attribution: not attached.",
627
+ "inputSchema": {
628
+ "additionalProperties": false,
629
+ "properties": {
630
+ "assigneeAgentId": {
631
+ "description": "Assignee agent id.",
632
+ "maxLength": 200,
633
+ "minLength": 1,
634
+ "type": "string"
635
+ },
636
+ "outputMode": {
637
+ "description": "Output mode filter.",
638
+ "maxLength": 100,
639
+ "minLength": 1,
640
+ "type": "string"
641
+ },
642
+ "projectId": {
643
+ "description": "Project id.",
644
+ "maxLength": 200,
645
+ "minLength": 1,
646
+ "type": "string"
647
+ },
648
+ "status": {
649
+ "description": "Automation status filter.",
650
+ "maxLength": 100,
651
+ "minLength": 1,
652
+ "type": "string"
653
+ }
654
+ },
655
+ "type": "object"
656
+ },
657
+ "name": "rudder_automation_list"
658
+ }
659
+ },
660
+ {
661
+ "api": {
662
+ "transport": "cli-fallback"
663
+ },
664
+ "cli": {
665
+ "attachesRunIdWhenAvailable": false,
666
+ "category": "automation",
667
+ "command": "rudder automation get <automation-id>",
668
+ "contract": "agent-v1",
669
+ "description": "Read one automation detail including triggers and recent runs.",
670
+ "id": "automation.get",
671
+ "mutating": false,
672
+ "requiresAgentId": false,
673
+ "requiresOrgId": false,
674
+ "requiresRunId": false
675
+ },
676
+ "id": "automation.get",
677
+ "mcp": {
678
+ "annotations": {
679
+ "destructiveHint": false,
680
+ "idempotentHint": true,
681
+ "readOnlyHint": true,
682
+ "title": "Read one automation detail including triggers and recent runs"
683
+ },
684
+ "capabilityId": "automation.get",
685
+ "description": "Read one automation detail including triggers and recent runs. Mutating: no. Runtime identity and authorization are injected by the Rudder-managed MCP server and are not accepted as tool input. Org context: not required by this tool. Agent context: runtime env when available. Run attribution: not attached.",
686
+ "inputSchema": {
687
+ "additionalProperties": false,
688
+ "properties": {
689
+ "automation": {
690
+ "description": "Automation UUID or short reference.",
691
+ "maxLength": 200,
692
+ "minLength": 1,
693
+ "type": "string"
694
+ }
695
+ },
696
+ "required": [
697
+ "automation"
698
+ ],
699
+ "type": "object"
700
+ },
701
+ "name": "rudder_automation_get"
702
+ }
703
+ },
704
+ {
705
+ "api": {
706
+ "transport": "cli-fallback"
707
+ },
708
+ "cli": {
709
+ "attachesRunIdWhenAvailable": false,
710
+ "category": "automation",
711
+ "command": "rudder automation runs <automation-id>",
712
+ "contract": "agent-v1",
713
+ "description": "List recent runs for one automation.",
714
+ "id": "automation.runs",
715
+ "mutating": false,
716
+ "requiresAgentId": false,
717
+ "requiresOrgId": false,
718
+ "requiresRunId": false
719
+ },
720
+ "id": "automation.runs",
721
+ "mcp": {
722
+ "annotations": {
723
+ "destructiveHint": false,
724
+ "idempotentHint": true,
725
+ "readOnlyHint": true,
726
+ "title": "List recent runs for one automation"
727
+ },
728
+ "capabilityId": "automation.runs",
729
+ "description": "List recent runs for one automation. Mutating: no. Runtime identity and authorization are injected by the Rudder-managed MCP server and are not accepted as tool input. Org context: not required by this tool. Agent context: runtime env when available. Run attribution: not attached.",
730
+ "inputSchema": {
731
+ "additionalProperties": false,
732
+ "properties": {
733
+ "automation": {
734
+ "description": "Automation UUID or short reference.",
735
+ "maxLength": 200,
736
+ "minLength": 1,
737
+ "type": "string"
738
+ },
739
+ "limit": {
740
+ "description": "Maximum run rows.",
741
+ "maximum": 100,
742
+ "minimum": 1,
743
+ "type": "number"
744
+ }
745
+ },
746
+ "required": [
747
+ "automation"
748
+ ],
749
+ "type": "object"
750
+ },
751
+ "name": "rudder_automation_runs"
752
+ }
753
+ },
754
+ {
755
+ "api": {
756
+ "transport": "cli-fallback"
757
+ },
758
+ "cli": {
759
+ "attachesRunIdWhenAvailable": false,
760
+ "category": "automation",
761
+ "command": "rudder automation triggers list <automation-id>",
762
+ "contract": "agent-v1",
763
+ "description": "List triggers configured for one automation.",
764
+ "id": "automation.triggers.list",
765
+ "mutating": false,
766
+ "requiresAgentId": false,
767
+ "requiresOrgId": false,
768
+ "requiresRunId": false
769
+ },
770
+ "id": "automation.triggers.list",
771
+ "mcp": {
772
+ "annotations": {
773
+ "destructiveHint": false,
774
+ "idempotentHint": true,
775
+ "readOnlyHint": true,
776
+ "title": "List triggers configured for one automation"
777
+ },
778
+ "capabilityId": "automation.triggers.list",
779
+ "description": "List triggers configured for one automation. Mutating: no. Runtime identity and authorization are injected by the Rudder-managed MCP server and are not accepted as tool input. Org context: not required by this tool. Agent context: runtime env when available. Run attribution: not attached.",
780
+ "inputSchema": {
781
+ "additionalProperties": false,
782
+ "properties": {
783
+ "automation": {
784
+ "description": "Automation UUID or short reference.",
785
+ "maxLength": 200,
786
+ "minLength": 1,
787
+ "type": "string"
788
+ }
789
+ },
790
+ "required": [
791
+ "automation"
792
+ ],
793
+ "type": "object"
794
+ },
795
+ "name": "rudder_automation_triggers_list"
796
+ }
797
+ },
798
+ {
799
+ "api": {
800
+ "transport": "cli-fallback"
801
+ },
802
+ "cli": {
803
+ "attachesRunIdWhenAvailable": true,
804
+ "category": "automation",
805
+ "command": "rudder automation triggers create <automation-id> --kind <kind>",
806
+ "contract": "agent-v1",
807
+ "description": "Create a schedule, webhook, or API trigger through the governed automation API.",
808
+ "id": "automation.triggers.create",
809
+ "mutating": true,
810
+ "requiresAgentId": false,
811
+ "requiresOrgId": false,
812
+ "requiresRunId": false
813
+ },
814
+ "id": "automation.triggers.create",
815
+ "mcp": {
816
+ "annotations": {
817
+ "destructiveHint": false,
818
+ "idempotentHint": false,
819
+ "readOnlyHint": false,
820
+ "title": "Create a schedule, webhook, or API trigger through the governed automation API"
821
+ },
822
+ "capabilityId": "automation.triggers.create",
823
+ "description": "Create a schedule, webhook, or API trigger through the governed automation API. Mutating: yes. Runtime identity and authorization are injected by the Rudder-managed MCP server and are not accepted as tool input. Org context: not required by this tool. Agent context: runtime env when available. Run attribution: attached from runtime env when available.",
824
+ "inputSchema": {
825
+ "additionalProperties": false,
826
+ "properties": {
827
+ "automation": {
828
+ "description": "Automation UUID or short reference.",
829
+ "maxLength": 200,
830
+ "minLength": 1,
831
+ "type": "string"
832
+ },
833
+ "cronExpression": {
834
+ "description": "Cron expression.",
835
+ "maxLength": 500,
836
+ "minLength": 1,
837
+ "type": "string"
838
+ },
839
+ "disabled": {
840
+ "description": "Create the trigger disabled.",
841
+ "type": "boolean"
842
+ },
843
+ "enabled": {
844
+ "description": "Create the trigger enabled.",
845
+ "type": "boolean"
846
+ },
847
+ "kind": {
848
+ "description": "Trigger kind.",
849
+ "maxLength": 100,
850
+ "minLength": 1,
851
+ "type": "string"
852
+ },
853
+ "label": {
854
+ "description": "Trigger label.",
855
+ "maxLength": 300,
856
+ "minLength": 1,
857
+ "type": "string"
858
+ },
859
+ "payload": {
860
+ "description": "JSON payload object or JSON string.",
861
+ "type": [
862
+ "object",
863
+ "string"
864
+ ]
865
+ },
866
+ "replayWindowSec": {
867
+ "description": "Webhook replay window in seconds.",
868
+ "maxLength": 30,
869
+ "minLength": 1,
870
+ "type": "string"
871
+ },
872
+ "signingMode": {
873
+ "description": "Webhook signing mode.",
874
+ "maxLength": 100,
875
+ "minLength": 1,
876
+ "type": "string"
877
+ },
878
+ "timezone": {
879
+ "description": "IANA timezone.",
880
+ "maxLength": 200,
881
+ "minLength": 1,
882
+ "type": "string"
883
+ }
884
+ },
885
+ "required": [
886
+ "automation"
887
+ ],
888
+ "type": "object"
889
+ },
890
+ "name": "rudder_automation_triggers_create"
891
+ }
892
+ },
893
+ {
894
+ "api": {
895
+ "transport": "cli-fallback"
896
+ },
897
+ "cli": {
898
+ "attachesRunIdWhenAvailable": true,
899
+ "category": "automation",
900
+ "command": "rudder automation triggers update <trigger-id>",
901
+ "contract": "agent-v1",
902
+ "description": "Update an automation trigger through the governed automation API.",
903
+ "id": "automation.triggers.update",
904
+ "mutating": true,
905
+ "requiresAgentId": false,
906
+ "requiresOrgId": false,
907
+ "requiresRunId": false
908
+ },
909
+ "id": "automation.triggers.update",
910
+ "mcp": {
911
+ "annotations": {
912
+ "destructiveHint": false,
913
+ "idempotentHint": false,
914
+ "readOnlyHint": false,
915
+ "title": "Update an automation trigger through the governed automation API"
916
+ },
917
+ "capabilityId": "automation.triggers.update",
918
+ "description": "Update an automation trigger through the governed automation API. Mutating: yes. Runtime identity and authorization are injected by the Rudder-managed MCP server and are not accepted as tool input. Org context: not required by this tool. Agent context: runtime env when available. Run attribution: attached from runtime env when available.",
919
+ "inputSchema": {
920
+ "additionalProperties": false,
921
+ "properties": {
922
+ "cronExpression": {
923
+ "description": "Cron expression.",
924
+ "maxLength": 500,
925
+ "minLength": 1,
926
+ "type": "string"
927
+ },
928
+ "disabled": {
929
+ "description": "Disable the trigger.",
930
+ "type": "boolean"
931
+ },
932
+ "enabled": {
933
+ "description": "Enable the trigger.",
934
+ "type": "boolean"
935
+ },
936
+ "label": {
937
+ "description": "Trigger label.",
938
+ "maxLength": 300,
939
+ "minLength": 1,
940
+ "type": "string"
941
+ },
942
+ "payload": {
943
+ "description": "JSON payload object or JSON string.",
944
+ "type": [
945
+ "object",
946
+ "string"
947
+ ]
948
+ },
949
+ "replayWindowSec": {
950
+ "description": "Webhook replay window in seconds.",
951
+ "maxLength": 30,
952
+ "minLength": 1,
953
+ "type": "string"
954
+ },
955
+ "signingMode": {
956
+ "description": "Webhook signing mode.",
957
+ "maxLength": 100,
958
+ "minLength": 1,
959
+ "type": "string"
960
+ },
961
+ "timezone": {
962
+ "description": "IANA timezone.",
963
+ "maxLength": 200,
964
+ "minLength": 1,
965
+ "type": "string"
966
+ },
967
+ "trigger": {
968
+ "description": "Automation trigger UUID or short reference.",
969
+ "maxLength": 200,
970
+ "minLength": 1,
971
+ "type": "string"
972
+ }
973
+ },
974
+ "required": [
975
+ "trigger"
976
+ ],
977
+ "type": "object"
978
+ },
979
+ "name": "rudder_automation_triggers_update"
980
+ }
981
+ },
982
+ {
983
+ "api": {
984
+ "transport": "cli-fallback"
985
+ },
986
+ "cli": {
987
+ "attachesRunIdWhenAvailable": true,
988
+ "category": "automation",
989
+ "command": "rudder automation triggers delete <trigger-id>",
990
+ "contract": "agent-v1",
991
+ "description": "Delete an automation trigger through the governed automation API.",
992
+ "id": "automation.triggers.delete",
993
+ "mutating": true,
994
+ "requiresAgentId": false,
995
+ "requiresOrgId": false,
996
+ "requiresRunId": false
997
+ },
998
+ "id": "automation.triggers.delete",
999
+ "mcp": {
1000
+ "annotations": {
1001
+ "destructiveHint": true,
1002
+ "idempotentHint": false,
1003
+ "readOnlyHint": false,
1004
+ "title": "Delete an automation trigger through the governed automation API"
1005
+ },
1006
+ "capabilityId": "automation.triggers.delete",
1007
+ "description": "Delete an automation trigger through the governed automation API. Mutating: yes. Runtime identity and authorization are injected by the Rudder-managed MCP server and are not accepted as tool input. Org context: not required by this tool. Agent context: runtime env when available. Run attribution: attached from runtime env when available.",
1008
+ "inputSchema": {
1009
+ "additionalProperties": false,
1010
+ "properties": {
1011
+ "trigger": {
1012
+ "description": "Automation trigger UUID or short reference.",
1013
+ "maxLength": 200,
1014
+ "minLength": 1,
1015
+ "type": "string"
1016
+ }
1017
+ },
1018
+ "required": [
1019
+ "trigger"
1020
+ ],
1021
+ "type": "object"
1022
+ },
1023
+ "name": "rudder_automation_triggers_delete"
1024
+ }
1025
+ },
1026
+ {
1027
+ "api": {
1028
+ "transport": "cli-fallback"
1029
+ },
1030
+ "cli": {
1031
+ "attachesRunIdWhenAvailable": true,
1032
+ "category": "automation",
1033
+ "command": "rudder automation triggers rotate-secret <trigger-id>",
1034
+ "contract": "agent-v1",
1035
+ "description": "Rotate an automation webhook trigger secret through the governed automation API.",
1036
+ "id": "automation.triggers.rotate-secret",
1037
+ "mutating": true,
1038
+ "requiresAgentId": false,
1039
+ "requiresOrgId": false,
1040
+ "requiresRunId": false
1041
+ },
1042
+ "id": "automation.triggers.rotate-secret",
1043
+ "mcp": {
1044
+ "annotations": {
1045
+ "destructiveHint": true,
1046
+ "idempotentHint": false,
1047
+ "readOnlyHint": false,
1048
+ "title": "Rotate an automation webhook trigger secret through the governed automation API"
1049
+ },
1050
+ "capabilityId": "automation.triggers.rotate-secret",
1051
+ "description": "Rotate an automation webhook trigger secret through the governed automation API. Mutating: yes. Runtime identity and authorization are injected by the Rudder-managed MCP server and are not accepted as tool input. Org context: not required by this tool. Agent context: runtime env when available. Run attribution: attached from runtime env when available.",
1052
+ "inputSchema": {
1053
+ "additionalProperties": false,
1054
+ "properties": {
1055
+ "trigger": {
1056
+ "description": "Automation trigger UUID or short reference.",
1057
+ "maxLength": 200,
1058
+ "minLength": 1,
1059
+ "type": "string"
1060
+ }
1061
+ },
1062
+ "required": [
1063
+ "trigger"
1064
+ ],
1065
+ "type": "object"
1066
+ },
1067
+ "name": "rudder_automation_triggers_rotate_secret"
1068
+ }
1069
+ },
1070
+ {
1071
+ "api": {
1072
+ "transport": "cli-fallback"
1073
+ },
1074
+ "cli": {
1075
+ "attachesRunIdWhenAvailable": true,
1076
+ "category": "automation",
1077
+ "command": "rudder automation create --org-id <id> --title <title> --assignee-agent-id <id>",
1078
+ "contract": "agent-v1",
1079
+ "description": "Create an automation through the governed automation API.",
1080
+ "id": "automation.create",
1081
+ "mutating": true,
1082
+ "requiresAgentId": false,
1083
+ "requiresOrgId": true,
1084
+ "requiresRunId": false
1085
+ },
1086
+ "id": "automation.create",
1087
+ "mcp": {
1088
+ "annotations": {
1089
+ "destructiveHint": false,
1090
+ "idempotentHint": false,
1091
+ "readOnlyHint": false,
1092
+ "title": "Create an automation through the governed automation API"
1093
+ },
1094
+ "capabilityId": "automation.create",
1095
+ "description": "Create an automation through the governed automation API. 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: runtime env when available. Run attribution: attached from runtime env when available.",
1096
+ "inputSchema": {
1097
+ "additionalProperties": false,
1098
+ "properties": {
1099
+ "assigneeAgentId": {
1100
+ "description": "Assignee agent id.",
1101
+ "maxLength": 200,
1102
+ "minLength": 1,
1103
+ "type": "string"
1104
+ },
1105
+ "catchUpPolicy": {
1106
+ "description": "Catch-up policy.",
1107
+ "maxLength": 100,
1108
+ "minLength": 1,
1109
+ "type": "string"
1110
+ },
1111
+ "concurrencyPolicy": {
1112
+ "description": "Concurrency policy.",
1113
+ "maxLength": 100,
1114
+ "minLength": 1,
1115
+ "type": "string"
1116
+ },
1117
+ "description": {
1118
+ "description": "Compatibility alias for instructions.",
1119
+ "maxLength": 500000,
1120
+ "minLength": 1,
1121
+ "type": "string"
1122
+ },
1123
+ "goalId": {
1124
+ "description": "Goal id.",
1125
+ "maxLength": 200,
1126
+ "minLength": 1,
1127
+ "type": "string"
1128
+ },
1129
+ "instructions": {
1130
+ "description": "Automation instructions.",
1131
+ "maxLength": 500000,
1132
+ "minLength": 1,
1133
+ "type": "string"
1134
+ },
1135
+ "notifyOnIssueCreated": {
1136
+ "description": "Notify when an issue is created.",
1137
+ "type": "boolean"
1138
+ },
1139
+ "outputMode": {
1140
+ "description": "Automation output mode.",
1141
+ "maxLength": 100,
1142
+ "minLength": 1,
1143
+ "type": "string"
1144
+ },
1145
+ "parentIssueId": {
1146
+ "description": "Parent issue id.",
1147
+ "maxLength": 200,
1148
+ "minLength": 1,
1149
+ "type": "string"
1150
+ },
1151
+ "payload": {
1152
+ "description": "JSON payload object or JSON string.",
1153
+ "type": [
1154
+ "object",
1155
+ "string"
1156
+ ]
1157
+ },
1158
+ "priority": {
1159
+ "description": "Issue priority.",
1160
+ "maxLength": 100,
1161
+ "minLength": 1,
1162
+ "type": "string"
1163
+ },
1164
+ "projectId": {
1165
+ "description": "Project id.",
1166
+ "maxLength": 200,
1167
+ "minLength": 1,
1168
+ "type": "string"
1169
+ },
1170
+ "status": {
1171
+ "description": "Automation status.",
1172
+ "maxLength": 100,
1173
+ "minLength": 1,
1174
+ "type": "string"
1175
+ },
1176
+ "title": {
1177
+ "description": "Automation title.",
1178
+ "maxLength": 500,
1179
+ "minLength": 1,
1180
+ "type": "string"
1181
+ }
1182
+ },
1183
+ "type": "object"
1184
+ },
1185
+ "name": "rudder_automation_create"
1186
+ }
1187
+ }
1188
+ ];
1189
+ //# sourceMappingURL=rudder-agent-contract-capabilities-005.js.map