Skip to content

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

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

feat(extension): 支持 Twitter setup wizard#65
xiaoland wants to merge 17 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 验收完成前请勿合并。

- 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
- adopt the first-party Extension release contract
- preserve setup wizard publication safeguards against the new selector
- 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
…wizard-core-peer

# Conflicts:
#	extensions/AGENTS.md
#	pdm.lock
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