fruxon 2.3.1__tar.gz → 2.3.2__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 (235) hide show
  1. {fruxon-2.3.1 → fruxon-2.3.2}/HISTORY.md +11 -0
  2. {fruxon-2.3.1 → fruxon-2.3.2}/PKG-INFO +1 -1
  3. {fruxon-2.3.1 → fruxon-2.3.2}/src/fruxon/_version.py +2 -2
  4. {fruxon-2.3.1 → fruxon-2.3.2}/src/fruxon/cli/doctor.py +1 -0
  5. {fruxon-2.3.1 → fruxon-2.3.2}/src/fruxon/cli/examples.py +1 -1
  6. {fruxon-2.3.1 → fruxon-2.3.2}/src/fruxon/doctor.py +126 -0
  7. {fruxon-2.3.1 → fruxon-2.3.2}/src/fruxon/skills/fruxon-debug-trace/SKILL.md +1 -1
  8. {fruxon-2.3.1 → fruxon-2.3.2}/src/fruxon/skills/fruxon-meet/SKILL.md +1 -1
  9. {fruxon-2.3.1 → fruxon-2.3.2}/tests/conftest.py +3 -0
  10. {fruxon-2.3.1 → fruxon-2.3.2}/tests/test_doctor.py +91 -0
  11. {fruxon-2.3.1 → fruxon-2.3.2}/tests/test_guides.py +8 -0
  12. {fruxon-2.3.1 → fruxon-2.3.2}/.gitignore +0 -0
  13. {fruxon-2.3.1 → fruxon-2.3.2}/LICENSE +0 -0
  14. {fruxon-2.3.1 → fruxon-2.3.2}/README.md +0 -0
  15. {fruxon-2.3.1 → fruxon-2.3.2}/pyproject.toml +0 -0
  16. {fruxon-2.3.1 → fruxon-2.3.2}/src/fruxon/__init__.py +0 -0
  17. {fruxon-2.3.1 → fruxon-2.3.2}/src/fruxon/__main__.py +0 -0
  18. {fruxon-2.3.1 → fruxon-2.3.2}/src/fruxon/_request_id.py +0 -0
  19. {fruxon-2.3.1 → fruxon-2.3.2}/src/fruxon/_ssl.py +0 -0
  20. {fruxon-2.3.1 → fruxon-2.3.2}/src/fruxon/checks/__init__.py +0 -0
  21. {fruxon-2.3.1 → fruxon-2.3.2}/src/fruxon/checks/agent.py +0 -0
  22. {fruxon-2.3.1 → fruxon-2.3.2}/src/fruxon/checks/ledger.py +0 -0
  23. {fruxon-2.3.1 → fruxon-2.3.2}/src/fruxon/checks/references.py +0 -0
  24. {fruxon-2.3.1 → fruxon-2.3.2}/src/fruxon/cli/__init__.py +0 -0
  25. {fruxon-2.3.1 → fruxon-2.3.2}/src/fruxon/cli/_crash.py +0 -0
  26. {fruxon-2.3.1 → fruxon-2.3.2}/src/fruxon/cli/_last_failure.py +0 -0
  27. {fruxon-2.3.1 → fruxon-2.3.2}/src/fruxon/cli/_ledger_passes.py +0 -0
  28. {fruxon-2.3.1 → fruxon-2.3.2}/src/fruxon/cli/_plugin_hint.py +0 -0
  29. {fruxon-2.3.1 → fruxon-2.3.2}/src/fruxon/cli/_schema.py +0 -0
  30. {fruxon-2.3.1 → fruxon-2.3.2}/src/fruxon/cli/_shared.py +0 -0
  31. {fruxon-2.3.1 → fruxon-2.3.2}/src/fruxon/cli/_stream.py +0 -0
  32. {fruxon-2.3.1 → fruxon-2.3.2}/src/fruxon/cli/access_requests.py +0 -0
  33. {fruxon-2.3.1 → fruxon-2.3.2}/src/fruxon/cli/agents.py +0 -0
  34. {fruxon-2.3.1 → fruxon-2.3.2}/src/fruxon/cli/agents_approvals.py +0 -0
  35. {fruxon-2.3.1 → fruxon-2.3.2}/src/fruxon/cli/agents_budget.py +0 -0
  36. {fruxon-2.3.1 → fruxon-2.3.2}/src/fruxon/cli/agents_channels.py +0 -0
  37. {fruxon-2.3.1 → fruxon-2.3.2}/src/fruxon/cli/agents_draft.py +0 -0
  38. {fruxon-2.3.1 → fruxon-2.3.2}/src/fruxon/cli/agents_evaluations.py +0 -0
  39. {fruxon-2.3.1 → fruxon-2.3.2}/src/fruxon/cli/agents_executions.py +0 -0
  40. {fruxon-2.3.1 → fruxon-2.3.2}/src/fruxon/cli/agents_improvements.py +0 -0
  41. {fruxon-2.3.1 → fruxon-2.3.2}/src/fruxon/cli/agents_lifecycle.py +0 -0
  42. {fruxon-2.3.1 → fruxon-2.3.2}/src/fruxon/cli/agents_memory.py +0 -0
  43. {fruxon-2.3.1 → fruxon-2.3.2}/src/fruxon/cli/agents_reply_style.py +0 -0
  44. {fruxon-2.3.1 → fruxon-2.3.2}/src/fruxon/cli/agents_revisions.py +0 -0
  45. {fruxon-2.3.1 → fruxon-2.3.2}/src/fruxon/cli/agents_sandbox.py +0 -0
  46. {fruxon-2.3.1 → fruxon-2.3.2}/src/fruxon/cli/agents_sandbox_test.py +0 -0
  47. {fruxon-2.3.1 → fruxon-2.3.2}/src/fruxon/cli/agents_slots.py +0 -0
  48. {fruxon-2.3.1 → fruxon-2.3.2}/src/fruxon/cli/agents_system_blocks.py +0 -0
  49. {fruxon-2.3.1 → fruxon-2.3.2}/src/fruxon/cli/agents_tests.py +0 -0
  50. {fruxon-2.3.1 → fruxon-2.3.2}/src/fruxon/cli/agents_topics.py +0 -0
  51. {fruxon-2.3.1 → fruxon-2.3.2}/src/fruxon/cli/agents_voice_calls.py +0 -0
  52. {fruxon-2.3.1 → fruxon-2.3.2}/src/fruxon/cli/applications.py +0 -0
  53. {fruxon-2.3.1 → fruxon-2.3.2}/src/fruxon/cli/applications_entry_points.py +0 -0
  54. {fruxon-2.3.1 → fruxon-2.3.2}/src/fruxon/cli/assets.py +0 -0
  55. {fruxon-2.3.1 → fruxon-2.3.2}/src/fruxon/cli/auth.py +0 -0
  56. {fruxon-2.3.1 → fruxon-2.3.2}/src/fruxon/cli/capabilities.py +0 -0
  57. {fruxon-2.3.1 → fruxon-2.3.2}/src/fruxon/cli/completion.py +0 -0
  58. {fruxon-2.3.1 → fruxon-2.3.2}/src/fruxon/cli/config.py +0 -0
  59. {fruxon-2.3.1 → fruxon-2.3.2}/src/fruxon/cli/consult_pins.py +0 -0
  60. {fruxon-2.3.1 → fruxon-2.3.2}/src/fruxon/cli/conversation_imports.py +0 -0
  61. {fruxon-2.3.1 → fruxon-2.3.2}/src/fruxon/cli/dash.py +0 -0
  62. {fruxon-2.3.1 → fruxon-2.3.2}/src/fruxon/cli/describe.py +0 -0
  63. {fruxon-2.3.1 → fruxon-2.3.2}/src/fruxon/cli/environments.py +0 -0
  64. {fruxon-2.3.1 → fruxon-2.3.2}/src/fruxon/cli/escalation_desks.py +0 -0
  65. {fruxon-2.3.1 → fruxon-2.3.2}/src/fruxon/cli/escalation_operators.py +0 -0
  66. {fruxon-2.3.1 → fruxon-2.3.2}/src/fruxon/cli/escalations.py +0 -0
  67. {fruxon-2.3.1 → fruxon-2.3.2}/src/fruxon/cli/feedback.py +0 -0
  68. {fruxon-2.3.1 → fruxon-2.3.2}/src/fruxon/cli/guides.py +0 -0
  69. {fruxon-2.3.1 → fruxon-2.3.2}/src/fruxon/cli/integrations.py +0 -0
  70. {fruxon-2.3.1 → fruxon-2.3.2}/src/fruxon/cli/integrations_sandbox.py +0 -0
  71. {fruxon-2.3.1 → fruxon-2.3.2}/src/fruxon/cli/integrations_webhooks.py +0 -0
  72. {fruxon-2.3.1 → fruxon-2.3.2}/src/fruxon/cli/keys.py +0 -0
  73. {fruxon-2.3.1 → fruxon-2.3.2}/src/fruxon/cli/knowledge_bases.py +0 -0
  74. {fruxon-2.3.1 → fruxon-2.3.2}/src/fruxon/cli/knowledge_documents.py +0 -0
  75. {fruxon-2.3.1 → fruxon-2.3.2}/src/fruxon/cli/knowledge_notices.py +0 -0
  76. {fruxon-2.3.1 → fruxon-2.3.2}/src/fruxon/cli/knowledge_sources.py +0 -0
  77. {fruxon-2.3.1 → fruxon-2.3.2}/src/fruxon/cli/llm_providers.py +0 -0
  78. {fruxon-2.3.1 → fruxon-2.3.2}/src/fruxon/cli/messages.py +0 -0
  79. {fruxon-2.3.1 → fruxon-2.3.2}/src/fruxon/cli/metrics.py +0 -0
  80. {fruxon-2.3.1 → fruxon-2.3.2}/src/fruxon/cli/participants.py +0 -0
  81. {fruxon-2.3.1 → fruxon-2.3.2}/src/fruxon/cli/secrets.py +0 -0
  82. {fruxon-2.3.1 → fruxon-2.3.2}/src/fruxon/cli/skills.py +0 -0
  83. {fruxon-2.3.1 → fruxon-2.3.2}/src/fruxon/cli/storage.py +0 -0
  84. {fruxon-2.3.1 → fruxon-2.3.2}/src/fruxon/cli/tools.py +0 -0
  85. {fruxon-2.3.1 → fruxon-2.3.2}/src/fruxon/cli/triggers.py +0 -0
  86. {fruxon-2.3.1 → fruxon-2.3.2}/src/fruxon/cli/triggers_budget.py +0 -0
  87. {fruxon-2.3.1 → fruxon-2.3.2}/src/fruxon/cli/triggers_check.py +0 -0
  88. {fruxon-2.3.1 → fruxon-2.3.2}/src/fruxon/cli/triggers_ledger.py +0 -0
  89. {fruxon-2.3.1 → fruxon-2.3.2}/src/fruxon/cli/triggers_ledger_stage_tests.py +0 -0
  90. {fruxon-2.3.1 → fruxon-2.3.2}/src/fruxon/cli/triggers_questions.py +0 -0
  91. {fruxon-2.3.1 → fruxon-2.3.2}/src/fruxon/cli/triggers_shape.py +0 -0
  92. {fruxon-2.3.1 → fruxon-2.3.2}/src/fruxon/cli/working_hours.py +0 -0
  93. {fruxon-2.3.1 → fruxon-2.3.2}/src/fruxon/cli/workspaces.py +0 -0
  94. {fruxon-2.3.1 → fruxon-2.3.2}/src/fruxon/credentials.py +0 -0
  95. {fruxon-2.3.1 → fruxon-2.3.2}/src/fruxon/device_auth.py +0 -0
  96. {fruxon-2.3.1 → fruxon-2.3.2}/src/fruxon/exceptions.py +0 -0
  97. {fruxon-2.3.1 → fruxon-2.3.2}/src/fruxon/flow_validation.py +0 -0
  98. {fruxon-2.3.1 → fruxon-2.3.2}/src/fruxon/fruxon.py +0 -0
  99. {fruxon-2.3.1 → fruxon-2.3.2}/src/fruxon/models.py +0 -0
  100. {fruxon-2.3.1 → fruxon-2.3.2}/src/fruxon/output.py +0 -0
  101. {fruxon-2.3.1 → fruxon-2.3.2}/src/fruxon/params.py +0 -0
  102. {fruxon-2.3.1 → fruxon-2.3.2}/src/fruxon/sandbox_scenario.py +0 -0
  103. {fruxon-2.3.1 → fruxon-2.3.2}/src/fruxon/skills/__init__.py +0 -0
  104. {fruxon-2.3.1 → fruxon-2.3.2}/src/fruxon/skills/fruxon-agent-mode/SKILL.md +0 -0
  105. {fruxon-2.3.1 → fruxon-2.3.2}/src/fruxon/skills/fruxon-build-agent/SKILL.md +0 -0
  106. {fruxon-2.3.1 → fruxon-2.3.2}/src/fruxon/skills/fruxon-create-integration/SKILL.md +0 -0
  107. {fruxon-2.3.1 → fruxon-2.3.2}/src/fruxon/skills/fruxon-use-integrations/SKILL.md +0 -0
  108. {fruxon-2.3.1 → fruxon-2.3.2}/src/fruxon/telemetry.py +0 -0
  109. {fruxon-2.3.1 → fruxon-2.3.2}/src/fruxon/tui/__init__.py +0 -0
  110. {fruxon-2.3.1 → fruxon-2.3.2}/src/fruxon/tui/app.py +0 -0
  111. {fruxon-2.3.1 → fruxon-2.3.2}/src/fruxon/tui/demo.py +0 -0
  112. {fruxon-2.3.1 → fruxon-2.3.2}/src/fruxon/tui/links.py +0 -0
  113. {fruxon-2.3.1 → fruxon-2.3.2}/src/fruxon/tui/screens/__init__.py +0 -0
  114. {fruxon-2.3.1 → fruxon-2.3.2}/src/fruxon/tui/screens/agent.py +0 -0
  115. {fruxon-2.3.1 → fruxon-2.3.2}/src/fruxon/tui/screens/base.py +0 -0
  116. {fruxon-2.3.1 → fruxon-2.3.2}/src/fruxon/tui/screens/home.py +0 -0
  117. {fruxon-2.3.1 → fruxon-2.3.2}/src/fruxon/tui/screens/ledger.py +0 -0
  118. {fruxon-2.3.1 → fruxon-2.3.2}/src/fruxon/tui/screens/loader.py +0 -0
  119. {fruxon-2.3.1 → fruxon-2.3.2}/src/fruxon/tui/screens/pickers.py +0 -0
  120. {fruxon-2.3.1 → fruxon-2.3.2}/src/fruxon/tui/screens/trace.py +0 -0
  121. {fruxon-2.3.1 → fruxon-2.3.2}/src/fruxon/tui/source.py +0 -0
  122. {fruxon-2.3.1 → fruxon-2.3.2}/src/fruxon/tui/theme.py +0 -0
  123. {fruxon-2.3.1 → fruxon-2.3.2}/src/fruxon/tui/views.py +0 -0
  124. {fruxon-2.3.1 → fruxon-2.3.2}/src/fruxon/tui/widgets.py +0 -0
  125. {fruxon-2.3.1 → fruxon-2.3.2}/src/fruxon/ui.py +0 -0
  126. {fruxon-2.3.1 → fruxon-2.3.2}/src/fruxon/update_check.py +0 -0
  127. {fruxon-2.3.1 → fruxon-2.3.2}/src/fruxon/validation.py +0 -0
  128. {fruxon-2.3.1 → fruxon-2.3.2}/tests/.test_durations.json +0 -0
  129. {fruxon-2.3.1 → fruxon-2.3.2}/tests/__init__.py +0 -0
  130. {fruxon-2.3.1 → fruxon-2.3.2}/tests/test_actor.py +0 -0
  131. {fruxon-2.3.1 → fruxon-2.3.2}/tests/test_agent_lifecycle.py +0 -0
  132. {fruxon-2.3.1 → fruxon-2.3.2}/tests/test_agent_revisions_list.py +0 -0
  133. {fruxon-2.3.1 → fruxon-2.3.2}/tests/test_agent_slots.py +0 -0
  134. {fruxon-2.3.1 → fruxon-2.3.2}/tests/test_agents_check_cli.py +0 -0
  135. {fruxon-2.3.1 → fruxon-2.3.2}/tests/test_agents_revisions_cli.py +0 -0
  136. {fruxon-2.3.1 → fruxon-2.3.2}/tests/test_agents_sandbox.py +0 -0
  137. {fruxon-2.3.1 → fruxon-2.3.2}/tests/test_applications.py +0 -0
  138. {fruxon-2.3.1 → fruxon-2.3.2}/tests/test_approvals.py +0 -0
  139. {fruxon-2.3.1 → fruxon-2.3.2}/tests/test_assets.py +0 -0
  140. {fruxon-2.3.1 → fruxon-2.3.2}/tests/test_budgets.py +0 -0
  141. {fruxon-2.3.1 → fruxon-2.3.2}/tests/test_capabilities.py +0 -0
  142. {fruxon-2.3.1 → fruxon-2.3.2}/tests/test_channels.py +0 -0
  143. {fruxon-2.3.1 → fruxon-2.3.2}/tests/test_checks_agent.py +0 -0
  144. {fruxon-2.3.1 → fruxon-2.3.2}/tests/test_checks_ledger.py +0 -0
  145. {fruxon-2.3.1 → fruxon-2.3.2}/tests/test_cli.py +0 -0
  146. {fruxon-2.3.1 → fruxon-2.3.2}/tests/test_cli_base_url_routing.py +0 -0
  147. {fruxon-2.3.1 → fruxon-2.3.2}/tests/test_cli_crash.py +0 -0
  148. {fruxon-2.3.1 → fruxon-2.3.2}/tests/test_cli_feedback.py +0 -0
  149. {fruxon-2.3.1 → fruxon-2.3.2}/tests/test_cli_friction_round2.py +0 -0
  150. {fruxon-2.3.1 → fruxon-2.3.2}/tests/test_cli_friction_round3.py +0 -0
  151. {fruxon-2.3.1 → fruxon-2.3.2}/tests/test_cli_root_flags.py +0 -0
  152. {fruxon-2.3.1 → fruxon-2.3.2}/tests/test_client.py +0 -0
  153. {fruxon-2.3.1 → fruxon-2.3.2}/tests/test_connect_nudge.py +0 -0
  154. {fruxon-2.3.1 → fruxon-2.3.2}/tests/test_consult.py +0 -0
  155. {fruxon-2.3.1 → fruxon-2.3.2}/tests/test_conversation_imports.py +0 -0
  156. {fruxon-2.3.1 → fruxon-2.3.2}/tests/test_credentials.py +0 -0
  157. {fruxon-2.3.1 → fruxon-2.3.2}/tests/test_dash_app.py +0 -0
  158. {fruxon-2.3.1 → fruxon-2.3.2}/tests/test_dash_cli.py +0 -0
  159. {fruxon-2.3.1 → fruxon-2.3.2}/tests/test_dash_client.py +0 -0
  160. {fruxon-2.3.1 → fruxon-2.3.2}/tests/test_dash_links.py +0 -0
  161. {fruxon-2.3.1 → fruxon-2.3.2}/tests/test_dash_source.py +0 -0
  162. {fruxon-2.3.1 → fruxon-2.3.2}/tests/test_describe.py +0 -0
  163. {fruxon-2.3.1 → fruxon-2.3.2}/tests/test_device_auth.py +0 -0
  164. {fruxon-2.3.1 → fruxon-2.3.2}/tests/test_docs_commands_exist.py +0 -0
  165. {fruxon-2.3.1 → fruxon-2.3.2}/tests/test_draft_bootstrap.py +0 -0
  166. {fruxon-2.3.1 → fruxon-2.3.2}/tests/test_draft_evaluate_cli.py +0 -0
  167. {fruxon-2.3.1 → fruxon-2.3.2}/tests/test_draft_pull_shape.py +0 -0
  168. {fruxon-2.3.1 → fruxon-2.3.2}/tests/test_draft_run_replay.py +0 -0
  169. {fruxon-2.3.1 → fruxon-2.3.2}/tests/test_draft_validate_cli.py +0 -0
  170. {fruxon-2.3.1 → fruxon-2.3.2}/tests/test_drafts.py +0 -0
  171. {fruxon-2.3.1 → fruxon-2.3.2}/tests/test_entry_points.py +0 -0
  172. {fruxon-2.3.1 → fruxon-2.3.2}/tests/test_environments.py +0 -0
  173. {fruxon-2.3.1 → fruxon-2.3.2}/tests/test_escalation_operators.py +0 -0
  174. {fruxon-2.3.1 → fruxon-2.3.2}/tests/test_escalations.py +0 -0
  175. {fruxon-2.3.1 → fruxon-2.3.2}/tests/test_evaluations.py +0 -0
  176. {fruxon-2.3.1 → fruxon-2.3.2}/tests/test_execution_records.py +0 -0
  177. {fruxon-2.3.1 → fruxon-2.3.2}/tests/test_flow_validation.py +0 -0
  178. {fruxon-2.3.1 → fruxon-2.3.2}/tests/test_fruxon.py +0 -0
  179. {fruxon-2.3.1 → fruxon-2.3.2}/tests/test_improvements.py +0 -0
  180. {fruxon-2.3.1 → fruxon-2.3.2}/tests/test_integration_configs_write_cli.py +0 -0
  181. {fruxon-2.3.1 → fruxon-2.3.2}/tests/test_integration_sandbox_cli.py +0 -0
  182. {fruxon-2.3.1 → fruxon-2.3.2}/tests/test_integration_triggers_cli.py +0 -0
  183. {fruxon-2.3.1 → fruxon-2.3.2}/tests/test_integrations_authorize_cli.py +0 -0
  184. {fruxon-2.3.1 → fruxon-2.3.2}/tests/test_integrations_connect_cli.py +0 -0
  185. {fruxon-2.3.1 → fruxon-2.3.2}/tests/test_kb_trial_cli.py +0 -0
  186. {fruxon-2.3.1 → fruxon-2.3.2}/tests/test_knowledge_bases.py +0 -0
  187. {fruxon-2.3.1 → fruxon-2.3.2}/tests/test_knowledge_documents.py +0 -0
  188. {fruxon-2.3.1 → fruxon-2.3.2}/tests/test_knowledge_notices.py +0 -0
  189. {fruxon-2.3.1 → fruxon-2.3.2}/tests/test_knowledge_sources.py +0 -0
  190. {fruxon-2.3.1 → fruxon-2.3.2}/tests/test_llm_provider_configs_cli.py +0 -0
  191. {fruxon-2.3.1 → fruxon-2.3.2}/tests/test_llm_providers_connect_cli.py +0 -0
  192. {fruxon-2.3.1 → fruxon-2.3.2}/tests/test_llm_providers_list_cli.py +0 -0
  193. {fruxon-2.3.1 → fruxon-2.3.2}/tests/test_managed_by.py +0 -0
  194. {fruxon-2.3.1 → fruxon-2.3.2}/tests/test_memory.py +0 -0
  195. {fruxon-2.3.1 → fruxon-2.3.2}/tests/test_messages.py +0 -0
  196. {fruxon-2.3.1 → fruxon-2.3.2}/tests/test_metrics.py +0 -0
  197. {fruxon-2.3.1 → fruxon-2.3.2}/tests/test_online_llm_config_refs.py +0 -0
  198. {fruxon-2.3.1 → fruxon-2.3.2}/tests/test_online_prefetch_refs.py +0 -0
  199. {fruxon-2.3.1 → fruxon-2.3.2}/tests/test_online_secret_refs.py +0 -0
  200. {fruxon-2.3.1 → fruxon-2.3.2}/tests/test_output.py +0 -0
  201. {fruxon-2.3.1 → fruxon-2.3.2}/tests/test_params.py +0 -0
  202. {fruxon-2.3.1 → fruxon-2.3.2}/tests/test_participants.py +0 -0
  203. {fruxon-2.3.1 → fruxon-2.3.2}/tests/test_participants_write.py +0 -0
  204. {fruxon-2.3.1 → fruxon-2.3.2}/tests/test_plugin_hint.py +0 -0
  205. {fruxon-2.3.1 → fruxon-2.3.2}/tests/test_project_urls.py +0 -0
  206. {fruxon-2.3.1 → fruxon-2.3.2}/tests/test_reply_style.py +0 -0
  207. {fruxon-2.3.1 → fruxon-2.3.2}/tests/test_request_id.py +0 -0
  208. {fruxon-2.3.1 → fruxon-2.3.2}/tests/test_sandbox_scenario.py +0 -0
  209. {fruxon-2.3.1 → fruxon-2.3.2}/tests/test_schema.py +0 -0
  210. {fruxon-2.3.1 → fruxon-2.3.2}/tests/test_schema_fetch.py +0 -0
  211. {fruxon-2.3.1 → fruxon-2.3.2}/tests/test_secrets.py +0 -0
  212. {fruxon-2.3.1 → fruxon-2.3.2}/tests/test_skills.py +0 -0
  213. {fruxon-2.3.1 → fruxon-2.3.2}/tests/test_ssl.py +0 -0
  214. {fruxon-2.3.1 → fruxon-2.3.2}/tests/test_storage.py +0 -0
  215. {fruxon-2.3.1 → fruxon-2.3.2}/tests/test_system_blocks.py +0 -0
  216. {fruxon-2.3.1 → fruxon-2.3.2}/tests/test_system_blocks_cli.py +0 -0
  217. {fruxon-2.3.1 → fruxon-2.3.2}/tests/test_telemetry.py +0 -0
  218. {fruxon-2.3.1 → fruxon-2.3.2}/tests/test_test_chats.py +0 -0
  219. {fruxon-2.3.1 → fruxon-2.3.2}/tests/test_topics.py +0 -0
  220. {fruxon-2.3.1 → fruxon-2.3.2}/tests/test_trigger_budgets.py +0 -0
  221. {fruxon-2.3.1 → fruxon-2.3.2}/tests/test_triggers.py +0 -0
  222. {fruxon-2.3.1 → fruxon-2.3.2}/tests/test_triggers_check_cli.py +0 -0
  223. {fruxon-2.3.1 → fruxon-2.3.2}/tests/test_triggers_ledger.py +0 -0
  224. {fruxon-2.3.1 → fruxon-2.3.2}/tests/test_triggers_ledger_batch_views.py +0 -0
  225. {fruxon-2.3.1 → fruxon-2.3.2}/tests/test_triggers_ledger_stage_tests.py +0 -0
  226. {fruxon-2.3.1 → fruxon-2.3.2}/tests/test_triggers_questions.py +0 -0
  227. {fruxon-2.3.1 → fruxon-2.3.2}/tests/test_triggers_shape.py +0 -0
  228. {fruxon-2.3.1 → fruxon-2.3.2}/tests/test_triggers_write.py +0 -0
  229. {fruxon-2.3.1 → fruxon-2.3.2}/tests/test_tui_boundary.py +0 -0
  230. {fruxon-2.3.1 → fruxon-2.3.2}/tests/test_ui.py +0 -0
  231. {fruxon-2.3.1 → fruxon-2.3.2}/tests/test_update_check.py +0 -0
  232. {fruxon-2.3.1 → fruxon-2.3.2}/tests/test_validation.py +0 -0
  233. {fruxon-2.3.1 → fruxon-2.3.2}/tests/test_voice_calls.py +0 -0
  234. {fruxon-2.3.1 → fruxon-2.3.2}/tests/test_working_hours_cli.py +0 -0
  235. {fruxon-2.3.1 → fruxon-2.3.2}/tests/test_workspaces_cli.py +0 -0
