@lightdash/common 2.359.0 → 2.360.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 (121) hide show
  1. package/dist/cjs/.tsbuildinfo +1 -1
  2. package/dist/cjs/ee/AiAgent/schemas/tools/toolGetProjectInfoArgs.d.ts +60 -3
  3. package/dist/cjs/ee/AiAgent/schemas/tools/toolGetProjectInfoArgs.d.ts.map +1 -1
  4. package/dist/cjs/ee/AiAgent/schemas/tools/toolGetProjectInfoArgs.js +48 -3
  5. package/dist/cjs/ee/AiAgent/schemas/tools/toolGetProjectInfoArgs.js.map +1 -1
  6. package/dist/cjs/ee/AiAgent/schemas/tools/toolGetPullRequestDiffArgs.d.ts +35 -3
  7. package/dist/cjs/ee/AiAgent/schemas/tools/toolGetPullRequestDiffArgs.d.ts.map +1 -1
  8. package/dist/cjs/ee/AiAgent/schemas/tools/toolGetPullRequestDiffArgs.js +18 -3
  9. package/dist/cjs/ee/AiAgent/schemas/tools/toolGetPullRequestDiffArgs.js.map +1 -1
  10. package/dist/cjs/ee/AiAgent/schemas/tools/toolGrepFieldsArgs.d.ts +189 -3
  11. package/dist/cjs/ee/AiAgent/schemas/tools/toolGrepFieldsArgs.d.ts.map +1 -1
  12. package/dist/cjs/ee/AiAgent/schemas/tools/toolGrepFieldsArgs.js +57 -24
  13. package/dist/cjs/ee/AiAgent/schemas/tools/toolGrepFieldsArgs.js.map +1 -1
  14. package/dist/cjs/ee/AiAgent/schemas/tools/toolListContentArgs.d.ts +120 -3
  15. package/dist/cjs/ee/AiAgent/schemas/tools/toolListContentArgs.d.ts.map +1 -1
  16. package/dist/cjs/ee/AiAgent/schemas/tools/toolListContentArgs.js +48 -3
  17. package/dist/cjs/ee/AiAgent/schemas/tools/toolListContentArgs.js.map +1 -1
  18. package/dist/cjs/ee/AiAgent/schemas/tools/toolListDataAppThemesArgs.d.ts +41 -3
  19. package/dist/cjs/ee/AiAgent/schemas/tools/toolListDataAppThemesArgs.d.ts.map +1 -1
  20. package/dist/cjs/ee/AiAgent/schemas/tools/toolListDataAppThemesArgs.js +20 -3
  21. package/dist/cjs/ee/AiAgent/schemas/tools/toolListDataAppThemesArgs.js.map +1 -1
  22. package/dist/cjs/ee/AiAgent/schemas/tools/toolListKnowledgeDocumentsArgs.d.ts +39 -3
  23. package/dist/cjs/ee/AiAgent/schemas/tools/toolListKnowledgeDocumentsArgs.d.ts.map +1 -1
  24. package/dist/cjs/ee/AiAgent/schemas/tools/toolListKnowledgeDocumentsArgs.js +19 -3
  25. package/dist/cjs/ee/AiAgent/schemas/tools/toolListKnowledgeDocumentsArgs.js.map +1 -1
  26. package/dist/cjs/ee/AiAgent/schemas/tools/toolListProjectsArgs.d.ts +35 -3
  27. package/dist/cjs/ee/AiAgent/schemas/tools/toolListProjectsArgs.d.ts.map +1 -1
  28. package/dist/cjs/ee/AiAgent/schemas/tools/toolListProjectsArgs.js +13 -3
  29. package/dist/cjs/ee/AiAgent/schemas/tools/toolListProjectsArgs.js.map +1 -1
  30. package/dist/cjs/ee/AiAgent/schemas/tools/toolListWarehouseTablesArgs.d.ts +49 -3
  31. package/dist/cjs/ee/AiAgent/schemas/tools/toolListWarehouseTablesArgs.d.ts.map +1 -1
  32. package/dist/cjs/ee/AiAgent/schemas/tools/toolListWarehouseTablesArgs.js +25 -3
  33. package/dist/cjs/ee/AiAgent/schemas/tools/toolListWarehouseTablesArgs.js.map +1 -1
  34. package/dist/cjs/ee/AiAgent/schemas/tools/toolListWorkstreamsArgs.d.ts +41 -3
  35. package/dist/cjs/ee/AiAgent/schemas/tools/toolListWorkstreamsArgs.d.ts.map +1 -1
  36. package/dist/cjs/ee/AiAgent/schemas/tools/toolListWorkstreamsArgs.js +24 -3
  37. package/dist/cjs/ee/AiAgent/schemas/tools/toolListWorkstreamsArgs.js.map +1 -1
  38. package/dist/cjs/ee/apps/sdkFeatures.js +1 -1
  39. package/dist/cjs/ee/apps/sdkFeatures.js.map +1 -1
  40. package/dist/cjs/schemas/json/mcp-tools-1.0.json +25 -5
  41. package/dist/esm/.tsbuildinfo +1 -1
  42. package/dist/esm/ee/AiAgent/schemas/tools/toolGetProjectInfoArgs.d.ts +60 -3
  43. package/dist/esm/ee/AiAgent/schemas/tools/toolGetProjectInfoArgs.d.ts.map +1 -1
  44. package/dist/esm/ee/AiAgent/schemas/tools/toolGetProjectInfoArgs.js +48 -3
  45. package/dist/esm/ee/AiAgent/schemas/tools/toolGetProjectInfoArgs.js.map +1 -1
  46. package/dist/esm/ee/AiAgent/schemas/tools/toolGetPullRequestDiffArgs.d.ts +35 -3
  47. package/dist/esm/ee/AiAgent/schemas/tools/toolGetPullRequestDiffArgs.d.ts.map +1 -1
  48. package/dist/esm/ee/AiAgent/schemas/tools/toolGetPullRequestDiffArgs.js +18 -3
  49. package/dist/esm/ee/AiAgent/schemas/tools/toolGetPullRequestDiffArgs.js.map +1 -1
  50. package/dist/esm/ee/AiAgent/schemas/tools/toolGrepFieldsArgs.d.ts +189 -3
  51. package/dist/esm/ee/AiAgent/schemas/tools/toolGrepFieldsArgs.d.ts.map +1 -1
  52. package/dist/esm/ee/AiAgent/schemas/tools/toolGrepFieldsArgs.js +57 -24
  53. package/dist/esm/ee/AiAgent/schemas/tools/toolGrepFieldsArgs.js.map +1 -1
  54. package/dist/esm/ee/AiAgent/schemas/tools/toolListContentArgs.d.ts +120 -3
  55. package/dist/esm/ee/AiAgent/schemas/tools/toolListContentArgs.d.ts.map +1 -1
  56. package/dist/esm/ee/AiAgent/schemas/tools/toolListContentArgs.js +48 -3
  57. package/dist/esm/ee/AiAgent/schemas/tools/toolListContentArgs.js.map +1 -1
  58. package/dist/esm/ee/AiAgent/schemas/tools/toolListDataAppThemesArgs.d.ts +41 -3
  59. package/dist/esm/ee/AiAgent/schemas/tools/toolListDataAppThemesArgs.d.ts.map +1 -1
  60. package/dist/esm/ee/AiAgent/schemas/tools/toolListDataAppThemesArgs.js +20 -3
  61. package/dist/esm/ee/AiAgent/schemas/tools/toolListDataAppThemesArgs.js.map +1 -1
  62. package/dist/esm/ee/AiAgent/schemas/tools/toolListKnowledgeDocumentsArgs.d.ts +39 -3
  63. package/dist/esm/ee/AiAgent/schemas/tools/toolListKnowledgeDocumentsArgs.d.ts.map +1 -1
  64. package/dist/esm/ee/AiAgent/schemas/tools/toolListKnowledgeDocumentsArgs.js +19 -3
  65. package/dist/esm/ee/AiAgent/schemas/tools/toolListKnowledgeDocumentsArgs.js.map +1 -1
  66. package/dist/esm/ee/AiAgent/schemas/tools/toolListProjectsArgs.d.ts +35 -3
  67. package/dist/esm/ee/AiAgent/schemas/tools/toolListProjectsArgs.d.ts.map +1 -1
  68. package/dist/esm/ee/AiAgent/schemas/tools/toolListProjectsArgs.js +13 -3
  69. package/dist/esm/ee/AiAgent/schemas/tools/toolListProjectsArgs.js.map +1 -1
  70. package/dist/esm/ee/AiAgent/schemas/tools/toolListWarehouseTablesArgs.d.ts +49 -3
  71. package/dist/esm/ee/AiAgent/schemas/tools/toolListWarehouseTablesArgs.d.ts.map +1 -1
  72. package/dist/esm/ee/AiAgent/schemas/tools/toolListWarehouseTablesArgs.js +25 -3
  73. package/dist/esm/ee/AiAgent/schemas/tools/toolListWarehouseTablesArgs.js.map +1 -1
  74. package/dist/esm/ee/AiAgent/schemas/tools/toolListWorkstreamsArgs.d.ts +41 -3
  75. package/dist/esm/ee/AiAgent/schemas/tools/toolListWorkstreamsArgs.d.ts.map +1 -1
  76. package/dist/esm/ee/AiAgent/schemas/tools/toolListWorkstreamsArgs.js +24 -3
  77. package/dist/esm/ee/AiAgent/schemas/tools/toolListWorkstreamsArgs.js.map +1 -1
  78. package/dist/esm/ee/apps/sdkFeatures.js +1 -1
  79. package/dist/esm/ee/apps/sdkFeatures.js.map +1 -1
  80. package/dist/esm/schemas/json/mcp-tools-1.0.json +25 -5
  81. package/dist/types/.tsbuildinfo +1 -1
  82. package/dist/types/ee/AiAgent/schemas/tools/toolGetProjectInfoArgs.d.ts +60 -3
  83. package/dist/types/ee/AiAgent/schemas/tools/toolGetProjectInfoArgs.d.ts.map +1 -1
  84. package/dist/types/ee/AiAgent/schemas/tools/toolGetProjectInfoArgs.js +48 -3
  85. package/dist/types/ee/AiAgent/schemas/tools/toolGetProjectInfoArgs.js.map +1 -1
  86. package/dist/types/ee/AiAgent/schemas/tools/toolGetPullRequestDiffArgs.d.ts +35 -3
  87. package/dist/types/ee/AiAgent/schemas/tools/toolGetPullRequestDiffArgs.d.ts.map +1 -1
  88. package/dist/types/ee/AiAgent/schemas/tools/toolGetPullRequestDiffArgs.js +18 -3
  89. package/dist/types/ee/AiAgent/schemas/tools/toolGetPullRequestDiffArgs.js.map +1 -1
  90. package/dist/types/ee/AiAgent/schemas/tools/toolGrepFieldsArgs.d.ts +189 -3
  91. package/dist/types/ee/AiAgent/schemas/tools/toolGrepFieldsArgs.d.ts.map +1 -1
  92. package/dist/types/ee/AiAgent/schemas/tools/toolGrepFieldsArgs.js +57 -24
  93. package/dist/types/ee/AiAgent/schemas/tools/toolGrepFieldsArgs.js.map +1 -1
  94. package/dist/types/ee/AiAgent/schemas/tools/toolListContentArgs.d.ts +120 -3
  95. package/dist/types/ee/AiAgent/schemas/tools/toolListContentArgs.d.ts.map +1 -1
  96. package/dist/types/ee/AiAgent/schemas/tools/toolListContentArgs.js +48 -3
  97. package/dist/types/ee/AiAgent/schemas/tools/toolListContentArgs.js.map +1 -1
  98. package/dist/types/ee/AiAgent/schemas/tools/toolListDataAppThemesArgs.d.ts +41 -3
  99. package/dist/types/ee/AiAgent/schemas/tools/toolListDataAppThemesArgs.d.ts.map +1 -1
  100. package/dist/types/ee/AiAgent/schemas/tools/toolListDataAppThemesArgs.js +20 -3
  101. package/dist/types/ee/AiAgent/schemas/tools/toolListDataAppThemesArgs.js.map +1 -1
  102. package/dist/types/ee/AiAgent/schemas/tools/toolListKnowledgeDocumentsArgs.d.ts +39 -3
  103. package/dist/types/ee/AiAgent/schemas/tools/toolListKnowledgeDocumentsArgs.d.ts.map +1 -1
  104. package/dist/types/ee/AiAgent/schemas/tools/toolListKnowledgeDocumentsArgs.js +19 -3
  105. package/dist/types/ee/AiAgent/schemas/tools/toolListKnowledgeDocumentsArgs.js.map +1 -1
  106. package/dist/types/ee/AiAgent/schemas/tools/toolListProjectsArgs.d.ts +35 -3
  107. package/dist/types/ee/AiAgent/schemas/tools/toolListProjectsArgs.d.ts.map +1 -1
  108. package/dist/types/ee/AiAgent/schemas/tools/toolListProjectsArgs.js +13 -3
  109. package/dist/types/ee/AiAgent/schemas/tools/toolListProjectsArgs.js.map +1 -1
  110. package/dist/types/ee/AiAgent/schemas/tools/toolListWarehouseTablesArgs.d.ts +49 -3
  111. package/dist/types/ee/AiAgent/schemas/tools/toolListWarehouseTablesArgs.d.ts.map +1 -1
  112. package/dist/types/ee/AiAgent/schemas/tools/toolListWarehouseTablesArgs.js +25 -3
  113. package/dist/types/ee/AiAgent/schemas/tools/toolListWarehouseTablesArgs.js.map +1 -1
  114. package/dist/types/ee/AiAgent/schemas/tools/toolListWorkstreamsArgs.d.ts +41 -3
  115. package/dist/types/ee/AiAgent/schemas/tools/toolListWorkstreamsArgs.d.ts.map +1 -1
  116. package/dist/types/ee/AiAgent/schemas/tools/toolListWorkstreamsArgs.js +24 -3
  117. package/dist/types/ee/AiAgent/schemas/tools/toolListWorkstreamsArgs.js.map +1 -1
  118. package/dist/types/ee/apps/sdkFeatures.js +1 -1
  119. package/dist/types/ee/apps/sdkFeatures.js.map +1 -1
  120. package/dist/types/schemas/json/mcp-tools-1.0.json +25 -5
  121. package/package.json +1 -1
