openfox 1.6.42 → 1.6.44

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-QFOT3J6I.js";
5
+ } from "./chunk-7F3V7C23.js";
6
6
  import "./chunk-NBU6KIOD.js";
7
7
  import "./chunk-574HZVLE.js";
8
8
  import "./chunk-7JPKRM6M.js";
@@ -11,7 +11,7 @@ import "./chunk-YVQ6DP5Y.js";
11
11
  import "./chunk-LIMBYVO4.js";
12
12
  import "./chunk-DZHZ3UUR.js";
13
13
  import "./chunk-22CTURMH.js";
14
- import "./chunk-O2BOWZKC.js";
14
+ import "./chunk-GQZGIMJO.js";
15
15
  import "./chunk-BLNFJ22S.js";
16
16
  import "./chunk-Y6HBEACI.js";
17
17
  import "./chunk-R4HADRYO.js";
@@ -23,4 +23,4 @@ export {
23
23
  performManualContextCompaction,
24
24
  resolveCompactionStatsIdentity
25
25
  };
26
- //# sourceMappingURL=auto-compaction-U2TKRF6E.js.map
26
+ //# sourceMappingURL=auto-compaction-7SL3LN75.js.map
@@ -10,8 +10,8 @@ import {
10
10
  } from "./chunk-BHSTSA7U.js";
11
11
  import {
12
12
  runChatTurn
13
- } from "./chunk-VCVHYZZS.js";
14
- import "./chunk-QFOT3J6I.js";
13
+ } from "./chunk-IHBD5H7A.js";
14
+ import "./chunk-7F3V7C23.js";
15
15
  import "./chunk-NBU6KIOD.js";
16
16
  import "./chunk-574HZVLE.js";
17
17
  import "./chunk-7JPKRM6M.js";
@@ -26,7 +26,7 @@ import {
26
26
  createSessionRunningMessage
27
27
  } from "./chunk-DZHZ3UUR.js";
28
28
  import "./chunk-22CTURMH.js";
29
- import "./chunk-O2BOWZKC.js";
29
+ import "./chunk-GQZGIMJO.js";
30
30
  import "./chunk-BLNFJ22S.js";
31
31
  import "./chunk-Y6HBEACI.js";
32
32
  import "./chunk-R4HADRYO.js";
