openfox 2.0.140 → 2.0.141

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 (44) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/dist/CHANGELOG.md +14 -0
  3. package/dist/{chat-handler-JWRCPG72.js → chat-handler-F7QRNO2E.js} +10 -10
  4. package/dist/{chunk-JTR3PC5I.js → chunk-2OTUYNXD.js} +2 -2
  5. package/dist/{chunk-GZJRXVVJ.js → chunk-BB67GW5P.js} +6 -6
  6. package/dist/{chunk-K227HOLU.js → chunk-CEEBKCGX.js} +3 -3
  7. package/dist/{chunk-7OHSAZLF.js → chunk-DBF5GKZF.js} +14 -16
  8. package/dist/{chunk-FIEFBRTQ.js → chunk-FBOIDBPA.js} +2 -2
  9. package/dist/{chunk-5F7LNEEP.js → chunk-G7BQWMV7.js} +2 -2
  10. package/dist/{chunk-MAUQ6AW4.js → chunk-IZVIN7XC.js} +3 -3
  11. package/dist/chunk-LDWWVUW7.js +7 -0
  12. package/dist/{chunk-5MGCTRKM.js → chunk-NDAXMOD2.js} +10 -10
  13. package/dist/{chunk-IFARTQOK.js → chunk-PS5CHS7S.js} +10 -10
  14. package/dist/{chunk-5EKBZXCU.js → chunk-RCEGPT57.js} +4 -4
  15. package/dist/{chunk-WD354R3H.js → chunk-RHUZLWZV.js} +3 -3
  16. package/dist/{chunk-QIGVYXMH.js → chunk-SKHU4M6L.js} +69 -63
  17. package/dist/{chunk-66XJC5TA.js → chunk-UJO67GFD.js} +4 -4
  18. package/dist/{chunk-RG326HS4.js → chunk-YFTCFJJM.js} +44 -12
  19. package/dist/cli/dev.js +1 -1
  20. package/dist/cli/index.js +1 -1
  21. package/dist/{compactor-UREBHSZQ.js → compactor-QDTK3SZI.js} +4 -4
  22. package/dist/{describe-image-TQOD52IC.js → describe-image-UFOHQIPB.js} +5 -5
  23. package/dist/{dynamic-context-KGSZ7TRQ.js → dynamic-context-UEC6MMEV.js} +4 -4
  24. package/dist/{events-ZLP5V2YU.js → events-73MLUDTX.js} +3 -3
  25. package/dist/{export-import-CJT33IO6.js → export-import-7I7EJKTE.js} +4 -4
  26. package/dist/{launch-7NKOCT5A.js → launch-77CO4C7W.js} +10 -10
  27. package/dist/{orchestrator-VSVDUGBT.js → orchestrator-IRUEM4R4.js} +9 -9
  28. package/dist/package.json +1 -1
  29. package/dist/{path-security-V3XALT5E.js → path-security-MQXMTFRU.js} +4 -4
  30. package/dist/{processor-ACZM62WO.js → processor-VMUKAMG6.js} +9 -9
  31. package/dist/{serve-36D5HXWE.js → serve-HTJREJEC.js} +15 -15
  32. package/dist/server/index.d.ts +3 -3
  33. package/dist/server/index.js +14 -14
  34. package/dist/{server-R3J26IP2.js → server-5FECIKQK.js} +13 -13
  35. package/dist/{session-overrides-7OPGV7CQ.js → session-overrides-WYOY7PVC.js} +3 -3
  36. package/dist/{sessions-VHS47DHO.js → sessions-U6D2T5QP.js} +2 -2
  37. package/dist/{tools-AY6XEVJK.js → tools-F4COIAZR.js} +7 -7
  38. package/dist/{update-JHFZMW3T.js → update-5TGZTHLD.js} +2 -2
  39. package/dist/web/assets/{index-BtkaULxJ.css → index-2WvLd7SC.css} +1 -1
  40. package/dist/web/assets/{index-Bm0_ekvt.js → index-A0-uewf7.js} +67 -67
  41. package/dist/web/index.html +2 -2
  42. package/dist/web/sw.js +1 -1
  43. package/package.json +1 -1
  44. package/dist/chunk-6RYTDRUR.js +0 -7
package/CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # Changelog
2
2
 
