Skip to content

Lime Desktop Platform v0.1.5

Choose a tag to compare

@wutongci wutongci released this 09 Jun 00:10
· 6 commits to main since this release

已补强

  • Agent Runtime current 主链切换为 Product App -> Capability SDK 调用 lime.agent -> Desktop Host / Host Bridge -> Lime App Server JSON-RPC -> RuntimeCore:新增 lime.agent capability、AppServerRuntimeService bridge profile、method mapping、provider readiness 和 fail-closed diagnostics;旧 lime.agentExecution 只保留为 compat alias。
  • 模型设置页接入 provider 保存链路,支持 Provider 名称、Base URL、API 格式、认证方式、Responses API、短程 API Key 输入、API Key 配置状态和模型优先级;普通 JSON 只保存 apiKeyConfigured 状态,不保存明文 key。
  • 新增 Product App 独特设置托管契约:ProductAppSettingsRecordsettings:readProductAppsettings:writeProductApp、host-core 接口和 Store 分层读写。workspace scope 写入 .lime-desktop/product-settings,user scope 写入 userData/state/product-settings,并阻断凭证、token、API Key 和 OAuth 类 namespace / key。
  • 新增 lime.storage 最小业务存储能力:通过现有 Capability invoke 主链支持 workspace scope document 的 read / write / list / delete,落点为 .lime-desktop/app-storage;写事件会遮蔽业务 value,凭证类 namespace、documentId 和 value key 会被阻断。
  • 新增最小 App Server JSON-RPC client、配置化 stdio sidecar lifecycle、packaged resources manifest / sha256 校验、真实 App Server dev smoke、packaged-resource staging smoke、现有 package resources verifier,以及覆盖 agentSession/eventagentSession/read read model 的 external fixture event-stream smoke。
  • 新增最小 Credential Broker:settings.saveModel 输入中的临时 API Key / OAuth 凭证写入 broker,普通 ModelSettings JSON 只保留 apiKeyConfigured;broker 会向 diagnostics / runtimeContext 暴露非敏感 credential readiness、storage kind、rotation 状态和 broker-reference-only handoff 状态。
  • 删除旧 src/main/services/agentExecution/**src/main/services/agentExecutionService.ts,Pi sidecar / Claude SDK backend router 不再作为平台代码入口;lime.agentExecution 仅保留为委托 App Server bridge 的 compat alias。
  • PlatformSettingsDialog 支持“业务设置”扩展分组,业务 App 可以挂载自己的独特设置 UI,但不能复制平台基础设置。
  • 新增 @limecloud/desktop-platform-host-core workspace 包,固定平台无关宿主核心消费面。
  • governance:hardcode-scan 增加 App Server runtime dead path 守卫,阻止 Pi sidecar、Claude SDK backend router、旧 AgentExecutionService 和业务样板硬编码回流。
  • README、架构图、Agent Runtime 策略、host contracts、平台能力文档和完成审计同步更新为 App Server JSON-RPC / RuntimeCore current 路线。

仍未完成

  • 真实 provider / RuntimeBackend live streaming 和真实 Electron packaged artifact sidecar smoke。
  • OS keychain、OAuth token 轮换、过期刷新和生产级 credential injection。
  • Electron adapter / Tauri adapter 正式拆包。