truememory-mirror 1.1.1 → 1.1.2
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/package.json +1 -1
- package/src/unified.js +3 -3
package/package.json
CHANGED
package/src/unified.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
const MAX_PAYLOAD_BYTES =
|
|
2
|
-
const MIN_SESSIONS =
|
|
1
|
+
const MAX_PAYLOAD_BYTES = 5 * 1024 * 1024; // 5MB
|
|
2
|
+
const MIN_SESSIONS = 10;
|
|
3
3
|
|
|
4
|
-
export function unifyMessages(claudeSessions, codexSessions, opencodeSessions = [], limit =
|
|
4
|
+
export function unifyMessages(claudeSessions, codexSessions, opencodeSessions = [], limit = 500) {
|
|
5
5
|
const allSessions = [...claudeSessions, ...codexSessions, ...opencodeSessions];
|
|
6
6
|
|
|
7
7
|
allSessions.sort((a, b) => {
|