@fractary/faber-cli 1.5.16 → 1.5.18
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.
|
@@ -403,7 +403,7 @@ async function planSingleIssue(issue, config, repoClient, anthropicClient, optio
|
|
|
403
403
|
}
|
|
404
404
|
}
|
|
405
405
|
// Generate detailed comment for GitHub issue
|
|
406
|
-
const planSummary = generatePlanComment(plan, issue.workflow, worktreePath, planId);
|
|
406
|
+
const planSummary = generatePlanComment(plan, issue.workflow, worktreePath, planId, issue.number);
|
|
407
407
|
// Update GitHub issue with plan_id
|
|
408
408
|
if (outputFormat === 'text') {
|
|
409
409
|
console.log(chalk.gray(` → Updating GitHub issue...`));
|
|
@@ -446,7 +446,7 @@ async function planSingleIssue(issue, config, repoClient, anthropicClient, optio
|
|
|
446
446
|
/**
|
|
447
447
|
* Generate a detailed plan comment for GitHub issue
|
|
448
448
|
*/
|
|
449
|
-
function generatePlanComment(plan, workflow, worktreePath, planId) {
|
|
449
|
+
function generatePlanComment(plan, workflow, worktreePath, planId, issueNumber) {
|
|
450
450
|
let comment = `🤖 **Workflow Plan Created**\n\n`;
|
|
451
451
|
comment += `**Plan ID:** \`${planId}\`\n`;
|
|
452
452
|
comment += `**Workflow:** \`${workflow}\`\n`;
|
|
@@ -486,14 +486,17 @@ function generatePlanComment(plan, workflow, worktreePath, planId) {
|
|
|
486
486
|
}
|
|
487
487
|
comment += `---\n\n`;
|
|
488
488
|
comment += `### Plan Location\n\n`;
|
|
489
|
-
|
|
489
|
+
const planPath = `${worktreePath}/.fractary/plans/${planId}.json`;
|
|
490
|
+
comment += `| File | Path |\n`;
|
|
491
|
+
comment += `|------|------|\n`;
|
|
492
|
+
comment += `| Plan | \`${planPath}\` |\n\n`;
|
|
490
493
|
comment += `### Next Steps\n\n`;
|
|
491
494
|
comment += `Execute the workflow plan:\n\n`;
|
|
492
495
|
comment += `\`\`\`bash\n`;
|
|
493
496
|
comment += `cd ${worktreePath}\n`;
|
|
494
497
|
comment += `claude\n`;
|
|
495
498
|
comment += `# Then in Claude Code:\n`;
|
|
496
|
-
comment += `/fractary-faber:workflow-run ${
|
|
499
|
+
comment += `/fractary-faber:workflow-run ${issueNumber}\n`;
|
|
497
500
|
comment += `\`\`\`\n`;
|
|
498
501
|
return comment;
|
|
499
502
|
}
|
package/dist/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"anthropic-client.d.ts","sourceRoot":"","sources":["../../src/lib/anthropic-client.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AASH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;AAK5D,UAAU,iBAAiB;IACzB,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,EAAE,MAAM,CAAC;IACnB,gBAAgB,EAAE,MAAM,CAAC;IACzB,WAAW,EAAE,MAAM,CAAC;CACrB;AAED,
|
|
1
|
+
{"version":3,"file":"anthropic-client.d.ts","sourceRoot":"","sources":["../../src/lib/anthropic-client.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AASH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;AAK5D,UAAU,iBAAiB;IACzB,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,EAAE,MAAM,CAAC;IACnB,gBAAgB,EAAE,MAAM,CAAC;IACzB,WAAW,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,WAAW,YAAY;IAC3B,OAAO,EAAE,MAAM,CAAC;IAChB,UAAU,EAAE,MAAM,CAAC;IACnB,WAAW,EAAE,MAAM,CAAC;IACpB,UAAU,EAAE,MAAM,CAAC;IACnB,KAAK,EAAE;QACL,MAAM,EAAE,MAAM,CAAC;QACf,EAAE,EAAE,MAAM,CAAC;QACX,GAAG,EAAE,MAAM,CAAC;KACb,CAAC;IACF,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,CA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