Module: Cline::GlobalState::Features

Included in:
Cline::GlobalState
Defined in:
lib/cline/global_state/features.rb

Overview

Feature flags and experimental features

Defined Under Namespace

Classes: FocusChainSettings

Public API collapse

Class Method Details

.included(base) ⇒ Object

Define all the attributes of the included class

Parameters:

  • base (Class)

    Base class including this mixin



19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
# File 'lib/cline/global_state/features.rb', line 19

def self.included(base)
  base.class_eval do
    # @!group Public API

    # @return [FocusChainSettings] Focus chain feature settings
    attribute :focus_chain_settings, FocusChainSettings

    # @return [Boolean] Flag enabling Cline web tools
    attribute :cline_web_tools_enabled, :boolean

    # @return [Boolean] Flag enabling double check before completion
    attribute :double_check_completion_enabled, :boolean

    # @return [Boolean] Flag enabling parallel tool execution
    attribute :enable_parallel_tool_calling, :boolean

    # @return [Boolean] Flag enabling strict Plan mode enforcement
    attribute :strict_plan_mode_enabled, :boolean

    # @return [Boolean] Flag enabling subagents feature
    attribute :subagents_enabled, :boolean

    # @return [Boolean] Flag enabling auto content condensation
    attribute :use_auto_condense, :boolean

    # @return [Boolean] Flag enabling native tool calling
    attribute :native_tool_call_enabled, :boolean

    # @return [Boolean] Checkpoints feature enabled flag
    attribute :enable_checkpoints_setting, :boolean

    # @return [Boolean] Background edit enabled flag
    attribute :background_edit_enabled, :boolean
  end
end