@mastra/memory 1.23.1-alpha.1 → 1.23.1
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/CHANGELOG.md +11 -0
- package/dist/{chunk-YNTQFC3L.cjs → chunk-TSABI3S4.cjs} +10 -10
- package/dist/{chunk-YNTQFC3L.cjs.map → chunk-TSABI3S4.cjs.map} +1 -1
- package/dist/{chunk-YXN553WT.js → chunk-XOCZP6LJ.js} +10 -10
- package/dist/{chunk-YXN553WT.js.map → chunk-XOCZP6LJ.js.map} +1 -1
- package/dist/docs/SKILL.md +1 -1
- package/dist/docs/assets/SOURCE_MAP.json +37 -37
- package/dist/docs/references/docs-long-running-agents-goals.md +3 -1
- package/dist/index.cjs +15 -15
- package/dist/index.js +1 -1
- package/dist/{observational-memory-ZYY4KPCN.js → observational-memory-HQ4AP566.js} +3 -3
- package/dist/{observational-memory-ZYY4KPCN.js.map → observational-memory-HQ4AP566.js.map} +1 -1
- package/dist/{observational-memory-OD3W7JXC.cjs → observational-memory-NZSUTGPH.cjs} +29 -29
- package/dist/{observational-memory-OD3W7JXC.cjs.map → observational-memory-NZSUTGPH.cjs.map} +1 -1
- package/dist/processors/index.cjs +27 -27
- package/dist/processors/index.js +1 -1
- package/package.json +9 -9
package/dist/docs/SKILL.md
CHANGED
|
@@ -1,133 +1,133 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "1.23.1
|
|
2
|
+
"version": "1.23.1",
|
|
3
3
|
"package": "@mastra/memory",
|
|
4
4
|
"exports": {
|
|
5
5
|
"Extractor": {
|
|
6
6
|
"types": "dist/processors/index.d.ts",
|
|
7
|
-
"implementation": "dist/chunk-
|
|
7
|
+
"implementation": "dist/chunk-XOCZP6LJ.js",
|
|
8
8
|
"line": 316
|
|
9
9
|
},
|
|
10
10
|
"ModelByInputTokens": {
|
|
11
11
|
"types": "dist/processors/index.d.ts",
|
|
12
|
-
"implementation": "dist/chunk-
|
|
12
|
+
"implementation": "dist/chunk-XOCZP6LJ.js",
|
|
13
13
|
"line": 1354
|
|
14
14
|
},
|
|
15
15
|
"OBSERVER_SYSTEM_PROMPT": {
|
|
16
16
|
"types": "dist/processors/index.d.ts",
|
|
17
|
-
"implementation": "dist/chunk-
|
|
17
|
+
"implementation": "dist/chunk-XOCZP6LJ.js"
|
|
18
18
|
},
|
|
19
19
|
"ObservationalMemory": {
|
|
20
20
|
"types": "dist/processors/index.d.ts",
|
|
21
|
-
"implementation": "dist/chunk-
|
|
21
|
+
"implementation": "dist/chunk-XOCZP6LJ.js",
|
|
22
22
|
"line": 28549
|
|
23
23
|
},
|
|
24
24
|
"ObservationalMemoryProcessor": {
|
|
25
25
|
"types": "dist/processors/index.d.ts",
|
|
26
|
-
"implementation": "dist/chunk-
|
|
26
|
+
"implementation": "dist/chunk-XOCZP6LJ.js",
|
|
27
27
|
"line": 31183
|
|
28
28
|
},
|
|
29
29
|
"TokenCounter": {
|
|
30
30
|
"types": "dist/processors/index.d.ts",
|
|
31
|
-
"implementation": "dist/chunk-
|
|
31
|
+
"implementation": "dist/chunk-XOCZP6LJ.js",
|
|
32
32
|
"line": 22331
|
|
33
33
|
},
|
|
34
34
|
"WorkingMemoryExtractor": {
|
|
35
35
|
"types": "dist/processors/index.d.ts",
|
|
36
|
-
"implementation": "dist/chunk-
|
|
36
|
+
"implementation": "dist/chunk-XOCZP6LJ.js",
|
|
37
37
|
"line": 22998
|
|
38
38
|
},
|
|
39
39
|
"buildObserverPrompt": {
|
|
40
40
|
"types": "dist/processors/index.d.ts",
|
|
41
|
-
"implementation": "dist/chunk-
|
|
41
|
+
"implementation": "dist/chunk-XOCZP6LJ.js",
|
|
42
42
|
"line": 4504
|
|
43
43
|
},
|
|
44
44
|
"buildObserverSystemPrompt": {
|
|
45
45
|
"types": "dist/processors/index.d.ts",
|
|
46
|
-
"implementation": "dist/chunk-
|
|
46
|
+
"implementation": "dist/chunk-XOCZP6LJ.js",
|
|
47
47
|
"line": 3771
|
|
48
48
|
},
|
|
49
49
|
"combineObservationGroupRanges": {
|
|
50
50
|
"types": "dist/processors/index.d.ts",
|
|
51
|
-
"implementation": "dist/chunk-
|
|
51
|
+
"implementation": "dist/chunk-XOCZP6LJ.js",
|
|
52
52
|
"line": 1446
|
|
53
53
|
},
|
|
54
54
|
"deriveObservationGroupProvenance": {
|
|
55
55
|
"types": "dist/processors/index.d.ts",
|
|
56
|
-
"implementation": "dist/chunk-
|
|
56
|
+
"implementation": "dist/chunk-XOCZP6LJ.js",
|
|
57
57
|
"line": 1480
|
|
58
58
|
},
|
|
59
59
|
"extractCurrentTask": {
|
|
60
60
|
"types": "dist/processors/index.d.ts",
|
|
61
|
-
"implementation": "dist/chunk-
|
|
61
|
+
"implementation": "dist/chunk-XOCZP6LJ.js",
|
|
62
62
|
"line": 4627
|
|
63
63
|
},
|
|
64
64
|
"formatMessagesForObserver": {
|
|
65
65
|
"types": "dist/processors/index.d.ts",
|
|
66
|
-
"implementation": "dist/chunk-
|
|
66
|
+
"implementation": "dist/chunk-XOCZP6LJ.js",
|
|
67
67
|
"line": 4226
|
|
68
68
|
},
|
|
69
69
|
"getObservationsAsOf": {
|
|
70
70
|
"types": "dist/processors/index.d.ts",
|
|
71
|
-
"implementation": "dist/chunk-
|
|
71
|
+
"implementation": "dist/chunk-XOCZP6LJ.js",
|
|
72
72
|
"line": 31405
|
|
73
73
|
},
|
|
74
74
|
"hasCurrentTaskSection": {
|
|
75
75
|
"types": "dist/processors/index.d.ts",
|
|
76
|
-
"implementation": "dist/chunk-
|
|
76
|
+
"implementation": "dist/chunk-XOCZP6LJ.js",
|
|
77
77
|
"line": 4615
|
|
78
78
|
},
|
|
79
79
|
"injectAnchorIds": {
|
|
80
80
|
"types": "dist/processors/index.d.ts",
|
|
81
|
-
"implementation": "dist/chunk-
|
|
81
|
+
"implementation": "dist/chunk-XOCZP6LJ.js",
|
|
82
82
|
"line": 3326
|
|
83
83
|
},
|
|
84
84
|
"optimizeObservationsForContext": {
|
|
85
85
|
"types": "dist/processors/index.d.ts",
|
|
86
|
-
"implementation": "dist/chunk-
|
|
86
|
+
"implementation": "dist/chunk-XOCZP6LJ.js",
|
|
87
87
|
"line": 4638
|
|
88
88
|
},
|
|
89
89
|
"parseAnchorId": {
|
|
90
90
|
"types": "dist/processors/index.d.ts",
|
|
91
|
-
"implementation": "dist/chunk-
|
|
91
|
+
"implementation": "dist/chunk-XOCZP6LJ.js",
|
|
92
92
|
"line": 3299
|
|
93
93
|
},
|
|
94
94
|
"parseObservationGroups": {
|
|
95
95
|
"types": "dist/processors/index.d.ts",
|
|
96
|
-
"implementation": "dist/chunk-
|
|
96
|
+
"implementation": "dist/chunk-XOCZP6LJ.js",
|
|
97
97
|
"line": 1415
|
|
98
98
|
},
|
|
99
99
|
"parseObserverOutput": {
|
|
100
100
|
"types": "dist/processors/index.d.ts",
|
|
101
|
-
"implementation": "dist/chunk-
|
|
101
|
+
"implementation": "dist/chunk-XOCZP6LJ.js",
|
|
102
102
|
"line": 4518
|
|
103
103
|
},
|
|
104
104
|
"reconcileObservationGroupsFromReflection": {
|
|
105
105
|
"types": "dist/processors/index.d.ts",
|
|
106
|
-
"implementation": "dist/chunk-
|
|
106
|
+
"implementation": "dist/chunk-XOCZP6LJ.js",
|
|
107
107
|
"line": 1504
|
|
108
108
|
},
|
|
109
109
|
"renderObservationGroupsForReflection": {
|
|
110
110
|
"types": "dist/processors/index.d.ts",
|
|
111
|
-
"implementation": "dist/chunk-
|
|
111
|
+
"implementation": "dist/chunk-XOCZP6LJ.js",
|
|
112
112
|
"line": 1460
|
|
113
113
|
},
|
|
114
114
|
"stripEphemeralAnchorIds": {
|
|
115
115
|
"types": "dist/processors/index.d.ts",
|
|
116
|
-
"implementation": "dist/chunk-
|
|
116
|
+
"implementation": "dist/chunk-XOCZP6LJ.js",
|
|
117
117
|
"line": 3356
|
|
118
118
|
},
|
|
119
119
|
"stripObservationGroups": {
|
|
120
120
|
"types": "dist/processors/index.d.ts",
|
|
121
|
-
"implementation": "dist/chunk-
|
|
121
|
+
"implementation": "dist/chunk-XOCZP6LJ.js",
|
|
122
122
|
"line": 1437
|
|
123
123
|
},
|
|
124
124
|
"summarizeConversation": {
|
|
125
125
|
"types": "dist/processors/index.d.ts",
|
|
126
|
-
"implementation": "dist/chunk-
|
|
126
|
+
"implementation": "dist/chunk-XOCZP6LJ.js"
|
|
127
127
|
},
|
|
128
128
|
"wrapInObservationGroup": {
|
|
129
129
|
"types": "dist/processors/index.d.ts",
|
|
130
|
-
"implementation": "dist/chunk-
|
|
130
|
+
"implementation": "dist/chunk-XOCZP6LJ.js",
|
|
131
131
|
"line": 1408
|
|
132
132
|
},
|
|
133
133
|
"OBSERVATIONAL_MEMORY_DEFAULTS": {
|
|
@@ -148,43 +148,43 @@
|
|
|
148
148
|
},
|
|
149
149
|
"Memory": {
|
|
150
150
|
"types": "dist/index.d.ts",
|
|
151
|
-
"implementation": "dist/chunk-
|
|
151
|
+
"implementation": "dist/chunk-XOCZP6LJ.js",
|
|
152
152
|
"line": 24423
|
|
153
153
|
},
|
|
154
154
|
"MessageHistory": {
|
|
155
155
|
"types": "dist/index.d.ts",
|
|
156
|
-
"implementation": "dist/chunk-
|
|
156
|
+
"implementation": "dist/chunk-XOCZP6LJ.js"
|
|
157
157
|
},
|
|
158
158
|
"SUMMARIZE_THREAD_DEFAULTS": {
|
|
159
159
|
"types": "dist/index.d.ts",
|
|
160
|
-
"implementation": "dist/chunk-
|
|
160
|
+
"implementation": "dist/chunk-XOCZP6LJ.js"
|
|
161
161
|
},
|
|
162
162
|
"SemanticRecall": {
|
|
163
163
|
"types": "dist/index.d.ts",
|
|
164
|
-
"implementation": "dist/chunk-
|
|
164
|
+
"implementation": "dist/chunk-XOCZP6LJ.js"
|
|
165
165
|
},
|
|
166
166
|
"WorkingMemory": {
|
|
167
167
|
"types": "dist/index.d.ts",
|
|
168
|
-
"implementation": "dist/chunk-
|
|
168
|
+
"implementation": "dist/chunk-XOCZP6LJ.js"
|
|
169
169
|
},
|
|
170
170
|
"deepMergeWorkingMemory": {
|
|
171
171
|
"types": "dist/index.d.ts",
|
|
172
|
-
"implementation": "dist/chunk-
|
|
172
|
+
"implementation": "dist/chunk-XOCZP6LJ.js",
|
|
173
173
|
"line": 24062
|
|
174
174
|
},
|
|
175
175
|
"extractWorkingMemoryContent": {
|
|
176
176
|
"types": "dist/index.d.ts",
|
|
177
|
-
"implementation": "dist/chunk-
|
|
177
|
+
"implementation": "dist/chunk-XOCZP6LJ.js",
|
|
178
178
|
"line": 24378
|
|
179
179
|
},
|
|
180
180
|
"extractWorkingMemoryTags": {
|
|
181
181
|
"types": "dist/index.d.ts",
|
|
182
|
-
"implementation": "dist/chunk-
|
|
182
|
+
"implementation": "dist/chunk-XOCZP6LJ.js",
|
|
183
183
|
"line": 24346
|
|
184
184
|
},
|
|
185
185
|
"removeWorkingMemoryTags": {
|
|
186
186
|
"types": "dist/index.d.ts",
|
|
187
|
-
"implementation": "dist/chunk-
|
|
187
|
+
"implementation": "dist/chunk-XOCZP6LJ.js",
|
|
188
188
|
"line": 24359
|
|
189
189
|
},
|
|
190
190
|
"WORKING_MEMORY_STATE_ID": {
|
|
@@ -205,7 +205,7 @@
|
|
|
205
205
|
"processors": {
|
|
206
206
|
"index": "dist/processors/index.js",
|
|
207
207
|
"chunks": [
|
|
208
|
-
"chunk-
|
|
208
|
+
"chunk-XOCZP6LJ.js",
|
|
209
209
|
"chunk-LSJJAJAF.js"
|
|
210
210
|
]
|
|
211
211
|
}
|
|
@@ -59,7 +59,7 @@ A goal step runs inside the agentic execution loop, right after `isTaskComplete`
|
|
|
59
59
|
|
|
60
60
|
- **Not satisfied, budget remaining** → the loop continues; per-evaluation feedback is injected so the agent iterates.
|
|
61
61
|
- **Satisfied** → the loop stops and the objective is marked `done`.
|
|
62
|
-
- **Budget exhausted** (`runsUsed >= maxRuns`) → the loop stops
|
|
62
|
+
- **Budget exhausted** (`runsUsed >= maxRuns`) → the loop stops and the objective is marked `paused`. Raise `maxRuns`, then resume the objective to continue.
|
|
63
63
|
|
|
64
64
|
The step is a no-op for background-task, mid-tool-loop, and working-memory-only iterations — the same gating as `isTaskComplete`.
|
|
65
65
|
|
|
@@ -103,6 +103,8 @@ await worker.updateObjectiveOptions({ threadId, maxRuns: 100 })
|
|
|
103
103
|
await worker.clearObjective({ threadId })
|
|
104
104
|
```
|
|
105
105
|
|
|
106
|
+
Objective records include an optional `activeDurationMs` value for user interfaces that display active pursuit time. Mastra advances this value while an agent runs toward an active objective and checkpoints it when the run ends or waits for tool approval. Missing values represent zero, and the duration measures agent execution rather than the goal's wall-clock age.
|
|
107
|
+
|
|
106
108
|
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.
|
|
107
109
|
|
|
108
110
|
## Related
|
package/dist/index.cjs
CHANGED
|
@@ -1,65 +1,65 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkTSABI3S4_cjs = require('./chunk-TSABI3S4.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
|
|
10
|
+
get: function () { return chunkTSABI3S4_cjs.Extractor; }
|
|
11
11
|
});
|
|
12
12
|
Object.defineProperty(exports, "Memory", {
|
|
13
13
|
enumerable: true,
|
|
14
|
-
get: function () { return
|
|
14
|
+
get: function () { return chunkTSABI3S4_cjs.Memory; }
|
|
15
15
|
});
|
|
16
16
|
Object.defineProperty(exports, "MessageHistory", {
|
|
17
17
|
enumerable: true,
|
|
18
|
-
get: function () { return
|
|
18
|
+
get: function () { return chunkTSABI3S4_cjs.MessageHistory; }
|
|
19
19
|
});
|
|
20
20
|
Object.defineProperty(exports, "ModelByInputTokens", {
|
|
21
21
|
enumerable: true,
|
|
22
|
-
get: function () { return
|
|
22
|
+
get: function () { return chunkTSABI3S4_cjs.ModelByInputTokens; }
|
|
23
23
|
});
|
|
24
24
|
Object.defineProperty(exports, "SUMMARIZE_THREAD_DEFAULTS", {
|
|
25
25
|
enumerable: true,
|
|
26
|
-
get: function () { return
|
|
26
|
+
get: function () { return chunkTSABI3S4_cjs.SUMMARIZE_THREAD_DEFAULTS; }
|
|
27
27
|
});
|
|
28
28
|
Object.defineProperty(exports, "SemanticRecall", {
|
|
29
29
|
enumerable: true,
|
|
30
|
-
get: function () { return
|
|
30
|
+
get: function () { return chunkTSABI3S4_cjs.SemanticRecall; }
|
|
31
31
|
});
|
|
32
32
|
Object.defineProperty(exports, "WorkingMemory", {
|
|
33
33
|
enumerable: true,
|
|
34
|
-
get: function () { return
|
|
34
|
+
get: function () { return chunkTSABI3S4_cjs.WorkingMemory; }
|
|
35
35
|
});
|
|
36
36
|
Object.defineProperty(exports, "WorkingMemoryExtractor", {
|
|
37
37
|
enumerable: true,
|
|
38
|
-
get: function () { return
|
|
38
|
+
get: function () { return chunkTSABI3S4_cjs.WorkingMemoryExtractor; }
|
|
39
39
|
});
|
|
40
40
|
Object.defineProperty(exports, "deepMergeWorkingMemory", {
|
|
41
41
|
enumerable: true,
|
|
42
|
-
get: function () { return
|
|
42
|
+
get: function () { return chunkTSABI3S4_cjs.deepMergeWorkingMemory; }
|
|
43
43
|
});
|
|
44
44
|
Object.defineProperty(exports, "extractWorkingMemoryContent", {
|
|
45
45
|
enumerable: true,
|
|
46
|
-
get: function () { return
|
|
46
|
+
get: function () { return chunkTSABI3S4_cjs.extractWorkingMemoryContent; }
|
|
47
47
|
});
|
|
48
48
|
Object.defineProperty(exports, "extractWorkingMemoryTags", {
|
|
49
49
|
enumerable: true,
|
|
50
|
-
get: function () { return
|
|
50
|
+
get: function () { return chunkTSABI3S4_cjs.extractWorkingMemoryTags; }
|
|
51
51
|
});
|
|
52
52
|
Object.defineProperty(exports, "getObservationsAsOf", {
|
|
53
53
|
enumerable: true,
|
|
54
|
-
get: function () { return
|
|
54
|
+
get: function () { return chunkTSABI3S4_cjs.getObservationsAsOf; }
|
|
55
55
|
});
|
|
56
56
|
Object.defineProperty(exports, "removeWorkingMemoryTags", {
|
|
57
57
|
enumerable: true,
|
|
58
|
-
get: function () { return
|
|
58
|
+
get: function () { return chunkTSABI3S4_cjs.removeWorkingMemoryTags; }
|
|
59
59
|
});
|
|
60
60
|
Object.defineProperty(exports, "summarizeConversation", {
|
|
61
61
|
enumerable: true,
|
|
62
|
-
get: function () { return
|
|
62
|
+
get: function () { return chunkTSABI3S4_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-
|
|
1
|
+
export { Extractor, Memory, MessageHistory, ModelByInputTokens, SUMMARIZE_THREAD_DEFAULTS, SemanticRecall, WorkingMemory, WorkingMemoryExtractor, deepMergeWorkingMemory, extractWorkingMemoryContent, extractWorkingMemoryTags, getObservationsAsOf, removeWorkingMemoryTags, summarizeConversation } from './chunk-XOCZP6LJ.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, summarizeConversation, wrapInObservationGroup } from './chunk-
|
|
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-XOCZP6LJ.js';
|
|
2
2
|
export { OBSERVATIONAL_MEMORY_DEFAULTS, OBSERVATION_CONTEXT_INSTRUCTIONS, OBSERVATION_CONTEXT_PROMPT, OBSERVATION_CONTINUATION_HINT } from './chunk-LSJJAJAF.js';
|
|
3
|
-
//# sourceMappingURL=observational-memory-
|
|
4
|
-
//# sourceMappingURL=observational-memory-
|
|
3
|
+
//# sourceMappingURL=observational-memory-HQ4AP566.js.map
|
|
4
|
+
//# sourceMappingURL=observational-memory-HQ4AP566.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"observational-memory-
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"observational-memory-HQ4AP566.js"}
|
|
@@ -1,113 +1,113 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkTSABI3S4_cjs = require('./chunk-TSABI3S4.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
|
|
10
|
+
get: function () { return chunkTSABI3S4_cjs.Extractor; }
|
|
11
11
|
});
|
|
12
12
|
Object.defineProperty(exports, "ModelByInputTokens", {
|
|
13
13
|
enumerable: true,
|
|
14
|
-
get: function () { return
|
|
14
|
+
get: function () { return chunkTSABI3S4_cjs.ModelByInputTokens; }
|
|
15
15
|
});
|
|
16
16
|
Object.defineProperty(exports, "OBSERVER_SYSTEM_PROMPT", {
|
|
17
17
|
enumerable: true,
|
|
18
|
-
get: function () { return
|
|
18
|
+
get: function () { return chunkTSABI3S4_cjs.OBSERVER_SYSTEM_PROMPT; }
|
|
19
19
|
});
|
|
20
20
|
Object.defineProperty(exports, "ObservationalMemory", {
|
|
21
21
|
enumerable: true,
|
|
22
|
-
get: function () { return
|
|
22
|
+
get: function () { return chunkTSABI3S4_cjs.ObservationalMemory; }
|
|
23
23
|
});
|
|
24
24
|
Object.defineProperty(exports, "ObservationalMemoryProcessor", {
|
|
25
25
|
enumerable: true,
|
|
26
|
-
get: function () { return
|
|
26
|
+
get: function () { return chunkTSABI3S4_cjs.ObservationalMemoryProcessor; }
|
|
27
27
|
});
|
|
28
28
|
Object.defineProperty(exports, "TokenCounter", {
|
|
29
29
|
enumerable: true,
|
|
30
|
-
get: function () { return
|
|
30
|
+
get: function () { return chunkTSABI3S4_cjs.TokenCounter; }
|
|
31
31
|
});
|
|
32
32
|
Object.defineProperty(exports, "WorkingMemoryExtractor", {
|
|
33
33
|
enumerable: true,
|
|
34
|
-
get: function () { return
|
|
34
|
+
get: function () { return chunkTSABI3S4_cjs.WorkingMemoryExtractor; }
|
|
35
35
|
});
|
|
36
36
|
Object.defineProperty(exports, "buildObserverPrompt", {
|
|
37
37
|
enumerable: true,
|
|
38
|
-
get: function () { return
|
|
38
|
+
get: function () { return chunkTSABI3S4_cjs.buildObserverPrompt; }
|
|
39
39
|
});
|
|
40
40
|
Object.defineProperty(exports, "buildObserverSystemPrompt", {
|
|
41
41
|
enumerable: true,
|
|
42
|
-
get: function () { return
|
|
42
|
+
get: function () { return chunkTSABI3S4_cjs.buildObserverSystemPrompt; }
|
|
43
43
|
});
|
|
44
44
|
Object.defineProperty(exports, "combineObservationGroupRanges", {
|
|
45
45
|
enumerable: true,
|
|
46
|
-
get: function () { return
|
|
46
|
+
get: function () { return chunkTSABI3S4_cjs.combineObservationGroupRanges; }
|
|
47
47
|
});
|
|
48
48
|
Object.defineProperty(exports, "deriveObservationGroupProvenance", {
|
|
49
49
|
enumerable: true,
|
|
50
|
-
get: function () { return
|
|
50
|
+
get: function () { return chunkTSABI3S4_cjs.deriveObservationGroupProvenance; }
|
|
51
51
|
});
|
|
52
52
|
Object.defineProperty(exports, "extractCurrentTask", {
|
|
53
53
|
enumerable: true,
|
|
54
|
-
get: function () { return
|
|
54
|
+
get: function () { return chunkTSABI3S4_cjs.extractCurrentTask; }
|
|
55
55
|
});
|
|
56
56
|
Object.defineProperty(exports, "formatMessagesForObserver", {
|
|
57
57
|
enumerable: true,
|
|
58
|
-
get: function () { return
|
|
58
|
+
get: function () { return chunkTSABI3S4_cjs.formatMessagesForObserver; }
|
|
59
59
|
});
|
|
60
60
|
Object.defineProperty(exports, "getObservationsAsOf", {
|
|
61
61
|
enumerable: true,
|
|
62
|
-
get: function () { return
|
|
62
|
+
get: function () { return chunkTSABI3S4_cjs.getObservationsAsOf; }
|
|
63
63
|
});
|
|
64
64
|
Object.defineProperty(exports, "hasCurrentTaskSection", {
|
|
65
65
|
enumerable: true,
|
|
66
|
-
get: function () { return
|
|
66
|
+
get: function () { return chunkTSABI3S4_cjs.hasCurrentTaskSection; }
|
|
67
67
|
});
|
|
68
68
|
Object.defineProperty(exports, "injectAnchorIds", {
|
|
69
69
|
enumerable: true,
|
|
70
|
-
get: function () { return
|
|
70
|
+
get: function () { return chunkTSABI3S4_cjs.injectAnchorIds; }
|
|
71
71
|
});
|
|
72
72
|
Object.defineProperty(exports, "optimizeObservationsForContext", {
|
|
73
73
|
enumerable: true,
|
|
74
|
-
get: function () { return
|
|
74
|
+
get: function () { return chunkTSABI3S4_cjs.optimizeObservationsForContext; }
|
|
75
75
|
});
|
|
76
76
|
Object.defineProperty(exports, "parseAnchorId", {
|
|
77
77
|
enumerable: true,
|
|
78
|
-
get: function () { return
|
|
78
|
+
get: function () { return chunkTSABI3S4_cjs.parseAnchorId; }
|
|
79
79
|
});
|
|
80
80
|
Object.defineProperty(exports, "parseObservationGroups", {
|
|
81
81
|
enumerable: true,
|
|
82
|
-
get: function () { return
|
|
82
|
+
get: function () { return chunkTSABI3S4_cjs.parseObservationGroups; }
|
|
83
83
|
});
|
|
84
84
|
Object.defineProperty(exports, "parseObserverOutput", {
|
|
85
85
|
enumerable: true,
|
|
86
|
-
get: function () { return
|
|
86
|
+
get: function () { return chunkTSABI3S4_cjs.parseObserverOutput; }
|
|
87
87
|
});
|
|
88
88
|
Object.defineProperty(exports, "reconcileObservationGroupsFromReflection", {
|
|
89
89
|
enumerable: true,
|
|
90
|
-
get: function () { return
|
|
90
|
+
get: function () { return chunkTSABI3S4_cjs.reconcileObservationGroupsFromReflection; }
|
|
91
91
|
});
|
|
92
92
|
Object.defineProperty(exports, "renderObservationGroupsForReflection", {
|
|
93
93
|
enumerable: true,
|
|
94
|
-
get: function () { return
|
|
94
|
+
get: function () { return chunkTSABI3S4_cjs.renderObservationGroupsForReflection; }
|
|
95
95
|
});
|
|
96
96
|
Object.defineProperty(exports, "stripEphemeralAnchorIds", {
|
|
97
97
|
enumerable: true,
|
|
98
|
-
get: function () { return
|
|
98
|
+
get: function () { return chunkTSABI3S4_cjs.stripEphemeralAnchorIds; }
|
|
99
99
|
});
|
|
100
100
|
Object.defineProperty(exports, "stripObservationGroups", {
|
|
101
101
|
enumerable: true,
|
|
102
|
-
get: function () { return
|
|
102
|
+
get: function () { return chunkTSABI3S4_cjs.stripObservationGroups; }
|
|
103
103
|
});
|
|
104
104
|
Object.defineProperty(exports, "summarizeConversation", {
|
|
105
105
|
enumerable: true,
|
|
106
|
-
get: function () { return
|
|
106
|
+
get: function () { return chunkTSABI3S4_cjs.summarizeConversation; }
|
|
107
107
|
});
|
|
108
108
|
Object.defineProperty(exports, "wrapInObservationGroup", {
|
|
109
109
|
enumerable: true,
|
|
110
|
-
get: function () { return
|
|
110
|
+
get: function () { return chunkTSABI3S4_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-
|
|
129
|
-
//# sourceMappingURL=observational-memory-
|
|
128
|
+
//# sourceMappingURL=observational-memory-NZSUTGPH.cjs.map
|
|
129
|
+
//# sourceMappingURL=observational-memory-NZSUTGPH.cjs.map
|
package/dist/{observational-memory-OD3W7JXC.cjs.map → observational-memory-NZSUTGPH.cjs.map}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"observational-memory-
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"observational-memory-NZSUTGPH.cjs"}
|
|
@@ -1,113 +1,113 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkTSABI3S4_cjs = require('../chunk-TSABI3S4.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
|
|
10
|
+
get: function () { return chunkTSABI3S4_cjs.Extractor; }
|
|
11
11
|
});
|
|
12
12
|
Object.defineProperty(exports, "ModelByInputTokens", {
|
|
13
13
|
enumerable: true,
|
|
14
|
-
get: function () { return
|
|
14
|
+
get: function () { return chunkTSABI3S4_cjs.ModelByInputTokens; }
|
|
15
15
|
});
|
|
16
16
|
Object.defineProperty(exports, "OBSERVER_SYSTEM_PROMPT", {
|
|
17
17
|
enumerable: true,
|
|
18
|
-
get: function () { return
|
|
18
|
+
get: function () { return chunkTSABI3S4_cjs.OBSERVER_SYSTEM_PROMPT; }
|
|
19
19
|
});
|
|
20
20
|
Object.defineProperty(exports, "ObservationalMemory", {
|
|
21
21
|
enumerable: true,
|
|
22
|
-
get: function () { return
|
|
22
|
+
get: function () { return chunkTSABI3S4_cjs.ObservationalMemory; }
|
|
23
23
|
});
|
|
24
24
|
Object.defineProperty(exports, "ObservationalMemoryProcessor", {
|
|
25
25
|
enumerable: true,
|
|
26
|
-
get: function () { return
|
|
26
|
+
get: function () { return chunkTSABI3S4_cjs.ObservationalMemoryProcessor; }
|
|
27
27
|
});
|
|
28
28
|
Object.defineProperty(exports, "TokenCounter", {
|
|
29
29
|
enumerable: true,
|
|
30
|
-
get: function () { return
|
|
30
|
+
get: function () { return chunkTSABI3S4_cjs.TokenCounter; }
|
|
31
31
|
});
|
|
32
32
|
Object.defineProperty(exports, "WorkingMemoryExtractor", {
|
|
33
33
|
enumerable: true,
|
|
34
|
-
get: function () { return
|
|
34
|
+
get: function () { return chunkTSABI3S4_cjs.WorkingMemoryExtractor; }
|
|
35
35
|
});
|
|
36
36
|
Object.defineProperty(exports, "buildObserverPrompt", {
|
|
37
37
|
enumerable: true,
|
|
38
|
-
get: function () { return
|
|
38
|
+
get: function () { return chunkTSABI3S4_cjs.buildObserverPrompt; }
|
|
39
39
|
});
|
|
40
40
|
Object.defineProperty(exports, "buildObserverSystemPrompt", {
|
|
41
41
|
enumerable: true,
|
|
42
|
-
get: function () { return
|
|
42
|
+
get: function () { return chunkTSABI3S4_cjs.buildObserverSystemPrompt; }
|
|
43
43
|
});
|
|
44
44
|
Object.defineProperty(exports, "combineObservationGroupRanges", {
|
|
45
45
|
enumerable: true,
|
|
46
|
-
get: function () { return
|
|
46
|
+
get: function () { return chunkTSABI3S4_cjs.combineObservationGroupRanges; }
|
|
47
47
|
});
|
|
48
48
|
Object.defineProperty(exports, "deriveObservationGroupProvenance", {
|
|
49
49
|
enumerable: true,
|
|
50
|
-
get: function () { return
|
|
50
|
+
get: function () { return chunkTSABI3S4_cjs.deriveObservationGroupProvenance; }
|
|
51
51
|
});
|
|
52
52
|
Object.defineProperty(exports, "extractCurrentTask", {
|
|
53
53
|
enumerable: true,
|
|
54
|
-
get: function () { return
|
|
54
|
+
get: function () { return chunkTSABI3S4_cjs.extractCurrentTask; }
|
|
55
55
|
});
|
|
56
56
|
Object.defineProperty(exports, "formatMessagesForObserver", {
|
|
57
57
|
enumerable: true,
|
|
58
|
-
get: function () { return
|
|
58
|
+
get: function () { return chunkTSABI3S4_cjs.formatMessagesForObserver; }
|
|
59
59
|
});
|
|
60
60
|
Object.defineProperty(exports, "getObservationsAsOf", {
|
|
61
61
|
enumerable: true,
|
|
62
|
-
get: function () { return
|
|
62
|
+
get: function () { return chunkTSABI3S4_cjs.getObservationsAsOf; }
|
|
63
63
|
});
|
|
64
64
|
Object.defineProperty(exports, "hasCurrentTaskSection", {
|
|
65
65
|
enumerable: true,
|
|
66
|
-
get: function () { return
|
|
66
|
+
get: function () { return chunkTSABI3S4_cjs.hasCurrentTaskSection; }
|
|
67
67
|
});
|
|
68
68
|
Object.defineProperty(exports, "injectAnchorIds", {
|
|
69
69
|
enumerable: true,
|
|
70
|
-
get: function () { return
|
|
70
|
+
get: function () { return chunkTSABI3S4_cjs.injectAnchorIds; }
|
|
71
71
|
});
|
|
72
72
|
Object.defineProperty(exports, "optimizeObservationsForContext", {
|
|
73
73
|
enumerable: true,
|
|
74
|
-
get: function () { return
|
|
74
|
+
get: function () { return chunkTSABI3S4_cjs.optimizeObservationsForContext; }
|
|
75
75
|
});
|
|
76
76
|
Object.defineProperty(exports, "parseAnchorId", {
|
|
77
77
|
enumerable: true,
|
|
78
|
-
get: function () { return
|
|
78
|
+
get: function () { return chunkTSABI3S4_cjs.parseAnchorId; }
|
|
79
79
|
});
|
|
80
80
|
Object.defineProperty(exports, "parseObservationGroups", {
|
|
81
81
|
enumerable: true,
|
|
82
|
-
get: function () { return
|
|
82
|
+
get: function () { return chunkTSABI3S4_cjs.parseObservationGroups; }
|
|
83
83
|
});
|
|
84
84
|
Object.defineProperty(exports, "parseObserverOutput", {
|
|
85
85
|
enumerable: true,
|
|
86
|
-
get: function () { return
|
|
86
|
+
get: function () { return chunkTSABI3S4_cjs.parseObserverOutput; }
|
|
87
87
|
});
|
|
88
88
|
Object.defineProperty(exports, "reconcileObservationGroupsFromReflection", {
|
|
89
89
|
enumerable: true,
|
|
90
|
-
get: function () { return
|
|
90
|
+
get: function () { return chunkTSABI3S4_cjs.reconcileObservationGroupsFromReflection; }
|
|
91
91
|
});
|
|
92
92
|
Object.defineProperty(exports, "renderObservationGroupsForReflection", {
|
|
93
93
|
enumerable: true,
|
|
94
|
-
get: function () { return
|
|
94
|
+
get: function () { return chunkTSABI3S4_cjs.renderObservationGroupsForReflection; }
|
|
95
95
|
});
|
|
96
96
|
Object.defineProperty(exports, "stripEphemeralAnchorIds", {
|
|
97
97
|
enumerable: true,
|
|
98
|
-
get: function () { return
|
|
98
|
+
get: function () { return chunkTSABI3S4_cjs.stripEphemeralAnchorIds; }
|
|
99
99
|
});
|
|
100
100
|
Object.defineProperty(exports, "stripObservationGroups", {
|
|
101
101
|
enumerable: true,
|
|
102
|
-
get: function () { return
|
|
102
|
+
get: function () { return chunkTSABI3S4_cjs.stripObservationGroups; }
|
|
103
103
|
});
|
|
104
104
|
Object.defineProperty(exports, "summarizeConversation", {
|
|
105
105
|
enumerable: true,
|
|
106
|
-
get: function () { return
|
|
106
|
+
get: function () { return chunkTSABI3S4_cjs.summarizeConversation; }
|
|
107
107
|
});
|
|
108
108
|
Object.defineProperty(exports, "wrapInObservationGroup", {
|
|
109
109
|
enumerable: true,
|
|
110
|
-
get: function () { return
|
|
110
|
+
get: function () { return chunkTSABI3S4_cjs.wrapInObservationGroup; }
|
|
111
111
|
});
|
|
112
112
|
Object.defineProperty(exports, "OBSERVATIONAL_MEMORY_DEFAULTS", {
|
|
113
113
|
enumerable: true,
|