diff --git a/CLAUDE.md b/AGENTS.md similarity index 99% rename from CLAUDE.md rename to AGENTS.md index c32a3a1..5094fb3 100644 --- a/CLAUDE.md +++ b/AGENTS.md @@ -1,4 +1,4 @@ -# CLAUDE.md +# AGENTS.md This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository. @@ -139,7 +139,7 @@ Basedpyright `recommended`. Ruff includes `ANN` (private return types `ANN202` i - G3: multiline `"""` … `"""` input (`cli/input_text.py`); `/edit` via `$EDITOR` (`edit_text_in_editor`) - G4: `plyngent chat -p/--prompt` (+ non-TTY stdin); exit codes 0/1/2/3; `--yes` / non-interactive confirm deny; `--stream/--no-stream`, `--quiet` - G5: PTY master FD non-inheritable; `read_pty`/`close_pty` via `to_thread`; `PtyManager.close_all()` on chat exit; `--log-level`; clearer invalid TOML errors; export/status stay secret-free - - G6: README, `doc/plyngent.example.toml`, CLAUDE overview/CLI notes + - G6: README, `doc/plyngent.example.toml`, AGENTS overview/CLI notes Phase G complete for single-user CLI polish. Next roadmap work is Phase H or optional F (cost/tokenizer). diff --git a/README.md b/README.md index 95ead20..c8638e5 100644 --- a/README.md +++ b/README.md @@ -302,7 +302,7 @@ plyngent --log-level INFO chat ... ## Architecture (short) -See [doc/architecture.md](doc/architecture.md) and [CLAUDE.md](CLAUDE.md) for developers. +See [doc/architecture.md](doc/architecture.md) and [AGENTS.md](AGENTS.md) for developers. - **`lmproto/`** — OpenAI-compatible, OpenAI Responses, Anthropic Messages, DeepSeek msgspec models and async SSE clients - **`agent/`** — kind-based tool loop (`chat_completions` / `responses` / `messages`), streaming, usage, compact diff --git a/scripts/wine_env.py b/scripts/wine_env.py index 5a1e419..3072c59 100644 --- a/scripts/wine_env.py +++ b/scripts/wine_env.py @@ -22,7 +22,7 @@ DEFAULT_WIN_PYTHON = "3.14" DEFAULT_WIN_UV_VERSION = "0.11.28" # typings/ is required for Wine basedpyright: pywinpty's shipped types are incomplete # (e.g. kill(sig) required); pyright default stubPath is ``typings/``. -VIEW_LINKS = ("src", "tests", "scripts", "typings", "README.md", "LICENSE", "CLAUDE.md", "doc") +VIEW_LINKS = ("src", "tests", "scripts", "typings", "README.md", "LICENSE", "AGENTS.md", "doc") VIEW_COPIES = ("pyproject.toml", "pdm.lock")