@lightdash/common 2.359.0 → 2.360.0

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 (115) 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/schemas/json/mcp-tools-1.0.json +25 -5
  39. package/dist/esm/.tsbuildinfo +1 -1
  40. package/dist/esm/ee/AiAgent/schemas/tools/toolGetProjectInfoArgs.d.ts +60 -3
  41. package/dist/esm/ee/AiAgent/schemas/tools/toolGetProjectInfoArgs.d.ts.map +1 -1
  42. package/dist/esm/ee/AiAgent/schemas/tools/toolGetProjectInfoArgs.js +48 -3
  43. package/dist/esm/ee/AiAgent/schemas/tools/toolGetProjectInfoArgs.js.map +1 -1
  44. package/dist/esm/ee/AiAgent/schemas/tools/toolGetPullRequestDiffArgs.d.ts +35 -3
  45. package/dist/esm/ee/AiAgent/schemas/tools/toolGetPullRequestDiffArgs.d.ts.map +1 -1
  46. package/dist/esm/ee/AiAgent/schemas/tools/toolGetPullRequestDiffArgs.js +18 -3
  47. package/dist/esm/ee/AiAgent/schemas/tools/toolGetPullRequestDiffArgs.js.map +1 -1
  48. package/dist/esm/ee/AiAgent/schemas/tools/toolGrepFieldsArgs.d.ts +189 -3
  49. package/dist/esm/ee/AiAgent/schemas/tools/toolGrepFieldsArgs.d.ts.map +1 -1
  50. package/dist/esm/ee/AiAgent/schemas/tools/toolGrepFieldsArgs.js +57 -24
  51. package/dist/esm/ee/AiAgent/schemas/tools/toolGrepFieldsArgs.js.map +1 -1
  52. package/dist/esm/ee/AiAgent/schemas/tools/toolListContentArgs.d.ts +120 -3
  53. package/dist/esm/ee/AiAgent/schemas/tools/toolListContentArgs.d.ts.map +1 -1
  54. package/dist/esm/ee/AiAgent/schemas/tools/toolListContentArgs.js +48 -3
  55. package/dist/esm/ee/AiAgent/schemas/tools/toolListContentArgs.js.map +1 -1
  56. package/dist/esm/ee/AiAgent/schemas/tools/toolListDataAppThemesArgs.d.ts +41 -3
  57. package/dist/esm/ee/AiAgent/schemas/tools/toolListDataAppThemesArgs.d.ts.map +1 -1
  58. package/dist/esm/ee/AiAgent/schemas/tools/toolListDataAppThemesArgs.js +20 -3
  59. package/dist/esm/ee/AiAgent/schemas/tools/toolListDataAppThemesArgs.js.map +1 -1
  60. package/dist/esm/ee/AiAgent/schemas/tools/toolListKnowledgeDocumentsArgs.d.ts +39 -3
  61. package/dist/esm/ee/AiAgent/schemas/tools/toolListKnowledgeDocumentsArgs.d.ts.map +1 -1
  62. package/dist/esm/ee/AiAgent/schemas/tools/toolListKnowledgeDocumentsArgs.js +19 -3
  63. package/dist/esm/ee/AiAgent/schemas/tools/toolListKnowledgeDocumentsArgs.js.map +1 -1
  64. package/dist/esm/ee/AiAgent/schemas/tools/toolListProjectsArgs.d.ts +35 -3
  65. package/dist/esm/ee/AiAgent/schemas/tools/toolListProjectsArgs.d.ts.map +1 -1
  66. package/dist/esm/ee/AiAgent/schemas/tools/toolListProjectsArgs.js +13 -3
  67. package/dist/esm/ee/AiAgent/schemas/tools/toolListProjectsArgs.js.map +1 -1
  68. package/dist/esm/ee/AiAgent/schemas/tools/toolListWarehouseTablesArgs.d.ts +49 -3
  69. package/dist/esm/ee/AiAgent/schemas/tools/toolListWarehouseTablesArgs.d.ts.map +1 -1
  70. package/dist/esm/ee/AiAgent/schemas/tools/toolListWarehouseTablesArgs.js +25 -3
  71. package/dist/esm/ee/AiAgent/schemas/tools/toolListWarehouseTablesArgs.js.map +1 -1
  72. package/dist/esm/ee/AiAgent/schemas/tools/toolListWorkstreamsArgs.d.ts +41 -3
  73. package/dist/esm/ee/AiAgent/schemas/tools/toolListWorkstreamsArgs.d.ts.map +1 -1
  74. package/dist/esm/ee/AiAgent/schemas/tools/toolListWorkstreamsArgs.js +24 -3
  75. package/dist/esm/ee/AiAgent/schemas/tools/toolListWorkstreamsArgs.js.map +1 -1
  76. package/dist/esm/schemas/json/mcp-tools-1.0.json +25 -5
  77. package/dist/types/.tsbuildinfo +1 -1
  78. package/dist/types/ee/AiAgent/schemas/tools/toolGetProjectInfoArgs.d.ts +60 -3
  79. package/dist/types/ee/AiAgent/schemas/tools/toolGetProjectInfoArgs.d.ts.map +1 -1
  80. package/dist/types/ee/AiAgent/schemas/tools/toolGetProjectInfoArgs.js +48 -3
  81. package/dist/types/ee/AiAgent/schemas/tools/toolGetProjectInfoArgs.js.map +1 -1
  82. package/dist/types/ee/AiAgent/schemas/tools/toolGetPullRequestDiffArgs.d.ts +35 -3
  83. package/dist/types/ee/AiAgent/schemas/tools/toolGetPullRequestDiffArgs.d.ts.map +1 -1
  84. package/dist/types/ee/AiAgent/schemas/tools/toolGetPullRequestDiffArgs.js +18 -3
  85. package/dist/types/ee/AiAgent/schemas/tools/toolGetPullRequestDiffArgs.js.map +1 -1
  86. package/dist/types/ee/AiAgent/schemas/tools/toolGrepFieldsArgs.d.ts +189 -3
  87. package/dist/types/ee/AiAgent/schemas/tools/toolGrepFieldsArgs.d.ts.map +1 -1
  88. package/dist/types/ee/AiAgent/schemas/tools/toolGrepFieldsArgs.js +57 -24
  89. package/dist/types/ee/AiAgent/schemas/tools/toolGrepFieldsArgs.js.map +1 -1
  90. package/dist/types/ee/AiAgent/schemas/tools/toolListContentArgs.d.ts +120 -3
  91. package/dist/types/ee/AiAgent/schemas/tools/toolListContentArgs.d.ts.map +1 -1
  92. package/dist/types/ee/AiAgent/schemas/tools/toolListContentArgs.js +48 -3
  93. package/dist/types/ee/AiAgent/schemas/tools/toolListContentArgs.js.map +1 -1
  94. package/dist/types/ee/AiAgent/schemas/tools/toolListDataAppThemesArgs.d.ts +41 -3
  95. package/dist/types/ee/AiAgent/schemas/tools/toolListDataAppThemesArgs.d.ts.map +1 -1
  96. package/dist/types/ee/AiAgent/schemas/tools/toolListDataAppThemesArgs.js +20 -3
  97. package/dist/types/ee/AiAgent/schemas/tools/toolListDataAppThemesArgs.js.map +1 -1
  98. package/dist/types/ee/AiAgent/schemas/tools/toolListKnowledgeDocumentsArgs.d.ts +39 -3
  99. package/dist/types/ee/AiAgent/schemas/tools/toolListKnowledgeDocumentsArgs.d.ts.map +1 -1
  100. package/dist/types/ee/AiAgent/schemas/tools/toolListKnowledgeDocumentsArgs.js +19 -3
  101. package/dist/types/ee/AiAgent/schemas/tools/toolListKnowledgeDocumentsArgs.js.map +1 -1
  102. package/dist/types/ee/AiAgent/schemas/tools/toolListProjectsArgs.d.ts +35 -3
  103. package/dist/types/ee/AiAgent/schemas/tools/toolListProjectsArgs.d.ts.map +1 -1
  104. package/dist/types/ee/AiAgent/schemas/tools/toolListProjectsArgs.js +13 -3
  105. package/dist/types/ee/AiAgent/schemas/tools/toolListProjectsArgs.js.map +1 -1
  106. package/dist/types/ee/AiAgent/schemas/tools/toolListWarehouseTablesArgs.d.ts +49 -3
  107. package/dist/types/ee/AiAgent/schemas/tools/toolListWarehouseTablesArgs.d.ts.map +1 -1
  108. package/dist/types/ee/AiAgent/schemas/tools/toolListWarehouseTablesArgs.js +25 -3
  109. package/dist/types/ee/AiAgent/schemas/tools/toolListWarehouseTablesArgs.js.map +1 -1
  110. package/dist/types/ee/AiAgent/schemas/tools/toolListWorkstreamsArgs.d.ts +41 -3
  111. package/dist/types/ee/AiAgent/schemas/tools/toolListWorkstreamsArgs.d.ts.map +1 -1
  112. package/dist/types/ee/AiAgent/schemas/tools/toolListWorkstreamsArgs.js +24 -3
  113. package/dist/types/ee/AiAgent/schemas/tools/toolListWorkstreamsArgs.js.map +1 -1
  114. package/dist/types/schemas/json/mcp-tools-1.0.json +25 -5
  115. 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,13 +1,58 @@