3
+ ## 2.0.141 - 2026-09-09
4
+
5
+ ### Enhancements
6
+
7
+ - **Homepage lists your 20 most recent sessions** — flat across all projects, sorted by last activity, with live status dots and links that open in a new tab; running sessions stay pinned so active work never drops off.
8
+ - **Projects section decluttered** — cards now sort starred-first and hold no sessions; tasks and new-session actions stay one click away.
9
+ - **Send and pause stay reachable on mobile** — the send, pause, and stop buttons now show while the agent is running instead of hiding.
10
+
11
+ ### Bug Fixes
12
+
13
+ - **Git --no-verify confirmation can no longer be skipped** — a semicolon, pipe, or `&&` inside a quoted commit message used to orphan the flag and silently bypass the confirmation; detection is now quote-aware.
14
+ - **Live task-board sync reaches every window** — task updates are now broadcast to all windows, so boards without an active session no longer go stale.
15
+ - **MCP servers connect once the HTTP server is listening** — OpenFox's self-referencing MCP entry no longer races startup and lands in a permanent error state.
16
+
3
17
  ## 2.0.140 - 2026-09-08
4
18
 
5
19
  ### Features
package/dist/CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # Changelog
2
2
 
3
+ ## 2.0.141 - 2026-09-09
4
+
5
+ ### Enhancements
6
+
7
+ - **Homepage lists your 20 most recent sessions** — flat across all projects, sorted by last activity, with live status dots and links that open in a new tab; running sessions stay pinned so active work never drops off.
8
+ - **Projects section decluttered** — cards now sort starred-first and hold no sessions; tasks and new-session actions stay one click away.
9
+ - **Send and pause stay reachable on mobile** — the send, pause, and stop buttons now show while the agent is running instead of hiding.
10
+
11
+ ### Bug Fixes
12
+
13
+ - **Git --no-verify confirmation can no longer be skipped** — a semicolon, pipe, or `&&` inside a quoted commit message used to orphan the flag and silently bypass the confirmation; detection is now quote-aware.
14
+ - **Live task-board sync reaches every window** — task updates are now broadcast to all windows, so boards without an active session no longer go stale.
15
+ - **MCP servers connect once the HTTP server is listening** — OpenFox's self-referencing MCP entry no longer races startup and lands in a permanent error state.
16
+
3
17
  ## 2.0.140 - 2026-09-08
4
18
 
5
19
  ### Features
@@ -2,18 +2,18 @@ import {
2
2
  buildRunChatTurnParams,
3
3
  finalizeTurnCompletion,
4
4
  generateSessionNameForSession
5
- } from "./chunk-K227HOLU.js";
5
+ } from "./chunk-CEEBKCGX.js";
6
6
  import {
7
7
  runChatTurn
8
- } from "./chunk-GZJRXVVJ.js";
9
- import "./chunk-5EKBZXCU.js";
10
- import "./chunk-5MGCTRKM.js";
8
+ } from "./chunk-BB67GW5P.js";
9
+ import "./chunk-RCEGPT57.js";
10
+ import "./chunk-NDAXMOD2.js";
11
11
  import "./chunk-CRJ5J7U5.js";
12
12
  import "./chunk-XE6UC5Z3.js";
13
13
  import "./chunk-J7GAZGZT.js";
14
14
  import "./chunk-TJOKDC34.js";
15
- import "./chunk-FIEFBRTQ.js";
16
- import "./chunk-MAUQ6AW4.js";
15
+ import "./chunk-FBOIDBPA.js";
16
+ import "./chunk-IZVIN7XC.js";
17
17
  import "./chunk-JLHYB445.js";
18
18
  import "./chunk-OA7KBQ2O.js";
19
19
  import "./chunk-GKRYQ56N.js";
@@ -23,12 +23,12 @@ import "./chunk-I72ACQ6R.js";
23
23
  import "./chunk-VIJVLLPT.js";
24
24
  import "./chunk-OAN4BXEW.js";
25
25
  import "./chunk-V5AC2TV7.js";
26
- import "./chunk-RG326HS4.js";
26
+ import "./chunk-YFTCFJJM.js";
27
27
  import {
28
28
  getEventStore
29
- } from "./chunk-JTR3PC5I.js";
29
+ } from "./chunk-2OTUYNXD.js";
30
30
  import "./chunk-AE2IBEUH.js";
