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.
@@ -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.33";
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-IYEZ6CAW.js.map
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-DU5ZDKBE.js");
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-7CGFLVUG.js.map
211
+ //# sourceMappingURL=chunk-U6IPDG7P.js.map
package/dist/cli/dev.js CHANGED
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  runCli
4
- } from "../chunk-7CGFLVUG.js";
4
+ } from "../chunk-U6IPDG7P.js";
5
5
  import {
6
6
  logger
7
7
  } from "../chunk-K44MW7JJ.js";
package/dist/cli/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  runCli
4
- } from "../chunk-7CGFLVUG.js";
4
+ } from "../chunk-U6IPDG7P.js";
5
5
  import {
6
6
  logger
7
7
  } from "../chunk-K44MW7JJ.js";
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "openfox",
3
- "version": "2.0.33",
3
+ "version": "2.0.34",
4
4
  "description": "Local-LLM-first agentic coding assistant",
5
5
  "type": "module",
6
6
  "bin": {
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  VERSION,
3
3
  createServer
4
- } from "./chunk-IYEZ6CAW.js";
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-DU5ZDKBE.js.map
202
+ //# sourceMappingURL=serve-CJHC25E3.js.map
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  createServer,
3
3
  createServerHandle
4
- } from "../chunk-IYEZ6CAW.js";
4
+ } from "../chunk-L772ZPG3.js";
5
5
  import "../chunk-IBKGV6OJ.js";
6
6
  import "../chunk-EB2RIVZA.js";
7
7
  import "../chunk-XJU2PBLN.js";