@open-mercato/ai-assistant 0.10.1-develop.8046.1.ec4dd00394 → 0.10.1-develop.8050.1.45ae874fe7
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 +4 -0
- package/package.json +6 -6
package/README.md
CHANGED
|
@@ -86,6 +86,10 @@ yarn infra:up
|
|
|
86
86
|
yarn dev
|
|
87
87
|
```
|
|
88
88
|
|
|
89
|
+
The MCP endpoint (`MCP_PORT`, default 3001) is owned by `yarn dev` from the start, but the server process itself only starts on the first MCP request, so an idle session does not pay for it. Set `OM_DEV_MCP_LAZY=0` to start it together with `yarn dev`.
|
|
90
|
+
|
|
91
|
+
Cold starts accept the provisioned key (or `MCP_SERVER_API_KEY`) from any peer. Other user-created keys can start MCP only from loopback or an explicitly trusted socket peer: set `OM_DEV_MCP_TRUSTED_PEERS=172.18.0.2` on the `yarn dev` process for a trusted container's exact source IP (comma-separated IPv4/IPv6 addresses, not CIDRs or hostnames). The shipped OpenCode sidecar uses the provisioned key and needs no change. Unknown keys from other peers receive `401` before startup or queue admission, even with spoofed forwarded headers. Trust authorizes startup work only; the upstream still authenticates every key. Do not trust a reverse proxy that forwards untrusted callers without its own access control.
|
|
92
|
+
|
|
89
93
|
To run the pieces individually instead:
|
|
90
94
|
|
|
91
95
|
```bash
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@open-mercato/ai-assistant",
|
|
3
|
-
"version": "0.10.1-develop.
|
|
3
|
+
"version": "0.10.1-develop.8050.1.45ae874fe7",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"engines": {
|
|
@@ -103,16 +103,16 @@
|
|
|
103
103
|
"zod-to-json-schema": "^3.25.2"
|
|
104
104
|
},
|
|
105
105
|
"peerDependencies": {
|
|
106
|
-
"@open-mercato/shared": "0.10.1-develop.
|
|
107
|
-
"@open-mercato/ui": "0.10.1-develop.
|
|
106
|
+
"@open-mercato/shared": "0.10.1-develop.8050.1.45ae874fe7",
|
|
107
|
+
"@open-mercato/ui": "0.10.1-develop.8050.1.45ae874fe7",
|
|
108
108
|
"react": "^19.0.0",
|
|
109
109
|
"react-dom": "^19.0.0",
|
|
110
110
|
"zod": ">=3.23.0"
|
|
111
111
|
},
|
|
112
112
|
"devDependencies": {
|
|
113
|
-
"@open-mercato/cli": "0.10.1-develop.
|
|
114
|
-
"@open-mercato/shared": "0.10.1-develop.
|
|
115
|
-
"@open-mercato/ui": "0.10.1-develop.
|
|
113
|
+
"@open-mercato/cli": "0.10.1-develop.8050.1.45ae874fe7",
|
|
114
|
+
"@open-mercato/shared": "0.10.1-develop.8050.1.45ae874fe7",
|
|
115
|
+
"@open-mercato/ui": "0.10.1-develop.8050.1.45ae874fe7",
|
|
116
116
|
"@types/react": "^19.2.18",
|
|
117
117
|
"@types/react-dom": "^19.2.5",
|
|
118
118
|
"react": "19.2.8",
|