@camstack/server 1.2.770 → 1.2.771
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [1.2.771] - 2026-11-05
|
|
11
|
+
|
|
12
|
+
### Fixed
|
|
13
|
+
|
|
14
|
+
- Updating one addon in a shared runner no longer skips the restart when another member of that runner was restarted moments earlier, so the new code actually loads.
|
|
15
|
+
|
|
10
16
|
## [1.2.770] - 2026-11-05
|
|
11
17
|
|
|
12
18
|
### Removed
|
|
@@ -60,6 +60,7 @@ const materialize_route_path_js_1 = require("./materialize-route-path.js");
|
|
|
60
60
|
const package_dir_utils_1 = require("./package-dir-utils");
|
|
61
61
|
const legacy_package_names_1 = require("../../legacy-package-names");
|
|
62
62
|
const prune_misplaced_addons_js_1 = require("./prune-misplaced-addons.js");
|
|
63
|
+
const group_respawn_ledger_1 = require("./group-respawn-ledger");
|
|
63
64
|
const runner_convergence_1 = require("./runner-convergence");
|
|
64
65
|
const runner_serialization_1 = require("./runner-serialization");
|
|
65
66
|
const runner_spawn_fanout_js_1 = require("./runner-spawn-fanout.js");
|
|
@@ -135,15 +136,6 @@ function isSettingsStore(backend) {
|
|
|
135
136
|
function isAddonRoutesInvoker(provider) {
|
|
136
137
|
return typeof Reflect.get(provider, 'invoke') === 'function';
|
|
137
138
|
}
|
|
138
|
-
/**
|
|
139
|
-
* Window within which a second `restart:true` respawn of the SAME group runner
|
|
140
|
-
* is coalesced to a no-op (a package reload loops `restartAddon` over every
|
|
141
|
-
* group member — see `recentGroupRespawns`). Chosen comfortably longer than a
|
|
142
|
-
* single group respawn (child fork + init) so all members of one reload pass
|
|
143
|
-
* fall inside it, and short enough that a genuinely independent later restart
|
|
144
|
-
* still respawns.
|
|
145
|
-
*/
|
|
146
|
-
const GROUP_RESPAWN_COALESCE_MS = 10_000;
|
|
147
139
|
const ROUTE_METHODS = [
|
|
148
140
|
'GET',
|
|
149
141
|
'POST',
|
|
@@ -322,16 +314,12 @@ class AddonRegistryService {
|
|
|
322
314
|
*/
|
|
323
315
|
restartingAddons = new Map();
|
|
324
316
|
/**
|
|
325
|
-
*
|
|
326
|
-
*
|
|
327
|
-
*
|
|
328
|
-
*
|
|
329
|
-
* group (all members reboot from fresh on-disk code), so the 2nd..Nth
|
|
330
|
-
* restarts must NOT respawn again — that churns the runner N times and risks
|
|
331
|
-
* tripping the crash circuit-breaker. Consulted by `ensureForkedRunner`; only
|
|
332
|
-
* groups (roster > 1) are coalesced, so solo-addon restart stays byte-identical.
|
|
317
|
+
* Group-runner restart claims. A fork covers only requests that had already
|
|
318
|
+
* been made when it started, so a second member swapped while — or just
|
|
319
|
+
* after — a sibling's respawn still gets a process that loaded its code.
|
|
320
|
+
* Solo runners never enter the ledger (their restart stays one fork).
|
|
333
321
|
*/
|
|
334
|
-
|
|
322
|
+
groupRespawns = (0, group_respawn_ledger_1.createGroupRespawnLedger)();
|
|
335
323
|
logger;
|
|
336
324
|
addonLoader;
|
|
337
325
|
healthMonitor;
|
|
@@ -1491,17 +1479,23 @@ class AddonRegistryService {
|
|
|
1491
1479
|
// InferenceCapabilitiesService removed — now lives in pipeline-executor addon.
|
|
1492
1480
|
// Use capabilityRegistry.getSingleton('pipeline-executor') instead.
|
|
1493
1481
|
/** Log a standardized lifecycle line for addon start/restart */
|
|
1494
|
-
logAddonLifecycle(event, id, mode) {
|
|
1482
|
+
logAddonLifecycle(event, id, mode, pids) {
|
|
1495
1483
|
const entry = this.addonEntries.get(id);
|
|
1496
1484
|
if (!entry)
|
|
1497
1485
|
return;
|
|
1498
1486
|
const agentName = process.env.CAMSTACK_AGENT_NAME ?? 'hub';
|
|
1499
1487
|
const platform = `${os.platform()}/${os.arch()}`;
|
|
1500
|
-
const
|
|
1488
|
+
const runnerPid = pids !== undefined && pids.pidAfter !== null
|
|
1489
|
+
? `, runner pid ${pids.pidBefore ?? 'none'} -> ${pids.pidAfter}`
|
|
1490
|
+
: '';
|
|
1491
|
+
const message = `Addon ${event} — v${entry.packageVersion} (${entry.packageName}), ${mode}, ${platform}, agent: ${agentName}${runnerPid}`;
|
|
1501
1492
|
// Log under AddonRegistry scope
|
|
1502
1493
|
this.logger.info(message, {
|
|
1503
1494
|
tags: { addonId: id, agentId: agentName },
|
|
1504
|
-
meta: {
|
|
1495
|
+
meta: {
|
|
1496
|
+
phase: 'lifecycle',
|
|
1497
|
+
...(pids !== undefined ? { pidBefore: pids.pidBefore, pidAfter: pids.pidAfter } : {}),
|
|
1498
|
+
},
|
|
1505
1499
|
});
|
|
1506
1500
|
// Also log under the addon's own tagged logger so it appears in the per-addon
|
|
1507
1501
|
// log viewer. No scope — brand bracket shows the addon id.
|
|
@@ -1951,7 +1945,23 @@ class AddonRegistryService {
|
|
|
1951
1945
|
const preRegistered = new Set(entry.declaredCapabilities
|
|
1952
1946
|
.map((cap) => cap.name)
|
|
1953
1947
|
.filter((name) => this.capabilityRegistry.getProviderByAddon(name, addonId) != null));
|
|
1954
|
-
await this.ensureForkedRunner(addonId, { restart: true });
|
|
1948
|
+
const outcome = await this.ensureForkedRunner(addonId, { restart: true });
|
|
1949
|
+
// `Addon restarted — vX` is a claim that a process with that version
|
|
1950
|
+
// is up. The registry row's version was refreshed from disk before
|
|
1951
|
+
// this call, so the line is true only when the runner pid changed
|
|
1952
|
+
// (the new child loads disk at fork). A coalesced no-op used to log
|
|
1953
|
+
// the new version against the previous pid.
|
|
1954
|
+
if (!outcome.live) {
|
|
1955
|
+
this.logger.warn('Addon restart did not start a runner process with the swapped code', {
|
|
1956
|
+
tags: { addonId },
|
|
1957
|
+
meta: {
|
|
1958
|
+
pidBefore: outcome.pidBefore,
|
|
1959
|
+
pidAfter: outcome.pidAfter,
|
|
1960
|
+
version: entry.packageVersion,
|
|
1961
|
+
},
|
|
1962
|
+
});
|
|
1963
|
+
return { success: false, error: 'runner process did not change' };
|
|
1964
|
+
}
|
|
1955
1965
|
// The respawn resolves as soon as the child is up, not when its
|
|
1956
1966
|
// capabilities are re-registered. Callers (integrations.create, UI forms) may
|
|
1957
1967
|
// immediately try to route to the provider and hit a transient null. Block here
|
|
@@ -2008,7 +2018,7 @@ class AddonRegistryService {
|
|
|
2008
2018
|
// every roster member (custom actions live in the hub-side
|
|
2009
2019
|
// `CustomActionRegistry`, which the process spawn never touches — a
|
|
2010
2020
|
// hot-update would otherwise silently drop them).
|
|
2011
|
-
this.logAddonLifecycle('restarted', addonId, 'isolated');
|
|
2021
|
+
this.logAddonLifecycle('restarted', addonId, 'isolated', outcome);
|
|
2012
2022
|
this.emitAddonLifecycleEvent('addon.restarted', addonId);
|
|
2013
2023
|
return { success: true };
|
|
2014
2024
|
}
|
|
@@ -3460,17 +3470,23 @@ class AddonRegistryService {
|
|
|
3460
3470
|
}
|
|
3461
3471
|
/**
|
|
3462
3472
|
* Snapshot of the live runner subprocesses (`$process.list`), reduced to the
|
|
3463
|
-
* `{ runnerId, addonIds }` shape the convergence planner
|
|
3464
|
-
* on any broker error so the caller
|
|
3465
|
-
* throwing — a missing list can only
|
|
3473
|
+
* `{ runnerId, addonIds, pid }` shape the convergence planner and the
|
|
3474
|
+
* lifecycle log need. Returns `[]` on any broker error so the caller
|
|
3475
|
+
* degrades to a fresh spawn rather than throwing — a missing list can only
|
|
3476
|
+
* mean "nothing is running".
|
|
3466
3477
|
*/
|
|
3467
3478
|
async listRunnerProcesses() {
|
|
3468
3479
|
try {
|
|
3469
|
-
|
|
3470
|
-
|
|
3471
|
-
|
|
3472
|
-
const
|
|
3473
|
-
|
|
3480
|
+
const raw = await this.broker.call('$process.list');
|
|
3481
|
+
if (!Array.isArray(raw))
|
|
3482
|
+
return [];
|
|
3483
|
+
const rows = [];
|
|
3484
|
+
for (const item of raw) {
|
|
3485
|
+
const row = (0, runner_convergence_1.parseListedRunner)(item);
|
|
3486
|
+
if (row)
|
|
3487
|
+
rows.push(row);
|
|
3488
|
+
}
|
|
3489
|
+
return rows;
|
|
3474
3490
|
}
|
|
3475
3491
|
catch {
|
|
3476
3492
|
return [];
|
|
@@ -3488,16 +3504,15 @@ class AddonRegistryService {
|
|
|
3488
3504
|
* via `buildAddonGroupPlan` (the same authority the boot plan uses), then
|
|
3489
3505
|
* converges the live process topology onto that roster (see
|
|
3490
3506
|
* `planRunnerConvergence`): stop stale/mismatched runners, then spawn or
|
|
3491
|
-
* restart the group runner.
|
|
3492
|
-
*
|
|
3493
|
-
*
|
|
3494
|
-
* byte-identical to the pre-group solo path.
|
|
3507
|
+
* restart the group runner. A groupless addon keys to a size-1 roster whose
|
|
3508
|
+
* runner id is its own id, so its behaviour is byte-identical to the
|
|
3509
|
+
* pre-group solo path.
|
|
3495
3510
|
*
|
|
3496
|
-
* `opts.restart` respawns
|
|
3497
|
-
*
|
|
3498
|
-
*
|
|
3499
|
-
* a
|
|
3500
|
-
*
|
|
3511
|
+
* `opts.restart` respawns even when the roster already matches, so the child
|
|
3512
|
+
* loads the on-disk bundle (D5 — no in-process reload). A second member of
|
|
3513
|
+
* the same group shares that fork only when the fork starts AFTER its
|
|
3514
|
+
* request; a fork already in flight, or one that already finished, does not
|
|
3515
|
+
* — the second swap may have landed since. Solo addons always fork.
|
|
3501
3516
|
*/
|
|
3502
3517
|
/**
|
|
3503
3518
|
* One converge at a time per runner. See `runner-serialization.ts` for the
|
|
@@ -3514,26 +3529,20 @@ class AddonRegistryService {
|
|
|
3514
3529
|
const roster = this.buildAddonGroupPlan([...this.addonEntries.keys()]).get(runnerId) ?? [
|
|
3515
3530
|
{ addonId, addonDir: entry.addonDir },
|
|
3516
3531
|
];
|
|
3517
|
-
//
|
|
3518
|
-
//
|
|
3519
|
-
//
|
|
3520
|
-
|
|
3521
|
-
// coalesce window, downgrade a restart request to a plain topology check so
|
|
3522
|
-
// the 2nd..Nth members don't churn the runner. Solo addons (roster == 1) are
|
|
3523
|
-
// never coalesced — their behaviour stays byte-identical.
|
|
3524
|
-
const effectiveRestart = opts.restart &&
|
|
3525
|
-
roster.length > 1 &&
|
|
3526
|
-
Date.now() - (this.recentGroupRespawns.get(runnerId) ?? 0) < GROUP_RESPAWN_COALESCE_MS
|
|
3527
|
-
? false
|
|
3528
|
-
: opts.restart;
|
|
3532
|
+
// Claim before the queue so a member that arrives while this one is
|
|
3533
|
+
// waiting is visible to the fork that has not started yet. Solo runners
|
|
3534
|
+
// (roster of one) never claim — each of their restarts forks.
|
|
3535
|
+
const epoch = opts.restart && roster.length > 1 ? this.groupRespawns.claim(runnerId) : 0;
|
|
3529
3536
|
// EVERYTHING from here is one atomic unit per runner. The read decides what
|
|
3530
3537
|
// to stop and what to spawn, so a second converge that reads before this
|
|
3531
3538
|
// one has spawned decides to spawn too — and the child nobody tracks keeps
|
|
3532
3539
|
// running. `process-service`'s own lock cannot see this: it makes each
|
|
3533
3540
|
// action atomic, and the unit that matters is the sequence.
|
|
3534
3541
|
return this.serializeRunner(runnerId, async () => {
|
|
3542
|
+
const covered = epoch > 0 && this.groupRespawns.covered(runnerId, epoch);
|
|
3535
3543
|
const running = await this.listRunnerProcesses();
|
|
3536
|
-
const
|
|
3544
|
+
const pidBefore = running.find((row) => row.name === runnerId)?.pid ?? null;
|
|
3545
|
+
const plan = (0, runner_convergence_1.planRunnerConvergence)(runnerId, roster.map((r) => r.addonId), running, { restart: opts.restart && !covered });
|
|
3537
3546
|
// 1. Tear down every stale/mismatched runner that hosts a roster member.
|
|
3538
3547
|
for (const name of plan.stop) {
|
|
3539
3548
|
await this.broker.call('$process.stop', { name }).catch((err) => {
|
|
@@ -3542,24 +3551,24 @@ class AddonRegistryService {
|
|
|
3542
3551
|
});
|
|
3543
3552
|
});
|
|
3544
3553
|
}
|
|
3545
|
-
// 2. Bring the target runner to the correct roster.
|
|
3554
|
+
// 2. Bring the target runner to the correct roster. The cover snapshot
|
|
3555
|
+
// is the last synchronous read before the fork, so a swap that lands
|
|
3556
|
+
// while the child is starting is NOT credited to this process.
|
|
3557
|
+
let pidAfter = pidBefore;
|
|
3546
3558
|
if (plan.action === 'spawn') {
|
|
3547
|
-
|
|
3548
|
-
|
|
3549
|
-
|
|
3550
|
-
// A concurrent path may have won the spawn race — treat "already
|
|
3551
|
-
// running" as success (idempotent), rethrow anything else.
|
|
3552
|
-
if (!/already running/i.test((0, types_2.errMsg)(err)))
|
|
3553
|
-
throw err;
|
|
3554
|
-
});
|
|
3555
|
-
this.recentGroupRespawns.set(runnerId, Date.now());
|
|
3559
|
+
const coverThrough = epoch > 0 ? this.groupRespawns.coverThrough(runnerId) : 0;
|
|
3560
|
+
pidAfter = await this.spawnGroupRunner(runnerId, roster, pidBefore);
|
|
3561
|
+
this.noteGroupFork(epoch, runnerId, coverThrough, pidBefore, pidAfter);
|
|
3556
3562
|
}
|
|
3557
3563
|
else if (plan.action === 'restart') {
|
|
3558
|
-
const
|
|
3564
|
+
const coverThrough = epoch > 0 ? this.groupRespawns.coverThrough(runnerId) : 0;
|
|
3565
|
+
const raw = await this.broker.call('$process.restart', { name: runnerId });
|
|
3566
|
+
const res = (0, runner_convergence_1.readRestartReply)(raw);
|
|
3559
3567
|
if (!res.success) {
|
|
3560
3568
|
throw new Error(`Process restart failed: ${res.reason ?? 'unknown'}`);
|
|
3561
3569
|
}
|
|
3562
|
-
|
|
3570
|
+
pidAfter = res.pid;
|
|
3571
|
+
this.noteGroupFork(epoch, runnerId, coverThrough, pidBefore, pidAfter);
|
|
3563
3572
|
}
|
|
3564
3573
|
// 3. Bookkeeping for EVERY roster member. Mark each member initialized so
|
|
3565
3574
|
// the in-process core-builtin boot passes skip them. The custom-action
|
|
@@ -3571,8 +3580,34 @@ class AddonRegistryService {
|
|
|
3571
3580
|
if (memberEntry)
|
|
3572
3581
|
memberEntry.initialized = true;
|
|
3573
3582
|
}
|
|
3583
|
+
if (plan.action === 'none' && covered) {
|
|
3584
|
+
const remembered = this.groupRespawns.pids(runnerId);
|
|
3585
|
+
return (0, group_respawn_ledger_1.forkedRunnerOutcome)(remembered.pidBefore, remembered.pidAfter);
|
|
3586
|
+
}
|
|
3587
|
+
return (0, group_respawn_ledger_1.forkedRunnerOutcome)(pidBefore, pidAfter);
|
|
3574
3588
|
});
|
|
3575
3589
|
}
|
|
3590
|
+
// Spawn the roster. A lost race ("already running") is the pid already up.
|
|
3591
|
+
async spawnGroupRunner(runnerId, roster, pidBefore) {
|
|
3592
|
+
try {
|
|
3593
|
+
const spawned = await this.broker.call('$process.spawnRunner', {
|
|
3594
|
+
runnerId,
|
|
3595
|
+
addons: roster,
|
|
3596
|
+
});
|
|
3597
|
+
return (0, runner_convergence_1.readProcessPid)(spawned);
|
|
3598
|
+
}
|
|
3599
|
+
catch (err) {
|
|
3600
|
+
if (!/already running/i.test((0, types_2.errMsg)(err)))
|
|
3601
|
+
throw err;
|
|
3602
|
+
const running = await this.listRunnerProcesses();
|
|
3603
|
+
return running.find((row) => row.name === runnerId)?.pid ?? pidBefore;
|
|
3604
|
+
}
|
|
3605
|
+
}
|
|
3606
|
+
noteGroupFork(epoch, runnerId, coverThrough, pidBefore, pidAfter) {
|
|
3607
|
+
if (epoch === 0)
|
|
3608
|
+
return;
|
|
3609
|
+
this.groupRespawns.markForked(runnerId, coverThrough, { pidBefore, pidAfter });
|
|
3610
|
+
}
|
|
3576
3611
|
/**
|
|
3577
3612
|
* Apply the custom-action catalogs a UDS child DESCRIBED in its register
|
|
3578
3613
|
* frame (`RegisteredChild.customActions`, schemas stripped) to the hub-wide
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Which restart requests one group-runner fork may satisfy.
|
|
4
|
+
*
|
|
5
|
+
* The child loads whatever is on disk at the moment it is forked (D5: there
|
|
6
|
+
* is no in-process reload). A request is satisfied only by a fork that starts
|
|
7
|
+
* AFTER the request — the caller's swap is already on disk by then. A fork
|
|
8
|
+
* already in flight does not count; that caller joins the single follow-up
|
|
9
|
+
* which starts when the in-flight fork returns. No clock (D3).
|
|
10
|
+
*/
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.forkedRunnerOutcome = forkedRunnerOutcome;
|
|
13
|
+
exports.createGroupRespawnLedger = createGroupRespawnLedger;
|
|
14
|
+
function forkedRunnerOutcome(pidBefore, pidAfter) {
|
|
15
|
+
return {
|
|
16
|
+
live: pidAfter !== null && pidAfter !== pidBefore,
|
|
17
|
+
pidBefore,
|
|
18
|
+
pidAfter,
|
|
19
|
+
};
|
|
20
|
+
}
|
|
21
|
+
function createGroupRespawnLedger() {
|
|
22
|
+
const slots = new Map();
|
|
23
|
+
const slot = (runnerId) => {
|
|
24
|
+
const existing = slots.get(runnerId);
|
|
25
|
+
if (existing)
|
|
26
|
+
return existing;
|
|
27
|
+
const created = {
|
|
28
|
+
requested: 0,
|
|
29
|
+
satisfied: 0,
|
|
30
|
+
pidBefore: null,
|
|
31
|
+
pidAfter: null,
|
|
32
|
+
};
|
|
33
|
+
slots.set(runnerId, created);
|
|
34
|
+
return created;
|
|
35
|
+
};
|
|
36
|
+
return {
|
|
37
|
+
claim(runnerId) {
|
|
38
|
+
const current = slot(runnerId);
|
|
39
|
+
current.requested += 1;
|
|
40
|
+
return current.requested;
|
|
41
|
+
},
|
|
42
|
+
covered(runnerId, epoch) {
|
|
43
|
+
return slot(runnerId).satisfied >= epoch;
|
|
44
|
+
},
|
|
45
|
+
coverThrough(runnerId) {
|
|
46
|
+
return slot(runnerId).requested;
|
|
47
|
+
},
|
|
48
|
+
markForked(runnerId, coverThrough, pids) {
|
|
49
|
+
const current = slot(runnerId);
|
|
50
|
+
current.satisfied = Math.max(current.satisfied, coverThrough);
|
|
51
|
+
current.pidBefore = pids.pidBefore;
|
|
52
|
+
current.pidAfter = pids.pidAfter;
|
|
53
|
+
},
|
|
54
|
+
pids(runnerId) {
|
|
55
|
+
const current = slot(runnerId);
|
|
56
|
+
return { pidBefore: current.pidBefore, pidAfter: current.pidAfter };
|
|
57
|
+
},
|
|
58
|
+
};
|
|
59
|
+
}
|
|
@@ -23,7 +23,43 @@
|
|
|
23
23
|
* the group spawned fresh — the convergence this planner encodes.
|
|
24
24
|
*/
|
|
25
25
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
+
exports.parseListedRunner = parseListedRunner;
|
|
27
|
+
exports.readProcessPid = readProcessPid;
|
|
28
|
+
exports.readRestartReply = readRestartReply;
|
|
26
29
|
exports.planRunnerConvergence = planRunnerConvergence;
|
|
30
|
+
function parseListedRunner(value) {
|
|
31
|
+
if (typeof value !== 'object' || value === null)
|
|
32
|
+
return null;
|
|
33
|
+
const name = Reflect.get(value, 'name');
|
|
34
|
+
const addonIds = Reflect.get(value, 'addonIds');
|
|
35
|
+
const pid = Reflect.get(value, 'pid');
|
|
36
|
+
if (typeof name !== 'string' || !Array.isArray(addonIds))
|
|
37
|
+
return null;
|
|
38
|
+
const ids = [];
|
|
39
|
+
for (const id of addonIds) {
|
|
40
|
+
if (typeof id !== 'string')
|
|
41
|
+
return null;
|
|
42
|
+
ids.push(id);
|
|
43
|
+
}
|
|
44
|
+
return { name, addonIds: ids, pid: typeof pid === 'number' ? pid : null };
|
|
45
|
+
}
|
|
46
|
+
function readProcessPid(value) {
|
|
47
|
+
if (typeof value !== 'object' || value === null)
|
|
48
|
+
return null;
|
|
49
|
+
const pid = Reflect.get(value, 'pid');
|
|
50
|
+
return typeof pid === 'number' ? pid : null;
|
|
51
|
+
}
|
|
52
|
+
function readRestartReply(value) {
|
|
53
|
+
if (typeof value !== 'object' || value === null) {
|
|
54
|
+
return { success: false, pid: null, reason: null };
|
|
55
|
+
}
|
|
56
|
+
const reason = Reflect.get(value, 'reason');
|
|
57
|
+
return {
|
|
58
|
+
success: Reflect.get(value, 'success') === true,
|
|
59
|
+
pid: readProcessPid(value),
|
|
60
|
+
reason: typeof reason === 'string' ? reason : null,
|
|
61
|
+
};
|
|
62
|
+
}
|
|
27
63
|
function sameRoster(addonIds, rosterSet) {
|
|
28
64
|
return addonIds.length === rosterSet.size && addonIds.every((a) => rosterSet.has(a));
|
|
29
65
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@camstack/server",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.771",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -65,36 +65,7 @@
|
|
|
65
65
|
"@camstack/addon-agent-ui"
|
|
66
66
|
],
|
|
67
67
|
"requires": {
|
|
68
|
-
"addons": {
|
|
69
|
-
"@camstack/addon-admin-ui": ">=1.2.587",
|
|
70
|
-
"@camstack/addon-agent-ui": ">=1.2.327",
|
|
71
|
-
"@camstack/addon-import-alexa": ">=0.2.186",
|
|
72
|
-
"@camstack/addon-matter-broker": ">=0.2.157",
|
|
73
|
-
"@camstack/addon-pipeline-orchestrator": ">=1.2.660",
|
|
74
|
-
"@camstack/addon-provider-amcrest": ">=0.2.166",
|
|
75
|
-
"@camstack/addon-provider-bosch": ">=0.1.37",
|
|
76
|
-
"@camstack/addon-provider-dreame": ">=0.2.165",
|
|
77
|
-
"@camstack/addon-provider-dreo": ">=0.2.155",
|
|
78
|
-
"@camstack/addon-provider-ecowitt": ">=0.2.156",
|
|
79
|
-
"@camstack/addon-provider-enpal": ">=0.1.9",
|
|
80
|
-
"@camstack/addon-provider-esphome": ">=0.1.12",
|
|
81
|
-
"@camstack/addon-provider-gree": ">=0.2.150",
|
|
82
|
-
"@camstack/addon-provider-hikvision": ">=1.2.182",
|
|
83
|
-
"@camstack/addon-provider-homeassistant": ">=1.2.661",
|
|
84
|
-
"@camstack/addon-provider-homematic": ">=1.2.183",
|
|
85
|
-
"@camstack/addon-provider-mqtt-ha": ">=0.1.37",
|
|
86
|
-
"@camstack/addon-provider-onvif": ">=1.2.155",
|
|
87
|
-
"@camstack/addon-provider-petkit": ">=0.2.160",
|
|
88
|
-
"@camstack/addon-provider-rademacher": ">=0.2.159",
|
|
89
|
-
"@camstack/addon-provider-reolink": ">=1.2.225",
|
|
90
|
-
"@camstack/addon-provider-rtsp": ">=1.2.151",
|
|
91
|
-
"@camstack/addon-provider-tuya": ">=0.2.151",
|
|
92
|
-
"@camstack/addon-provider-unifi": ">=0.2.156",
|
|
93
|
-
"@camstack/addon-provider-unraid": ">=0.2.157",
|
|
94
|
-
"@camstack/addon-provider-velux": ">=0.2.159",
|
|
95
|
-
"@camstack/addon-provider-vesync": ">=0.2.151",
|
|
96
|
-
"@camstack/addon-provider-wyze": ">=0.2.163"
|
|
97
|
-
},
|
|
68
|
+
"addons": {},
|
|
98
69
|
"wrapper": {
|
|
99
70
|
"desktop": ">=0.0.1",
|
|
100
71
|
"image": ">=0.0.1"
|