Repository navigation
feat(plugins): add managedRuntimes 1 mirror URLs for runtime artifacts - #108
Merged
Merged
Conversation
xiaoyumuxi
added a commit
that referenced
this pull request
Nov 19, 2026
- shared/plugins/sdk/go:模块 github.com/Lithe-IDEA/Lithe-core-rust/shared/plugins/sdk/go, 包 lithe,Go 1.22+,只用标准库。实现函数协议、宿主服务(凭据、工作区、文档与编辑器、 预览、浏览器、窗口消息、functions/providers 与 functions/invoke、原生终端、订阅)、 插件视图 View(id, handler)、litheKeymapImport 0 和结构化诊断;不实现构建和 VCS 提供者。 Unix 上把协议移到 stdout 的副本、stdout 指向 stderr;处理函数 panic 只结束该次调用, 只发固定的 panic 类别。 - 示例后端 sdk/go/examples/sample-backend 与 Rust 示例跑同一个插件后端场景; 新增 e2e 测试 plugin_sdk_go,sdk-e2e.mjs 先构建 Go 示例再运行。 - 发布方式:Go 模块标签 shared/plugins/sdk/go/v<版本>,没有版本文件和发布工作流; 这次不推送标签。 - 文档:插件总览推荐新插件优先用 Rust 或 Go SDK(构建后端用 Node.js/Java,VCS 后端用 Node.js);契约 README、日志指南、原生终端指南(补 Go 示例)、各参考页和 SDK README 把 Go 列进官方 SDK;e2e 依赖补上 Go 1.22+。 - 协议更新记录:待合入写本 PR;补记已合入的 #109(ui 0 width/resize)和 #108 (managedRuntimes 1 镜像地址),能力表加 managedRuntimes 1。
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Extend managedRuntimes capability to version 1 with optional HTTPS
mirrorsURLs (max 8, unique, validated identically tourl) on each platform artifact.cacheKeyexcludesmirrorsso adding or reordering mirrors preserves existing caches. Verified withcargo test -p lithe-plugin-model -p lithe-plugin-manifest -p lithe-core managed_runtimesandnode shared/plugins/scripts/verify-docs.mjs.