@andespindola/brainlink 1.8.1 → 1.8.2

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/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.8.2
4
+
5
+ - **Connect page AGENTS.md now instructs proactive capture.** The ready operating contract on the `/connect` page changed its "After you learn" guidance from only writing back "durable learnings" to capturing proactively — decisions and their rationale, project maps/paths, conventions, runbooks, recent state, and recurring pitfalls; when in doubt, capture (using volatile memory only for the truly ephemeral), then reindex. So agents wired to a brainlink persist everything worth reusing, not just occasional highlights.
6
+
3
7
  ## 1.8.1
4
8
 
5
9
  - **Fix the Connect page's Codex snippet auth.** The `/connect` page's Codex `config.toml` block passed the bearer token via a `MCP_AUTHORIZATION` env var, but `mcp-remote` does not read that env — so the request went out unauthenticated and `mcp-remote` fell back to a hanging OAuth flow. The token is now passed as an `mcp-remote` `--header "Authorization: Bearer <token>"` argument (verified to connect), and both the remote and local Codex snippets gained `startup_timeout_sec = 60` so Codex doesn't time out the cold-start MCP handshake.
@@ -41,10 +41,15 @@ it as the continuity of your cognition, not an optional lookup.
41
41
  - Retrieve with \`strategy: "auto"\` (CAG on a fresh pack, RAG otherwise) and
42
42
  \`mode: "hybrid"\` (FTS + semantic) unless a narrower mode clearly fits.
43
43
 
44
- ## After you learn
45
- - Write durable learnings back with \`brainlink_remember\` (or
46
- \`brainlink_add_note\` for structured notes), then reindex with
47
- \`brainlink_index\`.
44
+ ## Capture proactively — save everything worth reusing
45
+ - Do not wait for an explicit "durable learning". After anything worth reusing,
46
+ write it back: decisions and their rationale, project maps and paths,
47
+ conventions, runbooks, recent state (last actions / open work), and recurring
48
+ pitfalls plus how you worked around them.
49
+ - When in doubt, capture — the cost is low and reuse is likely. Use volatile
50
+ memory only for the truly ephemeral.
51
+ - Persist with \`brainlink_remember\` (or \`brainlink_add_note\` for structured
52
+ notes), then reindex with \`brainlink_index\`.
48
53
  - Write connected memory: include \`[[wiki links]]\`, tags, and priority markers
49
54
  so notes join the knowledge graph instead of sitting orphaned.
50
55
  `;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@andespindola/brainlink",
3
- "version": "1.8.1",
3
+ "version": "1.8.2",
4
4
  "description": "Local-first knowledge memory for agents with Markdown, backlinks, indexing and context retrieval.",
5
5
  "type": "module",
6
6
  "license": "MIT",