anthropic 1.77.0 → 1.78.0
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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +20 -0
- data/README.md +1 -1
- data/lib/anthropic/internal/stream.rb +1 -1
- data/lib/anthropic/internal/util.rb +5 -3
- data/lib/anthropic/models/beta/agent_create_params.rb +3 -3
- data/lib/anthropic/models/beta/agent_update_params.rb +3 -3
- data/lib/anthropic/models/beta/beta_managed_agents_agent.rb +3 -3
- data/lib/anthropic/models/beta/beta_managed_agents_multiagent.rb +43 -73
- data/lib/anthropic/models/beta/beta_managed_agents_multiagent20261001.rb +46 -0
- data/lib/anthropic/models/beta/beta_managed_agents_multiagent20261001_params.rb +67 -0
- data/lib/anthropic/models/beta/beta_managed_agents_multiagent_advisor.rb +57 -0
- data/lib/anthropic/models/beta/beta_managed_agents_multiagent_advisor_disabled.rb +21 -0
- data/lib/anthropic/models/beta/beta_managed_agents_multiagent_advisor_disabled_params.rb +21 -0
- data/lib/anthropic/models/beta/beta_managed_agents_multiagent_advisor_enabled.rb +29 -0
- data/lib/anthropic/models/beta/beta_managed_agents_multiagent_advisor_enabled_params.rb +34 -0
- data/lib/anthropic/models/beta/beta_managed_agents_multiagent_advisor_params.rb +61 -0
- data/lib/anthropic/models/beta/beta_managed_agents_multiagent_inline_agents.rb +57 -0
- data/lib/anthropic/models/beta/beta_managed_agents_multiagent_inline_agents_disabled.rb +21 -0
- data/lib/anthropic/models/beta/beta_managed_agents_multiagent_inline_agents_disabled_params.rb +22 -0
- data/lib/anthropic/models/beta/beta_managed_agents_multiagent_inline_agents_enabled.rb +21 -0
- data/lib/anthropic/models/beta/beta_managed_agents_multiagent_inline_agents_enabled_params.rb +22 -0
- data/lib/anthropic/models/beta/beta_managed_agents_multiagent_inline_agents_params.rb +57 -0
- data/lib/anthropic/models/beta/beta_managed_agents_multiagent_params.rb +44 -26
- data/lib/anthropic/models/beta/beta_managed_agents_multiagent_predefined_agent_params.rb +27 -0
- data/lib/anthropic/models/beta/beta_managed_agents_multiagent_subagents.rb +63 -0
- data/lib/anthropic/models/beta/beta_managed_agents_multiagent_subagents_disabled.rb +21 -0
- data/lib/anthropic/models/beta/beta_managed_agents_multiagent_subagents_disabled_params.rb +22 -0
- data/lib/anthropic/models/beta/beta_managed_agents_multiagent_subagents_enabled.rb +44 -0
- data/lib/anthropic/models/beta/beta_managed_agents_multiagent_subagents_enabled_params.rb +55 -0
- data/lib/anthropic/models/beta/beta_managed_agents_multiagent_subagents_params.rb +63 -0
- data/lib/anthropic/models/beta/beta_managed_agents_multiagent_workflows.rb +63 -0
- data/lib/anthropic/models/beta/beta_managed_agents_multiagent_workflows_disabled.rb +21 -0
- data/lib/anthropic/models/beta/beta_managed_agents_multiagent_workflows_disabled_params.rb +22 -0
- data/lib/anthropic/models/beta/beta_managed_agents_multiagent_workflows_enabled.rb +43 -0
- data/lib/anthropic/models/beta/beta_managed_agents_multiagent_workflows_enabled_params.rb +55 -0
- data/lib/anthropic/models/beta/beta_managed_agents_multiagent_workflows_params.rb +63 -0
- data/lib/anthropic/models/beta/beta_managed_agents_session_agent.rb +3 -7
- data/lib/anthropic/models/beta/beta_managed_agents_session_multiagent.rb +63 -0
- data/lib/anthropic/models/beta/beta_managed_agents_session_multiagent20261001.rb +46 -0
- data/lib/anthropic/models/beta/beta_managed_agents_session_multiagent_subagents.rb +63 -0
- data/lib/anthropic/models/beta/beta_managed_agents_session_multiagent_subagents_enabled.rb +45 -0
- data/lib/anthropic/models/beta/beta_managed_agents_session_multiagent_workflows.rb +63 -0
- data/lib/anthropic/models/beta/beta_managed_agents_session_multiagent_workflows_enabled.rb +44 -0
- data/lib/anthropic/models/beta/organization/analytics/artifact_list_params.rb +12 -10
- data/lib/anthropic/models/beta/organization/analytics/connector_list_params.rb +8 -6
- data/lib/anthropic/models/beta/organization/analytics/plugin_list_params.rb +15 -12
- data/lib/anthropic/models/beta/organization/analytics/skill_list_params.rb +10 -8
- data/lib/anthropic/models/beta/organization/analytics/user_list_params.rb +8 -4
- data/lib/anthropic/models/beta/organization/beta_analytics_artifact_activity.rb +9 -7
- data/lib/anthropic/models/beta/organization/beta_analytics_chat_cowork_unified_chat_metrics.rb +142 -0
- data/lib/anthropic/models/beta/organization/beta_analytics_chat_cowork_unified_sessions_metrics.rb +186 -0
- data/lib/anthropic/models/beta/organization/beta_analytics_connector_activity.rb +59 -8
- data/lib/anthropic/models/beta/organization/beta_analytics_connector_chat_cowork_unified_chat_metrics.rb +30 -0
- data/lib/anthropic/models/beta/organization/beta_analytics_connector_chat_cowork_unified_sessions_metrics.rb +30 -0
- data/lib/anthropic/models/beta/organization/beta_analytics_cost_bucketed_result.rb +7 -3
- data/lib/anthropic/models/beta/organization/beta_analytics_cost_users_item.rb +7 -3
- data/lib/anthropic/models/beta/organization/beta_analytics_plugin_activity.rb +52 -12
- data/lib/anthropic/models/beta/organization/beta_analytics_product_filter.rb +5 -1
- data/lib/anthropic/models/beta/organization/beta_analytics_project_activity.rb +9 -7
- data/lib/anthropic/models/beta/organization/beta_analytics_single_day_activity_summary.rb +31 -1
- data/lib/anthropic/models/beta/organization/beta_analytics_skill_activity.rb +57 -8
- data/lib/anthropic/models/beta/organization/beta_analytics_skill_chat_cowork_unified_chat_metrics.rb +30 -0
- data/lib/anthropic/models/beta/organization/beta_analytics_skill_chat_cowork_unified_sessions_metrics.rb +30 -0
- data/lib/anthropic/models/beta/organization/beta_analytics_usage_bucketed_result.rb +7 -3
- data/lib/anthropic/models/beta/organization/beta_analytics_usage_users_item.rb +7 -3
- data/lib/anthropic/models/beta/organization/beta_analytics_user_activity.rb +44 -1
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_inline_agent.rb +189 -0
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_max_workflow_runs_workflow_run_error.rb +35 -0
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_program_workflow_run_error.rb +34 -0
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_session_event.rb +61 -5
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_session_event_type.rb +7 -0
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_session_thread.rb +21 -6
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_session_thread_created_event.rb +14 -1
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_stream_session_events.rb +61 -5
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_stream_session_thread_events.rb +61 -5
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_thread_limit_workflow_run_error.rb +34 -0
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_timeout_workflow_run_error.rb +34 -0
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_unknown_workflow_run_error.rb +34 -0
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_workflow_run_created_event.rb +79 -0
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_workflow_run_error.rb +83 -0
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_workflow_run_error_event.rb +60 -0
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_workflow_run_phase.rb +43 -0
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_workflow_run_phase_ended_event.rb +70 -0
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_workflow_run_phase_started_event.rb +59 -0
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_workflow_run_result.rb +63 -0
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_workflow_run_result_completed.rb +22 -0
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_workflow_run_result_error.rb +29 -0
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_workflow_run_result_stopped.rb +21 -0
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_workflow_run_status_ended_event.rb +59 -0
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_workflow_run_status_idle_event.rb +52 -0
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_workflow_run_status_running_event.rb +52 -0
- data/lib/anthropic/models/beta/sessions/thread_list_params.rb +13 -1
- data/lib/anthropic/resources/beta/agents.rb +2 -2
- data/lib/anthropic/resources/beta/organization/spend_limits/effective.rb +2 -1
- data/lib/anthropic/resources/beta/organization/spend_limits.rb +3 -1
- data/lib/anthropic/resources/beta/sessions/events.rb +2 -2
- data/lib/anthropic/resources/beta/sessions/threads/events.rb +2 -2
- data/lib/anthropic/resources/beta/sessions/threads.rb +4 -2
- data/lib/anthropic/version.rb +1 -1
- data/lib/anthropic.rb +58 -0
- data/rbi/anthropic/models/beta/agent_create_params.rbi +18 -13
- data/rbi/anthropic/models/beta/agent_update_params.rbi +18 -13
- data/rbi/anthropic/models/beta/beta_managed_agents_agent.rbi +13 -10
- data/rbi/anthropic/models/beta/beta_managed_agents_multiagent.rbi +63 -137
- data/rbi/anthropic/models/beta/beta_managed_agents_multiagent20261001.rbi +94 -0
- data/rbi/anthropic/models/beta/beta_managed_agents_multiagent20261001_params.rbi +142 -0
- data/rbi/anthropic/models/beta/beta_managed_agents_multiagent_advisor.rbi +85 -0
- data/rbi/anthropic/models/beta/beta_managed_agents_multiagent_advisor_disabled.rbi +32 -0
- data/rbi/anthropic/models/beta/beta_managed_agents_multiagent_advisor_disabled_params.rbi +32 -0
- data/rbi/anthropic/models/beta/beta_managed_agents_multiagent_advisor_enabled.rbi +40 -0
- data/rbi/anthropic/models/beta/beta_managed_agents_multiagent_advisor_enabled_params.rbi +42 -0
- data/rbi/anthropic/models/beta/beta_managed_agents_multiagent_advisor_params.rbi +86 -0
- data/rbi/anthropic/models/beta/beta_managed_agents_multiagent_coordinator.rbi +4 -10
- data/rbi/anthropic/models/beta/beta_managed_agents_multiagent_inline_agents.rbi +82 -0
- data/rbi/anthropic/models/beta/beta_managed_agents_multiagent_inline_agents_disabled.rbi +32 -0
- data/rbi/anthropic/models/beta/beta_managed_agents_multiagent_inline_agents_disabled_params.rbi +32 -0
- data/rbi/anthropic/models/beta/beta_managed_agents_multiagent_inline_agents_enabled.rbi +32 -0
- data/rbi/anthropic/models/beta/beta_managed_agents_multiagent_inline_agents_enabled_params.rbi +32 -0
- data/rbi/anthropic/models/beta/beta_managed_agents_multiagent_inline_agents_params.rbi +82 -0
- data/rbi/anthropic/models/beta/beta_managed_agents_multiagent_params.rbi +81 -79
- data/rbi/anthropic/models/beta/beta_managed_agents_multiagent_predefined_agent_params.rbi +36 -0
- data/rbi/anthropic/models/beta/beta_managed_agents_multiagent_subagents.rbi +95 -0
- data/rbi/anthropic/models/beta/beta_managed_agents_multiagent_subagents_disabled.rbi +32 -0
- data/rbi/anthropic/models/beta/beta_managed_agents_multiagent_subagents_disabled_params.rbi +32 -0
- data/rbi/anthropic/models/beta/beta_managed_agents_multiagent_subagents_enabled.rbi +79 -0
- data/rbi/anthropic/models/beta/beta_managed_agents_multiagent_subagents_enabled_params.rbi +122 -0
- data/rbi/anthropic/models/beta/beta_managed_agents_multiagent_subagents_params.rbi +107 -0
- data/rbi/anthropic/models/beta/beta_managed_agents_multiagent_workflows.rbi +94 -0
- data/rbi/anthropic/models/beta/beta_managed_agents_multiagent_workflows_disabled.rbi +32 -0
- data/rbi/anthropic/models/beta/beta_managed_agents_multiagent_workflows_disabled_params.rbi +32 -0
- data/rbi/anthropic/models/beta/beta_managed_agents_multiagent_workflows_enabled.rbi +77 -0
- data/rbi/anthropic/models/beta/beta_managed_agents_multiagent_workflows_enabled_params.rbi +121 -0
- data/rbi/anthropic/models/beta/beta_managed_agents_multiagent_workflows_params.rbi +106 -0
- data/rbi/anthropic/models/beta/beta_managed_agents_session_agent.rbi +7 -14
- data/rbi/anthropic/models/beta/beta_managed_agents_session_multiagent.rbi +112 -0
- data/rbi/anthropic/models/beta/beta_managed_agents_session_multiagent20261001.rbi +94 -0
- data/rbi/anthropic/models/beta/beta_managed_agents_session_multiagent_subagents.rbi +97 -0
- data/rbi/anthropic/models/beta/beta_managed_agents_session_multiagent_subagents_enabled.rbi +81 -0
- data/rbi/anthropic/models/beta/beta_managed_agents_session_multiagent_workflows.rbi +96 -0
- data/rbi/anthropic/models/beta/beta_managed_agents_session_multiagent_workflows_enabled.rbi +79 -0
- data/rbi/anthropic/models/beta/organization/analytics/artifact_list_params.rbi +24 -20
- data/rbi/anthropic/models/beta/organization/analytics/connector_list_params.rbi +16 -12
- data/rbi/anthropic/models/beta/organization/analytics/plugin_list_params.rbi +30 -24
- data/rbi/anthropic/models/beta/organization/analytics/skill_list_params.rbi +20 -16
- data/rbi/anthropic/models/beta/organization/analytics/user_list_params.rbi +16 -8
- data/rbi/anthropic/models/beta/organization/beta_analytics_artifact_activity.rbi +18 -14
- data/rbi/anthropic/models/beta/organization/beta_analytics_chat_cowork_unified_chat_metrics.rbi +189 -0
- data/rbi/anthropic/models/beta/organization/beta_analytics_chat_cowork_unified_sessions_metrics.rbi +236 -0
- data/rbi/anthropic/models/beta/organization/beta_analytics_connector_activity.rbi +136 -14
- data/rbi/anthropic/models/beta/organization/beta_analytics_connector_chat_cowork_unified_chat_metrics.rbi +50 -0
- data/rbi/anthropic/models/beta/organization/beta_analytics_connector_chat_cowork_unified_sessions_metrics.rbi +50 -0
- data/rbi/anthropic/models/beta/organization/beta_analytics_cost_bucketed_result.rbi +14 -6
- data/rbi/anthropic/models/beta/organization/beta_analytics_cost_users_item.rbi +14 -6
- data/rbi/anthropic/models/beta/organization/beta_analytics_plugin_activity.rbi +99 -18
- data/rbi/anthropic/models/beta/organization/beta_analytics_product_filter.rbi +9 -1
- data/rbi/anthropic/models/beta/organization/beta_analytics_project_activity.rbi +18 -14
- data/rbi/anthropic/models/beta/organization/beta_analytics_single_day_activity_summary.rbi +38 -0
- data/rbi/anthropic/models/beta/organization/beta_analytics_skill_activity.rbi +136 -14
- data/rbi/anthropic/models/beta/organization/beta_analytics_skill_chat_cowork_unified_chat_metrics.rbi +50 -0
- data/rbi/anthropic/models/beta/organization/beta_analytics_skill_chat_cowork_unified_sessions_metrics.rbi +50 -0
- data/rbi/anthropic/models/beta/organization/beta_analytics_usage_bucketed_result.rbi +14 -6
- data/rbi/anthropic/models/beta/organization/beta_analytics_usage_users_item.rbi +14 -6
- data/rbi/anthropic/models/beta/organization/beta_analytics_user_activity.rbi +113 -0
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_inline_agent.rbi +325 -0
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_max_workflow_runs_workflow_run_error.rbi +44 -0
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_program_workflow_run_error.rbi +43 -0
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_session_event.rbi +92 -18
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_session_event_type.rbi +35 -0
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_session_thread.rbi +23 -5
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_session_thread_created_event.rbi +13 -3
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_stream_session_events.rbi +92 -18
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_stream_session_thread_events.rbi +92 -18
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_thread_limit_workflow_run_error.rbi +43 -0
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_timeout_workflow_run_error.rbi +43 -0
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_unknown_workflow_run_error.rbi +43 -0
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_workflow_run_created_event.rbi +111 -0
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_workflow_run_error.rbi +105 -0
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_workflow_run_error_event.rbi +91 -0
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_workflow_run_phase.rbi +59 -0
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_workflow_run_phase_ended_event.rbi +90 -0
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_workflow_run_phase_started_event.rbi +79 -0
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_workflow_run_result.rbi +97 -0
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_workflow_run_result_completed.rbi +32 -0
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_workflow_run_result_error.rbi +63 -0
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_workflow_run_result_stopped.rbi +31 -0
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_workflow_run_status_ended_event.rbi +88 -0
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_workflow_run_status_idle_event.rbi +71 -0
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_workflow_run_status_running_event.rbi +71 -0
- data/rbi/anthropic/models/beta/sessions/thread_list_params.rbi +38 -0
- data/rbi/anthropic/resources/beta/agents.rbi +8 -2
- data/rbi/anthropic/resources/beta/organization/analytics/artifacts.rbi +12 -10
- data/rbi/anthropic/resources/beta/organization/analytics/connectors.rbi +8 -6
- data/rbi/anthropic/resources/beta/organization/analytics/plugins.rbi +15 -12
- data/rbi/anthropic/resources/beta/organization/analytics/skills.rbi +10 -8
- data/rbi/anthropic/resources/beta/organization/analytics/users.rbi +8 -4
- data/rbi/anthropic/resources/beta/organization/spend_limits/effective.rbi +2 -1
- data/rbi/anthropic/resources/beta/organization/spend_limits.rbi +3 -1
- data/rbi/anthropic/resources/beta/sessions/threads.rbi +9 -0
- data/sig/anthropic/models/beta/agent_create_params.rbs +4 -4
- data/sig/anthropic/models/beta/agent_update_params.rbs +4 -4
- data/sig/anthropic/models/beta/beta_managed_agents_agent.rbs +4 -4
- data/sig/anthropic/models/beta/beta_managed_agents_multiagent.rbs +29 -59
- data/sig/anthropic/models/beta/beta_managed_agents_multiagent20261001.rbs +39 -0
- data/sig/anthropic/models/beta/beta_managed_agents_multiagent20261001_params.rbs +39 -0
- data/sig/anthropic/models/beta/beta_managed_agents_multiagent_advisor.rbs +42 -0
- data/sig/anthropic/models/beta/beta_managed_agents_multiagent_advisor_disabled.rbs +17 -0
- data/sig/anthropic/models/beta/beta_managed_agents_multiagent_advisor_disabled_params.rbs +18 -0
- data/sig/anthropic/models/beta/beta_managed_agents_multiagent_advisor_enabled.rbs +20 -0
- data/sig/anthropic/models/beta/beta_managed_agents_multiagent_advisor_enabled_params.rbs +20 -0
- data/sig/anthropic/models/beta/beta_managed_agents_multiagent_advisor_params.rbs +42 -0
- data/sig/anthropic/models/beta/beta_managed_agents_multiagent_inline_agents.rbs +40 -0
- data/sig/anthropic/models/beta/beta_managed_agents_multiagent_inline_agents_disabled.rbs +18 -0
- data/sig/anthropic/models/beta/beta_managed_agents_multiagent_inline_agents_disabled_params.rbs +18 -0
- data/sig/anthropic/models/beta/beta_managed_agents_multiagent_inline_agents_enabled.rbs +18 -0
- data/sig/anthropic/models/beta/beta_managed_agents_multiagent_inline_agents_enabled_params.rbs +18 -0
- data/sig/anthropic/models/beta/beta_managed_agents_multiagent_inline_agents_params.rbs +40 -0
- data/sig/anthropic/models/beta/beta_managed_agents_multiagent_params.rbs +29 -20
- data/sig/anthropic/models/beta/beta_managed_agents_multiagent_predefined_agent_params.rbs +18 -0
- data/sig/anthropic/models/beta/beta_managed_agents_multiagent_subagents.rbs +44 -0
- data/sig/anthropic/models/beta/beta_managed_agents_multiagent_subagents_disabled.rbs +18 -0
- data/sig/anthropic/models/beta/beta_managed_agents_multiagent_subagents_disabled_params.rbs +18 -0
- data/sig/anthropic/models/beta/beta_managed_agents_multiagent_subagents_enabled.rbs +34 -0
- data/sig/anthropic/models/beta/beta_managed_agents_multiagent_subagents_enabled_params.rbs +34 -0
- data/sig/anthropic/models/beta/beta_managed_agents_multiagent_subagents_params.rbs +44 -0
- data/sig/anthropic/models/beta/beta_managed_agents_multiagent_workflows.rbs +44 -0
- data/sig/anthropic/models/beta/beta_managed_agents_multiagent_workflows_disabled.rbs +18 -0
- data/sig/anthropic/models/beta/beta_managed_agents_multiagent_workflows_disabled_params.rbs +18 -0
- data/sig/anthropic/models/beta/beta_managed_agents_multiagent_workflows_enabled.rbs +34 -0
- data/sig/anthropic/models/beta/beta_managed_agents_multiagent_workflows_enabled_params.rbs +34 -0
- data/sig/anthropic/models/beta/beta_managed_agents_multiagent_workflows_params.rbs +44 -0
- data/sig/anthropic/models/beta/beta_managed_agents_session_agent.rbs +4 -4
- data/sig/anthropic/models/beta/beta_managed_agents_session_multiagent.rbs +48 -0
- data/sig/anthropic/models/beta/beta_managed_agents_session_multiagent20261001.rbs +39 -0
- data/sig/anthropic/models/beta/beta_managed_agents_session_multiagent_subagents.rbs +44 -0
- data/sig/anthropic/models/beta/beta_managed_agents_session_multiagent_subagents_enabled.rbs +34 -0
- data/sig/anthropic/models/beta/beta_managed_agents_session_multiagent_workflows.rbs +44 -0
- data/sig/anthropic/models/beta/beta_managed_agents_session_multiagent_workflows_enabled.rbs +34 -0
- data/sig/anthropic/models/beta/organization/beta_analytics_chat_cowork_unified_chat_metrics.rbs +79 -0
- data/sig/anthropic/models/beta/organization/beta_analytics_chat_cowork_unified_sessions_metrics.rbs +104 -0
- data/sig/anthropic/models/beta/organization/beta_analytics_connector_activity.rbs +27 -0
- data/sig/anthropic/models/beta/organization/beta_analytics_connector_chat_cowork_unified_chat_metrics.rbs +22 -0
- data/sig/anthropic/models/beta/organization/beta_analytics_connector_chat_cowork_unified_sessions_metrics.rbs +20 -0
- data/sig/anthropic/models/beta/organization/beta_analytics_plugin_activity.rbs +18 -0
- data/sig/anthropic/models/beta/organization/beta_analytics_product_filter.rbs +2 -0
- data/sig/anthropic/models/beta/organization/beta_analytics_single_day_activity_summary.rbs +15 -0
- data/sig/anthropic/models/beta/organization/beta_analytics_skill_activity.rbs +27 -0
- data/sig/anthropic/models/beta/organization/beta_analytics_skill_chat_cowork_unified_chat_metrics.rbs +20 -0
- data/sig/anthropic/models/beta/organization/beta_analytics_skill_chat_cowork_unified_sessions_metrics.rbs +18 -0
- data/sig/anthropic/models/beta/organization/beta_analytics_user_activity.rbs +27 -0
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_inline_agent.rbs +152 -0
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_max_workflow_runs_workflow_run_error.rbs +23 -0
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_program_workflow_run_error.rbs +20 -0
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_session_event.rbs +85 -5
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_session_event_type.rbs +14 -0
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_session_thread.rbs +25 -6
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_session_thread_created_event.rbs +8 -3
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_stream_session_events.rbs +85 -5
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_stream_session_thread_events.rbs +85 -5
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_thread_limit_workflow_run_error.rbs +20 -0
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_timeout_workflow_run_error.rbs +20 -0
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_unknown_workflow_run_error.rbs +20 -0
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_workflow_run_created_event.rbs +54 -0
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_workflow_run_error.rbs +66 -0
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_workflow_run_error_event.rbs +44 -0
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_workflow_run_phase.rbs +26 -0
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_workflow_run_phase_ended_event.rbs +49 -0
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_workflow_run_phase_started_event.rbs +44 -0
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_workflow_run_result.rbs +47 -0
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_workflow_run_result_completed.rbs +18 -0
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_workflow_run_result_error.rbs +29 -0
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_workflow_run_result_stopped.rbs +18 -0
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_workflow_run_status_ended_event.rbs +44 -0
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_workflow_run_status_idle_event.rbs +39 -0
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_workflow_run_status_running_event.rbs +39 -0
- data/sig/anthropic/models/beta/sessions/thread_list_params.rbs +9 -0
- data/sig/anthropic/resources/beta/agents.rbs +2 -2
- data/sig/anthropic/resources/beta/sessions/threads.rbs +1 -0
- metadata +176 -2
|
@@ -37,23 +37,26 @@ module Anthropic
|
|
|
37
37
|
# param for OR within a dimension and across dimensions for AND. Supported
|
|
38
38
|
# dimensions on this endpoint: `plugin_name`, `product`, `rbac_group_id`,
|
|
39
39
|
# `user_id`. Value forms: `plugin_name` matches case-insensitively; `product` is
|
|
40
|
-
# `claude_code
|
|
41
|
-
# `rbac_group_id` takes the tagged id (`rbac_group_...`, as emitted
|
|
42
|
-
# and by the spend-limits API) or a bare group UUID, and matches
|
|
43
|
-
# the group at any point during each covered UTC day (time-of-usage
|
|
44
|
-
# `user_id` takes a tagged user id (`user_...`), as emitted in
|
|
45
|
-
# unsupported dimension returns 400. At most 100 entries.
|
|
40
|
+
# `chat_cowork_unified`, `claude_code`, or `cowork` (the only surfaces with plugin
|
|
41
|
+
# attribution); `rbac_group_id` takes the tagged id (`rbac_group_...`, as emitted
|
|
42
|
+
# in responses and by the spend-limits API) or a bare group UUID, and matches
|
|
43
|
+
# users who held the group at any point during each covered UTC day (time-of-usage
|
|
44
|
+
# attribution); `user_id` takes a tagged user id (`user_...`), as emitted in
|
|
45
|
+
# responses. An unsupported dimension returns 400. At most 100 entries.
|
|
46
|
+
# `chat_cowork_unified` is accepted as a `product` value only on deployments that
|
|
47
|
+
# offer Chat and Cowork unified.
|
|
46
48
|
sig { returns(T.nilable(T::Array[String])) }
|
|
47
49
|
attr_accessor :filter
|
|
48
50
|
|
|
49
51
|
# Dimensions to break results out by (e.g. `group_by[]=user_id`). Supported on
|
|
50
52
|
# this endpoint: `product`, `rbac_group_id`, `user_id`. On this endpoint `product`
|
|
51
|
-
# takes the values `claude_code
|
|
52
|
-
# attribution). Grouped rows carry the requested dimension
|
|
53
|
-
# fields and paginate like ungrouped responses via
|
|
54
|
-
# dimension returns 400. `rbac_group_id` attributes a
|
|
55
|
-
# held at any point during each covered UTC day, so
|
|
56
|
-
# exclusive partition and can sum above org-level totals.
|
|
53
|
+
# takes the values `chat_cowork_unified`, `claude_code`, or `cowork` only (the
|
|
54
|
+
# surfaces with plugin attribution). Grouped rows carry the requested dimension
|
|
55
|
+
# values as additional fields and paginate like ungrouped responses via
|
|
56
|
+
# `next_page`; an unsupported dimension returns 400. `rbac_group_id` attributes a
|
|
57
|
+
# user to every group they held at any point during each covered UTC day, so
|
|
58
|
+
# grouped rows are not an exclusive partition and can sum above org-level totals.
|
|
59
|
+
# At most 100 entries.
|
|
57
60
|
sig do
|
|
58
61
|
returns(
|
|
59
62
|
T.nilable(
|
|
@@ -145,21 +148,24 @@ module Anthropic
|
|
|
145
148
|
# param for OR within a dimension and across dimensions for AND. Supported
|
|
146
149
|
# dimensions on this endpoint: `plugin_name`, `product`, `rbac_group_id`,
|
|
147
150
|
# `user_id`. Value forms: `plugin_name` matches case-insensitively; `product` is
|
|
148
|
-
# `claude_code
|
|
149
|
-
# `rbac_group_id` takes the tagged id (`rbac_group_...`, as emitted
|
|
150
|
-
# and by the spend-limits API) or a bare group UUID, and matches
|
|
151
|
-
# the group at any point during each covered UTC day (time-of-usage
|
|
152
|
-
# `user_id` takes a tagged user id (`user_...`), as emitted in
|
|
153
|
-
# unsupported dimension returns 400. At most 100 entries.
|
|
151
|
+
# `chat_cowork_unified`, `claude_code`, or `cowork` (the only surfaces with plugin
|
|
152
|
+
# attribution); `rbac_group_id` takes the tagged id (`rbac_group_...`, as emitted
|
|
153
|
+
# in responses and by the spend-limits API) or a bare group UUID, and matches
|
|
154
|
+
# users who held the group at any point during each covered UTC day (time-of-usage
|
|
155
|
+
# attribution); `user_id` takes a tagged user id (`user_...`), as emitted in
|
|
156
|
+
# responses. An unsupported dimension returns 400. At most 100 entries.
|
|
157
|
+
# `chat_cowork_unified` is accepted as a `product` value only on deployments that
|
|
158
|
+
# offer Chat and Cowork unified.
|
|
154
159
|
filter: nil,
|
|
155
160
|
# Dimensions to break results out by (e.g. `group_by[]=user_id`). Supported on
|
|
156
161
|
# this endpoint: `product`, `rbac_group_id`, `user_id`. On this endpoint `product`
|
|
157
|
-
# takes the values `claude_code
|
|
158
|
-
# attribution). Grouped rows carry the requested dimension
|
|
159
|
-
# fields and paginate like ungrouped responses via
|
|
160
|
-
# dimension returns 400. `rbac_group_id` attributes a
|
|
161
|
-
# held at any point during each covered UTC day, so
|
|
162
|
-
# exclusive partition and can sum above org-level totals.
|
|
162
|
+
# takes the values `chat_cowork_unified`, `claude_code`, or `cowork` only (the
|
|
163
|
+
# surfaces with plugin attribution). Grouped rows carry the requested dimension
|
|
164
|
+
# values as additional fields and paginate like ungrouped responses via
|
|
165
|
+
# `next_page`; an unsupported dimension returns 400. `rbac_group_id` attributes a
|
|
166
|
+
# user to every group they held at any point during each covered UTC day, so
|
|
167
|
+
# grouped rows are not an exclusive partition and can sum above org-level totals.
|
|
168
|
+
# At most 100 entries.
|
|
163
169
|
group_by: nil,
|
|
164
170
|
# Number of results per page (1-1000, default 100).
|
|
165
171
|
limit: nil,
|
|
@@ -36,14 +36,16 @@ module Anthropic
|
|
|
36
36
|
# Filters as `dimension:value`, e.g. `filter[]=rbac_group_id:{id}`. Repeat the
|
|
37
37
|
# param for OR within a dimension and across dimensions for AND. Supported
|
|
38
38
|
# dimensions on this endpoint: `product`, `rbac_group_id`, `share_status`,
|
|
39
|
-
# `skill_name`, `user_id`. Value forms: `product` is one of `
|
|
40
|
-
# `cowork`, or `office_agent`; `rbac_group_id` takes the
|
|
41
|
-
# (`rbac_group_...`, as emitted in responses and by the spend-limits
|
|
42
|
-
# bare group UUID, and matches users who held the group at any point
|
|
43
|
-
# covered UTC day (time-of-usage attribution); `share_status` is one
|
|
44
|
-
# `organization`, `private`, or `public`; `skill_name` matches
|
|
45
|
-
# `user_id` takes a tagged user id (`user_...`), as emitted in
|
|
46
|
-
# unsupported dimension returns 400. At most 100 entries.
|
|
39
|
+
# `skill_name`, `user_id`. Value forms: `product` is one of `chat_cowork_unified`,
|
|
40
|
+
# `chat`, `claude_code`, `cowork`, or `office_agent`; `rbac_group_id` takes the
|
|
41
|
+
# tagged id (`rbac_group_...`, as emitted in responses and by the spend-limits
|
|
42
|
+
# API) or a bare group UUID, and matches users who held the group at any point
|
|
43
|
+
# during each covered UTC day (time-of-usage attribution); `share_status` is one
|
|
44
|
+
# of `organization`, `private`, or `public`; `skill_name` matches
|
|
45
|
+
# case-insensitively; `user_id` takes a tagged user id (`user_...`), as emitted in
|
|
46
|
+
# responses. An unsupported dimension returns 400. At most 100 entries.
|
|
47
|
+
# `chat_cowork_unified` is accepted as a `product` value only on deployments that
|
|
48
|
+
# offer Chat and Cowork unified.
|
|
47
49
|
sig { returns(T.nilable(T::Array[String])) }
|
|
48
50
|
attr_accessor :filter
|
|
49
51
|
|
|
@@ -144,14 +146,16 @@ module Anthropic
|
|
|
144
146
|
# Filters as `dimension:value`, e.g. `filter[]=rbac_group_id:{id}`. Repeat the
|
|
145
147
|
# param for OR within a dimension and across dimensions for AND. Supported
|
|
146
148
|
# dimensions on this endpoint: `product`, `rbac_group_id`, `share_status`,
|
|
147
|
-
# `skill_name`, `user_id`. Value forms: `product` is one of `
|
|
148
|
-
# `cowork`, or `office_agent`; `rbac_group_id` takes the
|
|
149
|
-
# (`rbac_group_...`, as emitted in responses and by the spend-limits
|
|
150
|
-
# bare group UUID, and matches users who held the group at any point
|
|
151
|
-
# covered UTC day (time-of-usage attribution); `share_status` is one
|
|
152
|
-
# `organization`, `private`, or `public`; `skill_name` matches
|
|
153
|
-
# `user_id` takes a tagged user id (`user_...`), as emitted in
|
|
154
|
-
# unsupported dimension returns 400. At most 100 entries.
|
|
149
|
+
# `skill_name`, `user_id`. Value forms: `product` is one of `chat_cowork_unified`,
|
|
150
|
+
# `chat`, `claude_code`, `cowork`, or `office_agent`; `rbac_group_id` takes the
|
|
151
|
+
# tagged id (`rbac_group_...`, as emitted in responses and by the spend-limits
|
|
152
|
+
# API) or a bare group UUID, and matches users who held the group at any point
|
|
153
|
+
# during each covered UTC day (time-of-usage attribution); `share_status` is one
|
|
154
|
+
# of `organization`, `private`, or `public`; `skill_name` matches
|
|
155
|
+
# case-insensitively; `user_id` takes a tagged user id (`user_...`), as emitted in
|
|
156
|
+
# responses. An unsupported dimension returns 400. At most 100 entries.
|
|
157
|
+
# `chat_cowork_unified` is accepted as a `product` value only on deployments that
|
|
158
|
+
# offer Chat and Cowork unified.
|
|
155
159
|
filter: nil,
|
|
156
160
|
# Dimensions to break results out by (e.g. `group_by[]=user_id`). Supported on
|
|
157
161
|
# this endpoint: `product`, `rbac_group_id`, `user_id`. Grouped rows carry the
|
|
@@ -36,14 +36,18 @@ module Anthropic
|
|
|
36
36
|
# Filters as `dimension:value`, e.g. `filter[]=rbac_group_id:{id}`. Repeat the
|
|
37
37
|
# param for OR within a dimension and across dimensions for AND. Supported
|
|
38
38
|
# dimensions on this endpoint: `project_id`, `rbac_group_id`, `user_id`. Value
|
|
39
|
-
# forms: `project_id` takes a tagged project id (`claude_proj_...`)
|
|
40
|
-
# each member's row to their claude.ai chat activity within that project (it
|
|
41
|
-
# cannot be combined with `group_by[]` or an `rbac_group_id` filter);
|
|
39
|
+
# forms: `project_id` takes a tagged project id (`claude_proj_...`);
|
|
42
40
|
# `rbac_group_id` takes the tagged id (`rbac_group_...`, as emitted in responses
|
|
43
41
|
# and by the spend-limits API) or a bare group UUID, and matches users who held
|
|
44
42
|
# the group at any point during each covered UTC day (time-of-usage attribution);
|
|
45
43
|
# `user_id` takes a tagged user id (`user_...`), as emitted in responses. An
|
|
46
|
-
# unsupported dimension returns 400. At most 100 entries.
|
|
44
|
+
# unsupported dimension returns 400. At most 100 entries. A `project_id` filter
|
|
45
|
+
# limits each member's row to their claude.ai chat activity in that project and
|
|
46
|
+
# cannot be combined with `group_by[]` or an `rbac_group_id` filter. On these
|
|
47
|
+
# rows, every count in `chat_cowork_unified_metrics.sessions` is 0, because
|
|
48
|
+
# sessions are not measured per project. On any day a member sent a chat message
|
|
49
|
+
# in Chat and Cowork unified, all of that member's project activity for the day is
|
|
50
|
+
# counted in `chat_cowork_unified_metrics.chat` instead of `chat_metrics`.
|
|
47
51
|
sig { returns(T.nilable(T::Array[String])) }
|
|
48
52
|
attr_accessor :filter
|
|
49
53
|
|
|
@@ -145,14 +149,18 @@ module Anthropic
|
|
|
145
149
|
# Filters as `dimension:value`, e.g. `filter[]=rbac_group_id:{id}`. Repeat the
|
|
146
150
|
# param for OR within a dimension and across dimensions for AND. Supported
|
|
147
151
|
# dimensions on this endpoint: `project_id`, `rbac_group_id`, `user_id`. Value
|
|
148
|
-
# forms: `project_id` takes a tagged project id (`claude_proj_...`)
|
|
149
|
-
# each member's row to their claude.ai chat activity within that project (it
|
|
150
|
-
# cannot be combined with `group_by[]` or an `rbac_group_id` filter);
|
|
152
|
+
# forms: `project_id` takes a tagged project id (`claude_proj_...`);
|
|
151
153
|
# `rbac_group_id` takes the tagged id (`rbac_group_...`, as emitted in responses
|
|
152
154
|
# and by the spend-limits API) or a bare group UUID, and matches users who held
|
|
153
155
|
# the group at any point during each covered UTC day (time-of-usage attribution);
|
|
154
156
|
# `user_id` takes a tagged user id (`user_...`), as emitted in responses. An
|
|
155
|
-
# unsupported dimension returns 400. At most 100 entries.
|
|
157
|
+
# unsupported dimension returns 400. At most 100 entries. A `project_id` filter
|
|
158
|
+
# limits each member's row to their claude.ai chat activity in that project and
|
|
159
|
+
# cannot be combined with `group_by[]` or an `rbac_group_id` filter. On these
|
|
160
|
+
# rows, every count in `chat_cowork_unified_metrics.sessions` is 0, because
|
|
161
|
+
# sessions are not measured per project. On any day a member sent a chat message
|
|
162
|
+
# in Chat and Cowork unified, all of that member's project activity for the day is
|
|
163
|
+
# counted in `chat_cowork_unified_metrics.chat` instead of `chat_metrics`.
|
|
156
164
|
filter: nil,
|
|
157
165
|
# Dimensions to break results out by (e.g. `group_by[]=rbac_group_id`). Supported
|
|
158
166
|
# on this endpoint: `rbac_group_id`. Rows are already per-member, so the one
|
|
@@ -41,13 +41,15 @@ module Anthropic
|
|
|
41
41
|
attr_accessor :published_artifacts_created_count
|
|
42
42
|
|
|
43
43
|
# Product that produced this row's activity: one of `chat`, `claude_code`,
|
|
44
|
-
# `cowork`, or `
|
|
45
|
-
#
|
|
46
|
-
#
|
|
47
|
-
#
|
|
48
|
-
#
|
|
49
|
-
#
|
|
50
|
-
#
|
|
44
|
+
# `cowork`, `office_agent`, or `chat_cowork_unified` (Chat and Cowork unified).
|
|
45
|
+
# These are the canonical Cost & Usage product names; an `office_agent` row's
|
|
46
|
+
# per-surface breakdown is in its `office_metrics`. On `/plugins` only `cowork`,
|
|
47
|
+
# `claude_code` and `chat_cowork_unified` occur (the only surfaces with plugin
|
|
48
|
+
# attribution); on `/artifacts` only `chat`, `claude_code`, `cowork` and
|
|
49
|
+
# `chat_cowork_unified` occur (the surfaces that create artifacts);
|
|
50
|
+
# `/apps/chat/projects` does not support the product dimension (a `product` entry
|
|
51
|
+
# in `group_by[]` or `filter[]` there is rejected). Present only when the request
|
|
52
|
+
# grouped by `product`.
|
|
51
53
|
sig { returns(T.nilable(String)) }
|
|
52
54
|
attr_accessor :product
|
|
53
55
|
|
|
@@ -109,13 +111,15 @@ module Anthropic
|
|
|
109
111
|
# `artifacts_created_count`
|
|
110
112
|
published_artifacts_created_count:,
|
|
111
113
|
# Product that produced this row's activity: one of `chat`, `claude_code`,
|
|
112
|
-
# `cowork`, or `
|
|
113
|
-
#
|
|
114
|
-
#
|
|
115
|
-
#
|
|
116
|
-
#
|
|
117
|
-
#
|
|
118
|
-
#
|
|
114
|
+
# `cowork`, `office_agent`, or `chat_cowork_unified` (Chat and Cowork unified).
|
|
115
|
+
# These are the canonical Cost & Usage product names; an `office_agent` row's
|
|
116
|
+
# per-surface breakdown is in its `office_metrics`. On `/plugins` only `cowork`,
|
|
117
|
+
# `claude_code` and `chat_cowork_unified` occur (the only surfaces with plugin
|
|
118
|
+
# attribution); on `/artifacts` only `chat`, `claude_code`, `cowork` and
|
|
119
|
+
# `chat_cowork_unified` occur (the surfaces that create artifacts);
|
|
120
|
+
# `/apps/chat/projects` does not support the product dimension (a `product` entry
|
|
121
|
+
# in `group_by[]` or `filter[]` there is rejected). Present only when the request
|
|
122
|
+
# grouped by `product`.
|
|
119
123
|
product: nil,
|
|
120
124
|
# Tagged RBAC group identifier (`rbac_group_...`), matching the spend-limits API
|
|
121
125
|
# spelling. Present only when the request grouped by `rbac_group_id`.
|
data/rbi/anthropic/models/beta/organization/beta_analytics_chat_cowork_unified_chat_metrics.rbi
ADDED
|
@@ -0,0 +1,189 @@
|
|
|
1
|
+
# typed: strong
|
|
2
|
+
|
|
3
|
+
module Anthropic
|
|
4
|
+
module Models
|
|
5
|
+
module Beta
|
|
6
|
+
module Organization
|
|
7
|
+
class BetaAnalyticsChatCoworkUnifiedChatMetrics < Anthropic::Internal::Type::BaseModel
|
|
8
|
+
OrHash =
|
|
9
|
+
T.type_alias do
|
|
10
|
+
T.any(
|
|
11
|
+
Anthropic::Beta::Organization::BetaAnalyticsChatCoworkUnifiedChatMetrics,
|
|
12
|
+
Anthropic::Internal::AnyHash
|
|
13
|
+
)
|
|
14
|
+
end
|
|
15
|
+
|
|
16
|
+
# Same measure as `chat_metrics.connectors_used_count`, for activity recorded
|
|
17
|
+
# while members had Chat and Cowork unified turned on.
|
|
18
|
+
sig { returns(Integer) }
|
|
19
|
+
attr_accessor :connectors_used_count
|
|
20
|
+
|
|
21
|
+
# Same measure as `chat_metrics.distinct_artifacts_created_count`, for activity
|
|
22
|
+
# recorded while members had Chat and Cowork unified turned on. Exact in
|
|
23
|
+
# date-range mode: a creation belongs to exactly one day, so the per-day counts
|
|
24
|
+
# never overlap and their sum over the window is the exact count of distinct
|
|
25
|
+
# creations in it.
|
|
26
|
+
sig { returns(Integer) }
|
|
27
|
+
attr_accessor :distinct_artifacts_created_count
|
|
28
|
+
|
|
29
|
+
# Same measure as `chat_metrics.distinct_connectors_used_count`, for activity
|
|
30
|
+
# recorded while members had Chat and Cowork unified turned on. Approximate (HLL,
|
|
31
|
+
# typical error <2%) in date-range mode. Null on aggregated rows where a distinct
|
|
32
|
+
# count cannot be computed.
|
|
33
|
+
sig { returns(T.nilable(Integer)) }
|
|
34
|
+
attr_accessor :distinct_connectors_used_count
|
|
35
|
+
|
|
36
|
+
# Same measure as `chat_metrics.distinct_conversation_count`, for activity
|
|
37
|
+
# recorded while members had Chat and Cowork unified turned on. Approximate (HLL,
|
|
38
|
+
# typical error <2%) in date-range mode. Null on aggregated rows where a distinct
|
|
39
|
+
# count cannot be computed.
|
|
40
|
+
sig { returns(T.nilable(Integer)) }
|
|
41
|
+
attr_accessor :distinct_conversation_count
|
|
42
|
+
|
|
43
|
+
# Same measure as `chat_metrics.distinct_files_uploaded_count`, for activity
|
|
44
|
+
# recorded while members had Chat and Cowork unified turned on. It counts uploaded
|
|
45
|
+
# files as well as files Claude created and images returned by Claude's tools,
|
|
46
|
+
# such as screenshots. Approximate (HLL, typical error <2%) in date-range mode.
|
|
47
|
+
# Null on aggregated rows where a distinct count cannot be computed.
|
|
48
|
+
sig { returns(T.nilable(Integer)) }
|
|
49
|
+
attr_accessor :distinct_files_uploaded_count
|
|
50
|
+
|
|
51
|
+
# Same measure as `chat_metrics.distinct_projects_created_count`, for activity
|
|
52
|
+
# recorded while members had Chat and Cowork unified turned on. Exact in
|
|
53
|
+
# date-range mode: a creation belongs to exactly one day, so the per-day counts
|
|
54
|
+
# never overlap and their sum over the window is the exact count of distinct
|
|
55
|
+
# creations in it.
|
|
56
|
+
sig { returns(Integer) }
|
|
57
|
+
attr_accessor :distinct_projects_created_count
|
|
58
|
+
|
|
59
|
+
# Same measure as `chat_metrics.distinct_projects_used_count`, for activity
|
|
60
|
+
# recorded while members had Chat and Cowork unified turned on. Approximate (HLL,
|
|
61
|
+
# typical error <2%) in date-range mode. Null on aggregated rows where a distinct
|
|
62
|
+
# count cannot be computed.
|
|
63
|
+
sig { returns(T.nilable(Integer)) }
|
|
64
|
+
attr_accessor :distinct_projects_used_count
|
|
65
|
+
|
|
66
|
+
# Always null: shared-artifact views are not currently measured.
|
|
67
|
+
sig { returns(T.nilable(Integer)) }
|
|
68
|
+
attr_accessor :distinct_shared_artifacts_viewed_count
|
|
69
|
+
|
|
70
|
+
# Same measure as `chat_metrics.distinct_skills_used_count`, for activity recorded
|
|
71
|
+
# while members had Chat and Cowork unified turned on. Approximate (HLL, typical
|
|
72
|
+
# error <2%) in date-range mode. Null on aggregated rows where a distinct count
|
|
73
|
+
# cannot be computed.
|
|
74
|
+
sig { returns(T.nilable(Integer)) }
|
|
75
|
+
attr_accessor :distinct_skills_used_count
|
|
76
|
+
|
|
77
|
+
# Same measure as `chat_metrics.message_count`, for activity recorded while
|
|
78
|
+
# members had Chat and Cowork unified turned on.
|
|
79
|
+
sig { returns(Integer) }
|
|
80
|
+
attr_accessor :message_count
|
|
81
|
+
|
|
82
|
+
# Same measure as `chat_metrics.shared_conversations_viewed_count`, for activity
|
|
83
|
+
# recorded while members had Chat and Cowork unified turned on.
|
|
84
|
+
sig { returns(Integer) }
|
|
85
|
+
attr_accessor :shared_conversations_viewed_count
|
|
86
|
+
|
|
87
|
+
# Same measure as `chat_metrics.thinking_message_count`, for activity recorded
|
|
88
|
+
# while members had Chat and Cowork unified turned on.
|
|
89
|
+
sig { returns(Integer) }
|
|
90
|
+
attr_accessor :thinking_message_count
|
|
91
|
+
|
|
92
|
+
# Chat activity recorded while members had Chat and Cowork unified turned on.
|
|
93
|
+
sig do
|
|
94
|
+
params(
|
|
95
|
+
connectors_used_count: Integer,
|
|
96
|
+
distinct_artifacts_created_count: Integer,
|
|
97
|
+
distinct_connectors_used_count: T.nilable(Integer),
|
|
98
|
+
distinct_conversation_count: T.nilable(Integer),
|
|
99
|
+
distinct_files_uploaded_count: T.nilable(Integer),
|
|
100
|
+
distinct_projects_created_count: Integer,
|
|
101
|
+
distinct_projects_used_count: T.nilable(Integer),
|
|
102
|
+
distinct_shared_artifacts_viewed_count: T.nilable(Integer),
|
|
103
|
+
distinct_skills_used_count: T.nilable(Integer),
|
|
104
|
+
message_count: Integer,
|
|
105
|
+
shared_conversations_viewed_count: Integer,
|
|
106
|
+
thinking_message_count: Integer
|
|
107
|
+
).returns(T.attached_class)
|
|
108
|
+
end
|
|
109
|
+
def self.new(
|
|
110
|
+
# Same measure as `chat_metrics.connectors_used_count`, for activity recorded
|
|
111
|
+
# while members had Chat and Cowork unified turned on.
|
|
112
|
+
connectors_used_count:,
|
|
113
|
+
# Same measure as `chat_metrics.distinct_artifacts_created_count`, for activity
|
|
114
|
+
# recorded while members had Chat and Cowork unified turned on. Exact in
|
|
115
|
+
# date-range mode: a creation belongs to exactly one day, so the per-day counts
|
|
116
|
+
# never overlap and their sum over the window is the exact count of distinct
|
|
117
|
+
# creations in it.
|
|
118
|
+
distinct_artifacts_created_count:,
|
|
119
|
+
# Same measure as `chat_metrics.distinct_connectors_used_count`, for activity
|
|
120
|
+
# recorded while members had Chat and Cowork unified turned on. Approximate (HLL,
|
|
121
|
+
# typical error <2%) in date-range mode. Null on aggregated rows where a distinct
|
|
122
|
+
# count cannot be computed.
|
|
123
|
+
distinct_connectors_used_count:,
|
|
124
|
+
# Same measure as `chat_metrics.distinct_conversation_count`, for activity
|
|
125
|
+
# recorded while members had Chat and Cowork unified turned on. Approximate (HLL,
|
|
126
|
+
# typical error <2%) in date-range mode. Null on aggregated rows where a distinct
|
|
127
|
+
# count cannot be computed.
|
|
128
|
+
distinct_conversation_count:,
|
|
129
|
+
# Same measure as `chat_metrics.distinct_files_uploaded_count`, for activity
|
|
130
|
+
# recorded while members had Chat and Cowork unified turned on. It counts uploaded
|
|
131
|
+
# files as well as files Claude created and images returned by Claude's tools,
|
|
132
|
+
# such as screenshots. Approximate (HLL, typical error <2%) in date-range mode.
|
|
133
|
+
# Null on aggregated rows where a distinct count cannot be computed.
|
|
134
|
+
distinct_files_uploaded_count:,
|
|
135
|
+
# Same measure as `chat_metrics.distinct_projects_created_count`, for activity
|
|
136
|
+
# recorded while members had Chat and Cowork unified turned on. Exact in
|
|
137
|
+
# date-range mode: a creation belongs to exactly one day, so the per-day counts
|
|
138
|
+
# never overlap and their sum over the window is the exact count of distinct
|
|
139
|
+
# creations in it.
|
|
140
|
+
distinct_projects_created_count:,
|
|
141
|
+
# Same measure as `chat_metrics.distinct_projects_used_count`, for activity
|
|
142
|
+
# recorded while members had Chat and Cowork unified turned on. Approximate (HLL,
|
|
143
|
+
# typical error <2%) in date-range mode. Null on aggregated rows where a distinct
|
|
144
|
+
# count cannot be computed.
|
|
145
|
+
distinct_projects_used_count:,
|
|
146
|
+
# Always null: shared-artifact views are not currently measured.
|
|
147
|
+
distinct_shared_artifacts_viewed_count:,
|
|
148
|
+
# Same measure as `chat_metrics.distinct_skills_used_count`, for activity recorded
|
|
149
|
+
# while members had Chat and Cowork unified turned on. Approximate (HLL, typical
|
|
150
|
+
# error <2%) in date-range mode. Null on aggregated rows where a distinct count
|
|
151
|
+
# cannot be computed.
|
|
152
|
+
distinct_skills_used_count:,
|
|
153
|
+
# Same measure as `chat_metrics.message_count`, for activity recorded while
|
|
154
|
+
# members had Chat and Cowork unified turned on.
|
|
155
|
+
message_count:,
|
|
156
|
+
# Same measure as `chat_metrics.shared_conversations_viewed_count`, for activity
|
|
157
|
+
# recorded while members had Chat and Cowork unified turned on.
|
|
158
|
+
shared_conversations_viewed_count:,
|
|
159
|
+
# Same measure as `chat_metrics.thinking_message_count`, for activity recorded
|
|
160
|
+
# while members had Chat and Cowork unified turned on.
|
|
161
|
+
thinking_message_count:
|
|
162
|
+
)
|
|
163
|
+
end
|
|
164
|
+
|
|
165
|
+
sig do
|
|
166
|
+
override.returns(
|
|
167
|
+
{
|
|
168
|
+
connectors_used_count: Integer,
|
|
169
|
+
distinct_artifacts_created_count: Integer,
|
|
170
|
+
distinct_connectors_used_count: T.nilable(Integer),
|
|
171
|
+
distinct_conversation_count: T.nilable(Integer),
|
|
172
|
+
distinct_files_uploaded_count: T.nilable(Integer),
|
|
173
|
+
distinct_projects_created_count: Integer,
|
|
174
|
+
distinct_projects_used_count: T.nilable(Integer),
|
|
175
|
+
distinct_shared_artifacts_viewed_count: T.nilable(Integer),
|
|
176
|
+
distinct_skills_used_count: T.nilable(Integer),
|
|
177
|
+
message_count: Integer,
|
|
178
|
+
shared_conversations_viewed_count: Integer,
|
|
179
|
+
thinking_message_count: Integer
|
|
180
|
+
}
|
|
181
|
+
)
|
|
182
|
+
end
|
|
183
|
+
def to_hash
|
|
184
|
+
end
|
|
185
|
+
end
|
|
186
|
+
end
|
|
187
|
+
end
|
|
188
|
+
end
|
|
189
|
+
end
|
data/rbi/anthropic/models/beta/organization/beta_analytics_chat_cowork_unified_sessions_metrics.rbi
ADDED
|
@@ -0,0 +1,236 @@
|
|
|
1
|
+
# typed: strong
|
|
2
|
+
|
|
3
|
+
module Anthropic
|
|
4
|
+
module Models
|
|
5
|
+
module Beta
|
|
6
|
+
module Organization
|
|
7
|
+
class BetaAnalyticsChatCoworkUnifiedSessionsMetrics < Anthropic::Internal::Type::BaseModel
|
|
8
|
+
OrHash =
|
|
9
|
+
T.type_alias do
|
|
10
|
+
T.any(
|
|
11
|
+
Anthropic::Beta::Organization::BetaAnalyticsChatCoworkUnifiedSessionsMetrics,
|
|
12
|
+
Anthropic::Internal::AnyHash
|
|
13
|
+
)
|
|
14
|
+
end
|
|
15
|
+
|
|
16
|
+
# Same measure as `cowork_metrics.action_count`, for activity recorded while
|
|
17
|
+
# members had Chat and Cowork unified turned on.
|
|
18
|
+
sig { returns(Integer) }
|
|
19
|
+
attr_accessor :action_count
|
|
20
|
+
|
|
21
|
+
# Same measure as `cowork_metrics.artifacts_created_count`, for activity recorded
|
|
22
|
+
# while members had Chat and Cowork unified turned on. Exact in date-range mode: a
|
|
23
|
+
# creation belongs to exactly one day, so the per-day counts never overlap and
|
|
24
|
+
# their sum over the window is the exact count of distinct creations in it.
|
|
25
|
+
sig { returns(Integer) }
|
|
26
|
+
attr_accessor :artifacts_created_count
|
|
27
|
+
|
|
28
|
+
# Same measure as `cowork_metrics.connectors_used_count`, for activity recorded
|
|
29
|
+
# while members had Chat and Cowork unified turned on.
|
|
30
|
+
sig { returns(Integer) }
|
|
31
|
+
attr_accessor :connectors_used_count
|
|
32
|
+
|
|
33
|
+
# Same measure as `cowork_metrics.dispatch_turn_count`, for activity recorded
|
|
34
|
+
# while members had Chat and Cowork unified turned on.
|
|
35
|
+
sig { returns(Integer) }
|
|
36
|
+
attr_accessor :dispatch_turn_count
|
|
37
|
+
|
|
38
|
+
# Same measure as `cowork_metrics.distinct_connectors_used_count`, for activity
|
|
39
|
+
# recorded while members had Chat and Cowork unified turned on. Approximate (HLL,
|
|
40
|
+
# typical error <2%) in date-range mode. Null on aggregated rows where a distinct
|
|
41
|
+
# count cannot be computed.
|
|
42
|
+
sig { returns(T.nilable(Integer)) }
|
|
43
|
+
attr_accessor :distinct_connectors_used_count
|
|
44
|
+
|
|
45
|
+
# Same measure as `cowork_metrics.distinct_plugins_used_count`, for activity
|
|
46
|
+
# recorded while members had Chat and Cowork unified turned on. Approximate (HLL,
|
|
47
|
+
# typical error <2%) in date-range mode. Null on aggregated rows where a distinct
|
|
48
|
+
# count cannot be computed.
|
|
49
|
+
sig { returns(T.nilable(Integer)) }
|
|
50
|
+
attr_accessor :distinct_plugins_used_count
|
|
51
|
+
|
|
52
|
+
# Same measure as `cowork_metrics.distinct_session_count`, for activity recorded
|
|
53
|
+
# while members had Chat and Cowork unified turned on. Approximate (HLL, typical
|
|
54
|
+
# error <2%) in date-range mode. Null on aggregated rows where a distinct count
|
|
55
|
+
# cannot be computed.
|
|
56
|
+
sig { returns(T.nilable(Integer)) }
|
|
57
|
+
attr_accessor :distinct_session_count
|
|
58
|
+
|
|
59
|
+
# Same measure as `cowork_metrics.distinct_skills_used_count`, for activity
|
|
60
|
+
# recorded while members had Chat and Cowork unified turned on. Approximate (HLL,
|
|
61
|
+
# typical error <2%) in date-range mode. Null on aggregated rows where a distinct
|
|
62
|
+
# count cannot be computed.
|
|
63
|
+
sig { returns(T.nilable(Integer)) }
|
|
64
|
+
attr_accessor :distinct_skills_used_count
|
|
65
|
+
|
|
66
|
+
# Same measure as `cowork_metrics.edit_tool_count`, for activity recorded while
|
|
67
|
+
# members had Chat and Cowork unified turned on.
|
|
68
|
+
sig { returns(T.nilable(Integer)) }
|
|
69
|
+
attr_accessor :edit_tool_count
|
|
70
|
+
|
|
71
|
+
# Same measure as `cowork_metrics.file_edit_count`, for activity recorded while
|
|
72
|
+
# members had Chat and Cowork unified turned on.
|
|
73
|
+
sig { returns(T.nilable(Integer)) }
|
|
74
|
+
attr_accessor :file_edit_count
|
|
75
|
+
|
|
76
|
+
# Same measure as `cowork_metrics.message_count`, for activity recorded while
|
|
77
|
+
# members had Chat and Cowork unified turned on.
|
|
78
|
+
sig { returns(Integer) }
|
|
79
|
+
attr_accessor :message_count
|
|
80
|
+
|
|
81
|
+
# Same measure as `cowork_metrics.multi_edit_tool_count`, for activity recorded
|
|
82
|
+
# while members had Chat and Cowork unified turned on. Claude no longer has a
|
|
83
|
+
# multi-edit tool, so expect 0 when not null; each edit is now a separate Edit
|
|
84
|
+
# tool call, counted in `edit_tool_count` and `file_edit_count`.
|
|
85
|
+
sig { returns(T.nilable(Integer)) }
|
|
86
|
+
attr_accessor :multi_edit_tool_count
|
|
87
|
+
|
|
88
|
+
# Same measure as `cowork_metrics.notebook_edit_tool_count`, for activity recorded
|
|
89
|
+
# while members had Chat and Cowork unified turned on.
|
|
90
|
+
sig { returns(T.nilable(Integer)) }
|
|
91
|
+
attr_accessor :notebook_edit_tool_count
|
|
92
|
+
|
|
93
|
+
# Same measure as `cowork_metrics.plugins_used_count`, for activity recorded while
|
|
94
|
+
# members had Chat and Cowork unified turned on.
|
|
95
|
+
sig { returns(T.nilable(Integer)) }
|
|
96
|
+
attr_accessor :plugins_used_count
|
|
97
|
+
|
|
98
|
+
# Same measure as `cowork_metrics.sessions_with_file_edits_count`, for activity
|
|
99
|
+
# recorded while members had Chat and Cowork unified turned on. Approximate (HLL,
|
|
100
|
+
# typical error <2%) in date-range mode. Null on aggregated rows where a distinct
|
|
101
|
+
# count cannot be computed.
|
|
102
|
+
sig { returns(T.nilable(Integer)) }
|
|
103
|
+
attr_accessor :sessions_with_file_edits_count
|
|
104
|
+
|
|
105
|
+
# Same measure as `cowork_metrics.skills_used_count`, for activity recorded while
|
|
106
|
+
# members had Chat and Cowork unified turned on.
|
|
107
|
+
sig { returns(Integer) }
|
|
108
|
+
attr_accessor :skills_used_count
|
|
109
|
+
|
|
110
|
+
# Same measure as `cowork_metrics.write_tool_count`, for activity recorded while
|
|
111
|
+
# members had Chat and Cowork unified turned on.
|
|
112
|
+
sig { returns(T.nilable(Integer)) }
|
|
113
|
+
attr_accessor :write_tool_count
|
|
114
|
+
|
|
115
|
+
# Cowork session activity recorded while members had Chat and Cowork unified
|
|
116
|
+
# turned on.
|
|
117
|
+
sig do
|
|
118
|
+
params(
|
|
119
|
+
action_count: Integer,
|
|
120
|
+
artifacts_created_count: Integer,
|
|
121
|
+
connectors_used_count: Integer,
|
|
122
|
+
dispatch_turn_count: Integer,
|
|
123
|
+
distinct_connectors_used_count: T.nilable(Integer),
|
|
124
|
+
distinct_plugins_used_count: T.nilable(Integer),
|
|
125
|
+
distinct_session_count: T.nilable(Integer),
|
|
126
|
+
distinct_skills_used_count: T.nilable(Integer),
|
|
127
|
+
edit_tool_count: T.nilable(Integer),
|
|
128
|
+
file_edit_count: T.nilable(Integer),
|
|
129
|
+
message_count: Integer,
|
|
130
|
+
multi_edit_tool_count: T.nilable(Integer),
|
|
131
|
+
notebook_edit_tool_count: T.nilable(Integer),
|
|
132
|
+
plugins_used_count: T.nilable(Integer),
|
|
133
|
+
sessions_with_file_edits_count: T.nilable(Integer),
|
|
134
|
+
skills_used_count: Integer,
|
|
135
|
+
write_tool_count: T.nilable(Integer)
|
|
136
|
+
).returns(T.attached_class)
|
|
137
|
+
end
|
|
138
|
+
def self.new(
|
|
139
|
+
# Same measure as `cowork_metrics.action_count`, for activity recorded while
|
|
140
|
+
# members had Chat and Cowork unified turned on.
|
|
141
|
+
action_count:,
|
|
142
|
+
# Same measure as `cowork_metrics.artifacts_created_count`, for activity recorded
|
|
143
|
+
# while members had Chat and Cowork unified turned on. Exact in date-range mode: a
|
|
144
|
+
# creation belongs to exactly one day, so the per-day counts never overlap and
|
|
145
|
+
# their sum over the window is the exact count of distinct creations in it.
|
|
146
|
+
artifacts_created_count:,
|
|
147
|
+
# Same measure as `cowork_metrics.connectors_used_count`, for activity recorded
|
|
148
|
+
# while members had Chat and Cowork unified turned on.
|
|
149
|
+
connectors_used_count:,
|
|
150
|
+
# Same measure as `cowork_metrics.dispatch_turn_count`, for activity recorded
|
|
151
|
+
# while members had Chat and Cowork unified turned on.
|
|
152
|
+
dispatch_turn_count:,
|
|
153
|
+
# Same measure as `cowork_metrics.distinct_connectors_used_count`, for activity
|
|
154
|
+
# recorded while members had Chat and Cowork unified turned on. Approximate (HLL,
|
|
155
|
+
# typical error <2%) in date-range mode. Null on aggregated rows where a distinct
|
|
156
|
+
# count cannot be computed.
|
|
157
|
+
distinct_connectors_used_count:,
|
|
158
|
+
# Same measure as `cowork_metrics.distinct_plugins_used_count`, for activity
|
|
159
|
+
# recorded while members had Chat and Cowork unified turned on. Approximate (HLL,
|
|
160
|
+
# typical error <2%) in date-range mode. Null on aggregated rows where a distinct
|
|
161
|
+
# count cannot be computed.
|
|
162
|
+
distinct_plugins_used_count:,
|
|
163
|
+
# Same measure as `cowork_metrics.distinct_session_count`, for activity recorded
|
|
164
|
+
# while members had Chat and Cowork unified turned on. Approximate (HLL, typical
|
|
165
|
+
# error <2%) in date-range mode. Null on aggregated rows where a distinct count
|
|
166
|
+
# cannot be computed.
|
|
167
|
+
distinct_session_count:,
|
|
168
|
+
# Same measure as `cowork_metrics.distinct_skills_used_count`, for activity
|
|
169
|
+
# recorded while members had Chat and Cowork unified turned on. Approximate (HLL,
|
|
170
|
+
# typical error <2%) in date-range mode. Null on aggregated rows where a distinct
|
|
171
|
+
# count cannot be computed.
|
|
172
|
+
distinct_skills_used_count:,
|
|
173
|
+
# Same measure as `cowork_metrics.edit_tool_count`, for activity recorded while
|
|
174
|
+
# members had Chat and Cowork unified turned on.
|
|
175
|
+
edit_tool_count:,
|
|
176
|
+
# Same measure as `cowork_metrics.file_edit_count`, for activity recorded while
|
|
177
|
+
# members had Chat and Cowork unified turned on.
|
|
178
|
+
file_edit_count:,
|
|
179
|
+
# Same measure as `cowork_metrics.message_count`, for activity recorded while
|
|
180
|
+
# members had Chat and Cowork unified turned on.
|
|
181
|
+
message_count:,
|
|
182
|
+
# Same measure as `cowork_metrics.multi_edit_tool_count`, for activity recorded
|
|
183
|
+
# while members had Chat and Cowork unified turned on. Claude no longer has a
|
|
184
|
+
# multi-edit tool, so expect 0 when not null; each edit is now a separate Edit
|
|
185
|
+
# tool call, counted in `edit_tool_count` and `file_edit_count`.
|
|
186
|
+
multi_edit_tool_count:,
|
|
187
|
+
# Same measure as `cowork_metrics.notebook_edit_tool_count`, for activity recorded
|
|
188
|
+
# while members had Chat and Cowork unified turned on.
|
|
189
|
+
notebook_edit_tool_count:,
|
|
190
|
+
# Same measure as `cowork_metrics.plugins_used_count`, for activity recorded while
|
|
191
|
+
# members had Chat and Cowork unified turned on.
|
|
192
|
+
plugins_used_count:,
|
|
193
|
+
# Same measure as `cowork_metrics.sessions_with_file_edits_count`, for activity
|
|
194
|
+
# recorded while members had Chat and Cowork unified turned on. Approximate (HLL,
|
|
195
|
+
# typical error <2%) in date-range mode. Null on aggregated rows where a distinct
|
|
196
|
+
# count cannot be computed.
|
|
197
|
+
sessions_with_file_edits_count:,
|
|
198
|
+
# Same measure as `cowork_metrics.skills_used_count`, for activity recorded while
|
|
199
|
+
# members had Chat and Cowork unified turned on.
|
|
200
|
+
skills_used_count:,
|
|
201
|
+
# Same measure as `cowork_metrics.write_tool_count`, for activity recorded while
|
|
202
|
+
# members had Chat and Cowork unified turned on.
|
|
203
|
+
write_tool_count:
|
|
204
|
+
)
|
|
205
|
+
end
|
|
206
|
+
|
|
207
|
+
sig do
|
|
208
|
+
override.returns(
|
|
209
|
+
{
|
|
210
|
+
action_count: Integer,
|
|
211
|
+
artifacts_created_count: Integer,
|
|
212
|
+
connectors_used_count: Integer,
|
|
213
|
+
dispatch_turn_count: Integer,
|
|
214
|
+
distinct_connectors_used_count: T.nilable(Integer),
|
|
215
|
+
distinct_plugins_used_count: T.nilable(Integer),
|
|
216
|
+
distinct_session_count: T.nilable(Integer),
|
|
217
|
+
distinct_skills_used_count: T.nilable(Integer),
|
|
218
|
+
edit_tool_count: T.nilable(Integer),
|
|
219
|
+
file_edit_count: T.nilable(Integer),
|
|
220
|
+
message_count: Integer,
|
|
221
|
+
multi_edit_tool_count: T.nilable(Integer),
|
|
222
|
+
notebook_edit_tool_count: T.nilable(Integer),
|
|
223
|
+
plugins_used_count: T.nilable(Integer),
|
|
224
|
+
sessions_with_file_edits_count: T.nilable(Integer),
|
|
225
|
+
skills_used_count: Integer,
|
|
226
|
+
write_tool_count: T.nilable(Integer)
|
|
227
|
+
}
|
|
228
|
+
)
|
|
229
|
+
end
|
|
230
|
+
def to_hash
|
|
231
|
+
end
|
|
232
|
+
end
|
|
233
|
+
end
|
|
234
|
+
end
|
|
235
|
+
end
|
|
236
|
+
end
|