aia 2.0.0.0.pre.beta2 โ†’ 2.0.1

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 (227) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +152 -223
  3. data/README.md +41 -18
  4. data/bin/aia +8 -3
  5. data/lib/aia/aia_completion.bash +2 -3
  6. data/lib/aia/aia_completion.fish +6 -5
  7. data/lib/aia/aia_completion.zsh +2 -3
  8. data/lib/aia/chat_loop.rb +16 -14
  9. data/lib/aia/config/cli_parser.rb +123 -91
  10. data/lib/aia/config/defaults.yml +18 -40
  11. data/lib/aia/config/mcp_parser.rb +30 -36
  12. data/lib/aia/config/model_spec.rb +8 -14
  13. data/lib/aia/config/validator.rb +102 -103
  14. data/lib/aia/config/value_caster.rb +76 -0
  15. data/lib/aia/config.rb +70 -53
  16. data/lib/aia/crew.rb +29 -19
  17. data/lib/aia/debate_handler.rb +27 -10
  18. data/lib/aia/directives/configuration_directives.rb +55 -14
  19. data/lib/aia/directives/context_directives.rb +24 -12
  20. data/lib/aia/directives/execution_directives.rb +18 -23
  21. data/lib/aia/directives/model_directives.rb +41 -104
  22. data/lib/aia/directives/utility_directives.rb +16 -17
  23. data/lib/aia/directives/web_and_file_directives.rb +21 -14
  24. data/lib/aia/fact_asserter.rb +3 -3
  25. data/lib/aia/history_transfer.rb +64 -24
  26. data/lib/aia/logger.rb +14 -46
  27. data/lib/aia/mcp_config_normalizer.rb +27 -14
  28. data/lib/aia/mcp_connection_manager.rb +181 -184
  29. data/lib/aia/mcp_discovery.rb +43 -15
  30. data/lib/aia/mcp_grouper.rb +2 -1
  31. data/lib/aia/mcp_server_config.rb +20 -2
  32. data/lib/aia/mcp_utility.rb +24 -19
  33. data/lib/aia/mention_router.rb +15 -2
  34. data/lib/aia/modality_query.rb +36 -0
  35. data/lib/aia/model_alias_registry.rb +11 -11
  36. data/lib/aia/model_registry.rb +75 -0
  37. data/lib/aia/network_builder.rb +8 -7
  38. data/lib/aia/patches/mcp_stdio_stderr.rb +102 -0
  39. data/lib/aia/patches/ruby_llm_streaming_error.rb +21 -4
  40. data/lib/aia/patches/ruby_llm_tool_param_compat.rb +18 -0
  41. data/lib/aia/pipeline_orchestrator.rb +71 -38
  42. data/lib/aia/prompt_decomposer.rb +1 -1
  43. data/lib/aia/prompt_handler.rb +56 -29
  44. data/lib/aia/provider_registry.rb +105 -0
  45. data/lib/aia/robot_builder.rb +1 -1
  46. data/lib/aia/robot_factory.rb +67 -63
  47. data/lib/aia/robot_sync.rb +79 -0
  48. data/lib/aia/role_catalog.rb +89 -0
  49. data/lib/aia/session.rb +25 -11
  50. data/lib/aia/skill_utils.rb +60 -19
  51. data/lib/aia/spawn_handler.rb +16 -4
  52. data/lib/aia/spawn_spec_parser.rb +6 -7
  53. data/lib/aia/special_mode_handler.rb +28 -25
  54. data/lib/aia/speech.rb +70 -34
  55. data/lib/aia/startup_coordinator.rb +17 -92
  56. data/lib/aia/streaming_runner.rb +10 -2
  57. data/lib/aia/system_prompt_assembler.rb +12 -11
  58. data/lib/aia/task_board.rb +60 -0
  59. data/lib/aia/tool_approver.rb +205 -0
  60. data/lib/aia/tool_filter.rb +1 -10
  61. data/lib/aia/tool_filter_strategy.rb +12 -1
  62. data/lib/aia/tool_introspection.rb +9 -1
  63. data/lib/aia/tool_loader.rb +67 -33
  64. data/lib/aia/tool_utility.rb +6 -5
  65. data/lib/aia/tools/delegate_to_foreman_tool.rb +6 -4
  66. data/lib/aia/tools/recruit_robot_tool.rb +12 -12
  67. data/lib/aia/tools/reskill_robot_tool.rb +7 -7
  68. data/lib/aia/tools/task_board_tool.rb +16 -16
  69. data/lib/aia/trakflow_bridge.rb +14 -8
  70. data/lib/aia/turn_state.rb +31 -8
  71. data/lib/aia/ui_presenter.rb +16 -0
  72. data/lib/aia/utility.rb +6 -24
  73. data/lib/aia/variable_input_collector.rb +0 -3
  74. data/lib/aia/verification_network.rb +9 -10
  75. data/lib/aia/version.rb +1 -9
  76. data/lib/aia.rb +34 -8
  77. metadata +20 -161
  78. data/.better-commits.json +0 -150
  79. data/.config/tocer/configuration.yml +0 -6
  80. data/.envrc +0 -19
  81. data/.loki +0 -11
  82. data/.reek.yml +0 -160
  83. data/.rubocop.yml +0 -116
  84. data/.rubocop_strict.yml +0 -15
  85. data/.version +0 -1
  86. data/COMMITS.md +0 -196
  87. data/IMPLEMENTATION_PLAN.md +0 -506
  88. data/Rakefile +0 -47
  89. data/_typos.toml +0 -10
  90. data/aia.gemspec +0 -92
  91. data/architecture_review.md +0 -314
  92. data/config/aia.yml +0 -13
  93. data/docs/AGENTS.md +0 -40
  94. data/docs/advanced-prompting.md +0 -814
  95. data/docs/assets/images/aia.png +0 -0
  96. data/docs/cli-reference.md +0 -1241
  97. data/docs/configuration.md +0 -747
  98. data/docs/contributing.md +0 -386
  99. data/docs/directives-reference.md +0 -1145
  100. data/docs/examples/index.md +0 -277
  101. data/docs/examples/mcp/index.md +0 -475
  102. data/docs/examples/prompts/analysis/index.md +0 -78
  103. data/docs/examples/prompts/automation/index.md +0 -109
  104. data/docs/examples/prompts/development/index.md +0 -125
  105. data/docs/examples/prompts/index.md +0 -333
  106. data/docs/examples/prompts/learning/index.md +0 -127
  107. data/docs/examples/prompts/writing/index.md +0 -62
  108. data/docs/examples/tools/index.md +0 -282
  109. data/docs/faq.md +0 -578
  110. data/docs/guides/available-models.md +0 -366
  111. data/docs/guides/basic-usage.md +0 -478
  112. data/docs/guides/chat.md +0 -680
  113. data/docs/guides/crew.md +0 -239
  114. data/docs/guides/executable-prompts.md +0 -331
  115. data/docs/guides/first-prompt.md +0 -454
  116. data/docs/guides/getting-started.md +0 -455
  117. data/docs/guides/image-generation.md +0 -507
  118. data/docs/guides/index.md +0 -48
  119. data/docs/guides/local-models.md +0 -306
  120. data/docs/guides/migrate-prompts.md +0 -335
  121. data/docs/guides/models.md +0 -1017
  122. data/docs/guides/shared-tools.md +0 -254
  123. data/docs/guides/tools.md +0 -831
  124. data/docs/index.md +0 -259
  125. data/docs/installation.md +0 -274
  126. data/docs/mcp-integration.md +0 -603
  127. data/docs/prompt_management.md +0 -665
  128. data/docs/security.md +0 -674
  129. data/docs/special_projects_guide.md +0 -386
  130. data/docs/tools-and-mcp-examples.md +0 -1211
  131. data/docs/workflows-and-pipelines.md +0 -636
  132. data/examples/.gitignore +0 -2
  133. data/examples/00_setup_aia.sh +0 -111
  134. data/examples/01_basic_usage.sh +0 -23
  135. data/examples/02_frontmatter.sh +0 -33
  136. data/examples/03_shell_integration.sh +0 -55
  137. data/examples/04_erb_templating.sh +0 -56
  138. data/examples/05_shell_then_erb.sh +0 -38
  139. data/examples/06_prompt_chaining.sh +0 -59
  140. data/examples/07_pipeline.sh +0 -46
  141. data/examples/08_context_files.sh +0 -43
  142. data/examples/09_roles.sh +0 -67
  143. data/examples/10_stdin_piping.sh +0 -49
  144. data/examples/11_multi_model.sh +0 -65
  145. data/examples/12_token_usage.sh +0 -52
  146. data/examples/13_cost_tracking.sh +0 -68
  147. data/examples/14_output_file.sh +0 -91
  148. data/examples/15_parameters.sh +0 -68
  149. data/examples/16_directives.sh +0 -113
  150. data/examples/17_require_and_conditionals.sh +0 -68
  151. data/examples/18_tools.sh +0 -61
  152. data/examples/19_local_tools.sh +0 -34
  153. data/examples/20_mcp_servers.sh +0 -102
  154. data/examples/21_executable_prompts.sh +0 -78
  155. data/examples/22_chat_mode.sh +0 -217
  156. data/examples/23_verify.sh +0 -139
  157. data/examples/24_decompose.sh +0 -139
  158. data/examples/25_spawn.sh +0 -139
  159. data/examples/26_debate.sh +0 -97
  160. data/examples/27_mention_routing.sh +0 -157
  161. data/examples/28_model_switching.sh +0 -106
  162. data/examples/29_agent_harness.sh +0 -177
  163. data/examples/README.md +0 -321
  164. data/examples/advanced_multi_robot_capabilities_without_examples.md +0 -106
  165. data/examples/aia_config.yml +0 -22
  166. data/examples/aia_config_orchestrator.yml +0 -45
  167. data/examples/aia_config_with_mcp.yml +0 -21
  168. data/examples/common.sh +0 -39
  169. data/examples/context/project_goals.md +0 -6
  170. data/examples/context/tech_stack.md +0 -7
  171. data/examples/directives/timestamp_directive.rb +0 -22
  172. data/examples/mcp/filesystem.json +0 -9
  173. data/examples/prompts_dir/analyze.md +0 -2
  174. data/examples/prompts_dir/brainstorm.md +0 -2
  175. data/examples/prompts_dir/conditional.md +0 -17
  176. data/examples/prompts_dir/creative.md +0 -4
  177. data/examples/prompts_dir/erbinfo.md +0 -5
  178. data/examples/prompts_dir/erbinfo_raw.md +0 -8
  179. data/examples/prompts_dir/evaluate.md +0 -2
  180. data/examples/prompts_dir/explain_joke.md +0 -1
  181. data/examples/prompts_dir/explain_recursion.md +0 -1
  182. data/examples/prompts_dir/fun_fact +0 -3
  183. data/examples/prompts_dir/greeting.md +0 -8
  184. data/examples/prompts_dir/greeting_required.md +0 -7
  185. data/examples/prompts_dir/hello.md +0 -1
  186. data/examples/prompts_dir/includes/ruby_facts.md +0 -4
  187. data/examples/prompts_dir/limerick.md +0 -1
  188. data/examples/prompts_dir/list_with_mcp.md +0 -3
  189. data/examples/prompts_dir/pick_best.md +0 -2
  190. data/examples/prompts_dir/project_summary +0 -12
  191. data/examples/prompts_dir/quiz_with_include.md +0 -6
  192. data/examples/prompts_dir/require_demo.md +0 -5
  193. data/examples/prompts_dir/roles/formal.md +0 -3
  194. data/examples/prompts_dir/roles/orchestrator.md +0 -21
  195. data/examples/prompts_dir/roles/pirate.md +0 -3
  196. data/examples/prompts_dir/shell_then_erb.md +0 -6
  197. data/examples/prompts_dir/sort_compare.md +0 -2
  198. data/examples/prompts_dir/summarize_context.md +0 -2
  199. data/examples/prompts_dir/sysinfo.md +0 -5
  200. data/examples/prompts_dir/sysinfo_raw.md +0 -8
  201. data/examples/prompts_dir/tagline.md +0 -1
  202. data/examples/prompts_dir/tell_joke.md +0 -1
  203. data/examples/prompts_dir/tell_joke_with_next.md +0 -4
  204. data/examples/prompts_dir/use_local_tool.md +0 -8
  205. data/examples/prompts_dir/use_tools.md +0 -8
  206. data/examples/prompts_dir/weather.md +0 -2
  207. data/examples/prompts_dir/whats_new.md +0 -2
  208. data/examples/prompts_dir/with_timestamp.md +0 -5
  209. data/examples/requirements/sinatra_taskflow_app.md +0 -139
  210. data/examples/rules/01_classify_ruby.rb +0 -16
  211. data/examples/rules/02_prefer_claude_for_code.rb +0 -19
  212. data/examples/rules/03_gate_prompt_length.rb +0 -19
  213. data/examples/rules/04_tool_selection.rb +0 -41
  214. data/examples/rules/README.md +0 -30
  215. data/examples/run_all.sh +0 -294
  216. data/examples/tools/word_count_tool.rb +0 -30
  217. data/lib/AGENTS.md +0 -57
  218. data/lib/aia/model_switch_handler.rb +0 -100
  219. data/mcp_servers/README.md +0 -110
  220. data/mcp_servers/apple-mcp.json +0 -8
  221. data/mcp_servers/filesystem.json +0 -9
  222. data/mcp_servers/mcp_server_chart.json +0 -11
  223. data/mcp_servers/playwright_one.json +0 -8
  224. data/mcp_servers/playwright_server_definition.json +0 -9
  225. data/mcp_servers/playwright_two.json +0 -8
  226. data/mcp_servers/tavily_mcp_server.json +0 -8
  227. data/mkdocs.yml +0 -169
data/lib/aia.rb CHANGED
@@ -8,8 +8,12 @@ require 'bigdecimal'
8
8
  require 'robot_lab'
9
9
  require 'pm'
10
10
 
11
- require_relative 'aia/patches/ruby_llm_tool_error'
12
- require_relative 'aia/patches/ruby_llm_streaming_error'
11
+ # Patches disabled 2026-09-16 (per DVH) โ€” re-enable by uncommenting.
12
+ # NOTE: with ruby_llm_tool_param_compat disabled, the 2.0-style tool DSL
13
+ # (`parameter`/`description:`) in lib/aia/tools/ requires ruby_llm >= 2.0.
14
+ # require_relative 'aia/patches/ruby_llm_tool_error'
15
+ # require_relative 'aia/patches/ruby_llm_streaming_error'
16
+ # require_relative 'aia/patches/ruby_llm_tool_param_compat'
13
17
 
14
18
  require_relative 'aia/errors'
15
19
  require_relative 'aia/timing'
@@ -20,7 +24,13 @@ require_relative 'aia/speech'
20
24
  require_relative 'aia/utility'
21
25
  require_relative 'aia/mcp_server_config'
22
26
  require_relative 'aia/skill_utils'
27
+ require_relative 'aia/role_catalog'
28
+ require_relative 'aia/model_registry'
29
+ require_relative 'aia/task_board'
30
+ require_relative 'aia/trakflow_bridge'
31
+ require_relative 'aia/task_coordinator'
23
32
  require_relative 'aia/version'
33
+ require_relative 'aia/provider_registry'
24
34
  require_relative 'aia/config'
25
35
  require_relative 'aia/logger'
26
36
 
@@ -37,16 +47,18 @@ require_relative 'aia/tools/reskill_robot_tool'
37
47
  require_relative 'aia/system_prompt_assembler'
38
48
  require_relative 'aia/mcp_config_normalizer'
39
49
  require_relative 'aia/network_memory_manager'
50
+ require_relative 'aia/tool_approver'
40
51
  require_relative 'aia/robot_factory'
52
+ require_relative 'aia/robot_sync'
41
53
  require_relative 'aia/robot_builder'
42
54
  require_relative 'aia/directive_processor'
43
55
  require_relative 'aia/variable_input_collector'
56
+ require_relative 'aia/patches/mcp_stdio_stderr'
44
57
  require_relative 'aia/ui_presenter'
45
58
  require_relative 'aia/input_collector'
46
59
  require_relative 'aia/handler_context'
47
60
  require_relative 'aia/handler_protocol'
48
61
  require_relative 'aia/model_alias_registry'
49
- require_relative 'aia/model_switch_handler'
50
62
  require_relative 'aia/mcp_discovery'
51
63
  require_relative 'aia/mcp_grouper'
52
64
  require_relative 'aia/cost_calculator'
@@ -74,9 +86,7 @@ module AIA
74
86
  $DEBUG_ME = false
75
87
  DebugMeDefaultOptions[:skip1] = true
76
88
 
77
- at_exit do
78
- $stderr.puts 'Exiting AIA application...'
79
- end
89
+ at_exit { AIA.announce_exit }
80
90
 
81
91
  @config = nil
82
92
  @client = nil
@@ -84,7 +94,23 @@ module AIA
84
94
  @turn_state = TurnState.new
85
95
 
86
96
  class << self
87
- attr_accessor :config, :client, :session_tracker, :turn_state, :task_coordinator
97
+ attr_accessor :config, :client, :session_tracker, :turn_state, :mcp_manager
98
+ attr_writer :task_coordinator
99
+
100
+ # The TrakFlow task coordinator, started the first time it is asked for.
101
+ #
102
+ # @return [AIA::TaskCoordinator, nil]
103
+ def task_coordinator
104
+ @task_coordinator ||= TaskBoard.coordinator
105
+ end
106
+
107
+ # Say goodbye when an interactive chat session ends. One-shot commands
108
+ # (--version, --help, --mcp-list, piped prompts) exit silently.
109
+ #
110
+ # @param io [IO]
111
+ def announce_exit(io = $stderr)
112
+ io.puts 'Exiting AIA application...' if chat?
113
+ end
88
114
 
89
115
  def logger
90
116
  AIA::LoggerManager.aia_logger
@@ -92,7 +118,7 @@ module AIA
92
118
 
93
119
  def reset!
94
120
  @config = @client = @session_tracker = @turn_state =
95
- @task_coordinator = nil
121
+ @task_coordinator = @mcp_manager = nil
96
122
  ToolLoader.reset_instance!
97
123
  end
98
124
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aia
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0.0.pre.beta2
4
+ version: 2.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dewayne VanHoozer
@@ -29,14 +29,14 @@ dependencies:
29
29
  requirements:
30
30
  - - "~>"
31
31
  - !ruby/object:Gem::Version
32
- version: '0.2'
32
+ version: '0.6'
33
33
  type: :runtime
34
34
  prerelease: false
35
35
  version_requirements: !ruby/object:Gem::Requirement
36
36
  requirements:
37
37
  - - "~>"
38
38
  - !ruby/object:Gem::Version
39
- version: '0.2'
39
+ version: '0.6'
40
40
  - !ruby/object:Gem::Dependency
41
41
  name: myway_config
42
42
  requirement: !ruby/object:Gem::Requirement
@@ -57,14 +57,14 @@ dependencies:
57
57
  requirements:
58
58
  - - "~>"
59
59
  - !ruby/object:Gem::Version
60
- version: 1.0.2
60
+ version: '1.2'
61
61
  type: :runtime
62
62
  prerelease: false
63
63
  version_requirements: !ruby/object:Gem::Requirement
64
64
  requirements:
65
65
  - - "~>"
66
66
  - !ruby/object:Gem::Version
67
- version: 1.0.2
67
+ version: '1.2'
68
68
  - !ruby/object:Gem::Dependency
69
69
  name: lumberjack
70
70
  requirement: !ruby/object:Gem::Requirement
@@ -418,150 +418,10 @@ executables:
418
418
  extensions: []
419
419
  extra_rdoc_files: []
420
420
  files:
421
- - ".better-commits.json"
422
- - ".config/tocer/configuration.yml"
423
- - ".envrc"
424
- - ".loki"
425
- - ".reek.yml"
426
- - ".rubocop.yml"
427
- - ".rubocop_strict.yml"
428
- - ".version"
429
421
  - CHANGELOG.md
430
- - COMMITS.md
431
- - IMPLEMENTATION_PLAN.md
432
422
  - LICENSE
433
423
  - README.md
434
- - Rakefile
435
- - _typos.toml
436
- - aia.gemspec
437
- - architecture_review.md
438
424
  - bin/aia
439
- - config/aia.yml
440
- - docs/AGENTS.md
441
- - docs/advanced-prompting.md
442
- - docs/assets/images/aia.png
443
- - docs/cli-reference.md
444
- - docs/configuration.md
445
- - docs/contributing.md
446
- - docs/directives-reference.md
447
- - docs/examples/index.md
448
- - docs/examples/mcp/index.md
449
- - docs/examples/prompts/analysis/index.md
450
- - docs/examples/prompts/automation/index.md
451
- - docs/examples/prompts/development/index.md
452
- - docs/examples/prompts/index.md
453
- - docs/examples/prompts/learning/index.md
454
- - docs/examples/prompts/writing/index.md
455
- - docs/examples/tools/index.md
456
- - docs/faq.md
457
- - docs/guides/available-models.md
458
- - docs/guides/basic-usage.md
459
- - docs/guides/chat.md
460
- - docs/guides/crew.md
461
- - docs/guides/executable-prompts.md
462
- - docs/guides/first-prompt.md
463
- - docs/guides/getting-started.md
464
- - docs/guides/image-generation.md
465
- - docs/guides/index.md
466
- - docs/guides/local-models.md
467
- - docs/guides/migrate-prompts.md
468
- - docs/guides/models.md
469
- - docs/guides/shared-tools.md
470
- - docs/guides/tools.md
471
- - docs/index.md
472
- - docs/installation.md
473
- - docs/mcp-integration.md
474
- - docs/prompt_management.md
475
- - docs/security.md
476
- - docs/special_projects_guide.md
477
- - docs/tools-and-mcp-examples.md
478
- - docs/workflows-and-pipelines.md
479
- - examples/.gitignore
480
- - examples/00_setup_aia.sh
481
- - examples/01_basic_usage.sh
482
- - examples/02_frontmatter.sh
483
- - examples/03_shell_integration.sh
484
- - examples/04_erb_templating.sh
485
- - examples/05_shell_then_erb.sh
486
- - examples/06_prompt_chaining.sh
487
- - examples/07_pipeline.sh
488
- - examples/08_context_files.sh
489
- - examples/09_roles.sh
490
- - examples/10_stdin_piping.sh
491
- - examples/11_multi_model.sh
492
- - examples/12_token_usage.sh
493
- - examples/13_cost_tracking.sh
494
- - examples/14_output_file.sh
495
- - examples/15_parameters.sh
496
- - examples/16_directives.sh
497
- - examples/17_require_and_conditionals.sh
498
- - examples/18_tools.sh
499
- - examples/19_local_tools.sh
500
- - examples/20_mcp_servers.sh
501
- - examples/21_executable_prompts.sh
502
- - examples/22_chat_mode.sh
503
- - examples/23_verify.sh
504
- - examples/24_decompose.sh
505
- - examples/25_spawn.sh
506
- - examples/26_debate.sh
507
- - examples/27_mention_routing.sh
508
- - examples/28_model_switching.sh
509
- - examples/29_agent_harness.sh
510
- - examples/README.md
511
- - examples/advanced_multi_robot_capabilities_without_examples.md
512
- - examples/aia_config.yml
513
- - examples/aia_config_orchestrator.yml
514
- - examples/aia_config_with_mcp.yml
515
- - examples/common.sh
516
- - examples/context/project_goals.md
517
- - examples/context/tech_stack.md
518
- - examples/directives/timestamp_directive.rb
519
- - examples/mcp/filesystem.json
520
- - examples/prompts_dir/analyze.md
521
- - examples/prompts_dir/brainstorm.md
522
- - examples/prompts_dir/conditional.md
523
- - examples/prompts_dir/creative.md
524
- - examples/prompts_dir/erbinfo.md
525
- - examples/prompts_dir/erbinfo_raw.md
526
- - examples/prompts_dir/evaluate.md
527
- - examples/prompts_dir/explain_joke.md
528
- - examples/prompts_dir/explain_recursion.md
529
- - examples/prompts_dir/fun_fact
530
- - examples/prompts_dir/greeting.md
531
- - examples/prompts_dir/greeting_required.md
532
- - examples/prompts_dir/hello.md
533
- - examples/prompts_dir/includes/ruby_facts.md
534
- - examples/prompts_dir/limerick.md
535
- - examples/prompts_dir/list_with_mcp.md
536
- - examples/prompts_dir/pick_best.md
537
- - examples/prompts_dir/project_summary
538
- - examples/prompts_dir/quiz_with_include.md
539
- - examples/prompts_dir/require_demo.md
540
- - examples/prompts_dir/roles/formal.md
541
- - examples/prompts_dir/roles/orchestrator.md
542
- - examples/prompts_dir/roles/pirate.md
543
- - examples/prompts_dir/shell_then_erb.md
544
- - examples/prompts_dir/sort_compare.md
545
- - examples/prompts_dir/summarize_context.md
546
- - examples/prompts_dir/sysinfo.md
547
- - examples/prompts_dir/sysinfo_raw.md
548
- - examples/prompts_dir/tagline.md
549
- - examples/prompts_dir/tell_joke.md
550
- - examples/prompts_dir/tell_joke_with_next.md
551
- - examples/prompts_dir/use_local_tool.md
552
- - examples/prompts_dir/use_tools.md
553
- - examples/prompts_dir/weather.md
554
- - examples/prompts_dir/whats_new.md
555
- - examples/prompts_dir/with_timestamp.md
556
- - examples/requirements/sinatra_taskflow_app.md
557
- - examples/rules/01_classify_ruby.rb
558
- - examples/rules/02_prefer_claude_for_code.rb
559
- - examples/rules/03_gate_prompt_length.rb
560
- - examples/rules/04_tool_selection.rb
561
- - examples/rules/README.md
562
- - examples/run_all.sh
563
- - examples/tools/word_count_tool.rb
564
- - lib/AGENTS.md
565
425
  - lib/aia.rb
566
426
  - lib/aia/aia_completion.bash
567
427
  - lib/aia/aia_completion.fish
@@ -573,6 +433,7 @@ files:
573
433
  - lib/aia/config/mcp_parser.rb
574
434
  - lib/aia/config/model_spec.rb
575
435
  - lib/aia/config/validator.rb
436
+ - lib/aia/config/value_caster.rb
576
437
  - lib/aia/content_extractor.rb
577
438
  - lib/aia/cost_calculator.rb
578
439
  - lib/aia/crew.rb
@@ -603,20 +464,26 @@ files:
603
464
  - lib/aia/mcp_server_config.rb
604
465
  - lib/aia/mcp_utility.rb
605
466
  - lib/aia/mention_router.rb
467
+ - lib/aia/modality_query.rb
606
468
  - lib/aia/model_alias_registry.rb
607
- - lib/aia/model_switch_handler.rb
469
+ - lib/aia/model_registry.rb
608
470
  - lib/aia/network_builder.rb
609
471
  - lib/aia/network_memory_manager.rb
472
+ - lib/aia/patches/mcp_stdio_stderr.rb
610
473
  - lib/aia/patches/ruby_llm_streaming_error.rb
611
474
  - lib/aia/patches/ruby_llm_tool_error.rb
475
+ - lib/aia/patches/ruby_llm_tool_param_compat.rb
612
476
  - lib/aia/pipeline_orchestrator.rb
613
477
  - lib/aia/plugin_loader.rb
614
478
  - lib/aia/plugin_monitor.rb
615
479
  - lib/aia/prompt_decomposer.rb
616
480
  - lib/aia/prompt_handler.rb
481
+ - lib/aia/provider_registry.rb
617
482
  - lib/aia/robot_builder.rb
618
483
  - lib/aia/robot_factory.rb
619
484
  - lib/aia/robot_namer.rb
485
+ - lib/aia/robot_sync.rb
486
+ - lib/aia/role_catalog.rb
620
487
  - lib/aia/session.rb
621
488
  - lib/aia/session_tracker.rb
622
489
  - lib/aia/similarity_scorer.rb
@@ -628,11 +495,13 @@ files:
628
495
  - lib/aia/startup_coordinator.rb
629
496
  - lib/aia/streaming_runner.rb
630
497
  - lib/aia/system_prompt_assembler.rb
498
+ - lib/aia/task_board.rb
631
499
  - lib/aia/task_coordinator.rb
632
500
  - lib/aia/task_decomposer.rb
633
501
  - lib/aia/task_executor.rb
634
502
  - lib/aia/tfidf_math.rb
635
503
  - lib/aia/timing.rb
504
+ - lib/aia/tool_approver.rb
636
505
  - lib/aia/tool_filter.rb
637
506
  - lib/aia/tool_filter/tfidf.rb
638
507
  - lib/aia/tool_filter/wordnet_expander.rb
@@ -652,31 +521,21 @@ files:
652
521
  - lib/aia/variable_input_collector.rb
653
522
  - lib/aia/verification_network.rb
654
523
  - lib/aia/version.rb
655
- - mcp_servers/README.md
656
- - mcp_servers/apple-mcp.json
657
- - mcp_servers/filesystem.json
658
- - mcp_servers/mcp_server_chart.json
659
- - mcp_servers/playwright_one.json
660
- - mcp_servers/playwright_server_definition.json
661
- - mcp_servers/playwright_two.json
662
- - mcp_servers/tavily_mcp_server.json
663
- - mkdocs.yml
664
524
  homepage: https://github.com/MadBomber/aia
665
525
  licenses:
666
526
  - MIT
667
527
  metadata:
668
528
  allowed_push_host: https://rubygems.org
669
- homepage_uri: https://github.com/MadBomber/aia
529
+ documentation_uri: https://madbomber.github.io/aia
670
530
  source_code_uri: https://github.com/MadBomber/aia
671
- changelog_uri: https://github.com/MadBomber/aia
531
+ changelog_uri: https://github.com/MadBomber/aia/blob/main/CHANGELOG.md
672
532
  rubygems_mfa_required: 'true'
673
533
  post_install_message: |2+
674
534
 
675
535
  โ•”โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•—
676
536
  โ•‘ AIA โ€” AI Assistant v2.0 โ•‘
677
537
  โ•‘ โ•‘
678
- โ•‘ v2 is powered by robot_lab for robust orchestration โ•‘
679
- โ•‘ Full CLI backward compatibility with v1 โ•‘
538
+ โ•‘ v2 is powered by robot_lab for robust orchestration โ•‘
680
539
  โ•šโ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•
681
540
 
682
541
  Get started: aia --help
@@ -689,14 +548,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
689
548
  requirements:
690
549
  - - ">="
691
550
  - !ruby/object:Gem::Version
692
- version: 4.0.0
551
+ version: 4.0.9
693
552
  required_rubygems_version: !ruby/object:Gem::Requirement
694
553
  requirements:
695
554
  - - ">="
696
555
  - !ruby/object:Gem::Version
697
556
  version: '0'
698
557
  requirements: []
699
- rubygems_version: 4.0.20
558
+ rubygems_version: 4.0.23
700
559
  specification_version: 4
701
560
  summary: Multi-model AI CLI with dynamic prompts, consensus responses, shell & Ruby
702
561
  integration, and seamless chat workflows.
