openfox 1.6.66 → 1.6.68

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.
@@ -2,8 +2,8 @@ import {
2
2
  maybeAutoCompactContext,
3
3
  performManualContextCompaction,
4
4
  resolveCompactionStatsIdentity
5
- } from "./chunk-PU4AOT3E.js";
6
- import "./chunk-NRUMWHLX.js";
5
+ } from "./chunk-KVZIYCT4.js";
6
+ import "./chunk-RBPOAAIZ.js";
7
7
  import "./chunk-NBU6KIOD.js";
8
8
  import "./chunk-574HZVLE.js";
9
9
  import "./chunk-7JPKRM6M.js";
@@ -24,4 +24,4 @@ export {
24
24
  performManualContextCompaction,
25
25
  resolveCompactionStatsIdentity
26
26
  };
27
- //# sourceMappingURL=auto-compaction-ASDCDWKT.js.map
27
+ //# sourceMappingURL=auto-compaction-FJ2LGJSA.js.map
@@ -8,9 +8,9 @@ import {
8
8
  } from "./chunk-ENAZTRCR.js";
9
9
  import {
10
10
  runChatTurn
11
- } from "./chunk-7XO4OW2P.js";
12
- import "./chunk-PU4AOT3E.js";
13
- import "./chunk-NRUMWHLX.js";
11
+ } from "./chunk-K6NHXJM3.js";
12
+ import "./chunk-KVZIYCT4.js";
13
+ import "./chunk-RBPOAAIZ.js";
14
14
  import "./chunk-NBU6KIOD.js";
15
15
  import "./chunk-574HZVLE.js";
16
16
  import "./chunk-7JPKRM6M.js";
