Repository navigation
Patcher lane 5: patch commands, patch_edit agent tool, show-me - #182
Merged
Merged
Conversation
Typed `patch new|add|set|wire|unwire|macro|knob|rate|rm|convert|detach| load|save|show|nodes` on the focused track (--fx for effect patches). Every line is one revision of node, cable and macro ops through commitScore; nothing writes a whole patch. Node ids come from the line or newId(). Errors name the port and the nearest word. Receipts report rate changes and the compiler's dropped cables (post-global into voice nodes, feedback loops with no buffer node). - src/commands/patch.ts: parser, applier, applyPatchBatch, patchRecipe (patch show prints the lines that rebuild a patch; every built-in replays) - src/agent/patch-tools.ts: patch_edit (ops in order, one undo step), prompt section and few-shot recipes; show-me types and reads patch lines - src/main.ts: user library and github: loads via src/audio/patch-library.ts - Ctrl-K Sound > patch and Effects > add effect patch (src/tui/patch-menu.ts) - /help "sound · patch" group, DAWG.md paragraph, four-ways rows (SDK door pending patcher lane 4) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
0thernet
enabled auto-merge (squash)
October 10, 2026 20:49
|
The latest updates on your projects. Learn more about Vercel for GitHub. |
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This was referenced Oct 10, 2026
Merged
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.
Lane 5 of the patcher design (§6.1, §6.2, §7.4, networking amendments).
src/commands/patch.ts):patch new|add|set|wire|unwire|macro|knob|rate|rm|convert|detach|load|save|show|nodes, all with--fx <name>. Each line is one revision of node-, cable- and macro-level ops throughcommitScore; never a whole-patch write. Node ids come from the line ornewId(). Errors name the port and the nearest word, and nothing applies.; vcf now voice-rate) and the compiler's dropped cables (a post-global node into a voice node, a feedback loop through an engine or effect node with no buffer node).patch showprints the lines that rebuild the patch (cables and params in canonical order). A test replays every built-in.patch_edittool (ops run in order as one undo step; one bad op rejects the batch and is named). It also adds a prompt section with few-shot built-in recipes. Show-me types patch lines, andpatch show/patch nodesstream as reads.patch save --user, keeping knob settings) andgithub:loads throughsrc/audio/patch-library.ts(Patcher lane 6b: user patch library and github: pack patches #180).src/tui/patch-menu.ts). /help gets a "sound · patch" group and DAWG.md a paragraph. Four-ways rows exist for every verb. The SDK door is marked pending lane 4 with a TODO.src/commands/patch.test.ts,patch-recipe.test.ts,src/agent/patch-tool.test.ts, show-me stream test, andtest/pty-patch.test.ts(build, save --user, load).Gate:
bun run checkgreen locally (3965 pass).🤖 Generated with Claude Code