bazilion 0.22.0 → 0.24.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/README.md +22 -9
- package/dist/cli-main.js +9180 -0
- package/dist/cli-main.js.map +1 -0
- package/dist/cli.js +2 -8733
- package/dist/daemon-main.js +43074 -0
- package/dist/daemon-main.js.map +1 -0
- package/dist/daemon.js +2 -58003
- package/dist/migrations/0001_init.sql +1 -1
- package/dist/runtime-version.js +28 -0
- package/dist/runtime-version.js.map +1 -0
- package/dist/web/client/assets/{AgentTabs-CBFT1Qg2.js → AgentTabs-0mMqUuts.js} +1 -1
- package/dist/web/client/assets/{ChatPane-2r2r-Ac6.js → ChatPane-C4ZAMSqQ.js} +2 -2
- package/dist/web/client/assets/{ConfigPage-Cv0KGMX2.js → ConfigPage-CbALCsl0.js} +1 -1
- package/dist/web/client/assets/{ConfirmDialog-DEwIcBm4.js → ConfirmDialog-CB1a-szq.js} +1 -1
- package/dist/web/client/assets/{FieldRow-C2ZAwThs.js → FieldRow-BHGq10hz.js} +1 -1
- package/dist/web/client/assets/{ProductionTeamPolicyEditor-CziOzJPc.js → ProductionTeamPolicyEditor-B4Ysob7y.js} +1 -1
- package/dist/web/client/assets/{ProfileCommunicationEditor-DRasiT4-.js → ProfileCommunicationEditor-Bi1SwX0T.js} +1 -1
- package/dist/web/client/assets/{RecoveryState-BZVq08km.js → RecoveryState-CDWhoT3x.js} +1 -1
- package/dist/web/client/assets/{ResultCard-Dv5E8nX2.js → ResultCard-Crmt8j95.js} +1 -1
- package/dist/web/client/assets/{ResultSourceConversation-DutMGQB2.js → ResultSourceConversation-CqwZKlKb.js} +1 -1
- package/dist/web/client/assets/{SectionTabs-mrflsPU-.js → SectionTabs-mghnc98b.js} +1 -1
- package/dist/web/client/assets/{TeamTabs-DMVP5Hce.js → TeamTabs-BuZ3DvCw.js} +1 -1
- package/dist/web/client/assets/{TemplatesTabs-PxjxEiJG.js → TemplatesTabs-D71oTTXM.js} +1 -1
- package/dist/web/client/assets/{UnsavedChangesGuard-DfuiWMQ_.js → UnsavedChangesGuard-CiCtGDIH.js} +1 -1
- package/dist/web/client/assets/{_id-CgRuUtaW.js → _id-B-8ssJLW.js} +1 -1
- package/dist/web/client/assets/{_id-AcER9d-z.js → _id-BVY0iUYM.js} +1 -1
- package/dist/web/client/assets/{_id-CrshYgbI.js → _id-C7A_A3eM.js} +1 -1
- package/dist/web/client/assets/_id-CQlUNjzV.js +1 -0
- package/dist/web/client/assets/{_id-BTqFkUlB.js → _id-CeALz6bj.js} +1 -1
- package/dist/web/client/assets/_id-DQqcn57I.js +1 -0
- package/dist/web/client/assets/{_id-Btgd0eQD.js → _id-DRiwwqZL.js} +1 -1
- package/dist/web/client/assets/{_id-DqfO8lgv.js → _id-DaqX-WEB.js} +1 -1
- package/dist/web/client/assets/{activity-CMaTYBPw.js → activity-C5aaqPEN.js} +1 -1
- package/dist/web/client/assets/{activity-TilqK2MN.js → activity-D4Nt8GQM.js} +1 -1
- package/dist/web/client/assets/{agents-D2gE-ZHl.js → agents-BPLszpKx.js} +1 -1
- package/dist/web/client/assets/{agents-DPFzFgU2.js → agents-BUqq1VBQ.js} +1 -1
- package/dist/web/client/assets/{agents-D5_60Do4.js → agents-DFOLPsgX.js} +1 -1
- package/dist/web/client/assets/{approvals-Du7G-YHg.js → approvals-8PPXdZxV.js} +1 -1
- package/dist/web/client/assets/{approvals-BfoaMnwC.js → approvals-MVCITL8Q.js} +1 -1
- package/dist/web/client/assets/{attention-Cv18TBIb.js → attention-DiyHVOcZ.js} +1 -1
- package/dist/web/client/assets/{attention-C11m4NJY.js → attention-e273gZ8d.js} +1 -1
- package/dist/web/client/assets/chevron-right-DgJy0QeF.js +1 -0
- package/dist/web/client/assets/{config-crruyOmj.js → config-Dm6OgnLh.js} +3 -3
- package/dist/web/client/assets/{context-JT1dYNoO.js → context-DhgSlMk5.js} +1 -1
- package/dist/web/client/assets/{inbox-OQ0QyvzA.js → inbox-B3To3KpL.js} +1 -1
- package/dist/web/client/assets/{inbox-DC5XSXiy.js → inbox-C1_vHPb8.js} +1 -1
- package/dist/web/client/assets/{index-DThtB1z2.js → index-DtEE9JX2.js} +2 -2
- package/dist/web/client/assets/{learning-MO7fDBpd.js → learning-B7wX_mkT.js} +1 -1
- package/dist/web/client/assets/{learning-CeMSJbAY.js → learning-DDwUAKmq.js} +1 -1
- package/dist/web/client/assets/{login-B1mPI9h5.js → login-CWaSGdgc.js} +1 -1
- package/dist/web/client/assets/{mcp-CmzHMhei.js → mcp-CO5iBKHD.js} +1 -1
- package/dist/web/client/assets/mcp-DO8sSn5c.js +1 -0
- package/dist/web/client/assets/{members-sxSJCxkS.js → members-Bd3z1Mbb.js} +1 -1
- package/dist/web/client/assets/{members-C7bazwZU.js → members-Dx9OcdY1.js} +1 -1
- package/dist/web/client/assets/{memory-VYCztjts.js → memory-BIZi6bBM.js} +1 -1
- package/dist/web/client/assets/{memory-BiBOuBA1.js → memory-DrYbH0we.js} +1 -1
- package/dist/web/client/assets/{policy-CxN-ZrEm.js → policy-CcnTn0qG.js} +1 -1
- package/dist/web/client/assets/{policy-C8SKHMJc.js → policy-Dsj-SWqE.js} +1 -1
- package/dist/web/client/assets/results-GeOLM5Cw.js +1 -0
- package/dist/web/client/assets/{results-DnrL5Mvt.js → results-t7jAchgU.js} +1 -1
- package/dist/web/client/assets/{review-CtGjuoBA.js → review-CQaZNlyx.js} +1 -1
- package/dist/web/client/assets/{review-D_F2VNul.js → review-CYvx-3K2.js} +1 -1
- package/dist/web/client/assets/{routes-CLcJb0Gu.js → routes-DoK4DMdi.js} +1 -1
- package/dist/web/client/assets/{services-Ca1LbXwW.js → services-BI7iyTHh.js} +1 -1
- package/dist/web/client/assets/{services-D3rWjxvT.js → services-c9HkxKEP.js} +1 -1
- package/dist/web/client/assets/{skills-CbaN9DoR.js → skills-B0O0zwg1.js} +1 -1
- package/dist/web/client/assets/{skills-xLrt1IKk.js → skills-Ddf5PBNn.js} +1 -1
- package/dist/web/client/assets/styles-e_ADuRbs.css +2 -0
- package/dist/web/client/assets/{teams-DagnWLAA.js → teams-BDbkurIa.js} +1 -1
- package/dist/web/client/assets/{teams-WVfQMDzi.js → teams-BNQ4z_k3.js} +1 -1
- package/dist/web/client/assets/{teams-tpI7S4u0.js → teams-Wvr8-LhE.js} +1 -1
- package/dist/web/client/assets/{teams-DwSzsbr8.js → teams-kRB5hV3h.js} +1 -1
- package/dist/web/client/assets/{telegram-hnIzZf3m.js → telegram-Dx9tzt9d.js} +1 -1
- package/dist/web/client/assets/{templates-dmFNbHkN.js → templates-CGQ93r-m.js} +1 -1
- package/dist/web/client/assets/{tokens-DMbCr1_1.js → tokens-CsOJULk9.js} +1 -1
- package/dist/web/client/assets/{tokens-DUx-zUYt.js → tokens-zqJy3CQD.js} +1 -1
- package/dist/web/client/assets/{triggers-CM4j23G4.js → triggers-9UUKTR6l.js} +1 -1
- package/dist/web/client/assets/{triggers-BwjNuh-V.js → triggers-BiXb1VFy.js} +1 -1
- package/dist/web/client/assets/{verifications-DGVTf-_3.js → verifications-BKoHhRqF.js} +1 -1
- package/dist/web/client/assets/{verifications-bgpZuwOC.js → verifications-CElk4UQp.js} +1 -1
- package/dist/web/client/assets/{welcome-p8_5r05g.js → welcome-BdcpBETx.js} +1 -1
- package/dist/web/client/assets/{x-CGJA1SM6.js → x-DtPVZP1O.js} +1 -1
- package/dist/web/server/assets/{ChatPane-DsDa1E0a.js → ChatPane-3CIVTz7o.js} +1 -0
- package/dist/web/server/assets/{ResultSourceConversation-NKiRGO6_.js → ResultSourceConversation-DwuGuTa-.js} +1 -1
- package/dist/web/server/assets/WorkspaceRecoveryCard-B-6gfg0D.js +18 -0
- package/dist/web/server/assets/{_id-DFf_uQiI.js → _id-4fEeAcp0.js} +1 -1
- package/dist/web/server/assets/{_id-Bazctexc.js → _id-6aGxCNlp.js} +1 -1
- package/dist/web/server/assets/{_id-B7uXxqZ5.js → _id-BS4MnPa3.js} +1 -1
- package/dist/web/server/assets/{_id-DzoJ3t_C.js → _id-BXOT74Jd.js} +122 -1
- package/dist/web/server/assets/{_id-BjvOb4CK.js → _id-C0C6wOt8.js} +1 -1
- package/dist/web/server/assets/{_id-BxTsdM7U.js → _id-C1-ygfez.js} +226 -4
- package/dist/web/server/assets/{_id-BLHUW0oS.js → _id-CWlZT9kI.js} +1 -1
- package/dist/web/server/assets/{_id-Bn0w00AG.js → _id-D9VWEfdp.js} +1 -1
- package/dist/web/server/assets/{_tanstack-start-manifest_v-DsMaFmpx.js → _tanstack-start-manifest_v-LR-ldomm.js} +132 -132
- package/dist/web/server/assets/{activity-j_Enmf3L.js → activity-DhzxlXUk.js} +1 -1
- package/dist/web/server/assets/{agents-BAi0dE66.js → agents-Cmw-sUUD.js} +1 -1
- package/dist/web/server/assets/{agents-BHUbTrm7.js → agents-DOrzqCXg.js} +1 -1
- package/dist/web/server/assets/{approvals-BcUm6IOo.js → approvals-szknIxB6.js} +1 -1
- package/dist/web/server/assets/{attention-BQBa0Bu5.js → attention-CsYqmV0L.js} +1 -1
- package/dist/web/server/assets/{auth-PDNSxrT-.js → auth-DChuQIh4.js} +1 -1
- package/dist/web/server/assets/browser-BiDvr0fy.js +66 -0
- package/dist/web/server/assets/{config-DX3c4Co0.js → config-CMxeC2Bd.js} +94 -2
- package/dist/web/server/assets/{config-DM2DIzMT.js → config-CbioK6nX.js} +1 -1
- package/dist/web/server/assets/{config-Cf7hhsUR.js → config-CpHD812q.js} +7 -2
- package/dist/web/server/assets/{daemon-client-DY4jE6KU.js → daemon-client-C-RlJHYO.js} +40 -1
- package/dist/web/server/assets/{git-review-RvzReZyD.js → git-review-CqZTrIWS.js} +1 -1
- package/dist/web/server/assets/{inbox-Du1guYth.js → inbox-D1ROE7jB.js} +1 -1
- package/dist/web/server/assets/{learning-CjcixPRH.js → learning-BuL0c1vH.js} +1 -1
- package/dist/web/server/assets/{mcp-BCalFLvt.js → mcp-B8ErRiR_.js} +1 -1
- package/dist/web/server/assets/{mcp-qWWT9MiE.js → mcp-CLWr5_0I.js} +1 -1
- package/dist/web/server/assets/{mcp-DFhcsmod.js → mcp-DmzP8n2G.js} +5 -9
- package/dist/web/server/assets/{members-C4TpK50B.js → members-DFLi2nQg.js} +1 -1
- package/dist/web/server/assets/{memory-CLZs-XRY.js → memory-CS-9Bb6q.js} +1 -1
- package/dist/web/server/assets/{policy-BrIXpwxZ.js → policy-JF7ZI2-i.js} +1 -1
- package/dist/web/server/assets/{publications-BrX3-WJf.js → publications-DV2uRrvJ.js} +1 -1
- package/dist/web/server/assets/results-C6edENBF.js +362 -0
- package/dist/web/server/assets/{results-BFPu3tcP.js → results-DjTerNLY.js} +1 -1
- package/dist/web/server/assets/{results-CJR6dNzB.js → results-vtkmZPro.js} +1 -1
- package/dist/web/server/assets/{review-packets-D3bZ7QYU.js → review-packets-CO69K-FK.js} +1 -1
- package/dist/web/server/assets/{router-DlwGPg99.js → router-Doy5hj6V.js} +8 -8
- package/dist/web/server/assets/{routes-yLlXfjsn.js → routes-B6TnJyQ8.js} +1 -1
- package/dist/web/server/assets/{routes-BGMHt0b0.js → routes-ByEYvEFv.js} +2 -2
- package/dist/web/server/assets/{routes-kSjMHwrg.js → routes-Bz-Gprcp.js} +1 -1
- package/dist/web/server/assets/{services-DDRj180j.js → services-ZeEIgTn0.js} +1 -1
- package/dist/web/server/assets/{skills-Bck9L5oo.js → skills-kfqhxYmf.js} +1 -1
- package/dist/web/server/assets/{teams-C_PicOsj.js → teams-C9tfV3IC.js} +1 -1
- package/dist/web/server/assets/{teams-CSqR5mWl.js → teams-DKROLgw-.js} +1 -1
- package/dist/web/server/assets/{telegram-D0odXx1E.js → telegram-ByHqeAGC.js} +1 -1
- package/dist/web/server/assets/{tokens-B2O0Di4p.js → tokens-CiThDMwM.js} +1 -1
- package/dist/web/server/assets/{triggers-DtKMYL2r.js → triggers-B9CIl4Co.js} +1 -1
- package/dist/web/server/assets/{verification-no5BrOeR.js → verification-DBsJYadO.js} +1 -1
- package/dist/web/server/assets/web-search-dgw10fLn.js +12 -0
- package/dist/web/server/server.js +74 -50
- package/dist/web-server.js +0 -0
- package/dist/worker.js +590 -121
- package/dist/worker.js.map +1 -1
- package/package.json +17 -9
- package/dist/cli.js.map +0 -1
- package/dist/daemon.js.map +0 -1
- package/dist/web/client/assets/_id-D51zCmQL.js +0 -1
- package/dist/web/client/assets/_id-danxFImG.js +0 -1
- package/dist/web/client/assets/chevron-right-WaxL25XX.js +0 -1
- package/dist/web/client/assets/mcp-Bo-E-MdF.js +0 -1
- package/dist/web/client/assets/results-BI_dzjgu.js +0 -1
- package/dist/web/client/assets/styles-CMSFIJ_r.css +0 -2
- package/dist/web/server/assets/results-TR7VXLdQ.js +0 -173
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { n as Button } from "./utils-ySbqTi3g.js";
|
|
2
2
|
import { a as StatusBadge$1, t as EmptyState } from "./Page-DJNoI4Gn.js";
|
|
3
|
-
import { t as Route } from "./config-
|
|
3
|
+
import { t as Route } from "./config-CbioK6nX.js";
|
|
4
4
|
import { t as ConfirmDialog } from "./ConfirmDialog-C-2cbcmQ.js";
|
|
5
5
|
import { t as ConfigPage } from "./ConfigPage-J3s_PX4o.js";
|
|
6
6
|
import { t as FieldRow } from "./FieldRow-DPO8x_le.js";
|
|
@@ -184,6 +184,97 @@ function openAIAccessLabel(status) {
|
|
|
184
184
|
return "unavailable";
|
|
185
185
|
}
|
|
186
186
|
//#endregion
|
|
187
|
+
//#region src/components/InstallationReadinessCard.tsx
|
|
188
|
+
function InstallationReadinessCard({ report }) {
|
|
189
|
+
return /* @__PURE__ */ jsxs("section", {
|
|
190
|
+
"aria-label": "Installation and platform support",
|
|
191
|
+
className: "overflow-hidden rounded-2xl border border-border bg-card shadow-baziu-sm",
|
|
192
|
+
children: [
|
|
193
|
+
/* @__PURE__ */ jsxs("header", {
|
|
194
|
+
className: "border-b border-border px-4 py-3 sm:px-5",
|
|
195
|
+
children: [/* @__PURE__ */ jsx("h2", {
|
|
196
|
+
className: "text-base font-semibold",
|
|
197
|
+
children: "Installation and platform support"
|
|
198
|
+
}), /* @__PURE__ */ jsxs("p", {
|
|
199
|
+
className: "mt-1 text-xs text-muted-foreground",
|
|
200
|
+
children: [
|
|
201
|
+
"Daemon platform: ",
|
|
202
|
+
report.platformCapabilities.platform,
|
|
203
|
+
". ",
|
|
204
|
+
report.platformCapabilities.note
|
|
205
|
+
]
|
|
206
|
+
})]
|
|
207
|
+
}),
|
|
208
|
+
/* @__PURE__ */ jsxs("dl", {
|
|
209
|
+
className: "grid gap-4 border-b border-border p-4 sm:grid-cols-3 sm:px-5",
|
|
210
|
+
children: [
|
|
211
|
+
/* @__PURE__ */ jsxs("div", { children: [
|
|
212
|
+
/* @__PURE__ */ jsx("dt", {
|
|
213
|
+
className: "text-xs text-muted-foreground",
|
|
214
|
+
children: "Installation health"
|
|
215
|
+
}),
|
|
216
|
+
/* @__PURE__ */ jsx("dd", {
|
|
217
|
+
className: `mt-1 font-semibold ${report.ok ? "text-success" : "text-warning"}`,
|
|
218
|
+
children: report.ok ? "Healthy" : "Issues found"
|
|
219
|
+
}),
|
|
220
|
+
/* @__PURE__ */ jsx("dd", {
|
|
221
|
+
className: "mt-1 text-xs text-muted-foreground",
|
|
222
|
+
children: "Structural checks only. Run bazilion doctor for details."
|
|
223
|
+
})
|
|
224
|
+
] }),
|
|
225
|
+
/* @__PURE__ */ jsxs("div", { children: [
|
|
226
|
+
/* @__PURE__ */ jsx("dt", {
|
|
227
|
+
className: "text-xs text-muted-foreground",
|
|
228
|
+
children: "Ordinary chat execution"
|
|
229
|
+
}),
|
|
230
|
+
/* @__PURE__ */ jsx("dd", {
|
|
231
|
+
className: "mt-1 font-semibold",
|
|
232
|
+
children: "Not checked"
|
|
233
|
+
}),
|
|
234
|
+
/* @__PURE__ */ jsx("dd", {
|
|
235
|
+
className: "mt-1 text-xs text-muted-foreground",
|
|
236
|
+
children: "Test your selected provider, then try an Agent chat."
|
|
237
|
+
})
|
|
238
|
+
] }),
|
|
239
|
+
/* @__PURE__ */ jsxs("div", { children: [
|
|
240
|
+
/* @__PURE__ */ jsx("dt", {
|
|
241
|
+
className: "text-xs text-muted-foreground",
|
|
242
|
+
children: "Protected unattended baseline"
|
|
243
|
+
}),
|
|
244
|
+
/* @__PURE__ */ jsx("dd", {
|
|
245
|
+
className: `mt-1 font-semibold ${report.protectedWorkBaselineReady ? "text-success" : "text-warning"}`,
|
|
246
|
+
children: report.protectedWorkBaselineReady ? "Ready · per-turn checks still apply" : "Unavailable"
|
|
247
|
+
}),
|
|
248
|
+
/* @__PURE__ */ jsx("dd", {
|
|
249
|
+
className: "mt-1 text-xs text-muted-foreground",
|
|
250
|
+
children: "See Execution security below for prerequisites and remediation. This is separate from installation health; protected turns never fall back to host execution."
|
|
251
|
+
})
|
|
252
|
+
] })
|
|
253
|
+
]
|
|
254
|
+
}),
|
|
255
|
+
/* @__PURE__ */ jsx("dl", {
|
|
256
|
+
className: "divide-y divide-border px-4 sm:px-5",
|
|
257
|
+
children: report.platformCapabilities.capabilities.map((capability) => /* @__PURE__ */ jsxs("div", {
|
|
258
|
+
className: "grid gap-1 py-3 sm:grid-cols-2 sm:gap-4",
|
|
259
|
+
children: [/* @__PURE__ */ jsx("dt", {
|
|
260
|
+
className: "text-sm font-medium",
|
|
261
|
+
children: capability.label
|
|
262
|
+
}), /* @__PURE__ */ jsxs("dd", {
|
|
263
|
+
className: "min-w-0 text-sm",
|
|
264
|
+
children: [/* @__PURE__ */ jsxs("span", {
|
|
265
|
+
className: capability.support === "unsupported" ? "text-warning" : "",
|
|
266
|
+
children: [capability.support === "supported" ? "Supported" : "Unsupported", " on this platform"]
|
|
267
|
+
}), /* @__PURE__ */ jsx("p", {
|
|
268
|
+
className: "mt-1 text-xs leading-5 text-muted-foreground",
|
|
269
|
+
children: capability.detail
|
|
270
|
+
})]
|
|
271
|
+
})]
|
|
272
|
+
}, capability.id))
|
|
273
|
+
})
|
|
274
|
+
]
|
|
275
|
+
});
|
|
276
|
+
}
|
|
277
|
+
//#endregion
|
|
187
278
|
//#region src/lib/provider-presentation.ts
|
|
188
279
|
var RECOMMENDED = new Set([
|
|
189
280
|
"openai-codex",
|
|
@@ -264,7 +355,7 @@ function providerReadiness(provider) {
|
|
|
264
355
|
//#endregion
|
|
265
356
|
//#region src/routes/config/index.tsx?tsr-split=component
|
|
266
357
|
function ProvidersPage() {
|
|
267
|
-
const { providers, openaiCodex, executionSecurity } = Route.useLoaderData();
|
|
358
|
+
const { providers, openaiCodex, executionSecurity, readiness } = Route.useLoaderData();
|
|
268
359
|
const setupComplete = providers.some((p) => p.enabled && p.curated.length > 0);
|
|
269
360
|
const startedComplete = useRef(setupComplete);
|
|
270
361
|
const [showCompletion, setShowCompletion] = useState(false);
|
|
@@ -301,6 +392,7 @@ function ProvidersPage() {
|
|
|
301
392
|
})
|
|
302
393
|
]
|
|
303
394
|
}),
|
|
395
|
+
/* @__PURE__ */ jsx(InstallationReadinessCard, { report: readiness }),
|
|
304
396
|
/* @__PURE__ */ jsxs("details", {
|
|
305
397
|
className: "rounded-2xl border border-border bg-card shadow-baziu-sm",
|
|
306
398
|
children: [/* @__PURE__ */ jsxs("summary", {
|
|
@@ -2,7 +2,7 @@ import { n as createServerFn } from "../server.js";
|
|
|
2
2
|
import { t as createSsrRpc } from "./createSsrRpc-6LHNEsSK.js";
|
|
3
3
|
import { createFileRoute, lazyRouteComponent } from "@tanstack/react-router";
|
|
4
4
|
//#region src/routes/config/index.tsx
|
|
5
|
-
var $$splitComponentImporter = () => import("./config-
|
|
5
|
+
var $$splitComponentImporter = () => import("./config-CMxeC2Bd.js");
|
|
6
6
|
var fetchProvidersData = createServerFn({ method: "GET" }).handler(createSsrRpc("b18a227687dba45b99ea5a2ac7a5bf8efcd9bc54387bc279cd87510fd2f83f7e"));
|
|
7
7
|
var Route = createFileRoute("/config/")({
|
|
8
8
|
loader: () => fetchProvidersData(),
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { n as createServerFn } from "../server.js";
|
|
2
2
|
import { t as createServerRpc } from "./createServerRpc-B7Yr1K8i.js";
|
|
3
|
-
import { n as daemonClient } from "./daemon-client-
|
|
3
|
+
import { n as daemonClient } from "./daemon-client-C-RlJHYO.js";
|
|
4
4
|
//#region src/routes/config/index.tsx?tss-serverfn-split
|
|
5
5
|
var fetchProvidersData_createServerFn_handler = createServerRpc({
|
|
6
6
|
id: "b18a227687dba45b99ea5a2ac7a5bf8efcd9bc54387bc279cd87510fd2f83f7e",
|
|
@@ -17,7 +17,12 @@ var fetchProvidersData = createServerFn({ method: "GET" }).handler(fetchProvider
|
|
|
17
17
|
return {
|
|
18
18
|
providers,
|
|
19
19
|
openaiCodex,
|
|
20
|
-
executionSecurity: health.executionSecurity
|
|
20
|
+
executionSecurity: health.executionSecurity,
|
|
21
|
+
readiness: {
|
|
22
|
+
ok: health.ok,
|
|
23
|
+
protectedWorkBaselineReady: health.protectedWorkBaselineReady,
|
|
24
|
+
platformCapabilities: health.platformCapabilities
|
|
25
|
+
}
|
|
21
26
|
};
|
|
22
27
|
});
|
|
23
28
|
//#endregion
|
|
@@ -1,5 +1,28 @@
|
|
|
1
1
|
import { a as getCookie } from "../server.js";
|
|
2
2
|
import { t as webOriginConfig } from "./public-origin-xV0lm0Ty.js";
|
|
3
|
+
//#region ../../packages/client/src/workspace-recovery.ts
|
|
4
|
+
/** Shared operator wording; does not perform cleanup or establish ownership. */
|
|
5
|
+
function workspaceRecoveryExplanation(writer) {
|
|
6
|
+
if (writer.posture === "restored") return "Restored metadata is not cleanup authority. Management recovery is unavailable.";
|
|
7
|
+
if (writer.posture === "root_changed") return "The registered workspace identity changed. No cleanup will be attempted.";
|
|
8
|
+
if (writer.posture === "active") return "This writer is active. Recovery cannot interrupt active work.";
|
|
9
|
+
switch (writer.blocker) {
|
|
10
|
+
case "host_commands": return "Host commands may outlive a failed turn. Recovery of unconfirmed host-command cleanup is not supported in this release; the workspace stays blocked.";
|
|
11
|
+
case "worker_cleanup_unconfirmed": return "Worker cleanup is not confirmed. Management will not signal an unconfirmed worker; the workspace stays blocked.";
|
|
12
|
+
case "resource_records_unavailable": return "Recorded ownership is missing or inconsistent. Cleanup cannot be confirmed; the workspace stays blocked.";
|
|
13
|
+
default: return "Recorded resource cleanup can be attempted. The workspace stays blocked until cleanup is confirmed.";
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
var WORKSPACE_RECOVERY_OUTCOME_TEXT = {
|
|
17
|
+
recovered: "Recorded cleanup confirmed and writer released. Previous work was not retried.",
|
|
18
|
+
blocked: "Cleanup could not be confirmed. The workspace stays blocked.",
|
|
19
|
+
active: "A writer or recovery attempt is active. No additional cleanup was started.",
|
|
20
|
+
restored: "Restored metadata is not cleanup authority. The workspace stays blocked.",
|
|
21
|
+
root_changed: "The registered workspace identity changed. No cleanup was attempted.",
|
|
22
|
+
not_found: "The selected writer was not found for this Team. This is not a cleanup confirmation.",
|
|
23
|
+
selection_changed: "The selection changed during cleanup. Recovery was not confirmed; review the current status."
|
|
24
|
+
};
|
|
25
|
+
//#endregion
|
|
3
26
|
//#region ../../packages/client/src/index.ts
|
|
4
27
|
var ApiClientError = class extends Error {
|
|
5
28
|
status;
|
|
@@ -230,7 +253,23 @@ function createClient(cfg) {
|
|
|
230
253
|
})
|
|
231
254
|
};
|
|
232
255
|
},
|
|
256
|
+
/**
|
|
257
|
+
* Managed browser session controls (BAZ-069). Status never launches;
|
|
258
|
+
* stop preserves the persistent profile; reset is the operator's
|
|
259
|
+
* explicitly confirmed destructive action (cookies/logins are gone).
|
|
260
|
+
*/
|
|
261
|
+
getAgentSearchStatus: (agentId) => request("GET", `/api/agents/${encodeURIComponent(agentId)}/search-status`),
|
|
262
|
+
getAgentBrowser: (agentId) => request("GET", `/api/agents/${encodeURIComponent(agentId)}/browser`),
|
|
263
|
+
stopAgentBrowser: (agentId) => request("POST", `/api/agents/${encodeURIComponent(agentId)}/browser/stop`),
|
|
264
|
+
resetAgentBrowser: (agentId) => request("DELETE", `/api/agents/${encodeURIComponent(agentId)}/browser/profile?confirm=reset-browser-profile`),
|
|
233
265
|
binary,
|
|
266
|
+
workspaceRecovery: (teamId) => {
|
|
267
|
+
const base = `/api/teams/${encodeURIComponent(teamId)}/workspace/recovery`;
|
|
268
|
+
return {
|
|
269
|
+
list: () => request("GET", base),
|
|
270
|
+
attempt: (writerId) => request("POST", `${base}/${encodeURIComponent(writerId)}`)
|
|
271
|
+
};
|
|
272
|
+
},
|
|
234
273
|
get: (p) => request("GET", p),
|
|
235
274
|
post: (p, b) => request("POST", p, b),
|
|
236
275
|
postMultipart,
|
|
@@ -259,4 +298,4 @@ function daemonClient() {
|
|
|
259
298
|
}
|
|
260
299
|
var DAEMON_BASE_URL = DAEMON_URL;
|
|
261
300
|
//#endregion
|
|
262
|
-
export { daemonClient as n, ApiClientError as r, DAEMON_BASE_URL as t };
|
|
301
|
+
export { workspaceRecoveryExplanation as a, WORKSPACE_RECOVERY_OUTCOME_TEXT as i, daemonClient as n, ApiClientError as r, DAEMON_BASE_URL as t };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { n as createServerFn } from "../server.js";
|
|
2
2
|
import { t as createServerRpc } from "./createServerRpc-B7Yr1K8i.js";
|
|
3
|
-
import { n as daemonClient, r as ApiClientError } from "./daemon-client-
|
|
3
|
+
import { n as daemonClient, r as ApiClientError } from "./daemon-client-C-RlJHYO.js";
|
|
4
4
|
//#region src/lib/git-review.ts?tss-serverfn-split
|
|
5
5
|
function failure(error, fallback) {
|
|
6
6
|
if (!(error instanceof ApiClientError)) throw error;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { n as createServerFn } from "../server.js";
|
|
2
2
|
import { t as createServerRpc } from "./createServerRpc-B7Yr1K8i.js";
|
|
3
|
-
import { n as daemonClient, r as ApiClientError } from "./daemon-client-
|
|
3
|
+
import { n as daemonClient, r as ApiClientError } from "./daemon-client-C-RlJHYO.js";
|
|
4
4
|
//#region src/routes/agents/$id/inbox.tsx?tss-serverfn-split
|
|
5
5
|
var fetchInbox_createServerFn_handler = createServerRpc({
|
|
6
6
|
id: "2cd8c6ec40e2e2d9518b5f127a518ecd83a2222d85665cc61d5144bcf59ed4fb",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { n as createServerFn } from "../server.js";
|
|
2
2
|
import { t as createServerRpc } from "./createServerRpc-B7Yr1K8i.js";
|
|
3
|
-
import { n as daemonClient, r as ApiClientError } from "./daemon-client-
|
|
3
|
+
import { n as daemonClient, r as ApiClientError } from "./daemon-client-C-RlJHYO.js";
|
|
4
4
|
//#region src/routes/agents/$id/learning.tsx?tss-serverfn-split
|
|
5
5
|
var fetchLearning_createServerFn_handler = createServerRpc({
|
|
6
6
|
id: "fcdd0f08b635c7c501caa840d01d1376ace6683e26cc5ac7dead28d7870f98b9",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { n as createServerFn } from "../server.js";
|
|
2
2
|
import { t as createServerRpc } from "./createServerRpc-B7Yr1K8i.js";
|
|
3
|
-
import { n as daemonClient } from "./daemon-client-
|
|
3
|
+
import { n as daemonClient } from "./daemon-client-C-RlJHYO.js";
|
|
4
4
|
//#region src/routes/config/mcp.tsx?tss-serverfn-split
|
|
5
5
|
var fetchServers_createServerFn_handler = createServerRpc({
|
|
6
6
|
id: "278849457893891c3d22806d15e11a0a42cc3630b30e9e62b74cf2d3b982ded7",
|
|
@@ -2,7 +2,7 @@ import { n as createServerFn } from "../server.js";
|
|
|
2
2
|
import { t as createSsrRpc } from "./createSsrRpc-6LHNEsSK.js";
|
|
3
3
|
import { createFileRoute, lazyRouteComponent } from "@tanstack/react-router";
|
|
4
4
|
//#region src/routes/config/mcp.tsx
|
|
5
|
-
var $$splitComponentImporter = () => import("./mcp-
|
|
5
|
+
var $$splitComponentImporter = () => import("./mcp-DmzP8n2G.js");
|
|
6
6
|
var $$splitErrorComponentImporter = () => import("./mcp-BQ4KvXp1.js");
|
|
7
7
|
var fetchServers = createServerFn({ method: "GET" }).handler(createSsrRpc("278849457893891c3d22806d15e11a0a42cc3630b30e9e62b74cf2d3b982ded7"));
|
|
8
8
|
var Route = createFileRoute("/config/mcp")({
|
|
@@ -1,16 +1,12 @@
|
|
|
1
1
|
import { n as Button } from "./utils-ySbqTi3g.js";
|
|
2
|
-
import { t as Route } from "./mcp-
|
|
2
|
+
import { t as Route } from "./mcp-CLWr5_0I.js";
|
|
3
3
|
import { t as ConfirmDialog } from "./ConfirmDialog-C-2cbcmQ.js";
|
|
4
4
|
import { t as ConfigPage } from "./ConfigPage-J3s_PX4o.js";
|
|
5
5
|
import { useState } from "react";
|
|
6
6
|
import { useRouter } from "@tanstack/react-router";
|
|
7
7
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
8
8
|
//#region src/routes/config/mcp.tsx?tsr-split=component
|
|
9
|
-
var TRANSPORTS = [
|
|
10
|
-
"stdio",
|
|
11
|
-
"http",
|
|
12
|
-
"sse"
|
|
13
|
-
];
|
|
9
|
+
var TRANSPORTS = ["stdio", "http"];
|
|
14
10
|
function McpPage() {
|
|
15
11
|
const { servers } = Route.useLoaderData();
|
|
16
12
|
const router = useRouter();
|
|
@@ -122,12 +118,12 @@ function McpPage() {
|
|
|
122
118
|
active: "mcp",
|
|
123
119
|
title: "MCP servers",
|
|
124
120
|
description: /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
125
|
-
"Expose tools from local or remote Model Context Protocol servers to
|
|
121
|
+
"Expose tools from local or remote Model Context Protocol servers to ordinary interactive agents under the ",
|
|
126
122
|
/* @__PURE__ */ jsx("code", {
|
|
127
123
|
className: "font-mono",
|
|
128
124
|
children: "mcp__<server>__<tool>"
|
|
129
125
|
}),
|
|
130
|
-
" namespace. Local stdio servers inherit configured secrets; HTTP
|
|
126
|
+
" namespace. Local stdio servers run on Linux only and inherit configured secrets; use Streamable HTTP on other platforms. HTTP servers can use a bearer token. Protected and background turns do not receive these tools. Legacy SSE is unsupported."
|
|
131
127
|
] }),
|
|
132
128
|
children: [
|
|
133
129
|
/* @__PURE__ */ jsxs("section", {
|
|
@@ -194,7 +190,7 @@ function McpPage() {
|
|
|
194
190
|
type: "url",
|
|
195
191
|
value: url,
|
|
196
192
|
onChange: (e) => setUrl(e.target.value),
|
|
197
|
-
placeholder: "https://mcp.example.com/
|
|
193
|
+
placeholder: "https://mcp.example.com/mcp",
|
|
198
194
|
className: "block mt-1 rounded-md border bg-background px-3 py-2 text-sm w-full"
|
|
199
195
|
})]
|
|
200
196
|
}), /* @__PURE__ */ jsxs("label", {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { n as createServerFn } from "../server.js";
|
|
2
2
|
import { t as createServerRpc } from "./createServerRpc-B7Yr1K8i.js";
|
|
3
|
-
import { n as daemonClient } from "./daemon-client-
|
|
3
|
+
import { n as daemonClient } from "./daemon-client-C-RlJHYO.js";
|
|
4
4
|
//#region src/routes/teams/$id/members.tsx?tss-serverfn-split
|
|
5
5
|
var fetchMembers_createServerFn_handler = createServerRpc({
|
|
6
6
|
id: "0a6e766d2b4ea526da34cefed5342a6ecc5ff35ad1ce38fba4129b8c24d8e6e5",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { n as createServerFn } from "../server.js";
|
|
2
2
|
import { t as createServerRpc } from "./createServerRpc-B7Yr1K8i.js";
|
|
3
|
-
import { n as daemonClient, r as ApiClientError } from "./daemon-client-
|
|
3
|
+
import { n as daemonClient, r as ApiClientError } from "./daemon-client-C-RlJHYO.js";
|
|
4
4
|
//#region src/routes/teams/$id/memory.tsx?tss-serverfn-split
|
|
5
5
|
var fetchMemory_createServerFn_handler = createServerRpc({
|
|
6
6
|
id: "b96a98e3ed6c8a3ab5f6a4ed8458e93da753ffd74e2912ef1724bb6e58030cb5",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { n as createServerFn } from "../server.js";
|
|
2
2
|
import { t as createServerRpc } from "./createServerRpc-B7Yr1K8i.js";
|
|
3
|
-
import { n as daemonClient } from "./daemon-client-
|
|
3
|
+
import { n as daemonClient } from "./daemon-client-C-RlJHYO.js";
|
|
4
4
|
//#region src/routes/teams/$id/policy.tsx?tss-serverfn-split
|
|
5
5
|
var fetchPolicy_createServerFn_handler = createServerRpc({
|
|
6
6
|
id: "fc940d6dec5305aa64bdb9b9f5f7d4f925b2ba0608cb6d39af854a94872fc867",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { n as createServerFn } from "../server.js";
|
|
2
2
|
import { t as createServerRpc } from "./createServerRpc-B7Yr1K8i.js";
|
|
3
|
-
import { n as daemonClient, r as ApiClientError } from "./daemon-client-
|
|
3
|
+
import { n as daemonClient, r as ApiClientError } from "./daemon-client-C-RlJHYO.js";
|
|
4
4
|
//#region src/lib/publications.ts?tss-serverfn-split
|
|
5
5
|
function failure(error, fallback) {
|
|
6
6
|
if (!(error instanceof ApiClientError)) throw error;
|