Hot-reload capability public toggles via settings/document-updated (0.1.52).

Subscribe to live settings events so opening/closing publish-to-other-presets remounts host tools and skills immediately without restarting Desktop.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
oliver 2026-10-10 16:36:42 +08:00
parent 6c9f323368
commit e2e65b0324
7 changed files with 49 additions and 21 deletions

View file

@ -194,7 +194,8 @@ export function healNetxopsProfileEntries(logger: Context['logger']): number {
writeFileSync(patchPath, normalized, 'utf8')
rewritten += 1
logger.info(
'netxops: healed sparse host entry in profiles/%s/cordis.patch.yml (restart %s to load capability defaults)',
'netxops: healed sparse host entry in profiles/%s/cordis.patch.yml '
+ '(public toggles hot-reload via settings; restart %s only if tools still missing after heal)',
profileName,
profileName === 'desktop' ? 'Desktop' : 'dsh web',
)