@@ -26,3 +26,3 @@ { | ||
| "name": "patchloom", | ||
| "version": "0.19.0" | ||
| "version": "0.20.0" | ||
| }, | ||
@@ -546,3 +546,3 @@ "node_modules/@isaacs/cliui": { | ||
| "requires": true, | ||
| "version": "0.19.0" | ||
| "version": "0.20.0" | ||
| } |
+2
-2
| { | ||
| "artifactDownloadUrls": [ | ||
| "https://github.com/patchloom/patchloom/releases/download/patchloom-v0.19.0" | ||
| "https://github.com/patchloom/patchloom/releases/download/patchloom-v0.20.0" | ||
| ], | ||
@@ -136,3 +136,3 @@ "author": "Sebastien Tardif", | ||
| }, | ||
| "version": "0.19.0", | ||
| "version": "0.20.0", | ||
| "volta": { | ||
@@ -139,0 +139,0 @@ "node": "18.14.1", |
+4
-4
@@ -13,3 +13,3 @@ <p align="center"> | ||
| [](#) | ||
| [](#) | ||
| [](https://github.com/patchloom/patchloom/actions/workflows/ci.yml) | ||
@@ -336,7 +336,7 @@ [](https://www.bestpractices.dev/projects/13097) | ||
| // Sole-path text load: binary / invalid UTF-8 → EditErrorKind::InvalidInput | ||
| // Sole-path text load: binary → EditErrorKind::Binary; invalid UTF-8 → InvalidEncoding | ||
| let _text = api::load_text(Path::new("notes.md"))?; | ||
| ``` | ||
| All API types are `Send + Sync`. Beyond the `api` module, utility modules are also public: `containment` (workspace path guarding), `exec` (shell command execution), `files` (file-walking, `load_text_strict`, binary detection), `backup` (`restore_path_from_latest_backup` for post-Apply validate/revert), and `write` (atomic file writes with policy transformations). Library users needing temp dirs (e.g. agents) can use `PathGuard::builder(cwd).allow_temp_directory()` (handles /tmp on macOS); see the `containment` and `api` module rustdocs. Multi-doc bare keys and wrong-root merges peel to `EditErrorKind::TypeError` via `edit_error_kind`. Create/rename dest-exists peels to `EditErrorKind::AlreadyExists` (or `api::is_already_exists` / `api::error_kind_str` for CLI-stable `"already_exists"` strings). Fine-grained kinds also have bool peels (`is_not_found`, `is_conflicts`, `is_changes_detected`, `is_type_error`, `is_format_failed`, `is_guard_rejected`, `is_invalid_input`, `is_no_match`) matching `edit_error_kind`. | ||
| All API types are `Send + Sync`. Beyond the `api` module, utility modules are also public: `containment` (workspace path guarding), `exec` (shell command execution), `files` (file-walking, `load_text_strict`, binary detection), `backup` (`restore_path_from_latest_backup` for post-Apply validate/revert), and `write` (atomic file writes with policy transformations). Library users needing temp dirs (e.g. agents) can use `PathGuard::builder(cwd).allow_temp_directory()` (handles /tmp on macOS); see the `containment` and `api` module rustdocs. Multi-doc bare keys and wrong-root merges peel to `EditErrorKind::TypeError` via `edit_error_kind`. Create/rename dest-exists peels to `EditErrorKind::AlreadyExists` (or `api::is_already_exists` / `api::error_kind_str` for CLI-stable `"already_exists"` strings). Fine-grained kinds also have bool peels (`is_not_found`, `is_conflicts`, `is_changes_detected`, `is_type_error`, `is_format_failed`, `is_guard_rejected`, `is_invalid_input`, `is_no_match`, `is_ambiguous`) matching `edit_error_kind`. | ||
@@ -478,3 +478,3 @@ Replace fail-closed / shell-token options: CLI `replace --require-change` and `--command-position` (also plan/MCP fields and `ReplaceOptions` on the library). Library-only AST mutators: `ast_rename` / `ast_replace_in_symbol` / `ast_rename_batch` (feature `ast` + `files`), and `FunctionSigEdit::parse_rust`. Full surface: [docs.rs/patchloom](https://docs.rs/patchloom). | ||
| 3800+ tests across 23 commands. Tested with Grok 4.3, GPT-5.4, and Claude Opus 4.6. | ||
| 3900+ tests across 23 commands. Tested with Grok 4.3, GPT-5.4, and Claude Opus 4.6. | ||
@@ -481,0 +481,0 @@ | Component | Status | |
Sorry, the diff of this file is too big to display
AI-detected potential code anomaly
Supply chain riskAI has identified unusual behaviors that may pose a security risk.
Found 2 instances
AI-detected potential code anomaly
Supply chain riskAI has identified unusual behaviors that may pose a security risk.
Found 2 instances
269186
0.7%