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.
Files changed (78) hide show
  1. aura_memory-1.0.0/.github/workflows/release.yml +33 -0
  2. aura_memory-1.0.0/.github/workflows/test.yml +66 -0
  3. aura_memory-1.0.0/.github/workflows/wheels.yml +57 -0
  4. aura_memory-1.0.0/.gitignore +55 -0
  5. aura_memory-1.0.0/Cargo.lock +3770 -0
  6. aura_memory-1.0.0/Cargo.toml +122 -0
  7. aura_memory-1.0.0/LICENSE +21 -0
  8. aura_memory-1.0.0/PATENT +35 -0
  9. aura_memory-1.0.0/PKG-INFO +280 -0
  10. aura_memory-1.0.0/README.md +258 -0
  11. aura_memory-1.0.0/docs/API.md +575 -0
  12. aura_memory-1.0.0/docs/index.html +548 -0
  13. aura_memory-1.0.0/examples/agent_memory.py +146 -0
  14. aura_memory-1.0.0/examples/basic_usage.py +70 -0
  15. aura_memory-1.0.0/examples/edge_device.py +120 -0
  16. aura_memory-1.0.0/examples/encryption.py +50 -0
  17. aura_memory-1.0.0/examples/maintenance_daemon.py +81 -0
  18. aura_memory-1.0.0/examples/ollama_agent.py +122 -0
  19. aura_memory-1.0.0/examples/research_bot.py +116 -0
  20. aura_memory-1.0.0/pyproject.toml +31 -0
  21. aura_memory-1.0.0/python/aura/__init__.py +49 -0
  22. aura_memory-1.0.0/python/aura/__main__.py +265 -0
  23. aura_memory-1.0.0/python/aura/py.typed +0 -0
  24. aura_memory-1.0.0/src/anchors.rs +126 -0
  25. aura_memory-1.0.0/src/audit.rs +372 -0
  26. aura_memory-1.0.0/src/aura.rs +2152 -0
  27. aura_memory-1.0.0/src/background_brain.rs +600 -0
  28. aura_memory-1.0.0/src/backup.rs +696 -0
  29. aura_memory-1.0.0/src/cache.rs +150 -0
  30. aura_memory-1.0.0/src/canonical.rs +361 -0
  31. aura_memory-1.0.0/src/circuit_breaker.rs +204 -0
  32. aura_memory-1.0.0/src/cognitive_store.rs +354 -0
  33. aura_memory-1.0.0/src/consolidation.rs +84 -0
  34. aura_memory-1.0.0/src/cortex.rs +269 -0
  35. aura_memory-1.0.0/src/credibility.rs +201 -0
  36. aura_memory-1.0.0/src/crypto.rs +407 -0
  37. aura_memory-1.0.0/src/embedding.rs +141 -0
  38. aura_memory-1.0.0/src/federated.rs +780 -0
  39. aura_memory-1.0.0/src/graph.rs +356 -0
  40. aura_memory-1.0.0/src/guards.rs +179 -0
  41. aura_memory-1.0.0/src/identity.rs +199 -0
  42. aura_memory-1.0.0/src/index.rs +225 -0
  43. aura_memory-1.0.0/src/insights.rs +301 -0
  44. aura_memory-1.0.0/src/learner.rs +1116 -0
  45. aura_memory-1.0.0/src/levels.rs +158 -0
  46. aura_memory-1.0.0/src/lib.rs +186 -0
  47. aura_memory-1.0.0/src/license.rs +239 -0
  48. aura_memory-1.0.0/src/mcp.rs +297 -0
  49. aura_memory-1.0.0/src/memory.rs +2660 -0
  50. aura_memory-1.0.0/src/neuromorphic.rs +633 -0
  51. aura_memory-1.0.0/src/ngram.rs +266 -0
  52. aura_memory-1.0.0/src/rbac.rs +658 -0
  53. aura_memory-1.0.0/src/recall.rs +576 -0
  54. aura_memory-1.0.0/src/record.rs +333 -0
  55. aura_memory-1.0.0/src/research.rs +224 -0
  56. aura_memory-1.0.0/src/retention.rs +33 -0
  57. aura_memory-1.0.0/src/salience.rs +357 -0
  58. aura_memory-1.0.0/src/scheduler.rs +87 -0
  59. aura_memory-1.0.0/src/sdr.rs +405 -0
  60. aura_memory-1.0.0/src/semantic/concepts.rs +374 -0
  61. aura_memory-1.0.0/src/semantic/mod.rs +199 -0
  62. aura_memory-1.0.0/src/semantic/synonym.rs +318 -0
  63. aura_memory-1.0.0/src/semantic/temporal.rs +300 -0
  64. aura_memory-1.0.0/src/semantic_learner.rs +112 -0
  65. aura_memory-1.0.0/src/server.rs +880 -0
  66. aura_memory-1.0.0/src/storage.rs +903 -0
  67. aura_memory-1.0.0/src/synonym.rs +168 -0
  68. aura_memory-1.0.0/src/tenant.rs +593 -0
  69. aura_memory-1.0.0/src/trust.rs +298 -0
  70. aura_memory-1.0.0/src/types.rs +65 -0
  71. aura_memory-1.0.0/src/versioning.rs +780 -0
  72. aura_memory-1.0.0/tests/conftest.py +31 -0
  73. aura_memory-1.0.0/tests/test_core.py +235 -0
  74. aura_memory-1.0.0/tests/test_guards.py +116 -0
  75. aura_memory-1.0.0/tests/test_identity.py +126 -0
  76. aura_memory-1.0.0/tests/test_maintenance.py +101 -0
  77. aura_memory-1.0.0/tests/test_trust.py +114 -0
  78. 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/