Commit Graph

16 Commits

Author SHA1 Message Date
fecb84f4af feat: add hook repair functionality for JSON components- Introduce HOOK_REPAIR_TEMPLATE to generate custom hook files.- Implement _build_hook_repair_agent to create agents for hook generation.- Add _extract_hook_names and _hook_name_to_file_name functions for hook processing.- Enhance _post_process_outputs to handle missing hooks and generate them if necessary. 2026-01-19 19:02:00 +00:00
bf0bc04ad5 feat: add schema repair templates and validation functions- Introduce templates for generating config page schema and repairing registry JSON.- Implement functions to ensure valid schema for config pages and registries.- Add utility functions for JSON manipulation and validation. 2026-01-19 17:58:29 +00:00
749b25eff0 refactor 2026-01-19 13:17:20 +00:00
f224de5a71 should be tough 2026-01-19 12:54:10 +00:00
f7a8b69338 stuff 2026-01-19 12:52:24 +00:00
7208a53d8f stuff 2026-01-19 12:15:20 +00:00
3bcabbf078 feat: add API call delay and logging for retries in migration orchestrator- Introduce a delay of 2 seconds before API calls to manage rate limits.- Enhance logging to provide feedback on retry attempts and failures. 2026-01-19 11:38:13 +00:00
3ac9b53224 feat: implement retry logic for rate-limited agent calls- Add _is_rate_limited function to check for rate limit errors.- Introduce _run_with_retries function to handle retries on rate limit exceptions.- Update agent calls in run_agent_for_component and _resolve_diff_with_agent to use the new retry logic.- Set default model from environment variables for better configuration. 2026-01-19 11:28:38 +00:00
4d8fbbd528 feat: enhance component migration orchestrator with conflict resolution- Add conflict resolution agent to handle unified diffs.- Refactor existing file reading logic to improve clarity.- Update component target categorization to use root name.- Introduce new prompt templates for conflict resolution and analysis.- Improve diff application logic for better error handling and performance. 2026-01-19 11:22:06 +00:00
b55274e5d7 feat: enhance component migration orchestratorRefactor the component migration orchestrator to improve JSON output handling and diff processing. Remove unused imports and functions, streamline prompt generation with existing file contents, and ensure valid JSON structure in the output. Add detailed instructions for JSON formatting and diff representation. 2026-01-19 11:13:01 +00:00
a755203641 feat: enhance snippet merging with diff patching support- replace _append_unique with _merge_snippet for better merging logic- add difflib for generating unified diff patches- create patch files in a new 'patches' directory if specified- ensure unique content is merged without duplicates 2026-01-19 11:05:00 +00:00
7c96537b9e feat: adicionar funções para manipulação de arquivos- Implementar _write_if_content para escrever apenas se o conteúdo não estiver vazio.- Implementar _append_unique para adicionar conteúdo de forma única a arquivos.- Atualizar write_output para usar as novas funções de escrita.- Adicionar opção --clean-out para remover pastas legadas no diretório de saída. 2026-01-19 10:58:46 +00:00
8896f30113 stuff 2026-01-19 10:44:58 +00:00
ee99850c38 stuff 2026-01-19 10:41:06 +00:00
e4a91c729e stuff 2026-01-19 10:39:54 +00:00
11f52fe5b1 funny roof thing 2026-01-19 10:32:57 +00:00