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
| import { spawn } from "node:child_process"; | |
| import { approveAll } from "@github/copilot-sdk"; | |
| import { joinSession } from "@github/copilot-sdk/extension"; | |
| // Pipes bash onPreToolUse events through rtk hook copilot, which rewrites | |
| // commands to their rtk-equivalent for token savings (e.g. git status → rtk git status). | |
| // Safe no-op if rtk is not installed or returns no rewrite. | |
| // | |
| // Input shape: app.js calls extensions via FCs() which produces { toolName, toolArgs } | |
| // per individual tool call. toolArgs may be a JSON string (OpenAI wire format) or |
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
| # NAME: ChinaDNS | |
| # AUTHOR: | |
| # REPO: | |
| # UPDATED: | |
| # DOMAIN-SUFFIX: 5 | |
| # IP-CIDR: 16 | |
| # IP-CIDR6: 4 | |
| # TOTAL: 25 | |
| payload: | |
| - DOMAIN-SUFFIX,dns.alidns.com |
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
| 1 |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.