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 = [ run = [
'pi install npm:pi-lens', 'pi install npm:pi-lens',
'pi install npm:pi-native-search', '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:context-mode',
'pi install npm:@gotgenes/pi-permission-system', 'pi install npm:@gotgenes/pi-permission-system',
'test -x /usr/bin/pass && /usr/bin/pass show config/pi/auth.json > ~/.pi/agent/auth.json' '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 }, signature = { enabled = true },
sources = { sources = {
per_filetype = { 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' }, -- default = { 'orgmode', 'lsp', 'snippets', 'path', 'omni', 'buffer', 'codecompanion', 'markdown' },
--
providers = { providers = {
pi = {
name = "Pi",
module = "pi.completion.blink",
enabled = true,
score_offset = 100,
},
codecompanion = { codecompanion = {
name = "CodeCompanion" , name = "CodeCompanion" ,
module = "codecompanion.providers.completion.blink", 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", "lastChangelogVersion": "0.81.0",
"theme": "light/dark", "theme": "light/dark",
"defaultProvider": "opencode-go", "defaultProvider": "openai-codex",
"defaultModel": "deepseek-v4-flash", "defaultModel": "gpt-5.6-luna",
"defaultThinkingLevel": "high", "defaultThinkingLevel": "high",
"hideThinkingBlock": true, "hideThinkingBlock": true,
"compaction": { "compaction": {
@@ -35,15 +35,14 @@
"npm:@gotgenes/pi-permission-system", "npm:@gotgenes/pi-permission-system",
"npm:pi-native-search", "npm:pi-native-search",
"npm:context-mode", "npm:context-mode",
"npm:@tintinweb/pi-subagents" "npm:pi-subagents"
], ],
"subagents": { "subagents": {
"agentOverrides": { "agentOverrides": {
"reviewer": { "reviewer": {
"model": "opencode-go/mimo-v2.5-pro", "model": "opencode-go/hy3",
"fallbackModels": [ "fallbackModels": [ "openai-codex/gpt-5.6-luna" ],
"openai/gpt-5-mini" "thinking": "low"
]
}, },
"planner": { "planner": {
"model": "opencode-go/qwen3.7-plus" "model": "opencode-go/qwen3.7-plus"
@@ -52,7 +51,8 @@
"model": "opencode-go/kimi-k2.7-code" "model": "opencode-go/kimi-k2.7-code"
}, },
"oracle": { "oracle": {
"model": "opencode-go/qwen3.7-max", "model": "openai-codex/gpt-5.6-luna",
"fallbackModels": [ "opencode-go/qwen3.7-max" ],
"thinking": "high" "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/steve-dev.desktop" = { source = "desktop/steve-dev.desktop", mode = "symlink" }
"~/.local/share/applications/bianca.desktop" = { source = "desktop/bianca.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/dupont.desktop" = { source = "desktop/dupont.desktop", mode = "symlink" }
"~/.local/share/applications/nca-ai-01.desktop" = { source = "desktop/nca-ai-01.desktop", mode = "symlink" }
# scripts. # scripts.
"~/.local/bin/hyprland-activeworkspace" = { source = "script/hyprland-activeworkspace", mode = "symlink" } "~/.local/bin/hyprland-activeworkspace" = { source = "script/hyprland-activeworkspace", mode = "symlink" }