From e413937960b99da937884b84e52ceb3aa49d60dc Mon Sep 17 00:00:00 2001 From: Brett Cleary <27568879+BrettCleary@users.noreply.github.com> Date: Fri, 20 Mar 2026 12:29:36 -0700 Subject: [PATCH] clear pending delegation on new chat --- package.json | 2 +- src/index.ts | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 5697b25..00fc0a4 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@coinfello/agent-cli", - "version": "0.3.0", + "version": "0.3.1", "description": "CLI for managing a web3 smart account and executing blockchain transactions via CoinFello", "repository": "CoinFello/agent-cli", "homepage": "https://coinfello.com", diff --git a/src/index.ts b/src/index.ts index fa4a5dd..b6aae82 100644 --- a/src/index.ts +++ b/src/index.ts @@ -170,6 +170,7 @@ program const config = await loadConfig() delete config.chat_id await saveConfig(config) + await clearPendingDelegation() console.log('Saved chat ID cleared successfully.') console.log(`Config saved to: ${CONFIG_PATH}`)