@cobotar/protocol 0.19.17 → 0.19.18

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.18
5
5
 
6
6
  ## Documentation
7
7
  Find it here: [documentation/README.md](documentation/README.md)
@@ -2,17 +2,9 @@
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";
13
7
  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
8
  import { file_validation_v1_predefined_string_rules } from "../../validation/v1/predefined_string_rules_pb.ts";
17
9
  import type { Message } from "@bufbuild/protobuf";
18
10
 
@@ -20,7 +12,7 @@ import type { Message } from "@bufbuild/protobuf";
20
12
  * Describes the file ar/v1/ar_config.proto.
21
13
  */
22
14
  export const file_ar_v1_ar_config: GenFile = /*@__PURE__*/
23
- fileDesc("ChVhci92MS9hcl9jb25maWcucHJvdG8SBWFyLnYxIl0KE0FSQ29uZmlnSW5mb01lc3NhZ2USCgoCaWQYASABK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, file_buf_validate_validate, file_common_v1_property, file_validation_v1_predefined_string_rules]);
15
+ fileDesc("ChVhci92MS9hcl9jb25maWcucHJvdG8SBWFyLnYxIl0KE0FSQ29uZmlnSW5mb01lc3NhZ2USCgoCaWQYASABKAkSFwoEbmFtZRgCIAEoCUIJukgGcgQQARhAEgwKBGljb24YAyABKAkSEwoLZGVzY3JpcHRpb24YBCABKAkiQQoUQVJDb25maWdJbmZvTWVzc2FnZXMSKQoFaW5mb3MYASADKAsyGi5hci52MS5BUkNvbmZpZ0luZm9NZXNzYWdlIpACCg9BUkNvbmZpZ01lc3NhZ2USCgoCaWQYASABKAkSFwoEbmFtZRgCIAEoCUIJukgGcgQQARhAEgwKBGljb24YAyABKAkSEwoLZGVzY3JpcHRpb24YBCABKAkSKQoVYXJfZGlzYXBwZWFyX2Rpc3RhbmNlGAUgASgDQgq6SAciBUjeAigAEhQKDGZlZWRiYWNrX2lkcxgGIAMoCRISCgphY3Rpb25faWRzGAcgAygJEhIKCmhlbHBlcl9pZHMYCCADKAkSJAoMcHJvcGVydHlfaWRzGAkgAygJQg66SAuSAQgiBnIEmPEEARImCg5pbnB1dF9zbG90X2lkcxgKIAMoCUIOukgLkgEIIgZyBPjrMAEiOwoQQVJDb25maWdNZXNzYWdlcxInCgdjb25maWdzGAEgAygLMhYuYXIudjEuQVJDb25maWdNZXNzYWdlQokBCgljb20uYXIudjFCDUFyQ29uZmlnUHJvdG9QAVovZ2l0aHViLmNvbS9jb2JvdGFyL3Byb3RvY29sL21lc3NhZ2VzL2FyL3YxO2FydjGiAgNBWFiqAg5NZXNzYWdlcy5BUi5WMcoCBUFyXFYx4gIRQXJcVjFcR1BCTWV0YWRhdGHqAgZBcjo6VjFiBnByb3RvMw", [file_buf_validate_validate, file_validation_v1_predefined_string_rules]);
24
16
 
25
17
  /**
26
18
  * Just delete this?
@@ -29,6 +21,8 @@ export const file_ar_v1_ar_config: GenFile = /*@__PURE__*/
29
21
  */
30
22
  export type ARConfigInfoMessage = Message<"ar.v1.ARConfigInfoMessage"> & {
31
23
  /**
24
+ * Stable config identifier.
25
+ *
32
26
  * @generated from field: string id = 1;
33
27
  */
34
28
  id: string;
@@ -61,6 +55,8 @@ export const ARConfigInfoMessageSchema: GenMessage<ARConfigInfoMessage> = /*@__P
61
55
  */
62
56
  export type ARConfigInfoMessages = Message<"ar.v1.ARConfigInfoMessages"> & {
63
57
  /**
58
+ * Lightweight AR config metadata entries.
59
+ *
64
60
  * @generated from field: repeated ar.v1.ARConfigInfoMessage infos = 1;
65
61
  */
66
62
  infos: ARConfigInfoMessage[];
@@ -74,118 +70,17 @@ export const ARConfigInfoMessagesSchema: GenMessage<ARConfigInfoMessages> = /*@_
74
70
  messageDesc(file_ar_v1_ar_config, 1);
75
71
 
76
72
  /**
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.
73
+ * ARConfigMessage is the reusable authoring-time template for an AR experience.
133
74
  *
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.
75
+ * It references feedback, actions, helpers, properties, and input slots that
76
+ * are later materialized through ARConfigBindingMessage and runtime resolution.
137
77
  *
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
78
  * @generated from message ar.v1.ARConfigMessage
186
79
  */
187
80
  export type ARConfigMessage = Message<"ar.v1.ARConfigMessage"> & {
188
81
  /**
82
+ * Stable config identifier.
83
+ *
189
84
  * @generated from field: string id = 1;
190
85
  */
191
86
  id: string;
@@ -206,47 +101,46 @@ export type ARConfigMessage = Message<"ar.v1.ARConfigMessage"> & {
206
101
  description: string;
207
102
 
208
103
  /**
209
- * TODO: just a list of Id's?
104
+ * Threshold distance in cm all AR elements should disappear. 0 = ignored
210
105
  *
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;
106
+ * @generated from field: int64 ar_disappear_distance = 5;
217
107
  */
218
- actions: ActionMessage[];
108
+ arDisappearDistance: bigint;
219
109
 
220
110
  /**
221
- * @generated from field: repeated ar.v1.HelperMessage helpers = 7;
111
+ * Feedback entities belonging to this config.
112
+ *
113
+ * @generated from field: repeated string feedback_ids = 6;
222
114
  */
223
- helpers: HelperMessage[];
115
+ feedbackIds: string[];
224
116
 
225
117
  /**
226
- * @generated from field: repeated common.v1.Property properties = 8;
118
+ * Action entities belonging to this config.
119
+ *
120
+ * @generated from field: repeated string action_ids = 7;
227
121
  */
228
- properties: Property[];
122
+ actionIds: string[];
229
123
 
230
124
  /**
231
- * Threshold distance in cm all AR elements should disappear. 0 = ignored
125
+ * Helper entities belonging to this config.
232
126
  *
233
- * @generated from field: int64 ar_disappear_distance = 9;
127
+ * @generated from field: repeated string helper_ids = 8;
234
128
  */
235
- arDisappearDistance: bigint;
129
+ helperIds: string[];
236
130
 
237
131
  /**
238
- * Typed station/cell resource slots that must be bound for runtime use.
132
+ * Includes server-managed generated properties for referenced input slots.
239
133
  *
240
- * @generated from field: repeated ar.v1.ARResourceSlot resource_slots = 10;
134
+ * @generated from field: repeated string property_ids = 9;
241
135
  */
242
- resourceSlots: ARResourceSlot[];
136
+ propertyIds: string[];
243
137
 
244
138
  /**
245
- * Typed runtime context inputs populated from the active execution/workspace scope.
139
+ * Authoritative config-owned input slots, edited directly as ARInputSlotMessage entities.
246
140
  *
247
- * @generated from field: repeated ar.v1.ARContextSlot context_slots = 11;
141
+ * @generated from field: repeated string input_slot_ids = 10;
248
142
  */
249
- contextSlots: ARContextSlot[];
143
+ inputSlotIds: string[];
250
144
  };
251
145
 
252
146
  /**
@@ -254,13 +148,15 @@ export type ARConfigMessage = Message<"ar.v1.ARConfigMessage"> & {
254
148
  * Use `create(ARConfigMessageSchema)` to create a new message.
255
149
  */
256
150
  export const ARConfigMessageSchema: GenMessage<ARConfigMessage> = /*@__PURE__*/
257
- messageDesc(file_ar_v1_ar_config, 4);
151
+ messageDesc(file_ar_v1_ar_config, 2);
258
152
 
259
153
  /**
260
154
  * @generated from message ar.v1.ARConfigMessages
261
155
  */
262
156
  export type ARConfigMessages = Message<"ar.v1.ARConfigMessages"> & {
263
157
  /**
158
+ * AR config templates.
159
+ *
264
160
  * @generated from field: repeated ar.v1.ARConfigMessage configs = 1;
265
161
  */
266
162
  configs: ARConfigMessage[];
@@ -271,82 +167,5 @@ export type ARConfigMessages = Message<"ar.v1.ARConfigMessages"> & {
271
167
  * Use `create(ARConfigMessagesSchema)` to create a new message.
272
168
  */
273
169
  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);
170
+ messageDesc(file_ar_v1_ar_config, 3);
352
171