vaf 0.1.0a17__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 (364) hide show
  1. vaf/__init__.py +36 -0
  2. vaf/api/__init__.py +8 -0
  3. vaf/api/auth_routes.py +717 -0
  4. vaf/api/brain_routes.py +70 -0
  5. vaf/api/calendar_routes.py +153 -0
  6. vaf/api/cloud_routes.py +865 -0
  7. vaf/api/config_routes.py +97 -0
  8. vaf/api/contact_routes.py +146 -0
  9. vaf/api/discord_bridge.py +409 -0
  10. vaf/api/discord_routes.py +332 -0
  11. vaf/api/email_routes.py +974 -0
  12. vaf/api/github_routes.py +482 -0
  13. vaf/api/logs_routes.py +355 -0
  14. vaf/api/network_routes.py +141 -0
  15. vaf/api/oauth_session_binding.py +81 -0
  16. vaf/api/supervisor_routes.py +91 -0
  17. vaf/api/telegram_bridge.py +1215 -0
  18. vaf/api/telegram_routes.py +569 -0
  19. vaf/api/tts_routes.py +257 -0
  20. vaf/api/user_persona_routes.py +262 -0
  21. vaf/api/user_routes.py +391 -0
  22. vaf/api/voice_routes.py +225 -0
  23. vaf/api/whatsapp_bridge.py +1661 -0
  24. vaf/api/whatsapp_routes.py +1052 -0
  25. vaf/auth/__init__.py +0 -0
  26. vaf/auth/crypto.py +160 -0
  27. vaf/auth/database.py +94 -0
  28. vaf/auth/middleware.py +187 -0
  29. vaf/auth/models.py +90 -0
  30. vaf/auth/rate_limit.py +130 -0
  31. vaf/auth/user_config.py +38 -0
  32. vaf/auth/user_workspace.py +273 -0
  33. vaf/cli/__init__.py +0 -0
  34. vaf/cli/autoclose.py +100 -0
  35. vaf/cli/autosuggest.py +307 -0
  36. vaf/cli/cmd/__init__.py +0 -0
  37. vaf/cli/cmd/automate.py +419 -0
  38. vaf/cli/cmd/bridge.py +34 -0
  39. vaf/cli/cmd/bridge_discord.py +109 -0
  40. vaf/cli/cmd/debug.py +395 -0
  41. vaf/cli/cmd/generate.py +494 -0
  42. vaf/cli/cmd/git.py +585 -0
  43. vaf/cli/cmd/info.py +228 -0
  44. vaf/cli/cmd/models.py +52 -0
  45. vaf/cli/cmd/run.py +2735 -0
  46. vaf/cli/cmd/scaffold.py +679 -0
  47. vaf/cli/cmd/security.py +54 -0
  48. vaf/cli/cmd/server.py +62 -0
  49. vaf/cli/cmd/service.py +147 -0
  50. vaf/cli/cmd/settings.py +1334 -0
  51. vaf/cli/cmd/subagent.py +335 -0
  52. vaf/cli/cmd/update.py +734 -0
  53. vaf/cli/cmd/workflow.py +424 -0
  54. vaf/cli/cmd/ww.py +116 -0
  55. vaf/cli/themes.py +306 -0
  56. vaf/cli/tui.py +1417 -0
  57. vaf/cli/ui.py +32 -0
  58. vaf/cloud/__init__.py +4 -0
  59. vaf/cloud/base.py +151 -0
  60. vaf/cloud/credential_cloud.py +185 -0
  61. vaf/cloud/dropbox_provider.py +451 -0
  62. vaf/cloud/google_drive.py +578 -0
  63. vaf/cloud/icloud.py +223 -0
  64. vaf/cloud/nextcloud.py +362 -0
  65. vaf/cloud/oauth_cloud.py +442 -0
  66. vaf/cloud/onedrive.py +412 -0
  67. vaf/cloud/sync_engine.py +516 -0
  68. vaf/cloud/sync_manifest.py +199 -0
  69. vaf/cloud/sync_worker.py +169 -0
  70. vaf/core/__init__.py +0 -0
  71. vaf/core/agent.py +11767 -0
  72. vaf/core/api_backend.py +1429 -0
  73. vaf/core/automation.py +2493 -0
  74. vaf/core/automation_planner.py +171 -0
  75. vaf/core/backend.py +1495 -0
  76. vaf/core/bounded_run.py +196 -0
  77. vaf/core/calendar_client.py +448 -0
  78. vaf/core/channel_history.py +264 -0
  79. vaf/core/channel_ingress_policy.py +113 -0
  80. vaf/core/channel_message_store.py +443 -0
  81. vaf/core/config.py +1170 -0
  82. vaf/core/contact_reply_pending.py +61 -0
  83. vaf/core/contacts_store.py +383 -0
  84. vaf/core/context.py +1000 -0
  85. vaf/core/credential_store.py +256 -0
  86. vaf/core/custom_tools_registry.py +409 -0
  87. vaf/core/desktop_window.py +1026 -0
  88. vaf/core/discord_history.py +33 -0
  89. vaf/core/discord_reply.py +33 -0
  90. vaf/core/discord_send.py +185 -0
  91. vaf/core/display_platform.py +137 -0
  92. vaf/core/document_formatting.py +478 -0
  93. vaf/core/docx_export.py +204 -0
  94. vaf/core/docx_import.py +364 -0
  95. vaf/core/docx_native_model.py +387 -0
  96. vaf/core/email_sync_store.py +572 -0
  97. vaf/core/email_transport.py +1192 -0
  98. vaf/core/front_office_tools.py +38 -0
  99. vaf/core/frontend_manager.py +552 -0
  100. vaf/core/fs_map.py +514 -0
  101. vaf/core/garbage_collector.py +425 -0
  102. vaf/core/gateway.py +327 -0
  103. vaf/core/gpu_detection.py +541 -0
  104. vaf/core/handoff_bundle.py +321 -0
  105. vaf/core/headless_runner.py +2928 -0
  106. vaf/core/image_utils.py +77 -0
  107. vaf/core/last_interaction.py +112 -0
  108. vaf/core/lock_manager.py +115 -0
  109. vaf/core/log_helper.py +368 -0
  110. vaf/core/main_persistence.py +688 -0
  111. vaf/core/mcp_registry.py +262 -0
  112. vaf/core/memory_profiler.py +301 -0
  113. vaf/core/messaging_connections.py +545 -0
  114. vaf/core/migrations.py +42 -0
  115. vaf/core/model_download_state.py +93 -0
  116. vaf/core/oauth_pkce.py +440 -0
  117. vaf/core/pdf_extract.py +217 -0
  118. vaf/core/persistence.py +206 -0
  119. vaf/core/platform.py +1234 -0
  120. vaf/core/project_config.py +225 -0
  121. vaf/core/project_context.py +78 -0
  122. vaf/core/protocol.py +43 -0
  123. vaf/core/provider_registry.py +275 -0
  124. vaf/core/query_analyzer.py +356 -0
  125. vaf/core/reminders.py +229 -0
  126. vaf/core/secure_store.py +404 -0
  127. vaf/core/security_misconfig.py +128 -0
  128. vaf/core/session.py +1309 -0
  129. vaf/core/session_state.py +421 -0
  130. vaf/core/skills_registry.py +403 -0
  131. vaf/core/snapshot.py +535 -0
  132. vaf/core/sources.py +322 -0
  133. vaf/core/speaker_confirm.py +399 -0
  134. vaf/core/speaker_id.py +1045 -0
  135. vaf/core/speech.py +1173 -0
  136. vaf/core/speech_api.py +386 -0
  137. vaf/core/speech_client.py +366 -0
  138. vaf/core/speech_fillers.py +346 -0
  139. vaf/core/state_providers/__init__.py +12 -0
  140. vaf/core/state_providers/context_state.py +96 -0
  141. vaf/core/state_providers/sandbox_state.py +225 -0
  142. vaf/core/state_providers/tool_activity_state.py +131 -0
  143. vaf/core/subagent_debug.py +230 -0
  144. vaf/core/subagent_ipc.py +1254 -0
  145. vaf/core/system_prompt.py +1266 -0
  146. vaf/core/task_queue.py +481 -0
  147. vaf/core/telegram_history.py +33 -0
  148. vaf/core/telegram_reply.py +51 -0
  149. vaf/core/thinking_ledger.py +153 -0
  150. vaf/core/thinking_mode.py +3251 -0
  151. vaf/core/thinking_notes.py +159 -0
  152. vaf/core/thinking_requests.py +303 -0
  153. vaf/core/thinking_suggestions.py +120 -0
  154. vaf/core/thinking_workspace.py +500 -0
  155. vaf/core/timers.py +205 -0
  156. vaf/core/tool_bridge.py +256 -0
  157. vaf/core/tool_call_recovery.py +131 -0
  158. vaf/core/tool_contract.py +266 -0
  159. vaf/core/tool_input_repair.py +167 -0
  160. vaf/core/tray_context.py +114 -0
  161. vaf/core/trust.py +130 -0
  162. vaf/core/trust_map.py +265 -0
  163. vaf/core/user_notifications.py +150 -0
  164. vaf/core/user_time.py +167 -0
  165. vaf/core/vision_infer.py +324 -0
  166. vaf/core/vocab/__init__.py +124 -0
  167. vaf/core/voice_agent.py +1197 -0
  168. vaf/core/voice_context.py +143 -0
  169. vaf/core/voice_model.py +149 -0
  170. vaf/core/voice_policy.py +375 -0
  171. vaf/core/voice_vad.py +85 -0
  172. vaf/core/web_interface.py +772 -0
  173. vaf/core/web_server.py +7830 -0
  174. vaf/core/web_ticker.py +235 -0
  175. vaf/core/whatsapp_auth.py +45 -0
  176. vaf/core/whatsapp_message_store.py +15 -0
  177. vaf/core/whatsapp_reply.py +62 -0
  178. vaf/core/whatsapp_send.py +68 -0
  179. vaf/core/workspace.py +83 -0
  180. vaf/framework.py +363 -0
  181. vaf/github/__init__.py +4 -0
  182. vaf/github/activity.py +88 -0
  183. vaf/github/credential_github.py +285 -0
  184. vaf/github/oauth.py +336 -0
  185. vaf/main.py +865 -0
  186. vaf/markers.py +52 -0
  187. vaf/media/README.md +25 -0
  188. vaf/media/app_icon.ico +0 -0
  189. vaf/media/logo_original.png +0 -0
  190. vaf/media/sounds/README.md +18 -0
  191. vaf/media/sounds/sst.mp3 +0 -0
  192. vaf/media/sounds/tts01.mp3 +0 -0
  193. vaf/media/splash.html +56 -0
  194. vaf/media/vaf_icon.png +0 -0
  195. vaf/media/vaf_icon_v5.ico +0 -0
  196. vaf/media/vaf_icon_v6.ico +0 -0
  197. vaf/memory/__init__.py +36 -0
  198. vaf/memory/attachment_rag.py +1566 -0
  199. vaf/memory/cache.py +374 -0
  200. vaf/memory/crypto.py +283 -0
  201. vaf/memory/database.py +586 -0
  202. vaf/memory/db_migrations.py +133 -0
  203. vaf/memory/embeddings.py +522 -0
  204. vaf/memory/graph.py +656 -0
  205. vaf/memory/models.py +223 -0
  206. vaf/memory/rag.py +1934 -0
  207. vaf/memory/routes.py +775 -0
  208. vaf/memory/tag_link_sync.py +76 -0
  209. vaf/memory/tag_links.py +141 -0
  210. vaf/network/__init__.py +42 -0
  211. vaf/network/binding.py +285 -0
  212. vaf/network/connection_tracker.py +131 -0
  213. vaf/network/firewall.py +565 -0
  214. vaf/network/https_proxy.py +361 -0
  215. vaf/network/oauth_redirect.py +52 -0
  216. vaf/network/runtime_status.py +62 -0
  217. vaf/network/ssl_utils.py +338 -0
  218. vaf/py.typed +0 -0
  219. vaf/skills/__init__.py +18 -0
  220. vaf/skills/scanner.py +262 -0
  221. vaf/skills/skill_md.py +236 -0
  222. vaf/skills/templates.py +141 -0
  223. vaf/startup_logger.py +50 -0
  224. vaf/tools/__init__.py +4 -0
  225. vaf/tools/_browser_headers.py +62 -0
  226. vaf/tools/agent_tool_builder.py +335 -0
  227. vaf/tools/agent_workflow_builder.py +1088 -0
  228. vaf/tools/ask_user.py +209 -0
  229. vaf/tools/automation.py +1335 -0
  230. vaf/tools/automation_planner.py +197 -0
  231. vaf/tools/base.py +507 -0
  232. vaf/tools/bash.py +158 -0
  233. vaf/tools/batch.py +135 -0
  234. vaf/tools/browser_agent.py +1145 -0
  235. vaf/tools/calendar.py +355 -0
  236. vaf/tools/checkpoint_context.py +55 -0
  237. vaf/tools/cloud_storage.py +602 -0
  238. vaf/tools/coder.py +9760 -0
  239. vaf/tools/coder_templates/__init__.py +470 -0
  240. vaf/tools/coder_templates/conftest.py +12 -0
  241. vaf/tools/coder_templates/python/cli_tool/cli.py +156 -0
  242. vaf/tools/coder_templates/python/cli_tool/test_cli.py +20 -0
  243. vaf/tools/coder_templates/python/local_server/server.py +94 -0
  244. vaf/tools/coder_templates/python/local_server/test_server.py +25 -0
  245. vaf/tools/coder_templates/python/script/main.py +56 -0
  246. vaf/tools/coder_templates/python/script/test_main.py +21 -0
  247. vaf/tools/codesearch.py +279 -0
  248. vaf/tools/context_tools.py +598 -0
  249. vaf/tools/create_contact.py +65 -0
  250. vaf/tools/create_skill.py +86 -0
  251. vaf/tools/delete_contact.py +45 -0
  252. vaf/tools/delete_skill.py +47 -0
  253. vaf/tools/discord_inbox.py +69 -0
  254. vaf/tools/document_agent.py +869 -0
  255. vaf/tools/document_viewer.py +372 -0
  256. vaf/tools/document_writer.py +211 -0
  257. vaf/tools/filesystem.py +1273 -0
  258. vaf/tools/find_discord_messages.py +90 -0
  259. vaf/tools/find_mail.py +115 -0
  260. vaf/tools/find_telegram_messages.py +90 -0
  261. vaf/tools/find_whatsapp_messages.py +81 -0
  262. vaf/tools/get_contact.py +109 -0
  263. vaf/tools/git_coauthor.py +90 -0
  264. vaf/tools/github_tools.py +929 -0
  265. vaf/tools/host_bash.py +103 -0
  266. vaf/tools/knowledge.py +83 -0
  267. vaf/tools/label_mail.py +156 -0
  268. vaf/tools/learn_attached_knowledge.py +198 -0
  269. vaf/tools/learn_document.py +569 -0
  270. vaf/tools/librarian.py +2660 -0
  271. vaf/tools/linter.py +273 -0
  272. vaf/tools/list_contacts.py +62 -0
  273. vaf/tools/list_email_accounts.py +53 -0
  274. vaf/tools/list_skills.py +48 -0
  275. vaf/tools/list_tools.py +39 -0
  276. vaf/tools/list_workflows.py +96 -0
  277. vaf/tools/mail_inbox.py +236 -0
  278. vaf/tools/mail_utils.py +245 -0
  279. vaf/tools/mark_mail_answered.py +81 -0
  280. vaf/tools/mcp_client.py +320 -0
  281. vaf/tools/project_git.py +321 -0
  282. vaf/tools/python_exec.py +111 -0
  283. vaf/tools/python_sandbox.py +593 -0
  284. vaf/tools/read_discord_chat.py +81 -0
  285. vaf/tools/read_mail.py +90 -0
  286. vaf/tools/read_skill.py +49 -0
  287. vaf/tools/read_telegram_chat.py +81 -0
  288. vaf/tools/read_whatsapp_chat.py +68 -0
  289. vaf/tools/repair_report.py +178 -0
  290. vaf/tools/report_filename.py +96 -0
  291. vaf/tools/research_agent.py +2365 -0
  292. vaf/tools/sandbox.py +191 -0
  293. vaf/tools/sandbox_test_runner.py +289 -0
  294. vaf/tools/schedule_reminder.py +89 -0
  295. vaf/tools/search.py +920 -0
  296. vaf/tools/search_tools.py +158 -0
  297. vaf/tools/send_discord.py +150 -0
  298. vaf/tools/send_mail.py +270 -0
  299. vaf/tools/send_slack.py +36 -0
  300. vaf/tools/send_telegram.py +188 -0
  301. vaf/tools/send_to_user.py +132 -0
  302. vaf/tools/send_whatsapp.py +218 -0
  303. vaf/tools/telegram_inbox.py +70 -0
  304. vaf/tools/thinking_done.py +83 -0
  305. vaf/tools/thinking_note_add.py +71 -0
  306. vaf/tools/thinking_suggestion.py +73 -0
  307. vaf/tools/thinking_workspace_handoff.py +72 -0
  308. vaf/tools/thinking_workspace_read.py +69 -0
  309. vaf/tools/thinking_workspace_write.py +71 -0
  310. vaf/tools/timer.py +181 -0
  311. vaf/tools/update_contact.py +70 -0
  312. vaf/tools/update_skill.py +79 -0
  313. vaf/tools/use_skill.py +101 -0
  314. vaf/tools/user_identity.py +236 -0
  315. vaf/tools/vision.py +224 -0
  316. vaf/tools/webfetch.py +214 -0
  317. vaf/tools/whatsapp_call.py +42 -0
  318. vaf/tools/whatsapp_inbox.py +99 -0
  319. vaf/tools/workflow_executor.py +654 -0
  320. vaf/tools/workspace_exec.py +190 -0
  321. vaf/tray.py +1834 -0
  322. vaf/vendor/__init__.py +0 -0
  323. vaf/vendor/langid/__init__.py +1 -0
  324. vaf/vendor/langid/langid.py +615 -0
  325. vaf/version.py +4 -0
  326. vaf/whare_wananga/__init__.py +42 -0
  327. vaf/whare_wananga/cli.py +436 -0
  328. vaf/whare_wananga/delivery.py +218 -0
  329. vaf/whare_wananga/eager.py +209 -0
  330. vaf/whare_wananga/jobs.py +191 -0
  331. vaf/whare_wananga/preconditions.py +110 -0
  332. vaf/whare_wananga/retrain.py +251 -0
  333. vaf/whare_wananga/runner.py +736 -0
  334. vaf/whare_wananga/runtime.py +213 -0
  335. vaf/whare_wananga/store.py +262 -0
  336. vaf/whare_wananga/teacher.py +311 -0
  337. vaf/workflows/__init__.py +41 -0
  338. vaf/workflows/engine.py +1794 -0
  339. vaf/workflows/resume.py +170 -0
  340. vaf/workflows/selector.py +453 -0
  341. vaf/workflows/templates.py +212 -0
  342. vaf/workflows/tool_overlay.py +55 -0
  343. vaf/workflows/workflows/__init__.py +13 -0
  344. vaf/workflows/workflows/analyze_website.py +56 -0
  345. vaf/workflows/workflows/code_review.py +76 -0
  346. vaf/workflows/workflows/create_document.py +54 -0
  347. vaf/workflows/workflows/create_file.py +59 -0
  348. vaf/workflows/workflows/create_scheduled_task.py +79 -0
  349. vaf/workflows/workflows/create_website.py +67 -0
  350. vaf/workflows/workflows/deep_research.py +87 -0
  351. vaf/workflows/workflows/generate_docs.py +67 -0
  352. vaf/workflows/workflows/legal_contract_research.py +110 -0
  353. vaf/workflows/workflows/research_and_code.py +89 -0
  354. vaf/workflows/workflows/research_and_document.py +120 -0
  355. vaf/workflows/workflows/technical_doc_research.py +109 -0
  356. vaf/workflows/workflows/youtube_summary.py +221 -0
  357. vaf-0.1.0a17.dist-info/METADATA +492 -0
  358. vaf-0.1.0a17.dist-info/RECORD +364 -0
  359. vaf-0.1.0a17.dist-info/WHEEL +5 -0
  360. vaf-0.1.0a17.dist-info/entry_points.txt +2 -0
  361. vaf-0.1.0a17.dist-info/licenses/LICENSE +661 -0
  362. vaf-0.1.0a17.dist-info/licenses/LICENSING.md +232 -0
  363. vaf-0.1.0a17.dist-info/licenses/NOTICE +14 -0
  364. vaf-0.1.0a17.dist-info/top_level.txt +1 -0
