@mastra/memory 1.22.1 → 1.22.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.
Files changed (33) hide show
  1. package/CHANGELOG.md +15 -0
  2. package/dist/{chunk-YWAAIUB6.cjs → chunk-3JX4RMDN.cjs} +14 -13
  3. package/dist/chunk-3JX4RMDN.cjs.map +1 -0
  4. package/dist/{chunk-2NSPHF6Q.js → chunk-TB6SV7QK.js} +14 -13
  5. package/dist/chunk-TB6SV7QK.js.map +1 -0
  6. package/dist/docs/SKILL.md +3 -3
  7. package/dist/docs/assets/SOURCE_MAP.json +44 -44
  8. package/dist/docs/references/docs-agents-agent-approval.md +25 -0
  9. package/dist/docs/references/docs-agents-supervisor-agents.md +3 -3
  10. package/dist/docs/references/{docs-agents-background-tasks.md → docs-long-running-agents-background-tasks.md} +2 -2
  11. package/dist/docs/references/{docs-agents-goals.md → docs-long-running-agents-goals.md} +1 -1
  12. package/dist/docs/references/docs-memory-working-memory.md +1 -1
  13. package/dist/docs/references/reference-memory-cloneThread.md +35 -4
  14. package/dist/docs/references/reference-memory-memory-class.md +5 -5
  15. package/dist/docs/references/reference-memory-observational-memory.md +43 -43
  16. package/dist/docs/references/reference-storage-dynamodb.md +1 -1
  17. package/dist/docs/references/reference-storage-libsql.md +1 -1
  18. package/dist/docs/references/reference-storage-postgresql.md +2 -2
  19. package/dist/docs/references/reference-storage-redis.md +2 -2
  20. package/dist/docs/references/reference-vectors-mongodb.md +1 -1
  21. package/dist/docs/references/reference-vectors-pg.md +1 -1
  22. package/dist/index.cjs +13 -13
  23. package/dist/index.js +1 -1
  24. package/dist/{observational-memory-QL6BKIQX.js → observational-memory-NNGAOKRQ.js} +3 -3
  25. package/dist/{observational-memory-QL6BKIQX.js.map → observational-memory-NNGAOKRQ.js.map} +1 -1
  26. package/dist/{observational-memory-CZ22AU3H.cjs → observational-memory-TEIGXE56.cjs} +28 -28
  27. package/dist/{observational-memory-CZ22AU3H.cjs.map → observational-memory-TEIGXE56.cjs.map} +1 -1
  28. package/dist/processors/index.cjs +26 -26
  29. package/dist/processors/index.js +1 -1
  30. package/dist/tools/om-tools.d.ts.map +1 -1
  31. package/package.json +10 -10
  32. package/dist/chunk-2NSPHF6Q.js.map +0 -1
  33. package/dist/chunk-YWAAIUB6.cjs.map +0 -1
