openfox 1.6.48 → 1.6.51
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-7RDQVOYK.js → auto-compaction-VM4PWNSL.js} +4 -4
- package/dist/{chat-handler-TTCW7DIB.js → chat-handler-AQNAQSBE.js} +8 -8
- package/dist/{chunk-22JBSK6P.js → chunk-2IIJ6BX6.js} +3 -3
- package/dist/{chunk-WI7OTUWM.js → chunk-6ZIAD3UH.js} +20 -20
- package/dist/{chunk-BHSTSA7U.js → chunk-ADNH6OIQ.js} +3 -3
- package/dist/{chunk-A6HUSQXG.js → chunk-CAWG7OPR.js} +2 -2
- package/dist/{chunk-DZHZ3UUR.js → chunk-G56V75F2.js} +3 -3
- package/dist/{chunk-SGOTQ7R3.js → chunk-LAUS4KUS.js} +4 -4
- package/dist/{chunk-NBBX64KC.js → chunk-LUEMWIT4.js} +3 -3
- package/dist/{chunk-YVQ6DP5Y.js → chunk-QEFIFVTH.js} +5 -1
- package/dist/cli/dev.js +1 -1
- package/dist/cli/index.js +1 -1
- package/dist/{events-FHPSSSE4.js → events-RXX52D3D.js} +2 -2
- package/dist/{orchestrator-DIJO4BJ7.js → orchestrator-FPX4NLIZ.js} +5 -5
- package/dist/package.json +1 -1
- package/dist/{processor-YLKEJ7QC.js → processor-AJ6F6SA6.js} +6 -6
- package/dist/{protocol-YNVBDNL7.js → protocol-4RE3E3H3.js} +2 -2
- package/dist/{serve-4NOUDAYC.js → serve-K56IPLYD.js} +7 -7
- package/dist/server/index.js +6 -6
- package/dist/{tools-E3UECGKO.js → tools-SBBC6TWC.js} +4 -4
- package/dist/web/assets/{index-UJ4zYM28.js → index--Frce5_n.js} +38 -38
- package/dist/web/index.html +1 -1
- package/dist/web/sw.js +1 -1
- package/package.json +1 -1
|
@@ -2,14 +2,14 @@ import {
|
|
|
2
2
|
maybeAutoCompactContext,
|
|
3
3
|
performManualContextCompaction,
|
|
4
4
|
resolveCompactionStatsIdentity
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-LAUS4KUS.js";
|
|
6
6
|
import "./chunk-NBU6KIOD.js";
|
|
7
7
|
import "./chunk-574HZVLE.js";
|
|
8
8
|
import "./chunk-7JPKRM6M.js";
|
|
9
9
|
import "./chunk-WNZIUQ2L.js";
|
|
10
|
-
import "./chunk-
|
|
10
|
+
import "./chunk-QEFIFVTH.js";
|
|
11
11
|
import "./chunk-LIMBYVO4.js";
|
|
12
|
-
import "./chunk-
|
|
12
|
+
import "./chunk-G56V75F2.js";
|
|
13
13
|
import "./chunk-22CTURMH.js";
|
|
14
14
|
import "./chunk-GQZGIMJO.js";
|
|
15
15
|
import "./chunk-BLNFJ22S.js";
|
|
@@ -23,4 +23,4 @@ export {
|
|
|
23
23
|
performManualContextCompaction,
|
|
24
24
|
resolveCompactionStatsIdentity
|
|
25
25
|
};
|
|
26
|
-
//# sourceMappingURL=auto-compaction-
|
|
26
|
+
//# sourceMappingURL=auto-compaction-VM4PWNSL.js.map
|
|
@@ -2,29 +2,29 @@ import {
|
|
|
2
2
|
buildRunChatTurnParams,
|
|
3
3
|
finalizeTurnCompletion,
|
|
4
4
|
getSessionMessageCount
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-LUEMWIT4.js";
|
|
6
6
|
import {
|
|
7
7
|
applyGeneratedSessionName,
|
|
8
8
|
generateSessionName,
|
|
9
9
|
needsNameGenerationCheck
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-ADNH6OIQ.js";
|
|
11
11
|
import {
|
|
12
12
|
runChatTurn
|
|
13
|
-
} from "./chunk-
|
|
14
|
-
import "./chunk-
|
|
13
|
+
} from "./chunk-2IIJ6BX6.js";
|
|
14
|
+
import "./chunk-LAUS4KUS.js";
|
|
15
15
|
import "./chunk-NBU6KIOD.js";
|
|
16
16
|
import "./chunk-574HZVLE.js";
|
|
17
17
|
import "./chunk-7JPKRM6M.js";
|
|
18
18
|
import "./chunk-WNZIUQ2L.js";
|
|
19
19
|
import {
|
|
20
20
|
getEventStore
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-QEFIFVTH.js";
|
|
22
22
|
import "./chunk-LIMBYVO4.js";
|
|
23
23
|
import {
|
|
24
24
|
createChatMessageMessage,
|
|
25
25
|
createPhaseChangedMessage,
|
|
26
26
|
createSessionRunningMessage
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-G56V75F2.js";
|
|
28
28
|
import "./chunk-22CTURMH.js";
|
|
29
29
|
import "./chunk-GQZGIMJO.js";
|
|
30
30
|
import "./chunk-BLNFJ22S.js";
|
|
@@ -62,7 +62,7 @@ async function startChatSession(sessionId, content, deps, options) {
|
|
|
62
62
|
sessionManager.setRunning(sessionId, true);
|
|
63
63
|
broadcastForSession(sessionId, createSessionRunningMessage(true));
|
|
64
64
|
try {
|
|
65
|
-
const { maybeAutoCompactContext } = await import("./auto-compaction-
|
|
65
|
+
const { maybeAutoCompactContext } = await import("./auto-compaction-VM4PWNSL.js");
|
|
66
66
|
await maybeAutoCompactContext({
|
|
67
67
|
sessionManager,
|
|
68
68
|
sessionId,
|
|
@@ -171,4 +171,4 @@ export {
|
|
|
171
171
|
startChatSession,
|
|
172
172
|
stopSessionExecution
|
|
173
173
|
};
|
|
174
|
-
//# sourceMappingURL=chat-handler-
|
|
174
|
+
//# sourceMappingURL=chat-handler-AQNAQSBE.js.map
|
|
@@ -13,11 +13,11 @@ import {
|
|
|
13
13
|
getToolRegistryForAgent,
|
|
14
14
|
loadAllAgentsDefault,
|
|
15
15
|
runTopLevelAgentLoop
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-LAUS4KUS.js";
|
|
17
17
|
import {
|
|
18
18
|
getCurrentContextWindowId,
|
|
19
19
|
getEventStore
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-QEFIFVTH.js";
|
|
21
21
|
import {
|
|
22
22
|
buildSnapshotFromSessionState
|
|
23
23
|
} from "./chunk-LIMBYVO4.js";
|
|
@@ -293,4 +293,4 @@ export {
|
|
|
293
293
|
runBuilderTurn,
|
|
294
294
|
runVerifierTurn
|
|
295
295
|
};
|
|
296
|
-
//# sourceMappingURL=chunk-
|
|
296
|
+
//# sourceMappingURL=chunk-2IIJ6BX6.js.map
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
generateSessionName,
|
|
3
3
|
needsNameGeneration
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-ADNH6OIQ.js";
|
|
5
5
|
import {
|
|
6
6
|
createVerifierNudgeConfig,
|
|
7
7
|
runBuilderTurn,
|
|
8
8
|
runChatTurn
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-2IIJ6BX6.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-LAUS4KUS.js";
|
|
51
51
|
import {
|
|
52
52
|
getPathSeparator,
|
|
53
53
|
getPlatformShell,
|
|
@@ -97,7 +97,7 @@ import {
|
|
|
97
97
|
updateSessionProvider,
|
|
98
98
|
updateSessionRunning,
|
|
99
99
|
updateSessionSummary
|
|
100
|
-
} from "./chunk-
|
|
100
|
+
} from "./chunk-QEFIFVTH.js";
|
|
101
101
|
import {
|
|
102
102
|
buildContextMessagesFromEventHistory,
|
|
103
103
|
buildMessagesFromStoredEvents,
|
|
@@ -118,7 +118,7 @@ import {
|
|
|
118
118
|
parseClientMessage,
|
|
119
119
|
serializeServerMessage,
|
|
120
120
|
storedEventToServerMessage
|
|
121
|
-
} from "./chunk-
|
|
121
|
+
} from "./chunk-G56V75F2.js";
|
|
122
122
|
import {
|
|
123
123
|
EventEmitter,
|
|
124
124
|
cancelQuestionsForSession,
|
|
@@ -2377,7 +2377,7 @@ function createWebSocketServer(httpServer, config, getLLMClient, getActiveProvid
|
|
|
2377
2377
|
sessionManager.setRunning(sessionId, true);
|
|
2378
2378
|
const eventStore = getEventStore();
|
|
2379
2379
|
eventStore.append(sessionId, { type: "running.changed", data: { isRunning: true } });
|
|
2380
|
-
broadcastForSession(sessionId, createSessionRunningMessage(true));
|
|
2380
|
+
broadcastForSession(sessionId, createSessionRunningMessage(true, sessionId));
|
|
2381
2381
|
const nextAsap = queue.find((m) => m.mode === "asap") ?? queue[0];
|
|
2382
2382
|
if (nextAsap) {
|
|
2383
2383
|
sessionManager.cancelQueuedMessage(sessionId, nextAsap.queueId);
|
|
@@ -5487,7 +5487,7 @@ function createTerminalRoutes() {
|
|
|
5487
5487
|
}
|
|
5488
5488
|
|
|
5489
5489
|
// src/constants.ts
|
|
5490
|
-
var VERSION = "1.6.
|
|
5490
|
+
var VERSION = "1.6.51";
|
|
5491
5491
|
|
|
5492
5492
|
// src/server/index.ts
|
|
5493
5493
|
var __dirname2 = dirname5(fileURLToPath4(import.meta.url));
|
|
@@ -5648,7 +5648,7 @@ async function createServerHandle(config) {
|
|
|
5648
5648
|
res.json({ success: true });
|
|
5649
5649
|
});
|
|
5650
5650
|
app.get("/api/sessions", async (req, res) => {
|
|
5651
|
-
const { getRecentUserPromptsForSession } = await import("./events-
|
|
5651
|
+
const { getRecentUserPromptsForSession } = await import("./events-RXX52D3D.js");
|
|
5652
5652
|
const projectId = req.query["projectId"];
|
|
5653
5653
|
const limit = Math.min(parseInt(req.query["limit"]) || 20, 100);
|
|
5654
5654
|
const offset = parseInt(req.query["offset"]) || 0;
|
|
@@ -5681,7 +5681,7 @@ async function createServerHandle(config) {
|
|
|
5681
5681
|
res.status(201).json({ session });
|
|
5682
5682
|
});
|
|
5683
5683
|
app.get("/api/sessions/:id", async (req, res) => {
|
|
5684
|
-
const { getEventStore: getEventStore2 } = await import("./events-
|
|
5684
|
+
const { getEventStore: getEventStore2 } = await import("./events-RXX52D3D.js");
|
|
5685
5685
|
const { buildMessagesFromStoredEvents: buildMessagesFromStoredEvents2 } = await import("./folding-NEZWWL7K.js");
|
|
5686
5686
|
const session = sessionManager.getSession(req.params.id);
|
|
5687
5687
|
if (!session) {
|
|
@@ -5712,7 +5712,7 @@ async function createServerHandle(config) {
|
|
|
5712
5712
|
res.json({ success: true });
|
|
5713
5713
|
});
|
|
5714
5714
|
app.post("/api/sessions/:id/provider", async (req, res) => {
|
|
5715
|
-
const { getEventStore: getEventStore2 } = await import("./events-
|
|
5715
|
+
const { getEventStore: getEventStore2 } = await import("./events-RXX52D3D.js");
|
|
5716
5716
|
const { buildMessagesFromStoredEvents: buildMessagesFromStoredEvents2 } = await import("./folding-NEZWWL7K.js");
|
|
5717
5717
|
const sessionId = req.params.id;
|
|
5718
5718
|
const session = sessionManager.getSession(sessionId);
|
|
@@ -5750,7 +5750,7 @@ async function createServerHandle(config) {
|
|
|
5750
5750
|
res.json({ success: true });
|
|
5751
5751
|
});
|
|
5752
5752
|
app.put("/api/sessions/:id/mode", async (req, res) => {
|
|
5753
|
-
const { getEventStore: getEventStore2 } = await import("./events-
|
|
5753
|
+
const { getEventStore: getEventStore2 } = await import("./events-RXX52D3D.js");
|
|
5754
5754
|
const { buildMessagesFromStoredEvents: buildMessagesFromStoredEvents2 } = await import("./folding-NEZWWL7K.js");
|
|
5755
5755
|
const sessionId = req.params.id;
|
|
5756
5756
|
const session = sessionManager.getSession(sessionId);
|
|
@@ -5789,14 +5789,14 @@ async function createServerHandle(config) {
|
|
|
5789
5789
|
if (!callId || approved === void 0) {
|
|
5790
5790
|
return res.status(400).json({ error: "callId and approved are required" });
|
|
5791
5791
|
}
|
|
5792
|
-
const { providePathConfirmation: providePathConfirmation2 } = await import("./tools-
|
|
5792
|
+
const { providePathConfirmation: providePathConfirmation2 } = await import("./tools-SBBC6TWC.js");
|
|
5793
5793
|
const result = providePathConfirmation2(callId, approved, alwaysAllow);
|
|
5794
5794
|
if (!result.found) {
|
|
5795
5795
|
return res.status(404).json({ error: "No pending path confirmation with that ID" });
|
|
5796
5796
|
}
|
|
5797
|
-
const { getEventStore: getEventStore2 } = await import("./events-
|
|
5797
|
+
const { getEventStore: getEventStore2 } = await import("./events-RXX52D3D.js");
|
|
5798
5798
|
const { buildMessagesFromStoredEvents: buildMessagesFromStoredEvents2, foldPendingConfirmations: foldPendingConfirmations2 } = await import("./folding-NEZWWL7K.js");
|
|
5799
|
-
const { createSessionStateMessage: createSessionStateMessage2 } = await import("./protocol-
|
|
5799
|
+
const { createSessionStateMessage: createSessionStateMessage2 } = await import("./protocol-4RE3E3H3.js");
|
|
5800
5800
|
const eventStore = getEventStore2();
|
|
5801
5801
|
const events = eventStore.getEvents(sessionId);
|
|
5802
5802
|
const messages = buildMessagesFromStoredEvents2(events);
|
|
@@ -5814,7 +5814,7 @@ async function createServerHandle(config) {
|
|
|
5814
5814
|
if (!callId || !answer) {
|
|
5815
5815
|
return res.status(400).json({ error: "callId and answer are required" });
|
|
5816
5816
|
}
|
|
5817
|
-
const { provideAnswer: provideAnswer2 } = await import("./tools-
|
|
5817
|
+
const { provideAnswer: provideAnswer2 } = await import("./tools-SBBC6TWC.js");
|
|
5818
5818
|
const found = provideAnswer2(callId, answer);
|
|
5819
5819
|
if (!found) {
|
|
5820
5820
|
return res.status(404).json({ error: "No pending question with that ID" });
|
|
@@ -5850,14 +5850,14 @@ async function createServerHandle(config) {
|
|
|
5850
5850
|
if (!session) {
|
|
5851
5851
|
return res.status(404).json({ error: "Session not found" });
|
|
5852
5852
|
}
|
|
5853
|
-
const { stopSessionExecution } = await import("./chat-handler-
|
|
5854
|
-
const { cancelQuestionsForSession: cancelQuestionsForSession2, cancelPathConfirmationsForSession: cancelPathConfirmationsForSession2 } = await import("./tools-
|
|
5853
|
+
const { stopSessionExecution } = await import("./chat-handler-AQNAQSBE.js");
|
|
5854
|
+
const { cancelQuestionsForSession: cancelQuestionsForSession2, cancelPathConfirmationsForSession: cancelPathConfirmationsForSession2 } = await import("./tools-SBBC6TWC.js");
|
|
5855
5855
|
stopSessionExecution(sessionId, sessionManager);
|
|
5856
5856
|
abortSession(sessionId);
|
|
5857
5857
|
cancelQuestionsForSession2(sessionId, "Session stopped by user");
|
|
5858
5858
|
cancelPathConfirmationsForSession2(sessionId, "Session stopped by user");
|
|
5859
5859
|
sessionManager.clearMessageQueue(sessionId);
|
|
5860
|
-
const eventStore = (await import("./events-
|
|
5860
|
+
const eventStore = (await import("./events-RXX52D3D.js")).getEventStore();
|
|
5861
5861
|
eventStore.append(sessionId, { type: "running.changed", data: { isRunning: false } });
|
|
5862
5862
|
res.json({ success: true });
|
|
5863
5863
|
});
|
|
@@ -6310,7 +6310,7 @@ async function createServerHandle(config) {
|
|
|
6310
6310
|
providerManager
|
|
6311
6311
|
);
|
|
6312
6312
|
const wss = wssExports.wss;
|
|
6313
|
-
const { QueueProcessor } = await import("./processor-
|
|
6313
|
+
const { QueueProcessor } = await import("./processor-AJ6F6SA6.js");
|
|
6314
6314
|
const queueProcessor = new QueueProcessor({
|
|
6315
6315
|
sessionManager,
|
|
6316
6316
|
providerManager,
|
|
@@ -6383,4 +6383,4 @@ export {
|
|
|
6383
6383
|
createServerHandle,
|
|
6384
6384
|
createServer
|
|
6385
6385
|
};
|
|
6386
|
-
//# sourceMappingURL=chunk-
|
|
6386
|
+
//# sourceMappingURL=chunk-6ZIAD3UH.js.map
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
updateSessionMetadata
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-QEFIFVTH.js";
|
|
4
4
|
import {
|
|
5
5
|
buildMessagesFromStoredEvents,
|
|
6
6
|
foldPendingConfirmations
|
|
7
7
|
} from "./chunk-LIMBYVO4.js";
|
|
8
8
|
import {
|
|
9
9
|
createSessionStateMessage
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-G56V75F2.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-ADNH6OIQ.js.map
|
|
@@ -179,7 +179,7 @@ async function runCli(options) {
|
|
|
179
179
|
if (!configExists) {
|
|
180
180
|
await runNetworkSetup(mode);
|
|
181
181
|
}
|
|
182
|
-
const { runServe } = await import("./serve-
|
|
182
|
+
const { runServe } = await import("./serve-K56IPLYD.js");
|
|
183
183
|
await runServe({
|
|
184
184
|
mode,
|
|
185
185
|
port: values.port ? parseInt(values.port) : void 0,
|
|
@@ -192,4 +192,4 @@ async function runCli(options) {
|
|
|
192
192
|
export {
|
|
193
193
|
runCli
|
|
194
194
|
};
|
|
195
|
-
//# sourceMappingURL=chunk-
|
|
195
|
+
//# sourceMappingURL=chunk-CAWG7OPR.js.map
|
|
@@ -50,8 +50,8 @@ function createSessionStateMessage(session, messages, pendingConfirmations = [],
|
|
|
50
50
|
function createSessionListMessage(sessions, correlationId) {
|
|
51
51
|
return createServerMessage("session.list", { sessions }, correlationId);
|
|
52
52
|
}
|
|
53
|
-
function createSessionRunningMessage(isRunning) {
|
|
54
|
-
return createServerMessage("session.running", { isRunning });
|
|
53
|
+
function createSessionRunningMessage(isRunning, sessionId) {
|
|
54
|
+
return createServerMessage("session.running", { isRunning }, sessionId);
|
|
55
55
|
}
|
|
56
56
|
function createProjectStateMessage(project, correlationId) {
|
|
57
57
|
return createServerMessage("project.state", { project }, correlationId);
|
|
@@ -333,4 +333,4 @@ export {
|
|
|
333
333
|
isQueueCancelPayload,
|
|
334
334
|
storedEventToServerMessage
|
|
335
335
|
};
|
|
336
|
-
//# sourceMappingURL=chunk-
|
|
336
|
+
//# sourceMappingURL=chunk-G56V75F2.js.map
|
|
@@ -24,7 +24,7 @@ import {
|
|
|
24
24
|
getContextMessages,
|
|
25
25
|
getCurrentContextWindowId,
|
|
26
26
|
getEventStore
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-QEFIFVTH.js";
|
|
28
28
|
import {
|
|
29
29
|
createChatDoneMessage,
|
|
30
30
|
createChatMessageMessage,
|
|
@@ -33,7 +33,7 @@ import {
|
|
|
33
33
|
createChatToolOutputMessage,
|
|
34
34
|
createChatVisionFallbackMessage,
|
|
35
35
|
createQueueStateMessage
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-G56V75F2.js";
|
|
37
37
|
import {
|
|
38
38
|
AskUserInterrupt,
|
|
39
39
|
askUserTool
|
|
@@ -3358,7 +3358,7 @@ var callSubAgentTool = {
|
|
|
3358
3358
|
};
|
|
3359
3359
|
}
|
|
3360
3360
|
try {
|
|
3361
|
-
const { getToolRegistryForAgent: getToolRegistryForAgent2 } = await import("./tools-
|
|
3361
|
+
const { getToolRegistryForAgent: getToolRegistryForAgent2 } = await import("./tools-SBBC6TWC.js");
|
|
3362
3362
|
const toolRegistry = getToolRegistryForAgent2(agentDef);
|
|
3363
3363
|
const turnMetrics = new TurnMetrics();
|
|
3364
3364
|
const result = await executeSubAgent({
|
|
@@ -4487,4 +4487,4 @@ export {
|
|
|
4487
4487
|
getToolRegistryForAgent,
|
|
4488
4488
|
createToolRegistry
|
|
4489
4489
|
};
|
|
4490
|
-
//# sourceMappingURL=chunk-
|
|
4490
|
+
//# sourceMappingURL=chunk-LAUS4KUS.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getEventStore
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-QEFIFVTH.js";
|
|
4
4
|
import {
|
|
5
5
|
createContextStateMessage
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-G56V75F2.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-LUEMWIT4.js.map
|
|
@@ -764,6 +764,10 @@ function getSessionState(sessionId, maxTokens) {
|
|
|
764
764
|
break;
|
|
765
765
|
}
|
|
766
766
|
}
|
|
767
|
+
if (!initialWindowId && latestSnapshotEvent) {
|
|
768
|
+
const snapshotData = latestSnapshotEvent.data;
|
|
769
|
+
initialWindowId = snapshotData.sessionInit?.contextWindowId;
|
|
770
|
+
}
|
|
767
771
|
if (!initialWindowId) {
|
|
768
772
|
return void 0;
|
|
769
773
|
}
|
|
@@ -1158,4 +1162,4 @@ export {
|
|
|
1158
1162
|
compactContext,
|
|
1159
1163
|
getRecentUserPromptsForSession
|
|
1160
1164
|
};
|
|
1161
|
-
//# sourceMappingURL=chunk-
|
|
1165
|
+
//# sourceMappingURL=chunk-QEFIFVTH.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-QEFIFVTH.js";
|
|
40
40
|
import {
|
|
41
41
|
buildContextMessagesFromEventHistory,
|
|
42
42
|
buildContextMessagesFromMessages,
|
|
@@ -111,4 +111,4 @@ export {
|
|
|
111
111
|
isStoredEvent,
|
|
112
112
|
isTurnEvent
|
|
113
113
|
};
|
|
114
|
-
//# sourceMappingURL=events-
|
|
114
|
+
//# sourceMappingURL=events-RXX52D3D.js.map
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
runBuilderTurn,
|
|
4
4
|
runChatTurn,
|
|
5
5
|
runVerifierTurn
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-2IIJ6BX6.js";
|
|
7
7
|
import {
|
|
8
8
|
TurnMetrics,
|
|
9
9
|
createChatDoneEvent,
|
|
@@ -11,14 +11,14 @@ import {
|
|
|
11
11
|
createMessageStartEvent,
|
|
12
12
|
createToolCallEvent,
|
|
13
13
|
createToolResultEvent
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-LAUS4KUS.js";
|
|
15
15
|
import "./chunk-NBU6KIOD.js";
|
|
16
16
|
import "./chunk-574HZVLE.js";
|
|
17
17
|
import "./chunk-7JPKRM6M.js";
|
|
18
18
|
import "./chunk-WNZIUQ2L.js";
|
|
19
|
-
import "./chunk-
|
|
19
|
+
import "./chunk-QEFIFVTH.js";
|
|
20
20
|
import "./chunk-LIMBYVO4.js";
|
|
21
|
-
import "./chunk-
|
|
21
|
+
import "./chunk-G56V75F2.js";
|
|
22
22
|
import "./chunk-22CTURMH.js";
|
|
23
23
|
import "./chunk-GQZGIMJO.js";
|
|
24
24
|
import "./chunk-BLNFJ22S.js";
|
|
@@ -39,4 +39,4 @@ export {
|
|
|
39
39
|
runChatTurn,
|
|
40
40
|
runVerifierTurn
|
|
41
41
|
};
|
|
42
|
-
//# sourceMappingURL=orchestrator-
|
|
42
|
+
//# sourceMappingURL=orchestrator-FPX4NLIZ.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-LUEMWIT4.js";
|
|
6
6
|
import {
|
|
7
7
|
applyGeneratedSessionName,
|
|
8
8
|
generateSessionName,
|
|
9
9
|
needsNameGenerationCheck
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-ADNH6OIQ.js";
|
|
11
11
|
import {
|
|
12
12
|
getEventStore
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-QEFIFVTH.js";
|
|
14
14
|
import "./chunk-LIMBYVO4.js";
|
|
15
15
|
import {
|
|
16
16
|
createChatMessageMessage,
|
|
17
17
|
createSessionRunningMessage
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-G56V75F2.js";
|
|
19
19
|
import "./chunk-BLNFJ22S.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-FPX4NLIZ.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-AJ6F6SA6.js.map
|
|
@@ -40,7 +40,7 @@ import {
|
|
|
40
40
|
parseClientMessage,
|
|
41
41
|
serializeServerMessage,
|
|
42
42
|
storedEventToServerMessage
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-G56V75F2.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-4RE3E3H3.js.map
|
|
@@ -6,19 +6,19 @@ 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-6ZIAD3UH.js";
|
|
10
|
+
import "./chunk-ADNH6OIQ.js";
|
|
11
|
+
import "./chunk-2IIJ6BX6.js";
|
|
12
|
+
import "./chunk-LAUS4KUS.js";
|
|
13
13
|
import "./chunk-NBU6KIOD.js";
|
|
14
14
|
import "./chunk-574HZVLE.js";
|
|
15
15
|
import "./chunk-7JPKRM6M.js";
|
|
16
16
|
import "./chunk-HYIQFRYJ.js";
|
|
17
17
|
import "./chunk-F2VWCCMC.js";
|
|
18
18
|
import "./chunk-WNZIUQ2L.js";
|
|
19
|
-
import "./chunk-
|
|
19
|
+
import "./chunk-QEFIFVTH.js";
|
|
20
20
|
import "./chunk-LIMBYVO4.js";
|
|
21
|
-
import "./chunk-
|
|
21
|
+
import "./chunk-G56V75F2.js";
|
|
22
22
|
import "./chunk-22CTURMH.js";
|
|
23
23
|
import "./chunk-GQZGIMJO.js";
|
|
24
24
|
import "./chunk-BLNFJ22S.js";
|
|
@@ -188,4 +188,4 @@ async function runServe(options) {
|
|
|
188
188
|
export {
|
|
189
189
|
runServe
|
|
190
190
|
};
|
|
191
|
-
//# sourceMappingURL=serve-
|
|
191
|
+
//# sourceMappingURL=serve-K56IPLYD.js.map
|
package/dist/server/index.js
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createServer,
|
|
3
3
|
createServerHandle
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-
|
|
6
|
-
import "../chunk-
|
|
7
|
-
import "../chunk-
|
|
4
|
+
} from "../chunk-6ZIAD3UH.js";
|
|
5
|
+
import "../chunk-ADNH6OIQ.js";
|
|
6
|
+
import "../chunk-2IIJ6BX6.js";
|
|
7
|
+
import "../chunk-LAUS4KUS.js";
|
|
8
8
|
import "../chunk-NBU6KIOD.js";
|
|
9
9
|
import "../chunk-574HZVLE.js";
|
|
10
10
|
import "../chunk-7JPKRM6M.js";
|
|
11
11
|
import "../chunk-HYIQFRYJ.js";
|
|
12
12
|
import "../chunk-F2VWCCMC.js";
|
|
13
13
|
import "../chunk-WNZIUQ2L.js";
|
|
14
|
-
import "../chunk-
|
|
14
|
+
import "../chunk-QEFIFVTH.js";
|
|
15
15
|
import "../chunk-LIMBYVO4.js";
|
|
16
|
-
import "../chunk-
|
|
16
|
+
import "../chunk-G56V75F2.js";
|
|
17
17
|
import "../chunk-22CTURMH.js";
|
|
18
18
|
import "../chunk-GQZGIMJO.js";
|
|
19
19
|
import "../chunk-BLNFJ22S.js";
|
|
@@ -11,14 +11,14 @@ import {
|
|
|
11
11
|
requestPathAccess,
|
|
12
12
|
stepDoneTool,
|
|
13
13
|
validateToolAction
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-LAUS4KUS.js";
|
|
15
15
|
import "./chunk-NBU6KIOD.js";
|
|
16
16
|
import "./chunk-574HZVLE.js";
|
|
17
17
|
import "./chunk-7JPKRM6M.js";
|
|
18
18
|
import "./chunk-WNZIUQ2L.js";
|
|
19
|
-
import "./chunk-
|
|
19
|
+
import "./chunk-QEFIFVTH.js";
|
|
20
20
|
import "./chunk-LIMBYVO4.js";
|
|
21
|
-
import "./chunk-
|
|
21
|
+
import "./chunk-G56V75F2.js";
|
|
22
22
|
import {
|
|
23
23
|
AskUserInterrupt,
|
|
24
24
|
cancelQuestionsForSession,
|
|
@@ -48,4 +48,4 @@ export {
|
|
|
48
48
|
stepDoneTool,
|
|
49
49
|
validateToolAction
|
|
50
50
|
};
|
|
51
|
-
//# sourceMappingURL=tools-
|
|
51
|
+
//# sourceMappingURL=tools-SBBC6TWC.js.map
|