mo
docs: project documentation — guides, FAQ, architecture, security policy and contribution workflow
a9876bc |
Download CONTRIBUTING.md from aiagentmona/mona-agent: direct link, hf CLI and curl.
- Browser
- Download file 1.43 kB
-
https://huggingface.co/aiagentmona/mona-agent/resolve/main/CONTRIBUTING.md
- Command line
-
hf download hf://aiagentmona/mona-agent/CONTRIBUTING.md
-
curl -L -o CONTRIBUTING.md https://huggingface.co/aiagentmona/mona-agent/resolve/main/CONTRIBUTING.md
1.43 kB
Contributing to mona-agent
Thanks for helping build the open-source client! This file tells you how to set up, test and propose changes.
Setup
git clone git@github.com:MONAEXPERT/agent.git
cd agent
npm install
Requirements: Node.js ≥ 20, npm ≥ 9. No build step — plain ESM.
Layout
apps/desktop/ the device agent (CLI, daemon, TUI, tools, tests)
packages/engine/ cloud-brain client (self-contained)
packages/protocol/ typed message schemas
docs/ user + architecture docs
Testing
npm test
The suite covers the control channel (against a fake in-process server), the agent loop, tool behavior and the TUI scrollback. Please keep it green and add tests for new behavior.
Conventions
- Plain modern JavaScript, ES modules, no build step.
- Keep the runtime dependency count at one (
ws). Prefer Node built-ins. - Commands executed by
tools/shellmust pass the guard allowlist — never weaken the guard to make a test pass. - Commits:
type(scope): summary(feat, fix, docs, refactor, test). - The public repo contains client code only. Server-side code must not be committed here (SaaS boundary).
Pull requests
- Fork, branch, implement, test.
npm testgreen.- Open a PR with a clear description of what/why.
- One logical change per PR. Small is beautiful.
Code of Conduct
See CODE_OF_CONDUCT.md.