npcsh 1.0.3__py3-none-any.whl → 1.0.4__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/npcsh.py +3 -2
- {npcsh-1.0.3.dist-info → npcsh-1.0.4.dist-info}/METADATA +1 -1
- {npcsh-1.0.3.dist-info → npcsh-1.0.4.dist-info}/RECORD +7 -7
- {npcsh-1.0.3.dist-info → npcsh-1.0.4.dist-info}/WHEEL +0 -0
- {npcsh-1.0.3.dist-info → npcsh-1.0.4.dist-info}/entry_points.txt +0 -0
- {npcsh-1.0.3.dist-info → npcsh-1.0.4.dist-info}/licenses/LICENSE +0 -0
- {npcsh-1.0.3.dist-info → npcsh-1.0.4.dist-info}/top_level.txt +0 -0
npcsh/npcsh.py
CHANGED
|
@@ -580,7 +580,8 @@ def process_pipeline_command(
|
|
|
580
580
|
path_cmd = 'The current working directory is: ' + state.current_path
|
|
581
581
|
ls_files = 'Files in the current directory (full paths):\n' + "\n".join([os.path.join(state.current_path, f) for f in os.listdir(state.current_path)]) if os.path.exists(state.current_path) else 'No files found in the current directory.'
|
|
582
582
|
platform_info = f"Platform: {platform.system()} {platform.release()} ({platform.machine()})"
|
|
583
|
-
|
|
583
|
+
info = path_cmd + '\n' + ls_files + '\n' + platform_info + '\n'
|
|
584
|
+
|
|
584
585
|
llm_result = check_llm_command(
|
|
585
586
|
full_llm_cmd,
|
|
586
587
|
model=exec_model,
|
|
@@ -592,7 +593,7 @@ def process_pipeline_command(
|
|
|
592
593
|
messages=state.messages,
|
|
593
594
|
images=state.attachments,
|
|
594
595
|
stream=stream_final,
|
|
595
|
-
context=
|
|
596
|
+
context=info,
|
|
596
597
|
shell=True,
|
|
597
598
|
)
|
|
598
599
|
if isinstance(llm_result, dict):
|
|
@@ -6,16 +6,16 @@ npcsh/mcp_helpers.py,sha256=Ktd2yXuBnLL2P7OMalgGLj84PXJSzaucjqmJVvWx6HA,12723
|
|
|
6
6
|
npcsh/mcp_npcsh.py,sha256=SfmplH62GS9iI6q4vuQLVUS6tkrok6L7JxODx_iH7ps,36158
|
|
7
7
|
npcsh/mcp_server.py,sha256=l2Ra0lpFrUu334pvp0Q9ajF2n73KvZswFi0FgbDhh9k,5884
|
|
8
8
|
npcsh/npc.py,sha256=JEP0nqbqRGvAthj9uT0ZfbGc322g3Ge3rRDKbpIdI1s,7907
|
|
9
|
-
npcsh/npcsh.py,sha256=
|
|
9
|
+
npcsh/npcsh.py,sha256=P4HvwZ4UE4JWLDPtgSy3BFRBhmTRmgOnhVt98nGA9q4,57416
|
|
10
10
|
npcsh/plonk.py,sha256=U2e9yUJZN95Girzzvgrh-40zOdl5zO3AHPsIjoyLv2M,15261
|
|
11
11
|
npcsh/pti.py,sha256=jGHGE5SeIcDkV8WlOEHCKQCnYAL4IPS-kUBHrUz0oDA,10019
|
|
12
12
|
npcsh/routes.py,sha256=ufQVc6aqgC14_YHV88iwV53TN1Pk095NB6gFDqQqfB4,37208
|
|
13
13
|
npcsh/spool.py,sha256=GhnSFX9uAtrB4m_ijuyA5tufH12DrWdABw0z8FmiCHc,11497
|
|
14
14
|
npcsh/wander.py,sha256=BiN6eYyFnEsFzo8MFLRkdZ8xS9sTKkQpjiCcy9chMcc,23225
|
|
15
15
|
npcsh/yap.py,sha256=h5KNt9sNOrDPhGe_zfn_yFIeQhizX09zocjcPWH7m3k,20905
|
|
16
|
-
npcsh-1.0.
|
|
17
|
-
npcsh-1.0.
|
|
18
|
-
npcsh-1.0.
|
|
19
|
-
npcsh-1.0.
|
|
20
|
-
npcsh-1.0.
|
|
21
|
-
npcsh-1.0.
|
|
16
|
+
npcsh-1.0.4.dist-info/licenses/LICENSE,sha256=IKBvAECHP-aCiJtE4cHGCE5Yl0tozYz02PomGeWS3y4,1070
|
|
17
|
+
npcsh-1.0.4.dist-info/METADATA,sha256=OPk2EAs6I_XHJx9kavt1jQM4Ai-c3ckSBXvAseSjB90,22747
|
|
18
|
+
npcsh-1.0.4.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
19
|
+
npcsh-1.0.4.dist-info/entry_points.txt,sha256=qxOYTm3ym3JWyWf2nv2Mk71uMcJIdUoNEJ8VYMkyHiY,214
|
|
20
|
+
npcsh-1.0.4.dist-info/top_level.txt,sha256=kHSNgKMCkfjV95-DH0YSp1LLBi0HXdF3w57j7MQON3E,6
|
|
21
|
+
npcsh-1.0.4.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|