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.
- {fruxon-2.2.2 → fruxon-2.2.4}/PKG-INFO +1 -1
- {fruxon-2.2.2 → fruxon-2.2.4}/src/fruxon/_version.py +2 -2
- {fruxon-2.2.2 → fruxon-2.2.4}/src/fruxon/cli/__init__.py +3 -0
- fruxon-2.2.4/src/fruxon/cli/_plugin_hint.py +25 -0
- {fruxon-2.2.2 → fruxon-2.2.4}/src/fruxon/cli/auth.py +10 -3
- {fruxon-2.2.2 → fruxon-2.2.4}/src/fruxon/skills/fruxon-agent-mode/SKILL.md +1 -1
- {fruxon-2.2.2 → fruxon-2.2.4}/tests/conftest.py +1 -0
- {fruxon-2.2.2 → fruxon-2.2.4}/tests/test_cli.py +12 -2
- fruxon-2.2.4/tests/test_plugin_hint.py +45 -0
- {fruxon-2.2.2 → fruxon-2.2.4}/.gitignore +0 -0
- {fruxon-2.2.2 → fruxon-2.2.4}/HISTORY.md +0 -0
- {fruxon-2.2.2 → fruxon-2.2.4}/LICENSE +0 -0
- {fruxon-2.2.2 → fruxon-2.2.4}/README.md +0 -0
- {fruxon-2.2.2 → fruxon-2.2.4}/pyproject.toml +0 -0
- {fruxon-2.2.2 → fruxon-2.2.4}/src/fruxon/__init__.py +0 -0
- {fruxon-2.2.2 → fruxon-2.2.4}/src/fruxon/__main__.py +0 -0
- {fruxon-2.2.2 → fruxon-2.2.4}/src/fruxon/_ssl.py +0 -0
- {fruxon-2.2.2 → fruxon-2.2.4}/src/fruxon/checks/__init__.py +0 -0
- {fruxon-2.2.2 → fruxon-2.2.4}/src/fruxon/checks/agent.py +0 -0
- {fruxon-2.2.2 → fruxon-2.2.4}/src/fruxon/checks/ledger.py +0 -0
- {fruxon-2.2.2 → fruxon-2.2.4}/src/fruxon/checks/references.py +0 -0
- {fruxon-2.2.2 → fruxon-2.2.4}/src/fruxon/cli/_crash.py +0 -0
- {fruxon-2.2.2 → fruxon-2.2.4}/src/fruxon/cli/_schema.py +0 -0
- {fruxon-2.2.2 → fruxon-2.2.4}/src/fruxon/cli/_shared.py +0 -0
- {fruxon-2.2.2 → fruxon-2.2.4}/src/fruxon/cli/_stream.py +0 -0
- {fruxon-2.2.2 → fruxon-2.2.4}/src/fruxon/cli/agents.py +0 -0
- {fruxon-2.2.2 → fruxon-2.2.4}/src/fruxon/cli/agents_approvals.py +0 -0
- {fruxon-2.2.2 → fruxon-2.2.4}/src/fruxon/cli/agents_budget.py +0 -0
- {fruxon-2.2.2 → fruxon-2.2.4}/src/fruxon/cli/agents_channels.py +0 -0
- {fruxon-2.2.2 → fruxon-2.2.4}/src/fruxon/cli/agents_draft.py +0 -0
- {fruxon-2.2.2 → fruxon-2.2.4}/src/fruxon/cli/agents_evaluations.py +0 -0
- {fruxon-2.2.2 → fruxon-2.2.4}/src/fruxon/cli/agents_executions.py +0 -0
- {fruxon-2.2.2 → fruxon-2.2.4}/src/fruxon/cli/agents_improvements.py +0 -0
- {fruxon-2.2.2 → fruxon-2.2.4}/src/fruxon/cli/agents_lifecycle.py +0 -0
- {fruxon-2.2.2 → fruxon-2.2.4}/src/fruxon/cli/agents_memory.py +0 -0
- {fruxon-2.2.2 → fruxon-2.2.4}/src/fruxon/cli/agents_reply_style.py +0 -0
- {fruxon-2.2.2 → fruxon-2.2.4}/src/fruxon/cli/agents_revisions.py +0 -0
- {fruxon-2.2.2 → fruxon-2.2.4}/src/fruxon/cli/agents_sandbox.py +0 -0
- {fruxon-2.2.2 → fruxon-2.2.4}/src/fruxon/cli/agents_sandbox_test.py +0 -0
- {fruxon-2.2.2 → fruxon-2.2.4}/src/fruxon/cli/agents_slots.py +0 -0
- {fruxon-2.2.2 → fruxon-2.2.4}/src/fruxon/cli/agents_system_blocks.py +0 -0
- {fruxon-2.2.2 → fruxon-2.2.4}/src/fruxon/cli/agents_tests.py +0 -0
- {fruxon-2.2.2 → fruxon-2.2.4}/src/fruxon/cli/agents_topics.py +0 -0
- {fruxon-2.2.2 → fruxon-2.2.4}/src/fruxon/cli/agents_voice_calls.py +0 -0
- {fruxon-2.2.2 → fruxon-2.2.4}/src/fruxon/cli/applications.py +0 -0
- {fruxon-2.2.2 → fruxon-2.2.4}/src/fruxon/cli/applications_entry_points.py +0 -0
- {fruxon-2.2.2 → fruxon-2.2.4}/src/fruxon/cli/assets.py +0 -0
- {fruxon-2.2.2 → fruxon-2.2.4}/src/fruxon/cli/capabilities.py +0 -0
- {fruxon-2.2.2 → fruxon-2.2.4}/src/fruxon/cli/completion.py +0 -0
- {fruxon-2.2.2 → fruxon-2.2.4}/src/fruxon/cli/config.py +0 -0
- {fruxon-2.2.2 → fruxon-2.2.4}/src/fruxon/cli/consult_pins.py +0 -0
- {fruxon-2.2.2 → fruxon-2.2.4}/src/fruxon/cli/conversation_imports.py +0 -0
- {fruxon-2.2.2 → fruxon-2.2.4}/src/fruxon/cli/dash.py +0 -0
- {fruxon-2.2.2 → fruxon-2.2.4}/src/fruxon/cli/describe.py +0 -0
- {fruxon-2.2.2 → fruxon-2.2.4}/src/fruxon/cli/doctor.py +0 -0
- {fruxon-2.2.2 → fruxon-2.2.4}/src/fruxon/cli/environments.py +0 -0
- {fruxon-2.2.2 → fruxon-2.2.4}/src/fruxon/cli/escalations.py +0 -0
- {fruxon-2.2.2 → fruxon-2.2.4}/src/fruxon/cli/examples.py +0 -0
- {fruxon-2.2.2 → fruxon-2.2.4}/src/fruxon/cli/guides.py +0 -0
- {fruxon-2.2.2 → fruxon-2.2.4}/src/fruxon/cli/integrations.py +0 -0
- {fruxon-2.2.2 → fruxon-2.2.4}/src/fruxon/cli/keys.py +0 -0
- {fruxon-2.2.2 → fruxon-2.2.4}/src/fruxon/cli/knowledge_bases.py +0 -0
- {fruxon-2.2.2 → fruxon-2.2.4}/src/fruxon/cli/knowledge_documents.py +0 -0
- {fruxon-2.2.2 → fruxon-2.2.4}/src/fruxon/cli/knowledge_notices.py +0 -0
- {fruxon-2.2.2 → fruxon-2.2.4}/src/fruxon/cli/knowledge_sources.py +0 -0
- {fruxon-2.2.2 → fruxon-2.2.4}/src/fruxon/cli/llm_providers.py +0 -0
- {fruxon-2.2.2 → fruxon-2.2.4}/src/fruxon/cli/messages.py +0 -0
- {fruxon-2.2.2 → fruxon-2.2.4}/src/fruxon/cli/metrics.py +0 -0
- {fruxon-2.2.2 → fruxon-2.2.4}/src/fruxon/cli/participants.py +0 -0
- {fruxon-2.2.2 → fruxon-2.2.4}/src/fruxon/cli/pipelines.py +0 -0
- {fruxon-2.2.2 → fruxon-2.2.4}/src/fruxon/cli/secrets.py +0 -0
- {fruxon-2.2.2 → fruxon-2.2.4}/src/fruxon/cli/skills.py +0 -0
- {fruxon-2.2.2 → fruxon-2.2.4}/src/fruxon/cli/storage.py +0 -0
- {fruxon-2.2.2 → fruxon-2.2.4}/src/fruxon/cli/tools.py +0 -0
- {fruxon-2.2.2 → fruxon-2.2.4}/src/fruxon/cli/triggers.py +0 -0
- {fruxon-2.2.2 → fruxon-2.2.4}/src/fruxon/cli/triggers_budget.py +0 -0
- {fruxon-2.2.2 → fruxon-2.2.4}/src/fruxon/cli/triggers_check.py +0 -0
- {fruxon-2.2.2 → fruxon-2.2.4}/src/fruxon/cli/triggers_ledger.py +0 -0
- {fruxon-2.2.2 → fruxon-2.2.4}/src/fruxon/cli/triggers_ledger_stage_tests.py +0 -0
- {fruxon-2.2.2 → fruxon-2.2.4}/src/fruxon/cli/triggers_questions.py +0 -0
- {fruxon-2.2.2 → fruxon-2.2.4}/src/fruxon/cli/triggers_shape.py +0 -0
- {fruxon-2.2.2 → fruxon-2.2.4}/src/fruxon/cli/workspaces.py +0 -0
- {fruxon-2.2.2 → fruxon-2.2.4}/src/fruxon/credentials.py +0 -0
- {fruxon-2.2.2 → fruxon-2.2.4}/src/fruxon/device_auth.py +0 -0
- {fruxon-2.2.2 → fruxon-2.2.4}/src/fruxon/doctor.py +0 -0
- {fruxon-2.2.2 → fruxon-2.2.4}/src/fruxon/exceptions.py +0 -0
- {fruxon-2.2.2 → fruxon-2.2.4}/src/fruxon/flow_validation.py +0 -0
- {fruxon-2.2.2 → fruxon-2.2.4}/src/fruxon/fruxon.py +0 -0
- {fruxon-2.2.2 → fruxon-2.2.4}/src/fruxon/models.py +0 -0
- {fruxon-2.2.2 → fruxon-2.2.4}/src/fruxon/output.py +0 -0
- {fruxon-2.2.2 → fruxon-2.2.4}/src/fruxon/params.py +0 -0
- {fruxon-2.2.2 → fruxon-2.2.4}/src/fruxon/sandbox_scenario.py +0 -0
- {fruxon-2.2.2 → fruxon-2.2.4}/src/fruxon/skills/__init__.py +0 -0
- {fruxon-2.2.2 → fruxon-2.2.4}/src/fruxon/skills/fruxon-build-agent/SKILL.md +0 -0
- {fruxon-2.2.2 → fruxon-2.2.4}/src/fruxon/skills/fruxon-create-integration/SKILL.md +0 -0
- {fruxon-2.2.2 → fruxon-2.2.4}/src/fruxon/skills/fruxon-debug-trace/SKILL.md +0 -0
- {fruxon-2.2.2 → fruxon-2.2.4}/src/fruxon/skills/fruxon-meet/SKILL.md +0 -0
- {fruxon-2.2.2 → fruxon-2.2.4}/src/fruxon/skills/fruxon-use-integrations/SKILL.md +0 -0
- {fruxon-2.2.2 → fruxon-2.2.4}/src/fruxon/telemetry.py +0 -0
- {fruxon-2.2.2 → fruxon-2.2.4}/src/fruxon/tui/__init__.py +0 -0
- {fruxon-2.2.2 → fruxon-2.2.4}/src/fruxon/tui/app.py +0 -0
- {fruxon-2.2.2 → fruxon-2.2.4}/src/fruxon/tui/demo.py +0 -0
- {fruxon-2.2.2 → fruxon-2.2.4}/src/fruxon/tui/links.py +0 -0
- {fruxon-2.2.2 → fruxon-2.2.4}/src/fruxon/tui/screens/__init__.py +0 -0
- {fruxon-2.2.2 → fruxon-2.2.4}/src/fruxon/tui/screens/agent.py +0 -0
- {fruxon-2.2.2 → fruxon-2.2.4}/src/fruxon/tui/screens/base.py +0 -0
- {fruxon-2.2.2 → fruxon-2.2.4}/src/fruxon/tui/screens/home.py +0 -0
- {fruxon-2.2.2 → fruxon-2.2.4}/src/fruxon/tui/screens/ledger.py +0 -0
- {fruxon-2.2.2 → fruxon-2.2.4}/src/fruxon/tui/screens/loader.py +0 -0
- {fruxon-2.2.2 → fruxon-2.2.4}/src/fruxon/tui/screens/pickers.py +0 -0
- {fruxon-2.2.2 → fruxon-2.2.4}/src/fruxon/tui/screens/trace.py +0 -0
- {fruxon-2.2.2 → fruxon-2.2.4}/src/fruxon/tui/source.py +0 -0
- {fruxon-2.2.2 → fruxon-2.2.4}/src/fruxon/tui/theme.py +0 -0
- {fruxon-2.2.2 → fruxon-2.2.4}/src/fruxon/tui/views.py +0 -0
- {fruxon-2.2.2 → fruxon-2.2.4}/src/fruxon/tui/widgets.py +0 -0
- {fruxon-2.2.2 → fruxon-2.2.4}/src/fruxon/ui.py +0 -0
- {fruxon-2.2.2 → fruxon-2.2.4}/src/fruxon/update_check.py +0 -0
- {fruxon-2.2.2 → fruxon-2.2.4}/src/fruxon/validation.py +0 -0
- {fruxon-2.2.2 → fruxon-2.2.4}/tests/.test_durations.json +0 -0
- {fruxon-2.2.2 → fruxon-2.2.4}/tests/__init__.py +0 -0
- {fruxon-2.2.2 → fruxon-2.2.4}/tests/test_actor.py +0 -0
- {fruxon-2.2.2 → fruxon-2.2.4}/tests/test_agent_lifecycle.py +0 -0
- {fruxon-2.2.2 → fruxon-2.2.4}/tests/test_agent_revisions_list.py +0 -0
- {fruxon-2.2.2 → fruxon-2.2.4}/tests/test_agent_slots.py +0 -0
- {fruxon-2.2.2 → fruxon-2.2.4}/tests/test_agents_check_cli.py +0 -0
- {fruxon-2.2.2 → fruxon-2.2.4}/tests/test_agents_revisions_cli.py +0 -0
- {fruxon-2.2.2 → fruxon-2.2.4}/tests/test_agents_sandbox.py +0 -0
- {fruxon-2.2.2 → fruxon-2.2.4}/tests/test_applications.py +0 -0
- {fruxon-2.2.2 → fruxon-2.2.4}/tests/test_approvals.py +0 -0
- {fruxon-2.2.2 → fruxon-2.2.4}/tests/test_assets.py +0 -0
- {fruxon-2.2.2 → fruxon-2.2.4}/tests/test_budgets.py +0 -0
- {fruxon-2.2.2 → fruxon-2.2.4}/tests/test_capabilities.py +0 -0
- {fruxon-2.2.2 → fruxon-2.2.4}/tests/test_channels.py +0 -0
- {fruxon-2.2.2 → fruxon-2.2.4}/tests/test_checks_agent.py +0 -0
- {fruxon-2.2.2 → fruxon-2.2.4}/tests/test_checks_ledger.py +0 -0
- {fruxon-2.2.2 → fruxon-2.2.4}/tests/test_cli_base_url_routing.py +0 -0
- {fruxon-2.2.2 → fruxon-2.2.4}/tests/test_cli_crash.py +0 -0
- {fruxon-2.2.2 → fruxon-2.2.4}/tests/test_cli_root_flags.py +0 -0
- {fruxon-2.2.2 → fruxon-2.2.4}/tests/test_client.py +0 -0
- {fruxon-2.2.2 → fruxon-2.2.4}/tests/test_connect_nudge.py +0 -0
- {fruxon-2.2.2 → fruxon-2.2.4}/tests/test_consult.py +0 -0
- {fruxon-2.2.2 → fruxon-2.2.4}/tests/test_conversation_imports.py +0 -0
- {fruxon-2.2.2 → fruxon-2.2.4}/tests/test_credentials.py +0 -0
- {fruxon-2.2.2 → fruxon-2.2.4}/tests/test_dash_app.py +0 -0
- {fruxon-2.2.2 → fruxon-2.2.4}/tests/test_dash_cli.py +0 -0
- {fruxon-2.2.2 → fruxon-2.2.4}/tests/test_dash_client.py +0 -0
- {fruxon-2.2.2 → fruxon-2.2.4}/tests/test_dash_links.py +0 -0
- {fruxon-2.2.2 → fruxon-2.2.4}/tests/test_dash_source.py +0 -0
- {fruxon-2.2.2 → fruxon-2.2.4}/tests/test_describe.py +0 -0
- {fruxon-2.2.2 → fruxon-2.2.4}/tests/test_device_auth.py +0 -0
- {fruxon-2.2.2 → fruxon-2.2.4}/tests/test_docs_commands_exist.py +0 -0
- {fruxon-2.2.2 → fruxon-2.2.4}/tests/test_doctor.py +0 -0
- {fruxon-2.2.2 → fruxon-2.2.4}/tests/test_draft_bootstrap.py +0 -0
- {fruxon-2.2.2 → fruxon-2.2.4}/tests/test_draft_evaluate_cli.py +0 -0
- {fruxon-2.2.2 → fruxon-2.2.4}/tests/test_draft_pull_shape.py +0 -0
- {fruxon-2.2.2 → fruxon-2.2.4}/tests/test_draft_run_replay.py +0 -0
- {fruxon-2.2.2 → fruxon-2.2.4}/tests/test_draft_validate_cli.py +0 -0
- {fruxon-2.2.2 → fruxon-2.2.4}/tests/test_drafts.py +0 -0
- {fruxon-2.2.2 → fruxon-2.2.4}/tests/test_entry_points.py +0 -0
- {fruxon-2.2.2 → fruxon-2.2.4}/tests/test_environments.py +0 -0
- {fruxon-2.2.2 → fruxon-2.2.4}/tests/test_escalations.py +0 -0
- {fruxon-2.2.2 → fruxon-2.2.4}/tests/test_evaluations.py +0 -0
- {fruxon-2.2.2 → fruxon-2.2.4}/tests/test_execution_records.py +0 -0
- {fruxon-2.2.2 → fruxon-2.2.4}/tests/test_flow_validation.py +0 -0
- {fruxon-2.2.2 → fruxon-2.2.4}/tests/test_fruxon.py +0 -0
- {fruxon-2.2.2 → fruxon-2.2.4}/tests/test_guides.py +0 -0
- {fruxon-2.2.2 → fruxon-2.2.4}/tests/test_improvements.py +0 -0
- {fruxon-2.2.2 → fruxon-2.2.4}/tests/test_integration_configs_write_cli.py +0 -0
- {fruxon-2.2.2 → fruxon-2.2.4}/tests/test_integration_triggers_cli.py +0 -0
- {fruxon-2.2.2 → fruxon-2.2.4}/tests/test_integrations_authorize_cli.py +0 -0
- {fruxon-2.2.2 → fruxon-2.2.4}/tests/test_integrations_connect_cli.py +0 -0
- {fruxon-2.2.2 → fruxon-2.2.4}/tests/test_kb_trial_cli.py +0 -0
- {fruxon-2.2.2 → fruxon-2.2.4}/tests/test_knowledge_bases.py +0 -0
- {fruxon-2.2.2 → fruxon-2.2.4}/tests/test_knowledge_documents.py +0 -0
- {fruxon-2.2.2 → fruxon-2.2.4}/tests/test_knowledge_notices.py +0 -0
- {fruxon-2.2.2 → fruxon-2.2.4}/tests/test_knowledge_sources.py +0 -0
- {fruxon-2.2.2 → fruxon-2.2.4}/tests/test_llm_provider_configs_cli.py +0 -0
- {fruxon-2.2.2 → fruxon-2.2.4}/tests/test_llm_providers_connect_cli.py +0 -0
- {fruxon-2.2.2 → fruxon-2.2.4}/tests/test_managed_by.py +0 -0
- {fruxon-2.2.2 → fruxon-2.2.4}/tests/test_memory.py +0 -0
- {fruxon-2.2.2 → fruxon-2.2.4}/tests/test_messages.py +0 -0
- {fruxon-2.2.2 → fruxon-2.2.4}/tests/test_metrics.py +0 -0
- {fruxon-2.2.2 → fruxon-2.2.4}/tests/test_online_llm_config_refs.py +0 -0
- {fruxon-2.2.2 → fruxon-2.2.4}/tests/test_online_prefetch_refs.py +0 -0
- {fruxon-2.2.2 → fruxon-2.2.4}/tests/test_online_secret_refs.py +0 -0
- {fruxon-2.2.2 → fruxon-2.2.4}/tests/test_output.py +0 -0
- {fruxon-2.2.2 → fruxon-2.2.4}/tests/test_params.py +0 -0
- {fruxon-2.2.2 → fruxon-2.2.4}/tests/test_participants.py +0 -0
- {fruxon-2.2.2 → fruxon-2.2.4}/tests/test_participants_write.py +0 -0
- {fruxon-2.2.2 → fruxon-2.2.4}/tests/test_pipelines.py +0 -0
- {fruxon-2.2.2 → fruxon-2.2.4}/tests/test_reply_style.py +0 -0
- {fruxon-2.2.2 → fruxon-2.2.4}/tests/test_sandbox_scenario.py +0 -0
- {fruxon-2.2.2 → fruxon-2.2.4}/tests/test_schema.py +0 -0
- {fruxon-2.2.2 → fruxon-2.2.4}/tests/test_schema_fetch.py +0 -0
- {fruxon-2.2.2 → fruxon-2.2.4}/tests/test_secrets.py +0 -0
- {fruxon-2.2.2 → fruxon-2.2.4}/tests/test_skills.py +0 -0
- {fruxon-2.2.2 → fruxon-2.2.4}/tests/test_ssl.py +0 -0
- {fruxon-2.2.2 → fruxon-2.2.4}/tests/test_storage.py +0 -0
- {fruxon-2.2.2 → fruxon-2.2.4}/tests/test_system_blocks.py +0 -0
- {fruxon-2.2.2 → fruxon-2.2.4}/tests/test_system_blocks_cli.py +0 -0
- {fruxon-2.2.2 → fruxon-2.2.4}/tests/test_telemetry.py +0 -0
- {fruxon-2.2.2 → fruxon-2.2.4}/tests/test_test_chats.py +0 -0
- {fruxon-2.2.2 → fruxon-2.2.4}/tests/test_topics.py +0 -0
- {fruxon-2.2.2 → fruxon-2.2.4}/tests/test_trigger_budgets.py +0 -0
- {fruxon-2.2.2 → fruxon-2.2.4}/tests/test_triggers.py +0 -0
- {fruxon-2.2.2 → fruxon-2.2.4}/tests/test_triggers_check_cli.py +0 -0
- {fruxon-2.2.2 → fruxon-2.2.4}/tests/test_triggers_ledger.py +0 -0
- {fruxon-2.2.2 → fruxon-2.2.4}/tests/test_triggers_ledger_batch_views.py +0 -0
- {fruxon-2.2.2 → fruxon-2.2.4}/tests/test_triggers_ledger_stage_tests.py +0 -0
- {fruxon-2.2.2 → fruxon-2.2.4}/tests/test_triggers_questions.py +0 -0
- {fruxon-2.2.2 → fruxon-2.2.4}/tests/test_triggers_shape.py +0 -0
- {fruxon-2.2.2 → fruxon-2.2.4}/tests/test_triggers_write.py +0 -0
- {fruxon-2.2.2 → fruxon-2.2.4}/tests/test_tui_boundary.py +0 -0
- {fruxon-2.2.2 → fruxon-2.2.4}/tests/test_ui.py +0 -0
- {fruxon-2.2.2 → fruxon-2.2.4}/tests/test_update_check.py +0 -0
- {fruxon-2.2.2 → fruxon-2.2.4}/tests/test_validation.py +0 -0
- {fruxon-2.2.2 → fruxon-2.2.4}/tests/test_voice_calls.py +0 -0
- {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.
|
|
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.
|
|
22
|
-
__version_tuple__ = version_tuple = (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
|
|
193
|
-
#
|
|
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=
|
|
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) |
|
|
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` |
|
|
@@ -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
|
-
|
|
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
|
-
|
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|