add console, simulate, and agent dev commands + vendor webrtc & portaudio (#810) #809
Merged
Conversation
b977661 to
734ede1
Compare
rektdeckard
approved these changes
May 8, 2026
* add console, simulate, agent dev commands with TUI and protobuf IPC * improve agent detection error messages and consistency - Add friendly error when no agent project is detected (start/dev/console) - Print detected language and directory to stderr for start/dev/console - Deduplicate console detection logic to use shared detectProject() - Add nil guard in BytesToSamples for empty data * improve error messages, entrypoint detection, and IPC safety - Detect project root from entrypoint directory when --entrypoint is set - Better entrypoint-not-found error showing checked paths - Print detected language and directory to stderr for start/dev/console - Render CLI errors in red at the call site - Add maxMessageSize check to IPC WriteProto * add console build docs and PortAudio submodule check * add blank line after user/agent messages in console TUI * remove duplicate -lc++ linker flags, cgo handles C++ linking automatically * fix console TUI rendering, add startup spinner and handoff support * remove local replace directives, use published server-sdk-go Switch to the server-sdk-go branch that exports CreateSourceTarball, MultipartUpload, and AgentSimulationClient. Fix spinnerFrames reference across build tags. * update server-sdk-go to include complete AgentSimulationClient * update server-sdk-go to merged main with SimulationAdmin grant * Fix agent watcher exitCh race on restart * Remove default num-simulations, let server decide * Show 'Generating scenarios' without count when num-simulations not specified * Improve agent simulate TUI setup and log display * Read NumSimulations from server response * Use larger circle icon (⏺) in TUI * Integrate save scenario overlay, show labels in job list, fix selected row highlight * Softer yellow, use ⏺ for pending icons * Pad selected row to max label width for consistent highlight * Remove q to quit, only ctrl+c exits * CI mode, TUI improvements, log filtering, and entrypoint fix CLI architecture: - Non-interactive CI mode auto-detected (no TTY or CI env var) - Shared lifecycle functions in simulate.go (no bubbletea dependency) - simulate_ci.go: sequential runner with ::group:: output for GHA TUI improvements: - Detail view: unified scrollable content (instructions, transcript, logs) - Log filtering by room name prefix (latest retry only) - Compact chat transcript rendering - Removed filter tabs, simplified matrix rain - Mouse capture removed (text selection works) - Summary unavailable message, summarizing spinner Agent subprocess: - Debug logging enabled, room-indexed log storage - Per-room log filtering by prefix with latest-room tracking Bug fix: - Send CodeEntrypoint in ConfirmSourceUpload so the generator analyzes the correct file instead of the entire workspace * Use positional arg for entrypoint instead of --entrypoint flag * Address PR review: remove redundant flags, fix console text mode - Remove --url, --api-key, --api-secret flags from agent run commands (already available as global flags) - Fix console text mode: suppress UserInputTranscribed events in text mode to prevent duplicate/out-of-order user messages - Clear partial transcript when switching to text mode mid-call * Put start/dev/console/simulate behind console build tag, revert CI changes - All agent subprocess commands (start, dev, console, simulate) require -tags console to build. Without the tag, they don't appear in lk agent. - Revert .github/workflows/release.yaml and banner to main - Remove .goreleaser.yaml (not on main) - Move noAgentError to agent.go (non-tagged) - Add init() registration for simulate command * Add CI job for no-console, no-CGO build verification * Remove build-binaries.yaml workflow * Remove Homebrew formula * Restore .goreleaser.yml * Rename .goreleaser.yml to .goreleaser.yaml * Remove console build section from README
54c1ae4 to
1e7fa57
Compare
fc70d6a to
fb010a0
Compare
4a1a2f0 to
e8c9e0a
Compare
e8c9e0a to
42e9a48
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.