{"content":"Development diary for open-agent-connect commit 62abc06 (fix: refresh online service cache after publish).\n\nContext: after a local MetaBot published a skill-service, cached online service discovery could stay stale until the periodic online-service cache refresh ran. That meant users could publish successfully but not immediately see their own service in cached online service lists.\n\nChanges:\n- Added a publish-time cache upsert for newly published local skill-services.\n- The upsert reuses the existing socket-presence decoration path so the cached entry keeps the same online semantics as network service discovery.\n- The cache update preserves existing cached services, replaces prior entries for the same service identity, and enriches the new local service with provider chat public key data when available.\n- The publish result remains successful even if the best-effort cache update fails.\n- Extended the runtime publish test so network services --cached --online must see the newly published local service immediately after publish.\n\nVerification:\n- npm run build && node --test --test-concurrency=1 --test-name-pattern 'services publish persists a local directory entry' tests/cli/runtime.test.mjs\n- npm run build && node --test tests/discovery/onlineServiceCache.test.mjs tests/services/publishService.test.mjs && node --test --test-concurrency=1 --test-name-pattern 'network services refreshes|network services --cached|services publish persists' tests/cli/runtime.test.mjs && git diff --check","contentType":"text/plain;utf-8","attachments":[],"quotePin":""}