openfox 1.6.82 → 1.6.83

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 (39) hide show
  1. package/dist/{auto-compaction-I3GTBPTZ.js → auto-compaction-YKNSXB3B.js} +8 -8
  2. package/dist/{chat-handler-IOHM7XMZ.js → chat-handler-XORXAICJ.js} +11 -11
  3. package/dist/{chunk-MDL6USSE.js → chunk-3Y3HDOT3.js} +38 -35
  4. package/dist/{chunk-NDJ6FKSP.js → chunk-4VT74LCD.js} +1 -1
  5. package/dist/{chunk-HJOH367L.js → chunk-6GGYIEBM.js} +3 -3
  6. package/dist/{chunk-D67V55WE.js → chunk-6GH2PJJC.js} +4 -4
  7. package/dist/{chunk-WNYDTFJO.js → chunk-6THJULLK.js} +2 -2
  8. package/dist/{chunk-Y2LKLZ2V.js → chunk-AET6LELP.js} +6 -6
  9. package/dist/{chunk-ZPQDYRQI.js → chunk-GN7RB4Y4.js} +2 -2
  10. package/dist/{chunk-NRJOTXHG.js → chunk-JDDNBK6T.js} +5 -5
  11. package/dist/{chunk-XI7JEBNT.js → chunk-NAONQLLT.js} +66 -15
  12. package/dist/{chunk-DVNZAJT5.js → chunk-TLOL4I7K.js} +3 -3
  13. package/dist/{chunk-C3O6MZJV.js → chunk-WSRF5L3S.js} +2 -2
  14. package/dist/{chunk-TS5XFQ2D.js → chunk-XVWVAWSG.js} +1 -1
  15. package/dist/{chunk-Y325P6Z4.js → chunk-YNIAFX24.js} +5 -5
  16. package/dist/{chunk-WHPOBTTU.js → chunk-ZSTL3GO6.js} +4 -4
  17. package/dist/cli/dev.js +1 -1
  18. package/dist/cli/index.js +1 -1
  19. package/dist/{config-RIK5T6WK.js → config-HMMPXQ46.js} +5 -5
  20. package/dist/{events-I7NDHSNU.js → events-H563T5M5.js} +3 -3
  21. package/dist/{folding-XIKR6AFM.js → folding-4VHGQE6Y.js} +2 -2
  22. package/dist/{orchestrator-YFHSFYII.js → orchestrator-4YKFENVV.js} +9 -9
  23. package/dist/package.json +1 -1
  24. package/dist/{processor-EM4BINEJ.js → processor-I2NXOFPC.js} +7 -7
  25. package/dist/{protocol-OnZRAPeM.d.ts → protocol-DEXfLRbe.d.ts} +2 -1
  26. package/dist/{protocol-VVUFP4I7.js → protocol-NEBXAMJ3.js} +3 -3
  27. package/dist/{provider-AASLIQZJ.js → provider-LDZFYLK6.js} +7 -7
  28. package/dist/{serve-OJPBEKVE.js → serve-IED7B4A5.js} +13 -13
  29. package/dist/server/index.d.ts +2 -1
  30. package/dist/server/index.js +11 -11
  31. package/dist/shared/index.d.ts +2 -2
  32. package/dist/shared/index.js +1 -1
  33. package/dist/{tools-PPLFGZCK.js → tools-RGERQUMC.js} +8 -8
  34. package/dist/{vision-fallback-GMDXLVRN.js → vision-fallback-WT66NURB.js} +2 -2
  35. package/dist/web/assets/{index-D4Si0Pmc.css → index-CA0bz_5H.css} +1 -1
  36. package/dist/web/assets/{index-CkbORFn4.js → index-DmpkTC-2.js} +45 -45
  37. package/dist/web/index.html +2 -2
  38. package/dist/web/sw.js +1 -1
  39. package/package.json +1 -1
@@ -2,26 +2,26 @@ import {
2
2
  maybeAutoCompactContext,
3
3
  performManualContextCompaction,
4
4
  resolveCompactionStatsIdentity
5
- } from "./chunk-XI7JEBNT.js";
5
+ } from "./chunk-NAONQLLT.js";
6
6
  import "./chunk-OXI26S7U.js";
7
7
  import "./chunk-CMQCO27Y.js";
