Skip to content

[Matrix] Phase 1: Configuration Types and Loading #778

@alacy-centrl

Description

@alacy-centrl

Overview

Add Matrix channel configuration types and loading logic to support multiple Matrix accounts.

Tasks

  • Add MatrixIdentity type to config.ts
  • Update ChannelName type to include "matrix"
  • Implement coerceMatrixAccounts() function
  • Update OpenCodeRouterConfigFile type for Matrix support
  • Add environment variable support (MATRIX_HOMESERVER_URL, MATRIX_ACCESS_TOKEN)

Acceptance Criteria

  • Configuration types compile without errors
  • Can parse Matrix config from JSON file
  • Supports multiple Matrix accounts
  • Backward compatible with existing Telegram/Slack config

Estimated Time

2 days

Dependencies

None

Technical Details

See full plan: https://github.com/users/alacy-centrl/projects/2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions