Commit Graph

12 Commits

Author SHA1 Message Date
marko-kraemer 0c9c78ec40 wip 2025-10-05 02:55:08 +02:00
marko-kraemer 0ec17b0d3a refactor: completely remove workflow and playbook system
- Remove workflow_tool.py and all workflow-related backend code
- Delete all workflow database tables and create migration
- Remove workflow API endpoints and execution logic
- Clean workflow references from agent tools and triggers
- Remove playbooks tab and UI from agent configuration
- Eliminate workflow_id, workflow_input, and execution_type fields
- Simplify trigger system to agent-only execution
- Remove workflow tool definitions from tool registry
- Clean up TypeScript interfaces and remove workflow types
- Remove playbooks button from chat input
- Update all trigger components to remove workflow selection
- Clean workflow metadata from threads and sidebar
- Remove 80+ critical workflow code references

Simplifies codebase by eliminating complex dual-mode (agent/workflow)
execution system in favor of pure agent-based automation.
2025-10-05 01:51:44 +02:00
marko-kraemer 8d7e85de4c refactor: massive backend simplification - eliminate 450+ lines of duplicate code
- Created unified AgentLoader for all agent data operations
- Eliminated 8 manual AgentResponse constructions across codebase
- Reduced agent_runs.py complexity by 163 lines (85→35 lines in 2 functions)
- Reduced core_utils.py from 553→69 lines (-87%)
- Extracted focused utility modules:
  * utils/icon_generator.py (179 lines)
  * utils/limits_checker.py (245 lines)
  * utils/run_management.py (145 lines)
  * utils/project_helpers.py (113 lines)
  * utils/mcp_helpers.py (41 lines)
- Fixed duplicate router inclusions in api.py
- Renamed template_service.py → marketplace_service.py for clarity
- Reduced template transformer from 73→17 lines (-77%)
- Inlined module-specific helpers (moved agent_run access check)
- Fixed version data false alarm warnings
- Updated AgentResponse model to support optional fields for list operations

Total impact: ~450 lines of duplicate code eliminated, dramatically improved maintainability
2025-10-04 22:32:51 +02:00
marko-kraemer 8108afe706 fix 2025-09-29 16:39:15 +02:00
Saumya 886d9f99b4 feat: remove agent descriptions 2025-09-28 00:01:17 +05:30
Saumya d226e38809 chore: show all tools in config 2025-09-25 13:29:03 +05:30
Krishav 2eb34cf2dc
Merge branch 'kortix-ai:main' into main 2025-09-21 11:33:54 +05:30
Krishav Raj Singh be5f856ec6 feat: auto generate icons 2025-09-19 18:23:09 +05:30
Saumya a931be40bc fix: remove old references of avatar & avatar_color 2025-09-18 12:53:48 +05:30
marko-kraemer ccfb04bed1 rename 2025-09-04 21:44:27 -07:00
marko-kraemer c7b9c47d6c fix 2025-09-04 16:53:34 -07:00
marko-kraemer f73d0f5db6 mv around files, update imports 2025-09-03 22:40:25 -07:00