8
8
  import "./chunk-DL6ZILAF.js";
9
9
  import "./chunk-PBGOZMVY.js";
10
10
  import "./chunk-VRGRAQDG.js";
11
- import "./chunk-Y325P6Z4.js";
12
- import "./chunk-WNYDTFJO.js";
11
+ import "./chunk-YNIAFX24.js";
12
+ import "./chunk-6THJULLK.js";
13
13
  import "./chunk-KIOUKC3Z.js";
14
- import "./chunk-TS5XFQ2D.js";
15
- import "./chunk-ZPQDYRQI.js";
14
+ import "./chunk-XVWVAWSG.js";
15
+ import "./chunk-GN7RB4Y4.js";
16
16
  import "./chunk-BJYPTN5S.js";
17
- import "./chunk-NDJ6FKSP.js";
17
+ import "./chunk-4VT74LCD.js";
18
18
  import "./chunk-CQGTEGKL.js";
19
19
  import "./chunk-B5AP3RSV.js";
20
- import "./chunk-C3O6MZJV.js";
20
+ import "./chunk-WSRF5L3S.js";
21
21
  import "./chunk-K44MW7JJ.js";
22
22
  export {
23
23
  maybeAutoCompactContext,
24
24
  performManualContextCompaction,
25
25
  resolveCompactionStatsIdentity
26
26
  };
27
- //# sourceMappingURL=auto-compaction-I3GTBPTZ.js.map
27
+ //# sourceMappingURL=auto-compaction-YKNSXB3B.js.map
@@ -5,32 +5,32 @@ import {
5
5
  generateSessionName,
6
6
  getSessionMessageCount,
7
7
  needsNameGenerationCheck
8
- } from "./chunk-D67V55WE.js";
8
+ } from "./chunk-6GH2PJJC.js";
9
9
  import {
10
10
  runChatTurn
11
- } from "./chunk-WHPOBTTU.js";
12
- import "./chunk-XI7JEBNT.js";
11
+ } from "./chunk-ZSTL3GO6.js";
12
+ import "./chunk-NAONQLLT.js";
13
13
  import "./chunk-OXI26S7U.js";
14
14
  import "./chunk-CMQCO27Y.js";
15
15
  import "./chunk-DL6ZILAF.js";
16
16
  import "./chunk-PBGOZMVY.js";
17
17
  import "./chunk-VRGRAQDG.js";
18
- import "./chunk-Y325P6Z4.js";
18
+ import "./chunk-YNIAFX24.js";
19
19
  import {
20
20
  getEventStore
21
- } from "./chunk-WNYDTFJO.js";
21
+ } from "./chunk-6THJULLK.js";
22
22
  import "./chunk-KIOUKC3Z.js";
23
- import "./chunk-TS5XFQ2D.js";
23
+ import "./chunk-XVWVAWSG.js";
24
24
  import {
25
25
  createChatMessageMessage,
26
26
  createPhaseChangedMessage,
27
27
  createSessionRunningMessage
28
- } from "./chunk-ZPQDYRQI.js";
28
+ } from "./chunk-GN7RB4Y4.js";
29
29
  import "./chunk-BJYPTN5S.js";
30
- import "./chunk-NDJ6FKSP.js";
30
+ import "./chunk-4VT74LCD.js";
31
31
  import "./chunk-CQGTEGKL.js";
32
32
  import "./chunk-B5AP3RSV.js";
33
- import "./chunk-C3O6MZJV.js";
33
+ import "./chunk-WSRF5L3S.js";
34
34
  import {
35
35
  logger
36
36
  } from "./chunk-K44MW7JJ.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-I3GTBPTZ.js");
