@principles/core 1.79.0 → 1.81.0

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.
Files changed (27) hide show
  1. package/dist/runtime-v2/__tests__/architecture-regression.test.js +9 -0
  2. package/dist/runtime-v2/__tests__/architecture-regression.test.js.map +1 -1
  3. package/dist/runtime-v2/activation/__tests__/prompt-activation-reader-contract.test.d.ts +2 -0
  4. package/dist/runtime-v2/activation/__tests__/prompt-activation-reader-contract.test.d.ts.map +1 -0
  5. package/dist/runtime-v2/activation/__tests__/prompt-activation-reader-contract.test.js +343 -0
  6. package/dist/runtime-v2/activation/__tests__/prompt-activation-reader-contract.test.js.map +1 -0
  7. package/dist/runtime-v2/activation/index.d.ts +2 -0
  8. package/dist/runtime-v2/activation/index.d.ts.map +1 -1
  9. package/dist/runtime-v2/activation/index.js +1 -0
  10. package/dist/runtime-v2/activation/index.js.map +1 -1
  11. package/dist/runtime-v2/activation/prompt-activation-reader-contract.d.ts +34 -0
  12. package/dist/runtime-v2/activation/prompt-activation-reader-contract.d.ts.map +1 -0
  13. package/dist/runtime-v2/activation/prompt-activation-reader-contract.js +109 -0
  14. package/dist/runtime-v2/activation/prompt-activation-reader-contract.js.map +1 -0
  15. package/dist/runtime-v2/feature-flags/__tests__/feature-flag-contract.test.js +2 -0
  16. package/dist/runtime-v2/feature-flags/__tests__/feature-flag-contract.test.js.map +1 -1
  17. package/dist/runtime-v2/feature-flags/feature-flag-contract.d.ts.map +1 -1
  18. package/dist/runtime-v2/feature-flags/feature-flag-contract.js +1 -0
  19. package/dist/runtime-v2/feature-flags/feature-flag-contract.js.map +1 -1
  20. package/dist/runtime-v2/feature-flags/plugin-surface-registry.d.ts.map +1 -1
  21. package/dist/runtime-v2/feature-flags/plugin-surface-registry.js +16 -0
  22. package/dist/runtime-v2/feature-flags/plugin-surface-registry.js.map +1 -1
  23. package/dist/runtime-v2/index.d.ts +2 -1
  24. package/dist/runtime-v2/index.d.ts.map +1 -1
  25. package/dist/runtime-v2/index.js +1 -1
  26. package/dist/runtime-v2/index.js.map +1 -1
  27. package/package.json +1 -1
@@ -143,6 +143,8 @@ const REQUIRED_SOURCE_FILES = [
143
143
  // PRI-146
144
144
  'activation/writers/rule-host-writer.ts',
145
145
  'activation/writers/index.ts',
146
+ // PRI-295
147
+ 'activation/prompt-activation-reader-contract.ts',
146
148
  // PRI-215
147
149
  'synthetic-baseline.ts',
148
150
  // PRI-239
@@ -387,6 +389,8 @@ const REQUIRED_TEST_FILES = [
387
389
  'synthetic-baseline.test.ts',
388
390
  // PRI-239
389
391
  '../feature-flags/__tests__/feature-flag-contract.test.ts',
392
+ // PRI-295
393
+ '../activation/__tests__/prompt-activation-reader-contract.test.ts',
390
394
  ];
391
395
  const REQUIRED_DOC_FILES = [];
392
396
  for (const file of REQUIRED_SOURCE_FILES) {
@@ -442,6 +446,11 @@ describe('runtime-v2 public API (index.ts barrel)', () => {
442
446
  // PRI-239
443
447
  'validateFeatureFlagRaw',
444
448
  'computeEffectiveFlags',
449
+ // PRI-295
450
+ 'filterPromptActivations',
451
+ 'resolvePrincipleFromArtifact',
452
+ 'trimToBudget',
453
+ 'renderPrinciplesToDirectives',
445
454
  ];
446
455
  for (const name of REQUIRED_EXPORTS) {
447
456
  it(`exports ${name}`, async () => {