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