openfox 1.6.71 → 1.6.72

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 (28) hide show
  1. package/dist/{auto-compaction-FJ2LGJSA.js → auto-compaction-B6BOL7ZI.js} +6 -6
  2. package/dist/{chat-handler-KSF2CR5H.js → chat-handler-HPWLJF5O.js} +9 -9
  3. package/dist/{chunk-HYIQFRYJ.js → chunk-JF2QDLS3.js} +18 -7
  4. package/dist/{chunk-KVZIYCT4.js → chunk-K332VV3B.js} +12 -12
  5. package/dist/{chunk-YNWDWIX2.js → chunk-SPEGIMYZ.js} +14 -3
  6. package/dist/{chunk-LRXDM2PJ.js → chunk-SW7HAQNV.js} +4 -4
  7. package/dist/{chunk-ENAZTRCR.js → chunk-TGR7VMJQ.js} +2 -2
  8. package/dist/{chunk-K6NHXJM3.js → chunk-TLVDGEKQ.js} +3 -3
  9. package/dist/{chunk-WNDXRFVQ.js → chunk-WAKARZDD.js} +23 -23
  10. package/dist/cli/dev.js +1 -1
  11. package/dist/cli/index.js +1 -1
  12. package/dist/{events-2NH6YMVZ.js → events-2IHZ662M.js} +3 -3
  13. package/dist/{orchestrator-KBUCDCWE.js → orchestrator-IPTSMNWX.js} +7 -7
  14. package/dist/package.json +1 -1
  15. package/dist/{processor-TUK3TJ3N.js → processor-SZMPOBLC.js} +5 -5
  16. package/dist/{protocol-D8pu3Njm.d.ts → protocol-DRBnujwe.d.ts} +4 -0
  17. package/dist/{provider-J4G7XBDP.js → provider-A37TI24X.js} +2 -2
  18. package/dist/pwa-GHQCMCIU.js +357 -0
  19. package/dist/{serve-Y7CERCIH.js → serve-BQ5OQ2EY.js} +9 -9
  20. package/dist/server/index.d.ts +1 -1
  21. package/dist/server/index.js +8 -8
  22. package/dist/shared/index.d.ts +2 -2
  23. package/dist/{tools-J23MXDY6.js → tools-24YVLSCD.js} +6 -6
  24. package/dist/web/assets/{index-o22LDSSr.js → index-C4APUIWx.js} +47 -47
  25. package/dist/web/assets/{index-Da8AupAk.css → index-D4Si0Pmc.css} +1 -1
  26. package/dist/web/index.html +2 -2
  27. package/dist/web/sw.js +1 -1
  28. package/package.json +1 -1
@@ -2,18 +2,18 @@ import {
2
2
  maybeAutoCompactContext,
3
3
  performManualContextCompaction,
4
4
  resolveCompactionStatsIdentity
5
- } from "./chunk-KVZIYCT4.js";
5
+ } from "./chunk-K332VV3B.js";
6
+ import "./chunk-GQZGIMJO.js";
7
+ import "./chunk-7JPKRM6M.js";
6
8
  import "./chunk-RBPOAAIZ.js";
7
9
  import "./chunk-NBU6KIOD.js";
8
10
  import "./chunk-574HZVLE.js";
9
- import "./chunk-7JPKRM6M.js";
10
11
  import "./chunk-WNZIUQ2L.js";
11
- import "./chunk-LRXDM2PJ.js";
12
+ import "./chunk-SW7HAQNV.js";
13
+ import "./chunk-BLNFJ22S.js";
12
14
  import "./chunk-PFRQO5Z3.js";
13
15
  import "./chunk-KFBIHS3S.js";
14
16
  import "./chunk-22CTURMH.js";
15
- import "./chunk-GQZGIMJO.js";
16
- import "./chunk-BLNFJ22S.js";
17
17
  import "./chunk-CTAIXOZJ.js";
18
18
  import "./chunk-R4HADRYO.js";
19
19
  import "./chunk-TVQOONDR.js";
@@ -24,4 +24,4 @@ export {
24
24
  performManualContextCompaction,
25
25
  resolveCompactionStatsIdentity
26
26
  };
