TPMJS verification expects endpoints at /health and /execute-tool, not at /api/health and /api/execute-tool. This adds the correct routes while keeping the /api versions for backwards compatibility. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
13 lines
376 B
TypeScript
13 lines
376 B
TypeScript
/**
|
|
* Tool Execution Endpoint (root path)
|
|
*
|
|
* POST /execute-tool
|
|
* TPMJS expects execute-tool at /execute-tool, not /api/execute-tool
|
|
* This re-exports from the api version for backwards compatibility
|
|
*/
|
|
|
|
export { POST, OPTIONS } from '../api/execute-tool/route';
|
|
|
|
export const runtime = 'nodejs';
|
|
export const dynamic = 'force-dynamic';
|
|
export const maxDuration = 300;
|