@kky42/pievo-server 1.0.1 → 2.0.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/{LoopView-d0XYkzpx.js → LoopView-XXW59HAV.js} +3 -3
- package/.output/public/assets/{Modal-D_od-AuP.js → Modal-BnCPgN_k.js} +1 -1
- package/.output/public/assets/{SignIn-CbMeIAJZ.js → SignIn-BAoOONQ9.js} +1 -1
- package/.output/public/assets/{actionUi-ChGGALzg.js → actionUi-Dxe9cHAc.js} +1 -1
- package/.output/public/assets/app-Cr02jQtI.css +2 -0
- package/.output/public/assets/index-Dg07vo1l.js +12 -0
- package/.output/public/assets/{invite._token-DJtd-XE2.js → invite._token-BAqaXvte.js} +1 -1
- package/.output/public/assets/{invite._token-CnyCmLfD.js → invite._token-DclJQM6f.js} +1 -1
- package/.output/public/assets/{lifecycleUi-DGVOf5yS.js → lifecycleUi-B8Je9exd.js} +1 -1
- package/.output/public/assets/loops._loopId-vRXeqe7u.js +4 -0
- package/.output/public/assets/{loops._loopId_.runs._runId-DTwSFHkl.js → loops._loopId_.runs._runId-Cz3Z0VE_.js} +2 -2
- package/.output/public/assets/notifyFns-BDwtMV1G.js +1 -0
- package/.output/public/assets/{routes-CTtlM_qt.js → routes-C7Pw5lGn.js} +1 -1
- package/.output/public/assets/{routes-G3WYRyPN.js → routes-DPWJg52d.js} +1 -1
- package/.output/public/assets/{t._teamId-CGv7Oq6A.js → t._teamId-BW5yIkA-.js} +1 -1
- package/.output/public/assets/{t._teamId-gR7BVKkR.js → t._teamId-CCgajlMS.js} +1 -1
- package/.output/public/assets/ui-RFP3R3lU.js +1 -0
- package/.output/server/_ssr/{CodeField-tm4rr6G3.mjs → CodeField-B7oOmmwH.mjs} +3 -3
- package/.output/server/_ssr/{DashboardView-CmDqjCiq.mjs → DashboardView-DJlDpXxU.mjs} +13 -10
- package/.output/server/_ssr/{LoopPlaybook-BBn-xXpG.mjs → LoopPlaybook-BxKPoWAp.mjs} +2 -2
- package/.output/server/_ssr/{LoopView-DdyJYOCY.mjs → LoopView-B0AwFjwS.mjs} +4 -4
- package/.output/server/_ssr/{Modal-DpKZHLZK.mjs → Modal-CfWC9R49.mjs} +2 -2
- package/.output/server/_ssr/{SignIn-RJN_0GFZ.mjs → SignIn-C1duN7oy.mjs} +3 -3
- package/.output/server/_ssr/{actionUi-CZbEixbf.mjs → actionUi-mDYOvJdB.mjs} +2 -2
- package/.output/server/_ssr/{adapters-CJUhP66K.mjs → adapters-C10CmWK4.mjs} +4 -5
- package/.output/server/_ssr/{artifactFiles-zP43a-_v.mjs → artifactFiles-uxLErS_7.mjs} +3 -3
- package/.output/server/_ssr/artifacts-Dnvoxi-_.mjs +2 -0
- package/.output/server/_ssr/{auth-D2SlCxwE.mjs → auth-C6uZpC6v.mjs} +9 -9
- package/.output/server/_ssr/{boot-aI3l2EYT.mjs → boot-BpqTI96x.mjs} +119 -280
- package/.output/server/_ssr/{boot-BHTcCXzm.mjs → boot-C-47Ycr2.mjs} +1 -1
- package/.output/server/_ssr/{bun-sqlite-dialect-BW9W1_Ps-B-3PhI3u.mjs → bun-sqlite-dialect-BW9W1_Ps-DlRsM3s1.mjs} +2 -2
- package/.output/server/_ssr/{d1-sqlite-dialect-BLC8LXE6-Dm_NrETM.mjs → d1-sqlite-dialect-BLC8LXE6-Ct-4mGlC.mjs} +2 -2
- package/.output/server/_ssr/db-DB8pQ07M.mjs +2 -0
- package/.output/server/_ssr/{dist-DW3TO9NM.mjs → dist-lkoxB9C9.mjs} +2 -2
- package/.output/server/_ssr/{factory-Voe90MEY.mjs → factory-D73dkxmb.mjs} +2 -2
- package/.output/server/_ssr/{invite._token-DJxGLILJ.mjs → invite._token-23daBIfe.mjs} +2 -2
- package/.output/server/_ssr/{invite._token-CeD9PCvh.mjs → invite._token-C80Kxhqw.mjs} +5 -5
- package/.output/server/_ssr/{invite._token-D80GP0-u.mjs → invite._token-D-KuiRD1.mjs} +4 -4
- package/.output/server/_ssr/{kysely-adapter-DSLWmYjO.mjs → kysely-adapter-YDb9pnV-.mjs} +1 -1
- package/.output/server/_ssr/{lifecycleUi-BhRsBvJ7.mjs → lifecycleUi-l3nx9i3T.mjs} +3 -3
- package/.output/server/_ssr/logger-Dhuet6zm.mjs +2 -0
- package/.output/server/_ssr/{loopApi-ByX_X17-.mjs → loopApi-BXHLHlt_.mjs} +12 -13
- package/.output/server/_ssr/{loops._loopId-u8Dr2J5f.mjs → loops._loopId-BVPj6kiH.mjs} +3 -3
- package/.output/server/_ssr/{loops._loopId-BODmoHPu.mjs → loops._loopId-DVG3dDvp.mjs} +16 -40
- package/.output/server/_ssr/{loops._loopId_.runs._runId-DaKJdso2.mjs → loops._loopId_.runs._runId-Db6cTcUT.mjs} +6 -6
- package/.output/server/_ssr/{loops._loopId_.runs._runId-kGL-CMG6.mjs → loops._loopId_.runs._runId-DbEF9MQu.mjs} +3 -3
- package/.output/server/_ssr/{machineFns-MMSoHs7N.mjs → machineFns-B1ZLIrOn.mjs} +3 -3
- package/.output/server/_ssr/{node-sqlite-dialect-Y22MTyEv.mjs → node-sqlite-dialect-01BHn7am.mjs} +2 -2
- package/.output/server/_ssr/{notifyFns-Bmqhlrkc.mjs → notifyFns-CM35mqF2.mjs} +3 -3
- package/.output/server/_ssr/{notifyFns-CdrijMGW.mjs → notifyFns-qZ6FYwAL.mjs} +6 -5
- package/.output/server/_ssr/{router-CdxedJtm.mjs → router-B8W3-k_h.mjs} +30 -30
- package/.output/server/_ssr/{routes-ROFun1nJ.mjs → routes-BiAkIPos.mjs} +5 -5
- package/.output/server/_ssr/{routes-Bcs4T1ox.mjs → routes-DjaTMZqZ.mjs} +2 -2
- package/.output/server/_ssr/{routes-Bhay1OjL.mjs → routes-hr1KuV9-.mjs} +5 -5
- package/.output/server/_ssr/{runDiff-DWwt7qXb.mjs → runDiff-CyN5ZR5F.mjs} +2 -2
- package/.output/server/_ssr/ssr.mjs +48 -48
- package/.output/server/_ssr/store-DUMLJS0E.mjs +2 -0
- package/.output/server/_ssr/{t._teamId-CGba9PRq.mjs → t._teamId-B9E7Vgt3.mjs} +5 -5
- package/.output/server/_ssr/{t._teamId-DTKU7GOp.mjs → t._teamId-CxuiffZZ.mjs} +5 -5
- package/.output/server/_ssr/{t._teamId-Dy_McbRt.mjs → t._teamId-D_vi_OuG.mjs} +2 -2
- package/.output/server/_ssr/{teamFns-BMDqynoT.mjs → teamFns-DKpLbIiB.mjs} +3 -3
- package/.output/server/_ssr/{tokens-BHjz7Lvx.mjs → tokens-DuV-D_RB.mjs} +1 -1
- package/.output/server/_ssr/{ui-Dej2qjuS.mjs → ui-WGITbP6Z.mjs} +72 -51
- package/.output/server/{_tanstack-start-manifest_v-BwejIUux.mjs → _tanstack-start-manifest_v-ClkHkr-O.mjs} +25 -25
- package/.output/server/drizzle/0011_steep_marvel_zombies.sql +3 -0
- package/.output/server/drizzle/0012_blocked_run_status.sql +12 -0
- package/.output/server/drizzle/0013_drop_run_outcome.sql +2 -0
- package/.output/server/drizzle/meta/0011_snapshot.json +1872 -0
- package/.output/server/drizzle/meta/_journal.json +21 -0
- package/.output/server/index.mjs +106 -106
- package/drizzle/0011_steep_marvel_zombies.sql +3 -0
- package/drizzle/0012_blocked_run_status.sql +12 -0
- package/drizzle/0013_drop_run_outcome.sql +2 -0
- package/drizzle/meta/0011_snapshot.json +1872 -0
- package/drizzle/meta/_journal.json +21 -0
- package/package.json +1 -1
- package/.output/public/assets/app-BKySt9Ta.css +0 -2
- package/.output/public/assets/index-C4UaIr-9.js +0 -12
- package/.output/public/assets/loops._loopId-DdWM2f1F.js +0 -5
- package/.output/public/assets/notifyFns-b_jCi5XK.js +0 -1
- package/.output/public/assets/ui-Dp88qUWh.js +0 -1
- package/.output/server/_ssr/artifacts-CwCDal_d.mjs +0 -2
- package/.output/server/_ssr/db-7gZ8_zkc.mjs +0 -2
- package/.output/server/_ssr/logger-Dbz2vUU-.mjs +0 -2
- package/.output/server/_ssr/store-D75hcTob.mjs +0 -2
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { c as createFileRoute, s as lazyRouteComponent } from "../_libs/@tanstack/react-router+[...].mjs";
|
|
2
2
|
import { c as getAuthState, h as listTemplates, t as canViewTeam } from "./loopApi-BfMnXaKT.mjs";
|
|
3
|
-
import { a as authClient } from "./LoopPlaybook-
|
|
4
|
-
import { n as fetchLiveData } from "./DashboardView-
|
|
5
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/t._teamId-
|
|
6
|
-
var $$splitErrorComponentImporter = () => import("./t._teamId-
|
|
7
|
-
var $$splitComponentImporter = () => import("./t._teamId-
|
|
3
|
+
import { a as authClient } from "./LoopPlaybook-BxKPoWAp.mjs";
|
|
4
|
+
import { n as fetchLiveData } from "./DashboardView-DJlDpXxU.mjs";
|
|
5
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/t._teamId-B9E7Vgt3.js
|
|
6
|
+
var $$splitErrorComponentImporter = () => import("./t._teamId-D_vi_OuG.mjs");
|
|
7
|
+
var $$splitComponentImporter = () => import("./t._teamId-CxuiffZZ.mjs");
|
|
8
8
|
/**
|
|
9
9
|
* The explicit-team dashboard (`/t/<teamId>`, Phase 2): the same dashboard scoped
|
|
10
10
|
* to the team in the PATH, so a view is bookmarkable and each browser tab keeps
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { g as require_jsx_runtime } from "../_libs/@base-ui/react+[...].mjs";
|
|
2
|
-
import { s as useSession } from "./LoopPlaybook-
|
|
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 { s as useSession } from "./LoopPlaybook-BxKPoWAp.mjs";
|
|
3
|
+
import { t as SignIn } from "./SignIn-C1duN7oy.mjs";
|
|
4
|
+
import { t as DashboardView } from "./DashboardView-DJlDpXxU.mjs";
|
|
5
|
+
import { t as Route } from "./t._teamId-B9E7Vgt3.mjs";
|
|
6
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/t._teamId-CxuiffZZ.js
|
|
7
7
|
var import_jsx_runtime = require_jsx_runtime();
|
|
8
8
|
/**
|
|
9
9
|
* The explicit-team dashboard (`/t/<teamId>`, Phase 2): the same dashboard scoped
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { g as require_jsx_runtime } from "../_libs/@base-ui/react+[...].mjs";
|
|
2
2
|
import { f as useRouter } from "../_libs/@tanstack/react-router+[...].mjs";
|
|
3
|
-
import { r as LoadErrorCard } from "./actionUi-
|
|
4
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/t._teamId-
|
|
3
|
+
import { r as LoadErrorCard } from "./actionUi-mDYOvJdB.mjs";
|
|
4
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/t._teamId-D_vi_OuG.js
|
|
5
5
|
var import_jsx_runtime = require_jsx_runtime();
|
|
6
6
|
/**
|
|
7
7
|
* The explicit-team dashboard (`/t/<teamId>`, Phase 2): the same dashboard scoped
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { Bt as removeTeamMemberGuarded, E as createInvite$1, Et as listTeamsForUser, F as ensureServer, Kt as setTeamMemberRoleGuarded, M as deleteInvite, O as createTeam$2, P as deleteTeamCascade, Rt as redeemInviteAtomic, St as listPendingInvites, Tt as listTeamMembers, Vt as renameTeam$2, Y as getInvite, ct as isPersonalTeam, nt as getTeam, p as addTeamMember$1, rt as getTeamMember, tn as userByEmail, x as countLoopsForTeam } from "./boot-
|
|
1
|
+
import { Bt as removeTeamMemberGuarded, E as createInvite$1, Et as listTeamsForUser, F as ensureServer, Kt as setTeamMemberRoleGuarded, M as deleteInvite, O as createTeam$2, P as deleteTeamCascade, Rt as redeemInviteAtomic, St as listPendingInvites, Tt as listTeamMembers, Vt as renameTeam$2, Y as getInvite, ct as isPersonalTeam, nt as getTeam, p as addTeamMember$1, rt as getTeamMember, tn as userByEmail, x as countLoopsForTeam } from "./boot-BpqTI96x.mjs";
|
|
2
2
|
import { n as createServerFn } from "./ssr.mjs";
|
|
3
|
-
import { authEnabled, currentUserId } from "./auth-
|
|
3
|
+
import { authEnabled, currentUserId } from "./auth-C6uZpC6v.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-DKpLbIiB.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
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Mt as mintDeviceToken, zt as rememberConnectKey } from "./boot-
|
|
1
|
+
import { Mt as mintDeviceToken, zt as rememberConnectKey } from "./boot-BpqTI96x.mjs";
|
|
2
2
|
export { mintDeviceToken, rememberConnectKey };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { o as __toESM } from "../_runtime.mjs";
|
|
2
2
|
import { g as require_jsx_runtime, h as require_react } from "../_libs/@base-ui/react+[...].mjs";
|
|
3
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/ui-
|
|
3
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/ui-WGITbP6Z.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() : "—";
|
|
@@ -84,69 +84,87 @@ function humanBytes(n) {
|
|
|
84
84
|
* for meaning. Mirrored by the --color-run-* tokens used in Tailwind classes.
|
|
85
85
|
*/
|
|
86
86
|
var ST = {
|
|
87
|
-
|
|
88
|
-
c: "var(--color-
|
|
89
|
-
label: "
|
|
87
|
+
kept: {
|
|
88
|
+
c: "var(--color-run-kept)",
|
|
89
|
+
label: "Kept"
|
|
90
90
|
},
|
|
91
|
-
|
|
92
|
-
c: "var(--color-
|
|
93
|
-
label: "
|
|
91
|
+
"no-change": {
|
|
92
|
+
c: "var(--color-run-no-change)",
|
|
93
|
+
label: "No change"
|
|
94
94
|
},
|
|
95
|
-
|
|
96
|
-
c: "var(--color-
|
|
97
|
-
label: "
|
|
95
|
+
blocked: {
|
|
96
|
+
c: "var(--color-run-blocked)",
|
|
97
|
+
label: "Blocked"
|
|
98
98
|
},
|
|
99
99
|
error: {
|
|
100
|
-
c: "var(--color-
|
|
100
|
+
c: "var(--color-run-error)",
|
|
101
101
|
label: "Error"
|
|
102
102
|
},
|
|
103
|
-
|
|
104
|
-
c: "var(--color-
|
|
105
|
-
label: "
|
|
103
|
+
warning: {
|
|
104
|
+
c: "var(--color-run-warning)",
|
|
105
|
+
label: "Missing status"
|
|
106
106
|
},
|
|
107
|
-
|
|
108
|
-
c: "var(--color-
|
|
109
|
-
label: "
|
|
107
|
+
canceled: {
|
|
108
|
+
c: "var(--color-run-canceled)",
|
|
109
|
+
label: "Canceled"
|
|
110
|
+
},
|
|
111
|
+
queued: {
|
|
112
|
+
c: "var(--color-run-queued)",
|
|
113
|
+
label: "Queued"
|
|
114
|
+
},
|
|
115
|
+
"active-exec": {
|
|
116
|
+
c: "var(--color-run-active-exec)",
|
|
117
|
+
label: "Running…"
|
|
118
|
+
},
|
|
119
|
+
"active-edit": {
|
|
120
|
+
c: "var(--color-run-active-edit)",
|
|
121
|
+
label: "Editing…"
|
|
122
|
+
},
|
|
123
|
+
"active-evolve": {
|
|
124
|
+
c: "var(--color-run-active-evolve)",
|
|
125
|
+
label: "Evolving…"
|
|
110
126
|
}
|
|
111
127
|
};
|
|
112
|
-
var
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
* These describe how a run finished — `direct`/`agent` mean a report reached the
|
|
116
|
-
* user (verbatim vs relayed), `exec` means a normal run completed. We show the
|
|
117
|
-
* user-facing meaning, not the internal enum, so "DIRECT" never leaks into the UI.
|
|
118
|
-
*/
|
|
119
|
-
var OUTCOME_LABEL = {
|
|
120
|
-
direct: "Reported",
|
|
121
|
-
agent: "Reported",
|
|
122
|
-
exec: "Ran"
|
|
123
|
-
};
|
|
124
|
-
/** Safety net for any unmapped status/outcome string — Title-case, never raw. */
|
|
125
|
-
var titleCase = (s) => s ? s.charAt(0).toUpperCase() + s.slice(1).replace(/-/g, " ") : s;
|
|
128
|
+
var statusMeta = (k) => k === "kept" || k === "no-change" || k === "blocked" ? ST[k] : void 0;
|
|
129
|
+
var roleWord = (r) => r.role === "edit" ? "edit" : r.role === "evolve" ? "evolve" : "exec";
|
|
130
|
+
var keptLabel = (r) => roleWord(r) === "edit" ? "Edited" : roleWord(r) === "evolve" ? "Improved" : "Kept";
|
|
126
131
|
function dotColor(r) {
|
|
127
|
-
if (r.
|
|
128
|
-
if (r.
|
|
129
|
-
if (r.
|
|
130
|
-
if (r.
|
|
131
|
-
if (r.
|
|
132
|
-
if (r.
|
|
133
|
-
return (
|
|
132
|
+
if (r.running) return ST[`active-${roleWord(r)}`].c;
|
|
133
|
+
if (r.status === "blocked") return ST.blocked.c;
|
|
134
|
+
if (r.queued) return ST.queued.c;
|
|
135
|
+
if (r.phase === "error") return ST.error.c;
|
|
136
|
+
if (r.canceled || r.phase === "canceled") return ST.canceled.c;
|
|
137
|
+
if (r.phase === "done" && !statusMeta(r.status)) return ST.warning.c;
|
|
138
|
+
return (statusMeta(r.status) ?? ST["no-change"]).c;
|
|
139
|
+
}
|
|
140
|
+
function dotOpacity(r) {
|
|
141
|
+
if (r.running || r.status === "blocked" || r.phase === "error") return 1;
|
|
142
|
+
if (r.queued) return .7;
|
|
143
|
+
if (r.canceled || r.phase === "canceled") return .5;
|
|
144
|
+
if (r.phase === "done" && !statusMeta(r.status)) return .9;
|
|
145
|
+
if (r.status === "no-change") return .55;
|
|
146
|
+
return 1;
|
|
134
147
|
}
|
|
135
148
|
function dotLabel(r) {
|
|
136
|
-
if (r.queued) return
|
|
149
|
+
if (r.queued) return ST.queued.label;
|
|
137
150
|
if (r.running) {
|
|
138
151
|
if (r.cancelRequested) return "Stopping…";
|
|
139
|
-
return r.
|
|
152
|
+
return ST[`active-${roleWord(r)}`].label;
|
|
153
|
+
}
|
|
154
|
+
if (r.status === "blocked") return ST.blocked.label;
|
|
155
|
+
if (r.phase === "error") {
|
|
156
|
+
if (r.cancelRequested) return "Failed while stopping";
|
|
157
|
+
return ST.error.label;
|
|
158
|
+
}
|
|
159
|
+
if (r.canceled || r.phase === "canceled") {
|
|
160
|
+
if (r.error === "stopped by user") return "Canceled";
|
|
161
|
+
return "Canceled";
|
|
140
162
|
}
|
|
141
|
-
if (r.
|
|
142
|
-
if (r.
|
|
143
|
-
if (r.
|
|
144
|
-
if (r.
|
|
145
|
-
|
|
146
|
-
if (r.outcome === "error") return ST.error.label;
|
|
147
|
-
if (r.outcome === "evolve") return ST.evolve.label;
|
|
148
|
-
if (r.outcome === "silent") return ST.silent.label;
|
|
149
|
-
return lookup(r.status)?.label ?? OUTCOME_LABEL[r.outcome] ?? titleCase(r.outcome);
|
|
163
|
+
if (r.cancelRequested && r.phase === "done") return "Succeeded while stopping";
|
|
164
|
+
if (r.status === "kept") return keptLabel(r);
|
|
165
|
+
if (r.status === "no-change") return ST["no-change"].label;
|
|
166
|
+
if (r.phase === "done") return ST.warning.label;
|
|
167
|
+
return ST["no-change"].label;
|
|
150
168
|
}
|
|
151
169
|
var lastRunOf = (j) => {
|
|
152
170
|
const a = j.runs ?? [];
|
|
@@ -259,9 +277,12 @@ function StatusPill({ run, colorText }) {
|
|
|
259
277
|
style: colorText ? { color: dotColor(run) } : void 0,
|
|
260
278
|
children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", {
|
|
261
279
|
className: "size-2 rounded-full",
|
|
262
|
-
style: {
|
|
280
|
+
style: {
|
|
281
|
+
background: dotColor(run),
|
|
282
|
+
opacity: dotOpacity(run)
|
|
283
|
+
}
|
|
263
284
|
}), dotLabel(run)]
|
|
264
285
|
});
|
|
265
286
|
}
|
|
266
287
|
//#endregion
|
|
267
|
-
export {
|
|
288
|
+
export { sectionHeadCls as A, isCompleted as C, rel as D, md as E, tsShort as M, until as N, runPulseAnim as O, useHydrated as P, isClosed as S, lastRunOf as T, dur as _, StatusPill as a, humanBytes as b, btnDanger as c, btnQuiet as d, btnSm as f, dotOpacity as g, dotLabel as h, Pre as i, selectCls as j, runPulseStyle as k, btnPrimary as l, dotColor as m, Loading as n, btn as o, cronText as p, Pill as r, btnCost as s, ErrorBanner as t, btnPrimaryPill as u, fmt as v, labelCls as w, inputCls as x, fnum as y };
|
|
@@ -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-ClkHkr-O.js
|
|
2
2
|
var tsrStartManifest = () => ({ routes: {
|
|
3
3
|
__root__: {
|
|
4
4
|
filePath: "/Users/kky/dev/evo/packages/server/src/routes/__root.tsx",
|
|
@@ -25,69 +25,69 @@ var tsrStartManifest = () => ({ routes: {
|
|
|
25
25
|
"/loops/$loopId_/runs/$runId"
|
|
26
26
|
],
|
|
27
27
|
preloads: [
|
|
28
|
-
"/assets/index-
|
|
28
|
+
"/assets/index-Dg07vo1l.js",
|
|
29
29
|
"/assets/jsx-runtime-BseJUIpC.js",
|
|
30
30
|
"/assets/preload-helper-ycaoAemE.js",
|
|
31
|
-
"/assets/Modal-
|
|
32
|
-
"/assets/notifyFns-
|
|
31
|
+
"/assets/Modal-BnCPgN_k.js",
|
|
32
|
+
"/assets/notifyFns-BDwtMV1G.js",
|
|
33
33
|
"/assets/useRouter-DsjH8G0p.js",
|
|
34
34
|
"/assets/loopApi-5s2-kCnu.js",
|
|
35
|
-
"/assets/ui-
|
|
36
|
-
"/assets/lifecycleUi-
|
|
35
|
+
"/assets/ui-RFP3R3lU.js",
|
|
36
|
+
"/assets/lifecycleUi-B8Je9exd.js"
|
|
37
37
|
],
|
|
38
38
|
scripts: [{ attrs: {
|
|
39
39
|
type: "module",
|
|
40
40
|
async: !0,
|
|
41
|
-
src: "/assets/index-
|
|
41
|
+
src: "/assets/index-Dg07vo1l.js"
|
|
42
42
|
} }]
|
|
43
43
|
},
|
|
44
44
|
"/": {
|
|
45
45
|
filePath: "/Users/kky/dev/evo/packages/server/src/routes/index.tsx",
|
|
46
46
|
children: void 0,
|
|
47
47
|
preloads: [
|
|
48
|
-
"/assets/routes-
|
|
49
|
-
"/assets/actionUi-
|
|
50
|
-
"/assets/routes-
|
|
51
|
-
"/assets/SignIn-
|
|
48
|
+
"/assets/routes-C7Pw5lGn.js",
|
|
49
|
+
"/assets/actionUi-Dxe9cHAc.js",
|
|
50
|
+
"/assets/routes-DPWJg52d.js",
|
|
51
|
+
"/assets/SignIn-BAoOONQ9.js"
|
|
52
52
|
]
|
|
53
53
|
},
|
|
54
54
|
"/invite/$token": {
|
|
55
55
|
filePath: "/Users/kky/dev/evo/packages/server/src/routes/invite.$token.tsx",
|
|
56
56
|
children: void 0,
|
|
57
57
|
preloads: [
|
|
58
|
-
"/assets/invite._token-
|
|
59
|
-
"/assets/
|
|
60
|
-
"/assets/invite._token-
|
|
61
|
-
"/assets/
|
|
58
|
+
"/assets/invite._token-BAqaXvte.js",
|
|
59
|
+
"/assets/actionUi-Dxe9cHAc.js",
|
|
60
|
+
"/assets/invite._token-DclJQM6f.js",
|
|
61
|
+
"/assets/SignIn-BAoOONQ9.js"
|
|
62
62
|
]
|
|
63
63
|
},
|
|
64
64
|
"/loops/$loopId": {
|
|
65
65
|
filePath: "/Users/kky/dev/evo/packages/server/src/routes/loops.$loopId.tsx",
|
|
66
66
|
children: void 0,
|
|
67
67
|
preloads: [
|
|
68
|
-
"/assets/loops._loopId-
|
|
68
|
+
"/assets/loops._loopId-vRXeqe7u.js",
|
|
69
69
|
"/assets/artifactView-DekEs5ME.js",
|
|
70
|
-
"/assets/SignIn-
|
|
71
|
-
"/assets/actionUi-
|
|
70
|
+
"/assets/SignIn-BAoOONQ9.js",
|
|
71
|
+
"/assets/actionUi-Dxe9cHAc.js"
|
|
72
72
|
]
|
|
73
73
|
},
|
|
74
74
|
"/t/$teamId": {
|
|
75
75
|
filePath: "/Users/kky/dev/evo/packages/server/src/routes/t.$teamId.tsx",
|
|
76
76
|
children: void 0,
|
|
77
77
|
preloads: [
|
|
78
|
-
"/assets/t._teamId-
|
|
79
|
-
"/assets/SignIn-
|
|
80
|
-
"/assets/t._teamId-
|
|
81
|
-
"/assets/actionUi-
|
|
78
|
+
"/assets/t._teamId-BW5yIkA-.js",
|
|
79
|
+
"/assets/SignIn-BAoOONQ9.js",
|
|
80
|
+
"/assets/t._teamId-CCgajlMS.js",
|
|
81
|
+
"/assets/actionUi-Dxe9cHAc.js"
|
|
82
82
|
]
|
|
83
83
|
},
|
|
84
84
|
"/loops/$loopId_/runs/$runId": {
|
|
85
85
|
filePath: "/Users/kky/dev/evo/packages/server/src/routes/loops.$loopId_.runs.$runId.tsx",
|
|
86
86
|
children: void 0,
|
|
87
87
|
preloads: [
|
|
88
|
-
"/assets/loops._loopId_.runs._runId-
|
|
89
|
-
"/assets/SignIn-
|
|
90
|
-
"/assets/actionUi-
|
|
88
|
+
"/assets/loops._loopId_.runs._runId-Cz3Z0VE_.js",
|
|
89
|
+
"/assets/SignIn-BAoOONQ9.js",
|
|
90
|
+
"/assets/actionUi-Dxe9cHAc.js"
|
|
91
91
|
]
|
|
92
92
|
}
|
|
93
93
|
} });
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
-- Redesign run status as the agent's business result across exec/edit/evolve.
|
|
2
|
+
-- The column is plain text (Drizzle enum is TS-only), so this is a data migration
|
|
3
|
+
-- for existing history rather than a DDL constraint change.
|
|
4
|
+
UPDATE "runs"
|
|
5
|
+
SET "status" = CASE "status"
|
|
6
|
+
WHEN 'new' THEN 'kept'
|
|
7
|
+
WHEN 'resolved' THEN 'kept'
|
|
8
|
+
WHEN 'nothing-new' THEN 'no-change'
|
|
9
|
+
ELSE NULL
|
|
10
|
+
END
|
|
11
|
+
WHERE "status" IS NOT NULL
|
|
12
|
+
AND "status" NOT IN ('kept', 'no-change', 'blocked');
|