@burdenoff/mcp-libs 2026.1107.5 → 2026.1110.1

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.
Files changed (38) hide show
  1. package/dist/modules/botmanor/index.cjs +2018 -0
  2. package/dist/modules/botmanor/index.cjs.map +1 -0
  3. package/dist/modules/botmanor/index.d.ts +3 -0
  4. package/dist/modules/botmanor/index.js +1940 -0
  5. package/dist/modules/botmanor/index.js.map +1 -0
  6. package/dist/modules/botmanor/operations.d.ts +62 -0
  7. package/dist/modules/botmanor/prompts.d.ts +3 -0
  8. package/dist/modules/botmanor/resources.d.ts +3 -0
  9. package/dist/modules/botmanor/tool-annotations.d.ts +2 -0
  10. package/dist/modules/botmanor/tools/agents.d.ts +3 -0
  11. package/dist/modules/botmanor/tools/app-agents.d.ts +3 -0
  12. package/dist/modules/botmanor/tools/apps.d.ts +3 -0
  13. package/dist/modules/botmanor/tools/channels.d.ts +3 -0
  14. package/dist/modules/botmanor/tools/chat.d.ts +3 -0
  15. package/dist/modules/botmanor/tools/executions.d.ts +3 -0
  16. package/dist/modules/botmanor/tools/knowledge.d.ts +3 -0
  17. package/dist/modules/botmanor/tools/shared.d.ts +142 -0
  18. package/dist/modules/botmanor/tools/store.d.ts +3 -0
  19. package/dist/modules/cosmicintersection/tools/shared.d.ts +1 -1
  20. package/dist/modules/ggnomad/tools/shared.d.ts +1 -1
  21. package/dist/modules/headshotmarketing/tools/shared.d.ts +5 -5
  22. package/dist/modules/intelwatchtower/tools/shared.d.ts +1 -1
  23. package/dist/modules/mybodyshield/tools/shared.d.ts +2 -2
  24. package/dist/modules/planmagnet/tools/shared.d.ts +2 -2
  25. package/dist/modules/proserviceworld/index.cjs +59 -0
  26. package/dist/modules/proserviceworld/index.cjs.map +1 -1
  27. package/dist/modules/proserviceworld/index.js +59 -0
  28. package/dist/modules/proserviceworld/index.js.map +1 -1
  29. package/dist/modules/proserviceworld/operations.d.ts +1 -0
  30. package/dist/modules/proserviceworld/tools/precedents.d.ts +3 -0
  31. package/dist/modules/semanticfed/index.cjs +127 -20
  32. package/dist/modules/semanticfed/index.cjs.map +1 -1
  33. package/dist/modules/semanticfed/index.d.ts +1 -1
  34. package/dist/modules/semanticfed/index.js +110 -19
  35. package/dist/modules/semanticfed/index.js.map +1 -1
  36. package/dist/modules/semanticfed/tool-annotations.d.ts +4 -0
  37. package/dist/modules/subscriberbot/tools/shared.d.ts +4 -4
  38. package/package.json +1 -1
@@ -1,3 +1,3 @@
1
- import type { McpModule } from '../../core/index.js';
1
+ import { type McpModule } from '../../core/index.js';
2
2
  declare const semanticfedModule: McpModule;
3
3
  export default semanticfedModule;
@@ -1,6 +1,98 @@
1
- import { mcpToolName, errorResult, jsonResult, mcpResourceUri, mcpPromptName } from '../../chunk-22WYCMVS.js';
1
+ import { withToolAnnotations, mcpToolName, errorResult, jsonResult, mcpResourceUri, mcpPromptName } from '../../chunk-22WYCMVS.js';
2
2
  import { z } from 'zod';
3
3
 
