fix pacman pkg
All checks were successful
release / Release (push) Successful in 32s

This commit is contained in:
2026-02-28 15:25:54 +09:00
parent 756aa9825d
commit 69b933586f
10 changed files with 104 additions and 45 deletions

BIN
cfg/aios.gpg Normal file

Binary file not shown.

View File

@@ -1,17 +0,0 @@
{
"mcpServers": {
"aigpt": {
"command": "aigpt",
"args": ["server"],
"env": {}
},
"ailog": {
"command": "ailog",
"args": ["mcp"],
"env": {
"CHAT_SYSTEM_FILE": "/home/ai/.config/aigpt/core.md",
"CHAT_OUTPUT": "/home/ai/log/public/content"
}
}
}
}

View File

@@ -1,17 +0,0 @@
#!/bin/bash
set -e
ROOTFS="$1"
arch-chroot $ROOTFS /bin/sh -c 'rm -rf /tmp/gpt /tmp/log /tmp/shell'
arch-chroot $ROOTFS /bin/sh -c '
cd /tmp && git clone https://git.syui.ai/ai/gpt && cd /tmp/gpt && cargo build --release && cp target/release/aigpt /usr/local/bin/
'
arch-chroot $ROOTFS /bin/sh -c '
cd /tmp && git clone -b main https://git.syui.ai/ai/log && cd /tmp/log && cargo build --release && cp target/release/ailog /usr/local/bin/
'
arch-chroot $ROOTFS /bin/sh -c '
cd /tmp && git clone https://git.syui.ai/ai/shell && cd /tmp/shell && cargo build --release && cp target/release/aishell /usr/local/bin/
'
arch-chroot $ROOTFS /bin/sh -c 'rm -rf /tmp/gpt /tmp/log /tmp/shell'

View File

@@ -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,15 @@ bindkey '^[[B' history-substring-search-down
if [[ -o login ]] && [[ -o interactive ]] && command -v aishell &>/dev/null; then
exec aishell
fi
function setup() {
ailog setup
# --- login ---
# ailog oauth $handle
# ailog oauth $handle_bot --bot
# --- login ---
ailog gpt core -d
ailog gpt memory -d
aigpt setup
claude
}