@reqvire-org/ads 0.3.31 → 0.3.32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/mcp/apps.mjs +3 -1
- package/dist/mcp/mutations.mjs +2 -1
- package/dist/showcase/client.bundle.js +21 -21
- package/dist/showcase/index.html +1 -1
- package/dist/showcase/style.css +4 -0
- package/dist/units.mjs +7 -1
- package/dist/validation-inputs.mjs +11 -1
- package/docs/CHANGELOG.md +12 -0
- package/docs/GUIDE.md +2 -0
- package/package.json +1 -1
package/dist/mcp/apps.mjs
CHANGED
|
@@ -49,5 +49,7 @@ export function projectApp(options, app, build) {
|
|
|
49
49
|
}
|
|
50
50
|
|
|
51
51
|
export function appMetadata({ nested = false } = {}) {
|
|
52
|
-
|
|
52
|
+
// Project UI may itself contain an isolated widget. Keep those examples
|
|
53
|
+
// self-contained; external frame origins are still unavailable.
|
|
54
|
+
return { ui: { csp: { connectDomains: ["blob:"], resourceDomains: ["data:", "blob:"], frameDomains: [...(nested ? ["about:"] : []), "data:", "blob:"] } } };
|
|
53
55
|
}
|
package/dist/mcp/mutations.mjs
CHANGED
|
@@ -262,7 +262,8 @@ export function createMutationController(directory, { captures = createCaptureCo
|
|
|
262
262
|
const candidateOptions = loadConfig(candidate);
|
|
263
263
|
// A proposed configuration may add roots or explicit inputs. Preserve
|
|
264
264
|
// already patched files while bringing those additional live inputs in.
|
|
265
|
-
|
|
265
|
+
const proposedInputs = Object.keys(validationInputFiles(candidateOptions));
|
|
266
|
+
copyInputs({root,config:candidateOptions.config,dsRoot:path.resolve(root,candidateOptions.config.dsDir),sourceRoot:path.resolve(root,candidateOptions.config.sourceDir)},candidate,[...patchPaths,...proposedInputs],{baseline:copiedInputs,changed:new Set(changes.map(change=>change.path)),budget:copyBudget});
|
|
266
267
|
const inputPaths = [...new Set([...changes.map(change=>change.path),...Object.keys(validationInputFiles(candidateOptions))])];
|
|
267
268
|
const scopedInputs = () => {
|
|
268
269
|
const files = {};
|