openfox 2.0.66 → 2.0.67
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-ZRDNSLOG.js → chat-handler-72DFHK5K.js} +11 -10
- package/dist/{chunk-OE5B44P6.js → chunk-2GRUQN2B.js} +209 -137
- package/dist/{chunk-WNA5VPZG.js → chunk-4QBDV6LX.js} +16 -13
- package/dist/{chunk-ZUM2ZJOX.js → chunk-B6JUWVTK.js} +54 -16
- package/dist/{chunk-R7EED6ZU.js → chunk-MQHMT5WF.js} +2 -2
- package/dist/{chunk-UBIHP5Z7.js → chunk-PYRH4G2J.js} +7 -33
- package/dist/{chunk-BGTEIA2S.js → chunk-TFCHWMOJ.js} +23 -30
- package/dist/{chunk-R4UTFE63.js → chunk-TJO4QFDQ.js} +7 -4
- package/dist/{chunk-OBK3I4KD.js → chunk-VLV3XWZS.js} +57 -3
- package/dist/chunk-X5DOUA3Z.js +66 -0
- package/dist/{chunk-PVRSNXD4.js → chunk-XUPKS5FL.js} +5 -3
- package/dist/{chunk-3ACDQKK6.js → chunk-YU6DZAVA.js} +27 -48
- package/dist/{chunk-5V5DM5E4.js → chunk-ZLON3JTI.js} +2 -2
- package/dist/cli/dev.js +1 -1
- package/dist/cli/index.js +1 -1
- package/dist/{compactor-V43WJ3WX.js → compactor-74CZVUWI.js} +5 -3
- package/dist/{inspect-proxy-PKMDR47R.js → inspect-proxy-OVEFBJ26.js} +2 -2
- package/dist/{manager-344C5JLZ.js → manager-JXYRGR6B.js} +6 -2
- package/dist/{orchestrator-LZQTDOWM.js → orchestrator-FEMPJOZD.js} +11 -12
- package/dist/package.json +2 -1
- package/dist/platform-AB3GIEGO.js +21 -0
- package/dist/{processor-7KAXESY5.js → processor-QB3NMRMO.js} +11 -10
- package/dist/{serve-HGHFN3D2.js → serve-32FAA4FX.js} +14 -13
- package/dist/server/index.js +13 -12
- package/dist/{server-W42ENYFX.js → server-OYE7GERR.js} +13 -12
- package/dist/{settings-ZZ6AKFPD.js → settings-6ZPWOBWL.js} +2 -2
- package/dist/{tools-2EB7C6H2.js → tools-INWP6FGV.js} +10 -9
- package/dist/web/assets/{index-B0Q5uK2h.css → index-BELeAs12.css} +1 -1
- package/dist/web/assets/{index-BhQN93bI.js → index-C3n65CNu.js} +76 -76
- package/dist/web/index.html +2 -2
- package/dist/web/sw.js +1 -1
- package/dist/{worktree-EIF75WGF.js → worktree-6U45P63P.js} +6 -2
- package/package.json +2 -1
|
@@ -10,19 +10,24 @@ import {
|
|
|
10
10
|
createToolCallEvent,
|
|
11
11
|
createToolResultEvent,
|
|
12
12
|
streamLLMPure
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-TJO4QFDQ.js";
|
|
14
14
|
import {
|
|
15
15
|
startInspectProxy
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-4QBDV6LX.js";
|
|
17
17
|
import {
|
|
18
|
+
getProject
|
|
19
|
+
} from "./chunk-KXVFHMSM.js";
|
|
20
|
+
import {
|
|
21
|
+
checkAborted,
|
|
18
22
|
createProcess,
|
|
19
|
-
getPlatformShell,
|
|
20
23
|
getProcessLogs,
|
|
21
24
|
getProcessStatus,
|
|
22
25
|
getSessionProcesses,
|
|
26
|
+
spawnShell,
|
|
27
|
+
spawnShellProcess,
|
|
23
28
|
startProcessCommand,
|
|
24
29
|
stopProcess
|
|
25
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-TFCHWMOJ.js";
|
|
26
31
|
import {
|
|
27
32
|
getMaxPerSession,
|
|
28
33
|
getSessionProcessCount,
|
|
@@ -33,7 +38,7 @@ import {
|
|
|
33
38
|
} from "./chunk-NWO6GRYE.js";
|
|
34
39
|
import {
|
|
35
40
|
listBranches
|
|
36
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-VLV3XWZS.js";
|
|
37
42
|
import {
|
|
38
43
|
getCurrentContextWindowId,
|
|
39
44
|
getCurrentWindowMessageOptions,
|
|
@@ -62,14 +67,11 @@ import {
|
|
|
62
67
|
deleteSetting,
|
|
63
68
|
getSetting,
|
|
64
69
|
setSetting
|
|
65
|
-
} from "./chunk-
|
|
70
|
+
} from "./chunk-XUPKS5FL.js";
|
|
66
71
|
import {
|
|
67
72
|
AskUserInterrupt,
|
|
68
73
|
askUserTool
|
|
69
74
|
} from "./chunk-EU3WWTFH.js";
|
|
70
|
-
import {
|
|
71
|
-
getProject
|
|
72
|
-
} from "./chunk-KXVFHMSM.js";
|
|
73
75
|
import {
|
|
74
76
|
modelSupportsVision
|
|
75
77
|
} from "./chunk-V4IE7HJY.js";
|
|
@@ -1472,27 +1474,11 @@ Make sure whitespace and indentation match exactly.`
|
|
|
1472
1474
|
);
|
|
1473
1475
|
|
|
1474
1476
|
// src/server/tools/shell.ts
|
|
1475
|
-
import { spawn
|
|
1477
|
+
import { spawn } from "child_process";
|
|
1476
1478
|
import { resolve as resolve4, isAbsolute as isAbsolute2 } from "path";
|
|
1477
1479
|
import { access } from "fs/promises";
|
|
1478
1480
|
import stripAnsi from "strip-ansi";
|
|
1479
1481
|
|
|
1480
|
-
// src/server/utils/shell.ts
|
|
1481
|
-
import { spawn } from "child_process";
|
|
1482
|
-
function checkAborted(signal) {
|
|
1483
|
-
return !!signal?.aborted;
|
|
1484
|
-
}
|
|
1485
|
-
function spawnShellProcess(command, cwd, _signal, detached = false) {
|
|
1486
|
-
const shell = getPlatformShell();
|
|
1487
|
-
return spawn(shell.command, [...shell.args, command], {
|
|
1488
|
-
cwd,
|
|
1489
|
-
env: { ...process.env, FORCE_COLOR: "0" },
|
|
1490
|
-
stdio: ["ignore", "pipe", "pipe"],
|
|
1491
|
-
windowsHide: true,
|
|
1492
|
-
...detached ? { detached: true } : {}
|
|
1493
|
-
});
|
|
1494
|
-
}
|
|
1495
|
-
|
|
1496
1482
|
// src/server/tools/shell-tail.ts
|
|
1497
1483
|
var TAIL_END_RE = /^(.*?)\s*\|\s*tail\s+(?:-n\s+)?-?(\d+)\s*$/;
|
|
1498
1484
|
function stripTailPipe(command) {
|
|
@@ -1516,7 +1502,7 @@ async function checkRtkAvailability() {
|
|
|
1516
1502
|
} catch {
|
|
1517
1503
|
try {
|
|
1518
1504
|
const out = await new Promise((resolve6, reject) => {
|
|
1519
|
-
const proc =
|
|
1505
|
+
const proc = spawn("rtk", ["--version"], { stdio: ["ignore", "pipe", "pipe"] });
|
|
1520
1506
|
let output = "";
|
|
1521
1507
|
proc.stdout?.on("data", (d) => {
|
|
1522
1508
|
output += d.toString();
|
|
@@ -1637,7 +1623,7 @@ async function tryRtkRewrite(command) {
|
|
|
1637
1623
|
if (!await checkRtkAvailability()) return command;
|
|
1638
1624
|
try {
|
|
1639
1625
|
const result = await new Promise((resolve6, reject) => {
|
|
1640
|
-
const proc =
|
|
1626
|
+
const proc = spawn("rtk", ["rewrite", command], {
|
|
1641
1627
|
stdio: ["ignore", "pipe", "pipe"],
|
|
1642
1628
|
timeout: 2e3
|
|
1643
1629
|
});
|
|
@@ -2968,7 +2954,7 @@ ${CONTINUE_PROMPT}` : CONTINUE_PROMPT;
|
|
|
2968
2954
|
sessionManager.setCurrentContextSize(sessionId, result.usage.promptTokens);
|
|
2969
2955
|
if (!compacting) {
|
|
2970
2956
|
const contextState2 = sessionManager.getContextState(sessionId);
|
|
2971
|
-
const { shouldCompact, appendCompactionPrompt } = await import("./compactor-
|
|
2957
|
+
const { shouldCompact, appendCompactionPrompt } = await import("./compactor-74CZVUWI.js");
|
|
2972
2958
|
if (shouldCompact(contextState2.currentTokens, contextState2.maxTokens, runtimeConfig.context.compactionThreshold)) {
|
|
2973
2959
|
appendCompactionPrompt(sessionId, append);
|
|
2974
2960
|
compacting = true;
|
|
@@ -3873,7 +3859,7 @@ var callSubAgentTool = {
|
|
|
3873
3859
|
};
|
|
3874
3860
|
}
|
|
3875
3861
|
try {
|
|
3876
|
-
const { getToolRegistryForAgent: getToolRegistryForAgent2 } = await import("./tools-
|
|
3862
|
+
const { getToolRegistryForAgent: getToolRegistryForAgent2 } = await import("./tools-INWP6FGV.js");
|
|
3877
3863
|
const toolRegistry = getToolRegistryForAgent2(agentDef);
|
|
3878
3864
|
const turnMetrics = new TurnMetrics();
|
|
3879
3865
|
const result = await executeSubAgent({
|
|
@@ -4157,18 +4143,17 @@ var webFetchTool = createTool(
|
|
|
4157
4143
|
);
|
|
4158
4144
|
|
|
4159
4145
|
// src/server/dev-server/manager.ts
|
|
4160
|
-
import
|
|
4146
|
+
import "child_process";
|
|
4161
4147
|
import { readFile as readFile9, writeFile as writeFile6, mkdir as mkdir5 } from "fs/promises";
|
|
4162
4148
|
import { resolve as resolve5, join as join8 } from "path";
|
|
4163
4149
|
import net from "net";
|
|
4164
4150
|
var MAX_LOG_LINES = 2e3;
|
|
4165
4151
|
var MAX_LOG_BYTES = 1e5;
|
|
4166
|
-
var DEFAULT_PROBE_PORT =
|
|
4152
|
+
var DEFAULT_PROBE_PORT = 10469;
|
|
4167
4153
|
var MAX_PORT_SCAN = 200;
|
|
4168
4154
|
var PROBE_TIMEOUT_MS = 300;
|
|
4169
4155
|
var getDevServerConfigPath = (workdir) => {
|
|
4170
|
-
|
|
4171
|
-
return join8(resolve5(workdir), ".openfox", `${mode === "development" ? "dev-dev" : "dev"}.json`);
|
|
4156
|
+
return join8(resolve5(workdir), ".openfox", "dev.json");
|
|
4172
4157
|
};
|
|
4173
4158
|
var ERROR_PATTERNS = [
|
|
4174
4159
|
/EADDRINUSE/,
|
|
@@ -4343,7 +4328,7 @@ var DevServerManager = class {
|
|
|
4343
4328
|
instance.exited = false;
|
|
4344
4329
|
if (!config.disableInspect && resolvedUrl && this._sessionManager) {
|
|
4345
4330
|
try {
|
|
4346
|
-
const { port, cleanup } = startInspectProxy(resolvedUrl, this._sessionManager, workdir);
|
|
4331
|
+
const { port, cleanup } = await startInspectProxy(resolvedUrl, this._sessionManager, assignedPort, workdir);
|
|
4347
4332
|
instance.inspectProxyPort = port;
|
|
4348
4333
|
instance.proxyCleanup = cleanup;
|
|
4349
4334
|
logger.debug("Inspect proxy started", { workdir, port, target: resolvedUrl });
|
|
@@ -4352,13 +4337,9 @@ var DevServerManager = class {
|
|
|
4352
4337
|
}
|
|
4353
4338
|
}
|
|
4354
4339
|
const resolved = this.resolveWorkdir(workdir);
|
|
4355
|
-
const
|
|
4356
|
-
const proc = spawn3(shell.command, [...shell.args, resolvedCommand], {
|
|
4340
|
+
const proc = spawnShell(resolvedCommand, {
|
|
4357
4341
|
cwd: resolved,
|
|
4358
|
-
|
|
4359
|
-
stdio: ["ignore", "pipe", "pipe"],
|
|
4360
|
-
detached: true,
|
|
4361
|
-
windowsHide: true
|
|
4342
|
+
detached: true
|
|
4362
4343
|
});
|
|
4363
4344
|
instance.process = proc;
|
|
4364
4345
|
const appendLog = (stream, content) => {
|
|
@@ -4486,7 +4467,7 @@ var devServerTool = createTool(
|
|
|
4486
4467
|
type: "function",
|
|
4487
4468
|
function: {
|
|
4488
4469
|
name: "dev_server",
|
|
4489
|
-
description: "Control the project dev server. Start, stop, restart, check status, or fetch logs with optional pagination. The dev server is configured via .openfox/dev.json in the project root
|
|
4470
|
+
description: "Control the project dev server. Start, stop, restart, check status, or fetch logs with optional pagination. Each workdir (project root or git worktree) gets its own independent dev server instance with auto-assigned ports. The dev server is configured via .openfox/dev.json \u2014 searched in the current workdir first, falling back to the project root. Fields: command (string, required), url (string, required), hotReload (boolean, optional, default false), disableInspect (boolean, optional, default false). You can use ${PORT} in command and url \u2014 it will be replaced with an available port at runtime (auto-assigned if the configured port is taken).",
|
|
4490
4471
|
parameters: {
|
|
4491
4472
|
type: "object",
|
|
4492
4473
|
properties: {
|
|
@@ -4554,7 +4535,7 @@ var devServerTool = createTool(
|
|
|
4554
4535
|
}
|
|
4555
4536
|
if (!status.config) {
|
|
4556
4537
|
return helpers.error(
|
|
4557
|
-
'No .openfox/dev.json config found in the project root
|
|
4538
|
+
'No .openfox/dev.json config found. Create one in the project root:\n\n{\n "command": "npm run dev",\n "url": "http://localhost:3000",\n "hotReload": true,\n "disableInspect": false\n}\n\n(Worktrees inherit the project root config automatically.)'
|
|
4558
4539
|
);
|
|
4559
4540
|
}
|
|
4560
4541
|
return helpers.success(
|
|
@@ -4877,7 +4858,7 @@ var mcpConfigTool = createTool(
|
|
|
4877
4858
|
mcpNotifyChanged?.(sessionId);
|
|
4878
4859
|
}
|
|
4879
4860
|
async function rebuildTools() {
|
|
4880
|
-
const { setMcpTools: setMcpTools2 } = await import("./tools-
|
|
4861
|
+
const { setMcpTools: setMcpTools2 } = await import("./tools-INWP6FGV.js");
|
|
4881
4862
|
const mcpTools = createMcpTools(mcpManagerForTools);
|
|
4882
4863
|
setMcpTools2(mcpTools);
|
|
4883
4864
|
}
|
|
@@ -5117,7 +5098,7 @@ var worktreeTool = createTool(
|
|
|
5117
5098
|
type: "function",
|
|
5118
5099
|
function: {
|
|
5119
5100
|
name: "worktree",
|
|
5120
|
-
description:
|
|
5101
|
+
description: 'Manage git worktrees for the current session. Use this to work on isolated branches without affecting the main working tree.\n\nAsset strategy for .gitignored files (e.g. node_modules) is configured via .openfox/worktree.json in the project root with fields: ignoredAssets ("symlink"|"copy"|"skip", default "skip"), overrides (optional, per-path exceptions). The server reads this file automatically on create. You can manage it via read_file/write_file, or the user can configure it in Project Settings \u2192 Worktree Asset Strategy.\n\nActions:\n- list_branches: List local git branches for the current project\n- create: Create a new branch + git worktree and attach this session to it (provide: name)\n- attach: Attach this session to an existing git worktree by path (provide: path)\n- close: Close the current worktree and return the session to the project root\n- status: Show current worktree state (active branch, worktree path)',
|
|
5121
5102
|
parameters: {
|
|
5122
5103
|
type: "object",
|
|
5123
5104
|
properties: {
|
|
@@ -5480,8 +5461,6 @@ export {
|
|
|
5480
5461
|
PathAccessDeniedError,
|
|
5481
5462
|
providePathConfirmation,
|
|
5482
5463
|
cancelPathConfirmationsForSession,
|
|
5483
|
-
checkAborted,
|
|
5484
|
-
spawnShellProcess,
|
|
5485
5464
|
pathExists,
|
|
5486
5465
|
getDefaultIds,
|
|
5487
5466
|
loadItemsFromDir,
|
|
@@ -5542,4 +5521,4 @@ export {
|
|
|
5542
5521
|
getToolRegistryForAgent,
|
|
5543
5522
|
createToolRegistry
|
|
5544
5523
|
};
|
|
5545
|
-
//# sourceMappingURL=chunk-
|
|
5524
|
+
//# sourceMappingURL=chunk-YU6DZAVA.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
COMPACTION_PROMPT,
|
|
3
3
|
createMessageStartEvent
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-TJO4QFDQ.js";
|
|
5
5
|
import {
|
|
6
6
|
getCurrentWindowMessageOptions
|
|
7
7
|
} from "./chunk-TFDK6VSG.js";
|
|
@@ -31,4 +31,4 @@ export {
|
|
|
31
31
|
shouldCompact,
|
|
32
32
|
getCompactionTarget
|
|
33
33
|
};
|
|
34
|
-
//# sourceMappingURL=chunk-
|
|
34
|
+
//# sourceMappingURL=chunk-ZLON3JTI.js.map
|
package/dist/cli/dev.js
CHANGED
package/dist/cli/index.js
CHANGED
|
@@ -2,10 +2,12 @@ import {
|
|
|
2
2
|
appendCompactionPrompt,
|
|
3
3
|
getCompactionTarget,
|
|
4
4
|
shouldCompact
|
|
5
|
-
} from "./chunk-
|
|
6
|
-
import "./chunk-
|
|
5
|
+
} from "./chunk-ZLON3JTI.js";
|
|
6
|
+
import "./chunk-TJO4QFDQ.js";
|
|
7
7
|
import "./chunk-TFDK6VSG.js";
|
|
8
8
|
import "./chunk-C3VLGVSQ.js";
|
|
9
|
+
import "./chunk-X5DOUA3Z.js";
|
|
10
|
+
import "./chunk-XUPKS5FL.js";
|
|
9
11
|
import "./chunk-GMXKJGJ2.js";
|
|
10
12
|
import "./chunk-J2GP3J3X.js";
|
|
11
13
|
import "./chunk-V4IE7HJY.js";
|
|
@@ -18,4 +20,4 @@ export {
|
|
|
18
20
|
getCompactionTarget,
|
|
19
21
|
shouldCompact
|
|
20
22
|
};
|
|
21
|
-
//# sourceMappingURL=compactor-
|
|
23
|
+
//# sourceMappingURL=compactor-74CZVUWI.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
startInspectProxy,
|
|
3
3
|
stopAllInspectProxies
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-4QBDV6LX.js";
|
|
5
5
|
import "./chunk-KXVFHMSM.js";
|
|
6
6
|
import "./chunk-GMXKJGJ2.js";
|
|
7
7
|
import "./chunk-K44MW7JJ.js";
|
|
@@ -10,4 +10,4 @@ export {
|
|
|
10
10
|
startInspectProxy,
|
|
11
11
|
stopAllInspectProxies
|
|
12
12
|
};
|
|
13
|
-
//# sourceMappingURL=inspect-proxy-
|
|
13
|
+
//# sourceMappingURL=inspect-proxy-OVEFBJ26.js.map
|
|
@@ -6,8 +6,12 @@ import {
|
|
|
6
6
|
onProcessEvent,
|
|
7
7
|
startProcessCommand,
|
|
8
8
|
stopProcess
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-TFCHWMOJ.js";
|
|
10
10
|
import "./chunk-PK2RMVMB.js";
|
|
11
|
+
import "./chunk-X5DOUA3Z.js";
|
|
12
|
+
import "./chunk-XUPKS5FL.js";
|
|
13
|
+
import "./chunk-GMXKJGJ2.js";
|
|
14
|
+
import "./chunk-K44MW7JJ.js";
|
|
11
15
|
import "./chunk-5WRI5ZAA.js";
|
|
12
16
|
export {
|
|
13
17
|
createProcess,
|
|
@@ -18,4 +22,4 @@ export {
|
|
|
18
22
|
startProcessCommand,
|
|
19
23
|
stopProcess
|
|
20
24
|
};
|
|
21
|
-
//# sourceMappingURL=manager-
|
|
25
|
+
//# sourceMappingURL=manager-JXYRGR6B.js.map
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
|
-
injectWorkflowKickoffIfNeeded,
|
|
3
2
|
runAgentTurn,
|
|
4
3
|
runChatTurn
|
|
5
|
-
} from "./chunk-
|
|
6
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-PYRH4G2J.js";
|
|
5
|
+
import "./chunk-YU6DZAVA.js";
|
|
7
6
|
import {
|
|
8
7
|
TurnMetrics,
|
|
9
8
|
createChatDoneEvent,
|
|
@@ -11,20 +10,21 @@ import {
|
|
|
11
10
|
createMessageStartEvent,
|
|
12
11
|
createToolCallEvent,
|
|
13
12
|
createToolResultEvent
|
|
14
|
-
} from "./chunk-
|
|
15
|
-
import "./chunk-
|
|
16
|
-
import "./chunk-
|
|
13
|
+
} from "./chunk-TJO4QFDQ.js";
|
|
14
|
+
import "./chunk-4QBDV6LX.js";
|
|
15
|
+
import "./chunk-KXVFHMSM.js";
|
|
16
|
+
import "./chunk-TFCHWMOJ.js";
|
|
17
17
|
import "./chunk-PK2RMVMB.js";
|
|
18
18
|
import "./chunk-NWO6GRYE.js";
|
|
19
|
-
import "./chunk-
|
|
19
|
+
import "./chunk-VLV3XWZS.js";
|
|
20
20
|
import "./chunk-WGMJCFCE.js";
|
|
21
21
|
import "./chunk-TFDK6VSG.js";
|
|
22
22
|
import "./chunk-C3VLGVSQ.js";
|
|
23
23
|
import "./chunk-F4PMNP7S.js";
|
|
24
|
-
import "./chunk-
|
|
25
|
-
import "./chunk-
|
|
26
|
-
import "./chunk-KXVFHMSM.js";
|
|
24
|
+
import "./chunk-X5DOUA3Z.js";
|
|
25
|
+
import "./chunk-XUPKS5FL.js";
|
|
27
26
|
import "./chunk-GMXKJGJ2.js";
|
|
27
|
+
import "./chunk-EU3WWTFH.js";
|
|
28
28
|
import "./chunk-J2GP3J3X.js";
|
|
29
29
|
import "./chunk-V4IE7HJY.js";
|
|
30
30
|
import "./chunk-YHEQTVFV.js";
|
|
@@ -41,8 +41,7 @@ export {
|
|
|
41
41
|
createMessageStartEvent,
|
|
42
42
|
createToolCallEvent,
|
|
43
43
|
createToolResultEvent,
|
|
44
|
-
injectWorkflowKickoffIfNeeded,
|
|
45
44
|
runAgentTurn,
|
|
46
45
|
runChatTurn
|
|
47
46
|
};
|
|
48
|
-
//# sourceMappingURL=orchestrator-
|
|
47
|
+
//# sourceMappingURL=orchestrator-FEMPJOZD.js.map
|
package/dist/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "openfox",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.67",
|
|
4
4
|
"description": "Local-LLM-first agentic coding assistant",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -63,6 +63,7 @@
|
|
|
63
63
|
},
|
|
64
64
|
"dependencies": {
|
|
65
65
|
"@clack/prompts": "^1.1.0",
|
|
66
|
+
"@danieldietrich/copy": "^0.4.2",
|
|
66
67
|
"@fontsource/jetbrains-mono": "^5.2.8",
|
|
67
68
|
"@modelcontextprotocol/sdk": "^1.29.0",
|
|
68
69
|
"@xterm/addon-fit": "^0.11.0",
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import {
|
|
2
|
+
findGitBash,
|
|
3
|
+
getPathSeparator,
|
|
4
|
+
getPlatformShell,
|
|
5
|
+
isAbsolutePath,
|
|
6
|
+
isWindowsPath,
|
|
7
|
+
listAvailableShells
|
|
8
|
+
} from "./chunk-X5DOUA3Z.js";
|
|
9
|
+
import "./chunk-XUPKS5FL.js";
|
|
10
|
+
import "./chunk-GMXKJGJ2.js";
|
|
11
|
+
import "./chunk-K44MW7JJ.js";
|
|
12
|
+
import "./chunk-5WRI5ZAA.js";
|
|
13
|
+
export {
|
|
14
|
+
findGitBash,
|
|
15
|
+
getPathSeparator,
|
|
16
|
+
getPlatformShell,
|
|
17
|
+
isAbsolutePath,
|
|
18
|
+
isWindowsPath,
|
|
19
|
+
listAvailableShells
|
|
20
|
+
};
|
|
21
|
+
//# sourceMappingURL=platform-AB3GIEGO.js.map
|
|
@@ -3,13 +3,14 @@ import {
|
|
|
3
3
|
finalizeTurnCompletion,
|
|
4
4
|
generateSessionNameForSession
|
|
5
5
|
} from "./chunk-TMHWQYWE.js";
|
|
6
|
-
import "./chunk-
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-
|
|
6
|
+
import "./chunk-YU6DZAVA.js";
|
|
7
|
+
import "./chunk-TJO4QFDQ.js";
|
|
8
|
+
import "./chunk-4QBDV6LX.js";
|
|
9
|
+
import "./chunk-KXVFHMSM.js";
|
|
10
|
+
import "./chunk-TFCHWMOJ.js";
|
|
10
11
|
import "./chunk-PK2RMVMB.js";
|
|
11
12
|
import "./chunk-NWO6GRYE.js";
|
|
12
|
-
import "./chunk-
|
|
13
|
+
import "./chunk-VLV3XWZS.js";
|
|
13
14
|
import "./chunk-WGMJCFCE.js";
|
|
14
15
|
import {
|
|
15
16
|
getEventStore
|
|
@@ -19,10 +20,10 @@ import {
|
|
|
19
20
|
createChatMessageMessage,
|
|
20
21
|
createSessionRunningMessage
|
|
21
22
|
} from "./chunk-F4PMNP7S.js";
|
|
22
|
-
import "./chunk-
|
|
23
|
-
import "./chunk-
|
|
24
|
-
import "./chunk-KXVFHMSM.js";
|
|
23
|
+
import "./chunk-X5DOUA3Z.js";
|
|
24
|
+
import "./chunk-XUPKS5FL.js";
|
|
25
25
|
import "./chunk-GMXKJGJ2.js";
|
|
26
|
+
import "./chunk-EU3WWTFH.js";
|
|
26
27
|
import "./chunk-J2GP3J3X.js";
|
|
27
28
|
import "./chunk-V4IE7HJY.js";
|
|
28
29
|
import "./chunk-YHEQTVFV.js";
|
|
@@ -177,7 +178,7 @@ var QueueProcessor = class {
|
|
|
177
178
|
backend: provider?.backend ?? llmClient.getBackend(),
|
|
178
179
|
model: llmClient.getModel()
|
|
179
180
|
};
|
|
180
|
-
const { runChatTurn } = await import("./orchestrator-
|
|
181
|
+
const { runChatTurn } = await import("./orchestrator-FEMPJOZD.js");
|
|
181
182
|
const runChatTurnParams = buildRunChatTurnParams({
|
|
182
183
|
sessionManager,
|
|
183
184
|
sessionId,
|
|
@@ -225,4 +226,4 @@ var QueueProcessor = class {
|
|
|
225
226
|
export {
|
|
226
227
|
QueueProcessor
|
|
227
228
|
};
|
|
228
|
-
//# sourceMappingURL=processor-
|
|
229
|
+
//# sourceMappingURL=processor-QB3NMRMO.js.map
|
|
@@ -1,27 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
VERSION,
|
|
3
3
|
createServer
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
6
|
-
import "./chunk-
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-2GRUQN2B.js";
|
|
5
|
+
import "./chunk-B6JUWVTK.js";
|
|
6
|
+
import "./chunk-PYRH4G2J.js";
|
|
7
|
+
import "./chunk-ZLON3JTI.js";
|
|
8
|
+
import "./chunk-YU6DZAVA.js";
|
|
9
|
+
import "./chunk-TJO4QFDQ.js";
|
|
10
|
+
import "./chunk-4QBDV6LX.js";
|
|
11
|
+
import "./chunk-KXVFHMSM.js";
|
|
12
|
+
import "./chunk-TFCHWMOJ.js";
|
|
12
13
|
import "./chunk-PK2RMVMB.js";
|
|
13
14
|
import "./chunk-NWO6GRYE.js";
|
|
14
|
-
import "./chunk-
|
|
15
|
+
import "./chunk-VLV3XWZS.js";
|
|
15
16
|
import "./chunk-WGMJCFCE.js";
|
|
16
17
|
import {
|
|
17
18
|
loadConfig
|
|
18
19
|
} from "./chunk-TFDK6VSG.js";
|
|
19
20
|
import "./chunk-C3VLGVSQ.js";
|
|
20
21
|
import "./chunk-F4PMNP7S.js";
|
|
21
|
-
import "./chunk-
|
|
22
|
-
import "./chunk-
|
|
23
|
-
import "./chunk-KXVFHMSM.js";
|
|
22
|
+
import "./chunk-X5DOUA3Z.js";
|
|
23
|
+
import "./chunk-XUPKS5FL.js";
|
|
24
24
|
import "./chunk-GMXKJGJ2.js";
|
|
25
|
+
import "./chunk-EU3WWTFH.js";
|
|
25
26
|
import "./chunk-5EO6SEGV.js";
|
|
26
27
|
import "./chunk-J2GP3J3X.js";
|
|
27
28
|
import "./chunk-B7WGOK7G.js";
|
|
@@ -206,4 +207,4 @@ async function runServe(options) {
|
|
|
206
207
|
export {
|
|
207
208
|
runServe
|
|
208
209
|
};
|
|
209
|
-
//# sourceMappingURL=serve-
|
|
210
|
+
//# sourceMappingURL=serve-32FAA4FX.js.map
|
package/dist/server/index.js
CHANGED
|
@@ -1,25 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createServer,
|
|
3
3
|
createServerHandle
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-
|
|
6
|
-
import "../chunk-
|
|
7
|
-
import "../chunk-
|
|
8
|
-
import "../chunk-
|
|
9
|
-
import "../chunk-
|
|
10
|
-
import "../chunk-
|
|
11
|
-
import "../chunk-
|
|
4
|
+
} from "../chunk-2GRUQN2B.js";
|
|
5
|
+
import "../chunk-B6JUWVTK.js";
|
|
6
|
+
import "../chunk-PYRH4G2J.js";
|
|
7
|
+
import "../chunk-ZLON3JTI.js";
|
|
8
|
+
import "../chunk-YU6DZAVA.js";
|
|
9
|
+
import "../chunk-TJO4QFDQ.js";
|
|
10
|
+
import "../chunk-4QBDV6LX.js";
|
|
11
|
+
import "../chunk-KXVFHMSM.js";
|
|
12
|
+
import "../chunk-TFCHWMOJ.js";
|
|
12
13
|
import "../chunk-PK2RMVMB.js";
|
|
13
14
|
import "../chunk-NWO6GRYE.js";
|
|
14
|
-
import "../chunk-
|
|
15
|
+
import "../chunk-VLV3XWZS.js";
|
|
15
16
|
import "../chunk-WGMJCFCE.js";
|
|
16
17
|
import "../chunk-TFDK6VSG.js";
|
|
17
18
|
import "../chunk-C3VLGVSQ.js";
|
|
18
19
|
import "../chunk-F4PMNP7S.js";
|
|
19
|
-
import "../chunk-
|
|
20
|
-
import "../chunk-
|
|
21
|
-
import "../chunk-KXVFHMSM.js";
|
|
20
|
+
import "../chunk-X5DOUA3Z.js";
|
|
21
|
+
import "../chunk-XUPKS5FL.js";
|
|
22
22
|
import "../chunk-GMXKJGJ2.js";
|
|
23
|
+
import "../chunk-EU3WWTFH.js";
|
|
23
24
|
import "../chunk-5EO6SEGV.js";
|
|
24
25
|
import "../chunk-J2GP3J3X.js";
|
|
25
26
|
import "../chunk-B7WGOK7G.js";
|
|
@@ -1,24 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createWebSocketServer,
|
|
3
3
|
signalMcpReady
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
6
|
-
import "./chunk-
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-B6JUWVTK.js";
|
|
5
|
+
import "./chunk-PYRH4G2J.js";
|
|
6
|
+
import "./chunk-ZLON3JTI.js";
|
|
7
|
+
import "./chunk-YU6DZAVA.js";
|
|
8
|
+
import "./chunk-TJO4QFDQ.js";
|
|
9
|
+
import "./chunk-4QBDV6LX.js";
|
|
10
|
+
import "./chunk-KXVFHMSM.js";
|
|
11
|
+
import "./chunk-TFCHWMOJ.js";
|
|
11
12
|
import "./chunk-PK2RMVMB.js";
|
|
12
13
|
import "./chunk-NWO6GRYE.js";
|
|
13
|
-
import "./chunk-
|
|
14
|
+
import "./chunk-VLV3XWZS.js";
|
|
14
15
|
import "./chunk-WGMJCFCE.js";
|
|
15
16
|
import "./chunk-TFDK6VSG.js";
|
|
16
17
|
import "./chunk-C3VLGVSQ.js";
|
|
17
18
|
import "./chunk-F4PMNP7S.js";
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-KXVFHMSM.js";
|
|
19
|
+
import "./chunk-X5DOUA3Z.js";
|
|
20
|
+
import "./chunk-XUPKS5FL.js";
|
|
21
21
|
import "./chunk-GMXKJGJ2.js";
|
|
22
|
+
import "./chunk-EU3WWTFH.js";
|
|
22
23
|
import "./chunk-J2GP3J3X.js";
|
|
23
24
|
import "./chunk-V4IE7HJY.js";
|
|
24
25
|
import "./chunk-YHEQTVFV.js";
|
|
@@ -33,4 +34,4 @@ export {
|
|
|
33
34
|
createWebSocketServer,
|
|
34
35
|
signalMcpReady
|
|
35
36
|
};
|
|
36
|
-
//# sourceMappingURL=server-
|
|
37
|
+
//# sourceMappingURL=server-OYE7GERR.js.map
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
getAllSettings,
|
|
6
6
|
getSetting,
|
|
7
7
|
setSetting
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-XUPKS5FL.js";
|
|
9
9
|
import "./chunk-GMXKJGJ2.js";
|
|
10
10
|
import "./chunk-K44MW7JJ.js";
|
|
11
11
|
import "./chunk-5WRI5ZAA.js";
|
|
@@ -17,4 +17,4 @@ export {
|
|
|
17
17
|
getSetting,
|
|
18
18
|
setSetting
|
|
19
19
|
};
|
|
20
|
-
//# sourceMappingURL=settings-
|
|
20
|
+
//# sourceMappingURL=settings-6ZPWOBWL.js.map
|
|
@@ -12,26 +12,27 @@ import {
|
|
|
12
12
|
setMcpTools,
|
|
13
13
|
stepDoneTool,
|
|
14
14
|
validateToolAction
|
|
15
|
-
} from "./chunk-
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
15
|
+
} from "./chunk-YU6DZAVA.js";
|
|
16
|
+
import "./chunk-TJO4QFDQ.js";
|
|
17
|
+
import "./chunk-4QBDV6LX.js";
|
|
18
|
+
import "./chunk-KXVFHMSM.js";
|
|
19
|
+
import "./chunk-TFCHWMOJ.js";
|
|
19
20
|
import "./chunk-PK2RMVMB.js";
|
|
20
21
|
import "./chunk-NWO6GRYE.js";
|
|
21
|
-
import "./chunk-
|
|
22
|
+
import "./chunk-VLV3XWZS.js";
|
|
22
23
|
import "./chunk-WGMJCFCE.js";
|
|
23
24
|
import "./chunk-TFDK6VSG.js";
|
|
24
25
|
import "./chunk-C3VLGVSQ.js";
|
|
25
26
|
import "./chunk-F4PMNP7S.js";
|
|
26
|
-
import "./chunk-
|
|
27
|
+
import "./chunk-X5DOUA3Z.js";
|
|
28
|
+
import "./chunk-XUPKS5FL.js";
|
|
29
|
+
import "./chunk-GMXKJGJ2.js";
|
|
27
30
|
import {
|
|
28
31
|
AskUserInterrupt,
|
|
29
32
|
cancelQuestionsForSession,
|
|
30
33
|
getPendingQuestionsForSession,
|
|
31
34
|
provideAnswer
|
|
32
35
|
} from "./chunk-EU3WWTFH.js";
|
|
33
|
-
import "./chunk-KXVFHMSM.js";
|
|
34
|
-
import "./chunk-GMXKJGJ2.js";
|
|
35
36
|
import "./chunk-J2GP3J3X.js";
|
|
36
37
|
import "./chunk-V4IE7HJY.js";
|
|
37
38
|
import "./chunk-YHEQTVFV.js";
|
|
@@ -60,4 +61,4 @@ export {
|
|
|
60
61
|
stepDoneTool,
|
|
61
62
|
validateToolAction
|
|
62
63
|
};
|
|
63
|
-
//# sourceMappingURL=tools-
|
|
64
|
+
//# sourceMappingURL=tools-INWP6FGV.js.map
|