Skip to content

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

Open
xiaoland wants to merge 14 commits into
mainfrom
feat/extension-setup-wizard-core-peer
Open

feat(extension): 支持 Twitter setup wizard#65
xiaoland wants to merge 14 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
@xiaoland
xiaoland force-pushed the feat/extension-setup-wizard-core-peer branch from 7ea09d4 to 4fd3dd0 Compare August 24, 2026 09:16
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