openfox 2.0.141 → 2.0.143

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 (91) hide show
  1. package/CHANGELOG.md +32 -0
  2. package/dist/CHANGELOG.md +32 -0
  3. package/dist/{backend-EPISSWLB.js → backend-2VSDPCWS.js} +2 -2
  4. package/dist/{chat-handler-F7QRNO2E.js → chat-handler-VDB4CSXK.js} +29 -29
  5. package/dist/{chunk-CRJ5J7U5.js → chunk-2CEZQAGQ.js} +3 -3
  6. package/dist/{chunk-IZVIN7XC.js → chunk-5KA3L46F.js} +7 -7
  7. package/dist/chunk-6DLQ2AV4.js +7 -0
  8. package/dist/{chunk-R5FAEKXQ.js → chunk-73BO5OT3.js} +2 -1
  9. package/dist/{chunk-PS5CHS7S.js → chunk-7XA3MEX2.js} +18 -18
  10. package/dist/{chunk-OA7KBQ2O.js → chunk-CTAYPMB2.js} +2 -2
  11. package/dist/{chunk-CEEBKCGX.js → chunk-CYTC2E3O.js} +7 -7
  12. package/dist/{chunk-EE6VFEE6.js → chunk-DNL2NUDB.js} +2 -2
  13. package/dist/{chunk-UA2ATO3B.js → chunk-DQEANXXF.js} +3 -3
  14. package/dist/{chunk-4F4ARGAM.js → chunk-DRIR2IZR.js} +3 -3
  15. package/dist/{chunk-AE2IBEUH.js → chunk-EFEHIJXF.js} +2 -2
  16. package/dist/{chunk-TJOKDC34.js → chunk-EX6ROYYS.js} +399 -86
  17. package/dist/{chunk-DBF5GKZF.js → chunk-F3R4YS3F.js} +3 -3
  18. package/dist/{chunk-SSHXYKW3.js → chunk-FHBLF2QR.js} +3 -3
  19. package/dist/{chunk-VLQ6BMU7.js → chunk-FTPQI5TA.js} +11 -1
  20. package/dist/{chunk-RCEGPT57.js → chunk-H3QN2J4X.js} +7 -7
  21. package/dist/{chunk-RHUZLWZV.js → chunk-HZOL7UEC.js} +8 -8
  22. package/dist/{chunk-SKHU4M6L.js → chunk-IMQDO5EJ.js} +143 -139
  23. package/dist/{chunk-DPFET73G.js → chunk-JYYBSODN.js} +2 -2
  24. package/dist/{chunk-H7YL7PH3.js → chunk-KVDOPLXJ.js} +3 -3
  25. package/dist/{chunk-46Q2SHGJ.js → chunk-MEPTCUYN.js} +2 -2
  26. package/dist/{chunk-YFTCFJJM.js → chunk-N5AJHJG5.js} +3 -3
  27. package/dist/{chunk-2OTUYNXD.js → chunk-NJFXYSXP.js} +5 -5
  28. package/dist/{chunk-XE6UC5Z3.js → chunk-PHR64A6U.js} +2 -2
  29. package/dist/{chunk-BB67GW5P.js → chunk-QZV3M6V5.js} +13 -13
  30. package/dist/{chunk-G7BQWMV7.js → chunk-SJTBOREW.js} +4 -4
  31. package/dist/{chunk-EMXMTCSY.js → chunk-SKNPOZYP.js} +4 -2
  32. package/dist/{chunk-JLHYB445.js → chunk-TIIWXMGE.js} +2 -2
  33. package/dist/{chunk-LW6MMSTD.js → chunk-VGE6UYND.js} +2 -2
  34. package/dist/{chunk-UJO67GFD.js → chunk-VKZBCC75.js} +11 -10
  35. package/dist/{chunk-JU757HVI.js → chunk-WOVWVB5J.js} +11 -1
  36. package/dist/{chunk-FBOIDBPA.js → chunk-WSDR27YV.js} +4 -4
  37. package/dist/{chunk-NDAXMOD2.js → chunk-Z4CTMGFH.js} +30 -29
  38. package/dist/{chunk-GKRYQ56N.js → chunk-Z7IT3V22.js} +3 -3
  39. package/dist/cli/dev.js +1 -1
  40. package/dist/cli/index.js +1 -1
  41. package/dist/{client-KJS7QIIV.js → client-ZEGIB3MF.js} +6 -6
  42. package/dist/{compactor-QDTK3SZI.js → compactor-2MSRXHVA.js} +13 -13
  43. package/dist/{config-LOK3LXFH.js → config-AJSENHBC.js} +2 -2
  44. package/dist/{describe-image-UFOHQIPB.js → describe-image-QSEMMRV7.js} +12 -12
  45. package/dist/{dynamic-context-UEC6MMEV.js → dynamic-context-3THEBFBI.js} +12 -12
  46. package/dist/{events-73MLUDTX.js → events-UAUOGRSV.js} +8 -8
  47. package/dist/{export-import-7I7EJKTE.js → export-import-SYYISNTZ.js} +9 -9
  48. package/dist/{folding-BXMVJIFF.js → folding-IHD244OU.js} +6 -6
  49. package/dist/http-client-RA7XFYPO.js +11 -0
  50. package/dist/{inspect-proxy-A3OROWPG.js → inspect-proxy-24Q2CNCZ.js} +4 -4
  51. package/dist/launch-MF2VT7SU.js +58 -0
  52. package/dist/{manager-JZNNVDYR.js → manager-4SMHCFXY.js} +5 -5
  53. package/dist/{mcp-SQ4DOGPT.js → mcp-C7PNGP25.js} +2 -2
  54. package/dist/{orchestrator-IRUEM4R4.js → orchestrator-BU4RJHPZ.js} +28 -28
  55. package/dist/package.json +1 -1
  56. package/dist/{path-security-MQXMTFRU.js → path-security-WOA6MTWQ.js} +10 -10
  57. package/dist/{platform-DBPLSLE4.js → platform-EAZNZDAE.js} +4 -4
  58. package/dist/{processor-VMUKAMG6.js → processor-IZ4EAHPD.js} +28 -28
  59. package/dist/{project-creator-T3A4H3YV.js → project-creator-K5EGKY2P.js} +3 -3
  60. package/dist/{projects-5U37RUTL.js → projects-VDWCFPVE.js} +3 -3
  61. package/dist/{protocol-D6DZzkSH.d.ts → protocol-Ch2s26bR.d.ts} +1 -1
  62. package/dist/provider/index.d.ts +4 -4
  63. package/dist/{provider-7LNTLWRB.js → provider-YNTH5YG5.js} +9 -9
  64. package/dist/{provider-manager-TV5I5YJH.js → provider-manager-2UENHAAA.js} +7 -7
  65. package/dist/{registry-PVJAAL2Y.js → registry-C7RKKHZB.js} +5 -5
  66. package/dist/scheduler-VLTPMGGJ.js +25 -0
  67. package/dist/{serve-HTJREJEC.js → serve-KKAOO7YM.js} +34 -34
  68. package/dist/server/index.d.ts +4 -4
  69. package/dist/server/index.js +33 -33
  70. package/dist/server-PVO4USPN.js +61 -0
  71. package/dist/{service-7QKWUNU4.js → service-OQZWTW34.js} +10 -10
  72. package/dist/{session-overrides-WYOY7PVC.js → session-overrides-CKS2AVE5.js} +7 -7
  73. package/dist/{sessions-U6D2T5QP.js → sessions-DAHLRQE2.js} +6 -6
  74. package/dist/{settings-HCSHADP5.js → settings-TR4BF2C4.js} +3 -3
  75. package/dist/shared/index.d.ts +3 -3
  76. package/dist/{tasks-E7EG7344.js → tasks-WC23TK6I.js} +19 -13
  77. package/dist/{tools-F4COIAZR.js → tools-CECV6XQ6.js} +26 -26
  78. package/dist/{types-CLcL33hJ.d.ts → types-BajWwfkt.d.ts} +35 -2
  79. package/dist/{types-ofYNpiqi.d.ts → types-BiHNYUUI.d.ts} +1 -1
  80. package/dist/{update-5TGZTHLD.js → update-6MBRWJAV.js} +2 -2
  81. package/dist/web/assets/{index-2WvLd7SC.css → index--zSmgMW5.css} +1 -1
  82. package/dist/web/assets/index-CxuR2kCS.js +316 -0
  83. package/dist/web/index.html +2 -2
  84. package/dist/web/sw.js +1 -1
  85. package/dist/{workspace-LM646OHC.js → workspace-ENN27P56.js} +4 -4
  86. package/package.json +1 -1
  87. package/dist/chunk-LDWWVUW7.js +0 -7
  88. package/dist/http-client-JVJ43TBY.js +0 -11
  89. package/dist/launch-77CO4C7W.js +0 -58
  90. package/dist/server-5FECIKQK.js +0 -61
  91. package/dist/web/assets/index-A0-uewf7.js +0 -313
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  getDatabase
3
- } from "./chunk-JU757HVI.js";
3
+ } from "./chunk-WOVWVB5J.js";
4
4
 
5
5
  // src/server/db/projects.ts
6
6
  function createProject(name, workdir) {
@@ -144,4 +144,4 @@ export {
144
144
  toggleStar,
145
145
  getProjectDefaultAgent
146
146
  };
147
- //# sourceMappingURL=chunk-DPFET73G.js.map
147
+ //# sourceMappingURL=chunk-JYYBSODN.js.map
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-OA2FURC3.js";
5
5
  import {
6
6
  createLLMClient
7
- } from "./chunk-SSHXYKW3.js";
7
+ } from "./chunk-FHBLF2QR.js";
8
8
  import {
9
9
  getModelProfile
10
10
  } from "./chunk-TS5WKTFB.js";
@@ -12,7 +12,7 @@ import {
12
12
  detectBackendFromUrl,
13
13
  detectProviderDefaultsFromUrl,
14
14
  getBackendCapabilities
15
- } from "./chunk-VLQ6BMU7.js";
15
+ } from "./chunk-FTPQI5TA.js";
16
16
  import {
17
17
  buildModelsUrl,
18
18
  ensureVersionPrefix,
@@ -920,4 +920,4 @@ export {
920
920
  parseDefaultModelSelection,
921
921
  createProviderManager
922
922
  };
923
- //# sourceMappingURL=chunk-H7YL7PH3.js.map
923
+ //# sourceMappingURL=chunk-KVDOPLXJ.js.map
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  SETTINGS_KEYS,
3
3
  getSetting
4
- } from "./chunk-EMXMTCSY.js";
4
+ } from "./chunk-SKNPOZYP.js";
5
5
 
