@cobotar/protocol 0.19.17 → 0.19.19

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.17
4
+ Current version: 0.19.19
5
5
 
6
6
  ## Documentation
7
7
  Find it here: [documentation/README.md](documentation/README.md)
@@ -2,17 +2,11 @@
2
2
  // @generated from file ar/v1/ar_config.proto (package ar.v1, syntax proto3)
3
3
  /* eslint-disable */
4
4
 
5
- import type { GenEnum, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
6
- import { enumDesc, fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";
7
- import type { ActionMessage } from "./action_pb.ts";
8
- import { file_ar_v1_action } from "./action_pb.ts";
9
- import type { FeedbackMessage } from "./feedback_pb.ts";
10
- import { file_ar_v1_feedback } from "./feedback_pb.ts";
11
- import type { HelperMessage } from "./helper_pb.ts";
12
- import { file_ar_v1_helper } from "./helper_pb.ts";
5
+ import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
6
+ import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";
7
+ import type { ARInputSlotMessage } from "./input_slot_pb.ts";
8
+ import { file_ar_v1_input_slot } from "./input_slot_pb.ts";
13
9
  import { file_buf_validate_validate } from "../../buf/validate/validate_pb.ts";
14
- import type { Property } from "../../common/v1/property_pb.ts";
15
- import { file_common_v1_property } from "../../common/v1/property_pb.ts";
16
10
  import { file_validation_v1_predefined_string_rules } from "../../validation/v1/predefined_string_rules_pb.ts";
17
11
  import type { Message } from "@bufbuild/protobuf";
18
12
 
@@ -20,7 +14,7 @@ import type { Message } from "@bufbuild/protobuf";
20
14
  * Describes the file ar/v1/ar_config.proto.
21
15
  */
22
16
  export const file_ar_v1_ar_config: GenFile = /*@__PURE__*/
23
- fileDesc("ChVhci92MS9h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TWV0YWRhdGHqAgZBcjo6VjFiBnByb3RvMw", [file_ar_v1_action, file_ar_v1_feedback, file_ar_v1_helper, file_buf_validate_validate, file_common_v1_property, file_validation_v1_predefined_string_rules]);
17
+ fileDesc("ChVhci92MS9hcl9jb25maWcucHJvdG8SBWFyLnYxIl0KE0FSQ29uZmlnSW5mb01lc3NhZ2USCgoCaWQYASABKAkSFwoEbmFtZRgCIAEoCUIJukgGcgQQARhAEgwKBGljb24YAyABKAkSEwoLZGVzY3JpcHRpb24YBCABKAkiQQoUQVJDb25maWdJbmZvTWVzc2FnZXMSKQoFaW5mb3MYASADKAsyGi5hci52MS5BUkNvbmZpZ0luZm9NZXNzYWdlIpgCCg9BUkNvbmZpZ01lc3NhZ2USCgoCaWQYASABKAkSFwoEbmFtZRgCIAEoCUIJukgGcgQQARhAEgwKBGljb24YAyABKAkSEwoLZGVzY3JpcHRpb24YBCABKAkSKQoVYXJfZGlzYXBwZWFyX2Rpc3RhbmNlGAUgASgDQgq6SAciBUjeAigAEhQKDGZlZWRiYWNrX2lkcxgGIAMoCRISCgphY3Rpb25faWRzGAcgAygJEhIKCmhlbHBlcl9pZHMYCCADKAkSJAoMcHJvcGVydHlfaWRzGAkgAygJQg66SAuSAQgiBnIEmPEEARIuCgtpbnB1dF9zbG90cxgKIAMoCzIZLmFyLnYxLkFSSW5wdXRTbG90TWVzc2FnZSI7ChBBUkNvbmZpZ01lc3NhZ2VzEicKB2NvbmZpZ3MYASADKAsyFi5hci52MS5BUkNvbmZpZ01lc3NhZ2VCiQEKCWNvbS5hci52MUINQXJDb25maWdQcm90b1ABWi9naXRodWIuY29tL2NvYm90YXIvcHJvdG9jb2wvbWVzc2FnZXMvYXIvdjE7YXJ2MaICA0FYWKoCDk1lc3NhZ2VzLkFSLlYxygIFQXJcVjHiAhFBclxWMVxHUEJNZXRhZGF0YeoCBkFyOjpWMWIGcHJvdG8z", [file_ar_v1_input_slot, file_buf_validate_validate, file_validation_v1_predefined_string_rules]);
24
18
 
25
19
  /**
26
20
  * Just delete this?
@@ -29,6 +23,8 @@ export const file_ar_v1_ar_config: GenFile = /*@__PURE__*/
29
23
  */
30
24
  export type ARConfigInfoMessage = Message<"ar.v1.ARConfigInfoMessage"> & {
31
25
  /**
26
+ * Stable config identifier.
27
+ *
32
28
  * @generated from field: string id = 1;
33
29
  */
34
30
  id: string;
@@ -61,6 +57,8 @@ export const ARConfigInfoMessageSchema: GenMessage<ARConfigInfoMessage> = /*@__P
61
57
  */
62
58
  export type ARConfigInfoMessages = Message<"ar.v1.ARConfigInfoMessages"> & {
63
59
  /**
60
+ * Lightweight AR config metadata entries.
61
+ *
64
62
  * @generated from field: repeated ar.v1.ARConfigInfoMessage infos = 1;
65
63
  */
66
64
  infos: ARConfigInfoMessage[];
@@ -74,118 +72,17 @@ export const ARConfigInfoMessagesSchema: GenMessage<ARConfigInfoMessages> = /*@_
74
72
  messageDesc(file_ar_v1_ar_config, 1);
75
73
 
76
74
  /**
77
- * ARResourceSlot declares a typed resource hole that must be bound when an
78
- * ARConfig is attached to a concrete station or cell.
79
- *
80
- * The slot keeps generic authoring inside the ARConfig while allowing each
81
- * binding to provide the concrete robot or asset instance available in the
82
- * target workspace.
83
- *
84
- * @generated from message ar.v1.ARResourceSlot
85
- */
86
- export type ARResourceSlot = Message<"ar.v1.ARResourceSlot"> & {
87
- /**
88
- * @generated from field: string id = 1;
89
- */
90
- id: string;
91
-
92
- /**
93
- * @generated from field: string name = 2;
94
- */
95
- name: string;
96
-
97
- /**
98
- * @generated from field: string icon = 3;
99
- */
100
- icon: string;
101
-
102
- /**
103
- * @generated from field: string description = 4;
104
- */
105
- description: string;
106
-
107
- /**
108
- * @generated from field: ar.v1.ARResourceSlotType type = 5;
109
- */
110
- type: ARResourceSlotType;
111
-
112
- /**
113
- * @generated from field: bool required = 6;
114
- */
115
- required: boolean;
116
-
117
- /**
118
- * @generated from field: string property_id = 7;
119
- */
120
- propertyId: string;
121
- };
122
-
123
- /**
124
- * Describes the message ar.v1.ARResourceSlot.
125
- * Use `create(ARResourceSlotSchema)` to create a new message.
126
- */
127
- export const ARResourceSlotSchema: GenMessage<ARResourceSlot> = /*@__PURE__*/
128
- messageDesc(file_ar_v1_ar_config, 2);
129
-
130
- /**
131
- * ARContextSlot declares a typed runtime context input that the resolver may
132
- * populate from the active line/cell/station/execution scope.
75
+ * ARConfigMessage is the reusable authoring-time template for an AR experience.
133
76
  *
134
- * Unlike resource slots, context slots are not bound manually per station or
135
- * cell. Their values come from the runtime resolution request and are injected
136
- * into the loaded config instance after binding resolution.
77
+ * It references feedback, actions, helpers, properties, and input slots that
78
+ * are later materialized through ARConfigBindingMessage and runtime resolution.
137
79
  *
138
- * @generated from message ar.v1.ARContextSlot
139
- */
140
- export type ARContextSlot = Message<"ar.v1.ARContextSlot"> & {
141
- /**
142
- * @generated from field: string id = 1;
143
- */
144
- id: string;
145
-
146
- /**
147
- * @generated from field: string name = 2;
148
- */
149
- name: string;
150
-
151
- /**
152
- * @generated from field: string icon = 3;
153
- */
154
- icon: string;
155
-
156
- /**
157
- * @generated from field: string description = 4;
158
- */
159
- description: string;
160
-
161
- /**
162
- * @generated from field: ar.v1.ARContextSlotType type = 5;
163
- */
164
- type: ARContextSlotType;
165
-
166
- /**
167
- * @generated from field: bool required = 6;
168
- */
169
- required: boolean;
170
-
171
- /**
172
- * @generated from field: string property_id = 7;
173
- */
174
- propertyId: string;
175
- };
176
-
177
- /**
178
- * Describes the message ar.v1.ARContextSlot.
179
- * Use `create(ARContextSlotSchema)` to create a new message.
180
- */
181
- export const ARContextSlotSchema: GenMessage<ARContextSlot> = /*@__PURE__*/
182
- messageDesc(file_ar_v1_ar_config, 3);
183
-
184
- /**
185
80
  * @generated from message ar.v1.ARConfigMessage
186
81
  */
187
82
  export type ARConfigMessage = Message<"ar.v1.ARConfigMessage"> & {
188
83
  /**
84
+ * Stable config identifier.
85
+ *
189
86
  * @generated from field: string id = 1;
190
87
  */
191
88
  id: string;
@@ -206,47 +103,46 @@ export type ARConfigMessage = Message<"ar.v1.ARConfigMessage"> & {
206
103
  description: string;
207
104
 
208
105
  /**
209
- * TODO: just a list of Id's?
106
+ * Threshold distance in cm all AR elements should disappear. 0 = ignored
210
107
  *
211
- * @generated from field: repeated ar.v1.FeedbackMessage feedback = 5;
212
- */
213
- feedback: FeedbackMessage[];
214
-
215
- /**
216
- * @generated from field: repeated ar.v1.ActionMessage actions = 6;
108
+ * @generated from field: int64 ar_disappear_distance = 5;
217
109
  */
218
- actions: ActionMessage[];
110
+ arDisappearDistance: bigint;
219
111
 
220
112
  /**
221
- * @generated from field: repeated ar.v1.HelperMessage helpers = 7;
113
+ * Feedback entities belonging to this config.
114
+ *
115
+ * @generated from field: repeated string feedback_ids = 6;
222
116
  */
223
- helpers: HelperMessage[];
117
+ feedbackIds: string[];
224
118
 
225
119
  /**
226
- * @generated from field: repeated common.v1.Property properties = 8;
120
+ * Action entities belonging to this config.
121
+ *
122
+ * @generated from field: repeated string action_ids = 7;
227
123
  */
228
- properties: Property[];
124
+ actionIds: string[];
229
125
 
230
126
  /**
231
- * Threshold distance in cm all AR elements should disappear. 0 = ignored
127
+ * Helper entities belonging to this config.
232
128
  *
233
- * @generated from field: int64 ar_disappear_distance = 9;
129
+ * @generated from field: repeated string helper_ids = 8;
234
130
  */
235
- arDisappearDistance: bigint;
131
+ helperIds: string[];
236
132
 
237
133
  /**
238
- * Typed station/cell resource slots that must be bound for runtime use.
134
+ * Includes server-managed generated properties for referenced input slots.
239
135
  *
240
- * @generated from field: repeated ar.v1.ARResourceSlot resource_slots = 10;
136
+ * @generated from field: repeated string property_ids = 9;
241
137
  */
242
- resourceSlots: ARResourceSlot[];
138
+ propertyIds: string[];
243
139
 
244
140
  /**
245
- * Typed runtime context inputs populated from the active execution/workspace scope.
141
+ * Authoritative config-owned input slots, edited directly as ARInputSlotMessage entities.
246
142
  *
247
- * @generated from field: repeated ar.v1.ARContextSlot context_slots = 11;
143
+ * @generated from field: repeated ar.v1.ARInputSlotMessage input_slots = 10;
248
144
  */
249
- contextSlots: ARContextSlot[];
145
+ inputSlots: ARInputSlotMessage[];
250
146
  };
251
147
 
252
148
  /**
@@ -254,13 +150,15 @@ export type ARConfigMessage = Message<"ar.v1.ARConfigMessage"> & {
254
150
  * Use `create(ARConfigMessageSchema)` to create a new message.
255
151
  */
256
152
  export const ARConfigMessageSchema: GenMessage<ARConfigMessage> = /*@__PURE__*/
257
- messageDesc(file_ar_v1_ar_config, 4);
153
+ messageDesc(file_ar_v1_ar_config, 2);
258
154
 
259
155
  /**
260
156
  * @generated from message ar.v1.ARConfigMessages
261
157
  */
262
158
  export type ARConfigMessages = Message<"ar.v1.ARConfigMessages"> & {
263
159
  /**
160
+ * AR config templates.
161
+ *
264
162
  * @generated from field: repeated ar.v1.ARConfigMessage configs = 1;
265
163
  */
266
164
  configs: ARConfigMessage[];
@@ -271,82 +169,5 @@ export type ARConfigMessages = Message<"ar.v1.ARConfigMessages"> & {
271
169
  * Use `create(ARConfigMessagesSchema)` to create a new message.
272
170
  */
273
171
  export const ARConfigMessagesSchema: GenMessage<ARConfigMessages> = /*@__PURE__*/
274
- messageDesc(file_ar_v1_ar_config, 5);
275
-
276
- /**
277
- * @generated from enum ar.v1.ARResourceSlotType
278
- */
279
- export enum ARResourceSlotType {
280
- /**
281
- * @generated from enum value: AR_RESOURCE_SLOT_TYPE_UNSPECIFIED = 0;
282
- */
283
- AR_RESOURCE_SLOT_TYPE_UNSPECIFIED = 0,
284
-
285
- /**
286
- * @generated from enum value: AR_RESOURCE_SLOT_TYPE_ROBOT = 1;
287
- */
288
- AR_RESOURCE_SLOT_TYPE_ROBOT = 1,
289
-
290
- /**
291
- * @generated from enum value: AR_RESOURCE_SLOT_TYPE_ASSET = 2;
292
- */
293
- AR_RESOURCE_SLOT_TYPE_ASSET = 2,
294
- }
295
-
296
- /**
297
- * Describes the enum ar.v1.ARResourceSlotType.
298
- */
299
- export const ARResourceSlotTypeSchema: GenEnum<ARResourceSlotType> = /*@__PURE__*/
300
- enumDesc(file_ar_v1_ar_config, 0);
301
-
302
- /**
303
- * @generated from enum ar.v1.ARContextSlotType
304
- */
305
- export enum ARContextSlotType {
306
- /**
307
- * @generated from enum value: AR_CONTEXT_SLOT_TYPE_UNSPECIFIED = 0;
308
- */
309
- AR_CONTEXT_SLOT_TYPE_UNSPECIFIED = 0,
310
-
311
- /**
312
- * @generated from enum value: AR_CONTEXT_SLOT_TYPE_LINE_ID = 1;
313
- */
314
- AR_CONTEXT_SLOT_TYPE_LINE_ID = 1,
315
-
316
- /**
317
- * @generated from enum value: AR_CONTEXT_SLOT_TYPE_CELL_ID = 2;
318
- */
319
- AR_CONTEXT_SLOT_TYPE_CELL_ID = 2,
320
-
321
- /**
322
- * @generated from enum value: AR_CONTEXT_SLOT_TYPE_STATION_ID = 3;
323
- */
324
- AR_CONTEXT_SLOT_TYPE_STATION_ID = 3,
325
-
326
- /**
327
- * @generated from enum value: AR_CONTEXT_SLOT_TYPE_WORKER_ID = 4;
328
- */
329
- AR_CONTEXT_SLOT_TYPE_WORKER_ID = 4,
330
-
331
- /**
332
- * @generated from enum value: AR_CONTEXT_SLOT_TYPE_PROCESS_RUN_ID = 5;
333
- */
334
- AR_CONTEXT_SLOT_TYPE_PROCESS_RUN_ID = 5,
335
-
336
- /**
337
- * @generated from enum value: AR_CONTEXT_SLOT_TYPE_SEQUENCE_RUN_ID = 6;
338
- */
339
- AR_CONTEXT_SLOT_TYPE_SEQUENCE_RUN_ID = 6,
340
-
341
- /**
342
- * @generated from enum value: AR_CONTEXT_SLOT_TYPE_TASK_RUN_ID = 7;
343
- */
344
- AR_CONTEXT_SLOT_TYPE_TASK_RUN_ID = 7,
345
- }
346
-
347
- /**
348
- * Describes the enum ar.v1.ARContextSlotType.
349
- */
350
- export const ARContextSlotTypeSchema: GenEnum<ARContextSlotType> = /*@__PURE__*/
351
- enumDesc(file_ar_v1_ar_config, 1);
172
+ messageDesc(file_ar_v1_ar_config, 3);
352
173