fruxon 2.2.2__tar.gz → 2.2.4__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 (218) hide show
  1. {fruxon-2.2.2 → fruxon-2.2.4}/PKG-INFO +1 -1
  2. {fruxon-2.2.2 → fruxon-2.2.4}/src/fruxon/_version.py +2 -2
  3. {fruxon-2.2.2 → fruxon-2.2.4}/src/fruxon/cli/__init__.py +3 -0
  4. fruxon-2.2.4/src/fruxon/cli/_plugin_hint.py +25 -0
  5. {fruxon-2.2.2 → fruxon-2.2.4}/src/fruxon/cli/auth.py +10 -3
  6. {fruxon-2.2.2 → fruxon-2.2.4}/src/fruxon/skills/fruxon-agent-mode/SKILL.md +1 -1
  7. {fruxon-2.2.2 → fruxon-2.2.4}/tests/conftest.py +1 -0
  8. {fruxon-2.2.2 → fruxon-2.2.4}/tests/test_cli.py +12 -2
  9. fruxon-2.2.4/tests/test_plugin_hint.py +45 -0
  10. {fruxon-2.2.2 → fruxon-2.2.4}/.gitignore +0 -0
  11. {fruxon-2.2.2 → fruxon-2.2.4}/HISTORY.md +0 -0
  12. {fruxon-2.2.2 → fruxon-2.2.4}/LICENSE +0 -0
  13. {fruxon-2.2.2 → fruxon-2.2.4}/README.md +0 -0
  14. {fruxon-2.2.2 → fruxon-2.2.4}/pyproject.toml +0 -0
  15. {fruxon-2.2.2 → fruxon-2.2.4}/src/fruxon/__init__.py +0 -0
  16. {fruxon-2.2.2 → fruxon-2.2.4}/src/fruxon/__main__.py +0 -0
  17. {fruxon-2.2.2 → fruxon-2.2.4}/src/fruxon/_ssl.py +0 -0
  18. {fruxon-2.2.2 → fruxon-2.2.4}/src/fruxon/checks/__init__.py +0 -0
  19. {fruxon-2.2.2 → fruxon-2.2.4}/src/fruxon/checks/agent.py +0 -0
  20. {fruxon-2.2.2 → fruxon-2.2.4}/src/fruxon/checks/ledger.py +0 -0
  21. {fruxon-2.2.2 → fruxon-2.2.4}/src/fruxon/checks/references.py +0 -0
  22. {fruxon-2.2.2 → fruxon-2.2.4}/src/fruxon/cli/_crash.py +0 -0
  23. {fruxon-2.2.2 → fruxon-2.2.4}/src/fruxon/cli/_schema.py +0 -0
  24. {fruxon-2.2.2 → fruxon-2.2.4}/src/fruxon/cli/_shared.py +0 -0
  25. {fruxon-2.2.2 → fruxon-2.2.4}/src/fruxon/cli/_stream.py +0 -0
  26. {fruxon-2.2.2 → fruxon-2.2.4}/src/fruxon/cli/agents.py +0 -0
  27. {fruxon-2.2.2 → fruxon-2.2.4}/src/fruxon/cli/agents_approvals.py +0 -0
  28. {fruxon-2.2.2 → fruxon-2.2.4}/src/fruxon/cli/agents_budget.py +0 -0
  29. {fruxon-2.2.2 → fruxon-2.2.4}/src/fruxon/cli/agents_channels.py +0 -0
  30. {fruxon-2.2.2 → fruxon-2.2.4}/src/fruxon/cli/agents_draft.py +0 -0
  31. {fruxon-2.2.2 → fruxon-2.2.4}/src/fruxon/cli/agents_evaluations.py +0 -0
  32. {fruxon-2.2.2 → fruxon-2.2.4}/src/fruxon/cli/agents_executions.py +0 -0
  33. {fruxon-2.2.2 → fruxon-2.2.4}/src/fruxon/cli/agents_improvements.py +0 -0
  34. {fruxon-2.2.2 → fruxon-2.2.4}/src/fruxon/cli/agents_lifecycle.py +0 -0
  35. {fruxon-2.2.2 → fruxon-2.2.4}/src/fruxon/cli/agents_memory.py +0 -0
  36. {fruxon-2.2.2 → fruxon-2.2.4}/src/fruxon/cli/agents_reply_style.py +0 -0
  37. {fruxon-2.2.2 → fruxon-2.2.4}/src/fruxon/cli/agents_revisions.py +0 -0
  38. {fruxon-2.2.2 → fruxon-2.2.4}/src/fruxon/cli/agents_sandbox.py +0 -0
  39. {fruxon-2.2.2 → fruxon-2.2.4}/src/fruxon/cli/agents_sandbox_test.py +0 -0
  40. {fruxon-2.2.2 → fruxon-2.2.4}/src/fruxon/cli/agents_slots.py +0 -0
  41. {fruxon-2.2.2 → fruxon-2.2.4}/src/fruxon/cli/agents_system_blocks.py +0 -0
  42. {fruxon-2.2.2 → fruxon-2.2.4}/src/fruxon/cli/agents_tests.py +0 -0
  43. {fruxon-2.2.2 → fruxon-2.2.4}/src/fruxon/cli/agents_topics.py +0 -0
  44. {fruxon-2.2.2 → fruxon-2.2.4}/src/fruxon/cli/agents_voice_calls.py +0 -0
  45. {fruxon-2.2.2 → fruxon-2.2.4}/src/fruxon/cli/applications.py +0 -0
  46. {fruxon-2.2.2 → fruxon-2.2.4}/src/fruxon/cli/applications_entry_points.py +0 -0
  47. {fruxon-2.2.2 → fruxon-2.2.4}/src/fruxon/cli/assets.py +0 -0
  48. {fruxon-2.2.2 → fruxon-2.2.4}/src/fruxon/cli/capabilities.py +0 -0
  49. {fruxon-2.2.2 → fruxon-2.2.4}/src/fruxon/cli/completion.py +0 -0
  50. {fruxon-2.2.2 → fruxon-2.2.4}/src/fruxon/cli/config.py +0 -0
  51. {fruxon-2.2.2 → fruxon-2.2.4}/src/fruxon/cli/consult_pins.py +0 -0
  52. {fruxon-2.2.2 → fruxon-2.2.4}/src/fruxon/cli/conversation_imports.py +0 -0
  53. {fruxon-2.2.2 → fruxon-2.2.4}/src/fruxon/cli/dash.py +0 -0
  54. {fruxon-2.2.2 → fruxon-2.2.4}/src/fruxon/cli/describe.py +0 -0
  55. {fruxon-2.2.2 → fruxon-2.2.4}/src/fruxon/cli/doctor.py +0 -0
  56. {fruxon-2.2.2 → fruxon-2.2.4}/src/fruxon/cli/environments.py +0 -0
  57. {fruxon-2.2.2 → fruxon-2.2.4}/src/fruxon/cli/escalations.py +0 -0
  58. {fruxon-2.2.2 → fruxon-2.2.4}/src/fruxon/cli/examples.py +0 -0
  59. {fruxon-2.2.2 → fruxon-2.2.4}/src/fruxon/cli/guides.py +0 -0
  60. {fruxon-2.2.2 → fruxon-2.2.4}/src/fruxon/cli/integrations.py +0 -0
  61. {fruxon-2.2.2 → fruxon-2.2.4}/src/fruxon/cli/keys.py +0 -0
  62. {fruxon-2.2.2 → fruxon-2.2.4}/src/fruxon/cli/knowledge_bases.py +0 -0
  63. {fruxon-2.2.2 → fruxon-2.2.4}/src/fruxon/cli/knowledge_documents.py +0 -0
  64. {fruxon-2.2.2 → fruxon-2.2.4}/src/fruxon/cli/knowledge_notices.py +0 -0
  65. {fruxon-2.2.2 → fruxon-2.2.4}/src/fruxon/cli/knowledge_sources.py +0 -0
  66. {fruxon-2.2.2 → fruxon-2.2.4}/src/fruxon/cli/llm_providers.py +0 -0
  67. {fruxon-2.2.2 → fruxon-2.2.4}/src/fruxon/cli/messages.py +0 -0
  68. {fruxon-2.2.2 → fruxon-2.2.4}/src/fruxon/cli/metrics.py +0 -0
  69. {fruxon-2.2.2 → fruxon-2.2.4}/src/fruxon/cli/participants.py +0 -0
  70. {fruxon-2.2.2 → fruxon-2.2.4}/src/fruxon/cli/pipelines.py +0 -0
  71. {fruxon-2.2.2 → fruxon-2.2.4}/src/fruxon/cli/secrets.py +0 -0
  72. {fruxon-2.2.2 → fruxon-2.2.4}/src/fruxon/cli/skills.py +0 -0
  73. {fruxon-2.2.2 → fruxon-2.2.4}/src/fruxon/cli/storage.py +0 -0
  74. {fruxon-2.2.2 → fruxon-2.2.4}/src/fruxon/cli/tools.py +0 -0
  75. {fruxon-2.2.2 → fruxon-2.2.4}/src/fruxon/cli/triggers.py +0 -0
  76. {fruxon-2.2.2 → fruxon-2.2.4}/src/fruxon/cli/triggers_budget.py +0 -0
  77. {fruxon-2.2.2 → fruxon-2.2.4}/src/fruxon/cli/triggers_check.py +0 -0
  78. {fruxon-2.2.2 → fruxon-2.2.4}/src/fruxon/cli/triggers_ledger.py +0 -0
  79. {fruxon-2.2.2 → fruxon-2.2.4}/src/fruxon/cli/triggers_ledger_stage_tests.py +0 -0
  80. {fruxon-2.2.2 → fruxon-2.2.4}/src/fruxon/cli/triggers_questions.py +0 -0
  81. {fruxon-2.2.2 → fruxon-2.2.4}/src/fruxon/cli/triggers_shape.py +0 -0
  82. {fruxon-2.2.2 → fruxon-2.2.4}/src/fruxon/cli/workspaces.py +0 -0
  83. {fruxon-2.2.2 → fruxon-2.2.4}/src/fruxon/credentials.py +0 -0
  84. {fruxon-2.2.2 → fruxon-2.2.4}/src/fruxon/device_auth.py +0 -0
  85. {fruxon-2.2.2 → fruxon-2.2.4}/src/fruxon/doctor.py +0 -0
  86. {fruxon-2.2.2 → fruxon-2.2.4}/src/fruxon/exceptions.py +0 -0
  87. {fruxon-2.2.2 → fruxon-2.2.4}/src/fruxon/flow_validation.py +0 -0
  88. {fruxon-2.2.2 → fruxon-2.2.4}/src/fruxon/fruxon.py +0 -0
  89. {fruxon-2.2.2 → fruxon-2.2.4}/src/fruxon/models.py +0 -0
  90. {fruxon-2.2.2 → fruxon-2.2.4}/src/fruxon/output.py +0 -0
  91. {fruxon-2.2.2 → fruxon-2.2.4}/src/fruxon/params.py +0 -0
  92. {fruxon-2.2.2 → fruxon-2.2.4}/src/fruxon/sandbox_scenario.py +0 -0
  93. {fruxon-2.2.2 → fruxon-2.2.4}/src/fruxon/skills/__init__.py +0 -0
  94. {fruxon-2.2.2 → fruxon-2.2.4}/src/fruxon/skills/fruxon-build-agent/SKILL.md +0 -0
  95. {fruxon-2.2.2 → fruxon-2.2.4}/src/fruxon/skills/fruxon-create-integration/SKILL.md +0 -0
  96. {fruxon-2.2.2 → fruxon-2.2.4}/src/fruxon/skills/fruxon-debug-trace/SKILL.md +0 -0
  97. {fruxon-2.2.2 → fruxon-2.2.4}/src/fruxon/skills/fruxon-meet/SKILL.md +0 -0
  98. {fruxon-2.2.2 → fruxon-2.2.4}/src/fruxon/skills/fruxon-use-integrations/SKILL.md +0 -0
  99. {fruxon-2.2.2 → fruxon-2.2.4}/src/fruxon/telemetry.py +0 -0
  100. {fruxon-2.2.2 → fruxon-2.2.4}/src/fruxon/tui/__init__.py +0 -0
  101. {fruxon-2.2.2 → fruxon-2.2.4}/src/fruxon/tui/app.py +0 -0
  102. {fruxon-2.2.2 → fruxon-2.2.4}/src/fruxon/tui/demo.py +0 -0
  103. {fruxon-2.2.2 → fruxon-2.2.4}/src/fruxon/tui/links.py +0 -0
  104. {fruxon-2.2.2 → fruxon-2.2.4}/src/fruxon/tui/screens/__init__.py +0 -0
  105. {fruxon-2.2.2 → fruxon-2.2.4}/src/fruxon/tui/screens/agent.py +0 -0
  106. {fruxon-2.2.2 → fruxon-2.2.4}/src/fruxon/tui/screens/base.py +0 -0
  107. {fruxon-2.2.2 → fruxon-2.2.4}/src/fruxon/tui/screens/home.py +0 -0
  108. {fruxon-2.2.2 → fruxon-2.2.4}/src/fruxon/tui/screens/ledger.py +0 -0
  109. {fruxon-2.2.2 → fruxon-2.2.4}/src/fruxon/tui/screens/loader.py +0 -0
  110. {fruxon-2.2.2 → fruxon-2.2.4}/src/fruxon/tui/screens/pickers.py +0 -0
  111. {fruxon-2.2.2 → fruxon-2.2.4}/src/fruxon/tui/screens/trace.py +0 -0
  112. {fruxon-2.2.2 → fruxon-2.2.4}/src/fruxon/tui/source.py +0 -0
  113. {fruxon-2.2.2 → fruxon-2.2.4}/src/fruxon/tui/theme.py +0 -0
  114. {fruxon-2.2.2 → fruxon-2.2.4}/src/fruxon/tui/views.py +0 -0
  115. {fruxon-2.2.2 → fruxon-2.2.4}/src/fruxon/tui/widgets.py +0 -0
  116. {fruxon-2.2.2 → fruxon-2.2.4}/src/fruxon/ui.py +0 -0
  117. {fruxon-2.2.2 → fruxon-2.2.4}/src/fruxon/update_check.py +0 -0
  118. {fruxon-2.2.2 → fruxon-2.2.4}/src/fruxon/validation.py +0 -0
  119. {fruxon-2.2.2 → fruxon-2.2.4}/tests/.test_durations.json +0 -0
  120. {fruxon-2.2.2 → fruxon-2.2.4}/tests/__init__.py +0 -0
  121. {fruxon-2.2.2 → fruxon-2.2.4}/tests/test_actor.py +0 -0
  122. {fruxon-2.2.2 → fruxon-2.2.4}/tests/test_agent_lifecycle.py +0 -0
  123. {fruxon-2.2.2 → fruxon-2.2.4}/tests/test_agent_revisions_list.py +0 -0
  124. {fruxon-2.2.2 → fruxon-2.2.4}/tests/test_agent_slots.py +0 -0
  125. {fruxon-2.2.2 → fruxon-2.2.4}/tests/test_agents_check_cli.py +0 -0
  126. {fruxon-2.2.2 → fruxon-2.2.4}/tests/test_agents_revisions_cli.py +0 -0
  127. {fruxon-2.2.2 → fruxon-2.2.4}/tests/test_agents_sandbox.py +0 -0
  128. {fruxon-2.2.2 → fruxon-2.2.4}/tests/test_applications.py +0 -0
  129. {fruxon-2.2.2 → fruxon-2.2.4}/tests/test_approvals.py +0 -0
  130. {fruxon-2.2.2 → fruxon-2.2.4}/tests/test_assets.py +0 -0
  131. {fruxon-2.2.2 → fruxon-2.2.4}/tests/test_budgets.py +0 -0
  132. {fruxon-2.2.2 → fruxon-2.2.4}/tests/test_capabilities.py +0 -0
  133. {fruxon-2.2.2 → fruxon-2.2.4}/tests/test_channels.py +0 -0
  134. {fruxon-2.2.2 → fruxon-2.2.4}/tests/test_checks_agent.py +0 -0
  135. {fruxon-2.2.2 → fruxon-2.2.4}/tests/test_checks_ledger.py +0 -0
  136. {fruxon-2.2.2 → fruxon-2.2.4}/tests/test_cli_base_url_routing.py +0 -0
  137. {fruxon-2.2.2 → fruxon-2.2.4}/tests/test_cli_crash.py +0 -0
  138. {fruxon-2.2.2 → fruxon-2.2.4}/tests/test_cli_root_flags.py +0 -0
  139. {fruxon-2.2.2 → fruxon-2.2.4}/tests/test_client.py +0 -0
  140. {fruxon-2.2.2 → fruxon-2.2.4}/tests/test_connect_nudge.py +0 -0
  141. {fruxon-2.2.2 → fruxon-2.2.4}/tests/test_consult.py +0 -0
  142. {fruxon-2.2.2 → fruxon-2.2.4}/tests/test_conversation_imports.py +0 -0
  143. {fruxon-2.2.2 → fruxon-2.2.4}/tests/test_credentials.py +0 -0
  144. {fruxon-2.2.2 → fruxon-2.2.4}/tests/test_dash_app.py +0 -0
  145. {fruxon-2.2.2 → fruxon-2.2.4}/tests/test_dash_cli.py +0 -0
  146. {fruxon-2.2.2 → fruxon-2.2.4}/tests/test_dash_client.py +0 -0
  147. {fruxon-2.2.2 → fruxon-2.2.4}/tests/test_dash_links.py +0 -0
  148. {fruxon-2.2.2 → fruxon-2.2.4}/tests/test_dash_source.py +0 -0
  149. {fruxon-2.2.2 → fruxon-2.2.4}/tests/test_describe.py +0 -0
  150. {fruxon-2.2.2 → fruxon-2.2.4}/tests/test_device_auth.py +0 -0
  151. {fruxon-2.2.2 → fruxon-2.2.4}/tests/test_docs_commands_exist.py +0 -0
  152. {fruxon-2.2.2 → fruxon-2.2.4}/tests/test_doctor.py +0 -0
  153. {fruxon-2.2.2 → fruxon-2.2.4}/tests/test_draft_bootstrap.py +0 -0
  154. {fruxon-2.2.2 → fruxon-2.2.4}/tests/test_draft_evaluate_cli.py +0 -0
  155. {fruxon-2.2.2 → fruxon-2.2.4}/tests/test_draft_pull_shape.py +0 -0
  156. {fruxon-2.2.2 → fruxon-2.2.4}/tests/test_draft_run_replay.py +0 -0
  157. {fruxon-2.2.2 → fruxon-2.2.4}/tests/test_draft_validate_cli.py +0 -0
  158. {fruxon-2.2.2 → fruxon-2.2.4}/tests/test_drafts.py +0 -0
  159. {fruxon-2.2.2 → fruxon-2.2.4}/tests/test_entry_points.py +0 -0
  160. {fruxon-2.2.2 → fruxon-2.2.4}/tests/test_environments.py +0 -0
  161. {fruxon-2.2.2 → fruxon-2.2.4}/tests/test_escalations.py +0 -0
  162. {fruxon-2.2.2 → fruxon-2.2.4}/tests/test_evaluations.py +0 -0
  163. {fruxon-2.2.2 → fruxon-2.2.4}/tests/test_execution_records.py +0 -0
  164. {fruxon-2.2.2 → fruxon-2.2.4}/tests/test_flow_validation.py +0 -0
  165. {fruxon-2.2.2 → fruxon-2.2.4}/tests/test_fruxon.py +0 -0
  166. {fruxon-2.2.2 → fruxon-2.2.4}/tests/test_guides.py +0 -0
  167. {fruxon-2.2.2 → fruxon-2.2.4}/tests/test_improvements.py +0 -0
  168. {fruxon-2.2.2 → fruxon-2.2.4}/tests/test_integration_configs_write_cli.py +0 -0
  169. {fruxon-2.2.2 → fruxon-2.2.4}/tests/test_integration_triggers_cli.py +0 -0
  170. {fruxon-2.2.2 → fruxon-2.2.4}/tests/test_integrations_authorize_cli.py +0 -0
  171. {fruxon-2.2.2 → fruxon-2.2.4}/tests/test_integrations_connect_cli.py +0 -0
  172. {fruxon-2.2.2 → fruxon-2.2.4}/tests/test_kb_trial_cli.py +0 -0
  173. {fruxon-2.2.2 → fruxon-2.2.4}/tests/test_knowledge_bases.py +0 -0
  174. {fruxon-2.2.2 → fruxon-2.2.4}/tests/test_knowledge_documents.py +0 -0
  175. {fruxon-2.2.2 → fruxon-2.2.4}/tests/test_knowledge_notices.py +0 -0
  176. {fruxon-2.2.2 → fruxon-2.2.4}/tests/test_knowledge_sources.py +0 -0
  177. {fruxon-2.2.2 → fruxon-2.2.4}/tests/test_llm_provider_configs_cli.py +0 -0
  178. {fruxon-2.2.2 → fruxon-2.2.4}/tests/test_llm_providers_connect_cli.py +0 -0
  179. {fruxon-2.2.2 → fruxon-2.2.4}/tests/test_managed_by.py +0 -0
  180. {fruxon-2.2.2 → fruxon-2.2.4}/tests/test_memory.py +0 -0
  181. {fruxon-2.2.2 → fruxon-2.2.4}/tests/test_messages.py +0 -0
  182. {fruxon-2.2.2 → fruxon-2.2.4}/tests/test_metrics.py +0 -0
  183. {fruxon-2.2.2 → fruxon-2.2.4}/tests/test_online_llm_config_refs.py +0 -0
  184. {fruxon-2.2.2 → fruxon-2.2.4}/tests/test_online_prefetch_refs.py +0 -0
  185. {fruxon-2.2.2 → fruxon-2.2.4}/tests/test_online_secret_refs.py +0 -0
  186. {fruxon-2.2.2 → fruxon-2.2.4}/tests/test_output.py +0 -0
  187. {fruxon-2.2.2 → fruxon-2.2.4}/tests/test_params.py +0 -0
  188. {fruxon-2.2.2 → fruxon-2.2.4}/tests/test_participants.py +0 -0
  189. {fruxon-2.2.2 → fruxon-2.2.4}/tests/test_participants_write.py +0 -0
  190. {fruxon-2.2.2 → fruxon-2.2.4}/tests/test_pipelines.py +0 -0
  191. {fruxon-2.2.2 → fruxon-2.2.4}/tests/test_reply_style.py +0 -0
  192. {fruxon-2.2.2 → fruxon-2.2.4}/tests/test_sandbox_scenario.py +0 -0
  193. {fruxon-2.2.2 → fruxon-2.2.4}/tests/test_schema.py +0 -0
  194. {fruxon-2.2.2 → fruxon-2.2.4}/tests/test_schema_fetch.py +0 -0
  195. {fruxon-2.2.2 → fruxon-2.2.4}/tests/test_secrets.py +0 -0
  196. {fruxon-2.2.2 → fruxon-2.2.4}/tests/test_skills.py +0 -0
  197. {fruxon-2.2.2 → fruxon-2.2.4}/tests/test_ssl.py +0 -0
  198. {fruxon-2.2.2 → fruxon-2.2.4}/tests/test_storage.py +0 -0
  199. {fruxon-2.2.2 → fruxon-2.2.4}/tests/test_system_blocks.py +0 -0
  200. {fruxon-2.2.2 → fruxon-2.2.4}/tests/test_system_blocks_cli.py +0 -0
  201. {fruxon-2.2.2 → fruxon-2.2.4}/tests/test_telemetry.py +0 -0
  202. {fruxon-2.2.2 → fruxon-2.2.4}/tests/test_test_chats.py +0 -0
  203. {fruxon-2.2.2 → fruxon-2.2.4}/tests/test_topics.py +0 -0
  204. {fruxon-2.2.2 → fruxon-2.2.4}/tests/test_trigger_budgets.py +0 -0
  205. {fruxon-2.2.2 → fruxon-2.2.4}/tests/test_triggers.py +0 -0
  206. {fruxon-2.2.2 → fruxon-2.2.4}/tests/test_triggers_check_cli.py +0 -0
  207. {fruxon-2.2.2 → fruxon-2.2.4}/tests/test_triggers_ledger.py +0 -0
  208. {fruxon-2.2.2 → fruxon-2.2.4}/tests/test_triggers_ledger_batch_views.py +0 -0
  209. {fruxon-2.2.2 → fruxon-2.2.4}/tests/test_triggers_ledger_stage_tests.py +0 -0
  210. {fruxon-2.2.2 → fruxon-2.2.4}/tests/test_triggers_questions.py +0 -0
  211. {fruxon-2.2.2 → fruxon-2.2.4}/tests/test_triggers_shape.py +0 -0
  212. {fruxon-2.2.2 → fruxon-2.2.4}/tests/test_triggers_write.py +0 -0
  213. {fruxon-2.2.2 → fruxon-2.2.4}/tests/test_tui_boundary.py +0 -0
  214. {fruxon-2.2.2 → fruxon-2.2.4}/tests/test_ui.py +0 -0
  215. {fruxon-2.2.2 → fruxon-2.2.4}/tests/test_update_check.py +0 -0
  216. {fruxon-2.2.2 → fruxon-2.2.4}/tests/test_validation.py +0 -0
  217. {fruxon-2.2.2 → fruxon-2.2.4}/tests/test_voice_calls.py +0 -0
  218. {fruxon-2.2.2 → fruxon-2.2.4}/tests/test_workspaces_cli.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: fruxon
