feat(scripts): Add community scripts subsystem: script index, runner, and CLI commands with background refresh; update docs and paths

This commit is contained in:
2025-10-27 17:29:52 +00:00
parent a289bcc413
commit fc22e1dd88
9 changed files with 819 additions and 17 deletions
+15
View File
@@ -19,3 +19,18 @@ export const logDir = plugins.path.join(dataDir, 'logs');
* Temporary working directory
*/
export const tmpDir = plugins.path.join(dataDir, 'tmp');
/**
* Scripts cache directory
*/
export const scriptsCacheDir = plugins.path.join(dataDir, 'scripts');
/**
* Scripts index cache file
*/
export const scriptsIndexFile = plugins.path.join(scriptsCacheDir, 'index.json');
/**
* Last index time tracker file
*/
export const scriptsLastIndexFile = plugins.path.join(scriptsCacheDir, 'last-index-time');