@streamoid/agent 0.8.0-preview.940eccbd14cf → 0.8.1-preview.0cae4ef290a8

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/index.d.ts CHANGED
@@ -103,6 +103,8 @@ export interface AgentChatShellAdapters {
103
103
  theme: { mode: 'light' | 'dark' };
104
104
  config: {
105
105
  apiBase: string;
106
+ /** Smaller chat, form and composer text for compact host panels. */
107
+ textSize?: 'default' | 'small';
106
108
  hide?: {
107
109
  sidepane?: boolean;
108
110
  newBrief?: boolean;
package/dist/index.js CHANGED
@@ -144847,6 +144847,7 @@ function AgentChatShell({ adapters: e }) {
144847
144847
  {
144848
144848
  className: "sa-surface relative flex h-full w-full flex-col overflow-hidden bg-transparent text-[var(--alias-text---icons-primary)]",
144849
144849
  "data-theme": "Mode 1",
144850
+ "data-text-size": e.config.textSize ?? "default",
144850
144851
  children: /* @__PURE__ */ jsx(ChatNavigationProvider, { value: oe, children: /* @__PURE__ */ jsx(HostCanvasProvider, { value: e.canvas ?? null, children: /* @__PURE__ */ jsxs(AgentScopeProvider, { value: e.scope ?? null, children: [
144851
144852
  /* @__PURE__ */ jsx(AttentionToast, {}),
144852
144853
  De && /* @__PURE__ */ jsx(