31
- import "./chunk-7OHSAZLF.js";
31
+ import "./chunk-DBF5GKZF.js";
32
32
  import "./chunk-4F4ARGAM.js";
33
33
  import "./chunk-OSXPQSLW.js";
34
34
  import {
@@ -180,4 +180,4 @@ export {
180
180
  startChatSession,
181
181
  stopSessionExecution
182
182
  };
183
- //# sourceMappingURL=chat-handler-JWRCPG72.js.map
183
+ //# sourceMappingURL=chat-handler-F7QRNO2E.js.map
@@ -9,7 +9,7 @@ import {
9
9
  } from "./chunk-AE2IBEUH.js";
10
10
  import {
11
11
  updateSessionMessageCount
12
- } from "./chunk-7OHSAZLF.js";
12
+ } from "./chunk-DBF5GKZF.js";
13
13
  import {
14
14
  getRuntimeConfig
15
15
  } from "./chunk-4F4ARGAM.js";
@@ -1489,4 +1489,4 @@ export {
1489
1489
  truncateSessionMessages,
1490
1490
  getRecentUserPromptsForSession
1491
1491
  };
1492
- //# sourceMappingURL=chunk-JTR3PC5I.js.map
1492
+ //# sourceMappingURL=chunk-2OTUYNXD.js.map
@@ -3,14 +3,14 @@ import {
3
3
  checkToolChangesAndInject,
4
4
  computeDynamicContextHash,
5
5
  getToolFingerprint
6
- } from "./chunk-5EKBZXCU.js";
6
+ } from "./chunk-RCEGPT57.js";
7
7
  import {
8
8
  createAssemblyResult,
9
9
  getConversationMessages,
10
10
  getToolRegistryForAgent,
11
11
  processEventsForConversation,
12
12
  runTopLevelAgentLoop
13
- } from "./chunk-5MGCTRKM.js";
13
+ } from "./chunk-NDAXMOD2.js";
14
14
  import {
15
15
  getAllInstructions,
16
16
  getEnabledSkillMetadata
@@ -30,12 +30,12 @@ import {
30
30
  } from "./chunk-GKRYQ56N.js";
31
31
  import {
32
32
  PathAccessDeniedError
33
- } from "./chunk-RG326HS4.js";
33
+ } from "./chunk-YFTCFJJM.js";
34
34
  import {
35
35
  getCurrentContextWindowId,
36
36
  getCurrentWindowMessageOptions,
37
37
  getEventStore
38
- } from "./chunk-JTR3PC5I.js";
38
+ } from "./chunk-2OTUYNXD.js";
39
39
  import {
40
40
  buildSnapshotFromSessionState
41
41
  } from "./chunk-AE2IBEUH.js";
@@ -355,7 +355,7 @@ async function runAgentTurn(options, turnMetrics, agentId, append, callbacks) {
355
355
  getConversationMessages: buildGetConversationMessages(options.sessionId, resolveAgentClient, append),
356
356
  injectAgentReminder: () => injectAgentReminder(options.sessionId, agentDef),
357
357
  rebuildCachedContext: async () => {
358
- const { applyDynamicContext } = await import("./dynamic-context-KGSZ7TRQ.js");
358
+ const { applyDynamicContext } = await import("./dynamic-context-UEC6MMEV.js");
359
359
  await applyDynamicContext(options.sessionManager, options.sessionId, agentLlmClient.getModel());
360
360
  },
361
361
  ...options.initialCompacting ? { initialCompacting: true } : {},
@@ -385,4 +385,4 @@ export {
385
385
  runChatTurn,
386
386
  runAgentTurn
387
387
  };
388
- //# sourceMappingURL=chunk-GZJRXVVJ.js.map
388
+ //# sourceMappingURL=chunk-BB67GW5P.js.map
@@ -4,14 +4,14 @@ import {
4
4
  import {
5
5
  combineEventsWithSnapshot,
6
6
  getEventStore
7
- } from "./chunk-JTR3PC5I.js";
7
+ } from "./chunk-2OTUYNXD.js";
8
8
  import {
9
9
  buildMessagesFromStoredEvents,
10
10
  foldPendingConfirmations
11
11
  } from "./chunk-AE2IBEUH.js";
12
12
  import {
13
13
  updateSessionMetadata
14
- } from "./chunk-7OHSAZLF.js";
14
+ } from "./chunk-DBF5GKZF.js";
15
15
  import {
16
16
  getRuntimeConfig
17
17
  } from "./chunk-4F4ARGAM.js";
@@ -217,4 +217,4 @@ export {
217
217
  needsNameGeneration,
218
218
  generateSessionNameForSession
219
219
  };
220
- //# sourceMappingURL=chunk-K227HOLU.js.map
220
+ //# sourceMappingURL=chunk-CEEBKCGX.js.map
@@ -324,10 +324,9 @@ function listSessionsPaged(projectId, limit, offset) {
324
324
  const sessions = rows.slice(0, limit).map(mapSessionSummaryRow);
325
325
  return { sessions, hasMore };
326
326
  }
327
- function listHomeSessions(sessionsPerProject = 5) {
327
+ function listHomeSessions(limit = 20) {
328
328
  const db = getDatabase();
329
- const rows = db.prepare(
330
- `
329
+ const select = `
331
330
  SELECT
332
331
  s.id,
333
332
  s.project_id,
@@ -345,18 +344,17 @@ function listHomeSessions(sessionsPerProject = 5) {
345
344
  s.provider_model,
346
345
  s.message_count
347
346
  FROM sessions s
348
- ORDER BY s.updated_at DESC
349
- `
350
- ).all();
351
- const seen = /* @__PURE__ */ new Map();
352
- const result = [];
353
- for (const row of rows) {
354
- const count = seen.get(row.project_id) ?? 0;
355
- if (count >= sessionsPerProject) continue;
356
- seen.set(row.project_id, count + 1);
357
- result.push(mapSessionSummaryRow(row));
358
- }
359
- return result;
347
+ `;
348
+ const rows = db.prepare(`${select} ORDER BY s.updated_at DESC LIMIT ?`).all(limit);
349
+ const pinned = db.prepare(
350
+ `${select}
351
+ WHERE (s.is_running = 1 OR s.workflow_phase IN ('waiting', 'blocked'))
352
+ AND s.id NOT IN (SELECT id FROM sessions ORDER BY updated_at DESC LIMIT ?)`
353
+ ).all(limit);
354
+ const merged = [...rows, ...pinned].sort(
355
+ (a, b) => new Date(b.updated_at).getTime() - new Date(a.updated_at).getTime()
356
+ );
357
+ return merged.map(mapSessionSummaryRow);
360
358
  }
361
359
  function updateSessionWorkdir(id, workdir, workspace, branch) {
362
360
  const db = getDatabase();
@@ -484,4 +482,4 @@ export {
484
482
  getLatestWorkflowExecution,
485
483
  clearWorkflowExecution
486
484
  };
487
- //# sourceMappingURL=chunk-7OHSAZLF.js.map
485
+ //# sourceMappingURL=chunk-DBF5GKZF.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  updateSessionMcpDisabledServers
3
- } from "./chunk-7OHSAZLF.js";
3
+ } from "./chunk-DBF5GKZF.js";
4
4
  import {
5
5
  getProject
6
6
  } from "./chunk-DPFET73G.js";
@@ -96,4 +96,4 @@ export {
96
96
  computeDisabledServersForProject,
97
97
  initSessionMcpOverrides
98
98
  };
99
- //# sourceMappingURL=chunk-FIEFBRTQ.js.map
99
+ //# sourceMappingURL=chunk-FBOIDBPA.js.map
@@ -6,7 +6,7 @@ import {
6
6
  } from "./chunk-GKRYQ56N.js";
7
7
  import {
8
8
  getCurrentWindowMessageOptions
9
- } from "./chunk-JTR3PC5I.js";
9
+ } from "./chunk-2OTUYNXD.js";
10
10
 
11
11
  // src/server/context/compactor.ts
12
12
  function appendCompactionPrompt(sessionId, append) {
@@ -36,4 +36,4 @@ export {
36
36
  COMPACTION_MAX_RATIO,
37
37
  shouldCompact
38
38
  };
39
- //# sourceMappingURL=chunk-5F7LNEEP.js.map
39
+ //# sourceMappingURL=chunk-G7BQWMV7.js.map
@@ -8,10 +8,10 @@ import {
8
8
  PathAccessDeniedError,
9
9
  registerPathConfirmation,
10
10
  requestPathAccess
11
- } from "./chunk-RG326HS4.js";
11
+ } from "./chunk-YFTCFJJM.js";
12
12
  import {
13
13
  getEventStore
14
- } from "./chunk-JTR3PC5I.js";
14
+ } from "./chunk-2OTUYNXD.js";
15
15
  import {
16
16
  getRuntimeConfig
17
17
  } from "./chunk-4F4ARGAM.js";
