diff --git a/Directory.Build.props b/Directory.Build.props
index 5f6a4e2..c52a396 100644
--- a/Directory.Build.props
+++ b/Directory.Build.props
@@ -11,6 +11,8 @@
https://github.com/Chrison-dev/ProxmoxSharp
git
MIT
+
+ README.md
true
embedded
@@ -21,4 +23,9 @@
false
+
+
+
+
+
diff --git a/README.md b/README.md
index 9c956ef..a6c18c8 100644
--- a/README.md
+++ b/README.md
@@ -1,22 +1,38 @@
# ProxmoxSharp
+[](https://www.nuget.org/packages/Chrison.ProxmoxSharp/)
+[](https://www.nuget.org/packages/Chrison.ProxmoxSharp/)
+[](https://github.com/Chrison-dev/ProxmoxSharp/actions/workflows/ci.yml)
+[](https://github.com/Fallout-build/Fallout)
+[](LICENSE)
+
A C# API client for Proxmox VE โ **mostly code-generated from Proxmox's own
published API schema**, with a thin hand-written runtime for auth and transport.
-Built to be dogfooded by the [Homelab](https://github.com/Chrison-dev/Homelab)
+```sh
+dotnet add package Chrison.ProxmoxSharp
+dotnet tool install -g Chrison.ProxmoxSharp.Cli # the `proxmoxsharp` CLI
+```
+
+Built to be dogfooded by the [Homelab](https://github.com/Chrison-Homelab/Homelab)
hub's C#-native IaC (the Discover โ Converge path). Design + roadmap live in the
hub at `docs/plans/BL-009-proxmoxsharp-codegen.md`.
## Approach
+```mermaid
+flowchart LR
+ APIDOC["๐ apidoc.js
(pinned, from our node)"] --> SG["๐ง ProxmoxSharp.SchemaGen
apidoc โ OpenAPI 3.0"]
+ SG --> KIOTA["โ๏ธ Kiota (pinned tool)
generate C# client"]
+ KIOTA --> API["๐ฆ ProxmoxSharp.Api
generated ยท tracks PVE version"]
+ API --> RT["โ๏ธ ProxmoxSharp
hand-written runtime
(token auth ยท {data:โฆ} envelope)"]
+ RT --> CLI["๐ฅ๏ธ proxmoxsharp CLI"]
+ classDef gen fill:#e0e7ff,stroke:#4f46e5;
+ class API gen;
```
-apidoc.js (version-matched, pulled from our node)
- โ ProxmoxSharp.SchemaGen โ OpenAPI 3.0
- โผ
-Kiota (pinned dotnet tool) โ generated C# request builders + models (ProxmoxSharp.Api)
- โผ
-ProxmoxSharp = hand-written runtime over it (PVEAPIToken auth, {data:โฆ} envelope)
-```
+
+The generated client is **regenerated on build** (incrementally โ only when the
+schema changes) and **not committed**.
The generated client is **regenerated on build** (incrementally โ only when the
schema changes) and **not committed**. Day-to-day work on the hand-written
diff --git a/src/ProxmoxSharp/ProxmoxSharp.csproj b/src/ProxmoxSharp/ProxmoxSharp.csproj
index f7990db..8696ee7 100644
--- a/src/ProxmoxSharp/ProxmoxSharp.csproj
+++ b/src/ProxmoxSharp/ProxmoxSharp.csproj
@@ -10,7 +10,7 @@
Bumped to 0.2.0 so the active 0.2.0-preview.N line outranks the earlier
0.1.0 stable in NuGet ordering โ a `0.1.0-preview.*` float would otherwise
resolve the stale 0.1.0 stable (prereleases sort below their release). -->
- 0.2.0
+ 0.2.1