openfox 2.0.89 → 2.0.91

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 (85) hide show
  1. package/CHANGELOG.md +25 -0
  2. package/dist/CHANGELOG.md +25 -0
  3. package/dist/{chat-handler-NOTXEOLF.js → chat-handler-PC5BUJGA.js} +26 -22
  4. package/dist/chunk-3NGD6IVM.js +65 -0
  5. package/dist/{chunk-E5D7V7XC.js → chunk-4IBFA5IF.js} +8 -8
  6. package/dist/{chunk-VFMHWU3E.js → chunk-54Q4TGG6.js} +7 -3
  7. package/dist/{chunk-TAHZHEJ4.js → chunk-6J5IZ2NL.js} +10 -3
  8. package/dist/{chunk-EZWSS7LG.js → chunk-6OAJNCRY.js} +9 -1
  9. package/dist/{chunk-SYU5GNPN.js → chunk-7YBGCZSI.js} +2 -2
  10. package/dist/{chunk-AGYP7AUV.js → chunk-AXFPEGJI.js} +2 -2
  11. package/dist/{chunk-67AVIA5G.js → chunk-BJHPUMRX.js} +2 -2
  12. package/dist/{chunk-Q4OPCXV4.js → chunk-C56Z4OVW.js} +2 -2
  13. package/dist/{chunk-U7RLUZBP.js → chunk-CFK34T26.js} +1 -1
  14. package/dist/{chunk-47WNBFDO.js → chunk-CND2YWIJ.js} +2 -2
  15. package/dist/{chunk-J2IVK667.js → chunk-DH32AHTL.js} +2 -2
  16. package/dist/{chunk-7JC5YWST.js → chunk-DVVRKNFS.js} +62 -475
  17. package/dist/chunk-FSLCOA4R.js +144 -0
  18. package/dist/{chunk-NTYWC6PD.js → chunk-GH5PL3JW.js} +3 -3
  19. package/dist/chunk-GPODFKPQ.js +7 -0
  20. package/dist/{chunk-5OGOPB3I.js → chunk-JJY5O2WH.js} +236 -146
  21. package/dist/{chunk-J7R25K6N.js → chunk-JX6WL56A.js} +7 -7
  22. package/dist/{chunk-NGIOAASU.js → chunk-K2O7JTCX.js} +1 -243
  23. package/dist/{chunk-RNXMN5QY.js → chunk-LT4MPTGU.js} +4 -4
  24. package/dist/{chunk-7TFKWFY3.js → chunk-NGN3Q26A.js} +88 -72
  25. package/dist/chunk-NLJXZZTB.js +246 -0
  26. package/dist/{chunk-OVSB5SFF.js → chunk-NO65CC2R.js} +82 -32
  27. package/dist/{chunk-N54PQSCH.js → chunk-OQTLFO4R.js} +3 -2
  28. package/dist/{chunk-U2ECZUAX.js → chunk-Q7CN4JOO.js} +22 -75
  29. package/dist/{chunk-Q6AKRIM2.js → chunk-ST4NYXLH.js} +9 -2
  30. package/dist/chunk-SXHGRPCI.js +443 -0
  31. package/dist/{chunk-2GQ7X2NP.js → chunk-U7D72C4O.js} +4 -4
  32. package/dist/{chunk-4S76VMPH.js → chunk-VJEVCZZA.js} +6 -4
  33. package/dist/{chunk-VPFUXGMM.js → chunk-VKWVPQJ5.js} +3 -1
  34. package/dist/{chunk-3QHXJ3DJ.js → chunk-WPACSSBS.js} +3 -3
  35. package/dist/{chunk-ANYBIATF.js → chunk-WWC3R3YL.js} +2 -2
  36. package/dist/cli/dev.js +1 -1
  37. package/dist/cli/index.js +1 -1
  38. package/dist/{client-2KVPLIV4.js → client-RBXMHFX3.js} +5 -5
  39. package/dist/{compactor-W2CUKE22.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-OD7MN3FL.js → events-ICX5KVET.js} +7 -7
  43. package/dist/{folding-TDDQ5CXT.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-6UIC3QKJ.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-M2JDUBKK.js → path-security-XENIR7SX.js} +10 -10
  50. package/dist/{platform-55N6FRRU.js → platform-UKZ2QC34.js} +4 -4
  51. package/dist/{processor-FE4ZJ7GS.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-I2P3NYUI.js → provider-SYYZI2KX.js} +8 -8
  58. package/dist/{provider-manager-OLDOHCR2.js → provider-manager-P3ZSA5QS.js} +6 -6
  59. package/dist/registry-ERUV33AP.js +46 -0
  60. package/dist/{serve-UMPDBCVG.js → serve-KNVANLAK.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-Q6SYLG6U.js → sessions-7KCM5QH4.js} +7 -5
  66. package/dist/{settings-PFZWX6VY.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-NLKP65HF.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-BHTE5TMY.js → update-4BGMFSEG.js} +2 -2
  73. package/dist/{update-server-V6GJ43WH.js → update-server-4I6LXE5K.js} +2 -2
  74. package/dist/web/assets/index-Chu9JX0M.js +316 -0
  75. package/dist/web/assets/index-mS37wyUs.css +32 -0
  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-TH4JF6XP.js +0 -7
  81. package/dist/http-client-IPJGJXNJ.js +0 -11
  82. package/dist/orchestrator-NQDWCULY.js +0 -51
  83. package/dist/server-4PB7BNE6.js +0 -41
  84. package/dist/web/assets/index-BQfVUhSC.css +0 -32
  85. package/dist/web/assets/index-C5sTYb--.js +0 -306
