internal/

directory
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 18, 2026 License: AGPL-3.0

Directories

Path Synopsis
Package application holds Kumo's use cases.
Package application holds Kumo's use cases.
domain
core
Package core models the Mihomo runtime that Kumo controls: how traffic is routed, how the core is reached, the settings Kumo owns in the generated configuration, and the lifecycle of one core session.
Package core models the Mihomo runtime that Kumo controls: how traffic is routed, how the core is reached, the settings Kumo owns in the generated configuration, and the lifecycle of one core session.
inspect
Package inspect models what a running core reports about its work: connections, rules, logs, traffic and providers.
Package inspect models what a running core reports about its work: connections, rules, logs, traffic and providers.
override
Package override models the ordered patches Kumo applies on top of the current profile before handing the configuration to Mihomo.
Package override models the ordered patches Kumo applies on top of the current profile before handing the configuration to Mihomo.
preferences
Package preferences models the app-level choices of the user, apart from how the core runs.
Package preferences models the app-level choices of the user, apart from how the core runs.
profile
Package profile models the Mihomo configurations the user imports: local files, remote subscriptions and Sub-Store outputs, with the metadata Kumo keeps about each.
Package profile models the Mihomo configurations the user imports: local files, remote subscriptions and Sub-Store outputs, with the metadata Kumo keeps about each.
proxy
Package proxy models the proxy groups and nodes of a configuration, as the running core reports them or as a profile declares them.
Package proxy models the proxy groups and nodes of a configuration, as the running core reports them or as a profile declares them.
runtimeconfig
Package runtimeconfig builds the configuration Mihomo runs with: the current profile, the user's overrides in order, and the settings Kumo controls, which always win.
Package runtimeconfig builds the configuration Mihomo runs with: the current profile, the user's overrides in order, and the settings Kumo controls, which always win.
systemproxy
Package systemproxy models the operating system's proxy settings as Kumo sees them: what Kumo wants applied, what it applied, what the system shows now, and whether Kumo still owns it when another app may have changed it.
Package systemproxy models the operating system's proxy settings as Kumo sees them: what Kumo wants applied, what it applied, what the system shows now, and whether Kumo still owns it when another app may have changed it.
topology
Package topology turns a configuration into the graph of how traffic flows through it: the outbound mode, the rules that pick a policy, the proxy groups that pick a node, and the proxies and providers at the end.
Package topology turns a configuration into the graph of how traffic flows through it: the outbound mode, the rules that pick a policy, the proxy groups that pick a node, and the proxies and providers at the end.
infrastructure
clilink
Package clilink puts the kumo command on the user's PATH by linking it to the binary inside the app.
Package clilink puts the kumo command on the user's PATH by linking it to the binary inside the app.
fetch
Package fetch downloads remote profiles and overrides.
Package fetch downloads remote profiles and overrides.
jsoverride
Package jsoverride runs JavaScript overrides: scripts that define main(config) and return the changed configuration, as Clash Verge's "scripts" do.
Package jsoverride runs JavaScript overrides: scripts that define main(config) and return the changed configuration, as Clash Verge's "scripts" do.
mihomo
Package mihomo talks to the Mihomo core: it launches the process and calls its external controller.
Package mihomo talks to the Mihomo core: it launches the process and calls its external controller.
pac
Package pac serves a proxy auto-config script on loopback.
Package pac serves a proxy auto-config script on loopback.
paths
Package paths names every file Kumo keeps.
Package paths names every file Kumo keeps.
ports
Package ports finds out whether the ports Kumo needs are free, and who holds them when they are not.
Package ports finds out whether the ports Kumo needs are free, and who holds them when they are not.
process
Package process inspects and ends processes by pid, the way Kumo finds a core it launched in an earlier run or from another surface.
Package process inspects and ends processes by pid, the way Kumo finds a core it launched in an earlier run or from another surface.
skills
Package skills installs Kumo's bundled Agent Skills into the skill directories of coding agents, so they know how to drive the kumo CLI.
Package skills installs Kumo's bundled Agent Skills into the skill directories of coding agents, so they know how to drive the kumo CLI.
storage
Package storage reads and writes Kumo's JSON documents atomically, under a lock shared by the app, the CLI and the service.
Package storage reads and writes Kumo's JSON documents atomically, under a lock shared by the app, the CLI and the service.
sysproxy
Package sysproxy implements systemproxy.Platform for each operating system, and an in-memory one that tests and simulations drive.
Package sysproxy implements systemproxy.Platform for each operating system, and an in-memory one that tests and simulations drive.
interfaces
cli
Package cli is the kumo command: the same use cases as the app, for people at a terminal and for coding agents.
Package cli is the kumo command: the same use cases as the app, for people at a terminal and for coding agents.
desktop
Package desktop exposes Kumo's use cases to the app's pages: each bound service is a thin adapter over the application layer, and Go events carry what changes on its own (status, traffic, logs, contention).
Package desktop exposes Kumo's use cases to the app's pages: each bound service is a thin adapter over the application layer, and Go events carry what changes on its own (status, traffic, logs, contention).

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL