openfox 2.0.90 → 2.0.92

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 (83) hide show
  1. package/CHANGELOG.md +18 -0
  2. package/dist/CHANGELOG.md +18 -0
  3. package/dist/{chat-handler-JJQ3JBNF.js → chat-handler-PC5BUJGA.js} +26 -22
  4. package/dist/chunk-3NGD6IVM.js +65 -0
  5. package/dist/{chunk-3HH5UDVQ.js → chunk-4IBFA5IF.js} +8 -8
  6. package/dist/{chunk-2J7SLQXL.js → chunk-54Q4TGG6.js} +5 -3
  7. package/dist/chunk-5OGB3MCV.js +7 -0
  8. package/dist/{chunk-VX5NASLY.js → chunk-6J5IZ2NL.js} +10 -3
  9. package/dist/{chunk-EZWSS7LG.js → chunk-6OAJNCRY.js} +9 -1
  10. package/dist/{chunk-GR63QQFE.js → chunk-7YBGCZSI.js} +2 -2
  11. package/dist/{chunk-GJN622K4.js → chunk-AKZGFLMD.js} +7 -7
  12. package/dist/{chunk-NJ3XNK3V.js → chunk-AXFPEGJI.js} +2 -2
  13. package/dist/{chunk-67AVIA5G.js → chunk-BJHPUMRX.js} +2 -2
  14. package/dist/{chunk-XKZZHAEZ.js → chunk-C56Z4OVW.js} +2 -2
  15. package/dist/{chunk-U7RLUZBP.js → chunk-CFK34T26.js} +1 -1
  16. package/dist/{chunk-47WNBFDO.js → chunk-CND2YWIJ.js} +2 -2
  17. package/dist/{chunk-J2IVK667.js → chunk-DH32AHTL.js} +2 -2
  18. package/dist/{chunk-KFKDFZJB.js → chunk-DVVRKNFS.js} +62 -475
  19. package/dist/chunk-FSLCOA4R.js +144 -0
  20. package/dist/{chunk-BCVM2SPJ.js → chunk-GH5PL3JW.js} +3 -3
  21. package/dist/{chunk-VXKY7J7W.js → chunk-K2O7JTCX.js} +1 -243
  22. package/dist/{chunk-2QIYPQQH.js → chunk-LT4MPTGU.js} +4 -4
  23. package/dist/{chunk-L6B6R5SN.js → chunk-NGN3Q26A.js} +88 -72
  24. package/dist/chunk-NLJXZZTB.js +246 -0
  25. package/dist/{chunk-LRTHLIRH.js → chunk-NO65CC2R.js} +82 -32
  26. package/dist/{chunk-N54PQSCH.js → chunk-OQTLFO4R.js} +3 -2
  27. package/dist/{chunk-7GF45BJV.js → chunk-Q7CN4JOO.js} +22 -75
  28. package/dist/{chunk-Q6AKRIM2.js → chunk-ST4NYXLH.js} +9 -2
  29. package/dist/chunk-SXHGRPCI.js +443 -0
  30. package/dist/{chunk-OTKOSY6B.js → chunk-U7D72C4O.js} +4 -4
  31. package/dist/{chunk-54LPSOO3.js → chunk-VJEVCZZA.js} +6 -4
  32. package/dist/{chunk-VPFUXGMM.js → chunk-VKWVPQJ5.js} +3 -1
  33. package/dist/{chunk-74P4DTCU.js → chunk-WPACSSBS.js} +3 -3
  34. package/dist/{chunk-FIXFSGGZ.js → chunk-WWC3R3YL.js} +2 -2
  35. package/dist/{chunk-6PHUBUVH.js → chunk-Z24V2LEL.js} +236 -146
  36. package/dist/cli/dev.js +1 -1
  37. package/dist/cli/index.js +1 -1
  38. package/dist/{client-2JELOQF7.js → client-RBXMHFX3.js} +5 -5
  39. package/dist/{compactor-OW343YIO.js → compactor-HW6GBRAG.js} +11 -10
  40. package/dist/{config-JN6MW5SL.js → config-XIYAPMX3.js} +2 -2
  41. package/dist/dynamic-context-TDD3Q43F.js +27 -0
  42. package/dist/{events-U2BYC5MN.js → events-ICX5KVET.js} +7 -7
  43. package/dist/{folding-RE7ZL7H7.js → folding-L2L4OHX6.js} +5 -5
  44. package/dist/http-client-E3CV6E5D.js +11 -0
  45. package/dist/{inspect-proxy-CN2MUFQ5.js → inspect-proxy-NZ3VSMSC.js} +4 -4
  46. package/dist/{manager-X665RYDA.js → manager-ZPQ6VSM5.js} +5 -5
  47. package/dist/orchestrator-56LSHPPK.js +55 -0
  48. package/dist/package.json +1 -1
  49. package/dist/{path-security-3BTT5ZCM.js → path-security-XENIR7SX.js} +10 -10
  50. package/dist/{platform-2XTX4MRW.js → platform-UKZ2QC34.js} +4 -4
  51. package/dist/{processor-YIVQO2OY.js → processor-H6NFFRI2.js} +25 -22
  52. package/dist/{project-creator-W5VW22DC.js → project-creator-2WMZYQME.js} +3 -3
  53. package/dist/{projects-HZ3WVTKG.js → projects-N6KVZGMS.js} +3 -3
  54. package/dist/{protocol-BUA2W2KM.js → protocol-3GNSIGP4.js} +3 -3
  55. package/dist/{protocol-DKJPL2Ci.d.ts → protocol-CaSHnORC.d.ts} +15 -4
  56. package/dist/provider/index.d.ts +4 -4
  57. package/dist/{provider-IKKXQW6S.js → provider-SYYZI2KX.js} +8 -8
  58. package/dist/{provider-manager-I35NHMOO.js → provider-manager-P3ZSA5QS.js} +6 -6
  59. package/dist/registry-ERUV33AP.js +46 -0
  60. package/dist/{serve-Q45HTS4J.js → serve-OYOC5O4A.js} +32 -28
  61. package/dist/server/index.d.ts +3 -3
  62. package/dist/server/index.js +31 -27
  63. package/dist/server-H3525HD6.js +45 -0
  64. package/dist/session-overrides-NPVYNHTM.js +20 -0
  65. package/dist/{sessions-SFM7XA3R.js → sessions-7KCM5QH4.js} +7 -5
  66. package/dist/{settings-TCNHSYFX.js → settings-2OVKFWR5.js} +3 -3
  67. package/dist/shared/index.d.ts +3 -3
  68. package/dist/shared/index.js +1 -1
  69. package/dist/{tools-X7NAB4LZ.js → tools-DXBIHSMY.js} +23 -20
  70. package/dist/{types-C4NrLRR1.d.ts → types-CHCZiJvw.d.ts} +4 -0
  71. package/dist/{types-B97Fb4vm.d.ts → types-Cw7L4Bze.d.ts} +1 -1
  72. package/dist/{update-HHQGMX7P.js → update-7ZIRWYSC.js} +2 -2
  73. package/dist/{update-server-V6GJ43WH.js → update-server-4I6LXE5K.js} +2 -2
  74. package/dist/web/assets/{index-BB8bp4oL.js → index-CrenD396.js} +83 -83
  75. package/dist/web/assets/{index-flzB-55v.css → index-mS37wyUs.css} +1 -1
  76. package/dist/web/index.html +2 -2
  77. package/dist/web/sw.js +1 -1
  78. package/dist/{workspace-N4QHV6J2.js → workspace-YLTMP3OX.js} +4 -4
  79. package/package.json +1 -1
  80. package/dist/chunk-XMJLSFY5.js +0 -7
  81. package/dist/http-client-7QCN2R44.js +0 -11
  82. package/dist/orchestrator-BMU7DZ6F.js +0 -51
  83. package/dist/server-OP2Q2F3S.js +0 -41