6
6
  // src/server/utils/platform.ts
7
7
  import os from "os";
@@ -63,4 +63,4 @@ export {
63
63
  isWindowsPath,
64
64
  isAbsolutePath
65
65
  };
66
- //# sourceMappingURL=chunk-46Q2SHGJ.js.map
66
+ //# sourceMappingURL=chunk-MEPTCUYN.js.map
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  getEventStore
3
- } from "./chunk-2OTUYNXD.js";
3
+ } from "./chunk-NJFXYSXP.js";
4
4
  import {
5
5
  createChatPathConfirmationMessage
6
6
  } from "./chunk-OVAHNEFG.js";
7
7
  import {
8
8
  getPlatformShell
9
- } from "./chunk-46Q2SHGJ.js";
9
+ } from "./chunk-MEPTCUYN.js";
10
10
 
11
11
  // src/server/tools/path-security.ts
12
12
  import { realpath } from "fs/promises";
@@ -988,4 +988,4 @@ export {
988
988
  getConfirmationSessionId,
989
989
  getPendingConfirmationsBySession
990
990
  };
991
- //# sourceMappingURL=chunk-YFTCFJJM.js.map
991
+ //# sourceMappingURL=chunk-N5AJHJG5.js.map
@@ -6,16 +6,16 @@ import {
6
6
  foldSessionState,
7
7
  spreadOptionalMessageFields,
8
8
  trimSnapshotStreamingOutput
9
- } from "./chunk-AE2IBEUH.js";
9
+ } from "./chunk-EFEHIJXF.js";
10
10
  import {
11
11
  updateSessionMessageCount
12
- } from "./chunk-DBF5GKZF.js";
12
+ } from "./chunk-F3R4YS3F.js";
13
13
  import {
14
14
  getRuntimeConfig
15
- } from "./chunk-4F4ARGAM.js";
15
+ } from "./chunk-DRIR2IZR.js";
16
16
  import {
17
17
  SETTINGS_KEYS
18
- } from "./chunk-EMXMTCSY.js";
18
+ } from "./chunk-SKNPOZYP.js";
19
19
  import {
20
20
  logger
21
21
  } from "./chunk-K44MW7JJ.js";
@@ -1489,4 +1489,4 @@ export {
1489
1489
  truncateSessionMessages,
1490
1490
  getRecentUserPromptsForSession
1491
1491
  };
1492
- //# sourceMappingURL=chunk-2OTUYNXD.js.map
1492
+ //# sourceMappingURL=chunk-NJFXYSXP.js.map
@@ -4,7 +4,7 @@ import {
4
4
  import {
5
5
  getProjectByWorkdir,
6
6
  updateProject
7
- } from "./chunk-DPFET73G.js";
7
+ } from "./chunk-JYYBSODN.js";
8
8
  import {
9
9
  logger
10
10
  } from "./chunk-K44MW7JJ.js";
@@ -347,4 +347,4 @@ export {
347
347
  deleteWorkspace,
348
348
  isGitRepository
349
349
  };
