ziro 0.1.1__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 (565) hide show
  1. ziro-0.1.1/.claude/settings.json +12 -0
  2. ziro-0.1.1/.env.example +21 -0
  3. ziro-0.1.1/.github/workflows/release.yml +69 -0
  4. ziro-0.1.1/.gitignore +34 -0
  5. ziro-0.1.1/.python-version +1 -0
  6. ziro-0.1.1/.vscode/launch.json +146 -0
  7. ziro-0.1.1/.vscode/settings.json +19 -0
  8. ziro-0.1.1/.worktreeinclude +14 -0
  9. ziro-0.1.1/CLAUDE.md +691 -0
  10. ziro-0.1.1/PKG-INFO +502 -0
  11. ziro-0.1.1/README.md +457 -0
  12. ziro-0.1.1/ROADMAP.md +1419 -0
  13. ziro-0.1.1/app/__init__.py +10 -0
  14. ziro-0.1.1/app/_hf_bootstrap.py +78 -0
  15. ziro-0.1.1/app/agents/.subagents/reflector.agent.md +26 -0
  16. ziro-0.1.1/app/agents/.subagents/scout.agent.md +30 -0
  17. ziro-0.1.1/app/agents/.subagents/solver.agent.md +37 -0
  18. ziro-0.1.1/app/agents/default/agent_config.yaml +89 -0
  19. ziro-0.1.1/app/agents/default/attachment_policy.yaml +8 -0
  20. ziro-0.1.1/app/agents/default/compaction_policy.yaml +24 -0
  21. ziro-0.1.1/app/agents/default/fs_policy.yaml +30 -0
  22. ziro-0.1.1/app/agents/default/guardrails_policy.yaml +145 -0
  23. ziro-0.1.1/app/agents/default/handoff_policy.yaml +12 -0
  24. ziro-0.1.1/app/agents/default/hooks.yaml +36 -0
  25. ziro-0.1.1/app/agents/default/mcp_servers.yaml +149 -0
  26. ziro-0.1.1/app/agents/default/memory_policy.yaml +17 -0
  27. ziro-0.1.1/app/agents/default/meta.yaml +17 -0
  28. ziro-0.1.1/app/agents/default/permissions.yaml +27 -0
  29. ziro-0.1.1/app/agents/default/shell_policy.yaml +29 -0
  30. ziro-0.1.1/app/agents/default/subagent_policy.yaml +15 -0
  31. ziro-0.1.1/app/agents/default/tool_policy.yaml +28 -0
  32. ziro-0.1.1/app/agents/default/voice_policy.yaml +29 -0
  33. ziro-0.1.1/app/agents/default/webfetch_policy.yaml +14 -0
  34. ziro-0.1.1/app/agents/life_coach/agent_config.yaml +49 -0
  35. ziro-0.1.1/app/agents/life_coach/attachment_policy.yaml +8 -0
  36. ziro-0.1.1/app/agents/life_coach/compaction_policy.yaml +24 -0
  37. ziro-0.1.1/app/agents/life_coach/guardrails_policy.yaml +145 -0
  38. ziro-0.1.1/app/agents/life_coach/handoff_policy.yaml +12 -0
  39. ziro-0.1.1/app/agents/life_coach/mcp_servers.yaml +63 -0
  40. ziro-0.1.1/app/agents/life_coach/memory_policy.yaml +17 -0
  41. ziro-0.1.1/app/agents/life_coach/meta.yaml +17 -0
  42. ziro-0.1.1/app/agents/life_coach/permissions.yaml +24 -0
  43. ziro-0.1.1/app/agents/life_coach/shell_policy.yaml +28 -0
  44. ziro-0.1.1/app/agents/life_coach/subagent_policy.yaml +15 -0
  45. ziro-0.1.1/app/agents/life_coach/tool_policy.yaml +15 -0
  46. ziro-0.1.1/app/agents/life_coach/voice_policy.yaml +29 -0
  47. ziro-0.1.1/app/agents/life_coach/webfetch_policy.yaml +14 -0
  48. ziro-0.1.1/app/agents/registry.yaml +10 -0
  49. ziro-0.1.1/app/agents/researcher/agent_config.yaml +59 -0
  50. ziro-0.1.1/app/agents/researcher/attachment_policy.yaml +8 -0
  51. ziro-0.1.1/app/agents/researcher/compaction_policy.yaml +25 -0
  52. ziro-0.1.1/app/agents/researcher/guardrails_policy.yaml +39 -0
  53. ziro-0.1.1/app/agents/researcher/handoff_policy.yaml +12 -0
  54. ziro-0.1.1/app/agents/researcher/hooks.yaml +63 -0
  55. ziro-0.1.1/app/agents/researcher/mcp_servers.yaml +64 -0
  56. ziro-0.1.1/app/agents/researcher/memory_policy.yaml +17 -0
  57. ziro-0.1.1/app/agents/researcher/meta.yaml +16 -0
  58. ziro-0.1.1/app/agents/researcher/permissions.yaml +22 -0
  59. ziro-0.1.1/app/agents/researcher/queue_policy.yaml +13 -0
  60. ziro-0.1.1/app/agents/researcher/shell_policy.yaml +29 -0
  61. ziro-0.1.1/app/agents/researcher/subagent_policy.yaml +20 -0
  62. ziro-0.1.1/app/agents/researcher/tool_policy.yaml +19 -0
  63. ziro-0.1.1/app/agents/researcher/voice_policy.yaml +29 -0
  64. ziro-0.1.1/app/agents/researcher/webfetch_policy.yaml +15 -0
  65. ziro-0.1.1/app/agents/researcher_docker/agent_config.yaml +56 -0
  66. ziro-0.1.1/app/agents/researcher_docker/attachment_policy.yaml +8 -0
  67. ziro-0.1.1/app/agents/researcher_docker/compaction_policy.yaml +25 -0
  68. ziro-0.1.1/app/agents/researcher_docker/guardrails_policy.yaml +39 -0
  69. ziro-0.1.1/app/agents/researcher_docker/handoff_policy.yaml +12 -0
  70. ziro-0.1.1/app/agents/researcher_docker/hooks.yaml +63 -0
  71. ziro-0.1.1/app/agents/researcher_docker/mcp_servers.yaml +26 -0
  72. ziro-0.1.1/app/agents/researcher_docker/memory_policy.yaml +17 -0
  73. ziro-0.1.1/app/agents/researcher_docker/meta.yaml +16 -0
  74. ziro-0.1.1/app/agents/researcher_docker/permissions.yaml +22 -0
  75. ziro-0.1.1/app/agents/researcher_docker/shell_policy.yaml +27 -0
  76. ziro-0.1.1/app/agents/researcher_docker/subagent_policy.yaml +20 -0
  77. ziro-0.1.1/app/agents/researcher_docker/tool_policy.yaml +19 -0
  78. ziro-0.1.1/app/agents/researcher_docker/webfetch_policy.yaml +15 -0
  79. ziro-0.1.1/app/capabilities/__init__.py +38 -0
  80. ziro-0.1.1/app/capabilities/audit.py +71 -0
  81. ziro-0.1.1/app/capabilities/builtins.py +143 -0
  82. ziro-0.1.1/app/capabilities/context.py +28 -0
  83. ziro-0.1.1/app/capabilities/manager.py +354 -0
  84. ziro-0.1.1/app/capabilities/models.py +160 -0
  85. ziro-0.1.1/app/capabilities/registry.py +57 -0
  86. ziro-0.1.1/app/clarify/__init__.py +0 -0
  87. ziro-0.1.1/app/clarify/models.py +30 -0
  88. ziro-0.1.1/app/clarify/tools.py +70 -0
  89. ziro-0.1.1/app/cli/__init__.py +0 -0
  90. ziro-0.1.1/app/cli/chat_once.py +195 -0
  91. ziro-0.1.1/app/cli/guard_check.py +143 -0
  92. ziro-0.1.1/app/cli/init.py +137 -0
  93. ziro-0.1.1/app/cli/launch_sync.py +122 -0
  94. ziro-0.1.1/app/cli/manage_agents.py +419 -0
  95. ziro-0.1.1/app/cli/run_scenarios.py +175 -0
  96. ziro-0.1.1/app/cli/runner.py +582 -0
  97. ziro-0.1.1/app/cli/show_graph.py +75 -0
  98. ziro-0.1.1/app/cli/startup.py +92 -0
  99. ziro-0.1.1/app/commands/__init__.py +7 -0
  100. ziro-0.1.1/app/commands/builtins.py +496 -0
  101. ziro-0.1.1/app/commands/registry.py +89 -0
  102. ziro-0.1.1/app/commands/session.py +304 -0
  103. ziro-0.1.1/app/compaction/__init__.py +40 -0
  104. ziro-0.1.1/app/compaction/models.py +87 -0
  105. ziro-0.1.1/app/compaction/node.py +176 -0
  106. ziro-0.1.1/app/compaction/summarizer.py +76 -0
  107. ziro-0.1.1/app/compaction/tokenizer.py +87 -0
  108. ziro-0.1.1/app/compaction/window.py +171 -0
  109. ziro-0.1.1/app/core/__init__.py +0 -0
  110. ziro-0.1.1/app/core/agent_md.py +80 -0
  111. ziro-0.1.1/app/core/agent_profiles.py +589 -0
  112. ziro-0.1.1/app/core/config.py +574 -0
  113. ziro-0.1.1/app/core/embeddings.py +142 -0
  114. ziro-0.1.1/app/core/flavour_apply.py +83 -0
  115. ziro-0.1.1/app/core/flavours.py +55 -0
  116. ziro-0.1.1/app/core/paths.py +159 -0
  117. ziro-0.1.1/app/core/retry.py +93 -0
  118. ziro-0.1.1/app/core/skills_catalog.py +85 -0
  119. ziro-0.1.1/app/core/trust.py +127 -0
  120. ziro-0.1.1/app/core/ui_prefs.py +37 -0
  121. ziro-0.1.1/app/fs/__init__.py +0 -0
  122. ziro-0.1.1/app/fs/models.py +35 -0
  123. ziro-0.1.1/app/fs/tools.py +264 -0
  124. ziro-0.1.1/app/graph/__init__.py +0 -0
  125. ziro-0.1.1/app/graph/graph.py +377 -0
  126. ziro-0.1.1/app/graph/interrupts.py +213 -0
  127. ziro-0.1.1/app/graph/nodes.py +618 -0
  128. ziro-0.1.1/app/graph/state.py +147 -0
  129. ziro-0.1.1/app/guardrails/__init__.py +32 -0
  130. ziro-0.1.1/app/guardrails/backends.py +613 -0
  131. ziro-0.1.1/app/guardrails/evaluator.py +75 -0
  132. ziro-0.1.1/app/guardrails/models.py +125 -0
  133. ziro-0.1.1/app/guardrails/nodes.py +71 -0
  134. ziro-0.1.1/app/guardrails/policy_loader.py +20 -0
  135. ziro-0.1.1/app/handoff/__init__.py +7 -0
  136. ziro-0.1.1/app/handoff/models.py +27 -0
  137. ziro-0.1.1/app/handoff/tools.py +54 -0
  138. ziro-0.1.1/app/hooks/__init__.py +30 -0
  139. ziro-0.1.1/app/hooks/callables.py +78 -0
  140. ziro-0.1.1/app/hooks/guards.py +258 -0
  141. ziro-0.1.1/app/hooks/models.py +105 -0
  142. ziro-0.1.1/app/hooks/registry.py +76 -0
  143. ziro-0.1.1/app/hooks/runner.py +31 -0
  144. ziro-0.1.1/app/io/__init__.py +1 -0
  145. ziro-0.1.1/app/io/attachments.py +154 -0
  146. ziro-0.1.1/app/llm/__init__.py +4 -0
  147. ziro-0.1.1/app/llm/adapter.py +86 -0
  148. ziro-0.1.1/app/llm/factory.py +48 -0
  149. ziro-0.1.1/app/llm/openrouter_adapter.py +132 -0
  150. ziro-0.1.1/app/llm/openrouter_catalog.py +266 -0
  151. ziro-0.1.1/app/main.py +700 -0
  152. ziro-0.1.1/app/memory/__init__.py +0 -0
  153. ziro-0.1.1/app/memory/checkpointer.py +22 -0
  154. ziro-0.1.1/app/memory/models.py +104 -0
  155. ziro-0.1.1/app/memory/node.py +63 -0
  156. ziro-0.1.1/app/memory/reflection.py +88 -0
  157. ziro-0.1.1/app/memory/store.py +214 -0
  158. ziro-0.1.1/app/permissions/__init__.py +43 -0
  159. ziro-0.1.1/app/permissions/gate.py +49 -0
  160. ziro-0.1.1/app/permissions/hook.py +57 -0
  161. ziro-0.1.1/app/permissions/models.py +68 -0
  162. ziro-0.1.1/app/permissions/policy.py +74 -0
  163. ziro-0.1.1/app/permissions/store.py +37 -0
  164. ziro-0.1.1/app/queue/__init__.py +9 -0
  165. ziro-0.1.1/app/queue/inflight.py +46 -0
  166. ziro-0.1.1/app/queue/models.py +71 -0
  167. ziro-0.1.1/app/queue/worker.py +241 -0
  168. ziro-0.1.1/app/rag/__init__.py +0 -0
  169. ziro-0.1.1/app/rag/indexer.py +108 -0
  170. ziro-0.1.1/app/rag/retriever.py +222 -0
  171. ziro-0.1.1/app/subagents/__init__.py +12 -0
  172. ziro-0.1.1/app/subagents/models.py +69 -0
  173. ziro-0.1.1/app/subagents/orchestrator.py +336 -0
  174. ziro-0.1.1/app/subagents/tool.py +116 -0
  175. ziro-0.1.1/app/tasks/__init__.py +25 -0
  176. ziro-0.1.1/app/tasks/models.py +21 -0
  177. ziro-0.1.1/app/tasks/reducer.py +58 -0
  178. ziro-0.1.1/app/tasks/render.py +36 -0
  179. ziro-0.1.1/app/tasks/tools.py +126 -0
  180. ziro-0.1.1/app/tools/__init__.py +0 -0
  181. ziro-0.1.1/app/tools/bootstrap.py +190 -0
  182. ziro-0.1.1/app/tools/indexer.py +36 -0
  183. ziro-0.1.1/app/tools/mcp_client.py +252 -0
  184. ziro-0.1.1/app/tools/mcp_manager.py +403 -0
  185. ziro-0.1.1/app/tools/mcp_models.py +73 -0
  186. ziro-0.1.1/app/tools/meta_tools.py +177 -0
  187. ziro-0.1.1/app/tools/oauth.py +345 -0
  188. ziro-0.1.1/app/tools/registry.py +277 -0
  189. ziro-0.1.1/app/tools/shell.py +456 -0
  190. ziro-0.1.1/app/tools/shell_audit.py +151 -0
  191. ziro-0.1.1/app/tools/shell_models.py +138 -0
  192. ziro-0.1.1/app/tui/__init__.py +49 -0
  193. ziro-0.1.1/app/tui/app.py +1143 -0
  194. ziro-0.1.1/app/tui/demo.py +105 -0
  195. ziro-0.1.1/app/tui/mcp_panel.py +311 -0
  196. ziro-0.1.1/app/tui/messages.py +54 -0
  197. ziro-0.1.1/app/tui/modals.py +307 -0
  198. ziro-0.1.1/app/tui/skills_panel.py +67 -0
  199. ziro-0.1.1/app/tui/store.py +40 -0
  200. ziro-0.1.1/app/tui/styles.tcss +290 -0
  201. ziro-0.1.1/app/tui/theme.py +171 -0
  202. ziro-0.1.1/app/tui/themes/README.md +39 -0
  203. ziro-0.1.1/app/tui/themes/carbon.yaml +10 -0
  204. ziro-0.1.1/app/tui/themes/gruvbox.yaml +10 -0
  205. ziro-0.1.1/app/tui/themes/nord.yaml +10 -0
  206. ziro-0.1.1/app/tui/widgets.py +722 -0
  207. ziro-0.1.1/app/voice/__init__.py +7 -0
  208. ziro-0.1.1/app/voice/backends.py +170 -0
  209. ziro-0.1.1/app/voice/models.py +65 -0
  210. ziro-0.1.1/app/voice/pipeline.py +180 -0
  211. ziro-0.1.1/app/webfetch/__init__.py +6 -0
  212. ziro-0.1.1/app/webfetch/models.py +22 -0
  213. ziro-0.1.1/app/webfetch/tool.py +173 -0
  214. ziro-0.1.1/docker/pdf-sandbox/Dockerfile +8 -0
  215. ziro-0.1.1/docker-compose.yml +29 -0
  216. ziro-0.1.1/docs/RELEASING.md +122 -0
  217. ziro-0.1.1/docs/audit-log.md +88 -0
  218. ziro-0.1.1/docs/chat-compression.md +453 -0
  219. ziro-0.1.1/docs/folder-architecture.md +100 -0
  220. ziro-0.1.1/docs/guardrails.md +296 -0
  221. ziro-0.1.1/docs/planning/01-hooks-framework.md +874 -0
  222. ziro-0.1.1/docs/planning/02-hitl-interrupt-plumbing.md +591 -0
  223. ziro-0.1.1/docs/planning/03-message-retry.md +340 -0
  224. ziro-0.1.1/docs/planning/04-multimodal-input.md +629 -0
  225. ziro-0.1.1/docs/planning/05-self-improving-memory.md +827 -0
  226. ziro-0.1.1/docs/planning/06-tool-permission-system.md +828 -0
  227. ziro-0.1.1/docs/planning/07-human-handoff.md +510 -0
  228. ziro-0.1.1/docs/planning/08-task-execution-todo.md +653 -0
  229. ziro-0.1.1/docs/planning/09-subagents.md +639 -0
  230. ziro-0.1.1/docs/planning/10-shell-execution.md +784 -0
  231. ziro-0.1.1/docs/planning/11-voice-io.md +897 -0
  232. ziro-0.1.1/docs/planning/12-cli-revamp.md +926 -0
  233. ziro-0.1.1/docs/planning/13-chat-queue.md +992 -0
  234. ziro-0.1.1/docs/planning/14-command-system.md +963 -0
  235. ziro-0.1.1/docs/planning/15-thinking-switch.md +754 -0
  236. ziro-0.1.1/docs/planning/16-context-progress-bar.md +615 -0
  237. ziro-0.1.1/docs/planning/17-mcp-control-panel.md +770 -0
  238. ziro-0.1.1/docs/planning/18-universal-mcp-oauth.md +861 -0
  239. ziro-0.1.1/docs/planning/19-installable-package.md +856 -0
  240. ziro-0.1.1/docs/planning/20-sdk-facade.md +756 -0
  241. ziro-0.1.1/docs/planning/21-capability-registry.md +1126 -0
  242. ziro-0.1.1/docs/planning/22-flavours.md +814 -0
  243. ziro-0.1.1/docs/planning/23-capability-tui.md +1043 -0
  244. ziro-0.1.1/docs/planning/24-fast-startup.md +777 -0
  245. ziro-0.1.1/docs/planning/25-background-mcp-connect.md +249 -0
  246. ziro-0.1.1/docs/planning/26-instant-usable-tui.md +513 -0
  247. ziro-0.1.1/docs/planning/27-bash-parity-shell-and-write-file.md +591 -0
  248. ziro-0.1.1/docs/planning/README.md +163 -0
  249. ziro-0.1.1/docs/progressive-tool-loading-review.md +147 -0
  250. ziro-0.1.1/docs/progressive-tool-loading.md +328 -0
  251. ziro-0.1.1/docs/subagents.md +407 -0
  252. ziro-0.1.1/docs/superpowers/plans/2026-06-25-portable-themes.md +1101 -0
  253. ziro-0.1.1/docs/superpowers/plans/2026-06-25-tui-carbon-theme.md +824 -0
  254. ziro-0.1.1/docs/superpowers/plans/2026-06-27-fs-tools.md +703 -0
  255. ziro-0.1.1/docs/superpowers/plans/2026-06-30-reactive-tui.md +1009 -0
  256. ziro-0.1.1/docs/superpowers/plans/2026-07-02-llm-adapter.md +1716 -0
  257. ziro-0.1.1/docs/superpowers/plans/2026-07-03-ask-user-question.md +1134 -0
  258. ziro-0.1.1/docs/superpowers/plans/2026-07-03-catalog-provider-filter.md +284 -0
  259. ziro-0.1.1/docs/superpowers/plans/2026-07-03-rename-to-ziro.md +392 -0
  260. ziro-0.1.1/docs/superpowers/specs/2026-06-25-portable-themes-design.md +193 -0
  261. ziro-0.1.1/docs/superpowers/specs/2026-06-25-tui-carbon-theme-design.md +201 -0
  262. ziro-0.1.1/docs/superpowers/specs/2026-06-26-mcp-panel-nav-refresh-toolpeek-design.md +168 -0
  263. ziro-0.1.1/docs/superpowers/specs/2026-06-26-sdk-capability-plane-flavours-design.md +488 -0
  264. ziro-0.1.1/docs/superpowers/specs/2026-06-27-fs-tools-design.md +129 -0
  265. ziro-0.1.1/docs/superpowers/specs/2026-06-30-reactive-tui-design.md +146 -0
  266. ziro-0.1.1/docs/superpowers/specs/2026-07-02-llm-adapter-design.md +149 -0
  267. ziro-0.1.1/docs/superpowers/specs/2026-07-03-ask-user-question-design.md +182 -0
  268. ziro-0.1.1/docs/superpowers/specs/2026-07-03-catalog-provider-filter-design.md +76 -0
  269. ziro-0.1.1/docs/superpowers/specs/2026-07-03-pending-features-replan-design.md +264 -0
  270. ziro-0.1.1/docs/tui-peek.md +23 -0
  271. ziro-0.1.1/flavours/coder.yaml +13 -0
  272. ziro-0.1.1/flavours/guarded.yaml +11 -0
  273. ziro-0.1.1/flavours/minimal.yaml +8 -0
  274. ziro-0.1.1/flavours/research.yaml +10 -0
  275. ziro-0.1.1/flavours/voice-assistant.yaml +10 -0
  276. ziro-0.1.1/pyproject.toml +135 -0
  277. ziro-0.1.1/scripts/run_all_B.bat +11 -0
  278. ziro-0.1.1/scripts/run_all_S.bat +11 -0
  279. ziro-0.1.1/scripts/run_b001.bat +11 -0
  280. ziro-0.1.1/scripts/run_guard_test.bat +8 -0
  281. ziro-0.1.1/scripts/run_s001.bat +11 -0
  282. ziro-0.1.1/skills/__init__.py +0 -0
  283. ziro-0.1.1/skills/brand-guidelines/SKILL.md +72 -0
  284. ziro-0.1.1/skills/deep-research/SKILL.md +168 -0
  285. ziro-0.1.1/skills/deep-research/references/decomposition.md +66 -0
  286. ziro-0.1.1/skills/deep-research/references/synthesis.md +73 -0
  287. ziro-0.1.1/skills/deep-research/references/tool-routing.md +74 -0
  288. ziro-0.1.1/skills/deep-research/references/verification.md +56 -0
  289. ziro-0.1.1/skills/doc-coauthoring/SKILL.md +375 -0
  290. ziro-0.1.1/skills/docx/SKILL.md +589 -0
  291. ziro-0.1.1/skills/docx/scripts/__init__.py +1 -0
  292. ziro-0.1.1/skills/docx/scripts/accept_changes.py +135 -0
  293. ziro-0.1.1/skills/docx/scripts/comment.py +318 -0
  294. ziro-0.1.1/skills/docx/scripts/office/helpers/__init__.py +0 -0
  295. ziro-0.1.1/skills/docx/scripts/office/helpers/merge_runs.py +199 -0
  296. ziro-0.1.1/skills/docx/scripts/office/helpers/simplify_redlines.py +197 -0
  297. ziro-0.1.1/skills/docx/scripts/office/pack.py +159 -0
  298. ziro-0.1.1/skills/docx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-chart.xsd +1499 -0
  299. ziro-0.1.1/skills/docx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-chartDrawing.xsd +146 -0
  300. ziro-0.1.1/skills/docx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-diagram.xsd +1085 -0
  301. ziro-0.1.1/skills/docx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-lockedCanvas.xsd +11 -0
  302. ziro-0.1.1/skills/docx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-main.xsd +3081 -0
  303. ziro-0.1.1/skills/docx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-picture.xsd +23 -0
  304. ziro-0.1.1/skills/docx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-spreadsheetDrawing.xsd +185 -0
  305. ziro-0.1.1/skills/docx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-wordprocessingDrawing.xsd +287 -0
  306. ziro-0.1.1/skills/docx/scripts/office/schemas/ISO-IEC29500-4_2016/pml.xsd +1676 -0
  307. ziro-0.1.1/skills/docx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-additionalCharacteristics.xsd +28 -0
  308. ziro-0.1.1/skills/docx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-bibliography.xsd +144 -0
  309. ziro-0.1.1/skills/docx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-commonSimpleTypes.xsd +174 -0
  310. ziro-0.1.1/skills/docx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-customXmlDataProperties.xsd +25 -0
  311. ziro-0.1.1/skills/docx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-customXmlSchemaProperties.xsd +18 -0
  312. ziro-0.1.1/skills/docx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesCustom.xsd +59 -0
  313. ziro-0.1.1/skills/docx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesExtended.xsd +56 -0
  314. ziro-0.1.1/skills/docx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesVariantTypes.xsd +195 -0
  315. ziro-0.1.1/skills/docx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-math.xsd +582 -0
  316. ziro-0.1.1/skills/docx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-relationshipReference.xsd +25 -0
  317. ziro-0.1.1/skills/docx/scripts/office/schemas/ISO-IEC29500-4_2016/sml.xsd +4439 -0
  318. ziro-0.1.1/skills/docx/scripts/office/schemas/ISO-IEC29500-4_2016/vml-main.xsd +570 -0
  319. ziro-0.1.1/skills/docx/scripts/office/schemas/ISO-IEC29500-4_2016/vml-officeDrawing.xsd +509 -0
  320. ziro-0.1.1/skills/docx/scripts/office/schemas/ISO-IEC29500-4_2016/vml-presentationDrawing.xsd +12 -0
  321. ziro-0.1.1/skills/docx/scripts/office/schemas/ISO-IEC29500-4_2016/vml-spreadsheetDrawing.xsd +108 -0
  322. ziro-0.1.1/skills/docx/scripts/office/schemas/ISO-IEC29500-4_2016/vml-wordprocessingDrawing.xsd +96 -0
  323. ziro-0.1.1/skills/docx/scripts/office/schemas/ISO-IEC29500-4_2016/wml.xsd +3646 -0
  324. ziro-0.1.1/skills/docx/scripts/office/schemas/ISO-IEC29500-4_2016/xml.xsd +116 -0
  325. ziro-0.1.1/skills/docx/scripts/office/schemas/ecma/fouth-edition/opc-contentTypes.xsd +42 -0
  326. ziro-0.1.1/skills/docx/scripts/office/schemas/ecma/fouth-edition/opc-coreProperties.xsd +50 -0
  327. ziro-0.1.1/skills/docx/scripts/office/schemas/ecma/fouth-edition/opc-digSig.xsd +49 -0
  328. ziro-0.1.1/skills/docx/scripts/office/schemas/ecma/fouth-edition/opc-relationships.xsd +33 -0
  329. ziro-0.1.1/skills/docx/scripts/office/schemas/mce/mc.xsd +75 -0
  330. ziro-0.1.1/skills/docx/scripts/office/schemas/microsoft/wml-2010.xsd +560 -0
  331. ziro-0.1.1/skills/docx/scripts/office/schemas/microsoft/wml-2012.xsd +67 -0
  332. ziro-0.1.1/skills/docx/scripts/office/schemas/microsoft/wml-2018.xsd +14 -0
  333. ziro-0.1.1/skills/docx/scripts/office/schemas/microsoft/wml-cex-2018.xsd +20 -0
  334. ziro-0.1.1/skills/docx/scripts/office/schemas/microsoft/wml-cid-2016.xsd +13 -0
  335. ziro-0.1.1/skills/docx/scripts/office/schemas/microsoft/wml-sdtdatahash-2020.xsd +4 -0
  336. ziro-0.1.1/skills/docx/scripts/office/schemas/microsoft/wml-symex-2015.xsd +8 -0
  337. ziro-0.1.1/skills/docx/scripts/office/soffice.py +183 -0
  338. ziro-0.1.1/skills/docx/scripts/office/unpack.py +132 -0
  339. ziro-0.1.1/skills/docx/scripts/office/validate.py +111 -0
  340. ziro-0.1.1/skills/docx/scripts/office/validators/__init__.py +15 -0
  341. ziro-0.1.1/skills/docx/scripts/office/validators/base.py +847 -0
  342. ziro-0.1.1/skills/docx/scripts/office/validators/docx.py +446 -0
  343. ziro-0.1.1/skills/docx/scripts/office/validators/pptx.py +275 -0
  344. ziro-0.1.1/skills/docx/scripts/office/validators/redlining.py +247 -0
  345. ziro-0.1.1/skills/docx/scripts/templates/comments.xml +3 -0
  346. ziro-0.1.1/skills/docx/scripts/templates/commentsExtended.xml +3 -0
  347. ziro-0.1.1/skills/docx/scripts/templates/commentsExtensible.xml +3 -0
  348. ziro-0.1.1/skills/docx/scripts/templates/commentsIds.xml +3 -0
  349. ziro-0.1.1/skills/docx/scripts/templates/people.xml +3 -0
  350. ziro-0.1.1/skills/four-blocks-reflection/SKILL.md +118 -0
  351. ziro-0.1.1/skills/four-blocks-reflection/references/abc-model.md +51 -0
  352. ziro-0.1.1/skills/four-blocks-reflection/references/bridge-layer-patterns.md +156 -0
  353. ziro-0.1.1/skills/four-blocks-reflection/references/crisis-and-liability.md +107 -0
  354. ziro-0.1.1/skills/four-blocks-reflection/references/disputing-process.md +62 -0
  355. ziro-0.1.1/skills/four-blocks-reflection/references/first-responder-scenarios.md +219 -0
  356. ziro-0.1.1/skills/four-blocks-reflection/references/four-block-formulas.md +93 -0
  357. ziro-0.1.1/skills/four-blocks-reflection/references/multi-block-sequencing.md +136 -0
  358. ziro-0.1.1/skills/four-blocks-reflection/references/safety-and-crisis.md +49 -0
  359. ziro-0.1.1/skills/four-blocks-reflection/references/seven-irrational-beliefs.md +80 -0
  360. ziro-0.1.1/skills/four-blocks-reflection/references/three-insights.md +74 -0
  361. ziro-0.1.1/skills/loader.py +84 -0
  362. ziro-0.1.1/skills/pdf/SKILL.md +314 -0
  363. ziro-0.1.1/skills/pdf/forms.md +294 -0
  364. ziro-0.1.1/skills/pdf/reference.md +612 -0
  365. ziro-0.1.1/skills/pdf/scripts/check_bounding_boxes.py +65 -0
  366. ziro-0.1.1/skills/pdf/scripts/check_fillable_fields.py +11 -0
  367. ziro-0.1.1/skills/pdf/scripts/convert_pdf_to_images.py +33 -0
  368. ziro-0.1.1/skills/pdf/scripts/create_validation_image.py +37 -0
  369. ziro-0.1.1/skills/pdf/scripts/extract_form_field_info.py +122 -0
  370. ziro-0.1.1/skills/pdf/scripts/extract_form_structure.py +115 -0
  371. ziro-0.1.1/skills/pdf/scripts/fill_fillable_fields.py +98 -0
  372. ziro-0.1.1/skills/pdf/scripts/fill_pdf_form_with_annotations.py +107 -0
  373. ziro-0.1.1/skills/pdf-report/SKILL.md +67 -0
  374. ziro-0.1.1/skills/pdf-report/scripts/report_template.py +133 -0
  375. ziro-0.1.1/skills/pptx/SKILL.md +231 -0
  376. ziro-0.1.1/skills/pptx/editing.md +205 -0
  377. ziro-0.1.1/skills/pptx/pptxgenjs.md +420 -0
  378. ziro-0.1.1/skills/pptx/scripts/__init__.py +0 -0
  379. ziro-0.1.1/skills/pptx/scripts/add_slide.py +195 -0
  380. ziro-0.1.1/skills/pptx/scripts/clean.py +286 -0
  381. ziro-0.1.1/skills/pptx/scripts/office/helpers/__init__.py +0 -0
  382. ziro-0.1.1/skills/pptx/scripts/office/helpers/merge_runs.py +199 -0
  383. ziro-0.1.1/skills/pptx/scripts/office/helpers/simplify_redlines.py +197 -0
  384. ziro-0.1.1/skills/pptx/scripts/office/pack.py +159 -0
  385. ziro-0.1.1/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-chart.xsd +1499 -0
  386. ziro-0.1.1/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-chartDrawing.xsd +146 -0
  387. ziro-0.1.1/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-diagram.xsd +1085 -0
  388. ziro-0.1.1/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-lockedCanvas.xsd +11 -0
  389. ziro-0.1.1/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-main.xsd +3081 -0
  390. ziro-0.1.1/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-picture.xsd +23 -0
  391. ziro-0.1.1/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-spreadsheetDrawing.xsd +185 -0
  392. ziro-0.1.1/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-wordprocessingDrawing.xsd +287 -0
  393. ziro-0.1.1/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/pml.xsd +1676 -0
  394. ziro-0.1.1/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-additionalCharacteristics.xsd +28 -0
  395. ziro-0.1.1/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-bibliography.xsd +144 -0
  396. ziro-0.1.1/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-commonSimpleTypes.xsd +174 -0
  397. ziro-0.1.1/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-customXmlDataProperties.xsd +25 -0
  398. ziro-0.1.1/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-customXmlSchemaProperties.xsd +18 -0
  399. ziro-0.1.1/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesCustom.xsd +59 -0
  400. ziro-0.1.1/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesExtended.xsd +56 -0
  401. ziro-0.1.1/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesVariantTypes.xsd +195 -0
  402. ziro-0.1.1/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-math.xsd +582 -0
  403. ziro-0.1.1/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-relationshipReference.xsd +25 -0
  404. ziro-0.1.1/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/sml.xsd +4439 -0
  405. ziro-0.1.1/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/vml-main.xsd +570 -0
  406. ziro-0.1.1/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/vml-officeDrawing.xsd +509 -0
  407. ziro-0.1.1/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/vml-presentationDrawing.xsd +12 -0
  408. ziro-0.1.1/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/vml-spreadsheetDrawing.xsd +108 -0
  409. ziro-0.1.1/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/vml-wordprocessingDrawing.xsd +96 -0
  410. ziro-0.1.1/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/wml.xsd +3646 -0
  411. ziro-0.1.1/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/xml.xsd +116 -0
  412. ziro-0.1.1/skills/pptx/scripts/office/schemas/ecma/fouth-edition/opc-contentTypes.xsd +42 -0
  413. ziro-0.1.1/skills/pptx/scripts/office/schemas/ecma/fouth-edition/opc-coreProperties.xsd +50 -0
  414. ziro-0.1.1/skills/pptx/scripts/office/schemas/ecma/fouth-edition/opc-digSig.xsd +49 -0
  415. ziro-0.1.1/skills/pptx/scripts/office/schemas/ecma/fouth-edition/opc-relationships.xsd +33 -0
  416. ziro-0.1.1/skills/pptx/scripts/office/schemas/mce/mc.xsd +75 -0
  417. ziro-0.1.1/skills/pptx/scripts/office/schemas/microsoft/wml-2010.xsd +560 -0
  418. ziro-0.1.1/skills/pptx/scripts/office/schemas/microsoft/wml-2012.xsd +67 -0
  419. ziro-0.1.1/skills/pptx/scripts/office/schemas/microsoft/wml-2018.xsd +14 -0
  420. ziro-0.1.1/skills/pptx/scripts/office/schemas/microsoft/wml-cex-2018.xsd +20 -0
  421. ziro-0.1.1/skills/pptx/scripts/office/schemas/microsoft/wml-cid-2016.xsd +13 -0
  422. ziro-0.1.1/skills/pptx/scripts/office/schemas/microsoft/wml-sdtdatahash-2020.xsd +4 -0
  423. ziro-0.1.1/skills/pptx/scripts/office/schemas/microsoft/wml-symex-2015.xsd +8 -0
  424. ziro-0.1.1/skills/pptx/scripts/office/soffice.py +183 -0
  425. ziro-0.1.1/skills/pptx/scripts/office/unpack.py +132 -0
  426. ziro-0.1.1/skills/pptx/scripts/office/validate.py +111 -0
  427. ziro-0.1.1/skills/pptx/scripts/office/validators/__init__.py +15 -0
  428. ziro-0.1.1/skills/pptx/scripts/office/validators/base.py +847 -0
  429. ziro-0.1.1/skills/pptx/scripts/office/validators/docx.py +446 -0
  430. ziro-0.1.1/skills/pptx/scripts/office/validators/pptx.py +275 -0
  431. ziro-0.1.1/skills/pptx/scripts/office/validators/redlining.py +247 -0
  432. ziro-0.1.1/skills/pptx/scripts/thumbnail.py +289 -0
  433. ziro-0.1.1/skills/xlsx/SKILL.md +291 -0
  434. ziro-0.1.1/skills/xlsx/scripts/office/helpers/__init__.py +0 -0
  435. ziro-0.1.1/skills/xlsx/scripts/office/helpers/merge_runs.py +199 -0
  436. ziro-0.1.1/skills/xlsx/scripts/office/helpers/simplify_redlines.py +197 -0
  437. ziro-0.1.1/skills/xlsx/scripts/office/pack.py +159 -0
  438. ziro-0.1.1/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-chart.xsd +1499 -0
  439. ziro-0.1.1/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-chartDrawing.xsd +146 -0
  440. ziro-0.1.1/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-diagram.xsd +1085 -0
  441. ziro-0.1.1/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-lockedCanvas.xsd +11 -0
  442. ziro-0.1.1/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-main.xsd +3081 -0
  443. ziro-0.1.1/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-picture.xsd +23 -0
  444. ziro-0.1.1/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-spreadsheetDrawing.xsd +185 -0
  445. ziro-0.1.1/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-wordprocessingDrawing.xsd +287 -0
  446. ziro-0.1.1/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/pml.xsd +1676 -0
  447. ziro-0.1.1/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-additionalCharacteristics.xsd +28 -0
  448. ziro-0.1.1/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-bibliography.xsd +144 -0
  449. ziro-0.1.1/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-commonSimpleTypes.xsd +174 -0
  450. ziro-0.1.1/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-customXmlDataProperties.xsd +25 -0
  451. ziro-0.1.1/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-customXmlSchemaProperties.xsd +18 -0
  452. ziro-0.1.1/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesCustom.xsd +59 -0
  453. ziro-0.1.1/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesExtended.xsd +56 -0
  454. ziro-0.1.1/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesVariantTypes.xsd +195 -0
  455. ziro-0.1.1/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-math.xsd +582 -0
  456. ziro-0.1.1/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-relationshipReference.xsd +25 -0
  457. ziro-0.1.1/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/sml.xsd +4439 -0
  458. ziro-0.1.1/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/vml-main.xsd +570 -0
  459. ziro-0.1.1/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/vml-officeDrawing.xsd +509 -0
  460. ziro-0.1.1/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/vml-presentationDrawing.xsd +12 -0
  461. ziro-0.1.1/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/vml-spreadsheetDrawing.xsd +108 -0
  462. ziro-0.1.1/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/vml-wordprocessingDrawing.xsd +96 -0
  463. ziro-0.1.1/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/wml.xsd +3646 -0
  464. ziro-0.1.1/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/xml.xsd +116 -0
  465. ziro-0.1.1/skills/xlsx/scripts/office/schemas/ecma/fouth-edition/opc-contentTypes.xsd +42 -0
  466. ziro-0.1.1/skills/xlsx/scripts/office/schemas/ecma/fouth-edition/opc-coreProperties.xsd +50 -0
  467. ziro-0.1.1/skills/xlsx/scripts/office/schemas/ecma/fouth-edition/opc-digSig.xsd +49 -0
  468. ziro-0.1.1/skills/xlsx/scripts/office/schemas/ecma/fouth-edition/opc-relationships.xsd +33 -0
  469. ziro-0.1.1/skills/xlsx/scripts/office/schemas/mce/mc.xsd +75 -0
  470. ziro-0.1.1/skills/xlsx/scripts/office/schemas/microsoft/wml-2010.xsd +560 -0
  471. ziro-0.1.1/skills/xlsx/scripts/office/schemas/microsoft/wml-2012.xsd +67 -0
  472. ziro-0.1.1/skills/xlsx/scripts/office/schemas/microsoft/wml-2018.xsd +14 -0
  473. ziro-0.1.1/skills/xlsx/scripts/office/schemas/microsoft/wml-cex-2018.xsd +20 -0
  474. ziro-0.1.1/skills/xlsx/scripts/office/schemas/microsoft/wml-cid-2016.xsd +13 -0
  475. ziro-0.1.1/skills/xlsx/scripts/office/schemas/microsoft/wml-sdtdatahash-2020.xsd +4 -0
  476. ziro-0.1.1/skills/xlsx/scripts/office/schemas/microsoft/wml-symex-2015.xsd +8 -0
  477. ziro-0.1.1/skills/xlsx/scripts/office/soffice.py +183 -0
  478. ziro-0.1.1/skills/xlsx/scripts/office/unpack.py +132 -0
  479. ziro-0.1.1/skills/xlsx/scripts/office/validate.py +111 -0
  480. ziro-0.1.1/skills/xlsx/scripts/office/validators/__init__.py +15 -0
  481. ziro-0.1.1/skills/xlsx/scripts/office/validators/base.py +847 -0
  482. ziro-0.1.1/skills/xlsx/scripts/office/validators/docx.py +446 -0
  483. ziro-0.1.1/skills/xlsx/scripts/office/validators/pptx.py +275 -0
  484. ziro-0.1.1/skills/xlsx/scripts/office/validators/redlining.py +247 -0
  485. ziro-0.1.1/skills/xlsx/scripts/recalc.py +184 -0
  486. ziro-0.1.1/tests/__init__.py +0 -0
  487. ziro-0.1.1/tests/__snapshots__/test_tui_snapshots/test_approval_modal.raw +187 -0
  488. ziro-0.1.1/tests/__snapshots__/test_tui_snapshots/test_context_meter_hot.raw +186 -0
  489. ziro-0.1.1/tests/__snapshots__/test_tui_snapshots/test_idle_ui.raw +182 -0
  490. ziro-0.1.1/tests/__snapshots__/test_tui_snapshots/test_question_modal.raw +226 -0
  491. ziro-0.1.1/tests/__snapshots__/test_tui_snapshots/test_sidepane_populated.raw +185 -0
  492. ziro-0.1.1/tests/conftest.py +27 -0
  493. ziro-0.1.1/tests/test_agent_profile_provider.py +43 -0
  494. ziro-0.1.1/tests/test_agent_profiles.py +54 -0
  495. ziro-0.1.1/tests/test_capabilities.py +273 -0
  496. ziro-0.1.1/tests/test_clarify.py +249 -0
  497. ziro-0.1.1/tests/test_collect_turn_reply.py +93 -0
  498. ziro-0.1.1/tests/test_commands.py +562 -0
  499. ziro-0.1.1/tests/test_compaction.py +440 -0
  500. ziro-0.1.1/tests/test_config.py +108 -0
  501. ziro-0.1.1/tests/test_config_layers.py +186 -0
  502. ziro-0.1.1/tests/test_context_meter.py +294 -0
  503. ziro-0.1.1/tests/test_flavours.py +202 -0
  504. ziro-0.1.1/tests/test_fs_config.py +25 -0
  505. ziro-0.1.1/tests/test_fs_registration.py +38 -0
  506. ziro-0.1.1/tests/test_fs_tools.py +216 -0
  507. ziro-0.1.1/tests/test_graph_router.py +207 -0
  508. ziro-0.1.1/tests/test_guardrails.py +747 -0
  509. ziro-0.1.1/tests/test_guardrails_fail_closed.py +69 -0
  510. ziro-0.1.1/tests/test_handoff.py +268 -0
  511. ziro-0.1.1/tests/test_hooks.py +591 -0
  512. ziro-0.1.1/tests/test_init.py +56 -0
  513. ziro-0.1.1/tests/test_instant_tui.py +161 -0
  514. ziro-0.1.1/tests/test_interrupts.py +503 -0
  515. ziro-0.1.1/tests/test_launch_sync.py +130 -0
  516. ziro-0.1.1/tests/test_llm_adapter.py +178 -0
  517. ziro-0.1.1/tests/test_llm_factory.py +42 -0
  518. ziro-0.1.1/tests/test_loop_guards.py +217 -0
  519. ziro-0.1.1/tests/test_manage_agents_provider.py +46 -0
  520. ziro-0.1.1/tests/test_mcp_client.py +323 -0
  521. ziro-0.1.1/tests/test_mcp_config_interp.py +96 -0
  522. ziro-0.1.1/tests/test_mcp_manager.py +562 -0
  523. ziro-0.1.1/tests/test_mcp_oauth.py +471 -0
  524. ziro-0.1.1/tests/test_mcp_panel.py +654 -0
  525. ziro-0.1.1/tests/test_memory_reflection.py +408 -0
  526. ziro-0.1.1/tests/test_multimodal.py +292 -0
  527. ziro-0.1.1/tests/test_nodes.py +109 -0
  528. ziro-0.1.1/tests/test_openrouter_catalog.py +171 -0
  529. ziro-0.1.1/tests/test_paths_roots.py +83 -0
  530. ziro-0.1.1/tests/test_pdf_report_skill.py +70 -0
  531. ziro-0.1.1/tests/test_permissions.py +339 -0
  532. ziro-0.1.1/tests/test_question_modal_helpers.py +63 -0
  533. ziro-0.1.1/tests/test_queue.py +294 -0
  534. ziro-0.1.1/tests/test_repl_banner.py +27 -0
  535. ziro-0.1.1/tests/test_retry.py +225 -0
  536. ziro-0.1.1/tests/test_runner.py +324 -0
  537. ziro-0.1.1/tests/test_sdk_smoke.py +155 -0
  538. ziro-0.1.1/tests/test_sdk_surface.py +52 -0
  539. ziro-0.1.1/tests/test_shell.py +597 -0
  540. ziro-0.1.1/tests/test_skills_catalog.py +72 -0
  541. ziro-0.1.1/tests/test_startup_mcp.py +196 -0
  542. ziro-0.1.1/tests/test_startup_perf.py +497 -0
  543. ziro-0.1.1/tests/test_subagent_md.py +188 -0
  544. ziro-0.1.1/tests/test_subagents.py +716 -0
  545. ziro-0.1.1/tests/test_tasks.py +415 -0
  546. ziro-0.1.1/tests/test_theme_command.py +61 -0
  547. ziro-0.1.1/tests/test_themes.py +188 -0
  548. ziro-0.1.1/tests/test_thinking.py +712 -0
  549. ziro-0.1.1/tests/test_tools.py +1010 -0
  550. ziro-0.1.1/tests/test_tui.py +1515 -0
  551. ziro-0.1.1/tests/test_tui_reactive.py +39 -0
  552. ziro-0.1.1/tests/test_tui_silence.py +142 -0
  553. ziro-0.1.1/tests/test_tui_snapshots.py +169 -0
  554. ziro-0.1.1/tests/test_tui_store.py +83 -0
  555. ziro-0.1.1/tests/test_tui_theme.py +161 -0
  556. ziro-0.1.1/tests/test_ui_prefs.py +22 -0
  557. ziro-0.1.1/tests/test_voice.py +392 -0
  558. ziro-0.1.1/tests/test_webfetch.py +225 -0
  559. ziro-0.1.1/uv.lock +5225 -0
  560. ziro-0.1.1/ziro/__init__.py +52 -0
  561. ziro-0.1.1/ziro/_version.py +24 -0
  562. ziro-0.1.1/ziro/agent.py +278 -0
  563. ziro-0.1.1/ziro/capabilities.py +41 -0
  564. ziro-0.1.1/ziro/py.typed +0 -0
  565. ziro-0.1.1/ziro/types.py +27 -0
