loki-mode 11.130.0 → 11.131.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.
Files changed (70) hide show
  1. package/SKILL.md +2 -2
  2. package/VERSION +1 -1
  3. package/autonomy/loki +1 -1
  4. package/bin/loki +0 -1
  5. package/dashboard/__init__.py +1 -1
  6. package/docs/CLI-INVENTORY.md +3 -3
  7. package/docs/CLI-REFERENCE.md +1 -1
  8. package/docs/INSTALLATION.md +1 -1
  9. package/loki-ts/dist/loki.js +1317 -1317
  10. package/mcp/__init__.py +1 -1
  11. package/package.json +2 -2
  12. package/packages/control-plane/dist/server.js +115 -15
  13. package/plugins/loki-mode/.claude-plugin/plugin.json +1 -1
  14. package/web-app/dist/assets/{AdminPage-CNxvd-uy.js → AdminPage-Cmu9IzBd.js} +1 -1
  15. package/web-app/dist/assets/{Avatar-DdLoiZKv.js → Avatar-ln5y0M8U.js} +1 -1
  16. package/web-app/dist/assets/{Badge-DrdPaBOH.js → Badge-D2j528aY.js} +1 -1
  17. package/web-app/dist/assets/{Button-BQ0UyQAk.js → Button-B1p3IGUc.js} +1 -1
  18. package/web-app/dist/assets/{CockpitPage-BLFBjBZW.js → CockpitPage-CTUU4V8E.js} +1 -1
  19. package/web-app/dist/assets/{ComparePage-NHaUjY-d.js → ComparePage-BAGPA7po.js} +1 -1
  20. package/web-app/dist/assets/{ErrorBoundary-ClaDCylr.js → ErrorBoundary-DbdkbdMJ.js} +1 -1
  21. package/web-app/dist/assets/{EvidenceReceiptPanel-BBW0IhXb.js → EvidenceReceiptPanel-qFHpU4I2.js} +1 -1
  22. package/web-app/dist/assets/{GitHubIssuesPanel-B_dAtNuN.js → GitHubIssuesPanel-CZyfinIf.js} +1 -1
  23. package/web-app/dist/assets/{GitHubPRsPanel-Tv3JF9E0.js → GitHubPRsPanel-kLjdPvP1.js} +1 -1
  24. package/web-app/dist/assets/{HomePage-8fLInImK.js → HomePage-By-YK24Z.js} +2 -2
  25. package/web-app/dist/assets/{LoginPage-BGL-xm0l.js → LoginPage-CNODtz7e.js} +1 -1
  26. package/web-app/dist/assets/{MagicPage-D7nHpNuT.js → MagicPage-D8OI_Umu.js} +1 -1
  27. package/web-app/dist/assets/{MetricsPage-BZh8ZOug.js → MetricsPage-Ba7aIW0b.js} +1 -1
  28. package/web-app/dist/assets/{NotFoundPage-DJ5YwC3-.js → NotFoundPage-Cki5NHNf.js} +1 -1
  29. package/web-app/dist/assets/{ProjectPage-DYaGNgFt.js → ProjectPage-C-G6OoV-.js} +3 -3
  30. package/web-app/dist/assets/{ProjectsPage-9GbGTW3g.js → ProjectsPage-BWOdWJT4.js} +1 -1
  31. package/web-app/dist/assets/{SettingsPage-DdRI8LZ5.js → SettingsPage-DeWSXR4R.js} +1 -1
  32. package/web-app/dist/assets/{ShowcasePage-ClEeMHAu.js → ShowcasePage-DcDW92mO.js} +1 -1
  33. package/web-app/dist/assets/{SystemSettingsPage-rqj2byaP.js → SystemSettingsPage-0NkDo9DV.js} +1 -1
  34. package/web-app/dist/assets/{TeamsPage-OaJ999dm.js → TeamsPage-UJLW67yK.js} +1 -1
  35. package/web-app/dist/assets/{TemplatesPage-CrqXt5pd.js → TemplatesPage-BP3l6GQz.js} +1 -1
  36. package/web-app/dist/assets/{TerminalOutput-DzOk3P-J.js → TerminalOutput-PBb8g_Jh.js} +1 -1
  37. package/web-app/dist/assets/{activity-C3XPvqFU.js → activity-B9MpHBmf.js} +1 -1
  38. package/web-app/dist/assets/{bell-BADR28Ic.js → bell-CFuas9dN.js} +1 -1
  39. package/web-app/dist/assets/{bot-BOfl_osT.js → bot-07WYggLm.js} +1 -1
  40. package/web-app/dist/assets/{check-DyeRhpqt.js → check-C0DnJig2.js} +1 -1
  41. package/web-app/dist/assets/{chevron-left-DytHCita.js → chevron-left-Dz9OlzSt.js} +1 -1
  42. package/web-app/dist/assets/{circle-alert-ej7tR0w9.js → circle-alert-DaxO3JTX.js} +1 -1
  43. package/web-app/dist/assets/{clock-CMmgiaJ3.js → clock-BGnPwC-j.js} +1 -1
  44. package/web-app/dist/assets/{cloud-BmoOA5GK.js → cloud-yyMJaPLN.js} +1 -1
  45. package/web-app/dist/assets/{code-xml-DjcElMOx.js → code-xml-DdVPbUIP.js} +1 -1
  46. package/web-app/dist/assets/{database-BxK55gai.js → database-B2KbnR4I.js} +1 -1
  47. package/web-app/dist/assets/{dollar-sign-MxE9EOHB.js → dollar-sign-BNAva53p.js} +1 -1
  48. package/web-app/dist/assets/{file-code-corner-BYQ975Vf.js → file-code-corner-DNsaDGiv.js} +1 -1
  49. package/web-app/dist/assets/{file-plus-C0_fKf6I.js → file-plus-CH6Xk-5n.js} +1 -1
  50. package/web-app/dist/assets/{globe-C7iJxA9K.js → globe-BO9_V2S4.js} +1 -1
  51. package/web-app/dist/assets/{hammer-CuVGrR3Z.js → hammer-DEnHQ2gS.js} +1 -1
  52. package/web-app/dist/assets/{index-DvGbCL2t.js → index-B0ZA2Vr-.js} +3 -3
  53. package/web-app/dist/assets/{layers-BWmxXnEV.js → layers-Be_KVuGq.js} +1 -1
  54. package/web-app/dist/assets/{loader-circle-BrsqCmNy.js → loader-circle-D4zen87K.js} +1 -1
  55. package/web-app/dist/assets/{lock-Dl3UsTMr.js → lock-DCRNe7bx.js} +1 -1
  56. package/web-app/dist/assets/{package-CCiRYdmb.js → package-DfrNh-S4.js} +1 -1
  57. package/web-app/dist/assets/{plus-d5BugnNw.js → plus-C9AAkMmN.js} +1 -1
  58. package/web-app/dist/assets/{refresh-cw-DIkE6C0k.js → refresh-cw-EwCsZalO.js} +1 -1
  59. package/web-app/dist/assets/{rotate-ccw-DDhYD9MA.js → rotate-ccw-_Ib-gHLA.js} +1 -1
  60. package/web-app/dist/assets/{scroll-text-jAoSqO2O.js → scroll-text-v_519kqk.js} +1 -1
  61. package/web-app/dist/assets/{server-D16MyCdB.js → server-gL5iApyP.js} +1 -1
  62. package/web-app/dist/assets/{shield-alert-C8W_Qcb5.js → shield-alert-CM4QIZ8H.js} +1 -1
  63. package/web-app/dist/assets/{thumbs-up-DdTbl2Vo.js → thumbs-up-DTmA9iOn.js} +1 -1
  64. package/web-app/dist/assets/{trash-2-R-2Gvy6B.js → trash-2-M5G7X2Q_.js} +1 -1
  65. package/web-app/dist/assets/{trending-down-Dk08-nlD.js → trending-down-DE-BgoXq.js} +1 -1
  66. package/web-app/dist/assets/{trending-up-DX8yONXb.js → trending-up-B53kMWa_.js} +1 -1
  67. package/web-app/dist/assets/{upload-6oDG_uiK.js → upload-0b3caMin.js} +1 -1
  68. package/web-app/dist/assets/{usePolling-Co4817xB.js → usePolling-DGsLtfvG.js} +1 -1
  69. package/web-app/dist/assets/{user-CjbWWW1W.js → user-CFRBu1qF.js} +1 -1
  70. package/web-app/dist/index.html +1 -1
package/mcp/__init__.py CHANGED
@@ -75,4 +75,4 @@ try:
75
75
  except ImportError:
76
76
  __all__ = ['mcp']
77
77
 
78
- __version__ = '11.130.0'
78
+ __version__ = '11.131.1'
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "loki-mode",
3
3
  "mcpName": "io.github.asklokesh/loki-mode",
4
- "version": "11.130.0",
4
+ "version": "11.131.1",
5
5
  "description": "An autonomous software factory that knows what it is supposed to deliver, and proves it did.",
6
6
  "keywords": [
7
7
  "agent",
@@ -161,5 +161,5 @@
161
161
  "dependencies": {
162
162
  "@resvg/resvg-wasm": "^2.6.2"
163
163
  },
164
- "gitHead": "901e75da6fbd144fdda0f017e9d260b7e974f065"
164
+ "gitHead": "6b8420572928386c5fb8d343e4c5eb9f302b4302"
165
165
  }