vaf/__init__.py ADDED
@@ -0,0 +1,36 @@
1
+ # SPDX-FileCopyrightText: 2026 Veyllo GmbH
2
+ # SPDX-License-Identifier: AGPL-3.0-or-later
3
+ # Additional permissions and terms under AGPL Section 7: see LICENSING.md
4
+ from typing import TYPE_CHECKING
5
+
6
+ from .version import __version__
7
+
8
+ if TYPE_CHECKING:
9
+ # Static type-checkers only (mypy / Pyright / VS Code): resolve the lazy public
10
+ # API to the real classes so `from vaf import Agent` autocompletes and type-checks.
11
+ # No runtime import here — `import vaf` stays cheap (the real loading is in
12
+ # __getattr__ below). Paired with the vaf/py.typed marker (PEP 561).
13
+ from .framework import Agent, CoreAgent
14
+
15
+ __all__ = ["__version__", "Agent", "CoreAgent", "markers"]
16
+
17
+
18
+ def __getattr__(name):
19
+ # Lazy public API (PEP 562). Keeps `import vaf` cheap: the ~9k-line core
20
+ # engine and its dependency chain (incl. the latent Agent<->thinking_mode
21
+ # cycle, which resolves fine at call time) are only loaded on first access
22
+ # to `vaf.Agent` / `vaf.CoreAgent`.
23
+ if name in ("Agent", "CoreAgent"):
24
+ from .framework import Agent, CoreAgent
25
+ return {"Agent": Agent, "CoreAgent": CoreAgent}[name]
26
+ if name == "markers":
27
+ # importlib, not `from . import`: the latter re-enters this
28
+ # __getattr__ while the submodule is being set and recurses.
29
+ import importlib
30
+
31
+ return importlib.import_module(".markers", __name__)
32
+ raise AttributeError(f"module 'vaf' has no attribute {name!r}")
33
+
34
+
35
+ def __dir__():
36
+ return sorted(__all__)
vaf/api/__init__.py ADDED
@@ -0,0 +1,8 @@
1
+ # SPDX-FileCopyrightText: 2026 Veyllo GmbH
2
+ # SPDX-License-Identifier: AGPL-3.0-or-later
3
+ # Additional permissions and terms under AGPL Section 7: see LICENSING.md
4
+ """
5
+ VAF API Routes
6
+
7
+ External integration endpoints for Discord, Telegram, etc.
8
+ """