How we reduced a 34-tool MCP server to 3 visible tools at startup, empirically discovered that Windsurf doesn't re-fetch
tools/listbetween turns, and built a workaround that makes the whole thing work anyway.
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
| {"label":"coverage","message":"86.14%","schemaVersion":1,"color":"hsl(108, 100%, 40%)"} |
A comprehensive uninstall/cleanup script for Beads (bd) that removes all traces of the tool from a system — repositories, home directory, binaries, git hooks, config files, and more.
git clone https://gist.github.com/f083720a5a6e15af2ea1bb36040a4003.git beads-uninstall
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
| # Beads Configuration File | |
| # This file configures default behavior for all bd commands in this repository | |
| # All settings can also be set via environment variables (BD_* prefix) | |
| # or overridden with command-line flags | |
| # Issue prefix for this repository (used by bd init) | |
| # If not set, bd init will auto-detect from directory name | |
| # Example: issue-prefix: "myproject" creates issues like "myproject-1", "myproject-2", etc. | |
| # issue-prefix: "" |
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
| #!/bin/bash | |
| # Show unresolved PR review comments (e.g., from CodeRabbit) | |
| # Usage: pr-open-comments [PR_NUMBER] | |
| set -e | |
| PR_NUMBER="${1:-}" | |
| get_repo_info() { | |
| local remote_url |
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
| { | |
| "$schema": "http://json-schema.org/draft-07/schema#", | |
| "title": "Git Town Configuration", | |
| "description": "JSON schema for git-town.toml configuration files", | |
| "type": "object", | |
| "properties": { | |
| "branches": { | |
| "type": "object", | |
| "description": "Branch-related settings", | |
| "properties": { |
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
| // Assignment 2, Problem 2 | |
| + (NSString *)descriptionOfProgram:(id)program | |
| { | |
| NSMutableArray *stack; | |
| if ([program isMemberOfClass:[NSArray class]]) | |
| { | |
| stack = [program mutableCopy]; | |
| } | |
| return [self descriptionOfTopOfStack:stack]; |
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
| NSMutableArray *stack; | |
| if ([program isMemberOfClass:[NSArray class]]) | |
| { | |
| stack = [program mutableCopy]; | |
| } |
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
| + (double)popOperandOffProgramStack:(NSMutableArray *)stack | |
| { | |
| double result = 0; | |
| id topOfStack = [stack lastObject]; | |
| if (topOfStack) [stack removeLastObject]; | |
| if ([topOfStack isKindOfClass:[NSNumber class]]) | |
| { | |
| result = [topOfStack doubleValue]; |
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
| + (double)runProgram:(id)program | |
| { | |
| NSMutableArray *stack; | |
| if ([program isKindOfClass:[NSArray class]]) { | |
| stack = [program mutableCopy]; | |
| } | |
| return [self popOperandOffProgramStack:stack]; | |
| } |
NewerOlder