edsger 0.19.6 → 0.19.7
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.
|
@@ -9,6 +9,7 @@ import { performVerificationCycle } from '../code-implementation-verification/in
|
|
|
9
9
|
import { prepareCustomBranchGitEnvironment, } from '../../utils/git-branch-manager.js';
|
|
10
10
|
import { getCurrentBranch, updateBranch, getBranches, getBaseBranchInfo, } from '../../services/branches.js';
|
|
11
11
|
import { createBranchPullRequest, } from './branch-pr-creator.js';
|
|
12
|
+
import { getGitHubConfig } from '../../api/github.js';
|
|
12
13
|
function userMessage(content) {
|
|
13
14
|
return {
|
|
14
15
|
type: 'user',
|
|
@@ -413,15 +414,16 @@ export const implementFeatureCode = async (options, config, checklistContext) =>
|
|
|
413
414
|
let pullRequestUrl = null;
|
|
414
415
|
let pullRequestNumber = null;
|
|
415
416
|
if (currentBranch && devBranchName.startsWith('dev/')) {
|
|
416
|
-
// Get GitHub configuration from
|
|
417
|
-
const
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
417
|
+
// Get GitHub configuration from developer settings via MCP
|
|
418
|
+
const githubConfig = await getGitHubConfig(featureId, verbose);
|
|
419
|
+
if (githubConfig.configured &&
|
|
420
|
+
githubConfig.token &&
|
|
421
|
+
githubConfig.owner &&
|
|
422
|
+
githubConfig.repo) {
|
|
421
423
|
const prConfig = {
|
|
422
|
-
githubToken,
|
|
423
|
-
owner,
|
|
424
|
-
repo,
|
|
424
|
+
githubToken: githubConfig.token,
|
|
425
|
+
owner: githubConfig.owner,
|
|
426
|
+
repo: githubConfig.repo,
|
|
425
427
|
verbose,
|
|
426
428
|
};
|
|
427
429
|
// Derive feat/ branch name from dev/ branch name for PR target
|
|
@@ -445,7 +447,7 @@ export const implementFeatureCode = async (options, config, checklistContext) =>
|
|
|
445
447
|
}
|
|
446
448
|
else if (verbose) {
|
|
447
449
|
logInfo('⚠️ GitHub configuration not available, skipping PR creation');
|
|
448
|
-
logInfo(
|
|
450
|
+
logInfo(` ${githubConfig.message || 'Please configure GitHub App in product developer settings.'}`);
|
|
449
451
|
}
|
|
450
452
|
}
|
|
451
453
|
// Update feature branch status to ready_for_review if we have one
|