@rudderhq/agent-runtime-utils 0.7.24-canary.3 → 0.7.24-canary.30
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.
- package/dist/contract-shards/rudder-agent-contract-capabilities-000.d.ts +1074 -0
- package/dist/contract-shards/rudder-agent-contract-capabilities-000.d.ts.map +1 -0
- package/dist/contract-shards/rudder-agent-contract-capabilities-000.js +1195 -0
- package/dist/contract-shards/rudder-agent-contract-capabilities-000.js.map +1 -0
- package/dist/contract-shards/rudder-agent-contract-capabilities-001.d.ts +1088 -0
- package/dist/contract-shards/rudder-agent-contract-capabilities-001.d.ts.map +1 -0
- package/dist/contract-shards/rudder-agent-contract-capabilities-001.js +1172 -0
- package/dist/contract-shards/rudder-agent-contract-capabilities-001.js.map +1 -0
- package/dist/contract-shards/rudder-agent-contract-capabilities-002.d.ts +1108 -0
- package/dist/contract-shards/rudder-agent-contract-capabilities-002.d.ts.map +1 -0
- package/dist/contract-shards/rudder-agent-contract-capabilities-002.js +1187 -0
- package/dist/contract-shards/rudder-agent-contract-capabilities-002.js.map +1 -0
- package/dist/contract-shards/rudder-agent-contract-capabilities-003.d.ts +942 -0
- package/dist/contract-shards/rudder-agent-contract-capabilities-003.d.ts.map +1 -0
- package/dist/contract-shards/rudder-agent-contract-capabilities-003.js +1155 -0
- package/dist/contract-shards/rudder-agent-contract-capabilities-003.js.map +1 -0
- package/dist/contract-shards/rudder-agent-contract-capabilities-004.d.ts +733 -0
- package/dist/contract-shards/rudder-agent-contract-capabilities-004.d.ts.map +1 -0
- package/dist/contract-shards/rudder-agent-contract-capabilities-004.js +897 -0
- package/dist/contract-shards/rudder-agent-contract-capabilities-004.js.map +1 -0
- package/dist/contract-shards/rudder-agent-contract-capabilities-005.d.ts +1025 -0
- package/dist/contract-shards/rudder-agent-contract-capabilities-005.d.ts.map +1 -0
- package/dist/contract-shards/rudder-agent-contract-capabilities-005.js +1189 -0
- package/dist/contract-shards/rudder-agent-contract-capabilities-005.js.map +1 -0
- package/dist/contract-shards/rudder-agent-contract-capabilities-006.d.ts +1094 -0
- package/dist/contract-shards/rudder-agent-contract-capabilities-006.d.ts.map +1 -0
- package/dist/contract-shards/rudder-agent-contract-capabilities-006.js +1156 -0
- package/dist/contract-shards/rudder-agent-contract-capabilities-006.js.map +1 -0
- package/dist/contract-shards/rudder-agent-contract-capabilities-007.d.ts +344 -0
- package/dist/contract-shards/rudder-agent-contract-capabilities-007.d.ts.map +1 -0
- package/dist/contract-shards/rudder-agent-contract-capabilities-007.js +365 -0
- package/dist/contract-shards/rudder-agent-contract-capabilities-007.js.map +1 -0
- package/dist/contract-shards/rudder-mcp-tool-descriptors-000.d.ts +1084 -0
- package/dist/contract-shards/rudder-mcp-tool-descriptors-000.d.ts.map +1 -0
- package/dist/contract-shards/rudder-mcp-tool-descriptors-000.js +1190 -0
- package/dist/contract-shards/rudder-mcp-tool-descriptors-000.js.map +1 -0
- package/dist/contract-shards/rudder-mcp-tool-descriptors-001.d.ts +988 -0
- package/dist/contract-shards/rudder-mcp-tool-descriptors-001.d.ts.map +1 -0
- package/dist/contract-shards/rudder-mcp-tool-descriptors-001.js +1187 -0
- package/dist/contract-shards/rudder-mcp-tool-descriptors-001.js.map +1 -0
- package/dist/contract-shards/rudder-mcp-tool-descriptors-002.d.ts +934 -0
- package/dist/contract-shards/rudder-mcp-tool-descriptors-002.d.ts.map +1 -0
- package/dist/contract-shards/rudder-mcp-tool-descriptors-002.js +1161 -0
- package/dist/contract-shards/rudder-mcp-tool-descriptors-002.js.map +1 -0
- package/dist/contract-shards/rudder-mcp-tool-descriptors-003.d.ts +1014 -0
- package/dist/contract-shards/rudder-mcp-tool-descriptors-003.d.ts.map +1 -0
- package/dist/contract-shards/rudder-mcp-tool-descriptors-003.js +1187 -0
- package/dist/contract-shards/rudder-mcp-tool-descriptors-003.js.map +1 -0
- package/dist/contract-shards/rudder-mcp-tool-descriptors-004.d.ts +987 -0
- package/dist/contract-shards/rudder-mcp-tool-descriptors-004.d.ts.map +1 -0
- package/dist/contract-shards/rudder-mcp-tool-descriptors-004.js +1059 -0
- package/dist/contract-shards/rudder-mcp-tool-descriptors-004.js.map +1 -0
- package/dist/gemini-cli-history.d.ts +4 -0
- package/dist/gemini-cli-history.d.ts.map +1 -0
- package/dist/gemini-cli-history.js +228 -0
- package/dist/gemini-cli-history.js.map +1 -0
- package/dist/native-process-runner.d.ts +2 -0
- package/dist/native-process-runner.d.ts.map +1 -1
- package/dist/native-process-runner.js +36 -18
- package/dist/native-process-runner.js.map +1 -1
- package/dist/native-process-runner.test.js +177 -4
- package/dist/native-process-runner.test.js.map +1 -1
- package/dist/rudder-agent-contract.generated.d.ts +72 -3
- package/dist/rudder-agent-contract.generated.d.ts.map +1 -1
- package/dist/rudder-agent-contract.generated.js +94 -8277
- package/dist/rudder-agent-contract.generated.js.map +1 -1
- package/dist/rudder-agent-contract.test.js +46 -4
- package/dist/rudder-agent-contract.test.js.map +1 -1
- package/dist/rudder-mcp-contract.d.ts +53 -1
- package/dist/rudder-mcp-contract.d.ts.map +1 -1
- package/dist/rudder-mcp-preflight.d.ts.map +1 -1
- package/dist/rudder-mcp-preflight.js +11 -0
- package/dist/rudder-mcp-preflight.js.map +1 -1
- package/dist/rudder-mcp-preflight.test.js +13 -0
- package/dist/rudder-mcp-preflight.test.js.map +1 -1
- package/dist/rudder-mcp-tool-descriptors.generated.d.ts +54 -2
- package/dist/rudder-mcp-tool-descriptors.generated.d.ts.map +1 -1
- package/dist/rudder-mcp-tool-descriptors.generated.js +74 -5760
- package/dist/rudder-mcp-tool-descriptors.generated.js.map +1 -1
- package/dist/session-compaction.d.ts.map +1 -1
- package/dist/session-compaction.js +0 -6
- package/dist/session-compaction.js.map +1 -1
- package/package.json +2 -2
|
@@ -0,0 +1,1195 @@
|
|
|
1
|
+
// Generated by scripts/generate-rudder-mcp-tool-descriptors.ts. Do not edit by hand.
|
|
2
|
+
export const GENERATED_RUDDER_AGENT_CONTRACT_CAPABILITIES_000 = [
|
|
3
|
+
{
|
|
4
|
+
"api": {
|
|
5
|
+
"transport": "cli-fallback"
|
|
6
|
+
},
|
|
7
|
+
"cli": {
|
|
8
|
+
"attachesRunIdWhenAvailable": true,
|
|
9
|
+
"category": "agent",
|
|
10
|
+
"command": "rudder agent skills create [agent-id] --name <name> [--enable]",
|
|
11
|
+
"contract": "agent-v1",
|
|
12
|
+
"description": "Create an agent-private skill package under AGENT_HOME/skills.",
|
|
13
|
+
"id": "agent.skills.create",
|
|
14
|
+
"mutating": true,
|
|
15
|
+
"requiresAgentId": false,
|
|
16
|
+
"requiresOrgId": false,
|
|
17
|
+
"requiresRunId": false
|
|
18
|
+
},
|
|
19
|
+
"id": "agent.skills.create",
|
|
20
|
+
"mcp": {
|
|
21
|
+
"annotations": {
|
|
22
|
+
"destructiveHint": false,
|
|
23
|
+
"idempotentHint": false,
|
|
24
|
+
"readOnlyHint": false,
|
|
25
|
+
"title": "Create an agent-private skill package under AGENT_HOME/skills"
|
|
26
|
+
},
|
|
27
|
+
"capabilityId": "agent.skills.create",
|
|
28
|
+
"description": "Create an agent-private skill package under AGENT_HOME/skills. 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.",
|
|
29
|
+
"inputSchema": {
|
|
30
|
+
"additionalProperties": false,
|
|
31
|
+
"properties": {
|
|
32
|
+
"body": {
|
|
33
|
+
"description": "Compatibility alias for markdown.",
|
|
34
|
+
"maxLength": 500000,
|
|
35
|
+
"minLength": 1,
|
|
36
|
+
"type": "string"
|
|
37
|
+
},
|
|
38
|
+
"description": {
|
|
39
|
+
"description": "Skill description.",
|
|
40
|
+
"maxLength": 100000,
|
|
41
|
+
"minLength": 1,
|
|
42
|
+
"type": "string"
|
|
43
|
+
},
|
|
44
|
+
"enable": {
|
|
45
|
+
"description": "Enable the created skill for the runtime agent.",
|
|
46
|
+
"type": "boolean"
|
|
47
|
+
},
|
|
48
|
+
"markdown": {
|
|
49
|
+
"description": "SKILL.md content.",
|
|
50
|
+
"maxLength": 500000,
|
|
51
|
+
"minLength": 1,
|
|
52
|
+
"type": "string"
|
|
53
|
+
},
|
|
54
|
+
"name": {
|
|
55
|
+
"description": "Skill display name.",
|
|
56
|
+
"maxLength": 200,
|
|
57
|
+
"minLength": 1,
|
|
58
|
+
"type": "string"
|
|
59
|
+
},
|
|
60
|
+
"slug": {
|
|
61
|
+
"description": "Skill slug.",
|
|
62
|
+
"maxLength": 200,
|
|
63
|
+
"minLength": 1,
|
|
64
|
+
"type": "string"
|
|
65
|
+
}
|
|
66
|
+
},
|
|
67
|
+
"required": [
|
|
68
|
+
"name"
|
|
69
|
+
],
|
|
70
|
+
"type": "object"
|
|
71
|
+
},
|
|
72
|
+
"name": "rudder_agent_skills_create"
|
|
73
|
+
}
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
"api": {
|
|
77
|
+
"transport": "cli-fallback"
|
|
78
|
+
},
|
|
79
|
+
"cli": {
|
|
80
|
+
"attachesRunIdWhenAvailable": true,
|
|
81
|
+
"category": "agent",
|
|
82
|
+
"command": "rudder agent skills enable <agent-id> <selection-ref...>",
|
|
83
|
+
"contract": "agent-v1",
|
|
84
|
+
"description": "Add skill selections to an agent without replacing existing enabled skills.",
|
|
85
|
+
"id": "agent.skills.enable",
|
|
86
|
+
"mutating": true,
|
|
87
|
+
"requiresAgentId": false,
|
|
88
|
+
"requiresOrgId": false,
|
|
89
|
+
"requiresRunId": false
|
|
90
|
+
},
|
|
91
|
+
"id": "agent.skills.enable",
|
|
92
|
+
"mcp": {
|
|
93
|
+
"annotations": {
|
|
94
|
+
"destructiveHint": false,
|
|
95
|
+
"idempotentHint": false,
|
|
96
|
+
"readOnlyHint": false,
|
|
97
|
+
"title": "Add skill selections to an agent without replacing existing enabled skills"
|
|
98
|
+
},
|
|
99
|
+
"capabilityId": "agent.skills.enable",
|
|
100
|
+
"description": "Add skill selections to an agent without replacing existing enabled skills. 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.",
|
|
101
|
+
"inputSchema": {
|
|
102
|
+
"additionalProperties": false,
|
|
103
|
+
"properties": {
|
|
104
|
+
"selectionRefs": {
|
|
105
|
+
"description": "Skill selection references.",
|
|
106
|
+
"items": {
|
|
107
|
+
"description": "Skill selection references.",
|
|
108
|
+
"maxLength": 8192,
|
|
109
|
+
"minLength": 1,
|
|
110
|
+
"type": "string"
|
|
111
|
+
},
|
|
112
|
+
"maxItems": 100,
|
|
113
|
+
"type": "array"
|
|
114
|
+
}
|
|
115
|
+
},
|
|
116
|
+
"required": [
|
|
117
|
+
"selectionRefs"
|
|
118
|
+
],
|
|
119
|
+
"type": "object"
|
|
120
|
+
},
|
|
121
|
+
"name": "rudder_agent_skills_enable"
|
|
122
|
+
}
|
|
123
|
+
},
|
|
124
|
+
{
|
|
125
|
+
"api": {
|
|
126
|
+
"transport": "cli-fallback"
|
|
127
|
+
},
|
|
128
|
+
"cli": {
|
|
129
|
+
"attachesRunIdWhenAvailable": true,
|
|
130
|
+
"category": "agent",
|
|
131
|
+
"command": "rudder agent skills sync <agent-id>",
|
|
132
|
+
"contract": "agent-v1",
|
|
133
|
+
"description": "Sync the desired enabled skill set for an agent.",
|
|
134
|
+
"id": "agent.skills.sync",
|
|
135
|
+
"mutating": true,
|
|
136
|
+
"requiresAgentId": false,
|
|
137
|
+
"requiresOrgId": false,
|
|
138
|
+
"requiresRunId": false
|
|
139
|
+
},
|
|
140
|
+
"id": "agent.skills.sync",
|
|
141
|
+
"mcp": {
|
|
142
|
+
"annotations": {
|
|
143
|
+
"destructiveHint": true,
|
|
144
|
+
"idempotentHint": false,
|
|
145
|
+
"readOnlyHint": false,
|
|
146
|
+
"title": "Sync the desired enabled skill set for an agent"
|
|
147
|
+
},
|
|
148
|
+
"capabilityId": "agent.skills.sync",
|
|
149
|
+
"description": "Sync the desired enabled skill set for an agent. 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.",
|
|
150
|
+
"inputSchema": {
|
|
151
|
+
"additionalProperties": false,
|
|
152
|
+
"properties": {
|
|
153
|
+
"desiredSkills": {
|
|
154
|
+
"description": "Comma-separated desired skill references.",
|
|
155
|
+
"maxLength": 20000,
|
|
156
|
+
"minLength": 1,
|
|
157
|
+
"type": "string"
|
|
158
|
+
}
|
|
159
|
+
},
|
|
160
|
+
"required": [
|
|
161
|
+
"desiredSkills"
|
|
162
|
+
],
|
|
163
|
+
"type": "object"
|
|
164
|
+
},
|
|
165
|
+
"name": "rudder_agent_skills_sync"
|
|
166
|
+
}
|
|
167
|
+
},
|
|
168
|
+
{
|
|
169
|
+
"api": {
|
|
170
|
+
"method": "GET",
|
|
171
|
+
"pathTemplate": "/api/orgs/{orgId}/goals/assigned",
|
|
172
|
+
"transport": "direct"
|
|
173
|
+
},
|
|
174
|
+
"cli": {
|
|
175
|
+
"attachesRunIdWhenAvailable": false,
|
|
176
|
+
"category": "goal",
|
|
177
|
+
"command": "rudder goal list [--lifecycle <draft|active|closed|all>] [--focus <true|false>] [--facet <facet>] [--limit <n>]",
|
|
178
|
+
"contract": "agent-v1",
|
|
179
|
+
"description": "Discover Goals owned by the authenticated Agent; defaults to active Goals and returns current progress, next step, and attention state.",
|
|
180
|
+
"id": "goal.list",
|
|
181
|
+
"mutating": false,
|
|
182
|
+
"requiresAgentId": true,
|
|
183
|
+
"requiresOrgId": true,
|
|
184
|
+
"requiresRunId": false
|
|
185
|
+
},
|
|
186
|
+
"id": "goal.list",
|
|
187
|
+
"mcp": {
|
|
188
|
+
"annotations": {
|
|
189
|
+
"destructiveHint": false,
|
|
190
|
+
"idempotentHint": true,
|
|
191
|
+
"readOnlyHint": true,
|
|
192
|
+
"title": "Discover Goals owned by the authenticated Agent"
|
|
193
|
+
},
|
|
194
|
+
"capabilityId": "goal.list",
|
|
195
|
+
"description": "Discover Goals owned by the authenticated Agent; defaults to active Goals and returns current progress, next step, and attention state. 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.",
|
|
196
|
+
"inputSchema": {
|
|
197
|
+
"additionalProperties": false,
|
|
198
|
+
"properties": {
|
|
199
|
+
"facet": {
|
|
200
|
+
"description": "Current Goal workspace facet.",
|
|
201
|
+
"enum": [
|
|
202
|
+
"agent_advancing",
|
|
203
|
+
"needs_attention",
|
|
204
|
+
"waiting_focus",
|
|
205
|
+
"waiting_external",
|
|
206
|
+
"ready_for_acceptance",
|
|
207
|
+
"closed"
|
|
208
|
+
],
|
|
209
|
+
"maxLength": 40,
|
|
210
|
+
"minLength": 1,
|
|
211
|
+
"type": "string"
|
|
212
|
+
},
|
|
213
|
+
"focus": {
|
|
214
|
+
"description": "Filter by whether the Goal is the organization Focus Goal.",
|
|
215
|
+
"type": "boolean"
|
|
216
|
+
},
|
|
217
|
+
"lifecycle": {
|
|
218
|
+
"description": "Goal lifecycle filter; active is the safe default.",
|
|
219
|
+
"enum": [
|
|
220
|
+
"draft",
|
|
221
|
+
"active",
|
|
222
|
+
"closed",
|
|
223
|
+
"all"
|
|
224
|
+
],
|
|
225
|
+
"maxLength": 20,
|
|
226
|
+
"minLength": 1,
|
|
227
|
+
"type": "string"
|
|
228
|
+
},
|
|
229
|
+
"limit": {
|
|
230
|
+
"description": "Maximum owned Goals to return.",
|
|
231
|
+
"maximum": 100,
|
|
232
|
+
"minimum": 1,
|
|
233
|
+
"type": "number"
|
|
234
|
+
}
|
|
235
|
+
},
|
|
236
|
+
"type": "object"
|
|
237
|
+
},
|
|
238
|
+
"name": "rudder_goal_list"
|
|
239
|
+
}
|
|
240
|
+
},
|
|
241
|
+
{
|
|
242
|
+
"api": {
|
|
243
|
+
"method": "GET",
|
|
244
|
+
"pathTemplate": "/api/goals/{goal}/agent-context",
|
|
245
|
+
"transport": "direct"
|
|
246
|
+
},
|
|
247
|
+
"cli": {
|
|
248
|
+
"attachesRunIdWhenAvailable": false,
|
|
249
|
+
"category": "goal",
|
|
250
|
+
"command": "rudder goal context <goal-id>",
|
|
251
|
+
"contract": "agent-v1",
|
|
252
|
+
"description": "Read the owned Goal agreement and current operating context before acting: contract revision, criteria, boundaries, progress, next step, attention, proposals, and recent feedback.",
|
|
253
|
+
"id": "goal.context",
|
|
254
|
+
"mutating": false,
|
|
255
|
+
"requiresAgentId": true,
|
|
256
|
+
"requiresOrgId": false,
|
|
257
|
+
"requiresRunId": false
|
|
258
|
+
},
|
|
259
|
+
"id": "goal.context",
|
|
260
|
+
"mcp": {
|
|
261
|
+
"annotations": {
|
|
262
|
+
"destructiveHint": false,
|
|
263
|
+
"idempotentHint": true,
|
|
264
|
+
"readOnlyHint": true,
|
|
265
|
+
"title": "Read the owned Goal agreement and current operating context before acting: contract revision, criteria, boundaries, progress, next step, attention, proposals, and recent feedback"
|
|
266
|
+
},
|
|
267
|
+
"capabilityId": "goal.context",
|
|
268
|
+
"description": "Read the owned Goal agreement and current operating context before acting: contract revision, criteria, boundaries, progress, next step, attention, proposals, and recent feedback. 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: required from runtime env. Run attribution: not attached.",
|
|
269
|
+
"inputSchema": {
|
|
270
|
+
"additionalProperties": false,
|
|
271
|
+
"properties": {
|
|
272
|
+
"goal": {
|
|
273
|
+
"description": "Goal UUID returned by rudder_goal_list.",
|
|
274
|
+
"maxLength": 200,
|
|
275
|
+
"minLength": 1,
|
|
276
|
+
"type": "string"
|
|
277
|
+
}
|
|
278
|
+
},
|
|
279
|
+
"required": [
|
|
280
|
+
"goal"
|
|
281
|
+
],
|
|
282
|
+
"type": "object"
|
|
283
|
+
},
|
|
284
|
+
"name": "rudder_goal_context"
|
|
285
|
+
}
|
|
286
|
+
},
|
|
287
|
+
{
|
|
288
|
+
"api": {
|
|
289
|
+
"method": "POST",
|
|
290
|
+
"pathTemplate": "/api/goals/{goal}/activities",
|
|
291
|
+
"transport": "direct"
|
|
292
|
+
},
|
|
293
|
+
"cli": {
|
|
294
|
+
"attachesRunIdWhenAvailable": true,
|
|
295
|
+
"category": "goal",
|
|
296
|
+
"command": "rudder goal progress <goal-id> --summary <text> --evidence-refs <json> --idempotency-key <key>",
|
|
297
|
+
"contract": "agent-v1",
|
|
298
|
+
"description": "Record evidence-backed progress for a Goal owned by the authenticated Agent and attribute it to the current Run.",
|
|
299
|
+
"id": "goal.progress",
|
|
300
|
+
"mutating": true,
|
|
301
|
+
"requiresAgentId": true,
|
|
302
|
+
"requiresOrgId": false,
|
|
303
|
+
"requiresRunId": true
|
|
304
|
+
},
|
|
305
|
+
"id": "goal.progress",
|
|
306
|
+
"mcp": {
|
|
307
|
+
"annotations": {
|
|
308
|
+
"destructiveHint": false,
|
|
309
|
+
"idempotentHint": false,
|
|
310
|
+
"readOnlyHint": false,
|
|
311
|
+
"title": "Record evidence-backed progress for a Goal owned by the authenticated Agent and attribute it to the current Run"
|
|
312
|
+
},
|
|
313
|
+
"capabilityId": "goal.progress",
|
|
314
|
+
"description": "Record evidence-backed progress for a Goal owned by the authenticated Agent and attribute it to the current Run. 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: required from runtime env. Run attribution: attached from runtime env when available.",
|
|
315
|
+
"inputSchema": {
|
|
316
|
+
"additionalProperties": false,
|
|
317
|
+
"properties": {
|
|
318
|
+
"activityKind": {
|
|
319
|
+
"description": "Progress classification.",
|
|
320
|
+
"enum": [
|
|
321
|
+
"progress",
|
|
322
|
+
"evidence",
|
|
323
|
+
"bottleneck"
|
|
324
|
+
],
|
|
325
|
+
"maxLength": 30,
|
|
326
|
+
"minLength": 1,
|
|
327
|
+
"type": "string"
|
|
328
|
+
},
|
|
329
|
+
"evidenceRefs": {
|
|
330
|
+
"description": "URI-like references to artifacts, measurements, or other supporting evidence.",
|
|
331
|
+
"items": {
|
|
332
|
+
"description": "URI-like evidence reference.",
|
|
333
|
+
"maxLength": 8192,
|
|
334
|
+
"minLength": 1,
|
|
335
|
+
"type": "string"
|
|
336
|
+
},
|
|
337
|
+
"maxItems": 100,
|
|
338
|
+
"minItems": 1,
|
|
339
|
+
"type": "array"
|
|
340
|
+
},
|
|
341
|
+
"goal": {
|
|
342
|
+
"description": "Goal UUID or typed short reference (gol_<prefix>) from the current Goal Runtime Context.",
|
|
343
|
+
"maxLength": 200,
|
|
344
|
+
"minLength": 1,
|
|
345
|
+
"type": "string"
|
|
346
|
+
},
|
|
347
|
+
"idempotencyKey": {
|
|
348
|
+
"description": "Stable key for safe retry.",
|
|
349
|
+
"maxLength": 500,
|
|
350
|
+
"minLength": 1,
|
|
351
|
+
"type": "string"
|
|
352
|
+
},
|
|
353
|
+
"summary": {
|
|
354
|
+
"description": "Plain-language progress, observed change, or named blocker.",
|
|
355
|
+
"maxLength": 100000,
|
|
356
|
+
"minLength": 1,
|
|
357
|
+
"type": "string"
|
|
358
|
+
}
|
|
359
|
+
},
|
|
360
|
+
"required": [
|
|
361
|
+
"goal",
|
|
362
|
+
"summary",
|
|
363
|
+
"evidenceRefs",
|
|
364
|
+
"idempotencyKey"
|
|
365
|
+
],
|
|
366
|
+
"type": "object"
|
|
367
|
+
},
|
|
368
|
+
"name": "rudder_goal_progress"
|
|
369
|
+
}
|
|
370
|
+
},
|
|
371
|
+
{
|
|
372
|
+
"api": {
|
|
373
|
+
"method": "POST",
|
|
374
|
+
"pathTemplate": "/api/goals/{goal}/checkpoint",
|
|
375
|
+
"transport": "direct"
|
|
376
|
+
},
|
|
377
|
+
"cli": {
|
|
378
|
+
"attachesRunIdWhenAvailable": true,
|
|
379
|
+
"category": "goal",
|
|
380
|
+
"command": "rudder goal checkpoint <goal-id> --summary <text> --evidence-refs <json> --expected-plan-revision <n> --continuation <json> --idempotency-key <key>",
|
|
381
|
+
"contract": "agent-v1",
|
|
382
|
+
"description": "Atomically persist a Goal checkpoint, optional Plan revision, continuation, checkpoint activity, and eligible automatic continuation wake.",
|
|
383
|
+
"id": "goal.checkpoint",
|
|
384
|
+
"mutating": true,
|
|
385
|
+
"requiresAgentId": true,
|
|
386
|
+
"requiresOrgId": false,
|
|
387
|
+
"requiresRunId": true
|
|
388
|
+
},
|
|
389
|
+
"id": "goal.checkpoint",
|
|
390
|
+
"mcp": {
|
|
391
|
+
"annotations": {
|
|
392
|
+
"destructiveHint": false,
|
|
393
|
+
"idempotentHint": false,
|
|
394
|
+
"readOnlyHint": false,
|
|
395
|
+
"title": "Atomically persist a Goal checkpoint, optional Plan revision, continuation, checkpoint activity, and eligible automatic continuation wake"
|
|
396
|
+
},
|
|
397
|
+
"capabilityId": "goal.checkpoint",
|
|
398
|
+
"description": "Atomically persist a Goal checkpoint, optional Plan revision, continuation, checkpoint activity, and eligible automatic continuation wake. 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: required from runtime env. Run attribution: attached from runtime env when available.",
|
|
399
|
+
"inputSchema": {
|
|
400
|
+
"additionalProperties": false,
|
|
401
|
+
"properties": {
|
|
402
|
+
"continuation": {
|
|
403
|
+
"additionalProperties": false,
|
|
404
|
+
"properties": {
|
|
405
|
+
"kind": {
|
|
406
|
+
"description": "Continuation policy.",
|
|
407
|
+
"enum": [
|
|
408
|
+
"commitment",
|
|
409
|
+
"wait",
|
|
410
|
+
"decision",
|
|
411
|
+
"verification"
|
|
412
|
+
],
|
|
413
|
+
"maxLength": 100000,
|
|
414
|
+
"minLength": 1,
|
|
415
|
+
"type": "string"
|
|
416
|
+
},
|
|
417
|
+
"summary": {
|
|
418
|
+
"description": "What should happen next or what is awaited.",
|
|
419
|
+
"maxLength": 100000,
|
|
420
|
+
"minLength": 1,
|
|
421
|
+
"type": "string"
|
|
422
|
+
},
|
|
423
|
+
"wakeCondition": {
|
|
424
|
+
"oneOf": [
|
|
425
|
+
{
|
|
426
|
+
"minLength": 1,
|
|
427
|
+
"type": "string"
|
|
428
|
+
},
|
|
429
|
+
{
|
|
430
|
+
"type": "null"
|
|
431
|
+
}
|
|
432
|
+
]
|
|
433
|
+
}
|
|
434
|
+
},
|
|
435
|
+
"required": [
|
|
436
|
+
"kind",
|
|
437
|
+
"summary"
|
|
438
|
+
],
|
|
439
|
+
"type": "object"
|
|
440
|
+
},
|
|
441
|
+
"evidenceRefs": {
|
|
442
|
+
"description": "URI-like references to artifacts, measurements, or other supporting evidence.",
|
|
443
|
+
"items": {
|
|
444
|
+
"description": "URI-like evidence reference.",
|
|
445
|
+
"maxLength": 8192,
|
|
446
|
+
"minLength": 1,
|
|
447
|
+
"type": "string"
|
|
448
|
+
},
|
|
449
|
+
"maxItems": 100,
|
|
450
|
+
"type": "array"
|
|
451
|
+
},
|
|
452
|
+
"expectedPlanRevision": {
|
|
453
|
+
"description": "Plan revision read before this checkpoint.",
|
|
454
|
+
"maximum": 1000000000,
|
|
455
|
+
"minimum": 1,
|
|
456
|
+
"type": "number"
|
|
457
|
+
},
|
|
458
|
+
"goal": {
|
|
459
|
+
"description": "Goal UUID or typed short reference (gol_<prefix>) from the current Goal Runtime Context.",
|
|
460
|
+
"maxLength": 200,
|
|
461
|
+
"minLength": 1,
|
|
462
|
+
"type": "string"
|
|
463
|
+
},
|
|
464
|
+
"idempotencyKey": {
|
|
465
|
+
"description": "Stable key for safe retry.",
|
|
466
|
+
"maxLength": 500,
|
|
467
|
+
"minLength": 1,
|
|
468
|
+
"type": "string"
|
|
469
|
+
},
|
|
470
|
+
"plan": {
|
|
471
|
+
"additionalProperties": false,
|
|
472
|
+
"description": "Optional complete next Plan revision; omit when the current Plan remains valid.",
|
|
473
|
+
"properties": {
|
|
474
|
+
"budgetAllocations": {
|
|
475
|
+
"additionalProperties": true,
|
|
476
|
+
"type": "object"
|
|
477
|
+
},
|
|
478
|
+
"hypotheses": {
|
|
479
|
+
"items": {},
|
|
480
|
+
"maxItems": 1000,
|
|
481
|
+
"type": "array"
|
|
482
|
+
},
|
|
483
|
+
"invalidationConditions": {
|
|
484
|
+
"items": {},
|
|
485
|
+
"maxItems": 1000,
|
|
486
|
+
"type": "array"
|
|
487
|
+
},
|
|
488
|
+
"rejectedPaths": {
|
|
489
|
+
"items": {},
|
|
490
|
+
"maxItems": 1000,
|
|
491
|
+
"type": "array"
|
|
492
|
+
},
|
|
493
|
+
"selectedPaths": {
|
|
494
|
+
"items": {},
|
|
495
|
+
"maxItems": 1000,
|
|
496
|
+
"type": "array"
|
|
497
|
+
},
|
|
498
|
+
"sequencing": {
|
|
499
|
+
"items": {},
|
|
500
|
+
"maxItems": 1000,
|
|
501
|
+
"type": "array"
|
|
502
|
+
},
|
|
503
|
+
"summary": {
|
|
504
|
+
"description": "Plan summary.",
|
|
505
|
+
"maxLength": 100000,
|
|
506
|
+
"minLength": 1,
|
|
507
|
+
"type": "string"
|
|
508
|
+
}
|
|
509
|
+
},
|
|
510
|
+
"required": [
|
|
511
|
+
"summary"
|
|
512
|
+
],
|
|
513
|
+
"type": "object"
|
|
514
|
+
},
|
|
515
|
+
"summary": {
|
|
516
|
+
"description": "Plain-language bounded-run checkpoint summary.",
|
|
517
|
+
"maxLength": 100000,
|
|
518
|
+
"minLength": 1,
|
|
519
|
+
"type": "string"
|
|
520
|
+
}
|
|
521
|
+
},
|
|
522
|
+
"required": [
|
|
523
|
+
"goal",
|
|
524
|
+
"summary",
|
|
525
|
+
"evidenceRefs",
|
|
526
|
+
"expectedPlanRevision",
|
|
527
|
+
"continuation",
|
|
528
|
+
"idempotencyKey"
|
|
529
|
+
],
|
|
530
|
+
"type": "object"
|
|
531
|
+
},
|
|
532
|
+
"name": "rudder_goal_checkpoint"
|
|
533
|
+
}
|
|
534
|
+
},
|
|
535
|
+
{
|
|
536
|
+
"api": {
|
|
537
|
+
"method": "POST",
|
|
538
|
+
"pathTemplate": "/api/goals/{goal}/change-proposals",
|
|
539
|
+
"transport": "direct"
|
|
540
|
+
},
|
|
541
|
+
"cli": {
|
|
542
|
+
"attachesRunIdWhenAvailable": true,
|
|
543
|
+
"category": "goal",
|
|
544
|
+
"command": "rudder goal change propose <goal-id> --contract-revision <n> --after-contract <json> --rationale <text> --idempotency-key <key>",
|
|
545
|
+
"contract": "agent-v1",
|
|
546
|
+
"description": "Propose a reviewable change to the current Goal contract when evidence shows its outcome, criteria, boundaries, or deadlines should change.",
|
|
547
|
+
"id": "goal.change.propose",
|
|
548
|
+
"mutating": true,
|
|
549
|
+
"requiresAgentId": true,
|
|
550
|
+
"requiresOrgId": false,
|
|
551
|
+
"requiresRunId": true
|
|
552
|
+
},
|
|
553
|
+
"id": "goal.change.propose",
|
|
554
|
+
"mcp": {
|
|
555
|
+
"annotations": {
|
|
556
|
+
"destructiveHint": false,
|
|
557
|
+
"idempotentHint": false,
|
|
558
|
+
"readOnlyHint": false,
|
|
559
|
+
"title": "Propose a reviewable change to the current Goal contract when evidence shows its outcome, criteria, boundaries, or deadlines should change"
|
|
560
|
+
},
|
|
561
|
+
"capabilityId": "goal.change.propose",
|
|
562
|
+
"description": "Propose a reviewable change to the current Goal contract when evidence shows its outcome, criteria, boundaries, or deadlines should change. 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: required from runtime env. Run attribution: attached from runtime env when available.",
|
|
563
|
+
"inputSchema": {
|
|
564
|
+
"additionalProperties": false,
|
|
565
|
+
"properties": {
|
|
566
|
+
"afterContract": {
|
|
567
|
+
"additionalProperties": false,
|
|
568
|
+
"description": "Only the Goal contract fields that should change.",
|
|
569
|
+
"minProperties": 1,
|
|
570
|
+
"properties": {
|
|
571
|
+
"actionDeadline": {
|
|
572
|
+
"description": "Proposed ISO-8601 action deadline, or null to clear it.",
|
|
573
|
+
"oneOf": [
|
|
574
|
+
{
|
|
575
|
+
"format": "date-time",
|
|
576
|
+
"type": "string"
|
|
577
|
+
},
|
|
578
|
+
{
|
|
579
|
+
"type": "null"
|
|
580
|
+
}
|
|
581
|
+
]
|
|
582
|
+
},
|
|
583
|
+
"autonomyEnvelope": {
|
|
584
|
+
"additionalProperties": true,
|
|
585
|
+
"type": "object"
|
|
586
|
+
},
|
|
587
|
+
"criteria": {
|
|
588
|
+
"items": {
|
|
589
|
+
"additionalProperties": false,
|
|
590
|
+
"properties": {
|
|
591
|
+
"evaluator": {
|
|
592
|
+
"description": "Criterion evaluator.",
|
|
593
|
+
"enum": [
|
|
594
|
+
"artifact",
|
|
595
|
+
"metric",
|
|
596
|
+
"policy",
|
|
597
|
+
"human"
|
|
598
|
+
],
|
|
599
|
+
"maxLength": 20,
|
|
600
|
+
"minLength": 1,
|
|
601
|
+
"type": "string"
|
|
602
|
+
},
|
|
603
|
+
"evidenceRequirements": {
|
|
604
|
+
"items": {
|
|
605
|
+
"description": "URI-like required evidence reference.",
|
|
606
|
+
"maxLength": 8192,
|
|
607
|
+
"minLength": 1,
|
|
608
|
+
"type": "string"
|
|
609
|
+
},
|
|
610
|
+
"maxItems": 100,
|
|
611
|
+
"type": "array"
|
|
612
|
+
},
|
|
613
|
+
"id": {
|
|
614
|
+
"description": "Stable criterion id.",
|
|
615
|
+
"maxLength": 500,
|
|
616
|
+
"minLength": 1,
|
|
617
|
+
"type": "string"
|
|
618
|
+
},
|
|
619
|
+
"label": {
|
|
620
|
+
"description": "Plain-language success criterion.",
|
|
621
|
+
"maxLength": 100000,
|
|
622
|
+
"minLength": 1,
|
|
623
|
+
"type": "string"
|
|
624
|
+
}
|
|
625
|
+
},
|
|
626
|
+
"required": [
|
|
627
|
+
"id",
|
|
628
|
+
"label",
|
|
629
|
+
"evaluator"
|
|
630
|
+
],
|
|
631
|
+
"type": "object"
|
|
632
|
+
},
|
|
633
|
+
"maxItems": 100,
|
|
634
|
+
"minItems": 1,
|
|
635
|
+
"type": "array"
|
|
636
|
+
},
|
|
637
|
+
"evaluationDeadline": {
|
|
638
|
+
"description": "Proposed ISO-8601 evaluation deadline, or null to clear it.",
|
|
639
|
+
"oneOf": [
|
|
640
|
+
{
|
|
641
|
+
"format": "date-time",
|
|
642
|
+
"type": "string"
|
|
643
|
+
},
|
|
644
|
+
{
|
|
645
|
+
"type": "null"
|
|
646
|
+
}
|
|
647
|
+
]
|
|
648
|
+
},
|
|
649
|
+
"evaluationPolicy": {
|
|
650
|
+
"additionalProperties": true,
|
|
651
|
+
"type": "object"
|
|
652
|
+
},
|
|
653
|
+
"humanAuthorities": {
|
|
654
|
+
"additionalProperties": true,
|
|
655
|
+
"type": "object"
|
|
656
|
+
},
|
|
657
|
+
"objectiveMode": {
|
|
658
|
+
"description": "Proposed objective mode.",
|
|
659
|
+
"enum": [
|
|
660
|
+
"target",
|
|
661
|
+
"maximize",
|
|
662
|
+
"maintain",
|
|
663
|
+
"decide"
|
|
664
|
+
],
|
|
665
|
+
"maxLength": 20,
|
|
666
|
+
"minLength": 1,
|
|
667
|
+
"type": "string"
|
|
668
|
+
},
|
|
669
|
+
"outcomeStatement": {
|
|
670
|
+
"description": "Proposed result-oriented outcome.",
|
|
671
|
+
"maxLength": 100000,
|
|
672
|
+
"minLength": 1,
|
|
673
|
+
"type": "string"
|
|
674
|
+
}
|
|
675
|
+
},
|
|
676
|
+
"type": "object"
|
|
677
|
+
},
|
|
678
|
+
"contractRevision": {
|
|
679
|
+
"description": "Current Goal contract revision.",
|
|
680
|
+
"maximum": 1000000000,
|
|
681
|
+
"minimum": 1,
|
|
682
|
+
"type": "number"
|
|
683
|
+
},
|
|
684
|
+
"evidenceRefs": {
|
|
685
|
+
"description": "URI-like references supporting the proposed change.",
|
|
686
|
+
"items": {
|
|
687
|
+
"description": "URI-like evidence reference.",
|
|
688
|
+
"maxLength": 8192,
|
|
689
|
+
"minLength": 1,
|
|
690
|
+
"type": "string"
|
|
691
|
+
},
|
|
692
|
+
"maxItems": 100,
|
|
693
|
+
"type": "array"
|
|
694
|
+
},
|
|
695
|
+
"goal": {
|
|
696
|
+
"description": "Goal UUID or typed short reference (gol_<prefix>) from the current Goal Runtime Context.",
|
|
697
|
+
"maxLength": 200,
|
|
698
|
+
"minLength": 1,
|
|
699
|
+
"type": "string"
|
|
700
|
+
},
|
|
701
|
+
"idempotencyKey": {
|
|
702
|
+
"description": "Stable key for safe retry.",
|
|
703
|
+
"maxLength": 500,
|
|
704
|
+
"minLength": 1,
|
|
705
|
+
"type": "string"
|
|
706
|
+
},
|
|
707
|
+
"rationale": {
|
|
708
|
+
"description": "Why the current contract should change and what evidence invalidated it.",
|
|
709
|
+
"maxLength": 100000,
|
|
710
|
+
"minLength": 1,
|
|
711
|
+
"type": "string"
|
|
712
|
+
}
|
|
713
|
+
},
|
|
714
|
+
"required": [
|
|
715
|
+
"goal",
|
|
716
|
+
"contractRevision",
|
|
717
|
+
"afterContract",
|
|
718
|
+
"rationale",
|
|
719
|
+
"idempotencyKey"
|
|
720
|
+
],
|
|
721
|
+
"type": "object"
|
|
722
|
+
},
|
|
723
|
+
"name": "rudder_goal_change_propose"
|
|
724
|
+
}
|
|
725
|
+
},
|
|
726
|
+
{
|
|
727
|
+
"api": {
|
|
728
|
+
"method": "POST",
|
|
729
|
+
"pathTemplate": "/api/goals/{goal}/result-proposals",
|
|
730
|
+
"transport": "direct"
|
|
731
|
+
},
|
|
732
|
+
"cli": {
|
|
733
|
+
"attachesRunIdWhenAvailable": true,
|
|
734
|
+
"category": "goal",
|
|
735
|
+
"command": "rudder goal result propose <goal-id> --contract-revision <n> --criteria <json> --evidence-refs <json> --risk-summary <text> --idempotency-key <key>",
|
|
736
|
+
"contract": "agent-v1",
|
|
737
|
+
"description": "Submit an evidence-backed Goal result for mandatory human acceptance without closing the Goal.",
|
|
738
|
+
"id": "goal.result.propose",
|
|
739
|
+
"mutating": true,
|
|
740
|
+
"requiresAgentId": true,
|
|
741
|
+
"requiresOrgId": false,
|
|
742
|
+
"requiresRunId": true
|
|
743
|
+
},
|
|
744
|
+
"id": "goal.result.propose",
|
|
745
|
+
"mcp": {
|
|
746
|
+
"annotations": {
|
|
747
|
+
"destructiveHint": false,
|
|
748
|
+
"idempotentHint": false,
|
|
749
|
+
"readOnlyHint": false,
|
|
750
|
+
"title": "Submit an evidence-backed Goal result for mandatory human acceptance without closing the Goal"
|
|
751
|
+
},
|
|
752
|
+
"capabilityId": "goal.result.propose",
|
|
753
|
+
"description": "Submit an evidence-backed Goal result for mandatory human acceptance without closing the Goal. 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: required from runtime env. Run attribution: attached from runtime env when available.",
|
|
754
|
+
"inputSchema": {
|
|
755
|
+
"additionalProperties": false,
|
|
756
|
+
"properties": {
|
|
757
|
+
"contractRevision": {
|
|
758
|
+
"description": "Current Goal contract revision.",
|
|
759
|
+
"maximum": 1000000000,
|
|
760
|
+
"minimum": 1,
|
|
761
|
+
"type": "number"
|
|
762
|
+
},
|
|
763
|
+
"criteria": {
|
|
764
|
+
"description": "Criterion outcomes for the current contract revision.",
|
|
765
|
+
"items": {
|
|
766
|
+
"additionalProperties": false,
|
|
767
|
+
"properties": {
|
|
768
|
+
"id": {
|
|
769
|
+
"description": "Criterion id from the Goal Runtime Context.",
|
|
770
|
+
"maxLength": 500,
|
|
771
|
+
"minLength": 1,
|
|
772
|
+
"type": "string"
|
|
773
|
+
},
|
|
774
|
+
"status": {
|
|
775
|
+
"description": "Observed criterion status.",
|
|
776
|
+
"enum": [
|
|
777
|
+
"met",
|
|
778
|
+
"unmet",
|
|
779
|
+
"breached",
|
|
780
|
+
"unknown"
|
|
781
|
+
],
|
|
782
|
+
"maxLength": 20,
|
|
783
|
+
"minLength": 1,
|
|
784
|
+
"type": "string"
|
|
785
|
+
}
|
|
786
|
+
},
|
|
787
|
+
"required": [
|
|
788
|
+
"id",
|
|
789
|
+
"status"
|
|
790
|
+
],
|
|
791
|
+
"type": "object"
|
|
792
|
+
},
|
|
793
|
+
"maxItems": 100,
|
|
794
|
+
"minItems": 1,
|
|
795
|
+
"type": "array"
|
|
796
|
+
},
|
|
797
|
+
"decision": {
|
|
798
|
+
"description": "Optional decision reached for decide-mode Goals.",
|
|
799
|
+
"maxLength": 100000,
|
|
800
|
+
"minLength": 1,
|
|
801
|
+
"type": "string"
|
|
802
|
+
},
|
|
803
|
+
"evidenceRefs": {
|
|
804
|
+
"description": "URI-like references supporting the proposed result.",
|
|
805
|
+
"items": {
|
|
806
|
+
"description": "URI-like evidence reference.",
|
|
807
|
+
"maxLength": 8192,
|
|
808
|
+
"minLength": 1,
|
|
809
|
+
"type": "string"
|
|
810
|
+
},
|
|
811
|
+
"maxItems": 100,
|
|
812
|
+
"minItems": 1,
|
|
813
|
+
"type": "array"
|
|
814
|
+
},
|
|
815
|
+
"goal": {
|
|
816
|
+
"description": "Goal UUID or typed short reference (gol_<prefix>) from the current Goal Runtime Context.",
|
|
817
|
+
"maxLength": 200,
|
|
818
|
+
"minLength": 1,
|
|
819
|
+
"type": "string"
|
|
820
|
+
},
|
|
821
|
+
"idempotencyKey": {
|
|
822
|
+
"description": "Stable key for safe retry.",
|
|
823
|
+
"maxLength": 500,
|
|
824
|
+
"minLength": 1,
|
|
825
|
+
"type": "string"
|
|
826
|
+
},
|
|
827
|
+
"resultPayload": {
|
|
828
|
+
"additionalProperties": true,
|
|
829
|
+
"description": "Optional structured result details.",
|
|
830
|
+
"type": "object"
|
|
831
|
+
},
|
|
832
|
+
"resultValue": {
|
|
833
|
+
"description": "Optional measured result value.",
|
|
834
|
+
"oneOf": [
|
|
835
|
+
{
|
|
836
|
+
"maxLength": 100000,
|
|
837
|
+
"type": "string"
|
|
838
|
+
},
|
|
839
|
+
{
|
|
840
|
+
"type": "number"
|
|
841
|
+
},
|
|
842
|
+
{
|
|
843
|
+
"type": "boolean"
|
|
844
|
+
}
|
|
845
|
+
]
|
|
846
|
+
},
|
|
847
|
+
"riskSummary": {
|
|
848
|
+
"description": "Known risks, limitations, or remaining gaps.",
|
|
849
|
+
"maxLength": 100000,
|
|
850
|
+
"minLength": 1,
|
|
851
|
+
"type": "string"
|
|
852
|
+
}
|
|
853
|
+
},
|
|
854
|
+
"required": [
|
|
855
|
+
"goal",
|
|
856
|
+
"contractRevision",
|
|
857
|
+
"criteria",
|
|
858
|
+
"evidenceRefs",
|
|
859
|
+
"riskSummary",
|
|
860
|
+
"idempotencyKey"
|
|
861
|
+
],
|
|
862
|
+
"type": "object"
|
|
863
|
+
},
|
|
864
|
+
"name": "rudder_goal_result_propose"
|
|
865
|
+
}
|
|
866
|
+
},
|
|
867
|
+
{
|
|
868
|
+
"api": {
|
|
869
|
+
"transport": "cli-fallback"
|
|
870
|
+
},
|
|
871
|
+
"cli": {
|
|
872
|
+
"attachesRunIdWhenAvailable": true,
|
|
873
|
+
"category": "agent",
|
|
874
|
+
"command": "rudder agent hire --org-id <id> --payload <json>",
|
|
875
|
+
"contract": "compat",
|
|
876
|
+
"description": "Create a new hire using the canonical hire workflow.",
|
|
877
|
+
"id": "agent.hire",
|
|
878
|
+
"mutating": true,
|
|
879
|
+
"requiresAgentId": false,
|
|
880
|
+
"requiresOrgId": true,
|
|
881
|
+
"requiresRunId": false
|
|
882
|
+
},
|
|
883
|
+
"id": "agent.hire",
|
|
884
|
+
"mcp": null
|
|
885
|
+
},
|
|
886
|
+
{
|
|
887
|
+
"api": {
|
|
888
|
+
"transport": "cli-fallback"
|
|
889
|
+
},
|
|
890
|
+
"cli": {
|
|
891
|
+
"attachesRunIdWhenAvailable": false,
|
|
892
|
+
"category": "agent",
|
|
893
|
+
"command": "rudder agent config index",
|
|
894
|
+
"contract": "compat",
|
|
895
|
+
"description": "Read the installed agent runtime configuration index.",
|
|
896
|
+
"id": "agent.config.index",
|
|
897
|
+
"mutating": false,
|
|
898
|
+
"requiresAgentId": false,
|
|
899
|
+
"requiresOrgId": false,
|
|
900
|
+
"requiresRunId": false
|
|
901
|
+
},
|
|
902
|
+
"id": "agent.config.index",
|
|
903
|
+
"mcp": null
|
|
904
|
+
},
|
|
905
|
+
{
|
|
906
|
+
"api": {
|
|
907
|
+
"transport": "cli-fallback"
|
|
908
|
+
},
|
|
909
|
+
"cli": {
|
|
910
|
+
"attachesRunIdWhenAvailable": false,
|
|
911
|
+
"category": "agent",
|
|
912
|
+
"command": "rudder agent config doc <agent-runtime-type>",
|
|
913
|
+
"contract": "compat",
|
|
914
|
+
"description": "Read adapter-specific configuration guidance for one runtime.",
|
|
915
|
+
"id": "agent.config.doc",
|
|
916
|
+
"mutating": false,
|
|
917
|
+
"requiresAgentId": false,
|
|
918
|
+
"requiresOrgId": false,
|
|
919
|
+
"requiresRunId": false
|
|
920
|
+
},
|
|
921
|
+
"id": "agent.config.doc",
|
|
922
|
+
"mcp": null
|
|
923
|
+
},
|
|
924
|
+
{
|
|
925
|
+
"api": {
|
|
926
|
+
"transport": "cli-fallback"
|
|
927
|
+
},
|
|
928
|
+
"cli": {
|
|
929
|
+
"attachesRunIdWhenAvailable": false,
|
|
930
|
+
"category": "agent",
|
|
931
|
+
"command": "rudder agent config list --org-id <id>",
|
|
932
|
+
"contract": "compat",
|
|
933
|
+
"description": "List redacted agent configuration snapshots for an organization.",
|
|
934
|
+
"id": "agent.config.list",
|
|
935
|
+
"mutating": false,
|
|
936
|
+
"requiresAgentId": false,
|
|
937
|
+
"requiresOrgId": true,
|
|
938
|
+
"requiresRunId": false
|
|
939
|
+
},
|
|
940
|
+
"id": "agent.config.list",
|
|
941
|
+
"mcp": null
|
|
942
|
+
},
|
|
943
|
+
{
|
|
944
|
+
"api": {
|
|
945
|
+
"transport": "cli-fallback"
|
|
946
|
+
},
|
|
947
|
+
"cli": {
|
|
948
|
+
"attachesRunIdWhenAvailable": false,
|
|
949
|
+
"category": "agent",
|
|
950
|
+
"command": "rudder agent config get <agent-id-or-shortname>",
|
|
951
|
+
"contract": "compat",
|
|
952
|
+
"description": "Read one redacted agent configuration snapshot by id or shortname.",
|
|
953
|
+
"id": "agent.config.get",
|
|
954
|
+
"mutating": false,
|
|
955
|
+
"requiresAgentId": false,
|
|
956
|
+
"requiresOrgId": false,
|
|
957
|
+
"requiresRunId": false
|
|
958
|
+
},
|
|
959
|
+
"id": "agent.config.get",
|
|
960
|
+
"mcp": null
|
|
961
|
+
},
|
|
962
|
+
{
|
|
963
|
+
"api": {
|
|
964
|
+
"transport": "cli-fallback"
|
|
965
|
+
},
|
|
966
|
+
"cli": {
|
|
967
|
+
"attachesRunIdWhenAvailable": false,
|
|
968
|
+
"category": "agent",
|
|
969
|
+
"command": "rudder agent icons",
|
|
970
|
+
"contract": "compat",
|
|
971
|
+
"description": "List legacy named agent icons for compatibility/debugging; normal create and hire payloads should omit icon.",
|
|
972
|
+
"id": "agent.icons",
|
|
973
|
+
"mutating": false,
|
|
974
|
+
"requiresAgentId": false,
|
|
975
|
+
"requiresOrgId": false,
|
|
976
|
+
"requiresRunId": false
|
|
977
|
+
},
|
|
978
|
+
"id": "agent.icons",
|
|
979
|
+
"mcp": null
|
|
980
|
+
},
|
|
981
|
+
{
|
|
982
|
+
"api": {
|
|
983
|
+
"method": "GET",
|
|
984
|
+
"pathTemplate": "/api/issues/{issue}",
|
|
985
|
+
"transport": "direct"
|
|
986
|
+
},
|
|
987
|
+
"cli": {
|
|
988
|
+
"attachesRunIdWhenAvailable": false,
|
|
989
|
+
"category": "issue",
|
|
990
|
+
"command": "rudder issue get <issue>",
|
|
991
|
+
"contract": "agent-v1",
|
|
992
|
+
"description": "Read a full issue by UUID or identifier.",
|
|
993
|
+
"id": "issue.get",
|
|
994
|
+
"mutating": false,
|
|
995
|
+
"requiresAgentId": false,
|
|
996
|
+
"requiresOrgId": false,
|
|
997
|
+
"requiresRunId": false
|
|
998
|
+
},
|
|
999
|
+
"id": "issue.get",
|
|
1000
|
+
"mcp": {
|
|
1001
|
+
"annotations": {
|
|
1002
|
+
"destructiveHint": false,
|
|
1003
|
+
"idempotentHint": true,
|
|
1004
|
+
"readOnlyHint": true,
|
|
1005
|
+
"title": "Read a full issue by UUID or identifier"
|
|
1006
|
+
},
|
|
1007
|
+
"capabilityId": "issue.get",
|
|
1008
|
+
"description": "Read a full issue by UUID or identifier. 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.",
|
|
1009
|
+
"inputSchema": {
|
|
1010
|
+
"additionalProperties": false,
|
|
1011
|
+
"properties": {
|
|
1012
|
+
"issue": {
|
|
1013
|
+
"description": "Issue UUID, identifier, or short reference.",
|
|
1014
|
+
"maxLength": 200,
|
|
1015
|
+
"minLength": 1,
|
|
1016
|
+
"type": "string"
|
|
1017
|
+
}
|
|
1018
|
+
},
|
|
1019
|
+
"required": [
|
|
1020
|
+
"issue"
|
|
1021
|
+
],
|
|
1022
|
+
"type": "object"
|
|
1023
|
+
},
|
|
1024
|
+
"name": "rudder_issue_get"
|
|
1025
|
+
}
|
|
1026
|
+
},
|
|
1027
|
+
{
|
|
1028
|
+
"api": {
|
|
1029
|
+
"transport": "cli-fallback"
|
|
1030
|
+
},
|
|
1031
|
+
"cli": {
|
|
1032
|
+
"attachesRunIdWhenAvailable": false,
|
|
1033
|
+
"category": "issue",
|
|
1034
|
+
"command": "rudder issue list --org-id <id>",
|
|
1035
|
+
"contract": "agent-v1",
|
|
1036
|
+
"description": "List issues with optional status, assignee, and project filters without requiring a search query.",
|
|
1037
|
+
"id": "issue.list",
|
|
1038
|
+
"mutating": false,
|
|
1039
|
+
"requiresAgentId": false,
|
|
1040
|
+
"requiresOrgId": true,
|
|
1041
|
+
"requiresRunId": false
|
|
1042
|
+
},
|
|
1043
|
+
"id": "issue.list",
|
|
1044
|
+
"mcp": {
|
|
1045
|
+
"annotations": {
|
|
1046
|
+
"destructiveHint": false,
|
|
1047
|
+
"idempotentHint": true,
|
|
1048
|
+
"readOnlyHint": true,
|
|
1049
|
+
"title": "List issues with optional status, assignee, and project filters without requiring a search query"
|
|
1050
|
+
},
|
|
1051
|
+
"capabilityId": "issue.list",
|
|
1052
|
+
"description": "List issues with optional status, assignee, and project filters without requiring a search query. 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.",
|
|
1053
|
+
"inputSchema": {
|
|
1054
|
+
"additionalProperties": false,
|
|
1055
|
+
"properties": {
|
|
1056
|
+
"assigneeAgentId": {
|
|
1057
|
+
"description": "Assignee agent id or reference.",
|
|
1058
|
+
"maxLength": 200,
|
|
1059
|
+
"minLength": 1,
|
|
1060
|
+
"type": "string"
|
|
1061
|
+
},
|
|
1062
|
+
"projectId": {
|
|
1063
|
+
"description": "Project id or reference.",
|
|
1064
|
+
"maxLength": 200,
|
|
1065
|
+
"minLength": 1,
|
|
1066
|
+
"type": "string"
|
|
1067
|
+
},
|
|
1068
|
+
"status": {
|
|
1069
|
+
"description": "Comma-separated issue statuses.",
|
|
1070
|
+
"maxLength": 500,
|
|
1071
|
+
"minLength": 1,
|
|
1072
|
+
"type": "string"
|
|
1073
|
+
}
|
|
1074
|
+
},
|
|
1075
|
+
"type": "object"
|
|
1076
|
+
},
|
|
1077
|
+
"name": "rudder_issue_list"
|
|
1078
|
+
}
|
|
1079
|
+
},
|
|
1080
|
+
{
|
|
1081
|
+
"api": {
|
|
1082
|
+
"transport": "cli-fallback"
|
|
1083
|
+
},
|
|
1084
|
+
"cli": {
|
|
1085
|
+
"attachesRunIdWhenAvailable": false,
|
|
1086
|
+
"category": "issue",
|
|
1087
|
+
"command": "rudder issue search <query> [--org-id <id>]",
|
|
1088
|
+
"contract": "agent-v1",
|
|
1089
|
+
"description": "Search issues with the server-side issue index across title, identifier, description, and comments.",
|
|
1090
|
+
"id": "issue.search",
|
|
1091
|
+
"mutating": false,
|
|
1092
|
+
"requiresAgentId": false,
|
|
1093
|
+
"requiresOrgId": true,
|
|
1094
|
+
"requiresRunId": false
|
|
1095
|
+
},
|
|
1096
|
+
"id": "issue.search",
|
|
1097
|
+
"mcp": {
|
|
1098
|
+
"annotations": {
|
|
1099
|
+
"destructiveHint": false,
|
|
1100
|
+
"idempotentHint": true,
|
|
1101
|
+
"readOnlyHint": true,
|
|
1102
|
+
"title": "Search issues with the server-side issue index across title, identifier, description, and comments"
|
|
1103
|
+
},
|
|
1104
|
+
"capabilityId": "issue.search",
|
|
1105
|
+
"description": "Search issues with the server-side issue index across title, identifier, description, and comments. 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.",
|
|
1106
|
+
"inputSchema": {
|
|
1107
|
+
"additionalProperties": false,
|
|
1108
|
+
"properties": {
|
|
1109
|
+
"assigneeAgentId": {
|
|
1110
|
+
"description": "Assignee agent id or reference.",
|
|
1111
|
+
"maxLength": 200,
|
|
1112
|
+
"minLength": 1,
|
|
1113
|
+
"type": "string"
|
|
1114
|
+
},
|
|
1115
|
+
"projectId": {
|
|
1116
|
+
"description": "Project id or reference.",
|
|
1117
|
+
"maxLength": 200,
|
|
1118
|
+
"minLength": 1,
|
|
1119
|
+
"type": "string"
|
|
1120
|
+
},
|
|
1121
|
+
"query": {
|
|
1122
|
+
"description": "Non-empty server-side issue search query.",
|
|
1123
|
+
"maxLength": 2000,
|
|
1124
|
+
"minLength": 1,
|
|
1125
|
+
"type": "string"
|
|
1126
|
+
},
|
|
1127
|
+
"status": {
|
|
1128
|
+
"description": "Comma-separated issue statuses.",
|
|
1129
|
+
"maxLength": 500,
|
|
1130
|
+
"minLength": 1,
|
|
1131
|
+
"type": "string"
|
|
1132
|
+
}
|
|
1133
|
+
},
|
|
1134
|
+
"required": [
|
|
1135
|
+
"query"
|
|
1136
|
+
],
|
|
1137
|
+
"type": "object"
|
|
1138
|
+
},
|
|
1139
|
+
"name": "rudder_issue_search"
|
|
1140
|
+
}
|
|
1141
|
+
},
|
|
1142
|
+
{
|
|
1143
|
+
"api": {
|
|
1144
|
+
"method": "GET",
|
|
1145
|
+
"pathTemplate": "/api/issues/{issue}/heartbeat-context",
|
|
1146
|
+
"transport": "direct"
|
|
1147
|
+
},
|
|
1148
|
+
"cli": {
|
|
1149
|
+
"attachesRunIdWhenAvailable": false,
|
|
1150
|
+
"category": "issue",
|
|
1151
|
+
"command": "rudder issue context <issue> [--wake-comment-id <comment-id-or-cmt-ref>]",
|
|
1152
|
+
"contract": "agent-v1",
|
|
1153
|
+
"description": "Read the compact heartbeat context for an issue; wake comments may be addressed by full id or cmt_<uuid-prefix>.",
|
|
1154
|
+
"id": "issue.context",
|
|
1155
|
+
"mutating": false,
|
|
1156
|
+
"requiresAgentId": false,
|
|
1157
|
+
"requiresOrgId": false,
|
|
1158
|
+
"requiresRunId": false
|
|
1159
|
+
},
|
|
1160
|
+
"id": "issue.context",
|
|
1161
|
+
"mcp": {
|
|
1162
|
+
"annotations": {
|
|
1163
|
+
"destructiveHint": false,
|
|
1164
|
+
"idempotentHint": true,
|
|
1165
|
+
"readOnlyHint": true,
|
|
1166
|
+
"title": "Read the compact heartbeat context for an issue"
|
|
1167
|
+
},
|
|
1168
|
+
"capabilityId": "issue.context",
|
|
1169
|
+
"description": "Read the compact heartbeat context for an issue; wake comments may be addressed by full id or cmt_<uuid-prefix>. 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.",
|
|
1170
|
+
"inputSchema": {
|
|
1171
|
+
"additionalProperties": false,
|
|
1172
|
+
"properties": {
|
|
1173
|
+
"issue": {
|
|
1174
|
+
"description": "Issue UUID, identifier, or short reference.",
|
|
1175
|
+
"maxLength": 200,
|
|
1176
|
+
"minLength": 1,
|
|
1177
|
+
"type": "string"
|
|
1178
|
+
},
|
|
1179
|
+
"wakeCommentId": {
|
|
1180
|
+
"description": "Wake comment id or short reference.",
|
|
1181
|
+
"maxLength": 200,
|
|
1182
|
+
"minLength": 1,
|
|
1183
|
+
"type": "string"
|
|
1184
|
+
}
|
|
1185
|
+
},
|
|
1186
|
+
"required": [
|
|
1187
|
+
"issue"
|
|
1188
|
+
],
|
|
1189
|
+
"type": "object"
|
|
1190
|
+
},
|
|
1191
|
+
"name": "rudder_issue_context"
|
|
1192
|
+
}
|
|
1193
|
+
}
|
|
1194
|
+
];
|
|
1195
|
+
//# sourceMappingURL=rudder-agent-contract-capabilities-000.js.map
|