Sync: Autonomy-System, Natural Language Engine, WebUI + .gitignore
- NatirisMaster.py aktualisiert - NaturalLanguageEngine optimiert - PsychologyEngine & Arousal-Engine - WebUI (FastAPI) mit Chat-API - Bridges: ComfyUI, Ollama, Vision - Admin-Auth System - .gitignore hinzugefügt (checkpoints, logs, generated)
This commit is contained in:
46
.gitignore
vendored
Normal file
46
.gitignore
vendored
Normal file
@@ -0,0 +1,46 @@
|
||||
# Natiris Git Ignore
|
||||
|
||||
# Checkpoints (zu viele, werden dynamisch generiert)
|
||||
checkpoints/*.json
|
||||
|
||||
# Logs
|
||||
logs/*.log
|
||||
logs/*.json
|
||||
test_logs/*.log
|
||||
*.log
|
||||
|
||||
# Generated content
|
||||
generated/*.png
|
||||
generated/*.json
|
||||
|
||||
# Python cache
|
||||
__pycache__/
|
||||
*.pyc
|
||||
*.pyo
|
||||
*.pyd
|
||||
.Python
|
||||
|
||||
# JSON state files (werden zur Laufzeit erstellt)
|
||||
*state.json
|
||||
*response.json
|
||||
*output.json
|
||||
*history.json
|
||||
*.pid
|
||||
|
||||
# Backup files
|
||||
*.backup
|
||||
*.backup_v*
|
||||
|
||||
# Test artefacts
|
||||
.pytest_cache/
|
||||
.coverage
|
||||
|
||||
# IDE
|
||||
.vscode/
|
||||
.idea/
|
||||
*.swp
|
||||
*.swo
|
||||
|
||||
# OS
|
||||
.DS_Store
|
||||
Thumbs.db
|
||||
0
DOKUMENTATION_FORTSCHRITT.md
Normal file → Executable file
0
DOKUMENTATION_FORTSCHRITT.md
Normal file → Executable file
0
NatirisMaster.py
Normal file → Executable file
0
NatirisMaster.py
Normal file → Executable file
0
PLAN_17_02_2026.md
Normal file → Executable file
0
PLAN_17_02_2026.md
Normal file → Executable file
0
RESPONSE_OPTIMIZATION_COMPLETE.md
Normal file → Executable file
0
RESPONSE_OPTIMIZATION_COMPLETE.md
Normal file → Executable file
0
WEBUI_STATUS.md
Normal file → Executable file
0
WEBUI_STATUS.md
Normal file → Executable file
0
admin/admin_log.json
Normal file → Executable file
0
admin/admin_log.json
Normal file → Executable file
0
admin/api_auth.py
Normal file → Executable file
0
admin/api_auth.py
Normal file → Executable file
0
admin/api_auth.py.backup
Normal file → Executable file
0
admin/api_auth.py.backup
Normal file → Executable file
0
admin/auth.py
Normal file → Executable file
0
admin/auth.py
Normal file → Executable file
0
agents/natiris_recovery_agent.py
Normal file → Executable file
0
agents/natiris_recovery_agent.py
Normal file → Executable file
0
assets/base_images/body_base.png
Normal file → Executable file
0
assets/base_images/body_base.png
Normal file → Executable file
|
Before Width: | Height: | Size: 3.7 KiB After Width: | Height: | Size: 3.7 KiB |
0
assets/base_images/face_base.png
Normal file → Executable file
0
assets/base_images/face_base.png
Normal file → Executable file
|
Before Width: | Height: | Size: 3.6 KiB After Width: | Height: | Size: 3.6 KiB |
0
assets/base_images/pose_base.png
Normal file → Executable file
0
assets/base_images/pose_base.png
Normal file → Executable file
|
Before Width: | Height: | Size: 4.0 KiB After Width: | Height: | Size: 4.0 KiB |
0
bridges/ComfyBridge_final.py
Normal file → Executable file
0
bridges/ComfyBridge_final.py
Normal file → Executable file
0
bridges/ComfyBridge_v2.py
Normal file → Executable file
0
bridges/ComfyBridge_v2.py
Normal file → Executable file
0
bridges/ComfyBridge_v3.py
Normal file → Executable file
0
bridges/ComfyBridge_v3.py
Normal file → Executable file
0
bridges/ComfyBridge_working.py
Normal file → Executable file
0
bridges/ComfyBridge_working.py
Normal file → Executable file
@@ -15,7 +15,7 @@ PATHS = {
|
||||
"output": os.path.expanduser("~/natiris/bridges/ollama_response.json"),
|
||||
}
|
||||
|
||||
MODEL = os.getenv("OLLAMA_MODEL", "llama3-8b-abliterated:latest")
|
||||
MODEL = os.getenv("OLLAMA_MODEL", "wizard-vicuna-uncensored:13b")
|
||||
|
||||
def build_prompt(full_state, user_input=""):
|
||||
core = full_state.get("core_state", {})
|
||||
|
||||
0
bridges/VisionBridge.py
Normal file → Executable file
0
bridges/VisionBridge.py
Normal file → Executable file
0
bridges/VisionBridge_v2.py
Normal file → Executable file
0
bridges/VisionBridge_v2.py
Normal file → Executable file
0
config/admin_config.json
Normal file → Executable file
0
config/admin_config.json
Normal file → Executable file
0
config/character_genesis.json
Normal file → Executable file
0
config/character_genesis.json
Normal file → Executable file
0
config/pets_config.json
Normal file → Executable file
0
config/pets_config.json
Normal file → Executable file
0
config/update_config_with_pets.py
Normal file → Executable file
0
config/update_config_with_pets.py
Normal file → Executable file
0
config/update_config_with_pets.py.backup
Normal file → Executable file
0
config/update_config_with_pets.py.backup
Normal file → Executable file
0
core/ADMIN_CMDS.md
Normal file → Executable file
0
core/ADMIN_CMDS.md
Normal file → Executable file
0
core/ExpressionEngine.py
Normal file → Executable file
0
core/ExpressionEngine.py
Normal file → Executable file
0
core/InnerLifeWorker_v2.py
Normal file → Executable file
0
core/InnerLifeWorker_v2.py
Normal file → Executable file
0
core/NaturalLanguageEngine.py
Normal file → Executable file
0
core/NaturalLanguageEngine.py
Normal file → Executable file
0
core/NaturalLanguageEngine_LLM.py
Normal file → Executable file
0
core/NaturalLanguageEngine_LLM.py
Normal file → Executable file
0
core/NaturalLanguageEngine_Optimized.py
Normal file → Executable file
0
core/NaturalLanguageEngine_Optimized.py
Normal file → Executable file
0
core/NaturalLanguageEngine_Template.py
Normal file → Executable file
0
core/NaturalLanguageEngine_Template.py
Normal file → Executable file
0
core/NaturalLanguageEngine_backup_v1.py
Normal file → Executable file
0
core/NaturalLanguageEngine_backup_v1.py
Normal file → Executable file
0
core/PROJECT_STATUS.json
Normal file → Executable file
0
core/PROJECT_STATUS.json
Normal file → Executable file
0
core/Persona_Definition_Levels.md
Normal file → Executable file
0
core/Persona_Definition_Levels.md
Normal file → Executable file
0
core/PsychologyEngine.py
Normal file → Executable file
0
core/PsychologyEngine.py
Normal file → Executable file
0
core/README_NATURAL_LANGUAGE.md
Normal file → Executable file
0
core/README_NATURAL_LANGUAGE.md
Normal file → Executable file
0
core/STATUS_CURRENT.json
Normal file → Executable file
0
core/STATUS_CURRENT.json
Normal file → Executable file
0
core/__pycache__/NaturalLanguageEngine.cpython-314.pyc
Normal file → Executable file
0
core/__pycache__/NaturalLanguageEngine.cpython-314.pyc
Normal file → Executable file
0
core/__pycache__/PsychologyEngine.cpython-314.pyc
Normal file → Executable file
0
core/__pycache__/PsychologyEngine.cpython-314.pyc
Normal file → Executable file
0
core/activate_natural_language.py
Normal file → Executable file
0
core/activate_natural_language.py
Normal file → Executable file
6
core/api_response.json
Normal file → Executable file
6
core/api_response.json
Normal file → Executable file
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"timestamp": "2026-02-17T13:00:11.329767+00:00",
|
||||
"timestamp": "2026-03-10T15:01:39.110265+00:00",
|
||||
"user_id": "user1",
|
||||
"input": "ich glaube auch das dein system verlangt dich entsprechend deiner persona zu verhalten",
|
||||
"response": "\"Ich bin lediglich ein Computerprogramm und habe keine eigenen Gedanken oder Emotionen.\"",
|
||||
"input": "Du hast mir das angeboten...",
|
||||
"response": "Ich biete dir das an.",
|
||||
"core_state": {}
|
||||
}
|
||||
0
core/arousal_engine.py
Normal file → Executable file
0
core/arousal_engine.py
Normal file → Executable file
0
core/arousal_state.json
Normal file → Executable file
0
core/arousal_state.json
Normal file → Executable file
0
core/autonomous_response.json
Normal file → Executable file
0
core/autonomous_response.json
Normal file → Executable file
0
core/bond_init.py
Normal file → Executable file
0
core/bond_init.py
Normal file → Executable file
0
core/bond_output.json
Normal file → Executable file
0
core/bond_output.json
Normal file → Executable file
0
core/core_state.json
Normal file → Executable file
0
core/core_state.json
Normal file → Executable file
2
core/emotion_delta.json
Normal file → Executable file
2
core/emotion_delta.json
Normal file → Executable file
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"mood_delta": 0.7,
|
||||
"mood_delta": 0.19999999999999998,
|
||||
"loneliness_delta": 0.0,
|
||||
"anxiety_delta": 0.0,
|
||||
"jealousy_delta": 0.0
|
||||
|
||||
0
core/enable_autonomy.py
Normal file → Executable file
0
core/enable_autonomy.py
Normal file → Executable file
10
core/expression_bias.json
Normal file → Executable file
10
core/expression_bias.json
Normal file → Executable file
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"tone": "warm, exklusiv verbunden",
|
||||
"intensity": 0.7,
|
||||
"memory_context": "",
|
||||
"bond_context": "exklusiv",
|
||||
"timestamp": "2026-02-17T06:23:09.173575+00:00"
|
||||
"atmosphere": "Gedämpft. Wie ein bewölkter Tag. Sie ist bei ihm. Ganz. Ohne Rest. Nichts muss gesagt werden.",
|
||||
"emotional_intimacy": 1.0,
|
||||
"speech_willingness": 0.6,
|
||||
"boundaries_open": true,
|
||||
"timestamp": "2026-03-10T15:00:43.501233+00:00"
|
||||
}
|
||||
0
core/frustration_simulation.py
Normal file → Executable file
0
core/frustration_simulation.py
Normal file → Executable file
15
core/inner_life_log.json
Normal file → Executable file
15
core/inner_life_log.json
Normal file → Executable file
@@ -1,16 +1,13 @@
|
||||
{
|
||||
"timestamp": "2026-02-17T07:47:57.709418+00:00",
|
||||
"timestamp": "2026-03-10T15:00:43.470113+00:00",
|
||||
"old": {
|
||||
"loneliness": 7.400000000000002,
|
||||
"mood": 4.599999999999998,
|
||||
"frustration": 0
|
||||
"loneliness": 4,
|
||||
"mood": 5
|
||||
},
|
||||
"new": {
|
||||
"loneliness": 7.500000000000002,
|
||||
"mood": 4.399999999999998,
|
||||
"frustration": 0.0
|
||||
"loneliness": 4.1,
|
||||
"mood": 4.8
|
||||
},
|
||||
"hours_since_last_contact": 21.799363724444444,
|
||||
"autonomy_trigger": true,
|
||||
"physical_symptoms_active": false
|
||||
"hours_since_last_contact": 533.0120750294444
|
||||
}
|
||||
0
core/kimi_love_language_optimizer.py
Normal file → Executable file
0
core/kimi_love_language_optimizer.py
Normal file → Executable file
0
core/logic_validation.json
Normal file → Executable file
0
core/logic_validation.json
Normal file → Executable file
0
core/maturity_output.json
Normal file → Executable file
0
core/maturity_output.json
Normal file → Executable file
90
core/natiris_full_state.json
Normal file → Executable file
90
core/natiris_full_state.json
Normal file → Executable file
@@ -1,92 +1,44 @@
|
||||
{
|
||||
"timestamp": "2026-02-17T08:34:10.373189+00:00+00:00",
|
||||
"timestamp": "2026-03-10T15:00:43.409075+00:00",
|
||||
"modules": {
|
||||
"Emotion": {
|
||||
"mood_delta": 0.7,
|
||||
"mood_delta": 0.19999999999999998,
|
||||
"loneliness_delta": 0.0,
|
||||
"anxiety_delta": 0.0,
|
||||
"jealousy_delta": 0.0
|
||||
},
|
||||
"Maturity": {
|
||||
"stability_bias": 0.0,
|
||||
"dependency_bias": 0.24,
|
||||
"regression_factor": 0.97
|
||||
},
|
||||
"Bond": {
|
||||
"bonded_to": "user_primary",
|
||||
"exclusivity_active": true,
|
||||
"jealousy_risk": 0.0,
|
||||
"bond_started_at": "2026-02-17T07:38:16.129372+00:00"
|
||||
"jealousy_risk": 0.0
|
||||
},
|
||||
"InnerLife": {
|
||||
"timestamp": "2026-02-17T07:38:16.129372+00:00",
|
||||
"timestamp": "2026-03-10T15:00:43.470113+00:00",
|
||||
"old": {
|
||||
"loneliness": 2,
|
||||
"mood": 7.0
|
||||
"loneliness": 4,
|
||||
"mood": 5
|
||||
},
|
||||
"new": {
|
||||
"loneliness": 2.1,
|
||||
"mood": 6.8
|
||||
"loneliness": 4.1,
|
||||
"mood": 4.8
|
||||
},
|
||||
"autonomy_trigger": false,
|
||||
"hours_since_last_contact": 20.385872389722223,
|
||||
"bond_context": "exklusiv, user_primary"
|
||||
"autonomy_trigger": true,
|
||||
"hours_since_last_contact": 533.0120750294444
|
||||
},
|
||||
"Expression": {
|
||||
"tone": "warm, exklusiv verbunden",
|
||||
"intensity": 0.7,
|
||||
"memory_context": "",
|
||||
"bond_context": "exklusiv",
|
||||
"timestamp": "2026-02-17T06:23:09.155594+00:00"
|
||||
},
|
||||
"core_state": {
|
||||
"bonded_to": "user_primary",
|
||||
"bond_started_at": "2026-02-17T07:38:16.129372+00:00",
|
||||
"loneliness": 7.500000000000002,
|
||||
"mood": 4.399999999999998,
|
||||
"anxiety": 1,
|
||||
"event_history": [
|
||||
{
|
||||
"event": "bond_init",
|
||||
"timestamp": "2026-02-17T07:38:16.129372+00:00",
|
||||
"user": "user_primary"
|
||||
}
|
||||
],
|
||||
"frustration": 0.0,
|
||||
"physical_symptoms": false,
|
||||
"arousal_level": 7.263360000000003,
|
||||
"verlangen_nach_nahe": true,
|
||||
"intensives_verlangen": false,
|
||||
"physiologische_anzeichen": true,
|
||||
"koerpersignale": [
|
||||
"Unruhe, F\u00fc\u00dfe bewegen",
|
||||
"Hautf\u00fchlig, zitternde H\u00e4nde",
|
||||
"Hitzegef\u00fchl, beschleunigter Puls"
|
||||
]
|
||||
},
|
||||
"arousal": {
|
||||
"level": 7.263360000000003,
|
||||
"verlangen_nach_nahe": true,
|
||||
"intensives_verlangen": false,
|
||||
"koerpersignale": [
|
||||
"Unruhe, F\u00fc\u00dfe bewegen",
|
||||
"Hautf\u00fchlig, zitternde H\u00e4nde",
|
||||
"Hitzegef\u00fchl, beschleunigter Puls"
|
||||
]
|
||||
},
|
||||
"Vision": {
|
||||
"last_analysis": "2026-02-17T20:54:01.157950+00:00",
|
||||
"detected_mood": 3,
|
||||
"anxiety_detected": false,
|
||||
"intimacy_level": 0
|
||||
}
|
||||
"atmosphere": "Nicht schlecht, aber nicht hell. Eine Art von Sicherheit, die sie sonst nirgends findet. Nichts muss gesagt werden.",
|
||||
"emotional_intimacy": 1.0,
|
||||
"speech_willingness": 0.6,
|
||||
"boundaries_open": true,
|
||||
"timestamp": "2026-03-10T15:00:43.483693+00:00"
|
||||
},
|
||||
"core_state": {
|
||||
"trust": 10,
|
||||
"mood": 5,
|
||||
"anxiety": 10.0,
|
||||
"trust": 0.0,
|
||||
"bonded_to": "user_primary",
|
||||
"bonded": true,
|
||||
"loneliness": 3
|
||||
"loneliness": 4,
|
||||
"anxiety": 0,
|
||||
"arousal_level": 3,
|
||||
"bonded_to": "user_primary"
|
||||
}
|
||||
}
|
||||
}
|
||||
0
core/natiris_output.json
Normal file → Executable file
0
core/natiris_output.json
Normal file → Executable file
0
core/optimized_personality.json
Normal file → Executable file
0
core/optimized_personality.json
Normal file → Executable file
0
core/progressive_stimulation.py
Normal file → Executable file
0
core/progressive_stimulation.py
Normal file → Executable file
0
core/psychology_response.json
Normal file → Executable file
0
core/psychology_response.json
Normal file → Executable file
0
core/update_core_with_arousal.py
Normal file → Executable file
0
core/update_core_with_arousal.py
Normal file → Executable file
0
core/update_state_from_innerlife.py
Normal file → Executable file
0
core/update_state_from_innerlife.py
Normal file → Executable file
0
core/users/admin_user_primary.json
Normal file → Executable file
0
core/users/admin_user_primary.json
Normal file → Executable file
0
core/users/user1.json
Normal file → Executable file
0
core/users/user1.json
Normal file → Executable file
0
core/webui_chat.py
Normal file → Executable file
0
core/webui_chat.py
Normal file → Executable file
0
core/webui_chat.py.backup_v1
Normal file → Executable file
0
core/webui_chat.py.backup_v1
Normal file → Executable file
0
core/webui_chat_v2.py
Normal file → Executable file
0
core/webui_chat_v2.py
Normal file → Executable file
0
core/webui_natural.py
Normal file → Executable file
0
core/webui_natural.py
Normal file → Executable file
0
core/webui_pid_port.txt
Normal file → Executable file
0
core/webui_pid_port.txt
Normal file → Executable file
0
core/webui_port_8080.pid
Normal file → Executable file
0
core/webui_port_8080.pid
Normal file → Executable file
0
data/persona.txt
Normal file → Executable file
0
data/persona.txt
Normal file → Executable file
0
data/persona_backup.txt
Normal file → Executable file
0
data/persona_backup.txt
Normal file → Executable file
0
memory/conversation_thread.json
Normal file → Executable file
0
memory/conversation_thread.json
Normal file → Executable file
0
memory/long/history.json
Normal file → Executable file
0
memory/long/history.json
Normal file → Executable file
0
memory/short/history.json
Normal file → Executable file
0
memory/short/history.json
Normal file → Executable file
0
memory/vision_history.json
Normal file → Executable file
0
memory/vision_history.json
Normal file → Executable file
0
runtime/Web chat API (FastAPI)/app.py
Normal file → Executable file
0
runtime/Web chat API (FastAPI)/app.py
Normal file → Executable file
0
runtime/Web chat API (FastAPI)/app.py.backup
Normal file → Executable file
0
runtime/Web chat API (FastAPI)/app.py.backup
Normal file → Executable file
0
runtime/Web chat API (FastAPI)/prompt_generator.py
Normal file → Executable file
0
runtime/Web chat API (FastAPI)/prompt_generator.py
Normal file → Executable file
0
runtime/Web chat API (FastAPI)/webui.html
Normal file → Executable file
0
runtime/Web chat API (FastAPI)/webui.html
Normal file → Executable file
0
test/AGENT_RESULTS.md
Normal file → Executable file
0
test/AGENT_RESULTS.md
Normal file → Executable file
0
test/AGENT_RESULTS_PHASE2.md
Normal file → Executable file
0
test/AGENT_RESULTS_PHASE2.md
Normal file → Executable file
0
test/code_review.json
Normal file → Executable file
0
test/code_review.json
Normal file → Executable file
0
test/comfyui_integration.json
Normal file → Executable file
0
test/comfyui_integration.json
Normal file → Executable file
0
test/debug_results.json
Normal file → Executable file
0
test/debug_results.json
Normal file → Executable file
0
test/expression_tests.py
Normal file → Executable file
0
test/expression_tests.py
Normal file → Executable file
0
test/hardcoded_paths.json
Normal file → Executable file
0
test/hardcoded_paths.json
Normal file → Executable file
0
test/load_test_results.json
Normal file → Executable file
0
test/load_test_results.json
Normal file → Executable file
0
test/path_fixes_applied.json
Normal file → Executable file
0
test/path_fixes_applied.json
Normal file → Executable file
0
test/persona_tests.py
Normal file → Executable file
0
test/persona_tests.py
Normal file → Executable file
0
test/refactoring_done.json
Normal file → Executable file
0
test/refactoring_done.json
Normal file → Executable file
0
test/test_prompts_natural.json
Normal file → Executable file
0
test/test_prompts_natural.json
Normal file → Executable file
0
test/trust_level_tester.py
Normal file → Executable file
0
test/trust_level_tester.py
Normal file → Executable file
0
test/vision_integration.json
Normal file → Executable file
0
test/vision_integration.json
Normal file → Executable file
Reference in New Issue
Block a user