semvec/pypi-packages huggingface dataset:
hanzo-tools-ide 0.1.0
IDE integration tool for VS Code, JetBrains, and LSP-compatible editors
License: MIT
Requires Python: >=3.12
Keywords: mcp, ide, vscode, jetbrains, lsp, editor

# hanzo-tools-ide

IDE integration tool for VS Code, Cursor, Windsurf, JetBrains, and LSP-compatible editors.

## Features

- **Multi-IDE support**: VS Code, Cursor, Windsurf, JetBrains, Neovim
- **Full editor control**: Open, edit, navigate, refactor
- **Terminal integration**: Create and send commands to terminals
- **Diagnostics**: Access errors, warnings, and quick fixes
- **Agent-friendly**: Designed for AI agent workflows

## Installation

```bash
pip install hanzo-tools-ide
```

## Requirements

Install the Hanzo extension in your IDE:
- **VS Code/Cursor/Windsurf**: Install "Hanzo AI" extension
- **JetBrains**: Install "Hanzo AI" plugin
- **Neovim**: Install hanzo.nvim plugin

## Usage

```python
from hanzo_tools.ide import IdeTool

ide = IdeTool()

# Connect to IDE (auto-detects)
await ide.call(action="connect")

# Open file
await ide.call(action="open", path="/src/main.py", line=42)

# Insert text
await ide.call(action="insert", text="# TODO: fix", line=10)

# Go to definition
await ide.call(action="go_to_definition", line=15, column=8)

# Rename symbol
await ide.call(action="rename", new_name="betterName", line=10, column=5)

# Run in terminal
await ide.call(action="terminal", command="npm test")

# Get diagnostics
await ide.call(action="diagnostics", severity="error")

# Execute VS Code command
await ide.call(action="command", command="editor.action.formatDocument")
```

## Actions

| Action | Description | Parameters |
|--------|-------------|------------|
| connect | Connect to IDE | ide?: vscode\|cursor\|jetbrains |
| status | Check connection | - |
| open | Open file | path, line? |
| close | Close file | path? |
| save | Save file | path? |
| files | List open files | - |
| select | Set selection | line, column, end_line?, end_column? |
| insert | Insert text | text, line, column? |
| replace | Replace text | text, line, column, end_line, end_column |
| get_text | Get text | line?, end_line? |
| go_to_definition | Navigate | line, column |
| find_references | Find refs | line, column |
| rename | Rename symbol | new_name, line, column |
| format | Format doc | - |
| diagnostics | Get errors | severity? |
| quick_fix | Apply fix | line, column, index? |
| command | Execute cmd | command, args? |
| terminal | Terminal | command?, name? |
| search | Search | query, include?, exclude? |

## License

MIT - Hanzo Industries Inc
hanzo-tools-repl 0.1.0
Multi-language REPL tool with Jupyter kernel backend for interactive code evaluation
License: MIT
Requires Python: >=3.12
Keywords: mcp, repl, jupyter, interactive, code, evaluation

# hanzo-tools-repl

Multi-language REPL tool with Jupyter kernel backend for interactive code evaluation.

## Features

- **Multi-language support**: Python, Node.js/TypeScript, Bash, Ruby, Go, Rust
- **Persistent sessions**: Maintain state across evaluations
- **Jupyter kernels**: Uses standard Jupyter infrastructure
- **Agent-friendly**: Designed for AI agent workflows

## Installation

```bash
pip install hanzo-tools-repl

# With all kernels
pip install hanzo-tools-repl[full]
```

## Usage

```python
from hanzo_tools.repl import ReplTool

repl = ReplTool()

# Start a Python session
await repl.call(action="start", language="python")

# Evaluate code
result = await repl.call(action="eval", code="x = 1 + 1\nprint(x)")
# Output: [1] 2

# Node.js/TypeScript
await repl.call(action="start", language="node")
result = await repl.call(action="eval", code="const arr = [1,2,3].map(n => n*2)")

# List sessions
await repl.call(action="list")

# Get history
await repl.call(action="history", limit=10)

# Stop session
await repl.call(action="stop")
```

## Supported Languages

| Language | Kernel | Install |
|----------|--------|---------|
| Python | ipykernel | `pip install ipykernel` |
| Node.js/TypeScript | tslab | `npm install -g tslab && tslab install` |
| Bash | bash_kernel | `pip install bash_kernel` |
| Ruby | iruby | `gem install iruby` |
| Go | gophernotes | See gophernotes docs |
| Rust | evcxr | `cargo install evcxr_jupyter` |

## License

MIT - Hanzo Industries Inc