@gotcos/glasses-server 6.44.15 → 6.45.0

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.
Files changed (55) hide show
  1. package/CHANGELOG.md +83 -49
  2. package/README.md +9 -0
  3. package/bin/memory-setup.cjs +55 -0
  4. package/memory-runtime/cos-memory-runtime-0.1.0.tar.gz +0 -0
  5. package/memory-runtime/runtime.json +7 -0
  6. package/package.json +6 -3
  7. package/server/index.ts +4 -4
  8. package/server/lib/adaptive-playback-audio.ts +1 -1
  9. package/server/lib/agent-session-store.ts +139 -28
  10. package/server/lib/archive-search.ts +1 -1
  11. package/server/lib/attached-provider-adapter.ts +1 -1
  12. package/server/lib/attached-workspace.ts +3 -3
  13. package/server/lib/chunk-embedding-store.ts +1 -1
  14. package/server/lib/context-files.ts +1 -1
  15. package/server/lib/cos-context-browser.ts +17 -6
  16. package/server/lib/cos-operations-meetings.ts +15 -1
  17. package/server/lib/domains.ts +2 -2
  18. package/server/lib/maintenance-lifecycle.ts +1 -1
  19. package/server/lib/meeting-audio-archive.ts +3 -3
  20. package/server/lib/meeting-corrections.ts +3 -3
  21. package/server/lib/meeting-relabel-enrolment.ts +1 -1
  22. package/server/lib/meeting-relabel.ts +2 -2
  23. package/server/lib/meeting-scribe-content.ts +7 -7
  24. package/server/lib/meeting-speaker-review.ts +3 -3
  25. package/server/lib/meeting-summary.ts +1 -1
  26. package/server/lib/message-era-reset.ts +1 -1
  27. package/server/lib/message-era.ts +1 -1
  28. package/server/lib/morning-brief-config.ts +1 -1
  29. package/server/lib/morning-brief-coverage.ts +1 -1
  30. package/server/lib/occupancy-probes.ts +7 -4
  31. package/server/lib/ollama-tools.ts +1 -1
  32. package/server/lib/python-bridge.ts +6 -4
  33. package/server/lib/query-job-types.ts +1 -1
  34. package/server/lib/session-stream-events.ts +3 -3
  35. package/server/lib/session-transcript-watcher.ts +1 -1
  36. package/server/lib/speaker-calibration-log.ts +1 -1
  37. package/server/lib/speaker-name.ts +1 -1
  38. package/server/lib/thread-occupancy.ts +1 -1
  39. package/server/lib/thread-turn-queue-deliver.ts +1 -1
  40. package/server/lib/thread-turn-queue.ts +3 -3
  41. package/server/lib/video-upload-v2.ts +1 -1
  42. package/server/lib/voice-profile-store.ts +2 -2
  43. package/server/lib/whisper-metal-gate.ts +1 -1
  44. package/server/routes/agent-session-bindings.ts +2 -2
  45. package/server/routes/agent-session-stream.ts +1 -1
  46. package/server/routes/agent-sessions.ts +2 -2
  47. package/server/routes/claude-sessions.ts +1 -1
  48. package/server/routes/health.ts +1 -1
  49. package/server/routes/meeting.ts +8 -8
  50. package/server/routes/memory.ts +45 -7
  51. package/server/routes/prompt-drafts.ts +1 -1
  52. package/server/routes/session-index.ts +1 -1
  53. package/server/routes/thread-turn-queue.ts +10 -4
  54. package/server/routes/transcribe-stream.ts +1 -1
  55. package/server/routes/voice.ts +4 -4
@@ -441,15 +441,15 @@ voiceRouter.post('/voice/enroll-ext', async (req, res) => {
441
441
 
442
442
  // ── Voice sample playback (6.21.18) ───────────────────────────────────────
443
443
  //
444
- // Miles: hearing three seconds of a voice settles an identity question that a
444
+ // the user: hearing three seconds of a voice settles an identity question that a
445
445
  // similarity score cannot. These two paths need NO retention change — the audio
446
446
  // already exists:
447
447
  //
448
448
  // training-audio what the system thinks a NAMED person sounds like
449
449
  // ext-audio an UNIDENTIFIED voice, 72-hour window
450
450
  //
451
- // The first is the higher-value one for the review panel: "is this really Navaz?"
452
- // is answered by playing Navaz's own profile sample, not by playing the segment
451
+ // The first is the higher-value one for the review panel: "is this really Jamie?"
452
+ // is answered by playing Jamie's own profile sample, not by playing the segment
453
453
  // under review.
454
454
 
455
455
  /** Newest WAV in a directory — the most representative recent sample. */
@@ -646,7 +646,7 @@ function fanOutTotals(runs: readonly SpeakerRenameFanOut[]): {
646
646
 
647
647
  // Fails closed below the search-accept threshold. A wrong merge destroys BOTH
648
648
  // identities at once and cannot be undone from the store alone, so the only
649
- // acceptable evidence is acoustic. `force` exists for the case where Miles
649
+ // acceptable evidence is acoustic. `force` exists for the case where the user
650
650
  // knows something the audio does not, and it is logged.
651
651
  voiceRouter.post('/voice/merge-profiles', (req, res) => {
652
652
  try {