npcsh 0.3.27__tar.gz → 0.3.27.1__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.
- {npcsh-0.3.27/npcsh.egg-info → npcsh-0.3.27.1}/PKG-INFO +1 -1
- {npcsh-0.3.27 → npcsh-0.3.27.1/npcsh.egg-info}/PKG-INFO +1 -1
- {npcsh-0.3.27 → npcsh-0.3.27.1}/setup.py +22 -15
- {npcsh-0.3.27 → npcsh-0.3.27.1}/LICENSE +0 -0
- {npcsh-0.3.27 → npcsh-0.3.27.1}/MANIFEST.in +0 -0
- {npcsh-0.3.27 → npcsh-0.3.27.1}/README.md +0 -0
- {npcsh-0.3.27 → npcsh-0.3.27.1}/npcsh/__init__.py +0 -0
- {npcsh-0.3.27 → npcsh-0.3.27.1}/npcsh/audio.py +0 -0
- {npcsh-0.3.27 → npcsh-0.3.27.1}/npcsh/cli.py +0 -0
- {npcsh-0.3.27 → npcsh-0.3.27.1}/npcsh/command_history.py +0 -0
- {npcsh-0.3.27 → npcsh-0.3.27.1}/npcsh/conversation.py +0 -0
- {npcsh-0.3.27 → npcsh-0.3.27.1}/npcsh/data_models.py +0 -0
- {npcsh-0.3.27 → npcsh-0.3.27.1}/npcsh/dataframes.py +0 -0
- {npcsh-0.3.27 → npcsh-0.3.27.1}/npcsh/embeddings.py +0 -0
- {npcsh-0.3.27 → npcsh-0.3.27.1}/npcsh/helpers.py +0 -0
- {npcsh-0.3.27 → npcsh-0.3.27.1}/npcsh/image.py +0 -0
- {npcsh-0.3.27 → npcsh-0.3.27.1}/npcsh/image_gen.py +0 -0
- {npcsh-0.3.27 → npcsh-0.3.27.1}/npcsh/knowledge_graph.py +0 -0
- {npcsh-0.3.27 → npcsh-0.3.27.1}/npcsh/llm_funcs.py +0 -0
- {npcsh-0.3.27 → npcsh-0.3.27.1}/npcsh/load_data.py +0 -0
- {npcsh-0.3.27 → npcsh-0.3.27.1}/npcsh/main.py +0 -0
- {npcsh-0.3.27 → npcsh-0.3.27.1}/npcsh/model_runner.py +0 -0
- {npcsh-0.3.27 → npcsh-0.3.27.1}/npcsh/npc_compiler.py +0 -0
- {npcsh-0.3.27 → npcsh-0.3.27.1}/npcsh/npc_sysenv.py +0 -0
- {npcsh-0.3.27 → npcsh-0.3.27.1}/npcsh/npc_team/assembly_lines/test_pipeline.py +0 -0
- {npcsh-0.3.27 → npcsh-0.3.27.1}/npcsh/npc_team/corca.npc +0 -0
- {npcsh-0.3.27 → npcsh-0.3.27.1}/npcsh/npc_team/foreman.npc +0 -0
- {npcsh-0.3.27 → npcsh-0.3.27.1}/npcsh/npc_team/npcsh.ctx +0 -0
- {npcsh-0.3.27 → npcsh-0.3.27.1}/npcsh/npc_team/sibiji.npc +0 -0
- {npcsh-0.3.27 → npcsh-0.3.27.1}/npcsh/npc_team/templates/analytics/celona.npc +0 -0
- {npcsh-0.3.27 → npcsh-0.3.27.1}/npcsh/npc_team/templates/hr_support/raone.npc +0 -0
- {npcsh-0.3.27 → npcsh-0.3.27.1}/npcsh/npc_team/templates/humanities/eriane.npc +0 -0
- {npcsh-0.3.27 → npcsh-0.3.27.1}/npcsh/npc_team/templates/it_support/lineru.npc +0 -0
- {npcsh-0.3.27 → npcsh-0.3.27.1}/npcsh/npc_team/templates/marketing/slean.npc +0 -0
- {npcsh-0.3.27 → npcsh-0.3.27.1}/npcsh/npc_team/templates/philosophy/maurawa.npc +0 -0
- {npcsh-0.3.27 → npcsh-0.3.27.1}/npcsh/npc_team/templates/sales/turnic.npc +0 -0
- {npcsh-0.3.27 → npcsh-0.3.27.1}/npcsh/npc_team/templates/software/welxor.npc +0 -0
- {npcsh-0.3.27 → npcsh-0.3.27.1}/npcsh/npc_team/tools/calculator.tool +0 -0
- {npcsh-0.3.27 → npcsh-0.3.27.1}/npcsh/npc_team/tools/generic_search.tool +0 -0
- {npcsh-0.3.27 → npcsh-0.3.27.1}/npcsh/npc_team/tools/image_generation.tool +0 -0
- {npcsh-0.3.27 → npcsh-0.3.27.1}/npcsh/npc_team/tools/local_search.tool +0 -0
- {npcsh-0.3.27 → npcsh-0.3.27.1}/npcsh/npc_team/tools/screen_cap.tool +0 -0
- {npcsh-0.3.27 → npcsh-0.3.27.1}/npcsh/npc_team/tools/sql_executor.tool +0 -0
- {npcsh-0.3.27 → npcsh-0.3.27.1}/npcsh/plonk.py +0 -0
- {npcsh-0.3.27 → npcsh-0.3.27.1}/npcsh/response.py +0 -0
- {npcsh-0.3.27 → npcsh-0.3.27.1}/npcsh/search.py +0 -0
- {npcsh-0.3.27 → npcsh-0.3.27.1}/npcsh/serve.py +0 -0
- {npcsh-0.3.27 → npcsh-0.3.27.1}/npcsh/shell.py +0 -0
- {npcsh-0.3.27 → npcsh-0.3.27.1}/npcsh/shell_helpers.py +0 -0
- {npcsh-0.3.27 → npcsh-0.3.27.1}/npcsh/stream.py +0 -0
- {npcsh-0.3.27 → npcsh-0.3.27.1}/npcsh/video.py +0 -0
- {npcsh-0.3.27 → npcsh-0.3.27.1}/npcsh.egg-info/SOURCES.txt +0 -0
- {npcsh-0.3.27 → npcsh-0.3.27.1}/npcsh.egg-info/dependency_links.txt +0 -0
- {npcsh-0.3.27 → npcsh-0.3.27.1}/npcsh.egg-info/entry_points.txt +0 -0
- {npcsh-0.3.27 → npcsh-0.3.27.1}/npcsh.egg-info/requires.txt +0 -0
- {npcsh-0.3.27 → npcsh-0.3.27.1}/npcsh.egg-info/top_level.txt +0 -0
- {npcsh-0.3.27 → npcsh-0.3.27.1}/setup.cfg +0 -0
- {npcsh-0.3.27 → npcsh-0.3.27.1}/tests/test_chromadb.py +0 -0
- {npcsh-0.3.27 → npcsh-0.3.27.1}/tests/test_embedding_check.py +0 -0
- {npcsh-0.3.27 → npcsh-0.3.27.1}/tests/test_embedding_methods.py +0 -0
- {npcsh-0.3.27 → npcsh-0.3.27.1}/tests/test_helpers.py +0 -0
- {npcsh-0.3.27 → npcsh-0.3.27.1}/tests/test_knowledge_graph_rag.py +0 -0
- {npcsh-0.3.27 → npcsh-0.3.27.1}/tests/test_llm_funcs.py +0 -0
- {npcsh-0.3.27 → npcsh-0.3.27.1}/tests/test_networkx_vis.py +0 -0
- {npcsh-0.3.27 → npcsh-0.3.27.1}/tests/test_npc_compiler.py +0 -0
- {npcsh-0.3.27 → npcsh-0.3.27.1}/tests/test_npcsh.py +0 -0
- {npcsh-0.3.27 → npcsh-0.3.27.1}/tests/test_npcteam.py +0 -0
- {npcsh-0.3.27 → npcsh-0.3.27.1}/tests/test_shell_helpers.py +0 -0
- {npcsh-0.3.27 → npcsh-0.3.27.1}/tests/test_tool_use.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: npcsh
|
|
3
|
-
Version: 0.3.27
|
|
3
|
+
Version: 0.3.27.1
|
|
4
4
|
Summary: npcsh is a command line tool for integrating LLMs into everyday workflows and for orchestrating teams of NPCs.
|
|
5
5
|
Home-page: https://github.com/cagostino/npcsh
|
|
6
6
|
Author: Christopher Agostino
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: npcsh
|
|
3
|
-
Version: 0.3.27
|
|
3
|
+
Version: 0.3.27.1
|
|
4
4
|
Summary: npcsh is a command line tool for integrating LLMs into everyday workflows and for orchestrating teams of NPCs.
|
|
5
5
|
Home-page: https://github.com/cagostino/npcsh
|
|
6
6
|
Author: Christopher Agostino
|
|
@@ -1,7 +1,15 @@
|
|
|
1
|
-
|
|
1
|
+
# Force lite installation if environment variable is set
|
|
2
2
|
import os
|
|
3
|
-
|
|
3
|
+
|
|
4
4
|
import sys
|
|
5
|
+
|
|
6
|
+
if os.environ.get("NPCSH_LITE_INSTALL", "").lower() == "true":
|
|
7
|
+
|
|
8
|
+
sys.argv.append("--config-settings")
|
|
9
|
+
sys.argv.append("install.lite=true")
|
|
10
|
+
|
|
11
|
+
from setuptools import setup, find_packages
|
|
12
|
+
import site
|
|
5
13
|
import platform
|
|
6
14
|
from pathlib import Path
|
|
7
15
|
|
|
@@ -89,8 +97,8 @@ core_requirements = [
|
|
|
89
97
|
"screeninfo",
|
|
90
98
|
]
|
|
91
99
|
|
|
92
|
-
# Define full
|
|
93
|
-
|
|
100
|
+
# Define additional requirements for full installation
|
|
101
|
+
extra_requirements = [
|
|
94
102
|
"sentence_transformers",
|
|
95
103
|
"opencv-python",
|
|
96
104
|
"ollama",
|
|
@@ -110,22 +118,21 @@ audio_requirements = [
|
|
|
110
118
|
|
|
111
119
|
extra_files = package_files("npcsh/npc_team/")
|
|
112
120
|
|
|
113
|
-
# Choose requirements based on environment variables
|
|
114
|
-
is_lite = os.environ.get("NPCSH_LITE_INSTALL", "").lower() == "true"
|
|
115
|
-
is_audio = os.environ.get("NPCSH_AUDIO_INSTALL", "").lower() == "true"
|
|
116
121
|
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
122
|
+
def get_requirements():
|
|
123
|
+
# Check if lite installation was requested via sys.argv
|
|
124
|
+
if any("install.lite=true" in arg for arg in sys.argv):
|
|
125
|
+
return core_requirements
|
|
126
|
+
elif os.environ.get("NPCSH_AUDIO_INSTALL", "").lower() == "true":
|
|
127
|
+
return core_requirements + extra_requirements + audio_requirements
|
|
128
|
+
return core_requirements + extra_requirements
|
|
129
|
+
|
|
123
130
|
|
|
124
131
|
setup(
|
|
125
132
|
name="npcsh",
|
|
126
|
-
version="0.3.27",
|
|
133
|
+
version="0.3.27.1",
|
|
127
134
|
packages=find_packages(exclude=["tests*"]),
|
|
128
|
-
install_requires=
|
|
135
|
+
install_requires=get_requirements(),
|
|
129
136
|
entry_points={
|
|
130
137
|
"console_scripts": [
|
|
131
138
|
"npcsh=npcsh.shell:main",
|
|
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
|
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|