@@ -1152,4 +1152,4 @@ export {
1152
1152
  isDescribeImageEligible,
1153
1153
  describeImageTool
1154
1154
  };
1155
- //# sourceMappingURL=chunk-MAUQ6AW4.js.map
1155
+ //# sourceMappingURL=chunk-IZVIN7XC.js.map
@@ -0,0 +1,7 @@
1
+ // src/constants.ts
2
+ var VERSION = "2.0.141";
3
+
4
+ export {
5
+ VERSION
6
+ };
7
+ //# sourceMappingURL=chunk-LDWWVUW7.js.map
@@ -17,7 +17,7 @@ import {
17
17
  } from "./chunk-TJOKDC34.js";
18
18
  import {
19
19
  getSessionDisabledServers
20
- } from "./chunk-FIEFBRTQ.js";
20
+ } from "./chunk-FBOIDBPA.js";
21
21
  import {
22
22
  buildSignal,
23
23
  computeFileHash,
@@ -33,7 +33,7 @@ import {
33
33
  requireSession,
34
34
  validateActionWithPermission,
35
35
  validateFileForWrite
36
- } from "./chunk-MAUQ6AW4.js";
36
+ } from "./chunk-IZVIN7XC.js";
37
37
  import {
38
38
  serverT
39
39
  } from "./chunk-JLHYB445.js";
