openfox 1.6.10 → 1.6.12

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.
Files changed (28) hide show
  1. package/dist/{auto-compaction-TO5ZFBHJ.js → auto-compaction-QPFQEWJG.js} +3 -3
  2. package/dist/{chat-handler-LMJRCJP6.js → chat-handler-2UOSZFD5.js} +5 -5
  3. package/dist/{chunk-JAPO2RFN.js → chunk-AKFLBPPY.js} +6 -5
  4. package/dist/{chunk-UEGMJSZ4.js → chunk-E6FCNB3B.js} +7 -6
  5. package/dist/{chunk-AAANAQ6F.js → chunk-KEGLM5LP.js} +20 -20
  6. package/dist/{chunk-4DPU247N.js → chunk-NJWPSSRW.js} +6 -13
  7. package/dist/{chunk-ULFVGMM4.js → chunk-OIHAK52U.js} +6 -6
  8. package/dist/{chunk-E5HHQZBT.js → chunk-POJO7A5H.js} +3 -3
  9. package/dist/{chunk-RVH2BAFJ.js → chunk-TXQNRBMZ.js} +2 -2
  10. package/dist/{chunk-BA6N4ODY.js → chunk-VHL7T6J7.js} +4 -4
  11. package/dist/{chunk-GHQIXIXJ.js → chunk-ZHGP4PBJ.js} +2 -2
  12. package/dist/cli/dev.js +1 -1
  13. package/dist/cli/index.js +1 -1
  14. package/dist/{config-NKSOG74V.js → config-TUA644W4.js} +4 -4
  15. package/dist/{orchestrator-YXTDPRGR.js → orchestrator-QPDEHCH2.js} +4 -4
  16. package/dist/package.json +1 -1
  17. package/dist/{processor-3EZXTCQD.js → processor-2D73CQX6.js} +3 -3
  18. package/dist/{protocol-EX726YIK.js → protocol-KUKFSV5U.js} +2 -2
  19. package/dist/{provider-7YPFD3O5.js → provider-FNSGWDIW.js} +6 -6
  20. package/dist/{serve-D4L4M7KF.js → serve-AJCE73PP.js} +9 -9
  21. package/dist/server/index.js +7 -7
  22. package/dist/{tools-2ZZVCIIL.js → tools-JWAF3MAR.js} +3 -3
  23. package/dist/{vision-fallback-JXAQ5VGZ.js → vision-fallback-BWCKA2FZ.js} +2 -2
  24. package/dist/web/assets/{index-BJ3JBAmx.js → index-Cp8gfbgP.js} +9 -9
  25. package/dist/web/assets/{index-DU5iwTlK.css → index-MCWDS5UQ.css} +1 -1
  26. package/dist/web/index.html +2 -2
  27. package/dist/web/sw.js +1 -1
  28. package/package.json +1 -1
@@ -2,13 +2,13 @@ import {
2
2
  maybeAutoCompactContext,
3
3
  performManualContextCompaction,
4
4
  resolveCompactionStatsIdentity
5
- } from "./chunk-E5HHQZBT.js";
5
+ } from "./chunk-POJO7A5H.js";
6
6
  import "./chunk-NBU6KIOD.js";
7
7
  import "./chunk-574HZVLE.js";
8
8
  import "./chunk-XFXOSPYH.js";
9
9
  import "./chunk-ZRDRYL6W.js";
10
10
  import "./chunk-WQ4W5H6A.js";
11
- import "./chunk-4DPU247N.js";
11
+ import "./chunk-NJWPSSRW.js";
12
12
  import "./chunk-5LDTVERY.js";
13
13
  import "./chunk-7IOZFJBW.js";
14
14
  import "./chunk-XKFPU2FA.js";
@@ -22,4 +22,4 @@ export {
22
22
  performManualContextCompaction,
23
23
  resolveCompactionStatsIdentity
24
24
  };
25
- //# sourceMappingURL=auto-compaction-TO5ZFBHJ.js.map
25
+ //# sourceMappingURL=auto-compaction-QPFQEWJG.js.map
@@ -4,8 +4,8 @@ import {
4
4
  } from "./chunk-QDEKU5RL.js";
5
5
  import {
6
6
  runChatTurn
7
- } from "./chunk-BA6N4ODY.js";
8
- import "./chunk-E5HHQZBT.js";
7
+ } from "./chunk-VHL7T6J7.js";
8
+ import "./chunk-POJO7A5H.js";
9
9
  import "./chunk-NBU6KIOD.js";
10
10
  import "./chunk-574HZVLE.js";
11
11
  import "./chunk-XFXOSPYH.js";
