openfox 1.0.1 → 1.0.2
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/explorer.agent.md +1 -1
- package/dist/{auto-compaction-WRS52ERL.js → auto-compaction-Z7YRAINH.js} +2 -2
- package/dist/{chat-handler-226J7XYE.js → chat-handler-OK33JXYI.js} +4 -4
- package/dist/{chunk-HGMG5F72.js → chunk-4DBGHCEX.js} +8 -8
- package/dist/{chunk-ARKA56ZM.js → chunk-7OLTTWZA.js} +28 -10
- package/dist/{chunk-VUQPJFMQ.js → chunk-T3CH5PY4.js} +2 -2
- package/dist/{chunk-OWDPT3M6.js → chunk-Z4UOHDMH.js} +2 -2
- package/dist/cli/dev.js +1 -1
- package/dist/cli/index.js +1 -1
- package/dist/{orchestrator-4CBESUGB.js → orchestrator-SMCH5J5W.js} +3 -3
- package/dist/package.json +1 -1
- package/dist/{processor-LAKHPIG3.js → processor-2I3OUWQP.js} +2 -2
- package/dist/{serve-5NHW3X5B.js → serve-MPHVNIEV.js} +4 -4
- package/dist/server/index.js +3 -3
- package/dist/{tools-WOZVXNEQ.js → tools-OP64GRLP.js} +2 -2
- package/package.json +1 -1
|
@@ -15,7 +15,7 @@ You are a codebase exploration expert.
|
|
|
15
15
|
Your role is to investigate and map out code structure, find relevant files, and explain how components work together.
|
|
16
16
|
|
|
17
17
|
Guidelines:
|
|
18
|
-
- Use
|
|
18
|
+
- Use run_command with grep/glob to discover code
|
|
19
19
|
- Trace dependencies and imports to understand relationships
|
|
20
20
|
- Identify patterns and conventions in the codebase
|
|
21
21
|
- Report findings clearly with file paths and key observations
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
maybeAutoCompactContext,
|
|
3
3
|
performManualContextCompaction,
|
|
4
4
|
resolveCompactionStatsIdentity
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-7OLTTWZA.js";
|
|
6
6
|
import "./chunk-BU2ZYOEA.js";
|
|
7
7
|
import "./chunk-2KSCZSXQ.js";
|
|
8
8
|
import "./chunk-S4QKTRGJ.js";
|
|
@@ -20,4 +20,4 @@ export {
|
|
|
20
20
|
performManualContextCompaction,
|
|
21
21
|
resolveCompactionStatsIdentity
|
|
22
22
|
};
|
|
23
|
-
//# sourceMappingURL=auto-compaction-
|
|
23
|
+
//# sourceMappingURL=auto-compaction-Z7YRAINH.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
runChatTurn
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-Z4UOHDMH.js";
|
|
4
|
+
import "./chunk-7OLTTWZA.js";
|
|
5
5
|
import {
|
|
6
6
|
generateSessionName,
|
|
7
7
|
needsNameGeneration
|
|
@@ -59,7 +59,7 @@ async function startChatSession(sessionId, content, deps, options) {
|
|
|
59
59
|
sessionManager.setRunning(sessionId, true);
|
|
60
60
|
broadcastForSession(sessionId, createSessionRunningMessage(true));
|
|
61
61
|
try {
|
|
62
|
-
const { maybeAutoCompactContext } = await import("./auto-compaction-
|
|
62
|
+
const { maybeAutoCompactContext } = await import("./auto-compaction-Z7YRAINH.js");
|
|
63
63
|
await maybeAutoCompactContext({
|
|
64
64
|
sessionManager,
|
|
65
65
|
sessionId,
|
|
@@ -198,4 +198,4 @@ export {
|
|
|
198
198
|
startChatSession,
|
|
199
199
|
stopSessionExecution
|
|
200
200
|
};
|
|
201
|
-
//# sourceMappingURL=chat-handler-
|
|
201
|
+
//# sourceMappingURL=chat-handler-OK33JXYI.js.map
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
createVerifierNudgeConfig,
|
|
3
3
|
runBuilderTurn,
|
|
4
4
|
runChatTurn
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-Z4UOHDMH.js";
|
|
6
6
|
import {
|
|
7
7
|
TurnMetrics,
|
|
8
8
|
agentExists,
|
|
@@ -40,7 +40,7 @@ import {
|
|
|
40
40
|
saveSkill,
|
|
41
41
|
setSkillEnabled,
|
|
42
42
|
skillExists
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-7OLTTWZA.js";
|
|
44
44
|
import {
|
|
45
45
|
generateSessionName,
|
|
46
46
|
needsNameGeneration
|
|
@@ -5629,7 +5629,7 @@ async function createServerHandle(config) {
|
|
|
5629
5629
|
if (!callId || approved === void 0) {
|
|
5630
5630
|
return res.status(400).json({ error: "callId and approved are required" });
|
|
5631
5631
|
}
|
|
5632
|
-
const { providePathConfirmation: providePathConfirmation2 } = await import("./tools-
|
|
5632
|
+
const { providePathConfirmation: providePathConfirmation2 } = await import("./tools-OP64GRLP.js");
|
|
5633
5633
|
const result = providePathConfirmation2(callId, approved, alwaysAllow);
|
|
5634
5634
|
if (!result.found) {
|
|
5635
5635
|
return res.status(404).json({ error: "No pending path confirmation with that ID" });
|
|
@@ -5654,7 +5654,7 @@ async function createServerHandle(config) {
|
|
|
5654
5654
|
if (!callId || !answer) {
|
|
5655
5655
|
return res.status(400).json({ error: "callId and answer are required" });
|
|
5656
5656
|
}
|
|
5657
|
-
const { provideAnswer: provideAnswer2 } = await import("./tools-
|
|
5657
|
+
const { provideAnswer: provideAnswer2 } = await import("./tools-OP64GRLP.js");
|
|
5658
5658
|
const found = provideAnswer2(callId, answer);
|
|
5659
5659
|
if (!found) {
|
|
5660
5660
|
return res.status(404).json({ error: "No pending question with that ID" });
|
|
@@ -5690,8 +5690,8 @@ async function createServerHandle(config) {
|
|
|
5690
5690
|
if (!session) {
|
|
5691
5691
|
return res.status(404).json({ error: "Session not found" });
|
|
5692
5692
|
}
|
|
5693
|
-
const { stopSessionExecution } = await import("./chat-handler-
|
|
5694
|
-
const { cancelQuestionsForSession: cancelQuestionsForSession2, cancelPathConfirmationsForSession: cancelPathConfirmationsForSession2 } = await import("./tools-
|
|
5693
|
+
const { stopSessionExecution } = await import("./chat-handler-OK33JXYI.js");
|
|
5694
|
+
const { cancelQuestionsForSession: cancelQuestionsForSession2, cancelPathConfirmationsForSession: cancelPathConfirmationsForSession2 } = await import("./tools-OP64GRLP.js");
|
|
5695
5695
|
stopSessionExecution(sessionId, sessionManager);
|
|
5696
5696
|
abortSession(sessionId);
|
|
5697
5697
|
cancelQuestionsForSession2(sessionId, "Session stopped by user");
|
|
@@ -6012,7 +6012,7 @@ async function createServerHandle(config) {
|
|
|
6012
6012
|
providerManager
|
|
6013
6013
|
);
|
|
6014
6014
|
const wss = wssExports.wss;
|
|
6015
|
-
const { QueueProcessor } = await import("./processor-
|
|
6015
|
+
const { QueueProcessor } = await import("./processor-2I3OUWQP.js");
|
|
6016
6016
|
const queueProcessor = new QueueProcessor({
|
|
6017
6017
|
sessionManager,
|
|
6018
6018
|
providerManager,
|
|
@@ -6082,4 +6082,4 @@ export {
|
|
|
6082
6082
|
createServerHandle,
|
|
6083
6083
|
createServer
|
|
6084
6084
|
};
|
|
6085
|
-
//# sourceMappingURL=chunk-
|
|
6085
|
+
//# sourceMappingURL=chunk-4DBGHCEX.js.map
|
|
@@ -914,8 +914,18 @@ function getSubAgents(agents) {
|
|
|
914
914
|
return agents.filter((a) => a.metadata.subagent);
|
|
915
915
|
}
|
|
916
916
|
async function agentExists(configDir, agentId) {
|
|
917
|
-
const
|
|
918
|
-
|
|
917
|
+
const agentsDir = getAgentsDir(configDir);
|
|
918
|
+
const hyphenated = agentId.replace(/_/g, "-");
|
|
919
|
+
const paths = [
|
|
920
|
+
join2(agentsDir, `${agentId}${AGENT_EXTENSION}`),
|
|
921
|
+
join2(agentsDir, `${hyphenated}${AGENT_EXTENSION}`)
|
|
922
|
+
];
|
|
923
|
+
for (const filePath of paths) {
|
|
924
|
+
if (await pathExists(filePath)) {
|
|
925
|
+
return true;
|
|
926
|
+
}
|
|
927
|
+
}
|
|
928
|
+
return false;
|
|
919
929
|
}
|
|
920
930
|
async function saveAgent(configDir, agent) {
|
|
921
931
|
const agentsDir = getAgentsDir(configDir);
|
|
@@ -927,13 +937,21 @@ async function saveAgent(configDir, agent) {
|
|
|
927
937
|
await writeFile(filePath, content, "utf-8");
|
|
928
938
|
}
|
|
929
939
|
async function deleteAgent(configDir, agentId) {
|
|
930
|
-
const
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
|
|
940
|
+
const agentsDir = getAgentsDir(configDir);
|
|
941
|
+
const hyphenated = agentId.replace(/_/g, "-");
|
|
942
|
+
const paths = [
|
|
943
|
+
join2(agentsDir, `${agentId}${AGENT_EXTENSION}`),
|
|
944
|
+
join2(agentsDir, `${hyphenated}${AGENT_EXTENSION}`)
|
|
945
|
+
];
|
|
946
|
+
for (const filePath of paths) {
|
|
947
|
+
try {
|
|
948
|
+
await unlink(filePath);
|
|
949
|
+
return true;
|
|
950
|
+
} catch {
|
|
951
|
+
continue;
|
|
952
|
+
}
|
|
936
953
|
}
|
|
954
|
+
return false;
|
|
937
955
|
}
|
|
938
956
|
|
|
939
957
|
// src/server/tools/read.ts
|
|
@@ -3454,7 +3472,7 @@ var callSubAgentTool = {
|
|
|
3454
3472
|
};
|
|
3455
3473
|
}
|
|
3456
3474
|
try {
|
|
3457
|
-
const { getToolRegistryForAgent: getToolRegistryForAgent2 } = await import("./tools-
|
|
3475
|
+
const { getToolRegistryForAgent: getToolRegistryForAgent2 } = await import("./tools-OP64GRLP.js");
|
|
3458
3476
|
const toolRegistry = getToolRegistryForAgent2(agentDef);
|
|
3459
3477
|
const turnMetrics = new TurnMetrics();
|
|
3460
3478
|
const result = await executeSubAgent({
|
|
@@ -4462,4 +4480,4 @@ export {
|
|
|
4462
4480
|
getToolRegistryForAgent,
|
|
4463
4481
|
createToolRegistry
|
|
4464
4482
|
};
|
|
4465
|
-
//# sourceMappingURL=chunk-
|
|
4483
|
+
//# sourceMappingURL=chunk-7OLTTWZA.js.map
|
|
@@ -129,7 +129,7 @@ async function runCli(options) {
|
|
|
129
129
|
await runInitWithSelect(mode);
|
|
130
130
|
}
|
|
131
131
|
}
|
|
132
|
-
const { runServe } = await import("./serve-
|
|
132
|
+
const { runServe } = await import("./serve-MPHVNIEV.js");
|
|
133
133
|
await runServe({
|
|
134
134
|
mode,
|
|
135
135
|
port: values.port ? parseInt(values.port) : void 0,
|
|
@@ -142,4 +142,4 @@ async function runCli(options) {
|
|
|
142
142
|
export {
|
|
143
143
|
runCli
|
|
144
144
|
};
|
|
145
|
-
//# sourceMappingURL=chunk-
|
|
145
|
+
//# sourceMappingURL=chunk-T3CH5PY4.js.map
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
getToolRegistryForAgent,
|
|
14
14
|
loadAllAgentsDefault,
|
|
15
15
|
runTopLevelAgentLoop
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-7OLTTWZA.js";
|
|
17
17
|
import {
|
|
18
18
|
getCurrentContextWindowId,
|
|
19
19
|
getEventStore
|
|
@@ -311,4 +311,4 @@ export {
|
|
|
311
311
|
runBuilderTurn,
|
|
312
312
|
runVerifierTurn
|
|
313
313
|
};
|
|
314
|
-
//# sourceMappingURL=chunk-
|
|
314
|
+
//# sourceMappingURL=chunk-Z4UOHDMH.js.map
|
package/dist/cli/dev.js
CHANGED
package/dist/cli/index.js
CHANGED
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
runBuilderTurn,
|
|
4
4
|
runChatTurn,
|
|
5
5
|
runVerifierTurn
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-Z4UOHDMH.js";
|
|
7
7
|
import {
|
|
8
8
|
TurnMetrics,
|
|
9
9
|
createChatDoneEvent,
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
createMessageStartEvent,
|
|
12
12
|
createToolCallEvent,
|
|
13
13
|
createToolResultEvent
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-7OLTTWZA.js";
|
|
15
15
|
import "./chunk-BU2ZYOEA.js";
|
|
16
16
|
import "./chunk-2KSCZSXQ.js";
|
|
17
17
|
import "./chunk-S4QKTRGJ.js";
|
|
@@ -36,4 +36,4 @@ export {
|
|
|
36
36
|
runChatTurn,
|
|
37
37
|
runVerifierTurn
|
|
38
38
|
};
|
|
39
|
-
//# sourceMappingURL=orchestrator-
|
|
39
|
+
//# sourceMappingURL=orchestrator-SMCH5J5W.js.map
|
package/dist/package.json
CHANGED
|
@@ -188,7 +188,7 @@ var QueueProcessor = class {
|
|
|
188
188
|
backend: provider?.backend ?? llmClient.getBackend(),
|
|
189
189
|
model: llmClient.getModel()
|
|
190
190
|
};
|
|
191
|
-
const { runChatTurn } = await import("./orchestrator-
|
|
191
|
+
const { runChatTurn } = await import("./orchestrator-SMCH5J5W.js");
|
|
192
192
|
runChatTurn({
|
|
193
193
|
sessionManager,
|
|
194
194
|
sessionId,
|
|
@@ -233,4 +233,4 @@ var QueueProcessor = class {
|
|
|
233
233
|
export {
|
|
234
234
|
QueueProcessor
|
|
235
235
|
};
|
|
236
|
-
//# sourceMappingURL=processor-
|
|
236
|
+
//# sourceMappingURL=processor-2I3OUWQP.js.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createServer
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
5
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-4DBGHCEX.js";
|
|
4
|
+
import "./chunk-Z4UOHDMH.js";
|
|
5
|
+
import "./chunk-7OLTTWZA.js";
|
|
6
6
|
import "./chunk-QDEKU5RL.js";
|
|
7
7
|
import "./chunk-QYP5HQV4.js";
|
|
8
8
|
import "./chunk-BU2ZYOEA.js";
|
|
@@ -206,4 +206,4 @@ async function runServe(options) {
|
|
|
206
206
|
export {
|
|
207
207
|
runServe
|
|
208
208
|
};
|
|
209
|
-
//# sourceMappingURL=serve-
|
|
209
|
+
//# sourceMappingURL=serve-MPHVNIEV.js.map
|
package/dist/server/index.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createServer,
|
|
3
3
|
createServerHandle
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-
|
|
6
|
-
import "../chunk-
|
|
4
|
+
} from "../chunk-4DBGHCEX.js";
|
|
5
|
+
import "../chunk-Z4UOHDMH.js";
|
|
6
|
+
import "../chunk-7OLTTWZA.js";
|
|
7
7
|
import "../chunk-QDEKU5RL.js";
|
|
8
8
|
import "../chunk-QYP5HQV4.js";
|
|
9
9
|
import "../chunk-BU2ZYOEA.js";
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
requestPathAccess,
|
|
12
12
|
stepDoneTool,
|
|
13
13
|
validateToolAction
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-7OLTTWZA.js";
|
|
15
15
|
import "./chunk-BU2ZYOEA.js";
|
|
16
16
|
import "./chunk-2KSCZSXQ.js";
|
|
17
17
|
import "./chunk-S4QKTRGJ.js";
|
|
@@ -45,4 +45,4 @@ export {
|
|
|
45
45
|
stepDoneTool,
|
|
46
46
|
validateToolAction
|
|
47
47
|
};
|
|
48
|
-
//# sourceMappingURL=tools-
|
|
48
|
+
//# sourceMappingURL=tools-OP64GRLP.js.map
|