4
+ // src/modules/semanticfed/tool-annotations.ts
5
+ var READ = { readOnlyHint: true, destructiveHint: false, openWorldHint: false };
6
+ var READ_EXTERNAL = {
7
+ readOnlyHint: true,
8
+ destructiveHint: false,
9
+ openWorldHint: true
10
+ };
11
+ var WRITE = {
12
+ readOnlyHint: false,
13
+ destructiveHint: false,
14
+ openWorldHint: false
15
+ };
16
+ var WRITE_EXTERNAL = {
17
+ readOnlyHint: false,
18
+ destructiveHint: false,
19
+ openWorldHint: true
20
+ };
21
+ var DESTRUCTIVE = {
22
+ readOnlyHint: false,
23
+ destructiveHint: true,
24
+ openWorldHint: false
25
+ };
26
+ var SEMANTICFED_TOOL_ANNOTATIONS = {
27
+ // Connectors
28
+ connectors_get: READ,
29
+ connectors_list: READ,
30
+ connectors_create: WRITE,
31
+ connectors_update: WRITE,
32
+ connectors_archive: DESTRUCTIVE,
33
+ // Data sources
34
+ data_sources_get: READ,
35
+ data_sources_list: READ,
36
+ data_sources_create: WRITE,
37
+ data_sources_update: WRITE,
38
+ data_sources_transition: DESTRUCTIVE,
39
+ data_sources_archive: DESTRUCTIVE,
40
+ // Connections (health probes recorded against a data source)
41
+ connections_list: READ,
42
+ connections_record: WRITE,
43
+ // Semantic models
44
+ models_get: READ,
45
+ models_list: READ,
46
+ models_create: WRITE,
47
+ models_update: WRITE,
48
+ models_publish: DESTRUCTIVE,
49
+ models_archive: DESTRUCTIVE,
50
+ // Entities / dimensions / metrics / relationships
51
+ entities_get: READ,
52
+ entities_list: READ,
53
+ entities_create: WRITE,
54
+ entities_update: WRITE,
55
+ entities_delete: DESTRUCTIVE,
56
+ dimensions_create: WRITE,
57
+ metrics_create: WRITE,
58
+ relationships_list: READ,
59
+ relationships_create: WRITE,
60
+ // Saved queries + federated runs
61
+ queries_get: READ,
62
+ queries_list: READ,
63
+ queries_create: WRITE,
64
+ queries_update: WRITE,
65
+ queries_publish: DESTRUCTIVE,
66
+ queries_archive: DESTRUCTIVE,
67
+ // Enqueues a federated execution across customer systems (egress surface,
68
+ // BOFF-3906 rubric 3.3): creates a SemQueryRun (WRITE), crosses the data
69
+ // boundary (EXTERNAL), and rows come back asynchronously via
70
+ // query_runs_get/result.
71
+ queries_run: WRITE_EXTERNAL,
72
+ query_runs_list: READ,
73
+ query_runs_get: READ,
74
+ query_runs_result: READ_EXTERNAL,
75
+ // Access policies — governance-mutating; semanticfed-mcp additionally gates
76
+ // the whole group behind an explicit opt-in flag (BOFF-3906 rubric 2.2).
77
+ access_policies_list: READ,
78
+ access_policies_create: DESTRUCTIVE,
79
+ access_policies_set_active: DESTRUCTIVE,
80
+ // Public probe + governed read-only SQL endpoint
81
+ health_check: READ,
82
+ sql_execute: { ...READ, idempotentHint: true },
83
+ sql_catalog: READ
84
+ };
85
+ new Set(
86
+ Object.entries(SEMANTICFED_TOOL_ANNOTATIONS).filter(([, annotations]) => annotations.destructiveHint === true).map(([name]) => name)
87
+ );
88
+ function semanticfedToolAnnotations(productName) {
89
+ const prefix = `${productName}_`;
90
+ return (toolName) => {
91
+ if (!toolName.startsWith(prefix)) return void 0;
92
+ return SEMANTICFED_TOOL_ANNOTATIONS[toolName.slice(prefix.length)];
93
+ };
94
+ }
95
+
4
96
  // src/modules/semanticfed/operations.ts
