The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
refactor: remove dead frontend code\n\n
Steven Enamakel6da30128f24d
diff --git a/app/knip.json b/app/knip.jsonindex fc50631c6c..f782c79d89 100644--- a/app/knip.json+++ b/app/knip.json@@ -1,12 +1,8 @@{"$schema": "https://unpkg.com/knip@6/schema.json","entry": [- "src/main.tsx","src/features/conversations/index.ts",- "vite.config.ts",- "test/vitest.config.ts","test/wdio.conf.ts",- "playwright.config.ts","test/e2e/specs/**/*.spec.ts","test/playwright/specs/**/*.spec.ts"],@@ -18,10 +14,14 @@"@wdio/local-runner","@wdio/mocha-framework","@wdio/spec-reporter",+ "@tailwindcss/forms",+ "@tailwindcss/typography","buffer","husky","os-browserify","process",+ "tailwindcss",+ "tw-animate-css","util"],"ignoreBinaries": ["open"]diff --git a/app/package.json b/app/package.jsonindex 6894efe8f6..43c51b556e 100644--- a/app/package.json+++ b/app/package.json@@ -80,12 +80,7 @@"@noble/curves": "^2.2.0","@noble/hashes": "^2.0.1","@noble/secp256k1": "^3.0.0",- "@radix-ui/react-avatar": "^1.2.6","@radix-ui/react-collapsible": "^1.1.20",- "@radix-ui/react-dialog": "^1.1.23",- "@radix-ui/react-popover": "^1.1.23",- "@radix-ui/react-slot": "^1.3.3",- "@radix-ui/react-tooltip": "^1.2.16","@reduxjs/toolkit": "^2.11.2","@rive-app/react-webgl2": "^4.28.6","@scure/base": "^2.2.0",@@ -131,7 +126,6 @@"three": "^0.183.2","tw-animate-css": "^1.4.0","util": "^0.12.5",- "zod": "4.3.6","zustand": "^5.0.15"},"devDependencies": {diff --git a/app/src/components/Announcement/AnnouncementModal.tsx b/app/src/components/Announcement/AnnouncementModal.tsxindex 2746e6be34..d501171ac6 100644--- a/app/src/components/Announcement/AnnouncementModal.tsx+++ b/app/src/components/Announcement/AnnouncementModal.tsx@@ -1,5 +1,6 @@import { useT } from '../../lib/i18n/I18nContext';import type { Announcement, AnnouncementSeverity } from '../../services/announcementService';+import Button from '../ui/Button';interface AnnouncementModalProps {announcement: Announcement;@@ -58,21 +59,18 @@ export default function AnnouncementModal({ announcement, onDismiss }: Announcem<p className="mt-2 whitespace-pre-wrap text-sm text-stone-300">{announcement.body}</p><div className="mt-6 flex justify-end gap-2">- <button- type="button"+ <Button+ variant="secondary"+ size="sm"onClick={onDismiss}data-testid="announcement-dismiss"- className="rounded-lg border border-stone-700 px-3 py-1.5 text-sm text-stone-300 hover:bg-stone-800 hover:text-white">+ className="border-stone-700 bg-transparent text-stone-300 hover:bg-stone-800 hover:text-white">{t('announcement.gotIt')}- </button>+ </Button>{announcement.cta && (- <button- type="button"- onClick={openCta}- data-testid="announcement-cta"- className="rounded-lg bg-primary-500 px-3 py-1.5 text-sm font-medium text-white hover:bg-primary-500/90">+ <Button size="sm" onClick={openCta} data-testid="announcement-cta">{announcement.cta.label}- </button>+ </Button>)}</div></div>diff --git a/app/src/components/OpenhumanLinkModal.tsx b/app/src/components/OpenhumanLinkModal.tsxindex a7457f3bc9..9eb19962c6 100644--- a/app/src/components/OpenhumanLinkModal.tsx+++ b/app/src/components/OpenhumanLinkModal.tsx@@ -34,6 +34,7 @@ import { isTauri } from '../utils/tauriCommands/common';import { ProviderIcon } from './accounts/providerIcons';import ChannelSetupModal from './channels/ChannelSetupModal';import Button from './ui/Button';+import ModalShell from './ui/ModalShell';interface OpenhumanLinkEvent {path: string;@@ -81,35 +82,13 @@ const OpenhumanLinkModal = () => {}return (- <div- className="fixed inset-0 z-50 flex items-center justify-center bg-black/40 p-4"- onClick={close}- role="dialog"- aria-modal="true">- <div- className="w-full max-w-md rounded-2xl bg-surface shadow-xl overflow-hidden"- onClick={e => e.stopPropagation()}>- <div className="flex items-center justify-between border-b border-line-subtle px-5 py-3">- <h2 className="text-sm font-semibold text-content">{titleForPath(activePath, t)}</h2>- <Button- iconOnly- variant="tertiary"- size="xs"- onClick={close}- aria-label={t('common.close')}>- <svg className="h-4 w-4" viewBox="0 0 24 24" fill="none" stroke="currentColor">- <path- strokeLinecap="round"- strokeLinejoin="round"- strokeWidth={2}- d="M6 6l12 12M6 18L18 6"- />- </svg>- </Button>- </div>- <div className="p-5">{renderBody(activePath, close)}</div>- </div>- </div>+ <ModalShell+ onClose={close}+ title={titleForPath(activePath, t)}+ titleId="openhuman-link-modal-title"+ contentClassName="p-5">+ {renderBody(activePath, close)}+ </ModalShell>);};diff --git a/app/src/components/accounts/AddAccountModal.tsx b/app/src/components/accounts/AddAccountModal.tsxdeleted file mode 100644index a52c329031..0000000000--- a/app/src/components/accounts/AddAccountModal.tsx+++ /dev/null@@ -1,86 +0,0 @@-import { useEffect, useRef } from 'react';--import { useEscapeKey } from '../../hooks/useEscapeKey';-import { useT } from '../../lib/i18n/I18nContext';-import { type AccountProvider, type ProviderDescriptor, PROVIDERS } from '../../types/accounts';-import { CloseIcon } from '../ui';-import Button from '../ui/Button';-import { ProviderIcon } from './providerIcons';--interface AddAccountModalProps {- open: boolean;- onClose: () => void;- onPick: (provider: ProviderDescriptor) => void;- /** Providers the user has already connected — filtered out of the picker. */- connectedProviders?: ReadonlySet<AccountProvider>;-}--const AddAccountModal = ({ open, onClose, onPick, connectedProviders }: AddAccountModalProps) => {- const { t } = useT();- const closeBtnRef = useRef<HTMLButtonElement | null>(null);-- useEscapeKey(onClose, open);-- useEffect(() => {- if (!open) return;- closeBtnRef.current?.focus();- }, [open]);- if (!open) return null;-- const available = connectedProviders- ? PROVIDERS.filter(p => !connectedProviders.has(p.id))- : PROVIDERS;-- return (- <div- data-testid="add-account-modal"- className="fixed inset-0 z-50 flex items-center justify-center bg-surface-overlay/40 backdrop-blur-sm"- role="dialog"- aria-modal="true"- aria-labelledby="add-account-modal-title"- onClick={onClose}>- <div- className="w-[420px] max-w-[90vw] rounded-2xl bg-surface p-6 shadow-large"- onClick={e => e.stopPropagation()}>- <div className="mb-4 flex items-center justify-between">- <h2 id="add-account-modal-title" className="text-lg font-semibold text-content">- {t('accounts.addModal.title')}- </h2>- <Button- ref={closeBtnRef}- iconOnly- variant="tertiary"- size="sm"- onClick={onClose}- data-analytics-id="add-account-modal-close"- aria-label={t('common.close')}>- <CloseIcon className="h-5 w-5" />- </Button>- </div>-- <div className="space-y-1">- {available.length === 0 ? (- <div className="rounded-lg border border-dashed border-line p-6 text-center text-sm text-content-muted">- {t('accounts.addModal.allConnected')}- </div>- ) : (- available.map(p => (- <button- key={p.id}- type="button"- data-analytics-id={`add-account-provider-${p.id}`}- data-testid={`add-account-provider-${p.id}`}- onClick={() => onPick(p)}- className="flex w-full items-center gap-3 rounded-lg px-3 py-2 text-left transition-colors hover:bg-surface-hover dark:bg-surface-muted dark:hover:bg-surface-muted/60">- <ProviderIcon provider={p.id} className="h-5 w-5 flex-none" />- <span className="text-sm font-medium text-content">{p.label}</span>- </button>- ))- )}- </div>- </div>- </div>- );-};--export default AddAccountModal;diff --git a/app/src/components/accounts/providerIcons.tsx b/app/src/components/accounts/providerIcons.tsxindex b66702b3a8..329a3e2c32 100644--- a/app/src/components/accounts/providerIcons.tsx+++ b/app/src/components/accounts/providerIcons.tsx@@ -35,10 +35,6 @@ const PROVIDER_COLOR: Record<AccountProvider, string> = {browserscan: '#6B7280',};-export const AgentIcon = ({ className }: { className?: string }) => (- <img src="/alpha.svg" alt="" className={className} draggable={false} />-);-export const ProviderIcon = ({provider,className,diff --git a/app/src/components/assistant-ui/dot-matrix.tsx b/app/src/components/assistant-ui/dot-matrix.tsxindex 934d37f9c6..4b3adc0c2f 100644--- a/app/src/components/assistant-ui/dot-matrix.tsx+++ b/app/src/components/assistant-ui/dot-matrix.tsx@@ -163,8 +163,6 @@ const STATES = {export type DotMatrixState = keyof typeof STATES;-const dotMatrixStates = Object.keys(STATES) as readonly DotMatrixState[];-export type DotMatrixProps = Omit<ComponentProps<'span'>, 'children'> & {state?: DotMatrixState;label?: string;@@ -227,4 +225,4 @@ function DotMatrix({ className, state = 'loading', label, ...props }: DotMatrixP);}-export { DotMatrix, dotMatrixStates };+export { DotMatrix };diff --git a/app/src/components/assistant-ui/model-selector.tsx b/app/src/components/assistant-ui/model-selector.tsxindex 5dccce2cda..766f39cab2 100644--- a/app/src/components/assistant-ui/model-selector.tsx+++ b/app/src/components/assistant-ui/model-selector.tsx@@ -68,19 +68,6 @@ function resolveEffort(return efforts?.some(e => e.id === effort) ? effort : undefined;}-/**- * Returns the effort id if the given model supports it, otherwise undefined.- * Effort selection is kept sticky across model switches; this resolves what- * actually applies to the current model.- */-export function resolveModelEffort(- models: readonly ModelOption[],- modelId: string | undefined,- effort: string | undefined-): string | undefined {- return resolveEffort(getModelEfforts(models.find(m => m.id === modelId)), effort);-}-function useControllableState<T>({prop,defaultProp,diff --git a/app/src/components/flows/canvas/nodeConfig/nodeConfigFields.tsx b/app/src/components/flows/canvas/nodeConfig/nodeConfigFields.tsxindex a6eb2040bc..7059fedc08 100644--- a/app/src/components/flows/canvas/nodeConfig/nodeConfigFields.tsx+++ b/app/src/components/flows/canvas/nodeConfig/nodeConfigFields.tsx@@ -34,10 +34,6 @@ import type { UpstreamExpressionOption } from './upstreamOptions';const log = createDebug('app:flows:nodeConfig:fields');-export const INPUT_CLASS =- 'w-full rounded-lg border border-line-strong bg-surface px-2.5 py-1.5 text-sm text-content ' +- 'placeholder-content-faint transition-colors focus:border-primary-500 focus:outline-hidden ' +- 'focus:ring-2 focus:ring-primary-500/20 disabled:opacity-50';export const MONO_CLASS = 'font-mono text-[13px]';/** Read a string field off a free-form config object, defaulting to `''`. */diff --git a/app/src/components/layout/shell/SidebarNav.test.tsx b/app/src/components/layout/shell/SidebarNav.test.tsxindex 29530c8af9..ebf1bfd1e8 100644--- a/app/src/components/layout/shell/SidebarNav.test.tsx+++ b/app/src/components/layout/shell/SidebarNav.test.tsx@@ -94,7 +94,6 @@ describe('SidebarNav active matching', () => {messages: {},unread: {},logs: {},- overlayOpen: false,},},});diff --git a/app/src/components/settings/panels/ai/ProviderConnectControls.tsx b/app/src/components/settings/panels/ai/ProviderConnectControls.tsxindex 51198a8295..9bf2ed3be3 100644--- a/app/src/components/settings/panels/ai/ProviderConnectControls.tsx+++ b/app/src/components/settings/panels/ai/ProviderConnectControls.tsx@@ -4,69 +4,16 @@*/import { Dialog as DialogPrimitive } from 'radix-ui';import { useState } from 'react';-import { LuCheck } from 'react-icons/lu';import { useT } from '../../../../lib/i18n/I18nContext';import { openUrl } from '../../../../utils/openUrl';-import Badge from '../../../ui/Badge';import Button from '../../../ui/Button';import { DialogContent, DialogRoot } from '../../../ui/Dialog';import Label from '../../../ui/Label';-import Switch from '../../../ui/Switch';import TextField from '../../../ui/TextField';import { builtinCloudProvider } from '../builtinCloudProviders';import { presentProviderSetupError, ProviderSetupErrorNotice } from '../ProviderSetupErrorNotice';-import {- defaultEndpointFor,- formatI18n,- KIMI_PLATFORM_URL,- providerToggleAriaLabel,- slugTone,-} from './aiPanelTypes';--export const ProviderToggleChip = ({- slug,- label,- enabled,- busy,- locked = false,- alwaysOn = false,- onToggle,-}: {- slug: string;- label: string;- enabled: boolean;- busy?: boolean;- locked?: boolean;- // When true the provider is permanently available (e.g. Managed) and renders- // a static "Always on" indicator instead of a toggle. A locked toggle reads- // as switchable-but-broken (#3760); a badge has no affordance to fight.- alwaysOn?: boolean;- onToggle?: () => void;-}) => {- const { t } = useT();- const tone = slugTone(slug);- return (- <div- className={`inline-flex items-center gap-2 rounded-full px-2.5 py-1 text-xs font-medium ring-1 transition-colors ${tone}`}>- <span>{label}</span>- {alwaysOn ? (- <Badge variant="success" className="gap-1 border-transparent bg-transparent">- <LuCheck className="h-3 w-3" />- {t('settings.ai.routing.managedAlwaysOn')}- </Badge>- ) : (- <Switch- id={`provider-toggle-${slug}`}- checked={enabled}- onCheckedChange={() => onToggle?.()}- disabled={busy || locked}- aria-label={providerToggleAriaLabel(t, enabled, label)}- />- )}- </div>- );-};+import { defaultEndpointFor, formatI18n, KIMI_PLATFORM_URL } from './aiPanelTypes';// Connect-provider dialog — shown when the user flips a provider toggle ON.//diff --git a/app/src/components/settings/panels/ai/ProviderSourceSelect.tsx b/app/src/components/settings/panels/ai/ProviderSourceSelect.tsxdeleted file mode 100644index 1a4d765d84..0000000000--- a/app/src/components/settings/panels/ai/ProviderSourceSelect.tsx+++ /dev/null@@ -1,81 +0,0 @@-import { SelectContent, SelectItem, SelectRoot, SelectTrigger, SelectValue } from '../../../ui';-import { type CloudProvider, type CustomDialogSource, slugTone } from './aiPanelTypes';-import { ProviderSwatch } from './ProviderListRow';--interface ProviderSourceSelectProps {- source: CustomDialogSource | null;- cloudProviders: CloudProvider[];- localAvailable: boolean;- localLabel: string;- claudeCodeEnabled: boolean;- claudeCodeLabel: string;- ariaLabel: string;- onChange: (source: CustomDialogSource) => void;-}--const encodeSource = (source: CustomDialogSource) =>- source.kind === 'cloud' ? `cloud:${source.providerSlug}` : source.kind;--/**- * Short, shared provider-source picker for routing forms. Cloud, local, and- * Claude Code sources carry different routing shapes, but expose one Select- * primitive to the user and one typed value to the caller.- */-export function ProviderSourceSelect({- source,- cloudProviders,- localAvailable,- localLabel,- claudeCodeEnabled,- claudeCodeLabel,- ariaLabel,- onChange,-}: ProviderSourceSelectProps) {- const claudeCodeVisible = claudeCodeEnabled || source?.kind === 'claude-code';-- return (- <SelectRoot- value={source ? encodeSource(source) : undefined}- onValueChange={value => {- if (value === 'local') onChange({ kind: 'local' });- else if (value === 'claude-code') onChange({ kind: 'claude-code' });- else if (value.startsWith('cloud:')) {- onChange({ kind: 'cloud', providerSlug: value.slice('cloud:'.length) });- }- }}>- <SelectTrigger aria-label={ariaLabel} className="w-full">- <SelectValue />- </SelectTrigger>- <SelectContent>- {cloudProviders.map(provider => (- <SelectItem key={provider.slug} value={`cloud:${provider.slug}`} className="py-2">- <ProviderSwatch- slug={provider.slug}- label={provider.label}- tone={slugTone(provider.slug)}- />- <span>{provider.label}</span>- </SelectItem>- ))}- {localAvailable && (- <SelectItem value="local" className="py-2">- <ProviderSwatch slug="ollama" label={localLabel} tone={slugTone('ollama')} />- <span>{localLabel}</span>- </SelectItem>- )}- {claudeCodeVisible && (- <SelectItem value="claude-code" className="py-2">- <ProviderSwatch- slug="claude-code"- label={claudeCodeLabel}- tone={slugTone('claude-code')}- />- <span>{claudeCodeLabel}</span>- </SelectItem>- )}- </SelectContent>- </SelectRoot>- );-}--export default ProviderSourceSelect;diff --git a/app/src/components/settings/panels/ai/aiPanelTypes.ts b/app/src/components/settings/panels/ai/aiPanelTypes.tsindex dbbce1df7c..4d85b93436 100644--- a/app/src/components/settings/panels/ai/aiPanelTypes.ts+++ b/app/src/components/settings/panels/ai/aiPanelTypes.ts@@ -335,10 +335,6 @@ export function providerToggleAriaLabel();}-export function humanizeModelId(id: string): string {- return id.replace(/[-_]/g, ' ').replace(/\b\w/g, c => c.toUpperCase());-}-export function appendTemperatureToProviderString(provider: string,temperature: number | nulldiff --git a/app/src/components/skills/SkillsExplorerTab.tsx b/app/src/components/skills/SkillsExplorerTab.tsxindex a40ce1903f..2293d05408 100644--- a/app/src/components/skills/SkillsExplorerTab.tsx+++ b/app/src/components/skills/SkillsExplorerTab.tsx@@ -155,101 +155,6 @@ interface SkillTileProps {onClick: () => void;}-export function SkillTile({ skill, onUninstall, onClick }: SkillTileProps) {- const { t } = useT();- const canUninstall = skill.scope === 'user';-- return (- <div- data-testid={`skill-explorer-tile-${skill.id}`}- role="button"- tabIndex={0}- onClick={onClick}- onKeyDown={e => {- if (e.key === 'Enter') onClick();- if (e.key === ' ' || e.key === 'Space') {- e.preventDefault();- onClick();- }- }}- className="group flex flex-col justify-between rounded-2xl border border-line bg-surface p-3 transition-colors cursor-pointer hover:bg-surface-hover">- <div className="min-w-0">- <div className="flex items-start justify-between gap-2">- <div className="flex h-9 w-9 shrink-0 items-center justify-center rounded-xl bg-surface-subtle">- <svg- className="h-5 w-5 text-content-muted"- fill="none"- viewBox="0 0 24 24"- stroke="currentColor"- strokeWidth={1.5}>- <path- strokeLinecap="round"- strokeLinejoin="round"- d="M9.813 15.904 9 18.75l-.813-2.846a4.5 4.5 0 0 0-3.09-3.09L2.25 12l2.846-.813a4.5 4.5 0 0 0 3.09-3.09L9 5.25l.813 2.846a4.5 4.5 0 0 0 3.09 3.09L15.75 12l-2.846.813a4.5 4.5 0 0 0-3.09 3.09ZM18.259 8.715 18 9.75l-.259-1.035a3.375 3.375 0 0 0-2.455-2.456L14.25 6l1.036-.259a3.375 3.375 0 0 0 2.455-2.456L18 2.25l.259 1.035a3.375 3.375 0 0 0 2.455 2.456L21.75 6l-1.036.259a3.375 3.375 0 0 0-2.455 2.456ZM16.894 20.567 16.5 21.75l-.394-1.183a2.25 2.25 0 0 0-1.423-1.423L13.5 18.75l1.183-.394a2.25 2.25 0 0 0 1.423-1.423l.394-1.183.394 1.183a2.25 2.25 0 0 0 1.423 1.423l1.183.394-1.183.394a2.25 2.25 0 0 0-1.423 1.423Z"- />- </svg>- </div>- <div className="flex items-center gap-1">- <SkillFormatBadge format={skill.sourceFormat} />- <SkillScopeBadge scope={skill.scope} />- </div>- </div>-- <h3 className="mt-2 line-clamp-1 text-sm font-semibold text-content">{skill.name}</h3>- <p className="mt-0.5 line-clamp-2 text-[11px] leading-relaxed text-content-muted">- {skill.description || t('skills.explorer.noDescription')}- </p>-- {skill.tags.length > 0 && (- <div className="mt-2 flex flex-wrap gap-1">- {skill.tags.slice(0, 3).map(tag => (- <span- key={tag}- className="rounded-full bg-surface-subtle px-1.5 py-0.5 text-[9px] font-medium text-content-muted">- {tag}- </span>- ))}- {skill.tags.length > 3 && (- <span className="rounded-full bg-surface-subtle px-1.5 py-0.5 text-[9px] font-medium text-content-faint">- +{skill.tags.length - 3}- </span>- )}- </div>- )}- </div>-- <div className="mt-3 flex items-center justify-between gap-2">- {skill.version && (- <span className="text-[10px] font-mono text-content-faint">v{skill.version}</span>- )}- {!skill.version && <span />}- {canUninstall && (- <Button- variant="secondary"- tone="danger"- size="xs"- data-testid={`skill-uninstall-${skill.id}`}- onClick={e => {- e.stopPropagation();- onUninstall();- }}- className="opacity-0 group-hover:opacity-100">- {t('skills.disconnect')}- </Button>- )}- </div>-- {skill.warnings.length > 0 && (- <div className="mt-2 rounded-lg border border-amber-200 dark:border-amber-500/30 bg-amber-50 dark:bg-amber-500/10 px-2 py-1.5">- <p className="text-[10px] font-medium text-amber-700 dark:text-amber-300">- {skill.warnings[0]}- </p>- </div>- )}- </div>- );-}-function InstalledSkillRow({ skill, onUninstall, onClick }: SkillTileProps) {const { t } = useT();return (@@ -333,100 +238,6 @@ interface CatalogTileProps {onClick: () => void;}-export function CatalogTile({- entry,- installed,- installing,- onInstall,- onClick,-}: CatalogTileProps) {- const { t } = useT();- return (- <div- data-testid={`registry-tile-${entry.id}`}- role="button"- tabIndex={0}- onClick={onClick}- onKeyDown={e => {- if (e.key === 'Enter') onClick();- if (e.key === ' ' || e.key === 'Space') {- e.preventDefault();- onClick();- }- }}- className={`group flex flex-col justify-between rounded-2xl border p-3 transition-colors cursor-pointer ${- installed- ? 'border-sage-300 bg-sage-50/60 dark:border-sage-500/30 dark:bg-sage-500/10'- : 'border-line bg-surface hover:bg-surface-hover'- }`}>- <div className="min-w-0">- <div className="flex items-start justify-between gap-2">- <div className="flex h-9 w-9 shrink-0 items-center justify-center rounded-xl bg-surface-subtle">- <svg- className="h-5 w-5 text-primary-500"- fill="none"- viewBox="0 0 24 24"- stroke="currentColor"- strokeWidth={1.5}>- <path- strokeLinecap="round"- strokeLinejoin="round"- d="M12 21v-8.25M15.75 21v-8.25M8.25 21v-8.25M3 9l9-6 9 6m-1.5 12V10.332A48.36 48.36 0 0 0 12 9.75c-2.551 0-5.056.2-7.5.582V21M3 21h18M12 6.75h.008v.008H12V6.75Z"- />- </svg>- </div>- <div className="flex items-center gap-1">- <SourceBadge source={entry.source} />- </div>- </div>-- <h3 className="mt-2 line-clamp-1 text-sm font-semibold text-content">{entry.name}</h3>- <p className="mt-0.5 line-clamp-2 text-[11px] leading-relaxed text-content-muted">- {entry.description}- </p>-- {entry.tags.length > 0 && (- <div className="mt-2 flex flex-wrap gap-1">- {entry.tags.slice(0, 3).map(tag => (- <span- key={tag}- className="rounded-full bg-surface-subtle px-1.5 py-0.5 text-[9px] font-medium text-content-muted">- {tag}- </span>- ))}- </div>- )}- </div>-- <div className="mt-3 flex items-center justify-between gap-2">- <div className="flex items-center gap-2">- {entry.version && (- <span className="text-[10px] font-mono text-content-faint">v{entry.version}</span>- )}- {entry.author && <span className="text-[10px] text-content-faint">{entry.author}</span>}- </div>- {installed ? (- <span className="rounded-lg border border-sage-200 dark:border-sage-500/30 bg-sage-50 dark:bg-sage-500/10 px-2 py-1 text-[10px] font-medium text-sage-700 dark:text-sage-300">- {t('skills.explorer.installed')}- </span>- ) : (- <Button- variant="secondary"- size="xs"- data-testid={`registry-install-${entry.id}`}- disabled={installing}- onClick={e => {- e.stopPropagation();- onInstall();- }}>- {installing ? t('skills.explorer.installing') : t('skills.explorer.install')}- </Button>- )}- </div>- </div>- );-}-interface SkillDetailDialogProps {entry: CatalogEntry | null;skill: WorkflowSummary | null;diff --git a/app/src/components/skills/skillIcons.tsx b/app/src/components/skills/skillIcons.tsxindex e6bce1544a..d44d4aad7d 100644--- a/app/src/components/skills/skillIcons.tsx+++ b/app/src/components/skills/skillIcons.tsx@@ -5,9 +5,7 @@ import { IoChatbubble } from 'react-icons/io5';import {LuBlocks,LuBot,- LuKeyboard,LuMessageSquareMore,- LuMic,LuPlugZap,LuShare2,LuSparkles,@@ -179,8 +177,3 @@ export function skillCategoryIconClassName(category: SkillCategory): string {export function skillCategoryHeadingClassName(category: SkillCategory): string {return CATEGORY_META[category].headingClassName;}--export const BUILT_IN_SKILL_ICONS = {- textAutocomplete: <LuKeyboard className="h-5 w-5" aria-hidden="true" />,- voiceStt: <LuMic className="h-5 w-5" aria-hidden="true" />,-};diff --git a/app/src/features/privacy/WhatLeavesMyComputerSheet.tsx b/app/src/features/privacy/WhatLeavesMyComputerSheet.tsxindex 02b9319e06..c8455c70ce 100644--- a/app/src/features/privacy/WhatLeavesMyComputerSheet.tsx+++ b/app/src/features/privacy/WhatLeavesMyComputerSheet.tsx@@ -1,7 +1,10 @@-import { useEffect, useRef } from 'react';-import { createPortal } from 'react-dom';-import Button from '../../components/ui/Button';+import {+ DialogContent,+ DialogDescription,+ DialogRoot,+ DialogTitle,+} from '../../components/ui/Dialog';import { useT } from '../../lib/i18n/I18nContext';import { WHAT_LEAVES_HEADLINE, WHAT_LEAVES_ITEMS, WHAT_LEAVES_SUBHEAD } from './whatLeavesItems';@@ -12,45 +15,32 @@ interface WhatLeavesMyComputerSheetProps {const WhatLeavesMyComputerSheet = ({ open, onClose }: WhatLeavesMyComputerSheetProps) => {const { t } = useT();- const dialogRef = useRef<HTMLDivElement>(null);-- useEffect(() => {- if (!open) return;- const onKey = (e: KeyboardEvent) => {- if (e.key === 'Escape') onClose();- };- document.addEventListener('keydown', onKey);- dialogRef.current?.focus();- return () => document.removeEventListener('keydown', onKey);- }, [open, onClose]);-- if (!open) return null;- return createPortal(- <div- className="fixed inset-0 z-50 flex items-center justify-center p-4 animate-fade-in"- role="presentation">- <button- type="button"- aria-label={t('common.close')}- onClick={onClose}- className="absolute inset-0 bg-neutral-900/40 backdrop-blur-sm cursor-default"- />- <div- ref={dialogRef}- tabIndex={-1}- role="dialog"- aria-modal="true"+ return (+ <DialogRoot+ open={open}+ onOpenChange={next => {+ if (!next) onClose();+ }}>+ <DialogContentaria-labelledby="what-leaves-title"- className="relative w-full max-w-lg bg-surface rounded-2xl shadow-large border border-line p-6 animate-fade-up outline-hidden">+ aria-describedby="what-leaves-description"+ className="mx-4 max-w-lg border border-line p-6"+ overlayClassName="bg-neutral-900/40"><div className="flex items-start justify-between gap-4 mb-4"><div>- <h2 id="what-leaves-title" className="font-title text-2xl text-content leading-tight">- {WHAT_LEAVES_HEADLINE}- </h2>+ <DialogTitle asChild>+ <h2 id="what-leaves-title" className="font-title text-2xl text-content leading-tight">+ {WHAT_LEAVES_HEADLINE}+ </h2>+ </DialogTitle></div></div>- <p className="text-sm text-content-secondary mb-5 max-w-md">{WHAT_LEAVES_SUBHEAD}</p>+ <DialogDescription+ id="what-leaves-description"+ className="text-sm text-content-secondary mb-5 max-w-md">+ {WHAT_LEAVES_SUBHEAD}+ </DialogDescription><ul className="space-y-3 mb-6">{WHAT_LEAVES_ITEMS.map(item => (@@ -67,9 +57,8 @@ const WhatLeavesMyComputerSheet = ({ open, onClose }: WhatLeavesMyComputerSheetP{t('common.ok')}</Button></div>- </div>- </div>,- document.body+ </DialogContent>+ </DialogRoot>);};diff --git a/app/src/hooks/useDeveloperMode.ts b/app/src/hooks/useDeveloperMode.tsdeleted file mode 100644index 655b311c44..0000000000--- a/app/src/hooks/useDeveloperMode.ts+++ /dev/null@@ -1,14 +0,0 @@-/**- * useDeveloperMode — runtime developer-mode gate.- *- * Developer surfaces (Settings › Developer & Diagnostics, dev-only settings- * search entries, the Intelligence "council" tab) are now always visible, so- * this hook unconditionally returns `true`. The previous opt-in toggle in- * Settings › About has been removed.- *- * Gating was always UI-only. The Rust `SecurityPolicy` / autonomy-tier- * enforcement in the core is authoritative and is unaffected by this.- */-export function useDeveloperMode(): boolean {- return true;-}diff --git a/app/src/lib/chat/toolCallEnvelope.ts b/app/src/lib/chat/toolCallEnvelope.tsindex bf47e8ca12..0e89d14630 100644--- a/app/src/lib/chat/toolCallEnvelope.ts+++ b/app/src/lib/chat/toolCallEnvelope.ts@@ -79,11 +79,6 @@ function isPlainObject(value: unknown): value is Record<string, unknown> {const UNWRAP_CACHE_LIMIT = 512;const unwrapCache = new Map<string, UnwrappedToolCallMessage>();-/** Exposed for tests that need a clean slate; not part of the public contract. */-export function __clearToolCallEnvelopeCache(): void {- unwrapCache.clear();-}-export function unwrapToolCallEnvelope(raw: string): UnwrappedToolCallMessage {if (typeof raw !== 'string' || raw.trim().length === 0) {return { text: raw ?? '', toolNames: [] };diff --git a/app/src/lib/flows/nodeKindMeta.ts b/app/src/lib/flows/nodeKindMeta.tsindex 3619e574a7..a29b4fdbe4 100644--- a/app/src/lib/flows/nodeKindMeta.ts+++ b/app/src/lib/flows/nodeKindMeta.ts@@ -137,18 +137,3 @@ export const PALETTE_ENTRIES_BY_GROUP: Record<NodeGroup, PaletteEntry[]> = {actions: PALETTE_ENTRIES.filter(e => e.group === 'actions'),logic: PALETTE_ENTRIES.filter(e => e.group === 'logic'),};--/**- * Fallback for any `kind` outside {@link NODE_KIND_META} — a saved graph is- * `unknown` on the wire (cast in `FlowCanvasPage.tsx`), so a future 14th- * tinyflows kind, or any other value the backend ever emits, can reach the- * renderer at runtime even though TypeScript can't see it. Lookups fall back- * here so an unrecognized kind renders as a plain neutral node instead of- * crashing the whole canvas (there's no error boundary around `<ReactFlow>`).- */-const DEFAULT_NODE_META: NodeKindMeta = { group: 'actions' };--/** Resolve a kind's metadata, falling back to {@link DEFAULT_NODE_META}. */-export function nodeKindMeta(kind: NodeKind): NodeKindMeta {- return NODE_KIND_META[kind] ?? DEFAULT_NODE_META;-}diff --git a/app/src/lib/webviewNotifications/index.ts b/app/src/lib/webviewNotifications/index.tsdeleted file mode 100644index 990a9ca03d..0000000000--- a/app/src/lib/webviewNotifications/index.ts+++ /dev/null@@ -1 +0,0 @@-export { startWebviewNotificationsService, stopWebviewNotificationsService } from './service';diff --git a/app/src/lib/webviewNotifications/service.test.ts b/app/src/lib/webviewNotifications/service.test.tsdeleted file mode 100644index 59cb2c5100..0000000000--- a/app/src/lib/webviewNotifications/service.test.ts+++ /dev/null@@ -1,105 +0,0 @@-import { afterEach, beforeEach, describe, expect, it, vi } from 'vitest';--import { ingestNotification } from '../../services/notificationService';-import { store } from '../../store';-import { addAccount } from '../../store/accountsSlice';-import { setIntegrationNotifications } from '../../store/notificationSlice';-import { __handleFiredForTests, __resetForTests, handleNotificationClick } from './service';--vi.mock('../../services/notificationService', () => ({- ingestNotification: vi.fn().mockResolvedValue({ skipped: true, reason: 'test-default' }),-}));--const sampleAccount = {- id: 'acct1',- provider: 'slack' as const,- label: 'Slack',- createdAt: '2026-01-01T00:00:00Z',- status: 'open' as const,-};--function makeFiredPayload(- overrides: Partial<{- account_id: string;- provider: 'slack';- title: string;- body: string;- tag: string | null;- }> = {}-) {- return {- account_id: 'acct1',- provider: 'slack' as const,- title: 'OpenHuman: Slack - Ping',- body: 'hi',- tag: null,- ...overrides,- };-}--describe('webviewNotifications service', () => {- const ingestNotificationMock = vi.mocked(ingestNotification);-- beforeEach(() => {- __resetForTests();- ingestNotificationMock.mockReset();- ingestNotificationMock.mockResolvedValue({ skipped: true, reason: 'test-default' });- store.dispatch(setIntegrationNotifications({ items: [], unread_count: 0 }));- store.dispatch(addAccount(sampleAccount));- });-- afterEach(() => {- vi.restoreAllMocks();- });-- it('fired events increment unread via Redux', () => {- const before = store.getState().accounts.unread.acct1 ?? 0;- __handleFiredForTests(makeFiredPayload());- const after = store.getState().accounts.unread.acct1 ?? 0;- expect(after).toBe(before + 1);- });-- it('handleNotificationClick focuses account and clears unread', () => {- __handleFiredForTests(makeFiredPayload({ body: '' }));- expect(store.getState().accounts.unread.acct1).toBeGreaterThan(0);-- handleNotificationClick('acct1');- expect(store.getState().accounts.activeAccountId).toBe('acct1');- expect(store.getState().accounts.unread.acct1).toBe(0);- });-- it('fired events for unknown accounts are no-ops', () => {- __handleFiredForTests(makeFiredPayload({ account_id: 'ghost', title: 't', body: 'b' }));- expect(store.getState().accounts.unread.ghost).toBeUndefined();- });-- it('ingest success adds integration notification', async () => {- ingestNotificationMock.mockResolvedValue({ id: 'notif-1', skipped: false });- __handleFiredForTests(makeFiredPayload({ title: 'Hello', body: 'World', tag: 'message' }));-- await vi.waitFor(() => {- const items = store.getState().notifications.integrationItems;- expect(items.some(item => item.id === 'notif-1')).toBe(true);- });- });-- it('ingest skipped does not add integration notification', async () => {- ingestNotificationMock.mockResolvedValue({ skipped: true, reason: 'duplicate' });- __handleFiredForTests(makeFiredPayload({ title: 'Hello', body: 'World', tag: 'message' }));-- await vi.waitFor(() => {- const items = store.getState().notifications.integrationItems;- expect(items).toHaveLength(0);- });- });-- it('ingest error does not add integration notification', async () => {- ingestNotificationMock.mockRejectedValue(new Error('network down'));- __handleFiredForTests(makeFiredPayload({ title: 'Hello', body: 'World', tag: 'message' }));-- await vi.waitFor(() => {- const items = store.getState().notifications.integrationItems;- expect(items).toHaveLength(0);- });- });-});diff --git a/app/src/lib/webviewNotifications/service.ts b/app/src/lib/webviewNotifications/service.tsdeleted file mode 100644index 21ffe3b023..0000000000--- a/app/src/lib/webviewNotifications/service.ts+++ /dev/null@@ -1,131 +0,0 @@-import { listen, type UnlistenFn } from '@tauri-apps/api/event';-import debug from 'debug';--import { ingestNotification } from '../../services/notificationService';-import { store } from '../../store';-import {- focusAccountFromNotification,- noteWebviewNotificationFired,-} from '../../store/accountsSlice';-import { addIntegrationNotification } from '../../store/notificationSlice';-import { isTauri } from '../../utils/tauriCommands/common';-import { WEBVIEW_NOTIFICATION_FIRED_EVENT, type WebviewNotificationFired } from './types';--const log = debug('webview-notifications');-const errLog = debug('webview-notifications:error');--let started = false;-let unlisten: UnlistenFn | null = null;--function redactAccountId(accountId: string): string {- if (!accountId) return 'redacted';- if (accountId.length <= 4) return '***';- return `***${accountId.slice(-4)}`;-}--/**- * Subscribe to `webview-notification:fired` events from the Tauri shell and- * mirror each fire into Redux so the sidebar can bump an unread badge on- * the originating account. Idempotent — subsequent calls are no-ops.- */-export function startWebviewNotificationsService(): void {- if (started) return;- if (!isTauri()) {- log('not running in tauri, skipping subscription');- return;- }- started = true;-- listen<WebviewNotificationFired>(WEBVIEW_NOTIFICATION_FIRED_EVENT, event => {- handleFired(event.payload);- })- .then(fn => {- unlisten = fn;- log('subscribed to %s', WEBVIEW_NOTIFICATION_FIRED_EVENT);- })- .catch(err => {- errLog('failed to subscribe: %O', err);- started = false;- });-}--export function stopWebviewNotificationsService(): void {- if (unlisten) {- unlisten();- unlisten = null;- }- started = false;-}--/**- * Route a user-visible "click this notification" intent back to the- * originating account — focuses it and clears the unread count. Safe to- * call from in-app toast UIs or a future OS-notification click hook.- */-export function handleNotificationClick(accountId: string): void {- store.dispatch(focusAccountFromNotification({ accountId }));-}--function handleFired(payload: WebviewNotificationFired): void {- const { account_id: accountId, provider, title, body } = payload;- const redactedAccountId = redactAccountId(accountId);- log(- 'fired account=%s provider=%s title_chars=%d body_chars=%d',- redactedAccountId,- provider,- title.length,- body.length- );- store.dispatch(noteWebviewNotificationFired({ accountId }));-- // Mirror into the core triage pipeline — fire-and-forget.- log(- '[notification_intel] forwarding to core ingest provider=%s account=%s',- provider,- redactedAccountId- );- void ingestNotification({- provider,- account_id: accountId,- title,- body,- raw_payload: payload as unknown as Record<string, unknown>,- })- .then(result => {- if (!result.skipped) {- log('[notification_intel] ingest created id=%s', result.id);- store.dispatch(- addIntegrationNotification({- id: result.id,- provider,- account_id: accountId,- title,- body,- raw_payload: payload as unknown as Record<string, unknown>,- status: 'unread',- received_at: new Date().toISOString(),- importance_score: undefined,- triage_action: undefined,- triage_reason: undefined,- scored_at: undefined,- })- );- } else {- log('[notification_intel] ingest skipped reason=%s', result.reason);- }- })- .catch(err => {- errLog('[notification_intel] ingest failed provider=%s: %O', provider, err);- });-}--/** Exposed for tests — resets module singletons between runs. */-export function __resetForTests(): void {- started = false;- unlisten = null;-}--/** Exposed for tests — dispatches as if a fired event arrived. */-export function __handleFiredForTests(payload: WebviewNotificationFired): void {- handleFired(payload);-}diff --git a/app/src/lib/webviewNotifications/types.ts b/app/src/lib/webviewNotifications/types.tsdeleted file mode 100644index f50f6c85e8..0000000000--- a/app/src/lib/webviewNotifications/types.ts+++ /dev/null@@ -1,15 +0,0 @@-/**- * Shape of the `webview-notification:fired` Tauri event payload emitted by- * the Rust shell whenever an embedded webview renderer creates a native- * notification. Mirror of `WebviewNotificationFired` in- * `app/src-tauri/src/webview_accounts/mod.rs` — keep the two in sync.- */-export interface WebviewNotificationFired {- account_id: string;- provider: string;- title: string;- body: string;- tag?: string | null;-}--export const WEBVIEW_NOTIFICATION_FIRED_EVENT = 'webview-notification:fired';diff --git a/app/src/services/coreRpcClient.ts b/app/src/services/coreRpcClient.tsindex 70b6b2958e..980c49fd14 100644--- a/app/src/services/coreRpcClient.ts+++ b/app/src/services/coreRpcClient.ts@@ -100,7 +100,6 @@ let _activeTransport: CoreTransport | null = null;* Override the active transport used by `callCoreRpc`.* Set to null to revert to the default local HTTP path.*- * @knipignore Public transport-manager integration seam for remote profiles.*/export function setActiveCoreTransport(transport: CoreTransport | null): void {_activeTransport = transport;diff --git a/app/src/services/notificationService.ts b/app/src/services/notificationService.tsindex 3cd965c7e3..960d335a99 100644--- a/app/src/services/notificationService.ts+++ b/app/src/services/notificationService.ts@@ -1,6 +1,6 @@import debug from 'debug';-import type { IntegrationNotification, NotificationStats } from '../types/notifications';+import type { IntegrationNotification } from '../types/notifications';import { callCoreRpc } from './coreRpcClient';const log = debug('notifications');@@ -47,66 +47,6 @@ export async function markNotificationRead(id: string): Promise<void> {}}-type NotificationIngestResult = { id: string; skipped?: false } | { skipped: true; reason: string };--/**- * Ingest a new notification via the core RPC pipeline.- * Calls `openhuman.notification_ingest`.- *- * Returns `{ id }` when the notification was persisted, or- * `{ skipped: true, reason }` when the provider is disabled.- */-export async function ingestNotification(payload: {- provider: string;- account_id?: string;- title: string;- body: string;- raw_payload: Record<string, unknown>;-}): Promise<NotificationIngestResult> {- log('ingestNotification provider=%s', payload.provider);- const result = await callCoreRpc<NotificationIngestResult>({- method: 'openhuman.notification_ingest',- params: payload,- });- if (result.skipped) {- log('ingestNotification skipped provider=%s reason=%s', payload.provider, result.reason);- } else {- log('ingestNotification created id=%s', result.id);- }- return result;-}--export async function getNotificationSettings(- provider: string-): Promise<{- provider: string;- enabled: boolean;- importance_threshold: number;- route_to_orchestrator: boolean;-}> {- const result = await callCoreRpc<{- settings: {- provider: string;- enabled: boolean;- importance_threshold: number;- route_to_orchestrator: boolean;- };- }>({ method: 'openhuman.notification_settings_get', params: { provider } });- return result.settings;-}--export async function setNotificationSettings(payload: {- provider: string;- enabled: boolean;- importance_threshold: number;- route_to_orchestrator: boolean;-}): Promise<void> {- await callCoreRpc<{ ok: boolean }>({- method: 'openhuman.notification_settings_set',- params: payload,- });-}-export async function dismissNotification(id: string): Promise<void> {log('dismissNotification id=%s', id);try {@@ -134,23 +74,3 @@ export async function markNotificationActed(id: string): Promise<void> {throw err;}}--export async function fetchNotificationStats(): Promise<NotificationStats> {- log('fetchNotificationStats');- try {- const result = await callCoreRpc<NotificationStats>({- method: 'openhuman.notification_stats',- params: {},- });- log(- 'fetchNotificationStats ok total=%d unread=%d unscored=%d',- result.total,- result.unread,- result.unscored- );- return result;- } catch (err) {- errLog('fetchNotificationStats failed: %o', err);- throw err;- }-}diff --git a/app/src/store/__tests__/accountsSlice.rehydrate.test.ts b/app/src/store/__tests__/accountsSlice.rehydrate.test.tsindex 00a1560747..8e00204d97 100644--- a/app/src/store/__tests__/accountsSlice.rehydrate.test.ts+++ b/app/src/store/__tests__/accountsSlice.rehydrate.test.ts@@ -33,7 +33,6 @@ function seedState(accounts: Account[]): AccountsState {messages: {},unread: {},logs: {},- overlayOpen: false,};for (const acct of accounts) {state.accounts[acct.id] = acct;diff --git a/app/src/store/__tests__/accountsSlice.webviewNotifications.test.ts b/app/src/store/__tests__/accountsSlice.webviewNotifications.test.tsdeleted file mode 100644index bb8d1475b5..0000000000--- a/app/src/store/__tests__/accountsSlice.webviewNotifications.test.ts+++ /dev/null@@ -1,45 +0,0 @@-import { describe, expect, it } from 'vitest';--import reducer, {- addAccount,- focusAccountFromNotification,- noteWebviewNotificationFired,-} from '../accountsSlice';--const sampleAccount = {- id: 'acct1',- provider: 'slack' as const,- label: 'Slack',- createdAt: '2026-01-01T00:00:00Z',- status: 'open' as const,-};--describe('accountsSlice webview-notification actions', () => {- it('noteWebviewNotificationFired increments unread for known accounts', () => {- const added = reducer(undefined, addAccount(sampleAccount));- const fired = reducer(added, noteWebviewNotificationFired({ accountId: 'acct1' }));- const firedTwice = reducer(fired, noteWebviewNotificationFired({ accountId: 'acct1' }));- expect(firedTwice.unread.acct1).toBe(2);- });-- it('noteWebviewNotificationFired ignores unknown accounts', () => {- const fired = reducer(undefined, noteWebviewNotificationFired({ accountId: 'ghost' }));- expect(fired.unread.ghost).toBeUndefined();- });-- it('focusAccountFromNotification sets active account and clears unread', () => {- let state = reducer(undefined, addAccount(sampleAccount));- state = reducer(state, noteWebviewNotificationFired({ accountId: 'acct1' }));- state = reducer(state, noteWebviewNotificationFired({ accountId: 'acct1' }));- expect(state.unread.acct1).toBe(2);-- state = reducer(state, focusAccountFromNotification({ accountId: 'acct1' }));- expect(state.activeAccountId).toBe('acct1');- expect(state.unread.acct1).toBe(0);- });-- it('focusAccountFromNotification ignores unknown accounts', () => {- const state = reducer(undefined, focusAccountFromNotification({ accountId: 'ghost' }));- expect(state.activeAccountId).toBeNull();- });-});diff --git a/app/src/store/accountsSlice.ts b/app/src/store/accountsSlice.tsindex 2a3398fd0b..2e402b131c 100644--- a/app/src/store/accountsSlice.ts+++ b/app/src/store/accountsSlice.ts@@ -37,7 +37,6 @@ const initialState: AccountsState = {messages: {},unread: {},logs: {},- overlayOpen: false,};const accountsSlice = createSlice({@@ -129,29 +128,6 @@ const accountsSlice = createSlice({}},- noteWebviewNotificationFired(state, action: PayloadAction<{ accountId: string }>) {- const { accountId } = action.payload;- if (!state.accounts[accountId]) return;- state.unread[accountId] = (state.unread[accountId] ?? 0) + 1;- },-- focusAccountFromNotification(state, action: PayloadAction<{ accountId: string }>) {- const { accountId } = action.payload;- if (!state.accounts[accountId]) return;- state.activeAccountId = accountId;- state.unread[accountId] = 0;- },-- /**- * Signals that a rail overlay (add-account modal / context menu) opened or- * closed. Read by the desktop shell to hide/restore the active provider- * webview, which composites above HTML and would otherwise paint over the- * overlay.- */- setAccountsOverlayOpen(state, action: PayloadAction<boolean>) {- state.overlayOpen = action.payload;- },-resetAccountsState() {return initialState;},@@ -204,9 +180,6 @@ export const {setAccountStatus,appendMessages,appendLog,- noteWebviewNotificationFired,- focusAccountFromNotification,- setAccountsOverlayOpen,resetAccountsState,} = accountsSlice.actions;diff --git a/app/src/types/accounts.ts b/app/src/types/accounts.tsindex 65f38149aa..8d892419b1 100644--- a/app/src/types/accounts.ts+++ b/app/src/types/accounts.ts@@ -65,7 +65,6 @@ export interface AccountsState {* accordingly (DOM z-index can't paint React overlays above a CEF webview).* Transient: not in the persist whitelist.*/- overlayOpen: boolean;}export interface AccountLogEntry {diff --git a/app/src/types/notifications.ts b/app/src/types/notifications.tsindex 27a1880d44..e98a8e000c 100644--- a/app/src/types/notifications.ts+++ b/app/src/types/notifications.ts@@ -24,11 +24,3 @@ export interface IntegrationNotification {/** Optional in-app hash route (e.g. "/chat") set by the core triage pipeline. */deep_link?: string;}--export interface NotificationStats {- total: number;- unread: number;- unscored: number;- by_provider: Record<string, number>;- by_action: Record<string, number>;-}diff --git a/app/src/utils/links.ts b/app/src/utils/links.tsindex 9434eefdc1..ae749191d5 100644--- a/app/src/utils/links.ts+++ b/app/src/utils/links.ts@@ -1,8 +1,5 @@export const DISCORD_INVITE_URL = 'https://discord.tinyhumans.ai';export const PRICING_URL = 'https://tinyhumans.ai/pricing';export const BILLING_DASHBOARD_URL = 'https://tinyhumans.ai/dashboard';-/** tiny.place — the agent network. Kept working outside the app after the- * in-app surface is removed (#5424); the sunset notice links here. */-export const TINYPLACE_URL = 'https://tiny.place';export const PRIVACY_POLICY_URL = 'https://tinyhumans.gitbook.io/openhuman/legal/privacy-policy';export const TERMS_OF_USE_URL = 'https://tinyhumans.gitbook.io/openhuman/legal/terms-of-use';diff --git a/pnpm-lock.yaml b/pnpm-lock.yamlindex ab7bd212cd..e3d5827675 100644--- a/pnpm-lock.yaml+++ b/pnpm-lock.yaml@@ -57,24 +57,9 @@ importers:'@noble/secp256k1':specifier: ^3.0.0version: 3.1.0- '@radix-ui/react-avatar':- specifier: ^1.2.6- version: 1.2.6(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])'@radix-ui/react-collapsible':specifier: ^1.1.20version: 1.1.20(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-dialog':- specifier: ^1.1.23- version: 1.1.23(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-popover':- specifier: ^1.1.23- version: 1.1.23(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-slot':- specifier: ^1.3.3- version: 1.3.3(@types/[email protected])([email protected])- '@radix-ui/react-tooltip':- specifier: ^1.2.16- version: 1.2.16(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])'@reduxjs/toolkit':specifier: ^2.11.2version: 2.11.2([email protected](@types/[email protected])([email protected])([email protected]))([email protected])@@ -210,9 +195,6 @@ importers:util:specifier: ^0.12.5version: 0.12.5- zod:- specifier: 4.3.6- version: 4.3.6zustand:specifier: ^5.0.15version: 5.0.15(@types/[email protected])([email protected])([email protected])([email protected]([email protected]))