npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@unieai/uad-client-ui-studio-sources

v0.1.21

Published

Knowledge-base citations under a Studio MCP tool result

Readme

@unieai/uad-client-ui-studio-sources

English | 中文

Studio MCP 結果底下的知識庫引用:這個答案來自哪些文件、每段落在第幾頁、搜尋的相關度有多高。

出現在哪裡

詳細面板中,所選工具呼叫的 Output 底下,位於每次呼叫的 conversation.details.tool.annotation 清單。

是註記而不是工具檢視:引用屬於結果旁邊,不是取代結果。而且 keyed 的 tool.call.toolview 座位根本容納不了這個佔位者——MCP 工具的名字是 mcp__<serverName>__<rawName>,server name 由部署方決定,沒有可以註冊的 key。因此這個佔位者會看到使用者打開的每一次呼叫,自己讀名字,遇到不認得的就什麼都不畫——而那是大多數情況。

它拒絕顯示什麼

  • 還在執行的呼叫。 還沒有結果。
  • 失敗的呼叫。 它的文字是錯誤訊息,不是 reader 看得懂的答案。
  • 工具沒有回報的分數。 沒有分數不等於零分,顯示 0% 會是伺服器從未給過的斷言。

每一列都不是連結。桌面版打不開 Studio 的文件,做成連結就是承諾一個這裡不存在的去處。

解析在哪裡

@unieai/uad-studio-kb-sources,它不需要 host:文字本來就在瀏覽器裡,就在使用者打開的那個結果中。那個套件負責解析,這個套件決定何時解析、以及一列要怎麼讀。沒有名字的文件也由這裡命名,因為那是翻譯,而解析器沒有語言。

Model Experience

無。此套件不註冊任何 tool、prompt、schema 或 context:它重讀模型已經產生的結果,讓人看到出處。

KV Cache effect

無。這裡不貢獻任何 prompt 片段、工具定義或 context 條目,因此不會移動任何重用邊界。

已知限制與未完成項目

  • 回不到原文件。 搜尋結果帶有 evidence id(<kbId>:<docId>:<idx>:<digest>),但桌面版沒有地方可以帶它去;等 Studio 文件路由存在時,這一列就會變成它現在刻意不去假裝的那個連結。
  • 只涵蓋 Studio 的兩個工具。 kb_searchkb_grep 回報 reader 看得懂的引用;kb_fetchkb_list 回的是別的東西,這裡不顯示。
  • 每次打開呼叫都會跑一次。 list 洞沒有 key,所以辨識的成本是每次所選呼叫做一次字串比對——可以忽略,但這正是它沒有做成 keyed 註冊的原因。