5
97
  var CONNECTOR_FIELDS = `
6
98
  id name description kind isActive capabilities workspaceId createdAt updatedAt
@@ -1566,7 +1658,6 @@ function registerHealthTools(server, ctx, track) {
1566
1658
  }
1567
1659
  );
1568
1660
  }
1569
- var READ_ONLY = { readOnlyHint: true, destructiveHint: false, idempotentHint: true };
1570
1661
  function registerSqlTools(server, ctx, track) {
1571
1662
  server.registerTool(
1572
1663
  track(mcpToolName(ctx.productName, "sql_execute")),
@@ -1578,8 +1669,7 @@ function registerSqlTools(server, ctx, track) {
1578
1669
  modelId: z.string().optional().describe("Semantic model ID; optional when the workspace has exactly one model"),
1579
1670
  maxRows: z.number().int().min(1).max(1e4).optional().describe("Maximum rows returned (default 1000, max 10000)"),
1580
1671
  timeoutMs: z.number().int().min(1e3).max(6e4).optional().describe("Execution time limit in milliseconds (default 30000)")
1581
- },
1582
- annotations: { title: "Execute SQL", ...READ_ONLY, openWorldHint: true }
1672
+ }
1583
1673
  },
1584
1674
  async ({ sql, modelId, maxRows, timeoutMs }) => {
1585
1675
  try {
@@ -1604,8 +1694,7 @@ function registerSqlTools(server, ctx, track) {
1604
1694
  description: "List the tables and columns a semantic model exposes to SQL: one table per entity (name, kind, primaryKey) with its columns (name, DIMENSION or METRIC, dataType, isPrimary, the default aggregation of a metric). Use the names verbatim in sql_execute.",
1605
1695
  inputSchema: {
1606
1696
  modelId: z.string().optional().describe("Semantic model ID; optional when the workspace has exactly one model")
1607
- },
1608
- annotations: { title: "SQL Catalog", ...READ_ONLY, openWorldHint: false }
1697
+ }
1609
1698
  },
1610
1699
  async ({ modelId }) => {
1611
1700
  try {
@@ -1901,19 +1990,21 @@ var semanticfedModule = {
1901
1990
  prompts.push(n);
1902
1991
  return n;
1903
1992
  };
1904
- registerConnectorTools(server, ctx, trackTool);
1905
- registerDataSourceTools(server, ctx, trackTool);
1906
- registerConnectionTools(server, ctx, trackTool);
1907
- registerModelTools(server, ctx, trackTool);
1908
- registerEntityTools(server, ctx, trackTool);
1909
- registerDimensionTools(server, ctx, trackTool);
1910
- registerMetricTools(server, ctx, trackTool);
1911
- registerRelationshipTools(server, ctx, trackTool);
1912
- registerQueryTools(server, ctx, trackTool);
1913
- registerRunTools(server, ctx, trackTool);
1914
- registerPolicyTools(server, ctx, trackTool);
1915
- registerHealthTools(server, ctx, trackTool);
1916
- registerSqlTools(server, ctx, trackTool);
1993
+ withToolAnnotations(server, semanticfedToolAnnotations(ctx.productName), () => {
1994
+ registerConnectorTools(server, ctx, trackTool);
1995
+ registerDataSourceTools(server, ctx, trackTool);
1996
+ registerConnectionTools(server, ctx, trackTool);
1997
+ registerModelTools(server, ctx, trackTool);
1998
+ registerEntityTools(server, ctx, trackTool);
1999
+ registerDimensionTools(server, ctx, trackTool);
2000
+ registerMetricTools(server, ctx, trackTool);
2001
+ registerRelationshipTools(server, ctx, trackTool);
2002
+ registerQueryTools(server, ctx, trackTool);
2003
+ registerRunTools(server, ctx, trackTool);
2004
+ registerPolicyTools(server, ctx, trackTool);
2005
+ registerHealthTools(server, ctx, trackTool);
2006
+ registerSqlTools(server, ctx, trackTool);
2007
+ });
1917
2008
  registerSemanticfedResources(server, ctx, trackResource);
1918
2009
  registerSemanticfedPrompts(server, ctx, trackPrompt);
1919
2010
  return { tools, resources, prompts };