truememory-mirror 1.1.0 → 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/bin/mirror.js CHANGED
@@ -284,7 +284,8 @@ async function main() {
284
284
 
285
285
  try {
286
286
  await pollStatus(result.profile_id, args.apiUrl, (status) => {
287
- serverPct = Math.round((status.progress || 0) * 100);
287
+ const reported = Math.round((status.progress || 0) * 100);
288
+ if (reported > serverPct) serverPct = reported;
288
289
  if (serverPct > displayPct) renderProgress();
289
290
  });
290
291
  } catch (err) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "truememory-mirror",
3
- "version": "1.1.0",
3
+ "version": "1.1.2",
4
4
  "description": "Behavioral prediction engine for how you think, decide, and react",
5
5
  "bin": {
6
6
  "truememory-mirror": "./bin/mirror.js"
package/src/unified.js CHANGED
@@ -1,7 +1,7 @@
1
- const MAX_PAYLOAD_BYTES = 10 * 1024 * 1024; // 10MB
2
- const MIN_SESSIONS = 500;
1
+ const MAX_PAYLOAD_BYTES = 5 * 1024 * 1024; // 5MB
2
+ const MIN_SESSIONS = 10;
3
3
 
4
- export function unifyMessages(claudeSessions, codexSessions, opencodeSessions = [], limit = 750) {
4
+ export function unifyMessages(claudeSessions, codexSessions, opencodeSessions = [], limit = 500) {
5
5
  const allSessions = [...claudeSessions, ...codexSessions, ...opencodeSessions];
6
6
 
7
7
  allSessions.sort((a, b) => {