marinaedutlan 0.6.1__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.
- marinaedutlan-0.6.1/.dockerignore +35 -0
- marinaedutlan-0.6.1/.env.example +6 -0
- marinaedutlan-0.6.1/.github/workflows/ci.yml +70 -0
- marinaedutlan-0.6.1/.gitignore +65 -0
- marinaedutlan-0.6.1/.npmignore +44 -0
- marinaedutlan-0.6.1/.tmp-decl/core/MarinaAgent.d.ts +691 -0
- marinaedutlan-0.6.1/.tmp-decl/core/substrate.d.ts +202 -0
- marinaedutlan-0.6.1/.tmp-decl/dma_simulator.d.ts +37 -0
- marinaedutlan-0.6.1/.tmp-decl/mcp_simulator.d.ts +15 -0
- marinaedutlan-0.6.1/.tmp-decl/meta_dna_simulator.d.ts +18 -0
- marinaedutlan-0.6.1/.tmp-decl/types.d.ts +177 -0
- marinaedutlan-0.6.1/CHANGELOG.md +52 -0
- marinaedutlan-0.6.1/Dockerfile +78 -0
- marinaedutlan-0.6.1/LICENSE +21 -0
- marinaedutlan-0.6.1/MARINA_UNIFIED_IMPLEMENTATION_PLAN.md +314 -0
- marinaedutlan-0.6.1/PKG-INFO +528 -0
- marinaedutlan-0.6.1/PROBAR_IMPLEMENTACION.md +183 -0
- marinaedutlan-0.6.1/README.md +505 -0
- marinaedutlan-0.6.1/RELEASE_READINESS_REPORT_0.5.md +233 -0
- marinaedutlan-0.6.1/assets/.aistudio/.gitignore +1 -0
- marinaedutlan-0.6.1/assets/marina.png +0 -0
- marinaedutlan-0.6.1/bin/marina.js +414 -0
- marinaedutlan-0.6.1/docker-compose.yml +53 -0
- marinaedutlan-0.6.1/index.html +14 -0
- marinaedutlan-0.6.1/marina-profile-1781062952.json +23 -0
- marinaedutlan-0.6.1/metadata.json +6 -0
- marinaedutlan-0.6.1/package.json +90 -0
- marinaedutlan-0.6.1/papers/BICA 2.pdf +0 -0
- marinaedutlan-0.6.1/papers/CARINA -10 Diagrama.pdf +0 -0
- marinaedutlan-0.6.1/papers/CARINA 11 Metacognitive functions.docx +0 -0
- marinaedutlan-0.6.1/papers/CARINA12_IMPLEMENTATION_PLAN.md +282 -0
- marinaedutlan-0.6.1/papers/Dendritic_Metacognition.pdf +0 -0
- marinaedutlan-0.6.1/papers/IJCAI___AI4Tech_26___Paper__19___MCP_CARINA_11-2 (1) RA 1.18.2025.pdf +0 -0
- marinaedutlan-0.6.1/papers/Metacognitive Architecture for Smart_Agriculture.docx +0 -0
- marinaedutlan-0.6.1/papers/R12-XX-BICA_2026_paper_47 CARINA 11.pdf +0 -0
- marinaedutlan-0.6.1/papers/jintelligence-10-00113.pdf +0 -0
- marinaedutlan-0.6.1/pnpm-lock.yaml +2825 -0
- marinaedutlan-0.6.1/pnpm-workspace.yaml +5 -0
- marinaedutlan-0.6.1/pyproject.toml +41 -0
- marinaedutlan-0.6.1/scripts/clean-maps.js +27 -0
- marinaedutlan-0.6.1/scripts/clean-pycache.js +23 -0
- marinaedutlan-0.6.1/scripts/verify-pack.js +105 -0
- marinaedutlan-0.6.1/server.ts +79 -0
- marinaedutlan-0.6.1/src/App.tsx +3351 -0
- marinaedutlan-0.6.1/src/core/MarinaAgent.d.ts +108 -0
- marinaedutlan-0.6.1/src/core/MarinaAgent.ts +1237 -0
- marinaedutlan-0.6.1/src/core/substrate.ts +481 -0
- marinaedutlan-0.6.1/src/dma_simulator.ts +210 -0
- marinaedutlan-0.6.1/src/index.css +144 -0
- marinaedutlan-0.6.1/src/main.tsx +10 -0
- marinaedutlan-0.6.1/src/mcp_simulator.ts +222 -0
- marinaedutlan-0.6.1/src/meta_dna_simulator.ts +262 -0
- marinaedutlan-0.6.1/src/mirror_test_playground.ts +176 -0
- marinaedutlan-0.6.1/src/ontology_explorer.ts +130 -0
- marinaedutlan-0.6.1/src/types.ts +197 -0
- marinaedutlan-0.6.1/tsconfig.json +26 -0
- marinaedutlan-0.6.1/vite.config.ts +22 -0
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
# Dependencies
|
|
2
|
+
node_modules/
|
|
3
|
+
|
|
4
|
+
# Build outputs
|
|
5
|
+
dist/
|
|
6
|
+
build/
|
|
7
|
+
|
|
8
|
+
# Environment / secrets
|
|
9
|
+
.env
|
|
10
|
+
.env.local
|
|
11
|
+
.env.*.local
|
|
12
|
+
.env.production
|
|
13
|
+
|
|
14
|
+
# Docker (avoid copying into image)
|
|
15
|
+
Dockerfile*
|
|
16
|
+
docker-compose*.yml
|
|
17
|
+
.dockerignore
|
|
18
|
+
|
|
19
|
+
# Version control
|
|
20
|
+
.git/
|
|
21
|
+
.gitignore
|
|
22
|
+
|
|
23
|
+
# IDE / OS
|
|
24
|
+
.idea/
|
|
25
|
+
.vscode/
|
|
26
|
+
*.swp
|
|
27
|
+
*.swo
|
|
28
|
+
.DS_Store
|
|
29
|
+
Thumbs.db
|
|
30
|
+
|
|
31
|
+
# Logs & misc
|
|
32
|
+
*.log
|
|
33
|
+
npm-debug.log*
|
|
34
|
+
pnpm-debug.log*
|
|
35
|
+
coverage/
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
# Marina - Gemini API Key (required for live Mirror Test "Real Query" feature)
|
|
2
|
+
# Get your key at https://aistudio.google.com/app/apikey
|
|
3
|
+
GEMINI_API_KEY=your_gemini_api_key_here
|
|
4
|
+
|
|
5
|
+
# Optional: override model used in desktop shell / proxy
|
|
6
|
+
# GEMINI_MODEL=gemini-2.5-flash
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
name: CI
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
branches: [main]
|
|
6
|
+
pull_request:
|
|
7
|
+
branches: [main]
|
|
8
|
+
|
|
9
|
+
jobs:
|
|
10
|
+
test:
|
|
11
|
+
runs-on: ubuntu-latest
|
|
12
|
+
|
|
13
|
+
strategy:
|
|
14
|
+
matrix:
|
|
15
|
+
node-version: [18, 20, 22]
|
|
16
|
+
|
|
17
|
+
steps:
|
|
18
|
+
- uses: actions/checkout@v4
|
|
19
|
+
|
|
20
|
+
- name: Use Node.js ${{ matrix.node-version }}
|
|
21
|
+
uses: actions/setup-node@v4
|
|
22
|
+
with:
|
|
23
|
+
node-version: ${{ matrix.node-version }}
|
|
24
|
+
|
|
25
|
+
- name: Setup pnpm (for dev deps if needed)
|
|
26
|
+
uses: pnpm/action-setup@v3
|
|
27
|
+
with:
|
|
28
|
+
version: 8
|
|
29
|
+
|
|
30
|
+
- name: Install dependencies (using npm for publish simulation)
|
|
31
|
+
run: npm ci --ignore-scripts || npm install --ignore-scripts
|
|
32
|
+
|
|
33
|
+
- name: Build core (required for tests)
|
|
34
|
+
run: npm run build:core
|
|
35
|
+
|
|
36
|
+
- name: Run JS tests
|
|
37
|
+
run: npm test
|
|
38
|
+
|
|
39
|
+
- name: Run Python tests
|
|
40
|
+
run: npm run test:python
|
|
41
|
+
|
|
42
|
+
- name: Verify pack (critical for publish)
|
|
43
|
+
run: npm run verify:pack
|
|
44
|
+
|
|
45
|
+
python-matrix:
|
|
46
|
+
runs-on: ubuntu-latest
|
|
47
|
+
strategy:
|
|
48
|
+
matrix:
|
|
49
|
+
python-version: ['3.9', '3.11', '3.12']
|
|
50
|
+
|
|
51
|
+
steps:
|
|
52
|
+
- uses: actions/checkout@v4
|
|
53
|
+
|
|
54
|
+
- name: Set up Python ${{ matrix.python-version }}
|
|
55
|
+
uses: actions/setup-python@v5
|
|
56
|
+
with:
|
|
57
|
+
python-version: ${{ matrix.python-version }}
|
|
58
|
+
|
|
59
|
+
- name: Install Python package in editable mode
|
|
60
|
+
run: pip install -e .
|
|
61
|
+
|
|
62
|
+
- name: Run Python core tests
|
|
63
|
+
run: python -c "
|
|
64
|
+
import sys, os, unittest
|
|
65
|
+
sys.path.insert(0, os.getcwd())
|
|
66
|
+
from test.test_core import TestMarinaAgent
|
|
67
|
+
suite = unittest.TestLoader().loadTestsFromTestCase(TestMarinaAgent)
|
|
68
|
+
result = unittest.TextTestRunner(verbosity=2).run(suite)
|
|
69
|
+
sys.exit(0 if result.wasSuccessful() else 1)
|
|
70
|
+
"
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
# Dependencies
|
|
2
|
+
node_modules/
|
|
3
|
+
|
|
4
|
+
# Build outputs
|
|
5
|
+
build/
|
|
6
|
+
dist/
|
|
7
|
+
*.tsbuildinfo
|
|
8
|
+
|
|
9
|
+
# Testing
|
|
10
|
+
coverage/
|
|
11
|
+
|
|
12
|
+
# OS / Editor
|
|
13
|
+
.DS_Store
|
|
14
|
+
*.log
|
|
15
|
+
*.swp
|
|
16
|
+
*.swo
|
|
17
|
+
|
|
18
|
+
# Environment
|
|
19
|
+
.env*
|
|
20
|
+
!.env.example
|
|
21
|
+
|
|
22
|
+
# Legacy / Heavy artifacts (Electron releases, old builds)
|
|
23
|
+
release/
|
|
24
|
+
electron/
|
|
25
|
+
*.exe
|
|
26
|
+
*.7z
|
|
27
|
+
*.nsis.*
|
|
28
|
+
|
|
29
|
+
# Python
|
|
30
|
+
__pycache__/
|
|
31
|
+
*.py[cod]
|
|
32
|
+
*$py.class
|
|
33
|
+
*.so
|
|
34
|
+
.Python
|
|
35
|
+
build/
|
|
36
|
+
develop-eggs/
|
|
37
|
+
dist/
|
|
38
|
+
downloads/
|
|
39
|
+
eggs/
|
|
40
|
+
.eggs/
|
|
41
|
+
lib/
|
|
42
|
+
lib64/
|
|
43
|
+
parts/
|
|
44
|
+
sdist/
|
|
45
|
+
var/
|
|
46
|
+
wheels/
|
|
47
|
+
*.egg-info/
|
|
48
|
+
.installed.cfg
|
|
49
|
+
*.egg
|
|
50
|
+
MANIFEST
|
|
51
|
+
|
|
52
|
+
# Virtual environments
|
|
53
|
+
.env
|
|
54
|
+
.venv
|
|
55
|
+
env/
|
|
56
|
+
venv/
|
|
57
|
+
ENV/
|
|
58
|
+
env.bak/
|
|
59
|
+
venv.bak/
|
|
60
|
+
|
|
61
|
+
# Misc
|
|
62
|
+
*.tgz
|
|
63
|
+
npm-debug.log*
|
|
64
|
+
yarn-debug.log*
|
|
65
|
+
yarn-error.log*
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
# Defense in depth — "files" in package.json is the source of truth.
|
|
2
|
+
# We still ignore common junk so local packs are clean.
|
|
3
|
+
|
|
4
|
+
# Build artifacts we don't want to accidentally include
|
|
5
|
+
release/
|
|
6
|
+
dist/assets/
|
|
7
|
+
dist/index.html
|
|
8
|
+
dist/server.cjs
|
|
9
|
+
*.tsbuildinfo
|
|
10
|
+
|
|
11
|
+
# Development / repo noise
|
|
12
|
+
src/
|
|
13
|
+
test/
|
|
14
|
+
tests/
|
|
15
|
+
scripts/
|
|
16
|
+
.github/
|
|
17
|
+
*.md
|
|
18
|
+
!README.md
|
|
19
|
+
!LICENSE
|
|
20
|
+
node_modules/
|
|
21
|
+
pnpm-lock.yaml
|
|
22
|
+
pnpm-workspace.yaml
|
|
23
|
+
docker-compose.yml
|
|
24
|
+
Dockerfile
|
|
25
|
+
electron/
|
|
26
|
+
.vscode/
|
|
27
|
+
.idea/
|
|
28
|
+
*.log
|
|
29
|
+
.env*
|
|
30
|
+
*.tgz
|
|
31
|
+
|
|
32
|
+
# Python
|
|
33
|
+
__pycache__/
|
|
34
|
+
*.pyc
|
|
35
|
+
*.pyo
|
|
36
|
+
.pytest_cache/
|
|
37
|
+
.venv/
|
|
38
|
+
venv/
|
|
39
|
+
*.egg-info/
|
|
40
|
+
dist/ # for python build, we use python -m build separately
|
|
41
|
+
|
|
42
|
+
# Misc
|
|
43
|
+
.DS_Store
|
|
44
|
+
Thumbs.db
|