openfox 2.0.122 → 2.0.124
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.
- package/CHANGELOG.md +27 -0
- package/dist/CHANGELOG.md +27 -0
- package/dist/{auto-config-YXNCBYEY.js → auto-config-454YE6KC.js} +24 -17
- package/dist/{chat-handler-JQUVSZT3.js → chat-handler-N43TBYLV.js} +29 -28
- package/dist/{chunk-DIALH34K.js → chunk-3B232XG4.js} +2 -2
- package/dist/{chunk-RMOKNQAS.js → chunk-3NMLSANH.js} +2 -2
- package/dist/{chunk-22D7ZR2X.js → chunk-57UCBFBD.js} +50 -37
- package/dist/{chunk-SCP5KBNB.js → chunk-5CCM655F.js} +149 -63
- package/dist/{chunk-EZ67GBEO.js → chunk-66MG44TF.js} +2 -2
- package/dist/{chunk-YBOU4ZFD.js → chunk-7YP4O4XE.js} +3 -3
- package/dist/{chunk-UJRWYZHM.js → chunk-A6EZBX62.js} +59 -23
- package/dist/{chunk-SLW3KKPP.js → chunk-AQBRI7TM.js} +21 -8
- package/dist/{chunk-OXANSWVZ.js → chunk-EHFIUXWZ.js} +2 -2
- package/dist/{chunk-AIXVERRI.js → chunk-FAL4WO4V.js} +6 -6
- package/dist/{chunk-Y7FGHKBW.js → chunk-GIJUWPRQ.js} +2 -2
- package/dist/chunk-ISE55FOR.js +89 -0
- package/dist/{chunk-6A2VIV36.js → chunk-JEZN37KV.js} +3 -3
- package/dist/{chunk-2N7KFNMY.js → chunk-KBESUA3W.js} +3 -3
- package/dist/{chunk-5A4YN6I7.js → chunk-KD4W3I6C.js} +112 -33
- package/dist/{chunk-UOEAKQBH.js → chunk-KGFERMCV.js} +15 -15
- package/dist/{chunk-FGVMRFDW.js → chunk-N2Q3KYWM.js} +2 -2
- package/dist/{chunk-NYQKSKDB.js → chunk-OYBUJIC3.js} +9 -1
- package/dist/{chunk-KDC4QHE7.js → chunk-QJNBQCAF.js} +22 -18
- package/dist/{chunk-I22B6KWV.js → chunk-RV5G7QQU.js} +3 -3
- package/dist/{chunk-ZT7YTM2U.js → chunk-RXLAFEZB.js} +4 -4
- package/dist/chunk-SBADOWVC.js +7 -0
- package/dist/{chunk-J77SLE3M.js → chunk-SYTEO5LA.js} +3 -2
- package/dist/{chunk-STYGFTEB.js → chunk-UGEFD67O.js} +6 -6
- package/dist/{chunk-POTCPZJF.js → chunk-VPRB5FNR.js} +2 -2
- package/dist/{chunk-WIZUASFY.js → chunk-VUBFPRKT.js} +278 -142
- package/dist/{chunk-YDDBPKVP.js → chunk-W4SM4FFZ.js} +15 -15
- package/dist/{chunk-J3IJJ55E.js → chunk-YJD5A375.js} +7 -7
- package/dist/{chunk-LSEHJ2WI.js → chunk-ZIL6VKLU.js} +3 -3
- package/dist/{chunk-LWXLNE6M.js → chunk-ZIYETXOW.js} +2 -2
- package/dist/cli/dev.js +1 -1
- package/dist/cli/index.js +1 -1
- package/dist/{client-JKPDMJ7S.js → client-XHJHOFMU.js} +5 -5
- package/dist/{compactor-MKD3CAFM.js → compactor-VTATJTPN.js} +12 -12
- package/dist/{dynamic-context-IWFD7U3D.js → dynamic-context-KTQCAPTK.js} +9 -9
- package/dist/{events-6P4TDTSD.js → events-GMHRX4LF.js} +8 -8
- package/dist/{folding-3LA2WX2B.js → folding-7K2GRPF4.js} +6 -6
- package/dist/http-client-N4ASJEKJ.js +11 -0
- package/dist/{inspect-proxy-IDLUAQH5.js → inspect-proxy-UKPU3Z64.js} +4 -4
- package/dist/launch-Z5D5YFRJ.js +53 -0
- package/dist/{manager-NFKTUR64.js → manager-NOKJQTTF.js} +5 -5
- package/dist/model-catalog-ZLOWTQA7.js +14 -0
- package/dist/{orchestrator-PEXLQK3T.js → orchestrator-BQBBO4US.js} +31 -30
- package/dist/package.json +1 -1
- package/dist/{path-security-JUF56IB6.js → path-security-YTPZ35SL.js} +14 -12
- package/dist/{platform-FM57ZJHA.js → platform-EMKWQTZX.js} +4 -4
- package/dist/{processor-2GEVRLJP.js → processor-WTRVYXAO.js} +39 -35
- package/dist/{project-creator-J4ITWDZI.js → project-creator-JF3YVQAH.js} +3 -3
- package/dist/{projects-FHRTSV6N.js → projects-TPSLCJP2.js} +3 -3
- package/dist/{protocol-BLin669D.d.ts → protocol-DCMH9Ufp.d.ts} +1 -1
- package/dist/provider/index.d.ts +4 -4
- package/dist/{provider-TAFJCWVP.js → provider-LICG53GG.js} +7 -6
- package/dist/{provider-manager-EDJN6ARI.js → provider-manager-3QC2MSSR.js} +7 -6
- package/dist/{registry-37GL3DAP.js → registry-Z4GVYFTV.js} +5 -5
- package/dist/{serve-3BPQGWYE.js → serve-75G5Z7UQ.js} +34 -33
- package/dist/server/index.d.ts +27 -6
- package/dist/server/index.js +31 -30
- package/dist/server-N3VATHIA.js +56 -0
- package/dist/{service-2IOCVEXQ.js → service-OURGS2SI.js} +10 -9
- package/dist/{session-overrides-EOKSZO2X.js → session-overrides-4WAD3X5Q.js} +7 -7
- package/dist/{sessions-XFNU4DZ6.js → sessions-D7VRCHQY.js} +8 -6
- package/dist/{settings-SYYDPV43.js → settings-VOWWO4VG.js} +3 -3
- package/dist/shared/index.d.ts +3 -3
- package/dist/{tasks-G7ACMQM2.js → tasks-4SOLTX6A.js} +11 -10
- package/dist/{tools-IKMNLLAY.js → tools-G44LBKD4.js} +24 -23
- package/dist/{types-B5_9KtfJ.d.ts → types-Cr4EgGwK.d.ts} +1 -1
- package/dist/{types-DeQIEC1U.d.ts → types-PAKlAzp9.d.ts} +16 -0
- package/dist/{update-QX6IIUKB.js → update-R2TEHD7V.js} +2 -2
- package/dist/web/assets/{index-D9sfxcRH.css → index-DFMllFkv.css} +1 -1
- package/dist/web/assets/index-GZTGHRRr.js +324 -0
- package/dist/web/index.html +2 -2
- package/dist/web/sw.js +1 -1
- package/dist/{workspace-ZNZFEONU.js → workspace-J3JEGF6U.js} +4 -4
- package/package.json +1 -1
- package/dist/chunk-VC3YCHDO.js +0 -7
- package/dist/http-client-IKOARXI7.js +0 -11
- package/dist/launch-FOUIDMGW.js +0 -52
- package/dist/server-HPIR55OH.js +0 -55
- package/dist/web/assets/index-CJuw9bwD.js +0 -324
|
@@ -1,22 +1,19 @@
|
|
|
1
|
-
import {
|
|
2
|
-
buildCachedPrompt,
|
|
3
|
-
computeDynamicContextHash,
|
|
4
|
-
getToolFingerprint
|
|
5
|
-
} from "./chunk-AIXVERRI.js";
|
|
6
1
|
import {
|
|
7
2
|
createAssemblyResult,
|
|
8
3
|
getConversationMessages,
|
|
9
4
|
getToolRegistryForAgent,
|
|
10
5
|
processEventsForConversation,
|
|
11
6
|
runTopLevelAgentLoop
|
|
12
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-5CCM655F.js";
|
|
8
|
+
import {
|
|
9
|
+
buildCachedPrompt,
|
|
10
|
+
computeDynamicContextHash,
|
|
11
|
+
getToolFingerprint
|
|
12
|
+
} from "./chunk-FAL4WO4V.js";
|
|
13
13
|
import {
|
|
14
14
|
getAllInstructions,
|
|
15
15
|
getEnabledSkillMetadata
|
|
16
|
-
} from "./chunk-
|
|
17
|
-
import {
|
|
18
|
-
PathAccessDeniedError
|
|
19
|
-
} from "./chunk-5A4YN6I7.js";
|
|
16
|
+
} from "./chunk-ZIL6VKLU.js";
|
|
20
17
|
import {
|
|
21
18
|
TurnMetrics,
|
|
22
19
|
createChatDoneEvent,
|
|
@@ -25,21 +22,24 @@ import {
|
|
|
25
22
|
import {
|
|
26
23
|
buildAgentReminder,
|
|
27
24
|
buildAgentSmallReminder
|
|
28
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-GIJUWPRQ.js";
|
|
26
|
+
import {
|
|
27
|
+
PathAccessDeniedError
|
|
28
|
+
} from "./chunk-KD4W3I6C.js";
|
|
29
29
|
import {
|
|
30
30
|
getCurrentContextWindowId,
|
|
31
31
|
getCurrentWindowMessageOptions,
|
|
32
32
|
getEventStore
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-YJD5A375.js";
|
|
34
34
|
import {
|
|
35
35
|
buildSnapshotFromSessionState
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-ZIYETXOW.js";
|
|
37
37
|
import {
|
|
38
38
|
findAgentById,
|
|
39
39
|
getRuntimeConfig,
|
|
40
40
|
loadAllAgentsDefault,
|
|
41
41
|
resolveDefaultAgentId
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-KBESUA3W.js";
|
|
43
43
|
import {
|
|
44
44
|
logger
|
|
45
45
|
} from "./chunk-K44MW7JJ.js";
|
|
@@ -49,7 +49,7 @@ import {
|
|
|
49
49
|
|
|
50
50
|
// src/server/chat/orchestrator.ts
|
|
51
51
|
async function buildRetryPatterns() {
|
|
52
|
-
const { getSetting, SETTINGS_KEYS } = await import("./settings-
|
|
52
|
+
const { getSetting, SETTINGS_KEYS } = await import("./settings-VOWWO4VG.js");
|
|
53
53
|
const raw = getSetting(SETTINGS_KEYS.RETRY_PATTERNS);
|
|
54
54
|
if (!raw) {
|
|
55
55
|
const oldXmlProtection = getSetting("llm.disableXmlProtection");
|
|
@@ -80,17 +80,20 @@ function buildGetConversationMessages(sessionId, resolveLLMClient, append) {
|
|
|
80
80
|
}
|
|
81
81
|
function resolveStatsIdentity(options) {
|
|
82
82
|
const clientModel = options.llmClient.getModel();
|
|
83
|
+
const clientEffort = options.llmClient.getReasoningEffort?.();
|
|
83
84
|
if (options.statsIdentity) {
|
|
84
85
|
return {
|
|
85
86
|
...options.statsIdentity,
|
|
86
|
-
model:
|
|
87
|
+
model: clientModel,
|
|
88
|
+
...clientEffort ? { reasoningEffort: clientEffort } : options.statsIdentity.reasoningEffort ? { reasoningEffort: options.statsIdentity.reasoningEffort } : {}
|
|
87
89
|
};
|
|
88
90
|
}
|
|
89
91
|
return {
|
|
90
92
|
providerId: `provider:${clientModel}`,
|
|
91
93
|
providerName: "Unknown Provider",
|
|
92
94
|
backend: "unknown",
|
|
93
|
-
model: clientModel
|
|
95
|
+
model: clientModel,
|
|
96
|
+
...clientEffort ? { reasoningEffort: clientEffort } : {}
|
|
94
97
|
};
|
|
95
98
|
}
|
|
96
99
|
async function runChatTurn(options) {
|
|
@@ -227,6 +230,7 @@ async function runAgentTurn(options, turnMetrics, agentId, append, callbacks) {
|
|
|
227
230
|
const allAgents = await loadAllAgentsDefault(options.sessionManager.getProjectWorkdir(options.sessionId));
|
|
228
231
|
const agentDef = findAgentById(agentId, allAgents) ?? findAgentById(resolveDefaultAgentId(), allAgents);
|
|
229
232
|
const resolveAgentClient = () => options.sessionManager.createClientForAgent(
|
|
233
|
+
options.sessionId,
|
|
230
234
|
agentId,
|
|
231
235
|
options.getSessionLLMClient ? options.getSessionLLMClient() : options.llmClient
|
|
232
236
|
);
|
|
@@ -325,4 +329,4 @@ export {
|
|
|
325
329
|
runChatTurn,
|
|
326
330
|
runAgentTurn
|
|
327
331
|
};
|
|
328
|
-
//# sourceMappingURL=chunk-
|
|
332
|
+
//# sourceMappingURL=chunk-QJNBQCAF.js.map
|
|
@@ -11,11 +11,11 @@ import {
|
|
|
11
11
|
} from "./chunk-I72ACQ6R.js";
|
|
12
12
|
import {
|
|
13
13
|
getPlatformShell
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-66MG44TF.js";
|
|
15
15
|
import {
|
|
16
16
|
SETTINGS_KEYS,
|
|
17
17
|
getSetting
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-N2Q3KYWM.js";
|
|
19
19
|
|
|
20
20
|
// src/server/utils/shell.ts
|
|
21
21
|
import { spawn } from "child_process";
|
|
@@ -214,4 +214,4 @@ export {
|
|
|
214
214
|
getSessionProcesses2 as getSessionProcesses,
|
|
215
215
|
getProcessLogs
|
|
216
216
|
};
|
|
217
|
-
//# sourceMappingURL=chunk-
|
|
217
|
+
//# sourceMappingURL=chunk-RV5G7QQU.js.map
|
|
@@ -163,7 +163,7 @@ async function runCli(options) {
|
|
|
163
163
|
break;
|
|
164
164
|
}
|
|
165
165
|
case "provider": {
|
|
166
|
-
const { runProviderCommand } = await import("./provider-
|
|
166
|
+
const { runProviderCommand } = await import("./provider-LICG53GG.js");
|
|
167
167
|
const [, subcommand] = positionals;
|
|
168
168
|
await runProviderCommand(mode, subcommand);
|
|
169
169
|
break;
|
|
@@ -200,7 +200,7 @@ async function runCli(options) {
|
|
|
200
200
|
break;
|
|
201
201
|
}
|
|
202
202
|
case "update": {
|
|
203
|
-
const { runUpdate } = await import("./update-
|
|
203
|
+
const { runUpdate } = await import("./update-R2TEHD7V.js");
|
|
204
204
|
const code = await runUpdate();
|
|
205
205
|
if (code !== 0) {
|
|
206
206
|
process.exit(code);
|
|
@@ -213,7 +213,7 @@ async function runCli(options) {
|
|
|
213
213
|
if (!configExists) {
|
|
214
214
|
await runNetworkSetup(mode);
|
|
215
215
|
}
|
|
216
|
-
const { runServe } = await import("./serve-
|
|
216
|
+
const { runServe } = await import("./serve-75G5Z7UQ.js");
|
|
217
217
|
const serveOptions = { mode };
|
|
218
218
|
if (values.port) serveOptions.port = parseInt(values.port);
|
|
219
219
|
if (values["no-browser"] === true) serveOptions.openBrowser = false;
|
|
@@ -225,4 +225,4 @@ async function runCli(options) {
|
|
|
225
225
|
export {
|
|
226
226
|
runCli
|
|
227
227
|
};
|
|
228
|
-
//# sourceMappingURL=chunk-
|
|
228
|
+
//# sourceMappingURL=chunk-RXLAFEZB.js.map
|
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
import {
|
|
18
18
|
LLMError,
|
|
19
19
|
OpenAIHttpClient
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-VPRB5FNR.js";
|
|
21
21
|
import {
|
|
22
22
|
logger
|
|
23
23
|
} from "./chunk-K44MW7JJ.js";
|
|
@@ -86,6 +86,7 @@ function createLLMClient(config, initialBackend = "unknown") {
|
|
|
86
86
|
model = newModel;
|
|
87
87
|
profile = newProfile;
|
|
88
88
|
},
|
|
89
|
+
getReasoningEffort: () => reasoningEffort,
|
|
89
90
|
async complete(request) {
|
|
90
91
|
logger.debug("LLM complete request", {
|
|
91
92
|
messageCount: request.messages.length,
|
|
@@ -316,4 +317,4 @@ function createLLMClient(config, initialBackend = "unknown") {
|
|
|
316
317
|
export {
|
|
317
318
|
createLLMClient
|
|
318
319
|
};
|
|
319
|
-
//# sourceMappingURL=chunk-
|
|
320
|
+
//# sourceMappingURL=chunk-SYTEO5LA.js.map
|
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
import {
|
|
2
|
+
parseDefaultModelSelection
|
|
3
|
+
} from "./chunk-A6EZBX62.js";
|
|
1
4
|
import {
|
|
2
5
|
deleteItemFromDir,
|
|
3
6
|
getDefaultIds,
|
|
@@ -8,13 +11,10 @@ import {
|
|
|
8
11
|
} from "./chunk-OSXPQSLW.js";
|
|
9
12
|
import {
|
|
10
13
|
getProject
|
|
11
|
-
} from "./chunk-
|
|
12
|
-
import {
|
|
13
|
-
parseDefaultModelSelection
|
|
14
|
-
} from "./chunk-UJRWYZHM.js";
|
|
14
|
+
} from "./chunk-3B232XG4.js";
|
|
15
15
|
import {
|
|
16
16
|
getDatabase
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-OYBUJIC3.js";
|
|
18
18
|
import {
|
|
19
19
|
logger
|
|
20
20
|
} from "./chunk-K44MW7JJ.js";
|
|
@@ -1099,4 +1099,4 @@ export {
|
|
|
1099
1099
|
isTaskGateError,
|
|
1100
1100
|
createTasksService
|
|
1101
1101
|
};
|
|
1102
|
-
//# sourceMappingURL=chunk-
|
|
1102
|
+
//# sourceMappingURL=chunk-UGEFD67O.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SETTINGS_KEYS,
|
|
3
3
|
getSetting
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-N2Q3KYWM.js";
|
|
5
5
|
import {
|
|
6
6
|
logger
|
|
7
7
|
} from "./chunk-K44MW7JJ.js";
|
|
@@ -164,4 +164,4 @@ export {
|
|
|
164
164
|
WorkspaceInUseError,
|
|
165
165
|
OpenAIHttpClient
|
|
166
166
|
};
|
|
167
|
-
//# sourceMappingURL=chunk-
|
|
167
|
+
//# sourceMappingURL=chunk-VPRB5FNR.js.map
|