@lightdash/common 3.267.0 → 3.267.2

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.
@@ -1,7 +1,7 @@
1
1
  import { z } from 'zod';
2
2
  import { structuredToolOutputSchema } from '../outputMetadata';
3
3
  export const TOOL_EXPLORE_REPO_DESCRIPTION = [
4
- "Run one read-only bash command over a virtual filesystem of repositories: this project's dbt project at `/dbt` (its files at the top, e.g. `/dbt/models`, `/dbt/dbt_project.yml`) and every repository `discoverRepos` lists, whole on its default branch, at `/<owner>/<repo>`. `ls /` shows the mounts. Read repositories with this tool rather than asking the user to connect a GitHub MCP server.",
4
+ "Run one read-only bash command over a virtual filesystem of repositories: this project's dbt project at `/dbt` when mounted (its files at the top, e.g. `/dbt/models`, `/dbt/dbt_project.yml`) and every repository `discoverRepos` lists, whole on its default branch, at `/<owner>/<repo>`. `ls /` shows the mounts. Read repositories with this tool rather than asking the user to connect a GitHub MCP server.",
5
5
  "Use it to read the code before answering questions about it (a model's SQL, refs and lineage, project config, CI workflows), diagnosing a build or compile error, or proposing a change, and ground each claim in a file you read.",
6
6
  'Commands: `ls`, `cat`, `head`, `tail`, `find`, `tree`, `wc`, `stat`, `grep`/`egrep` (incl. `-r`, `-l`, `-E`, `--include=GLOB`), `rg`, `sed`, `awk`, `cut`, `sort`, `uniq`, `tr`, `jq`, `diff`, `xargs`, with pipes, `&&`/`||`, quoting, globs and `2>/dev/null`.',
7
7
  "`search <term> [path]` lists the files that contain a term, using the host's code search; the path picks one repository (`/dbt`, `/owner/repo`), a subdirectory, or every repository of an owner (`/owner`, one request each). It matches terms, not regular expressions, and indexes only default branches and files under a size cap: locate files with it, and use `grep`/`rg` for a regex, a non-default branch or matching lines in a known directory.",
@@ -15,7 +15,7 @@ export const toolExploreRepoArgsSchema = z.object({
15
15
  target: z
16
16
  .string()
17
17
  .nullable()
18
- .describe('Starting directory as a repository "owner/repo" (e.g. "acme/analytics"), which starts the command in `/owner/repo`; null starts it in `/dbt`. Absolute paths reach any mount whatever the target, so one command can read named files from several repositories (e.g. `diff /dbt/models/orders.sql /acme/analytics/models/orders.sql`).'),
18
+ .describe('Starting directory as a repository "owner/repo" (e.g. "acme/analytics"), which starts the command in `/owner/repo`; null starts it in `/dbt`, or `/` without it. Absolute paths reach any mount whatever the target, so one command can read named files from several repositories (e.g. `diff /dbt/models/orders.sql /acme/analytics/models/orders.sql`).'),
19
19
  });
20
20
  export const toolExploreRepoStructuredContentSchema = z.object({
21
21
  output: z
@@ -1 +1 @@
1
- {"version":3,"file":"toolExploreRepoArgs.js","sourceRoot":"","sources":["../../../../../../src/ee/AiAgent/schemas/tools/toolExploreRepoArgs.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,0BAA0B,EAAE,MAAM,mBAAmB,CAAC;AAE/D,MAAM,CAAC,MAAM,6BAA6B,GAAG;IACzC,wYAAwY;IACxY,oOAAoO;IACpO,kQAAkQ;IAClQ,6bAA6b;IAC7b,yaAAya;IACza,uKAAuK;CAC1K,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AAEZ,MAAM,CAAC,MAAM,yBAAyB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC9C,OAAO,EAAE,CAAC;SACL,MAAM,EAAE;SACR,QAAQ,CACL,gIAAgI,CACnI;IACL,MAAM,EAAE,CAAC;SACJ,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CACL,yUAAyU,CAC5U;CACR,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,sCAAsC,GAAG,CAAC,CAAC,MAAM,CAAC;IAC3D,MAAM,EAAE,CAAC;SACJ,MAAM,EAAE;SACR,QAAQ,CACL,gJAAgJ,CACnJ;CACR,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,2BAA2B,GAAG,0BAA0B,CAAC;IAClE,QAAQ,EAAE,CAAC,CAAC,MAAM,CAAC;QACf,MAAM,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,EAAE,OAAO,CAAC,CAAC;KACvC,CAAC;IACF,iBAAiB,EAAE,sCAAsC;CAC5D,CAAC,CAAC"}
1
+ {"version":3,"file":"toolExploreRepoArgs.js","sourceRoot":"","sources":["../../../../../../src/ee/AiAgent/schemas/tools/toolExploreRepoArgs.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,0BAA0B,EAAE,MAAM,mBAAmB,CAAC;AAE/D,MAAM,CAAC,MAAM,6BAA6B,GAAG;IACzC,qZAAqZ;IACrZ,oOAAoO;IACpO,kQAAkQ;IAClQ,6bAA6b;IAC7b,yaAAya;IACza,uKAAuK;CAC1K,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AAEZ,MAAM,CAAC,MAAM,yBAAyB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC9C,OAAO,EAAE,CAAC;SACL,MAAM,EAAE;SACR,QAAQ,CACL,gIAAgI,CACnI;IACL,MAAM,EAAE,CAAC;SACJ,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CACL,4VAA4V,CAC/V;CACR,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,sCAAsC,GAAG,CAAC,CAAC,MAAM,CAAC;IAC3D,MAAM,EAAE,CAAC;SACJ,MAAM,EAAE;SACR,QAAQ,CACL,gJAAgJ,CACnJ;CACR,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,2BAA2B,GAAG,0BAA0B,CAAC;IAClE,QAAQ,EAAE,CAAC,CAAC,MAAM,CAAC;QACf,MAAM,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,EAAE,OAAO,CAAC,CAAC;KACvC,CAAC;IACF,iBAAiB,EAAE,sCAAsC;CAC5D,CAAC,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lightdash/common",
3
- "version": "3.267.0",
3
+ "version": "3.267.2",
4
4
  "license": "MIT",
5
5
  "repository": {
6
6
  "type": "git",