npcsh 1.0.6__tar.gz → 1.0.8__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.6
3
+ Version: 1.0.8
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
@@ -552,6 +552,128 @@ def validate_bash_command(command_parts: list) -> bool:
552
552
  "flags": ["-a", "-e", "-t", "-f", "-F", "-W", "-n", "-g", "-h"],
553
553
  "requires_arg": True,
554
554
  },
555
+ "ls": {
556
+ "flags": [
557
+ "-a",
558
+ "-l",
559
+ "-h",
560
+ "-R",
561
+ "-t",
562
+ "-S",
563
+ "-r",
564
+ "-d",
565
+ "-F",
566
+ "-i",
567
+ "--color",
568
+ ],
569
+ "requires_arg": False,
570
+ },
571
+ "cp": {
572
+ "flags": [
573
+ "-r",
574
+ "-f",
575
+ "-i",
576
+ "-u",
577
+ "-v",
578
+ "--preserve",
579
+ "--no-preserve=mode,ownership,timestamps",
580
+ ],
581
+ "requires_arg": True,
582
+ },
583
+ "mv": {
584
+ "flags": ["-f", "-i", "-u", "-v", "--backup", "--no-clobber"],
585
+ "requires_arg": True,
586
+ },
587
+ "rm": {
588
+ "flags": ["-f", "-i", "-r", "-v", "--preserve-root", "--no-preserve-root"],
589
+ "requires_arg": True,
590
+ },
591
+ "mkdir": {
592
+ "flags": ["-p", "-v", "-m", "--mode", "--parents"],
593
+ "requires_arg": True,
594
+ },
595
+ "rmdir": {
596
+ "flags": ["-p", "-v", "--ignore-fail-on-non-empty"],
597
+ "requires_arg": True,
598
+ },
599
+ "touch": {
600
+ "flags": ["-a", "-c", "-m", "-r", "-d", "--date"],
601
+ "requires_arg": True,
602
+ },
603
+ "grep": {
604
+ "flags": [
605
+ "-i",
606
+ "-v",
607
+ "-r",
608
+ "-l",
609
+ "-n",
610
+ "-c",
611
+ "-w",
612
+ "-x",
613
+ "--color",
614
+ "--exclude",
615
+ "--include",
616
+ ],
617
+ "requires_arg": True,
618
+ },
619
+ "sed": {
620
+ "flags": [
621
+ "-e",
622
+ "-f",
623
+ "-i",
624
+ "-n",
625
+ "--expression",
626
+ "--file",
627
+ "--in-place",
628
+ "--quiet",
629
+ "--silent",
630
+ ],
631
+ "requires_arg": True,
632
+ },
633
+ "awk": {
634
+ "flags": [
635
+ "-f",
636
+ "-v",
637
+ "--file",
638
+ "--source",
639
+ "--assign",
640
+ "--posix",
641
+ "--traditional",
642
+ ],
643
+ "requires_arg": True,
644
+ },
645
+ "sort": {
646
+ "flags": [
647
+ "-b",
648
+ "-d",
649
+ "-f",
650
+ "-g",
651
+ "-i",
652
+ "-n",
653
+ "-r",
654
+ "-u",
655
+ "--check",
656
+ "--ignore-case",
657
+ "--numeric-sort",
658
+ ],
659
+ "requires_arg": False,
660
+ },
661
+ "uniq": {
662
+ "flags": ["-c", "-d", "-u", "-i", "--check-chars", "--skip-chars"],
663
+ "requires_arg": False,
664
+ },
665
+ "wc": {
666
+ "flags": ["-c", "-l", "-w", "-m", "-L", "--bytes", "--lines", "--words"],
667
+ "requires_arg": False,
668
+ },
669
+ "pwd": {
670
+ "flags": ["-L", "-P"],
671
+ "requires_arg": False,
672
+ },
673
+ "chmod": {
674
+ "flags": ["-R", "-v", "-c", "--reference"],
675
+ "requires_arg": True,
676
+ },
555
677
 
556
678
  }
557
679
 
@@ -17,7 +17,7 @@ from npcpy.npc_sysenv import (
17
17
  render_markdown,
18
18
  )
19
19
  from npcpy.npc_compiler import NPC, Team
20
- from npcpy.routes import router
20
+ from npcsh.routes import router
21
21
  from npcpy.llm_funcs import check_llm_command
22
22
 
23
23
  def load_npc_by_name(npc_name: str = "sibiji", db_path: str = NPCSH_DB_PATH) -> Optional[NPC]:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: npcsh
3
- Version: 1.0.6
3
+ Version: 1.0.8
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.6",
87
+ version="1.0.8",
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