feat: make project scaffold project-wide

This commit is contained in:
2026-09-05 12:34:36 +08:00
parent d642d7607c
commit 6710527e8f
9 changed files with 252 additions and 12 deletions

View File

@@ -106,6 +106,15 @@ export const GAME_RESOURCE_BUNDLED_RELEASE_ID = '00000000-0000-4000-8000-0000000
export const PROJECT_SCAFFOLD_PLUGIN_ID = 'makelore.project-scaffold' as const;
export const PROJECT_SCAFFOLD_BUNDLED_RELEASE_ID = '00000000-0000-4000-8000-000000000303' as const;
/**
* Project-wide Plugins materialize all of their Skills for every parent Agent
* once the Plugin is enabled for that project. They never require a separate
* Agent Skill assignment.
*/
export function isProjectWideCodingPluginId(pluginId: string): boolean {
return pluginId === PROJECT_SCAFFOLD_PLUGIN_ID;
}
export const CODE_OWNED_OPTIONAL_BUNDLED_RELEASES = Object.freeze({
[GAME_RESOURCE_PLUGIN_ID]: Object.freeze({
releaseId: GAME_RESOURCE_BUNDLED_RELEASE_ID,