@@ -33,35 +33,35 @@ Observer input is multimodal-aware. OM keeps text placeholders like `[Image #1:
33
33
 
34
34
  OM performs thresholding with fast local token estimation. Text uses `tokenx`, and image-like inputs use provider-aware heuristics plus deterministic fallbacks when metadata is incomplete.
35
35
 
36
- **enabled** (`boolean`): Enable or disable Observational Memory. When omitted from a config object, defaults to \`true\`. Only \`enabled: false\` explicitly disables it. (Default: `true`)
36
+ **enabled** (`boolean`): Enable or disable Observational Memory. When omitted from a config object, defaults to true. Only enabled: false explicitly disables it. (Default: `true`)
37
37
 
38
- **model** (`string | LanguageModel | DynamicModel | ModelByInputTokens | ModelWithRetries[]`): Model for both the Observer and Reflector agents. Sets the model for both at once. Cannot be used together with \`observation.model\` or \`reflection.model\` — an error will be thrown if both are set. When using \`observationalMemory: true\`, defaults to \`google/gemini-2.5-flash\`. When passing a config object, this or \`observation.model\`/\`reflection.model\` must be set. Use \`"default"\` to explicitly use the default model (\`google/gemini-2.5-flash\`). (Default: `'google/gemini-2.5-flash' (when using observationalMemory: true)`)
38
+ **model** (`string | LanguageModel | DynamicModel | ModelByInputTokens | ModelWithRetries[]`): Model for both the Observer and Reflector agents. Sets the model for both at once. Cannot be used together with observation.model or reflection.model — an error will be thrown if both are set. When using observationalMemory: true, defaults to google/gemini-2.5-flash. When passing a config object, this or observation.model/reflection.model must be set. Use "default" to explicitly use the default model (google/gemini-2.5-flash). (Default: `'google/gemini-2.5-flash' (when using observationalMemory: true)`)
39
39
 
40
- **scope** (`'resource' | 'thread'`): Memory scope for observations. \`'thread'\` keeps observations per-thread. \`'resource'\` (experimental) shares observations across all threads for a resource, enabling cross-conversation memory. (Default: `'thread'`)
40
+ **scope** (`'resource' | 'thread'`): Memory scope for observations. 'thread' keeps observations per-thread. 'resource' (experimental) shares observations across all threads for a resource, enabling cross-conversation memory. (Default: `'thread'`)
41
41
 
42
- **activateAfterIdle** (`number | string | false | "auto"`): Time before buffered observations are forced to activate after inactivity, even before \`observation.messageTokens\` is reached. Accepts a numeric millisecond value such as \`300\_000\`, duration strings like \`"5m"\` or \`"1hr"\`, \`"auto"\` for a provider-aware prompt cache TTL, or \`false\` to disable inherited observation idle activation. Reflections do not inherit this setting. Use \`reflection.activateAfterIdle\` to opt reflections into idle activation.
42
+ **activateAfterIdle** (`number | string | false | "auto"`): Time before buffered observations are forced to activate after inactivity, even before observation.messageTokens is reached. Accepts a numeric millisecond value such as 300\_000, duration strings like "5m" or "1hr", "auto" for a provider-aware prompt cache TTL, or false to disable inherited observation idle activation. Reflections do not inherit this setting. Use reflection.activateAfterIdle to opt reflections into idle activation.
43
43
 
44
- **activateOnProviderChange** (`boolean`): Force buffered observations to activate when the actor provider or model changes. Reflections do not inherit this setting. Use \`reflection.activateOnProviderChange\` to opt reflections into provider-change activation. (Default: `false`)
44
+ **activateOnProviderChange** (`boolean`): Force buffered observations to activate when the actor provider or model changes. Reflections do not inherit this setting. Use reflection.activateOnProviderChange to opt reflections into provider-change activation. (Default: `false`)
45
45
 
46
- **shareTokenBudget** (`boolean`): Share the token budget between messages and observations. When enabled, the total budget is \`observation.messageTokens + reflection.observationTokens\`. Messages can use more space when observations are small, and vice versa. This maximizes context usage through flexible allocation. \`shareTokenBudget\` is not yet compatible with async buffering. You must set \`observation: { bufferTokens: false }\` when using this option (this is a temporary limitation). (Default: `false`)
46
+ **shareTokenBudget** (`boolean`): Share the token budget between messages and observations. When enabled, the total budget is observation.messageTokens + reflection.observationTokens. Messages can use more space when observations are small, and vice versa. This maximizes context usage through flexible allocation. shareTokenBudget is not yet compatible with async buffering. You must set observation: { bufferTokens: false } when using this option (this is a temporary limitation). (Default: `false`)
47
47
 
48
48
  **temporalMarkers** (`boolean`): Insert temporal-gap reminder markers before new user messages when the previous message in the thread is at least 10 minutes older. The marker is persisted in memory, emitted as an inline reminder event so clients can render it specially, and shown to the observer so it can anchor observations to when events occurred. (Default: `false`)
49
49
 
50
- **retrieval** (`boolean | { vector?: boolean; scope?: 'thread' | 'resource' }`): Enable retrieval-mode observation groups as durable pointers to raw message history. \`true\` enables cross-thread browsing by default. \`{ vector: true }\` also enables semantic search using Memory's vector store and embedder. \`{ scope: 'thread' }\` restricts the recall tool to the current thread only. Default scope is \`'resource'\`. (Default: `false`)
50
+ **retrieval** (`boolean | { vector?: boolean; scope?: 'thread' | 'resource' }`): Enable retrieval-mode observation groups as durable pointers to raw message history. true enables cross-thread browsing by default. { vector: true } also enables semantic search using Memory's vector store and embedder. { scope: 'thread' } restricts the recall tool to the current thread only. Default scope is 'resource'. (Default: `false`)
51
51
 
52
52
  **observation** (`ObservationalMemoryObservationConfig`): Configuration for the observation step. Controls when the Observer agent runs and how it behaves.
53
53
 
54
- **observation.model** (`string | LanguageModel | DynamicModel | ModelByInputTokens | ModelWithRetries[]`): Model for the Observer agent. Cannot be set if a top-level \`model\` is also provided. If neither this nor the top-level \`model\` is set, falls back to \`reflection.model\`.
54
+ **observation.model** (`string | LanguageModel | DynamicModel | ModelByInputTokens | ModelWithRetries[]`): Model for the Observer agent. Cannot be set if a top-level model is also provided. If neither this nor the top-level model is set, falls back to reflection.model.
55
55
 
56
56
  **observation.instruction** (`string`): Custom instruction appended to the Observer's system prompt. Use this to customize what the Observer focuses on, such as domain-specific preferences or priorities.
57
57
 
58
- **observation.threadTitle** (`boolean`): When \`true\`, the Observer suggests short thread titles and updates the thread title when the conversation topic meaningfully changes. This is opt-in and defaults to disabled.
58
+ **observation.threadTitle** (`boolean`): When true, the Observer suggests short thread titles and updates the thread title when the conversation topic meaningfully changes. This is opt-in and defaults to disabled.
59
59
 
60
60
  **observation.extract** (`Extractor[]`): Custom values to extract after observation. Schema-less extractors are requested inline in the Observer output. Schema-backed extractors run as a follow-up structured output call and are stored in thread OM metadata.
61
61
 
62
- **observation.observeAttachments** (`boolean | string[]`): Controls which image/file attachments are forwarded to the Observer model alongside their placeholder text lines. \`true\` (default) forwards all attachments. \`false\` drops all attachments while keeping placeholders visible. An array is a case-insensitive mimeType allowlist supporting exact matches (\`'application/pdf'\`), wildcard subtypes (\`'image/\*'\`), and bare \`'\*'\` for everything. Useful when the Observer model is text-only (e.g. some DeepSeek endpoints) while the main agent uses a multimodal model. Tool-result attachments are filtered using the same rule.
62
+ **observation.observeAttachments** (`boolean | string[]`): Controls which image/file attachments are forwarded to the Observer model alongside their placeholder text lines. true (default) forwards all attachments. false drops all attachments while keeping placeholders visible. An array is a case-insensitive mimeType allowlist supporting exact matches ('application/pdf'), wildcard subtypes ('image/\*'), and bare '\*' for everything. Useful when the Observer model is text-only (e.g. some DeepSeek endpoints) while the main agent uses a multimodal model. Tool-result attachments are filtered using the same rule.
63
63
 
64
- **observation.messageTokens** (`number`): Token count of unobserved messages that triggers observation. When unobserved message tokens exceed this threshold, the Observer agent is called. Text is estimated locally with \`tokenx\`. Image parts are included with model-aware heuristics when possible, with deterministic fallbacks when image metadata is incomplete. Image-like \`file\` parts are counted the same way when uploads are normalized as files.
64
+ **observation.messageTokens** (`number`): Token count of unobserved messages that triggers observation. When unobserved message tokens exceed this threshold, the Observer agent is called. Text is estimated locally with tokenx. Image parts are included with model-aware heuristics when possible, with deterministic fallbacks when image metadata is incomplete. Image-like file parts are counted the same way when uploads are normalized as files.
65
65
 
66
66
  **observation.maxTokensPerBatch** (`number`): Maximum tokens per batch when observing multiple threads in resource scope. Threads are chunked into batches of this size and processed in parallel. Lower values mean more parallelism but more API calls.
67
67
 
@@ -71,23 +71,23 @@ OM performs thresholding with fast local token estimation. Text uses `tokenx`, a
71
71
 
72
72
  **observation.modelSettings.maxOutputTokens** (`number`): Maximum output tokens. Set high to prevent truncation of observations.
73
73
 
74
- **observation.bufferTokens** (`number | false`): Token interval for async background observation buffering. Can be an absolute token count (e.g. \`5000\`) or a fraction of \`messageTokens\` (e.g. \`0.25\` = buffer every 25% of threshold). When set, observations run in the background at this interval, storing results in a buffer. When the main \`messageTokens\` threshold is reached, buffered observations activate instantly without a blocking LLM call. Must resolve to less than \`messageTokens\`. Set to \`false\` to explicitly disable all async buffering (both observation and reflection).
74
+ **observation.bufferTokens** (`number | false`): Token interval for async background observation buffering. Can be an absolute token count (e.g. 5000) or a fraction of messageTokens (e.g. 0.25 = buffer every 25% of threshold). When set, observations run in the background at this interval, storing results in a buffer. When the main messageTokens threshold is reached, buffered observations activate instantly without a blocking LLM call. Must resolve to less than messageTokens. Set to false to explicitly disable all async buffering (both observation and reflection).
75
75
 
76
- **observation.bufferOnIdle** (`boolean`): Run background observation buffering when an agent turn ends and the agent becomes idle. This is separate from \`bufferTokens\`, which controls step-time async buffering. Set this to \`true\` to buffer short idle turns without waiting for the next turn or the \`messageTokens\` threshold.
76
+ **observation.bufferOnIdle** (`boolean`): Run background observation buffering when an agent turn ends and the agent becomes idle. This is separate from bufferTokens, which controls step-time async buffering. Set this to true to buffer short idle turns without waiting for the next turn or the messageTokens threshold.
77
77
 
78
- **observation.bufferActivation** (`number`): Controls how much of the message window to retain after activation. Accepts a ratio (0-1) or an absolute token count (≥ 1000). For example, \`0.8\` means: activate enough buffers to remove 80% of \`messageTokens\` and leave 20% as active message history. An absolute token count like \`4000\` targets a goal of keeping \~4k message tokens remaining after activation. Higher values remove more message history per activation when using a ratio. Higher values keep more message history when using a token count.
78
+ **observation.bufferActivation** (`number`): Controls how much of the message window to retain after activation. Accepts a ratio (0-1) or an absolute token count (≥ 1000). For example, 0.8 means: activate enough buffers to remove 80% of messageTokens and leave 20% as active message history. An absolute token count like 4000 targets a goal of keeping \~4k message tokens remaining after activation. Higher values remove more message history per activation when using a ratio. Higher values keep more message history when using a token count.
79
79
 
80
- **observation.activateAfterIdle** (`number | string | false | "auto"`): Time before buffered observations are forced to activate after inactivity. Accepts milliseconds, a duration string, \`"auto"\` for a provider-aware prompt cache TTL, or \`false\`. If unset, the top-level \`activateAfterIdle\` value is used for observations. Set \`false\` to disable the top-level idle setting for observations.
80
+ **observation.activateAfterIdle** (`number | string | false | "auto"`): Time before buffered observations are forced to activate after inactivity. Accepts milliseconds, a duration string, "auto" for a provider-aware prompt cache TTL, or false. If unset, the top-level activateAfterIdle value is used for observations. Set false to disable the top-level idle setting for observations.
81
81
 
82
- **observation.activateOnProviderChange** (`boolean`): Force buffered observations to activate when the actor provider or model changes. If unset, the top-level \`activateOnProviderChange\` value is used for observations.
82
+ **observation.activateOnProviderChange** (`boolean`): Force buffered observations to activate when the actor provider or model changes. If unset, the top-level activateOnProviderChange value is used for observations.
83
83
 
84
- **observation.blockAfter** (`number`): Token threshold above which synchronous (blocking) observation is forced. Between \`messageTokens\` and \`blockAfter\`, only async buffering/activation is used. Above \`blockAfter\`, a synchronous observation runs as a last resort, while buffered activation still preserves a minimum remaining context (min(1000, retention floor)). Accepts a multiplier (1 < value < 2, multiplied by \`messageTokens\`) or an absolute token count (≥ 2, must be greater than \`messageTokens\`). Only relevant when \`bufferTokens\` is set. Defaults to \`1.2\` when async buffering is enabled.
84
+ **observation.blockAfter** (`number`): Token threshold above which synchronous (blocking) observation is forced. Between messageTokens and blockAfter, only async buffering/activation is used. Above blockAfter, a synchronous observation runs as a last resort, while buffered activation still preserves a minimum remaining context (min(1000, retention floor)). Accepts a multiplier (1 < value < 2, multiplied by messageTokens) or an absolute token count (≥ 2, must be greater than messageTokens). Only relevant when bufferTokens is set. Defaults to 1.2 when async buffering is enabled.
85
85
 
86
- **observation.previousObserverTokens** (`number | false`): Optional token budget for the observer's previous-observations context. When set to a number, the observations passed to the Observer agent are tail-truncated to fit within this budget while keeping the newest observations and preserving highlighted 🔴 items when possible. When a buffered reflection is pending, the already-reflected observation lines are automatically replaced with the reflection summary before truncation. Set to \`0\` to omit previous observations entirely, or \`false\` to disable truncation explicitly.
86
+ **observation.previousObserverTokens** (`number | false`): Optional token budget for the observer's previous-observations context. When set to a number, the observations passed to the Observer agent are tail-truncated to fit within this budget while keeping the newest observations and preserving highlighted 🔴 items when possible. When a buffered reflection is pending, the already-reflected observation lines are automatically replaced with the reflection summary before truncation. Set to 0 to omit previous observations entirely, or false to disable truncation explicitly.
87
87
 
88
88
  **reflection** (`ObservationalMemoryReflectionConfig`): Configuration for the reflection step. Controls when the Reflector agent runs and how it behaves.
89
89
 
90
- **reflection.model** (`string | LanguageModel | DynamicModel | ModelByInputTokens | ModelWithRetries[]`): Model for the Reflector agent. Cannot be set if a top-level \`model\` is also provided. If neither this nor the top-level \`model\` is set, falls back to \`observation.model\`.
90
+ **reflection.model** (`string | LanguageModel | DynamicModel | ModelByInputTokens | ModelWithRetries[]`): Model for the Reflector agent. Cannot be set if a top-level model is also provided. If neither this nor the top-level model is set, falls back to observation.model.
91
91
 
92
92
  **reflection.instruction** (`string`): Custom instruction appended to the Reflector's system prompt. Use this to customize how the Reflector consolidates observations, such as prioritizing certain types of information.
93
93
 
@@ -101,13 +101,13 @@ OM performs thresholding with fast local token estimation. Text uses `tokenx`, a
101
101
 
102
102
  **reflection.modelSettings.maxOutputTokens** (`number`): Maximum output tokens. Set high to prevent truncation of observations.
103
103
 
104
- **reflection.bufferActivation** (`number`): Ratio (0-1) controlling when async reflection buffering starts. When observation tokens reach \`observationTokens \* bufferActivation\`, reflection runs in the background. On activation at the full threshold, the buffered reflection replaces the observations it covers, preserving any new observations appended after that range.
104
+ **reflection.bufferActivation** (`number`): Ratio (0-1) controlling when async reflection buffering starts. When observation tokens reach observationTokens \* bufferActivation, reflection runs in the background. On activation at the full threshold, the buffered reflection replaces the observations it covers, preserving any new observations appended after that range.
105
105
 
106
- **reflection.activateAfterIdle** (`number | string | false | "auto"`): Time before buffered reflections are forced to activate after inactivity. Accepts milliseconds, a duration string, \`"auto"\` for a provider-aware prompt cache TTL, or \`false\`. Reflections do not inherit top-level \`activateAfterIdle\`; set this explicitly to opt reflections into idle activation.
106
+ **reflection.activateAfterIdle** (`number | string | false | "auto"`): Time before buffered reflections are forced to activate after inactivity. Accepts milliseconds, a duration string, "auto" for a provider-aware prompt cache TTL, or false. Reflections do not inherit top-level activateAfterIdle; set this explicitly to opt reflections into idle activation.
107
107
 
108
- **reflection.activateOnProviderChange** (`boolean`): Force buffered reflections to activate when the actor provider or model changes. Reflections do not inherit top-level \`activateOnProviderChange\`; set this explicitly to opt reflections into provider-change activation.
108
+ **reflection.activateOnProviderChange** (`boolean`): Force buffered reflections to activate when the actor provider or model changes. Reflections do not inherit top-level activateOnProviderChange; set this explicitly to opt reflections into provider-change activation.
109
109
 
110
- **reflection.blockAfter** (`number`): Token threshold above which synchronous (blocking) reflection is forced. Between \`observationTokens\` and \`blockAfter\`, only async buffering/activation is used. Above \`blockAfter\`, a synchronous reflection runs as a last resort. Accepts a multiplier (1 < value < 2, multiplied by \`observationTokens\`) or an absolute token count (≥ 2, must be greater than \`observationTokens\`). Only relevant when \`bufferActivation\` is set. Defaults to \`1.2\` when async reflection is enabled.
110
+ **reflection.blockAfter** (`number`): Token threshold above which synchronous (blocking) reflection is forced. Between observationTokens and blockAfter, only async buffering/activation is used. Above blockAfter, a synchronous reflection runs as a last resort. Accepts a multiplier (1 < value < 2, multiplied by observationTokens) or an absolute token count (≥ 2, must be greater than observationTokens). Only relevant when bufferActivation is set. Defaults to 1.2 when async reflection is enabled.
111
111
 
112
112
  ### Token estimate metadata cache
113
113
 
@@ -156,7 +156,7 @@ const memory = new Memory({
156
156
 
157
157
  **schema** (`ZodType<T> | (context) => ZodType<T> | undefined`): Optional Zod schema for structured extraction. When provided, OM runs a follow-up structured output call after the main OM operation. When omitted, the extractor is an inline string extractor emitted in the Observer or Reflector response. Use a function to derive the schema from runtime context.
158
158
 
159
- **includePreviousExtraction** (`boolean`): Controls whether the previous extraction is shown to the extractor on future OM runs. Set to \`false\` for values that should only come from the current OM run. (Default: `true`)
159
+ **includePreviousExtraction** (`boolean`): Controls whether the previous extraction is shown to the extractor on future OM runs. Set to false for values that should only come from the current OM run. (Default: `true`)
160
160
 
161
161
  **onExtracted** (`(context) => T | void | Promise<T | void>`): Optional hook called after a custom extractor returns a value and before metadata is persisted. Returning a value replaces the extracted value. Throwing records an extraction failure.
162
162
 
@@ -498,13 +498,13 @@ Emitted when the Observer or Reflector agent begins processing.
498
498
 
499
499
  **threadIds** (`string[]`): All thread IDs in this batch (for resource-scoped).
500
500
 
501
- **config** (`ObservationMarkerConfig`): Snapshot of \`messageTokens\`, \`observationTokens\`, and \`scope\` at observation time.
501
+ **config** (`ObservationMarkerConfig`): Snapshot of messageTokens, observationTokens, and scope at observation time.
502
502
 
503
503
  ### `data-om-observation-end`
504
504
 
505
505
  Emitted when observation or reflection completes successfully.
506
506
 
507
- **cycleId** (`string`): Matches the corresponding \`start\` marker.
507
+ **cycleId** (`string`): Matches the corresponding start marker.
508
508
 
509
509
  **operationType** (`'observation' | 'reflection'`): Type of operation that completed.
510
510
 
@@ -534,7 +534,7 @@ Emitted when observation or reflection completes successfully.
534
534
 
535
535
  Emitted when observation or reflection fails. The system falls back to synchronous processing.
536
536
 
537
- **cycleId** (`string`): Matches the corresponding \`start\` marker.
537
+ **cycleId** (`string`): Matches the corresponding start marker.
538
538
 
539
539
  **operationType** (`'observation' | 'reflection'`): Type of operation that failed.
540
540
 
@@ -576,7 +576,7 @@ Emitted when async buffering begins in the background. Buffering pre-computes ob
576
576
 
577
577
  Emitted when async buffering completes. The content is stored but not yet activated in the main context.
578
578
 
579
- **cycleId** (`string`): Matches the corresponding \`buffering-start\` marker.
579
+ **cycleId** (`string`): Matches the corresponding buffering-start marker.
580
580
 
581
581
  **operationType** (`'observation' | 'reflection'`): Type of operation that was buffered.
582
582
 
@@ -602,7 +602,7 @@ Emitted when async buffering completes. The content is stored but not yet activa
602
602
 
603
603
  Emitted when async buffering fails. The system falls back to synchronous processing when the threshold is reached.
604
604
 
605
- **cycleId** (`string`): Matches the corresponding \`buffering-start\` marker.
605
+ **cycleId** (`string`): Matches the corresponding buffering-start marker.
606
606
 
607
607
  **operationType** (`'observation' | 'reflection'`): Type of operation that failed.
608
608
 
@@ -688,7 +688,7 @@ export const agent = new Agent({
688
688
 
689
689
  The standalone `ObservationalMemory` class accepts all the same options as the `observationalMemory` config object above, plus the following:
690
690
 
691
- **storage** (`MemoryStorage`): Storage adapter for persisting observations. Must be a MemoryStorage instance (from \`MastraStorage.stores.memory\`).
691
+ **storage** (`MemoryStorage`): Storage adapter for persisting observations. Must be a MemoryStorage instance (from MastraStorage.stores.memory).
692
692
 
693
693
  **onDebugEvent** (`(event: ObservationDebugEvent) => void`): Debug callback for observation events. Called whenever observation-related events occur. Useful for debugging and understanding the observation flow.
694
694
 
@@ -700,29 +700,29 @@ When `retrieval` is set (any truthy value), a `recall` tool is registered so the
700
700
 
701
701
  ### Parameters
702
702
 
703
- **mode** (`'messages' | 'threads' | 'search'`): What to retrieve. \`"messages"\` (default) pages through message history. \`"threads"\` lists all threads for the current user. \`"search"\` finds messages by semantic similarity across all threads (requires vector store and embedder). (Default: `'messages'`)
703
+ **mode** (`'messages' | 'threads' | 'search'`): What to retrieve. "messages" (default) pages through message history. "threads" lists all threads for the current user. "search" finds messages by semantic similarity across all threads (requires vector store and embedder). (Default: `'messages'`)
704
704
 
705
- **query** (`string`): Search query for \`mode: "search"\`. Finds messages semantically similar to this text across all threads for the current user.
705
+ **query** (`string`): Search query for mode: "search". Finds messages semantically similar to this text across all threads for the current user.
706
706
 
707
- **cursor** (`string`): A message ID to anchor the recall query. Required for \`mode: "messages"\` when browsing the current thread. Extract the start or end ID from an observation group range (e.g. from \`\_range: \\\`startId:endId\\\`\_\`, use either \`startId\` or \`endId\`). If a range string is passed directly, the tool returns a hint explaining how to extract the correct ID. Can be omitted when \`threadId\` is provided to start reading from the beginning of that thread.
707
+ **cursor** (`string`): A message ID to anchor the recall query. Required for mode: "messages" when browsing the current thread. Extract the start or end ID from an observation group range (e.g. from \_range: \startId:endId\\\_, use either startId or endId). If a range string is passed directly, the tool returns a hint explaining how to extract the correct ID. Can be omitted when threadId is provided to start reading from the beginning of that thread.
708
708
 
709
- **threadId** (`string`): Browse a different thread by its ID. Use \`mode: "threads"\` first to discover thread IDs. When provided without a \`cursor\`, reading starts from the beginning of the thread.
709
+ **threadId** (`string`): Browse a different thread by its ID. Use mode: "threads" first to discover thread IDs. When provided without a cursor, reading starts from the beginning of the thread.
710
710
 
711
- **page** (`number`): Pagination offset. For messages: positive values page forward from cursor, negative values page backward. For threads: page number (0-indexed). \`0\` is treated as \`1\` for messages. (Default: `1`)
711
+ **page** (`number`): Pagination offset. For messages: positive values page forward from cursor, negative values page backward. For threads: page number (0-indexed). 0 is treated as 1 for messages. (Default: `1`)
712
712
 
713
713
  **limit** (`number`): Maximum number of items to return per page. (Default: `20`)
714
714
 
715
- **detail** (`'low' | 'high'`): Controls how much content is shown per message part. \`'low'\` shows truncated text and tool names with positional indices (\`\[p0]\`, \`\[p1]\`). \`'high'\` shows full content including tool arguments and results, clamped to one part per call with continuation hints. (Default: `'low'`)
715
+ **detail** (`'low' | 'high'`): Controls how much content is shown per message part. 'low' shows truncated text and tool names with positional indices (\[p0], \[p1]). 'high' shows full content including tool arguments and results, clamped to one part per call with continuation hints. (Default: `'low'`)
716
716
 
717
- **partIndex** (`number`): Fetch a single message part at full detail by its positional index. Use this when a low-detail recall shows an interesting part at \`\[p1]\` — call again with \`partIndex: 1\` to see the full content without loading every part.
717
+ **partIndex** (`number`): Fetch a single message part at full detail by its positional index. Use this when a low-detail recall shows an interesting part at \[p1] — call again with partIndex: 1 to see the full content without loading every part.
718
718
 
719
- **before** (`string`): For \`mode: "threads"\` only. Filter to threads created before this date. Accepts ISO 8601 format (e.g. \`"2026-03-15"\`, \`"2026-03-10T00:00:00Z"\`).
719
+ **before** (`string`): For mode: "threads" only. Filter to threads created before this date. Accepts ISO 8601 format (e.g. "2026-03-15", "2026-03-10T00:00:00Z").
720
720
 
721
- **after** (`string`): For \`mode: "threads"\` only. Filter to threads created after this date. Accepts ISO 8601 format (e.g. \`"2026-03-01"\`, \`"2026-03-10T00:00:00Z"\`).
721
+ **after** (`string`): For mode: "threads" only. Filter to threads created after this date. Accepts ISO 8601 format (e.g. "2026-03-01", "2026-03-10T00:00:00Z").
722
722
 
723
723
  ### Returns (messages mode)
724
724
 
725
- **messages** (`string`): Formatted message content. Format depends on the \`detail\` level.
725
+ **messages** (`string`): Formatted message content. Format depends on the detail level.
726
726
 
727
727
  **count** (`number`): Number of messages in this page.
728
728
 
@@ -736,13 +736,13 @@ When `retrieval` is set (any truthy value), a `recall` tool is registered so the
736
736
 
737
737
  **hasPrevPage** (`boolean`): Whether more messages exist before this page.
738
738
 
739
- **truncated** (`boolean`): Present and \`true\` when the output was capped by the token budget. The agent can paginate or use \`partIndex\` to access remaining content.
739
+ **truncated** (`boolean`): Present and true when the output was capped by the token budget. The agent can paginate or use partIndex to access remaining content.
740
740
 
741
- **tokenOffset** (`number`): Approximate number of tokens that were trimmed when \`truncated\` is true.
741
+ **tokenOffset** (`number`): Approximate number of tokens that were trimmed when truncated is true.
742
742
 
743
743
  ### Returns (threads mode)
744
744
 
745
- **threads** (`string`): Formatted thread listing. Each thread shows its title, ID, and dates. The current thread is marked with \`← current\`.
745
+ **threads** (`string`): Formatted thread listing. Each thread shows its title, ID, and dates. The current thread is marked with current.
746
746
 
747
747
  **count** (`number`): Number of threads returned.
748
748
 
@@ -118,7 +118,7 @@ For local development, you can use [DynamoDB Local](https://docs.aws.amazon.com/
118
118
 
119
119
  **config.endpoint** (`string`): Custom endpoint for DynamoDB (e.g., 'http\://localhost:8000' for local development).
120
120
 
121
- **config.credentials** (`object`): AWS credentials object with \`accessKeyId\` and \`secretAccessKey\`. If not provided, the AWS SDK will attempt to source credentials from environment variables, IAM roles (e.g., for EC2/Lambda), or the shared AWS credentials file.
121
+ **config.credentials** (`object`): AWS credentials object with accessKeyId and secretAccessKey. If not provided, the AWS SDK will attempt to source credentials from environment variables, IAM roles (e.g., for EC2/Lambda), or the shared AWS credentials file.
122
122
 
123
123
  **config.ttl** (`object`): TTL (Time To Live) configuration for automatic data expiration. Configure per entity type: thread, message, trace, eval, workflow\_snapshot, resource, score. Each entity config includes: enabled (boolean), attributeName (string, default: 'ttl'), defaultTtlSeconds (number).
124
124
 
@@ -91,7 +91,7 @@ storage: new LibSQLStore({
91
91
 
92
92
  ## Options
93
93
 
94
- **url** (`string`): Database URL. Use \`:memory:\` for in-memory database, \`file:filename.db\` for a file database, or a libSQL connection string (e.g., \`libsql://your-database.turso.io\`) for remote storage.
94
+ **url** (`string`): Database URL. Use :memory: for in-memory database, file:filename.db for a file database, or a libSQL connection string (e.g., libsql://your-database.turso.io) for remote storage.
95
95
 
96
96
  **authToken** (`string`): Authentication token for remote libSQL databases.
97
97
 
@@ -45,7 +45,7 @@ const storage = new PostgresStore({
45
45
 
46
46
  **id** (`string`): Unique identifier for this storage instance.
47
47
 
48
- **connectionString** (`string`): PostgreSQL connection string (e.g., postgresql://user:pass\@host:5432/dbname). Required unless using \`pool\` or individual host-based parameters (\`host\`, \`port\`, \`database\`, \`user\`, \`password\`).
48
+ **connectionString** (`string`): PostgreSQL connection string (e.g., postgresql://user:pass\@host:5432/dbname). Required unless using pool or individual host-based parameters (host, port, database, user, password).
49
49
 
50
50
  **host** (`string`): Database server hostname or IP address. Used with other host-based parameters as an alternative to connectionString.
51
51
 
@@ -57,7 +57,7 @@ const storage = new PostgresStore({
57
57
 
58
58
  **password** (`string`): Password for the database user.
59
59
 
60
- **pool** (`pg.Pool`): Pre-configured pg.Pool instance. Use this to reuse an existing connection pool. When provided, Mastra will not create its own pool and will not close it when \`store.close()\` is called.
60
+ **pool** (`pg.Pool`): Pre-configured pg.Pool instance. Use this to reuse an existing connection pool. When provided, Mastra will not create its own pool and will not close it when store.close() is called.
61
61
 
62
62
  **schemaName** (`string`): The name of the schema you want the storage to use. Defaults to 'public'.
63
63
 
@@ -69,7 +69,7 @@ const storage = new RedisStore({
69
69
 
70
70
  **id** (`string`): Unique identifier for the storage instance
71
71
 
72
- **connectionString** (`string`): Redis connection URL (e.g., \`redis\://localhost:6379\` or \`redis\://:password\@localhost:6379\`)
72
+ **connectionString** (`string`): Redis connection URL (e.g., redis\://localhost:6379 or redis\://:password\@localhost:6379)
73
73
 
74
74
  **host** (`string`): Redis host address
75
75
 
@@ -79,7 +79,7 @@ const storage = new RedisStore({
79
79
 
80
80
  **db** (`number`): Redis database number (Default: `0`)
81
81
 
82
- **client** (`RedisClient`): Pre-configured redis client (from the \`redis\` package) for advanced setups
82
+ **client** (`RedisClient`): Pre-configured redis client (from the redis package) for advanced setups
83
83
 
84
84
  > **Note:** You must provide either `connectionString`, `host`, or `client`. These options are mutually exclusive.
85
85
 
@@ -103,7 +103,7 @@ Searches for similar vectors with optional metadata filtering.
103
103
 
104
104
  **topK** (`number`): Number of results to return (Default: `10`)
105
105
 
106
- **filter** (`Record<string, any>`): Metadata filters (applies to the \`metadata\` field)
106
+ **filter** (`Record<string, any>`): Metadata filters (applies to the metadata field)
107
107
 
108
108
  **documentFilter** (`Record<string, any>`): Filters on original document fields (not just metadata)
109
109
 
@@ -28,7 +28,7 @@ The PgVector class provides vector search using [PostgreSQL](https://www.postgre
28
28
 
29
29
  **pgPoolOptions** (`PoolConfig`): Additional pg pool configuration options
30
30
 
31
- **disableInit** (`boolean`): When true, automatic DDL (schema, extension, table, and index creation) inside \`createIndex\` is skipped. Useful for CI/CD pipelines where schema and indexes are managed separately and the runtime database role lacks DDL privileges. Can also be enabled with the \`MASTRA\_DISABLE\_STORAGE\_INIT\` environment variable. (Default: `false`)
31
+ **disableInit** (`boolean`): When true, automatic DDL (schema, extension, table, and index creation) inside createIndex is skipped. Useful for CI/CD pipelines where schema and indexes are managed separately and the runtime database role lacks DDL privileges. Can also be enabled with the MASTRA\_DISABLE\_STORAGE\_INIT environment variable. (Default: `false`)
32
32
 
33
33
  ## Constructor examples
34
34
 
package/dist/index.cjs CHANGED
@@ -1,57 +1,57 @@
1
1
  'use strict';
2
2
 
3
- var chunkYWAAIUB6_cjs = require('./chunk-YWAAIUB6.cjs');
3
+ var chunk3JX4RMDN_cjs = require('./chunk-3JX4RMDN.cjs');
4
4
  var chunk43FJOLKM_cjs = require('./chunk-43FJOLKM.cjs');
5
5
 
6
6
 
7
7
 
8
8
  Object.defineProperty(exports, "Extractor", {
9
9
  enumerable: true,
10
- get: function () { return chunkYWAAIUB6_cjs.Extractor; }
10
+ get: function () { return chunk3JX4RMDN_cjs.Extractor; }
11
11
  });
12
12
  Object.defineProperty(exports, "Memory", {
13
13
  enumerable: true,
14
- get: function () { return chunkYWAAIUB6_cjs.Memory; }
14
+ get: function () { return chunk3JX4RMDN_cjs.Memory; }
15
15
  });
16
16
  Object.defineProperty(exports, "MessageHistory", {
17
17
  enumerable: true,
18
- get: function () { return chunkYWAAIUB6_cjs.MessageHistory; }
18
+ get: function () { return chunk3JX4RMDN_cjs.MessageHistory; }
19
19
  });
20
20
  Object.defineProperty(exports, "ModelByInputTokens", {
21
21
  enumerable: true,
22
- get: function () { return chunkYWAAIUB6_cjs.ModelByInputTokens; }
22
+ get: function () { return chunk3JX4RMDN_cjs.ModelByInputTokens; }
23
23
  });
24
24
  Object.defineProperty(exports, "SemanticRecall", {
25
25
  enumerable: true,
26
- get: function () { return chunkYWAAIUB6_cjs.SemanticRecall; }
26
+ get: function () { return chunk3JX4RMDN_cjs.SemanticRecall; }
27
27
  });
28
28
  Object.defineProperty(exports, "WorkingMemory", {
29
29
  enumerable: true,
30
- get: function () { return chunkYWAAIUB6_cjs.WorkingMemory; }
30
+ get: function () { return chunk3JX4RMDN_cjs.WorkingMemory; }
31
31
  });
32
32
  Object.defineProperty(exports, "WorkingMemoryExtractor", {
33
33
  enumerable: true,
34
- get: function () { return chunkYWAAIUB6_cjs.WorkingMemoryExtractor; }
34
+ get: function () { return chunk3JX4RMDN_cjs.WorkingMemoryExtractor; }
35
35
  });
36
36
  Object.defineProperty(exports, "deepMergeWorkingMemory", {
37
37
  enumerable: true,
38
- get: function () { return chunkYWAAIUB6_cjs.deepMergeWorkingMemory; }
38
+ get: function () { return chunk3JX4RMDN_cjs.deepMergeWorkingMemory; }
39
39
  });
40
40
  Object.defineProperty(exports, "extractWorkingMemoryContent", {
41
41
  enumerable: true,
42
- get: function () { return chunkYWAAIUB6_cjs.extractWorkingMemoryContent; }
42
+ get: function () { return chunk3JX4RMDN_cjs.extractWorkingMemoryContent; }
43
43
  });
44
44
  Object.defineProperty(exports, "extractWorkingMemoryTags", {
45
45
  enumerable: true,
46
- get: function () { return chunkYWAAIUB6_cjs.extractWorkingMemoryTags; }
46
+ get: function () { return chunk3JX4RMDN_cjs.extractWorkingMemoryTags; }
47
47
  });
48
48
  Object.defineProperty(exports, "getObservationsAsOf", {
49
49
  enumerable: true,
50
- get: function () { return chunkYWAAIUB6_cjs.getObservationsAsOf; }
50
+ get: function () { return chunk3JX4RMDN_cjs.getObservationsAsOf; }
51
51
  });
52
52
  Object.defineProperty(exports, "removeWorkingMemoryTags", {
53
53
  enumerable: true,
54
- get: function () { return chunkYWAAIUB6_cjs.removeWorkingMemoryTags; }
54
+ get: function () { return chunk3JX4RMDN_cjs.removeWorkingMemoryTags; }
55
55
  });
56
56
  Object.defineProperty(exports, "WORKING_MEMORY_STATE_ID", {
57
57
  enumerable: true,
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- export { Extractor, Memory, MessageHistory, ModelByInputTokens, SemanticRecall, WorkingMemory, WorkingMemoryExtractor, deepMergeWorkingMemory, extractWorkingMemoryContent, extractWorkingMemoryTags, getObservationsAsOf, removeWorkingMemoryTags } from './chunk-2NSPHF6Q.js';
1
+ export { Extractor, Memory, MessageHistory, ModelByInputTokens, SemanticRecall, WorkingMemory, WorkingMemoryExtractor, deepMergeWorkingMemory, extractWorkingMemoryContent, extractWorkingMemoryTags, getObservationsAsOf, removeWorkingMemoryTags } from './chunk-TB6SV7QK.js';
2
2
  export { WORKING_MEMORY_STATE_ID, WORKING_MEMORY_STATE_PROCESSOR_ID, WorkingMemoryStateProcessor } from './chunk-WCGXQIEN.js';
3
3
  //# sourceMappingURL=index.js.map
4
4
  //# sourceMappingURL=index.js.map
@@ -1,4 +1,4 @@
1
- export { Extractor, ModelByInputTokens, OBSERVER_SYSTEM_PROMPT, ObservationalMemory, ObservationalMemoryProcessor, TokenCounter, WorkingMemoryExtractor, buildObserverPrompt, buildObserverSystemPrompt, combineObservationGroupRanges, deriveObservationGroupProvenance, extractCurrentTask, formatMessagesForObserver, getObservationsAsOf, hasCurrentTaskSection, injectAnchorIds, optimizeObservationsForContext, parseAnchorId, parseObservationGroups, parseObserverOutput, reconcileObservationGroupsFromReflection, renderObservationGroupsForReflection, stripEphemeralAnchorIds, stripObservationGroups, wrapInObservationGroup } from './chunk-2NSPHF6Q.js';
1
+ export { Extractor, ModelByInputTokens, OBSERVER_SYSTEM_PROMPT, ObservationalMemory, ObservationalMemoryProcessor, TokenCounter, WorkingMemoryExtractor, buildObserverPrompt, buildObserverSystemPrompt, combineObservationGroupRanges, deriveObservationGroupProvenance, extractCurrentTask, formatMessagesForObserver, getObservationsAsOf, hasCurrentTaskSection, injectAnchorIds, optimizeObservationsForContext, parseAnchorId, parseObservationGroups, parseObserverOutput, reconcileObservationGroupsFromReflection, renderObservationGroupsForReflection, stripEphemeralAnchorIds, stripObservationGroups, wrapInObservationGroup } from './chunk-TB6SV7QK.js';
2
2
  export { OBSERVATIONAL_MEMORY_DEFAULTS, OBSERVATION_CONTEXT_INSTRUCTIONS, OBSERVATION_CONTEXT_PROMPT, OBSERVATION_CONTINUATION_HINT } from './chunk-LSJJAJAF.js';
3
- //# sourceMappingURL=observational-memory-QL6BKIQX.js.map
4
- //# sourceMappingURL=observational-memory-QL6BKIQX.js.map
3
+ //# sourceMappingURL=observational-memory-NNGAOKRQ.js.map
4
+ //# sourceMappingURL=observational-memory-NNGAOKRQ.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":[],"names":[],"mappings":"","file":"observational-memory-QL6BKIQX.js"}
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"observational-memory-NNGAOKRQ.js"}
@@ -1,109 +1,109 @@
1
1
  'use strict';
2
2
 
3
- var chunkYWAAIUB6_cjs = require('./chunk-YWAAIUB6.cjs');
3
+ var chunk3JX4RMDN_cjs = require('./chunk-3JX4RMDN.cjs');
4
4
  var chunkD4J4XPGM_cjs = require('./chunk-D4J4XPGM.cjs');
5
5
 
6
6
 
7
7
 
8
8
  Object.defineProperty(exports, "Extractor", {
9
9
  enumerable: true,
10
- get: function () { return chunkYWAAIUB6_cjs.Extractor; }
10
+ get: function () { return chunk3JX4RMDN_cjs.Extractor; }
11
11
  });
12
12
  Object.defineProperty(exports, "ModelByInputTokens", {
13
13
  enumerable: true,
14
- get: function () { return chunkYWAAIUB6_cjs.ModelByInputTokens; }
14
+ get: function () { return chunk3JX4RMDN_cjs.ModelByInputTokens; }
15
15
  });
16
16
  Object.defineProperty(exports, "OBSERVER_SYSTEM_PROMPT", {
17
17
  enumerable: true,
18
- get: function () { return chunkYWAAIUB6_cjs.OBSERVER_SYSTEM_PROMPT; }
18
+ get: function () { return chunk3JX4RMDN_cjs.OBSERVER_SYSTEM_PROMPT; }
19
19
  });
20
20
  Object.defineProperty(exports, "ObservationalMemory", {
21
21
  enumerable: true,
22
- get: function () { return chunkYWAAIUB6_cjs.ObservationalMemory; }
22
+ get: function () { return chunk3JX4RMDN_cjs.ObservationalMemory; }
23
23
  });
24
24
  Object.defineProperty(exports, "ObservationalMemoryProcessor", {
25
25
  enumerable: true,
26
- get: function () { return chunkYWAAIUB6_cjs.ObservationalMemoryProcessor; }
26
+ get: function () { return chunk3JX4RMDN_cjs.ObservationalMemoryProcessor; }
27
27
  });
28
28
  Object.defineProperty(exports, "TokenCounter", {
29
29
  enumerable: true,
30
- get: function () { return chunkYWAAIUB6_cjs.TokenCounter; }
30
+ get: function () { return chunk3JX4RMDN_cjs.TokenCounter; }
31
31
  });
32
32
  Object.defineProperty(exports, "WorkingMemoryExtractor", {
33
33
  enumerable: true,
34
- get: function () { return chunkYWAAIUB6_cjs.WorkingMemoryExtractor; }
34
+ get: function () { return chunk3JX4RMDN_cjs.WorkingMemoryExtractor; }
35
35
  });
36
36
  Object.defineProperty(exports, "buildObserverPrompt", {
37
37
  enumerable: true,
38
- get: function () { return chunkYWAAIUB6_cjs.buildObserverPrompt; }
38
+ get: function () { return chunk3JX4RMDN_cjs.buildObserverPrompt; }
39
39
  });
40
40
  Object.defineProperty(exports, "buildObserverSystemPrompt", {
41
41
  enumerable: true,
42
- get: function () { return chunkYWAAIUB6_cjs.buildObserverSystemPrompt; }
42
+ get: function () { return chunk3JX4RMDN_cjs.buildObserverSystemPrompt; }
43
43
  });
44
44
  Object.defineProperty(exports, "combineObservationGroupRanges", {
45
45
  enumerable: true,
46
- get: function () { return chunkYWAAIUB6_cjs.combineObservationGroupRanges; }
46
+ get: function () { return chunk3JX4RMDN_cjs.combineObservationGroupRanges; }
47
47
  });
48
48
  Object.defineProperty(exports, "deriveObservationGroupProvenance", {
49
49
  enumerable: true,
50
- get: function () { return chunkYWAAIUB6_cjs.deriveObservationGroupProvenance; }
50
+ get: function () { return chunk3JX4RMDN_cjs.deriveObservationGroupProvenance; }
51
51
  });
52
52
  Object.defineProperty(exports, "extractCurrentTask", {
53
53
  enumerable: true,
54
- get: function () { return chunkYWAAIUB6_cjs.extractCurrentTask; }
54
+ get: function () { return chunk3JX4RMDN_cjs.extractCurrentTask; }
55
55
  });
56
56
  Object.defineProperty(exports, "formatMessagesForObserver", {
57
57
  enumerable: true,
58
- get: function () { return chunkYWAAIUB6_cjs.formatMessagesForObserver; }
58
+ get: function () { return chunk3JX4RMDN_cjs.formatMessagesForObserver; }
59
59
  });
60
60
  Object.defineProperty(exports, "getObservationsAsOf", {
61
61
  enumerable: true,
62
- get: function () { return chunkYWAAIUB6_cjs.getObservationsAsOf; }
62
+ get: function () { return chunk3JX4RMDN_cjs.getObservationsAsOf; }
63
63
  });
64
64
  Object.defineProperty(exports, "hasCurrentTaskSection", {
65
65
  enumerable: true,
66
- get: function () { return chunkYWAAIUB6_cjs.hasCurrentTaskSection; }
66
+ get: function () { return chunk3JX4RMDN_cjs.hasCurrentTaskSection; }
67
67
  });
68
68
  Object.defineProperty(exports, "injectAnchorIds", {
69
69
  enumerable: true,
70
- get: function () { return chunkYWAAIUB6_cjs.injectAnchorIds; }
70
+ get: function () { return chunk3JX4RMDN_cjs.injectAnchorIds; }
71
71
  });
72
72
  Object.defineProperty(exports, "optimizeObservationsForContext", {
73
73
  enumerable: true,
74
- get: function () { return chunkYWAAIUB6_cjs.optimizeObservationsForContext; }
74
+ get: function () { return chunk3JX4RMDN_cjs.optimizeObservationsForContext; }
75
75
  });
76
76
  Object.defineProperty(exports, "parseAnchorId", {
77
77
  enumerable: true,
78
- get: function () { return chunkYWAAIUB6_cjs.parseAnchorId; }
78
+ get: function () { return chunk3JX4RMDN_cjs.parseAnchorId; }
79
79
  });
80
80
  Object.defineProperty(exports, "parseObservationGroups", {
81
81
  enumerable: true,
82
- get: function () { return chunkYWAAIUB6_cjs.parseObservationGroups; }
82
+ get: function () { return chunk3JX4RMDN_cjs.parseObservationGroups; }
83
83
  });
84
84
  Object.defineProperty(exports, "parseObserverOutput", {
85
85
  enumerable: true,
86
- get: function () { return chunkYWAAIUB6_cjs.parseObserverOutput; }
86
+ get: function () { return chunk3JX4RMDN_cjs.parseObserverOutput; }
87
87
  });
88
88
  Object.defineProperty(exports, "reconcileObservationGroupsFromReflection", {
89
89
  enumerable: true,
90
- get: function () { return chunkYWAAIUB6_cjs.reconcileObservationGroupsFromReflection; }
90
+ get: function () { return chunk3JX4RMDN_cjs.reconcileObservationGroupsFromReflection; }
91
91
  });
92
92
  Object.defineProperty(exports, "renderObservationGroupsForReflection", {
93
93
  enumerable: true,
94
- get: function () { return chunkYWAAIUB6_cjs.renderObservationGroupsForReflection; }
94
+ get: function () { return chunk3JX4RMDN_cjs.renderObservationGroupsForReflection; }
95
95
  });
96
96
  Object.defineProperty(exports, "stripEphemeralAnchorIds", {
97
97
  enumerable: true,
98
- get: function () { return chunkYWAAIUB6_cjs.stripEphemeralAnchorIds; }
98
+ get: function () { return chunk3JX4RMDN_cjs.stripEphemeralAnchorIds; }
99
99
  });
100
100
  Object.defineProperty(exports, "stripObservationGroups", {
101
101
  enumerable: true,
102
- get: function () { return chunkYWAAIUB6_cjs.stripObservationGroups; }
102
+ get: function () { return chunk3JX4RMDN_cjs.stripObservationGroups; }
103
103
  });
104
104
  Object.defineProperty(exports, "wrapInObservationGroup", {
105
105
  enumerable: true,
106
- get: function () { return chunkYWAAIUB6_cjs.wrapInObservationGroup; }
106
+ get: function () { return chunk3JX4RMDN_cjs.wrapInObservationGroup; }
107
107
  });
108
108
  Object.defineProperty(exports, "OBSERVATIONAL_MEMORY_DEFAULTS", {
109
109
  enumerable: true,
@@ -121,5 +121,5 @@ Object.defineProperty(exports, "OBSERVATION_CONTINUATION_HINT", {
121
121
  enumerable: true,
122
122
  get: function () { return chunkD4J4XPGM_cjs.OBSERVATION_CONTINUATION_HINT; }
123
123
  });
124
- //# sourceMappingURL=observational-memory-CZ22AU3H.cjs.map
125
- //# sourceMappingURL=observational-memory-CZ22AU3H.cjs.map
124
+ //# sourceMappingURL=observational-memory-TEIGXE56.cjs.map
125
+ //# sourceMappingURL=observational-memory-TEIGXE56.cjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":[],"names":[],"mappings":"","file":"observational-memory-CZ22AU3H.cjs"}
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"observational-memory-TEIGXE56.cjs"}