@mastra/memory 1.23.0-alpha.2 → 1.23.0-alpha.4

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 (28) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/dist/{chunk-2ZR7CKDV.cjs → chunk-42LZUXJ3.cjs} +1985 -1149
  3. package/dist/chunk-42LZUXJ3.cjs.map +1 -0
  4. package/dist/{chunk-GHFCSEEP.js → chunk-6ACCFKAN.js} +1985 -1149
  5. package/dist/chunk-6ACCFKAN.js.map +1 -0
  6. package/dist/docs/SKILL.md +1 -1
  7. package/dist/docs/assets/SOURCE_MAP.json +57 -57
  8. package/dist/docs/references/docs-agents-supervisor-agents.md +1 -3
  9. package/dist/docs/references/docs-evals-evals-with-memory.md +1 -3
  10. package/dist/docs/references/docs-long-running-agents-background-tasks.md +1 -1
  11. package/dist/docs/references/docs-long-running-agents-goals.md +1 -3
  12. package/dist/docs/references/docs-memory-overview.md +4 -4
  13. package/dist/index.cjs +15 -15
  14. package/dist/index.js +1 -1
  15. package/dist/{observational-memory-RJL2PW6O.cjs → observational-memory-2F4GJOP2.cjs} +29 -29
  16. package/dist/{observational-memory-RJL2PW6O.cjs.map → observational-memory-2F4GJOP2.cjs.map} +1 -1
  17. package/dist/{observational-memory-HUPMKPOX.js → observational-memory-OJN26RQ4.js} +3 -3
  18. package/dist/{observational-memory-HUPMKPOX.js.map → observational-memory-OJN26RQ4.js.map} +1 -1
  19. package/dist/processors/index.cjs +27 -27
  20. package/dist/processors/index.js +1 -1
  21. package/dist/processors/observational-memory/observation-turn/step.d.ts +13 -0
  22. package/dist/processors/observational-memory/observation-turn/step.d.ts.map +1 -1
  23. package/dist/processors/observational-memory/observation-turn/turn.d.ts +25 -0
  24. package/dist/processors/observational-memory/observation-turn/turn.d.ts.map +1 -1
  25. package/dist/processors/observational-memory/processor.d.ts.map +1 -1
  26. package/package.json +9 -9
  27. package/dist/chunk-2ZR7CKDV.cjs.map +0 -1
  28. package/dist/chunk-GHFCSEEP.js.map +0 -1
@@ -3,7 +3,7 @@ name: mastra-memory
3
3
  description: Documentation for @mastra/memory. Use when working with @mastra/memory APIs, configuration, or implementation.
4
4
  metadata:
5
5
  package: "@mastra/memory"
6
- version: "1.23.0-alpha.2"
6
+ version: "1.23.0-alpha.4"
7
7
  ---
8
8
 
9
9
  ## When to use
