mango-brain 3.3.1__tar.gz → 3.3.2__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.
- mango_brain-3.3.2/LICENSE +21 -0
- {mango_brain-3.3.1 → mango_brain-3.3.2}/PKG-INFO +6 -4
- {mango_brain-3.3.1 → mango_brain-3.3.2}/README.md +3 -3
- {mango_brain-3.3.1 → mango_brain-3.3.2}/mango_brain.egg-info/PKG-INFO +6 -4
- {mango_brain-3.3.1 → mango_brain-3.3.2}/mango_brain.egg-info/SOURCES.txt +1 -0
- {mango_brain-3.3.1 → mango_brain-3.3.2}/pyproject.toml +1 -1
- {mango_brain-3.3.1 → mango_brain-3.3.2}/server/database.py +3 -1
- {mango_brain-3.3.1 → mango_brain-3.3.2}/mango_brain.egg-info/dependency_links.txt +0 -0
- {mango_brain-3.3.1 → mango_brain-3.3.2}/mango_brain.egg-info/entry_points.txt +0 -0
- {mango_brain-3.3.1 → mango_brain-3.3.2}/mango_brain.egg-info/requires.txt +0 -0
- {mango_brain-3.3.1 → mango_brain-3.3.2}/mango_brain.egg-info/top_level.txt +0 -0
- {mango_brain-3.3.1 → mango_brain-3.3.2}/server/__init__.py +0 -0
- {mango_brain-3.3.1 → mango_brain-3.3.2}/server/__main__.py +0 -0
- {mango_brain-3.3.1 → mango_brain-3.3.2}/server/agents/analyzer.md +0 -0
- {mango_brain-3.3.1 → mango_brain-3.3.2}/server/agents/executor.md +0 -0
- {mango_brain-3.3.1 → mango_brain-3.3.2}/server/agents/mem-manager.md +0 -0
- {mango_brain-3.3.1 → mango_brain-3.3.2}/server/agents/verifier.md +0 -0
- {mango_brain-3.3.1 → mango_brain-3.3.2}/server/api_routes.py +0 -0
- {mango_brain-3.3.1 → mango_brain-3.3.2}/server/cli.py +0 -0
- {mango_brain-3.3.1 → mango_brain-3.3.2}/server/config.py +0 -0
- {mango_brain-3.3.1 → mango_brain-3.3.2}/server/dashboard_dist/assets/index-DmI5d2FU.css +0 -0
- {mango_brain-3.3.1 → mango_brain-3.3.2}/server/dashboard_dist/assets/index-DojB8F-G.js +0 -0
- {mango_brain-3.3.1 → mango_brain-3.3.2}/server/dashboard_dist/favicon.svg +0 -0
- {mango_brain-3.3.1 → mango_brain-3.3.2}/server/dashboard_dist/icons.svg +0 -0
- {mango_brain-3.3.1 → mango_brain-3.3.2}/server/dashboard_dist/index.html +0 -0
- {mango_brain-3.3.1 → mango_brain-3.3.2}/server/dashboard_dist/logo.svg +0 -0
- {mango_brain-3.3.1 → mango_brain-3.3.2}/server/decay.py +0 -0
- {mango_brain-3.3.1 → mango_brain-3.3.2}/server/embeddings.py +0 -0
- {mango_brain-3.3.1 → mango_brain-3.3.2}/server/graph.py +0 -0
- {mango_brain-3.3.1 → mango_brain-3.3.2}/server/jsonl_parser.py +0 -0
- {mango_brain-3.3.1 → mango_brain-3.3.2}/server/main.py +0 -0
- {mango_brain-3.3.1 → mango_brain-3.3.2}/server/mangobrain.default.toml +0 -0
- {mango_brain-3.3.1 → mango_brain-3.3.2}/server/mcp_tools.py +0 -0
- {mango_brain-3.3.1 → mango_brain-3.3.2}/server/models.py +0 -0
- {mango_brain-3.3.1 → mango_brain-3.3.2}/server/prompts/init/01-doc-base.md +0 -0
- {mango_brain-3.3.1 → mango_brain-3.3.2}/server/prompts/init/02-code-base.md +0 -0
- {mango_brain-3.3.1 → mango_brain-3.3.2}/server/prompts/init/03-event-base.md +0 -0
- {mango_brain-3.3.1 → mango_brain-3.3.2}/server/prompts/init/04-chat-base.md +0 -0
- {mango_brain-3.3.1 → mango_brain-3.3.2}/server/prompts/init/05-elaborate-base.md +0 -0
- {mango_brain-3.3.1 → mango_brain-3.3.2}/server/prompts/reference/memory-definition.md +0 -0
- {mango_brain-3.3.1 → mango_brain-3.3.2}/server/retrieval.py +0 -0
- {mango_brain-3.3.1 → mango_brain-3.3.2}/server/rules/mangobrain-remember.md +0 -0
- {mango_brain-3.3.1 → mango_brain-3.3.2}/server/rules/mangobrain-workflow.md +0 -0
- {mango_brain-3.3.1 → mango_brain-3.3.2}/server/skills/brain-init/SKILL.md +0 -0
- {mango_brain-3.3.1 → mango_brain-3.3.2}/server/skills/discuss/SKILL.md +0 -0
- {mango_brain-3.3.1 → mango_brain-3.3.2}/server/skills/elaborate/SKILL.md +0 -0
- {mango_brain-3.3.1 → mango_brain-3.3.2}/server/skills/health-check/SKILL.md +0 -0
- {mango_brain-3.3.1 → mango_brain-3.3.2}/server/skills/memorize/SKILL.md +0 -0
- {mango_brain-3.3.1 → mango_brain-3.3.2}/server/skills/smoke-test/SKILL.md +0 -0
- {mango_brain-3.3.1 → mango_brain-3.3.2}/server/skills/task/SKILL.md +0 -0
- {mango_brain-3.3.1 → mango_brain-3.3.2}/server/work/agents/creator.md +0 -0
- {mango_brain-3.3.1 → mango_brain-3.3.2}/server/work/agents/mem-manager.md +0 -0
- {mango_brain-3.3.1 → mango_brain-3.3.2}/server/work/agents/researcher.md +0 -0
- {mango_brain-3.3.1 → mango_brain-3.3.2}/server/work/agents/reviewer.md +0 -0
- {mango_brain-3.3.1 → mango_brain-3.3.2}/server/work/prompts/init-work.md +0 -0
- {mango_brain-3.3.1 → mango_brain-3.3.2}/server/work/prompts/memory-definition.md +0 -0
- {mango_brain-3.3.1 → mango_brain-3.3.2}/server/work/rules/mangobrain-remember-work.md +0 -0
- {mango_brain-3.3.1 → mango_brain-3.3.2}/server/work/rules/mangobrain-workflow-work.md +0 -0
- {mango_brain-3.3.1 → mango_brain-3.3.2}/server/work/skills/brain-init-work/SKILL.md +0 -0
- {mango_brain-3.3.1 → mango_brain-3.3.2}/server/work/skills/brief/SKILL.md +0 -0
- {mango_brain-3.3.1 → mango_brain-3.3.2}/server/work/skills/create/SKILL.md +0 -0
- {mango_brain-3.3.1 → mango_brain-3.3.2}/server/work/skills/elaborate-work/SKILL.md +0 -0
- {mango_brain-3.3.1 → mango_brain-3.3.2}/server/work/skills/health-check-work/SKILL.md +0 -0
- {mango_brain-3.3.1 → mango_brain-3.3.2}/server/work/skills/memorize-work/SKILL.md +0 -0
- {mango_brain-3.3.1 → mango_brain-3.3.2}/server/work/skills/smoke-test-work/SKILL.md +0 -0
- {mango_brain-3.3.1 → mango_brain-3.3.2}/server/work/templates/CLAUDE.md +0 -0
- {mango_brain-3.3.1 → mango_brain-3.3.2}/server/work/templates/rules/audience.md +0 -0
- {mango_brain-3.3.1 → mango_brain-3.3.2}/server/work/templates/rules/brand.md +0 -0
- {mango_brain-3.3.1 → mango_brain-3.3.2}/server/work/templates/rules/channels.md +0 -0
- {mango_brain-3.3.1 → mango_brain-3.3.2}/server/work/templates/rules/product.md +0 -0
- {mango_brain-3.3.1 → mango_brain-3.3.2}/server/work/templates/rules/strategy.md +0 -0
- {mango_brain-3.3.1 → mango_brain-3.3.2}/server/work/templates/rules/tone.md +0 -0
- {mango_brain-3.3.1 → mango_brain-3.3.2}/setup.cfg +0 -0
- {mango_brain-3.3.1 → mango_brain-3.3.2}/tests/test_core.py +0 -0
- {mango_brain-3.3.1 → mango_brain-3.3.2}/tests/test_init.py +0 -0
- {mango_brain-3.3.1 → mango_brain-3.3.2}/tests/test_phase2.py +0 -0
- {mango_brain-3.3.1 → mango_brain-3.3.2}/tests/test_setup.py +0 -0
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2025-2026 Federico Anastasi
|
|
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.
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: mango-brain
|
|
3
|
-
Version: 3.3.
|
|
3
|
+
Version: 3.3.2
|
|
4
4
|
Summary: The learning layer for Claude Code — persistent associative memory + development workflow. Claude Code gets smarter the longer you use it.
|
|
5
5
|
Author-email: Federico Anastasi <federico.anastasi@outlook.com>
|
|
6
6
|
License: MIT
|
|
7
7
|
Requires-Python: >=3.11
|
|
8
8
|
Description-Content-Type: text/markdown
|
|
9
|
+
License-File: LICENSE
|
|
9
10
|
Requires-Dist: fastapi>=0.110
|
|
10
11
|
Requires-Dist: uvicorn>=0.27
|
|
11
12
|
Requires-Dist: mcp>=1.0
|
|
@@ -24,6 +25,7 @@ Requires-Dist: pytest-asyncio>=0.23; extra == "dev"
|
|
|
24
25
|
Requires-Dist: torch>=2.2; extra == "dev"
|
|
25
26
|
Requires-Dist: sentence-transformers>=2.5; extra == "dev"
|
|
26
27
|
Requires-Dist: scipy>=1.12; extra == "dev"
|
|
28
|
+
Dynamic: license-file
|
|
27
29
|
|
|
28
30
|
<p align="center">
|
|
29
31
|
<img src="assets/logo.svg" alt="MangoBrain" width="80" />
|
|
@@ -41,15 +43,15 @@ Requires-Dist: scipy>=1.12; extra == "dev"
|
|
|
41
43
|
</p>
|
|
42
44
|
|
|
43
45
|
<p align="center">
|
|
44
|
-
<a href="https://pypi.org/project/
|
|
45
|
-
<img src="https://img.shields.io/badge/v3.3.
|
|
46
|
+
<a href="https://pypi.org/project/mango-brain/"><img src="https://img.shields.io/pypi/v/mangobrain?style=flat-square&color=7c3aed&label=PyPI" /></a>
|
|
47
|
+
<img src="https://img.shields.io/badge/v3.3.2-7c3aed?style=flat-square" />
|
|
46
48
|
<img src="https://img.shields.io/badge/python-3.11+-blue?style=flat-square&logo=python&logoColor=white" />
|
|
47
49
|
<img src="https://img.shields.io/badge/MCP-compatible-8A2BE2?style=flat-square" />
|
|
48
50
|
<img src="https://img.shields.io/badge/license-MIT-green?style=flat-square" />
|
|
49
51
|
</p>
|
|
50
52
|
|
|
51
53
|
<p align="center">
|
|
52
|
-
<a href="https://mangobrain.dev">Website</a> · <a href="#getting-started">Install</a> · <a href="https://pypi.org/project/
|
|
54
|
+
<a href="https://mangobrain.mango-dev.space">Website</a> · <a href="#getting-started">Install</a> · <a href="https://pypi.org/project/mango-brain/">PyPI</a>
|
|
53
55
|
</p>
|
|
54
56
|
|
|
55
57
|
---
|
|
@@ -14,15 +14,15 @@
|
|
|
14
14
|
</p>
|
|
15
15
|
|
|
16
16
|
<p align="center">
|
|
17
|
-
<a href="https://pypi.org/project/
|
|
18
|
-
<img src="https://img.shields.io/badge/v3.3.
|
|
17
|
+
<a href="https://pypi.org/project/mango-brain/"><img src="https://img.shields.io/pypi/v/mangobrain?style=flat-square&color=7c3aed&label=PyPI" /></a>
|
|
18
|
+
<img src="https://img.shields.io/badge/v3.3.2-7c3aed?style=flat-square" />
|
|
19
19
|
<img src="https://img.shields.io/badge/python-3.11+-blue?style=flat-square&logo=python&logoColor=white" />
|
|
20
20
|
<img src="https://img.shields.io/badge/MCP-compatible-8A2BE2?style=flat-square" />
|
|
21
21
|
<img src="https://img.shields.io/badge/license-MIT-green?style=flat-square" />
|
|
22
22
|
</p>
|
|
23
23
|
|
|
24
24
|
<p align="center">
|
|
25
|
-
<a href="https://mangobrain.dev">Website</a> · <a href="#getting-started">Install</a> · <a href="https://pypi.org/project/
|
|
25
|
+
<a href="https://mangobrain.mango-dev.space">Website</a> · <a href="#getting-started">Install</a> · <a href="https://pypi.org/project/mango-brain/">PyPI</a>
|
|
26
26
|
</p>
|
|
27
27
|
|
|
28
28
|
---
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: mango-brain
|
|
3
|
-
Version: 3.3.
|
|
3
|
+
Version: 3.3.2
|
|
4
4
|
Summary: The learning layer for Claude Code — persistent associative memory + development workflow. Claude Code gets smarter the longer you use it.
|
|
5
5
|
Author-email: Federico Anastasi <federico.anastasi@outlook.com>
|
|
6
6
|
License: MIT
|
|
7
7
|
Requires-Python: >=3.11
|
|
8
8
|
Description-Content-Type: text/markdown
|
|
9
|
+
License-File: LICENSE
|
|
9
10
|
Requires-Dist: fastapi>=0.110
|
|
10
11
|
Requires-Dist: uvicorn>=0.27
|
|
11
12
|
Requires-Dist: mcp>=1.0
|
|
@@ -24,6 +25,7 @@ Requires-Dist: pytest-asyncio>=0.23; extra == "dev"
|
|
|
24
25
|
Requires-Dist: torch>=2.2; extra == "dev"
|
|
25
26
|
Requires-Dist: sentence-transformers>=2.5; extra == "dev"
|
|
26
27
|
Requires-Dist: scipy>=1.12; extra == "dev"
|
|
28
|
+
Dynamic: license-file
|
|
27
29
|
|
|
28
30
|
<p align="center">
|
|
29
31
|
<img src="assets/logo.svg" alt="MangoBrain" width="80" />
|
|
@@ -41,15 +43,15 @@ Requires-Dist: scipy>=1.12; extra == "dev"
|
|
|
41
43
|
</p>
|
|
42
44
|
|
|
43
45
|
<p align="center">
|
|
44
|
-
<a href="https://pypi.org/project/
|
|
45
|
-
<img src="https://img.shields.io/badge/v3.3.
|
|
46
|
+
<a href="https://pypi.org/project/mango-brain/"><img src="https://img.shields.io/pypi/v/mangobrain?style=flat-square&color=7c3aed&label=PyPI" /></a>
|
|
47
|
+
<img src="https://img.shields.io/badge/v3.3.2-7c3aed?style=flat-square" />
|
|
46
48
|
<img src="https://img.shields.io/badge/python-3.11+-blue?style=flat-square&logo=python&logoColor=white" />
|
|
47
49
|
<img src="https://img.shields.io/badge/MCP-compatible-8A2BE2?style=flat-square" />
|
|
48
50
|
<img src="https://img.shields.io/badge/license-MIT-green?style=flat-square" />
|
|
49
51
|
</p>
|
|
50
52
|
|
|
51
53
|
<p align="center">
|
|
52
|
-
<a href="https://mangobrain.dev">Website</a> · <a href="#getting-started">Install</a> · <a href="https://pypi.org/project/
|
|
54
|
+
<a href="https://mangobrain.mango-dev.space">Website</a> · <a href="#getting-started">Install</a> · <a href="https://pypi.org/project/mango-brain/">PyPI</a>
|
|
53
55
|
</p>
|
|
54
56
|
|
|
55
57
|
---
|
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "mango-brain"
|
|
7
|
-
version = "3.3.
|
|
7
|
+
version = "3.3.2"
|
|
8
8
|
description = "The learning layer for Claude Code — persistent associative memory + development workflow. Claude Code gets smarter the longer you use it."
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
license = {text = "MIT"}
|
|
@@ -625,7 +625,8 @@ class Database:
|
|
|
625
625
|
clauses.append("m.project = ?")
|
|
626
626
|
params.append(project)
|
|
627
627
|
where = f"WHERE {' AND '.join(clauses)}"
|
|
628
|
-
# Priority:
|
|
628
|
+
# Priority: never-elaborated memories first (regardless of edge count),
|
|
629
|
+
# then fewest edges (sparse nodes need connections),
|
|
629
630
|
# then lowest elaboration_count, then oldest elaboration_date.
|
|
630
631
|
cur = await self.conn.execute(
|
|
631
632
|
f"""SELECT m.*
|
|
@@ -639,6 +640,7 @@ class Database:
|
|
|
639
640
|
) ec ON m.id = ec.mid
|
|
640
641
|
{where}
|
|
641
642
|
ORDER BY
|
|
643
|
+
CASE WHEN m.elaboration_count = 0 THEN 0 ELSE 1 END ASC,
|
|
642
644
|
COALESCE(ec.edge_count, 0) ASC,
|
|
643
645
|
m.elaboration_count ASC,
|
|
644
646
|
m.elaboration_date IS NOT NULL,
|
|
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
|
|
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
|