tree: 664c737f130688f6dfdfaf1be0d643aa67c4d50c [search]
  1. acp/
  2. bundle/
  3. cli/
  4. client/
  5. desktop-shell/
  6. native/
  7. terminal-shell/
  8. README.md
  9. README.zh-CN.md
products/maka/README.md

Maka product

简体中文

This directory turns reusable plugins and platform owners into the Maka application.

DirectoryRole
bundleSelect packages and author Host/UI compositions
nativeSelect compiled Host factories
cliStart the terminal product and expose CLI commands
desktop-shellRun the authored desktop app against public Host services
acpServe editor clients over ACP

Run just run from the repository root. It builds the TypeScript product first, then starts Cargo. Development binaries read the bundle from disk, so a TypeScript-only edit does not invalidate Rust compilation. Release binaries embed the same bundle.

Build the CLI and desktop shell with just build (--release and --target are supported). The build stages the authored app beside the shell executable. Run target/debug/maka desktop --root HOST_ROOT to initialize or reopen a business Host and launch the desktop from any working directory. The launcher verifies its endpoint and epoch and retains its own client until the child exits.

In the terminal interface, choose the shared language under Settings → Appearance → Language. It saves automatically in the business Root, separately from each terminal interface’s theme and custom colors. Other open terminal interfaces refresh their language when revisiting settings or using an explicit refresh; saving does not broadcast continuous updates. Previous per-interface language choices must be selected once again; appearance data is retained.

This preference also selects builtin Agent instructions for new work in existing conversations and WorkHub. Already accepted work retains its language; user content and custom instructions remain unchanged.

Bundled packages are installation inputs. Reopening an existing installation uses its committed source and package bytes; rebuilding the checkout does not overwrite a user's composition.

On macOS or Linux, measure concurrent agents with cargo test --release -p maka-agent-native --lib --no-run, then pass the printed test executable to python3 scripts/agent-scale.py --binary PATH. The default runs five trials each at 10, 100 and 1000 agents through the actual Host, native owner and shared model SDK. A local HTTP fixture holds every request open before streaming; the benchmark verifies durable output, cancellation, socket cleanup and recovery. The JSON report retains all samples, foreground query latency, CPU and peak memory. Run without competing builds; these measurements exclude TUI rendering and external model latency.