@hskksk/mem-ai-mcp-server 0.1.0 → 0.2.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 +59 -0
- package/README.md +79 -18
- package/dist/client/mem-api-client.d.ts +5 -5
- package/dist/client/mem-api-client.d.ts.map +1 -1
- package/dist/client/mem-api-client.js +48 -6
- package/dist/client/mem-api-client.js.map +1 -1
- package/dist/server.js +1 -1
- package/dist/tools/collections/list-collections.d.ts +2 -2
- package/dist/tools/collections/list-collections.d.ts.map +1 -1
- package/dist/tools/collections/list-collections.js +13 -5
- package/dist/tools/collections/list-collections.js.map +1 -1
- package/dist/tools/collections/search-collections.d.ts.map +1 -1
- package/dist/tools/collections/search-collections.js +6 -4
- package/dist/tools/collections/search-collections.js.map +1 -1
- package/dist/tools/notes/list-notes.d.ts +2 -2
- package/dist/tools/notes/list-notes.d.ts.map +1 -1
- package/dist/tools/notes/list-notes.js +25 -5
- package/dist/tools/notes/list-notes.js.map +1 -1
- package/dist/tools/notes/search-notes.d.ts +1 -1
- package/dist/tools/notes/search-notes.d.ts.map +1 -1
- package/dist/tools/notes/search-notes.js +18 -5
- package/dist/tools/notes/search-notes.js.map +1 -1
- package/dist/types/api.d.ts +60 -10
- package/dist/types/api.d.ts.map +1 -1
- package/package.json +2 -1
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
All notable changes to this project will be documented in this file.
|
|
4
|
+
|
|
5
|
+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
|
|
6
|
+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
|
+
|
|
8
|
+
## [0.2.0] - 2026-01-12
|
|
9
|
+
|
|
10
|
+
### Added
|
|
11
|
+
|
|
12
|
+
- Complete API alignment with official Mem.ai v2 specification
|
|
13
|
+
- List Notes: 9 new parameters including pagination, filtering, and sorting
|
|
14
|
+
- `limit`, `page`, `order_by`, `collection_id`
|
|
15
|
+
- `contains_open_tasks`, `contains_tasks`, `contains_images`, `contains_files`
|
|
16
|
+
- `include_note_content`
|
|
17
|
+
- Search Notes: 6 filter parameters and config object
|
|
18
|
+
- `filter_by_collection_ids`, `filter_by_contains_open_tasks`
|
|
19
|
+
- `filter_by_contains_tasks`, `filter_by_contains_images`
|
|
20
|
+
- `filter_by_contains_files`, `config`
|
|
21
|
+
- List Collections: Pagination and sorting support
|
|
22
|
+
- `limit`, `page`, `order_by`
|
|
23
|
+
- Search Collections: Config support for response customization
|
|
24
|
+
- Cursor-based pagination with `page` and `next_page` fields
|
|
25
|
+
- Advanced filtering by tasks, images, files, and collections
|
|
26
|
+
- Enhanced response fields: `request_id`, `next_page`, `title`, `snippet`
|
|
27
|
+
- Comprehensive parameter documentation in README
|
|
28
|
+
|
|
29
|
+
### Changed
|
|
30
|
+
|
|
31
|
+
- **BREAKING**: Response structures updated (`notes` → `results`, `collections` → `results`)
|
|
32
|
+
- **BREAKING**: Search operations now have optional `query` parameter instead of required
|
|
33
|
+
- **BREAKING**: Pagination changed from offset-based to cursor-based
|
|
34
|
+
|
|
35
|
+
### Removed
|
|
36
|
+
|
|
37
|
+
- **BREAKING**: Non-standard `limit` and `offset` parameters from search operations
|
|
38
|
+
|
|
39
|
+
## [0.1.1] - 2024-01-XX
|
|
40
|
+
|
|
41
|
+
### Fixed
|
|
42
|
+
|
|
43
|
+
- Test script updated to use `--import` instead of deprecated `--loader` flag
|
|
44
|
+
|
|
45
|
+
### Changed
|
|
46
|
+
|
|
47
|
+
- Updated README to recommend `npx` usage for easier setup
|
|
48
|
+
- Improved Claude Desktop configuration examples
|
|
49
|
+
|
|
50
|
+
## [0.1.0] - 2024-01-XX
|
|
51
|
+
|
|
52
|
+
### Added
|
|
53
|
+
|
|
54
|
+
- Complete implementation of all 11 mem.ai API endpoints
|
|
55
|
+
- TypeScript support with full type definitions
|
|
56
|
+
- Comprehensive error handling
|
|
57
|
+
- Input validation using Zod
|
|
58
|
+
- Basic unit tests
|
|
59
|
+
- Claude Desktop integration support
|
package/README.md
CHANGED
|
@@ -15,16 +15,20 @@ Model Context Protocol (MCP) server for [mem.ai](https://mem.ai) API integration
|
|
|
15
15
|
|
|
16
16
|
## Installation
|
|
17
17
|
|
|
18
|
-
|
|
18
|
+
No installation required! You can run the server directly using `npx` (recommended), or install it globally if you prefer.
|
|
19
|
+
|
|
20
|
+
### Using npx (Recommended)
|
|
19
21
|
|
|
20
22
|
```bash
|
|
21
|
-
|
|
23
|
+
npx @hskksk/mem-ai-mcp-server
|
|
22
24
|
```
|
|
23
25
|
|
|
24
|
-
|
|
26
|
+
This automatically downloads and runs the latest version without requiring installation.
|
|
27
|
+
|
|
28
|
+
### Global Installation (Optional)
|
|
25
29
|
|
|
26
30
|
```bash
|
|
27
|
-
npm install @hskksk/mem-ai-mcp-server
|
|
31
|
+
npm install -g @hskksk/mem-ai-mcp-server
|
|
28
32
|
```
|
|
29
33
|
|
|
30
34
|
## Configuration
|
|
@@ -52,7 +56,7 @@ MEM_API_BASE_URL=https://api.mem.ai
|
|
|
52
56
|
|
|
53
57
|
## Usage
|
|
54
58
|
|
|
55
|
-
### With Claude Desktop
|
|
59
|
+
### With Claude Desktop (Recommended)
|
|
56
60
|
|
|
57
61
|
Add the following configuration to your Claude Desktop config file:
|
|
58
62
|
|
|
@@ -63,7 +67,8 @@ Add the following configuration to your Claude Desktop config file:
|
|
|
63
67
|
{
|
|
64
68
|
"mcpServers": {
|
|
65
69
|
"mem-ai": {
|
|
66
|
-
"command": "
|
|
70
|
+
"command": "npx",
|
|
71
|
+
"args": ["-y", "@hskksk/mem-ai-mcp-server"],
|
|
67
72
|
"env": {
|
|
68
73
|
"MEM_API_KEY": "your_api_key_here"
|
|
69
74
|
}
|
|
@@ -74,9 +79,30 @@ Add the following configuration to your Claude Desktop config file:
|
|
|
74
79
|
|
|
75
80
|
After restarting Claude Desktop, you'll be able to use mem.ai tools in your conversations.
|
|
76
81
|
|
|
82
|
+
### Alternative: Using Global Installation
|
|
83
|
+
|
|
84
|
+
If you've installed the package globally:
|
|
85
|
+
|
|
86
|
+
```json
|
|
87
|
+
{
|
|
88
|
+
"mcpServers": {
|
|
89
|
+
"mem-ai": {
|
|
90
|
+
"command": "mem-ai-mcp-server",
|
|
91
|
+
"env": {
|
|
92
|
+
"MEM_API_KEY": "your_api_key_here"
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
```
|
|
98
|
+
|
|
77
99
|
### Standalone Usage
|
|
78
100
|
|
|
79
101
|
```bash
|
|
102
|
+
# Using npx (recommended)
|
|
103
|
+
MEM_API_KEY=your_api_key_here npx @hskksk/mem-ai-mcp-server
|
|
104
|
+
|
|
105
|
+
# Or if installed globally
|
|
80
106
|
MEM_API_KEY=your_api_key_here mem-ai-mcp-server
|
|
81
107
|
```
|
|
82
108
|
|
|
@@ -87,22 +113,64 @@ MEM_API_KEY=your_api_key_here mem-ai-mcp-server
|
|
|
87
113
|
- **`mem_it`** - Remember any content intelligently
|
|
88
114
|
- Primary endpoint for saving information to mem.ai
|
|
89
115
|
- Supports context and instructions for better processing
|
|
116
|
+
- Parameters: `input` (required), `instructions`, `context`, `timestamp`
|
|
90
117
|
|
|
91
118
|
### Notes Management
|
|
92
119
|
|
|
93
120
|
- **`create_note`** - Create a new note with markdown content
|
|
121
|
+
- Parameters: `content` (required), `id`, `collection_ids`, `collection_titles`, `created_at`, `updated_at`
|
|
122
|
+
|
|
94
123
|
- **`get_note`** - Retrieve a specific note by ID
|
|
124
|
+
- Parameters: `noteId` (required)
|
|
125
|
+
|
|
95
126
|
- **`delete_note`** - Delete a note
|
|
96
|
-
-
|
|
97
|
-
|
|
127
|
+
- Parameters: `noteId` (required)
|
|
128
|
+
|
|
129
|
+
- **`list_notes`** - List all notes with advanced filtering and pagination
|
|
130
|
+
- Supports cursor-based pagination with `page` and `next_page`
|
|
131
|
+
- Parameters:
|
|
132
|
+
- `limit` - Maximum number of results (default: 50, max: 100)
|
|
133
|
+
- `page` - Cursor for pagination (from previous `next_page`)
|
|
134
|
+
- `order_by` - Sort order: `created_at` or `updated_at` (default: `updated_at`)
|
|
135
|
+
- `collection_id` - Filter by collection ID
|
|
136
|
+
- `contains_open_tasks` - Filter notes with open tasks
|
|
137
|
+
- `contains_tasks` - Filter notes with any tasks
|
|
138
|
+
- `contains_images` - Filter notes with images
|
|
139
|
+
- `contains_files` - Filter notes with files/attachments
|
|
140
|
+
- `include_note_content` - Include full markdown content in response
|
|
141
|
+
|
|
142
|
+
- **`search_notes`** - Search across notes with advanced filtering
|
|
143
|
+
- Parameters:
|
|
144
|
+
- `query` - Search query (optional)
|
|
145
|
+
- `filter_by_collection_ids` - Filter by collection IDs array
|
|
146
|
+
- `filter_by_contains_open_tasks` - Filter notes with open tasks
|
|
147
|
+
- `filter_by_contains_tasks` - Filter notes with any tasks
|
|
148
|
+
- `filter_by_contains_images` - Filter notes with images
|
|
149
|
+
- `filter_by_contains_files` - Filter notes with files
|
|
150
|
+
- `config` - Response configuration (`include_snippet`, `include_content`)
|
|
98
151
|
|
|
99
152
|
### Collections Management
|
|
100
153
|
|
|
101
154
|
- **`create_collection`** - Create a new collection
|
|
155
|
+
- Parameters: `title` (required), `description`
|
|
156
|
+
|
|
102
157
|
- **`get_collection`** - Retrieve a specific collection by ID
|
|
158
|
+
- Parameters: `collectionId` (required)
|
|
159
|
+
|
|
103
160
|
- **`delete_collection`** - Delete a collection
|
|
104
|
-
-
|
|
105
|
-
|
|
161
|
+
- Parameters: `collectionId` (required)
|
|
162
|
+
|
|
163
|
+
- **`list_collections`** - List all collections with pagination
|
|
164
|
+
- Supports cursor-based pagination with `page` and `next_page`
|
|
165
|
+
- Parameters:
|
|
166
|
+
- `limit` - Maximum number of results (default: 50, max: 100)
|
|
167
|
+
- `page` - Cursor for pagination (from previous `next_page`)
|
|
168
|
+
- `order_by` - Sort order: `created_at` or `updated_at` (default: `updated_at`)
|
|
169
|
+
|
|
170
|
+
- **`search_collections`** - Search across collections
|
|
171
|
+
- Parameters:
|
|
172
|
+
- `query` - Search query (optional)
|
|
173
|
+
- `config` - Response configuration (`include_description`)
|
|
106
174
|
|
|
107
175
|
## Development
|
|
108
176
|
|
|
@@ -205,11 +273,4 @@ If you encounter any issues or have questions:
|
|
|
205
273
|
|
|
206
274
|
## Changelog
|
|
207
275
|
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
- Complete implementation of all 11 mem.ai API endpoints
|
|
211
|
-
- TypeScript support with full type definitions
|
|
212
|
-
- Comprehensive error handling
|
|
213
|
-
- Input validation using Zod
|
|
214
|
-
- Basic unit tests
|
|
215
|
-
- Claude Desktop integration support
|
|
276
|
+
See [CHANGELOG.md](CHANGELOG.md) for the full version history.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { MemItRequest, MemItResponse, CreateNoteRequest, CreateNoteResponse, GetNoteResponse, DeleteNoteResponse, ListNotesResponse, SearchNotesRequest, SearchNotesResponse, CreateCollectionRequest, CreateCollectionResponse, GetCollectionResponse, DeleteCollectionResponse, ListCollectionsResponse, SearchCollectionsRequest, SearchCollectionsResponse } from '../types/api.js';
|
|
1
|
+
import type { MemItRequest, MemItResponse, CreateNoteRequest, CreateNoteResponse, GetNoteResponse, DeleteNoteResponse, ListNotesRequest, ListNotesResponse, SearchNotesRequest, SearchNotesResponse, CreateCollectionRequest, CreateCollectionResponse, GetCollectionResponse, DeleteCollectionResponse, ListCollectionsRequest, ListCollectionsResponse, SearchCollectionsRequest, SearchCollectionsResponse } from '../types/api.js';
|
|
2
2
|
/**
|
|
3
3
|
* HTTP client for mem.ai API
|
|
4
4
|
*/
|
|
@@ -32,9 +32,9 @@ export declare class MemAPIClient {
|
|
|
32
32
|
*/
|
|
33
33
|
deleteNote(noteId: string): Promise<DeleteNoteResponse>;
|
|
34
34
|
/**
|
|
35
|
-
* List all notes
|
|
35
|
+
* List all notes with optional filtering and pagination
|
|
36
36
|
*/
|
|
37
|
-
listNotes(): Promise<ListNotesResponse>;
|
|
37
|
+
listNotes(params?: ListNotesRequest): Promise<ListNotesResponse>;
|
|
38
38
|
/**
|
|
39
39
|
* Search notes
|
|
40
40
|
*/
|
|
@@ -52,9 +52,9 @@ export declare class MemAPIClient {
|
|
|
52
52
|
*/
|
|
53
53
|
deleteCollection(collectionId: string): Promise<DeleteCollectionResponse>;
|
|
54
54
|
/**
|
|
55
|
-
* List all collections
|
|
55
|
+
* List all collections with optional filtering and pagination
|
|
56
56
|
*/
|
|
57
|
-
listCollections(): Promise<ListCollectionsResponse>;
|
|
57
|
+
listCollections(params?: ListCollectionsRequest): Promise<ListCollectionsResponse>;
|
|
58
58
|
/**
|
|
59
59
|
* Search collections
|
|
60
60
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mem-api-client.d.ts","sourceRoot":"","sources":["../../src/client/mem-api-client.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EACV,YAAY,EACZ,aAAa,EACb,iBAAiB,EACjB,kBAAkB,EAClB,eAAe,EACf,kBAAkB,EAClB,iBAAiB,EACjB,kBAAkB,EAClB,mBAAmB,EACnB,uBAAuB,EACvB,wBAAwB,EACxB,qBAAqB,EACrB,wBAAwB,EACxB,uBAAuB,EACvB,wBAAwB,EACxB,yBAAyB,EAC1B,MAAM,iBAAiB,CAAC;AAEzB;;GAEG;AACH,qBAAa,YAAY;IACvB,OAAO,CAAC,OAAO,CAAS;IACxB,OAAO,CAAC,MAAM,CAAS;IACvB,OAAO,CAAC,OAAO,CAAS;gBAEZ,MAAM,EAAE,MAAM,EAAE,OAAO,GAAE,MAA6B,EAAE,OAAO,GAAE,MAAc;IAM3F;;OAEG;YACW,OAAO;IAoCrB;;OAEG;YACW,WAAW;IA4BzB;;OAEG;IACG,KAAK,CAAC,MAAM,EAAE,YAAY,GAAG,OAAO,CAAC,aAAa,CAAC;IASzD;;OAEG;IACG,UAAU,CAAC,MAAM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AAC,EAAE,gBAAgB,GAAG,OAAO,CAAC,iBAAiB,CAAC;IAsCtE;;OAEG;IACG,WAAW,CAAC,MAAM,EAAE,kBAAkB,GAAG,OAAO,CAAC,mBAAmB,CAAC;IAS3E;;OAEG;IACG,gBAAgB,CAAC,MAAM,EAAE,uBAAuB,GAAG,OAAO,CAAC,wBAAwB,CAAC;IAO1F;;OAEG;IACG,aAAa,CAAC,YAAY,EAAE,MAAM,GAAG,OAAO,CAAC,qBAAqB,CAAC;IAMzE;;OAEG;IACG,gBAAgB,CAAC,YAAY,EAAE,MAAM,GAAG,OAAO,CAAC,wBAAwB,CAAC;IAM/E;;OAEG;IACG,eAAe,CAAC,MAAM,CAAC,EAAE,sBAAsB,GAAG,OAAO,CAAC,uBAAuB,CAAC;IAoBxF;;OAEG;IACG,iBAAiB,CAAC,MAAM,EAAE,wBAAwB,GAAG,OAAO,CAAC,yBAAyB,CAAC;CAM9F"}
|
|
@@ -106,10 +106,40 @@ export class MemAPIClient {
|
|
|
106
106
|
});
|
|
107
107
|
}
|
|
108
108
|
/**
|
|
109
|
-
* List all notes
|
|
109
|
+
* List all notes with optional filtering and pagination
|
|
110
110
|
*/
|
|
111
|
-
async listNotes() {
|
|
112
|
-
|
|
111
|
+
async listNotes(params) {
|
|
112
|
+
const queryParams = new URLSearchParams();
|
|
113
|
+
if (params?.limit !== undefined) {
|
|
114
|
+
queryParams.append('limit', params.limit.toString());
|
|
115
|
+
}
|
|
116
|
+
if (params?.page) {
|
|
117
|
+
queryParams.append('page', params.page);
|
|
118
|
+
}
|
|
119
|
+
if (params?.order_by) {
|
|
120
|
+
queryParams.append('order_by', params.order_by);
|
|
121
|
+
}
|
|
122
|
+
if (params?.collection_id) {
|
|
123
|
+
queryParams.append('collection_id', params.collection_id);
|
|
124
|
+
}
|
|
125
|
+
if (params?.contains_open_tasks) {
|
|
126
|
+
queryParams.append('contains_open_tasks', 'true');
|
|
127
|
+
}
|
|
128
|
+
if (params?.contains_tasks) {
|
|
129
|
+
queryParams.append('contains_tasks', 'true');
|
|
130
|
+
}
|
|
131
|
+
if (params?.contains_images) {
|
|
132
|
+
queryParams.append('contains_images', 'true');
|
|
133
|
+
}
|
|
134
|
+
if (params?.contains_files) {
|
|
135
|
+
queryParams.append('contains_files', 'true');
|
|
136
|
+
}
|
|
137
|
+
if (params?.include_note_content) {
|
|
138
|
+
queryParams.append('include_note_content', 'true');
|
|
139
|
+
}
|
|
140
|
+
const query = queryParams.toString();
|
|
141
|
+
const endpoint = `/v2/notes${query ? `?${query}` : ''}`;
|
|
142
|
+
return this.request(endpoint, {
|
|
113
143
|
method: 'GET',
|
|
114
144
|
});
|
|
115
145
|
}
|
|
@@ -149,10 +179,22 @@ export class MemAPIClient {
|
|
|
149
179
|
});
|
|
150
180
|
}
|
|
151
181
|
/**
|
|
152
|
-
* List all collections
|
|
182
|
+
* List all collections with optional filtering and pagination
|
|
153
183
|
*/
|
|
154
|
-
async listCollections() {
|
|
155
|
-
|
|
184
|
+
async listCollections(params) {
|
|
185
|
+
const queryParams = new URLSearchParams();
|
|
186
|
+
if (params?.limit !== undefined) {
|
|
187
|
+
queryParams.append('limit', params.limit.toString());
|
|
188
|
+
}
|
|
189
|
+
if (params?.page) {
|
|
190
|
+
queryParams.append('page', params.page);
|
|
191
|
+
}
|
|
192
|
+
if (params?.order_by) {
|
|
193
|
+
queryParams.append('order_by', params.order_by);
|
|
194
|
+
}
|
|
195
|
+
const query = queryParams.toString();
|
|
196
|
+
const endpoint = `/v2/collections${query ? `?${query}` : ''}`;
|
|
197
|
+
return this.request(endpoint, {
|
|
156
198
|
method: 'GET',
|
|
157
199
|
});
|
|
158
200
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mem-api-client.js","sourceRoot":"","sources":["../../src/client/mem-api-client.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,WAAW,EACX,mBAAmB,EACnB,aAAa,EACb,cAAc,EACd,WAAW,GACZ,MAAM,2BAA2B,CAAC;
|
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QACrC,MAAM,QAAQ,GAAG,kBAAkB,KAAK,CAAC,CAAC,CAAC,IAAI,KAAK,EAAE,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC;QAC9D,OAAO,IAAI,CAAC,OAAO,CAA0B,QAAQ,EAAE;YACrD,MAAM,EAAE,KAAK;SACd,CAAC,CAAC;IACL,CAAC;IAED;;OAEG;IACH,KAAK,CAAC,iBAAiB,CAAC,MAAgC;QACtD,OAAO,IAAI,CAAC,OAAO,CAA4B,wBAAwB,EAAE;YACvE,MAAM,EAAE,MAAM;YACd,IAAI,EAAE,IAAI,CAAC,SAAS,CAAC,MAAM,CAAC;SAC7B,CAAC,CAAC;IACL,CAAC;CACF"}
|
package/dist/server.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { BaseTool } from '../base-tool.js';
|
|
2
2
|
import type { MemAPIClient } from '../../client/mem-api-client.js';
|
|
3
3
|
/**
|
|
4
|
-
* Tool for listing all collections
|
|
4
|
+
* Tool for listing all collections with optional filtering and pagination
|
|
5
5
|
*/
|
|
6
6
|
export declare class ListCollectionsTool extends BaseTool {
|
|
7
7
|
constructor(client: MemAPIClient);
|
|
8
|
-
protected execute(
|
|
8
|
+
protected execute(params: unknown): Promise<import("../../types/api.js").ListCollectionsResponse>;
|
|
9
9
|
}
|
|
10
10
|
//# sourceMappingURL=list-collections.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-collections.d.ts","sourceRoot":"","sources":["../../../src/tools/collections/list-collections.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gCAAgC,CAAC;
|
|
1
|
+
{"version":3,"file":"list-collections.d.ts","sourceRoot":"","sources":["../../../src/tools/collections/list-collections.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gCAAgC,CAAC;AAWnE;;GAEG;AACH,qBAAa,mBAAoB,SAAQ,QAAQ;gBACnC,MAAM,EAAE,YAAY;cAShB,OAAO,CAAC,MAAM,EAAE,OAAO;CAIxC"}
|
|
@@ -1,15 +1,23 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
import { BaseTool } from '../base-tool.js';
|
|
3
|
-
const listCollectionsSchema = z.object({
|
|
3
|
+
const listCollectionsSchema = z.object({
|
|
4
|
+
limit: z.number().int().positive().max(100).optional()
|
|
5
|
+
.describe('Maximum number of results (default: 50)'),
|
|
6
|
+
page: z.string().optional()
|
|
7
|
+
.describe('Cursor for pagination (from previous next_page)'),
|
|
8
|
+
order_by: z.enum(['created_at', 'updated_at']).optional()
|
|
9
|
+
.describe('Sort order (default: updated_at)'),
|
|
10
|
+
});
|
|
4
11
|
/**
|
|
5
|
-
* Tool for listing all collections
|
|
12
|
+
* Tool for listing all collections with optional filtering and pagination
|
|
6
13
|
*/
|
|
7
14
|
export class ListCollectionsTool extends BaseTool {
|
|
8
15
|
constructor(client) {
|
|
9
|
-
super('list_collections', 'List all collections in mem.ai.', listCollectionsSchema, client);
|
|
16
|
+
super('list_collections', 'List all collections in mem.ai with optional sorting and cursor-based pagination.', listCollectionsSchema, client);
|
|
10
17
|
}
|
|
11
|
-
async execute(
|
|
12
|
-
|
|
18
|
+
async execute(params) {
|
|
19
|
+
const validated = params;
|
|
20
|
+
return this.client.listCollections(validated);
|
|
13
21
|
}
|
|
14
22
|
}
|
|
15
23
|
//# sourceMappingURL=list-collections.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-collections.js","sourceRoot":"","sources":["../../../src/tools/collections/list-collections.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAG3C,MAAM,qBAAqB,GAAG,CAAC,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"list-collections.js","sourceRoot":"","sources":["../../../src/tools/collections/list-collections.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAG3C,MAAM,qBAAqB,GAAG,CAAC,CAAC,MAAM,CAAC;IACrC,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,QAAQ,EAAE;SACnD,QAAQ,CAAC,yCAAyC,CAAC;IACtD,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;SACxB,QAAQ,CAAC,iDAAiD,CAAC;IAC9D,QAAQ,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC,YAAY,EAAE,YAAY,CAAC,CAAC,CAAC,QAAQ,EAAE;SACtD,QAAQ,CAAC,kCAAkC,CAAC;CAChD,CAAC,CAAC;AAEH;;GAEG;AACH,MAAM,OAAO,mBAAoB,SAAQ,QAAQ;IAC/C,YAAY,MAAoB;QAC9B,KAAK,CACH,kBAAkB,EAClB,mFAAmF,EACnF,qBAAqB,EACrB,MAAM,CACP,CAAC;IACJ,CAAC;IAES,KAAK,CAAC,OAAO,CAAC,MAAe;QACrC,MAAM,SAAS,GAAG,MAA+C,CAAC;QAClE,OAAO,IAAI,CAAC,MAAM,CAAC,eAAe,CAAC,SAAS,CAAC,CAAC;IAChD,CAAC;CACF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"search-collections.d.ts","sourceRoot":"","sources":["../../../src/tools/collections/search-collections.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gCAAgC,CAAC;
|
|
1
|
+
{"version":3,"file":"search-collections.d.ts","sourceRoot":"","sources":["../../../src/tools/collections/search-collections.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gCAAgC,CAAC;AAUnE;;GAEG;AACH,qBAAa,qBAAsB,SAAQ,QAAQ;gBACrC,MAAM,EAAE,YAAY;cAShB,OAAO,CAAC,MAAM,EAAE,OAAO;CAIxC"}
|
|
@@ -1,16 +1,18 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
import { BaseTool } from '../base-tool.js';
|
|
3
3
|
const searchCollectionsSchema = z.object({
|
|
4
|
-
query: z.string().
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
query: z.string().optional()
|
|
5
|
+
.describe('Search query (optional)'),
|
|
6
|
+
config: z.object({
|
|
7
|
+
include_description: z.boolean().optional(),
|
|
8
|
+
}).optional().describe('Response configuration'),
|
|
7
9
|
});
|
|
8
10
|
/**
|
|
9
11
|
* Tool for searching collections
|
|
10
12
|
*/
|
|
11
13
|
export class SearchCollectionsTool extends BaseTool {
|
|
12
14
|
constructor(client) {
|
|
13
|
-
super('search_collections', 'Search across all collections in mem.ai.', searchCollectionsSchema, client);
|
|
15
|
+
super('search_collections', 'Search across all collections in mem.ai with optional query and configuration.', searchCollectionsSchema, client);
|
|
14
16
|
}
|
|
15
17
|
async execute(params) {
|
|
16
18
|
const validated = params;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"search-collections.js","sourceRoot":"","sources":["../../../src/tools/collections/search-collections.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAG3C,MAAM,uBAAuB,GAAG,CAAC,CAAC,MAAM,CAAC;IACvC,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,
|
|
1
|
+
{"version":3,"file":"search-collections.js","sourceRoot":"","sources":["../../../src/tools/collections/search-collections.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAG3C,MAAM,uBAAuB,GAAG,CAAC,CAAC,MAAM,CAAC;IACvC,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;SACzB,QAAQ,CAAC,yBAAyB,CAAC;IACtC,MAAM,EAAE,CAAC,CAAC,MAAM,CAAC;QACf,mBAAmB,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;KAC5C,CAAC,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,wBAAwB,CAAC;CACjD,CAAC,CAAC;AAEH;;GAEG;AACH,MAAM,OAAO,qBAAsB,SAAQ,QAAQ;IACjD,YAAY,MAAoB;QAC9B,KAAK,CACH,oBAAoB,EACpB,gFAAgF,EAChF,uBAAuB,EACvB,MAAM,CACP,CAAC;IACJ,CAAC;IAES,KAAK,CAAC,OAAO,CAAC,MAAe;QACrC,MAAM,SAAS,GAAG,MAAiD,CAAC;QACpE,OAAO,IAAI,CAAC,MAAM,CAAC,iBAAiB,CAAC,SAAS,CAAC,CAAC;IAClD,CAAC;CACF"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { BaseTool } from '../base-tool.js';
|
|
2
2
|
import type { MemAPIClient } from '../../client/mem-api-client.js';
|
|
3
3
|
/**
|
|
4
|
-
* Tool for listing all notes
|
|
4
|
+
* Tool for listing all notes with optional filtering and pagination
|
|
5
5
|
*/
|
|
6
6
|
export declare class ListNotesTool extends BaseTool {
|
|
7
7
|
constructor(client: MemAPIClient);
|
|
8
|
-
protected execute(
|
|
8
|
+
protected execute(params: unknown): Promise<import("../../types/api.js").ListNotesResponse>;
|
|
9
9
|
}
|
|
10
10
|
//# sourceMappingURL=list-notes.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-notes.d.ts","sourceRoot":"","sources":["../../../src/tools/notes/list-notes.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gCAAgC,CAAC;
|
|
1
|
+
{"version":3,"file":"list-notes.d.ts","sourceRoot":"","sources":["../../../src/tools/notes/list-notes.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gCAAgC,CAAC;AAuBnE;;GAEG;AACH,qBAAa,aAAc,SAAQ,QAAQ;gBAC7B,MAAM,EAAE,YAAY;cAShB,OAAO,CAAC,MAAM,EAAE,OAAO;CAIxC"}
|
|
@@ -1,15 +1,35 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
import { BaseTool } from '../base-tool.js';
|
|
3
|
-
const listNotesSchema = z.object({
|
|
3
|
+
const listNotesSchema = z.object({
|
|
4
|
+
limit: z.number().int().positive().max(100).optional()
|
|
5
|
+
.describe('Maximum number of results (default: 50)'),
|
|
6
|
+
page: z.string().optional()
|
|
7
|
+
.describe('Cursor for pagination (from previous next_page)'),
|
|
8
|
+
order_by: z.enum(['created_at', 'updated_at']).optional()
|
|
9
|
+
.describe('Sort order (default: updated_at)'),
|
|
10
|
+
collection_id: z.string().uuid().optional()
|
|
11
|
+
.describe('Filter by collection ID'),
|
|
12
|
+
contains_open_tasks: z.boolean().optional()
|
|
13
|
+
.describe('Filter notes containing open tasks'),
|
|
14
|
+
contains_tasks: z.boolean().optional()
|
|
15
|
+
.describe('Filter notes containing any tasks'),
|
|
16
|
+
contains_images: z.boolean().optional()
|
|
17
|
+
.describe('Filter notes containing images'),
|
|
18
|
+
contains_files: z.boolean().optional()
|
|
19
|
+
.describe('Filter notes containing files'),
|
|
20
|
+
include_note_content: z.boolean().optional()
|
|
21
|
+
.describe('Include full markdown content in response'),
|
|
22
|
+
});
|
|
4
23
|
/**
|
|
5
|
-
* Tool for listing all notes
|
|
24
|
+
* Tool for listing all notes with optional filtering and pagination
|
|
6
25
|
*/
|
|
7
26
|
export class ListNotesTool extends BaseTool {
|
|
8
27
|
constructor(client) {
|
|
9
|
-
super('list_notes', 'List all notes in mem.ai.', listNotesSchema, client);
|
|
28
|
+
super('list_notes', 'List all notes in mem.ai with optional filtering, sorting, and cursor-based pagination.', listNotesSchema, client);
|
|
10
29
|
}
|
|
11
|
-
async execute(
|
|
12
|
-
|
|
30
|
+
async execute(params) {
|
|
31
|
+
const validated = params;
|
|
32
|
+
return this.client.listNotes(validated);
|
|
13
33
|
}
|
|
14
34
|
}
|
|
15
35
|
//# sourceMappingURL=list-notes.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-notes.js","sourceRoot":"","sources":["../../../src/tools/notes/list-notes.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAG3C,MAAM,eAAe,GAAG,CAAC,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"list-notes.js","sourceRoot":"","sources":["../../../src/tools/notes/list-notes.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAG3C,MAAM,eAAe,GAAG,CAAC,CAAC,MAAM,CAAC;IAC/B,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,QAAQ,EAAE;SACnD,QAAQ,CAAC,yCAAyC,CAAC;IACtD,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE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|
/**
|
|
4
|
-
* Tool for searching notes
|
|
4
|
+
* Tool for searching notes with advanced filtering
|
|
5
5
|
*/
|
|
6
6
|
export declare class SearchNotesTool extends BaseTool {
|
|
7
7
|
constructor(client: MemAPIClient);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"search-notes.d.ts","sourceRoot":"","sources":["../../../src/tools/notes/search-notes.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gCAAgC,CAAC;
|
|
1
|
+
{"version":3,"file":"search-notes.d.ts","sourceRoot":"","sources":["../../../src/tools/notes/search-notes.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gCAAgC,CAAC;AAqBnE;;GAEG;AACH,qBAAa,eAAgB,SAAQ,QAAQ;gBAC/B,MAAM,EAAE,YAAY;cAShB,OAAO,CAAC,MAAM,EAAE,OAAO;CAIxC"}
|
|
@@ -1,16 +1,29 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
import { BaseTool } from '../base-tool.js';
|
|
3
3
|
const searchNotesSchema = z.object({
|
|
4
|
-
query: z.string().
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
query: z.string().optional()
|
|
5
|
+
.describe('Search query (optional)'),
|
|
6
|
+
filter_by_collection_ids: z.array(z.string().uuid()).optional()
|
|
7
|
+
.describe('Filter by collection IDs'),
|
|
8
|
+
filter_by_contains_open_tasks: z.boolean().optional()
|
|
9
|
+
.describe('Filter notes with open tasks'),
|
|
10
|
+
filter_by_contains_tasks: z.boolean().optional()
|
|
11
|
+
.describe('Filter notes with any tasks'),
|
|
12
|
+
filter_by_contains_images: z.boolean().optional()
|
|
13
|
+
.describe('Filter notes with images'),
|
|
14
|
+
filter_by_contains_files: z.boolean().optional()
|
|
15
|
+
.describe('Filter notes with files'),
|
|
16
|
+
config: z.object({
|
|
17
|
+
include_snippet: z.boolean().optional(),
|
|
18
|
+
include_content: z.boolean().optional(),
|
|
19
|
+
}).optional().describe('Response configuration'),
|
|
7
20
|
});
|
|
8
21
|
/**
|
|
9
|
-
* Tool for searching notes
|
|
22
|
+
* Tool for searching notes with advanced filtering
|
|
10
23
|
*/
|
|
11
24
|
export class SearchNotesTool extends BaseTool {
|
|
12
25
|
constructor(client) {
|
|
13
|
-
super('search_notes', 'Search across all notes in mem.ai.', searchNotesSchema, client);
|
|
26
|
+
super('search_notes', 'Search across all notes in mem.ai with optional query and advanced filtering options.', searchNotesSchema, client);
|
|
14
27
|
}
|
|
15
28
|
async execute(params) {
|
|
16
29
|
const validated = params;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"search-notes.js","sourceRoot":"","sources":["../../../src/tools/notes/search-notes.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAG3C,MAAM,iBAAiB,GAAG,CAAC,CAAC,MAAM,CAAC;IACjC,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,
|
|
1
|
+
{"version":3,"file":"search-notes.js","sourceRoot":"","sources":["../../../src/tools/notes/search-notes.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAG3C,MAAM,iBAAiB,GAAG,CAAC,CAAC,MAAM,CAAC;IACjC,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;SACzB,QAAQ,CAAC,yBAAyB,CAAC;IACtC,wBAAwB,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,CAAC,QAAQ,EAAE;SAC5D,QAAQ,CAAC,0BAA0B,CAAC;IACvC,6BAA6B,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;SAClD,QAAQ,CAAC,8BAA8B,CAAC;IAC3C,wBAAwB,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;SAC7C,QAAQ,CAAC,6BAA6B,CAAC;IAC1C,yBAAyB,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;SAC9C,QAAQ,CAAC,0BAA0B,CAAC;IACvC,wBAAwB,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;SAC7C,QAAQ,CAAC,yBAAyB,CAAC;IACtC,MAAM,EAAE,CAAC,CAAC,MAAM,CAAC;QACf,eAAe,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;QACvC,eAAe,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;KACxC,CAAC,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,wBAAwB,CAAC;CACjD,CAAC,CAAC;AAEH;;GAEG;AACH,MAAM,OAAO,eAAgB,SAAQ,QAAQ;IAC3C,YAAY,MAAoB;QAC9B,KAAK,CACH,cAAc,EACd,uFAAuF,EACvF,iBAAiB,EACjB,MAAM,CACP,CAAC;IACJ,CAAC;IAES,KAAK,CAAC,OAAO,CAAC,MAAe;QACrC,MAAM,SAAS,GAAG,MAA2C,CAAC;QAC9D,OAAO,IAAI,CAAC,MAAM,CAAC,WAAW,CAAC,SAAS,CAAC,CAAC;IAC5C,CAAC;CACF"}
|
package/dist/types/api.d.ts
CHANGED
|
@@ -34,16 +34,48 @@ export interface GetNoteResponse extends Note {
|
|
|
34
34
|
export interface DeleteNoteResponse {
|
|
35
35
|
success: boolean;
|
|
36
36
|
}
|
|
37
|
+
export interface ListNotesRequest {
|
|
38
|
+
limit?: number;
|
|
39
|
+
page?: string;
|
|
40
|
+
order_by?: 'created_at' | 'updated_at';
|
|
41
|
+
collection_id?: string;
|
|
42
|
+
contains_open_tasks?: boolean;
|
|
43
|
+
contains_tasks?: boolean;
|
|
44
|
+
contains_images?: boolean;
|
|
45
|
+
contains_files?: boolean;
|
|
46
|
+
include_note_content?: boolean;
|
|
47
|
+
}
|
|
48
|
+
export interface NoteListItem {
|
|
49
|
+
id: string;
|
|
50
|
+
title: string;
|
|
51
|
+
snippet?: string;
|
|
52
|
+
content: string;
|
|
53
|
+
collection_ids: string[];
|
|
54
|
+
created_at: string;
|
|
55
|
+
updated_at: string;
|
|
56
|
+
}
|
|
37
57
|
export interface ListNotesResponse {
|
|
38
|
-
|
|
58
|
+
request_id: string;
|
|
59
|
+
results: NoteListItem[];
|
|
60
|
+
total: number;
|
|
61
|
+
next_page: string | null;
|
|
62
|
+
}
|
|
63
|
+
export interface NoteResultsConfig {
|
|
64
|
+
include_snippet?: boolean;
|
|
65
|
+
include_content?: boolean;
|
|
39
66
|
}
|
|
40
67
|
export interface SearchNotesRequest {
|
|
41
|
-
query
|
|
42
|
-
|
|
43
|
-
|
|
68
|
+
query?: string;
|
|
69
|
+
filter_by_collection_ids?: string[];
|
|
70
|
+
filter_by_contains_open_tasks?: boolean;
|
|
71
|
+
filter_by_contains_tasks?: boolean;
|
|
72
|
+
filter_by_contains_images?: boolean;
|
|
73
|
+
filter_by_contains_files?: boolean;
|
|
74
|
+
config?: NoteResultsConfig;
|
|
44
75
|
}
|
|
45
76
|
export interface SearchNotesResponse {
|
|
46
|
-
|
|
77
|
+
request_id: string;
|
|
78
|
+
results: Note[];
|
|
47
79
|
total: number;
|
|
48
80
|
}
|
|
49
81
|
export interface Collection {
|
|
@@ -66,16 +98,34 @@ export interface GetCollectionResponse extends Collection {
|
|
|
66
98
|
export interface DeleteCollectionResponse {
|
|
67
99
|
success: boolean;
|
|
68
100
|
}
|
|
101
|
+
export interface ListCollectionsRequest {
|
|
102
|
+
limit?: number;
|
|
103
|
+
page?: string;
|
|
104
|
+
order_by?: 'created_at' | 'updated_at';
|
|
105
|
+
}
|
|
106
|
+
export interface CollectionListItem {
|
|
107
|
+
id: string;
|
|
108
|
+
title: string;
|
|
109
|
+
description?: string;
|
|
110
|
+
note_count: number;
|
|
111
|
+
created_at: string;
|
|
112
|
+
updated_at: string;
|
|
113
|
+
}
|
|
69
114
|
export interface ListCollectionsResponse {
|
|
70
|
-
|
|
115
|
+
request_id: string;
|
|
116
|
+
results: CollectionListItem[];
|
|
117
|
+
total: number;
|
|
118
|
+
next_page: string | null;
|
|
71
119
|
}
|
|
72
120
|
export interface SearchCollectionsRequest {
|
|
73
|
-
query
|
|
74
|
-
|
|
75
|
-
|
|
121
|
+
query?: string;
|
|
122
|
+
config?: {
|
|
123
|
+
include_description?: boolean;
|
|
124
|
+
};
|
|
76
125
|
}
|
|
77
126
|
export interface SearchCollectionsResponse {
|
|
78
|
-
|
|
127
|
+
request_id: string;
|
|
128
|
+
results: Collection[];
|
|
79
129
|
total: number;
|
|
80
130
|
}
|
|
81
131
|
//# sourceMappingURL=api.d.ts.map
|
package/dist/types/api.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"api.d.ts","sourceRoot":"","sources":["../../src/types/api.ts"],"names":[],"mappings":"AAAA;;GAEG;AAIH,MAAM,WAAW,YAAY;IAC3B,KAAK,EAAE,MAAM,CAAC;IACd,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,WAAW,aAAa;IAC5B,UAAU,EAAE,MAAM,CAAC;CACpB;AAID,MAAM,WAAW,IAAI;IACnB,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,CAAC;IAChB,cAAc,EAAE,MAAM,EAAE,CAAC;IACzB,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC;CACpB;AAED,MA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,EAAE,CAAC;IAC9B,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;CAC1B;AAED,MAAM,WAAW,wBAAwB;IACvC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE;QACP,mBAAmB,CAAC,EAAE,OAAO,CAAC;KAC/B,CAAC;CACH;AAED,MAAM,WAAW,yBAAyB;IACxC,UAAU,EAAE,MAAM,CAAC;IACnB,OAAO,EAAE,UAAU,EAAE,CAAC;IACtB,KAAK,EAAE,MAAM,CAAC;CACf"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hskksk/mem-ai-mcp-server",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"description": "MCP server for mem.ai API integration",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
"files": [
|
|
12
12
|
"dist",
|
|
13
13
|
"README.md",
|
|
14
|
+
"CHANGELOG.md",
|
|
14
15
|
"LICENSE"
|
|
15
16
|
],
|
|
16
17
|
"scripts": {
|