pi-straw-boss 0.124.0 → 0.124.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.
- package/dist/server/{chunk-2LYIU476.mjs → chunk-6URQ7VES.mjs} +1 -0
- package/dist/server/cli.mjs +1 -1
- package/dist/server/main.mjs +508 -466
- package/package.json +1 -1
- package/src/boss.ts +2 -2
- package/src/bridge.ts +10 -2
- package/src/control.ts +9 -8
- package/src/gui.ts +3 -3
- package/src/herdr.ts +1 -0
- package/src/runmode.ts +2 -2
- package/src/server/guihost.ts +2 -2
- package/src/spawn.ts +4 -3
- package/src/topicgate.ts +4 -12
- package/src/topicinput.ts +84 -0
- package/src/topicpending.ts +45 -0
- package/src/waitask.ts +34 -11
- package/src/waitcmd.ts +24 -11
- package/src/waitpick.ts +41 -0
- package/src/waitquestion.ts +95 -0
|
@@ -253,6 +253,7 @@ var callOnce = (socketPath) => (method, params, timeoutMs = 5e3) => new Promise(
|
|
|
253
253
|
try {
|
|
254
254
|
const { result: result2, error } = JSON.parse(reply.split("\n")[0]);
|
|
255
255
|
if (error) fail(error.code ?? "herdr_error", error.message ?? "");
|
|
256
|
+
else if (result2 === void 0) fail("bad_frame", "reply has no result");
|
|
256
257
|
else resolve5(result2);
|
|
257
258
|
} catch {
|
|
258
259
|
fail("bad_frame", reply.slice(0, 200));
|
package/dist/server/cli.mjs
CHANGED