@kky42/pievo-server 2.2.0 → 2.4.1
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-CEddj7la.js +1 -0
- package/.output/public/assets/SignIn-BdkKWOSs.js +1 -0
- package/.output/public/assets/actionUi-BYBeYy7U.js +1 -0
- package/.output/public/assets/app-BAgHQVvr.css +2 -0
- package/.output/public/assets/index-BZLqD3JI.js +12 -0
- package/.output/public/assets/invite._token-BCLgmTO7.js +1 -0
- package/.output/public/assets/invite._token-ZnVQqqq4.js +1 -0
- package/.output/public/assets/lifecycleUi-C7dwHtbw.js +1 -0
- package/.output/public/assets/loops._loopId-X8PSlgdB.js +67 -0
- package/.output/public/assets/loops._loopId_.runs._runId-CA0-q1y5.js +3 -0
- package/.output/public/assets/preload-helper-CUIO87nJ.js +5 -0
- package/.output/public/assets/routes-BjKcDy6D.js +1 -0
- package/.output/public/assets/routes-bfMcArTT.js +1 -0
- package/.output/public/assets/t._teamId-B75J8h0x.js +1 -0
- package/.output/public/assets/t._teamId-D7WVPMDr.js +1 -0
- package/.output/public/assets/ui-DGOT8AoZ.js +1 -0
- package/.output/server/_libs/@base-ui/react+[...].mjs +4130 -4130
- package/.output/server/_libs/@tanstack/react-router+[...].mjs +1 -1
- package/.output/server/_libs/drizzle-orm+postgres.mjs +28 -1
- package/.output/server/_ssr/DashboardView-D_hKsCsv.mjs +1098 -0
- package/.output/server/_ssr/{notifyFns-DXMbgYu2.mjs → MachinesModal-DZ_9ErAU.mjs} +57 -35
- package/.output/server/_ssr/{SignIn-C4fSJl_j.mjs → SignIn-DjSrg0nO.mjs} +10 -24
- package/.output/server/_ssr/SocialLinks-BTjsnVOm.mjs +1051 -0
- package/.output/server/_ssr/{actionUi-BKF6xI3d.mjs → actionUi-D15R8L7R.mjs} +3 -3
- package/.output/server/_ssr/{artifactFiles-C8PQKN6V.mjs → artifactFiles-CV3OXxRD.mjs} +7 -8
- package/.output/server/_ssr/{artifactKind-BW0isV8L.mjs → artifactKind-ByzVa7fg.mjs} +27 -2
- package/.output/server/_ssr/artifacts-BhQvaGjF.mjs +2 -0
- package/.output/server/_ssr/{auth-Sie6sQHF.mjs → auth-CPCDf6Wr.mjs} +16 -19
- package/.output/server/_ssr/{boot-akwC2sQg.mjs → boot-BbWxaF-z.mjs} +1359 -3843
- package/.output/server/_ssr/boot-COHf8Gv3.mjs +2 -0
- package/.output/server/_ssr/{bun-sqlite-dialect-BW9W1_Ps-CLY8cORt.mjs → bun-sqlite-dialect-BW9W1_Ps-8MIh9jN1.mjs} +2 -2
- package/.output/server/_ssr/{d1-sqlite-dialect-BLC8LXE6-CRsXQNRe.mjs → d1-sqlite-dialect-BLC8LXE6-CcMQ01_d.mjs} +2 -2
- package/.output/server/_ssr/db-dw61xIt1.mjs +2 -0
- package/.output/server/_ssr/{dist-Cc_x6bBb.mjs → dist-AxCsRawm.mjs} +2 -2
- package/.output/server/_ssr/{factory-CDwHL_zY.mjs → factory-S7MaMVC2.mjs} +2 -2
- package/.output/server/_ssr/{invite._token-BlbVjz-o.mjs → invite._token-B1UgMbNQ.mjs} +3 -3
- package/.output/server/_ssr/{invite._token-BE_QUAVb.mjs → invite._token-BliJIGk4.mjs} +4 -5
- package/.output/server/_ssr/{invite._token-C7GjrJxr.mjs → invite._token-D296YVGd.mjs} +7 -7
- package/.output/server/_ssr/{kysely-adapter-zflsyYBA.mjs → kysely-adapter-DUdpqcCJ.mjs} +1 -1
- package/.output/server/_ssr/{lifecycleUi-Djb44Aj3.mjs → lifecycleUi-Dad3hvhm.mjs} +12 -11
- package/.output/server/_ssr/logger-DdUWuMdh.mjs +2 -0
- package/.output/server/_ssr/loopApi-Dy8ztANM.mjs +389 -0
- package/.output/server/_ssr/loopProjection-BZ1_IYCr.mjs +110 -0
- package/.output/server/_ssr/loops._loopId-CKsAnxMl.mjs +1255 -0
- package/.output/server/_ssr/{loops._loopId_.runs._runId-rBHW41dx.mjs → loops._loopId_.runs._runId-DG405pQs.mjs} +29 -74
- package/.output/server/_ssr/{loops._loopId_.runs._runId-Dk1QY49p.mjs → loops._loopId_.runs._runId-a_SyY8rX.mjs} +4 -5
- package/.output/server/_ssr/{machineFns-CoqLRLRh.mjs → machineFns-BSaE7K88.mjs} +3 -5
- package/.output/server/_ssr/{node-sqlite-dialect-dmrazfbM.mjs → node-sqlite-dialect-rWwVyt2J.mjs} +2 -2
- package/.output/server/_ssr/router-lMkobh5r.mjs +618 -0
- package/.output/server/_ssr/{routes-DebVUmCS.mjs → routes-CRHc9cLG.mjs} +6 -10
- package/.output/server/_ssr/{routes-Bx0bRxt9.mjs → routes-DNCZrs8z.mjs} +3 -3
- package/.output/server/_ssr/{routes-dQCBLTxY.mjs → routes-ufPbrGHs.mjs} +6 -6
- package/.output/server/_ssr/runDiff-CrZzjokj.mjs +2 -0
- package/.output/server/_ssr/ssr.mjs +65 -97
- package/.output/server/_ssr/store-CirPHuib.mjs +2 -0
- package/.output/server/_ssr/{t._teamId-BqOUF-0J.mjs → t._teamId-BoBoYEHL.mjs} +7 -7
- package/.output/server/_ssr/{t._teamId-D9nCEa2h.mjs → t._teamId-DcWOYjPf.mjs} +4 -4
- package/.output/server/_ssr/{t._teamId-BzWy4Ft2.mjs → t._teamId-QD2nN0wn.mjs} +7 -11
- package/.output/server/_ssr/{teamFns-BcnGMC-g.mjs → teamFns-BsmconJ1.mjs} +4 -4
- package/.output/server/_ssr/{teamFns-bm82twd5.mjs → teamFns-DcoVuWyH.mjs} +2 -2
- package/.output/server/_ssr/tokens-XngoyCU8.mjs +2 -0
- package/.output/server/_ssr/{ui-B6mE5-5v.mjs → ui-DmFKW2H_.mjs} +33 -47
- package/.output/server/{_tanstack-start-manifest_v-COr27bxK.mjs → _tanstack-start-manifest_v-Xd5bMpJe.mjs} +25 -33
- package/.output/server/drizzle/{0000_round_marauders.sql → 0000_baseline.sql} +102 -44
- package/.output/server/drizzle/meta/_journal.json +3 -115
- package/.output/server/index.mjs +82 -131
- package/drizzle/{0000_round_marauders.sql → 0000_baseline.sql} +102 -44
- package/drizzle/meta/_journal.json +3 -115
- package/package.json +2 -10
- package/scripts/pievo-server.mjs +3 -1
- package/scripts/server-cli-lib.mjs +23 -16
- package/.output/public/assets/CodeField-dOzyFQNH.js +0 -34
- package/.output/public/assets/LoopView-BTXoqfzM.js +0 -59
- package/.output/public/assets/Modal-Ba36NAkv.js +0 -1
- package/.output/public/assets/SignIn-Cc1zxGnA.js +0 -1
- package/.output/public/assets/actionUi-DDDfD0WX.js +0 -1
- package/.output/public/assets/app-D1cij_NJ.css +0 -2
- package/.output/public/assets/artifactView-Cd5wWPil.js +0 -66
- package/.output/public/assets/index-BGM1XGY0.js +0 -12
- package/.output/public/assets/invite._token-C3t4JfAY.js +0 -1
- package/.output/public/assets/invite._token-CUCNcN89.js +0 -1
- package/.output/public/assets/jsx-runtime-BseJUIpC.js +0 -1
- package/.output/public/assets/lifecycleUi-CMFw5Nlj.js +0 -1
- package/.output/public/assets/loopApi-CT1mMhlb.js +0 -3
- package/.output/public/assets/loops._loopId-CrSSvSVl.js +0 -4
- package/.output/public/assets/loops._loopId_.runs._runId-B5Qacloe.js +0 -3
- package/.output/public/assets/notifyFns-CYiZT7CK.js +0 -1
- package/.output/public/assets/preload-helper-DFkkpP6W.js +0 -3
- package/.output/public/assets/routes-B6Kg4mFC.js +0 -1
- package/.output/public/assets/routes-DsdcURfk.js +0 -1
- package/.output/public/assets/t._teamId-C9uEyAh_.js +0 -1
- package/.output/public/assets/t._teamId-Cmm4xdKj.js +0 -1
- package/.output/public/assets/ui-Gb1413-F.js +0 -1
- package/.output/public/assets/useRouter-DsjH8G0p.js +0 -1
- package/.output/server/_libs/@codemirror/autocomplete+[...].mjs +0 -19713
- package/.output/server/_libs/@codemirror/lang-css+[...].mjs +0 -2636
- package/.output/server/_libs/@codemirror/lang-html+[...].mjs +0 -2247
- package/.output/server/_libs/@codemirror/lang-json+[...].mjs +0 -79
- package/.output/server/_libs/@reduxjs/toolkit+[...].mjs +0 -1736
- package/.output/server/_libs/@uiw/codemirror-extensions-basic-setup+[...].mjs +0 -76
- package/.output/server/_libs/babel__runtime.mjs +0 -30
- package/.output/server/_libs/clsx.mjs +0 -16
- package/.output/server/_libs/codemirror__commands.mjs +0 -1725
- package/.output/server/_libs/codemirror__lint.mjs +0 -565
- package/.output/server/_libs/codemirror__search.mjs +0 -1138
- package/.output/server/_libs/codemirror__theme-one-dark.mjs +0 -161
- package/.output/server/_libs/d3-array.mjs +0 -231
- package/.output/server/_libs/d3-color.mjs +0 -330
- package/.output/server/_libs/d3-format.mjs +0 -252
- package/.output/server/_libs/d3-interpolate.mjs +0 -163
- package/.output/server/_libs/d3-path.mjs +0 -77
- package/.output/server/_libs/d3-scale+[...].mjs +0 -1907
- package/.output/server/_libs/d3-shape.mjs +0 -818
- package/.output/server/_libs/decimal.js-light.mjs +0 -884
- package/.output/server/_libs/dom-serializer+[...].mjs +0 -708
- package/.output/server/_libs/domhandler.mjs +0 -461
- package/.output/server/_libs/domutils.mjs +0 -868
- package/.output/server/_libs/es-toolkit.mjs +0 -1737
- package/.output/server/_libs/eventemitter3.mjs +0 -236
- package/.output/server/_libs/html-dom-parser+htmlparser2.mjs +0 -1560
- package/.output/server/_libs/html-react-parser+[...].mjs +0 -1360
- package/.output/server/_libs/react-is.mjs +0 -48
- package/.output/server/_libs/react-redux+[...].mjs +0 -205
- package/.output/server/_libs/recharts+victory-vendor.mjs +0 -17303
- package/.output/server/_libs/uiw__codemirror-themes.mjs +0 -32
- package/.output/server/_libs/uiw__react-codemirror.mjs +0 -354
- package/.output/server/_ssr/CodeField-B7oOmmwH.mjs +0 -143
- package/.output/server/_ssr/DashboardView-0yoKh8Em.mjs +0 -2733
- package/.output/server/_ssr/LoopPlaybook-uq_sFfgU.mjs +0 -2105
- package/.output/server/_ssr/LoopView-BlOY-jfJ.mjs +0 -1300
- package/.output/server/_ssr/Modal-Bc_5TYGr.mjs +0 -49
- package/.output/server/_ssr/adapters-RReIIwAx.mjs +0 -134
- package/.output/server/_ssr/artifactView-iuPsp5aa.mjs +0 -304
- package/.output/server/_ssr/artifacts-B_F6vSih.mjs +0 -2
- package/.output/server/_ssr/boot-pVS0wjd0.mjs +0 -2
- package/.output/server/_ssr/db-Bdm9PFZF.mjs +0 -2
- package/.output/server/_ssr/logger-tfiliKTi.mjs +0 -2
- package/.output/server/_ssr/loopApi-8_KgBapr.mjs +0 -109
- package/.output/server/_ssr/loopApi-JzmqWENY.mjs +0 -564
- package/.output/server/_ssr/loops._loopId-D-aCCtrX.mjs +0 -1477
- package/.output/server/_ssr/loops._loopId-DZ-FjscA.mjs +0 -30
- package/.output/server/_ssr/notifyFns-CH7-bcmd.mjs +0 -118
- package/.output/server/_ssr/router-BFPzSTFx.mjs +0 -679
- package/.output/server/_ssr/runDiff-qA1C8R_L.mjs +0 -2
- package/.output/server/_ssr/store-DWUdkIq2.mjs +0 -2
- package/.output/server/_ssr/tokens-DG8z1GIg.mjs +0 -2
- package/.output/server/drizzle/0001_naive_silver_fox.sql +0 -25
- package/.output/server/drizzle/0002_funny_sage.sql +0 -12
- package/.output/server/drizzle/0003_optimal_slapstick.sql +0 -102
- package/.output/server/drizzle/0004_remove_grok_agent.sql +0 -5
- package/.output/server/drizzle/0005_heavy_gauntlet.sql +0 -8
- package/.output/server/drizzle/0006_tranquil_sharon_carter.sql +0 -1
- package/.output/server/drizzle/0007_faulty_starbolt.sql +0 -30
- package/.output/server/drizzle/0008_durable_lifecycle_evidence.sql +0 -15
- package/.output/server/drizzle/0009_ordinary_electro.sql +0 -1
- package/.output/server/drizzle/0010_workable_rage.sql +0 -14
- package/.output/server/drizzle/0011_steep_marvel_zombies.sql +0 -3
- package/.output/server/drizzle/0012_blocked_run_status.sql +0 -12
- package/.output/server/drizzle/0013_drop_run_outcome.sql +0 -2
- package/.output/server/drizzle/0014_luxuriant_scrambler.sql +0 -5
- package/.output/server/drizzle/0015_run_history_foundation.sql +0 -43
- package/.output/server/drizzle/0016_plural_machine_runs.sql +0 -4
- package/.output/server/drizzle/meta/0000_snapshot.json +0 -1333
- package/.output/server/drizzle/meta/0001_snapshot.json +0 -1498
- package/.output/server/drizzle/meta/0002_snapshot.json +0 -1576
- package/.output/server/drizzle/meta/0003_snapshot.json +0 -1666
- package/.output/server/drizzle/meta/0005_snapshot.json +0 -1666
- package/.output/server/drizzle/meta/0006_snapshot.json +0 -1672
- package/.output/server/drizzle/meta/0007_snapshot.json +0 -1787
- package/.output/server/drizzle/meta/0009_snapshot.json +0 -1793
- package/.output/server/drizzle/meta/0010_snapshot.json +0 -1891
- package/.output/server/drizzle/meta/0011_snapshot.json +0 -1872
- package/drizzle/0001_naive_silver_fox.sql +0 -25
- package/drizzle/0002_funny_sage.sql +0 -12
- package/drizzle/0003_optimal_slapstick.sql +0 -102
- package/drizzle/0004_remove_grok_agent.sql +0 -5
- package/drizzle/0005_heavy_gauntlet.sql +0 -8
- package/drizzle/0006_tranquil_sharon_carter.sql +0 -1
- package/drizzle/0007_faulty_starbolt.sql +0 -30
- package/drizzle/0008_durable_lifecycle_evidence.sql +0 -15
- package/drizzle/0009_ordinary_electro.sql +0 -1
- package/drizzle/0010_workable_rage.sql +0 -14
- package/drizzle/0011_steep_marvel_zombies.sql +0 -3
- package/drizzle/0012_blocked_run_status.sql +0 -12
- package/drizzle/0013_drop_run_outcome.sql +0 -2
- package/drizzle/0014_luxuriant_scrambler.sql +0 -5
- package/drizzle/0015_run_history_foundation.sql +0 -43
- package/drizzle/0016_plural_machine_runs.sql +0 -4
- package/drizzle/meta/0000_snapshot.json +0 -1333
- package/drizzle/meta/0001_snapshot.json +0 -1498
- package/drizzle/meta/0002_snapshot.json +0 -1576
- package/drizzle/meta/0003_snapshot.json +0 -1666
- package/drizzle/meta/0005_snapshot.json +0 -1666
- package/drizzle/meta/0006_snapshot.json +0 -1672
- package/drizzle/meta/0007_snapshot.json +0 -1787
- package/drizzle/meta/0009_snapshot.json +0 -1793
- package/drizzle/meta/0010_snapshot.json +0 -1891
- package/drizzle/meta/0011_snapshot.json +0 -1872
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { h as require_jsx_runtime } from "../_libs/@base-ui/react+[...].mjs";
|
|
2
|
+
import { r as LoadErrorCard } from "./actionUi-D15R8L7R.mjs";
|
|
2
3
|
import { f as useRouter } from "../_libs/@tanstack/react-router+[...].mjs";
|
|
3
|
-
|
|
4
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/routes-Bx0bRxt9.js
|
|
4
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/routes-DNCZrs8z.js
|
|
5
5
|
var import_jsx_runtime = require_jsx_runtime();
|
|
6
6
|
/**
|
|
7
7
|
* The home route. Under the auth gate it is now a THIN redirect to the explicit
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
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-
|
|
1
|
+
import { h as require_jsx_runtime } from "../_libs/@base-ui/react+[...].mjs";
|
|
2
|
+
import { D as useSession } from "./SocialLinks-BTjsnVOm.mjs";
|
|
3
|
+
import { t as SignIn } from "./SignIn-DjSrg0nO.mjs";
|
|
4
|
+
import { t as DashboardView } from "./DashboardView-D_hKsCsv.mjs";
|
|
5
|
+
import { t as Route } from "./routes-CRHc9cLG.mjs";
|
|
6
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/routes-ufPbrGHs.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,6 +1,6 @@
|
|
|
1
1
|
import { r as __exportAll } from "../_runtime.mjs";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import { i as __exportAll$1 } from "./factory-S7MaMVC2.mjs";
|
|
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";
|
|
6
6
|
import { AsyncLocalStorage } from "node:async_hooks";
|
|
@@ -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-Xd5bMpJe.mjs");
|
|
3422
3422
|
const startManifest = tsrStartManifest();
|
|
3423
3423
|
let routes = startManifest.routes;
|
|
3424
3424
|
routes[rootRouteId];
|
|
@@ -3438,189 +3438,157 @@ async function getStartManifest(matchedRoutes) {
|
|
|
3438
3438
|
};
|
|
3439
3439
|
}
|
|
3440
3440
|
var manifest = {
|
|
3441
|
-
"
|
|
3442
|
-
functionName: "
|
|
3443
|
-
importer: () => import("./loopApi-
|
|
3441
|
+
"08565e35f6a3dd06ef25401de0343976c47f7ae319d3baed6320b56dd3718311": {
|
|
3442
|
+
functionName: "runLoop_createServerFn_handler",
|
|
3443
|
+
importer: () => import("./loopApi-Dy8ztANM.mjs")
|
|
3444
3444
|
},
|
|
3445
3445
|
"08c28b892712a1b491b120b74c7dcb81761988d31ccea60216d1807b73c1182c": {
|
|
3446
3446
|
functionName: "getRunDiff_createServerFn_handler",
|
|
3447
|
-
importer: () => import("./loopApi-
|
|
3448
|
-
},
|
|
3449
|
-
"0c9031f2f6a9ac0b1c60075833169755ef1815324918d1426c966ac8db563798": {
|
|
3450
|
-
functionName: "runJob_createServerFn_handler",
|
|
3451
|
-
importer: () => import("./loopApi-JzmqWENY.mjs")
|
|
3452
|
-
},
|
|
3453
|
-
"0cb2218861830aae4338b814b3819e15100942beab970bc4c188f88b8cb6bc7e": {
|
|
3454
|
-
functionName: "forceDeleteJob_createServerFn_handler",
|
|
3455
|
-
importer: () => import("./loopApi-JzmqWENY.mjs")
|
|
3447
|
+
importer: () => import("./loopApi-Dy8ztANM.mjs")
|
|
3456
3448
|
},
|
|
3457
3449
|
"0f279cfe81021a642289ce6e95622e7198aaeab4147880f85824a02ee9ebafcf": {
|
|
3458
3450
|
functionName: "createTeam_createServerFn_handler",
|
|
3459
|
-
importer: () => import("./teamFns-
|
|
3451
|
+
importer: () => import("./teamFns-BsmconJ1.mjs")
|
|
3460
3452
|
},
|
|
3461
3453
|
"0fe12e769203c42f432a927b9cbf13a967a0f9db567b61843598f734afb4f5c6": {
|
|
3462
3454
|
functionName: "listMyTeams_createServerFn_handler",
|
|
3463
|
-
importer: () => import("./loopApi-
|
|
3455
|
+
importer: () => import("./loopApi-Dy8ztANM.mjs")
|
|
3464
3456
|
},
|
|
3465
3457
|
"169566e7637a22599b4eb32ee3775574e99677406922bbef7482a102036c33dd": {
|
|
3466
3458
|
functionName: "machineStatus_createServerFn_handler",
|
|
3467
|
-
importer: () => import("./machineFns-
|
|
3459
|
+
importer: () => import("./machineFns-BSaE7K88.mjs")
|
|
3460
|
+
},
|
|
3461
|
+
"199e1c98d1946048b76a18a86c6d252d87776e70fefa62e4af66089244acb9de": {
|
|
3462
|
+
functionName: "forceDeleteLoop_createServerFn_handler",
|
|
3463
|
+
importer: () => import("./loopApi-Dy8ztANM.mjs")
|
|
3464
|
+
},
|
|
3465
|
+
"23e290b2b7483ceea6fe669024c35b12c2c4ddd76649f6fab21c958ceda02940": {
|
|
3466
|
+
functionName: "listLoops_createServerFn_handler",
|
|
3467
|
+
importer: () => import("./loopApi-Dy8ztANM.mjs")
|
|
3468
3468
|
},
|
|
3469
3469
|
"27d7eba0b6a2257949392fdd56057275a5c5366484ae01faf3b5897a225ecd83": {
|
|
3470
3470
|
functionName: "finalizeMachine_createServerFn_handler",
|
|
3471
|
-
importer: () => import("./machineFns-
|
|
3471
|
+
importer: () => import("./machineFns-BSaE7K88.mjs")
|
|
3472
3472
|
},
|
|
3473
3473
|
"284cb82b5e5cb37242d053b1b14449760d8334e9dadffc6dcbba11db2200a709": {
|
|
3474
3474
|
functionName: "addTeamMember_createServerFn_handler",
|
|
3475
|
-
importer: () => import("./teamFns-
|
|
3476
|
-
},
|
|
3477
|
-
"3155d050a38c0e160018b462404acd048bfbed9e15166920b4bba09ed72ba817": {
|
|
3478
|
-
functionName: "listTemplates_createServerFn_handler",
|
|
3479
|
-
importer: () => import("./loopApi-JzmqWENY.mjs")
|
|
3480
|
-
},
|
|
3481
|
-
"38b831a8de4883e3d877f2169eaebde5864a2f256b1c5c790fa669702968cff9": {
|
|
3482
|
-
functionName: "requestSteer_createServerFn_handler",
|
|
3483
|
-
importer: () => import("./loopApi-JzmqWENY.mjs")
|
|
3475
|
+
importer: () => import("./teamFns-BsmconJ1.mjs")
|
|
3484
3476
|
},
|
|
3485
3477
|
"4646f52fb09b83c9c9cef34836f3c9d03416423c879d9e5ceffcafd9a71ecba6": {
|
|
3486
3478
|
functionName: "mintClaim_createServerFn_handler",
|
|
3487
|
-
importer: () => import("./loopApi-
|
|
3479
|
+
importer: () => import("./loopApi-Dy8ztANM.mjs")
|
|
3488
3480
|
},
|
|
3489
3481
|
"4b0db7d6c8f25383a3526598cb0c1881db6cf413e451e9478687c05666461347": {
|
|
3490
3482
|
functionName: "claimStatus_createServerFn_handler",
|
|
3491
|
-
importer: () => import("./loopApi-
|
|
3483
|
+
importer: () => import("./loopApi-Dy8ztANM.mjs")
|
|
3492
3484
|
},
|
|
3493
|
-
"
|
|
3494
|
-
functionName: "
|
|
3495
|
-
importer: () => import("./loopApi-
|
|
3485
|
+
"5660ea82ea5ff2549e0ce2f8f070c54f3e9e24fee84d547601ef5d6ef49a4016": {
|
|
3486
|
+
functionName: "startLoop_createServerFn_handler",
|
|
3487
|
+
importer: () => import("./loopApi-Dy8ztANM.mjs")
|
|
3496
3488
|
},
|
|
3497
3489
|
"5721e01d84c20ffde19d2191648d76a7e5ede3bbb4f44efa59107a786947cf27": {
|
|
3498
3490
|
functionName: "renameTeam_createServerFn_handler",
|
|
3499
|
-
importer: () => import("./teamFns-
|
|
3500
|
-
},
|
|
3501
|
-
"5a11dda4e2d3b0b097890c35ad7d447ff7245721b2ddc7f08787402446ef0919": {
|
|
3502
|
-
functionName: "listJobs_createServerFn_handler",
|
|
3503
|
-
importer: () => import("./loopApi-JzmqWENY.mjs")
|
|
3491
|
+
importer: () => import("./teamFns-BsmconJ1.mjs")
|
|
3504
3492
|
},
|
|
3505
|
-
"
|
|
3506
|
-
functionName: "
|
|
3507
|
-
importer: () => import("./loopApi-
|
|
3493
|
+
"5e0d6b55f5629faac2f55a68661eeb82668b2be752192b16264ffb5cd1e6fabe": {
|
|
3494
|
+
functionName: "deleteLoop_createServerFn_handler",
|
|
3495
|
+
importer: () => import("./loopApi-Dy8ztANM.mjs")
|
|
3508
3496
|
},
|
|
3509
3497
|
"6850ba403da9dec5aff45794eb52636ca540ddec2d9e59f5c75ccbb852bfeacb": {
|
|
3510
3498
|
functionName: "stopRun_createServerFn_handler",
|
|
3511
|
-
importer: () => import("./loopApi-
|
|
3499
|
+
importer: () => import("./loopApi-Dy8ztANM.mjs")
|
|
3512
3500
|
},
|
|
3513
3501
|
"6f5fe23f6da1d4aecc198b6f71a041c0fe29cabb6ccad807bb3f16c23c5bd9cd": {
|
|
3514
3502
|
functionName: "redeemTeamInvite_createServerFn_handler",
|
|
3515
|
-
importer: () => import("./teamFns-
|
|
3516
|
-
},
|
|
3517
|
-
"7732cf412e02d47d9ac3933f09510503ea08428df967d44267ba47bea10d4cc4": {
|
|
3518
|
-
functionName: "startJob_createServerFn_handler",
|
|
3519
|
-
importer: () => import("./loopApi-JzmqWENY.mjs")
|
|
3503
|
+
importer: () => import("./teamFns-BsmconJ1.mjs")
|
|
3520
3504
|
},
|
|
3521
3505
|
"7cc22b3a0f6b1c4c73463c3401e981ad42caf6487b479b738ee5aeacb11710da": {
|
|
3522
3506
|
functionName: "canViewTeam_createServerFn_handler",
|
|
3523
|
-
importer: () => import("./loopApi-
|
|
3507
|
+
importer: () => import("./loopApi-Dy8ztANM.mjs")
|
|
3524
3508
|
},
|
|
3525
3509
|
"85fdf73d4fee43aed762f93c5d47d33200fbff39e2d082647dc921f610d32698": {
|
|
3526
3510
|
functionName: "loadOlderRuns_createServerFn_handler",
|
|
3527
|
-
importer: () => import("./loopApi-
|
|
3528
|
-
},
|
|
3529
|
-
"8a11b8d76ad42203a4bf128db0b8e0f2d6c947300dbee7a51498418404f211cd": {
|
|
3530
|
-
functionName: "evolveJob_createServerFn_handler",
|
|
3531
|
-
importer: () => import("./loopApi-JzmqWENY.mjs")
|
|
3532
|
-
},
|
|
3533
|
-
"934749369c5760593935c24bfa6f2041d3e82ea02fb7a13dfa7fd32940ac395d": {
|
|
3534
|
-
functionName: "stopJob_createServerFn_handler",
|
|
3535
|
-
importer: () => import("./loopApi-JzmqWENY.mjs")
|
|
3511
|
+
importer: () => import("./loopApi-Dy8ztANM.mjs")
|
|
3536
3512
|
},
|
|
3537
3513
|
"94d1108f156fa2273cb78140852e9c3e368de0b8321db0de932a16567671716f": {
|
|
3538
3514
|
functionName: "listManagedTeams_createServerFn_handler",
|
|
3539
|
-
importer: () => import("./teamFns-
|
|
3515
|
+
importer: () => import("./teamFns-BsmconJ1.mjs")
|
|
3516
|
+
},
|
|
3517
|
+
"95b7483b333d7649e70c848319417e83c2af6a0327bbcda2d0e331f626dffe05": {
|
|
3518
|
+
functionName: "pauseLoop_createServerFn_handler",
|
|
3519
|
+
importer: () => import("./loopApi-Dy8ztANM.mjs")
|
|
3540
3520
|
},
|
|
3541
|
-
"
|
|
3542
|
-
functionName: "
|
|
3543
|
-
importer: () => import("./
|
|
3521
|
+
"9befe6b8d67ccbbd7aa9b538bde2a161a9894761c8936761a9503fda1a88c0fc": {
|
|
3522
|
+
functionName: "patchLoop_createServerFn_handler",
|
|
3523
|
+
importer: () => import("./loopApi-Dy8ztANM.mjs")
|
|
3544
3524
|
},
|
|
3545
3525
|
"a3326ed8ecd726fbcc28a439bf0012983cbe387d5062e0155096ee5a558e313b": {
|
|
3546
3526
|
functionName: "removeTeamMember_createServerFn_handler",
|
|
3547
|
-
importer: () => import("./teamFns-
|
|
3548
|
-
},
|
|
3549
|
-
"a4e3ae06af7087a3dc291236cf6d5ad272e2f754884c1f948e75a18a4ebada93": {
|
|
3550
|
-
functionName: "testChannel_createServerFn_handler",
|
|
3551
|
-
importer: () => import("./notifyFns-CH7-bcmd.mjs")
|
|
3527
|
+
importer: () => import("./teamFns-BsmconJ1.mjs")
|
|
3552
3528
|
},
|
|
3553
3529
|
"a6384dc7154d9930422d29396f5de64b3ac69c62ad3824bc4a22d745fc07b293": {
|
|
3554
3530
|
functionName: "deleteMachine_createServerFn_handler",
|
|
3555
|
-
importer: () => import("./machineFns-
|
|
3531
|
+
importer: () => import("./machineFns-BSaE7K88.mjs")
|
|
3556
3532
|
},
|
|
3557
3533
|
"aa46310016bb8a58b273a648ffd498c87f1f450d12827e30110a3b83ba6a27d9": {
|
|
3558
3534
|
functionName: "listMachines_createServerFn_handler",
|
|
3559
|
-
importer: () => import("./machineFns-
|
|
3535
|
+
importer: () => import("./machineFns-BSaE7K88.mjs")
|
|
3536
|
+
},
|
|
3537
|
+
"b050455aacc84dd2a2c9a45517826ad10f91d8f1545e87cc7015784cc7116a97": {
|
|
3538
|
+
functionName: "getLoopDetail_createServerFn_handler",
|
|
3539
|
+
importer: () => import("./loopApi-Dy8ztANM.mjs")
|
|
3560
3540
|
},
|
|
3561
3541
|
"b18bbec3d06dfc77714e1e527dfb9172fd7575a64a6c0d6e73ba6dc658dccf0d": {
|
|
3562
3542
|
functionName: "getArtifacts_createServerFn_handler",
|
|
3563
|
-
importer: () => import("./loopApi-
|
|
3543
|
+
importer: () => import("./loopApi-Dy8ztANM.mjs")
|
|
3564
3544
|
},
|
|
3565
3545
|
"b8119d5fe6ca1ed9f609702aa2133b5ac5337030c0bdcf92dc7eba889d6bd2e6": {
|
|
3566
3546
|
functionName: "getAuthState_createServerFn_handler",
|
|
3567
|
-
importer: () => import("./loopApi-
|
|
3547
|
+
importer: () => import("./loopApi-Dy8ztANM.mjs")
|
|
3568
3548
|
},
|
|
3569
3549
|
"b92e9a08eda2d217bf4028f90dbc6bf7d7e8d7c148ebb8a8330286b5935a3fa1": {
|
|
3570
3550
|
functionName: "revokeTeamInvite_createServerFn_handler",
|
|
3571
|
-
importer: () => import("./teamFns-
|
|
3551
|
+
importer: () => import("./teamFns-BsmconJ1.mjs")
|
|
3572
3552
|
},
|
|
3573
3553
|
"bbc1020c771335020ef51b326d74b1649966740f273913d32040fa2c3c9f5f0b": {
|
|
3574
3554
|
functionName: "createTeamInvite_createServerFn_handler",
|
|
3575
|
-
importer: () => import("./teamFns-
|
|
3576
|
-
},
|
|
3577
|
-
"bdf2cf0a884a9dccf99323b84675f048164a726f8347a2b6578a4ed1a350712e": {
|
|
3578
|
-
functionName: "getChartRuns_createServerFn_handler",
|
|
3579
|
-
importer: () => import("./loopApi-JzmqWENY.mjs")
|
|
3555
|
+
importer: () => import("./teamFns-BsmconJ1.mjs")
|
|
3580
3556
|
},
|
|
3581
3557
|
"c3762cecd4a15f7eca064bca295255e942d7c3dce65f66f8593ae145fd7859a0": {
|
|
3582
3558
|
functionName: "setTeamMemberRole_createServerFn_handler",
|
|
3583
|
-
importer: () => import("./teamFns-
|
|
3584
|
-
},
|
|
3585
|
-
"c3ccf6ce71809a0cdaf481b15b5fdc5db3a453a508e5841a62034cb1915a7f92": {
|
|
3586
|
-
functionName: "deleteJob_createServerFn_handler",
|
|
3587
|
-
importer: () => import("./loopApi-JzmqWENY.mjs")
|
|
3559
|
+
importer: () => import("./teamFns-BsmconJ1.mjs")
|
|
3588
3560
|
},
|
|
3589
3561
|
"cbb6a1b09b309459bbba3dc3851ae85fc468658b3cda77e22b6c6f3e28b65af4": {
|
|
3590
3562
|
functionName: "getConfig_createServerFn_handler",
|
|
3591
|
-
importer: () => import("./loopApi-
|
|
3592
|
-
},
|
|
3593
|
-
"ced5641f28e3e64d3b8773ea4c875b78ee305bd08caba90a2207e86ef1ab3327": {
|
|
3594
|
-
functionName: "listChannels_createServerFn_handler",
|
|
3595
|
-
importer: () => import("./notifyFns-CH7-bcmd.mjs")
|
|
3563
|
+
importer: () => import("./loopApi-Dy8ztANM.mjs")
|
|
3596
3564
|
},
|
|
3597
3565
|
"d2372a81af17eb3a7e4c1407d6ef26a8a9522b66fd6a94858cb35c864b270d77": {
|
|
3598
3566
|
functionName: "deleteTeam_createServerFn_handler",
|
|
3599
|
-
importer: () => import("./teamFns-
|
|
3600
|
-
},
|
|
3601
|
-
"d6cb1ea6f7fdaf940fbbe91d6b0898a0d5ac2308f8bc572dc3b856824a1f4581": {
|
|
3602
|
-
functionName: "createChannel_createServerFn_handler",
|
|
3603
|
-
importer: () => import("./notifyFns-CH7-bcmd.mjs")
|
|
3567
|
+
importer: () => import("./teamFns-BsmconJ1.mjs")
|
|
3604
3568
|
},
|
|
3605
3569
|
"dc0ec955d0d53a150a3e9a4673f98f3509cfb4bd411c512079ae4e94c561b70c": {
|
|
3606
3570
|
functionName: "getDefaultTeam_createServerFn_handler",
|
|
3607
|
-
importer: () => import("./loopApi-
|
|
3571
|
+
importer: () => import("./loopApi-Dy8ztANM.mjs")
|
|
3572
|
+
},
|
|
3573
|
+
"e233a461e4526dec3cc4cbaa891a7c3621d5967ce7f32b4fb17e9fb645857b9a": {
|
|
3574
|
+
functionName: "stopLoop_createServerFn_handler",
|
|
3575
|
+
importer: () => import("./loopApi-Dy8ztANM.mjs")
|
|
3608
3576
|
},
|
|
3609
3577
|
"ed10d5fe79208e5e0e4e18e4a17b18d7f7db4dd16204c00c3ac90c4644668841": {
|
|
3610
3578
|
functionName: "getArtifact_createServerFn_handler",
|
|
3611
|
-
importer: () => import("./loopApi-
|
|
3579
|
+
importer: () => import("./loopApi-Dy8ztANM.mjs")
|
|
3612
3580
|
},
|
|
3613
3581
|
"ed679b4e1e05e903a5d4ba4a70d9b9d883991ab22ed59b4d2d69078941818415": {
|
|
3614
3582
|
functionName: "createMachine_createServerFn_handler",
|
|
3615
|
-
importer: () => import("./machineFns-
|
|
3583
|
+
importer: () => import("./machineFns-BSaE7K88.mjs")
|
|
3616
3584
|
},
|
|
3617
3585
|
"fc7a4775f418dde12f422ff9ca65d9e07428fb0dc35c9399592c0081467330bf": {
|
|
3618
3586
|
functionName: "getTeamDetail_createServerFn_handler",
|
|
3619
|
-
importer: () => import("./teamFns-
|
|
3587
|
+
importer: () => import("./teamFns-BsmconJ1.mjs")
|
|
3620
3588
|
},
|
|
3621
3589
|
"fe7cc1df829414194e9b0615b86584c8510369da18f4d8805ccd76468cadf2ff": {
|
|
3622
3590
|
functionName: "leaveTeam_createServerFn_handler",
|
|
3623
|
-
importer: () => import("./teamFns-
|
|
3591
|
+
importer: () => import("./teamFns-BsmconJ1.mjs")
|
|
3624
3592
|
}
|
|
3625
3593
|
};
|
|
3626
3594
|
async function getServerFnById(id, access) {
|
|
@@ -5452,7 +5420,7 @@ var getBaseManifest = getProdBaseManifest;
|
|
|
5452
5420
|
var createEarlyHintsForRequest = createEarlyHintsCollector;
|
|
5453
5421
|
async function loadEntries() {
|
|
5454
5422
|
const [routerEntry, startEntry, pluginAdapters] = await Promise.all([
|
|
5455
|
-
import("./router-
|
|
5423
|
+
import("./router-lMkobh5r.mjs"),
|
|
5456
5424
|
import("./start-4ifArtKx.mjs"),
|
|
5457
5425
|
import("./empty-plugin-adapters-DKUlnwwl.mjs")
|
|
5458
5426
|
]);
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
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-
|
|
1
|
+
import { h as require_jsx_runtime } from "../_libs/@base-ui/react+[...].mjs";
|
|
2
|
+
import { D as useSession } from "./SocialLinks-BTjsnVOm.mjs";
|
|
3
|
+
import { t as SignIn } from "./SignIn-DjSrg0nO.mjs";
|
|
4
|
+
import { t as DashboardView } from "./DashboardView-D_hKsCsv.mjs";
|
|
5
|
+
import { t as Route } from "./t._teamId-QD2nN0wn.mjs";
|
|
6
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/t._teamId-BoBoYEHL.js
|
|
7
7
|
var import_jsx_runtime = require_jsx_runtime();
|
|
8
8
|
/**
|
|
9
|
-
* The explicit-team dashboard (`/t/<teamId
|
|
9
|
+
* The explicit-team dashboard (`/t/<teamId>`): the same dashboard scoped
|
|
10
10
|
* to the team in the PATH, so a view is bookmarkable and each browser tab keeps
|
|
11
11
|
* its own team (the list server fns take an explicit `teamId`, independent of the
|
|
12
12
|
* shared last-used cookie). A team id rides the URL verbatim.
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { h as require_jsx_runtime } from "../_libs/@base-ui/react+[...].mjs";
|
|
2
|
+
import { r as LoadErrorCard } from "./actionUi-D15R8L7R.mjs";
|
|
2
3
|
import { f as useRouter } from "../_libs/@tanstack/react-router+[...].mjs";
|
|
3
|
-
|
|
4
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/t._teamId-D9nCEa2h.js
|
|
4
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/t._teamId-DcWOYjPf.js
|
|
5
5
|
var import_jsx_runtime = require_jsx_runtime();
|
|
6
6
|
/**
|
|
7
|
-
* The explicit-team dashboard (`/t/<teamId
|
|
7
|
+
* The explicit-team dashboard (`/t/<teamId>`): the same dashboard scoped
|
|
8
8
|
* to the team in the PATH, so a view is bookmarkable and each browser tab keeps
|
|
9
9
|
* its own team (the list server fns take an explicit `teamId`, independent of the
|
|
10
10
|
* shared last-used cookie). A team id rides the URL verbatim.
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import { c as createFileRoute, s as lazyRouteComponent } from "../_libs/@tanstack/react-router+[...].mjs";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
var $$
|
|
7
|
-
var $$splitComponentImporter = () => import("./t._teamId-BqOUF-0J.mjs");
|
|
2
|
+
import { a as canViewTeam, d as getAuthState, i as authClient } from "./SocialLinks-BTjsnVOm.mjs";
|
|
3
|
+
import { n as fetchLiveData } from "./DashboardView-D_hKsCsv.mjs";
|
|
4
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/t._teamId-QD2nN0wn.js
|
|
5
|
+
var $$splitErrorComponentImporter = () => import("./t._teamId-DcWOYjPf.mjs");
|
|
6
|
+
var $$splitComponentImporter = () => import("./t._teamId-BoBoYEHL.mjs");
|
|
8
7
|
/**
|
|
9
|
-
* The explicit-team dashboard (`/t/<teamId
|
|
8
|
+
* The explicit-team dashboard (`/t/<teamId>`): the same dashboard scoped
|
|
10
9
|
* to the team in the PATH, so a view is bookmarkable and each browser tab keeps
|
|
11
10
|
* its own team (the list server fns take an explicit `teamId`, independent of the
|
|
12
11
|
* shared last-used cookie). A team id rides the URL verbatim.
|
|
@@ -34,10 +33,7 @@ var Route = createFileRoute("/t/$teamId")({
|
|
|
34
33
|
mode: "dashboard",
|
|
35
34
|
auth,
|
|
36
35
|
teamId,
|
|
37
|
-
initial:
|
|
38
|
-
...await fetchLiveData(teamId),
|
|
39
|
-
templates: await listTemplates()
|
|
40
|
-
}
|
|
36
|
+
initial: await fetchLiveData(teamId)
|
|
41
37
|
};
|
|
42
38
|
},
|
|
43
39
|
component: lazyRouteComponent($$splitComponentImporter, "component"),
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { A as ensureServer, C as createTeam$2, D as deleteInvite, H as getInvite, J as getTeam, Jt as userByEmail, Mt as renameTeam$2, Rt as setTeamMemberRoleGuarded, Y as getTeamMember, _ as countLoopsForTeam, ft as listPendingInvites, gt as listTeamsForUser, ht as listTeamMembers, jt as removeTeamMemberGuarded, k as deleteTeamCascade, kt as redeemInviteAtomic, p as addTeamMember$1, tt as isPersonalTeam, x as createInvite$1 } from "./boot-BbWxaF-z.mjs";
|
|
2
|
+
import { authEnabled, currentUserId } from "./auth-CPCDf6Wr.mjs";
|
|
2
3
|
import { n as createServerFn } from "./ssr.mjs";
|
|
3
|
-
import { authEnabled, currentUserId } from "./auth-Sie6sQHF.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-BsmconJ1.js
|
|
7
7
|
/**
|
|
8
8
|
* Team lifecycle + membership logic (design report §2/§4/§5, all six §7 decisions
|
|
9
9
|
* approved as recommended). This module is the ONE authorization + rules
|
|
@@ -148,7 +148,7 @@ async function deleteTeam$1(userId, teamId) {
|
|
|
148
148
|
return { ok: true };
|
|
149
149
|
}
|
|
150
150
|
/** Direct-add-by-email fast path (design §4 option A): add an EXISTING account to
|
|
151
|
-
* the team immediately. No account yet ⇒
|
|
151
|
+
* the team immediately. No account yet ⇒ direct the owner to an invite link. */
|
|
152
152
|
async function addMemberByEmail(userId, teamId, email, role) {
|
|
153
153
|
const gate = await assertOwner(teamId, userId);
|
|
154
154
|
if (gate) return gate;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { n as createServerFn } from "./ssr.mjs";
|
|
2
|
-
import {
|
|
3
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/teamFns-
|
|
2
|
+
import { s as createSsrRpc } from "./SocialLinks-BTjsnVOm.mjs";
|
|
3
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/teamFns-DcoVuWyH.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,6 +1,6 @@
|
|
|
1
1
|
import { o as __toESM } from "../_runtime.mjs";
|
|
2
|
-
import { g as
|
|
3
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/ui-
|
|
2
|
+
import { g as require_react, h as require_jsx_runtime } from "../_libs/@base-ui/react+[...].mjs";
|
|
3
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/ui-DmFKW2H_.js
|
|
4
4
|
var import_react = /* @__PURE__ */ __toESM(require_react());
|
|
5
5
|
var import_jsx_runtime = require_jsx_runtime();
|
|
6
6
|
var fmt = (t) => t ? new Date(t).toLocaleString() : "—";
|
|
@@ -57,10 +57,6 @@ var until = (t) => {
|
|
|
57
57
|
if (h < 24) return `in ${h}h`;
|
|
58
58
|
return `in ${Math.round(h / 24)}d`;
|
|
59
59
|
};
|
|
60
|
-
var md = (t) => {
|
|
61
|
-
const d = new Date(t);
|
|
62
|
-
return `${d.getMonth() + 1}/${d.getDate()}`;
|
|
63
|
-
};
|
|
64
60
|
/** Compact run-log timestamp: "MM/DD HH:mm" (24h, zero-padded, local). */
|
|
65
61
|
var tsShort = (t) => {
|
|
66
62
|
if (!t) return "—";
|
|
@@ -84,17 +80,17 @@ function humanBytes(n) {
|
|
|
84
80
|
* for meaning. Mirrored by the --color-run-* tokens used in Tailwind classes.
|
|
85
81
|
*/
|
|
86
82
|
var ST = {
|
|
87
|
-
|
|
88
|
-
c: "var(--color-run-
|
|
89
|
-
label: "
|
|
83
|
+
keep: {
|
|
84
|
+
c: "var(--color-run-keep)",
|
|
85
|
+
label: "Keep"
|
|
90
86
|
},
|
|
91
87
|
"no-change": {
|
|
92
88
|
c: "var(--color-run-no-change)",
|
|
93
89
|
label: "No change"
|
|
94
90
|
},
|
|
95
|
-
|
|
96
|
-
c: "var(--color-run-
|
|
97
|
-
label: "
|
|
91
|
+
block: {
|
|
92
|
+
c: "var(--color-run-block)",
|
|
93
|
+
label: "Block"
|
|
98
94
|
},
|
|
99
95
|
error: {
|
|
100
96
|
c: "var(--color-run-error)",
|
|
@@ -112,56 +108,53 @@ var ST = {
|
|
|
112
108
|
c: "var(--color-run-queued)",
|
|
113
109
|
label: "Queued"
|
|
114
110
|
},
|
|
115
|
-
|
|
116
|
-
c: "var(--color-run-
|
|
117
|
-
label: "
|
|
118
|
-
},
|
|
119
|
-
"active-steer": {
|
|
120
|
-
c: "var(--color-run-active-steer)",
|
|
121
|
-
label: "Steering…"
|
|
111
|
+
reconciling: {
|
|
112
|
+
c: "var(--color-run-warning)",
|
|
113
|
+
label: "Reconciling…"
|
|
122
114
|
},
|
|
123
|
-
|
|
124
|
-
c: "var(--color-run-active
|
|
125
|
-
label: "
|
|
115
|
+
active: {
|
|
116
|
+
c: "var(--color-run-active)",
|
|
117
|
+
label: "Running…"
|
|
126
118
|
}
|
|
127
119
|
};
|
|
128
|
-
var statusMeta = (k) => k === "
|
|
129
|
-
var roleWord = (r) => r.role === "steer" ? "steer" : r.role === "evolve" ? "evolve" : "exec";
|
|
130
|
-
var keptLabel = (r) => roleWord(r) === "steer" ? "Steered" : roleWord(r) === "evolve" ? "Improved" : "Kept";
|
|
120
|
+
var statusMeta = (k) => k === "keep" || k === "no-change" || k === "block" ? ST[k] : void 0;
|
|
131
121
|
function dotColor(r) {
|
|
132
|
-
if (r.
|
|
133
|
-
if (r.
|
|
134
|
-
if (r.queued) return ST.queued.c;
|
|
122
|
+
if (r.reconciliation) return ST.reconciling.c;
|
|
123
|
+
if (r.phase === "running") return ST.active.c;
|
|
135
124
|
if (r.phase === "error") return ST.error.c;
|
|
136
|
-
if (r.
|
|
125
|
+
if (r.status === "block") return ST.block.c;
|
|
126
|
+
if (r.phase === "pending") return ST.queued.c;
|
|
127
|
+
if (r.phase === "canceled") return ST.canceled.c;
|
|
137
128
|
if (r.phase === "done" && !statusMeta(r.status)) return ST.warning.c;
|
|
138
129
|
return (statusMeta(r.status) ?? ST["no-change"]).c;
|
|
139
130
|
}
|
|
140
131
|
function dotOpacity(r) {
|
|
141
|
-
if (r.running || r.status === "
|
|
142
|
-
if (r.
|
|
143
|
-
if (r.
|
|
132
|
+
if (r.reconciliation || r.phase === "running" || r.status === "block" || r.phase === "error") return 1;
|
|
133
|
+
if (r.phase === "pending") return .7;
|
|
134
|
+
if (r.phase === "canceled") return .5;
|
|
144
135
|
if (r.phase === "done" && !statusMeta(r.status)) return .9;
|
|
145
136
|
if (r.status === "no-change") return .55;
|
|
146
137
|
return 1;
|
|
147
138
|
}
|
|
148
139
|
function dotLabel(r) {
|
|
149
|
-
if (r.
|
|
150
|
-
if (r.
|
|
140
|
+
if (r.reconciliation === "blocking") return "Waiting for machine recovery";
|
|
141
|
+
if (r.reconciliation === "report-only") return "Awaiting late report";
|
|
142
|
+
if (r.phase === "pending") return ST.queued.label;
|
|
143
|
+
if (r.phase === "running") {
|
|
151
144
|
if (r.cancelRequested) return "Stopping…";
|
|
152
|
-
return ST
|
|
145
|
+
return ST.active.label;
|
|
153
146
|
}
|
|
154
|
-
if (r.status === "blocked") return ST.blocked.label;
|
|
155
147
|
if (r.phase === "error") {
|
|
156
148
|
if (r.cancelRequested) return "Failed while stopping";
|
|
157
149
|
return ST.error.label;
|
|
158
150
|
}
|
|
159
|
-
if (r.
|
|
151
|
+
if (r.status === "block") return ST.block.label;
|
|
152
|
+
if (r.phase === "canceled") {
|
|
160
153
|
if (r.error === "stopped by user") return "Canceled";
|
|
161
154
|
return "Canceled";
|
|
162
155
|
}
|
|
163
156
|
if (r.cancelRequested && r.phase === "done") return "Succeeded while stopping";
|
|
164
|
-
if (r.status === "
|
|
157
|
+
if (r.status === "keep") return ST.keep.label;
|
|
165
158
|
if (r.status === "no-change") return ST["no-change"].label;
|
|
166
159
|
if (r.phase === "done") return ST.warning.label;
|
|
167
160
|
return ST["no-change"].label;
|
|
@@ -177,7 +170,7 @@ var btnBase = `inline-flex cursor-pointer items-center gap-1.5 rounded-control p
|
|
|
177
170
|
var btn = `${btnBase} border border-wire bg-surface text-primary hover:bg-raised`;
|
|
178
171
|
var btnPrimary = `${btnBase} border border-display bg-display text-paper hover:opacity-85`;
|
|
179
172
|
var btnDanger = `${btnBase} border border-transparent bg-rubik-red text-white hover:opacity-85`;
|
|
180
|
-
|
|
173
|
+
`${btnBase}`;
|
|
181
174
|
var btnSm = `inline-flex shrink-0 cursor-pointer items-center gap-1 rounded-full border border-wire bg-surface px-3 py-1 text-label font-medium text-primary transition-colors duration-150 hover:bg-raised disabled:cursor-default disabled:opacity-40 ${focusRing}`;
|
|
182
175
|
var btnPrimaryPill = `inline-flex shrink-0 cursor-pointer items-center gap-1.5 rounded-full border border-display bg-display px-4 py-2 text-body font-medium text-paper transition-colors duration-150 hover:opacity-85 disabled:cursor-default disabled:opacity-40 ${focusRing}`;
|
|
183
176
|
var btnQuiet = "inline-flex cursor-pointer items-center gap-1.5 border-none bg-transparent p-0 text-meta font-medium text-secondary transition-colors hover:text-display";
|
|
@@ -220,13 +213,6 @@ function ErrorBanner({ message, onDismiss, className = "mb-2" }) {
|
|
|
220
213
|
]
|
|
221
214
|
});
|
|
222
215
|
}
|
|
223
|
-
/** A read-only mono code block (task file / control dump). */
|
|
224
|
-
function Pre({ children }) {
|
|
225
|
-
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)("pre", {
|
|
226
|
-
className: "max-h-[300px] overflow-auto whitespace-pre-wrap rounded-control border border-hairline bg-raised px-4 py-3.5 font-mono text-meta leading-relaxed text-secondary",
|
|
227
|
-
children
|
|
228
|
-
});
|
|
229
|
-
}
|
|
230
216
|
/** Shared semantic chip tones. */
|
|
231
217
|
var PILL_TONES = {
|
|
232
218
|
neutral: "bg-raised text-secondary",
|
|
@@ -269,4 +255,4 @@ function StatusPill({ run, colorText }) {
|
|
|
269
255
|
});
|
|
270
256
|
}
|
|
271
257
|
//#endregion
|
|
272
|
-
export {
|
|
258
|
+
export { runPulseAnim as C, tsShort as D, selectCls as E, until as O, rel as S, sectionHeadCls as T, fnum as _, btn as a, labelCls as b, btnPrimaryPill as c, cronText as d, dotColor as f, fmt as g, dur as h, StatusPill as i, useHydrated as k, btnQuiet as l, dotOpacity as m, Loading as n, btnDanger as o, dotLabel as p, Pill as r, btnPrimary as s, ErrorBanner as t, btnSm as u, humanBytes as v, runPulseStyle as w, lastRunOf as x, inputCls as y };
|