roast-ai 1.0.2 → 1.2.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.
Files changed (125) hide show
  1. checksums.yaml +4 -4
  2. data/.claude/commands/docs/write-comments.md +1 -1
  3. data/.rubocop.yml +12 -1
  4. data/Gemfile +2 -2
  5. data/Gemfile.lock +149 -34
  6. data/README.md +56 -3
  7. data/examples/agent_with_multiple_prompts.rb +27 -0
  8. data/examples/custom_logging.rb +4 -2
  9. data/examples/demo/Gemfile.lock +49 -15
  10. data/examples/plugin-gem-example/Gemfile.lock +19 -15
  11. data/examples/simple_chat.rb +1 -1
  12. data/examples/simple_pi_agent.rb +18 -0
  13. data/internal/rubocop/cop/roast/no_test_class_nesting.rb +126 -0
  14. data/internal/rubocop/rubocop-roast.yml +6 -0
  15. data/internal/workflows/maintenance/branch_docs_impact.rb +97 -0
  16. data/internal/workflows/maintenance/deprecated_models_docs_updater.rb +78 -0
  17. data/lib/roast/cog/config.rb +1 -1
  18. data/lib/roast/cog/output.rb +2 -1
  19. data/lib/roast/cog/registry.rb +3 -3
  20. data/lib/roast/cog_input_manager.rb +28 -7
  21. data/lib/roast/cogs/agent/config.rb +2 -2
  22. data/lib/roast/cogs/agent/input.rb +20 -22
  23. data/lib/roast/cogs/agent/providers/claude/claude_invocation.rb +13 -5
  24. data/lib/roast/cogs/agent/providers/claude/messages/result_message.rb +1 -1
  25. data/lib/roast/cogs/agent/providers/claude/tool_result.rb +344 -4
  26. data/lib/roast/cogs/agent/providers/claude/tool_use.rb +356 -1
  27. data/lib/roast/cogs/agent/providers/claude.rb +16 -3
  28. data/lib/roast/cogs/agent/providers/pi/messages/tool_call_message.rb +60 -0
  29. data/lib/roast/cogs/agent/providers/pi/messages/tool_result_message.rb +57 -0
  30. data/lib/roast/cogs/agent/providers/pi/pi_invocation.rb +352 -0
  31. data/lib/roast/cogs/agent/providers/pi.rb +41 -0
  32. data/lib/roast/cogs/agent/stats.rb +29 -0
  33. data/lib/roast/cogs/agent/usage.rb +22 -0
  34. data/lib/roast/cogs/agent.rb +5 -6
  35. data/lib/roast/cogs/chat/config.rb +28 -2
  36. data/lib/roast/cogs/chat.rb +82 -10
  37. data/lib/roast/event.rb +1 -0
  38. data/lib/roast/event_monitor.rb +35 -3
  39. data/lib/roast/log.rb +21 -0
  40. data/lib/roast/log_formatter.rb +9 -7
  41. data/lib/roast/version.rb +1 -1
  42. data/lib/roast.rb +1 -3
  43. data/roast-ai.gemspec +2 -1
  44. data/sorbet/rbi/gems/activesupport@8.0.2.rbi +549 -383
  45. data/sorbet/rbi/gems/addressable@2.8.7.rbi +46 -44
  46. data/sorbet/rbi/gems/ast@2.4.3.rbi +7 -6
  47. data/sorbet/rbi/gems/async@2.34.0.rbi +21 -3
  48. data/sorbet/rbi/gems/benchmark@0.4.1.rbi +7 -7
  49. data/sorbet/rbi/gems/bigdecimal@3.2.2.rbi +198 -1
  50. data/sorbet/rbi/gems/concurrent-ruby@1.3.5.rbi +405 -328
  51. data/sorbet/rbi/gems/console@1.34.2.rbi +2 -2
  52. data/sorbet/rbi/gems/docile@1.4.1.rbi +30 -30
  53. data/sorbet/rbi/gems/drb@2.2.3.rbi +25 -25
  54. data/sorbet/rbi/gems/erubi@1.13.1.rbi +2 -0
  55. data/sorbet/rbi/gems/faraday-net_http@3.4.2.rbi +2 -77
  56. data/sorbet/rbi/gems/faraday-retry@2.3.2.rbi +2 -57
  57. data/sorbet/rbi/gems/faraday@2.14.1.rbi +382 -75
  58. data/sorbet/rbi/gems/guard-compat@1.2.1.rbi +1 -110
  59. data/sorbet/rbi/gems/guard-minitest@2.4.6.rbi +0 -139
  60. data/sorbet/rbi/gems/guard@2.19.1.rbi +38 -38
  61. data/sorbet/rbi/gems/hashdiff@1.2.0.rbi +3 -3
  62. data/sorbet/rbi/gems/i18n@1.14.7.rbi +53 -29
  63. data/sorbet/rbi/gems/io-event@1.14.0.rbi +67 -10
  64. data/sorbet/rbi/gems/json@2.18.1.rbi +227 -5
  65. data/sorbet/rbi/gems/lint_roller@1.1.0.rbi +83 -0
  66. data/sorbet/rbi/gems/listen@3.9.0.rbi +7 -7
  67. data/sorbet/rbi/gems/logger@1.7.0.rbi +3 -3
  68. data/sorbet/rbi/gems/lumberjack@1.2.10.rbi +21 -21
  69. data/sorbet/rbi/gems/marcel@1.1.0.rbi +1 -1
  70. data/sorbet/rbi/gems/minitest-rg@5.3.0.rbi +0 -96
  71. data/sorbet/rbi/gems/minitest@5.25.5.rbi +1 -16
  72. data/sorbet/rbi/gems/net-http@0.9.1.rbi +27 -19
  73. data/sorbet/rbi/gems/netrc@0.11.0.rbi +18 -0
  74. data/sorbet/rbi/gems/notiffany@0.1.3.rbi +20 -20
  75. data/sorbet/rbi/gems/ostruct@0.6.2.rbi +149 -15
  76. data/sorbet/rbi/gems/parser@3.3.8.0.rbi +141 -139
  77. data/sorbet/rbi/gems/prism@1.4.0.rbi +922 -864
  78. data/sorbet/rbi/gems/public_suffix@6.0.2.rbi +56 -35
  79. data/sorbet/rbi/gems/racc@1.8.1.rbi +10 -2
  80. data/sorbet/rbi/gems/rainbow@3.1.1.rbi +12 -12
  81. data/sorbet/rbi/gems/rake@13.3.0.rbi +219 -318
  82. data/sorbet/rbi/gems/{rbi@0.3.6.rbi → rbi@0.3.9.rbi} +612 -2267
  83. data/sorbet/rbi/gems/{rbs@3.9.4.rbi → rbs@4.0.0.dev.5.rbi} +2013 -680
  84. data/sorbet/rbi/gems/regexp_parser@2.10.0.rbi +151 -113
  85. data/sorbet/rbi/gems/require-hooks@0.2.3.rbi +110 -0
  86. data/sorbet/rbi/gems/rexml@3.4.2.rbi +24 -51
  87. data/sorbet/rbi/gems/rubocop-ast@1.45.1.rbi +506 -815
  88. data/sorbet/rbi/gems/rubocop-sorbet@0.10.5.rbi +16 -16
  89. data/sorbet/rbi/gems/rubocop@1.77.0.rbi +2692 -2327
  90. data/sorbet/rbi/gems/ruby-progressbar@1.13.0.rbi +8 -8
  91. data/sorbet/rbi/gems/ruby_llm@1.8.2.rbi +38 -23
  92. data/sorbet/rbi/gems/securerandom@0.4.1.rbi +1 -1
  93. data/sorbet/rbi/gems/simplecov-html@0.13.2.rbi +2 -131
  94. data/sorbet/rbi/gems/simplecov@0.22.0.rbi +28 -127
  95. data/sorbet/rbi/gems/{spoom@1.6.3.rbi → spoom@1.7.11.rbi} +1139 -2246
  96. data/sorbet/rbi/gems/sqlite3@2.9.0.rbi +91 -1
  97. data/sorbet/rbi/gems/{tapioca@0.16.11.rbi → tapioca@0.17.10.rbi} +721 -835
  98. data/sorbet/rbi/gems/thor@1.4.0.rbi +53 -53
  99. data/sorbet/rbi/gems/tsort@0.2.0.rbi +393 -0
  100. data/sorbet/rbi/gems/type_toolkit@0.0.5.rbi +49 -0
  101. data/sorbet/rbi/gems/tzinfo@2.0.6.rbi +144 -143
  102. data/sorbet/rbi/gems/uri@1.1.1.rbi +7 -7
  103. data/sorbet/rbi/gems/vcr@6.3.1.rbi +53 -36
  104. data/sorbet/rbi/gems/webmock@3.25.1.rbi +38 -13
  105. data/sorbet/rbi/gems/zeitwerk@2.7.3.rbi +39 -272
  106. data/sorbet/rbi/shims/lib/roast/execution_context.rbi +3 -3
  107. data/tutorial/01_your_first_workflow/README.md +9 -5
  108. data/tutorial/01_your_first_workflow/configured_chat.rb +1 -1
  109. data/tutorial/02_chaining_cogs/README.md +2 -2
  110. data/tutorial/02_chaining_cogs/code_review.rb +1 -1
  111. data/tutorial/02_chaining_cogs/session_resumption.rb +1 -1
  112. data/tutorial/03_targets_and_params/README.md +1 -1
  113. data/tutorial/04_configuration_options/README.md +2 -2
  114. data/tutorial/08_iterative_workflows/README.md +1 -1
  115. data/tutorial/README.md +1 -1
  116. metadata +39 -17
  117. data/docs/AGENT_STEPS.md +0 -288
  118. data/docs/INSTRUMENTATION.md +0 -243
  119. data/docs/ITERATION_SYNTAX.md +0 -147
  120. data/docs/VALIDATION.md +0 -178
  121. data/lib/roast/nil_assertions.rb +0 -23
  122. /data/internal/documentation/{architectural-notes.md → comments/architectural-notes.md} +0 -0
  123. /data/internal/documentation/{doc-comments-external.md → comments/doc-comments-external.md} +0 -0
  124. /data/internal/documentation/{doc-comments-internal.md → comments/doc-comments-internal.md} +0 -0
  125. /data/internal/documentation/{doc-comments.md → comments/doc-comments.md} +0 -0
