diff --git a/config.json b/config.json index 602c392..2d2b562 100644 --- a/config.json +++ b/config.json @@ -92,6 +92,6 @@ } ], "dev_mode": true, - "user_agent": "factory-cli/0.27.1", + "user_agent": "factory-cli/0.40.2", "system_prompt": "You are Droid, an AI software engineering agent built by Factory.\n\n" } \ No newline at end of file diff --git a/user-agent-updater.js b/user-agent-updater.js index 2957770..5ea3116 100644 --- a/user-agent-updater.js +++ b/user-agent-updater.js @@ -13,9 +13,9 @@ let isUpdating = false; function getDefaultVersion() { const cfg = getConfig(); - const userAgent = cfg.user_agent || 'factory-cli/0.19.3'; + const userAgent = cfg.user_agent || 'factory-cli/0.40.2'; const match = userAgent.match(/\/(\d+\.\d+\.\d+)/); - return match ? match[1] : '0.19.3'; + return match ? match[1] : '0.40.2'; } function initializeVersion() {