@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 CHANGED
@@ -49,5 +49,7 @@ export function projectApp(options, app, build) {
49
49
  }
50
50
 
51
51
  export function appMetadata({ nested = false } = {}) {
52
- return { ui: { csp: { connectDomains: ["blob:"], resourceDomains: ["data:", "blob:"], ...(nested ? { frameDomains: ["about:"] } : {}) } } };
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
  }
@@ -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
- copyInputs({root,config:candidateOptions.config,dsRoot:path.resolve(root,candidateOptions.config.dsDir),sourceRoot:path.resolve(root,candidateOptions.config.sourceDir)},candidate,patchPaths,{baseline:copiedInputs,changed:new Set(changes.map(change=>change.path)),budget:copyBudget});
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 = {};