shotgun-sh 0.2.8.dev1__tar.gz → 0.2.8.dev3__tar.gz
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.
- {shotgun_sh-0.2.8.dev1 → shotgun_sh-0.2.8.dev3}/PKG-INFO +1 -2
- {shotgun_sh-0.2.8.dev1 → shotgun_sh-0.2.8.dev3}/README.md +0 -76
- {shotgun_sh-0.2.8.dev1 → shotgun_sh-0.2.8.dev3}/pyproject.toml +1 -2
- {shotgun_sh-0.2.8.dev1 → shotgun_sh-0.2.8.dev3}/src/shotgun/agents/agent_manager.py +4 -5
- {shotgun_sh-0.2.8.dev1 → shotgun_sh-0.2.8.dev3}/src/shotgun/main.py +10 -54
- {shotgun_sh-0.2.8.dev1 → shotgun_sh-0.2.8.dev3}/src/shotgun/tui/app.py +0 -116
- {shotgun_sh-0.2.8.dev1 → shotgun_sh-0.2.8.dev3}/.gitignore +0 -0
- {shotgun_sh-0.2.8.dev1 → shotgun_sh-0.2.8.dev3}/LICENSE +0 -0
- {shotgun_sh-0.2.8.dev1 → shotgun_sh-0.2.8.dev3}/README_PYPI.md +0 -0
- {shotgun_sh-0.2.8.dev1 → shotgun_sh-0.2.8.dev3}/hatch_build.py +0 -0
- {shotgun_sh-0.2.8.dev1 → shotgun_sh-0.2.8.dev3}/src/shotgun/__init__.py +0 -0
- {shotgun_sh-0.2.8.dev1 → shotgun_sh-0.2.8.dev3}/src/shotgun/agents/__init__.py +0 -0
- {shotgun_sh-0.2.8.dev1 → shotgun_sh-0.2.8.dev3}/src/shotgun/agents/common.py +0 -0
- {shotgun_sh-0.2.8.dev1 → shotgun_sh-0.2.8.dev3}/src/shotgun/agents/config/__init__.py +0 -0
- {shotgun_sh-0.2.8.dev1 → shotgun_sh-0.2.8.dev3}/src/shotgun/agents/config/constants.py +0 -0
- {shotgun_sh-0.2.8.dev1 → shotgun_sh-0.2.8.dev3}/src/shotgun/agents/config/manager.py +0 -0
- {shotgun_sh-0.2.8.dev1 → shotgun_sh-0.2.8.dev3}/src/shotgun/agents/config/models.py +0 -0
- {shotgun_sh-0.2.8.dev1 → shotgun_sh-0.2.8.dev3}/src/shotgun/agents/config/provider.py +0 -0
- {shotgun_sh-0.2.8.dev1 → shotgun_sh-0.2.8.dev3}/src/shotgun/agents/conversation_history.py +0 -0
- {shotgun_sh-0.2.8.dev1 → shotgun_sh-0.2.8.dev3}/src/shotgun/agents/conversation_manager.py +0 -0
- {shotgun_sh-0.2.8.dev1 → shotgun_sh-0.2.8.dev3}/src/shotgun/agents/export.py +0 -0
- {shotgun_sh-0.2.8.dev1 → shotgun_sh-0.2.8.dev3}/src/shotgun/agents/history/__init__.py +0 -0
- {shotgun_sh-0.2.8.dev1 → shotgun_sh-0.2.8.dev3}/src/shotgun/agents/history/compaction.py +0 -0
- {shotgun_sh-0.2.8.dev1 → shotgun_sh-0.2.8.dev3}/src/shotgun/agents/history/constants.py +0 -0
- {shotgun_sh-0.2.8.dev1 → shotgun_sh-0.2.8.dev3}/src/shotgun/agents/history/context_extraction.py +0 -0
- {shotgun_sh-0.2.8.dev1 → shotgun_sh-0.2.8.dev3}/src/shotgun/agents/history/history_building.py +0 -0
- {shotgun_sh-0.2.8.dev1 → shotgun_sh-0.2.8.dev3}/src/shotgun/agents/history/history_processors.py +0 -0
- {shotgun_sh-0.2.8.dev1 → shotgun_sh-0.2.8.dev3}/src/shotgun/agents/history/message_utils.py +0 -0
- {shotgun_sh-0.2.8.dev1 → shotgun_sh-0.2.8.dev3}/src/shotgun/agents/history/token_counting/__init__.py +0 -0
- {shotgun_sh-0.2.8.dev1 → shotgun_sh-0.2.8.dev3}/src/shotgun/agents/history/token_counting/anthropic.py +0 -0
- {shotgun_sh-0.2.8.dev1 → shotgun_sh-0.2.8.dev3}/src/shotgun/agents/history/token_counting/base.py +0 -0
- {shotgun_sh-0.2.8.dev1 → shotgun_sh-0.2.8.dev3}/src/shotgun/agents/history/token_counting/openai.py +0 -0
- {shotgun_sh-0.2.8.dev1 → shotgun_sh-0.2.8.dev3}/src/shotgun/agents/history/token_counting/sentencepiece_counter.py +0 -0
- {shotgun_sh-0.2.8.dev1 → shotgun_sh-0.2.8.dev3}/src/shotgun/agents/history/token_counting/tokenizer_cache.py +0 -0
- {shotgun_sh-0.2.8.dev1 → shotgun_sh-0.2.8.dev3}/src/shotgun/agents/history/token_counting/utils.py +0 -0
- {shotgun_sh-0.2.8.dev1 → shotgun_sh-0.2.8.dev3}/src/shotgun/agents/history/token_estimation.py +0 -0
- {shotgun_sh-0.2.8.dev1 → shotgun_sh-0.2.8.dev3}/src/shotgun/agents/llm.py +0 -0
- {shotgun_sh-0.2.8.dev1 → shotgun_sh-0.2.8.dev3}/src/shotgun/agents/messages.py +0 -0
- {shotgun_sh-0.2.8.dev1 → shotgun_sh-0.2.8.dev3}/src/shotgun/agents/models.py +0 -0
- {shotgun_sh-0.2.8.dev1 → shotgun_sh-0.2.8.dev3}/src/shotgun/agents/plan.py +0 -0
- {shotgun_sh-0.2.8.dev1 → shotgun_sh-0.2.8.dev3}/src/shotgun/agents/research.py +0 -0
- {shotgun_sh-0.2.8.dev1 → shotgun_sh-0.2.8.dev3}/src/shotgun/agents/specify.py +0 -0
- {shotgun_sh-0.2.8.dev1 → shotgun_sh-0.2.8.dev3}/src/shotgun/agents/tasks.py +0 -0
- {shotgun_sh-0.2.8.dev1 → shotgun_sh-0.2.8.dev3}/src/shotgun/agents/tools/__init__.py +0 -0
- {shotgun_sh-0.2.8.dev1 → shotgun_sh-0.2.8.dev3}/src/shotgun/agents/tools/codebase/__init__.py +0 -0
- {shotgun_sh-0.2.8.dev1 → shotgun_sh-0.2.8.dev3}/src/shotgun/agents/tools/codebase/codebase_shell.py +0 -0
- {shotgun_sh-0.2.8.dev1 → shotgun_sh-0.2.8.dev3}/src/shotgun/agents/tools/codebase/directory_lister.py +0 -0
- {shotgun_sh-0.2.8.dev1 → shotgun_sh-0.2.8.dev3}/src/shotgun/agents/tools/codebase/file_read.py +0 -0
- {shotgun_sh-0.2.8.dev1 → shotgun_sh-0.2.8.dev3}/src/shotgun/agents/tools/codebase/models.py +0 -0
- {shotgun_sh-0.2.8.dev1 → shotgun_sh-0.2.8.dev3}/src/shotgun/agents/tools/codebase/query_graph.py +0 -0
- {shotgun_sh-0.2.8.dev1 → shotgun_sh-0.2.8.dev3}/src/shotgun/agents/tools/codebase/retrieve_code.py +0 -0
- {shotgun_sh-0.2.8.dev1 → shotgun_sh-0.2.8.dev3}/src/shotgun/agents/tools/file_management.py +0 -0
- {shotgun_sh-0.2.8.dev1 → shotgun_sh-0.2.8.dev3}/src/shotgun/agents/tools/web_search/__init__.py +0 -0
- {shotgun_sh-0.2.8.dev1 → shotgun_sh-0.2.8.dev3}/src/shotgun/agents/tools/web_search/anthropic.py +0 -0
- {shotgun_sh-0.2.8.dev1 → shotgun_sh-0.2.8.dev3}/src/shotgun/agents/tools/web_search/gemini.py +0 -0
- {shotgun_sh-0.2.8.dev1 → shotgun_sh-0.2.8.dev3}/src/shotgun/agents/tools/web_search/openai.py +0 -0
- {shotgun_sh-0.2.8.dev1 → shotgun_sh-0.2.8.dev3}/src/shotgun/agents/tools/web_search/utils.py +0 -0
- {shotgun_sh-0.2.8.dev1 → shotgun_sh-0.2.8.dev3}/src/shotgun/agents/usage_manager.py +0 -0
- {shotgun_sh-0.2.8.dev1 → shotgun_sh-0.2.8.dev3}/src/shotgun/api_endpoints.py +0 -0
- {shotgun_sh-0.2.8.dev1 → shotgun_sh-0.2.8.dev3}/src/shotgun/build_constants.py +0 -0
- {shotgun_sh-0.2.8.dev1 → shotgun_sh-0.2.8.dev3}/src/shotgun/cli/__init__.py +0 -0
- {shotgun_sh-0.2.8.dev1 → shotgun_sh-0.2.8.dev3}/src/shotgun/cli/codebase/__init__.py +0 -0
- {shotgun_sh-0.2.8.dev1 → shotgun_sh-0.2.8.dev3}/src/shotgun/cli/codebase/commands.py +0 -0
- {shotgun_sh-0.2.8.dev1 → shotgun_sh-0.2.8.dev3}/src/shotgun/cli/codebase/models.py +0 -0
- {shotgun_sh-0.2.8.dev1 → shotgun_sh-0.2.8.dev3}/src/shotgun/cli/config.py +0 -0
- {shotgun_sh-0.2.8.dev1 → shotgun_sh-0.2.8.dev3}/src/shotgun/cli/export.py +0 -0
- {shotgun_sh-0.2.8.dev1 → shotgun_sh-0.2.8.dev3}/src/shotgun/cli/feedback.py +0 -0
- {shotgun_sh-0.2.8.dev1 → shotgun_sh-0.2.8.dev3}/src/shotgun/cli/models.py +0 -0
- {shotgun_sh-0.2.8.dev1 → shotgun_sh-0.2.8.dev3}/src/shotgun/cli/plan.py +0 -0
- {shotgun_sh-0.2.8.dev1 → shotgun_sh-0.2.8.dev3}/src/shotgun/cli/research.py +0 -0
- {shotgun_sh-0.2.8.dev1 → shotgun_sh-0.2.8.dev3}/src/shotgun/cli/specify.py +0 -0
- {shotgun_sh-0.2.8.dev1 → shotgun_sh-0.2.8.dev3}/src/shotgun/cli/tasks.py +0 -0
- {shotgun_sh-0.2.8.dev1 → shotgun_sh-0.2.8.dev3}/src/shotgun/cli/update.py +0 -0
- {shotgun_sh-0.2.8.dev1 → shotgun_sh-0.2.8.dev3}/src/shotgun/cli/utils.py +0 -0
- {shotgun_sh-0.2.8.dev1 → shotgun_sh-0.2.8.dev3}/src/shotgun/codebase/__init__.py +0 -0
- {shotgun_sh-0.2.8.dev1 → shotgun_sh-0.2.8.dev3}/src/shotgun/codebase/core/__init__.py +0 -0
- {shotgun_sh-0.2.8.dev1 → shotgun_sh-0.2.8.dev3}/src/shotgun/codebase/core/change_detector.py +0 -0
- {shotgun_sh-0.2.8.dev1 → shotgun_sh-0.2.8.dev3}/src/shotgun/codebase/core/code_retrieval.py +0 -0
- {shotgun_sh-0.2.8.dev1 → shotgun_sh-0.2.8.dev3}/src/shotgun/codebase/core/cypher_models.py +0 -0
- {shotgun_sh-0.2.8.dev1 → shotgun_sh-0.2.8.dev3}/src/shotgun/codebase/core/ingestor.py +0 -0
- {shotgun_sh-0.2.8.dev1 → shotgun_sh-0.2.8.dev3}/src/shotgun/codebase/core/language_config.py +0 -0
- {shotgun_sh-0.2.8.dev1 → shotgun_sh-0.2.8.dev3}/src/shotgun/codebase/core/manager.py +0 -0
- {shotgun_sh-0.2.8.dev1 → shotgun_sh-0.2.8.dev3}/src/shotgun/codebase/core/nl_query.py +0 -0
- {shotgun_sh-0.2.8.dev1 → shotgun_sh-0.2.8.dev3}/src/shotgun/codebase/core/parser_loader.py +0 -0
- {shotgun_sh-0.2.8.dev1 → shotgun_sh-0.2.8.dev3}/src/shotgun/codebase/models.py +0 -0
- {shotgun_sh-0.2.8.dev1 → shotgun_sh-0.2.8.dev3}/src/shotgun/codebase/service.py +0 -0
- {shotgun_sh-0.2.8.dev1 → shotgun_sh-0.2.8.dev3}/src/shotgun/llm_proxy/__init__.py +0 -0
- {shotgun_sh-0.2.8.dev1 → shotgun_sh-0.2.8.dev3}/src/shotgun/llm_proxy/clients.py +0 -0
- {shotgun_sh-0.2.8.dev1 → shotgun_sh-0.2.8.dev3}/src/shotgun/llm_proxy/constants.py +0 -0
- {shotgun_sh-0.2.8.dev1 → shotgun_sh-0.2.8.dev3}/src/shotgun/logging_config.py +0 -0
- {shotgun_sh-0.2.8.dev1 → shotgun_sh-0.2.8.dev3}/src/shotgun/posthog_telemetry.py +0 -0
- {shotgun_sh-0.2.8.dev1 → shotgun_sh-0.2.8.dev3}/src/shotgun/prompts/__init__.py +0 -0
- {shotgun_sh-0.2.8.dev1 → shotgun_sh-0.2.8.dev3}/src/shotgun/prompts/agents/__init__.py +0 -0
- {shotgun_sh-0.2.8.dev1 → shotgun_sh-0.2.8.dev3}/src/shotgun/prompts/agents/export.j2 +0 -0
- {shotgun_sh-0.2.8.dev1 → shotgun_sh-0.2.8.dev3}/src/shotgun/prompts/agents/partials/codebase_understanding.j2 +0 -0
- {shotgun_sh-0.2.8.dev1 → shotgun_sh-0.2.8.dev3}/src/shotgun/prompts/agents/partials/common_agent_system_prompt.j2 +0 -0
- {shotgun_sh-0.2.8.dev1 → shotgun_sh-0.2.8.dev3}/src/shotgun/prompts/agents/partials/content_formatting.j2 +0 -0
- {shotgun_sh-0.2.8.dev1 → shotgun_sh-0.2.8.dev3}/src/shotgun/prompts/agents/partials/interactive_mode.j2 +0 -0
- {shotgun_sh-0.2.8.dev1 → shotgun_sh-0.2.8.dev3}/src/shotgun/prompts/agents/plan.j2 +0 -0
- {shotgun_sh-0.2.8.dev1 → shotgun_sh-0.2.8.dev3}/src/shotgun/prompts/agents/research.j2 +0 -0
- {shotgun_sh-0.2.8.dev1 → shotgun_sh-0.2.8.dev3}/src/shotgun/prompts/agents/specify.j2 +0 -0
- {shotgun_sh-0.2.8.dev1 → shotgun_sh-0.2.8.dev3}/src/shotgun/prompts/agents/state/codebase/codebase_graphs_available.j2 +0 -0
- {shotgun_sh-0.2.8.dev1 → shotgun_sh-0.2.8.dev3}/src/shotgun/prompts/agents/state/system_state.j2 +0 -0
- {shotgun_sh-0.2.8.dev1 → shotgun_sh-0.2.8.dev3}/src/shotgun/prompts/agents/tasks.j2 +0 -0
- {shotgun_sh-0.2.8.dev1 → shotgun_sh-0.2.8.dev3}/src/shotgun/prompts/codebase/__init__.py +0 -0
- {shotgun_sh-0.2.8.dev1 → shotgun_sh-0.2.8.dev3}/src/shotgun/prompts/codebase/cypher_query_patterns.j2 +0 -0
- {shotgun_sh-0.2.8.dev1 → shotgun_sh-0.2.8.dev3}/src/shotgun/prompts/codebase/cypher_system.j2 +0 -0
- {shotgun_sh-0.2.8.dev1 → shotgun_sh-0.2.8.dev3}/src/shotgun/prompts/codebase/enhanced_query_context.j2 +0 -0
- {shotgun_sh-0.2.8.dev1 → shotgun_sh-0.2.8.dev3}/src/shotgun/prompts/codebase/partials/cypher_rules.j2 +0 -0
- {shotgun_sh-0.2.8.dev1 → shotgun_sh-0.2.8.dev3}/src/shotgun/prompts/codebase/partials/graph_schema.j2 +0 -0
- {shotgun_sh-0.2.8.dev1 → shotgun_sh-0.2.8.dev3}/src/shotgun/prompts/codebase/partials/temporal_context.j2 +0 -0
- {shotgun_sh-0.2.8.dev1 → shotgun_sh-0.2.8.dev3}/src/shotgun/prompts/history/__init__.py +0 -0
- {shotgun_sh-0.2.8.dev1 → shotgun_sh-0.2.8.dev3}/src/shotgun/prompts/history/incremental_summarization.j2 +0 -0
- {shotgun_sh-0.2.8.dev1 → shotgun_sh-0.2.8.dev3}/src/shotgun/prompts/history/summarization.j2 +0 -0
- {shotgun_sh-0.2.8.dev1 → shotgun_sh-0.2.8.dev3}/src/shotgun/prompts/loader.py +0 -0
- {shotgun_sh-0.2.8.dev1 → shotgun_sh-0.2.8.dev3}/src/shotgun/prompts/tools/web_search.j2 +0 -0
- {shotgun_sh-0.2.8.dev1 → shotgun_sh-0.2.8.dev3}/src/shotgun/py.typed +0 -0
- {shotgun_sh-0.2.8.dev1 → shotgun_sh-0.2.8.dev3}/src/shotgun/sdk/__init__.py +0 -0
- {shotgun_sh-0.2.8.dev1 → shotgun_sh-0.2.8.dev3}/src/shotgun/sdk/codebase.py +0 -0
- {shotgun_sh-0.2.8.dev1 → shotgun_sh-0.2.8.dev3}/src/shotgun/sdk/exceptions.py +0 -0
- {shotgun_sh-0.2.8.dev1 → shotgun_sh-0.2.8.dev3}/src/shotgun/sdk/models.py +0 -0
- {shotgun_sh-0.2.8.dev1 → shotgun_sh-0.2.8.dev3}/src/shotgun/sdk/services.py +0 -0
- {shotgun_sh-0.2.8.dev1 → shotgun_sh-0.2.8.dev3}/src/shotgun/sentry_telemetry.py +0 -0
- {shotgun_sh-0.2.8.dev1 → shotgun_sh-0.2.8.dev3}/src/shotgun/shotgun_web/__init__.py +0 -0
- {shotgun_sh-0.2.8.dev1 → shotgun_sh-0.2.8.dev3}/src/shotgun/shotgun_web/client.py +0 -0
- {shotgun_sh-0.2.8.dev1 → shotgun_sh-0.2.8.dev3}/src/shotgun/shotgun_web/constants.py +0 -0
- {shotgun_sh-0.2.8.dev1 → shotgun_sh-0.2.8.dev3}/src/shotgun/shotgun_web/models.py +0 -0
- {shotgun_sh-0.2.8.dev1 → shotgun_sh-0.2.8.dev3}/src/shotgun/telemetry.py +0 -0
- {shotgun_sh-0.2.8.dev1 → shotgun_sh-0.2.8.dev3}/src/shotgun/tui/__init__.py +0 -0
- {shotgun_sh-0.2.8.dev1 → shotgun_sh-0.2.8.dev3}/src/shotgun/tui/commands/__init__.py +0 -0
- {shotgun_sh-0.2.8.dev1 → shotgun_sh-0.2.8.dev3}/src/shotgun/tui/components/prompt_input.py +0 -0
- {shotgun_sh-0.2.8.dev1 → shotgun_sh-0.2.8.dev3}/src/shotgun/tui/components/spinner.py +0 -0
- {shotgun_sh-0.2.8.dev1 → shotgun_sh-0.2.8.dev3}/src/shotgun/tui/components/splash.py +0 -0
- {shotgun_sh-0.2.8.dev1 → shotgun_sh-0.2.8.dev3}/src/shotgun/tui/components/vertical_tail.py +0 -0
- {shotgun_sh-0.2.8.dev1 → shotgun_sh-0.2.8.dev3}/src/shotgun/tui/filtered_codebase_service.py +0 -0
- {shotgun_sh-0.2.8.dev1 → shotgun_sh-0.2.8.dev3}/src/shotgun/tui/screens/chat.py +0 -0
- {shotgun_sh-0.2.8.dev1 → shotgun_sh-0.2.8.dev3}/src/shotgun/tui/screens/chat.tcss +0 -0
- {shotgun_sh-0.2.8.dev1 → shotgun_sh-0.2.8.dev3}/src/shotgun/tui/screens/chat_screen/__init__.py +0 -0
- {shotgun_sh-0.2.8.dev1 → shotgun_sh-0.2.8.dev3}/src/shotgun/tui/screens/chat_screen/command_providers.py +0 -0
- {shotgun_sh-0.2.8.dev1 → shotgun_sh-0.2.8.dev3}/src/shotgun/tui/screens/chat_screen/hint_message.py +0 -0
- {shotgun_sh-0.2.8.dev1 → shotgun_sh-0.2.8.dev3}/src/shotgun/tui/screens/chat_screen/history.py +0 -0
- {shotgun_sh-0.2.8.dev1 → shotgun_sh-0.2.8.dev3}/src/shotgun/tui/screens/directory_setup.py +0 -0
- {shotgun_sh-0.2.8.dev1 → shotgun_sh-0.2.8.dev3}/src/shotgun/tui/screens/feedback.py +0 -0
- {shotgun_sh-0.2.8.dev1 → shotgun_sh-0.2.8.dev3}/src/shotgun/tui/screens/model_picker.py +0 -0
- {shotgun_sh-0.2.8.dev1 → shotgun_sh-0.2.8.dev3}/src/shotgun/tui/screens/provider_config.py +0 -0
- {shotgun_sh-0.2.8.dev1 → shotgun_sh-0.2.8.dev3}/src/shotgun/tui/screens/shotgun_auth.py +0 -0
- {shotgun_sh-0.2.8.dev1 → shotgun_sh-0.2.8.dev3}/src/shotgun/tui/screens/splash.py +0 -0
- {shotgun_sh-0.2.8.dev1 → shotgun_sh-0.2.8.dev3}/src/shotgun/tui/screens/welcome.py +0 -0
- {shotgun_sh-0.2.8.dev1 → shotgun_sh-0.2.8.dev3}/src/shotgun/tui/styles.tcss +0 -0
- {shotgun_sh-0.2.8.dev1 → shotgun_sh-0.2.8.dev3}/src/shotgun/tui/utils/__init__.py +0 -0
- {shotgun_sh-0.2.8.dev1 → shotgun_sh-0.2.8.dev3}/src/shotgun/tui/utils/mode_progress.py +0 -0
- {shotgun_sh-0.2.8.dev1 → shotgun_sh-0.2.8.dev3}/src/shotgun/utils/__init__.py +0 -0
- {shotgun_sh-0.2.8.dev1 → shotgun_sh-0.2.8.dev3}/src/shotgun/utils/datetime_utils.py +0 -0
- {shotgun_sh-0.2.8.dev1 → shotgun_sh-0.2.8.dev3}/src/shotgun/utils/env_utils.py +0 -0
- {shotgun_sh-0.2.8.dev1 → shotgun_sh-0.2.8.dev3}/src/shotgun/utils/file_system_utils.py +0 -0
- {shotgun_sh-0.2.8.dev1 → shotgun_sh-0.2.8.dev3}/src/shotgun/utils/source_detection.py +0 -0
- {shotgun_sh-0.2.8.dev1 → shotgun_sh-0.2.8.dev3}/src/shotgun/utils/update_checker.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: shotgun-sh
|
|
3
|
-
Version: 0.2.8.
|
|
3
|
+
Version: 0.2.8.dev3
|
|
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
|
|
@@ -36,7 +36,6 @@ Requires-Dist: sentencepiece>=0.2.0
|
|
|
36
36
|
Requires-Dist: sentry-sdk[pure-eval]>=2.0.0
|
|
37
37
|
Requires-Dist: tenacity>=8.0.0
|
|
38
38
|
Requires-Dist: textual-dev>=1.7.0
|
|
39
|
-
Requires-Dist: textual-serve>=0.1.0
|
|
40
39
|
Requires-Dist: textual>=6.1.0
|
|
41
40
|
Requires-Dist: tiktoken>=0.7.0
|
|
42
41
|
Requires-Dist: tree-sitter-go>=0.23.0
|
|
@@ -408,82 +408,6 @@ export SENTRY_DSN=your-sentry-dsn
|
|
|
408
408
|
- **Opt-in for development**: Telemetry requires explicit environment variables
|
|
409
409
|
- **Automatic in production**: Production builds include telemetry for error tracking
|
|
410
410
|
|
|
411
|
-
## Docker
|
|
412
|
-
|
|
413
|
-
Run Shotgun in a Docker container with web access.
|
|
414
|
-
|
|
415
|
-
### Using Pre-built Images (Recommended)
|
|
416
|
-
|
|
417
|
-
Pull the official image from GitHub Container Registry:
|
|
418
|
-
|
|
419
|
-
```bash
|
|
420
|
-
# Pull latest stable version
|
|
421
|
-
docker pull ghcr.io/shotgun-sh/shotgun:latest
|
|
422
|
-
|
|
423
|
-
# Or pull a specific version
|
|
424
|
-
docker pull ghcr.io/shotgun-sh/shotgun:v0.1.0
|
|
425
|
-
|
|
426
|
-
# Or pull development version
|
|
427
|
-
docker pull ghcr.io/shotgun-sh/shotgun:dev
|
|
428
|
-
```
|
|
429
|
-
|
|
430
|
-
Then run:
|
|
431
|
-
|
|
432
|
-
```bash
|
|
433
|
-
docker run -p 8000:8000 \
|
|
434
|
-
-v $(pwd):/workspace \
|
|
435
|
-
-v ~/.shotgun-sh:/home/shotgun/.shotgun-sh \
|
|
436
|
-
ghcr.io/shotgun-sh/shotgun:latest --no-update-check
|
|
437
|
-
```
|
|
438
|
-
|
|
439
|
-
### Building from Source (Optional)
|
|
440
|
-
|
|
441
|
-
If you prefer to build the image yourself:
|
|
442
|
-
|
|
443
|
-
```bash
|
|
444
|
-
docker build -t shotgun:latest .
|
|
445
|
-
```
|
|
446
|
-
|
|
447
|
-
### Run the Container
|
|
448
|
-
|
|
449
|
-
The container requires two volume mounts:
|
|
450
|
-
1. Your codebase/workspace directory (mounted to `/workspace`)
|
|
451
|
-
2. Config directory for API keys and settings (mounted to `/home/shotgun/.shotgun-sh`)
|
|
452
|
-
|
|
453
|
-
```bash
|
|
454
|
-
# Basic usage (serves on port 8000)
|
|
455
|
-
docker run -p 8000:8000 \
|
|
456
|
-
-v $(pwd):/workspace \
|
|
457
|
-
-v ~/.shotgun-sh:/home/shotgun/.shotgun-sh \
|
|
458
|
-
ghcr.io/shotgun-sh/shotgun:latest --no-update-check
|
|
459
|
-
|
|
460
|
-
# Custom port
|
|
461
|
-
docker run -p 3000:3000 \
|
|
462
|
-
-v $(pwd):/workspace \
|
|
463
|
-
-v ~/.shotgun-sh:/home/shotgun/.shotgun-sh \
|
|
464
|
-
ghcr.io/shotgun-sh/shotgun:latest --no-update-check --port 3000
|
|
465
|
-
|
|
466
|
-
# Different codebase directory
|
|
467
|
-
docker run -p 8000:8000 \
|
|
468
|
-
-v /path/to/your/project:/workspace \
|
|
469
|
-
-v ~/.shotgun-sh:/home/shotgun/.shotgun-sh \
|
|
470
|
-
ghcr.io/shotgun-sh/shotgun:latest --no-update-check
|
|
471
|
-
|
|
472
|
-
# Run in background with auto-restart
|
|
473
|
-
docker run -d --restart unless-stopped \
|
|
474
|
-
--name shotgun-web \
|
|
475
|
-
-p 8000:8000 \
|
|
476
|
-
-v $(pwd):/workspace \
|
|
477
|
-
-v ~/.shotgun-sh:/home/shotgun/.shotgun-sh \
|
|
478
|
-
ghcr.io/shotgun-sh/shotgun:latest --no-update-check
|
|
479
|
-
```
|
|
480
|
-
|
|
481
|
-
### Configuration
|
|
482
|
-
|
|
483
|
-
On first run, configure your API keys through the web UI. The configuration will persist in the mounted `~/.shotgun-sh` directory.
|
|
484
|
-
|
|
485
|
-
Access the web interface at `http://localhost:8000` (or your custom port).
|
|
486
|
-
|
|
487
411
|
## Support
|
|
488
412
|
|
|
489
413
|
Join our discord https://discord.gg/5RmY6J2N7s
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "shotgun-sh"
|
|
3
|
-
version = "0.2.8.
|
|
3
|
+
version = "0.2.8.dev3"
|
|
4
4
|
description = "AI-powered research, planning, and task management CLI tool"
|
|
5
5
|
readme = "README_PYPI.md"
|
|
6
6
|
license = { text = "MIT" }
|
|
@@ -32,7 +32,6 @@ dependencies = [
|
|
|
32
32
|
"posthog>=3.0.0",
|
|
33
33
|
"textual>=6.1.0",
|
|
34
34
|
"textual-dev>=1.7.0",
|
|
35
|
-
"textual-serve>=0.1.0",
|
|
36
35
|
"kuzu>=0.7.0",
|
|
37
36
|
"tree-sitter>=0.21.0",
|
|
38
37
|
"tree-sitter-python>=0.23.0",
|
|
@@ -381,13 +381,12 @@ class AgentManager(Widget):
|
|
|
381
381
|
|
|
382
382
|
# Clear file tracker before each run to track only this run's operations
|
|
383
383
|
deps.file_tracker.clear()
|
|
384
|
-
# preprocess messages; maybe we need to include the user answer in the message history
|
|
385
384
|
|
|
386
|
-
|
|
385
|
+
# Don't manually add the user prompt - Pydantic AI will include it in result.new_messages()
|
|
386
|
+
# This prevents duplicates and confusion with incremental mounting
|
|
387
387
|
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
self._post_messages_updated()
|
|
388
|
+
# Save current message history before the run
|
|
389
|
+
original_messages = self.ui_message_history.copy()
|
|
391
390
|
|
|
392
391
|
# Start with persistent message history
|
|
393
392
|
message_history = self.message_history
|
|
@@ -125,34 +125,6 @@ def main(
|
|
|
125
125
|
help="Continue previous TUI conversation",
|
|
126
126
|
),
|
|
127
127
|
] = False,
|
|
128
|
-
web: Annotated[
|
|
129
|
-
bool,
|
|
130
|
-
typer.Option(
|
|
131
|
-
"--web",
|
|
132
|
-
help="Serve TUI as web application",
|
|
133
|
-
),
|
|
134
|
-
] = False,
|
|
135
|
-
port: Annotated[
|
|
136
|
-
int,
|
|
137
|
-
typer.Option(
|
|
138
|
-
"--port",
|
|
139
|
-
help="Port for web server (only used with --web)",
|
|
140
|
-
),
|
|
141
|
-
] = 8000,
|
|
142
|
-
host: Annotated[
|
|
143
|
-
str,
|
|
144
|
-
typer.Option(
|
|
145
|
-
"--host",
|
|
146
|
-
help="Host address for web server (only used with --web)",
|
|
147
|
-
),
|
|
148
|
-
] = "localhost",
|
|
149
|
-
public_url: Annotated[
|
|
150
|
-
str | None,
|
|
151
|
-
typer.Option(
|
|
152
|
-
"--public-url",
|
|
153
|
-
help="Public URL if behind proxy (only used with --web)",
|
|
154
|
-
),
|
|
155
|
-
] = None,
|
|
156
128
|
) -> None:
|
|
157
129
|
"""Shotgun - AI-powered CLI tool."""
|
|
158
130
|
logger.debug("Starting shotgun CLI application")
|
|
@@ -162,32 +134,16 @@ def main(
|
|
|
162
134
|
perform_auto_update_async(no_update_check=no_update_check)
|
|
163
135
|
|
|
164
136
|
if ctx.invoked_subcommand is None and not ctx.resilient_parsing:
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
finally:
|
|
176
|
-
# Ensure PostHog is shut down cleanly even if server exits unexpectedly
|
|
177
|
-
from shotgun.posthog_telemetry import shutdown
|
|
178
|
-
|
|
179
|
-
shutdown()
|
|
180
|
-
else:
|
|
181
|
-
logger.debug("Launching shotgun TUI application")
|
|
182
|
-
try:
|
|
183
|
-
tui_app.run(
|
|
184
|
-
no_update_check=no_update_check, continue_session=continue_session
|
|
185
|
-
)
|
|
186
|
-
finally:
|
|
187
|
-
# Ensure PostHog is shut down cleanly even if TUI exits unexpectedly
|
|
188
|
-
from shotgun.posthog_telemetry import shutdown
|
|
189
|
-
|
|
190
|
-
shutdown()
|
|
137
|
+
logger.debug("Launching shotgun TUI application")
|
|
138
|
+
try:
|
|
139
|
+
tui_app.run(
|
|
140
|
+
no_update_check=no_update_check, continue_session=continue_session
|
|
141
|
+
)
|
|
142
|
+
finally:
|
|
143
|
+
# Ensure PostHog is shut down cleanly even if TUI exits unexpectedly
|
|
144
|
+
from shotgun.posthog_telemetry import shutdown
|
|
145
|
+
|
|
146
|
+
shutdown()
|
|
191
147
|
raise typer.Exit()
|
|
192
148
|
|
|
193
149
|
# For CLI commands, register PostHog shutdown handler
|
|
@@ -152,121 +152,5 @@ def run(no_update_check: bool = False, continue_session: bool = False) -> None:
|
|
|
152
152
|
app.run(inline_no_clear=True)
|
|
153
153
|
|
|
154
154
|
|
|
155
|
-
def serve(
|
|
156
|
-
host: str = "localhost",
|
|
157
|
-
port: int = 8000,
|
|
158
|
-
public_url: str | None = None,
|
|
159
|
-
no_update_check: bool = False,
|
|
160
|
-
continue_session: bool = False,
|
|
161
|
-
) -> None:
|
|
162
|
-
"""Serve the TUI application as a web application.
|
|
163
|
-
|
|
164
|
-
Args:
|
|
165
|
-
host: Host address for the web server.
|
|
166
|
-
port: Port number for the web server.
|
|
167
|
-
public_url: Public URL if behind a proxy.
|
|
168
|
-
no_update_check: If True, disable automatic update checks.
|
|
169
|
-
continue_session: If True, continue from previous conversation.
|
|
170
|
-
"""
|
|
171
|
-
# Clean up any corrupted databases BEFORE starting the TUI
|
|
172
|
-
# This prevents crashes from corrupted databases during initialization
|
|
173
|
-
import asyncio
|
|
174
|
-
|
|
175
|
-
from textual_serve.server import Server
|
|
176
|
-
|
|
177
|
-
from shotgun.codebase.core.manager import CodebaseGraphManager
|
|
178
|
-
from shotgun.utils import get_shotgun_home
|
|
179
|
-
|
|
180
|
-
storage_dir = get_shotgun_home() / "codebases"
|
|
181
|
-
manager = CodebaseGraphManager(storage_dir)
|
|
182
|
-
|
|
183
|
-
try:
|
|
184
|
-
removed = asyncio.run(manager.cleanup_corrupted_databases())
|
|
185
|
-
if removed:
|
|
186
|
-
logger.info(
|
|
187
|
-
f"Cleaned up {len(removed)} corrupted database(s) before TUI startup"
|
|
188
|
-
)
|
|
189
|
-
except Exception as e:
|
|
190
|
-
logger.error(f"Failed to cleanup corrupted databases: {e}")
|
|
191
|
-
# Continue anyway - the TUI can still function
|
|
192
|
-
|
|
193
|
-
# Create a new event loop after asyncio.run() closes the previous one
|
|
194
|
-
# This is needed for the Server.serve() method
|
|
195
|
-
loop = asyncio.new_event_loop()
|
|
196
|
-
asyncio.set_event_loop(loop)
|
|
197
|
-
|
|
198
|
-
# Build the command string based on flags
|
|
199
|
-
command = "shotgun"
|
|
200
|
-
if no_update_check:
|
|
201
|
-
command += " --no-update-check"
|
|
202
|
-
if continue_session:
|
|
203
|
-
command += " --continue"
|
|
204
|
-
|
|
205
|
-
# Create and start the server with hardcoded title and debug=False
|
|
206
|
-
server = Server(
|
|
207
|
-
command=command,
|
|
208
|
-
host=host,
|
|
209
|
-
port=port,
|
|
210
|
-
title="The Shotgun",
|
|
211
|
-
public_url=public_url,
|
|
212
|
-
)
|
|
213
|
-
|
|
214
|
-
# Set up graceful shutdown on SIGTERM/SIGINT
|
|
215
|
-
import signal
|
|
216
|
-
import sys
|
|
217
|
-
|
|
218
|
-
def signal_handler(_signum: int, _frame: Any) -> None:
|
|
219
|
-
"""Handle shutdown signals gracefully."""
|
|
220
|
-
from shotgun.posthog_telemetry import shutdown
|
|
221
|
-
|
|
222
|
-
logger.info("Received shutdown signal, cleaning up...")
|
|
223
|
-
# Restore stdout/stderr before shutting down
|
|
224
|
-
sys.stdout = original_stdout
|
|
225
|
-
sys.stderr = original_stderr
|
|
226
|
-
shutdown()
|
|
227
|
-
sys.exit(0)
|
|
228
|
-
|
|
229
|
-
signal.signal(signal.SIGTERM, signal_handler)
|
|
230
|
-
signal.signal(signal.SIGINT, signal_handler)
|
|
231
|
-
|
|
232
|
-
# Suppress the textual-serve banner by redirecting stdout/stderr
|
|
233
|
-
import io
|
|
234
|
-
|
|
235
|
-
# Capture and suppress the banner, but show the actual serving URL
|
|
236
|
-
original_stdout = sys.stdout
|
|
237
|
-
original_stderr = sys.stderr
|
|
238
|
-
|
|
239
|
-
captured_output = io.StringIO()
|
|
240
|
-
sys.stdout = captured_output
|
|
241
|
-
sys.stderr = captured_output
|
|
242
|
-
|
|
243
|
-
try:
|
|
244
|
-
# This will print the banner to our captured output
|
|
245
|
-
import logging
|
|
246
|
-
|
|
247
|
-
# Temporarily set logging to ERROR level to suppress INFO messages
|
|
248
|
-
textual_serve_logger = logging.getLogger("textual_serve")
|
|
249
|
-
original_level = textual_serve_logger.level
|
|
250
|
-
textual_serve_logger.setLevel(logging.ERROR)
|
|
251
|
-
|
|
252
|
-
# Print our own message to the original stdout
|
|
253
|
-
sys.stdout = original_stdout
|
|
254
|
-
sys.stderr = original_stderr
|
|
255
|
-
print(f"Serving Shotgun TUI at http://{host}:{port}")
|
|
256
|
-
print("Press Ctrl+C to quit")
|
|
257
|
-
|
|
258
|
-
# Now suppress output again for the serve call
|
|
259
|
-
sys.stdout = captured_output
|
|
260
|
-
sys.stderr = captured_output
|
|
261
|
-
|
|
262
|
-
server.serve(debug=False)
|
|
263
|
-
finally:
|
|
264
|
-
# Restore original stdout/stderr
|
|
265
|
-
sys.stdout = original_stdout
|
|
266
|
-
sys.stderr = original_stderr
|
|
267
|
-
if "textual_serve_logger" in locals():
|
|
268
|
-
textual_serve_logger.setLevel(original_level)
|
|
269
|
-
|
|
270
|
-
|
|
271
155
|
if __name__ == "__main__":
|
|
272
156
|
run()
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{shotgun_sh-0.2.8.dev1 → shotgun_sh-0.2.8.dev3}/src/shotgun/agents/history/context_extraction.py
RENAMED
|
File without changes
|
{shotgun_sh-0.2.8.dev1 → shotgun_sh-0.2.8.dev3}/src/shotgun/agents/history/history_building.py
RENAMED
|
File without changes
|
{shotgun_sh-0.2.8.dev1 → shotgun_sh-0.2.8.dev3}/src/shotgun/agents/history/history_processors.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{shotgun_sh-0.2.8.dev1 → shotgun_sh-0.2.8.dev3}/src/shotgun/agents/history/token_counting/base.py
RENAMED
|
File without changes
|
{shotgun_sh-0.2.8.dev1 → shotgun_sh-0.2.8.dev3}/src/shotgun/agents/history/token_counting/openai.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{shotgun_sh-0.2.8.dev1 → shotgun_sh-0.2.8.dev3}/src/shotgun/agents/history/token_counting/utils.py
RENAMED
|
File without changes
|
{shotgun_sh-0.2.8.dev1 → shotgun_sh-0.2.8.dev3}/src/shotgun/agents/history/token_estimation.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{shotgun_sh-0.2.8.dev1 → shotgun_sh-0.2.8.dev3}/src/shotgun/agents/tools/codebase/__init__.py
RENAMED
|
File without changes
|
{shotgun_sh-0.2.8.dev1 → shotgun_sh-0.2.8.dev3}/src/shotgun/agents/tools/codebase/codebase_shell.py
RENAMED
|
File without changes
|
|
File without changes
|
{shotgun_sh-0.2.8.dev1 → shotgun_sh-0.2.8.dev3}/src/shotgun/agents/tools/codebase/file_read.py
RENAMED
|
File without changes
|
|
File without changes
|
{shotgun_sh-0.2.8.dev1 → shotgun_sh-0.2.8.dev3}/src/shotgun/agents/tools/codebase/query_graph.py
RENAMED
|
File without changes
|
{shotgun_sh-0.2.8.dev1 → shotgun_sh-0.2.8.dev3}/src/shotgun/agents/tools/codebase/retrieve_code.py
RENAMED
|
File without changes
|
|
File without changes
|
{shotgun_sh-0.2.8.dev1 → shotgun_sh-0.2.8.dev3}/src/shotgun/agents/tools/web_search/__init__.py
RENAMED
|
File without changes
|
{shotgun_sh-0.2.8.dev1 → shotgun_sh-0.2.8.dev3}/src/shotgun/agents/tools/web_search/anthropic.py
RENAMED
|
File without changes
|
{shotgun_sh-0.2.8.dev1 → shotgun_sh-0.2.8.dev3}/src/shotgun/agents/tools/web_search/gemini.py
RENAMED
|
File without changes
|
{shotgun_sh-0.2.8.dev1 → shotgun_sh-0.2.8.dev3}/src/shotgun/agents/tools/web_search/openai.py
RENAMED
|
File without changes
|
{shotgun_sh-0.2.8.dev1 → shotgun_sh-0.2.8.dev3}/src/shotgun/agents/tools/web_search/utils.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{shotgun_sh-0.2.8.dev1 → shotgun_sh-0.2.8.dev3}/src/shotgun/codebase/core/change_detector.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{shotgun_sh-0.2.8.dev1 → shotgun_sh-0.2.8.dev3}/src/shotgun/codebase/core/language_config.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{shotgun_sh-0.2.8.dev1 → shotgun_sh-0.2.8.dev3}/src/shotgun/prompts/agents/state/system_state.j2
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{shotgun_sh-0.2.8.dev1 → shotgun_sh-0.2.8.dev3}/src/shotgun/prompts/codebase/cypher_system.j2
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{shotgun_sh-0.2.8.dev1 → shotgun_sh-0.2.8.dev3}/src/shotgun/prompts/history/summarization.j2
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{shotgun_sh-0.2.8.dev1 → shotgun_sh-0.2.8.dev3}/src/shotgun/tui/filtered_codebase_service.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{shotgun_sh-0.2.8.dev1 → shotgun_sh-0.2.8.dev3}/src/shotgun/tui/screens/chat_screen/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
{shotgun_sh-0.2.8.dev1 → shotgun_sh-0.2.8.dev3}/src/shotgun/tui/screens/chat_screen/hint_message.py
RENAMED
|
File without changes
|
{shotgun_sh-0.2.8.dev1 → shotgun_sh-0.2.8.dev3}/src/shotgun/tui/screens/chat_screen/history.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|