27
- //# sourceMappingURL=auto-compaction-FJ2LGJSA.js.map
27
+ //# sourceMappingURL=auto-compaction-B6BOL7ZI.js.map
@@ -5,19 +5,21 @@ import {
5
5
  generateSessionName,
6
6
  getSessionMessageCount,
7
7
  needsNameGenerationCheck
8
- } from "./chunk-ENAZTRCR.js";
8
+ } from "./chunk-TGR7VMJQ.js";
9
9
  import {
10
10
  runChatTurn
11
- } from "./chunk-K6NHXJM3.js";
12
- import "./chunk-KVZIYCT4.js";
11
+ } from "./chunk-TLVDGEKQ.js";
12
+ import "./chunk-K332VV3B.js";
13
+ import "./chunk-GQZGIMJO.js";
14
+ import "./chunk-7JPKRM6M.js";
13
15
  import "./chunk-RBPOAAIZ.js";
14
16
  import "./chunk-NBU6KIOD.js";
15
17
  import "./chunk-574HZVLE.js";
16
- import "./chunk-7JPKRM6M.js";
17
18
  import "./chunk-WNZIUQ2L.js";
18
19
  import {
19
20
  getEventStore
20
- } from "./chunk-LRXDM2PJ.js";
21
+ } from "./chunk-SW7HAQNV.js";
22
+ import "./chunk-BLNFJ22S.js";
21
23
  import "./chunk-PFRQO5Z3.js";
