sigma-terminal 3.3.2__py3-none-any.whl → 3.4.1__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.
sigma/setup.py CHANGED
@@ -1,4 +1,4 @@
1
- """Sigma v3.3.1 - Setup Wizard."""
1
+ """Sigma v3.4.1 - Setup Wizard."""
2
2
 
3
3
  import os
4
4
  import sys
@@ -25,20 +25,20 @@ from .config import (
25
25
  )
26
26
 
27
27
 
28
- __version__ = "3.3.1"
28
+ __version__ = "3.4.1"
29
29
  SIGMA = "σ"
30
30
  console = Console()
31
31
 
32
- # Clean banner - just SIGMA, no SETU
32
+ # Clean banner - just SIGMA
33
33
  BANNER = """
34
- [bold blue]███████╗██╗ ██████╗ ███╗ ███╗ █████╗ [/bold blue]
35
- [bold blue]██╔════╝██║██╔════╝ ████╗ ████║██╔══██╗[/bold blue]
36
- [bold blue]███████╗██║██║ ███╗██╔████╔██║███████║[/bold blue]
37
- [bold blue]╚════██║██║██║ ██║██║╚██╔╝██║██╔══██║[/bold blue]
38
- [bold blue]███████║██║╚██████╔╝██║ ╚═╝ ██║██║ ██║[/bold blue]
39
- [bold blue]╚══════╝╚═╝ ╚═════╝ ╚═╝ ╚═╝╚═╝ ╚═╝[/bold blue]
34
+ [bold #3b82f6]███████╗██╗ ██████╗ ███╗ ███╗ █████╗ [/bold #3b82f6]
35
+ [bold #60a5fa]██╔════╝██║██╔════╝ ████╗ ████║██╔══██╗[/bold #60a5fa]
36
+ [bold #93c5fd]███████╗██║██║ ███╗██╔████╔██║███████║[/bold #93c5fd]
37
+ [bold #60a5fa]╚════██║██║██║ ██║██║╚██╔╝██║██╔══██║[/bold #60a5fa]
38
+ [bold #3b82f6]███████║██║╚██████╔╝██║ ╚═╝ ██║██║ ██║[/bold #3b82f6]
39
+ [bold #1d4ed8]╚══════╝╚═╝ ╚═════╝ ╚═╝ ╚═╝╚═╝ ╚═╝[/bold #1d4ed8]
40
40
 
41
- [bold cyan]σ Finance Research Agent[/bold cyan] [dim]- Setup Wizard v3.3.1[/dim]
41
+ [bold cyan]σ Finance Research Agent[/bold cyan] [dim]- Setup Wizard v3.4.1[/dim]
42
42
  """
43
43
 
44
44
 
@@ -185,8 +185,8 @@ class SetupWizard:
185
185
  existing = getattr(self.settings, key_attr, None)
186
186
 
187
187
  if existing:
188
- masked = f"{existing[:8]}...{existing[-4:]}"
189
- console.print(f"[dim]Existing key: {masked}[/dim]")
188
+ # Show full key - no masking
189
+ console.print(f"[dim]Existing key: {existing}[/dim]")
190
190
  if not Confirm.ask("Replace?", default=False):
191
191
  console.print(f"[cyan]{SIGMA}[/cyan] Keeping existing key")
192
192
  return
@@ -265,7 +265,7 @@ class SetupWizard:
265
265
  if self.settings.default_provider != LLMProvider.OLLAMA:
266
266
  ollama_running, ollama_host = detect_ollama()
267
267
  if ollama_running and ollama_host:
268
- console.print(f"[green][/green] Ollama detected at {ollama_host}")
268
+ console.print(f"[green]OK[/green] Ollama detected at {ollama_host}")
269
269
  if Confirm.ask("Enable Ollama as local fallback?", default=True):
270
270
  save_setting("ollama_host", ollama_host)
271
271
  console.print(f"[cyan]{SIGMA}[/cyan] Ollama enabled")
@@ -280,7 +280,7 @@ class SetupWizard:
280
280
  lean_installed, lean_cli, lean_dir = detect_lean_installation()
281
281
 
282
282
  if lean_installed:
283
- console.print(f"[green][/green] LEAN/QuantConnect detected!")
283
+ console.print(f"[green]OK[/green] LEAN/QuantConnect detected!")
284
284
  if lean_cli:
285
285
  console.print(f" [dim]CLI: {lean_cli}[/dim]")
286
286
  if lean_dir:
@@ -316,7 +316,7 @@ class SetupWizard:
316
316
  success, message = install_lean_cli_sync()
317
317
 
318
318
  if success:
319
- console.print(f"[green][/green] {message}")
319
+ console.print(f"[green]OK[/green] {message}")
320
320
  save_setting("lean_enabled", "true")
321
321
  save_setting("lean_cli_path", "lean")
322
322
 
@@ -325,7 +325,7 @@ class SetupWizard:
325
325
  if lean_cli:
326
326
  console.print(f"[cyan]{SIGMA}[/cyan] LEAN CLI ready: {lean_cli}")
327
327
  else:
328
- console.print(f"[red][/red] {message}")
328
+ console.print(f"[red][x][/red] {message}")
329
329
  console.print("[dim]You can install manually later: pip install lean[/dim]")
330
330
 
331
331
  elif lean_choice == "manual":