fix(CLI Tool): #3591862 Add backward compatibility for codebase sync
Adds capability detection before updating the global asset library. When codebase sync is unsupported (asset library doesn't have packageJson and bundledSources fields), the CLI omits the new fields and sends a legacy-compatible payload to remain compatible with older Canvas versions.
AI-Generated: Yes (Used AI coding agent to implement the fix).