@camstack/types 1.0.4 → 1.0.6
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/dist/addon.d.ts +34 -0
- package/dist/addon.js +22 -0
- package/dist/addon.mjs +3 -0
- package/dist/capabilities/addons.cap.d.ts +10 -10
- package/dist/capabilities/advanced-notifier.cap.d.ts +4 -4
- package/dist/capabilities/alerts.cap.d.ts +10 -10
- package/dist/capabilities/audio-codec.cap.d.ts +2 -2
- package/dist/capabilities/camera-streams.cap.d.ts +15 -15
- package/dist/capabilities/consumables.cap.d.ts +4 -4
- package/dist/capabilities/cover.cap.d.ts +4 -4
- package/dist/capabilities/decoder.cap.d.ts +1 -1
- package/dist/capabilities/index.d.ts +2 -1
- package/dist/capabilities/local-network.cap.d.ts +6 -6
- package/dist/capabilities/log-destination.cap.d.ts +5 -5
- package/dist/capabilities/media-player.cap.d.ts +4 -4
- package/dist/capabilities/mesh-network.cap.d.ts +3 -3
- package/dist/capabilities/metrics-provider.cap.d.ts +33 -3
- package/dist/capabilities/network-access.cap.d.ts +7 -7
- package/dist/capabilities/oauth-integration.cap.d.ts +2 -2
- package/dist/capabilities/pipeline-executor.cap.d.ts +48 -1
- package/dist/capabilities/pipeline-orchestrator.cap.d.ts +524 -4
- package/dist/capabilities/platform-probe.cap.d.ts +1 -1
- package/dist/capabilities/restreamer.cap.d.ts +2 -2
- package/dist/capabilities/schemas/streaming-shared.d.ts +9 -9
- package/dist/capabilities/sso-bridge.cap.d.ts +3 -3
- package/dist/capabilities/storage.cap.d.ts +1 -1
- package/dist/capabilities/stream-broker.cap.d.ts +28 -28
- package/dist/capabilities/stream-params.cap.d.ts +14 -14
- package/dist/capabilities/user-management.cap.d.ts +20 -20
- package/dist/capabilities/vacuum-control.cap.d.ts +13 -13
- package/dist/capabilities/valve.cap.d.ts +4 -4
- package/dist/capabilities/webrtc-session.cap.d.ts +12 -12
- package/dist/deps/binary-downloader.d.ts +1 -1
- package/dist/deps/ffmpeg-downloader.d.ts +1 -1
- package/dist/deps/python-downloader.d.ts +1 -1
- package/dist/device/base-device-provider.d.ts +4 -1
- package/dist/encode-profile.d.ts +2 -2
- package/dist/enums/event-category.d.ts +12 -0
- package/dist/err-msg-COpsHMw2.js +18 -0
- package/dist/err-msg-IQTHeDzc.mjs +13 -0
- package/dist/generated/addon-api.d.ts +438 -12
- package/dist/generated/device-proxy.d.ts +1 -1
- package/dist/generated/method-access-map.d.ts +1 -1
- package/dist/generated/system-proxy.d.ts +3 -3
- package/dist/health/wiring-health.d.ts +16 -16
- package/dist/index.js +1435 -4646
- package/dist/index.mjs +485 -3711
- package/dist/interfaces/event-bus.d.ts +15 -0
- package/dist/interfaces/metrics-provider.d.ts +3 -1
- package/dist/interfaces/pipeline-executor-capability.d.ts +8 -0
- package/dist/lifecycle/job.d.ts +6 -6
- package/dist/node.js +3 -3
- package/dist/node.mjs +1 -1
- package/dist/schemas/auth-records.d.ts +4 -4
- package/dist/sleep-D7JeS58T.mjs +3507 -0
- package/dist/sleep-DnS0eJh_.js +3920 -0
- package/dist/storage/filesystem-storage-provider.d.ts +2 -1
- package/dist/types/agent-pipeline-settings.d.ts +7 -0
- package/package.json +6 -1
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
import { type InferProvider } from './capability-definition.js';
|
|
3
3
|
declare const LogLevelSchema: z.ZodEnum<{
|
|
4
|
-
info: "info";
|
|
5
4
|
error: "error";
|
|
6
5
|
debug: "debug";
|
|
6
|
+
info: "info";
|
|
7
7
|
warn: "warn";
|
|
8
8
|
}>;
|
|
9
9
|
declare const LogEntrySchema: z.ZodObject<{
|
|
10
10
|
timestamp: z.ZodDate;
|
|
11
11
|
level: z.ZodEnum<{
|
|
12
|
-
info: "info";
|
|
13
12
|
error: "error";
|
|
14
13
|
debug: "debug";
|
|
14
|
+
info: "info";
|
|
15
15
|
warn: "warn";
|
|
16
16
|
}>;
|
|
17
17
|
scope: z.ZodArray<z.ZodString>;
|
|
@@ -28,9 +28,9 @@ export declare const logDestinationCapability: {
|
|
|
28
28
|
readonly write: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
29
29
|
timestamp: z.ZodDate;
|
|
30
30
|
level: z.ZodEnum<{
|
|
31
|
-
info: "info";
|
|
32
31
|
error: "error";
|
|
33
32
|
debug: "debug";
|
|
33
|
+
info: "info";
|
|
34
34
|
warn: "warn";
|
|
35
35
|
}>;
|
|
36
36
|
scope: z.ZodArray<z.ZodString>;
|
|
@@ -41,9 +41,9 @@ export declare const logDestinationCapability: {
|
|
|
41
41
|
readonly query: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
42
42
|
scope: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
43
43
|
level: z.ZodOptional<z.ZodEnum<{
|
|
44
|
-
info: "info";
|
|
45
44
|
error: "error";
|
|
46
45
|
debug: "debug";
|
|
46
|
+
info: "info";
|
|
47
47
|
warn: "warn";
|
|
48
48
|
}>>;
|
|
49
49
|
since: z.ZodOptional<z.ZodDate>;
|
|
@@ -53,9 +53,9 @@ export declare const logDestinationCapability: {
|
|
|
53
53
|
}, z.core.$strip>, z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
54
54
|
timestamp: z.ZodDate;
|
|
55
55
|
level: z.ZodEnum<{
|
|
56
|
-
info: "info";
|
|
57
56
|
error: "error";
|
|
58
57
|
debug: "debug";
|
|
58
|
+
info: "info";
|
|
59
59
|
warn: "warn";
|
|
60
60
|
}>;
|
|
61
61
|
scope: z.ZodArray<z.ZodString>;
|
|
@@ -14,9 +14,9 @@ import { DeviceType } from '../device/device-type.js';
|
|
|
14
14
|
* fetch — same pattern as `PanTiltZoom` for cameras.
|
|
15
15
|
*/
|
|
16
16
|
export declare const MediaPlayerStateSchema: z.ZodEnum<{
|
|
17
|
-
off: "off";
|
|
18
17
|
idle: "idle";
|
|
19
18
|
playing: "playing";
|
|
19
|
+
off: "off";
|
|
20
20
|
paused: "paused";
|
|
21
21
|
on: "on";
|
|
22
22
|
buffering: "buffering";
|
|
@@ -39,9 +39,9 @@ declare const MediaInfoSchema: z.ZodObject<{
|
|
|
39
39
|
export type MediaInfo = z.infer<typeof MediaInfoSchema>;
|
|
40
40
|
export declare const MediaPlayerStatusSchema: z.ZodObject<{
|
|
41
41
|
state: z.ZodEnum<{
|
|
42
|
-
off: "off";
|
|
43
42
|
idle: "idle";
|
|
44
43
|
playing: "playing";
|
|
44
|
+
off: "off";
|
|
45
45
|
paused: "paused";
|
|
46
46
|
on: "on";
|
|
47
47
|
buffering: "buffering";
|
|
@@ -128,9 +128,9 @@ export declare const mediaPlayerCapability: {
|
|
|
128
128
|
readonly status: {
|
|
129
129
|
readonly schema: z.ZodObject<{
|
|
130
130
|
state: z.ZodEnum<{
|
|
131
|
-
off: "off";
|
|
132
131
|
idle: "idle";
|
|
133
132
|
playing: "playing";
|
|
133
|
+
off: "off";
|
|
134
134
|
paused: "paused";
|
|
135
135
|
on: "on";
|
|
136
136
|
buffering: "buffering";
|
|
@@ -166,9 +166,9 @@ export declare const mediaPlayerCapability: {
|
|
|
166
166
|
*/
|
|
167
167
|
readonly runtimeState: z.ZodObject<{
|
|
168
168
|
state: z.ZodEnum<{
|
|
169
|
-
off: "off";
|
|
170
169
|
idle: "idle";
|
|
171
170
|
playing: "playing";
|
|
171
|
+
off: "off";
|
|
172
172
|
paused: "paused";
|
|
173
173
|
on: "on";
|
|
174
174
|
buffering: "buffering";
|
|
@@ -34,8 +34,8 @@ declare const MeshEndpointSchema: z.ZodObject<{
|
|
|
34
34
|
hostname: z.ZodString;
|
|
35
35
|
port: z.ZodNumber;
|
|
36
36
|
protocol: z.ZodEnum<{
|
|
37
|
-
https: "https";
|
|
38
37
|
http: "http";
|
|
38
|
+
https: "https";
|
|
39
39
|
}>;
|
|
40
40
|
}, z.core.$strip>;
|
|
41
41
|
export type MeshEndpoint = z.infer<typeof MeshEndpointSchema>;
|
|
@@ -80,8 +80,8 @@ export declare const MeshStatusSchema: z.ZodObject<{
|
|
|
80
80
|
hostname: z.ZodString;
|
|
81
81
|
port: z.ZodNumber;
|
|
82
82
|
protocol: z.ZodEnum<{
|
|
83
|
-
https: "https";
|
|
84
83
|
http: "http";
|
|
84
|
+
https: "https";
|
|
85
85
|
}>;
|
|
86
86
|
}, z.core.$strip>>>;
|
|
87
87
|
error: z.ZodOptional<z.ZodString>;
|
|
@@ -123,8 +123,8 @@ export declare const meshNetworkCapability: {
|
|
|
123
123
|
hostname: z.ZodString;
|
|
124
124
|
port: z.ZodNumber;
|
|
125
125
|
protocol: z.ZodEnum<{
|
|
126
|
-
https: "https";
|
|
127
126
|
http: "http";
|
|
127
|
+
https: "https";
|
|
128
128
|
}>;
|
|
129
129
|
}, z.core.$strip>>>;
|
|
130
130
|
error: z.ZodOptional<z.ZodString>;
|
|
@@ -157,6 +157,8 @@ declare const PidResourceStatsSchema: z.ZodObject<{
|
|
|
157
157
|
pid: z.ZodNumber;
|
|
158
158
|
cpu: z.ZodNumber;
|
|
159
159
|
memory: z.ZodNumber;
|
|
160
|
+
privateBytes: z.ZodOptional<z.ZodNumber>;
|
|
161
|
+
sharedBytes: z.ZodOptional<z.ZodNumber>;
|
|
160
162
|
}, z.core.$strip>;
|
|
161
163
|
declare const AddonInstanceSchema: z.ZodObject<{
|
|
162
164
|
addonId: z.ZodString;
|
|
@@ -168,8 +170,8 @@ declare const AddonInstanceSchema: z.ZodObject<{
|
|
|
168
170
|
pid: z.ZodNumber;
|
|
169
171
|
state: z.ZodEnum<{
|
|
170
172
|
running: "running";
|
|
171
|
-
stopped: "stopped";
|
|
172
173
|
starting: "starting";
|
|
174
|
+
stopped: "stopped";
|
|
173
175
|
stopping: "stopping";
|
|
174
176
|
crashed: "crashed";
|
|
175
177
|
}>;
|
|
@@ -205,6 +207,15 @@ declare const KillProcessResultSchema: z.ZodObject<{
|
|
|
205
207
|
SIGKILL: "SIGKILL";
|
|
206
208
|
}>>;
|
|
207
209
|
}, z.core.$strip>;
|
|
210
|
+
declare const DumpHeapSnapshotInputSchema: z.ZodObject<{
|
|
211
|
+
addonId: z.ZodString;
|
|
212
|
+
}, z.core.$strip>;
|
|
213
|
+
declare const DumpHeapSnapshotResultSchema: z.ZodObject<{
|
|
214
|
+
success: z.ZodBoolean;
|
|
215
|
+
path: z.ZodOptional<z.ZodString>;
|
|
216
|
+
pid: z.ZodOptional<z.ZodNumber>;
|
|
217
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
218
|
+
}, z.core.$strip>;
|
|
208
219
|
declare const SystemMetricsSchema: z.ZodObject<{
|
|
209
220
|
cpuPercent: z.ZodNumber;
|
|
210
221
|
memoryPercent: z.ZodNumber;
|
|
@@ -436,6 +447,8 @@ export declare const metricsProviderCapability: {
|
|
|
436
447
|
pid: z.ZodNumber;
|
|
437
448
|
cpu: z.ZodNumber;
|
|
438
449
|
memory: z.ZodNumber;
|
|
450
|
+
privateBytes: z.ZodOptional<z.ZodNumber>;
|
|
451
|
+
sharedBytes: z.ZodOptional<z.ZodNumber>;
|
|
439
452
|
}, z.core.$strip>>, import("./capability-definition.js").CapabilityMethodKind>;
|
|
440
453
|
/**
|
|
441
454
|
* List addon instances known to this node — one entry per forked worker
|
|
@@ -453,8 +466,8 @@ export declare const metricsProviderCapability: {
|
|
|
453
466
|
pid: z.ZodNumber;
|
|
454
467
|
state: z.ZodEnum<{
|
|
455
468
|
running: "running";
|
|
456
|
-
stopped: "stopped";
|
|
457
469
|
starting: "starting";
|
|
470
|
+
stopped: "stopped";
|
|
458
471
|
stopping: "stopping";
|
|
459
472
|
crashed: "crashed";
|
|
460
473
|
}>;
|
|
@@ -472,6 +485,8 @@ export declare const metricsProviderCapability: {
|
|
|
472
485
|
pid: z.ZodNumber;
|
|
473
486
|
cpu: z.ZodNumber;
|
|
474
487
|
memory: z.ZodNumber;
|
|
488
|
+
privateBytes: z.ZodOptional<z.ZodNumber>;
|
|
489
|
+
sharedBytes: z.ZodOptional<z.ZodNumber>;
|
|
475
490
|
}, z.core.$strip>>, import("./capability-definition.js").CapabilityMethodKind>;
|
|
476
491
|
/**
|
|
477
492
|
* Snapshot of every camstack-related process on this node with a
|
|
@@ -515,7 +530,22 @@ export declare const metricsProviderCapability: {
|
|
|
515
530
|
SIGKILL: "SIGKILL";
|
|
516
531
|
}>>;
|
|
517
532
|
}, z.core.$strip>, "mutation">;
|
|
533
|
+
/**
|
|
534
|
+
* Tell the addon's forked runner to write a V8 heap snapshot to disk (via
|
|
535
|
+
* SIGUSR2 — the runner's diagnostic handler). Also logs its
|
|
536
|
+
* `process.memoryUsage()` + heap-space breakdown. Refuses pids not in the
|
|
537
|
+
* live `listNodeProcesses()` snapshot. Use for deep per-addon memory
|
|
538
|
+
* attribution; copy the returned path off the node to analyze.
|
|
539
|
+
*/
|
|
540
|
+
readonly dumpHeapSnapshot: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
541
|
+
addonId: z.ZodString;
|
|
542
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
543
|
+
success: z.ZodBoolean;
|
|
544
|
+
path: z.ZodOptional<z.ZodString>;
|
|
545
|
+
pid: z.ZodOptional<z.ZodNumber>;
|
|
546
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
547
|
+
}, z.core.$strip>, "mutation">;
|
|
518
548
|
};
|
|
519
549
|
};
|
|
520
550
|
export type IMetricsProvider = InferProvider<typeof metricsProviderCapability>;
|
|
521
|
-
export { SystemMetricsSchema, SystemResourceSnapshotSchema, DiskSpaceInfoSchema, MetricsGpuInfoSchema, PidResourceStatsSchema, AddonInstanceSchema, NodeProcessSchema, KillProcessInputSchema, KillProcessResultSchema, CpuBreakdownSchema, MemoryInfoSchema, DiskIoSnapshotSchema, NetworkIoSnapshotSchema, ProcessResourceInfoSchema, PressureInfoSchema, };
|
|
551
|
+
export { SystemMetricsSchema, SystemResourceSnapshotSchema, DiskSpaceInfoSchema, MetricsGpuInfoSchema, PidResourceStatsSchema, AddonInstanceSchema, NodeProcessSchema, KillProcessInputSchema, KillProcessResultSchema, DumpHeapSnapshotInputSchema, DumpHeapSnapshotResultSchema, CpuBreakdownSchema, MemoryInfoSchema, DiskIoSnapshotSchema, NetworkIoSnapshotSchema, ProcessResourceInfoSchema, PressureInfoSchema, };
|
|
@@ -5,8 +5,8 @@ declare const NetworkEndpointSchema: z.ZodObject<{
|
|
|
5
5
|
hostname: z.ZodString;
|
|
6
6
|
port: z.ZodNumber;
|
|
7
7
|
protocol: z.ZodEnum<{
|
|
8
|
-
https: "https";
|
|
9
8
|
http: "http";
|
|
9
|
+
https: "https";
|
|
10
10
|
}>;
|
|
11
11
|
}, z.core.$strip>;
|
|
12
12
|
declare const NetworkAccessStatusSchema: z.ZodObject<{
|
|
@@ -16,8 +16,8 @@ declare const NetworkAccessStatusSchema: z.ZodObject<{
|
|
|
16
16
|
hostname: z.ZodString;
|
|
17
17
|
port: z.ZodNumber;
|
|
18
18
|
protocol: z.ZodEnum<{
|
|
19
|
-
https: "https";
|
|
20
19
|
http: "http";
|
|
20
|
+
https: "https";
|
|
21
21
|
}>;
|
|
22
22
|
}, z.core.$strip>>;
|
|
23
23
|
error: z.ZodOptional<z.ZodString>;
|
|
@@ -37,8 +37,8 @@ declare const NetworkEndpointEntrySchema: z.ZodObject<{
|
|
|
37
37
|
hostname: z.ZodString;
|
|
38
38
|
port: z.ZodNumber;
|
|
39
39
|
protocol: z.ZodEnum<{
|
|
40
|
-
https: "https";
|
|
41
40
|
http: "http";
|
|
41
|
+
https: "https";
|
|
42
42
|
}>;
|
|
43
43
|
id: z.ZodString;
|
|
44
44
|
label: z.ZodString;
|
|
@@ -56,8 +56,8 @@ export declare const networkAccessCapability: {
|
|
|
56
56
|
hostname: z.ZodString;
|
|
57
57
|
port: z.ZodNumber;
|
|
58
58
|
protocol: z.ZodEnum<{
|
|
59
|
-
https: "https";
|
|
60
59
|
http: "http";
|
|
60
|
+
https: "https";
|
|
61
61
|
}>;
|
|
62
62
|
}, z.core.$strip>, "mutation">;
|
|
63
63
|
readonly stop: import("./capability-definition.js").CapabilityMethodSchema<z.ZodVoid, z.ZodVoid, "mutation">;
|
|
@@ -66,8 +66,8 @@ export declare const networkAccessCapability: {
|
|
|
66
66
|
hostname: z.ZodString;
|
|
67
67
|
port: z.ZodNumber;
|
|
68
68
|
protocol: z.ZodEnum<{
|
|
69
|
-
https: "https";
|
|
70
69
|
http: "http";
|
|
70
|
+
https: "https";
|
|
71
71
|
}>;
|
|
72
72
|
}, z.core.$strip>>, import("./capability-definition.js").CapabilityMethodKind>;
|
|
73
73
|
readonly getStatus: import("./capability-definition.js").CapabilityMethodSchema<z.ZodVoid, z.ZodObject<{
|
|
@@ -77,8 +77,8 @@ export declare const networkAccessCapability: {
|
|
|
77
77
|
hostname: z.ZodString;
|
|
78
78
|
port: z.ZodNumber;
|
|
79
79
|
protocol: z.ZodEnum<{
|
|
80
|
-
https: "https";
|
|
81
80
|
http: "http";
|
|
81
|
+
https: "https";
|
|
82
82
|
}>;
|
|
83
83
|
}, z.core.$strip>>;
|
|
84
84
|
error: z.ZodOptional<z.ZodString>;
|
|
@@ -93,8 +93,8 @@ export declare const networkAccessCapability: {
|
|
|
93
93
|
hostname: z.ZodString;
|
|
94
94
|
port: z.ZodNumber;
|
|
95
95
|
protocol: z.ZodEnum<{
|
|
96
|
-
https: "https";
|
|
97
96
|
http: "http";
|
|
97
|
+
https: "https";
|
|
98
98
|
}>;
|
|
99
99
|
id: z.ZodString;
|
|
100
100
|
label: z.ZodString;
|
|
@@ -13,8 +13,8 @@ declare const OauthIntegrationDescriptorSchema: z.ZodObject<{
|
|
|
13
13
|
requestedScopes: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
14
14
|
type: z.ZodLiteral<"category">;
|
|
15
15
|
target: z.ZodEnum<{
|
|
16
|
-
device: "device";
|
|
17
16
|
system: "system";
|
|
17
|
+
device: "device";
|
|
18
18
|
}>;
|
|
19
19
|
access: z.ZodArray<z.ZodEnum<{
|
|
20
20
|
view: "view";
|
|
@@ -61,8 +61,8 @@ export declare const oauthIntegrationCapability: {
|
|
|
61
61
|
requestedScopes: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
62
62
|
type: z.ZodLiteral<"category">;
|
|
63
63
|
target: z.ZodEnum<{
|
|
64
|
-
device: "device";
|
|
65
64
|
system: "system";
|
|
65
|
+
device: "device";
|
|
66
66
|
}>;
|
|
67
67
|
access: z.ZodArray<z.ZodEnum<{
|
|
68
68
|
view: "view";
|
|
@@ -297,6 +297,25 @@ declare const DetectorOutputSchema: z.ZodObject<{
|
|
|
297
297
|
inferenceMs: z.ZodNumber;
|
|
298
298
|
modelId: z.ZodString;
|
|
299
299
|
}, z.core.$strip>;
|
|
300
|
+
declare const EngineProvisioningSchema: z.ZodObject<{
|
|
301
|
+
runtimeId: z.ZodNullable<z.ZodEnum<{
|
|
302
|
+
onnx: "onnx";
|
|
303
|
+
coreml: "coreml";
|
|
304
|
+
openvino: "openvino";
|
|
305
|
+
}>>;
|
|
306
|
+
device: z.ZodNullable<z.ZodString>;
|
|
307
|
+
state: z.ZodEnum<{
|
|
308
|
+
ready: "ready";
|
|
309
|
+
idle: "idle";
|
|
310
|
+
installing: "installing";
|
|
311
|
+
verifying: "verifying";
|
|
312
|
+
failed: "failed";
|
|
313
|
+
}>;
|
|
314
|
+
progress: z.ZodOptional<z.ZodNumber>;
|
|
315
|
+
error: z.ZodOptional<z.ZodString>;
|
|
316
|
+
nextRetryAt: z.ZodOptional<z.ZodNumber>;
|
|
317
|
+
}, z.core.$strip>;
|
|
318
|
+
export type EngineProvisioning = z.infer<typeof EngineProvisioningSchema>;
|
|
300
319
|
export type PipelineStepInputOutput = {
|
|
301
320
|
readonly addonId: string;
|
|
302
321
|
readonly modelId: string;
|
|
@@ -393,6 +412,34 @@ export declare const pipelineExecutorCapability: {
|
|
|
393
412
|
}>;
|
|
394
413
|
device: z.ZodOptional<z.ZodString>;
|
|
395
414
|
}, z.core.$strip>, "mutation">;
|
|
415
|
+
/**
|
|
416
|
+
* Per-node detection-engine provisioning snapshot. Returns the live
|
|
417
|
+
* state of the lazy runtime-provisioning machine on `nodeId`
|
|
418
|
+
* (idle / installing / verifying / ready / failed). The UI pairs this
|
|
419
|
+
* one-shot query with the `pipeline.engine-provisioning` live event
|
|
420
|
+
* (emitted on every transition) to drive a per-node "engine ready?"
|
|
421
|
+
* indicator without polling. Phase 2.
|
|
422
|
+
*/
|
|
423
|
+
readonly getEngineProvisioning: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
424
|
+
nodeId: z.ZodString;
|
|
425
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
426
|
+
runtimeId: z.ZodNullable<z.ZodEnum<{
|
|
427
|
+
onnx: "onnx";
|
|
428
|
+
coreml: "coreml";
|
|
429
|
+
openvino: "openvino";
|
|
430
|
+
}>>;
|
|
431
|
+
device: z.ZodNullable<z.ZodString>;
|
|
432
|
+
state: z.ZodEnum<{
|
|
433
|
+
ready: "ready";
|
|
434
|
+
idle: "idle";
|
|
435
|
+
installing: "installing";
|
|
436
|
+
verifying: "verifying";
|
|
437
|
+
failed: "failed";
|
|
438
|
+
}>;
|
|
439
|
+
progress: z.ZodOptional<z.ZodNumber>;
|
|
440
|
+
error: z.ZodOptional<z.ZodString>;
|
|
441
|
+
nextRetryAt: z.ZodOptional<z.ZodNumber>;
|
|
442
|
+
}, z.core.$strip>, import("./capability-definition.js").CapabilityMethodKind>;
|
|
396
443
|
readonly getVideoPipelineSteps: import("./capability-definition.js").CapabilityMethodSchema<z.ZodVoid, z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
397
444
|
modelId: z.ZodString;
|
|
398
445
|
settings: z.ZodReadonly<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
@@ -918,4 +965,4 @@ export declare const pipelineExecutorCapability: {
|
|
|
918
965
|
};
|
|
919
966
|
};
|
|
920
967
|
export type IPipelineExecutorProvider = InferProvider<typeof pipelineExecutorCapability>;
|
|
921
|
-
export { PipelineEngineChoiceSchema, PipelineDefaultStepSchema, DetectorOutputSchema, PipelineSchemaSchema, PipelineAddonSchemaSchema, PipelineSlotSchemaSchema, PipelineModelOptionSchema, AvailableEngineSchema, PipelineTemplateSchema, PipelineTemplateStepSchema, EngineDeviceInfoSchema, };
|
|
968
|
+
export { PipelineEngineChoiceSchema, PipelineDefaultStepSchema, DetectorOutputSchema, PipelineSchemaSchema, PipelineAddonSchemaSchema, PipelineSlotSchemaSchema, PipelineModelOptionSchema, AvailableEngineSchema, PipelineTemplateSchema, PipelineTemplateStepSchema, EngineDeviceInfoSchema, EngineProvisioningSchema, };
|