Skip to content

feat: aura and frame-rate options, and apply terminal options from opencode… - #32

Open
JensLincke wants to merge 2 commits into
malhashemi:mainfrom
JensLincke:main
Open

JensLincke wants to merge 2 commits into
malhashemi:mainfrom
JensLincke:main

Conversation

@JensLincke

Copy link
Copy Markdown

What and why

I need a more lightweight TUI (for my custom terminal) so I added fps to reduce the 30fps to e.g. 5 and do disable the aura completely. I introduced two options... "visual": "none" and "fps": 5. To make this work, the options had to be read.

This was my first change on any opencode plugin, so I don't know if I missed some standard patterns.

AI Usage: I used opencode with Opus 5.5.

How I tested it

I tested it with a voice change and played around with the options.

Checklist

  • The title follows Conventional Commits (feat:, fix:, docs:...)
  • bun run check
    It does not pass. But they failed before
12 tests failed:
✗ delegated task outcomes > a lost event stream reports open tasks once and ends the call after it is spoken [0.38ms]
✗ delegated task outcomes > closing the call before the lost-stream hang-up cancels it [0.17ms]
✗ voice model during Home startup > uses one copied selection for creation and persistence across navigation [1.54ms]
✗ voice model during Home startup > does not start or persist another session's model after leaving the created session [0.26ms]
✗ voice model during Home startup > starts with the default model when no selection is available [0.19ms]
✗ voice startup cancellation > stop invalidates an attempt waiting for model [0.31ms]
✗ voice startup cancellation > stop invalidates an attempt waiting for binary [0.32ms]
✗ voice startup cancellation > stop invalidates an attempt waiting for offer [0.19ms]
✗ voice startup cancellation > stop invalidates an attempt waiting for call [0.18ms]
✗ voice startup cancellation > stop invalidates an attempt waiting for answer [0.17ms]
✗ Home preparation cancellation > voice-new during session creation starts a fresh attempt [0.40ms]
✗ Home preparation cancellation > stop while waiting for focus prevents model persistence and helper startup [0.30ms]

 74 pass
 12 fail
 2607 expect() calls
Ran 86 tests across 13 files. [271.00ms]
error: script "check" exited with code 1
  • [] For native/ changes: cargo fmt, cargo clippy -- -D warnings and cargo test pass
    no changes there
  • Docs updated if behavior or options changed

This branch has not been deployed

No deployments
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