research-agent-ui 0.1.50 → 0.1.52
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/cloudflare/worker.d.ts +17 -0
- package/dist/index.cjs +13 -13
- package/dist/index.mjs +1383 -1368
- package/dist/lib/kokoro.d.ts +3 -2
- package/package.json +13 -7
package/dist/lib/kokoro.d.ts
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
type DeviceMode = 'wasm' | 'webgpu';
|
|
2
2
|
type DType = 'fp32' | 'fp16' | 'q8' | 'q4' | 'q4f16';
|
|
3
|
-
|
|
3
|
+
interface Backend {
|
|
4
4
|
device: DeviceMode;
|
|
5
5
|
dtype: DType;
|
|
6
|
-
}
|
|
6
|
+
}
|
|
7
|
+
export declare function getRecommendedBackend(): Backend;
|
|
7
8
|
export declare function preloadKokoro(): Promise<any>;
|
|
8
9
|
export declare function getKokoro(): Promise<any>;
|
|
9
10
|
export declare function getVoiceList(): Promise<string[]>;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "research-agent-ui",
|
|
3
3
|
"description": "Chat research agent UI: conversation window, article reader, search config, file uploads, and chat history",
|
|
4
|
-
"version": "0.1.
|
|
4
|
+
"version": "0.1.52",
|
|
5
5
|
"author": "vtempest",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
@@ -36,6 +36,9 @@
|
|
|
36
36
|
"sideEffects": false,
|
|
37
37
|
"scripts": {
|
|
38
38
|
"build": "vite build && (tsc --project tsconfig.build.json || true)",
|
|
39
|
+
"build:cloudflare": "tsc src/cloudflare/worker.ts --outDir dist/cloudflare --declaration --module esnext --target esnext --lib esnext --moduleResolution node",
|
|
40
|
+
"dev:cloudflare": "npm run build:cloudflare && wrangler dev --config wrangler.local.jsonc",
|
|
41
|
+
"deploy:cloudflare": "npm run build:cloudflare && wrangler deploy --config wrangler.local.jsonc",
|
|
39
42
|
"type-check": "tsc --noEmit",
|
|
40
43
|
"prepublishOnly": "bun run build"
|
|
41
44
|
},
|
|
@@ -60,19 +63,19 @@
|
|
|
60
63
|
"@radix-ui/react-slot": "^1.2.5",
|
|
61
64
|
"@radix-ui/react-tooltip": "^1.2.9",
|
|
62
65
|
"@ricky0123/vad-web": "^0.0.30",
|
|
63
|
-
"chat-agent-toolkit": "^1.2.
|
|
64
|
-
"domain-rank": "^0.1.
|
|
66
|
+
"chat-agent-toolkit": "^1.2.74",
|
|
67
|
+
"domain-rank": "^0.1.63",
|
|
65
68
|
"drizzle-orm": "^0.45.2",
|
|
66
69
|
"fuse.js": "^7.1.0",
|
|
67
70
|
"class-variance-authority": "^0.7.1",
|
|
68
71
|
"clsx": "^2.1.1",
|
|
69
72
|
"dompurify": "^3.4.9",
|
|
70
|
-
"extract-webpage": "^1.2.
|
|
71
|
-
"search-web-api": "^1.0.
|
|
73
|
+
"extract-webpage": "^1.2.75",
|
|
74
|
+
"search-web-api": "^1.0.34",
|
|
72
75
|
"framer-motion": "^12.40.0",
|
|
73
76
|
"grab-url": "^1.6.22",
|
|
74
77
|
"kokoro-js": "^1.2.1",
|
|
75
|
-
"qwksearch-api-client": "^0.9.
|
|
78
|
+
"qwksearch-api-client": "^0.9.23",
|
|
76
79
|
"html2canvas": "^1.4.1",
|
|
77
80
|
"lucide-react": "^1.17.0",
|
|
78
81
|
"markdown-to-jsx": "^9.8.2",
|
|
@@ -86,15 +89,18 @@
|
|
|
86
89
|
"turndown": "^7.2.4"
|
|
87
90
|
},
|
|
88
91
|
"devDependencies": {
|
|
92
|
+
"@cloudflare/workers-types": "^4.20250115.0",
|
|
89
93
|
"@types/react": "^19.0.0",
|
|
90
94
|
"@types/react-dom": "^19.0.0",
|
|
91
95
|
"@types/turndown": "^5.0.5",
|
|
92
96
|
"@vitejs/plugin-react": "^6.0.3",
|
|
97
|
+
"itty-router": "^5.0.24",
|
|
93
98
|
"next": "^16.2.10",
|
|
94
99
|
"react": "^19.2.7",
|
|
95
100
|
"react-dom": "^19.2.7",
|
|
96
101
|
"typescript": "^5.7.2",
|
|
97
|
-
"vite": "^8.1.3"
|
|
102
|
+
"vite": "^8.1.3",
|
|
103
|
+
"wrangler": "^3.88.0"
|
|
98
104
|
},
|
|
99
105
|
"license": "rights.institute/PROSPER"
|
|
100
106
|
}
|