projectmem 0.3.6__tar.gz → 0.3.7__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.
- {projectmem-0.3.6 → projectmem-0.3.7}/CHANGELOG.md +16 -0
- projectmem-0.3.7/PKG-INFO +665 -0
- projectmem-0.3.7/README.md +632 -0
- {projectmem-0.3.6 → projectmem-0.3.7}/llms.txt +12 -4
- {projectmem-0.3.6 → projectmem-0.3.7}/pyproject.toml +1 -1
- {projectmem-0.3.6 → projectmem-0.3.7}/src/projectmem/__init__.py +1 -1
- {projectmem-0.3.6 → projectmem-0.3.7}/src/projectmem/cli.py +25 -0
- projectmem-0.3.7/src/projectmem/commands/agent_setup.py +446 -0
- {projectmem-0.3.6 → projectmem-0.3.7}/src/projectmem/commands/backfill.py +7 -3
- {projectmem-0.3.6 → projectmem-0.3.7}/src/projectmem/commands/doctor.py +3 -1
- projectmem-0.3.7/src/projectmem/commands/import_memory.py +370 -0
- {projectmem-0.3.6 → projectmem-0.3.7}/src/projectmem/commands/init.py +19 -1
- {projectmem-0.3.6 → projectmem-0.3.7}/src/projectmem/redaction.py +11 -2
- projectmem-0.3.7/tests/test_agent_setup.py +347 -0
- projectmem-0.3.7/tests/test_backfill.py +55 -0
- projectmem-0.3.7/tests/test_import_memory.py +299 -0
- {projectmem-0.3.6 → projectmem-0.3.7}/tests/test_redaction.py +76 -0
- projectmem-0.3.6/PKG-INFO +0 -1016
- projectmem-0.3.6/README.md +0 -983
- {projectmem-0.3.6 → projectmem-0.3.7}/.gitignore +0 -0
- {projectmem-0.3.6 → projectmem-0.3.7}/LICENSE +0 -0
- {projectmem-0.3.6 → projectmem-0.3.7}/SECURITY.md +0 -0
- {projectmem-0.3.6 → projectmem-0.3.7}/TUTORIAL.md +0 -0
- {projectmem-0.3.6 → projectmem-0.3.7}/src/projectmem/commands/__init__.py +0 -0
- {projectmem-0.3.6 → projectmem-0.3.7}/src/projectmem/commands/agent_hooks.py +0 -0
- {projectmem-0.3.6 → projectmem-0.3.7}/src/projectmem/commands/attempt.py +0 -0
- {projectmem-0.3.6 → projectmem-0.3.7}/src/projectmem/commands/auto_capture.py +0 -0
- {projectmem-0.3.6 → projectmem-0.3.7}/src/projectmem/commands/brief.py +0 -0
- {projectmem-0.3.6 → projectmem-0.3.7}/src/projectmem/commands/context.py +0 -0
- {projectmem-0.3.6 → projectmem-0.3.7}/src/projectmem/commands/dashboard.py +0 -0
- {projectmem-0.3.6 → projectmem-0.3.7}/src/projectmem/commands/decision.py +0 -0
- {projectmem-0.3.6 → projectmem-0.3.7}/src/projectmem/commands/export.py +0 -0
- {projectmem-0.3.6 → projectmem-0.3.7}/src/projectmem/commands/fix.py +0 -0
- {projectmem-0.3.6 → projectmem-0.3.7}/src/projectmem/commands/global_cmd.py +0 -0
- {projectmem-0.3.6 → projectmem-0.3.7}/src/projectmem/commands/hooks.py +0 -0
- {projectmem-0.3.6 → projectmem-0.3.7}/src/projectmem/commands/instructions.py +0 -0
- {projectmem-0.3.6 → projectmem-0.3.7}/src/projectmem/commands/log.py +0 -0
- {projectmem-0.3.6 → projectmem-0.3.7}/src/projectmem/commands/map.py +0 -0
- {projectmem-0.3.6 → projectmem-0.3.7}/src/projectmem/commands/note.py +0 -0
- {projectmem-0.3.6 → projectmem-0.3.7}/src/projectmem/commands/plan.py +0 -0
- {projectmem-0.3.6 → projectmem-0.3.7}/src/projectmem/commands/precheck.py +0 -0
- {projectmem-0.3.6 → projectmem-0.3.7}/src/projectmem/commands/project.py +0 -0
- {projectmem-0.3.6 → projectmem-0.3.7}/src/projectmem/commands/regenerate.py +0 -0
- {projectmem-0.3.6 → projectmem-0.3.7}/src/projectmem/commands/score.py +0 -0
- {projectmem-0.3.6 → projectmem-0.3.7}/src/projectmem/commands/search.py +0 -0
- {projectmem-0.3.6 → projectmem-0.3.7}/src/projectmem/commands/show.py +0 -0
- {projectmem-0.3.6 → projectmem-0.3.7}/src/projectmem/commands/stats.py +0 -0
- {projectmem-0.3.6 → projectmem-0.3.7}/src/projectmem/commands/visualize.py +0 -0
- {projectmem-0.3.6 → projectmem-0.3.7}/src/projectmem/commands/watch.py +0 -0
- {projectmem-0.3.6 → projectmem-0.3.7}/src/projectmem/commands/wrap.py +0 -0
- {projectmem-0.3.6 → projectmem-0.3.7}/src/projectmem/edit_hook.py +0 -0
- {projectmem-0.3.6 → projectmem-0.3.7}/src/projectmem/global_memory.py +0 -0
- {projectmem-0.3.6 → projectmem-0.3.7}/src/projectmem/glyphs.py +0 -0
- {projectmem-0.3.6 → projectmem-0.3.7}/src/projectmem/mcp_server.py +0 -0
- {projectmem-0.3.6 → projectmem-0.3.7}/src/projectmem/models.py +0 -0
- {projectmem-0.3.6 → projectmem-0.3.7}/src/projectmem/project_registry.py +0 -0
- {projectmem-0.3.6 → projectmem-0.3.7}/src/projectmem/resolver.py +0 -0
- {projectmem-0.3.6 → projectmem-0.3.7}/src/projectmem/search.py +0 -0
- {projectmem-0.3.6 → projectmem-0.3.7}/src/projectmem/session_start.py +0 -0
- {projectmem-0.3.6 → projectmem-0.3.7}/src/projectmem/staleness.py +0 -0
- {projectmem-0.3.6 → projectmem-0.3.7}/src/projectmem/storage.py +0 -0
- {projectmem-0.3.6 → projectmem-0.3.7}/src/projectmem/structure.py +0 -0
- {projectmem-0.3.6 → projectmem-0.3.7}/src/projectmem/summary.py +0 -0
- {projectmem-0.3.6 → projectmem-0.3.7}/tests/conftest.py +0 -0
- {projectmem-0.3.6 → projectmem-0.3.7}/tests/test_agent_guidance.py +0 -0
- {projectmem-0.3.6 → projectmem-0.3.7}/tests/test_agent_hooks.py +0 -0
- {projectmem-0.3.6 → projectmem-0.3.7}/tests/test_attempt.py +0 -0
- {projectmem-0.3.6 → projectmem-0.3.7}/tests/test_auto_capture.py +0 -0
- {projectmem-0.3.6 → projectmem-0.3.7}/tests/test_client_config_discovery.py +0 -0
- {projectmem-0.3.6 → projectmem-0.3.7}/tests/test_dashboard.py +0 -0
- {projectmem-0.3.6 → projectmem-0.3.7}/tests/test_edit_hook.py +0 -0
- {projectmem-0.3.6 → projectmem-0.3.7}/tests/test_global_mcp.py +0 -0
- {projectmem-0.3.6 → projectmem-0.3.7}/tests/test_hooks_path.py +0 -0
- {projectmem-0.3.6 → projectmem-0.3.7}/tests/test_init.py +0 -0
- {projectmem-0.3.6 → projectmem-0.3.7}/tests/test_init_ux.py +0 -0
- {projectmem-0.3.6 → projectmem-0.3.7}/tests/test_instructions_refresh.py +0 -0
- {projectmem-0.3.6 → projectmem-0.3.7}/tests/test_location_parsing.py +0 -0
- {projectmem-0.3.6 → projectmem-0.3.7}/tests/test_log.py +0 -0
- {projectmem-0.3.6 → projectmem-0.3.7}/tests/test_mcp_server.py +0 -0
- {projectmem-0.3.6 → projectmem-0.3.7}/tests/test_models.py +0 -0
- {projectmem-0.3.6 → projectmem-0.3.7}/tests/test_plan.py +0 -0
- {projectmem-0.3.6 → projectmem-0.3.7}/tests/test_precheck_lessons.py +0 -0
- {projectmem-0.3.6 → projectmem-0.3.7}/tests/test_search.py +0 -0
- {projectmem-0.3.6 → projectmem-0.3.7}/tests/test_session_issue.py +0 -0
- {projectmem-0.3.6 → projectmem-0.3.7}/tests/test_session_start.py +0 -0
- {projectmem-0.3.6 → projectmem-0.3.7}/tests/test_showoff.py +0 -0
- {projectmem-0.3.6 → projectmem-0.3.7}/tests/test_staleness_performance.py +0 -0
- {projectmem-0.3.6 → projectmem-0.3.7}/tests/test_staleness_repair.py +0 -0
- {projectmem-0.3.6 → projectmem-0.3.7}/tests/test_structure.py +0 -0
- {projectmem-0.3.6 → projectmem-0.3.7}/tests/test_summary.py +0 -0
- {projectmem-0.3.6 → projectmem-0.3.7}/tests/test_tool_replies.py +0 -0
- {projectmem-0.3.6 → projectmem-0.3.7}/tests/test_v014_features.py +0 -0
- {projectmem-0.3.6 → projectmem-0.3.7}/tests/test_visualize.py +0 -0
- {projectmem-0.3.6 → projectmem-0.3.7}/tests/test_watch.py +0 -0
- {projectmem-0.3.6 → projectmem-0.3.7}/tests/test_windows_console_encoding.py +0 -0
- {projectmem-0.3.6 → projectmem-0.3.7}/tests/test_windows_hooks_and_context.py +0 -0
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.3.7
|
|
4
|
+
|
|
5
|
+
**One command connects your AI client, your history from agentmemory or mem0 comes with you, private keys are redacted whole, and backfill no longer trips over a `|` in a commit message.**
|
|
6
|
+
|
|
7
|
+
### Added
|
|
8
|
+
|
|
9
|
+
- **`pjm init --agent <client>` connects an AI client for you.** Setting up the MCP server used to mean copying the block `pjm init` prints into the right file for each client. With `--agent claude-code`, `codex`, `cursor`, `antigravity` or `claude-desktop` (repeat it for several), `pjm init` adds the server to that client's user config once, for every project, and for Claude Code and Codex also installs the edit hook from 0.3.6. Claude Code and Codex are set up through their own `claude mcp add` and `codex mcp add`. For Cursor, Antigravity and Claude Desktop, only the `projectmem` entry is added to their JSON file: other servers and settings stay as they were, the previous file is kept as `<name>.pjm-bak`, and the file's permissions and dotfile symlinks are kept. A config that does not parse is left untouched and the entry to paste is printed. An entry pinned to one repo, or a projectmem server saved under another name, is left as it is. Running it again changes nothing. Without `--agent`, `pjm init` prints the config as before.
|
|
10
|
+
|
|
11
|
+
- **`pjm import <file> --from agentmemory|mem0` brings your history from another memory tool.** Only what maps onto projectmem's own events comes over. From agentmemory: `architecture` memories and decision observations become decisions; lessons, crystal narratives and `bug`, `pattern`, `workflow`, `fact` and `preference` memories become notes; error observations become failed attempts on their files, so precheck and the edit hook show them. Raw activity such as file reads and writes, commands and searches is dropped, as are superseded memories and other projects' records: only records whose project is this repo, or a folder inside it, are taken (`--source-project` picks a repo that moved). From mem0, every memory becomes a note, since mem0 memories carry no type. The first run only shows what would be imported; `--apply` writes it through the usual write path, so secrets are redacted, and keeps each record's original date. Each imported event names its source record, so importing the same file again adds nothing, and text the project already has is skipped. The export comes from agentmemory's `GET /agentmemory/export` or mem0's `get_all`.
|
|
12
|
+
|
|
13
|
+
### Fixed
|
|
14
|
+
|
|
15
|
+
- **Private keys were only partly redacted.** Only the `-----BEGIN … PRIVATE KEY-----` line was replaced, so the key itself was written to `events.jsonl`, for example from a pasted service-account JSON. The whole block up to its `END` line is redacted now: PKCS#8, RSA, EC, OpenSSH, encrypted and PGP keys, with real or escaped line breaks, also inside a diff or a quote. A key cut off before its `END` line has its base64 lines redacted. Public keys and certificates are not touched. Contributed by [@bardrop](https://github.com/bardrop). ([#38](https://github.com/riponcm/projectmem/pull/38))
|
|
16
|
+
|
|
17
|
+
- **`pjm backfill` stopped at a commit with `|` in its subject or author name**, with `ValueError: too many values to unpack`. Because `pjm init` hides backfill errors, one such commit among the last 20 meant `pjm init` imported no history at all. The `git log` fields are now separated by a character a commit message cannot contain, and a line that still does not parse is skipped instead of stopping the import. Reported by [@Fonsi44](https://github.com/Fonsi44). ([#39](https://github.com/riponcm/projectmem/issues/39))
|
|
18
|
+
|
|
3
19
|
## 0.3.6
|
|
4
20
|
|
|
5
21
|
**Your agent sees a file's lessons before it edits it, precheck shows every past failure, and parallel sessions keep to their own issues.** Every change in this release was reported, measured and contributed by [@bigfree](https://github.com/bigfree) (Adam Mikó).
|