@@ -20,6 +20,7 @@ const size_threshold_1 = require("../data/model/size_threshold");
2020const size_thresholds_1 = require ( "../data/model/size_thresholds" ) ;
2121const supabase_config_1 = require ( "../data/model/supabase_config" ) ;
2222const tokens_1 = require ( "../data/model/tokens" ) ;
23+ const welcome_1 = require ( "../data/model/welcome" ) ;
2324const workflows_1 = require ( "../data/model/workflows" ) ;
2425const project_repository_1 = require ( "../data/repository/project_repository" ) ;
2526const constants_1 = require ( "../utils/constants" ) ;
@@ -33,6 +34,11 @@ async function runLocalAction(additionalParams) {
3334 * Debug
3435 */
3536 const debug = ( additionalParams [ constants_1 . INPUT_KEYS . DEBUG ] ?? actionInputs [ constants_1 . INPUT_KEYS . DEBUG ] ) == 'true' ;
37+ /**
38+ * Welcome
39+ */
40+ const welcomeTitle = additionalParams [ constants_1 . INPUT_KEYS . WELCOME_TITLE ] ?? actionInputs [ constants_1 . INPUT_KEYS . WELCOME_TITLE ] ;
41+ const welcomeMessages = additionalParams [ constants_1 . INPUT_KEYS . WELCOME_MESSAGES ] ?? actionInputs [ constants_1 . INPUT_KEYS . WELCOME_MESSAGES ] ;
3642 /**
3743 * Docker
3844 */
@@ -55,6 +61,7 @@ async function runLocalAction(additionalParams) {
5561 const openrouterModel = additionalParams [ constants_1 . INPUT_KEYS . OPENROUTER_MODEL ] ?? actionInputs [ constants_1 . INPUT_KEYS . OPENROUTER_MODEL ] ;
5662 const aiPullRequestDescription = ( additionalParams [ constants_1 . INPUT_KEYS . AI_PULL_REQUEST_DESCRIPTION ] ?? actionInputs [ constants_1 . INPUT_KEYS . AI_PULL_REQUEST_DESCRIPTION ] ) === 'true' ;
5763 const aiMembersOnly = ( additionalParams [ constants_1 . INPUT_KEYS . AI_MEMBERS_ONLY ] ?? actionInputs [ constants_1 . INPUT_KEYS . AI_MEMBERS_ONLY ] ) === 'true' ;
64+ const aiIncludeReasoning = ( additionalParams [ constants_1 . INPUT_KEYS . AI_INCLUDE_REASONING ] ?? actionInputs [ constants_1 . INPUT_KEYS . AI_INCLUDE_REASONING ] ) === 'true' ;
5865 const aiIgnoreFilesInput = additionalParams [ constants_1 . INPUT_KEYS . AI_IGNORE_FILES ] ?? actionInputs [ constants_1 . INPUT_KEYS . AI_IGNORE_FILES ] ;
5966 const aiIgnoreFiles = aiIgnoreFilesInput
6067 . split ( ',' )
@@ -391,7 +398,7 @@ async function runLocalAction(additionalParams) {
391398 */
392399 const supabaseUrl = additionalParams [ constants_1 . INPUT_KEYS . SUPABASE_URL ] ?? actionInputs [ constants_1 . INPUT_KEYS . SUPABASE_URL ] ;
393400 const supabaseKey = additionalParams [ constants_1 . INPUT_KEYS . SUPABASE_KEY ] ?? actionInputs [ constants_1 . INPUT_KEYS . SUPABASE_KEY ] ;
394- const execution = new execution_1 . Execution ( debug , new docker_config_1 . DockerConfig ( dockerContainerName , dockerDomain , dockerPort ) , new single_action_1 . SingleAction ( singleAction , singleActionIssue ) , commitPrefixBuilder , new issue_1 . Issue ( branchManagementAlways , reopenIssueOnPush , issueDesiredAssigneesCount , additionalParams ) , new pull_request_1 . PullRequest ( pullRequestDesiredAssigneesCount , pullRequestDesiredReviewersCount , pullRequestMergeTimeout , additionalParams ) , new emoji_1 . Emoji ( titleEmoji , branchManagementEmoji ) , new images_1 . Images ( imagesOnIssue , imagesOnPullRequest , imagesOnCommit , imagesIssueAutomatic , imagesIssueFeature , imagesIssueBugfix , imagesIssueDocs , imagesIssueChore , imagesIssueRelease , imagesIssueHotfix , imagesPullRequestAutomatic , imagesPullRequestFeature , imagesPullRequestBugfix , imagesPullRequestRelease , imagesPullRequestHotfix , imagesPullRequestDocs , imagesPullRequestChore , imagesCommitAutomatic , imagesCommitFeature , imagesCommitBugfix , imagesCommitRelease , imagesCommitHotfix , imagesCommitDocs , imagesCommitChore ) , new tokens_1 . Tokens ( token ) , new ai_1 . Ai ( openrouterApiKey , openrouterModel , aiPullRequestDescription , aiMembersOnly , aiIgnoreFiles , Object . keys ( providerRouting ) . length > 0 ? providerRouting : undefined ) , new labels_1 . Labels ( branchManagementLauncherLabel , bugLabel , bugfixLabel , hotfixLabel , enhancementLabel , featureLabel , releaseLabel , questionLabel , helpLabel , deployLabel , deployedLabel , docsLabel , documentationLabel , choreLabel , maintenanceLabel , priorityHighLabel , priorityMediumLabel , priorityLowLabel , priorityNoneLabel , sizeXxlLabel , sizeXlLabel , sizeLLabel , sizeMLabel , sizeSLabel , sizeXsLabel ) , new issue_types_1 . IssueTypes ( issueTypeTask , issueTypeBug , issueTypeFeature , issueTypeDocumentation , issueTypeMaintenance , issueTypeHotfix , issueTypeRelease , issueTypeQuestion , issueTypeHelp ) , new locale_1 . Locale ( issueLocale , pullRequestLocale ) , new size_thresholds_1 . SizeThresholds ( new size_threshold_1 . SizeThreshold ( sizeXxlThresholdLines , sizeXxlThresholdFiles , sizeXxlThresholdCommits ) , new size_threshold_1 . SizeThreshold ( sizeXlThresholdLines , sizeXlThresholdFiles , sizeXlThresholdCommits ) , new size_threshold_1 . SizeThreshold ( sizeLThresholdLines , sizeLThresholdFiles , sizeLThresholdCommits ) , new size_threshold_1 . SizeThreshold ( sizeMThresholdLines , sizeMThresholdFiles , sizeMThresholdCommits ) , new size_threshold_1 . SizeThreshold ( sizeSThresholdLines , sizeSThresholdFiles , sizeSThresholdCommits ) , new size_threshold_1 . SizeThreshold ( sizeXsThresholdLines , sizeXsThresholdFiles , sizeXsThresholdCommits ) ) , new branches_1 . Branches ( mainBranch , developmentBranch , featureTree , bugfixTree , hotfixTree , releaseTree , docsTree , choreTree ) , new release_1 . Release ( ) , new hotfix_1 . Hotfix ( ) , new workflows_1 . Workflows ( releaseWorkflow , hotfixWorkflow ) , new projects_1 . Projects ( projects , projectColumnIssueCreated , projectColumnPullRequestCreated , projectColumnIssueInProgress , projectColumnPullRequestInProgress ) , new supabase_config_1 . SupabaseConfig ( supabaseUrl , supabaseKey ) , additionalParams ) ;
401+ const execution = new execution_1 . Execution ( debug , new docker_config_1 . DockerConfig ( dockerContainerName , dockerDomain , dockerPort ) , new single_action_1 . SingleAction ( singleAction , singleActionIssue ) , commitPrefixBuilder , new issue_1 . Issue ( branchManagementAlways , reopenIssueOnPush , issueDesiredAssigneesCount , additionalParams ) , new pull_request_1 . PullRequest ( pullRequestDesiredAssigneesCount , pullRequestDesiredReviewersCount , pullRequestMergeTimeout , additionalParams ) , new emoji_1 . Emoji ( titleEmoji , branchManagementEmoji ) , new images_1 . Images ( imagesOnIssue , imagesOnPullRequest , imagesOnCommit , imagesIssueAutomatic , imagesIssueFeature , imagesIssueBugfix , imagesIssueDocs , imagesIssueChore , imagesIssueRelease , imagesIssueHotfix , imagesPullRequestAutomatic , imagesPullRequestFeature , imagesPullRequestBugfix , imagesPullRequestRelease , imagesPullRequestHotfix , imagesPullRequestDocs , imagesPullRequestChore , imagesCommitAutomatic , imagesCommitFeature , imagesCommitBugfix , imagesCommitRelease , imagesCommitHotfix , imagesCommitDocs , imagesCommitChore ) , new tokens_1 . Tokens ( token ) , new ai_1 . Ai ( openrouterApiKey , openrouterModel , aiPullRequestDescription , aiMembersOnly , aiIgnoreFiles , aiIncludeReasoning , Object . keys ( providerRouting ) . length > 0 ? providerRouting : undefined ) , new labels_1 . Labels ( branchManagementLauncherLabel , bugLabel , bugfixLabel , hotfixLabel , enhancementLabel , featureLabel , releaseLabel , questionLabel , helpLabel , deployLabel , deployedLabel , docsLabel , documentationLabel , choreLabel , maintenanceLabel , priorityHighLabel , priorityMediumLabel , priorityLowLabel , priorityNoneLabel , sizeXxlLabel , sizeXlLabel , sizeLLabel , sizeMLabel , sizeSLabel , sizeXsLabel ) , new issue_types_1 . IssueTypes ( issueTypeTask , issueTypeBug , issueTypeFeature , issueTypeDocumentation , issueTypeMaintenance , issueTypeHotfix , issueTypeRelease , issueTypeQuestion , issueTypeHelp ) , new locale_1 . Locale ( issueLocale , pullRequestLocale ) , new size_thresholds_1 . SizeThresholds ( new size_threshold_1 . SizeThreshold ( sizeXxlThresholdLines , sizeXxlThresholdFiles , sizeXxlThresholdCommits ) , new size_threshold_1 . SizeThreshold ( sizeXlThresholdLines , sizeXlThresholdFiles , sizeXlThresholdCommits ) , new size_threshold_1 . SizeThreshold ( sizeLThresholdLines , sizeLThresholdFiles , sizeLThresholdCommits ) , new size_threshold_1 . SizeThreshold ( sizeMThresholdLines , sizeMThresholdFiles , sizeMThresholdCommits ) , new size_threshold_1 . SizeThreshold ( sizeSThresholdLines , sizeSThresholdFiles , sizeSThresholdCommits ) , new size_threshold_1 . SizeThreshold ( sizeXsThresholdLines , sizeXsThresholdFiles , sizeXsThresholdCommits ) ) , new branches_1 . Branches ( mainBranch , developmentBranch , featureTree , bugfixTree , hotfixTree , releaseTree , docsTree , choreTree ) , new release_1 . Release ( ) , new hotfix_1 . Hotfix ( ) , new workflows_1 . Workflows ( releaseWorkflow , hotfixWorkflow ) , new projects_1 . Projects ( projects , projectColumnIssueCreated , projectColumnPullRequestCreated , projectColumnIssueInProgress , projectColumnPullRequestInProgress ) , new supabase_config_1 . SupabaseConfig ( supabaseUrl , supabaseKey ) , new welcome_1 . Welcome ( welcomeTitle , welcomeMessages ) , additionalParams ) ;
395402 const results = await ( 0 , common_action_1 . mainRun ) ( execution ) ;
396403 ( 0 , logger_1 . logInfo ) ( `Results: ${ JSON . stringify ( results , null , 2 ) } ` ) ;
397404}
0 commit comments