@@ -93,12 +93,12 @@ import {
93
93
  extractAbsolutePathsFromCommand,
94
94
  extractSensitivePathsFromCommand,
95
95
  resolveRelativeTraversals
96
- } from "./chunk-RG326HS4.js";
96
+ } from "./chunk-YFTCFJJM.js";
97
97
  import {
98
98
  getCurrentContextWindowId,
99
99
  getCurrentWindowMessageOptions,
100
100
  getEventStore
101
- } from "./chunk-JTR3PC5I.js";
101
+ } from "./chunk-2OTUYNXD.js";
102
102
  import {
103
103
  buildContextMessagesFromEventHistory,
104
104
  foldContextState,
@@ -1731,7 +1731,7 @@ ${CONTINUE_PROMPT}` : CONTINUE_PROMPT;
1731
1731
  currentMaxTokensOverride = void 0;
1732
1732
  if (!compacting) {
1733
1733
  const contextState = sessionManager.getContextState(sessionId);
1734
- const { shouldCompact, appendCompactionPrompt } = await import("./compactor-UREBHSZQ.js");
1734
+ const { shouldCompact, appendCompactionPrompt } = await import("./compactor-QDTK3SZI.js");
1735
1735
  if (shouldCompact(
1736
1736
  contextState.currentTokens,
1737
1737
  contextState.maxTokens,
@@ -2447,7 +2447,7 @@ var callSubAgentTool = {
2447
2447
  };
2448
2448
  }
2449
2449
  try {
2450
- const { getToolRegistryForAgent: getToolRegistryForAgent2 } = await import("./tools-AY6XEVJK.js");
2450
+ const { getToolRegistryForAgent: getToolRegistryForAgent2 } = await import("./tools-F4COIAZR.js");
2451
2451
  const toolRegistry = getToolRegistryForAgent2(agentDef);
2452
2452
  const turnMetrics = new TurnMetrics();
2453
2453
  const result = await executeSubAgent({
@@ -3551,11 +3551,11 @@ var mcpConfigTool = createTool(
3551
3551
  async function notifyContextChanged(sessionId) {
3552
3552
  context.sessionManager.setDynamicContextChanged(sessionId, true);
3553
3553
  mcpNotifyChanged?.(sessionId);
3554
- const { injectContextDriftReminders } = await import("./dynamic-context-KGSZ7TRQ.js");
3554
+ const { injectContextDriftReminders } = await import("./dynamic-context-UEC6MMEV.js");
3555
3555
  await injectContextDriftReminders(context.sessionManager, sessionId);
3556
3556
  }
3557
3557
  async function rebuildTools() {
3558
- const { setMcpTools: setMcpTools2 } = await import("./tools-AY6XEVJK.js");
3558
+ const { setMcpTools: setMcpTools2 } = await import("./tools-F4COIAZR.js");
3559
3559
  const mcpTools = createMcpTools(mcpManagerForTools);
3560
3560
  setMcpTools2(mcpTools);
3561
3561
  }
@@ -3564,7 +3564,7 @@ var mcpConfigTool = createTool(
3564
3564
  if (servers.length === 0) {
3565
3565
  return helpers.success(serverT({ en: "No MCP servers configured.", fr: "Aucun serveur MCP configur\xE9." }));
3566
3566
  }
3567
- const { getSessionDisabledServers: getSessionDisabledServers2 } = await import("./session-overrides-7OPGV7CQ.js");
3567
+ const { getSessionDisabledServers: getSessionDisabledServers2 } = await import("./session-overrides-WYOY7PVC.js");
3568
3568
  const disabledForSession = new Set(context.sessionId ? getSessionDisabledServers2(context.sessionId) : []);
3569
3569
  const visibleServers = servers.filter((server) => !disabledForSession.has(server.name));
3570
3570
  if (visibleServers.length === 0) {
@@ -4697,4 +4697,4 @@ export {
4697
4697
  getToolRegistryForAgent,
4698
4698
  createToolRegistry
4699
4699
  };
4700
- //# sourceMappingURL=chunk-5MGCTRKM.js.map
4700
+ //# sourceMappingURL=chunk-NDAXMOD2.js.map
@@ -2,21 +2,21 @@ import {
2
2
  generateSessionNameForSession,
3
3
  getSessionMessageCount,
4
4
  needsNameGeneration
5
- } from "./chunk-K227HOLU.js";
5
+ } from "./chunk-CEEBKCGX.js";
6
6
  import {
7
7
  launchWorkflowRun
8
- } from "./chunk-66XJC5TA.js";
8
+ } from "./chunk-UJO67GFD.js";
9
9
  import {
10
10
  runChatTurn
11
- } from "./chunk-GZJRXVVJ.js";
11
+ } from "./chunk-BB67GW5P.js";
12
12
  import {
13
13
  applyDynamicContext,
14
14
  computeSessionHash,
15
15
  computeUnifiedDiff
16
- } from "./chunk-5EKBZXCU.js";
16
+ } from "./chunk-RCEGPT57.js";
17
17
  import {
18
18
  devServerManager
19
- } from "./chunk-5MGCTRKM.js";
19
+ } from "./chunk-NDAXMOD2.js";
20
20
  import {
21
21
  gitSpawnEnv
22
22
  } from "./chunk-J7GAZGZT.js";
@@ -25,7 +25,7 @@ import {
25
25
  } from "./chunk-JLHYB445.js";
26
26
  import {
27
27
  appendCompactionPrompt
28
- } from "./chunk-5F7LNEEP.js";
28
+ } from "./chunk-G7BQWMV7.js";
29
29
  import {
30
30
  hasRecentLLMFailure,
31
31
  interruptLLMRetryWait
@@ -43,7 +43,7 @@ import {
43
43
  import {
44
44
  combineEventsWithSnapshot,
45
45
  getEventStore
46
- } from "./chunk-JTR3PC5I.js";
46
+ } from "./chunk-2OTUYNXD.js";
47
47
  import {
48
48
  buildMessagesFromStoredEvents,
49
49
  foldPendingConfirmations
@@ -1350,7 +1350,7 @@ async function handleClientMessage(ws, client, message, _getLLMClient, _getActiv
1350
1350
  }
1351
1351
  const session = sessionManager.requireSession(sessionId);
1352
1352
  try {
1353
- const { buildCachedPrompt, computePreviewToolDiff } = await import("./dynamic-context-KGSZ7TRQ.js");
1353
+ const { buildCachedPrompt, computePreviewToolDiff } = await import("./dynamic-context-UEC6MMEV.js");
1354
1354
  const allAgents = await import("./registry-PVJAAL2Y.js");
1355
1355
  const agentDef = allAgents.findAgentById(session.mode, await allAgents.loadAllAgentsDefault()) ?? allAgents.findAgentById("planner", await allAgents.loadAllAgentsDefault());
1356
1356
  const modelName = session.providerModel ?? _providerManager?.getCurrentModel();
@@ -1362,7 +1362,7 @@ async function handleClientMessage(ws, client, message, _getLLMClient, _getActiv
1362
1362
  const oldCached = sessionManager.getCachedPrompt(sessionId);
1363
1363
  const oldPrompt = oldCached?.systemPrompt;
1364
1364
  const diff = oldPrompt ? computeUnifiedDiff(oldPrompt, newPrompt) : [];
1365
- const { getToolRegistryForAgent } = await import("./tools-AY6XEVJK.js");
1365
+ const { getToolRegistryForAgent } = await import("./tools-F4COIAZR.js");
1366
1366
  const unfilteredTools = getToolRegistryForAgent(agentDef).definitions;
1367
1367
  const toolDiff = computePreviewToolDiff(oldCached?.tools, unfilteredTools, newTools);
1368
1368
  send({
@@ -1735,4 +1735,4 @@ export {
1735
1735
  signalMcpReady,
1736
1736
  createWebSocketServer
1737
1737
  };
1738
- //# sourceMappingURL=chunk-IFARTQOK.js.map
1738
+ //# sourceMappingURL=chunk-PS5CHS7S.js.map
@@ -8,7 +8,7 @@ import {
8
8
  import {
9
9
  getCurrentContextWindowId,
10
10
  getEventStore
11
- } from "./chunk-JTR3PC5I.js";
11
+ } from "./chunk-2OTUYNXD.js";
12
12
  import {
13
13
  findAgentById,
14
14
  getRuntimeConfig,
@@ -327,8 +327,8 @@ function resolveAgentDef(sessionManager, sessionId) {
327
327
  });
328
328
  }
329
329
  async function getEffectiveToolDefinitions(agentDef, sessionId, modelName) {
330
- const { getToolRegistryForAgent } = await import("./tools-AY6XEVJK.js");
331
- const { isDescribeImageEligible } = await import("./describe-image-TQOD52IC.js");
330
+ const { getToolRegistryForAgent } = await import("./tools-F4COIAZR.js");
331
+ const { isDescribeImageEligible } = await import("./describe-image-UFOHQIPB.js");
332
332
  const all = getToolRegistryForAgent(agentDef, sessionId).definitions;
333
333
  const eligible = await isDescribeImageEligible(modelName);
334
334
  if (eligible) return all;
@@ -396,4 +396,4 @@ export {
396
396
  computeSessionHash,
397
397
  applyDynamicContext
398
398
  };
399
- //# sourceMappingURL=chunk-5EKBZXCU.js.map
399
+ //# sourceMappingURL=chunk-RCEGPT57.js.map
@@ -252,7 +252,7 @@ async function runCli(options) {
252
252
  break;
253
253
  }
254
254
  case "update": {
255
- const { runUpdate } = await import("./update-JHFZMW3T.js");
255
+ const { runUpdate } = await import("./update-5TGZTHLD.js");
256
256
  const code = await runUpdate();
257
257
  if (code !== 0) {
258
258
  process.exit(code);
@@ -265,7 +265,7 @@ async function runCli(options) {
265
265
  if (!configExists) {
266
266
  await runNetworkSetup(mode);
267
267
  }
268
- const { runServe } = await import("./serve-36D5HXWE.js");
268
+ const { runServe } = await import("./serve-HTJREJEC.js");
269
269
  const serveOptions = { mode };
270
270
  if (values.port) serveOptions.port = parseInt(values.port);
271
271
  if (values["no-browser"] === true) serveOptions.openBrowser = false;
@@ -277,4 +277,4 @@ async function runCli(options) {
277
277
  export {
278
278
  runCli
279
279
  };
280
- //# sourceMappingURL=chunk-WD354R3H.js.map
280
+ //# sourceMappingURL=chunk-RHUZLWZV.js.map