turbollm 1.13.0 → 1.13.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 (2) hide show
  1. package/dist/cli.js +4 -1
  2. package/package.json +1 -1
package/dist/cli.js CHANGED
@@ -30725,6 +30725,9 @@ function createApp(d) {
30725
30725
  ext?.audit.prune(DEFAULT_AUDIT_RETENTION_DAYS);
30726
30726
  }, 3e4);
30727
30727
  extRunsReaper.unref();
30728
+ return app2;
30729
+ }
30730
+ function registerSpaFallback(app2) {
30728
30731
  app2.get("/*", (c) => {
30729
30732
  const path = decodeURIComponent(new URL(c.req.url).pathname).replace(/^\/+/, "");
30730
30733
  if (path.startsWith("api/") || path.startsWith("v1/")) {
@@ -30737,7 +30740,6 @@ function createApp(d) {
30737
30740
  if (!existsSync29(file)) return c.text("web ui not built \u2014 run `npm run build:web`", 500);
30738
30741
  return new Response(readFileSync19(file), { status: 200, headers: { "Content-Type": contentType(file) } });
30739
30742
  });
30740
- return app2;
30741
30743
  }
30742
30744
  async function registerCodeRoutesIfSupported(app2, d) {
30743
30745
  if (process.platform === "android") return;
@@ -32073,6 +32075,7 @@ var cliInteractiveSweepTimer = setInterval(() => sweepInteractiveCliRuns(cliInte
32073
32075
  cliInteractiveSweepTimer.unref();
32074
32076
  var app = createApp(deps);
32075
32077
  await registerCodeRoutesIfSupported(app, deps);
32078
+ registerSpaFallback(app);
32076
32079
  setTimeout(() => {
32077
32080
  void appUpdates.check(AbortSignal.timeout(1e4)).then(async (status) => {
32078
32081
  if (!status.hasUpdate) return;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "turbollm",
3
- "version": "1.13.0",
3
+ "version": "1.13.1",
4
4
  "description": "TurboLLM — local LLM platform: run any inference engine auto-tuned to your GPU, with a web UI and OpenAI/Anthropic-compatible API. Point Claude Code at your own machine in one command.",
5
5
  "license": "FSL-1.1-ALv2",
6
6
  "author": "Mohit Soni",