@cobotar/protocol 0.18.19 → 0.18.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md
CHANGED
|
@@ -213,6 +213,23 @@ export const SkillLevelSchema: GenEnum<SkillLevel> = /*@__PURE__*/
|
|
|
213
213
|
enumDesc(file_capability_v1_actor_skill, 0);
|
|
214
214
|
|
|
215
215
|
/**
|
|
216
|
+
* SkillStatus describes the current usability of an actor's skill.
|
|
217
|
+
*
|
|
218
|
+
* The status is operational and should be interpreted together with the
|
|
219
|
+
* associated policy, validity timestamps, and any derived restrictions.
|
|
220
|
+
*
|
|
221
|
+
* Typical semantics:
|
|
222
|
+
* - ACTIVE -> skill is fully usable
|
|
223
|
+
* - RESTRICTED -> skill is usable, but only under additional runtime
|
|
224
|
+
* safeguards such as AR guidance, extra validation,
|
|
225
|
+
* supervision, or other assistance
|
|
226
|
+
* - EXPIRED -> skill is no longer valid and must not be used
|
|
227
|
+
*
|
|
228
|
+
* Loaders and runtime planners should therefore treat:
|
|
229
|
+
* - ACTIVE -> feasible
|
|
230
|
+
* - RESTRICTED -> feasible with restrictions
|
|
231
|
+
* - EXPIRED -> infeasible
|
|
232
|
+
*
|
|
216
233
|
* @generated from enum capability.v1.SkillStatus
|
|
217
234
|
*/
|
|
218
235
|
export enum SkillStatus {
|
|
@@ -222,16 +239,28 @@ export enum SkillStatus {
|
|
|
222
239
|
UNSPECIFIED = 0,
|
|
223
240
|
|
|
224
241
|
/**
|
|
242
|
+
* Skill is valid and can be used normally.
|
|
243
|
+
*
|
|
225
244
|
* @generated from enum value: SKILL_STATUS_ACTIVE = 1;
|
|
226
245
|
*/
|
|
227
246
|
ACTIVE = 1,
|
|
228
247
|
|
|
229
248
|
/**
|
|
249
|
+
* Skill is allowed but restricted. The actor may perform the task but additional safeguards
|
|
250
|
+
*
|
|
251
|
+
* Examples:
|
|
252
|
+
* - AR guidance required
|
|
253
|
+
* - manual confirmation required
|
|
254
|
+
* - second check required
|
|
255
|
+
* - supervisor approval required
|
|
256
|
+
*
|
|
230
257
|
* @generated from enum value: SKILL_STATUS_RESTRICTED = 2;
|
|
231
258
|
*/
|
|
232
259
|
RESTRICTED = 2,
|
|
233
260
|
|
|
234
261
|
/**
|
|
262
|
+
* Skill is no longer valid and cannot be used.
|
|
263
|
+
*
|
|
235
264
|
* @generated from enum value: SKILL_STATUS_EXPIRED = 3;
|
|
236
265
|
*/
|
|
237
266
|
EXPIRED = 3,
|
|
@@ -5,10 +5,14 @@
|
|
|
5
5
|
import type { GenEnum, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
|
|
6
6
|
import { enumDesc, fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";
|
|
7
7
|
import { file_buf_validate_validate } from "../../buf/validate/validate_pb.ts";
|
|
8
|
+
import type { ActorRef } from "../../common/v1/actor_pb.ts";
|
|
9
|
+
import { file_common_v1_actor } from "../../common/v1/actor_pb.ts";
|
|
8
10
|
import type { KeyValueConstraint } from "../../common/v1/key_value_constraint_pb.ts";
|
|
9
11
|
import { file_common_v1_key_value_constraint } from "../../common/v1/key_value_constraint_pb.ts";
|
|
10
12
|
import type { ProcessRun } from "./process_run_pb.ts";
|
|
11
13
|
import { file_runtime_v1_process_run } from "./process_run_pb.ts";
|
|
14
|
+
import type { RuntimeRestriction } from "./runtime_restriction_pb.ts";
|
|
15
|
+
import { file_runtime_v1_runtime_restriction } from "./runtime_restriction_pb.ts";
|
|
12
16
|
import { file_validation_v1_predefined_string_rules } from "../../validation/v1/predefined_string_rules_pb.ts";
|
|
13
17
|
import type { VariantConfiguration } from "../../variance/v1/variant_configuration_pb.ts";
|
|
14
18
|
import { file_variance_v1_variant_configuration } from "../../variance/v1/variant_configuration_pb.ts";
|
|
@@ -18,7 +22,7 @@ import type { Message } from "@bufbuild/protobuf";
|
|
|
18
22
|
* Describes the file runtime/v1/process_requests.proto.
|
|
19
23
|
*/
|
|
20
24
|
export const file_runtime_v1_process_requ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fVU5TUEVDSUZJRUQQABIjCh9SRVFVSVJFTUVOVF9JTVBPUlRBTkNFX1JFUVVJUkVEEAESJAogUkVRVUlSRU1FTlRfSU1QT1JUQU5DRV9QUkVGRVJSRUQQAirGAQoYUHJvY2Vzc1J1blByZWNoZWNrU3RhdHVzEisKJ1BST0NFU1NfUlVOX1BSRUNIRUNLX1NUQVRVU19VTlNQRUNJRklFRBAAEiIKHlBST0NFU1NfUlVOX1BSRUNIRUNLX1NUQVRVU19PSxABEjAKLFBST0NFU1NfUlVOX1BSRUNIRUNLX1NUQVRVU19PS19XSVRIX1dBUk5JTkdTEAISJwojUFJPQ0VTU19SVU5fUFJFQ0hFQ0tfU1RBVFVTX0JMT0NLRUQQAyqgAQoRUHJvY2Vzc0xvYWRTdGF0dXMSIwofUFJPQ0VTU19MT0FEX1NUQVRVU19VTlNQRUNJRklFRBAAEicKI1BST0NFU1NfTE9BRF9TVEFUVVNfUFJFQ0hFQ0tfRkFJTEVEEAESHQoZUFJPQ0VTU19MT0FEX1NUQVRVU19SRUFEWRACEh4KGlBST0NFU1NfTE9BRF9TVEFUVVNfTE9BREVEEANCswEKDmNvbS5ydW50aW1lLnYxQhRQcm9jZXNzUmVxdWVzdHNQcm90b1ABWjlnaXRodWIuY29tL2NvYm90YXIvcHJvdG9jb2wvbWVzc2FnZXMvcnVudGltZS92MTtydW50aW1ldjGiAgNSWFiqAhNNZXNzYWdlcy5SdW50aW1lLlYxygIKUnVudGltZVxWMeICFlJ1bnRpbWVcVjFcR1BCTWV0YWRhdGHqAgtSdW50aW1lOjpWMWIGcHJvdG8z", [file_buf_validate_validate, file_common_v1_actor, file_common_v1_key_value_constraint, file_runtime_v1_process_run, file_runtime_v1_runtime_restriction, file_validation_v1_predefined_string_rules, file_variance_v1_variant_configuration]);
|
|
22
26
|
|
|
23
27
|
/**
|
|
24
28
|
* ProcessLoadRequest is used to instantiate a ProcessRecipe into a ProcessRun.
|
|
@@ -230,6 +234,44 @@ export type ProcessRunIssue = Message<"runtime.v1.ProcessRunIssue"> & {
|
|
|
230
234
|
export const ProcessRunIssueSchema: GenMessage<ProcessRunIssue> = /*@__PURE__*/
|
|
231
235
|
messageDesc(file_runtime_v1_process_requests, 1);
|
|
232
236
|
|
|
237
|
+
/**
|
|
238
|
+
* @generated from message runtime.v1.CandidateActorEvaluation
|
|
239
|
+
*/
|
|
240
|
+
export type CandidateActorEvaluation = Message<"runtime.v1.CandidateActorEvaluation"> & {
|
|
241
|
+
/**
|
|
242
|
+
* @generated from field: common.v1.ActorRef actor = 1;
|
|
243
|
+
*/
|
|
244
|
+
actor?: ActorRef;
|
|
245
|
+
|
|
246
|
+
/**
|
|
247
|
+
* Whether this actor is currently feasible for the task.
|
|
248
|
+
*
|
|
249
|
+
* @generated from field: bool feasible = 2;
|
|
250
|
+
*/
|
|
251
|
+
feasible: boolean;
|
|
252
|
+
|
|
253
|
+
/**
|
|
254
|
+
* Effective restrictions if this actor were assigned.
|
|
255
|
+
*
|
|
256
|
+
* @generated from field: repeated runtime.v1.RuntimeRestriction restrictions = 3;
|
|
257
|
+
*/
|
|
258
|
+
restrictions: RuntimeRestriction[];
|
|
259
|
+
|
|
260
|
+
/**
|
|
261
|
+
* Optional explanations or issues tied specifically to this actor.
|
|
262
|
+
*
|
|
263
|
+
* @generated from field: repeated runtime.v1.ProcessRunIssue issues = 4;
|
|
264
|
+
*/
|
|
265
|
+
issues: ProcessRunIssue[];
|
|
266
|
+
};
|
|
267
|
+
|
|
268
|
+
/**
|
|
269
|
+
* Describes the message runtime.v1.CandidateActorEvaluation.
|
|
270
|
+
* Use `create(CandidateActorEvaluationSchema)` to create a new message.
|
|
271
|
+
*/
|
|
272
|
+
export const CandidateActorEvaluationSchema: GenMessage<CandidateActorEvaluation> = /*@__PURE__*/
|
|
273
|
+
messageDesc(file_runtime_v1_process_requests, 2);
|
|
274
|
+
|
|
233
275
|
/**
|
|
234
276
|
* @generated from message runtime.v1.TaskFeasibility
|
|
235
277
|
*/
|
|
@@ -273,6 +315,11 @@ export type TaskFeasibility = Message<"runtime.v1.TaskFeasibility"> & {
|
|
|
273
315
|
* @generated from field: repeated runtime.v1.ProcessRunIssue issues = 8;
|
|
274
316
|
*/
|
|
275
317
|
issues: ProcessRunIssue[];
|
|
318
|
+
|
|
319
|
+
/**
|
|
320
|
+
* @generated from field: repeated runtime.v1.CandidateActorEvaluation candidate_actor_evaluations = 9;
|
|
321
|
+
*/
|
|
322
|
+
candidateActorEvaluations: CandidateActorEvaluation[];
|
|
276
323
|
};
|
|
277
324
|
|
|
278
325
|
/**
|
|
@@ -280,7 +327,7 @@ export type TaskFeasibility = Message<"runtime.v1.TaskFeasibility"> & {
|
|
|
280
327
|
* Use `create(TaskFeasibilitySchema)` to create a new message.
|
|
281
328
|
*/
|
|
282
329
|
export const TaskFeasibilitySchema: GenMessage<TaskFeasibility> = /*@__PURE__*/
|
|
283
|
-
messageDesc(file_runtime_v1_process_requests,
|
|
330
|
+
messageDesc(file_runtime_v1_process_requests, 3);
|
|
284
331
|
|
|
285
332
|
/**
|
|
286
333
|
* @generated from message runtime.v1.ProcessRunPrecheckResult
|
|
@@ -340,7 +387,7 @@ export type ProcessRunPrecheckResult = Message<"runtime.v1.ProcessRunPrecheckRes
|
|
|
340
387
|
* Use `create(ProcessRunPrecheckResultSchema)` to create a new message.
|
|
341
388
|
*/
|
|
342
389
|
export const ProcessRunPrecheckResultSchema: GenMessage<ProcessRunPrecheckResult> = /*@__PURE__*/
|
|
343
|
-
messageDesc(file_runtime_v1_process_requests,
|
|
390
|
+
messageDesc(file_runtime_v1_process_requests, 4);
|
|
344
391
|
|
|
345
392
|
/**
|
|
346
393
|
* @generated from message runtime.v1.ProcessLoadResult
|
|
@@ -367,7 +414,7 @@ export type ProcessLoadResult = Message<"runtime.v1.ProcessLoadResult"> & {
|
|
|
367
414
|
* Use `create(ProcessLoadResultSchema)` to create a new message.
|
|
368
415
|
*/
|
|
369
416
|
export const ProcessLoadResultSchema: GenMessage<ProcessLoadResult> = /*@__PURE__*/
|
|
370
|
-
messageDesc(file_runtime_v1_process_requests,
|
|
417
|
+
messageDesc(file_runtime_v1_process_requests, 5);
|
|
371
418
|
|
|
372
419
|
/**
|
|
373
420
|
* @generated from enum runtime.v1.ProcessLoadStrategy
|
|
@@ -0,0 +1,149 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.10.2 with parameter "target=ts,import_extension=ts"
|
|
2
|
+
// @generated from file runtime/v1/runtime_restriction.proto (package runtime.v1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
import type { GenEnum, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
|
|
6
|
+
import { enumDesc, fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";
|
|
7
|
+
import { file_buf_validate_validate } from "../../buf/validate/validate_pb.ts";
|
|
8
|
+
import type { ActorRef } from "../../common/v1/actor_pb.ts";
|
|
9
|
+
import { file_common_v1_actor } from "../../common/v1/actor_pb.ts";
|
|
10
|
+
import { file_validation_v1_predefined_string_rules } from "../../validation/v1/predefined_string_rules_pb.ts";
|
|
11
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
12
|
+
|
|
13
|
+
/**
|
|
14
|
+
* Describes the file runtime/v1/runtime_restriction.proto.
|
|
15
|
+
*/
|
|
16
|
+
export const file_runtime_v1_runtime_restriction: GenFile = /*@__PURE__*/
|
|
17
|
+
fileDesc("CiRydW50aW1lL3YxL3J1bnRpbWVfcmVzdHJpY3Rpb24ucHJvdG8SCnJ1bnRpbWUudjEivgEKElJ1bnRpbWVSZXN0cmljdGlvbhI2CgR0eXBlGAEgASgOMhsucnVudGltZS52MS5SZXN0cmljdGlvblR5cGVCC7pICMgBAYIBAhABEg4KBnJlYXNvbhgCIAEoCRIiCg9zb3VyY2Vfc2tpbGxfaWQYAyABKAlCCbpIBnIE6PEEARIYChBzb3VyY2VfcG9saWN5X2lkGAQgASgJEiIKBWFjdG9yGAUgASgLMhMuY29tbW9uLnYxLkFjdG9yUmVmKpwDCg9SZXN0cmljdGlvblR5cGUSIAocUkVTVFJJQ1RJT05fVFlQRV9VTlNQRUNJRklFRBAAEigKJFJFU1RSSUNUSU9OX1RZUEVfUkVRVUlSRV9BUl9HVUlEQU5DRRABEjAKLFJFU1RSSUNUSU9OX1RZUEVfUkVRVUlSRV9NQU5VQUxfQ09ORklSTUFUSU9OEAISMAosUkVTVFJJQ1RJT05fVFlQRV9SRVFVSVJFX1NVUEVSVklTT1JfQVBQUk9WQUwQAxIpCiVSRVNUUklDVElPTl9UWVBFX1JFUVVJUkVfU0VDT05EX0NIRUNLEAQSLgoqUkVTVFJJQ1RJT05fVFlQRV9SRVFVSVJFX1ZJU0lPTl9WQUxJREFUSU9OEAUSKgomUkVTVFJJQ1RJT05fVFlQRV9SRVFVSVJFX1RPT0xfRkVFREJBQ0sQBhIoCiRSRVNUUklDVElPTl9UWVBFX1JFUVVJUkVfSFVNQU5fQUNUT1IQBxIoCiRSRVNUUklDVElPTl9UWVBFX1JFUVVJUkVfUk9CT1RfQUNUT1IQCEK2AQoOY29tLnJ1bnRpbWUudjFCF1J1bnRpbWVSZXN0cmljdGlvblByb3RvUAFaOWdpdGh1Yi5jb20vY29ib3Rhci9wcm90b2NvbC9tZXNzYWdlcy9ydW50aW1lL3YxO3J1bnRpbWV2MaICA1JYWKoCE01lc3NhZ2VzLlJ1bnRpbWUuVjHKAgpSdW50aW1lXFYx4gIWUnVudGltZVxWMVxHUEJNZXRhZGF0YeoCC1J1bnRpbWU6OlYxYgZwcm90bzM", [file_buf_validate_validate, file_common_v1_actor, file_validation_v1_predefined_string_rules]);
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
* RuntimeRestriction describes an additional runtime condition that applies
|
|
21
|
+
* to a task, typically due to actor capability state, policy evaluation,
|
|
22
|
+
* resource limitations, or execution mode.
|
|
23
|
+
*
|
|
24
|
+
* Restrictions may be actor-specific. This is important because a task may be:
|
|
25
|
+
* - unrestricted for one candidate actor
|
|
26
|
+
* - restricted for another
|
|
27
|
+
* - infeasible for a third
|
|
28
|
+
*
|
|
29
|
+
* During precheck / candidate evaluation, restrictions can be attached to
|
|
30
|
+
* candidate actors. Once a task is assigned, the effective restrictions for
|
|
31
|
+
* the assigned actor should be copied onto the TaskRun.
|
|
32
|
+
*
|
|
33
|
+
* @generated from message runtime.v1.RuntimeRestriction
|
|
34
|
+
*/
|
|
35
|
+
export type RuntimeRestriction = Message<"runtime.v1.RuntimeRestriction"> & {
|
|
36
|
+
/**
|
|
37
|
+
* @generated from field: runtime.v1.RestrictionType type = 1;
|
|
38
|
+
*/
|
|
39
|
+
type: RestrictionType;
|
|
40
|
+
|
|
41
|
+
/**
|
|
42
|
+
* Human-readable explanation shown in UI/logs.
|
|
43
|
+
*
|
|
44
|
+
* @generated from field: string reason = 2;
|
|
45
|
+
*/
|
|
46
|
+
reason: string;
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
* Optional originating skill that caused the restriction.
|
|
50
|
+
*
|
|
51
|
+
* @generated from field: string source_skill_id = 3;
|
|
52
|
+
*/
|
|
53
|
+
sourceSkillId: string;
|
|
54
|
+
|
|
55
|
+
/**
|
|
56
|
+
* Optional originating policy that caused the restriction.
|
|
57
|
+
*
|
|
58
|
+
* @generated from field: string source_policy_id = 4;
|
|
59
|
+
*/
|
|
60
|
+
sourcePolicyId: string;
|
|
61
|
+
|
|
62
|
+
/**
|
|
63
|
+
* Optional actor this restriction applies to.
|
|
64
|
+
* If unset, the restriction is task-global rather than actor-specific.
|
|
65
|
+
*
|
|
66
|
+
* @generated from field: common.v1.ActorRef actor = 5;
|
|
67
|
+
*/
|
|
68
|
+
actor?: ActorRef;
|
|
69
|
+
};
|
|
70
|
+
|
|
71
|
+
/**
|
|
72
|
+
* Describes the message runtime.v1.RuntimeRestriction.
|
|
73
|
+
* Use `create(RuntimeRestrictionSchema)` to create a new message.
|
|
74
|
+
*/
|
|
75
|
+
export const RuntimeRestrictionSchema: GenMessage<RuntimeRestriction> = /*@__PURE__*/
|
|
76
|
+
messageDesc(file_runtime_v1_runtime_restriction, 0);
|
|
77
|
+
|
|
78
|
+
/**
|
|
79
|
+
* @generated from enum runtime.v1.RestrictionType
|
|
80
|
+
*/
|
|
81
|
+
export enum RestrictionType {
|
|
82
|
+
/**
|
|
83
|
+
* @generated from enum value: RESTRICTION_TYPE_UNSPECIFIED = 0;
|
|
84
|
+
*/
|
|
85
|
+
UNSPECIFIED = 0,
|
|
86
|
+
|
|
87
|
+
/**
|
|
88
|
+
* The actor may perform the task only with AR guidance enabled.
|
|
89
|
+
*
|
|
90
|
+
* @generated from enum value: RESTRICTION_TYPE_REQUIRE_AR_GUIDANCE = 1;
|
|
91
|
+
*/
|
|
92
|
+
REQUIRE_AR_GUIDANCE = 1,
|
|
93
|
+
|
|
94
|
+
/**
|
|
95
|
+
* The task must be manually confirmed before completion.
|
|
96
|
+
*
|
|
97
|
+
* @generated from enum value: RESTRICTION_TYPE_REQUIRE_MANUAL_CONFIRMATION = 2;
|
|
98
|
+
*/
|
|
99
|
+
REQUIRE_MANUAL_CONFIRMATION = 2,
|
|
100
|
+
|
|
101
|
+
/**
|
|
102
|
+
* The task requires supervisor approval before execution or completion.
|
|
103
|
+
*
|
|
104
|
+
* @generated from enum value: RESTRICTION_TYPE_REQUIRE_SUPERVISOR_APPROVAL = 3;
|
|
105
|
+
*/
|
|
106
|
+
REQUIRE_SUPERVISOR_APPROVAL = 3,
|
|
107
|
+
|
|
108
|
+
/**
|
|
109
|
+
* The task requires an additional validation or second check.
|
|
110
|
+
*
|
|
111
|
+
* @generated from enum value: RESTRICTION_TYPE_REQUIRE_SECOND_CHECK = 4;
|
|
112
|
+
*/
|
|
113
|
+
REQUIRE_SECOND_CHECK = 4,
|
|
114
|
+
|
|
115
|
+
/**
|
|
116
|
+
* Vision-based validation must be used.
|
|
117
|
+
*
|
|
118
|
+
* @generated from enum value: RESTRICTION_TYPE_REQUIRE_VISION_VALIDATION = 5;
|
|
119
|
+
*/
|
|
120
|
+
REQUIRE_VISION_VALIDATION = 5,
|
|
121
|
+
|
|
122
|
+
/**
|
|
123
|
+
* Tool feedback must be used.
|
|
124
|
+
*
|
|
125
|
+
* @generated from enum value: RESTRICTION_TYPE_REQUIRE_TOOL_FEEDBACK = 6;
|
|
126
|
+
*/
|
|
127
|
+
REQUIRE_TOOL_FEEDBACK = 6,
|
|
128
|
+
|
|
129
|
+
/**
|
|
130
|
+
* The task may only be executed by a human actor.
|
|
131
|
+
*
|
|
132
|
+
* @generated from enum value: RESTRICTION_TYPE_REQUIRE_HUMAN_ACTOR = 7;
|
|
133
|
+
*/
|
|
134
|
+
REQUIRE_HUMAN_ACTOR = 7,
|
|
135
|
+
|
|
136
|
+
/**
|
|
137
|
+
* The task may only be executed by a robot actor.
|
|
138
|
+
*
|
|
139
|
+
* @generated from enum value: RESTRICTION_TYPE_REQUIRE_ROBOT_ACTOR = 8;
|
|
140
|
+
*/
|
|
141
|
+
REQUIRE_ROBOT_ACTOR = 8,
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
/**
|
|
145
|
+
* Describes the enum runtime.v1.RestrictionType.
|
|
146
|
+
*/
|
|
147
|
+
export const RestrictionTypeSchema: GenEnum<RestrictionType> = /*@__PURE__*/
|
|
148
|
+
enumDesc(file_runtime_v1_runtime_restriction, 0);
|
|
149
|
+
|
|
@@ -15,6 +15,10 @@ import type { ContainerSlotRef } from "../../resources/v1/container_definition_p
|
|
|
15
15
|
import { file_resources_v1_container_definition } from "../../resources/v1/container_definition_pb.ts";
|
|
16
16
|
import type { ExecutionEvidence } from "./execution_evidence_pb.ts";
|
|
17
17
|
import { file_runtime_v1_execution_evidence } from "./execution_evidence_pb.ts";
|
|
18
|
+
import type { CandidateActorEvaluation } from "./process_requests_pb.ts";
|
|
19
|
+
import { file_runtime_v1_process_requests } from "./process_requests_pb.ts";
|
|
20
|
+
import type { RuntimeRestriction } from "./runtime_restriction_pb.ts";
|
|
21
|
+
import { file_runtime_v1_runtime_restriction } from "./runtime_restriction_pb.ts";
|
|
18
22
|
import { file_validation_v1_predefined_string_rules } from "../../validation/v1/predefined_string_rules_pb.ts";
|
|
19
23
|
import type { Message } from "@bufbuild/protobuf";
|
|
20
24
|
|
|
@@ -22,7 +26,7 @@ import type { Message } from "@bufbuild/protobuf";
|
|
|
22
26
|
* Describes the file runtime/v1/task_run.proto.
|
|
23
27
|
*/
|
|
24
28
|
export const file_runtime_v1_task_run: GenFile = /*@__PURE__*/
|
|
25
|
-
fileDesc("
|
|
29
|
+
fileDesc("ChlydW50aW1lL3YxL3Rhc2tfcnVuLnByb3RvEgpydW50aW1lLnYxIqcBChJUYXNrUnVudGltZUJpbmRpbmcSGQoRYXNzZXRfaW5zdGFuY2VfaWQYASABKAkSGQoRcm9ib3RfaW5zdGFuY2VfaWQYAiABKAkSEgoKc3RhdGlvbl9pZBgDIAEoCRIPCgdjZWxsX2lkGAQgASgJEjYKDmNvbnRhaW5lcl9zbG90GAUgASgLMh4ucmVzb3VyY2VzLnYxLkNvbnRhaW5lclNsb3RSZWYigQYKB1Rhc2tSdW4SCgoCaWQYASABKAkSDAoEbmFtZRgCIAEoCRIMCgRpY29uGAMgASgJEigKEnRhc2tfZGVmaW5pdGlvbl9pZBgEIAEoCUIMukgJyAEBcgSY8gQBEiwKFnBhcmVudF9zZXF1ZW5jZV9ydW5faWQYBSABKAlCDLpICcgBAXIE+PEEARI0CgVzdGF0ZRgGIAEoDjIYLnJ1bnRpbWUudjEuVGFza1J1blN0YXRlQgu6SAjIAQGCAQIQARItChBjYW5kaWRhdGVfYWN0b3JzGAcgAygLMhMuY29tbW9uLnYxLkFjdG9yUmVmEisKDmFzc2lnbmVkX2FjdG9yGAggASgLMhMuY29tbW9uLnYxLkFjdG9yUmVmEg4KBmNhbl9kbxgJIAEoCBIQCghjYW5fdW5kbxgKIAEoCBIYChB3b3JrYWJsZV9ob3Jpem9uGAsgASgFEjgKEmVzdGltYXRlZF9kdXJhdGlvbhgMIAEoCzIcLmNvbW1vbi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VxHUEJNZXRhZGF0YeoCC1J1bnRpbWU6OlYxYgZwcm90bzM", [file_buf_validate_validate, file_common_v1_actor, file_common_v1_time, file_google_protobuf_timestamp, file_resources_v1_container_definition, file_runtime_v1_execution_evidence, file_runtime_v1_process_requests, file_runtime_v1_runtime_restriction, file_validation_v1_predefined_string_rules]);
|
|
26
30
|
|
|
27
31
|
/**
|
|
28
32
|
* Concrete runtime/deployment bindings resolved for this task run.
|
|
@@ -158,6 +162,27 @@ export type TaskRun = Message<"runtime.v1.TaskRun"> & {
|
|
|
158
162
|
* @generated from field: runtime.v1.TaskRuntimeBinding binding = 18;
|
|
159
163
|
*/
|
|
160
164
|
binding?: TaskRuntimeBinding;
|
|
165
|
+
|
|
166
|
+
/**
|
|
167
|
+
* Effective runtime restrictions that currently apply to this task.
|
|
168
|
+
*
|
|
169
|
+
* These restrictions should reflect the current assigned actor and execution
|
|
170
|
+
* context. They may be copied from candidate-level evaluation results during
|
|
171
|
+
* assignment or reassignment.
|
|
172
|
+
*
|
|
173
|
+
* Examples:
|
|
174
|
+
* - AR guidance required because the assigned actor's skill is restricted
|
|
175
|
+
* - supervisor approval required before completion
|
|
176
|
+
* - tool feedback required due to safety/quality constraints
|
|
177
|
+
*
|
|
178
|
+
* @generated from field: repeated runtime.v1.RuntimeRestriction restrictions = 19;
|
|
179
|
+
*/
|
|
180
|
+
restrictions: RuntimeRestriction[];
|
|
181
|
+
|
|
182
|
+
/**
|
|
183
|
+
* @generated from field: repeated runtime.v1.CandidateActorEvaluation candidate_actor_evaluations = 20;
|
|
184
|
+
*/
|
|
185
|
+
candidateActorEvaluations: CandidateActorEvaluation[];
|
|
161
186
|
};
|
|
162
187
|
|
|
163
188
|
/**
|