fix: clarify plugin command alias diagnostics (#64242) (thanks @feiskyer)

This commit is contained in:
Peter Steinberger
2026-04-10 14:30:43 +01:00
parent 8cb45c051e
commit beaff3c553
13 changed files with 214 additions and 38 deletions

View File

@@ -1,6 +1,13 @@
{
"id": "memory-core",
"kind": "memory",
"commandAliases": [
{
"name": "dreaming",
"kind": "runtime-slash",
"cliCommand": "memory"
}
],
"uiHints": {
"dreaming.frequency": {
"label": "Dreaming Frequency",

View File

@@ -914,13 +914,14 @@ describe("memory cli", () => {
it("previews rem harness output as json", async () => {
await withTempWorkspace(async (workspaceDir) => {
const nowMs = Date.now();
const isoDay = new Date(nowMs).toISOString().slice(0, 10);
await recordShortTermRecalls({
workspaceDir,
query: "weather plans",
nowMs,
results: [
{
path: "memory/2026-04-03.md",
path: `memory/${isoDay}.md`,
startLine: 2,
endLine: 3,
score: 0.92,