titan-cli 0.1.0__py3-none-any.whl → 0.1.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.
titan_cli/__init__.py CHANGED
@@ -1,3 +1,3 @@
1
1
  """Titan CLI - Modular development tools orchestrator."""
2
2
 
3
- __version__ = "0.1.0"
3
+ __version__ = "0.1.1"
titan_cli/core/config.py CHANGED
@@ -16,7 +16,8 @@ class TitanConfig:
16
16
  def __init__(
17
17
  self,
18
18
  registry: Optional[PluginRegistry] = None,
19
- global_config_path: Optional[Path] = None
19
+ global_config_path: Optional[Path] = None,
20
+ skip_plugin_init: bool = False
20
21
  ):
21
22
  # Core dependencies
22
23
  self.registry = registry or PluginRegistry()
@@ -32,12 +33,15 @@ class TitanConfig:
32
33
  self._global_config_path = global_config_path or self.GLOBAL_CONFIG
33
34
 
34
35
  # Initial load
35
- self.load()
36
+ self.load(skip_plugin_init=skip_plugin_init)
36
37
 
37
- def load(self):
38
+ def load(self, skip_plugin_init: bool = False):
38
39
  """
39
40
  Reloads the entire configuration from disk, including global config
40
41
  and the project config from the current working directory.
42
+
43
+ Args:
44
+ skip_plugin_init: If True, skip plugin initialization. Useful during setup wizards.
41
45
  """
42
46
  # Load global config
43
47
  self.global_config = self._load_toml(self._global_config_path)
@@ -61,10 +65,11 @@ class TitanConfig:
61
65
  secrets_path = Path.cwd()
62
66
  self.secrets = SecretManager(project_path=secrets_path if secrets_path.is_dir() else None)
63
67
 
64
- # Reset and re-initialize plugins
65
- self.registry.reset()
66
- self.registry.initialize_plugins(config=self, secrets=self.secrets)
67
- self._plugin_warnings = self.registry.list_failed()
68
+ # Reset and re-initialize plugins (unless skipped during setup)
69
+ if not skip_plugin_init:
70
+ self.registry.reset()
71
+ self.registry.initialize_plugins(config=self, secrets=self.secrets)
72
+ self._plugin_warnings = self.registry.list_failed()
68
73
 
69
74
  # Re-initialize WorkflowRegistry
70
75
  # Use current working directory for workflows
@@ -32,8 +32,9 @@ def launch_tui():
32
32
 
33
33
  if not global_config_path.exists():
34
34
  # First-time setup: Launch global setup wizard
35
+ # Skip plugin initialization until after setup completes
35
36
  plugin_registry = PluginRegistry()
36
- config = TitanConfig(registry=plugin_registry)
37
+ config = TitanConfig(registry=plugin_registry, skip_plugin_init=True)
37
38
 
38
39
  # We'll create a special wrapper screen that handles the wizard flow
39
40
  from .screens.base import BaseScreen
@@ -136,15 +137,13 @@ def launch_tui():
136
137
  app.run()
137
138
  return
138
139
 
139
- # Global config exists, initialize normally
140
- plugin_registry = PluginRegistry()
141
- config = TitanConfig(registry=plugin_registry)
142
-
143
- # Check if project config exists in current directory
140
+ # Global config exists, check if project config exists in current directory
144
141
  project_config_path = Path.cwd() / ".titan" / "config.toml"
145
142
 
146
143
  if not project_config_path.exists():
147
- # Project not configured: Launch project setup wizard
144
+ # Project not configured: Skip plugin initialization until after setup
145
+ plugin_registry = PluginRegistry()
146
+ config = TitanConfig(registry=plugin_registry, skip_plugin_init=True)
148
147
  # Create a wrapper screen similar to global wizard flow
149
148
  from .screens.base import BaseScreen
150
149
  from textual.app import ComposeResult
@@ -200,6 +199,8 @@ def launch_tui():
200
199
  app.run()
201
200
  return
202
201
 
203
- # Both global and project configs exist: Run normally
202
+ # Both global and project configs exist: Initialize normally with plugins
203
+ plugin_registry = PluginRegistry()
204
+ config = TitanConfig(registry=plugin_registry) # Plugins will initialize here
204
205
  app = TitanApp(config=config)
205
206
  app.run()
titan_cli/ui/tui/icons.py CHANGED
@@ -17,16 +17,16 @@ class Icons:
17
17
  # Status indicators
18
18
  SUCCESS = "✅"
19
19
  ERROR = "❌"
20
- WARNING = "⚠️"
21
- INFO = "ℹ️ "
20
+ WARNING = ""
21
+ INFO = " "
22
22
  QUESTION = "❓"
23
23
 
24
24
  # Progress states
25
- PENDING = "⏸️ "
25
+ PENDING = " "
26
26
  RUNNING = "⏳"
27
27
  COMPLETED = SUCCESS # Alias
28
28
  FAILED = ERROR # Alias
29
- SKIPPED = "⏭️ "
29
+ SKIPPED = " "
30
30
 
31
31
  # Workflow & execution
32
32
  WORKFLOW = "⚡"
@@ -51,8 +51,8 @@ class Icons:
51
51
  # Git & VCS
52
52
  GIT_BRANCH = "🌿"
53
53
  GIT_COMMIT = "💾"
54
- GIT_PULL = "⬇️"
55
- GIT_PUSH = "⬆️"
54
+ GIT_PULL = ""
55
+ GIT_PUSH = ""
56
56
 
57
57
  # AI & Automation
58
58
  AI = "🤖"
@@ -61,7 +61,7 @@ class Icons:
61
61
 
62
62
  # General UI
63
63
  MENU = "☰"
64
- SETTINGS = "⚙️ "
64
+ SETTINGS = " "
65
65
  SEARCH = "🔍"
66
66
  STAR = "⭐"
67
67
  CHECK = "✓"
@@ -1,9 +1,9 @@
1
- Metadata-Version: 2.4
1
+ Metadata-Version: 2.1
2
2
  Name: titan-cli
3
- Version: 0.1.0
3
+ Version: 0.1.1
4
4
  Summary: Modular development tools orchestrator - Streamline your workflows with AI integration and intuitive terminal UI
5
+ Home-page: https://github.com/masmovil/titan-cli
5
6
  License: MIT
6
- License-File: LICENSE
7
7
  Keywords: cli,workflow,orchestrator,automation,devtools,ai
8
8
  Author: finxo
9
9
  Author-email: finxeto@gmail.com
@@ -19,8 +19,6 @@ Classifier: Programming Language :: Python :: 3
19
19
  Classifier: Programming Language :: Python :: 3.10
20
20
  Classifier: Programming Language :: Python :: 3.11
21
21
  Classifier: Programming Language :: Python :: 3.12
22
- Classifier: Programming Language :: Python :: 3.13
23
- Classifier: Programming Language :: Python :: 3.14
24
22
  Requires-Dist: anthropic (>=0.75.0,<0.76.0)
25
23
  Requires-Dist: google-auth (>=2.43.0,<3.0.0)
26
24
  Requires-Dist: google-genai (>=1.58.0,<2.0.0)
@@ -36,7 +34,6 @@ Requires-Dist: tomli (>=2.0.0,<3.0.0)
36
34
  Requires-Dist: tomli-w (>=1.0.0,<2.0.0)
37
35
  Requires-Dist: typer (>=0.20.0,<1.0.0)
38
36
  Project-URL: Documentation, https://github.com/masmovil/titan-cli
39
- Project-URL: Homepage, https://github.com/masmovil/titan-cli
40
37
  Project-URL: Repository, https://github.com/masmovil/titan-cli
41
38
  Description-Content-Type: text/markdown
42
39
 
@@ -63,7 +63,7 @@ titan_plugin_jira/utils/__init__.py,sha256=CW540Bjbw33xaoiPlawEtNE7ncr4K3Pg_sFgZ
63
63
  titan_plugin_jira/utils/issue_sorter.py,sha256=5l5K20ppb1zfhuEOyXXkmfV_zh1wTio1IUWMU2IBaRE,4012
64
64
  titan_plugin_jira/utils/saved_queries.py,sha256=bWFI1LSs8ydCRprcJTHk6DMrq1wXN27pb5zoYYVJpRw,5111
65
65
  titan_plugin_jira/workflows/analyze-jira-issues.yaml,sha256=VQ-_trGZGxvQUFsbXmrc8r2q9TIi5bfO-T4l6r-JyMw,802
66
- titan_cli/__init__.py,sha256=q-HGnQolqIL5vxFzDVXWIrNrHgdOMo4FWZXzZZI24NU,81
66
+ titan_cli/__init__.py,sha256=_nW8DdME-bAY5jhY6JxgOQiAnuI67w3BjvFlEVIUKOI,81
67
67
  titan_cli/__main__.py,sha256=4tNjZ0tzDfvLID_RSjWREFBqEQ7pRnnerIqAv9Qd5uY,68
68
68
  titan_cli/ai/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
69
69
  titan_cli/ai/agents/__init__.py,sha256=u5KT7ROBAvhpl_cVoju6rYtmKunxp2dti2clqTzVU00,341
@@ -81,7 +81,7 @@ titan_cli/cli.py,sha256=PpziNMB7TIW_-KDSbeUxkhVEaWwOSiKeaImcs0CNkJ0,1431
81
81
  titan_cli/clients/__init__.py,sha256=gI2mQ8JeuqFa8u7XAbYlyjOph1Z5VR42NnLOjq65iD4,22
82
82
  titan_cli/clients/gcloud_client.py,sha256=BXc7PWqcWIjF4-l2GV3w__r11MmfPtl8OW5TFw4hgr4,1902
