pi-outpost 0.32.0 → 0.32.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.
@@ -186832,7 +186832,12 @@ var RpcRuntime = class {
186832
186832
  ...this.streaming ? { streamingBehavior: "steer" } : {}
186833
186833
  };
186834
186834
  try {
186835
- await this.command("prompt", payload);
186835
+ try {
186836
+ await this.command("prompt", payload);
186837
+ } catch (error) {
186838
+ if (payload.streamingBehavior !== void 0 || !isSuspendedQueueRefusal(error)) throw error;
186839
+ await this.command("prompt", { ...payload, streamingBehavior: "followUp" });
186840
+ }
186836
186841
  } catch (error) {
186837
186842
  options?.onAccepted?.(false);
186838
186843
  throw error;
@@ -186968,6 +186973,9 @@ function isUnknownCommand(error, command) {
186968
186973
  const message = error.message.toLowerCase();
186969
186974
  return message.includes(command.toLowerCase()) && ABSENT_COMMAND_WORDS.test(message);
186970
186975
  }
186976
+ function isSuspendedQueueRefusal(error) {
186977
+ return error instanceof Error && error.message.includes("queued session input is suspended");
186978
+ }
186971
186979
 
186972
186980
  // ../server/src/structuredExchangeTool.ts
186973
186981
  var DESCRIPTION8 = [
@@ -200594,7 +200602,7 @@ function cacheControlFor(url) {
200594
200602
  }
200595
200603
 
200596
200604
  // ../server/src/index.ts
200597
- var VERSION2 = true ? "0.32.0" : "dev";
200605
+ var VERSION2 = true ? "0.32.1" : "dev";
200598
200606
  var PI_SDK_VERSION = true ? "0.87.1" : readInstalledPiSdkVersion();
200599
200607
  var LAUNCH_DIR = process.env.INIT_CWD ?? process.cwd();
200600
200608
  function complain(error) {
@@ -1,4 +1,4 @@
1
1
  [diffend] Oversized file quarantined before diffing.
2
2
  name: package/dist/pi-outpost.sea.mjs
3
- size: 34841783 bytes
4
- sha256: 6f2b54436650b228ef9cbca307edb250423962c03b4adec24013ff8a178d1767
3
+ size: 34848625 bytes
4
+ sha256: 3648843285579c259704a68cc612fd8d549c53a27d55224d69c787bd63be1ea2
@@ -1,4 +1,4 @@
1
1
  [diffend] Oversized file quarantined before diffing.
2
2
  name: package/dist/sea-prep.blob
3
- size: 34840841 bytes
4
- sha256: d13f89436c6460841fca234453e88f713ed0d3a4a643224cb7708d8922deb05b
3
+ size: 34847683 bytes
4
+ sha256: b2c66458bdeb6756596a723959b05154ad8d679e3bf3060a1f3bbf9fe51a740f
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pi-outpost",
3
- "version": "0.32.0",
3
+ "version": "0.32.1",
4
4
  "type": "module",
5
5
  "description": "A web interface for the pi coding agent: a browser chat UI you run with npx — no clone, no build.",
6
6
  "license": "MIT",