@duckcodeailabs/dql-mcp 1.6.2 → 1.6.3

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@duckcodeailabs/dql-mcp",
3
- "version": "1.6.2",
3
+ "version": "1.6.3",
4
4
  "description": "DQL MCP server: expose certified blocks, semantic layer, lineage, and governance to LLM agents via the Model Context Protocol",
5
5
  "license": "Apache-2.0",
6
6
  "type": "module",
@@ -24,10 +24,10 @@
24
24
  "access": "public"
25
25
  },
26
26
  "dependencies": {
27
- "@duckcodeailabs/dql-agent": "^1.6.2",
28
- "@duckcodeailabs/dql-core": "^1.6.2",
29
- "@duckcodeailabs/dql-governance": "^1.6.2",
30
- "@duckcodeailabs/dql-project": "^1.6.2",
27
+ "@duckcodeailabs/dql-agent": "^1.6.3",
28
+ "@duckcodeailabs/dql-core": "^1.6.3",
29
+ "@duckcodeailabs/dql-governance": "^1.6.3",
30
+ "@duckcodeailabs/dql-project": "^1.6.3",
31
31
  "@modelcontextprotocol/sdk": "^1.0.4",
32
32
  "zod": "^3.25.0"
33
33
  },
@@ -1,4 +0,0 @@
1
- import type { DQLContext } from '../../context.js';
2
- export declare function makeManifestBlock(overrides?: Record<string, unknown>): Record<string, unknown>;
3
- export declare function makeCtx(blocks?: Record<string, unknown>, extra?: Partial<DQLContext>): DQLContext;
4
- //# sourceMappingURL=_helpers.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"_helpers.d.ts","sourceRoot":"","sources":["../../../src/tools/__tests__/_helpers.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAEnD,wBAAgB,iBAAiB,CAAC,SAAS,GAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAM,GAWlE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAC7B;AAeD,wBAAgB,OAAO,CAAC,MAAM,GAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAM,EAAE,KAAK,GAAE,OAAO,CAAC,UAAU,CAAM,GAAG,UAAU,CAOzG"}
@@ -1,34 +0,0 @@
1
- export function makeManifestBlock(overrides = {}) {
2
- return {
3
- name: 'My Block',
4
- status: 'certified',
5
- type: 'custom',
6
- domain: 'finance',
7
- filePath: 'blocks/my-block.dql',
8
- description: 'Stub block used by tests.',
9
- owner: 'tests@example.com',
10
- tags: [],
11
- ...overrides,
12
- };
13
- }
14
- /**
15
- * Default registry stub: `isLoaded()` returns false so query-via-block's
16
- * datalex_contract check is skipped, matching the "DataLex not yet adopted"
17
- * path. Specific tests pass a real registry via `extra.datalexRegistry`.
18
- */
19
- const skipRegistry = {
20
- isLoaded: () => false,
21
- resolve: () => ({ ok: false, reason: 'not_found', message: '', requestedRef: '' }),
22
- list: () => [],
23
- reload: () => undefined,
24
- loadDiagnostics: () => [],
25
- };
26
- export function makeCtx(blocks = {}, extra = {}) {
27
- return {
28
- projectRoot: '/test/project',
29
- manifest: { blocks },
30
- datalexRegistry: skipRegistry,
31
- ...extra,
32
- };
33
- }
34
- //# sourceMappingURL=_helpers.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"_helpers.js","sourceRoot":"","sources":["../../../src/tools/__tests__/_helpers.ts"],"names":[],"mappings":"AAEA,MAAM,UAAU,iBAAiB,CAAC,YAAqC,EAAE;IACvE,OAAO;QACL,IAAI,EAAE,UAAU;QAChB,MAAM,EAAE,WAAW;QACnB,IAAI,EAAE,QAAQ;QACd,MAAM,EAAE,SAAS;QACjB,QAAQ,EAAE,qBAAqB;QAC/B,WAAW,EAAE,2BAA2B;QACxC,KAAK,EAAE,mBAAmB;QAC1B,IAAI,EAAE,EAAE;QACR,GAAG,SAAS;KACc,CAAC;AAC/B,CAAC;AAED;;;;GAIG;AACH,MAAM,YAAY,GAAG;IACnB,QAAQ,EAAE,GAAG,EAAE,CAAC,KAAK;IACrB,OAAO,EAAE,GAAG,EAAE,CAAC,CAAC,EAAE,EAAE,EAAE,KAAK,EAAE,MAAM,EAAE,WAAW,EAAE,OAAO,EAAE,EAAE,EAAE,YAAY,EAAE,EAAE,EAAE,CAAC;IAClF,IAAI,EAAE,GAAG,EAAE,CAAC,EAAE;IACd,MAAM,EAAE,GAAG,EAAE,CAAC,SAAS;IACvB,eAAe,EAAE,GAAG,EAAE,CAAC,EAAE;CAC1B,CAAC;AAEF,MAAM,UAAU,OAAO,CAAC,SAAkC,EAAE,EAAE,QAA6B,EAAE;IAC3F,OAAO;QACL,WAAW,EAAE,eAAe;QAC5B,QAAQ,EAAE,EAAE,MAAM,EAAE;QACpB,eAAe,EAAE,YAAY;QAC7B,GAAG,KAAK;KACgB,CAAC;AAC7B,CAAC"}