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.
- devscontext/__init__.py +3 -0
- devscontext/adapters/__init__.py +23 -0
- devscontext/adapters/base.py +105 -0
- devscontext/adapters/fireflies.py +585 -0
- devscontext/adapters/gmail.py +580 -0
- devscontext/adapters/jira.py +639 -0
- devscontext/adapters/local_docs.py +984 -0
- devscontext/adapters/slack.py +804 -0
- devscontext/agents/__init__.py +28 -0
- devscontext/agents/preprocessor.py +775 -0
- devscontext/agents/watcher.py +265 -0
- devscontext/cache.py +151 -0
- devscontext/cli.py +727 -0
- devscontext/config.py +264 -0
- devscontext/constants.py +107 -0
- devscontext/core.py +582 -0
- devscontext/exceptions.py +148 -0
- devscontext/logging.py +181 -0
- devscontext/models.py +504 -0
- devscontext/plugins/__init__.py +49 -0
- devscontext/plugins/base.py +321 -0
- devscontext/plugins/registry.py +544 -0
- devscontext/py.typed +0 -0
- devscontext/rag/__init__.py +113 -0
- devscontext/rag/embeddings.py +296 -0
- devscontext/rag/index.py +323 -0
- devscontext/server.py +374 -0
- devscontext/storage.py +321 -0
- devscontext/synthesis.py +1057 -0
- devscontext/utils.py +297 -0
- devscontext-0.1.0.dist-info/METADATA +253 -0
- devscontext-0.1.0.dist-info/RECORD +35 -0
- devscontext-0.1.0.dist-info/WHEEL +4 -0
- devscontext-0.1.0.dist-info/entry_points.txt +2 -0
- devscontext-0.1.0.dist-info/licenses/LICENSE +21 -0
|
@@ -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"]
|