feat(ios): align Desktop draft, models, goal bar, turn rail, and scroll-up parity

- Replace mandatory upfront title/directory modal with Desktop-parity local Draft flow triggered from project '+' or top '+', calling agent.create with automaticTitle=true on first send and handing off to agent.send with generation fencing and disconnect draft recovery.
- Add dedicated NewRoomOverlay, browsable WorkspacePickerOverlay (projects + paginated DirectoryPage::Children), and ModelPickerOverlay (agent.models + thinkingLevels + agent.selectBackend).
- Align Host-driven session catalog (All / Needs You with needsYouCount / Archived, search, after pagination with query-generation fencing and concurrency deduplication), inline header rename + drawer session actions (agent.metadata rename/pin, agent.changeSession archive/restore/remove), unread markRead, empty project visibility, and orphan-safe subsession trees.
- Fix chat scroll-up lockout (minHeight: 0 on all flex ancestors, height-growth-gated auto-follow, pure scrollable message text) and add right-edge TurnRail navigation + docked GoalBar subscribing to agent.goal/watchGoal with agent.changeGoal controls and revision monotonicity protection.
- Harden approval and send boundaries: check recorded vs rejected on respond, support PermissionScope::Run, hide Allow once when toolUseId is null, support AskUserQuestion skip and system_permission_cancel, and restore draft on rejected sends.
- Add real maka_agent_api::contract()-validated behavioral regression tests covering every Desktop parity and fencing path (22/22 tests passing).
8 files changed
tree: 1ccd97ca1d376fe497b52ab679593700d260cb54
  1. .cargo/
  2. .config/
  3. .github/
  4. .husky/
  5. assets/
  6. docs/
  7. packages/
  8. patches/
  9. platform/
  10. plugins/
  11. products/
  12. scripts/
  13. skills/
  14. third-party/
  15. tools/
  16. website/
  17. .asf.yaml
  18. .coderabbit.yaml
  19. .git-blame-ignore-revs
  20. .gitattributes
  21. .gitignore
  22. .mailmap
  23. .pr_agent.toml
  24. AGENTS.md
  25. ARCHITECTURE.md
  26. ARCHITECTURE.zh-CN.md
  27. biome.jsonc
  28. Cargo.lock
  29. Cargo.toml
  30. CONTRIBUTING.md
  31. CONTRIBUTING.zh-CN.md
  32. deny.toml
  33. DESIGN.md
  34. DISCLAIMER
  35. justfile
  36. LICENSE
  37. NOTICE
  38. package-lock.json
  39. package.json
  40. README.md
  41. README.zh-CN.md
  42. rust-toolchain.toml
  43. SECURITY.md
README.md

简体中文

Apache Maka (Incubating) is a local-first agent workspace for the terminal and desktop. A background Rust Runtime Host owns model execution, sandboxing, permissions, and SQLite state, keeping an auditable record of every run, approval, and tool receipt.

Quick start

Prerequisites: Rust stable, Node.js 24+ (CI uses 26), npm, and just. Native Computer Use also requires Xcode Command Line Tools on macOS or X11 development libraries on Linux.

git clone https://github.com/apache/maka.git
cd maka
just setup
just run

just run launches the terminal workbench and connects to (or starts) the local Host at ~/.maka/application/host. Pass --root <path> to use a different State Root, --session <id> to open an existing conversation, or --help to inspect CLI subcommands.

To build release binaries for both the CLI and the native desktop window:

just build --release
target/release/maka desktop

On macOS, just build stages Maka.app alongside maka; on Windows, binaries carry .exe. Both the terminal and desktop shells run the same NSH workbench UI against the same Host process—closing the window detaches the UI while in-flight work finishes in the background.

In WSL, just run skips the Linux native-desktop feature and bridges Computer Use to the Windows desktop by default. Point MAKA_CUA_WINDOWS_EXECUTABLE to a matching Windows maka.exe when running from source; see Computer Use.

Repository layout

DirectoryRole
platform/Plugin kernel, SQLite event log, Host runtime, V8/Python sandboxes, OS isolation, and Computer Use
plugins/Agent runtime, workspace tools, skills, settings, interactions, and shared domain contracts
products/maka/Product composition, NSH workbench, CLI, ACP server, and terminal/desktop shells
products/eval/Containerized Harbor evaluation runner against the native Host
packages/plugin-sdk/Generated TypeScript contracts and helpers for Host and NSH UI plugins
packages/cli/@maka-agent/cli npm launcher for platform-native binaries
scripts/rust/Native packaging, V8 prebuilt management, license checks, and CI suite runner
website/Project website (independent package manifest and lockfile)

Run just --list to see common development recipes. Further reading: Architecture, UI Design, Contributing, and Security.

Distribution

Apache Releases: The latest approved release is Apache Maka 0.2.2 (incubating). The signed source archive is the official release; see the downloads page and .github/ASF_SOURCE_RELEASE.md for verification instructions.

Convenience builds: @maka-agent/cli is a thin npm wrapper that dispatches to a platform-specific native binary package built from a single verified source archive; see packages/cli.

Apache Maka is an effort undergoing incubation at The Apache Software Foundation (ASF). See DISCLAIMER, LICENSE, and NOTICE.