22
24
  import {
23
25
  createChatMessageMessage,
@@ -25,8 +27,6 @@ import {
25
27
  createSessionRunningMessage
26
28
  } from "./chunk-KFBIHS3S.js";
27
29
  import "./chunk-22CTURMH.js";
28
- import "./chunk-GQZGIMJO.js";
29
- import "./chunk-BLNFJ22S.js";
30
30
  import "./chunk-CTAIXOZJ.js";
31
31
  import "./chunk-R4HADRYO.js";
32
32
  import "./chunk-TVQOONDR.js";
@@ -61,7 +61,7 @@ async function startChatSession(sessionId, content, deps, options) {
61
61
  sessionManager.setRunning(sessionId, true);
62
62
  broadcastForSession(sessionId, createSessionRunningMessage(true));
63
63
  try {
64
- const { maybeAutoCompactContext } = await import("./auto-compaction-FJ2LGJSA.js");
64
+ const { maybeAutoCompactContext } = await import("./auto-compaction-B6BOL7ZI.js");
65
65
  await maybeAutoCompactContext({
66
66
  sessionManager,
67
67
  sessionId,
@@ -170,4 +170,4 @@ export {
170
170
  startChatSession,
171
171
  stopSessionExecution
172
172
  };
173
- //# sourceMappingURL=chat-handler-KSF2CR5H.js.map
173
+ //# sourceMappingURL=chat-handler-HPWLJF5O.js.map
@@ -5,7 +5,8 @@ import {
5
5
  setLlmStatus
6
6
  } from "./chunk-F2VWCCMC.js";
7
7
  import {
8
- detectBackend
8
+ detectBackend,
9
+ getModelProfile
9
10
  } from "./chunk-WNZIUQ2L.js";
10
11
  import {
11
12
  logger
@@ -39,19 +40,29 @@ async function fetchModelsFromBackend(url, apiKey) {
39
40
  return [];
40
41
  }
41
42
  }
43
+ function enrichWithProfileDefaults(model) {
44
+ const profile = getModelProfile(model.id);
45
+ return {
46
+ ...model,
47
+ defaultTemperature: profile.temperature,
48
+ defaultTopP: profile.topP,
49
+ ...profile.topK !== void 0 && { defaultTopK: profile.topK },
50
+ defaultMaxTokens: profile.defaultMaxTokens
51
+ };
52
+ }
42
53
  function mergeModelsWithUserOverrides(backendModels, userModels) {
43
54
  const normalizedUserIdMap = new Map(userModels.map((m) => [normalizeModelId(m.id), m]));
44
55
  const updatedModels = backendModels.map((backendModel) => {
45
56
  const existingUserModel = normalizedUserIdMap.get(normalizeModelId(backendModel.id));
46
57
  if (existingUserModel) {
47
- return { ...existingUserModel, id: backendModel.id };
58
+ return enrichWithProfileDefaults({ ...existingUserModel, id: backendModel.id });
48
59
  }
49
- return backendModel;
60
+ return enrichWithProfileDefaults(backendModel);
50
61
  });
51
62
  const normalizedBackendIds = new Set(backendModels.map((m) => normalizeModelId(m.id)));
52
63
  for (const userModel of userModels) {
53
64
  if (!normalizedBackendIds.has(normalizeModelId(userModel.id))) {
54
- updatedModels.push(userModel);
65
+ updatedModels.push(enrichWithProfileDefaults(userModel));
55
66
  }
56
67
  }
57
68
  return updatedModels;
@@ -383,7 +394,7 @@ function createProviderManager(config) {
383
394
  incoming: settings,
384
395
  final: { temperature: finalTemp, topP: finalTopP, topK: finalTopK, maxTokens: finalMaxTokens, supportsVision: finalSupportsVision }
385
396
  });
386
- const updatedModel = {
397
+ const updatedModel = enrichWithProfileDefaults({
387
398
  id: modelId,
388
399
  contextWindow: settings.contextWindow ?? existingModel?.contextWindow ?? 2e5,
389
400
  source: "user",
@@ -392,7 +403,7 @@ function createProviderManager(config) {
392
403
  ...finalTopK !== void 0 && { topK: finalTopK },
393
404
  ...finalMaxTokens !== void 0 && { maxTokens: finalMaxTokens },
394
405
  ...finalSupportsVision !== void 0 && { supportsVision: finalSupportsVision }
395
- };
406
+ });
396
407
  if (existingModel) {
397
408
  providers = providers.map(
398
409
  (p) => p.id === providerId ? { ...p, models: p.models.map((m) => m.id === modelId ? updatedModel : m) } : p
@@ -460,4 +471,4 @@ export {
460
471
  parseDefaultModelSelection,
461
472
  createProviderManager
462
473
  };
463
- //# sourceMappingURL=chunk-HYIQFRYJ.js.map
474
+ //# sourceMappingURL=chunk-JF2QDLS3.js.map
@@ -1,3 +1,12 @@
1
+ import {
2
+ SETTINGS_KEYS,
3
+ deleteSetting,
4
+ getSetting,
5
+ setSetting
6
+ } from "./chunk-GQZGIMJO.js";
7
+ import {
8
+ getProject
9
+ } from "./chunk-7JPKRM6M.js";
1
10
  import {
2
11
  startInspectProxy
3
12
  } from "./chunk-RBPOAAIZ.js";
@@ -14,9 +23,6 @@ import {
14
23
  getMaxPerSession,
15
24
  getSessionProcessCount
16
25
  } from "./chunk-574HZVLE.js";
17
- import {
18
- getProject
19
- } from "./chunk-7JPKRM6M.js";
20
26
  import {
21
27
  buildModelParams,
22
28
  getBackendCapabilities,
@@ -27,7 +33,7 @@ import {
27
33
  getContextMessages,
28
34
  getCurrentContextWindowId,
29
35
  getEventStore
30
- } from "./chunk-LRXDM2PJ.js";
36
+ } from "./chunk-SW7HAQNV.js";
31
37
  import {
32
38
  createChatDoneMessage,
33
39
  createChatMessageMessage,
@@ -41,12 +47,6 @@ import {
41
47
  AskUserInterrupt,
42
48
  askUserTool
43
49
  } from "./chunk-22CTURMH.js";
44
- import {
45
- SETTINGS_KEYS,
46
- deleteSetting,
47
- getSetting,
48
- setSetting
49
- } from "./chunk-GQZGIMJO.js";
50
50
  import {
51
51
  getGlobalConfigDir
52
52
  } from "./chunk-R4HADRYO.js";
@@ -3383,7 +3383,7 @@ var callSubAgentTool = {
3383
3383
  };
3384
3384
  }
3385
3385
  try {
3386
- const { getToolRegistryForAgent: getToolRegistryForAgent2 } = await import("./tools-J23MXDY6.js");
3386
+ const { getToolRegistryForAgent: getToolRegistryForAgent2 } = await import("./tools-24YVLSCD.js");
3387
3387
  const toolRegistry = getToolRegistryForAgent2(agentDef);
3388
3388
  const turnMetrics = new TurnMetrics();
3389
3389
  const result = await executeSubAgent({
@@ -4537,4 +4537,4 @@ export {
4537
4537
  getToolRegistryForAgent,
4538
4538
  createToolRegistry
4539
4539
  };
4540
- //# sourceMappingURL=chunk-KVZIYCT4.js.map
4540
+ //# sourceMappingURL=chunk-K332VV3B.js.map
@@ -21,6 +21,7 @@ Commands:
21
21
  provider use Switch active provider
22
22
  provider remove Remove a provider
23
23
  service Manage the systemd service (install, start, stop, status, logs, uninstall)
24
+ pwa Manage the PWA installation (install, uninstall, launch, update, status)
24
25
  update Update OpenFox to the latest version (see update.sh)
25
26
 
26
27
  Options:
@@ -148,7 +149,7 @@ async function runCli(options) {
148
149
  break;
149
150
  }
150
151
  case "provider": {
151
- const { runProviderCommand } = await import("./provider-J4G7XBDP.js");
152
+ const { runProviderCommand } = await import("./provider-A37TI24X.js");
152
153
  const [, subcommand] = positionals;
153
154
  await runProviderCommand(mode, subcommand);
154
155
  break;
@@ -163,6 +164,16 @@ async function runCli(options) {
163
164
  }
164
165
  break;
165
166
  }
167
+ case "pwa": {
168
+ const { runPwaCommand, printPwaHelp } = await import("./pwa-GHQCMCIU.js");
169
+ const [, subcommand] = positionals;
170
+ if (subcommand === "--help" || subcommand === "-h" || values.help) {
171
+ printPwaHelp();
172
+ } else {
173
+ await runPwaCommand(mode, subcommand);
174
+ }
175
+ break;
176
+ }
166
177
  case "update": {
167
178
  const __filename = fileURLToPath(import.meta.url);
168
179
  const __dirname = dirname(__filename);
@@ -179,7 +190,7 @@ async function runCli(options) {
179
190
  if (!configExists) {
180
191
  await runNetworkSetup(mode);
181
192
  }
182
- const { runServe } = await import("./serve-Y7CERCIH.js");
193
+ const { runServe } = await import("./serve-BQ5OQ2EY.js");
183
194
  await runServe({
184
195
  mode,
185
196
  port: values.port ? parseInt(values.port) : void 0,
@@ -192,4 +203,4 @@ async function runCli(options) {
192
203
  export {
193
204
  runCli
194
205
  };
195
- //# sourceMappingURL=chunk-YNWDWIX2.js.map
206
+ //# sourceMappingURL=chunk-SPEGIMYZ.js.map
@@ -1,3 +1,6 @@
1
+ import {
2
+ getDatabase
3
+ } from "./chunk-BLNFJ22S.js";
1
4
  import {
2
5
  buildContextMessagesFromEventHistory,
3
6
  buildMessagesFromStoredEvents,
@@ -7,9 +10,6 @@ import {
7
10
  spreadOptionalMessageFields,
8
11
  stripPromptContextMessages
9
12
  } from "./chunk-PFRQO5Z3.js";
10
- import {
11
- getDatabase
12
- } from "./chunk-BLNFJ22S.js";
13
13
  import {
14
14
  getRuntimeConfig
15
15
  } from "./chunk-TVQOONDR.js";
@@ -1181,4 +1181,4 @@ export {
1181
1181
  compactContext,
1182
1182
  getRecentUserPromptsForSession
1183
1183
  };
1184
- //# sourceMappingURL=chunk-LRXDM2PJ.js.map
1184
+ //# sourceMappingURL=chunk-SW7HAQNV.js.map
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  getEventStore,
3
3
  updateSessionMetadata
4
- } from "./chunk-LRXDM2PJ.js";
4
+ } from "./chunk-SW7HAQNV.js";
5
5
  import {
6
6
  buildMessagesFromStoredEvents,
7
7
  foldPendingConfirmations
@@ -143,4 +143,4 @@ export {
143
143
  needsNameGenerationCheck,
144
144
  applyGeneratedSessionName
145
145
  };
146
- //# sourceMappingURL=chunk-ENAZTRCR.js.map
146
+ //# sourceMappingURL=chunk-TGR7VMJQ.js.map
@@ -13,11 +13,11 @@ import {
13
13
  getToolRegistryForAgent,
14
14
  loadAllAgentsDefault,
15
15
  runTopLevelAgentLoop
16
- } from "./chunk-KVZIYCT4.js";
16
+ } from "./chunk-K332VV3B.js";
17
17
  import {
18
18
  getCurrentContextWindowId,
19
19
  getEventStore
20
- } from "./chunk-LRXDM2PJ.js";
20
+ } from "./chunk-SW7HAQNV.js";
21
21
  import {
22
22
  buildSnapshotFromSessionState
23
23
  } from "./chunk-PFRQO5Z3.js";
@@ -293,4 +293,4 @@ export {
293
293
  runBuilderTurn,
294
294
  runVerifierTurn
295
295
  };
296
- //# sourceMappingURL=chunk-K6NHXJM3.js.map
296
+ //# sourceMappingURL=chunk-TLVDGEKQ.js.map
@@ -2,7 +2,7 @@ import {
2
2
  createVerifierNudgeConfig,
3
3
  runBuilderTurn,
4
4
  runChatTurn
5
- } from "./chunk-K6NHXJM3.js";
5
+ } from "./chunk-TLVDGEKQ.js";
6
6
  import {
7
7
  TurnMetrics,
8
8
  agentExists,
@@ -38,20 +38,20 @@ import {
38
38
  setSkillEnabled,
39
39
  skillExists,
40
40
  spawnShellProcess
41
- } from "./chunk-KVZIYCT4.js";
41
+ } from "./chunk-K332VV3B.js";
42
+ import {
43
+ getProject
44
+ } from "./chunk-7JPKRM6M.js";
42
45
  import {
43
46
  getPathSeparator,
44
47
  getPlatformShell,
45
48
  isAbsolutePath,
46
49
  onProcessEvent
47
50
  } from "./chunk-NBU6KIOD.js";
48
- import {
49
- getProject
50
- } from "./chunk-7JPKRM6M.js";
51
51
  import {
52
52
  createProviderManager,
53
53
  parseDefaultModelSelection
54
- } from "./chunk-HYIQFRYJ.js";
54
+ } from "./chunk-JF2QDLS3.js";
55
55
  import {
56
56
  SessionNotFoundError,
57
57
  createLLMClient,
@@ -88,7 +88,10 @@ import {
88
88
  updateSessionProvider,
89
89
  updateSessionRunning,
90
90
  updateSessionSummary
91
- } from "./chunk-LRXDM2PJ.js";
91
+ } from "./chunk-SW7HAQNV.js";
92
+ import {
93
+ initDatabase
94
+ } from "./chunk-BLNFJ22S.js";
92
95
  import {
93
96
  buildMessagesFromStoredEvents,
94
97
  foldPendingConfirmations
@@ -112,9 +115,6 @@ import {
112
115
  cancelQuestionsForSession,
113
116
  provideAnswer
114
117
  } from "./chunk-22CTURMH.js";
115
- import {
116
- initDatabase
117
- } from "./chunk-BLNFJ22S.js";
118
118
  import {
119
119
  computeSessionStats
120
120
  } from "./chunk-B7E3BICY.js";
@@ -5058,7 +5058,7 @@ function createTerminalRoutes() {
5058
5058
  }
5059
5059
 
5060
5060
  // src/constants.ts
5061
- var VERSION = "1.6.71";
5061
+ var VERSION = "1.6.72";
5062
5062
 
5063
5063
  // src/server/index.ts
5064
5064
  var __dirname2 = dirname5(fileURLToPath4(import.meta.url));
@@ -5220,7 +5220,7 @@ async function createServerHandle(config) {
5220
5220
  res.json({ success: true });
5221
5221
  });
5222
5222
  app.get("/api/sessions", async (req, res) => {
5223
- const { getRecentUserPromptsForSession } = await import("./events-2NH6YMVZ.js");
5223
+ const { getRecentUserPromptsForSession } = await import("./events-2IHZ662M.js");
5224
5224
  const projectId = req.query["projectId"];
5225
5225
  const limit = Math.min(parseInt(req.query["limit"]) || 20, 100);
5226
5226
  const offset = parseInt(req.query["offset"]) || 0;
@@ -5253,7 +5253,7 @@ async function createServerHandle(config) {
5253
5253
  res.status(201).json({ session });
5254
5254
  });
5255
5255
  app.get("/api/sessions/:id", async (req, res) => {
5256
- const { getEventStore: getEventStore2 } = await import("./events-2NH6YMVZ.js");
5256
+ const { getEventStore: getEventStore2 } = await import("./events-2IHZ662M.js");
5257
5257
  const { buildMessagesFromStoredEvents: buildMessagesFromStoredEvents2 } = await import("./folding-JN2WT44N.js");
5258
5258
  const session = sessionManager.getSession(req.params.id);
5259
5259
  if (!session) {
@@ -5284,7 +5284,7 @@ async function createServerHandle(config) {
5284
5284
  res.json({ success: true });
5285
5285
  });
5286
5286
  app.post("/api/sessions/:id/provider", async (req, res) => {
5287
- const { getEventStore: getEventStore2 } = await import("./events-2NH6YMVZ.js");
5287
+ const { getEventStore: getEventStore2 } = await import("./events-2IHZ662M.js");
5288
5288
  const { buildMessagesFromStoredEvents: buildMessagesFromStoredEvents2 } = await import("./folding-JN2WT44N.js");
5289
5289
  const sessionId = req.params.id;
5290
5290
  const session = sessionManager.getSession(sessionId);
@@ -5322,7 +5322,7 @@ async function createServerHandle(config) {
5322
5322
  res.json({ success: true });
5323
5323
  });
5324
5324
  app.put("/api/sessions/:id/mode", async (req, res) => {
5325
- const { getEventStore: getEventStore2 } = await import("./events-2NH6YMVZ.js");
5325
+ const { getEventStore: getEventStore2 } = await import("./events-2IHZ662M.js");
5326
5326
  const { buildMessagesFromStoredEvents: buildMessagesFromStoredEvents2 } = await import("./folding-JN2WT44N.js");
5327
5327
  const sessionId = req.params.id;
5328
5328
  const session = sessionManager.getSession(sessionId);
@@ -5361,12 +5361,12 @@ async function createServerHandle(config) {
5361
5361
  if (!callId || approved === void 0) {
5362
5362
  return res.status(400).json({ error: "callId and approved are required" });
5363
5363
  }
5364
- const { providePathConfirmation: providePathConfirmation2 } = await import("./tools-J23MXDY6.js");
5364
+ const { providePathConfirmation: providePathConfirmation2 } = await import("./tools-24YVLSCD.js");
5365
5365
  const result = providePathConfirmation2(callId, approved, alwaysAllow);
5366
5366
  if (!result.found) {
5367
5367
  return res.status(404).json({ error: "No pending path confirmation with that ID" });
5368
5368
  }
5369
- const { getEventStore: getEventStore2 } = await import("./events-2NH6YMVZ.js");
5369
+ const { getEventStore: getEventStore2 } = await import("./events-2IHZ662M.js");
5370
5370
  const { buildMessagesFromStoredEvents: buildMessagesFromStoredEvents2, foldPendingConfirmations: foldPendingConfirmations2 } = await import("./folding-JN2WT44N.js");
5371
5371
  const { createSessionStateMessage: createSessionStateMessage2 } = await import("./protocol-5AWNGFLH.js");
5372
5372
  const eventStore = getEventStore2();
@@ -5386,7 +5386,7 @@ async function createServerHandle(config) {
5386
5386
  if (!callId || !answer) {
5387
5387
  return res.status(400).json({ error: "callId and answer are required" });
5388
5388
  }
5389
- const { provideAnswer: provideAnswer2 } = await import("./tools-J23MXDY6.js");
5389
+ const { provideAnswer: provideAnswer2 } = await import("./tools-24YVLSCD.js");
5390
5390
  const found = provideAnswer2(callId, answer);
5391
5391
  if (!found) {
5392
5392
  return res.status(404).json({ error: "No pending question with that ID" });
@@ -5422,14 +5422,14 @@ async function createServerHandle(config) {
5422
5422
  if (!session) {
5423
5423
  return res.status(404).json({ error: "Session not found" });
5424
5424
  }
5425
- const { stopSessionExecution } = await import("./chat-handler-KSF2CR5H.js");
5426
- const { cancelQuestionsForSession: cancelQuestionsForSession2, cancelPathConfirmationsForSession: cancelPathConfirmationsForSession2 } = await import("./tools-J23MXDY6.js");
5425
+ const { stopSessionExecution } = await import("./chat-handler-HPWLJF5O.js");
5426
+ const { cancelQuestionsForSession: cancelQuestionsForSession2, cancelPathConfirmationsForSession: cancelPathConfirmationsForSession2 } = await import("./tools-24YVLSCD.js");
5427
5427
  stopSessionExecution(sessionId, sessionManager);
5428
5428
  abortSession(sessionId);
5429
5429
  cancelQuestionsForSession2(sessionId, "Session stopped by user");
5430
5430
  cancelPathConfirmationsForSession2(sessionId, "Session stopped by user");
5431
5431
  sessionManager.clearMessageQueue(sessionId);
5432
- const eventStore = (await import("./events-2NH6YMVZ.js")).getEventStore();
5432
+ const eventStore = (await import("./events-2IHZ662M.js")).getEventStore();
5433
5433
  eventStore.append(sessionId, { type: "running.changed", data: { isRunning: false } });
5434
5434
  res.json({ success: true });
5435
5435
  });
@@ -5897,7 +5897,7 @@ async function createServerHandle(config) {
5897
5897
  providerManager
5898
5898
  );
5899
5899
  const wss = wssExports.wss;
5900
- const { QueueProcessor } = await import("./processor-TUK3TJ3N.js");
5900
+ const { QueueProcessor } = await import("./processor-SZMPOBLC.js");
5901
5901
  const queueProcessor = new QueueProcessor({
5902
5902
  sessionManager,
5903
5903
  providerManager,
@@ -5972,4 +5972,4 @@ export {
5972
5972
  createServerHandle,
5973
5973
  createServer
5974
5974
  };
5975
- //# sourceMappingURL=chunk-WNDXRFVQ.js.map
5975
+ //# sourceMappingURL=chunk-WAKARZDD.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-YNWDWIX2.js";
4
+ } from "../chunk-SPEGIMYZ.js";
5
5
  import {
6
6
  logger
7
7
  } from "../chunk-PNBH3RAX.js";
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-YNWDWIX2.js";
4
+ } from "../chunk-SPEGIMYZ.js";
5
5
  import {
6
6
  logger
7
7
  } from "../chunk-PNBH3RAX.js";
@@ -36,7 +36,8 @@ import {
36
36
  isFileInCache,
37
37
  isStoredEvent,
38
38
  isTurnEvent
39
- } from "./chunk-LRXDM2PJ.js";
39
+ } from "./chunk-SW7HAQNV.js";
40
+ import "./chunk-BLNFJ22S.js";
40
41
  import {
41
42
  buildContextMessagesFromEventHistory,
42
43
  buildContextMessagesFromMessages,
@@ -54,7 +55,6 @@ import {
54
55
  foldTurnEventsToSnapshotMessages,
55
56
  getMessagesForWindow
56
57
  } from "./chunk-PFRQO5Z3.js";
57
- import "./chunk-BLNFJ22S.js";
58
58
  import "./chunk-TVQOONDR.js";
59
59
  import "./chunk-PNBH3RAX.js";
60
60
  export {
@@ -111,4 +111,4 @@ export {
111
111
  isStoredEvent,
112
112
  isTurnEvent
113
113
  };
114
- //# sourceMappingURL=events-2NH6YMVZ.js.map
114
+ //# sourceMappingURL=events-2IHZ662M.js.map
@@ -3,7 +3,7 @@ import {
3
3
  runBuilderTurn,
4
4
  runChatTurn,
5
5
  runVerifierTurn
6
- } from "./chunk-K6NHXJM3.js";
6
+ } from "./chunk-TLVDGEKQ.js";
7
7
  import {
8
8
  TurnMetrics,
9
9
  createChatDoneEvent,
@@ -11,18 +11,18 @@ import {
11
11
  createMessageStartEvent,
12
12
  createToolCallEvent,
13
13
  createToolResultEvent
14
- } from "./chunk-KVZIYCT4.js";
14
+ } from "./chunk-K332VV3B.js";
15
+ import "./chunk-GQZGIMJO.js";
16
+ import "./chunk-7JPKRM6M.js";
15
17
  import "./chunk-RBPOAAIZ.js";
16
18
  import "./chunk-NBU6KIOD.js";
17
19
  import "./chunk-574HZVLE.js";
18
- import "./chunk-7JPKRM6M.js";
19
20
  import "./chunk-WNZIUQ2L.js";
20
- import "./chunk-LRXDM2PJ.js";
21
+ import "./chunk-SW7HAQNV.js";
22
+ import "./chunk-BLNFJ22S.js";
21
23
  import "./chunk-PFRQO5Z3.js";
22
24
  import "./chunk-KFBIHS3S.js";
23
25
  import "./chunk-22CTURMH.js";
24
- import "./chunk-GQZGIMJO.js";
25
- import "./chunk-BLNFJ22S.js";
26
26
  import "./chunk-CTAIXOZJ.js";
27
27
  import "./chunk-R4HADRYO.js";
28
28
  import "./chunk-TVQOONDR.js";
@@ -40,4 +40,4 @@ export {
40
40
  runChatTurn,
41
41
  runVerifierTurn
42
42
  };
43
- //# sourceMappingURL=orchestrator-KBUCDCWE.js.map
43
+ //# sourceMappingURL=orchestrator-IPTSMNWX.js.map
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "openfox",
3
- "version": "1.6.71",
3
+ "version": "1.6.72",
4
4
  "description": "Local-LLM-first agentic coding assistant",
5
5
  "type": "module",
6
6
  "bin": {
@@ -5,16 +5,16 @@ import {
5
5
  generateSessionName,
6
6
  getSessionMessageCount,
7
7
  needsNameGenerationCheck
8
- } from "./chunk-ENAZTRCR.js";
8
+ } from "./chunk-TGR7VMJQ.js";
9
9
  import {
10
10
  getEventStore
11
- } from "./chunk-LRXDM2PJ.js";
11
+ } from "./chunk-SW7HAQNV.js";
12
+ import "./chunk-BLNFJ22S.js";
12
13
  import "./chunk-PFRQO5Z3.js";
13
14
  import {
14
15
  createChatMessageMessage,
15
16
  createSessionRunningMessage
16
17
  } from "./chunk-KFBIHS3S.js";
17
- import "./chunk-BLNFJ22S.js";
18
18
  import "./chunk-CTAIXOZJ.js";
19
19
  import "./chunk-TVQOONDR.js";
20
20
  import {
@@ -173,7 +173,7 @@ var QueueProcessor = class {
173
173
  backend: provider?.backend ?? llmClient.getBackend(),
174
174
  model: llmClient.getModel()
175
175
  };
176
- const { runChatTurn } = await import("./orchestrator-KBUCDCWE.js");
176
+ const { runChatTurn } = await import("./orchestrator-IPTSMNWX.js");
177
177
  const runChatTurnParams = buildRunChatTurnParams({
178
178
  sessionManager,
179
179
  sessionId,
@@ -210,4 +210,4 @@ var QueueProcessor = class {
210
210
  export {
211
211
  QueueProcessor
212
212
  };
213
- //# sourceMappingURL=processor-TUK3TJ3N.js.map
213
+ //# sourceMappingURL=processor-SZMPOBLC.js.map
@@ -419,6 +419,10 @@ interface ModelConfig {
419
419
  topK?: number;
420
420
  maxTokens?: number;
421
421
  supportsVision?: boolean;
422
+ defaultTemperature?: number;
423
+ defaultTopP?: number;
424
+ defaultTopK?: number;
425
+ defaultMaxTokens?: number;
422
426
  }
423
427
  /** LLM provider configuration */
424
428
  interface Provider {
@@ -8,7 +8,7 @@ import {
8
8
  } from "./chunk-4DNPYFL4.js";
9
9
  import {
10
10
  fetchAvailableModelsFromBackend
11
- } from "./chunk-HYIQFRYJ.js";
11
+ } from "./chunk-JF2QDLS3.js";
12
12
  import {
13
13
  detectModel
14
14
  } from "./chunk-F2VWCCMC.js";
@@ -373,4 +373,4 @@ export {
373
373
  runProviderRemove,
374
374
  runProviderUse
375
375
  };
376
- //# sourceMappingURL=provider-J4G7XBDP.js.map
376
+ //# sourceMappingURL=provider-A37TI24X.js.map