package/CHANGELOG.md CHANGED
@@ -1,5 +1,23 @@
1
1
  # Changelog
2
2
 
3
+ ## 2.0.92 - 2026-07-25
4
+
5
+ ### Bug Fixes
6
+
7
+ - **Changelog modal now appears after npm updates** — previously the "What's New" modal only showed after in-app auto-updates; now it also triggers when updating via npm by tracking the last seen version.
8
+
9
+ ## 2.0.91 - 2026-07-25
10
+
11
+ ### Features
12
+
13
+ - **System prompt diff preview** — see what changed before applying a system prompt update, with mid-turn queueing support for running sessions.
14
+ - **Per-session and per-project MCP server toggles** — enable or disable MCP servers at the session or project level, with global → project → session resolution.
15
+
16
+ ### Bug Fixes
17
+
18
+ - **MCP override cache properly invalidated** — changes to disabled MCP servers now take effect immediately without requiring a restart.
19
+ - **Sidebar popover modals no longer close on interaction** — clicking "Configure dev server", "Update system prompt", or workspace/branch "Edit" from the compact sidebar header now opens the modal without the popover interfering.
20
+
3
21
  ## 2.0.90 - 2026-07-24
4
22
 
5
23
  ### Features
package/dist/CHANGELOG.md CHANGED
@@ -1,5 +1,23 @@
1
1
  # Changelog
