docdex 0.2.62 → 0.2.64

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,15 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.2.64
4
+ - Add packaged automatic six-layer memory routing across HTTP, CLI, MCP, and `/v1/chat/completions`, including a compact `Automatic memory route` context and a unified `Core memory` block so agents are not relying only on prompt guidance to pick a memory lane.
5
+ - Move packaged memory routing earlier in the waterfall, reuse the same route for retrieval and prompt assembly, and gate repo/profile/wake-up recall plus chat-side archive and personal-preferences capture on meaningful read and write lane signals.
6
+ - Improve packaged durable-memory extraction for natural-language repo facts, decisions, and tooling/style preferences, and add regression coverage for route helpers, memory-route surfaces, and chat-side capture behavior.
7
+
8
+ ## 0.2.63
9
+ - Add the packaged six-layer memory map over HTTP, CLI, and MCP so agents can inspect repo, profile, conversation, diary, temporal-KG, and personal-preferences lanes before selecting a memory surface.
10
+ - Extend packaged wake-up context assembly with optional recent-diary startup episodes, expose diary trace counters, and cover the new memory-layers and wake-up flows with HTTP, CLI, chat, and MCP regression tests.
11
+ - Update the packaged agent guidance to call `docdex_memory_layers` first when memory scope is unclear and to document the six-lane memory model in the shipped prompt assets.
12
+
3
13
  ## 0.2.62
4
14
  - Expand the packaged personal-preferences surface with claim, snapshot, feedback, and mind-clone flows across HTTP, CLI, and MCP, including review/override/forget controls and clone regression coverage.
5
15
  - Harden the packaged installer's local-binary path selection by validating `docdexd --version` output before using explicit or fallback local binaries and by avoiding stale repo-local binaries during registry installs.
package/assets/agents.md CHANGED
@@ -1,4 +1,4 @@
1
- ---- START OF DOCDEX INFO V0.2.61 ----
1
+ ---- START OF DOCDEX INFO V0.2.64 ----
2
2
  Docdex URL: http://127.0.0.1:28491
3
3
  Use this base URL for Docdex HTTP endpoints.
4
4
  Health check endpoint: `GET /healthz` (not `/v1/health`).
@@ -92,6 +92,13 @@ Precision tools for structural analysis. Do not rely on text search for definiti
92
92
  | docdex_memory_recall | Retrieve technical facts about the current repo. |
93
93
  | docdex_save_preference | Store a global user preference (Style, Tooling, Constraint). |
94
94
  | docdex_get_profile | Retrieve global preferences. |
95
+ | docdex_memory_route | Recommend which Docdex memory lanes to read from or write to for a specific task. |
96
+ | docdex_memory_layers | Inspect the six memory layers, their scope/storage, and when each one should be used. |
97
+
98
+ When unsure which memory lane fits the task, call `docdex_memory_route` first.
99
+ - Use `docdex_memory_layers` when you need the full six-layer map and storage/scope details.
100
+ - Repo memory and profile memory are the core/default lanes.
101
+ - Conversation memory, diary memory, temporal knowledge graph, and personal-preferences memory are selective lanes for continuity, handoff notes, structured recall, and richer user-specific context.
95
102
 
96
103
  ### D. Conversation Memory + Temporal Knowledge Graph
97
104
 
@@ -354,6 +361,8 @@ Do not guess fields; use these canonical shapes.
354
361
  - `docdex_dag_export`: `{ project_root, session_id|dag_session_id, format?, max_nodes? }`
355
362
  - `docdex_memory_save`: `{ project_root, text }`
356
363
  - `docdex_memory_recall`: `{ project_root, query, top_k? }`
364
+ - `docdex_memory_route`: `{ query, intent?, project_root?, repo_path?, conversation_namespace? }`
365
+ - `docdex_memory_layers`: `{ project_root?, repo_path?, conversation_namespace? }`
357
366
  - `docdex_get_profile`: `{ agent_id }`
358
367
  - `docdex_save_preference`: `{ agent_id, category, content }`
359
368
  - `docdex_local_completion`: `{ task_type, instruction, context, max_tokens?, timeout_ms?, mode?, max_context_chars?, agent?, caller_agent_id?, caller_model?, primary_cost_per_million?, project_root?, repo_path? }`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "docdex",
3
- "version": "0.2.62",
3
+ "version": "0.2.64",
4
4
  "mcpName": "io.github.bekirdag/docdex",
5
5
  "description": "Local-first documentation and code indexer with HTTP/MCP search, AST, and agent memory.",
6
6
  "bin": {