File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -8,6 +8,11 @@ All notable changes to the Specify CLI and templates are documented here.
88
99### Fixed
1010
11+ - ** team-ai-directives duplicate installation** : Removed duplicate ` sync_team_ai_directives() ` call
12+ - The function was being called twice: once in main init flow and once in ` pre_init() ` hook
13+ - This caused "already installed" error on clean installs
14+ - Now only called via ` pre_init() ` hook in cli_customization
15+
1116- ** team-ai-directives init-options** : Removed duplicate save of ZIP URL in ` init-options.json `
1217 - The ` team_ai_directives ` field was being saved twice: first as the original ZIP URL, then as the local path
1318 - Now only saves the local filesystem path after extension installation
Original file line number Diff line number Diff line change @@ -1883,22 +1883,6 @@ def init(
18831883 f"[yellow]Warning:[/yellow] Failed to install preset: { preset_err } "
18841884 )
18851885
1886- # Sync team-ai-directives repository if specified
1887- if team_ai_directives :
1888- tracker .start ("team-directives" )
1889- try :
1890- status , directives_path = sync_team_ai_directives (
1891- team_ai_directives , project_path , skip_tls = skip_tls
1892- )
1893- tracker .complete ("team-directives" , f"{ status } : { directives_path } " )
1894- except Exception as team_err :
1895- tracker .error ("team-directives" , str (team_err ))
1896- console .print (
1897- f"[yellow]Warning:[/yellow] Failed to sync team-ai-directives: { team_err } "
1898- )
1899- else :
1900- tracker .skip ("team-directives" , "not specified" )
1901-
19021886 # Install bundled extensions (from cli_customization if available)
19031887 try :
19041888 tracker .start ("extensions" )
You can’t perform that action at this time.
0 commit comments