shotgun-sh 0.1.16.dev1__py3-none-any.whl → 0.1.16.dev2__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 shotgun-sh might be problematic. Click here for more details.

@@ -614,19 +614,30 @@ class ChatScreen(Screen[None]):
614
614
  empty = width - filled
615
615
  return "▓" * filled + "░" * empty
616
616
 
617
+ # Spinner animation frames
618
+ spinner_frames = ["⠋", "⠙", "⠹", "⠸", "⠼", "⠴", "⠦", "⠧", "⠇", "⠏"]
619
+
617
620
  # Progress state (shared between timer and progress callback)
618
- progress_state: dict[str, float] = {
621
+ progress_state: dict[str, int | float] = {
622
+ "frame_index": 0,
619
623
  "percentage": 0.0,
620
624
  }
621
625
 
622
626
  def update_progress_display() -> None:
623
627
  """Update progress bar on timer - runs every 100ms."""
628
+ # Advance spinner frame
629
+ frame_idx = int(progress_state["frame_index"])
630
+ progress_state["frame_index"] = (frame_idx + 1) % len(spinner_frames)
631
+ spinner = spinner_frames[frame_idx]
632
+
624
633
  # Get current state
625
634
  pct = float(progress_state["percentage"])
626
635
  bar = create_progress_bar(pct)
627
636
 
628
637
  # Update label
629
- label.update(f"[$foreground-muted]Indexing codebase: {bar} {pct:.0f}%[/]")
638
+ label.update(
639
+ f"[$foreground-muted]Indexing codebase: {spinner} {bar} {pct:.0f}%[/]"
640
+ )
630
641
 
631
642
  def progress_callback(progress_info: IndexProgress) -> None:
632
643
  """Update progress state (timer renders it independently)."""
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: shotgun-sh
3
- Version: 0.1.16.dev1
3
+ Version: 0.1.16.dev2
4
4
  Summary: AI-powered research, planning, and task management CLI tool
5
5
  Project-URL: Homepage, https://shotgun.sh/
6
6
  Project-URL: Repository, https://github.com/shotgun-sh/shotgun
@@ -112,7 +112,7 @@ shotgun/tui/components/prompt_input.py,sha256=Ss-htqraHZAPaehGE4x86ij0veMjc4Ugad
112
112
  shotgun/tui/components/spinner.py,sha256=ovTDeaJ6FD6chZx_Aepia6R3UkPOVJ77EKHfRmn39MY,2427
113
113
  shotgun/tui/components/splash.py,sha256=vppy9vEIEvywuUKRXn2y11HwXSRkQZHLYoVjhDVdJeU,1267
114
114
  shotgun/tui/components/vertical_tail.py,sha256=kROwTaRjUwVB7H35dtmNcUVPQqNYvvfq7K2tXBKEb6c,638
115
- shotgun/tui/screens/chat.py,sha256=E7iyuEOhn5SnPqgeZzxJkPyF53jFGK4Iq4JnO03tEx0,30031
115
+ shotgun/tui/screens/chat.py,sha256=H3uAE4sQ7iJO33tJhdoW_OkzaNxXgW6BUP-SxoNiohw,30465
116
116
  shotgun/tui/screens/chat.tcss,sha256=2Yq3E23jxsySYsgZf4G1AYrYVcpX0UDW6kNNI0tDmtM,437
117
117
  shotgun/tui/screens/directory_setup.py,sha256=lIZ1J4A6g5Q2ZBX8epW7BhR96Dmdcg22CyiM5S-I5WU,3237
118
118
  shotgun/tui/screens/feedback.py,sha256=cYtmuM3qqKwevstu8gJ9mmk7lkIKZvfAyDEBUOLh-yI,5660
@@ -129,8 +129,8 @@ shotgun/utils/env_utils.py,sha256=8QK5aw_f_V2AVTleQQlcL0RnD4sPJWXlDG46fsHu0d8,10
129
129
  shotgun/utils/file_system_utils.py,sha256=l-0p1bEHF34OU19MahnRFdClHufThfGAjQ431teAIp0,1004
130
130
  shotgun/utils/source_detection.py,sha256=Co6Q03R3fT771TF3RzB-70stfjNP2S4F_ArZKibwzm8,454
131
131
  shotgun/utils/update_checker.py,sha256=IgzPHRhS1ETH7PnJR_dIx6lxgr1qHpCkMTgzUxvGjhI,7586
132
- shotgun_sh-0.1.16.dev1.dist-info/METADATA,sha256=b1qc_DrJgevhrqK4rJlS2FGuqtu63Kdz0Vy020-1uyg,11233
133
- shotgun_sh-0.1.16.dev1.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
134
- shotgun_sh-0.1.16.dev1.dist-info/entry_points.txt,sha256=asZxLU4QILneq0MWW10saVCZc4VWhZfb0wFZvERnzfA,45
135
- shotgun_sh-0.1.16.dev1.dist-info/licenses/LICENSE,sha256=YebsZl590zCHrF_acCU5pmNt0pnAfD2DmAnevJPB1tY,1065
136
- shotgun_sh-0.1.16.dev1.dist-info/RECORD,,
132
+ shotgun_sh-0.1.16.dev2.dist-info/METADATA,sha256=593zGac-zT_lBaqzrAXKl_N0WxPigfiXnLSWmY92Z14,11233
133
+ shotgun_sh-0.1.16.dev2.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
134
+ shotgun_sh-0.1.16.dev2.dist-info/entry_points.txt,sha256=asZxLU4QILneq0MWW10saVCZc4VWhZfb0wFZvERnzfA,45
135
+ shotgun_sh-0.1.16.dev2.dist-info/licenses/LICENSE,sha256=YebsZl590zCHrF_acCU5pmNt0pnAfD2DmAnevJPB1tY,1065
136
+ shotgun_sh-0.1.16.dev2.dist-info/RECORD,,