hyperforge 1.0.0.post70__tar.gz → 1.0.0.post80__tar.gz
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.
- {hyperforge-1.0.0.post70 → hyperforge-1.0.0.post80}/PKG-INFO +1 -1
- {hyperforge-1.0.0.post70 → hyperforge-1.0.0.post80}/pyproject.toml +1 -1
- {hyperforge-1.0.0.post70 → hyperforge-1.0.0.post80}/src/hyperforge/memory/memory.py +12 -0
- {hyperforge-1.0.0.post70 → hyperforge-1.0.0.post80}/src/hyperforge/models.py +9 -3
- {hyperforge-1.0.0.post70 → hyperforge-1.0.0.post80}/src/hyperforge/server/web.py +6 -2
- {hyperforge-1.0.0.post70 → hyperforge-1.0.0.post80}/README.md +0 -0
- {hyperforge-1.0.0.post70 → hyperforge-1.0.0.post80}/VERSION +0 -0
- {hyperforge-1.0.0.post70 → hyperforge-1.0.0.post80}/src/hyperforge/__init__.py +0 -0
- {hyperforge-1.0.0.post70 → hyperforge-1.0.0.post80}/src/hyperforge/agent.py +0 -0
- {hyperforge-1.0.0.post70 → hyperforge-1.0.0.post80}/src/hyperforge/alembic/README +0 -0
- {hyperforge-1.0.0.post70 → hyperforge-1.0.0.post80}/src/hyperforge/alembic/env.py +0 -0
- {hyperforge-1.0.0.post70 → hyperforge-1.0.0.post80}/src/hyperforge/alembic/script.py.mako +0 -0
- {hyperforge-1.0.0.post70 → hyperforge-1.0.0.post80}/src/hyperforge/alembic/versions/049a4aed19e1_create_generation_table.py +0 -0
- {hyperforge-1.0.0.post70 → hyperforge-1.0.0.post80}/src/hyperforge/alembic/versions/1416cb41bd49_add_downloads_table.py +0 -0
- {hyperforge-1.0.0.post70 → hyperforge-1.0.0.post80}/src/hyperforge/alembic/versions/2847934e2d59_unique_driver.py +0 -0
- {hyperforge-1.0.0.post70 → hyperforge-1.0.0.post80}/src/hyperforge/alembic/versions/4d89a36c8bda_memory.py +0 -0
- {hyperforge-1.0.0.post70 → hyperforge-1.0.0.post80}/src/hyperforge/alembic/versions/72b997edb05d_identifier_for_drivers.py +0 -0
- {hyperforge-1.0.0.post70 → hyperforge-1.0.0.post80}/src/hyperforge/alembic/versions/9c6f6a1b4e7f_workflows_default_fk.py +0 -0
- {hyperforge-1.0.0.post70 → hyperforge-1.0.0.post80}/src/hyperforge/alembic/versions/b8edb72295e0_.py +0 -0
- {hyperforge-1.0.0.post70 → hyperforge-1.0.0.post80}/src/hyperforge/alembic/versions/f3d2c1b0a9e8_soft_delete_workflows.py +0 -0
- {hyperforge-1.0.0.post70 → hyperforge-1.0.0.post80}/src/hyperforge/alembic.ini +0 -0
- {hyperforge-1.0.0.post70 → hyperforge-1.0.0.post80}/src/hyperforge/api/__init__.py +0 -0
- {hyperforge-1.0.0.post70 → hyperforge-1.0.0.post80}/src/hyperforge/api/app.py +0 -0
- {hyperforge-1.0.0.post70 → hyperforge-1.0.0.post80}/src/hyperforge/api/authentication.py +0 -0
- {hyperforge-1.0.0.post70 → hyperforge-1.0.0.post80}/src/hyperforge/api/commands.py +0 -0
- {hyperforge-1.0.0.post70 → hyperforge-1.0.0.post80}/src/hyperforge/api/internal/__init__.py +0 -0
- {hyperforge-1.0.0.post70 → hyperforge-1.0.0.post80}/src/hyperforge/api/internal/inspect.py +0 -0
- {hyperforge-1.0.0.post70 → hyperforge-1.0.0.post80}/src/hyperforge/api/internal/router.py +0 -0
- {hyperforge-1.0.0.post70 → hyperforge-1.0.0.post80}/src/hyperforge/api/logging.py +0 -0
- {hyperforge-1.0.0.post70 → hyperforge-1.0.0.post80}/src/hyperforge/api/models.py +0 -0
- {hyperforge-1.0.0.post70 → hyperforge-1.0.0.post80}/src/hyperforge/api/session.py +0 -0
- {hyperforge-1.0.0.post70 → hyperforge-1.0.0.post80}/src/hyperforge/api/settings.py +0 -0
- {hyperforge-1.0.0.post70 → hyperforge-1.0.0.post80}/src/hyperforge/api/utils.py +0 -0
- {hyperforge-1.0.0.post70 → hyperforge-1.0.0.post80}/src/hyperforge/api/v1/__init__.py +0 -0
- {hyperforge-1.0.0.post70 → hyperforge-1.0.0.post80}/src/hyperforge/api/v1/agents.py +0 -0
- {hyperforge-1.0.0.post70 → hyperforge-1.0.0.post80}/src/hyperforge/api/v1/interaction.py +0 -0
- {hyperforge-1.0.0.post70 → hyperforge-1.0.0.post80}/src/hyperforge/api/v1/mcp_content.py +0 -0
- {hyperforge-1.0.0.post70 → hyperforge-1.0.0.post80}/src/hyperforge/api/v1/mcp_interaction.py +0 -0
- {hyperforge-1.0.0.post70 → hyperforge-1.0.0.post80}/src/hyperforge/api/v1/oauth.py +0 -0
- {hyperforge-1.0.0.post70 → hyperforge-1.0.0.post80}/src/hyperforge/api/v1/prompt.py +0 -0
- {hyperforge-1.0.0.post70 → hyperforge-1.0.0.post80}/src/hyperforge/api/v1/router.py +0 -0
- {hyperforge-1.0.0.post70 → hyperforge-1.0.0.post80}/src/hyperforge/api/v1/schema.py +0 -0
- {hyperforge-1.0.0.post70 → hyperforge-1.0.0.post80}/src/hyperforge/api/v1/session.py +0 -0
- {hyperforge-1.0.0.post70 → hyperforge-1.0.0.post80}/src/hyperforge/api/v1/utils.py +0 -0
- {hyperforge-1.0.0.post70 → hyperforge-1.0.0.post80}/src/hyperforge/api/v1/workflows.py +0 -0
- {hyperforge-1.0.0.post70 → hyperforge-1.0.0.post80}/src/hyperforge/arag.py +0 -0
- {hyperforge-1.0.0.post70 → hyperforge-1.0.0.post80}/src/hyperforge/broker/__init__.py +0 -0
- {hyperforge-1.0.0.post70 → hyperforge-1.0.0.post80}/src/hyperforge/broker/local.py +0 -0
- {hyperforge-1.0.0.post70 → hyperforge-1.0.0.post80}/src/hyperforge/broker/redis.py +0 -0
- {hyperforge-1.0.0.post70 → hyperforge-1.0.0.post80}/src/hyperforge/configure.py +0 -0
- {hyperforge-1.0.0.post70 → hyperforge-1.0.0.post80}/src/hyperforge/context/__init__.py +0 -0
- {hyperforge-1.0.0.post70 → hyperforge-1.0.0.post80}/src/hyperforge/context/agent.py +0 -0
- {hyperforge-1.0.0.post70 → hyperforge-1.0.0.post80}/src/hyperforge/context/config.py +0 -0
- {hyperforge-1.0.0.post70 → hyperforge-1.0.0.post80}/src/hyperforge/database.py +0 -0
- {hyperforge-1.0.0.post70 → hyperforge-1.0.0.post80}/src/hyperforge/db/__init__.py +0 -0
- {hyperforge-1.0.0.post70 → hyperforge-1.0.0.post80}/src/hyperforge/db/agents.py +0 -0
- {hyperforge-1.0.0.post70 → hyperforge-1.0.0.post80}/src/hyperforge/db/encryption.py +0 -0
- {hyperforge-1.0.0.post70 → hyperforge-1.0.0.post80}/src/hyperforge/db/exceptions.py +0 -0
- {hyperforge-1.0.0.post70 → hyperforge-1.0.0.post80}/src/hyperforge/db/settings.py +0 -0
- {hyperforge-1.0.0.post70 → hyperforge-1.0.0.post80}/src/hyperforge/db/workflow_cleanup.py +0 -0
- {hyperforge-1.0.0.post70 → hyperforge-1.0.0.post80}/src/hyperforge/definition.py +0 -0
- {hyperforge-1.0.0.post70 → hyperforge-1.0.0.post80}/src/hyperforge/driver.py +0 -0
- {hyperforge-1.0.0.post70 → hyperforge-1.0.0.post80}/src/hyperforge/dummy.py +0 -0
- {hyperforge-1.0.0.post70 → hyperforge-1.0.0.post80}/src/hyperforge/engine.py +0 -0
- {hyperforge-1.0.0.post70 → hyperforge-1.0.0.post80}/src/hyperforge/exceptions.py +0 -0
- {hyperforge-1.0.0.post70 → hyperforge-1.0.0.post80}/src/hyperforge/feature_flag.py +0 -0
- {hyperforge-1.0.0.post70 → hyperforge-1.0.0.post80}/src/hyperforge/fixtures.py +0 -0
- {hyperforge-1.0.0.post70 → hyperforge-1.0.0.post80}/src/hyperforge/interaction.py +0 -0
- {hyperforge-1.0.0.post70 → hyperforge-1.0.0.post80}/src/hyperforge/llm.py +0 -0
- {hyperforge-1.0.0.post70 → hyperforge-1.0.0.post80}/src/hyperforge/manager.py +0 -0
- {hyperforge-1.0.0.post70 → hyperforge-1.0.0.post80}/src/hyperforge/memory/__init__.py +0 -0
- {hyperforge-1.0.0.post70 → hyperforge-1.0.0.post80}/src/hyperforge/minimal_fixtures.py +0 -0
- {hyperforge-1.0.0.post70 → hyperforge-1.0.0.post80}/src/hyperforge/nua.py +0 -0
- {hyperforge-1.0.0.post70 → hyperforge-1.0.0.post80}/src/hyperforge/openapi.py +0 -0
- {hyperforge-1.0.0.post70 → hyperforge-1.0.0.post80}/src/hyperforge/prompts.py +0 -0
- {hyperforge-1.0.0.post70 → hyperforge-1.0.0.post80}/src/hyperforge/pubsub.py +0 -0
- {hyperforge-1.0.0.post70 → hyperforge-1.0.0.post80}/src/hyperforge/py.typed +0 -0
- {hyperforge-1.0.0.post70 → hyperforge-1.0.0.post80}/src/hyperforge/redis_utils.py +0 -0
- {hyperforge-1.0.0.post70 → hyperforge-1.0.0.post80}/src/hyperforge/retrieval/__init__.py +0 -0
- {hyperforge-1.0.0.post70 → hyperforge-1.0.0.post80}/src/hyperforge/retrieval/agent.py +0 -0
- {hyperforge-1.0.0.post70 → hyperforge-1.0.0.post80}/src/hyperforge/retrieval/config.py +0 -0
- {hyperforge-1.0.0.post70 → hyperforge-1.0.0.post80}/src/hyperforge/server/__init__.py +0 -0
- {hyperforge-1.0.0.post70 → hyperforge-1.0.0.post80}/src/hyperforge/server/cache.py +0 -0
- {hyperforge-1.0.0.post70 → hyperforge-1.0.0.post80}/src/hyperforge/server/run.py +0 -0
- {hyperforge-1.0.0.post70 → hyperforge-1.0.0.post80}/src/hyperforge/server/sandbox.py +0 -0
- {hyperforge-1.0.0.post70 → hyperforge-1.0.0.post80}/src/hyperforge/server/session.py +0 -0
- {hyperforge-1.0.0.post70 → hyperforge-1.0.0.post80}/src/hyperforge/server/settings.py +0 -0
- {hyperforge-1.0.0.post70 → hyperforge-1.0.0.post80}/src/hyperforge/server/utils.py +0 -0
- {hyperforge-1.0.0.post70 → hyperforge-1.0.0.post80}/src/hyperforge/settings.py +0 -0
- {hyperforge-1.0.0.post70 → hyperforge-1.0.0.post80}/src/hyperforge/standalone/__init__.py +0 -0
- {hyperforge-1.0.0.post70 → hyperforge-1.0.0.post80}/src/hyperforge/standalone/agent.py +0 -0
- {hyperforge-1.0.0.post70 → hyperforge-1.0.0.post80}/src/hyperforge/standalone/app.py +0 -0
- {hyperforge-1.0.0.post70 → hyperforge-1.0.0.post80}/src/hyperforge/standalone/config.py +0 -0
- {hyperforge-1.0.0.post70 → hyperforge-1.0.0.post80}/src/hyperforge/standalone/const.py +0 -0
- {hyperforge-1.0.0.post70 → hyperforge-1.0.0.post80}/src/hyperforge/standalone/run.py +0 -0
- {hyperforge-1.0.0.post70 → hyperforge-1.0.0.post80}/src/hyperforge/standalone/settings.py +0 -0
- {hyperforge-1.0.0.post70 → hyperforge-1.0.0.post80}/src/hyperforge/standalone/ui_router.py +0 -0
- {hyperforge-1.0.0.post70 → hyperforge-1.0.0.post80}/src/hyperforge/static/assets/index-DLejS5jC.js +0 -0
- {hyperforge-1.0.0.post70 → hyperforge-1.0.0.post80}/src/hyperforge/static/assets/index-MoxkZ1_3.css +0 -0
- {hyperforge-1.0.0.post70 → hyperforge-1.0.0.post80}/src/hyperforge/static/favicon.svg +0 -0
- {hyperforge-1.0.0.post70 → hyperforge-1.0.0.post80}/src/hyperforge/static/index.html +0 -0
- {hyperforge-1.0.0.post70 → hyperforge-1.0.0.post80}/src/hyperforge/trace.py +0 -0
- {hyperforge-1.0.0.post70 → hyperforge-1.0.0.post80}/src/hyperforge/utils/__init__.py +0 -0
- {hyperforge-1.0.0.post70 → hyperforge-1.0.0.post80}/src/hyperforge/utils/http.py +0 -0
- {hyperforge-1.0.0.post70 → hyperforge-1.0.0.post80}/src/hyperforge/workflows.py +0 -0
|
@@ -4,7 +4,7 @@ build-backend = "uv_build"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "hyperforge"
|
|
7
|
-
version = "1.0.0.
|
|
7
|
+
version = "1.0.0.post80"
|
|
8
8
|
authors = [{ name = "AI Data Team", email = "learning@nuclia.com" }]
|
|
9
9
|
description = "Agentic Framework for Orchestrated Runtime, Governance, and Execution"
|
|
10
10
|
readme = "README.md"
|
|
@@ -206,6 +206,18 @@ class NoMemorySessionMemory(BaseSessionMemory):
|
|
|
206
206
|
async def qa_history(self) -> list[HistoryQuestionAnswer]:
|
|
207
207
|
return []
|
|
208
208
|
|
|
209
|
+
async def set_source(self, source: Source):
|
|
210
|
+
entry = CachedNucliaDBSource(
|
|
211
|
+
cache=self.cache, agent_id=self.agent_id, source=source.id
|
|
212
|
+
)
|
|
213
|
+
await entry.set(source)
|
|
214
|
+
|
|
215
|
+
async def get_source(self, source_id: str) -> Source | None:
|
|
216
|
+
entry = CachedNucliaDBSource(
|
|
217
|
+
cache=self.cache, agent_id=self.agent_id, source=source_id
|
|
218
|
+
)
|
|
219
|
+
return await entry.get()
|
|
220
|
+
|
|
209
221
|
|
|
210
222
|
class EphemeralSessionMemory(BaseSessionMemory):
|
|
211
223
|
@classmethod
|
|
@@ -336,9 +336,15 @@ class Context(BaseModel):
|
|
|
336
336
|
},
|
|
337
337
|
)
|
|
338
338
|
return
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
339
|
+
cited_chunk_ids = {
|
|
340
|
+
citation_id
|
|
341
|
+
for citation_id in self.citations
|
|
342
|
+
if not citation_id.startswith("structured-")
|
|
343
|
+
}
|
|
344
|
+
if cited_chunk_ids:
|
|
345
|
+
self.chunks = [
|
|
346
|
+
chunk for chunk in self.chunks if chunk.chunk_id in cited_chunk_ids
|
|
347
|
+
]
|
|
342
348
|
self.structured = [
|
|
343
349
|
s
|
|
344
350
|
for i, s in enumerate(self.structured)
|
|
@@ -1,8 +1,12 @@
|
|
|
1
|
+
import os
|
|
2
|
+
|
|
1
3
|
import prometheus_client # type: ignore
|
|
2
4
|
from aiohttp import web
|
|
3
5
|
|
|
4
6
|
from hyperforge.server import logger
|
|
5
7
|
|
|
8
|
+
PORT = os.environ.get("HEALTH_CHECK_PORT", "8000")
|
|
9
|
+
|
|
6
10
|
|
|
7
11
|
async def http_handler(request: web.Request):
|
|
8
12
|
if request.path == "/metrics":
|
|
@@ -19,10 +23,10 @@ async def start_web_server() -> web.Server:
|
|
|
19
23
|
server = web.Server(http_handler) # type: ignore
|
|
20
24
|
runner = web.ServerRunner(server)
|
|
21
25
|
await runner.setup()
|
|
22
|
-
site = web.TCPSite(runner, "0.0.0.0",
|
|
26
|
+
site = web.TCPSite(runner, "0.0.0.0", int(PORT))
|
|
23
27
|
await site.start()
|
|
24
28
|
|
|
25
|
-
logger.info("======= Serving on http://0.0.0.0:
|
|
29
|
+
logger.info(f"======= Serving on http://0.0.0.0:{PORT}/ ======")
|
|
26
30
|
return server
|
|
27
31
|
|
|
28
32
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{hyperforge-1.0.0.post70 → hyperforge-1.0.0.post80}/src/hyperforge/alembic/versions/b8edb72295e0_.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{hyperforge-1.0.0.post70 → hyperforge-1.0.0.post80}/src/hyperforge/api/v1/mcp_interaction.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{hyperforge-1.0.0.post70 → hyperforge-1.0.0.post80}/src/hyperforge/static/assets/index-DLejS5jC.js
RENAMED
|
File without changes
|
{hyperforge-1.0.0.post70 → hyperforge-1.0.0.post80}/src/hyperforge/static/assets/index-MoxkZ1_3.css
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|