Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
17 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions packages/ai/src/api/cursor-agent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4133,6 +4133,9 @@ function buildConversationTurns(
return turns;
}

/** Returns the serialized byte cost of Cursor's complete stored history representation. */
export { buildCursorHistoryWireBytesForTest, measureCursorHistorySerializedBytes } from "./cursor-agent/measure.ts";

/** Exported for tests: decodes Cursor history blobs built from conversation messages. */
export function buildCursorHistoryForTest(
messages: Message[],
Expand Down
Loading
Loading