@camstack/system 1.2.354 → 1.2.355
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/addon-runner.js +1 -1
- package/dist/addon-runner.mjs +1 -1
- package/dist/builtins/addon-pages-aggregator/addon-pages-aggregator.addon.js +1 -1
- package/dist/builtins/addon-pages-aggregator/addon-pages-aggregator.addon.mjs +1 -1
- package/dist/builtins/addon-widgets-aggregator/addon-widgets-aggregator.addon.js +1 -1
- package/dist/builtins/addon-widgets-aggregator/addon-widgets-aggregator.addon.mjs +1 -1
- package/dist/builtins/alerts/alerts.addon.js +1 -1
- package/dist/builtins/alerts/alerts.addon.mjs +1 -1
- package/dist/builtins/autotrack/index.js +1 -1
- package/dist/builtins/autotrack/index.mjs +1 -1
- package/dist/builtins/backup-orchestrator/backup-orchestrator.addon.js +1 -1
- package/dist/builtins/backup-orchestrator/backup-orchestrator.addon.mjs +1 -1
- package/dist/builtins/calendars/calendar-prefs-store.d.ts +7 -0
- package/dist/builtins/calendars/calendars.addon.js +3 -2
- package/dist/builtins/calendars/calendars.addon.mjs +3 -2
- package/dist/builtins/camera-grid/index.js +1 -1
- package/dist/builtins/camera-grid/index.mjs +1 -1
- package/dist/builtins/composer/composer.addon.js +53 -12
- package/dist/builtins/composer/composer.addon.mjs +53 -12
- package/dist/builtins/console-logging/index.js +1 -1
- package/dist/builtins/console-logging/index.mjs +1 -1
- package/dist/builtins/core-blocks/block-settings-store.d.ts +5 -0
- package/dist/builtins/core-blocks/core-blocks.addon.js +7 -2
- package/dist/builtins/core-blocks/core-blocks.addon.mjs +7 -2
- package/dist/builtins/device-manager/device-manager.addon.js +2 -2
- package/dist/builtins/device-manager/device-manager.addon.mjs +2 -2
- package/dist/builtins/hub-forwarder/index.js +1 -1
- package/dist/builtins/hub-forwarder/index.mjs +1 -1
- package/dist/builtins/liveness-monitor/liveness-monitor.addon.js +1 -1
- package/dist/builtins/liveness-monitor/liveness-monitor.addon.mjs +1 -1
- package/dist/builtins/local-auth/local-auth.addon.js +1 -1
- package/dist/builtins/local-auth/local-auth.addon.mjs +1 -1
- package/dist/builtins/local-network/local-network.addon.js +1 -1
- package/dist/builtins/local-network/local-network.addon.mjs +1 -1
- package/dist/builtins/loki-logging/index.js +1 -1
- package/dist/builtins/loki-logging/index.mjs +1 -1
- package/dist/builtins/native-metrics/native-metrics.addon.js +1 -1
- package/dist/builtins/native-metrics/native-metrics.addon.mjs +1 -1
- package/dist/builtins/platform-probe/index.js +1 -1
- package/dist/builtins/platform-probe/index.mjs +1 -1
- package/dist/builtins/remote-access-orchestrator/remote-access-orchestrator.addon.js +1 -1
- package/dist/builtins/remote-access-orchestrator/remote-access-orchestrator.addon.mjs +1 -1
- package/dist/builtins/snapshot/index.js +1 -1
- package/dist/builtins/snapshot/index.mjs +1 -1
- package/dist/builtins/sqlite-storage/analyze-stats.d.ts +0 -2
- package/dist/builtins/sqlite-storage/filesystem-storage.addon.js +1 -1
- package/dist/builtins/sqlite-storage/filesystem-storage.addon.mjs +1 -1
- package/dist/builtins/sqlite-storage/sqlite-settings-backend.d.ts +9 -11
- package/dist/builtins/sqlite-storage/sqlite-settings.addon.js +0 -0
- package/dist/builtins/sqlite-storage/sqlite-settings.addon.mjs +0 -0
- package/dist/builtins/storage-orchestrator/storage-orchestrator.addon.js +1 -1
- package/dist/builtins/storage-orchestrator/storage-orchestrator.addon.mjs +1 -1
- package/dist/builtins/system-config/system-config.addon.js +1 -1
- package/dist/builtins/system-config/system-config.addon.mjs +1 -1
- package/dist/builtins/winston-logging/index.js +1 -1
- package/dist/builtins/winston-logging/index.mjs +1 -1
- package/dist/{child-cap-dispatch-CRqYKHAb.js → child-cap-dispatch-CqV-7-QZ.js} +27 -86
- package/dist/{child-cap-dispatch-C1x1kNJK.mjs → child-cap-dispatch-DMx2axev.mjs} +28 -81
- package/dist/{composition-sources-0nuWOdNd.js → composition-sources-Bk-MjK1D.js} +1 -1
- package/dist/{composition-sources-DzkEFd8q.mjs → composition-sources-Dpl1G0Gr.mjs} +1 -1
- package/dist/{dist-DePB7uwU.js → dist-BWicEEVA.js} +77 -47
- package/dist/{dist-DVyXxn41.mjs → dist-OCi0K-iM.mjs} +72 -48
- package/dist/index.d.ts +1 -1
- package/dist/index.js +18 -46
- package/dist/index.mjs +19 -46
- package/dist/kernel/event-plane-report.d.ts +7 -36
- package/dist/kernel/fs-utils.d.ts +1 -5
- package/dist/kernel/heap-spaces.d.ts +2 -23
- package/dist/kernel/index.d.ts +0 -2
- package/dist/kernel/moleculer/event-bus-core.d.ts +6 -28
- package/dist/kernel/moleculer/process-service.d.ts +2 -5
- package/dist/kernel/moleculer/runner-native-allocator.d.ts +1 -6
- package/dist/kernel/transport/index.d.ts +1 -1
- package/dist/kernel/transport/local-child-registry.d.ts +8 -41
- package/dist/kernel/transport/uds-event-bridge.d.ts +2 -2
- package/dist/{retired-settings-keys-BTKZdPn6.js → retired-settings-keys-DLJ7MvIB.js} +1 -1
- package/dist/{retired-settings-keys-DFur4hJF.mjs → retired-settings-keys-TDzxE6GA.mjs} +1 -1
- package/package.json +1 -1
- package/dist/kernel/heap-allocation-sample.d.ts +0 -107
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Cr as EventCategory$1, cr as createEvent } from "./dist-OCi0K-iM.mjs";
|
|
2
2
|
import { a as parseProcStat, i as nodeProcReader } from "./proc-stat-CbC55Kqi.mjs";
|
|
3
3
|
import "./hub-cap-forward-BdT320dq.mjs";
|
|
4
4
|
import * as crypto$1 from "node:crypto";
|
|
@@ -53,8 +53,6 @@ function createEventPlaneReader(sources) {
|
|
|
53
53
|
}
|
|
54
54
|
const crossNode = sources.crossNodeStats();
|
|
55
55
|
return {
|
|
56
|
-
udsMode: registry.eventFanoutMode,
|
|
57
|
-
crossNodeMode: sources.crossNodeMode(),
|
|
58
56
|
children,
|
|
59
57
|
childrenConnected: listed.length,
|
|
60
58
|
childrenUndeclared: registry.undeclaredChildCount(),
|
|
@@ -129,8 +127,6 @@ function diffEventPlane(baseline, current, topN = 5) {
|
|
|
129
127
|
}
|
|
130
128
|
const byBroadcasts = categoryDeltas.toSorted((a, b) => b.broadcasts - a.broadcasts || a.category.localeCompare(b.category));
|
|
131
129
|
return {
|
|
132
|
-
udsMode: current.udsMode,
|
|
133
|
-
crossNodeMode: current.crossNodeMode,
|
|
134
130
|
childrenConnected: current.childrenConnected,
|
|
135
131
|
childrenUndeclared: current.childrenUndeclared,
|
|
136
132
|
fanoutSent,
|
|
@@ -182,7 +178,7 @@ function formatEventPlane(window) {
|
|
|
182
178
|
const top = window.top.map((d) => `${d.childId}:${d.sent}/${d.suppressed}`).join(",");
|
|
183
179
|
const cats = window.topCategories.map((c) => `${c.category}:${c.broadcasts}/${c.wanted}`).join(",");
|
|
184
180
|
const orphans = window.topOrphans.map((c) => `${c.category}:${c.broadcasts}`).join(",");
|
|
185
|
-
return `
|
|
181
|
+
return ` children=${window.childrenConnected} childrenUndeclared=${window.childrenUndeclared} fanoutSent=${window.fanoutSent} fanoutSuppressed=${window.fanoutSuppressed} crossNodeDelivered=${window.crossNodeDelivered} crossNodeSuppressed=${window.crossNodeSuppressed} fanoutEvents=${window.categoryBroadcasts} fanoutOrphans=${window.orphanBroadcasts} fanoutCatsDropped=${window.categoryOverflow}` + (top.length === 0 ? "" : ` fanoutTop=${top}`) + (cats.length === 0 ? "" : ` fanoutCats=${cats}`) + (orphans.length === 0 ? "" : ` fanoutOrphanTop=${orphans}`);
|
|
186
182
|
}
|
|
187
183
|
//#endregion
|
|
188
184
|
//#region src/kernel/transport/cap-action-census.ts
|
|
@@ -1081,21 +1077,16 @@ function formatHeapSpaces(spaces, minMb = 32) {
|
|
|
1081
1077
|
}
|
|
1082
1078
|
var defaultDeps = {
|
|
1083
1079
|
readMemory: () => process.memoryUsage(),
|
|
1084
|
-
readSpaces: readHeapSpaces
|
|
1085
|
-
env: process.env
|
|
1080
|
+
readSpaces: readHeapSpaces
|
|
1086
1081
|
};
|
|
1087
1082
|
/**
|
|
1088
|
-
* The SIGUSR2 report — memory + the FULL per-space breakdown
|
|
1089
|
-
* snapshot
|
|
1083
|
+
* The SIGUSR2 report — memory + the FULL per-space breakdown; never a heap
|
|
1084
|
+
* snapshot (D718) — see the note in the body.
|
|
1090
1085
|
*
|
|
1091
1086
|
* The breakdown here keeps every non-empty space at 0.1 MB, unlike the
|
|
1092
1087
|
* heartbeat's filtered whole-MB pair: this is a hand-fired diagnostic read once
|
|
1093
1088
|
* by a human who asked for it, so completeness costs nothing. The heartbeat runs
|
|
1094
1089
|
* unattended on every runner forever, so it pays for every field it prints.
|
|
1095
|
-
*
|
|
1096
|
-
* A refused snapshot SAYS SO. A branch that drops work silently reads as "it was
|
|
1097
|
-
* never requested", and this one is fired by an operator who is standing there
|
|
1098
|
-
* waiting for a file.
|
|
1099
1090
|
*/
|
|
1100
1091
|
function emitHeapDiagnosticReport(request, deps = defaultDeps) {
|
|
1101
1092
|
try {
|
|
@@ -7939,25 +7930,16 @@ function isHighFrequencyCategory(category) {
|
|
|
7939
7930
|
for (const pattern of RING_BUFFER_DENY_PATTERNS) if (matchesPattern(pattern, category)) return true;
|
|
7940
7931
|
return false;
|
|
7941
7932
|
}
|
|
7942
|
-
function readMoleculerFanoutMode() {
|
|
7943
|
-
const raw = process.env.CAMSTACK_MOLECULER_EVENT_FANOUT;
|
|
7944
|
-
if (raw === "shadow" || raw === "broadcast") return raw;
|
|
7945
|
-
return "filter";
|
|
7946
|
-
}
|
|
7947
7933
|
/**
|
|
7948
7934
|
* Does this node want to accept an inbound cross-node event in `category`?
|
|
7949
7935
|
* The receiving-side mirror of `LocalChildRegistry.childWantsEvent`:
|
|
7950
|
-
* - `broadcast` mode → always (gate disabled).
|
|
7951
7936
|
* - a retaining bus (hub main) → always (it serves `getRecent` + admin-ui;
|
|
7952
7937
|
* its interest is genuinely everything).
|
|
7953
7938
|
* - undeclared interest (`null`) → always (fail-open).
|
|
7954
7939
|
* - else the declared union must match via `matchesPattern` — the SAME
|
|
7955
7940
|
* function the local subscriber map-key gate uses, giving delivery parity.
|
|
7956
|
-
* `shadow` is handled by the caller (it counts the would-suppress but still
|
|
7957
|
-
* delivers), exactly like the UDS fan-out.
|
|
7958
7941
|
*/
|
|
7959
|
-
function crossNodeAcceptsCategory(
|
|
7960
|
-
if (mode === "broadcast") return true;
|
|
7942
|
+
function crossNodeAcceptsCategory(snapshot, category) {
|
|
7961
7943
|
if (snapshot.retainRecent) return true;
|
|
7962
7944
|
if (snapshot.interest === null) return true;
|
|
7963
7945
|
return snapshot.interest.some((p) => matchesPattern(p, category));
|
|
@@ -8530,11 +8512,6 @@ var LIFECYCLE_SOURCE = {
|
|
|
8530
8512
|
type: "core",
|
|
8531
8513
|
id: "local-child-registry"
|
|
8532
8514
|
};
|
|
8533
|
-
function readFanoutMode() {
|
|
8534
|
-
const raw = process.env.CAMSTACK_UDS_EVENT_FANOUT;
|
|
8535
|
-
if (raw === "shadow" || raw === "broadcast") return raw;
|
|
8536
|
-
return "filter";
|
|
8537
|
-
}
|
|
8538
8515
|
/**
|
|
8539
8516
|
* Sentinel prefix used in the no-route error thrown when `cap-call-out` has no
|
|
8540
8517
|
* local sibling and no `onUnownedCall` fallback. `ipcParentLink` detects this
|
|
@@ -8597,8 +8574,6 @@ var LocalChildRegistry = class {
|
|
|
8597
8574
|
capUsageObserver;
|
|
8598
8575
|
/** Tracks capNames already logged as UDS-routed; one INFO line per capName per process. */
|
|
8599
8576
|
egressRoutedCaps = /* @__PURE__ */ new Set();
|
|
8600
|
-
/** Active event fan-out mode, read once from `CAMSTACK_UDS_EVENT_FANOUT`. */
|
|
8601
|
-
fanoutMode = readFanoutMode();
|
|
8602
8577
|
/** Per-child event fan-out counters (sent / suppressed). */
|
|
8603
8578
|
childEventStats = /* @__PURE__ */ new Map();
|
|
8604
8579
|
/** D467: per-category production census (cumulative). See {@link CategoryFanoutSample}. */
|
|
@@ -8647,14 +8622,13 @@ var LocalChildRegistry = class {
|
|
|
8647
8622
|
}
|
|
8648
8623
|
}
|
|
8649
8624
|
async start() {
|
|
8650
|
-
this.logger?.info("UDS event fan-out mode", { mode: this.fanoutMode });
|
|
8651
8625
|
this.server.onConnection((channel) => this.onConnection(channel));
|
|
8652
8626
|
await this.server.listen();
|
|
8653
8627
|
}
|
|
8654
8628
|
/**
|
|
8655
8629
|
* Per-child event fan-out counters (`{ sent, suppressed }`) or `null` if the
|
|
8656
8630
|
* child has no recorded events yet. Exposed for the starvation-verification
|
|
8657
|
-
* surface (
|
|
8631
|
+
* surface (operator debug).
|
|
8658
8632
|
*/
|
|
8659
8633
|
getChildEventStats(childId) {
|
|
8660
8634
|
const s = this.childEventStats.get(childId);
|
|
@@ -8732,18 +8706,6 @@ var LocalChildRegistry = class {
|
|
|
8732
8706
|
return this.actionCensus.read();
|
|
8733
8707
|
}
|
|
8734
8708
|
/**
|
|
8735
|
-
* The regime the counters above were produced under, read once from
|
|
8736
|
-
* `CAMSTACK_UDS_EVENT_FANOUT` at construction.
|
|
8737
|
-
*
|
|
8738
|
-
* A suppressed count means "nothing WAS dropped" under `filter` and "nothing
|
|
8739
|
-
* WOULD have been dropped" under `shadow`. Those are different claims, and
|
|
8740
|
-
* until this getter existed the mode was invisible at runtime — the counters
|
|
8741
|
-
* were readable and the regime that produced them was not.
|
|
8742
|
-
*/
|
|
8743
|
-
get eventFanoutMode() {
|
|
8744
|
-
return this.fanoutMode;
|
|
8745
|
-
}
|
|
8746
|
-
/**
|
|
8747
8709
|
* Connected children that never declared a subscription pattern set.
|
|
8748
8710
|
*
|
|
8749
8711
|
* Each one is a fail-open on BOTH planes: `childWantsEvent` returns true for
|
|
@@ -8760,30 +8722,18 @@ var LocalChildRegistry = class {
|
|
|
8760
8722
|
return count;
|
|
8761
8723
|
}
|
|
8762
8724
|
/**
|
|
8763
|
-
* Does `entry` want to receive an event in `category`?
|
|
8764
|
-
*
|
|
8765
|
-
*
|
|
8766
|
-
*
|
|
8767
|
-
*
|
|
8768
|
-
*
|
|
8725
|
+
* Does `entry` want to receive an event in `category`? Undeclared patterns
|
|
8726
|
+
* (`null`) → always (fail-open, counted by {@link undeclaredChildCount});
|
|
8727
|
+
* else the child's declared set must match via `matchesPattern` — the SAME
|
|
8728
|
+
* function the child's own `deliverShared` map-key gate uses, giving provable
|
|
8729
|
+
* delivery parity. The parent always filters: the `CAMSTACK_UDS_EVENT_FANOUT`
|
|
8730
|
+
* shadow/broadcast modes were removed on 2026-10-06.
|
|
8769
8731
|
*
|
|
8770
8732
|
* NOTE: this gate must NOT consult `RING_BUFFER_DENY_PATTERNS` /
|
|
8771
8733
|
* `isHighFrequencyCategory` — those are ring-buffer STORAGE policy; a child
|
|
8772
8734
|
* that explicitly subscribes to a ring-denied category must still RECEIVE it.
|
|
8773
8735
|
*/
|
|
8774
8736
|
childWantsEvent(entry, category) {
|
|
8775
|
-
if (this.fanoutMode === "broadcast") return true;
|
|
8776
|
-
return this.childSubscribesTo(entry, category);
|
|
8777
|
-
}
|
|
8778
|
-
/**
|
|
8779
|
-
* The SUBSCRIPTION answer alone, with no fan-out-mode override.
|
|
8780
|
-
*
|
|
8781
|
-
* {@link childWantsEvent} answers "will this child be sent the event", which
|
|
8782
|
-
* under `broadcast` is `true` for everything and therefore cannot say whether
|
|
8783
|
-
* anyone actually asked. The D467 census needs the second question, so the
|
|
8784
|
-
* two are separate functions and `broadcast` mode overrides only the first.
|
|
8785
|
-
*/
|
|
8786
|
-
childSubscribesTo(entry, category) {
|
|
8787
8737
|
if (entry.eventPatterns === null) return true;
|
|
8788
8738
|
return entry.eventPatterns.some((p) => matchesPattern(p, category));
|
|
8789
8739
|
}
|
|
@@ -9088,14 +9038,15 @@ var LocalChildRegistry = class {
|
|
|
9088
9038
|
let subscribed = 0;
|
|
9089
9039
|
for (const entry of this.children.values()) {
|
|
9090
9040
|
if (entry.childId === exceptChildId) continue;
|
|
9091
|
-
if (this.childSubscribesTo(entry, event.category)) subscribed += 1;
|
|
9092
9041
|
const wants = this.childWantsEvent(entry, event.category);
|
|
9093
9042
|
const stats = this.statsFor(entry.childId);
|
|
9094
|
-
if (!wants)
|
|
9095
|
-
|
|
9096
|
-
|
|
9097
|
-
entry.channel.emit(msg);
|
|
9043
|
+
if (!wants) {
|
|
9044
|
+
stats.suppressed++;
|
|
9045
|
+
continue;
|
|
9098
9046
|
}
|
|
9047
|
+
subscribed += 1;
|
|
9048
|
+
stats.sent++;
|
|
9049
|
+
entry.channel.emit(msg);
|
|
9099
9050
|
}
|
|
9100
9051
|
this.recordCategoryBroadcast(event.category, subscribed);
|
|
9101
9052
|
}
|
|
@@ -11031,19 +10982,16 @@ function nodeInterestSnapshot(broker) {
|
|
|
11031
10982
|
}
|
|
11032
10983
|
/**
|
|
11033
10984
|
* Decide + account for an inbound cross-node event on `broker`. Returns whether
|
|
11034
|
-
* the event should be delivered to the local bus
|
|
11035
|
-
*
|
|
11036
|
-
* but records the would-suppress; in `filter` it drops unwanted categories.
|
|
11037
|
-
* The interest is the UNION of forked-child AND in-process subscribers — the
|
|
10985
|
+
* the event should be delivered to the local bus: unwanted categories are
|
|
10986
|
+
* dropped and counted as `suppressed`. The interest is the UNION of forked-child AND in-process subscribers — the
|
|
11038
10987
|
* gate never starves a live local subscriber of either kind.
|
|
11039
10988
|
*/
|
|
11040
|
-
function acceptInboundCrossNode(broker,
|
|
11041
|
-
const wants = crossNodeAcceptsCategory(
|
|
10989
|
+
function acceptInboundCrossNode(broker, category) {
|
|
10990
|
+
const wants = crossNodeAcceptsCategory(nodeInterestSnapshot(broker), category);
|
|
11042
10991
|
const stats = crossNodeStatsFor(broker);
|
|
11043
|
-
if (
|
|
11044
|
-
|
|
11045
|
-
|
|
11046
|
-
return deliver;
|
|
10992
|
+
if (wants) stats.delivered++;
|
|
10993
|
+
else stats.suppressed++;
|
|
10994
|
+
return wants;
|
|
11047
10995
|
}
|
|
11048
10996
|
/**
|
|
11049
10997
|
* Register the `$event-bus` service on a broker. MUST be called BEFORE
|
|
@@ -11069,7 +11017,6 @@ function registerEventBusService(broker) {
|
|
|
11069
11017
|
if (eventBusServiceInstalled.has(broker)) return;
|
|
11070
11018
|
eventBusServiceInstalled.add(broker);
|
|
11071
11019
|
const bkr = broker;
|
|
11072
|
-
const fanoutMode = readMoleculerFanoutMode();
|
|
11073
11020
|
try {
|
|
11074
11021
|
bkr.createService({
|
|
11075
11022
|
name: "$event-bus",
|
|
@@ -11077,7 +11024,7 @@ function registerEventBusService(broker) {
|
|
|
11077
11024
|
const event = ctx.params;
|
|
11078
11025
|
if (!event) return;
|
|
11079
11026
|
if (event.sourceNodeId === bkr.nodeID) return;
|
|
11080
|
-
if (!acceptInboundCrossNode(broker,
|
|
11027
|
+
if (!acceptInboundCrossNode(broker, event.category)) return;
|
|
11081
11028
|
deliverShared(getSharedBusState(broker), event);
|
|
11082
11029
|
} }
|
|
11083
11030
|
});
|
|
@@ -12803,4 +12750,4 @@ function createChildCapDispatch(deps) {
|
|
|
12803
12750
|
};
|
|
12804
12751
|
}
|
|
12805
12752
|
//#endregion
|
|
12806
|
-
export { CapRouteError as $,
|
|
12753
|
+
export { CapRouteError as $, EMPTY_CAP_ACTION_READING as $n, RUNNER_RSS_BUDGET_ENV as $t, resolveHwAccel as A, OUTBOUND_QUEUE_SUSTAIN_MS as An, DeviceRegistry as At, udsChildLogToWorkerEntry as B, createSocketPlaneMeter as Bn, hostNodeIdOf as Bt, getBrokerEventBus as C, HEAP_SPACE_REPORT_MIN_MB as Cn, capActionName as Ct, subscribePassthrough as D, readHeapSpaces as Dn, parseCapAction as Dt, setNodeEventInterest as E, heapSpaceField as En, capServiceName as Et, ipcParentLink as F, createMeshQueueReader as Fn, resolveAddonClass as Ft, UDS_NO_ROUTE_PREFIX as G, EMPTY_SOCKET_DIRECTION as Gn, HEAP_WATCH_INTERVAL_MS as Gt, createUdsLoggerWithControl as H, diffSocketPlane as Hn, HEAP_RECLAIM_MIN_INTERVAL_MS as Ht, localProviderLink as I, formatMeshQueue as In, buildNpmChildEnv as It, answerClaimedGetStatus as J, sampleSocketDirection as Jn, HUB_MAIN_RSS_BUDGET_MB as Jt, afterWorkerOnlineAnnounce as K, createSocketDirectionCounters as Kn, HEAP_WATCH_WARN_RATIO as Kt, createParentUnownedCallHandler as L, EMPTY_SOCKET_PLANE_BASELINE as Ln, resolveNpmInvocation as Lt, brokerTransportLink as M, createOutboundQueueGate as Mn, CapabilityUnavailableError as Mt, buildLinkChain as N, formatOutboundQueueVerdict as Nn, copyBundledNativeModules as Nt, AddonDepsManager as O, selectReportedSpaces as On, deserializeTypedArrays as Ot, deviceCapResolverLink as P, MESH_QUEUE_TOP_N as Pn, installManifestNativeDeps as Pt, CapRouteResolver as Q, CAP_ACTION_UNLABELLED as Qn, RUNNER_HEAP_WATCH_INTERVAL_MS as Qt, createUdsEventBridge as R, SOCKET_PLANE_TOP_N as Rn, runNpm as Rt, clusterEventTopic as S, DECISIVE_HEAP_SPACES as Sn, NATIVE_PROVIDER_SERVICE_INFIX as St, registerEventBusService as T, formatHeapSpaces as Tn, capBareAction as Tt, LocalChildClient as U, formatSocketPlane as Un, HEAP_RECLAIM_STEADY_STATE_INTERVAL_MS as Ut, createUdsLogger as V, createSocketPlaneReader as Vn, createAddonDataPlaneFacility as Vt, LocalChildRegistry as W, readSocketQueues as Wn, HEAP_RECLAIM_TRIGGER_MB as Wt, AGENT_CAP_FWD_ACTION as X, socketDirectionMessages as Xn, RSS_BUDGET_REANNOUNCE_MIN_MS as Xt, deviceOfGetStatus as Y, socketDirectionBytes as Yn, HUB_RSS_BUDGET_ENV as Yt, AGENT_CAP_FWD_SERVICE as Z, CAP_ACTION_OVERFLOW_LABEL as Zn, RSS_BUDGET_RELEASE_RATIO as Zt, getWorkerDeviceRegistry as _, ARRAY_BUFFER_RELEASE_MIN_DROP_RATIO as _n, getWorkerNativeCapSnapshot as _t, reapProcessGroup as a, describeRss as an, createEventPlaneMeter as ar, getCapUsageRegistry as at, setHubConnected as b, formatArrayBufferCensus as bn, createAddonService as bt, runnerOwnsProcessGroup as c, parseRssBudgetMb as cn, formatEventPlane as cr, UdsLocalTransportServer as ct, summarizeMembers as d, startHeapWatch as dn, localEndpointPath as dt, ZERO_LOOP_DELAY as en, MAX_CAP_ACTIONS_PER_PEER as er, classifyCapRoute as et, installManifestSystemDeps as f, startRunnerHeapWatch as fn, FrameDecoder as ft, createUdsAddonContext as g, ARRAY_BUFFER_CENSUS_THRESHOLD_MB as gn, getWorkerNativeCapProvider as gt, createAddonContext as h, ARRAY_BUFFER_CENSUS_SUSTAIN_MS as hn, createBrokerDeviceManagerApi as ht, killOwnRunnerGroupAfterParentLoss as i, createV8Reclaimer as in, EVENT_PLANE_TOP_N as ir, __resetCapUsageRegistryForTests as it, brokerCallForCap as j, OUTBOUND_QUEUE_THRESHOLD_BYTES as jn, CapabilityHandle as jt, createKernelHwAccel as k, OUTBOUND_QUEUE_COOLDOWN_MS as kn, serializeTypedArrays as kt, signalAllRunnerGroups as l, reclaimIntervalMs as ln, SocketChannel as lt, adaptBrokerToCluster as m, ARRAY_BUFFER_CENSUS_COOLDOWN_MS as mn, buildNativeCapProxy as mt, createChildCapDispatch as n, createDeferredHeapWatchSink as nn, createCapActionCensus as nr, CapUsageRegistry as nt, registerRunnerGroup as o, hubMainRssBudget as on, createEventPlaneReader as or, createLocalTransport as ot, installManifestPythonDeps as p, strandedMb as pn, encodeFrame as pt, GET_STATUS_METHOD as q, recordSocketFrame as qn, HUB_MAIN_HEAP_WATCH_LABEL as qt, defaultProcessGroupOps as r, createLoopDelayMeter as rn, diffCapActionCensus as rr, PARENT_ROUTED_PROVIDER_ADDON_ID as rt, releaseRunnerGroup as s, nextRssBudgetState as sn, diffEventPlane as sr, UdsLocalTransportClient as st, CAP_METHOD_NOT_IMPLEMENTED as t, buildHeapSample as tn, capActionLabel as tr, callWithServiceDiscovery as tt, startRunnerParentDeathWatchdog as u, shouldReclaim as un, PeerAnsweredError as ut, getOrInitReadinessRegistry as v, createArrayBufferCensusGate as vn, mountNativeCapService as vt, getMoleculerEventStats as w, emitHeapDiagnosticReport as wn, capActionSuffix as wt, EVENT_TOPIC_PREFIX as x, isArrayBufferCensusReport as xn, validateProviderRegistrations as xt, getOrInitReadinessRegistryForClient as y, createInspectorArrayBufferCensus as yn, setWorkerNativeCapsChangeListener as yt, createUdsEventBus as z, SOCKET_QUEUE_TOP_N as zn, createAddonPeerBytesFacility as zt };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Wn as compositionSourceKey, Zn as errMsg } from "./dist-OCi0K-iM.mjs";
|
|
2
2
|
//#region src/builtins/core-blocks/composition-sources.ts
|
|
3
3
|
/**
|
|
4
4
|
* Describe what a composition reads and writes for SAVE-time validation
|
|
@@ -7867,6 +7867,57 @@ var ClipSearchStrictnessSchema = zod.z.enum([
|
|
|
7867
7867
|
"balanced",
|
|
7868
7868
|
"strict"
|
|
7869
7869
|
]);
|
|
7870
|
+
new Set([
|
|
7871
|
+
{
|
|
7872
|
+
id: "person",
|
|
7873
|
+
name: "Person"
|
|
7874
|
+
},
|
|
7875
|
+
{
|
|
7876
|
+
id: "vehicle",
|
|
7877
|
+
name: "Vehicle"
|
|
7878
|
+
},
|
|
7879
|
+
{
|
|
7880
|
+
id: "animal",
|
|
7881
|
+
name: "Animal"
|
|
7882
|
+
},
|
|
7883
|
+
{
|
|
7884
|
+
id: "package",
|
|
7885
|
+
name: "Package"
|
|
7886
|
+
}
|
|
7887
|
+
].map((l) => l.id));
|
|
7888
|
+
var COCO_TO_MACRO = {
|
|
7889
|
+
mapping: {
|
|
7890
|
+
person: "person",
|
|
7891
|
+
bicycle: "vehicle",
|
|
7892
|
+
car: "vehicle",
|
|
7893
|
+
motorcycle: "vehicle",
|
|
7894
|
+
airplane: "vehicle",
|
|
7895
|
+
bus: "vehicle",
|
|
7896
|
+
train: "vehicle",
|
|
7897
|
+
truck: "vehicle",
|
|
7898
|
+
boat: "vehicle",
|
|
7899
|
+
bird: "animal",
|
|
7900
|
+
cat: "animal",
|
|
7901
|
+
dog: "animal",
|
|
7902
|
+
horse: "animal",
|
|
7903
|
+
sheep: "animal",
|
|
7904
|
+
cow: "animal",
|
|
7905
|
+
elephant: "animal",
|
|
7906
|
+
bear: "animal",
|
|
7907
|
+
zebra: "animal",
|
|
7908
|
+
giraffe: "animal",
|
|
7909
|
+
suitcase: "package",
|
|
7910
|
+
backpack: "package",
|
|
7911
|
+
handbag: "package"
|
|
7912
|
+
},
|
|
7913
|
+
preserveOriginal: false
|
|
7914
|
+
};
|
|
7915
|
+
/** Steps a root detector may declare it fills. */
|
|
7916
|
+
var FILLABLE_STEP_IDS = [
|
|
7917
|
+
"animal-classifier",
|
|
7918
|
+
"vehicle-classifier",
|
|
7919
|
+
"package-detection"
|
|
7920
|
+
];
|
|
7870
7921
|
var MODEL_FORMATS = [
|
|
7871
7922
|
"onnx",
|
|
7872
7923
|
"coreml",
|
|
@@ -8000,6 +8051,12 @@ var ModelLicenseRecordSchema = zod.z.object({
|
|
|
8000
8051
|
* `camstack/docs` → `/docs/detection/models`.
|
|
8001
8052
|
*/
|
|
8002
8053
|
var ModelLicenseSchema = zod.z.preprocess((value) => typeof value === "string" ? { weights: value } : value, ModelLicenseRecordSchema);
|
|
8054
|
+
/** One `fillsClassifierEffects` entry — see `ModelCatalogEntry.fillsClassifierEffects`. */
|
|
8055
|
+
var FillsClassifierEffectSchema = zod.z.object({
|
|
8056
|
+
stepId: zod.z.enum(FILLABLE_STEP_IDS),
|
|
8057
|
+
labelToEffect: zod.z.record(zod.z.string(), zod.z.string()),
|
|
8058
|
+
uncovered: zod.z.array(zod.z.string()).readonly()
|
|
8059
|
+
});
|
|
8003
8060
|
var ModelCatalogEntrySchema = zod.z.object({
|
|
8004
8061
|
id: zod.z.string(),
|
|
8005
8062
|
name: zod.z.string(),
|
|
@@ -8126,6 +8183,16 @@ var ModelCatalogEntrySchema = zod.z.object({
|
|
|
8126
8183
|
*/
|
|
8127
8184
|
classMap: DetectionCatalogClassMapSchema.optional(),
|
|
8128
8185
|
/**
|
|
8186
|
+
* The pipeline steps this ROOT detector already does the work of (D715):
|
|
8187
|
+
* its labels name the effect the step exists to produce (`deer` for
|
|
8188
|
+
* `animal-classifier`, `package` for `package-detection`). Derived from the
|
|
8189
|
+
* labelmap by `deriveClassifierFills`, never hand-written; a COCO model
|
|
8190
|
+
* declares none. Whether a declaration is honoured is the step's own
|
|
8191
|
+
* `labelLink` policy (`resolveLabelLink`). `labelToEffect` values are in
|
|
8192
|
+
* `FILLABLE_STEP_VOCABULARIES` (guard `check-label-link-vocabulary`).
|
|
8193
|
+
*/
|
|
8194
|
+
fillsClassifierEffects: zod.z.array(FillsClassifierEffectSchema).readonly().optional(),
|
|
8195
|
+
/**
|
|
8129
8196
|
* The model's CLIP feature-space contract (text encoder, dimension, vector
|
|
8130
8197
|
* index, token window, search floor) — see `clip-model.ts`. Present ONLY on a
|
|
8131
8198
|
* CLIP image encoder; its absence is what "not a CLIP model" means to the
|
|
@@ -19213,51 +19280,6 @@ var notificationOutputCapability = {
|
|
|
19213
19280
|
})
|
|
19214
19281
|
}
|
|
19215
19282
|
};
|
|
19216
|
-
new Set([
|
|
19217
|
-
{
|
|
19218
|
-
id: "person",
|
|
19219
|
-
name: "Person"
|
|
19220
|
-
},
|
|
19221
|
-
{
|
|
19222
|
-
id: "vehicle",
|
|
19223
|
-
name: "Vehicle"
|
|
19224
|
-
},
|
|
19225
|
-
{
|
|
19226
|
-
id: "animal",
|
|
19227
|
-
name: "Animal"
|
|
19228
|
-
},
|
|
19229
|
-
{
|
|
19230
|
-
id: "package",
|
|
19231
|
-
name: "Package"
|
|
19232
|
-
}
|
|
19233
|
-
].map((l) => l.id));
|
|
19234
|
-
var COCO_TO_MACRO = {
|
|
19235
|
-
mapping: {
|
|
19236
|
-
person: "person",
|
|
19237
|
-
bicycle: "vehicle",
|
|
19238
|
-
car: "vehicle",
|
|
19239
|
-
motorcycle: "vehicle",
|
|
19240
|
-
airplane: "vehicle",
|
|
19241
|
-
bus: "vehicle",
|
|
19242
|
-
train: "vehicle",
|
|
19243
|
-
truck: "vehicle",
|
|
19244
|
-
boat: "vehicle",
|
|
19245
|
-
bird: "animal",
|
|
19246
|
-
cat: "animal",
|
|
19247
|
-
dog: "animal",
|
|
19248
|
-
horse: "animal",
|
|
19249
|
-
sheep: "animal",
|
|
19250
|
-
cow: "animal",
|
|
19251
|
-
elephant: "animal",
|
|
19252
|
-
bear: "animal",
|
|
19253
|
-
zebra: "animal",
|
|
19254
|
-
giraffe: "animal",
|
|
19255
|
-
suitcase: "package",
|
|
19256
|
-
backpack: "package",
|
|
19257
|
-
handbag: "package"
|
|
19258
|
-
},
|
|
19259
|
-
preserveOriginal: false
|
|
19260
|
-
};
|
|
19261
19283
|
var AUDIO_MACRO_LABELS = [
|
|
19262
19284
|
{
|
|
19263
19285
|
id: "speech",
|
|
@@ -25619,7 +25641,8 @@ var PipelineModelOptionSchema = zod.z.object({
|
|
|
25619
25641
|
group: ModelVariantGroupSchema.optional(),
|
|
25620
25642
|
legacy: zod.z.boolean().optional(),
|
|
25621
25643
|
provider: ModelProviderIdSchema.optional(),
|
|
25622
|
-
defaultConfidence: zod.z.number().optional()
|
|
25644
|
+
defaultConfidence: zod.z.number().optional(),
|
|
25645
|
+
fillsClassifierEffects: zod.z.array(FillsClassifierEffectSchema).readonly().optional()
|
|
25623
25646
|
});
|
|
25624
25647
|
var ConfigFieldBridge = zod.z.custom();
|
|
25625
25648
|
var PipelineAddonSchemaSchema = zod.z.object({
|
|
@@ -45320,7 +45343,8 @@ function expressionOutcome(source, read, now, stateful) {
|
|
|
45320
45343
|
value: null,
|
|
45321
45344
|
reason: `the expression failed: ${result.error}`,
|
|
45322
45345
|
fatal: false,
|
|
45323
|
-
confirmed: true
|
|
45346
|
+
confirmed: true,
|
|
45347
|
+
expressionFailed: true
|
|
45324
45348
|
};
|
|
45325
45349
|
return {
|
|
45326
45350
|
state: staleReasons.length > 0 ? "stale" : "fresh",
|
|
@@ -60375,6 +60399,12 @@ Object.defineProperty(exports, "expandContainer", {
|
|
|
60375
60399
|
return expandContainer;
|
|
60376
60400
|
}
|
|
60377
60401
|
});
|
|
60402
|
+
Object.defineProperty(exports, "expressionContainsBuiltinCall", {
|
|
60403
|
+
enumerable: true,
|
|
60404
|
+
get: function() {
|
|
60405
|
+
return expressionContainsBuiltinCall;
|
|
60406
|
+
}
|
|
60407
|
+
});
|
|
60378
60408
|
Object.defineProperty(exports, "extractNestedAddonId", {
|
|
60379
60409
|
enumerable: true,
|
|
60380
60410
|
get: function() {
|
|
@@ -7867,6 +7867,57 @@ var ClipSearchStrictnessSchema = z.enum([
|
|
|
7867
7867
|
"balanced",
|
|
7868
7868
|
"strict"
|
|
7869
7869
|
]);
|
|
7870
|
+
new Set([
|
|
7871
|
+
{
|
|
7872
|
+
id: "person",
|
|
7873
|
+
name: "Person"
|
|
7874
|
+
},
|
|
7875
|
+
{
|
|
7876
|
+
id: "vehicle",
|
|
7877
|
+
name: "Vehicle"
|
|
7878
|
+
},
|
|
7879
|
+
{
|
|
7880
|
+
id: "animal",
|
|
7881
|
+
name: "Animal"
|
|
7882
|
+
},
|
|
7883
|
+
{
|
|
7884
|
+
id: "package",
|
|
7885
|
+
name: "Package"
|
|
7886
|
+
}
|
|
7887
|
+
].map((l) => l.id));
|
|
7888
|
+
var COCO_TO_MACRO = {
|
|
7889
|
+
mapping: {
|
|
7890
|
+
person: "person",
|
|
7891
|
+
bicycle: "vehicle",
|
|
7892
|
+
car: "vehicle",
|
|
7893
|
+
motorcycle: "vehicle",
|
|
7894
|
+
airplane: "vehicle",
|
|
7895
|
+
bus: "vehicle",
|
|
7896
|
+
train: "vehicle",
|
|
7897
|
+
truck: "vehicle",
|
|
7898
|
+
boat: "vehicle",
|
|
7899
|
+
bird: "animal",
|
|
7900
|
+
cat: "animal",
|
|
7901
|
+
dog: "animal",
|
|
7902
|
+
horse: "animal",
|
|
7903
|
+
sheep: "animal",
|
|
7904
|
+
cow: "animal",
|
|
7905
|
+
elephant: "animal",
|
|
7906
|
+
bear: "animal",
|
|
7907
|
+
zebra: "animal",
|
|
7908
|
+
giraffe: "animal",
|
|
7909
|
+
suitcase: "package",
|
|
7910
|
+
backpack: "package",
|
|
7911
|
+
handbag: "package"
|
|
7912
|
+
},
|
|
7913
|
+
preserveOriginal: false
|
|
7914
|
+
};
|
|
7915
|
+
/** Steps a root detector may declare it fills. */
|
|
7916
|
+
var FILLABLE_STEP_IDS = [
|
|
7917
|
+
"animal-classifier",
|
|
7918
|
+
"vehicle-classifier",
|
|
7919
|
+
"package-detection"
|
|
7920
|
+
];
|
|
7870
7921
|
var MODEL_FORMATS = [
|
|
7871
7922
|
"onnx",
|
|
7872
7923
|
"coreml",
|
|
@@ -8000,6 +8051,12 @@ var ModelLicenseRecordSchema = z.object({
|
|
|
8000
8051
|
* `camstack/docs` → `/docs/detection/models`.
|
|
8001
8052
|
*/
|
|
8002
8053
|
var ModelLicenseSchema = z.preprocess((value) => typeof value === "string" ? { weights: value } : value, ModelLicenseRecordSchema);
|
|
8054
|
+
/** One `fillsClassifierEffects` entry — see `ModelCatalogEntry.fillsClassifierEffects`. */
|
|
8055
|
+
var FillsClassifierEffectSchema = z.object({
|
|
8056
|
+
stepId: z.enum(FILLABLE_STEP_IDS),
|
|
8057
|
+
labelToEffect: z.record(z.string(), z.string()),
|
|
8058
|
+
uncovered: z.array(z.string()).readonly()
|
|
8059
|
+
});
|
|
8003
8060
|
var ModelCatalogEntrySchema = z.object({
|
|
8004
8061
|
id: z.string(),
|
|
8005
8062
|
name: z.string(),
|
|
@@ -8126,6 +8183,16 @@ var ModelCatalogEntrySchema = z.object({
|
|
|
8126
8183
|
*/
|
|
8127
8184
|
classMap: DetectionCatalogClassMapSchema.optional(),
|
|
8128
8185
|
/**
|
|
8186
|
+
* The pipeline steps this ROOT detector already does the work of (D715):
|
|
8187
|
+
* its labels name the effect the step exists to produce (`deer` for
|
|
8188
|
+
* `animal-classifier`, `package` for `package-detection`). Derived from the
|
|
8189
|
+
* labelmap by `deriveClassifierFills`, never hand-written; a COCO model
|
|
8190
|
+
* declares none. Whether a declaration is honoured is the step's own
|
|
8191
|
+
* `labelLink` policy (`resolveLabelLink`). `labelToEffect` values are in
|
|
8192
|
+
* `FILLABLE_STEP_VOCABULARIES` (guard `check-label-link-vocabulary`).
|
|
8193
|
+
*/
|
|
8194
|
+
fillsClassifierEffects: z.array(FillsClassifierEffectSchema).readonly().optional(),
|
|
8195
|
+
/**
|
|
8129
8196
|
* The model's CLIP feature-space contract (text encoder, dimension, vector
|
|
8130
8197
|
* index, token window, search floor) — see `clip-model.ts`. Present ONLY on a
|
|
8131
8198
|
* CLIP image encoder; its absence is what "not a CLIP model" means to the
|
|
@@ -19213,51 +19280,6 @@ var notificationOutputCapability = {
|
|
|
19213
19280
|
})
|
|
19214
19281
|
}
|
|
19215
19282
|
};
|
|
19216
|
-
new Set([
|
|
19217
|
-
{
|
|
19218
|
-
id: "person",
|
|
19219
|
-
name: "Person"
|
|
19220
|
-
},
|
|
19221
|
-
{
|
|
19222
|
-
id: "vehicle",
|
|
19223
|
-
name: "Vehicle"
|
|
19224
|
-
},
|
|
19225
|
-
{
|
|
19226
|
-
id: "animal",
|
|
19227
|
-
name: "Animal"
|
|
19228
|
-
},
|
|
19229
|
-
{
|
|
19230
|
-
id: "package",
|
|
19231
|
-
name: "Package"
|
|
19232
|
-
}
|
|
19233
|
-
].map((l) => l.id));
|
|
19234
|
-
var COCO_TO_MACRO = {
|
|
19235
|
-
mapping: {
|
|
19236
|
-
person: "person",
|
|
19237
|
-
bicycle: "vehicle",
|
|
19238
|
-
car: "vehicle",
|
|
19239
|
-
motorcycle: "vehicle",
|
|
19240
|
-
airplane: "vehicle",
|
|
19241
|
-
bus: "vehicle",
|
|
19242
|
-
train: "vehicle",
|
|
19243
|
-
truck: "vehicle",
|
|
19244
|
-
boat: "vehicle",
|
|
19245
|
-
bird: "animal",
|
|
19246
|
-
cat: "animal",
|
|
19247
|
-
dog: "animal",
|
|
19248
|
-
horse: "animal",
|
|
19249
|
-
sheep: "animal",
|
|
19250
|
-
cow: "animal",
|
|
19251
|
-
elephant: "animal",
|
|
19252
|
-
bear: "animal",
|
|
19253
|
-
zebra: "animal",
|
|
19254
|
-
giraffe: "animal",
|
|
19255
|
-
suitcase: "package",
|
|
19256
|
-
backpack: "package",
|
|
19257
|
-
handbag: "package"
|
|
19258
|
-
},
|
|
19259
|
-
preserveOriginal: false
|
|
19260
|
-
};
|
|
19261
19283
|
var AUDIO_MACRO_LABELS = [
|
|
19262
19284
|
{
|
|
19263
19285
|
id: "speech",
|
|
@@ -25619,7 +25641,8 @@ var PipelineModelOptionSchema = z.object({
|
|
|
25619
25641
|
group: ModelVariantGroupSchema.optional(),
|
|
25620
25642
|
legacy: z.boolean().optional(),
|
|
25621
25643
|
provider: ModelProviderIdSchema.optional(),
|
|
25622
|
-
defaultConfidence: z.number().optional()
|
|
25644
|
+
defaultConfidence: z.number().optional(),
|
|
25645
|
+
fillsClassifierEffects: z.array(FillsClassifierEffectSchema).readonly().optional()
|
|
25623
25646
|
});
|
|
25624
25647
|
var ConfigFieldBridge = z.custom();
|
|
25625
25648
|
var PipelineAddonSchemaSchema = z.object({
|
|
@@ -45320,7 +45343,8 @@ function expressionOutcome(source, read, now, stateful) {
|
|
|
45320
45343
|
value: null,
|
|
45321
45344
|
reason: `the expression failed: ${result.error}`,
|
|
45322
45345
|
fatal: false,
|
|
45323
|
-
confirmed: true
|
|
45346
|
+
confirmed: true,
|
|
45347
|
+
expressionFailed: true
|
|
45324
45348
|
};
|
|
45325
45349
|
return {
|
|
45326
45350
|
state: staleReasons.length > 0 ? "stale" : "fresh",
|
|
@@ -59709,4 +59733,4 @@ function enumerateInferenceDevices(hw) {
|
|
|
59709
59733
|
return out;
|
|
59710
59734
|
}
|
|
59711
59735
|
//#endregion
|
|
59712
|
-
export { calendarsCapability as $,
|
|
59736
|
+
export { calendarsCapability as $, DATAPLANE_SECRET_HEADER as $n, motionCapability as $t, MOTION_CLOSE_AFTER_MS as A, userManagementCapability as An, filesystemBrowseCapability as At, StorageLocationTypeSchema as B, composedDeviceStableId as Bn, legacyAutoLinkIds as Bt, FieldClaimModeSchema as C, snapshotCapability as Cn, EventCategory as Cr, enumerateItemArrayFields as Ct, LocationIconIdSchema as D, storageProviderCapability as Dn, expandContainer as Dt, LegacyStorageLocationDefaultSchema as E, storageOccupancyCapability as En, evictionPolicyOfLocation as Et, STORAGE_ACCESS_FALLBACK as F, withLocationMode as Fn, isCollectionArrayMethod as Ft, addonWidgetsCapability as G, createStatefulExpressionMemory as Gn, logDestinationCapability as Gt, UserRecordSchema as H, compositionItemFieldPath as Hn, lifecycleJobSchema as Ht, STREAM_PROFILE_META as I, COMPOSER_ADDON_ID as In, isLocationEnabled as It, backupCapability as J, DeviceFeature as Jn, mayReadLocation as Jt, alertsCapability as K, disarmRoseMemory as Kn, logLevelAtMost as Kt, ScopedTokenSchema as L, buildFfmpegArgs as Ln, isObjectInput as Lt, REDACTED_SECRET as M, vectorDimFromBase64 as Mn, formatMinutes as Mt, RUNTIME_DEFAULTS as N, vectorIndexDimConflictError as Nn, gbToBytes as Nt, METHOD_ACCESS_MAP as O, streamCatalogCapability as On, expressionContainsBuiltinCall as Ot, RecordingStatusSchema as P, vectorStoreCapability as Pn, isArrayOutputSchema as Pt, buildStreamParamsConfigSchema as Q, BaseAddon as Qn, modeMayWrite as Qt, StorageCleanupJobSchema as R, cloneStatefulExpressionMemory as Rn, isVoidInput as Rt, FIRST_LEVEL_MACRO_CLASSES as S, siteZoneKey as Sn, toNodeId as Sr, enumerateInferenceDevices as St, LOG_LEVEL_RANK as T, storageMigrationCapability as Tn, evaluateCompositionField as Tt, addonPagesCapability as U, compositionSliceKey as Un, localNetworkCapability as Ut, StorageMigrationJobSchema as V, compositionFeatureEnabled as Vn, legacyModeOf as Vt, addonSettingsCapability as W, compositionSourceKey as Wn, locationIconKey as Wt, batteryCapability as X, DeviceType as Xn, memoizePinnedFfmpeg as Xt, bareAddonId as Y, DeviceRole as Yn, mayWriteToLocation as Yt, buildCapabilityLookup as Z, errMsg as Zn, metricsProviderCapability as Zt, DATABASE_SNAPSHOT_TIMEOUT_MS as _, runtimeStatePolicyFor as _n, parseJsonUnknown as _r, describeComposableCaps as _t, BatteryStatusSchema as a, pickAppLinkHub as an, asJsonObject as ar, coreBlockAddonId as at, DeclaredDevices as b, scoreRuntimes as bn, scopeKey as br, deviceStateCapability as bt, CAP_NAMES_WITH_STATUS as c, procedureAuthKey as cn, createEvent as cr, coreBlockSourceKind as ct, CORE_BLOCKS_ADDON_ID as d, replacedFieldKeys as dn, expandCapMethods as dr, dataStoreProviderCapability as dt, normalizeCoreBlockWrite as en, DEVICE_SETTINGS_CONTRIBUTION_METHODS as er, cameraGridLayoutCapability as et, CORE_BLOCK_ADDON_PREFIX as f, resolveBucketMs as fn, hydrateSchema as fr, databaseSnapshotCapability as ft, DATABASE_SNAPSHOT_SUFFIX as g, resolveMethodAuth as gn, parseJsonObject as gr, deriveBatteryPresence as gt, DATABASE_SNAPSHOT_PARTIAL_SUFFIX as h, resolveLocationMode as hn, nodePin as hr, defineExtensionSlotProvider as ht, BaseDevice as i, parseStreamParamsFormPatch as in, WELL_KNOWN_TAB_MAP as ir, compositionSourceRefs as it, RECORDING_SOURCE_CAMSTACK_ADDON as j, validateComposition as jn, foldSnapshotByFunction as jt, MINUTES_PER_DAY as k, streamQualityLabel as kn, extractNestedAddonId as kt, COMPOSED_ITEM_FIXED_FIELDS as l, ptzAutotrackCapability as ln, emitDownForOwnedCaps as lr, coreBlocksCapability as lt, CoreBlockSchema as m, resolveCoreBlockFiles as mn, isEvent as mr, decodeVectorBase64 as mt, AlertSchema as n, objectInputDeclaresAddonId as nn, ReadinessRegistry as nr, composerCapability as nt, CAMERA_SWITCH_ORDER as o, planComposition as on, asNumber as or, coreBlockComposition as ot, CalendarPreferencesSchema as p, resolveCoreBlockEntry as pn, isDeviceConfigCap as pr, declarationOwnerNodeId as pt, authProviderCapability as q, toExpressionValue as qn, looseSchema as qt, ApiKeyRecordSchema as r, objectInputDeclaresRequiredDeviceId as rn, ReadinessTimeoutError as rr, compositionFieldKey as rt, CAMSTACK_APP_LINK_ORIGIN as s, platformProbeCapability as sn, asString$1 as sr, coreBlockIdFromAddonId as st, ALL_CAPABILITY_DEFINITIONS as t, normalizeUnit as tn, DEVICE_STATUS_METHOD as tr, collectSecretConfigKeys as tt, COMPOSER_RUNNER_ID as u, reducePoints as un, emitReadiness as ur, createDeviceExtensionProvider as ut, DAY_NAMES as v, scopesAllowAddon as vn, readinessKey as vr, deviceExtensionCapability as vt, FieldClaimSchema as w, storageCapability as wn, enumerateSchemaFields as wt, DeviceStatusSchema as x, settingsStoreCapability as xn, sleep as xr, deviceStatusCapability as xt, DERIVED_CAMERA_SILENCED_CAP_NAMES as y, scopesAllowDeviceCap as yn, resolveCapMount as yr, deviceManagerCapability as yt, StorageLocationModeSchema as z, composedDeviceRef as zn, kebabToCamel as zt };
|
package/dist/index.d.ts
CHANGED
|
@@ -55,7 +55,7 @@ export { createFileDataPlaneHandler } from './http/file-data-plane.js';
|
|
|
55
55
|
export { allFamiliesListenHost, applyLanHttp, bindPendingLanHttp, closeLanHttp, DEFAULT_LAN_HTTP_PORT, readLanHttpState, registerLanHttpHandler, } from './http/lan-http-bind.js';
|
|
56
56
|
export type { ReverseProxyOptions } from './http/reverse-proxy.js';
|
|
57
57
|
export { proxyToUpstream } from './http/reverse-proxy.js';
|
|
58
|
-
export type { ChildFanoutDelta, ChildFanoutRegistry, ChildFanoutSample, CrossNodeEventStats,
|
|
58
|
+
export type { ChildFanoutDelta, ChildFanoutRegistry, ChildFanoutSample, CrossNodeEventStats, EventPlaneCounters, EventPlaneReader, EventPlaneSources, EventPlaneWindow, } from './kernel/event-plane-report.js';
|
|
59
59
|
export { createEventPlaneMeter, createEventPlaneReader, diffEventPlane, EVENT_PLANE_TOP_N, formatEventPlane, } from './kernel/event-plane-report.js';
|
|
60
60
|
export type { SocketPeerDelta, SocketPeerSample, SocketPlaneBaseline, SocketPlaneCounters, SocketPlaneMeter, SocketPlaneReader, SocketPlaneRegistry, SocketPlaneRegistryChild, SocketPlaneSources, SocketPlaneWindow, } from './kernel/socket-plane-report.js';
|
|
61
61
|
export { createSocketPlaneMeter, createSocketPlaneReader, diffSocketPlane, EMPTY_SOCKET_PLANE_BASELINE, formatSocketPlane, readSocketQueues, SOCKET_PLANE_TOP_N, SOCKET_QUEUE_TOP_N, } from './kernel/socket-plane-report.js';
|