- Delete unused or obsolete files when your changes make them irrelevant (refactors, feature removals, etc.), and revert files only when the change is yours or explicitly requested. If a git operation leaves you unsure about other agents' in-flight work, stop and coordinate instead of deleting.
- Before attempting to delete a file to resolve a local type/lint failure, stop and ask the user. Other agents are often editing adjacent files; deleting their work to silence an error is never acceptable without explicit approval.
- NEVER edit
.envor any environment variable filesβonly the user may change them. - Coordinate with other agents before removing their in-progress editsβdon't revert or delete work you didn't author unless everyone agrees.
- Moving/renaming and restoring files is allowed.
- ABSOLUTELY NEVER run destructive git operations (e.g.,
git reset --hard,rm,git checkout/git restoreto an older commit) unless the user gives an explicit, written instruction in this
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
| JavaScript 1 hr 16 mins βββββββββββββββββββββ 97.3% | |
| TypeScript 2 mins βββββββββββββββββββββ 2.6% | |
| JSON 0 secs βββββββββββββββββββββ 0.0% |
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 { useSyncExternalStore } from 'react' | |
| type CB<T> = (v: T) => void | |
| export type Atom<V> = { | |
| get: () => V | |
| set: (v: V | ((oldV: V) => V)) => V | |
| subscribe: (cb: CB<V>) => () => void | |
| } | |
| export function atom<AtomValue>(value: AtomValue): Atom<AtomValue> { | |
| const subscribers = new Set<(value: AtomValue) => void>() |
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=Broker Proxy | |
| #!desc=Broker rules converted for Surge. Policy group: Proxy. Source: Arthur-vx/broker-rules. | |
| [Rule] | |
| DOMAIN-SUFFIX,futuhk.com,Proxy | |
| DOMAIN-SUFFIX,futu.link,Proxy | |
| DOMAIN-SUFFIX,futunn.com,Proxy | |
| DOMAIN-SUFFIX,futuhn.com,Proxy | |
| DOMAIN-SUFFIX,futu.com,Proxy | |
| DOMAIN-SUFFIX,futu0.com,Proxy |
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: Broker | |
| # FORMAT: Surge RULE-SET | |
| # Use with: RULE-SET,<raw-url>,Proxy,no-resolve | |
| DOMAIN-SUFFIX,futuhk.com | |
| DOMAIN-SUFFIX,futu.link | |
| DOMAIN-SUFFIX,futunn.com | |
| DOMAIN-SUFFIX,futuhn.com | |
| DOMAIN-SUFFIX,futu.com | |
| DOMAIN-SUFFIX,futu0.com | |
| DOMAIN-SUFFIX,futu1.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
| #!name=Broker Proxy | |
| #!desc=Broker rules converted for Surge. Policy group: Proxy. Source: Arthur-vx/broker-rules. | |
| [Rule] | |
| DOMAIN-SUFFIX,futuhk.com,Proxy | |
| DOMAIN-SUFFIX,futu.link,Proxy | |
| DOMAIN-SUFFIX,futunn.com,Proxy | |
| DOMAIN-SUFFIX,futuhn.com,Proxy | |
| DOMAIN-SUFFIX,futu.com,Proxy | |
| DOMAIN-SUFFIX,futu0.com,Proxy |