@camstack/addon-pipeline 1.2.604 → 1.2.606
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-analyzer/index.js +3 -3
- package/dist/audio-analyzer/index.mjs +3 -3
- package/dist/{custom-model-catalog-BmQ6g825.js → custom-model-catalog-C0iqe95s.js} +2 -2
- package/dist/{custom-model-catalog-BWxCwQ1L.mjs → custom-model-catalog-DHRYJ8gg.mjs} +2 -2
- package/dist/detection-pipeline/index.js +4 -4
- package/dist/detection-pipeline/index.mjs +4 -4
- package/dist/{dist-BZ34hSbo.mjs → dist-DfLtNHaL.mjs} +419 -124
- package/dist/{dist-DGzDqaBO.js → dist-PmCvE63K.js} +419 -124
- package/dist/{model-catalogs-EjFqjUfh.mjs → model-catalogs-Bt-V_vgh.mjs} +1 -1
- package/dist/{model-catalogs-BZ7wE3tk.js → model-catalogs-CVq3QMHq.js} +1 -1
- package/dist/motion-wasm/index.js +1 -1
- package/dist/motion-wasm/index.mjs +1 -1
- package/dist/{node-CJPdIMAm.mjs → node-BYIY09HD.mjs} +1 -1
- package/dist/{node-CVbPzQN2.js → node-D_-1oz36.js} +1 -1
- package/dist/pipeline-runner/index.js +3 -3
- package/dist/pipeline-runner/index.mjs +3 -3
- package/dist/{process-memory-C8-aiceH.js → process-memory-CZdWXAgA.js} +1 -1
- package/dist/{process-memory-BPqkGyDA.mjs → process-memory-DivoZCn9.mjs} +1 -1
- package/dist/recorder/index.js +24 -14
- package/dist/recorder/index.mjs +24 -14
- package/dist/{segment-demux-js-CxA4wyuM.mjs → segment-demux-js-COgPamTd.mjs} +1 -1
- package/dist/{segment-demux-js-z3asNjJ8.js → segment-demux-js-CyvSyRQL.js} +1 -1
- package/dist/stream-broker/_stub.js +2 -2
- package/dist/stream-broker/{_virtual_mf-localSharedImportMap___mfe_internal__addon_stream_broker_widgets-D28YdqZf.mjs → _virtual_mf-localSharedImportMap___mfe_internal__addon_stream_broker_widgets-CaAWIXhV.mjs} +3 -3
- package/dist/stream-broker/_virtual_mf___mfe_internal__addon_stream_broker_widgets__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-C_vhSCZn.mjs +26 -0
- package/dist/stream-broker/_virtual_mf___mfe_internal__addon_stream_broker_widgets__loadShare___mf_0_camstack_mf_1_ui_mf_2_library__loadShare__.js-DxEZc0T0.mjs +26 -0
- package/dist/stream-broker/demux-worker-child.js +1 -1
- package/dist/stream-broker/demux-worker-child.mjs +1 -1
- package/dist/stream-broker/{hostInit-CT3_w1iD.mjs → hostInit-yUSpE3wl.mjs} +3 -3
- package/dist/stream-broker/index.js +3 -3
- package/dist/stream-broker/index.mjs +3 -3
- package/dist/stream-broker/remoteEntry.js +1 -1
- package/package.json +1 -1
- package/dist/stream-broker/_virtual_mf___mfe_internal__addon_stream_broker_widgets__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-DdrO8p3-.mjs +0 -26
- package/dist/stream-broker/_virtual_mf___mfe_internal__addon_stream_broker_widgets__loadShare___mf_0_camstack_mf_1_ui_mf_2_library__loadShare__.js-RrTYeVaZ.mjs +0 -26
|
@@ -5547,7 +5547,7 @@ var ZodIssueCode = {
|
|
|
5547
5547
|
var ZodFirstPartyTypeKind;
|
|
5548
5548
|
ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
|
|
5549
5549
|
//#endregion
|
|
5550
|
-
//#region ../types/dist/sleep-
|
|
5550
|
+
//#region ../types/dist/sleep-BSuCCFjf.mjs
|
|
5551
5551
|
/**
|
|
5552
5552
|
* The audio chunk plane's byte format, and the ONE expansion from a coded
|
|
5553
5553
|
* window to float samples (D455).
|
|
@@ -7978,9 +7978,9 @@ function normalizeAddonInitResult(result) {
|
|
|
7978
7978
|
return result;
|
|
7979
7979
|
}
|
|
7980
7980
|
/**
|
|
7981
|
-
* The share-view scope kinds a
|
|
7982
|
-
* and validates them (`
|
|
7983
|
-
* list); a data plane names the kinds it ACCEPTS in `share`.
|
|
7981
|
+
* The share-view scope kinds a share-link token can carry. The hub mints
|
|
7982
|
+
* and validates them (`ShareViewGrantSchema` builds its
|
|
7983
|
+
* enum from this list); a data plane names the kinds it ACCEPTS in `share`.
|
|
7984
7984
|
*/
|
|
7985
7985
|
var SHARE_VIEW_KINDS = ["grid-view", "events-view"];
|
|
7986
7986
|
/** The wire shape of {@link PeerBytesTicket} — see the type for what it is. */
|
|
@@ -15306,7 +15306,7 @@ var ConvertResultSchema = object({
|
|
|
15306
15306
|
* `super_admin` — collapsed onto the single boolean because every
|
|
15307
15307
|
* non-admin caller is governed by the same scope-check rules; the
|
|
15308
15308
|
* distinction was only ever used to route role-specific procedures
|
|
15309
|
-
* which we no longer have. CLI / webhook integrations are `
|
|
15309
|
+
* which we no longer have. CLI / webhook integrations are tokens (`auth.mintToken`)
|
|
15310
15310
|
* with `isAdmin: false` + an explicit scope list.
|
|
15311
15311
|
*/
|
|
15312
15312
|
/** Per-method access flavour. Materialised on every cap method via codegen. */
|
|
@@ -15495,10 +15495,12 @@ var AddonRoutesScopeSchema = object({
|
|
|
15495
15495
|
type: literal("addon-routes"),
|
|
15496
15496
|
access: array(MethodAccessSchema).min(1)
|
|
15497
15497
|
});
|
|
15498
|
+
var PreferencesSelfScopeSchema = object({ type: literal("preferences-self") });
|
|
15498
15499
|
var CredentialScopeSchema = union([
|
|
15499
15500
|
literal("*"),
|
|
15500
15501
|
ShareViewScopeSchema,
|
|
15501
15502
|
AddonRoutesScopeSchema,
|
|
15503
|
+
PreferencesSelfScopeSchema,
|
|
15502
15504
|
TokenScopeSchema
|
|
15503
15505
|
]);
|
|
15504
15506
|
object({
|
|
@@ -15507,6 +15509,55 @@ object({
|
|
|
15507
15509
|
jti: string().min(16),
|
|
15508
15510
|
scopes: array(CredentialScopeSchema).min(1)
|
|
15509
15511
|
});
|
|
15512
|
+
var PreferenceNamespaceSchema = string().regex(/^[a-z][a-z0-9.-]{0,63}$/);
|
|
15513
|
+
/** A namespace's value: a JSON object, opaque to the hub. */
|
|
15514
|
+
var PreferenceValueSchema = record(string(), unknown());
|
|
15515
|
+
var PreferenceDeviceIdSchema = string().min(1).max(64);
|
|
15516
|
+
/** A stored row, as the owner reads it. */
|
|
15517
|
+
var PreferenceRowSchema = object({
|
|
15518
|
+
namespace: PreferenceNamespaceSchema,
|
|
15519
|
+
value: PreferenceValueSchema,
|
|
15520
|
+
/** Starts at 1, +1 on every write of this namespace. A delete ends the row and its count. */
|
|
15521
|
+
revision: number().int().positive(),
|
|
15522
|
+
updatedAt: number().int(),
|
|
15523
|
+
/** The client id the last writer sent; `null` when it sent none. */
|
|
15524
|
+
updatedByDevice: PreferenceDeviceIdSchema.nullable()
|
|
15525
|
+
});
|
|
15526
|
+
object({
|
|
15527
|
+
/** Absent: every namespace the caller holds. */
|
|
15528
|
+
namespaces: array(PreferenceNamespaceSchema).max(32).optional() });
|
|
15529
|
+
object({ rows: array(PreferenceRowSchema) });
|
|
15530
|
+
object({
|
|
15531
|
+
namespace: PreferenceNamespaceSchema,
|
|
15532
|
+
value: PreferenceValueSchema,
|
|
15533
|
+
/**
|
|
15534
|
+
* The revision the edit was based on. Absent: last write wins. `0`: the
|
|
15535
|
+
* namespace must not exist yet. Any other value that is not the current
|
|
15536
|
+
* revision answers `conflict` and writes nothing.
|
|
15537
|
+
*/
|
|
15538
|
+
baseRevision: number().int().nonnegative().optional(),
|
|
15539
|
+
deviceId: PreferenceDeviceIdSchema.optional()
|
|
15540
|
+
});
|
|
15541
|
+
discriminatedUnion("status", [object({
|
|
15542
|
+
status: literal("saved"),
|
|
15543
|
+
row: PreferenceRowSchema
|
|
15544
|
+
}), object({
|
|
15545
|
+
status: literal("conflict"),
|
|
15546
|
+
current: PreferenceRowSchema.nullable()
|
|
15547
|
+
})]);
|
|
15548
|
+
object({ namespace: PreferenceNamespaceSchema });
|
|
15549
|
+
object({
|
|
15550
|
+
/** `false` when the namespace did not exist. */
|
|
15551
|
+
deleted: boolean() });
|
|
15552
|
+
object({
|
|
15553
|
+
/** The revision the client holds per namespace; a namespace it does not list is new to it. */
|
|
15554
|
+
revisionByNamespace: record(PreferenceNamespaceSchema, number().int().nonnegative()).refine((map) => Object.keys(map).length <= 32, { message: `at most 32 namespaces` }) });
|
|
15555
|
+
object({
|
|
15556
|
+
/** Every row whose revision differs from the client's, and every row it did not list. */
|
|
15557
|
+
rows: array(PreferenceRowSchema),
|
|
15558
|
+
/** Namespaces the client listed that no longer exist. */
|
|
15559
|
+
deleted: array(PreferenceNamespaceSchema)
|
|
15560
|
+
});
|
|
15510
15561
|
_enum(["new-session", "step-up"]);
|
|
15511
15562
|
/** The languages the hub's app landing pages are written in (D858). */
|
|
15512
15563
|
var AppPageLangSchema = _enum(["en", "it"]);
|
|
@@ -20126,7 +20177,19 @@ var DeviceHistorySubjectSchema = discriminatedUnion("kind", [object({
|
|
|
20126
20177
|
kind: literal("node"),
|
|
20127
20178
|
nodeId: string().min(1)
|
|
20128
20179
|
})]);
|
|
20180
|
+
/**
|
|
20181
|
+
* `enum` stores a STATE as the ordinal of its value in the series' value list
|
|
20182
|
+
* (`DeviceHistorySeriesInfo.values`, append-only, so an ordinal never changes
|
|
20183
|
+
* meaning); a rollup keeps the time spent in each state (`states`).
|
|
20184
|
+
*/
|
|
20129
20185
|
var DeviceHistoryKindSchema = _enum([
|
|
20186
|
+
"gauge",
|
|
20187
|
+
"counter",
|
|
20188
|
+
"boolean",
|
|
20189
|
+
"enum"
|
|
20190
|
+
]);
|
|
20191
|
+
/** What a PRODUCER may declare. `enum` is cap-only: its value list is the cap field's. */
|
|
20192
|
+
var DeviceHistoryProducerKindSchema = _enum([
|
|
20130
20193
|
"gauge",
|
|
20131
20194
|
"counter",
|
|
20132
20195
|
"boolean"
|
|
@@ -20163,7 +20226,13 @@ var SeriesInfoSchema = object({
|
|
|
20163
20226
|
/** `null` is unknown (a `unitFrom` series whose device does not state a unit right now), never a guess. */
|
|
20164
20227
|
unit: string().nullable(),
|
|
20165
20228
|
displayName: string(),
|
|
20166
|
-
source: _enum([
|
|
20229
|
+
source: _enum([
|
|
20230
|
+
"cap",
|
|
20231
|
+
"addon",
|
|
20232
|
+
"derived"
|
|
20233
|
+
]),
|
|
20234
|
+
/** `enum`: the value of each ordinal (index = ordinal); `null` for every other kind. */
|
|
20235
|
+
values: array(string()).readonly().nullable(),
|
|
20167
20236
|
firstTs: number(),
|
|
20168
20237
|
lastTs: number()
|
|
20169
20238
|
});
|
|
@@ -20177,17 +20246,31 @@ var QueryPointSchema = object({
|
|
|
20177
20246
|
twMean: number().nullable(),
|
|
20178
20247
|
min: number(),
|
|
20179
20248
|
max: number(),
|
|
20180
|
-
/** `null` is unknown, never zero (D393). */
|
|
20181
|
-
last: number().nullable()
|
|
20249
|
+
/** `null` is unknown, never zero (D393). For an `enum` series: the ordinal of {@link state}. */
|
|
20250
|
+
last: number().nullable(),
|
|
20251
|
+
/**
|
|
20252
|
+
* The increase over the point: a `counter`'s growth since the previous point
|
|
20253
|
+
* or bucket (a drop is a reset, counted from zero), and for
|
|
20254
|
+
* {@link DEVICE_HISTORY_ENERGY_KEY} the kWh used in the bucket. `null` for
|
|
20255
|
+
* every other kind, and when it cannot be known.
|
|
20256
|
+
*/
|
|
20257
|
+
delta: number().nullable(),
|
|
20258
|
+
/** `enum`: the state in force at the end of the point (the name of `last`); `null` otherwise. */
|
|
20259
|
+
state: string().nullable(),
|
|
20260
|
+
/** `enum` rollup: milliseconds spent in each state inside the bucket; `null` for raw points and other kinds. */
|
|
20261
|
+
states: record(string(), number()).nullable()
|
|
20182
20262
|
});
|
|
20183
20263
|
var QuerySeriesSchema = object({
|
|
20184
20264
|
scope: string(),
|
|
20185
20265
|
/** The last point STRICTLY BEFORE `from` in the chosen tier, so a step chart can start at the held value. */
|
|
20186
20266
|
before: object({
|
|
20187
20267
|
t: number(),
|
|
20188
|
-
value: number().nullable()
|
|
20268
|
+
value: number().nullable(),
|
|
20269
|
+
state: string().nullable()
|
|
20189
20270
|
}).nullable(),
|
|
20190
|
-
points: array(QueryPointSchema).readonly()
|
|
20271
|
+
points: array(QueryPointSchema).readonly(),
|
|
20272
|
+
/** A derived key: the stored key its points were computed from; `null` for a stored series. */
|
|
20273
|
+
derivedFrom: string().nullable()
|
|
20191
20274
|
});
|
|
20192
20275
|
/** The window part of a query, shared by the device and node forms. */
|
|
20193
20276
|
var QueryWindowShape = {
|
|
@@ -20203,6 +20286,23 @@ var QueryResultSchema = object({
|
|
|
20203
20286
|
series: array(QuerySeriesSchema).readonly(),
|
|
20204
20287
|
truncated: boolean()
|
|
20205
20288
|
});
|
|
20289
|
+
/** One read of a batch: a device's key or a node's key (exactly one subject). */
|
|
20290
|
+
var QueryManyItemSchema = union([object({
|
|
20291
|
+
deviceId: number().int(),
|
|
20292
|
+
key: string(),
|
|
20293
|
+
scope: string().optional()
|
|
20294
|
+
}), object({
|
|
20295
|
+
forNodeId: string().min(1),
|
|
20296
|
+
key: string(),
|
|
20297
|
+
scope: string().optional()
|
|
20298
|
+
})]);
|
|
20299
|
+
var QueryManyEntrySchema = discriminatedUnion("ok", [object({
|
|
20300
|
+
ok: literal(true),
|
|
20301
|
+
result: QueryResultSchema
|
|
20302
|
+
}), object({
|
|
20303
|
+
ok: literal(false),
|
|
20304
|
+
error: string()
|
|
20305
|
+
})]);
|
|
20206
20306
|
var TierStatusSchema = object({
|
|
20207
20307
|
tier: DeviceHistoryResolutionSchema,
|
|
20208
20308
|
/** `null` until the first background count answered. */
|
|
@@ -20258,16 +20358,22 @@ var DeviceHistoryStatusSchema = object({
|
|
|
20258
20358
|
lastRefreshAt: number().nullable()
|
|
20259
20359
|
})
|
|
20260
20360
|
});
|
|
20261
|
-
method(object({ deviceId: number().int() }), array(SeriesInfoSchema).readonly()), method(object({
|
|
20361
|
+
method(object({ deviceId: number().int() }), array(SeriesInfoSchema).readonly()), method(object({ forNodeId: string().min(1) }), array(SeriesInfoSchema).readonly(), { auth: "admin" }), method(object({
|
|
20262
20362
|
deviceId: number().int(),
|
|
20263
20363
|
...QueryWindowShape
|
|
20264
20364
|
}), QueryResultSchema), method(object({
|
|
20265
|
-
|
|
20365
|
+
forNodeId: string().min(1),
|
|
20266
20366
|
...QueryWindowShape
|
|
20267
20367
|
}), QueryResultSchema, { auth: "admin" }), method(object({
|
|
20368
|
+
items: array(QueryManyItemSchema).min(1).max(24),
|
|
20369
|
+
from: QueryWindowShape.from,
|
|
20370
|
+
to: QueryWindowShape.to,
|
|
20371
|
+
resolution: QueryWindowShape.resolution,
|
|
20372
|
+
maxPoints: QueryWindowShape.maxPoints
|
|
20373
|
+
}), object({ results: array(QueryManyEntrySchema).readonly() }), { auth: "admin" }), method(object({
|
|
20268
20374
|
name: string().regex(/^[a-z0-9-]+$/),
|
|
20269
20375
|
subjectKind: _enum(["device", "node"]),
|
|
20270
|
-
kind:
|
|
20376
|
+
kind: DeviceHistoryProducerKindSchema,
|
|
20271
20377
|
unit: string().optional(),
|
|
20272
20378
|
displayName: string().min(1),
|
|
20273
20379
|
ingest: _enum(["points", "buckets"])
|
|
@@ -42924,38 +43030,37 @@ method(LlmRuntimeCompleteInputSchema, LlmGenerateResultSchema, {
|
|
|
42924
43030
|
auth: "admin",
|
|
42925
43031
|
timeoutMs: AI_CAP_TRANSPORT_TIMEOUT_MS
|
|
42926
43032
|
});
|
|
43033
|
+
var LlmProfileKindSchema = string().regex(/^[a-z0-9][a-z0-9-]{0,63}$/, "a kind id is lower-case letters, digits and dashes");
|
|
43034
|
+
/** What a model (or, by default, every model of a kind) can do. */
|
|
43035
|
+
var LlmModelFeaturesSchema = object({
|
|
43036
|
+
vision: boolean(),
|
|
43037
|
+
tools: boolean(),
|
|
43038
|
+
streaming: boolean()
|
|
43039
|
+
});
|
|
43040
|
+
/** One model a provider offers. `features` overrides the kind's defaults, per field. */
|
|
43041
|
+
var LlmModelInfoSchema = object({
|
|
43042
|
+
id: string(),
|
|
43043
|
+
label: string().optional(),
|
|
43044
|
+
contextLength: number().int().positive().optional(),
|
|
43045
|
+
features: LlmModelFeaturesSchema.partial().optional()
|
|
43046
|
+
});
|
|
42927
43047
|
/**
|
|
42928
|
-
*
|
|
42929
|
-
*
|
|
42930
|
-
*
|
|
42931
|
-
*
|
|
42932
|
-
* (hub-placed); the cap stays open for future providers.
|
|
42933
|
-
*
|
|
42934
|
-
* Profiles are ROWS (data), not addons: one row = one usable model endpoint.
|
|
42935
|
-
* `apiKey` is a password field — providers REDACT it on read and merge on
|
|
42936
|
-
* write; a stored key NEVER round-trips to a client.
|
|
43048
|
+
* The provider-specific part of a profile, validated by the provider that owns
|
|
43049
|
+
* the kind (`upsertProfile` refuses what it does not accept). A field its
|
|
43050
|
+
* `connectionSchema` declares `type: 'password'` is a secret: it is held in the
|
|
43051
|
+
* keychain, never in the row, and reads back as the redaction marker.
|
|
42937
43052
|
*/
|
|
42938
|
-
var
|
|
42939
|
-
"openai-compatible",
|
|
42940
|
-
"openai",
|
|
42941
|
-
"anthropic",
|
|
42942
|
-
"google",
|
|
42943
|
-
"managed-local",
|
|
42944
|
-
"apple-foundation"
|
|
42945
|
-
]);
|
|
43053
|
+
var LlmProviderConfigSchema = record(string(), unknown());
|
|
42946
43054
|
var LlmProfileSchema = object({
|
|
42947
43055
|
id: string(),
|
|
42948
43056
|
name: string(),
|
|
43057
|
+
/** The provider-declared kind (`LlmProfileKindDescriptor.kind`). */
|
|
42949
43058
|
kind: LlmProfileKindSchema,
|
|
42950
43059
|
/** Stamped by the provider — keeps the fanned catalog routable. */
|
|
42951
43060
|
addonId: string(),
|
|
42952
43061
|
enabled: boolean(),
|
|
42953
43062
|
/** Vendor model id, or the managed runtime's loaded model. */
|
|
42954
43063
|
model: string(),
|
|
42955
|
-
/** Required for openai-compatible; override for cloud kinds. */
|
|
42956
|
-
baseUrl: string().optional(),
|
|
42957
|
-
/** ConfigUISchema type:'password' — never round-trips (spec §5). */
|
|
42958
|
-
apiKey: string().optional(),
|
|
42959
43064
|
/** Vision on/off. A vision call against a `false` profile is REFUSED, never
|
|
42960
43065
|
* degraded to text — that shipped once and produced a confident answer to a
|
|
42961
43066
|
* question about a picture nobody sent. */
|
|
@@ -42963,15 +43068,11 @@ var LlmProfileSchema = object({
|
|
|
42963
43068
|
temperature: number().min(0).max(2).optional(),
|
|
42964
43069
|
/** Nucleus sampling. Every wire we speak has it. */
|
|
42965
43070
|
topP: number().min(0).max(1).optional(),
|
|
42966
|
-
/** Top-k sampling. Carried only by the wires that have it —
|
|
42967
|
-
*
|
|
42968
|
-
* `top_p` and no `top_k`). The profile editor hides the field wherever it
|
|
42969
|
-
* would change nothing; `KINDS_WITH_TOP_K` is the single owner of that list. */
|
|
43071
|
+
/** Top-k sampling. Carried only by the wires that have it — a kind offers the
|
|
43072
|
+
* field in its editor only when its descriptor lists it in `profileFields`. */
|
|
42970
43073
|
topK: number().int().positive().optional(),
|
|
42971
43074
|
maxTokens: number().int().positive().optional(),
|
|
42972
|
-
/** Prompt context window. Advisory for cloud kinds (they enforce their own)
|
|
42973
|
-
* for `managed-local` it is the llama.cpp `--ctx-size` the runtime starts
|
|
42974
|
-
* the model with, so it is the one field that changes a PROCESS. */
|
|
43075
|
+
/** Prompt context window. Advisory for cloud kinds (they enforce their own). */
|
|
42975
43076
|
contextLength: number().int().positive().optional(),
|
|
42976
43077
|
/** Default system prompt. A caller's `system` REPLACES it (never appends —
|
|
42977
43078
|
* two system prompts fighting is worse than either alone). */
|
|
@@ -42997,16 +43098,37 @@ var LlmProfileSchema = object({
|
|
|
42997
43098
|
* library; the REGISTRY of callable tools is ours and is empty in v1, so a
|
|
42998
43099
|
* `true` here buys the wiring, not behaviour, until tools are registered. */
|
|
42999
43100
|
toolsEnabled: boolean().default(false),
|
|
43000
|
-
|
|
43001
|
-
|
|
43002
|
-
|
|
43003
|
-
|
|
43004
|
-
|
|
43005
|
-
|
|
43006
|
-
|
|
43007
|
-
|
|
43008
|
-
|
|
43009
|
-
|
|
43101
|
+
/** Everything the kind's provider owns (endpoint, key, node, runtime…). */
|
|
43102
|
+
providerConfig: LlmProviderConfigSchema.default({})
|
|
43103
|
+
});
|
|
43104
|
+
/**
|
|
43105
|
+
* The common profile fields a kind's editor offers. The editor owns how each
|
|
43106
|
+
* one is drawn; the provider says which of them mean something on its wire.
|
|
43107
|
+
*/
|
|
43108
|
+
var LlmProfileFieldSchema = _enum([
|
|
43109
|
+
"temperature",
|
|
43110
|
+
"topP",
|
|
43111
|
+
"topK",
|
|
43112
|
+
"maxTokens",
|
|
43113
|
+
"contextLength",
|
|
43114
|
+
"systemPrompt",
|
|
43115
|
+
"timeoutMs",
|
|
43116
|
+
"connectTimeoutMs",
|
|
43117
|
+
"firstTokenTimeoutMs",
|
|
43118
|
+
"idleTimeoutMs",
|
|
43119
|
+
"retry",
|
|
43120
|
+
"toolsEnabled"
|
|
43121
|
+
]);
|
|
43122
|
+
/**
|
|
43123
|
+
* A provider-drawn part of the editor, by a generic widget id the admin UI
|
|
43124
|
+
* registers (`ai/apple-node`). `placement: 'model'` replaces the generic model
|
|
43125
|
+
* picker: that widget owns the model choice.
|
|
43126
|
+
*/
|
|
43127
|
+
var LlmProviderWidgetSchema = object({
|
|
43128
|
+
id: string(),
|
|
43129
|
+
placement: _enum(["connection", "model"]),
|
|
43130
|
+
/** `providerConfig` keys this widget must fill before the profile can be saved. */
|
|
43131
|
+
requires: array(string()).optional()
|
|
43010
43132
|
});
|
|
43011
43133
|
/** ConfigUISchema tree passed through untyped on the wire (the
|
|
43012
43134
|
* notification-output `ConfigSchemaPassthrough` precedent at
|
|
@@ -43015,11 +43137,56 @@ var ConfigSchemaPassthrough$3 = unknown();
|
|
|
43015
43137
|
var LlmProfileKindDescriptorSchema = object({
|
|
43016
43138
|
kind: LlmProfileKindSchema,
|
|
43017
43139
|
label: string(),
|
|
43140
|
+
/** A generic icon name (`cloud`, `plug`, `cpu`) — never a glyph or a logo. */
|
|
43018
43141
|
icon: string(),
|
|
43019
43142
|
/** Stamped by each provider so the concat-fanned catalog stays routable. */
|
|
43020
43143
|
addonId: string(),
|
|
43021
|
-
|
|
43144
|
+
/** The provider's own fields (`providerConfig`); `password` fields are keychain-held. */
|
|
43145
|
+
connectionSchema: ConfigSchemaPassthrough$3,
|
|
43146
|
+
/** Provider fields that belong under "Advanced" (extra headers, runtime tuning). */
|
|
43147
|
+
advancedSchema: ConfigSchemaPassthrough$3.optional(),
|
|
43148
|
+
/** The kind's defaults; a model from `listModels` may override any of them. */
|
|
43149
|
+
features: LlmModelFeaturesSchema,
|
|
43150
|
+
/** `false` = the provider stamps `supportsVision` itself (from what a node reports). */
|
|
43151
|
+
visionEditable: boolean(),
|
|
43152
|
+
/** Where the model list comes from: `listModels`, `staticModels`, or nowhere. */
|
|
43153
|
+
modelCatalog: _enum([
|
|
43154
|
+
"fetch",
|
|
43155
|
+
"static",
|
|
43156
|
+
"none"
|
|
43157
|
+
]),
|
|
43158
|
+
staticModels: array(LlmModelInfoSchema).optional(),
|
|
43159
|
+
/** The common fields that mean something on this kind's wire. */
|
|
43160
|
+
profileFields: array(LlmProfileFieldSchema),
|
|
43161
|
+
providerWidgets: array(LlmProviderWidgetSchema).optional()
|
|
43162
|
+
});
|
|
43163
|
+
/**
|
|
43164
|
+
* `listModels` input. `connection` is an UNSAVED draft of `providerConfig`
|
|
43165
|
+
* (the editor's form); with `profileId` too, a secret the draft leaves
|
|
43166
|
+
* untouched (absent or the redaction marker) is resolved server-side from the
|
|
43167
|
+
* stored profile — the browser never receives it.
|
|
43168
|
+
*/
|
|
43169
|
+
var LlmListModelsInputSchema = object({
|
|
43170
|
+
addonId: string(),
|
|
43171
|
+
kind: LlmProfileKindSchema,
|
|
43172
|
+
profileId: string().optional(),
|
|
43173
|
+
connection: LlmProviderConfigSchema.optional()
|
|
43022
43174
|
});
|
|
43175
|
+
var LlmListModelsErrorCodeSchema = _enum([
|
|
43176
|
+
"auth",
|
|
43177
|
+
"network",
|
|
43178
|
+
"unsupported",
|
|
43179
|
+
"invalid"
|
|
43180
|
+
]);
|
|
43181
|
+
/** A RESULT, never a throw: "wrong key" is an answer the editor renders inline. */
|
|
43182
|
+
var LlmListModelsResultSchema = discriminatedUnion("ok", [object({
|
|
43183
|
+
ok: literal(true),
|
|
43184
|
+
models: array(LlmModelInfoSchema)
|
|
43185
|
+
}), object({
|
|
43186
|
+
ok: literal(false),
|
|
43187
|
+
code: LlmListModelsErrorCodeSchema,
|
|
43188
|
+
message: string()
|
|
43189
|
+
})]);
|
|
43023
43190
|
var LlmDefaultSelectorSchema = union([object({ consumer: string() }), object({ purpose: _enum(["text", "vision"]) })]);
|
|
43024
43191
|
var LlmDefaultSchema = object({
|
|
43025
43192
|
selector: LlmDefaultSelectorSchema,
|
|
@@ -43119,7 +43286,10 @@ method(LlmGenerateBaseInputSchema, LlmGenerateResultSchema, {
|
|
|
43119
43286
|
kind: "mutation",
|
|
43120
43287
|
auth: "admin",
|
|
43121
43288
|
timeoutMs: AI_CAP_TRANSPORT_TIMEOUT_MS
|
|
43122
|
-
}), method(
|
|
43289
|
+
}), method(LlmListModelsInputSchema, LlmListModelsResultSchema, {
|
|
43290
|
+
kind: "mutation",
|
|
43291
|
+
auth: "admin"
|
|
43292
|
+
}), method(object({}), array(LlmDefaultSchema)), method(object({
|
|
43123
43293
|
selector: LlmDefaultSelectorSchema,
|
|
43124
43294
|
profileId: string().nullable()
|
|
43125
43295
|
}), _void(), {
|
|
@@ -43322,14 +43492,106 @@ var LogEntrySchema = object({
|
|
|
43322
43492
|
meta: record(string(), unknown()).optional(),
|
|
43323
43493
|
tags: record(string(), string()).optional()
|
|
43324
43494
|
});
|
|
43325
|
-
|
|
43326
|
-
|
|
43495
|
+
/**
|
|
43496
|
+
* A history READ against one destination (D898).
|
|
43497
|
+
*
|
|
43498
|
+
* Every filter is applied by the PROVIDER, before the limit — a filter the
|
|
43499
|
+
* browser applied after the limit is what made a rare device's lines
|
|
43500
|
+
* unreachable behind a busy one's. `before` / `after` are cursors the provider
|
|
43501
|
+
* minted (opaque to everyone else): a file position for the rotated files, a
|
|
43502
|
+
* nanosecond timestamp for Loki.
|
|
43503
|
+
*
|
|
43504
|
+
* A read is BOUNDED by `budgetMs`: a filter that matches nothing on a 30-day
|
|
43505
|
+
* store answers `done: false` with the cursor it reached and the bytes it
|
|
43506
|
+
* scanned, and the caller decides whether to go on. That is what makes a long
|
|
43507
|
+
* scan show progress and stop when asked — `cancelRead` ends the slice in
|
|
43508
|
+
* flight, and not asking for the next slice ends the scan.
|
|
43509
|
+
*/
|
|
43510
|
+
var LogReadQuerySchema = object({
|
|
43511
|
+
/** Correlates `cancelRead`. Caller-chosen, unique per in-flight read. */
|
|
43512
|
+
requestId: string().min(1).max(64).optional(),
|
|
43513
|
+
/** The device the line is about (`tags.deviceId`, numeric). */
|
|
43514
|
+
deviceId: number().int().optional(),
|
|
43515
|
+
/**
|
|
43516
|
+
* The emitting addon — bare manifest id; `@<version>` / `::<sub>` suffixes
|
|
43517
|
+
* match. Not `addonId`: a cap router reads that name as "which provider".
|
|
43518
|
+
*/
|
|
43519
|
+
fromAddonId: string().min(1).max(200).optional(),
|
|
43520
|
+
/**
|
|
43521
|
+
* The emitting node: matches the agent that emitted the line, the node
|
|
43522
|
+
* itself, or a worker under it (`<agent>/<runner>`) — the `agentId`
|
|
43523
|
+
* semantics of `matchesLogTags`. Not `nodeId`: a cap router reads that
|
|
43524
|
+
* name as "which node's provider".
|
|
43525
|
+
*/
|
|
43526
|
+
fromNodeId: string().min(1).max(200).optional(),
|
|
43527
|
+
/** Any other tag, exact match (AND). */
|
|
43528
|
+
tags: record(string(), union([string(), number()])).optional(),
|
|
43529
|
+
/** Severity FLOOR: this level and above. */
|
|
43327
43530
|
level: LogLevelSchema.optional(),
|
|
43328
|
-
|
|
43329
|
-
|
|
43330
|
-
|
|
43331
|
-
|
|
43332
|
-
|
|
43531
|
+
/** Case-insensitive substring over message, scope, tag values and meta values. */
|
|
43532
|
+
text: string().min(1).max(200).optional(),
|
|
43533
|
+
/** Epoch ms, inclusive. */
|
|
43534
|
+
since: number().optional(),
|
|
43535
|
+
/** Epoch ms, inclusive. */
|
|
43536
|
+
until: number().optional(),
|
|
43537
|
+
/** Older than this cursor (exclusive). Absent with `after` absent ⇒ from the newest. */
|
|
43538
|
+
before: string().min(1).max(1024).optional(),
|
|
43539
|
+
/** Newer than this cursor (exclusive). */
|
|
43540
|
+
after: string().min(1).max(1024).optional(),
|
|
43541
|
+
limit: number().int().min(1).max(1e3).optional(),
|
|
43542
|
+
/** Wall-clock bound of this slice. The provider caps it. */
|
|
43543
|
+
budgetMs: number().int().min(50).max(1e4).optional()
|
|
43544
|
+
});
|
|
43545
|
+
var LogReadResultSchema = object({
|
|
43546
|
+
/** Newest first. */
|
|
43547
|
+
entries: array(object({
|
|
43548
|
+
/** `<bootId>.<seq>` minted by the emitting LogManager — the dedupe key. */
|
|
43549
|
+
id: string().optional(),
|
|
43550
|
+
/** Epoch ms. */
|
|
43551
|
+
timestamp: number(),
|
|
43552
|
+
level: LogLevelSchema,
|
|
43553
|
+
scope: string().optional(),
|
|
43554
|
+
message: string(),
|
|
43555
|
+
tags: record(string(), union([string(), number()])).optional(),
|
|
43556
|
+
meta: record(string(), unknown()).optional()
|
|
43557
|
+
})),
|
|
43558
|
+
/** Pass as `before` for the next older page; null when nothing older exists. */
|
|
43559
|
+
nextBefore: string().nullable(),
|
|
43560
|
+
/** Pass as `after` to read what arrived since; null when unknown. */
|
|
43561
|
+
nextAfter: string().nullable(),
|
|
43562
|
+
/** Bytes this slice read (files) or received (remote). Progress, not a promise. */
|
|
43563
|
+
scannedBytes: number().int().nonnegative(),
|
|
43564
|
+
/**
|
|
43565
|
+
* True when the scan in this direction reached the end of the store.
|
|
43566
|
+
* False with fewer than `limit` entries means the budget ran out first —
|
|
43567
|
+
* call again with `nextBefore` to go on.
|
|
43568
|
+
*/
|
|
43569
|
+
done: boolean(),
|
|
43570
|
+
/** True when `cancelRead` ended this slice early. */
|
|
43571
|
+
cancelled: boolean().optional()
|
|
43572
|
+
});
|
|
43573
|
+
var LogReadCapabilitiesSchema = object({
|
|
43574
|
+
/** False ⇒ this destination only ships lines (console, forwarder, an unconfigured Loki). */
|
|
43575
|
+
readable: boolean(),
|
|
43576
|
+
/** Why not, when `readable` is false — rendered next to the source. */
|
|
43577
|
+
reason: string().nullable(),
|
|
43578
|
+
/** Filters the provider applies itself. A false one is applied by nobody. */
|
|
43579
|
+
filters: object({
|
|
43580
|
+
deviceId: boolean(),
|
|
43581
|
+
addonId: boolean(),
|
|
43582
|
+
nodeId: boolean(),
|
|
43583
|
+
tags: boolean(),
|
|
43584
|
+
level: boolean(),
|
|
43585
|
+
text: boolean(),
|
|
43586
|
+
timeRange: boolean()
|
|
43587
|
+
}),
|
|
43588
|
+
/** How far back the store reaches, when the provider knows (days). */
|
|
43589
|
+
retentionDays: number().nullable()
|
|
43590
|
+
});
|
|
43591
|
+
method(LogEntrySchema, _void(), { kind: "mutation" }), optionalMethod(_void(), LogReadCapabilitiesSchema, { auth: "admin" }), optionalMethod(LogReadQuerySchema, LogReadResultSchema, { auth: "admin" }), optionalMethod(object({ requestId: string().min(1).max(64) }), object({ cancelled: boolean() }), {
|
|
43592
|
+
kind: "mutation",
|
|
43593
|
+
auth: "admin"
|
|
43594
|
+
});
|
|
43333
43595
|
/**
|
|
43334
43596
|
* `login-method` — collection cap through which auth addons contribute
|
|
43335
43597
|
* their pre-auth login surfaces to the login page. This is the SINGLE,
|
|
@@ -46228,6 +46490,33 @@ var NcRuleTargetSchema = object({
|
|
|
46228
46490
|
params: record(string(), unknown()).optional()
|
|
46229
46491
|
});
|
|
46230
46492
|
/**
|
|
46493
|
+
* WHAT THE NOTIFICATION'S PICTURE IS (D897) — the ONE media choice of a rule.
|
|
46494
|
+
*
|
|
46495
|
+
* Every mode starts from the same CLEAN source frame of the trigger moment
|
|
46496
|
+
* (keyFrame → sceneFrame → lastSceneFrame, narrowed to the trigger instant and
|
|
46497
|
+
* to the zone that fired the rule) and renders it once at send time:
|
|
46498
|
+
* - `scene-boxes` — the whole scene, the subject outlined thick in the accent
|
|
46499
|
+
* colour and every OTHER track visible at that instant outlined thin, each
|
|
46500
|
+
* labelled with class and confidence ("dog 87%").
|
|
46501
|
+
* - `crop` — the subject cut out of that frame around its box at that instant.
|
|
46502
|
+
* - `clean` — the whole scene with nothing drawn on it.
|
|
46503
|
+
* - `none` — no picture.
|
|
46504
|
+
*
|
|
46505
|
+
* A mode that cannot be honoured (no box at that instant, a photograph with no
|
|
46506
|
+
* tracked subject) ships `clean` and names the reason in the log, per camera.
|
|
46507
|
+
* It replaces the `attach` × `frame` × `zoneCrop` triple, which let one rule
|
|
46508
|
+
* ship a crop on one event and a boxed scene on the next depending on which
|
|
46509
|
+
* stored kind had landed.
|
|
46510
|
+
*/
|
|
46511
|
+
var NcMediaImageSchema = _enum([
|
|
46512
|
+
"scene-boxes",
|
|
46513
|
+
"crop",
|
|
46514
|
+
"clean",
|
|
46515
|
+
"none"
|
|
46516
|
+
]);
|
|
46517
|
+
/**
|
|
46518
|
+
* @deprecated Read only by `normalizeNcMediaPolicy` (D897) — see {@link NcMediaImageSchema}.
|
|
46519
|
+
*
|
|
46231
46520
|
* Media attachment policy (P1 still-image subset).
|
|
46232
46521
|
* - `best` — the best AVAILABLE subject image at dispatch time (D-3).
|
|
46233
46522
|
* - `best-matching` — the media that explains WHY the rule fired: a rule
|
|
@@ -46241,6 +46530,8 @@ var NcRuleTargetSchema = object({
|
|
|
46241
46530
|
* - `none` — no attachment.
|
|
46242
46531
|
*/
|
|
46243
46532
|
/**
|
|
46533
|
+
* @deprecated Read only by `normalizeNcMediaPolicy` (D897) — see {@link NcMediaImageSchema}.
|
|
46534
|
+
*
|
|
46244
46535
|
* WHAT THE PICTURE SHOWS — chosen explicitly, because the implicit ladders
|
|
46245
46536
|
* conflate it with the selection strategy and betray the request: asking for
|
|
46246
46537
|
* the clean scene frame on an object-event owner used to start at
|
|
@@ -46269,16 +46560,29 @@ var NcMediaFrameSchema = _enum([
|
|
|
46269
46560
|
*/
|
|
46270
46561
|
var NcLinkedCameraModeSchema = _enum(["mosaic", "each"]);
|
|
46271
46562
|
var NcMediaPolicySchema = object({
|
|
46563
|
+
/**
|
|
46564
|
+
* The picture — see {@link NcMediaImageSchema}. Absent on a rule nobody has
|
|
46565
|
+
* saved since D897: `normalizeNcMediaPolicy` derives it from the legacy
|
|
46566
|
+
* triple below, at load and at every write, and the store keeps only this.
|
|
46567
|
+
*/
|
|
46568
|
+
image: NcMediaImageSchema.optional(),
|
|
46569
|
+
/**
|
|
46570
|
+
* Draw the zone that FIRED the rule on the picture (`scene-boxes` / `clean`;
|
|
46571
|
+
* a `crop` never shows it). Valid only on a rule whose trigger is a zone —
|
|
46572
|
+
* `conditions.zones` or an occupancy zone — and refused on save otherwise.
|
|
46573
|
+
* Replaces `zoneCrop`.
|
|
46574
|
+
*/
|
|
46575
|
+
showTriggerZone: boolean().optional(),
|
|
46576
|
+
/** @deprecated D897 — accepted from an editor that predates `image`, folded into it on save. */
|
|
46272
46577
|
attach: _enum([
|
|
46273
46578
|
"best",
|
|
46274
46579
|
"best-matching",
|
|
46275
46580
|
"keyFrame",
|
|
46276
46581
|
"none"
|
|
46277
|
-
]).
|
|
46278
|
-
/**
|
|
46582
|
+
]).optional(),
|
|
46583
|
+
/** @deprecated D897 — accepted from an editor that predates `image`, folded into it on save. */
|
|
46279
46584
|
frame: NcMediaFrameSchema.optional(),
|
|
46280
|
-
/**
|
|
46281
|
-
* "show me the ZONE", not the whole scene or the subject crop. */
|
|
46585
|
+
/** @deprecated D897 — folded into `image: 'clean'` + `showTriggerZone` on save. */
|
|
46282
46586
|
zoneCrop: boolean().optional(),
|
|
46283
46587
|
/**
|
|
46284
46588
|
* Also attach a short GIF cut from the stream broker's clip ring around the
|
|
@@ -46450,7 +46754,9 @@ var NcRuleInputSchema = object({
|
|
|
46450
46754
|
* targets.
|
|
46451
46755
|
*/
|
|
46452
46756
|
targetUsers: array(string()).optional(),
|
|
46453
|
-
|
|
46757
|
+
/** Absent = the kind's default picture (`resolveNcMediaImage`): the subject crop for a
|
|
46758
|
+
* detection, the clean scene for a sensor or a sound. Set explicitly on save (D897). */
|
|
46759
|
+
media: NcMediaPolicySchema.default({}),
|
|
46454
46760
|
throttle: NcThrottleSchema.default({
|
|
46455
46761
|
cooldownSec: 60,
|
|
46456
46762
|
scope: "rule-device"
|
|
@@ -47387,13 +47693,37 @@ var NcAlarmModeOpeningsSchema = object({
|
|
|
47387
47693
|
/** Covered devices whose state could not be read (D49): neither open nor closed. */
|
|
47388
47694
|
unknown: array(number().int())
|
|
47389
47695
|
});
|
|
47696
|
+
/**
|
|
47697
|
+
* One alarm INPUT — a (rule, device) pair — the operator bypassed until the
|
|
47698
|
+
* next disarm ("Bypass this input until disarm" on a trigger notification, or
|
|
47699
|
+
* `nc.bypassAlarmInput`). Reported so an armed alarm with a silenced input
|
|
47700
|
+
* never looks fully armed (D62: off must never look like broken).
|
|
47701
|
+
*/
|
|
47702
|
+
var NcAlarmInputBypassViewSchema = object({
|
|
47703
|
+
ruleId: string(),
|
|
47704
|
+
/** The rule's current name (its frozen name when the rule is gone). */
|
|
47705
|
+
ruleName: string(),
|
|
47706
|
+
/** The input: the sensor of the match, else its camera. */
|
|
47707
|
+
deviceId: number().int(),
|
|
47708
|
+
/** The input's current name. */
|
|
47709
|
+
name: string(),
|
|
47710
|
+
/** When it was bypassed (ms epoch). */
|
|
47711
|
+
since: number(),
|
|
47712
|
+
/** Triggers from this input dropped since. */
|
|
47713
|
+
dropped: number().int().min(0)
|
|
47714
|
+
});
|
|
47390
47715
|
var NcAlarmLiveSchema = object({
|
|
47391
47716
|
state: AlarmStateSchema,
|
|
47392
47717
|
/** The mode being armed into (exit delay) or held; null when disarmed. */
|
|
47393
47718
|
targetMode: AlarmArmModeSchema.nullable(),
|
|
47394
47719
|
availableModes: array(AlarmArmModeSchema),
|
|
47395
47720
|
openings: array(NcAlarmModeOpeningsSchema),
|
|
47396
|
-
exclusions: array(NcAlarmExclusionViewSchema)
|
|
47721
|
+
exclusions: array(NcAlarmExclusionViewSchema),
|
|
47722
|
+
/**
|
|
47723
|
+
* Inputs bypassed for the rest of this arm session; cleared on disarm.
|
|
47724
|
+
* Defaulted so an older hub answer still parses (as "none known").
|
|
47725
|
+
*/
|
|
47726
|
+
bypassedInputs: array(NcAlarmInputBypassViewSchema).default([])
|
|
47397
47727
|
});
|
|
47398
47728
|
var NcAlarmConfigSchema = object({
|
|
47399
47729
|
/**
|
|
@@ -65975,26 +66305,6 @@ var ApiKeySummarySchema = object({
|
|
|
65975
66305
|
createdAt: number(),
|
|
65976
66306
|
lastUsedAt: number().optional()
|
|
65977
66307
|
});
|
|
65978
|
-
var ScopedTokenSummarySchema = object({
|
|
65979
|
-
id: string(),
|
|
65980
|
-
userId: string(),
|
|
65981
|
-
name: string(),
|
|
65982
|
-
tokenPrefix: string(),
|
|
65983
|
-
scopes: array(TokenScopeSchema),
|
|
65984
|
-
expiresAt: number().nullish(),
|
|
65985
|
-
lastUsedAt: number().nullish(),
|
|
65986
|
-
createdAt: number()
|
|
65987
|
-
});
|
|
65988
|
-
var CreateScopedTokenInputSchema = object({
|
|
65989
|
-
userId: string(),
|
|
65990
|
-
name: string(),
|
|
65991
|
-
scopes: array(TokenScopeSchema),
|
|
65992
|
-
expiresAt: number().optional()
|
|
65993
|
-
});
|
|
65994
|
-
var CreateScopedTokenResultSchema = object({
|
|
65995
|
-
token: string(),
|
|
65996
|
-
record: ScopedTokenSummarySchema
|
|
65997
|
-
});
|
|
65998
66308
|
var OauthSessionSummarySchema = object({
|
|
65999
66309
|
id: string(),
|
|
66000
66310
|
userId: string(),
|
|
@@ -66016,11 +66326,11 @@ var TotpStatusSchema = object({
|
|
|
66016
66326
|
confirmedAt: number().nullable()
|
|
66017
66327
|
});
|
|
66018
66328
|
/**
|
|
66019
|
-
* user-management — singleton capability for user accounts
|
|
66020
|
-
*
|
|
66329
|
+
* user-management — singleton capability for user accounts and the
|
|
66330
|
+
* legacy API-key rows.
|
|
66021
66331
|
*
|
|
66022
66332
|
* v2 model: every method gated by `auth: 'admin'`. Admin-only delegation
|
|
66023
|
-
* — the subset check on `setUserScopes`
|
|
66333
|
+
* — the subset check on `setUserScopes` is moot
|
|
66024
66334
|
* because non-admins never reach these. If/when we open non-admin
|
|
66025
66335
|
* delegation, structural caller-scope subset check goes inside the
|
|
66026
66336
|
* provider.
|
|
@@ -66077,15 +66387,7 @@ method(_void(), array(UserSummarySchema), { auth: "admin" }), method(CreateUserI
|
|
|
66077
66387
|
kind: "mutation",
|
|
66078
66388
|
auth: "admin",
|
|
66079
66389
|
access: "delete"
|
|
66080
|
-
}), method(
|
|
66081
|
-
kind: "mutation",
|
|
66082
|
-
auth: "admin",
|
|
66083
|
-
access: "create"
|
|
66084
|
-
}), method(object({ id: string() }), object({ success: literal(true) }), {
|
|
66085
|
-
kind: "mutation",
|
|
66086
|
-
auth: "admin",
|
|
66087
|
-
access: "delete"
|
|
66088
|
-
}), method(object({ token: string() }), ScopedTokenSummarySchema.nullable(), { access: "view" }), method(object({ userId: string() }), array(ScopedTokenSummarySchema), { auth: "admin" }), method(object({ userId: string() }), TotpSetupResultSchema, {
|
|
66390
|
+
}), method(object({ userId: string() }), TotpSetupResultSchema, {
|
|
66089
66391
|
kind: "mutation",
|
|
66090
66392
|
auth: "admin",
|
|
66091
66393
|
access: "create"
|
|
@@ -70259,7 +70561,7 @@ Object.freeze({
|
|
|
70259
70561
|
capName: "llm",
|
|
70260
70562
|
capScope: "system",
|
|
70261
70563
|
addonId: null,
|
|
70262
|
-
access: "
|
|
70564
|
+
access: "create"
|
|
70263
70565
|
},
|
|
70264
70566
|
"llm.listNodeModels": {
|
|
70265
70567
|
capName: "llm",
|
|
@@ -70561,7 +70863,19 @@ Object.freeze({
|
|
|
70561
70863
|
addonId: null,
|
|
70562
70864
|
access: "view"
|
|
70563
70865
|
},
|
|
70564
|
-
"logDestination.
|
|
70866
|
+
"logDestination.cancelRead": {
|
|
70867
|
+
capName: "log-destination",
|
|
70868
|
+
capScope: "system",
|
|
70869
|
+
addonId: null,
|
|
70870
|
+
access: "create"
|
|
70871
|
+
},
|
|
70872
|
+
"logDestination.describeRead": {
|
|
70873
|
+
capName: "log-destination",
|
|
70874
|
+
capScope: "system",
|
|
70875
|
+
addonId: null,
|
|
70876
|
+
access: "view"
|
|
70877
|
+
},
|
|
70878
|
+
"logDestination.read": {
|
|
70565
70879
|
capName: "log-destination",
|
|
70566
70880
|
capScope: "system",
|
|
70567
70881
|
addonId: null,
|
|
@@ -74923,12 +75237,6 @@ Object.freeze({
|
|
|
74923
75237
|
addonId: null,
|
|
74924
75238
|
access: "create"
|
|
74925
75239
|
},
|
|
74926
|
-
"userManagement.createScopedToken": {
|
|
74927
|
-
capName: "user-management",
|
|
74928
|
-
capScope: "system",
|
|
74929
|
-
addonId: null,
|
|
74930
|
-
access: "create"
|
|
74931
|
-
},
|
|
74932
75240
|
"userManagement.createUser": {
|
|
74933
75241
|
capName: "user-management",
|
|
74934
75242
|
capScope: "system",
|
|
@@ -74977,12 +75285,6 @@ Object.freeze({
|
|
|
74977
75285
|
addonId: null,
|
|
74978
75286
|
access: "view"
|
|
74979
75287
|
},
|
|
74980
|
-
"userManagement.listScopedTokens": {
|
|
74981
|
-
capName: "user-management",
|
|
74982
|
-
capScope: "system",
|
|
74983
|
-
addonId: null,
|
|
74984
|
-
access: "view"
|
|
74985
|
-
},
|
|
74986
75288
|
"userManagement.listUsers": {
|
|
74987
75289
|
capName: "user-management",
|
|
74988
75290
|
capScope: "system",
|
|
@@ -75037,12 +75339,6 @@ Object.freeze({
|
|
|
75037
75339
|
addonId: null,
|
|
75038
75340
|
access: "delete"
|
|
75039
75341
|
},
|
|
75040
|
-
"userManagement.revokeScopedToken": {
|
|
75041
|
-
capName: "user-management",
|
|
75042
|
-
capScope: "system",
|
|
75043
|
-
addonId: null,
|
|
75044
|
-
access: "delete"
|
|
75045
|
-
},
|
|
75046
75342
|
"userManagement.setupTotp": {
|
|
75047
75343
|
capName: "user-management",
|
|
75048
75344
|
capScope: "system",
|
|
@@ -75073,12 +75369,6 @@ Object.freeze({
|
|
|
75073
75369
|
addonId: null,
|
|
75074
75370
|
access: "view"
|
|
75075
75371
|
},
|
|
75076
|
-
"userManagement.validateScopedToken": {
|
|
75077
|
-
capName: "user-management",
|
|
75078
|
-
capScope: "system",
|
|
75079
|
-
addonId: null,
|
|
75080
|
-
access: "view"
|
|
75081
|
-
},
|
|
75082
75372
|
"userManagement.verifyTotp": {
|
|
75083
75373
|
capName: "user-management",
|
|
75084
75374
|
capScope: "system",
|
|
@@ -76592,6 +76882,11 @@ Object.freeze({
|
|
|
76592
76882
|
form: "single",
|
|
76593
76883
|
optional: false
|
|
76594
76884
|
}],
|
|
76885
|
+
"logDestination.read": [{
|
|
76886
|
+
name: "deviceId",
|
|
76887
|
+
form: "single",
|
|
76888
|
+
optional: true
|
|
76889
|
+
}],
|
|
76595
76890
|
"mediaPlayer.getStatus": [{
|
|
76596
76891
|
name: "deviceId",
|
|
76597
76892
|
form: "single",
|