# Dialup v0.2.0 - Table of Contents

WebSocket-first Elixir framework with auto-generated HTTP MCP APIs

## Pages

- [Dialup](readme-1.md)
- [Dialup (English)](readme-en.md)

- Guides
  - [Dialup Guides](readme-2.md)
  - [Getting Started](getting-started.md)
  - [Fullstack Example](fullstack-example.md)
  - [Routing](routing.md)
  - [State Management](state-management.md)
  - [Lifecycle](lifecycle.md)
  - [Events](events.md)
  - [Building agent-native Dialup applications](agent-native-app-development.md)
  - [HTTP MCP API](mcp-api.md)
  - [Session tokens for HTTP MCP](agent-handoff.md)
  - [Agent pitfalls (Dialup)](agent-pitfalls.md)
  - [Authentication](authentication.md)
  - [ファイルアップロード](file-upload.md)
  - [Helpers](helpers.md)
  - [Testing](testing.md)
  - [Telemetry](telemetry.md)
  - [Deployment](deployment.md)

## Modules

- [Dialup](Dialup.md): Dialup is a WebSocket-first, file-based routing framework for Elixir.
- [Dialup.Agent](Dialup.Agent.md): JSON-RPC/MCP projection for a live Dialup browser session.
- [Dialup.Auth](Dialup.Auth.md): Authentication helpers for Dialup applications.
- [Dialup.Auth.Accounts](Dialup.Auth.Accounts.md): Behaviour implemented by generated `Accounts` contexts.
- [Dialup.Auth.Grants](Dialup.Auth.Grants.md): Helpers for scoping MCP grants based on authentication state.
- [Dialup.Auth.Hash](Dialup.Auth.Hash.md): Password hashing wrapper.
- [Dialup.Auth.Plug](Dialup.Auth.Plug.md): HTTP authentication plug for Dialup applications.
- [Dialup.Auth.SessionToken](Dialup.Auth.SessionToken.md): Opaque session token generation and hashing.
- [Dialup.CommandedContext](Dialup.CommandedContext.md): Application-service facade for Commanded bounded contexts.
- [Dialup.Contexts](Dialup.Contexts.md): Declarative bounded-context map for Dialup Commanded applications.
- [Dialup.Error](Dialup.Error.md): エラーページのビヘイビア。`render/2` でステータスコードごとに表示を分岐する。
layout と同様にディレクトリ階層で継承される。

- [Dialup.Layout](Dialup.Layout.md): The behaviour and macro for Dialup layout modules.
- [Dialup.Page](Dialup.Page.md): The behaviour and macro for Dialup page modules.
- [Dialup.Reloader](Dialup.Reloader.md): 開発時のホットリロード。ソースファイルをポーリングし、変更を検知したら
再コンパイル → 全セッションに通知する。Phoenix.CodeReloader の設計を参考にしている。

- [Dialup.Session](Dialup.Session.md): Issues scoped capability grants and headless sessions for HTTP MCP.
- [Dialup.SessionStore](Dialup.SessionStore.md): ETS ベースのセッション永続化ストア。プロセス終了時にセッション状態を保存し、
再起動後に復元可能にする。オプトイン方式。

- [Dialup.Telemetry](Dialup.Telemetry.md): Dialup フレームワークの Telemetry イベント定義とヘルパー。
- [Dialup.Test](Dialup.Test.md): ページの mount / イベント / レンダリングを GenServer や WebSocket を起動せずに
直接テストするためのヘルパー。

## Mix Tasks

- [mix dialup.context_map](Mix.Tasks.Dialup.ContextMap.md): Generates a Mermaid context map from `Dialup.Contexts` declarations.
- [mix dialup.gen.aggregate](Mix.Tasks.Dialup.Gen.Aggregate.md): Generates Commanded aggregate scaffolding for a Dialup application.
- [mix dialup.gen.auth](Mix.Tasks.Dialup.Gen.Auth.md): Generates authentication scaffolding for a Dialup application.
- [mix dialup.new](Mix.Tasks.Dialup.New.md): Creates a new Dialup project.

