npcsh 1.0.5__tar.gz → 1.0.6__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-1.0.5 → npcsh-1.0.6}/PKG-INFO +1 -1
- {npcsh-1.0.5 → npcsh-1.0.6}/npcsh/_state.py +2 -5
- {npcsh-1.0.5 → npcsh-1.0.6}/npcsh.egg-info/PKG-INFO +1 -1
- {npcsh-1.0.5 → npcsh-1.0.6}/setup.py +1 -1
- {npcsh-1.0.5 → npcsh-1.0.6}/LICENSE +0 -0
- {npcsh-1.0.5 → npcsh-1.0.6}/README.md +0 -0
- {npcsh-1.0.5 → npcsh-1.0.6}/npcsh/__init__.py +0 -0
- {npcsh-1.0.5 → npcsh-1.0.6}/npcsh/alicanto.py +0 -0
- {npcsh-1.0.5 → npcsh-1.0.6}/npcsh/guac.py +0 -0
- {npcsh-1.0.5 → npcsh-1.0.6}/npcsh/mcp_helpers.py +0 -0
- {npcsh-1.0.5 → npcsh-1.0.6}/npcsh/mcp_npcsh.py +0 -0
- {npcsh-1.0.5 → npcsh-1.0.6}/npcsh/mcp_server.py +0 -0
- {npcsh-1.0.5 → npcsh-1.0.6}/npcsh/npc.py +0 -0
- {npcsh-1.0.5 → npcsh-1.0.6}/npcsh/npcsh.py +0 -0
- {npcsh-1.0.5 → npcsh-1.0.6}/npcsh/plonk.py +0 -0
- {npcsh-1.0.5 → npcsh-1.0.6}/npcsh/pti.py +0 -0
- {npcsh-1.0.5 → npcsh-1.0.6}/npcsh/routes.py +0 -0
- {npcsh-1.0.5 → npcsh-1.0.6}/npcsh/spool.py +0 -0
- {npcsh-1.0.5 → npcsh-1.0.6}/npcsh/wander.py +0 -0
- {npcsh-1.0.5 → npcsh-1.0.6}/npcsh/yap.py +0 -0
- {npcsh-1.0.5 → npcsh-1.0.6}/npcsh.egg-info/SOURCES.txt +0 -0
- {npcsh-1.0.5 → npcsh-1.0.6}/npcsh.egg-info/dependency_links.txt +0 -0
- {npcsh-1.0.5 → npcsh-1.0.6}/npcsh.egg-info/entry_points.txt +0 -0
- {npcsh-1.0.5 → npcsh-1.0.6}/npcsh.egg-info/requires.txt +0 -0
- {npcsh-1.0.5 → npcsh-1.0.6}/npcsh.egg-info/top_level.txt +0 -0
- {npcsh-1.0.5 → npcsh-1.0.6}/setup.cfg +0 -0
|
@@ -389,7 +389,6 @@ BASH_COMMANDS = [
|
|
|
389
389
|
"sudo",
|
|
390
390
|
"whoami",
|
|
391
391
|
"who",
|
|
392
|
-
"w",
|
|
393
392
|
"last",
|
|
394
393
|
"finger",
|
|
395
394
|
"uptime",
|
|
@@ -560,10 +559,8 @@ def validate_bash_command(command_parts: list) -> bool:
|
|
|
560
559
|
|
|
561
560
|
if base_command == 'which':
|
|
562
561
|
return False # disable which arbitrarily cause the command parsing for it is too finnicky.
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
if base_command not in COMMAND_PATTERNS:
|
|
566
|
-
return True # Allow other commands to pass through
|
|
562
|
+
if base_command not in COMMAND_PATTERNS and base_command not in BASH_COMMANDS:
|
|
563
|
+
return False # Allow other commands to pass through
|
|
567
564
|
|
|
568
565
|
pattern = COMMAND_PATTERNS[base_command]
|
|
569
566
|
args = []
|
|
@@ -84,7 +84,7 @@ extra_files = package_files("npcpy/npc_team/")
|
|
|
84
84
|
|
|
85
85
|
setup(
|
|
86
86
|
name="npcsh",
|
|
87
|
-
version="1.0.
|
|
87
|
+
version="1.0.6",
|
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|