350
- //# sourceMappingURL=chunk-XE6UC5Z3.js.map
350
+ //# sourceMappingURL=chunk-PHR64A6U.js.map
@@ -3,49 +3,49 @@ import {
3
3
  checkToolChangesAndInject,
4
4
  computeDynamicContextHash,
5
5
  getToolFingerprint
6
- } from "./chunk-RCEGPT57.js";
6
+ } from "./chunk-H3QN2J4X.js";
7
7
  import {
8
8
  createAssemblyResult,
9
9
  getConversationMessages,
10
10
  getToolRegistryForAgent,
11
11
  processEventsForConversation,
12
12
  runTopLevelAgentLoop
13
- } from "./chunk-NDAXMOD2.js";
13
+ } from "./chunk-Z4CTMGFH.js";
14
14
  import {
15
15
  getAllInstructions,
16
16
  getEnabledSkillMetadata
17
- } from "./chunk-CRJ5J7U5.js";
17
+ } from "./chunk-2CEZQAGQ.js";
18
18
  import {
19
19
  serverT
20
- } from "./chunk-JLHYB445.js";
20
+ } from "./chunk-TIIWXMGE.js";
21
21
  import {
22
22
  TurnMetrics,
23
23
  createChatDoneEvent,
24
24
  createMessageStartEvent
25
- } from "./chunk-OA7KBQ2O.js";
25
+ } from "./chunk-CTAYPMB2.js";
26
26
  import {
27
27
  buildAgentReminder,
28
28
  buildAgentSmallReminder,
29
29
  buildTopLevelSystemPrompt
30
- } from "./chunk-GKRYQ56N.js";
30
+ } from "./chunk-Z7IT3V22.js";
31
31
  import {
32
32
  PathAccessDeniedError
33
- } from "./chunk-YFTCFJJM.js";
33
+ } from "./chunk-N5AJHJG5.js";
34
34
  import {
35
35
  getCurrentContextWindowId,
36
36
  getCurrentWindowMessageOptions,
37
37
  getEventStore
38
- } from "./chunk-2OTUYNXD.js";
38
+ } from "./chunk-NJFXYSXP.js";
39
39
  import {
40
40
  buildSnapshotFromSessionState
41
- } from "./chunk-AE2IBEUH.js";
41
+ } from "./chunk-EFEHIJXF.js";
42
42
  import {
43
43
  findAgentById,
44
44
  getRuntimeConfig,
45
45
  getSubAgents,
46
46
  loadAllAgentsDefault,
47
47
  resolveDefaultAgentId
48
- } from "./chunk-4F4ARGAM.js";
48
+ } from "./chunk-DRIR2IZR.js";
49
49
  import {
50
50
  logger
51
51
  } from "./chunk-K44MW7JJ.js";
@@ -55,7 +55,7 @@ import {
55
55
 
56
56
  // src/server/chat/orchestrator.ts
57
57
  async function buildRetryPatterns() {
58
- const { getSetting, SETTINGS_KEYS } = await import("./settings-HCSHADP5.js");
58
+ const { getSetting, SETTINGS_KEYS } = await import("./settings-TR4BF2C4.js");
59
59
  const raw = getSetting(SETTINGS_KEYS.RETRY_PATTERNS);
60
60
  if (!raw) {
61
61
  const oldXmlProtection = getSetting("llm.disableXmlProtection");
@@ -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-UEC6MMEV.js");
358
+ const { applyDynamicContext } = await import("./dynamic-context-3THEBFBI.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-BB67GW5P.js.map
388
+ //# sourceMappingURL=chunk-QZV3M6V5.js.map
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  createMessageStartEvent
3
- } from "./chunk-OA7KBQ2O.js";
3
+ } from "./chunk-CTAYPMB2.js";
4
4
  import {
5
5
  COMPACTION_PROMPT
6
- } from "./chunk-GKRYQ56N.js";
6
+ } from "./chunk-Z7IT3V22.js";
7
7
  import {
8
8
  getCurrentWindowMessageOptions
9
- } from "./chunk-2OTUYNXD.js";
9
+ } from "./chunk-NJFXYSXP.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-G7BQWMV7.js.map
39
+ //# sourceMappingURL=chunk-SJTBOREW.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  getDatabase
3
- } from "./chunk-JU757HVI.js";
3
+ } from "./chunk-WOVWVB5J.js";
4
4
 
5
5
  // src/server/db/settings.ts
