npcsh 1.0.3__tar.gz → 1.0.4__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: npcsh
3
- Version: 1.0.3
3
+ Version: 1.0.4
4
4
  Summary: npcsh is a command-line toolkit for using AI agents in novel ways.
5
5
  Home-page: https://github.com/NPC-Worldwide/npcsh
6
6
  Author: Christopher Agostino
@@ -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
- full_llm_cmd = path_cmd + '\n' + ls_files + '\n' + platform_info + '\n' + full_llm_cmd
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=None,
596
+ context=info,
596
597
  shell=True,
597
598
  )
598
599
  if isinstance(llm_result, dict):
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: npcsh
3
- Version: 1.0.3
3
+ Version: 1.0.4
4
4
  Summary: npcsh is a command-line toolkit for using AI agents in novel ways.
5
5
  Home-page: https://github.com/NPC-Worldwide/npcsh
6
6
  Author: Christopher Agostino
@@ -84,7 +84,7 @@ extra_files = package_files("npcpy/npc_team/")
84
84
 
85
85
  setup(
86
86
  name="npcsh",
87
- version="1.0.3",
87
+ version="1.0.4",
88
88
  packages=find_packages(exclude=["tests*"]),
89
89
  install_requires=base_requirements, # Only install base requirements by default
90
90
  extras_require={
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