centient 2.25.0 → 3.0.0

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 (127) hide show
  1. package/CHANGELOG.md +92 -0
  2. package/README.md +7 -6
  3. package/dist/cli.d.ts.map +1 -1
  4. package/dist/cli.js +87 -45
  5. package/dist/cli.js.map +1 -1
  6. package/dist/commands.d.ts.map +1 -1
  7. package/dist/commands.js +38 -34
  8. package/dist/commands.js.map +1 -1
  9. package/dist/index.js +6 -1
  10. package/dist/index.js.map +1 -1
  11. package/dist/server.d.ts.map +1 -1
  12. package/dist/server.js +25 -2
  13. package/dist/server.js.map +1 -1
  14. package/dist/tools/channels/channelCreate.d.ts +9 -0
  15. package/dist/tools/channels/channelCreate.d.ts.map +1 -0
  16. package/dist/tools/channels/channelCreate.js +109 -0
  17. package/dist/tools/channels/channelCreate.js.map +1 -0
  18. package/dist/tools/channels/channelDelete.d.ts +9 -0
  19. package/dist/tools/channels/channelDelete.d.ts.map +1 -0
  20. package/dist/tools/channels/channelDelete.js +87 -0
  21. package/dist/tools/channels/channelDelete.js.map +1 -0
  22. package/dist/tools/channels/channelList.d.ts +9 -0
  23. package/dist/tools/channels/channelList.d.ts.map +1 -0
  24. package/dist/tools/channels/channelList.js +85 -0
  25. package/dist/tools/channels/channelList.js.map +1 -0
  26. package/dist/tools/channels/channelMessage.d.ts +9 -0
  27. package/dist/tools/channels/channelMessage.d.ts.map +1 -0
  28. package/dist/tools/channels/channelMessage.js +121 -0
  29. package/dist/tools/channels/channelMessage.js.map +1 -0
  30. package/dist/tools/channels/channelRead.d.ts +9 -0
  31. package/dist/tools/channels/channelRead.d.ts.map +1 -0
  32. package/dist/tools/channels/channelRead.js +113 -0
  33. package/dist/tools/channels/channelRead.js.map +1 -0
  34. package/dist/tools/channels/index.d.ts +11 -0
  35. package/dist/tools/channels/index.d.ts.map +1 -0
  36. package/dist/tools/channels/index.js +11 -0
  37. package/dist/tools/channels/index.js.map +1 -0
  38. package/dist/tools/consultation/consultLlmStream.d.ts.map +1 -1
  39. package/dist/tools/consultation/consultLlmStream.js.map +1 -1
  40. package/dist/tools/consultation/seekConsensus.d.ts.map +1 -1
  41. package/dist/tools/consultation/seekConsensus.js +5 -1
  42. package/dist/tools/consultation/seekConsensus.js.map +1 -1
  43. package/dist/tools/knowledge/index.d.ts +3 -3
  44. package/dist/tools/knowledge/index.d.ts.map +1 -1
  45. package/dist/tools/knowledge/index.js +3 -3
  46. package/dist/tools/knowledge/index.js.map +1 -1
  47. package/dist/tools/knowledge/promoteDecision.d.ts.map +1 -1
  48. package/dist/tools/knowledge/promoteDecision.js +12 -2
  49. package/dist/tools/knowledge/promoteDecision.js.map +1 -1
  50. package/dist/tools/knowledge/promoteLearning.d.ts.map +1 -1
  51. package/dist/tools/knowledge/promoteLearning.js +5 -1
  52. package/dist/tools/knowledge/promoteLearning.js.map +1 -1
  53. package/dist/tools/memory-bank/pushToMemoryBank.js.map +1 -1
  54. package/dist/tools/trails/executeTrailScript.d.ts.map +1 -1
  55. package/dist/tools/trails/executeTrailScript.js +8 -8
  56. package/dist/tools/trails/executeTrailScript.js.map +1 -1
  57. package/dist/tools/trails/index.d.ts +6 -6
  58. package/dist/tools/trails/index.d.ts.map +1 -1
  59. package/dist/tools/trails/index.js +6 -6
  60. package/dist/tools/trails/index.js.map +1 -1
  61. package/dist/tools/trails/trailDiscoverAuto.d.ts.map +1 -1
  62. package/dist/tools/trails/trailDiscoverAuto.js +9 -9
  63. package/dist/tools/trails/trailDiscoverAuto.js.map +1 -1
  64. package/dist/tools/trails/trailDiscoverConvergence.d.ts.map +1 -1
  65. package/dist/tools/trails/trailDiscoverConvergence.js +8 -8
  66. package/dist/tools/trails/trailDiscoverConvergence.js.map +1 -1
  67. package/dist/tools/trails/trailDiscoverInfluence.d.ts.map +1 -1
  68. package/dist/tools/trails/trailDiscoverInfluence.js +12 -10
  69. package/dist/tools/trails/trailDiscoverInfluence.js.map +1 -1
  70. package/dist/tools/trails/trailList.d.ts.map +1 -1
  71. package/dist/tools/trails/trailList.js +15 -10
  72. package/dist/tools/trails/trailList.js.map +1 -1
  73. package/dist/tools/trails/trailQueryByTopic.d.ts.map +1 -1
  74. package/dist/tools/trails/trailQueryByTopic.js +9 -6
  75. package/dist/tools/trails/trailQueryByTopic.js.map +1 -1
  76. package/dist/tools/trails/trailQueryIntersect.d.ts.map +1 -1
  77. package/dist/tools/trails/trailQueryIntersect.js +7 -7
  78. package/dist/tools/trails/trailQueryIntersect.js.map +1 -1
  79. package/dist/tools/trails/trailQueryTopics.d.ts.map +1 -1
  80. package/dist/tools/trails/trailQueryTopics.js +9 -8
  81. package/dist/tools/trails/trailQueryTopics.js.map +1 -1
  82. package/dist/tools/trails/trailView.d.ts.map +1 -1
  83. package/dist/tools/trails/trailView.js +12 -10
  84. package/dist/tools/trails/trailView.js.map +1 -1
  85. package/dist/utils/AuditLogger.d.ts.map +1 -1
  86. package/dist/utils/AuditLogger.js +13 -5
  87. package/dist/utils/AuditLogger.js.map +1 -1
  88. package/dist/utils/ChannelCoordinator.d.ts +70 -0
  89. package/dist/utils/ChannelCoordinator.d.ts.map +1 -0
  90. package/dist/utils/ChannelCoordinator.js +497 -0
  91. package/dist/utils/ChannelCoordinator.js.map +1 -0
  92. package/dist/utils/GeminiEmbeddingService.d.ts.map +1 -1
  93. package/dist/utils/GeminiEmbeddingService.js.map +1 -1
  94. package/dist/utils/InstanceRegistry.d.ts.map +1 -1
  95. package/dist/utils/InstanceRegistry.js +4 -4
  96. package/dist/utils/InstanceRegistry.js.map +1 -1
  97. package/dist/utils/MetaKnowledgeManager.d.ts.map +1 -1
  98. package/dist/utils/MetaKnowledgeManager.js +5 -1
  99. package/dist/utils/MetaKnowledgeManager.js.map +1 -1
  100. package/dist/utils/PatternIndexer.d.ts.map +1 -1
  101. package/dist/utils/PatternIndexer.js +2 -1
  102. package/dist/utils/PatternIndexer.js.map +1 -1
  103. package/dist/utils/SessionCoordinator.d.ts.map +1 -1
  104. package/dist/utils/SessionCoordinator.js.map +1 -1
  105. package/dist/utils/VertexSync.d.ts.map +1 -1
  106. package/dist/utils/VertexSync.js.map +1 -1
  107. package/dist/utils/channelSchema.d.ts +170 -0
  108. package/dist/utils/channelSchema.d.ts.map +1 -0
  109. package/dist/utils/channelSchema.js +20 -0
  110. package/dist/utils/channelSchema.js.map +1 -0
  111. package/dist/utils/config.d.ts.map +1 -1
  112. package/dist/utils/config.js +19 -9
  113. package/dist/utils/config.js.map +1 -1
  114. package/dist/utils/rlvr/RewardHistoryStore.js +1 -1
  115. package/dist/utils/rlvr/RewardHistoryStore.js.map +1 -1
  116. package/package.json +5 -4
  117. package/templates/claude/commands/check-duplicate.md +58 -0
  118. package/templates/claude/commands/checkpoint.md +48 -0
  119. package/templates/claude/commands/constraint.md +63 -0
  120. package/templates/claude/commands/finalize.md +57 -0
  121. package/templates/claude/commands/history.md +63 -0
  122. package/templates/claude/commands/note.md +50 -0
  123. package/templates/claude/commands/patterns.md +51 -0
  124. package/templates/claude/commands/promote.md +66 -0
  125. package/templates/claude/commands/recall.md +55 -0
  126. package/templates/claude/commands/session-start.md +53 -0
  127. package/templates/claude/commands/session-status.md +62 -0
