agent-memory-git 0.1.15__tar.gz → 0.1.17__tar.gz
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.
- {agent_memory_git-0.1.15 → agent_memory_git-0.1.17}/PKG-INFO +1 -1
- {agent_memory_git-0.1.15 → agent_memory_git-0.1.17}/pyproject.toml +1 -1
- {agent_memory_git-0.1.15 → agent_memory_git-0.1.17}/pyproject.toml.orig +1 -1
- {agent_memory_git-0.1.15 → agent_memory_git-0.1.17}/src/agent_memory/cli.py +29 -2
- {agent_memory_git-0.1.15 → agent_memory_git-0.1.17}/LICENSE +0 -0
- {agent_memory_git-0.1.15 → agent_memory_git-0.1.17}/README.md +0 -0
- {agent_memory_git-0.1.15 → agent_memory_git-0.1.17}/src/agent_memory/PROTOCOL.md +0 -0
- {agent_memory_git-0.1.15 → agent_memory_git-0.1.17}/src/agent_memory/__init__.py +0 -0
- {agent_memory_git-0.1.15 → agent_memory_git-0.1.17}/src/agent_memory/__main__.py +0 -0
- {agent_memory_git-0.1.15 → agent_memory_git-0.1.17}/src/agent_memory/capture.py +0 -0
- {agent_memory_git-0.1.15 → agent_memory_git-0.1.17}/src/agent_memory/config.py +0 -0
- {agent_memory_git-0.1.15 → agent_memory_git-0.1.17}/src/agent_memory/context.py +0 -0
- {agent_memory_git-0.1.15 → agent_memory_git-0.1.17}/src/agent_memory/demo/personal/2026/08/20260816-blog-publishing-k3qm.md +0 -0
- {agent_memory_git-0.1.15 → agent_memory_git-0.1.17}/src/agent_memory/demo/personal/2026/09/20260906-push-personal-repos-w8re.md +0 -0
- {agent_memory_git-0.1.15 → agent_memory_git-0.1.17}/src/agent_memory/demo/personal/2026/09/20260921-home-server-n2vb.md +0 -0
- {agent_memory_git-0.1.15 → agent_memory_git-0.1.17}/src/agent_memory/demo/personal/2026/10/20261004-options-first-7hcx.md +0 -0
- {agent_memory_git-0.1.15 → agent_memory_git-0.1.17}/src/agent_memory/demo/personal/2026/10/20261009-thesis-setup-fr6e.md +0 -0
- {agent_memory_git-0.1.15 → agent_memory_git-0.1.17}/src/agent_memory/demo/work/2026/08/20260804-alex-profile-ujzd.md +0 -0
- {agent_memory_git-0.1.15 → agent_memory_git-0.1.17}/src/agent_memory/demo/work/2026/08/20260804-reply-language-xdnc.md +0 -0
- {agent_memory_git-0.1.15 → agent_memory_git-0.1.17}/src/agent_memory/demo/work/2026/08/20260812-ask-before-push-pf3d.md +0 -0
- {agent_memory_git-0.1.15 → agent_memory_git-0.1.17}/src/agent_memory/demo/work/2026/08/20260820-tests-before-done-odzd.md +0 -0
- {agent_memory_git-0.1.15 → agent_memory_git-0.1.17}/src/agent_memory/demo/work/2026/08/20260827-etl-orders-export-deadline-pft7.md +0 -0
- {agent_memory_git-0.1.15 → agent_memory_git-0.1.17}/src/agent_memory/demo/work/2026/08/20260828-etl-dashboard-72ce.md +0 -0
- {agent_memory_git-0.1.15 → agent_memory_git-0.1.17}/src/agent_memory/demo/work/2026/09/20260902-report-eta-is2j.md +0 -0
- {agent_memory_git-0.1.15 → agent_memory_git-0.1.17}/src/agent_memory/demo/work/2026/09/20260908-shop-web-stripe-checkout-lgmx.md +0 -0
- {agent_memory_git-0.1.15 → agent_memory_git-0.1.17}/src/agent_memory/demo/work/2026/09/20260910-shop-web-deploys-dn73.md +0 -0
- {agent_memory_git-0.1.15 → agent_memory_git-0.1.17}/src/agent_memory/demo/work/2026/09/20260915-etl-parquet-partitioning-seh2.md +0 -0
- {agent_memory_git-0.1.15 → agent_memory_git-0.1.17}/src/agent_memory/demo/work/2026/09/20260922-design-tokens-source-uvw7.md +0 -0
- {agent_memory_git-0.1.15 → agent_memory_git-0.1.17}/src/agent_memory/demo/work/2026/10/20261002-shop-web-v3-freeze-5xtp.md +0 -0
- {agent_memory_git-0.1.15 → agent_memory_git-0.1.17}/src/agent_memory/demo/work/2026/10/20261012-payments-runbook-4syw.md +0 -0
- {agent_memory_git-0.1.15 → agent_memory_git-0.1.17}/src/agent_memory/demo.py +0 -0
- {agent_memory_git-0.1.15 → agent_memory_git-0.1.17}/src/agent_memory/embed_worker.py +0 -0
- {agent_memory_git-0.1.15 → agent_memory_git-0.1.17}/src/agent_memory/frontmatter.py +0 -0
- {agent_memory_git-0.1.15 → agent_memory_git-0.1.17}/src/agent_memory/gitsync.py +0 -0
- {agent_memory_git-0.1.15 → agent_memory_git-0.1.17}/src/agent_memory/hooks.py +0 -0
- {agent_memory_git-0.1.15 → agent_memory_git-0.1.17}/src/agent_memory/importers.py +0 -0
- {agent_memory_git-0.1.15 → agent_memory_git-0.1.17}/src/agent_memory/install.py +0 -0
- {agent_memory_git-0.1.15 → agent_memory_git-0.1.17}/src/agent_memory/lint.py +0 -0
- {agent_memory_git-0.1.15 → agent_memory_git-0.1.17}/src/agent_memory/profiles.py +0 -0
- {agent_memory_git-0.1.15 → agent_memory_git-0.1.17}/src/agent_memory/select.py +0 -0
- {agent_memory_git-0.1.15 → agent_memory_git-0.1.17}/src/agent_memory/sessions.py +0 -0
- {agent_memory_git-0.1.15 → agent_memory_git-0.1.17}/src/agent_memory/store.py +0 -0
- {agent_memory_git-0.1.15 → agent_memory_git-0.1.17}/src/agent_memory/ui.py +0 -0
- {agent_memory_git-0.1.15 → agent_memory_git-0.1.17}/src/agent_memory/ui_server.py +0 -0
- {agent_memory_git-0.1.15 → agent_memory_git-0.1.17}/src/agent_memory/update.py +0 -0
- {agent_memory_git-0.1.15 → agent_memory_git-0.1.17}/src/agent_memory/util.py +0 -0
- {agent_memory_git-0.1.15 → agent_memory_git-0.1.17}/src/agent_memory/webui/app.css +0 -0
- {agent_memory_git-0.1.15 → agent_memory_git-0.1.17}/src/agent_memory/webui/index.html +0 -0
- {agent_memory_git-0.1.15 → agent_memory_git-0.1.17}/src/agent_memory/webui/js/api.js +0 -0
- {agent_memory_git-0.1.15 → agent_memory_git-0.1.17}/src/agent_memory/webui/js/avatar.js +0 -0
- {agent_memory_git-0.1.15 → agent_memory_git-0.1.17}/src/agent_memory/webui/js/filters.js +0 -0
- {agent_memory_git-0.1.15 → agent_memory_git-0.1.17}/src/agent_memory/webui/js/format.js +0 -0
- {agent_memory_git-0.1.15 → agent_memory_git-0.1.17}/src/agent_memory/webui/js/h.js +0 -0
- {agent_memory_git-0.1.15 → agent_memory_git-0.1.17}/src/agent_memory/webui/js/icons.js +0 -0
- {agent_memory_git-0.1.15 → agent_memory_git-0.1.17}/src/agent_memory/webui/js/main.js +0 -0
- {agent_memory_git-0.1.15 → agent_memory_git-0.1.17}/src/agent_memory/webui/js/markdown.js +0 -0
- {agent_memory_git-0.1.15 → agent_memory_git-0.1.17}/src/agent_memory/webui/js/search.js +0 -0
- {agent_memory_git-0.1.15 → agent_memory_git-0.1.17}/src/agent_memory/webui/js/store.js +0 -0
- {agent_memory_git-0.1.15 → agent_memory_git-0.1.17}/src/agent_memory/webui/js/views/insights.js +0 -0
- {agent_memory_git-0.1.15 → agent_memory_git-0.1.17}/src/agent_memory/webui/js/views/list.js +0 -0
- {agent_memory_git-0.1.15 → agent_memory_git-0.1.17}/src/agent_memory/webui/js/views/memory.js +0 -0
- {agent_memory_git-0.1.15 → agent_memory_git-0.1.17}/src/agent_memory/webui/js/views/overlays.js +0 -0
- {agent_memory_git-0.1.15 → agent_memory_git-0.1.17}/src/agent_memory/webui/js/views/profiles.js +0 -0
- {agent_memory_git-0.1.15 → agent_memory_git-0.1.17}/src/agent_memory/webui/js/views/settings.js +0 -0
- {agent_memory_git-0.1.15 → agent_memory_git-0.1.17}/src/agent_memory/webui/js/views/shell.js +0 -0
- {agent_memory_git-0.1.15 → agent_memory_git-0.1.17}/src/agent_memory/webui/js/views/ui.js +0 -0
- {agent_memory_git-0.1.15 → agent_memory_git-0.1.17}/src/agent_memory/workdir.py +0 -0
|
@@ -230,6 +230,29 @@ def cmd_import(args):
|
|
|
230
230
|
importers.run(args.source, _data(), dry_run=args.dry_run)
|
|
231
231
|
|
|
232
232
|
|
|
233
|
+
def cmd_update(args):
|
|
234
|
+
"""Update agent-memory as Update in mem ui's Settings does: upgrade with uv, then run mem install."""
|
|
235
|
+
from . import update
|
|
236
|
+
|
|
237
|
+
st = update.status(force=True)
|
|
238
|
+
if not st["oneClick"]:
|
|
239
|
+
sys.exit(f"this copy of mem was not installed with `uv tool`; update it with: {st['command']}")
|
|
240
|
+
if st["latest"] and not st["available"]:
|
|
241
|
+
print(f"agent-memory {st['current']} is the latest release")
|
|
242
|
+
return 0
|
|
243
|
+
print(f"updating agent-memory {st['current']} to {st['latest'] or 'the latest release'}…", flush=True)
|
|
244
|
+
r = update.upgrade()
|
|
245
|
+
if not r["ok"]:
|
|
246
|
+
if r.get("log"):
|
|
247
|
+
print(r["log"])
|
|
248
|
+
sys.exit(r["error"])
|
|
249
|
+
if r["changed"]:
|
|
250
|
+
print(f"updated agent-memory {r['from']} to {r['to']}; mem install refreshed the hooks and the protocol")
|
|
251
|
+
else:
|
|
252
|
+
print(f"agent-memory {r['from']} is the latest release")
|
|
253
|
+
return 0
|
|
254
|
+
|
|
255
|
+
|
|
233
256
|
def cmd_doctor(args):
|
|
234
257
|
from .install import doctor
|
|
235
258
|
|
|
@@ -269,11 +292,12 @@ def cmd_profile(args):
|
|
|
269
292
|
_switched(found[pid]["name"])
|
|
270
293
|
_access_note()
|
|
271
294
|
elif args.action == "remove":
|
|
272
|
-
found,
|
|
295
|
+
found, before = profiles.listing()
|
|
273
296
|
pid = profiles.find(args.profile, found)
|
|
274
297
|
active = profiles.remove(pid)
|
|
275
298
|
print(f"removed {found[pid]['name']}; {profiles.short(found[pid]['data_dir'])} is left as it is")
|
|
276
|
-
|
|
299
|
+
if active != before: # only removing the active profile switches sessions to another
|
|
300
|
+
_switched(profiles.listing()[0][active]["name"])
|
|
277
301
|
_access_note()
|
|
278
302
|
else:
|
|
279
303
|
for p in profiles.summary()["profiles"]:
|
|
@@ -379,6 +403,9 @@ def main(argv=None):
|
|
|
379
403
|
sp = sub.add_parser("doctor", help="check the installation")
|
|
380
404
|
sp.set_defaults(fn=cmd_doctor)
|
|
381
405
|
|
|
406
|
+
sp = sub.add_parser("update", help="update to the latest release, then run mem install")
|
|
407
|
+
sp.set_defaults(fn=cmd_update)
|
|
408
|
+
|
|
382
409
|
sp = sub.add_parser("profile", help="list, switch, add or remove profiles: separate memory repositories")
|
|
383
410
|
psub = sp.add_subparsers(dest="action")
|
|
384
411
|
psub.add_parser("list", help="list profiles; * marks the one new sessions use")
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{agent_memory_git-0.1.15 → agent_memory_git-0.1.17}/src/agent_memory/webui/js/views/insights.js
RENAMED
|
File without changes
|
|
File without changes
|
{agent_memory_git-0.1.15 → agent_memory_git-0.1.17}/src/agent_memory/webui/js/views/memory.js
RENAMED
|
File without changes
|
{agent_memory_git-0.1.15 → agent_memory_git-0.1.17}/src/agent_memory/webui/js/views/overlays.js
RENAMED
|
File without changes
|
{agent_memory_git-0.1.15 → agent_memory_git-0.1.17}/src/agent_memory/webui/js/views/profiles.js
RENAMED
|
File without changes
|
{agent_memory_git-0.1.15 → agent_memory_git-0.1.17}/src/agent_memory/webui/js/views/settings.js
RENAMED
|
File without changes
|
{agent_memory_git-0.1.15 → agent_memory_git-0.1.17}/src/agent_memory/webui/js/views/shell.js
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|