@code0-tech/tucana 0.0.49 → 0.0.50
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/package.json +1 -1
- package/pb/aquila.runtime_status_pb.client.d.ts +32 -0
- package/pb/aquila.runtime_status_pb.client.js +23 -0
- package/pb/aquila.runtime_status_pb.d.ts +68 -0
- package/pb/aquila.runtime_status_pb.js +126 -0
- package/pb/sagittarius.runtime_status_pb.client.d.ts +32 -0
- package/pb/sagittarius.runtime_status_pb.client.js +23 -0
- package/pb/sagittarius.runtime_status_pb.d.ts +68 -0
- package/pb/sagittarius.runtime_status_pb.js +126 -0
- package/pb/sagittarius.text_execution_pb.d.ts +101 -0
- package/pb/sagittarius.text_execution_pb.js +213 -2
- package/pb/shared.flow_definition_pb.d.ts +23 -2
- package/pb/shared.flow_definition_pb.js +34 -8
- package/pb/shared.runtime_function_pb.d.ts +4 -0
- package/pb/shared.runtime_function_pb.js +9 -1
- package/pb/shared.runtime_status_pb.d.ts +177 -0
- package/pb/shared.runtime_status_pb.js +315 -0
|
@@ -0,0 +1,315 @@
|
|
|
1
|
+
// @generated by protobuf-ts 2.11.1 with parameter add_pb_suffix,output_javascript_es2020
|
|
2
|
+
// @generated from protobuf file "shared.runtime_status.proto" (package "shared", syntax proto3)
|
|
3
|
+
// tslint:disable
|
|
4
|
+
import { WireType } from "@protobuf-ts/runtime";
|
|
5
|
+
import { UnknownFieldHandler } from "@protobuf-ts/runtime";
|
|
6
|
+
import { reflectionMergePartial } from "@protobuf-ts/runtime";
|
|
7
|
+
import { MessageType } from "@protobuf-ts/runtime";
|
|
8
|
+
import { Translation } from "./shared.translation_pb";
|
|
9
|
+
/**
|
|
10
|
+
* @generated from protobuf enum shared.AdapterRuntimeStatus.Status
|
|
11
|
+
*/
|
|
12
|
+
export var AdapterRuntimeStatus_Status;
|
|
13
|
+
(function (AdapterRuntimeStatus_Status) {
|
|
14
|
+
/**
|
|
15
|
+
* @generated from protobuf enum value: UNKNOWN = 0;
|
|
16
|
+
*/
|
|
17
|
+
AdapterRuntimeStatus_Status[AdapterRuntimeStatus_Status["UNKNOWN"] = 0] = "UNKNOWN";
|
|
18
|
+
/**
|
|
19
|
+
* @generated from protobuf enum value: NOT_RESPONDING = 1;
|
|
20
|
+
*/
|
|
21
|
+
AdapterRuntimeStatus_Status[AdapterRuntimeStatus_Status["NOT_RESPONDING"] = 1] = "NOT_RESPONDING";
|
|
22
|
+
/**
|
|
23
|
+
* @generated from protobuf enum value: NOT_READY = 2;
|
|
24
|
+
*/
|
|
25
|
+
AdapterRuntimeStatus_Status[AdapterRuntimeStatus_Status["NOT_READY"] = 2] = "NOT_READY";
|
|
26
|
+
/**
|
|
27
|
+
* @generated from protobuf enum value: RUNNING = 3;
|
|
28
|
+
*/
|
|
29
|
+
AdapterRuntimeStatus_Status[AdapterRuntimeStatus_Status["RUNNING"] = 3] = "RUNNING";
|
|
30
|
+
/**
|
|
31
|
+
* @generated from protobuf enum value: STOPPED = 4;
|
|
32
|
+
*/
|
|
33
|
+
AdapterRuntimeStatus_Status[AdapterRuntimeStatus_Status["STOPPED"] = 4] = "STOPPED";
|
|
34
|
+
})(AdapterRuntimeStatus_Status || (AdapterRuntimeStatus_Status = {}));
|
|
35
|
+
/**
|
|
36
|
+
* @generated from protobuf enum shared.ExecutionRuntimeStatus.Status
|
|
37
|
+
*/
|
|
38
|
+
export var ExecutionRuntimeStatus_Status;
|
|
39
|
+
(function (ExecutionRuntimeStatus_Status) {
|
|
40
|
+
/**
|
|
41
|
+
* @generated from protobuf enum value: UNKNOWN = 0;
|
|
42
|
+
*/
|
|
43
|
+
ExecutionRuntimeStatus_Status[ExecutionRuntimeStatus_Status["UNKNOWN"] = 0] = "UNKNOWN";
|
|
44
|
+
/**
|
|
45
|
+
* @generated from protobuf enum value: NOT_RESPONDING = 1;
|
|
46
|
+
*/
|
|
47
|
+
ExecutionRuntimeStatus_Status[ExecutionRuntimeStatus_Status["NOT_RESPONDING"] = 1] = "NOT_RESPONDING";
|
|
48
|
+
/**
|
|
49
|
+
* @generated from protobuf enum value: NOT_READY = 2;
|
|
50
|
+
*/
|
|
51
|
+
ExecutionRuntimeStatus_Status[ExecutionRuntimeStatus_Status["NOT_READY"] = 2] = "NOT_READY";
|
|
52
|
+
/**
|
|
53
|
+
* @generated from protobuf enum value: RUNNING = 3;
|
|
54
|
+
*/
|
|
55
|
+
ExecutionRuntimeStatus_Status[ExecutionRuntimeStatus_Status["RUNNING"] = 3] = "RUNNING";
|
|
56
|
+
/**
|
|
57
|
+
* @generated from protobuf enum value: STOPPED = 4;
|
|
58
|
+
*/
|
|
59
|
+
ExecutionRuntimeStatus_Status[ExecutionRuntimeStatus_Status["STOPPED"] = 4] = "STOPPED";
|
|
60
|
+
})(ExecutionRuntimeStatus_Status || (ExecutionRuntimeStatus_Status = {}));
|
|
61
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
62
|
+
class AdapterConfiguration$Type extends MessageType {
|
|
63
|
+
constructor() {
|
|
64
|
+
super("shared.AdapterConfiguration", [
|
|
65
|
+
{ no: 1, name: "endpoint", kind: "scalar", oneof: "data", T: 9 /*ScalarType.STRING*/ }
|
|
66
|
+
]);
|
|
67
|
+
}
|
|
68
|
+
create(value) {
|
|
69
|
+
const message = globalThis.Object.create((this.messagePrototype));
|
|
70
|
+
message.data = { oneofKind: undefined };
|
|
71
|
+
if (value !== undefined)
|
|
72
|
+
reflectionMergePartial(this, message, value);
|
|
73
|
+
return message;
|
|
74
|
+
}
|
|
75
|
+
internalBinaryRead(reader, length, options, target) {
|
|
76
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
77
|
+
while (reader.pos < end) {
|
|
78
|
+
let [fieldNo, wireType] = reader.tag();
|
|
79
|
+
switch (fieldNo) {
|
|
80
|
+
case /* string endpoint */ 1:
|
|
81
|
+
message.data = {
|
|
82
|
+
oneofKind: "endpoint",
|
|
83
|
+
endpoint: reader.string()
|
|
84
|
+
};
|
|
85
|
+
break;
|
|
86
|
+
default:
|
|
87
|
+
let u = options.readUnknownField;
|
|
88
|
+
if (u === "throw")
|
|
89
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
90
|
+
let d = reader.skip(wireType);
|
|
91
|
+
if (u !== false)
|
|
92
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
return message;
|
|
96
|
+
}
|
|
97
|
+
internalBinaryWrite(message, writer, options) {
|
|
98
|
+
/* string endpoint = 1; */
|
|
99
|
+
if (message.data.oneofKind === "endpoint")
|
|
100
|
+
writer.tag(1, WireType.LengthDelimited).string(message.data.endpoint);
|
|
101
|
+
let u = options.writeUnknownFields;
|
|
102
|
+
if (u !== false)
|
|
103
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
104
|
+
return writer;
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
/**
|
|
108
|
+
* @generated MessageType for protobuf message shared.AdapterConfiguration
|
|
109
|
+
*/
|
|
110
|
+
export const AdapterConfiguration = new AdapterConfiguration$Type();
|
|
111
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
112
|
+
class RuntimeFeature$Type extends MessageType {
|
|
113
|
+
constructor() {
|
|
114
|
+
super("shared.RuntimeFeature", [
|
|
115
|
+
{ no: 1, name: "name", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Translation },
|
|
116
|
+
{ no: 2, name: "description", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Translation }
|
|
117
|
+
]);
|
|
118
|
+
}
|
|
119
|
+
create(value) {
|
|
120
|
+
const message = globalThis.Object.create((this.messagePrototype));
|
|
121
|
+
message.name = [];
|
|
122
|
+
message.description = [];
|
|
123
|
+
if (value !== undefined)
|
|
124
|
+
reflectionMergePartial(this, message, value);
|
|
125
|
+
return message;
|
|
126
|
+
}
|
|
127
|
+
internalBinaryRead(reader, length, options, target) {
|
|
128
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
129
|
+
while (reader.pos < end) {
|
|
130
|
+
let [fieldNo, wireType] = reader.tag();
|
|
131
|
+
switch (fieldNo) {
|
|
132
|
+
case /* repeated shared.Translation name */ 1:
|
|
133
|
+
message.name.push(Translation.internalBinaryRead(reader, reader.uint32(), options));
|
|
134
|
+
break;
|
|
135
|
+
case /* repeated shared.Translation description */ 2:
|
|
136
|
+
message.description.push(Translation.internalBinaryRead(reader, reader.uint32(), options));
|
|
137
|
+
break;
|
|
138
|
+
default:
|
|
139
|
+
let u = options.readUnknownField;
|
|
140
|
+
if (u === "throw")
|
|
141
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
142
|
+
let d = reader.skip(wireType);
|
|
143
|
+
if (u !== false)
|
|
144
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
return message;
|
|
148
|
+
}
|
|
149
|
+
internalBinaryWrite(message, writer, options) {
|
|
150
|
+
/* repeated shared.Translation name = 1; */
|
|
151
|
+
for (let i = 0; i < message.name.length; i++)
|
|
152
|
+
Translation.internalBinaryWrite(message.name[i], writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
|
153
|
+
/* repeated shared.Translation description = 2; */
|
|
154
|
+
for (let i = 0; i < message.description.length; i++)
|
|
155
|
+
Translation.internalBinaryWrite(message.description[i], writer.tag(2, WireType.LengthDelimited).fork(), options).join();
|
|
156
|
+
let u = options.writeUnknownFields;
|
|
157
|
+
if (u !== false)
|
|
158
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
159
|
+
return writer;
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
/**
|
|
163
|
+
* @generated MessageType for protobuf message shared.RuntimeFeature
|
|
164
|
+
*/
|
|
165
|
+
export const RuntimeFeature = new RuntimeFeature$Type();
|
|
166
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
167
|
+
class AdapterRuntimeStatus$Type extends MessageType {
|
|
168
|
+
constructor() {
|
|
169
|
+
super("shared.AdapterRuntimeStatus", [
|
|
170
|
+
{ no: 1, name: "status", kind: "enum", T: () => ["shared.AdapterRuntimeStatus.Status", AdapterRuntimeStatus_Status] },
|
|
171
|
+
{ no: 2, name: "timestamp", kind: "scalar", T: 3 /*ScalarType.INT64*/, L: 0 /*LongType.BIGINT*/ },
|
|
172
|
+
{ no: 3, name: "identifier", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
173
|
+
{ no: 4, name: "features", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => RuntimeFeature },
|
|
174
|
+
{ no: 5, name: "configurations", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => AdapterConfiguration }
|
|
175
|
+
]);
|
|
176
|
+
}
|
|
177
|
+
create(value) {
|
|
178
|
+
const message = globalThis.Object.create((this.messagePrototype));
|
|
179
|
+
message.status = 0;
|
|
180
|
+
message.timestamp = 0n;
|
|
181
|
+
message.identifier = "";
|
|
182
|
+
message.features = [];
|
|
183
|
+
message.configurations = [];
|
|
184
|
+
if (value !== undefined)
|
|
185
|
+
reflectionMergePartial(this, message, value);
|
|
186
|
+
return message;
|
|
187
|
+
}
|
|
188
|
+
internalBinaryRead(reader, length, options, target) {
|
|
189
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
190
|
+
while (reader.pos < end) {
|
|
191
|
+
let [fieldNo, wireType] = reader.tag();
|
|
192
|
+
switch (fieldNo) {
|
|
193
|
+
case /* shared.AdapterRuntimeStatus.Status status */ 1:
|
|
194
|
+
message.status = reader.int32();
|
|
195
|
+
break;
|
|
196
|
+
case /* int64 timestamp */ 2:
|
|
197
|
+
message.timestamp = reader.int64().toBigInt();
|
|
198
|
+
break;
|
|
199
|
+
case /* string identifier */ 3:
|
|
200
|
+
message.identifier = reader.string();
|
|
201
|
+
break;
|
|
202
|
+
case /* repeated shared.RuntimeFeature features */ 4:
|
|
203
|
+
message.features.push(RuntimeFeature.internalBinaryRead(reader, reader.uint32(), options));
|
|
204
|
+
break;
|
|
205
|
+
case /* repeated shared.AdapterConfiguration configurations */ 5:
|
|
206
|
+
message.configurations.push(AdapterConfiguration.internalBinaryRead(reader, reader.uint32(), options));
|
|
207
|
+
break;
|
|
208
|
+
default:
|
|
209
|
+
let u = options.readUnknownField;
|
|
210
|
+
if (u === "throw")
|
|
211
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
212
|
+
let d = reader.skip(wireType);
|
|
213
|
+
if (u !== false)
|
|
214
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
215
|
+
}
|
|
216
|
+
}
|
|
217
|
+
return message;
|
|
218
|
+
}
|
|
219
|
+
internalBinaryWrite(message, writer, options) {
|
|
220
|
+
/* shared.AdapterRuntimeStatus.Status status = 1; */
|
|
221
|
+
if (message.status !== 0)
|
|
222
|
+
writer.tag(1, WireType.Varint).int32(message.status);
|
|
223
|
+
/* int64 timestamp = 2; */
|
|
224
|
+
if (message.timestamp !== 0n)
|
|
225
|
+
writer.tag(2, WireType.Varint).int64(message.timestamp);
|
|
226
|
+
/* string identifier = 3; */
|
|
227
|
+
if (message.identifier !== "")
|
|
228
|
+
writer.tag(3, WireType.LengthDelimited).string(message.identifier);
|
|
229
|
+
/* repeated shared.RuntimeFeature features = 4; */
|
|
230
|
+
for (let i = 0; i < message.features.length; i++)
|
|
231
|
+
RuntimeFeature.internalBinaryWrite(message.features[i], writer.tag(4, WireType.LengthDelimited).fork(), options).join();
|
|
232
|
+
/* repeated shared.AdapterConfiguration configurations = 5; */
|
|
233
|
+
for (let i = 0; i < message.configurations.length; i++)
|
|
234
|
+
AdapterConfiguration.internalBinaryWrite(message.configurations[i], writer.tag(5, WireType.LengthDelimited).fork(), options).join();
|
|
235
|
+
let u = options.writeUnknownFields;
|
|
236
|
+
if (u !== false)
|
|
237
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
238
|
+
return writer;
|
|
239
|
+
}
|
|
240
|
+
}
|
|
241
|
+
/**
|
|
242
|
+
* @generated MessageType for protobuf message shared.AdapterRuntimeStatus
|
|
243
|
+
*/
|
|
244
|
+
export const AdapterRuntimeStatus = new AdapterRuntimeStatus$Type();
|
|
245
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
246
|
+
class ExecutionRuntimeStatus$Type extends MessageType {
|
|
247
|
+
constructor() {
|
|
248
|
+
super("shared.ExecutionRuntimeStatus", [
|
|
249
|
+
{ no: 1, name: "status", kind: "enum", T: () => ["shared.ExecutionRuntimeStatus.Status", ExecutionRuntimeStatus_Status] },
|
|
250
|
+
{ no: 2, name: "timestamp", kind: "scalar", T: 3 /*ScalarType.INT64*/, L: 0 /*LongType.BIGINT*/ },
|
|
251
|
+
{ no: 3, name: "identifier", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
252
|
+
{ no: 4, name: "features", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => RuntimeFeature }
|
|
253
|
+
]);
|
|
254
|
+
}
|
|
255
|
+
create(value) {
|
|
256
|
+
const message = globalThis.Object.create((this.messagePrototype));
|
|
257
|
+
message.status = 0;
|
|
258
|
+
message.timestamp = 0n;
|
|
259
|
+
message.identifier = "";
|
|
260
|
+
message.features = [];
|
|
261
|
+
if (value !== undefined)
|
|
262
|
+
reflectionMergePartial(this, message, value);
|
|
263
|
+
return message;
|
|
264
|
+
}
|
|
265
|
+
internalBinaryRead(reader, length, options, target) {
|
|
266
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
267
|
+
while (reader.pos < end) {
|
|
268
|
+
let [fieldNo, wireType] = reader.tag();
|
|
269
|
+
switch (fieldNo) {
|
|
270
|
+
case /* shared.ExecutionRuntimeStatus.Status status */ 1:
|
|
271
|
+
message.status = reader.int32();
|
|
272
|
+
break;
|
|
273
|
+
case /* int64 timestamp */ 2:
|
|
274
|
+
message.timestamp = reader.int64().toBigInt();
|
|
275
|
+
break;
|
|
276
|
+
case /* string identifier */ 3:
|
|
277
|
+
message.identifier = reader.string();
|
|
278
|
+
break;
|
|
279
|
+
case /* repeated shared.RuntimeFeature features */ 4:
|
|
280
|
+
message.features.push(RuntimeFeature.internalBinaryRead(reader, reader.uint32(), options));
|
|
281
|
+
break;
|
|
282
|
+
default:
|
|
283
|
+
let u = options.readUnknownField;
|
|
284
|
+
if (u === "throw")
|
|
285
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
286
|
+
let d = reader.skip(wireType);
|
|
287
|
+
if (u !== false)
|
|
288
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
289
|
+
}
|
|
290
|
+
}
|
|
291
|
+
return message;
|
|
292
|
+
}
|
|
293
|
+
internalBinaryWrite(message, writer, options) {
|
|
294
|
+
/* shared.ExecutionRuntimeStatus.Status status = 1; */
|
|
295
|
+
if (message.status !== 0)
|
|
296
|
+
writer.tag(1, WireType.Varint).int32(message.status);
|
|
297
|
+
/* int64 timestamp = 2; */
|
|
298
|
+
if (message.timestamp !== 0n)
|
|
299
|
+
writer.tag(2, WireType.Varint).int64(message.timestamp);
|
|
300
|
+
/* string identifier = 3; */
|
|
301
|
+
if (message.identifier !== "")
|
|
302
|
+
writer.tag(3, WireType.LengthDelimited).string(message.identifier);
|
|
303
|
+
/* repeated shared.RuntimeFeature features = 4; */
|
|
304
|
+
for (let i = 0; i < message.features.length; i++)
|
|
305
|
+
RuntimeFeature.internalBinaryWrite(message.features[i], writer.tag(4, WireType.LengthDelimited).fork(), options).join();
|
|
306
|
+
let u = options.writeUnknownFields;
|
|
307
|
+
if (u !== false)
|
|
308
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
309
|
+
return writer;
|
|
310
|
+
}
|
|
311
|
+
}
|
|
312
|
+
/**
|
|
313
|
+
* @generated MessageType for protobuf message shared.ExecutionRuntimeStatus
|
|
314
|
+
*/
|
|
315
|
+
export const ExecutionRuntimeStatus = new ExecutionRuntimeStatus$Type();
|