package/CHANGELOG.md CHANGED
@@ -1,5 +1,30 @@
1
1
  # Changelog
2
2
 
3
+ ## 2.0.91 - 2026-07-25
4
+
5
+ ### Features
6
+
7
+ - **System prompt diff preview** — see what changed before applying a system prompt update, with mid-turn queueing support for running sessions.
8
+ - **Per-session and per-project MCP server toggles** — enable or disable MCP servers at the session or project level, with global → project → session resolution.
9
+
10
+ ### Bug Fixes
11
+
12
+ - **MCP override cache properly invalidated** — changes to disabled MCP servers now take effect immediately without requiring a restart.
13
+ - **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.
14
+
15
+ ## 2.0.90 - 2026-07-24
16
+
17
+ ### Features
18
+
19
+ - **Compact sidebar summary header** — when the right sidebar is hidden, a compact bar shows workspace/branch, metadata status, token context, and dev server controls with clickable popovers for full details.
20
+ - **Scroll-to-top button in chat feed** — hover to reveal at the top of the message list; click to scroll up and disable auto-scroll.
21
+ - **Scrollbar preset picker with Custom CSS editor** — choose from built-in scrollbar styles or write your own CSS in the Display settings.
22
+
23
+ ### Enhancements
24
+
25
+ - **Native browser scrollbars by default** — replaced custom scrollbar CSS with native scrollbars for better platform consistency; power users can customize via the new CSS editor.
26
+ - **Long session names truncated at 50 characters** — header dropdown, session list, and mobile nav now cap overly long names.
27
+
3
28
  ## 2.0.89 - 2026-07-23
4
29
 
5
30
  ### Features
package/dist/CHANGELOG.md CHANGED
@@ -1,5 +1,30 @@
1
1
  # Changelog
2
2
 
3
+ ## 2.0.91 - 2026-07-25
4
+
5
+ ### Features
6
+
7
+ - **System prompt diff preview** — see what changed before applying a system prompt update, with mid-turn queueing support for running sessions.
8
+ - **Per-session and per-project MCP server toggles** — enable or disable MCP servers at the session or project level, with global → project → session resolution.
9
+
10
+ ### Bug Fixes
11
+
12
+ - **MCP override cache properly invalidated** — changes to disabled MCP servers now take effect immediately without requiring a restart.
13
+ - **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.
14
+
15
+ ## 2.0.90 - 2026-07-24
16
+
17
+ ### Features
18
+
19
+ - **Compact sidebar summary header** — when the right sidebar is hidden, a compact bar shows workspace/branch, metadata status, token context, and dev server controls with clickable popovers for full details.
20
+ - **Scroll-to-top button in chat feed** — hover to reveal at the top of the message list; click to scroll up and disable auto-scroll.
21
+ - **Scrollbar preset picker with Custom CSS editor** — choose from built-in scrollbar styles or write your own CSS in the Display settings.
22
+
23
+ ### Enhancements
24
+
25
+ - **Native browser scrollbars by default** — replaced custom scrollbar CSS with native scrollbars for better platform consistency; power users can customize via the new CSS editor.
26
+ - **Long session names truncated at 50 characters** — header dropdown, session list, and mobile nav now cap overly long names.
27
+
3
28
  ## 2.0.89 - 2026-07-23
4
29
 
5
30
  ### Features
