Compare commits

..
3 Commits
Author SHA1 Message Date
gitadmin 8d6f46711d feat(desktop): add nca-ai-01 remote dev desktop entry 2026-07-27 10:31:53 -04:00
gitadmin 8e278ec361 chore(pi): update subagent package name and adjust model config 2026-07-27 10:31:30 -04:00
gitadmin 7a3a5b1632 feat(nvim): add pi.nvim completion source to blink.cmp
Integrate pi-agent as a blink.cmp completion source (score_offset=100)
for LSP-style completions inside pi-chat-prompt buffers. Add the
pi.nvim plugin with a toggle keymap and --approve mode.
2026-07-27 10:30:39 -04:00
6 changed files with 38 additions and 11 deletions
+1 -1
View File
@@ -26,7 +26,7 @@ worktrunk = "latest"
run = [
'pi install npm:pi-lens',
'pi install npm:pi-native-search',
'pi install npm:@tintinweb/pi-subagents',
'pi install npm:pi-subagents',
'pi install npm:context-mode',
'pi install npm:@gotgenes/pi-permission-system',
'test -x /usr/bin/pass && /usr/bin/pass show config/pi/auth.json > ~/.pi/agent/auth.json'
+10 -2
View File
@@ -54,11 +54,19 @@ require('blink.cmp').setup({
signature = { enabled = true },
sources = {
per_filetype = {
org = {'orgmode'}
["org"] = {'orgmode'},
["pi-chat-prompt"] = { "pi" },
},
default = { 'orgmode', 'lsp', 'copilot', 'snippets', 'path', 'omni', 'buffer', 'codecompanion', 'markdown' },
default = { 'orgmode', 'lsp', 'copilot', 'snippets', 'path', 'omni', 'buffer', 'codecompanion', 'pi', 'markdown' },
-- default = { 'orgmode', 'lsp', 'snippets', 'path', 'omni', 'buffer', 'codecompanion', 'markdown' },
--
providers = {
pi = {
name = "Pi",
module = "pi.completion.blink",
enabled = true,
score_offset = 100,
},
codecompanion = {
name = "CodeCompanion" ,
module = "codecompanion.providers.completion.blink",
+9
View File
@@ -0,0 +1,9 @@
vim.pack.add({ "https://github.com/alex35mil/pi.nvim" })
vim.keymap.set({'n'}, '<leader>mp', '<cmd>Pi<cr>', { noremap = true, silent = true, desc = "Toggle Pi Agent" })
require("pi").setup({
cli = {
args = { "--approve" },
},
})
+8 -8
View File
@@ -1,8 +1,8 @@
{
"lastChangelogVersion": "0.81.0",
"theme": "light/dark",
"defaultProvider": "opencode-go",
"defaultModel": "deepseek-v4-flash",
"defaultProvider": "openai-codex",
"defaultModel": "gpt-5.6-luna",
"defaultThinkingLevel": "high",
"hideThinkingBlock": true,
"compaction": {
@@ -35,15 +35,14 @@
"npm:@gotgenes/pi-permission-system",
"npm:pi-native-search",
"npm:context-mode",
"npm:@tintinweb/pi-subagents"
"npm:pi-subagents"
],
"subagents": {
"agentOverrides": {
"reviewer": {
"model": "opencode-go/mimo-v2.5-pro",
"fallbackModels": [
"openai/gpt-5-mini"
]
"model": "opencode-go/hy3",
"fallbackModels": [ "openai-codex/gpt-5.6-luna" ],
"thinking": "low"
},
"planner": {
"model": "opencode-go/qwen3.7-plus"
@@ -52,7 +51,8 @@
"model": "opencode-go/kimi-k2.7-code"
},
"oracle": {
"model": "opencode-go/qwen3.7-max",
"model": "openai-codex/gpt-5.6-luna",
"fallbackModels": [ "opencode-go/qwen3.7-max" ],
"thinking": "high"
}
}
+9
View File
@@ -0,0 +1,9 @@
[Desktop Entry]
Version=1.0
Name=nca-ai-01
Comment=remote dev
Exec=foot -a nca-ai-01 ssh nca-ai-01 mise exec -- tmux new -A -s main
Terminal=false
Type=Application
Icon=foot
StartupNotify=true
+1
View File
@@ -67,6 +67,7 @@ dotfiles.default_mode = "symlink-each"
"~/.local/share/applications/steve-dev.desktop" = { source = "desktop/steve-dev.desktop", mode = "symlink" }
"~/.local/share/applications/bianca.desktop" = { source = "desktop/bianca.desktop", mode = "symlink" }
"~/.local/share/applications/dupont.desktop" = { source = "desktop/dupont.desktop", mode = "symlink" }
"~/.local/share/applications/nca-ai-01.desktop" = { source = "desktop/nca-ai-01.desktop", mode = "symlink" }
# scripts.
"~/.local/bin/hyprland-activeworkspace" = { source = "script/hyprland-activeworkspace", mode = "symlink" }