sing-box/experimental/clashapi
世界 7e96370229
Fix group status updates broken by API service
The URL test history update hook and the Clash mode update hook were
single-slot: the API service's attached service overwrote the hook set
by the daemon, so clients stopped receiving group updates. Replace both
with multicast hook lists.

Also share a single URL test history storage via context: Clash API
looked it up under a key nobody registered and fell back to its own
empty storage, so dashboards showed no delay once an API service was
configured. Selector changes now notify through the shared storage,
covering selections made from any API surface.
2026-06-25 17:38:54 +08:00
..
api_meta.go Add sing-box API service 2026-06-25 17:38:53 +08:00
api_meta_group.go Add certificate store 2025-07-08 13:12:14 +08:00
api_meta_upgrade.go clash-api: Add more meta api 2025-07-08 13:12:34 +08:00
cache.go Add /dns/flush-clash meta api 2026-01-17 05:44:26 +08:00
common.go Add basic clash api 2022-07-19 22:45:55 +08:00
configs.go clashapi: Add mode list 2024-11-27 10:34:47 +08:00
connections.go Add sing-box API service 2026-06-25 17:38:53 +08:00
ctxkeys.go Add basic clash api 2022-07-19 22:45:55 +08:00
dns.go refactor: DNS 2025-07-08 13:12:14 +08:00
errors.go Add basic clash api 2022-07-19 22:45:55 +08:00
profile.go Add basic clash api 2022-07-19 22:45:55 +08:00
provider.go Fix integration with clash-dashboard 2022-07-22 09:41:12 +08:00
proxies.go Add certificate store 2025-07-08 13:12:14 +08:00
ruleprovider.go Add basic clash api 2022-07-19 22:45:55 +08:00
rules.go Crazy sekai overturns the small pond 2025-01-13 15:14:29 +08:00
script.go Add basic clash api 2022-07-19 22:45:55 +08:00
server.go Fix group status updates broken by API service 2026-06-25 17:38:54 +08:00
server_fs.go Fix http.FileServer short write 2025-02-23 08:35:30 +08:00
server_resources.go Add certificate store 2025-07-08 13:12:14 +08:00