openfox 1.6.61 → 1.6.62
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-34HBYH7C.js → auto-compaction-NBRDRLZU.js} +4 -4
- package/dist/{chat-handler-OHXGAYE5.js → chat-handler-3ND7S63I.js} +7 -7
- package/dist/{chunk-NUXLDPXN.js → chunk-B4UL2NM6.js} +21 -21
- package/dist/{chunk-RSBISZON.js → chunk-DPCBXLPY.js} +2 -2
- package/dist/{chunk-5FCZWJS7.js → chunk-ENAZTRCR.js} +3 -3
- package/dist/{chunk-XDPSXKYP.js → chunk-LRXDM2PJ.js} +2 -2
- package/dist/{chunk-K5THP6KN.js → chunk-NKKB55E4.js} +3 -3
- package/dist/{chunk-GDE25PUA.js → chunk-OIDMZVTJ.js} +4 -4
- package/dist/{chunk-L5RGGVMA.js → chunk-PFRQO5Z3.js} +21 -31
- package/dist/cli/dev.js +1 -1
- package/dist/cli/index.js +1 -1
- package/dist/{events-4NDTE3KM.js → events-2NH6YMVZ.js} +3 -3
- package/dist/{folding-2XZRSTU5.js → folding-JN2WT44N.js} +2 -2
- package/dist/{orchestrator-4A5KDCZQ.js → orchestrator-6V4V2ODS.js} +5 -5
- package/dist/package.json +1 -1
- package/dist/{processor-EU4G3K2T.js → processor-NEW6ZPBK.js} +5 -5
- package/dist/{serve-L3JF62Z3.js → serve-X6T4DMOT.js} +6 -6
- package/dist/server/index.js +5 -5
- package/dist/{tools-Z6YF7JMX.js → tools-PYJRXESR.js} +4 -4
- 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-NKKB55E4.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-
|
|
11
|
-
import "./chunk-
|
|
10
|
+
import "./chunk-LRXDM2PJ.js";
|
|
11
|
+
import "./chunk-PFRQO5Z3.js";
|
|
12
12
|
import "./chunk-KFBIHS3S.js";
|
|
13
13
|
import "./chunk-22CTURMH.js";
|
|
14
14
|
import "./chunk-GQZGIMJO.js";
|
|
@@ -23,4 +23,4 @@ export {
|
|
|
23
23
|
performManualContextCompaction,
|
|
24
24
|
resolveCompactionStatsIdentity
|
|
25
25
|
};
|
|
26
|
-
//# sourceMappingURL=auto-compaction-
|
|
26
|
+
//# sourceMappingURL=auto-compaction-NBRDRLZU.js.map
|
|
@@ -5,19 +5,19 @@ import {
|
|
|
5
5
|
generateSessionName,
|
|
6
6
|
getSessionMessageCount,
|
|
7
7
|
needsNameGenerationCheck
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-ENAZTRCR.js";
|
|
9
9
|
import {
|
|
10
10
|
runChatTurn
|
|
11
|
-
} from "./chunk-
|
|
12
|
-
import "./chunk-
|
|
11
|
+
} from "./chunk-OIDMZVTJ.js";
|
|
12
|
+
import "./chunk-NKKB55E4.js";
|
|
13
13
|
import "./chunk-NBU6KIOD.js";
|
|
14
14
|
import "./chunk-574HZVLE.js";
|
|
15
15
|
import "./chunk-7JPKRM6M.js";
|
|
16
16
|
import "./chunk-WNZIUQ2L.js";
|
|
17
17
|
import {
|
|
18
18
|
getEventStore
|
|
19
|
-
} from "./chunk-
|
|
20
|
-
import "./chunk-
|
|
19
|
+
} from "./chunk-LRXDM2PJ.js";
|
|
20
|
+
import "./chunk-PFRQO5Z3.js";
|
|
21
21
|
import {
|
|
22
22
|
createChatMessageMessage,
|
|
23
23
|
createPhaseChangedMessage,
|
|
@@ -60,7 +60,7 @@ async function startChatSession(sessionId, content, deps, options) {
|
|
|
60
60
|
sessionManager.setRunning(sessionId, true);
|
|
61
61
|
broadcastForSession(sessionId, createSessionRunningMessage(true));
|
|
62
62
|
try {
|
|
63
|
-
const { maybeAutoCompactContext } = await import("./auto-compaction-
|
|
63
|
+
const { maybeAutoCompactContext } = await import("./auto-compaction-NBRDRLZU.js");
|
|
64
64
|
await maybeAutoCompactContext({
|
|
65
65
|
sessionManager,
|
|
66
66
|
sessionId,
|
|
@@ -169,4 +169,4 @@ export {
|
|
|
169
169
|
startChatSession,
|
|
170
170
|
stopSessionExecution
|
|
171
171
|
};
|
|
172
|
-
//# sourceMappingURL=chat-handler-
|
|
172
|
+
//# sourceMappingURL=chat-handler-3ND7S63I.js.map
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
createVerifierNudgeConfig,
|
|
3
3
|
runBuilderTurn,
|
|
4
4
|
runChatTurn
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-OIDMZVTJ.js";
|
|
6
6
|
import {
|
|
7
7
|
TurnMetrics,
|
|
8
8
|
agentExists,
|
|
@@ -38,7 +38,7 @@ import {
|
|
|
38
38
|
setSkillEnabled,
|
|
39
39
|
skillExists,
|
|
40
40
|
spawnShellProcess
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-NKKB55E4.js";
|
|
42
42
|
import {
|
|
43
43
|
getPathSeparator,
|
|
44
44
|
getPlatformShell,
|
|
@@ -88,11 +88,11 @@ import {
|
|
|
88
88
|
updateSessionProvider,
|
|
89
89
|
updateSessionRunning,
|
|
90
90
|
updateSessionSummary
|
|
91
|
-
} from "./chunk-
|
|
91
|
+
} from "./chunk-LRXDM2PJ.js";
|
|
92
92
|
import {
|
|
93
93
|
buildMessagesFromStoredEvents,
|
|
94
94
|
foldPendingConfirmations
|
|
95
|
-
} from "./chunk-
|
|
95
|
+
} from "./chunk-PFRQO5Z3.js";
|
|
96
96
|
import {
|
|
97
97
|
createChatErrorMessage,
|
|
98
98
|
createChatMessageMessage,
|
|
@@ -5058,7 +5058,7 @@ function createTerminalRoutes() {
|
|
|
5058
5058
|
}
|
|
5059
5059
|
|
|
5060
5060
|
// src/constants.ts
|
|
5061
|
-
var VERSION = "1.6.
|
|
5061
|
+
var VERSION = "1.6.62";
|
|
5062
5062
|
|
|
5063
5063
|
// src/server/index.ts
|
|
5064
5064
|
var __dirname2 = dirname5(fileURLToPath4(import.meta.url));
|
|
@@ -5220,7 +5220,7 @@ async function createServerHandle(config) {
|
|
|
5220
5220
|
res.json({ success: true });
|
|
5221
5221
|
});
|
|
5222
5222
|
app.get("/api/sessions", async (req, res) => {
|
|
5223
|
-
const { getRecentUserPromptsForSession } = await import("./events-
|
|
5223
|
+
const { getRecentUserPromptsForSession } = await import("./events-2NH6YMVZ.js");
|
|
5224
5224
|
const projectId = req.query["projectId"];
|
|
5225
5225
|
const limit = Math.min(parseInt(req.query["limit"]) || 20, 100);
|
|
5226
5226
|
const offset = parseInt(req.query["offset"]) || 0;
|
|
@@ -5253,8 +5253,8 @@ async function createServerHandle(config) {
|
|
|
5253
5253
|
res.status(201).json({ session });
|
|
5254
5254
|
});
|
|
5255
5255
|
app.get("/api/sessions/:id", async (req, res) => {
|
|
5256
|
-
const { getEventStore: getEventStore2 } = await import("./events-
|
|
5257
|
-
const { buildMessagesFromStoredEvents: buildMessagesFromStoredEvents2 } = await import("./folding-
|
|
5256
|
+
const { getEventStore: getEventStore2 } = await import("./events-2NH6YMVZ.js");
|
|
5257
|
+
const { buildMessagesFromStoredEvents: buildMessagesFromStoredEvents2 } = await import("./folding-JN2WT44N.js");
|
|
5258
5258
|
const session = sessionManager.getSession(req.params.id);
|
|
5259
5259
|
if (!session) {
|
|
5260
5260
|
return res.status(404).json({ error: "Session not found" });
|
|
@@ -5284,8 +5284,8 @@ async function createServerHandle(config) {
|
|
|
5284
5284
|
res.json({ success: true });
|
|
5285
5285
|
});
|
|
5286
5286
|
app.post("/api/sessions/:id/provider", async (req, res) => {
|
|
5287
|
-
const { getEventStore: getEventStore2 } = await import("./events-
|
|
5288
|
-
const { buildMessagesFromStoredEvents: buildMessagesFromStoredEvents2 } = await import("./folding-
|
|
5287
|
+
const { getEventStore: getEventStore2 } = await import("./events-2NH6YMVZ.js");
|
|
5288
|
+
const { buildMessagesFromStoredEvents: buildMessagesFromStoredEvents2 } = await import("./folding-JN2WT44N.js");
|
|
5289
5289
|
const sessionId = req.params.id;
|
|
5290
5290
|
const session = sessionManager.getSession(sessionId);
|
|
5291
5291
|
if (!session) {
|
|
@@ -5322,8 +5322,8 @@ async function createServerHandle(config) {
|
|
|
5322
5322
|
res.json({ success: true });
|
|
5323
5323
|
});
|
|
5324
5324
|
app.put("/api/sessions/:id/mode", async (req, res) => {
|
|
5325
|
-
const { getEventStore: getEventStore2 } = await import("./events-
|
|
5326
|
-
const { buildMessagesFromStoredEvents: buildMessagesFromStoredEvents2 } = await import("./folding-
|
|
5325
|
+
const { getEventStore: getEventStore2 } = await import("./events-2NH6YMVZ.js");
|
|
5326
|
+
const { buildMessagesFromStoredEvents: buildMessagesFromStoredEvents2 } = await import("./folding-JN2WT44N.js");
|
|
5327
5327
|
const sessionId = req.params.id;
|
|
5328
5328
|
const session = sessionManager.getSession(sessionId);
|
|
5329
5329
|
if (!session) {
|
|
@@ -5361,13 +5361,13 @@ async function createServerHandle(config) {
|
|
|
5361
5361
|
if (!callId || approved === void 0) {
|
|
5362
5362
|
return res.status(400).json({ error: "callId and approved are required" });
|
|
5363
5363
|
}
|
|
5364
|
-
const { providePathConfirmation: providePathConfirmation2 } = await import("./tools-
|
|
5364
|
+
const { providePathConfirmation: providePathConfirmation2 } = await import("./tools-PYJRXESR.js");
|
|
5365
5365
|
const result = providePathConfirmation2(callId, approved, alwaysAllow);
|
|
5366
5366
|
if (!result.found) {
|
|
5367
5367
|
return res.status(404).json({ error: "No pending path confirmation with that ID" });
|
|
5368
5368
|
}
|
|
5369
|
-
const { getEventStore: getEventStore2 } = await import("./events-
|
|
5370
|
-
const { buildMessagesFromStoredEvents: buildMessagesFromStoredEvents2, foldPendingConfirmations: foldPendingConfirmations2 } = await import("./folding-
|
|
5369
|
+
const { getEventStore: getEventStore2 } = await import("./events-2NH6YMVZ.js");
|
|
5370
|
+
const { buildMessagesFromStoredEvents: buildMessagesFromStoredEvents2, foldPendingConfirmations: foldPendingConfirmations2 } = await import("./folding-JN2WT44N.js");
|
|
5371
5371
|
const { createSessionStateMessage: createSessionStateMessage2 } = await import("./protocol-5AWNGFLH.js");
|
|
5372
5372
|
const eventStore = getEventStore2();
|
|
5373
5373
|
const events = eventStore.getEvents(sessionId);
|
|
@@ -5386,7 +5386,7 @@ async function createServerHandle(config) {
|
|
|
5386
5386
|
if (!callId || !answer) {
|
|
5387
5387
|
return res.status(400).json({ error: "callId and answer are required" });
|
|
5388
5388
|
}
|
|
5389
|
-
const { provideAnswer: provideAnswer2 } = await import("./tools-
|
|
5389
|
+
const { provideAnswer: provideAnswer2 } = await import("./tools-PYJRXESR.js");
|
|
5390
5390
|
const found = provideAnswer2(callId, answer);
|
|
5391
5391
|
if (!found) {
|
|
5392
5392
|
return res.status(404).json({ error: "No pending question with that ID" });
|
|
@@ -5422,14 +5422,14 @@ async function createServerHandle(config) {
|
|
|
5422
5422
|
if (!session) {
|
|
5423
5423
|
return res.status(404).json({ error: "Session not found" });
|
|
5424
5424
|
}
|
|
5425
|
-
const { stopSessionExecution } = await import("./chat-handler-
|
|
5426
|
-
const { cancelQuestionsForSession: cancelQuestionsForSession2, cancelPathConfirmationsForSession: cancelPathConfirmationsForSession2 } = await import("./tools-
|
|
5425
|
+
const { stopSessionExecution } = await import("./chat-handler-3ND7S63I.js");
|
|
5426
|
+
const { cancelQuestionsForSession: cancelQuestionsForSession2, cancelPathConfirmationsForSession: cancelPathConfirmationsForSession2 } = await import("./tools-PYJRXESR.js");
|
|
5427
5427
|
stopSessionExecution(sessionId, sessionManager);
|
|
5428
5428
|
abortSession(sessionId);
|
|
5429
5429
|
cancelQuestionsForSession2(sessionId, "Session stopped by user");
|
|
5430
5430
|
cancelPathConfirmationsForSession2(sessionId, "Session stopped by user");
|
|
5431
5431
|
sessionManager.clearMessageQueue(sessionId);
|
|
5432
|
-
const eventStore = (await import("./events-
|
|
5432
|
+
const eventStore = (await import("./events-2NH6YMVZ.js")).getEventStore();
|
|
5433
5433
|
eventStore.append(sessionId, { type: "running.changed", data: { isRunning: false } });
|
|
5434
5434
|
res.json({ success: true });
|
|
5435
5435
|
});
|
|
@@ -5882,7 +5882,7 @@ async function createServerHandle(config) {
|
|
|
5882
5882
|
providerManager
|
|
5883
5883
|
);
|
|
5884
5884
|
const wss = wssExports.wss;
|
|
5885
|
-
const { QueueProcessor } = await import("./processor-
|
|
5885
|
+
const { QueueProcessor } = await import("./processor-NEW6ZPBK.js");
|
|
5886
5886
|
const queueProcessor = new QueueProcessor({
|
|
5887
5887
|
sessionManager,
|
|
5888
5888
|
providerManager,
|
|
@@ -5955,4 +5955,4 @@ export {
|
|
|
5955
5955
|
createServerHandle,
|
|
5956
5956
|
createServer
|
|
5957
5957
|
};
|
|
5958
|
-
//# sourceMappingURL=chunk-
|
|
5958
|
+
//# sourceMappingURL=chunk-B4UL2NM6.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-X6T4DMOT.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-DPCBXLPY.js.map
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getEventStore,
|
|
3
3
|
updateSessionMetadata
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-LRXDM2PJ.js";
|
|
5
5
|
import {
|
|
6
6
|
buildMessagesFromStoredEvents,
|
|
7
7
|
foldPendingConfirmations
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-PFRQO5Z3.js";
|
|
9
9
|
import {
|
|
10
10
|
createContextStateMessage,
|
|
11
11
|
createSessionStateMessage
|
|
@@ -143,4 +143,4 @@ export {
|
|
|
143
143
|
needsNameGenerationCheck,
|
|
144
144
|
applyGeneratedSessionName
|
|
145
145
|
};
|
|
146
|
-
//# sourceMappingURL=chunk-
|
|
146
|
+
//# sourceMappingURL=chunk-ENAZTRCR.js.map
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
foldSessionState,
|
|
7
7
|
spreadOptionalMessageFields,
|
|
8
8
|
stripPromptContextMessages
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-PFRQO5Z3.js";
|
|
10
10
|
import {
|
|
11
11
|
getDatabase
|
|
12
12
|
} from "./chunk-BLNFJ22S.js";
|
|
@@ -1181,4 +1181,4 @@ export {
|
|
|
1181
1181
|
compactContext,
|
|
1182
1182
|
getRecentUserPromptsForSession
|
|
1183
1183
|
};
|
|
1184
|
-
//# sourceMappingURL=chunk-
|
|
1184
|
+
//# sourceMappingURL=chunk-LRXDM2PJ.js.map
|
|
@@ -24,7 +24,7 @@ import {
|
|
|
24
24
|
getContextMessages,
|
|
25
25
|
getCurrentContextWindowId,
|
|
26
26
|
getEventStore
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-LRXDM2PJ.js";
|
|
28
28
|
import {
|
|
29
29
|
createChatDoneMessage,
|
|
30
30
|
createChatMessageMessage,
|
|
@@ -3380,7 +3380,7 @@ var callSubAgentTool = {
|
|
|
3380
3380
|
};
|
|
3381
3381
|
}
|
|
3382
3382
|
try {
|
|
3383
|
-
const { getToolRegistryForAgent: getToolRegistryForAgent2 } = await import("./tools-
|
|
3383
|
+
const { getToolRegistryForAgent: getToolRegistryForAgent2 } = await import("./tools-PYJRXESR.js");
|
|
3384
3384
|
const toolRegistry = getToolRegistryForAgent2(agentDef);
|
|
3385
3385
|
const turnMetrics = new TurnMetrics();
|
|
3386
3386
|
const result = await executeSubAgent({
|
|
@@ -4805,4 +4805,4 @@ export {
|
|
|
4805
4805
|
getToolRegistryForAgent,
|
|
4806
4806
|
createToolRegistry
|
|
4807
4807
|
};
|
|
4808
|
-
//# sourceMappingURL=chunk-
|
|
4808
|
+
//# sourceMappingURL=chunk-NKKB55E4.js.map
|
|
@@ -13,14 +13,14 @@ import {
|
|
|
13
13
|
getToolRegistryForAgent,
|
|
14
14
|
loadAllAgentsDefault,
|
|
15
15
|
runTopLevelAgentLoop
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-NKKB55E4.js";
|
|
17
17
|
import {
|
|
18
18
|
getCurrentContextWindowId,
|
|
19
19
|
getEventStore
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-LRXDM2PJ.js";
|
|
21
21
|
import {
|
|
22
22
|
buildSnapshotFromSessionState
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-PFRQO5Z3.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-OIDMZVTJ.js.map
|
|
@@ -573,44 +573,34 @@ function foldSessionState(events, initialWindowId, maxTokens, initialMessages) {
|
|
|
573
573
|
canCompact: false
|
|
574
574
|
};
|
|
575
575
|
const contextState = baseContextState.compactionCount !== contextResult.compactionCount || baseContextState.maxTokens !== maxTokens ? { ...baseContextState, compactionCount: contextResult.compactionCount, maxTokens } : { ...baseContextState, maxTokens };
|
|
576
|
-
let
|
|
576
|
+
let messageReminderMode;
|
|
577
|
+
let snapshotReminderMode;
|
|
577
578
|
for (let i = events.length - 1; i >= 0; i--) {
|
|
578
579
|
const event = events[i];
|
|
580
|
+
if (event.type === "message.start") {
|
|
581
|
+
const data = event.data;
|
|
582
|
+
if (data.role === "user" && data.messageKind === "auto-prompt" && data.content?.includes("<system-reminder>")) {
|
|
583
|
+
if (data.content.includes("Plan Mode")) {
|
|
584
|
+
messageReminderMode = { seq: event.seq, mode: "planner" };
|
|
585
|
+
} else if (data.content.includes("Build Mode")) {
|
|
586
|
+
messageReminderMode = { seq: event.seq, mode: "builder" };
|
|
587
|
+
}
|
|
588
|
+
}
|
|
589
|
+
}
|
|
579
590
|
if (event.type === "turn.snapshot") {
|
|
580
591
|
const snapshotData = event.data;
|
|
581
592
|
if (snapshotData.lastModeWithReminder) {
|
|
582
|
-
|
|
583
|
-
break;
|
|
593
|
+
snapshotReminderMode = { seq: event.seq, mode: snapshotData.lastModeWithReminder };
|
|
584
594
|
}
|
|
585
|
-
for (let j = snapshotData.messages.length - 1; j >= 0; j--) {
|
|
586
|
-
const msg = snapshotData.messages[j];
|
|
587
|
-
if (msg.role === "user" && msg.messageKind === "auto-prompt" && msg.content?.includes("<system-reminder>")) {
|
|
588
|
-
if (msg.content.includes("Plan Mode")) {
|
|
589
|
-
lastModeWithReminder = "planner";
|
|
590
|
-
} else if (msg.content.includes("Build Mode")) {
|
|
591
|
-
lastModeWithReminder = "builder";
|
|
592
|
-
}
|
|
593
|
-
break;
|
|
594
|
-
}
|
|
595
|
-
}
|
|
596
|
-
if (lastModeWithReminder) break;
|
|
597
595
|
}
|
|
598
596
|
}
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
lastModeWithReminder = "planner";
|
|
607
|
-
} else if (data.content.includes("Build Mode")) {
|
|
608
|
-
lastModeWithReminder = "builder";
|
|
609
|
-
}
|
|
610
|
-
break;
|
|
611
|
-
}
|
|
612
|
-
}
|
|
613
|
-
}
|
|
597
|
+
let lastModeWithReminder;
|
|
598
|
+
if (messageReminderMode && snapshotReminderMode) {
|
|
599
|
+
lastModeWithReminder = messageReminderMode.seq > snapshotReminderMode.seq ? messageReminderMode.mode : snapshotReminderMode.mode;
|
|
600
|
+
} else if (snapshotReminderMode) {
|
|
601
|
+
lastModeWithReminder = snapshotReminderMode.mode;
|
|
602
|
+
} else if (messageReminderMode) {
|
|
603
|
+
lastModeWithReminder = messageReminderMode.mode;
|
|
614
604
|
}
|
|
615
605
|
let sessionInit;
|
|
616
606
|
let sessionTitle;
|
|
@@ -817,4 +807,4 @@ export {
|
|
|
817
807
|
getMessagesForWindow,
|
|
818
808
|
buildContextMessagesFromMessages
|
|
819
809
|
};
|
|
820
|
-
//# sourceMappingURL=chunk-
|
|
810
|
+
//# sourceMappingURL=chunk-PFRQO5Z3.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-LRXDM2PJ.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-PFRQO5Z3.js";
|
|
57
57
|
import "./chunk-BLNFJ22S.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-2NH6YMVZ.js.map
|
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
foldTurnEventsToSnapshotMessagesFromInitial,
|
|
18
18
|
getMessagesForWindow,
|
|
19
19
|
spreadOptionalMessageFields
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-PFRQO5Z3.js";
|
|
21
21
|
export {
|
|
22
22
|
buildContextMessagesFromEventHistory,
|
|
23
23
|
buildContextMessagesFromMessages,
|
|
@@ -38,4 +38,4 @@ export {
|
|
|
38
38
|
getMessagesForWindow,
|
|
39
39
|
spreadOptionalMessageFields
|
|
40
40
|
};
|
|
41
|
-
//# sourceMappingURL=folding-
|
|
41
|
+
//# sourceMappingURL=folding-JN2WT44N.js.map
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
runBuilderTurn,
|
|
4
4
|
runChatTurn,
|
|
5
5
|
runVerifierTurn
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-OIDMZVTJ.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-NKKB55E4.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-
|
|
20
|
-
import "./chunk-
|
|
19
|
+
import "./chunk-LRXDM2PJ.js";
|
|
20
|
+
import "./chunk-PFRQO5Z3.js";
|
|
21
21
|
import "./chunk-KFBIHS3S.js";
|
|
22
22
|
import "./chunk-22CTURMH.js";
|
|
23
23
|
import "./chunk-GQZGIMJO.js";
|
|
@@ -39,4 +39,4 @@ export {
|
|
|
39
39
|
runChatTurn,
|
|
40
40
|
runVerifierTurn
|
|
41
41
|
};
|
|
42
|
-
//# sourceMappingURL=orchestrator-
|
|
42
|
+
//# sourceMappingURL=orchestrator-6V4V2ODS.js.map
|
package/dist/package.json
CHANGED
|
@@ -5,11 +5,11 @@ import {
|
|
|
5
5
|
generateSessionName,
|
|
6
6
|
getSessionMessageCount,
|
|
7
7
|
needsNameGenerationCheck
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-ENAZTRCR.js";
|
|
9
9
|
import {
|
|
10
10
|
getEventStore
|
|
11
|
-
} from "./chunk-
|
|
12
|
-
import "./chunk-
|
|
11
|
+
} from "./chunk-LRXDM2PJ.js";
|
|
12
|
+
import "./chunk-PFRQO5Z3.js";
|
|
13
13
|
import {
|
|
14
14
|
createChatMessageMessage,
|
|
15
15
|
createSessionRunningMessage
|
|
@@ -173,7 +173,7 @@ var QueueProcessor = class {
|
|
|
173
173
|
backend: provider?.backend ?? llmClient.getBackend(),
|
|
174
174
|
model: llmClient.getModel()
|
|
175
175
|
};
|
|
176
|
-
const { runChatTurn } = await import("./orchestrator-
|
|
176
|
+
const { runChatTurn } = await import("./orchestrator-6V4V2ODS.js");
|
|
177
177
|
const runChatTurnParams = buildRunChatTurnParams({
|
|
178
178
|
sessionManager,
|
|
179
179
|
sessionId,
|
|
@@ -210,4 +210,4 @@ var QueueProcessor = class {
|
|
|
210
210
|
export {
|
|
211
211
|
QueueProcessor
|
|
212
212
|
};
|
|
213
|
-
//# sourceMappingURL=processor-
|
|
213
|
+
//# sourceMappingURL=processor-NEW6ZPBK.js.map
|
|
@@ -6,17 +6,17 @@ import {
|
|
|
6
6
|
import {
|
|
7
7
|
VERSION,
|
|
8
8
|
createServer
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
9
|
+
} from "./chunk-B4UL2NM6.js";
|
|
10
|
+
import "./chunk-OIDMZVTJ.js";
|
|
11
|
+
import "./chunk-NKKB55E4.js";
|
|
12
12
|
import "./chunk-NBU6KIOD.js";
|
|
13
13
|
import "./chunk-574HZVLE.js";
|
|
14
14
|
import "./chunk-7JPKRM6M.js";
|
|
15
15
|
import "./chunk-HYIQFRYJ.js";
|
|
16
16
|
import "./chunk-F2VWCCMC.js";
|
|
17
17
|
import "./chunk-WNZIUQ2L.js";
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-
|
|
18
|
+
import "./chunk-LRXDM2PJ.js";
|
|
19
|
+
import "./chunk-PFRQO5Z3.js";
|
|
20
20
|
import "./chunk-KFBIHS3S.js";
|
|
21
21
|
import "./chunk-22CTURMH.js";
|
|
22
22
|
import "./chunk-GQZGIMJO.js";
|
|
@@ -187,4 +187,4 @@ async function runServe(options) {
|
|
|
187
187
|
export {
|
|
188
188
|
runServe
|
|
189
189
|
};
|
|
190
|
-
//# sourceMappingURL=serve-
|
|
190
|
+
//# sourceMappingURL=serve-X6T4DMOT.js.map
|
package/dist/server/index.js
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createServer,
|
|
3
3
|
createServerHandle
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-
|
|
6
|
-
import "../chunk-
|
|
4
|
+
} from "../chunk-B4UL2NM6.js";
|
|
5
|
+
import "../chunk-OIDMZVTJ.js";
|
|
6
|
+
import "../chunk-NKKB55E4.js";
|
|
7
7
|
import "../chunk-NBU6KIOD.js";
|
|
8
8
|
import "../chunk-574HZVLE.js";
|
|
9
9
|
import "../chunk-7JPKRM6M.js";
|
|
10
10
|
import "../chunk-HYIQFRYJ.js";
|
|
11
11
|
import "../chunk-F2VWCCMC.js";
|
|
12
12
|
import "../chunk-WNZIUQ2L.js";
|
|
13
|
-
import "../chunk-
|
|
14
|
-
import "../chunk-
|
|
13
|
+
import "../chunk-LRXDM2PJ.js";
|
|
14
|
+
import "../chunk-PFRQO5Z3.js";
|
|
15
15
|
import "../chunk-KFBIHS3S.js";
|
|
16
16
|
import "../chunk-22CTURMH.js";
|
|
17
17
|
import "../chunk-GQZGIMJO.js";
|
|
@@ -11,13 +11,13 @@ import {
|
|
|
11
11
|
requestPathAccess,
|
|
12
12
|
stepDoneTool,
|
|
13
13
|
validateToolAction
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-NKKB55E4.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-
|
|
20
|
-
import "./chunk-
|
|
19
|
+
import "./chunk-LRXDM2PJ.js";
|
|
20
|
+
import "./chunk-PFRQO5Z3.js";
|
|
21
21
|
import "./chunk-KFBIHS3S.js";
|
|
22
22
|
import {
|
|
23
23
|
AskUserInterrupt,
|
|
@@ -48,4 +48,4 @@ export {
|
|
|
48
48
|
stepDoneTool,
|
|
49
49
|
validateToolAction
|
|
50
50
|
};
|
|
51
|
-
//# sourceMappingURL=tools-
|
|
51
|
+
//# sourceMappingURL=tools-PYJRXESR.js.map
|