@@ -18065,8 +18065,11 @@ function assertionFailure(runner, output) {
18065
18065
  if (runner === "pytest") {
18066
18066
  if (/^ERROR\s|errors? during collection/m.test(out2))
18067
18067
  return false;
18068
- const f = [...out2.matchAll(/^FAILED\s+\S+(?:\s+-\s+(.*))?$/gm)].map((m) => m[1] ?? "");
18069
- return f.length > 0 && f.every((r) => /^(?:assert\b|AssertionError\b)/.test(r.trim()));
18068
+ const f = [...out2.matchAll(/^FAILED\s+\S+(?:\s+-\s+(.*))?$/gm)].map((m) => (m[1] ?? "").trim());
18069
+ if (f.length === 0)
18070
+ return false;
18071
+ const kinds = f.every((r) => r !== "") ? f : [...out2.matchAll(/^E\s+((?:assert\b|[A-Za-z_.]*(?:Error|Exception))\S*)/gm)].map((m) => m[1]);
18072
+ return kinds.some((k) => /^(?:assert\b|AssertionError\b)/.test(k)) && !kinds.some((k) => /^(?:Import|ModuleNotFound|Attribute|Name|UnboundLocal|Type|Syntax|Indentation)Error\b/.test(k));
18070
18073
  }
18071
18074
  if (runner === "vitest") {
18072
18075
  const e = [...out2.matchAll(/^\s*((?:[A-Za-z]*Error))(?:\s*\[[^\]]*\])?:/gm)].map((m) => m[1]);
@@ -18257,8 +18260,24 @@ function fullSuiteCmd(runner, repoDir) {
18257
18260
  const [cmd, interpreter, pre] = resolveTool(repoDir, "python", "python3", "python");
18258
18261
  return { cmd, args: [...pre, ...runner === "unittest" ? UNITTEST_DISCOVER_ARGS : ["-m", "pytest", "-q"]], ...runner === "unittest" && interpreter === "system" ? {} : { interpreter } };
18259
18262
  }
18263
+ function ownVitestSite(repoDir, path) {
18264
+ const cfg = /^vite(st)?\.config\.(?:[cm]?[jt]s|mts)$/;
18265
+ for (let d = dirname16(path);d !== "." && d !== "" && d !== "/" && !d.startsWith(".."); d = dirname16(d)) {
18266
+ try {
18267
+ const abs = join54(repoDir, d);
18268
+ if (!existsSync33(join54(abs, "package.json")))
18269
+ continue;
18270
+ const conf = readdirSync22(abs).find((n3) => cfg.test(n3));
18271
+ if (!conf)
18272
+ continue;
18273
+ if (/^vitest/.test(conf) || /\btest\s*:/.test(readFileSync43(join54(abs, conf), "utf8").slice(0, 200000)))
18274
+ return { cwd: abs, root: d, file: relative7(d, path) };
18275
+ } catch {}
18276
+ }
18277
+ return null;
18278
+ }
18260
18279
  function commandFor(t, repoDir, api) {
18261
- const site = siteFor(api, repoDir, t.path);
18280
+ const site = siteFor(api, repoDir, t.path) ?? (t.runner === "vitest" ? ownVitestSite(repoDir, t.path) : null);
18262
18281
  const base = site?.cwd ?? repoDir, rel = site?.file ?? t.path, mod = t.runner === "go" ? goModDir(base, rel) : base;
18263
18282
  const [cmd, args, interpreter] = runnerCmd(mod === base ? site ? { runner: t.runner, path: site.file } : t : { runner: t.runner, path: relative7(mod, join54(base, rel)) }, mod === base ? repoDir : mod);
18264
18283
  return { cwd: mod === base ? base : mod, cmd, args, argv: [cmd, ...args], ...interpreter ? { interpreter } : {}, pkgRoot: mod === base ? site?.root ?? "." : relative7(repoDir, mod) || "." };
@@ -18291,6 +18310,33 @@ function failureSignature(c, suite = false) {
18291
18310
  `)).digest("hex").slice(0, 8)})` : ids.join(", ");
18292
18311
  return [c.name, c.first_error, set ? `[${set}]` : ""].filter(Boolean).join(" ");
18293
18312
  }
18313
+ function stallSignature(sig) {
18314
+ const more = /\(\+(\d+) more, set [0-9a-f]+\)/.exec(sig), s = sig.replace(/\s*\(\+\d+ more, set [0-9a-f]+\)/, "");
18315
+ if (!/^full suite: /.test(s))
18316
+ return s;
18317
+ const name = /^full suite: \S+/.exec(s)?.[0] ?? s, listed = (/\[([^\]]*)\]/.exec(s)?.[1] ?? "").split(", ").filter(Boolean);
18318
+ return more ? `${name} [${listed.join(", ")}] #${listed.length + Number(more[1])}` : `${name} [${[...listed].sort().join(", ")}]`;
18319
+ }
18320
+ function stallSame(a, b) {
18321
+ if (a === b)
18322
+ return true;
18323
+ let x, y;
18324
+ try {
18325
+ x = JSON.parse(a);
18326
+ y = JSON.parse(b);
18327
+ } catch {
18328
+ return false;
18329
+ }
18330
+ if (!Array.isArray(x) || !Array.isArray(y) || x.length !== y.length)
18331
+ return false;
18332
+ return x.every((e, i) => {
18333
+ const f = y[i];
18334
+ if (e === f)
18335
+ return true;
18336
+ const m = /^(.*) #(\d+)$/s.exec(String(e)), n3 = /^(.*) #(\d+)$/s.exec(String(f));
18337
+ return !!m && !!n3 && m[1] === n3[1] && Math.abs(Number(m[2]) - Number(n3[2])) <= Math.ceil(0.02 * Math.max(Number(m[2]), Number(n3[2])));
18338
+ });
18339
+ }
18294
18340
  function failureGroup(c, excerpt, suite = false) {
18295
18341
  return { signature: failureSignature(c, suite), count: 1, sample: excerpt ? `${c.cmd}
18296
18342
  ${excerpt}` : c.cmd };
@@ -31433,6 +31479,7 @@ __export(exports_seal, {
31433
31479
  kidOf: () => kidOf2,
31434
31480
  commitStage: () => commitStage,
31435
31481
  canonicalJson: () => canonicalJson,
31482
+ baseProofRunner: () => baseProofRunner,
31436
31483
  WALL_GREEN_ON_BASE_REASON: () => WALL_GREEN_ON_BASE_REASON,
31437
31484
  UNEXERCISED_PUBLIC: () => UNEXERCISED_PUBLIC,
31438
31485
  SIGNING_UNAVAILABLE: () => SIGNING_UNAVAILABLE,
@@ -31473,7 +31520,7 @@ async function failThenPass(ctx, vraw, pctx, head, cs, task) {
31473
31520
  const files = [...new Set(vraw.filter((c) => isExecutedProof(c) && checkProvenance(String(c.name ?? ""), pctx) === "agent_authored").map((c) => String(c.name).slice(String(c.name).indexOf(":") + 1)))];
31474
31521
  if (files.length === 0)
31475
31522
  return { ok: false, line: "", files: [] };
31476
- const mp = await mutationProof({ repoDir: ctx.repoDir, baseSha: ctx.baseSha, runDir: ctx.runDir, wallFiles: files.map((path) => ({ path })), checks: vraw, runner: (ms) => new RealBaseTestRunner(undefined, ms, {}, !declaresPythonEnv(ctx.repoDir, head)), headSha: head, requireAssertion: true, baseMustPass: files.filter((f) => pctx.modifiedFiles?.includes(f)) });
31523
+ const mp = await mutationProof({ repoDir: ctx.repoDir, baseSha: ctx.baseSha, runDir: ctx.runDir, wallFiles: files.map((path) => ({ path })), checks: vraw, runner: (ms) => baseProofRunner(ms), headSha: head, requireAssertion: true, baseMustPass: files.filter((f) => pctx.modifiedFiles?.includes(f)) });
31477
31524
  const symbols = cs.all.filter((s) => cs.onBase.has(s) || new RegExp(`(?<![\\w$])${s.replace(/[$]/g, "\\$")}(?![\\w$])`).test(task));
31478
31525
  const read3 = (p) => {
31479
31526
  try {
@@ -31629,7 +31676,7 @@ function renderReceiptMd(r) {
31629
31676
  ].join(`
31630
31677
  `);
31631
31678
  }
31632
- var SYSTEM_INTERP = "tests ran on the system interpreter", SYSTEM_INTERP_SUFFIX = " (the repo declares no Python dependencies, so this is its interpreter; informational, does not cap)", SIGNING_UNAVAILABLE = "receipt signing unavailable (no usable signing key: invalid key or unwritable ~/.loki/keys)", AGENT_ONLY_REASON = "only agent-authored tests executed (no agent-independent proof)", WALL_GREEN_ON_BASE_REASON = "Wall green on base: no Wall test discriminates the change", EXCLUDE_LOKI = ":(exclude).loki", sha2562 = (s) => createHash30("sha256").update(s).digest("hex"), str3 = (v) => typeof v === "string" && v !== "" ? v : null, EXTERNAL_MODEL_LABEL = "external (no Loki implement session)", EXTERNAL_DIFF_NOT_ISOLATED = "Wall author not filesystem-isolated from the external diff", EXTERNAL_NO_WALL = "external diff sealed with no Wall file that ran; the only checks are the repo's existing tests", externalRun = (o) => o.implement?.exit === "external", LEAN_NO_SYMBOL = "no passing check references a changed symbol and no Wall file ran", NO_FAIL_THEN_PASS = "no test shown to fail on the base commit and pass on the change", UNEXERCISED_PUBLIC = "no agent-independent passing test calls these added public functions", CALLER_SCAN = 3000, CALLER_MAX_BYTES = 200000, strs2 = (v) => Array.isArray(v) ? v.filter((x) => typeof x === "string" && x !== "") : [], g = (ctx) => (a) => git5(ctx, a), receiptRel = (ctx) => {
31679
+ var SYSTEM_INTERP = "tests ran on the system interpreter", SYSTEM_INTERP_SUFFIX = " (the repo declares no Python dependencies, so this is its interpreter; informational, does not cap)", SIGNING_UNAVAILABLE = "receipt signing unavailable (no usable signing key: invalid key or unwritable ~/.loki/keys)", AGENT_ONLY_REASON = "only agent-authored tests executed (no agent-independent proof)", WALL_GREEN_ON_BASE_REASON = "Wall green on base: no Wall test discriminates the change", EXCLUDE_LOKI = ":(exclude).loki", sha2562 = (s) => createHash30("sha256").update(s).digest("hex"), str3 = (v) => typeof v === "string" && v !== "" ? v : null, EXTERNAL_MODEL_LABEL = "external (no Loki implement session)", EXTERNAL_DIFF_NOT_ISOLATED = "Wall author not filesystem-isolated from the external diff", EXTERNAL_NO_WALL = "external diff sealed with no Wall file that ran; the only checks are the repo's existing tests", externalRun = (o) => o.implement?.exit === "external", LEAN_NO_SYMBOL = "no passing check references a changed symbol and no Wall file ran", NO_FAIL_THEN_PASS = "no test shown to fail on the base commit and pass on the change", baseProofRunner = (ms) => new RealBaseTestRunner(undefined, ms, {}, true), UNEXERCISED_PUBLIC = "no agent-independent passing test calls these added public functions", CALLER_SCAN = 3000, CALLER_MAX_BYTES = 200000, strs2 = (v) => Array.isArray(v) ? v.filter((x) => typeof x === "string" && x !== "") : [], g = (ctx) => (a) => git5(ctx, a), receiptRel = (ctx) => {
31633
31680
  const r = relative19(ctx.repoDir, join98(ctx.runDir, "receipt.json"));
31634
31681
  return r.startsWith("..") || isAbsolute16(r) ? `.loki/runs/${ctx.runId}/receipt.json` : r;
31635
31682
  }, commitStage, wallGreenOnBaseOf = (o) => {
@@ -34163,7 +34210,7 @@ ${timeBudgetNote(limitS)}`;
34163
34210
  try {
34164
34211
  let jumped = false, resized = false, stopped = null;
34165
34212
  const sigs = [];
34166
- const sigOf = (d, r) => r && r.status !== "completed" ? `verify-crashed-${sigs.length}` : JSON.stringify([...(d?.failures_grouped ?? []).filter((g2) => !g2.carried).map((g2) => g2.signature).sort(), `holdout_failed=${d?.holdout_failed ?? 0}`]);
34213
+ const sigOf = (d, r) => r && r.status !== "completed" ? `verify-crashed-${sigs.length}` : JSON.stringify([...(d?.failures_grouped ?? []).filter((g2) => !g2.carried).map((g2) => stallSignature(String(g2.signature))).sort(), `holdout_failed=${d?.holdout_failed ?? 0}`]);
34167
34214
  for (const step of opts.flow ?? FLOW) {
34168
34215
  const group = typeof step === "string" ? [step] : [...step];
34169
34216
  let todo = group;
@@ -34183,7 +34230,7 @@ ${timeBudgetNote(limitS)}`;
34183
34230
  jumped = true;
34184
34231
  continue;
34185
34232
  }
34186
- if (wallConcurrent() && todo.includes("plan") && todo.includes("wall") && !wallJob && await startWallAuthor())
34233
+ if (wallConcurrent() && wallEnabled() && todo.includes("plan") && todo.includes("wall") && !wallJob && await startWallAuthor())
34187
34234
  todo = todo.filter((n3) => n3 !== "wall");
34188
34235
  if (wallJob && todo.includes("implement") && !await wallJob.snap) {
34189
34236
  const j = wallJob, t0 = j.t0;
@@ -34255,7 +34302,7 @@ ${timeBudgetNote(limitS)}`;
34255
34302
  break;
34256
34303
  if (wallOnlyAfterFix(outputs, ctx.repoDir) && wallSignature(outputs, ctx.repoDir) === wallBefore)
34257
34304
  break;
34258
- if (hasFailures(outputs.verify) && sigs.length >= 2 && sigs.slice(-2).every((x) => x === sigs[sigs.length - 1])) {
34305
+ if (hasFailures(outputs.verify) && sigs.length >= 2 && stallSame(sigs[sigs.length - 2], sigs[sigs.length - 1])) {
34259
34306
  const up = stallClimb(ctx.model, outputs, sigs[sigs.length - 1] ?? "");
34260
34307
  if (up) {
34261
34308
  outputs.fix = { ...outputs.fix, stall_escalated: true, stall_pending: true };
@@ -34295,6 +34342,7 @@ var FLOW, TAIL, harnessOnlyFail = (d) => {
34295
34342
  var init_machine = __esm(() => {
34296
34343
  init_hooks();
34297
34344
  init_wall_knobs();
34345
+ init_sizing();
34298
34346
  init_safe_git();
34299
34347
  init_retry_class();
34300
34348
  init_registry2();
@@ -34307,6 +34355,7 @@ var init_machine = __esm(() => {
34307
34355
  init_holdout();
34308
34356
  init_wall();
34309
34357
  init_types2();
34358
+ init_check_result();
34310
34359
  init_anti_loop();
34311
34360
  init_conflict_resume();
34312
34361
  FLOW = [
@@ -35361,7 +35410,7 @@ var init_registry = __esm(() => {
35361
35410
  cmd("migrate", "FOLD", "bash", "Legacy migration", "Superseded by modernize", { migrate: 'loki "modernize <what> to <target>"' }),
35362
35411
  cmd("dogfood", "REMOVED", "bash", "Dogfood run", "Legacy engine", { migrate: 'It drove the removed legacy loop; use: loki start "<goal>"' }),
35363
35412
  cmd("steer", "FOLD", "bash", "Nudge a running build", "Session control", { migrate: "loki chat --attach" }),
35364
- cmd("outcomes", "REMOVED", "bash", "Outcome analytics", "Legacy outcome store", { migrate: 'It drove the removed legacy loop; use: loki start "<goal>"' }),
35413
+ cmd("outcomes", "HIDE", "bash", "Outcome analytics: revert, survival and change-failure per receipt; canary {plan,record,evaluate,receipt,verify}", "Live: lib/outcome_ledger.py via cmd_outcomes; documented for self-hosted operators"),
35365
35414
  cmd("worktree", "REMOVED", "bash", "Worktree management", "Legacy parallel mode", { aliases: ["wt"], migrate: 'It drove the removed legacy loop; use: loki start "<goal>"' }),
35366
35415
  cmd("checkpoint", "FOLD", "bash", "Legacy checkpoints", "Legacy engine", { aliases: ["cp"], migrate: "loki undo" }),
35367
35416
  cmd("analyze", "FOLD", "bash", "Codebase analysis", "Legacy analyze flow", { migrate: 'loki start "<goal>"' }),
@@ -48040,6 +48089,7 @@ __export(exports_verify, {
48040
48089
  vitestBatch: () => vitestBatch,
48041
48090
  verifyStage: () => verifyStage,
48042
48091
  verifyBatchOn: () => verifyBatchOn,
48092
+ tscUntouchedLocal: () => tscUntouchedLocal,
48043
48093
  testConfigChanged: () => testConfigChanged,
48044
48094
  testCheckName: () => testCheckName,
48045
48095
  stage: () => stage9,
@@ -48164,6 +48214,8 @@ async function runCheck(ctx, name, cmd2, args, signal, checks, opts = {}) {
48164
48214
  failTails.set(check, wallTailOf(attempt.out, ctx.repoDir));
48165
48215
  headErrors.set(check, errorsById(attempt.out));
48166
48216
  }
48217
+ if (result === "fail" && kind === "static" && name.startsWith("lint:tsc"))
48218
+ tscOut.set(check, attempt.out);
48167
48219
  checks.push(check);
48168
48220
  if (opts.opaque && check.result !== "pass" && check.reason)
48169
48221
  recordHoldoutTriage(ctx.runDir, { check: name, result: check.result, reason: check.reason });
@@ -48379,8 +48431,50 @@ function projectDeclaresRuff(repoDir) {
48379
48431
  }
48380
48432
  });
48381
48433
  }
48434
+ function tscUntouchedLocal(out2, pkgRel, keep, changed, baseOut) {
48435
+ const keys = tscLocalKeys(out2, pkgRel, keep, changed);
48436
+ if (keys === null || baseOut === null)
48437
+ return false;
48438
+ const base2 = new Set([...baseOut.matchAll(TSC_DIAG)].map((m) => `${m[1].trim()}|${m[2]}`));
48439
+ return keys.every((k) => base2.has(k));
48440
+ }
48441
+ function tscLocalKeys(out2, pkgRel, keep, changed) {
48442
+ if (out2.length >= 60000 || changed.some((f) => /(^|\/)tsconfig[^/]*\.json$/.test(f)))
48443
+ return null;
48444
+ const found = [...out2.matchAll(TSC_DIAG)];
48445
+ if (found.length === 0 || found.length !== (out2.match(/error TS\d+/g) ?? []).length)
48446
+ return null;
48447
+ return found.every((m) => TSC_LOCAL.has(m[2]) && !keep.has(join146(pkgRel === "." ? "" : pkgRel, m[1].trim()))) ? found.map((m) => `${m[1].trim()}|${m[2]}`) : null;
48448
+ }
48449
+ async function tscOnBase(ctx, groupCwd, signal, opts) {
48450
+ if (signal.aborted)
48451
+ return null;
48452
+ const dir = mkdtempSync20(join146(tmpdir26(), "e10-basetsc-")), git14 = (args) => {
48453
+ safeGit(ctx.repoDir, args, { stdio: "ignore", repoDrivers: true });
48454
+ };
48455
+ try {
48456
+ git14(["-c", "core.hooksPath=/dev/null", "worktree", "add", "--detach", dir, ctx.baseSha]);
48457
+ const cwd = join146(dir, relative29(ctx.repoDir, groupCwd)), link = baseDepsLinker(dir, ctx.repoDir);
48458
+ if (!existsSync99(join146(cwd, "tsconfig.json")) || !link(cwd))
48459
+ return null;
48460
+ if (cwd !== dir)
48461
+ link(dir);
48462
+ const r = await runOnce3("npx", ["--no-install", "tsc", "--noEmit", "-p", "."], cwd, AbortSignal.any([signal, AbortSignal.timeout(opts.timeoutMs ?? CHECK_TIMEOUT_MS)]), { ...opts });
48463
+ return r.missing || r.cut ? null : r.out;
48464
+ } catch {
48465
+ return null;
48466
+ } finally {
48467
+ try {
48468
+ git14(["worktree", "remove", "--force", dir]);
48469
+ } catch {}
48470
+ rmSync39(dir, { recursive: true, force: true });
48471
+ try {
48472
+ git14(["worktree", "prune"]);
48473
+ } catch {}
48474
+ }
48475
+ }
48382
48476
  async function runLintChecks(ctx, changed, signal, checks, opts = {}) {
48383
- const { api, ...runOpts } = opts;
48477
+ const { api, keep, ...runOpts } = opts;
48384
48478
  opts = runOpts;
48385
48479
  const pre = [];
48386
48480
  const py = changed.filter((f) => f.endsWith(".py"));
@@ -48399,8 +48493,11 @@ async function runLintChecks(ctx, changed, signal, checks, opts = {}) {
48399
48493
  }
48400
48494
  for (const g2 of groupByPackage(api, ctx.repoDir, changed.filter((f) => /\.(ts|tsx|js|jsx)$/.test(f)))) {
48401
48495
  const sfx = g2.root === "." ? "" : `:${g2.root}`, co = g2.root === "." ? opts : { ...opts, cwd: g2.cwd };
48402
- if (existsSync99(join146(g2.cwd, "tsconfig.json")))
48403
- await runCheck(ctx, `lint:tsc${sfx}`, "npx", ["--no-install", "tsc", "--noEmit", "-p", "."], signal, checks, { ...co, kind: "static" });
48496
+ if (existsSync99(join146(g2.cwd, "tsconfig.json"))) {
48497
+ const c = await runCheck(ctx, `lint:tsc${sfx}`, "npx", ["--no-install", "tsc", "--noEmit", "-p", "."], signal, checks, { ...co, kind: "static" });
48498
+ if (c.result === "fail" && keep && tscLocalKeys(tscOut.get(c) ?? "", g2.root, keep, [...keep]) && tscUntouchedLocal(tscOut.get(c) ?? "", g2.root, keep, [...keep], await tscOnBase(ctx, g2.cwd, signal, co)))
48499
+ pre.push(c.name);
48500
+ }
48404
48501
  if (ESLINT_CONFIGS.some((f) => existsSync99(join146(g2.cwd, f)))) {
48405
48502
  const c = await runCheck(ctx, `lint:eslint${sfx}`, "npx", ["--no-install", "eslint", ...g2.rel], signal, checks, { ...co, kind: "static" });
48406
48503
  if (await excuseLint(ctx, signal, c, "eslint", "npx", ["--no-install", "eslint"], g2.cwd, g2.rel, co))
@@ -48409,7 +48506,7 @@ async function runLintChecks(ctx, changed, signal, checks, opts = {}) {
48409
48506
  }
48410
48507
  return pre;
48411
48508
  }
48412
- var CHECK_TIMEOUT_MS = 60000, excerpts, suites, failTails, headErrors, WALL_FAILURE_TAIL_CAP = 16384, wallTailOf = (out2, repoDir) => redactSecrets(stripAnsi(out2).replace(/\r/g, "").split(repoDir.replace(/\/+$/, "") + "/").join("")).slice(-WALL_FAILURE_TAIL_CAP), isHold = (c) => isHoldoutCheck(c.name), pubHold = (c) => ({ name: "holdout", cmd: "holdout", result: c.result, duration_s: c.duration_s, ...c.n !== undefined ? { n: c.n } : {}, ...c.sk !== undefined ? { sk: c.sk } : {}, ...c.owner ? { owner: c.owner, reason: "holdout infrastructure failure" } : {} }), testCheckName = (t) => `${t.runner}:${t.path}`, COLLATERAL_RED = "relevant test already failing on base, still failing the same tests (it imports a file the task names; capped, not blocking)", dedupeTests = (tests) => [...new Map(tests.map((t) => [`${t.runner}:${t.path}`, t])).values()], verifyBatchOn = (env = process.env) => env["LOKI_E10_VERIFY_BATCH"] !== "0", BATCH_MIN = 2, UNHANDLED_RE, batchTimeoutMs = (files) => Math.max(CHECK_TIMEOUT_MS, Math.min(300000, files * 5000)), vitestFile = (t, c) => t.runner === "vitest" && c.cmd === "npx" && c.args.length === 4 && c.args[0] === "--no-install" && c.args[1] === "vitest" && c.args[2] === "run", feedsFixRound = (c, pre) => c.result === "fail" && !pre.names.includes(c.name) && !pre.sameError.includes(c.name) && !isHoldoutCheck(c.name), ESLINT_CONFIGS, excuseLint = (ctx, signal, c, tool, cmd2, prefix, cwd, rel, opts) => c.result !== "fail" || signal.aborted ? Promise.resolve(false) : staticPreExisting(tool, prefix, rel, { run: async (a, stdin) => {
48509
+ var CHECK_TIMEOUT_MS = 60000, excerpts, suites, failTails, tscOut, headErrors, WALL_FAILURE_TAIL_CAP = 16384, wallTailOf = (out2, repoDir) => redactSecrets(stripAnsi(out2).replace(/\r/g, "").split(repoDir.replace(/\/+$/, "") + "/").join("")).slice(-WALL_FAILURE_TAIL_CAP), isHold = (c) => isHoldoutCheck(c.name), pubHold = (c) => ({ name: "holdout", cmd: "holdout", result: c.result, duration_s: c.duration_s, ...c.n !== undefined ? { n: c.n } : {}, ...c.sk !== undefined ? { sk: c.sk } : {}, ...c.owner ? { owner: c.owner, reason: "holdout infrastructure failure" } : {} }), testCheckName = (t) => `${t.runner}:${t.path}`, COLLATERAL_RED = "relevant test already failing on base, still failing the same tests (it imports a file the task names; capped, not blocking)", dedupeTests = (tests) => [...new Map(tests.map((t) => [`${t.runner}:${t.path}`, t])).values()], verifyBatchOn = (env = process.env) => env["LOKI_E10_VERIFY_BATCH"] !== "0", BATCH_MIN = 2, UNHANDLED_RE, batchTimeoutMs = (files) => Math.max(CHECK_TIMEOUT_MS, Math.min(300000, files * 5000)), vitestFile = (t, c) => t.runner === "vitest" && c.cmd === "npx" && c.args.length === 4 && c.args[0] === "--no-install" && c.args[1] === "vitest" && c.args[2] === "run", feedsFixRound = (c, pre) => c.result === "fail" && !pre.names.includes(c.name) && !pre.sameError.includes(c.name) && !isHoldoutCheck(c.name), ESLINT_CONFIGS, excuseLint = (ctx, signal, c, tool, cmd2, prefix, cwd, rel, opts) => c.result !== "fail" || signal.aborted ? Promise.resolve(false) : staticPreExisting(tool, prefix, rel, { run: async (a, stdin) => {
48413
48510
  if (signal.aborted)
48414
48511
  return null;
48415
48512
  const r = await runOnce3(cmd2, a, cwd, AbortSignal.any([signal, AbortSignal.timeout(opts.timeoutMs ?? CHECK_TIMEOUT_MS)]), { ...opts, ...stdin !== undefined ? { stdin } : {} });
@@ -48420,7 +48517,7 @@ var CHECK_TIMEOUT_MS = 60000, excerpts, suites, failTails, headErrors, WALL_FAIL
48420
48517
  } catch {
48421
48518
  return null;
48422
48519
  }
48423
- } }), verifyStage, stage9;
48520
+ } }), TSC_LOCAL, TSC_DIAG, verifyStage, stage9;
48424
48521
  var init_verify = __esm(() => {
48425
48522
  init_stack_tools();
48426
48523
  init_atomic();
@@ -48460,9 +48557,12 @@ var init_verify = __esm(() => {
48460
48557
  excerpts = new WeakMap;
48461
48558
  suites = new WeakSet;
48462
48559
  failTails = new WeakMap;
48560
+ tscOut = new WeakMap;
48463
48561
  headErrors = new WeakMap;
48464
48562
  UNHANDLED_RE = /Unhandled (?:Errors?|Rejection)\b/;
48465
48563
  ESLINT_CONFIGS = [".eslintrc", ".eslintrc.json", ".eslintrc.js", ".eslintrc.cjs", "eslint.config.js", "eslint.config.mjs", "eslint.config.cjs"];
48564
+ TSC_LOCAL = new Set(["TS6133", "TS6138", "TS6192", "TS6196", "TS6198", "TS6199", "TS6205"]);
48565
+ TSC_DIAG = /^(\S.*?)(?:\(\d+,\d+\)|:\d+:\d+)\s*(?::|-)\s*error (TS\d+)/gm;
48466
48566
  verifyStage = {
48467
48567
  name: "verify",
48468
48568
  targetS: STAGE_BUDGETS.verify.targetS,
@@ -48596,7 +48696,7 @@ var init_verify = __esm(() => {
48596
48696
  preRed.names.push(...attr.preExistingChecks);
48597
48697
  preRed.ids.push(...attr.preExistingIds);
48598
48698
  if (!signal.aborted) {
48599
- const lintPre = await runLintChecks(ctx, complete || [...qs?.blocking ?? []].some((n3) => n3.startsWith("lint:")) ? changed : changed.filter((f) => qs?.since.includes(f)), signal, checks, { api, wall: wallPaths });
48699
+ const lintPre = await runLintChecks(ctx, complete || [...qs?.blocking ?? []].some((n3) => n3.startsWith("lint:")) ? changed : changed.filter((f) => qs?.since.includes(f)), signal, checks, { api, wall: wallPaths, keep: new Set([...changed, ...named2]) });
48600
48700
  preRed.names.push(...lintPre);
48601
48701
  if (lintPre.length)
48602
48702
  attr.line = [attr.line, `baseline: ${lintPre.join(", ")} static diagnostics already on base (not blocking)`].filter(Boolean).join("; ");
@@ -2,7 +2,7 @@
2
2
  "$schema": "https://json.schemastore.org/claude-code-plugin-manifest.json",
3
3
  "name": "loki-mode",
4
4
  "displayName": "Loki Mode",
5
- "version": "11.130.0",
5
+ "version": "11.131.1",
6
6
  "description": "Autonomous spec-to-product build system with a built-in trust layer (RARV-C closure loop, 8 quality gates, completion council). Ships Loki's spec-hardening, drift-detection, and deterministic PR verification commands plus the Loki MCP server.",
7
7
  "author": {
8
8
  "name": "Autonomi",
@@ -1,4 +1,4 @@
1
- import{c as L,r as x,j as e,w as re,Z as ne,m as le,h as ie,p as P,F as ye,U as I,X as ce,L as de,x as oe,M as Ae,T as Z,S as we,l as xe,k as me,y as Ce,E as Fe,a0 as Se,a as U,a2 as he}from"./index-DvGbCL2t.js";import{B as C}from"./Button-BQ0UyQAk.js";import{T as $e}from"./trending-up-DX8yONXb.js";import{C as z}from"./clock-CMmgiaJ3.js";import{A as Be,U as ue,M as De}from"./Avatar-DdLoiZKv.js";import{A as J}from"./activity-C3XPvqFU.js";import{R as pe}from"./refresh-cw-DIkE6C0k.js";import{G as ze}from"./globe-C7iJxA9K.js";import{C as Le}from"./chevron-left-DytHCita.js";import{C as je}from"./check-DyeRhpqt.js";import{D as Y}from"./dollar-sign-MxE9EOHB.js";import{U as Te}from"./user-CjbWWW1W.js";import{D as Me}from"./database-BxK55gai.js";import{L as Ue}from"./lock-Dl3UsTMr.js";import{S as Re}from"./scroll-text-jAoSqO2O.js";import{S as Ie}from"./shield-alert-C8W_Qcb5.js";/**
1
+ import{c as L,r as x,j as e,w as re,Z as ne,m as le,h as ie,p as P,F as ye,U as I,X as ce,L as de,x as oe,M as Ae,T as Z,S as we,l as xe,k as me,y as Ce,E as Fe,a0 as Se,a as U,a2 as he}from"./index-B0ZA2Vr-.js";import{B as C}from"./Button-B1p3IGUc.js";import{T as $e}from"./trending-up-B53kMWa_.js";import{C as z}from"./clock-BGnPwC-j.js";import{A as Be,U as ue,M as De}from"./Avatar-ln5y0M8U.js";import{A as J}from"./activity-B9MpHBmf.js";import{R as pe}from"./refresh-cw-EwCsZalO.js";import{G as ze}from"./globe-BO9_V2S4.js";import{C as Le}from"./chevron-left-Dz9OlzSt.js";import{C as je}from"./check-C0DnJig2.js";import{D as Y}from"./dollar-sign-BNAva53p.js";import{U as Te}from"./user-CFRBu1qF.js";import{D as Me}from"./database-B2KbnR4I.js";import{L as Ue}from"./lock-DCRNe7bx.js";import{S as Re}from"./scroll-text-v_519kqk.js";import{S as Ie}from"./shield-alert-CM4QIZ8H.js";/**
2
2
  * @license lucide-react v0.577.0 - ISC
3
3
  *
4
4
  * This source code is licensed under the ISC license.
@@ -1,4 +1,4 @@
1
- import{c as l,j as s}from"./index-DvGbCL2t.js";/**
1
+ import{c as l,j as s}from"./index-B0ZA2Vr-.js";/**
2
2
  * @license lucide-react v0.577.0 - ISC
3
3
  *
4
4
  * This source code is licensed under the ISC license.
@@ -1 +1 @@
1
- import{j as e}from"./index-DvGbCL2t.js";import{C as r}from"./clock-CMmgiaJ3.js";import{C as a}from"./circle-alert-ej7tR0w9.js";import{C as l}from"./check-DyeRhpqt.js";const i={completed:"bg-[#1FC5A8]/10 text-[#1FC5A8]",running:"bg-[#553DE9]/10 text-[#553DE9]",failed:"bg-[#C45B5B]/10 text-[#C45B5B]",started:"bg-[#D4A03C]/10 text-[#D4A03C]",empty:"bg-[#F8F4F0] text-[#6B6960]",version:"bg-[#553DE9]/10 text-[#553DE9]"};function o({status:t}){switch(t){case"completed":return e.jsx(l,{size:12});case"running":return e.jsxs("span",{className:"relative flex h-2 w-2",children:[e.jsx("span",{className:"animate-ping motion-reduce:animate-none absolute inline-flex h-full w-full rounded-full bg-current opacity-75"}),e.jsx("span",{className:"relative inline-flex rounded-full h-2 w-2 bg-current"})]});case"failed":return e.jsx(a,{size:12});case"started":return e.jsx(r,{size:12});default:return null}}function f({status:t,children:n,className:s=""}){return e.jsxs("span",{className:["inline-flex items-center gap-1 rounded-btn px-2.5 py-0.5 text-xs font-semibold",i[t],s].filter(Boolean).join(" "),children:[e.jsx(o,{status:t}),n]})}export{f as B};
1
+ import{j as e}from"./index-B0ZA2Vr-.js";import{C as r}from"./clock-BGnPwC-j.js";import{C as a}from"./circle-alert-DaxO3JTX.js";import{C as l}from"./check-C0DnJig2.js";const i={completed:"bg-[#1FC5A8]/10 text-[#1FC5A8]",running:"bg-[#553DE9]/10 text-[#553DE9]",failed:"bg-[#C45B5B]/10 text-[#C45B5B]",started:"bg-[#D4A03C]/10 text-[#D4A03C]",empty:"bg-[#F8F4F0] text-[#6B6960]",version:"bg-[#553DE9]/10 text-[#553DE9]"};function o({status:t}){switch(t){case"completed":return e.jsx(l,{size:12});case"running":return e.jsxs("span",{className:"relative flex h-2 w-2",children:[e.jsx("span",{className:"animate-ping motion-reduce:animate-none absolute inline-flex h-full w-full rounded-full bg-current opacity-75"}),e.jsx("span",{className:"relative inline-flex rounded-full h-2 w-2 bg-current"})]});case"failed":return e.jsx(a,{size:12});case"started":return e.jsx(r,{size:12});default:return null}}function f({status:t,children:n,className:s=""}){return e.jsxs("span",{className:["inline-flex items-center gap-1 rounded-btn px-2.5 py-0.5 text-xs font-semibold",i[t],s].filter(Boolean).join(" "),children:[e.jsx(o,{status:t}),n]})}export{f as B};
@@ -1 +1 @@
1
- import{r as p,j as t}from"./index-DvGbCL2t.js";const m={primary:"bg-[#553DE9] text-white hover:bg-[#4432c4] shadow-button rounded-btn",secondary:"border border-[#553DE9] text-[#553DE9] hover:bg-[#E8E4FD] bg-transparent rounded-btn",ghost:"text-[#36342E] hover:bg-[#F8F4F0] rounded-btn",danger:"bg-[#C45B5B]/10 text-[#C45B5B] border border-[#C45B5B]/20 hover:bg-[#C45B5B]/20 rounded-btn"},b={sm:"px-3 py-1.5 text-xs",md:"px-4 py-2 text-sm",lg:"px-6 py-3 text-base"},u={sm:14,md:16,lg:18};function h({size:e}){return t.jsxs("svg",{className:"animate-spin",width:e,height:e,viewBox:"0 0 24 24",fill:"none",children:[t.jsx("circle",{className:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"4"}),t.jsx("path",{className:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4z"})]})}const B=p.forwardRef(({variant:e="primary",size:o="md",icon:n,iconRight:i,loading:r=!1,disabled:a,className:c="",children:l,...x},d)=>{const s=u[o];return t.jsxs("button",{ref:d,disabled:a||r,className:["inline-flex items-center justify-center gap-2 font-medium transition-colors",m[e],b[o],(a||r)&&"opacity-60 cursor-not-allowed",c].filter(Boolean).join(" "),...x,children:[r?t.jsx(h,{size:s}):n?t.jsx(n,{size:s}):null,l,i&&!r&&t.jsx(i,{size:s})]})});B.displayName="Button";export{B};
1
+ import{r as p,j as t}from"./index-B0ZA2Vr-.js";const m={primary:"bg-[#553DE9] text-white hover:bg-[#4432c4] shadow-button rounded-btn",secondary:"border border-[#553DE9] text-[#553DE9] hover:bg-[#E8E4FD] bg-transparent rounded-btn",ghost:"text-[#36342E] hover:bg-[#F8F4F0] rounded-btn",danger:"bg-[#C45B5B]/10 text-[#C45B5B] border border-[#C45B5B]/20 hover:bg-[#C45B5B]/20 rounded-btn"},b={sm:"px-3 py-1.5 text-xs",md:"px-4 py-2 text-sm",lg:"px-6 py-3 text-base"},u={sm:14,md:16,lg:18};function h({size:e}){return t.jsxs("svg",{className:"animate-spin",width:e,height:e,viewBox:"0 0 24 24",fill:"none",children:[t.jsx("circle",{className:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"4"}),t.jsx("path",{className:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4z"})]})}const B=p.forwardRef(({variant:e="primary",size:o="md",icon:n,iconRight:i,loading:r=!1,disabled:a,className:c="",children:l,...x},d)=>{const s=u[o];return t.jsxs("button",{ref:d,disabled:a||r,className:["inline-flex items-center justify-center gap-2 font-medium transition-colors",m[e],b[o],(a||r)&&"opacity-60 cursor-not-allowed",c].filter(Boolean).join(" "),...x,children:[r?t.jsx(h,{size:s}):n?t.jsx(n,{size:s}):null,l,i&&!r&&t.jsx(i,{size:s})]})});B.displayName="Button";export{B};
@@ -1,4 +1,4 @@
1
- import{c as $,r as l,j as e,G as we,Q as Se,F as Ce,h as Re,T as U,Z as Ee,a as S,V as Me,S as $e,Y as Te,X as Pe,P as ie,i as Ae,g as ze,C as Ie,l as Le,N as I,J as _e,K as De,O as Fe,u as Oe}from"./index-DvGbCL2t.js";import{P as K,S as He,E as Be}from"./ErrorBoundary-ClaDCylr.js";import{C as qe,F as Ge,M as Ue,H as Ke,a as We,G as Ve,T as Qe}from"./thumbs-up-DdTbl2Vo.js";import{C as oe}from"./check-DyeRhpqt.js";import{C as Ye}from"./clock-CMmgiaJ3.js";import{D as Xe}from"./dollar-sign-MxE9EOHB.js";import{U as Ze}from"./upload-6oDG_uiK.js";import{L as V}from"./loader-circle-BrsqCmNy.js";/**
1
+ import{c as $,r as l,j as e,G as we,Q as Se,F as Ce,h as Re,T as U,Z as Ee,a as S,V as Me,S as $e,Y as Te,X as Pe,P as ie,i as Ae,g as ze,C as Ie,l as Le,N as I,J as _e,K as De,O as Fe,u as Oe}from"./index-B0ZA2Vr-.js";import{P as K,S as He,E as Be}from"./ErrorBoundary-DbdkbdMJ.js";import{C as qe,F as Ge,M as Ue,H as Ke,a as We,G as Ve,T as Qe}from"./thumbs-up-DTmA9iOn.js";import{C as oe}from"./check-C0DnJig2.js";import{C as Ye}from"./clock-BGnPwC-j.js";import{D as Xe}from"./dollar-sign-BNAva53p.js";import{U as Ze}from"./upload-0b3caMin.js";import{L as V}from"./loader-circle-D4zen87K.js";/**
2
2
  * @license lucide-react v0.577.0 - ISC
3
3
  *
4
4
  * This source code is licensed under the ISC license.
@@ -1 +1 @@
1
- import{r as o,j as e}from"./index-DvGbCL2t.js";function f({value:l,prefix:t="",suffix:s=""}){const[u,n]=o.useState(0),c=o.useRef(0);return o.useEffect(()=>{const a=c.current,h=l-a;if(h===0)return;const i=600,d=performance.now();function r(b){const v=b-d,m=Math.min(v/i,1),N=1-Math.pow(1-m,3),p=Math.round(a+h*N);n(p),c.current=p,m<1&&requestAnimationFrame(r)}requestAnimationFrame(r)},[l]),e.jsxs("span",{className:"tabular-nums",children:[t,u.toLocaleString(),s]})}function g(){const[l,t]=o.useState(5),[s,u]=o.useState(30),[n,c]=o.useState(75),a=.4,i=Math.round(l*s*a*4.33),d=Math.round(i*n);return e.jsxs("div",{className:"bg-white border border-[#ECEAE3] rounded-xl p-6 shadow-sm",children:[e.jsx("h3",{className:"text-lg font-bold text-[#36342E] mb-1",children:"ROI Calculator"}),e.jsx("p",{className:"text-sm text-[#6B6960] mb-6",children:"Estimate how much your team could save with autonomous development."}),e.jsxs("div",{className:"space-y-5",children:[e.jsxs("div",{children:[e.jsxs("div",{className:"flex items-center justify-between mb-2",children:[e.jsx("label",{className:"text-sm font-medium text-[#36342E]",children:"Team size"}),e.jsxs("span",{className:"text-sm font-semibold text-[#553DE9] tabular-nums",children:[l," developers"]})]}),e.jsx("input",{type:"range",min:1,max:50,value:l,onChange:r=>t(Number(r.target.value)),className:"w-full h-2 bg-[#ECEAE3] rounded-full appearance-none cursor-pointer accent-[#553DE9]"}),e.jsxs("div",{className:"flex justify-between text-xs text-[#939084] mt-1",children:[e.jsx("span",{children:"1"}),e.jsx("span",{children:"50"})]})]}),e.jsxs("div",{children:[e.jsxs("div",{className:"flex items-center justify-between mb-2",children:[e.jsx("label",{className:"text-sm font-medium text-[#36342E]",children:"Hours coding per week"}),e.jsxs("span",{className:"text-sm font-semibold text-[#553DE9] tabular-nums",children:[s,"h"]})]}),e.jsx("input",{type:"range",min:5,max:60,value:s,onChange:r=>u(Number(r.target.value)),className:"w-full h-2 bg-[#ECEAE3] rounded-full appearance-none cursor-pointer accent-[#553DE9]"}),e.jsxs("div",{className:"flex justify-between text-xs text-[#939084] mt-1",children:[e.jsx("span",{children:"5h"}),e.jsx("span",{children:"60h"})]})]}),e.jsxs("div",{children:[e.jsxs("div",{className:"flex items-center justify-between mb-2",children:[e.jsx("label",{className:"text-sm font-medium text-[#36342E]",children:"Average hourly rate"}),e.jsxs("span",{className:"text-sm font-semibold text-[#553DE9] tabular-nums",children:["$",n,"/hr"]})]}),e.jsx("input",{type:"range",min:25,max:250,step:5,value:n,onChange:r=>c(Number(r.target.value)),className:"w-full h-2 bg-[#ECEAE3] rounded-full appearance-none cursor-pointer accent-[#553DE9]"}),e.jsxs("div",{className:"flex justify-between text-xs text-[#939084] mt-1",children:[e.jsx("span",{children:"$25"}),e.jsx("span",{children:"$250"})]})]})]}),e.jsxs("div",{className:"mt-6 pt-6 border-t border-[#ECEAE3]",children:[e.jsxs("div",{className:"grid grid-cols-2 gap-4 text-center",children:[e.jsxs("div",{children:[e.jsx("div",{className:"text-2xl font-bold text-[#553DE9]",children:e.jsx(f,{value:i,suffix:"h"})}),e.jsx("div",{className:"text-xs text-[#6B6960] mt-1",children:"Est. hours saved / month"})]}),e.jsxs("div",{children:[e.jsx("div",{className:"text-2xl font-bold text-[#1FC5A8]",children:e.jsx(f,{value:d,prefix:"$"})}),e.jsx("div",{className:"text-xs text-[#6B6960] mt-1",children:"Est. cost saved / month"})]})]}),e.jsxs("div",{className:"mt-4 p-3 rounded-lg bg-[#553DE9]/5 border border-[#553DE9]/10",children:[e.jsxs("p",{className:"text-sm text-[#36342E] text-center",children:["If Loki Mode saved ",Math.round(a*100),"% of coding time, your team could save"," ",e.jsxs("span",{className:"font-bold text-[#553DE9]",children:[i.toLocaleString()," hours"]})," ","and"," ",e.jsxs("span",{className:"font-bold text-[#1FC5A8]",children:["$",d.toLocaleString()]})," ","per month."]}),e.jsxs("p",{className:"mt-2 text-xs text-[#6B6960] text-center",children:["The ",Math.round(a*100),"% is an assumption, not a measurement. Model and API spend is not included."]})]})]})]})}const j=[{feature:"Claude (Opus/Sonnet/Haiku)",category:"AI Models",lokiMode:!0,boltNew:!1,replit:!1,lovable:!0},{feature:"Any model via opencode (OpenRouter, local)",category:"AI Models",lokiMode:!0,boltNew:!1,replit:!1,lovable:!1},{feature:"Provider auto-failover (Claude Code, opencode)",category:"AI Models",lokiMode:!0,boltNew:!1,replit:!1,lovable:!1},{feature:"8 automated quality gates",category:"Quality",lokiMode:!0,boltNew:!1,replit:!1,lovable:!1},{feature:"Blind 3-reviewer code review",category:"Quality",lokiMode:!0,boltNew:!1,replit:!1,lovable:!1},{feature:"Anti-sycophancy checks",category:"Quality",lokiMode:!0,boltNew:!1,replit:!1,lovable:!1},{feature:"Automated test generation",category:"Quality",lokiMode:!0,boltNew:!1,replit:"Partial",lovable:!1},{feature:"Docker container generation",category:"Deployment",lokiMode:!0,boltNew:!1,replit:!0,lovable:!1},{feature:"CI/CD pipeline generation",category:"Deployment",lokiMode:!0,boltNew:!1,replit:!1,lovable:!1},{feature:"One-click cloud deploy",category:"Deployment",lokiMode:"Planned",boltNew:!0,replit:!0,lovable:!0},{feature:"Self-hosted (your keys)",category:"Cost",lokiMode:!0,boltNew:!1,replit:!1,lovable:!1},{feature:"Free tier available",category:"Cost",lokiMode:"Source-available (BUSL-1.1)",boltNew:!0,replit:!0,lovable:!0},{feature:"No vendor lock-in",category:"Cost",lokiMode:!0,boltNew:!1,replit:!1,lovable:!1},{feature:"SSO / OIDC authentication",category:"Enterprise",lokiMode:!0,boltNew:!1,replit:!0,lovable:!1},{feature:"RBAC access control",category:"Enterprise",lokiMode:!0,boltNew:!1,replit:!0,lovable:!1},{feature:"Audit logging",category:"Enterprise",lokiMode:!0,boltNew:!1,replit:!0,lovable:!1},{feature:"Air-gapped deployment",category:"Enterprise",lokiMode:!0,boltNew:!1,replit:!1,lovable:!1}];function y(){return e.jsx("svg",{width:"18",height:"18",viewBox:"0 0 24 24",fill:"none",className:"text-[#1FC5A8]",children:e.jsx("path",{d:"M20 6L9 17l-5-5",stroke:"currentColor",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round"})})}function w(){return e.jsx("svg",{width:"18",height:"18",viewBox:"0 0 24 24",fill:"none",className:"text-[#C45B5B]/40",children:e.jsx("path",{d:"M18 6L6 18M6 6l12 12",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})}function x({value:l}){return typeof l=="string"?e.jsx("span",{className:"text-xs text-[#6B6960] font-medium",children:l}):l?e.jsx(y,{}):e.jsx(w,{})}const k=[{title:"Full Autonomy",description:"Describe what you want. Loki Mode handles planning, coding, testing, and verification automatically.",icon:e.jsx("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",className:"text-[#553DE9]",children:e.jsx("path",{d:"M13 2L3 14h9l-1 8 10-12h-9l1-8z",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})},{title:"Production Quality",description:"8 quality gates, blind code review, and anti-sycophancy checks ensure code that actually works.",icon:e.jsx("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",className:"text-[#1FC5A8]",children:e.jsx("path",{d:"M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})},{title:"Your Infrastructure",description:"Self-hosted, source-available (BUSL-1.1), no data leaves your network. Use your own API keys across 5 providers.",icon:e.jsxs("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",className:"text-[#2F71E3]",children:[e.jsx("rect",{x:"2",y:"2",width:"20",height:"8",rx:"2",stroke:"currentColor",strokeWidth:"2"}),e.jsx("rect",{x:"2",y:"14",width:"20",height:"8",rx:"2",stroke:"currentColor",strokeWidth:"2"}),e.jsx("circle",{cx:"6",cy:"6",r:"1",fill:"currentColor"}),e.jsx("circle",{cx:"6",cy:"18",r:"1",fill:"currentColor"})]})},{title:"Built for Teams",description:"Enterprise auth, RBAC, audit logs, and parallel workflows for teams of any size.",icon:e.jsxs("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",className:"text-[#E93D82]",children:[e.jsx("path",{d:"M17 21v-2a4 4 0 00-4-4H5a4 4 0 00-4 4v2",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("circle",{cx:"9",cy:"7",r:"4",stroke:"currentColor",strokeWidth:"2"}),e.jsx("path",{d:"M23 21v-2a4 4 0 00-3-3.87M16 3.13a4 4 0 010 7.75",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})]})}];function C(){const l=[...new Set(j.map(t=>t.category))];return e.jsx("div",{className:"min-h-screen bg-[#FAF9F6]",children:e.jsxs("div",{className:"max-w-6xl mx-auto px-6 py-8",children:[e.jsxs("div",{className:"mb-8",children:[e.jsx("h1",{className:"text-2xl font-bold text-[#36342E]",children:"Compare"}),e.jsx("p",{className:"text-[#6B6960] mt-1",children:"See how Loki Mode stacks up against other AI development platforms."})]}),e.jsx("div",{className:"bg-white border border-[#ECEAE3] rounded-xl overflow-hidden shadow-sm",children:e.jsx("div",{className:"overflow-x-auto",children:e.jsxs("table",{className:"w-full text-sm",children:[e.jsx("thead",{children:e.jsxs("tr",{className:"border-b border-[#ECEAE3]",children:[e.jsx("th",{className:"text-left px-4 py-3 font-medium text-[#6B6960] w-[240px]",children:"Feature"}),e.jsx("th",{className:"text-center px-4 py-3 font-bold text-[#553DE9] bg-[#553DE9]/5 w-[130px]",children:"Loki Mode"}),e.jsx("th",{className:"text-center px-4 py-3 font-medium text-[#6B6960] w-[130px]",children:"bolt.new"}),e.jsx("th",{className:"text-center px-4 py-3 font-medium text-[#6B6960] w-[130px]",children:"Replit"}),e.jsx("th",{className:"text-center px-4 py-3 font-medium text-[#6B6960] w-[130px]",children:"Lovable"})]})}),e.jsx("tbody",{children:l.map(t=>e.jsxs(e.Fragment,{children:[e.jsx("tr",{className:"bg-[#FAF9F6]",children:e.jsx("td",{colSpan:5,className:"px-4 py-2 text-xs font-bold text-[#939084] uppercase tracking-wider",children:t})},`cat-${t}`),j.filter(s=>s.category===t).map(s=>e.jsxs("tr",{className:"border-b border-[#ECEAE3] last:border-b-0",children:[e.jsx("td",{className:"px-4 py-2.5 text-[#36342E]",children:s.feature}),e.jsx("td",{className:"px-4 py-2.5 text-center bg-[#553DE9]/5",children:e.jsx("div",{className:"flex justify-center",children:e.jsx(x,{value:s.lokiMode})})}),e.jsx("td",{className:"px-4 py-2.5 text-center",children:e.jsx("div",{className:"flex justify-center",children:e.jsx(x,{value:s.boltNew})})}),e.jsx("td",{className:"px-4 py-2.5 text-center",children:e.jsx("div",{className:"flex justify-center",children:e.jsx(x,{value:s.replit})})}),e.jsx("td",{className:"px-4 py-2.5 text-center",children:e.jsx("div",{className:"flex justify-center",children:e.jsx(x,{value:s.lovable})})})]},s.feature))]}))})]})})}),e.jsxs("div",{className:"mt-12",children:[e.jsx("h2",{className:"text-xl font-bold text-[#36342E] mb-6",children:"Why developers choose Loki Mode"}),e.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-5",children:k.map(t=>e.jsxs("div",{className:"bg-white border border-[#ECEAE3] rounded-xl p-5 shadow-sm hover:shadow-md transition-shadow",children:[e.jsx("div",{className:"mb-3",children:t.icon}),e.jsx("h3",{className:"text-base font-bold text-[#36342E] mb-1",children:t.title}),e.jsx("p",{className:"text-sm text-[#6B6960]",children:t.description})]},t.title))})]}),e.jsx("div",{className:"mt-12 max-w-xl mx-auto",children:e.jsx(g,{})})]})})}export{C as default};
1
+ import{r as o,j as e}from"./index-B0ZA2Vr-.js";function f({value:l,prefix:t="",suffix:s=""}){const[u,n]=o.useState(0),c=o.useRef(0);return o.useEffect(()=>{const a=c.current,h=l-a;if(h===0)return;const i=600,d=performance.now();function r(b){const v=b-d,m=Math.min(v/i,1),N=1-Math.pow(1-m,3),p=Math.round(a+h*N);n(p),c.current=p,m<1&&requestAnimationFrame(r)}requestAnimationFrame(r)},[l]),e.jsxs("span",{className:"tabular-nums",children:[t,u.toLocaleString(),s]})}function g(){const[l,t]=o.useState(5),[s,u]=o.useState(30),[n,c]=o.useState(75),a=.4,i=Math.round(l*s*a*4.33),d=Math.round(i*n);return e.jsxs("div",{className:"bg-white border border-[#ECEAE3] rounded-xl p-6 shadow-sm",children:[e.jsx("h3",{className:"text-lg font-bold text-[#36342E] mb-1",children:"ROI Calculator"}),e.jsx("p",{className:"text-sm text-[#6B6960] mb-6",children:"Estimate how much your team could save with autonomous development."}),e.jsxs("div",{className:"space-y-5",children:[e.jsxs("div",{children:[e.jsxs("div",{className:"flex items-center justify-between mb-2",children:[e.jsx("label",{className:"text-sm font-medium text-[#36342E]",children:"Team size"}),e.jsxs("span",{className:"text-sm font-semibold text-[#553DE9] tabular-nums",children:[l," developers"]})]}),e.jsx("input",{type:"range",min:1,max:50,value:l,onChange:r=>t(Number(r.target.value)),className:"w-full h-2 bg-[#ECEAE3] rounded-full appearance-none cursor-pointer accent-[#553DE9]"}),e.jsxs("div",{className:"flex justify-between text-xs text-[#939084] mt-1",children:[e.jsx("span",{children:"1"}),e.jsx("span",{children:"50"})]})]}),e.jsxs("div",{children:[e.jsxs("div",{className:"flex items-center justify-between mb-2",children:[e.jsx("label",{className:"text-sm font-medium text-[#36342E]",children:"Hours coding per week"}),e.jsxs("span",{className:"text-sm font-semibold text-[#553DE9] tabular-nums",children:[s,"h"]})]}),e.jsx("input",{type:"range",min:5,max:60,value:s,onChange:r=>u(Number(r.target.value)),className:"w-full h-2 bg-[#ECEAE3] rounded-full appearance-none cursor-pointer accent-[#553DE9]"}),e.jsxs("div",{className:"flex justify-between text-xs text-[#939084] mt-1",children:[e.jsx("span",{children:"5h"}),e.jsx("span",{children:"60h"})]})]}),e.jsxs("div",{children:[e.jsxs("div",{className:"flex items-center justify-between mb-2",children:[e.jsx("label",{className:"text-sm font-medium text-[#36342E]",children:"Average hourly rate"}),e.jsxs("span",{className:"text-sm font-semibold text-[#553DE9] tabular-nums",children:["$",n,"/hr"]})]}),e.jsx("input",{type:"range",min:25,max:250,step:5,value:n,onChange:r=>c(Number(r.target.value)),className:"w-full h-2 bg-[#ECEAE3] rounded-full appearance-none cursor-pointer accent-[#553DE9]"}),e.jsxs("div",{className:"flex justify-between text-xs text-[#939084] mt-1",children:[e.jsx("span",{children:"$25"}),e.jsx("span",{children:"$250"})]})]})]}),e.jsxs("div",{className:"mt-6 pt-6 border-t border-[#ECEAE3]",children:[e.jsxs("div",{className:"grid grid-cols-2 gap-4 text-center",children:[e.jsxs("div",{children:[e.jsx("div",{className:"text-2xl font-bold text-[#553DE9]",children:e.jsx(f,{value:i,suffix:"h"})}),e.jsx("div",{className:"text-xs text-[#6B6960] mt-1",children:"Est. hours saved / month"})]}),e.jsxs("div",{children:[e.jsx("div",{className:"text-2xl font-bold text-[#1FC5A8]",children:e.jsx(f,{value:d,prefix:"$"})}),e.jsx("div",{className:"text-xs text-[#6B6960] mt-1",children:"Est. cost saved / month"})]})]}),e.jsxs("div",{className:"mt-4 p-3 rounded-lg bg-[#553DE9]/5 border border-[#553DE9]/10",children:[e.jsxs("p",{className:"text-sm text-[#36342E] text-center",children:["If Loki Mode saved ",Math.round(a*100),"% of coding time, your team could save"," ",e.jsxs("span",{className:"font-bold text-[#553DE9]",children:[i.toLocaleString()," hours"]})," ","and"," ",e.jsxs("span",{className:"font-bold text-[#1FC5A8]",children:["$",d.toLocaleString()]})," ","per month."]}),e.jsxs("p",{className:"mt-2 text-xs text-[#6B6960] text-center",children:["The ",Math.round(a*100),"% is an assumption, not a measurement. Model and API spend is not included."]})]})]})]})}const j=[{feature:"Claude (Opus/Sonnet/Haiku)",category:"AI Models",lokiMode:!0,boltNew:!1,replit:!1,lovable:!0},{feature:"Any model via opencode (OpenRouter, local)",category:"AI Models",lokiMode:!0,boltNew:!1,replit:!1,lovable:!1},{feature:"Provider auto-failover (Claude Code, opencode)",category:"AI Models",lokiMode:!0,boltNew:!1,replit:!1,lovable:!1},{feature:"8 automated quality gates",category:"Quality",lokiMode:!0,boltNew:!1,replit:!1,lovable:!1},{feature:"Blind 3-reviewer code review",category:"Quality",lokiMode:!0,boltNew:!1,replit:!1,lovable:!1},{feature:"Anti-sycophancy checks",category:"Quality",lokiMode:!0,boltNew:!1,replit:!1,lovable:!1},{feature:"Automated test generation",category:"Quality",lokiMode:!0,boltNew:!1,replit:"Partial",lovable:!1},{feature:"Docker container generation",category:"Deployment",lokiMode:!0,boltNew:!1,replit:!0,lovable:!1},{feature:"CI/CD pipeline generation",category:"Deployment",lokiMode:!0,boltNew:!1,replit:!1,lovable:!1},{feature:"One-click cloud deploy",category:"Deployment",lokiMode:"Planned",boltNew:!0,replit:!0,lovable:!0},{feature:"Self-hosted (your keys)",category:"Cost",lokiMode:!0,boltNew:!1,replit:!1,lovable:!1},{feature:"Free tier available",category:"Cost",lokiMode:"Source-available (BUSL-1.1)",boltNew:!0,replit:!0,lovable:!0},{feature:"No vendor lock-in",category:"Cost",lokiMode:!0,boltNew:!1,replit:!1,lovable:!1},{feature:"SSO / OIDC authentication",category:"Enterprise",lokiMode:!0,boltNew:!1,replit:!0,lovable:!1},{feature:"RBAC access control",category:"Enterprise",lokiMode:!0,boltNew:!1,replit:!0,lovable:!1},{feature:"Audit logging",category:"Enterprise",lokiMode:!0,boltNew:!1,replit:!0,lovable:!1},{feature:"Air-gapped deployment",category:"Enterprise",lokiMode:!0,boltNew:!1,replit:!1,lovable:!1}];function y(){return e.jsx("svg",{width:"18",height:"18",viewBox:"0 0 24 24",fill:"none",className:"text-[#1FC5A8]",children:e.jsx("path",{d:"M20 6L9 17l-5-5",stroke:"currentColor",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round"})})}function w(){return e.jsx("svg",{width:"18",height:"18",viewBox:"0 0 24 24",fill:"none",className:"text-[#C45B5B]/40",children:e.jsx("path",{d:"M18 6L6 18M6 6l12 12",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})}function x({value:l}){return typeof l=="string"?e.jsx("span",{className:"text-xs text-[#6B6960] font-medium",children:l}):l?e.jsx(y,{}):e.jsx(w,{})}const k=[{title:"Full Autonomy",description:"Describe what you want. Loki Mode handles planning, coding, testing, and verification automatically.",icon:e.jsx("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",className:"text-[#553DE9]",children:e.jsx("path",{d:"M13 2L3 14h9l-1 8 10-12h-9l1-8z",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})},{title:"Production Quality",description:"8 quality gates, blind code review, and anti-sycophancy checks ensure code that actually works.",icon:e.jsx("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",className:"text-[#1FC5A8]",children:e.jsx("path",{d:"M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})},{title:"Your Infrastructure",description:"Self-hosted, source-available (BUSL-1.1), no data leaves your network. Use your own API keys across 5 providers.",icon:e.jsxs("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",className:"text-[#2F71E3]",children:[e.jsx("rect",{x:"2",y:"2",width:"20",height:"8",rx:"2",stroke:"currentColor",strokeWidth:"2"}),e.jsx("rect",{x:"2",y:"14",width:"20",height:"8",rx:"2",stroke:"currentColor",strokeWidth:"2"}),e.jsx("circle",{cx:"6",cy:"6",r:"1",fill:"currentColor"}),e.jsx("circle",{cx:"6",cy:"18",r:"1",fill:"currentColor"})]})},{title:"Built for Teams",description:"Enterprise auth, RBAC, audit logs, and parallel workflows for teams of any size.",icon:e.jsxs("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",className:"text-[#E93D82]",children:[e.jsx("path",{d:"M17 21v-2a4 4 0 00-4-4H5a4 4 0 00-4 4v2",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("circle",{cx:"9",cy:"7",r:"4",stroke:"currentColor",strokeWidth:"2"}),e.jsx("path",{d:"M23 21v-2a4 4 0 00-3-3.87M16 3.13a4 4 0 010 7.75",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})]})}];function C(){const l=[...new Set(j.map(t=>t.category))];return e.jsx("div",{className:"min-h-screen bg-[#FAF9F6]",children:e.jsxs("div",{className:"max-w-6xl mx-auto px-6 py-8",children:[e.jsxs("div",{className:"mb-8",children:[e.jsx("h1",{className:"text-2xl font-bold text-[#36342E]",children:"Compare"}),e.jsx("p",{className:"text-[#6B6960] mt-1",children:"See how Loki Mode stacks up against other AI development platforms."})]}),e.jsx("div",{className:"bg-white border border-[#ECEAE3] rounded-xl overflow-hidden shadow-sm",children:e.jsx("div",{className:"overflow-x-auto",children:e.jsxs("table",{className:"w-full text-sm",children:[e.jsx("thead",{children:e.jsxs("tr",{className:"border-b border-[#ECEAE3]",children:[e.jsx("th",{className:"text-left px-4 py-3 font-medium text-[#6B6960] w-[240px]",children:"Feature"}),e.jsx("th",{className:"text-center px-4 py-3 font-bold text-[#553DE9] bg-[#553DE9]/5 w-[130px]",children:"Loki Mode"}),e.jsx("th",{className:"text-center px-4 py-3 font-medium text-[#6B6960] w-[130px]",children:"bolt.new"}),e.jsx("th",{className:"text-center px-4 py-3 font-medium text-[#6B6960] w-[130px]",children:"Replit"}),e.jsx("th",{className:"text-center px-4 py-3 font-medium text-[#6B6960] w-[130px]",children:"Lovable"})]})}),e.jsx("tbody",{children:l.map(t=>e.jsxs(e.Fragment,{children:[e.jsx("tr",{className:"bg-[#FAF9F6]",children:e.jsx("td",{colSpan:5,className:"px-4 py-2 text-xs font-bold text-[#939084] uppercase tracking-wider",children:t})},`cat-${t}`),j.filter(s=>s.category===t).map(s=>e.jsxs("tr",{className:"border-b border-[#ECEAE3] last:border-b-0",children:[e.jsx("td",{className:"px-4 py-2.5 text-[#36342E]",children:s.feature}),e.jsx("td",{className:"px-4 py-2.5 text-center bg-[#553DE9]/5",children:e.jsx("div",{className:"flex justify-center",children:e.jsx(x,{value:s.lokiMode})})}),e.jsx("td",{className:"px-4 py-2.5 text-center",children:e.jsx("div",{className:"flex justify-center",children:e.jsx(x,{value:s.boltNew})})}),e.jsx("td",{className:"px-4 py-2.5 text-center",children:e.jsx("div",{className:"flex justify-center",children:e.jsx(x,{value:s.replit})})}),e.jsx("td",{className:"px-4 py-2.5 text-center",children:e.jsx("div",{className:"flex justify-center",children:e.jsx(x,{value:s.lovable})})})]},s.feature))]}))})]})})}),e.jsxs("div",{className:"mt-12",children:[e.jsx("h2",{className:"text-xl font-bold text-[#36342E] mb-6",children:"Why developers choose Loki Mode"}),e.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-5",children:k.map(t=>e.jsxs("div",{className:"bg-white border border-[#ECEAE3] rounded-xl p-5 shadow-sm hover:shadow-md transition-shadow",children:[e.jsx("div",{className:"mb-3",children:t.icon}),e.jsx("h3",{className:"text-base font-bold text-[#36342E] mb-1",children:t.title}),e.jsx("p",{className:"text-sm text-[#6B6960]",children:t.description})]},t.title))})]}),e.jsx("div",{className:"mt-12 max-w-xl mx-auto",children:e.jsx(g,{})})]})})}export{C as default};
@@ -1,4 +1,4 @@
1
- import{c as o,r as a,j as e,T as n,h as i,p as c}from"./index-DvGbCL2t.js";/**
1
+ import{c as o,r as a,j as e,T as n,h as i,p as c}from"./index-B0ZA2Vr-.js";/**
2
2
  * @license lucide-react v0.577.0 - ISC
3
3
  *
4
4
  * This source code is licensed under the ISC license.
@@ -1 +1 @@
1
- import{r as l,a as x,j as e}from"./index-DvGbCL2t.js";const N={verified:{badge:"bg-success/10 text-success border-success/20",dot:"bg-success",label:"Verified",proven:"The server recomputed the integrity hash and it matches, and the gpg signature verified against its keyring.",notProven:"That the code is correct, or that the recorded diff still matches your repo. A receipt records which checks ran, not that the result is right."},unsigned:{badge:"bg-warning/10 text-warning border-warning/20",dot:"bg-warning",label:"Unsigned",proven:"The server recomputed the integrity hash and it matches these receipt bytes.",notProven:"Who produced it. An unsigned receipt is forgeable: whoever controls the builder can rewrite the facts and recompute the hash."},unchecked:{badge:"bg-warning/10 text-warning border-warning/20",dot:"bg-warning",label:"Not checked",proven:"The server recomputed the integrity hash and it matches.",notProven:"Provenance. A signature is present but was not evaluated here, which is not the same as a bad signature."},tampered:{badge:"bg-danger/10 text-danger border-danger/20",dot:"bg-danger",label:"Tampered",proven:"Nothing. The server recomputed the integrity hash and it does not match the contents.",notProven:"Anything at all. This receipt was edited after it was written. Do not trust this build."},failed:{badge:"bg-danger/10 text-danger border-danger/20",dot:"bg-danger",label:"Failed verification",proven:"Nothing. A verification check ran on the server and said no.",notProven:"Anything the receipt claims. Read the reason below."},not_verified:{badge:"border-muted/20 text-muted",dot:"bg-muted/40",label:"Not verified here",proven:"Nothing. No verification result was computed for this receipt here.",notProven:"Integrity or provenance. Run the command below to check it yourself."}};function w(t){const n=t==null?void 0:t.integrity_check,r=t==null?void 0:t.verification;return n?n.status==="tampered"?"tampered":n.status==="failed"?"failed":n.status!=="verified"?"not_verified":n.gpg_ok===!0?"verified":r!=null&&r.attestation||r!=null&&r.gpg_signature?"unchecked":"unsigned":"not_verified"}const v=[{key:"verified",label:"Verified",bar:"bg-success",text:"text-success"},{key:"with_gaps",label:"With gaps",bar:"bg-warning",text:"text-warning"},{key:"not_verified",label:"Not verified",bar:"bg-danger",text:"text-danger"},{key:"unknown",label:"Unknown",bar:"bg-muted/40",text:"text-muted"}];function y({summary:t}){const n=t.total_receipts;return n?e.jsxs("div",{className:"space-y-2",children:[e.jsx("div",{className:"flex h-1.5 rounded-full overflow-hidden bg-muted/10",children:v.map(({key:r,bar:s})=>{const i=t[r];return i?e.jsx("div",{className:s,style:{width:`${i/n*100}%`},title:`${i} ${r}`},r):null})}),e.jsx("div",{className:"flex flex-wrap gap-x-4 gap-y-1 text-xs",children:v.map(({key:r,label:s,text:i})=>{const c=t[r];return c?e.jsxs("span",{className:i,children:[e.jsx("span",{className:"font-semibold",children:c})," ",s.toLowerCase()]},r):null})}),e.jsxs("p",{className:"text-muted text-xs",children:["Recorded verdicts across ",n," receipt",n===1?"":"s",", not re-verified here."]})]}):null}function u({label:t,value:n}){return e.jsxs("div",{className:"flex items-baseline gap-2 text-xs",children:[e.jsx("span",{className:"text-muted w-28 flex-shrink-0",children:t}),e.jsx("span",{className:"font-mono truncate",title:n,children:n})]})}function k({proof:t}){var m,p,g,f,b;const[n,r]=l.useState(!1),[s,i]=l.useState(null),[c,d]=l.useState(null);l.useEffect(()=>{if(!n||s||c)return;let o=!1;return x.getProof(t.run_id).then(h=>{o||i(h)}).catch(h=>{o||d((h==null?void 0:h.message)||"could not load this receipt")}),()=>{o=!0}},[n,t.run_id,s,c]);const a=N[w(s)],j=t.generated_at?new Date(t.generated_at).toLocaleString():"unknown";return e.jsxs("div",{className:`border rounded-card overflow-hidden ${s?a.badge:"border-muted/20"}`,children:[e.jsxs("button",{type:"button",className:"w-full flex items-center gap-3 px-3 py-2.5 text-left",onClick:()=>r(!n),"aria-expanded":n,children:[e.jsx("span",{className:`w-2 h-2 rounded-full flex-shrink-0 ${s?a.dot:"bg-muted/40"}`}),e.jsx("span",{className:"text-sm font-medium flex-1 truncate",children:t.headline?`Recorded: ${t.headline}`:t.run_id}),t.final_verdict&&e.jsxs("span",{className:"text-xs font-mono uppercase tracking-wider flex-shrink-0 text-muted",children:["council ",t.final_verdict]}),e.jsx("span",{className:"text-muted text-xs flex-shrink-0",children:n?"−":"+"})]}),n&&e.jsxs("div",{className:"px-3 pb-3 space-y-3 border-t border-current/10 pt-3",children:[c&&e.jsxs("p",{className:"text-xs text-danger",children:["Could not load this receipt: ",c]}),!c&&!s&&e.jsx("p",{className:"text-xs text-muted",children:"Loading receipt…"}),s&&e.jsxs(e.Fragment,{children:[e.jsxs("div",{className:"space-y-1",children:[e.jsx(u,{label:"Run",value:s.run_id}),e.jsx(u,{label:"Generated",value:j}),e.jsx(u,{label:"Loki version",value:s.loki_version||"unknown"}),e.jsx(u,{label:"Cost",value:typeof((m=s.cost)==null?void 0:m.usd)=="number"?`${s.cost.cost_partial===!0?"at least ":""}$${s.cost.usd.toFixed(2)}`:"unknown"}),e.jsx(u,{label:"Files changed",value:typeof((p=s.files_changed)==null?void 0:p.count)=="number"?String(s.files_changed.count):"unknown"}),((g=s.verification)==null?void 0:g.hash)&&e.jsx(u,{label:"Recorded hash",value:s.verification.hash})]}),e.jsxs("div",{className:`rounded-card border px-3 py-2 ${a.badge}`,children:[e.jsx("p",{className:"text-xs font-semibold uppercase tracking-wider mb-1",children:a.label}),e.jsxs("p",{className:"text-xs mb-1",children:[e.jsx("span",{className:"font-semibold",children:"Proven: "}),a.proven]}),e.jsxs("p",{className:"text-xs opacity-80",children:[e.jsx("span",{className:"font-semibold",children:"Not proven: "}),a.notProven]}),(((f=s.integrity_check)==null?void 0:f.reasons)||[]).slice(0,2).map(o=>e.jsx("p",{className:"text-xs opacity-80 mt-1",children:o},o))]}),e.jsxs("p",{className:"text-xs text-muted",children:["Verify it yourself (also re-derives the diff against your repo):"," ",e.jsxs("code",{className:"font-mono",children:["loki proof verify ",s.run_id,(b=s.verification)!=null&&b.attestation?" --jwks <url|file>":""]})]}),t.pr_url&&e.jsx("a",{href:t.pr_url,target:"_blank",rel:"noreferrer noopener",className:"text-xs text-primary underline",children:"View the pull request"})]})]})]})}function P(){const[t,n]=l.useState(null),[r,s]=l.useState(null),[i,c]=l.useState(null);return l.useEffect(()=>{let d=!1;return x.listProofs().then(a=>{d||n(a.proofs||[])}).catch(a=>{d||c((a==null?void 0:a.message)||"could not load receipts")}),x.proofsSummary().then(a=>{d||s(a)}).catch(()=>{}),()=>{d=!0}},[]),e.jsxs("section",{className:"space-y-3",children:[e.jsxs("div",{children:[e.jsx("h2",{className:"text-sm font-semibold",children:"Evidence Receipts"}),e.jsx("p",{className:"text-muted text-xs mt-1",children:"What each build actually checked, recorded so you can verify it yourself."})]}),i&&e.jsxs("p",{className:"text-xs text-danger",children:["Could not load receipts: ",i]}),!i&&t===null&&e.jsx("p",{className:"text-xs text-muted",children:"Loading…"}),r&&e.jsx(y,{summary:r}),t!==null&&t.length===0&&e.jsxs("p",{className:"text-xs text-muted",children:["No receipts yet. One is written at the end of each run (set ",e.jsx("code",{className:"font-mono",children:"LOKI_PROOF=0"})," to opt out)."]}),e.jsx("div",{className:"space-y-2",children:t==null?void 0:t.map(d=>e.jsx(k,{proof:d},d.run_id))})]})}export{P as E};
1
+ import{r as l,a as x,j as e}from"./index-B0ZA2Vr-.js";const N={verified:{badge:"bg-success/10 text-success border-success/20",dot:"bg-success",label:"Verified",proven:"The server recomputed the integrity hash and it matches, and the gpg signature verified against its keyring.",notProven:"That the code is correct, or that the recorded diff still matches your repo. A receipt records which checks ran, not that the result is right."},unsigned:{badge:"bg-warning/10 text-warning border-warning/20",dot:"bg-warning",label:"Unsigned",proven:"The server recomputed the integrity hash and it matches these receipt bytes.",notProven:"Who produced it. An unsigned receipt is forgeable: whoever controls the builder can rewrite the facts and recompute the hash."},unchecked:{badge:"bg-warning/10 text-warning border-warning/20",dot:"bg-warning",label:"Not checked",proven:"The server recomputed the integrity hash and it matches.",notProven:"Provenance. A signature is present but was not evaluated here, which is not the same as a bad signature."},tampered:{badge:"bg-danger/10 text-danger border-danger/20",dot:"bg-danger",label:"Tampered",proven:"Nothing. The server recomputed the integrity hash and it does not match the contents.",notProven:"Anything at all. This receipt was edited after it was written. Do not trust this build."},failed:{badge:"bg-danger/10 text-danger border-danger/20",dot:"bg-danger",label:"Failed verification",proven:"Nothing. A verification check ran on the server and said no.",notProven:"Anything the receipt claims. Read the reason below."},not_verified:{badge:"border-muted/20 text-muted",dot:"bg-muted/40",label:"Not verified here",proven:"Nothing. No verification result was computed for this receipt here.",notProven:"Integrity or provenance. Run the command below to check it yourself."}};function w(t){const n=t==null?void 0:t.integrity_check,r=t==null?void 0:t.verification;return n?n.status==="tampered"?"tampered":n.status==="failed"?"failed":n.status!=="verified"?"not_verified":n.gpg_ok===!0?"verified":r!=null&&r.attestation||r!=null&&r.gpg_signature?"unchecked":"unsigned":"not_verified"}const v=[{key:"verified",label:"Verified",bar:"bg-success",text:"text-success"},{key:"with_gaps",label:"With gaps",bar:"bg-warning",text:"text-warning"},{key:"not_verified",label:"Not verified",bar:"bg-danger",text:"text-danger"},{key:"unknown",label:"Unknown",bar:"bg-muted/40",text:"text-muted"}];function y({summary:t}){const n=t.total_receipts;return n?e.jsxs("div",{className:"space-y-2",children:[e.jsx("div",{className:"flex h-1.5 rounded-full overflow-hidden bg-muted/10",children:v.map(({key:r,bar:s})=>{const i=t[r];return i?e.jsx("div",{className:s,style:{width:`${i/n*100}%`},title:`${i} ${r}`},r):null})}),e.jsx("div",{className:"flex flex-wrap gap-x-4 gap-y-1 text-xs",children:v.map(({key:r,label:s,text:i})=>{const c=t[r];return c?e.jsxs("span",{className:i,children:[e.jsx("span",{className:"font-semibold",children:c})," ",s.toLowerCase()]},r):null})}),e.jsxs("p",{className:"text-muted text-xs",children:["Recorded verdicts across ",n," receipt",n===1?"":"s",", not re-verified here."]})]}):null}function u({label:t,value:n}){return e.jsxs("div",{className:"flex items-baseline gap-2 text-xs",children:[e.jsx("span",{className:"text-muted w-28 flex-shrink-0",children:t}),e.jsx("span",{className:"font-mono truncate",title:n,children:n})]})}function k({proof:t}){var m,p,g,f,b;const[n,r]=l.useState(!1),[s,i]=l.useState(null),[c,d]=l.useState(null);l.useEffect(()=>{if(!n||s||c)return;let o=!1;return x.getProof(t.run_id).then(h=>{o||i(h)}).catch(h=>{o||d((h==null?void 0:h.message)||"could not load this receipt")}),()=>{o=!0}},[n,t.run_id,s,c]);const a=N[w(s)],j=t.generated_at?new Date(t.generated_at).toLocaleString():"unknown";return e.jsxs("div",{className:`border rounded-card overflow-hidden ${s?a.badge:"border-muted/20"}`,children:[e.jsxs("button",{type:"button",className:"w-full flex items-center gap-3 px-3 py-2.5 text-left",onClick:()=>r(!n),"aria-expanded":n,children:[e.jsx("span",{className:`w-2 h-2 rounded-full flex-shrink-0 ${s?a.dot:"bg-muted/40"}`}),e.jsx("span",{className:"text-sm font-medium flex-1 truncate",children:t.headline?`Recorded: ${t.headline}`:t.run_id}),t.final_verdict&&e.jsxs("span",{className:"text-xs font-mono uppercase tracking-wider flex-shrink-0 text-muted",children:["council ",t.final_verdict]}),e.jsx("span",{className:"text-muted text-xs flex-shrink-0",children:n?"−":"+"})]}),n&&e.jsxs("div",{className:"px-3 pb-3 space-y-3 border-t border-current/10 pt-3",children:[c&&e.jsxs("p",{className:"text-xs text-danger",children:["Could not load this receipt: ",c]}),!c&&!s&&e.jsx("p",{className:"text-xs text-muted",children:"Loading receipt…"}),s&&e.jsxs(e.Fragment,{children:[e.jsxs("div",{className:"space-y-1",children:[e.jsx(u,{label:"Run",value:s.run_id}),e.jsx(u,{label:"Generated",value:j}),e.jsx(u,{label:"Loki version",value:s.loki_version||"unknown"}),e.jsx(u,{label:"Cost",value:typeof((m=s.cost)==null?void 0:m.usd)=="number"?`${s.cost.cost_partial===!0?"at least ":""}$${s.cost.usd.toFixed(2)}`:"unknown"}),e.jsx(u,{label:"Files changed",value:typeof((p=s.files_changed)==null?void 0:p.count)=="number"?String(s.files_changed.count):"unknown"}),((g=s.verification)==null?void 0:g.hash)&&e.jsx(u,{label:"Recorded hash",value:s.verification.hash})]}),e.jsxs("div",{className:`rounded-card border px-3 py-2 ${a.badge}`,children:[e.jsx("p",{className:"text-xs font-semibold uppercase tracking-wider mb-1",children:a.label}),e.jsxs("p",{className:"text-xs mb-1",children:[e.jsx("span",{className:"font-semibold",children:"Proven: "}),a.proven]}),e.jsxs("p",{className:"text-xs opacity-80",children:[e.jsx("span",{className:"font-semibold",children:"Not proven: "}),a.notProven]}),(((f=s.integrity_check)==null?void 0:f.reasons)||[]).slice(0,2).map(o=>e.jsx("p",{className:"text-xs opacity-80 mt-1",children:o},o))]}),e.jsxs("p",{className:"text-xs text-muted",children:["Verify it yourself (also re-derives the diff against your repo):"," ",e.jsxs("code",{className:"font-mono",children:["loki proof verify ",s.run_id,(b=s.verification)!=null&&b.attestation?" --jwks <url|file>":""]})]}),t.pr_url&&e.jsx("a",{href:t.pr_url,target:"_blank",rel:"noreferrer noopener",className:"text-xs text-primary underline",children:"View the pull request"})]})]})]})}function P(){const[t,n]=l.useState(null),[r,s]=l.useState(null),[i,c]=l.useState(null);return l.useEffect(()=>{let d=!1;return x.listProofs().then(a=>{d||n(a.proofs||[])}).catch(a=>{d||c((a==null?void 0:a.message)||"could not load receipts")}),x.proofsSummary().then(a=>{d||s(a)}).catch(()=>{}),()=>{d=!0}},[]),e.jsxs("section",{className:"space-y-3",children:[e.jsxs("div",{children:[e.jsx("h2",{className:"text-sm font-semibold",children:"Evidence Receipts"}),e.jsx("p",{className:"text-muted text-xs mt-1",children:"What each build actually checked, recorded so you can verify it yourself."})]}),i&&e.jsxs("p",{className:"text-xs text-danger",children:["Could not load receipts: ",i]}),!i&&t===null&&e.jsx("p",{className:"text-xs text-muted",children:"Loading…"}),r&&e.jsx(y,{summary:r}),t!==null&&t.length===0&&e.jsxs("p",{className:"text-xs text-muted",children:["No receipts yet. One is written at the end of each run (set ",e.jsx("code",{className:"font-mono",children:"LOKI_PROOF=0"})," to opt out)."]}),e.jsx("div",{className:"space-y-2",children:t==null?void 0:t.map(d=>e.jsx(k,{proof:d},d.run_id))})]})}export{P as E};
@@ -1,4 +1,4 @@
1
- import{c as _,r as o,a as k,j as e,m as B,J as v,N as h,a5 as H,M as L,l as q}from"./index-DvGbCL2t.js";import{B as N}from"./Button-BQ0UyQAk.js";import{C as y}from"./thumbs-up-DdTbl2Vo.js";import{R as S}from"./refresh-cw-DIkE6C0k.js";import{C as z}from"./circle-alert-ej7tR0w9.js";import{U as D}from"./user-CjbWWW1W.js";import{L as G}from"./loader-circle-BrsqCmNy.js";import{R as T}from"./rotate-ccw-DDhYD9MA.js";/**
1
+ import{c as _,r as o,a as k,j as e,m as B,J as v,N as h,a5 as H,M as L,l as q}from"./index-B0ZA2Vr-.js";import{B as N}from"./Button-B1p3IGUc.js";import{C as y}from"./thumbs-up-DTmA9iOn.js";import{R as S}from"./refresh-cw-EwCsZalO.js";import{C as z}from"./circle-alert-DaxO3JTX.js";import{U as D}from"./user-CFRBu1qF.js";import{L as G}from"./loader-circle-D4zen87K.js";import{R as T}from"./rotate-ccw-_Ib-gHLA.js";/**
2
2
  * @license lucide-react v0.577.0 - ISC
3
3
  *
4
4
  * This source code is licensed under the ISC license.
@@ -1,4 +1,4 @@
1
- import{c as I,r as c,a as b,j as e,G as me,A as ue,S as Z,k as ee,m as pe,h as he,p as fe,X as te,M as be}from"./index-DvGbCL2t.js";import{B as y}from"./Button-BQ0UyQAk.js";import{C as ge}from"./chevron-left-DytHCita.js";import{G as P}from"./thumbs-up-DdTbl2Vo.js";import{R as $}from"./refresh-cw-DIkE6C0k.js";import{C as Ne}from"./circle-alert-ej7tR0w9.js";import{L as Q,S as je}from"./ProjectPage-DYaGNgFt.js";import{S as se}from"./shield-alert-C8W_Qcb5.js";import{F as ye}from"./file-code-corner-BYQ975Vf.js";import{C as V}from"./clock-CMmgiaJ3.js";import{C as re}from"./check-DyeRhpqt.js";import"./ErrorBoundary-ClaDCylr.js";import"./TerminalOutput-DzOk3P-J.js";import"./lock-Dl3UsTMr.js";import"./package-CCiRYdmb.js";import"./file-plus-C0_fKf6I.js";import"./activity-C3XPvqFU.js";import"./scroll-text-jAoSqO2O.js";import"./bot-BOfl_osT.js";import"./loader-circle-BrsqCmNy.js";import"./hammer-CuVGrR3Z.js";import"./dollar-sign-MxE9EOHB.js";import"./globe-C7iJxA9K.js";import"./trash-2-R-2Gvy6B.js";import"./upload-6oDG_uiK.js";import"./plus-d5BugnNw.js";import"./rotate-ccw-DDhYD9MA.js";import"./code-xml-DjcElMOx.js";import"./trending-up-DX8yONXb.js";import"./layers-BWmxXnEV.js";import"./trending-down-Dk08-nlD.js";import"./server-D16MyCdB.js";/**
1
+ import{c as I,r as c,a as b,j as e,G as me,A as ue,S as Z,k as ee,m as pe,h as he,p as fe,X as te,M as be}from"./index-B0ZA2Vr-.js";import{B as y}from"./Button-B1p3IGUc.js";import{C as ge}from"./chevron-left-Dz9OlzSt.js";import{G as P}from"./thumbs-up-DTmA9iOn.js";import{R as $}from"./refresh-cw-EwCsZalO.js";import{C as Ne}from"./circle-alert-DaxO3JTX.js";import{L as Q,S as je}from"./ProjectPage-C-G6OoV-.js";import{S as se}from"./shield-alert-CM4QIZ8H.js";import{F as ye}from"./file-code-corner-DNsaDGiv.js";import{C as V}from"./clock-BGnPwC-j.js";import{C as re}from"./check-C0DnJig2.js";import"./ErrorBoundary-DbdkbdMJ.js";import"./TerminalOutput-PBb8g_Jh.js";import"./lock-DCRNe7bx.js";import"./package-DfrNh-S4.js";import"./file-plus-CH6Xk-5n.js";import"./activity-B9MpHBmf.js";import"./scroll-text-v_519kqk.js";import"./bot-07WYggLm.js";import"./loader-circle-D4zen87K.js";import"./hammer-DEnHQ2gS.js";import"./dollar-sign-BNAva53p.js";import"./globe-BO9_V2S4.js";import"./trash-2-M5G7X2Q_.js";import"./upload-0b3caMin.js";import"./plus-C9AAkMmN.js";import"./rotate-ccw-_Ib-gHLA.js";import"./code-xml-DdVPbUIP.js";import"./trending-up-B53kMWa_.js";import"./layers-Be_KVuGq.js";import"./trending-down-DE-BgoXq.js";import"./server-gL5iApyP.js";/**
2
2
  * @license lucide-react v0.577.0 - ISC
3
3
  *
4
4
  * This source code is licensed under the ISC license.