@vypdev/copilot 3.8.0 → 3.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/build/cli/index.js
CHANGED
|
@@ -58883,7 +58883,7 @@ async function runIssueWorkflow(context, taskId, ports) {
|
|
|
58883
58883
|
}
|
|
58884
58884
|
const agentAllowed = !context.membersOnly || Boolean(ports.actorAuthorizationPort
|
|
58885
58885
|
&& await ports.actorAuthorizationPort.isActorAllowedToUseMemberOnlyAutomation(context.actor));
|
|
58886
|
-
const recommendation = context.started && !sddWaiting && (!context.
|
|
58886
|
+
const recommendation = context.started && !sddWaiting && (!context.branchRequired || branchReady) && agentAllowed
|
|
58887
58887
|
? context.recommendation : undefined;
|
|
58888
58888
|
if (recommendation) {
|
|
58889
58889
|
const recommendationOutcome = recommendation === 'answer-help'
|
|
@@ -94843,7 +94843,7 @@ function createIssueUseCaseCompositionRoot(binding) {
|
|
|
94843
94843
|
const organizationMembers = (0, organization_members_composition_root_1.createOrganizationMembersCompositionRoot)();
|
|
94844
94844
|
const branchLifecycle = new branch_lifecycle_repository_1.BranchLifecycleRepository((0, github_branch_client_factory_1.createBranchClient)());
|
|
94845
94845
|
const branchName = new branch_name_repository_1.BranchNameRepository();
|
|
94846
|
-
const gitCli = new git_cli_repository_1.GitCliRepository();
|
|
94846
|
+
const gitCli = new git_cli_repository_1.GitCliRepository(binding.token);
|
|
94847
94847
|
const linkedBranch = new linked_branch_repository_1.LinkedBranchRepository((0, github_project_client_factory_1.createGraphqlTransportClient)());
|
|
94848
94848
|
const branchPropagationDelay = new timer_branch_propagation_delay_adapter_1.TimerBranchPropagationDelayAdapter();
|
|
94849
94849
|
const projectBoard = (0, project_board_composition_root_1.createProjectBoardCompositionRoot)();
|
|
@@ -56715,7 +56715,7 @@ async function runIssueWorkflow(context, taskId, ports) {
|
|
|
56715
56715
|
}
|
|
56716
56716
|
const agentAllowed = !context.membersOnly || Boolean(ports.actorAuthorizationPort
|
|
56717
56717
|
&& await ports.actorAuthorizationPort.isActorAllowedToUseMemberOnlyAutomation(context.actor));
|
|
56718
|
-
const recommendation = context.started && !sddWaiting && (!context.
|
|
56718
|
+
const recommendation = context.started && !sddWaiting && (!context.branchRequired || branchReady) && agentAllowed
|
|
56719
56719
|
? context.recommendation : undefined;
|
|
56720
56720
|
if (recommendation) {
|
|
56721
56721
|
const recommendationOutcome = recommendation === 'answer-help'
|
|
@@ -85343,7 +85343,7 @@ function createIssueUseCaseCompositionRoot(binding) {
|
|
|
85343
85343
|
const organizationMembers = (0, organization_members_composition_root_1.createOrganizationMembersCompositionRoot)();
|
|
85344
85344
|
const branchLifecycle = new branch_lifecycle_repository_1.BranchLifecycleRepository((0, github_branch_client_factory_1.createBranchClient)());
|
|
85345
85345
|
const branchName = new branch_name_repository_1.BranchNameRepository();
|
|
85346
|
-
const gitCli = new git_cli_repository_1.GitCliRepository();
|
|
85346
|
+
const gitCli = new git_cli_repository_1.GitCliRepository(binding.token);
|
|
85347
85347
|
const linkedBranch = new linked_branch_repository_1.LinkedBranchRepository((0, github_project_client_factory_1.createGraphqlTransportClient)());
|
|
85348
85348
|
const branchPropagationDelay = new timer_branch_propagation_delay_adapter_1.TimerBranchPropagationDelayAdapter();
|
|
85349
85349
|
const projectBoard = (0, project_board_composition_root_1.createProjectBoardCompositionRoot)();
|