npcsh 1.0.20__py3-none-any.whl → 1.0.22__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.
Files changed (62) hide show
  1. npcsh/_state.py +6 -5
  2. npcsh/corca.py +146 -129
  3. npcsh/guac.py +394 -119
  4. npcsh/npc_team/alicanto.npc +2 -0
  5. npcsh/npc_team/alicanto.png +0 -0
  6. npcsh/npc_team/corca.npc +13 -0
  7. npcsh/npc_team/corca.png +0 -0
  8. npcsh/npc_team/foreman.npc +7 -0
  9. npcsh/npc_team/frederic.npc +6 -0
  10. npcsh/npc_team/frederic4.png +0 -0
  11. npcsh/npc_team/guac.png +0 -0
  12. npcsh/npc_team/jinxs/bash_executer.jinx +20 -0
  13. npcsh/npc_team/jinxs/edit_file.jinx +94 -0
  14. npcsh/npc_team/jinxs/image_generation.jinx +29 -0
  15. npcsh/npc_team/jinxs/internet_search.jinx +31 -0
  16. npcsh/npc_team/jinxs/python_executor.jinx +11 -0
  17. npcsh/npc_team/jinxs/screen_cap.jinx +25 -0
  18. npcsh/npc_team/kadiefa.npc +3 -0
  19. npcsh/npc_team/kadiefa.png +0 -0
  20. npcsh/npc_team/npcsh.ctx +18 -0
  21. npcsh/npc_team/npcsh_sibiji.png +0 -0
  22. npcsh/npc_team/plonk.npc +2 -0
  23. npcsh/npc_team/plonk.png +0 -0
  24. npcsh/npc_team/plonkjr.npc +2 -0
  25. npcsh/npc_team/plonkjr.png +0 -0
  26. npcsh/npc_team/sibiji.npc +3 -0
  27. npcsh/npc_team/sibiji.png +0 -0
  28. npcsh/npc_team/spool.png +0 -0
  29. npcsh/npc_team/yap.png +0 -0
  30. npcsh-1.0.22.data/data/npcsh/npc_team/alicanto.npc +2 -0
  31. npcsh-1.0.22.data/data/npcsh/npc_team/alicanto.png +0 -0
  32. npcsh-1.0.22.data/data/npcsh/npc_team/bash_executer.jinx +20 -0
  33. npcsh-1.0.22.data/data/npcsh/npc_team/corca.npc +13 -0
  34. npcsh-1.0.22.data/data/npcsh/npc_team/corca.png +0 -0
  35. npcsh-1.0.22.data/data/npcsh/npc_team/edit_file.jinx +94 -0
  36. npcsh-1.0.22.data/data/npcsh/npc_team/foreman.npc +7 -0
  37. npcsh-1.0.22.data/data/npcsh/npc_team/frederic.npc +6 -0
  38. npcsh-1.0.22.data/data/npcsh/npc_team/frederic4.png +0 -0
  39. npcsh-1.0.22.data/data/npcsh/npc_team/guac.png +0 -0
  40. npcsh-1.0.22.data/data/npcsh/npc_team/image_generation.jinx +29 -0
  41. npcsh-1.0.22.data/data/npcsh/npc_team/internet_search.jinx +31 -0
  42. npcsh-1.0.22.data/data/npcsh/npc_team/kadiefa.npc +3 -0
  43. npcsh-1.0.22.data/data/npcsh/npc_team/kadiefa.png +0 -0
  44. npcsh-1.0.22.data/data/npcsh/npc_team/npcsh.ctx +18 -0
  45. npcsh-1.0.22.data/data/npcsh/npc_team/npcsh_sibiji.png +0 -0
  46. npcsh-1.0.22.data/data/npcsh/npc_team/plonk.npc +2 -0
  47. npcsh-1.0.22.data/data/npcsh/npc_team/plonk.png +0 -0
  48. npcsh-1.0.22.data/data/npcsh/npc_team/plonkjr.npc +2 -0
  49. npcsh-1.0.22.data/data/npcsh/npc_team/plonkjr.png +0 -0
  50. npcsh-1.0.22.data/data/npcsh/npc_team/python_executor.jinx +11 -0
  51. npcsh-1.0.22.data/data/npcsh/npc_team/screen_cap.jinx +25 -0
  52. npcsh-1.0.22.data/data/npcsh/npc_team/sibiji.npc +3 -0
  53. npcsh-1.0.22.data/data/npcsh/npc_team/sibiji.png +0 -0
  54. npcsh-1.0.22.data/data/npcsh/npc_team/spool.png +0 -0
  55. npcsh-1.0.22.data/data/npcsh/npc_team/yap.png +0 -0
  56. {npcsh-1.0.20.dist-info → npcsh-1.0.22.dist-info}/METADATA +8 -3
  57. npcsh-1.0.22.dist-info/RECORD +73 -0
  58. npcsh-1.0.20.dist-info/RECORD +0 -21
  59. {npcsh-1.0.20.dist-info → npcsh-1.0.22.dist-info}/WHEEL +0 -0
  60. {npcsh-1.0.20.dist-info → npcsh-1.0.22.dist-info}/entry_points.txt +0 -0
  61. {npcsh-1.0.20.dist-info → npcsh-1.0.22.dist-info}/licenses/LICENSE +0 -0
  62. {npcsh-1.0.20.dist-info → npcsh-1.0.22.dist-info}/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: npcsh
