neuro-simulator 0.3.3__py3-none-any.whl → 0.4.1__py3-none-any.whl
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.
- neuro_simulator/agent/core.py +73 -138
- neuro_simulator/agent/llm.py +1 -1
- neuro_simulator/agent/memory/manager.py +46 -106
- neuro_simulator/agent/tools/add_temp_memory.py +3 -3
- neuro_simulator/agent/tools/add_to_core_memory_block.py +2 -2
- neuro_simulator/agent/tools/create_core_memory_block.py +2 -2
- neuro_simulator/agent/tools/delete_core_memory_block.py +2 -2
- neuro_simulator/agent/tools/get_core_memory_block.py +2 -2
- neuro_simulator/agent/tools/get_core_memory_blocks.py +2 -2
- neuro_simulator/agent/tools/manager.py +86 -63
- neuro_simulator/agent/tools/remove_from_core_memory_block.py +2 -2
- neuro_simulator/agent/tools/speak.py +2 -2
- neuro_simulator/agent/tools/update_core_memory_block.py +2 -2
- neuro_simulator/api/system.py +5 -2
- neuro_simulator/cli.py +83 -53
- neuro_simulator/core/agent_factory.py +0 -1
- neuro_simulator/core/application.py +68 -32
- neuro_simulator/core/config.py +66 -63
- neuro_simulator/core/path_manager.py +69 -0
- neuro_simulator/services/audience.py +0 -2
- neuro_simulator/services/audio.py +0 -1
- neuro_simulator/services/builtin.py +26 -26
- neuro_simulator/services/letta.py +19 -1
- neuro_simulator/services/stream.py +24 -21
- neuro_simulator/utils/logging.py +9 -0
- neuro_simulator/utils/queue.py +27 -4
- neuro_simulator/utils/websocket.py +1 -3
- {neuro_simulator-0.3.3.dist-info → neuro_simulator-0.4.1.dist-info}/METADATA +1 -1
- neuro_simulator-0.4.1.dist-info/RECORD +46 -0
- neuro_simulator/agent/base.py +0 -43
- neuro_simulator/agent/factory.py +0 -30
- neuro_simulator/api/stream.py +0 -1
- neuro_simulator-0.3.3.dist-info/RECORD +0 -48
- {neuro_simulator-0.3.3.dist-info → neuro_simulator-0.4.1.dist-info}/WHEEL +0 -0
- {neuro_simulator-0.3.3.dist-info → neuro_simulator-0.4.1.dist-info}/entry_points.txt +0 -0
- {neuro_simulator-0.3.3.dist-info → neuro_simulator-0.4.1.dist-info}/top_level.txt +0 -0
neuro_simulator/agent/factory.py
DELETED
@@ -1,30 +0,0 @@
|
|
1
|
-
# agent/factory.py
|
2
|
-
"""Factory for creating agent instances"""
|
3
|
-
|
4
|
-
from .base import BaseAgent
|
5
|
-
from ..config import config_manager
|
6
|
-
|
7
|
-
|
8
|
-
async def create_agent() -> BaseAgent:
|
9
|
-
"""Create an agent instance based on the configuration"""
|
10
|
-
agent_type = config_manager.settings.agent_type
|
11
|
-
|
12
|
-
if agent_type == "builtin":
|
13
|
-
from ..builtin_agent import local_agent, BuiltinAgentWrapper, initialize_builtin_agent
|
14
|
-
if local_agent is None:
|
15
|
-
# Try to initialize the builtin agent
|
16
|
-
await initialize_builtin_agent()
|
17
|
-
# Re-import local_agent after initialization
|
18
|
-
from ..builtin_agent import local_agent
|
19
|
-
if local_agent is None:
|
20
|
-
raise RuntimeError("Failed to initialize Builtin agent")
|
21
|
-
return BuiltinAgentWrapper(local_agent)
|
22
|
-
elif agent_type == "letta":
|
23
|
-
from ..letta import get_letta_agent, initialize_letta_client
|
24
|
-
# Try to initialize the letta client
|
25
|
-
initialize_letta_client()
|
26
|
-
agent = get_letta_agent()
|
27
|
-
await agent.initialize()
|
28
|
-
return agent
|
29
|
-
else:
|
30
|
-
raise ValueError(f"Unknown agent type: {agent_type}")
|
neuro_simulator/api/stream.py
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
# This file is now empty as all stream control API endpoints have been migrated to WebSockets.
|
@@ -1,48 +0,0 @@
|
|
1
|
-
neuro_simulator/__init__.py,sha256=-tposzyvg6UckPcfSvtc03UjxBa9oCe_zRvlKf8splk,31
|
2
|
-
neuro_simulator/cli.py,sha256=Nc-udO0jdRVZjlbebKBjDVOIUzd6tJr13ApBGeBEg2k,3967
|
3
|
-
neuro_simulator/agent/__init__.py,sha256=t52CZlyTGWqcGjMs90qvpFpRckY2WSSlO7r_H3K_mSY,32
|
4
|
-
neuro_simulator/agent/base.py,sha256=6v2ZO5UpGCwJEkJ23Oe96Rs510tK4ZOEpZ2DB49IZmM,1262
|
5
|
-
neuro_simulator/agent/core.py,sha256=hyO17c-uYhzN8Yix-jraRTTLj8a3JwZuJ7eMnbGJMTE,12218
|
6
|
-
neuro_simulator/agent/factory.py,sha256=e0IBnqJQM7OuKtglrf-pWwqwmg98wh7tOq5LxF2rV-w,1146
|
7
|
-
neuro_simulator/agent/llm.py,sha256=vLz8hp2h2R0JaNfS1RLGYGkri_YoUdlEdNfFVbxeEuI,4261
|
8
|
-
neuro_simulator/agent/memory_prompt.txt,sha256=wdpdnbOYhMKgPJnnGlcSejGdt2uItrXzDgz9_8cKnqw,824
|
9
|
-
neuro_simulator/agent/neuro_prompt.txt,sha256=WSN5Fa6AwVnJaSFhz98fQTb2EtQ35U6w2qga_C-s1Go,1438
|
10
|
-
neuro_simulator/agent/memory/__init__.py,sha256=YJ7cynQJI6kD7vjyv3rKc-CZqmoYSuGQtRZl_XdGEps,39
|
11
|
-
neuro_simulator/agent/memory/manager.py,sha256=UiUJgjiTV7SHCmb3V5sc4OUa_ksEeXBOyvl-WBQviqs,9266
|
12
|
-
neuro_simulator/agent/tools/__init__.py,sha256=1WZy6PADfi6o1avyy1y-ThWBFAPJ_bBqtkobyYpf5ao,38
|
13
|
-
neuro_simulator/agent/tools/add_temp_memory.py,sha256=uFdnyPchtUo3kWrTT5UXGJQA3V1SfIw633qTuTv0c1w,2080
|
14
|
-
neuro_simulator/agent/tools/add_to_core_memory_block.py,sha256=YZmOlwtSOQVszt_tY7iDFSLiHa1UKv7OMutpMEcCrkg,2259
|
15
|
-
neuro_simulator/agent/tools/base.py,sha256=Xj9ABTAtSFazhQf-qCMMWTCQVLsq48MZtKFVuBsYLQg,1799
|
16
|
-
neuro_simulator/agent/tools/create_core_memory_block.py,sha256=k6_zUq2Vf-IA4A6Z5ePiqeuLEil25ycL5FpbIYeKTU4,2719
|
17
|
-
neuro_simulator/agent/tools/delete_core_memory_block.py,sha256=-_GIoFIJo6K-jmL3xOedSJtiyoxbfN4noC_cA5pVa6A,1332
|
18
|
-
neuro_simulator/agent/tools/get_core_memory_block.py,sha256=XfFY6BZgnczTQqzXxZc8FLLaCRCd-FpGQd9zmj37P3M,1385
|
19
|
-
neuro_simulator/agent/tools/get_core_memory_blocks.py,sha256=tivCwm6NIc7legrPAYGW9Txttp6-u0uE4_j2IOSuUmI,1012
|
20
|
-
neuro_simulator/agent/tools/manager.py,sha256=n3lKku37vrGjkXJKdVZNXf2bXuVcILKX1Wv-fIl6m7M,5136
|
21
|
-
neuro_simulator/agent/tools/remove_from_core_memory_block.py,sha256=xTY-gauo2P6p2-jyvwOupIeJ2vHtk8RoZ-_BLMF8T7w,2325
|
22
|
-
neuro_simulator/agent/tools/speak.py,sha256=CkYfpkVM4c0dKXyEuITfH5cLVh2jN992fCO83uoIVvQ,1823
|
23
|
-
neuro_simulator/agent/tools/update_core_memory_block.py,sha256=0KwcugykHqXsxVCFHctL-zVBXR5dVjGOdxce2ixYrPg,2225
|
24
|
-
neuro_simulator/api/__init__.py,sha256=5LWyDSayPGdQS8Rv13nmAKLyhPnMVPyTYDdvoMPB4xw,56
|
25
|
-
neuro_simulator/api/stream.py,sha256=hM66flSUygpE-NH9X-ZOV6SiGipBzN1-wjd_wZRpQm4,94
|
26
|
-
neuro_simulator/api/system.py,sha256=W05Q41BYAFrw-MTnJ5YJrBG2S1SmTcByoex77GfUaFQ,1787
|
27
|
-
neuro_simulator/core/__init__.py,sha256=-ojq25c8XA0CU25b0OxcGjH4IWFEDHR-HXSRSZIuKe8,57
|
28
|
-
neuro_simulator/core/agent_factory.py,sha256=qMFidwT5IrOkyNHwmpO8_fRv20KLbaIBfWF-VTFCLNA,1742
|
29
|
-
neuro_simulator/core/agent_interface.py,sha256=ZXUCtkQUvsBQ5iCb0gTILJaShn5KmSrEgKhd7PK18HE,2794
|
30
|
-
neuro_simulator/core/application.py,sha256=L7C0m9jgKfuLCzWiokVs7g1wj3C4mbEb9AFNqo4JF0I,24692
|
31
|
-
neuro_simulator/core/config.py,sha256=brA8kiekV_995mpz04JiGj1swIWbZZuWWLNYtbroMyE,14884
|
32
|
-
neuro_simulator/services/__init__.py,sha256=s3ZrAHg5TpJakadAAGY1h0wDw_xqN4Je4aJwJyRBmk4,61
|
33
|
-
neuro_simulator/services/audience.py,sha256=0phlhsujh_GMXm_UMiyOntY-ZMtoseRa_FroIfc5A6w,5028
|
34
|
-
neuro_simulator/services/audio.py,sha256=ZscQA25wVYpm9FUl4Hya7tKH8t0TjR3th9-OEZ0G7xk,2934
|
35
|
-
neuro_simulator/services/builtin.py,sha256=nn3sJFPy09JxQkw35icdyGU9hzLTXXazAJkNpdcz6Zs,5848
|
36
|
-
neuro_simulator/services/letta.py,sha256=6jBvOTsLMlRILDv-fvX9fhHMONSYeu-ImJGFcKU00kc,11067
|
37
|
-
neuro_simulator/services/stream.py,sha256=dG7RuNI_ICohPkqKZ-zlBppo54BgWm_KYBs-ezzc73E,5907
|
38
|
-
neuro_simulator/utils/__init__.py,sha256=xSEFzjT827W81mNyQ_DLtr00TgFlttqfFgpz9pSxFXQ,58
|
39
|
-
neuro_simulator/utils/logging.py,sha256=BO-q_cCcoeamsc8eJqq2-L3Z8nhApze_v6LnmD-O8Ww,3411
|
40
|
-
neuro_simulator/utils/process.py,sha256=9OYWx8fzaJZqmFUcjQX37AnBhl7YWvrLxDWBa30vqwU,3192
|
41
|
-
neuro_simulator/utils/queue.py,sha256=vSkh-BrgfsGN_gDAx2mfK44ydmMapdVyLsDG-7LIJZQ,1643
|
42
|
-
neuro_simulator/utils/state.py,sha256=DdBqSAYfjOFtJfB1hEGhYPh32r1ZvFuVlN_-29_-luA,664
|
43
|
-
neuro_simulator/utils/websocket.py,sha256=1gtVoH1hafBUfVYmwkVDAbjwETeqyC3sWx706nQzSRo,2085
|
44
|
-
neuro_simulator-0.3.3.dist-info/METADATA,sha256=almvuJaLS7nvw30-XjNLX6UdZ7-qaFdWdoTymHFs3qE,8643
|
45
|
-
neuro_simulator-0.3.3.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
46
|
-
neuro_simulator-0.3.3.dist-info/entry_points.txt,sha256=qVd5ypnRRgU8Cw7rWfZ7o0OXyS9P9hgY-cRoN_mgz9g,51
|
47
|
-
neuro_simulator-0.3.3.dist-info/top_level.txt,sha256=V8awSKpcrFnjJDiJxSfy7jtOrnuE2BgAR9hLmfMDWK8,16
|
48
|
-
neuro_simulator-0.3.3.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|