@rlabs-inc/memory 0.4.5 → 0.4.7
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/core/curator.ts +3 -4
package/package.json
CHANGED
package/src/core/curator.ts
CHANGED
|
@@ -543,7 +543,6 @@ This session has ended. Please curate the memories from this conversation accord
|
|
|
543
543
|
options: {
|
|
544
544
|
systemPrompt,
|
|
545
545
|
permissionMode: 'bypassPermissions',
|
|
546
|
-
maxTurns: 1,
|
|
547
546
|
model: 'claude-opus-4-5-20251101',
|
|
548
547
|
},
|
|
549
548
|
})
|
|
@@ -641,7 +640,7 @@ This session has ended. Please curate the memories from this conversation accord
|
|
|
641
640
|
|
|
642
641
|
const response = await client.messages.create({
|
|
643
642
|
model: 'claude-sonnet-4-20250514',
|
|
644
|
-
max_tokens:
|
|
643
|
+
max_tokens: 64000,
|
|
645
644
|
system: systemPrompt,
|
|
646
645
|
messages: conversationMessages,
|
|
647
646
|
})
|
|
@@ -688,8 +687,7 @@ This session has ended. Please curate the memories from this conversation accord
|
|
|
688
687
|
'--resume', sessionId,
|
|
689
688
|
'-p', userMessage,
|
|
690
689
|
'--append-system-prompt', systemPrompt,
|
|
691
|
-
'--output-format', 'json'
|
|
692
|
-
'--max-turns', '1'
|
|
690
|
+
'--output-format', 'json'
|
|
693
691
|
)
|
|
694
692
|
} else {
|
|
695
693
|
// gemini-cli
|
|
@@ -707,6 +705,7 @@ This session has ended. Please curate the memories from this conversation accord
|
|
|
707
705
|
env: {
|
|
708
706
|
...process.env,
|
|
709
707
|
MEMORY_CURATOR_ACTIVE: '1', // Prevent recursive hook triggering
|
|
708
|
+
CLAUDE_CODE_MAX_OUTPUT_TOKENS: '64000', // Max output to avoid truncation
|
|
710
709
|
},
|
|
711
710
|
stdout: 'pipe',
|
|
712
711
|
stderr: 'pipe',
|