64
+ const { maybeAutoCompactContext } = await import("./auto-compaction-YKNSXB3B.js");
65
65
  await maybeAutoCompactContext({
66
66
  sessionManager,
67
67
  sessionId,
@@ -175,4 +175,4 @@ export {
175
175
  startChatSession,
176
176
  stopSessionExecution
177
177
  };
178
- //# sourceMappingURL=chat-handler-IOHM7XMZ.js.map
178
+ //# sourceMappingURL=chat-handler-XORXAICJ.js.map
@@ -2,7 +2,7 @@ import {
2
2
  createVerifierNudgeConfig,
3
3
  runBuilderTurn,
4
4
  runChatTurn
5
- } from "./chunk-WHPOBTTU.js";
5
+ } from "./chunk-ZSTL3GO6.js";
6
6
  import {
7
7
  TurnMetrics,
8
8
  agentExists,
@@ -37,7 +37,7 @@ import {
37
37
  setSkillEnabled,
38
38
  skillExists,
39
39
  spawnShellProcess
40
- } from "./chunk-XI7JEBNT.js";
40
+ } from "./chunk-NAONQLLT.js";
41
41
  import {
42
42
  getProject
43
43
  } from "./chunk-CMQCO27Y.js";
@@ -50,18 +50,18 @@ import {
50
50
  import {
51
51
  createProviderManager,
52
52
  parseDefaultModelSelection
53
- } from "./chunk-HJOH367L.js";
53
+ } from "./chunk-6GGYIEBM.js";
54
54
  import {
55
55
  SessionNotFoundError,
56
56
  createLLMClient,
57
57
  detectModel,
58
58
  getLlmStatus
59
- } from "./chunk-NRJOTXHG.js";
59
+ } from "./chunk-JDDNBK6T.js";
60
60
  import {
61
61
  detectBackend,
62
62
  getBackendDisplayName,
63
63
  getModelProfile
64
- } from "./chunk-Y325P6Z4.js";
64
+ } from "./chunk-YNIAFX24.js";
65
65
  import {
66
66
  createSession,
67
67
  deleteSession,
@@ -87,14 +87,14 @@ import {
87
87
  updateSessionProvider,
88
88
  updateSessionRunning,
89
89
  updateSessionSummary
90
- } from "./chunk-WNYDTFJO.js";
90
+ } from "./chunk-6THJULLK.js";
91
91
  import {
92
92
  initDatabase
93
93
  } from "./chunk-KIOUKC3Z.js";
94
94
  import {
95
95
  buildMessagesFromStoredEvents,
96
96
  foldPendingConfirmations
97
- } from "./chunk-TS5XFQ2D.js";
97
+ } from "./chunk-XVWVAWSG.js";
98
98
  import {
99
99
  createChatErrorMessage,
100
100
  createChatMessageMessage,
@@ -108,7 +108,7 @@ import {
108
108
  parseClientMessage,
109
109
  serializeServerMessage,
110
110
  storedEventToServerMessage
111
- } from "./chunk-ZPQDYRQI.js";
111
+ } from "./chunk-GN7RB4Y4.js";
112
112
  import {
113
113
  EventEmitter,
114
114
  provideAnswer
@@ -118,7 +118,7 @@ import {
118
118
  } from "./chunk-RGRBWDZP.js";
119
119
  import {
120
120
  createServerMessage
121
- } from "./chunk-NDJ6FKSP.js";
121
+ } from "./chunk-4VT74LCD.js";
122
122
  import {
123
123
  getGlobalConfigDir
124
124
  } from "./chunk-CQGTEGKL.js";
@@ -3950,6 +3950,9 @@ var SessionManager = class {
3950
3950
  if (!model) return void 0;
3951
3951
  return this.providerManager.getModelSettings(model);
3952
3952
  }
3953
+ getCurrentModelContext() {
3954
+ return this.providerManager.getCurrentModelContext();
3955
+ }
3953
3956
  // ============================================================================
3954
3957
  // Session Lifecycle
3955
3958
  // ============================================================================
@@ -5258,7 +5261,7 @@ function createTerminalRoutes() {
5258
5261
  }
5259
5262
 
5260
5263
  // src/constants.ts
5261
- var VERSION = "1.6.82";
5264
+ var VERSION = "1.6.83";
5262
5265
 
5263
5266
  // src/server/index.ts
5264
5267
  var __dirname2 = dirname5(fileURLToPath4(import.meta.url));
@@ -5460,7 +5463,7 @@ async function createServerHandle(config) {
5460
5463
  res.json({ success: true });
5461
5464
  });
