v0.1.13 - Expose cashu_wallet_mints_get in tool schema so configured mints can be queried

This commit is contained in:
Your Name
2026-03-21 06:41:12 -04:00
parent c18ddb8fea
commit 2d1b1dc0cf
3 changed files with 21 additions and 4 deletions
+2 -2
View File
@@ -55,11 +55,11 @@ Skills compose by adoption-list order (`10123`) and trigger tags carry runtime e
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.1.12
## Current Status — v0.1.13
**Active build — this project is barely working. Experiment at your own risk.**
> Last release update: v0.1.12 — Add /tool -h help shorthand and enrich core tool parameter descriptions
> Last release update: v0.1.13 — Expose cashu_wallet_mints_get in tool schema so configured mints can be queried
- Connects to configured relays with auto-reconnect and relay state transition logging
- Publishes configured startup events per relay as each relay becomes connected
+2 -2
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 1
#define DIDACTYL_VERSION_PATCH 12
#define DIDACTYL_VERSION "v0.1.12"
#define DIDACTYL_VERSION_PATCH 13
#define DIDACTYL_VERSION "v0.1.13"
// Agent metadata
#define DIDACTYL_NAME "Didactyl"
+17
View File
@@ -1891,6 +1891,23 @@ char* tools_build_openai_schema_json_legacy(const tools_context_t* ctx) {
cJSON_AddItemToObject(t61, "function", t61_fn);
cJSON_AddItemToArray(tools, t61);
cJSON* t62 = cJSON_CreateObject();
cJSON* t62_fn = cJSON_CreateObject();
cJSON* t62_params = cJSON_CreateObject();
cJSON* t62_props = cJSON_CreateObject();
cJSON* t62_required = cJSON_CreateArray();
cJSON_AddStringToObject(t62, "type", "function");
cJSON_AddStringToObject(t62_fn, "name", "cashu_wallet_mints_get");
cJSON_AddStringToObject(t62_fn, "description", "Get currently configured wallet and public mints");
cJSON_AddStringToObject(t62_params, "type", "object");
cJSON_AddItemToObject(t62_params, "properties", t62_props);
cJSON_AddItemToObject(t62_params, "required", t62_required);
cJSON_AddItemToObject(t62_fn, "parameters", t62_params);
cJSON_AddItemToObject(t62, "function", t62_fn);
cJSON_AddItemToArray(tools, t62);
char* out = cJSON_PrintUnformatted(tools);
cJSON_Delete(tools);
return out;