@lightdash/common 3.268.2 → 3.268.4
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/cjs/.tsbuildinfo +1 -1
- package/dist/cjs/ee/AiAgent/schemas/tools/mcpDocumentContent.d.ts +1 -1
- package/dist/cjs/ee/AiAgent/schemas/tools/mcpDocumentContent.d.ts.map +1 -1
- package/dist/cjs/ee/AiAgent/schemas/tools/toolReadContentArgs.d.ts +2 -2
- package/dist/cjs/ee/AiAgent/schemas/tools/toolReadContentArgs.d.ts.map +1 -1
- package/dist/cjs/ee/AiAgent/schemas/tools/toolReadContentArgs.js +1 -1
- package/dist/cjs/ee/AiAgent/schemas/tools/toolReadContentArgs.js.map +1 -1
- package/dist/cjs/schemas/json/mcp-tools-1.0.json +1 -1
- package/dist/esm/.tsbuildinfo +1 -1
- package/dist/esm/ee/AiAgent/schemas/tools/mcpDocumentContent.d.ts +1 -1
- package/dist/esm/ee/AiAgent/schemas/tools/mcpDocumentContent.d.ts.map +1 -1
- package/dist/esm/ee/AiAgent/schemas/tools/toolReadContentArgs.d.ts +2 -2
- package/dist/esm/ee/AiAgent/schemas/tools/toolReadContentArgs.d.ts.map +1 -1
- package/dist/esm/ee/AiAgent/schemas/tools/toolReadContentArgs.js +1 -1
- package/dist/esm/ee/AiAgent/schemas/tools/toolReadContentArgs.js.map +1 -1
- package/dist/esm/schemas/json/mcp-tools-1.0.json +1 -1
- package/dist/types/.tsbuildinfo +1 -1
- package/dist/types/ee/AiAgent/schemas/tools/mcpDocumentContent.d.ts +1 -1
- package/dist/types/ee/AiAgent/schemas/tools/mcpDocumentContent.d.ts.map +1 -1
- package/dist/types/ee/AiAgent/schemas/tools/toolReadContentArgs.d.ts +2 -2
- package/dist/types/ee/AiAgent/schemas/tools/toolReadContentArgs.d.ts.map +1 -1
- package/dist/types/ee/AiAgent/schemas/tools/toolReadContentArgs.js +1 -1
- package/dist/types/ee/AiAgent/schemas/tools/toolReadContentArgs.js.map +1 -1
- package/dist/types/schemas/json/mcp-tools-1.0.json +1 -1
- package/package.json +1 -1
|
@@ -256,7 +256,7 @@ export declare const mcpDocumentEditSchema: z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
256
256
|
export declare const MCP_CREATE_CONTENT_DESCRIPTION: (context: ToolDescriptionContext) => string;
|
|
257
257
|
/** For an actor who can save Documents but not charts or dashboards. */
|
|
258
258
|
export declare const DOCUMENT_CREATE_CONTENT_DESCRIPTION: (context: ToolDescriptionContext) => string;
|
|
259
|
-
export declare const MCP_READ_CONTENT_DESCRIPTION = "Read a dashboard, chart, SQL chart, data app or Document by its slug. Dashboard chart tiles include a read-only chartQuery (the explore and field ids the chart uses) for targeting dashboard filters per tile without reading each chart. Data apps are read-only: a view of what the app shows and its per-explore data references, without code. A Document returns Markdown where each chart is a short tag (id, title, type, explore), plus the latest version UUID that edits need; pass chartId to read one chart in full. A tag marked unsupported is a chart from a newer version: keep its tag unchanged when editing.";
|
|
259
|
+
export declare const MCP_READ_CONTENT_DESCRIPTION = "Read a dashboard, chart, SQL chart, data app or Document by its slug. Dashboard chart tiles include a read-only chartQuery (the explore and field ids the chart uses) for targeting dashboard filters per tile without reading each chart. Data apps are read-only: a view of what the app shows and its per-explore data references, without code. Address a data app by the slug listed or found for it, not the id in its URL. A Document returns Markdown where each chart is a short tag (id, title, type, explore), plus the latest version UUID that edits need; pass chartId to read one chart in full. A tag marked unsupported is a chart from a newer version: keep its tag unchanged when editing.";
|
|
260
260
|
export declare const MCP_EDIT_CONTENT_DESCRIPTION: (context: ToolDescriptionContext) => string;
|
|
261
261
|
/** For an actor who can save Documents but not charts or dashboards. */
|
|
262
262
|
export declare const DOCUMENT_EDIT_CONTENT_DESCRIPTION: ({ runtime, }: ToolDescriptionContext) => string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mcpDocumentContent.d.ts","sourceRoot":"","sources":["../../../../../../src/ee/AiAgent/schemas/tools/mcpDocumentContent.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AACvE,OAAO,EAAE,KAAK,sBAAsB,EAAE,MAAM,eAAe,CAAC;AAoF5D,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8BAsBjC,CAAC;AAkBH,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAiBa,CAAC;AAE/C,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4BAwChC,CAAC;AAOH,eAAO,MAAM,8BAA8B,YAC9B,sBAAsB,KAChC,MAC2M,CAAC;AAE/M,wEAAwE;AACxE,eAAO,MAAM,mCAAmC,YACnC,sBAAsB,KAChC,MACyE,CAAC;AAE7E,eAAO,MAAM,4BAA4B,
|
|
1
|
+
{"version":3,"file":"mcpDocumentContent.d.ts","sourceRoot":"","sources":["../../../../../../src/ee/AiAgent/schemas/tools/mcpDocumentContent.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AACvE,OAAO,EAAE,KAAK,sBAAsB,EAAE,MAAM,eAAe,CAAC;AAoF5D,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8BAsBjC,CAAC;AAkBH,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAMxC,CAAC;AAEH,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC;AACpE,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC;AAErE;;;GAGG;AACH,MAAM,MAAM,eAAe,GAAG,IAAI,CAAC,iBAAiB,EAAE,UAAU,GAAG,QAAQ,CAAC,GACxE,CACM;IAAE,QAAQ,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,IAAI,CAAA;CAAE,GACjC;IACI,QAAQ,EAAE,IAAI,CAAC;IACf,KAAK,EAAE;QAAE,EAAE,EAAE,MAAM,CAAA;KAAE,GAAG,oBAAoB,CAAC;CAChD,CACN,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
export declare const READ_CONTENT_SHARED_DESCRIPTION = "Dashboard chart tiles include a read-only chartQuery (the explore and field ids the chart uses) for targeting dashboard filters per tile without reading each chart. Data apps are read-only: a view of what the app shows and its per-explore data references, without code.";
|
|
3
|
-
export declare const TOOL_READ_CONTENT_DESCRIPTION = "Read a dashboard, chart, SQL chart or data app as JSON by its slug. Dashboard chart tiles include a read-only chartQuery (the explore and field ids the chart uses) for targeting dashboard filters per tile without reading each chart. Data apps are read-only: a view of what the app shows and its per-explore data references, without code.";
|
|
2
|
+
export declare const READ_CONTENT_SHARED_DESCRIPTION = "Dashboard chart tiles include a read-only chartQuery (the explore and field ids the chart uses) for targeting dashboard filters per tile without reading each chart. Data apps are read-only: a view of what the app shows and its per-explore data references, without code. Address a data app by the slug listed or found for it, not the id in its URL.";
|
|
3
|
+
export declare const TOOL_READ_CONTENT_DESCRIPTION = "Read a dashboard, chart, SQL chart or data app as JSON by its slug. Dashboard chart tiles include a read-only chartQuery (the explore and field ids the chart uses) for targeting dashboard filters per tile without reading each chart. Data apps are read-only: a view of what the app shows and its per-explore data references, without code. Address a data app by the slug listed or found for it, not the id in its URL.";
|
|
4
4
|
export declare const toolReadContentArgsSchema: z.ZodObject<{
|
|
5
5
|
slug: z.ZodString;
|
|
6
6
|
type: z.ZodEnum<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"toolReadContentArgs.d.ts","sourceRoot":"","sources":["../../../../../../src/ee/AiAgent/schemas/tools/toolReadContentArgs.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,eAAO,MAAM,+BAA+B,
|
|
1
|
+
{"version":3,"file":"toolReadContentArgs.d.ts","sourceRoot":"","sources":["../../../../../../src/ee/AiAgent/schemas/tools/toolReadContentArgs.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,eAAO,MAAM,+BAA+B,gWACqT,CAAC;AAElW,eAAO,MAAM,6BAA6B,oaAA2G,CAAC;AAEtJ,eAAO,MAAM,yBAAyB;;;;;;;;iBAKpC,CAAC;AAoBH,eAAO,MAAM,sCAAsC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BAwClD,CAAC;AAGF,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAOtC,CAAC;AAEH,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAC;AAC5E,MAAM,MAAM,eAAe,GAAG,mBAAmB,CAAC,MAAM,CAAC,CAAC;AAE1D,0CAA0C;AAC1C,eAAO,MAAM,wBAAwB,EAAE,MAAM,CAAC,eAAe,EAAE,MAAM,CAKpE,CAAC;AACF,MAAM,MAAM,gCAAgC,GAAG,CAAC,CAAC,KAAK,CAClD,OAAO,sCAAsC,CAChD,CAAC;AACF,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,2BAA2B,CAAC,CAAC"}
|
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.READ_CONTENT_TYPE_LABELS = exports.toolReadContentOutputSchema = exports.toolReadContentStructuredContentSchema = exports.toolReadContentArgsSchema = exports.TOOL_READ_CONTENT_DESCRIPTION = exports.READ_CONTENT_SHARED_DESCRIPTION = void 0;
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
5
|
const outputMetadata_1 = require("../outputMetadata");
|
|
6
|
-
exports.READ_CONTENT_SHARED_DESCRIPTION = 'Dashboard chart tiles include a read-only chartQuery (the explore and field ids the chart uses) for targeting dashboard filters per tile without reading each chart. Data apps are read-only: a view of what the app shows and its per-explore data references, without code.';
|
|
6
|
+
exports.READ_CONTENT_SHARED_DESCRIPTION = 'Dashboard chart tiles include a read-only chartQuery (the explore and field ids the chart uses) for targeting dashboard filters per tile without reading each chart. Data apps are read-only: a view of what the app shows and its per-explore data references, without code. Address a data app by the slug listed or found for it, not the id in its URL.';
|
|
7
7
|
exports.TOOL_READ_CONTENT_DESCRIPTION = `Read a dashboard, chart, SQL chart or data app as JSON by its slug. ${exports.READ_CONTENT_SHARED_DESCRIPTION}`;
|
|
8
8
|
exports.toolReadContentArgsSchema = zod_1.z.object({
|
|
9
9
|
slug: zod_1.z.string().min(1).describe('Slug of the content to read.'),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"toolReadContentArgs.js","sourceRoot":"","sources":["../../../../../../src/ee/AiAgent/schemas/tools/toolReadContentArgs.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AACxB,sDAAqE;AAExD,QAAA,+BAA+B,GACxC
|
|
1
|
+
{"version":3,"file":"toolReadContentArgs.js","sourceRoot":"","sources":["../../../../../../src/ee/AiAgent/schemas/tools/toolReadContentArgs.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AACxB,sDAAqE;AAExD,QAAA,+BAA+B,GAC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ACL,CAAC,CAAC;AAKH,0CAA0C;AAC7B,QAAA,wBAAwB,GAAoC;IACrE,SAAS,EAAE,WAAW;IACtB,KAAK,EAAE,OAAO;IACd,SAAS,EAAE,WAAW;IACtB,QAAQ,EAAE,UAAU;CACvB,CAAC"}
|
|
@@ -4089,7 +4089,7 @@
|
|
|
4089
4089
|
"readOnlyHint": true,
|
|
4090
4090
|
"title": "Read content"
|
|
4091
4091
|
},
|
|
4092
|
-
"description": "Read a dashboard, chart, SQL chart or data app as JSON by its slug. Dashboard chart tiles include a read-only chartQuery (the explore and field ids the chart uses) for targeting dashboard filters per tile without reading each chart. Data apps are read-only: a view of what the app shows and its per-explore data references, without code.",
|
|
4092
|
+
"description": "Read a dashboard, chart, SQL chart or data app as JSON by its slug. Dashboard chart tiles include a read-only chartQuery (the explore and field ids the chart uses) for targeting dashboard filters per tile without reading each chart. Data apps are read-only: a view of what the app shows and its per-explore data references, without code. Address a data app by the slug listed or found for it, not the id in its URL.",
|
|
4093
4093
|
"inputSchema": {
|
|
4094
4094
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4095
4095
|
"properties": {
|