From d495f61f10c229f54ae7f747a5c4446f42346210 Mon Sep 17 00:00:00 2001 From: Ajax Davis Date: Sun, 11 Jan 2026 01:36:26 +1000 Subject: [PATCH] fix: correct test package/tool name in executor verification MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Use @tpmjs/hello instead of @anthropic-ai/tpmjs-hello - Use helloWorldTool instead of helloWorld (correct export name) - Increase timeout to 30s to account for npm install in sandbox - Add detailed logging to Vercel executor template 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- apps/web/src/lib/executors/index.ts | 9 ++++--- .../app/api/execute-tool/route.ts | 26 ++++++++++++++++++- 2 files changed, 30 insertions(+), 5 deletions(-) diff --git a/apps/web/src/lib/executors/index.ts b/apps/web/src/lib/executors/index.ts index 689016b..9e3159c 100644 --- a/apps/web/src/lib/executors/index.ts +++ b/apps/web/src/lib/executors/index.ts @@ -241,12 +241,13 @@ export async function testExecutor( apiKey?: string ): Promise<{ success: boolean; executionTimeMs: number; error?: string }> { const testRequest: ExecuteToolRequest = { - packageName: '@anthropic-ai/tpmjs-hello', - name: 'helloWorld', - params: { name: 'test' }, + packageName: '@tpmjs/hello', + name: 'helloWorldTool', + version: '0.0.2', + params: { includeTimestamp: true }, }; - const result = await executeWithCustomUrl(url, apiKey, testRequest, 15000); // 15 second timeout for test + const result = await executeWithCustomUrl(url, apiKey, testRequest, 30000); // 30 second timeout for test (includes npm install) return { success: result.success, diff --git a/templates/vercel-executor/app/api/execute-tool/route.ts b/templates/vercel-executor/app/api/execute-tool/route.ts index b5c34b7..efc5a47 100644 --- a/templates/vercel-executor/app/api/execute-tool/route.ts +++ b/templates/vercel-executor/app/api/execute-tool/route.ts @@ -71,6 +71,9 @@ export async function POST(req: NextRequest): Promise