|
@@ -203,12 +203,16 @@ async function runBackgroundUpdateCheck(
|
|
|
|
|
|
|
|
if (installSuccess) {
|
|
if (installSuccess) {
|
|
|
let installedSkills: string[] = [];
|
|
let installedSkills: string[] = [];
|
|
|
|
|
+ let stagedSkills: string[] = [];
|
|
|
|
|
+ let customizedSkills: string[] = [];
|
|
|
let companionUpdated = false;
|
|
let companionUpdated = false;
|
|
|
let companionWillRetry = false;
|
|
let companionWillRetry = false;
|
|
|
const packageRoot = path.join(installDir, 'node_modules', PACKAGE_NAME);
|
|
const packageRoot = path.join(installDir, 'node_modules', PACKAGE_NAME);
|
|
|
try {
|
|
try {
|
|
|
const syncResult = syncBundledSkillsFromPackage(packageRoot);
|
|
const syncResult = syncBundledSkillsFromPackage(packageRoot);
|
|
|
installedSkills = syncResult.installed;
|
|
installedSkills = syncResult.installed;
|
|
|
|
|
+ stagedSkills = syncResult.staged ?? [];
|
|
|
|
|
+ customizedSkills = syncResult.customized ?? [];
|
|
|
if (syncResult.failed.length > 0) {
|
|
if (syncResult.failed.length > 0) {
|
|
|
log(
|
|
log(
|
|
|
`[auto-update-checker] Skill sync warnings/failures: ${syncResult.failed.join(', ')}`,
|
|
`[auto-update-checker] Skill sync warnings/failures: ${syncResult.failed.join(', ')}`,
|
|
@@ -257,6 +261,12 @@ async function runBackgroundUpdateCheck(
|
|
|
if (installedSkills.length > 0) {
|
|
if (installedSkills.length > 0) {
|
|
|
messageLines.push(`Added bundled skills: ${installedSkills.join(', ')}`);
|
|
messageLines.push(`Added bundled skills: ${installedSkills.join(', ')}`);
|
|
|
}
|
|
}
|
|
|
|
|
+ if (stagedSkills.length > 0) {
|
|
|
|
|
+ messageLines.push(`Staged skill updates: ${stagedSkills.join(', ')}`);
|
|
|
|
|
+ }
|
|
|
|
|
+ if (customizedSkills.length > 0) {
|
|
|
|
|
+ messageLines.push(`Customized skills: ${customizedSkills.join(', ')}`);
|
|
|
|
|
+ }
|
|
|
if (companionUpdated) {
|
|
if (companionUpdated) {
|
|
|
messageLines.push('Companion updated.');
|
|
messageLines.push('Companion updated.');
|
|
|
} else if (companionWillRetry) {
|
|
} else if (companionWillRetry) {
|