跳到正文
数字商店
原文
dax· @thdxr · X·· 6 天前AI 评分53
AI 导读

OpenCode Desktop 正在变为全原生应用,通过将 codemode 的 runtime 提取为独立项目,在无需嵌入完整 JS runtime 的情况下继续支持 JS 插件。该方案支持在 iOS 应用中由 Agent 实时创建 mini apps。

正文 · AI 翻译

你可能已经从我们在 rune 上的工作中看出来了:opencode 桌面版正在变得完全原生

我们希望继续支持基于 js 的插件,而这种方式无需嵌入完整的 js 运行时就能做到

它甚至在移动端也能用——我们有一个演示,agent 可以在 opencode iOS 应用内实时创建 mini apps

引用OpenCode@opencode
我们把驱动 codemode 的运行时抽离成了一个独立项目 这是一个简单的包(不含 wasm),可以直接执行 JS,并在执行中途暂停/恢复 Rust 实现正在开发中,这样原生应用也能把 JS 用作脚本语言 https://t.co/mAc26BRC0c
原文

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