npcsh 1.0.32__py3-none-any.whl → 1.0.33__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.
- npcsh/corca.py +7 -3
- {npcsh-1.0.32.dist-info → npcsh-1.0.33.dist-info}/METADATA +1 -1
- {npcsh-1.0.32.dist-info → npcsh-1.0.33.dist-info}/RECORD +33 -33
- {npcsh-1.0.32.data → npcsh-1.0.33.data}/data/npcsh/npc_team/alicanto.npc +0 -0
- {npcsh-1.0.32.data → npcsh-1.0.33.data}/data/npcsh/npc_team/alicanto.png +0 -0
- {npcsh-1.0.32.data → npcsh-1.0.33.data}/data/npcsh/npc_team/bash_executer.jinx +0 -0
- {npcsh-1.0.32.data → npcsh-1.0.33.data}/data/npcsh/npc_team/corca.npc +0 -0
- {npcsh-1.0.32.data → npcsh-1.0.33.data}/data/npcsh/npc_team/corca.png +0 -0
- {npcsh-1.0.32.data → npcsh-1.0.33.data}/data/npcsh/npc_team/edit_file.jinx +0 -0
- {npcsh-1.0.32.data → npcsh-1.0.33.data}/data/npcsh/npc_team/foreman.npc +0 -0
- {npcsh-1.0.32.data → npcsh-1.0.33.data}/data/npcsh/npc_team/frederic.npc +0 -0
- {npcsh-1.0.32.data → npcsh-1.0.33.data}/data/npcsh/npc_team/frederic4.png +0 -0
- {npcsh-1.0.32.data → npcsh-1.0.33.data}/data/npcsh/npc_team/guac.png +0 -0
- {npcsh-1.0.32.data → npcsh-1.0.33.data}/data/npcsh/npc_team/image_generation.jinx +0 -0
- {npcsh-1.0.32.data → npcsh-1.0.33.data}/data/npcsh/npc_team/internet_search.jinx +0 -0
- {npcsh-1.0.32.data → npcsh-1.0.33.data}/data/npcsh/npc_team/kadiefa.npc +0 -0
- {npcsh-1.0.32.data → npcsh-1.0.33.data}/data/npcsh/npc_team/kadiefa.png +0 -0
- {npcsh-1.0.32.data → npcsh-1.0.33.data}/data/npcsh/npc_team/npcsh.ctx +0 -0
- {npcsh-1.0.32.data → npcsh-1.0.33.data}/data/npcsh/npc_team/npcsh_sibiji.png +0 -0
- {npcsh-1.0.32.data → npcsh-1.0.33.data}/data/npcsh/npc_team/plonk.npc +0 -0
- {npcsh-1.0.32.data → npcsh-1.0.33.data}/data/npcsh/npc_team/plonk.png +0 -0
- {npcsh-1.0.32.data → npcsh-1.0.33.data}/data/npcsh/npc_team/plonkjr.npc +0 -0
- {npcsh-1.0.32.data → npcsh-1.0.33.data}/data/npcsh/npc_team/plonkjr.png +0 -0
- {npcsh-1.0.32.data → npcsh-1.0.33.data}/data/npcsh/npc_team/python_executor.jinx +0 -0
- {npcsh-1.0.32.data → npcsh-1.0.33.data}/data/npcsh/npc_team/screen_cap.jinx +0 -0
- {npcsh-1.0.32.data → npcsh-1.0.33.data}/data/npcsh/npc_team/sibiji.npc +0 -0
- {npcsh-1.0.32.data → npcsh-1.0.33.data}/data/npcsh/npc_team/sibiji.png +0 -0
- {npcsh-1.0.32.data → npcsh-1.0.33.data}/data/npcsh/npc_team/spool.png +0 -0
- {npcsh-1.0.32.data → npcsh-1.0.33.data}/data/npcsh/npc_team/yap.png +0 -0
- {npcsh-1.0.32.dist-info → npcsh-1.0.33.dist-info}/WHEEL +0 -0
- {npcsh-1.0.32.dist-info → npcsh-1.0.33.dist-info}/entry_points.txt +0 -0
- {npcsh-1.0.32.dist-info → npcsh-1.0.33.dist-info}/licenses/LICENSE +0 -0
- {npcsh-1.0.32.dist-info → npcsh-1.0.33.dist-info}/top_level.txt +0 -0
npcsh/corca.py
CHANGED
|
@@ -946,8 +946,12 @@ def _resolve_and_copy_mcp_server_path(
|
|
|
946
946
|
|
|
947
947
|
cprint("No MCP server script found in any expected location.", "yellow")
|
|
948
948
|
return None
|
|
949
|
-
def create_corca_state_and_mcp_client(conversation_id,
|
|
950
|
-
|
|
949
|
+
def create_corca_state_and_mcp_client(conversation_id,
|
|
950
|
+
command_history,
|
|
951
|
+
npc=None,
|
|
952
|
+
team=None,
|
|
953
|
+
current_path=None,
|
|
954
|
+
mcp_server_path: Optional[str] = None):
|
|
951
955
|
from npcsh._state import ShellState
|
|
952
956
|
|
|
953
957
|
state = ShellState(
|
|
@@ -965,7 +969,7 @@ def create_corca_state_and_mcp_client(conversation_id, command_history, npc=None
|
|
|
965
969
|
auto_copy_bypass = os.getenv("NPCSH_CORCA_AUTO_COPY_MCP_SERVER", "false").lower() == "true"
|
|
966
970
|
|
|
967
971
|
resolved_server_path = _resolve_and_copy_mcp_server_path(
|
|
968
|
-
explicit_path=
|
|
972
|
+
explicit_path=mcp_server_path,
|
|
969
973
|
current_path=current_path,
|
|
970
974
|
team_ctx_mcp_servers=team.team_ctx.get('mcp_servers', []) if team and hasattr(team, 'team_ctx') else None,
|
|
971
975
|
interactive=False,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
npcsh/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
2
2
|
npcsh/_state.py,sha256=sntRSm9DKthandawaLCf-semAm_1CNx3AUh-066G248,86498
|
|
3
3
|
npcsh/alicanto.py,sha256=ZftzxfQPQuuj9VB9V2FCTQN5NIE9Rvsg4iNiNqOUE6U,38118
|
|
4
|
-
npcsh/corca.py,sha256=
|
|
4
|
+
npcsh/corca.py,sha256=4OluICXdL0APOWmk9JdeLuMbQPiA3LoupUmCJ8Ot0dE,49272
|
|
5
5
|
npcsh/guac.py,sha256=sVdLYVkzkQw6TE7crtLUX0QJZFkzQthWZTe1p7IfAQE,80412
|
|
6
6
|
npcsh/mcp_helpers.py,sha256=9TsCfcquGu_vX4WaKlY3J3P13-uxruQKrXng-jJ5YyY,11176
|
|
7
7
|
npcsh/mcp_server.py,sha256=krc1rhiSU9gI76w99Ph3Mk7OyUVzfiEXKMvVid-7-Ik,5201
|
|
@@ -39,35 +39,35 @@ npcsh/npc_team/jinxs/image_generation.jinx,sha256=bQxZdEm0_eqvf_OJSHw3qarp8Klp3L
|
|
|
39
39
|
npcsh/npc_team/jinxs/internet_search.jinx,sha256=s8zVxwKFUAof_VzQrwB5dpAQdeJ6hUBkbIdRsT-I5mo,1267
|
|
40
40
|
npcsh/npc_team/jinxs/python_executor.jinx,sha256=vZz3pZaj1BnPFHMs_wpyjRc0b32JR4rLhZfulCMDF1s,398
|
|
41
41
|
npcsh/npc_team/jinxs/screen_cap.jinx,sha256=-4DG0EiEe61N_kMhVqqHKhLVGOLuZQT9ax6IZk20NjI,960
|
|
42
|
-
npcsh-1.0.
|
|
43
|
-
npcsh-1.0.
|
|
44
|
-
npcsh-1.0.
|
|
45
|
-
npcsh-1.0.
|
|
46
|
-
npcsh-1.0.
|
|
47
|
-
npcsh-1.0.
|
|
48
|
-
npcsh-1.0.
|
|
49
|
-
npcsh-1.0.
|
|
50
|
-
npcsh-1.0.
|
|
51
|
-
npcsh-1.0.
|
|
52
|
-
npcsh-1.0.
|
|
53
|
-
npcsh-1.0.
|
|
54
|
-
npcsh-1.0.
|
|
55
|
-
npcsh-1.0.
|
|
56
|
-
npcsh-1.0.
|
|
57
|
-
npcsh-1.0.
|
|
58
|
-
npcsh-1.0.
|
|
59
|
-
npcsh-1.0.
|
|
60
|
-
npcsh-1.0.
|
|
61
|
-
npcsh-1.0.
|
|
62
|
-
npcsh-1.0.
|
|
63
|
-
npcsh-1.0.
|
|
64
|
-
npcsh-1.0.
|
|
65
|
-
npcsh-1.0.
|
|
66
|
-
npcsh-1.0.
|
|
67
|
-
npcsh-1.0.
|
|
68
|
-
npcsh-1.0.
|
|
69
|
-
npcsh-1.0.
|
|
70
|
-
npcsh-1.0.
|
|
71
|
-
npcsh-1.0.
|
|
72
|
-
npcsh-1.0.
|
|
73
|
-
npcsh-1.0.
|
|
42
|
+
npcsh-1.0.33.data/data/npcsh/npc_team/alicanto.npc,sha256=y9yDY3lq8ZwxQxpnrgle8w5IJwZqvxDepZFU4OaZCtg,148
|
|
43
|
+
npcsh-1.0.33.data/data/npcsh/npc_team/alicanto.png,sha256=A7xeMbcoKGjlkELxJEVifCEZLVWbOKZarTN5ZFJG-FM,3519858
|
|
44
|
+
npcsh-1.0.33.data/data/npcsh/npc_team/bash_executer.jinx,sha256=C_oQccOY8cKevMMPLRdznlMOccQvLgyzyOIThXvmrD8,692
|
|
45
|
+
npcsh-1.0.33.data/data/npcsh/npc_team/corca.npc,sha256=HI3Bs6KlUBPMz7icF1TRE8-V3f3EdU_VxvQxEpru3L4,662
|
|
46
|
+
npcsh-1.0.33.data/data/npcsh/npc_team/corca.png,sha256=0lF70hKu6tY-37YmIPVF2cuaPzvnQ4-UtQOzuAbKEf4,1666776
|
|
47
|
+
npcsh-1.0.33.data/data/npcsh/npc_team/edit_file.jinx,sha256=4PaJs8g_cdeDpbQwQSBycU5RDA0rczEC_NpLfLjo74Y,3490
|
|
48
|
+
npcsh-1.0.33.data/data/npcsh/npc_team/foreman.npc,sha256=WqB8jLfBToGmr8c1vip1KOnTHxfXlGXwDUGnZoDMQr0,327
|
|
49
|
+
npcsh-1.0.33.data/data/npcsh/npc_team/frederic.npc,sha256=EE2dOUItp-VKuW3ZMSHffmIEO4evjPcU2W_C4P3WXbY,362
|
|
50
|
+
npcsh-1.0.33.data/data/npcsh/npc_team/frederic4.png,sha256=ll8uoV0npnPp5HVJWv7h0xDSeuq4pqsk_gYGBHLS0VY,1590744
|
|
51
|
+
npcsh-1.0.33.data/data/npcsh/npc_team/guac.png,sha256=MCE7eJuEJwLJEzc9FS7lL62Mm-38jQRHkxXogPfOTuw,211470
|
|
52
|
+
npcsh-1.0.33.data/data/npcsh/npc_team/image_generation.jinx,sha256=bQxZdEm0_eqvf_OJSHw3qarp8Klp3LlBDv1_HY3COo4,1307
|
|
53
|
+
npcsh-1.0.33.data/data/npcsh/npc_team/internet_search.jinx,sha256=s8zVxwKFUAof_VzQrwB5dpAQdeJ6hUBkbIdRsT-I5mo,1267
|
|
54
|
+
npcsh-1.0.33.data/data/npcsh/npc_team/kadiefa.npc,sha256=Yl5a4wrfe4F2f6Ndw_ukzlVVX7NE9g_mG-3QqJSkg_o,381
|
|
55
|
+
npcsh-1.0.33.data/data/npcsh/npc_team/kadiefa.png,sha256=3CAwL8crKIwJko6o75Z6OYYEEM9Rk--yGzCJg7zoszg,3062528
|
|
56
|
+
npcsh-1.0.33.data/data/npcsh/npc_team/npcsh.ctx,sha256=-jKYaPm2YbZHAGgWAXhyPIwhiNe1H1ZRFg1Zc7tHSxk,1049
|
|
57
|
+
npcsh-1.0.33.data/data/npcsh/npc_team/npcsh_sibiji.png,sha256=9fUqgYMsSHmaH-kBTBQ7N5UCS5-eLZF94Log0O3mtFg,4544
|
|
58
|
+
npcsh-1.0.33.data/data/npcsh/npc_team/plonk.npc,sha256=u1m2a1D512XGQ2kC3eWDAY8Y2IvpkNU73DI_CPE65UE,90
|
|
59
|
+
npcsh-1.0.33.data/data/npcsh/npc_team/plonk.png,sha256=IU5ey-Dl4HEKlwnf75RSWNSHpF8rVqGmdbsa0deL4rQ,2727773
|
|
60
|
+
npcsh-1.0.33.data/data/npcsh/npc_team/plonkjr.npc,sha256=It-i-BEuG0XddKk0d85onk2aJr9Pe5pLnJzNaCWaQIM,87
|
|
61
|
+
npcsh-1.0.33.data/data/npcsh/npc_team/plonkjr.png,sha256=MqLEGwsyECUeODZIti0HQQrMMVxA6XERpW01R06NbpY,2606710
|
|
62
|
+
npcsh-1.0.33.data/data/npcsh/npc_team/python_executor.jinx,sha256=vZz3pZaj1BnPFHMs_wpyjRc0b32JR4rLhZfulCMDF1s,398
|
|
63
|
+
npcsh-1.0.33.data/data/npcsh/npc_team/screen_cap.jinx,sha256=-4DG0EiEe61N_kMhVqqHKhLVGOLuZQT9ax6IZk20NjI,960
|
|
64
|
+
npcsh-1.0.33.data/data/npcsh/npc_team/sibiji.npc,sha256=Hb4wXKIObKKgibwnio5hLec9yd_9bKDCA87Nm2zijFA,216
|
|
65
|
+
npcsh-1.0.33.data/data/npcsh/npc_team/sibiji.png,sha256=1dlZb7J3E62FcVo9CVOzLb8nu1bIUV7cr97nsFocHCM,35615
|
|
66
|
+
npcsh-1.0.33.data/data/npcsh/npc_team/spool.png,sha256=LWTLkwDxXBfLuSUCX32_lo5yAmLYGsA67Xpsz-7MmWU,2876725
|
|
67
|
+
npcsh-1.0.33.data/data/npcsh/npc_team/yap.png,sha256=_l7UbWnXJdsy4Mx-x5l9DT0R6ize3HTnkwQQnOFlI18,1548649
|
|
68
|
+
npcsh-1.0.33.dist-info/licenses/LICENSE,sha256=IKBvAECHP-aCiJtE4cHGCE5Yl0tozYz02PomGeWS3y4,1070
|
|
69
|
+
npcsh-1.0.33.dist-info/METADATA,sha256=oxuT3G2l8HLWmgzV4GlVCUYaBx5C1LT-b2IggcgCvtA,25486
|
|
70
|
+
npcsh-1.0.33.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
71
|
+
npcsh-1.0.33.dist-info/entry_points.txt,sha256=S5yIuGm8ZXQ4siHYgN5gs0J7bxgobSEULXf8L5HaW5o,206
|
|
72
|
+
npcsh-1.0.33.dist-info/top_level.txt,sha256=kHSNgKMCkfjV95-DH0YSp1LLBi0HXdF3w57j7MQON3E,6
|
|
73
|
+
npcsh-1.0.33.dist-info/RECORD,,
|
|
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
|