openfox 1.6.85 → 1.6.87
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-LI6J3L5Y.js → auto-compaction-ANOQDDMV.js} +8 -8
- package/dist/{chat-handler-2J457X35.js → chat-handler-7H7KENGR.js} +11 -11
- package/dist/{chunk-HEQ3V5SW.js → chunk-5GVCNVKV.js} +5 -1
- package/dist/{chunk-2XCN5AUU.js → chunk-6JSQNOQG.js} +214 -36
- package/dist/{chunk-67LWZEDE.js → chunk-ENH5AUOX.js} +2 -2
- package/dist/{chunk-4VT74LCD.js → chunk-ERFRUQQR.js} +1 -1
- package/dist/{chunk-MNRVSEGN.js → chunk-FTT3HMDU.js} +3 -3
- package/dist/{chunk-EBPKXVOF.js → chunk-GQTY7TSD.js} +2 -2
- package/dist/{chunk-GN7RB4Y4.js → chunk-PAAUYFYS.js} +8 -4
- package/dist/{chunk-FBQWGH6N.js → chunk-PLWQJCN4.js} +6 -6
- package/dist/{chunk-PI7L2SEU.js → chunk-RCECKE5L.js} +2 -2
- package/dist/{chunk-7FVEX6UG.js → chunk-VXC7VVTI.js} +3 -3
- package/dist/{chunk-X4VMSNLI.js → chunk-ZHBL5G5X.js} +10 -3
- package/dist/cli/dev.js +1 -1
- package/dist/cli/index.js +1 -1
- package/dist/{events-BKR4RUU3.js → events-ZHG3VBZC.js} +3 -3
- package/dist/{orchestrator-Y2YGSF4I.js → orchestrator-4NPBVVEI.js} +9 -9
- package/dist/package.json +1 -1
- package/dist/{processor-KULEUD7B.js → processor-JKBK7BAN.js} +7 -7
- package/dist/{project-creator-Q5P4XA6O.js → project-creator-25F7KUPX.js} +3 -3
- package/dist/{projects-3EZINCLA.js → projects-55F45PH3.js} +5 -3
- package/dist/{protocol-C9hfluLv.d.ts → protocol--8PKNwb_.d.ts} +16 -2
- package/dist/{protocol-NEBXAMJ3.js → protocol-QDSVJTRN.js} +5 -3
- package/dist/{serve-K5T5YSDU.js → serve-54UN2X54.js} +10 -10
- package/dist/server/index.d.ts +1 -1
- package/dist/server/index.js +9 -9
- package/dist/{settings-E3KEHN2M.js → settings-VTVOBDYG.js} +3 -3
- package/dist/shared/index.d.ts +2 -2
- package/dist/shared/index.js +1 -1
- package/dist/{tools-OPJZOAZX.js → tools-XZBUMSMC.js} +8 -8
- package/dist/web/assets/{index-sEj9u40w.css → index-CF48Zu7j.css} +1 -1
- package/dist/web/assets/{index-C0VIA4P8.js → index-DGidgYuL.js} +53 -53
- package/dist/web/index.html +2 -2
- package/dist/web/sw.js +1 -1
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createServerMessage,
|
|
3
3
|
isClientMessage
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-ERFRUQQR.js";
|
|
5
5
|
|
|
6
6
|
// src/server/ws/protocol.ts
|
|
7
7
|
function enrichMessagesWithToolResults(messages) {
|
|
@@ -43,11 +43,11 @@ function serializeServerMessage(message) {
|
|
|
43
43
|
function createErrorMessage(code, message, correlationId) {
|
|
44
44
|
return createServerMessage("error", { code, message }, correlationId);
|
|
45
45
|
}
|
|
46
|
-
function createSessionStateMessage(session, messages, pendingConfirmations = [], correlationId) {
|
|
46
|
+
function createSessionStateMessage(session, messages, pendingConfirmations = [], gitStatus, correlationId) {
|
|
47
47
|
const enrichedMessages = enrichMessagesWithToolResults(messages);
|
|
48
48
|
return createServerMessage(
|
|
49
49
|
"session.state",
|
|
50
|
-
{ session, messages: enrichedMessages, pendingConfirmations },
|
|
50
|
+
{ session, messages: enrichedMessages, pendingConfirmations, ...gitStatus ? { gitStatus } : {} },
|
|
51
51
|
correlationId
|
|
52
52
|
);
|
|
53
53
|
}
|
|
@@ -63,6 +63,9 @@ function createProjectStateMessage(project, correlationId) {
|
|
|
63
63
|
function createProjectListMessage(projects, correlationId) {
|
|
64
64
|
return createServerMessage("project.list", { projects }, correlationId);
|
|
65
65
|
}
|
|
66
|
+
function createGitStatusMessage(branch, diffFiles, correlationId) {
|
|
67
|
+
return createServerMessage("git.status", { branch, diff: { files: diffFiles } }, correlationId);
|
|
68
|
+
}
|
|
66
69
|
function createChatDeltaMessage(messageId, content) {
|
|
67
70
|
return createServerMessage("chat.delta", { messageId, content });
|
|
68
71
|
}
|
|
@@ -314,6 +317,7 @@ export {
|
|
|
314
317
|
createSessionRunningMessage,
|
|
315
318
|
createProjectStateMessage,
|
|
316
319
|
createProjectListMessage,
|
|
320
|
+
createGitStatusMessage,
|
|
317
321
|
createChatDeltaMessage,
|
|
318
322
|
createChatThinkingMessage,
|
|
319
323
|
createChatToolPreparingMessage,
|
|
@@ -343,4 +347,4 @@ export {
|
|
|
343
347
|
createQueueStateMessage,
|
|
344
348
|
storedEventToServerMessage
|
|
345
349
|
};
|
|
346
|
-
//# sourceMappingURL=chunk-
|
|
350
|
+
//# sourceMappingURL=chunk-PAAUYFYS.js.map
|
|
@@ -3,10 +3,10 @@ import {
|
|
|
3
3
|
deleteSetting,
|
|
4
4
|
getSetting,
|
|
5
5
|
setSetting
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-RCECKE5L.js";
|
|
7
7
|
import {
|
|
8
8
|
getProject
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-ZHBL5G5X.js";
|
|
10
10
|
import {
|
|
11
11
|
startInspectProxy
|
|
12
12
|
} from "./chunk-DL6ZILAF.js";
|
|
@@ -32,7 +32,7 @@ import {
|
|
|
32
32
|
import {
|
|
33
33
|
getCurrentContextWindowId,
|
|
34
34
|
getEventStore
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-ENH5AUOX.js";
|
|
36
36
|
import {
|
|
37
37
|
buildContextMessagesFromEventHistory,
|
|
38
38
|
foldContextState,
|
|
@@ -49,7 +49,7 @@ import {
|
|
|
49
49
|
createChatPathConfirmationMessage,
|
|
50
50
|
createChatVisionFallbackMessage,
|
|
51
51
|
createQueueStateMessage
|
|
52
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-PAAUYFYS.js";
|
|
53
53
|
import {
|
|
54
54
|
AskUserInterrupt,
|
|
55
55
|
askUserTool
|
|
@@ -3793,7 +3793,7 @@ var callSubAgentTool = {
|
|
|
3793
3793
|
};
|
|
3794
3794
|
}
|
|
3795
3795
|
try {
|
|
3796
|
-
const { getToolRegistryForAgent: getToolRegistryForAgent2 } = await import("./tools-
|
|
3796
|
+
const { getToolRegistryForAgent: getToolRegistryForAgent2 } = await import("./tools-XZBUMSMC.js");
|
|
3797
3797
|
const toolRegistry = getToolRegistryForAgent2(agentDef);
|
|
3798
3798
|
const turnMetrics = new TurnMetrics();
|
|
3799
3799
|
const result = await executeSubAgent({
|
|
@@ -4983,4 +4983,4 @@ export {
|
|
|
4983
4983
|
getToolRegistryForAgent,
|
|
4984
4984
|
createToolRegistry
|
|
4985
4985
|
};
|
|
4986
|
-
//# sourceMappingURL=chunk-
|
|
4986
|
+
//# sourceMappingURL=chunk-PLWQJCN4.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getDatabase
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-5GVCNVKV.js";
|
|
4
4
|
|
|
5
5
|
// src/server/db/settings.ts
|
|
6
6
|
var SETTINGS_KEYS = {
|
|
@@ -63,4 +63,4 @@ export {
|
|
|
63
63
|
deleteSetting,
|
|
64
64
|
getAllSettings
|
|
65
65
|
};
|
|
66
|
-
//# sourceMappingURL=chunk-
|
|
66
|
+
//# sourceMappingURL=chunk-RCECKE5L.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getEventStore,
|
|
3
3
|
updateSessionMetadata
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-ENH5AUOX.js";
|
|
5
5
|
import {
|
|
6
6
|
buildMessagesFromStoredEvents,
|
|
7
7
|
foldPendingConfirmations
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
import {
|
|
10
10
|
createContextStateMessage,
|
|
11
11
|
createSessionStateMessage
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-PAAUYFYS.js";
|
|
13
13
|
import {
|
|
14
14
|
logger
|
|
15
15
|
} from "./chunk-K44MW7JJ.js";
|
|
@@ -143,4 +143,4 @@ export {
|
|
|
143
143
|
needsNameGenerationCheck,
|
|
144
144
|
applyGeneratedSessionName
|
|
145
145
|
};
|
|
146
|
-
//# sourceMappingURL=chunk-
|
|
146
|
+
//# sourceMappingURL=chunk-VXC7VVTI.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getDatabase
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-5GVCNVKV.js";
|
|
4
4
|
|
|
5
5
|
// src/server/db/projects.ts
|
|
6
6
|
function createProject(name, workdir) {
|
|
@@ -86,6 +86,11 @@ function deleteProject(id) {
|
|
|
86
86
|
const db = getDatabase();
|
|
87
87
|
db.prepare("DELETE FROM projects WHERE id = ?").run(id);
|
|
88
88
|
}
|
|
89
|
+
function toggleStar(id, isStarred) {
|
|
90
|
+
const db = getDatabase();
|
|
91
|
+
db.prepare("UPDATE projects SET is_starred = ? WHERE id = ?").run(isStarred ? 1 : 0, id);
|
|
92
|
+
return getProject(id);
|
|
93
|
+
}
|
|
89
94
|
function rowToProject(row) {
|
|
90
95
|
return {
|
|
91
96
|
id: row.id,
|
|
@@ -93,6 +98,7 @@ function rowToProject(row) {
|
|
|
93
98
|
workdir: row.workdir,
|
|
94
99
|
...row.custom_instructions ? { customInstructions: row.custom_instructions } : {},
|
|
95
100
|
...row.danger_level ? { dangerLevel: row.danger_level } : {},
|
|
101
|
+
isStarred: !!row.is_starred,
|
|
96
102
|
createdAt: row.created_at,
|
|
97
103
|
updatedAt: row.updated_at
|
|
98
104
|
};
|
|
@@ -104,6 +110,7 @@ export {
|
|
|
104
110
|
getProjectByWorkdir,
|
|
105
111
|
listProjects,
|
|
106
112
|
updateProject,
|
|
107
|
-
deleteProject
|
|
113
|
+
deleteProject,
|
|
114
|
+
toggleStar
|
|
108
115
|
};
|
|
109
|
-
//# sourceMappingURL=chunk-
|
|
116
|
+
//# sourceMappingURL=chunk-ZHBL5G5X.js.map
|
package/dist/cli/dev.js
CHANGED
package/dist/cli/index.js
CHANGED
|
@@ -37,8 +37,8 @@ import {
|
|
|
37
37
|
isStoredEvent,
|
|
38
38
|
isTurnEvent,
|
|
39
39
|
truncateSessionMessages
|
|
40
|
-
} from "./chunk-
|
|
41
|
-
import "./chunk-
|
|
40
|
+
} from "./chunk-ENH5AUOX.js";
|
|
41
|
+
import "./chunk-5GVCNVKV.js";
|
|
42
42
|
import {
|
|
43
43
|
buildContextMessagesFromEventHistory,
|
|
44
44
|
buildContextMessagesFromMessages,
|
|
@@ -113,4 +113,4 @@ export {
|
|
|
113
113
|
isTurnEvent,
|
|
114
114
|
truncateSessionMessages
|
|
115
115
|
};
|
|
116
|
-
//# sourceMappingURL=events-
|
|
116
|
+
//# sourceMappingURL=events-ZHG3VBZC.js.map
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
runBuilderTurn,
|
|
4
4
|
runChatTurn,
|
|
5
5
|
runVerifierTurn
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-FTT3HMDU.js";
|
|
7
7
|
import {
|
|
8
8
|
TurnMetrics,
|
|
9
9
|
createChatDoneEvent,
|
|
@@ -11,19 +11,19 @@ import {
|
|
|
11
11
|
createMessageStartEvent,
|
|
12
12
|
createToolCallEvent,
|
|
13
13
|
createToolResultEvent
|
|
14
|
-
} from "./chunk-
|
|
15
|
-
import "./chunk-
|
|
16
|
-
import "./chunk-
|
|
14
|
+
} from "./chunk-PLWQJCN4.js";
|
|
15
|
+
import "./chunk-RCECKE5L.js";
|
|
16
|
+
import "./chunk-ZHBL5G5X.js";
|
|
17
17
|
import "./chunk-DL6ZILAF.js";
|
|
18
18
|
import "./chunk-PBGOZMVY.js";
|
|
19
19
|
import "./chunk-VRGRAQDG.js";
|
|
20
20
|
import "./chunk-YNIAFX24.js";
|
|
21
|
-
import "./chunk-
|
|
22
|
-
import "./chunk-
|
|
21
|
+
import "./chunk-ENH5AUOX.js";
|
|
22
|
+
import "./chunk-5GVCNVKV.js";
|
|
23
23
|
import "./chunk-XVWVAWSG.js";
|
|
24
|
-
import "./chunk-
|
|
24
|
+
import "./chunk-PAAUYFYS.js";
|
|
25
25
|
import "./chunk-BJYPTN5S.js";
|
|
26
|
-
import "./chunk-
|
|
26
|
+
import "./chunk-ERFRUQQR.js";
|
|
27
27
|
import "./chunk-CQGTEGKL.js";
|
|
28
28
|
import "./chunk-B5AP3RSV.js";
|
|
29
29
|
import "./chunk-WSRF5L3S.js";
|
|
@@ -40,4 +40,4 @@ export {
|
|
|
40
40
|
runChatTurn,
|
|
41
41
|
runVerifierTurn
|
|
42
42
|
};
|
|
43
|
-
//# sourceMappingURL=orchestrator-
|
|
43
|
+
//# sourceMappingURL=orchestrator-4NPBVVEI.js.map
|
package/dist/package.json
CHANGED
|
@@ -5,17 +5,17 @@ import {
|
|
|
5
5
|
generateSessionName,
|
|
6
6
|
getSessionMessageCount,
|
|
7
7
|
needsNameGenerationCheck
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-VXC7VVTI.js";
|
|
9
9
|
import {
|
|
10
10
|
getEventStore
|
|
11
|
-
} from "./chunk-
|
|
12
|
-
import "./chunk-
|
|
11
|
+
} from "./chunk-ENH5AUOX.js";
|
|
12
|
+
import "./chunk-5GVCNVKV.js";
|
|
13
13
|
import "./chunk-XVWVAWSG.js";
|
|
14
14
|
import {
|
|
15
15
|
createChatMessageMessage,
|
|
16
16
|
createSessionRunningMessage
|
|
17
|
-
} from "./chunk-
|
|
18
|
-
import "./chunk-
|
|
17
|
+
} from "./chunk-PAAUYFYS.js";
|
|
18
|
+
import "./chunk-ERFRUQQR.js";
|
|
19
19
|
import "./chunk-B5AP3RSV.js";
|
|
20
20
|
import {
|
|
21
21
|
logger
|
|
@@ -177,7 +177,7 @@ var QueueProcessor = class {
|
|
|
177
177
|
backend: provider?.backend ?? llmClient.getBackend(),
|
|
178
178
|
model: llmClient.getModel()
|
|
179
179
|
};
|
|
180
|
-
const { runChatTurn } = await import("./orchestrator-
|
|
180
|
+
const { runChatTurn } = await import("./orchestrator-4NPBVVEI.js");
|
|
181
181
|
const runChatTurnParams = buildRunChatTurnParams({
|
|
182
182
|
sessionManager,
|
|
183
183
|
sessionId,
|
|
@@ -221,4 +221,4 @@ var QueueProcessor = class {
|
|
|
221
221
|
export {
|
|
222
222
|
QueueProcessor
|
|
223
223
|
};
|
|
224
|
-
//# sourceMappingURL=processor-
|
|
224
|
+
//# sourceMappingURL=processor-JKBK7BAN.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createProject
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-ZHBL5G5X.js";
|
|
4
|
+
import "./chunk-5GVCNVKV.js";
|
|
5
5
|
import "./chunk-K44MW7JJ.js";
|
|
6
6
|
|
|
7
7
|
// src/server/utils/project-creator.ts
|
|
@@ -108,4 +108,4 @@ export {
|
|
|
108
108
|
createDirectoryWithGit,
|
|
109
109
|
validateProjectName
|
|
110
110
|
};
|
|
111
|
-
//# sourceMappingURL=project-creator-
|
|
111
|
+
//# sourceMappingURL=project-creator-25F7KUPX.js.map
|
|
@@ -4,9 +4,10 @@ import {
|
|
|
4
4
|
getProject,
|
|
5
5
|
getProjectByWorkdir,
|
|
6
6
|
listProjects,
|
|
7
|
+
toggleStar,
|
|
7
8
|
updateProject
|
|
8
|
-
} from "./chunk-
|
|
9
|
-
import "./chunk-
|
|
9
|
+
} from "./chunk-ZHBL5G5X.js";
|
|
10
|
+
import "./chunk-5GVCNVKV.js";
|
|
10
11
|
import "./chunk-K44MW7JJ.js";
|
|
11
12
|
export {
|
|
12
13
|
createProject,
|
|
@@ -14,6 +15,7 @@ export {
|
|
|
14
15
|
getProject,
|
|
15
16
|
getProjectByWorkdir,
|
|
16
17
|
listProjects,
|
|
18
|
+
toggleStar,
|
|
17
19
|
updateProject
|
|
18
20
|
};
|
|
19
|
-
//# sourceMappingURL=projects-
|
|
21
|
+
//# sourceMappingURL=projects-55F45PH3.js.map
|
|
@@ -4,6 +4,7 @@ interface Project {
|
|
|
4
4
|
workdir: string;
|
|
5
5
|
customInstructions?: string;
|
|
6
6
|
dangerLevel?: DangerLevel;
|
|
7
|
+
isStarred?: boolean;
|
|
7
8
|
createdAt: string;
|
|
8
9
|
updatedAt: string;
|
|
9
10
|
}
|
|
@@ -527,7 +528,7 @@ interface QueuedMessage {
|
|
|
527
528
|
queuedAt: string;
|
|
528
529
|
messageKind?: string;
|
|
529
530
|
}
|
|
530
|
-
type ServerMessageType = 'project.state' | 'project.list' | 'project.deleted' | 'session.state' | 'session.list' | 'session.deleted' | 'session.deletedAll' | 'session.running' | 'session.name_generated' | 'chat.delta' | 'chat.thinking' | 'chat.tool_preparing' | 'chat.tool_call' | 'chat.tool_output' | 'chat.tool_result' | 'chat.todo' | 'chat.summary' | 'chat.progress' | 'chat.format_retry' | 'chat.message' | 'chat.message_updated' | 'chat.done' | 'chat.vision_fallback' | 'chat.error' | 'chat.path_confirmation' | 'chat.ask_user' | 'mode.changed' | 'phase.changed' | 'task.completed' | 'criteria.updated' | 'context.state' | 'settings.value' | 'provider.changed' | 'queue.state' | 'devServer.output' | 'devServer.state' | 'backgroundProcess.started' | 'backgroundProcess.output' | 'backgroundProcess.exited' | 'backgroundProcess.removed' | 'lsp.diagnostics' | 'error' | 'ack';
|
|
531
|
+
type ServerMessageType = 'project.state' | 'project.list' | 'project.deleted' | 'session.state' | 'session.list' | 'session.deleted' | 'session.deletedAll' | 'session.running' | 'session.name_generated' | 'chat.delta' | 'chat.thinking' | 'chat.tool_preparing' | 'chat.tool_call' | 'chat.tool_output' | 'chat.tool_result' | 'chat.todo' | 'chat.summary' | 'chat.progress' | 'chat.format_retry' | 'chat.message' | 'chat.message_updated' | 'chat.done' | 'chat.vision_fallback' | 'chat.error' | 'chat.path_confirmation' | 'chat.ask_user' | 'mode.changed' | 'phase.changed' | 'task.completed' | 'criteria.updated' | 'context.state' | 'settings.value' | 'provider.changed' | 'queue.state' | 'devServer.output' | 'devServer.state' | 'backgroundProcess.started' | 'backgroundProcess.output' | 'backgroundProcess.exited' | 'backgroundProcess.removed' | 'git.status' | 'lsp.diagnostics' | 'error' | 'ack';
|
|
531
532
|
interface ServerMessage<T = unknown> {
|
|
532
533
|
id?: string;
|
|
533
534
|
type: ServerMessageType;
|
|
@@ -548,6 +549,7 @@ interface SessionStatePayload {
|
|
|
548
549
|
session: Session;
|
|
549
550
|
messages: Message[];
|
|
550
551
|
pendingConfirmations: PendingPathConfirmationPayload[];
|
|
552
|
+
gitStatus?: GitStatusPayload;
|
|
551
553
|
}
|
|
552
554
|
interface PendingPathConfirmationPayload {
|
|
553
555
|
callId: string;
|
|
@@ -732,6 +734,18 @@ interface BackgroundProcessExitedPayload {
|
|
|
732
734
|
interface BackgroundProcessRemovedPayload {
|
|
733
735
|
processId: string;
|
|
734
736
|
}
|
|
737
|
+
interface GitStatusPayload {
|
|
738
|
+
branch: string | null;
|
|
739
|
+
diff: {
|
|
740
|
+
files: GitDiffFile[];
|
|
741
|
+
};
|
|
742
|
+
}
|
|
743
|
+
interface GitDiffFile {
|
|
744
|
+
path: string;
|
|
745
|
+
status: 'modified' | 'added' | 'deleted';
|
|
746
|
+
additions: number;
|
|
747
|
+
deletions: number;
|
|
748
|
+
}
|
|
735
749
|
type BackgroundProcessStatus = 'pending' | 'starting' | 'running' | 'stopping' | 'exited';
|
|
736
750
|
interface BackgroundProcess {
|
|
737
751
|
id: string;
|
|
@@ -849,4 +863,4 @@ interface QueueCancelledEvent {
|
|
|
849
863
|
}
|
|
850
864
|
type QueueEvent = QueueAddedEvent | QueueDrainedEvent | QueueCancelledEvent;
|
|
851
865
|
|
|
852
|
-
export { type
|
|
866
|
+
export { type GitDiffFile as $, type AgentEvent as A, type BackgroundProcess as B, type CallStatsDataPoint as C, type ClientMessageType as D, type Config as E, type ContextCompactionEvent as F, type ContextState as G, type ContextStatePayload as H, type ContextWindow as I, type CriteriaUpdatedPayload as J, type Criterion as K, type CriterionAttempt as L, type Message as M, type CriterionStatus as N, type CriterionValidation as O, type DangerLevel as P, type DevServerOutputPayload as Q, type DevServerStatePayload as R, type SessionStats as S, type Diagnostic as T, type EditContextEdit as U, type EditContextLine as V, type EditContextRegion as W, type ElementData as X, type ErrorPayload as Y, type ExecutionState as Z, type FileReadEntry as _, type AskAnswerPayload as a, type GitStatusPayload as a0, type InjectedFile as a1, type LLMCallStats as a2, type LlmBackend as a3, type LogLine as a4, type LspDiagnosticsPayload as a5, type MessageRole as a6, type MessageSegment as a7, type MessageStats as a8, type ModeChangedPayload as a9, type ServerMessage as aA, type ServerMessageType as aB, type Session as aC, type SessionListPayload as aD, type SessionLoadPayload as aE, type SessionMetadata as aF, type SessionMode as aG, type SessionNameGeneratedPayload as aH, type SessionPhase as aI, type SessionRunningPayload as aJ, type SessionStatePayload as aK, type SessionSummary as aL, type StatsDataPoint as aM, type StatsIdentity as aN, type TaskCompletedPayload as aO, type Todo as aP, type ToolCall as aQ, type ToolMode as aR, type ToolName as aS, type ToolResult as aT, type ValidationResult as aU, createClientMessage as aV, createServerMessage as aW, isClientMessage as aX, isServerMessage as aY, type ModelConfig as aa, type ModelSessionStats as ab, type PathConfirmPayload as ac, type PathConfirmationReason as ad, type PendingPathConfirmationPayload as ae, type PhaseChangedPayload as af, type PreparingToolCall as ag, type Project as ah, type ProjectDeletedPayload as ai, type ProjectListPayload as aj, type ProjectStatePayload as ak, type PromptContext as al, type PromptContextMessage as am, type PromptContextTool as an, type PromptRequestOptions as ao, type Provider as ap, type ProviderBackend as aq, type ProviderChangedPayload as ar, type QueueAddedEvent as as, type QueueCancelledEvent as at, type QueueDrainedEvent as au, type QueueEvent as av, type QueueEventType as aw, type QueueStatePayload as ax, type QueuedMessage as ay, type RecentUserPrompt as az, type AskUserEvent as b, type Attachment as c, type BackgroundProcessExitedPayload as d, type BackgroundProcessOutputPayload as e, type BackgroundProcessRemovedPayload as f, type BackgroundProcessStartedPayload as g, type BackgroundProcessStatus as h, type ChatAskUserPayload as i, type ChatDeltaPayload as j, type ChatDonePayload as k, type ChatErrorPayload as l, type ChatFormatRetryPayload as m, type ChatMessagePayload as n, type ChatMessageUpdatedPayload as o, type ChatPathConfirmationPayload as p, type ChatProgressPayload as q, type ChatSummaryPayload as r, type ChatThinkingPayload as s, type ChatTodoPayload as t, type ChatToolCallPayload as u, type ChatToolOutputPayload as v, type ChatToolPreparingPayload as w, type ChatToolResultPayload as x, type ChatVisionFallbackPayload as y, type ClientMessage as z };
|
|
@@ -19,6 +19,7 @@ import {
|
|
|
19
19
|
createContextStateMessage,
|
|
20
20
|
createCriteriaUpdatedMessage,
|
|
21
21
|
createErrorMessage,
|
|
22
|
+
createGitStatusMessage,
|
|
22
23
|
createModeChangedMessage,
|
|
23
24
|
createPhaseChangedMessage,
|
|
24
25
|
createProjectListMessage,
|
|
@@ -35,8 +36,8 @@ import {
|
|
|
35
36
|
parseClientMessage,
|
|
36
37
|
serializeServerMessage,
|
|
37
38
|
storedEventToServerMessage
|
|
38
|
-
} from "./chunk-
|
|
39
|
-
import "./chunk-
|
|
39
|
+
} from "./chunk-PAAUYFYS.js";
|
|
40
|
+
import "./chunk-ERFRUQQR.js";
|
|
40
41
|
export {
|
|
41
42
|
createChatAskUserMessage,
|
|
42
43
|
createChatDeltaMessage,
|
|
@@ -58,6 +59,7 @@ export {
|
|
|
58
59
|
createContextStateMessage,
|
|
59
60
|
createCriteriaUpdatedMessage,
|
|
60
61
|
createErrorMessage,
|
|
62
|
+
createGitStatusMessage,
|
|
61
63
|
createModeChangedMessage,
|
|
62
64
|
createPhaseChangedMessage,
|
|
63
65
|
createProjectListMessage,
|
|
@@ -75,4 +77,4 @@ export {
|
|
|
75
77
|
serializeServerMessage,
|
|
76
78
|
storedEventToServerMessage
|
|
77
79
|
};
|
|
78
|
-
//# sourceMappingURL=protocol-
|
|
80
|
+
//# sourceMappingURL=protocol-QDSVJTRN.js.map
|
|
@@ -6,24 +6,24 @@ import {
|
|
|
6
6
|
import {
|
|
7
7
|
VERSION,
|
|
8
8
|
createServer
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
9
|
+
} from "./chunk-6JSQNOQG.js";
|
|
10
|
+
import "./chunk-FTT3HMDU.js";
|
|
11
|
+
import "./chunk-PLWQJCN4.js";
|
|
12
|
+
import "./chunk-RCECKE5L.js";
|
|
13
|
+
import "./chunk-ZHBL5G5X.js";
|
|
14
14
|
import "./chunk-DL6ZILAF.js";
|
|
15
15
|
import "./chunk-PBGOZMVY.js";
|
|
16
16
|
import "./chunk-VRGRAQDG.js";
|
|
17
17
|
import "./chunk-6GGYIEBM.js";
|
|
18
18
|
import "./chunk-JDDNBK6T.js";
|
|
19
19
|
import "./chunk-YNIAFX24.js";
|
|
20
|
-
import "./chunk-
|
|
21
|
-
import "./chunk-
|
|
20
|
+
import "./chunk-ENH5AUOX.js";
|
|
21
|
+
import "./chunk-5GVCNVKV.js";
|
|
22
22
|
import "./chunk-XVWVAWSG.js";
|
|
23
|
-
import "./chunk-
|
|
23
|
+
import "./chunk-PAAUYFYS.js";
|
|
24
24
|
import "./chunk-BJYPTN5S.js";
|
|
25
25
|
import "./chunk-RGRBWDZP.js";
|
|
26
|
-
import "./chunk-
|
|
26
|
+
import "./chunk-ERFRUQQR.js";
|
|
27
27
|
import {
|
|
28
28
|
ensureDataDirExists,
|
|
29
29
|
getDatabasePath,
|
|
@@ -190,4 +190,4 @@ async function runServe(options) {
|
|
|
190
190
|
export {
|
|
191
191
|
runServe
|
|
192
192
|
};
|
|
193
|
-
//# sourceMappingURL=serve-
|
|
193
|
+
//# sourceMappingURL=serve-54UN2X54.js.map
|
package/dist/server/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { aQ as ToolCall, c as Attachment, T as Diagnostic, ap as Provider, aa as ModelConfig, aC as Session, aL as SessionSummary, ah as Project, aG as SessionMode, aI as SessionPhase, M as Message, K as Criterion, N as CriterionStatus, ay as QueuedMessage, G as ContextState, P as DangerLevel$1, aA as ServerMessage, aN as StatsIdentity, aT as ToolResult, E as Config } from '../protocol--8PKNwb_.js';
|
|
2
2
|
import { Server } from 'node:http';
|
|
3
3
|
|
|
4
4
|
interface LLMMessage {
|
package/dist/server/index.js
CHANGED
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createServer,
|
|
3
3
|
createServerHandle
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-
|
|
6
|
-
import "../chunk-
|
|
7
|
-
import "../chunk-
|
|
8
|
-
import "../chunk-
|
|
4
|
+
} from "../chunk-6JSQNOQG.js";
|
|
5
|
+
import "../chunk-FTT3HMDU.js";
|
|
6
|
+
import "../chunk-PLWQJCN4.js";
|
|
7
|
+
import "../chunk-RCECKE5L.js";
|
|
8
|
+
import "../chunk-ZHBL5G5X.js";
|
|
9
9
|
import "../chunk-DL6ZILAF.js";
|
|
10
10
|
import "../chunk-PBGOZMVY.js";
|
|
11
11
|
import "../chunk-VRGRAQDG.js";
|
|
12
12
|
import "../chunk-6GGYIEBM.js";
|
|
13
13
|
import "../chunk-JDDNBK6T.js";
|
|
14
14
|
import "../chunk-YNIAFX24.js";
|
|
15
|
-
import "../chunk-
|
|
16
|
-
import "../chunk-
|
|
15
|
+
import "../chunk-ENH5AUOX.js";
|
|
16
|
+
import "../chunk-5GVCNVKV.js";
|
|
17
17
|
import "../chunk-XVWVAWSG.js";
|
|
18
|
-
import "../chunk-
|
|
18
|
+
import "../chunk-PAAUYFYS.js";
|
|
19
19
|
import "../chunk-BJYPTN5S.js";
|
|
20
20
|
import "../chunk-RGRBWDZP.js";
|
|
21
|
-
import "../chunk-
|
|
21
|
+
import "../chunk-ERFRUQQR.js";
|
|
22
22
|
import "../chunk-CQGTEGKL.js";
|
|
23
23
|
import "../chunk-B5AP3RSV.js";
|
|
24
24
|
import "../chunk-WSRF5L3S.js";
|
|
@@ -5,8 +5,8 @@ import {
|
|
|
5
5
|
getAllSettings,
|
|
6
6
|
getSetting,
|
|
7
7
|
setSetting
|
|
8
|
-
} from "./chunk-
|
|
9
|
-
import "./chunk-
|
|
8
|
+
} from "./chunk-RCECKE5L.js";
|
|
9
|
+
import "./chunk-5GVCNVKV.js";
|
|
10
10
|
import "./chunk-K44MW7JJ.js";
|
|
11
11
|
export {
|
|
12
12
|
SETTINGS_DEFAULTS,
|
|
@@ -16,4 +16,4 @@ export {
|
|
|
16
16
|
getSetting,
|
|
17
17
|
setSetting
|
|
18
18
|
};
|
|
19
|
-
//# sourceMappingURL=settings-
|
|
19
|
+
//# sourceMappingURL=settings-VTVOBDYG.js.map
|
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 ChatSummaryPayload, s as ChatThinkingPayload, t as ChatTodoPayload, u as ChatToolCallPayload, v as ChatToolOutputPayload, w as ChatToolPreparingPayload, x as ChatToolResultPayload, y as ChatVisionFallbackPayload, z as ClientMessage, D as ClientMessageType, E as Config, F as ContextCompactionEvent, G as ContextState, H as ContextStatePayload, I as ContextWindow, J as CriteriaUpdatedPayload, K as Criterion, L as CriterionAttempt, N as CriterionStatus, O as CriterionValidation, P as DangerLevel, Q as DevServerOutputPayload, R as DevServerStatePayload, T as Diagnostic, U as EditContextEdit, V as EditContextLine, W as EditContextRegion, X as ElementData, Y as ErrorPayload, Z as ExecutionState, _ as FileReadEntry, $ as
|
|
1
|
+
import { M as Message, S as SessionStats } from '../protocol--8PKNwb_.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 ChatSummaryPayload, s as ChatThinkingPayload, t as ChatTodoPayload, u as ChatToolCallPayload, v as ChatToolOutputPayload, w as ChatToolPreparingPayload, x as ChatToolResultPayload, y as ChatVisionFallbackPayload, z as ClientMessage, D as ClientMessageType, E as Config, F as ContextCompactionEvent, G as ContextState, H as ContextStatePayload, I as ContextWindow, J as CriteriaUpdatedPayload, K as Criterion, L as CriterionAttempt, N as CriterionStatus, O as CriterionValidation, P as DangerLevel, Q as DevServerOutputPayload, R as DevServerStatePayload, T as Diagnostic, U as EditContextEdit, V as EditContextLine, W as EditContextRegion, X as ElementData, Y as ErrorPayload, Z as ExecutionState, _ as FileReadEntry, $ as GitDiffFile, a0 as GitStatusPayload, a1 as InjectedFile, a2 as LLMCallStats, a3 as LlmBackend, a4 as LogLine, a5 as LspDiagnosticsPayload, a6 as MessageRole, a7 as MessageSegment, a8 as MessageStats, a9 as ModeChangedPayload, 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 QueueCancelledEvent, au as QueueDrainedEvent, av as QueueEvent, aw as QueueEventType, ax as QueueStatePayload, ay as QueuedMessage, az as RecentUserPrompt, aA as ServerMessage, aB as ServerMessageType, aC as Session, aD as SessionListPayload, aE as SessionLoadPayload, aF as SessionMetadata, aG as SessionMode, aH as SessionNameGeneratedPayload, aI as SessionPhase, aJ as SessionRunningPayload, aK as SessionStatePayload, aL as SessionSummary, aM as StatsDataPoint, aN as StatsIdentity, aO as TaskCompletedPayload, aP as Todo, aQ as ToolCall, aR as ToolMode, aS as ToolName, aT as ToolResult, aU as ValidationResult, aV as createClientMessage, aW as createServerMessage, aX as isClientMessage, aY as isServerMessage } from '../protocol--8PKNwb_.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* Session stats computation - aggregates response-level MessageStats from
|
package/dist/shared/index.js
CHANGED
|
@@ -11,23 +11,23 @@ import {
|
|
|
11
11
|
requestPathAccess,
|
|
12
12
|
stepDoneTool,
|
|
13
13
|
validateToolAction
|
|
14
|
-
} from "./chunk-
|
|
15
|
-
import "./chunk-
|
|
16
|
-
import "./chunk-
|
|
14
|
+
} from "./chunk-PLWQJCN4.js";
|
|
15
|
+
import "./chunk-RCECKE5L.js";
|
|
16
|
+
import "./chunk-ZHBL5G5X.js";
|
|
17
17
|
import "./chunk-DL6ZILAF.js";
|
|
18
18
|
import "./chunk-PBGOZMVY.js";
|
|
19
19
|
import "./chunk-VRGRAQDG.js";
|
|
20
20
|
import "./chunk-YNIAFX24.js";
|
|
21
|
-
import "./chunk-
|
|
22
|
-
import "./chunk-
|
|
21
|
+
import "./chunk-ENH5AUOX.js";
|
|
22
|
+
import "./chunk-5GVCNVKV.js";
|
|
23
23
|
import "./chunk-XVWVAWSG.js";
|
|
24
|
-
import "./chunk-
|
|
24
|
+
import "./chunk-PAAUYFYS.js";
|
|
25
25
|
import {
|
|
26
26
|
AskUserInterrupt,
|
|
27
27
|
cancelQuestionsForSession,
|
|
28
28
|
provideAnswer
|
|
29
29
|
} from "./chunk-BJYPTN5S.js";
|
|
30
|
-
import "./chunk-
|
|
30
|
+
import "./chunk-ERFRUQQR.js";
|
|
31
31
|
import "./chunk-CQGTEGKL.js";
|
|
32
32
|
import "./chunk-B5AP3RSV.js";
|
|
33
33
|
import "./chunk-WSRF5L3S.js";
|
|
@@ -49,4 +49,4 @@ export {
|
|
|
49
49
|
stepDoneTool,
|
|
50
50
|
validateToolAction
|
|
51
51
|
};
|
|
52
|
-
//# sourceMappingURL=tools-
|
|
52
|
+
//# sourceMappingURL=tools-XZBUMSMC.js.map
|