openfox 2.0.72 → 2.0.74
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/agent-defaults/builder.agent.md +1 -1
- package/dist/agent-defaults/planner.agent.md +1 -1
- package/dist/{chat-handler-LK5RUAGO.js → chat-handler-ETKFIHUO.js} +4 -4
- package/dist/{chunk-GMF36EZ3.js → chunk-2VBETAU2.js} +4 -4
- package/dist/chunk-3OZBPWHP.js +7 -0
- package/dist/{chunk-X2Y3AJPP.js → chunk-MF3UW36X.js} +10 -2
- package/dist/{chunk-FILRB5QX.js → chunk-QFR6JF32.js} +266 -84
- package/dist/{chunk-4LBSC4R3.js → chunk-R6L2QXQ5.js} +5 -5
- package/dist/{chunk-TK4BZIXA.js → chunk-TMRFTWXP.js} +11 -4
- package/dist/{chunk-O2BE7KVQ.js → chunk-ZRQDCQ7R.js} +4 -4
- package/dist/cli/dev.js +1 -1
- package/dist/cli/index.js +1 -1
- package/dist/{orchestrator-RTZVMWQV.js → orchestrator-O2YAAZ3U.js} +4 -4
- package/dist/package.json +1 -1
- package/dist/{processor-3O26I7DO.js → processor-FKAS3K4L.js} +4 -4
- package/dist/{serve-6PSAQ2YH.js → serve-T5U6SLB7.js} +7 -7
- package/dist/server/index.d.ts +4 -0
- package/dist/server/index.js +6 -6
- package/dist/{server-G2J4RAXL.js → server-T2YP3VT2.js} +5 -5
- package/dist/{tools-X52DFUS6.js → tools-APW7MY4E.js} +3 -3
- package/dist/{update-I2M2RG4Q.js → update-FWO365SV.js} +2 -2
- package/dist/web/assets/{index-CmechlaK.css → index-DZRcUhoE.css} +1 -1
- package/dist/web/assets/{index-C7SW16F7.js → index-Xh2VHbZe.js} +69 -69
- package/dist/web/index.html +2 -2
- package/dist/web/sw.js +1 -1
- package/dist/{workspace-ET3FHZYN.js → workspace-6QTTUMMW.js} +4 -2
- package/package.json +1 -1
- package/dist/chunk-2M6JM7OR.js +0 -7
|
@@ -5,9 +5,9 @@ import {
|
|
|
5
5
|
} from "./chunk-2DCJERYX.js";
|
|
6
6
|
import {
|
|
7
7
|
runChatTurn
|
|
8
|
-
} from "./chunk-
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
8
|
+
} from "./chunk-ZRQDCQ7R.js";
|
|
9
|
+
import "./chunk-2VBETAU2.js";
|
|
10
|
+
import "./chunk-MF3UW36X.js";
|
|
11
11
|
import "./chunk-WGMJCFCE.js";
|
|
12
12
|
import "./chunk-EU3WWTFH.js";
|
|
13
13
|
import "./chunk-XWBNYU2L.js";
|
|
@@ -158,4 +158,4 @@ export {
|
|
|
158
158
|
startChatSession,
|
|
159
159
|
stopSessionExecution
|
|
160
160
|
};
|
|
161
|
-
//# sourceMappingURL=chat-handler-
|
|
161
|
+
//# sourceMappingURL=chat-handler-ETKFIHUO.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getGitBranch,
|
|
3
3
|
listWorkspaces
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-MF3UW36X.js";
|
|
5
5
|
import {
|
|
6
6
|
AskUserInterrupt,
|
|
7
7
|
askUserTool
|
|
@@ -3814,7 +3814,7 @@ var callSubAgentTool = {
|
|
|
3814
3814
|
};
|
|
3815
3815
|
}
|
|
3816
3816
|
try {
|
|
3817
|
-
const { getToolRegistryForAgent: getToolRegistryForAgent2 } = await import("./tools-
|
|
3817
|
+
const { getToolRegistryForAgent: getToolRegistryForAgent2 } = await import("./tools-APW7MY4E.js");
|
|
3818
3818
|
const toolRegistry = getToolRegistryForAgent2(agentDef);
|
|
3819
3819
|
const turnMetrics = new TurnMetrics();
|
|
3820
3820
|
const result = await executeSubAgent({
|
|
@@ -4813,7 +4813,7 @@ var mcpConfigTool = createTool(
|
|
|
4813
4813
|
mcpNotifyChanged?.(sessionId);
|
|
4814
4814
|
}
|
|
4815
4815
|
async function rebuildTools() {
|
|
4816
|
-
const { setMcpTools: setMcpTools2 } = await import("./tools-
|
|
4816
|
+
const { setMcpTools: setMcpTools2 } = await import("./tools-APW7MY4E.js");
|
|
4817
4817
|
const mcpTools = createMcpTools(mcpManagerForTools);
|
|
4818
4818
|
setMcpTools2(mcpTools);
|
|
4819
4819
|
}
|
|
@@ -5493,4 +5493,4 @@ export {
|
|
|
5493
5493
|
getToolRegistryForAgent,
|
|
5494
5494
|
createToolRegistry
|
|
5495
5495
|
};
|
|
5496
|
-
//# sourceMappingURL=chunk-
|
|
5496
|
+
//# sourceMappingURL=chunk-2VBETAU2.js.map
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
// src/server/git/workspace.ts
|
|
9
9
|
import { spawn, execSync } from "child_process";
|
|
10
10
|
import { mkdir as mkdir2 } from "fs/promises";
|
|
11
|
-
import { resolve as resolve2, join as join2 } from "path";
|
|
11
|
+
import { resolve as resolve2, join as join2, isAbsolute } from "path";
|
|
12
12
|
import { homedir, platform } from "os";
|
|
13
13
|
|
|
14
14
|
// src/server/git/workspace-config.ts
|
|
@@ -106,6 +106,13 @@ async function getCommitsBehind(cwd, branch) {
|
|
|
106
106
|
function validateRef(cwd, name) {
|
|
107
107
|
return runGit(cwd, ["check-ref-format", `refs/heads/${name}`]);
|
|
108
108
|
}
|
|
109
|
+
function validateWorkspaceName(name) {
|
|
110
|
+
if (!name || typeof name !== "string") throw new Error("Workspace name is required");
|
|
111
|
+
if (name.includes("/") || name.includes("\\")) throw new Error("Workspace name cannot contain path separators");
|
|
112
|
+
if (name === "." || name === "..") throw new Error('Workspace name cannot be "." or ".."');
|
|
113
|
+
if (isAbsolute(name)) throw new Error("Workspace name cannot be an absolute path");
|
|
114
|
+
if (name.length > 255) throw new Error("Workspace name is too long");
|
|
115
|
+
}
|
|
109
116
|
function checkoutBranch(cwd, name) {
|
|
110
117
|
return runGit(cwd, ["checkout", name]);
|
|
111
118
|
}
|
|
@@ -206,6 +213,7 @@ export {
|
|
|
206
213
|
listBranches,
|
|
207
214
|
getCommitsBehind,
|
|
208
215
|
validateRef,
|
|
216
|
+
validateWorkspaceName,
|
|
209
217
|
checkoutBranch,
|
|
210
218
|
createBranch,
|
|
211
219
|
workspaceExists,
|
|
@@ -213,4 +221,4 @@ export {
|
|
|
213
221
|
ensureWorkspace,
|
|
214
222
|
deleteWorkspace
|
|
215
223
|
};
|
|
216
|
-
//# sourceMappingURL=chunk-
|
|
224
|
+
//# sourceMappingURL=chunk-MF3UW36X.js.map
|