@mp-consulting/homebridge-ai-kit 2.0.0 → 2.0.2

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 CHANGED
@@ -31,7 +31,7 @@ This repository is an npm workspace that publishes two packages, both at version
31
31
  | [`@mp-consulting/homebridge-ai-core`](packages/ai-core) | **Homebridge plugins.** The plugin-UI Assistant routes (`registerAiRoutes` from `./plugin`), providers, redaction, prompts, config and the Assistant features (everything except `runAgent`). | `ajv` only |
32
32
  | `@mp-consulting/homebridge-ai-kit` (this package) | **Homebridge Glass UI and MCP.** Everything in ai-core (re-exported) plus the MCP server, `runAgent`, the `HomebridgeAiKit` Homebridge plugin and `mcpClientSnippets`. | ai-core, `@modelcontextprotocol/sdk`, `socket.io-client`, `zod`, `@homebridge/plugin-ui-utils` |
33
33
 
34
- Plugins should depend on **ai-core**, so installing them doesn't pull in the MCP SDK, socket.io or zod. ai-kit stays backward compatible: its `.` and `./plugin` exports re-export everything ai-core has under the same names, so code that imports from ai-kit keeps working. For local development before ai-core is published, a plugin next to this repo can use `"@mp-consulting/homebridge-ai-core": "file:../homebridge-mcp-server/packages/ai-core"` (run `npm run build` here first, and switch to `^2.0.0` before releasing the plugin).
34
+ Plugins should depend on **ai-core**, so installing them doesn't pull in the MCP SDK, socket.io or zod. ai-kit stays backward compatible: its `.` and `./plugin` exports re-export everything ai-core has under the same names, so code that imports from ai-kit keeps working.
35
35
 
36
36
  ## Features
37
37
 
@@ -266,8 +266,6 @@ npm run typecheck # Type-check src and test (both packages)
266
266
 
267
267
  **Publishing.** The release workflow publishes `@mp-consulting/homebridge-ai-core` first (skipped if that version is already on npm), then `@mp-consulting/homebridge-ai-kit`, which depends on it. Both use npm trusted publishing (OIDC): before the first release, configure a trusted publisher on npmjs.com for the new `@mp-consulting/homebridge-ai-core` package name too (repository `mp-consulting/homebridge-ai-kit`, workflow `publish.yml`); if npm only lets you add one to an existing package, publish ai-core 2.0.0 once by hand from `packages/ai-core`. The first ai-core release has to go out before ai-kit 2.0.0 can be installed from npm.
268
268
 
269
- > **Before release:** `@mp-consulting/homebridge-ui-kit` is a `file:../homebridge-ui-kit` dev dependency while ui-kit 1.2 is unpublished. Switch it to `^1.2.0` before publishing; until then `npm ci` needs the ui-kit checkout next to this repo.
270
-
271
269
  ## License
272
270
 
273
271
  MIT
File without changes
File without changes
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@mp-consulting/homebridge-ai-kit",
3
3
  "displayName": "Homebridge AI Kit",
4
- "version": "2.0.0",
5
- "description": "AI toolkit for Homebridge — an MCP server that lets AI assistants control accessories, manage plugins and monitor Homebridge, plus the shared AI building blocks used by Homebridge Glass UI and MP Consulting plugins.",
4
+ "version": "2.0.2",
5
+ "description": "AI toolkit for Homebridge \u2014 an MCP server that lets AI assistants control accessories, manage plugins and monitor Homebridge, plus the shared AI building blocks used by Homebridge Glass UI and MP Consulting plugins.",
6
6
  "type": "module",
7
7
  "main": "dist/index.js",
8
8
  "types": "dist/index.d.ts",
@@ -70,13 +70,13 @@
70
70
  "dependencies": {
71
71
  "@homebridge/plugin-ui-utils": "^2.2.6",
72
72
  "@modelcontextprotocol/sdk": "^1.30.0",
73
- "@mp-consulting/homebridge-ai-core": "^2.0.0",
73
+ "@mp-consulting/homebridge-ai-core": "^2.0.2",
74
74
  "socket.io-client": "^4.8.4",
75
75
  "zod": "^4.5.4"
76
76
  },
77
77
  "devDependencies": {
78
78
  "@eslint/js": "^10.0.1",
79
- "@mp-consulting/homebridge-ui-kit": "file:../homebridge-ui-kit",
79
+ "@mp-consulting/homebridge-ui-kit": "^1.2.0",
80
80
  "@types/node": "^26.5.0",
81
81
  "@vitest/coverage-v8": "^5.0.0",
82
82
  "bootstrap": "^5.3.8",