From aa1001a0ee5a9fdf1dbfb966fef55551bee19f2e Mon Sep 17 00:00:00 2001
From: Ajax Davis
Date: Fri, 12 Dec 2025 09:52:48 +1000
Subject: [PATCH] fix: rename SDK packages to lowercase for npm compatibility
- @tpmjs/registrySearch -> @tpmjs/registry-search
- @tpmjs/registryExecute -> @tpmjs/registry-execute
npm package names cannot contain capital letters
---
apps/web/src/app/sdk/page.tsx | 28 ++++++++++-----------
packages/tools/registryExecute/README.md | 12 ++++-----
packages/tools/registryExecute/package.json | 4 +--
packages/tools/registrySearch/README.md | 12 ++++-----
packages/tools/registrySearch/package.json | 4 +--
5 files changed, 30 insertions(+), 30 deletions(-)
diff --git a/apps/web/src/app/sdk/page.tsx b/apps/web/src/app/sdk/page.tsx
index 1e358e8..9233d8f 100644
--- a/apps/web/src/app/sdk/page.tsx
+++ b/apps/web/src/app/sdk/page.tsx
@@ -35,7 +35,7 @@ export default function SDKPage(): React.ReactElement {
@@ -106,8 +106,8 @@ export default function SDKPage(): React.ReactElement {
language="typescript"
code={`import { streamText } from 'ai';
import { anthropic } from '@ai-sdk/anthropic';
-import { registrySearchTool } from '@tpmjs/registrySearch';
-import { registryExecuteTool } from '@tpmjs/registryExecute';
+import { registrySearchTool } from '@tpmjs/registry-search';
+import { registryExecuteTool } from '@tpmjs/registry-execute';
const result = streamText({
model: anthropic('claude-sonnet-4-20250514'),
@@ -178,7 +178,7 @@ Use registrySearch to find tools, then registryExecute to run them.\`,
registrySearchTool