@dccxx/auggiegw 1.0.16 → 1.0.18

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/README.md CHANGED
@@ -219,6 +219,7 @@ Refreshing authentication...
219
219
  - The account list is sorted by purchase date in descending order (newest first)
220
220
  - The command will fail if there are no newer accounts available
221
221
  - After switching, the authentication session is automatically refreshed
222
+ - **The old session is preserved** - chat history and session data are not deleted when switching accounts
222
223
  - Custom prompts are not re-fetched during the switch (use `auggiegw fetch` if needed)
223
224
 
224
225
  ---
package/dist/cli.js CHANGED
@@ -441,9 +441,9 @@ async function handleSwitchAccount() {
441
441
  // Activate the next account
442
442
  const activateResponse = await activateAccount(nextAccount.id, token, config.apiUrl);
443
443
  spinner.succeed(`Successfully switched to account: ${activateResponse.data.activatedAccount.email}`);
444
- // Execute account fetch logic again (auth only)
444
+ // Execute account fetch logic again (auth only, preserve session)
445
445
  console.log('Refreshing authentication...');
446
- await handleFetch({ authOnly: true });
446
+ await handleFetch({ authOnly: true, deleteSession: false });
447
447
  }
448
448
  catch (error) {
449
449
  spinner.fail(`Account switch failed: ${error}`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dccxx/auggiegw",
3
- "version": "1.0.16",
3
+ "version": "1.0.18",
4
4
  "description": "A Node.js TypeScript package",
5
5
  "main": "./dist/cli.js",
6
6
  "types": "./dist/cli.d.ts",