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.
Files changed (67) hide show
  1. {agent_memory_git-0.1.15 → agent_memory_git-0.1.17}/PKG-INFO +1 -1
  2. {agent_memory_git-0.1.15 → agent_memory_git-0.1.17}/pyproject.toml +1 -1
  3. {agent_memory_git-0.1.15 → agent_memory_git-0.1.17}/pyproject.toml.orig +1 -1
  4. {agent_memory_git-0.1.15 → agent_memory_git-0.1.17}/src/agent_memory/cli.py +29 -2
  5. {agent_memory_git-0.1.15 → agent_memory_git-0.1.17}/LICENSE +0 -0
  6. {agent_memory_git-0.1.15 → agent_memory_git-0.1.17}/README.md +0 -0
  7. {agent_memory_git-0.1.15 → agent_memory_git-0.1.17}/src/agent_memory/PROTOCOL.md +0 -0
  8. {agent_memory_git-0.1.15 → agent_memory_git-0.1.17}/src/agent_memory/__init__.py +0 -0
  9. {agent_memory_git-0.1.15 → agent_memory_git-0.1.17}/src/agent_memory/__main__.py +0 -0
  10. {agent_memory_git-0.1.15 → agent_memory_git-0.1.17}/src/agent_memory/capture.py +0 -0
  11. {agent_memory_git-0.1.15 → agent_memory_git-0.1.17}/src/agent_memory/config.py +0 -0
  12. {agent_memory_git-0.1.15 → agent_memory_git-0.1.17}/src/agent_memory/context.py +0 -0
  13. {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
  14. {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
  15. {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
  16. {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
  17. {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
  18. {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
  19. {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
  20. {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
  21. {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
  22. {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
  23. {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
  24. {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
  25. {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
  26. {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
  27. {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
  28. {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
  29. {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
  30. {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
  31. {agent_memory_git-0.1.15 → agent_memory_git-0.1.17}/src/agent_memory/demo.py +0 -0
  32. {agent_memory_git-0.1.15 → agent_memory_git-0.1.17}/src/agent_memory/embed_worker.py +0 -0
  33. {agent_memory_git-0.1.15 → agent_memory_git-0.1.17}/src/agent_memory/frontmatter.py +0 -0
  34. {agent_memory_git-0.1.15 → agent_memory_git-0.1.17}/src/agent_memory/gitsync.py +0 -0
  35. {agent_memory_git-0.1.15 → agent_memory_git-0.1.17}/src/agent_memory/hooks.py +0 -0
  36. {agent_memory_git-0.1.15 → agent_memory_git-0.1.17}/src/agent_memory/importers.py +0 -0
  37. {agent_memory_git-0.1.15 → agent_memory_git-0.1.17}/src/agent_memory/install.py +0 -0
  38. {agent_memory_git-0.1.15 → agent_memory_git-0.1.17}/src/agent_memory/lint.py +0 -0
  39. {agent_memory_git-0.1.15 → agent_memory_git-0.1.17}/src/agent_memory/profiles.py +0 -0
  40. {agent_memory_git-0.1.15 → agent_memory_git-0.1.17}/src/agent_memory/select.py +0 -0
  41. {agent_memory_git-0.1.15 → agent_memory_git-0.1.17}/src/agent_memory/sessions.py +0 -0
  42. {agent_memory_git-0.1.15 → agent_memory_git-0.1.17}/src/agent_memory/store.py +0 -0
  43. {agent_memory_git-0.1.15 → agent_memory_git-0.1.17}/src/agent_memory/ui.py +0 -0
  44. {agent_memory_git-0.1.15 → agent_memory_git-0.1.17}/src/agent_memory/ui_server.py +0 -0
  45. {agent_memory_git-0.1.15 → agent_memory_git-0.1.17}/src/agent_memory/update.py +0 -0
  46. {agent_memory_git-0.1.15 → agent_memory_git-0.1.17}/src/agent_memory/util.py +0 -0
  47. {agent_memory_git-0.1.15 → agent_memory_git-0.1.17}/src/agent_memory/webui/app.css +0 -0
  48. {agent_memory_git-0.1.15 → agent_memory_git-0.1.17}/src/agent_memory/webui/index.html +0 -0
  49. {agent_memory_git-0.1.15 → agent_memory_git-0.1.17}/src/agent_memory/webui/js/api.js +0 -0
  50. {agent_memory_git-0.1.15 → agent_memory_git-0.1.17}/src/agent_memory/webui/js/avatar.js +0 -0
  51. {agent_memory_git-0.1.15 → agent_memory_git-0.1.17}/src/agent_memory/webui/js/filters.js +0 -0
  52. {agent_memory_git-0.1.15 → agent_memory_git-0.1.17}/src/agent_memory/webui/js/format.js +0 -0
  53. {agent_memory_git-0.1.15 → agent_memory_git-0.1.17}/src/agent_memory/webui/js/h.js +0 -0
  54. {agent_memory_git-0.1.15 → agent_memory_git-0.1.17}/src/agent_memory/webui/js/icons.js +0 -0
  55. {agent_memory_git-0.1.15 → agent_memory_git-0.1.17}/src/agent_memory/webui/js/main.js +0 -0
  56. {agent_memory_git-0.1.15 → agent_memory_git-0.1.17}/src/agent_memory/webui/js/markdown.js +0 -0
  57. {agent_memory_git-0.1.15 → agent_memory_git-0.1.17}/src/agent_memory/webui/js/search.js +0 -0
  58. {agent_memory_git-0.1.15 → agent_memory_git-0.1.17}/src/agent_memory/webui/js/store.js +0 -0
  59. {agent_memory_git-0.1.15 → agent_memory_git-0.1.17}/src/agent_memory/webui/js/views/insights.js +0 -0
  60. {agent_memory_git-0.1.15 → agent_memory_git-0.1.17}/src/agent_memory/webui/js/views/list.js +0 -0
  61. {agent_memory_git-0.1.15 → agent_memory_git-0.1.17}/src/agent_memory/webui/js/views/memory.js +0 -0
  62. {agent_memory_git-0.1.15 → agent_memory_git-0.1.17}/src/agent_memory/webui/js/views/overlays.js +0 -0
  63. {agent_memory_git-0.1.15 → agent_memory_git-0.1.17}/src/agent_memory/webui/js/views/profiles.js +0 -0
  64. {agent_memory_git-0.1.15 → agent_memory_git-0.1.17}/src/agent_memory/webui/js/views/settings.js +0 -0
  65. {agent_memory_git-0.1.15 → agent_memory_git-0.1.17}/src/agent_memory/webui/js/views/shell.js +0 -0
  66. {agent_memory_git-0.1.15 → agent_memory_git-0.1.17}/src/agent_memory/webui/js/views/ui.js +0 -0
  67. {agent_memory_git-0.1.15 → agent_memory_git-0.1.17}/src/agent_memory/workdir.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: agent-memory-git
3
- Version: 0.1.15
3
+ Version: 0.1.17
4
4
  Summary: Shared, git-backed memory for Claude Code and Codex.
5
5
  Keywords: claude-code,codex,memory,agents,git
6
6
  Author: Shichao Song
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "agent-memory-git"
3
- version = "0.1.15"
3
+ version = "0.1.17"
4
4
  description = "Shared, git-backed memory for Claude Code and Codex."
5
5
  readme = "README.md"
6
6
  license = "MIT"
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "agent-memory-git"
3
- version = "0.1.15"
3
+ version = "0.1.17"
4
4
  description = "Shared, git-backed memory for Claude Code and Codex."
5
5
  readme = "README.md"
6
6
  license = "MIT"
@@ -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, _ = profiles.listing()
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
- _switched(profiles.listing()[0][active]["name"])
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")