openfox 1.6.52 → 1.6.53
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-43QXHIOZ.js → auto-compaction-NVHM75BN.js} +4 -4
- package/dist/{chat-handler-UMXEBSMS.js → chat-handler-DERM2S6L.js} +9 -11
- package/dist/{chunk-PLIGDCWB.js → chunk-4MSEK56X.js} +2 -2
- package/dist/{chunk-HQSCGJ6V.js → chunk-5STJLSGO.js} +2 -26
- package/dist/{chunk-XKI3OYFD.js → chunk-AFIVZZJN.js} +2 -2
- package/dist/{chunk-H5ZZGLQU.js → chunk-CTAIXOZJ.js} +1 -1
- package/dist/{chunk-NVWJC2YZ.js → chunk-DAUVWS5W.js} +3 -5
- package/dist/{chunk-BMNBXLFY.js → chunk-JLMCJLTK.js} +95 -524
- package/dist/{chunk-OPT4YF7X.js → chunk-XRPGQKBM.js} +38 -3
- package/dist/cli/dev.js +1 -1
- package/dist/cli/index.js +1 -1
- package/dist/{orchestrator-JSLETK3F.js → orchestrator-FX6SZX4J.js} +5 -5
- package/dist/package.json +4 -3
- package/dist/{processor-Q4NS4MID.js → processor-AS6JXF4U.js} +7 -9
- package/dist/{protocol-BWFqvGie.d.ts → protocol-Cmn48nDH.d.ts} +2 -25
- package/dist/{protocol-GG65P3FF.js → protocol-WHHYESPI.js} +3 -15
- package/dist/{serve-HPBQJTEZ.js → serve-W3EZMXAC.js} +6 -7
- package/dist/server/index.d.ts +1 -1
- package/dist/server/index.js +5 -6
- package/dist/shared/index.d.ts +2 -2
- package/dist/shared/index.js +1 -1
- package/dist/{tools-DTNPLRKJ.js → tools-SJN7IGVF.js} +4 -4
- package/dist/web/assets/{index-CugBax2x.js → index-Bet4PbsC.js} +46 -46
- package/dist/web/index.html +1 -1
- package/dist/web/sw.js +1 -1
- package/package.json +4 -3
- package/dist/chunk-2L4DPLCM.js +0 -44
package/dist/web/index.html
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
<link rel="icon" type="image/png" href="/assets/openfox.png" />
|
|
6
6
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, height=device-height" />
|
|
7
7
|
<title>OpenFox</title>
|
|
8
|
-
<script type="module" crossorigin src="/assets/index-
|
|
8
|
+
<script type="module" crossorigin src="/assets/index-Bet4PbsC.js"></script>
|
|
9
9
|
<link rel="stylesheet" crossorigin href="/assets/index-BKpOPPkC.css">
|
|
10
10
|
<link rel="manifest" href="/manifest.webmanifest"><script id="vite-plugin-pwa:register-sw" src="/registerSW.js"></script></head>
|
|
11
11
|
<body class="bg-bg-primary text-text-primary font-mono">
|
package/dist/web/sw.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
if(!self.define){let e,s={};const i=(i,n)=>(i=new URL(i+".js",n).href,s[i]||new Promise(s=>{if("document"in self){const e=document.createElement("script");e.src=i,e.onload=s,document.head.appendChild(e)}else e=i,importScripts(i),s()}).then(()=>{let e=s[i];if(!e)throw new Error(`Module ${i} didn’t register its module`);return e}));self.define=(n,r)=>{const t=e||("document"in self?document.currentScript.src:"")||location.href;if(s[t])return;let o={};const l=e=>i(e,t),
|
|
1
|
+
if(!self.define){let e,s={};const i=(i,n)=>(i=new URL(i+".js",n).href,s[i]||new Promise(s=>{if("document"in self){const e=document.createElement("script");e.src=i,e.onload=s,document.head.appendChild(e)}else e=i,importScripts(i),s()}).then(()=>{let e=s[i];if(!e)throw new Error(`Module ${i} didn’t register its module`);return e}));self.define=(n,r)=>{const t=e||("document"in self?document.currentScript.src:"")||location.href;if(s[t])return;let o={};const l=e=>i(e,t),c={module:{uri:t},exports:o,require:l};s[t]=Promise.all(n.map(e=>c[e]||l(e))).then(e=>(r(...e),o))}}define(["./workbox-8c29f6e4"],function(e){"use strict";self.skipWaiting(),e.clientsClaim(),e.precacheAndRoute([{url:"registerSW.js",revision:"1872c500de691dce40960bb85481de07"},{url:"index.html",revision:"f0cbb299c351b3a4bd255b38e5ba6a9e"},{url:"assets/index-Bet4PbsC.js",revision:null},{url:"assets/index-BKpOPPkC.css",revision:null},{url:"assets/html2canvas.esm-QH1iLAAe.js",revision:null},{url:"assets/openfox-192.png",revision:"79feeb86d692c274854e37959a7dae67"},{url:"assets/openfox-512.png",revision:"fee24b214220594b4f595a467e73036e"},{url:"manifest.webmanifest",revision:"c25f372c782e623ab1e768a8dfe350ca"}],{}),e.cleanupOutdatedCaches(),e.registerRoute(new e.NavigationRoute(e.createHandlerBoundToURL("index.html")))});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "openfox",
|
|
3
|
-
"version": "1.6.
|
|
3
|
+
"version": "1.6.53",
|
|
4
4
|
"description": "Local-LLM-first agentic coding assistant",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -52,8 +52,9 @@
|
|
|
52
52
|
"duplicate": "npm run duplicate:server && npm run duplicate:web",
|
|
53
53
|
"check": "npm run typecheck && npm run duplicate",
|
|
54
54
|
"clean": "rm -rf dist",
|
|
55
|
-
"prepublishOnly": "npm run build",
|
|
56
|
-
"prepare": "husky"
|
|
55
|
+
"prepublishOnly": "npm run build && npm run test:publish:e2e",
|
|
56
|
+
"prepare": "husky",
|
|
57
|
+
"test:publish:e2e": "tsx scripts/run-publish-e2e.ts"
|
|
57
58
|
},
|
|
58
59
|
"dependencies": {
|
|
59
60
|
"@clack/prompts": "^1.1.0",
|
package/dist/chunk-2L4DPLCM.js
DELETED
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
getEventStore
|
|
3
|
-
} from "./chunk-UQGY56XJ.js";
|
|
4
|
-
import {
|
|
5
|
-
createContextStateMessage
|
|
6
|
-
} from "./chunk-HQSCGJ6V.js";
|
|
7
|
-
|
|
8
|
-
// src/server/utils/session-utils.ts
|
|
9
|
-
function getSessionMessageCount(sessionId) {
|
|
10
|
-
const eventStore = getEventStore();
|
|
11
|
-
const events = eventStore.getEvents(sessionId);
|
|
12
|
-
let count = 0;
|
|
13
|
-
for (const event of events) {
|
|
14
|
-
if (event.type === "message.start") {
|
|
15
|
-
const data = event.data;
|
|
16
|
-
if (data.role === "user") {
|
|
17
|
-
count++;
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
return count;
|
|
22
|
-
}
|
|
23
|
-
function finalizeTurnCompletion(sessionId, sessionManager, broadcastForSession) {
|
|
24
|
-
sessionManager.setRunning(sessionId, false);
|
|
25
|
-
const contextState = sessionManager.getContextState(sessionId);
|
|
26
|
-
broadcastForSession(sessionId, createContextStateMessage(contextState));
|
|
27
|
-
}
|
|
28
|
-
function buildRunChatTurnParams(params) {
|
|
29
|
-
return {
|
|
30
|
-
sessionManager: params.sessionManager,
|
|
31
|
-
sessionId: params.sessionId,
|
|
32
|
-
llmClient: params.llmClient,
|
|
33
|
-
signal: params.signal,
|
|
34
|
-
onMessage: params.onMessage,
|
|
35
|
-
...params.statsIdentity ? { statsIdentity: params.statsIdentity } : {}
|
|
36
|
-
};
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
export {
|
|
40
|
-
getSessionMessageCount,
|
|
41
|
-
finalizeTurnCompletion,
|
|
42
|
-
buildRunChatTurnParams
|
|
43
|
-
};
|
|
44
|
-
//# sourceMappingURL=chunk-2L4DPLCM.js.map
|