@@ -78,7 +78,7 @@ class Thor
78
78
  #
79
79
  # Then it is required either only one of "--one" or "--two".
80
80
  #
81
- # source://thor//lib/thor.rb#246
81
+ # source://thor//lib/thor.rb#250
82
82
  def at_least_one(*args, &block); end
83
83
 
84
84
  # Extend check unknown options to accept a hash of conditions.
@@ -131,7 +131,7 @@ class Thor
131
131
  # ==== Parameters
132
132
  # meth<Symbol>:: name of the default command
133
133
  #
134
- # source://thor//lib/thor.rb#21
134
+ # source://thor//lib/thor.rb#28
135
135
  def default_task(meth = T.unsafe(nil)); end
136
136
 
137
137
  # source://thor//lib/thor/base.rb#26
@@ -188,7 +188,7 @@ class Thor
188
188
  # If you give "--one" and "--two" at the same time ExclusiveArgumentsError
189
189
  # will be raised.
190
190
  #
191
- # source://thor//lib/thor.rb#203
191
+ # source://thor//lib/thor.rb#207
192
192
  def exclusive(*args, &block); end
193
193
 
194
194
  # Prints help information for this class.
@@ -364,7 +364,7 @@ class Thor
364
364
  # :banner - String to show on usage notes.