83
83
  titan_cli/core/__init__.py,sha256=Z5dxtLlHbAQu79NUqjlA7Ovh9toDM2B9PiVv0J-kWGQ,71
84
- titan_cli/core/config.py,sha256=Ah8XBCMhYKmgcWdM3fZAcJ3lXoxoo9mWBoQIL0l0weA,11205
84
+ titan_cli/core/config.py,sha256=gI_32djLbKSV2QJ4FbRx3yXEgoaACbT_FTE3SFOd7HI,11496
85
85
  titan_cli/core/discovery.py,sha256=SPU5OcCg7mJTiA8cIR_6gHw8AdZmDVGi-nK80138HRU,1816
86
86
  titan_cli/core/errors.py,sha256=I-xX6CCIFhno0ZUK8IRPX6RhXfj3Q7mckiCj-xintdY,2419
87
87
  titan_cli/core/models.py,sha256=468qjAXv6KBK3ZSEg4oV3wVOfNKDFzXIkqugBfMiisI,2373
@@ -111,10 +111,10 @@ titan_cli/external_cli/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3
111
111
  titan_cli/external_cli/configs.py,sha256=thW7_8sRYC3t76Wsjvw20vovNOSz1MhVukzabfdFCOo,417
112
112
  titan_cli/external_cli/launcher.py,sha256=2t8UJmGwjGsrPk4PRSba_ZnYgEpZNrCvKUENvHxwaSw,2450
113
113
  titan_cli/messages.py,sha256=fBDQKHam94s5e2f5EBfqA0Ir88KfYmoF1Y4MbmUP2hY,5945
114
- titan_cli/ui/tui/__init__.py,sha256=XilMKYj530tXyM68z3fzDYtyGS39gzZm1jUVnvnfLTs,9394
114
+ titan_cli/ui/tui/__init__.py,sha256=w0rk1XmK6NT-kohOJSd8clhg98QAYKo9eLBFm4Kwf50,9645
115
115
  titan_cli/ui/tui/__previews__/statusbar_preview.py,sha256=QWrVbIDuMufveVavEKnPnvVVtjHHhg-leWDk98uj7Rc,3495
116
116
  titan_cli/ui/tui/app.py,sha256=96bwBKddqDXBo37POx1zR3oBMDfrF4lrDaaXPL3JJos,3992
117
- titan_cli/ui/tui/icons.py,sha256=wdZbfaY98ywLVdIMaH-Yc8BmwwIBLLQ73POl9EVmlQ0,1336
117
+ titan_cli/ui/tui/icons.py,sha256=KMlcDmjsLoVpN4nQVqkCQzMU0DdBM4YIvahc_On1aGE,1318
118
118
  titan_cli/ui/tui/screens/__init__.py,sha256=0jqJJPqep7_pVKLRVpyl8iE6q9g8hj5G2kn8KLPhThY,708
119
119
  titan_cli/ui/tui/screens/ai_config.py,sha256=jDI-IsrlWs6bPgUA_7ZSRxw_JS9XvakJqi2WxOcUUAU,16634
120
120
  titan_cli/ui/tui/screens/ai_config_wizard.py,sha256=BnbOwvW0FqFOEtCfzfjl0YfgxM1KPGxpGI91YkNrloU,32122
@@ -139,8 +139,8 @@ titan_cli/ui/tui/widgets/table.py,sha256=uWXyUda6mvflBybrrUSZh5Nvf794ege8SUe_0D2
139
139
  titan_cli/ui/tui/widgets/text.py,sha256=p5h2V9w-JmPigwUFn-ky_D7gyYiix_93FJNqNmCYNHY,4057
140
140
  titan_cli/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
141
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,,
142
+ titan_cli-0.1.1.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
143
+ titan_cli-0.1.1.dist-info/METADATA,sha256=ga09v13ZzFk6i97Kps2xS7Gxyvq0GT26UXD1A0Nlo8c,4526
144
+ titan_cli-0.1.1.dist-info/WHEEL,sha256=FMvqSimYX_P7y0a7UY-_Mc83r5zkBZsCYPm7Lr0Bsq4,88
145
+ titan_cli-0.1.1.dist-info/entry_points.txt,sha256=i_Zucivhsx6FcrkKDQS00MJ_Nwse-nAEkuksCcs_Ym8,186
146
+ titan_cli-0.1.1.dist-info/RECORD,,
@@ -1,4 +1,4 @@
1
1
  Wheel-Version: 1.0
2
- Generator: poetry-core 2.2.1
2
+ Generator: poetry-core 1.8.1
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
@@ -1,6 +1,5 @@
1
1
  [console_scripts]
2
2
  titan=titan_cli.cli:app
3
- titan-dev=titan_cli.cli:app
4
3
 
5
4
  [titan.plugins]
6
5
  git=titan_plugin_git.plugin:GitPlugin