@anduril-industries/lattice-sdk 1.2.0

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.
Files changed (105) hide show
  1. package/.github/CODEOWNERS +1 -0
  2. package/.github/workflows/commit-lint.yml +21 -0
  3. package/.github/workflows/release.yml +36 -0
  4. package/LICENSE.md +188 -0
  5. package/README.md +30 -0
  6. package/SECURITY.md +5 -0
  7. package/package.json +21 -0
  8. package/src/anduril/entitymanager/v1/classification.pub_pb.d.ts +142 -0
  9. package/src/anduril/entitymanager/v1/classification.pub_pb.js +47 -0
  10. package/src/anduril/entitymanager/v1/contact_details.pub_pb.d.ts +32 -0
  11. package/src/anduril/entitymanager/v1/contact_details.pub_pb.js +19 -0
  12. package/src/anduril/entitymanager/v1/correlations.pub_pb.d.ts +189 -0
  13. package/src/anduril/entitymanager/v1/correlations.pub_pb.js +55 -0
  14. package/src/anduril/entitymanager/v1/dimensions.pub_pb.d.ts +30 -0
  15. package/src/anduril/entitymanager/v1/dimensions.pub_pb.js +19 -0
  16. package/src/anduril/entitymanager/v1/entity.pub_pb.d.ts +1043 -0
  17. package/src/anduril/entitymanager/v1/entity.pub_pb.js +211 -0
  18. package/src/anduril/entitymanager/v1/entity_manager_grpcapi.pub_pb.d.ts +493 -0
  19. package/src/anduril/entitymanager/v1/entity_manager_grpcapi.pub_pb.js +143 -0
  20. package/src/anduril/entitymanager/v1/filter.pub_pb.d.ts +735 -0
  21. package/src/anduril/entitymanager/v1/filter.pub_pb.js +182 -0
  22. package/src/anduril/entitymanager/v1/filter_dynamic.pub_pb.d.ts +116 -0
  23. package/src/anduril/entitymanager/v1/filter_dynamic.pub_pb.js +34 -0
  24. package/src/anduril/entitymanager/v1/geoentity.pub_pb.d.ts +325 -0
  25. package/src/anduril/entitymanager/v1/geoentity.pub_pb.js +91 -0
  26. package/src/anduril/entitymanager/v1/group.pub_pb.d.ts +26 -0
  27. package/src/anduril/entitymanager/v1/group.pub_pb.js +19 -0
  28. package/src/anduril/entitymanager/v1/health_status.pub_pb.d.ts +344 -0
  29. package/src/anduril/entitymanager/v1/health_status.pub_pb.js +90 -0
  30. package/src/anduril/entitymanager/v1/location.pub_pb.d.ts +278 -0
  31. package/src/anduril/entitymanager/v1/location.pub_pb.js +56 -0
  32. package/src/anduril/entitymanager/v1/media.pub_pb.d.ts +97 -0
  33. package/src/anduril/entitymanager/v1/media.pub_pb.js +39 -0
  34. package/src/anduril/entitymanager/v1/notification.pub_pb.d.ts +50 -0
  35. package/src/anduril/entitymanager/v1/notification.pub_pb.js +20 -0
  36. package/src/anduril/entitymanager/v1/ontology.pub_pb.d.ts +76 -0
  37. package/src/anduril/entitymanager/v1/ontology.pub_pb.js +29 -0
  38. package/src/anduril/entitymanager/v1/options.pub_pb.d.ts +17 -0
  39. package/src/anduril/entitymanager/v1/options.pub_pb.js +19 -0
  40. package/src/anduril/entitymanager/v1/orbit.pub_pb.d.ts +31 -0
  41. package/src/anduril/entitymanager/v1/orbit.pub_pb.js +20 -0
  42. package/src/anduril/entitymanager/v1/payloads.pub_pb.d.ts +143 -0
  43. package/src/anduril/entitymanager/v1/payloads.pub_pb.js +49 -0
  44. package/src/anduril/entitymanager/v1/power.pub_pb.d.ts +230 -0
  45. package/src/anduril/entitymanager/v1/power.pub_pb.js +58 -0
  46. package/src/anduril/entitymanager/v1/rate_limit.pub_pb.d.ts +38 -0
  47. package/src/anduril/entitymanager/v1/rate_limit.pub_pb.js +19 -0
  48. package/src/anduril/entitymanager/v1/relationship.pub_pb.d.ts +184 -0
  49. package/src/anduril/entitymanager/v1/relationship.pub_pb.js +63 -0
  50. package/src/anduril/entitymanager/v1/route_details.pub_pb.d.ts +38 -0
  51. package/src/anduril/entitymanager/v1/route_details.pub_pb.js +20 -0
  52. package/src/anduril/entitymanager/v1/schedule.pub_pb.d.ts +124 -0
  53. package/src/anduril/entitymanager/v1/schedule.pub_pb.js +47 -0
  54. package/src/anduril/entitymanager/v1/sensors.pub_pb.d.ts +434 -0
  55. package/src/anduril/entitymanager/v1/sensors.pub_pb.js +104 -0
  56. package/src/anduril/entitymanager/v1/signal.pub_pb.d.ts +432 -0
  57. package/src/anduril/entitymanager/v1/signal.pub_pb.js +98 -0
  58. package/src/anduril/entitymanager/v1/supplies.pub_pb.d.ts +102 -0
  59. package/src/anduril/entitymanager/v1/supplies.pub_pb.js +29 -0
  60. package/src/anduril/entitymanager/v1/target_priority.pub_pb.d.ts +130 -0
  61. package/src/anduril/entitymanager/v1/target_priority.pub_pb.js +41 -0
  62. package/src/anduril/entitymanager/v1/transponder_codes.pub_pb.d.ts +163 -0
  63. package/src/anduril/entitymanager/v1/transponder_codes.pub_pb.js +48 -0
  64. package/src/anduril/entitymanager/v1/types.pub_pb.d.ts +391 -0
  65. package/src/anduril/entitymanager/v1/types.pub_pb.js +81 -0
  66. package/src/anduril/ontology/v1/type.pub_pb.d.ts +693 -0
  67. package/src/anduril/ontology/v1/type.pub_pb.js +65 -0
  68. package/src/anduril/taskmanager/v1/generic_spec.pub_pb.d.ts +33 -0
  69. package/src/anduril/taskmanager/v1/generic_spec.pub_pb.js +20 -0
  70. package/src/anduril/taskmanager/v1/task.pub_pb.d.ts +873 -0
  71. package/src/anduril/taskmanager/v1/task.pub_pb.js +192 -0
  72. package/src/anduril/taskmanager/v1/task_api.pub_pb.d.ts +81 -0
  73. package/src/anduril/taskmanager/v1/task_api.pub_pb.js +34 -0
  74. package/src/anduril/taskmanager/v1/task_manager_grpcapi.pub_pb.d.ts +551 -0
  75. package/src/anduril/taskmanager/v1/task_manager_grpcapi.pub_pb.js +143 -0
  76. package/src/anduril/tasks/ad/desertguardian/common/v1/common_tasks.pub_pb.d.ts +112 -0
  77. package/src/anduril/tasks/ad/desertguardian/common/v1/common_tasks.pub_pb.js +52 -0
  78. package/src/anduril/tasks/ad/desertguardian/rf/v1/rf_tasks.pub_pb.d.ts +143 -0
  79. package/src/anduril/tasks/ad/desertguardian/rf/v1/rf_tasks.pub_pb.js +69 -0
  80. package/src/anduril/tasks/jadc2/thirdparty/v1/power.pub_pb.d.ts +55 -0
  81. package/src/anduril/tasks/jadc2/thirdparty/v1/power.pub_pb.js +31 -0
  82. package/src/anduril/tasks/jadc2/thirdparty/v1/transit.pub_pb.d.ts +88 -0
  83. package/src/anduril/tasks/jadc2/thirdparty/v1/transit.pub_pb.js +35 -0
  84. package/src/anduril/tasks/v2/catalog.pub_pb.d.ts +53 -0
  85. package/src/anduril/tasks/v2/catalog.pub_pb.js +26 -0
  86. package/src/anduril/tasks/v2/common.pub_pb.d.ts +184 -0
  87. package/src/anduril/tasks/v2/common.pub_pb.js +67 -0
  88. package/src/anduril/tasks/v2/objective.pub_pb.d.ts +83 -0
  89. package/src/anduril/tasks/v2/objective.pub_pb.js +27 -0
  90. package/src/anduril/tasks/v2/shared/isr.pub_pb.d.ts +714 -0
  91. package/src/anduril/tasks/v2/shared/isr.pub_pb.js +181 -0
  92. package/src/anduril/tasks/v2/shared/maneuver.pub_pb.d.ts +182 -0
  93. package/src/anduril/tasks/v2/shared/maneuver.pub_pb.js +75 -0
  94. package/src/anduril/tasks/v2/shared/strike.pub_pb.d.ts +210 -0
  95. package/src/anduril/tasks/v2/shared/strike.pub_pb.js +57 -0
  96. package/src/anduril/type/attribution.pub_pb.d.ts +37 -0
  97. package/src/anduril/type/attribution.pub_pb.js +19 -0
  98. package/src/anduril/type/color.pub_pb.d.ts +61 -0
  99. package/src/anduril/type/color.pub_pb.js +20 -0
  100. package/src/anduril/type/coords.pub_pb.d.ts +730 -0
  101. package/src/anduril/type/coords.pub_pb.js +180 -0
  102. package/src/anduril/type/geometry.pub_pb.d.ts +68 -0
  103. package/src/anduril/type/geometry.pub_pb.js +20 -0
  104. package/src/anduril/type/orbit.pub_pb.d.ts +306 -0
  105. package/src/anduril/type/orbit.pub_pb.js +65 -0