@@ -1,15 +1,72 @@
1
1
  import { z } from 'zod';
2
+ import { DbtProjectType, ProjectType, WarehouseTypes } from '../../../../types/projects';
2
3
  export declare const TOOL_GET_PROJECT_INFO_DESCRIPTION: string;
3
4
  export declare const toolGetProjectInfoArgsSchema: z.ZodObject<{}, z.core.$strip>;
4
5
  export type ToolGetProjectInfoArgs = z.infer<typeof toolGetProjectInfoArgsSchema>;
5
- export declare const toolGetProjectInfoOutputSchema: z.ZodObject<{
6
+ export declare const toolGetProjectInfoStructuredContentSchema: z.ZodObject<{
7
+ projectName: z.ZodString;
8
+ projectType: z.ZodEnum<typeof ProjectType>;
9
+ dbtConnectionType: z.ZodEnum<typeof DbtProjectType>;
10
+ dbtConnectionLabel: z.ZodString;
11
+ dbtVersion: z.ZodString;
12
+ warehouseType: z.ZodNullable<z.ZodEnum<typeof WarehouseTypes>>;
13
+ git: z.ZodNullable<z.ZodObject<{
14
+ repository: z.ZodString;
15
+ branch: z.ZodString;
16
+ projectSubPath: z.ZodNullable<z.ZodString>;
17
+ hostDomain: z.ZodNullable<z.ZodString>;
18
+ }, z.core.$strip>>;
19
+ previewDeployCi: z.ZodNullable<z.ZodObject<{
20
+ hasPreviewDeployWorkflow: z.ZodBoolean;
21
+ workflowPath: z.ZodNullable<z.ZodString>;
22
+ }, z.core.$strip>>;
23
+ }, z.core.$strip>;
24
+ export type ToolGetProjectInfoStructuredContent = z.infer<typeof toolGetProjectInfoStructuredContentSchema>;
25
+ export declare const toolGetProjectInfoOutputSchema: z.ZodUnion<readonly [z.ZodObject<{
6
26
  result: z.ZodString;
7
- metadata: z.ZodObject<{
27
+ metadata: z.ZodIntersection<z.ZodObject<{
8
28
  status: z.ZodEnum<{
9
29
  error: "error";
10
30
  success: "success";
11
31
  }>;
32
+ }, z.core.$strip>, z.ZodObject<{
33
+ status: z.ZodEnum<{
34
+ success: "success";
35
+ }>;
36
+ }, z.core.$strip>>;
37
+ structuredContent: z.ZodObject<{
38
+ projectName: z.ZodString;
39
+ projectType: z.ZodEnum<typeof ProjectType>;
40
+ dbtConnectionType: z.ZodEnum<typeof DbtProjectType>;
41
+ dbtConnectionLabel: z.ZodString;
42
+ dbtVersion: z.ZodString;
43
+ warehouseType: z.ZodNullable<z.ZodEnum<typeof WarehouseTypes>>;
44
+ git: z.ZodNullable<z.ZodObject<{
45
+ repository: z.ZodString;
46
+ branch: z.ZodString;
47
+ projectSubPath: z.ZodNullable<z.ZodString>;
48
+ hostDomain: z.ZodNullable<z.ZodString>;
49
+ }, z.core.$strip>>;
50
+ previewDeployCi: z.ZodNullable<z.ZodObject<{
51
+ hasPreviewDeployWorkflow: z.ZodBoolean;
52
+ workflowPath: z.ZodNullable<z.ZodString>;
53
+ }, z.core.$strip>>;
12
54
  }, z.core.$strip>;
13
- }, z.core.$strip>;
55
+ }, z.core.$strip>, z.ZodObject<{
56
+ result: z.ZodString;
57
+ metadata: z.ZodIntersection<z.ZodObject<{
58
+ status: z.ZodEnum<{
59
+ error: "error";
60
+ success: "success";
61
+ }>;
62
+ }, z.core.$strip>, z.ZodObject<{
63
+ status: z.ZodEnum<{
64
+ error: "error";
65
+ }>;
66
+ }, z.core.$strip>>;
67
+ structuredContent: z.ZodObject<{
68
+ error: z.ZodString;
69
+ }, z.core.$strip>;
70
+ }, z.core.$strip>]>;
14
71
  export type ToolGetProjectInfoOutput = z.infer<typeof toolGetProjectInfoOutputSchema>;
15
72
  //# sourceMappingURL=toolGetProjectInfoArgs.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"toolGetProjectInfoArgs.d.ts","sourceRoot":"","sources":["../../../../../../src/ee/AiAgent/schemas/tools/toolGetProjectInfoArgs.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,eAAO,MAAM,iCAAiC,QAInC,CAAC;AAEZ,eAAO,MAAM,4BAA4B,gCAAe,CAAC;AAEzD,MAAM,MAAM,sBAAsB,GAAG,CAAC,CAAC,KAAK,CACxC,OAAO,4BAA4B,CACtC,CAAC;AAEF,eAAO,MAAM,8BAA8B;;;;;;;;iBAGzC,CAAC;AAEH,MAAM,MAAM,wBAAwB,GAAG,CAAC,CAAC,KAAK,CAC1C,OAAO,8BAA8B,CACxC,CAAC"}
1
+ {"version":3,"file":"toolGetProjectInfoArgs.d.ts","sourceRoot":"","sources":["../../../../../../src/ee/AiAgent/schemas/tools/toolGetProjectInfoArgs.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EACH,cAAc,EACd,WAAW,EACX,cAAc,EACjB,MAAM,4BAA4B,CAAC;AAMpC,eAAO,MAAM,iCAAiC,QAInC,CAAC;AAEZ,eAAO,MAAM,4BAA4B,gCAAe,CAAC;AAEzD,MAAM,MAAM,sBAAsB,GAAG,CAAC,CAAC,KAAK,CACxC,OAAO,4BAA4B,CACtC,CAAC;AAEF,eAAO,MAAM,yCAAyC;;;;;;;;;;;;;;;;;iBAiDpD,CAAC;AAEH,MAAM,MAAM,mCAAmC,GAAG,CAAC,CAAC,KAAK,CACrD,OAAO,yCAAyC,CACnD,CAAC;AAEF,eAAO,MAAM,8BAA8B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mBAGzC,CAAC;AAEH,MAAM,MAAM,wBAAwB,GAAG,CAAC,CAAC,KAAK,CAC1C,OAAO,8BAA8B,CACxC,CAAC"}
@@ -1,7 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.toolGetProjectInfoOutputSchema = exports.toolGetProjectInfoArgsSchema = exports.TOOL_GET_PROJECT_INFO_DESCRIPTION = void 0;
3
+ exports.toolGetProjectInfoOutputSchema = exports.toolGetProjectInfoStructuredContentSchema = exports.toolGetProjectInfoArgsSchema = exports.TOOL_GET_PROJECT_INFO_DESCRIPTION = void 0;
4
4
  const zod_1 = require("zod");
5
+ const projects_1 = require("../../../../types/projects");
5
6
  const outputMetadata_1 = require("../outputMetadata");
6
7
  exports.TOOL_GET_PROJECT_INFO_DESCRIPTION = [
7
8
  'Get details about the Lightdash project you are currently working in and its underlying dbt project.',
@@ -9,8 +10,52 @@ exports.TOOL_GET_PROJECT_INFO_DESCRIPTION = [
9
10
  'This is read-only, applies to the project you are currently working in, and never returns credentials or secrets.',
10
11
  ].join(' ');
11
12
  exports.toolGetProjectInfoArgsSchema = zod_1.z.object({});
12
- exports.toolGetProjectInfoOutputSchema = zod_1.z.object({
13
- result: zod_1.z.string(),
13
+ exports.toolGetProjectInfoStructuredContentSchema = zod_1.z.object({
14
+ projectName: zod_1.z.string(),
15
+ projectType: zod_1.z
16
+ .enum(projects_1.ProjectType)
17
+ .describe('DEFAULT for a regular project, PREVIEW for a preview.'),
18
+ dbtConnectionType: zod_1.z
19
+ .enum(projects_1.DbtProjectType)
20
+ .describe('How the dbt project is connected (git host, dbt Cloud, …).'),
21
+ dbtConnectionLabel: zod_1.z
22
+ .string()
23
+ .describe('Human-readable name of the dbt connection type.'),
24
+ dbtVersion: zod_1.z.string(),
25
+ warehouseType: zod_1.z
26
+ .enum(projects_1.WarehouseTypes)
27
+ .nullable()
28
+ .describe('Null when the project has no warehouse connection.'),
29
+ git: zod_1.z
30
+ .object({
31
+ repository: zod_1.z.string(),
32
+ branch: zod_1.z.string(),
33
+ projectSubPath: zod_1.z
34
+ .string()
35
+ .nullable()
36
+ .describe('Directory of the dbt project inside the repo; null when it is the repo root.'),
37
+ hostDomain: zod_1.z
38
+ .string()
39
+ .nullable()
40
+ .describe('Self-hosted git domain; null for the default host.'),
41
+ })
42
+ .nullable()
43
+ .describe('Null when the dbt project is not git-backed.'),
44
+ previewDeployCi: zod_1.z
45
+ .object({
46
+ hasPreviewDeployWorkflow: zod_1.z
47
+ .boolean()
48
+ .describe('Whether the repo has the Lightdash preview-deploy GitHub Actions workflow.'),
49
+ workflowPath: zod_1.z
50
+ .string()
51
+ .nullable()
52
+ .describe('Path of the workflow file when found.'),
53
+ })
54
+ .nullable()
55
+ .describe('Null when preview-deploy CI cannot be determined (not a git project or no GitHub App).'),
56
+ });
57
+ exports.toolGetProjectInfoOutputSchema = (0, outputMetadata_1.structuredToolOutputSchema)({
14
58
  metadata: outputMetadata_1.baseOutputMetadataSchema,
59
+ structuredContent: exports.toolGetProjectInfoStructuredContentSchema,
15
60
  });
16
61
  //# sourceMappingURL=toolGetProjectInfoArgs.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"toolGetProjectInfoArgs.js","sourceRoot":"","sources":["../../../../../../src/ee/AiAgent/schemas/tools/toolGetProjectInfoArgs.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AACxB,sDAA6D;AAEhD,QAAA,iCAAiC,GAAG;IAC7C,sGAAsG;IACtG,8LAA8L;IAC9L,mHAAmH;CACtH,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AAEC,QAAA,4BAA4B,GAAG,OAAC,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;AAM5C,QAAA,8BAA8B,GAAG,OAAC,CAAC,MAAM,CAAC;IACnD,MAAM,EAAE,OAAC,CAAC,MAAM,EAAE;IAClB,QAAQ,EAAE,yCAAwB;CACrC,CAAC,CAAC"}
1
+ {"version":3,"file":"toolGetProjectInfoArgs.js","sourceRoot":"","sources":["../../../../../../src/ee/AiAgent/schemas/tools/toolGetProjectInfoArgs.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AACxB,yDAIoC;AACpC,sDAG2B;AAEd,QAAA,iCAAiC,GAAG;IAC7C,sGAAsG;IACtG,8LAA8L;IAC9L,mHAAmH;CACtH,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AAEC,QAAA,4BAA4B,GAAG,OAAC,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;AAM5C,QAAA,yCAAyC,GAAG,OAAC,CAAC,MAAM,CAAC;IAC9D,WAAW,EAAE,OAAC,CAAC,MAAM,EAAE;IACvB,WAAW,EAAE,OAAC;SACT,IAAI,CAAC,sBAAW,CAAC;SACjB,QAAQ,CAAC,uDAAuD,CAAC;IACtE,iBAAiB,EAAE,OAAC;SACf,IAAI,CAAC,yBAAc,CAAC;SACpB,QAAQ,CAAC,4DAA4D,CAAC;IAC3E,kBAAkB,EAAE,OAAC;SAChB,MAAM,EAAE;SACR,QAAQ,CAAC,iDAAiD,CAAC;IAChE,UAAU,EAAE,OAAC,CAAC,MAAM,EAAE;IACtB,aAAa,EAAE,OAAC;SACX,IAAI,CAAC,yBAAc,CAAC;SACpB,QAAQ,EAAE;SACV,QAAQ,CAAC,oDAAoD,CAAC;IACnE,GAAG,EAAE,OAAC;SACD,MAAM,CAAC;QACJ,UAAU,EAAE,OAAC,CAAC,MAAM,EAAE;QACtB,MAAM,EAAE,OAAC,CAAC,MAAM,EAAE;QAClB,cAAc,EAAE,OAAC;aACZ,MAAM,EAAE;aACR,QAAQ,EAAE;aACV,QAAQ,CACL,8EAA8E,CACjF;QACL,UAAU,EAAE,OAAC;aACR,MAAM,EAAE;aACR,QAAQ,EAAE;aACV,QAAQ,CAAC,oDAAoD,CAAC;KACtE,CAAC;SACD,QAAQ,EAAE;SACV,QAAQ,CAAC,8CAA8C,CAAC;IAC7D,eAAe,EAAE,OAAC;SACb,MAAM,CAAC;QACJ,wBAAwB,EAAE,OAAC;aACtB,OAAO,EAAE;aACT,QAAQ,CACL,4EAA4E,CAC/E;QACL,YAAY,EAAE,OAAC;aACV,MAAM,EAAE;aACR,QAAQ,EAAE;aACV,QAAQ,CAAC,uCAAuC,CAAC;KACzD,CAAC;SACD,QAAQ,EAAE;SACV,QAAQ,CACL,wFAAwF,CAC3F;CACR,CAAC,CAAC;AAMU,QAAA,8BAA8B,GAAG,IAAA,2CAA0B,EAAC;IACrE,QAAQ,EAAE,yCAAwB;IAClC,iBAAiB,EAAE,QAAA,yCAAyC;CAC/D,CAAC,CAAC"}
@@ -4,14 +4,46 @@ export declare const toolGetPullRequestDiffArgsSchema: z.ZodObject<{
4
4
  prUrl: z.ZodString;
5
5
  }, z.core.$strip>;
6
6
  export type ToolGetPullRequestDiffArgs = z.infer<typeof toolGetPullRequestDiffArgsSchema>;
7
- export declare const toolGetPullRequestDiffOutputSchema: z.ZodObject<{
7
+ export declare const toolGetPullRequestDiffStructuredContentSchema: z.ZodObject<{
8
+ pullRequest: z.ZodString;
9
+ diff: z.ZodString;
10
+ truncated: z.ZodBoolean;
11
+ totalChars: z.ZodNumber;
12
+ }, z.core.$strip>;
13
+ export type ToolGetPullRequestDiffStructuredContent = z.infer<typeof toolGetPullRequestDiffStructuredContentSchema>;
14
+ export declare const toolGetPullRequestDiffOutputSchema: z.ZodUnion<readonly [z.ZodObject<{
8
15
  result: z.ZodString;
9
- metadata: z.ZodObject<{
16
+ metadata: z.ZodIntersection<z.ZodObject<{
10
17
  status: z.ZodEnum<{
11
18
  error: "error";
12
19
  success: "success";
13
20
  }>;
21
+ }, z.core.$strip>, z.ZodObject<{
22
+ status: z.ZodEnum<{
23
+ success: "success";
24
+ }>;
25
+ }, z.core.$strip>>;
26
+ structuredContent: z.ZodObject<{
27
+ pullRequest: z.ZodString;
28
+ diff: z.ZodString;
29
+ truncated: z.ZodBoolean;
30
+ totalChars: z.ZodNumber;
14
31
  }, z.core.$strip>;
15
- }, z.core.$strip>;
32
+ }, z.core.$strip>, z.ZodObject<{
33
+ result: z.ZodString;
34
+ metadata: z.ZodIntersection<z.ZodObject<{
35
+ status: z.ZodEnum<{
36
+ error: "error";
37
+ success: "success";
38
+ }>;
39
+ }, z.core.$strip>, z.ZodObject<{
40
+ status: z.ZodEnum<{
41
+ error: "error";
42
+ }>;
43
+ }, z.core.$strip>>;
44
+ structuredContent: z.ZodObject<{
45
+ error: z.ZodString;
46
+ }, z.core.$strip>;
47
+ }, z.core.$strip>]>;
16
48
  export type ToolGetPullRequestDiffOutput = z.infer<typeof toolGetPullRequestDiffOutputSchema>;
17
49
  //# sourceMappingURL=toolGetPullRequestDiffArgs.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"toolGetPullRequestDiffArgs.d.ts","sourceRoot":"","sources":["../../../../../../src/ee/AiAgent/schemas/tools/toolGetPullRequestDiffArgs.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,eAAO,MAAM,sCAAsC,QAIxC,CAAC;AAEZ,eAAO,MAAM,gCAAgC;;iBAM3C,CAAC;AAEH,MAAM,MAAM,0BAA0B,GAAG,CAAC,CAAC,KAAK,CAC5C,OAAO,gCAAgC,CAC1C,CAAC;AAEF,eAAO,MAAM,kCAAkC;;;;;;;;iBAG7C,CAAC;AAEH,MAAM,MAAM,4BAA4B,GAAG,CAAC,CAAC,KAAK,CAC9C,OAAO,kCAAkC,CAC5C,CAAC"}
1
+ {"version":3,"file":"toolGetPullRequestDiffArgs.d.ts","sourceRoot":"","sources":["../../../../../../src/ee/AiAgent/schemas/tools/toolGetPullRequestDiffArgs.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,eAAO,MAAM,sCAAsC,QAIxC,CAAC;AAEZ,eAAO,MAAM,gCAAgC;;iBAM3C,CAAC;AAEH,MAAM,MAAM,0BAA0B,GAAG,CAAC,CAAC,KAAK,CAC5C,OAAO,gCAAgC,CAC1C,CAAC;AAEF,eAAO,MAAM,6CAA6C;;;;;iBAoBxD,CAAC;AAEH,MAAM,MAAM,uCAAuC,GAAG,CAAC,CAAC,KAAK,CACzD,OAAO,6CAA6C,CACvD,CAAC;AAEF,eAAO,MAAM,kCAAkC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mBAG7C,CAAC;AAEH,MAAM,MAAM,4BAA4B,GAAG,CAAC,CAAC,KAAK,CAC9C,OAAO,kCAAkC,CAC5C,CAAC"}
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.toolGetPullRequestDiffOutputSchema = exports.toolGetPullRequestDiffArgsSchema = exports.TOOL_GET_PULL_REQUEST_DIFF_DESCRIPTION = void 0;
3
+ exports.toolGetPullRequestDiffOutputSchema = exports.toolGetPullRequestDiffStructuredContentSchema = exports.toolGetPullRequestDiffArgsSchema = exports.TOOL_GET_PULL_REQUEST_DIFF_DESCRIPTION = void 0;
4
4
  const zod_1 = require("zod");
5
5
  const outputMetadata_1 = require("../outputMetadata");
6
6
  exports.TOOL_GET_PULL_REQUEST_DIFF_DESCRIPTION = [
@@ -13,8 +13,23 @@ exports.toolGetPullRequestDiffArgsSchema = zod_1.z.object({
13
13
  .string()
14
14
  .describe('The full URL of the pull request to read, e.g. "https://github.com/acme/web-app/pull/42". Must be a pull request this conversation opened or one that belongs to this project\'s repository.'),
15
15
  });
16
- exports.toolGetPullRequestDiffOutputSchema = zod_1.z.object({
17
- result: zod_1.z.string(),
16
+ exports.toolGetPullRequestDiffStructuredContentSchema = zod_1.z.object({
17
+ pullRequest: zod_1.z
18
+ .string()
19
+ .describe('Short "owner/repo #123" label of the pull request, parsed from its URL.'),
20
+ diff: zod_1.z
21
+ .string()
22
+ .describe('Unified diff of the pull request, cut at the character cap when `truncated` is true. Empty when the pull request has no file changes.'),
23
+ truncated: zod_1.z
24
+ .boolean()
25
+ .describe('True when `diff` was cut at the character cap; ask about a specific file to see the rest.'),
26
+ totalChars: zod_1.z
27
+ .number()
28
+ .int()
29
+ .describe('Length of the full diff in characters, before any cut.'),
30
+ });
31
+ exports.toolGetPullRequestDiffOutputSchema = (0, outputMetadata_1.structuredToolOutputSchema)({
18
32
  metadata: outputMetadata_1.baseOutputMetadataSchema,
33
+ structuredContent: exports.toolGetPullRequestDiffStructuredContentSchema,
19
34
  });
20
35
  //# sourceMappingURL=toolGetPullRequestDiffArgs.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"toolGetPullRequestDiffArgs.js","sourceRoot":"","sources":["../../../../../../src/ee/AiAgent/schemas/tools/toolGetPullRequestDiffArgs.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AACxB,sDAA6D;AAEhD,QAAA,sCAAsC,GAAG;IAClD,wHAAwH;IACxH,+RAA+R;IAC/R,oNAAoN;CACvN,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AAEC,QAAA,gCAAgC,GAAG,OAAC,CAAC,MAAM,CAAC;IACrD,KAAK,EAAE,OAAC;SACH,MAAM,EAAE;SACR,QAAQ,CACL,8LAA8L,CACjM;CACR,CAAC,CAAC;AAMU,QAAA,kCAAkC,GAAG,OAAC,CAAC,MAAM,CAAC;IACvD,MAAM,EAAE,OAAC,CAAC,MAAM,EAAE;IAClB,QAAQ,EAAE,yCAAwB;CACrC,CAAC,CAAC"}
1
+ {"version":3,"file":"toolGetPullRequestDiffArgs.js","sourceRoot":"","sources":["../../../../../../src/ee/AiAgent/schemas/tools/toolGetPullRequestDiffArgs.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AACxB,sDAG2B;AAEd,QAAA,sCAAsC,GAAG;IAClD,wHAAwH;IACxH,+RAA+R;IAC/R,oNAAoN;CACvN,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AAEC,QAAA,gCAAgC,GAAG,OAAC,CAAC,MAAM,CAAC;IACrD,KAAK,EAAE,OAAC;SACH,MAAM,EAAE;SACR,QAAQ,CACL,8LAA8L,CACjM;CACR,CAAC,CAAC;AAMU,QAAA,6CAA6C,GAAG,OAAC,CAAC,MAAM,CAAC;IAClE,WAAW,EAAE,OAAC;SACT,MAAM,EAAE;SACR,QAAQ,CACL,yEAAyE,CAC5E;IACL,IAAI,EAAE,OAAC;SACF,MAAM,EAAE;SACR,QAAQ,CACL,uIAAuI,CAC1I;IACL,SAAS,EAAE,OAAC;SACP,OAAO,EAAE;SACT,QAAQ,CACL,2FAA2F,CAC9F;IACL,UAAU,EAAE,OAAC;SACR,MAAM,EAAE;SACR,GAAG,EAAE;SACL,QAAQ,CAAC,wDAAwD,CAAC;CAC1E,CAAC,CAAC;AAMU,QAAA,kCAAkC,GAAG,IAAA,2CAA0B,EAAC;IACzE,QAAQ,EAAE,yCAAwB;IAClC,iBAAiB,EAAE,QAAA,6CAA6C;CACnE,CAAC,CAAC"}
@@ -12,6 +12,86 @@ export declare const grepFieldsPatternStatsSchema: z.ZodArray<z.ZodObject<{
12
12
  scopeSize: z.ZodNumber;
13
13
  matchedAllFields: z.ZodBoolean;
14
14
  }, z.core.$strip>>;
15
+ export declare const toolGrepFieldsStructuredContentSchema: z.ZodObject<{
16
+ description: z.ZodString;
17
+ exploreName: z.ZodNullable<z.ZodString>;
18
+ patterns: z.ZodArray<z.ZodObject<{
19
+ pattern: z.ZodString;
20
+ status: z.ZodEnum<{
21
+ matches: "matches";
22
+ no_matches: "no_matches";
23
+ no_signal: "no_signal";
24
+ }>;
25
+ matchCount: z.ZodNumber;
26
+ scopeSize: z.ZodNumber;
27
+ matchedAllFields: z.ZodBoolean;
28
+ note: z.ZodString;
29
+ resultsByExplore: z.ZodArray<z.ZodObject<{
30
+ exploreName: z.ZodString;
31
+ exploreLabel: z.ZodString;
32
+ requiredFilters: z.ZodArray<z.ZodObject<{
33
+ fieldId: z.ZodString;
34
+ fieldRef: z.ZodString;
35
+ tableName: z.ZodString;
36
+ operator: z.ZodString;
37
+ values: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
38
+ settings: z.ZodOptional<z.ZodUnknown>;
39
+ required: z.ZodBoolean;
40
+ }, z.core.$strip>>;
41
+ fields: z.ZodArray<z.ZodObject<{
42
+ exploreName: z.ZodString;
43
+ exploreLabel: z.ZodString;
44
+ fieldId: z.ZodString;
45
+ path: z.ZodString;
46
+ kind: z.ZodEnum<{
47
+ dimension: "dimension";
48
+ metric: "metric";
49
+ }>;
50
+ fieldType: z.ZodString;
51
+ label: z.ZodString;
52
+ description: z.ZodNullable<z.ZodString>;
53
+ hint: z.ZodNullable<z.ZodString>;
54
+ defaultTimeDimension: z.ZodNullable<z.ZodString>;
55
+ defaultTimeDimensionGranularity: z.ZodNullable<z.ZodString>;
56
+ requiredParameters: z.ZodArray<z.ZodString>;
57
+ usageInVerifiedCharts: z.ZodNumber;
58
+ matchLocality: z.ZodEnum<{
59
+ description: "description";
60
+ hint: "hint";
61
+ mixed: "mixed";
62
+ name: "name";
63
+ }>;
64
+ }, z.core.$strip>>;
65
+ }, z.core.$strip>>;
66
+ metricAmbiguityNote: z.ZodNullable<z.ZodString>;
67
+ matchingExploresByName: z.ZodArray<z.ZodObject<{
68
+ exploreName: z.ZodString;
69
+ exploreLabel: z.ZodString;
70
+ }, z.core.$strip>>;
71
+ }, z.core.$strip>>;
72
+ fuzzyMatches: z.ZodArray<z.ZodObject<{
73
+ exploreName: z.ZodString;
74
+ fieldId: z.ZodString;
75
+ label: z.ZodString;
76
+ fieldType: z.ZodString;
77
+ description: z.ZodNullable<z.ZodString>;
78
+ searchRank: z.ZodNullable<z.ZodNumber>;
79
+ usageInCharts: z.ZodNumber;
80
+ usageInVerifiedCharts: z.ZodNumber;
81
+ }, z.core.$strip>>;
82
+ relevantVerifiedAnswers: z.ZodOptional<z.ZodArray<z.ZodObject<{
83
+ artifactVersionUuid: z.ZodString;
84
+ chartConfig: z.ZodRecord<z.ZodString, z.ZodUnknown>;
85
+ artifactType: z.ZodEnum<{
86
+ chart: "chart";
87
+ dashboard: "dashboard";
88
+ }>;
89
+ verifiedQuestion: z.ZodNullable<z.ZodString>;
90
+ title: z.ZodNullable<z.ZodString>;
91
+ description: z.ZodNullable<z.ZodString>;
92
+ similarity: z.ZodNumber;
93
+ }, z.core.$strip>>>;
94
+ }, z.core.$strip>;
15
95
  export declare const grepFieldsResultSchema: z.ZodObject<{
16
96
  description: z.ZodString;
17
97
  exploreName: z.ZodNullable<z.ZodString>;
@@ -92,9 +172,9 @@ export declare const grepFieldsResultSchema: z.ZodObject<{
92
172
  similarity: z.ZodNumber;
93
173
  }, z.core.$strip>>>;
94
174
  }, z.core.$strip>;
95
- export declare const toolGrepFieldsOutputSchema: z.ZodObject<{
175
+ export declare const toolGrepFieldsOutputSchema: z.ZodUnion<readonly [z.ZodObject<{
96
176
  result: z.ZodString;
97
- metadata: z.ZodObject<{
177
+ metadata: z.ZodIntersection<z.ZodObject<{
98
178
  status: z.ZodEnum<{
99
179
  error: "error";
100
180
  success: "success";
@@ -105,8 +185,114 @@ export declare const toolGrepFieldsOutputSchema: z.ZodObject<{
105
185
  scopeSize: z.ZodNumber;
106
186
  matchedAllFields: z.ZodBoolean;
107
187
  }, z.core.$strip>>>;
188
+ }, z.core.$strip>, z.ZodObject<{
189
+ status: z.ZodEnum<{
190
+ success: "success";
191
+ }>;
192
+ }, z.core.$strip>>;
193
+ structuredContent: z.ZodObject<{
194
+ description: z.ZodString;
195
+ exploreName: z.ZodNullable<z.ZodString>;
196
+ patterns: z.ZodArray<z.ZodObject<{
197
+ pattern: z.ZodString;
198
+ status: z.ZodEnum<{
199
+ matches: "matches";
200
+ no_matches: "no_matches";
201
+ no_signal: "no_signal";
202
+ }>;
203
+ matchCount: z.ZodNumber;
204
+ scopeSize: z.ZodNumber;
205
+ matchedAllFields: z.ZodBoolean;
206
+ note: z.ZodString;
207
+ resultsByExplore: z.ZodArray<z.ZodObject<{
208
+ exploreName: z.ZodString;
209
+ exploreLabel: z.ZodString;
210
+ requiredFilters: z.ZodArray<z.ZodObject<{
211
+ fieldId: z.ZodString;
212
+ fieldRef: z.ZodString;
213
+ tableName: z.ZodString;
214
+ operator: z.ZodString;
215
+ values: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
216
+ settings: z.ZodOptional<z.ZodUnknown>;
217
+ required: z.ZodBoolean;
218
+ }, z.core.$strip>>;
219
+ fields: z.ZodArray<z.ZodObject<{
220
+ exploreName: z.ZodString;
221
+ exploreLabel: z.ZodString;
222
+ fieldId: z.ZodString;
223
+ path: z.ZodString;
224
+ kind: z.ZodEnum<{
225
+ dimension: "dimension";
226
+ metric: "metric";
227
+ }>;
228
+ fieldType: z.ZodString;
229
+ label: z.ZodString;
230
+ description: z.ZodNullable<z.ZodString>;
231
+ hint: z.ZodNullable<z.ZodString>;
232
+ defaultTimeDimension: z.ZodNullable<z.ZodString>;
233
+ defaultTimeDimensionGranularity: z.ZodNullable<z.ZodString>;
234
+ requiredParameters: z.ZodArray<z.ZodString>;
235
+ usageInVerifiedCharts: z.ZodNumber;
236
+ matchLocality: z.ZodEnum<{
237
+ description: "description";
238
+ hint: "hint";
239
+ mixed: "mixed";
240
+ name: "name";
241
+ }>;
242
+ }, z.core.$strip>>;
243
+ }, z.core.$strip>>;
244
+ metricAmbiguityNote: z.ZodNullable<z.ZodString>;
245
+ matchingExploresByName: z.ZodArray<z.ZodObject<{
246
+ exploreName: z.ZodString;
247
+ exploreLabel: z.ZodString;
248
+ }, z.core.$strip>>;
249
+ }, z.core.$strip>>;
250
+ fuzzyMatches: z.ZodArray<z.ZodObject<{
251
+ exploreName: z.ZodString;
252
+ fieldId: z.ZodString;
253
+ label: z.ZodString;
254
+ fieldType: z.ZodString;
255
+ description: z.ZodNullable<z.ZodString>;
256
+ searchRank: z.ZodNullable<z.ZodNumber>;
257
+ usageInCharts: z.ZodNumber;
258
+ usageInVerifiedCharts: z.ZodNumber;
259
+ }, z.core.$strip>>;
260
+ relevantVerifiedAnswers: z.ZodOptional<z.ZodArray<z.ZodObject<{
261
+ artifactVersionUuid: z.ZodString;
262
+ chartConfig: z.ZodRecord<z.ZodString, z.ZodUnknown>;
263
+ artifactType: z.ZodEnum<{
264
+ chart: "chart";
265
+ dashboard: "dashboard";
266
+ }>;
267
+ verifiedQuestion: z.ZodNullable<z.ZodString>;
268
+ title: z.ZodNullable<z.ZodString>;
269
+ description: z.ZodNullable<z.ZodString>;
270
+ similarity: z.ZodNumber;
271
+ }, z.core.$strip>>>;
108
272
  }, z.core.$strip>;
109
- }, z.core.$strip>;
273
+ }, z.core.$strip>, z.ZodObject<{
274
+ result: z.ZodString;
275
+ metadata: z.ZodIntersection<z.ZodObject<{
276
+ status: z.ZodEnum<{
277
+ error: "error";
278
+ success: "success";
279
+ }>;
280
+ patternStats: z.ZodOptional<z.ZodArray<z.ZodObject<{
281
+ pattern: z.ZodString;
282
+ matchCount: z.ZodNumber;
283
+ scopeSize: z.ZodNumber;
284
+ matchedAllFields: z.ZodBoolean;
285
+ }, z.core.$strip>>>;
286
+ }, z.core.$strip>, z.ZodObject<{
287
+ status: z.ZodEnum<{
288
+ error: "error";
289
+ }>;
290
+ }, z.core.$strip>>;
291
+ structuredContent: z.ZodObject<{
292
+ error: z.ZodString;
293
+ }, z.core.$strip>;
294
+ }, z.core.$strip>]>;
295
+ export type ToolGrepFieldsStructuredContent = z.infer<typeof toolGrepFieldsStructuredContentSchema>;
110
296
  export type GrepFieldsResult = z.infer<typeof grepFieldsResultSchema>;
111
297
  export type ToolGrepFieldsOutput = z.infer<typeof toolGrepFieldsOutputSchema>;
112
298
  //# sourceMappingURL=toolGrepFieldsArgs.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"toolGrepFieldsArgs.d.ts","sourceRoot":"","sources":["../../../../../../src/ee/AiAgent/schemas/tools/toolGrepFieldsArgs.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,KAAK,sBAAsB,EAAE,MAAM,eAAe,CAAC;AAQ5D,eAAO,MAAM,uBAAuB,iBAEjC,sBAAsB,KAAG,MAiB3B,CAAC;AAEF,eAAO,MAAM,qBAAqB;;;iBAchC,CAAC;AAEH,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC;AAKvE,eAAO,MAAM,4BAA4B;;;;;kBAOxC,CAAC;AAsDF,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAQjC,CAAC;AAEH,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;iBAKrC,CAAC;AAEH,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAC;AACtE,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,0BAA0B,CAAC,CAAC"}
1
+ {"version":3,"file":"toolGrepFieldsArgs.d.ts","sourceRoot":"","sources":["../../../../../../src/ee/AiAgent/schemas/tools/toolGrepFieldsArgs.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,KAAK,sBAAsB,EAAE,MAAM,eAAe,CAAC;AAW5D,eAAO,MAAM,uBAAuB,iBAEjC,sBAAsB,KAAG,MAiB3B,CAAC;AAEF,eAAO,MAAM,qBAAqB;;;iBAchC,CAAC;AAEH,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC;AAKvE,eAAO,MAAM,4BAA4B;;;;;kBAOxC,CAAC;AAmFF,eAAO,MAAM,qCAAqC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAmBhD,CAAC;AAEH,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAAwC,CAAC;AAE5E,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mBAKrC,CAAC;AAEH,MAAM,MAAM,+BAA+B,GAAG,CAAC,CAAC,KAAK,CACjD,OAAO,qCAAqC,CAC/C,CAAC;AACF,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAC;AACtE,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,0BAA0B,CAAC,CAAC"}
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.toolGrepFieldsOutputSchema = exports.grepFieldsResultSchema = exports.grepFieldsPatternStatsSchema = exports.grepFieldsInputSchema = exports.GREP_FIELDS_DESCRIPTION = void 0;
3
+ exports.toolGrepFieldsOutputSchema = exports.grepFieldsResultSchema = exports.toolGrepFieldsStructuredContentSchema = exports.grepFieldsPatternStatsSchema = exports.grepFieldsInputSchema = exports.GREP_FIELDS_DESCRIPTION = void 0;
4
4
  const zod_1 = require("zod");
5
5
  const outputMetadata_1 = require("../outputMetadata");
6
6
  const discoveryToolNames_1 = require("./discoveryToolNames");
@@ -47,23 +47,34 @@ exports.grepFieldsPatternStatsSchema = zod_1.z.array(zod_1.z.object({
47
47
  const grepFieldsPatternFieldSchema = zod_1.z.object({
48
48
  exploreName: zod_1.z.string(),
49
49
  exploreLabel: zod_1.z.string(),
50
- fieldId: zod_1.z.string(),
51
- path: zod_1.z.string(),
50
+ fieldId: zod_1.z.string().describe('Field id to use in queries.'),
51
+ path: zod_1.z.string().describe('`exploreName/fieldId`, as printed in `result`.'),
52
52
  kind: zod_1.z.enum(['dimension', 'metric']),
53
53
  fieldType: zod_1.z.string(),
54
54
  label: zod_1.z.string(),
55
55
  description: zod_1.z.string().nullable(),
56
- hint: zod_1.z.string().nullable(),
57
- defaultTimeDimension: zod_1.z.string().nullable(),
56
+ hint: zod_1.z.string().nullable().describe('The field aiHint, if any.'),
57
+ defaultTimeDimension: zod_1.z
58
+ .string()
59
+ .nullable()
60
+ .describe('Time dimension the metric defaults to, if configured.'),
58
61
  defaultTimeDimensionGranularity: zod_1.z.string().nullable(),
59
- requiredParameters: zod_1.z.array(zod_1.z.string()),
60
- usageInVerifiedCharts: zod_1.z.number(),
61
- matchLocality: zod_1.z.enum(['name', 'description', 'hint', 'mixed']),
62
+ requiredParameters: zod_1.z
63
+ .array(zod_1.z.string())
64
+ .describe('Lightdash parameters this field depends on.'),
65
+ usageInVerifiedCharts: zod_1.z
66
+ .number()
67
+ .describe('How many verified saved charts use this field.'),
68
+ matchLocality: zod_1.z
69
+ .enum(['name', 'description', 'hint', 'mixed'])
70
+ .describe('Which slice of the field the pattern matched, most specific first.'),
62
71
  });
63
72
  const grepFieldsPatternExploreSchema = zod_1.z.object({
64
73
  exploreName: zod_1.z.string(),
65
74
  exploreLabel: zod_1.z.string(),
66
- requiredFilters: zod_1.z.array(toolFindExploresArgs_1.findExploresRequiredFilterSchema),
75
+ requiredFilters: zod_1.z
76
+ .array(toolFindExploresArgs_1.findExploresRequiredFilterSchema)
77
+ .describe('Filters that must be set when querying this explore.'),
67
78
  fields: zod_1.z.array(grepFieldsPatternFieldSchema),
68
79
  });
69
80
  const grepFieldsExploreNameMatchSchema = zod_1.z.object({
@@ -72,14 +83,23 @@ const grepFieldsExploreNameMatchSchema = zod_1.z.object({
72
83
  });
73
84
  const grepFieldsPatternResultSchema = zod_1.z.object({
74
85
  pattern: zod_1.z.string(),
75
- status: zod_1.z.enum(['matches', 'no_matches', 'no_signal']),
76
- matchCount: zod_1.z.number(),
77
- scopeSize: zod_1.z.number(),
86
+ status: zod_1.z
87
+ .enum(['matches', 'no_matches', 'no_signal'])
88
+ .describe('`no_signal` means the pattern matched every field in scope and was discarded.'),
89
+ matchCount: zod_1.z.number().describe('Fields matched before the display cap.'),
90
+ scopeSize: zod_1.z.number().describe('Fields the pattern was run against.'),
78
91
  matchedAllFields: zod_1.z.boolean(),
79
- note: zod_1.z.string(),
80
- resultsByExplore: zod_1.z.array(grepFieldsPatternExploreSchema),
81
- metricAmbiguityNote: zod_1.z.string().nullable(),
82
- matchingExploresByName: zod_1.z.array(grepFieldsExploreNameMatchSchema),
92
+ note: zod_1.z.string().describe('The per-pattern summary line.'),
93
+ resultsByExplore: zod_1.z
94
+ .array(grepFieldsPatternExploreSchema)
95
+ .describe('Matched fields grouped by explore, best matches first.'),
96
+ metricAmbiguityNote: zod_1.z
97
+ .string()
98
+ .nullable()
99
+ .describe('Warning when similarly named metrics could be confused.'),
100
+ matchingExploresByName: zod_1.z
101
+ .array(grepFieldsExploreNameMatchSchema)
102
+ .describe('Explores whose own name/label/hint matched but had no field matches.'),
83
103
  });
84
104
  const grepFieldsFuzzyMatchSchema = zod_1.z.object({
85
105
  exploreName: zod_1.z.string(),
@@ -87,23 +107,36 @@ const grepFieldsFuzzyMatchSchema = zod_1.z.object({
87
107
  label: zod_1.z.string(),
88
108
  fieldType: zod_1.z.string(),
89
109
  description: zod_1.z.string().nullable(),
90
- searchRank: zod_1.z.number().nullable(),
110
+ searchRank: zod_1.z
111
+ .number()
112
+ .nullable()
113
+ .describe('Full-text search rank; higher is better.'),
91
114
  usageInCharts: zod_1.z.number(),
92
115
  usageInVerifiedCharts: zod_1.z.number(),
93
116
  });
94
- exports.grepFieldsResultSchema = zod_1.z.object({
95
- description: zod_1.z.string(),
96
- exploreName: zod_1.z.string().nullable(),
97
- patterns: zod_1.z.array(grepFieldsPatternResultSchema),
98
- fuzzyMatches: zod_1.z.array(grepFieldsFuzzyMatchSchema),
117
+ exports.toolGrepFieldsStructuredContentSchema = zod_1.z.object({
118
+ description: zod_1.z
119
+ .string()
120
+ .describe('How to read `patterns` and `fuzzyMatches`.'),
121
+ exploreName: zod_1.z
122
+ .string()
123
+ .nullable()
124
+ .describe('The explore the grep was scoped to, or null for all.'),
125
+ patterns: zod_1.z
126
+ .array(grepFieldsPatternResultSchema)
127
+ .describe('One entry per input pattern, in input order.'),
128
+ fuzzyMatches: zod_1.z
129
+ .array(grepFieldsFuzzyMatchSchema)
130
+ .describe('Catalog-search near matches not already surfaced by the grep.'),
99
131
  relevantVerifiedAnswers: zod_1.z
100
132
  .array(toolFindExploresArgs_1.findExploresRelevantVerifiedAnswerSchema)
101
133
  .optional(),
102
134
  });
103
- exports.toolGrepFieldsOutputSchema = zod_1.z.object({
104
- result: zod_1.z.string(),
135
+ exports.grepFieldsResultSchema = exports.toolGrepFieldsStructuredContentSchema;
136
+ exports.toolGrepFieldsOutputSchema = (0, outputMetadata_1.structuredToolOutputSchema)({
105
137
  metadata: outputMetadata_1.baseOutputMetadataSchema.extend({
106
138
  patternStats: exports.grepFieldsPatternStatsSchema.optional(),
107
139
  }),
140
+ structuredContent: exports.toolGrepFieldsStructuredContentSchema,
108
141
  });
109
142
  //# sourceMappingURL=toolGrepFieldsArgs.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"toolGrepFieldsArgs.js","sourceRoot":"","sources":["../../../../../../src/ee/AiAgent/schemas/tools/toolGrepFieldsArgs.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAExB,sDAA6D;AAC7D,6DAAmD;AACnD,iEAGgC;AAEzB,MAAM,uBAAuB,GAAG,CAAC,EACpC,OAAO,GACc,EAAU,EAAE;IACjC,MAAM,UAAU,GAAG,IAAA,gCAAW,EAAC,YAAY,EAAE,OAAO,CAAC,CAAC;IACtD,MAAM,WAAW,GAAG,IAAA,gCAAW,EAAC,aAAa,EAAE,OAAO,CAAC,CAAC;IACxD,MAAM,WAAW,GAAG,IAAA,gCAAW,EAAC,aAAa,EAAE,OAAO,CAAC,CAAC;IACxD,OAAO,SAAS,UAAU;;;;;iNAKmL,WAAW;;;;wEAIpJ,WAAW;;8MAE2H,WAAW;CACxN,CAAC;AACF,CAAC,CAAC;AAnBW,QAAA,uBAAuB,GAAvB,uBAAuB,CAmBlC;AAEW,QAAA,qBAAqB,GAAG,OAAC,CAAC,MAAM,CAAC;IAC1C,QAAQ,EAAE,OAAC;SACN,KAAK,CAAC,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;SACxB,GAAG,CAAC,CAAC,CAAC;SACN,GAAG,CAAC,CAAC,CAAC;SACN,QAAQ,CACL,kOAAkO,CACrO;IACL,WAAW,EAAE,OAAC;SACT,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CACL,2EAA2E,CAC9E;CACR,CAAC,CAAC;AAIH,6EAA6E;AAC7E,uEAAuE;AACvE,6EAA6E;AAChE,QAAA,4BAA4B,GAAG,OAAC,CAAC,KAAK,CAC/C,OAAC,CAAC,MAAM,CAAC;IACL,OAAO,EAAE,OAAC,CAAC,MAAM,EAAE;IACnB,UAAU,EAAE,OAAC,CAAC,MAAM,EAAE;IACtB,SAAS,EAAE,OAAC,CAAC,MAAM,EAAE;IACrB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