The High-Performance Architecture Update
TukiCode v1.3.3 is a major architectural milestone introducing zero-cost Rust bindings for critical operations, parallel execution, and a completely redefined background job management system.
Rust Native Engine
- tuki_native Integration: Replaced heavy Python OS operations with a custom Rust extension. File system walking, searching, and PTY I/O are now executed with zero-cost bindings, significantly reducing TTFT (Time To First Token) on large repositories.
Execution & Optimization
- Parallel Tool Execution: The agent can now invoke and process multiple tools simultaneously in a single turn, drastically reducing latency in complex workflows.
- Prompt Caching (Anthropic): Added native support for Anthropic context caching, slashing token costs for repeated queries and instantly speeding up follow-up interactions.
- True OS-Agnostic Engine: The prompt generator dynamically detects the underlying OS (Windows, macOS, Linux) to tailor shell commands and paths natively.
Stability & UX
- Timeout Recovery (Async Handoff): Long-running synchronous commands (like
wingetor heavy npm installs) that time out no longer cause the agent to fail. They gracefully transition into background jobs, returning the PID to the agent for continuous monitoring while the UI remains unblocked. - Anti-Loop Exemptions: Refactored the Anti-Loop mechanism to whitelist passive polling tools (e.g.,
get_process_output). The agent can now safely monitor background installations indefinitely without triggering false-positive loop penalties. - Autonomy Overhaul: Completely removed the deprecated
risk_levelparameter, transitioning the entire codebase to use the simpler and safer globalautonomy_level.