Metadata-Version: 2.4
Name: tokslash
Version: 0.3.0
Summary: Markdown and text file editor for Claude Code — saves 80-90% of tokens
Author-email: 王军尉 <support@stratsapien.com>
License: Commercial
Project-URL: Homepage, https://tokslash.stratsapien.com
Project-URL: Repository, https://github.com/KickGit/tokslash_commercial
Project-URL: Bug Tracker, https://github.com/KickGit/tokslash_commercial/issues
Keywords: claude-code,token-saver,markdown,editor,mcp
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: Other/Proprietary License
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Topic :: Text Editors
Classifier: Operating System :: OS Independent
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: fastmcp>=2.1.0
Requires-Dist: markdown-it-py>=3.0.0
Requires-Dist: mdit-py-plugins>=0.4.0
Requires-Dist: ruamel.yaml>=0.18.0
Requires-Dist: watchdog>=4.0.0
Requires-Dist: click>=8.1.0
Requires-Dist: tqdm>=4.66.0
Requires-Dist: pyjwt[crypto]>=2.8.0
Requires-Dist: pyyaml>=6.0
Provides-Extra: dev
Requires-Dist: pytest>=8.0; extra == "dev"
Requires-Dist: pytest-asyncio>=0.24; extra == "dev"
Requires-Dist: cython>=3.0; extra == "dev"
Dynamic: license-file

# TokSlash

**Save 80-90% of tokens when editing files in Claude Code.**

TokSlash is a token-saving editor for Claude Code. Instead of reading and rewriting entire files, it lets you read and modify only the sections you need — saving time and money.

---

## Install

```bash
pip install tokslash --extra-index-url https://tokslash.stratsapien.com/pypi/ --trusted-host tokslash.stratsapien.com
```

## Activate

After purchasing a license key, activate with:

```bash
tokslash activate --key YOUR-LICENSE-KEY
```

> **Get your license key:** [Buy Pro](https://tokslash.stratsapien.com) — $49 early bird (lifetime)

## Quick Start

1. **Install** the package and **activate** your license
2. In Claude Code, TokSlash auto-registers as an MCP server
3. Use block-level commands to save tokens:

```
list_blocks("README.md")    → See all sections
read_block("abc-123")       → Read one section only
replace_block("abc-123", "...") → Modify one section only
```

That's it. No config needed.

---

## Free vs Pro

| Feature | Free | Pro |
|---------|------|-----|
| Markdown block editing | ✅ | ✅ |
| Safety engine | ✅ | ✅ |
| File cache | 50 hits/day | Unlimited |
| Projects | 3 | Unlimited |
| Semantic search | — | ✅ |
| Priority support | — | ✅ |
| Lifetime updates | — | ✅ |

**Both versions get the full token-saving experience.** Free lets you try everything; Pro removes limits.

---

## CLI Reference

| Command | Description |
|---------|-------------|
| `tokslash status` | Index status + daily quota |
| `tokslash reindex` | Rebuild the index |
| `tokslash blocks <file>` | List blocks in a file |
| `tokslash activate --key <key>` | Activate Pro license |
| `tokslash stats` | Token savings statistics |
| `tokslash serve` | Start MCP Server (manual) |

---

## Support

- **Email:** support@stratsapien.com
- **License:** Commercial. All rights reserved.