2
2
 
3
+ ## 2.0.92 - 2026-07-25
4
+
5
+ ### Bug Fixes
6
+
7
+ - **Changelog modal now appears after npm updates** — previously the "What's New" modal only showed after in-app auto-updates; now it also triggers when updating via npm by tracking the last seen version.
8
+
9
+ ## 2.0.91 - 2026-07-25
10
+
11
+ ### Features
12
+
13
+ - **System prompt diff preview** — see what changed before applying a system prompt update, with mid-turn queueing support for running sessions.
14
+ - **Per-session and per-project MCP server toggles** — enable or disable MCP servers at the session or project level, with global → project → session resolution.
15
+
16
+ ### Bug Fixes
17
+
18
+ - **MCP override cache properly invalidated** — changes to disabled MCP servers now take effect immediately without requiring a restart.
19
+ - **Sidebar popover modals no longer close on interaction** — clicking "Configure dev server", "Update system prompt", or workspace/branch "Edit" from the compact sidebar header now opens the modal without the popover interfering.
20
+
3
21
  ## 2.0.90 - 2026-07-24
4
22
 
5
23
  ### Features
@@ -2,43 +2,47 @@ import {
2
2
  buildRunChatTurnParams,
3
3
  finalizeTurnCompletion,
4
4
  generateSessionNameForSession
5
- } from "./chunk-3HH5UDVQ.js";
5
+ } from "./chunk-4IBFA5IF.js";
6
6
  import {
7
7
  runChatTurn
8
- } from "./chunk-7GF45BJV.js";
9
- import "./chunk-KFKDFZJB.js";
10
- import "./chunk-OTKOSY6B.js";
8
+ } from "./chunk-Q7CN4JOO.js";
9
+ import "./chunk-DVVRKNFS.js";
10
+ import "./chunk-DH32AHTL.js";
11
+ import "./chunk-U7D72C4O.js";
12
+ import "./chunk-I72ACQ6R.js";
11
13
  import "./chunk-NWO6GRYE.js";
12
- import "./chunk-VPFUXGMM.js";
13
- import "./chunk-67AVIA5G.js";
14
+ import "./chunk-VKWVPQJ5.js";
15
+ import "./chunk-BJHPUMRX.js";
14
16
  import "./chunk-J7GAZGZT.js";