@@ -1,5 +1,16 @@
1
1
  # History
2
2
 
3
+ ## Unreleased — a stale Claude Code plugin shows up in doctor
4
+
5
+ - **`fruxon doctor`** has a **Claude Code plugin** row (F-034): it finds the installed fruxon plugin (Claude
6
+ Code's installed-plugins registry, else its plugin cache, under `$CLAUDE_CONFIG_DIR` or `~/.claude`) and
7
+ warns when its version differs from the CLI's, with the `claude plugin marketplace update` /
8
+ `claude plugin update fruxon@<marketplace>` commands to run (or `pip install -U fruxon` when the plugin is the
9
+ newer one). A missing plugin is fine, and a CLI run from source skips the comparison. In JSON it is the
10
+ `Claude Code plugin` check.
11
+ - The bundled guides no longer say "pipeline" anywhere, so nothing in them reads as the collection pipelines
12
+ sdk#168 removed; a test keeps it that way.
13
+
3
14
  ## Unreleased — testing memory in the sandbox
4
15
 
5
16
  - **`fruxon agents sandbox open <agent> --keep-memory`** (F-019): the session gets real memory in a separate
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: fruxon
3
- Version: 2.3.1
3
+ Version: 2.3.2
4
4
  Summary: The Fruxon SDK is a lightweight Python client for integrating with the Fruxon platform.
5
5
  Project-URL: homepage, https://fruxon.com
6
6
  Project-URL: documentation, https://docs.fruxon.com/guides/cli
@@ -18,7 +18,7 @@ version_tuple: tuple[int | str, ...]
18
18
  commit_id: str | None
19
19
  __commit_id__: str | None
20
20
 
21
- __version__ = version = '2.3.1'
22
- __version_tuple__ = version_tuple = (2, 3, 1)
21
+ __version__ = version = '2.3.2'
22
+ __version_tuple__ = version_tuple = (2, 3, 2)
23
23
 
24
24
  __commit_id__ = commit_id = None
@@ -102,6 +102,7 @@ def doctor(
102
102
  "Base URL": "credentials",
103
103
  "API reachability": "api_reachability",
104
104
  "Auth health": "auth",
105
+ "Claude Code plugin": "claude_plugin",
105
106
  }
106
107
  failed_keys = sorted(
107
108
  {_DOCTOR_TITLE_TO_KEY[r.title] for r in results if r.status != "ok" and r.title in _DOCTOR_TITLE_TO_KEY}
@@ -206,7 +206,7 @@ _EXAMPLES: dict[str, list[tuple[str, str]]] = {
206
206
  "Merge the clusters you accepted from that report — a cluster whose documents moved "
207
207
  "since comes back STALE and is left entirely alone",
208
208
  ),
209
- ("fruxon knowledge-bases source list $KB", "The pipelines writing articles — a built source lands PAUSED"),
209
+ ("fruxon knowledge-bases source list $KB", "The sources that write articles — a built source lands PAUSED"),
210
210
  (
211
211
  "fruxon knowledge-bases source preview $KB $SOURCE",
212
212
  "What it would read, admitting nothing — counts are floors once a ceiling stopped the scan",
@@ -170,6 +170,131 @@ def check_sdk_version(*, skip_network: bool = False) -> CheckResult:
170
170
  return CheckResult("Fruxon SDK", "ok", f"v{version}", hint=upgrade_hint)
171
171
 
172
172
 
173
+ def _claude_config_dir() -> Path:
174
+ """Claude Code's config dir: ``$CLAUDE_CONFIG_DIR`` when set, else ``~/.claude``."""
175
+ override = os.environ.get("CLAUDE_CONFIG_DIR")
176
+ return Path(override).expanduser() if override else Path.home() / ".claude"
177
+
178
+
179
+ def _version_tuple(version: str) -> tuple[int, ...] | None:
180
+ parts: list[int] = []
181
+ for piece in version.strip().lstrip("v").split("."):
182
+ digits = ""
183
+ for ch in piece:
184
+ if not ch.isdigit():
185
+ break
186
+ digits += ch
187
+ if not digits:
188
+ break
189
+ parts.append(int(digits))
190
+ return tuple(parts) or None
191
+
192
+
193
+ def _plugin_manifest_version(install_path: Path) -> str | None:
194
+ for manifest in (install_path / ".claude-plugin" / "plugin.json", install_path / "plugin.json"):
195
+ try:
196
+ version = json.loads(manifest.read_text()).get("version")
197
+ except (OSError, ValueError, AttributeError):
198
+ continue
199
+ if isinstance(version, str) and version:
200
+ return version
201
+ return None
202
+
203
+
204
+ def find_claude_plugin() -> tuple[str, str, Path] | None:
205
+ """Locate the installed fruxon Claude Code plugin.
206
+
207
+ Returns ``(version, marketplace, install_path)`` or ``None``. Reads
208
+ Claude Code's installed-plugins registry first (``plugins/installed_plugins.json``,
209
+ keyed ``fruxon@<marketplace>``), then falls back to the plugin cache
210
+ (``plugins/cache/<marketplace>/fruxon/<version>/``). When more than one
211
+ copy is installed, the newest version wins — that's the one a stale
212
+ warning should be judged against.
213
+ """
214
+ plugins_dir = _claude_config_dir() / "plugins"
215
+ found: list[tuple[str, str, Path]] = []
216
+
217
+ try:
218
+ registry = json.loads((plugins_dir / "installed_plugins.json").read_text())
219
+ except (OSError, ValueError):
220
+ registry = None
221
+ entries = registry.get("plugins") if isinstance(registry, dict) else None
222
+ if isinstance(entries, dict):
223
+ for key, installs in entries.items():
224
+ name, _, marketplace = str(key).partition("@")
225
+ if name != "fruxon":
226
+ continue
227
+ for install in installs if isinstance(installs, list) else [installs]:
228
+ if not isinstance(install, dict):
229
+ continue
230
+ path = Path(str(install.get("installPath") or ""))
231
+ version = install.get("version")
232
+ if not isinstance(version, str) or _version_tuple(version) is None:
233
+ version = _plugin_manifest_version(path)
234
+ if version:
235
+ found.append((version, marketplace or "?", path))
236
+
237
+ if not found:
238
+ cache = plugins_dir / "cache"
239
+ try:
240
+ for path in cache.glob("*/fruxon/*"):
241
+ if path.is_dir():
242
+ version = _plugin_manifest_version(path) or path.name
243
+ if _version_tuple(version) is not None:
244
+ found.append((version, path.parent.parent.name, path))
245
+ except OSError:
246
+ pass
247
+
248
+ if not found:
249
+ return None
250
+ return max(found, key=lambda f: _version_tuple(f[0]) or ())
251
+
252
+
253
+ def check_claude_plugin() -> CheckResult:
254
+ """Compare the installed fruxon Claude Code plugin with this CLI.
255
+
256
+ The plugin ships the same skills the CLI bundles (``fruxon guides``) and is
257
+ re-released from each CLI version, so its version tracks the CLI's. A
258
+ plugin from an older CLI teaches commands that no longer exist. Not having
259
+ the plugin is fine — the row is informational then.
260
+ """
261
+ from fruxon.ui import get_version
262
+
263
+ title = "Claude Code plugin"
264
+ plugin = find_claude_plugin()
265
+ if plugin is None:
266
+ return CheckResult(title, "ok", "not installed (optional)")
267
+
268
+ plugin_version, marketplace, _path = plugin
269
+ cli_version = get_version()
270
+ plugin_ref = f"fruxon@{marketplace}"
271
+ detail = f"v{plugin_version} ({plugin_ref})"
272
+ cli_tuple = _version_tuple(cli_version)
273
+ if cli_tuple is None or any(mark in cli_version for mark in ("-dev", ".dev", "+")):
274
+ return CheckResult(title, "ok", detail, hint="CLI runs from source — version not compared.")
275
+
276
+ plugin_tuple = _version_tuple(plugin_version) or ()
277
+ if plugin_tuple == cli_tuple:
278
+ return CheckResult(title, "ok", detail)
279
+ if plugin_tuple < cli_tuple:
280
+ return CheckResult(
281
+ title,
282
+ "warn",
283
+ f"v{plugin_version} is older than the CLI (v{cli_version}) — its skills may teach removed commands",
284
+ hint=(
285
+ f"Update it: `claude plugin marketplace update {marketplace}` then "
286
+ f"`claude plugin update {plugin_ref}`, and restart Claude Code. "
287
+ "`fruxon guides show <name>` always matches this CLI."
288
+ ),
289
+ )
290
+ return CheckResult(
291
+ title,
292
+ "warn",
293
+ f"v{plugin_version} is newer than the CLI (v{cli_version}) — its skills may use commands this CLI lacks",
294
+ hint="Upgrade the CLI with `pip install -U fruxon`.",
295
+ )
296
+
297
+
173
298
  def check_credentials_file() -> CheckResult:
174
299
  """Verify the credentials file exists and is readable."""
175
300
  path = credentials.credentials_path()
@@ -365,6 +490,7 @@ def run_checks(*, skip_network: bool = False) -> list[CheckResult]:
365
490
  check_workspace(),
366
491
  check_base_url(),
367
492
  check_shell_completion(),
493
+ check_claude_plugin(),
368
494
  ]
369
495
  if not skip_network:
370
496
  checks.append(check_connectivity())
@@ -448,7 +448,7 @@ parent's `{results: [...]}` and each child's bare
448
448
  `{execution_record_id, status, response, session_id}`. Reaching straight
449
449
  for `.results[]` works on the parent and throws "Cannot iterate over
450
450
  null" on every child. `fromjson` inside `jq` also saves a second process
451
- and keeps the whole thing one pipeline.
451
+ and keeps the whole thing one command.
452
452
 
453
453
  > ⚠️ **Payloads are double-encoded, and non-ASCII is escaped.** A
454
454
  > spawn's `prompts` parameter is a JSON *string* inside the parameters
@@ -84,7 +84,7 @@ fruxon knowledge-bases review-queue / revisions / evidence <kb> # what needs a
84
84
  fruxon knowledge-bases correct <kb> <doc> -i "what is wrong" # let the editor agent fix it; it MAY decline, which writes nothing
85
85
  fruxon knowledge-bases consolidate <kb> # queue a report of near-duplicate clusters; a standalone pass NEVER merges
86
86
  fruxon knowledge-bases apply <kb> <run> --cluster <id> # merge the clusters you accepted from that report (--all for every one)
87
- fruxon knowledge-bases source list / preview / sync / pause / resume <kb> # the pipelines that write articles; a built source lands PAUSED
87
+ fruxon knowledge-bases source list / preview / sync / pause / resume <kb> # the sources that read history and write articles; a built source lands PAUSED
88
88
  fruxon agents reply-style import <agent> <exports…> --subject <owner> --yes # chat exports in, redacted, attached; who is who is checked first
89
89
  fruxon agents reply-style build <agent> --wait # learn a draft reply style; status shows its style + substance check (confirm-build when it sampled)
90
90
  fruxon agents reply-style show / activate <agent> <n> --yes # read the draft as the agent will; activate reaches customers (revisions:deploy)
@@ -151,6 +151,9 @@ def _scrub_cli_env(monkeypatch: pytest.MonkeyPatch, tmp_path_factory: pytest.Tem
151
151
  monkeypatch.setenv("FRUXON_NO_KEYRING", "1")
152
152
  config_dir = tmp_path_factory.mktemp("fruxon-config")
153
153
  monkeypatch.setenv("FRUXON_CONFIG_DIR", str(config_dir))
154
+ # Doctor's Claude Code plugin row reads Claude's config dir; point it at
155
+ # an empty one so the developer's installed plugin never shows up.
156
+ monkeypatch.setenv("CLAUDE_CONFIG_DIR", str(tmp_path_factory.mktemp("claude-config")))
154
157
  # The credentials module caches ``load()`` once per process; that's
155
158
  # the right behavior in production but it leaks across tests which
156
159
  # all share the interpreter. Drop the cache at the start of every
@@ -465,6 +465,7 @@ class TestRunChecks:
465
465
  "Workspace",
466
466
  "Base URL",
467
467
  "Shell completion",
468
+ "Claude Code plugin",
468
469
  ]
469
470
 
470
471
  def test_includes_auth_probe_and_key_expiry_when_network_allowed(self, tmp_path, monkeypatch):
@@ -532,3 +533,93 @@ class TestOverallStatus:
532
533
 
533
534
  def test_any_fail_overrides_warn(self):
534
535
  assert doctor.overall_status([self._r("warn"), self._r("fail")]) == "fail"
536
+
537
+
538
+ class TestClaudePlugin:
539
+ """``check_claude_plugin`` — the installed fruxon Claude Code plugin vs the CLI (F-034)."""
540
+
541
+ @pytest.fixture
542
+ def claude_dir(self, tmp_path, monkeypatch):
543
+ path = tmp_path / "claude"
544
+ monkeypatch.setenv("CLAUDE_CONFIG_DIR", str(path))
545
+ monkeypatch.setattr("fruxon.ui.get_version", lambda: "2.3.1")
546
+ return path
547
+
548
+ @staticmethod
549
+ def _install(claude_dir, version, marketplace="fruxon", *, registry=True):
550
+ import json
551
+
552
+ path = claude_dir / "plugins" / "cache" / marketplace / "fruxon" / version
553
+ (path / ".claude-plugin").mkdir(parents=True)
554
+ (path / ".claude-plugin" / "plugin.json").write_text(json.dumps({"name": "fruxon", "version": version}))
555
+ if registry:
556
+ (claude_dir / "plugins" / "installed_plugins.json").write_text(
557
+ json.dumps(
558
+ {
559
+ "version": 2,
560
+ "plugins": {
561
+ f"fruxon@{marketplace}": [{"scope": "user", "installPath": str(path), "version": version}],
562
+ "clay@clay-plugins": [{"installPath": "/x", "version": "9.9.9"}],
563
+ },
564
+ }
565
+ )
566
+ )
567
+ return path
568
+
569
+ def test_not_installed_is_ok(self, claude_dir):
570
+ result = doctor.check_claude_plugin()
571
+ assert result.status == "ok"
572
+ assert "not installed" in result.detail
573
+
574
+ def test_matching_version_is_ok(self, claude_dir):
575
+ self._install(claude_dir, "2.3.1")
576
+ result = doctor.check_claude_plugin()
577
+ assert result.status == "ok"
578
+ assert result.detail == "v2.3.1 (fruxon@fruxon)"
579
+
580
+ def test_older_plugin_warns_with_update_command(self, claude_dir):
581
+ self._install(claude_dir, "0.14.0")
582
+ result = doctor.check_claude_plugin()
583
+ assert result.status == "warn"
584
+ assert "v0.14.0" in result.detail and "v2.3.1" in result.detail
585
+ assert "claude plugin update fruxon@fruxon" in result.hint
586
+ assert "claude plugin marketplace update fruxon" in result.hint
587
+
588
+ def test_registry_names_the_marketplace(self, claude_dir):
589
+ self._install(claude_dir, "2.2.10", marketplace="claude-plugins-official")
590
+ result = doctor.check_claude_plugin()
591
+ assert result.status == "warn"
592
+ assert "fruxon@claude-plugins-official" in result.hint
593
+
594
+ def test_falls_back_to_the_cache_without_a_registry(self, claude_dir):
595
+ self._install(claude_dir, "2.2.10", registry=False)
596
+ result = doctor.check_claude_plugin()
597
+ assert result.status == "warn"
598
+ assert "v2.2.10" in result.detail
599
+
600
+ def test_newest_cached_copy_wins(self, claude_dir):
601
+ self._install(claude_dir, "2.2.9", registry=False)
602
+ self._install(claude_dir, "2.3.1", registry=False)
603
+ assert doctor.check_claude_plugin().status == "ok"
604
+
605
+ def test_newer_plugin_suggests_upgrading_the_cli(self, claude_dir):
606
+ self._install(claude_dir, "2.4.0")
607
+ result = doctor.check_claude_plugin()
608
+ assert result.status == "warn"
609
+ assert "pip install -U fruxon" in result.hint
610
+
611
+ @pytest.mark.parametrize("dev_version", ["2.3.2-dev", "2.3.2.dev1+g3c52e8b", "dev"])
612
+ def test_dev_cli_skips_the_comparison(self, claude_dir, monkeypatch, dev_version):
613
+ self._install(claude_dir, "0.14.0")
614
+ monkeypatch.setattr("fruxon.ui.get_version", lambda: dev_version)
615
+ assert doctor.check_claude_plugin().status == "ok"
616
+
617
+ def test_broken_registry_does_not_raise(self, claude_dir):
618
+ (claude_dir / "plugins").mkdir(parents=True)
619
+ (claude_dir / "plugins" / "installed_plugins.json").write_text("{not json")
620
+ assert doctor.check_claude_plugin().status == "ok"
621
+
622
+ def test_runs_as_part_of_doctor(self, claude_dir):
623
+ self._install(claude_dir, "0.14.0")
624
+ rows = {r.title: r for r in doctor.run_checks(skip_network=True)}
625
+ assert rows["Claude Code plugin"].status == "warn"
@@ -64,6 +64,14 @@ class TestLoader:
64
64
  for g in local_guides.list_local():
65
65
  assert len(g["instructions"]) > 100, f"{g['id']} has empty/short body"
66
66
 
67
+ def test_no_guide_mentions_removed_pipelines(self):
68
+ # Collection pipelines left the CLI in sdk#168; a guide that still
69
+ # teaches `fruxon pipelines` sends an agent to a command that is gone,
70
+ # and the Claude Code plugin is synced from these files (F-034).
71
+ for g in local_guides.list_local():
72
+ text = f"{g['description']}\n{g['instructions']}".lower()
73
+ assert "pipeline" not in text, f"{g['id']} still mentions pipelines"
74
+
67
75
  def test_folded_description_collapses_newlines(self):
68
76
  # The `description: >` blocks in our SKILL.md frontmatter must
69
77
  # fold to a single space-joined string. If the parser regresses
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes