Files
sakisakisa beb6343586 aelios 0.1.1: skip DS Bot background memory reviews (#779)
aelios recall() skips a request whose last user text is a DS Bot background
memory review (isMemoryReview: the "The Bot: …" / "The group chat: …" header,
the "Its memory now (…; team: shared by every Bot):" block, "New in …, oldest
first" and the closing "Write every new or changed entry in …." line), the
same way it skips a secret. A person quoting or discussing it is still
recalled and recorded. Version 0.1.1.

Run at 19818b55 on mote (Bun 1.4.2, HOME=$(mktemp -d)):
- bun test packages/aelios: 187 pass, 0 fail
- bun scripts/check.mjs: exit 0

Broken by hand (each restored after):
- isMemoryReview returns false: 6 fail
- isMemoryReview checks the header only: 1 fail (a discussion case)
- hook no longer calls isMemoryReview: 6 fail

Not tried: the template was not checked against DS Bot's own source (not
found publicly); a template change there makes the matcher miss, which keeps
today's behaviour (the review is recalled as before).
2026-11-06 12:19:03 +08:00

52 lines
1.1 KiB
JSON

{
"name": "@magpie-community/gateway-aelios",
"version": "0.1.1",
"description": "Aelios long-term memory for every agent behind magpie: recall before each turn, optional recording after it",
"type": "module",
"files": [
"aelios.hooks.mjs",
"slim.mjs",
"service.mjs",
"probe.mjs",
"page",
"README.md"
],
"keywords": [
"magpie",
"magpie-gateway",
"aelios",
"memory",
"llm-gateway"
],
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/magpie-community/plugins.git",
"directory": "packages/aelios"
},
"magpie": {
"hooks": "./aelios.hooks.mjs",
"options": {
"apiKeyEnv": "AELIOS_API_KEY",
"gatewayTimeoutMs": 5000,
"requestTimeoutMs": 4000,
"recallBackoffMs": 30000,
"record": false,
"port": 3481
},
"page": {
"title": "Aelios",
"file": "page/settings.html",
"icon": "page/icon.svg",
"service": { "port": 3481, "option": "port" }
}
},
"main": "./service.mjs",
"scripts": {
"check": "bun test ./*.test.mjs"
},
"engines": {
"bun": ">=1.4.2"
}
}