15
- import "./chunk-74P4DTCU.js";
17
+ import "./chunk-FSLCOA4R.js";
18
+ import "./chunk-SXHGRPCI.js";
19
+ import "./chunk-3NGD6IVM.js";
20
+ import "./chunk-WPACSSBS.js";
16
21
  import {
17
22
  createChatMessageMessage,
18
23
  createPhaseChangedMessage,
19
24
  createSessionRunningMessage
20
- } from "./chunk-47WNBFDO.js";
25
+ } from "./chunk-CND2YWIJ.js";
21
26
  import "./chunk-EU3WWTFH.js";
22
- import "./chunk-VXKY7J7W.js";
23
- import "./chunk-FIXFSGGZ.js";
24
- import "./chunk-J2IVK667.js";
25
- import "./chunk-Q6AKRIM2.js";
26
- import "./chunk-I72ACQ6R.js";
27
+ import "./chunk-ST4NYXLH.js";
28
+ import "./chunk-K2O7JTCX.js";
29
+ import "./chunk-NLJXZZTB.js";
27
30
  import {
28
31
  getEventStore
29
- } from "./chunk-2QIYPQQH.js";
30
- import "./chunk-NJ3XNK3V.js";
31
- import "./chunk-VX5NASLY.js";
32
- import "./chunk-L6B6R5SN.js";
32
+ } from "./chunk-LT4MPTGU.js";
33
+ import "./chunk-WWC3R3YL.js";
34
+ import "./chunk-AXFPEGJI.js";
35
+ import "./chunk-6J5IZ2NL.js";
36
+ import "./chunk-NGN3Q26A.js";
33
37
  import "./chunk-J2GP3J3X.js";
34
38
  import "./chunk-V4IE7HJY.js";
35
39
  import "./chunk-YHEQTVFV.js";
36
40
  import "./chunk-RMXPVQP4.js";
37
- import "./chunk-2J7SLQXL.js";
38
- import "./chunk-EZWSS7LG.js";
41
+ import "./chunk-54Q4TGG6.js";
42
+ import "./chunk-6OAJNCRY.js";
39
43
  import "./chunk-K44MW7JJ.js";
40
- import "./chunk-U7RLUZBP.js";
41
- import "./chunk-N54PQSCH.js";
44
+ import "./chunk-CFK34T26.js";
45
+ import "./chunk-OQTLFO4R.js";
42
46
  import "./chunk-CQGTEGKL.js";
43
47
  import "./chunk-5WRI5ZAA.js";
44
48
 
@@ -161,4 +165,4 @@ export {
161
165
  startChatSession,
162
166
  stopSessionExecution
163
167
  };
