aura-memory 1.0.0__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.
- aura_memory-1.0.0/.github/workflows/release.yml +33 -0
- aura_memory-1.0.0/.github/workflows/test.yml +66 -0
- aura_memory-1.0.0/.github/workflows/wheels.yml +57 -0
- aura_memory-1.0.0/.gitignore +55 -0
- aura_memory-1.0.0/Cargo.lock +3770 -0
- aura_memory-1.0.0/Cargo.toml +122 -0
- aura_memory-1.0.0/LICENSE +21 -0
- aura_memory-1.0.0/PATENT +35 -0
- aura_memory-1.0.0/PKG-INFO +280 -0
- aura_memory-1.0.0/README.md +258 -0
- aura_memory-1.0.0/docs/API.md +575 -0
- aura_memory-1.0.0/docs/index.html +548 -0
- aura_memory-1.0.0/examples/agent_memory.py +146 -0
- aura_memory-1.0.0/examples/basic_usage.py +70 -0
- aura_memory-1.0.0/examples/edge_device.py +120 -0
- aura_memory-1.0.0/examples/encryption.py +50 -0
- aura_memory-1.0.0/examples/maintenance_daemon.py +81 -0
- aura_memory-1.0.0/examples/ollama_agent.py +122 -0
- aura_memory-1.0.0/examples/research_bot.py +116 -0
- aura_memory-1.0.0/pyproject.toml +31 -0
- aura_memory-1.0.0/python/aura/__init__.py +49 -0
- aura_memory-1.0.0/python/aura/__main__.py +265 -0
- aura_memory-1.0.0/python/aura/py.typed +0 -0
- aura_memory-1.0.0/src/anchors.rs +126 -0
- aura_memory-1.0.0/src/audit.rs +372 -0
- aura_memory-1.0.0/src/aura.rs +2152 -0
- aura_memory-1.0.0/src/background_brain.rs +600 -0
- aura_memory-1.0.0/src/backup.rs +696 -0
- aura_memory-1.0.0/src/cache.rs +150 -0
- aura_memory-1.0.0/src/canonical.rs +361 -0
- aura_memory-1.0.0/src/circuit_breaker.rs +204 -0
- aura_memory-1.0.0/src/cognitive_store.rs +354 -0
- aura_memory-1.0.0/src/consolidation.rs +84 -0
- aura_memory-1.0.0/src/cortex.rs +269 -0
- aura_memory-1.0.0/src/credibility.rs +201 -0
- aura_memory-1.0.0/src/crypto.rs +407 -0
- aura_memory-1.0.0/src/embedding.rs +141 -0
- aura_memory-1.0.0/src/federated.rs +780 -0
- aura_memory-1.0.0/src/graph.rs +356 -0
- aura_memory-1.0.0/src/guards.rs +179 -0
- aura_memory-1.0.0/src/identity.rs +199 -0
- aura_memory-1.0.0/src/index.rs +225 -0
- aura_memory-1.0.0/src/insights.rs +301 -0
- aura_memory-1.0.0/src/learner.rs +1116 -0
- aura_memory-1.0.0/src/levels.rs +158 -0
- aura_memory-1.0.0/src/lib.rs +186 -0
- aura_memory-1.0.0/src/license.rs +239 -0
- aura_memory-1.0.0/src/mcp.rs +297 -0
- aura_memory-1.0.0/src/memory.rs +2660 -0
- aura_memory-1.0.0/src/neuromorphic.rs +633 -0
- aura_memory-1.0.0/src/ngram.rs +266 -0
- aura_memory-1.0.0/src/rbac.rs +658 -0
- aura_memory-1.0.0/src/recall.rs +576 -0
- aura_memory-1.0.0/src/record.rs +333 -0
- aura_memory-1.0.0/src/research.rs +224 -0
- aura_memory-1.0.0/src/retention.rs +33 -0
- aura_memory-1.0.0/src/salience.rs +357 -0
- aura_memory-1.0.0/src/scheduler.rs +87 -0
- aura_memory-1.0.0/src/sdr.rs +405 -0
- aura_memory-1.0.0/src/semantic/concepts.rs +374 -0
- aura_memory-1.0.0/src/semantic/mod.rs +199 -0
- aura_memory-1.0.0/src/semantic/synonym.rs +318 -0
- aura_memory-1.0.0/src/semantic/temporal.rs +300 -0
- aura_memory-1.0.0/src/semantic_learner.rs +112 -0
- aura_memory-1.0.0/src/server.rs +880 -0
- aura_memory-1.0.0/src/storage.rs +903 -0
- aura_memory-1.0.0/src/synonym.rs +168 -0
- aura_memory-1.0.0/src/tenant.rs +593 -0
- aura_memory-1.0.0/src/trust.rs +298 -0
- aura_memory-1.0.0/src/types.rs +65 -0
- aura_memory-1.0.0/src/versioning.rs +780 -0
- aura_memory-1.0.0/tests/conftest.py +31 -0
- aura_memory-1.0.0/tests/test_core.py +235 -0
- aura_memory-1.0.0/tests/test_guards.py +116 -0
- aura_memory-1.0.0/tests/test_identity.py +126 -0
- aura_memory-1.0.0/tests/test_maintenance.py +101 -0
- aura_memory-1.0.0/tests/test_trust.py +114 -0
- aura_memory-1.0.0/ui/index.html +1 -0
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
name: Release to PyPI
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
release:
|
|
5
|
+
types: [published]
|
|
6
|
+
|
|
7
|
+
permissions:
|
|
8
|
+
contents: read
|
|
9
|
+
|
|
10
|
+
jobs:
|
|
11
|
+
build:
|
|
12
|
+
uses: ./.github/workflows/wheels.yml
|
|
13
|
+
|
|
14
|
+
publish:
|
|
15
|
+
name: Publish to PyPI
|
|
16
|
+
needs: build
|
|
17
|
+
runs-on: ubuntu-latest
|
|
18
|
+
environment:
|
|
19
|
+
name: pypi
|
|
20
|
+
url: https://pypi.org/project/aura/
|
|
21
|
+
permissions:
|
|
22
|
+
id-token: write
|
|
23
|
+
steps:
|
|
24
|
+
- uses: actions/download-artifact@v4
|
|
25
|
+
with:
|
|
26
|
+
pattern: wheels-*
|
|
27
|
+
path: dist
|
|
28
|
+
merge-multiple: true
|
|
29
|
+
- uses: actions/download-artifact@v4
|
|
30
|
+
with:
|
|
31
|
+
name: sdist
|
|
32
|
+
path: dist
|
|
33
|
+
- uses: pypa/gh-action-pypi-publish@release/v1
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
name: Tests
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
branches: [main]
|
|
6
|
+
pull_request:
|
|
7
|
+
branches: [main]
|
|
8
|
+
|
|
9
|
+
env:
|
|
10
|
+
CARGO_TERM_COLOR: always
|
|
11
|
+
|
|
12
|
+
jobs:
|
|
13
|
+
rust-tests:
|
|
14
|
+
name: Rust Tests (${{ matrix.os }})
|
|
15
|
+
runs-on: ${{ matrix.os }}
|
|
16
|
+
strategy:
|
|
17
|
+
fail-fast: false
|
|
18
|
+
matrix:
|
|
19
|
+
os: [ubuntu-latest, macos-latest, windows-latest]
|
|
20
|
+
steps:
|
|
21
|
+
- uses: actions/checkout@v4
|
|
22
|
+
- uses: dtolnay/rust-toolchain@stable
|
|
23
|
+
- uses: Swatinem/rust-cache@v2
|
|
24
|
+
- name: Run tests
|
|
25
|
+
run: cargo test --no-default-features --features "encryption,audit"
|
|
26
|
+
- name: Clippy
|
|
27
|
+
run: cargo clippy --no-default-features --features "encryption,audit" -- -D warnings
|
|
28
|
+
if: matrix.os == 'ubuntu-latest'
|
|
29
|
+
|
|
30
|
+
python-tests:
|
|
31
|
+
name: Python Tests (${{ matrix.os }}, ${{ matrix.python-version }})
|
|
32
|
+
runs-on: ${{ matrix.os }}
|
|
33
|
+
strategy:
|
|
34
|
+
fail-fast: false
|
|
35
|
+
matrix:
|
|
36
|
+
os: [ubuntu-latest, macos-latest, windows-latest]
|
|
37
|
+
python-version: ["3.9", "3.12"]
|
|
38
|
+
steps:
|
|
39
|
+
- uses: actions/checkout@v4
|
|
40
|
+
- uses: dtolnay/rust-toolchain@stable
|
|
41
|
+
- uses: Swatinem/rust-cache@v2
|
|
42
|
+
- uses: actions/setup-python@v5
|
|
43
|
+
with:
|
|
44
|
+
python-version: ${{ matrix.python-version }}
|
|
45
|
+
- name: Create venv and install deps
|
|
46
|
+
run: |
|
|
47
|
+
python -m venv .venv
|
|
48
|
+
.venv/bin/pip install maturin pytest
|
|
49
|
+
if: runner.os != 'Windows'
|
|
50
|
+
- name: Create venv and install deps (Windows)
|
|
51
|
+
run: |
|
|
52
|
+
python -m venv .venv
|
|
53
|
+
.venv\Scripts\pip install maturin pytest
|
|
54
|
+
if: runner.os == 'Windows'
|
|
55
|
+
- name: Build and install
|
|
56
|
+
run: .venv/bin/maturin develop --features "pyo3/extension-module,encryption"
|
|
57
|
+
if: runner.os != 'Windows'
|
|
58
|
+
- name: Build and install (Windows)
|
|
59
|
+
run: .venv\Scripts\maturin develop --features "pyo3/extension-module,encryption"
|
|
60
|
+
if: runner.os == 'Windows'
|
|
61
|
+
- name: Run Python tests
|
|
62
|
+
run: .venv/bin/pytest tests/ -v
|
|
63
|
+
if: runner.os != 'Windows'
|
|
64
|
+
- name: Run Python tests (Windows)
|
|
65
|
+
run: .venv\Scripts\pytest tests/ -v
|
|
66
|
+
if: runner.os == 'Windows'
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
name: Build Wheels
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
tags: ["v*"]
|
|
6
|
+
workflow_dispatch:
|
|
7
|
+
|
|
8
|
+
permissions:
|
|
9
|
+
contents: read
|
|
10
|
+
|
|
11
|
+
jobs:
|
|
12
|
+
build:
|
|
13
|
+
name: Build wheel — ${{ matrix.target }}
|
|
14
|
+
runs-on: ${{ matrix.os }}
|
|
15
|
+
strategy:
|
|
16
|
+
matrix:
|
|
17
|
+
include:
|
|
18
|
+
- os: ubuntu-latest
|
|
19
|
+
target: x86_64-unknown-linux-gnu
|
|
20
|
+
- os: ubuntu-latest
|
|
21
|
+
target: aarch64-unknown-linux-gnu
|
|
22
|
+
- os: macos-latest
|
|
23
|
+
target: x86_64-apple-darwin
|
|
24
|
+
- os: macos-latest
|
|
25
|
+
target: aarch64-apple-darwin
|
|
26
|
+
- os: windows-latest
|
|
27
|
+
target: x86_64-pc-windows-msvc
|
|
28
|
+
steps:
|
|
29
|
+
- uses: actions/checkout@v4
|
|
30
|
+
- uses: actions/setup-python@v5
|
|
31
|
+
with:
|
|
32
|
+
python-version: "3.12"
|
|
33
|
+
- name: Build wheels
|
|
34
|
+
uses: PyO3/maturin-action@v1
|
|
35
|
+
with:
|
|
36
|
+
target: ${{ matrix.target }}
|
|
37
|
+
args: --release --out dist --features "pyo3/extension-module,encryption"
|
|
38
|
+
manylinux: auto
|
|
39
|
+
- uses: actions/upload-artifact@v4
|
|
40
|
+
with:
|
|
41
|
+
name: wheels-${{ matrix.target }}
|
|
42
|
+
path: dist/*.whl
|
|
43
|
+
|
|
44
|
+
sdist:
|
|
45
|
+
name: Build sdist
|
|
46
|
+
runs-on: ubuntu-latest
|
|
47
|
+
steps:
|
|
48
|
+
- uses: actions/checkout@v4
|
|
49
|
+
- name: Build sdist
|
|
50
|
+
uses: PyO3/maturin-action@v1
|
|
51
|
+
with:
|
|
52
|
+
command: sdist
|
|
53
|
+
args: --out dist
|
|
54
|
+
- uses: actions/upload-artifact@v4
|
|
55
|
+
with:
|
|
56
|
+
name: sdist
|
|
57
|
+
path: dist/*.tar.gz
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
# Rust
|
|
2
|
+
/target/
|
|
3
|
+
**/*.rs.bk
|
|
4
|
+
Cargo.lock
|
|
5
|
+
|
|
6
|
+
# Python
|
|
7
|
+
__pycache__/
|
|
8
|
+
*.py[cod]
|
|
9
|
+
*$py.class
|
|
10
|
+
*.pyd
|
|
11
|
+
*.so
|
|
12
|
+
*.egg-info/
|
|
13
|
+
dist/
|
|
14
|
+
build/
|
|
15
|
+
*.whl
|
|
16
|
+
|
|
17
|
+
# Virtual environments
|
|
18
|
+
.venv/
|
|
19
|
+
venv/
|
|
20
|
+
env/
|
|
21
|
+
|
|
22
|
+
# IDE
|
|
23
|
+
.idea/
|
|
24
|
+
.vscode/
|
|
25
|
+
*.swp
|
|
26
|
+
*.swo
|
|
27
|
+
*~
|
|
28
|
+
|
|
29
|
+
# OS
|
|
30
|
+
.DS_Store
|
|
31
|
+
Thumbs.db
|
|
32
|
+
|
|
33
|
+
# Aura data files
|
|
34
|
+
*.aura
|
|
35
|
+
*.aura.enc
|
|
36
|
+
*.aura.bak
|
|
37
|
+
*.aura.wal
|
|
38
|
+
|
|
39
|
+
# Environment / secrets
|
|
40
|
+
.env
|
|
41
|
+
.env.local
|
|
42
|
+
*.key
|
|
43
|
+
*.pem
|
|
44
|
+
|
|
45
|
+
# Test artifacts
|
|
46
|
+
test_data/
|
|
47
|
+
tmp/
|
|
48
|
+
memory_data/
|
|
49
|
+
|
|
50
|
+
# Internal docs (not for public)
|
|
51
|
+
SPEC.md
|
|
52
|
+
docs/LAUNCH.md
|
|
53
|
+
|
|
54
|
+
# Claude Code local config
|
|
55
|
+
.claude/
|