mirror of
https://github.com/hanzoai/python-sdk.git
synced 2026-10-23 20:23:00 +00:00
fix(docs): correct auto-background timeout from 45s to 30s
The auto-backgrounding timeout was changed to 30 seconds but documentation still referenced 45 seconds. Updated all occurrences.
This commit is contained in:
@@ -46,7 +46,7 @@ search(pattern="TODO", path="./src")
|
||||
### Shell Commands
|
||||
|
||||
```python
|
||||
# Run commands (auto-backgrounds after 45s)
|
||||
# Run commands (auto-backgrounds after 30s)
|
||||
cmd("npm install")
|
||||
|
||||
# Run in parallel
|
||||
|
||||
+1
-1
@@ -92,7 +92,7 @@ server.run()
|
||||
|
||||
### Auto-Backgrounding
|
||||
|
||||
Long-running commands automatically background after 45 seconds:
|
||||
Long-running commands automatically background after 30 seconds:
|
||||
|
||||
```python
|
||||
# This will auto-background if it takes too long
|
||||
|
||||
+2
-2
@@ -48,7 +48,7 @@ This document analyzes the parity status between Hanzo's three MCP implementatio
|
||||
| **Editor** | neovim integration | ✅ Complete |
|
||||
|
||||
**Key Features:**
|
||||
- ✅ Auto-backgrounding (45s default, configurable via `HANZO_AUTO_BACKGROUND_TIMEOUT`)
|
||||
- ✅ Auto-backgrounding (30s default, configurable via `HANZO_AUTO_BACKGROUND_TIMEOUT`)
|
||||
- ✅ DAG execution with parallel support
|
||||
- ✅ Process management (ps tool)
|
||||
- ✅ Entry-point based tool discovery
|
||||
@@ -75,7 +75,7 @@ This document analyzes the parity status between Hanzo's three MCP implementatio
|
||||
**Features Comparison:**
|
||||
| Feature | Python | TypeScript | Gap |
|
||||
|---------|--------|------------|-----|
|
||||
| Auto-backgrounding | ✅ 45s | ✅ `withAutoTimeout` | Parity |
|
||||
| Auto-backgrounding | ✅ 30s | ✅ `withAutoTimeout` | Parity |
|
||||
| DAG execution | ✅ `cmd` tool | ❌ | **Missing** |
|
||||
| Process management | ✅ Unified `ps` | ⚠️ Separate tools | Different API |
|
||||
| Unified memory | ✅ Single tool | ❌ | **Missing** |
|
||||
|
||||
+1
-1
@@ -90,7 +90,7 @@ The Model Context Protocol (MCP) is a standard for connecting AI assistants to e
|
||||
|
||||
### Auto-Backgrounding
|
||||
|
||||
Long-running commands automatically background after 45 seconds:
|
||||
Long-running commands automatically background after 30 seconds:
|
||||
|
||||
```python
|
||||
cmd("npm install") # Auto-backgrounds if slow
|
||||
|
||||
@@ -63,10 +63,10 @@ cmd([{"tool": "search", "input": {"pattern": "TODO"}}])
|
||||
|
||||
### Auto-Backgrounding
|
||||
|
||||
Commands exceeding 45 seconds automatically background:
|
||||
Commands exceeding 30 seconds automatically background:
|
||||
|
||||
```python
|
||||
# This will auto-background after 45s
|
||||
# This will auto-background after 30s
|
||||
cmd("npm install") # Returns immediately with process ID
|
||||
|
||||
# Disable auto-backgrounding
|
||||
|
||||
+2
-2
@@ -28,11 +28,11 @@ pip install hanzo-mcp[tools-all]
|
||||
|
||||
### Auto-Backgrounding
|
||||
|
||||
Commands automatically background after 45 seconds (configurable):
|
||||
Commands automatically background after 30 seconds (configurable):
|
||||
|
||||
```python
|
||||
# Long-running command auto-backgrounds
|
||||
cmd("npm run build") # If takes >45s, continues in background
|
||||
cmd("npm run build") # If takes >30s, continues in background
|
||||
|
||||
# Check status later
|
||||
ps() # List all background processes
|
||||
|
||||
Reference in New Issue
Block a user