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
This commit is contained in:
Ajax Davis 2025-12-12 09:52:48 +10:00
parent dcab29baa2
commit aa1001a0ee
5 changed files with 30 additions and 30 deletions

View file

@ -1,21 +1,21 @@
# @tpmjs/registryExecute
# @tpmjs/registry-execute
Execute tools from the TPMJS registry in any AI SDK agent. Tools run in a secure sandbox - no local installation required.
## Installation
```bash
npm install @tpmjs/registryExecute
npm install @tpmjs/registry-execute
# or
pnpm add @tpmjs/registryExecute
pnpm add @tpmjs/registry-execute
```
## Usage
```typescript
import { Agent } from 'ai';
import { registrySearchTool } from '@tpmjs/registrySearch';
import { registryExecuteTool } from '@tpmjs/registryExecute';
import { registrySearchTool } from '@tpmjs/registry-search';
import { registryExecuteTool } from '@tpmjs/registry-execute';
const agent = new Agent({
model: 'anthropic/claude-sonnet-4-20250514',
@ -94,7 +94,7 @@ export TPMJS_EXECUTOR_URL=https://executor.mycompany.com
## Related
- [@tpmjs/registrySearch](https://www.npmjs.com/package/@tpmjs/registrySearch) - Find tools to execute
- [@tpmjs/registry-search](https://www.npmjs.com/package/@tpmjs/registry-search) - Find tools to execute
- [TPMJS Registry](https://tpmjs.com) - Browse all available tools
## License

View file

@ -1,6 +1,6 @@
{
"name": "@tpmjs/registryExecute",
"version": "0.2.0",
"name": "@tpmjs/registry-execute",
"version": "0.1.0",
"description": "Execute tools from the TPMJS registry in any AI SDK agent",
"main": "dist/index.js",
"types": "dist/index.d.ts",

View file

@ -1,21 +1,21 @@
# @tpmjs/registrySearch
# @tpmjs/registry-search
Search the TPMJS tool registry from any AI SDK agent. Discover thousands of tools dynamically.
## Installation
```bash
npm install @tpmjs/registrySearch
npm install @tpmjs/registry-search
# or
pnpm add @tpmjs/registrySearch
pnpm add @tpmjs/registry-search
```
## Usage
```typescript
import { Agent } from 'ai';
import { registrySearchTool } from '@tpmjs/registrySearch';
import { registryExecuteTool } from '@tpmjs/registryExecute';
import { registrySearchTool } from '@tpmjs/registry-search';
import { registryExecuteTool } from '@tpmjs/registry-execute';
const agent = new Agent({
model: 'anthropic/claude-sonnet-4-20250514',
@ -94,7 +94,7 @@ export TPMJS_API_URL=https://registry.mycompany.com
## Related
- [@tpmjs/registryExecute](https://www.npmjs.com/package/@tpmjs/registryExecute) - Execute tools found with this package
- [@tpmjs/registry-execute](https://www.npmjs.com/package/@tpmjs/registry-execute) - Execute tools found with this package
- [TPMJS Registry](https://tpmjs.com) - Browse all available tools
## License

View file

@ -1,6 +1,6 @@
{
"name": "@tpmjs/registrySearch",
"version": "0.2.0",
"name": "@tpmjs/registry-search",
"version": "0.1.0",
"description": "Search the TPMJS tool registry from any AI SDK agent",
"main": "dist/index.js",
"types": "dist/index.d.ts",