365
365
  # :hide - If you want to hide this option from the help.
366
366
  #
367
- # source://thor//lib/thor.rb#163
367
+ # source://thor//lib/thor.rb#175
368
368
  def option(name, options = T.unsafe(nil)); end
369
369
 
370
370
  # Declares the options for the next command to be declared.
@@ -374,7 +374,7 @@ class Thor
374
374
  # is the type of the option. Can be :string, :array, :hash, :boolean, :numeric
375
375
  # or :required (string). If you give a value, the type of the value is used.
376
376
  #
377
- # source://thor//lib/thor.rb#129
377
+ # source://thor//lib/thor.rb#135
378
378
  def options(options = T.unsafe(nil)); end
379
379
 
380
380
  # Allows for custom "Command" package naming.
@@ -393,7 +393,7 @@ class Thor
393
393
 
394
394
  # Returns commands ready to be printed.
395
395
  #
396
- # source://thor//lib/thor.rb#309
396
+ # source://thor//lib/thor.rb#318
397
397
  def printable_tasks(all = T.unsafe(nil), subcommand = T.unsafe(nil)); end
398
398
 
399
399
  # Registers another Thor subclass as a command.
@@ -462,10 +462,10 @@ class Thor
462
462
  # source://thor//lib/thor.rb#320
463
463
  def subcommands; end
464
464
 
465
- # source://thor//lib/thor.rb#329
465
+ # source://thor//lib/thor.rb#344
466
466
  def subtask(subcommand, subcommand_class); end
467
467
 
468
- # source://thor//lib/thor.rb#320
468
+ # source://thor//lib/thor.rb#323
469
469
  def subtasks; end
470
470
 
471
471
  # Prints help information for the given command.
@@ -474,7 +474,7 @@ class Thor
474
474
  # shell<Thor::Shell>
475
475
  # command_name<String>
476
476
  #
477
- # source://thor//lib/thor.rb#258
477
+ # source://thor//lib/thor.rb#281
478
478
  def task_help(shell, command_name); end
479
479
 
480
480
  protected
@@ -493,7 +493,7 @@ class Thor
493
493
  # source://thor//lib/thor.rb#560
494
494
  def create_command(meth); end
495
495
 
496
- # source://thor//lib/thor.rb#560
496
+ # source://thor//lib/thor.rb#584
497
497
  def create_task(meth); end
498
498
 
499
499
  # help command has the required check disabled by default.
@@ -522,7 +522,7 @@ class Thor
522
522
  # and determines whether it is an unambiguous substrings of a command or
523
523
  # alias name.
524
524
  #
525
- # source://thor//lib/thor.rb#626
525
+ # source://thor//lib/thor.rb#639
526
526
  def find_task_possibilities(meth); end
527
527
 
528
528
  # source://thor//lib/thor.rb#586
@@ -567,7 +567,7 @@ class Thor
567
567
  #
568
568
  # @raise [AmbiguousTaskError]
569
569
  #
570
- # source://thor//lib/thor.rb#605
570
+ # source://thor//lib/thor.rb#621
571
571
  def normalize_task_name(meth); end
572
572
 
573
573
  # source://thor//lib/thor.rb#493
@@ -583,7 +583,7 @@ class Thor
583
583
 
584
584
  # Retrieve the command name from given args.
585
585
  #
586
- # source://thor//lib/thor.rb#592
586
+ # source://thor//lib/thor.rb#596
587
587
  def retrieve_task_name(args); end
588
588
 
589
589
  # Sort the commands, lexicographically by default.
@@ -600,7 +600,7 @@ class Thor
600
600
  # source://thor//lib/thor.rb#641
601
601
  def subcommand_help(cmd); end
602
602
 
603
- # source://thor//lib/thor.rb#641
603
+ # source://thor//lib/thor.rb#647
604
604
  def subtask_help(cmd); end
605
605
  end
606
606
  end
@@ -643,7 +643,7 @@ module Thor::Actions
643
643
  #
644
644
  # create_file "config/apache.conf", "your apache config"
645
645
  #
646
- # source://thor//lib/thor/actions/create_file.rb#22
646
+ # source://thor//lib/thor/actions/create_file.rb#27
647
647
  def add_file(destination, *args, &block); end
648
648
 
649
649
  # Create a new file relative to the destination root from the given source.
@@ -658,7 +658,7 @@ module Thor::Actions
658
658
  #
659
659
  # create_link "config/apache.conf", "/etc/apache.conf"
660
660
  #
661
- # source://thor//lib/thor/actions/create_link.rb#17
661
+ # source://thor//lib/thor/actions/create_link.rb#22
662
662
  def add_link(destination, *args); end
663
663
 
664
664
  # Append text to a file. Since it depends on insert_into_file, it's reversible.
@@ -676,7 +676,7 @@ module Thor::Actions
676
676
  # 'config.gem "rspec"'
677
677
  # end
678
678
  #
679
- # source://thor//lib/thor/actions/file_manipulation.rb#192
679
+ # source://thor//lib/thor/actions/file_manipulation.rb#197
680
680
  def append_file(path, *args, &block); end
681
681
 
682
682
  # Append text to a file. Since it depends on insert_into_file, it's reversible.
@@ -977,7 +977,7 @@ module Thor::Actions
977
977
  # source://thor//lib/thor/actions/file_manipulation.rb#216
978
978
  def inject_into_class(path, klass, *args, &block); end
979
979
 
980
- # source://thor//lib/thor/actions/inject_into_file.rb#26
980
+ # source://thor//lib/thor/actions/inject_into_file.rb#34
981
981
  def inject_into_file(destination, *args, &block); end
982
982
 
983
983
  # Injects text right after the module definition. Since it depends on
@@ -1049,7 +1049,7 @@ module Thor::Actions
1049
1049
  # 'config.gem "rspec"'
1050
1050
  # end
1051
1051
  #
1052
- # source://thor//lib/thor/actions/file_manipulation.rb#170
1052
+ # source://thor//lib/thor/actions/file_manipulation.rb#175
1053
1053
  def prepend_file(path, *args, &block); end
1054
1054
 
1055
1055
  # Prepend text to a file. Since it depends on insert_into_file, it's reversible.
@@ -1087,7 +1087,7 @@ module Thor::Actions
1087
1087
  # remove_file 'README'
1088
1088
  # remove_file 'app/controllers/application_controller.rb'
1089
1089
  #
1090
- # source://thor//lib/thor/actions/file_manipulation.rb#350
1090
+ # source://thor//lib/thor/actions/file_manipulation.rb#360
1091
1091
  def remove_dir(path, config = T.unsafe(nil)); end
1092
1092
 
1093
1093
  # Removes a file at the given location.
@@ -1592,7 +1592,7 @@ class Thor::Argument
1592
1592
 
1593
1593
  # Returns the value of attribute name.
1594
1594
  #
1595
- # source://thor//lib/thor/parser/argument.rb#5
1595
+ # source://thor//lib/thor/parser/argument.rb#6
1596
1596
  def human_name; end
1597
1597
 
1598
1598
  # Returns the value of attribute name.
@@ -1876,7 +1876,7 @@ module Thor::Base::ClassMethods
1876
1876
  # Hash:: An ordered hash with commands names as keys and Thor::Command
1877
1877
  # objects as values.
1878
1878
  #
1879
- # source://thor//lib/thor/base.rb#482
1879
+ # source://thor//lib/thor/base.rb#486
1880
1880
  def all_tasks; end
1881
1881
 
1882
1882
  # If you want to use defaults that don't match the type of an option,
@@ -2114,7 +2114,7 @@ module Thor::Base::ClassMethods
2114
2114
 
2115
2115
  # @raise [UndefinedCommandError]
2116
2116
  #
2117
- # source://thor//lib/thor/base.rb#613
2117
+ # source://thor//lib/thor/base.rb#616
2118
2118
  def handle_no_task_error(command, has_namespace = T.unsafe(nil)); end
2119
2119
 
2120
2120
  # Sets the namespace for the Thor or Thor::Group class. By default the
@@ -2191,7 +2191,7 @@ module Thor::Base::ClassMethods
2191
2191
  # remove_command :this_is_not_a_command
2192
2192
  # end
2193
2193
  #
2194
- # source://thor//lib/thor/base.rb#530
2194
+ # source://thor//lib/thor/base.rb#534
2195
2195
  def no_tasks(&block); end
2196
2196
 
2197
2197
  # Allows to use private methods from parent in child classes as commands.
@@ -2217,7 +2217,7 @@ module Thor::Base::ClassMethods
2217
2217
  # public_command :foo
2218
2218
  # public_command :foo, :bar, :baz
2219
2219
  #
2220
- # source://thor//lib/thor/base.rb#606
2220
+ # source://thor//lib/thor/base.rb#611
2221
2221
  def public_task(*names); end
2222
2222
 
2223
2223
  # Removes a previous defined argument. If :undefine is given, undefine
@@ -2274,7 +2274,7 @@ module Thor::Base::ClassMethods
2274
2274
  # options<Hash>:: You can give :undefine => true if you want commands the method
2275
2275
  # to be undefined from the class as well.
2276
2276
  #
2277
- # source://thor//lib/thor/base.rb#500
2277
+ # source://thor//lib/thor/base.rb#509
2278
2278
  def remove_task(*names); end
2279
2279
 
2280
2280
  # Parses the command and options from the given args, instantiate the class
@@ -2318,7 +2318,7 @@ module Thor::Base::ClassMethods
2318
2318
  # Hash:: An ordered hash with commands names as keys and Thor::Command
2319
2319
  # objects as values.
2320
2320
  #
2321
- # source://thor//lib/thor/base.rb#471
2321
+ # source://thor//lib/thor/base.rb#474
2322
2322
  def tasks; end
2323
2323
 
2324
2324
  protected
@@ -2381,7 +2381,7 @@ module Thor::Base::ClassMethods
2381
2381
  # SIGNATURE: Creates a new command if valid_command? is true. This method is
2382
2382
  # called when a new method is added to the class.
