From 3396f9fb8aff5e2332654872b302e78ae02b21fe Mon Sep 17 00:00:00 2001 From: dal Date: Wed, 23 Jul 2025 21:09:53 -0600 Subject: [PATCH 1/2] Refactor package references: rename '@buster-tools/web-tools' to '@buster/web-tools' in package.json and pnpm-lock.yaml --- apps/trigger/package.json | 2 +- packages/ai/package.json | 2 +- pnpm-lock.yaml | 12 ++++++------ 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/apps/trigger/package.json b/apps/trigger/package.json index 335183339..a4ef5871b 100644 --- a/apps/trigger/package.json +++ b/apps/trigger/package.json @@ -27,7 +27,7 @@ "@buster/test-utils": "workspace:*", "@buster/typescript-config": "workspace:*", "@buster/vitest-config": "workspace:*", - "@buster-tools/web-tools": "workspace:*", + "@buster/web-tools": "workspace:*", "@mastra/core": "catalog:", "@trigger.dev/sdk": "catalog:", "ai": "catalog:", diff --git a/packages/ai/package.json b/packages/ai/package.json index 670a63da6..2668d3d9d 100644 --- a/packages/ai/package.json +++ b/packages/ai/package.json @@ -45,7 +45,7 @@ "@buster/test-utils": "workspace:*", "@buster/typescript-config": "workspace:*", "@buster/vitest-config": "workspace:*", - "@buster-tools/web-tools": "workspace:*", + "@buster/web-tools": "workspace:*", "@mastra/core": "catalog:", "@mastra/loggers": "^0.10.3", "ai": "catalog:", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 872b43113..ee57d2f26 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -181,9 +181,6 @@ importers: apps/trigger: dependencies: - '@buster-tools/web-tools': - specifier: workspace:* - version: link:../../packages/web-tools '@buster/access-controls': specifier: workspace:* version: link:../../packages/access-controls @@ -211,6 +208,9 @@ importers: '@buster/vitest-config': specifier: workspace:* version: link:../../packages/vitest-config + '@buster/web-tools': + specifier: workspace:* + version: link:../../packages/web-tools '@mastra/core': specifier: 'catalog:' version: 0.10.8(openapi-types@12.1.3)(react@18.3.1)(zod@3.25.1) @@ -684,9 +684,6 @@ importers: '@ai-sdk/provider': specifier: ^1.1.3 version: 1.1.3 - '@buster-tools/web-tools': - specifier: workspace:* - version: link:../web-tools '@buster/access-controls': specifier: workspace:* version: link:../access-controls @@ -717,6 +714,9 @@ importers: '@buster/vitest-config': specifier: workspace:* version: link:../vitest-config + '@buster/web-tools': + specifier: workspace:* + version: link:../web-tools '@mastra/core': specifier: 'catalog:' version: 0.10.8(openapi-types@12.1.3)(react@18.3.1)(zod@3.25.1) From acee19e981efd427a17c377b542cf6dca2099c7a Mon Sep 17 00:00:00 2001 From: dal Date: Wed, 23 Jul 2025 21:13:56 -0600 Subject: [PATCH 2/2] reolve to @butster/web-tools --- packages/ai/src/tools/web-tools/web-search-tool.ts | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/packages/ai/src/tools/web-tools/web-search-tool.ts b/packages/ai/src/tools/web-tools/web-search-tool.ts index ca8b29dfe..52a1e944d 100644 --- a/packages/ai/src/tools/web-tools/web-search-tool.ts +++ b/packages/ai/src/tools/web-tools/web-search-tool.ts @@ -1,8 +1,4 @@ -import { - FirecrawlService, - type WebSearchOptions, - type WebSearchResult, -} from '@buster-tools/web-tools'; +import { FirecrawlService, type WebSearchOptions, type WebSearchResult } from '@buster/web-tools'; import type { RuntimeContext } from '@mastra/core/runtime-context'; import { createTool } from '@mastra/core/tools'; import { wrapTraced } from 'braintrust';