feat(scripts): Add community scripts subsystem: script index, runner, and CLI commands with background refresh; update docs and paths
This commit is contained in:
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user