Skip to content

Commit 90ebc49

Browse files
proggeramlugclaude
andcommitted
docs: comprehensive perry.toml reference and geisterhand rewrite
Add perry-toml.md covering all config sections, fields, bundle ID resolution, env vars, CI/CD patterns. Rewrite geisterhand.md with full API reference, test automation patterns, architecture details, and troubleshooting guide. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 8ae44f3 commit 90ebc49

6 files changed

Lines changed: 1176 additions & 90 deletions

File tree

CLAUDE.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ This file provides guidance to Claude Code (claude.ai/code) when working with co
88

99
Perry is a native TypeScript compiler written in Rust that compiles TypeScript source code directly to native executables. It uses SWC for TypeScript parsing and Cranelift for code generation.
1010

11-
**Current Version:** 0.2.194
11+
**Current Version:** 0.2.195
1212

1313
## Workflow Requirements
1414

@@ -153,6 +153,10 @@ Projects can list npm packages to compile natively instead of routing to V8. Con
153153

154154
## Recent Changes
155155

156+
### v0.2.195
157+
- **Documentation: comprehensive perry.toml reference**: `docs/src/cli/perry-toml.md` — every section (`[project]`, `[app]`, `[build]`, `[macos]`, `[ios]`, `[android]`, `[linux]`, `[publish]`, `[audit]`, `[verify]`), all fields with types/defaults, bundle ID resolution order, entry file resolution, build number auto-increment, distribution modes, environment variables, global config (`~/.perry/config.toml`), CI/CD example; linked from SUMMARY.md, project-config.md, and commands.md
158+
- **Documentation: comprehensive geisterhand reference**: rewrote `docs/src/testing/geisterhand.md` — full API reference (all 14 HTTP endpoints with request/response formats), widget type and callback kind tables, platform setup for all 5 platforms + iOS device, test automation patterns (shell scripts, Python, CI pipelines, visual regression, chaos stress testing), architecture diagram, thread safety model, NaN-boxing bridge details, build system (auto-build, feature flags, manual cross-compilation, separate target dir), troubleshooting guide
159+
156160
### v0.2.194
157161
- **CLI: platform as positional arg for `run` and `publish`**: `perry run ios`, `perry publish macos` instead of `--ios`/`--macos` flags — platform is the primary selector, not a composable modifier; shared `Platform` ValueEnum (macos/ios/android/linux/windows/web); `perry compile --target` unchanged (file is the primary arg there); updated docs and error messages
158162

docs/src/SUMMARY.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@
8282

8383
- [Commands](cli/commands.md)
8484
- [Compiler Flags](cli/flags.md)
85+
- [perry.toml Reference](cli/perry-toml.md)
8586

8687
---
8788

docs/src/cli/commands.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
Perry provides 9 commands for compiling, checking, running, publishing, and managing your projects.
44

5+
See also: [perry.toml Reference](perry-toml.md) for project configuration.
6+
57
## compile
68

79
Compile TypeScript to a native executable.

0 commit comments

Comments
 (0)