Skip to content

Extract core/api to KMP shared module for future iOS support #74

Description

@yuga-hashimoto

現状

  • core/api/(OpenCodeApiClient, SSE parser, event models)はプラットフォーム非依存だが Android モジュール内に存在

推奨

  • shared KMP モジュールに API クライアント・SSE パーサー・イベントモデルを抽出
  • Android app は shared モジュールを依存として使用
  • 将来の iOS クライアントで再利用可能に

根拠

  • Continue.dev は core/ をプラットフォーム非依存に分離
  • PocketPal も core engine と UI を分離
  • OpenCode の REST/SSE API はプラットフォーム非依存なので KMP 化の恩恵が大きい

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions