hanzo-dev
7892358d5c
feat(local): detect Hanzo engine + Ollama + LM Studio; local-aware :AILogin
...
:AILogin lists detected local backends first; Enter uses the running local node
with NO login (cloud login optional, fails with a clean one-line message). Adds
Ollama (:11434) + LM Studio (:1234) probes alongside the Hanzo engine (:36900);
:AIStatus lists all detected backends + active route. 59 python tests pass.
2026-06-27 22:58:27 +00:00
hanzo-dev
6454595b0c
feat(auth): default :AILogin to Hanzo ID; menu order Hanzo/ChatGPT/Claude/API-key
...
Enter (no selection) defaults to Hanzo ID (hanzo.id device-code). Reordered the
:AILogin menu so Hanzo ID is first/default, then ChatGPT, Claude, API key, Cancel.
2026-06-27 21:44:07 +00:00
hanzo-dev
334a0941ce
feat(provider): local-first routing — native engine :36900 when up, cloud fallback
...
g:hanzo_route=auto probes the local Hanzo engine /health and routes :AI to its
OpenAI-compatible API directly (coherent, no auth) when running, else falls back
to the cloud gateway/account creds. Adds g:hanzo_local_url/g:hanzo_local_model;
:AIStatus shows the active route. Does not route through `dev` (agent harness
garbles small local models).
2026-06-27 21:32:14 +00:00
hanzo-dev
010133988b
feat(auth): unified :AILogin (Claude/ChatGPT/Hanzo/API-key) reusing the dev CLI + shared-store provider auth
...
:AILogin/:AILogout/:AIStatus delegate OAuth to the installed `dev` CLI
(dev login [--chatgpt] [--device-code] [--with-api-key]) and the provider
resolves creds in dev's order (env -> ~/.codex/auth.json -> ~/.hanzo/auth.json),
sending x-api-key for Anthropic and Bearer for OpenAI/Hanzo. Not vendor-locked;
:HanzoLogin kept as alias.
2026-06-27 20:49:14 +00:00
Zach Kelling
426f4df49e
Merge remote-tracking branch 'upstream/main'
...
# Conflicts:
# README.md
# autoload/neural/provider/hanzo.vim
# src/neural/provider/hanzo.py
2026-02-22 00:47:39 -08:00
Zach Kelling
b843f3ef57
Add Hanzo AI integration
...
- Add Hanzo AI source (Claude, GPT-4, Gemini, Ollama support)
- Add WebSocket bridge for MCP/ZAP AI agent control
- Add REPL integration via Jupyter kernels
- Add Neovim Lua module for enhanced UI
- Add comprehensive commands (Complete, Explain, Refactor, Fix, Tests, Docs, Review)
- Update README with Hanzo documentation
2026-01-22 18:29:14 -08:00
w0rp
fbb6d5de7a
Fix a broken line in the Neural buffer code
2025-07-22 14:13:16 +01:00
Andrew Wray and GitHub
f43fa673d9
Fully convert Neural to use providers ( #52 )
2025-07-12 15:51:50 +01:00
w0rp
456fdac126
Rename neural_sources to neural_providers
2025-03-31 21:20:57 +01:00
w0rp
c7548e39b8
Add a pre-processor for JSON
2025-03-31 21:05:29 +01:00
w0rp
f53af00071
Load the config before viewing a prompt
...
Lazy-load the Neural config before viewing a prompt, and update tests
to reset state better.
2024-06-02 14:07:49 +01:00
w0rp
db8b774692
Add a NeuralViewPrompt command
...
Add a command which prints the exact prompt that will be sent to virtual
assitants by Neural so you can more easily debug what Neural is going
to do.
2024-06-02 13:47:51 +01:00
Anexon and GitHub
b1ea6ef06c
Fix prompt UI ( #46 )
...
* Close #33 fix: default prompt border highlight
* docs: improve command formatting
* docs: Add highlights options
* Close #45 - fix: unmount nui prompt correctly
2024-01-03 22:47:35 +00:00
Anexon
e8295b4e4b
Fix: Simplify neural buffer completion key loading
2023-12-28 16:32:09 +00:00
Anexon
0cbcb93c0a
Close #31 - Feat: Add neural completion buffer
...
Add a buffer that invokes a neural completion for the entire buffer
contents.
* Tech: Split neural prompt and run and add line options
* Config: Add initialisation settings for neural buffer
* Config: Add completion trigger plug mapping for neural buffer
* Fix: prompt ui escape keys
* Test: Add filetype in test vimrc for neural buffer tests
2023-12-28 16:31:22 +00:00
w0rp
9f37d8ca3a
Add a Lua file
2023-11-19 10:41:18 +00:00
w0rp
186fced561
Add CSS prompt editing
2023-10-23 09:17:53 +01:00
w0rp
9cecb731fc
Close #38 - Default to gpt-3.5-turbo-instruct
...
Default OpenAI to gpt-3.5-turbo-instruct, which performs better and
returns decent results.
2023-09-22 01:21:05 +01:00
w0rp
6993da2ea8
Add :NeuralExplain
...
Add a new command for visual mode to explain the highlighted lines of
text. Explanations will be printed to a preview window.
2023-09-22 01:08:44 +01:00
w0rp
dc15c31470
Add basic prompt editing for Python
2023-09-21 17:04:18 +01:00
w0rp
07713e28f2
Close #28 - Implement model selection
...
Implement model selection for current sources. The models can be set
with 'model' keys for each source.
2023-09-19 22:02:12 +01:00
w0rp
f8b9a4d494
Add prompt editing for shell scripts
2023-09-17 16:51:08 +01:00
w0rp
1b5ac4e590
Edit prompts for Vim script
2023-09-16 23:51:33 +01:00
w0rp
05b59bccc8
Add prompt editing for C++
2023-09-05 21:08:49 +01:00
w0rp
284b46046a
Add prompt editing for CMake
2023-09-05 21:01:57 +01:00
w0rp
85417e4fb3
Close #26 - Add ability to stop Neural
...
Add a NeuralStop command and associated plug mapping to stop Neural.
Unless configured otherwise, Neural will now set <C-c> to stopping
Neural by default in normal mode, unless another mapping is already set
for that key combination.
2023-09-05 20:43:15 +01:00
w0rp
4cdd05a24d
Organise Neural code a little better
2023-09-05 19:41:38 +01:00
w0rp
7ba4b061ef
Write simple prompt pre-processing for SQL files
2023-08-18 16:52:36 +01:00
jiz4oh and GitHub
c70837e6fc
Fix undefined vim.g.neural.ui in lua ( #34 )
2023-03-23 17:10:12 +00:00
w0rp
cd82f3e5b6
Close #24 - Add context-aware prompting
...
Add initial context-aware prompt editing by writing simple scripts.
2023-03-17 00:37:28 +00:00
w0rp
dea5e26b84
Close #29 - Integrate with ChatGPT
...
Add basic ChatGPT integration which returns a message given a single
prompt. A chat buffer is forthcoming.
2023-03-12 23:09:18 +00:00
w0rp
6827fe5cbe
Add test coverage of the main script
2023-03-08 08:55:46 +00:00
w0rp
0166560f21
Fix #27 - Stop "Press Enter to Continue" on running Neural command
2023-02-24 07:19:07 +00:00
w0rp
6b249735de
Write results to buffers when we switch away
2023-02-24 07:09:19 +00:00
w0rp
8d822999b3
Find and execute Python on Windows automatically
2023-02-12 20:03:39 +00:00
w0rp
07df0e8cf7
Rename command and fix README
2023-02-12 19:40:57 +00:00
w0rp
48d4a95ddd
Stop Neural going haywire sometimes with augroup
2023-02-12 18:51:30 +00:00
w0rp
1a1d7b3764
Make echo configurable, and replace the neural job
2023-02-12 18:43:19 +00:00
Anexon
f9efa6ced6
Add top_p config and docs
2023-02-12 18:00:03 +00:00
Anexon
f90e906f15
Add openai penalty configs and docs
2023-02-12 17:27:42 +00:00
Anexon
1196e738a6
Update default config
2023-02-12 17:04:35 +00:00
w0rp
c6433fe595
Implement shared Vimscript and Lua configuration
2023-02-12 15:59:20 +00:00
w0rp
dd5a11408b
Bring the animated sign back
2023-02-08 02:58:39 +00:00
w0rp
12d2c08115
Bring the fancy Neovim prompt back
2023-02-08 02:31:49 +00:00
w0rp
aaa8c530fc
Add a basic test framework stolen from ALE
2023-02-07 18:50:08 +00:00
w0rp
f5c4434b5e
Add the autocmd command back again
2023-02-07 17:40:12 +00:00
w0rp
0cdc930662
Simplify datasources and make it hard to maliciously edit them
2023-02-07 17:27:01 +00:00
w0rp
943bdc89ab
Use Vimscript for Neural in Neovim and remove Lua for now
2023-02-07 16:12:35 +00:00
w0rp
5990a84210
Improve user experience regarding WTF Neural is doing
2023-02-06 16:30:12 +00:00
w0rp
47f2cf2668
Make Neural datasources configurable
2023-01-31 22:34:03 +00:00