bazilion 0.54.0 → 0.55.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cli.js +10 -5
- package/dist/cli.js.map +1 -1
- package/dist/daemon.js +356 -69
- package/dist/daemon.js.map +1 -1
- package/dist/web/client/assets/AddProviderDialog-DfFOaCjC.js +1 -0
- package/dist/web/client/assets/AgentTemplateParts-IMJmAQjN.js +1 -0
- package/dist/web/client/assets/{Button-UiegBKOK.js → Button-bTJUy9Qf.js} +1 -1
- package/dist/web/client/assets/{ConfigPage-CUbHBhzx.js → ConfigPage-CzLHZa5o.js} +1 -1
- package/dist/web/client/assets/ConfirmDialog-Cu_evkgc.js +1 -0
- package/dist/web/client/assets/ConnectionsView-D7Fmutl2.js +1 -0
- package/dist/web/client/assets/{ManagePage-BJWZd1ts.js → ManagePage-BfvlCrmz.js} +1 -1
- package/dist/web/client/assets/{SectionTabs-ViZKm3-B.js → SectionTabs-D7kPQGoh.js} +1 -1
- package/dist/web/client/assets/{Segmented-MYKKTuZO.js → Segmented-oPkAHPO1.js} +1 -1
- package/dist/web/client/assets/SkillsParts-BuTxcCam.js +1 -0
- package/dist/web/client/assets/SpawnTeamModal-B1UnOvtp.js +1 -0
- package/dist/web/client/assets/TeamForm-DbzxtRjj.js +1 -0
- package/dist/web/client/assets/TeamThread-jpsWq6vI.js +1 -0
- package/dist/web/client/assets/UnsavedChangesGuard-BfyU9v9i.js +1 -0
- package/dist/web/client/assets/_id-BCNBLF-2.js +1 -0
- package/dist/web/client/assets/_id-D8_H79U2.js +1 -0
- package/dist/web/client/assets/access-CDWe1Kwy.js +1 -0
- package/dist/web/client/assets/{agent-actions-BgE9fKHH.js → agent-actions-CUee6aJq.js} +1 -1
- package/dist/web/client/assets/agents-sE686DTf.js +1 -0
- package/dist/web/client/assets/agents-yrur1NDa.js +1 -0
- package/dist/web/client/assets/arrow-right-U66krZnr.js +1 -0
- package/dist/web/client/assets/attention-DYEHDfmx.js +1 -0
- package/dist/web/client/assets/{bot-Bb--PFVU.js → bot-BCone8es.js} +1 -1
- package/dist/web/client/assets/chevron-right-CuqJFXTe.js +1 -0
- package/dist/web/client/assets/config-BHv886pr.js +1 -0
- package/dist/web/client/assets/createLucideIcon-jxSFpY0Q.js +1 -0
- package/dist/web/client/assets/{download-C4t9l5wR.js → download-Dy88XavQ.js} +1 -1
- package/dist/web/client/assets/{file-text-DzbjpYrV.js → file-text-DPsZ8-h9.js} +1 -1
- package/dist/web/client/assets/{images-DSYgPKM7.js → images-QBh_rL8b.js} +1 -1
- package/dist/web/client/assets/index-GOthyyE-.js +14 -0
- package/dist/web/client/assets/{key-round-BpK4-E3T.js → key-round-C-I8fAG0.js} +1 -1
- package/dist/web/client/assets/{list-checks-JNXcmws9.js → list-checks-C9Q-bjEi.js} +1 -1
- package/dist/web/client/assets/{login-DcQJk5-U.js → login-Dhe15Uuc.js} +1 -1
- package/dist/web/client/assets/{manage-SRGSx8n2.js → manage-BaIU5zKy.js} +1 -1
- package/dist/web/client/assets/mcp-A_Eo7x3q.js +1 -0
- package/dist/web/client/assets/{message-square-DM2MP9vF.js → message-square-Bwf9cHOx.js} +1 -1
- package/dist/web/client/assets/{network-BJ4iPjQO.js → network-B3FA93gC.js} +1 -1
- package/dist/web/client/assets/{parts-LZxl9Gvc.js → parts-CpIfn_BH.js} +1 -1
- package/dist/web/client/assets/plus-CQPjc8uR.js +1 -0
- package/dist/web/client/assets/routes-CTg_yjbY.js +85 -0
- package/dist/web/client/assets/skills-CLjtYtkA.js +1 -0
- package/dist/web/client/assets/{square-terminal-Dmm6cV-G.js → square-terminal-DaNLwvEs.js} +1 -1
- package/dist/web/client/assets/style-mjEbxhf5.js +7 -0
- package/dist/web/client/assets/styles-DzcEC3Rd.css +2 -0
- package/dist/web/client/assets/{system-zQ0NnQML.js → system-CrTSr5_t.js} +1 -1
- package/dist/web/client/assets/teams-Bhje5n2h.js +1 -0
- package/dist/web/client/assets/teams-Cbgw0Qhv.js +1 -0
- package/dist/web/client/assets/telegram-HtUczmaA.js +1 -0
- package/dist/web/client/assets/tools-BpjFvmoX.js +1 -0
- package/dist/web/client/assets/use-resource-BnvgCpBi.js +1 -0
- package/dist/web/client/assets/{users-round-BJrym3FG.js → users-round-BElBVSnw.js} +1 -1
- package/dist/web/client/assets/welcome-D47LKWYO.js +1 -0
- package/dist/web/client/assets/{wrench-GbE1M1RJ.js → wrench-DotqSqSm.js} +1 -1
- package/dist/web/server/assets/{AddProviderDialog-Nc5mc_P6.js → AddProviderDialog-BbpuvC2a.js} +2 -2
- package/dist/web/server/assets/{AgentTemplateParts-DZK_r3nQ.js → AgentTemplateParts-Ce7snK3m.js} +1 -1
- package/dist/web/server/assets/{ConfigPage-CxzL-gTm.js → ConfigPage-qP9ejjuw.js} +1 -1
- package/dist/web/server/assets/{ConfirmDialog-4xeCXKHe.js → ConfirmDialog-Z-uYbE9B.js} +1 -1
- package/dist/web/server/assets/{ConnectionsView-B02FjNsM.js → ConnectionsView-CLIV7V5D.js} +7 -7
- package/dist/web/server/assets/{ManagePage-BfCWE8Lj.js → ManagePage-BR9FwVZM.js} +1 -1
- package/dist/web/server/assets/{Rail-3gbidhyv.js → Rail-b6EbjBB-.js} +6 -6
- package/dist/web/server/assets/{SkillsParts-D58l8voo.js → SkillsParts-DWpdydCJ.js} +1 -1
- package/dist/web/server/assets/{SpawnDialog-MJWwppgC.js → SpawnDialog-3wNx0W1R.js} +212 -9
- package/dist/web/server/assets/{SpawnTeamModal-RjzAeX_Q.js → SpawnTeamModal-C-YMvoaB.js} +1 -1
- package/dist/web/server/assets/{TeamForm-DdOgIMiV.js → TeamForm-CL45gBdt.js} +1 -1
- package/dist/web/server/assets/{TeamThread-D-PvO3fu.js → TeamThread-CVVH6kKj.js} +3 -3
- package/dist/web/server/assets/{UnsavedChangesGuard-Bb5frygQ.js → UnsavedChangesGuard-CXK75QQp.js} +1 -1
- package/dist/web/server/assets/{_id-BPjVkcNb.js → _id-2I4CSMQj.js} +6 -6
- package/dist/web/server/assets/{_id-C1_l6oSR.js → _id-8zsImuGa.js} +7 -7
- package/dist/web/server/assets/{_id-BUfy-GwH.js → _id-BpfoPuTv.js} +2 -2
- package/dist/web/server/assets/{_id-CHvYQhWt.js → _id-d2OwovYV.js} +2 -2
- package/dist/web/server/assets/_tanstack-start-manifest_v-kkY_s_uR.js +256 -0
- package/dist/web/server/assets/{access-CNfvQ3NB.js → access-CwZ27Wsl.js} +4 -4
- package/dist/web/server/assets/{access-Cm_izIIC.js → access-CyUoElTP.js} +2 -2
- package/dist/web/server/assets/{agent-actions-COnfW5AU.js → agent-actions-C07Cp5Ue.js} +1 -1
- package/dist/web/server/assets/{agents-D0hfGIMK.js → agents-CwzhpDPm.js} +5 -5
- package/dist/web/server/assets/{agents-DzpqlIuJ.js → agents-DCWEoaxY.js} +2 -2
- package/dist/web/server/assets/{agents-C7UmTjfO.js → agents-DTub-rJk.js} +2 -2
- package/dist/web/server/assets/{agents-NOkh61dV.js → agents-vuXrAv1j.js} +5 -5
- package/dist/web/server/assets/{attention-Cx9ZWPOO.js → attention-BqCnJ1hg.js} +3 -2
- package/dist/web/server/assets/{attention-CgWhXjX7.js → attention-Dki8rmGZ.js} +1 -0
- package/dist/web/server/assets/{attention-CRvxt22X.js → attention-DwGaur_w.js} +21 -8
- package/dist/web/server/assets/{config-B5CS8juO.js → config-B9dJiji_.js} +2 -2
- package/dist/web/server/assets/{config-D117117T.js → config-D3MR2VjE.js} +6 -6
- package/dist/web/server/assets/{createSsrRpc-CwTd0zrB.js → createSsrRpc-qesavJv-.js} +1 -1
- package/dist/web/server/assets/{login-va4EtvA8.js → login-CRd1yTH5.js} +1 -1
- package/dist/web/server/assets/{login-IF0Gbsuq.js → login-ZN6KV8n-.js} +2 -2
- package/dist/web/server/assets/{mcp-C96PBxpb.js → mcp-BQ15a9dG.js} +4 -4
- package/dist/web/server/assets/{mcp-Bm9U6x7N.js → mcp-CYQuYWGX.js} +2 -2
- package/dist/web/server/assets/{page-title-CwcbXMhx.js → page-title-CVY-c2Pd.js} +6 -3
- package/dist/web/server/assets/{router-8Iq19GOz.js → router-CPdWGKQ5.js} +192 -60
- package/dist/web/server/assets/{routes-Kwam6JmS.js → routes-BPloBDc8.js} +9 -6
- package/dist/web/server/assets/{routes-BLo-fWbQ.js → routes-Dw1K3TQw.js} +132 -31
- package/dist/web/server/assets/{routes-BXvYYFrN.js → routes-xDPesCQu.js} +2 -2
- package/dist/web/server/assets/{skills-BqCnA-74.js → skills-6VSpEORe.js} +2 -2
- package/dist/web/server/assets/{skills-DSezIdDc.js → skills-D0xrNc2_.js} +5 -5
- package/dist/web/server/assets/{style-C2hIPY_Y.js → style-aMybyKzc.js} +1 -1
- package/dist/web/server/assets/{system-CcLCmkIC.js → system-B5sPgdQW.js} +2 -2
- package/dist/web/server/assets/{system-E0VePdzO.js → system-CXmiWyDG.js} +3 -3
- package/dist/web/server/assets/{teams-DScFp8mK.js → teams-ClRBVSYU.js} +2 -2
- package/dist/web/server/assets/{teams-DxA-vnzY.js → teams-Dq4RCxis.js} +2 -2
- package/dist/web/server/assets/{teams-CQVV18D3.js → teams-iXiCnN2i.js} +5 -5
- package/dist/web/server/assets/{teams-CdCmBJIj.js → teams-yF3I_Zjq.js} +5 -5
- package/dist/web/server/assets/{telegram-DR7xijeS.js → telegram-D9U9c1MN.js} +2 -2
- package/dist/web/server/assets/{telegram-DJ8s_91Y.js → telegram-DwEgyR1x.js} +5 -5
- package/dist/web/server/assets/{tools-CsH9DI-4.js → tools-DflVIdDd.js} +2 -2
- package/dist/web/server/assets/{tools-V6kezUpL.js → tools-VPIKjr3y.js} +3 -3
- package/dist/web/server/assets/{use-resource-CjcJwn7F.js → use-resource-CbHGYti0.js} +1 -1
- package/dist/web/server/assets/{welcome-BpmcD-ia.js → welcome-7DrYZVs6.js} +2 -2
- package/dist/web/server/assets/{welcome-Ya8TkL4v.js → welcome-966nOyyK.js} +6 -6
- package/dist/web/server/server.js +4 -4
- package/dist/web-server.js +4 -0
- package/dist/web-server.js.map +1 -1
- package/dist/worker.js +17 -13
- package/dist/worker.js.map +1 -1
- package/package.json +4 -4
- package/dist/web/client/assets/AddProviderDialog-CkwSq3C7.js +0 -1
- package/dist/web/client/assets/AgentTemplateParts-CEn_4qVs.js +0 -1
- package/dist/web/client/assets/ConfirmDialog-VqBOFZEp.js +0 -1
- package/dist/web/client/assets/ConnectionsView-ByARMcWP.js +0 -1
- package/dist/web/client/assets/SkillsParts-UvNK5SYP.js +0 -1
- package/dist/web/client/assets/SpawnTeamModal-DG5UbJNK.js +0 -1
- package/dist/web/client/assets/TeamForm-DGlxWv4e.js +0 -1
- package/dist/web/client/assets/TeamThread-mkwODO0S.js +0 -1
- package/dist/web/client/assets/UnsavedChangesGuard-BmdwLH99.js +0 -1
- package/dist/web/client/assets/_id-CvcxNmBH.js +0 -1
- package/dist/web/client/assets/_id-UyBk7gRl.js +0 -1
- package/dist/web/client/assets/access-C8d8vaQ6.js +0 -1
- package/dist/web/client/assets/agents-CgtzqBpD.js +0 -1
- package/dist/web/client/assets/agents-D7W4BT8r.js +0 -1
- package/dist/web/client/assets/arrow-right-D0HKRb7U.js +0 -1
- package/dist/web/client/assets/attention-D9mQWoKt.js +0 -1
- package/dist/web/client/assets/chevron-right-bs0TUSl2.js +0 -1
- package/dist/web/client/assets/config-Dw6GWf38.js +0 -1
- package/dist/web/client/assets/createLucideIcon-DkniuEtD.js +0 -1
- package/dist/web/client/assets/index-YW0gXPfk.js +0 -14
- package/dist/web/client/assets/mcp-BUWu4TvS.js +0 -1
- package/dist/web/client/assets/plus-CLGNN5QX.js +0 -1
- package/dist/web/client/assets/routes-BxIIyGho.js +0 -85
- package/dist/web/client/assets/skills-C7DzIwFJ.js +0 -1
- package/dist/web/client/assets/style-CA2GAk9b.js +0 -7
- package/dist/web/client/assets/styles-C3CDSGAr.css +0 -2
- package/dist/web/client/assets/teams-BEIJHObN.js +0 -1
- package/dist/web/client/assets/teams-DlOc7Ods.js +0 -1
- package/dist/web/client/assets/telegram-DKHq5DpE.js +0 -1
- package/dist/web/client/assets/tools-BKIpLaiC.js +0 -1
- package/dist/web/client/assets/use-resource-CQaIZbpy.js +0 -1
- package/dist/web/client/assets/welcome-CyS4Hrd-.js +0 -1
- package/dist/web/server/assets/_tanstack-start-manifest_v-CR3jm1nY.js +0 -256
|
@@ -65,6 +65,205 @@ function errorMessage(error) {
|
|
|
65
65
|
return error instanceof Error ? error.message : String(error);
|
|
66
66
|
}
|
|
67
67
|
//#endregion
|
|
68
|
+
//#region src/lib/live.tsx
|
|
69
|
+
var CHANNEL = "bazilion-live";
|
|
70
|
+
var LOCK = "bazilion-live";
|
|
71
|
+
var EVENT_TYPES = ["activity", "attention"];
|
|
72
|
+
/** After a failed stream: wait, then try again, longer each time up to the last. */
|
|
73
|
+
var RETRY_MS = [
|
|
74
|
+
1e3,
|
|
75
|
+
3e3,
|
|
76
|
+
1e4,
|
|
77
|
+
3e4
|
|
78
|
+
];
|
|
79
|
+
var LiveContext = createContext({
|
|
80
|
+
connected: false,
|
|
81
|
+
subscribe: () => () => {},
|
|
82
|
+
isLeader: () => false,
|
|
83
|
+
anyTabFocused: () => true
|
|
84
|
+
});
|
|
85
|
+
function useLive() {
|
|
86
|
+
return useContext(LiveContext);
|
|
87
|
+
}
|
|
88
|
+
/** Parse one SSE message's data; null for anything that is not a live event. */
|
|
89
|
+
function parseLiveEvent(data) {
|
|
90
|
+
try {
|
|
91
|
+
const event = JSON.parse(data);
|
|
92
|
+
return event && EVENT_TYPES.includes(event.type) ? event : null;
|
|
93
|
+
} catch {
|
|
94
|
+
return null;
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
function LiveProvider({ enabled, children }) {
|
|
98
|
+
const [connected, setConnected] = useState(false);
|
|
99
|
+
const handlers = useRef(/* @__PURE__ */ new Map());
|
|
100
|
+
const latest = useRef(/* @__PURE__ */ new Map());
|
|
101
|
+
const leading = useRef(false);
|
|
102
|
+
const focusedTabs = useRef(/* @__PURE__ */ new Set());
|
|
103
|
+
const deliver = useCallback((event) => {
|
|
104
|
+
latest.current.set(event.type, event);
|
|
105
|
+
for (const handler of handlers.current.get(event.type) ?? []) try {
|
|
106
|
+
handler(event);
|
|
107
|
+
} catch (error) {
|
|
108
|
+
console.warn("live feed reader failed:", error);
|
|
109
|
+
}
|
|
110
|
+
}, []);
|
|
111
|
+
useEffect(() => {
|
|
112
|
+
if (!enabled) return;
|
|
113
|
+
let stopped = false;
|
|
114
|
+
let source = null;
|
|
115
|
+
let retry;
|
|
116
|
+
let failures = 0;
|
|
117
|
+
const tab = Math.random().toString(36).slice(2);
|
|
118
|
+
const channel = typeof BroadcastChannel === "undefined" ? null : new BroadcastChannel(CHANNEL);
|
|
119
|
+
const shared = Boolean(channel && typeof navigator !== "undefined" && navigator.locks);
|
|
120
|
+
const post = (message) => channel?.postMessage(message);
|
|
121
|
+
const share = (message) => {
|
|
122
|
+
if (shared) post(message);
|
|
123
|
+
};
|
|
124
|
+
let releaseLock = () => {};
|
|
125
|
+
const status = (value) => {
|
|
126
|
+
setConnected(value);
|
|
127
|
+
share({
|
|
128
|
+
kind: "status",
|
|
129
|
+
connected: value
|
|
130
|
+
});
|
|
131
|
+
};
|
|
132
|
+
const open = () => {
|
|
133
|
+
if (stopped || !shared && document.visibilityState === "hidden") return;
|
|
134
|
+
source = new EventSource("/api/events");
|
|
135
|
+
for (const type of EVENT_TYPES) source.addEventListener(type, (message) => {
|
|
136
|
+
const event = parseLiveEvent(message.data);
|
|
137
|
+
if (!event) return;
|
|
138
|
+
failures = 0;
|
|
139
|
+
deliver(event);
|
|
140
|
+
share({
|
|
141
|
+
kind: "event",
|
|
142
|
+
event
|
|
143
|
+
});
|
|
144
|
+
});
|
|
145
|
+
source.onopen = () => status(true);
|
|
146
|
+
source.onerror = () => {
|
|
147
|
+
status(false);
|
|
148
|
+
if (source?.readyState === EventSource.CLOSED) {
|
|
149
|
+
source = null;
|
|
150
|
+
const wait = RETRY_MS[Math.min(failures, RETRY_MS.length - 1)] ?? 3e4;
|
|
151
|
+
failures++;
|
|
152
|
+
retry = window.setTimeout(open, wait);
|
|
153
|
+
}
|
|
154
|
+
};
|
|
155
|
+
};
|
|
156
|
+
const lead = () => {
|
|
157
|
+
leading.current = true;
|
|
158
|
+
open();
|
|
159
|
+
};
|
|
160
|
+
const reportFocus = () => {
|
|
161
|
+
const focused = document.visibilityState === "visible" && document.hasFocus();
|
|
162
|
+
if (focused) focusedTabs.current.add(tab);
|
|
163
|
+
else focusedTabs.current.delete(tab);
|
|
164
|
+
post({
|
|
165
|
+
kind: "focus",
|
|
166
|
+
tab,
|
|
167
|
+
focused
|
|
168
|
+
});
|
|
169
|
+
};
|
|
170
|
+
if (channel) channel.onmessage = ({ data }) => {
|
|
171
|
+
if (data.kind === "event") {
|
|
172
|
+
if (shared) deliver(data.event);
|
|
173
|
+
} else if (data.kind === "status") {
|
|
174
|
+
if (shared) setConnected(data.connected);
|
|
175
|
+
} else if (data.kind === "focus") if (data.focused) focusedTabs.current.add(data.tab);
|
|
176
|
+
else focusedTabs.current.delete(data.tab);
|
|
177
|
+
else if (data.kind === "hello") {
|
|
178
|
+
if (leading.current) {
|
|
179
|
+
for (const event of latest.current.values()) post({
|
|
180
|
+
kind: "event",
|
|
181
|
+
event
|
|
182
|
+
});
|
|
183
|
+
post({
|
|
184
|
+
kind: "status",
|
|
185
|
+
connected: source?.readyState === EventSource.OPEN
|
|
186
|
+
});
|
|
187
|
+
}
|
|
188
|
+
reportFocus();
|
|
189
|
+
}
|
|
190
|
+
};
|
|
191
|
+
const close = () => {
|
|
192
|
+
window.clearTimeout(retry);
|
|
193
|
+
source?.close();
|
|
194
|
+
source = null;
|
|
195
|
+
setConnected(false);
|
|
196
|
+
};
|
|
197
|
+
const onVisibility = () => {
|
|
198
|
+
if (document.visibilityState === "hidden") close();
|
|
199
|
+
else if (!source) open();
|
|
200
|
+
};
|
|
201
|
+
if (shared) {
|
|
202
|
+
navigator.locks.request(LOCK, () => {
|
|
203
|
+
if (stopped) return;
|
|
204
|
+
lead();
|
|
205
|
+
return new Promise((resolve) => {
|
|
206
|
+
releaseLock = resolve;
|
|
207
|
+
});
|
|
208
|
+
}).catch(() => {});
|
|
209
|
+
post({ kind: "hello" });
|
|
210
|
+
} else {
|
|
211
|
+
leading.current = true;
|
|
212
|
+
if (document.visibilityState !== "hidden") open();
|
|
213
|
+
document.addEventListener("visibilitychange", onVisibility);
|
|
214
|
+
}
|
|
215
|
+
reportFocus();
|
|
216
|
+
window.addEventListener("focus", reportFocus);
|
|
217
|
+
window.addEventListener("blur", reportFocus);
|
|
218
|
+
document.addEventListener("visibilitychange", reportFocus);
|
|
219
|
+
const leave = () => post({
|
|
220
|
+
kind: "focus",
|
|
221
|
+
tab,
|
|
222
|
+
focused: false
|
|
223
|
+
});
|
|
224
|
+
window.addEventListener("pagehide", leave);
|
|
225
|
+
return () => {
|
|
226
|
+
stopped = true;
|
|
227
|
+
leave();
|
|
228
|
+
document.removeEventListener("visibilitychange", onVisibility);
|
|
229
|
+
window.clearTimeout(retry);
|
|
230
|
+
source?.close();
|
|
231
|
+
leading.current = false;
|
|
232
|
+
releaseLock();
|
|
233
|
+
window.removeEventListener("focus", reportFocus);
|
|
234
|
+
window.removeEventListener("blur", reportFocus);
|
|
235
|
+
document.removeEventListener("visibilitychange", reportFocus);
|
|
236
|
+
window.removeEventListener("pagehide", leave);
|
|
237
|
+
channel?.close();
|
|
238
|
+
setConnected(false);
|
|
239
|
+
};
|
|
240
|
+
}, [enabled, deliver]);
|
|
241
|
+
const subscribe = useCallback((type, handler) => {
|
|
242
|
+
const generic = handler;
|
|
243
|
+
let set = handlers.current.get(type);
|
|
244
|
+
if (!set) {
|
|
245
|
+
set = /* @__PURE__ */ new Set();
|
|
246
|
+
handlers.current.set(type, set);
|
|
247
|
+
}
|
|
248
|
+
set.add(generic);
|
|
249
|
+
const last = latest.current.get(type);
|
|
250
|
+
if (last) generic(last);
|
|
251
|
+
return () => {
|
|
252
|
+
set.delete(generic);
|
|
253
|
+
};
|
|
254
|
+
}, []);
|
|
255
|
+
const value = useMemo(() => ({
|
|
256
|
+
connected,
|
|
257
|
+
subscribe,
|
|
258
|
+
isLeader: () => leading.current,
|
|
259
|
+
anyTabFocused: () => focusedTabs.current.size > 0
|
|
260
|
+
}), [connected, subscribe]);
|
|
261
|
+
return /* @__PURE__ */ jsx(LiveContext.Provider, {
|
|
262
|
+
value,
|
|
263
|
+
children
|
|
264
|
+
});
|
|
265
|
+
}
|
|
266
|
+
//#endregion
|
|
68
267
|
//#region src/lib/tool-steps.ts
|
|
69
268
|
var TARGET_CHARS = 96;
|
|
70
269
|
function clip(value, limit = TARGET_CHARS) {
|
|
@@ -436,15 +635,19 @@ function ActivityProvider({ initial, openAgentId, names, children }) {
|
|
|
436
635
|
const [seen, setSeen] = useState(null);
|
|
437
636
|
const [turnsEnded, setTurnsEnded] = useState(0);
|
|
438
637
|
const lastRef = useRef(initial);
|
|
439
|
-
const
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
}).catch(() => {});
|
|
638
|
+
const live = useLive();
|
|
639
|
+
const apply = useCallback((next) => {
|
|
640
|
+
const ended = turnEnded(lastRef.current, next);
|
|
641
|
+
lastRef.current = next;
|
|
642
|
+
setAgents(next);
|
|
643
|
+
if (ended) setTurnsEnded((count) => count + 1);
|
|
446
644
|
}, []);
|
|
645
|
+
const refresh = useCallback(() => {
|
|
646
|
+
api("/api/activity").then((body) => apply(body.agents)).catch(() => {});
|
|
647
|
+
}, [apply]);
|
|
648
|
+
useEffect(() => live.subscribe("activity", (event) => apply(event.agents)), [live.subscribe, apply]);
|
|
447
649
|
useEffect(() => {
|
|
650
|
+
if (live.connected) return;
|
|
448
651
|
const timer = setInterval(() => {
|
|
449
652
|
if (!document.hidden) refresh();
|
|
450
653
|
}, POLL_MS);
|
|
@@ -456,7 +659,7 @@ function ActivityProvider({ initial, openAgentId, names, children }) {
|
|
|
456
659
|
clearInterval(timer);
|
|
457
660
|
document.removeEventListener("visibilitychange", onVisible);
|
|
458
661
|
};
|
|
459
|
-
}, [refresh]);
|
|
662
|
+
}, [refresh, live.connected]);
|
|
460
663
|
useEffect(() => setSeen(readSeen()), []);
|
|
461
664
|
useEffect(() => {
|
|
462
665
|
if (!seen) return;
|
|
@@ -1645,4 +1848,4 @@ function SpawnDialog({ profiles, teams, profileId: initialProfileId, teamId: ini
|
|
|
1645
1848
|
});
|
|
1646
1849
|
}
|
|
1647
1850
|
//#endregion
|
|
1648
|
-
export { agentState as $, RowMenu as A, isTeamSection as B, CheckList as C, GroupHeader as D, Facts as E, FOCUS_VIEWS as F, DialogActions as G, parseWorkspaceSearch as H, PANEL_COOKIE as I, DEFAULT_PROFILE_ID as J, Button as K, PANEL_LABELS as L, SetupCard as M, Switch as N, ListRow as O, Waiting as P, ActivityProvider as Q, PANEL_TABS as R, CheckItem as S, Fact as T, writePanelCookie as U, parsePanelCookie as V, Dialog$1 as W, OUTSIDE_TEAM as X, DEFAULT_TEAM_ID as Y, REASONING_LEVELS as Z, CardEmpty as _, Problem as a, lineChange as at, CardRow as b, SelectField as c,
|
|
1851
|
+
export { agentState as $, RowMenu as A, isTeamSection as B, CheckList as C, GroupHeader as D, Facts as E, FOCUS_VIEWS as F, DialogActions as G, parseWorkspaceSearch as H, PANEL_COOKIE as I, DEFAULT_PROFILE_ID as J, Button as K, PANEL_LABELS as L, SetupCard as M, Switch as N, ListRow as O, Waiting as P, ActivityProvider as Q, PANEL_TABS as R, CheckItem as S, Fact as T, writePanelCookie as U, parsePanelCookie as V, Dialog$1 as W, OUTSIDE_TEAM as X, DEFAULT_TEAM_ID as Y, REASONING_LEVELS as Z, CardEmpty as _, Problem as a, lineChange as at, CardRow as b, SelectField as c, LiveProvider as ct, TextAreaField as d, api as dt, shortTime as et, TextField as f, apiFetch as ft, CardBody as g, CARD_ROW as h, FilterSelect as i, describeStep as it, SearchField as j, Notice as k, SelectMenu as l, useLive as lt, Banner as m, CheckboxRow as n, useActivity as nt, SaveBar as o, parseArgs as ot, saveStatus as p, errorMessage as pt, AgentAvatar as q, ChoiceCards as r, useActivityOptional as rt, SecretField as s, summarizeSteps as st, SpawnDialog as t, teamSummary as tt, SwitchRow as u, ApiError as ut, CardForm as v, Chip as w, CardToolbar as x, CardList as y, isAgentSection as z };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { G as DialogActions, K as Button, W as Dialog, c as SelectField, dt as
|
|
1
|
+
import { G as DialogActions, K as Button, W as Dialog, c as SelectField, dt as api, f as TextField, k as Notice, pt as errorMessage, r as ChoiceCards } from "./SpawnDialog-3wNx0W1R.js";
|
|
2
2
|
import { S as slugify, s as count, x as slugProblem } from "./manage-Ce6cI4eW.js";
|
|
3
3
|
import { useState } from "react";
|
|
4
4
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { G as DialogActions, K as Button, dt as
|
|
1
|
+
import { G as DialogActions, K as Button, dt as api, f as TextField, k as Notice, pt as errorMessage, r as ChoiceCards } from "./SpawnDialog-3wNx0W1R.js";
|
|
2
2
|
import { S as slugify, x as slugProblem } from "./manage-Ce6cI4eW.js";
|
|
3
3
|
import { useState } from "react";
|
|
4
4
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { F as FOCUS_VIEWS,
|
|
2
|
-
import { r as useResource, t as useHydrated } from "./use-resource-
|
|
3
|
-
import { c as useWorkspace } from "./Rail-
|
|
1
|
+
import { F as FOCUS_VIEWS, dt as api, et as shortTime, nt as useActivity, q as AgentAvatar } from "./SpawnDialog-3wNx0W1R.js";
|
|
2
|
+
import { r as useResource, t as useHydrated } from "./use-resource-CbHGYti0.js";
|
|
3
|
+
import { c as useWorkspace } from "./Rail-b6EbjBB-.js";
|
|
4
4
|
import { Link } from "@tanstack/react-router";
|
|
5
5
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
6
6
|
import { ArrowLeft, ArrowRight, Code2, Images, Network } from "lucide-react";
|
package/dist/web/server/assets/{UnsavedChangesGuard-Bb5frygQ.js → UnsavedChangesGuard-CXK75QQp.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as ConfirmDialog } from "./ConfirmDialog-
|
|
1
|
+
import { t as ConfirmDialog } from "./ConfirmDialog-Z-uYbE9B.js";
|
|
2
2
|
import { useCallback, useRef } from "react";
|
|
3
3
|
import { useBlocker } from "@tanstack/react-router";
|
|
4
4
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { A as RowMenu, K as Button, M as SetupCard, dt as
|
|
1
|
+
import { A as RowMenu, K as Button, M as SetupCard, dt as api, f as TextField, m as Banner, o as SaveBar, p as saveStatus, pt as errorMessage, t as SpawnDialog, v as CardForm, x as CardToolbar } from "./SpawnDialog-3wNx0W1R.js";
|
|
2
2
|
import { n as ModelMenu, p as cn } from "./ModelMenu-D-hTgYOO.js";
|
|
3
|
-
import { t as ConfirmDialog } from "./ConfirmDialog-
|
|
4
|
-
import { t as UnsavedChangesGuard } from "./UnsavedChangesGuard-
|
|
3
|
+
import { t as ConfirmDialog } from "./ConfirmDialog-Z-uYbE9B.js";
|
|
4
|
+
import { t as UnsavedChangesGuard } from "./UnsavedChangesGuard-CXK75QQp.js";
|
|
5
5
|
import { E as templateUseLine, T as templateName, d as modelLine, w as templateDeleteBlocker } from "./manage-Ce6cI4eW.js";
|
|
6
|
-
import { t as Route } from "./_id-
|
|
7
|
-
import { t as ManagePage } from "./ManagePage-
|
|
8
|
-
import { n as SkillsChoice, r as TEMPLATE_FILES } from "./AgentTemplateParts-
|
|
6
|
+
import { t as Route } from "./_id-BpfoPuTv.js";
|
|
7
|
+
import { t as ManagePage } from "./ManagePage-BR9FwVZM.js";
|
|
8
|
+
import { n as SkillsChoice, r as TEMPLATE_FILES } from "./AgentTemplateParts-Ce7snK3m.js";
|
|
9
9
|
import { useCallback, useEffect, useRef, useState } from "react";
|
|
10
10
|
import { useNavigate, useRouter } from "@tanstack/react-router";
|
|
11
11
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { A as RowMenu, K as Button, c as SelectField, dt as
|
|
2
|
-
import { a as endpointLabel, d as templateDocument, f as templateInput, i as edgeKey, l as sameDocument, n as OUTSIDE, o as hasEdge, r as defaultPosition, t as TeamPolicyMatrix, u as setEdge } from "./style-
|
|
3
|
-
import { t as ConfirmDialog } from "./ConfirmDialog-
|
|
1
|
+
import { A as RowMenu, K as Button, c as SelectField, dt as api, f as TextField, k as Notice, pt as errorMessage, u as SwitchRow } from "./SpawnDialog-3wNx0W1R.js";
|
|
2
|
+
import { a as endpointLabel, d as templateDocument, f as templateInput, i as edgeKey, l as sameDocument, n as OUTSIDE, o as hasEdge, r as defaultPosition, t as TeamPolicyMatrix, u as setEdge } from "./style-aMybyKzc.js";
|
|
3
|
+
import { t as ConfirmDialog } from "./ConfirmDialog-Z-uYbE9B.js";
|
|
4
4
|
import { t as Segmented } from "./Segmented-3ZLdqa5U.js";
|
|
5
|
-
import { t as UnsavedChangesGuard } from "./UnsavedChangesGuard-
|
|
5
|
+
import { t as UnsavedChangesGuard } from "./UnsavedChangesGuard-CXK75QQp.js";
|
|
6
6
|
import { s as count } from "./manage-Ce6cI4eW.js";
|
|
7
|
-
import { t as SpawnTeamModal } from "./SpawnTeamModal-
|
|
8
|
-
import { t as Route } from "./_id-
|
|
9
|
-
import { t as ManagePage } from "./ManagePage-
|
|
7
|
+
import { t as SpawnTeamModal } from "./SpawnTeamModal-C-YMvoaB.js";
|
|
8
|
+
import { t as Route } from "./_id-d2OwovYV.js";
|
|
9
|
+
import { t as ManagePage } from "./ManagePage-BR9FwVZM.js";
|
|
10
10
|
import { useEffect, useMemo, useState } from "react";
|
|
11
11
|
import { useNavigate, useRouter } from "@tanstack/react-router";
|
|
12
12
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { n as createServerFn } from "../server.js";
|
|
2
|
-
import { t as createSsrRpc } from "./createSsrRpc-
|
|
2
|
+
import { t as createSsrRpc } from "./createSsrRpc-qesavJv-.js";
|
|
3
3
|
import { createFileRoute, lazyRouteComponent, redirect } from "@tanstack/react-router";
|
|
4
4
|
//#region src/routes/templates/agents/$id/index.tsx
|
|
5
|
-
var $$splitComponentImporter = () => import("./_id-
|
|
5
|
+
var $$splitComponentImporter = () => import("./_id-2I4CSMQj.js");
|
|
6
6
|
var fetchTemplate = createServerFn({ method: "GET" }).validator((data) => data).handler(createSsrRpc("a3ce4c3b27c4c69828cf8a81d1f5312a9f8e2c82de6c7e6e2846eb5c2fc322ea"));
|
|
7
7
|
var Route = createFileRoute("/templates/agents/$id/")({
|
|
8
8
|
loader: async ({ params }) => {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { n as createServerFn } from "../server.js";
|
|
2
|
-
import { t as createSsrRpc } from "./createSsrRpc-
|
|
2
|
+
import { t as createSsrRpc } from "./createSsrRpc-qesavJv-.js";
|
|
3
3
|
import { createFileRoute, lazyRouteComponent, redirect } from "@tanstack/react-router";
|
|
4
4
|
//#region src/routes/templates/teams/$id/index.tsx
|
|
5
|
-
var $$splitComponentImporter = () => import("./_id-
|
|
5
|
+
var $$splitComponentImporter = () => import("./_id-8zsImuGa.js");
|
|
6
6
|
var fetchTemplate = createServerFn({ method: "GET" }).validator((data) => data).handler(createSsrRpc("c13d90cf82cd448c86427091165d0361b92843852a3f73a5bf4412dd2adc6bae"));
|
|
7
7
|
var Route = createFileRoute("/templates/teams/$id/")({
|
|
8
8
|
loader: async ({ params }) => {
|
|
@@ -0,0 +1,256 @@
|
|
|
1
|
+
//#region \0tanstack-start-manifest:v
|
|
2
|
+
var tsrStartManifest = () => ({ routes: {
|
|
3
|
+
__root__: {
|
|
4
|
+
filePath: "/home/runner/work/bazilion/bazilion/apps/web/src/routes/__root.tsx",
|
|
5
|
+
children: [
|
|
6
|
+
"/",
|
|
7
|
+
"/login",
|
|
8
|
+
"/welcome",
|
|
9
|
+
"/api/$",
|
|
10
|
+
"/config/access",
|
|
11
|
+
"/config/mcp",
|
|
12
|
+
"/config/system",
|
|
13
|
+
"/config/telegram",
|
|
14
|
+
"/config/tools",
|
|
15
|
+
"/agents/",
|
|
16
|
+
"/attention/",
|
|
17
|
+
"/config/",
|
|
18
|
+
"/skills/",
|
|
19
|
+
"/teams/",
|
|
20
|
+
"/templates/",
|
|
21
|
+
"/templates/agents/",
|
|
22
|
+
"/templates/teams/",
|
|
23
|
+
"/templates/agents/$id/",
|
|
24
|
+
"/templates/teams/$id/"
|
|
25
|
+
],
|
|
26
|
+
css: ["/assets/index-Cofc7zhl.css"],
|
|
27
|
+
preloads: [
|
|
28
|
+
"/assets/index-GOthyyE-.js",
|
|
29
|
+
"/assets/createLucideIcon-jxSFpY0Q.js",
|
|
30
|
+
"/assets/Button-bTJUy9Qf.js",
|
|
31
|
+
"/assets/parts-CpIfn_BH.js"
|
|
32
|
+
],
|
|
33
|
+
scripts: [{ attrs: {
|
|
34
|
+
type: "module",
|
|
35
|
+
async: !0,
|
|
36
|
+
src: "/assets/index-GOthyyE-.js"
|
|
37
|
+
} }]
|
|
38
|
+
},
|
|
39
|
+
"/": {
|
|
40
|
+
filePath: "/home/runner/work/bazilion/bazilion/apps/web/src/routes/index.tsx",
|
|
41
|
+
children: void 0,
|
|
42
|
+
preloads: [
|
|
43
|
+
"/assets/routes-CTg_yjbY.js",
|
|
44
|
+
"/assets/ConfirmDialog-Cu_evkgc.js",
|
|
45
|
+
"/assets/Segmented-oPkAHPO1.js",
|
|
46
|
+
"/assets/SpawnTeamModal-B1UnOvtp.js",
|
|
47
|
+
"/assets/UnsavedChangesGuard-BfyU9v9i.js",
|
|
48
|
+
"/assets/TeamThread-jpsWq6vI.js",
|
|
49
|
+
"/assets/SkillsParts-BuTxcCam.js",
|
|
50
|
+
"/assets/agent-actions-CUee6aJq.js",
|
|
51
|
+
"/assets/manage-BaIU5zKy.js",
|
|
52
|
+
"/assets/use-resource-BnvgCpBi.js",
|
|
53
|
+
"/assets/download-Dy88XavQ.js",
|
|
54
|
+
"/assets/images-QBh_rL8b.js",
|
|
55
|
+
"/assets/arrow-right-U66krZnr.js",
|
|
56
|
+
"/assets/chevron-right-CuqJFXTe.js",
|
|
57
|
+
"/assets/file-text-DPsZ8-h9.js",
|
|
58
|
+
"/assets/list-checks-C9Q-bjEi.js",
|
|
59
|
+
"/assets/message-square-Bwf9cHOx.js",
|
|
60
|
+
"/assets/wrench-DotqSqSm.js",
|
|
61
|
+
"/assets/network-B3FA93gC.js",
|
|
62
|
+
"/assets/plus-CQPjc8uR.js"
|
|
63
|
+
]
|
|
64
|
+
},
|
|
65
|
+
"/login": {
|
|
66
|
+
filePath: "/home/runner/work/bazilion/bazilion/apps/web/src/routes/login.tsx",
|
|
67
|
+
children: void 0,
|
|
68
|
+
preloads: [
|
|
69
|
+
"/assets/login-Dhe15Uuc.js",
|
|
70
|
+
"/assets/key-round-C-I8fAG0.js",
|
|
71
|
+
"/assets/users-round-BElBVSnw.js"
|
|
72
|
+
]
|
|
73
|
+
},
|
|
74
|
+
"/welcome": {
|
|
75
|
+
filePath: "/home/runner/work/bazilion/bazilion/apps/web/src/routes/welcome.tsx",
|
|
76
|
+
children: void 0,
|
|
77
|
+
preloads: [
|
|
78
|
+
"/assets/welcome-D47LKWYO.js",
|
|
79
|
+
"/assets/AddProviderDialog-DfFOaCjC.js",
|
|
80
|
+
"/assets/use-resource-BnvgCpBi.js",
|
|
81
|
+
"/assets/arrow-right-U66krZnr.js"
|
|
82
|
+
]
|
|
83
|
+
},
|
|
84
|
+
"/config/access": {
|
|
85
|
+
filePath: "/home/runner/work/bazilion/bazilion/apps/web/src/routes/config/access.tsx",
|
|
86
|
+
children: void 0,
|
|
87
|
+
preloads: [
|
|
88
|
+
"/assets/access-CDWe1Kwy.js",
|
|
89
|
+
"/assets/ConfigPage-CzLHZa5o.js",
|
|
90
|
+
"/assets/ConfirmDialog-Cu_evkgc.js",
|
|
91
|
+
"/assets/key-round-C-I8fAG0.js",
|
|
92
|
+
"/assets/plus-CQPjc8uR.js"
|
|
93
|
+
]
|
|
94
|
+
},
|
|
95
|
+
"/config/mcp": {
|
|
96
|
+
filePath: "/home/runner/work/bazilion/bazilion/apps/web/src/routes/config/mcp.tsx",
|
|
97
|
+
children: void 0,
|
|
98
|
+
preloads: [
|
|
99
|
+
"/assets/mcp-A_Eo7x3q.js",
|
|
100
|
+
"/assets/ConfigPage-CzLHZa5o.js",
|
|
101
|
+
"/assets/ConfirmDialog-Cu_evkgc.js",
|
|
102
|
+
"/assets/plus-CQPjc8uR.js"
|
|
103
|
+
]
|
|
104
|
+
},
|
|
105
|
+
"/config/system": {
|
|
106
|
+
filePath: "/home/runner/work/bazilion/bazilion/apps/web/src/routes/config/system.tsx",
|
|
107
|
+
children: void 0,
|
|
108
|
+
preloads: [
|
|
109
|
+
"/assets/system-CrTSr5_t.js",
|
|
110
|
+
"/assets/ConfigPage-CzLHZa5o.js",
|
|
111
|
+
"/assets/download-Dy88XavQ.js",
|
|
112
|
+
"/assets/square-terminal-DaNLwvEs.js"
|
|
113
|
+
]
|
|
114
|
+
},
|
|
115
|
+
"/config/telegram": {
|
|
116
|
+
filePath: "/home/runner/work/bazilion/bazilion/apps/web/src/routes/config/telegram.tsx",
|
|
117
|
+
children: void 0,
|
|
118
|
+
preloads: [
|
|
119
|
+
"/assets/telegram-HtUczmaA.js",
|
|
120
|
+
"/assets/ConfigPage-CzLHZa5o.js",
|
|
121
|
+
"/assets/ConfirmDialog-Cu_evkgc.js",
|
|
122
|
+
"/assets/use-resource-BnvgCpBi.js",
|
|
123
|
+
"/assets/bot-BCone8es.js",
|
|
124
|
+
"/assets/list-checks-C9Q-bjEi.js"
|
|
125
|
+
]
|
|
126
|
+
},
|
|
127
|
+
"/config/tools": {
|
|
128
|
+
filePath: "/home/runner/work/bazilion/bazilion/apps/web/src/routes/config/tools.tsx",
|
|
129
|
+
children: void 0,
|
|
130
|
+
preloads: [
|
|
131
|
+
"/assets/tools-BpjFvmoX.js",
|
|
132
|
+
"/assets/ConfigPage-CzLHZa5o.js",
|
|
133
|
+
"/assets/chevron-right-CuqJFXTe.js",
|
|
134
|
+
"/assets/file-text-DPsZ8-h9.js",
|
|
135
|
+
"/assets/wrench-DotqSqSm.js",
|
|
136
|
+
"/assets/square-terminal-DaNLwvEs.js"
|
|
137
|
+
]
|
|
138
|
+
},
|
|
139
|
+
"/agents/": {
|
|
140
|
+
filePath: "/home/runner/work/bazilion/bazilion/apps/web/src/routes/agents/index.tsx",
|
|
141
|
+
children: void 0,
|
|
142
|
+
preloads: [
|
|
143
|
+
"/assets/agents-sE686DTf.js",
|
|
144
|
+
"/assets/ConfirmDialog-Cu_evkgc.js",
|
|
145
|
+
"/assets/ManagePage-BfvlCrmz.js",
|
|
146
|
+
"/assets/Segmented-oPkAHPO1.js",
|
|
147
|
+
"/assets/agent-actions-CUee6aJq.js",
|
|
148
|
+
"/assets/manage-BaIU5zKy.js",
|
|
149
|
+
"/assets/bot-BCone8es.js"
|
|
150
|
+
]
|
|
151
|
+
},
|
|
152
|
+
"/attention/": {
|
|
153
|
+
filePath: "/home/runner/work/bazilion/bazilion/apps/web/src/routes/attention/index.tsx",
|
|
154
|
+
children: void 0,
|
|
155
|
+
preloads: [
|
|
156
|
+
"/assets/attention-DYEHDfmx.js",
|
|
157
|
+
"/assets/Segmented-oPkAHPO1.js",
|
|
158
|
+
"/assets/manage-BaIU5zKy.js",
|
|
159
|
+
"/assets/use-resource-BnvgCpBi.js"
|
|
160
|
+
]
|
|
161
|
+
},
|
|
162
|
+
"/config/": {
|
|
163
|
+
filePath: "/home/runner/work/bazilion/bazilion/apps/web/src/routes/config/index.tsx",
|
|
164
|
+
children: void 0,
|
|
165
|
+
preloads: [
|
|
166
|
+
"/assets/config-BHv886pr.js",
|
|
167
|
+
"/assets/ConfigPage-CzLHZa5o.js",
|
|
168
|
+
"/assets/ConfirmDialog-Cu_evkgc.js",
|
|
169
|
+
"/assets/Segmented-oPkAHPO1.js",
|
|
170
|
+
"/assets/AddProviderDialog-DfFOaCjC.js",
|
|
171
|
+
"/assets/use-resource-BnvgCpBi.js",
|
|
172
|
+
"/assets/images-QBh_rL8b.js",
|
|
173
|
+
"/assets/chevron-right-CuqJFXTe.js",
|
|
174
|
+
"/assets/message-square-Bwf9cHOx.js",
|
|
175
|
+
"/assets/plus-CQPjc8uR.js"
|
|
176
|
+
]
|
|
177
|
+
},
|
|
178
|
+
"/skills/": {
|
|
179
|
+
filePath: "/home/runner/work/bazilion/bazilion/apps/web/src/routes/skills/index.tsx",
|
|
180
|
+
children: void 0,
|
|
181
|
+
preloads: [
|
|
182
|
+
"/assets/skills-CLjtYtkA.js",
|
|
183
|
+
"/assets/ConfirmDialog-Cu_evkgc.js",
|
|
184
|
+
"/assets/ManagePage-BfvlCrmz.js",
|
|
185
|
+
"/assets/SkillsParts-BuTxcCam.js",
|
|
186
|
+
"/assets/manage-BaIU5zKy.js"
|
|
187
|
+
]
|
|
188
|
+
},
|
|
189
|
+
"/teams/": {
|
|
190
|
+
filePath: "/home/runner/work/bazilion/bazilion/apps/web/src/routes/teams/index.tsx",
|
|
191
|
+
children: void 0,
|
|
192
|
+
preloads: [
|
|
193
|
+
"/assets/teams-Bhje5n2h.js",
|
|
194
|
+
"/assets/ConfirmDialog-Cu_evkgc.js",
|
|
195
|
+
"/assets/ManagePage-BfvlCrmz.js",
|
|
196
|
+
"/assets/TeamForm-DbzxtRjj.js",
|
|
197
|
+
"/assets/manage-BaIU5zKy.js",
|
|
198
|
+
"/assets/users-round-BElBVSnw.js"
|
|
199
|
+
]
|
|
200
|
+
},
|
|
201
|
+
"/templates/agents/": {
|
|
202
|
+
filePath: "/home/runner/work/bazilion/bazilion/apps/web/src/routes/templates/agents/index.tsx",
|
|
203
|
+
children: void 0,
|
|
204
|
+
preloads: [
|
|
205
|
+
"/assets/agents-yrur1NDa.js",
|
|
206
|
+
"/assets/ConfirmDialog-Cu_evkgc.js",
|
|
207
|
+
"/assets/ManagePage-BfvlCrmz.js",
|
|
208
|
+
"/assets/AgentTemplateParts-IMJmAQjN.js",
|
|
209
|
+
"/assets/manage-BaIU5zKy.js",
|
|
210
|
+
"/assets/file-text-DPsZ8-h9.js"
|
|
211
|
+
]
|
|
212
|
+
},
|
|
213
|
+
"/templates/teams/": {
|
|
214
|
+
filePath: "/home/runner/work/bazilion/bazilion/apps/web/src/routes/templates/teams/index.tsx",
|
|
215
|
+
children: void 0,
|
|
216
|
+
preloads: [
|
|
217
|
+
"/assets/teams-Cbgw0Qhv.js",
|
|
218
|
+
"/assets/ConfirmDialog-Cu_evkgc.js",
|
|
219
|
+
"/assets/ManagePage-BfvlCrmz.js",
|
|
220
|
+
"/assets/SpawnTeamModal-B1UnOvtp.js",
|
|
221
|
+
"/assets/manage-BaIU5zKy.js",
|
|
222
|
+
"/assets/network-B3FA93gC.js"
|
|
223
|
+
]
|
|
224
|
+
},
|
|
225
|
+
"/templates/agents/$id/": {
|
|
226
|
+
filePath: "/home/runner/work/bazilion/bazilion/apps/web/src/routes/templates/agents/$id/index.tsx",
|
|
227
|
+
children: void 0,
|
|
228
|
+
preloads: [
|
|
229
|
+
"/assets/_id-BCNBLF-2.js",
|
|
230
|
+
"/assets/ConfirmDialog-Cu_evkgc.js",
|
|
231
|
+
"/assets/ManagePage-BfvlCrmz.js",
|
|
232
|
+
"/assets/UnsavedChangesGuard-BfyU9v9i.js",
|
|
233
|
+
"/assets/AgentTemplateParts-IMJmAQjN.js",
|
|
234
|
+
"/assets/manage-BaIU5zKy.js"
|
|
235
|
+
]
|
|
236
|
+
},
|
|
237
|
+
"/templates/teams/$id/": {
|
|
238
|
+
filePath: "/home/runner/work/bazilion/bazilion/apps/web/src/routes/templates/teams/$id/index.tsx",
|
|
239
|
+
children: void 0,
|
|
240
|
+
css: ["/assets/style-DLioOiRN.css"],
|
|
241
|
+
preloads: [
|
|
242
|
+
"/assets/_id-D8_H79U2.js",
|
|
243
|
+
"/assets/ConfirmDialog-Cu_evkgc.js",
|
|
244
|
+
"/assets/ManagePage-BfvlCrmz.js",
|
|
245
|
+
"/assets/Segmented-oPkAHPO1.js",
|
|
246
|
+
"/assets/SpawnTeamModal-B1UnOvtp.js",
|
|
247
|
+
"/assets/UnsavedChangesGuard-BfyU9v9i.js",
|
|
248
|
+
"/assets/style-mjEbxhf5.js",
|
|
249
|
+
"/assets/manage-BaIU5zKy.js",
|
|
250
|
+
"/assets/bot-BCone8es.js",
|
|
251
|
+
"/assets/plus-CQPjc8uR.js"
|
|
252
|
+
]
|
|
253
|
+
}
|
|
254
|
+
} });
|
|
255
|
+
//#endregion
|
|
256
|
+
export { tsrStartManifest };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { K as Button, M as SetupCard, O as ListRow, b as CardRow, dt as
|
|
2
|
-
import { t as ConfirmDialog } from "./ConfirmDialog-
|
|
3
|
-
import { t as Route } from "./access-
|
|
4
|
-
import { t as ConfigPage } from "./ConfigPage-
|
|
1
|
+
import { K as Button, M as SetupCard, O as ListRow, b as CardRow, dt as api, f as TextField, k as Notice, pt as errorMessage, v as CardForm, w as Chip, y as CardList } from "./SpawnDialog-3wNx0W1R.js";
|
|
2
|
+
import { t as ConfirmDialog } from "./ConfirmDialog-Z-uYbE9B.js";
|
|
3
|
+
import { t as Route } from "./access-CyUoElTP.js";
|
|
4
|
+
import { t as ConfigPage } from "./ConfigPage-qP9ejjuw.js";
|
|
5
5
|
import { useState } from "react";
|
|
6
6
|
import { useRouter } from "@tanstack/react-router";
|
|
7
7
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { n as createServerFn } from "../server.js";
|
|
2
|
-
import { t as createSsrRpc } from "./createSsrRpc-
|
|
2
|
+
import { t as createSsrRpc } from "./createSsrRpc-qesavJv-.js";
|
|
3
3
|
import { createFileRoute, lazyRouteComponent } from "@tanstack/react-router";
|
|
4
4
|
//#region src/routes/config/access.tsx
|
|
5
|
-
var $$splitComponentImporter = () => import("./access-
|
|
5
|
+
var $$splitComponentImporter = () => import("./access-CwZ27Wsl.js");
|
|
6
6
|
var fetchTokens = createServerFn({ method: "GET" }).validator((data) => data).handler(createSsrRpc("c945ba2c0b997bf2ce9d965e41ad7655facbaa4c6f6c3284f90fbe6f2d427f52"));
|
|
7
7
|
var Route = createFileRoute("/config/access")({
|
|
8
8
|
validateSearch: (search) => ({ all: search.all === 1 ? 1 : void 0 }),
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { A as RowMenu, K as Button, M as SetupCard, O as ListRow, _ as CardEmpty,
|
|
2
|
-
import { t as ConfirmDialog } from "./ConfirmDialog-
|
|
1
|
+
import { A as RowMenu, K as Button, M as SetupCard, O as ListRow, _ as CardEmpty, dt as api, t as SpawnDialog, w as Chip, y as CardList } from "./SpawnDialog-3wNx0W1R.js";
|
|
2
|
+
import { t as ConfirmDialog } from "./ConfirmDialog-Z-uYbE9B.js";
|
|
3
3
|
import { E as templateUseLine, T as templateName, d as modelLine, s as count, w as templateDeleteBlocker, y as skillsLine } from "./manage-Ce6cI4eW.js";
|
|
4
|
-
import { t as Route } from "./agents-
|
|
5
|
-
import { t as ManagePage } from "./ManagePage-
|
|
6
|
-
import { t as CreateAgentTemplateDialog } from "./AgentTemplateParts-
|
|
4
|
+
import { t as Route } from "./agents-DTub-rJk.js";
|
|
5
|
+
import { t as ManagePage } from "./ManagePage-BR9FwVZM.js";
|
|
6
|
+
import { t as CreateAgentTemplateDialog } from "./AgentTemplateParts-Ce7snK3m.js";
|
|
7
7
|
import { useState } from "react";
|
|
8
8
|
import { useNavigate, useRouter } from "@tanstack/react-router";
|
|
9
9
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|