Skip to content

feat(tarko): update run command semantics#1158

Merged
ulivz merged 2 commits intomainfrom
feat/tarko-run-semantic-update
Aug 17, 2025
Merged

feat(tarko): update run command semantics#1158
ulivz merged 2 commits intomainfrom
feat/tarko-run-semantic-update

Conversation

@ulivz
Copy link
Member

@ulivz ulivz commented Aug 17, 2025

Summary

Update Tarko CLI command semantics to support tarko run [agent] for interactive UI and tarko run --headless for silent mode.

Changes

  • Changed default command from tarko [start] to tarko [run]
  • Added support for tarko run [agent] to load custom agents
  • Added --headless flag for silent mode execution
  • Updated CLI documentation and help text
  • Maintained backward compatibility with existing --agent flag

Breaking Changes

  • tarko start command removed (use tarko run instead)
  • tarko run without --headless now starts interactive UI (previously was headless mode)

Migration

  • tarko starttarko run or tarko
  • tarko run "query"tarko run --headless --input "query"
  • tarko --agent ./agent.jstarko run ./agent.js

Checklist

  • Added or updated necessary tests (Optional).
  • Updated documentation to align with changes (Optional).
  • Verified no breaking changes, or prepared solutions for any occurring breaking changes (Optional).
  • My change does not involve the above items.

@netlify
Copy link

netlify bot commented Aug 17, 2025

Deploy Preview for agent-tars-docs ready!

Name Link
🔨 Latest commit 720ae1d
🔍 Latest deploy log https://app.netlify.com/projects/agent-tars-docs/deploys/68a1e6a523eaed00088e6c12
😎 Deploy Preview https://deploy-preview-1158--agent-tars-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@ulivz ulivz force-pushed the feat/tarko-run-semantic-update branch from 942b113 to 0291e00 Compare August 17, 2025 14:09
- 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
@ulivz ulivz force-pushed the feat/tarko-run-semantic-update branch from 0291e00 to d40d988 Compare August 17, 2025 14:14
@ulivz ulivz merged commit 73a79a9 into main Aug 17, 2025
10 checks passed
@ulivz ulivz deleted the feat/tarko-run-semantic-update branch August 17, 2025 14:46
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)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Comments