fruxon 2.2.3__tar.gz → 2.2.5__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.3 → fruxon-2.2.5}/PKG-INFO +1 -1
  2. {fruxon-2.2.3 → fruxon-2.2.5}/src/fruxon/_version.py +2 -2
  3. {fruxon-2.2.3 → fruxon-2.2.5}/src/fruxon/cli/__init__.py +3 -0
  4. fruxon-2.2.5/src/fruxon/cli/_plugin_hint.py +25 -0
  5. {fruxon-2.2.3 → fruxon-2.2.5}/src/fruxon/skills/fruxon-create-integration/SKILL.md +121 -2
  6. {fruxon-2.2.3 → fruxon-2.2.5}/tests/conftest.py +1 -0
  7. fruxon-2.2.5/tests/test_plugin_hint.py +45 -0
  8. {fruxon-2.2.3 → fruxon-2.2.5}/.gitignore +0 -0
  9. {fruxon-2.2.3 → fruxon-2.2.5}/HISTORY.md +0 -0
  10. {fruxon-2.2.3 → fruxon-2.2.5}/LICENSE +0 -0
  11. {fruxon-2.2.3 → fruxon-2.2.5}/README.md +0 -0
  12. {fruxon-2.2.3 → fruxon-2.2.5}/pyproject.toml +0 -0
  13. {fruxon-2.2.3 → fruxon-2.2.5}/src/fruxon/__init__.py +0 -0
  14. {fruxon-2.2.3 → fruxon-2.2.5}/src/fruxon/__main__.py +0 -0
  15. {fruxon-2.2.3 → fruxon-2.2.5}/src/fruxon/_ssl.py +0 -0
  16. {fruxon-2.2.3 → fruxon-2.2.5}/src/fruxon/checks/__init__.py +0 -0
  17. {fruxon-2.2.3 → fruxon-2.2.5}/src/fruxon/checks/agent.py +0 -0
  18. {fruxon-2.2.3 → fruxon-2.2.5}/src/fruxon/checks/ledger.py +0 -0
  19. {fruxon-2.2.3 → fruxon-2.2.5}/src/fruxon/checks/references.py +0 -0
  20. {fruxon-2.2.3 → fruxon-2.2.5}/src/fruxon/cli/_crash.py +0 -0
  21. {fruxon-2.2.3 → fruxon-2.2.5}/src/fruxon/cli/_schema.py +0 -0
  22. {fruxon-2.2.3 → fruxon-2.2.5}/src/fruxon/cli/_shared.py +0 -0
  23. {fruxon-2.2.3 → fruxon-2.2.5}/src/fruxon/cli/_stream.py +0 -0
  24. {fruxon-2.2.3 → fruxon-2.2.5}/src/fruxon/cli/agents.py +0 -0
  25. {fruxon-2.2.3 → fruxon-2.2.5}/src/fruxon/cli/agents_approvals.py +0 -0
  26. {fruxon-2.2.3 → fruxon-2.2.5}/src/fruxon/cli/agents_budget.py +0 -0
  27. {fruxon-2.2.3 → fruxon-2.2.5}/src/fruxon/cli/agents_channels.py +0 -0
  28. {fruxon-2.2.3 → fruxon-2.2.5}/src/fruxon/cli/agents_draft.py +0 -0
  29. {fruxon-2.2.3 → fruxon-2.2.5}/src/fruxon/cli/agents_evaluations.py +0 -0
  30. {fruxon-2.2.3 → fruxon-2.2.5}/src/fruxon/cli/agents_executions.py +0 -0
  31. {fruxon-2.2.3 → fruxon-2.2.5}/src/fruxon/cli/agents_improvements.py +0 -0
  32. {fruxon-2.2.3 → fruxon-2.2.5}/src/fruxon/cli/agents_lifecycle.py +0 -0
  33. {fruxon-2.2.3 → fruxon-2.2.5}/src/fruxon/cli/agents_memory.py +0 -0
  34. {fruxon-2.2.3 → fruxon-2.2.5}/src/fruxon/cli/agents_reply_style.py +0 -0
  35. {fruxon-2.2.3 → fruxon-2.2.5}/src/fruxon/cli/agents_revisions.py +0 -0
  36. {fruxon-2.2.3 → fruxon-2.2.5}/src/fruxon/cli/agents_sandbox.py +0 -0
  37. {fruxon-2.2.3 → fruxon-2.2.5}/src/fruxon/cli/agents_sandbox_test.py +0 -0
  38. {fruxon-2.2.3 → fruxon-2.2.5}/src/fruxon/cli/agents_slots.py +0 -0
  39. {fruxon-2.2.3 → fruxon-2.2.5}/src/fruxon/cli/agents_system_blocks.py +0 -0
  40. {fruxon-2.2.3 → fruxon-2.2.5}/src/fruxon/cli/agents_tests.py +0 -0
  41. {fruxon-2.2.3 → fruxon-2.2.5}/src/fruxon/cli/agents_topics.py +0 -0
  42. {fruxon-2.2.3 → fruxon-2.2.5}/src/fruxon/cli/agents_voice_calls.py +0 -0
  43. {fruxon-2.2.3 → fruxon-2.2.5}/src/fruxon/cli/applications.py +0 -0
  44. {fruxon-2.2.3 → fruxon-2.2.5}/src/fruxon/cli/applications_entry_points.py +0 -0
  45. {fruxon-2.2.3 → fruxon-2.2.5}/src/fruxon/cli/assets.py +0 -0
  46. {fruxon-2.2.3 → fruxon-2.2.5}/src/fruxon/cli/auth.py +0 -0
  47. {fruxon-2.2.3 → fruxon-2.2.5}/src/fruxon/cli/capabilities.py +0 -0
  48. {fruxon-2.2.3 → fruxon-2.2.5}/src/fruxon/cli/completion.py +0 -0
  49. {fruxon-2.2.3 → fruxon-2.2.5}/src/fruxon/cli/config.py +0 -0
  50. {fruxon-2.2.3 → fruxon-2.2.5}/src/fruxon/cli/consult_pins.py +0 -0
  51. {fruxon-2.2.3 → fruxon-2.2.5}/src/fruxon/cli/conversation_imports.py +0 -0
  52. {fruxon-2.2.3 → fruxon-2.2.5}/src/fruxon/cli/dash.py +0 -0
  53. {fruxon-2.2.3 → fruxon-2.2.5}/src/fruxon/cli/describe.py +0 -0
  54. {fruxon-2.2.3 → fruxon-2.2.5}/src/fruxon/cli/doctor.py +0 -0
  55. {fruxon-2.2.3 → fruxon-2.2.5}/src/fruxon/cli/environments.py +0 -0
  56. {fruxon-2.2.3 → fruxon-2.2.5}/src/fruxon/cli/escalations.py +0 -0
  57. {fruxon-2.2.3 → fruxon-2.2.5}/src/fruxon/cli/examples.py +0 -0
  58. {fruxon-2.2.3 → fruxon-2.2.5}/src/fruxon/cli/guides.py +0 -0
  59. {fruxon-2.2.3 → fruxon-2.2.5}/src/fruxon/cli/integrations.py +0 -0
  60. {fruxon-2.2.3 → fruxon-2.2.5}/src/fruxon/cli/keys.py +0 -0
  61. {fruxon-2.2.3 → fruxon-2.2.5}/src/fruxon/cli/knowledge_bases.py +0 -0
  62. {fruxon-2.2.3 → fruxon-2.2.5}/src/fruxon/cli/knowledge_documents.py +0 -0
  63. {fruxon-2.2.3 → fruxon-2.2.5}/src/fruxon/cli/knowledge_notices.py +0 -0
  64. {fruxon-2.2.3 → fruxon-2.2.5}/src/fruxon/cli/knowledge_sources.py +0 -0
  65. {fruxon-2.2.3 → fruxon-2.2.5}/src/fruxon/cli/llm_providers.py +0 -0
  66. {fruxon-2.2.3 → fruxon-2.2.5}/src/fruxon/cli/messages.py +0 -0
  67. {fruxon-2.2.3 → fruxon-2.2.5}/src/fruxon/cli/metrics.py +0 -0
  68. {fruxon-2.2.3 → fruxon-2.2.5}/src/fruxon/cli/participants.py +0 -0
  69. {fruxon-2.2.3 → fruxon-2.2.5}/src/fruxon/cli/pipelines.py +0 -0
  70. {fruxon-2.2.3 → fruxon-2.2.5}/src/fruxon/cli/secrets.py +0 -0
  71. {fruxon-2.2.3 → fruxon-2.2.5}/src/fruxon/cli/skills.py +0 -0
  72. {fruxon-2.2.3 → fruxon-2.2.5}/src/fruxon/cli/storage.py +0 -0
  73. {fruxon-2.2.3 → fruxon-2.2.5}/src/fruxon/cli/tools.py +0 -0
  74. {fruxon-2.2.3 → fruxon-2.2.5}/src/fruxon/cli/triggers.py +0 -0
  75. {fruxon-2.2.3 → fruxon-2.2.5}/src/fruxon/cli/triggers_budget.py +0 -0
  76. {fruxon-2.2.3 → fruxon-2.2.5}/src/fruxon/cli/triggers_check.py +0 -0
  77. {fruxon-2.2.3 → fruxon-2.2.5}/src/fruxon/cli/triggers_ledger.py +0 -0
  78. {fruxon-2.2.3 → fruxon-2.2.5}/src/fruxon/cli/triggers_ledger_stage_tests.py +0 -0
  79. {fruxon-2.2.3 → fruxon-2.2.5}/src/fruxon/cli/triggers_questions.py +0 -0
  80. {fruxon-2.2.3 → fruxon-2.2.5}/src/fruxon/cli/triggers_shape.py +0 -0
  81. {fruxon-2.2.3 → fruxon-2.2.5}/src/fruxon/cli/workspaces.py +0 -0
  82. {fruxon-2.2.3 → fruxon-2.2.5}/src/fruxon/credentials.py +0 -0
  83. {fruxon-2.2.3 → fruxon-2.2.5}/src/fruxon/device_auth.py +0 -0
  84. {fruxon-2.2.3 → fruxon-2.2.5}/src/fruxon/doctor.py +0 -0
  85. {fruxon-2.2.3 → fruxon-2.2.5}/src/fruxon/exceptions.py +0 -0
  86. {fruxon-2.2.3 → fruxon-2.2.5}/src/fruxon/flow_validation.py +0 -0
  87. {fruxon-2.2.3 → fruxon-2.2.5}/src/fruxon/fruxon.py +0 -0
  88. {fruxon-2.2.3 → fruxon-2.2.5}/src/fruxon/models.py +0 -0
  89. {fruxon-2.2.3 → fruxon-2.2.5}/src/fruxon/output.py +0 -0
  90. {fruxon-2.2.3 → fruxon-2.2.5}/src/fruxon/params.py +0 -0
  91. {fruxon-2.2.3 → fruxon-2.2.5}/src/fruxon/sandbox_scenario.py +0 -0
  92. {fruxon-2.2.3 → fruxon-2.2.5}/src/fruxon/skills/__init__.py +0 -0
  93. {fruxon-2.2.3 → fruxon-2.2.5}/src/fruxon/skills/fruxon-agent-mode/SKILL.md +0 -0
  94. {fruxon-2.2.3 → fruxon-2.2.5}/src/fruxon/skills/fruxon-build-agent/SKILL.md +0 -0
  95. {fruxon-2.2.3 → fruxon-2.2.5}/src/fruxon/skills/fruxon-debug-trace/SKILL.md +0 -0
  96. {fruxon-2.2.3 → fruxon-2.2.5}/src/fruxon/skills/fruxon-meet/SKILL.md +0 -0
  97. {fruxon-2.2.3 → fruxon-2.2.5}/src/fruxon/skills/fruxon-use-integrations/SKILL.md +0 -0
  98. {fruxon-2.2.3 → fruxon-2.2.5}/src/fruxon/telemetry.py +0 -0
  99. {fruxon-2.2.3 → fruxon-2.2.5}/src/fruxon/tui/__init__.py +0 -0
  100. {fruxon-2.2.3 → fruxon-2.2.5}/src/fruxon/tui/app.py +0 -0
  101. {fruxon-2.2.3 → fruxon-2.2.5}/src/fruxon/tui/demo.py +0 -0
  102. {fruxon-2.2.3 → fruxon-2.2.5}/src/fruxon/tui/links.py +0 -0
  103. {fruxon-2.2.3 → fruxon-2.2.5}/src/fruxon/tui/screens/__init__.py +0 -0
  104. {fruxon-2.2.3 → fruxon-2.2.5}/src/fruxon/tui/screens/agent.py +0 -0
  105. {fruxon-2.2.3 → fruxon-2.2.5}/src/fruxon/tui/screens/base.py +0 -0
  106. {fruxon-2.2.3 → fruxon-2.2.5}/src/fruxon/tui/screens/home.py +0 -0
  107. {fruxon-2.2.3 → fruxon-2.2.5}/src/fruxon/tui/screens/ledger.py +0 -0
  108. {fruxon-2.2.3 → fruxon-2.2.5}/src/fruxon/tui/screens/loader.py +0 -0
  109. {fruxon-2.2.3 → fruxon-2.2.5}/src/fruxon/tui/screens/pickers.py +0 -0
  110. {fruxon-2.2.3 → fruxon-2.2.5}/src/fruxon/tui/screens/trace.py +0 -0
  111. {fruxon-2.2.3 → fruxon-2.2.5}/src/fruxon/tui/source.py +0 -0
  112. {fruxon-2.2.3 → fruxon-2.2.5}/src/fruxon/tui/theme.py +0 -0
  113. {fruxon-2.2.3 → fruxon-2.2.5}/src/fruxon/tui/views.py +0 -0
  114. {fruxon-2.2.3 → fruxon-2.2.5}/src/fruxon/tui/widgets.py +0 -0
  115. {fruxon-2.2.3 → fruxon-2.2.5}/src/fruxon/ui.py +0 -0
  116. {fruxon-2.2.3 → fruxon-2.2.5}/src/fruxon/update_check.py +0 -0
  117. {fruxon-2.2.3 → fruxon-2.2.5}/src/fruxon/validation.py +0 -0
  118. {fruxon-2.2.3 → fruxon-2.2.5}/tests/.test_durations.json +0 -0
  119. {fruxon-2.2.3 → fruxon-2.2.5}/tests/__init__.py +0 -0
  120. {fruxon-2.2.3 → fruxon-2.2.5}/tests/test_actor.py +0 -0
  121. {fruxon-2.2.3 → fruxon-2.2.5}/tests/test_agent_lifecycle.py +0 -0
  122. {fruxon-2.2.3 → fruxon-2.2.5}/tests/test_agent_revisions_list.py +0 -0
  123. {fruxon-2.2.3 → fruxon-2.2.5}/tests/test_agent_slots.py +0 -0
  124. {fruxon-2.2.3 → fruxon-2.2.5}/tests/test_agents_check_cli.py +0 -0
  125. {fruxon-2.2.3 → fruxon-2.2.5}/tests/test_agents_revisions_cli.py +0 -0
  126. {fruxon-2.2.3 → fruxon-2.2.5}/tests/test_agents_sandbox.py +0 -0
  127. {fruxon-2.2.3 → fruxon-2.2.5}/tests/test_applications.py +0 -0
  128. {fruxon-2.2.3 → fruxon-2.2.5}/tests/test_approvals.py +0 -0
  129. {fruxon-2.2.3 → fruxon-2.2.5}/tests/test_assets.py +0 -0
  130. {fruxon-2.2.3 → fruxon-2.2.5}/tests/test_budgets.py +0 -0
  131. {fruxon-2.2.3 → fruxon-2.2.5}/tests/test_capabilities.py +0 -0
  132. {fruxon-2.2.3 → fruxon-2.2.5}/tests/test_channels.py +0 -0
  133. {fruxon-2.2.3 → fruxon-2.2.5}/tests/test_checks_agent.py +0 -0
  134. {fruxon-2.2.3 → fruxon-2.2.5}/tests/test_checks_ledger.py +0 -0
  135. {fruxon-2.2.3 → fruxon-2.2.5}/tests/test_cli.py +0 -0
  136. {fruxon-2.2.3 → fruxon-2.2.5}/tests/test_cli_base_url_routing.py +0 -0
  137. {fruxon-2.2.3 → fruxon-2.2.5}/tests/test_cli_crash.py +0 -0
  138. {fruxon-2.2.3 → fruxon-2.2.5}/tests/test_cli_root_flags.py +0 -0
  139. {fruxon-2.2.3 → fruxon-2.2.5}/tests/test_client.py +0 -0
  140. {fruxon-2.2.3 → fruxon-2.2.5}/tests/test_connect_nudge.py +0 -0
  141. {fruxon-2.2.3 → fruxon-2.2.5}/tests/test_consult.py +0 -0
  142. {fruxon-2.2.3 → fruxon-2.2.5}/tests/test_conversation_imports.py +0 -0
  143. {fruxon-2.2.3 → fruxon-2.2.5}/tests/test_credentials.py +0 -0
  144. {fruxon-2.2.3 → fruxon-2.2.5}/tests/test_dash_app.py +0 -0
  145. {fruxon-2.2.3 → fruxon-2.2.5}/tests/test_dash_cli.py +0 -0
  146. {fruxon-2.2.3 → fruxon-2.2.5}/tests/test_dash_client.py +0 -0
  147. {fruxon-2.2.3 → fruxon-2.2.5}/tests/test_dash_links.py +0 -0
  148. {fruxon-2.2.3 → fruxon-2.2.5}/tests/test_dash_source.py +0 -0
  149. {fruxon-2.2.3 → fruxon-2.2.5}/tests/test_describe.py +0 -0
  150. {fruxon-2.2.3 → fruxon-2.2.5}/tests/test_device_auth.py +0 -0
  151. {fruxon-2.2.3 → fruxon-2.2.5}/tests/test_docs_commands_exist.py +0 -0
  152. {fruxon-2.2.3 → fruxon-2.2.5}/tests/test_doctor.py +0 -0
  153. {fruxon-2.2.3 → fruxon-2.2.5}/tests/test_draft_bootstrap.py +0 -0
  154. {fruxon-2.2.3 → fruxon-2.2.5}/tests/test_draft_evaluate_cli.py +0 -0
  155. {fruxon-2.2.3 → fruxon-2.2.5}/tests/test_draft_pull_shape.py +0 -0
  156. {fruxon-2.2.3 → fruxon-2.2.5}/tests/test_draft_run_replay.py +0 -0
  157. {fruxon-2.2.3 → fruxon-2.2.5}/tests/test_draft_validate_cli.py +0 -0
  158. {fruxon-2.2.3 → fruxon-2.2.5}/tests/test_drafts.py +0 -0
  159. {fruxon-2.2.3 → fruxon-2.2.5}/tests/test_entry_points.py +0 -0
  160. {fruxon-2.2.3 → fruxon-2.2.5}/tests/test_environments.py +0 -0
  161. {fruxon-2.2.3 → fruxon-2.2.5}/tests/test_escalations.py +0 -0
  162. {fruxon-2.2.3 → fruxon-2.2.5}/tests/test_evaluations.py +0 -0
  163. {fruxon-2.2.3 → fruxon-2.2.5}/tests/test_execution_records.py +0 -0
  164. {fruxon-2.2.3 → fruxon-2.2.5}/tests/test_flow_validation.py +0 -0
  165. {fruxon-2.2.3 → fruxon-2.2.5}/tests/test_fruxon.py +0 -0
  166. {fruxon-2.2.3 → fruxon-2.2.5}/tests/test_guides.py +0 -0
  167. {fruxon-2.2.3 → fruxon-2.2.5}/tests/test_improvements.py +0 -0
  168. {fruxon-2.2.3 → fruxon-2.2.5}/tests/test_integration_configs_write_cli.py +0 -0
  169. {fruxon-2.2.3 → fruxon-2.2.5}/tests/test_integration_triggers_cli.py +0 -0
  170. {fruxon-2.2.3 → fruxon-2.2.5}/tests/test_integrations_authorize_cli.py +0 -0
  171. {fruxon-2.2.3 → fruxon-2.2.5}/tests/test_integrations_connect_cli.py +0 -0
  172. {fruxon-2.2.3 → fruxon-2.2.5}/tests/test_kb_trial_cli.py +0 -0
  173. {fruxon-2.2.3 → fruxon-2.2.5}/tests/test_knowledge_bases.py +0 -0
  174. {fruxon-2.2.3 → fruxon-2.2.5}/tests/test_knowledge_documents.py +0 -0
  175. {fruxon-2.2.3 → fruxon-2.2.5}/tests/test_knowledge_notices.py +0 -0
  176. {fruxon-2.2.3 → fruxon-2.2.5}/tests/test_knowledge_sources.py +0 -0
  177. {fruxon-2.2.3 → fruxon-2.2.5}/tests/test_llm_provider_configs_cli.py +0 -0
  178. {fruxon-2.2.3 → fruxon-2.2.5}/tests/test_llm_providers_connect_cli.py +0 -0
  179. {fruxon-2.2.3 → fruxon-2.2.5}/tests/test_managed_by.py +0 -0
  180. {fruxon-2.2.3 → fruxon-2.2.5}/tests/test_memory.py +0 -0
  181. {fruxon-2.2.3 → fruxon-2.2.5}/tests/test_messages.py +0 -0
  182. {fruxon-2.2.3 → fruxon-2.2.5}/tests/test_metrics.py +0 -0
  183. {fruxon-2.2.3 → fruxon-2.2.5}/tests/test_online_llm_config_refs.py +0 -0
  184. {fruxon-2.2.3 → fruxon-2.2.5}/tests/test_online_prefetch_refs.py +0 -0
  185. {fruxon-2.2.3 → fruxon-2.2.5}/tests/test_online_secret_refs.py +0 -0
  186. {fruxon-2.2.3 → fruxon-2.2.5}/tests/test_output.py +0 -0
  187. {fruxon-2.2.3 → fruxon-2.2.5}/tests/test_params.py +0 -0
  188. {fruxon-2.2.3 → fruxon-2.2.5}/tests/test_participants.py +0 -0
  189. {fruxon-2.2.3 → fruxon-2.2.5}/tests/test_participants_write.py +0 -0
  190. {fruxon-2.2.3 → fruxon-2.2.5}/tests/test_pipelines.py +0 -0
  191. {fruxon-2.2.3 → fruxon-2.2.5}/tests/test_reply_style.py +0 -0
  192. {fruxon-2.2.3 → fruxon-2.2.5}/tests/test_sandbox_scenario.py +0 -0
  193. {fruxon-2.2.3 → fruxon-2.2.5}/tests/test_schema.py +0 -0
  194. {fruxon-2.2.3 → fruxon-2.2.5}/tests/test_schema_fetch.py +0 -0
  195. {fruxon-2.2.3 → fruxon-2.2.5}/tests/test_secrets.py +0 -0
  196. {fruxon-2.2.3 → fruxon-2.2.5}/tests/test_skills.py +0 -0
  197. {fruxon-2.2.3 → fruxon-2.2.5}/tests/test_ssl.py +0 -0
  198. {fruxon-2.2.3 → fruxon-2.2.5}/tests/test_storage.py +0 -0
  199. {fruxon-2.2.3 → fruxon-2.2.5}/tests/test_system_blocks.py +0 -0
  200. {fruxon-2.2.3 → fruxon-2.2.5}/tests/test_system_blocks_cli.py +0 -0
  201. {fruxon-2.2.3 → fruxon-2.2.5}/tests/test_telemetry.py +0 -0
  202. {fruxon-2.2.3 → fruxon-2.2.5}/tests/test_test_chats.py +0 -0
  203. {fruxon-2.2.3 → fruxon-2.2.5}/tests/test_topics.py +0 -0
  204. {fruxon-2.2.3 → fruxon-2.2.5}/tests/test_trigger_budgets.py +0 -0
  205. {fruxon-2.2.3 → fruxon-2.2.5}/tests/test_triggers.py +0 -0
  206. {fruxon-2.2.3 → fruxon-2.2.5}/tests/test_triggers_check_cli.py +0 -0
  207. {fruxon-2.2.3 → fruxon-2.2.5}/tests/test_triggers_ledger.py +0 -0
  208. {fruxon-2.2.3 → fruxon-2.2.5}/tests/test_triggers_ledger_batch_views.py +0 -0
  209. {fruxon-2.2.3 → fruxon-2.2.5}/tests/test_triggers_ledger_stage_tests.py +0 -0
  210. {fruxon-2.2.3 → fruxon-2.2.5}/tests/test_triggers_questions.py +0 -0
  211. {fruxon-2.2.3 → fruxon-2.2.5}/tests/test_triggers_shape.py +0 -0
  212. {fruxon-2.2.3 → fruxon-2.2.5}/tests/test_triggers_write.py +0 -0
  213. {fruxon-2.2.3 → fruxon-2.2.5}/tests/test_tui_boundary.py +0 -0
  214. {fruxon-2.2.3 → fruxon-2.2.5}/tests/test_ui.py +0 -0
  215. {fruxon-2.2.3 → fruxon-2.2.5}/tests/test_update_check.py +0 -0
  216. {fruxon-2.2.3 → fruxon-2.2.5}/tests/test_validation.py +0 -0
  217. {fruxon-2.2.3 → fruxon-2.2.5}/tests/test_voice_calls.py +0 -0
  218. {fruxon-2.2.3 → fruxon-2.2.5}/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.3
