devscontext 0.1.0__py3-none-any.whl

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.
@@ -0,0 +1,28 @@
1
+ """Background agents for DevsContext.
2
+
3
+ This package contains the background pre-processing agent that watches Jira
4
+ for tickets moving to "Ready for Development" and pre-builds rich context
5
+ before anyone picks them up.
6
+
7
+ Components:
8
+ JiraWatcher: Polls Jira for tickets in target status
9
+ PreprocessingPipeline: Builds rich context with multi-pass synthesis
10
+
11
+ Example:
12
+ from devscontext.agents import JiraWatcher, PreprocessingPipeline
13
+ from devscontext.storage import PrebuiltContextStorage
14
+
15
+ storage = PrebuiltContextStorage(".devscontext/cache.db")
16
+ await storage.initialize()
17
+
18
+ pipeline = PreprocessingPipeline(config, storage)
19
+ watcher = JiraWatcher(config, pipeline)
20
+
21
+ # Run the polling loop
22
+ await watcher.run()
23
+ """
24
+
25
+ from devscontext.agents.preprocessor import PreprocessingPipeline
26
+ from devscontext.agents.watcher import JiraWatcher
27
+
28
+ __all__ = ["JiraWatcher", "PreprocessingPipeline"]