@votadev/tooncode 2.2.8 → 2.2.9

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/tooncode.py +5 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@votadev/tooncode",
3
- "version": "2.2.8",
3
+ "version": "2.2.9",
4
4
  "description": "🇹🇭 Thai Coding Agent CLI — Claude Code alternative powered by free models. 20 tools, multi-agent team, browser automation, MCP servers.",
5
5
  "author": "VotaLab",
6
6
  "license": "MIT",
package/tooncode.py CHANGED
@@ -8,7 +8,7 @@ Usage:
8
8
  python tooncode.py
9
9
  """
10
10
 
11
- VERSION = "2.2.8"
11
+ VERSION = "2.2.9"
12
12
 
13
13
  import httpx
14
14
  import json
@@ -4981,6 +4981,10 @@ def main(_initial_prompt=None):
4981
4981
  def _(event):
4982
4982
  raise EOFError()
4983
4983
 
4984
+ @kb.add("escape", "escape")
4985
+ def _(event):
4986
+ event.current_buffer.reset()
4987
+
4984
4988
  def _bottom_toolbar():
4985
4989
  """Claude Code-style bottom toolbar."""
4986
4990
  ctx_max = CONTEXT_WINDOWS.get(MODEL, 200_000)