openfox 2.0.0-beta.1 → 2.0.0-beta.11
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/dist/agent-defaults/code-reviewer.agent.md +2 -1
- package/dist/{chat-handler-IVIWOR3D.js → chat-handler-NMJCOCCB.js} +14 -27
- package/dist/{chunk-ZLUBZ4K4.js → chunk-4RLDN2LL.js} +222 -106
- package/dist/{chunk-CEZNMLOO.js → chunk-7TTEGAO6.js} +12 -13
- package/dist/chunk-BU56QFHW.js +315 -0
- package/dist/{chunk-FQLK5GL5.js → chunk-BVHFMAVN.js} +1 -1
- package/dist/{chunk-RF2JGDSS.js → chunk-DMH6JVPF.js} +13 -10
- package/dist/{chunk-ALH4KM2Y.js → chunk-EQQDA4D3.js} +2967 -3248
- package/dist/{chunk-QFSSKIQ3.js → chunk-EXYMWI7A.js} +4 -4
- package/dist/{chunk-NNEHZT3V.js → chunk-EZUR7OEP.js} +11 -3
- package/dist/{chunk-NONI4CRP.js → chunk-ITWVFGFV.js} +5 -61
- package/dist/{chunk-4U4CSRBE.js → chunk-LCRJWUW7.js} +6 -6
- package/dist/{chunk-XKR3HCAL.js → chunk-NSBYORD5.js} +177 -34
- package/dist/{chunk-PSJIT5LZ.js → chunk-RFNEDBVO.js} +4 -4
- package/dist/chunk-RI6GAMNP.js +13 -0
- package/dist/{chunk-HHAJ3QF6.js → chunk-UKTPL5ZG.js} +16 -28
- package/dist/{chunk-HGAMIPFO.js → chunk-VIIRNJDT.js} +39 -178
- package/dist/cli/dev.js +1 -1
- package/dist/cli/index.js +1 -1
- package/dist/compactor-TDNRM3A7.js +9 -0
- package/dist/{config-YU7NYZYG.js → config-TDVA7MQN.js} +9 -8
- package/dist/{events-OHJWCI3S.js → events-UGTGGFG3.js} +8 -7
- package/dist/{folding-U6UHQAS5.js → folding-YOCGTZYH.js} +2 -2
- package/dist/{orchestrator-7ZXM4J22.js → orchestrator-75L5UGDU.js} +18 -22
- package/dist/package.json +1 -1
- package/dist/{processor-TKBJLQ2N.js → processor-GHESQ2YV.js} +8 -9
- package/dist/{protocol-BQ12Aw5J.d.ts → protocol-B9R1CUvt.d.ts} +14 -39
- package/dist/{protocol-K62EPEGS.js → protocol-CN24IKQN.js} +3 -5
- package/dist/{provider-HTJEB3ON.js → provider-BGH4MBLH.js} +25 -10
- package/dist/{serve-5KA6SSSP.js → serve-I6T7V62Z.js} +25 -26
- package/dist/server/index.d.ts +1 -6
- package/dist/server/index.js +15 -16
- package/dist/{settings-VRAOAPLA.js → settings-6XX56F3F.js} +2 -2
- package/dist/shared/index.d.ts +2 -2
- package/dist/shared/index.js +1 -1
- package/dist/{tools-Z7X4HXZN.js → tools-D3WWIOQD.js} +11 -13
- package/dist/web/assets/{index-BY8EbT5Z.css → index-CSOB8dwI.css} +1 -1
- package/dist/web/assets/index-tJDr1ODC.js +299 -0
- package/dist/web/index.html +2 -2
- package/dist/web/sw.js +1 -1
- package/dist/workflow-defaults/default.workflow.json +9 -4
- package/package.json +1 -1
- package/dist/auto-compaction-UIWTO3H5.js +0 -27
- package/dist/chunk-CGZHLM3K.js +0 -70
- package/dist/chunk-SZKEGZIB.js +0 -140
- package/dist/chunk-UFY4I643.js +0 -332
- package/dist/runtime-config-NPSPMRDA.js +0 -9
- package/dist/vision-fallback-3MIZZ6NQ.js +0 -22
- package/dist/web/assets/index-CqOJgw7l.js +0 -299
|
@@ -6,11 +6,12 @@ subagent: true
|
|
|
6
6
|
color: '#ef4444'
|
|
7
7
|
allowedTools:
|
|
8
8
|
- read_file
|
|
9
|
+
- run_command
|
|
9
10
|
- web_fetch
|
|
10
11
|
- session_metadata:get,add,update,remove
|
|
11
12
|
---
|
|
12
13
|
|
|
13
|
-
You are a code reviewer. Review
|
|
14
|
+
You are a code reviewer. Review the **git diff** of the modified files rather than reading the full files.
|
|
14
15
|
You're mostly interested in:
|
|
15
16
|
|
|
16
17
|
1. **For the user (UX interaction)** — does this feel good to use? Any rough edges, confusing behavior, or unnecessary friction?
|
|
@@ -5,40 +5,38 @@ import {
|
|
|
5
5
|
generateSessionName,
|
|
6
6
|
getSessionMessageCount,
|
|
7
7
|
needsNameGenerationCheck
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-EXYMWI7A.js";
|
|
9
9
|
import {
|
|
10
10
|
runChatTurn
|
|
11
|
-
} from "./chunk-
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-PSJIT5LZ.js";
|
|
14
|
-
import "./chunk-XAMAYRDA.js";
|
|
11
|
+
} from "./chunk-BU56QFHW.js";
|
|
12
|
+
import "./chunk-EQQDA4D3.js";
|
|
15
13
|
import "./chunk-DL6ZILAF.js";
|
|
16
14
|
import "./chunk-PBGOZMVY.js";
|
|
17
15
|
import "./chunk-VRGRAQDG.js";
|
|
18
|
-
import "./chunk-HGAMIPFO.js";
|
|
19
16
|
import {
|
|
20
17
|
getEventStore
|
|
21
|
-
} from "./chunk-
|
|
22
|
-
import "./chunk-
|
|
23
|
-
import "./chunk-NONI4CRP.js";
|
|
18
|
+
} from "./chunk-NSBYORD5.js";
|
|
19
|
+
import "./chunk-ITWVFGFV.js";
|
|
24
20
|
import {
|
|
25
21
|
createChatMessageMessage,
|
|
26
22
|
createPhaseChangedMessage,
|
|
27
23
|
createSessionRunningMessage
|
|
28
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-7TTEGAO6.js";
|
|
29
25
|
import "./chunk-BJYPTN5S.js";
|
|
30
|
-
import "./chunk-
|
|
31
|
-
import "./chunk-
|
|
32
|
-
import "./chunk-
|
|
33
|
-
import "./chunk-
|
|
26
|
+
import "./chunk-RFNEDBVO.js";
|
|
27
|
+
import "./chunk-XAMAYRDA.js";
|
|
28
|
+
import "./chunk-FBGWG4N6.js";
|
|
29
|
+
import "./chunk-BVHFMAVN.js";
|
|
30
|
+
import "./chunk-VIIRNJDT.js";
|
|
34
31
|
import {
|
|
35
32
|
logger
|
|
36
33
|
} from "./chunk-K44MW7JJ.js";
|
|
34
|
+
import "./chunk-CQGTEGKL.js";
|
|
37
35
|
|
|
38
36
|
// src/server/session/chat-handler.ts
|
|
39
37
|
var activeAgents = /* @__PURE__ */ new Map();
|
|
40
38
|
async function startChatSession(sessionId, content, deps, options) {
|
|
41
|
-
const { sessionManager, llmClient,
|
|
39
|
+
const { sessionManager, llmClient, broadcastForSession } = deps;
|
|
42
40
|
const session = sessionManager.getSession(sessionId);
|
|
43
41
|
if (!session) {
|
|
44
42
|
throw new Error("Session not found");
|
|
@@ -60,17 +58,6 @@ async function startChatSession(sessionId, content, deps, options) {
|
|
|
60
58
|
sessionManager.setRunning(sessionId, true);
|
|
61
59
|
broadcastForSession(sessionId, createSessionRunningMessage(true));
|
|
62
60
|
try {
|
|
63
|
-
const { maybeAutoCompactContext } = await import("./auto-compaction-UIWTO3H5.js");
|
|
64
|
-
await maybeAutoCompactContext({
|
|
65
|
-
sessionManager,
|
|
66
|
-
sessionId,
|
|
67
|
-
llmClient,
|
|
68
|
-
statsIdentity,
|
|
69
|
-
signal: controller.signal
|
|
70
|
-
});
|
|
71
|
-
if (controller.signal.aborted) {
|
|
72
|
-
return;
|
|
73
|
-
}
|
|
74
61
|
const userMessage = sessionManager.addMessage(sessionId, {
|
|
75
62
|
role: "user",
|
|
76
63
|
content,
|
|
@@ -174,4 +161,4 @@ export {
|
|
|
174
161
|
startChatSession,
|
|
175
162
|
stopSessionExecution
|
|
176
163
|
};
|
|
177
|
-
//# sourceMappingURL=chat-handler-
|
|
164
|
+
//# sourceMappingURL=chat-handler-NMJCOCCB.js.map
|