Skip to content

Commit fc3fb5e

Browse files
committed
build: refresh cachebuster-compatible snapshot
1 parent 17a60d5 commit fc3fb5e

3 files changed

Lines changed: 5 additions & 3 deletions

File tree

marketplace/.agents/plugins/provenance.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
22
"packageVersion": "0.1.0",
33
"pluginVersion": "0.1.0",
4-
"sourceRef": "fb27a7431272541c958972e58248d2309d072f3f",
5-
"sourceSha": "fb27a7431272541c958972e58248d2309d072f3f",
4+
"sourceRef": "17a60d543ae743fb6626517979641d5ae9508f25",
5+
"sourceSha": "17a60d543ae743fb6626517979641d5ae9508f25",
66
"dependencyLock": {
77
"file": "npm-shrinkwrap.json",
88
"sha256": "fa927194e6ca0b25c1d3f428859b2ab4798b8eabb4d31bc87188d73c630f9938"

marketplace/plugins/zcode/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ All notable changes follow Semantic Versioning.
55
## Unreleased
66

77
- Fixed `$zcode:setup` managed Role reconciliation with Codex 0.147 effective configuration, which normalizes an otherwise exact Role registration with `nickname_candidates = null`.
8+
- Fixed local cachebuster reinstallations so SemVer build metadata keeps the installed plugin's marketplace-qualified data root valid.
89
- Fixed installed `$zcode:*` skills failing with `DATA_ROOT_REQUIRED` when Codex does not inject `PLUGIN_DATA` into ordinary skill commands.
910
- Added marketplace-qualified plugin-data discovery and a restart-safe `$zcode:setup` bootstrap that configures the data directory as a writable root before persisting state.
1011
- Added ZCode CLI 0.16.1 compatibility for runtime-preference server requests with string IDs.

marketplace/plugins/zcode/scripts/lib/plugin-data.mjs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,8 @@ function installedIdentity(pluginRoot, codexHome) {
4343
const segments = relative(cache, canonical).split(sep);
4444
if (segments.length !== 3 || segments.some((segment) => !segment || segment === '.' || segment === '..' || hasControl(segment))) throw invalidRoot();
4545
const [marketplace, plugin, version] = segments;
46-
if (!/^[A-Za-z0-9_-]+$/.test(marketplace) || plugin !== 'zcode' || !/^[A-Za-z0-9._-]+$/.test(version)) throw invalidRoot();
46+
if (!/^[A-Za-z0-9_-]+$/.test(marketplace) || plugin !== 'zcode'
47+
|| !/^[A-Za-z0-9._-]+(?:\+[A-Za-z0-9._-]+)?$/.test(version)) throw invalidRoot();
4748
return { marketplace };
4849
}
4950

0 commit comments

Comments
 (0)