@muthuishere/crossmem 0.1.2 → 0.1.3
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/README.md +41 -18
- package/package.json +6 -6
package/README.md
CHANGED
|
@@ -21,35 +21,58 @@ go install github.com/muthuishere/crossmemcli/cmd/crossmem@latest # Go
|
|
|
21
21
|
brew install muthuishere/tap/crossmem # Homebrew
|
|
22
22
|
```
|
|
23
23
|
|
|
24
|
-
##
|
|
24
|
+
## Resume across tools
|
|
25
|
+
|
|
26
|
+
The core flow: Codex hits its usage limit, you reopen the **same folder** in Claude
|
|
27
|
+
Code, and pick up where you left off.
|
|
25
28
|
|
|
26
29
|
```sh
|
|
27
|
-
|
|
28
|
-
crossmem
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
crossmem
|
|
32
|
-
|
|
30
|
+
# 1. From the folder, load the latest session for it (summary by default)
|
|
31
|
+
crossmem load . --limit 1
|
|
32
|
+
|
|
33
|
+
# 2. Prefer to choose? List the recent sessions for THIS folder, newest first
|
|
34
|
+
crossmem list . --limit 5
|
|
35
|
+
# 2026-06-29T14:27 codex /Users/you/.codex/sessions/.../rollout-….jsonl
|
|
36
|
+
# 2026-06-29T04:10 devin devin:narrow-action
|
|
37
|
+
# 2026-06-28T21:02 claude /Users/you/.claude/projects/.../<id>.jsonl
|
|
38
|
+
|
|
39
|
+
# 3. Load the one you picked, by the handle in the last column
|
|
40
|
+
crossmem load --session <handle> # e.g. a .jsonl path, or devin:<id>
|
|
41
|
+
crossmem load --session <handle> --full # fuller excerpt instead of the summary
|
|
33
42
|
```
|
|
34
43
|
|
|
35
|
-
|
|
44
|
+
`crossmem` matches a session to a folder by the **real working directory** recorded
|
|
45
|
+
in each transcript — so it works even when the folder name contains a dash, and
|
|
46
|
+
across every tool. The handle from `list` is uniform (`--session` takes a transcript
|
|
47
|
+
path or `devin:<id>`), so loading is the same whether the session lived in a JSONL
|
|
48
|
+
file or a SQLite database.
|
|
49
|
+
|
|
50
|
+
**summary vs full** — by default `load` emits a compact, summary-friendly excerpt per
|
|
51
|
+
session; add `--full` for a larger, more verbatim excerpt.
|
|
52
|
+
|
|
53
|
+
## Usage
|
|
36
54
|
|
|
37
55
|
```sh
|
|
38
|
-
crossmem
|
|
39
|
-
crossmem
|
|
40
|
-
crossmem
|
|
56
|
+
crossmem scan # discover known local context stores
|
|
57
|
+
crossmem list . --limit 5 # recent sessions for THIS folder
|
|
58
|
+
crossmem list --provider claude --limit 20 # recent Claude sessions everywhere
|
|
59
|
+
crossmem load . # portable context bundle for this repo
|
|
60
|
+
crossmem load --session <handle> --full # one chosen session, fuller excerpt
|
|
61
|
+
crossmem update . # write durable .crossmem/ context files
|
|
41
62
|
```
|
|
42
63
|
|
|
64
|
+
Every command has built-in help: `crossmem help load`, `crossmem --version`.
|
|
65
|
+
|
|
43
66
|
### Commands
|
|
44
67
|
|
|
45
68
|
| Command | What it does |
|
|
46
69
|
| --- | --- |
|
|
47
70
|
| `scan` | Discover known local stores without reading transcript contents. |
|
|
48
|
-
| `list` / `sessions` | List
|
|
49
|
-
| `load` / `context` | Print a
|
|
71
|
+
| `list` / `sessions` | List recent sessions; pass a folder to scope to it, or filter with `--provider`. |
|
|
72
|
+
| `load` / `context` | Print a context bundle for a folder, or one session via `--session`; `--full` for more. |
|
|
50
73
|
| `update` | Write durable `<folder>/.crossmem/` files (`context.md`, `guardrails.md`, `sessions.json`, `sources.json`). |
|
|
51
74
|
| `guardrails` | Print the repo instruction files an agent should read first. |
|
|
52
|
-
| `install --skills` | Install the optional global `crossmem-loader` skill. |
|
|
75
|
+
| `install --skills` | Install the optional global `crossmem-loader` skill that drives this flow. |
|
|
53
76
|
|
|
54
77
|
## Local stores
|
|
55
78
|
|
|
@@ -62,14 +85,14 @@ crossmem help scan
|
|
|
62
85
|
| Copilot (VS Code) | `~/Library/Application Support/Code/User/workspaceStorage/<id>/.../*.jsonl` |
|
|
63
86
|
| Devin CLI | `~/.local/share/devin/cli/sessions.db` (SQLite) |
|
|
64
87
|
|
|
65
|
-
##
|
|
88
|
+
## Bundles & guardrails
|
|
66
89
|
|
|
67
|
-
`crossmem load
|
|
90
|
+
`crossmem load` prints a bundle; `crossmem update .` writes it durably under `.crossmem/`. A bundle separates two things on purpose:
|
|
68
91
|
|
|
69
92
|
- **Guardrails** — repo instruction files (`AGENTS.md`, `CLAUDE.md`, `.agents/AGENTS.md`, `.claude/CLAUDE.md`) treated as *authoritative instructions*.
|
|
70
|
-
- **History** — recent session
|
|
93
|
+
- **History** — recent session excerpts, treated as *context only*.
|
|
71
94
|
|
|
72
|
-
|
|
95
|
+
How much to summarize is left to the consuming agent (or the `crossmem-loader` skill), since different tasks need different amounts of history.
|
|
73
96
|
|
|
74
97
|
## Safety
|
|
75
98
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@muthuishere/crossmem",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.3",
|
|
4
4
|
"description": "Portable context memory across local agent tools.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"crossmem",
|
|
@@ -33,11 +33,11 @@
|
|
|
33
33
|
"README.md"
|
|
34
34
|
],
|
|
35
35
|
"optionalDependencies": {
|
|
36
|
-
"@muthuishere/crossmem-darwin-arm64": "0.1.
|
|
37
|
-
"@muthuishere/crossmem-darwin-x64": "0.1.
|
|
38
|
-
"@muthuishere/crossmem-linux-arm64": "0.1.
|
|
39
|
-
"@muthuishere/crossmem-linux-x64": "0.1.
|
|
40
|
-
"@muthuishere/crossmem-windows-x64": "0.1.
|
|
36
|
+
"@muthuishere/crossmem-darwin-arm64": "0.1.3",
|
|
37
|
+
"@muthuishere/crossmem-darwin-x64": "0.1.3",
|
|
38
|
+
"@muthuishere/crossmem-linux-arm64": "0.1.3",
|
|
39
|
+
"@muthuishere/crossmem-linux-x64": "0.1.3",
|
|
40
|
+
"@muthuishere/crossmem-windows-x64": "0.1.3"
|
|
41
41
|
},
|
|
42
42
|
"os": [
|
|
43
43
|
"darwin",
|