feat(FN-3009): migrate remote settings to global scope
This merge migrates Fusion's settings architecture to a unified global scope (FN-3009), consolidating settings types, defaults, merge semantics, updater logic, and routing into a centralized system that aligns dashboard remote settings with global configuration. Secondary changes include adding the Fusion-Task-Id: FN-3009
This commit is contained in:
@@ -10,7 +10,7 @@ This runbook is the canonical operator reference for Fusion Remote Access across
|
||||
|
||||
It documents only behavior implemented in the current codebase:
|
||||
|
||||
- Project-scoped `remoteAccess` settings in `.fusion/config.json`
|
||||
- Global-scoped `remoteAccess` settings in `~/.fusion/settings.json`
|
||||
- API endpoints under `/api/remote/*` and `/api/remote-access/auth/login-url`
|
||||
- Public login handoff route `GET /remote-login?rt=...`
|
||||
- Engine tunnel lifecycle and safe restore diagnostics
|
||||
@@ -21,8 +21,8 @@ It documents only behavior implemented in the current codebase:
|
||||
|
||||
## 1.1 General requirements
|
||||
|
||||
- Remote Access is **project-scoped** (`ProjectSettings.remoteAccess` in `packages/core/src/types.ts`).
|
||||
- Configure it in dashboard settings (Remote tab) or via `PUT /api/settings`.
|
||||
- Remote Access is **global-scoped** (`GlobalSettings.remoteAccess` in `packages/core/src/types.ts`).
|
||||
- Configure it in dashboard settings (Remote tab) or via `PUT /api/settings/global` or `PUT /api/remote/settings`.
|
||||
- A provider must be selected (`remoteAccess.activeProvider`) before tunnel start.
|
||||
- Start/stop is always manual through `/api/remote/tunnel/start` and `/api/remote/tunnel/stop`.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user