Add conversation package registry
This commit is contained in:
@@ -87,6 +87,17 @@ test('createConversationArtifact validates artifact kind and preserves provenanc
|
||||
assert.equal(artifact.messageId, 'msg-1');
|
||||
});
|
||||
|
||||
test('createConversationArtifact preserves unknown size as null', () => {
|
||||
const artifact = createConversationArtifact({
|
||||
packageId: 'cp_1',
|
||||
artifactKind: 'generated_file',
|
||||
sizeBytes: null,
|
||||
now: 1000,
|
||||
});
|
||||
|
||||
assert.equal(artifact.sizeBytes, null);
|
||||
});
|
||||
|
||||
test('buildConversationPackageManifest sorts artifacts and emits stable public shape', () => {
|
||||
const manifest = buildConversationPackageManifest({
|
||||
packageRecord: {
|
||||
|
||||
Reference in New Issue
Block a user