AI产品精选

建议AI编程助手如Codex和Cursor向Web视图开放API

It would be great if AI agents like Codex and Cursor could expose an API to web views. This would al...

精选理由

这个想法解决了AI编程助手与网页交互的割裂问题,做AI工具或Web应用的开发者值得关注,可以尝试在项目中实现类似机制。

AI 摘要

开发者建议AI编程助手如Codex和Cursor向右侧Web视图开放API,使网页能直接向左侧聊天界面发送提示(含文本和图片)。例如,类似Claude Design的网页可添加输入框,用户输入后调用类似window.codex.sendPrompt的API将内容推送到聊天界面。这能实现代理与网页更深层次的交互,解锁更多可能性。

AI 翻译 · 中文

开发者建议AI编程助手如Codex和Cursor向右侧Web视图开放API,使网页能直接向左侧聊天界面发送提示(含文本和图片)。例如,类似Claude Design的网页可添加输入框,用户输入后调用类似window.codex.sendPrompt的API将内容推送到聊天界面。这能实现代理与网页更深层次的交互,解锁更多可能性。

宝玉It would be great if AI agents like Codex and Cursor could expose an API to web views. This would allow a webpage opened in the right pane to send prompts (including text and images) directly back to the agent. For insta
  • shao__meng06-02 01:15原文
  • rohanpaul_ai06-03 12:38原文
  • Simon Willison’s Weblog06-03 11:33原文