ai-cc-router 0.4.0 → 0.4.1

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.
@@ -259,9 +259,9 @@ export async function startInterceptor(target) {
259
259
  " Then re-run this command.");
260
260
  }
261
261
  }
262
- // Ensure addon exists
263
- if (!existsSync(ADDON_PATH))
264
- writeAddonScript(target);
262
+ // Always (re)write the addon script so package updates and target-URL
263
+ // changes are picked up automatically without requiring a fresh setup.
264
+ writeAddonScript(target);
265
265
  const processName = getProcessName();
266
266
  const args = [
267
267
  "--mode", `local:${processName}`,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ai-cc-router",
3
- "version": "0.4.0",
3
+ "version": "0.4.1",
4
4
  "description": "Round-robin proxy for Claude Max OAuth tokens — use multiple Claude Max accounts with Claude Code",
5
5
  "type": "module",
6
6
  "bin": {