164
- //# sourceMappingURL=chat-handler-JJQ3JBNF.js.map
168
+ //# sourceMappingURL=chat-handler-PC5BUJGA.js.map
@@ -0,0 +1,65 @@
1
+ import {
2
+ updateSessionMcpDisabledServers
3
+ } from "./chunk-6J5IZ2NL.js";
4
+ import {
5
+ getDatabase
6
+ } from "./chunk-6OAJNCRY.js";
7
+
8
+ // src/server/mcp/session-overrides.ts
9
+ var sessionOverrides = /* @__PURE__ */ new Map();
10
+ var initialized = false;
11
+ function ensureInitialized() {
12
+ if (initialized) return;
13
+ initialized = true;
14
+ try {
15
+ const db = getDatabase();
16
+ const rows = db.prepare(
17
+ `SELECT id, mcp_disabled_servers FROM sessions WHERE mcp_disabled_servers IS NOT NULL AND mcp_disabled_servers != ''`
18
+ ).all();
19
+ for (const row of rows) {
20
+ try {
21
+ const servers = JSON.parse(row.mcp_disabled_servers);
22
+ if (Array.isArray(servers) && servers.length > 0) {
23
+ sessionOverrides.set(row.id, new Set(servers));
24
+ }
25
+ } catch {
26
+ }
27
+ }
28
+ } catch {
29
+ }
30
+ }
31
+ function getSessionDisabledServers(sessionId) {
32
+ ensureInitialized();
33
+ return Array.from(sessionOverrides.get(sessionId) ?? []);
34
+ }
35
+ function setSessionDisabledServers(sessionId, servers) {
36
+ ensureInitialized();
37
+ if (servers.length === 0) {
38
+ sessionOverrides.delete(sessionId);
39
+ } else {
40
+ sessionOverrides.set(sessionId, new Set(servers));
41
+ }
42
+ try {
43
+ updateSessionMcpDisabledServers(sessionId, servers);
44
+ } catch {
45
+ }
46
+ }
47
+ function clearSessionOverrides(sessionId) {
48
+ sessionOverrides.delete(sessionId);
49
+ try {
50
+ updateSessionMcpDisabledServers(sessionId, []);
51
+ } catch {
52
+ }
53
+ }
54
+ function getAllSessionOverrides() {
55
+ ensureInitialized();
56
+ return sessionOverrides;
57
+ }
58
+
59
+ export {
60
+ getSessionDisabledServers,
61
+ setSessionDisabledServers,
62
+ clearSessionOverrides,
63
+ getAllSessionOverrides
64
+ };
65
+ //# sourceMappingURL=chunk-3NGD6IVM.js.map
@@ -1,27 +1,27 @@
1
1
  import {
2
2
  createContextStateMessage,
3
3
  createSessionStateMessage
4
- } from "./chunk-47WNBFDO.js";
4
+ } from "./chunk-CND2YWIJ.js";
5
5
  import {
6
6
  getPendingQuestionsForSession
7
7
  } from "./chunk-EU3WWTFH.js";
8
8
  import {
9
9
  combineEventsWithSnapshot,
10
10
  getEventStore
11
- } from "./chunk-2QIYPQQH.js";
11
+ } from "./chunk-LT4MPTGU.js";
12
12
  import {
13
13
  buildMessagesFromStoredEvents,
14
14
  foldPendingConfirmations
15
- } from "./chunk-NJ3XNK3V.js";
15
+ } from "./chunk-AXFPEGJI.js";
16
16
  import {
17
17
  updateSessionMetadata
18
- } from "./chunk-VX5NASLY.js";
18
+ } from "./chunk-6J5IZ2NL.js";
19
19
  import {
20
20
  getRuntimeConfig
21
- } from "./chunk-L6B6R5SN.js";
21
+ } from "./chunk-NGN3Q26A.js";
22
22
  import {
23
23
  getMaxVisibleItems
24
- } from "./chunk-2J7SLQXL.js";
24
+ } from "./chunk-54Q4TGG6.js";
25
25
  import {
26
26
  logger
27
27
  } from "./chunk-K44MW7JJ.js";