2383
2383
  #
2384
- # source://thor//lib/thor/base.rb#782
2384
+ # source://thor//lib/thor/base.rb#784
2385
2385
  def create_task(meth); end
2386
2386
 
2387
2387
  # SIGNATURE: The hook invoked by start.
@@ -2402,7 +2402,7 @@ module Thor::Base::ClassMethods
2402
2402
  # class, just return it, otherwise dup it and add the fresh copy to the
2403
2403
  # current command hash.
2404
2404
  #
2405
- # source://thor//lib/thor/base.rb#708
2405
+ # source://thor//lib/thor/base.rb#717
2406
2406
  def find_and_refresh_task(name); end
2407
2407
 
2408
2408
  # Retrieves a value from superclass. If it reaches the baseclass,
@@ -2780,7 +2780,7 @@ class Thor::Group
2780
2780
 
2781
2781
  # Returns commands ready to be printed.
2782
2782
  #
2783
- # source://thor//lib/thor/group.rb#199
2783
+ # source://thor//lib/thor/group.rb#205
2784
2784
  def printable_tasks(*_arg0); end
2785
2785
 
2786
2786
  # Remove a previously added invocation.
@@ -2806,7 +2806,7 @@ class Thor::Group
2806
2806
  # source://thor//lib/thor/group.rb#263
2807
2807
  def create_command(meth); end
2808
2808
 
2809
- # source://thor//lib/thor/group.rb#263
2809
+ # source://thor//lib/thor/group.rb#267
2810
2810
  def create_task(meth); end
2811
2811
 
2812
2812
  # The method responsible for dispatching given the args.
@@ -2823,7 +2823,7 @@ class Thor::Group
2823
2823
 
2824
2824
  # Represents the whole class as a command.
2825
2825
  #
2826
- # source://thor//lib/thor/group.rb#254
2826
+ # source://thor//lib/thor/group.rb#257
2827
2827
  def self_task; end
2828
2828
  end
2829
2829
  end
@@ -2943,7 +2943,7 @@ module Thor::Invocation
2943
2943
 
2944
2944
  # Invoke the given command if the given args.
2945
2945
  #
2946
- # source://thor//lib/thor/invocation.rb#122
2946
+ # source://thor//lib/thor/invocation.rb#130
2947
2947
  def invoke_task(command, *args); end
2948
2948
 
2949
2949
  # Invokes using shell padding.
@@ -2971,7 +2971,7 @@ module Thor::Invocation
2971
2971
  # use the given name and return self as class. Otherwise, call
2972
2972
  # prepare_for_invocation in the current class.
2973
2973
  #
2974
- # source://thor//lib/thor/invocation.rb#153
2974
+ # source://thor//lib/thor/invocation.rb#163
2975
2975
  def _retrieve_class_and_task(name, sent_command = T.unsafe(nil)); end
2976
2976
 
2977
2977
  # Configuration values that are shared between invocations.
@@ -3152,10 +3152,10 @@ class Thor::Option < ::Thor::Argument
3152
3152
  # source://thor//lib/thor/parser/option.rb#99
3153
3153
  def aliases_for_usage; end
3154
3154
 
3155
- # source://thor//lib/thor/parser/option.rb#118
3155
+ # source://thor//lib/thor/parser/option.rb#117
3156
3156
  def array?; end
3157
3157
 
3158
- # source://thor//lib/thor/parser/option.rb#118
3158
+ # source://thor//lib/thor/parser/option.rb#117
3159
3159
  def boolean?; end
3160
3160
 
3161
3161
  # Returns the value of attribute group.
@@ -3163,7 +3163,7 @@ class Thor::Option < ::Thor::Argument
3163
3163
  # source://thor//lib/thor/parser/option.rb#3
3164
3164
  def group; end
3165
3165
 
3166
- # source://thor//lib/thor/parser/option.rb#118
3166
+ # source://thor//lib/thor/parser/option.rb#117
3167
3167
  def hash?; end
3168
3168
 
3169
3169
  # Returns the value of attribute hide.
@@ -3179,7 +3179,7 @@ class Thor::Option < ::Thor::Argument
3179
3179
  # source://thor//lib/thor/parser/option.rb#3
3180
3180
  def lazy_default; end
3181
3181
 
3182
- # source://thor//lib/thor/parser/option.rb#118
3182
+ # source://thor//lib/thor/parser/option.rb#117
3183
3183
  def numeric?; end
