openfox 2.0.108 → 2.0.109
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 +11 -0
- package/dist/CHANGELOG.md +11 -0
- package/dist/{chat-handler-UZ2A75DG.js → chat-handler-UZ7WTT6D.js} +17 -17
- package/dist/{chunk-3GJFZQNV.js → chunk-3HS72YIE.js} +2 -2
- package/dist/{chunk-PSAWMCD6.js → chunk-4HIFB7F5.js} +14 -14
- package/dist/{chunk-TMVXOLBS.js → chunk-4ZXRERIW.js} +2 -2
- package/dist/{chunk-YBIJI53N.js → chunk-5HMKLHTT.js} +2 -2
- package/dist/{chunk-ID4N6PM6.js → chunk-6EV7X5MP.js} +2 -2
- package/dist/{chunk-JH6SOEQW.js → chunk-ACJNRPTO.js} +2 -2
- package/dist/{chunk-HGOEHSVC.js → chunk-C5JJM72V.js} +3 -3
- package/dist/{chunk-KYY5PAGE.js → chunk-CQKRZ4WV.js} +3 -3
- package/dist/{chunk-CF2HEP3M.js → chunk-DPDCOLL4.js} +4 -4
- package/dist/{chunk-EYMGV4YA.js → chunk-E5HZKNTY.js} +2 -2
- package/dist/{chunk-GWMNR3LC.js → chunk-GNFDD6LN.js} +3 -3
- package/dist/{chunk-7FKSDR7H.js → chunk-HK75Q3EA.js} +10 -10
- package/dist/{chunk-Q4P4CWWV.js → chunk-KDQJOI2I.js} +2 -2
- package/dist/{chunk-QDKLJZO4.js → chunk-LXYNP7LL.js} +4 -4
- package/dist/{chunk-IRWZJPPA.js → chunk-MM46DJJL.js} +2 -2
- package/dist/{chunk-3MYD6Y4W.js → chunk-NORNB6IJ.js} +6 -6
- package/dist/{chunk-P7HT6IJW.js → chunk-PU3IPUSW.js} +5 -5
- package/dist/{chunk-JBZW5BZX.js → chunk-UCYPPLVR.js} +15 -15
- package/dist/{chunk-63ZAFYQ7.js → chunk-VJWWJEBX.js} +7 -7
- package/dist/{chunk-WFWFRUBU.js → chunk-VT2X3DMC.js} +2 -2
- package/dist/{chunk-MPWLBKSK.js → chunk-VXKPZUCT.js} +3 -1
- package/dist/{chunk-P7WCFUPJ.js → chunk-WCQOHRUX.js} +2 -2
- package/dist/chunk-YM673D5U.js +7 -0
- package/dist/{chunk-I4M6SCMY.js → chunk-Z5QAKEJH.js} +67 -67
- package/dist/cli/dev.js +1 -1
- package/dist/cli/index.js +1 -1
- package/dist/{client-R4TZCZTO.js → client-LPNFUOPV.js} +4 -4
- package/dist/{compactor-U3MAROGM.js → compactor-OSDLCGRC.js} +9 -9
- package/dist/{dynamic-context-H7AVSAXQ.js → dynamic-context-WVA7HTEP.js} +7 -7
- package/dist/{events-7WAOX35W.js → events-26J7BUSY.js} +6 -6
- package/dist/{folding-MJDFKOHT.js → folding-ZD4AMFNR.js} +4 -4
- package/dist/{http-client-NHVT6E5C.js → http-client-MQARNFY3.js} +3 -3
- package/dist/{manager-ZVHBUECR.js → manager-RJH7EYIG.js} +4 -4
- package/dist/{model-overrides-47LYCLFO.js → model-overrides-BXMFIT47.js} +3 -3
- package/dist/{orchestrator-X7H5JRM5.js → orchestrator-BW27C4K4.js} +16 -16
- package/dist/package.json +1 -1
- package/dist/{path-security-26J53LD4.js → path-security-AAZMH33K.js} +7 -7
- package/dist/{platform-JOAXLXYQ.js → platform-EZJABX5J.js} +3 -3
- package/dist/{processor-33OESYXP.js → processor-FTCPHWBM.js} +16 -16
- package/dist/{provider-U4X7BDDL.js → provider-JS5P3HQ2.js} +5 -5
- package/dist/{provider-manager-ON3V54DS.js → provider-manager-MWAIOX2A.js} +5 -5
- package/dist/{registry-2PP4PUCL.js → registry-JJB5GXOM.js} +3 -3
- package/dist/{serve-LK3LQEWW.js → serve-TRDQ6A5H.js} +24 -24
- package/dist/server/index.js +23 -23
- package/dist/{server-7Q5RPZKY.js → server-R6DDJNF3.js} +19 -19
- package/dist/{session-overrides-FVX6374M.js → session-overrides-T47KXDDS.js} +5 -5
- package/dist/{sessions-7XOOISCY.js → sessions-YTWCOHI3.js} +4 -4
- package/dist/{settings-H2W3SNFE.js → settings-2RZBMX5Y.js} +2 -2
- package/dist/{tools-5C2VIQ7B.js → tools-KPIYFL5A.js} +14 -14
- package/dist/{update-5R3HZD6U.js → update-WGZZ5Q37.js} +2 -2
- package/dist/web/assets/{index-C0OFVoFt.js → index-CaG1FEjz.js} +50 -50
- package/dist/web/index.html +1 -1
- package/dist/web/sw.js +1 -1
- package/package.json +1 -1
- package/dist/chunk-UWF4L4CK.js +0 -7
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,16 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 2.0.109 - 2026-08-02
|
|
4
|
+
|
|
5
|
+
### Enhancements
|
|
6
|
+
|
|
7
|
+
- **Feed virtualization is opt-in** — a "Virtualize long feeds" display setting mounts only recent messages on very long sessions
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
- **No more stranded history when scrolling up** — the experimental virtualized feed is off by default, so older messages render as before
|
|
12
|
+
- **Git `-n` respected for non-commit subcommands** — only commit/amend treat `-n` as no-verify
|
|
13
|
+
|
|
3
14
|
## 2.0.108 - 2026-08-02
|
|
4
15
|
|
|
5
16
|
### Features
|
package/dist/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,16 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 2.0.109 - 2026-08-02
|
|
4
|
+
|
|
5
|
+
### Enhancements
|
|
6
|
+
|
|
7
|
+
- **Feed virtualization is opt-in** — a "Virtualize long feeds" display setting mounts only recent messages on very long sessions
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
- **No more stranded history when scrolling up** — the experimental virtualized feed is off by default, so older messages render as before
|
|
12
|
+
- **Git `-n` respected for non-commit subcommands** — only commit/amend treat `-n` as no-verify
|
|
13
|
+
|
|
3
14
|
## 2.0.108 - 2026-08-02
|
|
4
15
|
|
|
5
16
|
### Features
|
|
@@ -2,44 +2,44 @@ import {
|
|
|
2
2
|
buildRunChatTurnParams,
|
|
3
3
|
finalizeTurnCompletion,
|
|
4
4
|
generateSessionNameForSession
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-VJWWJEBX.js";
|
|
6
6
|
import {
|
|
7
7
|
runChatTurn
|
|
8
|
-
} from "./chunk-
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
8
|
+
} from "./chunk-HK75Q3EA.js";
|
|
9
|
+
import "./chunk-NORNB6IJ.js";
|
|
10
|
+
import "./chunk-UCYPPLVR.js";
|
|
11
|
+
import "./chunk-GNFDD6LN.js";
|
|
12
12
|
import "./chunk-JR54MDZI.js";
|
|
13
|
-
import "./chunk-
|
|
13
|
+
import "./chunk-5HMKLHTT.js";
|
|
14
14
|
import "./chunk-33Q7LCVD.js";
|
|
15
|
-
import "./chunk-
|
|
15
|
+
import "./chunk-C5JJM72V.js";
|
|
16
16
|
import "./chunk-I72ACQ6R.js";
|
|
17
17
|
import "./chunk-JE7LW7Y6.js";
|
|
18
18
|
import "./chunk-VKWVPQJ5.js";
|
|
19
19
|
import "./chunk-FR5LUTLQ.js";
|
|
20
20
|
import "./chunk-J7GAZGZT.js";
|
|
21
|
-
import "./chunk-
|
|
22
|
-
import "./chunk-
|
|
21
|
+
import "./chunk-WCQOHRUX.js";
|
|
22
|
+
import "./chunk-PU3IPUSW.js";
|
|
23
23
|
import {
|
|
24
24
|
getEventStore
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-LXYNP7LL.js";
|
|
26
26
|
import {
|
|
27
27
|
createChatMessageMessage,
|
|
28
28
|
createPhaseChangedMessage,
|
|
29
29
|
createSessionRunningMessage
|
|
30
30
|
} from "./chunk-B5MH4HQ6.js";
|
|
31
31
|
import "./chunk-JAX5OEMM.js";
|
|
32
|
-
import "./chunk-
|
|
33
|
-
import "./chunk-
|
|
32
|
+
import "./chunk-6EV7X5MP.js";
|
|
33
|
+
import "./chunk-MM46DJJL.js";
|
|
34
34
|
import "./chunk-6FPGJR7O.js";
|
|
35
|
-
import "./chunk-
|
|
36
|
-
import "./chunk-
|
|
37
|
-
import "./chunk-
|
|
35
|
+
import "./chunk-ACJNRPTO.js";
|
|
36
|
+
import "./chunk-4ZXRERIW.js";
|
|
37
|
+
import "./chunk-VT2X3DMC.js";
|
|
38
38
|
import "./chunk-J2GP3J3X.js";
|
|
39
39
|
import "./chunk-V4IE7HJY.js";
|
|
40
40
|
import "./chunk-YHEQTVFV.js";
|
|
41
41
|
import "./chunk-L737Y63F.js";
|
|
42
|
-
import "./chunk-
|
|
42
|
+
import "./chunk-VXKPZUCT.js";
|
|
43
43
|
import "./chunk-LCQ5AN6Y.js";
|
|
44
44
|
import "./chunk-K44MW7JJ.js";
|
|
45
45
|
import "./chunk-4R7G5JB6.js";
|
|
@@ -166,4 +166,4 @@ export {
|
|
|
166
166
|
startChatSession,
|
|
167
167
|
stopSessionExecution
|
|
168
168
|
};
|
|
169
|
-
//# sourceMappingURL=chat-handler-
|
|
169
|
+
//# sourceMappingURL=chat-handler-UZ7WTT6D.js.map
|
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
import {
|
|
18
18
|
LLMError,
|
|
19
19
|
OpenAIHttpClient
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-E5HZKNTY.js";
|
|
21
21
|
import {
|
|
22
22
|
logger
|
|
23
23
|
} from "./chunk-K44MW7JJ.js";
|
|
@@ -310,4 +310,4 @@ function createLLMClient(config, initialBackend = "unknown") {
|
|
|
310
310
|
export {
|
|
311
311
|
createLLMClient
|
|
312
312
|
};
|
|
313
|
-
//# sourceMappingURL=chunk-
|
|
313
|
+
//# sourceMappingURL=chunk-3HS72YIE.js.map
|
|
@@ -2,24 +2,24 @@ import {
|
|
|
2
2
|
generateSessionNameForSession,
|
|
3
3
|
getSessionMessageCount,
|
|
4
4
|
needsNameGeneration
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-VJWWJEBX.js";
|
|
6
6
|
import {
|
|
7
7
|
runAgentTurn,
|
|
8
8
|
runChatTurn
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-HK75Q3EA.js";
|
|
10
10
|
import {
|
|
11
11
|
applyDynamicContext,
|
|
12
12
|
computeSessionHash,
|
|
13
13
|
computeUnifiedDiff
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-NORNB6IJ.js";
|
|
15
15
|
import {
|
|
16
16
|
appendCompactionPrompt
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-CQKRZ4WV.js";
|
|
18
18
|
import {
|
|
19
19
|
devServerManager,
|
|
20
20
|
executeSubAgent,
|
|
21
21
|
getToolRegistryForAgent
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-UCYPPLVR.js";
|
|
23
23
|
import {
|
|
24
24
|
TurnMetrics,
|
|
25
25
|
createMessageStartEvent
|
|
@@ -28,7 +28,7 @@ import {
|
|
|
28
28
|
checkAborted,
|
|
29
29
|
onProcessEvent,
|
|
30
30
|
spawnShellProcess
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-C5JJM72V.js";
|
|
32
32
|
import {
|
|
33
33
|
killProcessTree,
|
|
34
34
|
terminateProcessTree
|
|
@@ -40,7 +40,7 @@ import {
|
|
|
40
40
|
combineEventsWithSnapshot,
|
|
41
41
|
getCurrentContextWindowId,
|
|
42
42
|
getEventStore
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-LXYNP7LL.js";
|
|
44
44
|
import {
|
|
45
45
|
createChatErrorMessage,
|
|
46
46
|
createChatMessageMessage,
|
|
@@ -62,11 +62,11 @@ import {
|
|
|
62
62
|
} from "./chunk-JAX5OEMM.js";
|
|
63
63
|
import {
|
|
64
64
|
getPlatformShell
|
|
65
|
-
} from "./chunk-
|
|
65
|
+
} from "./chunk-6EV7X5MP.js";
|
|
66
66
|
import {
|
|
67
67
|
buildMessagesFromStoredEvents,
|
|
68
68
|
foldPendingConfirmations
|
|
69
|
-
} from "./chunk-
|
|
69
|
+
} from "./chunk-ACJNRPTO.js";
|
|
70
70
|
import {
|
|
71
71
|
deleteItemFromDir,
|
|
72
72
|
findAgentById,
|
|
@@ -75,10 +75,10 @@ import {
|
|
|
75
75
|
loadAllAgentsDefault,
|
|
76
76
|
resolveDefaultAgentId,
|
|
77
77
|
saveItemToDir
|
|
78
|
-
} from "./chunk-
|
|
78
|
+
} from "./chunk-VT2X3DMC.js";
|
|
79
79
|
import {
|
|
80
80
|
getMaxVisibleItems
|
|
81
|
-
} from "./chunk-
|
|
81
|
+
} from "./chunk-VXKPZUCT.js";
|
|
82
82
|
import {
|
|
83
83
|
logger
|
|
84
84
|
} from "./chunk-K44MW7JJ.js";
|
|
@@ -2189,8 +2189,8 @@ async function handleClientMessage(ws, client, message, _getLLMClient, _getActiv
|
|
|
2189
2189
|
const sessionId = client.activeSessionId;
|
|
2190
2190
|
const session = sessionManager.requireSession(sessionId);
|
|
2191
2191
|
try {
|
|
2192
|
-
const { buildCachedPrompt } = await import("./dynamic-context-
|
|
2193
|
-
const allAgents = await import("./registry-
|
|
2192
|
+
const { buildCachedPrompt } = await import("./dynamic-context-WVA7HTEP.js");
|
|
2193
|
+
const allAgents = await import("./registry-JJB5GXOM.js");
|
|
2194
2194
|
const agentDef = allAgents.findAgentById(session.mode, await allAgents.loadAllAgentsDefault()) ?? allAgents.findAgentById("planner", await allAgents.loadAllAgentsDefault());
|
|
2195
2195
|
const modelName = session.providerModel ?? _providerManager?.getCurrentModel();
|
|
2196
2196
|
const { systemPrompt: newPrompt, hash: newHash } = await buildCachedPrompt(
|
|
@@ -2513,4 +2513,4 @@ export {
|
|
|
2513
2513
|
signalMcpReady,
|
|
2514
2514
|
createWebSocketServer
|
|
2515
2515
|
};
|
|
2516
|
-
//# sourceMappingURL=chunk-
|
|
2516
|
+
//# sourceMappingURL=chunk-4HIFB7F5.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
resolveDefaultAgentId
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-VT2X3DMC.js";
|
|
4
4
|
import {
|
|
5
5
|
getDatabase
|
|
6
6
|
} from "./chunk-LCQ5AN6Y.js";
|
|
@@ -368,4 +368,4 @@ export {
|
|
|
368
368
|
getActiveWorkflowExecution,
|
|
369
369
|
clearWorkflowExecution
|
|
370
370
|
};
|
|
371
|
-
//# sourceMappingURL=chunk-
|
|
371
|
+
//# sourceMappingURL=chunk-4ZXRERIW.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getPlatformShell
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-6EV7X5MP.js";
|
|
4
4
|
|
|
5
5
|
// src/server/tools/tool-policy.ts
|
|
6
6
|
var ALWAYS_ALLOWED = /* @__PURE__ */ new Set(["step_done"]);
|
|
@@ -246,4 +246,4 @@ export {
|
|
|
246
246
|
buildAgentSmallReminder,
|
|
247
247
|
COMPACTION_PROMPT
|
|
248
248
|
};
|
|
249
|
-
//# sourceMappingURL=chunk-
|
|
249
|
+
//# sourceMappingURL=chunk-5HMKLHTT.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SETTINGS_KEYS,
|
|
3
3
|
getSetting
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-VXKPZUCT.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-6EV7X5MP.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
resolveDefaultAgentId
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-VT2X3DMC.js";
|
|
4
4
|
|
|
5
5
|
// src/server/events/apply-events.ts
|
|
6
6
|
function markComplete(msg, reason) {
|
|
@@ -957,4 +957,4 @@ export {
|
|
|
957
957
|
buildSnapshot,
|
|
958
958
|
buildSnapshotFromSessionState
|
|
959
959
|
};
|
|
960
|
-
//# sourceMappingURL=chunk-
|
|
960
|
+
//# sourceMappingURL=chunk-ACJNRPTO.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-6EV7X5MP.js";
|
|
15
15
|
import {
|
|
16
16
|
SETTINGS_KEYS,
|
|
17
17
|
getSetting
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-VXKPZUCT.js";
|
|
19
19
|
|
|
20
20
|
// src/server/utils/shell.ts
|
|
21
21
|
import { spawn } from "child_process";
|
|
@@ -163,4 +163,4 @@ export {
|
|
|
163
163
|
getSessionProcesses2 as getSessionProcesses,
|
|
164
164
|
getProcessLogs
|
|
165
165
|
};
|
|
166
|
-
//# sourceMappingURL=chunk-
|
|
166
|
+
//# sourceMappingURL=chunk-C5JJM72V.js.map
|
|
@@ -3,10 +3,10 @@ import {
|
|
|
3
3
|
} from "./chunk-JR54MDZI.js";
|
|
4
4
|
import {
|
|
5
5
|
COMPACTION_PROMPT
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-5HMKLHTT.js";
|
|
7
7
|
import {
|
|
8
8
|
getCurrentWindowMessageOptions
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-LXYNP7LL.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-CQKRZ4WV.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-JS5P3HQ2.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-WGZZ5Q37.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-TRDQ6A5H.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-DPDCOLL4.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SETTINGS_KEYS,
|
|
3
3
|
getSetting
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-VXKPZUCT.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-E5HZKNTY.js.map
|
|
@@ -5,13 +5,13 @@ import {
|
|
|
5
5
|
deleteItemFromDir,
|
|
6
6
|
loadItemsFromDir,
|
|
7
7
|
pathExists
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-VT2X3DMC.js";
|
|
9
9
|
import {
|
|
10
10
|
SETTINGS_KEYS,
|
|
11
11
|
deleteSetting,
|
|
12
12
|
getSetting,
|
|
13
13
|
setSetting
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-VXKPZUCT.js";
|
|
15
15
|
|
|
16
16
|
// src/server/context/instructions.ts
|
|
17
17
|
import { readFile, access } from "fs/promises";
|
|
@@ -440,4 +440,4 @@ export {
|
|
|
440
440
|
deleteSkill,
|
|
441
441
|
deleteProjectSkill
|
|
442
442
|
};
|
|
443
|
-
//# sourceMappingURL=chunk-
|
|
443
|
+
//# sourceMappingURL=chunk-GNFDD6LN.js.map
|
|
@@ -2,18 +2,18 @@ import {
|
|
|
2
2
|
buildCachedPrompt,
|
|
3
3
|
computeDynamicContextHash,
|
|
4
4
|
getToolFingerprint
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-NORNB6IJ.js";
|
|
6
6
|
import {
|
|
7
7
|
createAssemblyResult,
|
|
8
8
|
getConversationMessages,
|
|
9
9
|
getToolRegistryForAgent,
|
|
10
10
|
processEventsForConversation,
|
|
11
11
|
runTopLevelAgentLoop
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-UCYPPLVR.js";
|
|
13
13
|
import {
|
|
14
14
|
getAllInstructions,
|
|
15
15
|
getEnabledSkillMetadata
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-GNFDD6LN.js";
|
|
17
17
|
import {
|
|
18
18
|
TurnMetrics,
|
|
19
19
|
createChatDoneEvent,
|
|
@@ -22,24 +22,24 @@ import {
|
|
|
22
22
|
import {
|
|
23
23
|
buildAgentReminder,
|
|
24
24
|
buildAgentSmallReminder
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-5HMKLHTT.js";
|
|
26
26
|
import {
|
|
27
27
|
PathAccessDeniedError
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-PU3IPUSW.js";
|
|
29
29
|
import {
|
|
30
30
|
getCurrentContextWindowId,
|
|
31
31
|
getCurrentWindowMessageOptions,
|
|
32
32
|
getEventStore
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-LXYNP7LL.js";
|
|
34
34
|
import {
|
|
35
35
|
buildSnapshotFromSessionState
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-ACJNRPTO.js";
|
|
37
37
|
import {
|
|
38
38
|
findAgentById,
|
|
39
39
|
getRuntimeConfig,
|
|
40
40
|
loadAllAgentsDefault,
|
|
41
41
|
resolveDefaultAgentId
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-VT2X3DMC.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-2RZBMX5Y.js");
|
|
53
53
|
const raw = getSetting(SETTINGS_KEYS.RETRY_PATTERNS);
|
|
54
54
|
if (!raw) {
|
|
55
55
|
const oldXmlProtection = getSetting("llm.disableXmlProtection");
|
|
@@ -319,4 +319,4 @@ export {
|
|
|
319
319
|
runChatTurn,
|
|
320
320
|
runAgentTurn
|
|
321
321
|
};
|
|
322
|
-
//# sourceMappingURL=chunk-
|
|
322
|
+
//# sourceMappingURL=chunk-HK75Q3EA.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createLLMClient
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-3HS72YIE.js";
|
|
4
4
|
import {
|
|
5
5
|
getModelProfile
|
|
6
6
|
} from "./chunk-V4IE7HJY.js";
|
|
@@ -804,4 +804,4 @@ export {
|
|
|
804
804
|
parseDefaultModelSelection,
|
|
805
805
|
createProviderManager
|
|
806
806
|
};
|
|
807
|
-
//# sourceMappingURL=chunk-
|
|
807
|
+
//# sourceMappingURL=chunk-KDQJOI2I.js.map
|
|
@@ -5,13 +5,13 @@ import {
|
|
|
5
5
|
foldContextState,
|
|
6
6
|
foldSessionState,
|
|
7
7
|
spreadOptionalMessageFields
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-ACJNRPTO.js";
|
|
9
9
|
import {
|
|
10
10
|
updateSessionMessageCount
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-4ZXRERIW.js";
|
|
12
12
|
import {
|
|
13
13
|
getRuntimeConfig
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-VT2X3DMC.js";
|
|
15
15
|
import {
|
|
16
16
|
logger
|
|
17
17
|
} from "./chunk-K44MW7JJ.js";
|
|
@@ -1249,4 +1249,4 @@ export {
|
|
|
1249
1249
|
truncateSessionMessages,
|
|
1250
1250
|
getRecentUserPromptsForSession
|
|
1251
1251
|
};
|
|
1252
|
-
//# sourceMappingURL=chunk-
|
|
1252
|
+
//# sourceMappingURL=chunk-LXYNP7LL.js.map
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
SETTINGS_KEYS,
|
|
3
3
|
getSetting,
|
|
4
4
|
setSetting
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-VXKPZUCT.js";
|
|
6
6
|
|
|
7
7
|
// src/server/agents/model-overrides.ts
|
|
8
8
|
import { z } from "zod";
|
|
@@ -69,4 +69,4 @@ export {
|
|
|
69
69
|
setAgentModelOverride,
|
|
70
70
|
resolveLLMClientForAgent
|
|
71
71
|
};
|
|
72
|
-
//# sourceMappingURL=chunk-
|
|
72
|
+
//# sourceMappingURL=chunk-MM46DJJL.js.map
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getAllInstructions,
|
|
3
3
|
getEnabledSkillMetadata
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-GNFDD6LN.js";
|
|
5
5
|
import {
|
|
6
6
|
buildTopLevelSystemPrompt
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-5HMKLHTT.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-VT2X3DMC.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-KPIYFL5A.js");
|
|
109
109
|
const tools = getToolRegistryForAgent(agentDef, sessionId).definitions;
|
|
110
110
|
const toolFingerprint = getToolFingerprint(tools);
|
|
111
111
|
const allAgents = await loadAllAgentsDefault();
|
|
@@ -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-KPIYFL5A.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-NORNB6IJ.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getEventStore
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-LXYNP7LL.js";
|
|
4
4
|
import {
|
|
5
5
|
createChatPathConfirmationMessage
|
|
6
6
|
} from "./chunk-B5MH4HQ6.js";
|
|
@@ -283,6 +283,7 @@ function extractDangerousPatterns(command) {
|
|
|
283
283
|
}
|
|
284
284
|
return dangerous;
|
|
285
285
|
}
|
|
286
|
+
var GIT_N_NO_VERIFY_SUBCOMMANDS = /* @__PURE__ */ new Set(["commit", "am"]);
|
|
286
287
|
function extractGitNoVerify(command) {
|
|
287
288
|
const subCommands = command.split(/\s*(?:&&|\|\||\||;)\s*/);
|
|
288
289
|
for (const sub of subCommands) {
|
|
@@ -291,9 +292,8 @@ function extractGitNoVerify(command) {
|
|
|
291
292
|
const subCmd = parts[gitIndex + 1];
|
|
292
293
|
if (gitIndex >= 0 && subCmd && !subCmd.startsWith("-")) {
|
|
293
294
|
const gitArgs = parts.slice(gitIndex + 2);
|
|
294
|
-
if (gitArgs.
|
|
295
|
-
|
|
296
|
-
}
|
|
295
|
+
if (gitArgs.includes("--no-verify")) return true;
|
|
296
|
+
if (GIT_N_NO_VERIFY_SUBCOMMANDS.has(subCmd) && gitArgs.includes("-n")) return true;
|
|
297
297
|
}
|
|
298
298
|
}
|
|
299
299
|
return false;
|
|
@@ -498,4 +498,4 @@ export {
|
|
|
498
498
|
getConfirmationSessionId,
|
|
499
499
|
getPendingConfirmationsBySession
|
|
500
500
|
};
|
|
501
|
-
//# sourceMappingURL=chunk-
|
|
501
|
+
//# sourceMappingURL=chunk-PU3IPUSW.js.map
|