@lightdash-tools/mcp 0.14.0 → 0.16.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.
- package/README.md +30 -11
- package/dist/auth/oauth-broker/lightdash-token.d.ts +6 -5
- package/dist/auth/oauth-broker/lightdash-token.js +6 -10
- package/dist/auth/oauth-broker/mcp-access-token.d.ts +31 -0
- package/dist/auth/oauth-broker/mcp-access-token.js +109 -0
- package/dist/auth/oauth-broker/mcp-access-token.test.d.ts +1 -0
- package/dist/auth/oauth-broker/mcp-access-token.test.js +61 -0
- package/dist/auth/oauth-broker/pending-store.d.ts +9 -3
- package/dist/auth/oauth-broker/pending-store.js +5 -3
- package/dist/auth/oauth-broker/pending-store.test.js +28 -44
- package/dist/auth/oauth-broker/routes.d.ts +2 -1
- package/dist/auth/oauth-broker/routes.js +97 -45
- package/dist/auth/oauth-broker/routes.test.js +81 -13
- package/dist/auth/resource-server/lightdash-oauth-middleware.d.ts +2 -0
- package/dist/auth/resource-server/lightdash-oauth-middleware.js +58 -37
- package/dist/auth/resource-server/lightdash-oauth-middleware.test.js +59 -57
- package/dist/auth/resource-server/oauth-protected-resource.js +2 -2
- package/dist/bin.js +33 -7
- package/dist/config/env.d.ts +5 -0
- package/dist/config/env.js +6 -1
- package/dist/config/load-mcp-config.d.ts +12 -1
- package/dist/config/load-mcp-config.js +17 -8
- package/dist/config/load-mcp-config.test.js +20 -0
- package/dist/config/prompt-context-policy.d.ts +18 -0
- package/dist/config/prompt-context-policy.js +40 -0
- package/dist/config/prompt-context-policy.test.d.ts +4 -0
- package/dist/config/prompt-context-policy.test.js +35 -0
- package/dist/config/test-mcp-http-config.js +1 -1
- package/dist/governance/mcp-post-factory-context.d.ts +2 -0
- package/dist/http.d.ts +7 -1
- package/dist/http.integration.test.js +57 -22
- package/dist/http.js +10 -1
- package/dist/index.d.ts +6 -1
- package/dist/index.js +6 -3
- package/dist/policy/content-developer.d.ts +5 -0
- package/dist/policy/content-developer.js +25 -1
- package/dist/policy/content-developer.test.js +29 -0
- package/dist/profiles/ai-agent-ops/v1/invariants.d.ts +27 -0
- package/dist/profiles/ai-agent-ops/v1/invariants.js +39 -0
- package/dist/profiles/ai-agent-ops/v1/prompts.d.ts +3 -2
- package/dist/profiles/ai-agent-ops/v1/prompts.js +67 -41
- package/dist/profiles/ai-agent-ops/v1/resources/playbooks.d.ts +2 -1
- package/dist/profiles/ai-agent-ops/v1/resources/playbooks.js +10 -3
- package/dist/profiles/content-developer/v1/invariants.d.ts +69 -0
- package/dist/profiles/content-developer/v1/invariants.js +95 -0
- package/dist/profiles/content-developer/v1/prompt-specs.d.ts +32 -0
- package/dist/profiles/content-developer/v1/prompt-specs.js +56 -0
- package/dist/profiles/content-developer/v1/prompts.d.ts +4 -3
- package/dist/profiles/content-developer/v1/prompts.js +65 -71
- package/dist/profiles/content-developer/v1/prompts.test.js +61 -7
- package/dist/profiles/content-developer/v1/resources/playbooks/core.md +1 -0
- package/dist/profiles/content-developer/v1/resources/playbooks/index.md +11 -8
- package/dist/profiles/content-developer/v1/resources/playbooks/recovery/dashboard-diff.md +15 -0
- package/dist/profiles/content-developer/v1/resources/playbooks/recovery/preview-required.md +14 -0
- package/dist/profiles/content-developer/v1/resources/playbooks/recovery/preview-stale.md +21 -0
- package/dist/profiles/content-developer/v1/resources/playbooks.d.ts +3 -2
- package/dist/profiles/content-developer/v1/resources/playbooks.js +35 -22
- package/dist/profiles/content-governance/v1/invariants.d.ts +27 -0
- package/dist/profiles/content-governance/v1/invariants.js +39 -0
- package/dist/profiles/content-governance/v1/prompts.d.ts +4 -2
- package/dist/profiles/content-governance/v1/prompts.js +31 -19
- package/dist/profiles/content-governance/v1/resources/playbooks.d.ts +2 -1
- package/dist/profiles/content-governance/v1/resources/playbooks.js +8 -9
- package/dist/profiles/content-reader/v1/invariants.d.ts +33 -0
- package/dist/profiles/content-reader/v1/invariants.js +47 -0
- package/dist/profiles/content-reader/v1/prompt-specs.d.ts +18 -0
- package/dist/profiles/content-reader/v1/prompt-specs.js +33 -0
- package/dist/profiles/content-reader/v1/prompts.d.ts +3 -2
- package/dist/profiles/content-reader/v1/prompts.js +69 -76
- package/dist/profiles/content-reader/v1/resources/playbooks.d.ts +2 -1
- package/dist/profiles/content-reader/v1/resources/playbooks.js +10 -11
- package/dist/profiles/data-analyst/v1/invariants.d.ts +21 -0
- package/dist/profiles/data-analyst/v1/invariants.js +31 -0
- package/dist/profiles/data-analyst/v1/prompts.d.ts +3 -2
- package/dist/profiles/data-analyst/v1/prompts.js +17 -9
- package/dist/profiles/data-analyst/v1/resources/playbooks.d.ts +2 -1
- package/dist/profiles/data-analyst/v1/resources/playbooks.js +6 -7
- package/dist/profiles/lib/playbook-resources.d.ts +16 -34
- package/dist/profiles/lib/playbook-resources.js +55 -76
- package/dist/profiles/lib/prompt-context.d.ts +71 -0
- package/dist/profiles/lib/prompt-context.js +205 -0
- package/dist/profiles/lib/prompt-context.test.d.ts +4 -0
- package/dist/profiles/lib/prompt-context.test.js +154 -0
- package/dist/profiles/lib/prompt-invariants.d.ts +20 -0
- package/dist/profiles/lib/prompt-invariants.js +54 -0
- package/dist/profiles/organization-audit/v1/invariants.d.ts +24 -0
- package/dist/profiles/organization-audit/v1/invariants.js +35 -0
- package/dist/profiles/organization-audit/v1/prompts.d.ts +3 -2
- package/dist/profiles/organization-audit/v1/prompts.js +44 -28
- package/dist/profiles/organization-audit/v1/resources/playbooks.d.ts +2 -1
- package/dist/profiles/organization-audit/v1/resources/playbooks.js +10 -3
- package/dist/profiles/semantic-layer/v1/invariants.d.ts +27 -0
- package/dist/profiles/semantic-layer/v1/invariants.js +39 -0
- package/dist/profiles/semantic-layer/v1/prompts.d.ts +3 -2
- package/dist/profiles/semantic-layer/v1/prompts.js +37 -26
- package/dist/profiles/semantic-layer/v1/resources/playbooks.d.ts +2 -4
- package/dist/profiles/semantic-layer/v1/resources/playbooks.js +8 -7
- package/dist/profiles/test-support/prompt-context-budget.test.d.ts +5 -0
- package/dist/profiles/test-support/prompt-context-budget.test.js +72 -0
- package/dist/profiles/types.d.ts +6 -1
- package/dist/server/capabilities.d.ts +3 -0
- package/dist/server/capabilities.js +4 -2
- package/dist/tools/lib/schema-fields.d.ts +4 -0
- package/dist/tools/lib/schema-fields.js +8 -1
- package/dist/tools/project/developer-content-preview.js +1 -1
- package/dist/tools/project/developer-content.js +2 -2
- package/dist/tools/query/reader-tool-helpers.d.ts +2 -2
- package/dist/tools/query/reader-tool-helpers.js +2 -2
- package/dist/tools/query/reader-tool-helpers.test.js +1 -0
- package/dist/tools/shared.d.ts +6 -1
- package/dist/tools/shared.js +12 -2
- package/dist/transports/streamable-http.js +10 -3
- package/package.json +3 -3
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Content-reader structured prompt invariants (SSOT for capsules + HARD_BANS projection).
|
|
4
|
+
*/
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.CONTENT_READER_DEFAULT_INVARIANT_IDS = exports.CONTENT_READER_HARD_BANS = exports.CONTENT_READER_INVARIANTS = void 0;
|
|
7
|
+
const prompt_invariants_js_1 = require("../../lib/prompt-invariants.js");
|
|
8
|
+
exports.CONTENT_READER_INVARIANTS = [
|
|
9
|
+
{
|
|
10
|
+
id: 'no-mutation',
|
|
11
|
+
short: 'Do not mutate Lightdash resources.',
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
id: 'no-arbitrary-query',
|
|
15
|
+
short: 'Do not execute arbitrary metric queries, raw SQL, or underlying-data queries.',
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
id: 'no-bulk-export',
|
|
19
|
+
short: 'Do not download or bulk-export results.',
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
id: 'no-sql-chart-execution',
|
|
23
|
+
short: 'Do not execute saved SQL charts (disabled by default on content-reader).',
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
id: 'no-override-semantics',
|
|
27
|
+
short: 'Do not override filter targets, operators, required-filter behavior, fields, metrics, dimensions, SQL, table calculations, or sorts.',
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
id: 'project-scope',
|
|
31
|
+
short: 'Do not execute content outside the resolved project (pass projectUuid or HTTP pin).',
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
id: 'no-overstate-coverage',
|
|
35
|
+
short: 'Do not present truncated results as complete.',
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
id: 'no-label-equivalence',
|
|
39
|
+
short: 'Do not claim metric equivalence from matching labels alone.',
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
id: 'no-secrets',
|
|
43
|
+
short: 'Do not reveal secrets, warehouse credentials, hidden SQL, or inaccessible content.',
|
|
44
|
+
},
|
|
45
|
+
];
|
|
46
|
+
exports.CONTENT_READER_HARD_BANS = (0, prompt_invariants_js_1.formatHardBansProjection)(exports.CONTENT_READER_INVARIANTS);
|
|
47
|
+
exports.CONTENT_READER_DEFAULT_INVARIANT_IDS = (0, prompt_invariants_js_1.allInvariantIds)(exports.CONTENT_READER_INVARIANTS);
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Pure PromptContextSpec builders for content-reader prompts.
|
|
3
|
+
* Shared by registerContentReaderPrompts and budget gates.
|
|
4
|
+
*/
|
|
5
|
+
import type { ContentReaderPlaybookTopic } from './resources/playbooks.js';
|
|
6
|
+
import type { PromptContextSpec } from '../../lib/prompt-context.js';
|
|
7
|
+
export declare const TOPIC_DISCOVER: "discover";
|
|
8
|
+
export type FindContentPromptArgs = {
|
|
9
|
+
question: string;
|
|
10
|
+
projectUuid?: string;
|
|
11
|
+
contentTypes?: string;
|
|
12
|
+
verifiedOnly?: boolean;
|
|
13
|
+
spaceUuid?: string;
|
|
14
|
+
};
|
|
15
|
+
/**
|
|
16
|
+
* Production PromptContextSpec for `find_content` (task + discover topic).
|
|
17
|
+
*/
|
|
18
|
+
export declare function buildFindContentPromptSpec(args: FindContentPromptArgs): PromptContextSpec<ContentReaderPlaybookTopic>;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Pure PromptContextSpec builders for content-reader prompts.
|
|
4
|
+
* Shared by registerContentReaderPrompts and budget gates.
|
|
5
|
+
*/
|
|
6
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
+
exports.TOPIC_DISCOVER = void 0;
|
|
8
|
+
exports.buildFindContentPromptSpec = buildFindContentPromptSpec;
|
|
9
|
+
const schema_fields_js_1 = require("../../../tools/lib/schema-fields.js");
|
|
10
|
+
const invariants_js_1 = require("./invariants.js");
|
|
11
|
+
exports.TOPIC_DISCOVER = 'discover';
|
|
12
|
+
/**
|
|
13
|
+
* Production PromptContextSpec for `find_content` (task + discover topic).
|
|
14
|
+
*/
|
|
15
|
+
function buildFindContentPromptSpec(args) {
|
|
16
|
+
const { projectUuid, question, contentTypes, verifiedOnly, spaceUuid } = args;
|
|
17
|
+
return {
|
|
18
|
+
task: `Find the most relevant Lightdash content for:
|
|
19
|
+
|
|
20
|
+
${question}
|
|
21
|
+
|
|
22
|
+
${(0, schema_fields_js_1.formatPromptProjectUuidLine)(projectUuid)}
|
|
23
|
+
Content types hint: ${contentTypes !== null && contentTypes !== void 0 ? contentTypes : '(any)'}.
|
|
24
|
+
Verified preference: ${verifiedOnly !== null && verifiedOnly !== void 0 ? verifiedOnly : false} (when true, call list_verified_content first — search_content does not filter by verification).
|
|
25
|
+
Space filter: ${spaceUuid !== null && spaceUuid !== void 0 ? spaceUuid : '(none)'}.
|
|
26
|
+
|
|
27
|
+
Workflow:
|
|
28
|
+
resolve project → verified-first when requested → search → rank → return ≤5 candidates.
|
|
29
|
+
Do not execute unless values were requested.`,
|
|
30
|
+
invariantIds: invariants_js_1.CONTENT_READER_DEFAULT_INVARIANT_IDS,
|
|
31
|
+
requiredTopics: [exports.TOPIC_DISCOVER],
|
|
32
|
+
};
|
|
33
|
+
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* MCP prompts for content-reader workflows.
|
|
2
|
+
* MCP prompts for content-reader workflows (progressive-disclosure context).
|
|
3
3
|
*/
|
|
4
|
+
import type { RegisterPromptsOptions } from '../../types.js';
|
|
4
5
|
import type { McpServer } from '@modelcontextprotocol/server';
|
|
5
|
-
export declare function registerContentReaderPrompts(server: McpServer): void;
|
|
6
|
+
export declare function registerContentReaderPrompts(server: McpServer, options?: RegisterPromptsOptions): void;
|
|
@@ -1,163 +1,156 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/**
|
|
3
|
-
* MCP prompts for content-reader workflows.
|
|
3
|
+
* MCP prompts for content-reader workflows (progressive-disclosure context).
|
|
4
4
|
*/
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
exports.registerContentReaderPrompts = registerContentReaderPrompts;
|
|
7
7
|
/* eslint-disable @typescript-eslint/no-deprecated -- matches organization-audit prompt registration pattern */
|
|
8
8
|
const zod_1 = require("zod");
|
|
9
9
|
const schema_fields_js_1 = require("../../../tools/lib/schema-fields.js");
|
|
10
|
-
const
|
|
10
|
+
const prompt_context_js_1 = require("../../lib/prompt-context.js");
|
|
11
|
+
const invariants_js_1 = require("./invariants.js");
|
|
12
|
+
const prompt_specs_js_1 = require("./prompt-specs.js");
|
|
11
13
|
const playbooks_js_1 = require("./resources/playbooks.js");
|
|
12
|
-
const
|
|
14
|
+
const TOPIC_COMPARE = 'compare';
|
|
15
|
+
const TOPIC_EXPLAIN_RUN = 'explain-run';
|
|
16
|
+
const bindPromptContext = (0, prompt_context_js_1.bindProfilePromptContext)({
|
|
17
|
+
invariants: invariants_js_1.CONTENT_READER_INVARIANTS,
|
|
13
18
|
core: playbooks_js_1.CONTENT_READER_CORE_PLAYBOOK,
|
|
14
19
|
topics: playbooks_js_1.CONTENT_READER_TOPIC_PLAYBOOKS,
|
|
20
|
+
topicMeta: playbooks_js_1.CONTENT_READER_TOPIC_META,
|
|
15
21
|
});
|
|
16
|
-
|
|
17
|
-
const
|
|
18
|
-
const
|
|
19
|
-
function registerContentReaderPrompts(server) {
|
|
22
|
+
function registerContentReaderPrompts(server, options) {
|
|
23
|
+
const promptContext = bindPromptContext(options === null || options === void 0 ? void 0 : options.promptContextPolicy);
|
|
24
|
+
const invariantIds = invariants_js_1.CONTENT_READER_DEFAULT_INVARIANT_IDS;
|
|
20
25
|
server.registerPrompt('find_content', {
|
|
21
26
|
title: 'Find content',
|
|
22
27
|
description: 'Find the most relevant saved Lightdash content in the current project',
|
|
23
28
|
argsSchema: {
|
|
24
|
-
projectUuid:
|
|
29
|
+
projectUuid: (0, schema_fields_js_1.optionalProjectUuidField)(),
|
|
25
30
|
question: zod_1.z.string(),
|
|
26
31
|
contentTypes: zod_1.z.string().optional(),
|
|
27
32
|
verifiedOnly: zod_1.z.boolean().optional(),
|
|
28
33
|
spaceUuid: zod_1.z.string().optional(),
|
|
29
34
|
},
|
|
30
|
-
}, ({ projectUuid, question, contentTypes, verifiedOnly, spaceUuid }) =>
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
Content types hint: ${contentTypes !== null && contentTypes !== void 0 ? contentTypes : '(any)'}.
|
|
38
|
-
Verified preference: ${verifiedOnly !== null && verifiedOnly !== void 0 ? verifiedOnly : false} (when true, call list_verified_content first — search_content does not filter by verification).
|
|
39
|
-
Space filter: ${spaceUuid !== null && spaceUuid !== void 0 ? spaceUuid : '(none)'}.
|
|
40
|
-
|
|
41
|
-
Procedure:
|
|
42
|
-
1. get_project with projectUuid/pin; record readerCapabilities.
|
|
43
|
-
2. When verifiedOnly is true (or the user asked for trusted/canonical content): call list_verified_content first and prefer those matches.
|
|
44
|
-
3. Else (or when the verified list is empty): search_content with short tokens (retry Japanese/single keyword / sortBy=views if empty). Use spaceUuids when given. pageSize≤25; ≤2 pages.
|
|
45
|
-
4. Prefer semantic charts (source≠sql). Rank: verified first → pinned + views + description.
|
|
46
|
-
5. Optionally list_spaces / get_space (≤3) to confirm path.
|
|
47
|
-
6. Return ≤5 candidates (name/type/uuid/space/views/verified/source/why). Do not execute unless values were requested.`, 'discover'));
|
|
35
|
+
}, ({ projectUuid, question, contentTypes, verifiedOnly, spaceUuid }) => promptContext((0, prompt_specs_js_1.buildFindContentPromptSpec)({
|
|
36
|
+
projectUuid,
|
|
37
|
+
question,
|
|
38
|
+
contentTypes,
|
|
39
|
+
verifiedOnly,
|
|
40
|
+
spaceUuid,
|
|
41
|
+
})));
|
|
48
42
|
server.registerPrompt('explain_chart', {
|
|
49
43
|
title: 'Explain chart',
|
|
50
44
|
description: 'Explain a saved chart from metadata (optional bounded execution)',
|
|
51
45
|
argsSchema: {
|
|
52
|
-
projectUuid:
|
|
46
|
+
projectUuid: (0, schema_fields_js_1.optionalProjectUuidField)(),
|
|
53
47
|
chartUuidOrSlug: zod_1.z.string(),
|
|
54
48
|
includeLatestValues: zod_1.z.boolean().optional(),
|
|
55
49
|
},
|
|
56
|
-
}, ({ projectUuid, chartUuidOrSlug, includeLatestValues }) =>
|
|
57
|
-
|
|
58
|
-
${playbooks_js_1.CONTENT_READER_HARD_BANS}
|
|
50
|
+
}, ({ projectUuid, chartUuidOrSlug, includeLatestValues }) => promptContext({
|
|
51
|
+
task: `Explain the saved chart ${chartUuidOrSlug}.
|
|
59
52
|
|
|
60
|
-
|
|
53
|
+
${(0, schema_fields_js_1.formatPromptProjectUuidLine)(projectUuid)}
|
|
61
54
|
includeLatestValues=${includeLatestValues !== null && includeLatestValues !== void 0 ? includeLatestValues : false}.
|
|
62
55
|
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
6. Do not construct a new query or retrieve underlying data.`, TOPIC_EXPLAIN_RUN));
|
|
56
|
+
Workflow:
|
|
57
|
+
get_project → get_chart / explain_content → optional bounded run_chart / export_chart_image.
|
|
58
|
+
Skip SQL charts for execution. Separate explicit metadata from inference.`,
|
|
59
|
+
invariantIds,
|
|
60
|
+
requiredTopics: [TOPIC_EXPLAIN_RUN],
|
|
61
|
+
}));
|
|
70
62
|
server.registerPrompt('summarize_dashboard', {
|
|
71
63
|
title: 'Summarize dashboard',
|
|
72
64
|
description: 'Summarize a dashboard with optional bounded tile execution',
|
|
73
65
|
argsSchema: {
|
|
74
|
-
projectUuid:
|
|
66
|
+
projectUuid: (0, schema_fields_js_1.optionalProjectUuidField)(),
|
|
75
67
|
dashboardUuidOrSlug: zod_1.z.string(),
|
|
76
68
|
executeTiles: zod_1.z.boolean().optional(),
|
|
77
69
|
maximumTiles: zod_1.z.number().optional(),
|
|
78
70
|
focus: zod_1.z.string().optional(),
|
|
79
71
|
},
|
|
80
|
-
}, ({ projectUuid, dashboardUuidOrSlug, executeTiles, maximumTiles, focus }) =>
|
|
81
|
-
|
|
82
|
-
${playbooks_js_1.CONTENT_READER_HARD_BANS}
|
|
72
|
+
}, ({ projectUuid, dashboardUuidOrSlug, executeTiles, maximumTiles, focus }) => promptContext({
|
|
73
|
+
task: `Summarize dashboard ${dashboardUuidOrSlug}.
|
|
83
74
|
|
|
84
|
-
|
|
75
|
+
${(0, schema_fields_js_1.formatPromptProjectUuidLine)(projectUuid)}
|
|
85
76
|
Focus: ${focus !== null && focus !== void 0 ? focus : '(general summary)'}.
|
|
86
77
|
Execute tiles: ${executeTiles !== null && executeTiles !== void 0 ? executeTiles : false}; max tiles: ${maximumTiles !== null && maximumTiles !== void 0 ? maximumTiles : 5}.
|
|
87
78
|
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
79
|
+
Workflow:
|
|
80
|
+
get_dashboard → summarize structure → optional bounded run_dashboard_tile.
|
|
81
|
+
Unexecuted tiles must not support conclusions.`,
|
|
82
|
+
invariantIds,
|
|
83
|
+
requiredTopics: [TOPIC_EXPLAIN_RUN],
|
|
84
|
+
}));
|
|
93
85
|
server.registerPrompt('answer_from_content', {
|
|
94
86
|
title: 'Answer from content',
|
|
95
87
|
description: 'Answer a question using existing saved Lightdash content only',
|
|
96
88
|
argsSchema: {
|
|
97
|
-
projectUuid:
|
|
89
|
+
projectUuid: (0, schema_fields_js_1.optionalProjectUuidField)(),
|
|
98
90
|
question: zod_1.z.string(),
|
|
99
91
|
verifiedOnly: zod_1.z.boolean().optional(),
|
|
100
92
|
maximumExecutions: zod_1.z.number().optional(),
|
|
101
93
|
},
|
|
102
|
-
}, ({ projectUuid, question, verifiedOnly, maximumExecutions }) =>
|
|
94
|
+
}, ({ projectUuid, question, verifiedOnly, maximumExecutions }) => promptContext({
|
|
95
|
+
task: `Answer this question using existing Lightdash content only:
|
|
103
96
|
|
|
104
97
|
${question}
|
|
105
98
|
|
|
106
|
-
${
|
|
107
|
-
|
|
108
|
-
Project: ${projectUuid !== null && projectUuid !== void 0 ? projectUuid : PROJECT_UUID_HINT}.
|
|
109
|
-
Prefer verified=${verifiedOnly !== null && verifiedOnly !== void 0 ? verifiedOnly : false} when set — call list_verified_content first; else search_content (pinned + views + description). search_content does not filter by verification.
|
|
99
|
+
${(0, schema_fields_js_1.formatPromptProjectUuidLine)(projectUuid)}
|
|
100
|
+
Prefer verified=${verifiedOnly !== null && verifiedOnly !== void 0 ? verifiedOnly : false} when set — call list_verified_content first; else search_content.
|
|
110
101
|
Max executions: ${maximumExecutions !== null && maximumExecutions !== void 0 ? maximumExecutions : 3}.
|
|
111
102
|
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
103
|
+
Workflow:
|
|
104
|
+
discover → inspect → minimal bounded execution → answer with coverage/limitations.`,
|
|
105
|
+
invariantIds,
|
|
106
|
+
requiredTopics: [prompt_specs_js_1.TOPIC_DISCOVER, TOPIC_EXPLAIN_RUN],
|
|
107
|
+
}));
|
|
117
108
|
server.registerPrompt('compare_content', {
|
|
118
109
|
title: 'Compare content',
|
|
119
110
|
description: 'Compare saved content definitions and optionally values',
|
|
120
111
|
argsSchema: {
|
|
121
|
-
projectUuid:
|
|
112
|
+
projectUuid: (0, schema_fields_js_1.optionalProjectUuidField)(),
|
|
122
113
|
contentReferences: zod_1.z.string(),
|
|
123
114
|
comparisonQuestion: zod_1.z.string(),
|
|
124
115
|
},
|
|
125
|
-
}, ({ projectUuid, contentReferences, comparisonQuestion }) =>
|
|
116
|
+
}, ({ projectUuid, contentReferences, comparisonQuestion }) => promptContext({
|
|
117
|
+
task: `Compare these Lightdash content items:
|
|
126
118
|
|
|
127
119
|
${contentReferences}
|
|
128
120
|
|
|
129
121
|
Question:
|
|
130
122
|
${comparisonQuestion}
|
|
131
123
|
|
|
132
|
-
${
|
|
133
|
-
|
|
134
|
-
Project: ${projectUuid !== null && projectUuid !== void 0 ? projectUuid : PROJECT_UUID_HINT}.
|
|
124
|
+
${(0, schema_fields_js_1.formatPromptProjectUuidLine)(projectUuid)}
|
|
135
125
|
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
126
|
+
Workflow:
|
|
127
|
+
resolve both sides → diff definitions before values → execute only when needed (≤2).`,
|
|
128
|
+
invariantIds,
|
|
129
|
+
requiredTopics: [TOPIC_COMPARE],
|
|
130
|
+
}));
|
|
141
131
|
server.registerPrompt('investigate_result_difference', {
|
|
142
132
|
title: 'Investigate result difference',
|
|
143
133
|
description: 'Investigate why two content resources differ',
|
|
144
134
|
argsSchema: {
|
|
145
|
-
projectUuid:
|
|
135
|
+
projectUuid: (0, schema_fields_js_1.optionalProjectUuidField)(),
|
|
146
136
|
firstContent: zod_1.z.string(),
|
|
147
137
|
secondContent: zod_1.z.string(),
|
|
148
138
|
observedDifference: zod_1.z.string(),
|
|
149
139
|
},
|
|
150
|
-
}, ({ projectUuid, firstContent, secondContent, observedDifference }) =>
|
|
140
|
+
}, ({ projectUuid, firstContent, secondContent, observedDifference }) => promptContext({
|
|
141
|
+
task: `Investigate why these Lightdash resources differ:
|
|
151
142
|
|
|
152
143
|
First: ${firstContent}
|
|
153
144
|
Second: ${secondContent}
|
|
154
145
|
Difference: ${observedDifference}
|
|
155
146
|
|
|
156
|
-
${
|
|
157
|
-
|
|
158
|
-
Project: ${projectUuid !== null && projectUuid !== void 0 ? projectUuid : PROJECT_UUID_HINT}.
|
|
147
|
+
${(0, schema_fields_js_1.formatPromptProjectUuidLine)(projectUuid)}
|
|
159
148
|
|
|
160
|
-
|
|
161
|
-
|
|
149
|
+
Workflow:
|
|
150
|
+
checklist definitions (metrics, filters, grains, parameters, cache) → execute only when needed.
|
|
151
|
+
Separate confirmed, plausible, ruled-out, and unresolved causes.`,
|
|
152
|
+
invariantIds,
|
|
153
|
+
requiredTopics: [TOPIC_COMPARE],
|
|
154
|
+
}));
|
|
162
155
|
}
|
|
163
156
|
/* eslint-enable @typescript-eslint/no-deprecated */
|
|
@@ -3,8 +3,9 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import type { McpServer } from '@modelcontextprotocol/server';
|
|
5
5
|
export type ContentReaderPlaybookTopic = 'compare' | 'discover' | 'explain-run';
|
|
6
|
-
export
|
|
6
|
+
export { CONTENT_READER_HARD_BANS } from '../invariants.js';
|
|
7
7
|
export declare const getAllPlaybookMarkdown: () => string;
|
|
8
8
|
export declare const CONTENT_READER_CORE_PLAYBOOK: import("../../../lib/playbook-resources.js").EmbeddedPlaybook;
|
|
9
9
|
export declare const CONTENT_READER_TOPIC_PLAYBOOKS: Readonly<Record<ContentReaderPlaybookTopic, import("../../../lib/playbook-resources.js").EmbeddedPlaybook>>;
|
|
10
|
+
export declare const CONTENT_READER_TOPIC_META: Readonly<Record<ContentReaderPlaybookTopic, import("../../../lib/playbook-resources.js").PromptTopicMeta>>;
|
|
10
11
|
export declare function registerContentReaderPlaybook(server: McpServer): void;
|
|
@@ -3,21 +3,12 @@
|
|
|
3
3
|
* Content-reader multi-playbook resources (core + topics + index).
|
|
4
4
|
*/
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.CONTENT_READER_TOPIC_PLAYBOOKS = exports.CONTENT_READER_CORE_PLAYBOOK = exports.getAllPlaybookMarkdown = exports.CONTENT_READER_HARD_BANS = void 0;
|
|
6
|
+
exports.CONTENT_READER_TOPIC_META = exports.CONTENT_READER_TOPIC_PLAYBOOKS = exports.CONTENT_READER_CORE_PLAYBOOK = exports.getAllPlaybookMarkdown = exports.CONTENT_READER_HARD_BANS = void 0;
|
|
7
7
|
exports.registerContentReaderPlaybook = registerContentReaderPlaybook;
|
|
8
8
|
const playbook_resources_js_1 = require("../../../lib/playbook-resources.js");
|
|
9
9
|
const playbooks = (0, playbook_resources_js_1.defineProfilePlaybooks)({
|
|
10
10
|
profileId: 'content-reader',
|
|
11
11
|
moduleDir: __dirname,
|
|
12
|
-
hardBans: `Do not mutate Lightdash resources.
|
|
13
|
-
Do not execute arbitrary metric queries, raw SQL, or underlying-data queries.
|
|
14
|
-
Do not download or bulk-export results.
|
|
15
|
-
Do not execute saved SQL charts (disabled by default on content-reader).
|
|
16
|
-
Do not override filter targets, operators, required-filter behavior, fields, metrics, dimensions, SQL, table calculations, or sorts.
|
|
17
|
-
Do not execute content outside the resolved project (pass projectUuid or HTTP pin).
|
|
18
|
-
Do not present truncated results as complete.
|
|
19
|
-
Do not claim metric equivalence from matching labels alone.
|
|
20
|
-
Do not reveal secrets, warehouse credentials, hidden SQL, or inaccessible content.`,
|
|
21
12
|
coreDescription: 'Hard bans, budgets, tools, project scope, and coverage semantics',
|
|
22
13
|
topics: [
|
|
23
14
|
{
|
|
@@ -25,25 +16,33 @@ Do not reveal secrets, warehouse credentials, hidden SQL, or inaccessible conten
|
|
|
25
16
|
title: 'Content-reader discover playbook',
|
|
26
17
|
description: 'Intent classification and content discovery',
|
|
27
18
|
file: 'discover.md',
|
|
19
|
+
useWhen: 'Search results are weak, verified-only behavior matters, or discovery needs fallback',
|
|
20
|
+
priority: 0.8,
|
|
28
21
|
},
|
|
29
22
|
{
|
|
30
23
|
id: 'explain-run',
|
|
31
24
|
title: 'Content-reader explain/run playbook',
|
|
32
25
|
description: 'Inspect metadata and execute bounded saved content',
|
|
33
26
|
file: 'explain-run.md',
|
|
27
|
+
useWhen: 'Explaining or optionally executing a saved chart/dashboard',
|
|
28
|
+
priority: 0.75,
|
|
34
29
|
},
|
|
35
30
|
{
|
|
36
31
|
id: 'compare',
|
|
37
32
|
title: 'Content-reader compare playbook',
|
|
38
33
|
description: 'Compare and investigate differences between saved content',
|
|
39
34
|
file: 'compare.md',
|
|
35
|
+
useWhen: 'Comparing definitions or investigating result differences',
|
|
36
|
+
priority: 0.7,
|
|
40
37
|
},
|
|
41
38
|
],
|
|
42
39
|
});
|
|
43
|
-
|
|
40
|
+
var invariants_js_1 = require("../invariants.js");
|
|
41
|
+
Object.defineProperty(exports, "CONTENT_READER_HARD_BANS", { enumerable: true, get: function () { return invariants_js_1.CONTENT_READER_HARD_BANS; } });
|
|
44
42
|
exports.getAllPlaybookMarkdown = playbooks.getAllPlaybookMarkdown;
|
|
45
43
|
exports.CONTENT_READER_CORE_PLAYBOOK = playbooks.CORE_PLAYBOOK;
|
|
46
44
|
exports.CONTENT_READER_TOPIC_PLAYBOOKS = playbooks.TOPIC_PLAYBOOKS;
|
|
45
|
+
exports.CONTENT_READER_TOPIC_META = playbooks.TOPIC_META;
|
|
47
46
|
function registerContentReaderPlaybook(server) {
|
|
48
47
|
playbooks.registerPlaybooks(server);
|
|
49
48
|
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Data-analyst structured prompt invariants (SSOT for capsules + HARD_BANS projection).
|
|
3
|
+
*/
|
|
4
|
+
export declare const DATA_ANALYST_INVARIANTS: readonly [{
|
|
5
|
+
readonly id: "no-mutation";
|
|
6
|
+
readonly short: "Do not mutate Lightdash resources (create/update/delete/move charts or dashboards).";
|
|
7
|
+
}, {
|
|
8
|
+
readonly id: "no-raw-sql-or-drills";
|
|
9
|
+
readonly short: "Do not run raw SQL, tableCalculations, underlying-data drills, or result downloads.";
|
|
10
|
+
}, {
|
|
11
|
+
readonly id: "no-saved-chart-execution";
|
|
12
|
+
readonly short: "Do not execute saved charts (use content-reader) or invent fieldIds.";
|
|
13
|
+
}, {
|
|
14
|
+
readonly id: "no-overstate-coverage";
|
|
15
|
+
readonly short: "Do not present truncated results as complete.";
|
|
16
|
+
}, {
|
|
17
|
+
readonly id: "project-scope";
|
|
18
|
+
readonly short: "Do not run queries outside the resolved project (pass projectUuid or HTTP pin).";
|
|
19
|
+
}];
|
|
20
|
+
export declare const DATA_ANALYST_HARD_BANS: string;
|
|
21
|
+
export declare const DATA_ANALYST_DEFAULT_INVARIANT_IDS: readonly ("project-scope" | "no-mutation" | "no-overstate-coverage" | "no-raw-sql-or-drills" | "no-saved-chart-execution")[];
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Data-analyst structured prompt invariants (SSOT for capsules + HARD_BANS projection).
|
|
4
|
+
*/
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.DATA_ANALYST_DEFAULT_INVARIANT_IDS = exports.DATA_ANALYST_HARD_BANS = exports.DATA_ANALYST_INVARIANTS = void 0;
|
|
7
|
+
const prompt_invariants_js_1 = require("../../lib/prompt-invariants.js");
|
|
8
|
+
exports.DATA_ANALYST_INVARIANTS = [
|
|
9
|
+
{
|
|
10
|
+
id: 'no-mutation',
|
|
11
|
+
short: 'Do not mutate Lightdash resources (create/update/delete/move charts or dashboards).',
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
id: 'no-raw-sql-or-drills',
|
|
15
|
+
short: 'Do not run raw SQL, tableCalculations, underlying-data drills, or result downloads.',
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
id: 'no-saved-chart-execution',
|
|
19
|
+
short: 'Do not execute saved charts (use content-reader) or invent fieldIds.',
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
id: 'no-overstate-coverage',
|
|
23
|
+
short: 'Do not present truncated results as complete.',
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
id: 'project-scope',
|
|
27
|
+
short: 'Do not run queries outside the resolved project (pass projectUuid or HTTP pin).',
|
|
28
|
+
},
|
|
29
|
+
];
|
|
30
|
+
exports.DATA_ANALYST_HARD_BANS = (0, prompt_invariants_js_1.formatHardBansProjection)(exports.DATA_ANALYST_INVARIANTS);
|
|
31
|
+
exports.DATA_ANALYST_DEFAULT_INVARIANT_IDS = (0, prompt_invariants_js_1.allInvariantIds)(exports.DATA_ANALYST_INVARIANTS);
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* MCP prompts for data-analyst workflows.
|
|
2
|
+
* MCP prompts for data-analyst workflows (progressive-disclosure context).
|
|
3
3
|
*/
|
|
4
|
+
import type { RegisterPromptsOptions } from '../../types.js';
|
|
4
5
|
import type { McpServer } from '@modelcontextprotocol/server';
|
|
5
|
-
export declare function registerDataAnalystPrompts(server: McpServer): void;
|
|
6
|
+
export declare function registerDataAnalystPrompts(server: McpServer, options?: RegisterPromptsOptions): void;
|
|
@@ -1,19 +1,25 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/**
|
|
3
|
-
* MCP prompts for data-analyst workflows.
|
|
3
|
+
* MCP prompts for data-analyst workflows (progressive-disclosure context).
|
|
4
4
|
*/
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
exports.registerDataAnalystPrompts = registerDataAnalystPrompts;
|
|
7
7
|
/* eslint-disable @typescript-eslint/no-deprecated -- matches other profile prompt registration pattern */
|
|
8
8
|
const zod_1 = require("zod");
|
|
9
9
|
const schema_fields_js_1 = require("../../../tools/lib/schema-fields.js");
|
|
10
|
-
const
|
|
10
|
+
const prompt_context_js_1 = require("../../lib/prompt-context.js");
|
|
11
|
+
const invariants_js_1 = require("./invariants.js");
|
|
11
12
|
const playbooks_js_1 = require("./resources/playbooks.js");
|
|
12
|
-
const
|
|
13
|
+
const TOPIC_EXPLORE = 'explore';
|
|
14
|
+
const bindPromptContext = (0, prompt_context_js_1.bindProfilePromptContext)({
|
|
15
|
+
invariants: invariants_js_1.DATA_ANALYST_INVARIANTS,
|
|
13
16
|
core: playbooks_js_1.DATA_ANALYST_CORE_PLAYBOOK,
|
|
14
17
|
topics: playbooks_js_1.DATA_ANALYST_TOPIC_PLAYBOOKS,
|
|
18
|
+
topicMeta: playbooks_js_1.DATA_ANALYST_TOPIC_META,
|
|
15
19
|
});
|
|
16
|
-
function registerDataAnalystPrompts(server) {
|
|
20
|
+
function registerDataAnalystPrompts(server, options) {
|
|
21
|
+
const promptContext = bindPromptContext(options === null || options === void 0 ? void 0 : options.promptContextPolicy);
|
|
22
|
+
const invariantIds = invariants_js_1.DATA_ANALYST_DEFAULT_INVARIANT_IDS;
|
|
17
23
|
server.registerPrompt('explore_data', {
|
|
18
24
|
title: 'Explore data',
|
|
19
25
|
description: 'Explore a Lightdash project with unsaved metric queries (dimensions, metrics, filters) — do not save charts',
|
|
@@ -22,13 +28,12 @@ function registerDataAnalystPrompts(server) {
|
|
|
22
28
|
question: zod_1.z.string(),
|
|
23
29
|
exploreHint: zod_1.z.string().optional(),
|
|
24
30
|
},
|
|
25
|
-
}, ({ projectUuid, question, exploreHint }) =>
|
|
31
|
+
}, ({ projectUuid, question, exploreHint }) => promptContext({
|
|
32
|
+
task: `Answer this data question by exploring the semantic layer and running unsaved metric queries:
|
|
26
33
|
|
|
27
34
|
${question}
|
|
28
35
|
|
|
29
|
-
${
|
|
30
|
-
|
|
31
|
-
Project: ${projectUuid !== null && projectUuid !== void 0 ? projectUuid : '(use HTTP pin or ask for projectUuid — PROJECT_SCOPE_REQUIRED otherwise)'}.
|
|
36
|
+
${(0, schema_fields_js_1.formatPromptProjectUuidLine)(projectUuid)}
|
|
32
37
|
Explore hint: ${exploreHint !== null && exploreHint !== void 0 ? exploreHint : '(discover with list_explores search+limit)'}.
|
|
33
38
|
|
|
34
39
|
Procedure:
|
|
@@ -36,6 +41,9 @@ Procedure:
|
|
|
36
41
|
2. list_explores (search+limit≤15) → get_explore → lock exploreName.
|
|
37
42
|
3. Copy fieldIds from list_dimensions / list_metrics (or get_explore base-table metrics). Never invent fieldIds.
|
|
38
43
|
4. Optional compile_query; then run_metric_query with small limit. Poll get_query_result if needed.
|
|
39
|
-
5. Iterate filters/fields. Do not save charts unless the user asks.`,
|
|
44
|
+
5. Iterate filters/fields. Do not save charts unless the user asks.`,
|
|
45
|
+
invariantIds,
|
|
46
|
+
requiredTopics: [TOPIC_EXPLORE],
|
|
47
|
+
}));
|
|
40
48
|
}
|
|
41
49
|
/* eslint-enable @typescript-eslint/no-deprecated */
|
|
@@ -3,8 +3,9 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import type { McpServer } from '@modelcontextprotocol/server';
|
|
5
5
|
export type DataAnalystPlaybookTopic = 'explore';
|
|
6
|
-
export
|
|
6
|
+
export { DATA_ANALYST_HARD_BANS } from '../invariants.js';
|
|
7
7
|
export declare const getAllPlaybookMarkdown: () => string;
|
|
8
8
|
export declare const DATA_ANALYST_CORE_PLAYBOOK: import("../../../lib/playbook-resources.js").EmbeddedPlaybook;
|
|
9
9
|
export declare const DATA_ANALYST_TOPIC_PLAYBOOKS: Readonly<Record<"explore", import("../../../lib/playbook-resources.js").EmbeddedPlaybook>>;
|
|
10
|
+
export declare const DATA_ANALYST_TOPIC_META: Readonly<Record<"explore", import("../../../lib/playbook-resources.js").PromptTopicMeta>>;
|
|
10
11
|
export declare function registerDataAnalystPlaybook(server: McpServer): void;
|
|
@@ -3,17 +3,12 @@
|
|
|
3
3
|
* Data-analyst multi-playbook resources (core + explore topic).
|
|
4
4
|
*/
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.DATA_ANALYST_TOPIC_PLAYBOOKS = exports.DATA_ANALYST_CORE_PLAYBOOK = exports.getAllPlaybookMarkdown = exports.DATA_ANALYST_HARD_BANS = void 0;
|
|
6
|
+
exports.DATA_ANALYST_TOPIC_META = exports.DATA_ANALYST_TOPIC_PLAYBOOKS = exports.DATA_ANALYST_CORE_PLAYBOOK = exports.getAllPlaybookMarkdown = exports.DATA_ANALYST_HARD_BANS = void 0;
|
|
7
7
|
exports.registerDataAnalystPlaybook = registerDataAnalystPlaybook;
|
|
8
8
|
const playbook_resources_js_1 = require("../../../lib/playbook-resources.js");
|
|
9
9
|
const playbooks = (0, playbook_resources_js_1.defineProfilePlaybooks)({
|
|
10
10
|
profileId: 'data-analyst',
|
|
11
11
|
moduleDir: __dirname,
|
|
12
|
-
hardBans: `Do not mutate Lightdash resources (create/update/delete/move charts or dashboards).
|
|
13
|
-
Do not run raw SQL, tableCalculations, underlying-data drills, or result downloads.
|
|
14
|
-
Do not execute saved charts (use content-reader) or invent fieldIds.
|
|
15
|
-
Do not present truncated results as complete.
|
|
16
|
-
Do not run queries outside the resolved project (pass projectUuid or HTTP pin).`,
|
|
17
12
|
coreDescription: 'Hard bans, budgets, tools, and project scope',
|
|
18
13
|
topics: [
|
|
19
14
|
{
|
|
@@ -21,13 +16,17 @@ Do not run queries outside the resolved project (pass projectUuid or HTTP pin).`
|
|
|
21
16
|
title: 'Data-analyst explore playbook',
|
|
22
17
|
description: 'Compose and run unsaved metric queries (UI Explore loop)',
|
|
23
18
|
file: 'explore.md',
|
|
19
|
+
useWhen: 'Composing and running unsaved metric queries',
|
|
20
|
+
priority: 0.8,
|
|
24
21
|
},
|
|
25
22
|
],
|
|
26
23
|
});
|
|
27
|
-
|
|
24
|
+
var invariants_js_1 = require("../invariants.js");
|
|
25
|
+
Object.defineProperty(exports, "DATA_ANALYST_HARD_BANS", { enumerable: true, get: function () { return invariants_js_1.DATA_ANALYST_HARD_BANS; } });
|
|
28
26
|
exports.getAllPlaybookMarkdown = playbooks.getAllPlaybookMarkdown;
|
|
29
27
|
exports.DATA_ANALYST_CORE_PLAYBOOK = playbooks.CORE_PLAYBOOK;
|
|
30
28
|
exports.DATA_ANALYST_TOPIC_PLAYBOOKS = playbooks.TOPIC_PLAYBOOKS;
|
|
29
|
+
exports.DATA_ANALYST_TOPIC_META = playbooks.TOPIC_META;
|
|
31
30
|
function registerDataAnalystPlaybook(server) {
|
|
32
31
|
playbooks.registerPlaybooks(server);
|
|
33
32
|
}
|