research-agent-ui 0.1.260 → 0.1.262

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`,trendingNewsApiUrl:`/api/news/trending`};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`,trendingNewsSettingsUrl:`/api/news/settings`};function t(t){Object.assign(e,t)}exports.configureResearchAgentUI=t,exports.researchAgentUIConfig=e;
package/dist/config.d.ts CHANGED
@@ -71,6 +71,14 @@ export interface ResearchAgentUIConfig {
71
71
  * overrides it either way.
72
72
  */
73
73
  trendingNewsApiUrl: string;
74
+ /**
75
+ * Endpoint serving the host app's site-wide news-widget settings (whether
76
+ * the widget is on, how many topics it shows, whether a user's own topic
77
+ * list counts). Defaults to this app's `/api/news/settings`. Set it to an
78
+ * empty string on a host that has no such route — the widget then follows
79
+ * the local settings alone.
80
+ */
81
+ trendingNewsSettingsUrl: string;
74
82
  /**
75
83
  * Requests that the settings UI be opened. Lets the consuming app render
76
84
  * settings in a modal (e.g. on large desktop screens) instead of navigating
package/dist/config.mjs CHANGED
@@ -10,7 +10,8 @@ var e = {
10
10
  googleAppId: "",
11
11
  getAutoMediaSearch: () => !0,
12
12
  appIconUrl: "/apple-touch-icon.png",
13
- trendingNewsApiUrl: "/api/news/trending"
13
+ trendingNewsApiUrl: "/api/news/trending",
14
+ trendingNewsSettingsUrl: "/api/news/settings"
14
15
  };
15
16
  function t(t) {
16
17
  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-C8k2m66R.cjs");exports.ARTICLE_TOOLBAR_SHORTCUTS=t.O,exports.ArticleAIResponse=t.T,exports.ArticleActionButtons=t.k,exports.ArticleContent=t.C,exports.ArticleFollowupQuestions=t.E,exports.ArticlePanelHeader=t.j,exports.ArticlePromptInput=t.D,exports.CategoryDock=t.o,exports.ChatInputBox=t.M,exports.ChatProvider=t.N,exports.ChatWindow=t.v,exports.CookieConsent=t.a,exports.ExtractPanelProvider=t.z,exports.HistoryDialogs=t.b,exports.HistoryDropdown=t.y,exports.KokoroVoiceSelector=t.c,exports.LexicalArticleViewer=t.w,exports.MainViewProvider=t.g,exports.QwkSearchApp=t.n,exports.QwkSearchProviders=t.r,exports.SPOTLIGHT_LINKS=t.h,exports.SPOTLIGHT_PREFIXES=t.f,exports.SessionProvider=t.P,exports.SpotlightPalette=t.u,exports.UnifiedMarkdown=t.S,exports.VoiceSettingsPanel=t.s,exports.cn=t.V,exports.configureResearchAgentUI=e.configureResearchAgentUI,exports.formatMessageTime=t.H,exports.formatTimeDifference=t.U,exports.formatToolbarShortcut=t.A,exports.matchSpotlight=t.p,exports.openSpotlight=t.d,exports.parsePrefix=t.m,exports.researchAgentUIConfig=e.researchAgentUIConfig,exports.useChat=t.I,exports.useChatState=t.L,exports.useChatTabs=t.t,exports.useChunkErrorReload=t.i,exports.useExtractPanel=t.B,exports.useHistoryState=t.x,exports.useKokoroTTS=t.l,exports.useMainView=t._,exports.useSession=t.F,exports.useTextToSpeech=t.R;
1
+ "use client";"use client";Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("./config.cjs"),t=require("./src-CuxqmQKW.cjs");exports.ARTICLE_TOOLBAR_SHORTCUTS=t.O,exports.ArticleAIResponse=t.T,exports.ArticleActionButtons=t.k,exports.ArticleContent=t.C,exports.ArticleFollowupQuestions=t.E,exports.ArticlePanelHeader=t.j,exports.ArticlePromptInput=t.D,exports.CategoryDock=t.o,exports.ChatInputBox=t.M,exports.ChatProvider=t.N,exports.ChatWindow=t.v,exports.CookieConsent=t.a,exports.ExtractPanelProvider=t.z,exports.HistoryDialogs=t.b,exports.HistoryDropdown=t.y,exports.KokoroVoiceSelector=t.c,exports.LexicalArticleViewer=t.w,exports.MainViewProvider=t.g,exports.QwkSearchApp=t.n,exports.QwkSearchProviders=t.r,exports.SPOTLIGHT_LINKS=t.h,exports.SPOTLIGHT_PREFIXES=t.f,exports.SessionProvider=t.P,exports.SpotlightPalette=t.u,exports.UnifiedMarkdown=t.S,exports.VoiceSettingsPanel=t.s,exports.cn=t.V,exports.configureResearchAgentUI=e.configureResearchAgentUI,exports.formatMessageTime=t.H,exports.formatTimeDifference=t.U,exports.formatToolbarShortcut=t.A,exports.matchSpotlight=t.p,exports.openSpotlight=t.d,exports.parsePrefix=t.m,exports.researchAgentUIConfig=e.researchAgentUIConfig,exports.useChat=t.I,exports.useChatState=t.L,exports.useChatTabs=t.t,exports.useChunkErrorReload=t.i,exports.useExtractPanel=t.B,exports.useHistoryState=t.x,exports.useKokoroTTS=t.l,exports.useMainView=t._,exports.useSession=t.F,exports.useTextToSpeech=t.R;
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, B as r, C as i, D as a, E as o, F as s, H as c, I as l, L as u, M as d, N as f, O as p, P as m, R as h, S as g, T as _, U as v, V as y, _ as b, a as x, b as S, c as C, d as w, f as T, g as E, h as D, i as O, j as k, k as A, l as j, m as M, n as N, o as P, p as F, r as I, s as L, t as R, u as z, v as B, w as V, x as H, y as U, z as W } from "./src-bkq29w_T.js";
4
+ import { A as n, B as r, C as i, D as a, E as o, F as s, H as c, I as l, L as u, M as d, N as f, O as p, P as m, R as h, S as g, T as _, U as v, V as y, _ as b, a as x, b as S, c as C, d as w, f as T, g as E, h as D, i as O, j as k, k as A, l as j, m as M, n as N, o as P, p as F, r as I, s as L, t as R, u as z, v as B, w as V, x as H, y as U, z as W } from "./src-DER-QylP.js";
5
5
  export { p as ARTICLE_TOOLBAR_SHORTCUTS, _ as ArticleAIResponse, A as ArticleActionButtons, i as ArticleContent, o as ArticleFollowupQuestions, k as ArticlePanelHeader, a as ArticlePromptInput, P as CategoryDock, d as ChatInputBox, f as ChatProvider, B as ChatWindow, x as CookieConsent, W as ExtractPanelProvider, S as HistoryDialogs, U as HistoryDropdown, C as KokoroVoiceSelector, V as LexicalArticleViewer, E as MainViewProvider, N as QwkSearchApp, I as QwkSearchProviders, D as SPOTLIGHT_LINKS, T as SPOTLIGHT_PREFIXES, m as SessionProvider, z as SpotlightPalette, g as UnifiedMarkdown, L as VoiceSettingsPanel, y as cn, e as configureResearchAgentUI, c as formatMessageTime, v as formatTimeDifference, n as formatToolbarShortcut, F as matchSpotlight, w as openSpotlight, M as parsePrefix, t as researchAgentUIConfig, l as useChat, u as useChatState, R as useChatTabs, O as useChunkErrorReload, r as useExtractPanel, H as useHistoryState, j as useKokoroTTS, b as useMainView, s as useSession, h as useTextToSpeech };