openfox 2.0.93 → 2.0.95
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 +25 -0
- package/dist/CHANGELOG.md +25 -0
- package/dist/{chat-handler-MSQFJH7S.js → chat-handler-5FV3TGQD.js} +22 -22
- package/dist/{chunk-IAAHDCJN.js → chunk-27SDWNKL.js} +8 -5
- package/dist/{chunk-TQATAKVV.js → chunk-4R7G5JB6.js} +1 -1
- package/dist/{chunk-3NGD6IVM.js → chunk-5N5JXT7R.js} +3 -3
- package/dist/{chunk-NV63HYNR.js → chunk-5UFTFBNW.js} +8 -8
- package/dist/{chunk-BJHPUMRX.js → chunk-62X2MPO6.js} +2 -2
- package/dist/{chunk-FK6R2YTQ.js → chunk-6RHMIMID.js} +17 -17
- package/dist/{chunk-PYJ2SRVC.js → chunk-7P7OKBYQ.js} +20 -4
- package/dist/{chunk-GAIAJDPH.js → chunk-D6T3X22W.js} +149 -52
- package/dist/{chunk-6OAJNCRY.js → chunk-GLF65XDS.js} +22 -1
- package/dist/{chunk-U7D72C4O.js → chunk-HAFRPV7I.js} +13 -3
- package/dist/{chunk-AA4PXMSI.js → chunk-KG2PJVOE.js} +253 -95
- package/dist/{chunk-NW2KP7PE.js → chunk-MB7STVMR.js} +6 -6
- package/dist/{chunk-SXHGRPCI.js → chunk-MC3MCMAF.js} +4 -4
- package/dist/{chunk-U2RSFH6A.js → chunk-MRWR3SIT.js} +2 -2
- package/dist/{chunk-WWC3R3YL.js → chunk-NLN5LPQ4.js} +2 -2
- package/dist/{chunk-NGN3Q26A.js → chunk-OHBY2673.js} +2 -2
- package/dist/{chunk-RJQDC2OO.js → chunk-OZD247P4.js} +10 -10
- package/dist/{chunk-3QQKKZMF.js → chunk-P637C6X3.js} +2 -2
- package/dist/{chunk-C56Z4OVW.js → chunk-SJJVNSA6.js} +2 -2
- package/dist/{chunk-7YBGCZSI.js → chunk-TDHDLDGQ.js} +10 -20
- package/dist/{chunk-6J5IZ2NL.js → chunk-TSHJW7OC.js} +37 -6
- package/dist/{chunk-54Q4TGG6.js → chunk-UEOEA6BB.js} +2 -2
- package/dist/chunk-VKU7YBLH.js +7 -0
- package/dist/{chunk-ESJNJ5B6.js → chunk-W7P5P54O.js} +3 -3
- package/dist/{chunk-ST4NYXLH.js → chunk-WWFH5GAR.js} +2 -2
- package/dist/{chunk-YM267G4F.js → chunk-YCPUV7AR.js} +4 -4
- package/dist/{chunk-GH5PL3JW.js → chunk-YPBV47DH.js} +6 -9
- package/dist/{chunk-DH32AHTL.js → chunk-ZASSAZ73.js} +2 -2
- package/dist/{chunk-AQ4KCGXL.js → chunk-ZMSHE564.js} +3 -3
- package/dist/cli/dev.js +1 -1
- package/dist/cli/index.js +1 -1
- package/dist/{client-RBXMHFX3.js → client-RENSCJPZ.js} +5 -5
- package/dist/{compactor-R7GGPBPR.js → compactor-3RXIAIPR.js} +10 -10
- package/dist/{dynamic-context-4UPNVL3N.js → dynamic-context-CJFDFUJF.js} +9 -9
- package/dist/{events-D5AFN2CW.js → events-QHZDLHEB.js} +9 -7
- package/dist/{folding-BO6Z6HMP.js → folding-O4OYOTPS.js} +5 -5
- package/dist/http-client-U6DVFL7F.js +11 -0
- package/dist/{inspect-proxy-NZ3VSMSC.js → inspect-proxy-GF6OI7MR.js} +4 -4
- package/dist/{manager-ZPQ6VSM5.js → manager-53J5P4EZ.js} +5 -5
- package/dist/{orchestrator-YQI2D4LW.js → orchestrator-LDVMBC23.js} +21 -21
- package/dist/package.json +1 -1
- package/dist/{path-security-DP75YZK5.js → path-security-72KGHGSV.js} +10 -10
- package/dist/{platform-UKZ2QC34.js → platform-7KXP3VVA.js} +4 -4
- package/dist/{processor-LVQWRG6M.js → processor-32QUVPV6.js} +21 -21
- package/dist/{project-creator-2WMZYQME.js → project-creator-SMWFMIU5.js} +3 -3
- package/dist/{projects-N6KVZGMS.js → projects-M5XKC7O6.js} +3 -3
- package/dist/{protocol-8BzyapcK.d.ts → protocol-C5ROb3nH.d.ts} +5 -4
- package/dist/{protocol-4ZDERZNC.js → protocol-YDNGGADL.js} +3 -3
- package/dist/provider/index.d.ts +4 -4
- package/dist/{provider-SYYZI2KX.js → provider-A74GHQUO.js} +6 -6
- package/dist/{provider-manager-P3ZSA5QS.js → provider-manager-PBOF77RQ.js} +6 -6
- package/dist/{registry-ERUV33AP.js → registry-XBEHPY7C.js} +4 -4
- package/dist/{serve-HEHWSYMX.js → serve-GL5WUPRP.js} +29 -29
- package/dist/server/index.d.ts +39 -3
- package/dist/server/index.js +28 -28
- package/dist/server-OYVGQU7O.js +46 -0
- package/dist/{session-overrides-NPVYNHTM.js → session-overrides-QWD4V5KW.js} +6 -6
- package/dist/{sessions-7KCM5QH4.js → sessions-BT4PION7.js} +15 -7
- package/dist/{settings-2OVKFWR5.js → settings-2WVGUPYV.js} +3 -3
- package/dist/shared/index.d.ts +3 -3
- package/dist/shared/index.js +1 -1
- package/dist/{tools-HDD7RHEG.js → tools-UTA3TV7P.js} +19 -19
- package/dist/{types-_OEK96iM.d.ts → types-D-dEQIrh.d.ts} +1 -1
- package/dist/{types-Ci7Tdpq3.d.ts → types-DHxO1nqw.d.ts} +17 -1
- package/dist/{update-JARYMNGH.js → update-VUTN743C.js} +2 -2
- package/dist/web/assets/{index-DxTIqntH.js → index-BUiw9fSe.js} +22 -22
- package/dist/web/assets/{index-B3lfsL1_.css → index-BlV1FebL.css} +1 -1
- package/dist/web/index.html +2 -2
- package/dist/web/sw.js +1 -1
- package/dist/{workspace-YLTMP3OX.js → workspace-IIRKILYL.js} +4 -4
- package/package.json +1 -1
- package/dist/chunk-LVZ6VQ3K.js +0 -7
- package/dist/http-client-E3CV6E5D.js +0 -11
- package/dist/server-AAIYC4BH.js +0 -46
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,30 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 2.0.95 - 2026-07-26
|
|
4
|
+
|
|
5
|
+
### Features
|
|
6
|
+
|
|
7
|
+
- **All network requests route through configured HTTP proxy** — OpenFox now respects proxy settings for all outbound connections, with `HTTP_PROXY`/`HTTPS_PROXY` inherited by shell processes and a connectivity test button in Advanced settings.
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
- **Aborting a workflow no longer cancels it** — hitting Escape during a workflow step stops the agent but preserves the execution; typing a message auto-resumes the workflow in the same step without re-injecting the prompt.
|
|
12
|
+
- **Workflows can resume from any step type** — the previous restriction limiting resume to `user` steps has been removed, enabling recovery from aborted agent and shell steps.
|
|
13
|
+
- **Proxy connections accept self-signed certificates** — the proxy agent now sets `rejectUnauthorized: false` for HTTPS targets behind TLS-intercepting proxies.
|
|
14
|
+
|
|
15
|
+
## 2.0.94 - 2026-07-26
|
|
16
|
+
|
|
17
|
+
### Features
|
|
18
|
+
|
|
19
|
+
- **WorkflowBar shows persistent workflow status** — a new bar above the chat input displays the current workflow name, active step, and an Exit button. Survives page refresh and server restarts thanks to DB-backed workflow state.
|
|
20
|
+
|
|
21
|
+
### Bug Fixes
|
|
22
|
+
|
|
23
|
+
- **Workflow template parameters survive pause/resume** — params like `{{featureName}}` are now persisted across user-step pauses and correctly restored on continue.
|
|
24
|
+
- **Continue button reappears after page refresh** — the workflow waiting state is loaded from the server on session reload, so the button is always visible when a workflow is paused.
|
|
25
|
+
- **Launching a new workflow cancels the previous one** — if a workflow is already waiting, starting another automatically exits the old one first.
|
|
26
|
+
- **MCP server changes no longer bump session timestamps** — modifying MCP overrides in settings no longer pushes the session to the top of the list.
|
|
27
|
+
|
|
3
28
|
## 2.0.93 - 2026-07-26
|
|
4
29
|
|
|
5
30
|
### Features
|
package/dist/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,30 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 2.0.95 - 2026-07-26
|
|
4
|
+
|
|
5
|
+
### Features
|
|
6
|
+
|
|
7
|
+
- **All network requests route through configured HTTP proxy** — OpenFox now respects proxy settings for all outbound connections, with `HTTP_PROXY`/`HTTPS_PROXY` inherited by shell processes and a connectivity test button in Advanced settings.
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
- **Aborting a workflow no longer cancels it** — hitting Escape during a workflow step stops the agent but preserves the execution; typing a message auto-resumes the workflow in the same step without re-injecting the prompt.
|
|
12
|
+
- **Workflows can resume from any step type** — the previous restriction limiting resume to `user` steps has been removed, enabling recovery from aborted agent and shell steps.
|
|
13
|
+
- **Proxy connections accept self-signed certificates** — the proxy agent now sets `rejectUnauthorized: false` for HTTPS targets behind TLS-intercepting proxies.
|
|
14
|
+
|
|
15
|
+
## 2.0.94 - 2026-07-26
|
|
16
|
+
|
|
17
|
+
### Features
|
|
18
|
+
|
|
19
|
+
- **WorkflowBar shows persistent workflow status** — a new bar above the chat input displays the current workflow name, active step, and an Exit button. Survives page refresh and server restarts thanks to DB-backed workflow state.
|
|
20
|
+
|
|
21
|
+
### Bug Fixes
|
|
22
|
+
|
|
23
|
+
- **Workflow template parameters survive pause/resume** — params like `{{featureName}}` are now persisted across user-step pauses and correctly restored on continue.
|
|
24
|
+
- **Continue button reappears after page refresh** — the workflow waiting state is loaded from the server on session reload, so the button is always visible when a workflow is paused.
|
|
25
|
+
- **Launching a new workflow cancels the previous one** — if a workflow is already waiting, starting another automatically exits the old one first.
|
|
26
|
+
- **MCP server changes no longer bump session timestamps** — modifying MCP overrides in settings no longer pushes the session to the top of the list.
|
|
27
|
+
|
|
3
28
|
## 2.0.93 - 2026-07-26
|
|
4
29
|
|
|
5
30
|
### Features
|
|
@@ -1,47 +1,47 @@
|
|
|
1
1
|
import {
|
|
2
2
|
runChatTurn
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-OZD247P4.js";
|
|
4
4
|
import {
|
|
5
5
|
buildRunChatTurnParams,
|
|
6
6
|
finalizeTurnCompletion,
|
|
7
7
|
generateSessionNameForSession
|
|
8
|
-
} from "./chunk-
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
8
|
+
} from "./chunk-5UFTFBNW.js";
|
|
9
|
+
import "./chunk-6RHMIMID.js";
|
|
10
|
+
import "./chunk-ZASSAZ73.js";
|
|
11
|
+
import "./chunk-HAFRPV7I.js";
|
|
12
12
|
import "./chunk-I72ACQ6R.js";
|
|
13
13
|
import "./chunk-NWO6GRYE.js";
|
|
14
14
|
import "./chunk-VKWVPQJ5.js";
|
|
15
|
-
import "./chunk-
|
|
15
|
+
import "./chunk-62X2MPO6.js";
|
|
16
16
|
import "./chunk-J7GAZGZT.js";
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-
|
|
17
|
+
import "./chunk-MB7STVMR.js";
|
|
18
|
+
import "./chunk-MC3MCMAF.js";
|
|
19
|
+
import "./chunk-5N5JXT7R.js";
|
|
20
|
+
import "./chunk-ZMSHE564.js";
|
|
21
21
|
import {
|
|
22
22
|
createChatMessageMessage,
|
|
23
23
|
createPhaseChangedMessage,
|
|
24
24
|
createSessionRunningMessage
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-27SDWNKL.js";
|
|
26
26
|
import "./chunk-EU3WWTFH.js";
|
|
27
|
-
import "./chunk-
|
|
27
|
+
import "./chunk-WWFH5GAR.js";
|
|
28
28
|
import "./chunk-K2O7JTCX.js";
|
|
29
|
-
import "./chunk-
|
|
29
|
+
import "./chunk-MRWR3SIT.js";
|
|
30
30
|
import {
|
|
31
31
|
getEventStore
|
|
32
|
-
} from "./chunk-
|
|
33
|
-
import "./chunk-
|
|
34
|
-
import "./chunk-
|
|
35
|
-
import "./chunk-
|
|
36
|
-
import "./chunk-
|
|
32
|
+
} from "./chunk-7P7OKBYQ.js";
|
|
33
|
+
import "./chunk-NLN5LPQ4.js";
|
|
34
|
+
import "./chunk-P637C6X3.js";
|
|
35
|
+
import "./chunk-TSHJW7OC.js";
|
|
36
|
+
import "./chunk-OHBY2673.js";
|
|
37
37
|
import "./chunk-J2GP3J3X.js";
|
|
38
38
|
import "./chunk-V4IE7HJY.js";
|
|
39
39
|
import "./chunk-YHEQTVFV.js";
|
|
40
40
|
import "./chunk-RMXPVQP4.js";
|
|
41
|
-
import "./chunk-
|
|
42
|
-
import "./chunk-
|
|
41
|
+
import "./chunk-UEOEA6BB.js";
|
|
42
|
+
import "./chunk-GLF65XDS.js";
|
|
43
43
|
import "./chunk-K44MW7JJ.js";
|
|
44
|
-
import "./chunk-
|
|
44
|
+
import "./chunk-4R7G5JB6.js";
|
|
45
45
|
import "./chunk-OQTLFO4R.js";
|
|
46
46
|
import "./chunk-CQGTEGKL.js";
|
|
47
47
|
import "./chunk-5WRI5ZAA.js";
|
|
@@ -165,4 +165,4 @@ export {
|
|
|
165
165
|
startChatSession,
|
|
166
166
|
stopSessionExecution
|
|
167
167
|
};
|
|
168
|
-
//# sourceMappingURL=chat-handler-
|
|
168
|
+
//# sourceMappingURL=chat-handler-5FV3TGQD.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createServerMessage,
|
|
3
3
|
isClientMessage
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-4R7G5JB6.js";
|
|
5
5
|
|
|
6
6
|
// src/server/ws/protocol.ts
|
|
7
7
|
function enrichMessagesWithToolResults(messages) {
|
|
@@ -43,7 +43,7 @@ function serializeServerMessage(message) {
|
|
|
43
43
|
function createErrorMessage(code, message, correlationId) {
|
|
44
44
|
return createServerMessage("error", { code, message }, correlationId);
|
|
45
45
|
}
|
|
46
|
-
function createSessionStateMessage(session, messages, pendingConfirmations = [], pendingQuestions, gitStatus, correlationId, hiddenCount,
|
|
46
|
+
function createSessionStateMessage(session, messages, pendingConfirmations = [], pendingQuestions, gitStatus, correlationId, hiddenCount, activeWorkflowExecution) {
|
|
47
47
|
const enrichedMessages = enrichMessagesWithToolResults(messages);
|
|
48
48
|
return createServerMessage(
|
|
49
49
|
"session.state",
|
|
@@ -54,7 +54,7 @@ function createSessionStateMessage(session, messages, pendingConfirmations = [],
|
|
|
54
54
|
...pendingQuestions ? { pendingQuestions } : {},
|
|
55
55
|
...gitStatus ? { gitStatus } : {},
|
|
56
56
|
...hiddenCount !== void 0 ? { hiddenCount } : {},
|
|
57
|
-
...
|
|
57
|
+
...activeWorkflowExecution !== void 0 && activeWorkflowExecution !== null ? { activeWorkflowExecution } : {}
|
|
58
58
|
},
|
|
59
59
|
correlationId
|
|
60
60
|
);
|
|
@@ -242,8 +242,11 @@ function storedEventToServerMessage(event) {
|
|
|
242
242
|
return createServerMessage("task.completed", data);
|
|
243
243
|
}
|
|
244
244
|
case "workflow.waiting": {
|
|
245
|
+
return null;
|
|
246
|
+
}
|
|
247
|
+
case "workflow.execution_changed": {
|
|
245
248
|
const data = event.data;
|
|
246
|
-
return createServerMessage("workflow.
|
|
249
|
+
return createServerMessage("workflow.execution_changed", data);
|
|
247
250
|
}
|
|
248
251
|
case "session.initialized": {
|
|
249
252
|
return null;
|
|
@@ -349,4 +352,4 @@ export {
|
|
|
349
352
|
createQueueStateMessage,
|
|
350
353
|
storedEventToServerMessage
|
|
351
354
|
};
|
|
352
|
-
//# sourceMappingURL=chunk-
|
|
355
|
+
//# sourceMappingURL=chunk-27SDWNKL.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
updateSessionMcpDisabledServers
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-TSHJW7OC.js";
|
|
4
4
|
import {
|
|
5
5
|
getDatabase
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-GLF65XDS.js";
|
|
7
7
|
|
|
8
8
|
// src/server/mcp/session-overrides.ts
|
|
9
9
|
var sessionOverrides = /* @__PURE__ */ new Map();
|
|
@@ -62,4 +62,4 @@ export {
|
|
|
62
62
|
clearSessionOverrides,
|
|
63
63
|
getAllSessionOverrides
|
|
64
64
|
};
|
|
65
|
-
//# sourceMappingURL=chunk-
|
|
65
|
+
//# sourceMappingURL=chunk-5N5JXT7R.js.map
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createContextStateMessage,
|
|
3
3
|
createSessionStateMessage
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-27SDWNKL.js";
|
|
5
5
|
import {
|
|
6
6
|
getPendingQuestionsForSession
|
|
7
7
|
} from "./chunk-EU3WWTFH.js";
|
|
8
8
|
import {
|
|
9
9
|
combineEventsWithSnapshot,
|
|
10
10
|
getEventStore
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-7P7OKBYQ.js";
|
|
12
12
|
import {
|
|
13
13
|
buildMessagesFromStoredEvents,
|
|
14
14
|
foldPendingConfirmations
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-P637C6X3.js";
|
|
16
16
|
import {
|
|
17
17
|
updateSessionMetadata
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-TSHJW7OC.js";
|
|
19
19
|
import {
|
|
20
20
|
getRuntimeConfig
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-OHBY2673.js";
|
|
22
22
|
import {
|
|
23
23
|
getMaxVisibleItems
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-UEOEA6BB.js";
|
|
25
25
|
import {
|
|
26
26
|
logger
|
|
27
27
|
} from "./chunk-K44MW7JJ.js";
|
|
@@ -153,7 +153,7 @@ async function generateSessionNameForSession(sessionId, userMessage, deps, signa
|
|
|
153
153
|
client = deps.getLLMClient();
|
|
154
154
|
client.setModel(providerConfig.model);
|
|
155
155
|
} else if (providerConfig) {
|
|
156
|
-
const { createLLMClient } = await import("./client-
|
|
156
|
+
const { createLLMClient } = await import("./client-RENSCJPZ.js");
|
|
157
157
|
client = createLLMClient({
|
|
158
158
|
llm: {
|
|
159
159
|
baseUrl: providerConfig.baseUrl,
|
|
@@ -204,4 +204,4 @@ export {
|
|
|
204
204
|
needsNameGeneration,
|
|
205
205
|
generateSessionNameForSession
|
|
206
206
|
};
|
|
207
|
-
//# sourceMappingURL=chunk-
|
|
207
|
+
//# sourceMappingURL=chunk-5UFTFBNW.js.map
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
getProjectByWorkdir,
|
|
6
6
|
updateProject
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-WWFH5GAR.js";
|
|
8
8
|
import {
|
|
9
9
|
logger
|
|
10
10
|
} from "./chunk-K44MW7JJ.js";
|
|
@@ -324,4 +324,4 @@ export {
|
|
|
324
324
|
deleteWorkspace,
|
|
325
325
|
isGitRepository
|
|
326
326
|
};
|
|
327
|
-
//# sourceMappingURL=chunk-
|
|
327
|
+
//# sourceMappingURL=chunk-62X2MPO6.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
startInspectProxy
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-ZASSAZ73.js";
|
|
4
4
|
import {
|
|
5
5
|
checkAborted,
|
|
6
6
|
createProcess,
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
spawnShellProcess,
|
|
12
12
|
startProcessCommand,
|
|
13
13
|
stopProcess
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-HAFRPV7I.js";
|
|
15
15
|
import {
|
|
16
16
|
getMaxPerSession,
|
|
17
17
|
getSessionProcessCount,
|
|
@@ -27,31 +27,31 @@ import {
|
|
|
27
27
|
getGitBranch,
|
|
28
28
|
isGitRepository,
|
|
29
29
|
listWorkspaces
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-62X2MPO6.js";
|
|
31
31
|
import {
|
|
32
32
|
findSkillById,
|
|
33
33
|
getAllInstructions,
|
|
34
34
|
getEnabledSkillMetadata,
|
|
35
35
|
isSkillEnabled,
|
|
36
36
|
loadAllSkills
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-MC3MCMAF.js";
|
|
38
38
|
import {
|
|
39
39
|
getSessionDisabledServers
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-5N5JXT7R.js";
|
|
41
41
|
import {
|
|
42
42
|
PathAccessDeniedError,
|
|
43
43
|
extractAbsolutePathsFromCommand,
|
|
44
44
|
extractSensitivePathsFromCommand,
|
|
45
45
|
registerPathConfirmation,
|
|
46
46
|
requestPathAccess
|
|
47
|
-
} from "./chunk-
|
|
47
|
+
} from "./chunk-ZMSHE564.js";
|
|
48
48
|
import {
|
|
49
49
|
createChatDoneMessage,
|
|
50
50
|
createChatMessageMessage,
|
|
51
51
|
createChatMessageUpdatedMessage,
|
|
52
52
|
createChatPathConfirmationMessage,
|
|
53
53
|
createQueueStateMessage
|
|
54
|
-
} from "./chunk-
|
|
54
|
+
} from "./chunk-27SDWNKL.js";
|
|
55
55
|
import {
|
|
56
56
|
AskUserInterrupt,
|
|
57
57
|
askUserTool
|
|
@@ -70,12 +70,12 @@ import {
|
|
|
70
70
|
COMPACTION_PROMPT,
|
|
71
71
|
buildBasePrompt,
|
|
72
72
|
computeEffectiveTools
|
|
73
|
-
} from "./chunk-
|
|
73
|
+
} from "./chunk-MRWR3SIT.js";
|
|
74
74
|
import {
|
|
75
75
|
getCurrentContextWindowId,
|
|
76
76
|
getCurrentWindowMessageOptions,
|
|
77
77
|
getEventStore
|
|
78
|
-
} from "./chunk-
|
|
78
|
+
} from "./chunk-7P7OKBYQ.js";
|
|
79
79
|
import {
|
|
80
80
|
buildContextMessagesFromEventHistory,
|
|
81
81
|
foldContextState,
|
|
@@ -85,13 +85,13 @@ import {
|
|
|
85
85
|
handleToolResult,
|
|
86
86
|
reorderToolMessages,
|
|
87
87
|
stripOrphanedToolCalls
|
|
88
|
-
} from "./chunk-
|
|
88
|
+
} from "./chunk-P637C6X3.js";
|
|
89
89
|
import {
|
|
90
90
|
findAgentById,
|
|
91
91
|
getRuntimeConfig,
|
|
92
92
|
getSubAgents,
|
|
93
93
|
loadAllAgentsDefault
|
|
94
|
-
} from "./chunk-
|
|
94
|
+
} from "./chunk-OHBY2673.js";
|
|
95
95
|
import {
|
|
96
96
|
modelSupportsVision
|
|
97
97
|
} from "./chunk-V4IE7HJY.js";
|
|
@@ -109,7 +109,7 @@ import {
|
|
|
109
109
|
import {
|
|
110
110
|
SETTINGS_KEYS,
|
|
111
111
|
getSetting
|
|
112
|
-
} from "./chunk-
|
|
112
|
+
} from "./chunk-UEOEA6BB.js";
|
|
113
113
|
import {
|
|
114
114
|
logger
|
|
115
115
|
} from "./chunk-K44MW7JJ.js";
|
|
@@ -133,7 +133,7 @@ async function requestUserConfirmation(context, toolLabel, desc) {
|
|
|
133
133
|
if (context.dangerLevel === "dangerous") return Promise.resolve(true);
|
|
134
134
|
if (toolLabel === "workspace" || toolLabel === "command") {
|
|
135
135
|
try {
|
|
136
|
-
const { getSetting: getSetting2, SETTINGS_KEYS: SETTINGS_KEYS2 } = await import("./settings-
|
|
136
|
+
const { getSetting: getSetting2, SETTINGS_KEYS: SETTINGS_KEYS2 } = await import("./settings-2WVGUPYV.js");
|
|
137
137
|
if (getSetting2(SETTINGS_KEYS2.CONFIRM_ON_WORKSPACE_ACTIONS) !== "true") {
|
|
138
138
|
return Promise.resolve(true);
|
|
139
139
|
}
|
|
@@ -1913,7 +1913,7 @@ ${CONTINUE_PROMPT}` : CONTINUE_PROMPT;
|
|
|
1913
1913
|
sessionManager.setCurrentContextSize(sessionId, result.usage.promptTokens, config.subAgentMetadata?.subAgentId);
|
|
1914
1914
|
if (!compacting) {
|
|
1915
1915
|
const contextState2 = sessionManager.getContextState(sessionId);
|
|
1916
|
-
const { shouldCompact, appendCompactionPrompt } = await import("./compactor-
|
|
1916
|
+
const { shouldCompact, appendCompactionPrompt } = await import("./compactor-3RXIAIPR.js");
|
|
1917
1917
|
if (shouldCompact(
|
|
1918
1918
|
contextState2.currentTokens,
|
|
1919
1919
|
contextState2.maxTokens,
|
|
@@ -2852,7 +2852,7 @@ var callSubAgentTool = {
|
|
|
2852
2852
|
};
|
|
2853
2853
|
}
|
|
2854
2854
|
try {
|
|
2855
|
-
const { getToolRegistryForAgent: getToolRegistryForAgent2 } = await import("./tools-
|
|
2855
|
+
const { getToolRegistryForAgent: getToolRegistryForAgent2 } = await import("./tools-UTA3TV7P.js");
|
|
2856
2856
|
const toolRegistry = getToolRegistryForAgent2(agentDef);
|
|
2857
2857
|
const turnMetrics = new TurnMetrics();
|
|
2858
2858
|
const result = await executeSubAgent({
|
|
@@ -3873,7 +3873,7 @@ var mcpConfigTool = createTool(
|
|
|
3873
3873
|
mcpNotifyChanged?.(sessionId);
|
|
3874
3874
|
}
|
|
3875
3875
|
async function rebuildTools() {
|
|
3876
|
-
const { setMcpTools: setMcpTools2 } = await import("./tools-
|
|
3876
|
+
const { setMcpTools: setMcpTools2 } = await import("./tools-UTA3TV7P.js");
|
|
3877
3877
|
const mcpTools = createMcpTools(mcpManagerForTools);
|
|
3878
3878
|
setMcpTools2(mcpTools);
|
|
3879
3879
|
}
|
|
@@ -4519,4 +4519,4 @@ export {
|
|
|
4519
4519
|
getToolRegistryForAgent,
|
|
4520
4520
|
createToolRegistry
|
|
4521
4521
|
};
|
|
4522
|
-
//# sourceMappingURL=chunk-
|
|
4522
|
+
//# sourceMappingURL=chunk-6RHMIMID.js.map
|
|
@@ -5,13 +5,13 @@ import {
|
|
|
5
5
|
foldContextState,
|
|
6
6
|
foldSessionState,
|
|
7
7
|
spreadOptionalMessageFields
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-P637C6X3.js";
|
|
9
9
|
import {
|
|
10
10
|
updateSessionMessageCount
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-TSHJW7OC.js";
|
|
12
12
|
import {
|
|
13
13
|
getRuntimeConfig
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-OHBY2673.js";
|
|
15
15
|
import {
|
|
16
16
|
logger
|
|
17
17
|
} from "./chunk-K44MW7JJ.js";
|
|
@@ -948,6 +948,21 @@ function emitRunningChanged(sessionId, isRunning) {
|
|
|
948
948
|
data: { isRunning }
|
|
949
949
|
});
|
|
950
950
|
}
|
|
951
|
+
function emitWorkflowExecutionChanged(sessionId, executionId, workflowId, workflowName, workflowColor, status, currentStepId, currentStepName) {
|
|
952
|
+
const eventStore = getEventStore();
|
|
953
|
+
eventStore.append(sessionId, {
|
|
954
|
+
type: "workflow.execution_changed",
|
|
955
|
+
data: {
|
|
956
|
+
executionId,
|
|
957
|
+
workflowId,
|
|
958
|
+
workflowName,
|
|
959
|
+
...workflowColor ? { workflowColor } : {},
|
|
960
|
+
status,
|
|
961
|
+
...currentStepId ? { currentStepId } : {},
|
|
962
|
+
...currentStepName ? { currentStepName } : {}
|
|
963
|
+
}
|
|
964
|
+
});
|
|
965
|
+
}
|
|
951
966
|
function emitCriteriaSet(sessionId, criteria) {
|
|
952
967
|
const eventStore = getEventStore();
|
|
953
968
|
eventStore.append(sessionId, {
|
|
@@ -1145,6 +1160,7 @@ export {
|
|
|
1145
1160
|
emitModeChanged,
|
|
1146
1161
|
emitPhaseChanged,
|
|
1147
1162
|
emitRunningChanged,
|
|
1163
|
+
emitWorkflowExecutionChanged,
|
|
1148
1164
|
emitCriteriaSet,
|
|
1149
1165
|
emitCriterionUpdated,
|
|
1150
1166
|
emitTodosUpdated,
|
|
@@ -1159,4 +1175,4 @@ export {
|
|
|
1159
1175
|
truncateSessionMessages,
|
|
1160
1176
|
getRecentUserPromptsForSession
|
|
1161
1177
|
};
|
|
1162
|
-
//# sourceMappingURL=chunk-
|
|
1178
|
+
//# sourceMappingURL=chunk-7P7OKBYQ.js.map
|