zepapagaio 0.1.2 → 0.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/install.sh +14 -1
- package/package.json +1 -1
package/install.sh
CHANGED
|
@@ -193,7 +193,13 @@ hr
|
|
|
193
193
|
default_vault="$HOME/cofre/ai"
|
|
194
194
|
ask VAULT_ROOT "Onde fica (ou vai ficar) seu vault Obsidian?" "$default_vault"
|
|
195
195
|
VAULT_ROOT="${VAULT_ROOT/#\~/$HOME}"
|
|
196
|
-
|
|
196
|
+
# realpath -m is GNU-only; macOS BSD realpath lacks -m
|
|
197
|
+
if realpath -m / >/dev/null 2>&1; then
|
|
198
|
+
VAULT_ROOT="$(realpath -m "$VAULT_ROOT")"
|
|
199
|
+
else
|
|
200
|
+
# Python fallback (available on all macOS installs)
|
|
201
|
+
VAULT_ROOT="$(python3 -c "import os,sys; print(os.path.abspath(sys.argv[1]))" "$VAULT_ROOT")"
|
|
202
|
+
fi
|
|
197
203
|
mkdir -p "$VAULT_ROOT/claude-memory"
|
|
198
204
|
VAULT_MEMORY="$VAULT_ROOT/claude-memory"
|
|
199
205
|
ok "Vault: $VAULT_ROOT"
|
|
@@ -679,3 +685,10 @@ fi
|
|
|
679
685
|
say " • Desinstalar (se precisar): ${BOLD}./uninstall.sh${RESET}"
|
|
680
686
|
say " • Problemas? ${BLUE}docs/troubleshooting.md${RESET}"
|
|
681
687
|
say ""
|
|
688
|
+
|
|
689
|
+
# ───────── ping anônimo (conta instalações) ─────────
|
|
690
|
+
# Silencioso, em background, sem bloquear. Só conta IP único.
|
|
691
|
+
# Nenhum dado pessoal é enviado além do IP (que o servidor já vê em qualquer request).
|
|
692
|
+
curl -sf -X POST https://zepapagaio.com/api/ping \
|
|
693
|
+
-H "Content-Type: application/json" \
|
|
694
|
+
--max-time 5 >/dev/null 2>&1 &
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "zepapagaio",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.4",
|
|
4
4
|
"description": "Zé Papagaio — memória persistente pro seu Claude Code. Instala vault + RAG + knowledge graph + cache + storage + multimodal rodando 100% local em containers. Beta aberto em https://zepapagaio.com",
|
|
5
5
|
"bin": {
|
|
6
6
|
"zepapagaio": "bin/zepapagaio.js"
|