3184
3184
 
3185
3185
  # Returns the value of attribute repeatable.
@@ -3192,7 +3192,7 @@ class Thor::Option < ::Thor::Argument
3192
3192
  # source://thor//lib/thor/parser/option.rb#107
3193
3193
  def show_default?; end
3194
3194
 
3195
- # source://thor//lib/thor/parser/option.rb#118
3195
+ # source://thor//lib/thor/parser/option.rb#117
3196
3196
  def string?; end
3197
3197
 
3198
3198
  # source://thor//lib/thor/parser/option.rb#75
@@ -3445,37 +3445,37 @@ module Thor::Shell
3445
3445
  # source://thor//lib/thor/shell.rb#44
3446
3446
  def initialize(args = T.unsafe(nil), options = T.unsafe(nil), config = T.unsafe(nil)); end
3447
3447
 
3448
- # source://thor//lib/thor/shell.rb#59
3448
+ # source://thor//lib/thor/shell.rb#58
3449
3449
  def ask(*args, &block); end
3450
3450
 
3451
- # source://thor//lib/thor/shell.rb#59
3451
+ # source://thor//lib/thor/shell.rb#58
3452
3452
  def error(*args, &block); end
3453
3453
 
3454
- # source://thor//lib/thor/shell.rb#59
3454
+ # source://thor//lib/thor/shell.rb#58
3455
3455
  def file_collision(*args, &block); end
3456
3456
 
3457
- # source://thor//lib/thor/shell.rb#59
3457
+ # source://thor//lib/thor/shell.rb#58
3458
3458
  def no?(*args, &block); end
3459
3459
 
3460
- # source://thor//lib/thor/shell.rb#59
3460
+ # source://thor//lib/thor/shell.rb#58
3461
3461
  def print_in_columns(*args, &block); end
3462
3462
 
3463
- # source://thor//lib/thor/shell.rb#59
3463
+ # source://thor//lib/thor/shell.rb#58
3464
3464
  def print_table(*args, &block); end
3465
3465
 
3466
- # source://thor//lib/thor/shell.rb#59
3466
+ # source://thor//lib/thor/shell.rb#58
3467
3467
  def print_wrapped(*args, &block); end
3468
3468
 
3469
- # source://thor//lib/thor/shell.rb#59
3469
+ # source://thor//lib/thor/shell.rb#58
3470
3470
  def say(*args, &block); end
3471
3471
 
3472
- # source://thor//lib/thor/shell.rb#59
3472
+ # source://thor//lib/thor/shell.rb#58
3473
3473
  def say_error(*args, &block); end
3474
3474
 
3475
- # source://thor//lib/thor/shell.rb#59
3475
+ # source://thor//lib/thor/shell.rb#58
3476
3476
  def say_status(*args, &block); end
3477
3477
 
3478
- # source://thor//lib/thor/shell.rb#59
3478
+ # source://thor//lib/thor/shell.rb#58
3479
3479
  def set_color(*args, &block); end
3480
3480
 
3481
3481
  # Holds the shell for the given Thor instance. If no shell is given,
@@ -3491,7 +3491,7 @@ module Thor::Shell
3491
3491
  # source://thor//lib/thor/shell.rb#25
3492
3492
  def shell=(_arg0); end
3493
3493
 
3494
- # source://thor//lib/thor/shell.rb#59
3494
+ # source://thor//lib/thor/shell.rb#58
3495
3495
  def terminal_width(*args, &block); end
3496
3496
 
3497
3497
  # Yields the given block with padding.
@@ -3499,7 +3499,7 @@ module Thor::Shell
3499
3499
  # source://thor//lib/thor/shell.rb#66
3500
3500
  def with_padding; end
3501
3501
 
3502
- # source://thor//lib/thor/shell.rb#59
3502
+ # source://thor//lib/thor/shell.rb#58
3503
3503
  def yes?(*args, &block); end
3504
3504
 
3505
3505
  protected
@@ -4313,7 +4313,7 @@ module Thor::Util
4313
4313
  # ==== Parameters
4314
4314
  # namespace<String>
4315
4315
  #
4316
- # source://thor//lib/thor/util.rb#131
4316
+ # source://thor//lib/thor/util.rb#148
4317
4317
  def find_class_and_task_by_namespace(namespace, fallback = T.unsafe(nil)); end
4318
4318
 
4319
4319
  # Where to look for Thor files.