titan-cli 0.1.0__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.
Files changed (146) hide show
  1. titan_cli/__init__.py +3 -0
  2. titan_cli/__main__.py +4 -0
  3. titan_cli/ai/__init__.py +0 -0
  4. titan_cli/ai/agents/__init__.py +15 -0
  5. titan_cli/ai/agents/base.py +152 -0
  6. titan_cli/ai/client.py +170 -0
  7. titan_cli/ai/constants.py +56 -0
  8. titan_cli/ai/exceptions.py +48 -0
  9. titan_cli/ai/models.py +34 -0
  10. titan_cli/ai/oauth_helper.py +120 -0
  11. titan_cli/ai/providers/__init__.py +9 -0
  12. titan_cli/ai/providers/anthropic.py +117 -0
  13. titan_cli/ai/providers/base.py +75 -0
  14. titan_cli/ai/providers/gemini.py +278 -0
  15. titan_cli/cli.py +59 -0
  16. titan_cli/clients/__init__.py +1 -0
  17. titan_cli/clients/gcloud_client.py +52 -0
  18. titan_cli/core/__init__.py +3 -0
  19. titan_cli/core/config.py +274 -0
  20. titan_cli/core/discovery.py +51 -0
  21. titan_cli/core/errors.py +81 -0
  22. titan_cli/core/models.py +52 -0
  23. titan_cli/core/plugins/available.py +36 -0
  24. titan_cli/core/plugins/models.py +67 -0
  25. titan_cli/core/plugins/plugin_base.py +108 -0
  26. titan_cli/core/plugins/plugin_registry.py +163 -0
  27. titan_cli/core/secrets.py +141 -0
  28. titan_cli/core/workflows/__init__.py +22 -0
  29. titan_cli/core/workflows/models.py +88 -0
  30. titan_cli/core/workflows/project_step_source.py +86 -0
  31. titan_cli/core/workflows/workflow_exceptions.py +17 -0
  32. titan_cli/core/workflows/workflow_filter_service.py +137 -0
  33. titan_cli/core/workflows/workflow_registry.py +419 -0
  34. titan_cli/core/workflows/workflow_sources.py +307 -0
  35. titan_cli/engine/__init__.py +39 -0
  36. titan_cli/engine/builder.py +159 -0
  37. titan_cli/engine/context.py +82 -0
  38. titan_cli/engine/mock_context.py +176 -0
  39. titan_cli/engine/results.py +91 -0
  40. titan_cli/engine/steps/ai_assistant_step.py +185 -0
  41. titan_cli/engine/steps/command_step.py +93 -0
  42. titan_cli/engine/utils/__init__.py +3 -0
  43. titan_cli/engine/utils/venv.py +31 -0
  44. titan_cli/engine/workflow_executor.py +187 -0
  45. titan_cli/external_cli/__init__.py +0 -0
  46. titan_cli/external_cli/configs.py +17 -0
  47. titan_cli/external_cli/launcher.py +65 -0
  48. titan_cli/messages.py +121 -0
  49. titan_cli/ui/tui/__init__.py +205 -0
  50. titan_cli/ui/tui/__previews__/statusbar_preview.py +88 -0
  51. titan_cli/ui/tui/app.py +113 -0
  52. titan_cli/ui/tui/icons.py +70 -0
  53. titan_cli/ui/tui/screens/__init__.py +24 -0
  54. titan_cli/ui/tui/screens/ai_config.py +498 -0
  55. titan_cli/ui/tui/screens/ai_config_wizard.py +882 -0
  56. titan_cli/ui/tui/screens/base.py +110 -0
  57. titan_cli/ui/tui/screens/cli_launcher.py +151 -0
  58. titan_cli/ui/tui/screens/global_setup_wizard.py +363 -0
  59. titan_cli/ui/tui/screens/main_menu.py +162 -0
  60. titan_cli/ui/tui/screens/plugin_config_wizard.py +550 -0
  61. titan_cli/ui/tui/screens/plugin_management.py +377 -0
  62. titan_cli/ui/tui/screens/project_setup_wizard.py +686 -0
  63. titan_cli/ui/tui/screens/workflow_execution.py +592 -0
  64. titan_cli/ui/tui/screens/workflows.py +249 -0
  65. titan_cli/ui/tui/textual_components.py +537 -0
  66. titan_cli/ui/tui/textual_workflow_executor.py +405 -0
  67. titan_cli/ui/tui/theme.py +102 -0
  68. titan_cli/ui/tui/widgets/__init__.py +40 -0
  69. titan_cli/ui/tui/widgets/button.py +108 -0
  70. titan_cli/ui/tui/widgets/header.py +116 -0
  71. titan_cli/ui/tui/widgets/panel.py +81 -0
  72. titan_cli/ui/tui/widgets/status_bar.py +115 -0
  73. titan_cli/ui/tui/widgets/table.py +77 -0
  74. titan_cli/ui/tui/widgets/text.py +177 -0
  75. titan_cli/utils/__init__.py +0 -0
  76. titan_cli/utils/autoupdate.py +155 -0
  77. titan_cli-0.1.0.dist-info/METADATA +149 -0
  78. titan_cli-0.1.0.dist-info/RECORD +146 -0
  79. titan_cli-0.1.0.dist-info/WHEEL +4 -0
  80. titan_cli-0.1.0.dist-info/entry_points.txt +9 -0
  81. titan_cli-0.1.0.dist-info/licenses/LICENSE +201 -0
  82. titan_plugin_git/__init__.py +1 -0
  83. titan_plugin_git/clients/__init__.py +8 -0
  84. titan_plugin_git/clients/git_client.py +772 -0
  85. titan_plugin_git/exceptions.py +40 -0
  86. titan_plugin_git/messages.py +112 -0
  87. titan_plugin_git/models.py +39 -0
  88. titan_plugin_git/plugin.py +118 -0
  89. titan_plugin_git/steps/__init__.py +1 -0
  90. titan_plugin_git/steps/ai_commit_message_step.py +171 -0
  91. titan_plugin_git/steps/branch_steps.py +104 -0
  92. titan_plugin_git/steps/commit_step.py +80 -0
  93. titan_plugin_git/steps/push_step.py +63 -0
  94. titan_plugin_git/steps/status_step.py +59 -0
  95. titan_plugin_git/workflows/__previews__/__init__.py +1 -0
  96. titan_plugin_git/workflows/__previews__/commit_ai_preview.py +124 -0
  97. titan_plugin_git/workflows/commit-ai.yaml +28 -0
  98. titan_plugin_github/__init__.py +11 -0
  99. titan_plugin_github/agents/__init__.py +6 -0
  100. titan_plugin_github/agents/config_loader.py +130 -0
  101. titan_plugin_github/agents/issue_generator.py +353 -0
  102. titan_plugin_github/agents/pr_agent.py +528 -0
  103. titan_plugin_github/clients/__init__.py +8 -0
  104. titan_plugin_github/clients/github_client.py +1105 -0
  105. titan_plugin_github/config/__init__.py +0 -0
  106. titan_plugin_github/config/pr_agent.toml +85 -0
  107. titan_plugin_github/exceptions.py +28 -0
  108. titan_plugin_github/messages.py +88 -0
  109. titan_plugin_github/models.py +330 -0
  110. titan_plugin_github/plugin.py +131 -0
  111. titan_plugin_github/steps/__init__.py +12 -0
  112. titan_plugin_github/steps/ai_pr_step.py +172 -0
  113. titan_plugin_github/steps/create_pr_step.py +86 -0
  114. titan_plugin_github/steps/github_prompt_steps.py +171 -0
  115. titan_plugin_github/steps/issue_steps.py +143 -0
  116. titan_plugin_github/steps/preview_step.py +40 -0
  117. titan_plugin_github/utils.py +82 -0
  118. titan_plugin_github/workflows/__previews__/__init__.py +1 -0
  119. titan_plugin_github/workflows/__previews__/create_pr_ai_preview.py +140 -0
  120. titan_plugin_github/workflows/create-issue-ai.yaml +32 -0
  121. titan_plugin_github/workflows/create-pr-ai.yaml +49 -0
  122. titan_plugin_jira/__init__.py +8 -0
  123. titan_plugin_jira/agents/__init__.py +6 -0
  124. titan_plugin_jira/agents/config_loader.py +154 -0
  125. titan_plugin_jira/agents/jira_agent.py +553 -0
  126. titan_plugin_jira/agents/prompts.py +364 -0
  127. titan_plugin_jira/agents/response_parser.py +435 -0
  128. titan_plugin_jira/agents/token_tracker.py +223 -0
  129. titan_plugin_jira/agents/validators.py +246 -0
  130. titan_plugin_jira/clients/jira_client.py +745 -0
  131. titan_plugin_jira/config/jira_agent.toml +92 -0
  132. titan_plugin_jira/config/templates/issue_analysis.md.j2 +78 -0
  133. titan_plugin_jira/exceptions.py +37 -0
  134. titan_plugin_jira/formatters/__init__.py +6 -0
  135. titan_plugin_jira/formatters/markdown_formatter.py +245 -0
  136. titan_plugin_jira/messages.py +115 -0
  137. titan_plugin_jira/models.py +89 -0
  138. titan_plugin_jira/plugin.py +264 -0
  139. titan_plugin_jira/steps/ai_analyze_issue_step.py +105 -0
  140. titan_plugin_jira/steps/get_issue_step.py +82 -0
  141. titan_plugin_jira/steps/prompt_select_issue_step.py +80 -0
  142. titan_plugin_jira/steps/search_saved_query_step.py +238 -0
  143. titan_plugin_jira/utils/__init__.py +13 -0
  144. titan_plugin_jira/utils/issue_sorter.py +140 -0
  145. titan_plugin_jira/utils/saved_queries.py +150 -0
  146. titan_plugin_jira/workflows/analyze-jira-issues.yaml +34 -0
