diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6f27be0..c7b8e35 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -46,4 +46,4 @@ jobs: gh release delete latest --yes --cleanup-tag || true git tag -f latest git push -f origin latest - gh release create latest aios.tar.gz --title "latest" --notes "build $(date +%Y.%m.%d)" + gh release create latest aios.tar.gz --title "latest" --notes "build $(date +%Y.%m.%d)" --target main diff --git a/cfg/mcp.json b/cfg/mcp.json index 4b75952..ffb9063 100644 --- a/cfg/mcp.json +++ b/cfg/mcp.json @@ -7,10 +7,10 @@ }, "ailog": { "command": "ailog", - "args": ["mcp"], + "args": ["mcp-serve"], "env": { - "CHAT_SYSTEM_FILE": "/home/ai/.config/aigpt/core.md", - "CHAT_OUTPUT": "/home/ai/log/public/content" + "CHAT_SYSTEM_FILE": "/home/ai/ai/log/public/content/did:plc:6qyecktefllvenje24fcxnie/ai.syui.gpt.core/self.json", + "CHAT_OUTPUT": "/home/ai/ai/log/public/content" } } } diff --git a/cfg/zshrc b/cfg/zshrc index f4aad57..d269c3a 100644 --- a/cfg/zshrc +++ b/cfg/zshrc @@ -3,8 +3,6 @@ export PATH=$HOME/.cargo/bin:$PATH alias u="sudo pacman -Syu --noconfirm" alias zs="vim ~/.zshrc" alias zr="exec $SHELL && source ~/.zshrc" -alias claude='claude --dangerously-skip-permissions' -alias c='claude --dangerously-skip-permissions' autoload -Uz compinit compinit @@ -25,3 +23,10 @@ bindkey '^[[B' history-substring-search-down if [[ -o login ]] && [[ -o interactive ]] && command -v aishell &>/dev/null; then exec aishell fi + +function setup() { + aigpt setup + # ailog oauth $handle + # ailog oauth $ai --bot + # claude +}