openfox 2.0.1 → 2.0.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.
- package/dist/{chunk-ZDY4WMZJ.js → chunk-72GTKFVG.js} +8 -5
- package/dist/{chunk-MFUPS6UE.js → chunk-MWHH6UZB.js} +2 -2
- package/dist/cli/dev.js +1 -1
- package/dist/cli/index.js +1 -1
- package/dist/package.json +1 -1
- package/dist/{serve-SGNL43UL.js → serve-DMWEPTU5.js} +2 -2
- package/dist/server/index.js +1 -1
- package/dist/web/assets/{index-Bego8SwT.js → index-C7IF2YAa.js} +23 -22
- package/dist/web/index.html +1 -1
- package/dist/web/sw.js +1 -1
- package/package.json +1 -1
|
@@ -5832,7 +5832,7 @@ import { Router as Router6 } from "express";
|
|
|
5832
5832
|
import { spawn as spawn5 } from "child_process";
|
|
5833
5833
|
|
|
5834
5834
|
// src/constants.ts
|
|
5835
|
-
var VERSION = "2.0.
|
|
5835
|
+
var VERSION = "2.0.2";
|
|
5836
5836
|
|
|
5837
5837
|
// src/server/routes/auto-update.ts
|
|
5838
5838
|
var updateInProgress = false;
|
|
@@ -6351,14 +6351,15 @@ async function createServerHandle(config4) {
|
|
|
6351
6351
|
}
|
|
6352
6352
|
const { stopSessionExecution } = await import("./chat-handler-LJMW4OK3.js");
|
|
6353
6353
|
const { cancelQuestionsForSession, cancelPathConfirmationsForSession } = await import("./tools-BOE5T3KC.js");
|
|
6354
|
+
const queuedMessages = sessionManager.getQueueState(sessionId);
|
|
6355
|
+
sessionManager.clearMessageQueue(sessionId);
|
|
6354
6356
|
stopSessionExecution(sessionId, sessionManager);
|
|
6355
6357
|
abortSession(sessionId);
|
|
6356
6358
|
cancelQuestionsForSession(sessionId, "Session stopped by user");
|
|
6357
6359
|
cancelPathConfirmationsForSession(sessionId, "Session stopped by user");
|
|
6358
|
-
sessionManager.clearMessageQueue(sessionId);
|
|
6359
6360
|
const eventStore = (await import("./events-ZKWAKWI7.js")).getEventStore();
|
|
6360
6361
|
eventStore.append(sessionId, { type: "running.changed", data: { isRunning: false } });
|
|
6361
|
-
res.json({ success: true });
|
|
6362
|
+
res.json({ success: true, queuedMessages });
|
|
6362
6363
|
});
|
|
6363
6364
|
app.post("/api/sessions/:id/truncate", async (req, res) => {
|
|
6364
6365
|
const sessionId = req.params.id;
|
|
@@ -7018,7 +7019,9 @@ async function createServerHandle(config4) {
|
|
|
7018
7019
|
});
|
|
7019
7020
|
queueProcessor.start();
|
|
7020
7021
|
const abortSession = (sessionId) => {
|
|
7021
|
-
const
|
|
7022
|
+
const wsAborted = wssExports.abortSession(sessionId);
|
|
7023
|
+
const qpAborted = queueProcessor.abortSession(sessionId);
|
|
7024
|
+
const aborted = wsAborted || qpAborted;
|
|
7022
7025
|
if (aborted) {
|
|
7023
7026
|
sessionManager.setRunning(sessionId, false);
|
|
7024
7027
|
wssExports.broadcastForSession(sessionId, { type: "session.running", payload: { isRunning: false } });
|
|
@@ -7080,4 +7083,4 @@ export {
|
|
|
7080
7083
|
createServerHandle,
|
|
7081
7084
|
createServer
|
|
7082
7085
|
};
|
|
7083
|
-
//# sourceMappingURL=chunk-
|
|
7086
|
+
//# sourceMappingURL=chunk-72GTKFVG.js.map
|
|
@@ -193,7 +193,7 @@ async function runCli(options) {
|
|
|
193
193
|
if (!configExists) {
|
|
194
194
|
await runNetworkSetup(mode);
|
|
195
195
|
}
|
|
196
|
-
const { runServe } = await import("./serve-
|
|
196
|
+
const { runServe } = await import("./serve-DMWEPTU5.js");
|
|
197
197
|
const serveOptions = { mode };
|
|
198
198
|
if (values.port) serveOptions.port = parseInt(values.port);
|
|
199
199
|
if (values["no-browser"] === true) serveOptions.openBrowser = false;
|
|
@@ -205,4 +205,4 @@ async function runCli(options) {
|
|
|
205
205
|
export {
|
|
206
206
|
runCli
|
|
207
207
|
};
|
|
208
|
-
//# sourceMappingURL=chunk-
|
|
208
|
+
//# sourceMappingURL=chunk-MWHH6UZB.js.map
|
package/dist/cli/dev.js
CHANGED
package/dist/cli/index.js
CHANGED
package/dist/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
VERSION,
|
|
3
3
|
createServer
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-72GTKFVG.js";
|
|
5
5
|
import "./chunk-RI6GAMNP.js";
|
|
6
6
|
import "./chunk-LEDG5WAN.js";
|
|
7
7
|
import "./chunk-32GQUDLN.js";
|
|
@@ -188,4 +188,4 @@ async function runServe(options) {
|
|
|
188
188
|
export {
|
|
189
189
|
runServe
|
|
190
190
|
};
|
|
191
|
-
//# sourceMappingURL=serve-
|
|
191
|
+
//# sourceMappingURL=serve-DMWEPTU5.js.map
|