Skip to content

feat(extension): 添加 Twitter setup wizard - #71

Merged
xiaoland merged 12 commits into
mainfrom
feat/extension-setup-wizard-web-peer
Aug 25, 2026
Merged

xiaoland merged 12 commits into
mainfrom
feat/extension-setup-wizard-web-peer

Conversation

@xiaoland

Copy link
Copy Markdown
Member

变更

  • 在 Extension 卡片增加 setup 入口与 Extension 自有多步骤 popup
  • 支持选择 Peer 并启用/停用 Extension
  • 恢复 Settings 中 Peer config 与 Registry origin 配置流程
  • Web Peer 使用字段受限的普通 peers upsert 注册 runtime facts

边界

  • client-web 只拥有 popup;stepper 与内容归 Twitter Web Extension
  • setup 面向整个 Extension,不绑定单个 Core Peer
  • Preview 验收只到 Twitter setup popup 成功打开

验证

  • pnpm check
  • 36 test files / 137 tests
  • 全 workspace type-check/build/package contract
  • git diff --check

本 PR 取代 #68 的实现方向;在 Preview 验收完成前请勿合并。

@xiaoland
xiaoland force-pushed the feat/extension-setup-wizard-web-peer branch from 47b5405 to 78cac8b Compare August 24, 2026 02:52
- add extension-owned multi-step setup popup
- restore peer registration and settings lifecycle
- support per-peer extension control and registry overrides
- update reactive PostgREST transport before immediate bootstrap queries
- cover config cutover followed by a same-tick database request
- use fixed OAuth capabilities and ordinary Source, Cron, and Job models
- separate Bookmark Source selection, creation, and scheduling in the wizard
- publish the immutable Web Distribution as 0.2.1
- 由 Client Web 组合 Registry、Module Federation 与 Extension manager
- 通过已发布 tgz 接入 Runtime 0.1.0 并提升 Host SDK 至 0.1.2
- 适配精确 Peer 启停并保留 Twitter setup popup
- upgrade the frozen Extension Toolkit to 0.2.1\n- rebuild the PDM lock from the independent release
- publish the setup wizard Module Federation snapshot as 0.2.0\n- keep the Web and Core distributions in one Extension release
- Check Health 主动请求公开 readyz 端点
- 数据库 lease 继续作为在线状态权威
- 相对 Peer public base URL 拼接 readyz
- 将无效 Peer URL 隔离为单项探测失败
- 保留 TwitterSetupAPI 作为领域 facade
- 区分无 body 请求与 JSON body 请求
- 公开既有 Peer request schema 供调用方推导输入类型
- Check Health 请求轻量的 /livez 端点
- 保留数据库 lease 作为在线状态权威
- 从 ExtensionModel 读取并回填 OAuth App 配置
- 通过 InkForm 渲染字段并同步发布 Web Distribution 0.2.1
- 后续 jobs 只消费已选择的 immutable image
- 删除对 mutable stable tag 的事后竞争检查
@xiaoland
xiaoland merged commit bf27db6 into main Aug 25, 2026
9 checks passed
@xiaoland
xiaoland deleted the feat/extension-setup-wizard-web-peer branch August 31, 2026 14:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant