sublayerapp / sublayer

A model-agnostic Ruby Generative AI DSL and framework. Provides base classes for building Generators, Actions, Tasks, and Agents that can be used to build AI powered applications in Ruby.
https://docs.sublayer.com
MIT License
109 stars 2 forks source link

Extract file-based triggers into its own class, and allow the creation of other types of trigger classes #37

Closed swerner closed 3 months ago

swerner commented 3 months ago

Lay the foundation for the creation of multiple different types of Triggers. Extracted the trigger_on_files_changed type trigger into its own FileChange trigger. We'll follow up with new types of core triggers, while still preserving the ability for users to implement their own triggers on a project by project basis similar to output adapters.

With this change merged, I think we're ready to release the new 0.1 version of the gem, and expanding on the functionality of new types of output adapters, creating new types of triggers for agents, and providing many more examples of how to use the agent DSL to build all different types of micro-agents (micro-automations?)