Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ npm install @supermemory/eve
The provider supports Eve 0.47.3 and newer 0.x releases. Set `SUPERMEMORY_API_KEY` from the
[Supermemory console](https://console.supermemory.ai).

Use Eve 0.71.3 or newer for development. Eve 0.66.1 has an upstream completed-turn capture
regression; Eve restored automatic capture in 0.69.0.

Create a memory slot in the consuming Eve agent. `supermemory(...)` configures the provider;
`defineMemory(...)` binds it to an Eve-managed scope.

Expand Down Expand Up @@ -177,6 +180,10 @@ Install the same provider. SuperRAG handles PDFs, URLs, images, audio, video, an
can index a source, search it later, and return to the original document when it needs more detail.
There is no separate RAG setup.

Eve 0.71.3 has an upstream serialization issue that prevents memory-provider tools from loading
on attached-file turns. Until Eve fixes it, use `extract` with text or URL sources. File extraction
accepts only Eve-staged paths under `/workspace/.eve/attachments/`.

## Development

Requires Node.js 24 or newer.
Expand Down
20 changes: 10 additions & 10 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@supermemory/eve",
"version": "0.1.2",
"version": "0.1.3",
"description": "Durable user context, retrieval, extraction, remembering, and forgetting for Eve agents.",
"repository": {
"type": "git",
Expand Down Expand Up @@ -39,7 +39,7 @@
"devDependencies": {
"@biomejs/biome": "2.5.7",
"@types/node": "24.x",
"eve": "0.66.1",
"eve": "0.71.3",
"typescript": "7.0.2"
},
"peerDependencies": {
Expand Down
4 changes: 2 additions & 2 deletions src/lib/extract-source.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,12 @@ function extractionMetadata(input: ExtractionInput, ctx: ToolContext) {

async function sandboxAttachment(inputPath: string, ctx: ToolContext) {
const sandbox = await ctx.getSandbox();
const attachmentsRoot = resolve(sandbox.resolvePath("/workspace/attachments"));
const attachmentsRoot = resolve(sandbox.resolvePath("/workspace/.eve/attachments"));
const resolvedPath = resolve(sandbox.resolvePath(inputPath));
const relativePath = relative(attachmentsRoot, resolvedPath);

if (!relativePath || relativePath.startsWith("..") || isAbsolute(relativePath)) {
throw new Error("Files must come from Eve's /workspace/attachments directory.");
throw new Error("Files must come from Eve's /workspace/.eve/attachments directory.");
}

const bytes = await sandbox.readBinaryFile({
Expand Down