{"_id":"@andypai/threaded","name":"@andypai/threaded","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@andypai/threaded","version":"1.0.0","description":"Open local files in Threaded for AI-powered reading","type":"module","main":"dist/index.js","bin":{"threaded":"dist/index.js"},"engines":{"node":">=18.0.0"},"license":"MIT","publishConfig":{"access":"public"},"dependencies":{"commander":"^12.0.0","open":"^10.0.0"},"devDependencies":{"@eslint/js":"^9.39.1","@types/node":"^22.14.0","@typescript-eslint/eslint-plugin":"^8.18.0","@typescript-eslint/parser":"^8.18.0","eslint":"^9.39.1","eslint-config-prettier":"^10.1.8","eslint-plugin-prettier":"^5.5.4","prettier":"^3.7.4","tsx":"^4.19.0","typescript":"^5.7.2"},"scripts":{"dev":"tsx watch src/index.ts","start":"tsx src/index.ts","build":"tsc","lint":"eslint .","format":"prettier --write .","typecheck":"tsc --noEmit","check":"pnpm run lint && pnpm run typecheck"},"types":"./dist/index.d.ts","_id":"@andypai/threaded@1.0.0","_integrity":"sha512-y+no3UeKwewxHznbKJ/4nU8DgPjTDqYeG8plztdnFe/SOMemOMcWsyI8DgtritiDsZqOYkDx0m1lwkMvGxolJw==","_resolved":"/private/var/folders/zj/c10d515j4lz3hq26nmc156c00000gn/T/a6b4196b4c2a1d02f5b9511bfad9c47e/andypai-threaded-1.0.0.tgz","_from":"file:andypai-threaded-1.0.0.tgz","_nodeVersion":"24.11.1","_npmVersion":"11.7.0","dist":{"integrity":"sha512-y+no3UeKwewxHznbKJ/4nU8DgPjTDqYeG8plztdnFe/SOMemOMcWsyI8DgtritiDsZqOYkDx0m1lwkMvGxolJw==","shasum":"1dc94646f31ac248fb36897437fc445f358555ec","tarball":"https://registry.npmjs.org/@andypai/threaded/-/threaded-1.0.0.tgz","fileCount":5,"unpackedSize":8077,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQC8PZXuJFNRAl5MaHqGYXNZOYIEsTB4exNKO0ls+/QM7QIhAMMmWMzOQp7fz+UN1+bL4Cf/ut/yHSFsHnU/OwiqnSvL"}]},"_npmUser":{"name":"andypai.me","email":"andy@r2pi.co"},"directories":{},"maintainers":[{"name":"andypai.me","email":"andy@r2pi.co"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/threaded_1.0.0_1767031214044_0.6075359161699392"},"_hasShrinkwrap":false}},"time":{"created":"2025-12-29T18:00:13.975Z","1.0.0":"2025-12-29T18:00:14.194Z","modified":"2025-12-29T18:00:14.528Z"},"maintainers":[{"name":"andypai.me","email":"andy@r2pi.co"}],"description":"Open local files in Threaded for AI-powered reading","license":"MIT","readme":"# @andypai/threaded\n\nCLI tool to open local files in [Threaded](https://threaded.andypai.me) - a contextual AI reader.\n\n## Installation\n\n```bash\npnpm install -g @andypai/threaded\n```\n\n## Usage\n\n```bash\n# Open a markdown, text, or PDF file\nthreaded ./document.pdf\n\n# Print URL without opening browser\nthreaded --no-open ./document.md\n```\n\n## Supported File Types\n\n- **Direct**: `.md`, `.markdown`, `.txt`\n- **Parsed via API**: `.pdf`, `.docx`, `.xlsx`, `.pptx`, `.epub`, `.csv`, `.html`, `.xml`\n\n## Options\n\n| Option          | Description                                              |\n| --------------- | -------------------------------------------------------- |\n| `--no-open`     | Print the session URL without opening browser            |\n| `--api <url>`   | API base URL (defaults to `https://threaded.andypai.me`) |\n| `--app <url>`   | App base URL to open (defaults to same as `--api`)       |\n| `-V, --version` | Show version number                                      |\n| `-h, --help`    | Show help                                                |\n\n## Environment Variables\n\nConfigure defaults in a `.env` file or your shell:\n\n- `THREADED_API` - API base URL (default: `https://threaded.andypai.me`)\n- `THREADED_APP` - App base URL (default: same as `THREADED_API`)\n\nFor local development, set:\n\n```bash\nTHREADED_API=http://localhost:8787\nTHREADED_APP=http://localhost:3000\n```\n\n## Development\n\nThis CLI is part of the Threaded monorepo.\n\n```bash\n# From the project root\npnpm install\npnpm cli -- ./README.md\n```\n\n## License\n\nMIT\n","readmeFilename":"README.md","_rev":"1-464f5812ca48ffcc315bd22c5a76db1d"}