Skip to content

feat: 【openscreen】Codexサブスクリプション認証でAI編集を利用できるようにする - #2

Draft
nanameru wants to merge 3 commits into
mainfrom
issue-1-codex-app-server
Draft

feat: 【openscreen】Codexサブスクリプション認証でAI編集を利用できるようにする#2
nanameru wants to merge 3 commits into
mainfrom
issue-1-codex-app-server

Conversation

@nanameru

@nanameru nanameru commented Aug 26, 2026

Copy link
Copy Markdown
Owner

Closes #1

変更概要

  • 公式 codex app-server --stdio を利用するCodexプロバイダーを追加
  • ChatGPTブラウザ認証、接続状態、モデル一覧をnative bridge経由で設定画面へ追加
  • 既存のOpenScreen動画編集ツールをCodex dynamic toolsへ接続
  • Codexのトークンや認証ファイルをOpenScreen側で読まない境界を維持
  • プロジェクト未選択でもCodexのテキストチャットを送受信可能に修正
  • 英語・日本語を含む全localeと test-board.yaml を更新

検証結果

  • Node 22.22.1: Vitest 184 files pass、2174 tests pass、2 skipped
  • tsc: pass
  • renderer/main/preload Vite build: pass
  • i18n check: pass
  • 変更ファイルのBiome check: pass
  • 実Codex: 認証検出、モデル一覧、通常応答、dynamic tool call: pass
  • macOS実装版UI: プロジェクト未選択のまま送信し、Codex返信を受信: pass
  • test-board: TC-001〜TC-008 pass(今回追加: TC-008)

リスク / レビュー観点

  • dynamic toolsはapp-serverのexperimental API capabilityを利用するため、Codex CLIのプロトコル変更時は追従が必要
  • 未ログインの実ブラウザ入力は、現在の端末がログイン済みのため単体テストで検証
  • approvalPolicy: neversandbox: read-only、Web検索無効で起動し、host tool以外を使わないdeveloper instructionを付与
  • プロジェクト未選択時の会話は専用ID __openscreen_unattached_chat__ へ分離し、動画プロジェクトの会話と混在させない

補足

PRタイトルはリポジトリのsemantic PR title CIを通すため feat: を先頭にし、識別子 【openscreen】 を続けています。

@amazon-q-developer amazon-q-developer Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This PR successfully adds Codex subscription authentication to enable AI editing features. The implementation is solid with appropriate security measures including HTTPS validation for auth URLs, read-only sandbox execution, and proper resource cleanup. All 2171 tests pass and the verification results confirm the key functionality works correctly. No blocking issues found.


You can now have the agent implement changes and create commits directly on your pull request's source branch. Simply comment with /q followed by your request in natural language to ask the agent to make changes.


⚠️ This PR contains more than 30 files. Amazon Q is better at reviewing smaller PRs, and may miss issues in larger changesets.

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.

【openscreen】Codexサブスクリプション認証でAI編集を利用できるようにする

1 participant