@@ -23,7 +23,7 @@ import {
23
23
  createPhaseChangedMessage,
24
24
  createSessionRunningMessage,
25
25
  createSessionStateMessage
26
- } from "./chunk-4DPU247N.js";
26
+ } from "./chunk-NJWPSSRW.js";
27
27
  import "./chunk-5LDTVERY.js";
28
28
  import "./chunk-7IOZFJBW.js";
29
29
  import "./chunk-XKFPU2FA.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-TO5ZFBHJ.js");
64
+ const { maybeAutoCompactContext } = await import("./auto-compaction-QPFQEWJG.js");
65
65
  await maybeAutoCompactContext({
66
66
  sessionManager,
67
67
  sessionId,
@@ -200,4 +200,4 @@ export {
200
200
  startChatSession,
201
201
  stopSessionExecution
202
202
  };
203
- //# sourceMappingURL=chat-handler-LMJRCJP6.js.map
203
+ //# sourceMappingURL=chat-handler-2UOSZFD5.js.map
@@ -29,7 +29,7 @@ function isVisionFallbackEnabled() {
29
29
  async function ensureVisionFallbackConfigLoaded() {
30
30
  if (configLoaded) return;
31
31
  try {
32
- const { loadGlobalConfig, getVisionFallback } = await import("./config-NKSOG74V.js");
32
+ const { loadGlobalConfig, getVisionFallback } = await import("./config-TUA644W4.js");
33
33
  const { getRuntimeConfig } = await import("./runtime-config-2XJJIMSC.js");
34
34
  const runtimeConfig = getRuntimeConfig();
35
35
  const mode = runtimeConfig.mode ?? "production";
@@ -82,15 +82,16 @@ Context: ${options.context}` : IMAGE_PROMPT,
82
82
  stream: false,
83
83
  think: false
84
84
  };
85
- const controller = new AbortController();
86
- const timeoutId = setTimeout(() => controller.abort(), timeout);
85
+ const timeoutController = new AbortController();
86
+ const timeoutId = setTimeout(() => timeoutController.abort(), timeout);
87
+ const signal = options?.signal ? AbortSignal.any([timeoutController.signal, options.signal]) : timeoutController.signal;
87
88
  const response = await fetch(url, {
88
89
  method: "POST",
89
90
  headers: {
90
91
  "Content-Type": "application/json"
91
92
  },
92
93
  body: JSON.stringify(requestBody),
93
- signal: controller.signal
94
+ signal
94
95
  });
95
96
  clearTimeout(timeoutId);
96
97
  if (!response.ok) {
@@ -134,4 +135,4 @@ export {
134
135
  describeImage,
135
136
  describeImageFromDataUrl
136
137
  };
137
- //# sourceMappingURL=chunk-JAPO2RFN.js.map
138
+ //# sourceMappingURL=chunk-AKFLBPPY.js.map
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  describeImageFromDataUrl,
3
3
  ensureVisionFallbackConfigLoaded
4
- } from "./chunk-JAPO2RFN.js";
4
+ } from "./chunk-AKFLBPPY.js";
5
5
  import {
6
6
  logger
7
7
  } from "./chunk-PNBH3RAX.js";
@@ -528,7 +528,7 @@ async function convertAttachmentWithFallback(attachment, options) {
528
528
  logger.debug("[VisionFallback] Starting delegation for:", { attachmentId, filename });
529
529
  options.onVisionFallbackStart?.(attachmentId, filename);
530
530
  const context = filename ? `File: ${filename}` : void 0;
531
- const description = await describeImageFromDataUrl(attachment.data, context ? { context } : {});
531
+ const description = await describeImageFromDataUrl(attachment.data, { context, signal: options.signal });
532
532
  logger.debug("[VisionFallback] Delegation complete:", { attachmentId, descriptionLength: description.length });
533
533
  options.onVisionFallbackDone?.(attachmentId, description);
534
534
  return {
@@ -699,6 +699,7 @@ async function buildNonStreamingCreateParams(input) {
699
699
  const options = {
700
700
  modelSupportsVision,
701
701
  visionFallbackEnabled,
702
+ signal: request.signal,
702
703
  onVisionFallbackStart,
703
704
  onVisionFallbackDone
704
705
  };
@@ -727,7 +728,7 @@ async function buildStreamingCreateParams(input) {
727
728
  const { model, request, profile, capabilities, disableThinking, visionFallbackEnabled = false, onVisionFallbackStart, onVisionFallbackDone } = input;
728
729
  const messages = request.messages;
729
730
  const modelSupportsVision = profile.supportsVision ?? false;
730
- const options = { modelSupportsVision, visionFallbackEnabled, onVisionFallbackStart, onVisionFallbackDone };
731
+ const options = { modelSupportsVision, visionFallbackEnabled, signal: request.signal, onVisionFallbackStart, onVisionFallbackDone };
731
732
  const convertedMessages = needsVisionFallback(messages, modelSupportsVision, visionFallbackEnabled) ? await convertMessagesWithFallback(messages, options) : convertMessages(messages, { modelSupportsVision, visionFallbackEnabled: false });
732
733
  const params = {
733
734
  model,
@@ -829,7 +830,7 @@ function createLLMClient(config, initialBackend = "unknown") {
829
830
  try {
830
831
  const shouldDisableThinking = disableThinking || request.disableThinking === true;
831
832
  await ensureVisionFallbackConfigLoaded();
832
- const { isVisionFallbackEnabled } = await import("./vision-fallback-JXAQ5VGZ.js");
833
+ const { isVisionFallbackEnabled } = await import("./vision-fallback-BWCKA2FZ.js");
833
834
  const paramsOptions = {
834
835
  model,
835
836
  request,
@@ -907,7 +908,7 @@ function createLLMClient(config, initialBackend = "unknown") {
907
908
  });
908
909
  try {
909
910
  await ensureVisionFallbackConfigLoaded();
910
- const { isVisionFallbackEnabled } = await import("./vision-fallback-JXAQ5VGZ.js");
911
+ const { isVisionFallbackEnabled } = await import("./vision-fallback-BWCKA2FZ.js");
911
912
  const shouldDisableThinking = disableThinking || request.disableThinking === true;
912
913
  const createParams = await buildStreamingCreateParams({
913
914
  model,
@@ -1123,4 +1124,4 @@ export {
1123
1124
  setLlmStatus,
1124
1125
  clearModelCache
1125
1126
  };
1126
- //# sourceMappingURL=chunk-UEGMJSZ4.js.map
1127
+ //# sourceMappingURL=chunk-E6FCNB3B.js.map
@@ -6,7 +6,7 @@ import {
6
6
  createVerifierNudgeConfig,
7
7
  runBuilderTurn,
8
8
  runChatTurn
9
- } from "./chunk-BA6N4ODY.js";
9
+ } from "./chunk-VHL7T6J7.js";
10
10
  import {
11
11
  TurnMetrics,
12
12
  agentExists,
@@ -44,7 +44,7 @@ import {
44
44
  saveSkill,
45
45
  setSkillEnabled,
46
46
  skillExists
47
- } from "./chunk-E5HHQZBT.js";
47
+ } from "./chunk-POJO7A5H.js";
48
48
  import {
49
49
  getPathSeparator,
50
50
  getPlatformShell,
@@ -54,7 +54,7 @@ import {
54
54
  import {
55
55
  createProviderManager,
56
56
  parseDefaultModelSelection
57
- } from "./chunk-GHQIXIXJ.js";
57
+ } from "./chunk-ZHGP4PBJ.js";
58
58
  import {
59
59
  SessionNotFoundError,
60
60
  createLLMClient,
@@ -63,7 +63,7 @@ import {
63
63
  getBackendDisplayName,
64
64
  getLlmStatus,
65
65
  getModelProfile
66
- } from "./chunk-UEGMJSZ4.js";
66
+ } from "./chunk-E6FCNB3B.js";
67
67
  import {
68
68
  createSession,
69
69
  deleteSession,
@@ -110,7 +110,7 @@ import {
110
110
  parseClientMessage,
111
111
  serializeServerMessage,
112
112
  storedEventToServerMessage
113
- } from "./chunk-4DPU247N.js";
113
+ } from "./chunk-NJWPSSRW.js";
114
114
  import {
115
115
  EventEmitter,
116
116
  cancelQuestionsForSession,
@@ -5544,7 +5544,7 @@ function createTerminalRoutes() {
5544
5544
  }
5545
5545
 
5546
5546
  // src/constants.ts
5547
- var VERSION = "1.6.10";
5547
+ var VERSION = "1.6.12";
5548
5548
 
5549
5549
  // src/server/index.ts
5550
5550
  var __dirname2 = dirname5(fileURLToPath4(import.meta.url));
@@ -5785,7 +5785,7 @@ async function createServerHandle(config) {
5785
5785
  return res.status(400).json({ error: "providerId is required" });
5786
5786
  }
5787
5787
  sessionManager.setSessionProvider(sessionId, providerId, model ?? "auto");
5788
- const { loadGlobalConfig, saveGlobalConfig, setDefaultModelSelection } = await import("./config-NKSOG74V.js");
5788
+ const { loadGlobalConfig, saveGlobalConfig, setDefaultModelSelection } = await import("./config-TUA644W4.js");
5789
5789
  const globalConfig = await loadGlobalConfig(config.mode ?? "production");
5790
5790
  const updatedConfig = setDefaultModelSelection(globalConfig, providerId, model ?? "auto");
5791
5791
  await saveGlobalConfig(config.mode ?? "production", updatedConfig);
@@ -5850,14 +5850,14 @@ async function createServerHandle(config) {
5850
5850
  if (!callId || approved === void 0) {
5851
5851
  return res.status(400).json({ error: "callId and approved are required" });
5852
5852
  }
5853
- const { providePathConfirmation: providePathConfirmation2 } = await import("./tools-2ZZVCIIL.js");
5853
+ const { providePathConfirmation: providePathConfirmation2 } = await import("./tools-JWAF3MAR.js");
5854
5854
  const result = providePathConfirmation2(callId, approved, alwaysAllow);
5855
5855
  if (!result.found) {
5856
5856
  return res.status(404).json({ error: "No pending path confirmation with that ID" });
5857
5857
  }
5858
5858
  const { getEventStore: getEventStore2 } = await import("./events-EILPWKYE.js");
5859
5859
  const { buildMessagesFromStoredEvents: buildMessagesFromStoredEvents2, foldPendingConfirmations: foldPendingConfirmations2 } = await import("./folding-NZYOXNKK.js");
5860
- const { createSessionStateMessage: createSessionStateMessage2 } = await import("./protocol-EX726YIK.js");
5860
+ const { createSessionStateMessage: createSessionStateMessage2 } = await import("./protocol-KUKFSV5U.js");
5861
5861
  const eventStore = getEventStore2();
5862
5862
  const events = eventStore.getEvents(sessionId);
5863
5863
  const messages = buildMessagesFromStoredEvents2(events);
@@ -5875,7 +5875,7 @@ async function createServerHandle(config) {
5875
5875
  if (!callId || !answer) {
5876
5876
  return res.status(400).json({ error: "callId and answer are required" });
5877
5877
  }
5878
- const { provideAnswer: provideAnswer2 } = await import("./tools-2ZZVCIIL.js");
5878
+ const { provideAnswer: provideAnswer2 } = await import("./tools-JWAF3MAR.js");
5879
5879
  const found = provideAnswer2(callId, answer);
5880
5880
  if (!found) {
5881
5881
  return res.status(404).json({ error: "No pending question with that ID" });
@@ -5911,8 +5911,8 @@ async function createServerHandle(config) {
5911
5911
  if (!session) {
5912
5912
  return res.status(404).json({ error: "Session not found" });
5913
5913
  }
5914
- const { stopSessionExecution } = await import("./chat-handler-LMJRCJP6.js");
5915
- const { cancelQuestionsForSession: cancelQuestionsForSession2, cancelPathConfirmationsForSession: cancelPathConfirmationsForSession2 } = await import("./tools-2ZZVCIIL.js");
5914
+ const { stopSessionExecution } = await import("./chat-handler-2UOSZFD5.js");
5915
+ const { cancelQuestionsForSession: cancelQuestionsForSession2, cancelPathConfirmationsForSession: cancelPathConfirmationsForSession2 } = await import("./tools-JWAF3MAR.js");
5916
5916
  stopSessionExecution(sessionId, sessionManager);
5917
5917
  abortSession(sessionId);
5918
5918
  cancelQuestionsForSession2(sessionId, "Session stopped by user");
@@ -5970,7 +5970,7 @@ async function createServerHandle(config) {
5970
5970
  let visionFallback;
5971
5971
  let globalWorkdir;
5972
5972
  try {
5973
- const { loadGlobalConfig, getVisionFallback } = await import("./config-NKSOG74V.js");
5973
+ const { loadGlobalConfig, getVisionFallback } = await import("./config-TUA644W4.js");
5974
5974
  const globalConfig = await loadGlobalConfig(config.mode ?? "production");
5975
5975
  const fallback = getVisionFallback(globalConfig);
5976
5976
  if (fallback) {
@@ -6049,7 +6049,7 @@ async function createServerHandle(config) {
6049
6049
  return res.status(400).json({ error: "name, url, and backend are required" });
6050
6050
  }
6051
6051
  try {
6052
- const { loadGlobalConfig, saveGlobalConfig, addProvider, setDefaultModelSelection } = await import("./config-NKSOG74V.js");
6052
+ const { loadGlobalConfig, saveGlobalConfig, addProvider, setDefaultModelSelection } = await import("./config-TUA644W4.js");
6053
6053
  const globalConfig = await loadGlobalConfig(config.mode ?? "production");
6054
6054
  const providerBackend = backend;
6055
6055
  const configWithProvider = addProvider(globalConfig, {
@@ -6082,7 +6082,7 @@ async function createServerHandle(config) {
6082
6082
  app.post("/api/init/config", async (req, res) => {
6083
6083
  const { workdir, visionFallback } = req.body;
6084
6084
  try {
6085
- const { loadGlobalConfig, saveGlobalConfig } = await import("./config-NKSOG74V.js");
6085
+ const { loadGlobalConfig, saveGlobalConfig } = await import("./config-TUA644W4.js");
6086
6086
  const globalConfig = await loadGlobalConfig(config.mode ?? "production");
6087
6087
  const updatedConfig = {
6088
6088
  ...globalConfig,
@@ -6110,7 +6110,7 @@ async function createServerHandle(config) {
6110
6110
  });
6111
6111
  app.delete("/api/providers/:id", async (req, res) => {
6112
6112
  const { id } = req.params;
6113
- const { loadGlobalConfig, saveGlobalConfig, removeProvider } = await import("./config-NKSOG74V.js");
6113
+ const { loadGlobalConfig, saveGlobalConfig, removeProvider } = await import("./config-TUA644W4.js");
6114
6114
  const globalConfig = await loadGlobalConfig(config.mode ?? "production");
6115
6115
  const updatedConfig = removeProvider(globalConfig, id);
6116
6116
  await saveGlobalConfig(config.mode ?? "production", updatedConfig);
@@ -6130,7 +6130,7 @@ async function createServerHandle(config) {
6130
6130
  return res.status(400).json({ error: result.error });
6131
6131
  }
6132
6132
  const llmClient = getLLMClient();
6133
- const { loadGlobalConfig, saveGlobalConfig, setDefaultModelSelection } = await import("./config-NKSOG74V.js");
6133
+ const { loadGlobalConfig, saveGlobalConfig, setDefaultModelSelection } = await import("./config-TUA644W4.js");
6134
6134
  const globalConfig = await loadGlobalConfig(config.mode ?? "production");
6135
6135
  const updatedConfig = setDefaultModelSelection(globalConfig, id, llmClient.getModel());
6136
6136
  await saveGlobalConfig(config.mode ?? "production", updatedConfig);
@@ -6151,7 +6151,7 @@ async function createServerHandle(config) {
6151
6151
  if (!result.success) {
6152
6152
  return res.status(400).json({ error: result.error });
6153
6153
  }
6154
- const { loadGlobalConfig, saveGlobalConfig } = await import("./config-NKSOG74V.js");
6154
+ const { loadGlobalConfig, saveGlobalConfig } = await import("./config-TUA644W4.js");
6155
6155
  const globalConfig = await loadGlobalConfig(config.mode ?? "production");
6156
6156
  const updatedProviders = providerManager.getProviders();
6157
6157
  const updatedConfig = {
@@ -6360,7 +6360,7 @@ async function createServerHandle(config) {
6360
6360
  providerManager
6361
6361
  );
6362
6362
  const wss = wssExports.wss;
6363
- const { QueueProcessor } = await import("./processor-3EZXTCQD.js");
6363
+ const { QueueProcessor } = await import("./processor-2D73CQX6.js");
6364
6364
  const queueProcessor = new QueueProcessor({
6365
6365
  sessionManager,
6366
6366
  providerManager,
@@ -6433,4 +6433,4 @@ export {
6433
6433
  createServerHandle,
6434
6434
  createServer
6435
6435
  };
6436
- //# sourceMappingURL=chunk-AAANAQ6F.js.map
6436
+ //# sourceMappingURL=chunk-KEGLM5LP.js.map
@@ -167,21 +167,14 @@ function storedEventToServerMessage(event) {
167
167
  case "message.start": {
168
168
  const data = event.data;
169
169
  const isUserOrSystem = data.role === "user" || data.role === "system";
170
+ const { messageId, ...rest } = data;
170
171
  const message = {
171
- id: data.messageId,
172
- role: data.role,
172
+ ...rest,
173
+ id: messageId,
173
174
  content: data.content ?? "",
174
175
  timestamp: new Date(event.timestamp).toISOString(),
175
- tokenCount: 0,
176
- isStreaming: !isUserOrSystem,
177
- // Only assistant messages stream
178
- ...data.contextWindowId ? { contextWindowId: data.contextWindowId } : {},
179
- ...data.subAgentId ? { subAgentId: data.subAgentId } : {},
180
- ...data.subAgentType ? { subAgentType: data.subAgentType } : {},
181
- ...data.isSystemGenerated ? { isSystemGenerated: data.isSystemGenerated } : {},
182
- ...data.messageKind ? { messageKind: data.messageKind } : {},
183
- ...data.isCompactionSummary ? { isCompactionSummary: data.isCompactionSummary } : {},
184
- ...data.attachments ? { attachments: data.attachments } : {}
176
+ tokenCount: data.tokenCount ?? 0,
177
+ isStreaming: !isUserOrSystem
185
178
  };
186
179
  return createChatMessageMessage(message);
187
180
  }
@@ -340,4 +333,4 @@ export {
340
333
  isQueueCancelPayload,
341
334
  storedEventToServerMessage
342
335
  };
343
- //# sourceMappingURL=chunk-4DPU247N.js.map
336
+ //# sourceMappingURL=chunk-NJWPSSRW.js.map
@@ -27,7 +27,7 @@ Options:
27
27
  }
28
28
  async function runNetworkSetup(mode) {
29
29
  const { loadAuthConfig, saveAuthConfig, encryptPassword } = await import("./auth-JF2HDJ6P.js");
30
- const { saveGlobalConfig } = await import("./config-NKSOG74V.js");
30
+ const { saveGlobalConfig } = await import("./config-TUA644W4.js");
31
31
  const { getAuthKeyPath } = await import("./paths-ZRI56O63.js");
32
32
  const existingAuth = await loadAuthConfig(mode);
33
33
  if (existingAuth) {
@@ -88,7 +88,7 @@ async function runNetworkSetup(mode) {
88
88
  console.log("\u2713 Configuration saved!\n");
89
89
  }
90
90
  async function runConfig(mode) {
91
- const { loadGlobalConfig, getActiveProvider, getDefaultModel } = await import("./config-NKSOG74V.js");
91
+ const { loadGlobalConfig, getActiveProvider, getDefaultModel } = await import("./config-TUA644W4.js");
92
92
  const { getGlobalConfigPath } = await import("./paths-ZRI56O63.js");
93
93
  const config = await loadGlobalConfig(mode);
94
94
  const configPath = getGlobalConfigPath(mode);
@@ -143,18 +143,18 @@ async function runCli(options) {
143
143
  break;
144
144
  }
145
145
  case "provider": {
146
- const { runProviderCommand } = await import("./provider-7YPFD3O5.js");
146
+ const { runProviderCommand } = await import("./provider-FNSGWDIW.js");
147
147
  const [, subcommand] = positionals;
148
148
  await runProviderCommand(mode, subcommand);
149
149
  break;
150
150
  }
151
151
  default: {
152
- const { configFileExists } = await import("./config-NKSOG74V.js");
152
+ const { configFileExists } = await import("./config-TUA644W4.js");
153
153
  const configExists = await configFileExists(mode);
154
154
  if (!configExists) {
155
155
  await runNetworkSetup(mode);
156
156
  }
157
- const { runServe } = await import("./serve-D4L4M7KF.js");
157
+ const { runServe } = await import("./serve-AJCE73PP.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-ULFVGMM4.js.map
170
+ //# sourceMappingURL=chunk-OIHAK52U.js.map
@@ -27,7 +27,7 @@ import {
27
27
  createChatToolOutputMessage,
28
28
  createChatVisionFallbackMessage,
29
29
  createQueueStateMessage
30
- } from "./chunk-4DPU247N.js";
30
+ } from "./chunk-NJWPSSRW.js";
31
31
  import {
32
32
  AskUserInterrupt,
33
33
  askUserTool
@@ -3664,7 +3664,7 @@ var callSubAgentTool = {
3664
3664
  };
3665
3665
  }
3666
3666
  try {
3667
- const { getToolRegistryForAgent: getToolRegistryForAgent2 } = await import("./tools-2ZZVCIIL.js");
3667
+ const { getToolRegistryForAgent: getToolRegistryForAgent2 } = await import("./tools-JWAF3MAR.js");
3668
3668
  const toolRegistry = getToolRegistryForAgent2(agentDef);
3669
3669
  const turnMetrics = new TurnMetrics();
3670
3670
  const result = await executeSubAgent({
@@ -4797,4 +4797,4 @@ export {
4797
4797
  getToolRegistryForAgent,
4798
4798
  createToolRegistry
4799
4799
  };
4800
- //# sourceMappingURL=chunk-E5HHQZBT.js.map
4800
+ //# sourceMappingURL=chunk-POJO7A5H.js.map
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  detectBackend,
3
3
  detectModel
4
- } from "./chunk-UEGMJSZ4.js";
4
+ } from "./chunk-E6FCNB3B.js";
5
5
  import {
6
6
  getGlobalConfigPath
7
7
  } from "./chunk-R4HADRYO.js";
@@ -380,4 +380,4 @@ export {
380
380
  activateProvider,
381
381
  mergeConfigs
382
382
  };
383
- //# sourceMappingURL=chunk-RVH2BAFJ.js.map
383
+ //# sourceMappingURL=chunk-TXQNRBMZ.js.map
@@ -13,7 +13,7 @@ import {
13
13
  getToolRegistryForAgent,
14
14
  loadAllAgentsDefault,
15
15
  runTopLevelAgentLoop
16
- } from "./chunk-E5HHQZBT.js";
16
+ } from "./chunk-POJO7A5H.js";
17
17
  import {
18
18
  getCurrentContextWindowId,
19
19
  getEventStore
@@ -23,7 +23,7 @@ import {
23
23
  } from "./chunk-WQ4W5H6A.js";
24
24
  import {
25
25
  createChatMessageMessage
26
- } from "./chunk-4DPU247N.js";
26
+ } from "./chunk-NJWPSSRW.js";
27
27
  import {
28
28
  logger
29
29
  } from "./chunk-PNBH3RAX.js";
@@ -252,7 +252,7 @@ async function runBuilderTurn(options, turnMetrics) {
252
252
  ...getCurrentWindowMessageOptions(sessionId) ?? {},
253
253
  isSystemGenerated: true,
254
254
  messageKind: "auto-prompt",
255
- metadata: { type: "agent", name: "Builder", color: "#22c55e" }
255
+ metadata: { type: "workflow", name: "Workflow", color: "#f59e0b" }
256
256
  }));
257
257
  eventStore.append(sessionId, { type: "message.done", data: { messageId: kickoffMsgId } });
258
258
  }
@@ -311,4 +311,4 @@ export {
311
311
  runBuilderTurn,
312
312
  runVerifierTurn
313
313
  };
314
- //# sourceMappingURL=chunk-BA6N4ODY.js.map
314
+ //# sourceMappingURL=chunk-VHL7T6J7.js.map
@@ -4,7 +4,7 @@ import {
4
4
  detectBackend,
5
5
  detectModel,
6
6
  setLlmStatus
7
- } from "./chunk-UEGMJSZ4.js";
7
+ } from "./chunk-E6FCNB3B.js";
8
8
  import {
9
9
  logger
10
10
  } from "./chunk-PNBH3RAX.js";
@@ -465,4 +465,4 @@ export {
465
465
  parseDefaultModelSelection,
466
466
  createProviderManager
467
467
  };
468
- //# sourceMappingURL=chunk-GHQIXIXJ.js.map
468
+ //# sourceMappingURL=chunk-ZHGP4PBJ.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-ULFVGMM4.js";
4
+ } from "../chunk-OIHAK52U.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-ULFVGMM4.js";
4
+ } from "../chunk-OIHAK52U.js";
5
5
  import {
6
6
  logger
7
7
  } from "../chunk-PNBH3RAX.js";
@@ -13,11 +13,11 @@ import {
13
13
  saveGlobalConfig,
14
14
  setDefaultModelSelection,
15
15
  trySmartDefaults
16
- } from "./chunk-RVH2BAFJ.js";
17
- import "./chunk-UEGMJSZ4.js";
16
+ } from "./chunk-TXQNRBMZ.js";
17
+ import "./chunk-E6FCNB3B.js";
18
18
  import "./chunk-XFXOSPYH.js";
19
19
  import "./chunk-R4HADRYO.js";
20
- import "./chunk-JAPO2RFN.js";
20
+ import "./chunk-AKFLBPPY.js";
21
21
  import "./chunk-PNBH3RAX.js";
22
22
  export {
23
23
  activateProvider,
@@ -35,4 +35,4 @@ export {
35
35
  setDefaultModelSelection,
36
36
  trySmartDefaults
37
37
  };
38
- //# sourceMappingURL=config-NKSOG74V.js.map
38
+ //# sourceMappingURL=config-TUA644W4.js.map
@@ -3,7 +3,7 @@ import {
3
3
  runBuilderTurn,
4
4
  runChatTurn,
5
5
  runVerifierTurn
6
- } from "./chunk-BA6N4ODY.js";
6
+ } from "./chunk-VHL7T6J7.js";
7
7
  import {
8
8
  TurnMetrics,
9
9
  createChatDoneEvent,
@@ -11,13 +11,13 @@ import {
11
11
  createMessageStartEvent,
12
12
  createToolCallEvent,
13
13
  createToolResultEvent
14
- } from "./chunk-E5HHQZBT.js";
14
+ } from "./chunk-POJO7A5H.js";
15
15
  import "./chunk-NBU6KIOD.js";
16
16
  import "./chunk-574HZVLE.js";
17
17
  import "./chunk-XFXOSPYH.js";
18
18
  import "./chunk-ZRDRYL6W.js";
19
19
  import "./chunk-WQ4W5H6A.js";
20
- import "./chunk-4DPU247N.js";
20
+ import "./chunk-NJWPSSRW.js";
21
21
  import "./chunk-5LDTVERY.js";
22
22
  import "./chunk-7IOZFJBW.js";
23
23
  import "./chunk-XKFPU2FA.js";
@@ -38,4 +38,4 @@ export {
38
38
  runChatTurn,
39
39
  runVerifierTurn
40
40
  };
41
- //# sourceMappingURL=orchestrator-YXTDPRGR.js.map
41
+ //# sourceMappingURL=orchestrator-QPDEHCH2.js.map
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "openfox",
3
- "version": "1.6.10",
3
+ "version": "1.6.12",
4
4
  "description": "Local-LLM-first agentic coding assistant",
5
5
  "type": "module",
6
6
  "bin": {
@@ -15,7 +15,7 @@ import {
15
15
  createContextStateMessage,
16
16
  createSessionRunningMessage,
17
17
  createSessionStateMessage
18
- } from "./chunk-4DPU247N.js";
18
+ } from "./chunk-NJWPSSRW.js";
19
19
  import "./chunk-3EHGGBWE.js";
20
20
  import "./chunk-Y6HBEACI.js";
21
21
  import "./chunk-TVQOONDR.js";
@@ -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-YXTDPRGR.js");
191
+ const { runChatTurn } = await import("./orchestrator-QPDEHCH2.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-3EZXTCQD.js.map
236
+ //# sourceMappingURL=processor-2D73CQX6.js.map
@@ -40,7 +40,7 @@ import {
40
40
  parseClientMessage,
41
41
  serializeServerMessage,
42
42
  storedEventToServerMessage
43
- } from "./chunk-4DPU247N.js";
43
+ } from "./chunk-NJWPSSRW.js";
44
44
  import "./chunk-Y6HBEACI.js";
45
45
  export {
46
46
  createChatAskUserMessage,
@@ -85,4 +85,4 @@ export {
85
85
  serializeServerMessage,
86
86
  storedEventToServerMessage
87
87
  };
88
- //# sourceMappingURL=protocol-EX726YIK.js.map
88
+ //# sourceMappingURL=protocol-KUKFSV5U.js.map
@@ -5,17 +5,17 @@ import {
5
5
  loadGlobalConfig,
6
6
  removeProvider,
7
7
  saveGlobalConfig
8
- } from "./chunk-RVH2BAFJ.js";
8
+ } from "./chunk-TXQNRBMZ.js";
9
9
  import {
10
10
  fetchAvailableModelsFromBackend
11
- } from "./chunk-GHQIXIXJ.js";
11
+ } from "./chunk-ZHGP4PBJ.js";
12
12
  import {
13
13
  detectBackend,
14
14
  detectModel
15
- } from "./chunk-UEGMJSZ4.js";
15
+ } from "./chunk-E6FCNB3B.js";
16
16
  import "./chunk-XFXOSPYH.js";
17
17
  import "./chunk-R4HADRYO.js";
18
- import "./chunk-JAPO2RFN.js";
18
+ import "./chunk-AKFLBPPY.js";
19
19
  import "./chunk-PNBH3RAX.js";
20
20
 
21
21
  // src/cli/provider.ts
@@ -248,7 +248,7 @@ async function runProviderAdd(mode) {
248
248
  isActive: makeActive
249
249
  });
250
250
  if (makeActive) {
251
- const { setDefaultModelSelection } = await import("./config-NKSOG74V.js");
251
+ const { setDefaultModelSelection } = await import("./config-TUA644W4.js");
252
252
  newConfig = setDefaultModelSelection(newConfig, newConfig.providers[newConfig.providers.length - 1].id, selectedModel);
253
253
  }
254
254
  await saveGlobalConfig(mode, newConfig);
@@ -372,4 +372,4 @@ export {
372
372
  runProviderRemove,
373
373
  runProviderUse
374
374
  };
375
- //# sourceMappingURL=provider-7YPFD3O5.js.map
375
+ //# sourceMappingURL=provider-FNSGWDIW.js.map