@cobotar/protocol 0.19.7 → 0.19.9

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
@@ -1,7 +1,7 @@
1
1
  # CobotAR-Protocol
2
2
  A collection of protobuf messages for the CobotAR-project
3
3
 
4
- Current version: 0.19.7
4
+ Current version: 0.19.9
5
5
 
6
6
  ## Documentation
7
7
  Find it here: [documentation/README.md](documentation/README.md)
@@ -350,6 +350,13 @@ export const SkillStatusSchema: GenEnum<SkillStatus> = /*@__PURE__*/
350
350
  enumDesc(file_capability_v1_actor_skill, 1);
351
351
 
352
352
  /**
353
+ * SkillInvalidityReason explains why an actor skill is currently restricted,
354
+ * expired, or otherwise not fully valid.
355
+ *
356
+ * These reasons are intended to be stable, machine-readable summary codes that
357
+ * can be shown in UI, used in loaders/runtime checks, and derived from evidence,
358
+ * policy evaluation, or engineering-change events.
359
+ *
353
360
  * @generated from enum capability.v1.SkillInvalidityReason
354
361
  */
355
362
  export enum SkillInvalidityReason {
@@ -359,21 +366,51 @@ export enum SkillInvalidityReason {
359
366
  UNSPECIFIED = 0,
360
367
 
361
368
  /**
369
+ * The skill has degraded due to lack of recent practice or evidence of use.
370
+ *
371
+ * Typical examples:
372
+ * - no executions in the active policy window
373
+ * - no recent successful evidence for the skill
374
+ *
362
375
  * @generated from enum value: SKILL_INVALIDITY_REASON_INACTIVITY = 1;
363
376
  */
364
377
  INACTIVITY = 1,
365
378
 
366
379
  /**
380
+ * The skill is restricted or invalid because observed failure rate or quality
381
+ * performance exceeded the allowed threshold.
382
+ *
383
+ * Typical examples:
384
+ * - too many failed executions in the recent window
385
+ * - too many out-of-tolerance results
386
+ * - too many inspection failures or retries
387
+ *
367
388
  * @generated from enum value: SKILL_INVALIDITY_REASON_FAILURE_RATE = 2;
368
389
  */
369
390
  FAILURE_RATE = 2,
370
391
 
371
392
  /**
393
+ * The governing validity/certification policy has expired the skill based on
394
+ * time or other policy-defined rules.
395
+ *
396
+ * Typical examples:
397
+ * - certification period elapsed
398
+ * - revalidation deadline passed
399
+ *
372
400
  * @generated from enum value: SKILL_INVALIDITY_REASON_POLICY_EXPIRED = 3;
373
401
  */
374
402
  POLICY_EXPIRED = 3,
375
403
 
376
404
  /**
405
+ * The skill has been invalidated because a relevant engineering or process
406
+ * change means previous validation/training can no longer be trusted.
407
+ *
408
+ * Typical examples:
409
+ * - tool model or capability changed
410
+ * - torque/program parameters changed
411
+ * - product revision changed
412
+ * - robot program or fixture configuration changed
413
+ *
377
414
  * @generated from enum value: SKILL_INVALIDITY_REASON_ENGINEERING_CHANGE = 4;
378
415
  */
379
416
  ENGINEERING_CHANGE = 4,
@@ -386,6 +423,12 @@ export const SkillInvalidityReasonSchema: GenEnum<SkillInvalidityReason> = /*@__
386
423
  enumDesc(file_capability_v1_actor_skill, 2);
387
424
 
388
425
  /**
426
+ * SkillNextAction describes the recommended next action needed to restore,
427
+ * strengthen, or safely compensate for a restricted/expired skill.
428
+ *
429
+ * These actions are intended to be stable, machine-readable guidance codes that
430
+ * can be surfaced in UI and used by operational workflows.
431
+ *
389
432
  * @generated from enum capability.v1.SkillNextAction
390
433
  */
391
434
  export enum SkillNextAction {
@@ -395,26 +438,65 @@ export enum SkillNextAction {
395
438
  UNSPECIFIED = 0,
396
439
 
397
440
  /**
441
+ * A short targeted intervention is recommended before normal independent use.
442
+ *
443
+ * Typical examples:
444
+ * - brief AR-guided walkthrough
445
+ * - quick reminder of the critical steps
446
+ * - short digital refresher module
447
+ *
398
448
  * @generated from enum value: SKILL_NEXT_ACTION_MICRO_TRAINING = 1;
399
449
  */
400
450
  MICRO_TRAINING = 1,
401
451
 
402
452
  /**
453
+ * A broader retraining session is recommended because the skill has degraded
454
+ * beyond what a short intervention should address.
455
+ *
456
+ * Typical examples:
457
+ * - instructor-led refresher
458
+ * - extended guided practice
459
+ * - retraining on updated process/tooling
460
+ *
403
461
  * @generated from enum value: SKILL_NEXT_ACTION_REFRESHER_TRAINING = 2;
404
462
  */
405
463
  REFRESHER_TRAINING = 2,
406
464
 
407
465
  /**
466
+ * Formal re-certification or re-validation is required before the skill can
467
+ * return to normal unrestricted use.
468
+ *
469
+ * Typical examples:
470
+ * - certification renewal
471
+ * - formal competency check
472
+ * - validated robot/program re-approval
473
+ *
408
474
  * @generated from enum value: SKILL_NEXT_ACTION_RE_CERTIFICATION = 3;
409
475
  */
410
476
  RE_CERTIFICATION = 3,
411
477
 
412
478
  /**
479
+ * Additional runtime validation must be performed before or during task
480
+ * execution to safely use the skill in its current state.
481
+ *
482
+ * Typical examples:
483
+ * - second check required
484
+ * - vision/tool confirmation required
485
+ * - extra verification step before completion
486
+ *
413
487
  * @generated from enum value: SKILL_NEXT_ACTION_EXTRA_VALIDATION_REQUIRED = 4;
414
488
  */
415
489
  EXTRA_VALIDATION_REQUIRED = 4,
416
490
 
417
491
  /**
492
+ * Supervisor or responsible authority approval is required before the actor
493
+ * may execute tasks relying on this skill.
494
+ *
495
+ * Typical examples:
496
+ * - technician sign-off
497
+ * - team lead approval
498
+ * - engineering approval for temporary restricted use
499
+ *
418
500
  * @generated from enum value: SKILL_NEXT_ACTION_SUPERVISOR_APPROVAL_REQUIRED = 5;
419
501
  */
420
502
  SUPERVISOR_APPROVAL_REQUIRED = 5,
@@ -7,6 +7,10 @@ import { enumDesc, fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";
7
7
  import { file_buf_validate_validate } from "../../buf/validate/validate_pb.ts";
8
8
  import type { ExternalReference } from "../../common/v1/external_references_pb.ts";
9
9
  import { file_common_v1_external_references } from "../../common/v1/external_references_pb.ts";
10
+ import type { SequenceDefinition } from "./sequence_definition_pb.ts";
11
+ import { file_process_v1_sequence_definition } from "./sequence_definition_pb.ts";
12
+ import type { TaskDefinition } from "./task_definition_pb.ts";
13
+ import { file_process_v1_task_definition } from "./task_definition_pb.ts";
10
14
  import { file_validation_v1_predefined_string_rules } from "../../validation/v1/predefined_string_rules_pb.ts";
11
15
  import type { VariantRule } from "../../variance/v1/variant_rule_pb.ts";
12
16
  import { file_variance_v1_variant_rule } from "../../variance/v1/variant_rule_pb.ts";
@@ -16,7 +20,7 @@ import type { Message } from "@bufbuild/protobuf";
16
20
  * Describes the file process/v1/process_recipe.proto.
17
21
  */
18
22
  export const file_process_v1_process_recipe: GenFile = /*@__PURE__*/
19
- fileDesc("Ch9wcm9jZXNzL3YxL3Byb2Nlc3NfcmVjaXBlLnByb3RvEgpwcm9jZXNzLnYxImsKE1JlY2lwZUFwcGxpY2FiaWxpdHkSKQoHaW5jbHVkZRgBIAMoCzIYLnZhcmlhbmNlLnYxLlZhcmlhbnRSdWxlEikKB2V4Y2x1ZGUYAiADKAsyGC52YXJpYW5jZS52MS5WYXJpYW50UnVsZSKLAwoNUHJvY2Vzc1JlY2lwZRIKCgJpZBgBIAEoCRIXCgRuYW1lGAIgASgJQgm6SAZyBIDxBAESDAoEaWNvbhgDIAEoCRITCgtkZXNjcmlwdGlvbhgEIAEoCRIyCgR0eXBlGAUgASgOMhcucHJvY2Vzcy52MS5Qcm9jZXNzVHlwZUILukgIyAEBggECEAESHQoVcHJvZHVjdF9kZWZpbml0aW9uX2lkGAYgASgJEjYKDWFwcGxpY2FiaWxpdHkYByABKAsyHy5wcm9jZXNzLnYxLlJlY2lwZUFwcGxpY2FiaWxpdHkSGAoQcm9vdF9zZXF1ZW5jZV9pZBgIIAEoCRIUCgxzZXF1ZW5jZV9pZHMYCSADKAkSEAoIdGFza19pZHMYCiADKAkSKgoic3VwcG9ydGVkX2NvbnRhaW5lcl9kZWZpbml0aW9uX2lkcxgLIAMoCRI5ChNleHRlcm5hbF9yZWZlcmVuY2VzGAwgAygLMhwuY29tbW9uLnYxLkV4dGVybmFsUmVmZXJlbmNlIjoKDlByb2Nlc3NSZWNpcGVzEigKBWl0ZW1zGAEgAygLMhkucHJvY2Vzcy52MS5Qcm9jZXNzUmVjaXBlKtUBCgtQcm9jZXNzVHlwZRIcChhQUk9DRVNTX1RZUEVfVU5TUEVDSUZJRUQQABIZChVQUk9DRVNTX1RZUEVfQVNTRU1CTFkQARIcChhQUk9DRVNTX1RZUEVfRElTQVNTRU1CTFkQAhIbChdQUk9DRVNTX1RZUEVfSU5TUEVDVElPThADEhoKFlBST0NFU1NfVFlQRV9DSEVDS0xJU1QQBBIYChRQUk9DRVNTX1RZUEVfS0lUVElORxAFEhwKGFBST0NFU1NfVFlQRV9NQUlOVEVOQU5DRRAGQrEBCg5jb20ucHJvY2Vzcy52MUISUHJvY2Vzc1JlY2lwZVByb3RvUAFaOWdpdGh1Yi5jb20vY29ib3Rhci9wcm90b2NvbC9tZXNzYWdlcy9wcm9jZXNzL3YxO3Byb2Nlc3N2MaICA1BYWKoCE01lc3NhZ2VzLlByb2Nlc3MuVjHKAgpQcm9jZXNzXFYx4gIWUHJvY2Vzc1xWMVxHUEJNZXRhZGF0YeoCC1Byb2Nlc3M6OlYxYgZwcm90bzM", [file_buf_validate_validate, file_common_v1_external_references, file_validation_v1_predefined_string_rules, file_variance_v1_variant_rule]);
23
+ fileDesc("Ch9wcm9jZXNzL3YxL3Byb2Nlc3NfcmVjaXBlLnByb3RvEgpwcm9jZXNzLnYxImsKE1JlY2lwZUFwcGxpY2FiaWxpdHkSKQoHaW5jbHVkZRgBIAMoCzIYLnZhcmlhbmNlLnYxLlZhcmlhbnRSdWxlEikKB2V4Y2x1ZGUYAiADKAsyGC52YXJpYW5jZS52MS5WYXJpYW50UnVsZSKLAwoNUHJvY2Vzc1JlY2lwZRIKCgJpZBgBIAEoCRIXCgRuYW1lGAIgASgJQgm6SAZyBIDxBAESDAoEaWNvbhgDIAEoCRITCgtkZXNjcmlwdGlvbhgEIAEoCRIyCgR0eXBlGAUgASgOMhcucHJvY2Vzcy52MS5Qcm9jZXNzVHlwZUILukgIyAEBggECEAESHQoVcHJvZHVjdF9kZWZpbml0aW9uX2lkGAYgASgJEjYKDWFwcGxpY2FiaWxpdHkYByABKAsyHy5wcm9jZXNzLnYxLlJlY2lwZUFwcGx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EoCUIMukgJyAEBcgSg8gQBEh0KB3Rhc2tfaWQYAiABKAlCDLpICcgBAXIEsPIEASrVAQoLUHJvY2Vzc1R5cGUSHAoYUFJPQ0VTU19UWVBFX1VOU1BFQ0lGSUVEEAASGQoVUFJPQ0VTU19UWVBFX0FTU0VNQkxZEAESHAoYUFJPQ0VTU19UWVBFX0RJU0FTU0VNQkxZEAISGwoXUFJPQ0VTU19UWVBFX0lOU1BFQ1RJT04QAxIaChZQUk9DRVNTX1RZUEVfQ0hFQ0tMSVNUEAQSGAoUUFJPQ0VTU19UWVBFX0tJVFRJTkcQBRIcChhQUk9DRVNTX1RZUEVfTUFJTlRFTkFOQ0UQBkKxAQoOY29tLnByb2Nlc3MudjFCElByb2Nlc3NSZWNpcGVQcm90b1ABWjlnaXRodWIuY29tL2NvYm90YXIvcHJvdG9jb2wvbWVzc2FnZXMvcHJvY2Vzcy92MTtwcm9jZXNzdjGiAgNQWFiqAhNNZXNzYWdlcy5Qcm9jZXNzLlYxygIKUHJvY2Vzc1xWMeICFlByb2Nlc3NcVjFcR1BCTWV0YWRhdGHqAgtQcm9jZXNzOjpWMWIGcHJvdG8z", [file_buf_validate_validate, file_common_v1_external_references, file_process_v1_sequence_definition, file_process_v1_task_definition, file_validation_v1_predefined_string_rules, file_variance_v1_variant_rule]);
20
24
 
21
25
  /**
22
26
  * @generated from message process.v1.RecipeApplicability
@@ -143,6 +147,138 @@ export type ProcessRecipes = Message<"process.v1.ProcessRecipes"> & {
143
147
  export const ProcessRecipesSchema: GenMessage<ProcessRecipes> = /*@__PURE__*/
144
148
  messageDesc(file_process_v1_process_recipe, 2);
145
149
 
150
+ /**
151
+ * @generated from message process.v1.CreateProcessRecipe
152
+ */
153
+ export type CreateProcessRecipe = Message<"process.v1.CreateProcessRecipe"> & {
154
+ /**
155
+ * @generated from field: process.v1.ProcessRecipe recipe = 1;
156
+ */
157
+ recipe?: ProcessRecipe;
158
+
159
+ /**
160
+ * @generated from field: repeated process.v1.SequenceDefinition sequences = 2;
161
+ */
162
+ sequences: SequenceDefinition[];
163
+
164
+ /**
165
+ * @generated from field: repeated process.v1.TaskDefinition tasks = 3;
166
+ */
167
+ tasks: TaskDefinition[];
168
+ };
169
+
170
+ /**
171
+ * Describes the message process.v1.CreateProcessRecipe.
172
+ * Use `create(CreateProcessRecipeSchema)` to create a new message.
173
+ */
174
+ export const CreateProcessRecipeSchema: GenMessage<CreateProcessRecipe> = /*@__PURE__*/
175
+ messageDesc(file_process_v1_process_recipe, 3);
176
+
177
+ /**
178
+ * @generated from message process.v1.AddRootSequenceRequest
179
+ */
180
+ export type AddRootSequenceRequest = Message<"process.v1.AddRootSequenceRequest"> & {
181
+ /**
182
+ * @generated from field: string recipe_id = 1;
183
+ */
184
+ recipeId: string;
185
+ };
186
+
187
+ /**
188
+ * Describes the message process.v1.AddRootSequenceRequest.
189
+ * Use `create(AddRootSequenceRequestSchema)` to create a new message.
190
+ */
191
+ export const AddRootSequenceRequestSchema: GenMessage<AddRootSequenceRequest> = /*@__PURE__*/
192
+ messageDesc(file_process_v1_process_recipe, 4);
193
+
194
+ /**
195
+ * @generated from message process.v1.AddChildSequenceRequest
196
+ */
197
+ export type AddChildSequenceRequest = Message<"process.v1.AddChildSequenceRequest"> & {
198
+ /**
199
+ * @generated from field: string recipe_id = 1;
200
+ */
201
+ recipeId: string;
202
+
203
+ /**
204
+ * @generated from field: string sequence_id = 2;
205
+ */
206
+ sequenceId: string;
207
+ };
208
+
209
+ /**
210
+ * Describes the message process.v1.AddChildSequenceRequest.
211
+ * Use `create(AddChildSequenceRequestSchema)` to create a new message.
212
+ */
213
+ export const AddChildSequenceRequestSchema: GenMessage<AddChildSequenceRequest> = /*@__PURE__*/
214
+ messageDesc(file_process_v1_process_recipe, 5);
215
+
216
+ /**
217
+ * @generated from message process.v1.RemoveSequenceRequest
218
+ */
219
+ export type RemoveSequenceRequest = Message<"process.v1.RemoveSequenceRequest"> & {
220
+ /**
221
+ * @generated from field: string recipe_id = 1;
222
+ */
223
+ recipeId: string;
224
+
225
+ /**
226
+ * @generated from field: string sequence_id = 2;
227
+ */
228
+ sequenceId: string;
229
+ };
230
+
231
+ /**
232
+ * Describes the message process.v1.RemoveSequenceRequest.
233
+ * Use `create(RemoveSequenceRequestSchema)` to create a new message.
234
+ */
235
+ export const RemoveSequenceRequestSchema: GenMessage<RemoveSequenceRequest> = /*@__PURE__*/
236
+ messageDesc(file_process_v1_process_recipe, 6);
237
+
238
+ /**
239
+ * @generated from message process.v1.AddChildTaskRequest
240
+ */
241
+ export type AddChildTaskRequest = Message<"process.v1.AddChildTaskRequest"> & {
242
+ /**
243
+ * @generated from field: string recipe_id = 1;
244
+ */
245
+ recipeId: string;
246
+
247
+ /**
248
+ * @generated from field: string sequence_id = 2;
249
+ */
250
+ sequenceId: string;
251
+ };
252
+
253
+ /**
254
+ * Describes the message process.v1.AddChildTaskRequest.
255
+ * Use `create(AddChildTaskRequestSchema)` to create a new message.
256
+ */
257
+ export const AddChildTaskRequestSchema: GenMessage<AddChildTaskRequest> = /*@__PURE__*/
258
+ messageDesc(file_process_v1_process_recipe, 7);
259
+
260
+ /**
261
+ * @generated from message process.v1.RemoveTaskRequest
262
+ */
263
+ export type RemoveTaskRequest = Message<"process.v1.RemoveTaskRequest"> & {
264
+ /**
265
+ * @generated from field: string recipe_id = 1;
266
+ */
267
+ recipeId: string;
268
+
269
+ /**
270
+ * @generated from field: string task_id = 2;
271
+ */
272
+ taskId: string;
273
+ };
274
+
275
+ /**
276
+ * Describes the message process.v1.RemoveTaskRequest.
277
+ * Use `create(RemoveTaskRequestSchema)` to create a new message.
278
+ */
279
+ export const RemoveTaskRequestSchema: GenMessage<RemoveTaskRequest> = /*@__PURE__*/
280
+ messageDesc(file_process_v1_process_recipe, 8);
281
+
146
282
  /**
147
283
  * @generated from enum process.v1.ProcessType
148
284
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cobotar/protocol",
3
- "version": "0.19.7",
3
+ "version": "0.19.9",
4
4
  "description": "A collection of protobuf messages for the CobotAR-project",
5
5
  "homepage": "https://github.com/cobotar/protocol#readme",
6
6
  "files": [