openfox 1.6.56 → 1.6.57

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,7 +2,7 @@ import {
2
2
  maybeAutoCompactContext,
3
3
  performManualContextCompaction,
4
4
  resolveCompactionStatsIdentity
5
- } from "./chunk-NJLOJ5JQ.js";
5
+ } from "./chunk-ENY2HSDU.js";
6
6
  import "./chunk-NBU6KIOD.js";
7
7
  import "./chunk-574HZVLE.js";
8
8
  import "./chunk-7JPKRM6M.js";
@@ -23,4 +23,4 @@ export {
23
23
  performManualContextCompaction,
24
24
  resolveCompactionStatsIdentity
25
25
  };
26
- //# sourceMappingURL=auto-compaction-WR4LBUXX.js.map
26
+ //# sourceMappingURL=auto-compaction-YFFQCKNN.js.map
@@ -8,8 +8,8 @@ import {
8
8
  } from "./chunk-5FCZWJS7.js";
9
9
  import {
10
10
  runChatTurn
11
- } from "./chunk-3SRJOMW2.js";
12
- import "./chunk-NJLOJ5JQ.js";
11
+ } from "./chunk-QU2QKOR6.js";
12
+ import "./chunk-ENY2HSDU.js";
13
13
  import "./chunk-NBU6KIOD.js";
14
14
  import "./chunk-574HZVLE.js";
15
15
  import "./chunk-7JPKRM6M.js";
