openfox 1.5.0 → 1.5.2

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-SDRFMWBP.js";
5
+ } from "./chunk-GXVA5W7Q.js";
6
6
  import "./chunk-XFXOSPYH.js";
7
7
  import "./chunk-NW7PIZH3.js";
8
8
  import "./chunk-WQ4W5H6A.js";
@@ -20,4 +20,4 @@ export {
20
20
  performManualContextCompaction,
21
21
  resolveCompactionStatsIdentity
22
22
  };
23
- //# sourceMappingURL=auto-compaction-PLUVACIZ.js.map
23
+ //# sourceMappingURL=auto-compaction-MNK2FZ6E.js.map
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  runChatTurn
3
- } from "./chunk-CGUR45BP.js";
4
- import "./chunk-SDRFMWBP.js";
3
+ } from "./chunk-F7PUG5WA.js";
4
+ import "./chunk-GXVA5W7Q.js";
5
5
  import {
6
6
  generateSessionName,
7
7
  needsNameGeneration
@@ -59,7 +59,7 @@ async function startChatSession(sessionId, content, deps, options) {
59
59
  sessionManager.setRunning(sessionId, true);
60
60
  broadcastForSession(sessionId, createSessionRunningMessage(true));
61
61
  try {
62
- const { maybeAutoCompactContext } = await import("./auto-compaction-PLUVACIZ.js");
62
+ const { maybeAutoCompactContext } = await import("./auto-compaction-MNK2FZ6E.js");
63
63
  await maybeAutoCompactContext({
64
64
  sessionManager,
65
65
  sessionId,
@@ -198,4 +198,4 @@ export {
198
198
  startChatSession,
199
199
  stopSessionExecution
200
200
  };
201
- //# sourceMappingURL=chat-handler-WH2DZLWN.js.map
201
+ //# sourceMappingURL=chat-handler-Y7KR2RLL.js.map
@@ -154,7 +154,7 @@ async function runCli(options) {
154
154
  if (!configExists) {
155
155
  await runNetworkSetup(mode);
156
156
  }
157
- const { runServe } = await import("./serve-XX2UY3ID.js");
157
+ const { runServe } = await import("./serve-JJLKBQXS.js");
158
158
  await runServe({
159
159
  mode,
160
160
  port: values.port ? parseInt(values.port) : void 0,
@@ -167,4 +167,4 @@ async function runCli(options) {
167
167
  export {
168
168
  runCli
169
169
  };
170
- //# sourceMappingURL=chunk-DGYNNFLS.js.map
170
+ //# sourceMappingURL=chunk-6PV24MJB.js.map
@@ -13,7 +13,7 @@ import {
13
13
  getToolRegistryForAgent,
14
14
  loadAllAgentsDefault,
15
15
  runTopLevelAgentLoop
16
- } from "./chunk-SDRFMWBP.js";
16
+ } from "./chunk-GXVA5W7Q.js";
17
17
  import {
18
18
  getCurrentContextWindowId,
19
19
  getEventStore
@@ -311,4 +311,4 @@ export {
311
311
  runBuilderTurn,
312
312
  runVerifierTurn
313
313
  };
314
- //# sourceMappingURL=chunk-CGUR45BP.js.map
314
+ //# sourceMappingURL=chunk-F7PUG5WA.js.map
@@ -749,8 +749,7 @@ async function consumeStreamWithToolLoop(options) {
749
749
  statsIdentity,
750
750
  dangerLevel
751
751
  } = options;
752
- const systemMsg = { role: "system", content: systemPrompt };
753
- let currentMessages = [systemMsg, ...messages];
752
+ let currentMessages = [...messages];
754
753
  let iterations = 0;
755
754
  for (; ; ) {
756
755
  if (signal?.aborted) {
@@ -769,7 +768,7 @@ async function consumeStreamWithToolLoop(options) {
769
768
  }
770
769
  const streamGen = streamLLMPure({
771
770
  messageId,
772
- systemPrompt: "",
771
+ systemPrompt,
773
772
  llmClient,
774
773
  messages: currentMessages,
775
774
  tools,
@@ -3608,7 +3607,7 @@ var callSubAgentTool = {
3608
3607
  };
3609
3608
  }
3610
3609
  try {
3611
- const { getToolRegistryForAgent: getToolRegistryForAgent2 } = await import("./tools-DGYGRPUZ.js");
3610
+ const { getToolRegistryForAgent: getToolRegistryForAgent2 } = await import("./tools-MY4TPRP4.js");
3612
3611
  const toolRegistry = getToolRegistryForAgent2(agentDef);
3613
3612
  const turnMetrics = new TurnMetrics();
3614
3613
  const result = await executeSubAgent({
@@ -4591,4 +4590,4 @@ export {
4591
4590
  getToolRegistryForAgent,
4592
4591
  createToolRegistry
4593
4592
  };
4594
- //# sourceMappingURL=chunk-SDRFMWBP.js.map
4593
+ //# sourceMappingURL=chunk-GXVA5W7Q.js.map
@@ -2,7 +2,7 @@ import {
2
2
  createVerifierNudgeConfig,
3
3
  runBuilderTurn,
4
4
  runChatTurn
5
- } from "./chunk-CGUR45BP.js";
5
+ } from "./chunk-F7PUG5WA.js";
6
6
  import {
7
7
  TurnMetrics,
8
8
  agentExists,
@@ -40,7 +40,7 @@ import {
40
40
  saveSkill,
41
41
  setSkillEnabled,
42
42
  skillExists
43
- } from "./chunk-SDRFMWBP.js";
43
+ } from "./chunk-GXVA5W7Q.js";
44
44
  import {
45
45
  generateSessionName,
46
46
  needsNameGeneration
@@ -5853,7 +5853,7 @@ async function createServerHandle(config) {
5853
5853
  if (!callId || approved === void 0) {
5854
5854
  return res.status(400).json({ error: "callId and approved are required" });
5855
5855
  }
5856
- const { providePathConfirmation: providePathConfirmation2 } = await import("./tools-DGYGRPUZ.js");
5856
+ const { providePathConfirmation: providePathConfirmation2 } = await import("./tools-MY4TPRP4.js");
5857
5857
  const result = providePathConfirmation2(callId, approved, alwaysAllow);
5858
5858
  if (!result.found) {
5859
5859
  return res.status(404).json({ error: "No pending path confirmation with that ID" });
@@ -5878,7 +5878,7 @@ async function createServerHandle(config) {
5878
5878
  if (!callId || !answer) {
5879
5879
  return res.status(400).json({ error: "callId and answer are required" });
5880
5880
  }
5881
- const { provideAnswer: provideAnswer2 } = await import("./tools-DGYGRPUZ.js");
5881
+ const { provideAnswer: provideAnswer2 } = await import("./tools-MY4TPRP4.js");
5882
5882
  const found = provideAnswer2(callId, answer);
5883
5883
  if (!found) {
5884
5884
  return res.status(404).json({ error: "No pending question with that ID" });
@@ -5914,8 +5914,8 @@ async function createServerHandle(config) {
5914
5914
  if (!session) {
5915
5915
  return res.status(404).json({ error: "Session not found" });
5916
5916
  }
5917
- const { stopSessionExecution } = await import("./chat-handler-WH2DZLWN.js");
5918
- const { cancelQuestionsForSession: cancelQuestionsForSession2, cancelPathConfirmationsForSession: cancelPathConfirmationsForSession2 } = await import("./tools-DGYGRPUZ.js");
5917
+ const { stopSessionExecution } = await import("./chat-handler-Y7KR2RLL.js");
5918
+ const { cancelQuestionsForSession: cancelQuestionsForSession2, cancelPathConfirmationsForSession: cancelPathConfirmationsForSession2 } = await import("./tools-MY4TPRP4.js");
5919
5919
  stopSessionExecution(sessionId, sessionManager);
5920
5920
  abortSession(sessionId);
5921
5921
  cancelQuestionsForSession2(sessionId, "Session stopped by user");
@@ -6341,7 +6341,7 @@ async function createServerHandle(config) {
6341
6341
  providerManager
6342
6342
  );
6343
6343
  const wss = wssExports.wss;
6344
- const { QueueProcessor } = await import("./processor-GFCR73FQ.js");
6344
+ const { QueueProcessor } = await import("./processor-BFTXIEDV.js");
6345
6345
  const queueProcessor = new QueueProcessor({
6346
6346
  sessionManager,
6347
6347
  providerManager,
@@ -6411,4 +6411,4 @@ export {
6411
6411
  createServerHandle,
6412
6412
  createServer
6413
6413
  };
6414
- //# sourceMappingURL=chunk-ZY3YGCDZ.js.map
6414
+ //# sourceMappingURL=chunk-UBWZDTZ4.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-DGYNNFLS.js";
4
+ } from "../chunk-6PV24MJB.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-DGYNNFLS.js";
4
+ } from "../chunk-6PV24MJB.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-CGUR45BP.js";
6
+ } from "./chunk-F7PUG5WA.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-SDRFMWBP.js";
14
+ } from "./chunk-GXVA5W7Q.js";
15
15
  import "./chunk-XFXOSPYH.js";
16
16
  import "./chunk-NW7PIZH3.js";
17
17
  import "./chunk-WQ4W5H6A.js";
@@ -36,4 +36,4 @@ export {
36
36
  runChatTurn,
37
37
  runVerifierTurn
38
38
  };
39
- //# sourceMappingURL=orchestrator-545FRLUM.js.map
39
+ //# sourceMappingURL=orchestrator-QGFC5QB6.js.map
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "openfox",
3
- "version": "1.5.0",
3
+ "version": "1.5.2",
4
4
  "description": "Local-LLM-first agentic coding assistant",
5
5
  "type": "module",
6
6
  "bin": {
@@ -188,7 +188,7 @@ var QueueProcessor = class {
188
188
  backend: provider?.backend ?? llmClient.getBackend(),
189
189
  model: llmClient.getModel()
190
190
  };
191
- const { runChatTurn } = await import("./orchestrator-545FRLUM.js");
191
+ const { runChatTurn } = await import("./orchestrator-QGFC5QB6.js");
192
192
  runChatTurn({
193
193
  sessionManager,
194
194
  sessionId,
@@ -233,4 +233,4 @@ var QueueProcessor = class {
233
233
  export {
234
234
  QueueProcessor
235
235
  };
236
- //# sourceMappingURL=processor-GFCR73FQ.js.map
236
+ //# sourceMappingURL=processor-BFTXIEDV.js.map
@@ -5,9 +5,9 @@ import {
5
5
  } from "./chunk-ICPQDI4L.js";
6
6
  import {
7
7
  createServer
8
- } from "./chunk-ZY3YGCDZ.js";
9
- import "./chunk-CGUR45BP.js";
10
- import "./chunk-SDRFMWBP.js";
8
+ } from "./chunk-UBWZDTZ4.js";
9
+ import "./chunk-F7PUG5WA.js";
10
+ import "./chunk-GXVA5W7Q.js";
11
11
  import "./chunk-QDEKU5RL.js";
12
12
  import "./chunk-PJRARONG.js";
13
13
  import "./chunk-UNCPQRFP.js";
@@ -39,7 +39,7 @@ import os from "os";
39
39
  import { statSync } from "fs";
40
40
 
41
41
  // src/constants.ts
42
- var VERSION = "1.5.0";
42
+ var VERSION = "1.5.2";
43
43
 
44
44
  // src/server/utils/network.ts
45
45
  function getNetworkInterfaces() {
@@ -190,4 +190,4 @@ async function runServe(options) {
190
190
  export {
191
191
  runServe
192
192
  };
193
- //# sourceMappingURL=serve-XX2UY3ID.js.map
193
+ //# sourceMappingURL=serve-JJLKBQXS.js.map
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  createServer,
3
3
  createServerHandle
4
- } from "../chunk-ZY3YGCDZ.js";
5
- import "../chunk-CGUR45BP.js";
6
- import "../chunk-SDRFMWBP.js";
4
+ } from "../chunk-UBWZDTZ4.js";
5
+ import "../chunk-F7PUG5WA.js";
6
+ import "../chunk-GXVA5W7Q.js";
7
7
  import "../chunk-QDEKU5RL.js";
8
8
  import "../chunk-PJRARONG.js";
9
9
  import "../chunk-UNCPQRFP.js";
@@ -11,7 +11,7 @@ import {
11
11
  requestPathAccess,
12
12
  stepDoneTool,
13
13
  validateToolAction
14
- } from "./chunk-SDRFMWBP.js";
14
+ } from "./chunk-GXVA5W7Q.js";
15
15
  import "./chunk-XFXOSPYH.js";
16
16
  import "./chunk-NW7PIZH3.js";
17
17
  import "./chunk-WQ4W5H6A.js";
@@ -45,4 +45,4 @@ export {
45
45
  stepDoneTool,
46
46
  validateToolAction
47
47
  };
48
- //# sourceMappingURL=tools-DGYGRPUZ.js.map
48
+ //# sourceMappingURL=tools-MY4TPRP4.js.map