1
1
  import { z } from 'zod';
2
- import { baseOutputMetadataSchema } from '../outputMetadata';
2
+ import { DbtProjectType, ProjectType, WarehouseTypes, } from '../../../../types/projects';
3
+ import { baseOutputMetadataSchema, structuredToolOutputSchema, } from '../outputMetadata';
3
4
  export const TOOL_GET_PROJECT_INFO_DESCRIPTION = [
4
5
  'Get details about the Lightdash project you are currently working in and its underlying dbt project.',
5
6
  'Use this when the user asks what dbt project this is, which git repository/branch it connects to, what dbt version or warehouse it uses, or wants general context about the current project.',
6
7
  'This is read-only, applies to the project you are currently working in, and never returns credentials or secrets.',
7
8
  ].join(' ');
8
9
  export const toolGetProjectInfoArgsSchema = z.object({});
9
- export const toolGetProjectInfoOutputSchema = z.object({
10
- result: z.string(),
10
+ export const toolGetProjectInfoStructuredContentSchema = z.object({
11
+ projectName: z.string(),
12
+ projectType: z
13
+ .enum(ProjectType)
14
+ .describe('DEFAULT for a regular project, PREVIEW for a preview.'),
15
+ dbtConnectionType: z
16
+ .enum(DbtProjectType)
17
+ .describe('How the dbt project is connected (git host, dbt Cloud, …).'),
18
+ dbtConnectionLabel: z
19
+ .string()
20
+ .describe('Human-readable name of the dbt connection type.'),
21
+ dbtVersion: z.string(),
22
+ warehouseType: z
23
+ .enum(WarehouseTypes)
24
+ .nullable()
25
+ .describe('Null when the project has no warehouse connection.'),
26
+ git: z
27
+ .object({
28
+ repository: z.string(),
29
+ branch: z.string(),
30
+ projectSubPath: z
31
+ .string()
32
+ .nullable()
33
+ .describe('Directory of the dbt project inside the repo; null when it is the repo root.'),
34
+ hostDomain: z
35
+ .string()
36
+ .nullable()
37
+ .describe('Self-hosted git domain; null for the default host.'),
38
+ })
39
+ .nullable()
40
+ .describe('Null when the dbt project is not git-backed.'),
41
+ previewDeployCi: z
42
+ .object({
43
+ hasPreviewDeployWorkflow: z
44
+ .boolean()
45
+ .describe('Whether the repo has the Lightdash preview-deploy GitHub Actions workflow.'),
46
+ workflowPath: z
47
+ .string()
48
+ .nullable()
49
+ .describe('Path of the workflow file when found.'),
50
+ })
51
+ .nullable()
52
+ .describe('Null when preview-deploy CI cannot be determined (not a git project or no GitHub App).'),
53
+ });
54
+ export const toolGetProjectInfoOutputSchema = structuredToolOutputSchema({
11
55
  metadata: baseOutputMetadataSchema,
56
+ structuredContent: toolGetProjectInfoStructuredContentSchema,
12
57
  });
13
58
  //# sourceMappingURL=toolGetProjectInfoArgs.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"toolGetProjectInfoArgs.js","sourceRoot":"","sources":["../../../../../../src/ee/AiAgent/schemas/tools/toolGetProjectInfoArgs.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,wBAAwB,EAAE,MAAM,mBAAmB,CAAC;AAE7D,MAAM,CAAC,MAAM,iCAAiC,GAAG;IAC7C,sGAAsG;IACtG,8LAA8L;IAC9L,mHAAmH;CACtH,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AAEZ,MAAM,CAAC,MAAM,4BAA4B,GAAG,CAAC,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;AAMzD,MAAM,CAAC,MAAM,8BAA8B,GAAG,CAAC,CAAC,MAAM,CAAC;IACnD,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE;IAClB,QAAQ,EAAE,wBAAwB;CACrC,CAAC,CAAC"}
1
+ {"version":3,"file":"toolGetProjectInfoArgs.js","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,GACjB,MAAM,4BAA4B,CAAC;AACpC,OAAO,EACH,wBAAwB,EACxB,0BAA0B,GAC7B,MAAM,mBAAmB,CAAC;AAE3B,MAAM,CAAC,MAAM,iCAAiC,GAAG;IAC7C,sGAAsG;IACtG,8LAA8L;IAC9L,mHAAmH;CACtH,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AAEZ,MAAM,CAAC,MAAM,4BAA4B,GAAG,CAAC,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;AAMzD,MAAM,CAAC,MAAM,yCAAyC,GAAG,CAAC,CAAC,MAAM,CAAC;IAC9D,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE;IACvB,WAAW,EAAE,CAAC;SACT,IAAI,CAAC,WAAW,CAAC;SACjB,QAAQ,CAAC,uDAAuD,CAAC;IACtE,iBAAiB,EAAE,CAAC;SACf,IAAI,CAAC,cAAc,CAAC;SACpB,QAAQ,CAAC,4DAA4D,CAAC;IAC3E,kBAAkB,EAAE,CAAC;SAChB,MAAM,EAAE;SACR,QAAQ,CAAC,iDAAiD,CAAC;IAChE,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE;IACtB,aAAa,EAAE,CAAC;SACX,IAAI,CAAC,cAAc,CAAC;SACpB,QAAQ,EAAE;SACV,QAAQ,CAAC,oDAAoD,CAAC;IACnE,GAAG,EAAE,CAAC;SACD,MAAM,CAAC;QACJ,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE;QACtB,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE;QAClB,cAAc,EAAE,CAAC;aACZ,MAAM,EAAE;aACR,QAAQ,EAAE;aACV,QAAQ,CACL,8EAA8E,CACjF;QACL,UAAU,EAAE,CAAC;aACR,MAAM,EAAE;aACR,QAAQ,EAAE;aACV,QAAQ,CAAC,oDAAoD,CAAC;KACtE,CAAC;SACD,QAAQ,EAAE;SACV,QAAQ,CAAC,8CAA8C,CAAC;IAC7D,eAAe,EAAE,CAAC;SACb,MAAM,CAAC;QACJ,wBAAwB,EAAE,CAAC;aACtB,OAAO,EAAE;aACT,QAAQ,CACL,4EAA4E,CAC/E;QACL,YAAY,EAAE,CAAC;aACV,MAAM,EAAE;aACR,QAAQ,EAAE;aACV,QAAQ,CAAC,uCAAuC,CAAC;KACzD,CAAC;SACD,QAAQ,EAAE;SACV,QAAQ,CACL,wFAAwF,CAC3F;CACR,CAAC,CAAC;AAMH,MAAM,CAAC,MAAM,8BAA8B,GAAG,0BAA0B,CAAC;IACrE,QAAQ,EAAE,wBAAwB;IAClC,iBAAiB,EAAE,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,5 +1,5 @@
1
1
  import { z } from 'zod';
2
- import { baseOutputMetadataSchema } from '../outputMetadata';
2
+ import { baseOutputMetadataSchema, structuredToolOutputSchema, } from '../outputMetadata';
3
3
  export const TOOL_GET_PULL_REQUEST_DIFF_DESCRIPTION = [
4
4
  'Read the actual code diff (unified patch) of a pull request this conversation opened, or that belongs to this project.',
5
5
  'Use this before deciding how to split, consolidate, or continue changes across pull requests — for example to see exactly what a pull request already contains before adding to it, before folding one pull request into another, or when the user asks you to reorganise open pull requests.',
@@ -10,8 +10,23 @@ export const toolGetPullRequestDiffArgsSchema = z.object({
10
10
  .string()
11
11
  .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.'),
12
12
  });
13
- export const toolGetPullRequestDiffOutputSchema = z.object({
14
- result: z.string(),
13
+ export const toolGetPullRequestDiffStructuredContentSchema = z.object({
14
+ pullRequest: z
15
+ .string()
16
+ .describe('Short "owner/repo #123" label of the pull request, parsed from its URL.'),
17
+ diff: z
18
+ .string()
19
+ .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.'),
20
+ truncated: z
21
+ .boolean()
22
+ .describe('True when `diff` was cut at the character cap; ask about a specific file to see the rest.'),
23
+ totalChars: z
24
+ .number()
25
+ .int()
26
+ .describe('Length of the full diff in characters, before any cut.'),
27
+ });
28
+ export const toolGetPullRequestDiffOutputSchema = structuredToolOutputSchema({
15
29
  metadata: baseOutputMetadataSchema,
30
+ structuredContent: toolGetPullRequestDiffStructuredContentSchema,
16
31
  });
17
32
  //# sourceMappingURL=toolGetPullRequestDiffArgs.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"toolGetPullRequestDiffArgs.js","sourceRoot":"","sources":["../../../../../../src/ee/AiAgent/schemas/tools/toolGetPullRequestDiffArgs.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,wBAAwB,EAAE,MAAM,mBAAmB,CAAC;AAE7D,MAAM,CAAC,MAAM,sCAAsC,GAAG;IAClD,wHAAwH;IACxH,+RAA+R;IAC/R,oNAAoN;CACvN,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AAEZ,MAAM,CAAC,MAAM,gCAAgC,GAAG,CAAC,CAAC,MAAM,CAAC;IACrD,KAAK,EAAE,CAAC;SACH,MAAM,EAAE;SACR,QAAQ,CACL,8LAA8L,CACjM;CACR,CAAC,CAAC;AAMH,MAAM,CAAC,MAAM,kCAAkC,GAAG,CAAC,CAAC,MAAM,CAAC;IACvD,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE;IAClB,QAAQ,EAAE,wBAAwB;CACrC,CAAC,CAAC"}
1
+ {"version":3,"file":"toolGetPullRequestDiffArgs.js","sourceRoot":"","sources":["../../../../../../src/ee/AiAgent/schemas/tools/toolGetPullRequestDiffArgs.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EACH,wBAAwB,EACxB,0BAA0B,GAC7B,MAAM,mBAAmB,CAAC;AAE3B,MAAM,CAAC,MAAM,sCAAsC,GAAG;IAClD,wHAAwH;IACxH,+RAA+R;IAC/R,oNAAoN;CACvN,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AAEZ,MAAM,CAAC,MAAM,gCAAgC,GAAG,CAAC,CAAC,MAAM,CAAC;IACrD,KAAK,EAAE,CAAC;SACH,MAAM,EAAE;SACR,QAAQ,CACL,8LAA8L,CACjM;CACR,CAAC,CAAC;AAMH,MAAM,CAAC,MAAM,6CAA6C,GAAG,CAAC,CAAC,MAAM,CAAC;IAClE,WAAW,EAAE,CAAC;SACT,MAAM,EAAE;SACR,QAAQ,CACL,yEAAyE,CAC5E;IACL,IAAI,EAAE,CAAC;SACF,MAAM,EAAE;SACR,QAAQ,CACL,uIAAuI,CAC1I;IACL,SAAS,EAAE,CAAC;SACP,OAAO,EAAE;SACT,QAAQ,CACL,2FAA2F,CAC9F;IACL,UAAU,EAAE,CAAC;SACR,MAAM,EAAE;SACR,GAAG,EAAE;SACL,QAAQ,CAAC,wDAAwD,CAAC;CAC1E,CAAC,CAAC;AAMH,MAAM,CAAC,MAAM,kCAAkC,GAAG,0BAA0B,CAAC;IACzE,QAAQ,EAAE,wBAAwB;IAClC,iBAAiB,EAAE,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,5 +1,5 @@
1
1
  import { z } from 'zod';
2
- import { baseOutputMetadataSchema } from '../outputMetadata';
2
+ import { baseOutputMetadataSchema, structuredToolOutputSchema, } from '../outputMetadata';
3
3
  import { toolNameFor } from './discoveryToolNames';
4
4
  import { findExploresRelevantVerifiedAnswerSchema, findExploresRequiredFilterSchema, } from './toolFindExploresArgs';
5
5
  export const GREP_FIELDS_DESCRIPTION = ({ runtime, }) => {
@@ -43,23 +43,34 @@ export const grepFieldsPatternStatsSchema = z.array(z.object({
43
43
  const grepFieldsPatternFieldSchema = z.object({
44
44
  exploreName: z.string(),
45
45
  exploreLabel: z.string(),
46
- fieldId: z.string(),
47
- path: z.string(),
46
+ fieldId: z.string().describe('Field id to use in queries.'),
47
+ path: z.string().describe('`exploreName/fieldId`, as printed in `result`.'),
48
48
  kind: z.enum(['dimension', 'metric']),
49
49
  fieldType: z.string(),
50
50
  label: z.string(),
51
51
  description: z.string().nullable(),
52
- hint: z.string().nullable(),
53
- defaultTimeDimension: z.string().nullable(),
52
+ hint: z.string().nullable().describe('The field aiHint, if any.'),
53
+ defaultTimeDimension: z
54
+ .string()
55
+ .nullable()
56
+ .describe('Time dimension the metric defaults to, if configured.'),
54
57
  defaultTimeDimensionGranularity: z.string().nullable(),
55
- requiredParameters: z.array(z.string()),
56
- usageInVerifiedCharts: z.number(),
57
- matchLocality: z.enum(['name', 'description', 'hint', 'mixed']),
58
+ requiredParameters: z
59
+ .array(z.string())
60
+ .describe('Lightdash parameters this field depends on.'),
61
+ usageInVerifiedCharts: z
62
+ .number()
63
+ .describe('How many verified saved charts use this field.'),
64
+ matchLocality: z
65
+ .enum(['name', 'description', 'hint', 'mixed'])
66
+ .describe('Which slice of the field the pattern matched, most specific first.'),
58
67
  });
59
68
  const grepFieldsPatternExploreSchema = z.object({
60
69
  exploreName: z.string(),
61
70
  exploreLabel: z.string(),
62
- requiredFilters: z.array(findExploresRequiredFilterSchema),
71
+ requiredFilters: z
72
+ .array(findExploresRequiredFilterSchema)
73
+ .describe('Filters that must be set when querying this explore.'),
63
74
  fields: z.array(grepFieldsPatternFieldSchema),
64
75
  });
65
76
  const grepFieldsExploreNameMatchSchema = z.object({
@@ -68,14 +79,23 @@ const grepFieldsExploreNameMatchSchema = z.object({
68
79
  });
69
80
  const grepFieldsPatternResultSchema = z.object({
70
81
  pattern: z.string(),
71
- status: z.enum(['matches', 'no_matches', 'no_signal']),
72
- matchCount: z.number(),
73
- scopeSize: z.number(),
82
+ status: z
83
+ .enum(['matches', 'no_matches', 'no_signal'])
84
+ .describe('`no_signal` means the pattern matched every field in scope and was discarded.'),
85
+ matchCount: z.number().describe('Fields matched before the display cap.'),
86
+ scopeSize: z.number().describe('Fields the pattern was run against.'),
74
87
  matchedAllFields: z.boolean(),
75
- note: z.string(),
76
- resultsByExplore: z.array(grepFieldsPatternExploreSchema),
77
- metricAmbiguityNote: z.string().nullable(),
78
- matchingExploresByName: z.array(grepFieldsExploreNameMatchSchema),
88
+ note: z.string().describe('The per-pattern summary line.'),
89
+ resultsByExplore: z
90
+ .array(grepFieldsPatternExploreSchema)
91
+ .describe('Matched fields grouped by explore, best matches first.'),
92
+ metricAmbiguityNote: z
93
+ .string()
94
+ .nullable()
95
+ .describe('Warning when similarly named metrics could be confused.'),
96
+ matchingExploresByName: z
97
+ .array(grepFieldsExploreNameMatchSchema)
98
+ .describe('Explores whose own name/label/hint matched but had no field matches.'),
79
99
  });
80
100
  const grepFieldsFuzzyMatchSchema = z.object({
81
101
  exploreName: z.string(),
@@ -83,23 +103,36 @@ const grepFieldsFuzzyMatchSchema = z.object({
83
103
  label: z.string(),
84
104
  fieldType: z.string(),
85
105
  description: z.string().nullable(),
86
- searchRank: z.number().nullable(),
106
+ searchRank: z
107
+ .number()
108
+ .nullable()
109
+ .describe('Full-text search rank; higher is better.'),
87
110
  usageInCharts: z.number(),
88
111
  usageInVerifiedCharts: z.number(),
89
112
  });
90
- export const grepFieldsResultSchema = z.object({
91
- description: z.string(),
92
- exploreName: z.string().nullable(),
93
- patterns: z.array(grepFieldsPatternResultSchema),
94
- fuzzyMatches: z.array(grepFieldsFuzzyMatchSchema),
113
+ export const toolGrepFieldsStructuredContentSchema = z.object({
114
+ description: z
115
+ .string()
116
+ .describe('How to read `patterns` and `fuzzyMatches`.'),
117
+ exploreName: z
118
+ .string()
119
+ .nullable()
120
+ .describe('The explore the grep was scoped to, or null for all.'),
121
+ patterns: z
122
+ .array(grepFieldsPatternResultSchema)
123
+ .describe('One entry per input pattern, in input order.'),
124
+ fuzzyMatches: z
125
+ .array(grepFieldsFuzzyMatchSchema)
126
+ .describe('Catalog-search near matches not already surfaced by the grep.'),
95
127
  relevantVerifiedAnswers: z
96
128
  .array(findExploresRelevantVerifiedAnswerSchema)
97
129
  .optional(),
98
130
  });
99
- export const toolGrepFieldsOutputSchema = z.object({
100
- result: z.string(),
131
+ export const grepFieldsResultSchema = toolGrepFieldsStructuredContentSchema;
132
+ export const toolGrepFieldsOutputSchema = structuredToolOutputSchema({
101
133
  metadata: baseOutputMetadataSchema.extend({
102
134
  patternStats: grepFieldsPatternStatsSchema.optional(),
103
135
  }),
136
+ structuredContent: toolGrepFieldsStructuredContentSchema,
104
137
  });
105
138
  //# sourceMappingURL=toolGrepFieldsArgs.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"toolGrepFieldsArgs.js","sourceRoot":"","sources":["../../../../../../src/ee/AiAgent/schemas/tools/toolGrepFieldsArgs.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,wBAAwB,EAAE,MAAM,mBAAmB,CAAC;AAC7D,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACnD,OAAO,EACH,wCAAwC,EACxC,gCAAgC,GACnC,MAAM,wBAAwB,CAAC;AAEhC,MAAM,CAAC,MAAM,uBAAuB,GAAG,CAAC,EACpC,OAAO,GACc,EAAU,EAAE;IACjC,MAAM,UAAU,GAAG,WAAW,CAAC,YAAY,EAAE,OAAO,CAAC,CAAC;IACtD,MAAM,WAAW,GAAG,WAAW,CAAC,aAAa,EAAE,OAAO,CAAC,CAAC;IACxD,MAAM,WAAW,GAAG,WAAW,CAAC,aAAa,EAAE,OAAO,CAAC,CAAC;IACxD,OAAO,SAAS,UAAU;;;;;iNAKmL,WAAW;;;;wEAIpJ,WAAW;;8MAE2H,WAAW;CACxN,CAAC;AACF,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,qBAAqB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC1C,QAAQ,EAAE,CAAC;SACN,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;SACxB,GAAG,CAAC,CA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