fix(daemon): propagate plugin ack payloads and route entries correctly
- CommandAck spreads the plugin payload so sessionId/results reach callers
- /sessions/:sid/entries relays workspace.query{kind:entries} (was session.entries)
- scripts/e2e: daemon -> headless nvim -> real pi prompt -> history, verified end-to-end
This commit is contained in:
1 parent
18e3e0ab4e
commit
2e5d6d5006
5 files changed
+152
-2
No files matched your search
@@ -0,0 +1,13 @@
|
||||
-- Init used by the pi2d end-to-end harness.
|
||||
-- Minimal, hermetic: only the plugin under test on the runtimepath, with the
|
||||
-- web console enabled and diagnostics enabled. Setting up the plugin here also
|
||||
-- makes `pi.host` skip its own `setup()` call.
|
||||
local plugin = vim.env.PI2_E2E_PLUGIN or "/home/yuez/Workspace/Neovim/pi2.nvim-web"
|
||||
vim.opt.runtimepath:prepend(plugin)
|
||||
vim.opt.swapfile = false
|
||||
vim.opt.shadafile = "NONE"
|
||||
vim.g.mapleader = " "
|
||||
|
||||
require("pi").setup({
|
||||
web = { enabled = true, log = true, auto_start = false },
|
||||
})
|
||||
Reference in new issue
Block a user