data/.better-commits.json DELETED
@@ -1,150 +0,0 @@
1
- {
2
- "check_status": true,
3
- "commit_type": {
4
- "enable": true,
5
- "initial_value": "feat",
6
- "infer_type_from_branch": true,
7
- "append_emoji_to_label": false,
8
- "append_emoji_to_commit": false,
9
- "options": [
10
- {
11
- "value": "feat",
12
- "label": "feat",
13
- "hint": "A new feature",
14
- "emoji": "โœจ"
15
- },
16
- {
17
- "value": "fix",
18
- "label": "fix",
19
- "hint": "A bug fix",
20
- "emoji": "๐Ÿ›"
21
- },
22
- {
23
- "value": "docs",
24
- "label": "docs",
25
- "hint": "Documentation only changes",
26
- "emoji": "๐Ÿ“š"
27
- },
28
- {
29
- "value": "refactor",
30
- "label": "refactor",
31
- "hint": "A code change that neither fixes a bug nor adds a feature",
32
- "emoji": "๐Ÿ”จ"
33
- },
34
- {
35
- "value": "perf",
36
- "label": "perf",
37
- "hint": "A code change that improves performance",
38
- "emoji": "๐Ÿš€"
39
- },
40
- {
41
- "value": "test",
42
- "label": "test",
43
- "hint": "Adding missing tests or correcting existing tests",
44
- "emoji": "๐Ÿšจ"
45
- },
46
- {
47
- "value": "build",
48
- "label": "build",
49
- "hint": "Changes that affect the build system or external dependencies",
50
- "emoji": "๐Ÿšง"
51
- },
52
- {
53
- "value": "ci",
54
- "label": "ci",
55
- "hint": "Changes to our CI configuration files and scripts",
56
- "emoji": "๐Ÿค–"
57
- },
58
- {
59
- "value": "chore",
60
- "label": "chore",
61
- "hint": "Other changes that do not modify src or test files",
62
- "emoji": "๐Ÿงน"
63
- },
64
- {
65
- "value": "",
66
- "label": "none"
67
- }
68
- ]
69
- },
70
- "commit_scope": {
71
- "enable": true,
72
- "custom_scope": false,
73
- "initial_value": "app",
74
- "options": [
75
- {
76
- "value": "app",
77
- "label": "app"
78
- },
79
- {
80
- "value": "shared",
81
- "label": "shared"
82
- },
83
- {
84
- "value": "server",
85
- "label": "server"
86
- },
87
- {
88
- "value": "tools",
89
- "label": "tools"
90
- },
91
- {
92
- "value": "",
93
- "label": "none"
94
- }
95
- ]
96
- },
97
- "check_ticket": {
98
- "infer_ticket": true,
99
- "confirm_ticket": true,
100
- "add_to_title": true,
101
- "append_hashtag": false,
102
- "title_position": "start"
103
- },
104
- "commit_title": {
105
- "max_size": 70
106
- },
107
- "commit_body": {
108
- "enable": true,
109
- "required": false
110
- },
111
- "commit_footer": {
112
- "enable": true,
113
- "initial_value": [],
114
- "options": [
115
- "closes",
116
- "breaking-change",
117
- "deprecated",
118
- "custom"
119
- ]
120
- },
121
- "breaking_change": {
122
- "add_exclamation_to_title": true
123
- },
124
- "confirm_commit": true,
125
- "print_commit_output": true,
126
- "branch_pre_commands": [],
127
- "branch_post_commands": [],
128
- "worktree_pre_commands": [],
129
- "worktree_post_commands": [],
130
- "branch_user": {
131
- "enable": true,
132
- "required": false,
133
- "separator": "/"
134
- },
135
- "branch_type": {
136
- "enable": true,
137
- "separator": "/"
138
- },
139
- "branch_ticket": {
140
- "enable": true,
141
- "required": false,
142
- "separator": "_"
143
- },
144
- "branch_description": {
145
- "max_length": 70
146
- },
147
- "branch_action_default": "branch",
148
- "enable_worktrees": true,
149
- "overrides": {}
150
- }
@@ -1,6 +0,0 @@
1
- label: "## Table of Contents"
2
- patterns:
3
- - "README.md"
4
- - docs/*.md
5
- - docs/draft_articles/*.md
6
- root_dir: "."
data/.envrc DELETED
@@ -1,19 +0,0 @@
1
- # robot_lab_project/aia/.envrc
2
-
3
- source_up
4
-
5
- export RR=$(pwd)
6
-
7
- export AIA_PLUGINS_DIR=$RR/plugins
8
-
9
- # PATH_add $RR/bin
10
-
11
- # see aia --help for --model option
12
- # The format of a "model" is [provider/]model_name[=roll_id]
13
- # where provider and roll_id are optional
14
- # Use a comma to seperate the models in a multi-model setup
15
- #
16
- # export AIA_MODEL=claude-haiku-4-5,gpt-4o-mini
17
- export AIA_MODEL=lms/qwen3.8
18
-
19
- export BUNDLE_GEMFILE=Gemfile
data/.loki DELETED
@@ -1,11 +0,0 @@
1
- # frozen_string_literal: true
2
- # aia/.loki โ€” asgard task runner for the aia gem
3
-
4
- import_up "repo_dev.loki"
5
-
6
- class Tasks
7
- @@gem_name ||= "aia".freeze
8
-
9
- header "aia โ€” AI Assistant CLI gem"
10
- footer "Run `asgard help TASK` for details on any task"
11
- end