3
+ Version: 2.2.5
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.3'
22
- __version_tuple__ = version_tuple = (2, 2, 3)
21
+ __version__ = version = '2.2.5'
22
+ __version_tuple__ = version_tuple = (2, 2, 5)
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)
@@ -81,8 +81,127 @@ handoff smooth.
81
81
  - **Bearer token**: one param, secret, displayName "Access Token".
82
82
  - **OAuth (user)**: typically zero params here — the dashboard
83
83
  runs the consent flow.
84
+ - **Sign-in token exchange**: the API has no key or static
85
+ token — you POST a login and send back what it returns.
86
+ The params here are the login the user types; the
87
+ exchange is declared in `authSettings`. See **Token
88
+ exchange auth** below.
89
+ Add `"testPath"` to a method to make its credentials
90
+ verifiable: a relative, side-effect-free GET under the
91
+ `baseUrl` connection parameter (`"/me"`) that the server
92
+ calls with the credentials the user supplied. Relative is
93
+ enforced, so the probe can never leave the `baseUrl` host.
94
+ Without one the credentials store unverified and
95
+ `integrations verify` refuses the method — declare it
96
+ wherever the API has a cheap identity endpoint. Valid for
97
+ `API_KEY`, `BEARER_TOKEN`, `BASIC_AUTH`, and a `CUSTOM`
98
+ method naming an `authProviderName` (the probe then runs
99
+ that provider's own exchange, so a pass means a real tool
100
+ call authenticates the same way).
84
101
  - `configMetadata.parametersMetadata[]` — NON-secret connection
