tunacode-cli 0.0.10__py3-none-any.whl → 0.0.11__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/constants.py CHANGED
@@ -7,7 +7,7 @@ Centralizes all magic strings, UI text, error messages, and application constant
7
7
 
8
8
  # Application info
9
9
  APP_NAME = "TunaCode"
10
- APP_VERSION = "0.8.21"
10
+ APP_VERSION = "0.0.11"
11
11
 
12
12
  # File patterns
13
13
  GUIDE_FILE_PATTERN = "{name}.md"
@@ -56,13 +56,23 @@ class ConfigSetup(BaseSetup):
56
56
  else:
57
57
  if force_setup:
58
58
  await ui.muted("Running setup process, resetting config")
59
+ self.state_manager.session.user_config = DEFAULT_USER_CONFIG.copy()
60
+ user_configuration.save_config(
61
+ self.state_manager
62
+ ) # Save the default config initially
63
+ await self._onboarding()
59
64
  else:
60
- await ui.muted("No user configuration found, running setup")
61
- self.state_manager.session.user_config = DEFAULT_USER_CONFIG.copy()
62
- user_configuration.save_config(
63
- self.state_manager
64
- ) # Save the default config initially
65
- await self._onboarding()
65
+ # No config found - show CLI usage instead of onboarding
66
+ from tunacode.ui.console import console
67
+ console.print("\n[bold red]No configuration found![/bold red]")
68
+ console.print("\n[bold]Quick Setup:[/bold]")
69
+ console.print("Configure TunaCode using CLI flags:")
70
+ console.print("\n[blue]Examples:[/blue]")
71
+ console.print(" [green]tunacode --model 'openai:gpt-4' --key 'your-key'[/green]")
72
+ console.print(" [green]tunacode --model 'anthropic:claude-3-opus' --key 'your-key'[/green]")
73
+ console.print(" [green]tunacode --model 'openrouter:anthropic/claude-3.5-sonnet' --key 'your-key' --baseurl 'https://openrouter.ai/api/v1'[/green]")
74
+ console.print("\n[yellow]Run 'tunacode --help' for more options[/yellow]\n")
75
+ raise SystemExit(0)
66
76
 
67
77
  if not self.state_manager.session.user_config.get("default_model"):
68
78
  raise ConfigurationError(
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: tunacode-cli
3
- Version: 0.0.10
3
+ Version: 0.0.11
4
4
  Summary: Your agentic CLI developer.
5
5
  Author-email: larock22 <noreply@github.com>
6
6
  License-Expression: MIT
@@ -126,6 +126,27 @@ pip install tunacode-cli
126
126
  wget -qO- https://raw.githubusercontent.com/alchemiststudiosDOTai/tunacode/master/scripts/install_linux.sh | bash
127
127
  ```
128
128
 
129
+ ### Uninstallation
130
+
131
+ To completely remove TunaCode from your system:
132
+
133
+ ```bash
134
+ # Download and run the uninstall script
135
+ wget -qO- https://raw.githubusercontent.com/alchemiststudiosDOTai/tunacode/master/scripts/uninstall.sh | bash
136
+
137
+ # Or manually:
138
+ # 1. Remove the package
139
+ pipx uninstall tunacode # if installed via pipx
140
+ # OR
141
+ pip uninstall tunacode-cli # if installed via pip
142
+
143
+ # 2. Remove configuration files
144
+ rm -rf ~/.config/tunacode*
145
+
146
+ # 3. Remove any leftover binaries
147
+ rm -f ~/.local/bin/tunacode
148
+ ```
149
+
129
150
  ### Setup Options
130
151
 
131
152
  <details>
@@ -1,5 +1,5 @@
1
1
  tunacode/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
2
- tunacode/constants.py,sha256=6sdwSsDllPvvZ7l2yGQLoOigIZBIMND34qa_01TWtH0,4235
2
+ tunacode/constants.py,sha256=q3w4LFygyS5x_qN0jIYo6kndopbqzrzx3GMUyrepK-A,4235
3
3
  tunacode/context.py,sha256=0ttsxxLAyD4pSoxw7S-pyzor0JUkhOFZh96aAf4Kqsg,2634
4
4
  tunacode/exceptions.py,sha256=RFUH8wOsWEvSPGIYM2exr4t47YkEyZt4Fr-DfTo6_JY,2647
5
5
  tunacode/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -21,7 +21,7 @@ tunacode/core/agents/main.py,sha256=ZGB-EUQ7ow-m3ohSAmfPZ5UN9XC2Gbz40rKjsZsWwrA,
21
21
  tunacode/core/setup/__init__.py,sha256=jlveyriTXRcnoBLU6_TJ7Z-3E6EXjT9L5GD1vW4dei0,427
22
22
  tunacode/core/setup/agent_setup.py,sha256=65FVtta4xE9Dg_rDgVBsUkIHsAjXEavhmvAy5eFS5IA,1411
23
23
  tunacode/core/setup/base.py,sha256=x9uYOITulrf4faP70NPTNBPb-wW1ZJGmcjAe0Sk5slk,961
24
- tunacode/core/setup/config_setup.py,sha256=xeEZu-xDFRwbCONshS0NHsc3eQH1IxpGaUC_wuDjQYo,11163
24
+ tunacode/core/setup/config_setup.py,sha256=pAa6nLNuJPsMzDMxwZj_d0DxvT-rIJuPxflV4gkCPzU,12007
25
25
  tunacode/core/setup/coordinator.py,sha256=v_zJIPCGlJWEApY5I2S7VR5uKAQe0TVn5zI-NYq2m_c,1653
26
26
  tunacode/core/setup/environment_setup.py,sha256=c371l9ePPmI-3I4NCJVu3iQg_tgFZz_X7qWbc_Lld_k,2234
27
27
  tunacode/core/setup/git_safety_setup.py,sha256=1NuzSASi0b69wQRpcOgINKklGnq34Xh3itm_PEpjDus,7238
@@ -57,9 +57,9 @@ tunacode/utils/ripgrep.py,sha256=AXUs2FFt0A7KBV996deS8wreIlUzKOlAHJmwrcAr4No,583
57
57
  tunacode/utils/system.py,sha256=FSoibTIH0eybs4oNzbYyufIiV6gb77QaeY2yGqW39AY,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.10.dist-info/licenses/LICENSE,sha256=Btzdu2kIoMbdSp6OyCLupB1aRgpTCJ_szMimgEnpkkE,1056
61
- tunacode_cli-0.0.10.dist-info/METADATA,sha256=jPpFb8CYOsphFyiT-stgLBMTHhtyQorUFCDIsdIM1xU,8705
62
- tunacode_cli-0.0.10.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
63
- tunacode_cli-0.0.10.dist-info/entry_points.txt,sha256=hbkytikj4dGu6rizPuAd_DGUPBGF191RTnhr9wdhORY,51
64
- tunacode_cli-0.0.10.dist-info/top_level.txt,sha256=lKy2P6BWNi5XSA4DHFvyjQ14V26lDZctwdmhEJrxQbU,9
65
- tunacode_cli-0.0.10.dist-info/RECORD,,
60
+ tunacode_cli-0.0.11.dist-info/licenses/LICENSE,sha256=Btzdu2kIoMbdSp6OyCLupB1aRgpTCJ_szMimgEnpkkE,1056
61
+ tunacode_cli-0.0.11.dist-info/METADATA,sha256=aAYLNB_yGyz9rat_s0n7hFhX9dDAi7kxh0WtUJQXUJ4,9205
62
+ tunacode_cli-0.0.11.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
63
+ tunacode_cli-0.0.11.dist-info/entry_points.txt,sha256=hbkytikj4dGu6rizPuAd_DGUPBGF191RTnhr9wdhORY,51
64
+ tunacode_cli-0.0.11.dist-info/top_level.txt,sha256=lKy2P6BWNi5XSA4DHFvyjQ14V26lDZctwdmhEJrxQbU,9
65
+ tunacode_cli-0.0.11.dist-info/RECORD,,