openfox 2.0.136 → 2.0.138
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 +18 -0
- package/dist/CHANGELOG.md +18 -0
- package/dist/{chat-handler-SYU4HJMI.js → chat-handler-AUB5HDQD.js} +12 -11
- package/dist/{chunk-GP5BYQMF.js → chunk-2KCREKHC.js} +19 -13
- package/dist/{chunk-342BKOTE.js → chunk-2OO46UAW.js} +2 -2
- package/dist/{chunk-UL7776XB.js → chunk-2Q4THMD7.js} +7 -7
- package/dist/{chunk-CPVEONNS.js → chunk-5CZPHAHN.js} +6 -6
- package/dist/{chunk-U6FHHT2B.js → chunk-76C2PVOC.js} +4 -4
- package/dist/{chunk-YDPC4FLR.js → chunk-BENMBAU2.js} +4 -4
- package/dist/{chunk-PQKLOLGC.js → chunk-DBCWILV3.js} +21 -3
- package/dist/{chunk-QQQBNL7A.js → chunk-HI25RCRW.js} +233 -52
- package/dist/{chunk-XGG4XCKP.js → chunk-MMGHIPBU.js} +71 -53
- package/dist/{chunk-EXLCFEML.js → chunk-N3PANDLT.js} +14 -10
- package/dist/chunk-OU7WD35E.js +7 -0
- package/dist/{chunk-AATMPL7S.js → chunk-OVAHNEFG.js} +6 -2
- package/dist/{chunk-HF3NDXB4.js → chunk-PW5L4WBG.js} +1 -1
- package/dist/{chunk-MILEZY2J.js → chunk-RJ2GRUVF.js} +3 -3
- package/dist/{chunk-VA2TYWQR.js → chunk-U7XCK7WL.js} +2 -2
- package/dist/{chunk-5YPHN5NC.js → chunk-XS2QQERB.js} +4 -4
- package/dist/cli/dev.js +1 -1
- package/dist/cli/index.js +1 -1
- package/dist/{compactor-LBK53WAK.js → compactor-KDTY4ERE.js} +4 -4
- package/dist/{describe-image-4XDLSKAB.js → describe-image-AU6KBSWA.js} +7 -7
- package/dist/{dynamic-context-RDBNQPPA.js → dynamic-context-SKHOUP4T.js} +4 -4
- package/dist/{events-YTYYT3PR.js → events-ADE2KEHI.js} +4 -6
- package/dist/{export-import-GHRCOQHF.js → export-import-SC3UW22Z.js} +4 -4
- package/dist/{folding-3MMOPS4W.js → folding-CM63AVSB.js} +4 -4
- package/dist/{launch-YZ46OEFP.js → launch-PTMPNZEN.js} +11 -11
- package/dist/{orchestrator-6QGQ55NT.js → orchestrator-KRHMAVBN.js} +10 -10
- package/dist/package.json +1 -1
- package/dist/{path-security-EC4Z2ZZG.js → path-security-YP2MRJNS.js} +8 -6
- package/dist/{processor-B2RV7MVC.js → processor-QZOGF5ES.js} +11 -10
- package/dist/{protocol-Nr_H1_oC.d.ts → protocol-D6DZzkSH.d.ts} +6 -3
- package/dist/{protocol-XO4ZROAU.js → protocol-MRMOB3P4.js} +5 -3
- package/dist/provider/index.d.ts +4 -4
- package/dist/{serve-EWA5HXC7.js → serve-LVDF4XLG.js} +16 -16
- package/dist/server/index.d.ts +33 -3
- package/dist/server/index.js +15 -15
- package/dist/{server-ZAPAB3FS.js → server-AIRQGHHR.js} +14 -14
- package/dist/shared/index.d.ts +3 -3
- package/dist/shared/index.js +1 -1
- package/dist/{tools-EJOABHVO.js → tools-NIPKV4YY.js} +10 -8
- package/dist/{types-G10ho8PT.d.ts → types-CLcL33hJ.d.ts} +11 -1
- package/dist/{types-BlQjLBui.d.ts → types-CmiWoQ7p.d.ts} +1 -1
- package/dist/{update-IPHJMRQZ.js → update-Y5QXN3FK.js} +2 -2
- package/dist/web/assets/{index-ChJjYovg.css → index-C1oW6oq0.css} +1 -1
- package/dist/web/assets/{index-CfFwerN2.js → index-CTAslWsi.js} +66 -66
- package/dist/web/index.html +2 -2
- package/dist/web/sw.js +1 -1
- package/package.json +1 -1
- package/dist/chunk-VWBPQZLO.js +0 -7
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,23 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 2.0.138 - 2026-09-06
|
|
4
|
+
|
|
5
|
+
### Features
|
|
6
|
+
|
|
7
|
+
- **Pause button** — pause the next LLM request without aborting the in-flight turn
|
|
8
|
+
- **Resume a paused run from the chat input** — session status shows Pausing…/Paused
|
|
9
|
+
|
|
10
|
+
### Bug Fixes
|
|
11
|
+
|
|
12
|
+
- **Dangerous mode applies immediately** — switching auto-approves every pending path confirmation
|
|
13
|
+
- **Allow Everything clears the whole batch** — sibling tool calls continue without re-prompting
|
|
14
|
+
|
|
15
|
+
## 2.0.137 - 2026-09-03
|
|
16
|
+
|
|
17
|
+
### Bug Fixes
|
|
18
|
+
|
|
19
|
+
- **Image descriptions survive reloads** — vision details no longer drop from tool results after a page reload
|
|
20
|
+
|
|
3
21
|
## 2.0.136 - 2026-09-02
|
|
4
22
|
|
|
5
23
|
### Features
|
package/dist/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,23 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 2.0.138 - 2026-09-06
|
|
4
|
+
|
|
5
|
+
### Features
|
|
6
|
+
|
|
7
|
+
- **Pause button** — pause the next LLM request without aborting the in-flight turn
|
|
8
|
+
- **Resume a paused run from the chat input** — session status shows Pausing…/Paused
|
|
9
|
+
|
|
10
|
+
### Bug Fixes
|
|
11
|
+
|
|
12
|
+
- **Dangerous mode applies immediately** — switching auto-approves every pending path confirmation
|
|
13
|
+
- **Allow Everything clears the whole batch** — sibling tool calls continue without re-prompting
|
|
14
|
+
|
|
15
|
+
## 2.0.137 - 2026-09-03
|
|
16
|
+
|
|
17
|
+
### Bug Fixes
|
|
18
|
+
|
|
19
|
+
- **Image descriptions survive reloads** — vision details no longer drop from tool results after a page reload
|
|
20
|
+
|
|
3
21
|
## 2.0.136 - 2026-09-02
|
|
4
22
|
|
|
5
23
|
### Features
|
|
@@ -2,18 +2,18 @@ import {
|
|
|
2
2
|
buildRunChatTurnParams,
|
|
3
3
|
finalizeTurnCompletion,
|
|
4
4
|
generateSessionNameForSession
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-XS2QQERB.js";
|
|
6
6
|
import {
|
|
7
7
|
runChatTurn
|
|
8
|
-
} from "./chunk-
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
8
|
+
} from "./chunk-2Q4THMD7.js";
|
|
9
|
+
import "./chunk-BENMBAU2.js";
|
|
10
|
+
import "./chunk-N3PANDLT.js";
|
|
11
11
|
import "./chunk-Q33DL67W.js";
|
|
12
12
|
import "./chunk-XE6UC5Z3.js";
|
|
13
13
|
import "./chunk-J7GAZGZT.js";
|
|
14
14
|
import "./chunk-QBWJCO5K.js";
|
|
15
15
|
import "./chunk-DG2YSWMC.js";
|
|
16
|
-
import "./chunk-
|
|
16
|
+
import "./chunk-76C2PVOC.js";
|
|
17
17
|
import "./chunk-4SBVW4UH.js";
|
|
18
18
|
import "./chunk-HEYU7FAY.js";
|
|
19
19
|
import "./chunk-4LLGI372.js";
|
|
@@ -23,11 +23,11 @@ import "./chunk-I72ACQ6R.js";
|
|
|
23
23
|
import "./chunk-VIJVLLPT.js";
|
|
24
24
|
import "./chunk-OAN4BXEW.js";
|
|
25
25
|
import "./chunk-V5AC2TV7.js";
|
|
26
|
-
import "./chunk-
|
|
26
|
+
import "./chunk-DBCWILV3.js";
|
|
27
27
|
import {
|
|
28
28
|
getEventStore
|
|
29
|
-
} from "./chunk-
|
|
30
|
-
import "./chunk-
|
|
29
|
+
} from "./chunk-2OO46UAW.js";
|
|
30
|
+
import "./chunk-MMGHIPBU.js";
|
|
31
31
|
import "./chunk-X4PVR6AW.js";
|
|
32
32
|
import "./chunk-BHVR2YS5.js";
|
|
33
33
|
import "./chunk-OSXPQSLW.js";
|
|
@@ -35,7 +35,7 @@ import {
|
|
|
35
35
|
createChatMessageMessage,
|
|
36
36
|
createPhaseChangedMessage,
|
|
37
37
|
createSessionRunningMessage
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-OVAHNEFG.js";
|
|
39
39
|
import "./chunk-LCLH6ZUL.js";
|
|
40
40
|
import "./chunk-MOYWDP73.js";
|
|
41
41
|
import "./chunk-G5GUQKLS.js";
|
|
@@ -54,7 +54,7 @@ import "./chunk-QUAEH3MP.js";
|
|
|
54
54
|
import "./chunk-JU757HVI.js";
|
|
55
55
|
import "./chunk-VKMPR25F.js";
|
|
56
56
|
import "./chunk-K44MW7JJ.js";
|
|
57
|
-
import "./chunk-
|
|
57
|
+
import "./chunk-PW5L4WBG.js";
|
|
58
58
|
import "./chunk-24YKXKCG.js";
|
|
59
59
|
import "./chunk-R5FAEKXQ.js";
|
|
60
60
|
import "./chunk-CQGTEGKL.js";
|
|
@@ -173,10 +173,11 @@ function stopSessionExecution(sessionId, sessionManager) {
|
|
|
173
173
|
activeAgents.delete(sessionId);
|
|
174
174
|
controller.abort();
|
|
175
175
|
}
|
|
176
|
+
sessionManager.clearPauseState(sessionId);
|
|
176
177
|
sessionManager.setRunning(sessionId, false);
|
|
177
178
|
}
|
|
178
179
|
export {
|
|
179
180
|
startChatSession,
|
|
180
181
|
stopSessionExecution
|
|
181
182
|
};
|
|
182
|
-
//# sourceMappingURL=chat-handler-
|
|
183
|
+
//# sourceMappingURL=chat-handler-AUB5HDQD.js.map
|
|
@@ -2,21 +2,21 @@ import {
|
|
|
2
2
|
generateSessionNameForSession,
|
|
3
3
|
getSessionMessageCount,
|
|
4
4
|
needsNameGeneration
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-XS2QQERB.js";
|
|
6
6
|
import {
|
|
7
7
|
launchWorkflowRun
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-5CZPHAHN.js";
|
|
9
9
|
import {
|
|
10
10
|
runChatTurn
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-2Q4THMD7.js";
|
|
12
12
|
import {
|
|
13
13
|
applyDynamicContext,
|
|
14
14
|
computeSessionHash,
|
|
15
15
|
computeUnifiedDiff
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-BENMBAU2.js";
|
|
17
17
|
import {
|
|
18
18
|
devServerManager
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-N3PANDLT.js";
|
|
20
20
|
import {
|
|
21
21
|
gitSpawnEnv
|
|
22
22
|
} from "./chunk-J7GAZGZT.js";
|
|
@@ -25,7 +25,7 @@ import {
|
|
|
25
25
|
} from "./chunk-4SBVW4UH.js";
|
|
26
26
|
import {
|
|
27
27
|
appendCompactionPrompt
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-U7XCK7WL.js";
|
|
29
29
|
import {
|
|
30
30
|
hasRecentLLMFailure,
|
|
31
31
|
interruptLLMRetryWait
|
|
@@ -43,11 +43,11 @@ import {
|
|
|
43
43
|
import {
|
|
44
44
|
combineEventsWithSnapshot,
|
|
45
45
|
getEventStore
|
|
46
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-2OO46UAW.js";
|
|
47
47
|
import {
|
|
48
48
|
buildMessagesFromStoredEvents,
|
|
49
49
|
foldPendingConfirmations
|
|
50
|
-
} from "./chunk-
|
|
50
|
+
} from "./chunk-MMGHIPBU.js";
|
|
51
51
|
import {
|
|
52
52
|
getRuntimeConfig
|
|
53
53
|
} from "./chunk-BHVR2YS5.js";
|
|
@@ -58,6 +58,7 @@ import {
|
|
|
58
58
|
createErrorMessage,
|
|
59
59
|
createGitStatusMessage,
|
|
60
60
|
createQueueStateMessage,
|
|
61
|
+
createSessionPauseMessage,
|
|
61
62
|
createSessionRunningMessage,
|
|
62
63
|
createSessionStateMessage,
|
|
63
64
|
isAskAnswerPayload,
|
|
@@ -65,7 +66,7 @@ import {
|
|
|
65
66
|
parseClientMessage,
|
|
66
67
|
serializeServerMessage,
|
|
67
68
|
storedEventToServerMessage
|
|
68
|
-
} from "./chunk-
|
|
69
|
+
} from "./chunk-OVAHNEFG.js";
|
|
69
70
|
import {
|
|
70
71
|
getPlatformShell
|
|
71
72
|
} from "./chunk-MOYWDP73.js";
|
|
@@ -77,7 +78,7 @@ import {
|
|
|
77
78
|
} from "./chunk-K44MW7JJ.js";
|
|
78
79
|
import {
|
|
79
80
|
createServerMessage
|
|
80
|
-
} from "./chunk-
|
|
81
|
+
} from "./chunk-PW5L4WBG.js";
|
|
81
82
|
|
|
82
83
|
// src/server/ws/server.ts
|
|
83
84
|
import { WebSocketServer, WebSocket as WebSocket2 } from "ws";
|
|
@@ -924,6 +925,10 @@ function createWebSocketServer(httpServer, _config, getLLMClient, getActiveProvi
|
|
|
924
925
|
);
|
|
925
926
|
});
|
|
926
927
|
sessionManager.subscribe((event) => {
|
|
928
|
+
if (event.type === "pause_changed") {
|
|
929
|
+
broadcastForSession(event.sessionId, createSessionPauseMessage(event.pauseState));
|
|
930
|
+
return;
|
|
931
|
+
}
|
|
927
932
|
if (event.type === "session_updated") {
|
|
928
933
|
const updatedSession = event.session;
|
|
929
934
|
const eventStore = getEventStore();
|
|
@@ -1104,6 +1109,7 @@ function createWebSocketServer(httpServer, _config, getLLMClient, getActiveProvi
|
|
|
1104
1109
|
wss,
|
|
1105
1110
|
abortSession: (sessionId) => {
|
|
1106
1111
|
abortedSessions.add(sessionId);
|
|
1112
|
+
sessionManager.clearPauseState(sessionId);
|
|
1107
1113
|
const controller = activeAgents.get(sessionId);
|
|
1108
1114
|
if (controller) {
|
|
1109
1115
|
activeAgents.delete(sessionId);
|
|
@@ -1344,7 +1350,7 @@ async function handleClientMessage(ws, client, message, _getLLMClient, _getActiv
|
|
|
1344
1350
|
}
|
|
1345
1351
|
const session = sessionManager.requireSession(sessionId);
|
|
1346
1352
|
try {
|
|
1347
|
-
const { buildCachedPrompt, computePreviewToolDiff } = await import("./dynamic-context-
|
|
1353
|
+
const { buildCachedPrompt, computePreviewToolDiff } = await import("./dynamic-context-SKHOUP4T.js");
|
|
1348
1354
|
const allAgents = await import("./registry-FMDMGIUB.js");
|
|
1349
1355
|
const agentDef = allAgents.findAgentById(session.mode, await allAgents.loadAllAgentsDefault()) ?? allAgents.findAgentById("planner", await allAgents.loadAllAgentsDefault());
|
|
1350
1356
|
const modelName = session.providerModel ?? _providerManager?.getCurrentModel();
|
|
@@ -1356,7 +1362,7 @@ async function handleClientMessage(ws, client, message, _getLLMClient, _getActiv
|
|
|
1356
1362
|
const oldCached = sessionManager.getCachedPrompt(sessionId);
|
|
1357
1363
|
const oldPrompt = oldCached?.systemPrompt;
|
|
1358
1364
|
const diff = oldPrompt ? computeUnifiedDiff(oldPrompt, newPrompt) : [];
|
|
1359
|
-
const { getToolRegistryForAgent } = await import("./tools-
|
|
1365
|
+
const { getToolRegistryForAgent } = await import("./tools-NIPKV4YY.js");
|
|
1360
1366
|
const unfilteredTools = getToolRegistryForAgent(agentDef).definitions;
|
|
1361
1367
|
const toolDiff = computePreviewToolDiff(oldCached?.tools, unfilteredTools, newTools);
|
|
1362
1368
|
send({
|
|
@@ -1729,4 +1735,4 @@ export {
|
|
|
1729
1735
|
signalMcpReady,
|
|
1730
1736
|
createWebSocketServer
|
|
1731
1737
|
};
|
|
1732
|
-
//# sourceMappingURL=chunk-
|
|
1738
|
+
//# sourceMappingURL=chunk-2KCREKHC.js.map
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
foldSessionState,
|
|
7
7
|
spreadOptionalMessageFields,
|
|
8
8
|
trimSnapshotStreamingOutput
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-MMGHIPBU.js";
|
|
10
10
|
import {
|
|
11
11
|
updateSessionMessageCount
|
|
12
12
|
} from "./chunk-X4PVR6AW.js";
|
|
@@ -1489,4 +1489,4 @@ export {
|
|
|
1489
1489
|
truncateSessionMessages,
|
|
1490
1490
|
getRecentUserPromptsForSession
|
|
1491
1491
|
};
|
|
1492
|
-
//# sourceMappingURL=chunk-
|
|
1492
|
+
//# sourceMappingURL=chunk-2OO46UAW.js.map
|
|
@@ -3,14 +3,14 @@ import {
|
|
|
3
3
|
checkToolChangesAndInject,
|
|
4
4
|
computeDynamicContextHash,
|
|
5
5
|
getToolFingerprint
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-BENMBAU2.js";
|
|
7
7
|
import {
|
|
8
8
|
createAssemblyResult,
|
|
9
9
|
getConversationMessages,
|
|
10
10
|
getToolRegistryForAgent,
|
|
11
11
|
processEventsForConversation,
|
|
12
12
|
runTopLevelAgentLoop
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-N3PANDLT.js";
|
|
14
14
|
import {
|
|
15
15
|
getAllInstructions,
|
|
16
16
|
getEnabledSkillMetadata
|
|
@@ -30,15 +30,15 @@ import {
|
|
|
30
30
|
} from "./chunk-4LLGI372.js";
|
|
31
31
|
import {
|
|
32
32
|
PathAccessDeniedError
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-DBCWILV3.js";
|
|
34
34
|
import {
|
|
35
35
|
getCurrentContextWindowId,
|
|
36
36
|
getCurrentWindowMessageOptions,
|
|
37
37
|
getEventStore
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-2OO46UAW.js";
|
|
39
39
|
import {
|
|
40
40
|
buildSnapshotFromSessionState
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-MMGHIPBU.js";
|
|
42
42
|
import {
|
|
43
43
|
findAgentById,
|
|
44
44
|
getRuntimeConfig,
|
|
@@ -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-
|
|
358
|
+
const { applyDynamicContext } = await import("./dynamic-context-SKHOUP4T.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-
|
|
388
|
+
//# sourceMappingURL=chunk-2Q4THMD7.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
runAgentTurn
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-2Q4THMD7.js";
|
|
4
4
|
import {
|
|
5
5
|
executeSubAgent,
|
|
6
6
|
getToolRegistryForAgent
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-N3PANDLT.js";
|
|
8
8
|
import {
|
|
9
9
|
gitSpawnEnv
|
|
10
10
|
} from "./chunk-J7GAZGZT.js";
|
|
@@ -34,7 +34,7 @@ import {
|
|
|
34
34
|
import {
|
|
35
35
|
getCurrentContextWindowId,
|
|
36
36
|
getEventStore
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-2OO46UAW.js";
|
|
38
38
|
import {
|
|
39
39
|
findAgentById,
|
|
40
40
|
getRuntimeConfig,
|
|
@@ -44,7 +44,7 @@ import {
|
|
|
44
44
|
import {
|
|
45
45
|
createChatMessageMessage,
|
|
46
46
|
createSessionRunningMessage
|
|
47
|
-
} from "./chunk-
|
|
47
|
+
} from "./chunk-OVAHNEFG.js";
|
|
48
48
|
import {
|
|
49
49
|
LLMError
|
|
50
50
|
} from "./chunk-N5JKVNLH.js";
|
|
@@ -56,7 +56,7 @@ import {
|
|
|
56
56
|
} from "./chunk-7OHXF5GW.js";
|
|
57
57
|
import {
|
|
58
58
|
createServerMessage
|
|
59
|
-
} from "./chunk-
|
|
59
|
+
} from "./chunk-PW5L4WBG.js";
|
|
60
60
|
import {
|
|
61
61
|
getGlobalConfigDir
|
|
62
62
|
} from "./chunk-CQGTEGKL.js";
|
|
@@ -1023,4 +1023,4 @@ export {
|
|
|
1023
1023
|
abortRunnerRun,
|
|
1024
1024
|
launchWorkflowRun
|
|
1025
1025
|
};
|
|
1026
|
-
//# sourceMappingURL=chunk-
|
|
1026
|
+
//# sourceMappingURL=chunk-5CZPHAHN.js.map
|
|
@@ -8,16 +8,16 @@ import {
|
|
|
8
8
|
PathAccessDeniedError,
|
|
9
9
|
registerPathConfirmation,
|
|
10
10
|
requestPathAccess
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-DBCWILV3.js";
|
|
12
12
|
import {
|
|
13
13
|
getEventStore
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-2OO46UAW.js";
|
|
15
15
|
import {
|
|
16
16
|
getRuntimeConfig
|
|
17
17
|
} from "./chunk-BHVR2YS5.js";
|
|
18
18
|
import {
|
|
19
19
|
createChatPathConfirmationMessage
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-OVAHNEFG.js";
|
|
21
21
|
import {
|
|
22
22
|
modelSupportsVision
|
|
23
23
|
} from "./chunk-TS5WKTFB.js";
|
|
@@ -1152,4 +1152,4 @@ export {
|
|
|
1152
1152
|
isDescribeImageEligible,
|
|
1153
1153
|
describeImageTool
|
|
1154
1154
|
};
|
|
1155
|
-
//# sourceMappingURL=chunk-
|
|
1155
|
+
//# sourceMappingURL=chunk-76C2PVOC.js.map
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
import {
|
|
9
9
|
getCurrentContextWindowId,
|
|
10
10
|
getEventStore
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-2OO46UAW.js";
|
|
12
12
|
import {
|
|
13
13
|
findAgentById,
|
|
14
14
|
getRuntimeConfig,
|
|
@@ -327,8 +327,8 @@ function resolveAgentDef(sessionManager, sessionId) {
|
|
|
327
327
|
});
|
|
328
328
|
}
|
|
329
329
|
async function getEffectiveToolDefinitions(agentDef, sessionId, modelName) {
|
|
330
|
-
const { getToolRegistryForAgent } = await import("./tools-
|
|
331
|
-
const { isDescribeImageEligible } = await import("./describe-image-
|
|
330
|
+
const { getToolRegistryForAgent } = await import("./tools-NIPKV4YY.js");
|
|
331
|
+
const { isDescribeImageEligible } = await import("./describe-image-AU6KBSWA.js");
|
|
332
332
|
const all = getToolRegistryForAgent(agentDef, sessionId).definitions;
|
|
333
333
|
const eligible = await isDescribeImageEligible(modelName);
|
|
334
334
|
if (eligible) return all;
|
|
@@ -396,4 +396,4 @@ export {
|
|
|
396
396
|
computeSessionHash,
|
|
397
397
|
applyDynamicContext
|
|
398
398
|
};
|
|
399
|
-
//# sourceMappingURL=chunk-
|
|
399
|
+
//# sourceMappingURL=chunk-BENMBAU2.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getEventStore
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-2OO46UAW.js";
|
|
4
4
|
import {
|
|
5
5
|
createChatPathConfirmationMessage
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-OVAHNEFG.js";
|
|
7
7
|
import {
|
|
8
8
|
getPlatformShell
|
|
9
9
|
} from "./chunk-MOYWDP73.js";
|
|
@@ -889,6 +889,23 @@ function cancelPathConfirmationsForSession(sessionId, reason) {
|
|
|
889
889
|
}
|
|
890
890
|
return cancelledCount;
|
|
891
891
|
}
|
|
892
|
+
function autoApprovePendingConfirmationsForSession(sessionId) {
|
|
893
|
+
const resolvedCallIds = [];
|
|
894
|
+
for (const callId of [...pendingConfirmations.keys()]) {
|
|
895
|
+
const pending = pendingConfirmations.get(callId);
|
|
896
|
+
if (!pending || pending.sessionId !== sessionId) {
|
|
897
|
+
continue;
|
|
898
|
+
}
|
|
899
|
+
if (pending.reason === "git_no_verify") {
|
|
900
|
+
continue;
|
|
901
|
+
}
|
|
902
|
+
const result = providePathConfirmation(callId, true, false);
|
|
903
|
+
if (result.found) {
|
|
904
|
+
resolvedCallIds.push(callId);
|
|
905
|
+
}
|
|
906
|
+
}
|
|
907
|
+
return resolvedCallIds;
|
|
908
|
+
}
|
|
892
909
|
function hasPendingPathConfirmation(callId) {
|
|
893
910
|
return pendingConfirmations.has(callId);
|
|
894
911
|
}
|
|
@@ -934,8 +951,9 @@ export {
|
|
|
934
951
|
providePathConfirmation,
|
|
935
952
|
cancelPathConfirmation,
|
|
936
953
|
cancelPathConfirmationsForSession,
|
|
954
|
+
autoApprovePendingConfirmationsForSession,
|
|
937
955
|
hasPendingPathConfirmation,
|
|
938
956
|
getConfirmationSessionId,
|
|
939
957
|
getPendingConfirmationsBySession
|
|
940
958
|
};
|
|
941
|
-
//# sourceMappingURL=chunk-
|
|
959
|
+
//# sourceMappingURL=chunk-DBCWILV3.js.map
|