@@ -62,7 +62,7 @@ async function startChatSession(sessionId, content, deps, options) {
62
62
  sessionManager.setRunning(sessionId, true);
63
63
  broadcastForSession(sessionId, createSessionRunningMessage(true));
64
64
  try {
65
- const { maybeAutoCompactContext } = await import("./auto-compaction-U2TKRF6E.js");
65
+ const { maybeAutoCompactContext } = await import("./auto-compaction-7SL3LN75.js");
66
66
  await maybeAutoCompactContext({
67
67
  sessionManager,
68
68
  sessionId,
@@ -171,4 +171,4 @@ export {
171
171
  startChatSession,
172
172
  stopSessionExecution
173
173
  };
174
- //# sourceMappingURL=chat-handler-TJWYGO3G.js.map
174
+ //# sourceMappingURL=chat-handler-O2MS6N7K.js.map
@@ -6,7 +6,7 @@ import {
6
6
  createVerifierNudgeConfig,
7
7
  runBuilderTurn,
8
8
  runChatTurn
9
- } from "./chunk-VCVHYZZS.js";
9
+ } from "./chunk-IHBD5H7A.js";
10
10
  import {
11
11
  TurnMetrics,
12
12
  agentExists,
@@ -47,7 +47,7 @@ import {
47
47
  setSkillEnabled,
48
48
  skillExists,
49
49
  spawnShellProcess
50
- } from "./chunk-QFOT3J6I.js";
50
+ } from "./chunk-7F3V7C23.js";
51
51
  import {
52
52
  getPathSeparator,
53
53
  getPlatformShell,
@@ -5479,7 +5479,7 @@ function createTerminalRoutes() {
5479
5479
  }
5480
5480
 
5481
5481
  // src/constants.ts
5482
- var VERSION = "1.6.42";
5482
+ var VERSION = "1.6.44";
5483
5483
 
5484
5484
  // src/server/index.ts
5485
5485
  var __dirname2 = dirname5(fileURLToPath4(import.meta.url));
@@ -5781,7 +5781,7 @@ async function createServerHandle(config) {
5781
5781
  if (!callId || approved === void 0) {
5782
5782
  return res.status(400).json({ error: "callId and approved are required" });
5783
5783
  }
5784
- const { providePathConfirmation: providePathConfirmation2 } = await import("./tools-EVB6JNKF.js");
5784
+ const { providePathConfirmation: providePathConfirmation2 } = await import("./tools-A3NNFIKG.js");
5785
5785
  const result = providePathConfirmation2(callId, approved, alwaysAllow);
5786
5786
  if (!result.found) {
5787
5787
  return res.status(404).json({ error: "No pending path confirmation with that ID" });
@@ -5806,7 +5806,7 @@ async function createServerHandle(config) {
5806
5806
  if (!callId || !answer) {
5807
5807
  return res.status(400).json({ error: "callId and answer are required" });
5808
5808
  }
5809
- const { provideAnswer: provideAnswer2 } = await import("./tools-EVB6JNKF.js");
5809
+ const { provideAnswer: provideAnswer2 } = await import("./tools-A3NNFIKG.js");
5810
5810
  const found = provideAnswer2(callId, answer);
5811
5811
  if (!found) {
5812
5812
  return res.status(404).json({ error: "No pending question with that ID" });
@@ -5842,8 +5842,8 @@ async function createServerHandle(config) {
5842
5842
  if (!session) {
5843
5843
  return res.status(404).json({ error: "Session not found" });
5844
5844
  }
5845
- const { stopSessionExecution } = await import("./chat-handler-TJWYGO3G.js");
5846
- const { cancelQuestionsForSession: cancelQuestionsForSession2, cancelPathConfirmationsForSession: cancelPathConfirmationsForSession2 } = await import("./tools-EVB6JNKF.js");
5845
+ const { stopSessionExecution } = await import("./chat-handler-O2MS6N7K.js");
5846
+ const { cancelQuestionsForSession: cancelQuestionsForSession2, cancelPathConfirmationsForSession: cancelPathConfirmationsForSession2 } = await import("./tools-A3NNFIKG.js");
5847
5847
  stopSessionExecution(sessionId, sessionManager);
5848
5848
  abortSession(sessionId);
5849
5849
  cancelQuestionsForSession2(sessionId, "Session stopped by user");
@@ -5880,13 +5880,13 @@ async function createServerHandle(config) {
5880
5880
  res.json({ accepted: true });
5881
5881
  });
5882
5882
  app.get("/api/settings/:key", async (req, res) => {
5883
- const { getSetting, SETTINGS_DEFAULTS } = await import("./settings-TWK27GYE.js");
5883
+ const { getSetting, SETTINGS_DEFAULTS } = await import("./settings-NI4ITGV6.js");
5884
5884
  const key = req.params.key;
5885
5885
  const value = getSetting(key) ?? SETTINGS_DEFAULTS[key] ?? null;
5886
5886
  res.json({ key, value });
5887
5887
  });
5888
5888
  app.put("/api/settings/:key", async (req, res) => {
5889
- const { setSetting } = await import("./settings-TWK27GYE.js");
5889
+ const { setSetting } = await import("./settings-NI4ITGV6.js");
5890
5890
  const key = req.params.key;
5891
5891
  const { value } = req.body;
5892
5892
  if (value === void 0) {
@@ -6302,7 +6302,7 @@ async function createServerHandle(config) {
6302
6302
  providerManager
6303
6303
  );
6304
6304
  const wss = wssExports.wss;
6305
- const { QueueProcessor } = await import("./processor-ISY5OU5E.js");
6305
+ const { QueueProcessor } = await import("./processor-EFJ7OJEL.js");
6306
6306
  const queueProcessor = new QueueProcessor({
6307
6307
  sessionManager,
6308
6308
  providerManager,
@@ -6375,4 +6375,4 @@ export {
6375
6375
  createServerHandle,
6376
6376
  createServer
6377
6377
  };
6378
- //# sourceMappingURL=chunk-MIG4XMTI.js.map
6378
+ //# sourceMappingURL=chunk-57Q2NVVZ.js.map
@@ -43,7 +43,7 @@ import {
43
43
  deleteSetting,
44
44
  getSetting,
45
45
  setSetting
46
- } from "./chunk-O2BOWZKC.js";
46
+ } from "./chunk-GQZGIMJO.js";
47
47
  import {
48
48
  getGlobalConfigDir
49
49
  } from "./chunk-R4HADRYO.js";
@@ -3351,7 +3351,7 @@ var callSubAgentTool = {
3351
3351
  };
3352
3352
  }
3353
3353
  try {
3354
- const { getToolRegistryForAgent: getToolRegistryForAgent2 } = await import("./tools-EVB6JNKF.js");
3354
+ const { getToolRegistryForAgent: getToolRegistryForAgent2 } = await import("./tools-A3NNFIKG.js");
3355
3355
  const toolRegistry = getToolRegistryForAgent2(agentDef);
3356
3356
  const turnMetrics = new TurnMetrics();
3357
3357
  const result = await executeSubAgent({
@@ -4480,4 +4480,4 @@ export {
4480
4480
  getToolRegistryForAgent,
4481
4481
  createToolRegistry
4482
4482
  };
4483
- //# sourceMappingURL=chunk-QFOT3J6I.js.map
4483
+ //# sourceMappingURL=chunk-7F3V7C23.js.map
@@ -9,7 +9,9 @@ var SETTINGS_KEYS = {
9
9
  DISPLAY_SHOW_VERBOSE_TOOL_OUTPUT: "display.showVerboseToolOutput",
10
10
  DISPLAY_SHOW_STATS: "display.showStats",
11
11
  DISPLAY_SHOW_AGENT_DEFINITIONS: "display.showAgentDefinitions",
12
- DISPLAY_SHOW_WORKFLOW_BARS: "display.showWorkflowBars"
12
+ DISPLAY_SHOW_WORKFLOW_BARS: "display.showWorkflowBars",
13
+ DISPLAY_THEME: "display.theme",
14
+ DISPLAY_USER_PRESETS: "display.userPresets"
13
15
  };
14
16
  var SETTINGS_DEFAULTS = {
15
17
  [SETTINGS_KEYS.DISPLAY_SHOW_THINKING]: "true",
@@ -56,4 +58,4 @@ export {
56
58
  deleteSetting,
57
59
  getAllSettings
58
60
  };
59
- //# sourceMappingURL=chunk-O2BOWZKC.js.map
61
+ //# sourceMappingURL=chunk-GQZGIMJO.js.map
@@ -13,7 +13,7 @@ import {
13
13
  getToolRegistryForAgent,
14
14
  loadAllAgentsDefault,
15
15
  runTopLevelAgentLoop
16
- } from "./chunk-QFOT3J6I.js";
16
+ } from "./chunk-7F3V7C23.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-VCVHYZZS.js.map
296
+ //# sourceMappingURL=chunk-IHBD5H7A.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-HFJLUGA3.js");
182
+ const { runServe } = await import("./serve-Z2THSAIR.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-K3CI5UEC.js.map
195
+ //# sourceMappingURL=chunk-J6YKMO3O.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-K3CI5UEC.js";
4
+ } from "../chunk-J6YKMO3O.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-K3CI5UEC.js";
4
+ } from "../chunk-J6YKMO3O.js";
5
5
  import {
6
6
  logger
7
7
  } from "../chunk-PNBH3RAX.js";
@@ -1,10 +1,18 @@
1
1
  #!/bin/bash
2
2
  set -e
3
3
 
4
- OLD_VERSION=$(openfox --version)
4
+ CURRENT_VERSION=$(openfox --version)
5
+ LATEST_VERSION=$(npm view openfox version)
6
+
7
+ if [ "$CURRENT_VERSION" = "$LATEST_VERSION" ]; then
8
+ echo "OpenFox is already at the latest version: $CURRENT_VERSION"
9
+ exit 0
10
+ fi
11
+
12
+ echo "Updating OpenFox: $CURRENT_VERSION -> $LATEST_VERSION"
5
13
  openfox service stop
6
14
  npm cache clean --force
7
15
  npm update -g openfox
8
16
  NEW_VERSION=$(openfox --version)
9
17
  openfox service start
10
- echo "Updated: $OLD_VERSION -> $NEW_VERSION"
18
+ echo "Updated: $NEW_VERSION"
@@ -3,7 +3,7 @@ import {
3
3
  runBuilderTurn,
4
4
  runChatTurn,
5
5
  runVerifierTurn
6
- } from "./chunk-VCVHYZZS.js";
6
+ } from "./chunk-IHBD5H7A.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-QFOT3J6I.js";
14
+ } from "./chunk-7F3V7C23.js";
15
15
  import "./chunk-NBU6KIOD.js";
16
16
  import "./chunk-574HZVLE.js";
17
17
  import "./chunk-7JPKRM6M.js";
@@ -20,7 +20,7 @@ import "./chunk-YVQ6DP5Y.js";
20
20
  import "./chunk-LIMBYVO4.js";
21
21
  import "./chunk-DZHZ3UUR.js";
22
22
  import "./chunk-22CTURMH.js";
23
- import "./chunk-O2BOWZKC.js";
23
+ import "./chunk-GQZGIMJO.js";
24
24
  import "./chunk-BLNFJ22S.js";
25
25
  import "./chunk-Y6HBEACI.js";
26
26
  import "./chunk-R4HADRYO.js";
@@ -39,4 +39,4 @@ export {
39
39
  runChatTurn,
40
40
  runVerifierTurn
41
41
  };
42
- //# sourceMappingURL=orchestrator-M2XGDN3F.js.map
42
+ //# sourceMappingURL=orchestrator-7TPFEM3P.js.map
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "openfox",
3
- "version": "1.6.42",
3
+ "version": "1.6.44",
4
4
  "description": "Local-LLM-first agentic coding assistant",
5
5
  "type": "module",
6
6
  "bin": {
@@ -175,7 +175,7 @@ var QueueProcessor = class {
175
175
  backend: provider?.backend ?? llmClient.getBackend(),
176
176
  model: llmClient.getModel()
177
177
  };
178
- const { runChatTurn } = await import("./orchestrator-M2XGDN3F.js");
178
+ const { runChatTurn } = await import("./orchestrator-7TPFEM3P.js");
179
179
  const runChatTurnParams = buildRunChatTurnParams({
180
180
  sessionManager,
181
181
  sessionId,
@@ -208,4 +208,4 @@ var QueueProcessor = class {
208
208
  export {
209
209
  QueueProcessor
210
210
  };
211
- //# sourceMappingURL=processor-ISY5OU5E.js.map
211
+ //# sourceMappingURL=processor-EFJ7OJEL.js.map
@@ -6,10 +6,10 @@ import {
6
6
  import {
7
7
  VERSION,
8
8
  createServer
9
- } from "./chunk-MIG4XMTI.js";
9
+ } from "./chunk-57Q2NVVZ.js";
10
10
  import "./chunk-BHSTSA7U.js";
11
- import "./chunk-VCVHYZZS.js";
12
- import "./chunk-QFOT3J6I.js";
11
+ import "./chunk-IHBD5H7A.js";
12
+ import "./chunk-7F3V7C23.js";
13
13
  import "./chunk-NBU6KIOD.js";
14
14
  import "./chunk-574HZVLE.js";
15
15
  import "./chunk-7JPKRM6M.js";
@@ -20,7 +20,7 @@ import "./chunk-YVQ6DP5Y.js";
20
20
  import "./chunk-LIMBYVO4.js";
21
21
  import "./chunk-DZHZ3UUR.js";
22
22
  import "./chunk-22CTURMH.js";
23
- import "./chunk-O2BOWZKC.js";
23
+ import "./chunk-GQZGIMJO.js";
24
24
  import "./chunk-BLNFJ22S.js";
25
25
  import "./chunk-B7E3BICY.js";
26
26
  import "./chunk-Y6HBEACI.js";
@@ -188,4 +188,4 @@ async function runServe(options) {
188
188
  export {
189
189
  runServe
190
190
  };
191
- //# sourceMappingURL=serve-HFJLUGA3.js.map
191
+ //# sourceMappingURL=serve-Z2THSAIR.js.map
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  createServer,
3
3
  createServerHandle
4
- } from "../chunk-MIG4XMTI.js";
4
+ } from "../chunk-57Q2NVVZ.js";
5
5
  import "../chunk-BHSTSA7U.js";
6
- import "../chunk-VCVHYZZS.js";
7
- import "../chunk-QFOT3J6I.js";
6
+ import "../chunk-IHBD5H7A.js";
7
+ import "../chunk-7F3V7C23.js";
8
8
  import "../chunk-NBU6KIOD.js";
9
9
  import "../chunk-574HZVLE.js";
10
10
  import "../chunk-7JPKRM6M.js";
@@ -15,7 +15,7 @@ import "../chunk-YVQ6DP5Y.js";
15
15
  import "../chunk-LIMBYVO4.js";
16
16
  import "../chunk-DZHZ3UUR.js";
17
17
  import "../chunk-22CTURMH.js";
18
- import "../chunk-O2BOWZKC.js";
18
+ import "../chunk-GQZGIMJO.js";
19
19
  import "../chunk-BLNFJ22S.js";
20
20
  import "../chunk-B7E3BICY.js";
21
21
  import "../chunk-Y6HBEACI.js";
@@ -5,7 +5,7 @@ import {
5
5
  getAllSettings,
6
6
  getSetting,
7
7
  setSetting
8
- } from "./chunk-O2BOWZKC.js";
8
+ } from "./chunk-GQZGIMJO.js";
9
9
  import "./chunk-BLNFJ22S.js";
10
10
  import "./chunk-PNBH3RAX.js";
11
11
  export {
@@ -16,4 +16,4 @@ export {
16
16
  getSetting,
17
17
  setSetting
18
18
  };
19
- //# sourceMappingURL=settings-TWK27GYE.js.map
19
+ //# sourceMappingURL=settings-NI4ITGV6.js.map
@@ -11,7 +11,7 @@ import {
11
11
  requestPathAccess,
12
12
  stepDoneTool,
13
13
  validateToolAction
14
- } from "./chunk-QFOT3J6I.js";
14
+ } from "./chunk-7F3V7C23.js";
15
15
  import "./chunk-NBU6KIOD.js";
16
16
  import "./chunk-574HZVLE.js";
17
17
  import "./chunk-7JPKRM6M.js";
@@ -24,7 +24,7 @@ import {
24
24
  cancelQuestionsForSession,
25
25
  provideAnswer
26
26
  } from "./chunk-22CTURMH.js";
27
- import "./chunk-O2BOWZKC.js";
27
+ import "./chunk-GQZGIMJO.js";
28
28
  import "./chunk-BLNFJ22S.js";
29
29
  import "./chunk-Y6HBEACI.js";
30
30
  import "./chunk-R4HADRYO.js";
@@ -48,4 +48,4 @@ export {
48
48
  stepDoneTool,
49
49
  validateToolAction
50
50
  };
51
- //# sourceMappingURL=tools-EVB6JNKF.js.map
51
+ //# sourceMappingURL=tools-A3NNFIKG.js.map