mirror of
https://github.com/openai/codex.git
synced 2026-11-20 15:07:25 +00:00
Propagate remote plugin IDs to skill metadata (#35261)
## What changed - Carry a plugin's local and remote identities together from plugin loading into `SkillMetadata`. - Resolve remote IDs from the installed-plugin snapshot when available, falling back to persisted install metadata only when no snapshot exists. - Include plugin identity in skill cache keys so identity changes refresh cached skill metadata. ## Testing - Cover snapshot and persisted identity resolution, local marketplace isolation, cached skill refreshes, and propagation through plugin skill snapshots. GitOrigin-RevId: aabeeb631a43361fe817358ace7f1ea8ba5db708
This commit is contained in:
1 parent
32329b289d
commit
07fd04abb1
28 files changed
+550
-170
No files matched your search
@@ -115,7 +115,7 @@ impl SkillsWatcher {
|
||||
.await
|
||||
.into_iter()
|
||||
// Plugin roots are invalidated by plugin lifecycle operations.
|
||||
.filter(|root| root.plugin_id.is_none())
|
||||
.filter(|root| root.plugin_identity.is_none())
|
||||
.map(|root| WatchPath {
|
||||
path: root.path.into_path_buf(),
|
||||
recursive: true,
|
||||
|
||||
Reference in new issue
Block a user