research-agent-ui 0.1.180 → 0.1.182

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/config.cjs CHANGED
@@ -1 +1 @@
1
- Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});var e={appName:`QwkSearch`,defaultSummarizePrompt:`Summarize in bullet points and bold topics`,maxArticleLength:1500,downloadChromeUrl:`https://chromewebstore.google.com/detail/tab-manager-ai/manhemnhmipdhdpabojcplebckhckeko`,downloadWindowsStoreId:`9PCGF9GNK460`,footerLinks:[],googleApiKey:``,googleAppId:``,getAutoMediaSearch:()=>!0,appIconUrl:`/apple-touch-icon.png`};function t(t){Object.assign(e,t)}exports.configureResearchAgentUI=t,exports.researchAgentUIConfig=e;
1
+ Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});var e={appName:`QwkSearch`,defaultSummarizePrompt:`Summarize in bullet points and bold topics`,maxArticleLength:1500,downloadChromeUrl:`https://chromewebstore.google.com/detail/tab-manager-ai/manhemnhmipdhdpabojcplebckhckeko`,downloadWindowsStoreId:`9PCGF9GNK460`,footerLinks:[],googleApiKey:``,googleAppId:``,getAutoMediaSearch:()=>!0,appIconUrl:`/apple-touch-icon.png`,trendingNewsApiUrl:`/api/news/trending`};function t(t){Object.assign(e,t)}exports.configureResearchAgentUI=t,exports.researchAgentUIConfig=e;
package/dist/config.d.ts CHANGED
@@ -62,6 +62,15 @@ export interface ResearchAgentUIConfig {
62
62
  * that a host with different branding can point at its own file.
63
63
  */
64
64
  appIconUrl: string;
65
+ /**
66
+ * Endpoint serving the trending-news wire format (Wikipedia's daily ranking
67
+ * joined to headlines) for the homepage widget. Defaults to this app's own
68
+ * `/api/news/trending` route, which keeps the News API key server-side; a
69
+ * host without that route — the desktop app, the extension — should point
70
+ * this at an absolute URL, and the user's `trendingNewsApiUrl` setting
71
+ * overrides it either way.
72
+ */
73
+ trendingNewsApiUrl: string;
65
74
  /**
66
75
  * Requests that the settings UI be opened. Lets the consuming app render
67
76
  * settings in a modal (e.g. on large desktop screens) instead of navigating
package/dist/config.mjs CHANGED
@@ -9,7 +9,8 @@ var e = {
9
9
  googleApiKey: "",
10
10
  googleAppId: "",
11
11
  getAutoMediaSearch: () => !0,
12
- appIconUrl: "/apple-touch-icon.png"
12
+ appIconUrl: "/apple-touch-icon.png",
13
+ trendingNewsApiUrl: "/api/news/trending"
13
14
  };
14
15
  function t(t) {
15
16
  Object.assign(e, t);
package/dist/index.cjs CHANGED
@@ -1 +1 @@
1
- "use client";"use client";Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("./config.cjs"),t=require("./src-CN4cZlu5.cjs");exports.ARTICLE_TOOLBAR_SHORTCUTS=t.S,exports.ArticleAIResponse=t.y,exports.ArticleActionButtons=t.C,exports.ArticleContent=t._,exports.ArticleFollowupQuestions=t.b,exports.ArticlePanelHeader=t.T,exports.ArticlePromptInput=t.x,exports.CategoryDock=t.o,exports.ChatInputBox=t.E,exports.ChatProvider=t.D,exports.ChatWindow=t.f,exports.CookieConsent=t.a,exports.ExtractPanelProvider=t.N,exports.HistoryDialogs=t.m,exports.HistoryDropdown=t.p,exports.KokoroVoiceSelector=t.u,exports.LexicalArticleViewer=t.v,exports.MainViewProvider=t.s,exports.QwkSearchApp=t.n,exports.QwkSearchProviders=t.r,exports.SessionProvider=t.O,exports.UnifiedMarkdown=t.g,exports.VoiceSettingsPanel=t.l,exports.cn=t.F,exports.configureResearchAgentUI=e.configureResearchAgentUI,exports.formatMessageTime=t.I,exports.formatTimeDifference=t.L,exports.formatToolbarShortcut=t.w,exports.researchAgentUIConfig=e.researchAgentUIConfig,exports.useChat=t.A,exports.useChatState=t.j,exports.useChatTabs=t.t,exports.useChunkErrorReload=t.i,exports.useExtractPanel=t.P,exports.useHistoryState=t.h,exports.useKokoroTTS=t.d,exports.useMainView=t.c,exports.useSession=t.k,exports.useTextToSpeech=t.M;
1
+ "use client";"use client";Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("./config.cjs"),t=require("./src-BUHtMSzA.cjs");exports.ARTICLE_TOOLBAR_SHORTCUTS=t.S,exports.ArticleAIResponse=t.y,exports.ArticleActionButtons=t.C,exports.ArticleContent=t._,exports.ArticleFollowupQuestions=t.b,exports.ArticlePanelHeader=t.T,exports.ArticlePromptInput=t.x,exports.CategoryDock=t.o,exports.ChatInputBox=t.E,exports.ChatProvider=t.D,exports.ChatWindow=t.f,exports.CookieConsent=t.a,exports.ExtractPanelProvider=t.N,exports.HistoryDialogs=t.m,exports.HistoryDropdown=t.p,exports.KokoroVoiceSelector=t.u,exports.LexicalArticleViewer=t.v,exports.MainViewProvider=t.s,exports.QwkSearchApp=t.n,exports.QwkSearchProviders=t.r,exports.SessionProvider=t.O,exports.UnifiedMarkdown=t.g,exports.VoiceSettingsPanel=t.l,exports.cn=t.F,exports.configureResearchAgentUI=e.configureResearchAgentUI,exports.formatMessageTime=t.I,exports.formatTimeDifference=t.L,exports.formatToolbarShortcut=t.w,exports.researchAgentUIConfig=e.researchAgentUIConfig,exports.useChat=t.A,exports.useChatState=t.j,exports.useChatTabs=t.t,exports.useChunkErrorReload=t.i,exports.useExtractPanel=t.P,exports.useHistoryState=t.h,exports.useKokoroTTS=t.d,exports.useMainView=t.c,exports.useSession=t.k,exports.useTextToSpeech=t.M;
package/dist/index.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  "use client";
2
2
  "use client";
3
3
  import { configureResearchAgentUI as e, researchAgentUIConfig as t } from "./config.mjs";
4
- import { A as n, C as r, D as i, E as a, F as o, I as s, L as c, M as l, N as u, O as d, P as f, S as p, T as m, _ as h, a as g, b as _, c as v, d as y, f as b, g as x, h as S, i as C, j as w, k as T, l as E, m as D, n as O, o as k, p as A, r as j, s as M, t as N, u as P, v as F, w as I, x as L, y as R } from "./src-BuEkLyKY.js";
4
+ import { A as n, C as r, D as i, E as a, F as o, I as s, L as c, M as l, N as u, O as d, P as f, S as p, T as m, _ as h, a as g, b as _, c as v, d as y, f as b, g as x, h as S, i as C, j as w, k as T, l as E, m as D, n as O, o as k, p as A, r as j, s as M, t as N, u as P, v as F, w as I, x as L, y as R } from "./src-D8DnvCuO.js";
5
5
  export { p as ARTICLE_TOOLBAR_SHORTCUTS, R as ArticleAIResponse, r as ArticleActionButtons, h as ArticleContent, _ as ArticleFollowupQuestions, m as ArticlePanelHeader, L as ArticlePromptInput, k as CategoryDock, a as ChatInputBox, i as ChatProvider, b as ChatWindow, g as CookieConsent, u as ExtractPanelProvider, D as HistoryDialogs, A as HistoryDropdown, P as KokoroVoiceSelector, F as LexicalArticleViewer, M as MainViewProvider, O as QwkSearchApp, j as QwkSearchProviders, d as SessionProvider, x as UnifiedMarkdown, E as VoiceSettingsPanel, o as cn, e as configureResearchAgentUI, s as formatMessageTime, c as formatTimeDifference, I as formatToolbarShortcut, t as researchAgentUIConfig, n as useChat, w as useChatState, N as useChatTabs, C as useChunkErrorReload, f as useExtractPanel, S as useHistoryState, y as useKokoroTTS, v as useMainView, T as useSession, l as useTextToSpeech };