Skip to content

Conversation

@linw1995
Copy link
Owner

@linw1995 linw1995 commented Jan 6, 2026

  • Introduce coco tell command for sending prompts without waiting for replies
  • Simplify coco ask to always expect a reply, removing the --reply flag
  • Add default schema handling: when no schemas provided, defaults to message field and prints only the message string
  • Refactor ask.rs into prompt.rs with unified prompt resolution logic
  • Update TUI client to support both ask and tell commands
  • Update existing combos and tests to use new command semantics
  • Maintain backward compatibility for existing schemas usage

- Introduce `coco tell` command for sending prompts without waiting for replies
- Simplify `coco ask` to always expect a reply, removing the `--reply` flag
- Add default schema handling: when no schemas provided, defaults to `message` field and prints only the message string
- Refactor `ask.rs` into `prompt.rs` with unified prompt resolution logic
- Update TUI client to support both `ask` and `tell` commands
- Update existing combos and tests to use new command semantics
- Maintain backward compatibility for existing schemas usage
@linw1995 linw1995 added the enhancement New feature or request label Jan 6, 2026
@codecov-commenter
Copy link

Codecov Report

❌ Patch coverage is 82.51748% with 25 lines in your changes missing coverage. Please review.
✅ Project coverage is 59.25%. Comparing base (fad69e0) to head (003199b).
⚠️ Report is 8 commits behind head on dev.

Files with missing lines Patch % Lines
src/cmd/prompt.rs 81.88% 23 Missing ⚠️
src/main.rs 0.00% 2 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff            @@
##              dev      #77    +/-   ##
========================================
  Coverage   59.25%   59.25%            
========================================
  Files          77       77            
  Lines       15488    15865   +377     
========================================
+ Hits         9177     9401   +224     
- Misses       6311     6464   +153     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@linw1995 linw1995 merged commit 2488fc9 into dev Jan 6, 2026
3 checks passed
@linw1995 linw1995 deleted the feature/coco-tell-command branch January 6, 2026 16:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants