tpmjs/packages/tools/official/page-brief/package.json
Ajax Davis 5926373be6 chore: update ai package to 6.0.49 across all packages
- Updated all packages from ai@6.0.23 to ai@6.0.49
- Added pnpm override to ensure consistent version
- Created changeset for publishing affected packages
2026-01-25 11:33:03 +10:00

75 lines
1.8 KiB
JSON

{
"name": "@tpmjs/tools-page-brief",
"version": "0.3.0",
"description": "Fetch a URL, extract main content, and return a brief with summary, key points, and claims needing citations",
"type": "module",
"keywords": [
"tpmjs",
"research",
"ai",
"readability",
"web-scraping"
],
"exports": {
".": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
}
},
"files": [
"dist"
],
"scripts": {
"build": "tsup",
"dev": "tsup --watch",
"type-check": "tsc --noEmit",
"clean": "rm -rf dist .turbo"
},
"devDependencies": {
"@tpmjs/tsconfig": "workspace:*",
"@types/jsdom": "^27.0.0",
"@types/sbd": "^1.0.5",
"tsup": "^8.5.1",
"typescript": "^5.9.3"
},
"publishConfig": {
"access": "public"
},
"repository": {
"type": "git",
"url": "https://github.com/anthropics/tpmjs.git",
"directory": "packages/tools/official/page-brief"
},
"homepage": "https://tpmjs.com",
"license": "MIT",
"tpmjs": {
"category": "research",
"frameworks": [
"vercel-ai"
],
"tools": [
{
"name": "pageBriefTool",
"description": "Fetch a URL, extract main content, and return a brief with summary, key points, and claims needing citations",
"parameters": [
{
"name": "url",
"type": "string",
"description": "The URL to fetch and analyze",
"required": true
}
],
"returns": {
"type": "PageBrief",
"description": "Object with url, title, summary, keyPoints array, and claimsNeedingCitation array"
}
}
]
},
"dependencies": {
"@mozilla/readability": "^0.6.0",
"ai": "6.0.49",
"jsdom": "^27.4.0",
"sbd": "^1.0.19"
}
}