Skip to content

Releases: limecloud/lime-desktop-platform

v0.2.0

10 Jun 09:48

Choose a tag to compare

Release Notes

0.2.0

已补强

  • 新增 lime.settings capability,平台设置契约扩展 appearancegeneral 投影,支持主题色、字体比例、衬线模式、通知、运动减弱、快捷窗、命令白名单、权限模式、思考模式和工具调用展示等通用设置。
  • HostProfile / HostSnapshot 增加外观设置和非敏感 ModelSettingsSnapshot,业务 App 可读取 provider / model projection,但不会收到 API Key、token、secret 或 credential payload。
  • Runtime Bridge 增加 discovery descriptor、/attach 入口和本机 discovery 文件发布,外部 Product App 可通过发现文件获取短期 attach token,再换取 scoped runtime bridge session;/snapshot 改为实时生成,避免启动时旧 snapshot 滞留。
  • 模型设置 current 持久化边界收敛到 App Server provider store:新 API Key 只作为瞬时输入转交 modelProviderKey/create;App Server provider store 不可用时 fail-closed,不再把新 key 写入 Desktop Credential Broker 或普通 JSON。旧 broker key 仅作为一次性迁移 source。
  • @limecloud/desktop-platform-react 拆出模型设置模块,新增 PlatformModelSelectorPlatformRuntimeModelMenu、模型 projection helper 和设置主题 token;PlatformSettingsDialog 支持宿主传入平台设置保存、预览和视觉 token。
  • 默认模型 provider 从硬编码样板改为显式配置,settingsGetModel 读取 fresh projection,保存逻辑会归一化 provider、默认 provider / model 和平台设置输入。
  • 文档同步更新 App Server provider store、模型设置 capability、Runtime Bridge discovery、平台设置 UI 复用边界和 Product App 禁止复制平台基础设置的规则。
  • 单元测试和 smoke 覆盖补齐模型 snapshot 脱敏、lime.settings 保存、App Server provider/key 同步、离线 fail-closed、Runtime Bridge discovery attach、React 模型设置和事件流 fixture。

仍未完成

  • OAuth token 轮换、过期刷新和生产级 credential injection 策略。
  • release 签名验证、回滚包管理和差分更新。
  • Electron adapter / Tauri adapter 正式拆包。

Lime Desktop Platform v0.1.5

09 Jun 00:10

Choose a tag to compare

已补强

  • 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 正式拆包。

Lime Desktop Platform v0.1.3

24 May 08:33

Choose a tag to compare

0.1.3

已补强

  • limecoreControlPlane 增加 OAuth session、billing 和 OEM projection endpoint 适配。
  • CloudSessionSnapshotBillingSnapshotOEMProjection 增加 source 字段,区分 limecorelocal-dev
  • Electron smoke 的 mock limecore 覆盖 session 登录、billing 刷新和 OEM 投影。
  • 开发态运行时 catalog 改为只加载中性 platform-conformance fixture;真实 Product App 名称不再作为平台内置同名 App 进入应用中心。
  • 增加 Agent Runtime 策略文档,明确参考 craft-agents-oss 的 Claude SDK、Pi sidecar、MCP session tools、LLM connection 和 token refresh 模式,但只作为平台 execution backend adapter,不进入 Product App 公开依赖。
  • 增加 lime.agentExecution capability 和最小 AgentExecutionService backend router / backend descriptor / Claude-Pi-Generic not-installed adapters / sidecar protocol skeleton / Tool Registry skeleton / blocked backend,当前可返回 normalized request、readiness、event 和可追溯阻断结果。
  • governance:hardcode-scan 增加 provider SDK contract 泄露扫描,阻止 Claude SDK / Pi SDK 进入公开 contracts。
  • 明确 Product App 自身更新、agentapp package 更新和平台底座版本三条生命周期;UpdateCandidate / DownloadedUpdateArtifact 增加 targetKind: "agentapp-package"
  • samples/zhongcaosamples/content-studio 收敛为 standalone 外部产品参考,不再携带 runtime_backedreferenceRuntime;只有中性 samples/platform-conformance 可进入平台 conformance catalog。
  • governance:hardcode-scan 增加 external-product-reference 扫描,阻止真实 Product App 样例重新声明 runtime-backed / referenceRuntime。
  • 增加 src/renderer/src/platformModules.tsx,把平台能力总览、平台应用中心、云端会话、模型设置、品牌、充值、更新、运行、Host Bridge 和诊断抽成公共 React UI modules。
  • reference shell 的 src/renderer/src/App.tsx 改为只装配公共 UI modules、平台 bootstrap 和 action handlers,不再在壳层里重复维护公共设置页面。
  • 明确 zhongcao 等 Product App 只挂载平台 UI modules 或发送 PlatformNavigationIntent,不在业务仓库重做 OAuth、模型设置、充值、品牌、更新和 Host Bridge 诊断页面。

仍未完成

  • 生产 OAuth 授权 UI、token 安全存储和真实服务错误码映射。
  • release 签名验证、回滚包管理和差分更新。
  • Claude SDK backend、Pi sidecar backend、完整 Capability Tool Registry 和真实 agent event streaming。
  • Tauri adapter。
  • 将公共 UI modules 从 renderer 内部文件正式拆成 @limecloud/desktop-platform-react 或同等 workspace package。

Lime Desktop Platform v0.1.2

24 May 01:43

Choose a tag to compare

Release Notes

0.1.2

已补强

  • 增加 limecoreControlPlane,支持通过 LIMECORE_CATALOG_URLLIMECORE_BASE_URL 拉取云端 catalog。
  • 增加 ReleaseArtifactUpdateCandidateDownloadedUpdateArtifactControlPlaneStatus 契约。
  • 增加 releaseDownloader,真实下载 release artifact 并校验 sha256 和可选 size。
  • updates:check 可强制同步 catalog,updates:downloadupdates:apply 对带 artifact 的更新执行下载、校验和应用门槛。
  • 增加 PlatformNavigationIntent,runtime-backed App 可请求打开平台设置入口,不复制平台设置 UI。
  • Electron smoke 增加本地 mock limecore,覆盖云端目录、更新发现、artifact 下载、sha256 校验和安装记录切换。

仍未完成

  • OAuth、billing、OEM 真实 limecore 端点。
  • release 签名验证、回滚包管理和差分更新。
  • Tauri adapter。

0.1.1

已补强

  • 增加 lime.zhongcao runtime-backed 启动链路,平台可通过应用中心拉起本地 zhongcao Electron App。
  • 增加 127.0.0.1 RuntimeBridgeServer,通过短期 token 向 runtime-backed App 提供 /snapshot/capability/invoke
  • 增加 RuntimeBridgeDescriptorplatform.onChanged(...)apps.uninstall(...) 等公开契约。
  • 增加 platform:changed 事件,登录、模型、billing、安装、启动、卸载、更新和 capability 调用后可向 renderer/业务 App 广播最新 bootstrap。
  • 增加平台卸载生命周期:停止 runtime-backed 子进程、撤销 runtime bridge session、移除安装记录、清理 runtime snapshot,默认保留业务数据。
  • 统一 zhongcao 平台身份为 lime.zhongcao,入口为 diary-workbench
  • 扩展 zhongcao 样板 manifest,覆盖日记工作台、选题计划、素材库、发布计划和诊断页。
  • 增加 docs/v1/zhongcao-handoff-prompt.md,作为另一个开发进程继续开发 zhongcao 的交接提示词。
  • Electron smoke 覆盖 zhongcao 子进程启动、runtime bridge capability 调用、平台变化事件和卸载生命周期。

验证

  • npm run typecheck
  • npm run build
  • npm run smoke:electron

0.1.0

首次可交付平台底座版本。

