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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ai-agent-config",
3
- "version": "2.6.2",
3
+ "version": "2.6.3",
4
4
  "description": "Universal skill & workflow manager for AI coding assistants with bi-directional GitHub sync",
5
5
  "main": "index.js",
6
6
  "bin": {
@@ -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.");