Repository navigation
Add media, wait_for and capture_audio tools to the MCP automation - #40
Merged
Merged
Conversation
- status reports the CD and the cassette; new tools: cd (mount/boot, eject), disk_images, set_write_protect, load_memory_image, and tape boot - wait_for runs until text appears or the screen settles; capture_audio reports loudness per source and can save a WAV - AutomationHost gains mountCD/ejectCD/setWriteProtect, media names and runFrames(_:beforeEach:afterEach:), all with default implementations - The typed C ABI host takes two optional callbacks (b88_mcp_app_session_set_frame_after / _set_write_protect) so the Windows app can hand over a frame's audio and keep its drive UI in step Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
4 tasks done
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
statusが CD とテープの状態を返すようにした(CD が入っていても AI が気づけなかったため)cd(挿入・起動・取り出し)、disk_images、set_write_protect、load_memory_image、tapeのbootwait_for(画面に文字が出るまで、または画面が止まるまで実行)とcapture_audio(音源別の音量の報告と WAV の保存)AutomationHostに既定の実装付きで CD・書き込み保護・runFrames(_:beforeEach:afterEach:)を追加b88_mcp_app_session_set_frame_after/b88_mcp_app_session_set_write_protectを追加(加算のみ、既存関数は変更なし)アプリ側の対応は bubio/Bubilator88 の別 PR(このリリースへのピン更新を含む)。
Test plan
swift test(1128 件)scripts/regression_compare.py(20 件 PASS)bubilator88-mcpで CD 起動と取り出し後の BASIC 起動、テープ自動起動、.n80、wait_for、capture_audioを実ファイルで確認🤖 Generated with Claude Code