tactus 0.5.0__tar.gz → 0.29.0__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.
Files changed (683) hide show
  1. tactus-0.29.0/.github/workflows/release.yml +177 -0
  2. {tactus-0.5.0 → tactus-0.29.0}/.gitignore +10 -2
  3. tactus-0.29.0/.tactus/config.yml.example +41 -0
  4. tactus-0.29.0/AGENTS.md +482 -0
  5. tactus-0.29.0/CHANGELOG.md +494 -0
  6. tactus-0.29.0/IMPLEMENTATION.md +1922 -0
  7. {tactus-0.5.0 → tactus-0.29.0}/Makefile +43 -2
  8. tactus-0.29.0/PKG-INFO +1803 -0
  9. tactus-0.29.0/README.md +1752 -0
  10. tactus-0.29.0/SPECIFICATION.md +3342 -0
  11. tactus-0.29.0/TECHNICAL_DEBT.md +262 -0
  12. tactus-0.29.0/docs/AGENTS.md +22 -0
  13. {tactus-0.5.0 → tactus-0.29.0}/docs/BDD_TESTING.md +260 -14
  14. tactus-0.29.0/docs/CONFIGURATION.md +494 -0
  15. tactus-0.29.0/docs/DURABILITY.md +1393 -0
  16. tactus-0.29.0/docs/FILE_IO.md +198 -0
  17. tactus-0.29.0/docs/SANDBOXING.md +551 -0
  18. tactus-0.29.0/docs/STREAMING.md +140 -0
  19. tactus-0.29.0/docs/TOOLS.md +942 -0
  20. tactus-0.29.0/docs/TOOL_ROADMAP.md +1266 -0
  21. tactus-0.29.0/docs/development-mode.md +128 -0
  22. tactus-0.29.0/examples/.tactus/config.yml +21 -0
  23. tactus-0.29.0/examples/01-basics-hello-world.tac +15 -0
  24. tactus-0.29.0/examples/02-basics-simple-logic.tac +69 -0
  25. tactus-0.29.0/examples/03-basics-parameters.tac +54 -0
  26. tactus-0.29.0/examples/04-basics-simple-agent.tac +71 -0
  27. tactus-0.29.0/examples/05-basics-multi-model.tac +107 -0
  28. tactus-0.29.0/examples/06-basics-streaming.tac +40 -0
  29. tactus-0.29.0/examples/07-basics-bedrock.tac +98 -0
  30. tactus-0.29.0/examples/08-basics-models.tac +285 -0
  31. tactus-0.29.0/examples/09-basics-google-gemini.tac +166 -0
  32. tactus-0.29.0/examples/10-feature-state.tac +58 -0
  33. tactus-0.29.0/examples/11-feature-message-history.tac +73 -0
  34. tactus-0.29.0/examples/12-feature-structured-output.tac +81 -0
  35. tactus-0.29.0/examples/13-feature-session.tac +73 -0
  36. tactus-0.29.0/examples/14-feature-per-turn-tools-simple.tac +62 -0
  37. tactus-0.29.0/examples/14-feature-per-turn-tools.tac +140 -0
  38. tactus-0.29.0/examples/15-feature-local-tools.tac +104 -0
  39. tactus-0.29.0/examples/16-feature-toolsets-advanced.tac +187 -0
  40. tactus-0.29.0/examples/17-feature-toolsets-dsl.tac +129 -0
  41. tactus-0.29.0/examples/18-feature-lua-tools-individual.tac +147 -0
  42. tactus-0.29.0/examples/18-feature-lua-tools-inline.tac +183 -0
  43. tactus-0.29.0/examples/18-feature-lua-tools-toolset.tac +196 -0
  44. tactus-0.29.0/examples/19-feature-direct-tool-calls.tac +156 -0
  45. tactus-0.29.0/examples/20-bdd-complete.tac +135 -0
  46. tactus-0.5.0/examples/complete-bdd-example.tac → tactus-0.29.0/examples/20-bdd-complete.tac.bak2 +61 -77
  47. tactus-0.29.0/examples/21-bdd-passing.tac +102 -0
  48. tactus-0.5.0/examples/with-bdd-tests-working.tac → tactus-0.29.0/examples/21-bdd-passing.tac.bak2 +44 -54
  49. tactus-0.29.0/examples/30-eval-simple.tac +62 -0
  50. tactus-0.29.0/examples/31-eval-demo.tac +104 -0
  51. tactus-0.29.0/examples/32-eval-success-rate.tac +130 -0
  52. tactus-0.29.0/examples/33-eval-thresholds.tac +104 -0
  53. tactus-0.29.0/examples/34-eval-dataset.jsonl +5 -0
  54. tactus-0.29.0/examples/34-eval-dataset.tac +104 -0
  55. tactus-0.29.0/examples/35-eval-trace.tac +154 -0
  56. tactus-0.29.0/examples/35-eval-trace.tac.bak2 +132 -0
  57. tactus-0.29.0/examples/36-eval-advanced.tac +97 -0
  58. tactus-0.29.0/examples/37-eval-comprehensive.tac +145 -0
  59. tactus-0.29.0/examples/37-eval-comprehensive.tac.bak2 +129 -0
  60. tactus-0.29.0/examples/39-model-simple.tac +42 -0
  61. tactus-0.29.0/examples/40-mcp-test.tac +100 -0
  62. tactus-0.29.0/examples/40-model-text-classifier.tac +90 -0
  63. tactus-0.29.0/examples/41-mcp-simple.tac +61 -0
  64. tactus-0.29.0/examples/41-model-pytorch.tac +79 -0
  65. tactus-0.29.0/examples/43-sub-procedure-simple.tac +54 -0
  66. tactus-0.29.0/examples/44-sub-procedure-composition.tac +97 -0
  67. tactus-0.29.0/examples/45-sub-procedure-recursive.tac +37 -0
  68. tactus-0.29.0/examples/46-checkpoint-explicit.tac +51 -0
  69. tactus-0.29.0/examples/47-checkpoint-expensive-ops.tac +46 -0
  70. tactus-0.29.0/examples/48-script-mode-simple.tac +21 -0
  71. tactus-0.29.0/examples/50-inputs-showcase.tac +66 -0
  72. tactus-0.29.0/examples/51-inputs-calculator.tac +82 -0
  73. tactus-0.29.0/examples/52-file-io-basics.tac +93 -0
  74. tactus-0.29.0/examples/53-tsv-file-io.tac +87 -0
  75. tactus-0.29.0/examples/54-json-file-io.tac +141 -0
  76. tactus-0.29.0/examples/55-parquet-file-io.tac +129 -0
  77. tactus-0.29.0/examples/56-hdf5-file-io.tac +109 -0
  78. tactus-0.29.0/examples/57-excel-file-io.tac +154 -0
  79. tactus-0.29.0/examples/58-text-file-io.tac +224 -0
  80. tactus-0.29.0/examples/60-tool-sources.tac +146 -0
  81. tactus-0.29.0/examples/61-inline-toolset-lua.tac +168 -0
  82. tactus-0.29.0/examples/62-mcp-toolset-by-server.tac +177 -0
  83. tactus-0.29.0/examples/63-toolset-import-from-file.tac +167 -0
  84. tactus-0.29.0/examples/64-require-modules.tac +57 -0
  85. tactus-0.29.0/examples/65-optional-state-demo.tac +118 -0
  86. tactus-0.29.0/examples/66-host-tools-via-broker.tac +36 -0
  87. tactus-0.29.0/examples/67-host-tool-source.tac +41 -0
  88. tactus-0.29.0/examples/70-mocking-static.tac +150 -0
  89. tactus-0.29.0/examples/71-mocking-temporal.tac +156 -0
  90. tactus-0.29.0/examples/72-mocking-conditional.tac +178 -0
  91. tactus-0.29.0/examples/99-misc-test-loading.tac +20 -0
  92. tactus-0.29.0/examples/README.md +472 -0
  93. tactus-0.29.0/examples/app_config.ini +26 -0
  94. tactus-0.29.0/examples/data/sample.csv +6 -0
  95. tactus-0.29.0/examples/demo_output.json +11 -0
  96. tactus-0.29.0/examples/helpers/math_module.tac +39 -0
  97. tactus-0.29.0/examples/helpers/product.tac +18 -0
  98. tactus-0.29.0/examples/helpers/string_module.tac +35 -0
  99. tactus-0.29.0/examples/helpers/sum.tac +18 -0
  100. tactus-0.29.0/examples/helpers/text_tools.tac +51 -0
  101. tactus-0.29.0/examples/inventory_summary.tsv +4 -0
  102. {tactus-0.5.0 → tactus-0.29.0}/examples/mock-config.json +5 -0
  103. tactus-0.29.0/examples/models/README.md +73 -0
  104. tactus-0.29.0/examples/models/create_sentiment_model.py +61 -0
  105. tactus-0.29.0/examples/output_summary.txt +1 -0
  106. tactus-0.29.0/examples/test-raw-module.tac +11 -0
  107. tactus-0.29.0/examples/test-raw-streaming.tac +11 -0
  108. tactus-0.29.0/examples/tools/calculations.py +103 -0
  109. tactus-0.29.0/examples/tools/data_analysis.py +122 -0
  110. tactus-0.29.0/examples/tools/search.py +53 -0
  111. tactus-0.29.0/examples/with_dependencies/README.md +114 -0
  112. tactus-0.29.0/examples/with_dependencies/simple_http_test.tac +53 -0
  113. tactus-0.29.0/examples/with_dependencies/time_lookup.tac +67 -0
  114. tactus-0.29.0/features/01_state_management.feature +43 -0
  115. tactus-0.29.0/features/02_checkpointing.feature +37 -0
  116. tactus-0.29.0/features/03_human_in_the_loop.feature +50 -0
  117. tactus-0.29.0/features/04_control_flow.feature +39 -0
  118. tactus-0.29.0/features/05_tool_integration.feature +43 -0
  119. tactus-0.29.0/features/06_retry_logic.feature +44 -0
  120. tactus-0.29.0/features/07_file_operations.feature +65 -0
  121. tactus-0.29.0/features/08_agent_primitives.feature +66 -0
  122. tactus-0.29.0/features/09_workflow_execution.feature +111 -0
  123. tactus-0.29.0/features/10_lua_integration.feature +104 -0
  124. tactus-0.29.0/features/11_storage_backends.feature +62 -0
  125. tactus-0.29.0/features/12_json_operations.feature +95 -0
  126. tactus-0.29.0/features/13_logging.feature +68 -0
  127. tactus-0.29.0/features/14_stage_and_step_tracking.feature +73 -0
  128. tactus-0.29.0/features/15_procedure_calls.feature +79 -0
  129. tactus-0.29.0/features/16_session_management.feature +85 -0
  130. tactus-0.29.0/features/17_lua_dsl_validation.feature +144 -0
  131. tactus-0.29.0/features/18_example_procedures.feature +62 -0
  132. tactus-0.29.0/features/19_ide_server.feature +44 -0
  133. tactus-0.29.0/features/20_parameters.feature +144 -0
  134. tactus-0.29.0/features/21_outputs.feature +146 -0
  135. tactus-0.29.0/features/23_prompts.feature +100 -0
  136. tactus-0.29.0/features/24_bdd_specifications.feature +157 -0
  137. tactus-0.29.0/features/25_bdd_custom_steps.feature +113 -0
  138. tactus-0.29.0/features/26_bdd_evaluation.feature +129 -0
  139. tactus-0.29.0/features/27_default_settings.feature +111 -0
  140. tactus-0.29.0/features/28_custom_prompts.feature +119 -0
  141. tactus-0.29.0/features/29_execution_settings.feature +107 -0
  142. tactus-0.29.0/features/30_session_filters.feature +116 -0
  143. tactus-0.29.0/features/31_matchers.feature +107 -0
  144. tactus-0.29.0/features/32_result_object.feature +39 -0
  145. tactus-0.29.0/features/33_output_type.feature +36 -0
  146. tactus-0.29.0/features/42_model_primitive.feature +143 -0
  147. tactus-0.29.0/features/43_sub_procedure_checkpointing.feature +120 -0
  148. tactus-0.29.0/features/46_explicit_checkpoint.feature +158 -0
  149. tactus-0.29.0/features/48_script_mode.feature +113 -0
  150. tactus-0.29.0/features/51_dspy_lm_config.feature +199 -0
  151. tactus-0.29.0/features/52_dspy_signature.feature +302 -0
  152. tactus-0.29.0/features/53_dspy_module.feature +322 -0
  153. tactus-0.29.0/features/54_dspy_history.feature +302 -0
  154. tactus-0.29.0/features/55_dspy_prediction.feature +295 -0
  155. tactus-0.29.0/features/56_dspy_agent.feature +323 -0
  156. tactus-0.29.0/features/57_chat_assistant.feature +60 -0
  157. {tactus-0.5.0 → tactus-0.29.0}/features/documentation/IDE_SERVER_BEHAVIOR.md +4 -1
  158. {tactus-0.5.0 → tactus-0.29.0}/features/documentation/Lua DSL/README.md +18 -18
  159. {tactus-0.5.0 → tactus-0.29.0}/features/environment.py +33 -0
  160. {tactus-0.5.0 → tactus-0.29.0}/features/steps/agent_primitives_steps.py +18 -7
  161. tactus-0.29.0/features/steps/chat_assistant_steps.py +160 -0
  162. tactus-0.29.0/features/steps/checkpointing_steps.py +230 -0
  163. tactus-0.29.0/features/steps/dspy_agent_steps.py +832 -0
  164. tactus-0.29.0/features/steps/dspy_history_steps.py +652 -0
  165. tactus-0.29.0/features/steps/dspy_lm_steps.py +351 -0
  166. tactus-0.29.0/features/steps/dspy_module_steps.py +499 -0
  167. tactus-0.29.0/features/steps/dspy_prediction_steps.py +811 -0
  168. tactus-0.29.0/features/steps/dspy_signature_steps.py +381 -0
  169. {tactus-0.5.0 → tactus-0.29.0}/features/steps/example_procedures_steps.py +69 -10
  170. {tactus-0.5.0 → tactus-0.29.0}/features/steps/human_in_the_loop_steps.py +1 -1
  171. {tactus-0.5.0 → tactus-0.29.0}/features/steps/lua_dsl_validation_steps.py +95 -9
  172. tactus-0.29.0/features/steps/mocking_steps.py +161 -0
  173. {tactus-0.5.0 → tactus-0.29.0}/features/steps/procedure_calls_steps.py +6 -6
  174. {tactus-0.5.0 → tactus-0.29.0}/features/steps/result_and_output_steps.py +82 -27
  175. {tactus-0.5.0 → tactus-0.29.0}/features/steps/stage_tracking_steps.py +14 -2
  176. {tactus-0.5.0 → tactus-0.29.0}/features/steps/storage_backend_steps.py +124 -46
  177. {tactus-0.5.0 → tactus-0.29.0}/features/steps/support/harnesses.py +158 -0
  178. {tactus-0.5.0 → tactus-0.29.0}/features/steps/tool_integration_steps.py +3 -3
  179. {tactus-0.5.0 → tactus-0.29.0}/features/steps/workflow_execution_steps.py +22 -16
  180. tactus-0.29.0/planning/BROKER_AND_TOOL_RUNNERS.md +617 -0
  181. {tactus-0.5.0 → tactus-0.29.0}/pyproject.toml +18 -2
  182. tactus-0.29.0/scripts/audit_examples_mocking.py +229 -0
  183. tactus-0.29.0/scripts/convert_examples.py +213 -0
  184. {tactus-0.5.0 → tactus-0.29.0}/tactus/__init__.py +3 -3
  185. tactus-0.29.0/tactus/adapters/broker_log.py +76 -0
  186. {tactus-0.5.0 → tactus-0.29.0}/tactus/adapters/cli_hitl.py +2 -2
  187. tactus-0.29.0/tactus/adapters/cli_log.py +223 -0
  188. tactus-0.29.0/tactus/adapters/cost_collector_log.py +56 -0
  189. tactus-0.29.0/tactus/adapters/file_storage.py +367 -0
  190. tactus-0.29.0/tactus/adapters/http_callback_log.py +109 -0
  191. {tactus-0.5.0 → tactus-0.29.0}/tactus/adapters/ide_log.py +10 -1
  192. tactus-0.29.0/tactus/adapters/lua_tools.py +314 -0
  193. tactus-0.29.0/tactus/adapters/mcp_manager.py +169 -0
  194. tactus-0.29.0/tactus/adapters/memory.py +53 -0
  195. tactus-0.29.0/tactus/adapters/plugins.py +419 -0
  196. tactus-0.29.0/tactus/backends/http_backend.py +58 -0
  197. tactus-0.29.0/tactus/backends/model_backend.py +35 -0
  198. tactus-0.29.0/tactus/backends/pytorch_backend.py +110 -0
  199. tactus-0.29.0/tactus/broker/__init__.py +12 -0
  200. tactus-0.29.0/tactus/broker/client.py +247 -0
  201. tactus-0.29.0/tactus/broker/protocol.py +183 -0
  202. tactus-0.29.0/tactus/broker/server.py +517 -0
  203. tactus-0.29.0/tactus/broker/stdio.py +12 -0
  204. tactus-0.29.0/tactus/cli/app.py +2184 -0
  205. tactus-0.29.0/tactus/core/config_manager.py +790 -0
  206. tactus-0.29.0/tactus/core/dependencies/__init__.py +14 -0
  207. tactus-0.29.0/tactus/core/dependencies/registry.py +180 -0
  208. tactus-0.29.0/tactus/core/dsl_stubs.py +2020 -0
  209. tactus-0.29.0/tactus/core/execution_context.py +480 -0
  210. {tactus-0.5.0 → tactus-0.29.0}/tactus/core/lua_sandbox.py +213 -9
  211. tactus-0.29.0/tactus/core/mocking.py +286 -0
  212. {tactus-0.5.0 → tactus-0.29.0}/tactus/core/output_validator.py +48 -9
  213. tactus-0.29.0/tactus/core/registry.py +511 -0
  214. tactus-0.29.0/tactus/core/runtime.py +2768 -0
  215. {tactus-0.5.0 → tactus-0.29.0}/tactus/core/template_resolver.py +1 -1
  216. {tactus-0.5.0 → tactus-0.29.0}/tactus/core/yaml_parser.py +2 -2
  217. tactus-0.29.0/tactus/docker/Dockerfile +61 -0
  218. tactus-0.29.0/tactus/docker/entrypoint.sh +69 -0
  219. tactus-0.29.0/tactus/dspy/__init__.py +39 -0
  220. tactus-0.29.0/tactus/dspy/agent.py +1087 -0
  221. tactus-0.29.0/tactus/dspy/broker_lm.py +181 -0
  222. tactus-0.29.0/tactus/dspy/config.py +212 -0
  223. tactus-0.29.0/tactus/dspy/history.py +196 -0
  224. tactus-0.29.0/tactus/dspy/module.py +405 -0
  225. tactus-0.29.0/tactus/dspy/prediction.py +318 -0
  226. tactus-0.29.0/tactus/dspy/signature.py +185 -0
  227. tactus-0.29.0/tactus/ide/coding_assistant.py +343 -0
  228. tactus-0.29.0/tactus/ide/server.py +2233 -0
  229. {tactus-0.5.0 → tactus-0.29.0}/tactus/primitives/__init__.py +8 -5
  230. {tactus-0.5.0 → tactus-0.29.0}/tactus/primitives/file.py +35 -1
  231. tactus-0.29.0/tactus/primitives/handles.py +373 -0
  232. tactus-0.29.0/tactus/primitives/host.py +94 -0
  233. {tactus-0.5.0 → tactus-0.29.0}/tactus/primitives/log.py +4 -0
  234. tactus-0.29.0/tactus/primitives/model.py +163 -0
  235. tactus-0.29.0/tactus/primitives/procedure.py +564 -0
  236. tactus-0.29.0/tactus/primitives/procedure_callable.py +282 -0
  237. tactus-0.29.0/tactus/primitives/session.py +152 -0
  238. {tactus-0.5.0 → tactus-0.29.0}/tactus/primitives/state.py +52 -3
  239. tactus-0.29.0/tactus/primitives/step.py +209 -0
  240. tactus-0.29.0/tactus/primitives/system.py +93 -0
  241. tactus-0.29.0/tactus/primitives/tool.py +375 -0
  242. tactus-0.29.0/tactus/primitives/tool_handle.py +279 -0
  243. tactus-0.29.0/tactus/primitives/toolset.py +229 -0
  244. {tactus-0.5.0 → tactus-0.29.0}/tactus/protocols/__init__.py +2 -2
  245. tactus-0.29.0/tactus/protocols/cost.py +31 -0
  246. tactus-0.29.0/tactus/protocols/models.py +355 -0
  247. tactus-0.29.0/tactus/protocols/result.py +33 -0
  248. {tactus-0.5.0 → tactus-0.29.0}/tactus/protocols/storage.py +9 -70
  249. {tactus-0.5.0 → tactus-0.29.0}/tactus/providers/__init__.py +3 -2
  250. {tactus-0.5.0 → tactus-0.29.0}/tactus/providers/bedrock.py +1 -0
  251. tactus-0.29.0/tactus/providers/google.py +105 -0
  252. tactus-0.29.0/tactus/sandbox/__init__.py +63 -0
  253. tactus-0.29.0/tactus/sandbox/config.py +171 -0
  254. tactus-0.29.0/tactus/sandbox/container_runner.py +1099 -0
  255. tactus-0.29.0/tactus/sandbox/docker_manager.py +433 -0
  256. tactus-0.29.0/tactus/sandbox/entrypoint.py +227 -0
  257. tactus-0.29.0/tactus/sandbox/protocol.py +213 -0
  258. tactus-0.29.0/tactus/stdlib/__init__.py +10 -0
  259. tactus-0.29.0/tactus/stdlib/io/__init__.py +13 -0
  260. tactus-0.29.0/tactus/stdlib/io/csv.py +88 -0
  261. tactus-0.29.0/tactus/stdlib/io/excel.py +136 -0
  262. tactus-0.29.0/tactus/stdlib/io/file.py +90 -0
  263. tactus-0.29.0/tactus/stdlib/io/fs.py +154 -0
  264. tactus-0.29.0/tactus/stdlib/io/hdf5.py +121 -0
  265. tactus-0.29.0/tactus/stdlib/io/json.py +109 -0
  266. tactus-0.29.0/tactus/stdlib/io/parquet.py +83 -0
  267. tactus-0.29.0/tactus/stdlib/io/tsv.py +88 -0
  268. tactus-0.29.0/tactus/stdlib/loader.py +274 -0
  269. tactus-0.29.0/tactus/stdlib/tac/tactus/tools/done.tac +33 -0
  270. tactus-0.29.0/tactus/stdlib/tac/tactus/tools/log.tac +50 -0
  271. {tactus-0.5.0 → tactus-0.29.0}/tactus/testing/README.md +14 -5
  272. {tactus-0.5.0 → tactus-0.29.0}/tactus/testing/behave_integration.py +46 -9
  273. {tactus-0.5.0 → tactus-0.29.0}/tactus/testing/context.py +64 -6
  274. tactus-0.29.0/tactus/testing/eval_models.py +114 -0
  275. {tactus-0.5.0 → tactus-0.29.0}/tactus/testing/evaluation_runner.py +5 -3
  276. tactus-0.29.0/tactus/testing/evaluators.py +634 -0
  277. {tactus-0.5.0 → tactus-0.29.0}/tactus/testing/gherkin_parser.py +2 -3
  278. tactus-0.29.0/tactus/testing/mock_agent.py +280 -0
  279. tactus-0.29.0/tactus/testing/mock_dependencies.py +234 -0
  280. {tactus-0.5.0 → tactus-0.29.0}/tactus/testing/mock_hitl.py +33 -1
  281. tactus-0.29.0/tactus/testing/mock_registry.py +168 -0
  282. {tactus-0.5.0 → tactus-0.29.0}/tactus/testing/mock_tools.py +18 -7
  283. {tactus-0.5.0 → tactus-0.29.0}/tactus/testing/models.py +2 -2
  284. tactus-0.29.0/tactus/testing/pydantic_eval_runner.py +508 -0
  285. {tactus-0.5.0 → tactus-0.29.0}/tactus/testing/steps/builtin.py +79 -1
  286. tactus-0.29.0/tactus/testing/test_runner.py +483 -0
  287. tactus-0.29.0/tactus/tracing/__init__.py +5 -0
  288. tactus-0.29.0/tactus/tracing/trace_manager.py +417 -0
  289. tactus-0.29.0/tactus/utils/safe_file_library.py +502 -0
  290. tactus-0.29.0/tactus/utils/safe_libraries.py +234 -0
  291. {tactus-0.5.0/tactus/validation/generated → tactus-0.29.0/tactus/validation}/LuaLexerBase.py +0 -1
  292. {tactus-0.5.0 → tactus-0.29.0}/tactus/validation/LuaParserBase.py +0 -1
  293. {tactus-0.5.0 → tactus-0.29.0}/tactus/validation/README.md +7 -2
  294. {tactus-0.5.0 → tactus-0.29.0}/tactus/validation/generated/LuaLexer.py +0 -1
  295. {tactus-0.5.0/tactus/validation → tactus-0.29.0/tactus/validation/generated}/LuaLexerBase.py +0 -1
  296. {tactus-0.5.0 → tactus-0.29.0}/tactus/validation/generated/LuaParser.py +6 -32
  297. {tactus-0.5.0 → tactus-0.29.0}/tactus/validation/generated/LuaParserBase.py +0 -1
  298. {tactus-0.5.0 → tactus-0.29.0}/tactus/validation/generated/LuaParserVisitor.py +0 -1
  299. {tactus-0.5.0 → tactus-0.29.0}/tactus/validation/generated/__init__.py +1 -1
  300. tactus-0.29.0/tactus/validation/semantic_visitor.py +809 -0
  301. tactus-0.29.0/tactus-desktop/BUILD_GUIDE.md +213 -0
  302. tactus-0.29.0/tactus-desktop/ELECTRON_INTEGRATION.md +206 -0
  303. {tactus-0.5.0 → tactus-0.29.0}/tactus-desktop/RUN_ELECTRON.md +5 -0
  304. {tactus-0.5.0 → tactus-0.29.0}/tactus-desktop/backend/hook-lupa.py +10 -8
  305. {tactus-0.5.0 → tactus-0.29.0}/tactus-desktop/backend/tactus_backend.spec +6 -0
  306. {tactus-0.5.0 → tactus-0.29.0}/tactus-desktop/package-lock.json +33 -7
  307. {tactus-0.5.0 → tactus-0.29.0}/tactus-desktop/package.json +20 -10
  308. {tactus-0.5.0 → tactus-0.29.0}/tactus-desktop/preload/tsconfig.json +5 -0
  309. tactus-0.29.0/tactus-desktop/resources/app-icon.icns +0 -0
  310. tactus-0.29.0/tactus-desktop/resources/app-icon.ico +0 -0
  311. tactus-0.29.0/tactus-desktop/resources/app-icon.png +0 -0
  312. tactus-0.29.0/tactus-desktop/scripts/generate-icons.sh +95 -0
  313. {tactus-0.5.0 → tactus-0.29.0}/tactus-desktop/src/backend-manager.ts +2 -1
  314. tactus-0.29.0/tactus-desktop/src/main.ts +76 -0
  315. {tactus-0.5.0 → tactus-0.29.0}/tactus-desktop/src/menu.ts +7 -2
  316. {tactus-0.5.0 → tactus-0.29.0}/tactus-desktop/tsconfig.json +1 -1
  317. {tactus-0.5.0 → tactus-0.29.0}/tactus-ide/ARCHITECTURE.md +8 -3
  318. {tactus-0.5.0 → tactus-0.29.0}/tactus-ide/CHANGELOG.md +5 -0
  319. {tactus-0.5.0 → tactus-0.29.0}/tactus-ide/DEV_MODE.md +5 -0
  320. {tactus-0.5.0 → tactus-0.29.0}/tactus-ide/QUICK_START.md +5 -0
  321. {tactus-0.5.0 → tactus-0.29.0}/tactus-ide/README.md +14 -6
  322. {tactus-0.5.0 → tactus-0.29.0}/tactus-ide/RESTART_INSTRUCTIONS.md +5 -0
  323. {tactus-0.5.0 → tactus-0.29.0}/tactus-ide/TROUBLESHOOTING.md +5 -0
  324. tactus-0.29.0/tactus-ide/backend/README.md +49 -0
  325. tactus-0.29.0/tactus-ide/backend/assistant_service.py +444 -0
  326. tactus-0.29.0/tactus-ide/backend/assistant_tools.py +397 -0
  327. tactus-0.29.0/tactus-ide/backend/chat_server.py +339 -0
  328. tactus-0.29.0/tactus-ide/backend/config_server.py +448 -0
  329. {tactus-0.5.0 → tactus-0.29.0}/tactus-ide/backend/events.py +10 -0
  330. {tactus-0.5.0 → tactus-0.29.0}/tactus-ide/backend/requirements.txt +5 -0
  331. tactus-0.29.0/tactus-ide/backend/text_editor_tool.py +172 -0
  332. {tactus-0.5.0 → tactus-0.29.0}/tactus-ide/dev.sh +13 -12
  333. tactus-0.29.0/tactus-ide/frontend/.storybook/main.ts +16 -0
  334. tactus-0.29.0/tactus-ide/frontend/.storybook/preview.ts +60 -0
  335. tactus-0.29.0/tactus-ide/frontend/.storybook/vitest.setup.ts +7 -0
  336. {tactus-0.5.0 → tactus-0.29.0}/tactus-ide/frontend/README.md +2 -2
  337. {tactus-0.5.0 → tactus-0.29.0}/tactus-ide/frontend/demo.ts +1 -1
  338. tactus-0.29.0/tactus-ide/frontend/index.html +45 -0
  339. {tactus-0.5.0 → tactus-0.29.0}/tactus-ide/frontend/package-lock.json +4074 -617
  340. {tactus-0.5.0 → tactus-0.29.0}/tactus-ide/frontend/package.json +29 -8
  341. {tactus-0.5.0 → tactus-0.29.0}/tactus-ide/frontend/postcss.config.js +5 -0
  342. tactus-0.29.0/tactus-ide/frontend/src/App.tsx +1066 -0
  343. {tactus-0.5.0 → tactus-0.29.0}/tactus-ide/frontend/src/Editor.tsx +83 -7
  344. {tactus-0.5.0 → tactus-0.29.0}/tactus-ide/frontend/src/LSPClient.ts +5 -0
  345. {tactus-0.5.0 → tactus-0.29.0}/tactus-ide/frontend/src/LSPClientHTTP.ts +5 -0
  346. {tactus-0.5.0 → tactus-0.29.0}/tactus-ide/frontend/src/TactusLanguage.ts +81 -1
  347. {tactus-0.5.0 → tactus-0.29.0}/tactus-ide/frontend/src/commands/registry.ts +21 -0
  348. tactus-0.29.0/tactus-ide/frontend/src/components/AboutDialog.tsx +138 -0
  349. tactus-0.29.0/tactus-ide/frontend/src/components/ChatSidebar.tsx +24 -0
  350. tactus-0.29.0/tactus-ide/frontend/src/components/CheckpointSummary.tsx +197 -0
  351. tactus-0.29.0/tactus-ide/frontend/src/components/CollapsibleRun.tsx +136 -0
  352. tactus-0.29.0/tactus-ide/frontend/src/components/Duration.stories.tsx +49 -0
  353. tactus-0.29.0/tactus-ide/frontend/src/components/Duration.tsx +67 -0
  354. tactus-0.29.0/tactus-ide/frontend/src/components/FileTree.stories.tsx +41 -0
  355. {tactus-0.5.0 → tactus-0.29.0}/tactus-ide/frontend/src/components/FileTree.tsx +9 -4
  356. tactus-0.29.0/tactus-ide/frontend/src/components/MessageFeed.tsx +132 -0
  357. tactus-0.29.0/tactus-ide/frontend/src/components/PreferencesView.tsx +305 -0
  358. tactus-0.29.0/tactus-ide/frontend/src/components/ProcedureInputsDisplay.stories.tsx +124 -0
  359. tactus-0.29.0/tactus-ide/frontend/src/components/ProcedureInputsDisplay.tsx +84 -0
  360. tactus-0.29.0/tactus-ide/frontend/src/components/ProcedureInputsModal.stories.tsx +254 -0
  361. tactus-0.29.0/tactus-ide/frontend/src/components/ProcedureInputsModal.tsx +278 -0
  362. tactus-0.29.0/tactus-ide/frontend/src/components/ProcedureTab.stories.tsx +378 -0
  363. tactus-0.29.0/tactus-ide/frontend/src/components/ProcedureTab.tsx +85 -0
  364. {tactus-0.5.0 → tactus-0.29.0}/tactus-ide/frontend/src/components/ResizeHandle.tsx +17 -3
  365. tactus-0.29.0/tactus-ide/frontend/src/components/ResultsSidebar.stories.tsx +143 -0
  366. tactus-0.29.0/tactus-ide/frontend/src/components/ResultsSidebar.tsx +297 -0
  367. tactus-0.29.0/tactus-ide/frontend/src/components/TestOptionsModal.tsx +185 -0
  368. tactus-0.29.0/tactus-ide/frontend/src/components/Timestamp.stories.tsx +44 -0
  369. tactus-0.29.0/tactus-ide/frontend/src/components/Timestamp.tsx +38 -0
  370. tactus-0.29.0/tactus-ide/frontend/src/components/TopMenuBar.stories.tsx +112 -0
  371. tactus-0.29.0/tactus-ide/frontend/src/components/chat/ChatInterface.tsx +96 -0
  372. tactus-0.29.0/tactus-ide/frontend/src/components/chat/MessageInput.tsx +84 -0
  373. tactus-0.29.0/tactus-ide/frontend/src/components/chat/MessageList.tsx +125 -0
  374. tactus-0.29.0/tactus-ide/frontend/src/components/debugger/CheckpointDetails.stories.tsx +167 -0
  375. tactus-0.29.0/tactus-ide/frontend/src/components/debugger/CheckpointDetails.tsx +220 -0
  376. tactus-0.29.0/tactus-ide/frontend/src/components/debugger/CheckpointList.stories.tsx +121 -0
  377. tactus-0.29.0/tactus-ide/frontend/src/components/debugger/CheckpointList.tsx +110 -0
  378. tactus-0.29.0/tactus-ide/frontend/src/components/debugger/DebuggerPanel.stories.tsx +63 -0
  379. tactus-0.29.0/tactus-ide/frontend/src/components/debugger/DebuggerPanel.tsx +125 -0
  380. tactus-0.29.0/tactus-ide/frontend/src/components/debugger/RunSelector.stories.tsx +119 -0
  381. tactus-0.29.0/tactus-ide/frontend/src/components/debugger/RunSelector.tsx +121 -0
  382. tactus-0.29.0/tactus-ide/frontend/src/components/debugger/StatisticsPanel.stories.tsx +173 -0
  383. tactus-0.29.0/tactus-ide/frontend/src/components/debugger/StatisticsPanel.tsx +143 -0
  384. tactus-0.29.0/tactus-ide/frontend/src/components/events/AgentStreamingComponent.tsx +39 -0
  385. tactus-0.29.0/tactus-ide/frontend/src/components/events/BaseEventComponent.tsx +24 -0
  386. tactus-0.29.0/tactus-ide/frontend/src/components/events/CheckpointEventComponent.tsx +106 -0
  387. tactus-0.29.0/tactus-ide/frontend/src/components/events/CollapsibleTestScenario.tsx +194 -0
  388. tactus-0.29.0/tactus-ide/frontend/src/components/events/ContainerStatusEventComponent.tsx +95 -0
  389. tactus-0.29.0/tactus-ide/frontend/src/components/events/CostEventComponent.stories.tsx +119 -0
  390. {tactus-0.5.0 → tactus-0.29.0}/tactus-ide/frontend/src/components/events/CostEventComponent.tsx +40 -47
  391. tactus-0.29.0/tactus-ide/frontend/src/components/events/EvaluationEventComponent.stories.tsx +184 -0
  392. {tactus-0.5.0 → tactus-0.29.0}/tactus-ide/frontend/src/components/events/EvaluationEventComponent.tsx +33 -25
  393. tactus-0.29.0/tactus-ide/frontend/src/components/events/EventRenderer.tsx +89 -0
  394. tactus-0.29.0/tactus-ide/frontend/src/components/events/ExecutionEventComponent.stories.tsx +105 -0
  395. tactus-0.29.0/tactus-ide/frontend/src/components/events/ExecutionEventComponent.tsx +233 -0
  396. tactus-0.29.0/tactus-ide/frontend/src/components/events/ExecutionSummaryEventComponent.stories.tsx +144 -0
  397. tactus-0.29.0/tactus-ide/frontend/src/components/events/ExecutionSummaryEventComponent.tsx +253 -0
  398. tactus-0.29.0/tactus-ide/frontend/src/components/events/LoadingEventComponent.stories.tsx +50 -0
  399. tactus-0.29.0/tactus-ide/frontend/src/components/events/LoadingEventComponent.tsx +42 -0
  400. {tactus-0.5.0 → tactus-0.29.0}/tactus-ide/frontend/src/components/events/LogCluster.tsx +20 -16
  401. tactus-0.29.0/tactus-ide/frontend/src/components/events/LogEventComponent.stories.tsx +127 -0
  402. tactus-0.29.0/tactus-ide/frontend/src/components/events/LogEventComponent.tsx +79 -0
  403. tactus-0.29.0/tactus-ide/frontend/src/components/events/OutputEventComponent.stories.tsx +112 -0
  404. tactus-0.29.0/tactus-ide/frontend/src/components/events/OutputEventComponent.tsx +46 -0
  405. tactus-0.29.0/tactus-ide/frontend/src/components/events/TestEventComponent.stories.tsx +185 -0
  406. tactus-0.29.0/tactus-ide/frontend/src/components/events/TestEventComponent.tsx +189 -0
  407. tactus-0.29.0/tactus-ide/frontend/src/components/events/TestProgressContainer.tsx +262 -0
  408. tactus-0.29.0/tactus-ide/frontend/src/components/events/ToolCallEventComponent.tsx +45 -0
  409. tactus-0.29.0/tactus-ide/frontend/src/components/events/ValidationEventComponent.stories.tsx +99 -0
  410. tactus-0.29.0/tactus-ide/frontend/src/components/events/ValidationEventComponent.tsx +48 -0
  411. tactus-0.29.0/tactus-ide/frontend/src/components/metadata/AgentsSection.tsx +56 -0
  412. tactus-0.29.0/tactus-ide/frontend/src/components/metadata/EvaluationsSection.tsx +49 -0
  413. tactus-0.29.0/tactus-ide/frontend/src/components/metadata/MetadataSections.stories.tsx +419 -0
  414. tactus-0.29.0/tactus-ide/frontend/src/components/metadata/OutputsSection.tsx +49 -0
  415. tactus-0.29.0/tactus-ide/frontend/src/components/metadata/ParametersSection.tsx +54 -0
  416. tactus-0.29.0/tactus-ide/frontend/src/components/metadata/SpecificationsSection.tsx +70 -0
  417. tactus-0.29.0/tactus-ide/frontend/src/components/metadata/StagesSection.tsx +34 -0
  418. tactus-0.29.0/tactus-ide/frontend/src/components/metadata/ToolsSection.tsx +28 -0
  419. tactus-0.29.0/tactus-ide/frontend/src/components/preferences/ConfigFieldView.tsx +176 -0
  420. tactus-0.29.0/tactus-ide/frontend/src/components/preferences/SourceBadge.tsx +254 -0
  421. tactus-0.29.0/tactus-ide/frontend/src/components/preferences/YamlCodeEditor.tsx +123 -0
  422. tactus-0.29.0/tactus-ide/frontend/src/components/scenarios/EvaluateScenarios.stories.tsx +340 -0
  423. tactus-0.29.0/tactus-ide/frontend/src/components/scenarios/RunScenarios.stories.tsx +312 -0
  424. tactus-0.29.0/tactus-ide/frontend/src/components/scenarios/TestScenarios.stories.tsx +375 -0
  425. tactus-0.29.0/tactus-ide/frontend/src/components/scenarios/ValidationScenarios.stories.tsx +178 -0
  426. tactus-0.29.0/tactus-ide/frontend/src/components/theme-provider.tsx +99 -0
  427. {tactus-0.5.0 → tactus-0.29.0}/tactus-ide/frontend/src/components/ui/ai/conversation.tsx +5 -0
  428. {tactus-0.5.0 → tactus-0.29.0}/tactus-ide/frontend/src/components/ui/ai/message.tsx +5 -0
  429. {tactus-0.5.0 → tactus-0.29.0}/tactus-ide/frontend/src/components/ui/ai/prompt-input.tsx +5 -0
  430. tactus-0.29.0/tactus-ide/frontend/src/components/ui/badge.tsx +36 -0
  431. {tactus-0.5.0 → tactus-0.29.0}/tactus-ide/frontend/src/components/ui/button.tsx +5 -0
  432. {tactus-0.5.0 → tactus-0.29.0}/tactus-ide/frontend/src/components/ui/dialog.tsx +5 -0
  433. tactus-0.29.0/tactus-ide/frontend/src/components/ui/dropdown-menu.tsx +114 -0
  434. {tactus-0.5.0 → tactus-0.29.0}/tactus-ide/frontend/src/components/ui/input.tsx +5 -0
  435. tactus-0.29.0/tactus-ide/frontend/src/components/ui/label.tsx +24 -0
  436. tactus-0.29.0/tactus-ide/frontend/src/components/ui/logo.stories.tsx +99 -0
  437. tactus-0.29.0/tactus-ide/frontend/src/components/ui/logo.tsx +22 -0
  438. {tactus-0.5.0 → tactus-0.29.0}/tactus-ide/frontend/src/components/ui/menubar.tsx +5 -0
  439. {tactus-0.5.0 → tactus-0.29.0}/tactus-ide/frontend/src/components/ui/scroll-area.tsx +5 -0
  440. tactus-0.29.0/tactus-ide/frontend/src/components/ui/select.tsx +158 -0
  441. {tactus-0.5.0 → tactus-0.29.0}/tactus-ide/frontend/src/components/ui/separator.tsx +5 -0
  442. tactus-0.29.0/tactus-ide/frontend/src/components/ui/switch.tsx +27 -0
  443. tactus-0.29.0/tactus-ide/frontend/src/components/ui/tabs.tsx +53 -0
  444. tactus-0.29.0/tactus-ide/frontend/src/components/ui/tooltip.tsx +28 -0
  445. tactus-0.29.0/tactus-ide/frontend/src/hooks/useChatSSE.ts +204 -0
  446. tactus-0.29.0/tactus-ide/frontend/src/hooks/useEventStream.ts +364 -0
  447. tactus-0.29.0/tactus-ide/frontend/src/hooks/useTracing.ts +291 -0
  448. tactus-0.29.0/tactus-ide/frontend/src/index.css +162 -0
  449. {tactus-0.5.0 → tactus-0.29.0}/tactus-ide/frontend/src/lib/utils.ts +5 -0
  450. {tactus-0.5.0 → tactus-0.29.0}/tactus-ide/frontend/src/main.tsx +5 -0
  451. {tactus-0.5.0 → tactus-0.29.0}/tactus-ide/frontend/src/types/events.ts +79 -5
  452. tactus-0.29.0/tactus-ide/frontend/src/types/metadata.ts +48 -0
  453. tactus-0.29.0/tactus-ide/frontend/src/types/preferences.ts +128 -0
  454. tactus-0.29.0/tactus-ide/frontend/src/types/results.ts +22 -0
  455. tactus-0.29.0/tactus-ide/frontend/src/types/tracing.ts +82 -0
  456. tactus-0.29.0/tactus-ide/frontend/src/utils/yamlSync.ts +77 -0
  457. {tactus-0.5.0 → tactus-0.29.0}/tactus-ide/frontend/src/validation/TactusValidator.ts +5 -0
  458. {tactus-0.5.0 → tactus-0.29.0}/tactus-ide/frontend/src/vite-env.d.ts +5 -0
  459. {tactus-0.5.0 → tactus-0.29.0}/tactus-ide/frontend/tailwind.config.js +10 -0
  460. {tactus-0.5.0 → tactus-0.29.0}/tactus-ide/frontend/tsconfig.json +5 -0
  461. {tactus-0.5.0 → tactus-0.29.0}/tactus-ide/frontend/tsconfig.node.json +5 -0
  462. {tactus-0.5.0 → tactus-0.29.0}/tactus-ide/frontend/vite.config.ts +6 -8
  463. tactus-0.29.0/tactus-ide/frontend/vitest.shims.d.ts +1 -0
  464. {tactus-0.5.0 → tactus-0.29.0}/tactus-ide/package.json +5 -0
  465. {tactus-0.5.0 → tactus-0.29.0}/tactus-ide/start-dev.sh +5 -0
  466. tactus-0.29.0/test-ci.sh +5 -0
  467. tactus-0.29.0/tests/adapters/test_lua_tools_adapter.py +379 -0
  468. tactus-0.29.0/tests/adapters/test_plugins.py +153 -0
  469. tactus-0.29.0/tests/broker/test_broker_host_tool_source.py +39 -0
  470. tactus-0.29.0/tests/broker/test_broker_integration.py +111 -0
  471. tactus-0.29.0/tests/broker/test_broker_tcp_integration.py +112 -0
  472. tactus-0.29.0/tests/broker/test_broker_tcp_unit.py +187 -0
  473. tactus-0.29.0/tests/broker/test_brokered_lm_unit.py +72 -0
  474. {tactus-0.5.0 → tactus-0.29.0}/tests/cli/test_cli.py +102 -33
  475. tactus-0.29.0/tests/cli/test_cli_inputs.py +393 -0
  476. tactus-0.29.0/tests/conftest.py +235 -0
  477. tactus-0.29.0/tests/core/test_config_manager.py +595 -0
  478. tactus-0.29.0/tests/core/test_determinism_safety.py +304 -0
  479. tactus-0.29.0/tests/core/test_lua_sandbox_security.py +161 -0
  480. tactus-0.29.0/tests/core/test_runtime_inputs.py +475 -0
  481. tactus-0.29.0/tests/core/test_script_mode.py +206 -0
  482. tactus-0.29.0/tests/dspy/__init__.py +1 -0
  483. tactus-0.29.0/tests/dspy/test_mock_field_normalization.py +121 -0
  484. tactus-0.29.0/tests/dspy/test_module_parameter.py +142 -0
  485. tactus-0.29.0/tests/dspy/test_prediction_messages.py +114 -0
  486. tactus-0.29.0/tests/dspy/test_streaming.py +276 -0
  487. tactus-0.29.0/tests/fixtures/__init__.py +1 -0
  488. tactus-0.29.0/tests/fixtures/test_mcp_server.py +71 -0
  489. tactus-0.29.0/tests/integration/test_named_procedures.py +226 -0
  490. {tactus-0.5.0 → tactus-0.29.0}/tests/mocks/llm_mocks.py +4 -6
  491. tactus-0.29.0/tests/primitives/test_checkpoint_primitive.py +48 -0
  492. tactus-0.29.0/tests/primitives/test_host_primitive.py +32 -0
  493. tactus-0.29.0/tests/primitives/test_system_alert.py +71 -0
  494. tactus-0.29.0/tests/primitives/test_tool_primitive.py +208 -0
  495. tactus-0.29.0/tests/primitives/test_toolset_dsl.py +83 -0
  496. tactus-0.29.0/tests/sandbox/test_container_runner.py +170 -0
  497. tactus-0.29.0/tests/sandbox/test_docker_sandbox_smoke.py +98 -0
  498. tactus-0.29.0/tests/stdlib/__init__.py +1 -0
  499. tactus-0.29.0/tests/stdlib/test_loader.py +180 -0
  500. tactus-0.29.0/tests/stdlib/test_require_python.py +228 -0
  501. tactus-0.29.0/tests/test_checkpoints_integration.py +59 -0
  502. tactus-0.29.0/tests/test_mcp_integration.py +162 -0
  503. tactus-0.29.0/tests/test_tracing.py +666 -0
  504. tactus-0.29.0/tests/testing/conftest.py +81 -0
  505. tactus-0.29.0/tests/testing/test_all_examples.py +369 -0
  506. {tactus-0.5.0 → tactus-0.29.0}/tests/testing/test_e2e.py +26 -26
  507. {tactus-0.5.0 → tactus-0.29.0}/tests/testing/test_gherkin_parser.py +3 -3
  508. {tactus-0.5.0 → tactus-0.29.0}/tests/testing/test_models.py +9 -9
  509. {tactus-0.5.0 → tactus-0.29.0}/tests/testing/test_runtime_integration.py +26 -19
  510. tactus-0.29.0/tests/utils/__init__.py +1 -0
  511. tactus-0.29.0/tests/utils/test_safe_file_library.py +561 -0
  512. tactus-0.29.0/tests/validation/test_tool_curried_syntax_disallowed.py +57 -0
  513. tactus-0.5.0/.github/workflows/desktop-release.yml +0 -83
  514. tactus-0.5.0/.github/workflows/release.yml +0 -86
  515. tactus-0.5.0/AGENTS.md +0 -221
  516. tactus-0.5.0/CHANGELOG.md +0 -73
  517. tactus-0.5.0/IMPLEMENTATION.md +0 -923
  518. tactus-0.5.0/PKG-INFO +0 -915
  519. tactus-0.5.0/README.md +0 -869
  520. tactus-0.5.0/RUNTIME_INTEGRATION_SUMMARY.md +0 -359
  521. tactus-0.5.0/SPECIFICATION.md +0 -2279
  522. tactus-0.5.0/SPEC_MISMATCHES.md +0 -256
  523. tactus-0.5.0/examples/.tac/config.yml.example +0 -2
  524. tactus-0.5.0/examples/README.md +0 -171
  525. tactus-0.5.0/examples/hello-world.tac +0 -64
  526. tactus-0.5.0/examples/message-history-demo.tac +0 -77
  527. tactus-0.5.0/examples/multi-model.tac +0 -70
  528. tactus-0.5.0/examples/session-demo.tac +0 -77
  529. tactus-0.5.0/examples/simple-agent.tac +0 -68
  530. tactus-0.5.0/examples/simple-no-agent.tac +0 -83
  531. tactus-0.5.0/examples/state-management.tac +0 -66
  532. tactus-0.5.0/examples/structured-output-demo.tac +0 -79
  533. tactus-0.5.0/examples/with-parameters.tac +0 -65
  534. tactus-0.5.0/features/01_state_management.feature +0 -43
  535. tactus-0.5.0/features/02_checkpointing.feature +0 -37
  536. tactus-0.5.0/features/03_human_in_the_loop.feature +0 -50
  537. tactus-0.5.0/features/04_control_flow.feature +0 -39
  538. tactus-0.5.0/features/05_tool_integration.feature +0 -43
  539. tactus-0.5.0/features/06_retry_logic.feature +0 -44
  540. tactus-0.5.0/features/07_file_operations.feature +0 -65
  541. tactus-0.5.0/features/08_agent_primitives.feature +0 -66
  542. tactus-0.5.0/features/09_workflow_execution.feature +0 -109
  543. tactus-0.5.0/features/10_lua_integration.feature +0 -104
  544. tactus-0.5.0/features/11_storage_backends.feature +0 -62
  545. tactus-0.5.0/features/12_json_operations.feature +0 -95
  546. tactus-0.5.0/features/13_logging.feature +0 -68
  547. tactus-0.5.0/features/14_stage_and_step_tracking.feature +0 -73
  548. tactus-0.5.0/features/15_procedure_calls.feature +0 -79
  549. tactus-0.5.0/features/16_session_management.feature +0 -85
  550. tactus-0.5.0/features/17_lua_dsl_validation.feature +0 -150
  551. tactus-0.5.0/features/18_example_procedures.feature +0 -48
  552. tactus-0.5.0/features/19_ide_server.feature +0 -39
  553. tactus-0.5.0/features/20_parameters.feature +0 -162
  554. tactus-0.5.0/features/21_outputs.feature +0 -169
  555. tactus-0.5.0/features/23_prompts.feature +0 -97
  556. tactus-0.5.0/features/24_bdd_specifications.feature +0 -142
  557. tactus-0.5.0/features/25_bdd_custom_steps.feature +0 -109
  558. tactus-0.5.0/features/26_bdd_evaluation.feature +0 -121
  559. tactus-0.5.0/features/27_default_settings.feature +0 -101
  560. tactus-0.5.0/features/28_custom_prompts.feature +0 -124
  561. tactus-0.5.0/features/29_execution_settings.feature +0 -102
  562. tactus-0.5.0/features/30_session_filters.feature +0 -117
  563. tactus-0.5.0/features/31_matchers.feature +0 -106
  564. tactus-0.5.0/features/32_result_object.feature +0 -34
  565. tactus-0.5.0/features/33_output_type.feature +0 -31
  566. tactus-0.5.0/features/documentation/Lua DSL/IMPLEMENTATION_STATUS.md +0 -246
  567. tactus-0.5.0/features/documentation/Lua DSL/PLAN.md +0 -238
  568. tactus-0.5.0/features/steps/checkpointing_steps.py +0 -161
  569. tactus-0.5.0/tactus/adapters/cli_log.py +0 -108
  570. tactus-0.5.0/tactus/adapters/file_storage.py +0 -202
  571. tactus-0.5.0/tactus/adapters/memory.py +0 -119
  572. tactus-0.5.0/tactus/cli/app.py +0 -846
  573. tactus-0.5.0/tactus/core/dsl_stubs.py +0 -260
  574. tactus-0.5.0/tactus/core/execution_context.py +0 -225
  575. tactus-0.5.0/tactus/core/registry.py +0 -344
  576. tactus-0.5.0/tactus/core/runtime.py +0 -1130
  577. tactus-0.5.0/tactus/ide/server.py +0 -1158
  578. tactus-0.5.0/tactus/primitives/agent.py +0 -432
  579. tactus-0.5.0/tactus/primitives/result.py +0 -207
  580. tactus-0.5.0/tactus/primitives/step.py +0 -132
  581. tactus-0.5.0/tactus/primitives/tool.py +0 -163
  582. tactus-0.5.0/tactus/protocols/models.py +0 -186
  583. tactus-0.5.0/tactus/testing/mock_agent.py +0 -69
  584. tactus-0.5.0/tactus/testing/test_runner.py +0 -278
  585. tactus-0.5.0/tactus/validation/grammar/Lua.g4 +0 -1439
  586. tactus-0.5.0/tactus/validation/semantic_visitor.py +0 -342
  587. tactus-0.5.0/tactus-desktop/src/main.ts +0 -119
  588. tactus-0.5.0/tactus-ide/IDE_OVERHAUL_SUMMARY.md +0 -159
  589. tactus-0.5.0/tactus-ide/backend/README.md +0 -87
  590. tactus-0.5.0/tactus-ide/backend/app.py +0 -806
  591. tactus-0.5.0/tactus-ide/backend/app_simple.py +0 -140
  592. tactus-0.5.0/tactus-ide/frontend/index.html +0 -19
  593. tactus-0.5.0/tactus-ide/frontend/src/App.tsx +0 -569
  594. tactus-0.5.0/tactus-ide/frontend/src/components/ResultsSidebar.tsx +0 -188
  595. tactus-0.5.0/tactus-ide/frontend/src/components/events/EventRenderer.tsx +0 -60
  596. tactus-0.5.0/tactus-ide/frontend/src/components/events/ExecutionEventComponent.tsx +0 -66
  597. tactus-0.5.0/tactus-ide/frontend/src/components/events/ExecutionSummaryEventComponent.tsx +0 -118
  598. tactus-0.5.0/tactus-ide/frontend/src/components/events/LogEventComponent.tsx +0 -65
  599. tactus-0.5.0/tactus-ide/frontend/src/components/events/OutputEventComponent.tsx +0 -20
  600. tactus-0.5.0/tactus-ide/frontend/src/components/events/TestEventComponent.tsx +0 -161
  601. tactus-0.5.0/tactus-ide/frontend/src/components/events/ValidationEventComponent.tsx +0 -41
  602. tactus-0.5.0/tactus-ide/frontend/src/hooks/useEventStream.ts +0 -93
  603. tactus-0.5.0/tactus-ide/frontend/src/index.css +0 -77
  604. tactus-0.5.0/tactus-ide/frontend/src/utils/exportForAI.ts +0 -235
  605. tactus-0.5.0/tests/conftest.py +0 -65
  606. tactus-0.5.0/tests/primitives/test_tool_primitive.py +0 -12
  607. {tactus-0.5.0 → tactus-0.29.0}/.claude/agents.md +0 -0
  608. {tactus-0.5.0 → tactus-0.29.0}/LICENSE +0 -0
  609. {tactus-0.5.0 → tactus-0.29.0}/behave.ini +0 -0
  610. {tactus-0.5.0 → tactus-0.29.0}/features/steps/control_flow_steps.py +0 -0
  611. {tactus-0.5.0 → tactus-0.29.0}/features/steps/file_operations_steps.py +0 -0
  612. {tactus-0.5.0 → tactus-0.29.0}/features/steps/ide_server_steps.py +0 -0
  613. {tactus-0.5.0 → tactus-0.29.0}/features/steps/json_operations_steps.py +0 -0
  614. {tactus-0.5.0 → tactus-0.29.0}/features/steps/logging_steps.py +0 -0
  615. {tactus-0.5.0 → tactus-0.29.0}/features/steps/lua_integration_steps.py +0 -0
  616. {tactus-0.5.0 → tactus-0.29.0}/features/steps/retry_logic_steps.py +0 -0
  617. {tactus-0.5.0 → tactus-0.29.0}/features/steps/session_management_steps.py +0 -0
  618. {tactus-0.5.0 → tactus-0.29.0}/features/steps/state_management_steps.py +0 -0
  619. {tactus-0.5.0 → tactus-0.29.0}/features/steps/support/__init__.py +0 -0
  620. {tactus-0.5.0 → tactus-0.29.0}/start-web-ide.sh +0 -0
  621. {tactus-0.5.0 → tactus-0.29.0}/tactus/adapters/__init__.py +0 -0
  622. {tactus-0.5.0 → tactus-0.29.0}/tactus/adapters/mcp.py +0 -0
  623. {tactus-0.5.0 → tactus-0.29.0}/tactus/cli/__init__.py +0 -0
  624. {tactus-0.5.0 → tactus-0.29.0}/tactus/cli/commands/__init__.py +0 -0
  625. {tactus-0.5.0 → tactus-0.29.0}/tactus/core/__init__.py +0 -0
  626. {tactus-0.5.0 → tactus-0.29.0}/tactus/core/exceptions.py +0 -0
  627. {tactus-0.5.0 → tactus-0.29.0}/tactus/core/message_history_manager.py +0 -0
  628. {tactus-0.5.0 → tactus-0.29.0}/tactus/ide/__init__.py +0 -0
  629. {tactus-0.5.0 → tactus-0.29.0}/tactus/primitives/control.py +0 -0
  630. {tactus-0.5.0 → tactus-0.29.0}/tactus/primitives/human.py +0 -0
  631. {tactus-0.5.0 → tactus-0.29.0}/tactus/primitives/json.py +0 -0
  632. {tactus-0.5.0 → tactus-0.29.0}/tactus/primitives/message_history.py +0 -0
  633. {tactus-0.5.0 → tactus-0.29.0}/tactus/primitives/retry.py +0 -0
  634. {tactus-0.5.0 → tactus-0.29.0}/tactus/primitives/stage.py +0 -0
  635. {tactus-0.5.0 → tactus-0.29.0}/tactus/protocols/chat_recorder.py +0 -0
  636. {tactus-0.5.0 → tactus-0.29.0}/tactus/protocols/config.py +0 -0
  637. {tactus-0.5.0 → tactus-0.29.0}/tactus/protocols/hitl.py +0 -0
  638. {tactus-0.5.0 → tactus-0.29.0}/tactus/protocols/log_handler.py +0 -0
  639. {tactus-0.5.0 → tactus-0.29.0}/tactus/providers/base.py +0 -0
  640. {tactus-0.5.0 → tactus-0.29.0}/tactus/providers/openai.py +0 -0
  641. {tactus-0.5.0 → tactus-0.29.0}/tactus/testing/__init__.py +0 -0
  642. {tactus-0.5.0 → tactus-0.29.0}/tactus/testing/events.py +0 -0
  643. {tactus-0.5.0 → tactus-0.29.0}/tactus/testing/steps/__init__.py +0 -0
  644. {tactus-0.5.0 → tactus-0.29.0}/tactus/testing/steps/custom.py +0 -0
  645. {tactus-0.5.0 → tactus-0.29.0}/tactus/testing/steps/registry.py +0 -0
  646. {tactus-0.5.0 → tactus-0.29.0}/tactus/utils/__init__.py +0 -0
  647. {tactus-0.5.0 → tactus-0.29.0}/tactus/utils/cost_calculator.py +0 -0
  648. {tactus-0.5.0 → tactus-0.29.0}/tactus/utils/model_pricing.py +0 -0
  649. {tactus-0.5.0 → tactus-0.29.0}/tactus/validation/__init__.py +0 -0
  650. {tactus-0.5.0 → tactus-0.29.0}/tactus/validation/error_listener.py +0 -0
  651. {tactus-0.5.0 → tactus-0.29.0}/tactus/validation/generated/LuaLexer.interp +0 -0
  652. {tactus-0.5.0 → tactus-0.29.0}/tactus/validation/generated/LuaLexer.tokens +0 -0
  653. {tactus-0.5.0 → tactus-0.29.0}/tactus/validation/generated/LuaParser.interp +0 -0
  654. {tactus-0.5.0 → tactus-0.29.0}/tactus/validation/generated/LuaParser.tokens +0 -0
  655. {tactus-0.5.0 → tactus-0.29.0}/tactus/validation/grammar/LuaLexer.g4 +0 -0
  656. {tactus-0.5.0 → tactus-0.29.0}/tactus/validation/grammar/LuaParser.g4 +0 -0
  657. {tactus-0.5.0 → tactus-0.29.0}/tactus/validation/validator.py +0 -0
  658. {tactus-0.5.0 → tactus-0.29.0}/tactus-desktop/.gitignore +0 -0
  659. {tactus-0.5.0 → tactus-0.29.0}/tactus-desktop/README.md +0 -0
  660. {tactus-0.5.0 → tactus-0.29.0}/tactus-desktop/SETUP_COMPLETE.md +0 -0
  661. {tactus-0.5.0 → tactus-0.29.0}/tactus-desktop/preload/preload.ts +0 -0
  662. {tactus-0.5.0 → tactus-0.29.0}/tactus-desktop/rebuild-and-test.sh +0 -0
  663. {tactus-0.5.0 → tactus-0.29.0}/tactus-desktop/scripts/build-backend.js +0 -0
  664. {tactus-0.5.0 → tactus-0.29.0}/tactus-desktop/scripts/build-frontend.js +0 -0
  665. {tactus-0.5.0 → tactus-0.29.0}/tactus-ide/backend/logging_capture.py +0 -0
  666. {tactus-0.5.0 → tactus-0.29.0}/tactus-ide/backend/lsp_server.py +0 -0
  667. {tactus-0.5.0 → tactus-0.29.0}/tactus-ide/backend/tactus_lsp_handler.py +0 -0
  668. {tactus-0.5.0 → tactus-0.29.0}/tactus-ide/backend/test_lsp_server.py +0 -0
  669. {tactus-0.5.0 → tactus-0.29.0}/tactus-ide/frontend/jest.config.js +0 -0
  670. {tactus-0.5.0 → tactus-0.29.0}/tactus-ide/frontend/src/validation/generated/LuaParser.interp +0 -0
  671. {tactus-0.5.0 → tactus-0.29.0}/tactus-ide/frontend/src/validation/generated/LuaParser.tokens +0 -0
  672. {tactus-0.5.0 → tactus-0.29.0}/tactus-ide/frontend/src/validation/types.ts +0 -0
  673. {tactus-0.5.0 → tactus-0.29.0}/tests/__init__.py +0 -0
  674. {tactus-0.5.0 → tactus-0.29.0}/tests/adapters/__init__.py +0 -0
  675. {tactus-0.5.0 → tactus-0.29.0}/tests/cli/__init__.py +0 -0
  676. {tactus-0.5.0 → tactus-0.29.0}/tests/core/__init__.py +0 -0
  677. {tactus-0.5.0 → tactus-0.29.0}/tests/mocks/__init__.py +0 -0
  678. {tactus-0.5.0 → tactus-0.29.0}/tests/primitives/test_retry_primitive.py +0 -0
  679. {tactus-0.5.0 → tactus-0.29.0}/tests/primitives/test_state_primitive.py +0 -0
  680. {tactus-0.5.0 → tactus-0.29.0}/tests/testing/__init__.py +0 -0
  681. {tactus-0.5.0 → tactus-0.29.0}/tests/testing/test_integration.py +0 -0
  682. {tactus-0.5.0 → tactus-0.29.0}/tests/testing/test_step_registry.py +0 -0
  683. {tactus-0.5.0 → tactus-0.29.0}/tests/validation/__init__.py +0 -0
@@ -0,0 +1,177 @@
1
+ name: Release
2
+
3
+ on:
4
+ push:
5
+ branches:
6
+ - '**'
7
+ pull_request:
8
+ branches:
9
+ - '**'
10
+
11
+ permissions:
12
+ contents: read
13
+
14
+ jobs:
15
+ quality-checks:
16
+ name: Quality Checks
17
+ runs-on: ubuntu-latest
18
+
19
+ steps:
20
+ - name: Checkout code
21
+ uses: actions/checkout@v4
22
+ with:
23
+ fetch-depth: 0
24
+
25
+ - name: Set up Python
26
+ uses: actions/setup-python@v5
27
+ with:
28
+ python-version: '3.11'
29
+ cache: 'pip'
30
+
31
+ - name: Install dependencies
32
+ run: |
33
+ python -m pip install --upgrade pip
34
+ pip install -e ".[dev]"
35
+
36
+ - name: Run ruff linting
37
+ run: ruff check tactus/ tests/ features/steps/
38
+
39
+ - name: Run black formatting check
40
+ run: black --check tactus/ tests/ features/steps/
41
+
42
+ - name: Run pytest tests
43
+ run: pytest tests/ -v --tb=short -m "not integration" -n0
44
+
45
+ - name: Run behave BDD tests
46
+ run: behave
47
+
48
+ release:
49
+ name: Semantic Release
50
+ runs-on: ubuntu-latest
51
+ needs: quality-checks
52
+ if: github.event_name == 'push' && github.ref == 'refs/heads/main'
53
+ permissions:
54
+ contents: write
55
+ id-token: write
56
+
57
+ steps:
58
+ - name: Checkout code
59
+ uses: actions/checkout@v4
60
+ with:
61
+ fetch-depth: 0
62
+ token: ${{ secrets.GH_TOKEN }}
63
+
64
+ - name: Set up Python
65
+ uses: actions/setup-python@v5
66
+ with:
67
+ python-version: '3.11'
68
+ cache: 'pip'
69
+
70
+ - name: Install python-semantic-release
71
+ run: |
72
+ python -m pip install --upgrade pip
73
+ pip install python-semantic-release
74
+
75
+ - name: Python Semantic Release
76
+ env:
77
+ GH_TOKEN: ${{ secrets.GH_TOKEN }}
78
+ PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }}
79
+ run: |
80
+ git config user.name "github-actions[bot]"
81
+ git config user.email "github-actions[bot]@users.noreply.github.com"
82
+ semantic-release version
83
+ semantic-release publish
84
+
85
+ - name: Publish to PyPI
86
+ if: success() && hashFiles('dist/*') != ''
87
+ env:
88
+ TWINE_USERNAME: __token__
89
+ TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }}
90
+ run: |
91
+ pip install twine
92
+ twine upload --skip-existing dist/*
93
+
94
+ desktop-builds:
95
+ name: Build Desktop Apps
96
+ runs-on: ${{ matrix.os }}
97
+ needs: release
98
+ if: github.event_name == 'push' && github.ref == 'refs/heads/main'
99
+ strategy:
100
+ matrix:
101
+ os: [macos-latest, windows-latest, ubuntu-latest]
102
+
103
+ steps:
104
+ - name: Checkout code
105
+ uses: actions/checkout@v4
106
+
107
+ - name: Setup Node.js
108
+ uses: actions/setup-node@v4
109
+ with:
110
+ node-version: '18'
111
+
112
+ - name: Setup Python
113
+ uses: actions/setup-python@v5
114
+ with:
115
+ python-version: '3.11'
116
+
117
+ - name: Install Python dependencies
118
+ run: |
119
+ python -m pip install --upgrade pip
120
+ pip install pyinstaller
121
+ pip install -e .
122
+
123
+ - name: Install Node dependencies (Desktop)
124
+ working-directory: ./tactus-desktop
125
+ run: npm install
126
+
127
+ - name: Build Frontend
128
+ working-directory: ./tactus-desktop
129
+ run: npm run build:frontend
130
+
131
+ - name: Build Backend
132
+ working-directory: ./tactus-desktop
133
+ run: npm run build:backend
134
+
135
+ - name: Build Electron
136
+ working-directory: ./tactus-desktop
137
+ run: npm run build
138
+
139
+ - name: Package Application (macOS)
140
+ if: matrix.os == 'macos-latest'
141
+ working-directory: ./tactus-desktop
142
+ run: npm run package:mac
143
+
144
+ - name: Package Application (Windows)
145
+ if: matrix.os == 'windows-latest'
146
+ working-directory: ./tactus-desktop
147
+ run: npm run package:win
148
+
149
+ - name: Package Application (Linux)
150
+ if: matrix.os == 'ubuntu-latest'
151
+ working-directory: ./tactus-desktop
152
+ run: npm run package:linux
153
+
154
+ - name: Upload Desktop Artifacts
155
+ uses: actions/upload-artifact@v4
156
+ with:
157
+ name: desktop-${{ matrix.os }}
158
+ path: tactus-desktop/dist-electron/*
159
+
160
+ - name: Get latest release tag
161
+ id: version
162
+ run: |
163
+ # Get the latest tag created by semantic-release
164
+ git fetch --tags
165
+ LATEST_TAG=$(git describe --tags --abbrev=0 2>/dev/null || echo "v0.0.0")
166
+ echo "tag=$LATEST_TAG" >> $GITHUB_OUTPUT
167
+ shell: bash
168
+
169
+ - name: Attach Desktop Builds to Release
170
+ if: success()
171
+ uses: softprops/action-gh-release@v1
172
+ with:
173
+ tag_name: ${{ steps.version.outputs.tag }}
174
+ files: tactus-desktop/dist-electron/*
175
+ fail_on_unmatched_files: false
176
+ env:
177
+ GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
@@ -34,6 +34,14 @@ yarn-debug.log*
34
34
  yarn-error.log*
35
35
 
36
36
  # Tactus specific
37
- .tac/config.yml
38
- progress.output
39
37
  .tactus/config.yml
38
+ progress.output
39
+ .tac/
40
+ tmp/
41
+ examples/output/
42
+ _recovery/
43
+ .tactus-broker/
44
+
45
+ *storybook.log
46
+ storybook-static
47
+ *.bak
@@ -0,0 +1,41 @@
1
+ # Tactus Configuration File
2
+ # Copy this file to config.yml and add your actual API keys
3
+
4
+ # OpenAI Configuration
5
+ openai_api_key: "your-openai-api-key-here"
6
+
7
+ # AWS Bedrock Configuration
8
+ aws_access_key_id: "your-aws-access-key-id-here"
9
+ aws_secret_access_key: "your-aws-secret-access-key-here"
10
+ aws_region: "us-east-1" # or your preferred region
11
+
12
+ # MCP Servers Configuration
13
+ # Define Model Context Protocol servers that provide tools to your agents
14
+ mcp_servers:
15
+ # Example: Test MCP Server (for testing)
16
+ # test_server:
17
+ # command: "python"
18
+ # args:
19
+ # - "-m"
20
+ # - "tests.fixtures.test_mcp_server"
21
+
22
+ # Example: Plexus MCP Server
23
+ # plexus:
24
+ # command: "python"
25
+ # args:
26
+ # - "-m"
27
+ # - "plexus.mcp"
28
+ # env:
29
+ # PLEXUS_ACCOUNT_KEY: "${PLEXUS_ACCOUNT_KEY}"
30
+ # PLEXUS_API_KEY: "${PLEXUS_API_KEY}"
31
+
32
+ # Example: Filesystem MCP Server
33
+ # filesystem:
34
+ # command: "npx"
35
+ # args:
36
+ # - "-y"
37
+ # - "@modelcontextprotocol/server-filesystem"
38
+ # - "/workspace"
39
+
40
+ # Note: Tools from MCP servers are automatically prefixed with the server name
41
+ # Example: "test_server_add_numbers", "plexus_score_info", "filesystem_read_file"