@@ -61,7 +61,7 @@ async function startChatSession(sessionId, content, deps, options) {
61
61
  sessionManager.setRunning(sessionId, true);
62
62
  broadcastForSession(sessionId, createSessionRunningMessage(true));
63
63
  try {
64
- const { maybeAutoCompactContext } = await import("./auto-compaction-ASDCDWKT.js");
64
+ const { maybeAutoCompactContext } = await import("./auto-compaction-FJ2LGJSA.js");
65
65
  await maybeAutoCompactContext({
66
66
  sessionManager,
67
67
  sessionId,
@@ -170,4 +170,4 @@ export {
170
170
  startChatSession,
171
171
  stopSessionExecution
172
172
  };
173
- //# sourceMappingURL=chat-handler-647QWEHP.js.map
173
+ //# sourceMappingURL=chat-handler-KSF2CR5H.js.map
@@ -179,7 +179,7 @@ async function runCli(options) {
179
179
  if (!configExists) {
180
180
  await runNetworkSetup(mode);
181
181
  }
182
- const { runServe } = await import("./serve-QTGMR7OM.js");
182
+ const { runServe } = await import("./serve-HU4QSO5Q.js");
183
183
  await runServe({
184
184
  mode,
185
185
  port: values.port ? parseInt(values.port) : void 0,
@@ -192,4 +192,4 @@ async function runCli(options) {
192
192
  export {
193
193
  runCli
194
194
  };
195
- //# sourceMappingURL=chunk-PCCYGUYA.js.map
195
+ //# sourceMappingURL=chunk-4SJOSEAL.js.map
@@ -2,7 +2,7 @@ import {
2
2
  createVerifierNudgeConfig,
3
3
  runBuilderTurn,
4
4
  runChatTurn
5
- } from "./chunk-7XO4OW2P.js";
5
+ } from "./chunk-K6NHXJM3.js";
6
6
  import {
7
7
  TurnMetrics,
8
8
  agentExists,
@@ -38,7 +38,7 @@ import {
38
38
  setSkillEnabled,
39
39
  skillExists,
40
40
  spawnShellProcess
41
- } from "./chunk-PU4AOT3E.js";
41
+ } from "./chunk-KVZIYCT4.js";
42
42
  import {
43
43
  getPathSeparator,
44
44
  getPlatformShell,
@@ -5058,7 +5058,7 @@ function createTerminalRoutes() {
5058
5058
  }
5059
5059
 
5060
5060
  // src/constants.ts
5061
- var VERSION = "1.6.66";
5061
+ var VERSION = "1.6.68";
5062
5062
 
5063
5063
  // src/server/index.ts
5064
5064
  var __dirname2 = dirname5(fileURLToPath4(import.meta.url));
@@ -5122,7 +5122,7 @@ async function createServerHandle(config) {
5122
5122
  const toolRegistry = createToolRegistry();
5123
5123
  const app = express();
5124
5124
  app.use(cors());
5125
- app.use(express.json());
5125
+ app.use(express.json({ limit: "10mb" }));
5126
5126
  const authMiddleware = async (req, res, next) => {
5127
5127
  const path = req.path;
5128
5128
  const publicPaths = ["/health", "/auth", "/auth/login"];
@@ -5361,7 +5361,7 @@ async function createServerHandle(config) {
5361
5361
  if (!callId || approved === void 0) {
5362
5362
  return res.status(400).json({ error: "callId and approved are required" });
5363
5363
  }
5364
- const { providePathConfirmation: providePathConfirmation2 } = await import("./tools-AQEL6ZJG.js");
5364
+ const { providePathConfirmation: providePathConfirmation2 } = await import("./tools-J23MXDY6.js");
5365
5365
  const result = providePathConfirmation2(callId, approved, alwaysAllow);
5366
5366
  if (!result.found) {
5367
5367
  return res.status(404).json({ error: "No pending path confirmation with that ID" });
@@ -5386,7 +5386,7 @@ async function createServerHandle(config) {
5386
5386
  if (!callId || !answer) {
5387
5387
  return res.status(400).json({ error: "callId and answer are required" });
5388
5388
  }
5389
- const { provideAnswer: provideAnswer2 } = await import("./tools-AQEL6ZJG.js");
5389
+ const { provideAnswer: provideAnswer2 } = await import("./tools-J23MXDY6.js");
5390
5390
  const found = provideAnswer2(callId, answer);
5391
5391
  if (!found) {
5392
5392
  return res.status(404).json({ error: "No pending question with that ID" });
@@ -5422,8 +5422,8 @@ async function createServerHandle(config) {
5422
5422
  if (!session) {
5423
5423
  return res.status(404).json({ error: "Session not found" });
5424
5424
  }
5425
- const { stopSessionExecution } = await import("./chat-handler-647QWEHP.js");
5426
- const { cancelQuestionsForSession: cancelQuestionsForSession2, cancelPathConfirmationsForSession: cancelPathConfirmationsForSession2 } = await import("./tools-AQEL6ZJG.js");
5425
+ const { stopSessionExecution } = await import("./chat-handler-KSF2CR5H.js");
5426
+ const { cancelQuestionsForSession: cancelQuestionsForSession2, cancelPathConfirmationsForSession: cancelPathConfirmationsForSession2 } = await import("./tools-J23MXDY6.js");
5427
5427
  stopSessionExecution(sessionId, sessionManager);
5428
5428
  abortSession(sessionId);
5429
5429
  cancelQuestionsForSession2(sessionId, "Session stopped by user");
@@ -5897,7 +5897,7 @@ async function createServerHandle(config) {
5897
5897
  providerManager
5898
5898
  );
5899
5899
  const wss = wssExports.wss;
5900
- const { QueueProcessor } = await import("./processor-TSSCNWED.js");
5900
+ const { QueueProcessor } = await import("./processor-TUK3TJ3N.js");
5901
5901
  const queueProcessor = new QueueProcessor({
5902
5902
  sessionManager,
5903
5903
  providerManager,
@@ -5935,7 +5935,7 @@ async function createServerHandle(config) {
5935
5935
  logger.info("Shutting down...");
5936
5936
  void (async () => {
5937
5937
  await devServerManager.stopAll();
5938
- const { stopAllInspectProxies } = await import("./inspect-proxy-M5222JOC.js");
5938
+ const { stopAllInspectProxies } = await import("./inspect-proxy-Y4MRAVB7.js");
5939
5939
  stopAllInspectProxies();
5940
5940
  const { cleanupAllProcesses } = await import("./store-2IF3ZSLD.js");
5941
5941
  cleanupAllProcesses();
@@ -5972,4 +5972,4 @@ export {
5972
5972
  createServerHandle,
5973
5973
  createServer
5974
5974
  };
5975
- //# sourceMappingURL=chunk-GFE5Y2UE.js.map
5975
+ //# sourceMappingURL=chunk-6GHEJITS.js.map
@@ -13,7 +13,7 @@ import {
13
13
  getToolRegistryForAgent,
14
14
  loadAllAgentsDefault,
15
15
  runTopLevelAgentLoop
16
- } from "./chunk-PU4AOT3E.js";
16
+ } from "./chunk-KVZIYCT4.js";
17
17
  import {
18
18
  getCurrentContextWindowId,
19
19
  getEventStore
@@ -293,4 +293,4 @@ export {
293
293
  runBuilderTurn,
294
294
  runVerifierTurn
295
295
  };
296
- //# sourceMappingURL=chunk-7XO4OW2P.js.map
296
+ //# sourceMappingURL=chunk-K6NHXJM3.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  startInspectProxy
3
- } from "./chunk-NRUMWHLX.js";
3
+ } from "./chunk-RBPOAAIZ.js";
4
4
  import {
5
5
  createProcess,
6
6
  getPlatformShell,
@@ -3383,7 +3383,7 @@ var callSubAgentTool = {
3383
3383
  };
3384
3384
  }
3385
3385
  try {
3386
- const { getToolRegistryForAgent: getToolRegistryForAgent2 } = await import("./tools-AQEL6ZJG.js");
3386
+ const { getToolRegistryForAgent: getToolRegistryForAgent2 } = await import("./tools-J23MXDY6.js");
3387
3387
  const toolRegistry = getToolRegistryForAgent2(agentDef);
3388
3388
  const turnMetrics = new TurnMetrics();
3389
3389
  const result = await executeSubAgent({
@@ -4537,4 +4537,4 @@ export {
4537
4537
  getToolRegistryForAgent,
4538
4538
  createToolRegistry
4539
4539
  };
4540
- //# sourceMappingURL=chunk-PU4AOT3E.js.map
4540
+ //# sourceMappingURL=chunk-KVZIYCT4.js.map
@@ -149,7 +149,6 @@ ${annotation || "(none)"}`;
149
149
  targetSocket = net.connect(targetPort, targetHost);
150
150
  targetSocket.on("error", () => client.destroy());
151
151
  client.on("error", () => targetSocket.destroy());
152
- client.on("data", (chunk2) => targetSocket.write(chunk2));
153
152
  client.on("end", () => targetSocket.end());
154
153
  const connClose = "\r\nConnection: close";
155
154
  const reqEnd = clientHead.indexOf("\r\n\r\n");
@@ -291,4 +290,4 @@ export {
291
290
  startInspectProxy,
292
291
  stopAllInspectProxies
293
292
  };
294
- //# sourceMappingURL=chunk-NRUMWHLX.js.map
293
+ //# sourceMappingURL=chunk-RBPOAAIZ.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-PCCYGUYA.js";
4
+ } from "../chunk-4SJOSEAL.js";
5
5
  import {
6
6
  logger
7
7
  } from "../chunk-PNBH3RAX.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-PCCYGUYA.js";
4
+ } from "../chunk-4SJOSEAL.js";
5
5
  import {
6
6
  logger
7
7
  } from "../chunk-PNBH3RAX.js";
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  startInspectProxy,
3
3
  stopAllInspectProxies
4
- } from "./chunk-NRUMWHLX.js";
4
+ } from "./chunk-RBPOAAIZ.js";
5
5
  import "./chunk-PNBH3RAX.js";
6
6
  export {
7
7
  startInspectProxy,
8
8
  stopAllInspectProxies
9
9
  };
10
- //# sourceMappingURL=inspect-proxy-M5222JOC.js.map
10
+ //# sourceMappingURL=inspect-proxy-Y4MRAVB7.js.map
@@ -3,7 +3,7 @@ import {
3
3
  runBuilderTurn,
4
4
  runChatTurn,
5
5
  runVerifierTurn
6
- } from "./chunk-7XO4OW2P.js";
6
+ } from "./chunk-K6NHXJM3.js";
7
7
  import {
8
8
  TurnMetrics,
9
9
  createChatDoneEvent,
@@ -11,8 +11,8 @@ import {
11
11
  createMessageStartEvent,
12
12
  createToolCallEvent,
13
13
  createToolResultEvent
14
- } from "./chunk-PU4AOT3E.js";
15
- import "./chunk-NRUMWHLX.js";
14
+ } from "./chunk-KVZIYCT4.js";
15
+ import "./chunk-RBPOAAIZ.js";
16
16
  import "./chunk-NBU6KIOD.js";
17
17
  import "./chunk-574HZVLE.js";
18
18
  import "./chunk-7JPKRM6M.js";
@@ -40,4 +40,4 @@ export {
40
40
  runChatTurn,
41
41
  runVerifierTurn
42
42
  };
43
- //# sourceMappingURL=orchestrator-UEDPSWG6.js.map
43
+ //# sourceMappingURL=orchestrator-KBUCDCWE.js.map
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "openfox",
3
- "version": "1.6.66",
3
+ "version": "1.6.68",
4
4
  "description": "Local-LLM-first agentic coding assistant",
5
5
  "type": "module",
6
6
  "bin": {
@@ -173,7 +173,7 @@ var QueueProcessor = class {
173
173
  backend: provider?.backend ?? llmClient.getBackend(),
174
174
  model: llmClient.getModel()
175
175
  };
176
- const { runChatTurn } = await import("./orchestrator-UEDPSWG6.js");
176
+ const { runChatTurn } = await import("./orchestrator-KBUCDCWE.js");
177
177
  const runChatTurnParams = buildRunChatTurnParams({
178
178
  sessionManager,
179
179
  sessionId,
@@ -210,4 +210,4 @@ var QueueProcessor = class {
210
210
  export {
211
211
  QueueProcessor
212
212
  };
213
- //# sourceMappingURL=processor-TSSCNWED.js.map
213
+ //# sourceMappingURL=processor-TUK3TJ3N.js.map
@@ -6,10 +6,10 @@ import {
6
6
  import {
7
7
  VERSION,
8
8
  createServer
9
- } from "./chunk-GFE5Y2UE.js";
10
- import "./chunk-7XO4OW2P.js";
11
- import "./chunk-PU4AOT3E.js";
12
- import "./chunk-NRUMWHLX.js";
9
+ } from "./chunk-6GHEJITS.js";
10
+ import "./chunk-K6NHXJM3.js";
11
+ import "./chunk-KVZIYCT4.js";
12
+ import "./chunk-RBPOAAIZ.js";
13
13
  import "./chunk-NBU6KIOD.js";
14
14
  import "./chunk-574HZVLE.js";
15
15
  import "./chunk-7JPKRM6M.js";
@@ -188,4 +188,4 @@ async function runServe(options) {
188
188
  export {
189
189
  runServe
190
190
  };
191
- //# sourceMappingURL=serve-QTGMR7OM.js.map
191
+ //# sourceMappingURL=serve-HU4QSO5Q.js.map
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  createServer,
3
3
  createServerHandle
4
- } from "../chunk-GFE5Y2UE.js";
5
- import "../chunk-7XO4OW2P.js";
6
- import "../chunk-PU4AOT3E.js";
7
- import "../chunk-NRUMWHLX.js";
4
+ } from "../chunk-6GHEJITS.js";
5
+ import "../chunk-K6NHXJM3.js";
6
+ import "../chunk-KVZIYCT4.js";
7
+ import "../chunk-RBPOAAIZ.js";
8
8
  import "../chunk-NBU6KIOD.js";
9
9
  import "../chunk-574HZVLE.js";
10
10
  import "../chunk-7JPKRM6M.js";
@@ -99,13 +99,6 @@
99
99
  }
100
100
  var rect = el.getBoundingClientRect();
101
101
  var tagName = el.tagName ? el.tagName.toLowerCase() : '';
102
- // Avoid capturing the highlight overlay in xpath/outerHTML
103
- if (el.classList && el.classList.contains('__fox-highlight')) {
104
- var parent = el.parentNode;
105
- if (parent) {
106
- return buildElementData(parent);
107
- }
108
- }
109
102
  return {
110
103
  tag: tagName,
111
104
  id: el.id || null,
@@ -11,8 +11,8 @@ import {
11
11
  requestPathAccess,
12
12
  stepDoneTool,
13
13
  validateToolAction
14
- } from "./chunk-PU4AOT3E.js";
15
- import "./chunk-NRUMWHLX.js";
14
+ } from "./chunk-KVZIYCT4.js";
15
+ import "./chunk-RBPOAAIZ.js";
16
16
  import "./chunk-NBU6KIOD.js";
17
17
  import "./chunk-574HZVLE.js";
18
18
  import "./chunk-7JPKRM6M.js";
@@ -49,4 +49,4 @@ export {
49
49
  stepDoneTool,
50
50
  validateToolAction
51
51
  };
52
- //# sourceMappingURL=tools-AQEL6ZJG.js.map
52
+ //# sourceMappingURL=tools-J23MXDY6.js.map
@@ -99,13 +99,6 @@
99
99
  }
100
100
  var rect = el.getBoundingClientRect();
101
101
  var tagName = el.tagName ? el.tagName.toLowerCase() : '';
102
- // Avoid capturing the highlight overlay in xpath/outerHTML
103
- if (el.classList && el.classList.contains('__fox-highlight')) {
104
- var parent = el.parentNode;
105
- if (parent) {
106
- return buildElementData(parent);
107
- }
108
- }
109
102
  return {
110
103
  tag: tagName,
111
104
  id: el.id || null,
package/dist/web/sw.js CHANGED
@@ -1 +1 @@
1
- if(!self.define){let e,s={};const i=(i,n)=>(i=new URL(i+".js",n).href,s[i]||new Promise(s=>{if("document"in self){const e=document.createElement("script");e.src=i,e.onload=s,document.head.appendChild(e)}else e=i,importScripts(i),s()}).then(()=>{let e=s[i];if(!e)throw new Error(`Module ${i} didn’t register its module`);return e}));self.define=(n,r)=>{const t=e||("document"in self?document.currentScript.src:"")||location.href;if(s[t])return;let o={};const l=e=>i(e,t),c={module:{uri:t},exports:o,require:l};s[t]=Promise.all(n.map(e=>c[e]||l(e))).then(e=>(r(...e),o))}}define(["./workbox-8c29f6e4"],function(e){"use strict";self.skipWaiting(),e.clientsClaim(),e.precacheAndRoute([{url:"registerSW.js",revision:"1872c500de691dce40960bb85481de07"},{url:"index.html",revision:"d756f8b43030c25aaa97db8413d17b59"},{url:"__inspect__.js",revision:"5b45e9b5af45cda5f07009a4c9c0f38f"},{url:"assets/index-KbZgYzd8.js",revision:null},{url:"assets/index-CRQDugUa.css",revision:null},{url:"assets/html2canvas.esm-QH1iLAAe.js",revision:null},{url:"assets/openfox-192.png",revision:"79feeb86d692c274854e37959a7dae67"},{url:"assets/openfox-512.png",revision:"fee24b214220594b4f595a467e73036e"},{url:"manifest.webmanifest",revision:"c25f372c782e623ab1e768a8dfe350ca"}],{}),e.cleanupOutdatedCaches(),e.registerRoute(new e.NavigationRoute(e.createHandlerBoundToURL("index.html")))});
1
+ if(!self.define){let e,s={};const i=(i,n)=>(i=new URL(i+".js",n).href,s[i]||new Promise(s=>{if("document"in self){const e=document.createElement("script");e.src=i,e.onload=s,document.head.appendChild(e)}else e=i,importScripts(i),s()}).then(()=>{let e=s[i];if(!e)throw new Error(`Module ${i} didn’t register its module`);return e}));self.define=(n,r)=>{const t=e||("document"in self?document.currentScript.src:"")||location.href;if(s[t])return;let o={};const l=e=>i(e,t),c={module:{uri:t},exports:o,require:l};s[t]=Promise.all(n.map(e=>c[e]||l(e))).then(e=>(r(...e),o))}}define(["./workbox-8c29f6e4"],function(e){"use strict";self.skipWaiting(),e.clientsClaim(),e.precacheAndRoute([{url:"registerSW.js",revision:"1872c500de691dce40960bb85481de07"},{url:"index.html",revision:"d756f8b43030c25aaa97db8413d17b59"},{url:"__inspect__.js",revision:"dcb0a7b70a0153a18cdc0794e39ee0d6"},{url:"assets/index-KbZgYzd8.js",revision:null},{url:"assets/index-CRQDugUa.css",revision:null},{url:"assets/html2canvas.esm-QH1iLAAe.js",revision:null},{url:"assets/openfox-192.png",revision:"79feeb86d692c274854e37959a7dae67"},{url:"assets/openfox-512.png",revision:"fee24b214220594b4f595a467e73036e"},{url:"manifest.webmanifest",revision:"c25f372c782e623ab1e768a8dfe350ca"}],{}),e.cleanupOutdatedCaches(),e.registerRoute(new e.NavigationRoute(e.createHandlerBoundToURL("index.html")))});
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "openfox",
3
- "version": "1.6.66",
3
+ "version": "1.6.68",
4
4
  "description": "Local-LLM-first agentic coding assistant",
5
5
  "type": "module",
6
6
  "bin": {