@@ -0,0 +1,12 @@
1
+ {
2
+ "permissions": {
3
+ "deny": [
4
+ "Read(./.env)",
5
+ "Read(./.env.local)",
6
+ "Read(./.env.staging)",
7
+ "Read(./.env.production)",
8
+ "Read(./.env.test)",
9
+ "Read(./.env.uat)"
10
+ ]
11
+ }
12
+ }
@@ -0,0 +1,21 @@
1
+ # LLM via OpenRouter (https://openrouter.ai)
2
+ OPENROUTER_API_KEY=
3
+ OPENROUTER_MODEL=google/gemini-2.5-flash-lite
4
+ # Enable reasoning: low | medium | high (leave empty to disable)
5
+ OPENROUTER_REASONING_EFFORT=
6
+ # App identity shown on OpenRouter activity/rankings (HTTP-Referer + X-OpenRouter-Title)
7
+ OPENROUTER_APP_TITLE=Ziro
8
+ OPENROUTER_APP_URL=https://www.langchain.com/langgraph
9
+
10
+ # Langfuse monitoring (https://langfuse.com)
11
+ LANGFUSE_PUBLIC_KEY=
12
+ LANGFUSE_SECRET_KEY=
13
+ LANGFUSE_HOST=https://cloud.langfuse.com
14
+
15
+ # Production PostgreSQL — uncomment to enable prod backends
16
+ # Start Postgres first: docker compose up -d
17
+ # DATABASE_URL=postgresql+psycopg://agent:agent@localhost:5432/agentdb
18
+
19
+ # Optional: LangSmith tracing
20
+ # LANGCHAIN_TRACING_V2=true
21
+ # LANGCHAIN_API_KEY=
@@ -0,0 +1,69 @@
1
+ name: release
2
+
3
+ # Two-stage release with a TestPyPI gate, tag-driven version (hatch-vcs), and
4
+ # PyPI Trusted Publishing (OIDC — no stored tokens).
5
+ #
6
+ # 1. push a tag v0.2.0 -> build + publish to TestPyPI (smoke test)
7
+ # 2. publish a GitHub Release -> build + publish to PyPI (promote)
8
+ #
9
+ # See docs/RELEASING.md for the runbook and the one-time PyPI/TestPyPI setup.
10
+
11
+ on:
12
+ push:
13
+ tags: ["v*"]
14
+ release:
15
+ types: [published]
16
+
17
+ permissions:
18
+ contents: read
19
+
20
+ jobs:
21
+ build:
22
+ name: build sdist + wheel
23
+ runs-on: ubuntu-latest
24
+ steps:
25
+ - uses: actions/checkout@v4
26
+ with:
27
+ fetch-depth: 0 # hatch-vcs needs full history + tags to resolve the version
28
+ - name: Install uv
29
+ uses: astral-sh/setup-uv@v5
30
+ - name: Build
31
+ run: uv build # -> dist/ziro-<version>.tar.gz + .whl
32
+ - name: Show version
33
+ run: ls -l dist/
34
+ - uses: actions/upload-artifact@v4
35
+ with:
36
+ name: dist
37
+ path: dist/
38
+
39
+ testpypi:
40
+ name: publish to TestPyPI
41
+ needs: build
42
+ if: github.event_name == 'push' # fires on the v* tag push
43
+ runs-on: ubuntu-latest
44
+ environment: testpypi # GitHub env; scopes the OIDC trust
45
+ permissions:
46
+ id-token: write # required for Trusted Publishing
47
+ steps:
48
+ - uses: actions/download-artifact@v4
49
+ with:
50
+ name: dist
51
+ path: dist/
52
+ - uses: pypa/gh-action-pypi-publish@release/v1
53
+ with:
54
+ repository-url: https://test.pypi.org/legacy/
55
+
56
+ pypi:
57
+ name: publish to PyPI
58
+ needs: build
59
+ if: github.event_name == 'release' # fires when a GitHub Release is published
60
+ runs-on: ubuntu-latest
61
+ environment: pypi
62
+ permissions:
63
+ id-token: write
64
+ steps:
65
+ - uses: actions/download-artifact@v4
66
+ with:
67
+ name: dist
68
+ path: dist/
69
+ - uses: pypa/gh-action-pypi-publish@release/v1
ziro-0.1.1/.gitignore ADDED
@@ -0,0 +1,34 @@
1
+ # Python-generated files
2
+ __pycache__/
3
+ *.py[oc]
4
+ build/
5
+ dist/
6
+ wheels/
7
+ *.egg-info
8
+ # generated by hatch-vcs at build time
9
+ ziro/_version.py
10
+ tmp/
11
+ .mypy_cache/
12
+ **/.mypy_cache/
13
+
14
+ # Virtual environments
15
+ .venv
16
+
17
+ # Local git worktrees
18
+ .worktrees/
19
+
20
+ # Environment variables
21
+ .env
22
+ .mcp.json
23
+
24
+ # Dev data (SQLite checkpoints and FAISS indexes)
25
+ data/*.db
26
+ data/*.db-*
27
+ data/faiss_*/
28
+ data/audit/
29
+ data/voices/
30
+ data/mcp_oauth/
31
+ data/model_catalog.json
32
+ models/*.gguf
33
+ *.log
34
+ snapshot_report.html
@@ -0,0 +1 @@
1
+ 3.11.9
@@ -0,0 +1,146 @@
1
+ {
2
+ "version": "0.2.0",
3
+ "configurations": [
4
+ {
5
+ "name": "Ziro: Run (pick agent)",
6
+ "type": "debugpy",
7
+ "request": "launch",
8
+ "module": "app.main",
9
+ "cwd": "${workspaceFolder}",
10
+ "console": "integratedTerminal",
11
+ "args": [
12
+ "--user",
13
+ "${input:userId}",
14
+ "--agent",
15
+ "${input:agentId}",
16
+ "--thread",
17
+ "${input:threadId}"
18
+ ]
19
+ },
20
+ {
21
+ "name": "Ziro: Run (interactive picker)",
22
+ "type": "debugpy",
23
+ "request": "launch",
24
+ "module": "app.main",
25
+ "cwd": "${workspaceFolder}",
26
+ "console": "integratedTerminal",
27
+ "args": [
28
+ "--user",
29
+ "${input:userId}",
30
+ "--thread",
31
+ "${input:threadId}"
32
+ ]
33
+ },
34
+ {
35
+ "name": "Ziro: Run Life Coach (default)",
36
+ "type": "debugpy",
37
+ "request": "launch",
38
+ "module": "app.main",
39
+ "cwd": "${workspaceFolder}",
40
+ "console": "integratedTerminal",
41
+ "args": [
42
+ "--user",
43
+ "${input:userId}",
44
+ "--agent",
45
+ "default",
46
+ "--thread",
47
+ "${input:threadId}"
48
+ ]
49
+ },
50
+ {
51
+ "name": "Ziro: Run Researcher",
52
+ "type": "debugpy",
53
+ "request": "launch",
54
+ "module": "app.main",
55
+ "cwd": "${workspaceFolder}",
56
+ "console": "integratedTerminal",
57
+ "args": [
58
+ "--user",
59
+ "${input:userId}",
60
+ "--agent",
61
+ "researcher",
62
+ "--thread",
63
+ "${input:threadId}"
64
+ ]
65
+ },
66
+ {
67
+ "name": "Ziro: chat_once (single-shot)",
68
+ "type": "debugpy",
69
+ "request": "launch",
70
+ "module": "app.cli.chat_once",
71
+ "cwd": "${workspaceFolder}",
72
+ "console": "integratedTerminal",
73
+ "args": [
74
+ "--user",
75
+ "${input:userId}",
76
+ "--agent",
77
+ "${input:agentId}",
78
+ "--message",
79
+ "${input:message}"
80
+ ]
81
+ },
82
+ {
83
+ "name": "Ziro: manage agents (list)",
84
+ "type": "debugpy",
85
+ "request": "launch",
86
+ "module": "app.cli.manage_agents",
87
+ "cwd": "${workspaceFolder}",
88
+ "console": "integratedTerminal",
89
+ "args": [
90
+ "list"
91
+ ]
92
+ },
93
+ {
94
+ "name": "Python Debugger: Current File with Arguments",
95
+ "type": "debugpy",
96
+ "request": "launch",
97
+ "program": "${file}",
98
+ "console": "integratedTerminal",
99
+ "args": "${command:pickArgs}"
100
+ }
101
+ ],
102
+ "inputs": [
103
+ {
104
+ "id": "userId",
105
+ "type": "promptString",
106
+ "description": "User ID (scopes long-term memory)",
107
+ "default": "test-user"
108
+ },
109
+ {
110
+ "id": "agentId",
111
+ "type": "pickString",
112
+ "description": "Agent to run",
113
+ "options": [
114
+ {
115
+ "label": "Generalist",
116
+ "value": "default"
117
+ },
118
+ {
119
+ "label": "Life Coach",
120
+ "value": "life_coach"
121
+ },
122
+ {
123
+ "label": "Researcher",
124
+ "value": "researcher"
125
+ },
126
+ {
127
+ "label": "Researcher (Docker sandbox)",
128
+ "value": "researcher_docker"
129
+ }
130
+ ],
131
+ "default": "default"
132
+ },
133
+ {
134
+ "id": "threadId",
135
+ "type": "promptString",
136
+ "description": "Thread ID to resume (blank for new session)",
137
+ "default": ""
138
+ },
139
+ {
140
+ "id": "message",
141
+ "type": "promptString",
142
+ "description": "Message (chat_once single-shot)",
143
+ "default": "Hello"
144
+ }
145
+ ]
146
+ }
@@ -0,0 +1,19 @@
1
+ {
2
+ "python.defaultInterpreterPath": "${workspaceFolder}/.venv/Scripts/python.exe",
3
+ "python.terminal.activateEnvironment": false,
4
+ "python.testing.pytestArgs": [
5
+ "."
6
+ ],
7
+ "python.testing.unittestEnabled": false,
8
+ "python.testing.pytestEnabled": true,
9
+
10
+ // --- Ziro TUI rendering in the integrated terminal ---
11
+ // The TUI (Textual) repaints fast and full-screen. VS Code's terminal GPU
12
+ // renderer can drop/garble glyphs under that load (text shows as "eneralist",
13
+ // "minima minima m"); turning it off renders the TUI cleanly.
14
+ "terminal.integrated.gpuAcceleration": "off",
15
+ // VS Code re-tints terminal colors to hit a contrast ratio, which shifts the
16
+ // theme's exact palette (e.g. the steel-blue agent name). 1 = use the theme's
17
+ // colors verbatim.
18
+ "terminal.integrated.minimumContrastRatio": 1
19
+ }
@@ -0,0 +1,14 @@
1
+ # Local environment files
2
+ .env
3
+ .env.local
4
+ .env.*
5
+
6
+ # Extra
7
+ tmp
8
+ tmp/*
9
+
10
+ # settings.local.json (personal permission overrides, gitignored)
11
+ .claude/settings.json
12
+ .claude/settings.local.json
13
+ .mcp.json
14
+ CLAUDE.local.md