Skip to content

Latest commit

 

History

History
72 lines (50 loc) · 2.51 KB

File metadata and controls

72 lines (50 loc) · 2.51 KB

idx0 Documentation Hub

Last updated: 2026-03-25

This folder is the contributor handbook for idx0, a native macOS session-first terminal app built with SwiftUI + AppKit + libghostty.

Start Here

Repository Snapshot (2026-03-22)

  • Swift files in app/tests/package targets: 161
  • Approx Swift LOC: 35,907
  • Main app target: idx0 (macOS 14+, Swift 6)
  • Test target: idx0Tests
  • External runtime dependency: ghostty submodule + GhosttyKit.xcframework symlinked into repo root

Documentation Map

Core Contributor Guides

Architecture Guides

Existing Reference Docs (kept and still valid)

Core Commands

From repo root:

# One-time setup (submodule + GhosttyKit build/link)
./scripts/setup.sh

# Regenerate project from project.yml
xcodegen generate

# Build tests and app
xcodebuild -project idx0.xcodeproj -scheme idx0 -destination 'platform=macOS' test

# Maintainability policy gate
./scripts/maintainability-gate.sh

# Core coverage gate
./scripts/coverage-core.sh

Contributor Safety Notes

  • Do not edit ghostty/ casually. Treat it as an upstream dependency unless a change is explicitly intended.
  • Keep command-surface parity intact: menu, shortcuts, command palette, and IPC should map to the same action model.
  • Update docs in the same PR for architecture, workflow, schema, IPC, or command-surface changes.