> ## Documentation Index
> Fetch the complete documentation index at: https://eondr.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Automation: discovery and auto-apply

> Document the real Manager automation entry, defaults, match scoring, and auto-apply boundaries.

Automation is not configured in `综合设置`. The current entry point is the Manager view's **自动化** tab, rendered by `AutoManagerPanel`.

> [!NOTE]
>
> When `autoDiscovery` is enabled, the plugin runs discovery on startup and also checks every 30 minutes whether `autoCheckInterval` has elapsed.

## Defaults

| Field | Default | Meaning |
| - | - | - |
| `autoDiscovery` | `false` | background discovery enabled or disabled |
| `autoMatchStrategy` | `comprehensive` | scoring strategy |
| `autoApply` | `false` | apply immediately after a match or stop at review |
| `autoCheckInterval` | `24` | interval in hours; `0` disables scheduled checks |
| `autoTrustedRepos` | `[]` | trusted repositories |
| `autoExcludeList` | `[]` | excluded plugin IDs |
| `autoScanMode` | `incremental` | scan mode |

## Turn it on

**1. Open the Manager**

Click the globe icon to open the Obsidian i18n Manager.

**2. Open Automation**

Switch to the **自动化** tab.

**3. Enable background discovery**

Turn on the background discovery toggle. This enables `autoDiscovery`.

**4. Set the interval**

Enter the check interval in hours. `0` disables scheduled checks.

**5. Choose scan scope**

`autoScanMode` supports `incremental` and `full`.

## Match scoring

When multiple cloud translations exist for the same target, `autoMatchStrategy` rescoring picks the highest score. The current implementation builds the base score from:

* **version compatibility**: up to 50 points
* **popularity**: up to 30 points
* **freshness**: up to 20 points

For plugins, raw version compatibility is:

* exact `supported_versions` match: 100
* same major version: 50
* anything else: 0

For themes, version compatibility is fixed at 50.

> [accordion] comprehensive (default)
>
> total = version + popularity + freshness

> [accordion] version\_first
>
> total = `1.5 × version + 0.5 × popularity + 0.5 × freshness`, capped at 100

> [accordion] popularity
>
> total = `0.5 × version + 1.5 × popularity + 0.5 × freshness`, capped at 100

> [accordion] latest\_update
>
> total = `0.5 × version + 0.5 × popularity + 1.5 × freshness`, capped at 100

## Auto-apply

By default the discovery flow keeps matches in a reviewable task list. When `autoApply` is enabled, successful matches continue into the download and apply path instead of stopping at review.

> [!WARNING]
>
> Automation only reads registries from repositories listed in `autoTrustedRepos`, and repository values must use `owner/repo` format.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.