3
- Version: 1.0.20
3
+ Version: 1.0.22
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
@@ -105,7 +105,12 @@ Dynamic: summary
105
105
 
106
106
  # NPC Shell
107
107
 
108
- The NPC shell is the toolkit for tomorrow, providing a suite of programs to make use of multi-modal LLMs and agents in novel interactive modes. `npcsh` is a command-line program, and so can be used wherever you work. `npcsh` is developed to work relibly with small models and performs excellently with the state-of-the-art models from major model providers.
108
+ The NPC shell is the toolkit for tomorrow, providing a suite of programs to make use of multi-modal LLMs and agents in novel interactive modes. `npcsh` is based in the command line, and so can be used wherever you work.
109
+
110
+ - It is developed to work reliably with small models and performs excellently with the state-of-the-art models from major model providers.
111
+ - Fundamentally, the core program of npcsh extends the familiar bash environment with an intelligent layer that lets users seamlessly ask agents questions, run pre-built or custom macros or agents, all without breaking the flow of command-line work.
112
+ - Switching between agents is a breeze in `npcsh`, letting you quickly and easily take advantage of a variety of agents (e.g. coding agents versus tool-calling agents versus prompt-based ReACT Flow agents) and personas (e.g. Data scientist, mapmaker with ennui, etc.).
113
+ - Project variables and context can be stored in team `.ctx` files. Personas (`.npc`) and Jinja execution templates (`.jinx`) are likewise stored in `yaml` within the global `npcsh` team or your project-specific one, letting you focus on adjusting and engineering context and system prompts iteratively so you can constantly improve your agent team's performance.
109
114
 
110
115
  To get started:
111
116
  ```bash
@@ -126,7 +131,7 @@ and you will enter the NPC shell. Additionally, the pip installation includes ma
126
131
  # Usage
127
132
  - Get help with a task:
128
133
  ```bash
