@cobotar/protocol 0.18.10 → 0.18.12

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.18.10
4
+ Current version: 0.18.12
5
5
 
6
6
  ## Documentation
7
7
  Find it here: [documentation/README.md](documentation/README.md)
@@ -122,6 +122,14 @@ export const ActorSkillSchema: GenMessage<ActorSkill> = /*@__PURE__*/
122
122
  messageDesc(file_capability_v1_actor_skill, 1);
123
123
 
124
124
  /**
125
+ *
126
+ * Alternative categories:
127
+ * AWARE: Understands concept
128
+ * ASSISTED: Can perform with guidance
129
+ * COMPETENT: Can perform independently
130
+ * EXPERT: Can troubleshoot and optimize
131
+ * CERTIFIED: Officially qualified
132
+ *
125
133
  * @generated from enum capability.v1.SkillLevel
126
134
  */
127
135
  export enum SkillLevel {
@@ -81,50 +81,142 @@ export const SkillDefinitionsSchema: GenMessage<SkillDefinitions> = /*@__PURE__*
81
81
  messageDesc(file_capability_v1_skill_definition, 1);
82
82
 
83
83
  /**
84
+ * SkillDomain classifies a skill according to the type of work it primarily
85
+ * represents. Domains are used for:
86
+ * - organizing skills in UIs and editors
87
+ * - filtering skills during task authoring
88
+ * - reasoning about capabilities during planning and assignment
89
+ *
90
+ * A domain does NOT define the exact operation itself (that is done by the
91
+ * skill), but rather the general category of work the skill belongs to.
92
+ *
93
+ * Domains should remain stable and relatively few in number, since they
94
+ * typically appear in filters, dashboards, and analytics.
95
+ *
84
96
  * @generated from enum capability.v1.SkillDomain
85
97
  */
86
98
  export enum SkillDomain {
87
99
  /**
100
+ * Default value when the domain is unknown or not yet assigned.
101
+ *
88
102
  * @generated from enum value: SKILL_DOMAIN_UNSPECIFIED = 0;
89
103
  */
90
104
  UNSPECIFIED = 0,
91
105
 
92
106
  /**
107
+ * General physical handling of parts, tools, or materials.
108
+ *
109
+ * Examples:
110
+ * - gripping or stabilizing a workpiece
111
+ * - positioning a component
112
+ * - moving or placing a part
113
+ * - cleaning or wiping surfaces
114
+ *
115
+ * This domain typically involves manipulation rather than modification.
116
+ *
93
117
  * @generated from enum value: SKILL_DOMAIN_HANDLING = 1;
94
118
  */
95
119
  HANDLING = 1,
96
120
 
97
121
  /**
122
+ * Mechanical assembly operations that combine components into an assembly.
123
+ *
124
+ * Examples:
125
+ * - inserting components
126
+ * - aligning parts
127
+ * - mounting subassemblies
128
+ * - press-fitting components
129
+ *
130
+ * Assembly usually precedes fastening or validation steps.
131
+ *
98
132
  * @generated from enum value: SKILL_DOMAIN_ASSEMBLY = 2;
99
133
  */
100
134
  ASSEMBLY = 2,
101
135
 
102
136
  /**
137
+ * Operations involving threaded fasteners or torque-controlled joining.
138
+ *
139
+ * Examples:
140
+ * - tightening bolts or screws
141
+ * - loosening fasteners
142
+ * - torque verification
143
+ *
144
+ * This domain is separated from general assembly because fastening
145
+ * frequently requires specialized tools, torque control, and validation.
146
+ *
103
147
  * @generated from enum value: SKILL_DOMAIN_FASTENING = 3;
104
148
  */
105
149
  FASTENING = 3,
106
150
 
107
151
  /**
152
+ * Inspection, verification, and quality assurance activities.
153
+ *
154
+ * Examples:
155
+ * - visual inspection
156
+ * - detecting part presence
157
+ * - measuring dimensions
158
+ * - verifying assembly completion
159
+ *
160
+ * These skills are often used for validation steps within processes.
161
+ *
108
162
  * @generated from enum value: SKILL_DOMAIN_INSPECTION = 4;
109
163
  */
110
164
  INSPECTION = 4,
111
165
 
112
166
  /**
167
+ * Tasks involving electrical or electronic components and systems.
168
+ *
169
+ * Examples:
170
+ * - connecting electrical components
171
+ * - handling ESD-sensitive parts
172
+ * - interacting with electrical assemblies or wiring
173
+ *
174
+ * This domain may impose additional safety or handling constraints.
175
+ *
113
176
  * @generated from enum value: SKILL_DOMAIN_ELECTRICAL = 5;
114
177
  */
115
178
  ELECTRICAL = 5,
116
179
 
117
180
  /**
181
+ * Skills related to coordination between multiple actors.
182
+ *
183
+ * Examples:
184
+ * - human–robot collaboration
185
+ * - synchronized operations
186
+ * - shared workspace interactions
187
+ *
188
+ * These skills are important when tasks involve cooperation between
189
+ * humans, robots, or automated equipment.
190
+ *
118
191
  * @generated from enum value: SKILL_DOMAIN_COLLABORATION = 6;
119
192
  */
120
193
  COLLABORATION = 6,
121
194
 
122
195
  /**
196
+ * Safety-critical skills required to safely perform certain operations.
197
+ *
198
+ * Examples:
199
+ * - interacting with safety systems
200
+ * - operating within guarded environments
201
+ * - acknowledging safety procedures
202
+ *
203
+ * These skills may represent certifications or required training.
204
+ *
123
205
  * @generated from enum value: SKILL_DOMAIN_SAFETY = 7;
124
206
  */
125
207
  SAFETY = 7,
126
208
 
127
209
  /**
210
+ * Skills related to operating, supervising, or interacting with robots.
211
+ *
212
+ * Examples:
213
+ * - executing robot motion
214
+ * - supervising automated tasks
215
+ * - operating robot interfaces
216
+ *
217
+ * This domain is particularly relevant in human-robot collaboration
218
+ * environments.
219
+ *
128
220
  * @generated from enum value: SKILL_DOMAIN_ROBOT_OPERATION = 8;
129
221
  */
130
222
  ROBOT_OPERATION = 8,
@@ -15,7 +15,7 @@ import type { Message } from "@bufbuild/protobuf";
15
15
  * Describes the file capability/v1/tool_requirement.proto.
16
16
  */
17
17
  export const file_capability_v1_tool_requirement: GenFile = /*@__PURE__*/
18
- fileDesc("CiRjYXBhYmlsaXR5L3YxL3Rvb2xfcmVxdWlyZW1lbnQucHJvdG8SDWNhcGFiaWxpdHkudjEi8QEKD1Rvb2xSZXF1aXJlbWVudBIyCgRyb2xlGAEgASgOMhcuY2FwYWJpbGl0eS52MS5Ub29sUm9sZUILukgIyAEBggECEAESRwoTcmVxdWlyZWRfcHJvcGVydGllcxgCIAMoDjIbLmNhcGFiaWxpdHkudjEuVG9vbFByb3BlcnR5Qg26SAqSAQciBYIBAhABEjwKEm1pbmltdW1fY2FwYWJpbGl0eRgDIAEoCzIgLmNhcGFiaWxpdHkudjEuQ2FwYWJpbGl0eVByb2ZpbGUSIwobYWxsb3dlZF90b29sX2RlZmluaXRpb25faWRzGAQgAygJKu8BCgxUb29sUHJvcGVydHkSHQoZVE9PTF9QUk9QRVJUWV9VTlNQRUNJRklFRBAAEiMKH1RPT0xfUFJPUEVSVFlfVE9SUVVFX0NPTlRST0xMRUQQARIaChZUT09MX1BST1BFUlRZX0VTRF9TQUZFEAISGwoXVE9PTF9QUk9QRVJUWV9JTlNVTEFURUQQAxIkCiBUT09MX1BST1BFUlRZX0NPTExBQk9SQVRJVkVfU0FGRRAEEhwKGFRPT0xfUFJPUEVSVFlfQ0FMSUJSQVRFRBAFEh4KGlRPT0xfUFJPUEVSVFlfUVVJQ0tfQ0hBTkdFEAZCyAEKEWNvbS5jYXBhYmlsaXR5LnYxQhRUb29sUmVxdWlyZW1lbnRQcm90b1ABWj9naXRodWIuY29tL2NvYm90YXIvcHJvdG9jb2wvbWVzc2FnZXMvY2FwYWJpbGl0eS92MTtjYXBhYmlsaXR5djGiAgNDWFiqAhZNZXNzYWdlcy5DYXBhYmlsaXR5LlYxygINQ2FwYWJpbGl0eVxWMeICGUNhcGFiaWxpdHlcVjFcR1BCTWV0YWRhdGHqAg5DYXBhYmlsaXR5OjpWMWIGcHJvdG8z", [file_buf_validate_validate, file_capability_v1_capability_profile, file_capability_v1_skill_definition]);
18
+ fileDesc("CiRjYXBhYmlsaXR5L3YxL3Rvb2xfcmVxdWlyZW1lbnQucHJvdG8SDWNhcGFiaWxpdHkudjEi7gEKD1Rvb2xSZXF1aXJlbWVudBIvCgRyb2xlGAEgASgOMhcuY2FwYWJpbGl0eS52MS5Ub29sUm9sZUIIukgFggECEAESRwoTcmVxdWlyZWRfcHJvcGVydGllcxgCIAMoDjIbLmNhcGFiaWxpdHkudjEuVG9vbFByb3BlcnR5Qg26SAqSAQciBYIBAhABEjwKEm1pbmltdW1fY2FwYWJpbGl0eRgDIAEoCzIgLmNhcGFiaWxpdHkudjEuQ2FwYWJpbGl0eVByb2ZpbGUSIwobYWxsb3dlZF90b29sX2RlZmluaXRpb25faWRzGAQgAygJKu8BCgxUb29sUHJvcGVydHkSHQoZVE9PTF9QUk9QRVJUWV9VTlNQRUNJRklFRBAAEiMKH1RPT0xfUFJPUEVSVFlfVE9SUVVFX0NPTlRST0xMRUQQARIaChZUT09MX1BST1BFUlRZX0VTRF9TQUZFEAISGwoXVE9PTF9QUk9QRVJUWV9JTlNVTEFURUQQAxIkCiBUT09MX1BST1BFUlRZX0NPTExBQk9SQVRJVkVfU0FGRRAEEhwKGFRPT0xfUFJPUEVSVFlfQ0FMSUJSQVRFRBAFEh4KGlRPT0xfUFJPUEVSVFlfUVVJQ0tfQ0hBTkdFEAZCyAEKEWNvbS5jYXBhYmlsaXR5LnYxQhRUb29sUmVxdWlyZW1lbnRQcm90b1ABWj9naXRodWIuY29tL2NvYm90YXIvcHJvdG9jb2wvbWVzc2FnZXMvY2FwYWJpbGl0eS92MTtjYXBhYmlsaXR5djGiAgNDWFiqAhZNZXNzYWdlcy5DYXBhYmlsaXR5LlYxygINQ2FwYWJpbGl0eVxWMeICGUNhcGFiaWxpdHlcVjFcR1BCTWV0YWRhdGHqAg5DYXBhYmlsaXR5OjpWMWIGcHJvdG8z", [file_buf_validate_validate, file_capability_v1_capability_profile, file_capability_v1_skill_definition]);
19
19
 
20
20
  /**
21
21
  * @generated from message capability.v1.ToolRequirement
@@ -48,30 +48,101 @@ export const ResourceStatusSchema: GenEnum<ResourceStatus> = /*@__PURE__*/
48
48
  enumDesc(file_common_v1_enums, 0);
49
49
 
50
50
  /**
51
+ * SafetyRelevance indicates how safety-critical a task, action, or capability is.
52
+ *
53
+ * This value helps systems determine:
54
+ * - whether additional validation or confirmation is required
55
+ * - what actor permissions or certifications are needed
56
+ * - whether supervision or restricted execution policies apply
57
+ * - how prominently the task should be displayed or highlighted in UIs
58
+ *
59
+ * Safety relevance does NOT necessarily mean the task is dangerous,
60
+ * but rather the potential consequences if the task is performed
61
+ * incorrectly or skipped.
62
+ *
63
+ * The levels are intentionally coarse to keep authoring simple while
64
+ * still allowing meaningful safety-aware behavior.
65
+ *
51
66
  * @generated from enum common.v1.SafetyRelevance
52
67
  */
53
68
  export enum SafetyRelevance {
54
69
  /**
70
+ * Default value when safety relevance has not yet been determined.
71
+ *
72
+ * Systems should typically treat this conservatively, often
73
+ * equivalent to MEDIUM unless explicitly overridden.
74
+ *
55
75
  * @generated from enum value: SAFETY_RELEVANCE_UNSPECIFIED = 0;
56
76
  */
57
77
  UNSPECIFIED = 0,
58
78
 
59
79
  /**
80
+ * Minimal safety impact.
81
+ *
82
+ * Errors are unlikely to cause harm to people, equipment,
83
+ * or product integrity.
84
+ *
85
+ * Examples:
86
+ * - wiping a surface
87
+ * - organizing components
88
+ * - non-critical visual checks
89
+ *
90
+ * Typically requires no special permissions or confirmations.
91
+ *
60
92
  * @generated from enum value: SAFETY_RELEVANCE_LOW = 1;
61
93
  */
62
94
  LOW = 1,
63
95
 
64
96
  /**
97
+ * Moderate safety impact.
98
+ *
99
+ * Mistakes may affect product quality or create minor risk
100
+ * to equipment or operators.
101
+ *
102
+ * Examples:
103
+ * - positioning components
104
+ * - inserting non-critical parts
105
+ * - non-torque-sensitive operations
106
+ *
107
+ * Systems may require basic validation or confirmation.
108
+ *
65
109
  * @generated from enum value: SAFETY_RELEVANCE_MEDIUM = 2;
66
110
  */
67
111
  MEDIUM = 2,
68
112
 
69
113
  /**
114
+ * High safety impact.
115
+ *
116
+ * Incorrect execution may lead to equipment damage, significant
117
+ * product defects, or operator risk.
118
+ *
119
+ * Examples:
120
+ * - torque-controlled fastening
121
+ * - applying significant force
122
+ * - electrical assembly steps
123
+ *
124
+ * Systems may enforce stricter validation, tool feedback,
125
+ * or actor capability checks.
126
+ *
70
127
  * @generated from enum value: SAFETY_RELEVANCE_HIGH = 3;
71
128
  */
72
129
  HIGH = 3,
73
130
 
74
131
  /**
132
+ * Safety-critical operations.
133
+ *
134
+ * Incorrect execution may pose serious risk to human safety,
135
+ * regulatory compliance, or system integrity.
136
+ *
137
+ * Examples:
138
+ * - safety-critical fasteners
139
+ * - interacting with safety systems
140
+ * - hazardous energy isolation steps
141
+ * - operations requiring certified personnel
142
+ *
143
+ * Systems should require strict validation, restricted actor
144
+ * permissions, and explicit confirmation before completion.
145
+ *
75
146
  * @generated from enum value: SAFETY_RELEVANCE_CRITICAL = 4;
76
147
  */
77
148
  CRITICAL = 4,
@@ -4,15 +4,16 @@
4
4
 
5
5
  import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
6
6
  import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";
7
- import type { Duration, Timestamp } from "@bufbuild/protobuf/wkt";
8
- import { file_google_protobuf_duration, file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
7
+ import { file_buf_validate_validate } from "../../buf/validate/validate_pb.ts";
8
+ import type { Timestamp } from "@bufbuild/protobuf/wkt";
9
+ import { file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
9
10
  import type { Message } from "@bufbuild/protobuf";
10
11
 
11
12
  /**
12
13
  * Describes the file common/v1/time.proto.
13
14
  */
14
15
  export const file_common_v1_time: GenFile = /*@__PURE__*/
15
- fileDesc("ChRjb21tb24vdjEvdGltZS5wcm90bxIJY29tbW9uLnYxImAKClRpbWVXaW5kb3cSKQoFc3RhcnQYASABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wEicKA2VuZBgCIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXAijwEKEUVzdGltYXRlZER1cmF0aW9uEioKB25vbWluYWwYASABKAsyGS5nb29nbGUucHJvdG9idWYuRHVyYXRpb24SJgoDbWluGAIgASgLMhkuZ29vZ2xlLnByb3RvYnVmLkR1cmF0aW9uEiYKA21heBgDIAEoCzIZLmdvb2dsZS5wcm90b2J1Zi5EdXJhdGlvbkKhAQoNY29tLmNvbW1vbi52MUIJVGltZVByb3RvUAFaN2dpdGh1Yi5jb20vY29ib3Rhci9wcm90b2NvbC9tZXNzYWdlcy9jb21tb24vdjE7Y29tbW9udjGiAgNDWFiqAhJNZXNzYWdlcy5Db21tb24uVjHKAglDb21tb25cVjHiAhVDb21tb25cVjFcR1BCTWV0YWRhdGHqAgpDb21tb246OlYxYgZwcm90bzM", [file_google_protobuf_duration, file_google_protobuf_timestamp]);
16
+ fileDesc("ChRjb21tb24vdjEvdGltZS5wcm90bxIJY29tbW9uLnYxImAKClRpbWVXaW5kb3cSKQoFc3RhcnQYASABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wEicKA2VuZBgCIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXAicQoRRXN0aW1hdGVkRHVyYXRpb24SIAoPbm9taW5hbF9zZWNvbmRzGAEgASgFQge6SAQaAigAEhwKC21pbl9zZWNvbmRzGAIgASgFQge6SAQaAigAEhwKC21heF9zZWNvbmRzGAMgASgFQge6SAQaAigAQqEBCg1jb20uY29tbW9uLnYxQglUaW1lUHJvdG9QAVo3Z2l0aHViLmNvbS9jb2JvdGFyL3Byb3RvY29sL21lc3NhZ2VzL2NvbW1vbi92MTtjb21tb252MaICA0NYWKoCEk1lc3NhZ2VzLkNvbW1vbi5WMcoCCUNvbW1vblxWMeICFUNvbW1vblxWMVxHUEJNZXRhZGF0YeoCCkNvbW1vbjo6VjFiBnByb3RvMw", [file_buf_validate_validate, file_google_protobuf_timestamp]);
16
17
 
17
18
  /**
18
19
  * @generated from message common.v1.TimeWindow
@@ -41,19 +42,21 @@ export const TimeWindowSchema: GenMessage<TimeWindow> = /*@__PURE__*/
41
42
  */
42
43
  export type EstimatedDuration = Message<"common.v1.EstimatedDuration"> & {
43
44
  /**
44
- * @generated from field: google.protobuf.Duration nominal = 1;
45
+ * Expected time in seconds
46
+ *
47
+ * @generated from field: int32 nominal_seconds = 1;
45
48
  */
46
- nominal?: Duration;
49
+ nominalSeconds: number;
47
50
 
48
51
  /**
49
- * @generated from field: google.protobuf.Duration min = 2;
52
+ * @generated from field: int32 min_seconds = 2;
50
53
  */
51
- min?: Duration;
54
+ minSeconds: number;
52
55
 
53
56
  /**
54
- * @generated from field: google.protobuf.Duration max = 3;
57
+ * @generated from field: int32 max_seconds = 3;
55
58
  */
56
- max?: Duration;
59
+ maxSeconds: number;
57
60
  };
58
61
 
59
62
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cobotar/protocol",
3
- "version": "0.18.10",
3
+ "version": "0.18.12",
4
4
  "description": "A collection of protobuf messages for the CobotAR-project",
5
5
  "homepage": "https://github.com/cobotar/protocol#readme",
6
6
  "files": [