ait-native 0.10.3__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 (309) hide show
  1. ait/__init__.py +15 -0
  2. ait/aitk_export.py +994 -0
  3. ait/aitk_filters.py +305 -0
  4. ait/aitk_layout.py +111 -0
  5. ait/aitk_provenance.py +161 -0
  6. ait/cli/__init__.py +61 -0
  7. ait/cli/app.py +754 -0
  8. ait/cli/app_surfaces.py +184 -0
  9. ait/cli/bootstrap_views.py +116 -0
  10. ait/cli/commands/__init__.py +3 -0
  11. ait/cli/commands/attest.py +85 -0
  12. ait/cli/commands/auth.py +77 -0
  13. ait/cli/commands/benchmark.py +714 -0
  14. ait/cli/commands/blame.py +262 -0
  15. ait/cli/commands/bootstrap.py +101 -0
  16. ait/cli/commands/change.py +350 -0
  17. ait/cli/commands/config.py +444 -0
  18. ait/cli/commands/doctor.py +50 -0
  19. ait/cli/commands/gc.py +60 -0
  20. ait/cli/commands/land.py +126 -0
  21. ait/cli/commands/line.py +219 -0
  22. ait/cli/commands/patchset.py +230 -0
  23. ait/cli/commands/plan.py +844 -0
  24. ait/cli/commands/plan_session.py +199 -0
  25. ait/cli/commands/policy.py +73 -0
  26. ait/cli/commands/queue.py +37 -0
  27. ait/cli/commands/queue_workflow_land.py +270 -0
  28. ait/cli/commands/ref.py +95 -0
  29. ait/cli/commands/release.py +305 -0
  30. ait/cli/commands/remote.py +43 -0
  31. ait/cli/commands/repo.py +427 -0
  32. ait/cli/commands/review.py +397 -0
  33. ait/cli/commands/session.py +410 -0
  34. ait/cli/commands/snapshot.py +174 -0
  35. ait/cli/commands/stack.py +132 -0
  36. ait/cli/commands/stash.py +131 -0
  37. ait/cli/commands/task.py +1258 -0
  38. ait/cli/commands/workflow.py +464 -0
  39. ait/cli/commands/workspace.py +80 -0
  40. ait/cli/commands/worktree.py +409 -0
  41. ait/cli/init_command.py +78 -0
  42. ait/cli/install_command.py +704 -0
  43. ait/cli/line_transport_helpers.py +454 -0
  44. ait/cli/local_promotion_stale_base_guard.py +113 -0
  45. ait/cli/plan_dispatch_helpers.py +253 -0
  46. ait/cli/plan_markdown_authoring.py +410 -0
  47. ait/cli/plan_publish_helpers.py +334 -0
  48. ait/cli/plan_sync_adoption.py +378 -0
  49. ait/cli/plan_sync_matching.py +288 -0
  50. ait/cli/plan_sync_scope.py +631 -0
  51. ait/cli/plan_task_linkage.py +153 -0
  52. ait/cli/plan_views.py +338 -0
  53. ait/cli/queue_summary_helpers.py +177 -0
  54. ait/cli/queue_views.py +274 -0
  55. ait/cli/remote_ci_readiness_helpers.py +109 -0
  56. ait/cli/remote_repository_defaults.py +91 -0
  57. ait/cli/remote_session_wrappers.py +194 -0
  58. ait/cli/reply_runtime_seam.py +14 -0
  59. ait/cli/review_submission_helpers.py +72 -0
  60. ait/cli/runtime_defaults.py +123 -0
  61. ait/cli/runtime_inspection_views.py +173 -0
  62. ait/cli/server_runtime_helpers.py +15 -0
  63. ait/cli/session_analysis_merge_helpers.py +257 -0
  64. ait/cli/session_command_analysis.py +1041 -0
  65. ait/cli/session_runtime_helpers.py +399 -0
  66. ait/cli/session_views.py +226 -0
  67. ait/cli/shared.py +44 -0
  68. ait/cli/task_close_tracking.py +589 -0
  69. ait/cli/task_dag_command_payloads.py +186 -0
  70. ait/cli/task_dag_compact_packet_authoring.py +1132 -0
  71. ait/cli/task_dag_compact_worker_runtime.py +1516 -0
  72. ait/cli/task_dag_execute_contract.py +395 -0
  73. ait/cli/task_dag_execute_run_controls.py +877 -0
  74. ait/cli/task_dag_execute_run_state.py +411 -0
  75. ait/cli/task_dag_graph_artifacts.py +67 -0
  76. ait/cli/task_dag_node_bootstrap.py +968 -0
  77. ait/cli/task_dag_readiness_views.py +360 -0
  78. ait/cli/task_dag_runtime_helpers.py +293 -0
  79. ait/cli/task_dag_telegram_watch.py +322 -0
  80. ait/cli/task_dag_topology_helpers.py +96 -0
  81. ait/cli/task_dag_views.py +266 -0
  82. ait/cli/task_tracking_bindings.py +122 -0
  83. ait/cli/task_worktree_guidance.py +122 -0
  84. ait/cli/task_worktree_resolution.py +167 -0
  85. ait/cli/task_worktree_runtime.py +677 -0
  86. ait/cli/workflow_authoring.py +174 -0
  87. ait/cli/workflow_boundary_sessions.py +492 -0
  88. ait/cli/workflow_guides.py +180 -0
  89. ait/cli/workflow_identity_helpers.py +128 -0
  90. ait/cli/workflow_land_apply.py +278 -0
  91. ait/cli/workflow_land_batch.py +364 -0
  92. ait/cli/workflow_land_command_hints.py +217 -0
  93. ait/cli/workflow_land_completed_local.py +541 -0
  94. ait/cli/workflow_land_publish.py +522 -0
  95. ait/cli/workflow_land_selection.py +532 -0
  96. ait/cli/workflow_land_snapshot_replay.py +346 -0
  97. ait/cli/workflow_land_state.py +780 -0
  98. ait/cli/workflow_land_sync.py +118 -0
  99. ait/cli/workflow_land_task_dag.py +175 -0
  100. ait/cli/workflow_land_text.py +58 -0
  101. ait/cli/workflow_land_views.py +81 -0
  102. ait/cli/workflow_mode_config.py +370 -0
  103. ait/cli/workspace_command_locking.py +103 -0
  104. ait/cli/worktree_views.py +406 -0
  105. ait/command_profiling.py +155 -0
  106. ait/local_content.py +2134 -0
  107. ait/local_content_bundle.py +238 -0
  108. ait/local_content_workspace.py +485 -0
  109. ait/local_control.py +1369 -0
  110. ait/local_first_final_land_benchmark.py +391 -0
  111. ait/local_snapshot_performance_benchmark.py +688 -0
  112. ait/local_workflow_identity.py +383 -0
  113. ait/local_workflow_sessions.py +521 -0
  114. ait/plan_graph.py +714 -0
  115. ait/planning_compiler.py +757 -0
  116. ait/release_ops.py +1769 -0
  117. ait/remote_client.py +1392 -0
  118. ait/repo_paths.py +210 -0
  119. ait/server_runtime_preflight.py +90 -0
  120. ait/server_runtime_seam.py +6 -0
  121. ait/snapshot_blame.py +1029 -0
  122. ait/snapshot_diff.py +423 -0
  123. ait/static_web_benchmark.py +830 -0
  124. ait/static_web_hardening_benchmark.py +1212 -0
  125. ait/store.py +545 -0
  126. ait/store_content_ops.py +147 -0
  127. ait/store_line_cleanup.py +303 -0
  128. ait/store_local_views.py +71 -0
  129. ait/store_local_workflow.py +711 -0
  130. ait/store_local_workflow_runtime.py +78 -0
  131. ait/store_repo_config.py +113 -0
  132. ait/store_stash.py +150 -0
  133. ait/store_workspace_replay.py +518 -0
  134. ait/store_workspace_restore.py +134 -0
  135. ait/store_worktree_bindings.py +66 -0
  136. ait/store_worktree_cleanup.py +380 -0
  137. ait/store_worktree_filesystem.py +244 -0
  138. ait/store_worktree_layout.py +267 -0
  139. ait/store_worktree_lifecycle.py +442 -0
  140. ait/store_worktree_metadata.py +179 -0
  141. ait/store_worktree_rebase.py +583 -0
  142. ait/store_worktree_restore.py +717 -0
  143. ait/store_worktree_runtime.py +403 -0
  144. ait/store_worktree_state.py +629 -0
  145. ait/store_worktree_views.py +370 -0
  146. ait/store_worktrees.py +46 -0
  147. ait/strict_rerun_builder.py +674 -0
  148. ait/task_dag_conversation.py +223 -0
  149. ait/task_dag_readiness.py +1603 -0
  150. ait/task_statuses.py +21 -0
  151. ait/task_tokens.py +304 -0
  152. ait/task_worktree_layout.py +434 -0
  153. ait/token_benchmark.py +1167 -0
  154. ait/workflow_conversation.py +419 -0
  155. ait_agent/__init__.py +19 -0
  156. ait_agent/cli.py +1892 -0
  157. ait_agent/discord/__init__.py +0 -0
  158. ait_agent/discord/app.py +1766 -0
  159. ait_agent/discord/clients.py +724 -0
  160. ait_agent/discord/runtime.py +233 -0
  161. ait_agent/envelope.py +276 -0
  162. ait_agent/line/__init__.py +3 -0
  163. ait_agent/line/app.py +816 -0
  164. ait_agent/line/runtime.py +168 -0
  165. ait_agent/local_runtime_seam.py +44 -0
  166. ait_agent/runtime_backend.py +829 -0
  167. ait_agent/runtime_bindings.py +706 -0
  168. ait_agent/server_runtime_seam.py +36 -0
  169. ait_agent/slack/__init__.py +1 -0
  170. ait_agent/slack/app.py +1014 -0
  171. ait_agent/slack/runtime.py +168 -0
  172. ait_agent/telegram/__init__.py +7 -0
  173. ait_agent/telegram/app.py +2328 -0
  174. ait_agent/telegram/background_sync.py +217 -0
  175. ait_agent/telegram/commands.py +523 -0
  176. ait_agent/telegram/config.py +350 -0
  177. ait_agent/telegram/event_triggers.py +212 -0
  178. ait_agent/telegram/formatting.py +339 -0
  179. ait_agent/telegram/graph_watches.py +653 -0
  180. ait_agent/telegram/live_replies.py +302 -0
  181. ait_agent/telegram/logical_turns.py +166 -0
  182. ait_agent/telegram/owner_bootstrap.py +247 -0
  183. ait_agent/telegram/reply_turns.py +431 -0
  184. ait_agent/telegram/runtime.py +337 -0
  185. ait_agent/telegram/service_entry.py +80 -0
  186. ait_agent/telegram/session_links.py +319 -0
  187. ait_agent/telegram/session_views.py +172 -0
  188. ait_agent/telegram/speech_to_text.py +153 -0
  189. ait_agent/telegram/transport_io.py +486 -0
  190. ait_agent/telegram/turn_inputs.py +267 -0
  191. ait_agent/telegram/update_dispatch.py +32 -0
  192. ait_agent/telegram/worker_config.py +130 -0
  193. ait_agent/telegram/workflow_notifications.py +648 -0
  194. ait_agent/telegram/workflow_queries.py +76 -0
  195. ait_agent/transport_retry.py +143 -0
  196. ait_chat/__init__.py +9 -0
  197. ait_chat/codex_app_server.py +1073 -0
  198. ait_chat/codex_reply.py +1351 -0
  199. ait_chat/context_compression.py +171 -0
  200. ait_chat/reply_attachments.py +77 -0
  201. ait_chat/reply_config.py +516 -0
  202. ait_chat/reply_context.py +283 -0
  203. ait_chat/reply_http.py +62 -0
  204. ait_chat/runtime_config.py +81 -0
  205. ait_chat/session_reply.py +196 -0
  206. ait_chat/utility_prompt.py +150 -0
  207. ait_native/__init__.py +2 -0
  208. ait_native/cli.py +4 -0
  209. ait_native/common.py +4 -0
  210. ait_native/local_content.py +4 -0
  211. ait_native/local_content_bundle.py +4 -0
  212. ait_native/local_content_workspace.py +4 -0
  213. ait_native/local_control.py +4 -0
  214. ait_native/packfiles.py +4 -0
  215. ait_native/read_models.py +4 -0
  216. ait_native/remote_client.py +4 -0
  217. ait_native/repo_paths.py +4 -0
  218. ait_native/revision_trees.py +4 -0
  219. ait_native/server.py +4 -0
  220. ait_native/server_auth.py +4 -0
  221. ait_native/server_content.py +4 -0
  222. ait_native/server_control.py +4 -0
  223. ait_native/server_cutover.py +4 -0
  224. ait_native/server_db.py +4 -0
  225. ait_native/server_paths.py +4 -0
  226. ait_native/server_queue.py +4 -0
  227. ait_native/server_store.py +4 -0
  228. ait_native/store.py +4 -0
  229. ait_native/store_local_workflow.py +4 -0
  230. ait_native/store_worktrees.py +4 -0
  231. ait_native/treepacks.py +4 -0
  232. ait_native/worker.py +4 -0
  233. ait_native-0.10.3.dist-info/METADATA +79 -0
  234. ait_native-0.10.3.dist-info/RECORD +309 -0
  235. ait_native-0.10.3.dist-info/WHEEL +5 -0
  236. ait_native-0.10.3.dist-info/entry_points.txt +6 -0
  237. ait_native-0.10.3.dist-info/licenses/LICENSE +204 -0
  238. ait_native-0.10.3.dist-info/licenses/LICENSES/AGPL-3.0-only.txt +14 -0
  239. ait_native-0.10.3.dist-info/licenses/NOTICE +18 -0
  240. ait_native-0.10.3.dist-info/top_level.txt +8 -0
  241. ait_protocol/__init__.py +1 -0
  242. ait_protocol/common.py +956 -0
  243. ait_protocol/runtime_roots.py +22 -0
  244. ait_protocol/task_statuses.py +84 -0
  245. ait_server/__init__.py +13 -0
  246. ait_server/admin_cache.py +76 -0
  247. ait_server/agent_transport_runtime.py +95 -0
  248. ait_server/app.py +2275 -0
  249. ait_server/authority_store.py +823 -0
  250. ait_server/community_auth.py +363 -0
  251. ait_server/live_turns.py +252 -0
  252. ait_server/local_repo_seams.py +21 -0
  253. ait_server/patchset_ci.py +384 -0
  254. ait_server/planning_routes.py +493 -0
  255. ait_server/read_models.py +737 -0
  256. ait_server/read_models_domains/__init__.py +1 -0
  257. ait_server/read_models_domains/authority_map.py +682 -0
  258. ait_server/read_models_domains/ci_status.py +365 -0
  259. ait_server/read_models_domains/operator_metrics.py +568 -0
  260. ait_server/read_models_domains/repository_overview.py +238 -0
  261. ait_server/read_models_domains/reviewer_inbox.py +219 -0
  262. ait_server/read_models_domains/runtime_metrics.py +286 -0
  263. ait_server/read_models_domains/task_dag.py +575 -0
  264. ait_server/read_models_domains/task_queue.py +689 -0
  265. ait_server/read_models_domains/workflow_detail.py +759 -0
  266. ait_server/read_routes.py +330 -0
  267. ait_server/release_route_helpers.py +57 -0
  268. ait_server/repo_ci.py +1044 -0
  269. ait_server/repository_routes.py +146 -0
  270. ait_server/route_request_models.py +285 -0
  271. ait_server/server_auth.py +164 -0
  272. ait_server/server_content.py +2046 -0
  273. ait_server/server_content_groups.py +323 -0
  274. ait_server/server_content_storage.py +867 -0
  275. ait_server/server_control.py +1477 -0
  276. ait_server/server_cutover.py +21 -0
  277. ait_server/server_db.py +891 -0
  278. ait_server/server_paths.py +105 -0
  279. ait_server/server_process_runtime.py +164 -0
  280. ait_server/server_queue.py +721 -0
  281. ait_server/server_store.py +1950 -0
  282. ait_server/session_route_helpers.py +538 -0
  283. ait_server/session_transport_payloads.py +162 -0
  284. ait_server/shared_runtime_policy.py +132 -0
  285. ait_server/stack_routes.py +124 -0
  286. ait_server/store/__init__.py +58 -0
  287. ait_server/store/land_request_payloads.py +64 -0
  288. ait_server/store/land_validation.py +103 -0
  289. ait_server/store/lands.py +830 -0
  290. ait_server/store/plans.py +1466 -0
  291. ait_server/store/releases.py +302 -0
  292. ait_server/store/repo_ops.py +309 -0
  293. ait_server/store/reviews.py +272 -0
  294. ait_server/store/sessions.py +519 -0
  295. ait_server/store/stacks.py +226 -0
  296. ait_server/store/task_tracking.py +387 -0
  297. ait_server/store/workflow_artifacts.py +454 -0
  298. ait_server/task_dag_route_helpers.py +175 -0
  299. ait_server/task_dag_seams.py +27 -0
  300. ait_server/task_graph_runs.py +1004 -0
  301. ait_server/task_routes.py +187 -0
  302. ait_server/worker.py +226 -0
  303. ait_server/workflow_async_jobs.py +133 -0
  304. ait_storage/__init__.py +1 -0
  305. ait_storage/packfiles.py +717 -0
  306. ait_storage/revision_trees.py +114 -0
  307. ait_storage/treepacks.py +196 -0
  308. ait_tk/__init__.py +3 -0
  309. ait_tk/launcher.py +213 -0
ait/__init__.py ADDED
@@ -0,0 +1,15 @@
1
+ from typing import Any
2
+
3
+ __all__ = ["app"]
4
+
5
+
6
+ def __getattr__(name: str) -> Any:
7
+ if name == "app":
8
+ from .cli import app as _app
9
+
10
+ return _app
11
+ raise AttributeError(f"module {__name__!r} has no attribute {name!r}")
12
+
13
+
14
+ def __dir__() -> list[str]:
15
+ return sorted(__all__)