tpmjs/packages/tools/official/sprites-url-get/package.json
Ajax Davis 27e7d45646 feat(sprites): add sprites-url-get and sprites-url-set tools
New tools for managing sprite URL access settings:
- sprites-url-get: Get the public URL and auth settings for a sprite
- sprites-url-set: Set URL auth to 'public' or 'sprite' (private)

Both published as @tpmjs/tools-sprites-url-get and @tpmjs/tools-sprites-url-set v0.1.0
2026-01-15 04:56:52 +10:00

70 lines
1.6 KiB
JSON

{
"name": "@tpmjs/tools-sprites-url-get",
"version": "0.1.0",
"description": "Get the public URL and access settings for a sprite",
"type": "module",
"keywords": [
"tpmjs",
"sprites",
"sandbox",
"code-execution",
"ai"
],
"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:*",
"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/sprites-url-get"
},
"homepage": "https://tpmjs.com",
"license": "MIT",
"tpmjs": {
"category": "sandbox",
"frameworks": [
"vercel-ai"
],
"tools": [
{
"name": "spritesUrlGetTool",
"description": "Get the public URL and access settings for a sprite. Returns the URL that can be used to access web servers running on port 8080 in the sprite.",
"parameters": [
{
"name": "name",
"type": "string",
"description": "Name of the sprite to get URL for",
"required": true
}
],
"returns": {
"type": "SpriteUrl",
"description": "Sprite URL and auth settings"
}
}
]
},
"dependencies": {
"ai": "6.0.23"
}
}