@adelie/server 0.6.6 → 0.6.7
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/index.js +92 -40
- package/dist/index.js.map +1 -1
- package/dist/install.ps1 +1 -1
- package/dist/install.sh +1 -1
- package/package.json +4 -4
- package/web-dist/assets/{addon-clipboard-zYBgtCxk.js → addon-clipboard-B-h4ml1Y.js} +1 -1
- package/web-dist/assets/{addon-fit-DYhO9Ywy.js → addon-fit-CSvS59lS.js} +1 -1
- package/web-dist/assets/{addon-web-links-BJm-0mGC.js → addon-web-links-DCK_uP8o.js} +1 -1
- package/web-dist/assets/{highlighter-CPPepgJi.js → highlighter-C1OIpuO8.js} +2 -2
- package/web-dist/assets/{highlighter-core-BQAcLIyp.js → highlighter-core-Z0y1yn1q.js} +1 -1
- package/web-dist/assets/{index-C7KRGNKU.js → index-t3HBarWy.js} +130 -130
- package/web-dist/assets/{xterm-BVhkLEVm.js → xterm-32f6uY7s.js} +1 -1
- package/web-dist/index.html +1 -1
package/dist/index.js
CHANGED
|
@@ -3828,7 +3828,7 @@ import { DEFAULT_PROJECT_ID as DEFAULT_PROJECT_ID3, DEFAULT_PROJECT_NAME as DEFA
|
|
|
3828
3828
|
|
|
3829
3829
|
// src/ifaces.json
|
|
3830
3830
|
var ifaces_default = {
|
|
3831
|
-
hash: "
|
|
3831
|
+
hash: "bd8f0cb27b4ce1db502e9b13e9818933c2b572478fcb7917370d8e7ac36afbfe",
|
|
3832
3832
|
ifaces: {
|
|
3833
3833
|
"@adelie/server#Access": {
|
|
3834
3834
|
name: "Access",
|
|
@@ -28687,6 +28687,10 @@ var ifaces_default = {
|
|
|
28687
28687
|
access: {
|
|
28688
28688
|
iface: "@adelie/server#Access",
|
|
28689
28689
|
from: "ProjectsModule"
|
|
28690
|
+
},
|
|
28691
|
+
errors: {
|
|
28692
|
+
iface: "@adelie/server#Errors",
|
|
28693
|
+
from: "ObservabilityModule"
|
|
28690
28694
|
}
|
|
28691
28695
|
},
|
|
28692
28696
|
provides: {
|
|
@@ -64462,6 +64466,9 @@ function currentRemoteLayout(env = process.env) {
|
|
|
64462
64466
|
var KEEP_HELD_MS = 6e4;
|
|
64463
64467
|
var REHOLD_BACKOFF_MIN_MS = 6e4;
|
|
64464
64468
|
var REHOLD_BACKOFF_MAX_MS = 15 * 6e4;
|
|
64469
|
+
function machinesErrorRecord(err, code2, projectId) {
|
|
64470
|
+
return { source: "process", err, code: code2, ctx: projectId === void 0 ? void 0 : { projectId } };
|
|
64471
|
+
}
|
|
64465
64472
|
var LOCAL_MACHINE_ID = "local";
|
|
64466
64473
|
var CONCURRENCY = 5;
|
|
64467
64474
|
var SESSION_REUSE_MS = 50 * 6e4;
|
|
@@ -64490,6 +64497,8 @@ var MachinesService = class {
|
|
|
64490
64497
|
upgrade: upgradeRemote,
|
|
64491
64498
|
loadConfig: (projectId) => loadProjectConfig(dataRoot, projectId),
|
|
64492
64499
|
now: () => /* @__PURE__ */ new Date(),
|
|
64500
|
+
recordError: () => {
|
|
64501
|
+
},
|
|
64493
64502
|
...effects
|
|
64494
64503
|
};
|
|
64495
64504
|
}
|
|
@@ -64534,6 +64543,13 @@ var MachinesService = class {
|
|
|
64534
64543
|
#jobs = /* @__PURE__ */ new Map();
|
|
64535
64544
|
/** The standing intent: while this App lives, machines recorded as held are re-held when found dropped. */
|
|
64536
64545
|
#keepHeld = null;
|
|
64546
|
+
/**
|
|
64547
|
+
* Whether this generation has been retired. start() reaches out over the network before it
|
|
64548
|
+
* settles, so a hot push's stop() can land while it is still awaiting: the generation must
|
|
64549
|
+
* then install nothing — a timer on a retired generation would read a database that is
|
|
64550
|
+
* already closed, once a minute, until the process ends.
|
|
64551
|
+
*/
|
|
64552
|
+
#stopped = false;
|
|
64537
64553
|
/** Per machine, when the next re-hold may be tried (epoch ms) and how many tries have failed in a row. */
|
|
64538
64554
|
#reholdNotBefore = /* @__PURE__ */ new Map();
|
|
64539
64555
|
#reholdFailures = /* @__PURE__ */ new Map();
|
|
@@ -65201,19 +65217,43 @@ var MachinesService = class {
|
|
|
65201
65217
|
* slow to answer must not hold up the App that serves everything else.
|
|
65202
65218
|
*/
|
|
65203
65219
|
async start() {
|
|
65220
|
+
if (this.#stopped) return;
|
|
65204
65221
|
await this.syncOutOfDate();
|
|
65222
|
+
if (this.#stopped) return;
|
|
65205
65223
|
await this.autoConnect();
|
|
65206
|
-
if (this.#keepHeld === null) {
|
|
65207
|
-
this.#keepHeld = setInterval(() => void this
|
|
65224
|
+
if (!this.#stopped && this.#keepHeld === null) {
|
|
65225
|
+
this.#keepHeld = setInterval(() => void this.#keepHeldTick(), KEEP_HELD_MS);
|
|
65208
65226
|
this.#keepHeld.unref?.();
|
|
65209
65227
|
}
|
|
65210
65228
|
}
|
|
65229
|
+
/**
|
|
65230
|
+
* One attempt of the standing intent, from the timer.
|
|
65231
|
+
*
|
|
65232
|
+
* The boot path in platform.ts is fire-and-forget too, but it has somewhere to put a
|
|
65233
|
+
* rejection (its own `.catch`); a timer callback has nobody to throw to, so a rejection here
|
|
65234
|
+
* would escape to the process as an unhandled rejection — which is what used to happen once a
|
|
65235
|
+
* minute whenever a sweep failed. It is recorded instead, under the same source and code as
|
|
65236
|
+
* that boot path: one machine failing to come back is one class in the error centre, and one
|
|
65237
|
+
* rule there silences both occasions.
|
|
65238
|
+
*
|
|
65239
|
+
* The guard first: a stop() landing between the tick and this call retires the generation,
|
|
65240
|
+
* and reading a closed database to tell its error table about it helps nobody.
|
|
65241
|
+
*/
|
|
65242
|
+
async #keepHeldTick() {
|
|
65243
|
+
if (this.#stopped) return;
|
|
65244
|
+
try {
|
|
65245
|
+
await this.autoConnect();
|
|
65246
|
+
} catch (err) {
|
|
65247
|
+
if (!this.#stopped) this.#effects.recordError(err, "machines_reconnect_failed");
|
|
65248
|
+
}
|
|
65249
|
+
}
|
|
65211
65250
|
/**
|
|
65212
65251
|
* Closes every connection THIS generation opened — the platform's dispose effect on a hot
|
|
65213
65252
|
* push. The record of which were held stays, so the successor's start() brings each back.
|
|
65214
65253
|
* Nothing here closes by a remembered pid: the child handles are this generation's own.
|
|
65215
65254
|
*/
|
|
65216
65255
|
stop() {
|
|
65256
|
+
this.#stopped = true;
|
|
65217
65257
|
if (this.#keepHeld !== null) clearInterval(this.#keepHeld);
|
|
65218
65258
|
this.#keepHeld = null;
|
|
65219
65259
|
closeAllConnections();
|
|
@@ -65508,27 +65548,31 @@ var MachinesService = class {
|
|
|
65508
65548
|
* interface member is a contract change a pushed platform pays for.
|
|
65509
65549
|
*/
|
|
65510
65550
|
async syncModelsEverywhere(projectId) {
|
|
65511
|
-
|
|
65512
|
-
|
|
65513
|
-
|
|
65514
|
-
|
|
65515
|
-
|
|
65516
|
-
|
|
65517
|
-
|
|
65518
|
-
|
|
65519
|
-
|
|
65520
|
-
|
|
65521
|
-
|
|
65522
|
-
|
|
65523
|
-
|
|
65524
|
-
|
|
65525
|
-
|
|
65526
|
-
|
|
65551
|
+
try {
|
|
65552
|
+
const connected = this.list(projectId).filter(
|
|
65553
|
+
(m) => !m.local && m.installed !== null && m.connection !== null
|
|
65554
|
+
);
|
|
65555
|
+
await Promise.all(
|
|
65556
|
+
connected.map(async (machine) => {
|
|
65557
|
+
const address = machine.id;
|
|
65558
|
+
const port = this.#liveSession(address) === null ? null : this.repo.get(address)?.remotePort ?? null;
|
|
65559
|
+
if (port === null) return;
|
|
65560
|
+
try {
|
|
65561
|
+
await this.#syncCoalesced(address, this.#targetOf(machine.alias), port, () => [
|
|
65562
|
+
projectId
|
|
65563
|
+
]);
|
|
65564
|
+
} catch {
|
|
65565
|
+
}
|
|
65566
|
+
})
|
|
65567
|
+
);
|
|
65568
|
+
} catch (err) {
|
|
65569
|
+
this.#effects.recordError(err, "fleet_sync_failed", projectId);
|
|
65570
|
+
}
|
|
65527
65571
|
}
|
|
65528
65572
|
};
|
|
65529
65573
|
var Machines = class extends Interface23() {
|
|
65530
65574
|
};
|
|
65531
|
-
var _serverProxyRoutes_dec, _routes_dec6, _machines_dec2, _access_dec7, _hmr_dec3, _db_dec16, _paths_dec16, _MachinesModule_decorators, _init116;
|
|
65575
|
+
var _serverProxyRoutes_dec, _routes_dec6, _machines_dec2, _errors_dec7, _access_dec7, _hmr_dec3, _db_dec16, _paths_dec16, _MachinesModule_decorators, _init116;
|
|
65532
65576
|
_MachinesModule_decorators = [Module16({
|
|
65533
65577
|
contributes: {
|
|
65534
65578
|
"HttpModule.routes": [
|
|
@@ -65548,16 +65592,17 @@ _MachinesModule_decorators = [Module16({
|
|
|
65548
65592
|
}
|
|
65549
65593
|
]
|
|
65550
65594
|
}
|
|
65551
|
-
})], _paths_dec16 = [Use56()], _db_dec16 = [Use56()], _hmr_dec3 = [Use56()], _access_dec7 = [Use56()], _machines_dec2 = [Provide16()], _routes_dec6 = [Bind16("MachinesModule.routes")], _serverProxyRoutes_dec = [Bind16("MachinesModule.server-proxy")];
|
|
65595
|
+
})], _paths_dec16 = [Use56()], _db_dec16 = [Use56()], _hmr_dec3 = [Use56()], _access_dec7 = [Use56()], _errors_dec7 = [Use56()], _machines_dec2 = [Provide16()], _routes_dec6 = [Bind16("MachinesModule.routes")], _serverProxyRoutes_dec = [Bind16("MachinesModule.server-proxy")];
|
|
65552
65596
|
var MachinesModule = class {
|
|
65553
65597
|
constructor() {
|
|
65554
65598
|
__publicField(this, "paths", __runInitializers(_init116, 8, this)), __runInitializers(_init116, 11, this);
|
|
65555
65599
|
__publicField(this, "db", __runInitializers(_init116, 12, this)), __runInitializers(_init116, 15, this);
|
|
65556
65600
|
__publicField(this, "hmr", __runInitializers(_init116, 16, this)), __runInitializers(_init116, 19, this);
|
|
65557
65601
|
__publicField(this, "access", __runInitializers(_init116, 20, this)), __runInitializers(_init116, 23, this);
|
|
65558
|
-
__publicField(this, "
|
|
65559
|
-
__publicField(this, "
|
|
65560
|
-
__publicField(this, "
|
|
65602
|
+
__publicField(this, "errors", __runInitializers(_init116, 24, this)), __runInitializers(_init116, 27, this);
|
|
65603
|
+
__publicField(this, "machines", __runInitializers(_init116, 28, this)), __runInitializers(_init116, 31, this);
|
|
65604
|
+
__publicField(this, "routes", __runInitializers(_init116, 32, this)), __runInitializers(_init116, 35, this);
|
|
65605
|
+
__publicField(this, "serverProxyRoutes", __runInitializers(_init116, 36, this)), __runInitializers(_init116, 39, this);
|
|
65561
65606
|
}
|
|
65562
65607
|
setup({ effect }) {
|
|
65563
65608
|
const repo = new MachinesRepo(this.db);
|
|
@@ -65565,7 +65610,13 @@ var MachinesModule = class {
|
|
|
65565
65610
|
this.paths.root,
|
|
65566
65611
|
repo.ownId(),
|
|
65567
65612
|
repo,
|
|
65568
|
-
{
|
|
65613
|
+
{
|
|
65614
|
+
// The standing-intent timer's failures have no caller to throw to; they go to the error
|
|
65615
|
+
// centre under the same source and code the boot path uses for the same failure
|
|
65616
|
+
// (platform.ts), so one machine that will not come back is one silenceable class. The
|
|
65617
|
+
// code is the port's, not this wiring's: the fleet push files its own class the same way.
|
|
65618
|
+
recordError: (err, code2, projectId) => this.errors.record(machinesErrorRecord(err, code2, projectId))
|
|
65619
|
+
},
|
|
65569
65620
|
() => this.hmr.assetsDir()
|
|
65570
65621
|
);
|
|
65571
65622
|
this.machines = machines;
|
|
@@ -65579,6 +65630,7 @@ __decorateElement(_init116, 5, "paths", _paths_dec16, MachinesModule);
|
|
|
65579
65630
|
__decorateElement(_init116, 5, "db", _db_dec16, MachinesModule);
|
|
65580
65631
|
__decorateElement(_init116, 5, "hmr", _hmr_dec3, MachinesModule);
|
|
65581
65632
|
__decorateElement(_init116, 5, "access", _access_dec7, MachinesModule);
|
|
65633
|
+
__decorateElement(_init116, 5, "errors", _errors_dec7, MachinesModule);
|
|
65582
65634
|
__decorateElement(_init116, 5, "machines", _machines_dec2, MachinesModule);
|
|
65583
65635
|
__decorateElement(_init116, 5, "routes", _routes_dec6, MachinesModule);
|
|
65584
65636
|
__decorateElement(_init116, 5, "serverProxyRoutes", _serverProxyRoutes_dec, MachinesModule);
|
|
@@ -70801,8 +70853,8 @@ var OrgService = class extends Interface25() {
|
|
|
70801
70853
|
};
|
|
70802
70854
|
var OrgScheduler = class extends Interface25() {
|
|
70803
70855
|
};
|
|
70804
|
-
var _orgScheduler_dec, _orgService_dec, _messagingRepo_dec3, _settings_dec6,
|
|
70805
|
-
_OrganizationModule_decorators = [Module17()], _config_dec11 = [Use57()], _channels_dec9 = [Use57()], _clock_dec12 = [Use57()], _log_dec4 = [Use57()], _cache_dec = [Use57()], _projects_dec7 = [Use57()], _members_dec4 = [Use57()], _sessionsRepo_dec4 = [Use57()], _runner_dec3 = [Use57()], _sessionCreator_dec2 = [Use57()], _agentService_dec = [Use57()], _agentConfig_dec6 = [Use57()], _agentsRepo_dec = [Use57()], _projectConfig_dec13 = [Use57()], _usage_dec6 = [Use57()],
|
|
70856
|
+
var _orgScheduler_dec, _orgService_dec, _messagingRepo_dec3, _settings_dec6, _errors_dec8, _usage_dec6, _projectConfig_dec13, _agentsRepo_dec, _agentConfig_dec6, _agentService_dec, _sessionCreator_dec2, _runner_dec3, _sessionsRepo_dec4, _members_dec4, _projects_dec7, _cache_dec, _log_dec4, _clock_dec12, _channels_dec9, _config_dec11, _OrganizationModule_decorators, _init117;
|
|
70857
|
+
_OrganizationModule_decorators = [Module17()], _config_dec11 = [Use57()], _channels_dec9 = [Use57()], _clock_dec12 = [Use57()], _log_dec4 = [Use57()], _cache_dec = [Use57()], _projects_dec7 = [Use57()], _members_dec4 = [Use57()], _sessionsRepo_dec4 = [Use57()], _runner_dec3 = [Use57()], _sessionCreator_dec2 = [Use57()], _agentService_dec = [Use57()], _agentConfig_dec6 = [Use57()], _agentsRepo_dec = [Use57()], _projectConfig_dec13 = [Use57()], _usage_dec6 = [Use57()], _errors_dec8 = [Use57()], _settings_dec6 = [Use57()], _messagingRepo_dec3 = [Use57()], _orgService_dec = [Provide17()], _orgScheduler_dec = [Provide17()];
|
|
70806
70858
|
var OrganizationModule = class {
|
|
70807
70859
|
constructor() {
|
|
70808
70860
|
__publicField(this, "config", __runInitializers(_init117, 8, this)), __runInitializers(_init117, 11, this);
|
|
@@ -70909,7 +70961,7 @@ __decorateElement(_init117, 5, "agentConfig", _agentConfig_dec6, OrganizationMod
|
|
|
70909
70961
|
__decorateElement(_init117, 5, "agentsRepo", _agentsRepo_dec, OrganizationModule);
|
|
70910
70962
|
__decorateElement(_init117, 5, "projectConfig", _projectConfig_dec13, OrganizationModule);
|
|
70911
70963
|
__decorateElement(_init117, 5, "usage", _usage_dec6, OrganizationModule);
|
|
70912
|
-
__decorateElement(_init117, 5, "errors",
|
|
70964
|
+
__decorateElement(_init117, 5, "errors", _errors_dec8, OrganizationModule);
|
|
70913
70965
|
__decorateElement(_init117, 5, "settings", _settings_dec6, OrganizationModule);
|
|
70914
70966
|
__decorateElement(_init117, 5, "messagingRepo", _messagingRepo_dec3, OrganizationModule);
|
|
70915
70967
|
__decorateElement(_init117, 5, "orgService", _orgService_dec, OrganizationModule);
|
|
@@ -76182,7 +76234,7 @@ function suggestIdRoutes(deps) {
|
|
|
76182
76234
|
});
|
|
76183
76235
|
return app;
|
|
76184
76236
|
}
|
|
76185
|
-
var _routes_dec24, _log_dec5,
|
|
76237
|
+
var _routes_dec24, _log_dec5, _errors_dec9, _settings_dec11, _orgService_dec3, _benchmarks_dec2, _agents_dec4, _projectConfig_dec15, _projects_dec8, _access_dec10, _SuggestIdRoutes_decorators, _init140;
|
|
76186
76238
|
_SuggestIdRoutes_decorators = [Component70({
|
|
76187
76239
|
contributes: {
|
|
76188
76240
|
"HttpModule.routes": [
|
|
@@ -76194,7 +76246,7 @@ _SuggestIdRoutes_decorators = [Component70({
|
|
|
76194
76246
|
}
|
|
76195
76247
|
]
|
|
76196
76248
|
}
|
|
76197
|
-
})], _access_dec10 = [Use72()], _projects_dec8 = [Use72()], _projectConfig_dec15 = [Use72()], _agents_dec4 = [Use72()], _benchmarks_dec2 = [Use72()], _orgService_dec3 = [Use72()], _settings_dec11 = [Use72()],
|
|
76249
|
+
})], _access_dec10 = [Use72()], _projects_dec8 = [Use72()], _projectConfig_dec15 = [Use72()], _agents_dec4 = [Use72()], _benchmarks_dec2 = [Use72()], _orgService_dec3 = [Use72()], _settings_dec11 = [Use72()], _errors_dec9 = [Use72()], _log_dec5 = [Use72()], _routes_dec24 = [Bind30("SuggestIdRoutes.routes")];
|
|
76198
76250
|
var SuggestIdRoutes = class {
|
|
76199
76251
|
constructor() {
|
|
76200
76252
|
__publicField(this, "access", __runInitializers(_init140, 8, this)), __runInitializers(_init140, 11, this);
|
|
@@ -76238,7 +76290,7 @@ __decorateElement(_init140, 5, "agents", _agents_dec4, SuggestIdRoutes);
|
|
|
76238
76290
|
__decorateElement(_init140, 5, "benchmarks", _benchmarks_dec2, SuggestIdRoutes);
|
|
76239
76291
|
__decorateElement(_init140, 5, "orgService", _orgService_dec3, SuggestIdRoutes);
|
|
76240
76292
|
__decorateElement(_init140, 5, "settings", _settings_dec11, SuggestIdRoutes);
|
|
76241
|
-
__decorateElement(_init140, 5, "errors",
|
|
76293
|
+
__decorateElement(_init140, 5, "errors", _errors_dec9, SuggestIdRoutes);
|
|
76242
76294
|
__decorateElement(_init140, 5, "log", _log_dec5, SuggestIdRoutes);
|
|
76243
76295
|
__decorateElement(_init140, 5, "routes", _routes_dec24, SuggestIdRoutes);
|
|
76244
76296
|
SuggestIdRoutes = __decorateElement(_init140, 0, "SuggestIdRoutes", _SuggestIdRoutes_decorators, SuggestIdRoutes);
|
|
@@ -77906,8 +77958,8 @@ var Http = class {
|
|
|
77906
77958
|
_init184 = __decoratorStart(null);
|
|
77907
77959
|
Http = __decorateElement(_init184, 0, "Http", _Http_decorators, Http);
|
|
77908
77960
|
__runInitializers(_init184, 1, Http);
|
|
77909
|
-
var _http_dec3, _access_dec12, _settings_dec12,
|
|
77910
|
-
_HttpModule_decorators = [Module19()], _config_dec21 = [Use76()], _log_dec7 = [Use76()], _auth_dec10 = [Use76()],
|
|
77961
|
+
var _http_dec3, _access_dec12, _settings_dec12, _errors_dec10, _auth_dec10, _log_dec7, _config_dec21, _HttpModule_decorators, _init185;
|
|
77962
|
+
_HttpModule_decorators = [Module19()], _config_dec21 = [Use76()], _log_dec7 = [Use76()], _auth_dec10 = [Use76()], _errors_dec10 = [Use76()], _settings_dec12 = [Use76()], _access_dec12 = [Use76()], _http_dec3 = [Provide19()];
|
|
77911
77963
|
var HttpModule = class {
|
|
77912
77964
|
constructor() {
|
|
77913
77965
|
__publicField(this, "config", __runInitializers(_init185, 8, this)), __runInitializers(_init185, 11, this);
|
|
@@ -77982,7 +78034,7 @@ _init185 = __decoratorStart(null);
|
|
|
77982
78034
|
__decorateElement(_init185, 5, "config", _config_dec21, HttpModule);
|
|
77983
78035
|
__decorateElement(_init185, 5, "log", _log_dec7, HttpModule);
|
|
77984
78036
|
__decorateElement(_init185, 5, "auth", _auth_dec10, HttpModule);
|
|
77985
|
-
__decorateElement(_init185, 5, "errors",
|
|
78037
|
+
__decorateElement(_init185, 5, "errors", _errors_dec10, HttpModule);
|
|
77986
78038
|
__decorateElement(_init185, 5, "settings", _settings_dec12, HttpModule);
|
|
77987
78039
|
__decorateElement(_init185, 5, "access", _access_dec12, HttpModule);
|
|
77988
78040
|
__decorateElement(_init185, 5, "http", _http_dec3, HttpModule);
|
|
@@ -83389,7 +83441,7 @@ function agentApiTryRoutes(deps) {
|
|
|
83389
83441
|
}
|
|
83390
83442
|
|
|
83391
83443
|
// src/amsp/module.ts
|
|
83392
|
-
var _tryRoutes_dec, _routes_dec27, _access_dec13, _clock_dec14,
|
|
83444
|
+
var _tryRoutes_dec, _routes_dec27, _access_dec13, _clock_dec14, _errors_dec11, _log_dec9, _agentConfig_dec8, _channels_dec13, _sessionService_dec3, _manager_dec5, _sessions_dec7, _agentApi_dec4, _settings_dec13, _AmspRoutes_decorators, _init194;
|
|
83393
83445
|
_AmspRoutes_decorators = [Component75({
|
|
83394
83446
|
contributes: {
|
|
83395
83447
|
"HttpModule.routes": [
|
|
@@ -83402,7 +83454,7 @@ _AmspRoutes_decorators = [Component75({
|
|
|
83402
83454
|
}
|
|
83403
83455
|
]
|
|
83404
83456
|
}
|
|
83405
|
-
})], _settings_dec13 = [Use79()], _agentApi_dec4 = [Use79()], _sessions_dec7 = [Use79()], _manager_dec5 = [Use79()], _sessionService_dec3 = [Use79()], _channels_dec13 = [Use79()], _agentConfig_dec8 = [Use79()], _log_dec9 = [Use79()],
|
|
83457
|
+
})], _settings_dec13 = [Use79()], _agentApi_dec4 = [Use79()], _sessions_dec7 = [Use79()], _manager_dec5 = [Use79()], _sessionService_dec3 = [Use79()], _channels_dec13 = [Use79()], _agentConfig_dec8 = [Use79()], _log_dec9 = [Use79()], _errors_dec11 = [Use79()], _clock_dec14 = [Use79()], _access_dec13 = [Use79()], _routes_dec27 = [Bind35("AmspRoutes.routes")], _tryRoutes_dec = [Bind35("AmspRoutes.try")];
|
|
83406
83458
|
var AmspRoutes = class {
|
|
83407
83459
|
constructor() {
|
|
83408
83460
|
__publicField(this, "settings", __runInitializers(_init194, 8, this)), __runInitializers(_init194, 11, this);
|
|
@@ -83446,7 +83498,7 @@ __decorateElement(_init194, 5, "sessionService", _sessionService_dec3, AmspRoute
|
|
|
83446
83498
|
__decorateElement(_init194, 5, "channels", _channels_dec13, AmspRoutes);
|
|
83447
83499
|
__decorateElement(_init194, 5, "agentConfig", _agentConfig_dec8, AmspRoutes);
|
|
83448
83500
|
__decorateElement(_init194, 5, "log", _log_dec9, AmspRoutes);
|
|
83449
|
-
__decorateElement(_init194, 5, "errors",
|
|
83501
|
+
__decorateElement(_init194, 5, "errors", _errors_dec11, AmspRoutes);
|
|
83450
83502
|
__decorateElement(_init194, 5, "clock", _clock_dec14, AmspRoutes);
|
|
83451
83503
|
__decorateElement(_init194, 5, "access", _access_dec13, AmspRoutes);
|
|
83452
83504
|
__decorateElement(_init194, 5, "routes", _routes_dec27, AmspRoutes);
|
|
@@ -83465,8 +83517,8 @@ AgentApiModule = __decorateElement(_init195, 0, "AgentApiModule", _AgentApiModul
|
|
|
83465
83517
|
__runInitializers(_init195, 1, AgentApiModule);
|
|
83466
83518
|
|
|
83467
83519
|
// src/platform.ts
|
|
83468
|
-
var _agents_dec6, _usage_dec7, _projectConfig_dec16,
|
|
83469
|
-
_Startup_decorators = [Component76()], _scheduler_dec2 = [Use80()], _orgScheduler_dec2 = [Use80()], _sessionService_dec4 = [Use80()], _machines_dec5 = [Use80()],
|
|
83520
|
+
var _agents_dec6, _usage_dec7, _projectConfig_dec16, _errors_dec12, _machines_dec5, _sessionService_dec4, _orgScheduler_dec2, _scheduler_dec2, _Startup_decorators, _init196;
|
|
83521
|
+
_Startup_decorators = [Component76()], _scheduler_dec2 = [Use80()], _orgScheduler_dec2 = [Use80()], _sessionService_dec4 = [Use80()], _machines_dec5 = [Use80()], _errors_dec12 = [Use80()], _projectConfig_dec16 = [Use80()], _usage_dec7 = [Use80()], _agents_dec6 = [Use80()];
|
|
83470
83522
|
var Startup = class {
|
|
83471
83523
|
constructor() {
|
|
83472
83524
|
__publicField(this, "scheduler", __runInitializers(_init196, 8, this)), __runInitializers(_init196, 11, this);
|
|
@@ -83503,7 +83555,7 @@ __decorateElement(_init196, 5, "scheduler", _scheduler_dec2, Startup);
|
|
|
83503
83555
|
__decorateElement(_init196, 5, "orgScheduler", _orgScheduler_dec2, Startup);
|
|
83504
83556
|
__decorateElement(_init196, 5, "sessionService", _sessionService_dec4, Startup);
|
|
83505
83557
|
__decorateElement(_init196, 5, "machines", _machines_dec5, Startup);
|
|
83506
|
-
__decorateElement(_init196, 5, "errors",
|
|
83558
|
+
__decorateElement(_init196, 5, "errors", _errors_dec12, Startup);
|
|
83507
83559
|
__decorateElement(_init196, 5, "projectConfig", _projectConfig_dec16, Startup);
|
|
83508
83560
|
__decorateElement(_init196, 5, "usage", _usage_dec7, Startup);
|
|
83509
83561
|
__decorateElement(_init196, 5, "agents", _agents_dec6, Startup);
|