@sentry/junior-memory 0.203.0 → 0.204.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -1
- package/dist/index.js +2 -4
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -7,7 +7,8 @@ exported types, tools, and tests are authoritative.
|
|
|
7
7
|
## Surfaces
|
|
8
8
|
|
|
9
9
|
- `createMemory`, `removeMemory`, `listMemories`, and `searchMemories` are
|
|
10
|
-
model-visible tools registered by `src/plugin.ts`.
|
|
10
|
+
model-visible tools registered by `src/plugin.ts`. `removeMemory` can forget
|
|
11
|
+
public memory or private memory owned by the current User.
|
|
11
12
|
- `userPrompt` recall contributes bounded memory context before a run.
|
|
12
13
|
- `processSession` reviews completed sessions asynchronously for passive
|
|
13
14
|
learning.
|
package/dist/index.js
CHANGED
|
@@ -1259,9 +1259,7 @@ function createMemoryStore(db, context, options = {}) {
|
|
|
1259
1259
|
async archiveMemory(input) {
|
|
1260
1260
|
input = archiveMemoryInputSchema.parse(input);
|
|
1261
1261
|
const nowMs = getNowMs();
|
|
1262
|
-
const scopes = deriveVisibleMemoryScopes(runtimeContext)
|
|
1263
|
-
(scope) => scope.scope === "private"
|
|
1264
|
-
);
|
|
1262
|
+
const scopes = deriveVisibleMemoryScopes(runtimeContext);
|
|
1265
1263
|
const predicate = activeVisiblePredicate({ nowMs, scopes });
|
|
1266
1264
|
const idPrefix = input.id.trim();
|
|
1267
1265
|
if (!idPrefix) {
|
|
@@ -2737,7 +2735,7 @@ function createMemoryRemoveTool(context) {
|
|
|
2737
2735
|
openWorldHint: false,
|
|
2738
2736
|
readOnlyHint: false
|
|
2739
2737
|
},
|
|
2740
|
-
description: "Forget one
|
|
2738
|
+
description: "Forget one active memory visible in the current context. This includes public memories and private memories owned by the current User. Use only ids or short id prefixes returned by listMemories or searchMemories. Never remove memories by hidden Actor, provider, scope, or subject ids.",
|
|
2741
2739
|
executionMode: "sequential",
|
|
2742
2740
|
inputSchema: removeMemoryInputSchema,
|
|
2743
2741
|
outputSchema: memorySingleOutputSchema,
|