Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Migrate start actions from CLI to agent #3378

Merged
merged 4 commits into from
Nov 20, 2023

Conversation

danielbdias
Copy link
Contributor

@danielbdias danielbdias commented Nov 20, 2023

This PR starts to decouple the agent from the CLI. Here, we are removing the old cmd command for the agent (because this responsibility should be to the CLI), and the starter and config flags are being moved to the agent because it is related to the agent business logic.

Checklist

  • tested locally
  • added new dependencies
  • updated the docs
  • added a test

Copy link
Contributor

@jorgeepc jorgeepc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great job @danielbdias

@@ -0,0 +1,192 @@
package ui
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Question, why not reusing what we have in cli/ui?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good question! I'm not using cli/ui to avoid a dependency of cli -> agent. I'll unify them in the next PR, moving to a shared package.

@danielbdias danielbdias merged commit d0e3702 into main Nov 20, 2023
38 checks passed
@danielbdias danielbdias deleted the migrate/start-to-agent branch November 20, 2023 20:08
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.

3 participants