已包含

  • Electron + React + TypeScript 桌面宿主骨架
  • manifest / projection / readiness / Host Bridge / IPC 契约
  • 应用中心、设置中心、运行页、开发者诊断页
  • 本地工作区与用户级状态分层
  • content-studiozhongcao、OEM 样板应用目录
  • 更新投影与开发态应用更新 API
  • npm run verify:local,包含 typecheck、build 和 Electron smoke
  • @limecloud/desktop-platform-contracts 契约包
  • samples/zhongcao/manifest.example.jsondocs/v1/zhongcao-integration.md

面向 zhongcao 的使用方式

  • 业务 App 使用同一套 host capability 语义。
  • 登录、模型设置、OEM、billing、更新都由平台提供。
  • 业务 App 只保留自身内容工作流、草稿、素材和发布计划。

Lime Desktop Platform v0.1.1

23 May 18:54

Choose a tag to compare

Release Notes

0.1.1

已补强

  • 增加 lime.zhongcao runtime-backed 启动链路,平台可通过应用中心拉起本地 zhongcao Electron App。
  • 增加 127.0.0.1 RuntimeBridgeServer,通过短期 token 向 runtime-backed App 提供 /snapshot/capability/invoke
  • 增加 RuntimeBridgeDescriptorplatform.onChanged(...)apps.uninstall(...) 等公开契约。
  • 增加 platform:changed 事件,登录、模型、billing、安装、启动、卸载、更新和 capability 调用后可向 renderer/业务 App 广播最新 bootstrap。
  • 增加平台卸载生命周期:停止 runtime-backed 子进程、撤销 runtime bridge session、移除安装记录、清理 runtime snapshot,默认保留业务数据。
  • 统一 zhongcao 平台身份为 lime.zhongcao,入口为 diary-workbench
  • 扩展 zhongcao 样板 manifest,覆盖日记工作台、选题计划、素材库、发布计划和诊断页。
  • 增加 docs/v1/zhongcao-handoff-prompt.md,作为另一个开发进程继续开发 zhongcao 的交接提示词。
  • Electron smoke 覆盖 zhongcao 子进程启动、runtime bridge capability 调用、平台变化事件和卸载生命周期。

验证

  • npm run typecheck
  • npm run build
  • npm run smoke:electron

0.1.0

首次可交付平台底座版本。

已包含

  • Electron + React + TypeScript 桌面宿主骨架
  • manifest / projection / readiness / Host Bridge / IPC 契约
  • 应用中心、设置中心、运行页、开发者诊断页
  • 本地工作区与用户级状态分层
  • content-studiozhongcao、OEM 样板应用目录
  • 更新投影与开发态应用更新 API
  • npm run verify:local,包含 typecheck、build 和 Electron smoke
  • @limecloud/desktop-platform-contracts 契约包
  • samples/zhongcao/manifest.example.jsondocs/v1/zhongcao-integration.md

面向 zhongcao 的使用方式

  • 业务 App 使用同一套 host capability 语义。
  • 登录、模型设置、OEM、billing、更新都由平台提供。
  • 业务 App 只保留自身内容工作流、草稿、素材和发布计划。

Lime Desktop Platform v0.1.0

23 May 17:07

Choose a tag to compare

Release Notes

0.1.0

首次可交付平台底座版本。

已包含

  • Electron + React + TypeScript 桌面宿主骨架
  • manifest / projection / readiness / Host Bridge / IPC 契约
  • 应用中心、设置中心、运行页、开发者诊断页
  • 本地工作区与用户级状态分层
  • content-studiozhongcao、OEM 样板应用目录
  • 更新投影与开发态应用更新 API
  • npm run verify:local,包含 typecheck、build 和 Electron smoke
  • @limecloud/desktop-platform-contracts 契约包
  • samples/zhongcao/manifest.example.jsondocs/v1/zhongcao-integration.md

面向 zhongcao 的使用方式

  • 业务 App 使用同一套 host capability 语义。
  • 登录、模型设置、OEM、billing、更新都由平台提供。
  • 业务 App 只保留自身内容工作流、草稿、素材和发布计划。