@@ -1,133 +1,133 @@
1
1
  {
2
- "version": "1.23.0-alpha.2",
2
+ "version": "1.23.0-alpha.4",
3
3
  "package": "@mastra/memory",
4
4
  "exports": {
5
5
  "Extractor": {
6
6
  "types": "dist/processors/index.d.ts",
7
- "implementation": "dist/chunk-GHFCSEEP.js",
7
+ "implementation": "dist/chunk-6ACCFKAN.js",
8
8
  "line": 316
9
9
  },
10
10
  "ModelByInputTokens": {
11
11
  "types": "dist/processors/index.d.ts",
12
- "implementation": "dist/chunk-GHFCSEEP.js",
12
+ "implementation": "dist/chunk-6ACCFKAN.js",
13
13
  "line": 1354
14
14
  },
15
15
  "OBSERVER_SYSTEM_PROMPT": {
16
16
  "types": "dist/processors/index.d.ts",
17
- "implementation": "dist/chunk-GHFCSEEP.js"
17
+ "implementation": "dist/chunk-6ACCFKAN.js"
18
18
  },
19
19
  "ObservationalMemory": {
20
20
  "types": "dist/processors/index.d.ts",
21
- "implementation": "dist/chunk-GHFCSEEP.js",
22
- "line": 27685
21
+ "implementation": "dist/chunk-6ACCFKAN.js",
22
+ "line": 28518
23
23
  },
24
24
  "ObservationalMemoryProcessor": {
25
25
  "types": "dist/processors/index.d.ts",
26
- "implementation": "dist/chunk-GHFCSEEP.js",
27
- "line": 30316
26
+ "implementation": "dist/chunk-6ACCFKAN.js",
27
+ "line": 31152
28
28
  },
29
29
  "TokenCounter": {
30
30
  "types": "dist/processors/index.d.ts",
31
- "implementation": "dist/chunk-GHFCSEEP.js",
32
- "line": 21467
31
+ "implementation": "dist/chunk-6ACCFKAN.js",
32
+ "line": 22300
33
33
  },
34
34
  "WorkingMemoryExtractor": {
35
35
  "types": "dist/processors/index.d.ts",
36
- "implementation": "dist/chunk-GHFCSEEP.js",
37
- "line": 22134
36
+ "implementation": "dist/chunk-6ACCFKAN.js",
37
+ "line": 22967
38
38
  },
39
39
  "buildObserverPrompt": {
40
40
  "types": "dist/processors/index.d.ts",
41
- "implementation": "dist/chunk-GHFCSEEP.js",
42
- "line": 4465
41
+ "implementation": "dist/chunk-6ACCFKAN.js",
42
+ "line": 4504
43
43
  },
44
44
  "buildObserverSystemPrompt": {
45
45
  "types": "dist/processors/index.d.ts",
46
- "implementation": "dist/chunk-GHFCSEEP.js",
47
- "line": 3732
46
+ "implementation": "dist/chunk-6ACCFKAN.js",
47
+ "line": 3771
48
48
  },
49
49
  "combineObservationGroupRanges": {
50
50
  "types": "dist/processors/index.d.ts",
51
- "implementation": "dist/chunk-GHFCSEEP.js",
51
+ "implementation": "dist/chunk-6ACCFKAN.js",
52
52
  "line": 1446
53
53
  },
54
54
  "deriveObservationGroupProvenance": {
55
55
  "types": "dist/processors/index.d.ts",
56
- "implementation": "dist/chunk-GHFCSEEP.js",
56
+ "implementation": "dist/chunk-6ACCFKAN.js",
57
57
  "line": 1480
58
58
  },
59
59
  "extractCurrentTask": {
60
60
  "types": "dist/processors/index.d.ts",
61
- "implementation": "dist/chunk-GHFCSEEP.js",
62
- "line": 4588
61
+ "implementation": "dist/chunk-6ACCFKAN.js",
62
+ "line": 4627
63
63
  },
64
64
  "formatMessagesForObserver": {
65
65
  "types": "dist/processors/index.d.ts",
66
- "implementation": "dist/chunk-GHFCSEEP.js",
67
- "line": 4187
66
+ "implementation": "dist/chunk-6ACCFKAN.js",
67
+ "line": 4226
68
68
  },
69
69
  "getObservationsAsOf": {
70
70
  "types": "dist/processors/index.d.ts",
71
- "implementation": "dist/chunk-GHFCSEEP.js",
72
- "line": 30538
71
+ "implementation": "dist/chunk-6ACCFKAN.js",
72
+ "line": 31374
73
73
  },
74
74
  "hasCurrentTaskSection": {
75
75
  "types": "dist/processors/index.d.ts",
76
- "implementation": "dist/chunk-GHFCSEEP.js",
77
- "line": 4576
76
+ "implementation": "dist/chunk-6ACCFKAN.js",
77
+ "line": 4615
78
78
  },
79
79
  "injectAnchorIds": {
80
80
  "types": "dist/processors/index.d.ts",
81
- "implementation": "dist/chunk-GHFCSEEP.js",
82
- "line": 3287
81
+ "implementation": "dist/chunk-6ACCFKAN.js",
82
+ "line": 3326
83
83
  },
84
84
  "optimizeObservationsForContext": {
85
85
  "types": "dist/processors/index.d.ts",
86
- "implementation": "dist/chunk-GHFCSEEP.js",
87
- "line": 4599
86
+ "implementation": "dist/chunk-6ACCFKAN.js",
87
+ "line": 4638
88
88
  },
89
89
  "parseAnchorId": {
90
90
  "types": "dist/processors/index.d.ts",
91
- "implementation": "dist/chunk-GHFCSEEP.js",
92
- "line": 3260
91
+ "implementation": "dist/chunk-6ACCFKAN.js",
92
+ "line": 3299
93
93
  },
94
94
  "parseObservationGroups": {
95
95
  "types": "dist/processors/index.d.ts",
96
- "implementation": "dist/chunk-GHFCSEEP.js",
96
+ "implementation": "dist/chunk-6ACCFKAN.js",
97
97
  "line": 1415
98
98
  },
99
99
  "parseObserverOutput": {
100
100
  "types": "dist/processors/index.d.ts",
101
- "implementation": "dist/chunk-GHFCSEEP.js",
102
- "line": 4479
101
+ "implementation": "dist/chunk-6ACCFKAN.js",
102
+ "line": 4518
103
103
  },
104
104
  "reconcileObservationGroupsFromReflection": {
105
105
  "types": "dist/processors/index.d.ts",
106
- "implementation": "dist/chunk-GHFCSEEP.js",
106
+ "implementation": "dist/chunk-6ACCFKAN.js",
107
107
  "line": 1504
108
108
  },
109
109
  "renderObservationGroupsForReflection": {
110
110
  "types": "dist/processors/index.d.ts",
111
- "implementation": "dist/chunk-GHFCSEEP.js",
111
+ "implementation": "dist/chunk-6ACCFKAN.js",
112
112
  "line": 1460
113
113
  },
114
114
  "stripEphemeralAnchorIds": {
115
115
  "types": "dist/processors/index.d.ts",
116
- "implementation": "dist/chunk-GHFCSEEP.js",
117
- "line": 3317
116
+ "implementation": "dist/chunk-6ACCFKAN.js",
117
+ "line": 3356
118
118
  },
119
119
  "stripObservationGroups": {
120
120
  "types": "dist/processors/index.d.ts",
121
- "implementation": "dist/chunk-GHFCSEEP.js",
121
+ "implementation": "dist/chunk-6ACCFKAN.js",
122
122
  "line": 1437
123
123
  },
124
124
  "summarizeConversation": {
125
125
  "types": "dist/processors/index.d.ts",
126
- "implementation": "dist/chunk-GHFCSEEP.js"
126
+ "implementation": "dist/chunk-6ACCFKAN.js"
127
127
  },
128
128
  "wrapInObservationGroup": {
129
129
  "types": "dist/processors/index.d.ts",
130
- "implementation": "dist/chunk-GHFCSEEP.js",
130
+ "implementation": "dist/chunk-6ACCFKAN.js",
131
131
  "line": 1408
132
132
  },
133
133
  "OBSERVATIONAL_MEMORY_DEFAULTS": {
@@ -148,44 +148,44 @@
148
148
  },
149
149
  "Memory": {
150
150
  "types": "dist/index.d.ts",
151
- "implementation": "dist/chunk-GHFCSEEP.js",
152
- "line": 23559
151
+ "implementation": "dist/chunk-6ACCFKAN.js",
152
+ "line": 24392
153
153
  },
154
154
  "MessageHistory": {
155
155
  "types": "dist/index.d.ts",
156
- "implementation": "dist/chunk-GHFCSEEP.js"
156
+ "implementation": "dist/chunk-6ACCFKAN.js"
157
157
  },
158
158
  "SUMMARIZE_THREAD_DEFAULTS": {
159
159
  "types": "dist/index.d.ts",
160
- "implementation": "dist/chunk-GHFCSEEP.js"
160
+ "implementation": "dist/chunk-6ACCFKAN.js"
161
161
  },
162
162
  "SemanticRecall": {
163
163
  "types": "dist/index.d.ts",
164
- "implementation": "dist/chunk-GHFCSEEP.js"
164
+ "implementation": "dist/chunk-6ACCFKAN.js"
165
165
  },
166
166
  "WorkingMemory": {
167
167
  "types": "dist/index.d.ts",
168
- "implementation": "dist/chunk-GHFCSEEP.js"
168
+ "implementation": "dist/chunk-6ACCFKAN.js"
169
169
  },
170
170
  "deepMergeWorkingMemory": {
171
171
  "types": "dist/index.d.ts",
172
- "implementation": "dist/chunk-GHFCSEEP.js",
173
- "line": 23198
172
+ "implementation": "dist/chunk-6ACCFKAN.js",
173
+ "line": 24031
174
174
  },
175
175
  "extractWorkingMemoryContent": {
176
176
  "types": "dist/index.d.ts",
177
- "implementation": "dist/chunk-GHFCSEEP.js",
178
- "line": 23514
177
+ "implementation": "dist/chunk-6ACCFKAN.js",
178
+ "line": 24347
179
179
  },
180
180
  "extractWorkingMemoryTags": {
181
181
  "types": "dist/index.d.ts",
182
- "implementation": "dist/chunk-GHFCSEEP.js",
183
- "line": 23482
182
+ "implementation": "dist/chunk-6ACCFKAN.js",
183
+ "line": 24315
184
184
  },
185
185
  "removeWorkingMemoryTags": {
186
186
  "types": "dist/index.d.ts",
187
- "implementation": "dist/chunk-GHFCSEEP.js",
188
- "line": 23495
187
+ "implementation": "dist/chunk-6ACCFKAN.js",
188
+ "line": 24328
189
189
  },
190
190
  "WORKING_MEMORY_STATE_ID": {
191
191
  "types": "dist/index.d.ts",
@@ -205,7 +205,7 @@
205
205
  "processors": {
206
206
  "index": "dist/processors/index.js",
207
207
  "chunks": [
208
- "chunk-GHFCSEEP.js",
208
+ "chunk-6ACCFKAN.js",
209
209
  "chunk-LSJJAJAF.js"
210
210
  ]
211
211
  }
@@ -226,9 +226,7 @@ How it works:
226
226
  2. **Scoped memory saves**: Only the delegation prompt and the subagent's response are saved to the subagent's memory
227
227
  3. **Fresh thread per invocation**: Each delegation uses a unique thread ID, ensuring clean separation
228
228
 
229
- This ensures subagents have the context they need without cluttering their memory with the entire supervisor conversation.
230
-
231
- > **Note:** Visit [memory in multi-agent systems](https://mastra.ai/docs/memory/overview) for more details.
229
+ This ensures subagents have the context they need without cluttering their memory with the entire supervisor conversation. Visit [memory in multi-agent systems](https://mastra.ai/docs/memory/overview) for more details.
232
230
 
233
231
  ## Tool approval propagation
234
232
 
@@ -136,9 +136,7 @@ const summary = await dataset.startExperiment({
136
136
  })
137
137
  ```
138
138
 
139
- The inline `task` receives the item's `metadata`, so each row can drive its own thread without changing the agent or any scorer.
140
-
141
- > **Note:** Visit [runEvals reference](https://mastra.ai/reference/evals/run-evals) and [Dataset reference](https://mastra.ai/reference/datasets/dataset) for full configuration.
139
+ The inline `task` receives the item's `metadata`, so each row can drive its own thread without changing the agent or any scorer. Visit [runEvals reference](https://mastra.ai/reference/evals/run-evals) and [Dataset reference](https://mastra.ai/reference/datasets/dataset) for full configuration.
142
140
 
143
141
  ## Related
144
142
 
@@ -168,7 +168,7 @@ const stream = await agent.stream('Research solana for me', {
168
168
  })
169
169
  ```
170
170
 
171
- > **Note:** Visit [`Agent.stream()`](https://mastra.ai/reference/streaming/agents/stream) for the full API.
171
+ Visit [`Agent.stream()`](https://mastra.ai/reference/streaming/agents/stream) for the full API.
172
172
 
173
173
  ### Aggregate properties
174
174
 
@@ -103,9 +103,7 @@ await worker.updateObjectiveOptions({ threadId, maxRuns: 100 })
103
103
  await worker.clearObjective({ threadId })
104
104
  ```
105
105
 
106
- Per-objective values written by `setObjective` / `updateObjectiveOptions` take precedence over the agent's `goal` config, and that precedence is remembered in thread state.
107
-
108
- > **Note:** See the [`GoalEvaluationPayload` in the ChunkType reference](https://mastra.ai/reference/streaming/ChunkType) for the full goal chunk shape.
106
+ Per-objective values written by `setObjective` / `updateObjectiveOptions` take precedence over the agent's `goal` config, and that precedence is remembered in thread state. See the [`GoalEvaluationPayload` in the ChunkType reference](https://mastra.ai/reference/streaming/ChunkType) for the full goal chunk shape.
109
107
 
110
108
  ## Related
111
109
 
@@ -77,7 +77,7 @@ Use memory when your agent needs to maintain multi-turn conversations that refer
77
77
  bun add @mastra/libsql@latest
78
78
  ```
79
79
 
80
- > **Note:** For more details on available providers and how storage works in Mastra, visit the [storage](https://mastra.ai/docs/storage/overview) documentation.
80
+ For more details on available providers and how storage works in Mastra, visit the [storage](https://mastra.ai/docs/storage/overview) documentation.
81
81
 
82
82
  3. Add the storage provider to your main Mastra instance to enable memory across all configured agents.
83
83
 
@@ -110,7 +110,7 @@ Use memory when your agent needs to maintain multi-turn conversations that refer
110
110
  })
111
111
  ```
112
112
 
113
- > **Note:** Visit [Memory Class](https://mastra.ai/reference/memory/memory-class) for a full list of configuration options.
113
+ Visit [Memory Class](https://mastra.ai/reference/memory/memory-class) for a full list of configuration options.
114
114
 
115
115
  5. Call your agent, for example in [Studio](https://mastra.ai/docs/studio/overview). Inside Studio, start a new chat with your agent and take a look at the right sidebar. It'll now display various memory-related information.
116
116
 
@@ -166,7 +166,7 @@ export const memoryAgent = new Agent({
166
166
  })
167
167
  ```
168
168
 
169
- > **Note:** See [Observational Memory](https://mastra.ai/docs/memory/observational-memory) for details on how observations and reflections work, and [the reference](https://mastra.ai/reference/memory/observational-memory) for all configuration options.
169
+ See [Observational Memory](https://mastra.ai/docs/memory/observational-memory) for details on how observations and reflections work, and [the reference](https://mastra.ai/reference/memory/observational-memory) for all configuration options.
170
170
 
171
171
  ## Memory in multi-agent systems
172
172
 
@@ -238,7 +238,7 @@ export const memoryAgent = new Agent({
238
238
  })
239
239
  ```
240
240
 
241
- > **Note:** Visit [Request Context](https://mastra.ai/docs/server/request-context) for more information.
241
+ Visit [Request Context](https://mastra.ai/docs/server/request-context) for more information.
242
242
 
243
243
  ## Related
244
244
 
package/dist/index.cjs CHANGED
@@ -1,65 +1,65 @@
1
1
  'use strict';
2
2
 
3
- var chunk2ZR7CKDV_cjs = require('./chunk-2ZR7CKDV.cjs');
3
+ var chunk42LZUXJ3_cjs = require('./chunk-42LZUXJ3.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 chunk2ZR7CKDV_cjs.Extractor; }
10
+ get: function () { return chunk42LZUXJ3_cjs.Extractor; }
11
11
  });
12
12
  Object.defineProperty(exports, "Memory", {
13
13
  enumerable: true,
14
- get: function () { return chunk2ZR7CKDV_cjs.Memory; }
14
+ get: function () { return chunk42LZUXJ3_cjs.Memory; }
15
15
  });
16
16
  Object.defineProperty(exports, "MessageHistory", {
17
17
  enumerable: true,
18
- get: function () { return chunk2ZR7CKDV_cjs.MessageHistory; }
18
+ get: function () { return chunk42LZUXJ3_cjs.MessageHistory; }
19
19
  });
20
20
  Object.defineProperty(exports, "ModelByInputTokens", {
21
21
  enumerable: true,
22
- get: function () { return chunk2ZR7CKDV_cjs.ModelByInputTokens; }
22
+ get: function () { return chunk42LZUXJ3_cjs.ModelByInputTokens; }
23
23
  });
24
24
  Object.defineProperty(exports, "SUMMARIZE_THREAD_DEFAULTS", {
25
25
  enumerable: true,
26
- get: function () { return chunk2ZR7CKDV_cjs.SUMMARIZE_THREAD_DEFAULTS; }
26
+ get: function () { return chunk42LZUXJ3_cjs.SUMMARIZE_THREAD_DEFAULTS; }
27
27
  });
28
28
  Object.defineProperty(exports, "SemanticRecall", {
29
29
  enumerable: true,
30
- get: function () { return chunk2ZR7CKDV_cjs.SemanticRecall; }
30
+ get: function () { return chunk42LZUXJ3_cjs.SemanticRecall; }
31
31
  });
32
32
  Object.defineProperty(exports, "WorkingMemory", {
33
33
  enumerable: true,
34
- get: function () { return chunk2ZR7CKDV_cjs.WorkingMemory; }
34
+ get: function () { return chunk42LZUXJ3_cjs.WorkingMemory; }
35
35
  });
36
36
  Object.defineProperty(exports, "WorkingMemoryExtractor", {
37
37
  enumerable: true,
38
- get: function () { return chunk2ZR7CKDV_cjs.WorkingMemoryExtractor; }
38
+ get: function () { return chunk42LZUXJ3_cjs.WorkingMemoryExtractor; }
39
39
  });
40
40
  Object.defineProperty(exports, "deepMergeWorkingMemory", {
41
41
  enumerable: true,
42
- get: function () { return chunk2ZR7CKDV_cjs.deepMergeWorkingMemory; }
42
+ get: function () { return chunk42LZUXJ3_cjs.deepMergeWorkingMemory; }
43
43
  });
44
44
  Object.defineProperty(exports, "extractWorkingMemoryContent", {
45
45
  enumerable: true,
46
- get: function () { return chunk2ZR7CKDV_cjs.extractWorkingMemoryContent; }
46
+ get: function () { return chunk42LZUXJ3_cjs.extractWorkingMemoryContent; }
47
47
  });
48
48
  Object.defineProperty(exports, "extractWorkingMemoryTags", {
49
49
  enumerable: true,
50
- get: function () { return chunk2ZR7CKDV_cjs.extractWorkingMemoryTags; }
50
+ get: function () { return chunk42LZUXJ3_cjs.extractWorkingMemoryTags; }
51
51
  });
52
52
  Object.defineProperty(exports, "getObservationsAsOf", {
53
53
  enumerable: true,
54
- get: function () { return chunk2ZR7CKDV_cjs.getObservationsAsOf; }
54
+ get: function () { return chunk42LZUXJ3_cjs.getObservationsAsOf; }
55
55
  });
56
56
  Object.defineProperty(exports, "removeWorkingMemoryTags", {
57
57
  enumerable: true,
58
- get: function () { return chunk2ZR7CKDV_cjs.removeWorkingMemoryTags; }
58
+ get: function () { return chunk42LZUXJ3_cjs.removeWorkingMemoryTags; }
59
59
  });
60
60
  Object.defineProperty(exports, "summarizeConversation", {
61
61
  enumerable: true,
62
- get: function () { return chunk2ZR7CKDV_cjs.summarizeConversation; }
62
+ get: function () { return chunk42LZUXJ3_cjs.summarizeConversation; }
63
63
  });
64
64
  Object.defineProperty(exports, "WORKING_MEMORY_STATE_ID", {
65
65
  enumerable: true,
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- export { Extractor, Memory, MessageHistory, ModelByInputTokens, SUMMARIZE_THREAD_DEFAULTS, SemanticRecall, WorkingMemory, WorkingMemoryExtractor, deepMergeWorkingMemory, extractWorkingMemoryContent, extractWorkingMemoryTags, getObservationsAsOf, removeWorkingMemoryTags, summarizeConversation } from './chunk-GHFCSEEP.js';
1
+ export { Extractor, Memory, MessageHistory, ModelByInputTokens, SUMMARIZE_THREAD_DEFAULTS, SemanticRecall, WorkingMemory, WorkingMemoryExtractor, deepMergeWorkingMemory, extractWorkingMemoryContent, extractWorkingMemoryTags, getObservationsAsOf, removeWorkingMemoryTags, summarizeConversation } from './chunk-6ACCFKAN.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,113 +1,113 @@
1
1
  'use strict';
2
2
 
3
- var chunk2ZR7CKDV_cjs = require('./chunk-2ZR7CKDV.cjs');
3
+ var chunk42LZUXJ3_cjs = require('./chunk-42LZUXJ3.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 chunk2ZR7CKDV_cjs.Extractor; }
10
+ get: function () { return chunk42LZUXJ3_cjs.Extractor; }
11
11
  });
12
12
  Object.defineProperty(exports, "ModelByInputTokens", {
13
13
  enumerable: true,
14
- get: function () { return chunk2ZR7CKDV_cjs.ModelByInputTokens; }
14
+ get: function () { return chunk42LZUXJ3_cjs.ModelByInputTokens; }
15
15
  });
16
16
  Object.defineProperty(exports, "OBSERVER_SYSTEM_PROMPT", {
17
17
  enumerable: true,
18
- get: function () { return chunk2ZR7CKDV_cjs.OBSERVER_SYSTEM_PROMPT; }
18
+ get: function () { return chunk42LZUXJ3_cjs.OBSERVER_SYSTEM_PROMPT; }
19
19
  });
20
20
  Object.defineProperty(exports, "ObservationalMemory", {
21
21
  enumerable: true,
22
- get: function () { return chunk2ZR7CKDV_cjs.ObservationalMemory; }
22
+ get: function () { return chunk42LZUXJ3_cjs.ObservationalMemory; }
23
23
  });
24
24
  Object.defineProperty(exports, "ObservationalMemoryProcessor", {
25
25
  enumerable: true,
26
- get: function () { return chunk2ZR7CKDV_cjs.ObservationalMemoryProcessor; }
26
+ get: function () { return chunk42LZUXJ3_cjs.ObservationalMemoryProcessor; }
27
27
  });
28
28
  Object.defineProperty(exports, "TokenCounter", {
29
29
  enumerable: true,
30
- get: function () { return chunk2ZR7CKDV_cjs.TokenCounter; }
30
+ get: function () { return chunk42LZUXJ3_cjs.TokenCounter; }
31
31
  });
32
32
  Object.defineProperty(exports, "WorkingMemoryExtractor", {
33
33
  enumerable: true,
34
- get: function () { return chunk2ZR7CKDV_cjs.WorkingMemoryExtractor; }
34
+ get: function () { return chunk42LZUXJ3_cjs.WorkingMemoryExtractor; }
35
35
  });
36
36
  Object.defineProperty(exports, "buildObserverPrompt", {
37
37
  enumerable: true,
38
- get: function () { return chunk2ZR7CKDV_cjs.buildObserverPrompt; }
38
+ get: function () { return chunk42LZUXJ3_cjs.buildObserverPrompt; }
39
39
  });
40
40
  Object.defineProperty(exports, "buildObserverSystemPrompt", {
41
41
  enumerable: true,
42
- get: function () { return chunk2ZR7CKDV_cjs.buildObserverSystemPrompt; }
42
+ get: function () { return chunk42LZUXJ3_cjs.buildObserverSystemPrompt; }
43
43
  });
44
44
  Object.defineProperty(exports, "combineObservationGroupRanges", {
45
45
  enumerable: true,
46
- get: function () { return chunk2ZR7CKDV_cjs.combineObservationGroupRanges; }
46
+ get: function () { return chunk42LZUXJ3_cjs.combineObservationGroupRanges; }
47
47
  });
48
48
  Object.defineProperty(exports, "deriveObservationGroupProvenance", {
49
49
  enumerable: true,
50
- get: function () { return chunk2ZR7CKDV_cjs.deriveObservationGroupProvenance; }
50
+ get: function () { return chunk42LZUXJ3_cjs.deriveObservationGroupProvenance; }
51
51
  });
52
52
  Object.defineProperty(exports, "extractCurrentTask", {
53
53
  enumerable: true,
54
- get: function () { return chunk2ZR7CKDV_cjs.extractCurrentTask; }
54
+ get: function () { return chunk42LZUXJ3_cjs.extractCurrentTask; }
55
55
  });
56
56
  Object.defineProperty(exports, "formatMessagesForObserver", {
57
57
  enumerable: true,
58
- get: function () { return chunk2ZR7CKDV_cjs.formatMessagesForObserver; }
58
+ get: function () { return chunk42LZUXJ3_cjs.formatMessagesForObserver; }
59
59
  });
60
60
  Object.defineProperty(exports, "getObservationsAsOf", {
61
61
  enumerable: true,
62
- get: function () { return chunk2ZR7CKDV_cjs.getObservationsAsOf; }
62
+ get: function () { return chunk42LZUXJ3_cjs.getObservationsAsOf; }
63
63
  });
64
64
  Object.defineProperty(exports, "hasCurrentTaskSection", {
65
65
  enumerable: true,
66
- get: function () { return chunk2ZR7CKDV_cjs.hasCurrentTaskSection; }
66
+ get: function () { return chunk42LZUXJ3_cjs.hasCurrentTaskSection; }
67
67
  });
68
68
  Object.defineProperty(exports, "injectAnchorIds", {
69
69
  enumerable: true,
70
- get: function () { return chunk2ZR7CKDV_cjs.injectAnchorIds; }
70
+ get: function () { return chunk42LZUXJ3_cjs.injectAnchorIds; }
71
71
  });
72
72
  Object.defineProperty(exports, "optimizeObservationsForContext", {
73
73
  enumerable: true,
74
- get: function () { return chunk2ZR7CKDV_cjs.optimizeObservationsForContext; }
74
+ get: function () { return chunk42LZUXJ3_cjs.optimizeObservationsForContext; }
75
75
  });
76
76
  Object.defineProperty(exports, "parseAnchorId", {
77
77
  enumerable: true,
78
- get: function () { return chunk2ZR7CKDV_cjs.parseAnchorId; }
78
+ get: function () { return chunk42LZUXJ3_cjs.parseAnchorId; }
79
79
  });
80
80
  Object.defineProperty(exports, "parseObservationGroups", {
81
81
  enumerable: true,
82
- get: function () { return chunk2ZR7CKDV_cjs.parseObservationGroups; }
82
+ get: function () { return chunk42LZUXJ3_cjs.parseObservationGroups; }
83
83
  });
84
84
  Object.defineProperty(exports, "parseObserverOutput", {
85
85
  enumerable: true,
86
- get: function () { return chunk2ZR7CKDV_cjs.parseObserverOutput; }
86
+ get: function () { return chunk42LZUXJ3_cjs.parseObserverOutput; }
87
87
  });
88
88
  Object.defineProperty(exports, "reconcileObservationGroupsFromReflection", {
89
89
  enumerable: true,
90
- get: function () { return chunk2ZR7CKDV_cjs.reconcileObservationGroupsFromReflection; }
90
+ get: function () { return chunk42LZUXJ3_cjs.reconcileObservationGroupsFromReflection; }
91
91
  });
92
92
  Object.defineProperty(exports, "renderObservationGroupsForReflection", {
93
93
  enumerable: true,
94
- get: function () { return chunk2ZR7CKDV_cjs.renderObservationGroupsForReflection; }
94
+ get: function () { return chunk42LZUXJ3_cjs.renderObservationGroupsForReflection; }
95
95
  });
96
96
  Object.defineProperty(exports, "stripEphemeralAnchorIds", {
97
97
  enumerable: true,
98
- get: function () { return chunk2ZR7CKDV_cjs.stripEphemeralAnchorIds; }
98
+ get: function () { return chunk42LZUXJ3_cjs.stripEphemeralAnchorIds; }
99
99
  });
100
100
  Object.defineProperty(exports, "stripObservationGroups", {
101
101
  enumerable: true,
102
- get: function () { return chunk2ZR7CKDV_cjs.stripObservationGroups; }
102
+ get: function () { return chunk42LZUXJ3_cjs.stripObservationGroups; }
103
103
  });
104
104
  Object.defineProperty(exports, "summarizeConversation", {
105
105
  enumerable: true,
106
- get: function () { return chunk2ZR7CKDV_cjs.summarizeConversation; }
106
+ get: function () { return chunk42LZUXJ3_cjs.summarizeConversation; }
107
107
  });
108
108
  Object.defineProperty(exports, "wrapInObservationGroup", {
109
109
  enumerable: true,
110
- get: function () { return chunk2ZR7CKDV_cjs.wrapInObservationGroup; }
110
+ get: function () { return chunk42LZUXJ3_cjs.wrapInObservationGroup; }
111
111
  });
112
112
  Object.defineProperty(exports, "OBSERVATIONAL_MEMORY_DEFAULTS", {
113
113
  enumerable: true,
@@ -125,5 +125,5 @@ Object.defineProperty(exports, "OBSERVATION_CONTINUATION_HINT", {
125
125
  enumerable: true,
126
126
  get: function () { return chunkD4J4XPGM_cjs.OBSERVATION_CONTINUATION_HINT; }
127
127
  });
128
- //# sourceMappingURL=observational-memory-RJL2PW6O.cjs.map
129
- //# sourceMappingURL=observational-memory-RJL2PW6O.cjs.map
128
+ //# sourceMappingURL=observational-memory-2F4GJOP2.cjs.map
129
+ //# sourceMappingURL=observational-memory-2F4GJOP2.cjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":[],"names":[],"mappings":"","file":"observational-memory-RJL2PW6O.cjs"}
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"observational-memory-2F4GJOP2.cjs"}
@@ -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, summarizeConversation, wrapInObservationGroup } from './chunk-GHFCSEEP.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, summarizeConversation, wrapInObservationGroup } from './chunk-6ACCFKAN.js';
2
2
  export { OBSERVATIONAL_MEMORY_DEFAULTS, OBSERVATION_CONTEXT_INSTRUCTIONS, OBSERVATION_CONTEXT_PROMPT, OBSERVATION_CONTINUATION_HINT } from './chunk-LSJJAJAF.js';
3
- //# sourceMappingURL=observational-memory-HUPMKPOX.js.map
4
- //# sourceMappingURL=observational-memory-HUPMKPOX.js.map
3
+ //# sourceMappingURL=observational-memory-OJN26RQ4.js.map
4
+ //# sourceMappingURL=observational-memory-OJN26RQ4.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":[],"names":[],"mappings":"","file":"observational-memory-HUPMKPOX.js"}
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"observational-memory-OJN26RQ4.js"}