@switchbot/openapi-cli 3.3.0 → 3.3.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.
@@ -10,7 +10,7 @@
10
10
  "version": {
11
11
  "type": "string",
12
12
  "const": "0.2",
13
- "description": "Policy schema version. Will migrate 0.1 -> 0.2 in place via `switchbot policy migrate`."
13
+ "description": "Policy schema version. This CLI only rewrites between schema versions it still supports; legacy v0.1 files require an older CLI for migration."
14
14
  },
15
15
 
16
16
  "aliases": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@switchbot/openapi-cli",
3
- "version": "3.3.0",
3
+ "version": "3.3.1",
4
4
  "description": "SwitchBot smart home CLI — control devices, run scenes, stream real-time events, and integrate AI agents via MCP. Full API v1.1 coverage.",
5
5
  "keywords": [
6
6
  "switchbot",
@@ -48,6 +48,7 @@
48
48
  "test": "vitest run",
49
49
  "test:watch": "vitest",
50
50
  "test:coverage": "vitest run --coverage",
51
+ "test:release-smoke:manual": "npm test -- tests/commands/policy.test.ts tests/commands/devices.test.ts tests/commands/explain.test.ts tests/commands/doctor.test.ts tests/commands/mcp.test.ts tests/commands/health-check.test.ts tests/commands/quota.test.ts tests/commands/status-sync.test.ts tests/status-sync/smoke.test.ts tests/commands/watch.test.ts tests/commands/events.test.ts tests/devices/catalog-fidelity.test.ts tests/commands/schema.test.ts tests/commands/auth.test.ts tests/commands/config.test.ts tests/commands/scenes.test.ts tests/commands/batch.test.ts tests/commands/history.test.ts tests/commands/expand.test.ts tests/commands/webhook.test.ts tests/commands/daemon.test.ts tests/commands/upgrade-check.test.ts tests/commands/install.test.ts tests/commands/uninstall.test.ts tests/commands/rules.test.ts tests/commands/plan.test.ts",
51
52
  "verify:pre-commit": "npm run build && npm test -- tests/version.test.ts",
52
53
  "verify:pre-push": "npm run build && npm test -- tests/version.test.ts && npm run smoke:pack-install",
53
54
  "prepublishOnly": "npm test && npm run build && npm run smoke:pack-install"