openfox 2.0.74 → 2.0.76
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/README.md +5 -2
- package/dist/{chat-handler-ETKFIHUO.js → chat-handler-3BZ4PDL2.js} +17 -16
- package/dist/chunk-46RORSKU.js +495 -0
- package/dist/{chunk-S7O77CVO.js → chunk-4QHDQP2N.js} +2 -2
- package/dist/{chunk-YD6NDTKF.js → chunk-5GOOSZX7.js} +1 -1
- package/dist/{chunk-XWBNYU2L.js → chunk-7772ENZN.js} +4 -3
- package/dist/{chunk-I4RWK2L2.js → chunk-7QXRQ5ZL.js} +3 -3
- package/dist/{chunk-2VBETAU2.js → chunk-D6CI2B7B.js} +111 -539
- package/dist/{chunk-E5LLEO3C.js → chunk-DH3SSBZN.js} +2 -2
- package/dist/{chunk-CHPRGEY5.js → chunk-HAQV6AJP.js} +3 -3
- package/dist/{chunk-R6L2QXQ5.js → chunk-HHUIXHHX.js} +16 -6
- package/dist/{chunk-ZRQDCQ7R.js → chunk-HLHGNHMV.js} +10 -8
- package/dist/{chunk-QFR6JF32.js → chunk-J7VCI5EX.js} +205 -82
- package/dist/chunk-KQEVAO2Q.js +7 -0
- package/dist/{chunk-UN26GIQG.js → chunk-KVRSAC4Z.js} +1 -1
- package/dist/{chunk-UV3EMWL4.js → chunk-LXFLRM7M.js} +2 -2
- package/dist/{chunk-6XKM25OT.js → chunk-NGJ5XJ7D.js} +4 -4
- package/dist/{chunk-NOU2QIL5.js → chunk-O3NUNU4H.js} +5 -2
- package/dist/{chunk-PYB2UEC3.js → chunk-OBQPXUXI.js} +4 -4
- package/dist/{chunk-OHGQILRF.js → chunk-OCVRIPQP.js} +2 -2
- package/dist/{chunk-TMRFTWXP.js → chunk-OMWVB2XC.js} +38 -23
- package/dist/{chunk-6XOA2WPU.js → chunk-W4ZEG3LX.js} +5 -2
- package/dist/{chunk-2DCJERYX.js → chunk-XTK6E2QR.js} +4 -4
- package/dist/{chunk-QNKXZH3Z.js → chunk-YMFCFMMB.js} +2 -2
- package/dist/cli/dev.js +1 -1
- package/dist/cli/index.js +1 -1
- package/dist/{client-SC6X65GY.js → client-TDPQVBQ7.js} +2 -2
- package/dist/{compactor-4UKYWC5F.js → compactor-BB3YYVRP.js} +7 -7
- package/dist/{events-AEQ6GQXI.js → events-FLWRLM6V.js} +3 -3
- package/dist/{inspect-proxy-PHVZBZUO.js → inspect-proxy-JHZV34QR.js} +4 -4
- package/dist/install-CPOPMCSE.js +120 -0
- package/dist/{manager-24C2AXVF.js → manager-OPMCSYN2.js} +5 -5
- package/dist/{orchestrator-O2YAAZ3U.js → orchestrator-5IMCWX5P.js} +16 -15
- package/dist/package.json +1 -1
- package/dist/path-security-ZROWNL22.js +50 -0
- package/dist/{platform-XQ7BS3KQ.js → platform-QGXO3CNR.js} +4 -4
- package/dist/plugins-registry.json +6 -0
- package/dist/{processor-FKAS3K4L.js → processor-3R4GS6VB.js} +17 -16
- package/dist/{project-creator-FQRBN3RG.js → project-creator-C22J43BC.js} +3 -3
- package/dist/{projects-LHRNCUGW.js → projects-WSVINK2C.js} +3 -3
- package/dist/{protocol-4QFU7WAI.js → protocol-EWEVW65B.js} +3 -3
- package/dist/{protocol-DGQWVFcP.d.ts → protocol-Sr6Jr4ZS.d.ts} +5 -2
- package/dist/{provider-OJUCZ5RN.js → provider-G2YC2IC4.js} +3 -3
- package/dist/{provider-manager-MAKXSL6L.js → provider-manager-SQIELYLK.js} +3 -3
- package/dist/{serve-T5U6SLB7.js → serve-MXKMKZYY.js} +22 -21
- package/dist/server/index.d.ts +1 -1
- package/dist/server/index.js +21 -20
- package/dist/{server-T2YP3VT2.js → server-SPYFMFQE.js} +18 -17
- package/dist/{settings-PFXRYXZU.js → settings-7XDMSPIC.js} +3 -3
- package/dist/shared/index.d.ts +1 -1
- package/dist/shared/index.js +1 -1
- package/dist/{tools-APW7MY4E.js → tools-JRCUWPJO.js} +20 -18
- package/dist/{update-FWO365SV.js → update-OXDQ75M7.js} +12 -3
- package/dist/{update-server-MYYQUNZX.js → update-server-4MTM7M5P.js} +2 -2
- package/dist/web/assets/{index-DZRcUhoE.css → index-BNVBxKnB.css} +1 -1
- package/dist/web/assets/{index-Xh2VHbZe.js → index-ghDkIdlf.js} +74 -74
- package/dist/web/index.html +2 -2
- package/dist/web/sw.js +1 -1
- package/package.json +1 -1
- package/plugins-registry.json +6 -0
- package/dist/chunk-3OZBPWHP.js +0 -7
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getProjectByWorkdir
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-LXFLRM7M.js";
|
|
4
4
|
import {
|
|
5
5
|
logger
|
|
6
6
|
} from "./chunk-K44MW7JJ.js";
|
|
@@ -343,4 +343,4 @@ export {
|
|
|
343
343
|
startInspectProxy,
|
|
344
344
|
stopAllInspectProxies
|
|
345
345
|
};
|
|
346
|
-
//# sourceMappingURL=chunk-
|
|
346
|
+
//# sourceMappingURL=chunk-DH3SSBZN.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
COMPACTION_PROMPT,
|
|
3
3
|
createMessageStartEvent
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-7772ENZN.js";
|
|
5
5
|
import {
|
|
6
6
|
getCurrentWindowMessageOptions
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-NGJ5XJ7D.js";
|
|
8
8
|
|
|
9
9
|
// src/server/context/compactor.ts
|
|
10
10
|
function appendCompactionPrompt(sessionId, append) {
|
|
@@ -31,4 +31,4 @@ export {
|
|
|
31
31
|
shouldCompact,
|
|
32
32
|
getCompactionTarget
|
|
33
33
|
};
|
|
34
|
-
//# sourceMappingURL=chunk-
|
|
34
|
+
//# sourceMappingURL=chunk-HAQV6AJP.js.map
|
|
@@ -25,6 +25,7 @@ Commands:
|
|
|
25
25
|
provider remove Remove a provider
|
|
26
26
|
service Manage the systemd service (install, start, stop, status, logs, uninstall)
|
|
27
27
|
pwa Manage the PWA installation (install, uninstall, launch, update, status)
|
|
28
|
+
install Install a persistent OpenFox launcher (use --check to inspect)
|
|
28
29
|
update Update OpenFox to the latest version
|
|
29
30
|
|
|
30
31
|
Options:
|
|
@@ -134,7 +135,8 @@ async function runCli(options) {
|
|
|
134
135
|
help: { type: "boolean", short: "h" },
|
|
135
136
|
version: { type: "boolean", short: "v" },
|
|
136
137
|
service: { type: "boolean" },
|
|
137
|
-
follow: { type: "boolean", short: "f" }
|
|
138
|
+
follow: { type: "boolean", short: "f" },
|
|
139
|
+
check: { type: "boolean" }
|
|
138
140
|
},
|
|
139
141
|
allowPositionals: true,
|
|
140
142
|
strict: true
|
|
@@ -161,7 +163,7 @@ async function runCli(options) {
|
|
|
161
163
|
break;
|
|
162
164
|
}
|
|
163
165
|
case "provider": {
|
|
164
|
-
const { runProviderCommand } = await import("./provider-
|
|
166
|
+
const { runProviderCommand } = await import("./provider-G2YC2IC4.js");
|
|
165
167
|
const [, subcommand] = positionals;
|
|
166
168
|
await runProviderCommand(mode, subcommand);
|
|
167
169
|
break;
|
|
@@ -189,9 +191,17 @@ async function runCli(options) {
|
|
|
189
191
|
}
|
|
190
192
|
break;
|
|
191
193
|
}
|
|
194
|
+
case "install": {
|
|
195
|
+
const { runInstall } = await import("./install-CPOPMCSE.js");
|
|
196
|
+
const code = await runInstall({ check: values.check === true });
|
|
197
|
+
if (code !== 0) {
|
|
198
|
+
process.exit(code);
|
|
199
|
+
}
|
|
200
|
+
break;
|
|
201
|
+
}
|
|
192
202
|
case "update": {
|
|
193
|
-
const { runUpdate } = await import("./update-
|
|
194
|
-
const code = runUpdate();
|
|
203
|
+
const { runUpdate } = await import("./update-OXDQ75M7.js");
|
|
204
|
+
const code = await runUpdate();
|
|
195
205
|
if (code !== 0) {
|
|
196
206
|
process.exit(code);
|
|
197
207
|
}
|
|
@@ -203,7 +213,7 @@ async function runCli(options) {
|
|
|
203
213
|
if (!configExists) {
|
|
204
214
|
await runNetworkSetup(mode);
|
|
205
215
|
}
|
|
206
|
-
const { runServe } = await import("./serve-
|
|
216
|
+
const { runServe } = await import("./serve-MXKMKZYY.js");
|
|
207
217
|
const serveOptions = { mode };
|
|
208
218
|
if (values.port) serveOptions.port = parseInt(values.port);
|
|
209
219
|
if (values["no-browser"] === true) serveOptions.openBrowser = false;
|
|
@@ -215,4 +225,4 @@ async function runCli(options) {
|
|
|
215
225
|
export {
|
|
216
226
|
runCli
|
|
217
227
|
};
|
|
218
|
-
//# sourceMappingURL=chunk-
|
|
228
|
+
//# sourceMappingURL=chunk-HHUIXHHX.js.map
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import {
|
|
2
|
-
PathAccessDeniedError,
|
|
3
2
|
createAssemblyResult,
|
|
4
3
|
findAgentById,
|
|
5
4
|
getAllInstructions,
|
|
@@ -10,7 +9,7 @@ import {
|
|
|
10
9
|
loadAllAgentsDefault,
|
|
11
10
|
processEventsForConversation,
|
|
12
11
|
runTopLevelAgentLoop
|
|
13
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-D6CI2B7B.js";
|
|
14
13
|
import {
|
|
15
14
|
TurnMetrics,
|
|
16
15
|
buildAgentReminder,
|
|
@@ -18,13 +17,16 @@ import {
|
|
|
18
17
|
buildTopLevelSystemPrompt,
|
|
19
18
|
createChatDoneEvent,
|
|
20
19
|
createMessageStartEvent
|
|
21
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-7772ENZN.js";
|
|
21
|
+
import {
|
|
22
|
+
PathAccessDeniedError
|
|
23
|
+
} from "./chunk-46RORSKU.js";
|
|
22
24
|
import {
|
|
23
25
|
getCurrentContextWindowId,
|
|
24
26
|
getCurrentWindowMessageOptions,
|
|
25
27
|
getEventStore,
|
|
26
28
|
getRuntimeConfig
|
|
27
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-NGJ5XJ7D.js";
|
|
28
30
|
import {
|
|
29
31
|
buildSnapshotFromSessionState
|
|
30
32
|
} from "./chunk-DJASQ2ZB.js";
|
|
@@ -64,7 +66,7 @@ function resolveAgentDef(sessionManager, sessionId) {
|
|
|
64
66
|
}
|
|
65
67
|
async function buildCachedPrompt(sessionManager, sessionId, agentDef) {
|
|
66
68
|
const { instructionContent, skills } = await loadSessionContext(sessionManager, sessionId);
|
|
67
|
-
const { getToolRegistryForAgent: getToolRegistryForAgent2 } = await import("./tools-
|
|
69
|
+
const { getToolRegistryForAgent: getToolRegistryForAgent2 } = await import("./tools-JRCUWPJO.js");
|
|
68
70
|
const tools = getToolRegistryForAgent2(agentDef).definitions;
|
|
69
71
|
const toolFingerprint = getToolFingerprint(tools);
|
|
70
72
|
const allAgents = await loadAllAgentsDefault();
|
|
@@ -77,7 +79,7 @@ async function buildCachedPrompt(sessionManager, sessionId, agentDef) {
|
|
|
77
79
|
async function computeSessionHash(sessionManager, sessionId) {
|
|
78
80
|
const { instructionContent, skills } = await loadSessionContext(sessionManager, sessionId);
|
|
79
81
|
const agentDef = await resolveAgentDef(sessionManager, sessionId);
|
|
80
|
-
const { getToolRegistryForAgent: getToolRegistryForAgent2 } = await import("./tools-
|
|
82
|
+
const { getToolRegistryForAgent: getToolRegistryForAgent2 } = await import("./tools-JRCUWPJO.js");
|
|
81
83
|
const tools = getToolRegistryForAgent2(agentDef).definitions;
|
|
82
84
|
const toolFingerprint = getToolFingerprint(tools);
|
|
83
85
|
return computeDynamicContextHash(instructionContent, skills, toolFingerprint);
|
|
@@ -95,7 +97,7 @@ async function applyDynamicContext(sessionManager, sessionId) {
|
|
|
95
97
|
|
|
96
98
|
// src/server/chat/orchestrator.ts
|
|
97
99
|
async function buildRetryPatterns() {
|
|
98
|
-
const { getSetting, SETTINGS_KEYS } = await import("./settings-
|
|
100
|
+
const { getSetting, SETTINGS_KEYS } = await import("./settings-7XDMSPIC.js");
|
|
99
101
|
const raw = getSetting(SETTINGS_KEYS.RETRY_PATTERNS);
|
|
100
102
|
if (!raw) {
|
|
101
103
|
const oldXmlProtection = getSetting("llm.disableXmlProtection");
|
|
@@ -357,4 +359,4 @@ export {
|
|
|
357
359
|
runChatTurn,
|
|
358
360
|
runAgentTurn
|
|
359
361
|
};
|
|
360
|
-
//# sourceMappingURL=chunk-
|
|
362
|
+
//# sourceMappingURL=chunk-HLHGNHMV.js.map
|