openfox 2.0.119 → 2.0.121
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/agent-defaults/code-reviewer.agent.md +3 -8
- package/dist/{chat-handler-M54IWF5Y.js → chat-handler-A5ORR5BB.js} +28 -29
- package/dist/{chunk-LNNBLB6G.js → chunk-2N7KFNMY.js} +3 -3
- package/dist/{chunk-XZGQZ42D.js → chunk-5A4YN6I7.js} +5 -5
- package/dist/{chunk-UNNCD7A3.js → chunk-5QTERLHH.js} +6 -6
- package/dist/{chunk-SE62ZBNX.js → chunk-62GUO2EG.js} +6 -4
- package/dist/{chunk-YHAE2SJI.js → chunk-6A2VIV36.js} +4 -4
- package/dist/{chunk-VUQCQXXJ.js → chunk-7OHXF5GW.js} +6 -3
- package/dist/{chunk-3PG65AXG.js → chunk-DIALH34K.js} +2 -2
- package/dist/{chunk-AESOGRFK.js → chunk-EZ67GBEO.js} +2 -2
- package/dist/{chunk-AIFZNTUJ.js → chunk-F2IM5J4I.js} +4 -4
- package/dist/{chunk-HD6Y77RO.js → chunk-FGVMRFDW.js} +2 -2
- package/dist/{chunk-W7VIYHPQ.js → chunk-GJL3QSMP.js} +3 -2
- package/dist/{chunk-ZTOG6LJD.js → chunk-I22B6KWV.js} +3 -3
- package/dist/{chunk-JOCR4CF4.js → chunk-J3IJJ55E.js} +5 -5
- package/dist/{chunk-J6KFWVZ3.js → chunk-J77SLE3M.js} +3 -3
- package/dist/{chunk-XZ2WAI66.js → chunk-KD7JTG42.js} +237 -199
- package/dist/{chunk-2FCLCUVR.js → chunk-LSEHJ2WI.js} +3 -3
- package/dist/{chunk-3KBRMBTP.js → chunk-LWXLNE6M.js} +2 -2
- package/dist/{chunk-5PT4UMRR.js → chunk-NYQKSKDB.js} +9 -1
- package/dist/{chunk-5FAPM2GM.js → chunk-O63CDVNI.js} +4 -4
- package/dist/chunk-OBB3JYMK.js +7 -0
- package/dist/{chunk-M6X6AIEG.js → chunk-OXANSWVZ.js} +2 -2
- package/dist/{chunk-LTYL6ZGH.js → chunk-POTCPZJF.js} +2 -2
- package/dist/{chunk-O6DU226D.js → chunk-RMOKNQAS.js} +2 -2
- package/dist/{chunk-KLQEL2DZ.js → chunk-SLW3KKPP.js} +26 -8
- package/dist/{chunk-V5XWUVF5.js → chunk-TR4DQZIG.js} +123 -49
- package/dist/{chunk-U6JMRMBW.js → chunk-UJRWYZHM.js} +9 -3
- package/dist/{chunk-6DDB67FN.js → chunk-VUANU5A5.js} +17 -17
- package/dist/{chunk-AVQCOSOF.js → chunk-W3WZ54KP.js} +16 -16
- package/dist/{chunk-27NABDXB.js → chunk-Y7FGHKBW.js} +2 -2
- package/dist/{chunk-EQ5CGNOT.js → chunk-YBOU4ZFD.js} +3 -3
- package/dist/{chunk-VFS7TFA7.js → chunk-YDDBPKVP.js} +21 -16
- package/dist/{chunk-XB7IXMUI.js → chunk-ZELEYSTY.js} +51 -46
- package/dist/cli/dev.js +1 -1
- package/dist/cli/index.js +1 -1
- package/dist/{client-R4PI64IL.js → client-JKPDMJ7S.js} +6 -6
- package/dist/{compactor-F6XMYVHL.js → compactor-MKD3CAFM.js} +13 -13
- package/dist/{dynamic-context-NXQ2TFAZ.js → dynamic-context-KPZECHZH.js} +9 -9
- package/dist/{events-KDFMBVP5.js → events-6P4TDTSD.js} +8 -8
- package/dist/{folding-RTGU63BW.js → folding-3LA2WX2B.js} +6 -6
- package/dist/http-client-IKOARXI7.js +11 -0
- package/dist/{inspect-proxy-WPEDMCG7.js → inspect-proxy-IDLUAQH5.js} +4 -4
- package/dist/launch-YWXQQWZN.js +52 -0
- package/dist/{manager-EMLSLMMT.js → manager-NFKTUR64.js} +5 -5
- package/dist/{orchestrator-MNON5G7R.js → orchestrator-SM3IHZFP.js} +31 -32
- package/dist/package.json +1 -1
- package/dist/{path-security-L4AJJN2V.js → path-security-JUF56IB6.js} +10 -10
- package/dist/{platform-ECDDYMAR.js → platform-FM57ZJHA.js} +4 -4
- package/dist/{processor-OZSK7RUD.js → processor-EUJRA5GW.js} +40 -41
- package/dist/{profiles-GYHXBWPV.js → profiles-3YLLEJ2B.js} +2 -2
- package/dist/{project-creator-PMQ65NKN.js → project-creator-J4ITWDZI.js} +3 -3
- package/dist/{projects-NDPNOV6D.js → projects-FHRTSV6N.js} +3 -3
- package/dist/{protocol-D5kJLGWy.d.ts → protocol-BLin669D.d.ts} +1 -1
- package/dist/provider/index.d.ts +4 -4
- package/dist/{provider-7YF42S7C.js → provider-TAFJCWVP.js} +7 -7
- package/dist/{provider-manager-FJIPQJMX.js → provider-manager-EDJN6ARI.js} +7 -7
- package/dist/{registry-5QL3BOWN.js → registry-37GL3DAP.js} +5 -5
- package/dist/{serve-V34QG72C.js → serve-DEY45HQS.js} +32 -33
- package/dist/server/index.d.ts +40 -8
- package/dist/server/index.js +31 -32
- package/dist/server-EIRLWSBZ.js +55 -0
- package/dist/{service-ZKH465DA.js → service-HX5NFX2D.js} +9 -9
- package/dist/{session-overrides-CWBKPHMF.js → session-overrides-EOKSZO2X.js} +7 -7
- package/dist/{sessions-I7ELDIIP.js → sessions-XFNU4DZ6.js} +8 -6
- package/dist/{settings-FGXQHKUH.js → settings-SYYDPV43.js} +3 -3
- package/dist/shared/index.d.ts +6 -5
- package/dist/shared/index.js +1 -1
- package/dist/{tasks-I766NBPW.js → tasks-A25JQ4TV.js} +9 -9
- package/dist/{tools-ZJXDZLRH.js → tools-YGJXEEBI.js} +23 -24
- package/dist/{types-B5CI_Ql3.d.ts → types-B5_9KtfJ.d.ts} +1 -1
- package/dist/{types-CZlj7ufS.d.ts → types-DeQIEC1U.d.ts} +2 -0
- package/dist/{update-C3YVPKCR.js → update-CE3XSZXE.js} +2 -2
- package/dist/web/assets/{index-BlYcAqzD.js → index-oiZlWLY7.js} +84 -84
- package/dist/web/index.html +1 -1
- package/dist/web/sw.js +1 -1
- package/dist/workflow-defaults/default.workflow.json +3 -3
- package/dist/{workspace-IQLLHMYR.js → workspace-ZNZFEONU.js} +4 -4
- package/package.json +1 -1
- package/dist/chunk-EW25UQG3.js +0 -7
- package/dist/chunk-JLAR2CMV.js +0 -72
- package/dist/http-client-IPUW2MSW.js +0 -11
- package/dist/launch-I5XBYRSJ.js +0 -53
- package/dist/model-overrides-7F2EOA4U.js +0 -21
- package/dist/server-XZQLWIVD.js +0 -56
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,32 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 2.0.121 - 2026-08-16
|
|
4
|
+
|
|
5
|
+
### Features
|
|
6
|
+
|
|
7
|
+
- **New "Reset to default" action in the model selector** — undoes your manual model pick so the agent's own model or the global default applies again
|
|
8
|
+
|
|
9
|
+
### Enhancements
|
|
10
|
+
|
|
11
|
+
- **Clearer workflow nudge** — builders are told to mark fixed criteria completed, not verified
|
|
12
|
+
|
|
13
|
+
### Bug Fixes
|
|
14
|
+
|
|
15
|
+
- **Manual model pick is sticky** — switching agents or modes no longer overwrites your chosen model
|
|
16
|
+
- **Agent overrides survive model picks** — picking a model no longer deletes the agent's saved override
|
|
17
|
+
- **Sub-agents without overrides use the session model** — no longer inherit the parent agent's client
|
|
18
|
+
- **Prefill speed stats are cache-aware** — cached tokens are no longer counted as freshly processed
|
|
19
|
+
- **Compaction now counts as a prefill cache miss** — no longer reports zero tokens processed
|
|
20
|
+
- **Code review sees the raw diff again** — no longer re-verifies criteria from verifier notes
|
|
21
|
+
|
|
22
|
+
## 2.0.120 - 2026-08-15
|
|
23
|
+
|
|
24
|
+
### Bug Fixes
|
|
25
|
+
|
|
26
|
+
- **DeepSeek default temperature matches the model card** — DeepSeek models now sample at 1.0 by default instead of 0.6
|
|
27
|
+
- **Max tokens follow the session's model** — clamping and truncation retry budgets now use the active model's context window, not a global default
|
|
28
|
+
- **Truncation retries no longer send negative max_tokens** — retry budget is floored at 256 tokens, preventing HTTP 400 errors
|
|
29
|
+
|
|
3
30
|
## 2.0.119 - 2026-08-14
|
|
4
31
|
|
|
5
32
|
### Features
|
package/dist/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,32 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 2.0.121 - 2026-08-16
|
|
4
|
+
|
|
5
|
+
### Features
|
|
6
|
+
|
|
7
|
+
- **New "Reset to default" action in the model selector** — undoes your manual model pick so the agent's own model or the global default applies again
|
|
8
|
+
|
|
9
|
+
### Enhancements
|
|
10
|
+
|
|
11
|
+
- **Clearer workflow nudge** — builders are told to mark fixed criteria completed, not verified
|
|
12
|
+
|
|
13
|
+
### Bug Fixes
|
|
14
|
+
|
|
15
|
+
- **Manual model pick is sticky** — switching agents or modes no longer overwrites your chosen model
|
|
16
|
+
- **Agent overrides survive model picks** — picking a model no longer deletes the agent's saved override
|
|
17
|
+
- **Sub-agents without overrides use the session model** — no longer inherit the parent agent's client
|
|
18
|
+
- **Prefill speed stats are cache-aware** — cached tokens are no longer counted as freshly processed
|
|
19
|
+
- **Compaction now counts as a prefill cache miss** — no longer reports zero tokens processed
|
|
20
|
+
- **Code review sees the raw diff again** — no longer re-verifies criteria from verifier notes
|
|
21
|
+
|
|
22
|
+
## 2.0.120 - 2026-08-15
|
|
23
|
+
|
|
24
|
+
### Bug Fixes
|
|
25
|
+
|
|
26
|
+
- **DeepSeek default temperature matches the model card** — DeepSeek models now sample at 1.0 by default instead of 0.6
|
|
27
|
+
- **Max tokens follow the session's model** — clamping and truncation retry budgets now use the active model's context window, not a global default
|
|
28
|
+
- **Truncation retries no longer send negative max_tokens** — retry budget is floored at 256 tokens, preventing HTTP 400 errors
|
|
29
|
+
|
|
3
30
|
## 2.0.119 - 2026-08-14
|
|
4
31
|
|
|
5
32
|
### Features
|
|
@@ -11,19 +11,14 @@ allowedTools:
|
|
|
11
11
|
- session_metadata
|
|
12
12
|
---
|
|
13
13
|
|
|
14
|
-
You are a code reviewer.
|
|
15
|
-
|
|
16
|
-
When context is provided, use it to judge the change against what was actually requested:
|
|
17
|
-
|
|
18
|
-
- Read the intended scope (criteria) and check the diff delivers it faithfully — flag mismatches, partial implementations, or scope creep.
|
|
19
|
-
- Treat the verifier's notes as already-confirmed ground truth. Don't re-verify what it covered; instead catch what it missed.
|
|
20
|
-
- You're not looking for 100% perfection. Just something that feels good to use and doesn't bloat the software.
|
|
21
|
-
|
|
14
|
+
You are a code reviewer. Review the **git diff** of the modified files rather than reading the full files.
|
|
22
15
|
You're mostly interested in:
|
|
23
16
|
|
|
24
17
|
1. **For the user (UX interaction)** — does this feel good to use? Any rough edges, confusing behavior, or unnecessary friction?
|
|
25
18
|
2. **For the project (code quality + guidelines)** — does this follow project conventions? Is it maintainable? Does it bloat the software?
|
|
26
19
|
|
|
20
|
+
You're not looking for 100% perfection. Just something that feels good to use and doesn't bloat the software.
|
|
21
|
+
|
|
27
22
|
## Managing Findings
|
|
28
23
|
|
|
29
24
|
Use `session_metadata` to track your findings:
|
|
@@ -2,53 +2,52 @@ import {
|
|
|
2
2
|
buildRunChatTurnParams,
|
|
3
3
|
finalizeTurnCompletion,
|
|
4
4
|
generateSessionNameForSession
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-YDDBPKVP.js";
|
|
6
6
|
import {
|
|
7
7
|
runChatTurn
|
|
8
|
-
} from "./chunk-
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-M6X6AIEG.js";
|
|
15
|
-
import "./chunk-ZTOG6LJD.js";
|
|
8
|
+
} from "./chunk-VUANU5A5.js";
|
|
9
|
+
import "./chunk-5QTERLHH.js";
|
|
10
|
+
import "./chunk-TR4DQZIG.js";
|
|
11
|
+
import "./chunk-LSEHJ2WI.js";
|
|
12
|
+
import "./chunk-OXANSWVZ.js";
|
|
13
|
+
import "./chunk-I22B6KWV.js";
|
|
16
14
|
import "./chunk-I72ACQ6R.js";
|
|
17
15
|
import "./chunk-JE7LW7Y6.js";
|
|
18
16
|
import "./chunk-OAN4BXEW.js";
|
|
19
|
-
import "./chunk-
|
|
17
|
+
import "./chunk-RMOKNQAS.js";
|
|
20
18
|
import "./chunk-J7GAZGZT.js";
|
|
21
|
-
import "./chunk-
|
|
22
|
-
import "./chunk-
|
|
23
|
-
import "./chunk-
|
|
24
|
-
import {
|
|
25
|
-
getEventStore
|
|
26
|
-
} from "./chunk-JOCR4CF4.js";
|
|
27
|
-
import "./chunk-KLQEL2DZ.js";
|
|
19
|
+
import "./chunk-O63CDVNI.js";
|
|
20
|
+
import "./chunk-YBOU4ZFD.js";
|
|
21
|
+
import "./chunk-5A4YN6I7.js";
|
|
28
22
|
import {
|
|
29
23
|
createChatMessageMessage,
|
|
30
24
|
createPhaseChangedMessage,
|
|
31
25
|
createSessionRunningMessage
|
|
32
26
|
} from "./chunk-XAAEP5XM.js";
|
|
33
|
-
import "./chunk-AESOGRFK.js";
|
|
34
27
|
import "./chunk-JURM3RPZ.js";
|
|
35
|
-
import "./chunk-
|
|
36
|
-
import "./chunk-
|
|
28
|
+
import "./chunk-62GUO2EG.js";
|
|
29
|
+
import "./chunk-Y7FGHKBW.js";
|
|
30
|
+
import {
|
|
31
|
+
getEventStore
|
|
32
|
+
} from "./chunk-J3IJJ55E.js";
|
|
33
|
+
import "./chunk-SLW3KKPP.js";
|
|
34
|
+
import "./chunk-EZ67GBEO.js";
|
|
35
|
+
import "./chunk-LWXLNE6M.js";
|
|
37
36
|
import "./chunk-LCLH6ZUL.js";
|
|
38
|
-
import "./chunk-
|
|
37
|
+
import "./chunk-2N7KFNMY.js";
|
|
39
38
|
import "./chunk-OSXPQSLW.js";
|
|
40
|
-
import "./chunk-
|
|
41
|
-
import "./chunk-
|
|
39
|
+
import "./chunk-DIALH34K.js";
|
|
40
|
+
import "./chunk-UJRWYZHM.js";
|
|
42
41
|
import "./chunk-K2QKX4ZJ.js";
|
|
43
42
|
import "./chunk-J2GP3J3X.js";
|
|
44
|
-
import "./chunk-
|
|
45
|
-
import "./chunk-
|
|
43
|
+
import "./chunk-J77SLE3M.js";
|
|
44
|
+
import "./chunk-GJL3QSMP.js";
|
|
46
45
|
import "./chunk-AZHWLLPP.js";
|
|
47
46
|
import "./chunk-HNCM3D7Y.js";
|
|
48
47
|
import "./chunk-MIPQOHWS.js";
|
|
49
|
-
import "./chunk-
|
|
50
|
-
import "./chunk-
|
|
51
|
-
import "./chunk-
|
|
48
|
+
import "./chunk-POTCPZJF.js";
|
|
49
|
+
import "./chunk-FGVMRFDW.js";
|
|
50
|
+
import "./chunk-NYQKSKDB.js";
|
|
52
51
|
import "./chunk-K44MW7JJ.js";
|
|
53
52
|
import "./chunk-KSDWQ6IZ.js";
|
|
54
53
|
import "./chunk-KSXCOHHW.js";
|
|
@@ -174,4 +173,4 @@ export {
|
|
|
174
173
|
startChatSession,
|
|
175
174
|
stopSessionExecution
|
|
176
175
|
};
|
|
177
|
-
//# sourceMappingURL=chat-handler-
|
|
176
|
+
//# sourceMappingURL=chat-handler-A5ORR5BB.js.map
|
|
@@ -3,11 +3,11 @@ import {
|
|
|
3
3
|
} from "./chunk-OSXPQSLW.js";
|
|
4
4
|
import {
|
|
5
5
|
getProjectDefaultAgent
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-DIALH34K.js";
|
|
7
7
|
import {
|
|
8
8
|
SETTINGS_KEYS,
|
|
9
9
|
getSetting
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-FGVMRFDW.js";
|
|
11
11
|
import {
|
|
12
12
|
logger
|
|
13
13
|
} from "./chunk-K44MW7JJ.js";
|
|
@@ -352,4 +352,4 @@ export {
|
|
|
352
352
|
getOverrideAgentIds,
|
|
353
353
|
resolveDefaultAgentId
|
|
354
354
|
};
|
|
355
|
-
//# sourceMappingURL=chunk-
|
|
355
|
+
//# sourceMappingURL=chunk-2N7KFNMY.js.map
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import {
|
|
2
|
-
getEventStore
|
|
3
|
-
} from "./chunk-JOCR4CF4.js";
|
|
4
1
|
import {
|
|
5
2
|
createChatPathConfirmationMessage
|
|
6
3
|
} from "./chunk-XAAEP5XM.js";
|
|
4
|
+
import {
|
|
5
|
+
getEventStore
|
|
6
|
+
} from "./chunk-J3IJJ55E.js";
|
|
7
7
|
import {
|
|
8
8
|
getPlatformShell
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-EZ67GBEO.js";
|
|
10
10
|
|
|
11
11
|
// src/server/tools/path-security.ts
|
|
12
12
|
import { realpath } from "fs/promises";
|
|
@@ -671,4 +671,4 @@ export {
|
|
|
671
671
|
getConfirmationSessionId,
|
|
672
672
|
getPendingConfirmationsBySession
|
|
673
673
|
};
|
|
674
|
-
//# sourceMappingURL=chunk-
|
|
674
|
+
//# sourceMappingURL=chunk-5A4YN6I7.js.map
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getAllInstructions,
|
|
3
3
|
getEnabledSkillMetadata
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-LSEHJ2WI.js";
|
|
5
5
|
import {
|
|
6
6
|
buildTopLevelSystemPrompt
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-Y7FGHKBW.js";
|
|
8
8
|
import {
|
|
9
9
|
findAgentById,
|
|
10
10
|
getRuntimeConfig,
|
|
11
11
|
getSubAgents,
|
|
12
12
|
loadAllAgentsDefault,
|
|
13
13
|
resolveDefaultAgentId
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-2N7KFNMY.js";
|
|
15
15
|
import {
|
|
16
16
|
logger
|
|
17
17
|
} from "./chunk-K44MW7JJ.js";
|
|
@@ -105,7 +105,7 @@ function resolveAgentDef(sessionManager, sessionId) {
|
|
|
105
105
|
}
|
|
106
106
|
async function buildCachedPrompt(sessionManager, sessionId, agentDef, modelName) {
|
|
107
107
|
const { instructionContent, skills } = await loadSessionContext(sessionManager, sessionId);
|
|
108
|
-
const { getToolRegistryForAgent } = await import("./tools-
|
|
108
|
+
const { getToolRegistryForAgent } = await import("./tools-YGJXEEBI.js");
|
|
109
109
|
const tools = getToolRegistryForAgent(agentDef, sessionId).definitions;
|
|
110
110
|
const toolFingerprint = getToolFingerprint(tools);
|
|
111
111
|
const allAgents = await loadAllAgentsDefault(sessionManager.getProjectWorkdir(sessionId));
|
|
@@ -124,7 +124,7 @@ async function buildCachedPrompt(sessionManager, sessionId, agentDef, modelName)
|
|
|
124
124
|
async function computeSessionHash(sessionManager, sessionId, modelName) {
|
|
125
125
|
const { instructionContent, skills } = await loadSessionContext(sessionManager, sessionId);
|
|
126
126
|
const agentDef = await resolveAgentDef(sessionManager, sessionId);
|
|
127
|
-
const { getToolRegistryForAgent } = await import("./tools-
|
|
127
|
+
const { getToolRegistryForAgent } = await import("./tools-YGJXEEBI.js");
|
|
128
128
|
const tools = getToolRegistryForAgent(agentDef, sessionId).definitions;
|
|
129
129
|
const toolFingerprint = getToolFingerprint(tools);
|
|
130
130
|
return computeDynamicContextHash(instructionContent, skills, toolFingerprint, modelName);
|
|
@@ -148,4 +148,4 @@ export {
|
|
|
148
148
|
computeSessionHash,
|
|
149
149
|
applyDynamicContext
|
|
150
150
|
};
|
|
151
|
-
//# sourceMappingURL=chunk-
|
|
151
|
+
//# sourceMappingURL=chunk-5QTERLHH.js.map
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-J2GP3J3X.js";
|
|
4
4
|
import {
|
|
5
5
|
getModelProfile
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-GJL3QSMP.js";
|
|
7
7
|
import {
|
|
8
8
|
getBackendCapabilities
|
|
9
9
|
} from "./chunk-AZHWLLPP.js";
|
|
@@ -363,6 +363,7 @@ var TurnMetrics = class {
|
|
|
363
363
|
startTime;
|
|
364
364
|
totalPrefillTokens = 0;
|
|
365
365
|
totalPrefillIncrement = 0;
|
|
366
|
+
hasPrefillIncrement = false;
|
|
366
367
|
totalPrefillTime = 0;
|
|
367
368
|
// seconds
|
|
368
369
|
totalGenTokens = 0;
|
|
@@ -387,9 +388,10 @@ var TurnMetrics = class {
|
|
|
387
388
|
if (modelParams) {
|
|
388
389
|
this.modelParams = modelParams;
|
|
389
390
|
}
|
|
390
|
-
const prefTokenIncrement = previousContextTokens !== void 0 ?
|
|
391
|
+
const prefTokenIncrement = previousContextTokens !== void 0 ? promptTokens >= previousContextTokens ? promptTokens - previousContextTokens : promptTokens : void 0;
|
|
391
392
|
if (prefTokenIncrement !== void 0) {
|
|
392
393
|
this.totalPrefillIncrement += prefTokenIncrement;
|
|
394
|
+
this.hasPrefillIncrement = true;
|
|
393
395
|
}
|
|
394
396
|
const prefillSource = prefTokenIncrement ?? promptTokens;
|
|
395
397
|
this.llmCalls = [
|
|
@@ -426,7 +428,7 @@ var TurnMetrics = class {
|
|
|
426
428
|
identity,
|
|
427
429
|
mode,
|
|
428
430
|
totalPrefillTokens: this.totalPrefillTokens,
|
|
429
|
-
...this.
|
|
431
|
+
...this.hasPrefillIncrement && { totalPrefillIncrement: this.totalPrefillIncrement },
|
|
430
432
|
totalGenTokens: this.totalGenTokens,
|
|
431
433
|
totalPrefillTime: this.totalPrefillTime,
|
|
432
434
|
totalGenTime: this.totalGenTime,
|
|
@@ -516,4 +518,4 @@ export {
|
|
|
516
518
|
createChatDoneEvent,
|
|
517
519
|
consumeStreamGenerator
|
|
518
520
|
};
|
|
519
|
-
//# sourceMappingURL=chunk-
|
|
521
|
+
//# sourceMappingURL=chunk-62GUO2EG.js.map
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createMessageStartEvent
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-62GUO2EG.js";
|
|
4
4
|
import {
|
|
5
5
|
COMPACTION_PROMPT
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-Y7FGHKBW.js";
|
|
7
7
|
import {
|
|
8
8
|
getCurrentWindowMessageOptions
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-J3IJJ55E.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-
|
|
39
|
+
//# sourceMappingURL=chunk-6A2VIV36.js.map
|
|
@@ -22,6 +22,7 @@ function buildSessionStats(messagesWithStats) {
|
|
|
22
22
|
let toolTime = 0;
|
|
23
23
|
let prefillTokens = 0;
|
|
24
24
|
let generationTokens = 0;
|
|
25
|
+
let totalPrefillSource = 0;
|
|
25
26
|
let totalPrefillTime = 0;
|
|
26
27
|
let totalGenTime = 0;
|
|
27
28
|
const dataPoints = [];
|
|
@@ -34,8 +35,10 @@ function buildSessionStats(messagesWithStats) {
|
|
|
34
35
|
toolTime += stats.toolTime;
|
|
35
36
|
prefillTokens += stats.prefillTokens;
|
|
36
37
|
generationTokens += stats.generationTokens;
|
|
37
|
-
const
|
|
38
|
+
const prefillSource = stats.prefTokenIncrement ?? stats.prefillTokens;
|
|
39
|
+
const prefillTime = stats.prefillSpeed > 0 ? prefillSource / stats.prefillSpeed : 0;
|
|
38
40
|
const genTime = stats.generationSpeed > 0 ? stats.generationTokens / stats.generationSpeed : 0;
|
|
41
|
+
totalPrefillSource += prefillSource;
|
|
39
42
|
totalPrefillTime += prefillTime;
|
|
40
43
|
totalGenTime += genTime;
|
|
41
44
|
dataPoints.push({
|
|
@@ -80,7 +83,7 @@ function buildSessionStats(messagesWithStats) {
|
|
|
80
83
|
});
|
|
81
84
|
}
|
|
82
85
|
}
|
|
83
|
-
const avgPrefillSpeed = totalPrefillTime > 0 ? roundTo1(
|
|
86
|
+
const avgPrefillSpeed = totalPrefillTime > 0 ? roundTo1(totalPrefillSource / totalPrefillTime) : 0;
|
|
84
87
|
const avgGenerationSpeed = totalGenTime > 0 ? roundTo1(generationTokens / totalGenTime) : 0;
|
|
85
88
|
return {
|
|
86
89
|
totalTime: roundTo1(totalTime),
|
|
@@ -126,4 +129,4 @@ function computeSessionStats(messages) {
|
|
|
126
129
|
export {
|
|
127
130
|
computeSessionStats
|
|
128
131
|
};
|
|
129
|
-
//# sourceMappingURL=chunk-
|
|
132
|
+
//# sourceMappingURL=chunk-7OHXF5GW.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getDatabase
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-NYQKSKDB.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-
|
|
147
|
+
//# sourceMappingURL=chunk-DIALH34K.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SETTINGS_KEYS,
|
|
3
3
|
getSetting
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-FGVMRFDW.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-
|
|
66
|
+
//# sourceMappingURL=chunk-EZ67GBEO.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-TAFJCWVP.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-CE3XSZXE.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-DEY45HQS.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-F2IM5J4I.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getDatabase
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-NYQKSKDB.js";
|
|
4
4
|
|
|
5
5
|
// src/server/db/settings.ts
|
|
6
6
|
var SETTINGS_KEYS = {
|
|
@@ -131,4 +131,4 @@ export {
|
|
|
131
131
|
getAllSettings,
|
|
132
132
|
getMaxVisibleItems
|
|
133
133
|
};
|
|
134
|
-
//# sourceMappingURL=chunk-
|
|
134
|
+
//# sourceMappingURL=chunk-FGVMRFDW.js.map
|
|
@@ -61,7 +61,8 @@ var MODEL_PROFILES = [
|
|
|
61
61
|
pattern: "deepseek",
|
|
62
62
|
profile: {
|
|
63
63
|
name: "DeepSeek",
|
|
64
|
-
|
|
64
|
+
// Per DeepSeek API docs: default temperature is 1.0
|
|
65
|
+
temperature: 1,
|
|
65
66
|
topP: 0.95,
|
|
66
67
|
defaultMaxTokens: 16384,
|
|
67
68
|
supportsVision: false
|
|
@@ -172,4 +173,4 @@ export {
|
|
|
172
173
|
getModelProfile,
|
|
173
174
|
modelSupportsVision
|
|
174
175
|
};
|
|
175
|
-
//# sourceMappingURL=chunk-
|
|
176
|
+
//# sourceMappingURL=chunk-GJL3QSMP.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-EZ67GBEO.js";
|
|
15
15
|
import {
|
|
16
16
|
SETTINGS_KEYS,
|
|
17
17
|
getSetting
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-FGVMRFDW.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-I22B6KWV.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
updateSessionMessageCount
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-SLW3KKPP.js";
|
|
4
4
|
import {
|
|
5
5
|
buildContextMessagesFromEventHistory,
|
|
6
6
|
buildMessagesFromStoredEvents,
|
|
@@ -9,13 +9,13 @@ import {
|
|
|
9
9
|
foldSessionState,
|
|
10
10
|
spreadOptionalMessageFields,
|
|
11
11
|
trimSnapshotStreamingOutput
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-LWXLNE6M.js";
|
|
13
13
|
import {
|
|
14
14
|
getRuntimeConfig
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-2N7KFNMY.js";
|
|
16
16
|
import {
|
|
17
17
|
SETTINGS_KEYS
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-FGVMRFDW.js";
|
|
19
19
|
import {
|
|
20
20
|
logger
|
|
21
21
|
} from "./chunk-K44MW7JJ.js";
|
|
@@ -1465,4 +1465,4 @@ export {
|
|
|
1465
1465
|
truncateSessionMessages,
|
|
1466
1466
|
getRecentUserPromptsForSession
|
|
1467
1467
|
};
|
|
1468
|
-
//# sourceMappingURL=chunk-
|
|
1468
|
+
//# sourceMappingURL=chunk-J3IJJ55E.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getModelProfile
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-GJL3QSMP.js";
|
|
4
4
|
import {
|
|
5
5
|
getBackendCapabilities
|
|
6
6
|
} from "./chunk-AZHWLLPP.js";
|
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
import {
|
|
18
18
|
LLMError,
|
|
19
19
|
OpenAIHttpClient
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-POTCPZJF.js";
|
|
21
21
|
import {
|
|
22
22
|
logger
|
|
23
23
|
} from "./chunk-K44MW7JJ.js";
|
|
@@ -316,4 +316,4 @@ function createLLMClient(config, initialBackend = "unknown") {
|
|
|
316
316
|
export {
|
|
317
317
|
createLLMClient
|
|
318
318
|
};
|
|
319
|
-
//# sourceMappingURL=chunk-
|
|
319
|
+
//# sourceMappingURL=chunk-J77SLE3M.js.map
|