@@ -153,7 +153,7 @@ async function generateSessionNameForSession(sessionId, userMessage, deps, signa
153
153
  client = deps.getLLMClient();
154
154
  client.setModel(providerConfig.model);
155
155
  } else if (providerConfig) {
156
- const { createLLMClient } = await import("./client-2JELOQF7.js");
156
+ const { createLLMClient } = await import("./client-RBXMHFX3.js");
157
157
  client = createLLMClient({
158
158
  llm: {
159
159
  baseUrl: providerConfig.baseUrl,
@@ -202,4 +202,4 @@ export {
202
202
  buildRunChatTurnParams,
203
203
  generateSessionNameForSession
204
204
  };
205
- //# sourceMappingURL=chunk-3HH5UDVQ.js.map
205
+ //# sourceMappingURL=chunk-4IBFA5IF.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  getDatabase
3
- } from "./chunk-EZWSS7LG.js";
3
+ } from "./chunk-6OAJNCRY.js";
4
4
 
5
5
  // src/server/db/settings.ts
6
6
  var SETTINGS_KEYS = {
@@ -30,6 +30,7 @@ var SETTINGS_KEYS = {
30
30
  TOOLS_USE_RTK: "tools.useRtk",
31
31
  TOOLS_SHELL: "tools.shell",
32
32
  CONFIRM_ON_WORKSPACE_ACTIONS: "tools.confirmOnWorkspaceActions",
33
+ FEATURES_PER_SESSION_MCP: "features.perSessionMcp",
33
34
  PROXY_URL: "network.proxyUrl",
34
35
  DEFAULT_AGENT: "agent.defaultAgent"
35
36
  };
@@ -61,7 +62,8 @@ var SETTINGS_DEFAULTS = {
61
62
  }),
62
63
  [SETTINGS_KEYS.TOOLS_USE_RTK]: "false",
63
64
  [SETTINGS_KEYS.TOOLS_SHELL]: "cmd",
64
- [SETTINGS_KEYS.CONFIRM_ON_WORKSPACE_ACTIONS]: "false"
65
+ [SETTINGS_KEYS.CONFIRM_ON_WORKSPACE_ACTIONS]: "false",
66
+ [SETTINGS_KEYS.FEATURES_PER_SESSION_MCP]: "false"
65
67
  };
66
68
  function getSetting(key) {
67
69
  try {
@@ -114,4 +116,4 @@ export {
114
116
  getAllSettings,
115
117
  getMaxVisibleItems
116
118
  };
117
- //# sourceMappingURL=chunk-2J7SLQXL.js.map
119
+ //# sourceMappingURL=chunk-54Q4TGG6.js.map
@@ -0,0 +1,7 @@
1
+ // src/constants.ts
2
+ var VERSION = "2.0.92";
3
+
4
+ export {
5
+ VERSION
6
+ };
7
+ //# sourceMappingURL=chunk-5OGB3MCV.js.map
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  resolveDefaultAgentId
3
- } from "./chunk-L6B6R5SN.js";
3
+ } from "./chunk-NGN3Q26A.js";
4
4
  import {
5
5
  getDatabase
6
- } from "./chunk-EZWSS7LG.js";
6
+ } from "./chunk-6OAJNCRY.js";
7
7
 
8
8
  // src/server/db/sessions.ts
9
9
  function getProjectDangerLevel(projectId) {
@@ -167,6 +167,12 @@ function updateSessionMetadata(id, metadata) {
167
167
  `
168
168
  ).run(...values);
169
169
  }
170
+ function updateSessionMcpDisabledServers(id, disabledServers) {
171
+ const db = getDatabase();
172
+ const now = (/* @__PURE__ */ new Date()).toISOString();
173
+ const value = disabledServers.length > 0 ? JSON.stringify(disabledServers) : null;
174
+ db.prepare(`UPDATE sessions SET mcp_disabled_servers = ?, updated_at = ? WHERE id = ?`).run(value, now, id);
175
+ }
170
176
  function updateSessionCachedPrompt(id, systemPrompt, tools, hash) {
171
177
  const db = getDatabase();
172
178
  const now = (/* @__PURE__ */ new Date()).toISOString();
@@ -319,6 +325,7 @@ export {
319
325
  updateSessionPhase,
320
326
  updateSessionRunning,
321
327
  updateSessionMetadata,
328
+ updateSessionMcpDisabledServers,
322
329
  updateSessionCachedPrompt,
323
330
  getSessionCachedPrompt,
324
331
  updateSessionMessageCount,
@@ -329,4 +336,4 @@ export {
329
336
  updateSessionBranch,
330
337
  deleteSession
331
338
  };
332
- //# sourceMappingURL=chunk-VX5NASLY.js.map
339
+ //# sourceMappingURL=chunk-6J5IZ2NL.js.map
@@ -114,6 +114,14 @@ function runMigrations(db2) {
114
114
  logger.info("Migrating projects table: adding workspace_root_dir column");
115
115
  db2.exec(`ALTER TABLE projects ADD COLUMN workspace_root_dir TEXT`);
116
116
  }
117
+ if (!projectColumnNames.includes("mcp_overrides")) {
118
+ logger.info("Migrating projects table: adding mcp_overrides column");
119
+ db2.exec(`ALTER TABLE projects ADD COLUMN mcp_overrides TEXT`);
120
+ }
121
+ if (!columnNames.includes("mcp_disabled_servers")) {
122
+ logger.info("Migrating sessions table: adding mcp_disabled_servers column");
123
+ db2.exec(`ALTER TABLE sessions ADD COLUMN mcp_disabled_servers TEXT`);
124
+ }
117
125
  db2.exec(`
118
126
  CREATE TABLE IF NOT EXISTS events (
119
127
  id INTEGER PRIMARY KEY AUTOINCREMENT,
@@ -196,4 +204,4 @@ export {
196
204
  initDatabase,
197
205
  getDatabase
198
206
  };
199
- //# sourceMappingURL=chunk-EZWSS7LG.js.map
207
+ //# sourceMappingURL=chunk-6OAJNCRY.js.map
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  SETTINGS_KEYS,
3
3
  getSetting
4
- } from "./chunk-2J7SLQXL.js";
4
+ } from "./chunk-54Q4TGG6.js";
5
5
  import {
6
6
  logger
7
7
  } from "./chunk-K44MW7JJ.js";
@@ -171,4 +171,4 @@ export {
171
171
  proxyFetch,
172
172
  OpenAIHttpClient
173
173
  };
174
- //# sourceMappingURL=chunk-GR63QQFE.js.map
174
+ //# sourceMappingURL=chunk-7YBGCZSI.js.map
@@ -37,7 +37,7 @@ Options:
37
37
  }
