@camstack/addon-post-analysis 1.2.289 → 1.2.290
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/{clip-model-registry-JFtcAZEB.js → clip-model-registry--sFeijO7.js} +437 -23
- package/dist/{clip-model-registry-g3-Yz08Y.mjs → clip-model-registry-CoYBCvtr.mjs} +437 -23
- package/dist/embedding-encoder/index.js +1 -1
- package/dist/embedding-encoder/index.mjs +1 -1
- package/dist/pipeline-analytics/_stub.js +2 -2
- package/dist/pipeline-analytics/{_virtual_mf-localSharedImportMap___mfe_internal__addon_pipeline_analytics_widgets-D5OpYfsh.mjs → _virtual_mf-localSharedImportMap___mfe_internal__addon_pipeline_analytics_widgets-r3ZZOSzj.mjs} +2 -2
- package/dist/pipeline-analytics/_virtual_mf___mfe_internal__addon_pipeline_analytics_widgets__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-2OwTV_D2.mjs +26 -0
- package/dist/pipeline-analytics/_virtual_mf___mfe_internal__addon_pipeline_analytics_widgets__loadShare___mf_0_camstack_mf_1_ui_mf_2_library__loadShare__.js-DAAKQ3sC.mjs +26 -0
- package/dist/pipeline-analytics/{hostInit-BsQiXbDx.mjs → hostInit-PoeIZAFx.mjs} +2 -2
- package/dist/pipeline-analytics/index.js +97 -21
- package/dist/pipeline-analytics/index.mjs +97 -21
- package/dist/pipeline-analytics/remoteEntry.js +1 -1
- package/package.json +1 -1
- package/dist/pipeline-analytics/_virtual_mf___mfe_internal__addon_pipeline_analytics_widgets__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-CfU5NAwo.mjs +0 -26
- package/dist/pipeline-analytics/_virtual_mf___mfe_internal__addon_pipeline_analytics_widgets__loadShare___mf_0_camstack_mf_1_ui_mf_2_library__loadShare__.js-r4OU_ahc.mjs +0 -26
|
@@ -10271,6 +10271,16 @@ var ModelCatalogEntrySchema = object({
|
|
|
10271
10271
|
*/
|
|
10272
10272
|
postprocessor: custom().optional(),
|
|
10273
10273
|
/**
|
|
10274
|
+
* Per-MODEL default confidence floor. Absent ⇒ the step's
|
|
10275
|
+
* `StepDefinition.defaultConfidence` applies. A score is a property of one
|
|
10276
|
+
* model's output scale, not of the step slot it sits in: YuNet's
|
|
10277
|
+
* `sqrt(cls·obj)` is not SCRFD's score, and inheriting SCRFD's 0.5 filled the
|
|
10278
|
+
* face gallery with wheels and hands (D662, amends D645). An operator's
|
|
10279
|
+
* explicit value still wins over it. Resolved in ONE place —
|
|
10280
|
+
* `addon-pipeline/.../registry/effective-confidence.ts`.
|
|
10281
|
+
*/
|
|
10282
|
+
defaultConfidence: number().min(0).max(1).optional(),
|
|
10283
|
+
/**
|
|
10274
10284
|
* When true, the executor produces a landmark-aligned crop (similarity warp
|
|
10275
10285
|
* onto the canonical template) before this step runs, instead of a plain
|
|
10276
10286
|
* axis-aligned bbox crop. Required for face-recognition embedders (ArcFace):
|
|
@@ -10403,23 +10413,6 @@ var ExpressionEvalError = class extends Error {
|
|
|
10403
10413
|
this.name = "ExpressionEvalError";
|
|
10404
10414
|
}
|
|
10405
10415
|
};
|
|
10406
|
-
/**
|
|
10407
|
-
* Frozen, null-prototype builtin function table for the expression engine
|
|
10408
|
-
* (spec §4 rule 4). The table is the SOLE surface of callable functions: the
|
|
10409
|
-
* parser rejects any callee not in it, and the evaluator gates each call on an
|
|
10410
|
-
* own-property check against it.
|
|
10411
|
-
*
|
|
10412
|
-
* Because the object has a NULL prototype AND is `Object.freeze`d:
|
|
10413
|
-
* - it cannot be polluted (no `__proto__` / `constructor` write reaches it);
|
|
10414
|
-
* - a lookup for `toString` / `hasOwnProperty` / `constructor` finds NOTHING
|
|
10415
|
-
* (there is no `Object.prototype` in the chain), so those names are not
|
|
10416
|
-
* callable — they are simply "unknown function" at parse time.
|
|
10417
|
-
*
|
|
10418
|
-
* Every numeric argument is validated as a finite number and every numeric
|
|
10419
|
-
* RESULT is re-checked finite, so `/0`, `sqrt(-1)` (→ NaN) and overflow
|
|
10420
|
-
* (`pow(10,400)` → Infinity) all raise `ExpressionEvalError` and fail the link
|
|
10421
|
-
* closed rather than emitting a garbage value.
|
|
10422
|
-
*/
|
|
10423
10416
|
function asFiniteNumber(value, name, index) {
|
|
10424
10417
|
if (typeof value !== "number" || !Number.isFinite(value)) throw new ExpressionEvalError(`${name}: argument ${index + 1} must be a finite number`);
|
|
10425
10418
|
return value;
|
|
@@ -10435,6 +10428,10 @@ function finiteResult(value, name) {
|
|
|
10435
10428
|
function allFiniteNumbers(args, name) {
|
|
10436
10429
|
return args.map((a, idx) => asFiniteNumber(a, name, idx));
|
|
10437
10430
|
}
|
|
10431
|
+
function asBoolean$1(value, name, index) {
|
|
10432
|
+
if (typeof value !== "boolean") throw new ExpressionEvalError(`${name}: argument ${index + 1} must be a boolean`);
|
|
10433
|
+
return value;
|
|
10434
|
+
}
|
|
10438
10435
|
var INF = Number.POSITIVE_INFINITY;
|
|
10439
10436
|
var table = {
|
|
10440
10437
|
min: {
|
|
@@ -10535,6 +10532,40 @@ var table = {
|
|
|
10535
10532
|
if (from === to) return x;
|
|
10536
10533
|
throw new ExpressionEvalError("convert: unit conversion table not installed");
|
|
10537
10534
|
}
|
|
10535
|
+
},
|
|
10536
|
+
any: {
|
|
10537
|
+
minArgs: 1,
|
|
10538
|
+
maxArgs: INF,
|
|
10539
|
+
apply: (args) => args.map((a, i) => asBoolean$1(a, "any", i)).some((b) => b)
|
|
10540
|
+
},
|
|
10541
|
+
all: {
|
|
10542
|
+
minArgs: 1,
|
|
10543
|
+
maxArgs: INF,
|
|
10544
|
+
apply: (args) => args.map((a, i) => asBoolean$1(a, "all", i)).every((b) => b)
|
|
10545
|
+
},
|
|
10546
|
+
within: {
|
|
10547
|
+
minArgs: 2,
|
|
10548
|
+
maxArgs: 2,
|
|
10549
|
+
apply: (args, hooks) => {
|
|
10550
|
+
const windowMs = asFiniteNumber(args[1], "within", 1);
|
|
10551
|
+
if (windowMs < 0) throw new ExpressionEvalError("within: the window must not be negative");
|
|
10552
|
+
const at = args[0];
|
|
10553
|
+
if (at === null) return false;
|
|
10554
|
+
const ts = asFiniteNumber(at, "within", 0);
|
|
10555
|
+
const now = hooks.now;
|
|
10556
|
+
if (now === void 0 || !Number.isFinite(now)) throw new ExpressionEvalError("within: no clock was supplied to this evaluation");
|
|
10557
|
+
const inside = now - ts <= windowMs;
|
|
10558
|
+
if (inside) hooks.noteDeadline?.(ts + windowMs + 1);
|
|
10559
|
+
return inside;
|
|
10560
|
+
}
|
|
10561
|
+
},
|
|
10562
|
+
latest: {
|
|
10563
|
+
minArgs: 1,
|
|
10564
|
+
maxArgs: INF,
|
|
10565
|
+
apply: (args) => {
|
|
10566
|
+
const present = args.flatMap((a, i) => a === null ? [] : [asFiniteNumber(a, "latest", i)]);
|
|
10567
|
+
return present.length === 0 ? null : finiteResult(Math.max(...present), "latest");
|
|
10568
|
+
}
|
|
10538
10569
|
}
|
|
10539
10570
|
};
|
|
10540
10571
|
Object.freeze(Object.assign(Object.create(null), table));
|
|
@@ -11149,7 +11180,7 @@ var AutomationActionSchema = discriminatedUnion("kind", [
|
|
|
11149
11180
|
code: string().min(1).max(2e4)
|
|
11150
11181
|
})
|
|
11151
11182
|
]);
|
|
11152
|
-
object({
|
|
11183
|
+
var AutomationRecipeSchema = object({
|
|
11153
11184
|
triggers: array(AutomationTriggerSchema),
|
|
11154
11185
|
conditions: AutomationConditionSchema.optional(),
|
|
11155
11186
|
actions: array(AutomationActionSchema)
|
|
@@ -13325,6 +13356,195 @@ var cameraStreamsCapability = {
|
|
|
13325
13356
|
function kebabToCamel(s) {
|
|
13326
13357
|
return s.replace(/-([a-z])/g, (_, c) => c.toUpperCase());
|
|
13327
13358
|
}
|
|
13359
|
+
/** A composed device's stableId is this prefix plus the block id. */
|
|
13360
|
+
var COMPOSED_DEVICE_STABLE_ID_PREFIX = "composed-";
|
|
13361
|
+
/** Longest snippet a `code` source may carry (slice 4). */
|
|
13362
|
+
var MAX_COMPOSITION_CODE_LENGTH = 2e4;
|
|
13363
|
+
var CompositionSourceRefSchema = object({
|
|
13364
|
+
/** The owning addon; `stableId` is unique only within it. */
|
|
13365
|
+
addonId: string().min(1),
|
|
13366
|
+
stableId: string().min(1)
|
|
13367
|
+
});
|
|
13368
|
+
/** One field of one capability of one source device. */
|
|
13369
|
+
var CompositionFieldReadSchema = object({
|
|
13370
|
+
source: CompositionSourceRefSchema,
|
|
13371
|
+
cap: string().min(1),
|
|
13372
|
+
/** Dotted path into the source cap's runtime-state slice. */
|
|
13373
|
+
fieldPath: string().min(1)
|
|
13374
|
+
});
|
|
13375
|
+
/** `from`: copy one source field verbatim. It is also an expression's `from` binding. */
|
|
13376
|
+
var CompositionFromSourceSchema = CompositionFieldReadSchema.extend({ kind: literal("from") });
|
|
13377
|
+
var CompositionBindingSchema = discriminatedUnion("kind", [CompositionFromSourceSchema, object({
|
|
13378
|
+
kind: literal("literal"),
|
|
13379
|
+
value: union([
|
|
13380
|
+
string(),
|
|
13381
|
+
number(),
|
|
13382
|
+
boolean(),
|
|
13383
|
+
_null()
|
|
13384
|
+
])
|
|
13385
|
+
})]);
|
|
13386
|
+
/**
|
|
13387
|
+
* `expression`: a formula over named bindings, in the salvaged expression
|
|
13388
|
+
* engine. Validated at parse by the SAME function every other consumer runs,
|
|
13389
|
+
* so the editor and the store cannot disagree.
|
|
13390
|
+
*/
|
|
13391
|
+
var CompositionExpressionSourceSchema = object({
|
|
13392
|
+
kind: literal("expression"),
|
|
13393
|
+
expr: string().min(1).max(MAX_EXPRESSION_SOURCE_LENGTH),
|
|
13394
|
+
bindings: record(string().regex(EXPRESSION_IDENTIFIER_RE), CompositionBindingSchema)
|
|
13395
|
+
}).superRefine((src, ctx) => {
|
|
13396
|
+
const err = validateExpressionSource(src);
|
|
13397
|
+
if (err !== null) ctx.addIssue({
|
|
13398
|
+
code: "custom",
|
|
13399
|
+
message: err,
|
|
13400
|
+
path: ["expr"]
|
|
13401
|
+
});
|
|
13402
|
+
});
|
|
13403
|
+
/** `code`: RESERVED for slice 4 (own runner, one-way eject). */
|
|
13404
|
+
var CompositionCodeSourceSchema = object({
|
|
13405
|
+
kind: literal("code"),
|
|
13406
|
+
code: string().min(1).max(MAX_COMPOSITION_CODE_LENGTH)
|
|
13407
|
+
});
|
|
13408
|
+
var CompositionFieldSourceSchema = discriminatedUnion("kind", [
|
|
13409
|
+
CompositionFromSourceSchema,
|
|
13410
|
+
CompositionExpressionSourceSchema,
|
|
13411
|
+
CompositionCodeSourceSchema
|
|
13412
|
+
]);
|
|
13413
|
+
var CompositionCommandTargetSchema = discriminatedUnion("kind", [object({
|
|
13414
|
+
kind: literal("forward"),
|
|
13415
|
+
source: CompositionSourceRefSchema,
|
|
13416
|
+
cap: string().min(1),
|
|
13417
|
+
method: string().min(1)
|
|
13418
|
+
}), CompositionCodeSourceSchema]);
|
|
13419
|
+
var CompositionFeatureSchema = discriminatedUnion("kind", [object({
|
|
13420
|
+
kind: literal("fields"),
|
|
13421
|
+
cap: string().min(1),
|
|
13422
|
+
fields: record(string().min(1), CompositionFieldSourceSchema).refine((fields) => Object.keys(fields).length <= 32, { message: `at most 32 fields per capability` }),
|
|
13423
|
+
/** RESERVED for slice 3; refused by the validator when non-empty. */
|
|
13424
|
+
commands: record(string().min(1), CompositionCommandTargetSchema).optional()
|
|
13425
|
+
}), object({
|
|
13426
|
+
kind: literal("passthrough"),
|
|
13427
|
+
cap: string().min(1),
|
|
13428
|
+
source: CompositionSourceRefSchema
|
|
13429
|
+
})]);
|
|
13430
|
+
var CompositionSchema = object({
|
|
13431
|
+
target: discriminatedUnion("kind", [object({
|
|
13432
|
+
kind: literal("new"),
|
|
13433
|
+
type: _enum(DeviceType),
|
|
13434
|
+
role: _enum(DeviceRole).optional()
|
|
13435
|
+
}), object({
|
|
13436
|
+
kind: literal("existing"),
|
|
13437
|
+
device: CompositionSourceRefSchema
|
|
13438
|
+
})]),
|
|
13439
|
+
features: array(CompositionFeatureSchema).min(1).max(16)
|
|
13440
|
+
}).superRefine((composition, ctx) => {
|
|
13441
|
+
const seen = /* @__PURE__ */ new Set();
|
|
13442
|
+
composition.features.forEach((feature, index) => {
|
|
13443
|
+
if (seen.has(feature.cap)) ctx.addIssue({
|
|
13444
|
+
code: "custom",
|
|
13445
|
+
message: `capability \`${feature.cap}\` is composed twice — one feature per capability`,
|
|
13446
|
+
path: [
|
|
13447
|
+
"features",
|
|
13448
|
+
index,
|
|
13449
|
+
"cap"
|
|
13450
|
+
]
|
|
13451
|
+
});
|
|
13452
|
+
seen.add(feature.cap);
|
|
13453
|
+
});
|
|
13454
|
+
});
|
|
13455
|
+
/** One refusal, named (D391). `path` points into the composition, e.g. `features[0].fields.celsius`. */
|
|
13456
|
+
var CompositionProblemSchema = object({
|
|
13457
|
+
code: _enum([
|
|
13458
|
+
"reserved-variant",
|
|
13459
|
+
"unknown-capability",
|
|
13460
|
+
"not-composable",
|
|
13461
|
+
"wrong-device-type",
|
|
13462
|
+
"has-commands",
|
|
13463
|
+
"unknown-field",
|
|
13464
|
+
"nested-field",
|
|
13465
|
+
"missing-field",
|
|
13466
|
+
"kind-mismatch",
|
|
13467
|
+
"may-be-null",
|
|
13468
|
+
"source-missing",
|
|
13469
|
+
"source-unreadable",
|
|
13470
|
+
"source-capability-missing",
|
|
13471
|
+
"source-field-unknown",
|
|
13472
|
+
"expression-invalid",
|
|
13473
|
+
"cycle",
|
|
13474
|
+
"duplicate-target"
|
|
13475
|
+
]),
|
|
13476
|
+
path: string(),
|
|
13477
|
+
message: string()
|
|
13478
|
+
});
|
|
13479
|
+
var CompositionFieldKindSchema = _enum([
|
|
13480
|
+
"string",
|
|
13481
|
+
"number",
|
|
13482
|
+
"boolean",
|
|
13483
|
+
"enum"
|
|
13484
|
+
]);
|
|
13485
|
+
/** How a field says "unavailable": `null` when its schema allows it, else the device goes offline (D393). */
|
|
13486
|
+
var CompositionUnavailableModeSchema = _enum(["null", "offline"]);
|
|
13487
|
+
/**
|
|
13488
|
+
* `derived` reads a source · `clock` reads only `now`, recomputed when a sibling
|
|
13489
|
+
* field of its cap changes value · `constant` reads nothing, computed once.
|
|
13490
|
+
*/
|
|
13491
|
+
var CompositionFieldRoleSchema = _enum([
|
|
13492
|
+
"derived",
|
|
13493
|
+
"clock",
|
|
13494
|
+
"constant"
|
|
13495
|
+
]);
|
|
13496
|
+
var CompositionFieldPlanSchema = object({
|
|
13497
|
+
cap: string(),
|
|
13498
|
+
path: string(),
|
|
13499
|
+
/** Index into `composition.features` this field's capability came from —
|
|
13500
|
+
* lets a source/cycle problem name its path as `features[N].fields.<path>`
|
|
13501
|
+
* (the same convention `planComposition`'s own problems already use). */
|
|
13502
|
+
featureIndex: number().int().nonnegative(),
|
|
13503
|
+
kind: CompositionFieldKindSchema,
|
|
13504
|
+
nullable: boolean(),
|
|
13505
|
+
required: boolean(),
|
|
13506
|
+
unavailable: CompositionUnavailableModeSchema,
|
|
13507
|
+
role: CompositionFieldRoleSchema,
|
|
13508
|
+
source: CompositionFieldSourceSchema,
|
|
13509
|
+
reads: array(CompositionFieldReadSchema)
|
|
13510
|
+
});
|
|
13511
|
+
var CompositionValidationSchema = object({
|
|
13512
|
+
ok: boolean(),
|
|
13513
|
+
problems: array(CompositionProblemSchema),
|
|
13514
|
+
fields: array(CompositionFieldPlanSchema)
|
|
13515
|
+
});
|
|
13516
|
+
/** Mirrors `CoreBlockStatus`, pinned by `core-blocks-source.spec.ts` (Task 11). */
|
|
13517
|
+
var CompositionRunStatusSchema = _enum([
|
|
13518
|
+
"stopped",
|
|
13519
|
+
"starting",
|
|
13520
|
+
"running",
|
|
13521
|
+
"failed"
|
|
13522
|
+
]);
|
|
13523
|
+
var CompositionFieldStateKindSchema = _enum([
|
|
13524
|
+
"fresh",
|
|
13525
|
+
"stale",
|
|
13526
|
+
"unavailable"
|
|
13527
|
+
]);
|
|
13528
|
+
var CompositionFieldStateSchema = object({
|
|
13529
|
+
cap: string(),
|
|
13530
|
+
path: string(),
|
|
13531
|
+
state: CompositionFieldStateKindSchema,
|
|
13532
|
+
/** `null` whenever `state === 'unavailable'`; never a plausible stand-in (D393). */
|
|
13533
|
+
value: union([
|
|
13534
|
+
string(),
|
|
13535
|
+
number(),
|
|
13536
|
+
boolean(),
|
|
13537
|
+
_null()
|
|
13538
|
+
]),
|
|
13539
|
+
reason: string().optional()
|
|
13540
|
+
});
|
|
13541
|
+
var CompositionBlockStateSchema = object({
|
|
13542
|
+
blockId: string(),
|
|
13543
|
+
deviceId: number().nullable(),
|
|
13544
|
+
status: CompositionRunStatusSchema,
|
|
13545
|
+
reason: string().optional(),
|
|
13546
|
+
fields: array(CompositionFieldStateSchema)
|
|
13547
|
+
});
|
|
13328
13548
|
/** Where a block runs. The operator chooses — a block driving a device on an
|
|
13329
13549
|
* agent is the reason placement is not fixed to the hub. */
|
|
13330
13550
|
var CoreBlockPlacementSchema = union([literal("hub"), string().min(1)]);
|
|
@@ -13351,6 +13571,30 @@ var CoreBlockInputSchema = object({
|
|
|
13351
13571
|
*/
|
|
13352
13572
|
integrationId: string().optional()
|
|
13353
13573
|
});
|
|
13574
|
+
/**
|
|
13575
|
+
* What a block IS (D659). Absent means `code` — every row stored before this
|
|
13576
|
+
* union keeps working unchanged.
|
|
13577
|
+
* - `code`: the TypeScript in `code`, compiled and run in its own runner;
|
|
13578
|
+
* - `recipe`: RESERVED (automations), stored shape only; refused at run by name;
|
|
13579
|
+
* - `composition`: declarative, run by the shared `composer`; `code` is `''`.
|
|
13580
|
+
*/
|
|
13581
|
+
var CoreBlockSourceSchema = discriminatedUnion("kind", [
|
|
13582
|
+
object({ kind: literal("code") }),
|
|
13583
|
+
object({
|
|
13584
|
+
kind: literal("recipe"),
|
|
13585
|
+
recipe: AutomationRecipeSchema
|
|
13586
|
+
}),
|
|
13587
|
+
object({
|
|
13588
|
+
kind: literal("composition"),
|
|
13589
|
+
composition: CompositionSchema
|
|
13590
|
+
})
|
|
13591
|
+
]);
|
|
13592
|
+
/** The client-authored half of a composition block. No `code`, no placement (hub-only; Phase 7). */
|
|
13593
|
+
var CompositionBlockInputSchema = object({
|
|
13594
|
+
name: string().min(1).max(120),
|
|
13595
|
+
enabled: boolean(),
|
|
13596
|
+
composition: CompositionSchema
|
|
13597
|
+
});
|
|
13354
13598
|
/** A stored block. */
|
|
13355
13599
|
var CoreBlockSchema = CoreBlockInputSchema.extend({
|
|
13356
13600
|
id: string(),
|
|
@@ -13366,8 +13610,38 @@ var CoreBlockSchema = CoreBlockInputSchema.extend({
|
|
|
13366
13610
|
*/
|
|
13367
13611
|
lastError: string().optional(),
|
|
13368
13612
|
/** Ms epoch of the last state change. */
|
|
13369
|
-
lastChangedAt: number()
|
|
13613
|
+
lastChangedAt: number(),
|
|
13614
|
+
/** What the block is. Absent means `code` (D659). */
|
|
13615
|
+
source: CoreBlockSourceSchema.optional()
|
|
13616
|
+
});
|
|
13617
|
+
/** A stored composition block and what the composer says about it. */
|
|
13618
|
+
var CompositionViewSchema = object({
|
|
13619
|
+
block: CoreBlockSchema,
|
|
13620
|
+
state: discriminatedUnion("kind", [object({
|
|
13621
|
+
kind: literal("answered"),
|
|
13622
|
+
state: CompositionBlockStateSchema.nullable()
|
|
13623
|
+
}), object({
|
|
13624
|
+
kind: literal("unreachable"),
|
|
13625
|
+
error: string()
|
|
13626
|
+
})])
|
|
13370
13627
|
});
|
|
13628
|
+
/**
|
|
13629
|
+
* A read of the stored compositions. `not-loaded` while the `core_blocks`
|
|
13630
|
+
* table has not been READ: an empty answer then would make "not yet known"
|
|
13631
|
+
* look like "none", and invite the operator to recreate what exists (D315).
|
|
13632
|
+
*/
|
|
13633
|
+
var CompositionsNotLoadedSchema = object({
|
|
13634
|
+
state: literal("not-loaded"),
|
|
13635
|
+
reason: string()
|
|
13636
|
+
});
|
|
13637
|
+
var CompositionListReadSchema = discriminatedUnion("state", [object({
|
|
13638
|
+
state: literal("loaded"),
|
|
13639
|
+
views: array(CompositionViewSchema)
|
|
13640
|
+
}), CompositionsNotLoadedSchema]);
|
|
13641
|
+
var CompositionGetReadSchema = discriminatedUnion("state", [object({
|
|
13642
|
+
state: literal("loaded"),
|
|
13643
|
+
view: CompositionViewSchema.nullable()
|
|
13644
|
+
}), CompositionsNotLoadedSchema]);
|
|
13371
13645
|
/** What a compile attempt produced. */
|
|
13372
13646
|
var CoreBlockCompileResultSchema = object({
|
|
13373
13647
|
ok: boolean(),
|
|
@@ -13405,7 +13679,72 @@ method(object({}), object({ blocks: array(CoreBlockSchema) }), { auth: "admin" }
|
|
|
13405
13679
|
}), method(object({}), object({ libs: array(object({
|
|
13406
13680
|
filePath: string(),
|
|
13407
13681
|
content: string()
|
|
13408
|
-
})) }), { auth: "admin" })
|
|
13682
|
+
})) }), { auth: "admin" }), method(object({ block: CompositionBlockInputSchema }), object({ block: CoreBlockSchema }), {
|
|
13683
|
+
kind: "mutation",
|
|
13684
|
+
auth: "admin",
|
|
13685
|
+
caller: "required"
|
|
13686
|
+
}), method(object({
|
|
13687
|
+
blockId: string(),
|
|
13688
|
+
expectedUpdatedAt: number(),
|
|
13689
|
+
block: CompositionBlockInputSchema.partial()
|
|
13690
|
+
}), object({ block: CoreBlockSchema }), {
|
|
13691
|
+
kind: "mutation",
|
|
13692
|
+
auth: "admin",
|
|
13693
|
+
caller: "required"
|
|
13694
|
+
}), method(object({ blockId: string() }), CompositionGetReadSchema, { auth: "admin" }), method(object({}), CompositionListReadSchema, { auth: "admin" }), method(object({
|
|
13695
|
+
composition: CompositionSchema,
|
|
13696
|
+
blockId: string().optional()
|
|
13697
|
+
}), CompositionValidationSchema, {
|
|
13698
|
+
kind: "mutation",
|
|
13699
|
+
auth: "admin",
|
|
13700
|
+
access: "view"
|
|
13701
|
+
});
|
|
13702
|
+
var ComposerBlockSchema = object({
|
|
13703
|
+
id: string().min(1),
|
|
13704
|
+
name: string().min(1).max(120),
|
|
13705
|
+
enabled: boolean(),
|
|
13706
|
+
updatedAt: number(),
|
|
13707
|
+
composition: CompositionSchema
|
|
13708
|
+
});
|
|
13709
|
+
/**
|
|
13710
|
+
* A stored composition row that no longer PARSES — a schema a release
|
|
13711
|
+
* tightened, a row written by a newer build. Sent by id so the composer keeps
|
|
13712
|
+
* its device as a placeholder and reports the block `failed` naming the parse
|
|
13713
|
+
* error. Leaving it out would read, twice, exactly like a delete (D49).
|
|
13714
|
+
*/
|
|
13715
|
+
var ComposerUnreadableBlockSchema = object({
|
|
13716
|
+
id: string().min(1),
|
|
13717
|
+
/** The row's stored name column; null when even that is unreadable (the device keeps the name it has). */
|
|
13718
|
+
name: string().nullable(),
|
|
13719
|
+
/** The parse error, in the operator's words. */
|
|
13720
|
+
error: string()
|
|
13721
|
+
});
|
|
13722
|
+
method(object({
|
|
13723
|
+
/** The shared Blocks integration; null until `core-blocks` has reconciled it. */
|
|
13724
|
+
integrationId: string().nullable(),
|
|
13725
|
+
/** False when the `core_blocks` read failed: then nothing may be withdrawn (D49). */
|
|
13726
|
+
storeLoaded: boolean(),
|
|
13727
|
+
blocks: array(ComposerBlockSchema),
|
|
13728
|
+
/** Operator restarts: rebuild these runtimes and re-resolve their sources. Stores nothing (D62). */
|
|
13729
|
+
restartBlockIds: array(string()),
|
|
13730
|
+
/** Composition rows that exist but do not parse: held, never withdrawn, reported failed. */
|
|
13731
|
+
unreadableBlocks: array(ComposerUnreadableBlockSchema)
|
|
13732
|
+
}), object({
|
|
13733
|
+
blocks: array(object({
|
|
13734
|
+
blockId: string(),
|
|
13735
|
+
status: CompositionRunStatusSchema,
|
|
13736
|
+
reason: string().optional()
|
|
13737
|
+
})),
|
|
13738
|
+
/**
|
|
13739
|
+
* False when the composer declared and withdrew NOTHING (store not loaded,
|
|
13740
|
+
* integration unknown, its own rows unread or read empty once). An empty
|
|
13741
|
+
* apply the caller owes is paid off only by one the composer acted on (D49).
|
|
13742
|
+
*/
|
|
13743
|
+
acted: boolean()
|
|
13744
|
+
}), {
|
|
13745
|
+
kind: "mutation",
|
|
13746
|
+
auth: "admin"
|
|
13747
|
+
}), method(object({ blockIds: array(string()) }), object({ states: array(CompositionBlockStateSchema) }), { auth: "admin" });
|
|
13409
13748
|
/**
|
|
13410
13749
|
* `custom-model-registry` — collection cap exposing operator-registered
|
|
13411
13750
|
* custom detection models. Each provider (today: `addon-model-studio`)
|
|
@@ -19449,8 +19788,8 @@ var NcTestResultSchema = object({
|
|
|
19449
19788
|
className: string().optional(),
|
|
19450
19789
|
label: string().optional()
|
|
19451
19790
|
});
|
|
19452
|
-
/** The rule kinds, as data. `NcRuleKind` in `notification/rule-kinds.ts` is
|
|
19453
|
-
*
|
|
19791
|
+
/** The rule kinds, as data. `NcRuleKind` in `notification/rule-kinds.ts` is
|
|
19792
|
+
* `z.infer` of this schema — one shape, no twin. `mixed` is DERIVED
|
|
19454
19793
|
* (a stored system rule whose kinds span families, D637) and never authored. */
|
|
19455
19794
|
var NcRuleKindSchema = _enum([
|
|
19456
19795
|
"detection",
|
|
@@ -24082,7 +24421,8 @@ var PipelineModelOptionSchema = object({
|
|
|
24082
24421
|
})),
|
|
24083
24422
|
group: ModelVariantGroupSchema.optional(),
|
|
24084
24423
|
legacy: boolean().optional(),
|
|
24085
|
-
provider: ModelProviderIdSchema.optional()
|
|
24424
|
+
provider: ModelProviderIdSchema.optional(),
|
|
24425
|
+
defaultConfidence: number().optional()
|
|
24086
24426
|
});
|
|
24087
24427
|
var ConfigFieldBridge = custom();
|
|
24088
24428
|
var PipelineAddonSchemaSchema = object({
|
|
@@ -39996,6 +40336,38 @@ var zoneRulesCapability = {
|
|
|
39996
40336
|
*/
|
|
39997
40337
|
durability: "restored"
|
|
39998
40338
|
};
|
|
40339
|
+
var NUMBER = {
|
|
40340
|
+
kind: "fixed",
|
|
40341
|
+
result: ["number"]
|
|
40342
|
+
};
|
|
40343
|
+
var BOOLEAN = {
|
|
40344
|
+
kind: "fixed",
|
|
40345
|
+
result: ["boolean"]
|
|
40346
|
+
};
|
|
40347
|
+
Object.freeze({
|
|
40348
|
+
min: NUMBER,
|
|
40349
|
+
max: NUMBER,
|
|
40350
|
+
abs: NUMBER,
|
|
40351
|
+
floor: NUMBER,
|
|
40352
|
+
ceil: NUMBER,
|
|
40353
|
+
sqrt: NUMBER,
|
|
40354
|
+
round: NUMBER,
|
|
40355
|
+
pow: NUMBER,
|
|
40356
|
+
clamp: NUMBER,
|
|
40357
|
+
avg: NUMBER,
|
|
40358
|
+
sum: NUMBER,
|
|
40359
|
+
age: NUMBER,
|
|
40360
|
+
convert: NUMBER,
|
|
40361
|
+
coalesce: { kind: "coalesce" },
|
|
40362
|
+
any: BOOLEAN,
|
|
40363
|
+
all: BOOLEAN,
|
|
40364
|
+
within: BOOLEAN,
|
|
40365
|
+
latest: {
|
|
40366
|
+
kind: "fixed",
|
|
40367
|
+
result: ["number", "null"]
|
|
40368
|
+
}
|
|
40369
|
+
});
|
|
40370
|
+
`${COMPOSED_DEVICE_STABLE_ID_PREFIX}`;
|
|
39999
40371
|
/**
|
|
40000
40372
|
* Most specific first. Extending this list is how a new device kind becomes
|
|
40001
40373
|
* gateable; nothing else needs to change.
|
|
@@ -43397,6 +43769,18 @@ Object.freeze({
|
|
|
43397
43769
|
addonId: null,
|
|
43398
43770
|
access: "create"
|
|
43399
43771
|
},
|
|
43772
|
+
"composer.applyBlocks": {
|
|
43773
|
+
capName: "composer",
|
|
43774
|
+
capScope: "system",
|
|
43775
|
+
addonId: null,
|
|
43776
|
+
access: "create"
|
|
43777
|
+
},
|
|
43778
|
+
"composer.getStates": {
|
|
43779
|
+
capName: "composer",
|
|
43780
|
+
capScope: "system",
|
|
43781
|
+
addonId: null,
|
|
43782
|
+
access: "view"
|
|
43783
|
+
},
|
|
43400
43784
|
"connectionTest.describeTest": {
|
|
43401
43785
|
capName: "connection-test",
|
|
43402
43786
|
capScope: "system",
|
|
@@ -43457,6 +43841,12 @@ Object.freeze({
|
|
|
43457
43841
|
addonId: null,
|
|
43458
43842
|
access: "create"
|
|
43459
43843
|
},
|
|
43844
|
+
"coreBlocks.createComposition": {
|
|
43845
|
+
capName: "core-blocks",
|
|
43846
|
+
capScope: "system",
|
|
43847
|
+
addonId: null,
|
|
43848
|
+
access: "create"
|
|
43849
|
+
},
|
|
43460
43850
|
"coreBlocks.delete": {
|
|
43461
43851
|
capName: "core-blocks",
|
|
43462
43852
|
capScope: "system",
|
|
@@ -43469,6 +43859,12 @@ Object.freeze({
|
|
|
43469
43859
|
addonId: null,
|
|
43470
43860
|
access: "view"
|
|
43471
43861
|
},
|
|
43862
|
+
"coreBlocks.getComposition": {
|
|
43863
|
+
capName: "core-blocks",
|
|
43864
|
+
capScope: "system",
|
|
43865
|
+
addonId: null,
|
|
43866
|
+
access: "view"
|
|
43867
|
+
},
|
|
43472
43868
|
"coreBlocks.getTypeDefs": {
|
|
43473
43869
|
capName: "core-blocks",
|
|
43474
43870
|
capScope: "system",
|
|
@@ -43481,6 +43877,12 @@ Object.freeze({
|
|
|
43481
43877
|
addonId: null,
|
|
43482
43878
|
access: "view"
|
|
43483
43879
|
},
|
|
43880
|
+
"coreBlocks.listCompositions": {
|
|
43881
|
+
capName: "core-blocks",
|
|
43882
|
+
capScope: "system",
|
|
43883
|
+
addonId: null,
|
|
43884
|
+
access: "view"
|
|
43885
|
+
},
|
|
43484
43886
|
"coreBlocks.restart": {
|
|
43485
43887
|
capName: "core-blocks",
|
|
43486
43888
|
capScope: "system",
|
|
@@ -43499,6 +43901,18 @@ Object.freeze({
|
|
|
43499
43901
|
addonId: null,
|
|
43500
43902
|
access: "create"
|
|
43501
43903
|
},
|
|
43904
|
+
"coreBlocks.updateComposition": {
|
|
43905
|
+
capName: "core-blocks",
|
|
43906
|
+
capScope: "system",
|
|
43907
|
+
addonId: null,
|
|
43908
|
+
access: "create"
|
|
43909
|
+
},
|
|
43910
|
+
"coreBlocks.validateComposition": {
|
|
43911
|
+
capName: "core-blocks",
|
|
43912
|
+
capScope: "system",
|
|
43913
|
+
addonId: null,
|
|
43914
|
+
access: "view"
|
|
43915
|
+
},
|
|
43502
43916
|
"cover.close": {
|
|
43503
43917
|
capName: "cover",
|
|
43504
43918
|
capScope: "device",
|
|
@@ -2,7 +2,7 @@ Object.defineProperties(exports, {
|
|
|
2
2
|
__esModule: { value: true },
|
|
3
3
|
[Symbol.toStringTag]: { value: "Module" }
|
|
4
4
|
});
|
|
5
|
-
const require_clip_model_registry = require("../clip-model-registry
|
|
5
|
+
const require_clip_model_registry = require("../clip-model-registry--sFeijO7.js");
|
|
6
6
|
let node_fs = require("node:fs");
|
|
7
7
|
node_fs = require_clip_model_registry.__toESM(node_fs);
|
|
8
8
|
let node_path = require("node:path");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Bn as normalizeNodeId, Ht as embeddingRequirementsUnavailableError, Rt as embeddingEncoderCapability, Vt as embeddingRequirementsFailedError, a as CLIP_EMBEDDING_STEP_ID, c as resolveClusterModelPin, ft as PoolMemoryWatchdog, i as CLIP_TEXT_MODELS, jn as BaseAddon, mn as resolvePoolMemoryPolicy, n as DEFAULT_CLIP_MODEL, r as CLIP_IMAGE_MODELS, sn as parseProcStatus, t as BUILTIN_CLIP_MODELS, zt as embeddingModelFailedError } from "../clip-model-registry-
|
|
1
|
+
import { Bn as normalizeNodeId, Ht as embeddingRequirementsUnavailableError, Rt as embeddingEncoderCapability, Vt as embeddingRequirementsFailedError, a as CLIP_EMBEDDING_STEP_ID, c as resolveClusterModelPin, ft as PoolMemoryWatchdog, i as CLIP_TEXT_MODELS, jn as BaseAddon, mn as resolvePoolMemoryPolicy, n as DEFAULT_CLIP_MODEL, r as CLIP_IMAGE_MODELS, sn as parseProcStatus, t as BUILTIN_CLIP_MODELS, zt as embeddingModelFailedError } from "../clip-model-registry-CoYBCvtr.mjs";
|
|
2
2
|
import { createRequire } from "node:module";
|
|
3
3
|
import * as fs from "node:fs";
|
|
4
4
|
import * as path$1 from "node:path";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { a as e, i as t, n, o as r, r as i, t as a } from "./_virtual_mf___mfe_internal__addon_pipeline_analytics_widgets__loadShare__react__loadShare__.js-C0AuF9av.mjs";
|
|
2
2
|
import { t as o } from "./_virtual_mf___mfe_internal__addon_pipeline_analytics_widgets__loadShare___mf_0_tanstack_mf_1_react_mf_2_query__loadShare__.js-B3Wx5J80.mjs";
|
|
3
|
-
import { a as s, i as c, n as l, o as u, r as d, s as f, t as p } from "./_virtual_mf___mfe_internal__addon_pipeline_analytics_widgets__loadShare___mf_0_camstack_mf_1_ui_mf_2_library__loadShare__.js-
|
|
3
|
+
import { a as s, i as c, n as l, o as u, r as d, s as f, t as p } from "./_virtual_mf___mfe_internal__addon_pipeline_analytics_widgets__loadShare___mf_0_camstack_mf_1_ui_mf_2_library__loadShare__.js-DAAKQ3sC.mjs";
|
|
4
4
|
import { n as m, r as h, t as g } from "./_virtual_mf___mfe_internal__addon_pipeline_analytics_widgets__loadShare__react_mf_1_jsx_mf_2_runtime__loadShare__.js-Bm-iyjmq.mjs";
|
|
5
|
-
import { t as _ } from "./_virtual_mf___mfe_internal__addon_pipeline_analytics_widgets__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-
|
|
5
|
+
import { t as _ } from "./_virtual_mf___mfe_internal__addon_pipeline_analytics_widgets__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-2OwTV_D2.mjs";
|
|
6
6
|
//#region ../../node_modules/lucide-react/dist/esm/shared/src/utils/mergeClasses.js
|
|
7
7
|
var v = (...e) => e.filter((e, t, n) => !!e && e.trim() !== "" && n.indexOf(e) === t).join(" ").trim(), y = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase(), b = (e) => e.replace(/^([A-Z])|[\s-_]+(\w)/g, (e, t, n) => n ? n.toUpperCase() : t.toLowerCase()), x = (e) => {
|
|
8
8
|
let t = b(e);
|
|
@@ -18,7 +18,7 @@ var e = {
|
|
|
18
18
|
},
|
|
19
19
|
"@camstack/types": {
|
|
20
20
|
name: "@camstack/types",
|
|
21
|
-
version: "1.2.
|
|
21
|
+
version: "1.2.266",
|
|
22
22
|
scope: ["default"],
|
|
23
23
|
loaded: !1,
|
|
24
24
|
from: "addon_pipeline_analytics_widgets",
|
|
@@ -33,7 +33,7 @@ var e = {
|
|
|
33
33
|
},
|
|
34
34
|
"@camstack/ui-library": {
|
|
35
35
|
name: "@camstack/ui-library",
|
|
36
|
-
version: "1.2.
|
|
36
|
+
version: "1.2.209",
|
|
37
37
|
scope: ["default"],
|
|
38
38
|
loaded: !1,
|
|
39
39
|
from: "addon_pipeline_analytics_widgets",
|