@adelie/server 0.5.1 → 0.5.3
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/api/types.d.ts +38 -3
- package/dist/api/types.js +1 -1
- package/dist/{chunk-IZEMORXV.js → chunk-T4HDU7IF.js} +1 -1
- package/dist/chunk-T4HDU7IF.js.map +1 -0
- package/dist/index.js +870 -599
- package/dist/index.js.map +1 -1
- package/dist/install.ps1 +1 -1
- package/dist/install.sh +1 -1
- package/dist/plugin/index.d.ts +2 -2
- package/package.json +4 -4
- package/web-dist/assets/{addon-clipboard-BU5GZsef.js → addon-clipboard-DOmZ7KMI.js} +1 -1
- package/web-dist/assets/{addon-fit-B_mXSH9E.js → addon-fit-CfZpCFBW.js} +1 -1
- package/web-dist/assets/{addon-web-links-CrIdpbXy.js → addon-web-links-B-BG4oX_.js} +1 -1
- package/web-dist/assets/{highlighter-BDxr2Reu.js → highlighter-Cj8pD7MO.js} +2 -2
- package/web-dist/assets/{highlighter-core-C91BgiW7.js → highlighter-core-D0NFSBMO.js} +1 -1
- package/web-dist/assets/index-B0-7snRT.js +1080 -0
- package/web-dist/assets/index-CJYYshdE.css +1 -0
- package/web-dist/assets/{xterm-BT4qZAkH.js → xterm-B-BK5fdZ.js} +1 -1
- package/web-dist/index.html +2 -2
- package/dist/chunk-IZEMORXV.js.map +0 -1
- package/web-dist/assets/index-By5tJCWt.js +0 -1080
- package/web-dist/assets/index-DU13e4im.css +0 -1
package/dist/index.js
CHANGED
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
} from "./chunk-GO6G445C.js";
|
|
9
9
|
import {
|
|
10
10
|
TICKET_SLUG_PATTERN
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-T4HDU7IF.js";
|
|
12
12
|
import {
|
|
13
13
|
MachinesRepo
|
|
14
14
|
} from "./chunk-HMTT2PX4.js";
|
|
@@ -1212,6 +1212,27 @@ var DesktopService = class {
|
|
|
1212
1212
|
this.trayCommandSender(patch);
|
|
1213
1213
|
return true;
|
|
1214
1214
|
}
|
|
1215
|
+
// --- pet-window relay ------------------------------------------------------
|
|
1216
|
+
petStatus = null;
|
|
1217
|
+
petCommandSender = null;
|
|
1218
|
+
/** Latest shell push; null until the shell's first one lands (the page then reads it as off). */
|
|
1219
|
+
getPetStatus() {
|
|
1220
|
+
return this.petStatus;
|
|
1221
|
+
}
|
|
1222
|
+
/** index.ts stores each shell push here (already validated at the message port). */
|
|
1223
|
+
setPetStatus(status) {
|
|
1224
|
+
this.petStatus = status;
|
|
1225
|
+
}
|
|
1226
|
+
/** index.ts registers the message-port sender; absent outside a shell-forked process. */
|
|
1227
|
+
onPetCommand(sender) {
|
|
1228
|
+
this.petCommandSender = sender;
|
|
1229
|
+
}
|
|
1230
|
+
/** Invoked by the pet route; false when no shell port is wired (tests, plain runs). */
|
|
1231
|
+
requestPetCommand(patch) {
|
|
1232
|
+
if (!this.petCommandSender) return false;
|
|
1233
|
+
this.petCommandSender(patch);
|
|
1234
|
+
return true;
|
|
1235
|
+
}
|
|
1215
1236
|
// --- macOS folder-access relay ----------------------------------------------
|
|
1216
1237
|
folderAccessSender = null;
|
|
1217
1238
|
privacySettingsSender = null;
|
|
@@ -3659,7 +3680,7 @@ import { DEFAULT_PROJECT_ID as DEFAULT_PROJECT_ID3, DEFAULT_PROJECT_NAME as DEFA
|
|
|
3659
3680
|
|
|
3660
3681
|
// src/ifaces.json
|
|
3661
3682
|
var ifaces_default = {
|
|
3662
|
-
hash: "
|
|
3683
|
+
hash: "4243162592d64aca9fb1881d82a2d399fba1c79f4f6e76dae35f30c412eff108",
|
|
3663
3684
|
ifaces: {
|
|
3664
3685
|
"@adelie/server#Access": {
|
|
3665
3686
|
name: "Access",
|
|
@@ -6615,6 +6636,63 @@ var ifaces_default = {
|
|
|
6615
6636
|
data: "boolean"
|
|
6616
6637
|
}
|
|
6617
6638
|
},
|
|
6639
|
+
getPetStatus: {
|
|
6640
|
+
params: [],
|
|
6641
|
+
returns: {
|
|
6642
|
+
data: [
|
|
6643
|
+
"null",
|
|
6644
|
+
"|",
|
|
6645
|
+
{
|
|
6646
|
+
$ref: "@adelie/server#DesktopPetStatus"
|
|
6647
|
+
}
|
|
6648
|
+
]
|
|
6649
|
+
}
|
|
6650
|
+
},
|
|
6651
|
+
setPetStatus: {
|
|
6652
|
+
params: [
|
|
6653
|
+
{
|
|
6654
|
+
data: {
|
|
6655
|
+
$ref: "@adelie/server#DesktopPetStatus"
|
|
6656
|
+
}
|
|
6657
|
+
}
|
|
6658
|
+
],
|
|
6659
|
+
returns: {
|
|
6660
|
+
void: true
|
|
6661
|
+
}
|
|
6662
|
+
},
|
|
6663
|
+
onPetCommand: {
|
|
6664
|
+
params: [
|
|
6665
|
+
{
|
|
6666
|
+
fn: {
|
|
6667
|
+
params: [
|
|
6668
|
+
{
|
|
6669
|
+
data: {
|
|
6670
|
+
$ref: "@adelie/server#DesktopPetPatch"
|
|
6671
|
+
}
|
|
6672
|
+
}
|
|
6673
|
+
],
|
|
6674
|
+
returns: {
|
|
6675
|
+
void: true
|
|
6676
|
+
}
|
|
6677
|
+
}
|
|
6678
|
+
}
|
|
6679
|
+
],
|
|
6680
|
+
returns: {
|
|
6681
|
+
void: true
|
|
6682
|
+
}
|
|
6683
|
+
},
|
|
6684
|
+
requestPetCommand: {
|
|
6685
|
+
params: [
|
|
6686
|
+
{
|
|
6687
|
+
data: {
|
|
6688
|
+
$ref: "@adelie/server#DesktopPetPatch"
|
|
6689
|
+
}
|
|
6690
|
+
}
|
|
6691
|
+
],
|
|
6692
|
+
returns: {
|
|
6693
|
+
data: "boolean"
|
|
6694
|
+
}
|
|
6695
|
+
},
|
|
6618
6696
|
onFolderAccessRequest: {
|
|
6619
6697
|
params: [
|
|
6620
6698
|
{
|
|
@@ -6703,6 +6781,11 @@ var ifaces_default = {
|
|
|
6703
6781
|
},
|
|
6704
6782
|
slots: {}
|
|
6705
6783
|
},
|
|
6784
|
+
"@adelie/server#DesktopPetRoutes": {
|
|
6785
|
+
name: "DesktopPetRoutes",
|
|
6786
|
+
methods: {},
|
|
6787
|
+
slots: {}
|
|
6788
|
+
},
|
|
6706
6789
|
"@adelie/server#DesktopPrivacySettingsRoutes": {
|
|
6707
6790
|
name: "DesktopPrivacySettingsRoutes",
|
|
6708
6791
|
methods: {},
|
|
@@ -22662,6 +22745,12 @@ var ifaces_default = {
|
|
|
22662
22745
|
"code?": "string",
|
|
22663
22746
|
packaged: "boolean"
|
|
22664
22747
|
},
|
|
22748
|
+
"@adelie/server#DesktopPetPatch": {
|
|
22749
|
+
"showPet?": "boolean"
|
|
22750
|
+
},
|
|
22751
|
+
"@adelie/server#DesktopPetStatus": {
|
|
22752
|
+
showPet: "boolean"
|
|
22753
|
+
},
|
|
22665
22754
|
"@adelie/server#DesktopPrivacyPane": "'files'|'fullDisk'",
|
|
22666
22755
|
"@adelie/server#DesktopTrayLocale": "'zh'|'en'",
|
|
22667
22756
|
"@adelie/server#DesktopTrayPatch": {
|
|
@@ -22714,6 +22803,7 @@ var ifaces_default = {
|
|
|
22714
22803
|
"to?": "string",
|
|
22715
22804
|
"fromTs?": "string",
|
|
22716
22805
|
"toTs?": "string",
|
|
22806
|
+
"until?": "string",
|
|
22717
22807
|
"agentId?": "string",
|
|
22718
22808
|
"kind?": "string",
|
|
22719
22809
|
"includeGlobal?": "boolean"
|
|
@@ -25119,6 +25209,7 @@ var ifaces_default = {
|
|
|
25119
25209
|
"to?": "string",
|
|
25120
25210
|
"fromTs?": "string",
|
|
25121
25211
|
"toTs?": "string",
|
|
25212
|
+
"until?": "string",
|
|
25122
25213
|
"agentId?": "string",
|
|
25123
25214
|
"includeGlobalErrors?": "boolean"
|
|
25124
25215
|
},
|
|
@@ -26448,6 +26539,7 @@ var ifaces_default = {
|
|
|
26448
26539
|
"to?": "string",
|
|
26449
26540
|
"fromTs?": "string",
|
|
26450
26541
|
"toTs?": "string",
|
|
26542
|
+
"until?": "string",
|
|
26451
26543
|
"agentId?": "string",
|
|
26452
26544
|
"kind?": "string"
|
|
26453
26545
|
},
|
|
@@ -27025,6 +27117,7 @@ var ifaces_default = {
|
|
|
27025
27117
|
"DesktopRoutes",
|
|
27026
27118
|
"DesktopUpdateRoutes",
|
|
27027
27119
|
"DesktopTrayRoutes",
|
|
27120
|
+
"DesktopPetRoutes",
|
|
27028
27121
|
"DesktopPrivacySettingsRoutes",
|
|
27029
27122
|
"PluginRoutes",
|
|
27030
27123
|
"PluginRegistryRoutes",
|
|
@@ -27291,6 +27384,30 @@ var ifaces_default = {
|
|
|
27291
27384
|
contributes: {},
|
|
27292
27385
|
children: []
|
|
27293
27386
|
},
|
|
27387
|
+
DesktopPetRoutes: {
|
|
27388
|
+
name: "DesktopPetRoutes",
|
|
27389
|
+
kind: "component",
|
|
27390
|
+
requires: {
|
|
27391
|
+
desktop: {
|
|
27392
|
+
iface: "@adelie/server#Desktop",
|
|
27393
|
+
from: "RuntimeModule"
|
|
27394
|
+
}
|
|
27395
|
+
},
|
|
27396
|
+
provides: {
|
|
27397
|
+
DesktopPetRoutes: "@adelie/server#DesktopPetRoutes"
|
|
27398
|
+
},
|
|
27399
|
+
contributes: {
|
|
27400
|
+
"HttpModule.routes": [
|
|
27401
|
+
{
|
|
27402
|
+
id: "DesktopPetRoutes.routes",
|
|
27403
|
+
prefix: "/api/desktop/pet",
|
|
27404
|
+
auth: "user",
|
|
27405
|
+
order: 10
|
|
27406
|
+
}
|
|
27407
|
+
]
|
|
27408
|
+
},
|
|
27409
|
+
children: []
|
|
27410
|
+
},
|
|
27294
27411
|
DesktopPrivacySettingsRoutes: {
|
|
27295
27412
|
name: "DesktopPrivacySettingsRoutes",
|
|
27296
27413
|
kind: "component",
|
|
@@ -46189,6 +46306,10 @@ var ErrorsRepo = class {
|
|
|
46189
46306
|
conds.push("ts <= :toTs");
|
|
46190
46307
|
params.toTs = f.toTs;
|
|
46191
46308
|
}
|
|
46309
|
+
if (f.until !== void 0) {
|
|
46310
|
+
conds.push("ts <= :until");
|
|
46311
|
+
params.until = f.until;
|
|
46312
|
+
}
|
|
46192
46313
|
if (f.agentId !== void 0) {
|
|
46193
46314
|
conds.push("agent_id = :agentId");
|
|
46194
46315
|
params.agentId = f.agentId;
|
|
@@ -46523,6 +46644,7 @@ var UsageService = class {
|
|
|
46523
46644
|
...q.to !== void 0 ? { to: q.to } : {},
|
|
46524
46645
|
...q.fromTs !== void 0 ? { fromTs: q.fromTs } : {},
|
|
46525
46646
|
...q.toTs !== void 0 ? { toTs: q.toTs } : {},
|
|
46647
|
+
...q.until !== void 0 ? { until: q.until } : {},
|
|
46526
46648
|
...q.includeGlobalErrors === true ? { includeGlobal: true } : {}
|
|
46527
46649
|
});
|
|
46528
46650
|
}
|
|
@@ -52567,6 +52689,39 @@ async function writeScheduleFile(root, projectId, agentId, name, raw) {
|
|
|
52567
52689
|
await fs20.mkdir(dir, { recursive: true });
|
|
52568
52690
|
await atomicWriteFile3(path23.join(dir, `${name}.toml`), raw, { followSymlinks: true });
|
|
52569
52691
|
}
|
|
52692
|
+
var EXPIRED_SCHEDULE_DIR = "expired";
|
|
52693
|
+
function archiveStamp(nowMs) {
|
|
52694
|
+
return new Date(nowMs).toISOString().replace(/\.\d{3}Z$/, "Z").replace(/[-:]/g, "");
|
|
52695
|
+
}
|
|
52696
|
+
async function pathExists(file) {
|
|
52697
|
+
try {
|
|
52698
|
+
await fs20.lstat(file);
|
|
52699
|
+
return true;
|
|
52700
|
+
} catch {
|
|
52701
|
+
return false;
|
|
52702
|
+
}
|
|
52703
|
+
}
|
|
52704
|
+
async function archiveScheduleFile(root, projectId, agentId, name, nowMs) {
|
|
52705
|
+
const dir = scheduleDir(root, projectId, agentId);
|
|
52706
|
+
const source = path23.join(dir, `${name}.toml`);
|
|
52707
|
+
if (!await pathExists(source)) return false;
|
|
52708
|
+
const archive = path23.join(dir, EXPIRED_SCHEDULE_DIR);
|
|
52709
|
+
await fs20.mkdir(archive, { recursive: true });
|
|
52710
|
+
let target = path23.join(archive, `${name}.toml`);
|
|
52711
|
+
const stamp = archiveStamp(nowMs);
|
|
52712
|
+
for (let n = 1; await pathExists(target); n += 1) {
|
|
52713
|
+
target = path23.join(archive, `${name}.${stamp}${n === 1 ? "" : `-${n}`}.toml`);
|
|
52714
|
+
}
|
|
52715
|
+
try {
|
|
52716
|
+
await fs20.rename(source, target);
|
|
52717
|
+
} catch (err) {
|
|
52718
|
+
if (err.code === "ENOENT" && !await pathExists(source)) {
|
|
52719
|
+
return false;
|
|
52720
|
+
}
|
|
52721
|
+
throw err;
|
|
52722
|
+
}
|
|
52723
|
+
return true;
|
|
52724
|
+
}
|
|
52570
52725
|
async function deleteScheduleFile(root, projectId, agentId, name) {
|
|
52571
52726
|
const file = path23.join(scheduleDir(root, projectId, agentId), `${name}.toml`);
|
|
52572
52727
|
try {
|
|
@@ -52585,6 +52740,16 @@ var ScheduleSessionCreator = class extends Interface22() {
|
|
|
52585
52740
|
var ScheduleTaskRunner = class extends Interface22() {
|
|
52586
52741
|
};
|
|
52587
52742
|
var scheduledMessage = buildScheduledMessage;
|
|
52743
|
+
function scheduleStatus(def, state, nowMs) {
|
|
52744
|
+
if (state.invalidReason !== null) return "invalid";
|
|
52745
|
+
if (def.periodMs === void 0 && state.firedOnce) return "done";
|
|
52746
|
+
if (def.periodMs === void 0 && state.missed) return "missed";
|
|
52747
|
+
if (def.endAtMs !== void 0 && nowMs > def.endAtMs) return "expired";
|
|
52748
|
+
return def.enabled ? "active" : "disabled";
|
|
52749
|
+
}
|
|
52750
|
+
function isSettledStatus(status) {
|
|
52751
|
+
return status === "done" || status === "missed" || status === "expired";
|
|
52752
|
+
}
|
|
52588
52753
|
var _clock_dec10, _channels_dec7, _errors_dec6, _projectConfig_dec10, _sessionCreator_dec, _runner_dec2, _sessions_dec5, _projects_dec6, _repo_dec2, _paths_dec8, _Scheduler_decorators, _init104;
|
|
52589
52754
|
_Scheduler_decorators = [Component44()], _paths_dec8 = [Use44()], _repo_dec2 = [Use44()], _projects_dec6 = [Use44()], _sessions_dec5 = [Use44()], _runner_dec2 = [Use44()], _sessionCreator_dec = [Use44()], _projectConfig_dec10 = [Use44()], _errors_dec6 = [Use44()], _channels_dec7 = [Use44()], _clock_dec10 = [Use44()];
|
|
52590
52755
|
var Scheduler = class {
|
|
@@ -52687,6 +52852,7 @@ var Scheduler = class {
|
|
|
52687
52852
|
continue;
|
|
52688
52853
|
}
|
|
52689
52854
|
const state = this.registerEntry(projectId, agentId, owner3, file.parsed.def, file.raw);
|
|
52855
|
+
if (await this.archiveIfSettled(projectId, agentId, file.parsed.def)) continue;
|
|
52690
52856
|
entries.push({
|
|
52691
52857
|
def: file.parsed.def,
|
|
52692
52858
|
state,
|
|
@@ -52788,6 +52954,7 @@ var Scheduler = class {
|
|
|
52788
52954
|
}
|
|
52789
52955
|
const state = this.registerEntry(projectId, agentId, ownerUserId, def, file.raw);
|
|
52790
52956
|
await this.evaluateEntry(projectId, agentId, def, state);
|
|
52957
|
+
await this.archiveIfSettled(projectId, agentId, def);
|
|
52791
52958
|
}
|
|
52792
52959
|
this.cleanupMissing(
|
|
52793
52960
|
projectId,
|
|
@@ -52816,6 +52983,34 @@ var Scheduler = class {
|
|
|
52816
52983
|
}
|
|
52817
52984
|
return this.repo.find(projectId, agentId, def.name) ?? row;
|
|
52818
52985
|
}
|
|
52986
|
+
/**
|
|
52987
|
+
* Archive a settled task (done / missed / expired): move its file unchanged into
|
|
52988
|
+
* `schedule/expired/` and drop its run state, exactly as if the file had been deleted.
|
|
52989
|
+
* Returns true when the task is gone from `schedule/` (archived now, or already gone), false
|
|
52990
|
+
* when it stays: not settled, a fire still queued for it (sent first; the send archives it), or
|
|
52991
|
+
* the move failed (recorded; the next pass tries again).
|
|
52992
|
+
*/
|
|
52993
|
+
async archiveIfSettled(projectId, agentId, def) {
|
|
52994
|
+
const state = this.repo.find(projectId, agentId, def.name);
|
|
52995
|
+
if (!state) return true;
|
|
52996
|
+
if (!isSettledStatus(scheduleStatus(def, state, this.now()))) return false;
|
|
52997
|
+
if (this.pending.has(this.keyOf(projectId, agentId, def.name))) return false;
|
|
52998
|
+
try {
|
|
52999
|
+
await archiveScheduleFile(this.root, projectId, agentId, def.name, this.now());
|
|
53000
|
+
} catch (err) {
|
|
53001
|
+
const reason = err instanceof Error ? err.message : String(err);
|
|
53002
|
+
this.errors.record({
|
|
53003
|
+
source: "schedule",
|
|
53004
|
+
err: new Error(`Could not archive ${def.name}.toml into schedule/expired/ \u2014 ${reason}`),
|
|
53005
|
+
code: "schedule_archive_failed",
|
|
53006
|
+
ctx: { projectId, agentId }
|
|
53007
|
+
});
|
|
53008
|
+
return false;
|
|
53009
|
+
}
|
|
53010
|
+
this.repo.delete(projectId, agentId, def.name);
|
|
53011
|
+
this.files.invalidate(projectId, agentId);
|
|
53012
|
+
return true;
|
|
53013
|
+
}
|
|
52819
53014
|
/** Clean up run state and queue entries for deleted files (deleting a file removes the task). */
|
|
52820
53015
|
cleanupMissing(projectId, agentId, presentNames) {
|
|
52821
53016
|
const removed = this.repo.deleteMissing(projectId, agentId, presentNames);
|
|
@@ -52903,6 +53098,7 @@ var Scheduler = class {
|
|
|
52903
53098
|
return;
|
|
52904
53099
|
}
|
|
52905
53100
|
this.repo.markFired(projectId, agentId, def.name, firedAt, def.periodMs === void 0);
|
|
53101
|
+
await this.archiveIfSettled(projectId, agentId, def);
|
|
52906
53102
|
this.notifyFor(state, {
|
|
52907
53103
|
type: "schedule_fired",
|
|
52908
53104
|
projectId,
|
|
@@ -55640,12 +55836,14 @@ function usageRoutes(deps) {
|
|
|
55640
55836
|
throw badRequest("from and to are both required.");
|
|
55641
55837
|
}
|
|
55642
55838
|
const window = tsWindowQuery(c);
|
|
55839
|
+
const until = optionalTsParam(c.req.query("until"), "until");
|
|
55643
55840
|
const agentId = c.req.query("agentId");
|
|
55644
55841
|
const deleted = deps.usageService.clearErrors(projectId, {
|
|
55645
55842
|
includeGlobalErrors: c.var.user.isAdmin,
|
|
55646
55843
|
from,
|
|
55647
55844
|
to,
|
|
55648
55845
|
...window,
|
|
55846
|
+
...until !== void 0 ? { until } : {},
|
|
55649
55847
|
...agentId !== void 0 && agentId !== "" ? { agentId } : {}
|
|
55650
55848
|
});
|
|
55651
55849
|
return c.json({ deleted });
|
|
@@ -58046,7 +58244,7 @@ var AgentService = class {
|
|
|
58046
58244
|
return 0;
|
|
58047
58245
|
}
|
|
58048
58246
|
}
|
|
58049
|
-
/** Number of scheduled tasks: count of .toml files under schedule/ (0 if the directory doesn't exist). */
|
|
58247
|
+
/** Number of scheduled tasks: count of .toml files directly under schedule/ (0 if the directory doesn't exist). The expired/ subdirectory of archived files is not a .toml name, so it is never counted. */
|
|
58050
58248
|
async scheduleCount(projectId, agentId) {
|
|
58051
58249
|
try {
|
|
58052
58250
|
const names = await fs30.readdir(scheduleDir2(this.root, projectId, agentId));
|
|
@@ -59770,13 +59968,6 @@ function nextFireAt(def, state, nowMs) {
|
|
|
59770
59968
|
const next = nextSlotAfter(def, nowMs);
|
|
59771
59969
|
return next !== null ? new Date(next).toISOString() : void 0;
|
|
59772
59970
|
}
|
|
59773
|
-
function statusOf3(def, state, nowMs) {
|
|
59774
|
-
if (state.invalidReason !== null) return "invalid";
|
|
59775
|
-
if (def.periodMs === void 0 && state.firedOnce) return "done";
|
|
59776
|
-
if (def.periodMs === void 0 && state.missed) return "missed";
|
|
59777
|
-
if (def.endAtMs !== void 0 && nowMs > def.endAtMs) return "expired";
|
|
59778
|
-
return def.enabled ? "active" : "disabled";
|
|
59779
|
-
}
|
|
59780
59971
|
function toItem(def, state, queued, nowMs) {
|
|
59781
59972
|
const next = nextFireAt(def, state, nowMs);
|
|
59782
59973
|
return {
|
|
@@ -59790,7 +59981,7 @@ function toItem(def, state, queued, nowMs) {
|
|
|
59790
59981
|
...def.workspace !== void 0 ? { workspace: def.workspace } : {},
|
|
59791
59982
|
...def.modelId !== void 0 ? { modelId: def.modelId } : {},
|
|
59792
59983
|
...def.provider !== void 0 ? { provider: def.provider } : {},
|
|
59793
|
-
status:
|
|
59984
|
+
status: scheduleStatus(def, state, nowMs),
|
|
59794
59985
|
...state.invalidReason !== null ? { invalidReason: state.invalidReason } : {},
|
|
59795
59986
|
...next !== void 0 ? { nextFireAt: next } : {},
|
|
59796
59987
|
...state.lastFiredAt !== null ? { lastFiredAt: state.lastFiredAt } : {},
|
|
@@ -59919,6 +60110,15 @@ async function upsert(deps, userId, projectId, agentId, name, body) {
|
|
|
59919
60110
|
const raw = serializeSchedule(fields);
|
|
59920
60111
|
const parsed = parseScheduleFile(name, raw);
|
|
59921
60112
|
if (!parsed.ok) throw badRequest(`Invalid schedule configuration: ${parsed.error}`);
|
|
60113
|
+
const nowMs = Date.now();
|
|
60114
|
+
if (parsed.def.periodMs === void 0 && parsed.def.startAtMs <= nowMs) {
|
|
60115
|
+
throw badRequest("start_at is already past: a one-time task needs a future start time.");
|
|
60116
|
+
}
|
|
60117
|
+
if (parsed.def.endAtMs !== void 0 && parsed.def.endAtMs <= nowMs) {
|
|
60118
|
+
throw badRequest(
|
|
60119
|
+
"end_at is already past: the task would never fire again. Pick a later end time, or delete the task."
|
|
60120
|
+
);
|
|
60121
|
+
}
|
|
59922
60122
|
const refError = await validateScheduleModelRef(deps.projectConfigService, projectId, parsed.def);
|
|
59923
60123
|
if (refError !== null) throw badRequest(`Invalid schedule configuration: ${refError}`);
|
|
59924
60124
|
await writeScheduleFile(deps.config.root, projectId, agentId, name, raw);
|
|
@@ -69334,6 +69534,34 @@ function desktopTrayRoutes(deps) {
|
|
|
69334
69534
|
});
|
|
69335
69535
|
return app;
|
|
69336
69536
|
}
|
|
69537
|
+
function desktopPetRoutes(deps) {
|
|
69538
|
+
const app = new Hono30();
|
|
69539
|
+
const refusal = "The desktop pet is managed from the desktop app's own window.";
|
|
69540
|
+
app.get("/", (c) => {
|
|
69541
|
+
const desktop = shellSessionOf(deps, c, refusal);
|
|
69542
|
+
const status = desktop.getPetStatus?.() ?? null;
|
|
69543
|
+
return c.json({ status });
|
|
69544
|
+
});
|
|
69545
|
+
app.put("/", async (c) => {
|
|
69546
|
+
const desktop = shellSessionOf(deps, c, refusal);
|
|
69547
|
+
const body = await c.req.json().catch(() => null);
|
|
69548
|
+
const patch = {};
|
|
69549
|
+
if (body?.showPet !== void 0) {
|
|
69550
|
+
if (typeof body.showPet !== "boolean") {
|
|
69551
|
+
throw new HttpError(400, "invalid_show_pet", "showPet must be a boolean.");
|
|
69552
|
+
}
|
|
69553
|
+
patch.showPet = body.showPet;
|
|
69554
|
+
}
|
|
69555
|
+
if (patch.showPet === void 0) {
|
|
69556
|
+
throw new HttpError(400, "empty_pet_patch", "Pass showPet.");
|
|
69557
|
+
}
|
|
69558
|
+
if (!desktop.requestPetCommand?.(patch)) {
|
|
69559
|
+
throw new HttpError(503, "shell_unreachable", "The desktop shell is not listening.");
|
|
69560
|
+
}
|
|
69561
|
+
return c.body(null, 202);
|
|
69562
|
+
});
|
|
69563
|
+
return app;
|
|
69564
|
+
}
|
|
69337
69565
|
function desktopPrivacySettingsRoutes(deps) {
|
|
69338
69566
|
const app = new Hono30();
|
|
69339
69567
|
app.post("/", async (c) => {
|
|
@@ -69420,7 +69648,29 @@ __decorateElement(_init123, 5, "desktop", _desktop_dec6, DesktopTrayRoutes);
|
|
|
69420
69648
|
__decorateElement(_init123, 5, "routes", _routes_dec10, DesktopTrayRoutes);
|
|
69421
69649
|
DesktopTrayRoutes = __decorateElement(_init123, 0, "DesktopTrayRoutes", _DesktopTrayRoutes_decorators, DesktopTrayRoutes);
|
|
69422
69650
|
__runInitializers(_init123, 1, DesktopTrayRoutes);
|
|
69423
|
-
var _routes_dec11, _desktop_dec7,
|
|
69651
|
+
var _routes_dec11, _desktop_dec7, _DesktopPetRoutes_decorators, _init124;
|
|
69652
|
+
_DesktopPetRoutes_decorators = [Component58({
|
|
69653
|
+
contributes: {
|
|
69654
|
+
"HttpModule.routes": [
|
|
69655
|
+
{ id: "DesktopPetRoutes.routes", prefix: "/api/desktop/pet", auth: "user", order: 10 }
|
|
69656
|
+
]
|
|
69657
|
+
}
|
|
69658
|
+
})], _desktop_dec7 = [Use60()], _routes_dec11 = [Bind18("DesktopPetRoutes.routes")];
|
|
69659
|
+
var DesktopPetRoutes = class {
|
|
69660
|
+
constructor() {
|
|
69661
|
+
__publicField(this, "desktop", __runInitializers(_init124, 8, this)), __runInitializers(_init124, 11, this);
|
|
69662
|
+
__publicField(this, "routes", __runInitializers(_init124, 12, this)), __runInitializers(_init124, 15, this);
|
|
69663
|
+
}
|
|
69664
|
+
setup() {
|
|
69665
|
+
this.routes = desktopPetRoutes({ desktop: this.desktop.current() });
|
|
69666
|
+
}
|
|
69667
|
+
};
|
|
69668
|
+
_init124 = __decoratorStart(null);
|
|
69669
|
+
__decorateElement(_init124, 5, "desktop", _desktop_dec7, DesktopPetRoutes);
|
|
69670
|
+
__decorateElement(_init124, 5, "routes", _routes_dec11, DesktopPetRoutes);
|
|
69671
|
+
DesktopPetRoutes = __decorateElement(_init124, 0, "DesktopPetRoutes", _DesktopPetRoutes_decorators, DesktopPetRoutes);
|
|
69672
|
+
__runInitializers(_init124, 1, DesktopPetRoutes);
|
|
69673
|
+
var _routes_dec12, _desktop_dec8, _DesktopPrivacySettingsRoutes_decorators, _init125;
|
|
69424
69674
|
_DesktopPrivacySettingsRoutes_decorators = [Component58({
|
|
69425
69675
|
contributes: {
|
|
69426
69676
|
"HttpModule.routes": [
|
|
@@ -69432,21 +69682,21 @@ _DesktopPrivacySettingsRoutes_decorators = [Component58({
|
|
|
69432
69682
|
}
|
|
69433
69683
|
]
|
|
69434
69684
|
}
|
|
69435
|
-
})],
|
|
69685
|
+
})], _desktop_dec8 = [Use60()], _routes_dec12 = [Bind18("DesktopPrivacySettingsRoutes.routes")];
|
|
69436
69686
|
var DesktopPrivacySettingsRoutes = class {
|
|
69437
69687
|
constructor() {
|
|
69438
|
-
__publicField(this, "desktop", __runInitializers(
|
|
69439
|
-
__publicField(this, "routes", __runInitializers(
|
|
69688
|
+
__publicField(this, "desktop", __runInitializers(_init125, 8, this)), __runInitializers(_init125, 11, this);
|
|
69689
|
+
__publicField(this, "routes", __runInitializers(_init125, 12, this)), __runInitializers(_init125, 15, this);
|
|
69440
69690
|
}
|
|
69441
69691
|
setup() {
|
|
69442
69692
|
this.routes = desktopPrivacySettingsRoutes({ desktop: this.desktop.current() });
|
|
69443
69693
|
}
|
|
69444
69694
|
};
|
|
69445
|
-
|
|
69446
|
-
__decorateElement(
|
|
69447
|
-
__decorateElement(
|
|
69448
|
-
DesktopPrivacySettingsRoutes = __decorateElement(
|
|
69449
|
-
__runInitializers(
|
|
69695
|
+
_init125 = __decoratorStart(null);
|
|
69696
|
+
__decorateElement(_init125, 5, "desktop", _desktop_dec8, DesktopPrivacySettingsRoutes);
|
|
69697
|
+
__decorateElement(_init125, 5, "routes", _routes_dec12, DesktopPrivacySettingsRoutes);
|
|
69698
|
+
DesktopPrivacySettingsRoutes = __decorateElement(_init125, 0, "DesktopPrivacySettingsRoutes", _DesktopPrivacySettingsRoutes_decorators, DesktopPrivacySettingsRoutes);
|
|
69699
|
+
__runInitializers(_init125, 1, DesktopPrivacySettingsRoutes);
|
|
69450
69700
|
|
|
69451
69701
|
// src/http/routes/members.ts
|
|
69452
69702
|
function membersRoutes(deps) {
|
|
@@ -69508,7 +69758,7 @@ function projectsRoutes(deps) {
|
|
|
69508
69758
|
});
|
|
69509
69759
|
return app;
|
|
69510
69760
|
}
|
|
69511
|
-
var _membersRoutes_dec, _projectsRoutes_dec,
|
|
69761
|
+
var _membersRoutes_dec, _projectsRoutes_dec, _desktop_dec9, _projectService_dec3, _ProjectAdminRoutes_decorators, _init126;
|
|
69512
69762
|
_ProjectAdminRoutes_decorators = [Component59({
|
|
69513
69763
|
contributes: {
|
|
69514
69764
|
"HttpModule.routes": [
|
|
@@ -69526,13 +69776,13 @@ _ProjectAdminRoutes_decorators = [Component59({
|
|
|
69526
69776
|
}
|
|
69527
69777
|
]
|
|
69528
69778
|
}
|
|
69529
|
-
})], _projectService_dec3 = [Use61()],
|
|
69779
|
+
})], _projectService_dec3 = [Use61()], _desktop_dec9 = [Use61()], _projectsRoutes_dec = [Bind19("project-admin.projects")], _membersRoutes_dec = [Bind19("project-admin.members")];
|
|
69530
69780
|
var ProjectAdminRoutes = class {
|
|
69531
69781
|
constructor() {
|
|
69532
|
-
__publicField(this, "projectService", __runInitializers(
|
|
69533
|
-
__publicField(this, "desktop", __runInitializers(
|
|
69534
|
-
__publicField(this, "projectsRoutes", __runInitializers(
|
|
69535
|
-
__publicField(this, "membersRoutes", __runInitializers(
|
|
69782
|
+
__publicField(this, "projectService", __runInitializers(_init126, 8, this)), __runInitializers(_init126, 11, this);
|
|
69783
|
+
__publicField(this, "desktop", __runInitializers(_init126, 12, this)), __runInitializers(_init126, 15, this);
|
|
69784
|
+
__publicField(this, "projectsRoutes", __runInitializers(_init126, 16, this)), __runInitializers(_init126, 19, this);
|
|
69785
|
+
__publicField(this, "membersRoutes", __runInitializers(_init126, 20, this)), __runInitializers(_init126, 23, this);
|
|
69536
69786
|
}
|
|
69537
69787
|
setup() {
|
|
69538
69788
|
this.projectsRoutes = projectsRoutes({ projectService: this.projectService });
|
|
@@ -69542,13 +69792,13 @@ var ProjectAdminRoutes = class {
|
|
|
69542
69792
|
});
|
|
69543
69793
|
}
|
|
69544
69794
|
};
|
|
69545
|
-
|
|
69546
|
-
__decorateElement(
|
|
69547
|
-
__decorateElement(
|
|
69548
|
-
__decorateElement(
|
|
69549
|
-
__decorateElement(
|
|
69550
|
-
ProjectAdminRoutes = __decorateElement(
|
|
69551
|
-
__runInitializers(
|
|
69795
|
+
_init126 = __decoratorStart(null);
|
|
69796
|
+
__decorateElement(_init126, 5, "projectService", _projectService_dec3, ProjectAdminRoutes);
|
|
69797
|
+
__decorateElement(_init126, 5, "desktop", _desktop_dec9, ProjectAdminRoutes);
|
|
69798
|
+
__decorateElement(_init126, 5, "projectsRoutes", _projectsRoutes_dec, ProjectAdminRoutes);
|
|
69799
|
+
__decorateElement(_init126, 5, "membersRoutes", _membersRoutes_dec, ProjectAdminRoutes);
|
|
69800
|
+
ProjectAdminRoutes = __decorateElement(_init126, 0, "ProjectAdminRoutes", _ProjectAdminRoutes_decorators, ProjectAdminRoutes);
|
|
69801
|
+
__runInitializers(_init126, 1, ProjectAdminRoutes);
|
|
69552
69802
|
|
|
69553
69803
|
// src/http/routes/admin.ts
|
|
69554
69804
|
import { Hono as Hono36 } from "hono";
|
|
@@ -69902,7 +70152,7 @@ function adminUsersRoutes(deps) {
|
|
|
69902
70152
|
});
|
|
69903
70153
|
return app;
|
|
69904
70154
|
}
|
|
69905
|
-
var _storageRoutes_dec, _pluginConfigRoutes_dec, _settingsRoutes_dec, _usersRoutes_dec, _storage_dec, _pluginConfigAdmin_dec2, _settings_dec8, _proxy_dec2,
|
|
70155
|
+
var _storageRoutes_dec, _pluginConfigRoutes_dec, _settingsRoutes_dec, _usersRoutes_dec, _storage_dec, _pluginConfigAdmin_dec2, _settings_dec8, _proxy_dec2, _desktop_dec10, _admin_dec, _AdminRoutes_decorators, _init127;
|
|
69906
70156
|
_AdminRoutes_decorators = [Component60({
|
|
69907
70157
|
contributes: {
|
|
69908
70158
|
"HttpModule.routes": [
|
|
@@ -69932,19 +70182,19 @@ _AdminRoutes_decorators = [Component60({
|
|
|
69932
70182
|
}
|
|
69933
70183
|
]
|
|
69934
70184
|
}
|
|
69935
|
-
})], _admin_dec = [Use62()],
|
|
70185
|
+
})], _admin_dec = [Use62()], _desktop_dec10 = [Use62()], _proxy_dec2 = [Use62()], _settings_dec8 = [Use62()], _pluginConfigAdmin_dec2 = [Use62()], _storage_dec = [Use62()], _usersRoutes_dec = [Bind20("admin-api.users")], _settingsRoutes_dec = [Bind20("admin-api.settings")], _pluginConfigRoutes_dec = [Bind20("admin-api.plugin-config")], _storageRoutes_dec = [Bind20("admin-api.storage")];
|
|
69936
70186
|
var AdminRoutes = class {
|
|
69937
70187
|
constructor() {
|
|
69938
|
-
__publicField(this, "admin", __runInitializers(
|
|
69939
|
-
__publicField(this, "desktop", __runInitializers(
|
|
69940
|
-
__publicField(this, "proxy", __runInitializers(
|
|
69941
|
-
__publicField(this, "settings", __runInitializers(
|
|
69942
|
-
__publicField(this, "pluginConfigAdmin", __runInitializers(
|
|
69943
|
-
__publicField(this, "storage", __runInitializers(
|
|
69944
|
-
__publicField(this, "usersRoutes", __runInitializers(
|
|
69945
|
-
__publicField(this, "settingsRoutes", __runInitializers(
|
|
69946
|
-
__publicField(this, "pluginConfigRoutes", __runInitializers(
|
|
69947
|
-
__publicField(this, "storageRoutes", __runInitializers(
|
|
70188
|
+
__publicField(this, "admin", __runInitializers(_init127, 8, this)), __runInitializers(_init127, 11, this);
|
|
70189
|
+
__publicField(this, "desktop", __runInitializers(_init127, 12, this)), __runInitializers(_init127, 15, this);
|
|
70190
|
+
__publicField(this, "proxy", __runInitializers(_init127, 16, this)), __runInitializers(_init127, 19, this);
|
|
70191
|
+
__publicField(this, "settings", __runInitializers(_init127, 20, this)), __runInitializers(_init127, 23, this);
|
|
70192
|
+
__publicField(this, "pluginConfigAdmin", __runInitializers(_init127, 24, this)), __runInitializers(_init127, 27, this);
|
|
70193
|
+
__publicField(this, "storage", __runInitializers(_init127, 28, this)), __runInitializers(_init127, 31, this);
|
|
70194
|
+
__publicField(this, "usersRoutes", __runInitializers(_init127, 32, this)), __runInitializers(_init127, 35, this);
|
|
70195
|
+
__publicField(this, "settingsRoutes", __runInitializers(_init127, 36, this)), __runInitializers(_init127, 39, this);
|
|
70196
|
+
__publicField(this, "pluginConfigRoutes", __runInitializers(_init127, 40, this)), __runInitializers(_init127, 43, this);
|
|
70197
|
+
__publicField(this, "storageRoutes", __runInitializers(_init127, 44, this)), __runInitializers(_init127, 47, this);
|
|
69948
70198
|
}
|
|
69949
70199
|
setup() {
|
|
69950
70200
|
this.pluginConfigRoutes = adminPluginConfigRoutes(this.pluginConfigAdmin);
|
|
@@ -69959,19 +70209,19 @@ var AdminRoutes = class {
|
|
|
69959
70209
|
this.storageRoutes = adminStorageRoutes({ storage: this.storage });
|
|
69960
70210
|
}
|
|
69961
70211
|
};
|
|
69962
|
-
|
|
69963
|
-
__decorateElement(
|
|
69964
|
-
__decorateElement(
|
|
69965
|
-
__decorateElement(
|
|
69966
|
-
__decorateElement(
|
|
69967
|
-
__decorateElement(
|
|
69968
|
-
__decorateElement(
|
|
69969
|
-
__decorateElement(
|
|
69970
|
-
__decorateElement(
|
|
69971
|
-
__decorateElement(
|
|
69972
|
-
__decorateElement(
|
|
69973
|
-
AdminRoutes = __decorateElement(
|
|
69974
|
-
__runInitializers(
|
|
70212
|
+
_init127 = __decoratorStart(null);
|
|
70213
|
+
__decorateElement(_init127, 5, "admin", _admin_dec, AdminRoutes);
|
|
70214
|
+
__decorateElement(_init127, 5, "desktop", _desktop_dec10, AdminRoutes);
|
|
70215
|
+
__decorateElement(_init127, 5, "proxy", _proxy_dec2, AdminRoutes);
|
|
70216
|
+
__decorateElement(_init127, 5, "settings", _settings_dec8, AdminRoutes);
|
|
70217
|
+
__decorateElement(_init127, 5, "pluginConfigAdmin", _pluginConfigAdmin_dec2, AdminRoutes);
|
|
70218
|
+
__decorateElement(_init127, 5, "storage", _storage_dec, AdminRoutes);
|
|
70219
|
+
__decorateElement(_init127, 5, "usersRoutes", _usersRoutes_dec, AdminRoutes);
|
|
70220
|
+
__decorateElement(_init127, 5, "settingsRoutes", _settingsRoutes_dec, AdminRoutes);
|
|
70221
|
+
__decorateElement(_init127, 5, "pluginConfigRoutes", _pluginConfigRoutes_dec, AdminRoutes);
|
|
70222
|
+
__decorateElement(_init127, 5, "storageRoutes", _storageRoutes_dec, AdminRoutes);
|
|
70223
|
+
AdminRoutes = __decorateElement(_init127, 0, "AdminRoutes", _AdminRoutes_decorators, AdminRoutes);
|
|
70224
|
+
__runInitializers(_init127, 1, AdminRoutes);
|
|
69975
70225
|
|
|
69976
70226
|
// src/http/routes/me.ts
|
|
69977
70227
|
import { Hono as Hono37 } from "hono";
|
|
@@ -70205,7 +70455,7 @@ function meRoutes(deps) {
|
|
|
70205
70455
|
});
|
|
70206
70456
|
return app;
|
|
70207
70457
|
}
|
|
70208
|
-
var
|
|
70458
|
+
var _routes_dec13, _users_dec3, _settings_dec9, _prefs_dec, _auth_dec7, _desktop_dec11, _config_dec12, _MeRoutes_decorators, _init128;
|
|
70209
70459
|
_MeRoutes_decorators = [Component61({
|
|
70210
70460
|
contributes: {
|
|
70211
70461
|
"HttpModule.routes": [
|
|
@@ -70217,16 +70467,16 @@ _MeRoutes_decorators = [Component61({
|
|
|
70217
70467
|
}
|
|
70218
70468
|
]
|
|
70219
70469
|
}
|
|
70220
|
-
})], _config_dec12 = [Use63()],
|
|
70470
|
+
})], _config_dec12 = [Use63()], _desktop_dec11 = [Use63()], _auth_dec7 = [Use63()], _prefs_dec = [Use63()], _settings_dec9 = [Use63()], _users_dec3 = [Use63()], _routes_dec13 = [Bind21("MeRoutes.routes")];
|
|
70221
70471
|
var MeRoutes = class {
|
|
70222
70472
|
constructor() {
|
|
70223
|
-
__publicField(this, "config", __runInitializers(
|
|
70224
|
-
__publicField(this, "desktop", __runInitializers(
|
|
70225
|
-
__publicField(this, "auth", __runInitializers(
|
|
70226
|
-
__publicField(this, "prefs", __runInitializers(
|
|
70227
|
-
__publicField(this, "settings", __runInitializers(
|
|
70228
|
-
__publicField(this, "users", __runInitializers(
|
|
70229
|
-
__publicField(this, "routes", __runInitializers(
|
|
70473
|
+
__publicField(this, "config", __runInitializers(_init128, 8, this)), __runInitializers(_init128, 11, this);
|
|
70474
|
+
__publicField(this, "desktop", __runInitializers(_init128, 12, this)), __runInitializers(_init128, 15, this);
|
|
70475
|
+
__publicField(this, "auth", __runInitializers(_init128, 16, this)), __runInitializers(_init128, 19, this);
|
|
70476
|
+
__publicField(this, "prefs", __runInitializers(_init128, 20, this)), __runInitializers(_init128, 23, this);
|
|
70477
|
+
__publicField(this, "settings", __runInitializers(_init128, 24, this)), __runInitializers(_init128, 27, this);
|
|
70478
|
+
__publicField(this, "users", __runInitializers(_init128, 28, this)), __runInitializers(_init128, 31, this);
|
|
70479
|
+
__publicField(this, "routes", __runInitializers(_init128, 32, this)), __runInitializers(_init128, 35, this);
|
|
70230
70480
|
}
|
|
70231
70481
|
setup() {
|
|
70232
70482
|
this.routes = meRoutes({
|
|
@@ -70239,16 +70489,16 @@ var MeRoutes = class {
|
|
|
70239
70489
|
});
|
|
70240
70490
|
}
|
|
70241
70491
|
};
|
|
70242
|
-
|
|
70243
|
-
__decorateElement(
|
|
70244
|
-
__decorateElement(
|
|
70245
|
-
__decorateElement(
|
|
70246
|
-
__decorateElement(
|
|
70247
|
-
__decorateElement(
|
|
70248
|
-
__decorateElement(
|
|
70249
|
-
__decorateElement(
|
|
70250
|
-
MeRoutes = __decorateElement(
|
|
70251
|
-
__runInitializers(
|
|
70492
|
+
_init128 = __decoratorStart(null);
|
|
70493
|
+
__decorateElement(_init128, 5, "config", _config_dec12, MeRoutes);
|
|
70494
|
+
__decorateElement(_init128, 5, "desktop", _desktop_dec11, MeRoutes);
|
|
70495
|
+
__decorateElement(_init128, 5, "auth", _auth_dec7, MeRoutes);
|
|
70496
|
+
__decorateElement(_init128, 5, "prefs", _prefs_dec, MeRoutes);
|
|
70497
|
+
__decorateElement(_init128, 5, "settings", _settings_dec9, MeRoutes);
|
|
70498
|
+
__decorateElement(_init128, 5, "users", _users_dec3, MeRoutes);
|
|
70499
|
+
__decorateElement(_init128, 5, "routes", _routes_dec13, MeRoutes);
|
|
70500
|
+
MeRoutes = __decorateElement(_init128, 0, "MeRoutes", _MeRoutes_decorators, MeRoutes);
|
|
70501
|
+
__runInitializers(_init128, 1, MeRoutes);
|
|
70252
70502
|
|
|
70253
70503
|
// src/http/routes/user-vault.ts
|
|
70254
70504
|
import { Hono as Hono38 } from "hono";
|
|
@@ -70289,7 +70539,7 @@ function userVaultRoutes(deps) {
|
|
|
70289
70539
|
});
|
|
70290
70540
|
return app;
|
|
70291
70541
|
}
|
|
70292
|
-
var
|
|
70542
|
+
var _routes_dec14, _userVault_dec2, _UserVaultRoutes_decorators, _init129;
|
|
70293
70543
|
_UserVaultRoutes_decorators = [Component62({
|
|
70294
70544
|
contributes: {
|
|
70295
70545
|
"HttpModule.routes": [
|
|
@@ -70301,21 +70551,21 @@ _UserVaultRoutes_decorators = [Component62({
|
|
|
70301
70551
|
}
|
|
70302
70552
|
]
|
|
70303
70553
|
}
|
|
70304
|
-
})], _userVault_dec2 = [Use64()],
|
|
70554
|
+
})], _userVault_dec2 = [Use64()], _routes_dec14 = [Bind22("UserVaultRoutes.routes")];
|
|
70305
70555
|
var UserVaultRoutes = class {
|
|
70306
70556
|
constructor() {
|
|
70307
|
-
__publicField(this, "userVault", __runInitializers(
|
|
70308
|
-
__publicField(this, "routes", __runInitializers(
|
|
70557
|
+
__publicField(this, "userVault", __runInitializers(_init129, 8, this)), __runInitializers(_init129, 11, this);
|
|
70558
|
+
__publicField(this, "routes", __runInitializers(_init129, 12, this)), __runInitializers(_init129, 15, this);
|
|
70309
70559
|
}
|
|
70310
70560
|
setup() {
|
|
70311
70561
|
this.routes = userVaultRoutes({ userVault: this.userVault });
|
|
70312
70562
|
}
|
|
70313
70563
|
};
|
|
70314
|
-
|
|
70315
|
-
__decorateElement(
|
|
70316
|
-
__decorateElement(
|
|
70317
|
-
UserVaultRoutes = __decorateElement(
|
|
70318
|
-
__runInitializers(
|
|
70564
|
+
_init129 = __decoratorStart(null);
|
|
70565
|
+
__decorateElement(_init129, 5, "userVault", _userVault_dec2, UserVaultRoutes);
|
|
70566
|
+
__decorateElement(_init129, 5, "routes", _routes_dec14, UserVaultRoutes);
|
|
70567
|
+
UserVaultRoutes = __decorateElement(_init129, 0, "UserVaultRoutes", _UserVaultRoutes_decorators, UserVaultRoutes);
|
|
70568
|
+
__runInitializers(_init129, 1, UserVaultRoutes);
|
|
70319
70569
|
|
|
70320
70570
|
// src/http/routes/auth.ts
|
|
70321
70571
|
import { Hono as Hono39 } from "hono";
|
|
@@ -70360,18 +70610,18 @@ function authRoutes(deps) {
|
|
|
70360
70610
|
});
|
|
70361
70611
|
return app;
|
|
70362
70612
|
}
|
|
70363
|
-
var
|
|
70613
|
+
var _routes_dec15, _desktop_dec12, _config_dec13, _auth_dec8, _AuthRoutes_decorators, _init130;
|
|
70364
70614
|
_AuthRoutes_decorators = [Component63({
|
|
70365
70615
|
contributes: {
|
|
70366
70616
|
"HttpModule.routes": [{ id: "AuthRoutes.routes", prefix: "/api/auth", auth: "none", order: 5 }]
|
|
70367
70617
|
}
|
|
70368
|
-
})], _auth_dec8 = [Use65()], _config_dec13 = [Use65()],
|
|
70618
|
+
})], _auth_dec8 = [Use65()], _config_dec13 = [Use65()], _desktop_dec12 = [Use65()], _routes_dec15 = [Bind23("AuthRoutes.routes")];
|
|
70369
70619
|
var AuthRoutes = class {
|
|
70370
70620
|
constructor() {
|
|
70371
|
-
__publicField(this, "auth", __runInitializers(
|
|
70372
|
-
__publicField(this, "config", __runInitializers(
|
|
70373
|
-
__publicField(this, "desktop", __runInitializers(
|
|
70374
|
-
__publicField(this, "routes", __runInitializers(
|
|
70621
|
+
__publicField(this, "auth", __runInitializers(_init130, 8, this)), __runInitializers(_init130, 11, this);
|
|
70622
|
+
__publicField(this, "config", __runInitializers(_init130, 12, this)), __runInitializers(_init130, 15, this);
|
|
70623
|
+
__publicField(this, "desktop", __runInitializers(_init130, 16, this)), __runInitializers(_init130, 19, this);
|
|
70624
|
+
__publicField(this, "routes", __runInitializers(_init130, 20, this)), __runInitializers(_init130, 23, this);
|
|
70375
70625
|
}
|
|
70376
70626
|
setup() {
|
|
70377
70627
|
this.routes = authRoutes({
|
|
@@ -70381,13 +70631,13 @@ var AuthRoutes = class {
|
|
|
70381
70631
|
});
|
|
70382
70632
|
}
|
|
70383
70633
|
};
|
|
70384
|
-
|
|
70385
|
-
__decorateElement(
|
|
70386
|
-
__decorateElement(
|
|
70387
|
-
__decorateElement(
|
|
70388
|
-
__decorateElement(
|
|
70389
|
-
AuthRoutes = __decorateElement(
|
|
70390
|
-
__runInitializers(
|
|
70634
|
+
_init130 = __decoratorStart(null);
|
|
70635
|
+
__decorateElement(_init130, 5, "auth", _auth_dec8, AuthRoutes);
|
|
70636
|
+
__decorateElement(_init130, 5, "config", _config_dec13, AuthRoutes);
|
|
70637
|
+
__decorateElement(_init130, 5, "desktop", _desktop_dec12, AuthRoutes);
|
|
70638
|
+
__decorateElement(_init130, 5, "routes", _routes_dec15, AuthRoutes);
|
|
70639
|
+
AuthRoutes = __decorateElement(_init130, 0, "AuthRoutes", _AuthRoutes_decorators, AuthRoutes);
|
|
70640
|
+
__runInitializers(_init130, 1, AuthRoutes);
|
|
70391
70641
|
|
|
70392
70642
|
// src/http/routes/install.ts
|
|
70393
70643
|
import { Hono as Hono40 } from "hono";
|
|
@@ -70399,7 +70649,7 @@ function installRoutes(deps) {
|
|
|
70399
70649
|
});
|
|
70400
70650
|
return app;
|
|
70401
70651
|
}
|
|
70402
|
-
var
|
|
70652
|
+
var _routes_dec16, _config_dec14, _InstallRoutes_decorators, _init131;
|
|
70403
70653
|
_InstallRoutes_decorators = [Component64({
|
|
70404
70654
|
contributes: {
|
|
70405
70655
|
"HttpModule.routes": [
|
|
@@ -70411,21 +70661,21 @@ _InstallRoutes_decorators = [Component64({
|
|
|
70411
70661
|
}
|
|
70412
70662
|
]
|
|
70413
70663
|
}
|
|
70414
|
-
})], _config_dec14 = [Use66()],
|
|
70664
|
+
})], _config_dec14 = [Use66()], _routes_dec16 = [Bind24("InstallRoutes.routes")];
|
|
70415
70665
|
var InstallRoutes = class {
|
|
70416
70666
|
constructor() {
|
|
70417
|
-
__publicField(this, "config", __runInitializers(
|
|
70418
|
-
__publicField(this, "routes", __runInitializers(
|
|
70667
|
+
__publicField(this, "config", __runInitializers(_init131, 8, this)), __runInitializers(_init131, 11, this);
|
|
70668
|
+
__publicField(this, "routes", __runInitializers(_init131, 12, this)), __runInitializers(_init131, 15, this);
|
|
70419
70669
|
}
|
|
70420
70670
|
setup() {
|
|
70421
70671
|
this.routes = installRoutes({ config: this.config });
|
|
70422
70672
|
}
|
|
70423
70673
|
};
|
|
70424
|
-
|
|
70425
|
-
__decorateElement(
|
|
70426
|
-
__decorateElement(
|
|
70427
|
-
InstallRoutes = __decorateElement(
|
|
70428
|
-
__runInitializers(
|
|
70674
|
+
_init131 = __decoratorStart(null);
|
|
70675
|
+
__decorateElement(_init131, 5, "config", _config_dec14, InstallRoutes);
|
|
70676
|
+
__decorateElement(_init131, 5, "routes", _routes_dec16, InstallRoutes);
|
|
70677
|
+
InstallRoutes = __decorateElement(_init131, 0, "InstallRoutes", _InstallRoutes_decorators, InstallRoutes);
|
|
70678
|
+
__runInitializers(_init131, 1, InstallRoutes);
|
|
70429
70679
|
|
|
70430
70680
|
// src/hmr/routes.ts
|
|
70431
70681
|
import { Hono as Hono41 } from "hono";
|
|
@@ -70468,7 +70718,7 @@ function hmrRoutes(deps) {
|
|
|
70468
70718
|
);
|
|
70469
70719
|
return routes;
|
|
70470
70720
|
}
|
|
70471
|
-
var
|
|
70721
|
+
var _routes_dec17, _channels_dec10, _config_dec15, _auth_dec9, _control_dec, _HmrRoutes_decorators, _init132;
|
|
70472
70722
|
_HmrRoutes_decorators = [Component65({
|
|
70473
70723
|
contributes: {
|
|
70474
70724
|
"HttpModule.routes": [
|
|
@@ -70478,14 +70728,14 @@ _HmrRoutes_decorators = [Component65({
|
|
|
70478
70728
|
{ id: "HmrRoutes.routes", prefix: "/api/hmr", auth: "none", order: 5 }
|
|
70479
70729
|
]
|
|
70480
70730
|
}
|
|
70481
|
-
})], _control_dec = [Use67()], _auth_dec9 = [Use67()], _config_dec15 = [Use67()], _channels_dec10 = [Use67()],
|
|
70731
|
+
})], _control_dec = [Use67()], _auth_dec9 = [Use67()], _config_dec15 = [Use67()], _channels_dec10 = [Use67()], _routes_dec17 = [Bind25("HmrRoutes.routes")];
|
|
70482
70732
|
var HmrRoutes = class {
|
|
70483
70733
|
constructor() {
|
|
70484
|
-
__publicField(this, "control", __runInitializers(
|
|
70485
|
-
__publicField(this, "auth", __runInitializers(
|
|
70486
|
-
__publicField(this, "config", __runInitializers(
|
|
70487
|
-
__publicField(this, "channels", __runInitializers(
|
|
70488
|
-
__publicField(this, "routes", __runInitializers(
|
|
70734
|
+
__publicField(this, "control", __runInitializers(_init132, 8, this)), __runInitializers(_init132, 11, this);
|
|
70735
|
+
__publicField(this, "auth", __runInitializers(_init132, 12, this)), __runInitializers(_init132, 15, this);
|
|
70736
|
+
__publicField(this, "config", __runInitializers(_init132, 16, this)), __runInitializers(_init132, 19, this);
|
|
70737
|
+
__publicField(this, "channels", __runInitializers(_init132, 20, this)), __runInitializers(_init132, 23, this);
|
|
70738
|
+
__publicField(this, "routes", __runInitializers(_init132, 24, this)), __runInitializers(_init132, 27, this);
|
|
70489
70739
|
}
|
|
70490
70740
|
setup() {
|
|
70491
70741
|
this.routes = hmrRoutes({
|
|
@@ -70497,14 +70747,14 @@ var HmrRoutes = class {
|
|
|
70497
70747
|
});
|
|
70498
70748
|
}
|
|
70499
70749
|
};
|
|
70500
|
-
|
|
70501
|
-
__decorateElement(
|
|
70502
|
-
__decorateElement(
|
|
70503
|
-
__decorateElement(
|
|
70504
|
-
__decorateElement(
|
|
70505
|
-
__decorateElement(
|
|
70506
|
-
HmrRoutes = __decorateElement(
|
|
70507
|
-
__runInitializers(
|
|
70750
|
+
_init132 = __decoratorStart(null);
|
|
70751
|
+
__decorateElement(_init132, 5, "control", _control_dec, HmrRoutes);
|
|
70752
|
+
__decorateElement(_init132, 5, "auth", _auth_dec9, HmrRoutes);
|
|
70753
|
+
__decorateElement(_init132, 5, "config", _config_dec15, HmrRoutes);
|
|
70754
|
+
__decorateElement(_init132, 5, "channels", _channels_dec10, HmrRoutes);
|
|
70755
|
+
__decorateElement(_init132, 5, "routes", _routes_dec17, HmrRoutes);
|
|
70756
|
+
HmrRoutes = __decorateElement(_init132, 0, "HmrRoutes", _HmrRoutes_decorators, HmrRoutes);
|
|
70757
|
+
__runInitializers(_init132, 1, HmrRoutes);
|
|
70508
70758
|
|
|
70509
70759
|
// src/http/routes/plugins.ts
|
|
70510
70760
|
import path45 from "path";
|
|
@@ -72327,7 +72577,7 @@ function agentPluginsRoutes(deps) {
|
|
|
72327
72577
|
});
|
|
72328
72578
|
return app;
|
|
72329
72579
|
}
|
|
72330
|
-
var _hookRoutes_dec, _pluginRoutes_dec, _libraryRoutes_dec, _manager_dec4, _agentConfig_dec7, _access_dec8, _config_dec16, _PluginRoutes_decorators,
|
|
72580
|
+
var _hookRoutes_dec, _pluginRoutes_dec, _libraryRoutes_dec, _manager_dec4, _agentConfig_dec7, _access_dec8, _config_dec16, _PluginRoutes_decorators, _init133;
|
|
72331
72581
|
_PluginRoutes_decorators = [Component66({
|
|
72332
72582
|
contributes: {
|
|
72333
72583
|
"HttpModule.routes": [
|
|
@@ -72349,13 +72599,13 @@ _PluginRoutes_decorators = [Component66({
|
|
|
72349
72599
|
})], _config_dec16 = [Use68()], _access_dec8 = [Use68()], _agentConfig_dec7 = [Use68()], _manager_dec4 = [Use68()], _libraryRoutes_dec = [Bind26("PluginRoutes.library")], _pluginRoutes_dec = [Bind26("PluginRoutes.agent-plugins")], _hookRoutes_dec = [Bind26("PluginRoutes.agent-hooks")];
|
|
72350
72600
|
var PluginRoutes = class {
|
|
72351
72601
|
constructor() {
|
|
72352
|
-
__publicField(this, "config", __runInitializers(
|
|
72353
|
-
__publicField(this, "access", __runInitializers(
|
|
72354
|
-
__publicField(this, "agentConfig", __runInitializers(
|
|
72355
|
-
__publicField(this, "manager", __runInitializers(
|
|
72356
|
-
__publicField(this, "libraryRoutes", __runInitializers(
|
|
72357
|
-
__publicField(this, "pluginRoutes", __runInitializers(
|
|
72358
|
-
__publicField(this, "hookRoutes", __runInitializers(
|
|
72602
|
+
__publicField(this, "config", __runInitializers(_init133, 8, this)), __runInitializers(_init133, 11, this);
|
|
72603
|
+
__publicField(this, "access", __runInitializers(_init133, 12, this)), __runInitializers(_init133, 15, this);
|
|
72604
|
+
__publicField(this, "agentConfig", __runInitializers(_init133, 16, this)), __runInitializers(_init133, 19, this);
|
|
72605
|
+
__publicField(this, "manager", __runInitializers(_init133, 20, this)), __runInitializers(_init133, 23, this);
|
|
72606
|
+
__publicField(this, "libraryRoutes", __runInitializers(_init133, 24, this)), __runInitializers(_init133, 27, this);
|
|
72607
|
+
__publicField(this, "pluginRoutes", __runInitializers(_init133, 28, this)), __runInitializers(_init133, 31, this);
|
|
72608
|
+
__publicField(this, "hookRoutes", __runInitializers(_init133, 32, this)), __runInitializers(_init133, 35, this);
|
|
72359
72609
|
}
|
|
72360
72610
|
setup() {
|
|
72361
72611
|
const deps = {
|
|
@@ -72369,16 +72619,16 @@ var PluginRoutes = class {
|
|
|
72369
72619
|
this.hookRoutes = agentHooksRoutes(deps);
|
|
72370
72620
|
}
|
|
72371
72621
|
};
|
|
72372
|
-
|
|
72373
|
-
__decorateElement(
|
|
72374
|
-
__decorateElement(
|
|
72375
|
-
__decorateElement(
|
|
72376
|
-
__decorateElement(
|
|
72377
|
-
__decorateElement(
|
|
72378
|
-
__decorateElement(
|
|
72379
|
-
__decorateElement(
|
|
72380
|
-
PluginRoutes = __decorateElement(
|
|
72381
|
-
__runInitializers(
|
|
72622
|
+
_init133 = __decoratorStart(null);
|
|
72623
|
+
__decorateElement(_init133, 5, "config", _config_dec16, PluginRoutes);
|
|
72624
|
+
__decorateElement(_init133, 5, "access", _access_dec8, PluginRoutes);
|
|
72625
|
+
__decorateElement(_init133, 5, "agentConfig", _agentConfig_dec7, PluginRoutes);
|
|
72626
|
+
__decorateElement(_init133, 5, "manager", _manager_dec4, PluginRoutes);
|
|
72627
|
+
__decorateElement(_init133, 5, "libraryRoutes", _libraryRoutes_dec, PluginRoutes);
|
|
72628
|
+
__decorateElement(_init133, 5, "pluginRoutes", _pluginRoutes_dec, PluginRoutes);
|
|
72629
|
+
__decorateElement(_init133, 5, "hookRoutes", _hookRoutes_dec, PluginRoutes);
|
|
72630
|
+
PluginRoutes = __decorateElement(_init133, 0, "PluginRoutes", _PluginRoutes_decorators, PluginRoutes);
|
|
72631
|
+
__runInitializers(_init133, 1, PluginRoutes);
|
|
72382
72632
|
function pluginRegistryRoutes(bases, root) {
|
|
72383
72633
|
const app = new Hono43();
|
|
72384
72634
|
const registry = builtinPluginRegistry({
|
|
@@ -72405,7 +72655,7 @@ function pluginRegistryRoutes(bases, root) {
|
|
|
72405
72655
|
});
|
|
72406
72656
|
return app;
|
|
72407
72657
|
}
|
|
72408
|
-
var
|
|
72658
|
+
var _routes_dec18, _hmr_dec4, _config_dec17, _PluginRegistryRoutes_decorators, _init134;
|
|
72409
72659
|
_PluginRegistryRoutes_decorators = [Component66({
|
|
72410
72660
|
contributes: {
|
|
72411
72661
|
"HttpModule.routes": [
|
|
@@ -72417,12 +72667,12 @@ _PluginRegistryRoutes_decorators = [Component66({
|
|
|
72417
72667
|
}
|
|
72418
72668
|
]
|
|
72419
72669
|
}
|
|
72420
|
-
})], _config_dec17 = [Use68()], _hmr_dec4 = [Use68()],
|
|
72670
|
+
})], _config_dec17 = [Use68()], _hmr_dec4 = [Use68()], _routes_dec18 = [Bind26("PluginRegistryRoutes.routes")];
|
|
72421
72671
|
var PluginRegistryRoutes = class {
|
|
72422
72672
|
constructor() {
|
|
72423
|
-
__publicField(this, "config", __runInitializers(
|
|
72424
|
-
__publicField(this, "hmr", __runInitializers(
|
|
72425
|
-
__publicField(this, "routes", __runInitializers(
|
|
72673
|
+
__publicField(this, "config", __runInitializers(_init134, 8, this)), __runInitializers(_init134, 11, this);
|
|
72674
|
+
__publicField(this, "hmr", __runInitializers(_init134, 12, this)), __runInitializers(_init134, 15, this);
|
|
72675
|
+
__publicField(this, "routes", __runInitializers(_init134, 16, this)), __runInitializers(_init134, 19, this);
|
|
72426
72676
|
}
|
|
72427
72677
|
setup() {
|
|
72428
72678
|
this.routes = pluginRegistryRoutes(
|
|
@@ -72431,12 +72681,12 @@ var PluginRegistryRoutes = class {
|
|
|
72431
72681
|
);
|
|
72432
72682
|
}
|
|
72433
72683
|
};
|
|
72434
|
-
|
|
72435
|
-
__decorateElement(
|
|
72436
|
-
__decorateElement(
|
|
72437
|
-
__decorateElement(
|
|
72438
|
-
PluginRegistryRoutes = __decorateElement(
|
|
72439
|
-
__runInitializers(
|
|
72684
|
+
_init134 = __decoratorStart(null);
|
|
72685
|
+
__decorateElement(_init134, 5, "config", _config_dec17, PluginRegistryRoutes);
|
|
72686
|
+
__decorateElement(_init134, 5, "hmr", _hmr_dec4, PluginRegistryRoutes);
|
|
72687
|
+
__decorateElement(_init134, 5, "routes", _routes_dec18, PluginRegistryRoutes);
|
|
72688
|
+
PluginRegistryRoutes = __decorateElement(_init134, 0, "PluginRegistryRoutes", _PluginRegistryRoutes_decorators, PluginRegistryRoutes);
|
|
72689
|
+
__runInitializers(_init134, 1, PluginRegistryRoutes);
|
|
72440
72690
|
|
|
72441
72691
|
// src/http/routes/plugins-installed.ts
|
|
72442
72692
|
import { Hono as Hono44 } from "hono";
|
|
@@ -72630,7 +72880,7 @@ function installedPluginRoutes(deps) {
|
|
|
72630
72880
|
});
|
|
72631
72881
|
return app;
|
|
72632
72882
|
}
|
|
72633
|
-
var
|
|
72883
|
+
var _routes_dec19, _db_dec17, _machines_dec4, _access_dec9, _projectConfig_dec14, _reassembly_dec2, _hmr_dec5, _config_dec18, _InstalledPluginRoutes_decorators, _init135;
|
|
72634
72884
|
_InstalledPluginRoutes_decorators = [Component67({
|
|
72635
72885
|
contributes: {
|
|
72636
72886
|
"HttpModule.routes": [
|
|
@@ -72643,17 +72893,17 @@ _InstalledPluginRoutes_decorators = [Component67({
|
|
|
72643
72893
|
}
|
|
72644
72894
|
]
|
|
72645
72895
|
}
|
|
72646
|
-
})], _config_dec18 = [Use69()], _hmr_dec5 = [Use69()], _reassembly_dec2 = [Use69()], _projectConfig_dec14 = [Use69()], _access_dec9 = [Use69()], _machines_dec4 = [Use69()], _db_dec17 = [Use69()],
|
|
72896
|
+
})], _config_dec18 = [Use69()], _hmr_dec5 = [Use69()], _reassembly_dec2 = [Use69()], _projectConfig_dec14 = [Use69()], _access_dec9 = [Use69()], _machines_dec4 = [Use69()], _db_dec17 = [Use69()], _routes_dec19 = [Bind27("InstalledPluginRoutes.routes")];
|
|
72647
72897
|
var InstalledPluginRoutes = class {
|
|
72648
72898
|
constructor() {
|
|
72649
|
-
__publicField(this, "config", __runInitializers(
|
|
72650
|
-
__publicField(this, "hmr", __runInitializers(
|
|
72651
|
-
__publicField(this, "reassembly", __runInitializers(
|
|
72652
|
-
__publicField(this, "projectConfig", __runInitializers(
|
|
72653
|
-
__publicField(this, "access", __runInitializers(
|
|
72654
|
-
__publicField(this, "machines", __runInitializers(
|
|
72655
|
-
__publicField(this, "db", __runInitializers(
|
|
72656
|
-
__publicField(this, "routes", __runInitializers(
|
|
72899
|
+
__publicField(this, "config", __runInitializers(_init135, 8, this)), __runInitializers(_init135, 11, this);
|
|
72900
|
+
__publicField(this, "hmr", __runInitializers(_init135, 12, this)), __runInitializers(_init135, 15, this);
|
|
72901
|
+
__publicField(this, "reassembly", __runInitializers(_init135, 16, this)), __runInitializers(_init135, 19, this);
|
|
72902
|
+
__publicField(this, "projectConfig", __runInitializers(_init135, 20, this)), __runInitializers(_init135, 23, this);
|
|
72903
|
+
__publicField(this, "access", __runInitializers(_init135, 24, this)), __runInitializers(_init135, 27, this);
|
|
72904
|
+
__publicField(this, "machines", __runInitializers(_init135, 28, this)), __runInitializers(_init135, 31, this);
|
|
72905
|
+
__publicField(this, "db", __runInitializers(_init135, 32, this)), __runInitializers(_init135, 35, this);
|
|
72906
|
+
__publicField(this, "routes", __runInitializers(_init135, 36, this)), __runInitializers(_init135, 39, this);
|
|
72657
72907
|
}
|
|
72658
72908
|
setup() {
|
|
72659
72909
|
const hmr = this.hmr;
|
|
@@ -72675,17 +72925,17 @@ var InstalledPluginRoutes = class {
|
|
|
72675
72925
|
});
|
|
72676
72926
|
}
|
|
72677
72927
|
};
|
|
72678
|
-
|
|
72679
|
-
__decorateElement(
|
|
72680
|
-
__decorateElement(
|
|
72681
|
-
__decorateElement(
|
|
72682
|
-
__decorateElement(
|
|
72683
|
-
__decorateElement(
|
|
72684
|
-
__decorateElement(
|
|
72685
|
-
__decorateElement(
|
|
72686
|
-
__decorateElement(
|
|
72687
|
-
InstalledPluginRoutes = __decorateElement(
|
|
72688
|
-
__runInitializers(
|
|
72928
|
+
_init135 = __decoratorStart(null);
|
|
72929
|
+
__decorateElement(_init135, 5, "config", _config_dec18, InstalledPluginRoutes);
|
|
72930
|
+
__decorateElement(_init135, 5, "hmr", _hmr_dec5, InstalledPluginRoutes);
|
|
72931
|
+
__decorateElement(_init135, 5, "reassembly", _reassembly_dec2, InstalledPluginRoutes);
|
|
72932
|
+
__decorateElement(_init135, 5, "projectConfig", _projectConfig_dec14, InstalledPluginRoutes);
|
|
72933
|
+
__decorateElement(_init135, 5, "access", _access_dec9, InstalledPluginRoutes);
|
|
72934
|
+
__decorateElement(_init135, 5, "machines", _machines_dec4, InstalledPluginRoutes);
|
|
72935
|
+
__decorateElement(_init135, 5, "db", _db_dec17, InstalledPluginRoutes);
|
|
72936
|
+
__decorateElement(_init135, 5, "routes", _routes_dec19, InstalledPluginRoutes);
|
|
72937
|
+
InstalledPluginRoutes = __decorateElement(_init135, 0, "InstalledPluginRoutes", _InstalledPluginRoutes_decorators, InstalledPluginRoutes);
|
|
72938
|
+
__runInitializers(_init135, 1, InstalledPluginRoutes);
|
|
72689
72939
|
|
|
72690
72940
|
// src/http/routes/suggest-id.ts
|
|
72691
72941
|
import { Hono as Hono45 } from "hono";
|
|
@@ -72730,7 +72980,7 @@ function suggestIdRoutes(deps) {
|
|
|
72730
72980
|
});
|
|
72731
72981
|
return app;
|
|
72732
72982
|
}
|
|
72733
|
-
var
|
|
72983
|
+
var _routes_dec20, _log_dec5, _errors_dec8, _settings_dec10, _orgService_dec3, _benchmarks_dec2, _agents_dec4, _projectConfig_dec15, _projects_dec8, _access_dec10, _SuggestIdRoutes_decorators, _init136;
|
|
72734
72984
|
_SuggestIdRoutes_decorators = [Component68({
|
|
72735
72985
|
contributes: {
|
|
72736
72986
|
"HttpModule.routes": [
|
|
@@ -72742,19 +72992,19 @@ _SuggestIdRoutes_decorators = [Component68({
|
|
|
72742
72992
|
}
|
|
72743
72993
|
]
|
|
72744
72994
|
}
|
|
72745
|
-
})], _access_dec10 = [Use70()], _projects_dec8 = [Use70()], _projectConfig_dec15 = [Use70()], _agents_dec4 = [Use70()], _benchmarks_dec2 = [Use70()], _orgService_dec3 = [Use70()], _settings_dec10 = [Use70()], _errors_dec8 = [Use70()], _log_dec5 = [Use70()],
|
|
72995
|
+
})], _access_dec10 = [Use70()], _projects_dec8 = [Use70()], _projectConfig_dec15 = [Use70()], _agents_dec4 = [Use70()], _benchmarks_dec2 = [Use70()], _orgService_dec3 = [Use70()], _settings_dec10 = [Use70()], _errors_dec8 = [Use70()], _log_dec5 = [Use70()], _routes_dec20 = [Bind28("SuggestIdRoutes.routes")];
|
|
72746
72996
|
var SuggestIdRoutes = class {
|
|
72747
72997
|
constructor() {
|
|
72748
|
-
__publicField(this, "access", __runInitializers(
|
|
72749
|
-
__publicField(this, "projects", __runInitializers(
|
|
72750
|
-
__publicField(this, "projectConfig", __runInitializers(
|
|
72751
|
-
__publicField(this, "agents", __runInitializers(
|
|
72752
|
-
__publicField(this, "benchmarks", __runInitializers(
|
|
72753
|
-
__publicField(this, "orgService", __runInitializers(
|
|
72754
|
-
__publicField(this, "settings", __runInitializers(
|
|
72755
|
-
__publicField(this, "errors", __runInitializers(
|
|
72756
|
-
__publicField(this, "log", __runInitializers(
|
|
72757
|
-
__publicField(this, "routes", __runInitializers(
|
|
72998
|
+
__publicField(this, "access", __runInitializers(_init136, 8, this)), __runInitializers(_init136, 11, this);
|
|
72999
|
+
__publicField(this, "projects", __runInitializers(_init136, 12, this)), __runInitializers(_init136, 15, this);
|
|
73000
|
+
__publicField(this, "projectConfig", __runInitializers(_init136, 16, this)), __runInitializers(_init136, 19, this);
|
|
73001
|
+
__publicField(this, "agents", __runInitializers(_init136, 20, this)), __runInitializers(_init136, 23, this);
|
|
73002
|
+
__publicField(this, "benchmarks", __runInitializers(_init136, 24, this)), __runInitializers(_init136, 27, this);
|
|
73003
|
+
__publicField(this, "orgService", __runInitializers(_init136, 28, this)), __runInitializers(_init136, 31, this);
|
|
73004
|
+
__publicField(this, "settings", __runInitializers(_init136, 32, this)), __runInitializers(_init136, 35, this);
|
|
73005
|
+
__publicField(this, "errors", __runInitializers(_init136, 36, this)), __runInitializers(_init136, 39, this);
|
|
73006
|
+
__publicField(this, "log", __runInitializers(_init136, 40, this)), __runInitializers(_init136, 43, this);
|
|
73007
|
+
__publicField(this, "routes", __runInitializers(_init136, 44, this)), __runInitializers(_init136, 47, this);
|
|
72758
73008
|
}
|
|
72759
73009
|
setup() {
|
|
72760
73010
|
this.routes = suggestIdRoutes({
|
|
@@ -72778,178 +73028,178 @@ var SuggestIdRoutes = class {
|
|
|
72778
73028
|
});
|
|
72779
73029
|
}
|
|
72780
73030
|
};
|
|
72781
|
-
|
|
72782
|
-
__decorateElement(
|
|
72783
|
-
__decorateElement(
|
|
72784
|
-
__decorateElement(
|
|
72785
|
-
__decorateElement(
|
|
72786
|
-
__decorateElement(
|
|
72787
|
-
__decorateElement(
|
|
72788
|
-
__decorateElement(
|
|
72789
|
-
__decorateElement(
|
|
72790
|
-
__decorateElement(
|
|
72791
|
-
__decorateElement(
|
|
72792
|
-
SuggestIdRoutes = __decorateElement(
|
|
72793
|
-
__runInitializers(
|
|
73031
|
+
_init136 = __decoratorStart(null);
|
|
73032
|
+
__decorateElement(_init136, 5, "access", _access_dec10, SuggestIdRoutes);
|
|
73033
|
+
__decorateElement(_init136, 5, "projects", _projects_dec8, SuggestIdRoutes);
|
|
73034
|
+
__decorateElement(_init136, 5, "projectConfig", _projectConfig_dec15, SuggestIdRoutes);
|
|
73035
|
+
__decorateElement(_init136, 5, "agents", _agents_dec4, SuggestIdRoutes);
|
|
73036
|
+
__decorateElement(_init136, 5, "benchmarks", _benchmarks_dec2, SuggestIdRoutes);
|
|
73037
|
+
__decorateElement(_init136, 5, "orgService", _orgService_dec3, SuggestIdRoutes);
|
|
73038
|
+
__decorateElement(_init136, 5, "settings", _settings_dec10, SuggestIdRoutes);
|
|
73039
|
+
__decorateElement(_init136, 5, "errors", _errors_dec8, SuggestIdRoutes);
|
|
73040
|
+
__decorateElement(_init136, 5, "log", _log_dec5, SuggestIdRoutes);
|
|
73041
|
+
__decorateElement(_init136, 5, "routes", _routes_dec20, SuggestIdRoutes);
|
|
73042
|
+
SuggestIdRoutes = __decorateElement(_init136, 0, "SuggestIdRoutes", _SuggestIdRoutes_decorators, SuggestIdRoutes);
|
|
73043
|
+
__runInitializers(_init136, 1, SuggestIdRoutes);
|
|
72794
73044
|
|
|
72795
73045
|
// src/mechanisms/identity.ts
|
|
72796
73046
|
import { Interface as Interface27 } from "@adelie/core/kernel";
|
|
72797
|
-
var _Users_decorators,
|
|
73047
|
+
var _Users_decorators, _init137;
|
|
72798
73048
|
_Users_decorators = [Interface27()];
|
|
72799
73049
|
var Users = class {
|
|
72800
73050
|
};
|
|
72801
|
-
|
|
72802
|
-
Users = __decorateElement(
|
|
72803
|
-
__runInitializers(
|
|
72804
|
-
var _AuthSessions_decorators,
|
|
73051
|
+
_init137 = __decoratorStart(null);
|
|
73052
|
+
Users = __decorateElement(_init137, 0, "Users", _Users_decorators, Users);
|
|
73053
|
+
__runInitializers(_init137, 1, Users);
|
|
73054
|
+
var _AuthSessions_decorators, _init138;
|
|
72805
73055
|
_AuthSessions_decorators = [Interface27()];
|
|
72806
73056
|
var AuthSessions = class {
|
|
72807
73057
|
};
|
|
72808
|
-
|
|
72809
|
-
AuthSessions = __decorateElement(
|
|
72810
|
-
__runInitializers(
|
|
72811
|
-
var _Auth_decorators,
|
|
73058
|
+
_init138 = __decoratorStart(null);
|
|
73059
|
+
AuthSessions = __decorateElement(_init138, 0, "AuthSessions", _AuthSessions_decorators, AuthSessions);
|
|
73060
|
+
__runInitializers(_init138, 1, AuthSessions);
|
|
73061
|
+
var _Auth_decorators, _init139;
|
|
72812
73062
|
_Auth_decorators = [Interface27()];
|
|
72813
73063
|
var Auth = class {
|
|
72814
73064
|
};
|
|
72815
|
-
|
|
72816
|
-
Auth = __decorateElement(
|
|
72817
|
-
__runInitializers(
|
|
72818
|
-
var _Admin_decorators,
|
|
73065
|
+
_init139 = __decoratorStart(null);
|
|
73066
|
+
Auth = __decorateElement(_init139, 0, "Auth", _Auth_decorators, Auth);
|
|
73067
|
+
__runInitializers(_init139, 1, Auth);
|
|
73068
|
+
var _Admin_decorators, _init140;
|
|
72819
73069
|
_Admin_decorators = [Interface27()];
|
|
72820
73070
|
var Admin = class {
|
|
72821
73071
|
};
|
|
72822
|
-
|
|
72823
|
-
Admin = __decorateElement(
|
|
72824
|
-
__runInitializers(
|
|
73072
|
+
_init140 = __decoratorStart(null);
|
|
73073
|
+
Admin = __decorateElement(_init140, 0, "Admin", _Admin_decorators, Admin);
|
|
73074
|
+
__runInitializers(_init140, 1, Admin);
|
|
72825
73075
|
|
|
72826
73076
|
// src/mechanisms/projects.ts
|
|
72827
73077
|
import { Interface as Interface28 } from "@adelie/core/kernel";
|
|
72828
|
-
var _Projects_decorators,
|
|
73078
|
+
var _Projects_decorators, _init141;
|
|
72829
73079
|
_Projects_decorators = [Interface28()];
|
|
72830
73080
|
var Projects = class {
|
|
72831
73081
|
};
|
|
72832
|
-
|
|
72833
|
-
Projects = __decorateElement(
|
|
72834
|
-
__runInitializers(
|
|
72835
|
-
var _Members_decorators,
|
|
73082
|
+
_init141 = __decoratorStart(null);
|
|
73083
|
+
Projects = __decorateElement(_init141, 0, "Projects", _Projects_decorators, Projects);
|
|
73084
|
+
__runInitializers(_init141, 1, Projects);
|
|
73085
|
+
var _Members_decorators, _init142;
|
|
72836
73086
|
_Members_decorators = [Interface28()];
|
|
72837
73087
|
var Members = class {
|
|
72838
73088
|
};
|
|
72839
|
-
|
|
72840
|
-
Members = __decorateElement(
|
|
72841
|
-
__runInitializers(
|
|
72842
|
-
var _AgentIndex_decorators,
|
|
73089
|
+
_init142 = __decoratorStart(null);
|
|
73090
|
+
Members = __decorateElement(_init142, 0, "Members", _Members_decorators, Members);
|
|
73091
|
+
__runInitializers(_init142, 1, Members);
|
|
73092
|
+
var _AgentIndex_decorators, _init143;
|
|
72843
73093
|
_AgentIndex_decorators = [Interface28()];
|
|
72844
73094
|
var AgentIndex = class {
|
|
72845
73095
|
};
|
|
72846
|
-
|
|
72847
|
-
AgentIndex = __decorateElement(
|
|
72848
|
-
__runInitializers(
|
|
72849
|
-
var _Access_decorators,
|
|
73096
|
+
_init143 = __decoratorStart(null);
|
|
73097
|
+
AgentIndex = __decorateElement(_init143, 0, "AgentIndex", _AgentIndex_decorators, AgentIndex);
|
|
73098
|
+
__runInitializers(_init143, 1, AgentIndex);
|
|
73099
|
+
var _Access_decorators, _init144;
|
|
72850
73100
|
_Access_decorators = [Interface28()];
|
|
72851
73101
|
var Access = class {
|
|
72852
73102
|
};
|
|
72853
|
-
|
|
72854
|
-
Access = __decorateElement(
|
|
72855
|
-
__runInitializers(
|
|
72856
|
-
var _ProjectLifecycle_decorators,
|
|
73103
|
+
_init144 = __decoratorStart(null);
|
|
73104
|
+
Access = __decorateElement(_init144, 0, "Access", _Access_decorators, Access);
|
|
73105
|
+
__runInitializers(_init144, 1, Access);
|
|
73106
|
+
var _ProjectLifecycle_decorators, _init145;
|
|
72857
73107
|
_ProjectLifecycle_decorators = [Interface28()];
|
|
72858
73108
|
var ProjectLifecycle = class {
|
|
72859
73109
|
};
|
|
72860
|
-
|
|
72861
|
-
ProjectLifecycle = __decorateElement(
|
|
72862
|
-
__runInitializers(
|
|
72863
|
-
var _ProjectConfigStore_decorators,
|
|
73110
|
+
_init145 = __decoratorStart(null);
|
|
73111
|
+
ProjectLifecycle = __decorateElement(_init145, 0, "ProjectLifecycle", _ProjectLifecycle_decorators, ProjectLifecycle);
|
|
73112
|
+
__runInitializers(_init145, 1, ProjectLifecycle);
|
|
73113
|
+
var _ProjectConfigStore_decorators, _init146;
|
|
72864
73114
|
_ProjectConfigStore_decorators = [Interface28()];
|
|
72865
73115
|
var ProjectConfigStore = class {
|
|
72866
73116
|
};
|
|
72867
|
-
|
|
72868
|
-
ProjectConfigStore = __decorateElement(
|
|
72869
|
-
__runInitializers(
|
|
72870
|
-
var _ModelPromotions_decorators,
|
|
73117
|
+
_init146 = __decoratorStart(null);
|
|
73118
|
+
ProjectConfigStore = __decorateElement(_init146, 0, "ProjectConfigStore", _ProjectConfigStore_decorators, ProjectConfigStore);
|
|
73119
|
+
__runInitializers(_init146, 1, ProjectConfigStore);
|
|
73120
|
+
var _ModelPromotions_decorators, _init147;
|
|
72871
73121
|
_ModelPromotions_decorators = [Interface28()];
|
|
72872
73122
|
var ModelPromotions = class {
|
|
72873
73123
|
};
|
|
72874
|
-
|
|
72875
|
-
ModelPromotions = __decorateElement(
|
|
72876
|
-
__runInitializers(
|
|
72877
|
-
var _ModelProviderAuthTokens_decorators,
|
|
73124
|
+
_init147 = __decoratorStart(null);
|
|
73125
|
+
ModelPromotions = __decorateElement(_init147, 0, "ModelPromotions", _ModelPromotions_decorators, ModelPromotions);
|
|
73126
|
+
__runInitializers(_init147, 1, ModelPromotions);
|
|
73127
|
+
var _ModelProviderAuthTokens_decorators, _init148;
|
|
72878
73128
|
_ModelProviderAuthTokens_decorators = [Interface28()];
|
|
72879
73129
|
var ModelProviderAuthTokens = class {
|
|
72880
73130
|
};
|
|
72881
|
-
|
|
72882
|
-
ModelProviderAuthTokens = __decorateElement(
|
|
72883
|
-
__runInitializers(
|
|
72884
|
-
var _ModelOAuth_decorators,
|
|
73131
|
+
_init148 = __decoratorStart(null);
|
|
73132
|
+
ModelProviderAuthTokens = __decorateElement(_init148, 0, "ModelProviderAuthTokens", _ModelProviderAuthTokens_decorators, ModelProviderAuthTokens);
|
|
73133
|
+
__runInitializers(_init148, 1, ModelProviderAuthTokens);
|
|
73134
|
+
var _ModelOAuth_decorators, _init149;
|
|
72885
73135
|
_ModelOAuth_decorators = [Interface28()];
|
|
72886
73136
|
var ModelOAuth = class {
|
|
72887
73137
|
};
|
|
72888
|
-
|
|
72889
|
-
ModelOAuth = __decorateElement(
|
|
72890
|
-
__runInitializers(
|
|
72891
|
-
var _ProjectEvents_decorators,
|
|
73138
|
+
_init149 = __decoratorStart(null);
|
|
73139
|
+
ModelOAuth = __decorateElement(_init149, 0, "ModelOAuth", _ModelOAuth_decorators, ModelOAuth);
|
|
73140
|
+
__runInitializers(_init149, 1, ModelOAuth);
|
|
73141
|
+
var _ProjectEvents_decorators, _init150;
|
|
72892
73142
|
_ProjectEvents_decorators = [Interface28()];
|
|
72893
73143
|
var ProjectEvents = class {
|
|
72894
73144
|
};
|
|
72895
|
-
|
|
72896
|
-
ProjectEvents = __decorateElement(
|
|
72897
|
-
__runInitializers(
|
|
73145
|
+
_init150 = __decoratorStart(null);
|
|
73146
|
+
ProjectEvents = __decorateElement(_init150, 0, "ProjectEvents", _ProjectEvents_decorators, ProjectEvents);
|
|
73147
|
+
__runInitializers(_init150, 1, ProjectEvents);
|
|
72898
73148
|
|
|
72899
73149
|
// src/mechanisms/sessions.ts
|
|
72900
73150
|
import { Interface as Interface29 } from "@adelie/core/kernel";
|
|
72901
|
-
var _SessionIndex_decorators,
|
|
73151
|
+
var _SessionIndex_decorators, _init151;
|
|
72902
73152
|
_SessionIndex_decorators = [Interface29()];
|
|
72903
73153
|
var SessionIndex = class {
|
|
72904
73154
|
};
|
|
72905
|
-
|
|
72906
|
-
SessionIndex = __decorateElement(
|
|
72907
|
-
__runInitializers(
|
|
72908
|
-
var _SessionOrigins_decorators,
|
|
73155
|
+
_init151 = __decoratorStart(null);
|
|
73156
|
+
SessionIndex = __decorateElement(_init151, 0, "SessionIndex", _SessionIndex_decorators, SessionIndex);
|
|
73157
|
+
__runInitializers(_init151, 1, SessionIndex);
|
|
73158
|
+
var _SessionOrigins_decorators, _init152;
|
|
72909
73159
|
_SessionOrigins_decorators = [Interface29()];
|
|
72910
73160
|
var SessionOrigins = class {
|
|
72911
73161
|
};
|
|
72912
|
-
|
|
72913
|
-
SessionOrigins = __decorateElement(
|
|
72914
|
-
__runInitializers(
|
|
72915
|
-
var _Schedules_decorators,
|
|
73162
|
+
_init152 = __decoratorStart(null);
|
|
73163
|
+
SessionOrigins = __decorateElement(_init152, 0, "SessionOrigins", _SessionOrigins_decorators, SessionOrigins);
|
|
73164
|
+
__runInitializers(_init152, 1, SessionOrigins);
|
|
73165
|
+
var _Schedules_decorators, _init153;
|
|
72916
73166
|
_Schedules_decorators = [Interface29()];
|
|
72917
73167
|
var Schedules = class {
|
|
72918
73168
|
};
|
|
72919
|
-
|
|
72920
|
-
Schedules = __decorateElement(
|
|
72921
|
-
__runInitializers(
|
|
72922
|
-
var _Scheduling_decorators,
|
|
73169
|
+
_init153 = __decoratorStart(null);
|
|
73170
|
+
Schedules = __decorateElement(_init153, 0, "Schedules", _Schedules_decorators, Schedules);
|
|
73171
|
+
__runInitializers(_init153, 1, Schedules);
|
|
73172
|
+
var _Scheduling_decorators, _init154;
|
|
72923
73173
|
_Scheduling_decorators = [Interface29()];
|
|
72924
73174
|
var Scheduling = class {
|
|
72925
73175
|
};
|
|
72926
|
-
|
|
72927
|
-
Scheduling = __decorateElement(
|
|
72928
|
-
__runInitializers(
|
|
73176
|
+
_init154 = __decoratorStart(null);
|
|
73177
|
+
Scheduling = __decorateElement(_init154, 0, "Scheduling", _Scheduling_decorators, Scheduling);
|
|
73178
|
+
__runInitializers(_init154, 1, Scheduling);
|
|
72929
73179
|
|
|
72930
73180
|
// src/mechanisms/workflows.ts
|
|
72931
73181
|
import { Interface as Interface30 } from "@adelie/core/kernel";
|
|
72932
|
-
var _WorkflowMain_decorators,
|
|
73182
|
+
var _WorkflowMain_decorators, _init155;
|
|
72933
73183
|
_WorkflowMain_decorators = [Interface30()];
|
|
72934
73184
|
var WorkflowMain = class {
|
|
72935
73185
|
};
|
|
72936
|
-
|
|
72937
|
-
WorkflowMain = __decorateElement(
|
|
72938
|
-
__runInitializers(
|
|
72939
|
-
var _WorkflowHost_decorators,
|
|
73186
|
+
_init155 = __decoratorStart(null);
|
|
73187
|
+
WorkflowMain = __decorateElement(_init155, 0, "WorkflowMain", _WorkflowMain_decorators, WorkflowMain);
|
|
73188
|
+
__runInitializers(_init155, 1, WorkflowMain);
|
|
73189
|
+
var _WorkflowHost_decorators, _init156;
|
|
72940
73190
|
_WorkflowHost_decorators = [Interface30()];
|
|
72941
73191
|
var WorkflowHost = class {
|
|
72942
73192
|
};
|
|
72943
|
-
|
|
72944
|
-
WorkflowHost = __decorateElement(
|
|
72945
|
-
__runInitializers(
|
|
72946
|
-
var _Workflows_decorators,
|
|
73193
|
+
_init156 = __decoratorStart(null);
|
|
73194
|
+
WorkflowHost = __decorateElement(_init156, 0, "WorkflowHost", _WorkflowHost_decorators, WorkflowHost);
|
|
73195
|
+
__runInitializers(_init156, 1, WorkflowHost);
|
|
73196
|
+
var _Workflows_decorators, _init157;
|
|
72947
73197
|
_Workflows_decorators = [Interface30()];
|
|
72948
73198
|
var Workflows = class {
|
|
72949
73199
|
};
|
|
72950
|
-
|
|
72951
|
-
Workflows = __decorateElement(
|
|
72952
|
-
__runInitializers(
|
|
73200
|
+
_init157 = __decoratorStart(null);
|
|
73201
|
+
Workflows = __decorateElement(_init157, 0, "Workflows", _Workflows_decorators, Workflows);
|
|
73202
|
+
__runInitializers(_init157, 1, Workflows);
|
|
72953
73203
|
|
|
72954
73204
|
// src/workflows/service.ts
|
|
72955
73205
|
import fs45 from "fs";
|
|
@@ -73482,21 +73732,21 @@ async function loadDefs(manifests, entry) {
|
|
|
73482
73732
|
}
|
|
73483
73733
|
return root;
|
|
73484
73734
|
}
|
|
73485
|
-
var _sessions_dec6, _runner_dec4, _sessionIndex_dec, _agents_dec5, _hmr_dec6, _projects_dec9, _members_dec5, _channels_dec11, _log_dec6, _clock_dec13, _paths_dec17, _WorkflowService_decorators,
|
|
73735
|
+
var _sessions_dec6, _runner_dec4, _sessionIndex_dec, _agents_dec5, _hmr_dec6, _projects_dec9, _members_dec5, _channels_dec11, _log_dec6, _clock_dec13, _paths_dec17, _WorkflowService_decorators, _init158;
|
|
73486
73736
|
_WorkflowService_decorators = [Component69()], _paths_dec17 = [Use71()], _clock_dec13 = [Use71()], _log_dec6 = [Use71()], _channels_dec11 = [Use71()], _members_dec5 = [Use71()], _projects_dec9 = [Use71()], _hmr_dec6 = [Use71()], _agents_dec5 = [Use71()], _sessionIndex_dec = [Use71()], _runner_dec4 = [Use71()], _sessions_dec6 = [Use71()];
|
|
73487
73737
|
var WorkflowService = class {
|
|
73488
73738
|
constructor() {
|
|
73489
|
-
__publicField(this, "paths", __runInitializers(
|
|
73490
|
-
__publicField(this, "clock", __runInitializers(
|
|
73491
|
-
__publicField(this, "log", __runInitializers(
|
|
73492
|
-
__publicField(this, "channels", __runInitializers(
|
|
73493
|
-
__publicField(this, "members", __runInitializers(
|
|
73494
|
-
__publicField(this, "projects", __runInitializers(
|
|
73495
|
-
__publicField(this, "hmr", __runInitializers(
|
|
73496
|
-
__publicField(this, "agents", __runInitializers(
|
|
73497
|
-
__publicField(this, "sessionIndex", __runInitializers(
|
|
73498
|
-
__publicField(this, "runner", __runInitializers(
|
|
73499
|
-
__publicField(this, "sessions", __runInitializers(
|
|
73739
|
+
__publicField(this, "paths", __runInitializers(_init158, 8, this)), __runInitializers(_init158, 11, this);
|
|
73740
|
+
__publicField(this, "clock", __runInitializers(_init158, 12, this)), __runInitializers(_init158, 15, this);
|
|
73741
|
+
__publicField(this, "log", __runInitializers(_init158, 16, this)), __runInitializers(_init158, 19, this);
|
|
73742
|
+
__publicField(this, "channels", __runInitializers(_init158, 20, this)), __runInitializers(_init158, 23, this);
|
|
73743
|
+
__publicField(this, "members", __runInitializers(_init158, 24, this)), __runInitializers(_init158, 27, this);
|
|
73744
|
+
__publicField(this, "projects", __runInitializers(_init158, 28, this)), __runInitializers(_init158, 31, this);
|
|
73745
|
+
__publicField(this, "hmr", __runInitializers(_init158, 32, this)), __runInitializers(_init158, 35, this);
|
|
73746
|
+
__publicField(this, "agents", __runInitializers(_init158, 36, this)), __runInitializers(_init158, 39, this);
|
|
73747
|
+
__publicField(this, "sessionIndex", __runInitializers(_init158, 40, this)), __runInitializers(_init158, 43, this);
|
|
73748
|
+
__publicField(this, "runner", __runInitializers(_init158, 44, this)), __runInitializers(_init158, 47, this);
|
|
73749
|
+
__publicField(this, "sessions", __runInitializers(_init158, 48, this)), __runInitializers(_init158, 51, this);
|
|
73500
73750
|
__publicField(this, "loaded", /* @__PURE__ */ new Map());
|
|
73501
73751
|
__publicField(this, "watchers", /* @__PURE__ */ new Map());
|
|
73502
73752
|
__publicField(this, "pending", /* @__PURE__ */ new Map());
|
|
@@ -73909,20 +74159,20 @@ var WorkflowService = class {
|
|
|
73909
74159
|
);
|
|
73910
74160
|
}
|
|
73911
74161
|
};
|
|
73912
|
-
|
|
73913
|
-
__decorateElement(
|
|
73914
|
-
__decorateElement(
|
|
73915
|
-
__decorateElement(
|
|
73916
|
-
__decorateElement(
|
|
73917
|
-
__decorateElement(
|
|
73918
|
-
__decorateElement(
|
|
73919
|
-
__decorateElement(
|
|
73920
|
-
__decorateElement(
|
|
73921
|
-
__decorateElement(
|
|
73922
|
-
__decorateElement(
|
|
73923
|
-
__decorateElement(
|
|
73924
|
-
WorkflowService = __decorateElement(
|
|
73925
|
-
__runInitializers(
|
|
74162
|
+
_init158 = __decoratorStart(null);
|
|
74163
|
+
__decorateElement(_init158, 5, "paths", _paths_dec17, WorkflowService);
|
|
74164
|
+
__decorateElement(_init158, 5, "clock", _clock_dec13, WorkflowService);
|
|
74165
|
+
__decorateElement(_init158, 5, "log", _log_dec6, WorkflowService);
|
|
74166
|
+
__decorateElement(_init158, 5, "channels", _channels_dec11, WorkflowService);
|
|
74167
|
+
__decorateElement(_init158, 5, "members", _members_dec5, WorkflowService);
|
|
74168
|
+
__decorateElement(_init158, 5, "projects", _projects_dec9, WorkflowService);
|
|
74169
|
+
__decorateElement(_init158, 5, "hmr", _hmr_dec6, WorkflowService);
|
|
74170
|
+
__decorateElement(_init158, 5, "agents", _agents_dec5, WorkflowService);
|
|
74171
|
+
__decorateElement(_init158, 5, "sessionIndex", _sessionIndex_dec, WorkflowService);
|
|
74172
|
+
__decorateElement(_init158, 5, "runner", _runner_dec4, WorkflowService);
|
|
74173
|
+
__decorateElement(_init158, 5, "sessions", _sessions_dec6, WorkflowService);
|
|
74174
|
+
WorkflowService = __decorateElement(_init158, 0, "WorkflowService", _WorkflowService_decorators, WorkflowService);
|
|
74175
|
+
__runInitializers(_init158, 1, WorkflowService);
|
|
73926
74176
|
var WorkflowNotFound = class extends Error {
|
|
73927
74177
|
};
|
|
73928
74178
|
function uiBase(projectId, agentId, workflowId) {
|
|
@@ -74152,7 +74402,7 @@ function workflowRoutes(deps) {
|
|
|
74152
74402
|
});
|
|
74153
74403
|
return app;
|
|
74154
74404
|
}
|
|
74155
|
-
var
|
|
74405
|
+
var _routes_dec21, _workflows_dec, _access_dec11, _WorkflowRoutes_decorators, _init159;
|
|
74156
74406
|
_WorkflowRoutes_decorators = [Component70({
|
|
74157
74407
|
contributes: {
|
|
74158
74408
|
"HttpModule.routes": [
|
|
@@ -74164,177 +74414,177 @@ _WorkflowRoutes_decorators = [Component70({
|
|
|
74164
74414
|
}
|
|
74165
74415
|
]
|
|
74166
74416
|
}
|
|
74167
|
-
})], _access_dec11 = [Use72()], _workflows_dec = [Use72()],
|
|
74417
|
+
})], _access_dec11 = [Use72()], _workflows_dec = [Use72()], _routes_dec21 = [Bind29("WorkflowsModule.routes")];
|
|
74168
74418
|
var WorkflowRoutes = class {
|
|
74169
74419
|
constructor() {
|
|
74170
|
-
__publicField(this, "access", __runInitializers(
|
|
74171
|
-
__publicField(this, "workflows", __runInitializers(
|
|
74172
|
-
__publicField(this, "routes", __runInitializers(
|
|
74420
|
+
__publicField(this, "access", __runInitializers(_init159, 8, this)), __runInitializers(_init159, 11, this);
|
|
74421
|
+
__publicField(this, "workflows", __runInitializers(_init159, 12, this)), __runInitializers(_init159, 15, this);
|
|
74422
|
+
__publicField(this, "routes", __runInitializers(_init159, 16, this)), __runInitializers(_init159, 19, this);
|
|
74173
74423
|
}
|
|
74174
74424
|
setup() {
|
|
74175
74425
|
this.routes = workflowRoutes({ access: this.access, workflows: this.workflows });
|
|
74176
74426
|
}
|
|
74177
74427
|
};
|
|
74178
|
-
|
|
74179
|
-
__decorateElement(
|
|
74180
|
-
__decorateElement(
|
|
74181
|
-
__decorateElement(
|
|
74182
|
-
WorkflowRoutes = __decorateElement(
|
|
74183
|
-
__runInitializers(
|
|
74428
|
+
_init159 = __decoratorStart(null);
|
|
74429
|
+
__decorateElement(_init159, 5, "access", _access_dec11, WorkflowRoutes);
|
|
74430
|
+
__decorateElement(_init159, 5, "workflows", _workflows_dec, WorkflowRoutes);
|
|
74431
|
+
__decorateElement(_init159, 5, "routes", _routes_dec21, WorkflowRoutes);
|
|
74432
|
+
WorkflowRoutes = __decorateElement(_init159, 0, "WorkflowRoutes", _WorkflowRoutes_decorators, WorkflowRoutes);
|
|
74433
|
+
__runInitializers(_init159, 1, WorkflowRoutes);
|
|
74184
74434
|
|
|
74185
74435
|
// src/mechanisms/observability.ts
|
|
74186
74436
|
import { Interface as Interface31 } from "@adelie/core/kernel";
|
|
74187
|
-
var _ErrorLog_decorators,
|
|
74437
|
+
var _ErrorLog_decorators, _init160;
|
|
74188
74438
|
_ErrorLog_decorators = [Interface31()];
|
|
74189
74439
|
var ErrorLog = class {
|
|
74190
74440
|
};
|
|
74191
|
-
|
|
74192
|
-
ErrorLog = __decorateElement(
|
|
74193
|
-
__runInitializers(
|
|
74194
|
-
var _Errors_decorators,
|
|
74441
|
+
_init160 = __decoratorStart(null);
|
|
74442
|
+
ErrorLog = __decorateElement(_init160, 0, "ErrorLog", _ErrorLog_decorators, ErrorLog);
|
|
74443
|
+
__runInitializers(_init160, 1, ErrorLog);
|
|
74444
|
+
var _Errors_decorators, _init161;
|
|
74195
74445
|
_Errors_decorators = [Interface31()];
|
|
74196
74446
|
var Errors = class {
|
|
74197
74447
|
};
|
|
74198
|
-
|
|
74199
|
-
Errors = __decorateElement(
|
|
74200
|
-
__runInitializers(
|
|
74201
|
-
var _UsageStore_decorators,
|
|
74448
|
+
_init161 = __decoratorStart(null);
|
|
74449
|
+
Errors = __decorateElement(_init161, 0, "Errors", _Errors_decorators, Errors);
|
|
74450
|
+
__runInitializers(_init161, 1, Errors);
|
|
74451
|
+
var _UsageStore_decorators, _init162;
|
|
74202
74452
|
_UsageStore_decorators = [Interface31()];
|
|
74203
74453
|
var UsageStore = class {
|
|
74204
74454
|
};
|
|
74205
|
-
|
|
74206
|
-
UsageStore = __decorateElement(
|
|
74207
|
-
__runInitializers(
|
|
74208
|
-
var _UsageRecording_decorators,
|
|
74455
|
+
_init162 = __decoratorStart(null);
|
|
74456
|
+
UsageStore = __decorateElement(_init162, 0, "UsageStore", _UsageStore_decorators, UsageStore);
|
|
74457
|
+
__runInitializers(_init162, 1, UsageStore);
|
|
74458
|
+
var _UsageRecording_decorators, _init163;
|
|
74209
74459
|
_UsageRecording_decorators = [Interface31()];
|
|
74210
74460
|
var UsageRecording = class {
|
|
74211
74461
|
};
|
|
74212
|
-
|
|
74213
|
-
UsageRecording = __decorateElement(
|
|
74214
|
-
__runInitializers(
|
|
74215
|
-
var _UsageQueries_decorators,
|
|
74462
|
+
_init163 = __decoratorStart(null);
|
|
74463
|
+
UsageRecording = __decorateElement(_init163, 0, "UsageRecording", _UsageRecording_decorators, UsageRecording);
|
|
74464
|
+
__runInitializers(_init163, 1, UsageRecording);
|
|
74465
|
+
var _UsageQueries_decorators, _init164;
|
|
74216
74466
|
_UsageQueries_decorators = [Interface31()];
|
|
74217
74467
|
var UsageQueries = class {
|
|
74218
74468
|
};
|
|
74219
|
-
|
|
74220
|
-
UsageQueries = __decorateElement(
|
|
74221
|
-
__runInitializers(
|
|
74469
|
+
_init164 = __decoratorStart(null);
|
|
74470
|
+
UsageQueries = __decorateElement(_init164, 0, "UsageQueries", _UsageQueries_decorators, UsageQueries);
|
|
74471
|
+
__runInitializers(_init164, 1, UsageQueries);
|
|
74222
74472
|
|
|
74223
74473
|
// src/mechanisms/traces.ts
|
|
74224
74474
|
import { Interface as Interface32 } from "@adelie/core/kernel";
|
|
74225
|
-
var _TraceIndexStore_decorators,
|
|
74475
|
+
var _TraceIndexStore_decorators, _init165;
|
|
74226
74476
|
_TraceIndexStore_decorators = [Interface32()];
|
|
74227
74477
|
var TraceIndexStore = class {
|
|
74228
74478
|
};
|
|
74229
|
-
|
|
74230
|
-
TraceIndexStore = __decorateElement(
|
|
74231
|
-
__runInitializers(
|
|
74232
|
-
var _TraceIndex_decorators,
|
|
74479
|
+
_init165 = __decoratorStart(null);
|
|
74480
|
+
TraceIndexStore = __decorateElement(_init165, 0, "TraceIndexStore", _TraceIndexStore_decorators, TraceIndexStore);
|
|
74481
|
+
__runInitializers(_init165, 1, TraceIndexStore);
|
|
74482
|
+
var _TraceIndex_decorators, _init166;
|
|
74233
74483
|
_TraceIndex_decorators = [Interface32()];
|
|
74234
74484
|
var TraceIndex = class {
|
|
74235
74485
|
};
|
|
74236
|
-
|
|
74237
|
-
TraceIndex = __decorateElement(
|
|
74238
|
-
__runInitializers(
|
|
74239
|
-
var _Traces_decorators,
|
|
74486
|
+
_init166 = __decoratorStart(null);
|
|
74487
|
+
TraceIndex = __decorateElement(_init166, 0, "TraceIndex", _TraceIndex_decorators, TraceIndex);
|
|
74488
|
+
__runInitializers(_init166, 1, TraceIndex);
|
|
74489
|
+
var _Traces_decorators, _init167;
|
|
74240
74490
|
_Traces_decorators = [Interface32()];
|
|
74241
74491
|
var Traces = class {
|
|
74242
74492
|
};
|
|
74243
|
-
|
|
74244
|
-
Traces = __decorateElement(
|
|
74245
|
-
__runInitializers(
|
|
74493
|
+
_init167 = __decoratorStart(null);
|
|
74494
|
+
Traces = __decorateElement(_init167, 0, "Traces", _Traces_decorators, Traces);
|
|
74495
|
+
__runInitializers(_init167, 1, Traces);
|
|
74246
74496
|
|
|
74247
74497
|
// src/mechanisms/agents.ts
|
|
74248
74498
|
import { Interface as Interface33 } from "@adelie/core/kernel";
|
|
74249
|
-
var _AgentConfig_decorators,
|
|
74499
|
+
var _AgentConfig_decorators, _init168;
|
|
74250
74500
|
_AgentConfig_decorators = [Interface33()];
|
|
74251
74501
|
var AgentConfig = class {
|
|
74252
74502
|
};
|
|
74253
|
-
|
|
74254
|
-
AgentConfig = __decorateElement(
|
|
74255
|
-
__runInitializers(
|
|
74256
|
-
var _Snapshots_decorators,
|
|
74503
|
+
_init168 = __decoratorStart(null);
|
|
74504
|
+
AgentConfig = __decorateElement(_init168, 0, "AgentConfig", _AgentConfig_decorators, AgentConfig);
|
|
74505
|
+
__runInitializers(_init168, 1, AgentConfig);
|
|
74506
|
+
var _Snapshots_decorators, _init169;
|
|
74257
74507
|
_Snapshots_decorators = [Interface33()];
|
|
74258
74508
|
var Snapshots = class {
|
|
74259
74509
|
};
|
|
74260
|
-
|
|
74261
|
-
Snapshots = __decorateElement(
|
|
74262
|
-
__runInitializers(
|
|
74263
|
-
var _Memory_decorators,
|
|
74510
|
+
_init169 = __decoratorStart(null);
|
|
74511
|
+
Snapshots = __decorateElement(_init169, 0, "Snapshots", _Snapshots_decorators, Snapshots);
|
|
74512
|
+
__runInitializers(_init169, 1, Snapshots);
|
|
74513
|
+
var _Memory_decorators, _init170;
|
|
74264
74514
|
_Memory_decorators = [Interface33()];
|
|
74265
74515
|
var Memory = class {
|
|
74266
74516
|
};
|
|
74267
|
-
|
|
74268
|
-
Memory = __decorateElement(
|
|
74269
|
-
__runInitializers(
|
|
74270
|
-
var _Benchmarks_decorators,
|
|
74517
|
+
_init170 = __decoratorStart(null);
|
|
74518
|
+
Memory = __decorateElement(_init170, 0, "Memory", _Memory_decorators, Memory);
|
|
74519
|
+
__runInitializers(_init170, 1, Memory);
|
|
74520
|
+
var _Benchmarks_decorators, _init171;
|
|
74271
74521
|
_Benchmarks_decorators = [Interface33()];
|
|
74272
74522
|
var Benchmarks = class {
|
|
74273
74523
|
};
|
|
74274
|
-
|
|
74275
|
-
Benchmarks = __decorateElement(
|
|
74276
|
-
__runInitializers(
|
|
74277
|
-
var _AgentLifecycle_decorators,
|
|
74524
|
+
_init171 = __decoratorStart(null);
|
|
74525
|
+
Benchmarks = __decorateElement(_init171, 0, "Benchmarks", _Benchmarks_decorators, Benchmarks);
|
|
74526
|
+
__runInitializers(_init171, 1, Benchmarks);
|
|
74527
|
+
var _AgentLifecycle_decorators, _init172;
|
|
74278
74528
|
_AgentLifecycle_decorators = [Interface33()];
|
|
74279
74529
|
var AgentLifecycle = class {
|
|
74280
74530
|
};
|
|
74281
|
-
|
|
74282
|
-
AgentLifecycle = __decorateElement(
|
|
74283
|
-
__runInitializers(
|
|
74531
|
+
_init172 = __decoratorStart(null);
|
|
74532
|
+
AgentLifecycle = __decorateElement(_init172, 0, "AgentLifecycle", _AgentLifecycle_decorators, AgentLifecycle);
|
|
74533
|
+
__runInitializers(_init172, 1, AgentLifecycle);
|
|
74284
74534
|
|
|
74285
74535
|
// src/mechanisms/vault.ts
|
|
74286
74536
|
import { Interface as Interface34 } from "@adelie/core/kernel";
|
|
74287
|
-
var _UserVault_decorators,
|
|
74537
|
+
var _UserVault_decorators, _init173;
|
|
74288
74538
|
_UserVault_decorators = [Interface34()];
|
|
74289
74539
|
var UserVault = class {
|
|
74290
74540
|
};
|
|
74291
|
-
|
|
74292
|
-
UserVault = __decorateElement(
|
|
74293
|
-
__runInitializers(
|
|
74541
|
+
_init173 = __decoratorStart(null);
|
|
74542
|
+
UserVault = __decorateElement(_init173, 0, "UserVault", _UserVault_decorators, UserVault);
|
|
74543
|
+
__runInitializers(_init173, 1, UserVault);
|
|
74294
74544
|
|
|
74295
74545
|
// src/mechanisms/workspace.ts
|
|
74296
74546
|
import { Interface as Interface35 } from "@adelie/core/kernel";
|
|
74297
|
-
var _WorkspaceFiles_decorators,
|
|
74547
|
+
var _WorkspaceFiles_decorators, _init174;
|
|
74298
74548
|
_WorkspaceFiles_decorators = [Interface35()];
|
|
74299
74549
|
var WorkspaceFiles = class {
|
|
74300
74550
|
};
|
|
74301
|
-
|
|
74302
|
-
WorkspaceFiles = __decorateElement(
|
|
74303
|
-
__runInitializers(
|
|
74304
|
-
var _FileReveal_decorators,
|
|
74551
|
+
_init174 = __decoratorStart(null);
|
|
74552
|
+
WorkspaceFiles = __decorateElement(_init174, 0, "WorkspaceFiles", _WorkspaceFiles_decorators, WorkspaceFiles);
|
|
74553
|
+
__runInitializers(_init174, 1, WorkspaceFiles);
|
|
74554
|
+
var _FileReveal_decorators, _init175;
|
|
74305
74555
|
_FileReveal_decorators = [Interface35()];
|
|
74306
74556
|
var FileReveal = class {
|
|
74307
74557
|
};
|
|
74308
|
-
|
|
74309
|
-
FileReveal = __decorateElement(
|
|
74310
|
-
__runInitializers(
|
|
74558
|
+
_init175 = __decoratorStart(null);
|
|
74559
|
+
FileReveal = __decorateElement(_init175, 0, "FileReveal", _FileReveal_decorators, FileReveal);
|
|
74560
|
+
__runInitializers(_init175, 1, FileReveal);
|
|
74311
74561
|
|
|
74312
74562
|
// src/mechanisms/settings.ts
|
|
74313
74563
|
import { Interface as Interface36 } from "@adelie/core/kernel";
|
|
74314
|
-
var _Settings_decorators,
|
|
74564
|
+
var _Settings_decorators, _init176;
|
|
74315
74565
|
_Settings_decorators = [Interface36()];
|
|
74316
74566
|
var Settings = class {
|
|
74317
74567
|
};
|
|
74318
|
-
|
|
74319
|
-
Settings = __decorateElement(
|
|
74320
|
-
__runInitializers(
|
|
74321
|
-
var _UiPrefsStore_decorators,
|
|
74568
|
+
_init176 = __decoratorStart(null);
|
|
74569
|
+
Settings = __decorateElement(_init176, 0, "Settings", _Settings_decorators, Settings);
|
|
74570
|
+
__runInitializers(_init176, 1, Settings);
|
|
74571
|
+
var _UiPrefsStore_decorators, _init177;
|
|
74322
74572
|
_UiPrefsStore_decorators = [Interface36()];
|
|
74323
74573
|
var UiPrefsStore = class {
|
|
74324
74574
|
};
|
|
74325
|
-
|
|
74326
|
-
UiPrefsStore = __decorateElement(
|
|
74327
|
-
__runInitializers(
|
|
74575
|
+
_init177 = __decoratorStart(null);
|
|
74576
|
+
UiPrefsStore = __decorateElement(_init177, 0, "UiPrefsStore", _UiPrefsStore_decorators, UiPrefsStore);
|
|
74577
|
+
__runInitializers(_init177, 1, UiPrefsStore);
|
|
74328
74578
|
|
|
74329
74579
|
// src/mechanisms/messaging.ts
|
|
74330
74580
|
import { Interface as Interface37 } from "@adelie/core/kernel";
|
|
74331
|
-
var _MessagingBindings_decorators,
|
|
74581
|
+
var _MessagingBindings_decorators, _init178;
|
|
74332
74582
|
_MessagingBindings_decorators = [Interface37()];
|
|
74333
74583
|
var MessagingBindings = class {
|
|
74334
74584
|
};
|
|
74335
|
-
|
|
74336
|
-
MessagingBindings = __decorateElement(
|
|
74337
|
-
__runInitializers(
|
|
74585
|
+
_init178 = __decoratorStart(null);
|
|
74586
|
+
MessagingBindings = __decorateElement(_init178, 0, "MessagingBindings", _MessagingBindings_decorators, MessagingBindings);
|
|
74587
|
+
__runInitializers(_init178, 1, MessagingBindings);
|
|
74338
74588
|
|
|
74339
74589
|
// src/mechanisms/organization.ts
|
|
74340
74590
|
import { Interface as Interface38 } from "@adelie/core/kernel";
|
|
@@ -74390,7 +74640,7 @@ function previewRoutes(deps) {
|
|
|
74390
74640
|
}
|
|
74391
74641
|
var PreviewTokens = class extends Interface39() {
|
|
74392
74642
|
};
|
|
74393
|
-
var _previewRoutes_dec, _previewTokens_dec2, _sessionsRepo_dec5, _workspaceFiles_dec4, _PreviewModule_decorators,
|
|
74643
|
+
var _previewRoutes_dec, _previewTokens_dec2, _sessionsRepo_dec5, _workspaceFiles_dec4, _PreviewModule_decorators, _init179;
|
|
74394
74644
|
_PreviewModule_decorators = [Module18({
|
|
74395
74645
|
contributes: {
|
|
74396
74646
|
"HttpModule.routes": [
|
|
@@ -74405,10 +74655,10 @@ _PreviewModule_decorators = [Module18({
|
|
|
74405
74655
|
})], _workspaceFiles_dec4 = [Use73()], _sessionsRepo_dec5 = [Use73()], _previewTokens_dec2 = [Provide18()], _previewRoutes_dec = [Bind30("workspace.preview")];
|
|
74406
74656
|
var PreviewModule = class {
|
|
74407
74657
|
constructor() {
|
|
74408
|
-
__publicField(this, "workspaceFiles", __runInitializers(
|
|
74409
|
-
__publicField(this, "sessionsRepo", __runInitializers(
|
|
74410
|
-
__publicField(this, "previewTokens", __runInitializers(
|
|
74411
|
-
__publicField(this, "previewRoutes", __runInitializers(
|
|
74658
|
+
__publicField(this, "workspaceFiles", __runInitializers(_init179, 8, this)), __runInitializers(_init179, 11, this);
|
|
74659
|
+
__publicField(this, "sessionsRepo", __runInitializers(_init179, 12, this)), __runInitializers(_init179, 15, this);
|
|
74660
|
+
__publicField(this, "previewTokens", __runInitializers(_init179, 16, this)), __runInitializers(_init179, 19, this);
|
|
74661
|
+
__publicField(this, "previewRoutes", __runInitializers(_init179, 20, this)), __runInitializers(_init179, 23, this);
|
|
74412
74662
|
}
|
|
74413
74663
|
setup() {
|
|
74414
74664
|
const previewTokens = createPreviewTokenSigner();
|
|
@@ -74420,13 +74670,13 @@ var PreviewModule = class {
|
|
|
74420
74670
|
});
|
|
74421
74671
|
}
|
|
74422
74672
|
};
|
|
74423
|
-
|
|
74424
|
-
__decorateElement(
|
|
74425
|
-
__decorateElement(
|
|
74426
|
-
__decorateElement(
|
|
74427
|
-
__decorateElement(
|
|
74428
|
-
PreviewModule = __decorateElement(
|
|
74429
|
-
__runInitializers(
|
|
74673
|
+
_init179 = __decoratorStart(null);
|
|
74674
|
+
__decorateElement(_init179, 5, "workspaceFiles", _workspaceFiles_dec4, PreviewModule);
|
|
74675
|
+
__decorateElement(_init179, 5, "sessionsRepo", _sessionsRepo_dec5, PreviewModule);
|
|
74676
|
+
__decorateElement(_init179, 5, "previewTokens", _previewTokens_dec2, PreviewModule);
|
|
74677
|
+
__decorateElement(_init179, 5, "previewRoutes", _previewRoutes_dec, PreviewModule);
|
|
74678
|
+
PreviewModule = __decorateElement(_init179, 0, "PreviewModule", _PreviewModule_decorators, PreviewModule);
|
|
74679
|
+
__runInitializers(_init179, 1, PreviewModule);
|
|
74430
74680
|
|
|
74431
74681
|
// src/http/app.ts
|
|
74432
74682
|
import { Interface as Interface40, Module as Module19, Provide as Provide19, Use as Use74 } from "@adelie/core/kernel";
|
|
@@ -74447,24 +74697,24 @@ function seamHttp(app) {
|
|
|
74447
74697
|
}
|
|
74448
74698
|
|
|
74449
74699
|
// src/http/app.ts
|
|
74450
|
-
var _Http_decorators,
|
|
74700
|
+
var _Http_decorators, _init180;
|
|
74451
74701
|
_Http_decorators = [Interface40()];
|
|
74452
74702
|
var Http = class {
|
|
74453
74703
|
};
|
|
74454
|
-
|
|
74455
|
-
Http = __decorateElement(
|
|
74456
|
-
__runInitializers(
|
|
74457
|
-
var _http_dec3, _access_dec12, _settings_dec11, _errors_dec9, _auth_dec10, _log_dec7, _config_dec19, _HttpModule_decorators,
|
|
74704
|
+
_init180 = __decoratorStart(null);
|
|
74705
|
+
Http = __decorateElement(_init180, 0, "Http", _Http_decorators, Http);
|
|
74706
|
+
__runInitializers(_init180, 1, Http);
|
|
74707
|
+
var _http_dec3, _access_dec12, _settings_dec11, _errors_dec9, _auth_dec10, _log_dec7, _config_dec19, _HttpModule_decorators, _init181;
|
|
74458
74708
|
_HttpModule_decorators = [Module19()], _config_dec19 = [Use74()], _log_dec7 = [Use74()], _auth_dec10 = [Use74()], _errors_dec9 = [Use74()], _settings_dec11 = [Use74()], _access_dec12 = [Use74()], _http_dec3 = [Provide19()];
|
|
74459
74709
|
var HttpModule = class {
|
|
74460
74710
|
constructor() {
|
|
74461
|
-
__publicField(this, "config", __runInitializers(
|
|
74462
|
-
__publicField(this, "log", __runInitializers(
|
|
74463
|
-
__publicField(this, "auth", __runInitializers(
|
|
74464
|
-
__publicField(this, "errors", __runInitializers(
|
|
74465
|
-
__publicField(this, "settings", __runInitializers(
|
|
74466
|
-
__publicField(this, "access", __runInitializers(
|
|
74467
|
-
__publicField(this, "http", __runInitializers(
|
|
74711
|
+
__publicField(this, "config", __runInitializers(_init181, 8, this)), __runInitializers(_init181, 11, this);
|
|
74712
|
+
__publicField(this, "log", __runInitializers(_init181, 12, this)), __runInitializers(_init181, 15, this);
|
|
74713
|
+
__publicField(this, "auth", __runInitializers(_init181, 16, this)), __runInitializers(_init181, 19, this);
|
|
74714
|
+
__publicField(this, "errors", __runInitializers(_init181, 20, this)), __runInitializers(_init181, 23, this);
|
|
74715
|
+
__publicField(this, "settings", __runInitializers(_init181, 24, this)), __runInitializers(_init181, 27, this);
|
|
74716
|
+
__publicField(this, "access", __runInitializers(_init181, 28, this)), __runInitializers(_init181, 31, this);
|
|
74717
|
+
__publicField(this, "http", __runInitializers(_init181, 32, this)), __runInitializers(_init181, 35, this);
|
|
74468
74718
|
}
|
|
74469
74719
|
setup({ contributions }) {
|
|
74470
74720
|
const errors = this.errors;
|
|
@@ -74525,16 +74775,16 @@ var HttpModule = class {
|
|
|
74525
74775
|
this.http = { fetch: (request) => Promise.resolve(app.fetch(request)) };
|
|
74526
74776
|
}
|
|
74527
74777
|
};
|
|
74528
|
-
|
|
74529
|
-
__decorateElement(
|
|
74530
|
-
__decorateElement(
|
|
74531
|
-
__decorateElement(
|
|
74532
|
-
__decorateElement(
|
|
74533
|
-
__decorateElement(
|
|
74534
|
-
__decorateElement(
|
|
74535
|
-
__decorateElement(
|
|
74536
|
-
HttpModule = __decorateElement(
|
|
74537
|
-
__runInitializers(
|
|
74778
|
+
_init181 = __decoratorStart(null);
|
|
74779
|
+
__decorateElement(_init181, 5, "config", _config_dec19, HttpModule);
|
|
74780
|
+
__decorateElement(_init181, 5, "log", _log_dec7, HttpModule);
|
|
74781
|
+
__decorateElement(_init181, 5, "auth", _auth_dec10, HttpModule);
|
|
74782
|
+
__decorateElement(_init181, 5, "errors", _errors_dec9, HttpModule);
|
|
74783
|
+
__decorateElement(_init181, 5, "settings", _settings_dec11, HttpModule);
|
|
74784
|
+
__decorateElement(_init181, 5, "access", _access_dec12, HttpModule);
|
|
74785
|
+
__decorateElement(_init181, 5, "http", _http_dec3, HttpModule);
|
|
74786
|
+
HttpModule = __decorateElement(_init181, 0, "HttpModule", _HttpModule_decorators, HttpModule);
|
|
74787
|
+
__runInitializers(_init181, 1, HttpModule);
|
|
74538
74788
|
|
|
74539
74789
|
// src/http/routes/contributions.ts
|
|
74540
74790
|
import { Hono as Hono49 } from "hono";
|
|
@@ -74544,14 +74794,14 @@ function contributionsRoutes(deps) {
|
|
|
74544
74794
|
routes.get("/", (c) => c.json(deps.web.contributions()));
|
|
74545
74795
|
return routes;
|
|
74546
74796
|
}
|
|
74547
|
-
var _WebShell_decorators,
|
|
74797
|
+
var _WebShell_decorators, _init182;
|
|
74548
74798
|
_WebShell_decorators = [Interface41()];
|
|
74549
74799
|
var WebShell = class {
|
|
74550
74800
|
};
|
|
74551
|
-
|
|
74552
|
-
WebShell = __decorateElement(
|
|
74553
|
-
__runInitializers(
|
|
74554
|
-
var _contributionsRoutes_dec, _web_dec, _WebModule_decorators,
|
|
74801
|
+
_init182 = __decoratorStart(null);
|
|
74802
|
+
WebShell = __decorateElement(_init182, 0, "WebShell", _WebShell_decorators, WebShell);
|
|
74803
|
+
__runInitializers(_init182, 1, WebShell);
|
|
74804
|
+
var _contributionsRoutes_dec, _web_dec, _WebModule_decorators, _init183;
|
|
74555
74805
|
_WebModule_decorators = [Module20({
|
|
74556
74806
|
contributes: {
|
|
74557
74807
|
"HttpModule.routes": [
|
|
@@ -74566,8 +74816,8 @@ _WebModule_decorators = [Module20({
|
|
|
74566
74816
|
})], _web_dec = [Provide20()], _contributionsRoutes_dec = [Bind31("web.contributions")];
|
|
74567
74817
|
var WebModule = class {
|
|
74568
74818
|
constructor() {
|
|
74569
|
-
__publicField(this, "web", __runInitializers(
|
|
74570
|
-
__publicField(this, "contributionsRoutes", __runInitializers(
|
|
74819
|
+
__publicField(this, "web", __runInitializers(_init183, 8, this)), __runInitializers(_init183, 11, this);
|
|
74820
|
+
__publicField(this, "contributionsRoutes", __runInitializers(_init183, 12, this)), __runInitializers(_init183, 15, this);
|
|
74571
74821
|
}
|
|
74572
74822
|
setup({ contributions }) {
|
|
74573
74823
|
const collect = (slot) => (contributions[slot] ?? []).map(
|
|
@@ -74585,11 +74835,11 @@ var WebModule = class {
|
|
|
74585
74835
|
this.contributionsRoutes = contributionsRoutes({ web });
|
|
74586
74836
|
}
|
|
74587
74837
|
};
|
|
74588
|
-
|
|
74589
|
-
__decorateElement(
|
|
74590
|
-
__decorateElement(
|
|
74591
|
-
WebModule = __decorateElement(
|
|
74592
|
-
__runInitializers(
|
|
74838
|
+
_init183 = __decoratorStart(null);
|
|
74839
|
+
__decorateElement(_init183, 5, "web", _web_dec, WebModule);
|
|
74840
|
+
__decorateElement(_init183, 5, "contributionsRoutes", _contributionsRoutes_dec, WebModule);
|
|
74841
|
+
WebModule = __decorateElement(_init183, 0, "WebModule", _WebModule_decorators, WebModule);
|
|
74842
|
+
__runInitializers(_init183, 1, WebModule);
|
|
74593
74843
|
|
|
74594
74844
|
// src/builtin-browser/module.ts
|
|
74595
74845
|
import { Bind as Bind32, Component as Component71, Interface as Interface42, Module as Module21, Use as Use75 } from "@adelie/core/kernel";
|
|
@@ -74632,6 +74882,15 @@ function parseTrayStatusMessage(data) {
|
|
|
74632
74882
|
const locale = status.locale === "zh" || status.locale === "en" ? status.locale : "en";
|
|
74633
74883
|
return { showTrayIcon: status.showTrayIcon, locale };
|
|
74634
74884
|
}
|
|
74885
|
+
function parsePetStatusMessage(data) {
|
|
74886
|
+
if (typeof data !== "object" || data === null) return null;
|
|
74887
|
+
const msg = data;
|
|
74888
|
+
if (msg.type !== "desktop-pet-status") return null;
|
|
74889
|
+
const status = msg.status;
|
|
74890
|
+
if (typeof status !== "object" || status === null) return null;
|
|
74891
|
+
if (typeof status.showPet !== "boolean") return null;
|
|
74892
|
+
return { showPet: status.showPet };
|
|
74893
|
+
}
|
|
74635
74894
|
function parseFolderAccessResultMessage(data) {
|
|
74636
74895
|
if (typeof data !== "object" || data === null) return null;
|
|
74637
74896
|
const msg = data;
|
|
@@ -74659,6 +74918,11 @@ function wireShellUpdatePort(desktop, port) {
|
|
|
74659
74918
|
desktop.setTrayStatus(tray);
|
|
74660
74919
|
return;
|
|
74661
74920
|
}
|
|
74921
|
+
const pet = parsePetStatusMessage(e.data);
|
|
74922
|
+
if (pet !== null) {
|
|
74923
|
+
desktop.setPetStatus(pet);
|
|
74924
|
+
return;
|
|
74925
|
+
}
|
|
74662
74926
|
const access = parseFolderAccessResultMessage(e.data);
|
|
74663
74927
|
if (access !== null) awaiting.get(access.id)?.(access);
|
|
74664
74928
|
} catch (err) {
|
|
@@ -74677,6 +74941,12 @@ function wireShellUpdatePort(desktop, port) {
|
|
|
74677
74941
|
...patch
|
|
74678
74942
|
});
|
|
74679
74943
|
});
|
|
74944
|
+
desktop.onPetCommand((patch) => {
|
|
74945
|
+
port.postMessage({
|
|
74946
|
+
type: "desktop-pet-command",
|
|
74947
|
+
...patch
|
|
74948
|
+
});
|
|
74949
|
+
});
|
|
74680
74950
|
desktop.onFolderAccessRequest(
|
|
74681
74951
|
(path60) => new Promise((resolve) => {
|
|
74682
74952
|
const id = randomUUID8();
|
|
@@ -78894,24 +79164,24 @@ function builtinBrowserRoutes(browser) {
|
|
|
78894
79164
|
}
|
|
78895
79165
|
|
|
78896
79166
|
// src/builtin-browser/module.ts
|
|
78897
|
-
var _BuiltinBrowserPort_decorators,
|
|
79167
|
+
var _BuiltinBrowserPort_decorators, _init184;
|
|
78898
79168
|
_BuiltinBrowserPort_decorators = [Interface42()];
|
|
78899
79169
|
var BuiltinBrowserPort = class {
|
|
78900
79170
|
};
|
|
78901
|
-
|
|
78902
|
-
BuiltinBrowserPort = __decorateElement(
|
|
78903
|
-
__runInitializers(
|
|
78904
|
-
var _ProcessShellPort_decorators,
|
|
79171
|
+
_init184 = __decoratorStart(null);
|
|
79172
|
+
BuiltinBrowserPort = __decorateElement(_init184, 0, "BuiltinBrowserPort", _BuiltinBrowserPort_decorators, BuiltinBrowserPort);
|
|
79173
|
+
__runInitializers(_init184, 1, BuiltinBrowserPort);
|
|
79174
|
+
var _ProcessShellPort_decorators, _init185;
|
|
78905
79175
|
_ProcessShellPort_decorators = [Component71()];
|
|
78906
79176
|
var ProcessShellPort = class {
|
|
78907
79177
|
current() {
|
|
78908
79178
|
return shellPortOf(process);
|
|
78909
79179
|
}
|
|
78910
79180
|
};
|
|
78911
|
-
|
|
78912
|
-
ProcessShellPort = __decorateElement(
|
|
78913
|
-
__runInitializers(
|
|
78914
|
-
var
|
|
79181
|
+
_init185 = __decoratorStart(null);
|
|
79182
|
+
ProcessShellPort = __decorateElement(_init185, 0, "ProcessShellPort", _ProcessShellPort_decorators, ProcessShellPort);
|
|
79183
|
+
__runInitializers(_init185, 1, ProcessShellPort);
|
|
79184
|
+
var _routes_dec22, _log_dec8, _paths_dec18, _users_dec4, _channels_dec12, _desktop_dec13, _port_dec, _BuiltinBrowserRoutes_decorators, _init186;
|
|
78915
79185
|
_BuiltinBrowserRoutes_decorators = [Component71({
|
|
78916
79186
|
contributes: {
|
|
78917
79187
|
"HttpModule.routes": [
|
|
@@ -78923,16 +79193,16 @@ _BuiltinBrowserRoutes_decorators = [Component71({
|
|
|
78923
79193
|
}
|
|
78924
79194
|
]
|
|
78925
79195
|
}
|
|
78926
|
-
})], _port_dec = [Use75()],
|
|
79196
|
+
})], _port_dec = [Use75()], _desktop_dec13 = [Use75()], _channels_dec12 = [Use75()], _users_dec4 = [Use75()], _paths_dec18 = [Use75()], _log_dec8 = [Use75()], _routes_dec22 = [Bind32("BuiltinBrowserRoutes.routes")];
|
|
78927
79197
|
var BuiltinBrowserRoutes = class {
|
|
78928
79198
|
constructor() {
|
|
78929
|
-
__publicField(this, "port", __runInitializers(
|
|
78930
|
-
__publicField(this, "desktop", __runInitializers(
|
|
78931
|
-
__publicField(this, "channels", __runInitializers(
|
|
78932
|
-
__publicField(this, "users", __runInitializers(
|
|
78933
|
-
__publicField(this, "paths", __runInitializers(
|
|
78934
|
-
__publicField(this, "log", __runInitializers(
|
|
78935
|
-
__publicField(this, "routes", __runInitializers(
|
|
79199
|
+
__publicField(this, "port", __runInitializers(_init186, 8, this)), __runInitializers(_init186, 11, this);
|
|
79200
|
+
__publicField(this, "desktop", __runInitializers(_init186, 12, this)), __runInitializers(_init186, 15, this);
|
|
79201
|
+
__publicField(this, "channels", __runInitializers(_init186, 16, this)), __runInitializers(_init186, 19, this);
|
|
79202
|
+
__publicField(this, "users", __runInitializers(_init186, 20, this)), __runInitializers(_init186, 23, this);
|
|
79203
|
+
__publicField(this, "paths", __runInitializers(_init186, 24, this)), __runInitializers(_init186, 27, this);
|
|
79204
|
+
__publicField(this, "log", __runInitializers(_init186, 28, this)), __runInitializers(_init186, 31, this);
|
|
79205
|
+
__publicField(this, "routes", __runInitializers(_init186, 32, this)), __runInitializers(_init186, 35, this);
|
|
78936
79206
|
}
|
|
78937
79207
|
setup({ effect }) {
|
|
78938
79208
|
const users = this.users;
|
|
@@ -78960,26 +79230,26 @@ var BuiltinBrowserRoutes = class {
|
|
|
78960
79230
|
effect(() => browser.dispose());
|
|
78961
79231
|
}
|
|
78962
79232
|
};
|
|
78963
|
-
|
|
78964
|
-
__decorateElement(
|
|
78965
|
-
__decorateElement(
|
|
78966
|
-
__decorateElement(
|
|
78967
|
-
__decorateElement(
|
|
78968
|
-
__decorateElement(
|
|
78969
|
-
__decorateElement(
|
|
78970
|
-
__decorateElement(
|
|
78971
|
-
BuiltinBrowserRoutes = __decorateElement(
|
|
78972
|
-
__runInitializers(
|
|
78973
|
-
var _BuiltinBrowserModule_decorators,
|
|
79233
|
+
_init186 = __decoratorStart(null);
|
|
79234
|
+
__decorateElement(_init186, 5, "port", _port_dec, BuiltinBrowserRoutes);
|
|
79235
|
+
__decorateElement(_init186, 5, "desktop", _desktop_dec13, BuiltinBrowserRoutes);
|
|
79236
|
+
__decorateElement(_init186, 5, "channels", _channels_dec12, BuiltinBrowserRoutes);
|
|
79237
|
+
__decorateElement(_init186, 5, "users", _users_dec4, BuiltinBrowserRoutes);
|
|
79238
|
+
__decorateElement(_init186, 5, "paths", _paths_dec18, BuiltinBrowserRoutes);
|
|
79239
|
+
__decorateElement(_init186, 5, "log", _log_dec8, BuiltinBrowserRoutes);
|
|
79240
|
+
__decorateElement(_init186, 5, "routes", _routes_dec22, BuiltinBrowserRoutes);
|
|
79241
|
+
BuiltinBrowserRoutes = __decorateElement(_init186, 0, "BuiltinBrowserRoutes", _BuiltinBrowserRoutes_decorators, BuiltinBrowserRoutes);
|
|
79242
|
+
__runInitializers(_init186, 1, BuiltinBrowserRoutes);
|
|
79243
|
+
var _BuiltinBrowserModule_decorators, _init187;
|
|
78974
79244
|
_BuiltinBrowserModule_decorators = [Module21({
|
|
78975
79245
|
children: [ProcessShellPort, BuiltinBrowserRoutes],
|
|
78976
79246
|
exports: []
|
|
78977
79247
|
})];
|
|
78978
79248
|
var BuiltinBrowserModule = class {
|
|
78979
79249
|
};
|
|
78980
|
-
|
|
78981
|
-
BuiltinBrowserModule = __decorateElement(
|
|
78982
|
-
__runInitializers(
|
|
79250
|
+
_init187 = __decoratorStart(null);
|
|
79251
|
+
BuiltinBrowserModule = __decorateElement(_init187, 0, "BuiltinBrowserModule", _BuiltinBrowserModule_decorators, BuiltinBrowserModule);
|
|
79252
|
+
__runInitializers(_init187, 1, BuiltinBrowserModule);
|
|
78983
79253
|
|
|
78984
79254
|
// src/amsp/module.ts
|
|
78985
79255
|
import { Bind as Bind33, Component as Component73, Module as Module22, Use as Use77 } from "@adelie/core/kernel";
|
|
@@ -79008,11 +79278,11 @@ function keyOf(r) {
|
|
|
79008
79278
|
lastUsedAt: r.last_used_at ?? null
|
|
79009
79279
|
};
|
|
79010
79280
|
}
|
|
79011
|
-
var _db_dec18, _AgentApiRepo_decorators,
|
|
79281
|
+
var _db_dec18, _AgentApiRepo_decorators, _init188;
|
|
79012
79282
|
_AgentApiRepo_decorators = [Component72()], _db_dec18 = [Use76()];
|
|
79013
79283
|
var AgentApiRepo = class {
|
|
79014
79284
|
constructor() {
|
|
79015
|
-
__publicField(this, "db", __runInitializers(
|
|
79285
|
+
__publicField(this, "db", __runInitializers(_init188, 8, this)), __runInitializers(_init188, 11, this);
|
|
79016
79286
|
}
|
|
79017
79287
|
get(projectId, agentId) {
|
|
79018
79288
|
const r = this.db.prepare("SELECT * FROM agent_api WHERE project_id = ? AND agent_id = ?").get(projectId, agentId);
|
|
@@ -79092,20 +79362,20 @@ var AgentApiRepo = class {
|
|
|
79092
79362
|
this.db.prepare("DELETE FROM agent_api WHERE project_id = ?").run(projectId);
|
|
79093
79363
|
}
|
|
79094
79364
|
};
|
|
79095
|
-
|
|
79096
|
-
__decorateElement(
|
|
79097
|
-
AgentApiRepo = __decorateElement(
|
|
79098
|
-
__runInitializers(
|
|
79365
|
+
_init188 = __decoratorStart(null);
|
|
79366
|
+
__decorateElement(_init188, 5, "db", _db_dec18, AgentApiRepo);
|
|
79367
|
+
AgentApiRepo = __decorateElement(_init188, 0, "AgentApiRepo", _AgentApiRepo_decorators, AgentApiRepo);
|
|
79368
|
+
__runInitializers(_init188, 1, AgentApiRepo);
|
|
79099
79369
|
|
|
79100
79370
|
// src/mechanisms/agent-api.ts
|
|
79101
79371
|
import { Interface as Interface43 } from "@adelie/core/kernel";
|
|
79102
|
-
var _AgentApi_decorators,
|
|
79372
|
+
var _AgentApi_decorators, _init189;
|
|
79103
79373
|
_AgentApi_decorators = [Interface43()];
|
|
79104
79374
|
var AgentApi = class {
|
|
79105
79375
|
};
|
|
79106
|
-
|
|
79107
|
-
AgentApi = __decorateElement(
|
|
79108
|
-
__runInitializers(
|
|
79376
|
+
_init189 = __decoratorStart(null);
|
|
79377
|
+
AgentApi = __decorateElement(_init189, 0, "AgentApi", _AgentApi_decorators, AgentApi);
|
|
79378
|
+
__runInitializers(_init189, 1, AgentApi);
|
|
79109
79379
|
|
|
79110
79380
|
// src/amsp/routes.ts
|
|
79111
79381
|
import { Hono as Hono51 } from "hono";
|
|
@@ -79896,7 +80166,7 @@ function agentApiTryRoutes(deps) {
|
|
|
79896
80166
|
}
|
|
79897
80167
|
|
|
79898
80168
|
// src/amsp/module.ts
|
|
79899
|
-
var _tryRoutes_dec,
|
|
80169
|
+
var _tryRoutes_dec, _routes_dec23, _access_dec13, _clock_dec14, _errors_dec10, _log_dec9, _agentConfig_dec8, _channels_dec13, _sessionService_dec3, _manager_dec5, _sessions_dec7, _agentApi_dec4, _settings_dec12, _AmspRoutes_decorators, _init190;
|
|
79900
80170
|
_AmspRoutes_decorators = [Component73({
|
|
79901
80171
|
contributes: {
|
|
79902
80172
|
"HttpModule.routes": [
|
|
@@ -79909,22 +80179,22 @@ _AmspRoutes_decorators = [Component73({
|
|
|
79909
80179
|
}
|
|
79910
80180
|
]
|
|
79911
80181
|
}
|
|
79912
|
-
})], _settings_dec12 = [Use77()], _agentApi_dec4 = [Use77()], _sessions_dec7 = [Use77()], _manager_dec5 = [Use77()], _sessionService_dec3 = [Use77()], _channels_dec13 = [Use77()], _agentConfig_dec8 = [Use77()], _log_dec9 = [Use77()], _errors_dec10 = [Use77()], _clock_dec14 = [Use77()], _access_dec13 = [Use77()],
|
|
80182
|
+
})], _settings_dec12 = [Use77()], _agentApi_dec4 = [Use77()], _sessions_dec7 = [Use77()], _manager_dec5 = [Use77()], _sessionService_dec3 = [Use77()], _channels_dec13 = [Use77()], _agentConfig_dec8 = [Use77()], _log_dec9 = [Use77()], _errors_dec10 = [Use77()], _clock_dec14 = [Use77()], _access_dec13 = [Use77()], _routes_dec23 = [Bind33("AmspRoutes.routes")], _tryRoutes_dec = [Bind33("AmspRoutes.try")];
|
|
79913
80183
|
var AmspRoutes = class {
|
|
79914
80184
|
constructor() {
|
|
79915
|
-
__publicField(this, "settings", __runInitializers(
|
|
79916
|
-
__publicField(this, "agentApi", __runInitializers(
|
|
79917
|
-
__publicField(this, "sessions", __runInitializers(
|
|
79918
|
-
__publicField(this, "manager", __runInitializers(
|
|
79919
|
-
__publicField(this, "sessionService", __runInitializers(
|
|
79920
|
-
__publicField(this, "channels", __runInitializers(
|
|
79921
|
-
__publicField(this, "agentConfig", __runInitializers(
|
|
79922
|
-
__publicField(this, "log", __runInitializers(
|
|
79923
|
-
__publicField(this, "errors", __runInitializers(
|
|
79924
|
-
__publicField(this, "clock", __runInitializers(
|
|
79925
|
-
__publicField(this, "access", __runInitializers(
|
|
79926
|
-
__publicField(this, "routes", __runInitializers(
|
|
79927
|
-
__publicField(this, "tryRoutes", __runInitializers(
|
|
80185
|
+
__publicField(this, "settings", __runInitializers(_init190, 8, this)), __runInitializers(_init190, 11, this);
|
|
80186
|
+
__publicField(this, "agentApi", __runInitializers(_init190, 12, this)), __runInitializers(_init190, 15, this);
|
|
80187
|
+
__publicField(this, "sessions", __runInitializers(_init190, 16, this)), __runInitializers(_init190, 19, this);
|
|
80188
|
+
__publicField(this, "manager", __runInitializers(_init190, 20, this)), __runInitializers(_init190, 23, this);
|
|
80189
|
+
__publicField(this, "sessionService", __runInitializers(_init190, 24, this)), __runInitializers(_init190, 27, this);
|
|
80190
|
+
__publicField(this, "channels", __runInitializers(_init190, 28, this)), __runInitializers(_init190, 31, this);
|
|
80191
|
+
__publicField(this, "agentConfig", __runInitializers(_init190, 32, this)), __runInitializers(_init190, 35, this);
|
|
80192
|
+
__publicField(this, "log", __runInitializers(_init190, 36, this)), __runInitializers(_init190, 39, this);
|
|
80193
|
+
__publicField(this, "errors", __runInitializers(_init190, 40, this)), __runInitializers(_init190, 43, this);
|
|
80194
|
+
__publicField(this, "clock", __runInitializers(_init190, 44, this)), __runInitializers(_init190, 47, this);
|
|
80195
|
+
__publicField(this, "access", __runInitializers(_init190, 48, this)), __runInitializers(_init190, 51, this);
|
|
80196
|
+
__publicField(this, "routes", __runInitializers(_init190, 52, this)), __runInitializers(_init190, 55, this);
|
|
80197
|
+
__publicField(this, "tryRoutes", __runInitializers(_init190, 56, this)), __runInitializers(_init190, 59, this);
|
|
79928
80198
|
}
|
|
79929
80199
|
setup() {
|
|
79930
80200
|
const clock = this.clock;
|
|
@@ -79944,45 +80214,45 @@ var AmspRoutes = class {
|
|
|
79944
80214
|
this.tryRoutes = agentApiTryRoutes({ ...deps, access: this.access });
|
|
79945
80215
|
}
|
|
79946
80216
|
};
|
|
79947
|
-
|
|
79948
|
-
__decorateElement(
|
|
79949
|
-
__decorateElement(
|
|
79950
|
-
__decorateElement(
|
|
79951
|
-
__decorateElement(
|
|
79952
|
-
__decorateElement(
|
|
79953
|
-
__decorateElement(
|
|
79954
|
-
__decorateElement(
|
|
79955
|
-
__decorateElement(
|
|
79956
|
-
__decorateElement(
|
|
79957
|
-
__decorateElement(
|
|
79958
|
-
__decorateElement(
|
|
79959
|
-
__decorateElement(
|
|
79960
|
-
__decorateElement(
|
|
79961
|
-
AmspRoutes = __decorateElement(
|
|
79962
|
-
__runInitializers(
|
|
79963
|
-
var _AgentApiModule_decorators,
|
|
80217
|
+
_init190 = __decoratorStart(null);
|
|
80218
|
+
__decorateElement(_init190, 5, "settings", _settings_dec12, AmspRoutes);
|
|
80219
|
+
__decorateElement(_init190, 5, "agentApi", _agentApi_dec4, AmspRoutes);
|
|
80220
|
+
__decorateElement(_init190, 5, "sessions", _sessions_dec7, AmspRoutes);
|
|
80221
|
+
__decorateElement(_init190, 5, "manager", _manager_dec5, AmspRoutes);
|
|
80222
|
+
__decorateElement(_init190, 5, "sessionService", _sessionService_dec3, AmspRoutes);
|
|
80223
|
+
__decorateElement(_init190, 5, "channels", _channels_dec13, AmspRoutes);
|
|
80224
|
+
__decorateElement(_init190, 5, "agentConfig", _agentConfig_dec8, AmspRoutes);
|
|
80225
|
+
__decorateElement(_init190, 5, "log", _log_dec9, AmspRoutes);
|
|
80226
|
+
__decorateElement(_init190, 5, "errors", _errors_dec10, AmspRoutes);
|
|
80227
|
+
__decorateElement(_init190, 5, "clock", _clock_dec14, AmspRoutes);
|
|
80228
|
+
__decorateElement(_init190, 5, "access", _access_dec13, AmspRoutes);
|
|
80229
|
+
__decorateElement(_init190, 5, "routes", _routes_dec23, AmspRoutes);
|
|
80230
|
+
__decorateElement(_init190, 5, "tryRoutes", _tryRoutes_dec, AmspRoutes);
|
|
80231
|
+
AmspRoutes = __decorateElement(_init190, 0, "AmspRoutes", _AmspRoutes_decorators, AmspRoutes);
|
|
80232
|
+
__runInitializers(_init190, 1, AmspRoutes);
|
|
80233
|
+
var _AgentApiModule_decorators, _init191;
|
|
79964
80234
|
_AgentApiModule_decorators = [Module22({
|
|
79965
80235
|
children: [AgentApiRepo, AmspRoutes],
|
|
79966
80236
|
exports: [AgentApi]
|
|
79967
80237
|
})];
|
|
79968
80238
|
var AgentApiModule = class {
|
|
79969
80239
|
};
|
|
79970
|
-
|
|
79971
|
-
AgentApiModule = __decorateElement(
|
|
79972
|
-
__runInitializers(
|
|
80240
|
+
_init191 = __decoratorStart(null);
|
|
80241
|
+
AgentApiModule = __decorateElement(_init191, 0, "AgentApiModule", _AgentApiModule_decorators, AgentApiModule);
|
|
80242
|
+
__runInitializers(_init191, 1, AgentApiModule);
|
|
79973
80243
|
|
|
79974
80244
|
// src/platform.ts
|
|
79975
|
-
var _usage_dec7, _projectConfig_dec16, _errors_dec11, _machines_dec5, _sessionService_dec4, _orgScheduler_dec2, _scheduler_dec2, _Startup_decorators,
|
|
80245
|
+
var _usage_dec7, _projectConfig_dec16, _errors_dec11, _machines_dec5, _sessionService_dec4, _orgScheduler_dec2, _scheduler_dec2, _Startup_decorators, _init192;
|
|
79976
80246
|
_Startup_decorators = [Component74()], _scheduler_dec2 = [Use78()], _orgScheduler_dec2 = [Use78()], _sessionService_dec4 = [Use78()], _machines_dec5 = [Use78()], _errors_dec11 = [Use78()], _projectConfig_dec16 = [Use78()], _usage_dec7 = [Use78()];
|
|
79977
80247
|
var Startup = class {
|
|
79978
80248
|
constructor() {
|
|
79979
|
-
__publicField(this, "scheduler", __runInitializers(
|
|
79980
|
-
__publicField(this, "orgScheduler", __runInitializers(
|
|
79981
|
-
__publicField(this, "sessionService", __runInitializers(
|
|
79982
|
-
__publicField(this, "machines", __runInitializers(
|
|
79983
|
-
__publicField(this, "errors", __runInitializers(
|
|
79984
|
-
__publicField(this, "projectConfig", __runInitializers(
|
|
79985
|
-
__publicField(this, "usage", __runInitializers(
|
|
80249
|
+
__publicField(this, "scheduler", __runInitializers(_init192, 8, this)), __runInitializers(_init192, 11, this);
|
|
80250
|
+
__publicField(this, "orgScheduler", __runInitializers(_init192, 12, this)), __runInitializers(_init192, 15, this);
|
|
80251
|
+
__publicField(this, "sessionService", __runInitializers(_init192, 16, this)), __runInitializers(_init192, 19, this);
|
|
80252
|
+
__publicField(this, "machines", __runInitializers(_init192, 20, this)), __runInitializers(_init192, 23, this);
|
|
80253
|
+
__publicField(this, "errors", __runInitializers(_init192, 24, this)), __runInitializers(_init192, 27, this);
|
|
80254
|
+
__publicField(this, "projectConfig", __runInitializers(_init192, 28, this)), __runInitializers(_init192, 31, this);
|
|
80255
|
+
__publicField(this, "usage", __runInitializers(_init192, 32, this)), __runInitializers(_init192, 35, this);
|
|
79986
80256
|
}
|
|
79987
80257
|
async setup() {
|
|
79988
80258
|
await this.projectConfig.ensureDisplayName(DEFAULT_PROJECT_ID3, DEFAULT_PROJECT_NAME2);
|
|
@@ -80001,17 +80271,17 @@ var Startup = class {
|
|
|
80001
80271
|
});
|
|
80002
80272
|
}
|
|
80003
80273
|
};
|
|
80004
|
-
|
|
80005
|
-
__decorateElement(
|
|
80006
|
-
__decorateElement(
|
|
80007
|
-
__decorateElement(
|
|
80008
|
-
__decorateElement(
|
|
80009
|
-
__decorateElement(
|
|
80010
|
-
__decorateElement(
|
|
80011
|
-
__decorateElement(
|
|
80012
|
-
Startup = __decorateElement(
|
|
80013
|
-
__runInitializers(
|
|
80014
|
-
var _RuntimeModule_decorators,
|
|
80274
|
+
_init192 = __decoratorStart(null);
|
|
80275
|
+
__decorateElement(_init192, 5, "scheduler", _scheduler_dec2, Startup);
|
|
80276
|
+
__decorateElement(_init192, 5, "orgScheduler", _orgScheduler_dec2, Startup);
|
|
80277
|
+
__decorateElement(_init192, 5, "sessionService", _sessionService_dec4, Startup);
|
|
80278
|
+
__decorateElement(_init192, 5, "machines", _machines_dec5, Startup);
|
|
80279
|
+
__decorateElement(_init192, 5, "errors", _errors_dec11, Startup);
|
|
80280
|
+
__decorateElement(_init192, 5, "projectConfig", _projectConfig_dec16, Startup);
|
|
80281
|
+
__decorateElement(_init192, 5, "usage", _usage_dec7, Startup);
|
|
80282
|
+
Startup = __decorateElement(_init192, 0, "Startup", _Startup_decorators, Startup);
|
|
80283
|
+
__runInitializers(_init192, 1, Startup);
|
|
80284
|
+
var _RuntimeModule_decorators, _init193;
|
|
80015
80285
|
_RuntimeModule_decorators = [Module23({
|
|
80016
80286
|
children: [
|
|
80017
80287
|
RuntimeConfig,
|
|
@@ -80048,10 +80318,10 @@ _RuntimeModule_decorators = [Module23({
|
|
|
80048
80318
|
})];
|
|
80049
80319
|
var RuntimeModule = class {
|
|
80050
80320
|
};
|
|
80051
|
-
|
|
80052
|
-
RuntimeModule = __decorateElement(
|
|
80053
|
-
__runInitializers(
|
|
80054
|
-
var _IdentityModule_decorators,
|
|
80321
|
+
_init193 = __decoratorStart(null);
|
|
80322
|
+
RuntimeModule = __decorateElement(_init193, 0, "RuntimeModule", _RuntimeModule_decorators, RuntimeModule);
|
|
80323
|
+
__runInitializers(_init193, 1, RuntimeModule);
|
|
80324
|
+
var _IdentityModule_decorators, _init194;
|
|
80055
80325
|
_IdentityModule_decorators = [Module23({
|
|
80056
80326
|
children: [
|
|
80057
80327
|
UsersRepo,
|
|
@@ -80069,10 +80339,10 @@ _IdentityModule_decorators = [Module23({
|
|
|
80069
80339
|
})];
|
|
80070
80340
|
var IdentityModule = class {
|
|
80071
80341
|
};
|
|
80072
|
-
|
|
80073
|
-
IdentityModule = __decorateElement(
|
|
80074
|
-
__runInitializers(
|
|
80075
|
-
var _ProjectsModule_decorators,
|
|
80342
|
+
_init194 = __decoratorStart(null);
|
|
80343
|
+
IdentityModule = __decorateElement(_init194, 0, "IdentityModule", _IdentityModule_decorators, IdentityModule);
|
|
80344
|
+
__runInitializers(_init194, 1, IdentityModule);
|
|
80345
|
+
var _ProjectsModule_decorators, _init195;
|
|
80076
80346
|
_ProjectsModule_decorators = [Module23({
|
|
80077
80347
|
children: [
|
|
80078
80348
|
ProjectsRepo,
|
|
@@ -80107,10 +80377,10 @@ _ProjectsModule_decorators = [Module23({
|
|
|
80107
80377
|
})];
|
|
80108
80378
|
var ProjectsModule = class {
|
|
80109
80379
|
};
|
|
80110
|
-
|
|
80111
|
-
ProjectsModule = __decorateElement(
|
|
80112
|
-
__runInitializers(
|
|
80113
|
-
var _SessionRuntimeModule_decorators,
|
|
80380
|
+
_init195 = __decoratorStart(null);
|
|
80381
|
+
ProjectsModule = __decorateElement(_init195, 0, "ProjectsModule", _ProjectsModule_decorators, ProjectsModule);
|
|
80382
|
+
__runInitializers(_init195, 1, ProjectsModule);
|
|
80383
|
+
var _SessionRuntimeModule_decorators, _init196;
|
|
80114
80384
|
_SessionRuntimeModule_decorators = [Module23({
|
|
80115
80385
|
children: [
|
|
80116
80386
|
SessionsRepo,
|
|
@@ -80142,60 +80412,60 @@ _SessionRuntimeModule_decorators = [Module23({
|
|
|
80142
80412
|
})];
|
|
80143
80413
|
var SessionRuntimeModule = class {
|
|
80144
80414
|
};
|
|
80145
|
-
|
|
80146
|
-
SessionRuntimeModule = __decorateElement(
|
|
80147
|
-
__runInitializers(
|
|
80148
|
-
var _SettingsModule_decorators,
|
|
80415
|
+
_init196 = __decoratorStart(null);
|
|
80416
|
+
SessionRuntimeModule = __decorateElement(_init196, 0, "SessionRuntimeModule", _SessionRuntimeModule_decorators, SessionRuntimeModule);
|
|
80417
|
+
__runInitializers(_init196, 1, SessionRuntimeModule);
|
|
80418
|
+
var _SettingsModule_decorators, _init197;
|
|
80149
80419
|
_SettingsModule_decorators = [Module23({
|
|
80150
80420
|
children: [ServerSettingsRepo, UiPrefsRepo],
|
|
80151
80421
|
exports: [Settings, UiPrefsStore]
|
|
80152
80422
|
})];
|
|
80153
80423
|
var SettingsModule = class {
|
|
80154
80424
|
};
|
|
80155
|
-
|
|
80156
|
-
SettingsModule = __decorateElement(
|
|
80157
|
-
__runInitializers(
|
|
80158
|
-
var _PluginConfigModule_decorators,
|
|
80425
|
+
_init197 = __decoratorStart(null);
|
|
80426
|
+
SettingsModule = __decorateElement(_init197, 0, "SettingsModule", _SettingsModule_decorators, SettingsModule);
|
|
80427
|
+
__runInitializers(_init197, 1, SettingsModule);
|
|
80428
|
+
var _PluginConfigModule_decorators, _init198;
|
|
80159
80429
|
_PluginConfigModule_decorators = [Module23({
|
|
80160
80430
|
children: [PluginConfigProvider, PluginConfigPage],
|
|
80161
80431
|
exports: [PluginConfig, PluginConfigAdmin]
|
|
80162
80432
|
})];
|
|
80163
80433
|
var PluginConfigModule = class {
|
|
80164
80434
|
};
|
|
80165
|
-
|
|
80166
|
-
PluginConfigModule = __decorateElement(
|
|
80167
|
-
__runInitializers(
|
|
80168
|
-
var _SandboxSettingsModule_decorators,
|
|
80435
|
+
_init198 = __decoratorStart(null);
|
|
80436
|
+
PluginConfigModule = __decorateElement(_init198, 0, "PluginConfigModule", _PluginConfigModule_decorators, PluginConfigModule);
|
|
80437
|
+
__runInitializers(_init198, 1, PluginConfigModule);
|
|
80438
|
+
var _SandboxSettingsModule_decorators, _init199;
|
|
80169
80439
|
_SandboxSettingsModule_decorators = [Module23({
|
|
80170
80440
|
children: [SandboxSettings, SandboxSettingsStatus],
|
|
80171
80441
|
exports: []
|
|
80172
80442
|
})];
|
|
80173
80443
|
var SandboxSettingsModule = class {
|
|
80174
80444
|
};
|
|
80175
|
-
|
|
80176
|
-
SandboxSettingsModule = __decorateElement(
|
|
80177
|
-
__runInitializers(
|
|
80178
|
-
var _ObservabilityModule_decorators,
|
|
80445
|
+
_init199 = __decoratorStart(null);
|
|
80446
|
+
SandboxSettingsModule = __decorateElement(_init199, 0, "SandboxSettingsModule", _SandboxSettingsModule_decorators, SandboxSettingsModule);
|
|
80447
|
+
__runInitializers(_init199, 1, SandboxSettingsModule);
|
|
80448
|
+
var _ObservabilityModule_decorators, _init200;
|
|
80179
80449
|
_ObservabilityModule_decorators = [Module23({
|
|
80180
80450
|
children: [ErrorsRepo, ErrorRecorder, UsageRepo, UsageRecorder, UsageService, StorageService],
|
|
80181
80451
|
exports: [ErrorLog, Errors, UsageStore, UsageRecording, UsageQueries, StorageAdmin]
|
|
80182
80452
|
})];
|
|
80183
80453
|
var ObservabilityModule = class {
|
|
80184
80454
|
};
|
|
80185
|
-
|
|
80186
|
-
ObservabilityModule = __decorateElement(
|
|
80187
|
-
__runInitializers(
|
|
80188
|
-
var _TracesModule_decorators,
|
|
80455
|
+
_init200 = __decoratorStart(null);
|
|
80456
|
+
ObservabilityModule = __decorateElement(_init200, 0, "ObservabilityModule", _ObservabilityModule_decorators, ObservabilityModule);
|
|
80457
|
+
__runInitializers(_init200, 1, ObservabilityModule);
|
|
80458
|
+
var _TracesModule_decorators, _init201;
|
|
80189
80459
|
_TracesModule_decorators = [Module23({
|
|
80190
80460
|
children: [TraceIndexRepo, TraceIndexService, TraceService],
|
|
80191
80461
|
exports: [TraceIndexStore, TraceIndex, Traces]
|
|
80192
80462
|
})];
|
|
80193
80463
|
var TracesModule = class {
|
|
80194
80464
|
};
|
|
80195
|
-
|
|
80196
|
-
TracesModule = __decorateElement(
|
|
80197
|
-
__runInitializers(
|
|
80198
|
-
var _AgentsModule_decorators,
|
|
80465
|
+
_init201 = __decoratorStart(null);
|
|
80466
|
+
TracesModule = __decorateElement(_init201, 0, "TracesModule", _TracesModule_decorators, TracesModule);
|
|
80467
|
+
__runInitializers(_init201, 1, TracesModule);
|
|
80468
|
+
var _AgentsModule_decorators, _init202;
|
|
80199
80469
|
_AgentsModule_decorators = [Module23({
|
|
80200
80470
|
children: [
|
|
80201
80471
|
AgentConfigService,
|
|
@@ -80210,20 +80480,20 @@ _AgentsModule_decorators = [Module23({
|
|
|
80210
80480
|
})];
|
|
80211
80481
|
var AgentsModule = class {
|
|
80212
80482
|
};
|
|
80213
|
-
|
|
80214
|
-
AgentsModule = __decorateElement(
|
|
80215
|
-
__runInitializers(
|
|
80216
|
-
var _WorkspaceModule_decorators,
|
|
80483
|
+
_init202 = __decoratorStart(null);
|
|
80484
|
+
AgentsModule = __decorateElement(_init202, 0, "AgentsModule", _AgentsModule_decorators, AgentsModule);
|
|
80485
|
+
__runInitializers(_init202, 1, AgentsModule);
|
|
80486
|
+
var _WorkspaceModule_decorators, _init203;
|
|
80217
80487
|
_WorkspaceModule_decorators = [Module23({
|
|
80218
80488
|
children: [WorkspaceFilesService, RevealService, PreviewModule],
|
|
80219
80489
|
exports: [WorkspaceFiles, FileReveal, PreviewTokens]
|
|
80220
80490
|
})];
|
|
80221
80491
|
var WorkspaceModule = class {
|
|
80222
80492
|
};
|
|
80223
|
-
|
|
80224
|
-
WorkspaceModule = __decorateElement(
|
|
80225
|
-
__runInitializers(
|
|
80226
|
-
var _MessagingHubModule_decorators,
|
|
80493
|
+
_init203 = __decoratorStart(null);
|
|
80494
|
+
WorkspaceModule = __decorateElement(_init203, 0, "WorkspaceModule", _WorkspaceModule_decorators, WorkspaceModule);
|
|
80495
|
+
__runInitializers(_init203, 1, WorkspaceModule);
|
|
80496
|
+
var _MessagingHubModule_decorators, _init204;
|
|
80227
80497
|
_MessagingHubModule_decorators = [Module23({
|
|
80228
80498
|
children: [
|
|
80229
80499
|
FeishuSdkProvider,
|
|
@@ -80240,20 +80510,20 @@ _MessagingHubModule_decorators = [Module23({
|
|
|
80240
80510
|
})];
|
|
80241
80511
|
var MessagingHubModule = class {
|
|
80242
80512
|
};
|
|
80243
|
-
|
|
80244
|
-
MessagingHubModule = __decorateElement(
|
|
80245
|
-
__runInitializers(
|
|
80246
|
-
var _CompanyModule_decorators,
|
|
80513
|
+
_init204 = __decoratorStart(null);
|
|
80514
|
+
MessagingHubModule = __decorateElement(_init204, 0, "MessagingHubModule", _MessagingHubModule_decorators, MessagingHubModule);
|
|
80515
|
+
__runInitializers(_init204, 1, MessagingHubModule);
|
|
80516
|
+
var _CompanyModule_decorators, _init205;
|
|
80247
80517
|
_CompanyModule_decorators = [Module23({
|
|
80248
80518
|
children: [OrgCacheRepo, OrganizationModule, OrgRoutes],
|
|
80249
80519
|
exports: [OrgCache, OrgService, OrgScheduler]
|
|
80250
80520
|
})];
|
|
80251
80521
|
var CompanyModule = class {
|
|
80252
80522
|
};
|
|
80253
|
-
|
|
80254
|
-
CompanyModule = __decorateElement(
|
|
80255
|
-
__runInitializers(
|
|
80256
|
-
var _ApiModule_decorators,
|
|
80523
|
+
_init205 = __decoratorStart(null);
|
|
80524
|
+
CompanyModule = __decorateElement(_init205, 0, "CompanyModule", _CompanyModule_decorators, CompanyModule);
|
|
80525
|
+
__runInitializers(_init205, 1, CompanyModule);
|
|
80526
|
+
var _ApiModule_decorators, _init206;
|
|
80257
80527
|
_ApiModule_decorators = [Module23({
|
|
80258
80528
|
children: [
|
|
80259
80529
|
GlobalFetch,
|
|
@@ -80269,6 +80539,7 @@ _ApiModule_decorators = [Module23({
|
|
|
80269
80539
|
DesktopRoutes,
|
|
80270
80540
|
DesktopUpdateRoutes,
|
|
80271
80541
|
DesktopTrayRoutes,
|
|
80542
|
+
DesktopPetRoutes,
|
|
80272
80543
|
DesktopPrivacySettingsRoutes,
|
|
80273
80544
|
PluginRoutes,
|
|
80274
80545
|
PluginRegistryRoutes,
|
|
@@ -80279,20 +80550,20 @@ _ApiModule_decorators = [Module23({
|
|
|
80279
80550
|
})];
|
|
80280
80551
|
var ApiModule = class {
|
|
80281
80552
|
};
|
|
80282
|
-
|
|
80283
|
-
ApiModule = __decorateElement(
|
|
80284
|
-
__runInitializers(
|
|
80285
|
-
var _WorkflowsModule_decorators,
|
|
80553
|
+
_init206 = __decoratorStart(null);
|
|
80554
|
+
ApiModule = __decorateElement(_init206, 0, "ApiModule", _ApiModule_decorators, ApiModule);
|
|
80555
|
+
__runInitializers(_init206, 1, ApiModule);
|
|
80556
|
+
var _WorkflowsModule_decorators, _init207;
|
|
80286
80557
|
_WorkflowsModule_decorators = [Module23({
|
|
80287
80558
|
children: [WorkflowService, WorkflowRoutes],
|
|
80288
80559
|
exports: [Workflows]
|
|
80289
80560
|
})];
|
|
80290
80561
|
var WorkflowsModule = class {
|
|
80291
80562
|
};
|
|
80292
|
-
|
|
80293
|
-
WorkflowsModule = __decorateElement(
|
|
80294
|
-
__runInitializers(
|
|
80295
|
-
var _PlatformModule_decorators,
|
|
80563
|
+
_init207 = __decoratorStart(null);
|
|
80564
|
+
WorkflowsModule = __decorateElement(_init207, 0, "WorkflowsModule", _WorkflowsModule_decorators, WorkflowsModule);
|
|
80565
|
+
__runInitializers(_init207, 1, WorkflowsModule);
|
|
80566
|
+
var _PlatformModule_decorators, _init208;
|
|
80296
80567
|
_PlatformModule_decorators = [Module23({
|
|
80297
80568
|
children: [
|
|
80298
80569
|
RuntimeModule,
|
|
@@ -80321,9 +80592,9 @@ _PlatformModule_decorators = [Module23({
|
|
|
80321
80592
|
})];
|
|
80322
80593
|
var PlatformModule = class {
|
|
80323
80594
|
};
|
|
80324
|
-
|
|
80325
|
-
PlatformModule = __decorateElement(
|
|
80326
|
-
__runInitializers(
|
|
80595
|
+
_init208 = __decoratorStart(null);
|
|
80596
|
+
PlatformModule = __decorateElement(_init208, 0, "PlatformModule", _PlatformModule_decorators, PlatformModule);
|
|
80597
|
+
__runInitializers(_init208, 1, PlatformModule);
|
|
80327
80598
|
function platformDef(caps, adoptable, plugins = [], replace = /* @__PURE__ */ new Map(), reassemble = async (change) => {
|
|
80328
80599
|
await change?.write();
|
|
80329
80600
|
return false;
|