research-agent-ui 0.1.293 → 0.1.294

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.
Files changed (54) hide show
  1. package/README.md +42 -1
  2. package/dist/ArticleExtractPanel-25tRTnpl.cjs +2 -0
  3. package/dist/ArticleExtractPanel-D_y16YHG.js +389 -0
  4. package/dist/ChatConversationThread-BIJ8aNug.js +1428 -0
  5. package/dist/ChatConversationThread-BoNH0wvs.cjs +17 -0
  6. package/dist/DownloadsDialog-CCPj0hA8.cjs +1 -0
  7. package/dist/{DownloadsDialog-bTEDe2DI.js → DownloadsDialog-DvS23Dh-.js} +8 -9
  8. package/dist/api/handlers/autocomplete.d.ts +6 -9
  9. package/dist/api/handlers/openai-transcription.d.ts +53 -0
  10. package/dist/api/handlers/transcript.d.ts +33 -0
  11. package/dist/api/index.d.ts +1 -0
  12. package/dist/api.cjs +10 -10
  13. package/dist/api.mjs +161 -208
  14. package/dist/app/index.d.ts +1 -1
  15. package/dist/app/useChunkErrorReload.d.ts +13 -2
  16. package/dist/components/ArticleReader/ArticleReaderMount.d.ts +5 -0
  17. package/dist/components/ArticleReader/ExtractPanelContext.d.ts +17 -1
  18. package/dist/components/ChatConversation/MessageBubble/AssistantMessageActions.d.ts +2 -1
  19. package/dist/components/ChatConversation/background-art.d.ts +3 -1
  20. package/dist/components/ChatConversation/background-cache.d.ts +41 -0
  21. package/dist/components/Footer.d.ts +5 -4
  22. package/dist/components/Footer.stories.d.ts +3 -3
  23. package/dist/config.cjs +1 -1
  24. package/dist/config.d.ts +9 -0
  25. package/dist/config.mjs +4 -3
  26. package/dist/dialog-7GDz0sWx.cjs +1 -0
  27. package/dist/dialog-Cufn2u50.js +80 -0
  28. package/dist/hooks/voice/useKokoroTTS.d.ts +2 -0
  29. package/dist/hooks/voice/useTextToVoice.d.ts +2 -1
  30. package/dist/index.cjs +1 -1
  31. package/dist/index.d.ts +5 -1
  32. package/dist/index.mjs +4 -2
  33. package/dist/lib/file-sources.d.ts +8 -0
  34. package/dist/lib/google-drive-source.d.ts +100 -0
  35. package/dist/lib/kokoro.d.ts +14 -2
  36. package/dist/lib/qwksearch-connect.d.ts +79 -0
  37. package/dist/settings/index.d.ts +15 -0
  38. package/dist/src-GPr1ceY8.js +6165 -0
  39. package/dist/src-ebmQu_if.cjs +34 -0
  40. package/dist/tooltip-Bl3IdX-I.js +179 -0
  41. package/dist/tooltip-DmUO6ZUz.cjs +1 -0
  42. package/dist/types/fileSource.d.ts +9 -0
  43. package/dist/workspace/QwkSearchWorkspaceApp.d.ts +9 -2
  44. package/dist/workspace/ResearchWorkspaceView.d.ts +18 -4
  45. package/dist/workspace.cjs +1 -1
  46. package/dist/workspace.d.ts +1 -1
  47. package/dist/workspace.mjs +234 -91
  48. package/package.json +54 -51
  49. package/src/app/useChunkErrorReload.ts +92 -0
  50. package/src/settings/index.ts +23 -0
  51. package/src/settings/search.json +19 -1
  52. package/dist/DownloadsDialog-Ca6aRRcP.cjs +0 -1
  53. package/dist/src-HL9JjPc-.js +0 -8218
  54. package/dist/src-r4BsCIB4.cjs +0 -51
@@ -94,12 +94,21 @@
94
94
  "rows": 14,
95
95
  "scope": "client"
96
96
  },
97
+ {
98
+ "name": "Query Expansion",
99
+ "key": "queryExpansionEnabled",
100
+ "type": "switch",
101
+ "required": false,
102
+ "description": "Have the AI rewrite your message into a standalone search query before searching. Helps with follow-up questions, but waits on an extra AI call before results appear. Off by default: your message is searched as typed.",
103
+ "default": false,
104
+ "scope": "client"
105
+ },
97
106
  {
98
107
  "name": "Query Expansion Prompt",
99
108
  "key": "queryExpansionPrompt",
100
109
  "type": "textarea",
101
110
  "required": false,
102
- "description": "Prompt that rewrites your message into a standalone web-search query before sources are fetched. Keep returning the query inside a <question> block, and any URLs inside a <links> block. Clear the box to restore the built-in prompt.",
111
+ "description": "Prompt that rewrites your message into a standalone web-search query before sources are fetched, when Query Expansion is on. Keep returning the query inside a <question> block, and any URLs inside a <links> block. Clear the box to restore the built-in prompt.",
103
112
  "placeholder": "Leave blank to use the built-in query expansion prompt.",
104
113
  "default": "",
105
114
  "rows": 14,
@@ -160,6 +169,15 @@
160
169
  "default": "5",
161
170
  "scope": "server"
162
171
  },
172
+ {
173
+ "name": "Show Education Playlists Widget",
174
+ "key": "showEducationPlaylistsWidget",
175
+ "type": "switch",
176
+ "required": false,
177
+ "description": "Show the Learn widget on the chat homepage: self-paced playlists of MIT OpenCourseWare lectures and courseware, sorted by category, major and program, plus an AI planner that builds a custom playlist.",
178
+ "default": true,
179
+ "scope": "client"
180
+ },
163
181
  {
164
182
  "name": "Show Weather Widget",
165
183
  "key": "showWeatherWidget",
@@ -1 +0,0 @@
1
- const e=require("./config.cjs"),t=require("./src-r4BsCIB4.cjs");let n=require("react/jsx-runtime"),r=require("react-native-app-buttons");function i({open:i,onOpenChange:a}){return(0,n.jsx)(t.z,{open:i,onOpenChange:a,children:(0,n.jsxs)(t.B,{className:`w-full max-w-md rounded-2xl bg-light-secondary dark:bg-dark-secondary border border-light-200 dark:border-dark-200 p-6 text-center align-middle shadow-xl`,children:[(0,n.jsx)(t.H,{className:`text-lg font-medium leading-6 dark:text-white`,children:`Download QwkSearch`}),(0,n.jsx)(t.V,{className:`text-sm dark:text-white/70 text-black/70 mt-2`,children:`Get QwkSearch on your browser or desktop.`}),(0,n.jsxs)(`div`,{className:`flex flex-wrap items-center justify-center gap-3 mt-6`,children:[(0,n.jsx)(r.DownloadAppButton,{platform:`chrome-extension`,href:e.researchAgentUIConfig.downloadChromeUrl,autoHighlight:!0}),(0,n.jsx)(r.DownloadAppButton,{platform:`windows`,appId:e.researchAgentUIConfig.downloadWindowsStoreId,autoHighlight:!0})]})]})})}exports.default=i;