tunacode-cli 0.0.2__py3-none-any.whl → 0.0.4__py3-none-any.whl
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.
Potentially problematic release.
This version of tunacode-cli might be problematic. Click here for more details.
- tunacode/configuration/models.py +17 -2
- tunacode/core/setup/undo_setup.py +3 -2
- {tunacode_cli-0.0.2.dist-info → tunacode_cli-0.0.4.dist-info}/METADATA +5 -1
- {tunacode_cli-0.0.2.dist-info → tunacode_cli-0.0.4.dist-info}/RECORD +8 -8
- {tunacode_cli-0.0.2.dist-info → tunacode_cli-0.0.4.dist-info}/WHEEL +0 -0
- {tunacode_cli-0.0.2.dist-info → tunacode_cli-0.0.4.dist-info}/entry_points.txt +0 -0
- {tunacode_cli-0.0.2.dist-info → tunacode_cli-0.0.4.dist-info}/licenses/LICENSE +0 -0
- {tunacode_cli-0.0.2.dist-info → tunacode_cli-0.0.4.dist-info}/top_level.txt +0 -0
tunacode/configuration/models.py
CHANGED
|
@@ -52,10 +52,25 @@ class ModelRegistry:
|
|
|
52
52
|
pricing=ModelPricing(input=1.10, cached_input=0.55, output=4.40)
|
|
53
53
|
),
|
|
54
54
|
"openrouter:mistralai/devstral-small": ModelConfig(
|
|
55
|
-
pricing=ModelPricing(input=0.
|
|
55
|
+
pricing=ModelPricing(input=0.07, cached_input=0.035, output=0.10)
|
|
56
|
+
),
|
|
57
|
+
"openrouter:codex-mini-latest": ModelConfig(
|
|
58
|
+
pricing=ModelPricing(input=1.50, cached_input=0.75, output=6.00)
|
|
59
|
+
),
|
|
60
|
+
"openrouter:o4-mini-high": ModelConfig(
|
|
61
|
+
pricing=ModelPricing(input=1.10, cached_input=0.55, output=4.40)
|
|
62
|
+
),
|
|
63
|
+
"openrouter:o3": ModelConfig(
|
|
64
|
+
pricing=ModelPricing(input=10.00, cached_input=5.00, output=40.00)
|
|
65
|
+
),
|
|
66
|
+
"openrouter:o4-mini": ModelConfig(
|
|
67
|
+
pricing=ModelPricing(input=1.10, cached_input=0.55, output=4.40)
|
|
56
68
|
),
|
|
57
69
|
"openrouter:openai/gpt-4.1": ModelConfig(
|
|
58
|
-
pricing=ModelPricing(input=2.00, cached_input=
|
|
70
|
+
pricing=ModelPricing(input=2.00, cached_input=1.00, output=8.00)
|
|
71
|
+
),
|
|
72
|
+
"openrouter:openai/gpt-4.1-mini": ModelConfig(
|
|
73
|
+
pricing=ModelPricing(input=0.40, cached_input=0.20, output=1.60)
|
|
59
74
|
),
|
|
60
75
|
}
|
|
61
76
|
|
|
@@ -28,5 +28,6 @@ class UndoSetup(BaseSetup):
|
|
|
28
28
|
self.state_manager.session.undo_initialized = init_undo_system(self.state_manager)
|
|
29
29
|
|
|
30
30
|
async def validate(self) -> bool:
|
|
31
|
-
"""Validate that undo system
|
|
32
|
-
|
|
31
|
+
"""Validate that undo system setup completed (even if disabled)."""
|
|
32
|
+
# Validation passes if setup was attempted, regardless of whether undo is enabled
|
|
33
|
+
return True
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: tunacode-cli
|
|
3
|
-
Version: 0.0.
|
|
3
|
+
Version: 0.0.4
|
|
4
4
|
Summary: Your agentic CLI developer.
|
|
5
5
|
Author-email: larock22 <noreply@github.com>
|
|
6
6
|
License-Expression: MIT
|
|
@@ -110,8 +110,12 @@ OPENAI_BASE_URL="https://openrouter.ai/api/v1" tunacode
|
|
|
110
110
|
You can now switch to OpenRouter models using:
|
|
111
111
|
```
|
|
112
112
|
/model openrouter:mistralai/devstral-small
|
|
113
|
+
/model openrouter:openai/gpt-4.1-mini
|
|
114
|
+
/model openrouter:codex-mini-latest
|
|
113
115
|
```
|
|
114
116
|
|
|
117
|
+
**Adding Custom OpenRouter Models**: You can use any OpenRouter model by editing your `~/.config/tunacode.json` file and adding the model to the configuration. TunaCode will automatically detect and use any model format `openrouter:provider/model-name`.
|
|
118
|
+
|
|
115
119
|
### MCP Support
|
|
116
120
|
|
|
117
121
|
TunaCode supports Model Context Protocol (MCP) servers. You can configure MCP servers in your `~/.config/tunacode.json` file:
|
|
@@ -11,7 +11,7 @@ tunacode/cli/main.py,sha256=5_CXYtzN-Mc3nOv2Xpk6yfnV4d2SOgA9ENyTCe0cYYw,1226
|
|
|
11
11
|
tunacode/cli/repl.py,sha256=7g2c5M10bMsSmsomTIiR8bPlUAaqp83hybuVZdwT5kM,8789
|
|
12
12
|
tunacode/configuration/__init__.py,sha256=MbVXy8bGu0yKehzgdgZ_mfWlYGvIdb1dY2Ly75nfuPE,17
|
|
13
13
|
tunacode/configuration/defaults.py,sha256=9fR_Wydc85fU5LN5LlgRfW6geZNPNFMqKRVLN2v_TQ8,694
|
|
14
|
-
tunacode/configuration/models.py,sha256=
|
|
14
|
+
tunacode/configuration/models.py,sha256=BVNiF4eAnIMIq1Wo6gWDrCpVwqJxiPWQYbzlUSgThDA,3626
|
|
15
15
|
tunacode/configuration/settings.py,sha256=0HqwEFkpGqPtF-h0sAIBHFXTlJQ_KtelD_s-z2XDSak,992
|
|
16
16
|
tunacode/core/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
17
17
|
tunacode/core/state.py,sha256=0U_WU92yn5EQ27BLlHIkNIJJqjLMNHKNYSoba1rQqbQ,1376
|
|
@@ -25,7 +25,7 @@ tunacode/core/setup/config_setup.py,sha256=1eDS8iIG9z_BvrmeL8d9QUEBtPXSjOcrNu-2v
|
|
|
25
25
|
tunacode/core/setup/coordinator.py,sha256=pT1mI24Kllo2H6Hjb-uULLsA1E3X3BqQB7nSGe70SRw,1598
|
|
26
26
|
tunacode/core/setup/environment_setup.py,sha256=u6Anb9uDicmdMA_9xLkP0j2uoiVY16ojsA7XnFz--yQ,2234
|
|
27
27
|
tunacode/core/setup/git_safety_setup.py,sha256=1NuzSASi0b69wQRpcOgINKklGnq34Xh3itm_PEpjDus,7238
|
|
28
|
-
tunacode/core/setup/undo_setup.py,sha256=
|
|
28
|
+
tunacode/core/setup/undo_setup.py,sha256=uHy7YWXPnxQ-b_36SNKtMZNyDR_u-p4OPDARHAgp6Lo,1179
|
|
29
29
|
tunacode/prompts/system.txt,sha256=freAiukJH4PN-fKRWBdTogEak7BsZMgwdyWkxQtY-X4,3194
|
|
30
30
|
tunacode/services/__init__.py,sha256=w_E8QK6RnvKSvU866eDe8BCRV26rAm4d3R-Yg06OWCU,19
|
|
31
31
|
tunacode/services/mcp.py,sha256=R48X73KQjQ9vwhBrtbWHSBl-4K99QXmbIhh5J_1Gezo,3046
|
|
@@ -57,9 +57,9 @@ tunacode/utils/ripgrep.py,sha256=AXUs2FFt0A7KBV996deS8wreIlUzKOlAHJmwrcAr4No,583
|
|
|
57
57
|
tunacode/utils/system.py,sha256=Do-YKMrpTcp49DtnacisOj-NqnM8clI1YJeD6ebRUpw,11381
|
|
58
58
|
tunacode/utils/text_utils.py,sha256=B9M1cuLTm_SSsr15WNHF6j7WdLWPvWzKZV0Lvfgdbjg,2458
|
|
59
59
|
tunacode/utils/user_configuration.py,sha256=uFrpSRTUf0CijZjw1rOp1sovqy1uyr0UNcn85S6jvdk,1790
|
|
60
|
-
tunacode_cli-0.0.
|
|
61
|
-
tunacode_cli-0.0.
|
|
62
|
-
tunacode_cli-0.0.
|
|
63
|
-
tunacode_cli-0.0.
|
|
64
|
-
tunacode_cli-0.0.
|
|
65
|
-
tunacode_cli-0.0.
|
|
60
|
+
tunacode_cli-0.0.4.dist-info/licenses/LICENSE,sha256=SgvEceNP-y3_WodntkMGAkZyl_hAUvzBw5T9W--7YpM,1070
|
|
61
|
+
tunacode_cli-0.0.4.dist-info/METADATA,sha256=kvE75DOERAPLLSGm2CSWkDUIt8pagA02eE_oM5Kba1M,7422
|
|
62
|
+
tunacode_cli-0.0.4.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
63
|
+
tunacode_cli-0.0.4.dist-info/entry_points.txt,sha256=hbkytikj4dGu6rizPuAd_DGUPBGF191RTnhr9wdhORY,51
|
|
64
|
+
tunacode_cli-0.0.4.dist-info/top_level.txt,sha256=lKy2P6BWNi5XSA4DHFvyjQ14V26lDZctwdmhEJrxQbU,9
|
|
65
|
+
tunacode_cli-0.0.4.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|