@avocadostudio-ai/mcp-server 0.22.0 → 0.23.0
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.
|
@@ -12,7 +12,9 @@ export class OrchestratorClient {
|
|
|
12
12
|
if (value !== undefined)
|
|
13
13
|
url.searchParams.set(key, String(value));
|
|
14
14
|
}
|
|
15
|
-
|
|
15
|
+
// Tells the orchestrator an MCP client made this edit, not a person in the
|
|
16
|
+
// editor: the version log records it as such, and Edit safety checks it.
|
|
17
|
+
const headers = { "x-avocado-client": "mcp" };
|
|
16
18
|
let body;
|
|
17
19
|
if (opts.formData) {
|
|
18
20
|
body = opts.formData;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@avocadostudio-ai/mcp-server",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.23.0",
|
|
4
4
|
"description": "Avocado Studio MCP server — exposes page/block/discovery tools over the Model Context Protocol.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"type": "module",
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"dependencies": {
|
|
38
38
|
"@modelcontextprotocol/sdk": "^1.29.0",
|
|
39
39
|
"zod": "^4.3.6",
|
|
40
|
-
"@avocadostudio-ai/shared": "^0.
|
|
40
|
+
"@avocadostudio-ai/shared": "^0.23.0"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
43
|
"@types/node": "^22.13.10",
|