@principles/core 1.79.0 → 1.80.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.
- package/dist/runtime-v2/__tests__/architecture-regression.test.js +9 -0
- package/dist/runtime-v2/__tests__/architecture-regression.test.js.map +1 -1
- package/dist/runtime-v2/activation/__tests__/prompt-activation-reader-contract.test.d.ts +2 -0
- package/dist/runtime-v2/activation/__tests__/prompt-activation-reader-contract.test.d.ts.map +1 -0
- package/dist/runtime-v2/activation/__tests__/prompt-activation-reader-contract.test.js +343 -0
- package/dist/runtime-v2/activation/__tests__/prompt-activation-reader-contract.test.js.map +1 -0
- package/dist/runtime-v2/activation/index.d.ts +2 -0
- package/dist/runtime-v2/activation/index.d.ts.map +1 -1
- package/dist/runtime-v2/activation/index.js +1 -0
- package/dist/runtime-v2/activation/index.js.map +1 -1
- package/dist/runtime-v2/activation/prompt-activation-reader-contract.d.ts +34 -0
- package/dist/runtime-v2/activation/prompt-activation-reader-contract.d.ts.map +1 -0
- package/dist/runtime-v2/activation/prompt-activation-reader-contract.js +109 -0
- package/dist/runtime-v2/activation/prompt-activation-reader-contract.js.map +1 -0
- package/dist/runtime-v2/index.d.ts +2 -1
- package/dist/runtime-v2/index.d.ts.map +1 -1
- package/dist/runtime-v2/index.js +1 -1
- package/dist/runtime-v2/index.js.map +1 -1
- 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 () => {
|