85
- params (workspace id, region, base URL). Optional.
102
+ params (workspace id, region, base URL). Optional. A method
103
+ with a `testPath` needs `baseUrl` here — that is what the
104
+ probe path hangs off.
105
+
106
+ ## Token exchange auth
107
+
108
+ For an API whose auth is "POST a login, read a token out of
109
+ the response, then send that token as a header" — no API key,
110
+ no OAuth. Declare it; there is nothing to add to the backend.
111
+
112
+ On the auth method set:
113
+ - `"type": "CUSTOM"`
114
+ - `"authProviderName": "token_exchange"` — the only provider
115
+ name a custom integration may use.
116
+ - `"userCredentialAuthType"` — the shape the user actually
117
+ types and the platform stores: `BASIC_AUTH` (username +
118
+ password), `API_KEY`, or `BEARER_TOKEN`. Required. The
119
+ credential-entry page renders this, so you do NOT write
120
+ `parametersMetadata` for it.
121
+ - `"authSettings": { "parameters": { ... } }` — the exchange.
122
+
123
+ The `authSettings.parameters` keys:
124
+ - `login_path` — **relative** path under the `baseUrl`
125
+ connection parameter, e.g. `"/jwtlogin"`. Relative is
126
+ enforced on save and again on every exchange: an absolute
127
+ URL is rejected, so a login can never be POSTed to a host
128
+ other than the one the tools already call. `baseUrl` must
129
+ be declared in `parametersMetadata`.
130
+ - `login_method` — `POST` (default), `PUT` or `PATCH`.
131
+ - `body_format` — `form` (default, form-urlencoded) or
132
+ `json`.
133
+ - `body.<field>` — one body field per key, each value a
134
+ `{{placeholder}}` template. In `json` mode a dotted field
135
+ name nests (`body.user.email`).
136
+ - `login_header.<name>` — an extra header on the login
137
+ request only, same templating.
138
+ - `token_path` — dotted path to the token in the response,
139
+ e.g. `"data.auth_token"`.
140
+ - `header_name` (default `Authorization`), `header_scheme`
141
+ (default `Bearer`; `"none"` sends the token as the whole
142
+ header value) and `header_value_prefix` — how the token
143
+ rides on every subsequent call.
144
+ - A token lifetime, at least one of: `jwt_expiry: "true"`
145
+ (read the `exp` claim out of the JWT), `lifetime_path`
146
+ (a seconds-to-live field in the response, OAuth's
147
+ `expires_in`), or `lifetime_seconds` (fixed). Plus
148
+ `expiry_margin_seconds` (default 60) to re-sign-in that
149
+ early. One is required — without it the login would run on
150
+ every single tool call.
151
+ - `rejected_status_codes` — statuses that mean the credential
152
+ was refused rather than the endpoint failing. Default
153
+ `401`.
154
+ - `failure_path` / `failure_value` / `failure_message` — a
155
+ field in a 200 response that means the login cannot
156
+ succeed (a `otp_required: true` for an account with
157
+ two-factor sign-in). `failure_message` is what the operator
158
+ is shown, and is required when `failure_path` is set.
159
+
160
+ Templates resolve the integration's connection parameters by
161
+ their flat names, plus the stored credential under a
162
+ `credential.` prefix: `{{credential.username}}`,
163
+ `{{credential.password}}`, `{{credential.api_key}}`,
164
+ `{{credential.token}}` — whichever the declared
165
+ `userCredentialAuthType` offers. A template naming anything
166
+ else is rejected on save. Never put a credential value in
167
+ `authSettings` itself; it holds templates only.
168
+
169
+ A full example — a management console that signs in with
170
+ email and password and returns a long-lived JWT:
171
+ ```json
172
+ {
173
+ "id": "console_login",
174
+ "displayName": "Console login",
175
+ "description": "Sign in with your console email and password.",
176
+ "type": "CUSTOM",
177
+ "authProviderName": "token_exchange",
178
+ "userCredentialAuthType": "BASIC_AUTH",
179
+ "testPath": "/branches",
180
+ "authSettings": {
181
+ "parameters": {
182
+ "login_path": "/jwtlogin",
183
+ "body_format": "form",
184
+ "body.email": "{{credential.username}}",
185
+ "body.password": "{{credential.password}}",
186
+ "body.remember_me": "1",
187
+ "token_path": "data.auth_token",
188
+ "header_scheme": "Bearer",
189
+ "jwt_expiry": "true",
190
+ "expiry_margin_seconds": "3600",
191
+ "failure_path": "data.otp_required",
192
+ "failure_message": "This account uses a one-time code, which an unattended integration cannot complete."
193
+ }
194
+ }
195
+ }
196
+ ```
197
+
198
+ The token is cached per credential until its margin, so the
199
+ login runs once, not per call. `testPath` works here like
200
+ anywhere else, and the probe runs this exchange — a pass
201
+ means a real tool call signs in the same way.
202
+
203
+ Your tools then declare NO `Authorization` header, exactly as
204
+ for `BEARER_TOKEN` — see **Placeholders** below.
86
205
 
87
206
  4. **Create the integration.**
88
207
  ```
@@ -231,7 +350,7 @@ handoff smooth.
231
350
  Once the user reports the config is set up, verify:
232
351
  ```
233
352
  fruxon integrations configs list <integration-id>
234
- fruxon integrations verify <integration-id> # tests the auth
353
+ fruxon integrations verify <integration-id> # tests the auth (needs a testPath)
235
354
  fruxon tools run <integration-id> --tool <tool-id> -c <config-uuid> # end-to-end
236
355
  ```
237
356
 
@@ -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",
@@ -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
File without changes
File without changes