wherdr 2.2.0 → 2.3.0
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/.output/nitro.json +1 -1
- package/.output/public/_nuxt/{DuVQjOfc.js → B2KlcBQ-.js} +1 -1
- package/.output/public/_nuxt/B2KlcBQ-.js.br +0 -0
- package/.output/public/_nuxt/{DuVQjOfc.js.gz → B2KlcBQ-.js.gz} +0 -0
- package/.output/public/_nuxt/BF2qZ0lx.js +31 -0
- package/.output/public/_nuxt/BF2qZ0lx.js.br +0 -0
- package/.output/public/_nuxt/BF2qZ0lx.js.gz +0 -0
- package/.output/public/_nuxt/{4gY2mLGX.js → BU6Ihnb9.js} +1 -1
- package/.output/public/_nuxt/BU6Ihnb9.js.br +0 -0
- package/.output/public/_nuxt/BU6Ihnb9.js.gz +0 -0
- package/.output/public/_nuxt/{CvGCN0_f.js → BmF5BXwf.js} +5 -5
- package/.output/public/_nuxt/BmF5BXwf.js.br +0 -0
- package/.output/public/_nuxt/BmF5BXwf.js.gz +0 -0
- package/.output/public/_nuxt/{CoRTPMqP.js → BqaV2jLN.js} +23 -23
- package/.output/public/_nuxt/BqaV2jLN.js.br +0 -0
- package/.output/public/_nuxt/BqaV2jLN.js.gz +0 -0
- package/.output/public/_nuxt/{BsbsvkAK.js → C_pXkozx.js} +1 -1
- package/.output/public/_nuxt/C_pXkozx.js.br +0 -0
- package/.output/public/_nuxt/C_pXkozx.js.gz +0 -0
- package/.output/public/_nuxt/{CN39A7L5.js → Cq1IlvFx.js} +2 -2
- package/.output/public/_nuxt/Cq1IlvFx.js.br +0 -0
- package/.output/public/_nuxt/Cq1IlvFx.js.gz +0 -0
- package/.output/public/_nuxt/{CML5cHwz.js → DN2uhp8-.js} +1 -1
- package/.output/public/_nuxt/{B8eSr-59.js → DNk1pHah.js} +1 -1
- package/.output/public/_nuxt/DNk1pHah.js.br +0 -0
- package/.output/public/_nuxt/DNk1pHah.js.gz +0 -0
- package/.output/public/_nuxt/DcQrp3bD.js +25 -0
- package/.output/public/_nuxt/DcQrp3bD.js.br +0 -0
- package/.output/public/_nuxt/DcQrp3bD.js.gz +0 -0
- package/.output/public/_nuxt/{DmYihq1h.js → I_R_EgeO.js} +1 -1
- package/.output/public/_nuxt/L_vgVKcG.js +105 -0
- package/.output/public/_nuxt/L_vgVKcG.js.br +0 -0
- package/.output/public/_nuxt/L_vgVKcG.js.gz +0 -0
- package/.output/public/_nuxt/{CfQgQDOp.js → RI4B_b2M.js} +5 -5
- package/.output/public/_nuxt/RI4B_b2M.js.br +0 -0
- package/.output/public/_nuxt/RI4B_b2M.js.gz +0 -0
- package/.output/public/_nuxt/builds/latest.json +1 -1
- package/.output/public/_nuxt/builds/meta/9240e8b5-8099-4108-9ff2-34b7f376d31a.json +1 -0
- package/.output/public/_nuxt/entry._gNxiS8l.css +2 -0
- package/.output/public/_nuxt/entry._gNxiS8l.css.br +0 -0
- package/.output/public/_nuxt/entry._gNxiS8l.css.gz +0 -0
- package/.output/public/sw.js +1 -1
- package/.output/server/chunks/_/branding.mjs +1 -1
- package/.output/server/chunks/_/package.mjs +1 -1
- package/.output/server/chunks/_/selfupdate.mjs +1 -1
- package/.output/server/chunks/_/updates.mjs +1 -1
- package/.output/server/chunks/_/worktrees.mjs +1 -1
- package/.output/server/chunks/_/ws.mjs +1 -1
- package/.output/server/chunks/nitro/nitro.mjs +677 -503
- package/.output/server/chunks/routes/api/space.post.mjs +1 -177
- package/.output/server/chunks/routes/api/tasks/action.post.mjs +1 -1
- package/.output/server/chunks/routes/api/tasks/add.post.mjs +1 -1
- package/.output/server/chunks/routes/api/tasks/after.post.mjs +1 -1
- package/.output/server/chunks/routes/api/tasks/approve.post.mjs +1 -1
- package/.output/server/chunks/routes/api/tasks/archive-done.post.mjs +1 -1
- package/.output/server/chunks/routes/api/tasks/archived.get.mjs +1 -1
- package/.output/server/chunks/routes/api/tasks/autopilot.get.mjs +1 -1
- package/.output/server/chunks/routes/api/tasks/autopilot.post.mjs +1 -1
- package/.output/server/chunks/routes/api/tasks/board-settings.get.mjs +1 -1
- package/.output/server/chunks/routes/api/tasks/board-settings.post.mjs +1 -1
- package/.output/server/chunks/routes/api/tasks/coordinator.get.mjs +1 -1
- package/.output/server/chunks/routes/api/tasks/coordinator.post.mjs +1 -1
- package/.output/server/chunks/routes/api/tasks/describe.post.mjs +1 -1
- package/.output/server/chunks/routes/api/tasks/details.get.mjs +1 -1
- package/.output/server/chunks/routes/api/tasks/limit.post.mjs +1 -1
- package/.output/server/chunks/routes/api/tasks/links.get.mjs +1 -1
- package/.output/server/chunks/routes/api/tasks/models.get.mjs +1 -1
- package/.output/server/chunks/routes/api/tasks/pick.post.mjs +1 -1
- package/.output/server/chunks/routes/api/tasks/project.get.mjs +1 -1
- package/.output/server/chunks/routes/api/tasks/project.post.mjs +1 -1
- package/.output/server/chunks/routes/api/tasks/question.post.mjs +1 -1
- package/.output/server/chunks/routes/api/tasks/scheduled.get.mjs +1 -1
- package/.output/server/chunks/routes/api/tasks/settings.get.mjs +1 -1
- package/.output/server/chunks/routes/api/tasks/start.get.mjs +1 -1
- package/.output/server/chunks/routes/api/tasks/tell.post.mjs +1 -1
- package/.output/server/chunks/routes/api/tasks.get.mjs +1 -1
- package/.output/server/chunks/routes/api/unqueue.post.mjs +1 -1
- package/.output/server/chunks/routes/icons/_name_.get.mjs +1 -1
- package/.output/server/chunks/routes/renderer.mjs +2 -2
- package/.output/server/chunks/routes/uploads/_...name_.get.mjs +1 -1
- package/.output/server/chunks/routes/ws/_..._.mjs +1 -1
- package/.output/server/chunks/routes/ws/events.mjs +1 -1
- package/.output/server/chunks/routes/ws/term.mjs +1 -1
- package/.output/server/chunks/virtual/precomputed.mjs +1 -1
- package/.output/server/index.mjs +1 -1
- package/.output/server/package.json +1 -1
- package/README.md +3 -1
- package/docs/README.md +2 -0
- package/docs/RELEASING.md +18 -10
- package/docs/release-notes-2.3.0.md +23 -0
- package/package.json +1 -1
- package/.output/public/_nuxt/4gY2mLGX.js.br +0 -0
- package/.output/public/_nuxt/4gY2mLGX.js.gz +0 -0
- package/.output/public/_nuxt/B8eSr-59.js.br +0 -0
- package/.output/public/_nuxt/B8eSr-59.js.gz +0 -0
- package/.output/public/_nuxt/BsbsvkAK.js.br +0 -0
- package/.output/public/_nuxt/BsbsvkAK.js.gz +0 -0
- package/.output/public/_nuxt/CN39A7L5.js.br +0 -0
- package/.output/public/_nuxt/CN39A7L5.js.gz +0 -0
- package/.output/public/_nuxt/CfQgQDOp.js.br +0 -0
- package/.output/public/_nuxt/CfQgQDOp.js.gz +0 -0
- package/.output/public/_nuxt/CoRTPMqP.js.br +0 -0
- package/.output/public/_nuxt/CoRTPMqP.js.gz +0 -0
- package/.output/public/_nuxt/CvGCN0_f.js.br +0 -0
- package/.output/public/_nuxt/CvGCN0_f.js.gz +0 -0
- package/.output/public/_nuxt/DoX0nZZb.js +0 -105
- package/.output/public/_nuxt/DoX0nZZb.js.br +0 -0
- package/.output/public/_nuxt/DoX0nZZb.js.gz +0 -0
- package/.output/public/_nuxt/DuVQjOfc.js.br +0 -0
- package/.output/public/_nuxt/builds/meta/fd79ea32-8bac-487a-afa1-7a6e336fff3f.json +0 -1
- package/.output/public/_nuxt/entry.Cd2iNkBC.css +0 -2
- package/.output/public/_nuxt/entry.Cd2iNkBC.css.br +0 -0
- package/.output/public/_nuxt/entry.Cd2iNkBC.css.gz +0 -0
- package/.output/public/_nuxt/hSqNtAW9.js +0 -25
- package/.output/public/_nuxt/hSqNtAW9.js.br +0 -0
- package/.output/public/_nuxt/hSqNtAW9.js.gz +0 -0
- package/.output/public/_nuxt/o1wml4Rx.js +0 -31
- package/.output/public/_nuxt/o1wml4Rx.js.br +0 -0
- package/.output/public/_nuxt/o1wml4Rx.js.gz +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { a as defineApi, bJ as spaceCall, bK as SpaceActionError, H as HerdrError, aa as log, p as poll, aZ as herdrOn, bL as dropSteps, bM as verifySpaceRename, bN as spaceResult, bO as swapSteps } from '../../nitro/nitro.mjs';
|
|
2
2
|
import 'node:http';
|
|
3
3
|
import 'node:https';
|
|
4
4
|
import 'node:crypto';
|
|
@@ -31,182 +31,6 @@ import 'node:url';
|
|
|
31
31
|
import 'node:zlib';
|
|
32
32
|
import '@simplewebauthn/server';
|
|
33
33
|
|
|
34
|
-
var __defProp = Object.defineProperty;
|
|
35
|
-
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
36
|
-
var __publicField = (obj, key, value) => __defNormalProp(obj, key + "" , value);
|
|
37
|
-
const WORKSPACE_RE = /^(?:[0-9a-f]{4,32}~)?w[0-9a-z]+$/i;
|
|
38
|
-
const TAB_RE = /^(?:[0-9a-f]{4,32}~)?w[0-9a-z]+:t[0-9a-z]+$/i;
|
|
39
|
-
const LABEL_MAX = 60;
|
|
40
|
-
class SpaceActionError extends Error {
|
|
41
|
-
constructor(code, message) {
|
|
42
|
-
super(message);
|
|
43
|
-
__publicField(this, "code");
|
|
44
|
-
this.code = code;
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
const fail = (code, message) => {
|
|
48
|
-
throw new SpaceActionError(code, message);
|
|
49
|
-
};
|
|
50
|
-
const cleanLabel = (v) => String(v != null ? v : "").replace(/\s+/g, " ").trim().slice(0, LABEL_MAX);
|
|
51
|
-
function idOf(v, re, what) {
|
|
52
|
-
const s = String(v != null ? v : "");
|
|
53
|
-
if (!re.test(s)) fail("bad_id", `invalid ${what}`);
|
|
54
|
-
return splitId(s);
|
|
55
|
-
}
|
|
56
|
-
const cleanCwd = (x) => typeof x === "string" && x.startsWith("/") && x.length <= 4096 && !x.includes("\0") ? x : null;
|
|
57
|
-
function spaceCall(body) {
|
|
58
|
-
var _a;
|
|
59
|
-
const b = body && typeof body === "object" ? body : {};
|
|
60
|
-
const op = String(b.op || "");
|
|
61
|
-
switch (op) {
|
|
62
|
-
case "tab.create": {
|
|
63
|
-
const w = idOf(b.workspace_id, WORKSPACE_RE, "workspace");
|
|
64
|
-
const label = cleanLabel(b.label);
|
|
65
|
-
const cwd = cleanCwd(b.cwd);
|
|
66
|
-
return { machine: w.machine, method: "tab.create", params: { workspace_id: w.local, ...label ? { label } : {}, ...cwd ? { cwd } : {}, focus: false } };
|
|
67
|
-
}
|
|
68
|
-
case "workspace.rename":
|
|
69
|
-
case "tab.rename": {
|
|
70
|
-
const isTab = op === "tab.rename";
|
|
71
|
-
const x = isTab ? idOf(b.tab_id, TAB_RE, "tab") : idOf(b.workspace_id, WORKSPACE_RE, "workspace");
|
|
72
|
-
const label = cleanLabel(b.label);
|
|
73
|
-
if (!label) fail("bad_label", "empty name");
|
|
74
|
-
return { machine: x.machine, method: op, params: { [isTab ? "tab_id" : "workspace_id"]: x.local, label } };
|
|
75
|
-
}
|
|
76
|
-
case "workspace.close": {
|
|
77
|
-
const w = idOf(b.workspace_id, WORKSPACE_RE, "workspace");
|
|
78
|
-
return { machine: w.machine, method: op, params: { workspace_id: w.local, ...b.close_group === true ? { close_group: true } : {} } };
|
|
79
|
-
}
|
|
80
|
-
case "tab.close": {
|
|
81
|
-
const x = idOf(b.tab_id, TAB_RE, "tab");
|
|
82
|
-
if (b.close_group === true) return { machine: x.machine, method: "workspace.close", params: { workspace_id: x.local.split(":")[0], close_group: true } };
|
|
83
|
-
return { machine: x.machine, method: op, params: { tab_id: x.local } };
|
|
84
|
-
}
|
|
85
|
-
case "pane.split": {
|
|
86
|
-
const p = idOf(b.pane_id, PANE_RE, "pane");
|
|
87
|
-
const direction = b.direction;
|
|
88
|
-
if (direction !== "right" && direction !== "down") fail("bad_direction", "invalid direction");
|
|
89
|
-
const cwd = cleanCwd(b.cwd);
|
|
90
|
-
return { machine: p.machine, method: op, params: { target_pane_id: p.local, direction, ...cwd ? { cwd } : {}, focus: false } };
|
|
91
|
-
}
|
|
92
|
-
case "pane.move": {
|
|
93
|
-
const p = idOf(b.pane_id, PANE_RE, "pane");
|
|
94
|
-
const to = b.to;
|
|
95
|
-
let destination;
|
|
96
|
-
if (to === "new_tab") destination = { type: "new_tab", workspace_id: p.local.split(":")[0] };
|
|
97
|
-
else if (to === "new_workspace") destination = { type: "new_workspace" };
|
|
98
|
-
else if (to && typeof to === "object") {
|
|
99
|
-
const x = idOf(to.tab_id, TAB_RE, "tab");
|
|
100
|
-
if (x.machine !== p.machine) fail("bad_machine", "tab on another machine");
|
|
101
|
-
destination = { type: "tab", tab_id: x.local, split: "right" };
|
|
102
|
-
} else return fail("bad_destination", "invalid destination");
|
|
103
|
-
return { machine: p.machine, method: op, params: { pane_id: p.local, destination, focus: false } };
|
|
104
|
-
}
|
|
105
|
-
case "pane.swap": {
|
|
106
|
-
const p = idOf(b.pane_id, PANE_RE, "pane");
|
|
107
|
-
const direction = b.direction;
|
|
108
|
-
if (!PANE_DIRECTIONS.includes(direction)) fail("bad_direction", "invalid direction");
|
|
109
|
-
return { machine: p.machine, method: op, params: { pane_id: p.local, direction } };
|
|
110
|
-
}
|
|
111
|
-
case "pane.drop": {
|
|
112
|
-
const p = idOf(b.pane_id, PANE_RE, "pane");
|
|
113
|
-
const x = idOf(b.target_pane_id, PANE_RE, "pane");
|
|
114
|
-
if (x.machine !== p.machine) fail("bad_machine", "pane on another machine");
|
|
115
|
-
const side = b.side;
|
|
116
|
-
if (side !== "center" && !PANE_DIRECTIONS.includes(side)) fail("bad_direction", "invalid direction");
|
|
117
|
-
return { machine: p.machine, method: op, params: { pane_id: p.local, target_pane_id: x.local, side } };
|
|
118
|
-
}
|
|
119
|
-
case "layout.ratio": {
|
|
120
|
-
const x = idOf(b.tab_id, TAB_RE, "tab");
|
|
121
|
-
const path = String((_a = b.path) != null ? _a : "");
|
|
122
|
-
if (!/^[01]{0,32}$/.test(path)) fail("bad_path", "invalid split");
|
|
123
|
-
const ratio = Number(b.ratio);
|
|
124
|
-
if (!Number.isFinite(ratio) || ratio <= 0 || ratio >= 1) fail("bad_ratio", "invalid ratio");
|
|
125
|
-
return {
|
|
126
|
-
machine: x.machine,
|
|
127
|
-
method: "layout.set_split_ratio",
|
|
128
|
-
params: { tab_id: x.local, path: [...path].map((c) => c === "1"), ratio: Math.round(Math.min(0.95, Math.max(0.05, ratio)) * 1e3) / 1e3 }
|
|
129
|
-
};
|
|
130
|
-
}
|
|
131
|
-
case "workspace.move": {
|
|
132
|
-
const w = idOf(b.workspace_id, WORKSPACE_RE, "workspace");
|
|
133
|
-
let before = null;
|
|
134
|
-
if (b.before_workspace_id != null) {
|
|
135
|
-
const x = idOf(b.before_workspace_id, WORKSPACE_RE, "workspace");
|
|
136
|
-
if (x.machine !== w.machine) fail("bad_machine", "space on another machine");
|
|
137
|
-
if (x.local === w.local) fail("bad_destination", "invalid destination");
|
|
138
|
-
before = x.local;
|
|
139
|
-
}
|
|
140
|
-
return { machine: w.machine, method: "workspace.move_block", params: { workspace_ids: [w.local], before_workspace_id: before } };
|
|
141
|
-
}
|
|
142
|
-
default:
|
|
143
|
-
return fail("bad_op", `unknown action: ${op}`);
|
|
144
|
-
}
|
|
145
|
-
}
|
|
146
|
-
function spaceResult(call, r) {
|
|
147
|
-
var _a, _b, _c, _d, _e;
|
|
148
|
-
const id = (x) => x == null ? void 0 : call.machine ? `${call.machine}~${x}` : String(x);
|
|
149
|
-
if (!r || typeof r !== "object") return {};
|
|
150
|
-
if (call.method === "tab.create") return { tab_id: id((_a = r.tab) == null ? void 0 : _a.tab_id), pane_id: id((_b = r.root_pane) == null ? void 0 : _b.pane_id) };
|
|
151
|
-
if (call.method === "pane.split") return { pane_id: id((_c = r.pane) == null ? void 0 : _c.pane_id), tab_id: id((_d = r.pane) == null ? void 0 : _d.tab_id) };
|
|
152
|
-
if (call.method === "pane.move") {
|
|
153
|
-
const p = (_e = r.move_result) == null ? void 0 : _e.pane;
|
|
154
|
-
return { pane_id: id(p == null ? void 0 : p.pane_id), tab_id: id(p == null ? void 0 : p.tab_id) };
|
|
155
|
-
}
|
|
156
|
-
return {};
|
|
157
|
-
}
|
|
158
|
-
function swapSteps(snap, pane, target) {
|
|
159
|
-
if (!target || target === pane) fail("no_neighbor", "no pane on that side");
|
|
160
|
-
const layouts = Array.isArray(snap == null ? void 0 : snap.layouts) ? snap.layouts : [];
|
|
161
|
-
const tab = layouts.find((l) => {
|
|
162
|
-
var _a;
|
|
163
|
-
return (_a = l.panes) == null ? void 0 : _a.some((p) => p.pane_id === pane);
|
|
164
|
-
});
|
|
165
|
-
if (!tab || !tab.panes.some((p) => p.pane_id === target)) fail("no_neighbor", "no pane on that side");
|
|
166
|
-
if (tab.zoomed) fail("zoomed", "a pane is zoomed in this tab");
|
|
167
|
-
const tabFocus = tab.focused_pane_id || null;
|
|
168
|
-
const [source, other] = tabFocus === target ? [target, pane] : [pane, target];
|
|
169
|
-
return [{ method: "pane.swap", params: { source_pane_id: source, target_pane_id: other } }, ...refocus(snap, tab, source)];
|
|
170
|
-
}
|
|
171
|
-
function refocus(snap, tab, cur) {
|
|
172
|
-
const layouts = Array.isArray(snap == null ? void 0 : snap.layouts) ? snap.layouts : [];
|
|
173
|
-
const ws = (Array.isArray(snap == null ? void 0 : snap.workspaces) ? snap.workspaces : []).find((w) => w.workspace_id === tab.workspace_id);
|
|
174
|
-
const activeTab = layouts.find((l) => l.tab_id === (ws == null ? void 0 : ws.active_tab_id));
|
|
175
|
-
const steps = [];
|
|
176
|
-
for (const f of [tab.focused_pane_id || null, (activeTab == null ? void 0 : activeTab.focused_pane_id) || null, (snap == null ? void 0 : snap.focused_pane_id) || null]) {
|
|
177
|
-
if (!f || f === cur) continue;
|
|
178
|
-
steps.push({ method: "pane.focus", params: { pane_id: f } });
|
|
179
|
-
cur = f;
|
|
180
|
-
}
|
|
181
|
-
return steps;
|
|
182
|
-
}
|
|
183
|
-
function dropSteps(snap, pane, target, side) {
|
|
184
|
-
if (side === "center") return swapSteps(snap, pane, target);
|
|
185
|
-
if (!target || target === pane) fail("no_neighbor", "same pane");
|
|
186
|
-
const layouts = Array.isArray(snap == null ? void 0 : snap.layouts) ? snap.layouts : [];
|
|
187
|
-
const tab = layouts.find((l) => {
|
|
188
|
-
var _a;
|
|
189
|
-
return (_a = l.panes) == null ? void 0 : _a.some((p) => p.pane_id === pane);
|
|
190
|
-
});
|
|
191
|
-
if (!tab || !tab.panes.some((p) => p.pane_id === target)) fail("no_neighbor", "pane in another tab");
|
|
192
|
-
if (tab.zoomed) fail("zoomed", "a pane is zoomed in this tab");
|
|
193
|
-
const before = side === "left" || side === "up";
|
|
194
|
-
const steps = [
|
|
195
|
-
{ method: "pane.move", params: { pane_id: pane, destination: { type: "new_tab", workspace_id: tab.workspace_id }, focus: false } },
|
|
196
|
-
{ method: "pane.move", params: { pane_id: pane, destination: { type: "tab", tab_id: tab.tab_id, split: side === "left" || side === "right" ? "right" : "down", target_pane_id: target }, focus: false } }
|
|
197
|
-
];
|
|
198
|
-
if (before) steps.push({ method: "pane.swap", params: { source_pane_id: pane, target_pane_id: target } });
|
|
199
|
-
return [...steps, ...refocus(snap, tab, before ? pane : null)];
|
|
200
|
-
}
|
|
201
|
-
function verifySpaceRename(call, snapshot) {
|
|
202
|
-
var _a;
|
|
203
|
-
const tab = call.method === "tab.rename";
|
|
204
|
-
if (!tab && call.method !== "workspace.rename") return;
|
|
205
|
-
const key = tab ? "tab_id" : "workspace_id";
|
|
206
|
-
const target = (_a = tab ? snapshot == null ? void 0 : snapshot.tabs : snapshot == null ? void 0 : snapshot.workspaces) == null ? void 0 : _a.find((x) => x[key] === call.params[key]);
|
|
207
|
-
if (!target || target.label !== call.params.label) throw new SpaceActionError("rename_failed", "Rename failed. The name was not changed.");
|
|
208
|
-
}
|
|
209
|
-
|
|
210
34
|
const space_post = defineApi(async (_event, body) => {
|
|
211
35
|
let call;
|
|
212
36
|
try {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as defineApi, i as getQuery,
|
|
1
|
+
import { a as defineApi, i as getQuery, bW as autopilotStatuses, bX as coordinatorAutopilot } from '../../../nitro/nitro.mjs';
|
|
2
2
|
import 'node:http';
|
|
3
3
|
import 'node:https';
|
|
4
4
|
import 'node:crypto';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as defineApi,
|
|
1
|
+
import { a as defineApi, b$ as restartCoordinator, c0 as tellCoordinator } from '../../../nitro/nitro.mjs';
|
|
2
2
|
import 'node:http';
|
|
3
3
|
import 'node:https';
|
|
4
4
|
import 'node:crypto';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as defineApi, i as getQuery,
|
|
1
|
+
import { a as defineApi, i as getQuery, ca as coordinatorScheduled } from '../../../nitro/nitro.mjs';
|
|
2
2
|
import 'node:http';
|
|
3
3
|
import 'node:https';
|
|
4
4
|
import 'node:crypto';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as defineApi, P as PANE_RE, H as HerdrError,
|
|
1
|
+
import { a as defineApi, P as PANE_RE, H as HerdrError, ce as cancelQueued } from '../../nitro/nitro.mjs';
|
|
2
2
|
import 'node:http';
|
|
3
3
|
import 'node:https';
|
|
4
4
|
import 'node:crypto';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { d as defineEventHandler,
|
|
1
|
+
import { d as defineEventHandler, cn as getRouterParam } from '../../nitro/nitro.mjs';
|
|
2
2
|
import { s as serveBranding } from '../../_/branding.mjs';
|
|
3
3
|
import 'node:http';
|
|
4
4
|
import 'node:https';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { cB as useRuntimeConfig, cC as encodePath, cD as joinRelativeURL, cE as defineRenderHandler, i as getQuery, cF as createError, cG as destr, cH as getRouteRules, cI as relative, cJ as joinURL, cK as getResponseStatusText, cL as getResponseStatus, cM as useNitroApp } from '../nitro/nitro.mjs';
|
|
2
2
|
import { createHead as createHead$1, propsToString, renderSSRHead } from 'unhead/server';
|
|
3
3
|
import { isRef, toValue } from 'vue';
|
|
4
4
|
import { DeprecationsPlugin } from 'unhead/legacy';
|
|
@@ -208,7 +208,7 @@ function encodeForwardSlashes(str) {
|
|
|
208
208
|
|
|
209
209
|
const renderSSRHeadOptions = {"omitLineBreaks":true};
|
|
210
210
|
|
|
211
|
-
const entryFileName = "
|
|
211
|
+
const entryFileName = "BF2qZ0lx.js";
|
|
212
212
|
|
|
213
213
|
//#region src/runtime/handlers/renderer.ts
|
|
214
214
|
globalThis.__buildAssetsURL = buildAssetsURL;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { d as defineEventHandler,
|
|
1
|
+
import { d as defineEventHandler, cn as getRouterParam, co as readUpload, s as sendError, I as sendImage } from '../../nitro/nitro.mjs';
|
|
2
2
|
import 'node:http';
|
|
3
3
|
import 'node:https';
|
|
4
4
|
import 'node:crypto';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { cp as defineWebSocketHandler, cq as eventClients, P as PANE_RE, cr as notificationPresence, cs as getStateJson } from '../../nitro/nitro.mjs';
|
|
2
2
|
import { u as unwatchPeer, m as messageText, w as watchPeer, i as isOpen, c as checkUpgrade } from '../../_/ws.mjs';
|
|
3
3
|
import 'node:http';
|
|
4
4
|
import 'node:https';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { cp as defineWebSocketHandler, cA as openTerm } from '../../nitro/nitro.mjs';
|
|
2
2
|
import { u as unwatchPeer, m as messageText, w as watchPeer, c as checkUpgrade, i as isOpen } from '../../_/ws.mjs';
|
|
3
3
|
import 'node:http';
|
|
4
4
|
import 'node:https';
|