feat(tarko): update run command semantics#1158
Merged
Conversation
✅ Deploy Preview for agent-tars-docs ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
942b113 to
0291e00
Compare
- Change default command from 'start' to 'run' - Support 'tarko run [agent]' for interactive UI - Add --headless flag for silent mode - Update CLI documentation - Maintain backward compatibility
0291e00 to
d40d988
Compare
4 tasks
Legato666
pushed a commit
to Legato666/ui-tars-desktop
that referenced
this pull request
Aug 18, 2025
…1169) Fix CLI parameter handling issue where `tarko --agent ./` command failed due to incorrect parameter order processing in the run command action handler after PR bytedance#1158. Solution: - Simplified parameter handling based on CAC's actual argument passing pattern - Added user-friendly warnings for conflicting agent parameters - Maintained backward compatibility for all syntax variations Supported syntax: - `tarko --agent ./` (legacy syntax) - `tarko run ./` (new syntax) - `tarko ./` (simplified syntax)
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.
Summary
Update Tarko CLI command semantics to support
tarko run [agent]for interactive UI andtarko run --headlessfor silent mode.Changes
tarko [start]totarko [run]tarko run [agent]to load custom agents--headlessflag for silent mode execution--agentflagBreaking Changes
tarko startcommand removed (usetarko runinstead)tarko runwithout--headlessnow starts interactive UI (previously was headless mode)Migration
tarko start→tarko runortarkotarko run "query"→tarko run --headless --input "query"tarko --agent ./agent.js→tarko run ./agent.jsChecklist