@@ -2,43 +2,47 @@ import {
2
2
  buildRunChatTurnParams,
3
3
  finalizeTurnCompletion,
4
4
  generateSessionNameForSession
5
- } from "./chunk-E5D7V7XC.js";
5
+ } from "./chunk-4IBFA5IF.js";
6
6
  import {
7
7
  runChatTurn
8
- } from "./chunk-U2ECZUAX.js";
9
- import "./chunk-7JC5YWST.js";
10
- import "./chunk-2GQ7X2NP.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-3QHXJ3DJ.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-NGIOAASU.js";
23
- import "./chunk-ANYBIATF.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-RNXMN5QY.js";
30
- import "./chunk-AGYP7AUV.js";
31
- import "./chunk-TAHZHEJ4.js";
32
- import "./chunk-7TFKWFY3.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-VFMHWU3E.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-NOTXEOLF.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-RNXMN5QY.js";
11
+ } from "./chunk-LT4MPTGU.js";
12
12
  import {
13
13
  buildMessagesFromStoredEvents,
14
14
  foldPendingConfirmations
15
- } from "./chunk-AGYP7AUV.js";
15
+ } from "./chunk-AXFPEGJI.js";
16
16
  import {
17
17
  updateSessionMetadata
18
- } from "./chunk-TAHZHEJ4.js";
18
+ } from "./chunk-6J5IZ2NL.js";
19
19
  import {
20
20
  getRuntimeConfig
21
- } from "./chunk-7TFKWFY3.js";
21
+ } from "./chunk-NGN3Q26A.js";
22
22
  import {
23
23
  getMaxVisibleItems
24
- } from "./chunk-VFMHWU3E.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-2KVPLIV4.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-E5D7V7XC.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 = {
@@ -17,6 +17,7 @@ var SETTINGS_KEYS = {
17
17
  DISPLAY_SHOW_OPEN_IN_EDITOR: "display.showOpenInEditorLinks",
18
18
  DISPLAY_SHOW_CHANGELOG_ON_UPDATE: "display.showChangelogOnUpdate",
19
19
  DISPLAY_MAX_VISIBLE_ITEMS: "display.maxVisibleItems",
20
+ DISPLAY_CUSTOM_CSS: "display.customCss",
20
21
  LLM_DYNAMIC_SYSTEM_PROMPT: "llm.dynamicSystemPrompt",
21
22
  CACHE_WARMING: "cache.warming",
22
23
  KEYBINDINGS: "keybindings",
@@ -29,6 +30,7 @@ var SETTINGS_KEYS = {
29
30
  TOOLS_USE_RTK: "tools.useRtk",
30
31
  TOOLS_SHELL: "tools.shell",
31
32
  CONFIRM_ON_WORKSPACE_ACTIONS: "tools.confirmOnWorkspaceActions",
33
+ FEATURES_PER_SESSION_MCP: "features.perSessionMcp",
32
34
  PROXY_URL: "network.proxyUrl",
33
35
  DEFAULT_AGENT: "agent.defaultAgent"
34
36
  };
@@ -44,6 +46,7 @@ var SETTINGS_DEFAULTS = {
44
46
  [SETTINGS_KEYS.DISPLAY_SHOW_OPEN_IN_EDITOR]: "false",
45
47
  [SETTINGS_KEYS.DISPLAY_SHOW_CHANGELOG_ON_UPDATE]: "true",
46
48
  [SETTINGS_KEYS.DISPLAY_MAX_VISIBLE_ITEMS]: "300",
49
+ [SETTINGS_KEYS.DISPLAY_CUSTOM_CSS]: "",
47
50
  [SETTINGS_KEYS.LLM_DYNAMIC_SYSTEM_PROMPT]: "false",
48
51
  [SETTINGS_KEYS.CACHE_WARMING]: "false",
49
52
  [SETTINGS_KEYS.RETRY_PATTERNS]: JSON.stringify({ patterns: [], maxRetriesPerTurn: 10 }),
@@ -59,7 +62,8 @@ var SETTINGS_DEFAULTS = {
59
62
  }),
60
63
  [SETTINGS_KEYS.TOOLS_USE_RTK]: "false",
61
64
  [SETTINGS_KEYS.TOOLS_SHELL]: "cmd",
62
- [SETTINGS_KEYS.CONFIRM_ON_WORKSPACE_ACTIONS]: "false"
65
+ [SETTINGS_KEYS.CONFIRM_ON_WORKSPACE_ACTIONS]: "false",
66
+ [SETTINGS_KEYS.FEATURES_PER_SESSION_MCP]: "false"
63
67
  };
64
68
  function getSetting(key) {
65
69
  try {
@@ -112,4 +116,4 @@ export {
112
116
  getAllSettings,
113
117
  getMaxVisibleItems
114
118
  };
115
- //# sourceMappingURL=chunk-VFMHWU3E.js.map
119
+ //# sourceMappingURL=chunk-54Q4TGG6.js.map
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  resolveDefaultAgentId
3
- } from "./chunk-7TFKWFY3.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-TAHZHEJ4.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-VFMHWU3E.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-SYU5GNPN.js.map
174
+ //# sourceMappingURL=chunk-7YBGCZSI.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  resolveDefaultAgentId
3
- } from "./chunk-7TFKWFY3.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-AGYP7AUV.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-SYU5GNPN.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-Q4OPCXV4.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