61a44d004f
feat(core,grpc): add regex support for node expectations and secure thread context sharing - Implement dynamic regex matching fallback (re.search) in node.test with safe handling of invalid patterns. - Refactor terminal window resizing (setwinsize) to trigger only on non-router devices and handle SIGWINCH re-renders. - Introduce contextvars context copying for background worker threads in gRPC execution and AI servicers. - Add unit tests for regex validation, malformed expression fallbacks, and variable formatting in node testing. - Optimize Playbook Builder AI guidelines for single-task test evaluations. - Unify codebase comments to English.
fluzzi322026-06-03 16:49:52 -03:00
2b8e637298
added AI support for yaml/run
fluzzi322026-06-01 17:49:19 -03:00
721a3642f3
bug fixes and moving to production
fluzzi322026-05-29 17:09:27 -03:00
5a8b744aa8📌 1. Uncommitted Changes (Staged for next commit) Focus: UI stability and efficient rendering. * Markdown Rendering Rewrite: Removed the dependency on rich.live.Live (which caused flickering and high CPU usage by constantly re-rendering the entire panel). * New BlockMarkdownRenderer: Implemented in printer.py (alias IncrementalMarkdownParser), it accumulates text in a buffer and only prints to the screen when it detects a complete block (e.g., line breaks or ` code blocks). * UI Optimizations (terminal_ui.py & stubs.py): Waiting spinners now stop cleanly, and the UI transitions smoothly to block printing. Fixed visual truncation issues in the bottom "Tab prompt" bar for excessively long commands.
fluzzi322026-05-18 14:07:24 -03:00
12543c683e
1. Persistence Setup: Optimized the dockerfile to manually create the /root/.config/conn/.folder file pointing to /config. This avoids running the conn command during the build process and ensures a cleaner setup. 2. Copilot UI Fix: Resolved a double-escaping bug in the terminal bottom bar. Device prompts (like 6WIND-PE1>) will now render correctly instead of showing HTML entities like >. 3. AI Model Update: Updated the default engineer model in connpy/ai.py to gemini/gemini-3.1-flash-lite, removing the deprecated -preview suffix. 4. Standardized Timeouts: Unified all default timeouts to 20 seconds across the board. This includes direct execution (run/test), modern playbooks (v2), and classic task-based playbooks (v1). 5. Documentation Update: Regenerated the full documentation site in the docs/ directory using pdoc to reflect the latest changes. 6. Cleanup: Removed all debug prints from connpy/core.py and restored the docker/logs/.gitignore file.
fluzzi322026-05-13 14:16:14 -03:00
37db74f47d
refactor(core): stabilize gRPC streaming, plugin invocation, and CLI UX - Implement threaded plugin execution with Queue-based streaming in PluginService - Refactor remote logger to preserve ANSI colors and fix TTY line endings (\r\n) - Intelligent terminal filtering: disable SSM screen-clearing filter after success - Sanitize SSH-only flags in core.py when using SFTP protocol - Rewrite completion tree with pre/post-node states and flag deduplication - Update gRPC unit tests to match new streaming response structure
fluzzi322026-05-05 18:24:31 -03:00