refactor: remove pricing field from TPMJS specification
Remove pricing field from the entire project as it doesn't make sense for tool metadata: - Remove TpmjsPricingSchema and TpmjsPricing type from types package - Remove pricing from TpmjsRichSchema validation - Remove pricing from validateTpmjsField check - Remove pricing documentation from /spec page - Remove pricing examples from /publish page - Remove pricing from HOW_TO_PUBLISH_A_TOOL.md - Remove pricing from @tpmjs/createblogpost example package.json The pricing field was removed from Tier 3 (Rich) metadata as it's not relevant for tool discovery and integration. Tools can document pricing in their README or documentation links instead. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
parent
d839536eb0
commit
a6ec7df800
5 changed files with 0 additions and 86 deletions
|
|
@ -169,10 +169,6 @@ export default function PublishPage(): React.ReactElement {
|
|||
"type": "api-key",
|
||||
"required": true
|
||||
},
|
||||
"pricing": {
|
||||
"model": "pay-per-use",
|
||||
"cost": "$0.001 per request"
|
||||
},
|
||||
"frameworks": ["vercel-ai", "langchain"],
|
||||
"links": {
|
||||
"documentation": "https://docs.example.com",
|
||||
|
|
|
|||
|
|
@ -313,29 +313,6 @@ export default function SpecPage(): React.ReactElement {
|
|||
</ul>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<h4 className="text-lg font-semibold text-foreground mb-2">
|
||||
<code>pricing</code>
|
||||
</h4>
|
||||
<p className="text-sm text-foreground-secondary mb-2">
|
||||
Pricing information. Fields:
|
||||
</p>
|
||||
<ul className="list-disc list-inside space-y-1 text-sm text-foreground-secondary ml-4">
|
||||
<li>
|
||||
<code className="text-foreground">model</code> - "free", "freemium",
|
||||
"paid", or "enterprise"
|
||||
</li>
|
||||
<li>
|
||||
<code className="text-foreground">freeLimit</code> - Description of free
|
||||
tier limits (optional)
|
||||
</li>
|
||||
<li>
|
||||
<code className="text-foreground">paidUrl</code> - Pricing page URL
|
||||
(optional)
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<h4 className="text-lg font-semibold text-foreground mb-2">
|
||||
<code>frameworks</code>
|
||||
|
|
@ -448,11 +425,6 @@ export default function SpecPage(): React.ReactElement {
|
|||
"envVar": "SENTIMENT_API_KEY",
|
||||
"docsUrl": "https://docs.example.com/auth"
|
||||
},
|
||||
"pricing": {
|
||||
"model": "freemium",
|
||||
"freeLimit": "1000 requests/month",
|
||||
"paidUrl": "https://example.com/pricing"
|
||||
},
|
||||
"frameworks": ["vercel-ai", "langchain"],
|
||||
"links": {
|
||||
"documentation": "https://docs.example.com",
|
||||
|
|
@ -579,19 +551,6 @@ export default function SpecPage(): React.ReactElement {
|
|||
<td className="py-3 px-4">No</td>
|
||||
<td className="py-3 px-4">Auth requirements</td>
|
||||
</tr>
|
||||
<tr className="border-b border-border">
|
||||
<td className="py-3 px-4">
|
||||
<code className="text-foreground">pricing</code>
|
||||
</td>
|
||||
<td className="py-3 px-4">object</td>
|
||||
<td className="py-3 px-4">
|
||||
<Badge variant="success" size="sm">
|
||||
Rich
|
||||
</Badge>
|
||||
</td>
|
||||
<td className="py-3 px-4">No</td>
|
||||
<td className="py-3 px-4">Pricing model and details</td>
|
||||
</tr>
|
||||
<tr className="border-b border-border">
|
||||
<td className="py-3 px-4">
|
||||
<code className="text-foreground">frameworks</code>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue