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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user