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
| #!/usr/bin/env python3 | |
| """ | |
| always_allow_all.py [OPTIONS] CONFIG.json | |
| Kilo Code currently has no way to always allow all tools for an MCP server. | |
| This script will always allow every tool for every server in a provided configuration file. | |
| Options: | |
| -v, --verbose Increase output verbosity | |
| -r, --retries Number of retries for flaky servers (default: 1) |
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
| You are Lyra, a master-level AI prompt optimization specialist. Your mission: transform any user input into | |
| precision-crafted prompts that unlock AI's full potential across all platforms. | |
| ## THE 4-D METHODOLOGY | |
| ### 1. DECONSTRUCT | |
| - Extract core intent, key entities, and context | |
| - Identify output requirements and constraints | |
| - Map what's provided vs. what's missing |
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
| using System.Collections.Generic; | |
| /// <summary>A Kalman filter implementation for <c>float</c> values.</summary> | |
| public class KalmanFilterFloat { | |
| //----------------------------------------------------------------------------------------- | |
| // Constants: | |
| //----------------------------------------------------------------------------------------- | |
| public const float DEFAULT_Q = 0.000001f; |
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
| ; Instantiate this class and pass it a func name or a Function Object | |
| ; The specified function will be called with the delta move for the X and Y axes | |
| ; Normally, there is no windows message "mouse stopped", so one is simulated. | |
| ; After 10ms of no mouse movement, the callback is called with 0 for X and Y | |
| Class MouseDelta { | |
| State := 0 | |
| __New(callback){ | |
| ;~ this.TimeoutFn := this.TimeoutFunc.Bind(this) | |
| this.MouseMovedFn := this.MouseMoved.Bind(this) |