openfox 1.6.92 → 1.6.94
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-7AGIGW6F.js → auto-compaction-UOYOMWLZ.js} +6 -6
- package/dist/{chat-handler-UPAEF6HR.js → chat-handler-5HU4QWD4.js} +9 -9
- package/dist/{chunk-YTPPQK55.js → chunk-4I3C46WU.js} +2 -2
- package/dist/{chunk-RW25DL5R.js → chunk-CGZHLM3K.js} +2 -2
- package/dist/{chunk-2TKN2X2A.js → chunk-CHEVYEM4.js} +3 -3
- package/dist/{chunk-XGJ7HDQ7.js → chunk-DTXWOKAG.js} +2 -2
- package/dist/{chunk-ARJIHQ3S.js → chunk-FVVLGR2G.js} +12 -14
- package/dist/{chunk-RJIPM7CO.js → chunk-HGAMIPFO.js} +2 -2
- package/dist/{chunk-WBQNIWAQ.js → chunk-HHAJ3QF6.js} +5 -5
- package/dist/{chunk-BHZL3N2F.js → chunk-NNEHZT3V.js} +12 -12
- package/dist/{chunk-7KO2BQFQ.js → chunk-PNIXFZZH.js} +7 -7
- package/dist/{chunk-2BS6LMIU.js → chunk-QIFXGM2L.js} +29 -29
- package/dist/{chunk-7QG6LY5Q.js → chunk-RF2JGDSS.js} +3 -3
- package/dist/{chunk-CHICEUV6.js → chunk-SZKEGZIB.js} +5 -5
- package/dist/cli/dev.js +1 -1
- package/dist/cli/index.js +1 -1
- package/dist/{config-7XJQNOKX.js → config-YU7NYZYG.js} +5 -5
- package/dist/{events-K6AYMXFT.js → events-HTVBWGHO.js} +3 -3
- package/dist/{orchestrator-M4WINFF3.js → orchestrator-KGYZO6XH.js} +7 -7
- package/dist/package.json +1 -1
- package/dist/{processor-D4XQ5QMB.js → processor-QFBRN6AZ.js} +5 -5
- package/dist/{provider-UO5PAZQQ.js → provider-HTJEB3ON.js} +7 -7
- package/dist/{runtime-config-CYHDAC7W.js → runtime-config-NPSPMRDA.js} +2 -2
- package/dist/{serve-Z5FNJUDT.js → serve-PSZFEXYU.js} +11 -11
- package/dist/server/index.d.ts +1 -0
- package/dist/server/index.js +9 -9
- package/dist/{tools-NFFQWH6M.js → tools-FZS5JNQE.js} +6 -6
- package/dist/{vision-fallback-GZZWU7CR.js → vision-fallback-3MIZZ6NQ.js} +2 -2
- package/dist/web/assets/{index-CM0cLwa6.css → index-CGEQK8Pf.css} +1 -1
- package/dist/web/assets/index-GOp_0IH2.js +158 -0
- package/dist/web/index.html +2 -2
- package/dist/web/sw.js +1 -1
- package/package.json +1 -1
- package/dist/web/assets/index-SkaCnTiV.js +0 -176
- /package/dist/web/{workbox-7fc22fbe.js → workbox-8c29f6e4.js} +0 -0
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
createVerifierNudgeConfig,
|
|
3
3
|
runBuilderTurn,
|
|
4
4
|
runChatTurn
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-CHEVYEM4.js";
|
|
6
6
|
import {
|
|
7
7
|
TurnMetrics,
|
|
8
8
|
agentExists,
|
|
@@ -46,7 +46,7 @@ import {
|
|
|
46
46
|
saveSkillToProject,
|
|
47
47
|
skillExists,
|
|
48
48
|
spawnShellProcess
|
|
49
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-FVVLGR2G.js";
|
|
50
50
|
import {
|
|
51
51
|
getProject
|
|
52
52
|
} from "./chunk-ZHBL5G5X.js";
|
|
@@ -59,18 +59,18 @@ import {
|
|
|
59
59
|
import {
|
|
60
60
|
createProviderManager,
|
|
61
61
|
parseDefaultModelSelection
|
|
62
|
-
} from "./chunk-
|
|
62
|
+
} from "./chunk-RF2JGDSS.js";
|
|
63
63
|
import {
|
|
64
64
|
SessionNotFoundError,
|
|
65
65
|
createLLMClient,
|
|
66
66
|
detectModel,
|
|
67
67
|
getLlmStatus
|
|
68
|
-
} from "./chunk-
|
|
68
|
+
} from "./chunk-HHAJ3QF6.js";
|
|
69
69
|
import {
|
|
70
70
|
detectBackend,
|
|
71
71
|
getBackendDisplayName,
|
|
72
72
|
getModelProfile
|
|
73
|
-
} from "./chunk-
|
|
73
|
+
} from "./chunk-HGAMIPFO.js";
|
|
74
74
|
import {
|
|
75
75
|
createSession,
|
|
76
76
|
deleteSession,
|
|
@@ -96,7 +96,7 @@ import {
|
|
|
96
96
|
updateSessionProvider,
|
|
97
97
|
updateSessionRunning,
|
|
98
98
|
updateSessionSummary
|
|
99
|
-
} from "./chunk-
|
|
99
|
+
} from "./chunk-4I3C46WU.js";
|
|
100
100
|
import {
|
|
101
101
|
initDatabase
|
|
102
102
|
} from "./chunk-5GVCNVKV.js";
|
|
@@ -135,7 +135,7 @@ import {
|
|
|
135
135
|
import {
|
|
136
136
|
getRuntimeConfig,
|
|
137
137
|
setRuntimeConfig
|
|
138
|
-
} from "./chunk-
|
|
138
|
+
} from "./chunk-CGZHLM3K.js";
|
|
139
139
|
import {
|
|
140
140
|
logger,
|
|
141
141
|
setLogLevel
|
|
@@ -5359,7 +5359,7 @@ import { Router as Router5 } from "express";
|
|
|
5359
5359
|
import { spawn as spawn4 } from "child_process";
|
|
5360
5360
|
|
|
5361
5361
|
// src/constants.ts
|
|
5362
|
-
var VERSION = "1.6.
|
|
5362
|
+
var VERSION = "1.6.94";
|
|
5363
5363
|
|
|
5364
5364
|
// src/server/routes/auto-update.ts
|
|
5365
5365
|
var updateInProgress = false;
|
|
@@ -5656,7 +5656,7 @@ async function createServerHandle(config4) {
|
|
|
5656
5656
|
res.json({ project });
|
|
5657
5657
|
});
|
|
5658
5658
|
app.get("/api/sessions", async (req, res) => {
|
|
5659
|
-
const { getRecentUserPromptsForSession } = await import("./events-
|
|
5659
|
+
const { getRecentUserPromptsForSession } = await import("./events-HTVBWGHO.js");
|
|
5660
5660
|
const projectId = req.query["projectId"];
|
|
5661
5661
|
const limit = Math.min(parseInt(req.query["limit"]) || 20, 100);
|
|
5662
5662
|
const offset = parseInt(req.query["offset"]) || 0;
|
|
@@ -5689,7 +5689,7 @@ async function createServerHandle(config4) {
|
|
|
5689
5689
|
res.status(201).json({ session });
|
|
5690
5690
|
});
|
|
5691
5691
|
app.get("/api/sessions/:id", async (req, res) => {
|
|
5692
|
-
const { getEventStore: getEventStore2 } = await import("./events-
|
|
5692
|
+
const { getEventStore: getEventStore2 } = await import("./events-HTVBWGHO.js");
|
|
5693
5693
|
const { buildMessagesFromStoredEvents: buildMessagesFromStoredEvents2 } = await import("./folding-4VHGQE6Y.js");
|
|
5694
5694
|
const session = sessionManager.getSession(req.params.id);
|
|
5695
5695
|
if (!session) {
|
|
@@ -5720,7 +5720,7 @@ async function createServerHandle(config4) {
|
|
|
5720
5720
|
res.json({ success: true });
|
|
5721
5721
|
});
|
|
5722
5722
|
app.post("/api/sessions/:id/provider", async (req, res) => {
|
|
5723
|
-
const { getEventStore: getEventStore2 } = await import("./events-
|
|
5723
|
+
const { getEventStore: getEventStore2 } = await import("./events-HTVBWGHO.js");
|
|
5724
5724
|
const { buildMessagesFromStoredEvents: buildMessagesFromStoredEvents2 } = await import("./folding-4VHGQE6Y.js");
|
|
5725
5725
|
const sessionId = req.params.id;
|
|
5726
5726
|
const session = sessionManager.getSession(sessionId);
|
|
@@ -5732,7 +5732,7 @@ async function createServerHandle(config4) {
|
|
|
5732
5732
|
return res.status(400).json({ error: "providerId is required" });
|
|
5733
5733
|
}
|
|
5734
5734
|
sessionManager.setSessionProvider(sessionId, providerId, model ?? "auto");
|
|
5735
|
-
const { loadGlobalConfig, saveGlobalConfig, setDefaultModelSelection } = await import("./config-
|
|
5735
|
+
const { loadGlobalConfig, saveGlobalConfig, setDefaultModelSelection } = await import("./config-YU7NYZYG.js");
|
|
5736
5736
|
const globalConfig = await loadGlobalConfig(config4.mode ?? "production");
|
|
5737
5737
|
const updatedConfig = setDefaultModelSelection(globalConfig, providerId, model ?? "auto");
|
|
5738
5738
|
await saveGlobalConfig(config4.mode ?? "production", updatedConfig);
|
|
@@ -5758,7 +5758,7 @@ async function createServerHandle(config4) {
|
|
|
5758
5758
|
res.json({ success: true });
|
|
5759
5759
|
});
|
|
5760
5760
|
app.put("/api/sessions/:id/mode", async (req, res) => {
|
|
5761
|
-
const { getEventStore: getEventStore2 } = await import("./events-
|
|
5761
|
+
const { getEventStore: getEventStore2 } = await import("./events-HTVBWGHO.js");
|
|
5762
5762
|
const { buildMessagesFromStoredEvents: buildMessagesFromStoredEvents2 } = await import("./folding-4VHGQE6Y.js");
|
|
5763
5763
|
const sessionId = req.params.id;
|
|
5764
5764
|
const session = sessionManager.getSession(sessionId);
|
|
@@ -5815,12 +5815,12 @@ async function createServerHandle(config4) {
|
|
|
5815
5815
|
if (!callId || approved === void 0) {
|
|
5816
5816
|
return res.status(400).json({ error: "callId and approved are required" });
|
|
5817
5817
|
}
|
|
5818
|
-
const { providePathConfirmation } = await import("./tools-
|
|
5818
|
+
const { providePathConfirmation } = await import("./tools-FZS5JNQE.js");
|
|
5819
5819
|
const result = providePathConfirmation(callId, approved, alwaysAllow);
|
|
5820
5820
|
if (!result.found) {
|
|
5821
5821
|
return res.status(404).json({ error: "No pending path confirmation with that ID" });
|
|
5822
5822
|
}
|
|
5823
|
-
const { getEventStore: getEventStore2 } = await import("./events-
|
|
5823
|
+
const { getEventStore: getEventStore2 } = await import("./events-HTVBWGHO.js");
|
|
5824
5824
|
const { buildMessagesFromStoredEvents: buildMessagesFromStoredEvents2, foldPendingConfirmations: foldPendingConfirmations2 } = await import("./folding-4VHGQE6Y.js");
|
|
5825
5825
|
const { createSessionStateMessage: createSessionStateMessage2 } = await import("./protocol-QDSVJTRN.js");
|
|
5826
5826
|
const eventStore = getEventStore2();
|
|
@@ -5839,7 +5839,7 @@ async function createServerHandle(config4) {
|
|
|
5839
5839
|
if (!callId || !answer) {
|
|
5840
5840
|
return res.status(400).json({ error: "callId and answer are required" });
|
|
5841
5841
|
}
|
|
5842
|
-
const { provideAnswer: provideAnswer2 } = await import("./tools-
|
|
5842
|
+
const { provideAnswer: provideAnswer2 } = await import("./tools-FZS5JNQE.js");
|
|
5843
5843
|
const found = provideAnswer2(callId, answer);
|
|
5844
5844
|
if (!found) {
|
|
5845
5845
|
return res.status(404).json({ error: "No pending question with that ID" });
|
|
@@ -5875,14 +5875,14 @@ async function createServerHandle(config4) {
|
|
|
5875
5875
|
if (!session) {
|
|
5876
5876
|
return res.status(404).json({ error: "Session not found" });
|
|
5877
5877
|
}
|
|
5878
|
-
const { stopSessionExecution } = await import("./chat-handler-
|
|
5879
|
-
const { cancelQuestionsForSession, cancelPathConfirmationsForSession } = await import("./tools-
|
|
5878
|
+
const { stopSessionExecution } = await import("./chat-handler-5HU4QWD4.js");
|
|
5879
|
+
const { cancelQuestionsForSession, cancelPathConfirmationsForSession } = await import("./tools-FZS5JNQE.js");
|
|
5880
5880
|
stopSessionExecution(sessionId, sessionManager);
|
|
5881
5881
|
abortSession(sessionId);
|
|
5882
5882
|
cancelQuestionsForSession(sessionId, "Session stopped by user");
|
|
5883
5883
|
cancelPathConfirmationsForSession(sessionId, "Session stopped by user");
|
|
5884
5884
|
sessionManager.clearMessageQueue(sessionId);
|
|
5885
|
-
const eventStore = (await import("./events-
|
|
5885
|
+
const eventStore = (await import("./events-HTVBWGHO.js")).getEventStore();
|
|
5886
5886
|
eventStore.append(sessionId, { type: "running.changed", data: { isRunning: false } });
|
|
5887
5887
|
res.json({ success: true });
|
|
5888
5888
|
});
|
|
@@ -5896,7 +5896,7 @@ async function createServerHandle(config4) {
|
|
|
5896
5896
|
if (typeof messageIndex !== "number" || messageIndex < 0) {
|
|
5897
5897
|
return res.status(400).json({ error: "messageIndex must be a non-negative number" });
|
|
5898
5898
|
}
|
|
5899
|
-
const { truncateSessionMessages } = await import("./events-
|
|
5899
|
+
const { truncateSessionMessages } = await import("./events-HTVBWGHO.js");
|
|
5900
5900
|
truncateSessionMessages(sessionId, messageIndex);
|
|
5901
5901
|
res.json({ success: true });
|
|
5902
5902
|
});
|
|
@@ -5948,14 +5948,14 @@ async function createServerHandle(config4) {
|
|
|
5948
5948
|
let visionFallback;
|
|
5949
5949
|
let globalWorkdir;
|
|
5950
5950
|
try {
|
|
5951
|
-
const { loadGlobalConfig, getVisionFallback } = await import("./config-
|
|
5951
|
+
const { loadGlobalConfig, getVisionFallback } = await import("./config-YU7NYZYG.js");
|
|
5952
5952
|
const globalConfig = await loadGlobalConfig(config4.mode ?? "production");
|
|
5953
5953
|
const fallback = getVisionFallback(globalConfig);
|
|
5954
5954
|
if (fallback) {
|
|
5955
5955
|
visionFallback = {
|
|
5956
5956
|
enabled: fallback.enabled ?? false,
|
|
5957
5957
|
url: fallback.url ?? "http://localhost:11434",
|
|
5958
|
-
model: fallback.model ?? "qwen3
|
|
5958
|
+
model: fallback.model ?? "qwen3.5:0.8b",
|
|
5959
5959
|
timeout: fallback.timeout ?? 120
|
|
5960
5960
|
};
|
|
5961
5961
|
}
|
|
@@ -6027,7 +6027,7 @@ async function createServerHandle(config4) {
|
|
|
6027
6027
|
return res.status(400).json({ error: "name, url, and backend are required" });
|
|
6028
6028
|
}
|
|
6029
6029
|
try {
|
|
6030
|
-
const { loadGlobalConfig, saveGlobalConfig, addProvider, setDefaultModelSelection } = await import("./config-
|
|
6030
|
+
const { loadGlobalConfig, saveGlobalConfig, addProvider, setDefaultModelSelection } = await import("./config-YU7NYZYG.js");
|
|
6031
6031
|
const globalConfig = await loadGlobalConfig(config4.mode ?? "production");
|
|
6032
6032
|
const providerBackend = backend;
|
|
6033
6033
|
const configWithProvider = addProvider(globalConfig, {
|
|
@@ -6060,7 +6060,7 @@ async function createServerHandle(config4) {
|
|
|
6060
6060
|
app.post("/api/init/config", async (req, res) => {
|
|
6061
6061
|
const { workdir, visionFallback } = req.body;
|
|
6062
6062
|
try {
|
|
6063
|
-
const { loadGlobalConfig, saveGlobalConfig } = await import("./config-
|
|
6063
|
+
const { loadGlobalConfig, saveGlobalConfig } = await import("./config-YU7NYZYG.js");
|
|
6064
6064
|
const globalConfig = await loadGlobalConfig(config4.mode ?? "production");
|
|
6065
6065
|
const updatedConfig = {
|
|
6066
6066
|
...globalConfig,
|
|
@@ -6088,7 +6088,7 @@ async function createServerHandle(config4) {
|
|
|
6088
6088
|
});
|
|
6089
6089
|
app.delete("/api/providers/:id", async (req, res) => {
|
|
6090
6090
|
const { id } = req.params;
|
|
6091
|
-
const { loadGlobalConfig, saveGlobalConfig, removeProvider } = await import("./config-
|
|
6091
|
+
const { loadGlobalConfig, saveGlobalConfig, removeProvider } = await import("./config-YU7NYZYG.js");
|
|
6092
6092
|
const globalConfig = await loadGlobalConfig(config4.mode ?? "production");
|
|
6093
6093
|
const updatedConfig = removeProvider(globalConfig, id);
|
|
6094
6094
|
await saveGlobalConfig(config4.mode ?? "production", updatedConfig);
|
|
@@ -6108,7 +6108,7 @@ async function createServerHandle(config4) {
|
|
|
6108
6108
|
return res.status(400).json({ error: result.error });
|
|
6109
6109
|
}
|
|
6110
6110
|
const llmClient = getLLMClient();
|
|
6111
|
-
const { loadGlobalConfig, saveGlobalConfig, setDefaultModelSelection } = await import("./config-
|
|
6111
|
+
const { loadGlobalConfig, saveGlobalConfig, setDefaultModelSelection } = await import("./config-YU7NYZYG.js");
|
|
6112
6112
|
const globalConfig = await loadGlobalConfig(config4.mode ?? "production");
|
|
6113
6113
|
const updatedConfig = setDefaultModelSelection(globalConfig, id, llmClient.getModel());
|
|
6114
6114
|
await saveGlobalConfig(config4.mode ?? "production", updatedConfig);
|
|
@@ -6139,7 +6139,7 @@ async function createServerHandle(config4) {
|
|
|
6139
6139
|
if (!result.success) {
|
|
6140
6140
|
return res.status(400).json({ error: result.error });
|
|
6141
6141
|
}
|
|
6142
|
-
const { loadGlobalConfig, saveGlobalConfig } = await import("./config-
|
|
6142
|
+
const { loadGlobalConfig, saveGlobalConfig } = await import("./config-YU7NYZYG.js");
|
|
6143
6143
|
const globalConfig = await loadGlobalConfig(config4.mode ?? "production");
|
|
6144
6144
|
const updatedProviders = providerManager.getProviders();
|
|
6145
6145
|
const updatedConfig = {
|
|
@@ -6380,7 +6380,7 @@ async function createServerHandle(config4) {
|
|
|
6380
6380
|
providerManager
|
|
6381
6381
|
);
|
|
6382
6382
|
const wss = wssExports.wss;
|
|
6383
|
-
const { QueueProcessor } = await import("./processor-
|
|
6383
|
+
const { QueueProcessor } = await import("./processor-QFBRN6AZ.js");
|
|
6384
6384
|
const queueProcessor = new QueueProcessor({
|
|
6385
6385
|
sessionManager,
|
|
6386
6386
|
providerManager,
|
|
@@ -6455,4 +6455,4 @@ export {
|
|
|
6455
6455
|
createServerHandle,
|
|
6456
6456
|
createServer
|
|
6457
6457
|
};
|
|
6458
|
-
//# sourceMappingURL=chunk-
|
|
6458
|
+
//# sourceMappingURL=chunk-QIFXGM2L.js.map
|
|
@@ -2,11 +2,11 @@ import {
|
|
|
2
2
|
clearModelCache,
|
|
3
3
|
createLLMClient,
|
|
4
4
|
detectModel
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-HHAJ3QF6.js";
|
|
6
6
|
import {
|
|
7
7
|
detectBackend,
|
|
8
8
|
getModelProfile
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-HGAMIPFO.js";
|
|
10
10
|
import {
|
|
11
11
|
logger
|
|
12
12
|
} from "./chunk-K44MW7JJ.js";
|
|
@@ -511,4 +511,4 @@ export {
|
|
|
511
511
|
parseDefaultModelSelection,
|
|
512
512
|
createProviderManager
|
|
513
513
|
};
|
|
514
|
-
//# sourceMappingURL=chunk-
|
|
514
|
+
//# sourceMappingURL=chunk-RF2JGDSS.js.map
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
var DEFAULT_CONFIG = {
|
|
7
7
|
enabled: false,
|
|
8
8
|
url: "http://localhost:11434",
|
|
9
|
-
model: "qwen3
|
|
9
|
+
model: "qwen3.5:0.8b",
|
|
10
10
|
timeout: 12e4
|
|
11
11
|
};
|
|
12
12
|
var config = { ...DEFAULT_CONFIG };
|
|
@@ -29,8 +29,8 @@ function isVisionFallbackEnabled() {
|
|
|
29
29
|
async function ensureVisionFallbackConfigLoaded() {
|
|
30
30
|
if (configLoaded) return;
|
|
31
31
|
try {
|
|
32
|
-
const { loadGlobalConfig, getVisionFallback } = await import("./config-
|
|
33
|
-
const { getRuntimeConfig } = await import("./runtime-config-
|
|
32
|
+
const { loadGlobalConfig, getVisionFallback } = await import("./config-YU7NYZYG.js");
|
|
33
|
+
const { getRuntimeConfig } = await import("./runtime-config-NPSPMRDA.js");
|
|
34
34
|
const runtimeConfig = getRuntimeConfig();
|
|
35
35
|
const mode = runtimeConfig.mode ?? "production";
|
|
36
36
|
const globalConfig = await loadGlobalConfig(mode);
|
|
@@ -38,7 +38,7 @@ async function ensureVisionFallbackConfigLoaded() {
|
|
|
38
38
|
config = {
|
|
39
39
|
enabled: fallback.enabled ?? false,
|
|
40
40
|
url: fallback.url ?? "http://localhost:11434",
|
|
41
|
-
model: fallback.model ?? "qwen3
|
|
41
|
+
model: fallback.model ?? "qwen3.5:0.8b",
|
|
42
42
|
timeout: (fallback.timeout ?? 120) * 1e3
|
|
43
43
|
};
|
|
44
44
|
configLoaded = true;
|
|
@@ -137,4 +137,4 @@ export {
|
|
|
137
137
|
describeImage,
|
|
138
138
|
describeImageFromDataUrl
|
|
139
139
|
};
|
|
140
|
-
//# sourceMappingURL=chunk-
|
|
140
|
+
//# sourceMappingURL=chunk-SZKEGZIB.js.map
|
package/dist/cli/dev.js
CHANGED
package/dist/cli/index.js
CHANGED
|
@@ -13,11 +13,11 @@ import {
|
|
|
13
13
|
saveGlobalConfig,
|
|
14
14
|
setDefaultModelSelection,
|
|
15
15
|
trySmartDefaults
|
|
16
|
-
} from "./chunk-
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
16
|
+
} from "./chunk-NNEHZT3V.js";
|
|
17
|
+
import "./chunk-HHAJ3QF6.js";
|
|
18
|
+
import "./chunk-HGAMIPFO.js";
|
|
19
19
|
import "./chunk-CQGTEGKL.js";
|
|
20
|
-
import "./chunk-
|
|
20
|
+
import "./chunk-SZKEGZIB.js";
|
|
21
21
|
import "./chunk-K44MW7JJ.js";
|
|
22
22
|
export {
|
|
23
23
|
activateProvider,
|
|
@@ -35,4 +35,4 @@ export {
|
|
|
35
35
|
setDefaultModelSelection,
|
|
36
36
|
trySmartDefaults
|
|
37
37
|
};
|
|
38
|
-
//# sourceMappingURL=config-
|
|
38
|
+
//# sourceMappingURL=config-YU7NYZYG.js.map
|
|
@@ -37,7 +37,7 @@ import {
|
|
|
37
37
|
isStoredEvent,
|
|
38
38
|
isTurnEvent,
|
|
39
39
|
truncateSessionMessages
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-4I3C46WU.js";
|
|
41
41
|
import "./chunk-5GVCNVKV.js";
|
|
42
42
|
import {
|
|
43
43
|
buildContextMessagesFromEventHistory,
|
|
@@ -56,7 +56,7 @@ import {
|
|
|
56
56
|
foldTurnEventsToSnapshotMessages,
|
|
57
57
|
getMessagesForWindow
|
|
58
58
|
} from "./chunk-XVWVAWSG.js";
|
|
59
|
-
import "./chunk-
|
|
59
|
+
import "./chunk-CGZHLM3K.js";
|
|
60
60
|
import "./chunk-K44MW7JJ.js";
|
|
61
61
|
export {
|
|
62
62
|
EventStore,
|
|
@@ -113,4 +113,4 @@ export {
|
|
|
113
113
|
isTurnEvent,
|
|
114
114
|
truncateSessionMessages
|
|
115
115
|
};
|
|
116
|
-
//# sourceMappingURL=events-
|
|
116
|
+
//# sourceMappingURL=events-HTVBWGHO.js.map
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
runBuilderTurn,
|
|
4
4
|
runChatTurn,
|
|
5
5
|
runVerifierTurn
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-CHEVYEM4.js";
|
|
7
7
|
import {
|
|
8
8
|
TurnMetrics,
|
|
9
9
|
createChatDoneEvent,
|
|
@@ -11,22 +11,22 @@ import {
|
|
|
11
11
|
createMessageStartEvent,
|
|
12
12
|
createToolCallEvent,
|
|
13
13
|
createToolResultEvent
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-FVVLGR2G.js";
|
|
15
15
|
import "./chunk-PQCFNTFJ.js";
|
|
16
16
|
import "./chunk-ZHBL5G5X.js";
|
|
17
17
|
import "./chunk-DL6ZILAF.js";
|
|
18
18
|
import "./chunk-PBGOZMVY.js";
|
|
19
19
|
import "./chunk-VRGRAQDG.js";
|
|
20
|
-
import "./chunk-
|
|
21
|
-
import "./chunk-
|
|
20
|
+
import "./chunk-HGAMIPFO.js";
|
|
21
|
+
import "./chunk-4I3C46WU.js";
|
|
22
22
|
import "./chunk-5GVCNVKV.js";
|
|
23
23
|
import "./chunk-XVWVAWSG.js";
|
|
24
24
|
import "./chunk-PAAUYFYS.js";
|
|
25
25
|
import "./chunk-BJYPTN5S.js";
|
|
26
26
|
import "./chunk-ERFRUQQR.js";
|
|
27
27
|
import "./chunk-CQGTEGKL.js";
|
|
28
|
-
import "./chunk-
|
|
29
|
-
import "./chunk-
|
|
28
|
+
import "./chunk-CGZHLM3K.js";
|
|
29
|
+
import "./chunk-SZKEGZIB.js";
|
|
30
30
|
import "./chunk-K44MW7JJ.js";
|
|
31
31
|
export {
|
|
32
32
|
TurnMetrics,
|
|
@@ -40,4 +40,4 @@ export {
|
|
|
40
40
|
runChatTurn,
|
|
41
41
|
runVerifierTurn
|
|
42
42
|
};
|
|
43
|
-
//# sourceMappingURL=orchestrator-
|
|
43
|
+
//# sourceMappingURL=orchestrator-KGYZO6XH.js.map
|
package/dist/package.json
CHANGED
|
@@ -5,10 +5,10 @@ import {
|
|
|
5
5
|
generateSessionName,
|
|
6
6
|
getSessionMessageCount,
|
|
7
7
|
needsNameGenerationCheck
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-DTXWOKAG.js";
|
|
9
9
|
import {
|
|
10
10
|
getEventStore
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-4I3C46WU.js";
|
|
12
12
|
import "./chunk-5GVCNVKV.js";
|
|
13
13
|
import "./chunk-XVWVAWSG.js";
|
|
14
14
|
import {
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
createSessionRunningMessage
|
|
17
17
|
} from "./chunk-PAAUYFYS.js";
|
|
18
18
|
import "./chunk-ERFRUQQR.js";
|
|
19
|
-
import "./chunk-
|
|
19
|
+
import "./chunk-CGZHLM3K.js";
|
|
20
20
|
import {
|
|
21
21
|
logger
|
|
22
22
|
} from "./chunk-K44MW7JJ.js";
|
|
@@ -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-KGYZO6XH.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-QFBRN6AZ.js.map
|
|
@@ -5,18 +5,18 @@ import {
|
|
|
5
5
|
loadGlobalConfig,
|
|
6
6
|
removeProvider,
|
|
7
7
|
saveGlobalConfig
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-NNEHZT3V.js";
|
|
9
9
|
import {
|
|
10
10
|
fetchAvailableModelsFromBackend
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-RF2JGDSS.js";
|
|
12
12
|
import {
|
|
13
13
|
detectModel
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-HHAJ3QF6.js";
|
|
15
15
|
import {
|
|
16
16
|
detectBackend
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-HGAMIPFO.js";
|
|
18
18
|
import "./chunk-CQGTEGKL.js";
|
|
19
|
-
import "./chunk-
|
|
19
|
+
import "./chunk-SZKEGZIB.js";
|
|
20
20
|
import "./chunk-K44MW7JJ.js";
|
|
21
21
|
|
|
22
22
|
// src/cli/provider.ts
|
|
@@ -248,7 +248,7 @@ async function runProviderAdd(mode) {
|
|
|
248
248
|
isActive: makeActive
|
|
249
249
|
});
|
|
250
250
|
if (makeActive) {
|
|
251
|
-
const { setDefaultModelSelection } = await import("./config-
|
|
251
|
+
const { setDefaultModelSelection } = await import("./config-YU7NYZYG.js");
|
|
252
252
|
newConfig = setDefaultModelSelection(
|
|
253
253
|
newConfig,
|
|
254
254
|
newConfig.providers[newConfig.providers.length - 1].id,
|
|
@@ -376,4 +376,4 @@ export {
|
|
|
376
376
|
runProviderRemove,
|
|
377
377
|
runProviderUse
|
|
378
378
|
};
|
|
379
|
-
//# sourceMappingURL=provider-
|
|
379
|
+
//# sourceMappingURL=provider-HTJEB3ON.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getRuntimeConfig,
|
|
3
3
|
setRuntimeConfig
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-CGZHLM3K.js";
|
|
5
5
|
export {
|
|
6
6
|
getRuntimeConfig,
|
|
7
7
|
setRuntimeConfig
|
|
8
8
|
};
|
|
9
|
-
//# sourceMappingURL=runtime-config-
|
|
9
|
+
//# sourceMappingURL=runtime-config-NPSPMRDA.js.map
|
|
@@ -2,22 +2,22 @@ import {
|
|
|
2
2
|
getActiveProvider,
|
|
3
3
|
getDefaultModel,
|
|
4
4
|
loadGlobalConfig
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-NNEHZT3V.js";
|
|
6
6
|
import {
|
|
7
7
|
VERSION,
|
|
8
8
|
createServer
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
9
|
+
} from "./chunk-QIFXGM2L.js";
|
|
10
|
+
import "./chunk-CHEVYEM4.js";
|
|
11
|
+
import "./chunk-FVVLGR2G.js";
|
|
12
12
|
import "./chunk-PQCFNTFJ.js";
|
|
13
13
|
import "./chunk-ZHBL5G5X.js";
|
|
14
14
|
import "./chunk-DL6ZILAF.js";
|
|
15
15
|
import "./chunk-PBGOZMVY.js";
|
|
16
16
|
import "./chunk-VRGRAQDG.js";
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-
|
|
17
|
+
import "./chunk-RF2JGDSS.js";
|
|
18
|
+
import "./chunk-HHAJ3QF6.js";
|
|
19
|
+
import "./chunk-HGAMIPFO.js";
|
|
20
|
+
import "./chunk-4I3C46WU.js";
|
|
21
21
|
import "./chunk-5GVCNVKV.js";
|
|
22
22
|
import "./chunk-XVWVAWSG.js";
|
|
23
23
|
import "./chunk-PAAUYFYS.js";
|
|
@@ -31,8 +31,8 @@ import {
|
|
|
31
31
|
} from "./chunk-CQGTEGKL.js";
|
|
32
32
|
import {
|
|
33
33
|
loadConfig
|
|
34
|
-
} from "./chunk-
|
|
35
|
-
import "./chunk-
|
|
34
|
+
} from "./chunk-CGZHLM3K.js";
|
|
35
|
+
import "./chunk-SZKEGZIB.js";
|
|
36
36
|
import {
|
|
37
37
|
logger
|
|
38
38
|
} from "./chunk-K44MW7JJ.js";
|
|
@@ -190,4 +190,4 @@ async function runServe(options) {
|
|
|
190
190
|
export {
|
|
191
191
|
runServe
|
|
192
192
|
};
|
|
193
|
-
//# sourceMappingURL=serve-
|
|
193
|
+
//# sourceMappingURL=serve-PSZFEXYU.js.map
|
package/dist/server/index.d.ts
CHANGED
package/dist/server/index.js
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createServer,
|
|
3
3
|
createServerHandle
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-
|
|
6
|
-
import "../chunk-
|
|
4
|
+
} from "../chunk-QIFXGM2L.js";
|
|
5
|
+
import "../chunk-CHEVYEM4.js";
|
|
6
|
+
import "../chunk-FVVLGR2G.js";
|
|
7
7
|
import "../chunk-PQCFNTFJ.js";
|
|
8
8
|
import "../chunk-ZHBL5G5X.js";
|
|
9
9
|
import "../chunk-DL6ZILAF.js";
|
|
10
10
|
import "../chunk-PBGOZMVY.js";
|
|
11
11
|
import "../chunk-VRGRAQDG.js";
|
|
12
|
-
import "../chunk-
|
|
13
|
-
import "../chunk-
|
|
14
|
-
import "../chunk-
|
|
15
|
-
import "../chunk-
|
|
12
|
+
import "../chunk-RF2JGDSS.js";
|
|
13
|
+
import "../chunk-HHAJ3QF6.js";
|
|
14
|
+
import "../chunk-HGAMIPFO.js";
|
|
15
|
+
import "../chunk-4I3C46WU.js";
|
|
16
16
|
import "../chunk-5GVCNVKV.js";
|
|
17
17
|
import "../chunk-XVWVAWSG.js";
|
|
18
18
|
import "../chunk-PAAUYFYS.js";
|
|
@@ -20,8 +20,8 @@ import "../chunk-BJYPTN5S.js";
|
|
|
20
20
|
import "../chunk-RGRBWDZP.js";
|
|
21
21
|
import "../chunk-ERFRUQQR.js";
|
|
22
22
|
import "../chunk-CQGTEGKL.js";
|
|
23
|
-
import "../chunk-
|
|
24
|
-
import "../chunk-
|
|
23
|
+
import "../chunk-CGZHLM3K.js";
|
|
24
|
+
import "../chunk-SZKEGZIB.js";
|
|
25
25
|
import "../chunk-K44MW7JJ.js";
|
|
26
26
|
export {
|
|
27
27
|
createServer,
|
|
@@ -11,14 +11,14 @@ import {
|
|
|
11
11
|
requestPathAccess,
|
|
12
12
|
stepDoneTool,
|
|
13
13
|
validateToolAction
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-FVVLGR2G.js";
|
|
15
15
|
import "./chunk-PQCFNTFJ.js";
|
|
16
16
|
import "./chunk-ZHBL5G5X.js";
|
|
17
17
|
import "./chunk-DL6ZILAF.js";
|
|
18
18
|
import "./chunk-PBGOZMVY.js";
|
|
19
19
|
import "./chunk-VRGRAQDG.js";
|
|
20
|
-
import "./chunk-
|
|
21
|
-
import "./chunk-
|
|
20
|
+
import "./chunk-HGAMIPFO.js";
|
|
21
|
+
import "./chunk-4I3C46WU.js";
|
|
22
22
|
import "./chunk-5GVCNVKV.js";
|
|
23
23
|
import "./chunk-XVWVAWSG.js";
|
|
24
24
|
import "./chunk-PAAUYFYS.js";
|
|
@@ -29,8 +29,8 @@ import {
|
|
|
29
29
|
} from "./chunk-BJYPTN5S.js";
|
|
30
30
|
import "./chunk-ERFRUQQR.js";
|
|
31
31
|
import "./chunk-CQGTEGKL.js";
|
|
32
|
-
import "./chunk-
|
|
33
|
-
import "./chunk-
|
|
32
|
+
import "./chunk-CGZHLM3K.js";
|
|
33
|
+
import "./chunk-SZKEGZIB.js";
|
|
34
34
|
import "./chunk-K44MW7JJ.js";
|
|
35
35
|
export {
|
|
36
36
|
AskUserInterrupt,
|
|
@@ -49,4 +49,4 @@ export {
|
|
|
49
49
|
stepDoneTool,
|
|
50
50
|
validateToolAction
|
|
51
51
|
};
|
|
52
|
-
//# sourceMappingURL=tools-
|
|
52
|
+
//# sourceMappingURL=tools-FZS5JNQE.js.map
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
getVisionFallbackConfig,
|
|
8
8
|
isVisionFallbackEnabled,
|
|
9
9
|
setVisionFallbackConfig
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-SZKEGZIB.js";
|
|
11
11
|
import "./chunk-K44MW7JJ.js";
|
|
12
12
|
export {
|
|
13
13
|
clearDescriptionCache,
|
|
@@ -19,4 +19,4 @@ export {
|
|
|
19
19
|
isVisionFallbackEnabled,
|
|
20
20
|
setVisionFallbackConfig
|
|
21
21
|
};
|
|
22
|
-
//# sourceMappingURL=vision-fallback-
|
|
22
|
+
//# sourceMappingURL=vision-fallback-3MIZZ6NQ.js.map
|