Skip to content

feat(extension): 支持 Twitter setup wizard - #65

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

xiaoland merged 16 commits into
mainfrom
feat/extension-setup-wizard-core-peer

Conversation

@xiaoland

Copy link
Copy Markdown
Member

变更

  • 为 Extension Host 增加受控的 config/state 与公开 OAuth callback 生命周期
  • 实现 Twitter 整体 setup 流程、OAuth、Bookmark Source/Cron 配置
  • 支持 Peer config 覆盖 Extension Registry origin
  • 保持单用户产品边界:Source 直接创建、Cron 显式 create/update、立即执行使用 run_now

边界

  • 不包含 register_peer RPC
  • 不引入通用 target/binding 模型
  • 不执行真实 X OAuth 黑盒流程;本 PR Preview 只验收到 setup popup 可打开

验证

  • PDM 2.27.0 pdm run check
  • 487 passed, 41 skipped
  • migration head c6d7e8f9a0b1
  • git diff --check

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

@xiaoland
xiaoland force-pushed the feat/extension-setup-wizard-core-peer branch from 5cda143 to cdf578e Compare August 24, 2026 02:58
@xiaoland
xiaoland force-pushed the feat/extension-setup-wizard-core-peer branch from e3e3742 to 2849057 Compare August 24, 2026 06:22
- add extension-owned state and OAuth setup flow
- expose peer-aware registry and setup runtime contracts
- keep source, cron, and job operations simple for a single-user deployment
- distinguish token exchange from current-user lookup failures
- report safe provider HTTP status without leaking response bodies
- declare the 0.2.0 guided OAuth and Bookmark Source setup flow
- require exact built-in Core advertisements
- preserve independently published Extension capabilities
- replace the setup action bus with fixed semantic Peer capabilities
- keep Source, Cron, and Job composition outside the Core Distribution
- publish the immutable Python Distribution as 0.2.1
- preserve the exact Changie formatting required by release-intent checks
- preserve the exact Changie merge spacing required by CI
- compose Core Host through the ext-reg Runtime wheel facades
- attach setup migration to the current production head
- preserve Twitter OAuth setup across the consumer cutover
- restore the delivered setup revision bytes and integrity digest
- converge setup and current main through an append-only merge revision
- refresh the compatibility config attribute after Runtime mutations
- upgrade the frozen Extension Toolkit to 0.2.1\n- rebuild the PDM lock from the independent release
- keep the unreleased OAuth refactor within Twitter 0.2.0\n- align the Core wheel with the Web Distribution and deployment installation
- update the Core Python Host Runtime to released 0.1.1
- finalize preview wheels through the Extension Developer Toolkit
- keep the sibling Registry inventory limited to consumable distributions
- keep preview tooling out of the ordinary Core development dependency surface
- consume the published inkcre-ext command contract for Distribution finalization
- 从 setup response 删除 deployment config 投影
- 通过 Changie 发布 Python Distribution 0.2.1
- 保留失败 Extension 的 enabled 意图与异常日志
- 允许 Core 发布基础 Peer 管理能力以恢复状态
@xiaoland
xiaoland force-pushed the feat/extension-setup-wizard-core-peer branch from ead37d1 to cc96b4c Compare August 25, 2026 08:16
@xiaoland
xiaoland merged commit d0a7508 into main Aug 25, 2026
5 of 6 checks passed
@xiaoland
xiaoland deleted the feat/extension-setup-wizard-core-peer branch August 31, 2026 14:01

This branch was previously deployed

1 inactive deployment
preview — cc96b4c1 Deployed Aug 25, 2026 by xiaoland via Retire preview resources #225
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