dax· @thdxr · X·· 6 天前AI 评分53
AI 导读
OpenCode Desktop 正在变为全原生应用,通过将 codemode 的 runtime 提取为独立项目,在无需嵌入完整 JS runtime 的情况下继续支持 JS 插件。该方案支持在 iOS 应用中由 Agent 实时创建 mini apps。
正文 · 原文
you've probably gathered this from our work on rune that opencode desktop is becoming fully native
we want to continue to support js based plugins and this allows for that without embedding a full js runtime
it even works on mobile - we have a demo where the agent can making mini apps inside the opencode iOS app in realtime
we extracted the runtime powering codemode into a standalone project it's a simple package (no wasm) that can directly execute js and pause/resume it mid execution a rust implementation is in the works so native apps can use js as a scripting language https://t.co/mAc26BRC0c在 X 查看被引用的帖子
来源:dax · x.com