@@ -60,7 +60,7 @@ async function startChatSession(sessionId, content, deps, options) {
60
60
  sessionManager.setRunning(sessionId, true);
61
61
  broadcastForSession(sessionId, createSessionRunningMessage(true));
62
62
  try {
63
- const { maybeAutoCompactContext } = await import("./auto-compaction-WR4LBUXX.js");
63
+ const { maybeAutoCompactContext } = await import("./auto-compaction-YFFQCKNN.js");
64
64
  await maybeAutoCompactContext({
65
65
  sessionManager,
66
66
  sessionId,
@@ -169,4 +169,4 @@ export {
169
169
  startChatSession,
170
170
  stopSessionExecution
171
171
  };
172
- //# sourceMappingURL=chat-handler-6O63Q5XV.js.map
172
+ //# sourceMappingURL=chat-handler-PSWAJYRK.js.map
@@ -3380,7 +3380,7 @@ var callSubAgentTool = {
3380
3380
  };
3381
3381
  }
3382
3382
  try {
3383
- const { getToolRegistryForAgent: getToolRegistryForAgent2 } = await import("./tools-UTC5L4SN.js");
3383
+ const { getToolRegistryForAgent: getToolRegistryForAgent2 } = await import("./tools-PGSHRMDH.js");
3384
3384
  const toolRegistry = getToolRegistryForAgent2(agentDef);
3385
3385
  const turnMetrics = new TurnMetrics();
3386
3386
  const result = await executeSubAgent({
@@ -3740,20 +3740,11 @@ function startInspectProxy(target, sessionManager) {
3740
3740
  const isWS = headers["upgrade"] === "websocket";
3741
3741
  clientParsed = true;
3742
3742
  if (url === "/__inspect__.js") {
3743
- const possiblePaths = [
3744
- `${import.meta.dirname}/../public/__inspect__.js`,
3745
- `${import.meta.dirname}/../../src/server/public/__inspect__.js`,
3746
- `${process.cwd()}/dist/server/public/__inspect__.js`
3747
- ];
3743
+ const inspectPath = new URL("./server/public/__inspect__.js", import.meta.url);
3748
3744
  let inspectJs = null;
3749
- for (const p of possiblePaths) {
3750
- try {
3751
- inspectJs = fs.readFileSync(p);
3752
- break;
3753
- } catch {
3754
- }
3755
- }
3756
- if (!inspectJs) {
3745
+ try {
3746
+ inspectJs = fs.readFileSync(inspectPath);
3747
+ } catch {
3757
3748
  const resp2 = buildResponse(404, { "Content-Type": "text/plain" }, Buffer.from("Not found"));
3758
3749
  client.write(resp2);
3759
3750
  client.end();
@@ -4800,4 +4791,4 @@ export {
4800
4791
  getToolRegistryForAgent,
4801
4792
  createToolRegistry
4802
4793
  };
4803
- //# sourceMappingURL=chunk-NJLOJ5JQ.js.map
4794
+ //# sourceMappingURL=chunk-ENY2HSDU.js.map
@@ -13,7 +13,7 @@ import {
13
13
  getToolRegistryForAgent,
14
14
  loadAllAgentsDefault,
15
15
  runTopLevelAgentLoop
16
- } from "./chunk-NJLOJ5JQ.js";
16
+ } from "./chunk-ENY2HSDU.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-3SRJOMW2.js.map
296
+ //# sourceMappingURL=chunk-QU2QKOR6.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-PA6IILYU.js");
182
+ const { runServe } = await import("./serve-L2UMDBMB.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-EZASKT6F.js.map
195
+ //# sourceMappingURL=chunk-Y5TCZ375.js.map
@@ -2,7 +2,7 @@ import {
2
2
  createVerifierNudgeConfig,
3
3
  runBuilderTurn,
4
4
  runChatTurn
5
- } from "./chunk-3SRJOMW2.js";
5
+ } from "./chunk-QU2QKOR6.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-NJLOJ5JQ.js";
41
+ } from "./chunk-ENY2HSDU.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.56";
5061
+ var VERSION = "1.6.57";
5062
5062
 
5063
5063
  // src/server/index.ts
5064
5064
  var __dirname2 = dirname5(fileURLToPath4(import.meta.url));
@@ -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-UTC5L4SN.js");
5364
+ const { providePathConfirmation: providePathConfirmation2 } = await import("./tools-PGSHRMDH.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-UTC5L4SN.js");
5389
+ const { provideAnswer: provideAnswer2 } = await import("./tools-PGSHRMDH.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-6O63Q5XV.js");
5426
- const { cancelQuestionsForSession: cancelQuestionsForSession2, cancelPathConfirmationsForSession: cancelPathConfirmationsForSession2 } = await import("./tools-UTC5L4SN.js");
5425
+ const { stopSessionExecution } = await import("./chat-handler-PSWAJYRK.js");
5426
+ const { cancelQuestionsForSession: cancelQuestionsForSession2, cancelPathConfirmationsForSession: cancelPathConfirmationsForSession2 } = await import("./tools-PGSHRMDH.js");
5427
5427
  stopSessionExecution(sessionId, sessionManager);
5428
5428
  abortSession(sessionId);
5429
5429
  cancelQuestionsForSession2(sessionId, "Session stopped by user");
@@ -5882,7 +5882,7 @@ async function createServerHandle(config) {
5882
5882
  providerManager
5883
5883
  );
5884
5884
  const wss = wssExports.wss;
5885
- const { QueueProcessor } = await import("./processor-REYSIEHR.js");
5885
+ const { QueueProcessor } = await import("./processor-GLKDOFWT.js");
5886
5886
  const queueProcessor = new QueueProcessor({
5887
5887
  sessionManager,
5888
5888
  providerManager,
@@ -5955,4 +5955,4 @@ export {
5955
5955
  createServerHandle,
5956
5956
  createServer
5957
5957
  };
5958
- //# sourceMappingURL=chunk-AKTAFYRR.js.map
5958
+ //# sourceMappingURL=chunk-ZHLG2ZTY.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-EZASKT6F.js";
4
+ } from "../chunk-Y5TCZ375.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-EZASKT6F.js";
4
+ } from "../chunk-Y5TCZ375.js";
5
5
  import {
6
6
  logger
7
7
  } from "../chunk-PNBH3RAX.js";
@@ -3,7 +3,7 @@ import {
3
3
  runBuilderTurn,
4
4
  runChatTurn,
5
5
  runVerifierTurn
6
- } from "./chunk-3SRJOMW2.js";
6
+ } from "./chunk-QU2QKOR6.js";
7
7
  import {
8
8
  TurnMetrics,
9
9
  createChatDoneEvent,
@@ -11,7 +11,7 @@ import {
11
11
  createMessageStartEvent,
12
12
  createToolCallEvent,
13
13
  createToolResultEvent
14
- } from "./chunk-NJLOJ5JQ.js";
14
+ } from "./chunk-ENY2HSDU.js";
15
15
  import "./chunk-NBU6KIOD.js";
16
16
  import "./chunk-574HZVLE.js";
17
17
  import "./chunk-7JPKRM6M.js";
@@ -39,4 +39,4 @@ export {
39
39
  runChatTurn,
40
40
  runVerifierTurn
41
41
  };
42
- //# sourceMappingURL=orchestrator-25JCF7GZ.js.map
42
+ //# sourceMappingURL=orchestrator-SCVLRL3O.js.map
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "openfox",
3
- "version": "1.6.56",
3
+ "version": "1.6.57",
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-25JCF7GZ.js");
176
+ const { runChatTurn } = await import("./orchestrator-SCVLRL3O.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-REYSIEHR.js.map
213
+ //# sourceMappingURL=processor-GLKDOFWT.js.map
@@ -6,9 +6,9 @@ import {
6
6
  import {
7
7
  VERSION,
8
8
  createServer
9
- } from "./chunk-AKTAFYRR.js";
10
- import "./chunk-3SRJOMW2.js";
11
- import "./chunk-NJLOJ5JQ.js";
9
+ } from "./chunk-ZHLG2ZTY.js";
10
+ import "./chunk-QU2QKOR6.js";
11
+ import "./chunk-ENY2HSDU.js";
12
12
  import "./chunk-NBU6KIOD.js";
13
13
  import "./chunk-574HZVLE.js";
14
14
  import "./chunk-7JPKRM6M.js";
@@ -187,4 +187,4 @@ async function runServe(options) {
187
187
  export {
188
188
  runServe
189
189
  };
190
- //# sourceMappingURL=serve-PA6IILYU.js.map
190
+ //# sourceMappingURL=serve-L2UMDBMB.js.map
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  createServer,
3
3
  createServerHandle
4
- } from "../chunk-AKTAFYRR.js";
5
- import "../chunk-3SRJOMW2.js";
6
- import "../chunk-NJLOJ5JQ.js";
4
+ } from "../chunk-ZHLG2ZTY.js";
5
+ import "../chunk-QU2QKOR6.js";
6
+ import "../chunk-ENY2HSDU.js";
7
7
  import "../chunk-NBU6KIOD.js";
8
8
  import "../chunk-574HZVLE.js";
9
9
  import "../chunk-7JPKRM6M.js";
@@ -11,7 +11,7 @@ import {
11
11
  requestPathAccess,
12
12
  stepDoneTool,
13
13
  validateToolAction
14
- } from "./chunk-NJLOJ5JQ.js";
14
+ } from "./chunk-ENY2HSDU.js";
15
15
  import "./chunk-NBU6KIOD.js";
16
16
  import "./chunk-574HZVLE.js";
17
17
  import "./chunk-7JPKRM6M.js";
@@ -48,4 +48,4 @@ export {
48
48
  stepDoneTool,
49
49
  validateToolAction
50
50
  };
51
- //# sourceMappingURL=tools-UTC5L4SN.js.map
51
+ //# sourceMappingURL=tools-PGSHRMDH.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "openfox",
3
- "version": "1.6.56",
3
+ "version": "1.6.57",
4
4
  "description": "Local-LLM-first agentic coding assistant",
5
5
  "type": "module",
6
6
  "bin": {