MCPcopy Create free account
hub / github.com/apache/maka / assertNoConversationCopyMetadata

Function assertNoConversationCopyMetadata

packages/storage/src/session-store.ts:1154–1158  ·  view source on GitHub ↗
(input: CreateSessionInput)

Source from the content-addressed store, hash-verified

1152}
1153
1154function assertNoConversationCopyMetadata(input: CreateSessionInput): void {
1155 if (Object.prototype.hasOwnProperty.call(input, 'conversationCopy')) {
1156 throw new Error('Conversation copy metadata requires createStableSession()');
1157 }
1158}
1159
1160function projectHeaderSnapshot(record: SessionMetadataRecord): SessionHeaderSnapshot {
1161 return {

Callers 4

createMethod · 0.85
createImportedSessionMethod · 0.85
createSubagentMethod · 0.85

Calls 1

callMethod · 0.65

Tested by

no test coverage detected