38
38
  async function runNetworkSetup(mode) {
39
39
  const { loadAuthConfig, saveAuthConfig, encryptPassword } = await import("./auth-YY5PJYSC.js");
40
- const { saveGlobalConfig } = await import("./config-JN6MW5SL.js");
40
+ const { saveGlobalConfig } = await import("./config-XIYAPMX3.js");
41
41
  const { getAuthKeyPath } = await import("./paths-F27V3S4I.js");
42
42
  const existingAuth = await loadAuthConfig(mode);
43
43
  if (existingAuth) {
@@ -104,7 +104,7 @@ async function runNetworkSetup(mode) {
104
104
  console.log("\u2713 Configuration saved!\n");
105
105
  }
106
106
  async function runConfig(mode) {
107
- const { loadGlobalConfig, getActiveProvider, getDefaultModel } = await import("./config-JN6MW5SL.js");
107
+ const { loadGlobalConfig, getActiveProvider, getDefaultModel } = await import("./config-XIYAPMX3.js");
108
108
  const { getGlobalConfigPath } = await import("./paths-F27V3S4I.js");
109
109
  const config = await loadGlobalConfig(mode);
110
110
  const configPath = getGlobalConfigPath(mode);
@@ -163,7 +163,7 @@ async function runCli(options) {
163
163
  break;
164
164
  }
165
165
  case "provider": {
166
- const { runProviderCommand } = await import("./provider-IKKXQW6S.js");
166
+ const { runProviderCommand } = await import("./provider-SYYZI2KX.js");
167
167
  const [, subcommand] = positionals;
168
168
  await runProviderCommand(mode, subcommand);
169
169
  break;
@@ -200,7 +200,7 @@ async function runCli(options) {
200
200
  break;
201
201
  }
202
202
  case "update": {
203
- const { runUpdate } = await import("./update-HHQGMX7P.js");
203
+ const { runUpdate } = await import("./update-7ZIRWYSC.js");
204
204
  const code = await runUpdate();
205
205
  if (code !== 0) {
206
206
  process.exit(code);
@@ -208,12 +208,12 @@ async function runCli(options) {
208
208
  break;
209
209
  }
210
210
  default: {
211
- const { configFileExists } = await import("./config-JN6MW5SL.js");
211
+ const { configFileExists } = await import("./config-XIYAPMX3.js");
212
212
  const configExists = await configFileExists(mode);
213
213
  if (!configExists) {
214
214
  await runNetworkSetup(mode);
215
215
  }
216
- const { runServe } = await import("./serve-Q45HTS4J.js");
216
+ const { runServe } = await import("./serve-OYOC5O4A.js");
217
217
  const serveOptions = { mode };
218
218
  if (values.port) serveOptions.port = parseInt(values.port);
219
219
  if (values["no-browser"] === true) serveOptions.openBrowser = false;
@@ -225,4 +225,4 @@ async function runCli(options) {
225
225
  export {
226
226
  runCli
227
227
  };
228
- //# sourceMappingURL=chunk-GJN622K4.js.map
228
+ //# sourceMappingURL=chunk-AKZGFLMD.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  resolveDefaultAgentId
3
- } from "./chunk-L6B6R5SN.js";
3
+ } from "./chunk-NGN3Q26A.js";
4
4
 
5
5
  // src/server/events/apply-events.ts
6
6
  function markComplete(msg, reason) {
@@ -909,4 +909,4 @@ export {
909
909
  buildSnapshot,
910
910
  buildSnapshotFromSessionState
911
911
  };
912
- //# sourceMappingURL=chunk-NJ3XNK3V.js.map
912
+ //# sourceMappingURL=chunk-AXFPEGJI.js.map
@@ -4,7 +4,7 @@ import {
4
4
  import {
5
5
  getProjectByWorkdir,
6
6
  updateProject
7
- } from "./chunk-Q6AKRIM2.js";
7
+ } from "./chunk-ST4NYXLH.js";
8
8
  import {
9
9
  logger
10
10
  } from "./chunk-K44MW7JJ.js";
@@ -324,4 +324,4 @@ export {
324
324
  deleteWorkspace,
325
325
  isGitRepository
326
326
  };
327
- //# sourceMappingURL=chunk-67AVIA5G.js.map
327
+ //# sourceMappingURL=chunk-BJHPUMRX.js.map
@@ -17,7 +17,7 @@ import {
17
17
  import {
18
18
  LLMError,
19
19
  OpenAIHttpClient
20
- } from "./chunk-GR63QQFE.js";
20
+ } from "./chunk-7YBGCZSI.js";
21
21
  import {
22
22
  logger
23
23
  } from "./chunk-K44MW7JJ.js";
@@ -268,4 +268,4 @@ function createLLMClient(config, initialBackend = "unknown") {
268
268
  export {
269
269
  createLLMClient
270
270
  };
271
- //# sourceMappingURL=chunk-XKZZHAEZ.js.map
271
+ //# sourceMappingURL=chunk-C56Z4OVW.js.map
@@ -26,4 +26,4 @@ export {
26
26
  isClientMessage,
27
27
  isServerMessage
28
28
  };
29
- //# sourceMappingURL=chunk-U7RLUZBP.js.map
29
+ //# sourceMappingURL=chunk-CFK34T26.js.map
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  createServerMessage,
3
3
  isClientMessage
4
- } from "./chunk-U7RLUZBP.js";
4
+ } from "./chunk-CFK34T26.js";
5
5
 
6
6
  // src/server/ws/protocol.ts
7
7
  function enrichMessagesWithToolResults(messages) {
@@ -344,4 +344,4 @@ export {
344
344
  createQueueStateMessage,
345
345
  storedEventToServerMessage
346
346
  };
347
- //# sourceMappingURL=chunk-47WNBFDO.js.map
347
+ //# sourceMappingURL=chunk-CND2YWIJ.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  getProjectByWorkdir
3
- } from "./chunk-Q6AKRIM2.js";
3
+ } from "./chunk-ST4NYXLH.js";
4
4
  import {
5
5
  logger
6
6
  } from "./chunk-K44MW7JJ.js";
@@ -343,4 +343,4 @@ export {
343
343
  startInspectProxy,
344
344
  stopAllInspectProxies
345
345
  };
346
- //# sourceMappingURL=chunk-J2IVK667.js.map
346
+ //# sourceMappingURL=chunk-DH32AHTL.js.map