From c704e65fd016fca4d5e79965a2bbfce8c825606c Mon Sep 17 00:00:00 2001 From: Charles Packer Date: Sun, 14 Dec 2025 15:24:15 -0800 Subject: [PATCH] Create CONTRIBUTING.md --- CONTRIBUTING.md | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 CONTRIBUTING.md diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md new file mode 100644 index 0000000..8ce49ff --- /dev/null +++ b/CONTRIBUTING.md @@ -0,0 +1,39 @@ +# Contributing to Letta Code + +## Fork the repo + +Fork the repository on GitHub by [clicking this link](https://github.com/letta-ai/letta-code/fork), then clone your fork: + +```bash +git clone https://github.com/your-username/letta-code.git +cd letta-code +``` + +## Installing from source + +Requirements: +* [Bun](https://bun.com/docs/installation) + +### Run directly from source (dev workflow) +```bash +# install deps +bun install + +# run the CLI from TypeScript sources (pick up changes immediately) +bun run dev +bun run dev -- -p "Hello world" # example with args +``` + +### Build + link the standalone binary +```bash +# build bin/letta (includes prompts + schemas) +bun run build + +# expose the binary globally (adjust to your preference) +bun link + +# now you can run the compiled CLI +letta +``` + +Whenever you change source files, rerun `bun run build` before using the linked `letta` binary so it picks up your edits.