@@ -0,0 +1,873 @@
1
+ // @generated by protoc-gen-es v2.2.0 with parameter "import_extension=js"
2
+ // @generated from file anduril/taskmanager/v1/task.pub.proto (package anduril.taskmanager.v1, syntax proto3)
3
+ /* eslint-disable */
4
+
5
+ import type { GenEnum, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1";
6
+ import type { Message } from "@bufbuild/protobuf";
7
+ import type { Any, Timestamp } from "@bufbuild/protobuf/wkt";
8
+ import type { Entity } from "../../entitymanager/v1/entity.pub_pb.js";
9
+
10
+ /**
11
+ * Describes the file anduril/taskmanager/v1/task.pub.proto.
12
+ */
13
+ export declare const file_anduril_taskmanager_v1_task_pub: GenFile;
14
+
15
+ /**
16
+ * A Task is something an agent can be asked to do.
17
+ *
18
+ * @generated from message anduril.taskmanager.v1.Task
19
+ */
20
+ export declare type Task = Message<"anduril.taskmanager.v1.Task"> & {
21
+ /**
22
+ * Version of this Task.
23
+ *
24
+ * @generated from field: anduril.taskmanager.v1.TaskVersion version = 1;
25
+ */
26
+ version?: TaskVersion;
27
+
28
+ /**
29
+ * Human readable display name for this Task, should be short (<100 chars).
30
+ *
31
+ * @generated from field: string display_name = 2;
32
+ */
33
+ displayName: string;
34
+
35
+ /**
36
+ * Full Task parameterization, must be a message under anduril/tasks/v*\/
37
+ *
38
+ * @generated from field: google.protobuf.Any specification = 3;
39
+ */
40
+ specification?: Any;
41
+
42
+ /**
43
+ * Records who created this Task. This field will not change after the Task has been created.
44
+ *
45
+ * @generated from field: anduril.taskmanager.v1.Principal created_by = 16;
46
+ */
47
+ createdBy?: Principal;
48
+
49
+ /**
50
+ * Records who updated this Task last.
51
+ *
52
+ * @generated from field: anduril.taskmanager.v1.Principal last_updated_by = 4;
53
+ */
54
+ lastUpdatedBy?: Principal;
55
+
56
+ /**
57
+ * Records the time of last update.
58
+ *
59
+ * @generated from field: google.protobuf.Timestamp last_update_time = 9;
60
+ */
61
+ lastUpdateTime?: Timestamp;
62
+
63
+ /**
64
+ * The status of this Task.
65
+ *
66
+ * @generated from field: anduril.taskmanager.v1.TaskStatus status = 5;
67
+ */
68
+ status?: TaskStatus;
69
+
70
+ /**
71
+ * If the Task has been scheduled to execute, what time it should execute at.
72
+ *
73
+ * @generated from field: google.protobuf.Timestamp scheduled_time = 6;
74
+ */
75
+ scheduledTime?: Timestamp;
76
+
77
+ /**
78
+ * Any related Tasks associated with this, typically includes an assignee for this Task and/or a parent.
79
+ *
80
+ * @generated from field: anduril.taskmanager.v1.Relations relations = 8;
81
+ */
82
+ relations?: Relations;
83
+
84
+ /**
85
+ * Longer, free form human readable description of this Task
86
+ *
87
+ * @generated from field: string description = 10;
88
+ */
89
+ description: string;
90
+
91
+ /**
92
+ * If set, execution of this Task is managed elsewhere, not by Task Manager.
93
+ * In other words, Task manager will not attempt to update the assigned agent with execution instructions.
94
+ *
95
+ * @generated from field: bool is_executed_elsewhere = 11;
96
+ */
97
+ isExecutedElsewhere: boolean;
98
+
99
+ /**
100
+ * Time of Task creation.
101
+ *
102
+ * @generated from field: google.protobuf.Timestamp create_time = 13;
103
+ */
104
+ createTime?: Timestamp;
105
+
106
+ /**
107
+ * If populated, designates this to be a replicated Task.
108
+ *
109
+ * @generated from field: anduril.taskmanager.v1.Replication replication = 14;
110
+ */
111
+ replication?: Replication;
112
+
113
+ /**
114
+ * If populated, indicates an initial set of entities that can be used to execute an entity aware task
115
+ * For example, an entity Objective, an entity Keep In Zone, etc.
116
+ * These will not be updated during execution. If a taskable agent needs continuous updates on the entities from the
117
+ * COP, can call entity-manager, or use an AlternateId escape hatch.
118
+ *
119
+ * @generated from field: repeated anduril.taskmanager.v1.TaskEntity initial_entities = 15;
120
+ */
121
+ initialEntities: TaskEntity[];
122
+
123
+ /**
124
+ * The networked owner of this Task. It is used to ensure that linear writes occur on the node responsible
125
+ * for replication of task data to other nodes running Task Manager.
126
+ *
127
+ * @generated from field: anduril.taskmanager.v1.Owner owner = 12;
128
+ */
129
+ owner?: Owner;
130
+ };
131
+
132
+ /**
133
+ * Describes the message anduril.taskmanager.v1.Task.
134
+ * Use `create(TaskSchema)` to create a new message.
135
+ */
136
+ export declare const TaskSchema: GenMessage<Task>;
137
+
138
+ /**
139
+ * TaskStatus is contains information regarding the status of a Task at any given time. Can include related information
140
+ * such as any progress towards Task completion, or any associated results if Task completed.
141
+ *
142
+ * @generated from message anduril.taskmanager.v1.TaskStatus
143
+ */
144
+ export declare type TaskStatus = Message<"anduril.taskmanager.v1.TaskStatus"> & {
145
+ /**
146
+ * Status of the Task.
147
+ *
148
+ * @generated from field: anduril.taskmanager.v1.Status status = 1;
149
+ */
150
+ status: Status;
151
+
152
+ /**
153
+ * Any errors associated with the Task.
154
+ *
155
+ * @generated from field: anduril.taskmanager.v1.TaskError task_error = 2;
156
+ */
157
+ taskError?: TaskError;
158
+
159
+ /**
160
+ * Any incremental progress on the Task, should be from the tasks/v*\/progress folder.
161
+ *
162
+ * @generated from field: google.protobuf.Any progress = 4;
163
+ */
164
+ progress?: Any;
165
+
166
+ /**
167
+ * Any final result of the Task, should be from tasks/v*\/result folder.
168
+ *
169
+ * @generated from field: google.protobuf.Any result = 5;
170
+ */
171
+ result?: Any;
172
+
173
+ /**
174
+ * Time the Task began execution, may not be known even for executing Tasks.
175
+ *
176
+ * @generated from field: google.protobuf.Timestamp start_time = 6;
177
+ */
178
+ startTime?: Timestamp;
179
+
180
+ /**
181
+ * Any estimate for how the Task will progress, should be from tasks/v*\/estimates folder.
182
+ *
183
+ * @generated from field: google.protobuf.Any estimate = 7;
184
+ */
185
+ estimate?: Any;
186
+
187
+ /**
188
+ * Any allocated agents of the Task.
189
+ *
190
+ * @generated from field: anduril.taskmanager.v1.Allocation allocation = 8;
191
+ */
192
+ allocation?: Allocation;
193
+ };
194
+
195
+ /**
196
+ * Describes the message anduril.taskmanager.v1.TaskStatus.
197
+ * Use `create(TaskStatusSchema)` to create a new message.
198
+ */
199
+ export declare const TaskStatusSchema: GenMessage<TaskStatus>;
200
+
201
+ /**
202
+ * TaskError contains an error code and message typically associated to a Task.
203
+ *
204
+ * @generated from message anduril.taskmanager.v1.TaskError
205
+ */
206
+ export declare type TaskError = Message<"anduril.taskmanager.v1.TaskError"> & {
207
+ /**
208
+ * Error code for Task error.
209
+ *
210
+ * @generated from field: anduril.taskmanager.v1.ErrorCode code = 1;
211
+ */
212
+ code: ErrorCode;
213
+
214
+ /**
215
+ * Descriptive human-readable string regarding this error.
216
+ *
217
+ * @generated from field: string message = 2;
218
+ */
219
+ message: string;
220
+
221
+ /**
222
+ * Any additional details regarding this error.
223
+ *
224
+ * @generated from field: google.protobuf.Any error_details = 3;
225
+ */
226
+ errorDetails?: Any;
227
+ };
228
+
229
+ /**
230
+ * Describes the message anduril.taskmanager.v1.TaskError.
231
+ * Use `create(TaskErrorSchema)` to create a new message.
232
+ */
233
+ export declare const TaskErrorSchema: GenMessage<TaskError>;
234
+
235
+ /**
236
+ * A Principal is an entity that has authority over this Task.
237
+ *
238
+ * @generated from message anduril.taskmanager.v1.Principal
239
+ */
240
+ export declare type Principal = Message<"anduril.taskmanager.v1.Principal"> & {
241
+ /**
242
+ * A Principal can be either a human user, or a system.
243
+ *
244
+ * @generated from oneof anduril.taskmanager.v1.Principal.agent
245
+ */
246
+ agent: {
247
+ /**
248
+ * @generated from field: anduril.taskmanager.v1.System system = 1;
249
+ */
250
+ value: System;
251
+ case: "system";
252
+ } | {
253
+ /**
254
+ * @generated from field: anduril.taskmanager.v1.User user = 2;
255
+ */
256
+ value: User;
257
+ case: "user";
258
+ } | {
259
+ /**
260
+ * @generated from field: anduril.taskmanager.v1.Team team = 4;
261
+ */
262
+ value: Team;
263
+ case: "team";
264
+ } | { case: undefined; value?: undefined };
265
+
266
+ /**
267
+ * The Principal _this_ Principal is acting on behalf of.
268
+ *
269
+ * Likely only populated once in the nesting (i.e. the "on_behalf_of" Principal would not have another "on_behalf_of" in most cases).
270
+ *
271
+ * @generated from field: anduril.taskmanager.v1.Principal on_behalf_of = 3;
272
+ */
273
+ onBehalfOf?: Principal;
274
+ };
275
+
276
+ /**
277
+ * Describes the message anduril.taskmanager.v1.Principal.
278
+ * Use `create(PrincipalSchema)` to create a new message.
279
+ */
280
+ export declare const PrincipalSchema: GenMessage<Principal>;
281
+
282
+ /**
283
+ * System Principal representing some autonomous system.
284
+ *
285
+ * @generated from message anduril.taskmanager.v1.System
286
+ */
287
+ export declare type System = Message<"anduril.taskmanager.v1.System"> & {
288
+ /**
289
+ * Name of the service associated with this System.
290
+ *
291
+ * @generated from field: string service_name = 1;
292
+ */
293
+ serviceName: string;
294
+
295
+ /**
296
+ * The Entity ID of the System.
297
+ *
298
+ * @generated from field: string entity_id = 2;
299
+ */
300
+ entityId: string;
301
+
302
+ /**
303
+ * Whether the System Principal (for example, an Asset) can own scheduling.
304
+ * This means we bypass manager-owned scheduling and defer to the system
305
+ * Principal to handle scheduling and give us status updates for the Task.
306
+ * Regardless of the value defined by the client, the Task Manager will
307
+ * determine and set this value appropriately.
308
+ *
309
+ * @generated from field: bool manages_own_scheduling = 4;
310
+ */
311
+ managesOwnScheduling: boolean;
312
+ };
313
+
314
+ /**
315
+ * Describes the message anduril.taskmanager.v1.System.
316
+ * Use `create(SystemSchema)` to create a new message.
317
+ */
318
+ export declare const SystemSchema: GenMessage<System>;
319
+
320
+ /**
321
+ * A User Principal representing a human.
322
+ *
323
+ * @generated from message anduril.taskmanager.v1.User
324
+ */
325
+ export declare type User = Message<"anduril.taskmanager.v1.User"> & {
326
+ /**
327
+ * The User ID associated with this User.
328
+ *
329
+ * @generated from field: string user_id = 1;
330
+ */
331
+ userId: string;
332
+ };
333
+
334
+ /**
335
+ * Describes the message anduril.taskmanager.v1.User.
336
+ * Use `create(UserSchema)` to create a new message.
337
+ */
338
+ export declare const UserSchema: GenMessage<User>;
339
+
340
+ /**
341
+ * Relations describes the relationships of this Task, such as assignment, or if the Task has any parents.
342
+ *
343
+ * @generated from message anduril.taskmanager.v1.Relations
344
+ */
345
+ export declare type Relations = Message<"anduril.taskmanager.v1.Relations"> & {
346
+ /**
347
+ * Who or what, if anyone, this Task is currently assigned to.
348
+ *
349
+ * @generated from field: anduril.taskmanager.v1.Principal assignee = 1;
350
+ */
351
+ assignee?: Principal;
352
+
353
+ /**
354
+ * If this Task is a "sub-Task", what is its parent, none if empty.
355
+ *
356
+ * @generated from field: string parent_task_id = 2;
357
+ */
358
+ parentTaskId: string;
359
+ };
360
+
361
+ /**
362
+ * Describes the message anduril.taskmanager.v1.Relations.
363
+ * Use `create(RelationsSchema)` to create a new message.
364
+ */
365
+ export declare const RelationsSchema: GenMessage<Relations>;
366
+
367
+ /**
368
+ * Holds Tasks and its associated Events, e.g. CREATED.
369
+ *
370
+ * @generated from message anduril.taskmanager.v1.TaskEvent
371
+ */
372
+ export declare type TaskEvent = Message<"anduril.taskmanager.v1.TaskEvent"> & {
373
+ /**
374
+ * Type of Event.
375
+ *
376
+ * @generated from field: anduril.taskmanager.v1.EventType event_type = 1;
377
+ */
378
+ eventType: EventType;
379
+
380
+ /**
381
+ * Task associated with this TaskEvent.
382
+ *
383
+ * @generated from field: anduril.taskmanager.v1.Task task = 2;
384
+ */
385
+ task?: Task;
386
+
387
+ /**
388
+ * View associated with this task.
389
+ *
390
+ * @generated from field: anduril.taskmanager.v1.TaskView task_view = 3;
391
+ */
392
+ taskView: TaskView;
393
+
394
+ /**
395
+ * ===== Time Series Updates =====
396
+ *
397
+ * Timestamp for time-series to index.
398
+ *
399
+ * @generated from field: google.protobuf.Timestamp time = 4;
400
+ */
401
+ time?: Timestamp;
402
+ };
403
+
404
+ /**
405
+ * Describes the message anduril.taskmanager.v1.TaskEvent.
406
+ * Use `create(TaskEventSchema)` to create a new message.
407
+ */
408
+ export declare const TaskEventSchema: GenMessage<TaskEvent>;
409
+
410
+ /**
411
+ * Version of a Task.
412
+ *
413
+ * @generated from message anduril.taskmanager.v1.TaskVersion
414
+ */
415
+ export declare type TaskVersion = Message<"anduril.taskmanager.v1.TaskVersion"> & {
416
+ /**
417
+ * The unique ID for this Task.
418
+ *
419
+ * @generated from field: string task_id = 1;
420
+ */
421
+ taskId: string;
422
+
423
+ /**
424
+ * Increments on definition (i.e. not TaskStatus) change. 0 is unset, starts at 1 on creation.
425
+ *
426
+ * @generated from field: uint32 definition_version = 2;
427
+ */
428
+ definitionVersion: number;
429
+
430
+ /**
431
+ * Increments on changes to TaskStatus. 0 is unset, starts at 1 on creation.
432
+ *
433
+ * @generated from field: uint32 status_version = 3;
434
+ */
435
+ statusVersion: number;
436
+ };
437
+
438
+ /**
439
+ * Describes the message anduril.taskmanager.v1.TaskVersion.
440
+ * Use `create(TaskVersionSchema)` to create a new message.
441
+ */
442
+ export declare const TaskVersionSchema: GenMessage<TaskVersion>;
443
+
444
+ /**
445
+ * a Task status update
446
+ *
447
+ * @generated from message anduril.taskmanager.v1.StatusUpdate
448
+ */
449
+ export declare type StatusUpdate = Message<"anduril.taskmanager.v1.StatusUpdate"> & {
450
+ /**
451
+ * Version of the Task.
452
+ *
453
+ * @generated from field: anduril.taskmanager.v1.TaskVersion version = 1;
454
+ */
455
+ version?: TaskVersion;
456
+
457
+ /**
458
+ * Status of the Task.
459
+ *
460
+ * @generated from field: anduril.taskmanager.v1.TaskStatus status = 2;
461
+ */
462
+ status?: TaskStatus;
463
+
464
+ /**
465
+ * Author of the StatusUpdate message. Used to set the LastUpdatedBy field of the Task.
466
+ *
467
+ * @generated from field: anduril.taskmanager.v1.Principal author = 3;
468
+ */
469
+ author?: Principal;
470
+
471
+ /**
472
+ * Typically provided if a user is manually managing a Task, or if an asset owns scheduling.
473
+ *
474
+ * @generated from field: google.protobuf.Timestamp scheduled_time = 4;
475
+ */
476
+ scheduledTime?: Timestamp;
477
+ };
478
+
479
+ /**
480
+ * Describes the message anduril.taskmanager.v1.StatusUpdate.
481
+ * Use `create(StatusUpdateSchema)` to create a new message.
482
+ */
483
+ export declare const StatusUpdateSchema: GenMessage<StatusUpdate>;
484
+
485
+ /**
486
+ * Message representing a Task create or update.
487
+ *
488
+ * @generated from message anduril.taskmanager.v1.DefinitionUpdate
489
+ */
490
+ export declare type DefinitionUpdate = Message<"anduril.taskmanager.v1.DefinitionUpdate"> & {
491
+ /**
492
+ * New task definition being created or updated.
493
+ * The last_updated_by and specification fields inside the task object must be defined.
494
+ * Definition version must also be incremented by the publisher on updates.
495
+ * We do not look at the fields create_time or last_update_time in this object,
496
+ * they are instead set by task-manager.
497
+ *
498
+ * @generated from field: anduril.taskmanager.v1.Task task = 1;
499
+ */
500
+ task?: Task;
501
+ };
502
+
503
+ /**
504
+ * Describes the message anduril.taskmanager.v1.DefinitionUpdate.
505
+ * Use `create(DefinitionUpdateSchema)` to create a new message.
506
+ */
507
+ export declare const DefinitionUpdateSchema: GenMessage<DefinitionUpdate>;
508
+
509
+ /**
510
+ * Owner designates the entity responsible for writes of Task data.
511
+ *
512
+ * @generated from message anduril.taskmanager.v1.Owner
513
+ */
514
+ export declare type Owner = Message<"anduril.taskmanager.v1.Owner"> & {
515
+ /**
516
+ * Entity ID of the owner.
517
+ *
518
+ * @generated from field: string entity_id = 2;
519
+ */
520
+ entityId: string;
521
+ };
522
+
523
+ /**
524
+ * Describes the message anduril.taskmanager.v1.Owner.
525
+ * Use `create(OwnerSchema)` to create a new message.
526
+ */
527
+ export declare const OwnerSchema: GenMessage<Owner>;
528
+
529
+ /**
530
+ * Any metadata associated with the replication of a Task.
531
+ *
532
+ * @generated from message anduril.taskmanager.v1.Replication
533
+ */
534
+ export declare type Replication = Message<"anduril.taskmanager.v1.Replication"> & {
535
+ /**
536
+ * Time by which this Task should be assumed to be stale.
537
+ *
538
+ * @generated from field: google.protobuf.Timestamp stale_time = 1;
539
+ */
540
+ staleTime?: Timestamp;
541
+ };
542
+
543
+ /**
544
+ * Describes the message anduril.taskmanager.v1.Replication.
545
+ * Use `create(ReplicationSchema)` to create a new message.
546
+ */
547
+ export declare const ReplicationSchema: GenMessage<Replication>;
548
+
549
+ /**
550
+ * Allocation contains a list of agents allocated to a Task.
551
+ *
552
+ * @generated from message anduril.taskmanager.v1.Allocation
553
+ */
554
+ export declare type Allocation = Message<"anduril.taskmanager.v1.Allocation"> & {
555
+ /**
556
+ * Agents actively being utilized in a Task.
557
+ *
558
+ * @generated from field: repeated anduril.taskmanager.v1.Agent active_agents = 1;
559
+ */
560
+ activeAgents: Agent[];
561
+ };
562
+
563
+ /**
564
+ * Describes the message anduril.taskmanager.v1.Allocation.
565
+ * Use `create(AllocationSchema)` to create a new message.
566
+ */
567
+ export declare const AllocationSchema: GenMessage<Allocation>;
568
+
569
+ /**
570
+ * Represents a team of agents
571
+ *
572
+ * @generated from message anduril.taskmanager.v1.Team
573
+ */
574
+ export declare type Team = Message<"anduril.taskmanager.v1.Team"> & {
575
+ /**
576
+ * Entity ID of the team
577
+ *
578
+ * @generated from field: string entity_id = 1;
579
+ */
580
+ entityId: string;
581
+
582
+ /**
583
+ * @generated from field: repeated anduril.taskmanager.v1.Agent members = 2;
584
+ */
585
+ members: Agent[];
586
+ };
587
+
588
+ /**
589
+ * Describes the message anduril.taskmanager.v1.Team.
590
+ * Use `create(TeamSchema)` to create a new message.
591
+ */
592
+ export declare const TeamSchema: GenMessage<Team>;
593
+
594
+ /**
595
+ * Represents an Agent in the COP.
596
+ *
597
+ * @generated from message anduril.taskmanager.v1.Agent
598
+ */
599
+ export declare type Agent = Message<"anduril.taskmanager.v1.Agent"> & {
600
+ /**
601
+ * Entity ID of the agent.
602
+ *
603
+ * @generated from field: string entity_id = 2;
604
+ */
605
+ entityId: string;
606
+ };
607
+
608
+ /**
609
+ * Describes the message anduril.taskmanager.v1.Agent.
610
+ * Use `create(AgentSchema)` to create a new message.
611
+ */
612
+ export declare const AgentSchema: GenMessage<Agent>;
613
+
614
+ /**
615
+ * Wrapper of an entity passed in Tasking, used to hold an additional information, and as a future extension point.
616
+ *
617
+ * @generated from message anduril.taskmanager.v1.TaskEntity
618
+ */
619
+ export declare type TaskEntity = Message<"anduril.taskmanager.v1.TaskEntity"> & {
620
+ /**
621
+ * The wrapped entity-manager entity.
622
+ *
623
+ * @generated from field: anduril.entitymanager.v1.Entity entity = 1;
624
+ */
625
+ entity?: Entity;
626
+
627
+ /**
628
+ * Indicates that this entity was generated from a snapshot of a live entity.
629
+ *
630
+ * @generated from field: bool snapshot = 2;
631
+ */
632
+ snapshot: boolean;
633
+ };
634
+
635
+ /**
636
+ * Describes the message anduril.taskmanager.v1.TaskEntity.
637
+ * Use `create(TaskEntitySchema)` to create a new message.
638
+ */
639
+ export declare const TaskEntitySchema: GenMessage<TaskEntity>;
640
+
641
+ /**
642
+ * The Status of a Task definition through its lifecycle. Each Definition Version can have its own Status.
643
+ * For example, Definition v1 could go CREATED -> SENT -> WILCO -> REPLACED, with v2 then potentially in sent Status.
644
+ *
645
+ * @generated from enum anduril.taskmanager.v1.Status
646
+ */
647
+ export enum Status {
648
+ /**
649
+ * @generated from enum value: STATUS_INVALID = 0;
650
+ */
651
+ INVALID = 0,
652
+
653
+ /**
654
+ * Initial creation Status.
655
+ *
656
+ * @generated from enum value: STATUS_CREATED = 1;
657
+ */
658
+ CREATED = 1,
659
+
660
+ /**
661
+ * Scheduled within Task Manager to be sent at a future time.
662
+ *
663
+ * @generated from enum value: STATUS_SCHEDULED_IN_MANAGER = 2;
664
+ */
665
+ SCHEDULED_IN_MANAGER = 2,
666
+
667
+ /**
668
+ * Sent to another system (Asset), no receipt yet.
669
+ *
670
+ * @generated from enum value: STATUS_SENT = 3;
671
+ */
672
+ SENT = 3,
673
+
674
+ /**
675
+ * In case of a human operated asset assignee, the machine was reachable and responded, but operator did not ACK yet.
676
+ *
677
+ * @generated from enum value: STATUS_MACHINE_RECEIPT = 4;
678
+ */
679
+ MACHINE_RECEIPT = 4,
680
+
681
+ /**
682
+ * Assignee (either human or system in case of autonomous robot) has acknowledged receipt of Task.
683
+ *
684
+ * @generated from enum value: STATUS_ACK = 5;
685
+ */
686
+ ACK = 5,
687
+
688
+ /**
689
+ * Assignee confirmed they "will comply" / intend to execute Task.
690
+ *
691
+ * @generated from enum value: STATUS_WILCO = 6;
692
+ */
693
+ WILCO = 6,
694
+
695
+ /**
696
+ * Task was started and is actively executing.
697
+ *
698
+ * @generated from enum value: STATUS_EXECUTING = 7;
699
+ */
700
+ EXECUTING = 7,
701
+
702
+ /**
703
+ * Task is on hold, waiting for additional updates/information before proceeding.
704
+ *
705
+ * @generated from enum value: STATUS_WAITING_FOR_UPDATE = 8;
706
+ */
707
+ WAITING_FOR_UPDATE = 8,
708
+
709
+ /**
710
+ * Task was completed successfully.
711
+ *
712
+ * @generated from enum value: STATUS_DONE_OK = 9;
713
+ */
714
+ DONE_OK = 9,
715
+
716
+ /**
717
+ * Task has reached a terminal state but did not complete successfully, see error code/message.
718
+ *
719
+ * @generated from enum value: STATUS_DONE_NOT_OK = 10;
720
+ */
721
+ DONE_NOT_OK = 10,
722
+
723
+ /**
724
+ * This definition version was replaced.
725
+ *
726
+ * @generated from enum value: STATUS_REPLACED = 11;
727
+ */
728
+ REPLACED = 11,
729
+
730
+ /**
731
+ * A Task was requested to be cancelled but not yet confirmed, will eventually move to DONE_NOT_OK.
732
+ *
733
+ * @generated from enum value: STATUS_CANCEL_REQUESTED = 12;
734
+ */
735
+ CANCEL_REQUESTED = 12,
736
+
737
+ /**
738
+ * A Task was requested to be completed successfully but not yet confirmed, will eventually move to DONE_NOT_OK / DONE_OK.
739
+ *
740
+ * @generated from enum value: STATUS_COMPLETE_REQUESTED = 13;
741
+ */
742
+ COMPLETE_REQUESTED = 13,
743
+
744
+ /**
745
+ * This definition version was rejected, intended to be used when an Agent does not accept a new version of a task
746
+ * and continues using previous version
747
+ *
748
+ * @generated from enum value: STATUS_VERSION_REJECTED = 14;
749
+ */
750
+ VERSION_REJECTED = 14,
751
+ }
752
+
753
+ /**
754
+ * Describes the enum anduril.taskmanager.v1.Status.
755
+ */
756
+ export declare const StatusSchema: GenEnum<Status>;
757
+
758
+ /**
759
+ * Error code associated with a Task error.
760
+ *
761
+ * @generated from enum anduril.taskmanager.v1.ErrorCode
762
+ */
763
+ export enum ErrorCode {
764
+ /**
765
+ * @generated from enum value: ERROR_CODE_INVALID = 0;
766
+ */
767
+ INVALID = 0,
768
+
769
+ /**
770
+ * Task was cancelled by requester.
771
+ *
772
+ * @generated from enum value: ERROR_CODE_CANCELLED = 1;
773
+ */
774
+ CANCELLED = 1,
775
+
776
+ /**
777
+ * Task was rejected by assignee, see message for details.
778
+ *
779
+ * @generated from enum value: ERROR_CODE_REJECTED = 2;
780
+ */
781
+ REJECTED = 2,
782
+
783
+ /**
784
+ * Task Manager gave up waiting for a receipt/ack from assignee.
785
+ *
786
+ * @generated from enum value: ERROR_CODE_TIMEOUT = 3;
787
+ */
788
+ TIMEOUT = 3,
789
+
790
+ /**
791
+ * Task attempted to execute, but failed.
792
+ *
793
+ * @generated from enum value: ERROR_CODE_FAILED = 4;
794
+ */
795
+ FAILED = 4,
796
+ }
797
+
798
+ /**
799
+ * Describes the enum anduril.taskmanager.v1.ErrorCode.
800
+ */
801
+ export declare const ErrorCodeSchema: GenEnum<ErrorCode>;
802
+
803
+ /**
804
+ * The type of Task event.
805
+ *
806
+ * @generated from enum anduril.taskmanager.v1.EventType
807
+ */
808
+ export enum EventType {
809
+ /**
810
+ * @generated from enum value: EVENT_TYPE_INVALID = 0;
811
+ */
812
+ INVALID = 0,
813
+
814
+ /**
815
+ * Task was created.
816
+ *
817
+ * @generated from enum value: EVENT_TYPE_CREATED = 1;
818
+ */
819
+ CREATED = 1,
820
+
821
+ /**
822
+ * Task was updated.
823
+ *
824
+ * @generated from enum value: EVENT_TYPE_UPDATE = 2;
825
+ */
826
+ UPDATE = 2,
827
+
828
+ /**
829
+ * Task already existed, but sent on a new stream connection.
830
+ *
831
+ * @generated from enum value: EVENT_TYPE_PREEXISTING = 3;
832
+ */
833
+ PREEXISTING = 3,
834
+ }
835
+
836
+ /**
837
+ * Describes the enum anduril.taskmanager.v1.EventType.
838
+ */
839
+ export declare const EventTypeSchema: GenEnum<EventType>;
840
+
841
+ /**
842
+ * View of a Task through its lifecycle.
843
+ * For example, a definition v1 of a task may be running on an agent, indicated by TASK_VIEW_AGENT,
844
+ * while the definition v2 may not have been received yet, indicated by TASK_VIEW_MANAGER.
845
+ *
846
+ * @generated from enum anduril.taskmanager.v1.TaskView
847
+ */
848
+ export enum TaskView {
849
+ /**
850
+ * @generated from enum value: TASK_VIEW_INVALID = 0;
851
+ */
852
+ INVALID = 0,
853
+
854
+ /**
855
+ * Represents the most recent version of the Task known to Task Manager
856
+ *
857
+ * @generated from enum value: TASK_VIEW_MANAGER = 1;
858
+ */
859
+ MANAGER = 1,
860
+
861
+ /**
862
+ * Represents the most recent version of the Task acknowledged or updated by an Agent
863
+ *
864
+ * @generated from enum value: TASK_VIEW_AGENT = 2;
865
+ */
866
+ AGENT = 2,
867
+ }
868
+
869
+ /**
870
+ * Describes the enum anduril.taskmanager.v1.TaskView.
871
+ */
872
+ export declare const TaskViewSchema: GenEnum<TaskView>;
873
+