6
6
  var SETTINGS_KEYS = {
@@ -30,6 +30,7 @@ var SETTINGS_KEYS = {
30
30
  DISPLAY_COLLAPSE_PROVIDERS_BY_DEFAULT: "display.collapseProvidersByDefault",
31
31
  DISPLAY_COLLAPSE_FAVORITES_BY_DEFAULT: "display.collapseFavoritesByDefault",
32
32
  DISPLAY_MODEL_FAVORITES: "display.modelFavorites",
33
+ DISPLAY_MOBILE_FULLSCREEN_COMPOSER: "display.mobileFullscreenComposer",
33
34
  LLM_DYNAMIC_SYSTEM_PROMPT: "llm.dynamicSystemPrompt",
34
35
  LLM_CAVEMAN_THINKING: "llm.cavemanThinking",
35
36
  CACHE_WARMING: "cache.warming",
@@ -74,6 +75,7 @@ var SETTINGS_DEFAULTS = {
74
75
  [SETTINGS_KEYS.DISPLAY_COLLAPSE_PROVIDERS_BY_DEFAULT]: "false",
75
76
  [SETTINGS_KEYS.DISPLAY_COLLAPSE_FAVORITES_BY_DEFAULT]: "false",
76
77
  [SETTINGS_KEYS.DISPLAY_MODEL_FAVORITES]: "[]",
78
+ [SETTINGS_KEYS.DISPLAY_MOBILE_FULLSCREEN_COMPOSER]: "false",
77
79
  [SETTINGS_KEYS.LLM_DYNAMIC_SYSTEM_PROMPT]: "false",
78
80
  [SETTINGS_KEYS.LLM_CAVEMAN_THINKING]: "false",
79
81
  [SETTINGS_KEYS.CACHE_WARMING]: "false",
@@ -170,4 +172,4 @@ export {
170
172
  pruneFavoriteModels,
171
173
  getMaxVisibleItems
172
174
  };
173
- //# sourceMappingURL=chunk-EMXMTCSY.js.map
175
+ //# sourceMappingURL=chunk-SKNPOZYP.js.map
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  SETTINGS_KEYS,
3
3
  getSetting
4
- } from "./chunk-EMXMTCSY.js";
4
+ } from "./chunk-SKNPOZYP.js";
5
5
  import {
6
6
  getLocale,
7
7
  setLocale,
@@ -21,4 +21,4 @@ function serverT(tx, vars) {
21
21
  export {
22
22
  serverT
23
23
  };
24
- //# sourceMappingURL=chunk-JLHYB445.js.map
24
+ //# sourceMappingURL=chunk-TIIWXMGE.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  getProjectByWorkdir
3
- } from "./chunk-DPFET73G.js";
3
+ } from "./chunk-JYYBSODN.js";
4
4
  import {
5
5
  logger
6
6
  } from "./chunk-K44MW7JJ.js";
@@ -345,4 +345,4 @@ export {
345
345
  startInspectProxy,
346
346
  stopAllInspectProxies
347
347
  };
348
- //# sourceMappingURL=chunk-LW6MMSTD.js.map
348
+ //# sourceMappingURL=chunk-VGE6UYND.js.map
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  runAgentTurn
3
- } from "./chunk-BB67GW5P.js";
3
+ } from "./chunk-QZV3M6V5.js";
4
4
  import {
5
5
  executeSubAgent,
6
6
  getToolRegistryForAgent
7
- } from "./chunk-NDAXMOD2.js";
7
+ } from "./chunk-Z4CTMGFH.js";
8
8
  import {
9
9
  gitSpawnEnv
10
10
  } from "./chunk-J7GAZGZT.js";
@@ -15,39 +15,39 @@ import {
15
15
  loadProjectWorkflows,
16
16
  loadUserWorkflows,
17
17
  normalizeWorkflowScope
18
- } from "./chunk-TJOKDC34.js";
18
+ } from "./chunk-EX6ROYYS.js";
19
19
  import {
20
20
  serverT
21
- } from "./chunk-JLHYB445.js";
21
+ } from "./chunk-TIIWXMGE.js";
22
22
  import {
23
23
  TurnMetrics,
24
24
  createMessageStartEvent
25
- } from "./chunk-OA7KBQ2O.js";
25
+ } from "./chunk-CTAYPMB2.js";
26
26
  import {
27
27
  checkAborted,
28
28
  decodeUtf8,
29
29
  spawnShellProcess
30
- } from "./chunk-UA2ATO3B.js";
30
+ } from "./chunk-DQEANXXF.js";
31
31
  import {
32
32
  terminateProcessTree
33
33
  } from "./chunk-I72ACQ6R.js";
34
34
  import {
35
35
  getCurrentContextWindowId,
36
36
  getEventStore
37
- } from "./chunk-2OTUYNXD.js";
37
+ } from "./chunk-NJFXYSXP.js";
38
38
  import {
39
39
  findAgentById,
40
40
  getRuntimeConfig,
41
41
  loadAllAgentsDefault,
42
42
  resolveDefaultAgentId
43
- } from "./chunk-4F4ARGAM.js";
43
+ } from "./chunk-DRIR2IZR.js";
44
44
  import {
45
45
  createChatMessageMessage,
46
46
  createSessionRunningMessage
47
47
  } from "./chunk-OVAHNEFG.js";
48
48
  import {
49
49
  LLMError
50
- } from "./chunk-EE6VFEE6.js";
50
+ } from "./chunk-DNL2NUDB.js";
51
51
  import {
52
52
  logger
53
53
  } from "./chunk-K44MW7JJ.js";
