@switchbot/openapi-cli 3.5.0 โ 3.6.1
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 +3 -3
- package/dist/index.js +2389 -1656
- package/package.json +3 -1
package/README.md
CHANGED
|
@@ -63,7 +63,7 @@ Under the hood every surface shares the same catalog, cache, and HMAC client โ
|
|
|
63
63
|
- ๐จ **Dual output modes** โ colorized tables by default; `--json` passthrough for `jq` and scripting
|
|
64
64
|
- ๐ **Secure credentials** โ HMAC-SHA256 signed requests; config file written with `0600`; env-var override for CI
|
|
65
65
|
- ๐ **Dry-run mode** โ preview every mutating request before it hits the API
|
|
66
|
-
- ๐งช **Fully tested** โ
|
|
66
|
+
- ๐งช **Fully tested** โ 2391 Vitest tests, mocked axios, zero network in CI
|
|
67
67
|
- โก **Shell completion** โ Bash / Zsh / Fish / PowerShell
|
|
68
68
|
|
|
69
69
|
## Requirements
|
|
@@ -633,7 +633,7 @@ switchbot doctor
|
|
|
633
633
|
switchbot doctor --json
|
|
634
634
|
```
|
|
635
635
|
|
|
636
|
-
Runs local checks (Node version, credentials, profiles, catalog, catalog-schema, cache, quota, clock, MQTT, policy, MCP, keychain, path, inventory, audit, daemon, health, notify-connectivity, release-notes) and exits 1 if any check fails. `warn` results exit 0. The MQTT check reports `ok` when REST credentials are configured (auto-provisioned on first use). The `notify-connectivity` check probes webhook URLs declared in `type: notify` actions. Use this to diagnose connectivity or config issues before running automation.
|
|
636
|
+
Runs local checks (Node version, credentials, profiles, catalog, catalog-schema, catalog-coverage, cache, quota, clock, MQTT, policy, MCP, keychain, path, inventory, audit, daemon, health, notify-connectivity, release-notes) and exits 1 if any check fails. `warn` results exit 0. The MQTT check reports `ok` when REST credentials are configured (auto-provisioned on first use). The `notify-connectivity` check probes webhook URLs declared in `type: notify` actions. Use this to diagnose connectivity or config issues before running automation.
|
|
637
637
|
|
|
638
638
|
`--json` output includes `maturityScore` (0โ100) and `maturityLabel` (`production-ready` / `mostly-ready` / `needs-work` / `not-ready`) to give an at-a-glance readiness rating:
|
|
639
639
|
|
|
@@ -807,7 +807,7 @@ npm install
|
|
|
807
807
|
|
|
808
808
|
npm run dev -- <args> # Run from TypeScript sources via tsx
|
|
809
809
|
npm run build # Compile to dist/
|
|
810
|
-
npm test # Run the Vitest suite (
|
|
810
|
+
npm test # Run the Vitest suite (2391 tests)
|
|
811
811
|
npm run test:watch # Watch mode
|
|
812
812
|
npm run test:coverage # Coverage report (v8, HTML + text)
|
|
813
813
|
```
|