{"_id":"@adrianlzt/opencode-show-tools","name":"@adrianlzt/opencode-show-tools","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@adrianlzt/opencode-show-tools","main":"dist/index.js","version":"1.0.0","description":"OpenCode plugin that adds a /tools command to list all available tools","author":{"name":"shekohex"},"keywords":["opencode","opencode-plugin","tools","slash-command"],"license":"MIT","type":"module","exports":{".":"./dist/index.js"},"scripts":{"typecheck":"tsc --noEmit","build:prod":"vite build --mode production","prepack":"npm run build:prod","lint":"biome lint .","lint:fix":"biome lint --write .","format":"biome format .","format:fix":"biome format --write ."},"devDependencies":{"@biomejs/biome":"2.3.13","@types/bun":"^1.3.8","typescript":"^5.9.3","vite":"^7.3.1"},"peerDependencies":{"typescript":"^5"},"dependencies":{"@opencode-ai/plugin":"^1.1.51","@opencode-ai/sdk":"^1.1.51"},"gitHead":"51c965b661d8ef4d5dd8c60f259db516e8969eb6","_id":"@adrianlzt/opencode-show-tools@1.0.0","_nodeVersion":"25.6.1","_npmVersion":"11.10.1","dist":{"integrity":"sha512-JKkFHzqyfP/BNBEzfN3jL1NkQDfw6dfYoypbbub7y0E2Nrj+GS8L2V3OF4yUpvZvmQyvNlLzR6WFM9uWfLynNw==","shasum":"a538c2cee69c04adf7df07b01b6a7a955ee87f0b","tarball":"https://registry.npmjs.org/@adrianlzt/opencode-show-tools/-/opencode-show-tools-1.0.0.tgz","fileCount":3,"unpackedSize":3119,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQDAvOSusEAUC/XAuY4NMsQ3m8aE+r1p8z8efc7/yBtc5gIhAOM836U1R4cNaHmnQ1tnqAN1NE+iqFDR3181QrMYi6/G"}]},"_npmUser":{"name":"adrianlzt","email":"adrianlzt@gmail.com"},"directories":{},"maintainers":[{"name":"adrianlzt","email":"adrianlzt@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/opencode-show-tools_1.0.0_1772622457251_0.9665914837915264"},"_hasShrinkwrap":false}},"time":{"created":"2026-03-04T11:07:37.193Z","1.0.0":"2026-03-04T11:07:37.390Z","modified":"2026-03-04T11:07:37.554Z"},"maintainers":[{"name":"adrianlzt","email":"adrianlzt@gmail.com"}],"description":"OpenCode plugin that adds a /tools command to list all available tools","keywords":["opencode","opencode-plugin","tools","slash-command"],"author":{"name":"shekohex"},"license":"MIT","readme":"# @adrianlzt/opencode-show-tools\n\nAn OpenCode plugin that adds a `/tools` slash command to list all available tools for a specific provider/model.\n\n## Installation\n\n```bash\nnpm install @adrianlzt/opencode-show-tools\n```\n\nAdd to your `opencode.json`:\n\n```json\n{\n  \"plugin\": [\"@adrianlzt/opencode-show-tools\"]\n}\n```\n\nFor local development:\n\n```json\n{\n  \"plugin\": [\"file:///path/to/opencode-show-tools/dist/index.js\"]\n}\n```\n\n## Usage\n\nOnce installed, use the `/tools` command in your OpenCode TUI session:\n\n```\n/tools\n```\n\nThis will display a list of all available tools for the configured provider (zai/glm-5) with their descriptions:\n\n```\n# Available Tools\n\n- **invalid** - Do not use\n- **question** - Use this tool when you need to ask the user questions during execution\n- **bash** - Executes a given bash command in a persistent shell session with optional timeout\n- **read** - Read a file or directory from the local filesystem\n...\n```\n\n**Note:** This command works only in the OpenCode TUI. The `opencode run --command tools` CLI mode does not display session messages.\n\n## Development\n\n```bash\n# Install dependencies\nnpm install\n\n# Type check\nnpx tsc --noEmit\n\n# Build\nnpx vite build --mode production\n\n# Lint\nnpx biome lint .\nnpx biome format .\n```\n\n## License\n\nMIT\n","readmeFilename":"README.md","_rev":"1-8e18c066be99d46ce9b13f91ff6e4e2f"}