@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
|
@@ -13,24 +13,24 @@ import { z } from 'zod';
|
|
|
13
13
|
import type { ConfigUISchema } from '../interfaces/config-ui.js';
|
|
14
14
|
import { type InferProvider } from './capability-definition.js';
|
|
15
15
|
export declare const LlmProfileKindSchema: z.ZodEnum<{
|
|
16
|
-
"openai-compatible": "openai-compatible";
|
|
17
|
-
openai: "openai";
|
|
18
16
|
anthropic: "anthropic";
|
|
17
|
+
"apple-foundation": "apple-foundation";
|
|
19
18
|
google: "google";
|
|
20
19
|
"managed-local": "managed-local";
|
|
21
|
-
|
|
20
|
+
openai: "openai";
|
|
21
|
+
"openai-compatible": "openai-compatible";
|
|
22
22
|
}>;
|
|
23
23
|
export type LlmProfileKind = z.infer<typeof LlmProfileKindSchema>;
|
|
24
24
|
export declare const LlmProfileSchema: z.ZodObject<{
|
|
25
25
|
id: z.ZodString;
|
|
26
26
|
name: z.ZodString;
|
|
27
27
|
kind: z.ZodEnum<{
|
|
28
|
-
"openai-compatible": "openai-compatible";
|
|
29
|
-
openai: "openai";
|
|
30
28
|
anthropic: "anthropic";
|
|
29
|
+
"apple-foundation": "apple-foundation";
|
|
31
30
|
google: "google";
|
|
32
31
|
"managed-local": "managed-local";
|
|
33
|
-
|
|
32
|
+
openai: "openai";
|
|
33
|
+
"openai-compatible": "openai-compatible";
|
|
34
34
|
}>;
|
|
35
35
|
addonId: z.ZodString;
|
|
36
36
|
enabled: z.ZodBoolean;
|
|
@@ -88,22 +88,22 @@ export declare const LlmProfileSchema: z.ZodObject<{
|
|
|
88
88
|
mlock: z.ZodDefault<z.ZodBoolean>;
|
|
89
89
|
noMmap: z.ZodDefault<z.ZodBoolean>;
|
|
90
90
|
cacheTypeK: z.ZodOptional<z.ZodEnum<{
|
|
91
|
-
f32: "f32";
|
|
92
91
|
f16: "f16";
|
|
93
|
-
|
|
94
|
-
q5_1: "q5_1";
|
|
95
|
-
q5_0: "q5_0";
|
|
96
|
-
q4_1: "q4_1";
|
|
92
|
+
f32: "f32";
|
|
97
93
|
q4_0: "q4_0";
|
|
94
|
+
q4_1: "q4_1";
|
|
95
|
+
q5_0: "q5_0";
|
|
96
|
+
q5_1: "q5_1";
|
|
97
|
+
q8_0: "q8_0";
|
|
98
98
|
}>>;
|
|
99
99
|
cacheTypeV: z.ZodOptional<z.ZodEnum<{
|
|
100
|
-
f32: "f32";
|
|
101
100
|
f16: "f16";
|
|
102
|
-
|
|
103
|
-
q5_1: "q5_1";
|
|
104
|
-
q5_0: "q5_0";
|
|
105
|
-
q4_1: "q4_1";
|
|
101
|
+
f32: "f32";
|
|
106
102
|
q4_0: "q4_0";
|
|
103
|
+
q4_1: "q4_1";
|
|
104
|
+
q5_0: "q5_0";
|
|
105
|
+
q5_1: "q5_1";
|
|
106
|
+
q8_0: "q8_0";
|
|
107
107
|
}>>;
|
|
108
108
|
extraArgs: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
109
109
|
autoStart: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -116,12 +116,12 @@ export declare const LlmProfileSchema: z.ZodObject<{
|
|
|
116
116
|
export type LlmProfile = z.infer<typeof LlmProfileSchema>;
|
|
117
117
|
export declare const LlmProfileKindDescriptorSchema: z.ZodObject<{
|
|
118
118
|
kind: z.ZodEnum<{
|
|
119
|
-
"openai-compatible": "openai-compatible";
|
|
120
|
-
openai: "openai";
|
|
121
119
|
anthropic: "anthropic";
|
|
120
|
+
"apple-foundation": "apple-foundation";
|
|
122
121
|
google: "google";
|
|
123
122
|
"managed-local": "managed-local";
|
|
124
|
-
|
|
123
|
+
openai: "openai";
|
|
124
|
+
"openai-compatible": "openai-compatible";
|
|
125
125
|
}>;
|
|
126
126
|
label: z.ZodString;
|
|
127
127
|
icon: z.ZodString;
|
|
@@ -236,12 +236,12 @@ export declare const LlmRuntimeNodeSchema: z.ZodObject<{
|
|
|
236
236
|
status: z.ZodOptional<z.ZodObject<{
|
|
237
237
|
nodeId: z.ZodString;
|
|
238
238
|
state: z.ZodEnum<{
|
|
239
|
+
crashed: "crashed";
|
|
240
|
+
downloading: "downloading";
|
|
239
241
|
failed: "failed";
|
|
240
242
|
ready: "ready";
|
|
241
|
-
stopped: "stopped";
|
|
242
243
|
starting: "starting";
|
|
243
|
-
|
|
244
|
-
crashed: "crashed";
|
|
244
|
+
stopped: "stopped";
|
|
245
245
|
}>;
|
|
246
246
|
pid: z.ZodOptional<z.ZodNumber>;
|
|
247
247
|
port: z.ZodOptional<z.ZodNumber>;
|
|
@@ -250,8 +250,8 @@ export declare const LlmRuntimeNodeSchema: z.ZodObject<{
|
|
|
250
250
|
downloadProgress: z.ZodOptional<z.ZodNumber>;
|
|
251
251
|
download: z.ZodOptional<z.ZodObject<{
|
|
252
252
|
phase: z.ZodEnum<{
|
|
253
|
-
verifying: "verifying";
|
|
254
253
|
downloading: "downloading";
|
|
254
|
+
verifying: "verifying";
|
|
255
255
|
}>;
|
|
256
256
|
file: z.ZodString;
|
|
257
257
|
fileIndex: z.ZodNumber;
|
|
@@ -279,12 +279,12 @@ export declare const LlmRuntimeNodeSchema: z.ZodObject<{
|
|
|
279
279
|
}, z.core.$strip>, z.ZodObject<{
|
|
280
280
|
state: z.ZodLiteral<"unavailable">;
|
|
281
281
|
reason: z.ZodEnum<{
|
|
282
|
-
deviceNotEligible: "deviceNotEligible";
|
|
283
282
|
appleIntelligenceNotEnabled: "appleIntelligenceNotEnabled";
|
|
283
|
+
deviceNotEligible: "deviceNotEligible";
|
|
284
|
+
helperCrashed: "helperCrashed";
|
|
285
|
+
helperMissing: "helperMissing";
|
|
284
286
|
modelNotReady: "modelNotReady";
|
|
285
287
|
osTooOld: "osTooOld";
|
|
286
|
-
helperMissing: "helperMissing";
|
|
287
|
-
helperCrashed: "helperCrashed";
|
|
288
288
|
}>;
|
|
289
289
|
osVersion: z.ZodNullable<z.ZodString>;
|
|
290
290
|
detail: z.ZodString;
|
|
@@ -298,13 +298,13 @@ export declare const LlmRuntimeNodeSchema: z.ZodObject<{
|
|
|
298
298
|
}, z.core.$strip>;
|
|
299
299
|
export type LlmRuntimeNode = z.infer<typeof LlmRuntimeNodeSchema>;
|
|
300
300
|
export declare const llmCapability: {
|
|
301
|
-
readonly name:
|
|
302
|
-
readonly scope:
|
|
303
|
-
readonly mode:
|
|
301
|
+
readonly name: 'llm';
|
|
302
|
+
readonly scope: 'system';
|
|
303
|
+
readonly mode: 'collection';
|
|
304
304
|
readonly internal: false;
|
|
305
|
-
readonly providerKind:
|
|
305
|
+
readonly providerKind: 'ai';
|
|
306
306
|
/** `nodeId` inputs below are DATA (the hub provider pins itself), never routing. */
|
|
307
|
-
readonly nodeIdMode:
|
|
307
|
+
readonly nodeIdMode: 'data';
|
|
308
308
|
readonly methods: {
|
|
309
309
|
readonly generate: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
310
310
|
addonId: z.ZodOptional<z.ZodString>;
|
|
@@ -336,21 +336,21 @@ export declare const llmCapability: {
|
|
|
336
336
|
}, z.core.$strip>, z.ZodObject<{
|
|
337
337
|
ok: z.ZodLiteral<false>;
|
|
338
338
|
code: z.ZodEnum<{
|
|
339
|
-
|
|
340
|
-
refusal: "refusal";
|
|
339
|
+
"adapter-error": "adapter-error";
|
|
341
340
|
auth: "auth";
|
|
342
|
-
unavailable: "unavailable";
|
|
343
|
-
"rate-limited": "rate-limited";
|
|
344
341
|
"bad-request": "bad-request";
|
|
345
|
-
"no-profile": "no-profile";
|
|
346
342
|
"budget-exceeded": "budget-exceeded";
|
|
347
|
-
"
|
|
343
|
+
"no-profile": "no-profile";
|
|
344
|
+
"rate-limited": "rate-limited";
|
|
345
|
+
refusal: "refusal";
|
|
346
|
+
timeout: "timeout";
|
|
347
|
+
unavailable: "unavailable";
|
|
348
348
|
}>;
|
|
349
349
|
message: z.ZodString;
|
|
350
350
|
retryAfterMs: z.ZodOptional<z.ZodNumber>;
|
|
351
351
|
refusalSource: z.ZodOptional<z.ZodEnum<{
|
|
352
|
-
model: "model";
|
|
353
352
|
guardrail: "guardrail";
|
|
353
|
+
model: "model";
|
|
354
354
|
}>>;
|
|
355
355
|
}, z.core.$strip>], "ok">, "mutation">;
|
|
356
356
|
readonly generateVision: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
@@ -387,21 +387,21 @@ export declare const llmCapability: {
|
|
|
387
387
|
}, z.core.$strip>, z.ZodObject<{
|
|
388
388
|
ok: z.ZodLiteral<false>;
|
|
389
389
|
code: z.ZodEnum<{
|
|
390
|
-
|
|
391
|
-
refusal: "refusal";
|
|
390
|
+
"adapter-error": "adapter-error";
|
|
392
391
|
auth: "auth";
|
|
393
|
-
unavailable: "unavailable";
|
|
394
|
-
"rate-limited": "rate-limited";
|
|
395
392
|
"bad-request": "bad-request";
|
|
396
|
-
"no-profile": "no-profile";
|
|
397
393
|
"budget-exceeded": "budget-exceeded";
|
|
398
|
-
"
|
|
394
|
+
"no-profile": "no-profile";
|
|
395
|
+
"rate-limited": "rate-limited";
|
|
396
|
+
refusal: "refusal";
|
|
397
|
+
timeout: "timeout";
|
|
398
|
+
unavailable: "unavailable";
|
|
399
399
|
}>;
|
|
400
400
|
message: z.ZodString;
|
|
401
401
|
retryAfterMs: z.ZodOptional<z.ZodNumber>;
|
|
402
402
|
refusalSource: z.ZodOptional<z.ZodEnum<{
|
|
403
|
-
model: "model";
|
|
404
403
|
guardrail: "guardrail";
|
|
404
|
+
model: "model";
|
|
405
405
|
}>>;
|
|
406
406
|
}, z.core.$strip>], "ok">, "mutation">;
|
|
407
407
|
/**
|
|
@@ -417,12 +417,12 @@ export declare const llmCapability: {
|
|
|
417
417
|
}, z.core.$strip>, z.ZodVoid, "mutation">;
|
|
418
418
|
readonly listProfileKinds: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{}, z.core.$strip>, z.ZodArray<z.ZodObject<{
|
|
419
419
|
kind: z.ZodEnum<{
|
|
420
|
-
"openai-compatible": "openai-compatible";
|
|
421
|
-
openai: "openai";
|
|
422
420
|
anthropic: "anthropic";
|
|
421
|
+
"apple-foundation": "apple-foundation";
|
|
423
422
|
google: "google";
|
|
424
423
|
"managed-local": "managed-local";
|
|
425
|
-
|
|
424
|
+
openai: "openai";
|
|
425
|
+
"openai-compatible": "openai-compatible";
|
|
426
426
|
}>;
|
|
427
427
|
label: z.ZodString;
|
|
428
428
|
icon: z.ZodString;
|
|
@@ -433,12 +433,12 @@ export declare const llmCapability: {
|
|
|
433
433
|
id: z.ZodString;
|
|
434
434
|
name: z.ZodString;
|
|
435
435
|
kind: z.ZodEnum<{
|
|
436
|
-
"openai-compatible": "openai-compatible";
|
|
437
|
-
openai: "openai";
|
|
438
436
|
anthropic: "anthropic";
|
|
437
|
+
"apple-foundation": "apple-foundation";
|
|
439
438
|
google: "google";
|
|
440
439
|
"managed-local": "managed-local";
|
|
441
|
-
|
|
440
|
+
openai: "openai";
|
|
441
|
+
"openai-compatible": "openai-compatible";
|
|
442
442
|
}>;
|
|
443
443
|
addonId: z.ZodString;
|
|
444
444
|
enabled: z.ZodBoolean;
|
|
@@ -496,22 +496,22 @@ export declare const llmCapability: {
|
|
|
496
496
|
mlock: z.ZodDefault<z.ZodBoolean>;
|
|
497
497
|
noMmap: z.ZodDefault<z.ZodBoolean>;
|
|
498
498
|
cacheTypeK: z.ZodOptional<z.ZodEnum<{
|
|
499
|
-
f32: "f32";
|
|
500
499
|
f16: "f16";
|
|
501
|
-
|
|
502
|
-
q5_1: "q5_1";
|
|
503
|
-
q5_0: "q5_0";
|
|
504
|
-
q4_1: "q4_1";
|
|
500
|
+
f32: "f32";
|
|
505
501
|
q4_0: "q4_0";
|
|
502
|
+
q4_1: "q4_1";
|
|
503
|
+
q5_0: "q5_0";
|
|
504
|
+
q5_1: "q5_1";
|
|
505
|
+
q8_0: "q8_0";
|
|
506
506
|
}>>;
|
|
507
507
|
cacheTypeV: z.ZodOptional<z.ZodEnum<{
|
|
508
|
-
f32: "f32";
|
|
509
508
|
f16: "f16";
|
|
510
|
-
|
|
511
|
-
q5_1: "q5_1";
|
|
512
|
-
q5_0: "q5_0";
|
|
513
|
-
q4_1: "q4_1";
|
|
509
|
+
f32: "f32";
|
|
514
510
|
q4_0: "q4_0";
|
|
511
|
+
q4_1: "q4_1";
|
|
512
|
+
q5_0: "q5_0";
|
|
513
|
+
q5_1: "q5_1";
|
|
514
|
+
q8_0: "q8_0";
|
|
515
515
|
}>>;
|
|
516
516
|
extraArgs: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
517
517
|
autoStart: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -526,12 +526,12 @@ export declare const llmCapability: {
|
|
|
526
526
|
id: z.ZodString;
|
|
527
527
|
name: z.ZodString;
|
|
528
528
|
kind: z.ZodEnum<{
|
|
529
|
-
"openai-compatible": "openai-compatible";
|
|
530
|
-
openai: "openai";
|
|
531
529
|
anthropic: "anthropic";
|
|
530
|
+
"apple-foundation": "apple-foundation";
|
|
532
531
|
google: "google";
|
|
533
532
|
"managed-local": "managed-local";
|
|
534
|
-
|
|
533
|
+
openai: "openai";
|
|
534
|
+
"openai-compatible": "openai-compatible";
|
|
535
535
|
}>;
|
|
536
536
|
addonId: z.ZodString;
|
|
537
537
|
enabled: z.ZodBoolean;
|
|
@@ -589,22 +589,22 @@ export declare const llmCapability: {
|
|
|
589
589
|
mlock: z.ZodDefault<z.ZodBoolean>;
|
|
590
590
|
noMmap: z.ZodDefault<z.ZodBoolean>;
|
|
591
591
|
cacheTypeK: z.ZodOptional<z.ZodEnum<{
|
|
592
|
-
f32: "f32";
|
|
593
592
|
f16: "f16";
|
|
594
|
-
|
|
595
|
-
q5_1: "q5_1";
|
|
596
|
-
q5_0: "q5_0";
|
|
597
|
-
q4_1: "q4_1";
|
|
593
|
+
f32: "f32";
|
|
598
594
|
q4_0: "q4_0";
|
|
595
|
+
q4_1: "q4_1";
|
|
596
|
+
q5_0: "q5_0";
|
|
597
|
+
q5_1: "q5_1";
|
|
598
|
+
q8_0: "q8_0";
|
|
599
599
|
}>>;
|
|
600
600
|
cacheTypeV: z.ZodOptional<z.ZodEnum<{
|
|
601
|
-
f32: "f32";
|
|
602
601
|
f16: "f16";
|
|
603
|
-
|
|
604
|
-
q5_1: "q5_1";
|
|
605
|
-
q5_0: "q5_0";
|
|
606
|
-
q4_1: "q4_1";
|
|
602
|
+
f32: "f32";
|
|
607
603
|
q4_0: "q4_0";
|
|
604
|
+
q4_1: "q4_1";
|
|
605
|
+
q5_0: "q5_0";
|
|
606
|
+
q5_1: "q5_1";
|
|
607
|
+
q8_0: "q8_0";
|
|
608
608
|
}>>;
|
|
609
609
|
extraArgs: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
610
610
|
autoStart: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -618,12 +618,12 @@ export declare const llmCapability: {
|
|
|
618
618
|
id: z.ZodString;
|
|
619
619
|
name: z.ZodString;
|
|
620
620
|
kind: z.ZodEnum<{
|
|
621
|
-
"openai-compatible": "openai-compatible";
|
|
622
|
-
openai: "openai";
|
|
623
621
|
anthropic: "anthropic";
|
|
622
|
+
"apple-foundation": "apple-foundation";
|
|
624
623
|
google: "google";
|
|
625
624
|
"managed-local": "managed-local";
|
|
626
|
-
|
|
625
|
+
openai: "openai";
|
|
626
|
+
"openai-compatible": "openai-compatible";
|
|
627
627
|
}>;
|
|
628
628
|
addonId: z.ZodString;
|
|
629
629
|
enabled: z.ZodBoolean;
|
|
@@ -681,22 +681,22 @@ export declare const llmCapability: {
|
|
|
681
681
|
mlock: z.ZodDefault<z.ZodBoolean>;
|
|
682
682
|
noMmap: z.ZodDefault<z.ZodBoolean>;
|
|
683
683
|
cacheTypeK: z.ZodOptional<z.ZodEnum<{
|
|
684
|
-
f32: "f32";
|
|
685
684
|
f16: "f16";
|
|
686
|
-
|
|
687
|
-
q5_1: "q5_1";
|
|
688
|
-
q5_0: "q5_0";
|
|
689
|
-
q4_1: "q4_1";
|
|
685
|
+
f32: "f32";
|
|
690
686
|
q4_0: "q4_0";
|
|
687
|
+
q4_1: "q4_1";
|
|
688
|
+
q5_0: "q5_0";
|
|
689
|
+
q5_1: "q5_1";
|
|
690
|
+
q8_0: "q8_0";
|
|
691
691
|
}>>;
|
|
692
692
|
cacheTypeV: z.ZodOptional<z.ZodEnum<{
|
|
693
|
-
f32: "f32";
|
|
694
693
|
f16: "f16";
|
|
695
|
-
|
|
696
|
-
q5_1: "q5_1";
|
|
697
|
-
q5_0: "q5_0";
|
|
698
|
-
q4_1: "q4_1";
|
|
694
|
+
f32: "f32";
|
|
699
695
|
q4_0: "q4_0";
|
|
696
|
+
q4_1: "q4_1";
|
|
697
|
+
q5_0: "q5_0";
|
|
698
|
+
q5_1: "q5_1";
|
|
699
|
+
q8_0: "q8_0";
|
|
700
700
|
}>>;
|
|
701
701
|
extraArgs: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
702
702
|
autoStart: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -726,21 +726,21 @@ export declare const llmCapability: {
|
|
|
726
726
|
}, z.core.$strip>, z.ZodObject<{
|
|
727
727
|
ok: z.ZodLiteral<false>;
|
|
728
728
|
code: z.ZodEnum<{
|
|
729
|
-
|
|
730
|
-
refusal: "refusal";
|
|
729
|
+
"adapter-error": "adapter-error";
|
|
731
730
|
auth: "auth";
|
|
732
|
-
unavailable: "unavailable";
|
|
733
|
-
"rate-limited": "rate-limited";
|
|
734
731
|
"bad-request": "bad-request";
|
|
735
|
-
"no-profile": "no-profile";
|
|
736
732
|
"budget-exceeded": "budget-exceeded";
|
|
737
|
-
"
|
|
733
|
+
"no-profile": "no-profile";
|
|
734
|
+
"rate-limited": "rate-limited";
|
|
735
|
+
refusal: "refusal";
|
|
736
|
+
timeout: "timeout";
|
|
737
|
+
unavailable: "unavailable";
|
|
738
738
|
}>;
|
|
739
739
|
message: z.ZodString;
|
|
740
740
|
retryAfterMs: z.ZodOptional<z.ZodNumber>;
|
|
741
741
|
refusalSource: z.ZodOptional<z.ZodEnum<{
|
|
742
|
-
model: "model";
|
|
743
742
|
guardrail: "guardrail";
|
|
743
|
+
model: "model";
|
|
744
744
|
}>>;
|
|
745
745
|
}, z.core.$strip>], "ok">, "mutation">;
|
|
746
746
|
/** Live vendor enumeration (GET /models etc.). */
|
|
@@ -808,12 +808,12 @@ export declare const llmCapability: {
|
|
|
808
808
|
status: z.ZodOptional<z.ZodObject<{
|
|
809
809
|
nodeId: z.ZodString;
|
|
810
810
|
state: z.ZodEnum<{
|
|
811
|
+
crashed: "crashed";
|
|
812
|
+
downloading: "downloading";
|
|
811
813
|
failed: "failed";
|
|
812
814
|
ready: "ready";
|
|
813
|
-
stopped: "stopped";
|
|
814
815
|
starting: "starting";
|
|
815
|
-
|
|
816
|
-
crashed: "crashed";
|
|
816
|
+
stopped: "stopped";
|
|
817
817
|
}>;
|
|
818
818
|
pid: z.ZodOptional<z.ZodNumber>;
|
|
819
819
|
port: z.ZodOptional<z.ZodNumber>;
|
|
@@ -822,8 +822,8 @@ export declare const llmCapability: {
|
|
|
822
822
|
downloadProgress: z.ZodOptional<z.ZodNumber>;
|
|
823
823
|
download: z.ZodOptional<z.ZodObject<{
|
|
824
824
|
phase: z.ZodEnum<{
|
|
825
|
-
verifying: "verifying";
|
|
826
825
|
downloading: "downloading";
|
|
826
|
+
verifying: "verifying";
|
|
827
827
|
}>;
|
|
828
828
|
file: z.ZodString;
|
|
829
829
|
fileIndex: z.ZodNumber;
|
|
@@ -851,12 +851,12 @@ export declare const llmCapability: {
|
|
|
851
851
|
}, z.core.$strip>, z.ZodObject<{
|
|
852
852
|
state: z.ZodLiteral<"unavailable">;
|
|
853
853
|
reason: z.ZodEnum<{
|
|
854
|
-
deviceNotEligible: "deviceNotEligible";
|
|
855
854
|
appleIntelligenceNotEnabled: "appleIntelligenceNotEnabled";
|
|
855
|
+
deviceNotEligible: "deviceNotEligible";
|
|
856
|
+
helperCrashed: "helperCrashed";
|
|
857
|
+
helperMissing: "helperMissing";
|
|
856
858
|
modelNotReady: "modelNotReady";
|
|
857
859
|
osTooOld: "osTooOld";
|
|
858
|
-
helperMissing: "helperMissing";
|
|
859
|
-
helperCrashed: "helperCrashed";
|
|
860
860
|
}>;
|
|
861
861
|
osVersion: z.ZodNullable<z.ZodString>;
|
|
862
862
|
detail: z.ZodString;
|
|
@@ -958,12 +958,12 @@ export declare const llmCapability: {
|
|
|
958
958
|
}, z.core.$strip>, z.ZodObject<{
|
|
959
959
|
nodeId: z.ZodString;
|
|
960
960
|
state: z.ZodEnum<{
|
|
961
|
+
crashed: "crashed";
|
|
962
|
+
downloading: "downloading";
|
|
961
963
|
failed: "failed";
|
|
962
964
|
ready: "ready";
|
|
963
|
-
stopped: "stopped";
|
|
964
965
|
starting: "starting";
|
|
965
|
-
|
|
966
|
-
crashed: "crashed";
|
|
966
|
+
stopped: "stopped";
|
|
967
967
|
}>;
|
|
968
968
|
pid: z.ZodOptional<z.ZodNumber>;
|
|
969
969
|
port: z.ZodOptional<z.ZodNumber>;
|
|
@@ -972,8 +972,8 @@ export declare const llmCapability: {
|
|
|
972
972
|
downloadProgress: z.ZodOptional<z.ZodNumber>;
|
|
973
973
|
download: z.ZodOptional<z.ZodObject<{
|
|
974
974
|
phase: z.ZodEnum<{
|
|
975
|
-
verifying: "verifying";
|
|
976
975
|
downloading: "downloading";
|
|
976
|
+
verifying: "verifying";
|
|
977
977
|
}>;
|
|
978
978
|
file: z.ZodString;
|
|
979
979
|
fileIndex: z.ZodNumber;
|
|
@@ -992,12 +992,12 @@ export declare const llmCapability: {
|
|
|
992
992
|
}, z.core.$strip>, z.ZodObject<{
|
|
993
993
|
nodeId: z.ZodString;
|
|
994
994
|
state: z.ZodEnum<{
|
|
995
|
+
crashed: "crashed";
|
|
996
|
+
downloading: "downloading";
|
|
995
997
|
failed: "failed";
|
|
996
998
|
ready: "ready";
|
|
997
|
-
stopped: "stopped";
|
|
998
999
|
starting: "starting";
|
|
999
|
-
|
|
1000
|
-
crashed: "crashed";
|
|
1000
|
+
stopped: "stopped";
|
|
1001
1001
|
}>;
|
|
1002
1002
|
pid: z.ZodOptional<z.ZodNumber>;
|
|
1003
1003
|
port: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1006,8 +1006,8 @@ export declare const llmCapability: {
|
|
|
1006
1006
|
downloadProgress: z.ZodOptional<z.ZodNumber>;
|
|
1007
1007
|
download: z.ZodOptional<z.ZodObject<{
|
|
1008
1008
|
phase: z.ZodEnum<{
|
|
1009
|
-
verifying: "verifying";
|
|
1010
1009
|
downloading: "downloading";
|
|
1010
|
+
verifying: "verifying";
|
|
1011
1011
|
}>;
|
|
1012
1012
|
file: z.ZodString;
|
|
1013
1013
|
fileIndex: z.ZodNumber;
|
|
@@ -66,7 +66,7 @@ import { type InferProvider } from './capability-definition.js';
|
|
|
66
66
|
* `detection` is a member on purpose — see the module docblock. It is the one
|
|
67
67
|
* role that reports itself as unattributable.
|
|
68
68
|
*/
|
|
69
|
-
export declare const LOAD_CONTRIBUTION_ROLES: readonly [
|
|
69
|
+
export declare const LOAD_CONTRIBUTION_ROLES: readonly ['decode', 'transcode', 'recording', 'streaming', 'detection'];
|
|
70
70
|
export type LoadContributionRole = (typeof LOAD_CONTRIBUTION_ROLES)[number];
|
|
71
71
|
/**
|
|
72
72
|
* How well the reporting addon can tie this entry to ONE camera. The
|
|
@@ -82,20 +82,20 @@ export type LoadContributionRole = (typeof LOAD_CONTRIBUTION_ROLES)[number];
|
|
|
82
82
|
* `deviceId: null`, so the shared cost is visible as shared instead of
|
|
83
83
|
* invisible.
|
|
84
84
|
*/
|
|
85
|
-
export declare const LOAD_CONTRIBUTION_ATTRIBUTIONS: readonly [
|
|
85
|
+
export declare const LOAD_CONTRIBUTION_ATTRIBUTIONS: readonly ['measured', 'accounted', 'unattributable'];
|
|
86
86
|
export type LoadContributionAttribution = (typeof LOAD_CONTRIBUTION_ATTRIBUTIONS)[number];
|
|
87
87
|
declare const LoadContributionSchema: z.ZodObject<{
|
|
88
88
|
role: z.ZodEnum<{
|
|
89
|
-
|
|
89
|
+
decode: "decode";
|
|
90
90
|
detection: "detection";
|
|
91
|
+
recording: "recording";
|
|
91
92
|
streaming: "streaming";
|
|
92
|
-
decode: "decode";
|
|
93
93
|
transcode: "transcode";
|
|
94
94
|
}>;
|
|
95
95
|
deviceId: z.ZodNullable<z.ZodNumber>;
|
|
96
96
|
attribution: z.ZodEnum<{
|
|
97
|
-
measured: "measured";
|
|
98
97
|
accounted: "accounted";
|
|
98
|
+
measured: "measured";
|
|
99
99
|
unattributable: "unattributable";
|
|
100
100
|
}>;
|
|
101
101
|
unit: z.ZodString;
|
|
@@ -106,9 +106,9 @@ declare const LoadContributionSchema: z.ZodObject<{
|
|
|
106
106
|
}, z.core.$strip>;
|
|
107
107
|
export type LoadContribution = z.infer<typeof LoadContributionSchema>;
|
|
108
108
|
export declare const loadContributionCapability: {
|
|
109
|
-
readonly name:
|
|
110
|
-
readonly scope:
|
|
111
|
-
readonly mode:
|
|
109
|
+
readonly name: 'load-contribution';
|
|
110
|
+
readonly scope: 'system';
|
|
111
|
+
readonly mode: 'collection';
|
|
112
112
|
readonly internal: true;
|
|
113
113
|
readonly methods: {
|
|
114
114
|
/**
|
|
@@ -118,16 +118,16 @@ export declare const loadContributionCapability: {
|
|
|
118
118
|
*/
|
|
119
119
|
readonly list: import("./capability-definition.js").CapabilityMethodSchema<z.ZodVoid, z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
120
120
|
role: z.ZodEnum<{
|
|
121
|
-
|
|
121
|
+
decode: "decode";
|
|
122
122
|
detection: "detection";
|
|
123
|
+
recording: "recording";
|
|
123
124
|
streaming: "streaming";
|
|
124
|
-
decode: "decode";
|
|
125
125
|
transcode: "transcode";
|
|
126
126
|
}>;
|
|
127
127
|
deviceId: z.ZodNullable<z.ZodNumber>;
|
|
128
128
|
attribution: z.ZodEnum<{
|
|
129
|
-
measured: "measured";
|
|
130
129
|
accounted: "accounted";
|
|
130
|
+
measured: "measured";
|
|
131
131
|
unattributable: "unattributable";
|
|
132
132
|
}>;
|
|
133
133
|
unit: z.ZodString;
|
|
@@ -139,7 +139,7 @@ export declare const loadContributionCapability: {
|
|
|
139
139
|
};
|
|
140
140
|
/** In-process only — enumerated through `addons.listCapabilityProviders`. */
|
|
141
141
|
readonly mount: {
|
|
142
|
-
readonly kind:
|
|
142
|
+
readonly kind: 'skip';
|
|
143
143
|
};
|
|
144
144
|
};
|
|
145
145
|
export type ILoadContributionProvider = InferProvider<typeof loadContributionCapability>;
|