@@ -0,0 +1,55 @@
1
+ ---
2
+ centient-version: 2.25.1
3
+ description: Recall context from memory
4
+ allowed-tools: mcp__centient__session_search, mcp__centient__memory_bank_search
5
+ ---
6
+
7
+ # /recall
8
+
9
+ Search session memory and Memory Bank for relevant context.
10
+
11
+ ## Usage
12
+
13
+ ```
14
+ /recall authentication decisions
15
+ /recall what did we decide about caching
16
+ /recall --session database # Current session only
17
+ /recall --history RLS patterns # Memory Bank only
18
+ ```
19
+
20
+ ## What This Does
21
+
22
+ 1. Searches current session memory via `session_search`
23
+ 2. Searches persistent Memory Bank via `memory_bank_search`
24
+ 3. Returns relevant context with relevance scores
25
+
26
+ ## Workflow
27
+
28
+ 1. **Search Session Memory**: Call `session_search` with:
29
+ - `query`: The search term
30
+ - `limit`: Number of results (default 5)
31
+ - `include_relationships`: true for related notes
32
+
33
+ 2. **Search Memory Bank**: Call `memory_bank_search` with:
34
+ - `query`: The search term
35
+ - `projectName`: Current project
36
+ - `topK`: Number of results
37
+
38
+ 3. **Display Results**: Show context from both sources:
39
+ - Session memories (ephemeral, current session)
40
+ - Memory Bank (persistent, cross-session)
41
+
42
+ ## Options
43
+
44
+ - `--session`: Search only current session memory
45
+ - `--history`: Search only Memory Bank (persistent)
46
+ - Default: Search both
47
+
48
+ ## Best Uses
49
+
50
+ - "What did we decide about X?"
51
+ - "Have we solved this problem before?"
52
+ - "What patterns apply to X?"
53
+ - "What blockers have we encountered?"
54
+
55
+ Search query: $ARGUMENTS
@@ -0,0 +1,53 @@
1
+ ---
2
+ centient-version: 2.25.1
3
+ description: Initialize session memory
4
+ allowed-tools: mcp__centient__*
5
+ ---
6
+
7
+ # /session-start
8
+
9
+ Initialize a new development session with full context loading.
10
+
11
+ ## Usage
12
+
13
+ ```
14
+ /session-start [optional-feature-keyword]
15
+ /session-start --reference YYYY-MM-DD [feature-keyword]
16
+ ```
17
+
18
+ ## What This Does
19
+
20
+ 1. Calls `start_session_coordination` to initialize Qdrant session memory
21
+ 2. Optionally seeds session with related memories from Memory Bank
22
+ 3. Checks context health via `getContextHealth`
23
+ 4. Searches for related past work if keyword provided
24
+ 5. Displays session dashboard
25
+
26
+ ## Workflow
27
+
28
+ 1. **Initialize Session**: Call `start_session_coordination` with:
29
+ - `sessionId`: Format as `YYYY-MM-DD-<keyword>` (e.g., `2026-01-12-auth-flow`)
30
+ - `projectPath`: Current working directory
31
+ - `seedTopic`: The keyword argument (if provided)
32
+
33
+ 2. **Check Context Health**: Call `getContextHealth` and display status
34
+
35
+ 3. **Search Related Work** (if keyword provided):
36
+ - Call `memory_bank_search` with the keyword
37
+ - Show relevant past memories
38
+
39
+ 4. **Display Dashboard**:
40
+
41
+ ```
42
+ ═══════════════════════════════════════
43
+ Session Initialized: <project-name>
44
+ ═══════════════════════════════════════
45
+ Session ID: <session-id>
46
+ Context Health: <status>
47
+ Memory Bank: <seeded-count> related memories
48
+ ═══════════════════════════════════════
49
+ ```
50
+
51
+ 5. **Ask for Focus**: "What are you working on today?"
52
+
53
+ Session keyword: $ARGUMENTS
@@ -0,0 +1,62 @@
1
+ ---
2
+ centient-version: 2.25.1
3
+ description: Show current session state
4
+ allowed-tools: mcp__centient__get_session_stats, mcp__centient__get_session_summary, mcp__centient__getContextHealth
5
+ ---
6
+
7
+ # /session-status
8
+
9
+ Show the current session state and statistics.
10
+
11
+ ## Usage
12
+
13
+ ```
14
+ /session-status
15
+ /session-status --health # Include context health
16
+ /session-status --tree # Include branch visualization
17
+ ```
18
+
19
+ ## What This Does
20
+
21
+ 1. Calls `get_session_stats` for note counts
22
+ 2. Calls `get_session_summary` for comprehensive view
23
+ 3. Optionally calls `getContextHealth` for context window status
24
+
25
+ ## Workflow
26
+
27
+ 1. **Get Statistics**: Call `get_session_stats` to see:
28
+ - Total notes in session
29
+ - Notes by type (decisions, hypotheses, blockers, etc.)
30
+
31
+ 2. **Get Summary**: Call `get_session_summary` with:
32
+ - `includeMemories`: true for formatted memories
33
+ - `includeTree`: true for branch visualization
34
+
35
+ 3. **Check Health** (optional): Call `getContextHealth` to see:
36
+ - Token usage percentage
37
+ - Recommendations for optimization
38
+
39
+ ## Display
40
+
41
+ ```
42
+ ═══════════════════════════════════════
43
+ Session Status: 2026-01-12-feature
44
+ ═══════════════════════════════════════
45
+
46
+ Notes:
47
+ Decisions: 3
48
+ Hypotheses: 2
49
+ Blockers: 1 (0 resolved)
50
+ Learnings: 4
51
+ Patterns: 1
52
+
53
+ Context Health: GOOD (15% capacity)
54
+
55
+ Branch Tree:
56
+ main
57
+ ├─ feature-a (merged)
58
+ └─ feature-b (active)
59
+ ═══════════════════════════════════════
60
+ ```
61
+
62
+ Status options: $ARGUMENTS