@@ -663,6 +663,7 @@ async function executeWorkflow(workflow, options, subGroup) {
663
663
  llmClient,
664
664
  toolRegistry: filteredToolRegistry,
665
665
  turnMetrics,
666
+ providerManager: sessionManager.getProviderManager?.(),
666
667
  statsIdentity: options.statsIdentity ?? {
667
668
  providerId: "",
668
669
  providerName: "",
@@ -1023,4 +1024,4 @@ export {
1023
1024
  abortRunnerRun,
1024
1025
  launchWorkflowRun
1025
1026
  };
1026
- //# sourceMappingURL=chunk-UJO67GFD.js.map
1027
+ //# sourceMappingURL=chunk-VKZBCC75.js.map
@@ -277,6 +277,16 @@ function runMigrations(db2) {
277
277
  )
278
278
  `);
279
279
  db2.exec(`CREATE INDEX IF NOT EXISTS idx_tasks_project ON tasks(project_id, status)`);
280
+ const taskColumns = db2.prepare(`PRAGMA table_info(tasks)`).all();
281
+ const taskColumnNames = taskColumns.map((c) => c.name);
282
+ if (!taskColumnNames.includes("schedule")) {
283
+ logger.info("Migrating tasks table: adding schedule column");
284
+ db2.exec(`ALTER TABLE tasks ADD COLUMN schedule TEXT`);
285
+ }
286
+ if (!taskColumnNames.includes("next_run_at")) {
287
+ logger.info("Migrating tasks table: adding next_run_at column");
288
+ db2.exec(`ALTER TABLE tasks ADD COLUMN next_run_at TEXT`);
289
+ }
280
290
  db2.exec(`
281
291
  CREATE TABLE IF NOT EXISTS task_links (
282
292
  task_id TEXT NOT NULL,
@@ -344,4 +354,4 @@ export {
344
354
  initDatabase,
345
355
  getDatabase
346
356
  };
347
- //# sourceMappingURL=chunk-JU757HVI.js.map
357
+ //# sourceMappingURL=chunk-WOVWVB5J.js.map
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  updateSessionMcpDisabledServers
3
- } from "./chunk-DBF5GKZF.js";
3
+ } from "./chunk-F3R4YS3F.js";
4
4
  import {
5
5
  getProject
6
- } from "./chunk-DPFET73G.js";
6
+ } from "./chunk-JYYBSODN.js";
7
7
  import {
8
8
  getDatabase
9
- } from "./chunk-JU757HVI.js";
9
+ } from "./chunk-WOVWVB5J.js";
10
10
 
11
11
  // src/server/mcp/session-overrides.ts
12
12
  var sessionOverrides = /* @__PURE__ */ new Map();
@@ -96,4 +96,4 @@ export {
96
96
  computeDisabledServersForProject,
97
97
  initSessionMcpOverrides
98
98
  };
99
- //# sourceMappingURL=chunk-FBOIDBPA.js.map
99
+ //# sourceMappingURL=chunk-WSDR27YV.js.map
@@ -4,20 +4,20 @@ import {
4
4
  getEnabledSkillMetadata,
5
5
  isSkillEnabled,
6
6
  loadAllSkills
7
- } from "./chunk-CRJ5J7U5.js";
7
+ } from "./chunk-2CEZQAGQ.js";
8
8
  import {
9
9
  getGitBranch,
10
10
  isGitRepository,
11
11
  listWorkspaces
12
- } from "./chunk-XE6UC5Z3.js";
12
+ } from "./chunk-PHR64A6U.js";
13
13
  import {
14
14
  getGateConfig,
15
15
  isTaskConflictError,
16
16
  isTaskGateError
17
- } from "./chunk-TJOKDC34.js";
17
+ } from "./chunk-EX6ROYYS.js";
18
18
  import {
19
19
  getSessionDisabledServers
20
- } from "./chunk-FBOIDBPA.js";
20
+ } from "./chunk-WSDR27YV.js";
21
21
  import {
22
22
  buildSignal,
23
23
  computeFileHash,
@@ -33,10 +33,10 @@ import {
33
33
  requireSession,
34
34
  validateActionWithPermission,
35
35
  validateFileForWrite
36
- } from "./chunk-IZVIN7XC.js";
36
+ } from "./chunk-5KA3L46F.js";
37
37
  import {
38
38
  serverT
39
- } from "./chunk-JLHYB445.js";
39
+ } from "./chunk-TIIWXMGE.js";
40
40
  import {
41
41
  TurnMetrics,
42
42
  clearLLMFailure,
@@ -50,15 +50,15 @@ import {
50
50
  recordLLMFailure,
51
51
  sleepThroughRetryBackoff,
52
52
  streamLLMPure
53
- } from "./chunk-OA7KBQ2O.js";
53
+ } from "./chunk-CTAYPMB2.js";
54
54
  import {
55
55
  COMPACTION_PROMPT,
56
56
  buildBasePrompt,
57
57
  computeEffectiveTools
58
- } from "./chunk-GKRYQ56N.js";
58
+ } from "./chunk-Z7IT3V22.js";
59
59
  import {
60
60
  startInspectProxy
61
- } from "./chunk-LW6MMSTD.js";
61
+ } from "./chunk-VGE6UYND.js";
62
62
  import {
63
63
  checkAborted,
64
64
  createProcess,
@@ -72,7 +72,7 @@ import {
72
72
  spawnShellProcess,
73
73
  startProcessCommand,
74
74
  stopProcess
75
- } from "./chunk-UA2ATO3B.js";
75
+ } from "./chunk-DQEANXXF.js";
76
76
  import {
77
77
  getMaxPerSession,
78
78
  getSessionProcessCount,
@@ -93,12 +93,12 @@ import {
93
93
  extractAbsolutePathsFromCommand,
94
94
  extractSensitivePathsFromCommand,
95
95
  resolveRelativeTraversals
96
- } from "./chunk-YFTCFJJM.js";
96
+ } from "./chunk-N5AJHJG5.js";
97
97
  import {
98
98
  getCurrentContextWindowId,
99
99
  getCurrentWindowMessageOptions,
100
100
  getEventStore
101
- } from "./chunk-2OTUYNXD.js";
101
+ } from "./chunk-NJFXYSXP.js";
102
102
  import {
103
103
  buildContextMessagesFromEventHistory,
104
104
  foldContextState,
@@ -108,13 +108,13 @@ import {
108
108
  handleToolResult,
109
109
  reorderToolMessages,
110
110
  stripOrphanedToolCalls
111
- } from "./chunk-AE2IBEUH.js";
111
+ } from "./chunk-EFEHIJXF.js";
112
112
  import {
113
113
  findAgentById,
114
114
  getRuntimeConfig,
115
115
  getSubAgents,
116
116
  loadAllAgentsDefault
117
- } from "./chunk-4F4ARGAM.js";
117
+ } from "./chunk-DRIR2IZR.js";
118
118
  import {
119
119
  createChatDoneMessage,
120
120
  createChatLLMRetryFailedMessage,
@@ -139,14 +139,14 @@ import {
139
139
  SETTINGS_KEYS,
140
140
  getSetting,
141
141
  setSetting
142
- } from "./chunk-EMXMTCSY.js";
142
+ } from "./chunk-SKNPOZYP.js";
143
143
  import {
144
144
  logger
145
145
  } from "./chunk-K44MW7JJ.js";
