@camstack/types 1.2.336 → 1.2.337
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/audio/audio-chunk-format.d.ts +1 -1
- package/dist/automation/recipe.d.ts +3 -3
- package/dist/capabilities/accessories.cap.d.ts +4 -4
- package/dist/capabilities/addon-pages-source.cap.d.ts +3 -3
- package/dist/capabilities/addon-pages.cap.d.ts +3 -3
- package/dist/capabilities/addon-routes.cap.d.ts +8 -8
- package/dist/capabilities/addon-settings.cap.d.ts +9 -9
- package/dist/capabilities/addon-widgets-source.cap.d.ts +21 -21
- package/dist/capabilities/addon-widgets.cap.d.ts +17 -17
- package/dist/capabilities/addons.cap.d.ts +87 -87
- package/dist/capabilities/admin-ui.cap.d.ts +3 -3
- package/dist/capabilities/air-quality-sensor.cap.d.ts +5 -5
- package/dist/capabilities/alarm-panel.cap.d.ts +45 -45
- package/dist/capabilities/alerts.cap.d.ts +18 -18
- package/dist/capabilities/ambient-light-sensor.cap.d.ts +5 -5
- package/dist/capabilities/audio-analysis.cap.d.ts +4 -4
- package/dist/capabilities/audio-analyzer.cap.d.ts +13 -13
- package/dist/capabilities/audio-codec.cap.d.ts +4 -4
- package/dist/capabilities/audio-metrics.cap.d.ts +4 -4
- package/dist/capabilities/auth-provider.cap.d.ts +4 -4
- package/dist/capabilities/automation-control.cap.d.ts +5 -5
- package/dist/capabilities/backup.cap.d.ts +18 -18
- package/dist/capabilities/battery.cap.d.ts +15 -15
- package/dist/capabilities/binary.cap.d.ts +5 -5
- package/dist/capabilities/brightness.cap.d.ts +5 -5
- package/dist/capabilities/broker.cap.d.ts +21 -21
- package/dist/capabilities/button.cap.d.ts +3 -3
- package/dist/capabilities/calendar-source.cap.d.ts +3 -3
- package/dist/capabilities/calendars.cap.d.ts +5 -5
- package/dist/capabilities/camera-credentials.cap.d.ts +4 -4
- package/dist/capabilities/camera-grid-layout.cap.d.ts +9 -9
- package/dist/capabilities/camera-pipeline-config.cap.d.ts +4 -4
- package/dist/capabilities/camera-streams.cap.d.ts +37 -37
- package/dist/capabilities/capability-definition.d.ts +10 -10
- package/dist/capabilities/carbon-monoxide.cap.d.ts +5 -5
- package/dist/capabilities/climate-control.cap.d.ts +37 -37
- package/dist/capabilities/color.cap.d.ts +9 -9
- package/dist/capabilities/composer.cap.d.ts +16 -16
- package/dist/capabilities/connection-test.cap.d.ts +3 -3
- package/dist/capabilities/connectivity.cap.d.ts +5 -5
- package/dist/capabilities/consumables.cap.d.ts +21 -21
- package/dist/capabilities/contact.cap.d.ts +5 -5
- package/dist/capabilities/control.cap.d.ts +16 -16
- package/dist/capabilities/core-blocks.cap.d.ts +115 -115
- package/dist/capabilities/cover.cap.d.ts +17 -17
- package/dist/capabilities/custom-model-registry.cap.d.ts +51 -51
- package/dist/capabilities/data-store-provider.cap.d.ts +7 -7
- package/dist/capabilities/database-snapshot.cap.d.ts +3 -3
- package/dist/capabilities/day-night.cap.d.ts +24 -24
- package/dist/capabilities/decoder.cap.d.ts +4 -4
- package/dist/capabilities/detection-pipeline.cap.d.ts +4 -4
- package/dist/capabilities/device-admin-link.cap.d.ts +3 -3
- package/dist/capabilities/device-adoption.cap.d.ts +4 -4
- package/dist/capabilities/device-discovery.cap.d.ts +7 -7
- package/dist/capabilities/device-export.cap.d.ts +8 -8
- package/dist/capabilities/device-extension.cap.d.ts +22 -22
- package/dist/capabilities/device-manager.cap.d.ts +113 -113
- package/dist/capabilities/device-ops.cap.d.ts +7 -7
- package/dist/capabilities/device-provider.cap.d.ts +3 -3
- package/dist/capabilities/device-state.cap.d.ts +24 -24
- package/dist/capabilities/device-status.cap.d.ts +5 -5
- package/dist/capabilities/doorbell.cap.d.ts +7 -7
- package/dist/capabilities/embedding-encoder.cap.d.ts +4 -4
- package/dist/capabilities/enum-sensor.cap.d.ts +9 -9
- package/dist/capabilities/event-emitter.cap.d.ts +5 -5
- package/dist/capabilities/face-gallery.cap.d.ts +7 -7
- package/dist/capabilities/failure-contribution.cap.d.ts +4 -4
- package/dist/capabilities/fan-control.cap.d.ts +10 -10
- package/dist/capabilities/feature-probe.cap.d.ts +5 -5
- package/dist/capabilities/filesystem-browse.cap.d.ts +3 -3
- package/dist/capabilities/flood.cap.d.ts +5 -5
- package/dist/capabilities/gas.cap.d.ts +5 -5
- package/dist/capabilities/hub-address.d.ts +1 -1
- package/dist/capabilities/humidifier.cap.d.ts +5 -5
- package/dist/capabilities/humidity-sensor.cap.d.ts +5 -5
- package/dist/capabilities/image-settings.cap.d.ts +48 -48
- package/dist/capabilities/image.cap.d.ts +5 -5
- package/dist/capabilities/integrations.cap.d.ts +12 -12
- package/dist/capabilities/intercom.cap.d.ts +11 -11
- package/dist/capabilities/keychain-admin.cap.d.ts +57 -57
- package/dist/capabilities/keychain.cap.d.ts +27 -27
- package/dist/capabilities/lawn-mower-control.cap.d.ts +17 -17
- package/dist/capabilities/llm-runtime.cap.d.ts +79 -79
- package/dist/capabilities/llm-shared.d.ts +21 -21
- package/dist/capabilities/llm.cap.d.ts +109 -109
- package/dist/capabilities/load-contribution.cap.d.ts +12 -12
- package/dist/capabilities/local-network.cap.d.ts +119 -119
- package/dist/capabilities/lock-control.cap.d.ts +13 -13
- package/dist/capabilities/log-channels.cap.d.ts +5 -5
- package/dist/capabilities/log-destination.cap.d.ts +14 -14
- package/dist/capabilities/login-method.cap.d.ts +4 -4
- package/dist/capabilities/mask-shape.d.ts +2 -2
- package/dist/capabilities/media-player.cap.d.ts +13 -13
- package/dist/capabilities/mesh-network.cap.d.ts +9 -9
- package/dist/capabilities/metrics-provider.cap.d.ts +15 -15
- package/dist/capabilities/model-convert.cap.d.ts +29 -29
- package/dist/capabilities/model-distributor.cap.d.ts +27 -27
- package/dist/capabilities/motion-detection.cap.d.ts +8 -8
- package/dist/capabilities/motion-trigger.cap.d.ts +5 -5
- package/dist/capabilities/motion-zones.cap.d.ts +13 -13
- package/dist/capabilities/motion.cap.d.ts +7 -7
- package/dist/capabilities/mqtt-broker.cap.d.ts +13 -13
- package/dist/capabilities/native-object-detection.cap.d.ts +59 -59
- package/dist/capabilities/navigation.cap.d.ts +56 -56
- package/dist/capabilities/network-access.cap.d.ts +4 -4
- package/dist/capabilities/network-link.cap.d.ts +16 -16
- package/dist/capabilities/network-quality.cap.d.ts +4 -4
- package/dist/capabilities/nodes.cap.d.ts +5 -5
- package/dist/capabilities/notification-output.cap.d.ts +121 -121
- package/dist/capabilities/notification-rules.cap.d.ts +1583 -1583
- package/dist/capabilities/notifier.cap.d.ts +8 -8
- package/dist/capabilities/numeric-sensor.cap.d.ts +5 -5
- package/dist/capabilities/oauth-integration.cap.d.ts +11 -11
- package/dist/capabilities/osd-manager.cap.d.ts +261 -261
- package/dist/capabilities/osd.cap.d.ts +59 -59
- package/dist/capabilities/pet-feeder.cap.d.ts +9 -9
- package/dist/capabilities/pipeline-analytics.cap.d.ts +956 -956
- package/dist/capabilities/pipeline-executor.cap.d.ts +140 -140
- package/dist/capabilities/pipeline-orchestrator.cap.d.ts +275 -267
- package/dist/capabilities/pipeline-runner.cap.d.ts +58 -58
- package/dist/capabilities/plate-gallery.cap.d.ts +3 -3
- package/dist/capabilities/platform-probe.cap.d.ts +66 -66
- package/dist/capabilities/power-meter.cap.d.ts +5 -5
- package/dist/capabilities/presence.cap.d.ts +5 -5
- package/dist/capabilities/pressure-sensor.cap.d.ts +5 -5
- package/dist/capabilities/privacy-mask.cap.d.ts +13 -13
- package/dist/capabilities/ptz-autotrack.cap.d.ts +10 -10
- package/dist/capabilities/ptz.cap.d.ts +29 -29
- package/dist/capabilities/reboot.cap.d.ts +3 -3
- package/dist/capabilities/recording-archive.cap.d.ts +59 -59
- package/dist/capabilities/recording-export.cap.d.ts +37 -37
- package/dist/capabilities/recording-onboard.cap.d.ts +73 -73
- package/dist/capabilities/recording-signal.cap.d.ts +6 -6
- package/dist/capabilities/recording.cap.d.ts +21 -21
- package/dist/capabilities/scene-monitor.cap.d.ts +81 -81
- package/dist/capabilities/schemas/detection-shared.d.ts +7 -7
- package/dist/capabilities/schemas/orchestrator-metrics.d.ts +4 -4
- package/dist/capabilities/schemas/streaming-shared.d.ts +31 -31
- package/dist/capabilities/schemas/zone-rule.d.ts +3 -3
- package/dist/capabilities/script-runner.cap.d.ts +5 -5
- package/dist/capabilities/server-management.cap.d.ts +70 -70
- package/dist/capabilities/settings-store.cap.d.ts +11 -11
- package/dist/capabilities/smoke.cap.d.ts +5 -5
- package/dist/capabilities/smtp-provider.cap.d.ts +4 -4
- package/dist/capabilities/snapshot.cap.d.ts +9 -9
- package/dist/capabilities/sso-bridge.cap.d.ts +15 -15
- package/dist/capabilities/storage-evictable.cap.d.ts +3 -3
- package/dist/capabilities/storage-migration.cap.d.ts +53 -53
- package/dist/capabilities/storage-occupancy.cap.d.ts +3 -3
- package/dist/capabilities/storage-provider.cap.d.ts +25 -25
- package/dist/capabilities/storage.cap.d.ts +18 -18
- package/dist/capabilities/stream-broker.cap.d.ts +184 -184
- package/dist/capabilities/stream-catalog.cap.d.ts +24 -24
- package/dist/capabilities/stream-params.cap.d.ts +36 -36
- package/dist/capabilities/stream-signals.cap.d.ts +4 -4
- package/dist/capabilities/switch.cap.d.ts +11 -11
- package/dist/capabilities/system.cap.d.ts +66 -66
- package/dist/capabilities/tamper.cap.d.ts +5 -5
- package/dist/capabilities/temperature-sensor.cap.d.ts +5 -5
- package/dist/capabilities/terminal-session.cap.d.ts +3 -3
- package/dist/capabilities/toast.cap.d.ts +6 -6
- package/dist/capabilities/training-provider.cap.d.ts +35 -35
- package/dist/capabilities/training.cap.d.ts +278 -278
- package/dist/capabilities/turn-provider.cap.d.ts +3 -3
- package/dist/capabilities/update.cap.d.ts +5 -5
- package/dist/capabilities/user-management.cap.d.ts +83 -83
- package/dist/capabilities/user-passkeys.cap.d.ts +3 -3
- package/dist/capabilities/vacuum-control.cap.d.ts +17 -17
- package/dist/capabilities/valve.cap.d.ts +17 -17
- package/dist/capabilities/vector-store.cap.d.ts +3 -3
- package/dist/capabilities/vibration.cap.d.ts +5 -5
- package/dist/capabilities/videoclips.cap.d.ts +53 -53
- package/dist/capabilities/viewer-ui.cap.d.ts +3 -3
- package/dist/capabilities/water-heater.cap.d.ts +5 -5
- package/dist/capabilities/weather.cap.d.ts +5 -5
- package/dist/capabilities/webrtc-session.cap.d.ts +60 -60
- package/dist/capabilities/zone-analytics.cap.d.ts +18 -18
- package/dist/capabilities/zone-rules.cap.d.ts +15 -15
- package/dist/capabilities/zones.cap.d.ts +4 -4
- package/dist/catalogs/event-taxonomy.d.ts +9 -9
- package/dist/catalogs/root-model-supply.d.ts +3 -3
- package/dist/composition/composable-caps.d.ts +6 -6
- package/dist/composition/composition-report.d.ts +75 -75
- package/dist/deps/ffmpeg-artifacts.d.ts +2 -2
- package/dist/device/location-icon.d.ts +25 -25
- package/dist/device/site-zone.d.ts +12 -12
- package/dist/encode-profile.d.ts +22 -22
- package/dist/generated/addon-api.d.ts +176 -176
- package/dist/generated/capability-router-map.d.ts +171 -171
- package/dist/generated/extension-slots.d.ts +1 -1
- package/dist/health/wiring-health.d.ts +8 -8
- package/dist/i18n/event-kind-labels.d.ts +1 -1
- package/dist/i18n/state-labels.d.ts +1 -1
- package/dist/interfaces/addon-data-plane.d.ts +1 -1
- package/dist/interfaces/adoption-job.d.ts +10 -10
- package/dist/interfaces/birth-decision-ledger.d.ts +3 -3
- package/dist/interfaces/camera-switches.d.ts +21 -21
- package/dist/interfaces/ops-log.d.ts +14 -14
- package/dist/interfaces/recording-config.d.ts +14 -14
- package/dist/interfaces/relocate.d.ts +88 -88
- package/dist/interfaces/server-analysis.d.ts +2 -2
- package/dist/interfaces/storage-location-declaration.d.ts +4 -4
- package/dist/interfaces/storage-location-mode.d.ts +4 -4
- package/dist/interfaces/storage-location.d.ts +2 -2
- package/dist/interfaces/track-relations.d.ts +14 -14
- package/dist/lifecycle/job.d.ts +43 -43
- package/dist/logging/log-channel.d.ts +2 -2
- package/dist/media/media-owner-key.d.ts +2 -2
- package/dist/notification/alarm-membership.d.ts +2 -2
- package/dist/notification/alarm-profiles.d.ts +1 -1
- package/dist/notification/condition-taxonomy.d.ts +1 -1
- package/dist/notification/scope-picker-items.d.ts +1 -1
- package/dist/notification/system-event-families.d.ts +1 -1
- package/dist/notification/timelapse-rule.d.ts +4 -4
- package/dist/pipeline/auto-tune/plan-schemas.d.ts +78 -78
- package/dist/pipeline/camera-sensors.d.ts +39 -39
- package/dist/pipeline/cluster-model-scope.d.ts +11 -1
- package/dist/pipeline/load-balancing/schemas.d.ts +13 -13
- package/dist/pipeline/native-lease.d.ts +4 -4
- package/dist/pipeline/node-benchmark/schemas.d.ts +82 -82
- package/dist/pipeline/provider-motion.d.ts +2 -2
- package/dist/schemas/auth-records.d.ts +14 -14
- package/dist/training/trainer-contract.d.ts +19 -19
- package/dist/types/clip-model.d.ts +2 -2
- package/dist/types/labels.d.ts +4 -4
- package/dist/types/models.d.ts +42 -42
- package/dist/units/unit-table.d.ts +45 -45
- package/package.json +9 -2
|
@@ -67,22 +67,22 @@ export declare const ManagedRuntimeConfigSchema: z.ZodObject<{
|
|
|
67
67
|
mlock: z.ZodDefault<z.ZodBoolean>;
|
|
68
68
|
noMmap: z.ZodDefault<z.ZodBoolean>;
|
|
69
69
|
cacheTypeK: z.ZodOptional<z.ZodEnum<{
|
|
70
|
-
f32: "f32";
|
|
71
70
|
f16: "f16";
|
|
72
|
-
|
|
73
|
-
q5_1: "q5_1";
|
|
74
|
-
q5_0: "q5_0";
|
|
75
|
-
q4_1: "q4_1";
|
|
71
|
+
f32: "f32";
|
|
76
72
|
q4_0: "q4_0";
|
|
73
|
+
q4_1: "q4_1";
|
|
74
|
+
q5_0: "q5_0";
|
|
75
|
+
q5_1: "q5_1";
|
|
76
|
+
q8_0: "q8_0";
|
|
77
77
|
}>>;
|
|
78
78
|
cacheTypeV: z.ZodOptional<z.ZodEnum<{
|
|
79
|
-
f32: "f32";
|
|
80
79
|
f16: "f16";
|
|
81
|
-
|
|
82
|
-
q5_1: "q5_1";
|
|
83
|
-
q5_0: "q5_0";
|
|
84
|
-
q4_1: "q4_1";
|
|
80
|
+
f32: "f32";
|
|
85
81
|
q4_0: "q4_0";
|
|
82
|
+
q4_1: "q4_1";
|
|
83
|
+
q5_0: "q5_0";
|
|
84
|
+
q5_1: "q5_1";
|
|
85
|
+
q8_0: "q8_0";
|
|
86
86
|
}>>;
|
|
87
87
|
extraArgs: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
88
88
|
autoStart: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -97,8 +97,8 @@ export type ManagedRuntimeConfig = z.infer<typeof ManagedRuntimeConfigSchema>;
|
|
|
97
97
|
*/
|
|
98
98
|
export declare const LlmDownloadProgressSchema: z.ZodObject<{
|
|
99
99
|
phase: z.ZodEnum<{
|
|
100
|
-
verifying: "verifying";
|
|
101
100
|
downloading: "downloading";
|
|
101
|
+
verifying: "verifying";
|
|
102
102
|
}>;
|
|
103
103
|
file: z.ZodString;
|
|
104
104
|
fileIndex: z.ZodNumber;
|
|
@@ -110,12 +110,12 @@ export type LlmDownloadProgress = z.infer<typeof LlmDownloadProgressSchema>;
|
|
|
110
110
|
export declare const LlmRuntimeStatusSchema: z.ZodObject<{
|
|
111
111
|
nodeId: z.ZodString;
|
|
112
112
|
state: z.ZodEnum<{
|
|
113
|
+
crashed: "crashed";
|
|
114
|
+
downloading: "downloading";
|
|
113
115
|
failed: "failed";
|
|
114
116
|
ready: "ready";
|
|
115
|
-
stopped: "stopped";
|
|
116
117
|
starting: "starting";
|
|
117
|
-
|
|
118
|
-
crashed: "crashed";
|
|
118
|
+
stopped: "stopped";
|
|
119
119
|
}>;
|
|
120
120
|
pid: z.ZodOptional<z.ZodNumber>;
|
|
121
121
|
port: z.ZodOptional<z.ZodNumber>;
|
|
@@ -124,8 +124,8 @@ export declare const LlmRuntimeStatusSchema: z.ZodObject<{
|
|
|
124
124
|
downloadProgress: z.ZodOptional<z.ZodNumber>;
|
|
125
125
|
download: z.ZodOptional<z.ZodObject<{
|
|
126
126
|
phase: z.ZodEnum<{
|
|
127
|
-
verifying: "verifying";
|
|
128
127
|
downloading: "downloading";
|
|
128
|
+
verifying: "verifying";
|
|
129
129
|
}>;
|
|
130
130
|
file: z.ZodString;
|
|
131
131
|
fileIndex: z.ZodNumber;
|
|
@@ -207,22 +207,22 @@ export declare const LlmRuntimeCompleteInputSchema: z.ZodObject<{
|
|
|
207
207
|
mlock: z.ZodDefault<z.ZodBoolean>;
|
|
208
208
|
noMmap: z.ZodDefault<z.ZodBoolean>;
|
|
209
209
|
cacheTypeK: z.ZodOptional<z.ZodEnum<{
|
|
210
|
-
f32: "f32";
|
|
211
210
|
f16: "f16";
|
|
212
|
-
|
|
213
|
-
q5_1: "q5_1";
|
|
214
|
-
q5_0: "q5_0";
|
|
215
|
-
q4_1: "q4_1";
|
|
211
|
+
f32: "f32";
|
|
216
212
|
q4_0: "q4_0";
|
|
213
|
+
q4_1: "q4_1";
|
|
214
|
+
q5_0: "q5_0";
|
|
215
|
+
q5_1: "q5_1";
|
|
216
|
+
q8_0: "q8_0";
|
|
217
217
|
}>>;
|
|
218
218
|
cacheTypeV: z.ZodOptional<z.ZodEnum<{
|
|
219
|
-
f32: "f32";
|
|
220
219
|
f16: "f16";
|
|
221
|
-
|
|
222
|
-
q5_1: "q5_1";
|
|
223
|
-
q5_0: "q5_0";
|
|
224
|
-
q4_1: "q4_1";
|
|
220
|
+
f32: "f32";
|
|
225
221
|
q4_0: "q4_0";
|
|
222
|
+
q4_1: "q4_1";
|
|
223
|
+
q5_0: "q5_0";
|
|
224
|
+
q5_1: "q5_1";
|
|
225
|
+
q8_0: "q8_0";
|
|
226
226
|
}>>;
|
|
227
227
|
extraArgs: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
228
228
|
autoStart: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -238,12 +238,12 @@ export type LlmRuntimeCompleteInput = z.infer<typeof LlmRuntimeCompleteInputSche
|
|
|
238
238
|
* in the installed addon, or it crashed past the respawn bound.
|
|
239
239
|
*/
|
|
240
240
|
export declare const AppleFmUnavailableReasonSchema: z.ZodEnum<{
|
|
241
|
-
deviceNotEligible: "deviceNotEligible";
|
|
242
241
|
appleIntelligenceNotEnabled: "appleIntelligenceNotEnabled";
|
|
242
|
+
deviceNotEligible: "deviceNotEligible";
|
|
243
|
+
helperCrashed: "helperCrashed";
|
|
244
|
+
helperMissing: "helperMissing";
|
|
243
245
|
modelNotReady: "modelNotReady";
|
|
244
246
|
osTooOld: "osTooOld";
|
|
245
|
-
helperMissing: "helperMissing";
|
|
246
|
-
helperCrashed: "helperCrashed";
|
|
247
247
|
}>;
|
|
248
248
|
export type AppleFmUnavailableReason = z.infer<typeof AppleFmUnavailableReasonSchema>;
|
|
249
249
|
/**
|
|
@@ -267,12 +267,12 @@ export declare const AppleFmAvailabilitySchema: z.ZodDiscriminatedUnion<[z.ZodOb
|
|
|
267
267
|
}, z.core.$strip>, z.ZodObject<{
|
|
268
268
|
state: z.ZodLiteral<"unavailable">;
|
|
269
269
|
reason: z.ZodEnum<{
|
|
270
|
-
deviceNotEligible: "deviceNotEligible";
|
|
271
270
|
appleIntelligenceNotEnabled: "appleIntelligenceNotEnabled";
|
|
271
|
+
deviceNotEligible: "deviceNotEligible";
|
|
272
|
+
helperCrashed: "helperCrashed";
|
|
273
|
+
helperMissing: "helperMissing";
|
|
272
274
|
modelNotReady: "modelNotReady";
|
|
273
275
|
osTooOld: "osTooOld";
|
|
274
|
-
helperMissing: "helperMissing";
|
|
275
|
-
helperCrashed: "helperCrashed";
|
|
276
276
|
}>;
|
|
277
277
|
osVersion: z.ZodNullable<z.ZodString>;
|
|
278
278
|
detail: z.ZodString;
|
|
@@ -319,9 +319,9 @@ export declare const LlmRuntimeCancelInputSchema: z.ZodObject<{
|
|
|
319
319
|
}, z.core.$strip>;
|
|
320
320
|
export type LlmRuntimeCancelInput = z.infer<typeof LlmRuntimeCancelInputSchema>;
|
|
321
321
|
export declare const llmRuntimeCapability: {
|
|
322
|
-
readonly name:
|
|
323
|
-
readonly scope:
|
|
324
|
-
readonly mode:
|
|
322
|
+
readonly name: 'llm-runtime';
|
|
323
|
+
readonly scope: 'system';
|
|
324
|
+
readonly mode: 'singleton';
|
|
325
325
|
readonly internal: true;
|
|
326
326
|
readonly methods: {
|
|
327
327
|
/**
|
|
@@ -391,22 +391,22 @@ export declare const llmRuntimeCapability: {
|
|
|
391
391
|
mlock: z.ZodDefault<z.ZodBoolean>;
|
|
392
392
|
noMmap: z.ZodDefault<z.ZodBoolean>;
|
|
393
393
|
cacheTypeK: z.ZodOptional<z.ZodEnum<{
|
|
394
|
-
f32: "f32";
|
|
395
394
|
f16: "f16";
|
|
396
|
-
|
|
397
|
-
q5_1: "q5_1";
|
|
398
|
-
q5_0: "q5_0";
|
|
399
|
-
q4_1: "q4_1";
|
|
395
|
+
f32: "f32";
|
|
400
396
|
q4_0: "q4_0";
|
|
397
|
+
q4_1: "q4_1";
|
|
398
|
+
q5_0: "q5_0";
|
|
399
|
+
q5_1: "q5_1";
|
|
400
|
+
q8_0: "q8_0";
|
|
401
401
|
}>>;
|
|
402
402
|
cacheTypeV: z.ZodOptional<z.ZodEnum<{
|
|
403
|
-
f32: "f32";
|
|
404
403
|
f16: "f16";
|
|
405
|
-
|
|
406
|
-
q5_1: "q5_1";
|
|
407
|
-
q5_0: "q5_0";
|
|
408
|
-
q4_1: "q4_1";
|
|
404
|
+
f32: "f32";
|
|
409
405
|
q4_0: "q4_0";
|
|
406
|
+
q4_1: "q4_1";
|
|
407
|
+
q5_0: "q5_0";
|
|
408
|
+
q5_1: "q5_1";
|
|
409
|
+
q8_0: "q8_0";
|
|
410
410
|
}>>;
|
|
411
411
|
extraArgs: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
412
412
|
autoStart: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -426,21 +426,21 @@ export declare const llmRuntimeCapability: {
|
|
|
426
426
|
}, z.core.$strip>, z.ZodObject<{
|
|
427
427
|
ok: z.ZodLiteral<false>;
|
|
428
428
|
code: z.ZodEnum<{
|
|
429
|
-
|
|
430
|
-
refusal: "refusal";
|
|
429
|
+
"adapter-error": "adapter-error";
|
|
431
430
|
auth: "auth";
|
|
432
|
-
unavailable: "unavailable";
|
|
433
|
-
"rate-limited": "rate-limited";
|
|
434
431
|
"bad-request": "bad-request";
|
|
435
|
-
"no-profile": "no-profile";
|
|
436
432
|
"budget-exceeded": "budget-exceeded";
|
|
437
|
-
"
|
|
433
|
+
"no-profile": "no-profile";
|
|
434
|
+
"rate-limited": "rate-limited";
|
|
435
|
+
refusal: "refusal";
|
|
436
|
+
timeout: "timeout";
|
|
437
|
+
unavailable: "unavailable";
|
|
438
438
|
}>;
|
|
439
439
|
message: z.ZodString;
|
|
440
440
|
retryAfterMs: z.ZodOptional<z.ZodNumber>;
|
|
441
441
|
refusalSource: z.ZodOptional<z.ZodEnum<{
|
|
442
|
-
model: "model";
|
|
443
442
|
guardrail: "guardrail";
|
|
443
|
+
model: "model";
|
|
444
444
|
}>>;
|
|
445
445
|
}, z.core.$strip>], "ok">, "mutation">;
|
|
446
446
|
readonly ensureStarted: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
@@ -478,22 +478,22 @@ export declare const llmRuntimeCapability: {
|
|
|
478
478
|
mlock: z.ZodDefault<z.ZodBoolean>;
|
|
479
479
|
noMmap: z.ZodDefault<z.ZodBoolean>;
|
|
480
480
|
cacheTypeK: z.ZodOptional<z.ZodEnum<{
|
|
481
|
-
f32: "f32";
|
|
482
481
|
f16: "f16";
|
|
483
|
-
|
|
484
|
-
q5_1: "q5_1";
|
|
485
|
-
q5_0: "q5_0";
|
|
486
|
-
q4_1: "q4_1";
|
|
482
|
+
f32: "f32";
|
|
487
483
|
q4_0: "q4_0";
|
|
484
|
+
q4_1: "q4_1";
|
|
485
|
+
q5_0: "q5_0";
|
|
486
|
+
q5_1: "q5_1";
|
|
487
|
+
q8_0: "q8_0";
|
|
488
488
|
}>>;
|
|
489
489
|
cacheTypeV: z.ZodOptional<z.ZodEnum<{
|
|
490
|
-
f32: "f32";
|
|
491
490
|
f16: "f16";
|
|
492
|
-
|
|
493
|
-
q5_1: "q5_1";
|
|
494
|
-
q5_0: "q5_0";
|
|
495
|
-
q4_1: "q4_1";
|
|
491
|
+
f32: "f32";
|
|
496
492
|
q4_0: "q4_0";
|
|
493
|
+
q4_1: "q4_1";
|
|
494
|
+
q5_0: "q5_0";
|
|
495
|
+
q5_1: "q5_1";
|
|
496
|
+
q8_0: "q8_0";
|
|
497
497
|
}>>;
|
|
498
498
|
extraArgs: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
499
499
|
autoStart: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -502,12 +502,12 @@ export declare const llmRuntimeCapability: {
|
|
|
502
502
|
}, z.core.$strip>, z.ZodObject<{
|
|
503
503
|
nodeId: z.ZodString;
|
|
504
504
|
state: z.ZodEnum<{
|
|
505
|
+
crashed: "crashed";
|
|
506
|
+
downloading: "downloading";
|
|
505
507
|
failed: "failed";
|
|
506
508
|
ready: "ready";
|
|
507
|
-
stopped: "stopped";
|
|
508
509
|
starting: "starting";
|
|
509
|
-
|
|
510
|
-
crashed: "crashed";
|
|
510
|
+
stopped: "stopped";
|
|
511
511
|
}>;
|
|
512
512
|
pid: z.ZodOptional<z.ZodNumber>;
|
|
513
513
|
port: z.ZodOptional<z.ZodNumber>;
|
|
@@ -516,8 +516,8 @@ export declare const llmRuntimeCapability: {
|
|
|
516
516
|
downloadProgress: z.ZodOptional<z.ZodNumber>;
|
|
517
517
|
download: z.ZodOptional<z.ZodObject<{
|
|
518
518
|
phase: z.ZodEnum<{
|
|
519
|
-
verifying: "verifying";
|
|
520
519
|
downloading: "downloading";
|
|
520
|
+
verifying: "verifying";
|
|
521
521
|
}>;
|
|
522
522
|
file: z.ZodString;
|
|
523
523
|
fileIndex: z.ZodNumber;
|
|
@@ -534,12 +534,12 @@ export declare const llmRuntimeCapability: {
|
|
|
534
534
|
readonly status: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{}, z.core.$strip>, z.ZodObject<{
|
|
535
535
|
nodeId: z.ZodString;
|
|
536
536
|
state: z.ZodEnum<{
|
|
537
|
+
crashed: "crashed";
|
|
538
|
+
downloading: "downloading";
|
|
537
539
|
failed: "failed";
|
|
538
540
|
ready: "ready";
|
|
539
|
-
stopped: "stopped";
|
|
540
541
|
starting: "starting";
|
|
541
|
-
|
|
542
|
-
crashed: "crashed";
|
|
542
|
+
stopped: "stopped";
|
|
543
543
|
}>;
|
|
544
544
|
pid: z.ZodOptional<z.ZodNumber>;
|
|
545
545
|
port: z.ZodOptional<z.ZodNumber>;
|
|
@@ -548,8 +548,8 @@ export declare const llmRuntimeCapability: {
|
|
|
548
548
|
downloadProgress: z.ZodOptional<z.ZodNumber>;
|
|
549
549
|
download: z.ZodOptional<z.ZodObject<{
|
|
550
550
|
phase: z.ZodEnum<{
|
|
551
|
-
verifying: "verifying";
|
|
552
551
|
downloading: "downloading";
|
|
552
|
+
verifying: "verifying";
|
|
553
553
|
}>;
|
|
554
554
|
file: z.ZodString;
|
|
555
555
|
fileIndex: z.ZodNumber;
|
|
@@ -621,12 +621,12 @@ export declare const llmRuntimeCapability: {
|
|
|
621
621
|
}, z.core.$strip>, z.ZodObject<{
|
|
622
622
|
state: z.ZodLiteral<"unavailable">;
|
|
623
623
|
reason: z.ZodEnum<{
|
|
624
|
-
deviceNotEligible: "deviceNotEligible";
|
|
625
624
|
appleIntelligenceNotEnabled: "appleIntelligenceNotEnabled";
|
|
625
|
+
deviceNotEligible: "deviceNotEligible";
|
|
626
|
+
helperCrashed: "helperCrashed";
|
|
627
|
+
helperMissing: "helperMissing";
|
|
626
628
|
modelNotReady: "modelNotReady";
|
|
627
629
|
osTooOld: "osTooOld";
|
|
628
|
-
helperMissing: "helperMissing";
|
|
629
|
-
helperCrashed: "helperCrashed";
|
|
630
630
|
}>;
|
|
631
631
|
osVersion: z.ZodNullable<z.ZodString>;
|
|
632
632
|
detail: z.ZodString;
|
|
@@ -671,21 +671,21 @@ export declare const llmRuntimeCapability: {
|
|
|
671
671
|
}, z.core.$strip>, z.ZodObject<{
|
|
672
672
|
ok: z.ZodLiteral<false>;
|
|
673
673
|
code: z.ZodEnum<{
|
|
674
|
-
|
|
675
|
-
refusal: "refusal";
|
|
674
|
+
"adapter-error": "adapter-error";
|
|
676
675
|
auth: "auth";
|
|
677
|
-
unavailable: "unavailable";
|
|
678
|
-
"rate-limited": "rate-limited";
|
|
679
676
|
"bad-request": "bad-request";
|
|
680
|
-
"no-profile": "no-profile";
|
|
681
677
|
"budget-exceeded": "budget-exceeded";
|
|
682
|
-
"
|
|
678
|
+
"no-profile": "no-profile";
|
|
679
|
+
"rate-limited": "rate-limited";
|
|
680
|
+
refusal: "refusal";
|
|
681
|
+
timeout: "timeout";
|
|
682
|
+
unavailable: "unavailable";
|
|
683
683
|
}>;
|
|
684
684
|
message: z.ZodString;
|
|
685
685
|
retryAfterMs: z.ZodOptional<z.ZodNumber>;
|
|
686
686
|
refusalSource: z.ZodOptional<z.ZodEnum<{
|
|
687
|
-
model: "model";
|
|
688
687
|
guardrail: "guardrail";
|
|
688
|
+
model: "model";
|
|
689
689
|
}>>;
|
|
690
690
|
}, z.core.$strip>], "ok">, "mutation">;
|
|
691
691
|
};
|
|
@@ -14,15 +14,15 @@ export declare const LlmUsageSchema: z.ZodObject<{
|
|
|
14
14
|
}, z.core.$strip>;
|
|
15
15
|
export type LlmUsage = z.infer<typeof LlmUsageSchema>;
|
|
16
16
|
export declare const LlmErrorCodeSchema: z.ZodEnum<{
|
|
17
|
-
|
|
18
|
-
refusal: "refusal";
|
|
17
|
+
"adapter-error": "adapter-error";
|
|
19
18
|
auth: "auth";
|
|
20
|
-
unavailable: "unavailable";
|
|
21
|
-
"rate-limited": "rate-limited";
|
|
22
19
|
"bad-request": "bad-request";
|
|
23
|
-
"no-profile": "no-profile";
|
|
24
20
|
"budget-exceeded": "budget-exceeded";
|
|
25
|
-
"
|
|
21
|
+
"no-profile": "no-profile";
|
|
22
|
+
"rate-limited": "rate-limited";
|
|
23
|
+
refusal: "refusal";
|
|
24
|
+
timeout: "timeout";
|
|
25
|
+
unavailable: "unavailable";
|
|
26
26
|
}>;
|
|
27
27
|
export type LlmErrorCode = z.infer<typeof LlmErrorCodeSchema>;
|
|
28
28
|
export declare const LlmGenerateOkSchema: z.ZodObject<{
|
|
@@ -46,28 +46,28 @@ export declare const LlmGenerateOkSchema: z.ZodObject<{
|
|
|
46
46
|
* attribute.
|
|
47
47
|
*/
|
|
48
48
|
export declare const LlmRefusalSourceSchema: z.ZodEnum<{
|
|
49
|
-
model: "model";
|
|
50
49
|
guardrail: "guardrail";
|
|
50
|
+
model: "model";
|
|
51
51
|
}>;
|
|
52
52
|
export type LlmRefusalSource = z.infer<typeof LlmRefusalSourceSchema>;
|
|
53
53
|
export declare const LlmGenerateErrSchema: z.ZodObject<{
|
|
54
54
|
ok: z.ZodLiteral<false>;
|
|
55
55
|
code: z.ZodEnum<{
|
|
56
|
-
|
|
57
|
-
refusal: "refusal";
|
|
56
|
+
"adapter-error": "adapter-error";
|
|
58
57
|
auth: "auth";
|
|
59
|
-
unavailable: "unavailable";
|
|
60
|
-
"rate-limited": "rate-limited";
|
|
61
58
|
"bad-request": "bad-request";
|
|
62
|
-
"no-profile": "no-profile";
|
|
63
59
|
"budget-exceeded": "budget-exceeded";
|
|
64
|
-
"
|
|
60
|
+
"no-profile": "no-profile";
|
|
61
|
+
"rate-limited": "rate-limited";
|
|
62
|
+
refusal: "refusal";
|
|
63
|
+
timeout: "timeout";
|
|
64
|
+
unavailable: "unavailable";
|
|
65
65
|
}>;
|
|
66
66
|
message: z.ZodString;
|
|
67
67
|
retryAfterMs: z.ZodOptional<z.ZodNumber>;
|
|
68
68
|
refusalSource: z.ZodOptional<z.ZodEnum<{
|
|
69
|
-
model: "model";
|
|
70
69
|
guardrail: "guardrail";
|
|
70
|
+
model: "model";
|
|
71
71
|
}>>;
|
|
72
72
|
}, z.core.$strip>;
|
|
73
73
|
export declare const LlmGenerateResultSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -83,21 +83,21 @@ export declare const LlmGenerateResultSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
83
83
|
}, z.core.$strip>, z.ZodObject<{
|
|
84
84
|
ok: z.ZodLiteral<false>;
|
|
85
85
|
code: z.ZodEnum<{
|
|
86
|
-
|
|
87
|
-
refusal: "refusal";
|
|
86
|
+
"adapter-error": "adapter-error";
|
|
88
87
|
auth: "auth";
|
|
89
|
-
unavailable: "unavailable";
|
|
90
|
-
"rate-limited": "rate-limited";
|
|
91
88
|
"bad-request": "bad-request";
|
|
92
|
-
"no-profile": "no-profile";
|
|
93
89
|
"budget-exceeded": "budget-exceeded";
|
|
94
|
-
"
|
|
90
|
+
"no-profile": "no-profile";
|
|
91
|
+
"rate-limited": "rate-limited";
|
|
92
|
+
refusal: "refusal";
|
|
93
|
+
timeout: "timeout";
|
|
94
|
+
unavailable: "unavailable";
|
|
95
95
|
}>;
|
|
96
96
|
message: z.ZodString;
|
|
97
97
|
retryAfterMs: z.ZodOptional<z.ZodNumber>;
|
|
98
98
|
refusalSource: z.ZodOptional<z.ZodEnum<{
|
|
99
|
-
model: "model";
|
|
100
99
|
guardrail: "guardrail";
|
|
100
|
+
model: "model";
|
|
101
101
|
}>>;
|
|
102
102
|
}, z.core.$strip>], "ok">;
|
|
103
103
|
export type LlmGenerateOk = z.infer<typeof LlmGenerateOkSchema>;
|