aia 2.0.0.0.pre.beta2 → 2.0.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/.version +1 -1
- data/CHANGELOG.md +146 -228
- data/README.md +41 -18
- data/bin/aia +8 -3
- data/lib/aia/aia_completion.bash +2 -3
- data/lib/aia/aia_completion.fish +6 -5
- data/lib/aia/aia_completion.zsh +2 -3
- data/lib/aia/chat_loop.rb +16 -14
- data/lib/aia/config/cli_parser.rb +123 -91
- data/lib/aia/config/defaults.yml +12 -39
- data/lib/aia/config/mcp_parser.rb +30 -36
- data/lib/aia/config/model_spec.rb +8 -14
- data/lib/aia/config/validator.rb +102 -103
- data/lib/aia/config/value_caster.rb +76 -0
- data/lib/aia/config.rb +70 -53
- data/lib/aia/crew.rb +29 -19
- data/lib/aia/debate_handler.rb +27 -10
- data/lib/aia/directives/configuration_directives.rb +55 -14
- data/lib/aia/directives/context_directives.rb +24 -12
- data/lib/aia/directives/execution_directives.rb +18 -23
- data/lib/aia/directives/model_directives.rb +41 -104
- data/lib/aia/directives/utility_directives.rb +16 -17
- data/lib/aia/directives/web_and_file_directives.rb +21 -14
- data/lib/aia/fact_asserter.rb +3 -3
- data/lib/aia/history_transfer.rb +64 -24
- data/lib/aia/logger.rb +10 -45
- data/lib/aia/mcp_config_normalizer.rb +27 -14
- data/lib/aia/mcp_connection_manager.rb +181 -184
- data/lib/aia/mcp_discovery.rb +43 -15
- data/lib/aia/mcp_grouper.rb +2 -1
- data/lib/aia/mcp_server_config.rb +20 -2
- data/lib/aia/mcp_utility.rb +24 -19
- data/lib/aia/mention_router.rb +15 -2
- data/lib/aia/modality_query.rb +36 -0
- data/lib/aia/model_alias_registry.rb +11 -11
- data/lib/aia/model_registry.rb +75 -0
- data/lib/aia/network_builder.rb +8 -7
- data/lib/aia/patches/ruby_llm_streaming_error.rb +21 -4
- data/lib/aia/patches/ruby_llm_tool_param_compat.rb +18 -0
- data/lib/aia/pipeline_orchestrator.rb +71 -38
- data/lib/aia/prompt_decomposer.rb +1 -1
- data/lib/aia/prompt_handler.rb +56 -29
- data/lib/aia/provider_registry.rb +105 -0
- data/lib/aia/robot_builder.rb +1 -1
- data/lib/aia/robot_factory.rb +67 -63
- data/lib/aia/robot_sync.rb +79 -0
- data/lib/aia/role_catalog.rb +89 -0
- data/lib/aia/session.rb +25 -11
- data/lib/aia/skill_utils.rb +60 -19
- data/lib/aia/spawn_handler.rb +16 -4
- data/lib/aia/spawn_spec_parser.rb +6 -7
- data/lib/aia/special_mode_handler.rb +28 -25
- data/lib/aia/speech.rb +70 -34
- data/lib/aia/startup_coordinator.rb +17 -92
- data/lib/aia/streaming_runner.rb +10 -2
- data/lib/aia/system_prompt_assembler.rb +12 -11
- data/lib/aia/task_board.rb +60 -0
- data/lib/aia/tool_approver.rb +205 -0
- data/lib/aia/tool_filter.rb +1 -10
- data/lib/aia/tool_filter_strategy.rb +12 -1
- data/lib/aia/tool_introspection.rb +9 -1
- data/lib/aia/tool_loader.rb +67 -33
- data/lib/aia/tool_utility.rb +6 -5
- data/lib/aia/tools/delegate_to_foreman_tool.rb +6 -4
- data/lib/aia/tools/recruit_robot_tool.rb +12 -12
- data/lib/aia/tools/reskill_robot_tool.rb +7 -7
- data/lib/aia/tools/task_board_tool.rb +16 -16
- data/lib/aia/trakflow_bridge.rb +14 -8
- data/lib/aia/turn_state.rb +31 -8
- data/lib/aia/ui_presenter.rb +16 -0
- data/lib/aia/utility.rb +6 -24
- data/lib/aia/variable_input_collector.rb +0 -3
- data/lib/aia/verification_network.rb +9 -10
- data/lib/aia.rb +33 -8
- metadata +19 -160
- data/.better-commits.json +0 -150
- data/.config/tocer/configuration.yml +0 -6
- data/.envrc +0 -19
- data/.loki +0 -11
- data/.reek.yml +0 -160
- data/.rubocop.yml +0 -116
- data/.rubocop_strict.yml +0 -15
- data/COMMITS.md +0 -196
- data/IMPLEMENTATION_PLAN.md +0 -506
- data/Rakefile +0 -47
- data/_typos.toml +0 -10
- data/aia.gemspec +0 -92
- data/architecture_review.md +0 -314
- data/config/aia.yml +0 -13
- data/docs/AGENTS.md +0 -40
- data/docs/advanced-prompting.md +0 -814
- data/docs/assets/images/aia.png +0 -0
- data/docs/cli-reference.md +0 -1241
- data/docs/configuration.md +0 -747
- data/docs/contributing.md +0 -386
- data/docs/directives-reference.md +0 -1145
- data/docs/examples/index.md +0 -277
- data/docs/examples/mcp/index.md +0 -475
- data/docs/examples/prompts/analysis/index.md +0 -78
- data/docs/examples/prompts/automation/index.md +0 -109
- data/docs/examples/prompts/development/index.md +0 -125
- data/docs/examples/prompts/index.md +0 -333
- data/docs/examples/prompts/learning/index.md +0 -127
- data/docs/examples/prompts/writing/index.md +0 -62
- data/docs/examples/tools/index.md +0 -282
- data/docs/faq.md +0 -578
- data/docs/guides/available-models.md +0 -366
- data/docs/guides/basic-usage.md +0 -478
- data/docs/guides/chat.md +0 -680
- data/docs/guides/crew.md +0 -239
- data/docs/guides/executable-prompts.md +0 -331
- data/docs/guides/first-prompt.md +0 -454
- data/docs/guides/getting-started.md +0 -455
- data/docs/guides/image-generation.md +0 -507
- data/docs/guides/index.md +0 -48
- data/docs/guides/local-models.md +0 -306
- data/docs/guides/migrate-prompts.md +0 -335
- data/docs/guides/models.md +0 -1017
- data/docs/guides/shared-tools.md +0 -254
- data/docs/guides/tools.md +0 -831
- data/docs/index.md +0 -259
- data/docs/installation.md +0 -274
- data/docs/mcp-integration.md +0 -603
- data/docs/prompt_management.md +0 -665
- data/docs/security.md +0 -674
- data/docs/special_projects_guide.md +0 -386
- data/docs/tools-and-mcp-examples.md +0 -1211
- data/docs/workflows-and-pipelines.md +0 -636
- data/examples/.gitignore +0 -2
- data/examples/00_setup_aia.sh +0 -111
- data/examples/01_basic_usage.sh +0 -23
- data/examples/02_frontmatter.sh +0 -33
- data/examples/03_shell_integration.sh +0 -55
- data/examples/04_erb_templating.sh +0 -56
- data/examples/05_shell_then_erb.sh +0 -38
- data/examples/06_prompt_chaining.sh +0 -59
- data/examples/07_pipeline.sh +0 -46
- data/examples/08_context_files.sh +0 -43
- data/examples/09_roles.sh +0 -67
- data/examples/10_stdin_piping.sh +0 -49
- data/examples/11_multi_model.sh +0 -65
- data/examples/12_token_usage.sh +0 -52
- data/examples/13_cost_tracking.sh +0 -68
- data/examples/14_output_file.sh +0 -91
- data/examples/15_parameters.sh +0 -68
- data/examples/16_directives.sh +0 -113
- data/examples/17_require_and_conditionals.sh +0 -68
- data/examples/18_tools.sh +0 -61
- data/examples/19_local_tools.sh +0 -34
- data/examples/20_mcp_servers.sh +0 -102
- data/examples/21_executable_prompts.sh +0 -78
- data/examples/22_chat_mode.sh +0 -217
- data/examples/23_verify.sh +0 -139
- data/examples/24_decompose.sh +0 -139
- data/examples/25_spawn.sh +0 -139
- data/examples/26_debate.sh +0 -97
- data/examples/27_mention_routing.sh +0 -157
- data/examples/28_model_switching.sh +0 -106
- data/examples/29_agent_harness.sh +0 -177
- data/examples/README.md +0 -321
- data/examples/advanced_multi_robot_capabilities_without_examples.md +0 -106
- data/examples/aia_config.yml +0 -22
- data/examples/aia_config_orchestrator.yml +0 -45
- data/examples/aia_config_with_mcp.yml +0 -21
- data/examples/common.sh +0 -39
- data/examples/context/project_goals.md +0 -6
- data/examples/context/tech_stack.md +0 -7
- data/examples/directives/timestamp_directive.rb +0 -22
- data/examples/mcp/filesystem.json +0 -9
- data/examples/prompts_dir/analyze.md +0 -2
- data/examples/prompts_dir/brainstorm.md +0 -2
- data/examples/prompts_dir/conditional.md +0 -17
- data/examples/prompts_dir/creative.md +0 -4
- data/examples/prompts_dir/erbinfo.md +0 -5
- data/examples/prompts_dir/erbinfo_raw.md +0 -8
- data/examples/prompts_dir/evaluate.md +0 -2
- data/examples/prompts_dir/explain_joke.md +0 -1
- data/examples/prompts_dir/explain_recursion.md +0 -1
- data/examples/prompts_dir/fun_fact +0 -3
- data/examples/prompts_dir/greeting.md +0 -8
- data/examples/prompts_dir/greeting_required.md +0 -7
- data/examples/prompts_dir/hello.md +0 -1
- data/examples/prompts_dir/includes/ruby_facts.md +0 -4
- data/examples/prompts_dir/limerick.md +0 -1
- data/examples/prompts_dir/list_with_mcp.md +0 -3
- data/examples/prompts_dir/pick_best.md +0 -2
- data/examples/prompts_dir/project_summary +0 -12
- data/examples/prompts_dir/quiz_with_include.md +0 -6
- data/examples/prompts_dir/require_demo.md +0 -5
- data/examples/prompts_dir/roles/formal.md +0 -3
- data/examples/prompts_dir/roles/orchestrator.md +0 -21
- data/examples/prompts_dir/roles/pirate.md +0 -3
- data/examples/prompts_dir/shell_then_erb.md +0 -6
- data/examples/prompts_dir/sort_compare.md +0 -2
- data/examples/prompts_dir/summarize_context.md +0 -2
- data/examples/prompts_dir/sysinfo.md +0 -5
- data/examples/prompts_dir/sysinfo_raw.md +0 -8
- data/examples/prompts_dir/tagline.md +0 -1
- data/examples/prompts_dir/tell_joke.md +0 -1
- data/examples/prompts_dir/tell_joke_with_next.md +0 -4
- data/examples/prompts_dir/use_local_tool.md +0 -8
- data/examples/prompts_dir/use_tools.md +0 -8
- data/examples/prompts_dir/weather.md +0 -2
- data/examples/prompts_dir/whats_new.md +0 -2
- data/examples/prompts_dir/with_timestamp.md +0 -5
- data/examples/requirements/sinatra_taskflow_app.md +0 -139
- data/examples/rules/01_classify_ruby.rb +0 -16
- data/examples/rules/02_prefer_claude_for_code.rb +0 -19
- data/examples/rules/03_gate_prompt_length.rb +0 -19
- data/examples/rules/04_tool_selection.rb +0 -41
- data/examples/rules/README.md +0 -30
- data/examples/run_all.sh +0 -294
- data/examples/tools/word_count_tool.rb +0 -30
- data/lib/AGENTS.md +0 -57
- data/lib/aia/model_switch_handler.rb +0 -100
- data/mcp_servers/README.md +0 -110
- data/mcp_servers/apple-mcp.json +0 -8
- data/mcp_servers/filesystem.json +0 -9
- data/mcp_servers/mcp_server_chart.json +0 -11
- data/mcp_servers/playwright_one.json +0 -8
- data/mcp_servers/playwright_server_definition.json +0 -9
- data/mcp_servers/playwright_two.json +0 -8
- data/mcp_servers/tavily_mcp_server.json +0 -8
- data/mkdocs.yml +0 -169
data/mkdocs.yml
DELETED
|
@@ -1,169 +0,0 @@
|
|
|
1
|
-
# MkDocs Configuration for AIA Documentation
|
|
2
|
-
site_name: AIA - AI Assistant
|
|
3
|
-
site_description: A powerful CLI tool for dynamic prompt management and AI interaction
|
|
4
|
-
site_author: Dewayne VanHoozer
|
|
5
|
-
site_url: https://madbomber.github.io/aia
|
|
6
|
-
copyright: Copyright © 2024 Dewayne VanHoozer
|
|
7
|
-
|
|
8
|
-
# Repository information
|
|
9
|
-
repo_name: madbomber/aia
|
|
10
|
-
repo_url: https://github.com/madbomber/aia
|
|
11
|
-
edit_uri: edit/main/docs/
|
|
12
|
-
|
|
13
|
-
# Configuration
|
|
14
|
-
theme:
|
|
15
|
-
name: material
|
|
16
|
-
|
|
17
|
-
# Color scheme - Default to light mode
|
|
18
|
-
palette:
|
|
19
|
-
# Palette toggle for light mode (default)
|
|
20
|
-
- scheme: default
|
|
21
|
-
primary: blue
|
|
22
|
-
accent: blue
|
|
23
|
-
toggle:
|
|
24
|
-
icon: material/brightness-7
|
|
25
|
-
name: Switch to dark mode
|
|
26
|
-
|
|
27
|
-
# Palette toggle for dark mode
|
|
28
|
-
- scheme: slate
|
|
29
|
-
primary: blue
|
|
30
|
-
accent: blue
|
|
31
|
-
toggle:
|
|
32
|
-
icon: material/brightness-4
|
|
33
|
-
name: Switch to light mode
|
|
34
|
-
|
|
35
|
-
# Typography
|
|
36
|
-
font:
|
|
37
|
-
text: Roboto
|
|
38
|
-
code: Roboto Mono
|
|
39
|
-
|
|
40
|
-
# Theme features
|
|
41
|
-
features:
|
|
42
|
-
# Navigation
|
|
43
|
-
- navigation.instant
|
|
44
|
-
- navigation.tracking
|
|
45
|
-
- navigation.tabs
|
|
46
|
-
- navigation.tabs.sticky
|
|
47
|
-
- navigation.sections
|
|
48
|
-
- navigation.path
|
|
49
|
-
- navigation.indexes
|
|
50
|
-
- navigation.top
|
|
51
|
-
|
|
52
|
-
# Table of contents
|
|
53
|
-
- toc.follow
|
|
54
|
-
|
|
55
|
-
# Search
|
|
56
|
-
- search.suggest
|
|
57
|
-
- search.highlight
|
|
58
|
-
- search.share
|
|
59
|
-
|
|
60
|
-
# Header
|
|
61
|
-
- header.autohide
|
|
62
|
-
|
|
63
|
-
# Content
|
|
64
|
-
- content.code.copy
|
|
65
|
-
- content.code.annotate
|
|
66
|
-
- content.tabs.link
|
|
67
|
-
- content.tooltips
|
|
68
|
-
- content.action.edit
|
|
69
|
-
- content.action.view
|
|
70
|
-
|
|
71
|
-
# Plugins
|
|
72
|
-
plugins:
|
|
73
|
-
- search:
|
|
74
|
-
separator: '[\s\-,:!=\[\]()"`/]+|\.(?!\d)|&[lg]t;|(?!\b)(?=[A-Z][a-z])'
|
|
75
|
-
|
|
76
|
-
# Extensions
|
|
77
|
-
markdown_extensions:
|
|
78
|
-
# Python Markdown
|
|
79
|
-
- abbr
|
|
80
|
-
- admonition
|
|
81
|
-
- attr_list
|
|
82
|
-
- def_list
|
|
83
|
-
- footnotes
|
|
84
|
-
- md_in_html
|
|
85
|
-
- toc:
|
|
86
|
-
permalink: true
|
|
87
|
-
title: On this page
|
|
88
|
-
|
|
89
|
-
# Python Markdown Extensions
|
|
90
|
-
- pymdownx.arithmatex:
|
|
91
|
-
generic: true
|
|
92
|
-
- pymdownx.betterem:
|
|
93
|
-
smart_enable: all
|
|
94
|
-
- pymdownx.caret
|
|
95
|
-
- pymdownx.details
|
|
96
|
-
- pymdownx.emoji:
|
|
97
|
-
emoji_generator: !!python/name:material.extensions.emoji.to_svg
|
|
98
|
-
emoji_index: !!python/name:material.extensions.emoji.twemoji
|
|
99
|
-
- pymdownx.highlight:
|
|
100
|
-
anchor_linenums: true
|
|
101
|
-
line_spans: __span
|
|
102
|
-
pygments_lang_class: true
|
|
103
|
-
- pymdownx.inlinehilite
|
|
104
|
-
- pymdownx.keys
|
|
105
|
-
- pymdownx.magiclink:
|
|
106
|
-
repo_url_shorthand: true
|
|
107
|
-
user: madbomber
|
|
108
|
-
repo: aia
|
|
109
|
-
- pymdownx.mark
|
|
110
|
-
- pymdownx.smartsymbols
|
|
111
|
-
- pymdownx.superfences:
|
|
112
|
-
custom_fences:
|
|
113
|
-
- name: mermaid
|
|
114
|
-
class: mermaid
|
|
115
|
-
format: !!python/name:pymdownx.superfences.fence_code_format
|
|
116
|
-
- pymdownx.tabbed:
|
|
117
|
-
alternate_style: true
|
|
118
|
-
- pymdownx.tasklist:
|
|
119
|
-
custom_checkbox: true
|
|
120
|
-
- pymdownx.tilde
|
|
121
|
-
|
|
122
|
-
# Extra CSS and JavaScript
|
|
123
|
-
extra_css:
|
|
124
|
-
- assets/css/custom.css
|
|
125
|
-
|
|
126
|
-
extra_javascript:
|
|
127
|
-
- assets/js/mathjax.js
|
|
128
|
-
- https://polyfill.io/v3/polyfill.min.js?features=es6
|
|
129
|
-
- https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js
|
|
130
|
-
|
|
131
|
-
# Social media and extra configuration
|
|
132
|
-
extra:
|
|
133
|
-
social:
|
|
134
|
-
- icon: fontawesome/brands/github
|
|
135
|
-
link: https://github.com/madbomber/aia
|
|
136
|
-
name: AIA on GitHub
|
|
137
|
-
- icon: fontawesome/solid/gem
|
|
138
|
-
link: https://rubygems.org/gems/aia
|
|
139
|
-
name: AIA on RubyGems
|
|
140
|
-
|
|
141
|
-
version:
|
|
142
|
-
provider: mike
|
|
143
|
-
|
|
144
|
-
# Navigation
|
|
145
|
-
nav:
|
|
146
|
-
- Home: index.md
|
|
147
|
-
- Installation: installation.md
|
|
148
|
-
- Configuration: configuration.md
|
|
149
|
-
- Guides:
|
|
150
|
-
- guides/index.md
|
|
151
|
-
- Getting Started: guides/getting-started.md
|
|
152
|
-
- Chat Mode: guides/chat.md
|
|
153
|
-
- Working with Models: guides/models.md
|
|
154
|
-
- Crews: guides/crew.md
|
|
155
|
-
- Local Models: guides/local-models.md
|
|
156
|
-
- Available Models: guides/available-models.md
|
|
157
|
-
- Image Generation: guides/image-generation.md
|
|
158
|
-
- Tools Integration: guides/tools.md
|
|
159
|
-
- Shared Tools: guides/shared-tools.md
|
|
160
|
-
- Migrating Prompts: guides/migrate-prompts.md
|
|
161
|
-
- Reference:
|
|
162
|
-
- CLI Parameters: cli-reference.md
|
|
163
|
-
- Directives: directives-reference.md
|
|
164
|
-
- Advanced:
|
|
165
|
-
- Prompt Management: prompt_management.md
|
|
166
|
-
- Advanced Prompting: advanced-prompting.md
|
|
167
|
-
- Workflows & Pipelines: workflows-and-pipelines.md
|
|
168
|
-
- MCP Integration: mcp-integration.md
|
|
169
|
-
- Tools & MCP Examples: tools-and-mcp-examples.md
|