npcsh 1.1.15__py3-none-any.whl → 1.1.17__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.
- npcsh/_state.py +69 -12
- npcsh/benchmark/__init__.py +22 -0
- npcsh/benchmark/npcsh_agent.py +262 -0
- npcsh/benchmark/runner.py +569 -0
- npcsh/npc_team/jinxs/bin/benchmark.jinx +146 -0
- npcsh/npc_team/jinxs/bin/nql.jinx +7 -7
- npcsh/npc_team/jinxs/bin/roll.jinx +20 -23
- npcsh/npc_team/jinxs/bin/sample.jinx +6 -7
- npcsh/npc_team/jinxs/bin/spool.jinx +4 -4
- npcsh/npc_team/jinxs/bin/sync.jinx +6 -6
- npcsh/npc_team/jinxs/bin/vixynt.jinx +8 -8
- npcsh/npc_team/jinxs/bin/wander.jinx +109 -19
- npcsh/npc_team/jinxs/bin/yap.jinx +5 -5
- npcsh/npc_team/jinxs/incognide/add_tab.jinx +11 -0
- npcsh/npc_team/jinxs/incognide/close_pane.jinx +9 -0
- npcsh/npc_team/jinxs/incognide/close_tab.jinx +10 -0
- npcsh/npc_team/jinxs/incognide/confirm.jinx +10 -0
- npcsh/npc_team/jinxs/incognide/focus_pane.jinx +9 -0
- npcsh/npc_team/jinxs/{npc_studio/npc-studio.jinx → incognide/incognide.jinx} +2 -2
- npcsh/npc_team/jinxs/incognide/list_panes.jinx +8 -0
- npcsh/npc_team/jinxs/incognide/navigate.jinx +10 -0
- npcsh/npc_team/jinxs/incognide/notify.jinx +10 -0
- npcsh/npc_team/jinxs/incognide/open_pane.jinx +13 -0
- npcsh/npc_team/jinxs/incognide/read_pane.jinx +9 -0
- npcsh/npc_team/jinxs/incognide/run_terminal.jinx +10 -0
- npcsh/npc_team/jinxs/incognide/send_message.jinx +10 -0
- npcsh/npc_team/jinxs/incognide/split_pane.jinx +12 -0
- npcsh/npc_team/jinxs/incognide/switch_npc.jinx +10 -0
- npcsh/npc_team/jinxs/incognide/switch_tab.jinx +10 -0
- npcsh/npc_team/jinxs/incognide/write_file.jinx +11 -0
- npcsh/npc_team/jinxs/incognide/zen_mode.jinx +9 -0
- npcsh/npc_team/jinxs/lib/browser/browser_action.jinx +4 -4
- npcsh/npc_team/jinxs/lib/browser/browser_screenshot.jinx +1 -1
- npcsh/npc_team/jinxs/lib/browser/open_browser.jinx +2 -2
- npcsh/npc_team/jinxs/lib/computer_use/click.jinx +2 -2
- npcsh/npc_team/jinxs/lib/computer_use/key_press.jinx +1 -1
- npcsh/npc_team/jinxs/lib/computer_use/launch_app.jinx +1 -1
- npcsh/npc_team/jinxs/lib/computer_use/screenshot.jinx +1 -1
- npcsh/npc_team/jinxs/lib/computer_use/trigger.jinx +2 -2
- npcsh/npc_team/jinxs/lib/computer_use/type_text.jinx +1 -1
- npcsh/npc_team/jinxs/lib/computer_use/wait.jinx +1 -1
- npcsh/npc_team/jinxs/lib/core/chat.jinx +4 -4
- npcsh/npc_team/jinxs/lib/core/cmd.jinx +4 -4
- npcsh/npc_team/jinxs/lib/core/compress.jinx +8 -8
- npcsh/npc_team/jinxs/lib/core/edit_file.jinx +3 -0
- npcsh/npc_team/jinxs/lib/core/ots.jinx +7 -7
- npcsh/npc_team/jinxs/lib/core/search/db_search.jinx +44 -0
- npcsh/npc_team/jinxs/lib/core/search/file_search.jinx +94 -0
- npcsh/npc_team/jinxs/lib/core/search/kg_search.jinx +96 -0
- npcsh/npc_team/jinxs/lib/core/search/mem_search.jinx +80 -0
- npcsh/npc_team/jinxs/lib/core/search/web_search.jinx +51 -0
- npcsh/npc_team/jinxs/lib/core/search.jinx +52 -129
- npcsh/npc_team/jinxs/lib/core/sh.jinx +1 -1
- npcsh/npc_team/jinxs/lib/core/sleep.jinx +7 -7
- npcsh/npc_team/jinxs/lib/core/sql.jinx +7 -7
- npcsh/npc_team/jinxs/lib/orchestration/convene.jinx +7 -7
- npcsh/npc_team/jinxs/lib/orchestration/delegate.jinx +8 -9
- npcsh/npc_team/jinxs/lib/research/arxiv.jinx +2 -2
- npcsh/npc_team/jinxs/lib/research/paper_search.jinx +3 -3
- npcsh/npc_team/jinxs/lib/research/semantic_scholar.jinx +2 -2
- npcsh/npc_team/jinxs/lib/utils/build.jinx +5 -5
- npcsh/npc_team/jinxs/lib/utils/compile.jinx +2 -2
- npcsh/npc_team/jinxs/lib/utils/help.jinx +1 -1
- npcsh/npc_team/jinxs/lib/utils/init.jinx +5 -5
- npcsh/npc_team/jinxs/lib/utils/jinxs.jinx +1 -1
- npcsh/npc_team/jinxs/lib/utils/serve.jinx +2 -2
- npcsh/npc_team/jinxs/lib/utils/set.jinx +2 -2
- npcsh/npc_team/jinxs/lib/utils/switch.jinx +3 -3
- npcsh/npc_team/jinxs/lib/utils/switches.jinx +1 -1
- npcsh/npc_team/jinxs/lib/utils/teamviz.jinx +2 -2
- npcsh/npc_team/sibiji.npc +1 -1
- npcsh/npcsh.py +81 -43
- npcsh-1.1.17.data/data/npcsh/npc_team/add_tab.jinx +11 -0
- {npcsh-1.1.15.data → npcsh-1.1.17.data}/data/npcsh/npc_team/arxiv.jinx +2 -2
- npcsh-1.1.17.data/data/npcsh/npc_team/benchmark.jinx +146 -0
- {npcsh-1.1.15.data → npcsh-1.1.17.data}/data/npcsh/npc_team/browser_action.jinx +4 -4
- {npcsh-1.1.15.data → npcsh-1.1.17.data}/data/npcsh/npc_team/browser_screenshot.jinx +1 -1
- {npcsh-1.1.15.data → npcsh-1.1.17.data}/data/npcsh/npc_team/build.jinx +5 -5
- {npcsh-1.1.15.data → npcsh-1.1.17.data}/data/npcsh/npc_team/chat.jinx +4 -4
- {npcsh-1.1.15.data → npcsh-1.1.17.data}/data/npcsh/npc_team/click.jinx +2 -2
- npcsh-1.1.17.data/data/npcsh/npc_team/close_pane.jinx +9 -0
- npcsh-1.1.17.data/data/npcsh/npc_team/close_tab.jinx +10 -0
- {npcsh-1.1.15.data → npcsh-1.1.17.data}/data/npcsh/npc_team/cmd.jinx +4 -4
- {npcsh-1.1.15.data → npcsh-1.1.17.data}/data/npcsh/npc_team/compile.jinx +2 -2
- {npcsh-1.1.15.data → npcsh-1.1.17.data}/data/npcsh/npc_team/compress.jinx +8 -8
- npcsh-1.1.17.data/data/npcsh/npc_team/confirm.jinx +10 -0
- {npcsh-1.1.15.data → npcsh-1.1.17.data}/data/npcsh/npc_team/convene.jinx +7 -7
- npcsh-1.1.17.data/data/npcsh/npc_team/db_search.jinx +44 -0
- {npcsh-1.1.15.data → npcsh-1.1.17.data}/data/npcsh/npc_team/delegate.jinx +8 -9
- {npcsh-1.1.15.data → npcsh-1.1.17.data}/data/npcsh/npc_team/edit_file.jinx +3 -0
- npcsh-1.1.17.data/data/npcsh/npc_team/file_search.jinx +94 -0
- npcsh-1.1.17.data/data/npcsh/npc_team/focus_pane.jinx +9 -0
- {npcsh-1.1.15.data → npcsh-1.1.17.data}/data/npcsh/npc_team/help.jinx +1 -1
- npcsh-1.1.15.data/data/npcsh/npc_team/npc-studio.jinx → npcsh-1.1.17.data/data/npcsh/npc_team/incognide.jinx +2 -2
- {npcsh-1.1.15.data → npcsh-1.1.17.data}/data/npcsh/npc_team/init.jinx +5 -5
- {npcsh-1.1.15.data → npcsh-1.1.17.data}/data/npcsh/npc_team/jinxs.jinx +1 -1
- {npcsh-1.1.15.data → npcsh-1.1.17.data}/data/npcsh/npc_team/key_press.jinx +1 -1
- npcsh-1.1.17.data/data/npcsh/npc_team/kg_search.jinx +96 -0
- {npcsh-1.1.15.data → npcsh-1.1.17.data}/data/npcsh/npc_team/launch_app.jinx +1 -1
- npcsh-1.1.17.data/data/npcsh/npc_team/list_panes.jinx +8 -0
- npcsh-1.1.17.data/data/npcsh/npc_team/mem_search.jinx +80 -0
- npcsh-1.1.17.data/data/npcsh/npc_team/navigate.jinx +10 -0
- npcsh-1.1.17.data/data/npcsh/npc_team/notify.jinx +10 -0
- {npcsh-1.1.15.data → npcsh-1.1.17.data}/data/npcsh/npc_team/nql.jinx +7 -7
- {npcsh-1.1.15.data → npcsh-1.1.17.data}/data/npcsh/npc_team/open_browser.jinx +2 -2
- npcsh-1.1.17.data/data/npcsh/npc_team/open_pane.jinx +13 -0
- {npcsh-1.1.15.data → npcsh-1.1.17.data}/data/npcsh/npc_team/ots.jinx +7 -7
- {npcsh-1.1.15.data → npcsh-1.1.17.data}/data/npcsh/npc_team/paper_search.jinx +3 -3
- npcsh-1.1.17.data/data/npcsh/npc_team/read_pane.jinx +9 -0
- {npcsh-1.1.15.data → npcsh-1.1.17.data}/data/npcsh/npc_team/roll.jinx +20 -23
- npcsh-1.1.17.data/data/npcsh/npc_team/run_terminal.jinx +10 -0
- {npcsh-1.1.15.data → npcsh-1.1.17.data}/data/npcsh/npc_team/sample.jinx +6 -7
- {npcsh-1.1.15.data → npcsh-1.1.17.data}/data/npcsh/npc_team/screenshot.jinx +1 -1
- npcsh-1.1.17.data/data/npcsh/npc_team/search.jinx +54 -0
- {npcsh-1.1.15.data → npcsh-1.1.17.data}/data/npcsh/npc_team/semantic_scholar.jinx +2 -2
- npcsh-1.1.17.data/data/npcsh/npc_team/send_message.jinx +10 -0
- {npcsh-1.1.15.data → npcsh-1.1.17.data}/data/npcsh/npc_team/serve.jinx +2 -2
- {npcsh-1.1.15.data → npcsh-1.1.17.data}/data/npcsh/npc_team/set.jinx +2 -2
- {npcsh-1.1.15.data → npcsh-1.1.17.data}/data/npcsh/npc_team/sh.jinx +1 -1
- {npcsh-1.1.15.data → npcsh-1.1.17.data}/data/npcsh/npc_team/sibiji.npc +1 -1
- {npcsh-1.1.15.data → npcsh-1.1.17.data}/data/npcsh/npc_team/sleep.jinx +7 -7
- npcsh-1.1.17.data/data/npcsh/npc_team/split_pane.jinx +12 -0
- {npcsh-1.1.15.data → npcsh-1.1.17.data}/data/npcsh/npc_team/spool.jinx +4 -4
- npcsh-1.1.17.data/data/npcsh/npc_team/sql.jinx +16 -0
- {npcsh-1.1.15.data → npcsh-1.1.17.data}/data/npcsh/npc_team/switch.jinx +3 -3
- npcsh-1.1.17.data/data/npcsh/npc_team/switch_npc.jinx +10 -0
- npcsh-1.1.17.data/data/npcsh/npc_team/switch_tab.jinx +10 -0
- {npcsh-1.1.15.data → npcsh-1.1.17.data}/data/npcsh/npc_team/switches.jinx +1 -1
- {npcsh-1.1.15.data → npcsh-1.1.17.data}/data/npcsh/npc_team/sync.jinx +6 -6
- {npcsh-1.1.15.data → npcsh-1.1.17.data}/data/npcsh/npc_team/teamviz.jinx +2 -2
- {npcsh-1.1.15.data → npcsh-1.1.17.data}/data/npcsh/npc_team/trigger.jinx +2 -2
- {npcsh-1.1.15.data → npcsh-1.1.17.data}/data/npcsh/npc_team/type_text.jinx +1 -1
- {npcsh-1.1.15.data → npcsh-1.1.17.data}/data/npcsh/npc_team/vixynt.jinx +8 -8
- {npcsh-1.1.15.data → npcsh-1.1.17.data}/data/npcsh/npc_team/wait.jinx +1 -1
- npcsh-1.1.17.data/data/npcsh/npc_team/wander.jinx +242 -0
- npcsh-1.1.17.data/data/npcsh/npc_team/web_search.jinx +51 -0
- npcsh-1.1.17.data/data/npcsh/npc_team/write_file.jinx +11 -0
- {npcsh-1.1.15.data → npcsh-1.1.17.data}/data/npcsh/npc_team/yap.jinx +5 -5
- npcsh-1.1.17.data/data/npcsh/npc_team/zen_mode.jinx +9 -0
- {npcsh-1.1.15.dist-info → npcsh-1.1.17.dist-info}/METADATA +10 -7
- npcsh-1.1.17.dist-info/RECORD +219 -0
- {npcsh-1.1.15.dist-info → npcsh-1.1.17.dist-info}/entry_points.txt +2 -0
- npcsh-1.1.15.data/data/npcsh/npc_team/search.jinx +0 -131
- npcsh-1.1.15.data/data/npcsh/npc_team/sql.jinx +0 -16
- npcsh-1.1.15.data/data/npcsh/npc_team/wander.jinx +0 -152
- npcsh-1.1.15.dist-info/RECORD +0 -170
- {npcsh-1.1.15.data → npcsh-1.1.17.data}/data/npcsh/npc_team/alicanto.npc +0 -0
- {npcsh-1.1.15.data → npcsh-1.1.17.data}/data/npcsh/npc_team/alicanto.png +0 -0
- {npcsh-1.1.15.data → npcsh-1.1.17.data}/data/npcsh/npc_team/close_browser.jinx +0 -0
- {npcsh-1.1.15.data → npcsh-1.1.17.data}/data/npcsh/npc_team/corca.npc +0 -0
- {npcsh-1.1.15.data → npcsh-1.1.17.data}/data/npcsh/npc_team/corca.png +0 -0
- {npcsh-1.1.15.data → npcsh-1.1.17.data}/data/npcsh/npc_team/corca_example.png +0 -0
- {npcsh-1.1.15.data → npcsh-1.1.17.data}/data/npcsh/npc_team/frederic.npc +0 -0
- {npcsh-1.1.15.data → npcsh-1.1.17.data}/data/npcsh/npc_team/frederic4.png +0 -0
- {npcsh-1.1.15.data → npcsh-1.1.17.data}/data/npcsh/npc_team/guac.npc +0 -0
- {npcsh-1.1.15.data → npcsh-1.1.17.data}/data/npcsh/npc_team/guac.png +0 -0
- {npcsh-1.1.15.data → npcsh-1.1.17.data}/data/npcsh/npc_team/kadiefa.npc +0 -0
- {npcsh-1.1.15.data → npcsh-1.1.17.data}/data/npcsh/npc_team/kadiefa.png +0 -0
- {npcsh-1.1.15.data → npcsh-1.1.17.data}/data/npcsh/npc_team/load_file.jinx +0 -0
- {npcsh-1.1.15.data → npcsh-1.1.17.data}/data/npcsh/npc_team/npcsh.ctx +0 -0
- {npcsh-1.1.15.data → npcsh-1.1.17.data}/data/npcsh/npc_team/npcsh_sibiji.png +0 -0
- {npcsh-1.1.15.data → npcsh-1.1.17.data}/data/npcsh/npc_team/paste.jinx +0 -0
- {npcsh-1.1.15.data → npcsh-1.1.17.data}/data/npcsh/npc_team/plonk.npc +0 -0
- {npcsh-1.1.15.data → npcsh-1.1.17.data}/data/npcsh/npc_team/plonk.png +0 -0
- {npcsh-1.1.15.data → npcsh-1.1.17.data}/data/npcsh/npc_team/plonkjr.npc +0 -0
- {npcsh-1.1.15.data → npcsh-1.1.17.data}/data/npcsh/npc_team/plonkjr.png +0 -0
- {npcsh-1.1.15.data → npcsh-1.1.17.data}/data/npcsh/npc_team/python.jinx +0 -0
- {npcsh-1.1.15.data → npcsh-1.1.17.data}/data/npcsh/npc_team/shh.jinx +0 -0
- {npcsh-1.1.15.data → npcsh-1.1.17.data}/data/npcsh/npc_team/sibiji.png +0 -0
- {npcsh-1.1.15.data → npcsh-1.1.17.data}/data/npcsh/npc_team/spool.png +0 -0
- {npcsh-1.1.15.data → npcsh-1.1.17.data}/data/npcsh/npc_team/usage.jinx +0 -0
- {npcsh-1.1.15.data → npcsh-1.1.17.data}/data/npcsh/npc_team/verbose.jinx +0 -0
- {npcsh-1.1.15.data → npcsh-1.1.17.data}/data/npcsh/npc_team/yap.png +0 -0
- {npcsh-1.1.15.dist-info → npcsh-1.1.17.dist-info}/WHEEL +0 -0
- {npcsh-1.1.15.dist-info → npcsh-1.1.17.dist-info}/licenses/LICENSE +0 -0
- {npcsh-1.1.15.dist-info → npcsh-1.1.17.dist-info}/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: npcsh
|
|
3
|
-
Version: 1.1.
|
|
3
|
+
Version: 1.1.17
|
|
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
|
|
@@ -66,6 +66,9 @@ Requires-Dist: playsound==1.2.2; extra == "yap"
|
|
|
66
66
|
Requires-Dist: pygame; extra == "yap"
|
|
67
67
|
Requires-Dist: faster_whisper; extra == "yap"
|
|
68
68
|
Requires-Dist: pyttsx3; extra == "yap"
|
|
69
|
+
Provides-Extra: bench
|
|
70
|
+
Requires-Dist: harbor; extra == "bench"
|
|
71
|
+
Requires-Dist: terminal-bench; extra == "bench"
|
|
69
72
|
Provides-Extra: all
|
|
70
73
|
Requires-Dist: anthropic; extra == "all"
|
|
71
74
|
Requires-Dist: openai; extra == "all"
|
|
@@ -604,7 +607,7 @@ npc vixynt "a sunset over mountains"
|
|
|
604
607
|
| `/set` | Set config values. Usage: `/set model gemma3:4b`, `/set provider ollama` |
|
|
605
608
|
| `/help` | Show help. Usage: `/help` |
|
|
606
609
|
| `/jinxs` | List available jinxs. Usage: `/jinxs` |
|
|
607
|
-
| `/
|
|
610
|
+
| `/incognide` | Launch Incognide GUI. Usage: `/incognide` |
|
|
608
611
|
| `/trigger` | Set up system triggers. Usage: `/trigger 'description' -m gemma3:27b` |
|
|
609
612
|
|
|
610
613
|
## Common Command-Line Flags:
|
|
@@ -630,16 +633,16 @@ To see more about how to use the jinxs and modes in the NPC Shell, read the docs
|
|
|
630
633
|
## Inference Capabilities
|
|
631
634
|
- `npcsh` works with local and enterprise LLM providers through its LiteLLM integration, allowing users to run inference from Ollama, LMStudio, vLLM, MLX, OpenAI, Anthropic, Gemini, and Deepseek, making it a versatile tool for both simple commands and sophisticated AI-driven tasks.
|
|
632
635
|
|
|
633
|
-
##
|
|
634
|
-
|
|
636
|
+
## Incognide
|
|
637
|
+
Incognide is a desktop workspace environment for integrating LLMs into your workflows in an organized and seamless manner. See the source code for Incognide [here](https://github.com/npc-worldwide/incognide). Download the executables at [our website](https://enpisi.com/downloads). For the most up to date development version, you can use Incognide by invoking it in npcsh
|
|
635
638
|
|
|
636
639
|
```
|
|
637
|
-
/
|
|
640
|
+
/incognide
|
|
638
641
|
```
|
|
639
|
-
which will download and set up and serve the
|
|
642
|
+
which will download and set up and serve the Incognide application within your `~/.npcsh` folder. It requires `npm` and `node` to work, and of course npcpy !
|
|
640
643
|
|
|
641
644
|
## Mailing List and Community
|
|
642
|
-
Interested to stay in the loop and to hear the latest and greatest about `npcpy`, `npcsh`, and
|
|
645
|
+
Interested to stay in the loop and to hear the latest and greatest about `npcpy`, `npcsh`, and Incognide? Be sure to sign up for the [newsletter](https://forms.gle/n1NzQmwjsV4xv1B2A)!
|
|
643
646
|
|
|
644
647
|
[Join the discord to discuss ideas for npc tools](https://discord.gg/VvYVT5YC)
|
|
645
648
|
## Support
|
|
@@ -0,0 +1,219 @@
|
|
|
1
|
+
npcsh/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
2
|
+
npcsh/_state.py,sha256=uNoyFW1VOh3YRlPAdKapzmCPw-AgTKIeGHAaRXPj0Ec,151369
|
|
3
|
+
npcsh/alicanto.py,sha256=SXxpT525cOje1J60OMwpaEdWfyPVTEecl_dTVpOvUYQ,2415
|
|
4
|
+
npcsh/build.py,sha256=UuId0_rQml40A4U1KuvMekRyfB30s8HiLsXFJjqrBmM,7692
|
|
5
|
+
npcsh/completion.py,sha256=iX7JDBGC_Tiutr3Iux5zB6eHKu2bLsJfv9Klln0iUq8,5666
|
|
6
|
+
npcsh/config.py,sha256=1m5WNft9PbAlDCTMmnA_tI27UracAvME7MCC9udBvMg,5541
|
|
7
|
+
npcsh/corca.py,sha256=zZRcW_EDoVsz6Xhyos1dlOgk7oNF2-bJvHraLGLj8pc,1568
|
|
8
|
+
npcsh/execution.py,sha256=sgM6HwAfGnattdItKtNpzvQJhhDh5ro2mPfp2swFbys,5270
|
|
9
|
+
npcsh/guac.py,sha256=nU33ONVP4He0ak9kKP1sJLsoMBm0Zl8q0Zp7h17Ev1E,1342
|
|
10
|
+
npcsh/mcp_helpers.py,sha256=9TsCfcquGu_vX4WaKlY3J3P13-uxruQKrXng-jJ5YyY,11176
|
|
11
|
+
npcsh/mcp_server.py,sha256=O-cuk1XAqWqIpkEy2ESxQgMjsBfloMzRqecRz4wCk1I,8763
|
|
12
|
+
npcsh/npc.py,sha256=vyfoiUbZ_tziiE4Sx5fpLXZpirtXwzWgyiUWHqH-xsM,11623
|
|
13
|
+
npcsh/npcsh.py,sha256=jOnG_Blg_YXJOZgethMToMLH5eglfneMv-bIsWAUsoQ,18233
|
|
14
|
+
npcsh/parsing.py,sha256=eGATFUkDvHu5pVbh0RswhWEmGjcIsLaDwgxTtPbC9sk,2943
|
|
15
|
+
npcsh/plonk.py,sha256=34ORKsIFkIK9BK5nNM4KQRprA-RVXe1vLk_vHNK4wmI,1725
|
|
16
|
+
npcsh/pti.py,sha256=zTqE6bH4H_QOqJ4zQbC4-vT_dm7TE9iUIqTbIGb_bxY,1783
|
|
17
|
+
npcsh/routes.py,sha256=27rZUwiMK12WuFEDOxLL_F_F8GjmHlFBxKQRuvElrHI,4967
|
|
18
|
+
npcsh/spool.py,sha256=G0Sc_veJVKqoEdeOCTkBfAwFSHIMK5oAwYel1rr463A,1508
|
|
19
|
+
npcsh/ui.py,sha256=wnjFCDFkMslCgE2BwS3Ug1OBlI-Po87iQflJAinA7Fk,7295
|
|
20
|
+
npcsh/wander.py,sha256=CRQ8eCaIckJL21wLCXTjj5f0bnVmUEK_vHipFGKghGs,2288
|
|
21
|
+
npcsh/yap.py,sha256=jvGHHaFfPgQheLwWC_ORn63eGDPOq9vZCh-OBaSeu3A,1593
|
|
22
|
+
npcsh/benchmark/__init__.py,sha256=kv3JnyN6eGGPM-Lere16PwSGPiI_Udi10emaQIN-yIk,742
|
|
23
|
+
npcsh/benchmark/npcsh_agent.py,sha256=TpyJXLkHebwHaXxeZIgSAc-Wqz3qXMhqXFMlkjW0N8U,8683
|
|
24
|
+
npcsh/benchmark/runner.py,sha256=IkU-T2NN0ZfsraWtkdCbCp49mMqCkkNOavISm2wkSfI,18413
|
|
25
|
+
npcsh/npc_team/alicanto.npc,sha256=MjCeCKhC4OqKO0Rxa5U_SLEui7Lh8M2hXabcVfqEDhc,1455
|
|
26
|
+
npcsh/npc_team/alicanto.png,sha256=A7xeMbcoKGjlkELxJEVifCEZLVWbOKZarTN5ZFJG-FM,3519858
|
|
27
|
+
npcsh/npc_team/corca.npc,sha256=Iu9bRD_OFVYQVyn0PLB_Kp91qzcHiHyo7VwmkXz2S-0,1667
|
|
28
|
+
npcsh/npc_team/corca.png,sha256=0lF70hKu6tY-37YmIPVF2cuaPzvnQ4-UtQOzuAbKEf4,1666776
|
|
29
|
+
npcsh/npc_team/corca_example.png,sha256=p0lVTuwaps4-F-3k4wgp9d897YPyn6FGZugtXMUQjj8,28777
|
|
30
|
+
npcsh/npc_team/frederic.npc,sha256=1-TcFRWm5RsSnLoeZG_SN4JUU0Ynu6CzV-h6Wfasjto,1945
|
|
31
|
+
npcsh/npc_team/frederic4.png,sha256=ll8uoV0npnPp5HVJWv7h0xDSeuq4pqsk_gYGBHLS0VY,1590744
|
|
32
|
+
npcsh/npc_team/guac.npc,sha256=bOMEMXxvL4B-xdGqtq7hWf_gZpdMlo4OqER7c9iBsiM,797
|
|
33
|
+
npcsh/npc_team/guac.png,sha256=MCE7eJuEJwLJEzc9FS7lL62Mm-38jQRHkxXogPfOTuw,211470
|
|
34
|
+
npcsh/npc_team/kadiefa.npc,sha256=tg9YZ3dTlXS8CIEb544G5UYvGndPhgdlQoLWRV5j-JY,1758
|
|
35
|
+
npcsh/npc_team/kadiefa.png,sha256=3CAwL8crKIwJko6o75Z6OYYEEM9Rk--yGzCJg7zoszg,3062528
|
|
36
|
+
npcsh/npc_team/npcsh.ctx,sha256=-jKYaPm2YbZHAGgWAXhyPIwhiNe1H1ZRFg1Zc7tHSxk,1049
|
|
37
|
+
npcsh/npc_team/npcsh_sibiji.png,sha256=9fUqgYMsSHmaH-kBTBQ7N5UCS5-eLZF94Log0O3mtFg,4544
|
|
38
|
+
npcsh/npc_team/plonk.npc,sha256=z2fd5U0qaymiqHvkunQxCGQ1N2Mx6DMeErcltrJWrqw,1341
|
|
39
|
+
npcsh/npc_team/plonk.png,sha256=IU5ey-Dl4HEKlwnf75RSWNSHpF8rVqGmdbsa0deL4rQ,2727773
|
|
40
|
+
npcsh/npc_team/plonkjr.npc,sha256=umvWEigYLJBzzqSpF70lbf75612q8LxxGeYHT1Oq21Q,1568
|
|
41
|
+
npcsh/npc_team/plonkjr.png,sha256=MqLEGwsyECUeODZIti0HQQrMMVxA6XERpW01R06NbpY,2606710
|
|
42
|
+
npcsh/npc_team/sibiji.npc,sha256=iYv7KXULbyWLPWhFwM7sNbMT4RNHWMvl10bdzmJdRO4,1624
|
|
43
|
+
npcsh/npc_team/sibiji.png,sha256=1dlZb7J3E62FcVo9CVOzLb8nu1bIUV7cr97nsFocHCM,35615
|
|
44
|
+
npcsh/npc_team/spool.png,sha256=LWTLkwDxXBfLuSUCX32_lo5yAmLYGsA67Xpsz-7MmWU,2876725
|
|
45
|
+
npcsh/npc_team/yap.png,sha256=_l7UbWnXJdsy4Mx-x5l9DT0R6ize3HTnkwQQnOFlI18,1548649
|
|
46
|
+
npcsh/npc_team/jinxs/bin/benchmark.jinx,sha256=Bmo3jh8UHtUNueIjdmRcjk5jqvhxg6l78qYoPDOGLjY,6094
|
|
47
|
+
npcsh/npc_team/jinxs/bin/nql.jinx,sha256=Ekk0fnFf1USjWbtfFX0i9TE5v9ST4vhyhBTswl4AftU,5562
|
|
48
|
+
npcsh/npc_team/jinxs/bin/roll.jinx,sha256=Yp9Hg6_aMfQ1366-kKJ2gLjxXyAauoolRXtJva3KUOg,2172
|
|
49
|
+
npcsh/npc_team/jinxs/bin/sample.jinx,sha256=0q-Iw7KZEp6fkqjGSy_9onvtqhxmtjDG_v55uA4J7K0,1948
|
|
50
|
+
npcsh/npc_team/jinxs/bin/spool.jinx,sha256=mu2BD5vfGugyy3JHPlbQZNS7tm2AHu_gLb_m6Jh9gQE,6438
|
|
51
|
+
npcsh/npc_team/jinxs/bin/sync.jinx,sha256=YxNnn7L_dsH1AMeBrnm7S3Q99cOIvDqg_pNBteVlhAw,8261
|
|
52
|
+
npcsh/npc_team/jinxs/bin/vixynt.jinx,sha256=Zv56WANlzXcuT1PcaftkGcKnHr94PaA80WvN25O8pS8,4284
|
|
53
|
+
npcsh/npc_team/jinxs/bin/wander.jinx,sha256=kBHR61NNaquwMtzvkGlAg5jXvUmvGzIfNt7T7T1tBSg,10742
|
|
54
|
+
npcsh/npc_team/jinxs/bin/yap.jinx,sha256=VGYdKyJEqAd4tyAj2FRRNijZAovft7fB4XQQgEUMaL8,9586
|
|
55
|
+
npcsh/npc_team/jinxs/incognide/add_tab.jinx,sha256=yUS9t9haq-Zd02zuD_MvUuGHKX1AaLuWwRtVgqPpsno,233
|
|
56
|
+
npcsh/npc_team/jinxs/incognide/close_pane.jinx,sha256=GjygVyU0-2Wqzwo6H9QUoMXuqsk5Y9u83gGTHJwe8-8,271
|
|
57
|
+
npcsh/npc_team/jinxs/incognide/close_tab.jinx,sha256=gCcKBsNUPNKP5JMRcsVd5AZlNnwVtDy26sQBB72cxRc,234
|
|
58
|
+
npcsh/npc_team/jinxs/incognide/confirm.jinx,sha256=b0vOQ7CuIxwTHBibJohFQAM23y4923PmmvgHHIivgRE,257
|
|
59
|
+
npcsh/npc_team/jinxs/incognide/focus_pane.jinx,sha256=B43rr2brCiP5uX7-90piLeXE5wJkZalw4tINsFuGnZE,229
|
|
60
|
+
npcsh/npc_team/jinxs/incognide/incognide.jinx,sha256=0lSYUS7dVmfi4hGS0SiBg5LlAuNHE8qlrgU7QFNAmtQ,2231
|
|
61
|
+
npcsh/npc_team/jinxs/incognide/list_panes.jinx,sha256=k__AWJk030ub0COms-6maT1KoQXSmOmSy6wIgxw8Yys,262
|
|
62
|
+
npcsh/npc_team/jinxs/incognide/navigate.jinx,sha256=gGarwSCn0wg83PRyTf_0NC7yiDykDsExGpSn02nIZZI,240
|
|
63
|
+
npcsh/npc_team/jinxs/incognide/notify.jinx,sha256=4LqWwjGkjTzAZCRSY_WenLJ9Ks0NQpk4s3zCbnYhNNo,236
|
|
64
|
+
npcsh/npc_team/jinxs/incognide/open_pane.jinx,sha256=h9lzDoyAairUd6QDb7B9Fx9ukJeO55j7i1tgBJLbSR4,471
|
|
65
|
+
npcsh/npc_team/jinxs/incognide/read_pane.jinx,sha256=YAM7UTUVZCZIPfvEgb3OnpG9J9-9rLOSOgubtnxmsG8,326
|
|
66
|
+
npcsh/npc_team/jinxs/incognide/run_terminal.jinx,sha256=1wZJ8S5Qg6TSZ8W-dA44DLB77yy2gKjym9FEy5eRcrM,243
|
|
67
|
+
npcsh/npc_team/jinxs/incognide/send_message.jinx,sha256=o9fqnVSTGmU4QnT9TZoVIXjLdfz7dPK1oOav8zxi5ok,236
|
|
68
|
+
npcsh/npc_team/jinxs/incognide/split_pane.jinx,sha256=leYfKbeIksfALWr23LAQbCRijXshiSkoMMLNR1Gx5dg,290
|
|
69
|
+
npcsh/npc_team/jinxs/incognide/switch_npc.jinx,sha256=H4kq-DXcotJ4l-vvO8LbkCaung5XtoWZqJEgGRuUa60,241
|
|
70
|
+
npcsh/npc_team/jinxs/incognide/switch_tab.jinx,sha256=4Gd4CR40oxUX3JKCrPaFqIWRzv-TgSWzWzLAdBNPIxw,239
|
|
71
|
+
npcsh/npc_team/jinxs/incognide/write_file.jinx,sha256=E8AIpUN-I8PVv44S-_EF4ToTV0PbwYSZhn7DyaNRAd8,285
|
|
72
|
+
npcsh/npc_team/jinxs/incognide/zen_mode.jinx,sha256=BqPPUJ1PmeJxo76Ujr1p70oJWYbq56Jjv3VML-zqBq4,228
|
|
73
|
+
npcsh/npc_team/jinxs/lib/browser/browser_action.jinx,sha256=OtYK2rnpmjYPk2vZcD5J761XsXVuK6crV7NNGcMQzIg,9201
|
|
74
|
+
npcsh/npc_team/jinxs/lib/browser/browser_screenshot.jinx,sha256=rch0IHithrcFb-bLuMcnMAxsn65PKJVZEOhLyAgJc8k,1166
|
|
75
|
+
npcsh/npc_team/jinxs/lib/browser/close_browser.jinx,sha256=D0-sIQCTt3TEnUpr6SIWuhQOkJ6eyzhJnvYtYqbg1UM,322
|
|
76
|
+
npcsh/npc_team/jinxs/lib/browser/open_browser.jinx,sha256=AJ4ZysHzdNIghSpu2cTcbRvio1KwV4yzjnyAvAragr4,1656
|
|
77
|
+
npcsh/npc_team/jinxs/lib/computer_use/click.jinx,sha256=uNJ66ZjIQ-0XflzuK3yGqNd7ApommWPIVL2pURhaRjY,585
|
|
78
|
+
npcsh/npc_team/jinxs/lib/computer_use/key_press.jinx,sha256=PQWf0BsYDddwF3_bgdRJpH_pjUWlWtABDyiK_v26Dj0,832
|
|
79
|
+
npcsh/npc_team/jinxs/lib/computer_use/launch_app.jinx,sha256=G3KRSKgBbCPiF9WwrkPtNFK7Pb2xu0TFCY98YmMGD50,1187
|
|
80
|
+
npcsh/npc_team/jinxs/lib/computer_use/screenshot.jinx,sha256=jVU1u-MH_rW6haAHLO3FrikNgeEKAQpUY962pPM8epc,657
|
|
81
|
+
npcsh/npc_team/jinxs/lib/computer_use/trigger.jinx,sha256=VVCnkpYMicq85YA_XQewLvWBl3ctsfObRCwQH9wLCfc,2341
|
|
82
|
+
npcsh/npc_team/jinxs/lib/computer_use/type_text.jinx,sha256=JDCkm2bCV3gk08hrfu5pGYynpNoMLPZWGyfjz7fQhUo,720
|
|
83
|
+
npcsh/npc_team/jinxs/lib/computer_use/wait.jinx,sha256=Jx-HdmMD7p5vdsNG3FXiZyRpKoFRHsmylxH6TMNznac,494
|
|
84
|
+
npcsh/npc_team/jinxs/lib/core/chat.jinx,sha256=QXIh4OIbLKsZISNa0URFkczUFpzkKB2YDNfWPD1Stk4,1397
|
|
85
|
+
npcsh/npc_team/jinxs/lib/core/cmd.jinx,sha256=sdmhXlduW2CCer4gUb3xnGN3j85y8GcOA6uLknir6lQ,1398
|
|
86
|
+
npcsh/npc_team/jinxs/lib/core/compress.jinx,sha256=zFYcGyDb4KBhpE5E2EPZZ3c01pgKI5-CnlQOl7lxfn8,6563
|
|
87
|
+
npcsh/npc_team/jinxs/lib/core/edit_file.jinx,sha256=L31cjWFIlTU4PWOAoZTV1SaCT6qkuY_JIOsR9i5fa1U,3707
|
|
88
|
+
npcsh/npc_team/jinxs/lib/core/load_file.jinx,sha256=Dq2982ZJkbSrM75O8YgLeGRnHdWl0AfEIYkj9RkNMLg,1271
|
|
89
|
+
npcsh/npc_team/jinxs/lib/core/ots.jinx,sha256=1boaqSw1kb_Y5WJ28c22a3CiHkANzPIW9tTF9STs_Fg,2375
|
|
90
|
+
npcsh/npc_team/jinxs/lib/core/paste.jinx,sha256=bycgMzeYFHl3-TN4YYDyasbNe22hEgFGMOmYoMWFgWI,4957
|
|
91
|
+
npcsh/npc_team/jinxs/lib/core/python.jinx,sha256=lFJubdPVlGxSuUKCxsxjYG4_dnX2ATn8U9ChYKRmL5Q,389
|
|
92
|
+
npcsh/npc_team/jinxs/lib/core/search.jinx,sha256=ZdW4wK_jyCKAQv7h-WRe1tEtgHxr3AHqPdZ60jfRs_A,1236
|
|
93
|
+
npcsh/npc_team/jinxs/lib/core/sh.jinx,sha256=RzpvJ0f3tmmrl7W8mxKBaOFtjmKuEXQjhKYYF_EaeyQ,844
|
|
94
|
+
npcsh/npc_team/jinxs/lib/core/sleep.jinx,sha256=dvNJATqCHWytaBGQW77xQcAuqiwgNtSfctIRoAFnIu0,5014
|
|
95
|
+
npcsh/npc_team/jinxs/lib/core/sql.jinx,sha256=a53VU6OZm9exXbRW75lbofVx_I8Hp5obt6DPVzv16TM,553
|
|
96
|
+
npcsh/npc_team/jinxs/lib/core/search/db_search.jinx,sha256=0YYegdTw22qoGa8GYOEcixb4hGFOi3CK0HRwqWVQO0Q,1457
|
|
97
|
+
npcsh/npc_team/jinxs/lib/core/search/file_search.jinx,sha256=KAAGWYucHK7GRqwHZXBdwp1ddNJFTrz5aLJAcBOyNE4,4043
|
|
98
|
+
npcsh/npc_team/jinxs/lib/core/search/kg_search.jinx,sha256=JVepnIJ5nGMlq7Kyld1sIG5V1-aJikRewrUIlL9qkN0,3986
|
|
99
|
+
npcsh/npc_team/jinxs/lib/core/search/mem_search.jinx,sha256=q7HQWWCyqacm9rjER7Kx_lxELOG6oZPw8WFKbItNCzk,3349
|
|
100
|
+
npcsh/npc_team/jinxs/lib/core/search/web_search.jinx,sha256=jxlmSr21-rjhcwfgEH8F3QoZOZ-M_Hs84FFuqMTSKqc,1859
|
|
101
|
+
npcsh/npc_team/jinxs/lib/orchestration/convene.jinx,sha256=W4-eRFHXpJe7Bt-8uC79wWygj4KUv15DNnGMJA1gJXA,8828
|
|
102
|
+
npcsh/npc_team/jinxs/lib/orchestration/delegate.jinx,sha256=wsFBQfhcAT2o-hg05U_HGhHcJyDWjpdlRJc0g3iE40I,8017
|
|
103
|
+
npcsh/npc_team/jinxs/lib/research/arxiv.jinx,sha256=csMmhSxAEGCF35DEUsffLjF7p-LRW38F98ArsOzzFfw,2534
|
|
104
|
+
npcsh/npc_team/jinxs/lib/research/paper_search.jinx,sha256=9TCwdPAjN93-ldB3R3nZ8rKI9DCennYH_PEpRhwQ_cI,4198
|
|
105
|
+
npcsh/npc_team/jinxs/lib/research/semantic_scholar.jinx,sha256=tiJBrGQ6bQ-HRnOOG5d96shYZ9X7OAgZQ62icjhWpek,2526
|
|
106
|
+
npcsh/npc_team/jinxs/lib/utils/build.jinx,sha256=TOsNjTEGlg5aSoYX_hmzywj3W6hlGPUOq7okmCzzaRg,2555
|
|
107
|
+
npcsh/npc_team/jinxs/lib/utils/compile.jinx,sha256=LbkZE8ewBUngbI_mchMJylIwY9uCoFCe9KWs4HfMFpU,2393
|
|
108
|
+
npcsh/npc_team/jinxs/lib/utils/help.jinx,sha256=BESlgpCj02ZnLSMGpQJ8YpWMi_Z6eTo8wDet7K0M4I4,2089
|
|
109
|
+
npcsh/npc_team/jinxs/lib/utils/init.jinx,sha256=UPCtj_XKCC51MzuMAAKlWRwhCKfbB9T96P-8fvhquIQ,1315
|
|
110
|
+
npcsh/npc_team/jinxs/lib/utils/jinxs.jinx,sha256=HW4GAb3JKDh5v45vqI7GxsOhywzz-KRfhD9Kafe7Ol0,7227
|
|
111
|
+
npcsh/npc_team/jinxs/lib/utils/serve.jinx,sha256=EXp58rquPHZcJthrScc-NACrrQu2RzVHzPnfZAR_kcE,762
|
|
112
|
+
npcsh/npc_team/jinxs/lib/utils/set.jinx,sha256=FFY6JNVGkrKpHomXLuAiCv7mbwUGIyWh8zE_XMICHJY,1299
|
|
113
|
+
npcsh/npc_team/jinxs/lib/utils/shh.jinx,sha256=yD-_va97JHT1MAhUvoL8w86Li9cbwi8XbswVcTRxd4U,464
|
|
114
|
+
npcsh/npc_team/jinxs/lib/utils/switch.jinx,sha256=qsYMF_SWT12Z1KvWRT36kgUaUP_UOjpzA4v82IUIqF8,2022
|
|
115
|
+
npcsh/npc_team/jinxs/lib/utils/switches.jinx,sha256=UquqT6Kzn4FTquYJPr0hyoEcuZ6Ke9VMO5pT0bOeXEw,2177
|
|
116
|
+
npcsh/npc_team/jinxs/lib/utils/teamviz.jinx,sha256=WsWvIXbzJzm8S_7h0cgDqlRJIQ6NRzmAtVxmA6JskMc,7646
|
|
117
|
+
npcsh/npc_team/jinxs/lib/utils/usage.jinx,sha256=40zhs19l7-16KAXHzOa8hjv7hA32ORe0F7das0TTLXY,1052
|
|
118
|
+
npcsh/npc_team/jinxs/lib/utils/verbose.jinx,sha256=mFGLy2Azx1JXGhDOwVwd5EwJB9fxPQpk9BrP8kJ3RzE,473
|
|
119
|
+
npcsh-1.1.17.data/data/npcsh/npc_team/add_tab.jinx,sha256=yUS9t9haq-Zd02zuD_MvUuGHKX1AaLuWwRtVgqPpsno,233
|
|
120
|
+
npcsh-1.1.17.data/data/npcsh/npc_team/alicanto.npc,sha256=MjCeCKhC4OqKO0Rxa5U_SLEui7Lh8M2hXabcVfqEDhc,1455
|
|
121
|
+
npcsh-1.1.17.data/data/npcsh/npc_team/alicanto.png,sha256=A7xeMbcoKGjlkELxJEVifCEZLVWbOKZarTN5ZFJG-FM,3519858
|
|
122
|
+
npcsh-1.1.17.data/data/npcsh/npc_team/arxiv.jinx,sha256=csMmhSxAEGCF35DEUsffLjF7p-LRW38F98ArsOzzFfw,2534
|
|
123
|
+
npcsh-1.1.17.data/data/npcsh/npc_team/benchmark.jinx,sha256=Bmo3jh8UHtUNueIjdmRcjk5jqvhxg6l78qYoPDOGLjY,6094
|
|
124
|
+
npcsh-1.1.17.data/data/npcsh/npc_team/browser_action.jinx,sha256=OtYK2rnpmjYPk2vZcD5J761XsXVuK6crV7NNGcMQzIg,9201
|
|
125
|
+
npcsh-1.1.17.data/data/npcsh/npc_team/browser_screenshot.jinx,sha256=rch0IHithrcFb-bLuMcnMAxsn65PKJVZEOhLyAgJc8k,1166
|
|
126
|
+
npcsh-1.1.17.data/data/npcsh/npc_team/build.jinx,sha256=TOsNjTEGlg5aSoYX_hmzywj3W6hlGPUOq7okmCzzaRg,2555
|
|
127
|
+
npcsh-1.1.17.data/data/npcsh/npc_team/chat.jinx,sha256=QXIh4OIbLKsZISNa0URFkczUFpzkKB2YDNfWPD1Stk4,1397
|
|
128
|
+
npcsh-1.1.17.data/data/npcsh/npc_team/click.jinx,sha256=uNJ66ZjIQ-0XflzuK3yGqNd7ApommWPIVL2pURhaRjY,585
|
|
129
|
+
npcsh-1.1.17.data/data/npcsh/npc_team/close_browser.jinx,sha256=D0-sIQCTt3TEnUpr6SIWuhQOkJ6eyzhJnvYtYqbg1UM,322
|
|
130
|
+
npcsh-1.1.17.data/data/npcsh/npc_team/close_pane.jinx,sha256=GjygVyU0-2Wqzwo6H9QUoMXuqsk5Y9u83gGTHJwe8-8,271
|
|
131
|
+
npcsh-1.1.17.data/data/npcsh/npc_team/close_tab.jinx,sha256=gCcKBsNUPNKP5JMRcsVd5AZlNnwVtDy26sQBB72cxRc,234
|
|
132
|
+
npcsh-1.1.17.data/data/npcsh/npc_team/cmd.jinx,sha256=sdmhXlduW2CCer4gUb3xnGN3j85y8GcOA6uLknir6lQ,1398
|
|
133
|
+
npcsh-1.1.17.data/data/npcsh/npc_team/compile.jinx,sha256=LbkZE8ewBUngbI_mchMJylIwY9uCoFCe9KWs4HfMFpU,2393
|
|
134
|
+
npcsh-1.1.17.data/data/npcsh/npc_team/compress.jinx,sha256=zFYcGyDb4KBhpE5E2EPZZ3c01pgKI5-CnlQOl7lxfn8,6563
|
|
135
|
+
npcsh-1.1.17.data/data/npcsh/npc_team/confirm.jinx,sha256=b0vOQ7CuIxwTHBibJohFQAM23y4923PmmvgHHIivgRE,257
|
|
136
|
+
npcsh-1.1.17.data/data/npcsh/npc_team/convene.jinx,sha256=W4-eRFHXpJe7Bt-8uC79wWygj4KUv15DNnGMJA1gJXA,8828
|
|
137
|
+
npcsh-1.1.17.data/data/npcsh/npc_team/corca.npc,sha256=Iu9bRD_OFVYQVyn0PLB_Kp91qzcHiHyo7VwmkXz2S-0,1667
|
|
138
|
+
npcsh-1.1.17.data/data/npcsh/npc_team/corca.png,sha256=0lF70hKu6tY-37YmIPVF2cuaPzvnQ4-UtQOzuAbKEf4,1666776
|
|
139
|
+
npcsh-1.1.17.data/data/npcsh/npc_team/corca_example.png,sha256=p0lVTuwaps4-F-3k4wgp9d897YPyn6FGZugtXMUQjj8,28777
|
|
140
|
+
npcsh-1.1.17.data/data/npcsh/npc_team/db_search.jinx,sha256=0YYegdTw22qoGa8GYOEcixb4hGFOi3CK0HRwqWVQO0Q,1457
|
|
141
|
+
npcsh-1.1.17.data/data/npcsh/npc_team/delegate.jinx,sha256=wsFBQfhcAT2o-hg05U_HGhHcJyDWjpdlRJc0g3iE40I,8017
|
|
142
|
+
npcsh-1.1.17.data/data/npcsh/npc_team/edit_file.jinx,sha256=L31cjWFIlTU4PWOAoZTV1SaCT6qkuY_JIOsR9i5fa1U,3707
|
|
143
|
+
npcsh-1.1.17.data/data/npcsh/npc_team/file_search.jinx,sha256=KAAGWYucHK7GRqwHZXBdwp1ddNJFTrz5aLJAcBOyNE4,4043
|
|
144
|
+
npcsh-1.1.17.data/data/npcsh/npc_team/focus_pane.jinx,sha256=B43rr2brCiP5uX7-90piLeXE5wJkZalw4tINsFuGnZE,229
|
|
145
|
+
npcsh-1.1.17.data/data/npcsh/npc_team/frederic.npc,sha256=1-TcFRWm5RsSnLoeZG_SN4JUU0Ynu6CzV-h6Wfasjto,1945
|
|
146
|
+
npcsh-1.1.17.data/data/npcsh/npc_team/frederic4.png,sha256=ll8uoV0npnPp5HVJWv7h0xDSeuq4pqsk_gYGBHLS0VY,1590744
|
|
147
|
+
npcsh-1.1.17.data/data/npcsh/npc_team/guac.npc,sha256=bOMEMXxvL4B-xdGqtq7hWf_gZpdMlo4OqER7c9iBsiM,797
|
|
148
|
+
npcsh-1.1.17.data/data/npcsh/npc_team/guac.png,sha256=MCE7eJuEJwLJEzc9FS7lL62Mm-38jQRHkxXogPfOTuw,211470
|
|
149
|
+
npcsh-1.1.17.data/data/npcsh/npc_team/help.jinx,sha256=BESlgpCj02ZnLSMGpQJ8YpWMi_Z6eTo8wDet7K0M4I4,2089
|
|
150
|
+
npcsh-1.1.17.data/data/npcsh/npc_team/incognide.jinx,sha256=0lSYUS7dVmfi4hGS0SiBg5LlAuNHE8qlrgU7QFNAmtQ,2231
|
|
151
|
+
npcsh-1.1.17.data/data/npcsh/npc_team/init.jinx,sha256=UPCtj_XKCC51MzuMAAKlWRwhCKfbB9T96P-8fvhquIQ,1315
|
|
152
|
+
npcsh-1.1.17.data/data/npcsh/npc_team/jinxs.jinx,sha256=HW4GAb3JKDh5v45vqI7GxsOhywzz-KRfhD9Kafe7Ol0,7227
|
|
153
|
+
npcsh-1.1.17.data/data/npcsh/npc_team/kadiefa.npc,sha256=tg9YZ3dTlXS8CIEb544G5UYvGndPhgdlQoLWRV5j-JY,1758
|
|
154
|
+
npcsh-1.1.17.data/data/npcsh/npc_team/kadiefa.png,sha256=3CAwL8crKIwJko6o75Z6OYYEEM9Rk--yGzCJg7zoszg,3062528
|
|
155
|
+
npcsh-1.1.17.data/data/npcsh/npc_team/key_press.jinx,sha256=PQWf0BsYDddwF3_bgdRJpH_pjUWlWtABDyiK_v26Dj0,832
|
|
156
|
+
npcsh-1.1.17.data/data/npcsh/npc_team/kg_search.jinx,sha256=JVepnIJ5nGMlq7Kyld1sIG5V1-aJikRewrUIlL9qkN0,3986
|
|
157
|
+
npcsh-1.1.17.data/data/npcsh/npc_team/launch_app.jinx,sha256=G3KRSKgBbCPiF9WwrkPtNFK7Pb2xu0TFCY98YmMGD50,1187
|
|
158
|
+
npcsh-1.1.17.data/data/npcsh/npc_team/list_panes.jinx,sha256=k__AWJk030ub0COms-6maT1KoQXSmOmSy6wIgxw8Yys,262
|
|
159
|
+
npcsh-1.1.17.data/data/npcsh/npc_team/load_file.jinx,sha256=Dq2982ZJkbSrM75O8YgLeGRnHdWl0AfEIYkj9RkNMLg,1271
|
|
160
|
+
npcsh-1.1.17.data/data/npcsh/npc_team/mem_search.jinx,sha256=q7HQWWCyqacm9rjER7Kx_lxELOG6oZPw8WFKbItNCzk,3349
|
|
161
|
+
npcsh-1.1.17.data/data/npcsh/npc_team/navigate.jinx,sha256=gGarwSCn0wg83PRyTf_0NC7yiDykDsExGpSn02nIZZI,240
|
|
162
|
+
npcsh-1.1.17.data/data/npcsh/npc_team/notify.jinx,sha256=4LqWwjGkjTzAZCRSY_WenLJ9Ks0NQpk4s3zCbnYhNNo,236
|
|
163
|
+
npcsh-1.1.17.data/data/npcsh/npc_team/npcsh.ctx,sha256=-jKYaPm2YbZHAGgWAXhyPIwhiNe1H1ZRFg1Zc7tHSxk,1049
|
|
164
|
+
npcsh-1.1.17.data/data/npcsh/npc_team/npcsh_sibiji.png,sha256=9fUqgYMsSHmaH-kBTBQ7N5UCS5-eLZF94Log0O3mtFg,4544
|
|
165
|
+
npcsh-1.1.17.data/data/npcsh/npc_team/nql.jinx,sha256=Ekk0fnFf1USjWbtfFX0i9TE5v9ST4vhyhBTswl4AftU,5562
|
|
166
|
+
npcsh-1.1.17.data/data/npcsh/npc_team/open_browser.jinx,sha256=AJ4ZysHzdNIghSpu2cTcbRvio1KwV4yzjnyAvAragr4,1656
|
|
167
|
+
npcsh-1.1.17.data/data/npcsh/npc_team/open_pane.jinx,sha256=h9lzDoyAairUd6QDb7B9Fx9ukJeO55j7i1tgBJLbSR4,471
|
|
168
|
+
npcsh-1.1.17.data/data/npcsh/npc_team/ots.jinx,sha256=1boaqSw1kb_Y5WJ28c22a3CiHkANzPIW9tTF9STs_Fg,2375
|
|
169
|
+
npcsh-1.1.17.data/data/npcsh/npc_team/paper_search.jinx,sha256=9TCwdPAjN93-ldB3R3nZ8rKI9DCennYH_PEpRhwQ_cI,4198
|
|
170
|
+
npcsh-1.1.17.data/data/npcsh/npc_team/paste.jinx,sha256=bycgMzeYFHl3-TN4YYDyasbNe22hEgFGMOmYoMWFgWI,4957
|
|
171
|
+
npcsh-1.1.17.data/data/npcsh/npc_team/plonk.npc,sha256=z2fd5U0qaymiqHvkunQxCGQ1N2Mx6DMeErcltrJWrqw,1341
|
|
172
|
+
npcsh-1.1.17.data/data/npcsh/npc_team/plonk.png,sha256=IU5ey-Dl4HEKlwnf75RSWNSHpF8rVqGmdbsa0deL4rQ,2727773
|
|
173
|
+
npcsh-1.1.17.data/data/npcsh/npc_team/plonkjr.npc,sha256=umvWEigYLJBzzqSpF70lbf75612q8LxxGeYHT1Oq21Q,1568
|
|
174
|
+
npcsh-1.1.17.data/data/npcsh/npc_team/plonkjr.png,sha256=MqLEGwsyECUeODZIti0HQQrMMVxA6XERpW01R06NbpY,2606710
|
|
175
|
+
npcsh-1.1.17.data/data/npcsh/npc_team/python.jinx,sha256=lFJubdPVlGxSuUKCxsxjYG4_dnX2ATn8U9ChYKRmL5Q,389
|
|
176
|
+
npcsh-1.1.17.data/data/npcsh/npc_team/read_pane.jinx,sha256=YAM7UTUVZCZIPfvEgb3OnpG9J9-9rLOSOgubtnxmsG8,326
|
|
177
|
+
npcsh-1.1.17.data/data/npcsh/npc_team/roll.jinx,sha256=Yp9Hg6_aMfQ1366-kKJ2gLjxXyAauoolRXtJva3KUOg,2172
|
|
178
|
+
npcsh-1.1.17.data/data/npcsh/npc_team/run_terminal.jinx,sha256=1wZJ8S5Qg6TSZ8W-dA44DLB77yy2gKjym9FEy5eRcrM,243
|
|
179
|
+
npcsh-1.1.17.data/data/npcsh/npc_team/sample.jinx,sha256=0q-Iw7KZEp6fkqjGSy_9onvtqhxmtjDG_v55uA4J7K0,1948
|
|
180
|
+
npcsh-1.1.17.data/data/npcsh/npc_team/screenshot.jinx,sha256=jVU1u-MH_rW6haAHLO3FrikNgeEKAQpUY962pPM8epc,657
|
|
181
|
+
npcsh-1.1.17.data/data/npcsh/npc_team/search.jinx,sha256=ZdW4wK_jyCKAQv7h-WRe1tEtgHxr3AHqPdZ60jfRs_A,1236
|
|
182
|
+
npcsh-1.1.17.data/data/npcsh/npc_team/semantic_scholar.jinx,sha256=tiJBrGQ6bQ-HRnOOG5d96shYZ9X7OAgZQ62icjhWpek,2526
|
|
183
|
+
npcsh-1.1.17.data/data/npcsh/npc_team/send_message.jinx,sha256=o9fqnVSTGmU4QnT9TZoVIXjLdfz7dPK1oOav8zxi5ok,236
|
|
184
|
+
npcsh-1.1.17.data/data/npcsh/npc_team/serve.jinx,sha256=EXp58rquPHZcJthrScc-NACrrQu2RzVHzPnfZAR_kcE,762
|
|
185
|
+
npcsh-1.1.17.data/data/npcsh/npc_team/set.jinx,sha256=FFY6JNVGkrKpHomXLuAiCv7mbwUGIyWh8zE_XMICHJY,1299
|
|
186
|
+
npcsh-1.1.17.data/data/npcsh/npc_team/sh.jinx,sha256=RzpvJ0f3tmmrl7W8mxKBaOFtjmKuEXQjhKYYF_EaeyQ,844
|
|
187
|
+
npcsh-1.1.17.data/data/npcsh/npc_team/shh.jinx,sha256=yD-_va97JHT1MAhUvoL8w86Li9cbwi8XbswVcTRxd4U,464
|
|
188
|
+
npcsh-1.1.17.data/data/npcsh/npc_team/sibiji.npc,sha256=iYv7KXULbyWLPWhFwM7sNbMT4RNHWMvl10bdzmJdRO4,1624
|
|
189
|
+
npcsh-1.1.17.data/data/npcsh/npc_team/sibiji.png,sha256=1dlZb7J3E62FcVo9CVOzLb8nu1bIUV7cr97nsFocHCM,35615
|
|
190
|
+
npcsh-1.1.17.data/data/npcsh/npc_team/sleep.jinx,sha256=dvNJATqCHWytaBGQW77xQcAuqiwgNtSfctIRoAFnIu0,5014
|
|
191
|
+
npcsh-1.1.17.data/data/npcsh/npc_team/split_pane.jinx,sha256=leYfKbeIksfALWr23LAQbCRijXshiSkoMMLNR1Gx5dg,290
|
|
192
|
+
npcsh-1.1.17.data/data/npcsh/npc_team/spool.jinx,sha256=mu2BD5vfGugyy3JHPlbQZNS7tm2AHu_gLb_m6Jh9gQE,6438
|
|
193
|
+
npcsh-1.1.17.data/data/npcsh/npc_team/spool.png,sha256=LWTLkwDxXBfLuSUCX32_lo5yAmLYGsA67Xpsz-7MmWU,2876725
|
|
194
|
+
npcsh-1.1.17.data/data/npcsh/npc_team/sql.jinx,sha256=a53VU6OZm9exXbRW75lbofVx_I8Hp5obt6DPVzv16TM,553
|
|
195
|
+
npcsh-1.1.17.data/data/npcsh/npc_team/switch.jinx,sha256=qsYMF_SWT12Z1KvWRT36kgUaUP_UOjpzA4v82IUIqF8,2022
|
|
196
|
+
npcsh-1.1.17.data/data/npcsh/npc_team/switch_npc.jinx,sha256=H4kq-DXcotJ4l-vvO8LbkCaung5XtoWZqJEgGRuUa60,241
|
|
197
|
+
npcsh-1.1.17.data/data/npcsh/npc_team/switch_tab.jinx,sha256=4Gd4CR40oxUX3JKCrPaFqIWRzv-TgSWzWzLAdBNPIxw,239
|
|
198
|
+
npcsh-1.1.17.data/data/npcsh/npc_team/switches.jinx,sha256=UquqT6Kzn4FTquYJPr0hyoEcuZ6Ke9VMO5pT0bOeXEw,2177
|
|
199
|
+
npcsh-1.1.17.data/data/npcsh/npc_team/sync.jinx,sha256=YxNnn7L_dsH1AMeBrnm7S3Q99cOIvDqg_pNBteVlhAw,8261
|
|
200
|
+
npcsh-1.1.17.data/data/npcsh/npc_team/teamviz.jinx,sha256=WsWvIXbzJzm8S_7h0cgDqlRJIQ6NRzmAtVxmA6JskMc,7646
|
|
201
|
+
npcsh-1.1.17.data/data/npcsh/npc_team/trigger.jinx,sha256=VVCnkpYMicq85YA_XQewLvWBl3ctsfObRCwQH9wLCfc,2341
|
|
202
|
+
npcsh-1.1.17.data/data/npcsh/npc_team/type_text.jinx,sha256=JDCkm2bCV3gk08hrfu5pGYynpNoMLPZWGyfjz7fQhUo,720
|
|
203
|
+
npcsh-1.1.17.data/data/npcsh/npc_team/usage.jinx,sha256=40zhs19l7-16KAXHzOa8hjv7hA32ORe0F7das0TTLXY,1052
|
|
204
|
+
npcsh-1.1.17.data/data/npcsh/npc_team/verbose.jinx,sha256=mFGLy2Azx1JXGhDOwVwd5EwJB9fxPQpk9BrP8kJ3RzE,473
|
|
205
|
+
npcsh-1.1.17.data/data/npcsh/npc_team/vixynt.jinx,sha256=Zv56WANlzXcuT1PcaftkGcKnHr94PaA80WvN25O8pS8,4284
|
|
206
|
+
npcsh-1.1.17.data/data/npcsh/npc_team/wait.jinx,sha256=Jx-HdmMD7p5vdsNG3FXiZyRpKoFRHsmylxH6TMNznac,494
|
|
207
|
+
npcsh-1.1.17.data/data/npcsh/npc_team/wander.jinx,sha256=kBHR61NNaquwMtzvkGlAg5jXvUmvGzIfNt7T7T1tBSg,10742
|
|
208
|
+
npcsh-1.1.17.data/data/npcsh/npc_team/web_search.jinx,sha256=jxlmSr21-rjhcwfgEH8F3QoZOZ-M_Hs84FFuqMTSKqc,1859
|
|
209
|
+
npcsh-1.1.17.data/data/npcsh/npc_team/write_file.jinx,sha256=E8AIpUN-I8PVv44S-_EF4ToTV0PbwYSZhn7DyaNRAd8,285
|
|
210
|
+
npcsh-1.1.17.data/data/npcsh/npc_team/yap.jinx,sha256=VGYdKyJEqAd4tyAj2FRRNijZAovft7fB4XQQgEUMaL8,9586
|
|
211
|
+
npcsh-1.1.17.data/data/npcsh/npc_team/yap.png,sha256=_l7UbWnXJdsy4Mx-x5l9DT0R6ize3HTnkwQQnOFlI18,1548649
|
|
212
|
+
npcsh-1.1.17.data/data/npcsh/npc_team/zen_mode.jinx,sha256=BqPPUJ1PmeJxo76Ujr1p70oJWYbq56Jjv3VML-zqBq4,228
|
|
213
|
+
npcsh-1.1.17.dist-info/licenses/LICENSE,sha256=IKBvAECHP-aCiJtE4cHGCE5Yl0tozYz02PomGeWS3y4,1070
|
|
214
|
+
project/__init__.py,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
|
|
215
|
+
npcsh-1.1.17.dist-info/METADATA,sha256=aWyVC0G08j6kbUdi1Pursfp-RaDrCFxU_Hns2nF3MqU,37466
|
|
216
|
+
npcsh-1.1.17.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
217
|
+
npcsh-1.1.17.dist-info/entry_points.txt,sha256=0W1LTyNT61_LEK0y4v2gTx90H_WhyaU1F6P9odBlFJ0,569
|
|
218
|
+
npcsh-1.1.17.dist-info/top_level.txt,sha256=sbA6l0H-5EUmtoSA3SJTzrFzT_BmsFtf1FOUq8P8vL0,14
|
|
219
|
+
npcsh-1.1.17.dist-info/RECORD,,
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
[console_scripts]
|
|
2
2
|
alicanto = npcsh.npcsh:main
|
|
3
|
+
benchmark = npcsh.npc:jinx_main
|
|
3
4
|
corca = npcsh.npcsh:main
|
|
4
5
|
frederic = npcsh.npcsh:main
|
|
5
6
|
guac = npcsh.npcsh:main
|
|
6
7
|
kadiefa = npcsh.npcsh:main
|
|
7
8
|
npc = npcsh.npc:main
|
|
8
9
|
npcsh = npcsh.npcsh:main
|
|
10
|
+
npcsh-bench = npcsh.benchmark.runner:main
|
|
9
11
|
nql = npcsh.npc:jinx_main
|
|
10
12
|
plonk = npcsh.npcsh:main
|
|
11
13
|
plonkjr = npcsh.npcsh:main
|
|
@@ -1,131 +0,0 @@
|
|
|
1
|
-
jinx_name: "search"
|
|
2
|
-
description: >
|
|
3
|
-
Executes a search across various sources.
|
|
4
|
-
Usage:
|
|
5
|
-
/search <query> (Default: Web Search)
|
|
6
|
-
/search --memory <query> (Search approved memories)
|
|
7
|
-
/search --kg <query> (Search the knowledge graph)
|
|
8
|
-
/search --rag [-f <paths>] <query> (Execute a RAG search)
|
|
9
|
-
/search --brainblast <query> (Advanced history search)
|
|
10
|
-
inputs:
|
|
11
|
-
- query: ""
|
|
12
|
-
- sprovider: ""
|
|
13
|
-
- memory: false
|
|
14
|
-
- kg: false
|
|
15
|
-
- rag: false
|
|
16
|
-
- brainblast: false
|
|
17
|
-
- file_paths: ""
|
|
18
|
-
- history_db_path: "~/npcsh_history.db"
|
|
19
|
-
- vector_db_path: "~/npcsh_chroma.db"
|
|
20
|
-
- emodel: ""
|
|
21
|
-
- eprovider: ""
|
|
22
|
-
steps:
|
|
23
|
-
- name: "execute_unified_search"
|
|
24
|
-
engine: "python"
|
|
25
|
-
code: |
|
|
26
|
-
import os
|
|
27
|
-
import traceback
|
|
28
|
-
from npcpy.data.web import search_web
|
|
29
|
-
|
|
30
|
-
# Access query from context
|
|
31
|
-
query = context.get('query')
|
|
32
|
-
if not query or not query.strip():
|
|
33
|
-
context['output'] = "Usage: /search [--memory|--kg|--rag|--brainblast] <query>"
|
|
34
|
-
else:
|
|
35
|
-
# state is available as a GLOBAL variable (from extra_globals)
|
|
36
|
-
# Access it directly, not from context
|
|
37
|
-
try:
|
|
38
|
-
current_state = state # This should work now
|
|
39
|
-
except NameError:
|
|
40
|
-
context['output'] = "Error: Shell state not available in jinx context"
|
|
41
|
-
raise
|
|
42
|
-
|
|
43
|
-
current_npc = current_state.npc
|
|
44
|
-
current_team = current_state.team
|
|
45
|
-
|
|
46
|
-
npc_name = getattr(current_npc, 'name', '__none__') if current_npc else '__none__'
|
|
47
|
-
team_name = getattr(current_team, 'name', '__none__') if current_team else '__none__'
|
|
48
|
-
current_path = os.getcwd()
|
|
49
|
-
db_path = os.path.expanduser(context.get("history_db_path") or "~/.npcsh/npcsh_history.db")
|
|
50
|
-
|
|
51
|
-
try:
|
|
52
|
-
cmd_history = CommandHistory(db_path)
|
|
53
|
-
|
|
54
|
-
if context.get('memory'):
|
|
55
|
-
memories = get_relevant_memories(
|
|
56
|
-
command_history=cmd_history,
|
|
57
|
-
npc_name=npc_name,
|
|
58
|
-
team_name=team_name,
|
|
59
|
-
path=current_path,
|
|
60
|
-
query=query,
|
|
61
|
-
max_memories=10,
|
|
62
|
-
state=current_state # Pass the state object
|
|
63
|
-
)
|
|
64
|
-
print(memories)
|
|
65
|
-
|
|
66
|
-
if not memories:
|
|
67
|
-
output = f"No memories found for query: '{query}'"
|
|
68
|
-
else:
|
|
69
|
-
output = f"Found {len(memories)} memories:\n\n" + "\n".join(
|
|
70
|
-
f"{i}. [{mem.get('timestamp', 'unknown')}] {mem.get('final_memory') or mem.get('initial_memory')}"
|
|
71
|
-
for i, mem in enumerate(memories, 1)
|
|
72
|
-
)
|
|
73
|
-
|
|
74
|
-
elif context.get('kg'):
|
|
75
|
-
facts = search_kg_facts(
|
|
76
|
-
cmd_history,
|
|
77
|
-
npc_name,
|
|
78
|
-
team_name,
|
|
79
|
-
current_path,
|
|
80
|
-
query
|
|
81
|
-
)
|
|
82
|
-
print(facts)
|
|
83
|
-
|
|
84
|
-
if not facts:
|
|
85
|
-
output = f"No KG facts found for query: '{query}'"
|
|
86
|
-
else:
|
|
87
|
-
output = f"Found {len(facts)} KG facts:\n\n" + "\n".join(
|
|
88
|
-
f"{i}. {fact.get('statement')}" for i, fact in enumerate(facts, 1)
|
|
89
|
-
)
|
|
90
|
-
|
|
91
|
-
elif context.get('rag'):
|
|
92
|
-
file_paths_str = context.get('file_paths', '')
|
|
93
|
-
file_paths = [os.path.abspath(os.path.expanduser(p.strip())) for p in file_paths_str.split(',') if p.strip()]
|
|
94
|
-
emodel = context.get('emodel') or current_state.embedding_model
|
|
95
|
-
eprovider = context.get('eprovider') or current_state.embedding_provider
|
|
96
|
-
|
|
97
|
-
file_contents = []
|
|
98
|
-
for path in file_paths:
|
|
99
|
-
chunks = load_file_contents(path)
|
|
100
|
-
basename = os.path.basename(path)
|
|
101
|
-
file_contents.extend([f"{basename}: {chunk}" for chunk in chunks])
|
|
102
|
-
|
|
103
|
-
result = execute_rag_command(
|
|
104
|
-
command=query,
|
|
105
|
-
vector_db_path=os.path.expanduser(context.get('vector_db_path') or "~/.npcsh/npcsh_chroma.db"),
|
|
106
|
-
embedding_model=emodel,
|
|
107
|
-
embedding_provider=eprovider,
|
|
108
|
-
file_contents=file_contents or None
|
|
109
|
-
)
|
|
110
|
-
print(result)
|
|
111
|
-
output = result.get('response', 'No response from RAG.')
|
|
112
|
-
|
|
113
|
-
elif context.get('brainblast'):
|
|
114
|
-
result = execute_brainblast_command(
|
|
115
|
-
command=query,
|
|
116
|
-
command_history=cmd_history,
|
|
117
|
-
**context
|
|
118
|
-
)
|
|
119
|
-
print(result)
|
|
120
|
-
output = result.get('output', 'Brainblast search executed.')
|
|
121
|
-
|
|
122
|
-
else:
|
|
123
|
-
# Default to web search
|
|
124
|
-
provider = context.get('sprovider') or current_state.search_provider
|
|
125
|
-
results = search_web(query, provider=provider)
|
|
126
|
-
output = "\n".join([f"- {res}" for res in results]) if results else "No web results found."
|
|
127
|
-
|
|
128
|
-
except Exception as e:
|
|
129
|
-
output = f"An error occurred in the search jinx: {e}\n{traceback.format_exc()}"
|
|
130
|
-
|
|
131
|
-
context['output'] = output
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
jinx_name: sql
|
|
2
|
-
description: Execute queries on the ~/npcsh_history.db to pull data. The database
|
|
3
|
-
contains only information about conversations and other user-provided data. It does
|
|
4
|
-
not store any information about individual files. Avoid using percent signs unless absolutely necessary.
|
|
5
|
-
inputs:
|
|
6
|
-
- sql_query
|
|
7
|
-
steps:
|
|
8
|
-
- engine: python
|
|
9
|
-
code: |
|
|
10
|
-
import pandas as pd
|
|
11
|
-
query = {{ sql_query | tojson }}
|
|
12
|
-
try:
|
|
13
|
-
df = pd.read_sql_query(query, npc.db_conn)
|
|
14
|
-
except Exception as e:
|
|
15
|
-
df = pd.DataFrame({'Error': [str(e)]})
|
|
16
|
-
output = df.to_string()
|
|
@@ -1,152 +0,0 @@
|
|
|
1
|
-
jinx_name: wander
|
|
2
|
-
description: Creative daydreaming with probabilistic temperature shifts mid-stream
|
|
3
|
-
inputs:
|
|
4
|
-
- problem
|
|
5
|
-
steps:
|
|
6
|
-
- name: wander_explore
|
|
7
|
-
engine: python
|
|
8
|
-
code: |
|
|
9
|
-
import random
|
|
10
|
-
from termcolor import colored
|
|
11
|
-
from npcpy.llm_funcs import get_llm_response
|
|
12
|
-
|
|
13
|
-
problem = context.get('problem', '')
|
|
14
|
-
if not problem:
|
|
15
|
-
context['output'] = "Need a topic to wander about."
|
|
16
|
-
exit()
|
|
17
|
-
|
|
18
|
-
model = 'gpt-4.1-nano'
|
|
19
|
-
provider = 'openai'
|
|
20
|
-
low_temp = 0.5
|
|
21
|
-
high_temp = 1.9
|
|
22
|
-
sample_rate = 0.4
|
|
23
|
-
interrupt_prob = 0.02
|
|
24
|
-
|
|
25
|
-
print(f"""
|
|
26
|
-
██╗ ██╗ █████╗ ███╗ ██╗██████╗ ███████╗██████╗
|
|
27
|
-
██║ ██║██╔══██╗████╗ ██║██╔══██╗██╔════╝██╔══██╗
|
|
28
|
-
██║ █╗ ██║███████║██╔██╗ ██║██║ ██║█████╗ ██████╔╝
|
|
29
|
-
██║███╗██║██╔══██║██║╚██╗██║██║ ██║██╔══╝ ██╔══██╗
|
|
30
|
-
╚███╔███╔╝██║ ██║██║ ╚████║██████╔╝███████╗██║ ██║
|
|
31
|
-
╚══╝╚══╝ ╚═╝ ╚═╝╚═╝ ╚═══╝╚═════╝ ╚══════╝╚═╝ ╚═╝
|
|
32
|
-
|
|
33
|
-
Wandering: {problem}
|
|
34
|
-
""")
|
|
35
|
-
|
|
36
|
-
print(colored(f"--- Low temp stream ({low_temp}) ---", "cyan"))
|
|
37
|
-
|
|
38
|
-
low_prompt = f"Think about: {problem}"
|
|
39
|
-
resp = get_llm_response(low_prompt, model=model, provider=provider, temperature=low_temp, stream=True)
|
|
40
|
-
|
|
41
|
-
# Get the actual stream from the response
|
|
42
|
-
stream = resp.get('response') if isinstance(resp, dict) else resp
|
|
43
|
-
|
|
44
|
-
low_output = ""
|
|
45
|
-
interrupted = False
|
|
46
|
-
|
|
47
|
-
for chunk in stream:
|
|
48
|
-
if hasattr(chunk, 'choices') and chunk.choices:
|
|
49
|
-
delta = chunk.choices[0].delta
|
|
50
|
-
text = getattr(delta, 'content', '') or ''
|
|
51
|
-
elif isinstance(chunk, dict):
|
|
52
|
-
text = chunk.get('content', '') or chunk.get('response', '')
|
|
53
|
-
else:
|
|
54
|
-
text = ''
|
|
55
|
-
|
|
56
|
-
if text:
|
|
57
|
-
print(text, end='', flush=True)
|
|
58
|
-
low_output += text
|
|
59
|
-
|
|
60
|
-
if random.random() < interrupt_prob:
|
|
61
|
-
print(colored("\n[INTERRUPT]", "yellow"))
|
|
62
|
-
interrupted = True
|
|
63
|
-
break
|
|
64
|
-
|
|
65
|
-
print()
|
|
66
|
-
|
|
67
|
-
print(colored(f"\n--- High temp stream ({high_temp}) ---", "cyan"))
|
|
68
|
-
|
|
69
|
-
high_prompt = f"{low_output}\n\nContinue:"
|
|
70
|
-
resp = get_llm_response(high_prompt, model=model, provider=provider, temperature=high_temp, stream=True)
|
|
71
|
-
stream = resp.get('response') if isinstance(resp, dict) else resp
|
|
72
|
-
|
|
73
|
-
high_output = ""
|
|
74
|
-
for chunk in stream:
|
|
75
|
-
if hasattr(chunk, 'choices') and chunk.choices:
|
|
76
|
-
delta = chunk.choices[0].delta
|
|
77
|
-
text = getattr(delta, 'content', '') or ''
|
|
78
|
-
elif isinstance(chunk, dict):
|
|
79
|
-
text = chunk.get('content', '') or chunk.get('response', '')
|
|
80
|
-
else:
|
|
81
|
-
text = ''
|
|
82
|
-
|
|
83
|
-
if text:
|
|
84
|
-
print(text, end='', flush=True)
|
|
85
|
-
high_output += text
|
|
86
|
-
|
|
87
|
-
print()
|
|
88
|
-
|
|
89
|
-
lines = [l for l in high_output.split('\n') if l.strip()]
|
|
90
|
-
sample_size = max(1, int(len(lines) * sample_rate))
|
|
91
|
-
sampled = random.sample(lines, sample_size) if lines else [high_output]
|
|
92
|
-
|
|
93
|
-
print(colored("\n=== SAMPLED INSIGHTS ===", "yellow"))
|
|
94
|
-
fragments_text = chr(10).join(sampled)
|
|
95
|
-
print(fragments_text)
|
|
96
|
-
|
|
97
|
-
print(colored("\n=== SYNTHESIS ===", "green"))
|
|
98
|
-
|
|
99
|
-
synthesis_prompt = f"""You are a mad scientist oracle. The gibberish below contains hidden truths.
|
|
100
|
-
|
|
101
|
-
QUESTION: {problem}
|
|
102
|
-
|
|
103
|
-
CHAOS FRAGMENTS:
|
|
104
|
-
{fragments_text}
|
|
105
|
-
|
|
106
|
-
RULES:
|
|
107
|
-
1. You MUST use AT LEAST HALF of the fragments above - quote them directly
|
|
108
|
-
2. Make WILD CREATIVE LEAPS - not academic, not safe, not obvious
|
|
109
|
-
3. Find patterns in the noise like reading entrails or tea leaves
|
|
110
|
-
4. Foreign text, Unicode garbage, code snippets - ALL are omens with meaning
|
|
111
|
-
5. Puns, wordplay, phonetic similarities - all valid connections
|
|
112
|
-
6. The weirder the connection, the better
|
|
113
|
-
7. NO HEDGING. No "this suggests" or "perhaps". Be BOLD. Be CERTAIN.
|
|
114
|
-
|
|
115
|
-
OUTPUT 3 WILD HYPOTHESES:
|
|
116
|
-
For each: Quote the fragments you're using -> Make your creative leap -> State the bold claim
|
|
117
|
-
|
|
118
|
-
These must be ideas that COULD NOT exist without this specific chaos. Surprise us. Make us see {problem} in a way nobody has before."""
|
|
119
|
-
|
|
120
|
-
resp = get_llm_response(synthesis_prompt, model=model, provider=provider, temperature=0.5, stream=True)
|
|
121
|
-
stream = resp.get('response') if isinstance(resp, dict) else resp
|
|
122
|
-
|
|
123
|
-
synthesis = ""
|
|
124
|
-
for chunk in stream:
|
|
125
|
-
if hasattr(chunk, 'choices') and chunk.choices:
|
|
126
|
-
delta = chunk.choices[0].delta
|
|
127
|
-
text = getattr(delta, 'content', '') or ''
|
|
128
|
-
elif isinstance(chunk, dict):
|
|
129
|
-
text = chunk.get('content', '') or chunk.get('response', '')
|
|
130
|
-
else:
|
|
131
|
-
text = ''
|
|
132
|
-
|
|
133
|
-
if text:
|
|
134
|
-
print(text, end='', flush=True)
|
|
135
|
-
synthesis += text
|
|
136
|
-
|
|
137
|
-
print()
|
|
138
|
-
|
|
139
|
-
full_output = f"""Wandering: {problem}
|
|
140
|
-
|
|
141
|
-
--- Low temp stream ({low_temp}) ---
|
|
142
|
-
{low_output}
|
|
143
|
-
|
|
144
|
-
--- High temp stream ({high_temp}) ---
|
|
145
|
-
{high_output}
|
|
146
|
-
|
|
147
|
-
=== SAMPLED INSIGHTS ===
|
|
148
|
-
{fragments_text}
|
|
149
|
-
|
|
150
|
-
=== SYNTHESIS ===
|
|
151
|
-
{synthesis}"""
|
|
152
|
-
context['output'] = full_output
|