正在打开每日关注
正在打开每日关注
Pi 扩展将可创建自定义桌面视图与跨界面卡片,演示扩展 Trace 可追踪 Agent 回合、工具调用、延迟与用量。
got this in pi-gui but even cooler soon. Here's a sneak peek. @pidotdev extensions will be able to create custom desktop views, so you can have your own fully customized Pi-GUI experience! You'll also be able to add custom cards that show up across the app, in the transcript, composer window, side bar, and others. Here's a demo extension, where you can trace the agent's last turn, tool calls, latency, and usage. Fully updated with Pi v1.0 @badlogicgames :)
You can now mod Claude Code: - Change how it behaves - Customize the UI - Swap in your own features Write one with a few lines of TypeScript, or have Claude build it for you. Mods ship inside plugins, so you install them with /plugin in the CLI or desktop app. A few examples: https://t.co/qMtzV8AeId
是什么:pi-gui 作者 Matthew Lam 预告 Pi 桌面端扩展能力的下一步:扩展将能声明自定义桌面视图,并在 transcript、composer、侧边栏等位置插入自定义卡片;他同步放出演示扩展 Trace,用分层时间线展示 Agent 最近一轮的模型调用、工具调用、延迟与 Token 用量,且已适配 Pi v1.0。推文显式引用 Claude Code 的 mods/plugins 公告,形成对标叙事——Claude Code 用 TypeScript 写 mod 改行为与 UI,Pi 把定制推进到桌面 GUI 层。
核心设计:把扩展面从“会话内工具”上移到“界面层”——扩展不只是给模型用的能力,还能渲染 UI 卡片与独立视图;Trace 则示范可观测性如何内嵌工作台:按 Turn/Model call/Tool 分层的甘特式时间线、峰值上下文、109k in / 510 out 等用量指标一目了然。截图还暴露了真实的工程细节:扩展入口的 displayName/description 元数据、命名回退规则仍在打磨。
关键洞察:Agent 产品的竞争正从模型质量转向“宿主 + 扩展生态”;Pi 与 Claude Code 收敛到相似抽象(extension/mod/plugin),说明行业正在形成共识。而可观测性 UI 是展示扩展系统能力的最佳场景——既是开发者刚需,又天然需要自定义视图。
边界与风险:仍是 sneak peek,API 未定型;自定义视图越多,跨端一致性、性能与扩展安全审查的成本也越高。