Skip to content

feat(capture): make timestamps timezone configurable#76

Open
YOMXXX wants to merge 1 commit into
Tencent:mainfrom
YOMXXX:feat/capture-timezone
Open

feat(capture): make timestamps timezone configurable#76
YOMXXX wants to merge 1 commit into
Tencent:mainfrom
YOMXXX:feat/capture-timezone

Conversation

@YOMXXX
Copy link
Copy Markdown
Contributor

@YOMXXX YOMXXX commented May 23, 2026

Summary

  • add capture.timezoneOffsetMinutes with UTC+08:00 default and schema/docs coverage
  • apply the configured offset to L0 JSONL timestamps/shards, L0 vector metadata, L1 extraction prompts, and L2 scene extraction prompts
  • make SQLite L0 cursor filtering instant-aware for offset timestamps
  • keep the npm package under the existing size guard by shipping built runtime artifacts only

Closes #75.

Verification

  • npm test
  • npm run build
  • npm pack --dry-run (package size: 340.7 kB, unpacked: 1.3 MB)

@Maxwell-Code07
Copy link
Copy Markdown
Collaborator

Thanks for the quick implementation addressing #75! We'll review the approach and get back to you.

yuanrengu added a commit to yuanrengu/TencentDB-Agent-Memory that referenced this pull request May 25, 2026
- Move preExtractMemories to newMessages only (after background/new split)
  to prevent extracting memories from background context that should
  only serve as conversational context for the LLM

- Remove MEDIUM-confidence hints logging (hints not wired to LLM prompt;
  keeping types as interface for follow-up PR)

- Remove src/ from package.json files field to fix Size Guard limit
  (matches pattern from Tencent#76 and Tencent#71)

- Export callLlmExtraction and passesConfidenceCheck for testability

- Add pre-extractor.test.ts covering:
  - Background messages not pre-extracted
  - HIGH-confidence dedup via mergeExtractedMemories
  - Malformed JSON triggers exactly one retry
  - Confidence filtering does not reject valid persona/instruction
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature] Make timestamp timezone configurable in CaptureConfig

2 participants