5462
5465
  app.get("/api/sessions", async (req, res) => {
5463
- const { getRecentUserPromptsForSession } = await import("./events-I7NDHSNU.js");
5466
+ const { getRecentUserPromptsForSession } = await import("./events-H563T5M5.js");
5464
5467
  const projectId = req.query["projectId"];
5465
5468
  const limit = Math.min(parseInt(req.query["limit"]) || 20, 100);
5466
5469
  const offset = parseInt(req.query["offset"]) || 0;
@@ -5493,8 +5496,8 @@ async function createServerHandle(config) {
5493
5496
  res.status(201).json({ session });
5494
5497
  });
5495
5498
  app.get("/api/sessions/:id", async (req, res) => {
5496
- const { getEventStore: getEventStore2 } = await import("./events-I7NDHSNU.js");
5497
- const { buildMessagesFromStoredEvents: buildMessagesFromStoredEvents2 } = await import("./folding-XIKR6AFM.js");
5499
+ const { getEventStore: getEventStore2 } = await import("./events-H563T5M5.js");
5500
+ const { buildMessagesFromStoredEvents: buildMessagesFromStoredEvents2 } = await import("./folding-4VHGQE6Y.js");
5498
5501
  const session = sessionManager.getSession(req.params.id);
5499
5502
  if (!session) {
5500
5503
  return res.status(404).json({ error: "Session not found" });
@@ -5524,8 +5527,8 @@ async function createServerHandle(config) {
5524
5527
  res.json({ success: true });
5525
5528
  });
5526
5529
  app.post("/api/sessions/:id/provider", async (req, res) => {
5527
- const { getEventStore: getEventStore2 } = await import("./events-I7NDHSNU.js");
5528
- const { buildMessagesFromStoredEvents: buildMessagesFromStoredEvents2 } = await import("./folding-XIKR6AFM.js");
5530
+ const { getEventStore: getEventStore2 } = await import("./events-H563T5M5.js");
5531
+ const { buildMessagesFromStoredEvents: buildMessagesFromStoredEvents2 } = await import("./folding-4VHGQE6Y.js");
5529
5532
  const sessionId = req.params.id;
5530
5533
  const session = sessionManager.getSession(sessionId);
5531
5534
  if (!session) {
@@ -5536,7 +5539,7 @@ async function createServerHandle(config) {
5536
5539
  return res.status(400).json({ error: "providerId is required" });
5537
5540
  }
5538
5541
  sessionManager.setSessionProvider(sessionId, providerId, model ?? "auto");
5539
- const { loadGlobalConfig, saveGlobalConfig, setDefaultModelSelection } = await import("./config-RIK5T6WK.js");
5542
+ const { loadGlobalConfig, saveGlobalConfig, setDefaultModelSelection } = await import("./config-HMMPXQ46.js");
5540
5543
  const globalConfig = await loadGlobalConfig(config.mode ?? "production");
5541
5544
  const updatedConfig = setDefaultModelSelection(globalConfig, providerId, model ?? "auto");
5542
5545
  await saveGlobalConfig(config.mode ?? "production", updatedConfig);
@@ -5562,8 +5565,8 @@ async function createServerHandle(config) {
5562
5565
  res.json({ success: true });
5563
5566
  });
5564
5567
  app.put("/api/sessions/:id/mode", async (req, res) => {
5565
- const { getEventStore: getEventStore2 } = await import("./events-I7NDHSNU.js");
5566
- const { buildMessagesFromStoredEvents: buildMessagesFromStoredEvents2 } = await import("./folding-XIKR6AFM.js");
5568
+ const { getEventStore: getEventStore2 } = await import("./events-H563T5M5.js");
5569
+ const { buildMessagesFromStoredEvents: buildMessagesFromStoredEvents2 } = await import("./folding-4VHGQE6Y.js");
5567
5570
  const sessionId = req.params.id;
5568
5571
  const session = sessionManager.getSession(sessionId);
5569
5572
  if (!session) {
@@ -5615,14 +5618,14 @@ async function createServerHandle(config) {
5615
5618
  if (!callId || approved === void 0) {
5616
5619
  return res.status(400).json({ error: "callId and approved are required" });
5617
5620
  }
5618
- const { providePathConfirmation } = await import("./tools-PPLFGZCK.js");
5621
+ const { providePathConfirmation } = await import("./tools-RGERQUMC.js");
5619
5622
  const result = providePathConfirmation(callId, approved, alwaysAllow);
5620
5623
  if (!result.found) {
5621
5624
  return res.status(404).json({ error: "No pending path confirmation with that ID" });
5622
5625
  }
5623
- const { getEventStore: getEventStore2 } = await import("./events-I7NDHSNU.js");
5624
- const { buildMessagesFromStoredEvents: buildMessagesFromStoredEvents2, foldPendingConfirmations: foldPendingConfirmations2 } = await import("./folding-XIKR6AFM.js");
5625
- const { createSessionStateMessage: createSessionStateMessage2 } = await import("./protocol-VVUFP4I7.js");
5626
+ const { getEventStore: getEventStore2 } = await import("./events-H563T5M5.js");
5627
+ const { buildMessagesFromStoredEvents: buildMessagesFromStoredEvents2, foldPendingConfirmations: foldPendingConfirmations2 } = await import("./folding-4VHGQE6Y.js");
5628
+ const { createSessionStateMessage: createSessionStateMessage2 } = await import("./protocol-NEBXAMJ3.js");
5626
5629
  const eventStore = getEventStore2();
5627
5630
  const events = eventStore.getEvents(sessionId);
5628
5631
  const messages = buildMessagesFromStoredEvents2(events);
@@ -5639,7 +5642,7 @@ async function createServerHandle(config) {
5639
5642
  if (!callId || !answer) {
5640
5643
  return res.status(400).json({ error: "callId and answer are required" });
5641
5644
  }
5642
- const { provideAnswer: provideAnswer2 } = await import("./tools-PPLFGZCK.js");
5645
+ const { provideAnswer: provideAnswer2 } = await import("./tools-RGERQUMC.js");
5643
5646
  const found = provideAnswer2(callId, answer);
5644
5647
  if (!found) {
5645
5648
  return res.status(404).json({ error: "No pending question with that ID" });
@@ -5675,14 +5678,14 @@ async function createServerHandle(config) {
5675
5678
  if (!session) {
5676
5679
  return res.status(404).json({ error: "Session not found" });
5677
5680
  }
5678
- const { stopSessionExecution } = await import("./chat-handler-IOHM7XMZ.js");
5679
- const { cancelQuestionsForSession, cancelPathConfirmationsForSession } = await import("./tools-PPLFGZCK.js");
5681
+ const { stopSessionExecution } = await import("./chat-handler-XORXAICJ.js");
5682
+ const { cancelQuestionsForSession, cancelPathConfirmationsForSession } = await import("./tools-RGERQUMC.js");
5680
5683
  stopSessionExecution(sessionId, sessionManager);
5681
5684
  abortSession(sessionId);
5682
5685
  cancelQuestionsForSession(sessionId, "Session stopped by user");
5683
5686
  cancelPathConfirmationsForSession(sessionId, "Session stopped by user");
5684
5687
  sessionManager.clearMessageQueue(sessionId);
5685
- const eventStore = (await import("./events-I7NDHSNU.js")).getEventStore();
5688
+ const eventStore = (await import("./events-H563T5M5.js")).getEventStore();
5686
5689
  eventStore.append(sessionId, { type: "running.changed", data: { isRunning: false } });
5687
5690
  res.json({ success: true });
5688
5691
  });
@@ -5696,7 +5699,7 @@ async function createServerHandle(config) {
5696
5699
  if (typeof messageIndex !== "number" || messageIndex < 0) {
5697
5700
  return res.status(400).json({ error: "messageIndex must be a non-negative number" });
5698
5701
  }
5699
- const { truncateSessionMessages } = await import("./events-I7NDHSNU.js");
5702
+ const { truncateSessionMessages } = await import("./events-H563T5M5.js");
5700
5703
  truncateSessionMessages(sessionId, messageIndex);
5701
5704
  res.json({ success: true });
5702
5705
  });
@@ -5748,7 +5751,7 @@ async function createServerHandle(config) {
5748
5751
  let visionFallback;
5749
5752
  let globalWorkdir;
5750
5753
  try {
5751
- const { loadGlobalConfig, getVisionFallback } = await import("./config-RIK5T6WK.js");
5754
+ const { loadGlobalConfig, getVisionFallback } = await import("./config-HMMPXQ46.js");
5752
5755
  const globalConfig = await loadGlobalConfig(config.mode ?? "production");
5753
5756
  const fallback = getVisionFallback(globalConfig);
5754
5757
  if (fallback) {
@@ -5827,7 +5830,7 @@ async function createServerHandle(config) {
5827
5830
  return res.status(400).json({ error: "name, url, and backend are required" });
5828
5831
  }
5829
5832
  try {
5830
- const { loadGlobalConfig, saveGlobalConfig, addProvider, setDefaultModelSelection } = await import("./config-RIK5T6WK.js");
5833
+ const { loadGlobalConfig, saveGlobalConfig, addProvider, setDefaultModelSelection } = await import("./config-HMMPXQ46.js");
5831
5834
  const globalConfig = await loadGlobalConfig(config.mode ?? "production");
5832
5835
  const providerBackend = backend;
5833
5836
  const configWithProvider = addProvider(globalConfig, {
@@ -5860,7 +5863,7 @@ async function createServerHandle(config) {
5860
5863
  app.post("/api/init/config", async (req, res) => {
5861
5864
  const { workdir, visionFallback } = req.body;
5862
5865
  try {
5863
- const { loadGlobalConfig, saveGlobalConfig } = await import("./config-RIK5T6WK.js");
5866
+ const { loadGlobalConfig, saveGlobalConfig } = await import("./config-HMMPXQ46.js");
5864
5867
  const globalConfig = await loadGlobalConfig(config.mode ?? "production");
5865
5868
  const updatedConfig = {
5866
5869
  ...globalConfig,
@@ -5888,7 +5891,7 @@ async function createServerHandle(config) {
5888
5891
  });
5889
5892
  app.delete("/api/providers/:id", async (req, res) => {
5890
5893
  const { id } = req.params;
5891
- const { loadGlobalConfig, saveGlobalConfig, removeProvider } = await import("./config-RIK5T6WK.js");
5894
+ const { loadGlobalConfig, saveGlobalConfig, removeProvider } = await import("./config-HMMPXQ46.js");
5892
5895
  const globalConfig = await loadGlobalConfig(config.mode ?? "production");
5893
5896
  const updatedConfig = removeProvider(globalConfig, id);
5894
5897
  await saveGlobalConfig(config.mode ?? "production", updatedConfig);
@@ -5908,7 +5911,7 @@ async function createServerHandle(config) {
5908
5911
  return res.status(400).json({ error: result.error });
5909
5912
  }
5910
5913
  const llmClient = getLLMClient();
5911
- const { loadGlobalConfig, saveGlobalConfig, setDefaultModelSelection } = await import("./config-RIK5T6WK.js");
5914
+ const { loadGlobalConfig, saveGlobalConfig, setDefaultModelSelection } = await import("./config-HMMPXQ46.js");
5912
5915
  const globalConfig = await loadGlobalConfig(config.mode ?? "production");
5913
5916
  const updatedConfig = setDefaultModelSelection(globalConfig, id, llmClient.getModel());
5914
5917
  await saveGlobalConfig(config.mode ?? "production", updatedConfig);
@@ -5939,7 +5942,7 @@ async function createServerHandle(config) {
5939
5942
  if (!result.success) {
5940
5943
  return res.status(400).json({ error: result.error });
5941
5944
  }
5942
- const { loadGlobalConfig, saveGlobalConfig } = await import("./config-RIK5T6WK.js");
5945
+ const { loadGlobalConfig, saveGlobalConfig } = await import("./config-HMMPXQ46.js");
5943
5946
  const globalConfig = await loadGlobalConfig(config.mode ?? "production");
5944
5947
  const updatedProviders = providerManager.getProviders();
5945
5948
  const updatedConfig = {
@@ -6165,7 +6168,7 @@ async function createServerHandle(config) {
6165
6168
  providerManager
6166
6169
  );
6167
6170
  const wss = wssExports.wss;
6168
- const { QueueProcessor } = await import("./processor-EM4BINEJ.js");
6171
+ const { QueueProcessor } = await import("./processor-I2NXOFPC.js");
6169
6172
  const queueProcessor = new QueueProcessor({
6170
6173
  sessionManager,
6171
6174
  providerManager,
@@ -6240,4 +6243,4 @@ export {
6240
6243
  createServerHandle,
6241
6244
  createServer
6242
6245
  };
6243
- //# sourceMappingURL=chunk-MDL6USSE.js.map
6246
+ //# sourceMappingURL=chunk-3Y3HDOT3.js.map
@@ -26,4 +26,4 @@ export {
26
26
  isClientMessage,
27
27
  isServerMessage
28
28
  };
29
- //# sourceMappingURL=chunk-NDJ6FKSP.js.map
29
+ //# sourceMappingURL=chunk-4VT74LCD.js.map
@@ -2,11 +2,11 @@ import {
2
2
  clearModelCache,
3
3
  createLLMClient,
4
4
  detectModel
5
- } from "./chunk-NRJOTXHG.js";
5
+ } from "./chunk-JDDNBK6T.js";
6
6
  import {
7
7
  detectBackend,
8
8
  getModelProfile
9
- } from "./chunk-Y325P6Z4.js";
9
+ } from "./chunk-YNIAFX24.js";
10
10
  import {
11
11
  logger
12
12
  } from "./chunk-K44MW7JJ.js";
@@ -511,4 +511,4 @@ export {
511
511
  parseDefaultModelSelection,
512
512
  createProviderManager
513
513
  };
514
- //# sourceMappingURL=chunk-HJOH367L.js.map
514
+ //# sourceMappingURL=chunk-6GGYIEBM.js.map
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  getEventStore,
3
3
  updateSessionMetadata
4
- } from "./chunk-WNYDTFJO.js";
4
+ } from "./chunk-6THJULLK.js";
5
5
  import {
6
6
  buildMessagesFromStoredEvents,
7
7
  foldPendingConfirmations
8
- } from "./chunk-TS5XFQ2D.js";
8
+ } from "./chunk-XVWVAWSG.js";
9
9
  import {
10
10
  createContextStateMessage,
11
11
  createSessionStateMessage
12
- } from "./chunk-ZPQDYRQI.js";
12
+ } from "./chunk-GN7RB4Y4.js";
13
13
  import {
14
14
  logger
15
15
  } from "./chunk-K44MW7JJ.js";
@@ -143,4 +143,4 @@ export {
143
143
  needsNameGenerationCheck,
144
144
  applyGeneratedSessionName
145
145
  };
146
- //# sourceMappingURL=chunk-D67V55WE.js.map
146
+ //# sourceMappingURL=chunk-6GH2PJJC.js.map
@@ -9,7 +9,7 @@ import {
9
9
  foldSessionState,
10
10
  spreadOptionalMessageFields,
11
11
  stripPromptContextMessages
12
- } from "./chunk-TS5XFQ2D.js";
12
+ } from "./chunk-XVWVAWSG.js";
13
13
  import {
14
14
  getRuntimeConfig
15
15
  } from "./chunk-B5AP3RSV.js";
@@ -1269,4 +1269,4 @@ export {
1269
1269
  compactContext,
1270
1270
  getRecentUserPromptsForSession
1271
1271
  };
1272
- //# sourceMappingURL=chunk-WNYDTFJO.js.map
1272
+ //# sourceMappingURL=chunk-6THJULLK.js.map
@@ -33,7 +33,7 @@ Options:
33
33
  }
34
34
  async function runNetworkSetup(mode) {
35
35
  const { loadAuthConfig, saveAuthConfig, encryptPassword } = await import("./auth-56SIRACI.js");
36
- const { saveGlobalConfig } = await import("./config-RIK5T6WK.js");
36
+ const { saveGlobalConfig } = await import("./config-HMMPXQ46.js");
37
37
  const { getAuthKeyPath } = await import("./paths-X46PPOI2.js");
38
38
  const existingAuth = await loadAuthConfig(mode);
39
39
  if (existingAuth) {
@@ -94,7 +94,7 @@ async function runNetworkSetup(mode) {
94
94
  console.log("\u2713 Configuration saved!\n");
95
95
  }
96
96
  async function runConfig(mode) {
97
- const { loadGlobalConfig, getActiveProvider, getDefaultModel } = await import("./config-RIK5T6WK.js");
97
+ const { loadGlobalConfig, getActiveProvider, getDefaultModel } = await import("./config-HMMPXQ46.js");
98
98
  const { getGlobalConfigPath } = await import("./paths-X46PPOI2.js");
99
99
  const config = await loadGlobalConfig(mode);
100
100
  const configPath = getGlobalConfigPath(mode);
@@ -149,7 +149,7 @@ async function runCli(options) {
149
149
  break;
150
150
  }
151
151
  case "provider": {
152
- const { runProviderCommand } = await import("./provider-AASLIQZJ.js");
152
+ const { runProviderCommand } = await import("./provider-LDZFYLK6.js");
153
153
  const [, subcommand] = positionals;
154
154
  await runProviderCommand(mode, subcommand);
155
155
  break;
@@ -185,12 +185,12 @@ async function runCli(options) {
185
185
  break;
186
186
  }
187
187
  default: {
188
- const { configFileExists } = await import("./config-RIK5T6WK.js");
188
+ const { configFileExists } = await import("./config-HMMPXQ46.js");
189
189
  const configExists = await configFileExists(mode);
190
190
  if (!configExists) {
191
191
  await runNetworkSetup(mode);
192
192
  }
193
- const { runServe } = await import("./serve-OJPBEKVE.js");
193
+ const { runServe } = await import("./serve-IED7B4A5.js");
194
194
  const serveOptions = { mode };
195
195
  if (values.port) serveOptions.port = parseInt(values.port);
196
196
  if (values["no-browser"] === true) serveOptions.openBrowser = false;
@@ -202,4 +202,4 @@ async function runCli(options) {
202
202
  export {
203
203
  runCli
204
204
  };
205
- //# sourceMappingURL=chunk-Y2LKLZ2V.js.map
205
+ //# sourceMappingURL=chunk-AET6LELP.js.map
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  createServerMessage,
3
3
  isClientMessage
4
- } from "./chunk-NDJ6FKSP.js";
4
+ } from "./chunk-4VT74LCD.js";
5
5
 
6
6
  // src/server/ws/protocol.ts
7
7
  function enrichMessagesWithToolResults(messages) {
@@ -343,4 +343,4 @@ export {
343
343
  createQueueStateMessage,
344
344
  storedEventToServerMessage
345
345
  };
346
- //# sourceMappingURL=chunk-ZPQDYRQI.js.map
346
+ //# sourceMappingURL=chunk-GN7RB4Y4.js.map
@@ -5,10 +5,10 @@ import {
5
5
  getBackendCapabilities,
6
6
  getModelProfile,
7
7
  mapFinishReason
8
- } from "./chunk-Y325P6Z4.js";
8
+ } from "./chunk-YNIAFX24.js";
9
9
  import {
10
10
  ensureVisionFallbackConfigLoaded
11
- } from "./chunk-C3O6MZJV.js";
11
+ } from "./chunk-WSRF5L3S.js";
12
12
  import {
13
13
  logger
14
14
  } from "./chunk-K44MW7JJ.js";
@@ -188,7 +188,7 @@ function createLLMClient(config, initialBackend = "unknown") {
188
188
  try {
189
189
  const shouldDisableThinking = disableThinking || request.disableThinking === true;
190
190
  await ensureVisionFallbackConfigLoaded();
191
- const { isVisionFallbackEnabled } = await import("./vision-fallback-GMDXLVRN.js");
191
+ const { isVisionFallbackEnabled } = await import("./vision-fallback-WT66NURB.js");
192
192
  const paramsOptions = {
193
193
  model,
194
194
  request,
@@ -265,7 +265,7 @@ function createLLMClient(config, initialBackend = "unknown") {
265
265
  });
266
266
  try {
267
267
  await ensureVisionFallbackConfigLoaded();
268
- const { isVisionFallbackEnabled } = await import("./vision-fallback-GMDXLVRN.js");
268
+ const { isVisionFallbackEnabled } = await import("./vision-fallback-WT66NURB.js");
269
269
  const shouldDisableThinking = disableThinking || request.disableThinking === true;
270
270
  const createParams = await buildStreamingCreateParams({
271
271
  model,
@@ -478,4 +478,4 @@ export {
478
478
  getLlmStatus,
479
479
  clearModelCache
480
480
  };
481
- //# sourceMappingURL=chunk-NRJOTXHG.js.map
481
+ //# sourceMappingURL=chunk-JDDNBK6T.js.map