@hubspot/cli 7.11.0-beta.0 → 7.11.1-beta.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.
package/mcp-server/server.js
CHANGED
|
@@ -5,10 +5,6 @@ const server = new McpServer({
|
|
|
5
5
|
name: 'HubSpot CLI MCP Server',
|
|
6
6
|
version: '0.0.1',
|
|
7
7
|
description: 'Helps perform tasks for local development of HubSpot projects.',
|
|
8
|
-
capabilities: {
|
|
9
|
-
tools: {},
|
|
10
|
-
prompts: {},
|
|
11
|
-
},
|
|
12
8
|
});
|
|
13
9
|
registerProjectTools(server);
|
|
14
10
|
registerCmsTools(server);
|
|
@@ -51,17 +51,6 @@ describe('mcp-server/tools/project/CreateTestAccountTool', () => {
|
|
|
51
51
|
}), expect.any(Function));
|
|
52
52
|
expect(result).toBe(mockRegisteredTool);
|
|
53
53
|
});
|
|
54
|
-
it('should include all key information in description', () => {
|
|
55
|
-
tool.register();
|
|
56
|
-
const registerCall = mockMcpServer.registerTool.mock.calls[0];
|
|
57
|
-
const config = registerCall[1];
|
|
58
|
-
expect(config.description).toContain('test account');
|
|
59
|
-
expect(config.description).toContain('WORKFLOW');
|
|
60
|
-
expect(config.description).toContain('config file');
|
|
61
|
-
expect(config.description).toContain('ALL account details');
|
|
62
|
-
expect(config.description).toContain('non-interactive execution');
|
|
63
|
-
expect(config.description).toContain('FREE, STARTER, PROFESSIONAL, ENTERPRISE');
|
|
64
|
-
});
|
|
65
54
|
});
|
|
66
55
|
describe('handler', () => {
|
|
67
56
|
describe('config file approach', () => {
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hubspot/cli",
|
|
3
|
-
"version": "7.11.
|
|
3
|
+
"version": "7.11.1-beta.0",
|
|
4
4
|
"description": "The official CLI for developing on HubSpot",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": "https://github.com/HubSpot/hubspot-cli",
|
|
7
7
|
"type": "module",
|
|
8
8
|
"dependencies": {
|
|
9
|
-
"@hubspot/local-dev-lib": "4.0.
|
|
9
|
+
"@hubspot/local-dev-lib": "4.0.2",
|
|
10
10
|
"@hubspot/project-parsing-lib": "0.10.2",
|
|
11
11
|
"@hubspot/serverless-dev-runtime": "7.0.7",
|
|
12
12
|
"@hubspot/theme-preview-dev-server": "0.0.12",
|
|
@@ -68,7 +68,7 @@
|
|
|
68
68
|
},
|
|
69
69
|
"optionalDependencies": {
|
|
70
70
|
"@hubspot/cms-dev-server": "^1.2.1",
|
|
71
|
-
"@modelcontextprotocol/sdk": "1.
|
|
71
|
+
"@modelcontextprotocol/sdk": "1.25.0"
|
|
72
72
|
},
|
|
73
73
|
"scripts": {
|
|
74
74
|
"build": "tsx ./scripts/build.ts",
|