129
- npcsh:🤖sibiji:gemini-2.5-flash>can you help me identify what process is listening on port 5337?
134
+ npcsh>can you help me identify what process is listening on port 5337?
130
135
  ```
131
136
  <p align="center">
132
137
  <img src="https://raw.githubusercontent.com/npc-worldwide/npcsh/main/test_data/port5337.png" alt="example of running npcsh to check what processes are listening on port 5337", width=600>
@@ -0,0 +1,73 @@
1
+ npcsh/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
2
+ npcsh/_state.py,sha256=ynUucPJ81gQTh10dCq9CZJTqmUx31fXSipISd8A3gSU,90177
3
+ npcsh/alicanto.py,sha256=-muGqd0O2m8xcFBctEavSEizWbQmzuPSdcT-3YqYBhY,45043
4
+ npcsh/corca.py,sha256=FcZ-tyGkj2oo6q8vvpOlYnYbmc_34Yo7VEMZATpJNdE,32094
5
+ npcsh/guac.py,sha256=9VnVi8w1lOm8bfL7cStsBIZmqE_TNGKo1dG78b6K0Ew,79410
6
+ npcsh/mcp_helpers.py,sha256=Ktd2yXuBnLL2P7OMalgGLj84PXJSzaucjqmJVvWx6HA,12723
7
+ npcsh/mcp_server.py,sha256=htQBSN6y3g3zVCy2ADsdBuQT9PhqaOCSQG_RS9IinWI,5853
8
+ npcsh/npc.py,sha256=elJ494nl_pv8iDrDvBFAlmFvBdci0_CZBjZwbOjVj0c,9113
9
+ npcsh/npcsh.py,sha256=Z_Cz3mgEJeIiY91Z-c4YDKY2tlv23RngM4YK2Gqf3Vc,8283
10
+ npcsh/plonk.py,sha256=7w7J2bht5QXOyV2UK045nAPDmrSrTGLX-sh56KQ3-k0,14653
11
+ npcsh/pti.py,sha256=UciiiH2Kz4ERQFy0-FX6BQEU2VxYQEUril-_Cvj76Y0,7853
12
+ npcsh/routes.py,sha256=BOa3w8xGKa4MqUv3BzIrbGiqU3bZ1YpWKyy55hB6A_0,46637
13
+ npcsh/spool.py,sha256=r0-oXkrNDbxQ5ZNHr1vSJcdmVj3jdWbz7qYcEDoSrj8,10354
14
+ npcsh/wander.py,sha256=BiN6eYyFnEsFzo8MFLRkdZ8xS9sTKkQpjiCcy9chMcc,23225
15
+ npcsh/yap.py,sha256=ipkY3uMDw8gNrPSZ9qJFWVQ_fXtLmQ2oz_6_WZt2hew,21097
16
+ npcsh/npc_team/alicanto.npc,sha256=y9yDY3lq8ZwxQxpnrgle8w5IJwZqvxDepZFU4OaZCtg,148
17
+ npcsh/npc_team/alicanto.png,sha256=A7xeMbcoKGjlkELxJEVifCEZLVWbOKZarTN5ZFJG-FM,3519858
18
+ npcsh/npc_team/corca.npc,sha256=HI3Bs6KlUBPMz7icF1TRE8-V3f3EdU_VxvQxEpru3L4,662
19
+ npcsh/npc_team/corca.png,sha256=0lF70hKu6tY-37YmIPVF2cuaPzvnQ4-UtQOzuAbKEf4,1666776
20
+ npcsh/npc_team/foreman.npc,sha256=WqB8jLfBToGmr8c1vip1KOnTHxfXlGXwDUGnZoDMQr0,327
21
+ npcsh/npc_team/frederic.npc,sha256=EE2dOUItp-VKuW3ZMSHffmIEO4evjPcU2W_C4P3WXbY,362
22
+ npcsh/npc_team/frederic4.png,sha256=ll8uoV0npnPp5HVJWv7h0xDSeuq4pqsk_gYGBHLS0VY,1590744
23
+ npcsh/npc_team/guac.png,sha256=MCE7eJuEJwLJEzc9FS7lL62Mm-38jQRHkxXogPfOTuw,211470
24
+ npcsh/npc_team/kadiefa.npc,sha256=Yl5a4wrfe4F2f6Ndw_ukzlVVX7NE9g_mG-3QqJSkg_o,381
25
+ npcsh/npc_team/kadiefa.png,sha256=3CAwL8crKIwJko6o75Z6OYYEEM9Rk--yGzCJg7zoszg,3062528
26
+ npcsh/npc_team/npcsh.ctx,sha256=-jKYaPm2YbZHAGgWAXhyPIwhiNe1H1ZRFg1Zc7tHSxk,1049
27
+ npcsh/npc_team/npcsh_sibiji.png,sha256=9fUqgYMsSHmaH-kBTBQ7N5UCS5-eLZF94Log0O3mtFg,4544
28
+ npcsh/npc_team/plonk.npc,sha256=u1m2a1D512XGQ2kC3eWDAY8Y2IvpkNU73DI_CPE65UE,90
29
+ npcsh/npc_team/plonk.png,sha256=IU5ey-Dl4HEKlwnf75RSWNSHpF8rVqGmdbsa0deL4rQ,2727773
30
+ npcsh/npc_team/plonkjr.npc,sha256=It-i-BEuG0XddKk0d85onk2aJr9Pe5pLnJzNaCWaQIM,87
31
+ npcsh/npc_team/plonkjr.png,sha256=MqLEGwsyECUeODZIti0HQQrMMVxA6XERpW01R06NbpY,2606710
32
+ npcsh/npc_team/sibiji.npc,sha256=Hb4wXKIObKKgibwnio5hLec9yd_9bKDCA87Nm2zijFA,216
33
+ npcsh/npc_team/sibiji.png,sha256=1dlZb7J3E62FcVo9CVOzLb8nu1bIUV7cr97nsFocHCM,35615
34
+ npcsh/npc_team/spool.png,sha256=LWTLkwDxXBfLuSUCX32_lo5yAmLYGsA67Xpsz-7MmWU,2876725
35
+ npcsh/npc_team/yap.png,sha256=_l7UbWnXJdsy4Mx-x5l9DT0R6ize3HTnkwQQnOFlI18,1548649
36
+ npcsh/npc_team/jinxs/bash_executer.jinx,sha256=5I6UbmiVItC6evHDrF559JWIIBcc1vcWyJLX44iJ2P4,728
37
+ npcsh/npc_team/jinxs/edit_file.jinx,sha256=ZQsSUXjhACxaIoRJLSbCC_EO6uGAsT4Gge-oD1tlamo,3654
38
+ npcsh/npc_team/jinxs/image_generation.jinx,sha256=nelAVtaQuDC_NmcENnWTp6Vr0ea6tE2gJr-8lRG7giY,1437
39
+ npcsh/npc_team/jinxs/internet_search.jinx,sha256=s8zVxwKFUAof_VzQrwB5dpAQdeJ6hUBkbIdRsT-I5mo,1267
40
+ npcsh/npc_team/jinxs/python_executor.jinx,sha256=vZz3pZaj1BnPFHMs_wpyjRc0b32JR4rLhZfulCMDF1s,398
41
+ npcsh/npc_team/jinxs/screen_cap.jinx,sha256=FU71IcO9WzO5ZuR_ezUIyg82jKFfG_k_kCXNy9OlJFM,1087
42
+ npcsh-1.0.22.data/data/npcsh/npc_team/alicanto.npc,sha256=y9yDY3lq8ZwxQxpnrgle8w5IJwZqvxDepZFU4OaZCtg,148
43
+ npcsh-1.0.22.data/data/npcsh/npc_team/alicanto.png,sha256=A7xeMbcoKGjlkELxJEVifCEZLVWbOKZarTN5ZFJG-FM,3519858
44
+ npcsh-1.0.22.data/data/npcsh/npc_team/bash_executer.jinx,sha256=5I6UbmiVItC6evHDrF559JWIIBcc1vcWyJLX44iJ2P4,728
45
+ npcsh-1.0.22.data/data/npcsh/npc_team/corca.npc,sha256=HI3Bs6KlUBPMz7icF1TRE8-V3f3EdU_VxvQxEpru3L4,662
46
+ npcsh-1.0.22.data/data/npcsh/npc_team/corca.png,sha256=0lF70hKu6tY-37YmIPVF2cuaPzvnQ4-UtQOzuAbKEf4,1666776
47
+ npcsh-1.0.22.data/data/npcsh/npc_team/edit_file.jinx,sha256=ZQsSUXjhACxaIoRJLSbCC_EO6uGAsT4Gge-oD1tlamo,3654
48
+ npcsh-1.0.22.data/data/npcsh/npc_team/foreman.npc,sha256=WqB8jLfBToGmr8c1vip1KOnTHxfXlGXwDUGnZoDMQr0,327
49
+ npcsh-1.0.22.data/data/npcsh/npc_team/frederic.npc,sha256=EE2dOUItp-VKuW3ZMSHffmIEO4evjPcU2W_C4P3WXbY,362
50
+ npcsh-1.0.22.data/data/npcsh/npc_team/frederic4.png,sha256=ll8uoV0npnPp5HVJWv7h0xDSeuq4pqsk_gYGBHLS0VY,1590744
51
+ npcsh-1.0.22.data/data/npcsh/npc_team/guac.png,sha256=MCE7eJuEJwLJEzc9FS7lL62Mm-38jQRHkxXogPfOTuw,211470
52
+ npcsh-1.0.22.data/data/npcsh/npc_team/image_generation.jinx,sha256=nelAVtaQuDC_NmcENnWTp6Vr0ea6tE2gJr-8lRG7giY,1437
53
+ npcsh-1.0.22.data/data/npcsh/npc_team/internet_search.jinx,sha256=s8zVxwKFUAof_VzQrwB5dpAQdeJ6hUBkbIdRsT-I5mo,1267
54
+ npcsh-1.0.22.data/data/npcsh/npc_team/kadiefa.npc,sha256=Yl5a4wrfe4F2f6Ndw_ukzlVVX7NE9g_mG-3QqJSkg_o,381
55
+ npcsh-1.0.22.data/data/npcsh/npc_team/kadiefa.png,sha256=3CAwL8crKIwJko6o75Z6OYYEEM9Rk--yGzCJg7zoszg,3062528
56
+ npcsh-1.0.22.data/data/npcsh/npc_team/npcsh.ctx,sha256=-jKYaPm2YbZHAGgWAXhyPIwhiNe1H1ZRFg1Zc7tHSxk,1049
57
+ npcsh-1.0.22.data/data/npcsh/npc_team/npcsh_sibiji.png,sha256=9fUqgYMsSHmaH-kBTBQ7N5UCS5-eLZF94Log0O3mtFg,4544
58
+ npcsh-1.0.22.data/data/npcsh/npc_team/plonk.npc,sha256=u1m2a1D512XGQ2kC3eWDAY8Y2IvpkNU73DI_CPE65UE,90
59
+ npcsh-1.0.22.data/data/npcsh/npc_team/plonk.png,sha256=IU5ey-Dl4HEKlwnf75RSWNSHpF8rVqGmdbsa0deL4rQ,2727773
60
+ npcsh-1.0.22.data/data/npcsh/npc_team/plonkjr.npc,sha256=It-i-BEuG0XddKk0d85onk2aJr9Pe5pLnJzNaCWaQIM,87
61
+ npcsh-1.0.22.data/data/npcsh/npc_team/plonkjr.png,sha256=MqLEGwsyECUeODZIti0HQQrMMVxA6XERpW01R06NbpY,2606710
62
+ npcsh-1.0.22.data/data/npcsh/npc_team/python_executor.jinx,sha256=vZz3pZaj1BnPFHMs_wpyjRc0b32JR4rLhZfulCMDF1s,398
63
+ npcsh-1.0.22.data/data/npcsh/npc_team/screen_cap.jinx,sha256=FU71IcO9WzO5ZuR_ezUIyg82jKFfG_k_kCXNy9OlJFM,1087
64
+ npcsh-1.0.22.data/data/npcsh/npc_team/sibiji.npc,sha256=Hb4wXKIObKKgibwnio5hLec9yd_9bKDCA87Nm2zijFA,216
65
+ npcsh-1.0.22.data/data/npcsh/npc_team/sibiji.png,sha256=1dlZb7J3E62FcVo9CVOzLb8nu1bIUV7cr97nsFocHCM,35615
66
+ npcsh-1.0.22.data/data/npcsh/npc_team/spool.png,sha256=LWTLkwDxXBfLuSUCX32_lo5yAmLYGsA67Xpsz-7MmWU,2876725
67
+ npcsh-1.0.22.data/data/npcsh/npc_team/yap.png,sha256=_l7UbWnXJdsy4Mx-x5l9DT0R6ize3HTnkwQQnOFlI18,1548649
68
+ npcsh-1.0.22.dist-info/licenses/LICENSE,sha256=IKBvAECHP-aCiJtE4cHGCE5Yl0tozYz02PomGeWS3y4,1070
69
+ npcsh-1.0.22.dist-info/METADATA,sha256=dKQ0T8Sk6pDDnCoA7050yu2Rh_Ik7peBZw7TM9SSudE,23898
70
+ npcsh-1.0.22.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
71
+ npcsh-1.0.22.dist-info/entry_points.txt,sha256=S5yIuGm8ZXQ4siHYgN5gs0J7bxgobSEULXf8L5HaW5o,206
72
+ npcsh-1.0.22.dist-info/top_level.txt,sha256=kHSNgKMCkfjV95-DH0YSp1LLBi0HXdF3w57j7MQON3E,6
73
+ npcsh-1.0.22.dist-info/RECORD,,
@@ -1,21 +0,0 @@
1
- npcsh/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
2
- npcsh/_state.py,sha256=VROSuNgTX2ex8erM1DbIl9_N3_c_bYlrctI0rVm38x4,90187
3
- npcsh/alicanto.py,sha256=-muGqd0O2m8xcFBctEavSEizWbQmzuPSdcT-3YqYBhY,45043
4
- npcsh/corca.py,sha256=2KoYoG1hwbUmMI2YlQ1RrrfkW5bXAYz2EIPRNMMTt1g,31569
5
- npcsh/guac.py,sha256=7DoRzEY4HrHGDzxehLJUBfM7C6rbNLP71Mnn28D6Ylo,65141
6
- npcsh/mcp_helpers.py,sha256=Ktd2yXuBnLL2P7OMalgGLj84PXJSzaucjqmJVvWx6HA,12723
7
- npcsh/mcp_server.py,sha256=htQBSN6y3g3zVCy2ADsdBuQT9PhqaOCSQG_RS9IinWI,5853
8
- npcsh/npc.py,sha256=elJ494nl_pv8iDrDvBFAlmFvBdci0_CZBjZwbOjVj0c,9113
9
- npcsh/npcsh.py,sha256=Z_Cz3mgEJeIiY91Z-c4YDKY2tlv23RngM4YK2Gqf3Vc,8283
10
- npcsh/plonk.py,sha256=7w7J2bht5QXOyV2UK045nAPDmrSrTGLX-sh56KQ3-k0,14653
11
- npcsh/pti.py,sha256=UciiiH2Kz4ERQFy0-FX6BQEU2VxYQEUril-_Cvj76Y0,7853
12
- npcsh/routes.py,sha256=BOa3w8xGKa4MqUv3BzIrbGiqU3bZ1YpWKyy55hB6A_0,46637
13
- npcsh/spool.py,sha256=r0-oXkrNDbxQ5ZNHr1vSJcdmVj3jdWbz7qYcEDoSrj8,10354
14
- npcsh/wander.py,sha256=BiN6eYyFnEsFzo8MFLRkdZ8xS9sTKkQpjiCcy9chMcc,23225
15
- npcsh/yap.py,sha256=ipkY3uMDw8gNrPSZ9qJFWVQ_fXtLmQ2oz_6_WZt2hew,21097
16
- npcsh-1.0.20.dist-info/licenses/LICENSE,sha256=IKBvAECHP-aCiJtE4cHGCE5Yl0tozYz02PomGeWS3y4,1070
17
- npcsh-1.0.20.dist-info/METADATA,sha256=_4ke-O2Z_LjE0pW0xnmX0Yu4t3OYK5xEPhzAej6S7Mo,23040
18
- npcsh-1.0.20.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
19
- npcsh-1.0.20.dist-info/entry_points.txt,sha256=S5yIuGm8ZXQ4siHYgN5gs0J7bxgobSEULXf8L5HaW5o,206
20
- npcsh-1.0.20.dist-info/top_level.txt,sha256=kHSNgKMCkfjV95-DH0YSp1LLBi0HXdF3w57j7MQON3E,6
21
- npcsh-1.0.20.dist-info/RECORD,,
File without changes