@camstack/types 1.2.581 → 1.2.582
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/CHANGELOG.md +6 -0
- package/dist/addon.js +3 -2
- package/dist/addon.mjs +3 -2
- package/dist/capabilities/device-history.cap.d.ts +80 -0
- package/dist/capabilities/index.d.ts +1 -1
- package/dist/capabilities/pipeline-orchestrator.cap.d.ts +111 -0
- package/dist/client.js +3 -1
- package/dist/client.mjs +3 -1
- package/dist/generated/addon-api.d.ts +14 -0
- package/dist/generated/cap-input-defaults.d.ts +1 -1
- package/dist/generated/device-proxy.d.ts +1 -1
- package/dist/generated/method-access-map.d.ts +1 -1
- package/dist/generated/method-device-selectors.d.ts +2 -2
- package/dist/generated/system-proxy.d.ts +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.js +177 -1
- package/dist/index.mjs +167 -2
- package/dist/pipeline/health-digest/schemas.d.ts +236 -0
- package/dist/{sleep-BURDyp_n.js → sleep-Coq9CYAH.js} +2 -1
- package/dist/{sleep-C9EWTQr9.mjs → sleep-DnhxKL99.mjs} +2 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [1.2.582] - 2026-11-16
|
|
11
|
+
|
|
12
|
+
### Changed
|
|
13
|
+
|
|
14
|
+
- pipeline-orchestrator gains getHealthDigest (the latest health digest findings)
|
|
15
|
+
|
|
10
16
|
## [1.2.581] - 2026-11-15
|
|
11
17
|
|
|
12
18
|
### Changed
|
package/dist/addon.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_sleep = require("./sleep-
|
|
2
|
+
const require_sleep = require("./sleep-Coq9CYAH.js");
|
|
3
3
|
const require_event_category = require("./event-category-d9kiqCqC.js");
|
|
4
4
|
const require_composed_stable_id = require("./composed-stable-id-C3NfRTj8.js");
|
|
5
5
|
//#region src/generated/cap-input-defaults.ts
|
|
@@ -16,7 +16,7 @@ const require_composed_stable_id = require("./composed-stable-id-C3NfRTj8.js");
|
|
|
16
16
|
* Plain data, zero Zod: a forked runner must not import the schema barrel
|
|
17
17
|
* (~144MB RSS per runner — D28).
|
|
18
18
|
*
|
|
19
|
-
* Coverage: 35 caps,
|
|
19
|
+
* Coverage: 35 caps, 88 methods with defaults.
|
|
20
20
|
*/
|
|
21
21
|
var CAP_INPUT_DEFAULTS = Object.freeze({
|
|
22
22
|
"addons": { "getLogs": { "limit": 100 } },
|
|
@@ -168,6 +168,7 @@ var CAP_INPUT_DEFAULTS = Object.freeze({
|
|
|
168
168
|
"headroom": .4,
|
|
169
169
|
"minSessionsPerDevice": 2
|
|
170
170
|
},
|
|
171
|
+
"getHealthDigest": { "history": 1 },
|
|
171
172
|
"getNodeBenchmarkPreflight": {
|
|
172
173
|
"phases": ["device", "pipeline"],
|
|
173
174
|
"steps": [],
|
package/dist/addon.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $ as DEVICE_CHILDREN_BATCH_MAX, $n as isZodSecret, $r as recordSecretRef, A as CAP_ADVANCE_FIELDS, Ai as InvalidRecordError, An as PEER_BYTES_CHUNK_BYTES, Bi as TransactRefusedError, Bn as entryBody, Cn as MIN_SCRUBBED_LENGTH, Da as findMigrationsBlocked, Di as DeclarationRefusedError, Dn as registerKnownSecret, Ea as AddonMigrationsBlockedError, Ei as BatchTooLargeError, En as knownSecretCount, Et as createDebugEmitter, F as withoutCallerStamp, Fi as RecordSecretUnavailableError, Fn as CALLER_USERNAME_HEADER, Fr as nodeIdOfScopedKey, G as readNodePin, Gn as RecordKindNameSchema, H as commandOrigin, Hi as UnknownRecordKindError, Hn as RecordFieldPathSchema, I as customAction, Ii as RecordTooLargeError, In as DATAPLANE_SECRET_HEADER, Ir as resolveDeviceSettings, J as PipelineRunResultBridge, Jn as assertValidDeclaration, Jr as collectSecretLeaves, Kn as RecordRetentionSchema, Kr as secretViewsOf, L as defineCustomActions, Li as RecordUniqueViolationError, Lr as resolvedValues, Mi as PlaintextSecretError, Mn as PEER_BYTES_STALL_MS, N as CAP_STATE_LEAVES, Ni as RECORDS_ERROR_CODES, Nn as PEER_BYTES_TICKET_TTL_MS, O as HF_REPO, Oi as FilterRequiredError, On as scrubKnownSecrets, P as CALLER_STAMPED_CAPABILITIES, Pi as RecordNotFoundError, Pr as SCOPED_SETTINGS_SCOPES, Q as deviceOpsCapability, Qn as collectZodSecretPaths, Qr as recordSecretCollection, R as describeCustomActions, Ri as RecordsError, Rn as DisposerChain, Si as parseSecretRef, Sn as createSecretsAccess, T as isCommand, Tn as forgetKnownSecret, U as nodePin, Ui as asRecordsError, Un as RecordIndexSchema, Vi as UnindexedFilterError, Vn as EntryDescriptorSchema, W as readCommandOrigin, Wi as recordsErrorFromMessage, Wn as RecordKindDeclarationSchema, X as MIGRATION_API_VERSION, Xn as defineRecordKinds, Xr as parseSecretPath, Y as PipelineStepInputSchema, Yn as declarationsOf, Yr as mapSecretLeaves, Zr as recordArrayItemPath, _a as makeSecretMarker, _i as buildSecretRef, _n as makeInMemoryRecords, ai as RECORD_DEFAULT_MAX_DATA_BYTES, bi as isSecretRef, bn as resolveSecretViewsIn, c as asString, ci as RECORD_MAX_DATA_BYTES, d as parseJsonUnknown, da as SECRET_CLEAR, di as RECORD_QUERY_MAX, ea as createEvent, ei as secretArrayPrefixes, et as adminUiCapability, f as hfModelUrl, fa as classifySecretWrite, fi as RECORD_SECRET_COLLECTION_PREFIX, g as createDeviceProxy, ga as isSecretMarkerLike, gi as arrayItemFieldPath, gn as ruleFireOfClaim, gr as ErrorI18nPayloadSchema, h as isDeviceScopedCap, ha as isSecretMarker, hi as SECRET_REF_SCHEME, hn as RuleFireOriginSchema, ht as ReadinessTimeoutError, ii as RECORD_DATABASES, j as CAP_METHOD_TIMEOUTS_MS, ji as NoCallerError, jn as PEER_BYTES_MAX_OUTSTANDING, ki as ForeignSecretMarkerError, kn as shortSecretRefHash, li as RECORD_MAX_INDEXES, m as DEVICE_SCOPED_CAPS, ma as isSecretFieldView, mi as RECORD_SWEEP_INTERVAL_MS, mn as CommandOriginClaimSchema, mt as ReadinessRegistry, ni as RECORD_BATCH_MAX_BYTES, nt as addonPagesSourceCapability, o as asJsonObject, oi as RECORD_DELETE_BATCH, p as BOOT_RECOVERY_BACKOFF_MS, pa as isSecretClear, pi as RECORD_SETTINGS_MAX_ROWS, pt as MODEL_FORMATS, q as viewerUiCapability, qn as StoredRecordKindDeclarationSchema, qr as REMOVE_LEAF, r as maskUrlCredentials, ri as RECORD_CLASSES, si as RECORD_ID_MAX_LENGTH, sr as expandCapMethods, t as sleep, ta as emitReadiness, ti as RECORD_BATCH_MAX, ui as RECORD_MAX_INDEX_FIELDS, v as addonSliceHandleApi, va as toSecretFieldView, vi as formatSecretScope, vn as createRecordsAccess, vt as scopeKey, wn as clearKnownSecrets, wr as normalizeAddonInitResult, xi as normalizeSecretOwner, xn as REVALIDATE_AFTER_MS, xr as BaseAddon, y as createEventBusSliceSource, yi as globalSecretScope, yn as assertTransactScope, yr as readErrorI18n, zi as RevConflictError, zn as defineEntryKind } from "./sleep-
|
|
1
|
+
import { $ as DEVICE_CHILDREN_BATCH_MAX, $n as isZodSecret, $r as recordSecretRef, A as CAP_ADVANCE_FIELDS, Ai as InvalidRecordError, An as PEER_BYTES_CHUNK_BYTES, Bi as TransactRefusedError, Bn as entryBody, Cn as MIN_SCRUBBED_LENGTH, Da as findMigrationsBlocked, Di as DeclarationRefusedError, Dn as registerKnownSecret, Ea as AddonMigrationsBlockedError, Ei as BatchTooLargeError, En as knownSecretCount, Et as createDebugEmitter, F as withoutCallerStamp, Fi as RecordSecretUnavailableError, Fn as CALLER_USERNAME_HEADER, Fr as nodeIdOfScopedKey, G as readNodePin, Gn as RecordKindNameSchema, H as commandOrigin, Hi as UnknownRecordKindError, Hn as RecordFieldPathSchema, I as customAction, Ii as RecordTooLargeError, In as DATAPLANE_SECRET_HEADER, Ir as resolveDeviceSettings, J as PipelineRunResultBridge, Jn as assertValidDeclaration, Jr as collectSecretLeaves, Kn as RecordRetentionSchema, Kr as secretViewsOf, L as defineCustomActions, Li as RecordUniqueViolationError, Lr as resolvedValues, Mi as PlaintextSecretError, Mn as PEER_BYTES_STALL_MS, N as CAP_STATE_LEAVES, Ni as RECORDS_ERROR_CODES, Nn as PEER_BYTES_TICKET_TTL_MS, O as HF_REPO, Oi as FilterRequiredError, On as scrubKnownSecrets, P as CALLER_STAMPED_CAPABILITIES, Pi as RecordNotFoundError, Pr as SCOPED_SETTINGS_SCOPES, Q as deviceOpsCapability, Qn as collectZodSecretPaths, Qr as recordSecretCollection, R as describeCustomActions, Ri as RecordsError, Rn as DisposerChain, Si as parseSecretRef, Sn as createSecretsAccess, T as isCommand, Tn as forgetKnownSecret, U as nodePin, Ui as asRecordsError, Un as RecordIndexSchema, Vi as UnindexedFilterError, Vn as EntryDescriptorSchema, W as readCommandOrigin, Wi as recordsErrorFromMessage, Wn as RecordKindDeclarationSchema, X as MIGRATION_API_VERSION, Xn as defineRecordKinds, Xr as parseSecretPath, Y as PipelineStepInputSchema, Yn as declarationsOf, Yr as mapSecretLeaves, Zr as recordArrayItemPath, _a as makeSecretMarker, _i as buildSecretRef, _n as makeInMemoryRecords, ai as RECORD_DEFAULT_MAX_DATA_BYTES, bi as isSecretRef, bn as resolveSecretViewsIn, c as asString, ci as RECORD_MAX_DATA_BYTES, d as parseJsonUnknown, da as SECRET_CLEAR, di as RECORD_QUERY_MAX, ea as createEvent, ei as secretArrayPrefixes, et as adminUiCapability, f as hfModelUrl, fa as classifySecretWrite, fi as RECORD_SECRET_COLLECTION_PREFIX, g as createDeviceProxy, ga as isSecretMarkerLike, gi as arrayItemFieldPath, gn as ruleFireOfClaim, gr as ErrorI18nPayloadSchema, h as isDeviceScopedCap, ha as isSecretMarker, hi as SECRET_REF_SCHEME, hn as RuleFireOriginSchema, ht as ReadinessTimeoutError, ii as RECORD_DATABASES, j as CAP_METHOD_TIMEOUTS_MS, ji as NoCallerError, jn as PEER_BYTES_MAX_OUTSTANDING, ki as ForeignSecretMarkerError, kn as shortSecretRefHash, li as RECORD_MAX_INDEXES, m as DEVICE_SCOPED_CAPS, ma as isSecretFieldView, mi as RECORD_SWEEP_INTERVAL_MS, mn as CommandOriginClaimSchema, mt as ReadinessRegistry, ni as RECORD_BATCH_MAX_BYTES, nt as addonPagesSourceCapability, o as asJsonObject, oi as RECORD_DELETE_BATCH, p as BOOT_RECOVERY_BACKOFF_MS, pa as isSecretClear, pi as RECORD_SETTINGS_MAX_ROWS, pt as MODEL_FORMATS, q as viewerUiCapability, qn as StoredRecordKindDeclarationSchema, qr as REMOVE_LEAF, r as maskUrlCredentials, ri as RECORD_CLASSES, si as RECORD_ID_MAX_LENGTH, sr as expandCapMethods, t as sleep, ta as emitReadiness, ti as RECORD_BATCH_MAX, ui as RECORD_MAX_INDEX_FIELDS, v as addonSliceHandleApi, va as toSecretFieldView, vi as formatSecretScope, vn as createRecordsAccess, vt as scopeKey, wn as clearKnownSecrets, wr as normalizeAddonInitResult, xi as normalizeSecretOwner, xn as REVALIDATE_AFTER_MS, xr as BaseAddon, y as createEventBusSliceSource, yi as globalSecretScope, yn as assertTransactScope, yr as readErrorI18n, zi as RevConflictError, zn as defineEntryKind } from "./sleep-DnhxKL99.mjs";
|
|
2
2
|
import { t as EventCategory } from "./event-category-Dhcd0TRH.mjs";
|
|
3
3
|
import { a as DeviceType, s as errMsg, t as COMPOSED_DEVICE_STABLE_ID_PREFIX } from "./composed-stable-id-RvQIEpqg.mjs";
|
|
4
4
|
//#region src/generated/cap-input-defaults.ts
|
|
@@ -15,7 +15,7 @@ import { a as DeviceType, s as errMsg, t as COMPOSED_DEVICE_STABLE_ID_PREFIX } f
|
|
|
15
15
|
* Plain data, zero Zod: a forked runner must not import the schema barrel
|
|
16
16
|
* (~144MB RSS per runner — D28).
|
|
17
17
|
*
|
|
18
|
-
* Coverage: 35 caps,
|
|
18
|
+
* Coverage: 35 caps, 88 methods with defaults.
|
|
19
19
|
*/
|
|
20
20
|
var CAP_INPUT_DEFAULTS = Object.freeze({
|
|
21
21
|
"addons": { "getLogs": { "limit": 100 } },
|
|
@@ -167,6 +167,7 @@ var CAP_INPUT_DEFAULTS = Object.freeze({
|
|
|
167
167
|
"headroom": .4,
|
|
168
168
|
"minSessionsPerDevice": 2
|
|
169
169
|
},
|
|
170
|
+
"getHealthDigest": { "history": 1 },
|
|
170
171
|
"getNodeBenchmarkPreflight": {
|
|
171
172
|
"phases": ["device", "pipeline"],
|
|
172
173
|
"steps": [],
|
|
@@ -293,6 +293,45 @@ declare const OrphanListSchema: z.ZodObject<{
|
|
|
293
293
|
truncated: z.ZodBoolean;
|
|
294
294
|
}, z.core.$strip>;
|
|
295
295
|
export type DeviceHistoryOrphanList = z.infer<typeof OrphanListSchema>;
|
|
296
|
+
export declare const DeviceHistoryRangeDeleteRefusalSchema: z.ZodEnum<{
|
|
297
|
+
"invalid-range": "invalid-range";
|
|
298
|
+
"not-a-point-series": "not-a-point-series";
|
|
299
|
+
"range-too-large": "range-too-large";
|
|
300
|
+
"series-not-found": "series-not-found";
|
|
301
|
+
}>;
|
|
302
|
+
export type DeviceHistoryRangeDeleteRefusal = z.infer<typeof DeviceHistoryRangeDeleteRefusalSchema>;
|
|
303
|
+
/**
|
|
304
|
+
* What a time-range delete did, or WOULD do (`dryRun`). `rows` is what was
|
|
305
|
+
* removed: raw points inside the range, and the rollup rows covering it (those
|
|
306
|
+
* are removed and rebuilt from what remains, so a gap leaves no stale value).
|
|
307
|
+
* `rewritten` is how many rollup rows were rebuilt from the remaining points;
|
|
308
|
+
* `null` on a dry run, which cannot know before it has deleted.
|
|
309
|
+
*/
|
|
310
|
+
declare const RangeDeleteResultSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
311
|
+
ok: z.ZodLiteral<true>;
|
|
312
|
+
dryRun: z.ZodBoolean;
|
|
313
|
+
seriesId: z.ZodNumber;
|
|
314
|
+
rows: z.ZodObject<{
|
|
315
|
+
raw: z.ZodNumber;
|
|
316
|
+
'5m': z.ZodNumber;
|
|
317
|
+
'1h': z.ZodNumber;
|
|
318
|
+
'1d': z.ZodNumber;
|
|
319
|
+
}, z.core.$strip>;
|
|
320
|
+
rewritten: z.ZodNullable<z.ZodObject<{
|
|
321
|
+
'5m': z.ZodNumber;
|
|
322
|
+
'1h': z.ZodNumber;
|
|
323
|
+
'1d': z.ZodNumber;
|
|
324
|
+
}, z.core.$strip>>;
|
|
325
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
326
|
+
ok: z.ZodLiteral<false>;
|
|
327
|
+
reason: z.ZodEnum<{
|
|
328
|
+
"invalid-range": "invalid-range";
|
|
329
|
+
"not-a-point-series": "not-a-point-series";
|
|
330
|
+
"range-too-large": "range-too-large";
|
|
331
|
+
"series-not-found": "series-not-found";
|
|
332
|
+
}>;
|
|
333
|
+
}, z.core.$strip>], "ok">;
|
|
334
|
+
export type DeviceHistoryRangeDeleteResult = z.infer<typeof RangeDeleteResultSchema>;
|
|
296
335
|
export declare const DeviceHistoryStatusSchema: z.ZodObject<{
|
|
297
336
|
startedAt: z.ZodNumber;
|
|
298
337
|
ready: z.ZodBoolean;
|
|
@@ -778,6 +817,47 @@ export declare const deviceHistoryCapability: {
|
|
|
778
817
|
}>;
|
|
779
818
|
}, z.core.$strip>], "ok">>>;
|
|
780
819
|
}, z.core.$strip>, "mutation">;
|
|
820
|
+
/**
|
|
821
|
+
* Delete the points of ONE device series with a timestamp in
|
|
822
|
+
* `[fromMs, toMs]` (both inclusive, `fromMs < toMs`) — for a spurious
|
|
823
|
+
* reading an operator has judged wrong. The rollup rows covering the
|
|
824
|
+
* range (and the bucket that held the deleted value forward) are removed
|
|
825
|
+
* and rebuilt from the points that remain. `dryRun: true` deletes nothing
|
|
826
|
+
* and returns the counts a real run would remove. Only a series fed by
|
|
827
|
+
* points has a range to delete; a bucket-fed series is refused
|
|
828
|
+
* `not-a-point-series`. `scope` is the series' scope ('' for most).
|
|
829
|
+
*/
|
|
830
|
+
readonly deleteSeriesRange: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
831
|
+
deviceId: z.ZodNumber;
|
|
832
|
+
key: z.ZodString;
|
|
833
|
+
scope: z.ZodString;
|
|
834
|
+
fromMs: z.ZodNumber;
|
|
835
|
+
toMs: z.ZodNumber;
|
|
836
|
+
dryRun: z.ZodBoolean;
|
|
837
|
+
}, z.core.$strip>, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
838
|
+
ok: z.ZodLiteral<true>;
|
|
839
|
+
dryRun: z.ZodBoolean;
|
|
840
|
+
seriesId: z.ZodNumber;
|
|
841
|
+
rows: z.ZodObject<{
|
|
842
|
+
raw: z.ZodNumber;
|
|
843
|
+
'5m': z.ZodNumber;
|
|
844
|
+
'1h': z.ZodNumber;
|
|
845
|
+
'1d': z.ZodNumber;
|
|
846
|
+
}, z.core.$strip>;
|
|
847
|
+
rewritten: z.ZodNullable<z.ZodObject<{
|
|
848
|
+
'5m': z.ZodNumber;
|
|
849
|
+
'1h': z.ZodNumber;
|
|
850
|
+
'1d': z.ZodNumber;
|
|
851
|
+
}, z.core.$strip>>;
|
|
852
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
853
|
+
ok: z.ZodLiteral<false>;
|
|
854
|
+
reason: z.ZodEnum<{
|
|
855
|
+
"invalid-range": "invalid-range";
|
|
856
|
+
"not-a-point-series": "not-a-point-series";
|
|
857
|
+
"range-too-large": "range-too-large";
|
|
858
|
+
"series-not-found": "series-not-found";
|
|
859
|
+
}>;
|
|
860
|
+
}, z.core.$strip>], "ok">, "mutation">;
|
|
781
861
|
};
|
|
782
862
|
readonly vocabulary: {
|
|
783
863
|
readonly notOperatorFacing: 'recorded history of device state — read by charts, not actuated';
|
|
@@ -51,7 +51,7 @@ export { type IStorageAdminProvider, type StaleDataReport, StaleDataReportSchema
|
|
|
51
51
|
export { type DeclareKindResult, DeclareKindResultSchema, type IRecordsProvider, type RecordInput, RecordInputSchema, type RecordQueryInput, RecordQueryInputSchema, type RecordQueryResult, RecordQueryResultSchema, type RecordView, RecordViewSchema, type RecordWhere, RecordWhereSchema, type RecordWhereValue, RecordIdSchema, RecordBodySchema, RecordSecretRefsSchema, type RecordTransactOp, RecordTransactOpSchema, recordsCapability, } from './records.cap.js';
|
|
52
52
|
export { type EntryKindInfo, EntryKindInfoSchema, type EntryView, EntryViewSchema, type IRecordEntriesProvider, recordEntriesCapability, } from './record-entries.cap.js';
|
|
53
53
|
export { type IKeychainProvider, KEYCHAIN_MAX_REFS_PER_CALL, type KeychainResolveEntry, KeychainResolveEntrySchema, type KeychainResolveResult, KeychainResolveResultSchema, type KeychainSecretMeta, KeychainSecretMetaSchema, type KeychainState, KeychainStateSchema, type KeychainUnavailableReason, KeychainUnavailableReasonSchema, keychainCapability, } from './keychain.cap.js';
|
|
54
|
-
export { DEVICE_HISTORY_ENERGY_KEY, DEVICE_HISTORY_QUERY_MANY_MAX_ITEMS, DEVICE_HISTORY_ORPHAN_DELETE_MAX, DEVICE_HISTORY_ORPHAN_LIST_MAX, type DeviceHistoryOrphanDeleteEntry, DeviceHistoryOrphanDeleteRefusalSchema, type DeviceHistoryOrphanList, type DeviceHistoryOrphanReason, DeviceHistoryOrphanReasonSchema, type DeviceHistoryOrphanSeries, type DeviceHistoryTierRows, type DeviceHistoryStatus, DeviceHistoryStatusSchema, type DeviceHistoryIngestResult, type DeviceHistoryKind, DeviceHistoryKindSchema, type DeviceHistoryProducerKind, DeviceHistoryProducerKindSchema, type DeviceHistoryQueryManyEntry, type DeviceHistoryQueryManyItem, type DeviceHistoryQueryResult, type DeviceHistoryQueryPoint, type DeviceHistoryRefusalReason, DeviceHistoryRefusalReasonSchema, type DeviceHistoryResolution, DeviceHistoryResolutionSchema, type DeviceHistorySeriesInfo, type DeviceHistorySubject, DeviceHistorySubjectSchema, type IDeviceHistoryProvider, deviceHistoryCapability, } from './device-history.cap.js';
|
|
54
|
+
export { DEVICE_HISTORY_ENERGY_KEY, DEVICE_HISTORY_QUERY_MANY_MAX_ITEMS, DEVICE_HISTORY_ORPHAN_DELETE_MAX, DEVICE_HISTORY_ORPHAN_LIST_MAX, type DeviceHistoryOrphanDeleteEntry, DeviceHistoryOrphanDeleteRefusalSchema, type DeviceHistoryOrphanList, type DeviceHistoryOrphanReason, DeviceHistoryOrphanReasonSchema, type DeviceHistoryOrphanSeries, type DeviceHistoryTierRows, type DeviceHistoryStatus, DeviceHistoryStatusSchema, type DeviceHistoryIngestResult, type DeviceHistoryRangeDeleteRefusal, DeviceHistoryRangeDeleteRefusalSchema, type DeviceHistoryRangeDeleteResult, type DeviceHistoryKind, DeviceHistoryKindSchema, type DeviceHistoryProducerKind, DeviceHistoryProducerKindSchema, type DeviceHistoryQueryManyEntry, type DeviceHistoryQueryManyItem, type DeviceHistoryQueryResult, type DeviceHistoryQueryPoint, type DeviceHistoryRefusalReason, DeviceHistoryRefusalReasonSchema, type DeviceHistoryResolution, DeviceHistoryResolutionSchema, type DeviceHistorySeriesInfo, type DeviceHistorySubject, DeviceHistorySubjectSchema, type IDeviceHistoryProvider, deviceHistoryCapability, } from './device-history.cap.js';
|
|
55
55
|
export { type ApplianceRunDetail, ApplianceRunDetailSchema, DEVICE_RUNS_MAX_PAGE, type DeviceRun, type DeviceRunDetail, DeviceRunDetailSchema, type DeviceRunEnergyMethod, DeviceRunEnergyMethodSchema, type DeviceRunKind, DeviceRunKindSchema, type DeviceRunOutcome, DeviceRunOutcomeSchema, type DeviceRunPhase, DeviceRunPhaseSchema, DeviceRunSchema, type DeviceRunSource, DeviceRunSourceSchema, type DeviceRunState, DeviceRunStateSchema, type IDeviceRunsProvider, deviceRunsCapability, } from './device-runs.cap.js';
|
|
56
56
|
export { DEVICE_TRANSITIONS_MAX_PAGE, DEVICE_TRANSITIONS_RECORD_BATCH_MAX, deviceTransitionsCapability, type IDeviceTransitionsProvider, type TransitionRecordResult, TransitionRecordResultSchema, type TransitionRefusalReason, TransitionRefusalReasonSchema, type TransitionsStatus, TransitionsStatusSchema, } from './device-transitions.cap.js';
|
|
57
57
|
export { type DoNotDisturbStatus, DoNotDisturbStatusSchema, doNotDisturbCapability, type IDoNotDisturbProvider, } from './do-not-disturb.cap.js';
|
|
@@ -1870,6 +1870,117 @@ export declare const pipelineOrchestratorCapability: {
|
|
|
1870
1870
|
}>;
|
|
1871
1871
|
}, z.core.$strip>>>;
|
|
1872
1872
|
}, z.core.$strip>, import("./capability-definition.js").CapabilityMethodKind>;
|
|
1873
|
+
/**
|
|
1874
|
+
* Health digest (planning#572) — findings an operator can act on, built
|
|
1875
|
+
* every 5 minutes from state the orchestrator already holds in memory
|
|
1876
|
+
* (no log scan, no database read): motion that never becomes a detection,
|
|
1877
|
+
* candidates all under the class floor, inference slower than the fps it
|
|
1878
|
+
* must allow, shed frames, unusable inference devices. `latest` is null
|
|
1879
|
+
* until the first tick; `previous` holds older digests when `history` > 1.
|
|
1880
|
+
* In memory on the hub — a restart starts empty.
|
|
1881
|
+
*/
|
|
1882
|
+
readonly getHealthDigest: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
1883
|
+
history: z.ZodDefault<z.ZodNumber>;
|
|
1884
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1885
|
+
latest: z.ZodNullable<z.ZodObject<{
|
|
1886
|
+
generatedAt: z.ZodNumber;
|
|
1887
|
+
tickMs: z.ZodNumber;
|
|
1888
|
+
camerasSeen: z.ZodNullable<z.ZodNumber>;
|
|
1889
|
+
findings: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
1890
|
+
id: z.ZodString;
|
|
1891
|
+
kind: z.ZodEnum<{
|
|
1892
|
+
"detections-under-floor": "detections-under-floor";
|
|
1893
|
+
"frames-shed": "frames-shed";
|
|
1894
|
+
"inference-device-unusable": "inference-device-unusable";
|
|
1895
|
+
"inference-too-slow": "inference-too-slow";
|
|
1896
|
+
"motion-without-detections": "motion-without-detections";
|
|
1897
|
+
}>;
|
|
1898
|
+
severity: z.ZodEnum<{
|
|
1899
|
+
critical: "critical";
|
|
1900
|
+
info: "info";
|
|
1901
|
+
warning: "warning";
|
|
1902
|
+
}>;
|
|
1903
|
+
subject: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1904
|
+
type: z.ZodLiteral<"camera">;
|
|
1905
|
+
deviceId: z.ZodNumber;
|
|
1906
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1907
|
+
type: z.ZodLiteral<"node">;
|
|
1908
|
+
nodeId: z.ZodString;
|
|
1909
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1910
|
+
type: z.ZodLiteral<"inference-device">;
|
|
1911
|
+
nodeId: z.ZodString;
|
|
1912
|
+
deviceKey: z.ZodString;
|
|
1913
|
+
}, z.core.$strip>], "type">;
|
|
1914
|
+
what: z.ZodString;
|
|
1915
|
+
evidence: z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodNumber>>;
|
|
1916
|
+
action: z.ZodString;
|
|
1917
|
+
}, z.core.$strip>>>;
|
|
1918
|
+
nodes: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
1919
|
+
nodeId: z.ZodString;
|
|
1920
|
+
sessionsNow: z.ZodNumber;
|
|
1921
|
+
unusableDevices: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
1922
|
+
devices: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
1923
|
+
deviceKey: z.ZodString;
|
|
1924
|
+
sessionsNow: z.ZodNumber;
|
|
1925
|
+
usable: z.ZodBoolean;
|
|
1926
|
+
}, z.core.$strip>>>;
|
|
1927
|
+
}, z.core.$strip>>>;
|
|
1928
|
+
sources: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
1929
|
+
source: z.ZodString;
|
|
1930
|
+
entries: z.ZodNullable<z.ZodNumber>;
|
|
1931
|
+
}, z.core.$strip>>>;
|
|
1932
|
+
notCovered: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
1933
|
+
}, z.core.$strip>>;
|
|
1934
|
+
previous: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
1935
|
+
generatedAt: z.ZodNumber;
|
|
1936
|
+
tickMs: z.ZodNumber;
|
|
1937
|
+
camerasSeen: z.ZodNullable<z.ZodNumber>;
|
|
1938
|
+
findings: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
1939
|
+
id: z.ZodString;
|
|
1940
|
+
kind: z.ZodEnum<{
|
|
1941
|
+
"detections-under-floor": "detections-under-floor";
|
|
1942
|
+
"frames-shed": "frames-shed";
|
|
1943
|
+
"inference-device-unusable": "inference-device-unusable";
|
|
1944
|
+
"inference-too-slow": "inference-too-slow";
|
|
1945
|
+
"motion-without-detections": "motion-without-detections";
|
|
1946
|
+
}>;
|
|
1947
|
+
severity: z.ZodEnum<{
|
|
1948
|
+
critical: "critical";
|
|
1949
|
+
info: "info";
|
|
1950
|
+
warning: "warning";
|
|
1951
|
+
}>;
|
|
1952
|
+
subject: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1953
|
+
type: z.ZodLiteral<"camera">;
|
|
1954
|
+
deviceId: z.ZodNumber;
|
|
1955
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1956
|
+
type: z.ZodLiteral<"node">;
|
|
1957
|
+
nodeId: z.ZodString;
|
|
1958
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1959
|
+
type: z.ZodLiteral<"inference-device">;
|
|
1960
|
+
nodeId: z.ZodString;
|
|
1961
|
+
deviceKey: z.ZodString;
|
|
1962
|
+
}, z.core.$strip>], "type">;
|
|
1963
|
+
what: z.ZodString;
|
|
1964
|
+
evidence: z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodNumber>>;
|
|
1965
|
+
action: z.ZodString;
|
|
1966
|
+
}, z.core.$strip>>>;
|
|
1967
|
+
nodes: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
1968
|
+
nodeId: z.ZodString;
|
|
1969
|
+
sessionsNow: z.ZodNumber;
|
|
1970
|
+
unusableDevices: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
1971
|
+
devices: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
1972
|
+
deviceKey: z.ZodString;
|
|
1973
|
+
sessionsNow: z.ZodNumber;
|
|
1974
|
+
usable: z.ZodBoolean;
|
|
1975
|
+
}, z.core.$strip>>>;
|
|
1976
|
+
}, z.core.$strip>>>;
|
|
1977
|
+
sources: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
1978
|
+
source: z.ZodString;
|
|
1979
|
+
entries: z.ZodNullable<z.ZodNumber>;
|
|
1980
|
+
}, z.core.$strip>>>;
|
|
1981
|
+
notCovered: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
1982
|
+
}, z.core.$strip>>>;
|
|
1983
|
+
}, z.core.$strip>, import("./capability-definition.js").CapabilityMethodKind>;
|
|
1873
1984
|
/**
|
|
1874
1985
|
* Load balancing (D748, D755) — shares proportional to each node's
|
|
1875
1986
|
* capacity in parallel sessions: from the latency table at the models
|
package/dist/client.js
CHANGED
|
@@ -28146,7 +28146,8 @@ function createDeviceProxy(api, binding, opts) {
|
|
|
28146
28146
|
listSeries: (input) => dispatchSystem("deviceHistory", "listSeries", "query", input),
|
|
28147
28147
|
query: (input) => dispatchSystem("deviceHistory", "query", "query", input),
|
|
28148
28148
|
getDeviceEnabled: (input) => dispatchSystem("deviceHistory", "getDeviceEnabled", "query", input),
|
|
28149
|
-
setDeviceEnabled: (input) => dispatchSystem("deviceHistory", "setDeviceEnabled", "mutation", input)
|
|
28149
|
+
setDeviceEnabled: (input) => dispatchSystem("deviceHistory", "setDeviceEnabled", "mutation", input),
|
|
28150
|
+
deleteSeriesRange: (input) => dispatchSystem("deviceHistory", "deleteSeriesRange", "mutation", input)
|
|
28150
28151
|
};
|
|
28151
28152
|
const deviceManagerInterface = {
|
|
28152
28153
|
loadConfig: (input) => dispatchSystem("deviceManager", "loadConfig", "query", input),
|
|
@@ -29750,6 +29751,7 @@ function createSystemProxy(api) {
|
|
|
29750
29751
|
applyAutoTune: (input) => dispatch("pipelineOrchestrator", "applyAutoTune", "mutation", input),
|
|
29751
29752
|
setLoadBalancingShares: (input) => dispatch("pipelineOrchestrator", "setLoadBalancingShares", "mutation", input),
|
|
29752
29753
|
getPlacementStats: (input) => dispatch("pipelineOrchestrator", "getPlacementStats", "query", input),
|
|
29754
|
+
getHealthDigest: (input) => dispatch("pipelineOrchestrator", "getHealthDigest", "query", input),
|
|
29753
29755
|
suggestShares: (input) => dispatch("pipelineOrchestrator", "suggestShares", "query", input),
|
|
29754
29756
|
getEffectiveShares: (input) => dispatch("pipelineOrchestrator", "getEffectiveShares", "query", input),
|
|
29755
29757
|
setShareSource: (input) => dispatch("pipelineOrchestrator", "setShareSource", "mutation", input),
|
package/dist/client.mjs
CHANGED
|
@@ -28145,7 +28145,8 @@ function createDeviceProxy(api, binding, opts) {
|
|
|
28145
28145
|
listSeries: (input) => dispatchSystem("deviceHistory", "listSeries", "query", input),
|
|
28146
28146
|
query: (input) => dispatchSystem("deviceHistory", "query", "query", input),
|
|
28147
28147
|
getDeviceEnabled: (input) => dispatchSystem("deviceHistory", "getDeviceEnabled", "query", input),
|
|
28148
|
-
setDeviceEnabled: (input) => dispatchSystem("deviceHistory", "setDeviceEnabled", "mutation", input)
|
|
28148
|
+
setDeviceEnabled: (input) => dispatchSystem("deviceHistory", "setDeviceEnabled", "mutation", input),
|
|
28149
|
+
deleteSeriesRange: (input) => dispatchSystem("deviceHistory", "deleteSeriesRange", "mutation", input)
|
|
28149
28150
|
};
|
|
28150
28151
|
const deviceManagerInterface = {
|
|
28151
28152
|
loadConfig: (input) => dispatchSystem("deviceManager", "loadConfig", "query", input),
|
|
@@ -29749,6 +29750,7 @@ function createSystemProxy(api) {
|
|
|
29749
29750
|
applyAutoTune: (input) => dispatch("pipelineOrchestrator", "applyAutoTune", "mutation", input),
|
|
29750
29751
|
setLoadBalancingShares: (input) => dispatch("pipelineOrchestrator", "setLoadBalancingShares", "mutation", input),
|
|
29751
29752
|
getPlacementStats: (input) => dispatch("pipelineOrchestrator", "getPlacementStats", "query", input),
|
|
29753
|
+
getHealthDigest: (input) => dispatch("pipelineOrchestrator", "getHealthDigest", "query", input),
|
|
29752
29754
|
suggestShares: (input) => dispatch("pipelineOrchestrator", "suggestShares", "query", input),
|
|
29753
29755
|
getEffectiveShares: (input) => dispatch("pipelineOrchestrator", "getEffectiveShares", "query", input),
|
|
29754
29756
|
setShareSource: (input) => dispatch("pipelineOrchestrator", "setShareSource", "mutation", input),
|
|
@@ -2622,6 +2622,13 @@ export type AppRouter = TrpcCoreRouter<{
|
|
|
2622
2622
|
output: z.infer<typeof deviceHistoryCapability.methods.deleteOrphanSeries.output>;
|
|
2623
2623
|
meta: object;
|
|
2624
2624
|
}>;
|
|
2625
|
+
deleteSeriesRange: TRPCMutationProcedure<{
|
|
2626
|
+
input: {
|
|
2627
|
+
[x: string]: unknown;
|
|
2628
|
+
} & z.input<typeof deviceHistoryCapability.methods.deleteSeriesRange.input>;
|
|
2629
|
+
output: z.infer<typeof deviceHistoryCapability.methods.deleteSeriesRange.output>;
|
|
2630
|
+
meta: object;
|
|
2631
|
+
}>;
|
|
2625
2632
|
}>>;
|
|
2626
2633
|
deviceManager: TRPCBuiltRouter<{
|
|
2627
2634
|
ctx: TrpcContext;
|
|
@@ -8039,6 +8046,13 @@ export type AppRouter = TrpcCoreRouter<{
|
|
|
8039
8046
|
output: z.infer<typeof pipelineOrchestratorCapability.methods.getPlacementStats.output>;
|
|
8040
8047
|
meta: object;
|
|
8041
8048
|
}>;
|
|
8049
|
+
getHealthDigest: TRPCQueryProcedure<{
|
|
8050
|
+
input: {
|
|
8051
|
+
[x: string]: unknown;
|
|
8052
|
+
} & z.input<typeof pipelineOrchestratorCapability.methods.getHealthDigest.input>;
|
|
8053
|
+
output: z.infer<typeof pipelineOrchestratorCapability.methods.getHealthDigest.output>;
|
|
8054
|
+
meta: object;
|
|
8055
|
+
}>;
|
|
8042
8056
|
suggestShares: TRPCQueryProcedure<{
|
|
8043
8057
|
input: {
|
|
8044
8058
|
[x: string]: unknown;
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
* Plain data, zero Zod: a forked runner must not import the schema barrel
|
|
12
12
|
* (~144MB RSS per runner — D28).
|
|
13
13
|
*
|
|
14
|
-
* Coverage: 35 caps,
|
|
14
|
+
* Coverage: 35 caps, 88 methods with defaults.
|
|
15
15
|
*/
|
|
16
16
|
export declare const CAP_INPUT_DEFAULTS: Readonly<Record<string, Readonly<Record<string, Readonly<Record<string, unknown>>>>>>;
|
|
17
17
|
/**
|
|
@@ -352,7 +352,7 @@ export interface DeviceProxy {
|
|
|
352
352
|
readonly coreBlocks: Pick<InferDeviceProxyCap<typeof coreBlocksCapability>, 'proposeRunningThreshold'>;
|
|
353
353
|
readonly deviceAdoption: Pick<InferDeviceProxyCap<typeof deviceAdoptionCapability>, 'getStatus'>;
|
|
354
354
|
readonly deviceExport: Pick<InferDeviceProxyCap<typeof deviceExportCapability>, 'getDeviceSettingsContribution' | 'getDeviceLiveContribution' | 'applyDeviceSettingsPatch'>;
|
|
355
|
-
readonly deviceHistory: Pick<InferDeviceProxyCap<typeof deviceHistoryCapability>, 'listSeries' | 'query' | 'getDeviceEnabled' | 'setDeviceEnabled'>;
|
|
355
|
+
readonly deviceHistory: Pick<InferDeviceProxyCap<typeof deviceHistoryCapability>, 'listSeries' | 'query' | 'getDeviceEnabled' | 'setDeviceEnabled' | 'deleteSeriesRange'>;
|
|
356
356
|
readonly deviceManager: Pick<InferDeviceProxyCap<typeof deviceManagerCapability>, 'loadConfig' | 'loadRuntimeState' | 'loadMeta' | 'setName' | 'setAlias' | 'setLocation' | 'setTags' | 'setType' | 'setIntegrationId' | 'setLinkDeviceId' | 'setPrimaryChildEntityId' | 'setChildLayout' | 'setPrimaryChildPreference' | 'setDisplay' | 'getWireableFields' | 'setRole' | 'applyInitialMeta' | 'setMetadata' | 'setDisabled' | 'getDevice' | 'getLinkedDevices' | 'getStreamSources' | 'getConfigSchema' | 'getSettingsSchema' | 'updateConfig' | 'enable' | 'disable' | 'remove' | 'getStreamProfileMap' | 'setStreamProfileMap' | 'probeStreams' | 'getBindings' | 'setWrapperActive' | 'getWrapperActivation' | 'getDeviceSettingsAggregate' | 'getDeviceLiveInfoAggregate' | 'getDeviceAggregate' | 'runDeviceAction' | 'updateDeviceField' | 'updateDeviceFieldsBatch' | 'testField' | 'getDeviceStatusAggregate'>;
|
|
357
357
|
readonly deviceState: Pick<InferDeviceProxyCap<typeof deviceStateCapability>, 'getSnapshot' | 'getCapSlice' | 'setCapSlice' | 'claimFields' | 'patchOwnedFields' | 'releaseClaim' | 'getNativeCapSlice'>;
|
|
358
358
|
readonly faceGallery: Pick<InferDeviceProxyCap<typeof faceGalleryCapability>, 'listRecentFaces' | 'getFaceByTrack'>;
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* scope+access check inside `protectedProcedure` (see
|
|
7
7
|
* `server/backend/src/api/trpc/trpc.middleware.ts`).
|
|
8
8
|
*
|
|
9
|
-
* Coverage:
|
|
9
|
+
* Coverage: 1503 method paths across 209 capabilities.
|
|
10
10
|
*/
|
|
11
11
|
import type { MethodRole } from '../auth/viewer-access.js';
|
|
12
12
|
import type { CapabilityMethodAccess } from '../capabilities/capability-definition.js';
|
|
@@ -6,8 +6,8 @@
|
|
|
6
6
|
* system-scope cap that takes a deviceId was previously never device-filtered
|
|
7
7
|
* — see the generator header).
|
|
8
8
|
*
|
|
9
|
-
* Coverage:
|
|
10
|
-
*
|
|
9
|
+
* Coverage: 625 methods carry a device reference, of which
|
|
10
|
+
* 198 are on SYSTEM-scope caps.
|
|
11
11
|
*
|
|
12
12
|
* Top-level fields, number arrays, and one-level arrays of objects carrying
|
|
13
13
|
* a numeric device field (targets[].deviceId) are all mapped; the matcher
|
|
@@ -116,7 +116,7 @@ export interface SystemProxy {
|
|
|
116
116
|
readonly notificationRules: Pick<InferProvider<typeof notificationRulesCapability>, 'listRules' | 'getRule' | 'createRule' | 'updateRule' | 'deleteRule' | 'setRuleEnabled' | 'getClipRetentionAsks' | 'listDeviceMutes' | 'testRule' | 'previewStateSummary' | 'getConditionCatalog' | 'getTemplateCatalog' | 'previewTemplate' | 'getHistory' | 'getRuleLastRuns' | 'resolveArtifactUrl' | 'listSnoozes' | 'createSnooze' | 'cancelSnooze' | 'getAlarmConfig' | 'setAlarmConfig' | 'createAlarmProfile' | 'renameAlarmProfile' | 'deleteAlarmProfile' | 'activateAlarmProfile' | 'getAlarmSensors'>;
|
|
117
117
|
readonly osdManager: Pick<InferProvider<typeof osdManagerCapability>, 'getConditionSupport' | 'copyDeviceConfiguration' | 'listTemplates' | 'upsertTemplate' | 'deleteTemplate'>;
|
|
118
118
|
readonly pipelineExecutor: Pick<InferProvider<typeof pipelineExecutorCapability>, 'getAvailableEngines' | 'getSelectedEngine' | 'getEngineProvisioning' | 'getVideoPipelineSteps' | 'setVideoPipelineSteps' | 'getInferenceDeviceHealth' | 'rearmInferenceDevice' | 'getSchema' | 'getOrchestratorConfigSchema' | 'validatePipeline' | 'getCapabilities' | 'getAddonModels' | 'downloadModel' | 'deleteModel' | 'cacheFrameInPool' | 'inferCached' | 'uncacheFrame' | 'getEffectiveTuning' | 'listLoadedEngines' | 'spinEngine' | 'killEngine' | 'listReferenceImages' | 'getReferenceImage' | 'getReferenceAudioFiles' | 'getReferenceAudio' | 'getAudioCapabilities' | 'runAudioTest' | 'getDetectionConfigSchema'>;
|
|
119
|
-
readonly pipelineOrchestrator: Pick<InferProvider<typeof pipelineOrchestratorCapability>, 'requestOccupancyLook' | 'pauseForStorageMigration' | 'resumeForStorageMigration' | 'rebalance' | 'getPipelineAssignments' | 'getAgentLoad' | 'getClusterModelChoice' | 'getGlobalMetrics' | 'getCapabilityBindings' | 'setCapabilityBinding' | 'getIngestOwner' | 'getAudioNodeLoad' | 'getAudioAssignments' | 'getAgentSettings' | 'listAgentSettings' | 'removeAgentSettings' | 'setAgentMaxCameras' | 'setAgentCapabilities' | 'setAgentDecodeLimits' | 'setAgentReachableHost' | 'setAgentInferenceDevices' | 'setNodeStepSettings' | 'getNodeInferenceDevices' | 'forgetInferenceDevice' | 'resetNodePipelineDefaults' | 'planAutoTune' | 'applyAutoTune' | 'setLoadBalancingShares' | 'getPlacementStats' | 'suggestShares' | 'getEffectiveShares' | 'setShareSource' | 'getNodeBenchmarkPreflight' | 'startNodeBenchmark' | 'getNodeBenchmarkStatus' | 'abortNodeBenchmark' | 'getNodeBenchmarkCandidates' | 'listNodeBenchmarkResults' | 'deleteNodeBenchmarkResult' | 'getCameraStatuses' | 'setCameraSensors' | 'reconcileFromDisk' | 'getReconcileFromDiskStatus'>;
|
|
119
|
+
readonly pipelineOrchestrator: Pick<InferProvider<typeof pipelineOrchestratorCapability>, 'requestOccupancyLook' | 'pauseForStorageMigration' | 'resumeForStorageMigration' | 'rebalance' | 'getPipelineAssignments' | 'getAgentLoad' | 'getClusterModelChoice' | 'getGlobalMetrics' | 'getCapabilityBindings' | 'setCapabilityBinding' | 'getIngestOwner' | 'getAudioNodeLoad' | 'getAudioAssignments' | 'getAgentSettings' | 'listAgentSettings' | 'removeAgentSettings' | 'setAgentMaxCameras' | 'setAgentCapabilities' | 'setAgentDecodeLimits' | 'setAgentReachableHost' | 'setAgentInferenceDevices' | 'setNodeStepSettings' | 'getNodeInferenceDevices' | 'forgetInferenceDevice' | 'resetNodePipelineDefaults' | 'planAutoTune' | 'applyAutoTune' | 'setLoadBalancingShares' | 'getPlacementStats' | 'getHealthDigest' | 'suggestShares' | 'getEffectiveShares' | 'setShareSource' | 'getNodeBenchmarkPreflight' | 'startNodeBenchmark' | 'getNodeBenchmarkStatus' | 'abortNodeBenchmark' | 'getNodeBenchmarkCandidates' | 'listNodeBenchmarkResults' | 'deleteNodeBenchmarkResult' | 'getCameraStatuses' | 'setCameraSensors' | 'reconcileFromDisk' | 'getReconcileFromDiskStatus'>;
|
|
120
120
|
readonly pipelineRunner: Pick<InferProvider<typeof pipelineRunnerCapability>, 'attachCamera' | 'reportMotion' | 'getLocalLoad' | 'getLocalMetrics' | 'getAllCameraMetrics' | 'getLocalCameras' | 'getNativeCrop' | 'runStatelessStep' | 'startNodeBench' | 'getNodeBenchStatus' | 'abortNodeBench'>;
|
|
121
121
|
readonly plateGallery: Pick<InferProvider<typeof plateGalleryCapability>, 'getPlateMedia' | 'searchPlates' | 'suggestPlateClusters' | 'correctPlateText' | 'deletePlate' | 'listVehicles' | 'createVehicle' | 'renameVehicle' | 'deleteVehicle' | 'listVehicleSamples' | 'removeVehicleSample' | 'moveVehicleSample' | 'assignPlate' | 'unassignPlate' | 'assignPlates' | 'unassignPlates'>;
|
|
122
122
|
readonly platformProbe: Pick<InferProvider<typeof platformProbeCapability>, 'getCapabilities' | 'getHardware' | 'resolveInferenceConfig' | 'resolveHwAccel' | 'rescanAccelerators'>;
|
package/dist/index.d.ts
CHANGED
|
@@ -418,6 +418,7 @@ export { applyModelBoundSettings, clearModelBoundOverrides, clearModelBoundSetti
|
|
|
418
418
|
export { diffStepSettings, effectiveStepSettings, fieldsPinnedAtValueBelow, fieldUnitKeys, mergeSettingsBags, settingsBelow, settingValuesEqual, type StepSettingSource, type StepSettingsBag, type StepSettingsLayers, stepSettingSource, withFieldFrom, withoutField, } from './pipeline/step-settings-layers.js';
|
|
419
419
|
export * from './pipeline/auto-tune/index.js';
|
|
420
420
|
export * from './pipeline/load-balancing/index.js';
|
|
421
|
+
export * from './pipeline/health-digest/schemas.js';
|
|
421
422
|
export * from './pipeline/node-benchmark/index.js';
|
|
422
423
|
export * from './pipeline/second-pass/index.js';
|
|
423
424
|
export { deriveRootFaceRefineRect, ROOT_FACE_REFINE_INPUT_PX, ROOT_FACE_REFINE_SCALE, } from './pipeline/root-face-crop.js';
|