@votadev/tooncode 2.2.1 → 2.2.2
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/package.json +1 -1
- package/tooncode.py +7 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@votadev/tooncode",
|
|
3
|
-
"version": "2.2.
|
|
3
|
+
"version": "2.2.2",
|
|
4
4
|
"description": "Free AI 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.
|
|
11
|
+
VERSION = "2.2.2"
|
|
12
12
|
|
|
13
13
|
import httpx
|
|
14
14
|
import json
|
|
@@ -98,6 +98,12 @@ def _load_settings() -> dict:
|
|
|
98
98
|
settings[k] = v
|
|
99
99
|
except Exception:
|
|
100
100
|
pass
|
|
101
|
+
else:
|
|
102
|
+
# First run — create default settings.json
|
|
103
|
+
try:
|
|
104
|
+
_save_settings(settings)
|
|
105
|
+
except Exception:
|
|
106
|
+
pass
|
|
101
107
|
return settings
|
|
102
108
|
|
|
103
109
|
def _save_settings(settings: dict):
|