fruxon 2.3.3__tar.gz → 2.3.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 (235) hide show
  1. {fruxon-2.3.3 → fruxon-2.3.4}/PKG-INFO +1 -1
  2. {fruxon-2.3.3 → fruxon-2.3.4}/src/fruxon/_version.py +2 -2
  3. {fruxon-2.3.3 → fruxon-2.3.4}/src/fruxon/cli/auth.py +2 -0
  4. {fruxon-2.3.3 → fruxon-2.3.4}/src/fruxon/fruxon.py +8 -0
  5. {fruxon-2.3.3 → fruxon-2.3.4}/src/fruxon/ui.py +17 -1
  6. {fruxon-2.3.3 → fruxon-2.3.4}/tests/test_ui.py +21 -2
  7. {fruxon-2.3.3 → fruxon-2.3.4}/.gitignore +0 -0
  8. {fruxon-2.3.3 → fruxon-2.3.4}/HISTORY.md +0 -0
  9. {fruxon-2.3.3 → fruxon-2.3.4}/LICENSE +0 -0
  10. {fruxon-2.3.3 → fruxon-2.3.4}/README.md +0 -0
  11. {fruxon-2.3.3 → fruxon-2.3.4}/pyproject.toml +0 -0
  12. {fruxon-2.3.3 → fruxon-2.3.4}/src/fruxon/__init__.py +0 -0
  13. {fruxon-2.3.3 → fruxon-2.3.4}/src/fruxon/__main__.py +0 -0
  14. {fruxon-2.3.3 → fruxon-2.3.4}/src/fruxon/_request_id.py +0 -0
  15. {fruxon-2.3.3 → fruxon-2.3.4}/src/fruxon/_ssl.py +0 -0
  16. {fruxon-2.3.3 → fruxon-2.3.4}/src/fruxon/checks/__init__.py +0 -0
  17. {fruxon-2.3.3 → fruxon-2.3.4}/src/fruxon/checks/agent.py +0 -0
  18. {fruxon-2.3.3 → fruxon-2.3.4}/src/fruxon/checks/ledger.py +0 -0
  19. {fruxon-2.3.3 → fruxon-2.3.4}/src/fruxon/checks/references.py +0 -0
  20. {fruxon-2.3.3 → fruxon-2.3.4}/src/fruxon/cli/__init__.py +0 -0
  21. {fruxon-2.3.3 → fruxon-2.3.4}/src/fruxon/cli/_crash.py +0 -0
  22. {fruxon-2.3.3 → fruxon-2.3.4}/src/fruxon/cli/_last_failure.py +0 -0
  23. {fruxon-2.3.3 → fruxon-2.3.4}/src/fruxon/cli/_ledger_passes.py +0 -0
  24. {fruxon-2.3.3 → fruxon-2.3.4}/src/fruxon/cli/_plugin_hint.py +0 -0
  25. {fruxon-2.3.3 → fruxon-2.3.4}/src/fruxon/cli/_schema.py +0 -0
  26. {fruxon-2.3.3 → fruxon-2.3.4}/src/fruxon/cli/_shared.py +0 -0
  27. {fruxon-2.3.3 → fruxon-2.3.4}/src/fruxon/cli/_stream.py +0 -0
  28. {fruxon-2.3.3 → fruxon-2.3.4}/src/fruxon/cli/access_requests.py +0 -0
  29. {fruxon-2.3.3 → fruxon-2.3.4}/src/fruxon/cli/agents.py +0 -0
  30. {fruxon-2.3.3 → fruxon-2.3.4}/src/fruxon/cli/agents_approvals.py +0 -0
  31. {fruxon-2.3.3 → fruxon-2.3.4}/src/fruxon/cli/agents_budget.py +0 -0
  32. {fruxon-2.3.3 → fruxon-2.3.4}/src/fruxon/cli/agents_channels.py +0 -0
  33. {fruxon-2.3.3 → fruxon-2.3.4}/src/fruxon/cli/agents_draft.py +0 -0
  34. {fruxon-2.3.3 → fruxon-2.3.4}/src/fruxon/cli/agents_evaluations.py +0 -0
  35. {fruxon-2.3.3 → fruxon-2.3.4}/src/fruxon/cli/agents_executions.py +0 -0
  36. {fruxon-2.3.3 → fruxon-2.3.4}/src/fruxon/cli/agents_improvements.py +0 -0
  37. {fruxon-2.3.3 → fruxon-2.3.4}/src/fruxon/cli/agents_lifecycle.py +0 -0
  38. {fruxon-2.3.3 → fruxon-2.3.4}/src/fruxon/cli/agents_memory.py +0 -0
  39. {fruxon-2.3.3 → fruxon-2.3.4}/src/fruxon/cli/agents_reply_style.py +0 -0
  40. {fruxon-2.3.3 → fruxon-2.3.4}/src/fruxon/cli/agents_revisions.py +0 -0
  41. {fruxon-2.3.3 → fruxon-2.3.4}/src/fruxon/cli/agents_sandbox.py +0 -0
  42. {fruxon-2.3.3 → fruxon-2.3.4}/src/fruxon/cli/agents_sandbox_test.py +0 -0
  43. {fruxon-2.3.3 → fruxon-2.3.4}/src/fruxon/cli/agents_slots.py +0 -0
  44. {fruxon-2.3.3 → fruxon-2.3.4}/src/fruxon/cli/agents_system_blocks.py +0 -0
  45. {fruxon-2.3.3 → fruxon-2.3.4}/src/fruxon/cli/agents_tests.py +0 -0
  46. {fruxon-2.3.3 → fruxon-2.3.4}/src/fruxon/cli/agents_topics.py +0 -0
  47. {fruxon-2.3.3 → fruxon-2.3.4}/src/fruxon/cli/agents_voice_calls.py +0 -0
  48. {fruxon-2.3.3 → fruxon-2.3.4}/src/fruxon/cli/applications.py +0 -0
  49. {fruxon-2.3.3 → fruxon-2.3.4}/src/fruxon/cli/applications_entry_points.py +0 -0
  50. {fruxon-2.3.3 → fruxon-2.3.4}/src/fruxon/cli/assets.py +0 -0
  51. {fruxon-2.3.3 → fruxon-2.3.4}/src/fruxon/cli/capabilities.py +0 -0
  52. {fruxon-2.3.3 → fruxon-2.3.4}/src/fruxon/cli/completion.py +0 -0
  53. {fruxon-2.3.3 → fruxon-2.3.4}/src/fruxon/cli/config.py +0 -0
  54. {fruxon-2.3.3 → fruxon-2.3.4}/src/fruxon/cli/consult_pins.py +0 -0
  55. {fruxon-2.3.3 → fruxon-2.3.4}/src/fruxon/cli/conversation_imports.py +0 -0
  56. {fruxon-2.3.3 → fruxon-2.3.4}/src/fruxon/cli/dash.py +0 -0
  57. {fruxon-2.3.3 → fruxon-2.3.4}/src/fruxon/cli/describe.py +0 -0
  58. {fruxon-2.3.3 → fruxon-2.3.4}/src/fruxon/cli/doctor.py +0 -0
  59. {fruxon-2.3.3 → fruxon-2.3.4}/src/fruxon/cli/environments.py +0 -0
  60. {fruxon-2.3.3 → fruxon-2.3.4}/src/fruxon/cli/escalation_desks.py +0 -0
  61. {fruxon-2.3.3 → fruxon-2.3.4}/src/fruxon/cli/escalation_operators.py +0 -0
  62. {fruxon-2.3.3 → fruxon-2.3.4}/src/fruxon/cli/escalations.py +0 -0
  63. {fruxon-2.3.3 → fruxon-2.3.4}/src/fruxon/cli/examples.py +0 -0
  64. {fruxon-2.3.3 → fruxon-2.3.4}/src/fruxon/cli/feedback.py +0 -0
  65. {fruxon-2.3.3 → fruxon-2.3.4}/src/fruxon/cli/guides.py +0 -0
  66. {fruxon-2.3.3 → fruxon-2.3.4}/src/fruxon/cli/integrations.py +0 -0
  67. {fruxon-2.3.3 → fruxon-2.3.4}/src/fruxon/cli/integrations_sandbox.py +0 -0
  68. {fruxon-2.3.3 → fruxon-2.3.4}/src/fruxon/cli/integrations_webhooks.py +0 -0
  69. {fruxon-2.3.3 → fruxon-2.3.4}/src/fruxon/cli/keys.py +0 -0
  70. {fruxon-2.3.3 → fruxon-2.3.4}/src/fruxon/cli/knowledge_bases.py +0 -0
  71. {fruxon-2.3.3 → fruxon-2.3.4}/src/fruxon/cli/knowledge_documents.py +0 -0
  72. {fruxon-2.3.3 → fruxon-2.3.4}/src/fruxon/cli/knowledge_notices.py +0 -0
  73. {fruxon-2.3.3 → fruxon-2.3.4}/src/fruxon/cli/knowledge_sources.py +0 -0
  74. {fruxon-2.3.3 → fruxon-2.3.4}/src/fruxon/cli/llm_providers.py +0 -0
  75. {fruxon-2.3.3 → fruxon-2.3.4}/src/fruxon/cli/messages.py +0 -0
  76. {fruxon-2.3.3 → fruxon-2.3.4}/src/fruxon/cli/metrics.py +0 -0
  77. {fruxon-2.3.3 → fruxon-2.3.4}/src/fruxon/cli/participants.py +0 -0
  78. {fruxon-2.3.3 → fruxon-2.3.4}/src/fruxon/cli/secrets.py +0 -0
  79. {fruxon-2.3.3 → fruxon-2.3.4}/src/fruxon/cli/skills.py +0 -0
  80. {fruxon-2.3.3 → fruxon-2.3.4}/src/fruxon/cli/storage.py +0 -0
  81. {fruxon-2.3.3 → fruxon-2.3.4}/src/fruxon/cli/tools.py +0 -0
  82. {fruxon-2.3.3 → fruxon-2.3.4}/src/fruxon/cli/triggers.py +0 -0
  83. {fruxon-2.3.3 → fruxon-2.3.4}/src/fruxon/cli/triggers_budget.py +0 -0
  84. {fruxon-2.3.3 → fruxon-2.3.4}/src/fruxon/cli/triggers_check.py +0 -0
  85. {fruxon-2.3.3 → fruxon-2.3.4}/src/fruxon/cli/triggers_ledger.py +0 -0
  86. {fruxon-2.3.3 → fruxon-2.3.4}/src/fruxon/cli/triggers_ledger_stage_tests.py +0 -0
  87. {fruxon-2.3.3 → fruxon-2.3.4}/src/fruxon/cli/triggers_questions.py +0 -0
  88. {fruxon-2.3.3 → fruxon-2.3.4}/src/fruxon/cli/triggers_shape.py +0 -0
  89. {fruxon-2.3.3 → fruxon-2.3.4}/src/fruxon/cli/working_hours.py +0 -0
  90. {fruxon-2.3.3 → fruxon-2.3.4}/src/fruxon/cli/workspaces.py +0 -0
  91. {fruxon-2.3.3 → fruxon-2.3.4}/src/fruxon/credentials.py +0 -0
  92. {fruxon-2.3.3 → fruxon-2.3.4}/src/fruxon/device_auth.py +0 -0
  93. {fruxon-2.3.3 → fruxon-2.3.4}/src/fruxon/doctor.py +0 -0
  94. {fruxon-2.3.3 → fruxon-2.3.4}/src/fruxon/exceptions.py +0 -0
  95. {fruxon-2.3.3 → fruxon-2.3.4}/src/fruxon/flow_validation.py +0 -0
  96. {fruxon-2.3.3 → fruxon-2.3.4}/src/fruxon/models.py +0 -0
  97. {fruxon-2.3.3 → fruxon-2.3.4}/src/fruxon/output.py +0 -0
  98. {fruxon-2.3.3 → fruxon-2.3.4}/src/fruxon/params.py +0 -0
  99. {fruxon-2.3.3 → fruxon-2.3.4}/src/fruxon/sandbox_scenario.py +0 -0
  100. {fruxon-2.3.3 → fruxon-2.3.4}/src/fruxon/skills/__init__.py +0 -0
  101. {fruxon-2.3.3 → fruxon-2.3.4}/src/fruxon/skills/fruxon-agent-mode/SKILL.md +0 -0
  102. {fruxon-2.3.3 → fruxon-2.3.4}/src/fruxon/skills/fruxon-build-agent/SKILL.md +0 -0
  103. {fruxon-2.3.3 → fruxon-2.3.4}/src/fruxon/skills/fruxon-create-integration/SKILL.md +0 -0
  104. {fruxon-2.3.3 → fruxon-2.3.4}/src/fruxon/skills/fruxon-debug-trace/SKILL.md +0 -0
  105. {fruxon-2.3.3 → fruxon-2.3.4}/src/fruxon/skills/fruxon-meet/SKILL.md +0 -0
  106. {fruxon-2.3.3 → fruxon-2.3.4}/src/fruxon/skills/fruxon-use-integrations/SKILL.md +0 -0
  107. {fruxon-2.3.3 → fruxon-2.3.4}/src/fruxon/telemetry.py +0 -0
  108. {fruxon-2.3.3 → fruxon-2.3.4}/src/fruxon/tui/__init__.py +0 -0
  109. {fruxon-2.3.3 → fruxon-2.3.4}/src/fruxon/tui/app.py +0 -0
  110. {fruxon-2.3.3 → fruxon-2.3.4}/src/fruxon/tui/demo.py +0 -0
  111. {fruxon-2.3.3 → fruxon-2.3.4}/src/fruxon/tui/links.py +0 -0
  112. {fruxon-2.3.3 → fruxon-2.3.4}/src/fruxon/tui/screens/__init__.py +0 -0
  113. {fruxon-2.3.3 → fruxon-2.3.4}/src/fruxon/tui/screens/agent.py +0 -0
  114. {fruxon-2.3.3 → fruxon-2.3.4}/src/fruxon/tui/screens/base.py +0 -0
  115. {fruxon-2.3.3 → fruxon-2.3.4}/src/fruxon/tui/screens/home.py +0 -0
  116. {fruxon-2.3.3 → fruxon-2.3.4}/src/fruxon/tui/screens/ledger.py +0 -0
  117. {fruxon-2.3.3 → fruxon-2.3.4}/src/fruxon/tui/screens/loader.py +0 -0
  118. {fruxon-2.3.3 → fruxon-2.3.4}/src/fruxon/tui/screens/pickers.py +0 -0
  119. {fruxon-2.3.3 → fruxon-2.3.4}/src/fruxon/tui/screens/trace.py +0 -0
  120. {fruxon-2.3.3 → fruxon-2.3.4}/src/fruxon/tui/source.py +0 -0
  121. {fruxon-2.3.3 → fruxon-2.3.4}/src/fruxon/tui/theme.py +0 -0
  122. {fruxon-2.3.3 → fruxon-2.3.4}/src/fruxon/tui/views.py +0 -0
  123. {fruxon-2.3.3 → fruxon-2.3.4}/src/fruxon/tui/widgets.py +0 -0
  124. {fruxon-2.3.3 → fruxon-2.3.4}/src/fruxon/update_check.py +0 -0
  125. {fruxon-2.3.3 → fruxon-2.3.4}/src/fruxon/validation.py +0 -0
  126. {fruxon-2.3.3 → fruxon-2.3.4}/tests/.test_durations.json +0 -0
  127. {fruxon-2.3.3 → fruxon-2.3.4}/tests/__init__.py +0 -0
  128. {fruxon-2.3.3 → fruxon-2.3.4}/tests/conftest.py +0 -0
  129. {fruxon-2.3.3 → fruxon-2.3.4}/tests/test_actor.py +0 -0
  130. {fruxon-2.3.3 → fruxon-2.3.4}/tests/test_agent_lifecycle.py +0 -0
  131. {fruxon-2.3.3 → fruxon-2.3.4}/tests/test_agent_revisions_list.py +0 -0
  132. {fruxon-2.3.3 → fruxon-2.3.4}/tests/test_agent_slots.py +0 -0
  133. {fruxon-2.3.3 → fruxon-2.3.4}/tests/test_agents_check_cli.py +0 -0
  134. {fruxon-2.3.3 → fruxon-2.3.4}/tests/test_agents_revisions_cli.py +0 -0
  135. {fruxon-2.3.3 → fruxon-2.3.4}/tests/test_agents_sandbox.py +0 -0
  136. {fruxon-2.3.3 → fruxon-2.3.4}/tests/test_applications.py +0 -0
  137. {fruxon-2.3.3 → fruxon-2.3.4}/tests/test_approvals.py +0 -0
  138. {fruxon-2.3.3 → fruxon-2.3.4}/tests/test_assets.py +0 -0
  139. {fruxon-2.3.3 → fruxon-2.3.4}/tests/test_budgets.py +0 -0
  140. {fruxon-2.3.3 → fruxon-2.3.4}/tests/test_capabilities.py +0 -0
  141. {fruxon-2.3.3 → fruxon-2.3.4}/tests/test_channels.py +0 -0
  142. {fruxon-2.3.3 → fruxon-2.3.4}/tests/test_checks_agent.py +0 -0
  143. {fruxon-2.3.3 → fruxon-2.3.4}/tests/test_checks_ledger.py +0 -0
  144. {fruxon-2.3.3 → fruxon-2.3.4}/tests/test_cli.py +0 -0
  145. {fruxon-2.3.3 → fruxon-2.3.4}/tests/test_cli_base_url_routing.py +0 -0
  146. {fruxon-2.3.3 → fruxon-2.3.4}/tests/test_cli_crash.py +0 -0
  147. {fruxon-2.3.3 → fruxon-2.3.4}/tests/test_cli_feedback.py +0 -0
  148. {fruxon-2.3.3 → fruxon-2.3.4}/tests/test_cli_friction_round2.py +0 -0
  149. {fruxon-2.3.3 → fruxon-2.3.4}/tests/test_cli_friction_round3.py +0 -0
  150. {fruxon-2.3.3 → fruxon-2.3.4}/tests/test_cli_root_flags.py +0 -0
  151. {fruxon-2.3.3 → fruxon-2.3.4}/tests/test_client.py +0 -0
  152. {fruxon-2.3.3 → fruxon-2.3.4}/tests/test_connect_nudge.py +0 -0
  153. {fruxon-2.3.3 → fruxon-2.3.4}/tests/test_consult.py +0 -0
  154. {fruxon-2.3.3 → fruxon-2.3.4}/tests/test_conversation_imports.py +0 -0
  155. {fruxon-2.3.3 → fruxon-2.3.4}/tests/test_credentials.py +0 -0
  156. {fruxon-2.3.3 → fruxon-2.3.4}/tests/test_dash_app.py +0 -0
  157. {fruxon-2.3.3 → fruxon-2.3.4}/tests/test_dash_cli.py +0 -0
  158. {fruxon-2.3.3 → fruxon-2.3.4}/tests/test_dash_client.py +0 -0
  159. {fruxon-2.3.3 → fruxon-2.3.4}/tests/test_dash_links.py +0 -0
  160. {fruxon-2.3.3 → fruxon-2.3.4}/tests/test_dash_source.py +0 -0
  161. {fruxon-2.3.3 → fruxon-2.3.4}/tests/test_describe.py +0 -0
  162. {fruxon-2.3.3 → fruxon-2.3.4}/tests/test_device_auth.py +0 -0
  163. {fruxon-2.3.3 → fruxon-2.3.4}/tests/test_docs_commands_exist.py +0 -0
  164. {fruxon-2.3.3 → fruxon-2.3.4}/tests/test_doctor.py +0 -0
  165. {fruxon-2.3.3 → fruxon-2.3.4}/tests/test_draft_bootstrap.py +0 -0
  166. {fruxon-2.3.3 → fruxon-2.3.4}/tests/test_draft_evaluate_cli.py +0 -0
  167. {fruxon-2.3.3 → fruxon-2.3.4}/tests/test_draft_pull_shape.py +0 -0
  168. {fruxon-2.3.3 → fruxon-2.3.4}/tests/test_draft_run_replay.py +0 -0
  169. {fruxon-2.3.3 → fruxon-2.3.4}/tests/test_draft_validate_cli.py +0 -0
  170. {fruxon-2.3.3 → fruxon-2.3.4}/tests/test_drafts.py +0 -0
  171. {fruxon-2.3.3 → fruxon-2.3.4}/tests/test_entry_points.py +0 -0
  172. {fruxon-2.3.3 → fruxon-2.3.4}/tests/test_environments.py +0 -0
  173. {fruxon-2.3.3 → fruxon-2.3.4}/tests/test_escalation_operators.py +0 -0
  174. {fruxon-2.3.3 → fruxon-2.3.4}/tests/test_escalations.py +0 -0
  175. {fruxon-2.3.3 → fruxon-2.3.4}/tests/test_evaluations.py +0 -0
  176. {fruxon-2.3.3 → fruxon-2.3.4}/tests/test_execution_records.py +0 -0
  177. {fruxon-2.3.3 → fruxon-2.3.4}/tests/test_flow_validation.py +0 -0
  178. {fruxon-2.3.3 → fruxon-2.3.4}/tests/test_fruxon.py +0 -0
  179. {fruxon-2.3.3 → fruxon-2.3.4}/tests/test_guides.py +0 -0
  180. {fruxon-2.3.3 → fruxon-2.3.4}/tests/test_improvements.py +0 -0
  181. {fruxon-2.3.3 → fruxon-2.3.4}/tests/test_integration_configs_write_cli.py +0 -0
  182. {fruxon-2.3.3 → fruxon-2.3.4}/tests/test_integration_sandbox_cli.py +0 -0
  183. {fruxon-2.3.3 → fruxon-2.3.4}/tests/test_integration_triggers_cli.py +0 -0
  184. {fruxon-2.3.3 → fruxon-2.3.4}/tests/test_integrations_authorize_cli.py +0 -0
  185. {fruxon-2.3.3 → fruxon-2.3.4}/tests/test_integrations_connect_cli.py +0 -0
  186. {fruxon-2.3.3 → fruxon-2.3.4}/tests/test_kb_trial_cli.py +0 -0
  187. {fruxon-2.3.3 → fruxon-2.3.4}/tests/test_knowledge_bases.py +0 -0
  188. {fruxon-2.3.3 → fruxon-2.3.4}/tests/test_knowledge_documents.py +0 -0
  189. {fruxon-2.3.3 → fruxon-2.3.4}/tests/test_knowledge_notices.py +0 -0
  190. {fruxon-2.3.3 → fruxon-2.3.4}/tests/test_knowledge_sources.py +0 -0
  191. {fruxon-2.3.3 → fruxon-2.3.4}/tests/test_llm_provider_configs_cli.py +0 -0
  192. {fruxon-2.3.3 → fruxon-2.3.4}/tests/test_llm_providers_connect_cli.py +0 -0
  193. {fruxon-2.3.3 → fruxon-2.3.4}/tests/test_llm_providers_list_cli.py +0 -0
  194. {fruxon-2.3.3 → fruxon-2.3.4}/tests/test_managed_by.py +0 -0
  195. {fruxon-2.3.3 → fruxon-2.3.4}/tests/test_memory.py +0 -0
  196. {fruxon-2.3.3 → fruxon-2.3.4}/tests/test_messages.py +0 -0
  197. {fruxon-2.3.3 → fruxon-2.3.4}/tests/test_metrics.py +0 -0
  198. {fruxon-2.3.3 → fruxon-2.3.4}/tests/test_online_llm_config_refs.py +0 -0
  199. {fruxon-2.3.3 → fruxon-2.3.4}/tests/test_online_prefetch_refs.py +0 -0
  200. {fruxon-2.3.3 → fruxon-2.3.4}/tests/test_online_secret_refs.py +0 -0
  201. {fruxon-2.3.3 → fruxon-2.3.4}/tests/test_output.py +0 -0
  202. {fruxon-2.3.3 → fruxon-2.3.4}/tests/test_params.py +0 -0
  203. {fruxon-2.3.3 → fruxon-2.3.4}/tests/test_participants.py +0 -0
  204. {fruxon-2.3.3 → fruxon-2.3.4}/tests/test_participants_write.py +0 -0
  205. {fruxon-2.3.3 → fruxon-2.3.4}/tests/test_plugin_hint.py +0 -0
  206. {fruxon-2.3.3 → fruxon-2.3.4}/tests/test_project_urls.py +0 -0
  207. {fruxon-2.3.3 → fruxon-2.3.4}/tests/test_reply_style.py +0 -0
  208. {fruxon-2.3.3 → fruxon-2.3.4}/tests/test_request_id.py +0 -0
  209. {fruxon-2.3.3 → fruxon-2.3.4}/tests/test_sandbox_scenario.py +0 -0
  210. {fruxon-2.3.3 → fruxon-2.3.4}/tests/test_schema.py +0 -0
  211. {fruxon-2.3.3 → fruxon-2.3.4}/tests/test_schema_fetch.py +0 -0
  212. {fruxon-2.3.3 → fruxon-2.3.4}/tests/test_secrets.py +0 -0
  213. {fruxon-2.3.3 → fruxon-2.3.4}/tests/test_skills.py +0 -0
  214. {fruxon-2.3.3 → fruxon-2.3.4}/tests/test_ssl.py +0 -0
  215. {fruxon-2.3.3 → fruxon-2.3.4}/tests/test_storage.py +0 -0
  216. {fruxon-2.3.3 → fruxon-2.3.4}/tests/test_system_blocks.py +0 -0
  217. {fruxon-2.3.3 → fruxon-2.3.4}/tests/test_system_blocks_cli.py +0 -0
  218. {fruxon-2.3.3 → fruxon-2.3.4}/tests/test_telemetry.py +0 -0
  219. {fruxon-2.3.3 → fruxon-2.3.4}/tests/test_test_chats.py +0 -0
  220. {fruxon-2.3.3 → fruxon-2.3.4}/tests/test_topics.py +0 -0
  221. {fruxon-2.3.3 → fruxon-2.3.4}/tests/test_trigger_budgets.py +0 -0
  222. {fruxon-2.3.3 → fruxon-2.3.4}/tests/test_triggers.py +0 -0
  223. {fruxon-2.3.3 → fruxon-2.3.4}/tests/test_triggers_check_cli.py +0 -0
  224. {fruxon-2.3.3 → fruxon-2.3.4}/tests/test_triggers_ledger.py +0 -0
  225. {fruxon-2.3.3 → fruxon-2.3.4}/tests/test_triggers_ledger_batch_views.py +0 -0
  226. {fruxon-2.3.3 → fruxon-2.3.4}/tests/test_triggers_ledger_stage_tests.py +0 -0
  227. {fruxon-2.3.3 → fruxon-2.3.4}/tests/test_triggers_questions.py +0 -0
  228. {fruxon-2.3.3 → fruxon-2.3.4}/tests/test_triggers_shape.py +0 -0
  229. {fruxon-2.3.3 → fruxon-2.3.4}/tests/test_triggers_write.py +0 -0
  230. {fruxon-2.3.3 → fruxon-2.3.4}/tests/test_tui_boundary.py +0 -0
  231. {fruxon-2.3.3 → fruxon-2.3.4}/tests/test_update_check.py +0 -0
  232. {fruxon-2.3.3 → fruxon-2.3.4}/tests/test_validation.py +0 -0
  233. {fruxon-2.3.3 → fruxon-2.3.4}/tests/test_voice_calls.py +0 -0
  234. {fruxon-2.3.3 → fruxon-2.3.4}/tests/test_working_hours_cli.py +0 -0
  235. {fruxon-2.3.3 → fruxon-2.3.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.3.3
3
+ Version: 2.3.4
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.3'
22
- __version_tuple__ = version_tuple = (2, 3, 3)
21
+ __version__ = version = '2.3.4'
22
+ __version_tuple__ = version_tuple = (2, 3, 4)
23
23
 
24
24
  __commit_id__ = commit_id = None
@@ -124,6 +124,8 @@ def login(
124
124
  outside the workspace; a new agent's first publish goes live, but
125
125
  switching a live agent to another revision needs maintainer). The
126
126
  approval page shows the requested level; the user approves or denies.
127
+ No preset carries ``keys:write``, admin included: a token can't mint
128
+ or rotate credentials, so that is done in the dashboard.
127
129
 
128
130
  Signing in adds a workspace and leaves the default alone: other
129
131
  shells and scripts on this machine keep addressing the workspace they
@@ -8148,6 +8148,11 @@ class FruxonClient:
8148
8148
  response is the only time the raw secret (``token``) crosses
8149
8149
  the wire — store it immediately. Body fields: ``name``,
8150
8150
  ``expirationDays``, ``scopes``, ``preset``, ``type``.
8151
+
8152
+ Only a signed-in person may mint: called with an API token (which
8153
+ is how this client authenticates) the server answers ``403``
8154
+ ``token_cannot_mint``. Mint in the dashboard, or run
8155
+ ``fruxon login`` for a CLI token.
8151
8156
  """
8152
8157
  url = f"{self._base_url}/v1/tenants/{self._workspace}/tokens:generate"
8153
8158
  return self._post_json(url, body)
@@ -8161,6 +8166,9 @@ class FruxonClient:
8161
8166
  ``None``) rotates the secret only. Pass
8162
8167
  ``{preset|scopes|name|expirationDays}`` to narrow / widen
8163
8168
  permissions, rename, or change lifetime in the same call.
8169
+
8170
+ Like :meth:`generate_token`, refused for an API-token caller
8171
+ (``403 token_cannot_mint``): rotate from the dashboard.
8164
8172
  """
8165
8173
  url = f"{self._base_url}/v1/tenants/{self._workspace}/tokens/{token_id}:rotate"
8166
8174
  return self._post_json(url, overrides or {})
@@ -622,7 +622,8 @@ def say_next(*steps: tuple[str, str]) -> None:
622
622
  # secrets:write, triggers:fire, participants:send, ...), pipelines:write/run,
623
623
  # async_operations:write, billing:read, audit:read and the system scopes — and
624
624
  # gets the admin/dashboard fallback. (workspace:delete and billing:write sit
625
- # above even Admin, Owner-only; no CLI command needs them.)
625
+ # above even Admin, Owner-only; no CLI command needs them.) keys:write is the
626
+ # exception: no login carries it, admin included (_DASHBOARD_ONLY_SCOPES).
626
627
  _SMALLEST_PRESET_FOR_SCOPE: dict[str, str] = {
627
628
  # Observer: every :read minus SensitiveReadScopes (billing:read, audit:read).
628
629
  "agents:read": "observer",
@@ -668,6 +669,13 @@ _SMALLEST_PRESET_FOR_SCOPE: dict[str, str] = {
668
669
  }
669
670
 
670
671
 
672
+ # Scopes no `fruxon login` mints, whatever the preset. keys:write: a token can't
673
+ # mint or rotate credentials (the backend answers 403 token_cannot_mint), so on a
674
+ # login token it would buy only revoking, and the backend leaves it off
675
+ # (DeviceAuthorizationService.LoginScopes). A person grants it in the dashboard.
676
+ _DASHBOARD_ONLY_SCOPES = frozenset({"keys:write"})
677
+
678
+
671
679
  def hint_for_forbidden(error: Exception) -> str | None:
672
680
  """Render an actionable hint for a 403.
673
681
 
@@ -701,6 +709,14 @@ def hint_for_forbidden(error: Exception) -> str | None:
701
709
  # The access level is declared by the CLI at login (--preset), not
702
710
  # picked in the browser — point at the smallest preset that carries
703
711
  # the missing scope, so a key missing drafts:write isn't sent to admin.
712
+ if error.required in _DASHBOARD_ONLY_SCOPES:
713
+ escalation = (
714
+ f"No [bold]fruxon login[/bold] carries {error.required}, admin included. "
715
+ "Do this in the Fruxon dashboard, or mint a token with the scope on its API keys page."
716
+ )
717
+ if is_agent_mode():
718
+ escalation += " Under an agent driver, relay this to the user: only they can grant it."
719
+ return f"This key can't [bold]{error.required}[/bold]. Granted: [dim]{granted}[/dim]\n{escalation}"
704
720
  preset = _SMALLEST_PRESET_FOR_SCOPE.get(error.required)
705
721
  if preset is not None:
706
722
  default = " (the default)" if preset == "developer" else ""
@@ -335,7 +335,7 @@ class TestHintForForbidden:
335
335
 
336
336
  @pytest.mark.parametrize(
337
337
  "required",
338
- ["keys:write", "secrets:write", "triggers:fire", "participants:send", "pipelines:run", "billing:read"],
338
+ ["secrets:write", "triggers:fire", "participants:send", "pipelines:run", "billing:read"],
339
339
  )
340
340
  def test_admin_only_scopes_fall_back_to_admin_or_dashboard(self, required):
341
341
  """Reach scopes, pipelines:write/run and the sensitive reads ride
@@ -347,7 +347,26 @@ class TestHintForForbidden:
347
347
  assert "fruxon login --preset admin" in msg
348
348
  assert "dashboard" in msg
349
349
 
350
- @pytest.mark.parametrize("required", ["drafts:write", "keys:write"])
350
+ def test_keys_write_points_at_the_dashboard_not_a_login(self):
351
+ """No login mints keys:write, admin included — a token can't mint,
352
+ so sending the user to ``--preset admin`` would loop."""
353
+ from fruxon.ui import hint_for_forbidden
354
+
355
+ msg = hint_for_forbidden(self._scope_error("keys:write"))
356
+ assert msg is not None
357
+ assert "dashboard" in msg
358
+ assert "--preset" not in msg
359
+
360
+ def test_keys_write_under_an_agent_is_relayed_to_the_user(self, monkeypatch):
361
+ from fruxon.ui import hint_for_forbidden
362
+
363
+ monkeypatch.setenv("FRUXON_AGENT_MODE", "1")
364
+ msg = hint_for_forbidden(self._scope_error("keys:write"))
365
+ assert msg is not None
366
+ assert "relay this to the user" in msg
367
+ assert "--token" not in msg
368
+
369
+ @pytest.mark.parametrize("required", ["drafts:write"])
351
370
  def test_agent_mode_says_escalation_is_the_users_call(self, monkeypatch, required):
352
371
  from fruxon.ui import hint_for_forbidden
353
372
 
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