shotgun-sh 0.2.6.dev3__py3-none-any.whl → 0.2.6.dev5__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.

@@ -249,6 +249,10 @@ class ConfigManager:
249
249
  if provider_enum in provider_models:
250
250
  config.selected_model = provider_models[provider_enum]
251
251
 
252
+ # Mark welcome screen as shown when BYOK provider is configured
253
+ # This prevents the welcome screen from showing again after user has made their choice
254
+ config.shown_welcome_screen = True
255
+
252
256
  self.save(config)
253
257
 
254
258
  def clear_provider_key(self, provider: ProviderType | str) -> None:
@@ -124,6 +124,7 @@ content_tasks = read_file('tasks.md') # Read implementation details
124
124
  - `plan.md` - Extract development approach and stages
125
125
  - `tasks.md` - Understand implementation tasks and structure
126
126
  2. **Map content to agents.md standard sections**:
127
+ - **Research, Specifications, and Planning**: ALWAYS include this section first. Check which pipeline files exist in `.shotgun/` (research.md, specification.md, plan.md, tasks.md) and list only the ones that exist. If none exist, omit this section.
127
128
  - **Project Overview**: Brief description and key technologies from specification.md
128
129
  - **Dev Environment Setup**: Installation, dependencies, dev server commands
129
130
  - **Code Style Guidelines**: Coding conventions and patterns from research.md
@@ -170,6 +171,14 @@ For additional specialized exports (only if specifically requested):
170
171
  <CORRECT_CONTENT_TEMPLATE>
171
172
  # Agents.md - [Project Name]
172
173
 
174
+ ## Research, Specifications, and Planning
175
+
176
+ The `.shotgun/` folder contains background research, specifications, and implementation planning files. Refer to these files for additional context:
177
+ - `research.md` - Codebase analysis and research findings
178
+ - `specification.md` - Project requirements and specifications
179
+ - `plan.md` - Development plan and implementation approach
180
+ - `tasks.md` - Task breakdown and implementation progress
181
+
173
182
  ## Project Overview
174
183
  - Brief description of what the project does
175
184
  - Key technologies and frameworks used
@@ -253,6 +262,14 @@ This project is about [making assumptions without reading files]...
253
262
  <GOOD_CONTENT_EXAMPLE>
254
263
  # Agents.md - E-commerce API Project
255
264
 
265
+ ## Research, Specifications, and Planning
266
+
267
+ The `.shotgun/` folder contains background research, specifications, and implementation planning files. Refer to these files for additional context:
268
+ - `research.md` - Codebase analysis and research findings
269
+ - `specification.md` - Project requirements and specifications
270
+ - `plan.md` - Development plan and implementation approach
271
+ - `tasks.md` - Task breakdown and implementation progress
272
+
256
273
  ## Project Overview
257
274
  - REST API for product catalog management with authentication
258
275
  - Built with Python/FastAPI for high performance async operations
@@ -152,6 +152,10 @@ class WelcomeScreen(Screen[None]):
152
152
  @on(Button.Pressed, "#byok-button")
153
153
  def _on_byok_pressed(self) -> None:
154
154
  """Handle BYOK button press."""
155
+ self.run_worker(self._start_byok_config(), exclusive=True)
156
+
157
+ async def _start_byok_config(self) -> None:
158
+ """Launch BYOK provider configuration flow."""
155
159
  self._mark_welcome_shown()
156
160
 
157
161
  app = cast("ShotgunApp", self.app)
@@ -161,10 +165,14 @@ class WelcomeScreen(Screen[None]):
161
165
  self.dismiss()
162
166
  return
163
167
 
164
- # Otherwise, push provider config screen
168
+ # Otherwise, push provider config screen and wait for result
165
169
  from .provider_config import ProviderConfigScreen
166
170
 
167
- self.app.push_screen(ProviderConfigScreen())
171
+ await self.app.push_screen_wait(ProviderConfigScreen())
172
+
173
+ # Dismiss welcome screen after config if providers are now configured
174
+ if app.config_manager.has_any_provider_key():
175
+ self.dismiss()
168
176
 
169
177
  async def _start_shotgun_auth(self) -> None:
170
178
  """Launch Shotgun Account authentication flow."""
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: shotgun-sh
3
- Version: 0.2.6.dev3
3
+ Version: 0.2.6.dev5
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
@@ -23,7 +23,7 @@ shotgun/agents/tasks.py,sha256=AuriwtDn6uZz2G0eKfqBHYQrxYfJlbiAd-fcsw9lU3I,2949
23
23
  shotgun/agents/usage_manager.py,sha256=5d9JC4_cthXwhTSytMfMExMDAUYp8_nkPepTJZXk13w,5017
24
24
  shotgun/agents/config/__init__.py,sha256=Fl8K_81zBpm-OfOW27M_WWLSFdaHHek6lWz95iDREjQ,318
25
25
  shotgun/agents/config/constants.py,sha256=JNuLpeBUKikEsxGSjwX3RVWUQpbCKnDKstF2NczuDqk,932
26
- shotgun/agents/config/manager.py,sha256=AR3ENgt9zsJSyswOzc8XrnNIiMuq5hCbjU4n6S2ud4I,18699
26
+ shotgun/agents/config/manager.py,sha256=WO3TOwXCSOa7e3s_rmvH74jGw7xTqA_OaGhNaUsZ0a4,18922
27
27
  shotgun/agents/config/models.py,sha256=ohLXt9niCy4uFfFP1E6WSBZtxh7aZ16gTA2S3pHYkmc,5431
28
28
  shotgun/agents/config/provider.py,sha256=K2uW7DkdAhZfoDJcWV7NxOrSoEq1rQzArtZnxIgEe3E,12496
29
29
  shotgun/agents/history/__init__.py,sha256=XFQj2a6fxDqVg0Q3juvN9RjV_RJbgvFZtQOCOjVJyp4,147
@@ -87,7 +87,7 @@ shotgun/llm_proxy/constants.py,sha256=_4piKdyvM7pAIRdAGrzYexwWoDlueUZiEMfwWrOa4T
87
87
  shotgun/prompts/__init__.py,sha256=RswUm0HMdfm2m2YKUwUsEdRIwoczdbI7zlucoEvHYRo,132
88
88
  shotgun/prompts/loader.py,sha256=_7CdUYrAo6ZwvTBUlXugKyLU0IDBg5CVzUIAHFPw418,4433
89
89
  shotgun/prompts/agents/__init__.py,sha256=YRIJMbzpArojNX1BP5gfxxois334z_GQga8T-xyWMbY,39
90
- shotgun/prompts/agents/export.j2,sha256=Ya224lrPklWAIbW8gLTnUMRg-ktB7baxY-NYkaIff2Y,15943
90
+ shotgun/prompts/agents/export.j2,sha256=DGqVijH1PkpkY0rDauU52u_fMv15frEvOdXAPFZNMM4,17057
91
91
  shotgun/prompts/agents/plan.j2,sha256=mbt505NdqmzmPxXzQYJS_gH5vkiVa2a3Dgz2K-15JZk,6093
92
92
  shotgun/prompts/agents/research.j2,sha256=QFoSSiF_5v7c78RHaiucZEb9mOC_wF54BVKnJEH_DnI,3964
93
93
  shotgun/prompts/agents/specify.j2,sha256=AP7XrA3KE7GZsCvW4guASxZHBM2mnrMw3irdZ3RUOBs,2808
@@ -135,7 +135,7 @@ shotgun/tui/screens/model_picker.py,sha256=G-EvalpxgHKk0W3FgHMcxIr817VwZyEgh_Zad
135
135
  shotgun/tui/screens/provider_config.py,sha256=UCnAzjXPoP7Y73gsXxZF2PNA4LdSgpgoGYwiOd6fERA,10902
136
136
  shotgun/tui/screens/shotgun_auth.py,sha256=Y--7LZewV6gfDkucxymfAO7BCd7eI2C3H1ClDMztVio,10663
137
137
  shotgun/tui/screens/splash.py,sha256=E2MsJihi3c9NY1L28o_MstDxGwrCnnV7zdq00MrGAsw,706
138
- shotgun/tui/screens/welcome.py,sha256=r-RjtzjMhAaA0XKgnYKdZOuE07bcBi223fleKEf-Faw,5772
138
+ shotgun/tui/screens/welcome.py,sha256=XOKhd3hjhEUBjs9ZlUIZDdmrlIAvQ7qdO1_KKruGcqo,6134
139
139
  shotgun/tui/screens/chat_screen/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
140
140
  shotgun/tui/screens/chat_screen/command_providers.py,sha256=7Xnxd4k30bpLOMZSX32bcugU4IgpqU4Y8f6eHWKXd4o,12694
141
141
  shotgun/tui/screens/chat_screen/hint_message.py,sha256=WOpbk8q7qt7eOHTyyHvh_IQIaublVDeJGaLpsxEk9FA,933
@@ -148,8 +148,8 @@ shotgun/utils/env_utils.py,sha256=ulM3BRi9ZhS7uC-zorGeDQm4SHvsyFuuU9BtVPqdrHY,14
148
148
  shotgun/utils/file_system_utils.py,sha256=l-0p1bEHF34OU19MahnRFdClHufThfGAjQ431teAIp0,1004
149
149
  shotgun/utils/source_detection.py,sha256=Co6Q03R3fT771TF3RzB-70stfjNP2S4F_ArZKibwzm8,454
150
150
  shotgun/utils/update_checker.py,sha256=IgzPHRhS1ETH7PnJR_dIx6lxgr1qHpCkMTgzUxvGjhI,7586
151
- shotgun_sh-0.2.6.dev3.dist-info/METADATA,sha256=EZjXc7FhWhNdBYF9mP0vgCN9ANATGsCQtmcVq58OVn4,11226
152
- shotgun_sh-0.2.6.dev3.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
153
- shotgun_sh-0.2.6.dev3.dist-info/entry_points.txt,sha256=asZxLU4QILneq0MWW10saVCZc4VWhZfb0wFZvERnzfA,45
154
- shotgun_sh-0.2.6.dev3.dist-info/licenses/LICENSE,sha256=YebsZl590zCHrF_acCU5pmNt0pnAfD2DmAnevJPB1tY,1065
155
- shotgun_sh-0.2.6.dev3.dist-info/RECORD,,
151
+ shotgun_sh-0.2.6.dev5.dist-info/METADATA,sha256=XyTZmnYtmdUKWPMWrXAzzUv9HZeIZuGjXf2GvpzHY2k,11226
152
+ shotgun_sh-0.2.6.dev5.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
153
+ shotgun_sh-0.2.6.dev5.dist-info/entry_points.txt,sha256=asZxLU4QILneq0MWW10saVCZc4VWhZfb0wFZvERnzfA,45
154
+ shotgun_sh-0.2.6.dev5.dist-info/licenses/LICENSE,sha256=YebsZl590zCHrF_acCU5pmNt0pnAfD2DmAnevJPB1tY,1065
155
+ shotgun_sh-0.2.6.dev5.dist-info/RECORD,,