diff --git a/Cargo.lock b/Cargo.lock index 945796092..13ba889c6 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -8269,6 +8269,7 @@ dependencies = [ "libc", "mime_guess", "minijinja", + "moka", "notify", "open", "opentelemetry", diff --git a/Cargo.toml b/Cargo.toml index fd73aa72b..d11347941 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -145,6 +145,7 @@ prometheus = { version = "0.13", optional = true } pdf-extract = "0.10.0" open = "5.3.3" urlencoding = "2.1.3" +moka = "0.12.13" [features] metrics = ["dep:prometheus"] diff --git a/interface/src/api/client.ts b/interface/src/api/client.ts index 1a8993c6c..2683cc1e3 100644 --- a/interface/src/api/client.ts +++ b/interface/src/api/client.ts @@ -848,12 +848,14 @@ export interface RegistrySkill { skillId: string; name: string; installs: number; + description?: string; id?: string; } export interface RegistryBrowseResponse { skills: RegistrySkill[]; has_more: boolean; + total?: number; } export interface RegistrySearchResponse { diff --git a/interface/src/components/Markdown.tsx b/interface/src/components/Markdown.tsx index 81bbf057e..b903aa96b 100644 --- a/interface/src/components/Markdown.tsx +++ b/interface/src/components/Markdown.tsx @@ -1,9 +1,15 @@ import ReactMarkdown from "react-markdown"; import remarkGfm from "remark-gfm"; -export function Markdown({ children }: { children: string }) { +export function Markdown({ + children, + className, +}: { + children: string; + className?: string; +}) { return ( -