Skip to content

Conversation

@veracioux
Copy link
Contributor

@veracioux veracioux commented Oct 25, 2025

Implements:

  • --continue option
  • --session option
  • --model option
  • --agent option
  • A toast component (needed for proper and informative error-handling). See screenshots from opentui: add toast & port flags (-c, -s) #3425
  • Validation of model and agent (side effect: fixes a crash when you TAB-cycle through agents and happen to pick one with a nonexistent model)
  • Error toast in case the session can't be shared

Closes #3372.

@rekram1-node With this PR, all the options except --prompt are implemented - decided to wait on that one because of the opentui-textarea branch.

Test matrix for the --model and --agent options:

  • bun dev
  • bun dev --agent existing
  • bun dev --agent nonexistent # warning toast
  • bun dev --agent existing-with-wrong-model # warning toast
  • bun dev --model existing
  • bun dev --model existing --agent existing
  • bun dev --model existing --agent nonexistent # warning toast
  • bun dev --model existing --agent existing-with-wrong-model # warning toast
  • bun dev --model nonexistent # warning toast
  • bun dev --model nonexistent --agent existing # warning toast
  • bun dev --model nonexistent --agent nonexistent # warning toast
  • bun dev --model nonexistent --agent existing-with-wrong-model # warning toast

@veracioux veracioux changed the base branch from dev to opentui October 25, 2025 19:01
@veracioux veracioux marked this pull request as ready for review October 25, 2025 19:02
@veracioux veracioux mentioned this pull request Oct 26, 2025
@rekram1-node rekram1-node merged commit 4f8c7b1 into sst:opentui Oct 28, 2025
2 of 3 checks passed
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.

opentui: /share not copying to clipboard

2 participants