@awesomate/hosting-mcp 0.41.0 → 0.42.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/dist/index.js CHANGED
@@ -41184,7 +41184,8 @@ var TITLES = {
41184
41184
  awesomate_crm_metrics: "List contact list metrics",
41185
41185
  awesomate_crm_query: "Query contact list metrics",
41186
41186
  awesomate_crm_schema: "Describe readable contact columns",
41187
- awesomate_crm_rows: "Look up people in the contact list"
41187
+ awesomate_crm_rows: "Look up people in the contact list",
41188
+ awesomate_crm_types: "Generate TypeScript types for contact data"
41188
41189
  };
41189
41190
  function annotate(name, kind) {
41190
41191
  const title = TITLES[name];
@@ -42756,6 +42757,21 @@ server.registerTool(
42756
42757
  }
42757
42758
  }
42758
42759
  );
42760
+ server.registerTool(
42761
+ "awesomate_crm_types",
42762
+ {
42763
+ annotations: annotate("awesomate_crm_types", READ_ONLY),
42764
+ description: "TypeScript for the client's readable contact data, for a project that uses @awesomate/sdk: one interface per kind (only the fields the owner marked readable by AI), choice fields as literal unions, and an augmentation that types db.query('contact', ...) once the file is imported. Returns {file, content}: write content to that file in the project (or tell the user to run `npx @awesomate/sdk types`). Regenerate after the owner changes fields. No people's details are in it, only column names and types.",
42765
+ inputSchema: {}
42766
+ },
42767
+ async () => {
42768
+ try {
42769
+ return textResult(await hubGet(requireConfig(), "/api/my-crm/v1/rows/types"));
42770
+ } catch (err) {
42771
+ return errorResult(err);
42772
+ }
42773
+ }
42774
+ );
42759
42775
  server.registerTool(
42760
42776
  "awesomate_n8n_kpis",
42761
42777
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@awesomate/hosting-mcp",
3
- "version": "0.41.0",
3
+ "version": "0.42.0",
4
4
  "description": "Awesomate MCP server — lets Claude manage your Awesomate WordPress hosting, plan, limits, n8n automations, and build Node/static apps + databases",
5
5
  "license": "UNLICENSED",
6
6
  "type": "module",
@@ -1,5 +1,12 @@
1
1
  {
2
2
  "versions": [
3
+ {
4
+ "version": "0.42.0",
5
+ "highlights": [
6
+ "Building something on your own data? Claude can now hand your project TypeScript types for your contact list (awesomate_crm_types), so code that reads it with the new @awesomate/sdk package is checked as it is written",
7
+ "The types hold column names only, never anyone's details, and only the fields you marked readable by AI"
8
+ ]
9
+ },
3
10
  {
4
11
  "version": "0.41.0",
5
12
  "highlights": [