Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
# - AIR_GAPPED_FRIENDLY: a production container built from this image
# works offline as long as it was built with network access.
#
# Forked from andreab67/hermes-hexus (BSD-3-Clause)
# Forked from andreab67/hermes-memory-pgvector (BSD-3-Clause)

ARG PYTHON_VERSION=3.11
ARG DEBIAN_RELEASE=bookworm
Expand Down
2 changes: 1 addition & 1 deletion docker/compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
# mcp → pg + long-lived MCP server (stdio inside the container;
# operators expose it to editors/agents via their own bridge)
#
# Forked from andreab67/hermes-hexus (BSD-3-Clause)
# Forked from andreab67/hermes-memory-pgvector (BSD-3-Clause)

name: hexus

Expand Down
2 changes: 1 addition & 1 deletion docker/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
# NOTE: shebang is bash (not sh) so /dev/tcp/host/port connectivity checks work.
# python:3.11-slim-bookworm ships with bash at /bin/bash.
#
# Forked from andreab67/hermes-hexus (BSD-3-Clause)
# Forked from andreab67/hermes-memory-pgvector (BSD-3-Clause)

set -eu

Expand Down
2 changes: 1 addition & 1 deletion hexus/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"""hexus — Postgres + hexus memory provider for hermes-agent.
#
# Forked from andreab67/hermes-hexus (BSD-3-Clause).
# Forked from andreab67/hermes-memory-pgvector (BSD-3-Clause).
#
# Mirrors hermes-agent's built-in `memory` tool entries (MEMORY.md / USER.md
# in tools/memory_tool.py) into a single Postgres table, adds 384-dim
Expand Down
2 changes: 1 addition & 1 deletion hexus/ccr/cache.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Forked from andreab67/hermes-hexus (BSD-3-Clause)
# Forked from andreab67/hermes-memory-pgvector (BSD-3-Clause)
import threading
from typing import Dict, Optional

Expand Down
2 changes: 1 addition & 1 deletion hexus/embed.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"""embed.py — embedding client for the hexus memory plugin.
#
# Forked from andreab67/hermes-hexus (BSD-3-Clause).
# Forked from andreab67/hermes-memory-pgvector (BSD-3-Clause).
#
# Originally a module-level `embed(text, *, base_url, model)` that posted
# to an OpenAI-compatible /v1/embeddings or Ollama /api/embed endpoint
Expand Down
2 changes: 1 addition & 1 deletion hexus/embedder.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"""embedder.py — local sentence-transformers embedder for the hexus memory plugin.
#
# Forked from andreab67/hermes-hexus (BSD-3-Clause).
# Forked from andreab67/hermes-memory-pgvector (BSD-3-Clause).
#
# Replaces the upstream HTTP embedder with a local MiniLM-L6-v2 model
# loaded once at first use. Produces 384-dim vectors. The whole model
Expand Down
2 changes: 1 addition & 1 deletion hexus/migrations/001_schema.sql
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
-- 001_schema.sql — hexus memory plugin schema.
--
-- Forked from andreab67/hermes-hexus (BSD-3-Clause).
-- Forked from andreab67/hermes-memory-pgvector (BSD-3-Clause).
--
-- TWO tables, both in the existing hermes_memory database:
-- memory_entries → mirrors hermes-agent's built-in `memory` tool
Expand Down
2 changes: 1 addition & 1 deletion hexus/pipeline/router.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Forked from andreab67/hermes-hexus (BSD-3-Clause)
# Forked from andreab67/hermes-memory-pgvector (BSD-3-Clause)
import re
import json

Expand Down
2 changes: 1 addition & 1 deletion hexus/store.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"""store.py — Postgres ops for the hexus memory plugin.
#
# Forked from andreab67/hermes-hexus (BSD-3-Clause).
# Forked from andreab67/hermes-memory-pgvector (BSD-3-Clause).
#
# Wraps psycopg3 + psycopg_pool. Mirrors hermes-agent's native built-in
# memory model (`memory` tool's add/replace/remove on targets 'memory' /
Expand Down
2 changes: 1 addition & 1 deletion hexus/writer.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"""writer.py — async write queue for the hexus memory plugin.
#
# Forked from andreab67/hermes-hexus (BSD-3-Clause).
# Forked from andreab67/hermes-memory-pgvector (BSD-3-Clause).
#
# Decouples `on_memory_write` from the (potentially slow) embed + INSERT
# path. Built-in memory tool fires the hook → we enqueue → background
Expand Down
2 changes: 1 addition & 1 deletion mcp_server/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"""mcp_server — Model Context Protocol server for hexus.

Forked from andreab67/hermes-hexus (BSD-3-Clause).
Forked from andreab67/hermes-memory-pgvector (BSD-3-Clause).

Exposes the same Postgres + hexus memory store that the Hermes plugin
uses to any MCP client (Claude Desktop, Cursor, custom agents) as a set
Expand Down
2 changes: 1 addition & 1 deletion mcp_server/cli.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"""mcp_server.cli — `hexus-mcp` console script entry point.

Forked from andreab67/hermes-hexus (BSD-3-Clause).
Forked from andreab67/hermes-memory-pgvector (BSD-3-Clause).

Usage:
hexus-mcp serve --transport stdio --dsn "dbname=... user=... host=..."
Expand Down
2 changes: 1 addition & 1 deletion mcp_server/server.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"""mcp_server.server — FastMCP wiring for hexus.

Forked from andreab67/hermes-hexus (BSD-3-Clause).
Forked from andreab67/hermes-memory-pgvector (BSD-3-Clause).

Each `@server.tool()` registers one of the pure functions in `tools.py`
as an MCP tool. The MCP transport (stdio or streamable-http) is selected
Expand Down
2 changes: 1 addition & 1 deletion mcp_server/tools.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"""mcp_server.tools — pure functions implementing the MCP tool surface.

Forked from andreab67/hermes-hexus (BSD-3-Clause).
Forked from andreab67/hermes-memory-pgvector (BSD-3-Clause).

These functions are transport-agnostic; `server.py` wraps each one as an
MCP tool. They're also the unit-test surface — every tool is testable
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ mcp = [
[project.urls]
Homepage = "https://github.com/codenamekt/hexus"
Source = "https://github.com/codenamekt/hexus"
Upstream = "https://github.com/andreab67/hermes-hexus"
Upstream = "https://github.com/andreab67/hermes-memory-pgvector"
Issues = "https://github.com/codenamekt/hexus/issues"
Roadmap = "https://github.com/codenamekt/hexus/blob/main/PLAN.md"

Expand Down
2 changes: 1 addition & 1 deletion tests/test_conformance.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Forked from andreab67/hermes-hexus (BSD-3-Clause)
# Forked from andreab67/hermes-memory-pgvector (BSD-3-Clause)
"""Conformance tests to ensure HexusMemoryProvider matches the MemoryProvider plugin interface contract."""

from __future__ import annotations
Expand Down
2 changes: 1 addition & 1 deletion tests/test_mcp_server.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"""tests/test_mcp_server.py — tests for the MCP tool surface.

Forked from andreab67/hermes-hexus (BSD-3-Clause).
Forked from andreab67/hermes-memory-pgvector (BSD-3-Clause).

Two layers:
1. **Tool-function tests** — exercise each pure function in
Expand Down
Loading