openfox 2.0.33 → 2.0.34
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-IYEZ6CAW.js → chunk-L772ZPG3.js} +20 -2
- package/dist/{chunk-7CGFLVUG.js → chunk-U6IPDG7P.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-DU5ZDKBE.js → serve-CJHC25E3.js} +2 -2
- package/dist/server/index.js +1 -1
- package/dist/web/assets/{index-D5CeXQdc.js → index-DSn90-wB.js} +46 -46
- package/dist/web/index.html +1 -1
- package/dist/web/sw.js +1 -1
- package/package.json +1 -1
|
@@ -3440,7 +3440,7 @@ import { Router as Router6 } from "express";
|
|
|
3440
3440
|
import { spawn as spawn2 } from "child_process";
|
|
3441
3441
|
|
|
3442
3442
|
// src/constants.ts
|
|
3443
|
-
var VERSION = "2.0.
|
|
3443
|
+
var VERSION = "2.0.34";
|
|
3444
3444
|
|
|
3445
3445
|
// src/server/routes/auto-update.ts
|
|
3446
3446
|
var updateInProgress = false;
|
|
@@ -3888,6 +3888,24 @@ async function createServerHandle(config4) {
|
|
|
3888
3888
|
sessionManager.setMetadataEntries(sessionId, "criteria", entries);
|
|
3889
3889
|
res.json({ success: true });
|
|
3890
3890
|
});
|
|
3891
|
+
app.put("/api/sessions/:id/review-findings", async (req, res) => {
|
|
3892
|
+
const sessionId = req.params.id;
|
|
3893
|
+
const session = sessionManager.getSession(sessionId);
|
|
3894
|
+
if (!session) {
|
|
3895
|
+
return res.status(404).json({ error: "Session not found" });
|
|
3896
|
+
}
|
|
3897
|
+
const { review_findings } = req.body;
|
|
3898
|
+
if (!Array.isArray(review_findings)) {
|
|
3899
|
+
return res.status(400).json({ error: "review_findings is required and must be an array" });
|
|
3900
|
+
}
|
|
3901
|
+
const entries = review_findings.map((c, i) => ({
|
|
3902
|
+
id: c.id ?? String(i),
|
|
3903
|
+
description: c.description,
|
|
3904
|
+
status: c.status ?? "open"
|
|
3905
|
+
}));
|
|
3906
|
+
sessionManager.setMetadataEntries(sessionId, "review_findings", entries);
|
|
3907
|
+
res.json({ success: true });
|
|
3908
|
+
});
|
|
3891
3909
|
app.put("/api/sessions/:id/mode", async (req, res) => {
|
|
3892
3910
|
const { getEventStore: getEventStore2 } = await import("./events-YLICLPBY.js");
|
|
3893
3911
|
const { buildMessagesFromStoredEvents } = await import("./folding-PI67HWBR.js");
|
|
@@ -4894,4 +4912,4 @@ export {
|
|
|
4894
4912
|
createServerHandle,
|
|
4895
4913
|
createServer
|
|
4896
4914
|
};
|
|
4897
|
-
//# sourceMappingURL=chunk-
|
|
4915
|
+
//# sourceMappingURL=chunk-L772ZPG3.js.map
|
|
@@ -196,7 +196,7 @@ async function runCli(options) {
|
|
|
196
196
|
if (!configExists) {
|
|
197
197
|
await runNetworkSetup(mode);
|
|
198
198
|
}
|
|
199
|
-
const { runServe } = await import("./serve-
|
|
199
|
+
const { runServe } = await import("./serve-CJHC25E3.js");
|
|
200
200
|
const serveOptions = { mode };
|
|
201
201
|
if (values.port) serveOptions.port = parseInt(values.port);
|
|
202
202
|
if (values["no-browser"] === true) serveOptions.openBrowser = false;
|
|
@@ -208,4 +208,4 @@ async function runCli(options) {
|
|
|
208
208
|
export {
|
|
209
209
|
runCli
|
|
210
210
|
};
|
|
211
|
-
//# sourceMappingURL=chunk-
|
|
211
|
+
//# sourceMappingURL=chunk-U6IPDG7P.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-L772ZPG3.js";
|
|
5
5
|
import "./chunk-IBKGV6OJ.js";
|
|
6
6
|
import "./chunk-EB2RIVZA.js";
|
|
7
7
|
import "./chunk-XJU2PBLN.js";
|
|
@@ -199,4 +199,4 @@ async function runServe(options) {
|
|
|
199
199
|
export {
|
|
200
200
|
runServe
|
|
201
201
|
};
|
|
202
|
-
//# sourceMappingURL=serve-
|
|
202
|
+
//# sourceMappingURL=serve-CJHC25E3.js.map
|