🌮 Nacho Flow v1.4.0: Automated Profile Tuner, Agent Presets & 3-Lane Stream Normalizer #63
dixieflatline76
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
🌮 Nacho Flow v1.4.0: Automated Profile Auto-Tuner, Pre-Tuned Presets, 3-Lane Stream Normalizer & Config Schema Versioning
v1.4.0 is the first major General Availability release since v1.1.0. It brings together the architectural work from the v1.2 and v1.3 development cycles into a single stable release: an automated profile tuner that replays your session logs to optimize routing rules, pre-tuned presets for Zoo Code and Cline, 3-lane SSE stream normalization that stops control tokens from corrupting file edits, and config schema versioning.
🚀 What's New in v1.4.0
🎛️ 1. Traffic-Based Profile Auto-Tuner (
nacho-flow tune,pkg/tuner)Tokens < 20000, run an agent, and quickly hit real-world failure modes:nacho-flow tunereads your real session history (traffic.jsonl) and replays it through an in-memory simulation engine (replaying 1,000,000 statements in 25ms with zero heap allocations) to calculate exactly what candidate rules would have cost and how many retries they would have prevented before touching your configuration.--vram-gb=16or via the dashboard dropdown) so the tuner never suggests local context limits that exceed your card's physical memory capacity.client_id): Automatically detects whether traffic originated from Zoo Code, Cline, Cursor, or Aider via/api/v1/telemetry/clients. You can filter logs by agent in the dashboard and tune rules specifically for Zoo Code without Cline's sessions polluting the thresholds.when: "false"if an escalation tier uses a model with lower coding benchmarks than the tier before it, and halts escalation when an agent hits an unresolvable plateau.🎯 2. Pre-Tuned Presets for Zoo Code & Cline (
profile1.yaml,profile2.yaml,profile3.yaml)z-ai/glm-5.3-flashfor Tier 2 ($0.65/M), Gemini 3.8 Flash for Tier 3, a 16,384 thinking-token ceiling with adjusted repetition detection (8-word n-gram, 12 repeats max so tables don't get cut off), andSessionKickstarted && Retries < 3to power past initial read-only exploration loops.qwen/qwen3-coder-plusfor Tier 2 ($0.65/M), Gemini 3.8 Flash for Tier 3, a 4,096 thinking-token limit (6 repeats), and a tight kickstart threshold (Retries < 1 && SessionKickstarted) tailored for Cline's XML tool calling syntax.🌮), spawning the daemon with clean--configprocess isolation.🌊 3. 3-Lane SSE Stream Normalizer & Delimiter Leak Defense (
pkg/server,pkg/zeroalloc)<|channel|>thought,<think>,<|"|>}) split across fragmented SSE streaming chunks. In long agent sessions, these delimiter fragments leaked into tool argument payloads, corrupting editor file writes or causing V8 JSON parser crashes (position 515errors) that froze the client extension.<think>), and Tool Arguments.StripSubslicesInPlace,ReplaceSubslicesInPlace) that strip trailing control delimiters at line boundaries with zero heap allocations (📋 4. Config Schema Versioning & Default Template Diffs (
pkg/config, Extension)config.yamlwas missing new fields or using deprecated options, and restoring defaults meant manually copying YAML from the repository.nacho-flow.compareProfileWithTemplate) to see exactly what changed, and a safe reset command (nacho-flow.resetProfileToDefault) that makes a timestamped.bakbackup before restoring defaults.🧪 Verification Matrix
cover-sync)vet)go vet ./...)test-race)go test -race ./...)gosec)gosec -exclude=G706)main📦 Installation & Quickstart
VS Code Companion Extension (Recommended)
Install directly from the VS Code Marketplace or via CLI:
🌮).http://127.0.0.1:8000/v1.Universal Shell Installer (Linux & macOS)
curl -fsSL https://raw.githubusercontent.com/dixieflatline76/nacho-flow/main/scripts/install.sh | bashWindows (Winget)
Homebrew (macOS)
Standalone Go Daemon (Build from Source)
This discussion was created from the release 🌮 Nacho Flow v1.4.0: Automated Profile Tuner, Agent Presets & 3-Lane Stream Normalizer.
All reactions