146
146
  import {
147
147
  loadGlobalConfig,
148
148
  saveGlobalConfig
149
- } from "./chunk-R5FAEKXQ.js";
149
+ } from "./chunk-73BO5OT3.js";
150
150
  import {
151
151
  getGlobalConfigDir
152
152
  } from "./chunk-CQGTEGKL.js";
@@ -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-QDTK3SZI.js");
1734
+ const { shouldCompact, appendCompactionPrompt } = await import("./compactor-2MSRXHVA.js");
1735
1735
  if (shouldCompact(
1736
1736
  contextState.currentTokens,
1737
1737
  contextState.maxTokens,
@@ -2203,17 +2203,18 @@ async function executeSubAgent(options) {
2203
2203
  const subAgentId = crypto.randomUUID();
2204
2204
  const session = sessionManager.requireSession(sessionId);
2205
2205
  const windowOptions = getWindowOptions(sessionId);
2206
+ const effectiveProviderManager = providerManager ?? sessionManager.getProviderManager?.();
2206
2207
  let llmClient = parentLlmClient;
2207
2208
  let statsIdentity = parentStatsIdentity;
2208
2209
  let hasOverride = false;
2209
2210
  let overrideModelSettings;
2210
- if (providerManager) {
2211
+ if (effectiveProviderManager) {
2211
2212
  const pinnedEffort = session.providerPinnedEffort ?? void 0;
2212
- const resolved = resolveLLMClientForAgent(subAgentType, parentLlmClient, providerManager, pinnedEffort);
2213
+ const resolved = resolveLLMClientForAgent(subAgentType, parentLlmClient, effectiveProviderManager, pinnedEffort);
2213
2214
  if (resolved.usedOverride && resolved.override) {
2214
2215
  hasOverride = true;
2215
2216
  llmClient = resolved.client;
2216
- const provider = providerManager.getProviders().find((p) => p.id === resolved.override.providerId);
2217
+ const provider = effectiveProviderManager.getProviders().find((p) => p.id === resolved.override.providerId);
2217
2218
  statsIdentity = {
2218
2219
  providerId: resolved.override.providerId,
2219
2220
  providerName: provider?.name ?? resolved.override.providerId,
@@ -2221,12 +2222,12 @@ async function executeSubAgent(options) {
2221
2222
  model: resolved.override.model,
2222
2223
  ...resolved.override.reasoningEffort ? { reasoningEffort: resolved.override.reasoningEffort } : {}
2223
2224
  };
2224
- const overrideEffort = providerManager.resolveModelEffort(
2225
+ const overrideEffort = effectiveProviderManager.resolveModelEffort(
2225
2226
  resolved.override.providerId,
2226
2227
  resolved.override.model,
2227
2228
  resolved.override.reasoningEffort
2228
2229
  );
2229
- overrideModelSettings = providerManager.getModelSettings(
2230
+ overrideModelSettings = effectiveProviderManager.getModelSettings(
2230
2231
  resolved.override.providerId,
2231
2232
  resolved.override.model,
2232
2233
  overrideEffort === "none" ? "non-thinking" : "thinking"
@@ -2261,14 +2262,14 @@ async function executeSubAgent(options) {
2261
2262
  } else {
2262
2263
  const effective = sessionManager.resolveEffectiveProviderModel(sessionId, subAgentType);
2263
2264
  if (effective.providerId && effective.model) {
2264
- const effectiveClient = providerManager.createClient(
2265
+ const effectiveClient = effectiveProviderManager.createClient(
2265
2266
  effective.providerId,
2266
2267
  effective.model,
2267
2268
  effective.reasoningEffort
2268
2269
  );
2269
2270
  if (effectiveClient) {
2270
2271
  llmClient = effectiveClient;
2271
- const provider = providerManager.getProviders().find((p) => p.id === effective.providerId);
2272
+ const provider = effectiveProviderManager.getProviders().find((p) => p.id === effective.providerId);
2272
2273
  statsIdentity = {
2273
2274
  providerId: effective.providerId,
2274
2275
  providerName: provider?.name ?? effective.providerId,
@@ -2447,7 +2448,7 @@ var callSubAgentTool = {
2447
2448
  };
2448
2449
  }
2449
2450
  try {
2450
- const { getToolRegistryForAgent: getToolRegistryForAgent2 } = await import("./tools-F4COIAZR.js");
2451
+ const { getToolRegistryForAgent: getToolRegistryForAgent2 } = await import("./tools-CECV6XQ6.js");
2451
2452
  const toolRegistry = getToolRegistryForAgent2(agentDef);
2452
2453
  const turnMetrics = new TurnMetrics();
2453
2454
  const result = await executeSubAgent({
@@ -3551,11 +3552,11 @@ var mcpConfigTool = createTool(
3551
3552
  async function notifyContextChanged(sessionId) {
3552
3553
  context.sessionManager.setDynamicContextChanged(sessionId, true);
3553
3554
  mcpNotifyChanged?.(sessionId);
3554
- const { injectContextDriftReminders } = await import("./dynamic-context-UEC6MMEV.js");
3555
+ const { injectContextDriftReminders } = await import("./dynamic-context-3THEBFBI.js");
3555
3556
  await injectContextDriftReminders(context.sessionManager, sessionId);
3556
3557
  }
3557
3558
  async function rebuildTools() {
3558
- const { setMcpTools: setMcpTools2 } = await import("./tools-F4COIAZR.js");
3559
+ const { setMcpTools: setMcpTools2 } = await import("./tools-CECV6XQ6.js");
3559
3560
  const mcpTools = createMcpTools(mcpManagerForTools);
3560
3561
  setMcpTools2(mcpTools);
3561
3562
  }
@@ -3564,7 +3565,7 @@ var mcpConfigTool = createTool(
3564
3565
  if (servers.length === 0) {
3565
3566
  return helpers.success(serverT({ en: "No MCP servers configured.", fr: "Aucun serveur MCP configur\xE9." }));
3566
3567
  }
3567
- const { getSessionDisabledServers: getSessionDisabledServers2 } = await import("./session-overrides-WYOY7PVC.js");
3568
+ const { getSessionDisabledServers: getSessionDisabledServers2 } = await import("./session-overrides-CKS2AVE5.js");
3568
3569
  const disabledForSession = new Set(context.sessionId ? getSessionDisabledServers2(context.sessionId) : []);
3569
3570
  const visibleServers = servers.filter((server) => !disabledForSession.has(server.name));
3570
3571
  if (visibleServers.length === 0) {
@@ -4697,4 +4698,4 @@ export {
4697
4698
  getToolRegistryForAgent,
4698
4699
  createToolRegistry
4699
4700
  };
4700
- //# sourceMappingURL=chunk-NDAXMOD2.js.map
4701
+ //# sourceMappingURL=chunk-Z4CTMGFH.js.map
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  getPlatformShell
3
- } from "./chunk-46Q2SHGJ.js";
3
+ } from "./chunk-MEPTCUYN.js";
4
4
  import {
5
5
  SETTINGS_KEYS,
6
6
  getSetting
7
- } from "./chunk-EMXMTCSY.js";
7
+ } from "./chunk-SKNPOZYP.js";
8
8
 
9
9
  // src/server/tools/tool-policy.ts
10
10
  var ALWAYS_ALLOWED = /* @__PURE__ */ new Set(["step_done"]);
@@ -277,4 +277,4 @@ export {
277
277
  buildAgentSmallReminder,
278
278
  COMPACTION_PROMPT
279
279
  };
280
- //# sourceMappingURL=chunk-GKRYQ56N.js.map
280
+ //# sourceMappingURL=chunk-Z7IT3V22.js.map
package/dist/cli/dev.js CHANGED
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  runCli
4
- } from "../chunk-RHUZLWZV.js";
4
+ } from "../chunk-HZOL7UEC.js";
5
5
  import "../chunk-AGXJ5O63.js";
6
6
  import "../chunk-2OMGR7LN.js";
7
7
  import {
package/dist/cli/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  runCli
4
- } from "../chunk-RHUZLWZV.js";
4
+ } from "../chunk-HZOL7UEC.js";
5
5
  import "../chunk-AGXJ5O63.js";
6
6
  import "../chunk-2OMGR7LN.js";
7
7
  import {