pi-outpost 0.6.1 → 0.6.2

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.
@@ -36973,8 +36973,7 @@ import {
36973
36973
  createAgentSessionRuntime,
36974
36974
  createAgentSessionServices,
36975
36975
  getAgentDir as getAgentDir2,
36976
- SessionManager,
36977
- VERSION as PI_SDK_VERSION
36976
+ SessionManager
36978
36977
  } from "@earendil-works/pi-coding-agent";
36979
36978
 
36980
36979
  // ../shared/src/protocol.ts
@@ -50579,7 +50578,8 @@ function searchSessions(sessions, query, limit) {
50579
50578
  var seaExtensionFactories = [];
50580
50579
 
50581
50580
  // ../server/src/index.ts
50582
- var VERSION2 = true ? "0.6.1" : "dev";
50581
+ var VERSION2 = true ? "0.6.2" : "dev";
50582
+ var PI_SDK_VERSION = true ? "0.80.9" : "dev";
50583
50583
  var LAUNCH_DIR = process.env.INIT_CWD ?? process.cwd();
50584
50584
  function complain(error) {
50585
50585
  const message = error instanceof Error ? error.message : String(error);
@@ -50776,6 +50776,10 @@ app.get("/files/raw", async (req, reply) => {
50776
50776
  });
50777
50777
  var hasIndexHtml = (candidate) => fs7.stat(path8.join(candidate, "index.html")).then((s) => s.isFile()).catch(() => false);
50778
50778
  var webDistCandidates = process.env.PI_OUTPOST_WEB_DIST ? [path8.resolve(process.env.PI_OUTPOST_WEB_DIST)] : [
50779
+ // Prefer the production build (Vite output) over the source web/ directory,
50780
+ // which contains a Vite-dev index.html referencing /src/main.tsx — that file
50781
+ // would be served as application/octet-stream and fail ESM module loading.
50782
+ path8.resolve(import.meta.dirname, "./web/dist"),
50779
50783
  path8.resolve(import.meta.dirname, "./web"),
50780
50784
  path8.resolve(import.meta.dirname, "../../web/dist")
50781
50785
  ];
@@ -372816,7 +372816,8 @@ function searchSessions(sessions, query, limit2) {
372816
372816
  var seaExtensionFactories = [];
372817
372817
 
372818
372818
  // ../server/src/index.ts
372819
- var VERSION6 = true ? "0.6.1" : "dev";
372819
+ var VERSION6 = true ? "0.6.2" : "dev";
372820
+ var PI_SDK_VERSION = true ? "0.80.9" : "dev";
372820
372821
  var LAUNCH_DIR = process.env.INIT_CWD ?? process.cwd();
372821
372822
  function complain(error40) {
372822
372823
  const message = error40 instanceof Error ? error40.message : String(error40);
@@ -373013,6 +373014,10 @@ app.get("/files/raw", async (req, reply) => {
373013
373014
  });
373014
373015
  var hasIndexHtml = (candidate) => fs17.stat(path22.join(candidate, "index.html")).then((s2) => s2.isFile()).catch(() => false);
373015
373016
  var webDistCandidates = process.env.PI_OUTPOST_WEB_DIST ? [path22.resolve(process.env.PI_OUTPOST_WEB_DIST)] : [
373017
+ // Prefer the production build (Vite output) over the source web/ directory,
373018
+ // which contains a Vite-dev index.html referencing /src/main.tsx — that file
373019
+ // would be served as application/octet-stream and fail ESM module loading.
373020
+ path22.resolve(import.meta.dirname, "./web/dist"),
373016
373021
  path22.resolve(import.meta.dirname, "./web"),
373017
373022
  path22.resolve(import.meta.dirname, "../../web/dist")
373018
373023
  ];
@@ -373187,7 +373192,7 @@ function snapshot() {
373187
373192
  gitAvailable: GIT !== null,
373188
373193
  credentials: credentialStatus(),
373189
373194
  extensionPaths: session.extensionRunner.getExtensionPaths(),
373190
- versions: { piOutpost: VERSION6, piSdk: VERSION },
373195
+ versions: { piOutpost: VERSION6, piSdk: PI_SDK_VERSION },
373191
373196
  sandbox: (() => {
373192
373197
  const v3 = config2.sandbox ? {
373193
373198
  root: config2.sandbox.root,
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pi-outpost",
3
- "version": "0.6.1",
3
+ "version": "0.6.2",
4
4
  "type": "module",
5
5
  "description": "A web chat UI for the pi coding agent — run it with npx, no clone, no build.",
6
6
  "license": "MIT",