generalbots/src/basic/keywords
Rodrigo Rodriguez (Pragmatismo) 5b08bd887e feat(compiler): clean up stale schedules on script recompilation
Added tracking of previously scheduled scripts using a `HashSet` and initialized it in `BasicCompiler::new`. Updated `compile_file` and `preprocess_basic` to require mutable access, allowing schedule cleanup before processing. Implemented logic to delete existing scheduled automations for a script using Diesel queries, ensuring old schedules are removed when a script is recompiled without a `SET_SCHEDULE`. Added necessary Diesel imports and `TriggerKind` reference. This prevents duplicate or orphaned scheduled tasks.
2025-11-05 10:15:36 -03:00
..
add_suggestion.rs feat(llm): add cancel_job support and integrate session cleanup 2025-11-02 15:13:47 -03:00
add_suggestion.test.rs feat: refactor auth and models, update LLM fallback strategy 2025-11-04 23:11:33 -03:00
add_tool.rs feat(compiler): clean up stale schedules on script recompilation 2025-11-05 10:15:36 -03:00
add_tool.test.rs feat: refactor auth and models, update LLM fallback strategy 2025-11-04 23:11:33 -03:00
add_website.rs feat: refactor auth and models, update LLM fallback strategy 2025-11-04 23:11:33 -03:00
bot_memory.rs feat: add trace logging, refactor bot streaming, add config fallback 2025-11-03 10:13:39 -03:00
clear_tools.rs - Knowledge management. 2025-10-18 18:20:02 -03:00
create_draft.rs - Remove all compilation errors. 2025-10-11 12:29:03 -03:00
create_site.rs feat: refactor auth and models, update LLM fallback strategy 2025-11-04 23:11:33 -03:00
find.rs feat: refactor auth and models, update LLM fallback strategy 2025-11-04 23:11:33 -03:00
first.rs - Remove all compilation errors. 2025-10-11 12:29:03 -03:00
for_next.rs - 0 errors. 2025-10-11 20:41:52 -03:00
format.rs feat: refactor auth and models, update LLM fallback strategy 2025-11-04 23:11:33 -03:00
format.test.rs feat: refactor auth and models, update LLM fallback strategy 2025-11-04 23:11:33 -03:00
get.rs feat: refactor auth and models, update LLM fallback strategy 2025-11-04 23:11:33 -03:00
get_website.rs - Remove all compilation errors. 2025-10-11 12:29:03 -03:00
hear_talk.rs feat(automation): add LLM server readiness check and improve user session handling 2025-11-02 23:54:14 -03:00
last.rs feat: refactor auth and models, update LLM fallback strategy 2025-11-04 23:11:33 -03:00
last.test.rs feat: refactor auth and models, update LLM fallback strategy 2025-11-04 23:11:33 -03:00
list_tools.rs - Knowledge management. 2025-10-18 18:20:02 -03:00
llm_keyword.rs feat(llm): add model selection and response processing 2025-11-03 13:12:05 -03:00
mod.rs feat(compiler): clean up stale schedules on script recompilation 2025-11-05 10:15:36 -03:00
on.rs Migrate automations to param and sqlite 2025-10-16 11:43:02 -03:00
print.rs - Remove all compilation errors. 2025-10-11 12:29:03 -03:00
set.rs - Only 18 errors missing being fixed. 2025-10-11 20:25:08 -03:00
set_context.rs refactor(state): rename resource clients and improve keyword syntax 2025-11-01 20:53:45 -03:00
set_kb.rs - Knowledge management. 2025-10-18 18:20:02 -03:00
set_schedule.rs feat(schedule): optimize set_schedule with update-first approach 2025-11-05 09:05:25 -03:00
set_user.rs refactor(state): rename resource clients and improve keyword syntax 2025-11-01 20:53:45 -03:00
wait.rs - Remove all compilation errors. 2025-10-11 12:29:03 -03:00