v0.0.70 - Add c_utils_lib category-based debug filtering with tests/docs and root API log tail shortcut script

This commit is contained in:
Your Name
2026-03-13 09:30:37 -04:00
parent 868ac46de2
commit f9cb6b19c2
5 changed files with 5233 additions and 5 deletions

View File

@@ -55,11 +55,11 @@ Skills support context modes (`inject`, `full`, `override`) and per-skill LLM fa
Didactyl will support local inference, which is very privacy preserving. Remote inference does however have it's advantages, and in those cases Didactyl supports using Bitcoin Lightning and eCash inference providers.
## Current Status — v0.0.69
## Current Status — v0.0.70
**Active build — this project is barely working. Experiment at your own risk.**
> Last release update: v0.0.69 — Add startup skill to publish core docs as longform notes and switch admin announcement DMs to NIP-04
> Last release update: v0.0.70 — Add c_utils_lib category-based debug filtering with tests/docs and root API log tail shortcut script
- Connects to configured relays with auto-reconnect and relay state transition logging
- Publishes configured startup events per relay as each relay becomes connected

File diff suppressed because it is too large Load Diff

View File

@@ -12,8 +12,8 @@
// Using DIDACTYL_ prefix to avoid conflicts with nostr_core_lib VERSION macros
#define DIDACTYL_VERSION_MAJOR 0
#define DIDACTYL_VERSION_MINOR 0
#define DIDACTYL_VERSION_PATCH 69
#define DIDACTYL_VERSION "v0.0.69"
#define DIDACTYL_VERSION_PATCH 70
#define DIDACTYL_VERSION "v0.0.70"
// Agent metadata
#define DIDACTYL_NAME "Didactyl"

View File

@@ -1 +1 @@
{"tasks":[],"next_id":9}
{"tasks":[{"id":9,"text":"Publish README.md as longform post","created_at":1773326251,"status":"done","updated_at":1773326287},{"id":10,"text":"Publish docs/CONTEXT.md as longform post","created_at":1773326251,"status":"done","updated_at":1773326310},{"id":11,"text":"Publish docs/TOOLS.md as longform post","created_at":1773326251,"status":"done","updated_at":1773326320},{"id":12,"text":"Publish docs/SUBSCRIPTIONS.md as longform post","created_at":1773326251,"status":"done","updated_at":1773327937},{"id":13,"text":"DM admin after each publish","created_at":1773326251,"status":"done","updated_at":1773327937},{"id":14,"text":"Return final summary","created_at":1773326251,"status":"done","updated_at":1773327937}],"next_id":15}

28
view_api_call_logs.sh Executable file
View File

@@ -0,0 +1,28 @@
#!/bin/bash
set -euo pipefail
LOG_FILE="${1:-}"
if [ -z "$LOG_FILE" ]; then
for candidate in "./didactyl.log" "./debug.log" "./context.log.md"; do
if [ -f "$candidate" ]; then
LOG_FILE="$candidate"
break
fi
done
fi
if [ -z "$LOG_FILE" ] || [ ! -f "$LOG_FILE" ]; then
echo "Log file not found." >&2
echo "Tried defaults: ./didactyl.log ./debug.log ./context.log.md" >&2
echo "Usage: $0 [path/to/logfile]" >&2
exit 1
fi
echo "Following API call logs from: $LOG_FILE"
echo "(Press Ctrl+C to stop)"
# Show request/response failure lines related to outbound LLM HTTP calls.
# These are emitted by Didactyl in src/llm.c via fprintf(stderr, ...).
tail -n 0 -F "$LOG_FILE" \
| stdbuf -oL grep -E --line-buffered "\\[didactyl\\] llm request:|\\[didactyl\\] llm http request failed:|\\[didactyl\\] llm error response:|\\[didactyl\\] llm partial response:|\\[didactyl\\] llm hint:"