omni-cortex 1.12.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 (69) hide show
  1. omni_cortex-1.12.0/.gitignore +167 -0
  2. omni_cortex-1.12.0/LICENSE +21 -0
  3. omni_cortex-1.12.0/PKG-INFO +548 -0
  4. omni_cortex-1.12.0/README.md +509 -0
  5. omni_cortex-1.12.0/dashboard/backend/.env.example +12 -0
  6. omni_cortex-1.12.0/dashboard/backend/backfill_summaries.py +280 -0
  7. omni_cortex-1.12.0/dashboard/backend/chat_service.py +317 -0
  8. omni_cortex-1.12.0/dashboard/backend/database.py +1094 -0
  9. omni_cortex-1.12.0/dashboard/backend/image_service.py +552 -0
  10. omni_cortex-1.12.0/dashboard/backend/logging_config.py +122 -0
  11. omni_cortex-1.12.0/dashboard/backend/main.py +1381 -0
  12. omni_cortex-1.12.0/dashboard/backend/models.py +285 -0
  13. omni_cortex-1.12.0/dashboard/backend/project_config.py +170 -0
  14. omni_cortex-1.12.0/dashboard/backend/project_scanner.py +164 -0
  15. omni_cortex-1.12.0/dashboard/backend/prompt_security.py +111 -0
  16. omni_cortex-1.12.0/dashboard/backend/pyproject.toml +23 -0
  17. omni_cortex-1.12.0/dashboard/backend/security.py +104 -0
  18. omni_cortex-1.12.0/dashboard/backend/uv.lock +1110 -0
  19. omni_cortex-1.12.0/dashboard/backend/websocket_manager.py +104 -0
  20. omni_cortex-1.12.0/hooks/post_tool_use.py +497 -0
  21. omni_cortex-1.12.0/hooks/pre_tool_use.py +277 -0
  22. omni_cortex-1.12.0/hooks/session_utils.py +186 -0
  23. omni_cortex-1.12.0/hooks/stop.py +219 -0
  24. omni_cortex-1.12.0/hooks/subagent_stop.py +120 -0
  25. omni_cortex-1.12.0/hooks/user_prompt.py +220 -0
  26. omni_cortex-1.12.0/omni_cortex/__init__.py +3 -0
  27. omni_cortex-1.12.0/omni_cortex/categorization/__init__.py +9 -0
  28. omni_cortex-1.12.0/omni_cortex/categorization/auto_tags.py +166 -0
  29. omni_cortex-1.12.0/omni_cortex/categorization/auto_type.py +165 -0
  30. omni_cortex-1.12.0/omni_cortex/config.py +141 -0
  31. omni_cortex-1.12.0/omni_cortex/dashboard.py +232 -0
  32. omni_cortex-1.12.0/omni_cortex/database/__init__.py +24 -0
  33. omni_cortex-1.12.0/omni_cortex/database/connection.py +137 -0
  34. omni_cortex-1.12.0/omni_cortex/database/migrations.py +210 -0
  35. omni_cortex-1.12.0/omni_cortex/database/schema.py +212 -0
  36. omni_cortex-1.12.0/omni_cortex/database/sync.py +421 -0
  37. omni_cortex-1.12.0/omni_cortex/decay/__init__.py +7 -0
  38. omni_cortex-1.12.0/omni_cortex/decay/importance.py +147 -0
  39. omni_cortex-1.12.0/omni_cortex/embeddings/__init__.py +35 -0
  40. omni_cortex-1.12.0/omni_cortex/embeddings/local.py +442 -0
  41. omni_cortex-1.12.0/omni_cortex/models/__init__.py +20 -0
  42. omni_cortex-1.12.0/omni_cortex/models/activity.py +265 -0
  43. omni_cortex-1.12.0/omni_cortex/models/agent.py +144 -0
  44. omni_cortex-1.12.0/omni_cortex/models/memory.py +395 -0
  45. omni_cortex-1.12.0/omni_cortex/models/relationship.py +206 -0
  46. omni_cortex-1.12.0/omni_cortex/models/session.py +290 -0
  47. omni_cortex-1.12.0/omni_cortex/resources/__init__.py +1 -0
  48. omni_cortex-1.12.0/omni_cortex/search/__init__.py +22 -0
  49. omni_cortex-1.12.0/omni_cortex/search/hybrid.py +197 -0
  50. omni_cortex-1.12.0/omni_cortex/search/keyword.py +204 -0
  51. omni_cortex-1.12.0/omni_cortex/search/ranking.py +127 -0
  52. omni_cortex-1.12.0/omni_cortex/search/semantic.py +232 -0
  53. omni_cortex-1.12.0/omni_cortex/server.py +360 -0
  54. omni_cortex-1.12.0/omni_cortex/setup.py +278 -0
  55. omni_cortex-1.12.0/omni_cortex/tools/__init__.py +13 -0
  56. omni_cortex-1.12.0/omni_cortex/tools/activities.py +453 -0
  57. omni_cortex-1.12.0/omni_cortex/tools/memories.py +536 -0
  58. omni_cortex-1.12.0/omni_cortex/tools/sessions.py +311 -0
  59. omni_cortex-1.12.0/omni_cortex/tools/utilities.py +477 -0
  60. omni_cortex-1.12.0/omni_cortex/utils/__init__.py +13 -0
  61. omni_cortex-1.12.0/omni_cortex/utils/formatting.py +282 -0
  62. omni_cortex-1.12.0/omni_cortex/utils/ids.py +72 -0
  63. omni_cortex-1.12.0/omni_cortex/utils/timestamps.py +129 -0
  64. omni_cortex-1.12.0/omni_cortex/utils/truncation.py +111 -0
  65. omni_cortex-1.12.0/pyproject.toml +98 -0
  66. omni_cortex-1.12.0/scripts/check-venv.py +106 -0
  67. omni_cortex-1.12.0/scripts/import_ken_memories.py +261 -0
  68. omni_cortex-1.12.0/scripts/populate_session_data.py +255 -0
  69. omni_cortex-1.12.0/scripts/setup.py +208 -0
