Tunglies
c6e59ad538
refactor(profile): separate subscription refresh and scheduling policy
...
Separate download and scheduling policy from the subscription use case while retaining the existing write path.
2026-12-03 17:20:32 +08:00
Tunglies
64490c44ab
refactor(profile): extract profile models and index rules
...
Move profile models and index rules into the crate, preserving serialization and returning a typed missing-profile error.
2026-12-03 17:20:32 +08:00
Tunglies
9614dee991
refactor(subscription): extract response decoding
...
Keep HTTP and persistence in the app. Decode response metadata and framing in the crate, and fall back when the server filename is invalid.
2026-12-03 17:20:32 +08:00
Tunglies
ad285eac95
refactor(logging): use typed logger errors
...
Expose crate-owned logger errors and preserve the underlying error sources.
2026-12-03 17:20:32 +08:00
Tunglies
72e7201abc
refactor(draft): type async publication conflicts
...
Return typed conflicts for async Draft edits. Release the lock and edit permit before converting the error, and exercise overlapping updates.
2026-12-03 17:20:32 +08:00
Tunglies
03ff4f846c
docs(agents): define Rust backend architecture boundaries
...
Document which layer owns Rust capabilities, fallible inputs, background work, and crate validation.
2026-12-03 17:20:21 +08:00
Tunglies
032eb9767e
chore(clippy): scope crate lint policy
...
Keep panic-on-error lints at application target roots and scope signal dependencies to Linux.
2026-12-03 17:20:21 +08:00
a76818326d
chore(deps): update tauri ( #8764 )
...
* chore(deps): update tauri
* fix(installer): align NSIS locale variables with Tauri 2.13
* chore(tray): migrate template icons to Tauri 2.13 APIs
* fix(core): resolve the bundled core for validation fingerprints
* fix(deps): resolve Tauri 2.13 with the patched WebDriver
* fix(tray): wake the main window from Linux tray clicks
Use StatusNotifierItem activation to wake the dashboard, including lightweight mode.
Closes #8517
* fix(tray): gate template icon handling to macOS at compile time
* fix(deps): select GTK3 for Linux dialogs
* fix(linux): return when the startup dialog cannot initialize GTK
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Tunglies <77394545+Tunglies@users.noreply.github.com >
2026-12-03 08:07:50 +00:00
Tunglies
16ef6fbc34
fix(i18n): resolve startup locales consistently
...
Prefer a supported saved language over the cache and browser locale.
Align frontend alias resolution with Rust and ignore unsupported saved
values when the layout mounts so they cannot overwrite the fallback.
In Rust, walk borrowed prefixes instead of rebuilding strings. This
preserves locale resolution and removes quadratic work on long tags.
Across all 14 shipped locale IDs (equally weighted),
median lookup time fell from 40.0 to 22.4 ns and heap allocations fell
from 4 to 2 per lookup. A synthetic 64 KiB tag fell from 771 ms to 240 µs.
2026-12-03 12:59:02 +08:00
dependabot[bot] and dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
9bdd2c0623
build(deps): bump cookie ( #8807 )
...
Bumps the cargo group with 1 update in the / directory: [cookie](https://github.com/rwf2/cookie-rs ).
Updates `cookie` from 0.18.1 to 0.18.3
- [Changelog](https://github.com/rwf2/cookie-rs/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rwf2/cookie-rs/compare/0.18.1...0.18.3 )
---
updated-dependencies:
- dependency-name: cookie
dependency-version: 0.18.3
dependency-type: indirect
dependency-group: cargo
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: ❤是纱雾酱哟~ <49941141+Dragon1573@users.noreply.github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-12-02 16:34:41 +00:00
39fd5e968b
chore(deps): update cargo dependencies ( #8811 )
...
* test(draft): cover conflict wakeup and busy layer
* chore(deps): update cargo dependencies
---------
Co-authored-by: Tunglies <77394545+Tunglies@users.noreply.github.com >
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-12-02 13:41:44 +00:00
Tunglies
c9223b204b
fix(limiter): handle stale clock samples and timestamp overflow
...
A caller could sample the clock at 1000 ms and pause while another
caller was admitted at 2000 ms. On resuming, the first caller could
load the newer last_run_ms, mistake its stale sample for a clock
rollback, and replace 2000 with 1000. This reopened the 100 ms period
and let another check at 2000 ms pass. Load last_run_ms before sampling
the clock so the stale caller's compare-exchange fails if a newer
admission has changed that value. Preserve sequential clock rollback
behavior and the existing atomic orderings.
The period check also added the period to last_run_ms. A last admission
at u64::MAX - 55 with a 56 ms period overflowed on the next check:
debug builds panicked and release builds wrapped the deadline to zero,
admitting a duplicate timestamp. Compare elapsed time against the
period only after confirming the clock has not moved backward, which
makes the subtraction safe and preserves the exact period boundary.
Enable the stale-sample and overflow regressions, keep the saved
Proptest seed, and add Loom coverage for advancing time and multiple
stale callers plus a deterministic test at u64::MAX.
2026-12-02 21:18:45 +08:00
9c3a433979
chore(deps): update agentic workflows to v1.4.5 ( #8809 )
...
- Bump actions in `copilot-setup-steps.yml`
- Bump other agentic workflow lockfiles
Signed-off-by: ❤是纱雾酱哟~ <49941141+Dragon1573@users.noreply.github.com >
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: ❤是纱雾酱哟~ <49941141+Dragon1573@users.noreply.github.com >
2026-12-02 12:42:22 +00:00
renovate[bot] and renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2943b58ef7
chore(deps): update dependency terser to v5.51.3 [security] ( #8810 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-12-02 10:33:16 +00:00
Tunglies
186ec116fa
refactor(frontend): outfox foxact, foxts, and eslint-plugin-sukka ( #8808 )
...
* chore(eslint): remove eslint-plugin-sukka
* refactor(frontend): remove foxts and inline local utilities
* refactor(frontend): remove foxact and replace with local hooks
* refactor(proxy): reuse local storage for group preferences
2026-12-02 01:34:55 +00:00
87de9bd5bf
chore(deps): update github/gh-aw-actions action to v1.4.4 ( #8804 )
...
* chore(deps): update github/gh-aw-actions action to v1.4.4
* chore(gh-aw): update agentic workflows to v1.4.4
- Updates workflow tooling and threat detection
- Refreshes generated workflows with the latest compiler, container digests, and GitHub MCP server
- Improves detection activation metadata restoration and prepares detection inputs before reporting or artifacts run
Signed-off-by: ❤是纱雾酱哟~ <49941141+Dragon1573@users.noreply.github.com >
---------
Signed-off-by: ❤是纱雾酱哟~ <49941141+Dragon1573@users.noreply.github.com >
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: ❤是纱雾酱哟~ <49941141+Dragon1573@users.noreply.github.com >
2026-12-01 18:12:16 +00:00
Tunglies
4168a87983
perf(runtime-bundle): read remote providers from borrowed configuration
2026-12-02 02:10:11 +08:00
Tunglies
573eac8ec9
refactor(config): centralize Mihomo YAML output
2026-12-02 02:10:11 +08:00
Tunglies
e0cced59eb
refactor(config): inject the profile script executor
2026-12-02 02:10:11 +08:00
Tunglies
ecf1dd2486
refactor(proxy): extract proxy view and its use case
...
Project the Mihomo snapshot into the existing IPC DTO and move use-case orchestration out of the command.
2026-12-02 02:10:11 +08:00
Tunglies
7d665bd5bb
refactor(config): extract configuration renderer
...
Render from inputs supplied by the app, reuse the script crate, and preserve the default template fast path.
2026-12-02 02:10:11 +08:00
Tunglies
5605cc26c5
refactor(profile): extract script validation and execution
...
Share the Boa validation and execution API while preserving the save-side timeout and diagnostics.
2026-12-02 02:10:11 +08:00
Tunglies
aa62db78a9
perf(runtime-bundle): share destination strings with tristr
...
Share destination storage within bundle planning and preserve the Service wire strings and provider readback.
2026-12-02 02:10:11 +08:00
Tunglies
6c78c16a96
refactor(runtime-bundle): extract runtime bundle planning
...
Plan provider destinations and assets in the crate. Adapt the plan to the Service wire format at the call site.
2026-12-02 02:10:11 +08:00
Tunglies
a987ea9f6d
refactor(subscription): keep profile writes outside proxy fallback
2026-12-02 02:10:09 +08:00
Tunglies
e290a7946d
refactor(backup): extract backup ZIP writing
2026-12-02 02:10:09 +08:00
Tunglies
59e315abeb
refactor(task): move retry primitives into the task crate
2026-12-02 02:10:09 +08:00
Tunglies
87b3cf6561
docs(agents): define dependencies between capability crates
2026-12-02 02:10:09 +08:00
Tunglies
0010659329
refactor(profile): extract selected node recovery rules
2026-12-02 02:10:09 +08:00
Tunglies
e30f1b0e47
refactor(subscription): decode deep links in the subscription crate
2026-12-02 02:10:09 +08:00
Tunglies
c3c65bb418
refactor(profile): separate subscription refresh and scheduling policy
...
Separate download and scheduling policy from the subscription use case while retaining the existing write path.
2026-12-02 02:10:09 +08:00
Tunglies
9de413db1e
refactor(profile): extract profile models and index rules
...
Move profile models and index rules into the crate, preserving serialization and returning a typed missing-profile error.
2026-12-02 02:10:09 +08:00
Tunglies
0605236489
refactor(subscription): extract response decoding
...
Keep HTTP and persistence in the app. Decode response metadata and framing in the crate, and fall back when the server filename is invalid.
2026-12-02 02:10:09 +08:00
Tunglies
b5b939ce03
refactor(logging): use typed logger errors
...
Expose crate-owned logger errors and preserve the underlying error sources.
2026-12-02 02:10:09 +08:00
Tunglies
6fdbea3748
refactor(draft): type async publication conflicts
...
Return typed conflicts for async Draft edits. Release the lock and edit permit before converting the error, and exercise overlapping updates.
2026-12-02 02:10:09 +08:00
Tunglies
12b2e340ca
docs(agents): define Rust backend architecture boundaries
...
Document which layer owns Rust capabilities, fallible inputs, background work, and crate validation.
2026-12-02 02:10:09 +08:00
Tunglies
4cc3a2fd0c
chore(clippy): scope crate lint policy
...
Keep panic-on-error lints at application target roots and scope signal dependencies to Linux.
2026-12-02 02:10:09 +08:00
❤是纱雾酱哟~ and renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
37ff669436
chore(deps): update dependency tldts to v7.6.4 ( #8805 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-12-01 17:56:26 +00:00
❤是纱雾酱哟~
b45f12a21e
chore(deps): upgrade 4 npm dependencies in a batch ( #8803 )
...
- Bump eslint from ^10.11.0 to ^10.16.0
- Bump eslint-plugin-import-x from ^4.17.1 to ^4.18.1
- Bump typescript-eslint from ^8.70.0 to ^8.74.0
- Bump vitest from ^5.0.1 to ^5.0.3
Assisted-by: Copilot Fusion (Standard), actually GPT-6.1 Terra
Signed-off-by: ❤是纱雾酱哟~ <49941141+Dragon1573@users.noreply.github.com >
2026-12-01 16:53:50 +00:00
Tunglies
4b602e1436
Merge branch 'crates-me-runtime' into crates-me
...
# Conflicts:
# src-tauri/src/config/profiles.rs
# src-tauri/src/feat/subscription.rs
2026-12-01 23:01:08 +08:00
Tunglies
171586d725
Merge branch 'crates-me-profile' into crates-me-runtime
2026-12-01 22:59:00 +08:00
Tunglies
fe523dc34d
perf(backup): verify file contents during restore staging
2026-12-01 22:58:36 +08:00
Tunglies
bc5ed53a1b
perf(runtime-bundle): read remote providers from borrowed configuration
2026-12-01 22:58:35 +08:00
Tunglies
be8dd3b060
refactor(subscription): keep profile writes outside proxy fallback
2026-12-01 22:58:35 +08:00
Tunglies
bc000a8e39
refactor(profile-store): reuse the journal install scratch file
2026-12-01 22:58:35 +08:00
Tunglies
724f10fd33
refactor(profile-store): simplify refresh cleanup and legacy writes
2026-12-01 22:20:33 +08:00
dependabot[bot] and dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
81e62504a6
build(deps): bump cross-spawn ( #8799 )
...
Bumps the npm_and_yarn group with 1 update in the / directory: [cross-spawn](https://github.com/moxystudio/node-cross-spawn ).
Updates `cross-spawn` from 7.0.6 to 7.1.2
- [Release notes](https://github.com/moxystudio/node-cross-spawn/releases )
- [Changelog](https://github.com/moxystudio/node-cross-spawn/blob/master/CHANGELOG.md )
- [Commits](https://github.com/moxystudio/node-cross-spawn/compare/v7.0.6...v7.1.2 )
---
updated-dependencies:
- dependency-name: cross-spawn
dependency-version: 7.1.2
dependency-type: indirect
dependency-group: npm_and_yarn
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-12-01 14:17:43 +00:00
Tunglies
5c05722f9a
refactor(config): centralize Mihomo YAML output
2026-12-01 22:10:13 +08:00
Tunglies
1450ad441c
fix(backup): validate restore inputs and allow recovery retries
2026-12-01 22:10:13 +08:00
Tunglies
dbf252ed65
fix(profile-store): recover aliased subscription body creation
2026-12-01 22:10:13 +08:00