Save registry_hash after publish for state tracking

- Add config_hash to publish API response
- Save registry_hash to local tool config after successful publish
- Show appropriate message based on moderation status (approved vs pending)

This enables the GUI to show publish state indicators (✓ published, ● modified)
for tools that have been published to the registry.

Co-Authored-By: Claude Opus 4.5 <[email protected]>
This commit is contained in:
rob
2026-01-16 07:12:20 -04:00
co-authored by Claude Opus 4.5
parent 96f7c05744
commit 4b1f3cee52
2 changed files with 22 additions and 5 deletions
+1
View File
@@ -1862,6 +1862,7 @@ def create_app() -> Flask:
"owner": owner,
"name": name,
"version": version,
"config_hash": config_hash,
"pr_url": "",
"status": moderation_status,
"visibility": visibility,