v0.2.35 - Remove top-level dm_protocol from genesis configs and set user-settings kind 30078 dm_protocol to both
This commit is contained in:
@@ -54,11 +54,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.
|
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.2.34
|
## Current Status — v0.2.35
|
||||||
|
|
||||||
**Active build — this project is barely working. Experiment at your own risk.**
|
**Active build — this project is barely working. Experiment at your own risk.**
|
||||||
|
|
||||||
> Last release update: v0.2.34 — Remove since filter from kind 1059 DM subscription to fix NIP-17 gift-wrap receive - randomized created_at on gift wraps was being filtered out by g_start_time
|
> Last release update: v0.2.35 — Remove top-level dm_protocol from genesis configs and set user-settings kind 30078 dm_protocol to both
|
||||||
|
|
||||||
- Connects to configured relays with auto-reconnect and relay state transition logging
|
- Connects to configured relays with auto-reconnect and relay state transition logging
|
||||||
- Publishes configured startup events per relay as each relay becomes connected
|
- Publishes configured startup events per relay as each relay becomes connected
|
||||||
|
|||||||
@@ -14,17 +14,13 @@
|
|||||||
"pubkey": "npub1REPLACE_WITH_ADMIN_PUBKEY"
|
"pubkey": "npub1REPLACE_WITH_ADMIN_PUBKEY"
|
||||||
},
|
},
|
||||||
|
|
||||||
// ─── DM Protocol ───────────────────────────────────────────────────
|
|
||||||
// Supported values: "nip04", "nip17", or "both".
|
|
||||||
"dm_protocol": "nip04",
|
|
||||||
|
|
||||||
// ─── Encrypted Startup Config Events ───────────────────────────────
|
// ─── Encrypted Startup Config Events ───────────────────────────────
|
||||||
// These are published as NIP-44 encrypted kind 30078 self-events on first run.
|
// These are published as NIP-44 encrypted kind 30078 self-events on first run.
|
||||||
"encrypted_events": [
|
"encrypted_events": [
|
||||||
{
|
{
|
||||||
"kind": 30078,
|
"kind": 30078,
|
||||||
"d_tag": "user-settings",
|
"d_tag": "user-settings",
|
||||||
"content": "{\"v\":2,\"updatedAt\":0,\"global_llm\":{\"provider\":\"openai\",\"api_key\":\"sk-REPLACE_WITH_API_KEY\",\"model\":\"gpt-4o-mini\",\"base_url\":\"https://api.openai.com/v1\",\"max_tokens\":512,\"temperature\":0.7},\"didactyl\":{\"admin_pubkey\":\"npub1REPLACE_WITH_ADMIN_PUBKEY\",\"dm_protocol\":\"nip04\",\"max_turns\":40}}"
|
"content": "{\"v\":2,\"updatedAt\":0,\"global_llm\":{\"provider\":\"openai\",\"api_key\":\"sk-REPLACE_WITH_API_KEY\",\"model\":\"gpt-4o-mini\",\"base_url\":\"https://api.openai.com/v1\",\"max_tokens\":512,\"temperature\":0.7},\"didactyl\":{\"admin_pubkey\":\"npub1REPLACE_WITH_ADMIN_PUBKEY\",\"dm_protocol\":\"both\",\"max_turns\":40}}"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
|
||||||
|
|||||||
@@ -11,10 +11,6 @@
|
|||||||
"pubkey": "npub1rmz9gu6de0m0u4ysrn39crrud099ahvfgs6pvasl4hpjr5ud7yus54xv06"
|
"pubkey": "npub1rmz9gu6de0m0u4ysrn39crrud099ahvfgs6pvasl4hpjr5ud7yus54xv06"
|
||||||
},
|
},
|
||||||
|
|
||||||
// ─── DM Protocol ──────────────────────────────────────────────────
|
|
||||||
// Supported values: "nip04", "nip17", or "both".
|
|
||||||
"dm_protocol": "nip04",
|
|
||||||
|
|
||||||
// ─── HTTP Admin API ───────────────────────────────────────────────
|
// ─── HTTP Admin API ───────────────────────────────────────────────
|
||||||
// Local API for model/context inspection and runtime controls.
|
// Local API for model/context inspection and runtime controls.
|
||||||
"api": {
|
"api": {
|
||||||
@@ -29,7 +25,7 @@
|
|||||||
{
|
{
|
||||||
"kind": 30078,
|
"kind": 30078,
|
||||||
"d_tag": "user-settings",
|
"d_tag": "user-settings",
|
||||||
"content": "{\"v\":2,\"updatedAt\":0,\"global_llm\":{\"provider\":\"ppq\",\"api_key\":\"sk-LshAWvFC0KOFgrUYiP6NmT\",\"model\":\"claude-opus-4.6\",\"base_url\":\"https://api.ppq.ai\",\"max_tokens\":200000,\"temperature\":0.7},\"didactyl\":{\"admin_pubkey\":\"npub1rmz9gu6de0m0u4ysrn39crrud099ahvfgs6pvasl4hpjr5ud7yus54xv06\",\"dm_protocol\":\"nip04\",\"max_turns\":40}}"
|
"content": "{\"v\":2,\"updatedAt\":0,\"global_llm\":{\"provider\":\"ppq\",\"api_key\":\"sk-LshAWvFC0KOFgrUYiP6NmT\",\"model\":\"claude-opus-4.6\",\"base_url\":\"https://api.ppq.ai\",\"max_tokens\":200000,\"temperature\":0.7},\"didactyl\":{\"admin_pubkey\":\"npub1rmz9gu6de0m0u4ysrn39crrud099ahvfgs6pvasl4hpjr5ud7yus54xv06\",\"dm_protocol\":\"both\",\"max_turns\":40}}"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
|
||||||
|
|||||||
@@ -9,9 +9,6 @@
|
|||||||
"admin": {
|
"admin": {
|
||||||
"pubkey": "npub1rmz9gu6de0m0u4ysrn39crrud099ahvfgs6pvasl4hpjr5ud7yus54xv06"
|
"pubkey": "npub1rmz9gu6de0m0u4ysrn39crrud099ahvfgs6pvasl4hpjr5ud7yus54xv06"
|
||||||
},
|
},
|
||||||
// ─── DM Protocol ──────────────────────────────────────────────────
|
|
||||||
// Supported values: "nip04", "nip17", or "both".
|
|
||||||
"dm_protocol": "nip04",
|
|
||||||
// ─── HTTP Admin API ───────────────────────────────────────────────
|
// ─── HTTP Admin API ───────────────────────────────────────────────
|
||||||
// Local API for model/context inspection and runtime controls.
|
// Local API for model/context inspection and runtime controls.
|
||||||
"api": {
|
"api": {
|
||||||
@@ -25,7 +22,7 @@
|
|||||||
{
|
{
|
||||||
"kind": 30078,
|
"kind": 30078,
|
||||||
"d_tag": "user-settings",
|
"d_tag": "user-settings",
|
||||||
"content": "{\"v\":2,\"updatedAt\":0,\"global_llm\":{\"provider\":\"ppq\",\"api_key\":\"sk-L9kd0LkZaoeaua0qqosnHy\",\"model\":\"claude-haiku-4.5\",\"base_url\":\"https://api.ppq.ai\",\"max_tokens\":512,\"temperature\":0.7},\"didactyl\":{\"admin_pubkey\":\"npub1rmz9gu6de0m0u4ysrn39crrud099ahvfgs6pvasl4hpjr5ud7yus54xv06\",\"dm_protocol\":\"nip04\",\"max_turns\":40}}"
|
"content": "{\"v\":2,\"updatedAt\":0,\"global_llm\":{\"provider\":\"ppq\",\"api_key\":\"sk-L9kd0LkZaoeaua0qqosnHy\",\"model\":\"claude-haiku-4.5\",\"base_url\":\"https://api.ppq.ai\",\"max_tokens\":512,\"temperature\":0.7},\"didactyl\":{\"admin_pubkey\":\"npub1rmz9gu6de0m0u4ysrn39crrud099ahvfgs6pvasl4hpjr5ud7yus54xv06\",\"dm_protocol\":\"both\",\"max_turns\":40}}"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
// ─── Startup Events ───────────────────────────────────────────────
|
// ─── Startup Events ───────────────────────────────────────────────
|
||||||
|
|||||||
@@ -12,8 +12,8 @@
|
|||||||
// Using DIDACTYL_ prefix to avoid conflicts with nostr_core_lib VERSION macros
|
// Using DIDACTYL_ prefix to avoid conflicts with nostr_core_lib VERSION macros
|
||||||
#define DIDACTYL_VERSION_MAJOR 0
|
#define DIDACTYL_VERSION_MAJOR 0
|
||||||
#define DIDACTYL_VERSION_MINOR 2
|
#define DIDACTYL_VERSION_MINOR 2
|
||||||
#define DIDACTYL_VERSION_PATCH 34
|
#define DIDACTYL_VERSION_PATCH 35
|
||||||
#define DIDACTYL_VERSION "v0.2.34"
|
#define DIDACTYL_VERSION "v0.2.35"
|
||||||
|
|
||||||
// Agent metadata
|
// Agent metadata
|
||||||
#define DIDACTYL_NAME "Didactyl"
|
#define DIDACTYL_NAME "Didactyl"
|
||||||
|
|||||||
@@ -7,7 +7,6 @@
|
|||||||
"admin": {
|
"admin": {
|
||||||
"pubkey": "npub1REPLACE_WITH_TEST_ADMIN_PUBKEY"
|
"pubkey": "npub1REPLACE_WITH_TEST_ADMIN_PUBKEY"
|
||||||
},
|
},
|
||||||
"dm_protocol": "nip04",
|
|
||||||
"llm": {
|
"llm": {
|
||||||
"provider": "https://api.ppq.ai",
|
"provider": "https://api.ppq.ai",
|
||||||
"api_key": "sk-SBI2Pga0J6n8jpPorHbRHC",
|
"api_key": "sk-SBI2Pga0J6n8jpPorHbRHC",
|
||||||
@@ -21,6 +20,13 @@
|
|||||||
"port": 8485,
|
"port": 8485,
|
||||||
"bind_address": "127.0.0.1"
|
"bind_address": "127.0.0.1"
|
||||||
},
|
},
|
||||||
|
"encrypted_events": [
|
||||||
|
{
|
||||||
|
"kind": 30078,
|
||||||
|
"d_tag": "user-settings",
|
||||||
|
"content": "{\"v\":2,\"updatedAt\":0,\"global_llm\":{\"provider\":\"https://api.ppq.ai\",\"api_key\":\"sk-SBI2Pga0J6n8jpPorHbRHC\",\"model\":\"claude-haiku-4.5\",\"base_url\":\"https://api.ppq.ai\",\"max_tokens\":10000,\"temperature\":0.7},\"didactyl\":{\"admin_pubkey\":\"npub1REPLACE_WITH_TEST_ADMIN_PUBKEY\",\"dm_protocol\":\"both\",\"max_turns\":40}}"
|
||||||
|
}
|
||||||
|
],
|
||||||
"startup_events": [
|
"startup_events": [
|
||||||
{
|
{
|
||||||
"kind": 0,
|
"kind": 0,
|
||||||
|
|||||||
@@ -8,7 +8,6 @@
|
|||||||
"admin": {
|
"admin": {
|
||||||
"pubkey": "npub1REPLACE_WITH_TEST_ADMIN_PUBKEY"
|
"pubkey": "npub1REPLACE_WITH_TEST_ADMIN_PUBKEY"
|
||||||
},
|
},
|
||||||
"dm_protocol": "nip04",
|
|
||||||
"llm": {
|
"llm": {
|
||||||
"provider": "openai",
|
"provider": "openai",
|
||||||
"api_key": "sk-REPLACE_WITH_API_KEY",
|
"api_key": "sk-REPLACE_WITH_API_KEY",
|
||||||
@@ -22,6 +21,13 @@
|
|||||||
"port": 8485,
|
"port": 8485,
|
||||||
"bind_address": "127.0.0.1"
|
"bind_address": "127.0.0.1"
|
||||||
},
|
},
|
||||||
|
"encrypted_events": [
|
||||||
|
{
|
||||||
|
"kind": 30078,
|
||||||
|
"d_tag": "user-settings",
|
||||||
|
"content": "{\"v\":2,\"updatedAt\":0,\"global_llm\":{\"provider\":\"openai\",\"api_key\":\"sk-REPLACE_WITH_API_KEY\",\"model\":\"claude-haiku-4.5\",\"base_url\":\"https://api.anthropic.com/v1\",\"max_tokens\":512,\"temperature\":0.3},\"didactyl\":{\"admin_pubkey\":\"npub1REPLACE_WITH_TEST_ADMIN_PUBKEY\",\"dm_protocol\":\"both\",\"max_turns\":40}}"
|
||||||
|
}
|
||||||
|
],
|
||||||
"startup_events": [
|
"startup_events": [
|
||||||
{
|
{
|
||||||
"kind": 0,
|
"kind": 0,
|
||||||
|
|||||||
Reference in New Issue
Block a user