@@ -0,0 +1,167 @@
1
+ # Byte-compiled / optimized / DLL files
2
+ __pycache__/
3
+ *.py[cod]
4
+ *$py.class
5
+
6
+ # C extensions
7
+ *.so
8
+
9
+ # Distribution / packaging
10
+ .Python
11
+ build/
12
+ develop-eggs/
13
+ dist/
14
+ downloads/
15
+ eggs/
16
+ .eggs/
17
+ lib/
18
+ lib64/
19
+ parts/
20
+ sdist/
21
+ var/
22
+ wheels/
23
+ share/python-wheels/
24
+ *.egg-info/
25
+ .installed.cfg
26
+ *.egg
27
+ MANIFEST
28
+
29
+ # PyInstaller
30
+ *.manifest
31
+ *.spec
32
+
33
+ # Installer logs
34
+ pip-log.txt
35
+ pip-delete-this-directory.txt
36
+
37
+ # Unit test / coverage reports
38
+ htmlcov/
39
+ .tox/
40
+ .nox/
41
+ .coverage
42
+ .coverage.*
43
+ .cache
44
+ nosetests.xml
45
+ coverage.xml
46
+ *.cover
47
+ *.py,cover
48
+ .hypothesis/
49
+ .pytest_cache/
50
+
51
+ # Translations
52
+ *.mo
53
+ *.pot
54
+
55
+ # Django stuff:
56
+ *.log
57
+ local_settings.py
58
+ db.sqlite3
59
+ db.sqlite3-journal
60
+
61
+ # Flask stuff:
62
+ instance/
63
+ .webassets-cache
64
+
65
+ # Scrapy stuff:
66
+ .scrapy
67
+
68
+ # Sphinx documentation
69
+ docs/_build/
70
+
71
+ # PyBuilder
72
+ .pybuilder/
73
+ target/
74
+
75
+ # Jupyter Notebook
76
+ .ipynb_checkpoints
77
+
78
+ # IPython
79
+ profile_default/
80
+ ipython_config.py
81
+
82
+ # pyenv
83
+ .python-version
84
+
85
+ # pipenv
86
+ Pipfile.lock
87
+
88
+ # PEP 582
89
+ __pypackages__/
90
+
91
+ # Celery stuff
92
+ celerybeat-schedule
93
+ celerybeat.pid
94
+
95
+ # SageMath parsed files
96
+ *.sage.py
97
+
98
+ # Environments
99
+ .env
100
+ .venv
101
+ env/
102
+ venv/
103
+ ENV/
104
+ env.bak/
105
+ venv.bak/
106
+
107
+ # Spyder project settings
108
+ .spyderproject
109
+ .spyproject
110
+
111
+ # Rope project settings
112
+ .ropeproject
113
+
114
+ # mkdocs documentation
115
+ /site
116
+
117
+ # mypy
118
+ .mypy_cache/
119
+ .dmypy.json
120
+ dmypy.json
121
+
122
+ # Pyre type checker
123
+ .pyre/
124
+
125
+ # pytype static type analyzer
126
+ .pytype/
127
+
128
+ # Cython debug symbols
129
+ cython_debug/
130
+
131
+ # IDE
132
+ .vscode/
133
+ .idea/
134
+ *.swp
135
+ *.swo
136
+ *~
137
+
138
+ # Project specific
139
+ .omni-cortex/
140
+ *.db
141
+ *.db-journal
142
+ *.db-wal
143
+ *.db-shm
144
+
145
+ # OS
146
+ .DS_Store
147
+ Thumbs.db
148
+
149
+ # Test files
150
+ test_*.py
151
+ !tests/test_*.py
152
+
153
+ # Development files
154
+ PROMPT.md
155
+ memories.json
156
+ .claude/
157
+ .mcp.json
158
+
159
+ # Personal/local files
160
+ # adws/ - removed, now tracking ADW orchestrators
161
+ specs/omni-cortex-adw-system.md
162
+ nul
163
+ *.bak
164
+
165
+ # Claude Code temporary files
166
+ tmpclaude-*-cwd
167
+ agents/
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2025 Tony Simonovsky
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.