@kky42/pievo-server 2.4.8 → 2.4.9
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/assets/{MachinesModal-ClNm1IAU.js → MachinesModal-wxHeRJsP.js} +1 -1
- package/.output/public/assets/{index-DM5pYU2E.js → index-DXJGEV9d.js} +3 -3
- package/.output/public/assets/{invite._token-CjcTZgvV.js → invite._token-DgbAZ8tR.js} +1 -1
- package/.output/public/assets/{loops._loopId-1WUV1NQv.js → loops._loopId-hqovx5nj.js} +1 -1
- package/.output/public/assets/{loops._loopId_.runs._runId-BgUc4GIy.js → loops._loopId_.runs._runId-B233CSov.js} +1 -1
- package/.output/public/assets/{routes-DTmJ-YqP.js → routes-BcmIcHul.js} +1 -1
- package/.output/public/assets/{t._teamId-BmUhbnOU.js → t._teamId-CJOyBon9.js} +1 -1
- package/.output/server/_ssr/{DashboardView-DTfEhixr.mjs → DashboardView-Dj-FImnr.mjs} +13 -6
- package/.output/server/_ssr/{MachinesModal-D54Uza6A.mjs → MachinesModal-C8UdXFwP.mjs} +17 -5
- package/.output/server/_ssr/{SignIn-C2JkrSfV.mjs → SignIn-kgyyAjxa.mjs} +2 -2
- package/.output/server/_ssr/{SocialLinks-dPCmZWvC.mjs → SocialLinks-ZYIMrv4W.mjs} +2 -2
- package/.output/server/_ssr/{artifactFiles-DBu2yk9a.mjs → artifactFiles-Dg7Csxw-.mjs} +3 -3
- package/.output/server/_ssr/{artifactKind-CJMjNtSC.mjs → artifactKind-Bex7n005.mjs} +3 -3
- package/.output/server/_ssr/{artifacts-8JYBE5zx.mjs → artifacts-CGJQi12P.mjs} +1 -1
- package/.output/server/_ssr/{auth-b1o4lrGO.mjs → auth-pONvN2Mo.mjs} +9 -9
- package/.output/server/_ssr/{boot-dZdGfkZm.mjs → boot-DF8p07PC.mjs} +1 -1
- package/.output/server/_ssr/{boot-CEPRQU5M.mjs → boot-DoRoAQuI.mjs} +7 -4
- package/.output/server/_ssr/{bun-sqlite-dialect-BW9W1_Ps-D2QuIuwp.mjs → bun-sqlite-dialect-BW9W1_Ps-fxdbbtvy.mjs} +2 -2
- package/.output/server/_ssr/{d1-sqlite-dialect-BLC8LXE6-CdT8qARs.mjs → d1-sqlite-dialect-BLC8LXE6-CcOEyONf.mjs} +2 -2
- package/.output/server/_ssr/db-DS0gckHd.mjs +2 -0
- package/.output/server/_ssr/{dist-E-fSrrAE.mjs → dist-ghpS-jzd.mjs} +2 -2
- package/.output/server/_ssr/{factory-CzRRgvct.mjs → factory-D7WCUKnW.mjs} +2 -2
- package/.output/server/_ssr/{invite._token-ZthOtmu9.mjs → invite._token-YSls7Te8.mjs} +5 -5
- package/.output/server/_ssr/{invite._token-DDDd3vNf.mjs → invite._token-hkOJXnJU.mjs} +3 -3
- package/.output/server/_ssr/{kysely-adapter-cB-XpVsU.mjs → kysely-adapter-DD_FuS-x.mjs} +1 -1
- package/.output/server/_ssr/logger-BuIBg8Jv.mjs +2 -0
- package/.output/server/_ssr/{loopApi-DxDYnPI7.mjs → loopApi-Vb7RrshX.mjs} +10 -10
- package/.output/server/_ssr/{loopProjection-CeH1HELf.mjs → loopProjection-DfpYkHDU.mjs} +2 -2
- package/.output/server/_ssr/{loops._loopId-BTAKWGvT.mjs → loops._loopId-BKUT85ip.mjs} +6 -6
- package/.output/server/_ssr/{loops._loopId_.runs._runId-BRzoEUe1.mjs → loops._loopId_.runs._runId-Bha29x1u.mjs} +3 -3
- package/.output/server/_ssr/{loops._loopId_.runs._runId-BGl_4tUK.mjs → loops._loopId_.runs._runId-CBXFBNrN.mjs} +4 -4
- package/.output/server/_ssr/{machineFns-Bmh_4hnx.mjs → machineFns-BFBPpfxd.mjs} +3 -3
- package/.output/server/_ssr/{node-sqlite-dialect-C8O4zOiM.mjs → node-sqlite-dialect-BDYK0mnk.mjs} +2 -2
- package/.output/server/_ssr/{router-Vpcd2SDx.mjs → router-DfegU72d.mjs} +21 -21
- package/.output/server/_ssr/{routes-BczmJLuq.mjs → routes-BwTvON37.mjs} +5 -5
- package/.output/server/_ssr/{routes-DBCYbmLW.mjs → routes-Bx3C3K_H.mjs} +4 -4
- package/.output/server/_ssr/runDiff-CcG2PgCn.mjs +2 -0
- package/.output/server/_ssr/ssr.mjs +39 -39
- package/.output/server/_ssr/store-yOJEt4It.mjs +2 -0
- package/.output/server/_ssr/{t._teamId-D0Y3DqcE.mjs → t._teamId-BFs1MfBR.mjs} +5 -5
- package/.output/server/_ssr/{t._teamId-COKCNxP7.mjs → t._teamId-CpPl9_XU.mjs} +4 -4
- package/.output/server/_ssr/{teamFns-BMR5TRJw.mjs → teamFns-3lItAtfc.mjs} +2 -2
- package/.output/server/_ssr/{teamFns-DctV7gTn.mjs → teamFns-BVjiPvv8.mjs} +3 -3
- package/.output/server/_ssr/{tokens-BP8ltV6J.mjs → tokens-DUsrVE9g.mjs} +1 -1
- package/.output/server/{_tanstack-start-manifest_v-CevOnXtc.mjs → _tanstack-start-manifest_v-qnHwyto-.mjs} +11 -11
- package/.output/server/index.mjs +63 -63
- package/package.json +1 -1
- package/.output/server/_ssr/db-CJUmGnnY.mjs +0 -2
- package/.output/server/_ssr/logger-Co0_q7fy.mjs +0 -2
- package/.output/server/_ssr/runDiff-Ce1DhI7z.mjs +0 -2
- package/.output/server/_ssr/store-BpbKfvFY.mjs +0 -2
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { o as __toESM } from "../_runtime.mjs";
|
|
2
|
-
import { s as CODING_AGENTS } from "./boot-
|
|
2
|
+
import { s as CODING_AGENTS } from "./boot-DoRoAQuI.mjs";
|
|
3
3
|
import { g as require_react, h as require_jsx_runtime } from "../_libs/@base-ui/react+[...].mjs";
|
|
4
4
|
import { E as tsShort, S as runPulseStyle, T as selectCls, _ as inputCls, a as btn, b as rel, c as btnQuiet, d as dotLabel, g as humanBytes, m as fmt, n as Loading, o as btnDanger, p as dur, r as Pill, s as btnPrimary, t as ErrorBanner, u as dotColor, v as labelCls, w as sectionHeadCls } from "./ui-BEPYdOmJ.mjs";
|
|
5
5
|
import { i as useFlash, n as FlashLine, r as LoadErrorCard, t as ConfirmBar } from "./actionUi-DCNmrAjw.mjs";
|
|
6
6
|
import { d as useNavigate, u as Link } from "../_libs/@tanstack/react-router+[...].mjs";
|
|
7
|
-
import { C as startLoop, E as useSession, _ as loadOlderRuns, b as pauseLoop, c as getArtifact, l as getArtifacts, p as getLoopDetail, s as deleteLoop, w as stopLoop, x as runLoop, y as patchLoop } from "./SocialLinks-
|
|
7
|
+
import { C as startLoop, E as useSession, _ as loadOlderRuns, b as pauseLoop, c as getArtifact, l as getArtifacts, p as getLoopDetail, s as deleteLoop, w as stopLoop, x as runLoop, y as patchLoop } from "./SocialLinks-ZYIMrv4W.mjs";
|
|
8
8
|
import { t as setActiveTeamCookie } from "./teamCookie-B7hLOIie.mjs";
|
|
9
|
-
import { t as SignIn } from "./SignIn-
|
|
9
|
+
import { t as SignIn } from "./SignIn-kgyyAjxa.mjs";
|
|
10
10
|
import { n as daemonStopSupport, r as deriveLoopLifecycle, t as DAEMON_UPGRADE_REQUIRED } from "./lifecycleUi-DOr6Af13.mjs";
|
|
11
|
-
import { l as mergeRuns, n as MachinesModal, o as Timeline, t as LoopOverview } from "./MachinesModal-
|
|
12
|
-
import { n as artifactKind, t as Route } from "./artifactKind-
|
|
11
|
+
import { l as mergeRuns, n as MachinesModal, o as Timeline, t as LoopOverview } from "./MachinesModal-C8UdXFwP.mjs";
|
|
12
|
+
import { n as artifactKind, t as Route } from "./artifactKind-Bex7n005.mjs";
|
|
13
13
|
import { t as purify } from "../_libs/dompurify.mjs";
|
|
14
14
|
import { t as g } from "../_libs/marked.mjs";
|
|
15
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/loops._loopId-
|
|
15
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/loops._loopId-BKUT85ip.js
|
|
16
16
|
var import_react = /* @__PURE__ */ __toESM(require_react());
|
|
17
17
|
var import_jsx_runtime = require_jsx_runtime();
|
|
18
18
|
/** Download URL for one artifact. Each path segment is encoded independently so
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { c as createFileRoute, s as lazyRouteComponent } from "../_libs/@tanstack/react-router+[...].mjs";
|
|
2
|
-
import { i as authClient, u as getAuthState } from "./SocialLinks-
|
|
3
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/loops._loopId_.runs._runId-
|
|
4
|
-
var $$splitComponentImporter = () => import("./loops._loopId_.runs._runId-
|
|
2
|
+
import { i as authClient, u as getAuthState } from "./SocialLinks-ZYIMrv4W.mjs";
|
|
3
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/loops._loopId_.runs._runId-Bha29x1u.js
|
|
4
|
+
var $$splitComponentImporter = () => import("./loops._loopId_.runs._runId-CBXFBNrN.mjs");
|
|
5
5
|
/**
|
|
6
6
|
* Run detail PAGE — `/loops/$loopId/runs/$runId`. A standalone page (the trailing
|
|
7
7
|
* `_` on the `$loopId` segment opts it out of the loop page's component so the run
|
|
@@ -3,10 +3,10 @@ import { g as require_react, h as require_jsx_runtime } from "../_libs/@base-ui/
|
|
|
3
3
|
import { S as runPulseStyle, a as btn, g as humanBytes, h as fnum, i as StatusPill, m as fmt, n as Loading, o as btnDanger, p as dur, r as Pill, w as sectionHeadCls } from "./ui-BEPYdOmJ.mjs";
|
|
4
4
|
import { r as LoadErrorCard } from "./actionUi-DCNmrAjw.mjs";
|
|
5
5
|
import { u as Link } from "../_libs/@tanstack/react-router+[...].mjs";
|
|
6
|
-
import { E as useSession, T as stopRun, _ as loadOlderRuns, m as getRunDiff, p as getLoopDetail } from "./SocialLinks-
|
|
7
|
-
import { t as SignIn } from "./SignIn-
|
|
8
|
-
import { t as Route } from "./loops._loopId_.runs._runId-
|
|
9
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/loops._loopId_.runs._runId-
|
|
6
|
+
import { E as useSession, T as stopRun, _ as loadOlderRuns, m as getRunDiff, p as getLoopDetail } from "./SocialLinks-ZYIMrv4W.mjs";
|
|
7
|
+
import { t as SignIn } from "./SignIn-kgyyAjxa.mjs";
|
|
8
|
+
import { t as Route } from "./loops._loopId_.runs._runId-Bha29x1u.mjs";
|
|
9
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/loops._loopId_.runs._runId-CBXFBNrN.js
|
|
10
10
|
var import_react = /* @__PURE__ */ __toESM(require_react());
|
|
11
11
|
var import_jsx_runtime = require_jsx_runtime();
|
|
12
12
|
/**
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { A as ensureServer, Bt as sha256, C as createMachine$1, G as getMachine, Jt as updateMachine, P as forceDeleteMachine, St as mintDeviceToken, T as daemonNeedsUpdate, X as getTeamMember, bt as machineIdFromToken, dt as listMachines$1, ft as listMachinesForTeam, jt as rememberConnectKey, u as MIN_DAEMON_VERSION, yt as loopsForMachine } from "./boot-
|
|
2
|
-
import { requestScope } from "./auth-
|
|
1
|
+
import { A as ensureServer, Bt as sha256, C as createMachine$1, G as getMachine, Jt as updateMachine, P as forceDeleteMachine, St as mintDeviceToken, T as daemonNeedsUpdate, X as getTeamMember, bt as machineIdFromToken, dt as listMachines$1, ft as listMachinesForTeam, jt as rememberConnectKey, u as MIN_DAEMON_VERSION, yt as loopsForMachine } from "./boot-DoRoAQuI.mjs";
|
|
2
|
+
import { requestScope } from "./auth-pONvN2Mo.mjs";
|
|
3
3
|
import { n as createServerFn } from "./ssr.mjs";
|
|
4
4
|
import { t as createServerRpc } from "./createServerRpc-BD8Xn_0_.mjs";
|
|
5
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/machineFns-
|
|
5
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/machineFns-BFBPpfxd.js
|
|
6
6
|
/**
|
|
7
7
|
* Whether a machine is visible/actionable in the request scope. Mirrors
|
|
8
8
|
* listMachines: open mode sees everything; otherwise the requester must own the
|
package/.output/server/_ssr/{node-sqlite-dialect-C8O4zOiM.mjs → node-sqlite-dialect-BDYK0mnk.mjs}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { n as DefaultQueryCompiler, o as CompiledQuery, s as sql$1 } from "./auth-
|
|
1
|
+
import { n as DefaultQueryCompiler, o as CompiledQuery, s as sql$1 } from "./auth-pONvN2Mo.mjs";
|
|
2
2
|
import { n as DEFAULT_MIGRATION_TABLE, t as DEFAULT_MIGRATION_LOCK_TABLE } from "./kysely-migration-tables-JkVUjPF_-bPAX9LR_.mjs";
|
|
3
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/node-sqlite-dialect-
|
|
3
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/node-sqlite-dialect-BDYK0mnk.js
|
|
4
4
|
var NodeSqliteAdapter = class {
|
|
5
5
|
get supportsCreateIfNotExists() {
|
|
6
6
|
return true;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { j as sql } from "../_libs/drizzle-orm+postgres.mjs";
|
|
2
|
-
import { A as ensureServer, Dt as readJsonBody, Et as readByteBody, Qt as validPollWireId, Xt as validOptionalPollString, Zt as validPollCurrentRun, d as POLL_HTTP_BODY_FIELDS, l as MACHINE_BODY_CAP } from "./boot-
|
|
2
|
+
import { A as ensureServer, Dt as readJsonBody, Et as readByteBody, Qt as validPollWireId, Xt as validOptionalPollString, Zt as validPollCurrentRun, d as POLL_HTTP_BODY_FIELDS, l as MACHINE_BODY_CAP } from "./boot-DoRoAQuI.mjs";
|
|
3
3
|
import { h as require_jsx_runtime } from "../_libs/@base-ui/react+[...].mjs";
|
|
4
4
|
import { c as createFileRoute, i as HeadContent, l as createRootRoute, o as createRouter, r as Scripts } from "../_libs/@tanstack/react-router+[...].mjs";
|
|
5
|
-
import { t as Route$12 } from "./invite._token-
|
|
6
|
-
import { r as imageMime, t as Route$13 } from "./artifactKind-
|
|
7
|
-
import { t as Route$14 } from "./loops._loopId_.runs._runId-
|
|
8
|
-
import { t as Route$15 } from "./routes-
|
|
9
|
-
import { t as Route$16 } from "./t._teamId-
|
|
10
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/router-
|
|
5
|
+
import { t as Route$12 } from "./invite._token-hkOJXnJU.mjs";
|
|
6
|
+
import { r as imageMime, t as Route$13 } from "./artifactKind-Bex7n005.mjs";
|
|
7
|
+
import { t as Route$14 } from "./loops._loopId_.runs._runId-Bha29x1u.mjs";
|
|
8
|
+
import { t as Route$15 } from "./routes-Bx3C3K_H.mjs";
|
|
9
|
+
import { t as Route$16 } from "./t._teamId-CpPl9_XU.mjs";
|
|
10
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/router-DfegU72d.js
|
|
11
11
|
var import_jsx_runtime = require_jsx_runtime();
|
|
12
12
|
var app_default = "/assets/app-CuZ0I3Mb.css";
|
|
13
13
|
var Route$11 = createRootRoute({
|
|
@@ -173,7 +173,7 @@ var Route$10 = createFileRoute("/machine/report")({ server: { handlers: { POST:
|
|
|
173
173
|
const parsed = await readJsonBody(request, MACHINE_BODY_CAP);
|
|
174
174
|
if (parsed.kind === "too-large") return Response.json({ error: "body too large" }, { status: 413 });
|
|
175
175
|
const body = parsed.kind === "ok" && parsed.body && typeof parsed.body === "object" ? parsed.body : {};
|
|
176
|
-
const { getGateway } = await import("./boot-
|
|
176
|
+
const { getGateway } = await import("./boot-DF8p07PC.mjs");
|
|
177
177
|
const r = await (await getGateway()).report(token, body);
|
|
178
178
|
return Response.json(r.body, { status: r.status });
|
|
179
179
|
} } } });
|
|
@@ -213,13 +213,13 @@ var Route$7 = createFileRoute("/api/machine/sync")({ server: { handlers: { POST:
|
|
|
213
213
|
const auth = request.headers.get("authorization") ?? "";
|
|
214
214
|
const token = auth.startsWith("Bearer ") ? auth.slice(7) : "";
|
|
215
215
|
if (!token) return Response.json({ error: "missing device token" }, { status: 401 });
|
|
216
|
-
const { SYNC_BODY_CAP, parseArtifactSyncBody } = await import("./artifacts-
|
|
216
|
+
const { SYNC_BODY_CAP, parseArtifactSyncBody } = await import("./artifacts-CGJQi12P.mjs");
|
|
217
217
|
const parsed = await readJsonBody(request, SYNC_BODY_CAP);
|
|
218
218
|
if (parsed.kind === "too-large") return Response.json({ error: "sync body too large" }, { status: 413 });
|
|
219
219
|
if (parsed.kind === "invalid") return Response.json({ error: "invalid JSON" }, { status: 400 });
|
|
220
220
|
const body = parseArtifactSyncBody(parsed.body);
|
|
221
221
|
if (!body) return Response.json({ error: "invalid sync body" }, { status: 400 });
|
|
222
|
-
const { getArtifactSync } = await import("./boot-
|
|
222
|
+
const { getArtifactSync } = await import("./boot-DF8p07PC.mjs");
|
|
223
223
|
const r = await (await getArtifactSync()).sync(token, body);
|
|
224
224
|
return Response.json(r.body, { status: r.status });
|
|
225
225
|
} } } });
|
|
@@ -230,7 +230,7 @@ var Route$6 = createFileRoute("/api/machine/status")({ server: { handlers: { GET
|
|
|
230
230
|
const limited = machineRouteLimit(request, token || void 0);
|
|
231
231
|
if (limited) return limited;
|
|
232
232
|
if (!token) return Response.json({ error: "missing device token" }, { status: 401 });
|
|
233
|
-
const { getGateway } = await import("./boot-
|
|
233
|
+
const { getGateway } = await import("./boot-DF8p07PC.mjs");
|
|
234
234
|
const r = await (await getGateway()).status(token);
|
|
235
235
|
return Response.json(r.body, { status: r.status });
|
|
236
236
|
} } } });
|
|
@@ -274,7 +274,7 @@ var Route$5 = createFileRoute("/api/machine/poll")({ server: { handlers: { POST:
|
|
|
274
274
|
if (parsed.kind !== "ok") return Response.json({ error: "invalid JSON body" }, { status: 400 });
|
|
275
275
|
const body = parsePollBody(parsed.body);
|
|
276
276
|
if (!body) return Response.json({ error: "unknown or invalid poll body fields" }, { status: 400 });
|
|
277
|
-
const { getGateway } = await import("./boot-
|
|
277
|
+
const { getGateway } = await import("./boot-DF8p07PC.mjs");
|
|
278
278
|
const r = await (await getGateway()).pollV4Wait(token, gatewayPollRequest(body));
|
|
279
279
|
return Response.json(r.body, { status: r.status });
|
|
280
280
|
} } } });
|
|
@@ -301,7 +301,7 @@ var Route$4 = createFileRoute("/api/machine/cli")({ server: { handlers: { POST:
|
|
|
301
301
|
if (parsed.kind === "too-large") return Response.json({ error: "body too large" }, { status: 413 });
|
|
302
302
|
const body = parsed.kind === "ok" ? parseCliBody(parsed.body) : null;
|
|
303
303
|
if (!body) return Response.json({ error: "body must be exactly {argv:string[]}" }, { status: 400 });
|
|
304
|
-
const { getCliGateway } = await import("./boot-
|
|
304
|
+
const { getCliGateway } = await import("./boot-DF8p07PC.mjs");
|
|
305
305
|
const r = await (await getCliGateway()).cli(token, body.argv);
|
|
306
306
|
return Response.json(r.body, { status: r.status });
|
|
307
307
|
} } } });
|
|
@@ -330,7 +330,7 @@ var Route$4 = createFileRoute("/api/machine/cli")({ server: { handlers: { POST:
|
|
|
330
330
|
var PROBE_TIMEOUT_MS = 5e3;
|
|
331
331
|
var Route$3 = createFileRoute("/api/health/db")({ server: { handlers: { GET: async () => {
|
|
332
332
|
try {
|
|
333
|
-
const { db } = await import("./db-
|
|
333
|
+
const { db } = await import("./db-DS0gckHd.mjs");
|
|
334
334
|
const ping = db.execute(sql`select 1`);
|
|
335
335
|
const timeout = new Promise((_, reject) => {
|
|
336
336
|
setTimeout(() => reject(/* @__PURE__ */ new Error(`db ping timed out after ${PROBE_TIMEOUT_MS}ms`)), PROBE_TIMEOUT_MS).unref?.();
|
|
@@ -350,8 +350,8 @@ var Route$3 = createFileRoute("/api/health/db")({ server: { handlers: { GET: asy
|
|
|
350
350
|
} } } });
|
|
351
351
|
/** Better Auth handler — GET/POST /api/auth/* (OAuth callbacks, session, sign-out). */
|
|
352
352
|
var Route$2 = createFileRoute("/api/auth/$")({ server: { handlers: {
|
|
353
|
-
GET: async ({ request }) => (await import("./auth-
|
|
354
|
-
POST: async ({ request }) => (await import("./auth-
|
|
353
|
+
GET: async ({ request }) => (await import("./auth-pONvN2Mo.mjs")).auth.handler(request),
|
|
354
|
+
POST: async ({ request }) => (await import("./auth-pONvN2Mo.mjs")).auth.handler(request)
|
|
355
355
|
} } });
|
|
356
356
|
/**
|
|
357
357
|
* `decodeURIComponent` that returns null on malformed percent-encoding instead
|
|
@@ -385,12 +385,12 @@ var Route$1 = createFileRoute("/api/machine/blob/$hash")({ server: { handlers: {
|
|
|
385
385
|
if (!token) return Response.json({ error: "missing device token" }, { status: 401 });
|
|
386
386
|
const hash = safeDecode(new URL(request.url).pathname.split("/").pop() ?? "");
|
|
387
387
|
if (hash === null) return Response.json({ error: "bad hash" }, { status: 400 });
|
|
388
|
-
const { BLOB_CAP } = await import("./artifacts-
|
|
388
|
+
const { BLOB_CAP } = await import("./artifacts-CGJQi12P.mjs");
|
|
389
389
|
const body = await readByteBody(request, BLOB_CAP);
|
|
390
390
|
if (body.kind === "too-large") return Response.json({ error: "blob exceeds size cap" }, { status: 413 });
|
|
391
391
|
if (body.kind === "invalid") return Response.json({ error: "could not read blob body" }, { status: 400 });
|
|
392
392
|
const buf = Buffer.from(body.bytes.buffer, body.bytes.byteOffset, body.bytes.byteLength);
|
|
393
|
-
const { getArtifactSync } = await import("./boot-
|
|
393
|
+
const { getArtifactSync } = await import("./boot-DF8p07PC.mjs");
|
|
394
394
|
const r = await (await getArtifactSync()).putBlob(token, hash, buf);
|
|
395
395
|
return Response.json(r.body, { status: r.status });
|
|
396
396
|
} } } });
|
|
@@ -425,11 +425,11 @@ var Route = createFileRoute("/api/artifact/$loopId/$")({ server: { handlers: { G
|
|
|
425
425
|
const segments = after.slice(slash + 1).split("/").map((s) => safeDecode(s));
|
|
426
426
|
if (segments.some((s) => s === null)) return Response.json({ error: "bad path" }, { status: 400 });
|
|
427
427
|
const relPath = segments.join("/");
|
|
428
|
-
const loop = await (await import("./store-
|
|
428
|
+
const loop = await (await import("./store-yOJEt4It.mjs")).getLoop(loopId);
|
|
429
429
|
if (!loop) return Response.json({ error: "not found" }, { status: 404 });
|
|
430
|
-
const { requestScope, canAccessLoop } = await import("./auth-
|
|
430
|
+
const { requestScope, canAccessLoop } = await import("./auth-pONvN2Mo.mjs");
|
|
431
431
|
if (!await canAccessLoop(loop.teamId, await requestScope())) return Response.json({ error: "not found" }, { status: 404 });
|
|
432
|
-
const { readLoopArtifactBytes } = await import("./artifactFiles-
|
|
432
|
+
const { readLoopArtifactBytes } = await import("./artifactFiles-Dg7Csxw-.mjs");
|
|
433
433
|
const r = await readLoopArtifactBytes(loopId, relPath);
|
|
434
434
|
if (r.status !== 200 || !r.bytes) return Response.json({ error: "not found" }, { status: r.status });
|
|
435
435
|
const filename = (r.filename || "file").replace(/["\\\r\n]/g, "_");
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { h as require_jsx_runtime } from "../_libs/@base-ui/react+[...].mjs";
|
|
2
|
-
import { E as useSession } from "./SocialLinks-
|
|
3
|
-
import { t as SignIn } from "./SignIn-
|
|
4
|
-
import { t as DashboardView } from "./DashboardView-
|
|
5
|
-
import { t as Route } from "./routes-
|
|
6
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/routes-
|
|
2
|
+
import { E as useSession } from "./SocialLinks-ZYIMrv4W.mjs";
|
|
3
|
+
import { t as SignIn } from "./SignIn-kgyyAjxa.mjs";
|
|
4
|
+
import { t as DashboardView } from "./DashboardView-Dj-FImnr.mjs";
|
|
5
|
+
import { t as Route } from "./routes-Bx3C3K_H.mjs";
|
|
6
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/routes-BwTvON37.js
|
|
7
7
|
var import_jsx_runtime = require_jsx_runtime();
|
|
8
8
|
/**
|
|
9
9
|
* The home route. Under the auth gate it is now a THIN redirect to the explicit
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { c as createFileRoute, p as redirect, s as lazyRouteComponent } from "../_libs/@tanstack/react-router+[...].mjs";
|
|
2
|
-
import { f as getDefaultTeam, i as authClient, u as getAuthState } from "./SocialLinks-
|
|
3
|
-
import { n as fetchLiveData } from "./DashboardView-
|
|
4
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/routes-
|
|
2
|
+
import { f as getDefaultTeam, i as authClient, u as getAuthState } from "./SocialLinks-ZYIMrv4W.mjs";
|
|
3
|
+
import { n as fetchLiveData } from "./DashboardView-Dj-FImnr.mjs";
|
|
4
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/routes-Bx3C3K_H.js
|
|
5
5
|
var $$splitErrorComponentImporter = () => import("./routes-D5GHah06.mjs");
|
|
6
|
-
var $$splitComponentImporter = () => import("./routes-
|
|
6
|
+
var $$splitComponentImporter = () => import("./routes-BwTvON37.mjs");
|
|
7
7
|
/**
|
|
8
8
|
* The home route. Under the auth gate it is now a THIN redirect to the explicit
|
|
9
9
|
* team URL (`/t/<lastUsed|personal>`) so the dashboard's team lives in the path
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as __exportAll } from "../_runtime.mjs";
|
|
2
|
-
import { i as __exportAll$1 } from "./factory-
|
|
2
|
+
import { i as __exportAll$1 } from "./factory-D7WCUKnW.mjs";
|
|
3
3
|
import { g as require_react, h as require_jsx_runtime } from "../_libs/@base-ui/react+[...].mjs";
|
|
4
4
|
import { a as RouterProvider, n as defineHandlerCallback, t as renderRouterToStream } from "../_libs/@tanstack/react-router+[...].mjs";
|
|
5
5
|
import { PassThrough, Readable } from "node:stream";
|
|
@@ -3418,7 +3418,7 @@ var defaultSerovalPlugins = [
|
|
|
3418
3418
|
* the dev styles URL for route-scoped CSS collection.
|
|
3419
3419
|
*/
|
|
3420
3420
|
async function getStartManifest(matchedRoutes) {
|
|
3421
|
-
const { tsrStartManifest } = await import("../_tanstack-start-manifest_v-
|
|
3421
|
+
const { tsrStartManifest } = await import("../_tanstack-start-manifest_v-qnHwyto-.mjs");
|
|
3422
3422
|
const startManifest = tsrStartManifest();
|
|
3423
3423
|
let routes = startManifest.routes;
|
|
3424
3424
|
routes[rootRouteId];
|
|
@@ -3440,147 +3440,147 @@ async function getStartManifest(matchedRoutes) {
|
|
|
3440
3440
|
var manifest = {
|
|
3441
3441
|
"08565e35f6a3dd06ef25401de0343976c47f7ae319d3baed6320b56dd3718311": {
|
|
3442
3442
|
functionName: "runLoop_createServerFn_handler",
|
|
3443
|
-
importer: () => import("./loopApi-
|
|
3443
|
+
importer: () => import("./loopApi-Vb7RrshX.mjs")
|
|
3444
3444
|
},
|
|
3445
3445
|
"08c28b892712a1b491b120b74c7dcb81761988d31ccea60216d1807b73c1182c": {
|
|
3446
3446
|
functionName: "getRunDiff_createServerFn_handler",
|
|
3447
|
-
importer: () => import("./loopApi-
|
|
3447
|
+
importer: () => import("./loopApi-Vb7RrshX.mjs")
|
|
3448
3448
|
},
|
|
3449
3449
|
"0f279cfe81021a642289ce6e95622e7198aaeab4147880f85824a02ee9ebafcf": {
|
|
3450
3450
|
functionName: "createTeam_createServerFn_handler",
|
|
3451
|
-
importer: () => import("./teamFns-
|
|
3451
|
+
importer: () => import("./teamFns-BVjiPvv8.mjs")
|
|
3452
3452
|
},
|
|
3453
3453
|
"0fe12e769203c42f432a927b9cbf13a967a0f9db567b61843598f734afb4f5c6": {
|
|
3454
3454
|
functionName: "listMyTeams_createServerFn_handler",
|
|
3455
|
-
importer: () => import("./loopApi-
|
|
3455
|
+
importer: () => import("./loopApi-Vb7RrshX.mjs")
|
|
3456
3456
|
},
|
|
3457
3457
|
"169566e7637a22599b4eb32ee3775574e99677406922bbef7482a102036c33dd": {
|
|
3458
3458
|
functionName: "machineStatus_createServerFn_handler",
|
|
3459
|
-
importer: () => import("./machineFns-
|
|
3459
|
+
importer: () => import("./machineFns-BFBPpfxd.mjs")
|
|
3460
3460
|
},
|
|
3461
3461
|
"23e290b2b7483ceea6fe669024c35b12c2c4ddd76649f6fab21c958ceda02940": {
|
|
3462
3462
|
functionName: "listLoops_createServerFn_handler",
|
|
3463
|
-
importer: () => import("./loopApi-
|
|
3463
|
+
importer: () => import("./loopApi-Vb7RrshX.mjs")
|
|
3464
3464
|
},
|
|
3465
3465
|
"27d7eba0b6a2257949392fdd56057275a5c5366484ae01faf3b5897a225ecd83": {
|
|
3466
3466
|
functionName: "finalizeMachine_createServerFn_handler",
|
|
3467
|
-
importer: () => import("./machineFns-
|
|
3467
|
+
importer: () => import("./machineFns-BFBPpfxd.mjs")
|
|
3468
3468
|
},
|
|
3469
3469
|
"284cb82b5e5cb37242d053b1b14449760d8334e9dadffc6dcbba11db2200a709": {
|
|
3470
3470
|
functionName: "addTeamMember_createServerFn_handler",
|
|
3471
|
-
importer: () => import("./teamFns-
|
|
3471
|
+
importer: () => import("./teamFns-BVjiPvv8.mjs")
|
|
3472
3472
|
},
|
|
3473
3473
|
"4646f52fb09b83c9c9cef34836f3c9d03416423c879d9e5ceffcafd9a71ecba6": {
|
|
3474
3474
|
functionName: "mintClaim_createServerFn_handler",
|
|
3475
|
-
importer: () => import("./loopApi-
|
|
3475
|
+
importer: () => import("./loopApi-Vb7RrshX.mjs")
|
|
3476
3476
|
},
|
|
3477
3477
|
"5660ea82ea5ff2549e0ce2f8f070c54f3e9e24fee84d547601ef5d6ef49a4016": {
|
|
3478
3478
|
functionName: "startLoop_createServerFn_handler",
|
|
3479
|
-
importer: () => import("./loopApi-
|
|
3479
|
+
importer: () => import("./loopApi-Vb7RrshX.mjs")
|
|
3480
3480
|
},
|
|
3481
3481
|
"5721e01d84c20ffde19d2191648d76a7e5ede3bbb4f44efa59107a786947cf27": {
|
|
3482
3482
|
functionName: "renameTeam_createServerFn_handler",
|
|
3483
|
-
importer: () => import("./teamFns-
|
|
3483
|
+
importer: () => import("./teamFns-BVjiPvv8.mjs")
|
|
3484
3484
|
},
|
|
3485
3485
|
"5e0d6b55f5629faac2f55a68661eeb82668b2be752192b16264ffb5cd1e6fabe": {
|
|
3486
3486
|
functionName: "deleteLoop_createServerFn_handler",
|
|
3487
|
-
importer: () => import("./loopApi-
|
|
3487
|
+
importer: () => import("./loopApi-Vb7RrshX.mjs")
|
|
3488
3488
|
},
|
|
3489
3489
|
"6850ba403da9dec5aff45794eb52636ca540ddec2d9e59f5c75ccbb852bfeacb": {
|
|
3490
3490
|
functionName: "stopRun_createServerFn_handler",
|
|
3491
|
-
importer: () => import("./loopApi-
|
|
3491
|
+
importer: () => import("./loopApi-Vb7RrshX.mjs")
|
|
3492
3492
|
},
|
|
3493
3493
|
"6f5fe23f6da1d4aecc198b6f71a041c0fe29cabb6ccad807bb3f16c23c5bd9cd": {
|
|
3494
3494
|
functionName: "redeemTeamInvite_createServerFn_handler",
|
|
3495
|
-
importer: () => import("./teamFns-
|
|
3495
|
+
importer: () => import("./teamFns-BVjiPvv8.mjs")
|
|
3496
3496
|
},
|
|
3497
3497
|
"7cc22b3a0f6b1c4c73463c3401e981ad42caf6487b479b738ee5aeacb11710da": {
|
|
3498
3498
|
functionName: "canViewTeam_createServerFn_handler",
|
|
3499
|
-
importer: () => import("./loopApi-
|
|
3499
|
+
importer: () => import("./loopApi-Vb7RrshX.mjs")
|
|
3500
3500
|
},
|
|
3501
3501
|
"85fdf73d4fee43aed762f93c5d47d33200fbff39e2d082647dc921f610d32698": {
|
|
3502
3502
|
functionName: "loadOlderRuns_createServerFn_handler",
|
|
3503
|
-
importer: () => import("./loopApi-
|
|
3503
|
+
importer: () => import("./loopApi-Vb7RrshX.mjs")
|
|
3504
3504
|
},
|
|
3505
3505
|
"94d1108f156fa2273cb78140852e9c3e368de0b8321db0de932a16567671716f": {
|
|
3506
3506
|
functionName: "listManagedTeams_createServerFn_handler",
|
|
3507
|
-
importer: () => import("./teamFns-
|
|
3507
|
+
importer: () => import("./teamFns-BVjiPvv8.mjs")
|
|
3508
3508
|
},
|
|
3509
3509
|
"95b7483b333d7649e70c848319417e83c2af6a0327bbcda2d0e331f626dffe05": {
|
|
3510
3510
|
functionName: "pauseLoop_createServerFn_handler",
|
|
3511
|
-
importer: () => import("./loopApi-
|
|
3511
|
+
importer: () => import("./loopApi-Vb7RrshX.mjs")
|
|
3512
3512
|
},
|
|
3513
3513
|
"9befe6b8d67ccbbd7aa9b538bde2a161a9894761c8936761a9503fda1a88c0fc": {
|
|
3514
3514
|
functionName: "patchLoop_createServerFn_handler",
|
|
3515
|
-
importer: () => import("./loopApi-
|
|
3515
|
+
importer: () => import("./loopApi-Vb7RrshX.mjs")
|
|
3516
3516
|
},
|
|
3517
3517
|
"a3326ed8ecd726fbcc28a439bf0012983cbe387d5062e0155096ee5a558e313b": {
|
|
3518
3518
|
functionName: "removeTeamMember_createServerFn_handler",
|
|
3519
|
-
importer: () => import("./teamFns-
|
|
3519
|
+
importer: () => import("./teamFns-BVjiPvv8.mjs")
|
|
3520
3520
|
},
|
|
3521
3521
|
"a6384dc7154d9930422d29396f5de64b3ac69c62ad3824bc4a22d745fc07b293": {
|
|
3522
3522
|
functionName: "deleteMachine_createServerFn_handler",
|
|
3523
|
-
importer: () => import("./machineFns-
|
|
3523
|
+
importer: () => import("./machineFns-BFBPpfxd.mjs")
|
|
3524
3524
|
},
|
|
3525
3525
|
"aa46310016bb8a58b273a648ffd498c87f1f450d12827e30110a3b83ba6a27d9": {
|
|
3526
3526
|
functionName: "listMachines_createServerFn_handler",
|
|
3527
|
-
importer: () => import("./machineFns-
|
|
3527
|
+
importer: () => import("./machineFns-BFBPpfxd.mjs")
|
|
3528
3528
|
},
|
|
3529
3529
|
"b050455aacc84dd2a2c9a45517826ad10f91d8f1545e87cc7015784cc7116a97": {
|
|
3530
3530
|
functionName: "getLoopDetail_createServerFn_handler",
|
|
3531
|
-
importer: () => import("./loopApi-
|
|
3531
|
+
importer: () => import("./loopApi-Vb7RrshX.mjs")
|
|
3532
3532
|
},
|
|
3533
3533
|
"b18bbec3d06dfc77714e1e527dfb9172fd7575a64a6c0d6e73ba6dc658dccf0d": {
|
|
3534
3534
|
functionName: "getArtifacts_createServerFn_handler",
|
|
3535
|
-
importer: () => import("./loopApi-
|
|
3535
|
+
importer: () => import("./loopApi-Vb7RrshX.mjs")
|
|
3536
3536
|
},
|
|
3537
3537
|
"b8119d5fe6ca1ed9f609702aa2133b5ac5337030c0bdcf92dc7eba889d6bd2e6": {
|
|
3538
3538
|
functionName: "getAuthState_createServerFn_handler",
|
|
3539
|
-
importer: () => import("./loopApi-
|
|
3539
|
+
importer: () => import("./loopApi-Vb7RrshX.mjs")
|
|
3540
3540
|
},
|
|
3541
3541
|
"b92e9a08eda2d217bf4028f90dbc6bf7d7e8d7c148ebb8a8330286b5935a3fa1": {
|
|
3542
3542
|
functionName: "revokeTeamInvite_createServerFn_handler",
|
|
3543
|
-
importer: () => import("./teamFns-
|
|
3543
|
+
importer: () => import("./teamFns-BVjiPvv8.mjs")
|
|
3544
3544
|
},
|
|
3545
3545
|
"bbc1020c771335020ef51b326d74b1649966740f273913d32040fa2c3c9f5f0b": {
|
|
3546
3546
|
functionName: "createTeamInvite_createServerFn_handler",
|
|
3547
|
-
importer: () => import("./teamFns-
|
|
3547
|
+
importer: () => import("./teamFns-BVjiPvv8.mjs")
|
|
3548
3548
|
},
|
|
3549
3549
|
"c3762cecd4a15f7eca064bca295255e942d7c3dce65f66f8593ae145fd7859a0": {
|
|
3550
3550
|
functionName: "setTeamMemberRole_createServerFn_handler",
|
|
3551
|
-
importer: () => import("./teamFns-
|
|
3551
|
+
importer: () => import("./teamFns-BVjiPvv8.mjs")
|
|
3552
3552
|
},
|
|
3553
3553
|
"cbb6a1b09b309459bbba3dc3851ae85fc468658b3cda77e22b6c6f3e28b65af4": {
|
|
3554
3554
|
functionName: "getConfig_createServerFn_handler",
|
|
3555
|
-
importer: () => import("./loopApi-
|
|
3555
|
+
importer: () => import("./loopApi-Vb7RrshX.mjs")
|
|
3556
3556
|
},
|
|
3557
3557
|
"d2372a81af17eb3a7e4c1407d6ef26a8a9522b66fd6a94858cb35c864b270d77": {
|
|
3558
3558
|
functionName: "deleteTeam_createServerFn_handler",
|
|
3559
|
-
importer: () => import("./teamFns-
|
|
3559
|
+
importer: () => import("./teamFns-BVjiPvv8.mjs")
|
|
3560
3560
|
},
|
|
3561
3561
|
"dc0ec955d0d53a150a3e9a4673f98f3509cfb4bd411c512079ae4e94c561b70c": {
|
|
3562
3562
|
functionName: "getDefaultTeam_createServerFn_handler",
|
|
3563
|
-
importer: () => import("./loopApi-
|
|
3563
|
+
importer: () => import("./loopApi-Vb7RrshX.mjs")
|
|
3564
3564
|
},
|
|
3565
3565
|
"e233a461e4526dec3cc4cbaa891a7c3621d5967ce7f32b4fb17e9fb645857b9a": {
|
|
3566
3566
|
functionName: "stopLoop_createServerFn_handler",
|
|
3567
|
-
importer: () => import("./loopApi-
|
|
3567
|
+
importer: () => import("./loopApi-Vb7RrshX.mjs")
|
|
3568
3568
|
},
|
|
3569
3569
|
"ed10d5fe79208e5e0e4e18e4a17b18d7f7db4dd16204c00c3ac90c4644668841": {
|
|
3570
3570
|
functionName: "getArtifact_createServerFn_handler",
|
|
3571
|
-
importer: () => import("./loopApi-
|
|
3571
|
+
importer: () => import("./loopApi-Vb7RrshX.mjs")
|
|
3572
3572
|
},
|
|
3573
3573
|
"ed679b4e1e05e903a5d4ba4a70d9b9d883991ab22ed59b4d2d69078941818415": {
|
|
3574
3574
|
functionName: "createMachine_createServerFn_handler",
|
|
3575
|
-
importer: () => import("./machineFns-
|
|
3575
|
+
importer: () => import("./machineFns-BFBPpfxd.mjs")
|
|
3576
3576
|
},
|
|
3577
3577
|
"fc7a4775f418dde12f422ff9ca65d9e07428fb0dc35c9399592c0081467330bf": {
|
|
3578
3578
|
functionName: "getTeamDetail_createServerFn_handler",
|
|
3579
|
-
importer: () => import("./teamFns-
|
|
3579
|
+
importer: () => import("./teamFns-BVjiPvv8.mjs")
|
|
3580
3580
|
},
|
|
3581
3581
|
"fe7cc1df829414194e9b0615b86584c8510369da18f4d8805ccd76468cadf2ff": {
|
|
3582
3582
|
functionName: "leaveTeam_createServerFn_handler",
|
|
3583
|
-
importer: () => import("./teamFns-
|
|
3583
|
+
importer: () => import("./teamFns-BVjiPvv8.mjs")
|
|
3584
3584
|
}
|
|
3585
3585
|
};
|
|
3586
3586
|
async function getServerFnById(id, access) {
|
|
@@ -5412,7 +5412,7 @@ var getBaseManifest = getProdBaseManifest;
|
|
|
5412
5412
|
var createEarlyHintsForRequest = createEarlyHintsCollector;
|
|
5413
5413
|
async function loadEntries() {
|
|
5414
5414
|
const [routerEntry, startEntry, pluginAdapters] = await Promise.all([
|
|
5415
|
-
import("./router-
|
|
5415
|
+
import("./router-DfegU72d.mjs"),
|
|
5416
5416
|
import("./start-4ifArtKx.mjs"),
|
|
5417
5417
|
import("./empty-plugin-adapters-DKUlnwwl.mjs")
|
|
5418
5418
|
]);
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { h as require_jsx_runtime } from "../_libs/@base-ui/react+[...].mjs";
|
|
2
|
-
import { E as useSession } from "./SocialLinks-
|
|
3
|
-
import { t as SignIn } from "./SignIn-
|
|
4
|
-
import { t as DashboardView } from "./DashboardView-
|
|
5
|
-
import { t as Route } from "./t._teamId-
|
|
6
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/t._teamId-
|
|
2
|
+
import { E as useSession } from "./SocialLinks-ZYIMrv4W.mjs";
|
|
3
|
+
import { t as SignIn } from "./SignIn-kgyyAjxa.mjs";
|
|
4
|
+
import { t as DashboardView } from "./DashboardView-Dj-FImnr.mjs";
|
|
5
|
+
import { t as Route } from "./t._teamId-CpPl9_XU.mjs";
|
|
6
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/t._teamId-BFs1MfBR.js
|
|
7
7
|
var import_jsx_runtime = require_jsx_runtime();
|
|
8
8
|
/**
|
|
9
9
|
* The explicit-team dashboard (`/t/<teamId>`): the same dashboard scoped
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { c as createFileRoute, s as lazyRouteComponent } from "../_libs/@tanstack/react-router+[...].mjs";
|
|
2
|
-
import { a as canViewTeam, i as authClient, u as getAuthState } from "./SocialLinks-
|
|
3
|
-
import { n as fetchLiveData } from "./DashboardView-
|
|
4
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/t._teamId-
|
|
2
|
+
import { a as canViewTeam, i as authClient, u as getAuthState } from "./SocialLinks-ZYIMrv4W.mjs";
|
|
3
|
+
import { n as fetchLiveData } from "./DashboardView-Dj-FImnr.mjs";
|
|
4
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/t._teamId-CpPl9_XU.js
|
|
5
5
|
var $$splitErrorComponentImporter = () => import("./t._teamId-CrZ7EkUL.mjs");
|
|
6
|
-
var $$splitComponentImporter = () => import("./t._teamId-
|
|
6
|
+
var $$splitComponentImporter = () => import("./t._teamId-BFs1MfBR.mjs");
|
|
7
7
|
/**
|
|
8
8
|
* The explicit-team dashboard (`/t/<teamId>`): the same dashboard scoped
|
|
9
9
|
* to the team in the PATH, so a view is bookmarkable and each browser tab keeps
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { n as createServerFn } from "./ssr.mjs";
|
|
2
|
-
import { o as createSsrRpc } from "./SocialLinks-
|
|
3
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/teamFns-
|
|
2
|
+
import { o as createSsrRpc } from "./SocialLinks-ZYIMrv4W.mjs";
|
|
3
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/teamFns-3lItAtfc.js
|
|
4
4
|
/**
|
|
5
5
|
* Team management server functions — the thin RPC surface over `teamAdmin`
|
|
6
6
|
* (which holds all the rules + authorization). Every mutating fn takes an
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { A as ensureServer, At as redeemInviteAtomic, Mt as removeTeamMemberGuarded, Nt as renameTeam$2, O as deleteInvite, S as createInvite$1, U as getInvite, X as getTeamMember, Y as getTeam, Yt as userByEmail, _t as listTeamsForUser, gt as listTeamMembers, k as deleteTeamCascade, m as addTeamMember$1, nt as isPersonalTeam, pt as listPendingInvites, v as countLoopsForTeam, w as createTeam$2, zt as setTeamMemberRoleGuarded } from "./boot-
|
|
2
|
-
import { authEnabled, currentUserId } from "./auth-
|
|
1
|
+
import { A as ensureServer, At as redeemInviteAtomic, Mt as removeTeamMemberGuarded, Nt as renameTeam$2, O as deleteInvite, S as createInvite$1, U as getInvite, X as getTeamMember, Y as getTeam, Yt as userByEmail, _t as listTeamsForUser, gt as listTeamMembers, k as deleteTeamCascade, m as addTeamMember$1, nt as isPersonalTeam, pt as listPendingInvites, v as countLoopsForTeam, w as createTeam$2, zt as setTeamMemberRoleGuarded } from "./boot-DoRoAQuI.mjs";
|
|
2
|
+
import { authEnabled, currentUserId } from "./auth-pONvN2Mo.mjs";
|
|
3
3
|
import { n as createServerFn } from "./ssr.mjs";
|
|
4
4
|
import { t as createServerRpc } from "./createServerRpc-BD8Xn_0_.mjs";
|
|
5
5
|
import { randomUUID } from "node:crypto";
|
|
6
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/teamFns-
|
|
6
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/teamFns-BVjiPvv8.js
|
|
7
7
|
/** Framework-free team authorization and membership rules. Every operation uses an
|
|
8
8
|
* explicit team id; management is owner-only, personal teams cannot be left or
|
|
9
9
|
* deleted, each team retains an owner, loops block deletion, and invites never
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { St as mintDeviceToken, jt as rememberConnectKey } from "./boot-
|
|
1
|
+
import { St as mintDeviceToken, jt as rememberConnectKey } from "./boot-DoRoAQuI.mjs";
|
|
2
2
|
export { mintDeviceToken, rememberConnectKey };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/_tanstack-start-manifest_v-
|
|
1
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/_tanstack-start-manifest_v-qnHwyto-.js
|
|
2
2
|
var tsrStartManifest = () => ({ routes: {
|
|
3
3
|
__root__: {
|
|
4
4
|
filePath: "/home/runner/work/pievo/pievo/packages/server/src/routes/__root.tsx",
|
|
@@ -20,15 +20,15 @@ var tsrStartManifest = () => ({ routes: {
|
|
|
20
20
|
"/loops/$loopId_/runs/$runId"
|
|
21
21
|
],
|
|
22
22
|
preloads: [
|
|
23
|
-
"/assets/index-
|
|
23
|
+
"/assets/index-DXJGEV9d.js",
|
|
24
24
|
"/assets/ui-s5IMg6RF.js",
|
|
25
25
|
"/assets/preload-helper-Bs7oCAsw.js",
|
|
26
|
-
"/assets/MachinesModal-
|
|
26
|
+
"/assets/MachinesModal-wxHeRJsP.js"
|
|
27
27
|
],
|
|
28
28
|
scripts: [{ attrs: {
|
|
29
29
|
type: "module",
|
|
30
30
|
async: !0,
|
|
31
|
-
src: "/assets/index-
|
|
31
|
+
src: "/assets/index-DXJGEV9d.js"
|
|
32
32
|
} }]
|
|
33
33
|
},
|
|
34
34
|
"/": {
|
|
@@ -37,7 +37,7 @@ var tsrStartManifest = () => ({ routes: {
|
|
|
37
37
|
preloads: [
|
|
38
38
|
"/assets/routes-4N6mrQK_.js",
|
|
39
39
|
"/assets/actionUi-yYVvoOTn.js",
|
|
40
|
-
"/assets/routes-
|
|
40
|
+
"/assets/routes-BcmIcHul.js",
|
|
41
41
|
"/assets/SignIn-Cf4HOpdF.js"
|
|
42
42
|
]
|
|
43
43
|
},
|
|
@@ -47,7 +47,7 @@ var tsrStartManifest = () => ({ routes: {
|
|
|
47
47
|
preloads: [
|
|
48
48
|
"/assets/invite._token-B0EKVyrU.js",
|
|
49
49
|
"/assets/actionUi-yYVvoOTn.js",
|
|
50
|
-
"/assets/invite._token-
|
|
50
|
+
"/assets/invite._token-DgbAZ8tR.js",
|
|
51
51
|
"/assets/SignIn-Cf4HOpdF.js"
|
|
52
52
|
]
|
|
53
53
|
},
|
|
@@ -55,7 +55,7 @@ var tsrStartManifest = () => ({ routes: {
|
|
|
55
55
|
filePath: "/home/runner/work/pievo/pievo/packages/server/src/routes/loops.$loopId.tsx",
|
|
56
56
|
children: void 0,
|
|
57
57
|
preloads: [
|
|
58
|
-
"/assets/loops._loopId-
|
|
58
|
+
"/assets/loops._loopId-hqovx5nj.js",
|
|
59
59
|
"/assets/SignIn-Cf4HOpdF.js",
|
|
60
60
|
"/assets/actionUi-yYVvoOTn.js",
|
|
61
61
|
"/assets/lifecycleUi-C0DaC6NM.js"
|
|
@@ -65,17 +65,17 @@ var tsrStartManifest = () => ({ routes: {
|
|
|
65
65
|
filePath: "/home/runner/work/pievo/pievo/packages/server/src/routes/t.$teamId.tsx",
|
|
66
66
|
children: void 0,
|
|
67
67
|
preloads: [
|
|
68
|
-
"/assets/t._teamId-BmUhbnOU.js",
|
|
69
|
-
"/assets/SignIn-Cf4HOpdF.js",
|
|
70
68
|
"/assets/t._teamId-CAUjvMZ6.js",
|
|
71
|
-
"/assets/actionUi-yYVvoOTn.js"
|
|
69
|
+
"/assets/actionUi-yYVvoOTn.js",
|
|
70
|
+
"/assets/t._teamId-CJOyBon9.js",
|
|
71
|
+
"/assets/SignIn-Cf4HOpdF.js"
|
|
72
72
|
]
|
|
73
73
|
},
|
|
74
74
|
"/loops/$loopId_/runs/$runId": {
|
|
75
75
|
filePath: "/home/runner/work/pievo/pievo/packages/server/src/routes/loops.$loopId_.runs.$runId.tsx",
|
|
76
76
|
children: void 0,
|
|
77
77
|
preloads: [
|
|
78
|
-
"/assets/loops._loopId_.runs._runId-
|
|
78
|
+
"/assets/loops._loopId_.runs._runId-B233CSov.js",
|
|
79
79
|
"/assets/SignIn-Cf4HOpdF.js",
|
|
80
80
|
"/assets/actionUi-yYVvoOTn.js",
|
|
81
81
|
"/assets/lifecycleUi-C0DaC6NM.js"
|