davsclaus opened a new pull request, #23364: URL: https://github.com/apache/camel/pull/23364
## Summary - Add `--record` CLI option to `camel tui monitor` that activates TamboUI's headless `RecordingBackend` for artifact-free terminal recordings using `.tape` interaction scripts - Add hello world demo tape with screenshots and animated gif - Add `record.sh` wrapper script for easy demo recording - Register `.tape` and `.cast` file extensions with license-maven-plugin ## How it works The `--record` option takes a `.tape` file (VHS format) containing scripted interactions (key presses, sleeps, screenshots). TamboUI's `RecordingBackend` runs headlessly, captures full buffer frames, and outputs an Asciinema `.cast` file plus PNG screenshots. ```bash # Record a demo camel run --background --example=timer-log camel tui monitor --record=camel-tui-hello.tape camel stop "*" # Or use the wrapper script ./record.sh camel-tui-hello --example=timer-log ``` ## Test plan - [ ] Build with `mvn install -DskipTests -pl dsl/camel-jbang/camel-jbang-plugin-tui` - [ ] Run `camel tui monitor --help` and verify `--record` option is listed - [ ] Record a demo with `./record.sh camel-tui-hello --example=timer-log` - [ ] Verify `.cast` file and screenshots are produced - [ ] Run `mvn com.mycila:license-maven-plugin:check -pl dsl/camel-jbang/camel-jbang-plugin-tui` passes _Claude Code on behalf of Claus Ibsen_ 🤖 Generated with [Claude Code](https://claude.com/claude-code) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
