s-ui/core/testdata/clean/migrated-cache.json
Alireza Ahmadi 2a0a240ecd core: register the protocols added in sing-box 1.14
Adds every new 1.14 type to the registries, following upstream's include
package: the build-tagged ones get the same stub pair s-ui already uses for
naive and tailscale, so a build without the tag reports which tag is missing
instead of failing to parse.

- inbound: snell, cloudflared
- outbound: snell, bridge
- endpoint: openconnect, openvpn (client and server)
- dns transport: mdns, resolved, openconnect, openvpn
- service: api, oom-killer, usbip (server and client)

with_cloudflared, with_openconnect, with_openvpn and with_usbip are added to
build.sh, the Dockerfile and both release workflows. Verified the linux
amd64/arm64 and windows amd64 cross-builds CI ships.

Registry tests now assert the full expected type set rather than just
certificate providers, and the box tests write their cache file to a temp
directory instead of leaving core/cache.db behind.
2026-08-31 14:06:23 +02:00

29 lines
433 B
JSON

{
"log": {
"level": "error"
},
"dns": {
"servers": [
{
"type": "udp",
"tag": "google",
"server": "8.8.8.8"
}
],
"rules": [],
"cache_capacity": 4096
},
"experimental": {
"cache_file": {
"enabled": true,
"store_dns": true,
"path": "__CACHEDIR__/cache.db"
}
},
"outbounds": [
{
"type": "direct",
"tag": "direct"
}
]
}