@hasna/mementos 0.4.36 → 0.4.37
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/dist/cli/index.js +2 -2
- package/package.json +1 -1
package/dist/cli/index.js
CHANGED
|
@@ -4785,7 +4785,7 @@ program2.command("recall <key>").description("Recall a memory by key").option("-
|
|
|
4785
4785
|
handleError(e);
|
|
4786
4786
|
}
|
|
4787
4787
|
});
|
|
4788
|
-
program2.command("list").description("List memories with optional filters").option("-s, --scope <scope>", "Scope filter").option("-c, --category <cat>", "Category filter").option("--tags <tags>", "Comma-separated tags filter").option("--importance-min <n>", "Minimum importance", parseInt).option("--pinned", "Show only pinned").option("--agent <name>", "Agent filter").option("--project <path>", "Project filter").option("--limit <n>", "Max results", parseInt).option("--offset <n>", "Offset for pagination", parseInt).option("--status <status>", "Status filter: active, archived, expired").option("--format <fmt>", "Output format: compact (default), json, csv, yaml").action((opts) => {
|
|
4788
|
+
program2.command("list").description("List memories with optional filters").option("-s, --scope <scope>", "Scope filter").option("-c, --category <cat>", "Category filter").option("--tags <tags>", "Comma-separated tags filter").option("--importance-min <n>", "Minimum importance", parseInt).option("--pinned", "Show only pinned").option("--agent <name>", "Agent filter").option("--project <path>", "Project filter").option("--session <id>", "Session ID filter").option("--limit <n>", "Max results", parseInt).option("--offset <n>", "Offset for pagination", parseInt).option("--status <status>", "Status filter: active, archived, expired").option("--format <fmt>", "Output format: compact (default), json, csv, yaml").action((opts) => {
|
|
4789
4789
|
try {
|
|
4790
4790
|
const globalOpts = program2.opts();
|
|
4791
4791
|
const agentId = opts.agent || globalOpts.agent;
|
|
@@ -4807,7 +4807,7 @@ program2.command("list").description("List memories with optional filters").opti
|
|
|
4807
4807
|
limit: opts.limit || 50,
|
|
4808
4808
|
offset: opts.offset,
|
|
4809
4809
|
status: opts.status,
|
|
4810
|
-
session_id: globalOpts.session
|
|
4810
|
+
session_id: opts.session || globalOpts.session
|
|
4811
4811
|
};
|
|
4812
4812
|
const memories = listMemories(filter);
|
|
4813
4813
|
const fmt = getOutputFormat(opts.format);
|