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.
- package/CHANGELOG.md +92 -0
- package/README.md +7 -6
- package/dist/cli.d.ts.map +1 -1
- package/dist/cli.js +87 -45
- package/dist/cli.js.map +1 -1
- package/dist/commands.d.ts.map +1 -1
- package/dist/commands.js +38 -34
- package/dist/commands.js.map +1 -1
- package/dist/index.js +6 -1
- package/dist/index.js.map +1 -1
- package/dist/server.d.ts.map +1 -1
- package/dist/server.js +25 -2
- package/dist/server.js.map +1 -1
- package/dist/tools/channels/channelCreate.d.ts +9 -0
- package/dist/tools/channels/channelCreate.d.ts.map +1 -0
- package/dist/tools/channels/channelCreate.js +109 -0
- package/dist/tools/channels/channelCreate.js.map +1 -0
- package/dist/tools/channels/channelDelete.d.ts +9 -0
- package/dist/tools/channels/channelDelete.d.ts.map +1 -0
- package/dist/tools/channels/channelDelete.js +87 -0
- package/dist/tools/channels/channelDelete.js.map +1 -0
- package/dist/tools/channels/channelList.d.ts +9 -0
- package/dist/tools/channels/channelList.d.ts.map +1 -0
- package/dist/tools/channels/channelList.js +85 -0
- package/dist/tools/channels/channelList.js.map +1 -0
- package/dist/tools/channels/channelMessage.d.ts +9 -0
- package/dist/tools/channels/channelMessage.d.ts.map +1 -0
- package/dist/tools/channels/channelMessage.js +121 -0
- package/dist/tools/channels/channelMessage.js.map +1 -0
- package/dist/tools/channels/channelRead.d.ts +9 -0
- package/dist/tools/channels/channelRead.d.ts.map +1 -0
- package/dist/tools/channels/channelRead.js +113 -0
- package/dist/tools/channels/channelRead.js.map +1 -0
- package/dist/tools/channels/index.d.ts +11 -0
- package/dist/tools/channels/index.d.ts.map +1 -0
- package/dist/tools/channels/index.js +11 -0
- package/dist/tools/channels/index.js.map +1 -0
- package/dist/tools/consultation/consultLlmStream.d.ts.map +1 -1
- package/dist/tools/consultation/consultLlmStream.js.map +1 -1
- package/dist/tools/consultation/seekConsensus.d.ts.map +1 -1
- package/dist/tools/consultation/seekConsensus.js +5 -1
- package/dist/tools/consultation/seekConsensus.js.map +1 -1
- package/dist/tools/knowledge/index.d.ts +3 -3
- package/dist/tools/knowledge/index.d.ts.map +1 -1
- package/dist/tools/knowledge/index.js +3 -3
- package/dist/tools/knowledge/index.js.map +1 -1
- package/dist/tools/knowledge/promoteDecision.d.ts.map +1 -1
- package/dist/tools/knowledge/promoteDecision.js +12 -2
- package/dist/tools/knowledge/promoteDecision.js.map +1 -1
- package/dist/tools/knowledge/promoteLearning.d.ts.map +1 -1
- package/dist/tools/knowledge/promoteLearning.js +5 -1
- package/dist/tools/knowledge/promoteLearning.js.map +1 -1
- package/dist/tools/memory-bank/pushToMemoryBank.js.map +1 -1
- package/dist/tools/trails/executeTrailScript.d.ts.map +1 -1
- package/dist/tools/trails/executeTrailScript.js +8 -8
- package/dist/tools/trails/executeTrailScript.js.map +1 -1
- package/dist/tools/trails/index.d.ts +6 -6
- package/dist/tools/trails/index.d.ts.map +1 -1
- package/dist/tools/trails/index.js +6 -6
- package/dist/tools/trails/index.js.map +1 -1
- package/dist/tools/trails/trailDiscoverAuto.d.ts.map +1 -1
- package/dist/tools/trails/trailDiscoverAuto.js +9 -9
- package/dist/tools/trails/trailDiscoverAuto.js.map +1 -1
- package/dist/tools/trails/trailDiscoverConvergence.d.ts.map +1 -1
- package/dist/tools/trails/trailDiscoverConvergence.js +8 -8
- package/dist/tools/trails/trailDiscoverConvergence.js.map +1 -1
- package/dist/tools/trails/trailDiscoverInfluence.d.ts.map +1 -1
- package/dist/tools/trails/trailDiscoverInfluence.js +12 -10
- package/dist/tools/trails/trailDiscoverInfluence.js.map +1 -1
- package/dist/tools/trails/trailList.d.ts.map +1 -1
- package/dist/tools/trails/trailList.js +15 -10
- package/dist/tools/trails/trailList.js.map +1 -1
- package/dist/tools/trails/trailQueryByTopic.d.ts.map +1 -1
- package/dist/tools/trails/trailQueryByTopic.js +9 -6
- package/dist/tools/trails/trailQueryByTopic.js.map +1 -1
- package/dist/tools/trails/trailQueryIntersect.d.ts.map +1 -1
- package/dist/tools/trails/trailQueryIntersect.js +7 -7
- package/dist/tools/trails/trailQueryIntersect.js.map +1 -1
- package/dist/tools/trails/trailQueryTopics.d.ts.map +1 -1
- package/dist/tools/trails/trailQueryTopics.js +9 -8
- package/dist/tools/trails/trailQueryTopics.js.map +1 -1
- package/dist/tools/trails/trailView.d.ts.map +1 -1
- package/dist/tools/trails/trailView.js +12 -10
- package/dist/tools/trails/trailView.js.map +1 -1
- package/dist/utils/AuditLogger.d.ts.map +1 -1
- package/dist/utils/AuditLogger.js +13 -5
- package/dist/utils/AuditLogger.js.map +1 -1
- package/dist/utils/ChannelCoordinator.d.ts +70 -0
- package/dist/utils/ChannelCoordinator.d.ts.map +1 -0
- package/dist/utils/ChannelCoordinator.js +497 -0
- package/dist/utils/ChannelCoordinator.js.map +1 -0
- package/dist/utils/GeminiEmbeddingService.d.ts.map +1 -1
- package/dist/utils/GeminiEmbeddingService.js.map +1 -1
- package/dist/utils/InstanceRegistry.d.ts.map +1 -1
- package/dist/utils/InstanceRegistry.js +4 -4
- package/dist/utils/InstanceRegistry.js.map +1 -1
- package/dist/utils/MetaKnowledgeManager.d.ts.map +1 -1
- package/dist/utils/MetaKnowledgeManager.js +5 -1
- package/dist/utils/MetaKnowledgeManager.js.map +1 -1
- package/dist/utils/PatternIndexer.d.ts.map +1 -1
- package/dist/utils/PatternIndexer.js +2 -1
- package/dist/utils/PatternIndexer.js.map +1 -1
- package/dist/utils/SessionCoordinator.d.ts.map +1 -1
- package/dist/utils/SessionCoordinator.js.map +1 -1
- package/dist/utils/VertexSync.d.ts.map +1 -1
- package/dist/utils/VertexSync.js.map +1 -1
- package/dist/utils/channelSchema.d.ts +170 -0
- package/dist/utils/channelSchema.d.ts.map +1 -0
- package/dist/utils/channelSchema.js +20 -0
- package/dist/utils/channelSchema.js.map +1 -0
- package/dist/utils/config.d.ts.map +1 -1
- package/dist/utils/config.js +19 -9
- package/dist/utils/config.js.map +1 -1
- package/dist/utils/rlvr/RewardHistoryStore.js +1 -1
- package/dist/utils/rlvr/RewardHistoryStore.js.map +1 -1
- package/package.json +5 -4
- package/templates/claude/commands/check-duplicate.md +58 -0
- package/templates/claude/commands/checkpoint.md +48 -0
- package/templates/claude/commands/constraint.md +63 -0
- package/templates/claude/commands/finalize.md +57 -0
- package/templates/claude/commands/history.md +63 -0
- package/templates/claude/commands/note.md +50 -0
- package/templates/claude/commands/patterns.md +51 -0
- package/templates/claude/commands/promote.md +66 -0
- package/templates/claude/commands/recall.md +55 -0
- package/templates/claude/commands/session-start.md +53 -0
- 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
|