synapse-kit-memory 0.0.0-stage → 0.2.2

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.
@@ -0,0 +1,29 @@
1
+ import { type CausalMemoryDatabase } from './causal-store';
2
+ export interface OverloadBenchmarkConfig {
3
+ readonly ruleScale: number;
4
+ readonly relationScale: number;
5
+ readonly concurrency: number;
6
+ readonly totalRequests: number;
7
+ readonly fileInputScale: number;
8
+ readonly crudIterations: number;
9
+ }
10
+ export interface ScenarioMetrics {
11
+ readonly name: string;
12
+ readonly passed: boolean;
13
+ readonly details: Record<string, string | number>;
14
+ }
15
+ export interface OverloadBenchmarkReport {
16
+ readonly timestamp: string;
17
+ readonly config: OverloadBenchmarkConfig;
18
+ readonly allPassed: boolean;
19
+ readonly totalDurationMs: number;
20
+ readonly scenarios: readonly ScenarioMetrics[];
21
+ }
22
+ /**
23
+ * 대규모 합성 인과율 데이터베이스 생성기 (10,000 Rules + 20,000 Relations + 5-Hop & Circular Chains)
24
+ */
25
+ export declare function generateSyntheticDatabase(ruleCount: number, relationCount: number): CausalMemoryDatabase;
26
+ /**
27
+ * 차세대 인과율 메모리(Causal Memory 2.1) 4대 차원 과부하 벤치마크 실행기
28
+ */
29
+ export declare function executeOverloadBenchmark(customConfig?: Partial<OverloadBenchmarkConfig>, silent?: boolean): Promise<OverloadBenchmarkReport>;
@@ -0,0 +1,24 @@
1
+ /**
2
+ * 인과율 메모리(Causal Memory) 전역 설정 및 환경 변수 모듈
3
+ * 하드코딩을 배제하고 환경 변수와 OS 표준 경로를 통해 설정값을 관리합니다.
4
+ */
5
+ export declare const CAUSAL_MEMORY_CONFIG: {
6
+ /** 데이터베이스 스키마 버전 */
7
+ readonly SCHEMA_VERSION: string;
8
+ /** 전역 인과율 메모리 데이터베이스 기본 경로 */
9
+ readonly GLOBAL_DB_PATH: string;
10
+ /** 구형 메모리 백업 경로 */
11
+ readonly LEGACY_BACKUP_PATH: string;
12
+ /** 패키지 내장 폴백 데이터베이스 경로 */
13
+ readonly LOCAL_DB_PATH: string;
14
+ /** 독립 로컬 데몬 서버 기본 호스트 */
15
+ readonly DEFAULT_HOST: string;
16
+ /** 독립 로컬 데몬 서버 기본 포트 */
17
+ readonly DEFAULT_PORT: number;
18
+ /** MCP 서버 프로토콜 버전 */
19
+ readonly MCP_PROTOCOL_VERSION: string;
20
+ /** MCP 서버 식별 이름 */
21
+ readonly MCP_SERVER_NAME: "synapse-causal-memory";
22
+ /** 공명 쿼리 시 컨텍스트 최대 노출 줄 수 (토큰 절감 임계치) */
23
+ readonly MAX_CONTEXT_PREVIEW_LINES: number;
24
+ };
@@ -0,0 +1,11 @@
1
+ /**
2
+ * 구형 지식 그래프(memory_backup)를 차세대 인과율 메모리(Causal Memory 2.1)로 무손실 변환합니다.
3
+ * 엔티티뿐만 아니라 모든 인과 간선(Relations)을 100% 보존하며, 도메인 오분류를 방지합니다.
4
+ */
5
+ export declare function migrateLegacyMemoryGraph(sourceBackupPath?: string, targetGlobalPath?: string, targetLocalPath?: string): {
6
+ readonly ok: boolean;
7
+ readonly totalRules: number;
8
+ readonly totalRelations: number;
9
+ readonly alwaysActiveCount: number;
10
+ readonly domains: readonly string[];
11
+ };
@@ -0,0 +1,21 @@
1
+ import { type CausalResonanceResult } from './causal-store';
2
+ /**
3
+ * Git 작업 트리의 변경 파일 목록 자동 추출
4
+ */
5
+ export declare function detectModifiedFiles(cwd?: string): Promise<string[]>;
6
+ /**
7
+ * 인과율 공명 쿼리 실행기
8
+ */
9
+ export declare function runCausalQuery(rawOptions: {
10
+ files?: string[];
11
+ keywords?: string[];
12
+ command?: string;
13
+ domain?: string;
14
+ autoGit?: boolean;
15
+ cwd?: string;
16
+ propagateRelations?: boolean;
17
+ }, storeCustomPath?: string): Promise<CausalResonanceResult>;
18
+ /**
19
+ * AI 에이전트 주입용 초경량 마크다운/텍스트 포맷터
20
+ */
21
+ export declare function formatResonanceForAgent(result: CausalResonanceResult, compact?: boolean): string;
@@ -0,0 +1,299 @@
1
+ import { CausalMemoryStore } from './causal-store';
2
+ export interface ServerOptions {
3
+ readonly port?: number;
4
+ readonly host?: string;
5
+ readonly dbPath?: string;
6
+ }
7
+ export interface JsonRpcRequest {
8
+ readonly jsonrpc?: string;
9
+ readonly id?: string | number | null;
10
+ readonly method: string;
11
+ readonly params?: Record<string, any>;
12
+ }
13
+ /**
14
+ * MCP 표준 도구 스키마 목록 (신규 인과율 도구 3종 + 구형 memory 호환 도구 9종 = 총 12종)
15
+ */
16
+ export declare const CAUSAL_MCP_TOOLS: readonly [{
17
+ readonly name: "query_causal_memory";
18
+ readonly description: "작업 컨텍스트(수정된 파일, 키워드, 명령어, 도메인)에 매칭되는 인과율 지식과 불변 규칙만 0ms 초경량으로 공명 쿼리합니다.";
19
+ readonly inputSchema: {
20
+ readonly type: "object";
21
+ readonly properties: {
22
+ readonly files: {
23
+ readonly type: "array";
24
+ readonly items: {
25
+ readonly type: "string";
26
+ };
27
+ readonly description: "감지할 대상 파일 경로 목록 (생략 시 Git 변경 파일 자동 감지)";
28
+ };
29
+ readonly keywords: {
30
+ readonly type: "array";
31
+ readonly items: {
32
+ readonly type: "string";
33
+ };
34
+ readonly description: "검색할 도메인/작업 키워드 목록";
35
+ };
36
+ readonly command: {
37
+ readonly type: "string";
38
+ readonly description: "연동 명령어 (예: check, build, release, sign)";
39
+ };
40
+ readonly domain: {
41
+ readonly type: "string";
42
+ readonly description: "특정 도메인 필터";
43
+ };
44
+ readonly compact: {
45
+ readonly type: "boolean";
46
+ readonly description: "초소형 JSON 포맷 반환 여부";
47
+ };
48
+ };
49
+ };
50
+ }, {
51
+ readonly name: "assert_causal_rule";
52
+ readonly description: "신규 인과율 규칙(원인 트리거 ➔ 불변 계약 ➔ 실행 지침)을 메모리에 등록하거나 갱신합니다.";
53
+ readonly inputSchema: {
54
+ readonly type: "object";
55
+ readonly required: readonly ["id", "domain", "title", "triggers"];
56
+ readonly properties: {
57
+ readonly id: {
58
+ readonly type: "string";
59
+ };
60
+ readonly domain: {
61
+ readonly type: "string";
62
+ };
63
+ readonly title: {
64
+ readonly type: "string";
65
+ };
66
+ readonly triggers: {
67
+ readonly type: "object";
68
+ };
69
+ readonly invariants: {
70
+ readonly type: "array";
71
+ readonly items: {
72
+ readonly type: "string";
73
+ };
74
+ };
75
+ readonly actions: {
76
+ readonly type: "array";
77
+ readonly items: {
78
+ readonly type: "string";
79
+ };
80
+ };
81
+ readonly context: {
82
+ readonly type: "array";
83
+ readonly items: {
84
+ readonly type: "string";
85
+ };
86
+ };
87
+ };
88
+ };
89
+ }, {
90
+ readonly name: "audit_causal_memory";
91
+ readonly description: "인과율 메모리 데이터베이스의 무결성, 도메인 분포, 토큰 절감 상태를 감사(Audit)합니다.";
92
+ readonly inputSchema: {
93
+ readonly type: "object";
94
+ readonly properties: {};
95
+ };
96
+ }, {
97
+ readonly name: "read_graph";
98
+ readonly description: "Read the active causal resonance knowledge graph (automatically filters out unrelated noise for 90%+ token savings)";
99
+ readonly inputSchema: {
100
+ readonly type: "object";
101
+ readonly properties: {};
102
+ };
103
+ }, {
104
+ readonly name: "search_nodes";
105
+ readonly description: "Search for causal rules and nodes in the knowledge graph based on a query and traverse causal relations";
106
+ readonly inputSchema: {
107
+ readonly type: "object";
108
+ readonly required: readonly ["query"];
109
+ readonly properties: {
110
+ readonly query: {
111
+ readonly type: "string";
112
+ readonly description: "The search query to match against rule titles, domains, triggers, and invariants";
113
+ };
114
+ };
115
+ };
116
+ }, {
117
+ readonly name: "open_nodes";
118
+ readonly description: "Open specific causal rule nodes in the knowledge graph by their names or IDs";
119
+ readonly inputSchema: {
120
+ readonly type: "object";
121
+ readonly required: readonly ["names"];
122
+ readonly properties: {
123
+ readonly names: {
124
+ readonly type: "array";
125
+ readonly items: {
126
+ readonly type: "string";
127
+ };
128
+ readonly description: "An array of entity names or rule IDs to retrieve";
129
+ };
130
+ };
131
+ };
132
+ }, {
133
+ readonly name: "create_entities";
134
+ readonly description: "Create multiple new entities (automatically converted into structured Causal Rules)";
135
+ readonly inputSchema: {
136
+ readonly type: "object";
137
+ readonly required: readonly ["entities"];
138
+ readonly properties: {
139
+ readonly entities: {
140
+ readonly type: "array";
141
+ readonly items: {
142
+ readonly type: "object";
143
+ readonly required: readonly ["name", "entityType", "observations"];
144
+ readonly properties: {
145
+ readonly name: {
146
+ readonly type: "string";
147
+ };
148
+ readonly entityType: {
149
+ readonly type: "string";
150
+ };
151
+ readonly observations: {
152
+ readonly type: "array";
153
+ readonly items: {
154
+ readonly type: "string";
155
+ };
156
+ };
157
+ };
158
+ };
159
+ };
160
+ };
161
+ };
162
+ }, {
163
+ readonly name: "create_relations";
164
+ readonly description: "Create multiple new causal relations between nodes in the knowledge graph";
165
+ readonly inputSchema: {
166
+ readonly type: "object";
167
+ readonly required: readonly ["relations"];
168
+ readonly properties: {
169
+ readonly relations: {
170
+ readonly type: "array";
171
+ readonly items: {
172
+ readonly type: "object";
173
+ readonly required: readonly ["from", "to", "relationType"];
174
+ readonly properties: {
175
+ readonly from: {
176
+ readonly type: "string";
177
+ };
178
+ readonly to: {
179
+ readonly type: "string";
180
+ };
181
+ readonly relationType: {
182
+ readonly type: "string";
183
+ };
184
+ };
185
+ };
186
+ };
187
+ };
188
+ };
189
+ }, {
190
+ readonly name: "add_observations";
191
+ readonly description: "Add new invariants, actions, or context observations to existing causal rules";
192
+ readonly inputSchema: {
193
+ readonly type: "object";
194
+ readonly required: readonly ["observations"];
195
+ readonly properties: {
196
+ readonly observations: {
197
+ readonly type: "array";
198
+ readonly items: {
199
+ readonly type: "object";
200
+ readonly required: readonly ["entityName", "contents"];
201
+ readonly properties: {
202
+ readonly entityName: {
203
+ readonly type: "string";
204
+ };
205
+ readonly contents: {
206
+ readonly type: "array";
207
+ readonly items: {
208
+ readonly type: "string";
209
+ };
210
+ };
211
+ };
212
+ };
213
+ };
214
+ };
215
+ };
216
+ }, {
217
+ readonly name: "delete_entities";
218
+ readonly description: "Delete multiple entities/rules and their associated causal relations";
219
+ readonly inputSchema: {
220
+ readonly type: "object";
221
+ readonly required: readonly ["entityNames"];
222
+ readonly properties: {
223
+ readonly entityNames: {
224
+ readonly type: "array";
225
+ readonly items: {
226
+ readonly type: "string";
227
+ };
228
+ };
229
+ };
230
+ };
231
+ }, {
232
+ readonly name: "delete_observations";
233
+ readonly description: "Delete specific observations from entities/rules in the causal memory";
234
+ readonly inputSchema: {
235
+ readonly type: "object";
236
+ readonly required: readonly ["deletions"];
237
+ readonly properties: {
238
+ readonly deletions: {
239
+ readonly type: "array";
240
+ readonly items: {
241
+ readonly type: "object";
242
+ readonly required: readonly ["entityName", "observations"];
243
+ readonly properties: {
244
+ readonly entityName: {
245
+ readonly type: "string";
246
+ };
247
+ readonly observations: {
248
+ readonly type: "array";
249
+ readonly items: {
250
+ readonly type: "string";
251
+ };
252
+ };
253
+ };
254
+ };
255
+ };
256
+ };
257
+ };
258
+ }, {
259
+ readonly name: "delete_relations";
260
+ readonly description: "Delete multiple causal relations from the knowledge graph";
261
+ readonly inputSchema: {
262
+ readonly type: "object";
263
+ readonly required: readonly ["relations"];
264
+ readonly properties: {
265
+ readonly relations: {
266
+ readonly type: "array";
267
+ readonly items: {
268
+ readonly type: "object";
269
+ readonly required: readonly ["from", "to", "relationType"];
270
+ readonly properties: {
271
+ readonly from: {
272
+ readonly type: "string";
273
+ };
274
+ readonly to: {
275
+ readonly type: "string";
276
+ };
277
+ readonly relationType: {
278
+ readonly type: "string";
279
+ };
280
+ };
281
+ };
282
+ };
283
+ };
284
+ };
285
+ }];
286
+ /**
287
+ * MCP JSON-RPC 2.0 요청 통합 처리기 (HTTP 데몬 및 Stdio 서버 공용)
288
+ */
289
+ export declare function handleMcpJsonRpcRequest(rpc: JsonRpcRequest, store: CausalMemoryStore, dbPath?: string): Promise<Record<string, any> | null>;
290
+ /**
291
+ * 인과율 메모리 독립 로컬 서버 (Causal Memory HTTP & MCP Daemon)
292
+ */
293
+ export declare function startCausalServer(options?: ServerOptions): Bun.Server<undefined>;
294
+ /**
295
+ * MCP 표준 입출력(stdio) 서버 모드
296
+ * Antigravity / Claude Code 등의 MCP 호스트가 프로세스를 직접 스폰하여 통신할 때 동작합니다.
297
+ * 로컬 데몬(4242 포트)이 실행 중이면 데몬으로 프록시하고, 꺼져 있으면 인메모리 스토어로 즉시 응답합니다.
298
+ */
299
+ export declare function startCausalMcpStdioServer(dbPath?: string): Promise<void>;
@@ -0,0 +1,247 @@
1
+ /**
2
+ * 인과율 트리거 규격
3
+ */
4
+ export interface CausalTrigger {
5
+ readonly files?: readonly string[];
6
+ readonly keywords?: readonly string[];
7
+ readonly commands?: readonly string[];
8
+ readonly alwaysActive?: boolean;
9
+ }
10
+ /**
11
+ * 인과율 간선(Relation) 규격
12
+ */
13
+ export interface CausalRelation {
14
+ readonly from: string;
15
+ readonly to: string;
16
+ readonly relationType: string;
17
+ }
18
+ /**
19
+ * 인과율 규칙(Node) 규격
20
+ */
21
+ export interface CausalRule {
22
+ readonly id: string;
23
+ readonly domain: string;
24
+ readonly title: string;
25
+ readonly entityType?: string;
26
+ readonly triggers: CausalTrigger;
27
+ readonly invariants: readonly string[];
28
+ readonly actions: readonly string[];
29
+ readonly context: readonly string[];
30
+ readonly lastVerified?: string;
31
+ }
32
+ /**
33
+ * 인과율 메모리 데이터베이스 규격
34
+ */
35
+ export interface CausalMemoryDatabase {
36
+ readonly version: string;
37
+ readonly updatedAt: string;
38
+ readonly totalRules: number;
39
+ readonly totalRelations: number;
40
+ readonly rules: readonly CausalRule[];
41
+ readonly relations: readonly CausalRelation[];
42
+ }
43
+ /**
44
+ * 공명 쿼리 입력 규격
45
+ */
46
+ export interface CausalQueryOptions {
47
+ readonly files?: readonly string[];
48
+ readonly keywords?: readonly string[];
49
+ readonly command?: string;
50
+ readonly domain?: string;
51
+ readonly propagateRelations?: boolean;
52
+ readonly maxHops?: number;
53
+ }
54
+ /**
55
+ * 공명 쿼리 결과 규격
56
+ */
57
+ export interface CausalResonanceResult {
58
+ readonly queryDurationMs: number;
59
+ readonly matchedCount: number;
60
+ readonly totalDatabaseRules: number;
61
+ readonly resonanceRules: readonly CausalRule[];
62
+ readonly activeRelations: readonly CausalRelation[];
63
+ readonly tokenDietSavingsRatio: string;
64
+ }
65
+ /**
66
+ * 구형 memory MCP 호환 엔티티 규격
67
+ */
68
+ export interface LegacyEntityInput {
69
+ readonly name: string;
70
+ readonly entityType: string;
71
+ readonly observations: readonly string[];
72
+ }
73
+ /**
74
+ * 인과율 메모리 저장소 및 O(1) 역인덱스 공명 엔진 클래스 (SRP 및 OCP 준수)
75
+ */
76
+ export declare class CausalMemoryStore {
77
+ private readonly dbPath;
78
+ private database;
79
+ private lastMtimeMs;
80
+ private alwaysActiveRules;
81
+ private domainIndex;
82
+ private commandIndex;
83
+ private exactKeywordIndex;
84
+ private exactFileIndex;
85
+ private prefixFileRules;
86
+ private compiledSearchRules;
87
+ private titleToRuleMap;
88
+ private idToRuleMap;
89
+ private relationAdjacency;
90
+ constructor(customPath?: string, initialDatabase?: CausalMemoryDatabase);
91
+ /**
92
+ * 디스크 파일 변경(mtimeMs)이 감지된 경우에만 스마트 리로드 수행 (Zero-Copy Cache)
93
+ */
94
+ reloadIfNeeded(): boolean;
95
+ /**
96
+ * 강제 디스크 리로드
97
+ */
98
+ reload(): void;
99
+ /**
100
+ * 인메모리 데이터베이스 직접 주입 (벤치마크 및 인메모리 시뮬레이션용)
101
+ */
102
+ loadFromMemory(db: CausalMemoryDatabase): void;
103
+ /**
104
+ * O(1) 역인덱스(Inverted Index) 및 인접 리스트 그래프(Adjacency List) 재구축
105
+ */
106
+ private rebuildIndices;
107
+ /**
108
+ * 데이터베이스 로드
109
+ */
110
+ private loadDatabase;
111
+ /**
112
+ * 데이터베이스 디스크 동기화
113
+ */
114
+ private saveDatabase;
115
+ getAllRules(): readonly CausalRule[];
116
+ getAllRelations(): readonly CausalRelation[];
117
+ getStatus(): {
118
+ version: string;
119
+ updatedAt: string;
120
+ totalRules: number;
121
+ totalRelations: number;
122
+ dbPath: string;
123
+ domains: string[];
124
+ domainCounts: Record<string, number>;
125
+ };
126
+ /**
127
+ * 부분 문자열 폴백 검색을 위한 지연 컴파일러 (Lazy Compilation)
128
+ */
129
+ private getCompiledSearchRules;
130
+ /**
131
+ * 초고속 O(1) 역인덱스 및 다중 홉(Multi-Hop) 그래프 전파 공명 쿼리 엔진
132
+ */
133
+ queryResonance(options: CausalQueryOptions): CausalResonanceResult;
134
+ /**
135
+ * 신규 규칙 등록 또는 기존 규칙 갱신
136
+ */
137
+ assertRule(rule: CausalRule, persistToDisk?: boolean): void;
138
+ /**
139
+ * 구형 memory MCP 호환: read_graph 대체 (초경량 인과 공명 요약 반환)
140
+ */
141
+ readSmartGraph(files?: readonly string[]): {
142
+ causalMemoryEngine: string;
143
+ tokenDietSavings: string;
144
+ queryDurationMs: number;
145
+ activeEntitiesCount: number;
146
+ totalIndexedRules: number;
147
+ totalIndexedRelations: number;
148
+ availableDomains: Record<string, number>;
149
+ hint: string;
150
+ entities: {
151
+ name: string;
152
+ entityType: string;
153
+ domain: string;
154
+ invariants: readonly string[];
155
+ actions: readonly string[];
156
+ observations: string[];
157
+ }[];
158
+ relations: readonly CausalRelation[];
159
+ };
160
+ /**
161
+ * 구형 memory MCP 호환: search_nodes
162
+ */
163
+ searchNodes(query: string): {
164
+ causalMemoryEngine: string;
165
+ tokenDietSavings: string;
166
+ queryDurationMs: number;
167
+ activeEntitiesCount: number;
168
+ totalIndexedRules: number;
169
+ totalIndexedRelations: number;
170
+ availableDomains: Record<string, number>;
171
+ hint: string;
172
+ entities: {
173
+ name: string;
174
+ entityType: string;
175
+ domain: string;
176
+ invariants: readonly string[];
177
+ actions: readonly string[];
178
+ observations: string[];
179
+ }[];
180
+ relations: readonly CausalRelation[];
181
+ } | {
182
+ entities: {
183
+ name: string;
184
+ entityType: string;
185
+ observations: string[];
186
+ }[];
187
+ relations: CausalRelation[];
188
+ };
189
+ /**
190
+ * 구형 memory MCP 호환: open_nodes
191
+ */
192
+ openNodes(names: readonly string[]): {
193
+ entities: {
194
+ name: string;
195
+ entityType: string;
196
+ observations: string[];
197
+ }[];
198
+ relations: CausalRelation[];
199
+ };
200
+ /**
201
+ * 구형 memory MCP 호환: create_entities
202
+ */
203
+ createEntities(entities: readonly LegacyEntityInput[], persistToDisk?: boolean): LegacyEntityInput[];
204
+ /**
205
+ * 구형 memory MCP 호환: add_observations
206
+ */
207
+ addObservations(observations: readonly {
208
+ readonly entityName: string;
209
+ readonly contents: readonly string[];
210
+ }[], persistToDisk?: boolean): {
211
+ entityName: string;
212
+ addedObservations: string[];
213
+ }[];
214
+ /**
215
+ * 구형 memory MCP 호환: create_relations
216
+ */
217
+ createRelations(relations: readonly CausalRelation[], persistToDisk?: boolean): CausalRelation[];
218
+ /**
219
+ * 구형 memory MCP 호환: delete_entities
220
+ */
221
+ deleteEntities(entityNames: readonly string[], persistToDisk?: boolean): void;
222
+ /**
223
+ * 구형 memory MCP 호환: delete_observations
224
+ */
225
+ deleteObservations(deletions: readonly {
226
+ readonly entityName: string;
227
+ readonly observations: readonly string[];
228
+ }[], persistToDisk?: boolean): void;
229
+ /**
230
+ * 구형 memory MCP 호환: delete_relations
231
+ */
232
+ deleteRelations(relations: readonly CausalRelation[], persistToDisk?: boolean): void;
233
+ /**
234
+ * 엔티티 입력으로부터 도메인 및 인과율 규칙 자동 추론
235
+ */
236
+ static inferRuleFromEntity(ent: LegacyEntityInput, today: string): CausalRule;
237
+ /**
238
+ * 메모리 무결성 감사 (Audit)
239
+ */
240
+ audit(): {
241
+ ok: boolean;
242
+ totalRules: number;
243
+ totalRelations: number;
244
+ alwaysActiveCount: number;
245
+ issues: string[];
246
+ };
247
+ }
package/dist/cli.d.ts ADDED
@@ -0,0 +1,12 @@
1
+ export interface MemoryCliOptions {
2
+ lang?: string;
3
+ compact?: boolean;
4
+ agent?: boolean;
5
+ agentMode?: boolean;
6
+ force?: boolean;
7
+ [key: string]: unknown;
8
+ }
9
+ /**
10
+ * synapse memory CLI 명령어 핸들러
11
+ */
12
+ export declare function handleMemoryCommand(args: readonly string[], options?: MemoryCliOptions): Promise<number>;