@culture.dev/agents 0.17.3 → 0.18.0
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-schemas/api.json +14 -11
- package/dist/contract-schemas/common.json +53 -0
- package/dist/contract-schemas/control-action.json +78 -9
- package/dist/contract-schemas/event.json +4 -0
- package/dist/contract-schemas/remote.json +20 -3
- package/dist/contract-schemas/run.json +8 -0
- package/dist/contract-schemas/version.json +1 -1
- package/dist/src/contract/generated/common.d.ts +15 -0
- package/dist/src/contract/generated/control-action.d.ts +17 -7
- package/dist/src/contract/generated/event.d.ts +3 -1
- package/dist/src/contract/generated/index.d.ts +6 -2
- package/dist/src/contract/generated/remote.d.ts +10 -3
- package/dist/src/contract/generated/run.d.ts +5 -1
- package/dist/src/contract/generated/version.d.ts +1 -1
- package/dist/src/daemon/main.js +5 -3
- package/dist/src/daemon/main.js.map +1 -1
- package/dist/src/daemon/ports.d.ts +7 -1
- package/dist/src/daemon/routes.js +2 -1
- package/dist/src/daemon/routes.js.map +1 -1
- package/dist/src/fleet/bundle.d.ts +2 -2
- package/dist/src/fleet/bundle.js +2 -2
- package/dist/src/fleet/bundle.js.map +1 -1
- package/dist/src/fleet/remote.d.ts +5 -2
- package/dist/src/fleet/remote.js +5 -2
- package/dist/src/fleet/remote.js.map +1 -1
- package/dist/src/fleet/serve-runs.d.ts +4 -2
- package/dist/src/fleet/serve-runs.js +7 -3
- package/dist/src/fleet/serve-runs.js.map +1 -1
- package/dist/src/index.d.ts +1 -1
- package/dist/src/index.js +1 -1
- package/dist/src/runs/answer.d.ts +3 -2
- package/dist/src/runs/answer.js.map +1 -1
- package/dist/src/runs/control.js +1 -0
- package/dist/src/runs/control.js.map +1 -1
- package/dist/src/runs/keys.d.ts +2 -2
- package/dist/src/runs/keys.js +1 -1
- package/dist/src/runs/keys.js.map +1 -1
- package/dist/src/runs/scan.d.ts +7 -0
- package/dist/src/runs/scan.js +10 -1
- package/dist/src/runs/scan.js.map +1 -1
- package/dist/src/runs/service.d.ts +9 -0
- package/dist/src/runs/service.js +26 -6
- package/dist/src/runs/service.js.map +1 -1
- package/dist/src/runs/submit.d.ts +2 -0
- package/dist/src/runs/submit.js +7 -1
- package/dist/src/runs/submit.js.map +1 -1
- package/dist/src/runs/token.d.ts +24 -0
- package/dist/src/runs/token.js +81 -0
- package/dist/src/runs/token.js.map +1 -0
- package/dist/src/store/event-log.d.ts +5 -2
- package/dist/src/store/event-log.js +9 -3
- package/dist/src/store/event-log.js.map +1 -1
- package/dist/src/store/files.d.ts +2 -0
- package/dist/src/store/files.js +2 -0
- package/dist/src/store/files.js.map +1 -1
- package/dist/src/store/run-store.js +9 -1
- package/dist/src/store/run-store.js.map +1 -1
- package/dist/src/store/version.d.ts +6 -2
- package/dist/src/store/version.js +6 -2
- package/dist/src/store/version.js.map +1 -1
- package/dist/src/trace/otlp.d.ts +7 -1
- package/dist/src/trace/otlp.js +10 -1
- package/dist/src/trace/otlp.js.map +1 -1
- package/dist/src/trace/spans.d.ts +2 -0
- package/dist/src/trace/spans.js +4 -2
- package/dist/src/trace/spans.js.map +1 -1
- package/dist/src/worker/answer.d.ts +3 -3
- package/dist/src/worker/answer.js.map +1 -1
- package/dist/src/worker/control.d.ts +3 -1
- package/dist/src/worker/control.js +12 -6
- package/dist/src/worker/control.js.map +1 -1
- package/dist/src/worker/run-loop.js +1 -1
- package/dist/src/worker/run-loop.js.map +1 -1
- package/dist/src/worker/spawn.d.ts +3 -3
- package/dist/src/worker/spawn.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"api_version": "
|
|
2
|
+
"api_version": "4.0",
|
|
3
3
|
"schema_base": "https://culture.dev/contract/agents/",
|
|
4
4
|
"description": "Index of the culture-agents control-plane API. Semantics live in contract/README.md; payload shapes in the schema files named here, resolved against schema_base.",
|
|
5
5
|
"transport": {
|
|
@@ -216,7 +216,7 @@
|
|
|
216
216
|
"id": "runs.submit",
|
|
217
217
|
"method": "POST",
|
|
218
218
|
"path": "/v1/runs",
|
|
219
|
-
"summary": "Create a run; returns once the worker's PID, event log and cursor are on disk. A repeat of an idempotency key returns the first run.",
|
|
219
|
+
"summary": "Create a run; returns once the worker's PID, event log and cursor are on disk. A repeat of an idempotency key returns the first run. The response carries the run's token (4.0); a replay returns a new one.",
|
|
220
220
|
"cli": "agents runs submit",
|
|
221
221
|
"d1": "supported",
|
|
222
222
|
"request": "control-action.json#/$defs/submit_request",
|
|
@@ -387,7 +387,7 @@
|
|
|
387
387
|
"id": "runs.steer",
|
|
388
388
|
"method": "POST",
|
|
389
389
|
"path": "/v1/runs/{run_id}/steer",
|
|
390
|
-
"summary": "Deliver a mid-run instruction to a running run.",
|
|
390
|
+
"summary": "Deliver a mid-run instruction to a running run. Refused with `denied` unless the body carries the run's token (4.0).",
|
|
391
391
|
"cli": "agents runs steer",
|
|
392
392
|
"d1": "supported",
|
|
393
393
|
"request": "control-action.json#/$defs/steer_request",
|
|
@@ -406,14 +406,15 @@
|
|
|
406
406
|
"not_found",
|
|
407
407
|
"conflict",
|
|
408
408
|
"unsupported",
|
|
409
|
-
"unavailable"
|
|
409
|
+
"unavailable",
|
|
410
|
+
"denied"
|
|
410
411
|
]
|
|
411
412
|
},
|
|
412
413
|
{
|
|
413
414
|
"id": "runs.cancel",
|
|
414
415
|
"method": "POST",
|
|
415
416
|
"path": "/v1/runs/{run_id}/cancel",
|
|
416
|
-
"summary": "Start cancellation; the run moves to cancelling, then a terminal state.",
|
|
417
|
+
"summary": "Start cancellation; the run moves to cancelling, then a terminal state. Refused with `denied` unless the body carries the run's token (4.0).",
|
|
417
418
|
"cli": "agents runs cancel",
|
|
418
419
|
"d1": "supported",
|
|
419
420
|
"request": "control-action.json#/$defs/cancel_request",
|
|
@@ -432,7 +433,8 @@
|
|
|
432
433
|
"not_found",
|
|
433
434
|
"conflict",
|
|
434
435
|
"unsupported",
|
|
435
|
-
"unavailable"
|
|
436
|
+
"unavailable",
|
|
437
|
+
"denied"
|
|
436
438
|
]
|
|
437
439
|
},
|
|
438
440
|
{
|
|
@@ -487,7 +489,7 @@
|
|
|
487
489
|
"id": "runs.answer",
|
|
488
490
|
"method": "POST",
|
|
489
491
|
"path": "/v1/runs/{run_id}/answer",
|
|
490
|
-
"summary": "Answer one pending question of a run. Refused with unsupported, capability answer, when the run's harness cannot ask.",
|
|
492
|
+
"summary": "Answer one pending question of a run. Refused with unsupported, capability answer, when the run's harness cannot ask. Refused with `denied` unless the body carries the run's token (4.0).",
|
|
491
493
|
"cli": "agents runs answer",
|
|
492
494
|
"d1": "unsupported",
|
|
493
495
|
"request": "control-action.json#/$defs/answer_request",
|
|
@@ -506,7 +508,8 @@
|
|
|
506
508
|
"not_found",
|
|
507
509
|
"unsupported",
|
|
508
510
|
"conflict",
|
|
509
|
-
"unavailable"
|
|
511
|
+
"unavailable",
|
|
512
|
+
"denied"
|
|
510
513
|
]
|
|
511
514
|
},
|
|
512
515
|
{
|
|
@@ -579,7 +582,7 @@
|
|
|
579
582
|
"id": "fleet.runs.submit",
|
|
580
583
|
"method": "POST",
|
|
581
584
|
"path": "/v1/fleet/runs",
|
|
582
|
-
"summary": "Submit a run to the fleet member that the agent_id's node names, over the fleet transport; the repository is an alias that member defines (added in 3.2).",
|
|
585
|
+
"summary": "Submit a run to the fleet member that the agent_id's node names, over the fleet transport; the repository is an alias that member defines (added in 3.2). The response carries the run's token from that member (4.0).",
|
|
583
586
|
"cli": "agents runs submit --alias",
|
|
584
587
|
"d1": "supported",
|
|
585
588
|
"request": "remote.json#/$defs/submit_request",
|
|
@@ -690,7 +693,7 @@
|
|
|
690
693
|
"id": "fleet.runs.steer",
|
|
691
694
|
"method": "POST",
|
|
692
695
|
"path": "/v1/fleet/runs/{run_id}/steer",
|
|
693
|
-
"summary": "Deliver a mid-run instruction to a run on another member, over the fleet transport (added in 3.2).",
|
|
696
|
+
"summary": "Deliver a mid-run instruction to a run on another member, over the fleet transport (added in 3.2). Refused with `denied` unless the body carries the run's token (4.0).",
|
|
694
697
|
"cli": "agents runs steer (remote run)",
|
|
695
698
|
"d1": "supported",
|
|
696
699
|
"request": "control-action.json#/$defs/steer_request",
|
|
@@ -717,7 +720,7 @@
|
|
|
717
720
|
"id": "fleet.runs.cancel",
|
|
718
721
|
"method": "POST",
|
|
719
722
|
"path": "/v1/fleet/runs/{run_id}/cancel",
|
|
720
|
-
"summary": "Cancel a run on another member, over the fleet transport (added in 3.2).",
|
|
723
|
+
"summary": "Cancel a run on another member, over the fleet transport (added in 3.2). Refused with `denied` unless the body carries the run's token (4.0).",
|
|
721
724
|
"cli": "agents runs cancel (remote run)",
|
|
722
725
|
"d1": "supported",
|
|
723
726
|
"request": "control-action.json#/$defs/cancel_request",
|
|
@@ -101,6 +101,59 @@
|
|
|
101
101
|
"type": "string",
|
|
102
102
|
"pattern": "^[0-9a-f]{40}$"
|
|
103
103
|
},
|
|
104
|
+
"caller_ref": {
|
|
105
|
+
"description": "A caller's own reference for a run (4.0), for example the room and thread a chat bridge started it from and the chat identity that may answer it. Supplied at submit, stored with the run and returned unchanged on the run and on every event of its log. Opaque to the core: it never reads, compares or acts on it, and nothing in it is a control command or grants anything. Untrusted data. `scheme` names the system that made the reference; `values` holds up to 8 short named texts.",
|
|
106
|
+
"type": "object",
|
|
107
|
+
"additionalProperties": false,
|
|
108
|
+
"required": ["scheme", "values"],
|
|
109
|
+
"properties": {
|
|
110
|
+
"scheme": {
|
|
111
|
+
"description": "Who made the reference and how to read it, for example `culture-chat`. A lowercase word.",
|
|
112
|
+
"type": "string",
|
|
113
|
+
"pattern": "^[a-z0-9][a-z0-9._-]{0,63}$"
|
|
114
|
+
},
|
|
115
|
+
"values": {
|
|
116
|
+
"description": "Named texts, for example `room`, `thread`, `participant`. Names are lowercase words; each value is 1 to 256 characters with no control character.",
|
|
117
|
+
"type": "object",
|
|
118
|
+
"minProperties": 1,
|
|
119
|
+
"maxProperties": 8,
|
|
120
|
+
"additionalProperties": false,
|
|
121
|
+
"patternProperties": {
|
|
122
|
+
"^[a-z][a-z0-9_]{0,31}$": {
|
|
123
|
+
"type": "string",
|
|
124
|
+
"minLength": 1,
|
|
125
|
+
"maxLength": 256,
|
|
126
|
+
"pattern": "^[^\\u0000-\\u001f\\u007f-\\u009f]+$"
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
},
|
|
132
|
+
"traceparent": {
|
|
133
|
+
"description": "A W3C Trace Context `traceparent` value, version 00: `00-<trace-id>-<parent-id>-<trace-flags>`, lowercase hex (32, 16 and 2 digits). Neither the trace id nor the parent id is all zeros.",
|
|
134
|
+
"type": "string",
|
|
135
|
+
"pattern": "^00-[0-9a-f]{32}-[0-9a-f]{16}-[0-9a-f]{2}$",
|
|
136
|
+
"not": {
|
|
137
|
+
"anyOf": [
|
|
138
|
+
{ "pattern": "^00-0{32}-" },
|
|
139
|
+
{ "pattern": "^00-[0-9a-f]{32}-0{16}-" }
|
|
140
|
+
]
|
|
141
|
+
}
|
|
142
|
+
},
|
|
143
|
+
"trace_context": {
|
|
144
|
+
"description": "A run's W3C trace context (4.0, deviation d3), computed by the core that holds the run each time it serves it, never stored. `traceparent` names the run's trace (the trace id of every span the core's trace exporter sends for the run) and, as the parent id, the run's root span. Its sampled flag (`01`) is set exactly when that core exports traces at the time of the read; with `00` the ids are still the ones the exporter uses for the run whenever it does send it. A client may mark its own records with this trace (as a child of the root span) so they are found from the run's trace. Closed: no `tracestate`, which the core does not have (README: trace context).",
|
|
145
|
+
"type": "object",
|
|
146
|
+
"additionalProperties": false,
|
|
147
|
+
"required": ["traceparent"],
|
|
148
|
+
"properties": {
|
|
149
|
+
"traceparent": { "$ref": "#/$defs/traceparent" }
|
|
150
|
+
}
|
|
151
|
+
},
|
|
152
|
+
"run_token": {
|
|
153
|
+
"description": "The per-run token (4.0): 32 random bytes, base64url without padding. The core makes it when it accepts a submit and returns it only in that submit's response (README: run tokens). `steer`, `cancel` and `answer` of the run must carry it. It is never part of a run, an event, an action record, a log or a broker message, and the core stores only its SHA-256.",
|
|
154
|
+
"type": "string",
|
|
155
|
+
"pattern": "^[A-Za-z0-9_-]{43}$"
|
|
156
|
+
},
|
|
104
157
|
"principal": {
|
|
105
158
|
"description": "Who asked, as the request says: an operator or an agent, by mesh id. The core records it as supplied and does not authenticate it; authority comes from the owner-only socket and the allow-list, not from this field. What the core itself established about the caller is the run's `submitter`.",
|
|
106
159
|
"type": "object",
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
]
|
|
17
17
|
},
|
|
18
18
|
"action_record": {
|
|
19
|
-
"description": "One control action against a run, as recorded in the run's event log and returned by an accepting route.",
|
|
19
|
+
"description": "One control action against a run, as recorded in the run's event log and returned by an accepting route. `without_token` marks a cancel made without the run's token.",
|
|
20
20
|
"type": "object",
|
|
21
21
|
"additionalProperties": false,
|
|
22
22
|
"required": [
|
|
@@ -71,6 +71,10 @@
|
|
|
71
71
|
"type": "null"
|
|
72
72
|
}
|
|
73
73
|
]
|
|
74
|
+
},
|
|
75
|
+
"without_token": {
|
|
76
|
+
"description": "Present, and true, only on a cancel that the socket's owner made without the run's token (4.0, deviation d1; README: run tokens). Omitted otherwise.",
|
|
77
|
+
"const": true
|
|
74
78
|
}
|
|
75
79
|
},
|
|
76
80
|
"if": {
|
|
@@ -96,10 +100,26 @@
|
|
|
96
100
|
"type": "null"
|
|
97
101
|
}
|
|
98
102
|
}
|
|
99
|
-
}
|
|
103
|
+
},
|
|
104
|
+
"allOf": [
|
|
105
|
+
{
|
|
106
|
+
"if": {
|
|
107
|
+
"required": [
|
|
108
|
+
"without_token"
|
|
109
|
+
]
|
|
110
|
+
},
|
|
111
|
+
"then": {
|
|
112
|
+
"properties": {
|
|
113
|
+
"kind": {
|
|
114
|
+
"const": "cancel"
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
]
|
|
100
120
|
},
|
|
101
121
|
"submit_request": {
|
|
102
|
-
"description": "Body of POST /v1/runs. Optional fields are omitted, never null. Setting `session_id` asks for `continue_session` and setting `parent_run_id` asks for `delegate`; both are refused with `unsupported` in this API version. An `agent_id` whose node is not the core's node asks for `placement`, which is refused with `unsupported` until part two builds it (planned). No field of this request sets the run's `submitter` or `base_commit`.",
|
|
122
|
+
"description": "Body of POST /v1/runs. Optional fields are omitted, never null. Setting `session_id` asks for `continue_session` and setting `parent_run_id` asks for `delegate`; both are refused with `unsupported` in this API version. An `agent_id` whose node is not the core's node asks for `placement`, which is refused with `unsupported` until part two builds it (planned). No field of this request sets the run's `submitter` or `base_commit`. `caller_ref` (4.0) is the caller's own reference for the run, stored and returned unchanged on the run and its events; the core never acts on it.",
|
|
103
123
|
"type": "object",
|
|
104
124
|
"additionalProperties": false,
|
|
105
125
|
"required": [
|
|
@@ -137,11 +157,14 @@
|
|
|
137
157
|
},
|
|
138
158
|
"parent_run_id": {
|
|
139
159
|
"$ref": "common.json#/$defs/run_id"
|
|
160
|
+
},
|
|
161
|
+
"caller_ref": {
|
|
162
|
+
"$ref": "common.json#/$defs/caller_ref"
|
|
140
163
|
}
|
|
141
164
|
}
|
|
142
165
|
},
|
|
143
166
|
"submit_response": {
|
|
144
|
-
"description": "Response of POST /v1/runs. For a new run it is in state `queued` and its worker's PID, event log and cursor are on disk. When `replayed` is true the idempotency key matched an earlier submit: nothing was created
|
|
167
|
+
"description": "Response of POST /v1/runs. For a new run it is in state `queued` and its worker's PID, event log and cursor are on disk, and `run_token` (4.0) is the run's token, returned only here: steer, cancel and answer need it. When `replayed` is true the idempotency key matched an earlier submit: nothing was created, `run` is that first run as it is now, and there is no `run_token`: a replay never issues a token and the stored one is unchanged (README: run tokens).",
|
|
145
168
|
"type": "object",
|
|
146
169
|
"additionalProperties": false,
|
|
147
170
|
"required": [
|
|
@@ -151,6 +174,10 @@
|
|
|
151
174
|
"run": {
|
|
152
175
|
"$ref": "run.json"
|
|
153
176
|
},
|
|
177
|
+
"run_token": {
|
|
178
|
+
"description": "The run's token. Present exactly when `replayed` is not true.",
|
|
179
|
+
"$ref": "common.json#/$defs/run_token"
|
|
180
|
+
},
|
|
154
181
|
"replayed": {
|
|
155
182
|
"description": "True when the request repeated an earlier submit with the same idempotency key. Omitted otherwise.",
|
|
156
183
|
"type": "boolean"
|
|
@@ -174,7 +201,17 @@
|
|
|
174
201
|
}
|
|
175
202
|
}
|
|
176
203
|
},
|
|
204
|
+
"then": {
|
|
205
|
+
"not": {
|
|
206
|
+
"required": [
|
|
207
|
+
"run_token"
|
|
208
|
+
]
|
|
209
|
+
}
|
|
210
|
+
},
|
|
177
211
|
"else": {
|
|
212
|
+
"required": [
|
|
213
|
+
"run_token"
|
|
214
|
+
],
|
|
178
215
|
"properties": {
|
|
179
216
|
"run": {
|
|
180
217
|
"properties": {
|
|
@@ -213,12 +250,13 @@
|
|
|
213
250
|
}
|
|
214
251
|
},
|
|
215
252
|
"steer_request": {
|
|
216
|
-
"description": "Body of POST /v1/runs/{run_id}/steer: a mid-run instruction delivered to the harness as user input.",
|
|
253
|
+
"description": "Body of POST /v1/runs/{run_id}/steer: a mid-run instruction delivered to the harness as user input. `run_token` (4.0) is the token the run's submit returned; without the run's token the request is refused (README: run tokens).",
|
|
217
254
|
"type": "object",
|
|
218
255
|
"additionalProperties": false,
|
|
219
256
|
"required": [
|
|
220
257
|
"caller",
|
|
221
|
-
"message"
|
|
258
|
+
"message",
|
|
259
|
+
"run_token"
|
|
222
260
|
],
|
|
223
261
|
"properties": {
|
|
224
262
|
"caller": {
|
|
@@ -229,11 +267,14 @@
|
|
|
229
267
|
},
|
|
230
268
|
"idempotency_key": {
|
|
231
269
|
"$ref": "common.json#/$defs/idempotency_key"
|
|
270
|
+
},
|
|
271
|
+
"run_token": {
|
|
272
|
+
"$ref": "common.json#/$defs/run_token"
|
|
232
273
|
}
|
|
233
274
|
}
|
|
234
275
|
},
|
|
235
276
|
"cancel_request": {
|
|
236
|
-
"description": "Body of POST /v1/runs/{run_id}/cancel.",
|
|
277
|
+
"description": "Body of POST /v1/runs/{run_id}/cancel. `run_token` (4.0) is the token the run's submit returned; without the run's token the request is refused (README: run tokens). The one exception (deviation d1): `without_token: true` in place of `run_token` asks for a cancel without the token, which the core accepts only on its own control socket and records on the action. A body with neither is invalid at `/run_token`; a body with both is invalid.",
|
|
237
278
|
"type": "object",
|
|
238
279
|
"additionalProperties": false,
|
|
239
280
|
"required": [
|
|
@@ -250,7 +291,31 @@
|
|
|
250
291
|
},
|
|
251
292
|
"idempotency_key": {
|
|
252
293
|
"$ref": "common.json#/$defs/idempotency_key"
|
|
294
|
+
},
|
|
295
|
+
"run_token": {
|
|
296
|
+
"$ref": "common.json#/$defs/run_token"
|
|
297
|
+
},
|
|
298
|
+
"without_token": {
|
|
299
|
+
"description": "True asks for a cancel without the run's token, made by the owner of the core's control socket (deviation d1). Never sent with `run_token`. A request over the fleet transport with it is `denied`.",
|
|
300
|
+
"const": true
|
|
301
|
+
}
|
|
302
|
+
},
|
|
303
|
+
"if": {
|
|
304
|
+
"required": [
|
|
305
|
+
"without_token"
|
|
306
|
+
]
|
|
307
|
+
},
|
|
308
|
+
"then": {
|
|
309
|
+
"not": {
|
|
310
|
+
"required": [
|
|
311
|
+
"run_token"
|
|
312
|
+
]
|
|
253
313
|
}
|
|
314
|
+
},
|
|
315
|
+
"else": {
|
|
316
|
+
"required": [
|
|
317
|
+
"run_token"
|
|
318
|
+
]
|
|
254
319
|
}
|
|
255
320
|
},
|
|
256
321
|
"pause_request": {
|
|
@@ -286,12 +351,13 @@
|
|
|
286
351
|
}
|
|
287
352
|
},
|
|
288
353
|
"answer_request": {
|
|
289
|
-
"description": "Body of POST /v1/runs/{run_id}/answer: the answer to one pending question of the run. For a `question`, give `answer`, `choice_ids` or both. For an `approval`, give `decision`; `answer` is then an optional reason the harness shows the model. The core checks the answer against the question (README: operator questions).",
|
|
354
|
+
"description": "Body of POST /v1/runs/{run_id}/answer: the answer to one pending question of the run. For a `question`, give `answer`, `choice_ids` or both. For an `approval`, give `decision`; `answer` is then an optional reason the harness shows the model. The core checks the answer against the question (README: operator questions). `run_token` (4.0) is the token the run's submit returned; without the run's token the request is refused (README: run tokens).",
|
|
290
355
|
"type": "object",
|
|
291
356
|
"additionalProperties": false,
|
|
292
357
|
"required": [
|
|
293
358
|
"caller",
|
|
294
|
-
"question_id"
|
|
359
|
+
"question_id",
|
|
360
|
+
"run_token"
|
|
295
361
|
],
|
|
296
362
|
"properties": {
|
|
297
363
|
"caller": {
|
|
@@ -311,6 +377,9 @@
|
|
|
311
377
|
},
|
|
312
378
|
"idempotency_key": {
|
|
313
379
|
"$ref": "common.json#/$defs/idempotency_key"
|
|
380
|
+
},
|
|
381
|
+
"run_token": {
|
|
382
|
+
"$ref": "common.json#/$defs/run_token"
|
|
314
383
|
}
|
|
315
384
|
}
|
|
316
385
|
},
|
|
@@ -50,6 +50,10 @@
|
|
|
50
50
|
"$ref": "#/$defs/answer_data"
|
|
51
51
|
}
|
|
52
52
|
]
|
|
53
|
+
},
|
|
54
|
+
"caller_ref": {
|
|
55
|
+
"description": "The run's caller reference (4.0), on every event of a run whose submit carried one, exactly as sent; absent on every event of a run without one. The core never acts on it.",
|
|
56
|
+
"$ref": "common.json#/$defs/caller_ref"
|
|
53
57
|
}
|
|
54
58
|
},
|
|
55
59
|
"allOf": [
|
|
@@ -29,7 +29,15 @@
|
|
|
29
29
|
"$ref": "common.json#/$defs/nullable_timestamp"
|
|
30
30
|
},
|
|
31
31
|
"created_at": { "$ref": "common.json#/$defs/timestamp" },
|
|
32
|
-
"updated_at": { "$ref": "common.json#/$defs/timestamp" }
|
|
32
|
+
"updated_at": { "$ref": "common.json#/$defs/timestamp" },
|
|
33
|
+
"caller_ref": {
|
|
34
|
+
"description": "The caller reference the remote submit carried (4.0), exactly as sent. Absent when it carried none.",
|
|
35
|
+
"$ref": "common.json#/$defs/caller_ref"
|
|
36
|
+
},
|
|
37
|
+
"trace": {
|
|
38
|
+
"description": "The run's W3C trace context (4.0, deviation d3), as the executing core computes it for its own run and passes on unchanged by the calling core: the trace and root span that member's exporter sends, sampled exactly when that member exports traces. A 4.0 member puts it on every remote run it serves.",
|
|
39
|
+
"$ref": "common.json#/$defs/trace_context"
|
|
40
|
+
}
|
|
33
41
|
},
|
|
34
42
|
"$defs": {
|
|
35
43
|
"alias": {
|
|
@@ -38,7 +46,7 @@
|
|
|
38
46
|
"pattern": "^[a-z0-9][a-z0-9._-]{0,63}$"
|
|
39
47
|
},
|
|
40
48
|
"submit_request": {
|
|
41
|
-
"description": "Body of POST /v1/fleet/runs (added in 3.2), on the control socket and over the fleet transport alike. The node of `agent_id` names the member that executes the run: the caller chooses the host, and nothing schedules. The repository is named by `alias`, as the executing host defines it; no path crosses the network. Optional fields are omitted, never null. No field sets the run's `submitter`.",
|
|
49
|
+
"description": "Body of POST /v1/fleet/runs (added in 3.2), on the control socket and over the fleet transport alike. The node of `agent_id` names the member that executes the run: the caller chooses the host, and nothing schedules. The repository is named by `alias`, as the executing host defines it; no path crosses the network. Optional fields are omitted, never null. No field sets the run's `submitter`. `caller_ref` (4.0) is stored with the run on the executing member and returned unchanged; neither core acts on it.",
|
|
42
50
|
"type": "object",
|
|
43
51
|
"additionalProperties": false,
|
|
44
52
|
"required": ["agent_id", "harness", "alias", "task", "caller"],
|
|
@@ -55,6 +63,7 @@
|
|
|
55
63
|
"minimum": 1,
|
|
56
64
|
"maximum": 2592000000
|
|
57
65
|
},
|
|
66
|
+
"caller_ref": { "$ref": "common.json#/$defs/caller_ref" },
|
|
58
67
|
"base_commit": {
|
|
59
68
|
"description": "The full commit id the run must start from. The executing core refuses the submit with `invalid` when its aliased checkout lacks that commit, and fetches nothing. When omitted, the run starts from the executing host's HEAD at acceptance, which the response returns.",
|
|
60
69
|
"$ref": "common.json#/$defs/git_sha"
|
|
@@ -62,12 +71,16 @@
|
|
|
62
71
|
}
|
|
63
72
|
},
|
|
64
73
|
"submit_response": {
|
|
65
|
-
"description": "201 response of POST /v1/fleet/runs. For a new run it is in state `queued
|
|
74
|
+
"description": "201 response of POST /v1/fleet/runs. For a new run it is in state `queued`, and `run_token` (4.0) is the run's token, made by the executing member and returned only here, through the calling core unchanged; a steer or cancel of the run carries it in its body (README: run tokens). When `replayed` is true the idempotency key matched an earlier submit of the same member: nothing was created, `run` is that first run as it is now, and there is no `run_token`: a replay never issues a token and the stored one is unchanged.",
|
|
66
75
|
"type": "object",
|
|
67
76
|
"additionalProperties": false,
|
|
68
77
|
"required": ["run"],
|
|
69
78
|
"properties": {
|
|
70
79
|
"run": { "$ref": "#" },
|
|
80
|
+
"run_token": {
|
|
81
|
+
"description": "The run's token. Present exactly when `replayed` is not true.",
|
|
82
|
+
"$ref": "common.json#/$defs/run_token"
|
|
83
|
+
},
|
|
71
84
|
"replayed": {
|
|
72
85
|
"description": "True when the request repeated an earlier submit with the same idempotency key. Omitted otherwise.",
|
|
73
86
|
"type": "boolean"
|
|
@@ -83,7 +96,11 @@
|
|
|
83
96
|
"required": ["replayed"],
|
|
84
97
|
"properties": { "replayed": { "const": true } }
|
|
85
98
|
},
|
|
99
|
+
"then": {
|
|
100
|
+
"not": { "required": ["run_token"] }
|
|
101
|
+
},
|
|
86
102
|
"else": {
|
|
103
|
+
"required": ["run_token"],
|
|
87
104
|
"properties": { "run": { "properties": { "state": { "const": "queued" } } } }
|
|
88
105
|
}
|
|
89
106
|
},
|
|
@@ -58,6 +58,14 @@
|
|
|
58
58
|
"description": "Who submitted the run, as the core established it and never from a request field. Absent only on a run recorded before the core set it (README: authorization).",
|
|
59
59
|
"$ref": "#/$defs/submitter"
|
|
60
60
|
},
|
|
61
|
+
"caller_ref": {
|
|
62
|
+
"description": "The caller reference the submit carried (4.0), exactly as sent. Absent when the submit carried none. Opaque to the core, which never acts on it.",
|
|
63
|
+
"$ref": "common.json#/$defs/caller_ref"
|
|
64
|
+
},
|
|
65
|
+
"trace": {
|
|
66
|
+
"description": "The run's W3C trace context (4.0, deviation d3). A 4.0 core puts it on every run it serves (runs.show, runs.list, the submit response); it is computed on each read and absent only from what the core stores on disk (README: trace context).",
|
|
67
|
+
"$ref": "common.json#/$defs/trace_context"
|
|
68
|
+
},
|
|
61
69
|
"idempotency_key": {
|
|
62
70
|
"oneOf": [
|
|
63
71
|
{
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
3
|
"$id": "https://culture.dev/contract/agents/version.json",
|
|
4
4
|
"title": "Version",
|
|
5
|
-
"description": "Response of GET /v1/version, the first call a client makes on connect (README: versioning). A core built from this contract reports `api_version`
|
|
5
|
+
"description": "Response of GET /v1/version, the first call a client makes on connect (README: versioning). A core built from this contract reports `api_version` 4.0.",
|
|
6
6
|
"type": "object",
|
|
7
7
|
"additionalProperties": false,
|
|
8
8
|
"required": ["api_version", "core_version", "node"],
|
|
@@ -33,6 +33,21 @@ export type ApiVersion = string;
|
|
|
33
33
|
/** Free text from a caller or a harness (task, steer message, question, answer). Untrusted data, never a control command. */
|
|
34
34
|
export type CallerText = string;
|
|
35
35
|
export type GitSha = string;
|
|
36
|
+
/** A caller's own reference for a run (4.0), for example the room and thread a chat bridge started it from and the chat identity that may answer it. Supplied at submit, stored with the run and returned unchanged on the run and on every event of its log. Opaque to the core: it never reads, compares or acts on it, and nothing in it is a control command or grants anything. Untrusted data. `scheme` names the system that made the reference; `values` holds up to 8 short named texts. */
|
|
37
|
+
export type CallerRef = {
|
|
38
|
+
/** Who made the reference and how to read it, for example `culture-chat`. A lowercase word. */
|
|
39
|
+
scheme: string;
|
|
40
|
+
/** Named texts, for example `room`, `thread`, `participant`. Names are lowercase words; each value is 1 to 256 characters with no control character. */
|
|
41
|
+
values: Record<string, string>;
|
|
42
|
+
};
|
|
43
|
+
/** A W3C Trace Context `traceparent` value, version 00: `00-<trace-id>-<parent-id>-<trace-flags>`, lowercase hex (32, 16 and 2 digits). Neither the trace id nor the parent id is all zeros. */
|
|
44
|
+
export type Traceparent = string;
|
|
45
|
+
/** A run's W3C trace context (4.0, deviation d3), computed by the core that holds the run each time it serves it, never stored. `traceparent` names the run's trace (the trace id of every span the core's trace exporter sends for the run) and, as the parent id, the run's root span. Its sampled flag (`01`) is set exactly when that core exports traces at the time of the read; with `00` the ids are still the ones the exporter uses for the run whenever it does send it. A client may mark its own records with this trace (as a child of the root span) so they are found from the run's trace. Closed: no `tracestate`, which the core does not have (README: trace context). */
|
|
46
|
+
export type TraceContext = {
|
|
47
|
+
traceparent: Traceparent;
|
|
48
|
+
};
|
|
49
|
+
/** The per-run token (4.0): 32 random bytes, base64url without padding. The core makes it when it accepts a submit and returns it only in that submit's response (README: run tokens). `steer`, `cancel` and `answer` of the run must carry it. It is never part of a run, an event, an action record, a log or a broker message, and the core stores only its SHA-256. */
|
|
50
|
+
export type RunToken = string;
|
|
36
51
|
/** Who asked, as the request says: an operator or an agent, by mesh id. The core records it as supplied and does not authenticate it; authority comes from the owner-only socket and the allow-list, not from this field. What the core itself established about the caller is the run's `submitter`. */
|
|
37
52
|
export type Principal = {
|
|
38
53
|
kind: "operator" | "agent";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { SignalName } from "./capabilities.js";
|
|
2
|
-
import type { ActionId, CallerText, HarnessId, IdempotencyKey, MeshId, Principal, QuestionId, RepoPath, RunId, SessionId, Timestamp } from "./common.js";
|
|
2
|
+
import type { ActionId, CallerRef, CallerText, HarnessId, IdempotencyKey, MeshId, Principal, QuestionId, RepoPath, RunId, RunToken, SessionId, Timestamp } from "./common.js";
|
|
3
3
|
import type { ErrorBody } from "./error.js";
|
|
4
4
|
import type { ChoiceId } from "./event.js";
|
|
5
5
|
import type { Run } from "./run.js";
|
|
@@ -7,7 +7,7 @@ import type { Run } from "./run.js";
|
|
|
7
7
|
export type ControlAction = ActionRecord;
|
|
8
8
|
/** Control actions against an existing run. pause and resume are deferred: always refused with `unsupported` in this API version. */
|
|
9
9
|
export type ActionKind = "steer" | "cancel" | "pause" | "resume" | "answer";
|
|
10
|
-
/** One control action against a run, as recorded in the run's event log and returned by an accepting route. */
|
|
10
|
+
/** One control action against a run, as recorded in the run's event log and returned by an accepting route. `without_token` marks a cancel made without the run's token. */
|
|
11
11
|
export type ActionRecord = {
|
|
12
12
|
id: ActionId;
|
|
13
13
|
run_id: RunId;
|
|
@@ -18,8 +18,10 @@ export type ActionRecord = {
|
|
|
18
18
|
/** accepted: delivered to the run's worker. It does not promise any effect on the harness's behaviour. refused: not delivered; `error` says why. */
|
|
19
19
|
outcome: "accepted" | "refused";
|
|
20
20
|
error: ErrorBody | null;
|
|
21
|
+
/** Present, and true, only on a cancel that the socket's owner made without the run's token (4.0, deviation d1; README: run tokens). Omitted otherwise. */
|
|
22
|
+
without_token?: true;
|
|
21
23
|
};
|
|
22
|
-
/** Body of POST /v1/runs. Optional fields are omitted, never null. Setting `session_id` asks for `continue_session` and setting `parent_run_id` asks for `delegate`; both are refused with `unsupported` in this API version. An `agent_id` whose node is not the core's node asks for `placement`, which is refused with `unsupported` until part two builds it (planned). No field of this request sets the run's `submitter` or `base_commit`. */
|
|
24
|
+
/** Body of POST /v1/runs. Optional fields are omitted, never null. Setting `session_id` asks for `continue_session` and setting `parent_run_id` asks for `delegate`; both are refused with `unsupported` in this API version. An `agent_id` whose node is not the core's node asks for `placement`, which is refused with `unsupported` until part two builds it (planned). No field of this request sets the run's `submitter` or `base_commit`. `caller_ref` (4.0) is the caller's own reference for the run, stored and returned unchanged on the run and its events; the core never acts on it. */
|
|
23
25
|
export type SubmitRequest = {
|
|
24
26
|
agent_id: MeshId;
|
|
25
27
|
harness: HarnessId;
|
|
@@ -31,10 +33,13 @@ export type SubmitRequest = {
|
|
|
31
33
|
deadline?: Timestamp;
|
|
32
34
|
session_id?: SessionId;
|
|
33
35
|
parent_run_id?: RunId;
|
|
36
|
+
caller_ref?: CallerRef;
|
|
34
37
|
};
|
|
35
|
-
/** Response of POST /v1/runs. For a new run it is in state `queued` and its worker's PID, event log and cursor are on disk. When `replayed` is true the idempotency key matched an earlier submit: nothing was created
|
|
38
|
+
/** Response of POST /v1/runs. For a new run it is in state `queued` and its worker's PID, event log and cursor are on disk, and `run_token` (4.0) is the run's token, returned only here: steer, cancel and answer need it. When `replayed` is true the idempotency key matched an earlier submit: nothing was created, `run` is that first run as it is now, and there is no `run_token`: a replay never issues a token and the stored one is unchanged (README: run tokens). */
|
|
36
39
|
export type SubmitResponse = {
|
|
37
40
|
run: Run;
|
|
41
|
+
/** The run's token. Present exactly when `replayed` is not true. */
|
|
42
|
+
run_token?: RunToken;
|
|
38
43
|
/** True when the request repeated an earlier submit with the same idempotency key. Omitted otherwise. */
|
|
39
44
|
replayed?: boolean;
|
|
40
45
|
/** Things the caller should know about a run that was admitted all the same. Omitted when there are none. */
|
|
@@ -47,17 +52,21 @@ export type Warning = {
|
|
|
47
52
|
signal: SignalName;
|
|
48
53
|
message: string;
|
|
49
54
|
};
|
|
50
|
-
/** Body of POST /v1/runs/{run_id}/steer: a mid-run instruction delivered to the harness as user input. */
|
|
55
|
+
/** Body of POST /v1/runs/{run_id}/steer: a mid-run instruction delivered to the harness as user input. `run_token` (4.0) is the token the run's submit returned; without the run's token the request is refused (README: run tokens). */
|
|
51
56
|
export type SteerRequest = {
|
|
52
57
|
caller: Principal;
|
|
53
58
|
message: CallerText;
|
|
54
59
|
idempotency_key?: IdempotencyKey;
|
|
60
|
+
run_token: RunToken;
|
|
55
61
|
};
|
|
56
|
-
/** Body of POST /v1/runs/{run_id}/cancel. */
|
|
62
|
+
/** Body of POST /v1/runs/{run_id}/cancel. `run_token` (4.0) is the token the run's submit returned; without the run's token the request is refused (README: run tokens). The one exception (deviation d1): `without_token: true` in place of `run_token` asks for a cancel without the token, which the core accepts only on its own control socket and records on the action. A body with neither is invalid at `/run_token`; a body with both is invalid. */
|
|
57
63
|
export type CancelRequest = {
|
|
58
64
|
caller: Principal;
|
|
59
65
|
reason?: string;
|
|
60
66
|
idempotency_key?: IdempotencyKey;
|
|
67
|
+
run_token?: RunToken;
|
|
68
|
+
/** True asks for a cancel without the run's token, made by the owner of the core's control socket (deviation d1). Never sent with `run_token`. A request over the fleet transport with it is `denied`. */
|
|
69
|
+
without_token?: true;
|
|
61
70
|
};
|
|
62
71
|
/** Body of POST /v1/runs/{run_id}/pause (deferred; always refused with `unsupported`, capability `pause`). */
|
|
63
72
|
export type PauseRequest = {
|
|
@@ -69,7 +78,7 @@ export type ResumeRequest = {
|
|
|
69
78
|
caller: Principal;
|
|
70
79
|
idempotency_key?: IdempotencyKey;
|
|
71
80
|
};
|
|
72
|
-
/** Body of POST /v1/runs/{run_id}/answer: the answer to one pending question of the run. For a `question`, give `answer`, `choice_ids` or both. For an `approval`, give `decision`; `answer` is then an optional reason the harness shows the model. The core checks the answer against the question (README: operator questions). */
|
|
81
|
+
/** Body of POST /v1/runs/{run_id}/answer: the answer to one pending question of the run. For a `question`, give `answer`, `choice_ids` or both. For an `approval`, give `decision`; `answer` is then an optional reason the harness shows the model. The core checks the answer against the question (README: operator questions). `run_token` (4.0) is the token the run's submit returned; without the run's token the request is refused (README: run tokens). */
|
|
73
82
|
export type AnswerRequest = {
|
|
74
83
|
caller: Principal;
|
|
75
84
|
question_id: QuestionId;
|
|
@@ -77,6 +86,7 @@ export type AnswerRequest = {
|
|
|
77
86
|
choice_ids?: ChoiceIds;
|
|
78
87
|
decision?: Decision;
|
|
79
88
|
idempotency_key?: IdempotencyKey;
|
|
89
|
+
run_token: RunToken;
|
|
80
90
|
};
|
|
81
91
|
/** The answer to an approval: whether the waiting action may run. */
|
|
82
92
|
export type Decision = "approve" | "deny";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { CallerText, Cursor, Extension, QuestionId, RunId, Timestamp } from "./common.js";
|
|
1
|
+
import type { CallerRef, CallerText, Cursor, Extension, QuestionId, RunId, Timestamp } from "./common.js";
|
|
2
2
|
import type { ActionRecord, ChoiceIds, Decision } from "./control-action.js";
|
|
3
3
|
import type { ErrorBody } from "./error.js";
|
|
4
4
|
import type { RunState } from "./run.js";
|
|
@@ -10,6 +10,8 @@ export type RunEvent = {
|
|
|
10
10
|
kind: EventKind;
|
|
11
11
|
/** Kind-specific payload; the allOf below pins which one each kind carries. */
|
|
12
12
|
data: StateData | OutputData | ControlData | RefusedData | ErrorData | QuestionData | AnswerData;
|
|
13
|
+
/** The run's caller reference (4.0), on every event of a run whose submit carried one, exactly as sent; absent on every event of a run without one. The core never acts on it. */
|
|
14
|
+
caller_ref?: CallerRef;
|
|
13
15
|
} & (({
|
|
14
16
|
kind: "run.state";
|
|
15
17
|
} & {
|
|
@@ -2,7 +2,7 @@ import type { Agent, AgentList } from "./agent.js";
|
|
|
2
2
|
import type { Allowlist } from "./allowlist.js";
|
|
3
3
|
import type { Branches, Branch, RemoveRequest, RemoveResponse, Skipped } from "./branches.js";
|
|
4
4
|
import type { Capabilities, CapabilityName, Capability, Deferred, CapabilitySet, LimitName, Limits, SignalName, SignalState, Signal, Admission, CapabilitiesList } from "./capabilities.js";
|
|
5
|
-
import type { Common, MeshNode, Suffix, MeshId, Ulid, RunId, SessionId, ActionId, QuestionId, HarnessId, Timestamp, NullableTimestamp, RepoPath, IdempotencyKey, Cursor, ApiVersion, CallerText, GitSha, Principal, Extension } from "./common.js";
|
|
5
|
+
import type { Common, MeshNode, Suffix, MeshId, Ulid, RunId, SessionId, ActionId, QuestionId, HarnessId, Timestamp, NullableTimestamp, RepoPath, IdempotencyKey, Cursor, ApiVersion, CallerText, GitSha, CallerRef, Traceparent, TraceContext, RunToken, Principal, Extension } from "./common.js";
|
|
6
6
|
import type { ControlAction, ActionKind, ActionRecord, SubmitRequest, SubmitResponse, Warning, SteerRequest, CancelRequest, PauseRequest, ResumeRequest, AnswerRequest, Decision, ChoiceIds, AcceptedResponse } from "./control-action.js";
|
|
7
7
|
import type { ErrorResponse, ErrorCode, ErrorBody, Limit, HeldSignal } from "./error.js";
|
|
8
8
|
import type { RunEvent, EventKind, StateData, OutputData, ControlData, RefusedData, ErrorData, Question, Choice, ChoiceId, QuestionData, AnswerData, EventPage } from "./event.js";
|
|
@@ -17,7 +17,7 @@ export type { Agent, AgentList } from "./agent.js";
|
|
|
17
17
|
export type { Allowlist } from "./allowlist.js";
|
|
18
18
|
export type { Branches, Branch, RemoveRequest, RemoveResponse, Skipped } from "./branches.js";
|
|
19
19
|
export type { Capabilities, CapabilityName, Capability, Deferred, CapabilitySet, LimitName, Limits, SignalName, SignalState, Signal, Admission, CapabilitiesList } from "./capabilities.js";
|
|
20
|
-
export type { Common, MeshNode, Suffix, MeshId, Ulid, RunId, SessionId, ActionId, QuestionId, HarnessId, Timestamp, NullableTimestamp, RepoPath, IdempotencyKey, Cursor, ApiVersion, CallerText, GitSha, Principal, Extension } from "./common.js";
|
|
20
|
+
export type { Common, MeshNode, Suffix, MeshId, Ulid, RunId, SessionId, ActionId, QuestionId, HarnessId, Timestamp, NullableTimestamp, RepoPath, IdempotencyKey, Cursor, ApiVersion, CallerText, GitSha, CallerRef, Traceparent, TraceContext, RunToken, Principal, Extension } from "./common.js";
|
|
21
21
|
export type { ControlAction, ActionKind, ActionRecord, SubmitRequest, SubmitResponse, Warning, SteerRequest, CancelRequest, PauseRequest, ResumeRequest, AnswerRequest, Decision, ChoiceIds, AcceptedResponse } from "./control-action.js";
|
|
22
22
|
export type { ErrorResponse, ErrorCode, ErrorBody, Limit, HeldSignal } from "./error.js";
|
|
23
23
|
export type { RunEvent, EventKind, StateData, OutputData, ControlData, RefusedData, ErrorData, Question, Choice, ChoiceId, QuestionData, AnswerData, EventPage } from "./event.js";
|
|
@@ -68,6 +68,10 @@ export interface SchemaTypes {
|
|
|
68
68
|
"common#api_version": ApiVersion;
|
|
69
69
|
"common#text": CallerText;
|
|
70
70
|
"common#git_sha": GitSha;
|
|
71
|
+
"common#caller_ref": CallerRef;
|
|
72
|
+
"common#traceparent": Traceparent;
|
|
73
|
+
"common#trace_context": TraceContext;
|
|
74
|
+
"common#run_token": RunToken;
|
|
71
75
|
"common#principal": Principal;
|
|
72
76
|
"common#extension": Extension;
|
|
73
77
|
"control-action": ControlAction;
|