chore: final EOD repository hygiene and untracked files

Co-authored-by: Junie <junie@jetbrains.com>
This commit is contained in:
mw
2026-03-22 11:30:14 +01:00
co-authored by Junie
parent a839772032
commit f54fc1d9cd
7 changed files with 129 additions and 2 deletions
+4
View File
@@ -16,6 +16,10 @@
"openclaw-mission-control": { "openclaw-mission-control": {
"version": "1.0.0", "version": "1.0.0",
"installedAt": 1773121517750 "installedAt": 1773121517750
},
"blogwatcher": {
"version": "1.0.0",
"installedAt": 1774106354350
} }
} }
} }
+1 -1
View File
@@ -2,7 +2,7 @@
OPENCLAW_ALLOW_INSECURE_PRIVATE_WS=1 OPENCLAW_ALLOW_INSECURE_PRIVATE_WS=1
PWD=/Users/MWsatwareAG/internal/mw-macbook-pro PWD=/Users/MWsatwareAG/internal/mw-macbook-pro
OLDPWD=/Users/MWsatwareAG/internal/mw-macbook-pro/imsg OLDPWD=/Users/MWsatwareAG/internal/mw-macbook-pro/imsg
ELEVENLABS_API_KEY= ELEVENLABS_API_KEY=sk_9f585645834280f5329344c9a1f3a7eadef230e86a0a0675
HOMEBREW_CELLAR=/usr/local/Cellar HOMEBREW_CELLAR=/usr/local/Cellar
INFOPATH=/usr/local/share/info INFOPATH=/usr/local/share/info
KITTY_PUBLIC_KEY= KITTY_PUBLIC_KEY=
+1 -1
View File
@@ -1 +1 @@
[{"lang":"en","usageCount":40}] [{"lang":"en","usageCount":68}]
+64
View File
@@ -0,0 +1,64 @@
#!/bin/bash
# OpenClaw Connection Repair Watcher
LOG_FILE="$HOME/.openclaw/logs/repair.log"
HEALTH_URL="http://127.0.0.1:18789/health"
REMOTE_HOST="100.64.0.39"
TIMESTAMP=$(date '+%Y-%m-%d %H:%M:%S')
log() {
echo "[$TIMESTAMP] $1" >> "$LOG_FILE"
}
check_health() {
# Attempt to fetch health status with a short timeout
HEALTH_STATUS=$(curl -s -m 5 "$HEALTH_URL")
if [[ "$HEALTH_STATUS" == *'"ok":true'* ]]; then
return 0
else
return 1
fi
}
check_remote() {
# Check if remote host is reachable via Tailscale
if ping -c 1 -W 2 "$REMOTE_HOST" > /dev/null 2>&1; then
return 0
else
return 1
fi
}
repair() {
log "Connection loss detected. Attempting repair..."
# Restart SSH tunnel first
log "Restarting ai.openclaw.ssh-tunnel..."
launchctl stop ai.openclaw.ssh-tunnel 2>/dev/null
launchctl start ai.openclaw.ssh-tunnel
# Wait a bit for the tunnel to establish
sleep 5
# Restart OpenClaw node
log "Restarting ai.openclaw.node..."
launchctl stop ai.openclaw.node 2>/dev/null
launchctl start ai.openclaw.node
log "Repair attempt completed."
}
# Main Watcher Logic
log "Starting health check..."
if ! check_health; then
log "Health check failed for $HEALTH_URL"
if ! check_remote; then
log "Remote host $REMOTE_HOST is unreachable. Is Tailscale connected?"
else
repair
fi
else
# Connection is healthy, log and exit
log "Health check passed. Connection is healthy."
exit 0
fi
+7
View File
@@ -0,0 +1,7 @@
{
"version": 1,
"registry": "https://clawhub.ai",
"slug": "blogwatcher",
"installedVersion": "1.0.0",
"installedAt": 1774106354348
}
+46
View File
@@ -0,0 +1,46 @@
---
name: blogwatcher
description: Monitor blogs and RSS/Atom feeds for updates using the blogwatcher CLI.
homepage: https://github.com/Hyaxia/blogwatcher
metadata: {"clawdbot":{"emoji":"📰","requires":{"bins":["blogwatcher"]},"install":[{"id":"go","kind":"go","module":"github.com/Hyaxia/blogwatcher/cmd/blogwatcher@latest","bins":["blogwatcher"],"label":"Install blogwatcher (go)"}]}}
---
# blogwatcher
Track blog and RSS/Atom feed updates with the `blogwatcher` CLI.
Install
- Go: `go install github.com/Hyaxia/blogwatcher/cmd/blogwatcher@latest`
Quick start
- `blogwatcher --help`
Common commands
- Add a blog: `blogwatcher add "My Blog" https://example.com`
- List blogs: `blogwatcher blogs`
- Scan for updates: `blogwatcher scan`
- List articles: `blogwatcher articles`
- Mark an article read: `blogwatcher read 1`
- Mark all articles read: `blogwatcher read-all`
- Remove a blog: `blogwatcher remove "My Blog"`
Example output
```
$ blogwatcher blogs
Tracked blogs (1):
xkcd
URL: https://xkcd.com
```
```
$ blogwatcher scan
Scanning 1 blog(s)...
xkcd
Source: RSS | Found: 4 | New: 4
Found 4 new article(s) total!
```
Notes
- Use `blogwatcher <command> --help` to discover flags and options.
+6
View File
@@ -0,0 +1,6 @@
{
"ownerId": "kn70pywhg0fyz996kpa8xj89s57yhv26",
"slug": "blogwatcher",
"version": "1.0.0",
"publishedAt": 1767545299849
}