@mastra/memory 0.0.0-studio-cli-20260504022012 → 0.0.0-subconscious-alpha-20260901173138
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/LICENSE.md +6 -4
- package/README.md +25 -0
- package/dist/_types/@internal_ai-sdk-v4/dist/index.d.ts +2 -160
- package/dist/docs/SKILL.md +51 -32
- package/dist/docs/assets/SOURCE_MAP.json +3 -149
- package/dist/docs/references/{docs-agents-agent-approval.md → docs-agents-human-in-the-loop.md} +187 -14
- package/dist/docs/references/docs-agents-networks.md +10 -6
- package/dist/docs/references/docs-evals-evals-with-memory.md +148 -0
- package/dist/docs/references/docs-guides-context-engineering.md +299 -0
- package/dist/docs/references/docs-harness-background-tasks.md +384 -0
- package/dist/docs/references/docs-harness-goals.md +121 -0
- package/dist/docs/references/docs-memory-memory-processors.md +83 -10
- package/dist/docs/references/docs-memory-message-history.md +92 -10
- package/dist/docs/references/docs-memory-multi-user-threads.md +210 -0
- package/dist/docs/references/docs-memory-observational-memory.md +423 -47
- package/dist/docs/references/docs-memory-overview.md +46 -18
- package/dist/docs/references/docs-memory-semantic-recall.md +137 -13
- package/dist/docs/references/docs-memory-working-memory.md +46 -12
- package/dist/docs/references/docs-storage.md +222 -0
- package/dist/docs/references/docs-subagents.md +489 -0
- package/dist/docs/references/integrations-channels-github.md +152 -0
- package/dist/docs/references/integrations-databases-aurora-dsql.md +432 -0
- package/dist/docs/references/{reference-storage-dynamodb.md → integrations-databases-dynamodb.md} +15 -11
- package/dist/docs/references/integrations-databases-elasticsearch.md +158 -0
- package/dist/docs/references/{reference-storage-libsql.md → integrations-databases-libsql.md} +30 -4
- package/dist/docs/references/{reference-storage-mongodb.md → integrations-databases-mongodb.md} +56 -49
- package/dist/docs/references/integrations-databases-oracledb.md +241 -0
- package/dist/docs/references/{reference-storage-postgresql.md → integrations-databases-postgresql.md} +50 -15
- package/dist/docs/references/{reference-storage-redis.md → integrations-databases-redis.md} +11 -7
- package/dist/docs/references/{reference-storage-upstash.md → integrations-databases-upstash.md} +7 -3
- package/dist/docs/references/integrations-databases-valkey.md +101 -0
- package/dist/docs/references/reference-core-getMemory.md +4 -0
- package/dist/docs/references/reference-core-listMemory.md +4 -0
- package/dist/docs/references/reference-file-based-agents-memory.md +62 -0
- package/dist/docs/references/reference-memory-clone-utilities.md +5 -1
- package/dist/docs/references/reference-memory-cloneThread.md +41 -6
- package/dist/docs/references/reference-memory-createThread.md +4 -0
- package/dist/docs/references/reference-memory-getThreadById.md +4 -0
- package/dist/docs/references/reference-memory-listThreads.md +5 -1
- package/dist/docs/references/reference-memory-memory-class.md +16 -10
- package/dist/docs/references/reference-memory-observational-memory.md +261 -60
- package/dist/docs/references/reference-memory-settled.md +59 -0
- package/dist/docs/references/reference-memory-summarizeConversation.md +101 -0
- package/dist/docs/references/reference-memory-summarizeThread.md +95 -0
- package/dist/docs/references/reference-migrations-agentnetwork.md +102 -0
- package/dist/docs/references/reference-migrations-upgrade-to-v1-memory.md +290 -0
- package/dist/docs/references/reference-processors-token-limiter-processor.md +31 -8
- package/dist/docs/references/reference-vectors-libsql.md +6 -2
- package/dist/docs/references/reference-vectors-mongodb.md +287 -11
- package/dist/docs/references/reference-vectors-oracledb.md +349 -0
- package/dist/docs/references/reference-vectors-pg.md +14 -6
- package/dist/docs/references/reference-vectors-upstash.md +5 -1
- package/dist/index.cjs +34 -18908
- package/dist/index.d.ts +139 -39
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -18865
- package/dist/processors/index.cjs +40 -117
- package/dist/processors/index.js +2 -4
- package/dist/processors/observational-memory/activation-ttl.d.ts +4 -0
- package/dist/processors/observational-memory/activation-ttl.d.ts.map +1 -0
- package/dist/processors/observational-memory/built-in-extractors.d.ts +24 -0
- package/dist/processors/observational-memory/built-in-extractors.d.ts.map +1 -0
- package/dist/processors/observational-memory/constants.d.ts +13 -1
- package/dist/processors/observational-memory/constants.d.ts.map +1 -1
- package/dist/processors/observational-memory/extracted-values.d.ts +49 -0
- package/dist/processors/observational-memory/extracted-values.d.ts.map +1 -0
- package/dist/processors/observational-memory/extraction-runner.d.ts +22 -0
- package/dist/processors/observational-memory/extraction-runner.d.ts.map +1 -0
- package/dist/processors/observational-memory/extractor.d.ts +84 -0
- package/dist/processors/observational-memory/extractor.d.ts.map +1 -0
- package/dist/processors/observational-memory/index.d.ts +8 -1
- package/dist/processors/observational-memory/index.d.ts.map +1 -1
- package/dist/processors/observational-memory/internal-request-context.d.ts +17 -0
- package/dist/processors/observational-memory/internal-request-context.d.ts.map +1 -0
- package/dist/processors/observational-memory/markers.d.ts +10 -0
- package/dist/processors/observational-memory/markers.d.ts.map +1 -1
- package/dist/processors/observational-memory/measure-image-buffer.d.ts +23 -0
- package/dist/processors/observational-memory/measure-image-buffer.d.ts.map +1 -0
- package/dist/processors/observational-memory/message-utils.d.ts +14 -0
- package/dist/processors/observational-memory/message-utils.d.ts.map +1 -1
- package/dist/processors/observational-memory/model-context.d.ts +0 -8
- package/dist/processors/observational-memory/model-context.d.ts.map +1 -1
- package/dist/processors/observational-memory/observation-strategies/async-buffer.d.ts +5 -0
- package/dist/processors/observational-memory/observation-strategies/async-buffer.d.ts.map +1 -1
- package/dist/processors/observational-memory/observation-strategies/base.d.ts +9 -2
- package/dist/processors/observational-memory/observation-strategies/base.d.ts.map +1 -1
- package/dist/processors/observational-memory/observation-strategies/resource-scoped.d.ts +3 -0
- package/dist/processors/observational-memory/observation-strategies/resource-scoped.d.ts.map +1 -1
- package/dist/processors/observational-memory/observation-strategies/sync.d.ts +5 -0
- package/dist/processors/observational-memory/observation-strategies/sync.d.ts.map +1 -1
- package/dist/processors/observational-memory/observation-strategies/types.d.ts +57 -3
- package/dist/processors/observational-memory/observation-strategies/types.d.ts.map +1 -1
- package/dist/processors/observational-memory/observation-turn/load-memory-context.d.ts +11 -0
- package/dist/processors/observational-memory/observation-turn/load-memory-context.d.ts.map +1 -0
- package/dist/processors/observational-memory/observation-turn/step.d.ts +21 -1
- package/dist/processors/observational-memory/observation-turn/step.d.ts.map +1 -1
- package/dist/processors/observational-memory/observation-turn/turn.d.ts +50 -3
- package/dist/processors/observational-memory/observation-turn/turn.d.ts.map +1 -1
- package/dist/processors/observational-memory/observation-utils.d.ts +1 -0
- package/dist/processors/observational-memory/observation-utils.d.ts.map +1 -1
- package/dist/processors/observational-memory/observational-memory.d.ts +95 -3
- package/dist/processors/observational-memory/observational-memory.d.ts.map +1 -1
- package/dist/processors/observational-memory/observer-agent.d.ts +59 -10
- package/dist/processors/observational-memory/observer-agent.d.ts.map +1 -1
- package/dist/processors/observational-memory/observer-runner.d.ts +44 -0
- package/dist/processors/observational-memory/observer-runner.d.ts.map +1 -1
- package/dist/processors/observational-memory/processor.d.ts +2 -0
- package/dist/processors/observational-memory/processor.d.ts.map +1 -1
- package/dist/processors/observational-memory/reflector-agent.d.ts +5 -7
- package/dist/processors/observational-memory/reflector-agent.d.ts.map +1 -1
- package/dist/processors/observational-memory/reflector-runner.d.ts +38 -3
- package/dist/processors/observational-memory/reflector-runner.d.ts.map +1 -1
- package/dist/processors/observational-memory/retry.d.ts +63 -0
- package/dist/processors/observational-memory/retry.d.ts.map +1 -0
- package/dist/processors/observational-memory/subconscious/activity.d.ts +39 -0
- package/dist/processors/observational-memory/subconscious/activity.d.ts.map +1 -0
- package/dist/processors/observational-memory/subconscious/curate.d.ts +9 -0
- package/dist/processors/observational-memory/subconscious/curate.d.ts.map +1 -0
- package/dist/processors/observational-memory/subconscious/index.d.ts +28 -0
- package/dist/processors/observational-memory/subconscious/index.d.ts.map +1 -0
- package/dist/processors/observational-memory/subconscious/knowledge-tools.d.ts +22 -0
- package/dist/processors/observational-memory/subconscious/knowledge-tools.d.ts.map +1 -0
- package/dist/processors/observational-memory/subconscious/knowledge-write-tools.d.ts +16 -0
- package/dist/processors/observational-memory/subconscious/knowledge-write-tools.d.ts.map +1 -0
- package/dist/processors/observational-memory/subconscious/model.d.ts +21 -0
- package/dist/processors/observational-memory/subconscious/model.d.ts.map +1 -0
- package/dist/processors/observational-memory/subconscious/origin.d.ts +4 -0
- package/dist/processors/observational-memory/subconscious/origin.d.ts.map +1 -0
- package/dist/processors/observational-memory/subconscious/pinned-state-processor.d.ts +47 -0
- package/dist/processors/observational-memory/subconscious/pinned-state-processor.d.ts.map +1 -0
- package/dist/processors/observational-memory/subconscious/pinned.d.ts +54 -0
- package/dist/processors/observational-memory/subconscious/pinned.d.ts.map +1 -0
- package/dist/processors/observational-memory/subconscious/remind-agent.d.ts +23 -0
- package/dist/processors/observational-memory/subconscious/remind-agent.d.ts.map +1 -0
- package/dist/processors/observational-memory/subconscious/remind-continuation.d.ts +43 -0
- package/dist/processors/observational-memory/subconscious/remind-continuation.d.ts.map +1 -0
- package/dist/processors/observational-memory/subconscious/remind-protocol.d.ts +85 -0
- package/dist/processors/observational-memory/subconscious/remind-protocol.d.ts.map +1 -0
- package/dist/processors/observational-memory/subconscious/remind-questions.d.ts +31 -0
- package/dist/processors/observational-memory/subconscious/remind-questions.d.ts.map +1 -0
- package/dist/processors/observational-memory/subconscious/remind.d.ts +7 -0
- package/dist/processors/observational-memory/subconscious/remind.d.ts.map +1 -0
- package/dist/processors/observational-memory/subconscious/scope.d.ts +14 -0
- package/dist/processors/observational-memory/subconscious/scope.d.ts.map +1 -0
- package/dist/processors/observational-memory/subconscious/semantic-index.d.ts +20 -0
- package/dist/processors/observational-memory/subconscious/semantic-index.d.ts.map +1 -0
- package/dist/processors/observational-memory/subconscious/types.d.ts +67 -0
- package/dist/processors/observational-memory/subconscious/types.d.ts.map +1 -0
- package/dist/processors/observational-memory/summarize.d.ts +92 -0
- package/dist/processors/observational-memory/summarize.d.ts.map +1 -0
- package/dist/processors/observational-memory/temporal-markers.d.ts +1 -1
- package/dist/processors/observational-memory/temporal-markers.d.ts.map +1 -1
- package/dist/processors/observational-memory/temporary-memory.d.ts +8 -0
- package/dist/processors/observational-memory/temporary-memory.d.ts.map +1 -0
- package/dist/processors/observational-memory/token-counter.d.ts +9 -0
- package/dist/processors/observational-memory/token-counter.d.ts.map +1 -1
- package/dist/processors/observational-memory/tool-result-helpers.d.ts +8 -0
- package/dist/processors/observational-memory/tool-result-helpers.d.ts.map +1 -1
- package/dist/processors/observational-memory/tracing.d.ts.map +1 -1
- package/dist/processors/observational-memory/types.d.ts +278 -25
- package/dist/processors/observational-memory/types.d.ts.map +1 -1
- package/dist/processors/observational-memory/working-memory-extractor.d.ts +5 -0
- package/dist/processors/observational-memory/working-memory-extractor.d.ts.map +1 -0
- package/dist/processors/working-memory-state/index.d.ts +2 -0
- package/dist/processors/working-memory-state/index.d.ts.map +1 -0
- package/dist/processors/working-memory-state/processor.d.ts +53 -0
- package/dist/processors/working-memory-state/processor.d.ts.map +1 -0
- package/dist/src-CM83XDS9.js +32620 -0
- package/dist/src-CM83XDS9.js.map +1 -0
- package/dist/src-Ci1WP4E-.cjs +32923 -0
- package/dist/src-Ci1WP4E-.cjs.map +1 -0
- package/dist/tools/om-tools.d.ts +8 -13
- package/dist/tools/om-tools.d.ts.map +1 -1
- package/dist/tools/working-memory.d.ts +27 -9
- package/dist/tools/working-memory.d.ts.map +1 -1
- package/package.json +31 -27
- package/CHANGELOG.md +0 -6923
- package/dist/chunk-6ODYOMHN.cjs +0 -9386
- package/dist/chunk-6ODYOMHN.cjs.map +0 -1
- package/dist/chunk-D4J4XPGM.cjs +0 -111
- package/dist/chunk-D4J4XPGM.cjs.map +0 -1
- package/dist/chunk-LSJJAJAF.js +0 -105
- package/dist/chunk-LSJJAJAF.js.map +0 -1
- package/dist/chunk-Z5GWA7LB.js +0 -9354
- package/dist/chunk-Z5GWA7LB.js.map +0 -1
- package/dist/constants-PJXB7ZIS.cjs +0 -28
- package/dist/constants-PJXB7ZIS.cjs.map +0 -1
- package/dist/constants-XEHPYRDJ.js +0 -3
- package/dist/constants-XEHPYRDJ.js.map +0 -1
- package/dist/docs/references/docs-agents-background-tasks.md +0 -242
- package/dist/docs/references/docs-agents-supervisor-agents.md +0 -375
- package/dist/docs/references/docs-memory-storage.md +0 -260
- package/dist/index.cjs.map +0 -1
- package/dist/index.js.map +0 -1
- package/dist/observational-memory-OVSEK47Z.cjs +0 -117
- package/dist/observational-memory-OVSEK47Z.cjs.map +0 -1
- package/dist/observational-memory-UMDC4VC2.js +0 -4
- package/dist/observational-memory-UMDC4VC2.js.map +0 -1
- package/dist/processors/index.cjs.map +0 -1
- package/dist/processors/index.js.map +0 -1
package/LICENSE.md
CHANGED
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
Portions of this software are licensed as follows:
|
|
2
2
|
|
|
3
|
-
- All content that resides under any directory named
|
|
3
|
+
- All content that resides under any directory named `ee/` within this
|
|
4
4
|
repository, including but not limited to:
|
|
5
|
-
-
|
|
6
|
-
-
|
|
7
|
-
|
|
5
|
+
- `@mastra/core/auth/ee`
|
|
6
|
+
- `@mastra/core/agent-builder/ee`
|
|
7
|
+
- `@mastra/editor/ee`
|
|
8
|
+
|
|
9
|
+
is licensed under the license defined in [`ee/LICENSE`](https://github.com/mastra-ai/mastra/blob/main/ee/LICENSE).
|
|
8
10
|
|
|
9
11
|
- All third-party components incorporated into the Mastra Software are
|
|
10
12
|
licensed under the original license provided by the owner of the
|
package/README.md
CHANGED
|
@@ -1,3 +1,28 @@
|
|
|
1
1
|
# Mastra Memory
|
|
2
2
|
|
|
3
3
|
Memory management for Mastra agents. Visit [the docs](https://mastra.ai/docs/memory/overview) for more information.
|
|
4
|
+
|
|
5
|
+
## Token counting for file parts
|
|
6
|
+
|
|
7
|
+
Observational Memory uses a built-in Token Counter to decide when to observe and reflect. You can attach an explicit estimate to an `image` or `file` part using `providerMetadata.mastra.tokenEstimate`:
|
|
8
|
+
|
|
9
|
+
```typescript
|
|
10
|
+
const filePart = {
|
|
11
|
+
type: 'file',
|
|
12
|
+
data: 'storage://bucket/large-report.pdf',
|
|
13
|
+
mimeType: 'application/pdf',
|
|
14
|
+
filename: 'large-report.pdf',
|
|
15
|
+
providerMetadata: {
|
|
16
|
+
mastra: {
|
|
17
|
+
tokenEstimate: {
|
|
18
|
+
v: 0,
|
|
19
|
+
source: 'client',
|
|
20
|
+
key: 'client',
|
|
21
|
+
tokens: 100_000,
|
|
22
|
+
},
|
|
23
|
+
},
|
|
24
|
+
},
|
|
25
|
+
};
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
The Token Counter honors caller-supplied estimates verbatim on `image` and `file` parts. See [Caller-supplied token estimates for file parts](https://mastra.ai/docs/memory/observational-memory#caller-supplied-token-estimates-for-file-parts) for details.
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { JSONSchema7 } from 'json-schema';
|
|
1
2
|
import { ServerResponse } from 'http';
|
|
2
3
|
import { ServerResponse as ServerResponse_2 } from 'node:http';
|
|
3
4
|
import { z } from 'zod';
|
|
@@ -3324,165 +3325,6 @@ export declare function jsonSchema<OBJECT = unknown>(jsonSchema: JSONSchema7, {
|
|
|
3324
3325
|
};
|
|
3325
3326
|
}): Schema<OBJECT>;
|
|
3326
3327
|
|
|
3327
|
-
declare interface JSONSchema7 {
|
|
3328
|
-
$id?: string | undefined;
|
|
3329
|
-
$ref?: string | undefined;
|
|
3330
|
-
$schema?: JSONSchema7Version | undefined;
|
|
3331
|
-
$comment?: string | undefined;
|
|
3332
|
-
|
|
3333
|
-
/**
|
|
3334
|
-
* @see https://datatracker.ietf.org/doc/html/draft-bhutton-json-schema-00#section-8.2.4
|
|
3335
|
-
* @see https://datatracker.ietf.org/doc/html/draft-bhutton-json-schema-validation-00#appendix-A
|
|
3336
|
-
*/
|
|
3337
|
-
$defs?: {
|
|
3338
|
-
[key: string]: JSONSchema7Definition;
|
|
3339
|
-
} | undefined;
|
|
3340
|
-
|
|
3341
|
-
/**
|
|
3342
|
-
* @see https://tools.ietf.org/html/draft-handrews-json-schema-validation-01#section-6.1
|
|
3343
|
-
*/
|
|
3344
|
-
type?: JSONSchema7TypeName | JSONSchema7TypeName[] | undefined;
|
|
3345
|
-
enum?: JSONSchema7Type[] | undefined;
|
|
3346
|
-
const?: JSONSchema7Type | undefined;
|
|
3347
|
-
|
|
3348
|
-
/**
|
|
3349
|
-
* @see https://tools.ietf.org/html/draft-handrews-json-schema-validation-01#section-6.2
|
|
3350
|
-
*/
|
|
3351
|
-
multipleOf?: number | undefined;
|
|
3352
|
-
maximum?: number | undefined;
|
|
3353
|
-
exclusiveMaximum?: number | undefined;
|
|
3354
|
-
minimum?: number | undefined;
|
|
3355
|
-
exclusiveMinimum?: number | undefined;
|
|
3356
|
-
|
|
3357
|
-
/**
|
|
3358
|
-
* @see https://tools.ietf.org/html/draft-handrews-json-schema-validation-01#section-6.3
|
|
3359
|
-
*/
|
|
3360
|
-
maxLength?: number | undefined;
|
|
3361
|
-
minLength?: number | undefined;
|
|
3362
|
-
pattern?: string | undefined;
|
|
3363
|
-
|
|
3364
|
-
/**
|
|
3365
|
-
* @see https://tools.ietf.org/html/draft-handrews-json-schema-validation-01#section-6.4
|
|
3366
|
-
*/
|
|
3367
|
-
items?: JSONSchema7Definition | JSONSchema7Definition[] | undefined;
|
|
3368
|
-
additionalItems?: JSONSchema7Definition | undefined;
|
|
3369
|
-
maxItems?: number | undefined;
|
|
3370
|
-
minItems?: number | undefined;
|
|
3371
|
-
uniqueItems?: boolean | undefined;
|
|
3372
|
-
contains?: JSONSchema7Definition | undefined;
|
|
3373
|
-
|
|
3374
|
-
/**
|
|
3375
|
-
* @see https://tools.ietf.org/html/draft-handrews-json-schema-validation-01#section-6.5
|
|
3376
|
-
*/
|
|
3377
|
-
maxProperties?: number | undefined;
|
|
3378
|
-
minProperties?: number | undefined;
|
|
3379
|
-
required?: string[] | undefined;
|
|
3380
|
-
properties?: {
|
|
3381
|
-
[key: string]: JSONSchema7Definition;
|
|
3382
|
-
} | undefined;
|
|
3383
|
-
patternProperties?: {
|
|
3384
|
-
[key: string]: JSONSchema7Definition;
|
|
3385
|
-
} | undefined;
|
|
3386
|
-
additionalProperties?: JSONSchema7Definition | undefined;
|
|
3387
|
-
dependencies?: {
|
|
3388
|
-
[key: string]: JSONSchema7Definition | string[];
|
|
3389
|
-
} | undefined;
|
|
3390
|
-
propertyNames?: JSONSchema7Definition | undefined;
|
|
3391
|
-
|
|
3392
|
-
/**
|
|
3393
|
-
* @see https://tools.ietf.org/html/draft-handrews-json-schema-validation-01#section-6.6
|
|
3394
|
-
*/
|
|
3395
|
-
if?: JSONSchema7Definition | undefined;
|
|
3396
|
-
then?: JSONSchema7Definition | undefined;
|
|
3397
|
-
else?: JSONSchema7Definition | undefined;
|
|
3398
|
-
|
|
3399
|
-
/**
|
|
3400
|
-
* @see https://tools.ietf.org/html/draft-handrews-json-schema-validation-01#section-6.7
|
|
3401
|
-
*/
|
|
3402
|
-
allOf?: JSONSchema7Definition[] | undefined;
|
|
3403
|
-
anyOf?: JSONSchema7Definition[] | undefined;
|
|
3404
|
-
oneOf?: JSONSchema7Definition[] | undefined;
|
|
3405
|
-
not?: JSONSchema7Definition | undefined;
|
|
3406
|
-
|
|
3407
|
-
/**
|
|
3408
|
-
* @see https://tools.ietf.org/html/draft-handrews-json-schema-validation-01#section-7
|
|
3409
|
-
*/
|
|
3410
|
-
format?: string | undefined;
|
|
3411
|
-
|
|
3412
|
-
/**
|
|
3413
|
-
* @see https://tools.ietf.org/html/draft-handrews-json-schema-validation-01#section-8
|
|
3414
|
-
*/
|
|
3415
|
-
contentMediaType?: string | undefined;
|
|
3416
|
-
contentEncoding?: string | undefined;
|
|
3417
|
-
|
|
3418
|
-
/**
|
|
3419
|
-
* @see https://tools.ietf.org/html/draft-handrews-json-schema-validation-01#section-9
|
|
3420
|
-
*/
|
|
3421
|
-
definitions?: {
|
|
3422
|
-
[key: string]: JSONSchema7Definition;
|
|
3423
|
-
} | undefined;
|
|
3424
|
-
|
|
3425
|
-
/**
|
|
3426
|
-
* @see https://tools.ietf.org/html/draft-handrews-json-schema-validation-01#section-10
|
|
3427
|
-
*/
|
|
3428
|
-
title?: string | undefined;
|
|
3429
|
-
description?: string | undefined;
|
|
3430
|
-
default?: JSONSchema7Type | undefined;
|
|
3431
|
-
readOnly?: boolean | undefined;
|
|
3432
|
-
writeOnly?: boolean | undefined;
|
|
3433
|
-
examples?: JSONSchema7Type | undefined;
|
|
3434
|
-
}
|
|
3435
|
-
|
|
3436
|
-
declare interface JSONSchema7Array extends Array<JSONSchema7Type> {}
|
|
3437
|
-
|
|
3438
|
-
/**
|
|
3439
|
-
* JSON Schema v7
|
|
3440
|
-
* @see https://tools.ietf.org/html/draft-handrews-json-schema-validation-01
|
|
3441
|
-
*/
|
|
3442
|
-
declare type JSONSchema7Definition = JSONSchema7 | boolean;
|
|
3443
|
-
|
|
3444
|
-
declare interface JSONSchema7Object {
|
|
3445
|
-
[key: string]: JSONSchema7Type;
|
|
3446
|
-
}
|
|
3447
|
-
|
|
3448
|
-
/**
|
|
3449
|
-
* Primitive type
|
|
3450
|
-
* @see https://tools.ietf.org/html/draft-handrews-json-schema-validation-01#section-6.1.1
|
|
3451
|
-
*/
|
|
3452
|
-
declare type JSONSchema7Type =
|
|
3453
|
-
| string //
|
|
3454
|
-
| number
|
|
3455
|
-
| boolean
|
|
3456
|
-
| JSONSchema7Object
|
|
3457
|
-
| JSONSchema7Array
|
|
3458
|
-
| null;
|
|
3459
|
-
|
|
3460
|
-
/**
|
|
3461
|
-
* Primitive type
|
|
3462
|
-
* @see https://tools.ietf.org/html/draft-handrews-json-schema-validation-01#section-6.1.1
|
|
3463
|
-
*/
|
|
3464
|
-
declare type JSONSchema7TypeName =
|
|
3465
|
-
| "string" //
|
|
3466
|
-
| "number"
|
|
3467
|
-
| "integer"
|
|
3468
|
-
| "boolean"
|
|
3469
|
-
| "object"
|
|
3470
|
-
| "array"
|
|
3471
|
-
| "null";
|
|
3472
|
-
|
|
3473
|
-
/**
|
|
3474
|
-
* Meta schema
|
|
3475
|
-
*
|
|
3476
|
-
* Recommended values:
|
|
3477
|
-
* - 'http://json-schema.org/schema#'
|
|
3478
|
-
* - 'http://json-schema.org/hyper-schema#'
|
|
3479
|
-
* - 'http://json-schema.org/draft-07/schema#'
|
|
3480
|
-
* - 'http://json-schema.org/draft-07/hyper-schema#'
|
|
3481
|
-
*
|
|
3482
|
-
* @see https://tools.ietf.org/html/draft-handrews-json-schema-validation-01#section-5
|
|
3483
|
-
*/
|
|
3484
|
-
declare type JSONSchema7Version = string;
|
|
3485
|
-
|
|
3486
3328
|
/**
|
|
3487
3329
|
A JSON value can be a string, number, boolean, object, array, or null.
|
|
3488
3330
|
JSON values can be serialized and deserialized by the JSON.stringify and JSON.parse methods.
|
|
@@ -7605,4 +7447,4 @@ export declare function zodSchema<OBJECT>(zodSchema: z.Schema<OBJECT, z.ZodTypeD
|
|
|
7605
7447
|
}): Schema<OBJECT>;
|
|
7606
7448
|
|
|
7607
7449
|
export { }
|
|
7608
|
-
export {
|
|
7450
|
+
export { LanguageModelV1FinishReason as LanguageModelV1FinishReason, LanguageModelV1CallWarning as LanguageModelV1CallWarning, JSONValue_2 as JSONValue_2, Source as Source, DataStreamString as DataStreamString, AttributeValue as AttributeValue, Tracer as Tracer, EmbeddingModelV1 as EmbeddingModelV1, EmbeddingModelV1Embedding as EmbeddingModelV1Embedding, ImageModelV1CallWarning as ImageModelV1CallWarning, TranscriptionModelV1CallWarning as TranscriptionModelV1CallWarning, SpeechModelV1CallWarning as SpeechModelV1CallWarning, ProviderOptions as ProviderOptions, ReasoningPart as ReasoningPart, RedactedReasoningPart as RedactedReasoningPart, ToolResultContent as ToolResultContent, inferParameters as inferParameters, ToolParameters as ToolParameters, JSONRPCRequestSchema as JSONRPCRequestSchema, JSONRPCResponseSchema as JSONRPCResponseSchema, JSONRPCErrorSchema as JSONRPCErrorSchema, JSONRPCNotificationSchema as JSONRPCNotificationSchema, JSONRPCMessageSchema as JSONRPCMessageSchema, MCPClientConfig as MCPClientConfig, MCPClient as MCPClient, ValueOf as ValueOf, ToToolResultObject as ToToolResultObject, ToToolsWithDefinedExecute as ToToolsWithDefinedExecute, ToToolsWithExecute as ToToolsWithExecute, ReasoningDetail as ReasoningDetail, ToolCallArray as ToolCallArray, ToolResultArray as ToolResultArray, ResponseMessage as ResponseMessage, Output_2 as Output_2, ConsumeStreamOptions as ConsumeStreamOptions, ImageModelV1 as ImageModelV1, CallSettings as CallSettings, Prompt as Prompt, StreamObjectOnErrorCallback as StreamObjectOnErrorCallback, AsyncIterableStream as AsyncIterableStream, SpeechModelV1 as SpeechModelV1, TranscriptionModelV1 as TranscriptionModelV1, LanguageModelV1ProviderMetadata as LanguageModelV1ProviderMetadata, ExtractModelId as ExtractModelId, ExtractLiteralUnion as ExtractLiteralUnion, ProviderV1 as ProviderV1, SingleRequestTextStreamPart as SingleRequestTextStreamPart, RetryErrorReason as RetryErrorReason, AssistantResponseSettings as AssistantResponseSettings, AssistantResponseCallback as AssistantResponseCallback, LanguageModelV1Message as LanguageModelV1Message, LanguageModelV1CallSettings as LanguageModelV1CallSettings, LanguageModelV1FunctionTool as LanguageModelV1FunctionTool, LanguageModelV1ProviderDefinedTool as LanguageModelV1ProviderDefinedTool, LanguageModelV1ToolChoice as LanguageModelV1ToolChoice, LanguageModelV1ObjectGenerationMode as LanguageModelV1ObjectGenerationMode, LanguageModelV1FunctionToolCall as LanguageModelV1FunctionToolCall, LanguageModelV1Source as LanguageModelV1Source, LanguageModelV1LogProbs as LanguageModelV1LogProbs, FetchFunction as FetchFunction, TextUIPart as TextUIPart, ReasoningUIPart as ReasoningUIPart, ToolInvocationUIPart as ToolInvocationUIPart, SourceUIPart as SourceUIPart, FileUIPart as FileUIPart, StepStartUIPart as StepStartUIPart, AssistantStreamPartType as AssistantStreamPartType, AssistantStreamPartValueType as AssistantStreamPartValueType, AssistantStreamString as AssistantStreamString, DataStreamPartType as DataStreamPartType, DataStreamPartValueType as DataStreamPartValueType, DeepPartialInternal as DeepPartialInternal, Validator as Validator };
|
package/dist/docs/SKILL.md
CHANGED
|
@@ -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: "0.0.0-
|
|
6
|
+
version: "0.0.0-subconscious-alpha-20260901173138"
|
|
7
7
|
---
|
|
8
8
|
|
|
9
9
|
## When to use
|
|
@@ -16,40 +16,59 @@ Read the individual reference documents for detailed explanations and code examp
|
|
|
16
16
|
|
|
17
17
|
### Docs
|
|
18
18
|
|
|
19
|
-
- [
|
|
20
|
-
- [
|
|
21
|
-
- [
|
|
22
|
-
- [
|
|
23
|
-
- [
|
|
24
|
-
- [
|
|
25
|
-
- [
|
|
26
|
-
- [
|
|
27
|
-
- [
|
|
28
|
-
- [
|
|
29
|
-
- [
|
|
19
|
+
- [Human-in-the-loop](references/docs-agents-human-in-the-loop.md) - Add human-in-the-loop controls to Mastra agents with tool approval and suspended execution, so people can provide input before a run resumes or stops.
|
|
20
|
+
- [Agent networks](references/docs-agents-networks.md) - Understand deprecated Mastra agent networks, including multi-agent routing, structured output, tool approvals, and migration to supervisor agents.
|
|
21
|
+
- [Evals with memory](references/docs-evals-evals-with-memory.md) - Run Mastra evals against memory-enabled agents using shared or per-item threads, observational memory, runEvals, and dataset experiments.
|
|
22
|
+
- [Context engineering](references/docs-guides-context-engineering.md) - Engineer the context Mastra agents receive by combining instructions, inline data, tools, RAG, filesystems, memory, and observational memory.
|
|
23
|
+
- [Background tasks](references/docs-harness-background-tasks.md) - Run long-lived Mastra tool calls and subagents as background tasks while streams remain open, with configurable LLM behavior and completion events.
|
|
24
|
+
- [Goals](references/docs-harness-goals.md) - Set a durable goal for a Mastra agent so an execution loop evaluates progress and continues working until the objective completes or its run budget ends.
|
|
25
|
+
- [Memory processors](references/docs-memory-memory-processors.md) - Configure Mastra memory processors to filter, trim, transform, and deduplicate messages before they reach the model while managing context limits.
|
|
26
|
+
- [Message history](references/docs-memory-message-history.md) - Store and retrieve recent Mastra conversation messages, configure history limits and thread titles, and query threads for chat interfaces.
|
|
27
|
+
- [Multi-user threads](references/docs-memory-multi-user-threads.md) - Share one Mastra memory thread across multiple users by preserving speaker identity in messages and combining history with observational or working memory.
|
|
28
|
+
- [Observational Memory](references/docs-memory-observational-memory.md) - Configure Mastra Observational Memory to compress long conversations into durable observations while preserving context across threads and sessions.
|
|
29
|
+
- [Memory](references/docs-memory-overview.md) - Add memory to Mastra agents with message history, semantic recall, working memory, and observational memory across threads and multi-agent delegation.
|
|
30
|
+
- [Semantic recall](references/docs-memory-semantic-recall.md) - Retrieve relevant messages from past Mastra conversations with semantic recall, vector search, embeddings, metadata filters, and configurable storage.
|
|
31
|
+
- [Working memory](references/docs-memory-working-memory.md) - Persist user profiles, preferences, and application data with Mastra working memory using resource- or thread-scoped templates and storage adapters.
|
|
32
|
+
- [Storage](references/docs-storage.md) - Configure Mastra storage to persist memory, workflow state, observability data, evals, schedules, and long-running agent state across restarts.
|
|
33
|
+
- [Subagents](references/docs-subagents.md) - Build Mastra supervisor agents that delegate work to specialized subagents with hooks, request context, message filtering, and completion scoring.
|
|
34
|
+
|
|
35
|
+
### Integrations
|
|
36
|
+
|
|
37
|
+
- [GitHub](references/integrations-channels-github.md) - Subscribe Mastra agents to GitHub pull requests with @mastra/github-signals, polling modes, notification signals, and subscription management tools.
|
|
38
|
+
- [Aurora DSQL](references/integrations-databases-aurora-dsql.md) - Store Mastra application data in Amazon Aurora DSQL with IAM authentication, configurable credentials, schema initialization, and connection options.
|
|
39
|
+
- [DynamoDB](references/integrations-databases-dynamodb.md) - Persist Mastra data in Amazon DynamoDB with a single-table ElectroDB design, configurable indexes, TTL support, credentials, and table initialization.
|
|
40
|
+
- [Elasticsearch](references/integrations-databases-elasticsearch.md) - Store Mastra agent memory, workflow snapshots, and scores in Elasticsearch with URL, authentication, or shared client connection configuration.
|
|
41
|
+
- [libSQL](references/integrations-databases-libsql.md) - Persist Mastra messages, workflow snapshots, traces, and eval scores in local or remote libSQL with managed tables and initialization options.
|
|
42
|
+
- [MongoDB](references/integrations-databases-mongodb.md) - Store Mastra application data and vectors in MongoDB, configure connections and collections, initialize schemas, and add persistent agent memory.
|
|
43
|
+
- [OracleDB](references/integrations-databases-oracledb.md) - Persist Mastra memory, workflows, observability, scores, MCP metadata, and agent registry data in Oracle Database with OracleStore.
|
|
44
|
+
- [PostgreSQL](references/integrations-databases-postgresql.md) - Persist Mastra application data in PostgreSQL with PostgresStore, configure connections and pools, initialize schemas, and enable observability.
|
|
45
|
+
- [Redis](references/integrations-databases-redis.md) - Store Mastra application data in Redis using connection strings, host settings, or custom clients, including Sentinel and Cluster deployments.
|
|
46
|
+
- [Upstash](references/integrations-databases-upstash.md) - Use Upstash Redis as serverless Mastra storage with REST credentials, namespaced keys, durable persistence, and deployment-friendly connections.
|
|
47
|
+
- [Valkey](references/integrations-databases-valkey.md) - Configure Valkey storage and caching for Mastra through the GLIDE client, including authentication, connection options, persistence, and cleanup.
|
|
30
48
|
|
|
31
49
|
### Reference
|
|
32
50
|
|
|
33
|
-
- [Reference: Mastra.getMemory()](references/reference-core-getMemory.md) -
|
|
34
|
-
- [Reference: Mastra.listMemory()](references/reference-core-listMemory.md) -
|
|
35
|
-
- [
|
|
36
|
-
- [Reference:
|
|
37
|
-
- [Reference: Memory.
|
|
38
|
-
- [Reference: Memory.
|
|
39
|
-
- [Reference: Memory.
|
|
40
|
-
- [Reference: Memory
|
|
41
|
-
- [Reference:
|
|
42
|
-
- [Reference:
|
|
43
|
-
- [Reference:
|
|
44
|
-
- [Reference:
|
|
45
|
-
- [Reference:
|
|
46
|
-
- [
|
|
47
|
-
- [
|
|
48
|
-
- [Reference:
|
|
49
|
-
- [Reference: libSQL vector store](references/reference-vectors-libsql.md) -
|
|
50
|
-
- [Reference: MongoDB vector store](references/reference-vectors-mongodb.md) -
|
|
51
|
-
- [Reference:
|
|
52
|
-
- [Reference:
|
|
51
|
+
- [Reference: Mastra.getMemory()](references/reference-core-getMemory.md) - The .getMemory() method retrieves a memory instance from the Mastra registry by its key.
|
|
52
|
+
- [Reference: Mastra.listMemory()](references/reference-core-listMemory.md) - The .listMemory() method returns all memory instances registered with the Mastra instance.
|
|
53
|
+
- [Memory](references/reference-file-based-agents-memory.md) - A file-based agent gets memory from a memory.ts file that default-exports a Memory instance.
|
|
54
|
+
- [Reference: Cloned thread utilities](references/reference-memory-clone-utilities.md) - Use Mastra Memory clone utilities to create threads derived from an existing conversation, then inspect clone relationships and manage their messages.
|
|
55
|
+
- [Reference: Memory.cloneThread()](references/reference-memory-cloneThread.md) - The .cloneThread() method creates a copy of an existing conversation thread, including all its messages.
|
|
56
|
+
- [Reference: Memory.createThread()](references/reference-memory-createThread.md) - The .createThread() method creates a new conversation thread in the memory system. Each thread represents a distinct conversation or context and can contain multiple messages.
|
|
57
|
+
- [Reference: Memory.getThreadById()](references/reference-memory-getThreadById.md) - Use Memory.getThreadById() to retrieve a conversation thread by ID, including its resource association, metadata, and stored properties.
|
|
58
|
+
- [Reference: Memory.listThreads()](references/reference-memory-listThreads.md) - The listThreads() method retrieves threads with pagination support and optional filtering by resourceId, metadata, or both.
|
|
59
|
+
- [Reference: Memory class](references/reference-memory-memory-class.md) - The Memory class provides a reliable system for managing conversation history and thread-based message storage in Mastra.
|
|
60
|
+
- [Reference: Observational Memory](references/reference-memory-observational-memory.md) - Observational Memory (OM) is Mastra's memory system for long-context agentic memory. An Observer watches conversations and creates observations.
|
|
61
|
+
- [Reference: Memory.settled()](references/reference-memory-settled.md) - Use Memory.settled() to wait for asynchronous memory work, including working-memory updates and observational memory, before closing storage.
|
|
62
|
+
- [Reference: summarizeConversation()](references/reference-memory-summarizeConversation.md) - The standalone summarizeConversation() function summarizes a conversation in one shot.
|
|
63
|
+
- [Reference: Memory.summarizeThread()](references/reference-memory-summarizeThread.md) - Call Memory.summarizeThread() to produce a thread summary in one operation and extract configured structured values from its messages.
|
|
64
|
+
- [Migration: AgentNetwork to .network()](references/reference-migrations-agentnetwork.md) - Migrate deprecated AgentNetwork usage to supervisor agents and the standard Agent.generate() or Agent.stream() APIs in current Mastra releases.
|
|
65
|
+
- [Memory](references/reference-migrations-upgrade-to-v1-memory.md) - Memory configuration now requires explicit parameters, and default settings have been updated for better performance and predictability.
|
|
66
|
+
- [Reference: TokenLimiterProcessor](references/reference-processors-token-limiter-processor.md) - Use TokenLimiterProcessor to constrain message tokens during input, per-step input, or output processing with configurable limits and strategies.
|
|
67
|
+
- [Reference: libSQL vector store](references/reference-vectors-libsql.md) - Configure LibSQLVector for similarity search and metadata filtering with local libSQL, SQLite-compatible vector extensions, or Turso databases.
|
|
68
|
+
- [Reference: MongoDB vector store](references/reference-vectors-mongodb.md) - The MongoDBVector class provides vector search using MongoDB Vector Search. It enables efficient similarity search and metadata filtering within your MongoDB collections.
|
|
69
|
+
- [Reference: OracleDB vector store](references/reference-vectors-oracledb.md) - OracleVector stores embeddings in Oracle Database VECTOR columns and exposes them through Mastra's vector interface.
|
|
70
|
+
- [Reference: PG vector store](references/reference-vectors-pg.md) - The PgVector class provides vector search using PostgreSQL with pgvector extension. It provides reliable vector similarity search capabilities within your existing PostgreSQL database.
|
|
71
|
+
- [Reference: Upstash vector store](references/reference-vectors-upstash.md) - Configure UpstashVector for serverless similarity and hybrid search, metadata filtering, index management, and vector operations with Upstash Vector.
|
|
53
72
|
|
|
54
73
|
|
|
55
74
|
Read [assets/SOURCE_MAP.json](assets/SOURCE_MAP.json) for source code references.
|
|
@@ -1,157 +1,11 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "0.0.0-
|
|
2
|
+
"version": "0.0.0-subconscious-alpha-20260901173138",
|
|
3
3
|
"package": "@mastra/memory",
|
|
4
|
-
"exports": {
|
|
5
|
-
"ModelByInputTokens": {
|
|
6
|
-
"types": "dist/processors/index.d.ts",
|
|
7
|
-
"implementation": "dist/chunk-Z5GWA7LB.js",
|
|
8
|
-
"line": 745
|
|
9
|
-
},
|
|
10
|
-
"OBSERVER_SYSTEM_PROMPT": {
|
|
11
|
-
"types": "dist/processors/index.d.ts",
|
|
12
|
-
"implementation": "dist/chunk-Z5GWA7LB.js"
|
|
13
|
-
},
|
|
14
|
-
"ObservationalMemory": {
|
|
15
|
-
"types": "dist/processors/index.d.ts",
|
|
16
|
-
"implementation": "dist/chunk-Z5GWA7LB.js",
|
|
17
|
-
"line": 6580
|
|
18
|
-
},
|
|
19
|
-
"ObservationalMemoryProcessor": {
|
|
20
|
-
"types": "dist/processors/index.d.ts",
|
|
21
|
-
"implementation": "dist/chunk-Z5GWA7LB.js",
|
|
22
|
-
"line": 9124
|
|
23
|
-
},
|
|
24
|
-
"TokenCounter": {
|
|
25
|
-
"types": "dist/processors/index.d.ts",
|
|
26
|
-
"implementation": "dist/chunk-Z5GWA7LB.js",
|
|
27
|
-
"line": 6050
|
|
28
|
-
},
|
|
29
|
-
"buildObserverPrompt": {
|
|
30
|
-
"types": "dist/processors/index.d.ts",
|
|
31
|
-
"implementation": "dist/chunk-Z5GWA7LB.js",
|
|
32
|
-
"line": 3567
|
|
33
|
-
},
|
|
34
|
-
"buildObserverSystemPrompt": {
|
|
35
|
-
"types": "dist/processors/index.d.ts",
|
|
36
|
-
"implementation": "dist/chunk-Z5GWA7LB.js",
|
|
37
|
-
"line": 2950
|
|
38
|
-
},
|
|
39
|
-
"combineObservationGroupRanges": {
|
|
40
|
-
"types": "dist/processors/index.d.ts",
|
|
41
|
-
"implementation": "dist/chunk-Z5GWA7LB.js",
|
|
42
|
-
"line": 837
|
|
43
|
-
},
|
|
44
|
-
"deriveObservationGroupProvenance": {
|
|
45
|
-
"types": "dist/processors/index.d.ts",
|
|
46
|
-
"implementation": "dist/chunk-Z5GWA7LB.js",
|
|
47
|
-
"line": 871
|
|
48
|
-
},
|
|
49
|
-
"extractCurrentTask": {
|
|
50
|
-
"types": "dist/processors/index.d.ts",
|
|
51
|
-
"implementation": "dist/chunk-Z5GWA7LB.js",
|
|
52
|
-
"line": 3681
|
|
53
|
-
},
|
|
54
|
-
"formatMessagesForObserver": {
|
|
55
|
-
"types": "dist/processors/index.d.ts",
|
|
56
|
-
"implementation": "dist/chunk-Z5GWA7LB.js",
|
|
57
|
-
"line": 3293
|
|
58
|
-
},
|
|
59
|
-
"getObservationsAsOf": {
|
|
60
|
-
"types": "dist/processors/index.d.ts",
|
|
61
|
-
"implementation": "dist/chunk-Z5GWA7LB.js",
|
|
62
|
-
"line": 9330
|
|
63
|
-
},
|
|
64
|
-
"hasCurrentTaskSection": {
|
|
65
|
-
"types": "dist/processors/index.d.ts",
|
|
66
|
-
"implementation": "dist/chunk-Z5GWA7LB.js",
|
|
67
|
-
"line": 3669
|
|
68
|
-
},
|
|
69
|
-
"injectAnchorIds": {
|
|
70
|
-
"types": "dist/processors/index.d.ts",
|
|
71
|
-
"implementation": "dist/chunk-Z5GWA7LB.js",
|
|
72
|
-
"line": 2498
|
|
73
|
-
},
|
|
74
|
-
"optimizeObservationsForContext": {
|
|
75
|
-
"types": "dist/processors/index.d.ts",
|
|
76
|
-
"implementation": "dist/chunk-Z5GWA7LB.js",
|
|
77
|
-
"line": 3692
|
|
78
|
-
},
|
|
79
|
-
"parseAnchorId": {
|
|
80
|
-
"types": "dist/processors/index.d.ts",
|
|
81
|
-
"implementation": "dist/chunk-Z5GWA7LB.js",
|
|
82
|
-
"line": 2471
|
|
83
|
-
},
|
|
84
|
-
"parseObservationGroups": {
|
|
85
|
-
"types": "dist/processors/index.d.ts",
|
|
86
|
-
"implementation": "dist/chunk-Z5GWA7LB.js",
|
|
87
|
-
"line": 806
|
|
88
|
-
},
|
|
89
|
-
"parseObserverOutput": {
|
|
90
|
-
"types": "dist/processors/index.d.ts",
|
|
91
|
-
"implementation": "dist/chunk-Z5GWA7LB.js",
|
|
92
|
-
"line": 3577
|
|
93
|
-
},
|
|
94
|
-
"reconcileObservationGroupsFromReflection": {
|
|
95
|
-
"types": "dist/processors/index.d.ts",
|
|
96
|
-
"implementation": "dist/chunk-Z5GWA7LB.js",
|
|
97
|
-
"line": 895
|
|
98
|
-
},
|
|
99
|
-
"renderObservationGroupsForReflection": {
|
|
100
|
-
"types": "dist/processors/index.d.ts",
|
|
101
|
-
"implementation": "dist/chunk-Z5GWA7LB.js",
|
|
102
|
-
"line": 851
|
|
103
|
-
},
|
|
104
|
-
"stripEphemeralAnchorIds": {
|
|
105
|
-
"types": "dist/processors/index.d.ts",
|
|
106
|
-
"implementation": "dist/chunk-Z5GWA7LB.js",
|
|
107
|
-
"line": 2528
|
|
108
|
-
},
|
|
109
|
-
"stripObservationGroups": {
|
|
110
|
-
"types": "dist/processors/index.d.ts",
|
|
111
|
-
"implementation": "dist/chunk-Z5GWA7LB.js",
|
|
112
|
-
"line": 828
|
|
113
|
-
},
|
|
114
|
-
"wrapInObservationGroup": {
|
|
115
|
-
"types": "dist/processors/index.d.ts",
|
|
116
|
-
"implementation": "dist/chunk-Z5GWA7LB.js",
|
|
117
|
-
"line": 799
|
|
118
|
-
},
|
|
119
|
-
"OBSERVATIONAL_MEMORY_DEFAULTS": {
|
|
120
|
-
"types": "dist/processors/index.d.ts",
|
|
121
|
-
"implementation": "dist/chunk-LSJJAJAF.js"
|
|
122
|
-
},
|
|
123
|
-
"OBSERVATION_CONTEXT_INSTRUCTIONS": {
|
|
124
|
-
"types": "dist/processors/index.d.ts",
|
|
125
|
-
"implementation": "dist/chunk-LSJJAJAF.js"
|
|
126
|
-
},
|
|
127
|
-
"OBSERVATION_CONTEXT_PROMPT": {
|
|
128
|
-
"types": "dist/processors/index.d.ts",
|
|
129
|
-
"implementation": "dist/chunk-LSJJAJAF.js"
|
|
130
|
-
},
|
|
131
|
-
"OBSERVATION_CONTINUATION_HINT": {
|
|
132
|
-
"types": "dist/processors/index.d.ts",
|
|
133
|
-
"implementation": "dist/chunk-LSJJAJAF.js"
|
|
134
|
-
},
|
|
135
|
-
"MessageHistory": {
|
|
136
|
-
"types": "dist/index.d.ts",
|
|
137
|
-
"implementation": "dist/processors"
|
|
138
|
-
},
|
|
139
|
-
"SemanticRecall": {
|
|
140
|
-
"types": "dist/index.d.ts",
|
|
141
|
-
"implementation": "dist/processors"
|
|
142
|
-
},
|
|
143
|
-
"WorkingMemory": {
|
|
144
|
-
"types": "dist/index.d.ts",
|
|
145
|
-
"implementation": "dist/processors"
|
|
146
|
-
}
|
|
147
|
-
},
|
|
4
|
+
"exports": {},
|
|
148
5
|
"modules": {
|
|
149
6
|
"processors": {
|
|
150
7
|
"index": "dist/processors/index.js",
|
|
151
|
-
"chunks": [
|
|
152
|
-
"chunk-Z5GWA7LB.js",
|
|
153
|
-
"chunk-LSJJAJAF.js"
|
|
154
|
-
]
|
|
8
|
+
"chunks": []
|
|
155
9
|
}
|
|
156
10
|
}
|
|
157
11
|
}
|