ai-agent-config 2.6.2 ā 2.6.3
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/package.json +1 -1
- package/scripts/installer.js +2 -2
package/package.json
CHANGED
package/scripts/installer.js
CHANGED
|
@@ -251,8 +251,8 @@ function installToPlatform(platform, options = {}) {
|
|
|
251
251
|
function install(options = {}) {
|
|
252
252
|
const { force = false, skill = null, sync = true } = options;
|
|
253
253
|
|
|
254
|
-
// Sync repo first if needed
|
|
255
|
-
if (sync && !isRepoCached()) {
|
|
254
|
+
// Sync repo first if needed (always sync when force=true to get latest)
|
|
255
|
+
if (sync && (!isRepoCached() || force)) {
|
|
256
256
|
console.log("\nš¦ Syncing skills from repository...");
|
|
257
257
|
if (!syncRepo()) {
|
|
258
258
|
throw new Error("Failed to sync repository. Check your internet connection.");
|