openfox 2.0.85 → 2.0.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/{chat-handler-3CWMOIOR.js → chat-handler-AVGJQSYW.js} +7 -7
- package/dist/chunk-3USWJ6MR.js +7 -0
- package/dist/{chunk-SJTG56CH.js → chunk-47WNBFDO.js} +2 -2
- package/dist/{chunk-2KKFOVK7.js → chunk-5W2FIWDH.js} +2 -2
- package/dist/{chunk-FTJ7U3VN.js → chunk-B6VZS5SC.js} +5 -5
- package/dist/{chunk-SGFQWQCE.js → chunk-BKH4SIWV.js} +2 -2
- package/dist/{chunk-GLRTJJOB.js → chunk-CK7G2JLY.js} +9 -7
- package/dist/{chunk-XXII6DS3.js → chunk-FY6FQTNN.js} +3 -3
- package/dist/{chunk-RSO2HKNH.js → chunk-SBVKT4GT.js} +9 -6
- package/dist/{chunk-X6BXZFO7.js → chunk-U7RLUZBP.js} +1 -1
- package/dist/{chunk-DLJYYWM2.js → chunk-VGYV5EH6.js} +20 -20
- package/dist/cli/dev.js +1 -1
- package/dist/cli/index.js +1 -1
- package/dist/{orchestrator-6RYJYR3T.js → orchestrator-AGJ7EMFZ.js} +6 -6
- package/dist/package.json +1 -1
- package/dist/{path-security-7ZNIG3ZE.js → path-security-DWL3R2SF.js} +4 -4
- package/dist/{processor-IGRFA3KA.js → processor-VCDVG7RV.js} +7 -7
- package/dist/{protocol-Q7X4NEME.js → protocol-BUA2W2KM.js} +3 -3
- package/dist/{protocol-5NJx1N4c.d.ts → protocol-BzTZcNEh.d.ts} +2 -0
- package/dist/{serve-LFC7D5B7.js → serve-IGWUSQDZ.js} +9 -9
- package/dist/server/index.d.ts +1 -1
- package/dist/server/index.js +8 -8
- package/dist/{server-E5IA4SK7.js → server-3X46OIYC.js} +7 -7
- package/dist/shared/index.d.ts +1 -1
- package/dist/shared/index.js +1 -1
- package/dist/{tools-ZUTPBREL.js → tools-X65P65KF.js} +5 -5
- package/dist/{update-KDMUVXXI.js → update-6GITMIFG.js} +2 -2
- package/dist/web/assets/{index-mJ_RQ-yF.js → index-D-r8G7Tf.js} +57 -57
- package/dist/web/index.html +1 -1
- package/dist/web/sw.js +1 -1
- package/package.json +1 -1
- package/dist/chunk-7WAOMWR3.js +0 -7
|
@@ -2,22 +2,22 @@ import {
|
|
|
2
2
|
buildRunChatTurnParams,
|
|
3
3
|
finalizeTurnCompletion,
|
|
4
4
|
generateSessionNameForSession
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-BKH4SIWV.js";
|
|
6
6
|
import {
|
|
7
7
|
runChatTurn
|
|
8
|
-
} from "./chunk-
|
|
9
|
-
import "./chunk-
|
|
8
|
+
} from "./chunk-B6VZS5SC.js";
|
|
9
|
+
import "./chunk-SBVKT4GT.js";
|
|
10
10
|
import "./chunk-3JYPDZT2.js";
|
|
11
11
|
import "./chunk-NWO6GRYE.js";
|
|
12
12
|
import "./chunk-VPFUXGMM.js";
|
|
13
13
|
import "./chunk-7PZBCATU.js";
|
|
14
14
|
import "./chunk-J7GAZGZT.js";
|
|
15
|
-
import "./chunk-
|
|
15
|
+
import "./chunk-5W2FIWDH.js";
|
|
16
16
|
import {
|
|
17
17
|
createChatMessageMessage,
|
|
18
18
|
createPhaseChangedMessage,
|
|
19
19
|
createSessionRunningMessage
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-47WNBFDO.js";
|
|
21
21
|
import "./chunk-EU3WWTFH.js";
|
|
22
22
|
import "./chunk-H765CIHN.js";
|
|
23
23
|
import "./chunk-W23S3TU5.js";
|
|
@@ -37,7 +37,7 @@ import "./chunk-RMXPVQP4.js";
|
|
|
37
37
|
import "./chunk-STFIEU5F.js";
|
|
38
38
|
import "./chunk-RGUUZD5B.js";
|
|
39
39
|
import "./chunk-K44MW7JJ.js";
|
|
40
|
-
import "./chunk-
|
|
40
|
+
import "./chunk-U7RLUZBP.js";
|
|
41
41
|
import "./chunk-N54PQSCH.js";
|
|
42
42
|
import "./chunk-CQGTEGKL.js";
|
|
43
43
|
import "./chunk-5WRI5ZAA.js";
|
|
@@ -161,4 +161,4 @@ export {
|
|
|
161
161
|
startChatSession,
|
|
162
162
|
stopSessionExecution
|
|
163
163
|
};
|
|
164
|
-
//# sourceMappingURL=chat-handler-
|
|
164
|
+
//# sourceMappingURL=chat-handler-AVGJQSYW.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createServerMessage,
|
|
3
3
|
isClientMessage
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-U7RLUZBP.js";
|
|
5
5
|
|
|
6
6
|
// src/server/ws/protocol.ts
|
|
7
7
|
function enrichMessagesWithToolResults(messages) {
|
|
@@ -344,4 +344,4 @@ export {
|
|
|
344
344
|
createQueueStateMessage,
|
|
345
345
|
storedEventToServerMessage
|
|
346
346
|
};
|
|
347
|
-
//# sourceMappingURL=chunk-
|
|
347
|
+
//# sourceMappingURL=chunk-47WNBFDO.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createChatPathConfirmationMessage
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-47WNBFDO.js";
|
|
4
4
|
import {
|
|
5
5
|
getEventStore
|
|
6
6
|
} from "./chunk-V5LOH363.js";
|
|
@@ -494,4 +494,4 @@ export {
|
|
|
494
494
|
getConfirmationSessionId,
|
|
495
495
|
getPendingConfirmationsBySession
|
|
496
496
|
};
|
|
497
|
-
//# sourceMappingURL=chunk-
|
|
497
|
+
//# sourceMappingURL=chunk-5W2FIWDH.js.map
|
|
@@ -6,10 +6,10 @@ import {
|
|
|
6
6
|
getToolRegistryForAgent,
|
|
7
7
|
processEventsForConversation,
|
|
8
8
|
runTopLevelAgentLoop
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-SBVKT4GT.js";
|
|
10
10
|
import {
|
|
11
11
|
PathAccessDeniedError
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-5W2FIWDH.js";
|
|
13
13
|
import {
|
|
14
14
|
TurnMetrics,
|
|
15
15
|
buildAgentReminder,
|
|
@@ -69,7 +69,7 @@ function resolveAgentDef(sessionManager, sessionId) {
|
|
|
69
69
|
}
|
|
70
70
|
async function buildCachedPrompt(sessionManager, sessionId, agentDef) {
|
|
71
71
|
const { instructionContent, skills } = await loadSessionContext(sessionManager, sessionId);
|
|
72
|
-
const { getToolRegistryForAgent: getToolRegistryForAgent2 } = await import("./tools-
|
|
72
|
+
const { getToolRegistryForAgent: getToolRegistryForAgent2 } = await import("./tools-X65P65KF.js");
|
|
73
73
|
const tools = getToolRegistryForAgent2(agentDef).definitions;
|
|
74
74
|
const toolFingerprint = getToolFingerprint(tools);
|
|
75
75
|
const allAgents = await loadAllAgentsDefault();
|
|
@@ -82,7 +82,7 @@ async function buildCachedPrompt(sessionManager, sessionId, agentDef) {
|
|
|
82
82
|
async function computeSessionHash(sessionManager, sessionId) {
|
|
83
83
|
const { instructionContent, skills } = await loadSessionContext(sessionManager, sessionId);
|
|
84
84
|
const agentDef = await resolveAgentDef(sessionManager, sessionId);
|
|
85
|
-
const { getToolRegistryForAgent: getToolRegistryForAgent2 } = await import("./tools-
|
|
85
|
+
const { getToolRegistryForAgent: getToolRegistryForAgent2 } = await import("./tools-X65P65KF.js");
|
|
86
86
|
const tools = getToolRegistryForAgent2(agentDef).definitions;
|
|
87
87
|
const toolFingerprint = getToolFingerprint(tools);
|
|
88
88
|
return computeDynamicContextHash(instructionContent, skills, toolFingerprint);
|
|
@@ -362,4 +362,4 @@ export {
|
|
|
362
362
|
runChatTurn,
|
|
363
363
|
runAgentTurn
|
|
364
364
|
};
|
|
365
|
-
//# sourceMappingURL=chunk-
|
|
365
|
+
//# sourceMappingURL=chunk-B6VZS5SC.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createContextStateMessage,
|
|
3
3
|
createSessionStateMessage
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-47WNBFDO.js";
|
|
5
5
|
import {
|
|
6
6
|
getPendingQuestionsForSession
|
|
7
7
|
} from "./chunk-EU3WWTFH.js";
|
|
@@ -202,4 +202,4 @@ export {
|
|
|
202
202
|
buildRunChatTurnParams,
|
|
203
203
|
generateSessionNameForSession
|
|
204
204
|
};
|
|
205
|
-
//# sourceMappingURL=chunk-
|
|
205
|
+
//# sourceMappingURL=chunk-BKH4SIWV.js.map
|
|
@@ -3,12 +3,12 @@ import {
|
|
|
3
3
|
computeSessionHash,
|
|
4
4
|
runAgentTurn,
|
|
5
5
|
runChatTurn
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-B6VZS5SC.js";
|
|
7
7
|
import {
|
|
8
8
|
devServerManager,
|
|
9
9
|
executeSubAgent,
|
|
10
10
|
getToolRegistryForAgent
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-SBVKT4GT.js";
|
|
12
12
|
import {
|
|
13
13
|
checkAborted,
|
|
14
14
|
onProcessEvent,
|
|
@@ -31,7 +31,7 @@ import {
|
|
|
31
31
|
parseClientMessage,
|
|
32
32
|
serializeServerMessage,
|
|
33
33
|
storedEventToServerMessage
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-47WNBFDO.js";
|
|
35
35
|
import {
|
|
36
36
|
getPendingQuestionsForSession,
|
|
37
37
|
provideAnswer
|
|
@@ -79,7 +79,7 @@ import {
|
|
|
79
79
|
} from "./chunk-VUQCQXXJ.js";
|
|
80
80
|
import {
|
|
81
81
|
createServerMessage
|
|
82
|
-
} from "./chunk-
|
|
82
|
+
} from "./chunk-U7RLUZBP.js";
|
|
83
83
|
import {
|
|
84
84
|
getGlobalConfigDir
|
|
85
85
|
} from "./chunk-CQGTEGKL.js";
|
|
@@ -1641,12 +1641,14 @@ function createWebSocketServer(httpServer, _config, getLLMClient, getActiveProvi
|
|
|
1641
1641
|
})
|
|
1642
1642
|
);
|
|
1643
1643
|
});
|
|
1644
|
-
devServerManager.onStateChange((workdir, state, errorMessage) => {
|
|
1644
|
+
devServerManager.onStateChange((workdir, state, errorMessage, url, inspectProxyPort) => {
|
|
1645
1645
|
broadcastAll(
|
|
1646
1646
|
createServerMessage("devServer.state", {
|
|
1647
1647
|
workdir,
|
|
1648
1648
|
state,
|
|
1649
|
-
errorMessage
|
|
1649
|
+
errorMessage,
|
|
1650
|
+
url,
|
|
1651
|
+
inspectProxyPort
|
|
1650
1652
|
})
|
|
1651
1653
|
);
|
|
1652
1654
|
});
|
|
@@ -2220,4 +2222,4 @@ export {
|
|
|
2220
2222
|
signalMcpReady,
|
|
2221
2223
|
createWebSocketServer
|
|
2222
2224
|
};
|
|
2223
|
-
//# sourceMappingURL=chunk-
|
|
2225
|
+
//# sourceMappingURL=chunk-CK7G2JLY.js.map
|
|
@@ -200,7 +200,7 @@ async function runCli(options) {
|
|
|
200
200
|
break;
|
|
201
201
|
}
|
|
202
202
|
case "update": {
|
|
203
|
-
const { runUpdate } = await import("./update-
|
|
203
|
+
const { runUpdate } = await import("./update-6GITMIFG.js");
|
|
204
204
|
const code = await runUpdate();
|
|
205
205
|
if (code !== 0) {
|
|
206
206
|
process.exit(code);
|
|
@@ -213,7 +213,7 @@ async function runCli(options) {
|
|
|
213
213
|
if (!configExists) {
|
|
214
214
|
await runNetworkSetup(mode);
|
|
215
215
|
}
|
|
216
|
-
const { runServe } = await import("./serve-
|
|
216
|
+
const { runServe } = await import("./serve-IGWUSQDZ.js");
|
|
217
217
|
const serveOptions = { mode };
|
|
218
218
|
if (values.port) serveOptions.port = parseInt(values.port);
|
|
219
219
|
if (values["no-browser"] === true) serveOptions.openBrowser = false;
|
|
@@ -225,4 +225,4 @@ async function runCli(options) {
|
|
|
225
225
|
export {
|
|
226
226
|
runCli
|
|
227
227
|
};
|
|
228
|
-
//# sourceMappingURL=chunk-
|
|
228
|
+
//# sourceMappingURL=chunk-FY6FQTNN.js.map
|
|
@@ -26,14 +26,14 @@ import {
|
|
|
26
26
|
extractSensitivePathsFromCommand,
|
|
27
27
|
registerPathConfirmation,
|
|
28
28
|
requestPathAccess
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-5W2FIWDH.js";
|
|
30
30
|
import {
|
|
31
31
|
createChatDoneMessage,
|
|
32
32
|
createChatMessageMessage,
|
|
33
33
|
createChatMessageUpdatedMessage,
|
|
34
34
|
createChatPathConfirmationMessage,
|
|
35
35
|
createQueueStateMessage
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-47WNBFDO.js";
|
|
37
37
|
import {
|
|
38
38
|
AskUserInterrupt,
|
|
39
39
|
askUserTool
|
|
@@ -3254,7 +3254,7 @@ var callSubAgentTool = {
|
|
|
3254
3254
|
};
|
|
3255
3255
|
}
|
|
3256
3256
|
try {
|
|
3257
|
-
const { getToolRegistryForAgent: getToolRegistryForAgent2 } = await import("./tools-
|
|
3257
|
+
const { getToolRegistryForAgent: getToolRegistryForAgent2 } = await import("./tools-X65P65KF.js");
|
|
3258
3258
|
const toolRegistry = getToolRegistryForAgent2(agentDef);
|
|
3259
3259
|
const turnMetrics = new TurnMetrics();
|
|
3260
3260
|
const result = await executeSubAgent({
|
|
@@ -3616,8 +3616,11 @@ var DevServerManager = class {
|
|
|
3616
3616
|
}
|
|
3617
3617
|
emitStateChange(workdir, state, errorMessage) {
|
|
3618
3618
|
const resolved = this.resolveWorkdir(workdir);
|
|
3619
|
+
const instance = this.getInstance(workdir);
|
|
3620
|
+
const url = instance.resolvedUrl ?? instance.config?.url ?? null;
|
|
3621
|
+
const inspectProxyPort = instance.inspectProxyPort;
|
|
3619
3622
|
for (const listener of this.stateListeners) {
|
|
3620
|
-
listener(resolved, state, errorMessage);
|
|
3623
|
+
listener(resolved, state, errorMessage, url, inspectProxyPort);
|
|
3621
3624
|
}
|
|
3622
3625
|
}
|
|
3623
3626
|
/** Probe whether a TCP port is in use */
|
|
@@ -4257,7 +4260,7 @@ var mcpConfigTool = createTool(
|
|
|
4257
4260
|
mcpNotifyChanged?.(sessionId);
|
|
4258
4261
|
}
|
|
4259
4262
|
async function rebuildTools() {
|
|
4260
|
-
const { setMcpTools: setMcpTools2 } = await import("./tools-
|
|
4263
|
+
const { setMcpTools: setMcpTools2 } = await import("./tools-X65P65KF.js");
|
|
4261
4264
|
const mcpTools = createMcpTools(mcpManagerForTools);
|
|
4262
4265
|
setMcpTools2(mcpTools);
|
|
4263
4266
|
}
|
|
@@ -4914,4 +4917,4 @@ export {
|
|
|
4914
4917
|
getToolRegistryForAgent,
|
|
4915
4918
|
createToolRegistry
|
|
4916
4919
|
};
|
|
4917
|
-
//# sourceMappingURL=chunk-
|
|
4920
|
+
//# sourceMappingURL=chunk-SBVKT4GT.js.map
|
|
@@ -21,7 +21,7 @@ import {
|
|
|
21
21
|
tokenFromPassword,
|
|
22
22
|
verifyPassword,
|
|
23
23
|
workflowExists
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-CK7G2JLY.js";
|
|
25
25
|
import {
|
|
26
26
|
createToolRegistry,
|
|
27
27
|
deleteOwnedSkill,
|
|
@@ -47,7 +47,7 @@ import {
|
|
|
47
47
|
setSkillEnabled,
|
|
48
48
|
skillExists,
|
|
49
49
|
updateOwnedSkill
|
|
50
|
-
} from "./chunk-
|
|
50
|
+
} from "./chunk-SBVKT4GT.js";
|
|
51
51
|
import {
|
|
52
52
|
createMcpTools
|
|
53
53
|
} from "./chunk-NWO6GRYE.js";
|
|
@@ -69,7 +69,7 @@ import {
|
|
|
69
69
|
} from "./chunk-7PZBCATU.js";
|
|
70
70
|
import {
|
|
71
71
|
createContextStateMessage
|
|
72
|
-
} from "./chunk-
|
|
72
|
+
} from "./chunk-47WNBFDO.js";
|
|
73
73
|
import {
|
|
74
74
|
EventEmitter
|
|
75
75
|
} from "./chunk-EU3WWTFH.js";
|
|
@@ -87,7 +87,7 @@ import {
|
|
|
87
87
|
} from "./chunk-6AE3JPDJ.js";
|
|
88
88
|
import {
|
|
89
89
|
VERSION
|
|
90
|
-
} from "./chunk-
|
|
90
|
+
} from "./chunk-3USWJ6MR.js";
|
|
91
91
|
import {
|
|
92
92
|
emitAssistantMessageStart,
|
|
93
93
|
emitContextState,
|
|
@@ -174,7 +174,7 @@ import {
|
|
|
174
174
|
} from "./chunk-K44MW7JJ.js";
|
|
175
175
|
import {
|
|
176
176
|
createServerMessage
|
|
177
|
-
} from "./chunk-
|
|
177
|
+
} from "./chunk-U7RLUZBP.js";
|
|
178
178
|
import {
|
|
179
179
|
getGlobalConfigDir
|
|
180
180
|
} from "./chunk-CQGTEGKL.js";
|
|
@@ -5422,7 +5422,7 @@ async function createServerHandle(config3) {
|
|
|
5422
5422
|
setMcpTools(mcpTools);
|
|
5423
5423
|
logger.info("MCP tools registered", { count: mcpTools.length });
|
|
5424
5424
|
}
|
|
5425
|
-
const { signalMcpReady } = await import("./server-
|
|
5425
|
+
const { signalMcpReady } = await import("./server-3X46OIYC.js");
|
|
5426
5426
|
signalMcpReady();
|
|
5427
5427
|
});
|
|
5428
5428
|
const app = express();
|
|
@@ -5766,7 +5766,7 @@ All file and git operations should use this branch.
|
|
|
5766
5766
|
});
|
|
5767
5767
|
app.get("/api/sessions", async (req, res) => {
|
|
5768
5768
|
const { getRecentUserPromptsForSession } = await import("./events-OEDAFNEI.js");
|
|
5769
|
-
const { getPendingConfirmationsBySession } = await import("./path-security-
|
|
5769
|
+
const { getPendingConfirmationsBySession } = await import("./path-security-DWL3R2SF.js");
|
|
5770
5770
|
const projectId = req.query["projectId"];
|
|
5771
5771
|
const limit = Math.min(parseInt(req.query["limit"]) || 20, 100);
|
|
5772
5772
|
const offset = parseInt(req.query["offset"]) || 0;
|
|
@@ -5874,7 +5874,7 @@ All file and git operations should use this branch.
|
|
|
5874
5874
|
app.get("/api/sessions/:id", async (req, res) => {
|
|
5875
5875
|
const { getEventStore: getEventStore2, combineEventsWithSnapshot } = await import("./events-OEDAFNEI.js");
|
|
5876
5876
|
const { buildMessagesFromStoredEvents, foldPendingConfirmations } = await import("./folding-FGTCP73N.js");
|
|
5877
|
-
const { getPendingQuestionsForSession } = await import("./tools-
|
|
5877
|
+
const { getPendingQuestionsForSession } = await import("./tools-X65P65KF.js");
|
|
5878
5878
|
const { getMaxVisibleItems } = await import("./settings-AGNYWEIE.js");
|
|
5879
5879
|
const session = sessionManager.getSession(req.params.id);
|
|
5880
5880
|
if (!session) {
|
|
@@ -5905,8 +5905,8 @@ All file and git operations should use this branch.
|
|
|
5905
5905
|
if (!session) {
|
|
5906
5906
|
return res.status(404).json({ error: "Session not found" });
|
|
5907
5907
|
}
|
|
5908
|
-
const { stopSessionExecution } = await import("./chat-handler-
|
|
5909
|
-
const { cancelQuestionsForSession, cancelPathConfirmationsForSession } = await import("./tools-
|
|
5908
|
+
const { stopSessionExecution } = await import("./chat-handler-AVGJQSYW.js");
|
|
5909
|
+
const { cancelQuestionsForSession, cancelPathConfirmationsForSession } = await import("./tools-X65P65KF.js");
|
|
5910
5910
|
sessionManager.clearMessageQueue(sessionId);
|
|
5911
5911
|
stopSessionExecution(sessionId, sessionManager);
|
|
5912
5912
|
abortSession(sessionId);
|
|
@@ -6113,7 +6113,7 @@ All file and git operations should use this branch.
|
|
|
6113
6113
|
if (alwaysAllow !== void 0 && typeof alwaysAllow !== "boolean") {
|
|
6114
6114
|
return res.status(400).json({ error: "alwaysAllow must be a boolean if provided" });
|
|
6115
6115
|
}
|
|
6116
|
-
const { providePathConfirmation, getConfirmationSessionId } = await import("./tools-
|
|
6116
|
+
const { providePathConfirmation, getConfirmationSessionId } = await import("./tools-X65P65KF.js");
|
|
6117
6117
|
const pendingSessionId = getConfirmationSessionId(callId);
|
|
6118
6118
|
if (!pendingSessionId) {
|
|
6119
6119
|
return res.status(404).json({ error: "No pending path confirmation with that ID" });
|
|
@@ -6127,8 +6127,8 @@ All file and git operations should use this branch.
|
|
|
6127
6127
|
}
|
|
6128
6128
|
const { getEventStore: getEventStore2, combineEventsWithSnapshot: combineEvents } = await import("./events-OEDAFNEI.js");
|
|
6129
6129
|
const { buildMessagesFromStoredEvents, foldPendingConfirmations } = await import("./folding-FGTCP73N.js");
|
|
6130
|
-
const { createSessionStateMessage } = await import("./protocol-
|
|
6131
|
-
const { getPendingQuestionsForSession } = await import("./tools-
|
|
6130
|
+
const { createSessionStateMessage } = await import("./protocol-BUA2W2KM.js");
|
|
6131
|
+
const { getPendingQuestionsForSession } = await import("./tools-X65P65KF.js");
|
|
6132
6132
|
const { getMaxVisibleItems } = await import("./settings-AGNYWEIE.js");
|
|
6133
6133
|
const eventStore = getEventStore2();
|
|
6134
6134
|
const { snapshot, events: eventsSinceSnapshot } = eventStore.getEventsSinceSnapshot(sessionId);
|
|
@@ -6165,7 +6165,7 @@ All file and git operations should use this branch.
|
|
|
6165
6165
|
if (!skip && typeof answer !== "string") {
|
|
6166
6166
|
return res.status(400).json({ error: "answer is required when not skipping" });
|
|
6167
6167
|
}
|
|
6168
|
-
const { provideAnswer } = await import("./tools-
|
|
6168
|
+
const { provideAnswer } = await import("./tools-X65P65KF.js");
|
|
6169
6169
|
const found = provideAnswer(callId, answer ?? "", skip ?? false);
|
|
6170
6170
|
if (!found) {
|
|
6171
6171
|
return res.status(404).json({ error: "No pending question with that ID" });
|
|
@@ -6225,7 +6225,7 @@ All file and git operations should use this branch.
|
|
|
6225
6225
|
backend: activeProvider?.backend ?? llmClient.getBackend(),
|
|
6226
6226
|
model: llmClient.getModel()
|
|
6227
6227
|
};
|
|
6228
|
-
const { runAgentTurn, TurnMetrics } = await import("./orchestrator-
|
|
6228
|
+
const { runAgentTurn, TurnMetrics } = await import("./orchestrator-AGJ7EMFZ.js");
|
|
6229
6229
|
runAgentTurn(
|
|
6230
6230
|
{
|
|
6231
6231
|
sessionManager,
|
|
@@ -6263,8 +6263,8 @@ All file and git operations should use this branch.
|
|
|
6263
6263
|
if (!session) {
|
|
6264
6264
|
return res.status(404).json({ error: "Session not found" });
|
|
6265
6265
|
}
|
|
6266
|
-
const { stopSessionExecution } = await import("./chat-handler-
|
|
6267
|
-
const { cancelQuestionsForSession, cancelPathConfirmationsForSession } = await import("./tools-
|
|
6266
|
+
const { stopSessionExecution } = await import("./chat-handler-AVGJQSYW.js");
|
|
6267
|
+
const { cancelQuestionsForSession, cancelPathConfirmationsForSession } = await import("./tools-X65P65KF.js");
|
|
6268
6268
|
const queuedMessages = sessionManager.getQueueState(sessionId);
|
|
6269
6269
|
sessionManager.clearMessageQueue(sessionId);
|
|
6270
6270
|
stopSessionExecution(sessionId, sessionManager);
|
|
@@ -6914,7 +6914,7 @@ All file and git operations should use this branch.
|
|
|
6914
6914
|
});
|
|
6915
6915
|
async function rebuildMcpTools() {
|
|
6916
6916
|
const { createMcpTools: createMcpTools2 } = await import("./tool-adapter-MOGEI6TP.js");
|
|
6917
|
-
const { setMcpTools: setMcpTools2 } = await import("./tools-
|
|
6917
|
+
const { setMcpTools: setMcpTools2 } = await import("./tools-X65P65KF.js");
|
|
6918
6918
|
const mcpTools = createMcpTools2(mcpManager);
|
|
6919
6919
|
setMcpTools2(mcpTools);
|
|
6920
6920
|
}
|
|
@@ -7310,7 +7310,7 @@ All file and git operations should use this branch.
|
|
|
7310
7310
|
const state = sessionManager.getContextState(sessionId);
|
|
7311
7311
|
wssExports.broadcastForSession(sessionId, createContextStateMessage(state));
|
|
7312
7312
|
});
|
|
7313
|
-
const { QueueProcessor } = await import("./processor-
|
|
7313
|
+
const { QueueProcessor } = await import("./processor-VCDVG7RV.js");
|
|
7314
7314
|
const queueProcessor = new QueueProcessor({
|
|
7315
7315
|
sessionManager,
|
|
7316
7316
|
providerManager,
|
|
@@ -7390,4 +7390,4 @@ export {
|
|
|
7390
7390
|
createServerHandle,
|
|
7391
7391
|
createServer
|
|
7392
7392
|
};
|
|
7393
|
-
//# sourceMappingURL=chunk-
|
|
7393
|
+
//# sourceMappingURL=chunk-VGYV5EH6.js.map
|
package/dist/cli/dev.js
CHANGED
package/dist/cli/index.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
runAgentTurn,
|
|
3
3
|
runChatTurn
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-B6VZS5SC.js";
|
|
5
|
+
import "./chunk-SBVKT4GT.js";
|
|
6
6
|
import "./chunk-3JYPDZT2.js";
|
|
7
7
|
import "./chunk-NWO6GRYE.js";
|
|
8
8
|
import "./chunk-VPFUXGMM.js";
|
|
9
9
|
import "./chunk-7PZBCATU.js";
|
|
10
10
|
import "./chunk-J7GAZGZT.js";
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
11
|
+
import "./chunk-5W2FIWDH.js";
|
|
12
|
+
import "./chunk-47WNBFDO.js";
|
|
13
13
|
import "./chunk-EU3WWTFH.js";
|
|
14
14
|
import {
|
|
15
15
|
TurnMetrics,
|
|
@@ -34,7 +34,7 @@ import "./chunk-RMXPVQP4.js";
|
|
|
34
34
|
import "./chunk-STFIEU5F.js";
|
|
35
35
|
import "./chunk-RGUUZD5B.js";
|
|
36
36
|
import "./chunk-K44MW7JJ.js";
|
|
37
|
-
import "./chunk-
|
|
37
|
+
import "./chunk-U7RLUZBP.js";
|
|
38
38
|
import "./chunk-N54PQSCH.js";
|
|
39
39
|
import "./chunk-CQGTEGKL.js";
|
|
40
40
|
import "./chunk-5WRI5ZAA.js";
|
|
@@ -48,4 +48,4 @@ export {
|
|
|
48
48
|
runAgentTurn,
|
|
49
49
|
runChatTurn
|
|
50
50
|
};
|
|
51
|
-
//# sourceMappingURL=orchestrator-
|
|
51
|
+
//# sourceMappingURL=orchestrator-AGJ7EMFZ.js.map
|
package/dist/package.json
CHANGED
|
@@ -19,8 +19,8 @@ import {
|
|
|
19
19
|
providePathConfirmation,
|
|
20
20
|
registerPathConfirmation,
|
|
21
21
|
requestPathAccess
|
|
22
|
-
} from "./chunk-
|
|
23
|
-
import "./chunk-
|
|
22
|
+
} from "./chunk-5W2FIWDH.js";
|
|
23
|
+
import "./chunk-47WNBFDO.js";
|
|
24
24
|
import "./chunk-V5LOH363.js";
|
|
25
25
|
import "./chunk-OHKBGMLO.js";
|
|
26
26
|
import "./chunk-L4S5N3WV.js";
|
|
@@ -28,7 +28,7 @@ import "./chunk-FYYPQ27K.js";
|
|
|
28
28
|
import "./chunk-STFIEU5F.js";
|
|
29
29
|
import "./chunk-RGUUZD5B.js";
|
|
30
30
|
import "./chunk-K44MW7JJ.js";
|
|
31
|
-
import "./chunk-
|
|
31
|
+
import "./chunk-U7RLUZBP.js";
|
|
32
32
|
import "./chunk-CQGTEGKL.js";
|
|
33
33
|
import "./chunk-5WRI5ZAA.js";
|
|
34
34
|
export {
|
|
@@ -53,4 +53,4 @@ export {
|
|
|
53
53
|
registerPathConfirmation,
|
|
54
54
|
requestPathAccess
|
|
55
55
|
};
|
|
56
|
-
//# sourceMappingURL=path-security-
|
|
56
|
+
//# sourceMappingURL=path-security-DWL3R2SF.js.map
|
|
@@ -2,18 +2,18 @@ import {
|
|
|
2
2
|
buildRunChatTurnParams,
|
|
3
3
|
finalizeTurnCompletion,
|
|
4
4
|
generateSessionNameForSession
|
|
5
|
-
} from "./chunk-
|
|
6
|
-
import "./chunk-
|
|
5
|
+
} from "./chunk-BKH4SIWV.js";
|
|
6
|
+
import "./chunk-SBVKT4GT.js";
|
|
7
7
|
import "./chunk-3JYPDZT2.js";
|
|
8
8
|
import "./chunk-NWO6GRYE.js";
|
|
9
9
|
import "./chunk-VPFUXGMM.js";
|
|
10
10
|
import "./chunk-7PZBCATU.js";
|
|
11
11
|
import "./chunk-J7GAZGZT.js";
|
|
12
|
-
import "./chunk-
|
|
12
|
+
import "./chunk-5W2FIWDH.js";
|
|
13
13
|
import {
|
|
14
14
|
createChatMessageMessage,
|
|
15
15
|
createSessionRunningMessage
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-47WNBFDO.js";
|
|
17
17
|
import "./chunk-EU3WWTFH.js";
|
|
18
18
|
import "./chunk-H765CIHN.js";
|
|
19
19
|
import "./chunk-W23S3TU5.js";
|
|
@@ -35,7 +35,7 @@ import "./chunk-RGUUZD5B.js";
|
|
|
35
35
|
import {
|
|
36
36
|
logger
|
|
37
37
|
} from "./chunk-K44MW7JJ.js";
|
|
38
|
-
import "./chunk-
|
|
38
|
+
import "./chunk-U7RLUZBP.js";
|
|
39
39
|
import "./chunk-N54PQSCH.js";
|
|
40
40
|
import "./chunk-CQGTEGKL.js";
|
|
41
41
|
import "./chunk-5WRI5ZAA.js";
|
|
@@ -182,7 +182,7 @@ var QueueProcessor = class {
|
|
|
182
182
|
backend: provider?.backend ?? llmClient.getBackend(),
|
|
183
183
|
model: llmClient.getModel()
|
|
184
184
|
};
|
|
185
|
-
const { runChatTurn } = await import("./orchestrator-
|
|
185
|
+
const { runChatTurn } = await import("./orchestrator-AGJ7EMFZ.js");
|
|
186
186
|
const runChatTurnParams = buildRunChatTurnParams({
|
|
187
187
|
sessionManager,
|
|
188
188
|
sessionId,
|
|
@@ -230,4 +230,4 @@ var QueueProcessor = class {
|
|
|
230
230
|
export {
|
|
231
231
|
QueueProcessor
|
|
232
232
|
};
|
|
233
|
-
//# sourceMappingURL=processor-
|
|
233
|
+
//# sourceMappingURL=processor-VCDVG7RV.js.map
|
|
@@ -35,8 +35,8 @@ import {
|
|
|
35
35
|
parseClientMessage,
|
|
36
36
|
serializeServerMessage,
|
|
37
37
|
storedEventToServerMessage
|
|
38
|
-
} from "./chunk-
|
|
39
|
-
import "./chunk-
|
|
38
|
+
} from "./chunk-47WNBFDO.js";
|
|
39
|
+
import "./chunk-U7RLUZBP.js";
|
|
40
40
|
import "./chunk-5WRI5ZAA.js";
|
|
41
41
|
export {
|
|
42
42
|
createChatAskUserMessage,
|
|
@@ -76,4 +76,4 @@ export {
|
|
|
76
76
|
serializeServerMessage,
|
|
77
77
|
storedEventToServerMessage
|
|
78
78
|
};
|
|
79
|
-
//# sourceMappingURL=protocol-
|
|
79
|
+
//# sourceMappingURL=protocol-BUA2W2KM.js.map
|
|
@@ -228,6 +228,8 @@ interface DevServerStatePayload {
|
|
|
228
228
|
workdir: string;
|
|
229
229
|
state: 'off' | 'running' | 'warning' | 'error';
|
|
230
230
|
errorMessage?: string;
|
|
231
|
+
url?: string | null;
|
|
232
|
+
inspectProxyPort?: number | null;
|
|
231
233
|
}
|
|
232
234
|
interface BackgroundProcessStartedPayload {
|
|
233
235
|
processId: string;
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createServer
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
5
|
-
import "./chunk-
|
|
6
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-VGYV5EH6.js";
|
|
4
|
+
import "./chunk-CK7G2JLY.js";
|
|
5
|
+
import "./chunk-B6VZS5SC.js";
|
|
6
|
+
import "./chunk-SBVKT4GT.js";
|
|
7
7
|
import "./chunk-3JYPDZT2.js";
|
|
8
8
|
import "./chunk-NWO6GRYE.js";
|
|
9
9
|
import "./chunk-VPFUXGMM.js";
|
|
10
10
|
import "./chunk-7PZBCATU.js";
|
|
11
11
|
import "./chunk-J7GAZGZT.js";
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
12
|
+
import "./chunk-5W2FIWDH.js";
|
|
13
|
+
import "./chunk-47WNBFDO.js";
|
|
14
14
|
import "./chunk-EU3WWTFH.js";
|
|
15
15
|
import "./chunk-WVMOGE7U.js";
|
|
16
16
|
import "./chunk-H765CIHN.js";
|
|
@@ -20,7 +20,7 @@ import "./chunk-6AE3JPDJ.js";
|
|
|
20
20
|
import "./chunk-I72ACQ6R.js";
|
|
21
21
|
import {
|
|
22
22
|
VERSION
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-3USWJ6MR.js";
|
|
24
24
|
import "./chunk-V5LOH363.js";
|
|
25
25
|
import "./chunk-OHKBGMLO.js";
|
|
26
26
|
import "./chunk-L4S5N3WV.js";
|
|
@@ -41,7 +41,7 @@ import {
|
|
|
41
41
|
logger
|
|
42
42
|
} from "./chunk-K44MW7JJ.js";
|
|
43
43
|
import "./chunk-VUQCQXXJ.js";
|
|
44
|
-
import "./chunk-
|
|
44
|
+
import "./chunk-U7RLUZBP.js";
|
|
45
45
|
import {
|
|
46
46
|
getActiveProvider,
|
|
47
47
|
getDefaultModel,
|
|
@@ -213,4 +213,4 @@ async function runServe(options) {
|
|
|
213
213
|
export {
|
|
214
214
|
runServe
|
|
215
215
|
};
|
|
216
|
-
//# sourceMappingURL=serve-
|
|
216
|
+
//# sourceMappingURL=serve-IGWUSQDZ.js.map
|
package/dist/server/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { h as Diagnostic, u as Provider, r as ModelConfig, w as Session, B as SessionSummary, t as Project, y as SessionMode, z as SessionPhase, M as Message, d as Criterion, f as CriterionStatus, q as MetadataEntry, A as Attachment, b as ContextState, D as DangerLevel$1, H as StatsIdentity, O as ToolResult, a as Config } from '../types-B4wa_vGm.js';
|
|
2
2
|
import { Server } from 'node:http';
|
|
3
3
|
import { e as LLMClient, d as LLMToolDefinition } from '../types-CrLD4iRS.js';
|
|
4
|
-
import { a0 as QueuedMessage, a1 as ServerMessage } from '../protocol-
|
|
4
|
+
import { a0 as QueuedMessage, a1 as ServerMessage } from '../protocol-BzTZcNEh.js';
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* Model-specific configuration profiles.
|