@prmichaelsen/remember-mcp 3.15.3 → 3.15.5
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/AGENT.md +363 -5
- package/CHANGELOG.md +7 -0
- package/agent/commands/acp.clarification-capture.md +386 -0
- package/agent/commands/acp.clarification-create.md +50 -0
- package/agent/commands/acp.command-create.md +60 -0
- package/agent/commands/acp.design-create.md +62 -0
- package/agent/commands/acp.design-reference.md +355 -0
- package/agent/commands/acp.index.md +423 -0
- package/agent/commands/acp.init.md +48 -0
- package/agent/commands/acp.package-create.md +1 -0
- package/agent/commands/acp.package-info.md +1 -0
- package/agent/commands/acp.package-install.md +19 -0
- package/agent/commands/acp.package-list.md +1 -0
- package/agent/commands/acp.package-publish.md +1 -0
- package/agent/commands/acp.package-remove.md +1 -0
- package/agent/commands/acp.package-search.md +1 -0
- package/agent/commands/acp.package-update.md +1 -0
- package/agent/commands/acp.package-validate.md +1 -0
- package/agent/commands/acp.pattern-create.md +60 -0
- package/agent/commands/acp.plan.md +25 -0
- package/agent/commands/acp.proceed.md +621 -75
- package/agent/commands/acp.project-create.md +3 -0
- package/agent/commands/acp.project-info.md +3 -0
- package/agent/commands/acp.project-list.md +3 -1
- package/agent/commands/acp.project-set.md +1 -0
- package/agent/commands/acp.project-update.md +14 -3
- package/agent/commands/acp.projects-restore.md +228 -0
- package/agent/commands/acp.projects-sync.md +347 -0
- package/agent/commands/acp.report.md +13 -0
- package/agent/commands/acp.resume.md +3 -1
- package/agent/commands/acp.sessions.md +301 -0
- package/agent/commands/acp.status.md +13 -0
- package/agent/commands/acp.sync.md +1 -0
- package/agent/commands/acp.task-create.md +105 -3
- package/agent/commands/acp.update.md +1 -0
- package/agent/commands/acp.validate.md +32 -2
- package/agent/commands/acp.version-check-for-updates.md +1 -0
- package/agent/commands/acp.version-check.md +1 -0
- package/agent/commands/acp.version-update.md +1 -0
- package/agent/commands/command.template.md +23 -0
- package/agent/commands/git.commit.md +1 -0
- package/agent/commands/git.init.md +1 -0
- package/agent/design/complete-tool-set.md +157 -233
- package/agent/design/design.template.md +18 -0
- package/agent/design/user-preferences.md +11 -7
- package/agent/milestones/milestone-19-new-search-ghost-tools.md +46 -0
- package/agent/package.template.yaml +50 -0
- package/agent/patterns/pattern.template.md +18 -0
- package/agent/progress.yaml +162 -6
- package/agent/scripts/acp.common.sh +258 -15
- package/agent/scripts/acp.install.sh +91 -4
- package/agent/scripts/acp.package-create.sh +0 -1
- package/agent/scripts/acp.package-info.sh +19 -1
- package/agent/scripts/acp.package-install-optimized.sh +1 -1
- package/agent/scripts/acp.package-install.sh +388 -38
- package/agent/scripts/acp.package-list.sh +52 -4
- package/agent/scripts/acp.package-remove.sh +77 -1
- package/agent/scripts/acp.package-search.sh +2 -2
- package/agent/scripts/acp.package-update.sh +91 -12
- package/agent/scripts/acp.package-validate.sh +136 -1
- package/agent/scripts/acp.project-info.sh +34 -11
- package/agent/scripts/acp.project-list.sh +4 -0
- package/agent/scripts/acp.project-update.sh +66 -19
- package/agent/scripts/acp.projects-restore.sh +170 -0
- package/agent/scripts/acp.projects-sync.sh +155 -0
- package/agent/scripts/acp.sessions.sh +725 -0
- package/agent/scripts/acp.version-update.sh +21 -3
- package/agent/scripts/acp.yaml-parser.sh +20 -6
- package/agent/tasks/milestone-19-new-search-ghost-tools/task-203-create-search-by-tool.md +143 -0
- package/agent/tasks/milestone-19-new-search-ghost-tools/task-204-add-new-filters-existing-tools.md +77 -0
- package/agent/tasks/milestone-19-new-search-ghost-tools/task-205-add-feel-fields-create-update.md +137 -0
- package/agent/tasks/milestone-19-new-search-ghost-tools/task-206-add-byproperty-bysignificance-modes.md +135 -0
- package/agent/tasks/milestone-19-new-search-ghost-tools/task-207-add-emotional-composites-search-results.md +88 -0
- package/agent/tasks/milestone-19-new-search-ghost-tools/task-208-add-bybroad-byrandom-modes.md +115 -0
- package/agent/tasks/milestone-19-new-search-ghost-tools/task-209-create-ghost-memory-tools.md +192 -0
- package/agent/tasks/milestone-19-new-search-ghost-tools/task-210-create-get-core-tool.md +203 -0
- package/agent/tasks/milestone-19-new-search-ghost-tools/task-211-create-search-space-by-tool.md +182 -0
- package/agent/tasks/task-1-{title}.template.md +19 -0
- package/agent/tasks/unassigned/bug-report-remember-core-e2e-findings.md +99 -0
- package/dist/e2e-helpers.d.ts +26 -0
- package/dist/ghost-persona.e2e.d.ts +8 -0
- package/dist/memory-crud.e2e.d.ts +8 -0
- package/dist/preferences.e2e.d.ts +8 -0
- package/dist/relationships.e2e.d.ts +8 -0
- package/dist/search-modes.e2e.d.ts +8 -0
- package/dist/server-factory.js +2158 -45
- package/dist/server.js +1403 -44
- package/dist/shared-spaces.e2e.d.ts +8 -0
- package/dist/tools/create-ghost-memory.d.ts +70 -0
- package/dist/tools/create-memory.d.ts +175 -0
- package/dist/tools/get-core.d.ts +28 -0
- package/dist/tools/get-core.spec.d.ts +2 -0
- package/dist/tools/ghost-tools.spec.d.ts +2 -0
- package/dist/tools/query-ghost-memory.d.ts +34 -0
- package/dist/tools/query-memory.d.ts +4 -0
- package/dist/tools/search-by.d.ts +147 -0
- package/dist/tools/search-by.spec.d.ts +2 -0
- package/dist/tools/search-ghost-memory-by.d.ts +54 -0
- package/dist/tools/search-ghost-memory.d.ts +53 -0
- package/dist/tools/search-memory.d.ts +19 -0
- package/dist/tools/search-space-by.d.ts +78 -0
- package/dist/tools/search-space-by.spec.d.ts +2 -0
- package/dist/tools/search-space.d.ts +2 -0
- package/dist/tools/update-ghost-memory.d.ts +51 -0
- package/dist/tools/update-memory.d.ts +175 -0
- package/jest.e2e.config.js +11 -0
- package/package.json +2 -2
- package/src/e2e-helpers.ts +86 -0
- package/src/ghost-persona.e2e.ts +215 -0
- package/src/memory-crud.e2e.ts +203 -0
- package/src/preferences.e2e.ts +88 -0
- package/src/relationships.e2e.ts +156 -0
- package/src/search-modes.e2e.ts +184 -0
- package/src/server-factory.ts +56 -0
- package/src/shared-spaces.e2e.ts +204 -0
- package/src/tools/create-ghost-memory.ts +103 -0
- package/src/tools/create-memory.ts +45 -1
- package/src/tools/get-core.spec.ts +223 -0
- package/src/tools/get-core.ts +109 -0
- package/src/tools/ghost-tools.spec.ts +361 -0
- package/src/tools/query-ghost-memory.ts +63 -0
- package/src/tools/query-memory.ts +4 -0
- package/src/tools/search-by.spec.ts +325 -0
- package/src/tools/search-by.ts +298 -0
- package/src/tools/search-ghost-memory-by.ts +80 -0
- package/src/tools/search-ghost-memory.ts +73 -0
- package/src/tools/search-memory.ts +23 -0
- package/src/tools/search-space-by.spec.ts +289 -0
- package/src/tools/search-space-by.ts +173 -0
- package/src/tools/search-space.ts +20 -1
- package/src/tools/update-ghost-memory.ts +86 -0
- package/src/tools/update-memory.ts +45 -1
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* remember_create_ghost_memory tool
|
|
3
|
+
* Creates a ghost memory with hardcoded content_type and ghost-specific tags
|
|
4
|
+
*/
|
|
5
|
+
import type { AuthContext } from '../types/auth.js';
|
|
6
|
+
export declare const createGhostMemoryTool: {
|
|
7
|
+
name: string;
|
|
8
|
+
description: string;
|
|
9
|
+
inputSchema: {
|
|
10
|
+
type: string;
|
|
11
|
+
properties: {
|
|
12
|
+
content: {
|
|
13
|
+
type: string;
|
|
14
|
+
description: string;
|
|
15
|
+
};
|
|
16
|
+
title: {
|
|
17
|
+
type: string;
|
|
18
|
+
description: string;
|
|
19
|
+
};
|
|
20
|
+
tags: {
|
|
21
|
+
type: string;
|
|
22
|
+
items: {
|
|
23
|
+
type: string;
|
|
24
|
+
};
|
|
25
|
+
description: string;
|
|
26
|
+
};
|
|
27
|
+
weight: {
|
|
28
|
+
type: string;
|
|
29
|
+
minimum: number;
|
|
30
|
+
maximum: number;
|
|
31
|
+
description: string;
|
|
32
|
+
};
|
|
33
|
+
trust: {
|
|
34
|
+
type: string;
|
|
35
|
+
minimum: number;
|
|
36
|
+
maximum: number;
|
|
37
|
+
description: string;
|
|
38
|
+
};
|
|
39
|
+
feel_salience: {
|
|
40
|
+
type: string;
|
|
41
|
+
minimum: number;
|
|
42
|
+
maximum: number;
|
|
43
|
+
description: string;
|
|
44
|
+
};
|
|
45
|
+
feel_social_weight: {
|
|
46
|
+
type: string;
|
|
47
|
+
minimum: number;
|
|
48
|
+
maximum: number;
|
|
49
|
+
description: string;
|
|
50
|
+
};
|
|
51
|
+
feel_narrative_importance: {
|
|
52
|
+
type: string;
|
|
53
|
+
minimum: number;
|
|
54
|
+
maximum: number;
|
|
55
|
+
description: string;
|
|
56
|
+
};
|
|
57
|
+
};
|
|
58
|
+
required: string[];
|
|
59
|
+
};
|
|
60
|
+
};
|
|
61
|
+
export interface CreateGhostMemoryArgs {
|
|
62
|
+
content: string;
|
|
63
|
+
title?: string;
|
|
64
|
+
tags?: string[];
|
|
65
|
+
weight?: number;
|
|
66
|
+
trust?: number;
|
|
67
|
+
[key: string]: any;
|
|
68
|
+
}
|
|
69
|
+
export declare function handleCreateGhostMemory(args: CreateGhostMemoryArgs, userId: string, authContext?: AuthContext): Promise<string>;
|
|
70
|
+
//# sourceMappingURL=create-ghost-memory.d.ts.map
|
|
@@ -77,6 +77,180 @@ export declare const createMemoryTool: {
|
|
|
77
77
|
description: string;
|
|
78
78
|
default: never[];
|
|
79
79
|
};
|
|
80
|
+
feel_emotional_significance: {
|
|
81
|
+
type: string;
|
|
82
|
+
minimum: number;
|
|
83
|
+
maximum: number;
|
|
84
|
+
description: string;
|
|
85
|
+
};
|
|
86
|
+
feel_vulnerability: {
|
|
87
|
+
type: string;
|
|
88
|
+
minimum: number;
|
|
89
|
+
maximum: number;
|
|
90
|
+
description: string;
|
|
91
|
+
};
|
|
92
|
+
feel_trauma: {
|
|
93
|
+
type: string;
|
|
94
|
+
minimum: number;
|
|
95
|
+
maximum: number;
|
|
96
|
+
description: string;
|
|
97
|
+
};
|
|
98
|
+
feel_humor: {
|
|
99
|
+
type: string;
|
|
100
|
+
minimum: number;
|
|
101
|
+
maximum: number;
|
|
102
|
+
description: string;
|
|
103
|
+
};
|
|
104
|
+
feel_happiness: {
|
|
105
|
+
type: string;
|
|
106
|
+
minimum: number;
|
|
107
|
+
maximum: number;
|
|
108
|
+
description: string;
|
|
109
|
+
};
|
|
110
|
+
feel_sadness: {
|
|
111
|
+
type: string;
|
|
112
|
+
minimum: number;
|
|
113
|
+
maximum: number;
|
|
114
|
+
description: string;
|
|
115
|
+
};
|
|
116
|
+
feel_fear: {
|
|
117
|
+
type: string;
|
|
118
|
+
minimum: number;
|
|
119
|
+
maximum: number;
|
|
120
|
+
description: string;
|
|
121
|
+
};
|
|
122
|
+
feel_anger: {
|
|
123
|
+
type: string;
|
|
124
|
+
minimum: number;
|
|
125
|
+
maximum: number;
|
|
126
|
+
description: string;
|
|
127
|
+
};
|
|
128
|
+
feel_surprise: {
|
|
129
|
+
type: string;
|
|
130
|
+
minimum: number;
|
|
131
|
+
maximum: number;
|
|
132
|
+
description: string;
|
|
133
|
+
};
|
|
134
|
+
feel_disgust: {
|
|
135
|
+
type: string;
|
|
136
|
+
minimum: number;
|
|
137
|
+
maximum: number;
|
|
138
|
+
description: string;
|
|
139
|
+
};
|
|
140
|
+
feel_contempt: {
|
|
141
|
+
type: string;
|
|
142
|
+
minimum: number;
|
|
143
|
+
maximum: number;
|
|
144
|
+
description: string;
|
|
145
|
+
};
|
|
146
|
+
feel_embarrassment: {
|
|
147
|
+
type: string;
|
|
148
|
+
minimum: number;
|
|
149
|
+
maximum: number;
|
|
150
|
+
description: string;
|
|
151
|
+
};
|
|
152
|
+
feel_shame: {
|
|
153
|
+
type: string;
|
|
154
|
+
minimum: number;
|
|
155
|
+
maximum: number;
|
|
156
|
+
description: string;
|
|
157
|
+
};
|
|
158
|
+
feel_guilt: {
|
|
159
|
+
type: string;
|
|
160
|
+
minimum: number;
|
|
161
|
+
maximum: number;
|
|
162
|
+
description: string;
|
|
163
|
+
};
|
|
164
|
+
feel_excitement: {
|
|
165
|
+
type: string;
|
|
166
|
+
minimum: number;
|
|
167
|
+
maximum: number;
|
|
168
|
+
description: string;
|
|
169
|
+
};
|
|
170
|
+
feel_pride: {
|
|
171
|
+
type: string;
|
|
172
|
+
minimum: number;
|
|
173
|
+
maximum: number;
|
|
174
|
+
description: string;
|
|
175
|
+
};
|
|
176
|
+
feel_valence: {
|
|
177
|
+
type: string;
|
|
178
|
+
minimum: number;
|
|
179
|
+
maximum: number;
|
|
180
|
+
description: string;
|
|
181
|
+
};
|
|
182
|
+
feel_arousal: {
|
|
183
|
+
type: string;
|
|
184
|
+
minimum: number;
|
|
185
|
+
maximum: number;
|
|
186
|
+
description: string;
|
|
187
|
+
};
|
|
188
|
+
feel_dominance: {
|
|
189
|
+
type: string;
|
|
190
|
+
minimum: number;
|
|
191
|
+
maximum: number;
|
|
192
|
+
description: string;
|
|
193
|
+
};
|
|
194
|
+
feel_intensity: {
|
|
195
|
+
type: string;
|
|
196
|
+
minimum: number;
|
|
197
|
+
maximum: number;
|
|
198
|
+
description: string;
|
|
199
|
+
};
|
|
200
|
+
feel_coherence_tension: {
|
|
201
|
+
type: string;
|
|
202
|
+
minimum: number;
|
|
203
|
+
maximum: number;
|
|
204
|
+
description: string;
|
|
205
|
+
};
|
|
206
|
+
feel_salience: {
|
|
207
|
+
type: string;
|
|
208
|
+
minimum: number;
|
|
209
|
+
maximum: number;
|
|
210
|
+
description: string;
|
|
211
|
+
};
|
|
212
|
+
feel_urgency: {
|
|
213
|
+
type: string;
|
|
214
|
+
minimum: number;
|
|
215
|
+
maximum: number;
|
|
216
|
+
description: string;
|
|
217
|
+
};
|
|
218
|
+
feel_social_weight: {
|
|
219
|
+
type: string;
|
|
220
|
+
minimum: number;
|
|
221
|
+
maximum: number;
|
|
222
|
+
description: string;
|
|
223
|
+
};
|
|
224
|
+
feel_agency: {
|
|
225
|
+
type: string;
|
|
226
|
+
minimum: number;
|
|
227
|
+
maximum: number;
|
|
228
|
+
description: string;
|
|
229
|
+
};
|
|
230
|
+
feel_novelty: {
|
|
231
|
+
type: string;
|
|
232
|
+
minimum: number;
|
|
233
|
+
maximum: number;
|
|
234
|
+
description: string;
|
|
235
|
+
};
|
|
236
|
+
feel_retrieval_utility: {
|
|
237
|
+
type: string;
|
|
238
|
+
minimum: number;
|
|
239
|
+
maximum: number;
|
|
240
|
+
description: string;
|
|
241
|
+
};
|
|
242
|
+
feel_narrative_importance: {
|
|
243
|
+
type: string;
|
|
244
|
+
minimum: number;
|
|
245
|
+
maximum: number;
|
|
246
|
+
description: string;
|
|
247
|
+
};
|
|
248
|
+
feel_aesthetic_quality: {
|
|
249
|
+
type: string;
|
|
250
|
+
minimum: number;
|
|
251
|
+
maximum: number;
|
|
252
|
+
description: string;
|
|
253
|
+
};
|
|
80
254
|
};
|
|
81
255
|
required: string[];
|
|
82
256
|
};
|
|
@@ -98,6 +272,7 @@ export interface CreateMemoryArgs {
|
|
|
98
272
|
parent_id?: string | null;
|
|
99
273
|
thread_root_id?: string | null;
|
|
100
274
|
moderation_flags?: string[];
|
|
275
|
+
[key: string]: any;
|
|
101
276
|
}
|
|
102
277
|
/**
|
|
103
278
|
* Create memory result
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* remember_get_core tool
|
|
3
|
+
* Reads the ghost's core state (mood + perception) from Firestore
|
|
4
|
+
*/
|
|
5
|
+
import type { AuthContext } from '../types/auth.js';
|
|
6
|
+
export declare const getCoreTool: {
|
|
7
|
+
name: string;
|
|
8
|
+
description: string;
|
|
9
|
+
inputSchema: {
|
|
10
|
+
type: string;
|
|
11
|
+
properties: {
|
|
12
|
+
include_pressures: {
|
|
13
|
+
type: string;
|
|
14
|
+
description: string;
|
|
15
|
+
};
|
|
16
|
+
include_perception: {
|
|
17
|
+
type: string;
|
|
18
|
+
description: string;
|
|
19
|
+
};
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
export interface GetCoreArgs {
|
|
24
|
+
include_pressures?: boolean;
|
|
25
|
+
include_perception?: string;
|
|
26
|
+
}
|
|
27
|
+
export declare function handleGetCore(args: GetCoreArgs, userId: string, _authContext?: AuthContext): Promise<string>;
|
|
28
|
+
//# sourceMappingURL=get-core.d.ts.map
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* remember_query_ghost_memory tool
|
|
3
|
+
* Wraps query_memory with hardcoded ghost type filter
|
|
4
|
+
*/
|
|
5
|
+
import type { AuthContext } from '../types/auth.js';
|
|
6
|
+
export declare const queryGhostMemoryTool: {
|
|
7
|
+
name: string;
|
|
8
|
+
description: string;
|
|
9
|
+
inputSchema: {
|
|
10
|
+
type: string;
|
|
11
|
+
properties: {
|
|
12
|
+
query: {
|
|
13
|
+
type: string;
|
|
14
|
+
description: string;
|
|
15
|
+
};
|
|
16
|
+
limit: {
|
|
17
|
+
type: string;
|
|
18
|
+
description: string;
|
|
19
|
+
};
|
|
20
|
+
min_relevance: {
|
|
21
|
+
type: string;
|
|
22
|
+
description: string;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
required: string[];
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
export interface QueryGhostMemoryArgs {
|
|
29
|
+
query: string;
|
|
30
|
+
limit?: number;
|
|
31
|
+
min_relevance?: number;
|
|
32
|
+
}
|
|
33
|
+
export declare function handleQueryGhostMemory(args: QueryGhostMemoryArgs, userId: string, authContext?: AuthContext): Promise<string>;
|
|
34
|
+
//# sourceMappingURL=query-ghost-memory.d.ts.map
|
|
@@ -0,0 +1,147 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* remember_search_by tool
|
|
3
|
+
* Unified search tool with multiple sort/discovery modes
|
|
4
|
+
*/
|
|
5
|
+
import type { AuthContext } from '../types/auth.js';
|
|
6
|
+
/**
|
|
7
|
+
* Search mode type
|
|
8
|
+
*/
|
|
9
|
+
export type SearchByMode = 'byTime' | 'byDensity' | 'byRating' | 'byDiscovery' | 'byProperty' | 'bySignificance' | 'byBroad' | 'byRandom';
|
|
10
|
+
/**
|
|
11
|
+
* Tool definition for remember_search_by
|
|
12
|
+
*/
|
|
13
|
+
export declare const searchByTool: {
|
|
14
|
+
name: string;
|
|
15
|
+
description: string;
|
|
16
|
+
inputSchema: {
|
|
17
|
+
type: string;
|
|
18
|
+
properties: {
|
|
19
|
+
mode: {
|
|
20
|
+
type: string;
|
|
21
|
+
enum: string[];
|
|
22
|
+
description: string;
|
|
23
|
+
};
|
|
24
|
+
query: {
|
|
25
|
+
type: string;
|
|
26
|
+
description: string;
|
|
27
|
+
};
|
|
28
|
+
sort_order: {
|
|
29
|
+
type: string;
|
|
30
|
+
enum: string[];
|
|
31
|
+
description: string;
|
|
32
|
+
};
|
|
33
|
+
sort_field: {
|
|
34
|
+
type: string;
|
|
35
|
+
description: string;
|
|
36
|
+
};
|
|
37
|
+
limit: {
|
|
38
|
+
type: string;
|
|
39
|
+
description: string;
|
|
40
|
+
minimum: number;
|
|
41
|
+
maximum: number;
|
|
42
|
+
};
|
|
43
|
+
offset: {
|
|
44
|
+
type: string;
|
|
45
|
+
description: string;
|
|
46
|
+
minimum: number;
|
|
47
|
+
};
|
|
48
|
+
filters: {
|
|
49
|
+
type: string;
|
|
50
|
+
description: string;
|
|
51
|
+
properties: {
|
|
52
|
+
types: {
|
|
53
|
+
type: string;
|
|
54
|
+
items: {
|
|
55
|
+
type: string;
|
|
56
|
+
};
|
|
57
|
+
description: string;
|
|
58
|
+
};
|
|
59
|
+
exclude_types: {
|
|
60
|
+
type: string;
|
|
61
|
+
items: {
|
|
62
|
+
type: string;
|
|
63
|
+
};
|
|
64
|
+
description: string;
|
|
65
|
+
};
|
|
66
|
+
tags: {
|
|
67
|
+
type: string;
|
|
68
|
+
items: {
|
|
69
|
+
type: string;
|
|
70
|
+
};
|
|
71
|
+
};
|
|
72
|
+
weight_min: {
|
|
73
|
+
type: string;
|
|
74
|
+
};
|
|
75
|
+
weight_max: {
|
|
76
|
+
type: string;
|
|
77
|
+
};
|
|
78
|
+
trust_min: {
|
|
79
|
+
type: string;
|
|
80
|
+
};
|
|
81
|
+
trust_max: {
|
|
82
|
+
type: string;
|
|
83
|
+
};
|
|
84
|
+
date_from: {
|
|
85
|
+
type: string;
|
|
86
|
+
description: string;
|
|
87
|
+
};
|
|
88
|
+
date_to: {
|
|
89
|
+
type: string;
|
|
90
|
+
description: string;
|
|
91
|
+
};
|
|
92
|
+
rating_min: {
|
|
93
|
+
type: string;
|
|
94
|
+
description: string;
|
|
95
|
+
};
|
|
96
|
+
relationship_count_min: {
|
|
97
|
+
type: string;
|
|
98
|
+
};
|
|
99
|
+
relationship_count_max: {
|
|
100
|
+
type: string;
|
|
101
|
+
};
|
|
102
|
+
has_relationships: {
|
|
103
|
+
type: string;
|
|
104
|
+
};
|
|
105
|
+
};
|
|
106
|
+
};
|
|
107
|
+
deleted_filter: {
|
|
108
|
+
type: string;
|
|
109
|
+
enum: string[];
|
|
110
|
+
description: string;
|
|
111
|
+
};
|
|
112
|
+
};
|
|
113
|
+
required: string[];
|
|
114
|
+
};
|
|
115
|
+
};
|
|
116
|
+
/**
|
|
117
|
+
* Search by arguments
|
|
118
|
+
*/
|
|
119
|
+
export interface SearchByArgs {
|
|
120
|
+
mode: SearchByMode;
|
|
121
|
+
query?: string;
|
|
122
|
+
sort_order?: 'asc' | 'desc';
|
|
123
|
+
sort_field?: string;
|
|
124
|
+
limit?: number;
|
|
125
|
+
offset?: number;
|
|
126
|
+
filters?: {
|
|
127
|
+
types?: string[];
|
|
128
|
+
exclude_types?: string[];
|
|
129
|
+
tags?: string[];
|
|
130
|
+
weight_min?: number;
|
|
131
|
+
weight_max?: number;
|
|
132
|
+
trust_min?: number;
|
|
133
|
+
trust_max?: number;
|
|
134
|
+
date_from?: string;
|
|
135
|
+
date_to?: string;
|
|
136
|
+
rating_min?: number;
|
|
137
|
+
relationship_count_min?: number;
|
|
138
|
+
relationship_count_max?: number;
|
|
139
|
+
has_relationships?: boolean;
|
|
140
|
+
};
|
|
141
|
+
deleted_filter?: 'exclude' | 'include' | 'only';
|
|
142
|
+
}
|
|
143
|
+
/**
|
|
144
|
+
* Handle remember_search_by tool
|
|
145
|
+
*/
|
|
146
|
+
export declare function handleSearchBy(args: SearchByArgs, userId: string, authContext?: AuthContext): Promise<string>;
|
|
147
|
+
//# sourceMappingURL=search-by.d.ts.map
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* remember_search_ghost_memory_by tool
|
|
3
|
+
* Wraps search_by with hardcoded ghost type filter
|
|
4
|
+
*/
|
|
5
|
+
import type { AuthContext } from '../types/auth.js';
|
|
6
|
+
import type { SearchByMode } from './search-by.js';
|
|
7
|
+
export declare const searchGhostMemoryByTool: {
|
|
8
|
+
name: string;
|
|
9
|
+
description: string;
|
|
10
|
+
inputSchema: {
|
|
11
|
+
type: string;
|
|
12
|
+
properties: {
|
|
13
|
+
mode: {
|
|
14
|
+
type: string;
|
|
15
|
+
enum: string[];
|
|
16
|
+
description: string;
|
|
17
|
+
};
|
|
18
|
+
query: {
|
|
19
|
+
type: string;
|
|
20
|
+
description: string;
|
|
21
|
+
};
|
|
22
|
+
sort_order: {
|
|
23
|
+
type: string;
|
|
24
|
+
enum: string[];
|
|
25
|
+
};
|
|
26
|
+
sort_field: {
|
|
27
|
+
type: string;
|
|
28
|
+
description: string;
|
|
29
|
+
};
|
|
30
|
+
limit: {
|
|
31
|
+
type: string;
|
|
32
|
+
};
|
|
33
|
+
offset: {
|
|
34
|
+
type: string;
|
|
35
|
+
};
|
|
36
|
+
deleted_filter: {
|
|
37
|
+
type: string;
|
|
38
|
+
enum: string[];
|
|
39
|
+
};
|
|
40
|
+
};
|
|
41
|
+
required: string[];
|
|
42
|
+
};
|
|
43
|
+
};
|
|
44
|
+
export interface SearchGhostMemoryByArgs {
|
|
45
|
+
mode: SearchByMode;
|
|
46
|
+
query?: string;
|
|
47
|
+
sort_order?: 'asc' | 'desc';
|
|
48
|
+
sort_field?: string;
|
|
49
|
+
limit?: number;
|
|
50
|
+
offset?: number;
|
|
51
|
+
deleted_filter?: 'exclude' | 'include' | 'only';
|
|
52
|
+
}
|
|
53
|
+
export declare function handleSearchGhostMemoryBy(args: SearchGhostMemoryByArgs, userId: string, authContext?: AuthContext): Promise<string>;
|
|
54
|
+
//# sourceMappingURL=search-ghost-memory-by.d.ts.map
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* remember_search_ghost_memory tool
|
|
3
|
+
* Wraps search_memory with hardcoded ghost type filter
|
|
4
|
+
*/
|
|
5
|
+
import type { AuthContext } from '../types/auth.js';
|
|
6
|
+
export declare const searchGhostMemoryTool: {
|
|
7
|
+
name: string;
|
|
8
|
+
description: string;
|
|
9
|
+
inputSchema: {
|
|
10
|
+
type: string;
|
|
11
|
+
properties: {
|
|
12
|
+
query: {
|
|
13
|
+
type: string;
|
|
14
|
+
description: string;
|
|
15
|
+
};
|
|
16
|
+
alpha: {
|
|
17
|
+
type: string;
|
|
18
|
+
minimum: number;
|
|
19
|
+
maximum: number;
|
|
20
|
+
description: string;
|
|
21
|
+
};
|
|
22
|
+
tags: {
|
|
23
|
+
type: string;
|
|
24
|
+
items: {
|
|
25
|
+
type: string;
|
|
26
|
+
};
|
|
27
|
+
description: string;
|
|
28
|
+
};
|
|
29
|
+
limit: {
|
|
30
|
+
type: string;
|
|
31
|
+
description: string;
|
|
32
|
+
};
|
|
33
|
+
offset: {
|
|
34
|
+
type: string;
|
|
35
|
+
};
|
|
36
|
+
deleted_filter: {
|
|
37
|
+
type: string;
|
|
38
|
+
enum: string[];
|
|
39
|
+
};
|
|
40
|
+
};
|
|
41
|
+
required: string[];
|
|
42
|
+
};
|
|
43
|
+
};
|
|
44
|
+
export interface SearchGhostMemoryArgs {
|
|
45
|
+
query: string;
|
|
46
|
+
alpha?: number;
|
|
47
|
+
tags?: string[];
|
|
48
|
+
limit?: number;
|
|
49
|
+
offset?: number;
|
|
50
|
+
deleted_filter?: 'exclude' | 'include' | 'only';
|
|
51
|
+
}
|
|
52
|
+
export declare function handleSearchGhostMemory(args: SearchGhostMemoryArgs, userId: string, authContext?: AuthContext): Promise<string>;
|
|
53
|
+
//# sourceMappingURL=search-ghost-memory.d.ts.map
|
|
@@ -71,6 +71,25 @@ export declare const searchMemoryTool: {
|
|
|
71
71
|
type: string;
|
|
72
72
|
description: string;
|
|
73
73
|
};
|
|
74
|
+
exclude_types: {
|
|
75
|
+
type: string;
|
|
76
|
+
items: {
|
|
77
|
+
type: string;
|
|
78
|
+
};
|
|
79
|
+
description: string;
|
|
80
|
+
};
|
|
81
|
+
rating_min: {
|
|
82
|
+
type: string;
|
|
83
|
+
description: string;
|
|
84
|
+
};
|
|
85
|
+
relationship_count_min: {
|
|
86
|
+
type: string;
|
|
87
|
+
description: string;
|
|
88
|
+
};
|
|
89
|
+
relationship_count_max: {
|
|
90
|
+
type: string;
|
|
91
|
+
description: string;
|
|
92
|
+
};
|
|
74
93
|
};
|
|
75
94
|
};
|
|
76
95
|
include_relationships: {
|