@@ -0,0 +1,155 @@
1
+ """Auto-update utility for Titan CLI."""
2
+
3
+ import sys
4
+ import subprocess
5
+ from typing import Dict, Optional
6
+ from pathlib import Path
7
+
8
+ from titan_cli import __version__
9
+
10
+
11
+ def is_dev_install() -> bool:
12
+ """
13
+ Check if this is an editable/development installation.
14
+
15
+ Returns:
16
+ True if installed in development mode, False if from PyPI
17
+ """
18
+ import titan_cli
19
+
20
+ # Check if titan_cli is installed in site-packages or in a local directory
21
+ titan_path = Path(titan_cli.__file__).resolve().parent
22
+
23
+ # If the path contains 'site-packages', it's a production install
24
+ # If it's in a git repo or contains pyproject.toml nearby, it's dev
25
+ if 'site-packages' in str(titan_path):
26
+ return False
27
+
28
+ # Check for development indicators
29
+ parent = titan_path.parent
30
+ return (parent / 'pyproject.toml').exists() or (parent / '.git').exists()
31
+
32
+
33
+ def check_for_updates() -> Dict[str, any]:
34
+ """
35
+ Check PyPI for newer version.
36
+
37
+ Returns:
38
+ Dictionary with update information:
39
+ {
40
+ "update_available": bool,
41
+ "current_version": str,
42
+ "latest_version": Optional[str],
43
+ "is_dev_install": bool,
44
+ "error": Optional[str]
45
+ }
46
+ """
47
+ result = {
48
+ "update_available": False,
49
+ "current_version": __version__,
50
+ "latest_version": None,
51
+ "is_dev_install": is_dev_install(),
52
+ "error": None
53
+ }
54
+
55
+ # Skip check for dev installations
56
+ if result["is_dev_install"]:
57
+ return result
58
+
59
+ try:
60
+ import requests
61
+
62
+ response = requests.get(
63
+ "https://pypi.org/pypi/titan-cli/json",
64
+ timeout=3
65
+ )
66
+
67
+ if response.status_code != 200:
68
+ result["error"] = f"PyPI returned status {response.status_code}"
69
+ return result
70
+
71
+ data = response.json()
72
+ latest_version = data["info"]["version"]
73
+ result["latest_version"] = latest_version
74
+
75
+ # Simple version comparison (assumes semantic versioning)
76
+ from packaging import version
77
+ current = version.parse(__version__)
78
+ latest = version.parse(latest_version)
79
+
80
+ result["update_available"] = latest > current
81
+
82
+ except ImportError:
83
+ result["error"] = "Missing dependencies (requests, packaging)"
84
+ except Exception as e:
85
+ result["error"] = str(e)
86
+
87
+ return result
88
+
89
+
90
+ def perform_update() -> Dict[str, any]:
91
+ """
92
+ Perform auto-update using pipx or pip.
93
+
94
+ Returns:
95
+ Dictionary with update result:
96
+ {
97
+ "success": bool,
98
+ "method": str, # "pipx" or "pip"
99
+ "error": Optional[str]
100
+ }
101
+ """
102
+ result = {
103
+ "success": False,
104
+ "method": None,
105
+ "error": None
106
+ }
107
+
108
+ # Try pipx first (recommended)
109
+ try:
110
+ subprocess.check_call(
111
+ ["pipx", "upgrade", "titan-cli"],
112
+ stdout=subprocess.DEVNULL,
113
+ stderr=subprocess.DEVNULL
114
+ )
115
+ result["success"] = True
116
+ result["method"] = "pipx"
117
+ return result
118
+ except (FileNotFoundError, subprocess.CalledProcessError):
119
+ pass # Try pip as fallback
120
+
121
+ # Fallback to pip
122
+ try:
123
+ subprocess.check_call(
124
+ [sys.executable, "-m", "pip", "install", "--upgrade", "titan-cli"],
125
+ stdout=subprocess.DEVNULL,
126
+ stderr=subprocess.DEVNULL
127
+ )
128
+ result["success"] = True
129
+ result["method"] = "pip"
130
+ return result
131
+ except subprocess.CalledProcessError as e:
132
+ result["error"] = f"Update failed: {e}"
133
+ return result
134
+
135
+
136
+ def get_update_message(update_info: Dict[str, any]) -> Optional[str]:
137
+ """
138
+ Generate user-friendly update message.
139
+
140
+ Args:
141
+ update_info: Result from check_for_updates()
142
+
143
+ Returns:
144
+ Formatted message string or None if no update needed
145
+ """
146
+ if not update_info["update_available"]:
147
+ return None
148
+
149
+ current = update_info["current_version"]
150
+ latest = update_info["latest_version"]
151
+
152
+ return (
153
+ f"🔔 Update available: v{current} → v{latest}\n"
154
+ f" Run 'pipx upgrade titan-cli' to update"
155
+ )
@@ -0,0 +1,149 @@
1
+ Metadata-Version: 2.4
2
+ Name: titan-cli
3
+ Version: 0.1.0
4
+ Summary: Modular development tools orchestrator - Streamline your workflows with AI integration and intuitive terminal UI
5
+ License: MIT
6
+ License-File: LICENSE
7
+ Keywords: cli,workflow,orchestrator,automation,devtools,ai
8
+ Author: finxo
9
+ Author-email: finxeto@gmail.com
10
+ Maintainer: r-pedraza
11
+ Maintainer-email: raulpedrazaleon@gmail.com
12
+ Requires-Python: >=3.10,<4.0.0
13
+ Classifier: Development Status :: 5 - Production/Stable
14
+ Classifier: Environment :: Console
15
+ Classifier: Intended Audience :: Developers
16
+ Classifier: License :: OSI Approved :: MIT License
17
+ Classifier: Operating System :: OS Independent
18
+ Classifier: Programming Language :: Python :: 3
19
+ Classifier: Programming Language :: Python :: 3.10
20
+ Classifier: Programming Language :: Python :: 3.11
21
+ Classifier: Programming Language :: Python :: 3.12
22
+ Classifier: Programming Language :: Python :: 3.13
23
+ Classifier: Programming Language :: Python :: 3.14
24
+ Requires-Dist: anthropic (>=0.75.0,<0.76.0)
25
+ Requires-Dist: google-auth (>=2.43.0,<3.0.0)
26
+ Requires-Dist: google-genai (>=1.58.0,<2.0.0)
27
+ Requires-Dist: jinja2 (>=3.1.4,<4.0.0)
28
+ Requires-Dist: keyring (>=25.7.0,<26.0.0)
29
+ Requires-Dist: packaging (>=23.0,<25.0)
30
+ Requires-Dist: pydantic (>=2.0.0,<3.0.0)
31
+ Requires-Dist: python-dotenv (>=1.2.1,<2.0.0)
32
+ Requires-Dist: pyyaml (>=6.0.3,<7.0.0)
33
+ Requires-Dist: requests (>=2.31.0,<3.0.0)
34
+ Requires-Dist: textual (>=1.0.0,<2.0.0)
35
+ Requires-Dist: tomli (>=2.0.0,<3.0.0)
36
+ Requires-Dist: tomli-w (>=1.0.0,<2.0.0)
37
+ Requires-Dist: typer (>=0.20.0,<1.0.0)
38
+ Project-URL: Documentation, https://github.com/masmovil/titan-cli
39
+ Project-URL: Homepage, https://github.com/masmovil/titan-cli
40
+ Project-URL: Repository, https://github.com/masmovil/titan-cli
41
+ Description-Content-Type: text/markdown
42
+
43
+ # Titan CLI
44
+
45
+ > Modular development tools orchestrator - Streamline your workflows with AI integration and intuitive terminal UI
46
+
47
+ Titan CLI is a powerful command-line orchestrator that automates Git, GitHub, JIRA workflows through an extensible plugin system with optional AI assistance.
48
+
49
+ ## ✨ Features
50
+
51
+ - 🔧 **Project Configuration** - Centralized `.titan/config.toml` for project-specific settings
52
+ - 🔌 **Plugin System** - Extend functionality with Git, GitHub, JIRA, and custom plugins
53
+ - 🎨 **Modern TUI** - Beautiful terminal interface powered by Textual
54
+ - 🤖 **AI Integration** - Optional AI assistance (Claude & Gemini) for commits, PRs, and analysis
55
+ - ⚡ **Workflow Engine** - Compose atomic steps into powerful automated workflows
56
+ - 🔐 **Secure Secrets** - OS keyring integration for API tokens and credentials
57
+
58
+ ## 📦 Installation
59
+
60
+ ### For Users (Recommended)
61
+
62
+ ```bash
63
+ # Install with pipx (isolated environment)
64
+ pipx install titan-cli
65
+
66
+ # Verify installation
67
+ titan --version
68
+ ```
69
+
70
+ ### For Development
71
+
72
+ ```bash
73
+ # Clone repository
74
+ git clone https://github.com/masmovil/titan-cli.git
75
+ cd titan-cli
76
+
77
+ # Install with Poetry (editable mode)
78
+ poetry install
79
+
80
+ # Run development version
81
+ poetry run titan-dev
82
+ ```
83
+
84
+ ## 🚀 Quick Start
85
+
86
+ ### First Time Setup
87
+
88
+ ```bash
89
+ # Launch Titan (runs setup wizards on first launch)
90
+ titan
91
+ ```
92
+
93
+ On first run, Titan will guide you through:
94
+ 1. **Global Setup** - Configure AI providers (optional)
95
+ 2. **Project Setup** - Enable plugins and configure project settings
96
+
97
+ ### Basic Usage
98
+
99
+ ```bash
100
+ # Launch interactive TUI
101
+ titan
102
+
103
+ # Or run specific workflows
104
+ titan workflow run <workflow-name>
105
+ ```
106
+
107
+ ## 🔌 Built-in Plugins
108
+
109
+ Titan CLI v1.0.0 includes three core plugins:
110
+
111
+ - **Git Plugin** - Smart commits, branch management, AI-powered commit messages
112
+ - **GitHub Plugin** - Create PRs with AI descriptions, manage issues, code reviews
113
+ - **JIRA Plugin** - Search issues, AI-powered analysis, workflow automation
114
+
115
+ ## 🤖 AI Integration
116
+
117
+ Titan supports multiple AI providers:
118
+
119
+ - **Anthropic Claude** (Sonnet, Opus, Haiku)
120
+ - **Google Gemini** (Pro, Flash)
121
+
122
+ Configure during first setup or later via the TUI settings.
123
+
124
+ ## 📚 Documentation
125
+
126
+ - **Contributing**: See [DEVELOPMENT.md](DEVELOPMENT.md)
127
+ - **AI Agent Guide**: See [CLAUDE.md](CLAUDE.md)
128
+ - **Release History**: See [GitHub Releases](https://github.com/masmovil/titan-cli/releases)
129
+
130
+ ## 🤝 Contributing
131
+
132
+ Contributions are welcome! See [DEVELOPMENT.md](DEVELOPMENT.md) for:
133
+ - Development setup
134
+ - Code style guidelines
135
+ - Testing requirements
136
+ - Architecture overview
137
+
138
+ ## 📄 License
139
+
140
+ MIT License - see [LICENSE](LICENSE) for details
141
+
142
+ ## 🙏 Acknowledgments
143
+
144
+ Built with:
145
+ - [Typer](https://typer.tiangolo.com/) - CLI framework
146
+ - [Textual](https://textual.textualize.io/) - Terminal UI framework
147
+ - [Pydantic](https://docs.pydantic.dev/) - Data validation
148
+ - [Poetry](https://python-poetry.org/) - Dependency management
149
+
@@ -0,0 +1,146 @@
1
+ titan_plugin_git/__init__.py,sha256=msIvkIXf4msXC3-q9NS2Ln556Zt9QQl-lQ688RYJnjA,50
2
+ titan_plugin_git/clients/__init__.py,sha256=WNAZ_kqzD_GC9NpxSjZQvkQEkcvB-tZTZPcETAK7UkE,184
3
+ titan_plugin_git/clients/git_client.py,sha256=Z1vBcKEfvdah9FyMyUqkg3_4zCTI2VSpbKps50t_EjM,23425
4
+ titan_plugin_git/exceptions.py,sha256=540oqBBvyoAcO0Kh_seuBVY-Au9jEam88rif11XA-GY,657
5
+ titan_plugin_git/messages.py,sha256=esQJEYOC8-IaA-TkhCwtQ0ur0RWjMF_VdfGT_CX3eqs,5940
6
+ titan_plugin_git/models.py,sha256=z1tUi8bh-EzAOsLRkuqWbYMJAIzZmYP_m7AhH53z254,665
7
+ titan_plugin_git/plugin.py,sha256=cYQO9HkSXF4qEuOiD4YEmWgRXjxZsL12ocLHS8EO1hg,3870
8
+ titan_plugin_git/steps/__init__.py,sha256=msIvkIXf4msXC3-q9NS2Ln556Zt9QQl-lQ688RYJnjA,50
9
+ titan_plugin_git/steps/ai_commit_message_step.py,sha256=gC7AYZNvFc1ZiMYOMSJ3UoT_jwFFhSWxTYF2db9sOFk,6395
10
+ titan_plugin_git/steps/branch_steps.py,sha256=TwZ7OyrQhy4kfInjSnXWFK9NlHFCh9laxtHT070Bg_E,3320
11
+ titan_plugin_git/steps/commit_step.py,sha256=nHHXdpfuWgYhJqFEKkGFRRszEQnv40dzMoHwKr3ceK0,2966
12
+ titan_plugin_git/steps/push_step.py,sha256=3GRHF0Y8EjDva5EB6l9AA_VwRtOu8XXI0hZRDo7LwsM,2372
13
+ titan_plugin_git/steps/status_step.py,sha256=z_M_MBpkYnc9-X2U_EbDZtrKGeoEM_tmrhyJzYIU8aY,1920
14
+ titan_plugin_git/workflows/__previews__/__init__.py,sha256=MXi4U95Tyi2Ku1ODkMtzMyvfQhkmrBiFxEi9IzoDVdg,40
15
+ titan_plugin_git/workflows/__previews__/commit_ai_preview.py,sha256=lMQt9dzVQMAZe1mFSSxAUBaSxYSLB4XMThGCO92mHVM,3744
16
+ titan_plugin_git/workflows/commit-ai.yaml,sha256=ZVhB9CHtzJEa13e8twNDB_b9tzDJDlflpYqoz2v6E7g,573
17
+ titan_plugin_github/__init__.py,sha256=Isw61E7k0RKHHx3eyC7m5x8JBFSY0iR6tS24Pil6oEI,240
18
+ titan_plugin_github/agents/__init__.py,sha256=jTGWPeICit5UBN_UhIhwPPq_Z6TLOyl1hRXiQTq0I8s,184
19
+ titan_plugin_github/agents/config_loader.py,sha256=3zHseeCMabK7QfWmHQuviCL7gsVUEfM8WkuXrNhBtu8,5241
20
+ titan_plugin_github/agents/issue_generator.py,sha256=JC6ZjR-huBb4QBfbY4eGA-7G9NLYNuGNhPmQXsqAP2I,14360
21
+ titan_plugin_github/agents/pr_agent.py,sha256=Zp13p29F9r-DYlqSFrEVp6W66jaG6pJ0JyDexPK7oY4,17787
22
+ titan_plugin_github/clients/__init__.py,sha256=n5ovE3nzbHhSiB39Jrf0_E8rfRdcGYs8tpYw7qfglnI,166
23
+ titan_plugin_github/clients/github_client.py,sha256=UTSncdhkNINhE01gEYYZLssouk9Dc20qEhuraphrPXo,33981
24
+ titan_plugin_github/config/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
25
+ titan_plugin_github/config/pr_agent.toml,sha256=TjnopX0PfWZn1HNw5vQkrwGMpp9o7gNab0tSxj93mHw,2505
26
+ titan_plugin_github/exceptions.py,sha256=f1sJqe9xSvtsj9uoOOzcvdczefWvsAbhBjW5L2Fgxdc,878
27
+ titan_plugin_github/messages.py,sha256=OFLgetbcsvlrI8x2zvoU3yGl1Cv7FO-WyOQFYdSrqmw,5376
28
+ titan_plugin_github/models.py,sha256=Oauvp-jxMl35UJio1P0zEp4liZD-EDtCNxqSRc03UcU,9400
29
+ titan_plugin_github/plugin.py,sha256=kJPMvRiL5l_Ax4bbHZSzVKHvTAv3uuEvxQY50APNb70,5190
30
+ titan_plugin_github/steps/__init__.py,sha256=3HQgbDBbWluKTm7LN6gxkE4gMYpBcaSMDkZpIFHek2c,287
31
+ titan_plugin_github/steps/ai_pr_step.py,sha256=v2-GM3u9xcWAREiMXWKVh3pRL1fDurIpAN_A0Vjmuiw,5752
32
+ titan_plugin_github/steps/create_pr_step.py,sha256=W5HTYhdZ-HCcUyCINS2moUpgdIwJwBKrHObYoK8oMEo,3326
33
+ titan_plugin_github/steps/github_prompt_steps.py,sha256=JOPR9f43oKI1r-8mLBvjT7mwcIEEb7rg60LwpqJM-Kg,6154
34
+ titan_plugin_github/steps/issue_steps.py,sha256=HrXo_RGCalys4FBO5i90RGkgGPuN_jt7iMOtqmVimSE,4786
35
+ titan_plugin_github/steps/preview_step.py,sha256=TT7giO6H1hMcWxvTqJVEJiXBiZ7vNxzeekt1CErg8Ik,1403
36
+ titan_plugin_github/utils.py,sha256=ZMaYLABD6rvHRkoyDz72WGE-aIKRnyKaZgpw2FHxLK0,2325
37
+ titan_plugin_github/workflows/__previews__/__init__.py,sha256=t3X_YXZCc4XvlfCW37gdE5z_z0b8y_XCl15UjXA3dl8,38
38
+ titan_plugin_github/workflows/__previews__/create_pr_ai_preview.py,sha256=Q6e6KJqj9UvtNK-D5xfESlUDoFMaaMhCOuFpWCQVNkw,4515
39
+ titan_plugin_github/workflows/create-issue-ai.yaml,sha256=GDrZhLDNc8_DaPI3BKG4O5A4qJMP20Kkb5VeowIjSpM,818
40
+ titan_plugin_github/workflows/create-pr-ai.yaml,sha256=VW08CxgmPZfvgfWE9-6RFcGDjnJwUUpOHVWv4wg4mVU,1066
41
+ titan_plugin_jira/__init__.py,sha256=b2-ut3LZmbu9lOjOL-9X8P27AC454XbxbrpoVSR6jgk,159
42
+ titan_plugin_jira/agents/__init__.py,sha256=pbooB15t2HT38JUQX0zuNu4EeXhTd0G8gTdL9bNZpRQ,194
43
+ titan_plugin_jira/agents/config_loader.py,sha256=SfRCW5xEW7ztFziJERcjsexp6Qup_8cuNiaXgC7As_k,7024
44
+ titan_plugin_jira/agents/jira_agent.py,sha256=HXYfGPUEohkVMDjwJHRob9vnto5HWxNa_mO6a04oIuY,20335
45
+ titan_plugin_jira/agents/prompts.py,sha256=MWiEbLz_vnHwdnT8toPiS4wDCK0m8lw1kLW6TpSrqQU,12123
46
+ titan_plugin_jira/agents/response_parser.py,sha256=BoM64QhXUcr2APikqjcc2d78U-fdwClSoa3Nv7sm7uI,13881
47
+ titan_plugin_jira/agents/token_tracker.py,sha256=yNJQ8HYQl0S-nTZsPHYbb5Vc70rzGHpAsiWE83Gy2zA,7191
48
+ titan_plugin_jira/agents/validators.py,sha256=PzwtSbjzN1mrsU2gNQn6EqBJSVI-pTPhbpQiHuG3LXc,8186
49
+ titan_plugin_jira/clients/jira_client.py,sha256=8M5M5Rw1HXZ5kZdams7XWXxYv_ZXXLsdUdl0vqymTCE,24041
50
+ titan_plugin_jira/config/jira_agent.toml,sha256=IOBaBlM3c7KsNiMCwOdKdibjB0QjRo71w1Kaf65CrHs,3114
51
+ titan_plugin_jira/config/templates/issue_analysis.md.j2,sha256=xPznSjW3U8GXFtumRx2BwtyS4erFYWHk2zCUrT7XCQA,1452
52
+ titan_plugin_jira/exceptions.py,sha256=NCOVDhynbVmyNFvi_zihl2JPTMr4twIsIb2Bk-v7ZJU,902
53
+ titan_plugin_jira/formatters/__init__.py,sha256=W0OL5zwdagAbnQoYzEhf47xVtveZ1thC1IgTXbLjIsc,222
54
+ titan_plugin_jira/formatters/markdown_formatter.py,sha256=JG-u4rslaA1PH9UQ8LEs7wwkC6GcoeyONU-mbNc_OXw,8174
55
+ titan_plugin_jira/messages.py,sha256=WRy6zwBoXzhsZXF1sLnRWGSrjnOhKxvk6BStBRh94DU,5760
56
+ titan_plugin_jira/models.py,sha256=jjW-Rw7BOYzlmfwjAuVSk2Gzyozw2gyZX4LFFPtUqD4,1664
57
+ titan_plugin_jira/plugin.py,sha256=q1yeK5iaqwo-jdCIVq3f6cwgYGDOsMkX0hoanaJChb0,9559
58
+ titan_plugin_jira/steps/ai_analyze_issue_step.py,sha256=VDYwHQno_bheKjBeXfF4p6C-o_d0ThOsLmCR1Lj9s5Q,3916
59
+ titan_plugin_jira/steps/get_issue_step.py,sha256=Q5KUlU7b7QqPBRjdZha3szUNlnJcrHuwVqNEeyXY11g,2790
60
+ titan_plugin_jira/steps/prompt_select_issue_step.py,sha256=fwCSAy8JChHHRHiKb8U-ilVtpL2phOsm3UftGtArZnI,2588
61
+ titan_plugin_jira/steps/search_saved_query_step.py,sha256=o6uM1fqY9-o4vZdXxopmOFgz_RoW933E91VjtKPZU3M,8623
62
+ titan_plugin_jira/utils/__init__.py,sha256=CW540Bjbw33xaoiPlawEtNE7ncr4K3Pg_sFgZO_aIwM,238
63
+ titan_plugin_jira/utils/issue_sorter.py,sha256=5l5K20ppb1zfhuEOyXXkmfV_zh1wTio1IUWMU2IBaRE,4012
64
+ titan_plugin_jira/utils/saved_queries.py,sha256=bWFI1LSs8ydCRprcJTHk6DMrq1wXN27pb5zoYYVJpRw,5111
65
+ titan_plugin_jira/workflows/analyze-jira-issues.yaml,sha256=VQ-_trGZGxvQUFsbXmrc8r2q9TIi5bfO-T4l6r-JyMw,802
66
+ titan_cli/__init__.py,sha256=q-HGnQolqIL5vxFzDVXWIrNrHgdOMo4FWZXzZZI24NU,81
67
+ titan_cli/__main__.py,sha256=4tNjZ0tzDfvLID_RSjWREFBqEQ7pRnnerIqAv9Qd5uY,68
68
+ titan_cli/ai/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
69
+ titan_cli/ai/agents/__init__.py,sha256=u5KT7ROBAvhpl_cVoju6rYtmKunxp2dti2clqTzVU00,341
70
+ titan_cli/ai/agents/base.py,sha256=X8InxFvbMkYpBdIPc6aX39AkeDqc6FLfPfmyuV-ZMDU,4368
71
+ titan_cli/ai/client.py,sha256=3oTsrHI5loBDrT3cxqXL0UAqhezlTjwTna3eCK3k_qg,5750
72
+ titan_cli/ai/constants.py,sha256=krBLIzdpZWZBrXglaKX3PdNLaagw_ifVUpqA5OQlwek,1243
73
+ titan_cli/ai/exceptions.py,sha256=Myv135JdbwnVrfhWYCXxV8th566OfL6S0iTh6EwLyhw,891
74
+ titan_cli/ai/models.py,sha256=_oycLrjBWZTW-3L7GkW0DkqeRLRjE8IkD2KcAfXatvs,737
75
+ titan_cli/ai/oauth_helper.py,sha256=JJunVUTiRg-XLO-u_znOAC-CCvXQps5xp74vRWip6a8,3365
76
+ titan_cli/ai/providers/__init__.py,sha256=sNzrQGY3MM1EmYaHKJux4yRE5tvZMIRUlHcLfGHF12s,185
77
+ titan_cli/ai/providers/anthropic.py,sha256=ibfIpseHsouEEc8HdIUihzlMQCJHQgNa1sQNSoPY0WY,4085
78
+ titan_cli/ai/providers/base.py,sha256=X2Mp0acJm4WSEWgF6m7d30x5CjVBwkW4pzdHyETmjwc,1778
79
+ titan_cli/ai/providers/gemini.py,sha256=hQwNe3wKXlORh6mE3vCHa-jm1vCJStqTmZLxDbaFUcA,10004
80
+ titan_cli/cli.py,sha256=PpziNMB7TIW_-KDSbeUxkhVEaWwOSiKeaImcs0CNkJ0,1431
81
+ titan_cli/clients/__init__.py,sha256=gI2mQ8JeuqFa8u7XAbYlyjOph1Z5VR42NnLOjq65iD4,22
82
+ titan_cli/clients/gcloud_client.py,sha256=BXc7PWqcWIjF4-l2GV3w__r11MmfPtl8OW5TFw4hgr4,1902
83
+ titan_cli/core/__init__.py,sha256=Z5dxtLlHbAQu79NUqjlA7Ovh9toDM2B9PiVv0J-kWGQ,71
84
+ titan_cli/core/config.py,sha256=Ah8XBCMhYKmgcWdM3fZAcJ3lXoxoo9mWBoQIL0l0weA,11205
85
+ titan_cli/core/discovery.py,sha256=SPU5OcCg7mJTiA8cIR_6gHw8AdZmDVGi-nK80138HRU,1816
86
+ titan_cli/core/errors.py,sha256=I-xX6CCIFhno0ZUK8IRPX6RhXfj3Q7mckiCj-xintdY,2419
87
+ titan_cli/core/models.py,sha256=468qjAXv6KBK3ZSEg4oV3wVOfNKDFzXIkqugBfMiisI,2373
88
+ titan_cli/core/plugins/available.py,sha256=__ejonPeOqw2Zy9gIRB-CHeFO9SvTFclG095afgnIz4,1163
89
+ titan_cli/core/plugins/models.py,sha256=3TFFKLkoIu6wzeFbGh2vGAU-Hr6Bvt9lroY7ZghUugE,3525
90
+ titan_cli/core/plugins/plugin_base.py,sha256=TtHjO-g1PBS0W0vfAM-5z-0xwL0IT2Ohi3BJ0TIfTEU,2597
91
+ titan_cli/core/plugins/plugin_registry.py,sha256=HLrmHNCN8X7qtLRHj-lfc72Roe_7CKZfCFUUCG1Qe2M,7185
92
+ titan_cli/core/secrets.py,sha256=4A4rszaie1wJh7xccetOO9rM_0jwYiIQIZVgCM0tCT4,4642
93
+ titan_cli/core/workflows/__init__.py,sha256=CvpDKR4Co5Vzbb5aFTt5r6vyoqjGexj6Mt1_x0Z4iwg,653
94
+ titan_cli/core/workflows/models.py,sha256=xMXmZKMTYRawUeuAO0hG5dF6QMRCM-TWFNfoveBxJpQ,4746
95
+ titan_cli/core/workflows/project_step_source.py,sha256=K03MSe-417e2gIL8ygdE3TCPMWBCBA-mL4W57RZG1-Y,3009
96
+ titan_cli/core/workflows/workflow_exceptions.py,sha256=vgbMHtLMbksyALLEtUL8r9Vp9G-AqLja6ZARs8JyRAo,493
97
+ titan_cli/core/workflows/workflow_filter_service.py,sha256=HucZSXka15_2Ns2fJdm85NRT-rJwISuyYcyJQq-Sf9s,4346
98
+ titan_cli/core/workflows/workflow_registry.py,sha256=HZeP5tR5_r9smjC2e5xzEr_3Vr6nMq054ctUsgO0z8I,17324
99
+ titan_cli/core/workflows/workflow_sources.py,sha256=aD0xuBKvACmyFSu7x6_ZJ2u_FbVZQ8mBFKGVihAHW1w,11457
100
+ titan_cli/engine/__init__.py,sha256=mtTPvwswXRgV-BtBc8zJUy0qNUocagstbsXKCT_DRPk,816
101
+ titan_cli/engine/builder.py,sha256=yjJnqanJJtr4hq0qLPRYYr_Hc28i9svnHPoyq2QUSiU,5265
102
+ titan_cli/engine/context.py,sha256=6oY0RTnhBwnoDDC7dX1daE2E5__AG8WM8LvX-Ca55OM,2356
103
+ titan_cli/engine/mock_context.py,sha256=ZcWnPJFffyLK2ghrVRcZz8hRFYE0Hpr5noh49yIqLes,4987
104
+ titan_cli/engine/results.py,sha256=UKYYHPngRrzPoMPeGuTZLT689_WLNDrlopcrRxiM72s,2403
105
+ titan_cli/engine/steps/ai_assistant_step.py,sha256=513hG1zD6kzOJQg6AG_IXE0d_iURO9tBkIxZhoelOVI,7281
106
+ titan_cli/engine/steps/command_step.py,sha256=FH3mTzSqS9VuZPanmnmabBUJuYB6J1frIfkqwXlcrPE,3199
107
+ titan_cli/engine/utils/__init__.py,sha256=fkj1-rKdKRQRktUhmYKw6VMDAmnMsILjxZGTRMMcWPY,73
108
+ titan_cli/engine/utils/venv.py,sha256=drsu00VuQjiaS19Bq-WT3_IcrS3utj5T16840oSHE54,1063
109
+ titan_cli/engine/workflow_executor.py,sha256=A-TSz60HO121J2JfYBE8J0JuJEdRpJCsuh1R2UowRQk,8918
110
+ titan_cli/external_cli/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
111
+ titan_cli/external_cli/configs.py,sha256=thW7_8sRYC3t76Wsjvw20vovNOSz1MhVukzabfdFCOo,417
112
+ titan_cli/external_cli/launcher.py,sha256=2t8UJmGwjGsrPk4PRSba_ZnYgEpZNrCvKUENvHxwaSw,2450
113
+ titan_cli/messages.py,sha256=fBDQKHam94s5e2f5EBfqA0Ir88KfYmoF1Y4MbmUP2hY,5945
114
+ titan_cli/ui/tui/__init__.py,sha256=XilMKYj530tXyM68z3fzDYtyGS39gzZm1jUVnvnfLTs,9394
115
+ titan_cli/ui/tui/__previews__/statusbar_preview.py,sha256=QWrVbIDuMufveVavEKnPnvVVtjHHhg-leWDk98uj7Rc,3495
116
+ titan_cli/ui/tui/app.py,sha256=96bwBKddqDXBo37POx1zR3oBMDfrF4lrDaaXPL3JJos,3992
117
+ titan_cli/ui/tui/icons.py,sha256=wdZbfaY98ywLVdIMaH-Yc8BmwwIBLLQ73POl9EVmlQ0,1336
118
+ titan_cli/ui/tui/screens/__init__.py,sha256=0jqJJPqep7_pVKLRVpyl8iE6q9g8hj5G2kn8KLPhThY,708
119
+ titan_cli/ui/tui/screens/ai_config.py,sha256=jDI-IsrlWs6bPgUA_7ZSRxw_JS9XvakJqi2WxOcUUAU,16634
120
+ titan_cli/ui/tui/screens/ai_config_wizard.py,sha256=BnbOwvW0FqFOEtCfzfjl0YfgxM1KPGxpGI91YkNrloU,32122
121
+ titan_cli/ui/tui/screens/base.py,sha256=ufVYBkVzetQxsPQTobN0HgUGdSB0ARfRtvo-02DS2Pk,3695
122
+ titan_cli/ui/tui/screens/cli_launcher.py,sha256=C9XWe1jUr0-Q_PGwchL6bVu9N2g-QLa83jJZGl7ucHI,4385
123
+ titan_cli/ui/tui/screens/global_setup_wizard.py,sha256=gbkGMGXWJdfrIWvRvT5DDFZKKRWmf7nlGUuUkTtDiKI,12115
124
+ titan_cli/ui/tui/screens/main_menu.py,sha256=Rx41Hi7rn6O2OgQPark5JD0-ym0CRLHlr6XIG5CBJLA,4492
125
+ titan_cli/ui/tui/screens/plugin_config_wizard.py,sha256=yxwfBuZk3spn6fT3twoc9ZTokL0kDOvvMnOgKyMzJVQ,18882
126
+ titan_cli/ui/tui/screens/plugin_management.py,sha256=2UvdxISzaiQBpm1OW1cpDrQS4ghTSC_87nlpx5Nrjhw,12356
127
+ titan_cli/ui/tui/screens/project_setup_wizard.py,sha256=Q2cCHlzWpiLdtGUTHnkHnXapkxZahRAVTx5MI78sszU,24210
128
+ titan_cli/ui/tui/screens/workflow_execution.py,sha256=JHZlKtqpYRosVP4TVSGzT1L8UxlCoCNorBFVXYPyzik,23526
129
+ titan_cli/ui/tui/screens/workflows.py,sha256=lhpUzktq_60jEtT30OOEUnWR-NYuTIJIzi8fysP_IQc,8828
130
+ titan_cli/ui/tui/textual_components.py,sha256=5OplwbSuSdS5Q6Zwfs-wxp-rETvmpLt5IlVCYdoCYqg,17215
131
+ titan_cli/ui/tui/textual_workflow_executor.py,sha256=bVQx2TLkVlXfNZZgb9mmH4EZx5WPj3Djr0bMWx1lW68,17020
132
+ titan_cli/ui/tui/theme.py,sha256=FixTClXu7uEsqQWd_6Lc7pi7Rw7GccdK9j3YpUNY8K4,2068
133
+ titan_cli/ui/tui/widgets/__init__.py,sha256=NLJMQOyI0IPFLNZ62wrJBulKgOG8bK0J2utehgSQIxs,679
134
+ titan_cli/ui/tui/widgets/button.py,sha256=Z7aRve1PSKpcQOsPo1db2GlKfwKddAVsU2KfhSRarKw,2143
135
+ titan_cli/ui/tui/widgets/header.py,sha256=ZGZuhY4B15q56DcZItXjarOrDX0ASCPdDczIOrYXwJI,3043
136
+ titan_cli/ui/tui/widgets/panel.py,sha256=jcLKZQXVqMGsvi7mVoTyKWijjrmXOgtC2ZuAkk2Ulgc,1818
137
+ titan_cli/ui/tui/widgets/status_bar.py,sha256=7pbDfdorHM4JGf5qsjI0Z60G6MEJnMH466enOslt_VE,3361
138
+ titan_cli/ui/tui/widgets/table.py,sha256=uWXyUda6mvflBybrrUSZh5Nvf794ege8SUe_0D24y3c,1668
139
+ titan_cli/ui/tui/widgets/text.py,sha256=p5h2V9w-JmPigwUFn-ky_D7gyYiix_93FJNqNmCYNHY,4057
140
+ titan_cli/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
141
+ titan_cli/utils/autoupdate.py,sha256=s90BN_5_jvvJVgMpMXxI5KbFzst0SBBn7ELCh28SCYs,4140
142
+ titan_cli-0.1.0.dist-info/METADATA,sha256=V2SorJ6yCs2GPimLwQh5cx8Zx83dhWgxfCQgwbOkgYM,4662
143
+ titan_cli-0.1.0.dist-info/WHEEL,sha256=zp0Cn7JsFoX2ATtOhtaFYIiE2rmFAD4OcMhtUki8W3U,88
144
+ titan_cli-0.1.0.dist-info/entry_points.txt,sha256=w2KHSlhCCbGnhbOQ6czn53oG0ugodANjkkI9Cr3tld8,214
145
+ titan_cli-0.1.0.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
146
+ titan_cli-0.1.0.dist-info/RECORD,,
@@ -0,0 +1,4 @@
1
+ Wheel-Version: 1.0
2
+ Generator: poetry-core 2.2.1
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any
@@ -0,0 +1,9 @@
1
+ [console_scripts]
2
+ titan=titan_cli.cli:app
3
+ titan-dev=titan_cli.cli:app
4
+
5
+ [titan.plugins]
6
+ git=titan_plugin_git.plugin:GitPlugin
7
+ github=titan_plugin_github.plugin:GitHubPlugin
8
+ jira=titan_plugin_jira.plugin:JiraPlugin
9
+
@@ -0,0 +1,201 @@
1
+ Apache License
2
+ Version 2.0, January 2004
3
+ http://www.apache.org/licenses/
4
+
5
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
+
7
+ 1. Definitions.
8
+
9
+ "License" shall mean the terms and conditions for use, reproduction,
10
+ and distribution as defined by Sections 1 through 9 of this document.
11
+
12
+ "Licensor" shall mean the copyright owner or entity authorized by
13
+ the copyright owner that is granting the License.
14
+
15
+ "Legal Entity" shall mean the union of the acting entity and all
16
+ other entities that control, are controlled by, or are under common
17
+ control with that entity. For the purposes of this definition,
18
+ "control" means (i) the power, direct or indirect, to cause the
19
+ direction or management of such entity, whether by contract or
20
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
21
+ outstanding shares, or (iii) beneficial ownership of such entity.
22
+
23
+ "You" (or "Your") shall mean an individual or Legal Entity
24
+ exercising permissions granted by this License.
25
+
26
+ "Source" form shall mean the preferred form for making modifications,
27
+ including but not limited to software source code, documentation
28
+ source, and configuration files.
29
+
30
+ "Object" form shall mean any form resulting from mechanical
31
+ transformation or translation of a Source form, including but
32
+ not limited to compiled object code, generated documentation,
33
+ and conversions to other media types.
34
+
35
+ "Work" shall mean the work of authorship, whether in Source or
36
+ Object form, made available under the License, as indicated by a
37
+ copyright notice that is included in or attached to the work
38
+ (an example is provided in the Appendix below).
39
+
40
+ "Derivative Works" shall mean any work, whether in Source or Object
41
+ form, that is based on (or derived from) the Work and for which the
42
+ editorial revisions, annotations, elaborations, or other modifications
43
+ represent, as a whole, an original work of authorship. For the purposes
44
+ of this License, Derivative Works shall not include works that remain
45
+ separable from, or merely link (or bind by name) to the interfaces of,
46
+ the Work and Derivative Works thereof.
47
+
48
+ "Contribution" shall mean any work of authorship, including
49
+ the original version of the Work and any modifications or additions
50
+ to that Work or Derivative Works thereof, that is intentionally
51
+ submitted to Licensor for inclusion in the Work by the copyright owner
52
+ or by an individual or Legal Entity authorized to submit on behalf of
53
+ the copyright owner. For the purposes of this definition, "submitted"
54
+ means any form of electronic, verbal, or written communication sent
55
+ to the Licensor or its representatives, including but not limited to
56
+ communication on electronic mailing lists, source code control systems,
57
+ and issue tracking systems that are managed by, or on behalf of, the
58
+ Licensor for the purpose of discussing and improving the Work, but
59
+ excluding communication that is conspicuously marked or otherwise
60
+ designated in writing by the copyright owner as "Not a Contribution."
61
+
62
+ "Contributor" shall mean Licensor and any individual or Legal Entity
63
+ on behalf of whom a Contribution has been received by Licensor and
64
+ subsequently incorporated within the Work.
65
+
66
+ 2. Grant of Copyright License. Subject to the terms and conditions of
67
+ this License, each Contributor hereby grants to You a perpetual,
68
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
69
+ copyright license to reproduce, prepare Derivative Works of,
70
+ publicly display, publicly perform, sublicense, and distribute the
71
+ Work and such Derivative Works in Source or Object form.
72
+
73
+ 3. Grant of Patent License. Subject to the terms and conditions of
74
+ this License, each Contributor hereby grants to You a perpetual,
75
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
76
+ (except as stated in this section) patent license to make, have made,
77
+ use, offer to sell, sell, import, and otherwise transfer the Work,
78
+ where such license applies only to those patent claims licensable
79
+ by such Contributor that are necessarily infringed by their
80
+ Contribution(s) alone or by combination of their Contribution(s)
81
+ with the Work to which such Contribution(s) was submitted. If You
82
+ institute patent litigation against any entity (including a
83
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
84
+ or a Contribution incorporated within the Work constitutes direct
85
+ or contributory patent infringement, then any patent licenses
86
+ granted to You under this License for that Work shall terminate
87
+ as of the date such litigation is filed.
88
+
89
+ 4. Redistribution. You may reproduce and distribute copies of the
90
+ Work or Derivative Works thereof in any medium, with or without
91
+ modifications, and in Source or Object form, provided that You
92
+ meet the following conditions:
93
+
94
+ (a) You must give any other recipients of the Work or
95
+ Derivative Works a copy of this License; and
96
+
97
+ (b) You must cause any modified files to carry prominent notices
98
+ stating that You changed the files; and
99
+
100
+ (c) You must retain, in the Source form of any Derivative Works
101
+ that You distribute, all copyright, patent, trademark, and
102
+ attribution notices from the Source form of the Work,
103
+ excluding those notices that do not pertain to any part of
104
+ the Derivative Works; and
105
+
106
+ (d) If the Work includes a "NOTICE" text file as part of its
107
+ distribution, then any Derivative Works that You distribute must
108
+ include a readable copy of the attribution notices contained
109
+ within such NOTICE file, excluding those notices that do not
110
+ pertain to any part of the Derivative Works, in at least one
111
+ of the following places: within a NOTICE text file distributed
112
+ as part of the Derivative Works; within the Source form or
113
+ documentation, if provided along with the Derivative Works; or,
114
+ within a display generated by the Derivative Works, if and
115
+ wherever such third-party notices normally appear. The contents
116
+ of the NOTICE file are for informational purposes only and
117
+ do not modify the License. You may add Your own attribution
118
+ notices within Derivative Works that You distribute, alongside
119
+ or as an addendum to the NOTICE text from the Work, provided
120
+ that such additional attribution notices cannot be construed
121
+ as modifying the License.
122
+
123
+ You may add Your own copyright statement to Your modifications and
124
+ may provide additional or different license terms and conditions
125
+ for use, reproduction, or distribution of Your modifications, or
126
+ for any such Derivative Works as a whole, provided Your use,
127
+ reproduction, and distribution of the Work otherwise complies with
128
+ the conditions stated in this License.
129
+
130
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
131
+ any Contribution intentionally submitted for inclusion in the Work
132
+ by You to the Licensor shall be under the terms and conditions of
133
+ this License, without any additional terms or conditions.
134
+ Notwithstanding the above, nothing herein shall supersede or modify
135
+ the terms of any separate license agreement you may have executed
136
+ with Licensor regarding such Contributions.
137
+
138
+ 6. Trademarks. This License does not grant permission to use the trade
139
+ names, trademarks, service marks, or product names of the Licensor,
140
+ except as required for reasonable and customary use in describing the
141
+ origin of the Work and reproducing the content of the NOTICE file.
142
+
143
+ 7. Disclaimer of Warranty. Unless required by applicable law or
144
+ agreed to in writing, Licensor provides the Work (and each
145
+ Contributor provides its Contributions) on an "AS IS" BASIS,
146
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
147
+ implied, including, without limitation, any warranties or conditions
148
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
149
+ PARTICULAR PURPOSE. You are solely responsible for determining the
150
+ appropriateness of using or redistributing the Work and assume any
151
+ risks associated with Your exercise of permissions under this License.
152
+
153
+ 8. Limitation of Liability. In no event and under no legal theory,
154
+ whether in tort (including negligence), contract, or otherwise,
155
+ unless required by applicable law (such as deliberate and grossly
156
+ negligent acts) or agreed to in writing, shall any Contributor be
157
+ liable to You for damages, including any direct, indirect, special,
158
+ incidental, or consequential damages of any character arising as a
159
+ result of this License or out of the use or inability to use the
160
+ Work (including but not limited to damages for loss of goodwill,
161
+ work stoppage, computer failure or malfunction, or any and all
162
+ other commercial damages or losses), even if such Contributor
163
+ has been advised of the possibility of such damages.
164
+
165
+ 9. Accepting Warranty or Additional Liability. While redistributing
166
+ the Work or Derivative Works thereof, You may choose to offer,
167
+ and charge a fee for, acceptance of support, warranty, indemnity,
168
+ or other liability obligations and/or rights consistent with this
169
+ License. However, in accepting such obligations, You may act only
170
+ on Your own behalf and on Your sole responsibility, not on behalf
171
+ of any other Contributor, and only if You agree to indemnify,
172
+ defend, and hold each Contributor harmless for any liability
173
+ incurred by, or claims asserted against, such Contributor by reason
174
+ of your accepting any such warranty or additional liability.
175
+
176
+ END OF TERMS AND CONDITIONS
177
+
178
+ APPENDIX: How to apply the Apache License to your work.
179
+
180
+ To apply the Apache License to your work, attach the following
181
+ boilerplate notice, with the fields enclosed by brackets "[]"
182
+ replaced with your own identifying information. (Don't include
183
+ the brackets!) The text should be enclosed in the appropriate
184
+ comment syntax for the file format. We also recommend that a
185
+ file or class name and description of purpose be included on the
186
+ same "printed page" as the copyright notice for easier
187
+ identification within third-party archives.
188
+
189
+ Copyright [yyyy] [name of copyright owner]
190
+
191
+ Licensed under the Apache License, Version 2.0 (the "License");
192
+ you may not use this file except in compliance with the License.
193
+ You may obtain a copy of the License at
194
+
195
+ http://www.apache.org/licenses/LICENSE-2.0
196
+
197
+ Unless required by applicable law or agreed to in writing, software
198
+ distributed under the License is distributed on an "AS IS" BASIS,
199
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
200
+ See the License for the specific language governing permissions and
201
+ limitations under the License.