openfox 1.6.5 → 1.6.6
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-BGPUJ2IJ.js → auto-compaction-3RZRYJJU.js} +4 -4
- package/dist/{chat-handler-DELWKHRW.js → chat-handler-M5YTW4BH.js} +6 -6
- package/dist/{chunk-2FZLQNUN.js → chunk-3XEAHQIB.js} +12 -12
- package/dist/{chunk-RALYW2S4.js → chunk-4DPU247N.js} +4 -4
- package/dist/{chunk-LL6IJWJ2.js → chunk-7H3O5YYX.js} +3 -3
- package/dist/{chunk-IOSH6XWL.js → chunk-DBDUBKRJ.js} +2 -2
- package/dist/{chunk-JHGYGSPS.js → chunk-JAFNVZWY.js} +4 -4
- package/dist/{chunk-G7BJX3NE.js → chunk-Y6HBEACI.js} +1 -1
- package/dist/cli/dev.js +1 -1
- package/dist/cli/index.js +1 -1
- package/dist/{orchestrator-RUIWZI2U.js → orchestrator-IEMRFHNX.js} +5 -5
- package/dist/package.json +1 -1
- package/dist/{processor-MS4OX46A.js → processor-MSHA2CGY.js} +4 -4
- package/dist/{protocol-THDNQDER.js → protocol-EX726YIK.js} +3 -3
- package/dist/{protocol-CwUrtnZR.d.ts → protocol-I7rn7Msg.d.ts} +1 -0
- package/dist/{serve-45IVLLMI.js → serve-PLWVGFNJ.js} +6 -6
- package/dist/server/index.d.ts +1 -1
- package/dist/server/index.js +5 -5
- package/dist/shared/index.d.ts +2 -2
- package/dist/shared/index.js +1 -1
- package/dist/{tools-M457R5HW.js → tools-SEY5EQUM.js} +4 -4
- package/dist/web/assets/{index-UAOTZy0A.css → index-DOwkDgJu.css} +1 -1
- package/dist/web/assets/{index-DKTHAEgV.js → index-TAQh3Ryg.js} +62 -62
- package/dist/web/index.html +2 -2
- package/dist/web/sw.js +1 -1
- package/package.json +1 -1
|
@@ -2,18 +2,18 @@ import {
|
|
|
2
2
|
maybeAutoCompactContext,
|
|
3
3
|
performManualContextCompaction,
|
|
4
4
|
resolveCompactionStatsIdentity
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-JAFNVZWY.js";
|
|
6
6
|
import "./chunk-NBU6KIOD.js";
|
|
7
7
|
import "./chunk-574HZVLE.js";
|
|
8
8
|
import "./chunk-XFXOSPYH.js";
|
|
9
9
|
import "./chunk-ZRDRYL6W.js";
|
|
10
10
|
import "./chunk-WQ4W5H6A.js";
|
|
11
|
-
import "./chunk-
|
|
11
|
+
import "./chunk-4DPU247N.js";
|
|
12
12
|
import "./chunk-22CTURMH.js";
|
|
13
13
|
import "./chunk-7IOZFJBW.js";
|
|
14
14
|
import "./chunk-XKFPU2FA.js";
|
|
15
15
|
import "./chunk-3EHGGBWE.js";
|
|
16
|
-
import "./chunk-
|
|
16
|
+
import "./chunk-Y6HBEACI.js";
|
|
17
17
|
import "./chunk-R4HADRYO.js";
|
|
18
18
|
import "./chunk-TVQOONDR.js";
|
|
19
19
|
import "./chunk-PNBH3RAX.js";
|
|
@@ -22,4 +22,4 @@ export {
|
|
|
22
22
|
performManualContextCompaction,
|
|
23
23
|
resolveCompactionStatsIdentity
|
|
24
24
|
};
|
|
25
|
-
//# sourceMappingURL=auto-compaction-
|
|
25
|
+
//# sourceMappingURL=auto-compaction-3RZRYJJU.js.map
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
} from "./chunk-QDEKU5RL.js";
|
|
5
5
|
import {
|
|
6
6
|
runChatTurn
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import "./chunk-
|
|
7
|
+
} from "./chunk-7H3O5YYX.js";
|
|
8
|
+
import "./chunk-JAFNVZWY.js";
|
|
9
9
|
import "./chunk-NBU6KIOD.js";
|
|
10
10
|
import "./chunk-574HZVLE.js";
|
|
11
11
|
import "./chunk-XFXOSPYH.js";
|
|
@@ -23,12 +23,12 @@ import {
|
|
|
23
23
|
createPhaseChangedMessage,
|
|
24
24
|
createSessionRunningMessage,
|
|
25
25
|
createSessionStateMessage
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-4DPU247N.js";
|
|
27
27
|
import "./chunk-22CTURMH.js";
|
|
28
28
|
import "./chunk-7IOZFJBW.js";
|
|
29
29
|
import "./chunk-XKFPU2FA.js";
|
|
30
30
|
import "./chunk-3EHGGBWE.js";
|
|
31
|
-
import "./chunk-
|
|
31
|
+
import "./chunk-Y6HBEACI.js";
|
|
32
32
|
import "./chunk-R4HADRYO.js";
|
|
33
33
|
import "./chunk-TVQOONDR.js";
|
|
34
34
|
import {
|
|
@@ -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-3RZRYJJU.js");
|
|
65
65
|
await maybeAutoCompactContext({
|
|
66
66
|
sessionManager,
|
|
67
67
|
sessionId,
|
|
@@ -200,4 +200,4 @@ export {
|
|
|
200
200
|
startChatSession,
|
|
201
201
|
stopSessionExecution
|
|
202
202
|
};
|
|
203
|
-
//# sourceMappingURL=chat-handler-
|
|
203
|
+
//# sourceMappingURL=chat-handler-M5YTW4BH.js.map
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
createVerifierNudgeConfig,
|
|
7
7
|
runBuilderTurn,
|
|
8
8
|
runChatTurn
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-7H3O5YYX.js";
|
|
10
10
|
import {
|
|
11
11
|
TurnMetrics,
|
|
12
12
|
agentExists,
|
|
@@ -44,7 +44,7 @@ import {
|
|
|
44
44
|
saveSkill,
|
|
45
45
|
setSkillEnabled,
|
|
46
46
|
skillExists
|
|
47
|
-
} from "./chunk-
|
|
47
|
+
} from "./chunk-JAFNVZWY.js";
|
|
48
48
|
import {
|
|
49
49
|
getPathSeparator,
|
|
50
50
|
getPlatformShell,
|
|
@@ -110,7 +110,7 @@ import {
|
|
|
110
110
|
parseClientMessage,
|
|
111
111
|
serializeServerMessage,
|
|
112
112
|
storedEventToServerMessage
|
|
113
|
-
} from "./chunk-
|
|
113
|
+
} from "./chunk-4DPU247N.js";
|
|
114
114
|
import {
|
|
115
115
|
EventEmitter,
|
|
116
116
|
cancelQuestionsForSession,
|
|
@@ -127,7 +127,7 @@ import {
|
|
|
127
127
|
} from "./chunk-QY7BMXWT.js";
|
|
128
128
|
import {
|
|
129
129
|
createServerMessage
|
|
130
|
-
} from "./chunk-
|
|
130
|
+
} from "./chunk-Y6HBEACI.js";
|
|
131
131
|
import {
|
|
132
132
|
getGlobalConfigDir
|
|
133
133
|
} from "./chunk-R4HADRYO.js";
|
|
@@ -5544,7 +5544,7 @@ function createTerminalRoutes() {
|
|
|
5544
5544
|
}
|
|
5545
5545
|
|
|
5546
5546
|
// src/constants.ts
|
|
5547
|
-
var VERSION = "1.6.
|
|
5547
|
+
var VERSION = "1.6.6";
|
|
5548
5548
|
|
|
5549
5549
|
// src/server/index.ts
|
|
5550
5550
|
var __dirname2 = dirname5(fileURLToPath4(import.meta.url));
|
|
@@ -5850,14 +5850,14 @@ async function createServerHandle(config) {
|
|
|
5850
5850
|
if (!callId || approved === void 0) {
|
|
5851
5851
|
return res.status(400).json({ error: "callId and approved are required" });
|
|
5852
5852
|
}
|
|
5853
|
-
const { providePathConfirmation: providePathConfirmation2 } = await import("./tools-
|
|
5853
|
+
const { providePathConfirmation: providePathConfirmation2 } = await import("./tools-SEY5EQUM.js");
|
|
5854
5854
|
const result = providePathConfirmation2(callId, approved, alwaysAllow);
|
|
5855
5855
|
if (!result.found) {
|
|
5856
5856
|
return res.status(404).json({ error: "No pending path confirmation with that ID" });
|
|
5857
5857
|
}
|
|
5858
5858
|
const { getEventStore: getEventStore2 } = await import("./events-EILPWKYE.js");
|
|
5859
5859
|
const { buildMessagesFromStoredEvents: buildMessagesFromStoredEvents2, foldPendingConfirmations: foldPendingConfirmations2 } = await import("./folding-NZYOXNKK.js");
|
|
5860
|
-
const { createSessionStateMessage: createSessionStateMessage2 } = await import("./protocol-
|
|
5860
|
+
const { createSessionStateMessage: createSessionStateMessage2 } = await import("./protocol-EX726YIK.js");
|
|
5861
5861
|
const eventStore = getEventStore2();
|
|
5862
5862
|
const events = eventStore.getEvents(sessionId);
|
|
5863
5863
|
const messages = buildMessagesFromStoredEvents2(events);
|
|
@@ -5875,7 +5875,7 @@ async function createServerHandle(config) {
|
|
|
5875
5875
|
if (!callId || !answer) {
|
|
5876
5876
|
return res.status(400).json({ error: "callId and answer are required" });
|
|
5877
5877
|
}
|
|
5878
|
-
const { provideAnswer: provideAnswer2 } = await import("./tools-
|
|
5878
|
+
const { provideAnswer: provideAnswer2 } = await import("./tools-SEY5EQUM.js");
|
|
5879
5879
|
const found = provideAnswer2(callId, answer);
|
|
5880
5880
|
if (!found) {
|
|
5881
5881
|
return res.status(404).json({ error: "No pending question with that ID" });
|
|
@@ -5911,8 +5911,8 @@ async function createServerHandle(config) {
|
|
|
5911
5911
|
if (!session) {
|
|
5912
5912
|
return res.status(404).json({ error: "Session not found" });
|
|
5913
5913
|
}
|
|
5914
|
-
const { stopSessionExecution } = await import("./chat-handler-
|
|
5915
|
-
const { cancelQuestionsForSession: cancelQuestionsForSession2, cancelPathConfirmationsForSession: cancelPathConfirmationsForSession2 } = await import("./tools-
|
|
5914
|
+
const { stopSessionExecution } = await import("./chat-handler-M5YTW4BH.js");
|
|
5915
|
+
const { cancelQuestionsForSession: cancelQuestionsForSession2, cancelPathConfirmationsForSession: cancelPathConfirmationsForSession2 } = await import("./tools-SEY5EQUM.js");
|
|
5916
5916
|
stopSessionExecution(sessionId, sessionManager);
|
|
5917
5917
|
abortSession(sessionId);
|
|
5918
5918
|
cancelQuestionsForSession2(sessionId, "Session stopped by user");
|
|
@@ -6360,7 +6360,7 @@ async function createServerHandle(config) {
|
|
|
6360
6360
|
providerManager
|
|
6361
6361
|
);
|
|
6362
6362
|
const wss = wssExports.wss;
|
|
6363
|
-
const { QueueProcessor } = await import("./processor-
|
|
6363
|
+
const { QueueProcessor } = await import("./processor-MSHA2CGY.js");
|
|
6364
6364
|
const queueProcessor = new QueueProcessor({
|
|
6365
6365
|
sessionManager,
|
|
6366
6366
|
providerManager,
|
|
@@ -6433,4 +6433,4 @@ export {
|
|
|
6433
6433
|
createServerHandle,
|
|
6434
6434
|
createServer
|
|
6435
6435
|
};
|
|
6436
|
-
//# sourceMappingURL=chunk-
|
|
6436
|
+
//# sourceMappingURL=chunk-3XEAHQIB.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createServerMessage,
|
|
3
3
|
isClientMessage
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-Y6HBEACI.js";
|
|
5
5
|
|
|
6
6
|
// src/server/ws/protocol.ts
|
|
7
7
|
function enrichMessagesWithToolResults(messages) {
|
|
@@ -95,8 +95,8 @@ function createChatMessageMessage(message) {
|
|
|
95
95
|
function createChatMessageUpdatedMessage(messageId, updates) {
|
|
96
96
|
return createServerMessage("chat.message_updated", { messageId, updates });
|
|
97
97
|
}
|
|
98
|
-
function createChatDoneMessage(messageId, reason, stats) {
|
|
99
|
-
return createServerMessage("chat.done", { messageId, reason, ...stats ? { stats } : {} });
|
|
98
|
+
function createChatDoneMessage(messageId, reason, stats, agentType) {
|
|
99
|
+
return createServerMessage("chat.done", { messageId, reason, ...stats ? { stats } : {}, ...agentType ? { agentType } : {} });
|
|
100
100
|
}
|
|
101
101
|
function createChatErrorMessage(error, recoverable) {
|
|
102
102
|
return createServerMessage("chat.error", { error, recoverable });
|
|
@@ -340,4 +340,4 @@ export {
|
|
|
340
340
|
isQueueCancelPayload,
|
|
341
341
|
storedEventToServerMessage
|
|
342
342
|
};
|
|
343
|
-
//# sourceMappingURL=chunk-
|
|
343
|
+
//# sourceMappingURL=chunk-4DPU247N.js.map
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
getToolRegistryForAgent,
|
|
14
14
|
loadAllAgentsDefault,
|
|
15
15
|
runTopLevelAgentLoop
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-JAFNVZWY.js";
|
|
17
17
|
import {
|
|
18
18
|
getCurrentContextWindowId,
|
|
19
19
|
getEventStore
|
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
} from "./chunk-WQ4W5H6A.js";
|
|
24
24
|
import {
|
|
25
25
|
createChatMessageMessage
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-4DPU247N.js";
|
|
27
27
|
import {
|
|
28
28
|
logger
|
|
29
29
|
} from "./chunk-PNBH3RAX.js";
|
|
@@ -311,4 +311,4 @@ export {
|
|
|
311
311
|
runBuilderTurn,
|
|
312
312
|
runVerifierTurn
|
|
313
313
|
};
|
|
314
|
-
//# sourceMappingURL=chunk-
|
|
314
|
+
//# sourceMappingURL=chunk-7H3O5YYX.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-PLWVGFNJ.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-DBDUBKRJ.js.map
|
|
@@ -27,7 +27,7 @@ import {
|
|
|
27
27
|
createChatToolOutputMessage,
|
|
28
28
|
createChatVisionFallbackMessage,
|
|
29
29
|
createQueueStateMessage
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-4DPU247N.js";
|
|
31
31
|
import {
|
|
32
32
|
AskUserInterrupt,
|
|
33
33
|
askUserTool
|
|
@@ -3551,7 +3551,7 @@ async function executeSubAgent(options) {
|
|
|
3551
3551
|
}
|
|
3552
3552
|
eventStore.append(sessionId, createChatDoneEvent(assistantMsgId, "complete", stats));
|
|
3553
3553
|
if (onMessage) {
|
|
3554
|
-
onMessage(createChatDoneMessage(assistantMsgId, "complete", stats));
|
|
3554
|
+
onMessage(createChatDoneMessage(assistantMsgId, "complete", stats, "sub-agent"));
|
|
3555
3555
|
}
|
|
3556
3556
|
break;
|
|
3557
3557
|
}
|
|
@@ -3648,7 +3648,7 @@ var callSubAgentTool = {
|
|
|
3648
3648
|
};
|
|
3649
3649
|
}
|
|
3650
3650
|
try {
|
|
3651
|
-
const { getToolRegistryForAgent: getToolRegistryForAgent2 } = await import("./tools-
|
|
3651
|
+
const { getToolRegistryForAgent: getToolRegistryForAgent2 } = await import("./tools-SEY5EQUM.js");
|
|
3652
3652
|
const toolRegistry = getToolRegistryForAgent2(agentDef);
|
|
3653
3653
|
const turnMetrics = new TurnMetrics();
|
|
3654
3654
|
const result = await executeSubAgent({
|
|
@@ -4781,4 +4781,4 @@ export {
|
|
|
4781
4781
|
getToolRegistryForAgent,
|
|
4782
4782
|
createToolRegistry
|
|
4783
4783
|
};
|
|
4784
|
-
//# sourceMappingURL=chunk-
|
|
4784
|
+
//# sourceMappingURL=chunk-JAFNVZWY.js.map
|
package/dist/cli/dev.js
CHANGED
package/dist/cli/index.js
CHANGED
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
runBuilderTurn,
|
|
4
4
|
runChatTurn,
|
|
5
5
|
runVerifierTurn
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-7H3O5YYX.js";
|
|
7
7
|
import {
|
|
8
8
|
TurnMetrics,
|
|
9
9
|
createChatDoneEvent,
|
|
@@ -11,18 +11,18 @@ import {
|
|
|
11
11
|
createMessageStartEvent,
|
|
12
12
|
createToolCallEvent,
|
|
13
13
|
createToolResultEvent
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-JAFNVZWY.js";
|
|
15
15
|
import "./chunk-NBU6KIOD.js";
|
|
16
16
|
import "./chunk-574HZVLE.js";
|
|
17
17
|
import "./chunk-XFXOSPYH.js";
|
|
18
18
|
import "./chunk-ZRDRYL6W.js";
|
|
19
19
|
import "./chunk-WQ4W5H6A.js";
|
|
20
|
-
import "./chunk-
|
|
20
|
+
import "./chunk-4DPU247N.js";
|
|
21
21
|
import "./chunk-22CTURMH.js";
|
|
22
22
|
import "./chunk-7IOZFJBW.js";
|
|
23
23
|
import "./chunk-XKFPU2FA.js";
|
|
24
24
|
import "./chunk-3EHGGBWE.js";
|
|
25
|
-
import "./chunk-
|
|
25
|
+
import "./chunk-Y6HBEACI.js";
|
|
26
26
|
import "./chunk-R4HADRYO.js";
|
|
27
27
|
import "./chunk-TVQOONDR.js";
|
|
28
28
|
import "./chunk-PNBH3RAX.js";
|
|
@@ -38,4 +38,4 @@ export {
|
|
|
38
38
|
runChatTurn,
|
|
39
39
|
runVerifierTurn
|
|
40
40
|
};
|
|
41
|
-
//# sourceMappingURL=orchestrator-
|
|
41
|
+
//# sourceMappingURL=orchestrator-IEMRFHNX.js.map
|
package/dist/package.json
CHANGED
|
@@ -15,9 +15,9 @@ import {
|
|
|
15
15
|
createContextStateMessage,
|
|
16
16
|
createSessionRunningMessage,
|
|
17
17
|
createSessionStateMessage
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-4DPU247N.js";
|
|
19
19
|
import "./chunk-3EHGGBWE.js";
|
|
20
|
-
import "./chunk-
|
|
20
|
+
import "./chunk-Y6HBEACI.js";
|
|
21
21
|
import "./chunk-TVQOONDR.js";
|
|
22
22
|
import {
|
|
23
23
|
logger
|
|
@@ -188,7 +188,7 @@ var QueueProcessor = class {
|
|
|
188
188
|
backend: provider?.backend ?? llmClient.getBackend(),
|
|
189
189
|
model: llmClient.getModel()
|
|
190
190
|
};
|
|
191
|
-
const { runChatTurn } = await import("./orchestrator-
|
|
191
|
+
const { runChatTurn } = await import("./orchestrator-IEMRFHNX.js");
|
|
192
192
|
runChatTurn({
|
|
193
193
|
sessionManager,
|
|
194
194
|
sessionId,
|
|
@@ -233,4 +233,4 @@ var QueueProcessor = class {
|
|
|
233
233
|
export {
|
|
234
234
|
QueueProcessor
|
|
235
235
|
};
|
|
236
|
-
//# sourceMappingURL=processor-
|
|
236
|
+
//# sourceMappingURL=processor-MSHA2CGY.js.map
|
|
@@ -40,8 +40,8 @@ import {
|
|
|
40
40
|
parseClientMessage,
|
|
41
41
|
serializeServerMessage,
|
|
42
42
|
storedEventToServerMessage
|
|
43
|
-
} from "./chunk-
|
|
44
|
-
import "./chunk-
|
|
43
|
+
} from "./chunk-4DPU247N.js";
|
|
44
|
+
import "./chunk-Y6HBEACI.js";
|
|
45
45
|
export {
|
|
46
46
|
createChatAskUserMessage,
|
|
47
47
|
createChatDeltaMessage,
|
|
@@ -85,4 +85,4 @@ export {
|
|
|
85
85
|
serializeServerMessage,
|
|
86
86
|
storedEventToServerMessage
|
|
87
87
|
};
|
|
88
|
-
//# sourceMappingURL=protocol-
|
|
88
|
+
//# sourceMappingURL=protocol-EX726YIK.js.map
|
|
@@ -6,10 +6,10 @@ import {
|
|
|
6
6
|
import {
|
|
7
7
|
VERSION,
|
|
8
8
|
createServer
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-3XEAHQIB.js";
|
|
10
10
|
import "./chunk-QDEKU5RL.js";
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
11
|
+
import "./chunk-7H3O5YYX.js";
|
|
12
|
+
import "./chunk-JAFNVZWY.js";
|
|
13
13
|
import "./chunk-NBU6KIOD.js";
|
|
14
14
|
import "./chunk-574HZVLE.js";
|
|
15
15
|
import "./chunk-AE5GO5GZ.js";
|
|
@@ -17,13 +17,13 @@ import "./chunk-XCJPBJCE.js";
|
|
|
17
17
|
import "./chunk-XFXOSPYH.js";
|
|
18
18
|
import "./chunk-ZRDRYL6W.js";
|
|
19
19
|
import "./chunk-WQ4W5H6A.js";
|
|
20
|
-
import "./chunk-
|
|
20
|
+
import "./chunk-4DPU247N.js";
|
|
21
21
|
import "./chunk-22CTURMH.js";
|
|
22
22
|
import "./chunk-7IOZFJBW.js";
|
|
23
23
|
import "./chunk-XKFPU2FA.js";
|
|
24
24
|
import "./chunk-3EHGGBWE.js";
|
|
25
25
|
import "./chunk-QY7BMXWT.js";
|
|
26
|
-
import "./chunk-
|
|
26
|
+
import "./chunk-Y6HBEACI.js";
|
|
27
27
|
import {
|
|
28
28
|
ensureDataDirExists,
|
|
29
29
|
getDatabasePath,
|
|
@@ -188,4 +188,4 @@ async function runServe(options) {
|
|
|
188
188
|
export {
|
|
189
189
|
runServe
|
|
190
190
|
};
|
|
191
|
-
//# sourceMappingURL=serve-
|
|
191
|
+
//# sourceMappingURL=serve-PLWVGFNJ.js.map
|
package/dist/server/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { aT as ToolCall, c as Attachment, V as Diagnostic, ap as Provider, aa as ModelConfig, aF as Session, aO as SessionSummary, ah as Project, aJ as SessionMode, aL as SessionPhase, M as Message, N as Criterion, P as CriterionStatus, aB as QueuedMessage, H as ContextState, R as DangerLevel$1, aD as ServerMessage, aQ as StatsIdentity, aW as ToolResult, F as Config } from '../protocol-
|
|
1
|
+
import { aT as ToolCall, c as Attachment, V as Diagnostic, ap as Provider, aa as ModelConfig, aF as Session, aO as SessionSummary, ah as Project, aJ as SessionMode, aL as SessionPhase, M as Message, N as Criterion, P as CriterionStatus, aB as QueuedMessage, H as ContextState, R as DangerLevel$1, aD as ServerMessage, aQ as StatsIdentity, aW as ToolResult, F as Config } from '../protocol-I7rn7Msg.js';
|
|
2
2
|
import { Server } from 'node:http';
|
|
3
3
|
|
|
4
4
|
interface LLMMessage {
|
package/dist/server/index.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createServer,
|
|
3
3
|
createServerHandle
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-3XEAHQIB.js";
|
|
5
5
|
import "../chunk-QDEKU5RL.js";
|
|
6
|
-
import "../chunk-
|
|
7
|
-
import "../chunk-
|
|
6
|
+
import "../chunk-7H3O5YYX.js";
|
|
7
|
+
import "../chunk-JAFNVZWY.js";
|
|
8
8
|
import "../chunk-NBU6KIOD.js";
|
|
9
9
|
import "../chunk-574HZVLE.js";
|
|
10
10
|
import "../chunk-AE5GO5GZ.js";
|
|
@@ -12,13 +12,13 @@ import "../chunk-XCJPBJCE.js";
|
|
|
12
12
|
import "../chunk-XFXOSPYH.js";
|
|
13
13
|
import "../chunk-ZRDRYL6W.js";
|
|
14
14
|
import "../chunk-WQ4W5H6A.js";
|
|
15
|
-
import "../chunk-
|
|
15
|
+
import "../chunk-4DPU247N.js";
|
|
16
16
|
import "../chunk-22CTURMH.js";
|
|
17
17
|
import "../chunk-7IOZFJBW.js";
|
|
18
18
|
import "../chunk-XKFPU2FA.js";
|
|
19
19
|
import "../chunk-3EHGGBWE.js";
|
|
20
20
|
import "../chunk-QY7BMXWT.js";
|
|
21
|
-
import "../chunk-
|
|
21
|
+
import "../chunk-Y6HBEACI.js";
|
|
22
22
|
import "../chunk-R4HADRYO.js";
|
|
23
23
|
import "../chunk-TVQOONDR.js";
|
|
24
24
|
import "../chunk-T3CIBJDW.js";
|
package/dist/shared/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { M as Message, S as SessionStats } from '../protocol-
|
|
2
|
-
export { A as AgentEvent, a as AskAnswerPayload, b as AskUserEvent, c as Attachment, B as BackgroundProcess, d as BackgroundProcessExitedPayload, e as BackgroundProcessOutputPayload, f as BackgroundProcessRemovedPayload, g as BackgroundProcessStartedPayload, h as BackgroundProcessStatus, C as CallStatsDataPoint, i as ChatAskUserPayload, j as ChatDeltaPayload, k as ChatDonePayload, l as ChatErrorPayload, m as ChatFormatRetryPayload, n as ChatMessagePayload, o as ChatMessageUpdatedPayload, p as ChatPathConfirmationPayload, q as ChatProgressPayload, r as ChatSendPayload, s as ChatSummaryPayload, t as ChatThinkingPayload, u as ChatTodoPayload, v as ChatToolCallPayload, w as ChatToolOutputPayload, x as ChatToolPreparingPayload, y as ChatToolResultPayload, z as ChatVisionFallbackPayload, D as ClientMessage, E as ClientMessageType, F as Config, G as ContextCompactionEvent, H as ContextState, I as ContextStatePayload, J as ContextWindow, K as CriteriaEditPayload, L as CriteriaUpdatedPayload, N as Criterion, O as CriterionAttempt, P as CriterionStatus, Q as CriterionValidation, R as DangerLevel, T as DevServerOutputPayload, U as DevServerStatePayload, V as Diagnostic, W as EditContextEdit, X as EditContextLine, Y as EditContextRegion, Z as ErrorPayload, _ as ExecutionState, $ as FileReadEntry, a0 as InjectedFile, a1 as LLMCallStats, a2 as LlmBackend, a3 as LogLine, a4 as LspDiagnosticsPayload, a5 as MessageRole, a6 as MessageSegment, a7 as MessageStats, a8 as ModeChangedPayload, a9 as ModeSwitchPayload, aa as ModelConfig, ab as ModelSessionStats, ac as PathConfirmPayload, ad as PathConfirmationReason, ae as PendingPathConfirmationPayload, af as PhaseChangedPayload, ag as PreparingToolCall, ah as Project, ai as ProjectDeletedPayload, aj as ProjectListPayload, ak as ProjectStatePayload, al as PromptContext, am as PromptContextMessage, an as PromptContextTool, ao as PromptRequestOptions, ap as Provider, aq as ProviderBackend, ar as ProviderChangedPayload, as as QueueAddedEvent, at as QueueAsapPayload, au as QueueCancelPayload, av as QueueCancelledEvent, aw as QueueCompletionPayload, ax as QueueDrainedEvent, ay as QueueEvent, az as QueueEventType, aA as QueueStatePayload, aB as QueuedMessage, aC as RecentUserPrompt, aD as ServerMessage, aE as ServerMessageType, aF as Session, aG as SessionListPayload, aH as SessionLoadPayload, aI as SessionMetadata, aJ as SessionMode, aK as SessionNameGeneratedPayload, aL as SessionPhase, aM as SessionRunningPayload, aN as SessionStatePayload, aO as SessionSummary, aP as StatsDataPoint, aQ as StatsIdentity, aR as TaskCompletedPayload, aS as Todo, aT as ToolCall, aU as ToolMode, aV as ToolName, aW as ToolResult, aX as ValidationResult, aY as createClientMessage, aZ as createServerMessage, a_ as isClientMessage, a$ as isServerMessage } from '../protocol-
|
|
1
|
+
import { M as Message, S as SessionStats } from '../protocol-I7rn7Msg.js';
|
|
2
|
+
export { A as AgentEvent, a as AskAnswerPayload, b as AskUserEvent, c as Attachment, B as BackgroundProcess, d as BackgroundProcessExitedPayload, e as BackgroundProcessOutputPayload, f as BackgroundProcessRemovedPayload, g as BackgroundProcessStartedPayload, h as BackgroundProcessStatus, C as CallStatsDataPoint, i as ChatAskUserPayload, j as ChatDeltaPayload, k as ChatDonePayload, l as ChatErrorPayload, m as ChatFormatRetryPayload, n as ChatMessagePayload, o as ChatMessageUpdatedPayload, p as ChatPathConfirmationPayload, q as ChatProgressPayload, r as ChatSendPayload, s as ChatSummaryPayload, t as ChatThinkingPayload, u as ChatTodoPayload, v as ChatToolCallPayload, w as ChatToolOutputPayload, x as ChatToolPreparingPayload, y as ChatToolResultPayload, z as ChatVisionFallbackPayload, D as ClientMessage, E as ClientMessageType, F as Config, G as ContextCompactionEvent, H as ContextState, I as ContextStatePayload, J as ContextWindow, K as CriteriaEditPayload, L as CriteriaUpdatedPayload, N as Criterion, O as CriterionAttempt, P as CriterionStatus, Q as CriterionValidation, R as DangerLevel, T as DevServerOutputPayload, U as DevServerStatePayload, V as Diagnostic, W as EditContextEdit, X as EditContextLine, Y as EditContextRegion, Z as ErrorPayload, _ as ExecutionState, $ as FileReadEntry, a0 as InjectedFile, a1 as LLMCallStats, a2 as LlmBackend, a3 as LogLine, a4 as LspDiagnosticsPayload, a5 as MessageRole, a6 as MessageSegment, a7 as MessageStats, a8 as ModeChangedPayload, a9 as ModeSwitchPayload, aa as ModelConfig, ab as ModelSessionStats, ac as PathConfirmPayload, ad as PathConfirmationReason, ae as PendingPathConfirmationPayload, af as PhaseChangedPayload, ag as PreparingToolCall, ah as Project, ai as ProjectDeletedPayload, aj as ProjectListPayload, ak as ProjectStatePayload, al as PromptContext, am as PromptContextMessage, an as PromptContextTool, ao as PromptRequestOptions, ap as Provider, aq as ProviderBackend, ar as ProviderChangedPayload, as as QueueAddedEvent, at as QueueAsapPayload, au as QueueCancelPayload, av as QueueCancelledEvent, aw as QueueCompletionPayload, ax as QueueDrainedEvent, ay as QueueEvent, az as QueueEventType, aA as QueueStatePayload, aB as QueuedMessage, aC as RecentUserPrompt, aD as ServerMessage, aE as ServerMessageType, aF as Session, aG as SessionListPayload, aH as SessionLoadPayload, aI as SessionMetadata, aJ as SessionMode, aK as SessionNameGeneratedPayload, aL as SessionPhase, aM as SessionRunningPayload, aN as SessionStatePayload, aO as SessionSummary, aP as StatsDataPoint, aQ as StatsIdentity, aR as TaskCompletedPayload, aS as Todo, aT as ToolCall, aU as ToolMode, aV as ToolName, aW as ToolResult, aX as ValidationResult, aY as createClientMessage, aZ as createServerMessage, a_ as isClientMessage, a$ as isServerMessage } from '../protocol-I7rn7Msg.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* Session stats computation - aggregates response-level MessageStats from
|
package/dist/shared/index.js
CHANGED
|
@@ -11,13 +11,13 @@ import {
|
|
|
11
11
|
requestPathAccess,
|
|
12
12
|
stepDoneTool,
|
|
13
13
|
validateToolAction
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-JAFNVZWY.js";
|
|
15
15
|
import "./chunk-NBU6KIOD.js";
|
|
16
16
|
import "./chunk-574HZVLE.js";
|
|
17
17
|
import "./chunk-XFXOSPYH.js";
|
|
18
18
|
import "./chunk-ZRDRYL6W.js";
|
|
19
19
|
import "./chunk-WQ4W5H6A.js";
|
|
20
|
-
import "./chunk-
|
|
20
|
+
import "./chunk-4DPU247N.js";
|
|
21
21
|
import {
|
|
22
22
|
AskUserInterrupt,
|
|
23
23
|
cancelQuestionsForSession,
|
|
@@ -26,7 +26,7 @@ import {
|
|
|
26
26
|
import "./chunk-7IOZFJBW.js";
|
|
27
27
|
import "./chunk-XKFPU2FA.js";
|
|
28
28
|
import "./chunk-3EHGGBWE.js";
|
|
29
|
-
import "./chunk-
|
|
29
|
+
import "./chunk-Y6HBEACI.js";
|
|
30
30
|
import "./chunk-R4HADRYO.js";
|
|
31
31
|
import "./chunk-TVQOONDR.js";
|
|
32
32
|
import "./chunk-PNBH3RAX.js";
|
|
@@ -47,4 +47,4 @@ export {
|
|
|
47
47
|
stepDoneTool,
|
|
48
48
|
validateToolAction
|
|
49
49
|
};
|
|
50
|
-
//# sourceMappingURL=tools-
|
|
50
|
+
//# sourceMappingURL=tools-SEY5EQUM.js.map
|