3
- Version: 2.2.2
3
+ Version: 2.2.4
4
4
  Summary: The Fruxon SDK is a lightweight Python client for integrating with the Fruxon platform.
5
5
  Project-URL: bugs, https://github.com/fruxon-ai/fruxon-sdk/issues
6
6
  Project-URL: changelog, https://github.com/fruxon-ai/fruxon-sdk/blob/main/HISTORY.md
@@ -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.2.2'
22
- __version_tuple__ = version_tuple = (2, 2, 2)
21
+ __version__ = version = '2.2.4'
22
+ __version_tuple__ = version_tuple = (2, 2, 4)
23
23
 
24
24
  __commit_id__ = commit_id = None
@@ -21,6 +21,7 @@ import typer
21
21
  from typer.core import TyperGroup
22
22
 
23
23
  from fruxon import credentials, telemetry
24
+ from fruxon.cli._plugin_hint import emit_plugin_hint
24
25
  from fruxon.ui import (
25
26
  EXIT_AUTH_REQUIRED,
26
27
  EXIT_CONFLICT,
@@ -508,6 +509,8 @@ def main(
508
509
  if debug:
509
510
  os.environ["FRUXON_DEBUG"] = "1"
510
511
 
512
+ emit_plugin_hint()
513
+
511
514
  # Held on the root context so it lasts exactly as long as the command
512
515
  # below it and is gone when the context closes. Deliberately not the
513
516
  # FRUXON_DEBUG treatment above: an exported FRUXON_WORKSPACE would reach
@@ -0,0 +1,25 @@
1
+ """Offer the fruxon Claude Code plugin to people who drive the CLI from Claude Code.
2
+
3
+ Claude Code strips a ``<claude-code-hint />`` line from a command's output
4
+ before the model reads it, and asks the user once whether to install the
5
+ plugin it names (https://code.claude.com/docs/en/plugins/cli-hints). It only
6
+ acts on plugins in Anthropic's official directory and stays silent for any
7
+ other value, so the line is harmless before the listing is published.
8
+ """
9
+
10
+ from __future__ import annotations
11
+
12
+ import os
13
+ import sys
14
+
15
+ PLUGIN_HINT = '<claude-code-hint v="1" type="plugin" value="fruxon@claude-plugins-official" />'
16
+
17
+
18
+ def emit_plugin_hint() -> None:
19
+ # CLAUDE_CODE_CHILD_SESSION, not CLAUDECODE: Claude Code's IDE extensions
20
+ # also set CLAUDECODE in their integrated terminals, where a person typing
21
+ # `fruxon` would see the raw tag. The child-session variable is set only in
22
+ # processes Claude Code itself starts (v2.1.172+). Claude Code prompts once
23
+ # per plugin, so emitting on every invocation is fine.
24
+ if os.environ.get("CLAUDE_CODE_CHILD_SESSION"):
25
+ print(PLUGIN_HINT, file=sys.stderr, flush=True)
@@ -189,12 +189,19 @@ def login(
189
189
  primary: device_auth.PollWorkspace | None = None
190
190
  if token is None:
191
191
  # Browser flow blocks on a human confirming the grant. Surface
192
- # ``interactive_required`` in agent mode so a driver can recover
193
- # by re-invoking with ``--token`` (key from a secret manager).
192
+ # ``interactive_required`` in agent mode and hand the sign-in back to
193
+ # the human. The hint deliberately doesn't suggest ``--token
194
+ # $FRUXON_TOKEN``: every command already reads that variable, and
195
+ # expanding it into a command line copies the key into the driver's
196
+ # transcript and shell history. The Claude plugin directory also
197
+ # flags plugins that send a credential read from the environment.
194
198
  if is_agent_mode():
195
199
  fail(
196
200
  "fruxon login needs a browser, which an AI-agent driver can't drive.",
197
- hint="Pass [bold]--token $FRUXON_TOKEN[/bold] to sign in headlessly.",
201
+ hint=(
202
+ "Ask the user to run [bold]fruxon login[/bold] in their own terminal. "
203
+ "If [bold]$FRUXON_TOKEN[/bold] is set, commands already use it; no login is needed."
204
+ ),
198
205
  code=EXIT_INTERACTIVE_REQUIRED,
199
206
  )
200
207
  approved = _browser_login(
@@ -80,7 +80,7 @@ the bypass flag.
80
80
 
81
81
  | Path | Bypass |
82
82
  |---|---|
83
- | `fruxon login` (no key) | Pass `--token $FRUXON_TOKEN` |
83
+ | `fruxon login` (no key) | Don't sign in on the human's behalf. If `FRUXON_TOKEN` is set, every command already uses it — skip login. Otherwise ask the human to run `fruxon login` in their own terminal. Never put a key on a command line. |
84
84
  | `fruxon agents draft run --edit` | Pass the value via `-p key=value` or `--params file.json` |
85
85
  | `agents draft run --file <other>` replacing an existing server draft (a file other than the pulled one, or `-`) | `--restore` to run it as a one-off and put the current draft back afterwards (what you want for a control/A-B variant), or `--yes` to keep it in the draft. The server draft is what `revisions create` publishes. |
86
86
  | `keys delete` (no --yes) | Pass `--yes` |
@@ -31,6 +31,7 @@ os.environ.pop("LINES", None)
31
31
  _SCRUB_ENV = (
32
32
  "FRUXON_AGENT_MODE",
33
33
  "CLAUDECODE",
34
+ "CLAUDE_CODE_CHILD_SESSION",
34
35
  "CODEX_THREAD_ID",
35
36
  "CODEX_CI",
36
37
  "CI",
@@ -4510,7 +4510,12 @@ class TestAgentModeInteractiveGuards:
4510
4510
  monkeypatch.setenv("FRUXON_AGENT_MODE", "1")
4511
4511
  result = runner.invoke(app, ["login"])
4512
4512
  assert result.exit_code == EXIT_INTERACTIVE_REQUIRED
4513
- assert "--token" in result.stderr
4513
+ # The human signs in; the driver is never told to expand
4514
+ # $FRUXON_TOKEN onto a command line, which copies the key into its
4515
+ # transcript.
4516
+ hint = json.loads(result.stderr.strip().splitlines()[-1])["error"]["hint"]
4517
+ assert "fruxon login" in hint
4518
+ assert "--token" not in hint
4514
4519
 
4515
4520
  def test_keys_delete_refuses_under_agent_mode_without_yes(self, runner, monkeypatch):
4516
4521
  """``fruxon keys delete <id>`` calls ``typer.confirm`` when ``--yes``
@@ -4568,4 +4573,9 @@ class TestAgentModeInteractiveGuards:
4568
4573
  monkeypatch.setenv("FRUXON_AGENT_MODE", "1")
4569
4574
  result = runner.invoke(app, ["login"])
4570
4575
  assert result.exit_code == EXIT_INTERACTIVE_REQUIRED
4571
- assert "--token" in result.stderr
4576
+ # The human signs in; the driver is never told to expand
4577
+ # $FRUXON_TOKEN onto a command line, which copies the key into its
4578
+ # transcript.
4579
+ hint = json.loads(result.stderr.strip().splitlines()[-1])["error"]["hint"]
4580
+ assert "fruxon login" in hint
4581
+ assert "--token" not in hint
@@ -0,0 +1,45 @@
1
+ """The ``<claude-code-hint />`` line that offers the fruxon plugin inside Claude Code."""
2
+
3
+ from __future__ import annotations
4
+
5
+ import json
6
+
7
+ from typer.testing import CliRunner
8
+
9
+ from fruxon.cli import app
10
+ from fruxon.cli._plugin_hint import PLUGIN_HINT
11
+
12
+ runner = CliRunner()
13
+
14
+
15
+ def test_emits_the_hint_on_stderr_when_claude_code_started_the_command(monkeypatch):
16
+ monkeypatch.setenv("CLAUDE_CODE_CHILD_SESSION", "1")
17
+ monkeypatch.setenv("CLAUDECODE", "1")
18
+
19
+ result = runner.invoke(app, ["--version"])
20
+
21
+ assert result.exit_code == 0
22
+ # Claude Code only recognizes the tag on a line of its own.
23
+ assert PLUGIN_HINT in result.stderr.splitlines()
24
+ # stdout stays machine-readable for the agent-mode JSON contract.
25
+ assert json.loads(result.stdout)["name"] == "fruxon"
26
+
27
+
28
+ def test_silent_in_an_ide_terminal_that_only_sets_claudecode(monkeypatch):
29
+ monkeypatch.setenv("CLAUDECODE", "1")
30
+
31
+ result = runner.invoke(app, ["--version"])
32
+
33
+ assert "claude-code-hint" not in result.output
34
+
35
+
36
+ def test_silent_outside_claude_code():
37
+ result = runner.invoke(app, ["--version"])
38
+
39
+ assert "claude-code-hint" not in result.output
40
+
41
+
42
+ def test_names_the_plugin_in_the_official_marketplace():
43
+ # Claude Code ignores hints for plugins outside its official marketplaces.
44
+ assert 'value="fruxon@claude-plugins-official"' in PLUGIN_HINT
45
+ assert PLUGIN_HINT.startswith('<claude-code-hint v="1" type="plugin" ')
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
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
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