universal-agent-memory 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (96) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +321 -0
  3. package/dist/analyzers/index.d.ts +3 -0
  4. package/dist/analyzers/index.d.ts.map +1 -0
  5. package/dist/analyzers/index.js +373 -0
  6. package/dist/analyzers/index.js.map +1 -0
  7. package/dist/bin/cli.d.ts +3 -0
  8. package/dist/bin/cli.d.ts.map +1 -0
  9. package/dist/bin/cli.js +119 -0
  10. package/dist/bin/cli.js.map +1 -0
  11. package/dist/cli/analyze.d.ts +7 -0
  12. package/dist/cli/analyze.d.ts.map +1 -0
  13. package/dist/cli/analyze.js +103 -0
  14. package/dist/cli/analyze.js.map +1 -0
  15. package/dist/cli/droids.d.ts +9 -0
  16. package/dist/cli/droids.d.ts.map +1 -0
  17. package/dist/cli/droids.js +227 -0
  18. package/dist/cli/droids.js.map +1 -0
  19. package/dist/cli/generate.d.ts +9 -0
  20. package/dist/cli/generate.d.ts.map +1 -0
  21. package/dist/cli/generate.js +203 -0
  22. package/dist/cli/generate.js.map +1 -0
  23. package/dist/cli/init.d.ts +12 -0
  24. package/dist/cli/init.d.ts.map +1 -0
  25. package/dist/cli/init.js +260 -0
  26. package/dist/cli/init.js.map +1 -0
  27. package/dist/cli/memory.d.ts +15 -0
  28. package/dist/cli/memory.d.ts.map +1 -0
  29. package/dist/cli/memory.js +274 -0
  30. package/dist/cli/memory.js.map +1 -0
  31. package/dist/cli/sync.d.ts +7 -0
  32. package/dist/cli/sync.d.ts.map +1 -0
  33. package/dist/cli/sync.js +26 -0
  34. package/dist/cli/sync.js.map +1 -0
  35. package/dist/cli/worktree.d.ts +9 -0
  36. package/dist/cli/worktree.d.ts.map +1 -0
  37. package/dist/cli/worktree.js +175 -0
  38. package/dist/cli/worktree.js.map +1 -0
  39. package/dist/generators/claude-md.d.ts +3 -0
  40. package/dist/generators/claude-md.d.ts.map +1 -0
  41. package/dist/generators/claude-md.js +643 -0
  42. package/dist/generators/claude-md.js.map +1 -0
  43. package/dist/index.d.ts +4 -0
  44. package/dist/index.d.ts.map +1 -0
  45. package/dist/index.js +4 -0
  46. package/dist/index.js.map +1 -0
  47. package/dist/memory/backends/base.d.ts +18 -0
  48. package/dist/memory/backends/base.d.ts.map +1 -0
  49. package/dist/memory/backends/base.js +2 -0
  50. package/dist/memory/backends/base.js.map +1 -0
  51. package/dist/memory/backends/factory.d.ts +4 -0
  52. package/dist/memory/backends/factory.d.ts.map +1 -0
  53. package/dist/memory/backends/factory.js +52 -0
  54. package/dist/memory/backends/factory.js.map +1 -0
  55. package/dist/memory/backends/github.d.ts +22 -0
  56. package/dist/memory/backends/github.d.ts.map +1 -0
  57. package/dist/memory/backends/github.js +118 -0
  58. package/dist/memory/backends/github.js.map +1 -0
  59. package/dist/memory/backends/qdrant-cloud.d.ts +19 -0
  60. package/dist/memory/backends/qdrant-cloud.d.ts.map +1 -0
  61. package/dist/memory/backends/qdrant-cloud.js +111 -0
  62. package/dist/memory/backends/qdrant-cloud.js.map +1 -0
  63. package/dist/memory/prepopulate.d.ts +76 -0
  64. package/dist/memory/prepopulate.d.ts.map +1 -0
  65. package/dist/memory/prepopulate.js +815 -0
  66. package/dist/memory/prepopulate.js.map +1 -0
  67. package/dist/memory/short-term/factory.d.ts +23 -0
  68. package/dist/memory/short-term/factory.d.ts.map +1 -0
  69. package/dist/memory/short-term/factory.js +28 -0
  70. package/dist/memory/short-term/factory.js.map +1 -0
  71. package/dist/memory/short-term/indexeddb.d.ts +25 -0
  72. package/dist/memory/short-term/indexeddb.d.ts.map +1 -0
  73. package/dist/memory/short-term/indexeddb.js +64 -0
  74. package/dist/memory/short-term/indexeddb.js.map +1 -0
  75. package/dist/memory/short-term/sqlite.d.ts +40 -0
  76. package/dist/memory/short-term/sqlite.d.ts.map +1 -0
  77. package/dist/memory/short-term/sqlite.js +136 -0
  78. package/dist/memory/short-term/sqlite.js.map +1 -0
  79. package/dist/types/analysis.d.ts +82 -0
  80. package/dist/types/analysis.d.ts.map +1 -0
  81. package/dist/types/analysis.js +2 -0
  82. package/dist/types/analysis.js.map +1 -0
  83. package/dist/types/config.d.ts +923 -0
  84. package/dist/types/config.d.ts.map +1 -0
  85. package/dist/types/config.js +97 -0
  86. package/dist/types/config.js.map +1 -0
  87. package/dist/types/index.d.ts +3 -0
  88. package/dist/types/index.d.ts.map +1 -0
  89. package/dist/types/index.js +3 -0
  90. package/dist/types/index.js.map +1 -0
  91. package/dist/utils/merge-claude-md.d.ts +15 -0
  92. package/dist/utils/merge-claude-md.d.ts.map +1 -0
  93. package/dist/utils/merge-claude-md.js +149 -0
  94. package/dist/utils/merge-claude-md.js.map +1 -0
  95. package/package.json +90 -0
  96. package/templates/CLAUDE.template.md +632 -0
@@ -0,0 +1,923 @@
1
+ import { z } from 'zod';
2
+ export declare const PlatformSchema: z.ZodObject<{
3
+ enabled: z.ZodDefault<z.ZodBoolean>;
4
+ }, "strip", z.ZodTypeAny, {
5
+ enabled: boolean;
6
+ }, {
7
+ enabled?: boolean | undefined;
8
+ }>;
9
+ export declare const ShortTermMemorySchema: z.ZodObject<{
10
+ enabled: z.ZodDefault<z.ZodBoolean>;
11
+ path: z.ZodDefault<z.ZodString>;
12
+ webDatabase: z.ZodDefault<z.ZodString>;
13
+ maxEntries: z.ZodDefault<z.ZodNumber>;
14
+ forceDesktop: z.ZodDefault<z.ZodBoolean>;
15
+ }, "strip", z.ZodTypeAny, {
16
+ enabled: boolean;
17
+ path: string;
18
+ webDatabase: string;
19
+ maxEntries: number;
20
+ forceDesktop: boolean;
21
+ }, {
22
+ enabled?: boolean | undefined;
23
+ path?: string | undefined;
24
+ webDatabase?: string | undefined;
25
+ maxEntries?: number | undefined;
26
+ forceDesktop?: boolean | undefined;
27
+ }>;
28
+ export declare const GitHubMemoryBackendSchema: z.ZodObject<{
29
+ enabled: z.ZodDefault<z.ZodBoolean>;
30
+ repo: z.ZodOptional<z.ZodString>;
31
+ token: z.ZodOptional<z.ZodString>;
32
+ path: z.ZodDefault<z.ZodString>;
33
+ branch: z.ZodDefault<z.ZodString>;
34
+ }, "strip", z.ZodTypeAny, {
35
+ enabled: boolean;
36
+ path: string;
37
+ branch: string;
38
+ repo?: string | undefined;
39
+ token?: string | undefined;
40
+ }, {
41
+ enabled?: boolean | undefined;
42
+ path?: string | undefined;
43
+ repo?: string | undefined;
44
+ token?: string | undefined;
45
+ branch?: string | undefined;
46
+ }>;
47
+ export declare const QdrantCloudBackendSchema: z.ZodObject<{
48
+ enabled: z.ZodDefault<z.ZodBoolean>;
49
+ url: z.ZodOptional<z.ZodString>;
50
+ apiKey: z.ZodOptional<z.ZodString>;
51
+ collection: z.ZodDefault<z.ZodString>;
52
+ }, "strip", z.ZodTypeAny, {
53
+ enabled: boolean;
54
+ collection: string;
55
+ url?: string | undefined;
56
+ apiKey?: string | undefined;
57
+ }, {
58
+ enabled?: boolean | undefined;
59
+ url?: string | undefined;
60
+ apiKey?: string | undefined;
61
+ collection?: string | undefined;
62
+ }>;
63
+ export declare const LongTermMemorySchema: z.ZodObject<{
64
+ enabled: z.ZodDefault<z.ZodBoolean>;
65
+ provider: z.ZodDefault<z.ZodEnum<["qdrant", "chroma", "pinecone", "github", "qdrant-cloud", "none"]>>;
66
+ endpoint: z.ZodOptional<z.ZodString>;
67
+ collection: z.ZodDefault<z.ZodString>;
68
+ embeddingModel: z.ZodDefault<z.ZodString>;
69
+ github: z.ZodOptional<z.ZodObject<{
70
+ enabled: z.ZodDefault<z.ZodBoolean>;
71
+ repo: z.ZodOptional<z.ZodString>;
72
+ token: z.ZodOptional<z.ZodString>;
73
+ path: z.ZodDefault<z.ZodString>;
74
+ branch: z.ZodDefault<z.ZodString>;
75
+ }, "strip", z.ZodTypeAny, {
76
+ enabled: boolean;
77
+ path: string;
78
+ branch: string;
79
+ repo?: string | undefined;
80
+ token?: string | undefined;
81
+ }, {
82
+ enabled?: boolean | undefined;
83
+ path?: string | undefined;
84
+ repo?: string | undefined;
85
+ token?: string | undefined;
86
+ branch?: string | undefined;
87
+ }>>;
88
+ qdrantCloud: z.ZodOptional<z.ZodObject<{
89
+ enabled: z.ZodDefault<z.ZodBoolean>;
90
+ url: z.ZodOptional<z.ZodString>;
91
+ apiKey: z.ZodOptional<z.ZodString>;
92
+ collection: z.ZodDefault<z.ZodString>;
93
+ }, "strip", z.ZodTypeAny, {
94
+ enabled: boolean;
95
+ collection: string;
96
+ url?: string | undefined;
97
+ apiKey?: string | undefined;
98
+ }, {
99
+ enabled?: boolean | undefined;
100
+ url?: string | undefined;
101
+ apiKey?: string | undefined;
102
+ collection?: string | undefined;
103
+ }>>;
104
+ }, "strip", z.ZodTypeAny, {
105
+ enabled: boolean;
106
+ collection: string;
107
+ provider: "qdrant" | "chroma" | "pinecone" | "github" | "qdrant-cloud" | "none";
108
+ embeddingModel: string;
109
+ github?: {
110
+ enabled: boolean;
111
+ path: string;
112
+ branch: string;
113
+ repo?: string | undefined;
114
+ token?: string | undefined;
115
+ } | undefined;
116
+ endpoint?: string | undefined;
117
+ qdrantCloud?: {
118
+ enabled: boolean;
119
+ collection: string;
120
+ url?: string | undefined;
121
+ apiKey?: string | undefined;
122
+ } | undefined;
123
+ }, {
124
+ enabled?: boolean | undefined;
125
+ collection?: string | undefined;
126
+ github?: {
127
+ enabled?: boolean | undefined;
128
+ path?: string | undefined;
129
+ repo?: string | undefined;
130
+ token?: string | undefined;
131
+ branch?: string | undefined;
132
+ } | undefined;
133
+ provider?: "qdrant" | "chroma" | "pinecone" | "github" | "qdrant-cloud" | "none" | undefined;
134
+ endpoint?: string | undefined;
135
+ embeddingModel?: string | undefined;
136
+ qdrantCloud?: {
137
+ enabled?: boolean | undefined;
138
+ url?: string | undefined;
139
+ apiKey?: string | undefined;
140
+ collection?: string | undefined;
141
+ } | undefined;
142
+ }>;
143
+ export declare const MemorySchema: z.ZodObject<{
144
+ shortTerm: z.ZodOptional<z.ZodObject<{
145
+ enabled: z.ZodDefault<z.ZodBoolean>;
146
+ path: z.ZodDefault<z.ZodString>;
147
+ webDatabase: z.ZodDefault<z.ZodString>;
148
+ maxEntries: z.ZodDefault<z.ZodNumber>;
149
+ forceDesktop: z.ZodDefault<z.ZodBoolean>;
150
+ }, "strip", z.ZodTypeAny, {
151
+ enabled: boolean;
152
+ path: string;
153
+ webDatabase: string;
154
+ maxEntries: number;
155
+ forceDesktop: boolean;
156
+ }, {
157
+ enabled?: boolean | undefined;
158
+ path?: string | undefined;
159
+ webDatabase?: string | undefined;
160
+ maxEntries?: number | undefined;
161
+ forceDesktop?: boolean | undefined;
162
+ }>>;
163
+ longTerm: z.ZodOptional<z.ZodObject<{
164
+ enabled: z.ZodDefault<z.ZodBoolean>;
165
+ provider: z.ZodDefault<z.ZodEnum<["qdrant", "chroma", "pinecone", "github", "qdrant-cloud", "none"]>>;
166
+ endpoint: z.ZodOptional<z.ZodString>;
167
+ collection: z.ZodDefault<z.ZodString>;
168
+ embeddingModel: z.ZodDefault<z.ZodString>;
169
+ github: z.ZodOptional<z.ZodObject<{
170
+ enabled: z.ZodDefault<z.ZodBoolean>;
171
+ repo: z.ZodOptional<z.ZodString>;
172
+ token: z.ZodOptional<z.ZodString>;
173
+ path: z.ZodDefault<z.ZodString>;
174
+ branch: z.ZodDefault<z.ZodString>;
175
+ }, "strip", z.ZodTypeAny, {
176
+ enabled: boolean;
177
+ path: string;
178
+ branch: string;
179
+ repo?: string | undefined;
180
+ token?: string | undefined;
181
+ }, {
182
+ enabled?: boolean | undefined;
183
+ path?: string | undefined;
184
+ repo?: string | undefined;
185
+ token?: string | undefined;
186
+ branch?: string | undefined;
187
+ }>>;
188
+ qdrantCloud: z.ZodOptional<z.ZodObject<{
189
+ enabled: z.ZodDefault<z.ZodBoolean>;
190
+ url: z.ZodOptional<z.ZodString>;
191
+ apiKey: z.ZodOptional<z.ZodString>;
192
+ collection: z.ZodDefault<z.ZodString>;
193
+ }, "strip", z.ZodTypeAny, {
194
+ enabled: boolean;
195
+ collection: string;
196
+ url?: string | undefined;
197
+ apiKey?: string | undefined;
198
+ }, {
199
+ enabled?: boolean | undefined;
200
+ url?: string | undefined;
201
+ apiKey?: string | undefined;
202
+ collection?: string | undefined;
203
+ }>>;
204
+ }, "strip", z.ZodTypeAny, {
205
+ enabled: boolean;
206
+ collection: string;
207
+ provider: "qdrant" | "chroma" | "pinecone" | "github" | "qdrant-cloud" | "none";
208
+ embeddingModel: string;
209
+ github?: {
210
+ enabled: boolean;
211
+ path: string;
212
+ branch: string;
213
+ repo?: string | undefined;
214
+ token?: string | undefined;
215
+ } | undefined;
216
+ endpoint?: string | undefined;
217
+ qdrantCloud?: {
218
+ enabled: boolean;
219
+ collection: string;
220
+ url?: string | undefined;
221
+ apiKey?: string | undefined;
222
+ } | undefined;
223
+ }, {
224
+ enabled?: boolean | undefined;
225
+ collection?: string | undefined;
226
+ github?: {
227
+ enabled?: boolean | undefined;
228
+ path?: string | undefined;
229
+ repo?: string | undefined;
230
+ token?: string | undefined;
231
+ branch?: string | undefined;
232
+ } | undefined;
233
+ provider?: "qdrant" | "chroma" | "pinecone" | "github" | "qdrant-cloud" | "none" | undefined;
234
+ endpoint?: string | undefined;
235
+ embeddingModel?: string | undefined;
236
+ qdrantCloud?: {
237
+ enabled?: boolean | undefined;
238
+ url?: string | undefined;
239
+ apiKey?: string | undefined;
240
+ collection?: string | undefined;
241
+ } | undefined;
242
+ }>>;
243
+ }, "strip", z.ZodTypeAny, {
244
+ shortTerm?: {
245
+ enabled: boolean;
246
+ path: string;
247
+ webDatabase: string;
248
+ maxEntries: number;
249
+ forceDesktop: boolean;
250
+ } | undefined;
251
+ longTerm?: {
252
+ enabled: boolean;
253
+ collection: string;
254
+ provider: "qdrant" | "chroma" | "pinecone" | "github" | "qdrant-cloud" | "none";
255
+ embeddingModel: string;
256
+ github?: {
257
+ enabled: boolean;
258
+ path: string;
259
+ branch: string;
260
+ repo?: string | undefined;
261
+ token?: string | undefined;
262
+ } | undefined;
263
+ endpoint?: string | undefined;
264
+ qdrantCloud?: {
265
+ enabled: boolean;
266
+ collection: string;
267
+ url?: string | undefined;
268
+ apiKey?: string | undefined;
269
+ } | undefined;
270
+ } | undefined;
271
+ }, {
272
+ shortTerm?: {
273
+ enabled?: boolean | undefined;
274
+ path?: string | undefined;
275
+ webDatabase?: string | undefined;
276
+ maxEntries?: number | undefined;
277
+ forceDesktop?: boolean | undefined;
278
+ } | undefined;
279
+ longTerm?: {
280
+ enabled?: boolean | undefined;
281
+ collection?: string | undefined;
282
+ github?: {
283
+ enabled?: boolean | undefined;
284
+ path?: string | undefined;
285
+ repo?: string | undefined;
286
+ token?: string | undefined;
287
+ branch?: string | undefined;
288
+ } | undefined;
289
+ provider?: "qdrant" | "chroma" | "pinecone" | "github" | "qdrant-cloud" | "none" | undefined;
290
+ endpoint?: string | undefined;
291
+ embeddingModel?: string | undefined;
292
+ qdrantCloud?: {
293
+ enabled?: boolean | undefined;
294
+ url?: string | undefined;
295
+ apiKey?: string | undefined;
296
+ collection?: string | undefined;
297
+ } | undefined;
298
+ } | undefined;
299
+ }>;
300
+ export declare const WorktreeSchema: z.ZodObject<{
301
+ enabled: z.ZodDefault<z.ZodBoolean>;
302
+ directory: z.ZodDefault<z.ZodString>;
303
+ branchPrefix: z.ZodDefault<z.ZodString>;
304
+ autoCleanup: z.ZodDefault<z.ZodBoolean>;
305
+ }, "strip", z.ZodTypeAny, {
306
+ enabled: boolean;
307
+ directory: string;
308
+ branchPrefix: string;
309
+ autoCleanup: boolean;
310
+ }, {
311
+ enabled?: boolean | undefined;
312
+ directory?: string | undefined;
313
+ branchPrefix?: string | undefined;
314
+ autoCleanup?: boolean | undefined;
315
+ }>;
316
+ export declare const DroidSchema: z.ZodObject<{
317
+ name: z.ZodString;
318
+ template: z.ZodOptional<z.ZodString>;
319
+ description: z.ZodOptional<z.ZodString>;
320
+ model: z.ZodDefault<z.ZodString>;
321
+ tools: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
322
+ }, "strip", z.ZodTypeAny, {
323
+ name: string;
324
+ model: string;
325
+ template?: string | undefined;
326
+ description?: string | undefined;
327
+ tools?: string | string[] | undefined;
328
+ }, {
329
+ name: string;
330
+ template?: string | undefined;
331
+ description?: string | undefined;
332
+ model?: string | undefined;
333
+ tools?: string | string[] | undefined;
334
+ }>;
335
+ export declare const CommandSchema: z.ZodObject<{
336
+ name: z.ZodString;
337
+ template: z.ZodOptional<z.ZodString>;
338
+ description: z.ZodOptional<z.ZodString>;
339
+ argumentHint: z.ZodOptional<z.ZodString>;
340
+ }, "strip", z.ZodTypeAny, {
341
+ name: string;
342
+ template?: string | undefined;
343
+ description?: string | undefined;
344
+ argumentHint?: string | undefined;
345
+ }, {
346
+ name: string;
347
+ template?: string | undefined;
348
+ description?: string | undefined;
349
+ argumentHint?: string | undefined;
350
+ }>;
351
+ export declare const TemplateSectionsSchema: z.ZodObject<{
352
+ memorySystem: z.ZodDefault<z.ZodBoolean>;
353
+ browserUsage: z.ZodDefault<z.ZodBoolean>;
354
+ decisionLoop: z.ZodDefault<z.ZodBoolean>;
355
+ worktreeWorkflow: z.ZodDefault<z.ZodBoolean>;
356
+ troubleshooting: z.ZodDefault<z.ZodBoolean>;
357
+ augmentedCapabilities: z.ZodDefault<z.ZodBoolean>;
358
+ }, "strip", z.ZodTypeAny, {
359
+ memorySystem: boolean;
360
+ browserUsage: boolean;
361
+ decisionLoop: boolean;
362
+ worktreeWorkflow: boolean;
363
+ troubleshooting: boolean;
364
+ augmentedCapabilities: boolean;
365
+ }, {
366
+ memorySystem?: boolean | undefined;
367
+ browserUsage?: boolean | undefined;
368
+ decisionLoop?: boolean | undefined;
369
+ worktreeWorkflow?: boolean | undefined;
370
+ troubleshooting?: boolean | undefined;
371
+ augmentedCapabilities?: boolean | undefined;
372
+ }>;
373
+ export declare const TemplateSchema: z.ZodObject<{
374
+ extends: z.ZodDefault<z.ZodString>;
375
+ sections: z.ZodOptional<z.ZodObject<{
376
+ memorySystem: z.ZodDefault<z.ZodBoolean>;
377
+ browserUsage: z.ZodDefault<z.ZodBoolean>;
378
+ decisionLoop: z.ZodDefault<z.ZodBoolean>;
379
+ worktreeWorkflow: z.ZodDefault<z.ZodBoolean>;
380
+ troubleshooting: z.ZodDefault<z.ZodBoolean>;
381
+ augmentedCapabilities: z.ZodDefault<z.ZodBoolean>;
382
+ }, "strip", z.ZodTypeAny, {
383
+ memorySystem: boolean;
384
+ browserUsage: boolean;
385
+ decisionLoop: boolean;
386
+ worktreeWorkflow: boolean;
387
+ troubleshooting: boolean;
388
+ augmentedCapabilities: boolean;
389
+ }, {
390
+ memorySystem?: boolean | undefined;
391
+ browserUsage?: boolean | undefined;
392
+ decisionLoop?: boolean | undefined;
393
+ worktreeWorkflow?: boolean | undefined;
394
+ troubleshooting?: boolean | undefined;
395
+ augmentedCapabilities?: boolean | undefined;
396
+ }>>;
397
+ }, "strip", z.ZodTypeAny, {
398
+ extends: string;
399
+ sections?: {
400
+ memorySystem: boolean;
401
+ browserUsage: boolean;
402
+ decisionLoop: boolean;
403
+ worktreeWorkflow: boolean;
404
+ troubleshooting: boolean;
405
+ augmentedCapabilities: boolean;
406
+ } | undefined;
407
+ }, {
408
+ extends?: string | undefined;
409
+ sections?: {
410
+ memorySystem?: boolean | undefined;
411
+ browserUsage?: boolean | undefined;
412
+ decisionLoop?: boolean | undefined;
413
+ worktreeWorkflow?: boolean | undefined;
414
+ troubleshooting?: boolean | undefined;
415
+ augmentedCapabilities?: boolean | undefined;
416
+ } | undefined;
417
+ }>;
418
+ export declare const ProjectSchema: z.ZodObject<{
419
+ name: z.ZodString;
420
+ description: z.ZodOptional<z.ZodString>;
421
+ defaultBranch: z.ZodDefault<z.ZodString>;
422
+ }, "strip", z.ZodTypeAny, {
423
+ name: string;
424
+ defaultBranch: string;
425
+ description?: string | undefined;
426
+ }, {
427
+ name: string;
428
+ description?: string | undefined;
429
+ defaultBranch?: string | undefined;
430
+ }>;
431
+ export declare const AgentContextConfigSchema: z.ZodObject<{
432
+ $schema: z.ZodOptional<z.ZodString>;
433
+ version: z.ZodDefault<z.ZodString>;
434
+ project: z.ZodObject<{
435
+ name: z.ZodString;
436
+ description: z.ZodOptional<z.ZodString>;
437
+ defaultBranch: z.ZodDefault<z.ZodString>;
438
+ }, "strip", z.ZodTypeAny, {
439
+ name: string;
440
+ defaultBranch: string;
441
+ description?: string | undefined;
442
+ }, {
443
+ name: string;
444
+ description?: string | undefined;
445
+ defaultBranch?: string | undefined;
446
+ }>;
447
+ platforms: z.ZodOptional<z.ZodObject<{
448
+ claudeCode: z.ZodOptional<z.ZodObject<{
449
+ enabled: z.ZodDefault<z.ZodBoolean>;
450
+ }, "strip", z.ZodTypeAny, {
451
+ enabled: boolean;
452
+ }, {
453
+ enabled?: boolean | undefined;
454
+ }>>;
455
+ factory: z.ZodOptional<z.ZodObject<{
456
+ enabled: z.ZodDefault<z.ZodBoolean>;
457
+ }, "strip", z.ZodTypeAny, {
458
+ enabled: boolean;
459
+ }, {
460
+ enabled?: boolean | undefined;
461
+ }>>;
462
+ vscode: z.ZodOptional<z.ZodObject<{
463
+ enabled: z.ZodDefault<z.ZodBoolean>;
464
+ }, "strip", z.ZodTypeAny, {
465
+ enabled: boolean;
466
+ }, {
467
+ enabled?: boolean | undefined;
468
+ }>>;
469
+ opencode: z.ZodOptional<z.ZodObject<{
470
+ enabled: z.ZodDefault<z.ZodBoolean>;
471
+ }, "strip", z.ZodTypeAny, {
472
+ enabled: boolean;
473
+ }, {
474
+ enabled?: boolean | undefined;
475
+ }>>;
476
+ }, "strip", z.ZodTypeAny, {
477
+ claudeCode?: {
478
+ enabled: boolean;
479
+ } | undefined;
480
+ factory?: {
481
+ enabled: boolean;
482
+ } | undefined;
483
+ vscode?: {
484
+ enabled: boolean;
485
+ } | undefined;
486
+ opencode?: {
487
+ enabled: boolean;
488
+ } | undefined;
489
+ }, {
490
+ claudeCode?: {
491
+ enabled?: boolean | undefined;
492
+ } | undefined;
493
+ factory?: {
494
+ enabled?: boolean | undefined;
495
+ } | undefined;
496
+ vscode?: {
497
+ enabled?: boolean | undefined;
498
+ } | undefined;
499
+ opencode?: {
500
+ enabled?: boolean | undefined;
501
+ } | undefined;
502
+ }>>;
503
+ memory: z.ZodOptional<z.ZodObject<{
504
+ shortTerm: z.ZodOptional<z.ZodObject<{
505
+ enabled: z.ZodDefault<z.ZodBoolean>;
506
+ path: z.ZodDefault<z.ZodString>;
507
+ webDatabase: z.ZodDefault<z.ZodString>;
508
+ maxEntries: z.ZodDefault<z.ZodNumber>;
509
+ forceDesktop: z.ZodDefault<z.ZodBoolean>;
510
+ }, "strip", z.ZodTypeAny, {
511
+ enabled: boolean;
512
+ path: string;
513
+ webDatabase: string;
514
+ maxEntries: number;
515
+ forceDesktop: boolean;
516
+ }, {
517
+ enabled?: boolean | undefined;
518
+ path?: string | undefined;
519
+ webDatabase?: string | undefined;
520
+ maxEntries?: number | undefined;
521
+ forceDesktop?: boolean | undefined;
522
+ }>>;
523
+ longTerm: z.ZodOptional<z.ZodObject<{
524
+ enabled: z.ZodDefault<z.ZodBoolean>;
525
+ provider: z.ZodDefault<z.ZodEnum<["qdrant", "chroma", "pinecone", "github", "qdrant-cloud", "none"]>>;
526
+ endpoint: z.ZodOptional<z.ZodString>;
527
+ collection: z.ZodDefault<z.ZodString>;
528
+ embeddingModel: z.ZodDefault<z.ZodString>;
529
+ github: z.ZodOptional<z.ZodObject<{
530
+ enabled: z.ZodDefault<z.ZodBoolean>;
531
+ repo: z.ZodOptional<z.ZodString>;
532
+ token: z.ZodOptional<z.ZodString>;
533
+ path: z.ZodDefault<z.ZodString>;
534
+ branch: z.ZodDefault<z.ZodString>;
535
+ }, "strip", z.ZodTypeAny, {
536
+ enabled: boolean;
537
+ path: string;
538
+ branch: string;
539
+ repo?: string | undefined;
540
+ token?: string | undefined;
541
+ }, {
542
+ enabled?: boolean | undefined;
543
+ path?: string | undefined;
544
+ repo?: string | undefined;
545
+ token?: string | undefined;
546
+ branch?: string | undefined;
547
+ }>>;
548
+ qdrantCloud: z.ZodOptional<z.ZodObject<{
549
+ enabled: z.ZodDefault<z.ZodBoolean>;
550
+ url: z.ZodOptional<z.ZodString>;
551
+ apiKey: z.ZodOptional<z.ZodString>;
552
+ collection: z.ZodDefault<z.ZodString>;
553
+ }, "strip", z.ZodTypeAny, {
554
+ enabled: boolean;
555
+ collection: string;
556
+ url?: string | undefined;
557
+ apiKey?: string | undefined;
558
+ }, {
559
+ enabled?: boolean | undefined;
560
+ url?: string | undefined;
561
+ apiKey?: string | undefined;
562
+ collection?: string | undefined;
563
+ }>>;
564
+ }, "strip", z.ZodTypeAny, {
565
+ enabled: boolean;
566
+ collection: string;
567
+ provider: "qdrant" | "chroma" | "pinecone" | "github" | "qdrant-cloud" | "none";
568
+ embeddingModel: string;
569
+ github?: {
570
+ enabled: boolean;
571
+ path: string;
572
+ branch: string;
573
+ repo?: string | undefined;
574
+ token?: string | undefined;
575
+ } | undefined;
576
+ endpoint?: string | undefined;
577
+ qdrantCloud?: {
578
+ enabled: boolean;
579
+ collection: string;
580
+ url?: string | undefined;
581
+ apiKey?: string | undefined;
582
+ } | undefined;
583
+ }, {
584
+ enabled?: boolean | undefined;
585
+ collection?: string | undefined;
586
+ github?: {
587
+ enabled?: boolean | undefined;
588
+ path?: string | undefined;
589
+ repo?: string | undefined;
590
+ token?: string | undefined;
591
+ branch?: string | undefined;
592
+ } | undefined;
593
+ provider?: "qdrant" | "chroma" | "pinecone" | "github" | "qdrant-cloud" | "none" | undefined;
594
+ endpoint?: string | undefined;
595
+ embeddingModel?: string | undefined;
596
+ qdrantCloud?: {
597
+ enabled?: boolean | undefined;
598
+ url?: string | undefined;
599
+ apiKey?: string | undefined;
600
+ collection?: string | undefined;
601
+ } | undefined;
602
+ }>>;
603
+ }, "strip", z.ZodTypeAny, {
604
+ shortTerm?: {
605
+ enabled: boolean;
606
+ path: string;
607
+ webDatabase: string;
608
+ maxEntries: number;
609
+ forceDesktop: boolean;
610
+ } | undefined;
611
+ longTerm?: {
612
+ enabled: boolean;
613
+ collection: string;
614
+ provider: "qdrant" | "chroma" | "pinecone" | "github" | "qdrant-cloud" | "none";
615
+ embeddingModel: string;
616
+ github?: {
617
+ enabled: boolean;
618
+ path: string;
619
+ branch: string;
620
+ repo?: string | undefined;
621
+ token?: string | undefined;
622
+ } | undefined;
623
+ endpoint?: string | undefined;
624
+ qdrantCloud?: {
625
+ enabled: boolean;
626
+ collection: string;
627
+ url?: string | undefined;
628
+ apiKey?: string | undefined;
629
+ } | undefined;
630
+ } | undefined;
631
+ }, {
632
+ shortTerm?: {
633
+ enabled?: boolean | undefined;
634
+ path?: string | undefined;
635
+ webDatabase?: string | undefined;
636
+ maxEntries?: number | undefined;
637
+ forceDesktop?: boolean | undefined;
638
+ } | undefined;
639
+ longTerm?: {
640
+ enabled?: boolean | undefined;
641
+ collection?: string | undefined;
642
+ github?: {
643
+ enabled?: boolean | undefined;
644
+ path?: string | undefined;
645
+ repo?: string | undefined;
646
+ token?: string | undefined;
647
+ branch?: string | undefined;
648
+ } | undefined;
649
+ provider?: "qdrant" | "chroma" | "pinecone" | "github" | "qdrant-cloud" | "none" | undefined;
650
+ endpoint?: string | undefined;
651
+ embeddingModel?: string | undefined;
652
+ qdrantCloud?: {
653
+ enabled?: boolean | undefined;
654
+ url?: string | undefined;
655
+ apiKey?: string | undefined;
656
+ collection?: string | undefined;
657
+ } | undefined;
658
+ } | undefined;
659
+ }>>;
660
+ worktrees: z.ZodOptional<z.ZodObject<{
661
+ enabled: z.ZodDefault<z.ZodBoolean>;
662
+ directory: z.ZodDefault<z.ZodString>;
663
+ branchPrefix: z.ZodDefault<z.ZodString>;
664
+ autoCleanup: z.ZodDefault<z.ZodBoolean>;
665
+ }, "strip", z.ZodTypeAny, {
666
+ enabled: boolean;
667
+ directory: string;
668
+ branchPrefix: string;
669
+ autoCleanup: boolean;
670
+ }, {
671
+ enabled?: boolean | undefined;
672
+ directory?: string | undefined;
673
+ branchPrefix?: string | undefined;
674
+ autoCleanup?: boolean | undefined;
675
+ }>>;
676
+ droids: z.ZodOptional<z.ZodArray<z.ZodObject<{
677
+ name: z.ZodString;
678
+ template: z.ZodOptional<z.ZodString>;
679
+ description: z.ZodOptional<z.ZodString>;
680
+ model: z.ZodDefault<z.ZodString>;
681
+ tools: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
682
+ }, "strip", z.ZodTypeAny, {
683
+ name: string;
684
+ model: string;
685
+ template?: string | undefined;
686
+ description?: string | undefined;
687
+ tools?: string | string[] | undefined;
688
+ }, {
689
+ name: string;
690
+ template?: string | undefined;
691
+ description?: string | undefined;
692
+ model?: string | undefined;
693
+ tools?: string | string[] | undefined;
694
+ }>, "many">>;
695
+ commands: z.ZodOptional<z.ZodArray<z.ZodObject<{
696
+ name: z.ZodString;
697
+ template: z.ZodOptional<z.ZodString>;
698
+ description: z.ZodOptional<z.ZodString>;
699
+ argumentHint: z.ZodOptional<z.ZodString>;
700
+ }, "strip", z.ZodTypeAny, {
701
+ name: string;
702
+ template?: string | undefined;
703
+ description?: string | undefined;
704
+ argumentHint?: string | undefined;
705
+ }, {
706
+ name: string;
707
+ template?: string | undefined;
708
+ description?: string | undefined;
709
+ argumentHint?: string | undefined;
710
+ }>, "many">>;
711
+ template: z.ZodOptional<z.ZodObject<{
712
+ extends: z.ZodDefault<z.ZodString>;
713
+ sections: z.ZodOptional<z.ZodObject<{
714
+ memorySystem: z.ZodDefault<z.ZodBoolean>;
715
+ browserUsage: z.ZodDefault<z.ZodBoolean>;
716
+ decisionLoop: z.ZodDefault<z.ZodBoolean>;
717
+ worktreeWorkflow: z.ZodDefault<z.ZodBoolean>;
718
+ troubleshooting: z.ZodDefault<z.ZodBoolean>;
719
+ augmentedCapabilities: z.ZodDefault<z.ZodBoolean>;
720
+ }, "strip", z.ZodTypeAny, {
721
+ memorySystem: boolean;
722
+ browserUsage: boolean;
723
+ decisionLoop: boolean;
724
+ worktreeWorkflow: boolean;
725
+ troubleshooting: boolean;
726
+ augmentedCapabilities: boolean;
727
+ }, {
728
+ memorySystem?: boolean | undefined;
729
+ browserUsage?: boolean | undefined;
730
+ decisionLoop?: boolean | undefined;
731
+ worktreeWorkflow?: boolean | undefined;
732
+ troubleshooting?: boolean | undefined;
733
+ augmentedCapabilities?: boolean | undefined;
734
+ }>>;
735
+ }, "strip", z.ZodTypeAny, {
736
+ extends: string;
737
+ sections?: {
738
+ memorySystem: boolean;
739
+ browserUsage: boolean;
740
+ decisionLoop: boolean;
741
+ worktreeWorkflow: boolean;
742
+ troubleshooting: boolean;
743
+ augmentedCapabilities: boolean;
744
+ } | undefined;
745
+ }, {
746
+ extends?: string | undefined;
747
+ sections?: {
748
+ memorySystem?: boolean | undefined;
749
+ browserUsage?: boolean | undefined;
750
+ decisionLoop?: boolean | undefined;
751
+ worktreeWorkflow?: boolean | undefined;
752
+ troubleshooting?: boolean | undefined;
753
+ augmentedCapabilities?: boolean | undefined;
754
+ } | undefined;
755
+ }>>;
756
+ }, "strip", z.ZodTypeAny, {
757
+ version: string;
758
+ project: {
759
+ name: string;
760
+ defaultBranch: string;
761
+ description?: string | undefined;
762
+ };
763
+ template?: {
764
+ extends: string;
765
+ sections?: {
766
+ memorySystem: boolean;
767
+ browserUsage: boolean;
768
+ decisionLoop: boolean;
769
+ worktreeWorkflow: boolean;
770
+ troubleshooting: boolean;
771
+ augmentedCapabilities: boolean;
772
+ } | undefined;
773
+ } | undefined;
774
+ $schema?: string | undefined;
775
+ platforms?: {
776
+ claudeCode?: {
777
+ enabled: boolean;
778
+ } | undefined;
779
+ factory?: {
780
+ enabled: boolean;
781
+ } | undefined;
782
+ vscode?: {
783
+ enabled: boolean;
784
+ } | undefined;
785
+ opencode?: {
786
+ enabled: boolean;
787
+ } | undefined;
788
+ } | undefined;
789
+ memory?: {
790
+ shortTerm?: {
791
+ enabled: boolean;
792
+ path: string;
793
+ webDatabase: string;
794
+ maxEntries: number;
795
+ forceDesktop: boolean;
796
+ } | undefined;
797
+ longTerm?: {
798
+ enabled: boolean;
799
+ collection: string;
800
+ provider: "qdrant" | "chroma" | "pinecone" | "github" | "qdrant-cloud" | "none";
801
+ embeddingModel: string;
802
+ github?: {
803
+ enabled: boolean;
804
+ path: string;
805
+ branch: string;
806
+ repo?: string | undefined;
807
+ token?: string | undefined;
808
+ } | undefined;
809
+ endpoint?: string | undefined;
810
+ qdrantCloud?: {
811
+ enabled: boolean;
812
+ collection: string;
813
+ url?: string | undefined;
814
+ apiKey?: string | undefined;
815
+ } | undefined;
816
+ } | undefined;
817
+ } | undefined;
818
+ worktrees?: {
819
+ enabled: boolean;
820
+ directory: string;
821
+ branchPrefix: string;
822
+ autoCleanup: boolean;
823
+ } | undefined;
824
+ droids?: {
825
+ name: string;
826
+ model: string;
827
+ template?: string | undefined;
828
+ description?: string | undefined;
829
+ tools?: string | string[] | undefined;
830
+ }[] | undefined;
831
+ commands?: {
832
+ name: string;
833
+ template?: string | undefined;
834
+ description?: string | undefined;
835
+ argumentHint?: string | undefined;
836
+ }[] | undefined;
837
+ }, {
838
+ project: {
839
+ name: string;
840
+ description?: string | undefined;
841
+ defaultBranch?: string | undefined;
842
+ };
843
+ template?: {
844
+ extends?: string | undefined;
845
+ sections?: {
846
+ memorySystem?: boolean | undefined;
847
+ browserUsage?: boolean | undefined;
848
+ decisionLoop?: boolean | undefined;
849
+ worktreeWorkflow?: boolean | undefined;
850
+ troubleshooting?: boolean | undefined;
851
+ augmentedCapabilities?: boolean | undefined;
852
+ } | undefined;
853
+ } | undefined;
854
+ $schema?: string | undefined;
855
+ version?: string | undefined;
856
+ platforms?: {
857
+ claudeCode?: {
858
+ enabled?: boolean | undefined;
859
+ } | undefined;
860
+ factory?: {
861
+ enabled?: boolean | undefined;
862
+ } | undefined;
863
+ vscode?: {
864
+ enabled?: boolean | undefined;
865
+ } | undefined;
866
+ opencode?: {
867
+ enabled?: boolean | undefined;
868
+ } | undefined;
869
+ } | undefined;
870
+ memory?: {
871
+ shortTerm?: {
872
+ enabled?: boolean | undefined;
873
+ path?: string | undefined;
874
+ webDatabase?: string | undefined;
875
+ maxEntries?: number | undefined;
876
+ forceDesktop?: boolean | undefined;
877
+ } | undefined;
878
+ longTerm?: {
879
+ enabled?: boolean | undefined;
880
+ collection?: string | undefined;
881
+ github?: {
882
+ enabled?: boolean | undefined;
883
+ path?: string | undefined;
884
+ repo?: string | undefined;
885
+ token?: string | undefined;
886
+ branch?: string | undefined;
887
+ } | undefined;
888
+ provider?: "qdrant" | "chroma" | "pinecone" | "github" | "qdrant-cloud" | "none" | undefined;
889
+ endpoint?: string | undefined;
890
+ embeddingModel?: string | undefined;
891
+ qdrantCloud?: {
892
+ enabled?: boolean | undefined;
893
+ url?: string | undefined;
894
+ apiKey?: string | undefined;
895
+ collection?: string | undefined;
896
+ } | undefined;
897
+ } | undefined;
898
+ } | undefined;
899
+ worktrees?: {
900
+ enabled?: boolean | undefined;
901
+ directory?: string | undefined;
902
+ branchPrefix?: string | undefined;
903
+ autoCleanup?: boolean | undefined;
904
+ } | undefined;
905
+ droids?: {
906
+ name: string;
907
+ template?: string | undefined;
908
+ description?: string | undefined;
909
+ model?: string | undefined;
910
+ tools?: string | string[] | undefined;
911
+ }[] | undefined;
912
+ commands?: {
913
+ name: string;
914
+ template?: string | undefined;
915
+ description?: string | undefined;
916
+ argumentHint?: string | undefined;
917
+ }[] | undefined;
918
+ }>;
919
+ export type AgentContextConfig = z.infer<typeof AgentContextConfigSchema>;
920
+ export type Platform = 'claudeCode' | 'factory' | 'vscode' | 'opencode' | 'claudeWeb' | 'factoryWeb';
921
+ export type Droid = z.infer<typeof DroidSchema>;
922
+ export type Command = z.infer<typeof CommandSchema>;
923
+ //# sourceMappingURL=config.d.ts.map