tpmjs/packages
Ajax Davis 5fc584fc66 feat(tpmjs-spec): add auto-discovery of tools and rename exportName to name
Major changes to the TPMJS specification:

1. Auto-Discovery: The `tools` array is now optional. If omitted, TPMJS
   automatically scans package exports and registers any export with
   `description` and `execute` properties (standard AI SDK tool format).

2. Renamed `exportName` to `name` in tool definitions for cleaner spec.

3. Added `/list-exports` endpoint to Railway executor that:
   - Lists all exports from a package
   - Identifies valid AI SDK tools
   - Extracts descriptions for auto-discovered tools

4. Added `toolDiscoverySource` field to track 'auto' vs 'manual' discovery.

5. Updated tool page UI with:
   - Auto-discovery warning banner
   - Badge showing discovery source

6. Updated all documentation pages (docs, spec, publish) to reflect:
   - Optional tools array with auto-discovery
   - Use of `name` instead of `exportName`
   - Auto-extraction of schema and description

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-17 14:02:26 +10:00
..
config feat: add HN launch readiness features 2025-12-14 11:56:42 +10:00
db feat(tpmjs-spec): add auto-discovery of tools and rename exportName to name 2025-12-17 14:02:26 +10:00
env feat: upgrade to AI SDK v6 beta and Zod v4 to fix tool schema errors 2025-11-30 19:14:01 +10:00
mocks feat: upgrade to AI SDK v6 beta and Zod v4 to fix tool schema errors 2025-11-30 19:14:01 +10:00
npm-client feat: upgrade to AI SDK v6 beta and Zod v4 to fix tool schema errors 2025-11-30 19:14:01 +10:00
package-executor Revert "feat(package-executor): add 2-minute in-memory cache for execution results" 2025-12-17 11:40:04 +10:00
storybook feat: upgrade to AI SDK v6 beta and Zod v4 to fix tool schema errors 2025-11-30 19:14:01 +10:00
test feat: upgrade to AI SDK v6 beta and Zod v4 to fix tool schema errors 2025-11-30 19:14:01 +10:00
tools feat: add @tpmjs/unsandbox package for secure code execution 2025-12-16 12:07:46 +10:00
types feat(tpmjs-spec): add auto-discovery of tools and rename exportName to name 2025-12-17 14:02:26 +10:00
ui fix(ui): fix checkbox tick not visible in light/dark mode 2025-12-12 12:51:37 +10:00
utils fix(tool-search): add published date, center copy button 2025-12-11 11:37:42 +10:00