openfox 1.6.17 → 1.6.19
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/{auto-compaction-VOWM5ZHF.js → auto-compaction-A657A2UQ.js} +5 -5
- package/dist/{chat-handler-7HWNXQ4G.js → chat-handler-2NXHPPMS.js} +9 -9
- package/dist/{chunk-R7U3CD2U.js → chunk-6TWWJIFP.js} +4 -4
- package/dist/{chunk-UJANEDP5.js → chunk-AE7FYMCR.js} +24 -24
- package/dist/{chunk-F54ZJN4X.js → chunk-AV45GQ7B.js} +4 -4
- package/dist/{chunk-NJWPSSRW.js → chunk-DZHZ3UUR.js} +4 -4
- package/dist/{chunk-2KP34IDL.js → chunk-EEPU4INU.js} +4 -2
- package/dist/{chunk-RPPEIB3F.js → chunk-KCJC3VBS.js} +4 -4
- package/dist/{chunk-EAQNNNUR.js → chunk-N2V2K5QV.js} +2 -2
- package/dist/{chunk-6L3X7T4K.js → chunk-PMDJEJYY.js} +2 -2
- package/dist/{chunk-SN7OBEVL.js → chunk-ZGTXED6Q.js} +3 -3
- package/dist/cli/dev.js +1 -1
- package/dist/cli/index.js +1 -1
- package/dist/{events-2ETDOE5B.js → events-LI4NAFRZ.js} +3 -3
- package/dist/{folding-M7FMUBOL.js → folding-HRZMWP4H.js} +2 -2
- package/dist/{orchestrator-DJZZPPE7.js → orchestrator-VWMGHSCG.js} +6 -6
- package/dist/package.json +1 -1
- package/dist/{processor-PVYCX5GK.js → processor-7TH3ATDK.js} +7 -7
- package/dist/{protocol-KUKFSV5U.js → protocol-YNVBDNL7.js} +2 -2
- package/dist/{serve-FEG4BUYZ.js → serve-CJKXYYIA.js} +8 -8
- package/dist/server/index.js +7 -7
- package/dist/{tools-YRDPOS6P.js → tools-F7RWE4YI.js} +5 -5
- package/dist/web/assets/{index-CZBXRYpK.js → index-CLd1Kqv-.js} +46 -45
- package/dist/web/assets/{index-D4V7Gtvt.css → index-CcnXf371.css} +1 -1
- package/dist/web/index.html +2 -2
- package/dist/web/sw.js +1 -1
- package/package.json +1 -1
|
@@ -2,13 +2,13 @@ import {
|
|
|
2
2
|
maybeAutoCompactContext,
|
|
3
3
|
performManualContextCompaction,
|
|
4
4
|
resolveCompactionStatsIdentity
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-6TWWJIFP.js";
|
|
6
6
|
import "./chunk-NBU6KIOD.js";
|
|
7
7
|
import "./chunk-574HZVLE.js";
|
|
8
8
|
import "./chunk-55N6FAAZ.js";
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
9
|
+
import "./chunk-PMDJEJYY.js";
|
|
10
|
+
import "./chunk-EEPU4INU.js";
|
|
11
|
+
import "./chunk-DZHZ3UUR.js";
|
|
12
12
|
import "./chunk-22CTURMH.js";
|
|
13
13
|
import "./chunk-7IOZFJBW.js";
|
|
14
14
|
import "./chunk-XKFPU2FA.js";
|
|
@@ -22,4 +22,4 @@ export {
|
|
|
22
22
|
performManualContextCompaction,
|
|
23
23
|
resolveCompactionStatsIdentity
|
|
24
24
|
};
|
|
25
|
-
//# sourceMappingURL=auto-compaction-
|
|
25
|
+
//# sourceMappingURL=auto-compaction-A657A2UQ.js.map
|
|
@@ -2,28 +2,28 @@ import {
|
|
|
2
2
|
buildRunChatTurnParams,
|
|
3
3
|
finalizeTurnCompletion,
|
|
4
4
|
getSessionMessageCount
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-ZGTXED6Q.js";
|
|
6
6
|
import {
|
|
7
7
|
applyGeneratedSessionName,
|
|
8
8
|
generateSessionName,
|
|
9
9
|
needsNameGenerationCheck
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-AV45GQ7B.js";
|
|
11
11
|
import {
|
|
12
12
|
runChatTurn
|
|
13
|
-
} from "./chunk-
|
|
14
|
-
import "./chunk-
|
|
13
|
+
} from "./chunk-KCJC3VBS.js";
|
|
14
|
+
import "./chunk-6TWWJIFP.js";
|
|
15
15
|
import "./chunk-NBU6KIOD.js";
|
|
16
16
|
import "./chunk-574HZVLE.js";
|
|
17
17
|
import "./chunk-55N6FAAZ.js";
|
|
18
18
|
import {
|
|
19
19
|
getEventStore
|
|
20
|
-
} from "./chunk-
|
|
21
|
-
import "./chunk-
|
|
20
|
+
} from "./chunk-PMDJEJYY.js";
|
|
21
|
+
import "./chunk-EEPU4INU.js";
|
|
22
22
|
import {
|
|
23
23
|
createChatMessageMessage,
|
|
24
24
|
createPhaseChangedMessage,
|
|
25
25
|
createSessionRunningMessage
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-DZHZ3UUR.js";
|
|
27
27
|
import "./chunk-22CTURMH.js";
|
|
28
28
|
import "./chunk-7IOZFJBW.js";
|
|
29
29
|
import "./chunk-XKFPU2FA.js";
|
|
@@ -61,7 +61,7 @@ async function startChatSession(sessionId, content, deps, options) {
|
|
|
61
61
|
sessionManager.setRunning(sessionId, true);
|
|
62
62
|
broadcastForSession(sessionId, createSessionRunningMessage(true));
|
|
63
63
|
try {
|
|
64
|
-
const { maybeAutoCompactContext } = await import("./auto-compaction-
|
|
64
|
+
const { maybeAutoCompactContext } = await import("./auto-compaction-A657A2UQ.js");
|
|
65
65
|
await maybeAutoCompactContext({
|
|
66
66
|
sessionManager,
|
|
67
67
|
sessionId,
|
|
@@ -170,4 +170,4 @@ export {
|
|
|
170
170
|
startChatSession,
|
|
171
171
|
stopSessionExecution
|
|
172
172
|
};
|
|
173
|
-
//# sourceMappingURL=chat-handler-
|
|
173
|
+
//# sourceMappingURL=chat-handler-2NXHPPMS.js.map
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
getContextMessages,
|
|
19
19
|
getCurrentContextWindowId,
|
|
20
20
|
getEventStore
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-PMDJEJYY.js";
|
|
22
22
|
import {
|
|
23
23
|
createChatDoneMessage,
|
|
24
24
|
createChatMessageMessage,
|
|
@@ -27,7 +27,7 @@ import {
|
|
|
27
27
|
createChatToolOutputMessage,
|
|
28
28
|
createChatVisionFallbackMessage,
|
|
29
29
|
createQueueStateMessage
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-DZHZ3UUR.js";
|
|
31
31
|
import {
|
|
32
32
|
AskUserInterrupt,
|
|
33
33
|
askUserTool
|
|
@@ -3303,7 +3303,7 @@ var callSubAgentTool = {
|
|
|
3303
3303
|
};
|
|
3304
3304
|
}
|
|
3305
3305
|
try {
|
|
3306
|
-
const { getToolRegistryForAgent: getToolRegistryForAgent2 } = await import("./tools-
|
|
3306
|
+
const { getToolRegistryForAgent: getToolRegistryForAgent2 } = await import("./tools-F7RWE4YI.js");
|
|
3307
3307
|
const toolRegistry = getToolRegistryForAgent2(agentDef);
|
|
3308
3308
|
const turnMetrics = new TurnMetrics();
|
|
3309
3309
|
const result = await executeSubAgent({
|
|
@@ -4432,4 +4432,4 @@ export {
|
|
|
4432
4432
|
getToolRegistryForAgent,
|
|
4433
4433
|
createToolRegistry
|
|
4434
4434
|
};
|
|
4435
|
-
//# sourceMappingURL=chunk-
|
|
4435
|
+
//# sourceMappingURL=chunk-6TWWJIFP.js.map
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
generateSessionName,
|
|
3
3
|
needsNameGeneration
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-AV45GQ7B.js";
|
|
5
5
|
import {
|
|
6
6
|
createVerifierNudgeConfig,
|
|
7
7
|
runBuilderTurn,
|
|
8
8
|
runChatTurn
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-KCJC3VBS.js";
|
|
10
10
|
import {
|
|
11
11
|
TurnMetrics,
|
|
12
12
|
agentExists,
|
|
@@ -47,7 +47,7 @@ import {
|
|
|
47
47
|
setSkillEnabled,
|
|
48
48
|
skillExists,
|
|
49
49
|
spawnShellProcess
|
|
50
|
-
} from "./chunk-
|
|
50
|
+
} from "./chunk-6TWWJIFP.js";
|
|
51
51
|
import {
|
|
52
52
|
getPathSeparator,
|
|
53
53
|
getPlatformShell,
|
|
@@ -92,12 +92,12 @@ import {
|
|
|
92
92
|
updateSessionProvider,
|
|
93
93
|
updateSessionRunning,
|
|
94
94
|
updateSessionSummary
|
|
95
|
-
} from "./chunk-
|
|
95
|
+
} from "./chunk-PMDJEJYY.js";
|
|
96
96
|
import {
|
|
97
97
|
buildContextMessagesFromEventHistory,
|
|
98
98
|
buildMessagesFromStoredEvents,
|
|
99
99
|
foldPendingConfirmations
|
|
100
|
-
} from "./chunk-
|
|
100
|
+
} from "./chunk-EEPU4INU.js";
|
|
101
101
|
import {
|
|
102
102
|
createChatErrorMessage,
|
|
103
103
|
createChatMessageMessage,
|
|
@@ -113,7 +113,7 @@ import {
|
|
|
113
113
|
parseClientMessage,
|
|
114
114
|
serializeServerMessage,
|
|
115
115
|
storedEventToServerMessage
|
|
116
|
-
} from "./chunk-
|
|
116
|
+
} from "./chunk-DZHZ3UUR.js";
|
|
117
117
|
import {
|
|
118
118
|
EventEmitter,
|
|
119
119
|
cancelQuestionsForSession,
|
|
@@ -5472,7 +5472,7 @@ function createTerminalRoutes() {
|
|
|
5472
5472
|
}
|
|
5473
5473
|
|
|
5474
5474
|
// src/constants.ts
|
|
5475
|
-
var VERSION = "1.6.
|
|
5475
|
+
var VERSION = "1.6.19";
|
|
5476
5476
|
|
|
5477
5477
|
// src/server/index.ts
|
|
5478
5478
|
var __dirname2 = dirname5(fileURLToPath4(import.meta.url));
|
|
@@ -5633,7 +5633,7 @@ async function createServerHandle(config) {
|
|
|
5633
5633
|
res.json({ success: true });
|
|
5634
5634
|
});
|
|
5635
5635
|
app.get("/api/sessions", async (req, res) => {
|
|
5636
|
-
const { getRecentUserPromptsForSession } = await import("./events-
|
|
5636
|
+
const { getRecentUserPromptsForSession } = await import("./events-LI4NAFRZ.js");
|
|
5637
5637
|
const projectId = req.query["projectId"];
|
|
5638
5638
|
const limit = Math.min(parseInt(req.query["limit"]) || 20, 100);
|
|
5639
5639
|
const offset = parseInt(req.query["offset"]) || 0;
|
|
@@ -5666,8 +5666,8 @@ async function createServerHandle(config) {
|
|
|
5666
5666
|
res.status(201).json({ session });
|
|
5667
5667
|
});
|
|
5668
5668
|
app.get("/api/sessions/:id", async (req, res) => {
|
|
5669
|
-
const { getEventStore: getEventStore2 } = await import("./events-
|
|
5670
|
-
const { buildMessagesFromStoredEvents: buildMessagesFromStoredEvents2 } = await import("./folding-
|
|
5669
|
+
const { getEventStore: getEventStore2 } = await import("./events-LI4NAFRZ.js");
|
|
5670
|
+
const { buildMessagesFromStoredEvents: buildMessagesFromStoredEvents2 } = await import("./folding-HRZMWP4H.js");
|
|
5671
5671
|
const session = sessionManager.getSession(req.params.id);
|
|
5672
5672
|
if (!session) {
|
|
5673
5673
|
return res.status(404).json({ error: "Session not found" });
|
|
@@ -5697,8 +5697,8 @@ async function createServerHandle(config) {
|
|
|
5697
5697
|
res.json({ success: true });
|
|
5698
5698
|
});
|
|
5699
5699
|
app.post("/api/sessions/:id/provider", async (req, res) => {
|
|
5700
|
-
const { getEventStore: getEventStore2 } = await import("./events-
|
|
5701
|
-
const { buildMessagesFromStoredEvents: buildMessagesFromStoredEvents2 } = await import("./folding-
|
|
5700
|
+
const { getEventStore: getEventStore2 } = await import("./events-LI4NAFRZ.js");
|
|
5701
|
+
const { buildMessagesFromStoredEvents: buildMessagesFromStoredEvents2 } = await import("./folding-HRZMWP4H.js");
|
|
5702
5702
|
const sessionId = req.params.id;
|
|
5703
5703
|
const session = sessionManager.getSession(sessionId);
|
|
5704
5704
|
if (!session) {
|
|
@@ -5735,8 +5735,8 @@ async function createServerHandle(config) {
|
|
|
5735
5735
|
res.json({ success: true });
|
|
5736
5736
|
});
|
|
5737
5737
|
app.put("/api/sessions/:id/mode", async (req, res) => {
|
|
5738
|
-
const { getEventStore: getEventStore2 } = await import("./events-
|
|
5739
|
-
const { buildMessagesFromStoredEvents: buildMessagesFromStoredEvents2 } = await import("./folding-
|
|
5738
|
+
const { getEventStore: getEventStore2 } = await import("./events-LI4NAFRZ.js");
|
|
5739
|
+
const { buildMessagesFromStoredEvents: buildMessagesFromStoredEvents2 } = await import("./folding-HRZMWP4H.js");
|
|
5740
5740
|
const sessionId = req.params.id;
|
|
5741
5741
|
const session = sessionManager.getSession(sessionId);
|
|
5742
5742
|
if (!session) {
|
|
@@ -5774,14 +5774,14 @@ async function createServerHandle(config) {
|
|
|
5774
5774
|
if (!callId || approved === void 0) {
|
|
5775
5775
|
return res.status(400).json({ error: "callId and approved are required" });
|
|
5776
5776
|
}
|
|
5777
|
-
const { providePathConfirmation: providePathConfirmation2 } = await import("./tools-
|
|
5777
|
+
const { providePathConfirmation: providePathConfirmation2 } = await import("./tools-F7RWE4YI.js");
|
|
5778
5778
|
const result = providePathConfirmation2(callId, approved, alwaysAllow);
|
|
5779
5779
|
if (!result.found) {
|
|
5780
5780
|
return res.status(404).json({ error: "No pending path confirmation with that ID" });
|
|
5781
5781
|
}
|
|
5782
|
-
const { getEventStore: getEventStore2 } = await import("./events-
|
|
5783
|
-
const { buildMessagesFromStoredEvents: buildMessagesFromStoredEvents2, foldPendingConfirmations: foldPendingConfirmations2 } = await import("./folding-
|
|
5784
|
-
const { createSessionStateMessage: createSessionStateMessage2 } = await import("./protocol-
|
|
5782
|
+
const { getEventStore: getEventStore2 } = await import("./events-LI4NAFRZ.js");
|
|
5783
|
+
const { buildMessagesFromStoredEvents: buildMessagesFromStoredEvents2, foldPendingConfirmations: foldPendingConfirmations2 } = await import("./folding-HRZMWP4H.js");
|
|
5784
|
+
const { createSessionStateMessage: createSessionStateMessage2 } = await import("./protocol-YNVBDNL7.js");
|
|
5785
5785
|
const eventStore = getEventStore2();
|
|
5786
5786
|
const events = eventStore.getEvents(sessionId);
|
|
5787
5787
|
const messages = buildMessagesFromStoredEvents2(events);
|
|
@@ -5799,7 +5799,7 @@ async function createServerHandle(config) {
|
|
|
5799
5799
|
if (!callId || !answer) {
|
|
5800
5800
|
return res.status(400).json({ error: "callId and answer are required" });
|
|
5801
5801
|
}
|
|
5802
|
-
const { provideAnswer: provideAnswer2 } = await import("./tools-
|
|
5802
|
+
const { provideAnswer: provideAnswer2 } = await import("./tools-F7RWE4YI.js");
|
|
5803
5803
|
const found = provideAnswer2(callId, answer);
|
|
5804
5804
|
if (!found) {
|
|
5805
5805
|
return res.status(404).json({ error: "No pending question with that ID" });
|
|
@@ -5835,14 +5835,14 @@ async function createServerHandle(config) {
|
|
|
5835
5835
|
if (!session) {
|
|
5836
5836
|
return res.status(404).json({ error: "Session not found" });
|
|
5837
5837
|
}
|
|
5838
|
-
const { stopSessionExecution } = await import("./chat-handler-
|
|
5839
|
-
const { cancelQuestionsForSession: cancelQuestionsForSession2, cancelPathConfirmationsForSession: cancelPathConfirmationsForSession2 } = await import("./tools-
|
|
5838
|
+
const { stopSessionExecution } = await import("./chat-handler-2NXHPPMS.js");
|
|
5839
|
+
const { cancelQuestionsForSession: cancelQuestionsForSession2, cancelPathConfirmationsForSession: cancelPathConfirmationsForSession2 } = await import("./tools-F7RWE4YI.js");
|
|
5840
5840
|
stopSessionExecution(sessionId, sessionManager);
|
|
5841
5841
|
abortSession(sessionId);
|
|
5842
5842
|
cancelQuestionsForSession2(sessionId, "Session stopped by user");
|
|
5843
5843
|
cancelPathConfirmationsForSession2(sessionId, "Session stopped by user");
|
|
5844
5844
|
sessionManager.clearMessageQueue(sessionId);
|
|
5845
|
-
const eventStore = (await import("./events-
|
|
5845
|
+
const eventStore = (await import("./events-LI4NAFRZ.js")).getEventStore();
|
|
5846
5846
|
eventStore.append(sessionId, { type: "running.changed", data: { isRunning: false } });
|
|
5847
5847
|
res.json({ success: true });
|
|
5848
5848
|
});
|
|
@@ -6284,7 +6284,7 @@ async function createServerHandle(config) {
|
|
|
6284
6284
|
providerManager
|
|
6285
6285
|
);
|
|
6286
6286
|
const wss = wssExports.wss;
|
|
6287
|
-
const { QueueProcessor } = await import("./processor-
|
|
6287
|
+
const { QueueProcessor } = await import("./processor-7TH3ATDK.js");
|
|
6288
6288
|
const queueProcessor = new QueueProcessor({
|
|
6289
6289
|
sessionManager,
|
|
6290
6290
|
providerManager,
|
|
@@ -6357,4 +6357,4 @@ export {
|
|
|
6357
6357
|
createServerHandle,
|
|
6358
6358
|
createServer
|
|
6359
6359
|
};
|
|
6360
|
-
//# sourceMappingURL=chunk-
|
|
6360
|
+
//# sourceMappingURL=chunk-AE7FYMCR.js.map
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
updateSessionMetadata
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-PMDJEJYY.js";
|
|
4
4
|
import {
|
|
5
5
|
buildMessagesFromStoredEvents,
|
|
6
6
|
foldPendingConfirmations
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-EEPU4INU.js";
|
|
8
8
|
import {
|
|
9
9
|
createSessionStateMessage
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-DZHZ3UUR.js";
|
|
11
11
|
import {
|
|
12
12
|
logger
|
|
13
13
|
} from "./chunk-PNBH3RAX.js";
|
|
@@ -108,4 +108,4 @@ export {
|
|
|
108
108
|
needsNameGenerationCheck,
|
|
109
109
|
applyGeneratedSessionName
|
|
110
110
|
};
|
|
111
|
-
//# sourceMappingURL=chunk-
|
|
111
|
+
//# sourceMappingURL=chunk-AV45GQ7B.js.map
|
|
@@ -119,8 +119,8 @@ function createPhaseChangedMessage(phase) {
|
|
|
119
119
|
function createCriteriaUpdatedMessage(criteria, changedId) {
|
|
120
120
|
return createServerMessage("criteria.updated", { criteria, ...changedId ? { changedId } : {} });
|
|
121
121
|
}
|
|
122
|
-
function createContextStateMessage(context) {
|
|
123
|
-
return createServerMessage("context.state", { context });
|
|
122
|
+
function createContextStateMessage(context, subAgentId) {
|
|
123
|
+
return createServerMessage("context.state", { context, ...subAgentId && { subAgentId } });
|
|
124
124
|
}
|
|
125
125
|
function createSessionNameGeneratedMessage(name, sessionId) {
|
|
126
126
|
const msg = {
|
|
@@ -252,7 +252,7 @@ function storedEventToServerMessage(event) {
|
|
|
252
252
|
}
|
|
253
253
|
case "context.state": {
|
|
254
254
|
const data = event.data;
|
|
255
|
-
return createContextStateMessage(data);
|
|
255
|
+
return createContextStateMessage(data, data.subAgentId);
|
|
256
256
|
}
|
|
257
257
|
case "session.name_generated": {
|
|
258
258
|
const data = event.data;
|
|
@@ -333,4 +333,4 @@ export {
|
|
|
333
333
|
isQueueCancelPayload,
|
|
334
334
|
storedEventToServerMessage
|
|
335
335
|
};
|
|
336
|
-
//# sourceMappingURL=chunk-
|
|
336
|
+
//# sourceMappingURL=chunk-DZHZ3UUR.js.map
|
|
@@ -390,7 +390,9 @@ function foldContextState(events, initialWindowId) {
|
|
|
390
390
|
}
|
|
391
391
|
case "context.state": {
|
|
392
392
|
const data = event.data;
|
|
393
|
-
|
|
393
|
+
if (!data.subAgentId) {
|
|
394
|
+
latestContextState = data;
|
|
395
|
+
}
|
|
394
396
|
break;
|
|
395
397
|
}
|
|
396
398
|
case "context.compacted": {
|
|
@@ -635,4 +637,4 @@ export {
|
|
|
635
637
|
getMessagesForWindow,
|
|
636
638
|
buildContextMessagesFromMessages
|
|
637
639
|
};
|
|
638
|
-
//# sourceMappingURL=chunk-
|
|
640
|
+
//# sourceMappingURL=chunk-EEPU4INU.js.map
|
|
@@ -13,14 +13,14 @@ import {
|
|
|
13
13
|
getToolRegistryForAgent,
|
|
14
14
|
loadAllAgentsDefault,
|
|
15
15
|
runTopLevelAgentLoop
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-6TWWJIFP.js";
|
|
17
17
|
import {
|
|
18
18
|
getCurrentContextWindowId,
|
|
19
19
|
getEventStore
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-PMDJEJYY.js";
|
|
21
21
|
import {
|
|
22
22
|
buildSnapshotFromSessionState
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-EEPU4INU.js";
|
|
24
24
|
import {
|
|
25
25
|
logger
|
|
26
26
|
} from "./chunk-PNBH3RAX.js";
|
|
@@ -293,4 +293,4 @@ export {
|
|
|
293
293
|
runBuilderTurn,
|
|
294
294
|
runVerifierTurn
|
|
295
295
|
};
|
|
296
|
-
//# sourceMappingURL=chunk-
|
|
296
|
+
//# sourceMappingURL=chunk-KCJC3VBS.js.map
|
|
@@ -154,7 +154,7 @@ async function runCli(options) {
|
|
|
154
154
|
if (!configExists) {
|
|
155
155
|
await runNetworkSetup(mode);
|
|
156
156
|
}
|
|
157
|
-
const { runServe } = await import("./serve-
|
|
157
|
+
const { runServe } = await import("./serve-CJKXYYIA.js");
|
|
158
158
|
await runServe({
|
|
159
159
|
mode,
|
|
160
160
|
port: values.port ? parseInt(values.port) : void 0,
|
|
@@ -167,4 +167,4 @@ async function runCli(options) {
|
|
|
167
167
|
export {
|
|
168
168
|
runCli
|
|
169
169
|
};
|
|
170
|
-
//# sourceMappingURL=chunk-
|
|
170
|
+
//# sourceMappingURL=chunk-N2V2K5QV.js.map
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
foldSessionState,
|
|
6
6
|
spreadOptionalMessageFields,
|
|
7
7
|
stripPromptContextMessages
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-EEPU4INU.js";
|
|
9
9
|
import {
|
|
10
10
|
getDatabase
|
|
11
11
|
} from "./chunk-3EHGGBWE.js";
|
|
@@ -1066,4 +1066,4 @@ export {
|
|
|
1066
1066
|
compactContext,
|
|
1067
1067
|
getRecentUserPromptsForSession
|
|
1068
1068
|
};
|
|
1069
|
-
//# sourceMappingURL=chunk-
|
|
1069
|
+
//# sourceMappingURL=chunk-PMDJEJYY.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getEventStore
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-PMDJEJYY.js";
|
|
4
4
|
import {
|
|
5
5
|
createContextStateMessage
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-DZHZ3UUR.js";
|
|
7
7
|
|
|
8
8
|
// src/server/utils/session-utils.ts
|
|
9
9
|
function getSessionMessageCount(sessionId) {
|
|
@@ -41,4 +41,4 @@ export {
|
|
|
41
41
|
finalizeTurnCompletion,
|
|
42
42
|
buildRunChatTurnParams
|
|
43
43
|
};
|
|
44
|
-
//# sourceMappingURL=chunk-
|
|
44
|
+
//# sourceMappingURL=chunk-ZGTXED6Q.js.map
|
package/dist/cli/dev.js
CHANGED
package/dist/cli/index.js
CHANGED
|
@@ -36,7 +36,7 @@ import {
|
|
|
36
36
|
isFileInCache,
|
|
37
37
|
isStoredEvent,
|
|
38
38
|
isTurnEvent
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-PMDJEJYY.js";
|
|
40
40
|
import {
|
|
41
41
|
buildContextMessagesFromEventHistory,
|
|
42
42
|
buildContextMessagesFromMessages,
|
|
@@ -53,7 +53,7 @@ import {
|
|
|
53
53
|
foldTodos,
|
|
54
54
|
foldTurnEventsToSnapshotMessages,
|
|
55
55
|
getMessagesForWindow
|
|
56
|
-
} from "./chunk-
|
|
56
|
+
} from "./chunk-EEPU4INU.js";
|
|
57
57
|
import "./chunk-3EHGGBWE.js";
|
|
58
58
|
import "./chunk-TVQOONDR.js";
|
|
59
59
|
import "./chunk-PNBH3RAX.js";
|
|
@@ -111,4 +111,4 @@ export {
|
|
|
111
111
|
isStoredEvent,
|
|
112
112
|
isTurnEvent
|
|
113
113
|
};
|
|
114
|
-
//# sourceMappingURL=events-
|
|
114
|
+
//# sourceMappingURL=events-LI4NAFRZ.js.map
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
foldTurnEventsToSnapshotMessages,
|
|
17
17
|
getMessagesForWindow,
|
|
18
18
|
spreadOptionalMessageFields
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-EEPU4INU.js";
|
|
20
20
|
export {
|
|
21
21
|
buildContextMessagesFromEventHistory,
|
|
22
22
|
buildContextMessagesFromMessages,
|
|
@@ -36,4 +36,4 @@ export {
|
|
|
36
36
|
getMessagesForWindow,
|
|
37
37
|
spreadOptionalMessageFields
|
|
38
38
|
};
|
|
39
|
-
//# sourceMappingURL=folding-
|
|
39
|
+
//# sourceMappingURL=folding-HRZMWP4H.js.map
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
runBuilderTurn,
|
|
4
4
|
runChatTurn,
|
|
5
5
|
runVerifierTurn
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-KCJC3VBS.js";
|
|
7
7
|
import {
|
|
8
8
|
TurnMetrics,
|
|
9
9
|
createChatDoneEvent,
|
|
@@ -11,13 +11,13 @@ import {
|
|
|
11
11
|
createMessageStartEvent,
|
|
12
12
|
createToolCallEvent,
|
|
13
13
|
createToolResultEvent
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-6TWWJIFP.js";
|
|
15
15
|
import "./chunk-NBU6KIOD.js";
|
|
16
16
|
import "./chunk-574HZVLE.js";
|
|
17
17
|
import "./chunk-55N6FAAZ.js";
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-
|
|
18
|
+
import "./chunk-PMDJEJYY.js";
|
|
19
|
+
import "./chunk-EEPU4INU.js";
|
|
20
|
+
import "./chunk-DZHZ3UUR.js";
|
|
21
21
|
import "./chunk-22CTURMH.js";
|
|
22
22
|
import "./chunk-7IOZFJBW.js";
|
|
23
23
|
import "./chunk-XKFPU2FA.js";
|
|
@@ -38,4 +38,4 @@ export {
|
|
|
38
38
|
runChatTurn,
|
|
39
39
|
runVerifierTurn
|
|
40
40
|
};
|
|
41
|
-
//# sourceMappingURL=orchestrator-
|
|
41
|
+
//# sourceMappingURL=orchestrator-VWMGHSCG.js.map
|
package/dist/package.json
CHANGED
|
@@ -2,20 +2,20 @@ import {
|
|
|
2
2
|
buildRunChatTurnParams,
|
|
3
3
|
finalizeTurnCompletion,
|
|
4
4
|
getSessionMessageCount
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-ZGTXED6Q.js";
|
|
6
6
|
import {
|
|
7
7
|
applyGeneratedSessionName,
|
|
8
8
|
generateSessionName,
|
|
9
9
|
needsNameGenerationCheck
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-AV45GQ7B.js";
|
|
11
11
|
import {
|
|
12
12
|
getEventStore
|
|
13
|
-
} from "./chunk-
|
|
14
|
-
import "./chunk-
|
|
13
|
+
} from "./chunk-PMDJEJYY.js";
|
|
14
|
+
import "./chunk-EEPU4INU.js";
|
|
15
15
|
import {
|
|
16
16
|
createChatMessageMessage,
|
|
17
17
|
createSessionRunningMessage
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-DZHZ3UUR.js";
|
|
19
19
|
import "./chunk-3EHGGBWE.js";
|
|
20
20
|
import "./chunk-Y6HBEACI.js";
|
|
21
21
|
import "./chunk-TVQOONDR.js";
|
|
@@ -175,7 +175,7 @@ var QueueProcessor = class {
|
|
|
175
175
|
backend: provider?.backend ?? llmClient.getBackend(),
|
|
176
176
|
model: llmClient.getModel()
|
|
177
177
|
};
|
|
178
|
-
const { runChatTurn } = await import("./orchestrator-
|
|
178
|
+
const { runChatTurn } = await import("./orchestrator-VWMGHSCG.js");
|
|
179
179
|
const runChatTurnParams = buildRunChatTurnParams({
|
|
180
180
|
sessionManager,
|
|
181
181
|
sessionId,
|
|
@@ -208,4 +208,4 @@ var QueueProcessor = class {
|
|
|
208
208
|
export {
|
|
209
209
|
QueueProcessor
|
|
210
210
|
};
|
|
211
|
-
//# sourceMappingURL=processor-
|
|
211
|
+
//# sourceMappingURL=processor-7TH3ATDK.js.map
|
|
@@ -40,7 +40,7 @@ import {
|
|
|
40
40
|
parseClientMessage,
|
|
41
41
|
serializeServerMessage,
|
|
42
42
|
storedEventToServerMessage
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-DZHZ3UUR.js";
|
|
44
44
|
import "./chunk-Y6HBEACI.js";
|
|
45
45
|
export {
|
|
46
46
|
createChatAskUserMessage,
|
|
@@ -85,4 +85,4 @@ export {
|
|
|
85
85
|
serializeServerMessage,
|
|
86
86
|
storedEventToServerMessage
|
|
87
87
|
};
|
|
88
|
-
//# sourceMappingURL=protocol-
|
|
88
|
+
//# sourceMappingURL=protocol-YNVBDNL7.js.map
|
|
@@ -6,18 +6,18 @@ import {
|
|
|
6
6
|
import {
|
|
7
7
|
VERSION,
|
|
8
8
|
createServer
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
9
|
+
} from "./chunk-AE7FYMCR.js";
|
|
10
|
+
import "./chunk-AV45GQ7B.js";
|
|
11
|
+
import "./chunk-KCJC3VBS.js";
|
|
12
|
+
import "./chunk-6TWWJIFP.js";
|
|
13
13
|
import "./chunk-NBU6KIOD.js";
|
|
14
14
|
import "./chunk-574HZVLE.js";
|
|
15
15
|
import "./chunk-KOUMYBYM.js";
|
|
16
16
|
import "./chunk-OVLFEBRR.js";
|
|
17
17
|
import "./chunk-55N6FAAZ.js";
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-
|
|
18
|
+
import "./chunk-PMDJEJYY.js";
|
|
19
|
+
import "./chunk-EEPU4INU.js";
|
|
20
|
+
import "./chunk-DZHZ3UUR.js";
|
|
21
21
|
import "./chunk-22CTURMH.js";
|
|
22
22
|
import "./chunk-7IOZFJBW.js";
|
|
23
23
|
import "./chunk-XKFPU2FA.js";
|
|
@@ -188,4 +188,4 @@ async function runServe(options) {
|
|
|
188
188
|
export {
|
|
189
189
|
runServe
|
|
190
190
|
};
|
|
191
|
-
//# sourceMappingURL=serve-
|
|
191
|
+
//# sourceMappingURL=serve-CJKXYYIA.js.map
|
package/dist/server/index.js
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createServer,
|
|
3
3
|
createServerHandle
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-
|
|
6
|
-
import "../chunk-
|
|
7
|
-
import "../chunk-
|
|
4
|
+
} from "../chunk-AE7FYMCR.js";
|
|
5
|
+
import "../chunk-AV45GQ7B.js";
|
|
6
|
+
import "../chunk-KCJC3VBS.js";
|
|
7
|
+
import "../chunk-6TWWJIFP.js";
|
|
8
8
|
import "../chunk-NBU6KIOD.js";
|
|
9
9
|
import "../chunk-574HZVLE.js";
|
|
10
10
|
import "../chunk-KOUMYBYM.js";
|
|
11
11
|
import "../chunk-OVLFEBRR.js";
|
|
12
12
|
import "../chunk-55N6FAAZ.js";
|
|
13
|
-
import "../chunk-
|
|
14
|
-
import "../chunk-
|
|
15
|
-
import "../chunk-
|
|
13
|
+
import "../chunk-PMDJEJYY.js";
|
|
14
|
+
import "../chunk-EEPU4INU.js";
|
|
15
|
+
import "../chunk-DZHZ3UUR.js";
|
|
16
16
|
import "../chunk-22CTURMH.js";
|
|
17
17
|
import "../chunk-7IOZFJBW.js";
|
|
18
18
|
import "../chunk-XKFPU2FA.js";
|
|
@@ -11,13 +11,13 @@ import {
|
|
|
11
11
|
requestPathAccess,
|
|
12
12
|
stepDoneTool,
|
|
13
13
|
validateToolAction
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-6TWWJIFP.js";
|
|
15
15
|
import "./chunk-NBU6KIOD.js";
|
|
16
16
|
import "./chunk-574HZVLE.js";
|
|
17
17
|
import "./chunk-55N6FAAZ.js";
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-
|
|
18
|
+
import "./chunk-PMDJEJYY.js";
|
|
19
|
+
import "./chunk-EEPU4INU.js";
|
|
20
|
+
import "./chunk-DZHZ3UUR.js";
|
|
21
21
|
import {
|
|
22
22
|
AskUserInterrupt,
|
|
23
23
|
cancelQuestionsForSession,
|
|
@@ -47,4 +47,4 @@ export {
|
|
|
47
47
|
stepDoneTool,
|
|
48
48
|
validateToolAction
|
|
49
49
|
};
|
|
50
|
-
//# sourceMappingURL=tools-
|
|
50
|
+
//# sourceMappingURL=tools-F7RWE4YI.js.map
|