tactus 0.23.0__py3-none-any.whl → 0.24.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.
tactus/__init__.py CHANGED
@@ -5,7 +5,7 @@ Tactus provides a declarative workflow engine for AI agents with pluggable
5
5
  backends for storage, HITL, and chat recording.
6
6
  """
7
7
 
8
- __version__ = "0.23.0"
8
+ __version__ = "0.24.0"
9
9
 
10
10
  # Core exports
11
11
  from tactus.core.runtime import TactusRuntime
tactus/cli/app.py CHANGED
@@ -41,6 +41,30 @@ app = typer.Typer(
41
41
  )
42
42
 
43
43
 
44
+ @app.callback(invoke_without_command=True)
45
+ def main_callback(
46
+ ctx: typer.Context,
47
+ version: bool = typer.Option(
48
+ False,
49
+ "--version",
50
+ "-V",
51
+ help="Show version and exit",
52
+ is_eager=True,
53
+ ),
54
+ ):
55
+ """Tactus CLI callback for global options."""
56
+ if version:
57
+ from tactus import __version__
58
+
59
+ console.print(f"Tactus version: [bold]{__version__}[/bold]")
60
+ raise typer.Exit()
61
+
62
+ # If no subcommand was invoked and version flag not set, show help
63
+ if ctx.invoked_subcommand is None:
64
+ console.print(ctx.get_help())
65
+ raise typer.Exit()
66
+
67
+
44
68
  def load_tactus_config():
45
69
  """
46
70
  Load Tactus configuration from standard config locations.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: tactus
3
- Version: 0.23.0
3
+ Version: 0.24.0
4
4
  Summary: Tactus: Lua-based DSL for agentic workflows
5
5
  Project-URL: Homepage, https://github.com/AnthusAI/Tactus
6
6
  Project-URL: Documentation, https://github.com/AnthusAI/Tactus/tree/main/docs
@@ -1,4 +1,4 @@
1
- tactus/__init__.py,sha256=bYU1q6ssy4qyaU4ywptrmHurU9Y5gaCei8LiigteA2I,1245
1
+ tactus/__init__.py,sha256=61co7GsHjuQFxXvo6C9IYjFOq5V3oIhWnExBlqc4wqM,1245
2
2
  tactus/adapters/__init__.py,sha256=lU8uUxuryFRIpVrn_KeVK7aUhsvOT1tYsuE3FOOIFpI,289
3
3
  tactus/adapters/cli_hitl.py,sha256=l8jKU3y99g8z2vS11td0JXLVG77SF01nO-Ss4pRFXO0,6962
4
4
  tactus/adapters/cli_log.py,sha256=JKD693goi_wT_Kei4mTc2KJ-0QfgFZTpV3Prb8zfNZo,9779
@@ -14,7 +14,7 @@ tactus/backends/http_backend.py,sha256=D2N91I5bnjhHMLG84-U-BRS-mIuwoQq72Feffi7At
14
14
  tactus/backends/model_backend.py,sha256=P8dCUpDxJmA8_EO1snZuXyIyUZ_BlqReeC6zenO7Kv0,763
15
15
  tactus/backends/pytorch_backend.py,sha256=I7H7UTa_Scx9_FtmPWn-G4noadaNVEQj-9Kjtjpgl6E,3305
16
16
  tactus/cli/__init__.py,sha256=kVhdCkwWEPdt3vn9si-iKvh6M9817aOH6rLSsNzRuyg,80
17
- tactus/cli/app.py,sha256=2BpV4LHoXg9d03NvgqAgPT9om-68XRL5yK3BzBI-b9A,77927
17
+ tactus/cli/app.py,sha256=PFoDcAV_e5u25e9qrEGR50SfkUsB8QBrN0VqM5A3boo,78548
18
18
  tactus/cli/commands/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
19
19
  tactus/core/__init__.py,sha256=TK5rWr3HmOO_igFa5ESGp6teWwS58vnvQhIWqkcgqwk,880
20
20
  tactus/core/config_manager.py,sha256=at6oA2vqNBMR4kVkdRbPL04x6_wRvki3pLfQAoU8KXU,11917
@@ -142,8 +142,8 @@ tactus/validation/generated/LuaParserVisitor.py,sha256=ageKSmHPxnO3jBS2fBtkmYBOd
142
142
  tactus/validation/generated/__init__.py,sha256=5gWlwRI0UvmHw2fnBpj_IG6N8oZeabr5tbj1AODDvjc,196
143
143
  tactus/validation/grammar/LuaLexer.g4,sha256=t2MXiTCr127RWAyQGvamkcU_m4veqPzSuHUtAKwalw4,2771
144
144
  tactus/validation/grammar/LuaParser.g4,sha256=ceZenb90BdiZmVdOxMGj9qJk3QbbWVZe5HUqPgoePfY,3202
145
- tactus-0.23.0.dist-info/METADATA,sha256=Kvj_FpO-1s2v2VwKCLr8OKvaKO51OO4SRGe5KWxhLUI,55250
146
- tactus-0.23.0.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
147
- tactus-0.23.0.dist-info/entry_points.txt,sha256=vWseqty8m3z-Worje0IYxlioMjPDCoSsm0AtY4GghBY,47
148
- tactus-0.23.0.dist-info/licenses/LICENSE,sha256=ivohBcAIYnaLPQ-lKEeCXSMvQUVISpQfKyxHBHoa4GA,1066
149
- tactus-0.23.0.dist-info/RECORD,,
145
+ tactus-0.24.0.dist-info/METADATA,sha256=HmO_Oh-3pTd7hSuTADj7diM09_l2t77rTeGfdl-3CO8,55250
146
+ tactus-0.24.0.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
147
+ tactus-0.24.0.dist-info/entry_points.txt,sha256=vWseqty8m3z-Worje0IYxlioMjPDCoSsm0AtY4GghBY,47
148
+ tactus-0.24.0.dist-info/licenses/LICENSE,sha256=ivohBcAIYnaLPQ-lKEeCXSMvQUVISpQfKyxHBHoa4GA,1066
149
+ tactus-0.24.0.dist-info/RECORD,,