@yawlabs/caddy-mcp 1.2.5 → 1.2.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/dist/index.js +0 -3
- package/dist/server.js +0 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -80,7 +80,7 @@ That's it. Now ask your AI assistant:
|
|
|
80
80
|
|---|---|---|
|
|
81
81
|
| `CADDY_ADMIN_URL` | `http://localhost:2019` | Caddy admin API URL. Set to `http://caddy:2019` inside Docker, or an https URL for remote admin. |
|
|
82
82
|
| `CADDY_API_TOKEN` | (none) | Optional Bearer token for authenticated admin endpoints. Only needed if you've configured Caddy with auth. |
|
|
83
|
-
| `CADDY_MAX_RETRIES` | `2` | Number of retries on transient failures (5xx, network errors). 4xx and 412 never retry. POSTs to `/config/*` and `/id/*` also skip retry (non-idempotent appends/creates -- retrying could duplicate routes or 409 a half-applied create). POSTs to `/load`, `/adapt`, `/stop` still retry. Hard-capped at 5. Set to `0` to disable. |
|
|
83
|
+
| `CADDY_MAX_RETRIES` | `2` | Number of retries on transient failures (5xx, network errors). 4xx and 412 never retry. POSTs to `/config/*` and `/id/*` also skip retry (non-idempotent appends/creates -- retrying could duplicate routes or 409 a half-applied create). POSTs to `/load`, `/adapt`, `/stop` still retry. Hard-capped at 5; values above the cap log a one-time stderr notice so the clamp is visible. Set to `0` to disable. |
|
|
84
84
|
| `CADDY_LOAD_TIMEOUT` | `60000` | Timeout in ms for the `/load` endpoint; raise for ACME-heavy bring-ups where provisioning many certificates can exceed the default. Non-numeric, `<= 0`, or fractional values below 1ms fall back to the default. |
|
|
85
85
|
|
|
86
86
|
**Alternate MCP clients:**
|
|
@@ -234,7 +234,7 @@ npm install
|
|
|
234
234
|
npm run lint # Biome check
|
|
235
235
|
npm run lint:fix # Auto-fix
|
|
236
236
|
npm run build # tsup bundle
|
|
237
|
-
npm test # Vitest (
|
|
237
|
+
npm test # Vitest (188 unit tests; +8 live-Caddy integration tests gated by CADDY_MCP_INTEGRATION=1)
|
|
238
238
|
npm run typecheck # tsc --noEmit
|
|
239
239
|
```
|
|
240
240
|
|
package/dist/index.js
CHANGED
package/dist/server.js
CHANGED