dsh-prime-memory 0.18.4 → 0.18.6

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/dist/config.d.ts DELETED
@@ -1,1407 +0,0 @@
1
- /**
2
- * 插件配置:Schemastery schema + 类型。
3
- *
4
- * 默认数据目录:$DSH_HOME/memory(用官方 dshHomePath 解析,DSH_HOME 缺省 ~/.dsh)。
5
- * 键名/默认值/取值范围是部署面契约(patch.yml 按"整行替换,不深合并"覆盖),不可更名。
6
- */
7
- import Schema from '@deepseek-ai/schemastery';
8
- import type { Volatile } from '@deepseek-ai/cordis';
9
- import type { LayerRouteKey, MemoryLiveSettings, StaticFallbackEntry } from './contract.js';
10
- import type { ExtractMode, ScopeMode } from './types.js';
11
- /**
12
- * 蒸馏思考档位全词汇表(唯一事实源):'' = 自动(模型默认档 → high),
13
- * 其余为各适配器通用档位词汇(deepseek 认 'off',OpenAI 系是 'none')。
14
- * schema(config/settings)、运行时解析与 RPC 写入门共用,勿在别处再抄字面量表。
15
- */
16
- export declare const EFFORT_CHOICES: readonly ["", "off", "none", "minimal", "low", "medium", "high", "xhigh", "max"];
17
- export interface MemoryConfig {
18
- /** 数据目录;留空则用 $DSH_HOME/memory。 */
19
- dataDir: string;
20
- /** 新会话的默认记忆档位:auto(双族自动)| chat(个人)| work(工作)。 */
21
- family: ExtractMode;
22
- /** §E 存储作用域(可见范围):`global`(默认,跨工作区可见)| `workspace`(按工作区隔离 work 族)。
23
- * 与 `family` **正交**——前者问"这是什么内容",后者问"它该在多大范围内可见"(ADR-0008 条 1)。
24
- * 默认 `global` 保证既有部署零漂移:检索侧"是否带工作区标识"即开关,不带即不过滤。 */
25
- scope: ScopeMode;
26
- capture: {
27
- enabled: boolean;
28
- /** 助手消息是否剥离代码块(减少嵌入噪声)。 */
29
- stripCodeBlocks: boolean;
30
- /** 单条消息内容最大字符数。 */
31
- maxMessageChars: number;
32
- /**
33
- * §C 载荷脱敏(memorax-absorb):捕获单点把 8 类密钥(PEM/Bearer/JWT/Cookie/
34
- * 厂商 API key/邮箱/长号/高熵 ID)替换为 `[REDACTED:<KIND>]` 占位符,覆盖
35
- * L0 JSONL/SQLite/蒸馏输入与手动 memory_add/import。**默认开启**——密钥被
36
- * 逐轮召回注入的危害大于偶发误脱敏;注意开启后 L0 原文自此改变(重建不可得原文)。
37
- * 决策记录见计划 spec §C;`false` 一键回到明文行为。 */
38
- redactSecrets?: boolean;
39
- };
40
- /** §F 结构化追踪(memorax-absorb):recall/distill 事件按天 JSONL。 */
41
- trace: {
42
- enabled: boolean;
43
- /** 事件文件保留天数(写入时切日清理;0 = 永久)。 */
44
- retentionDays: number;
45
- /** 默认 metadata-only(chars+sha);true 才存 query 原文(≤200 字符)。 */
46
- captureContent: boolean;
47
- };
48
- extract: {
49
- enabled: boolean;
50
- /** 稳态触发阈值:单会话攒够多少条新消息才跑一次 L1 抽取(省 token)。
51
- * 起步阶段生效阈值从 1 翻倍爬坡到此值(渐进阈值,ADR-0003)。 */
52
- minMessages: number;
53
- /** 闲置兜底:会话静默多少秒后把未蒸馏切片落袋;0 = 关闭。 */
54
- idleSeconds: number;
55
- /** L1 抽取时的背景消息条数(供上下文推断,不参与提取)。 */
56
- backgroundMessages: number;
57
- /** 去重候选池大小(每条新记忆的相似候选数)。 */
58
- candidatePool: number;
59
- };
60
- l2: {
61
- enabled: boolean;
62
- /** 距上次 L2 整合的新记忆达到该数量才触发。 */
63
- minNewMemories: number;
64
- /** 场景块数量上限。 */
65
- maxScenes: number;
66
- /** L2 prompt 里附带的相似场景全文数量上限。 */
67
- sceneContextLimit: number;
68
- };
69
- l3: {
70
- enabled: boolean;
71
- /** 距上次 L3 蒸馏的新记忆数量阈值。 */
72
- interval: number;
73
- };
74
- graph: {
75
- /** 知识图谱投影总开关(部署级,默认关):开启后还需运行时蒸馏开关(live.distill)
76
- * 同时为真才执行;图谱是 L1 的可重建投影,关闭不影响记忆主链路。 */
77
- enabled: boolean;
78
- };
79
- /** §C 矛盾冻结:去重判定"两边都像是对的、机器判不了"时不自动裁决,
80
- * 把冲突对停放到待人工裁决区(conflict_pending)。**默认关**——
81
- * 冻结消耗人的注意力,不可默认全开。 */
82
- conflictFreeze: {
83
- /** 总开关。关闭时去重 prompt 与改动前**逐字一致**,冲突分支结构性不可达。 */
84
- enabled: boolean;
85
- /** 待裁决队列上限(条)。未裁决数达上限时**不再停放**,直接按 LLM 的
86
- * winner/loser 自动了结(仍写 conflict_pending,`resolution='auto'`)。
87
- * 语义是「不收新的」而非「偷偷删旧的」——有界性由此结构性成立。 */
88
- maxPending: number;
89
- /** 超时降级(天):停放超过该天数的待裁决对在下一轮蒸馏开头被自动了结。
90
- * **0 = 不做超时降级**(显式关闭,而非"立刻全部超时")。 */
91
- timeoutDays: number;
92
- };
93
- recall: {
94
- enabled: boolean;
95
- /** 每步自动召回注入的 L1 条数。 */
96
- maxResults: number;
97
- /** 单条注入记忆的字符上限(超限截断并提示用工具查全文);0 = 不限。 */
98
- maxCharsPerMemory: number;
99
- /** 整轮注入总字符上限(超限按相关性丢尾部);0 = 不限。 */
100
- maxTotalRecallChars: number;
101
- /** 召回总预算(ms):超时跳过本轮注入、不阻塞对话;0 = 不限时。 */
102
- timeoutMs: number;
103
- includePersona: boolean;
104
- includeSceneNav: boolean;
105
- /** 检索策略:keyword(FTS5 BM25)| embedding(向量)| hybrid(双路 + RRF 融合)。 */
106
- strategy: 'keyword' | 'embedding' | 'hybrid';
107
- /** 召回路径分数阈值(0~1,低于该分不注入;工具路径不过滤)。 */
108
- scoreThreshold: number;
109
- /** 时效衰减半衰期(天,0=关):score × max(0.5, 0.5^(Δ天/半衰期)),
110
- * 只影响相关度相近候选间的名次(老记忆最多损失一半排序分,不淘汰)。 */
111
- decayHalfLifeDays: number;
112
- };
113
- embedding: {
114
- /** 向量检索总开关;关闭时纯 FTS 运行。 */
115
- enabled: boolean;
116
- /** OpenAI 兼容 /embeddings 服务地址,如 https://api.siliconflow.cn/v1。 */
117
- baseUrl: string;
118
- apiKey: string;
119
- model: string;
120
- /** 向量维度(启用时必填,须与模型输出一致;vec0 建表需要固定维度)。 */
121
- dimensions: number;
122
- /** 单条文本最大字符数(超长截断)。 */
123
- maxInputChars: number;
124
- /** 单次调用超时(ms)。 */
125
- timeoutMs: number;
126
- /** 允许本地嵌入模型档(部署上限:公司环境可禁下载与本地推理)。 */
127
- allowLocalModels: boolean;
128
- /** 模型下载镜像根地址(默认国内可达的 hf-mirror.com)。 */
129
- mirror: string;
130
- /** 模型下载代理三态:''(默认)= 探测代理环境变量;'none' = 强制直连;其他 = 代理 URL。 */
131
- proxy: string;
132
- };
133
- llm: {
134
- /** 蒸馏用的 provider 路由;留空用当前默认选择。 */
135
- provider: string;
136
- /** 蒸馏用的模型;留空用当前默认选择。 */
137
- model: string;
138
- /** 压缩(蒸馏)调用通道:'host' = 复用宿主 ctx.llm(默认,零配置);'direct' =
139
- * 插件原生 HTTP 直连 llm.baseURL 指定的 OpenAI 兼容端点。direct 失败自动回退宿主
140
- * 路由作兜底;direct 未配置时静默回退 host。 */
141
- mode: 'host' | 'direct';
142
- /** direct 模式下的 OpenAI 兼容 /v1 端点根地址;host 模式忽略。 */
143
- baseURL: string;
144
- /** direct 模式下可选 API Key(本地免 key);host 模式忽略。 */
145
- apiKey: string;
146
- /** 回退链:主路由失败(报错/掐断/网络异常/空输出)后按序降级的备用路由,
147
- * 条目顺序即优先级。与主路由完全相同的条目自动跳过;provider/model 缺失的条目剔除;
148
- * 条目 reasoningEffort 非空时覆盖全局档位;空数组(缺省)= 单路由行为不变。 */
149
- fallbacks?: StaticFallbackEntry[];
150
- /** 按层静态路由链:层键 l1/l2/l3 各一条完整链(头行必须 provider+model 双显式)。
151
- * 非空即完整替换该层解析;空/缺省 = 该层跟随全局解析。被运行时层链压过;
152
- * pin 不废静态层链。 */
153
- layerRoutes?: Partial<Record<LayerRouteKey, StaticFallbackEntry[]>>;
154
- /** 运行时层链(effectiveCfg 从设置页 distillLayerChains 注入,层内第一优先级);
155
- * 非静态 schema——运行时偏好,无部署上限语义。 */
156
- layerChainsRuntime?: Partial<Record<LayerRouteKey, StaticFallbackEntry[]>>;
157
- /** 单次蒸馏调用的输出 token 上限(推理模型的 reasoning 与正文共享该预算)。 */
158
- maxTokens: number;
159
- /** 蒸馏调用的思考档位;空串不传(跟随模型默认)。 */
160
- reasoningEffort: string;
161
- /** 运行时主路由显式档位(distillChain[0].reasoningEffort 经 effectiveCfg 注入);
162
- * '' = 跟随全局静态 reasoningEffort。 */
163
- primaryEffort?: string;
164
- temperature: number;
165
- /** 单次蒸馏调用的用户 prompt 字符预算(≈token 数,按中文 1 字≈1 token 保守估算)。 */
166
- maxInputChars: number;
167
- /** 单次蒸馏调用超时(ms)。 */
168
- timeoutMs: number;
169
- /** 分层输出预算运行时覆盖(设置页 distillBudgets 经 effectiveCfg 注入;
170
- * 0/缺省 = 用内置默认。非静态 schema——预算无部署上限语义)。 */
171
- budgets?: Partial<{
172
- extract: number;
173
- dedup: number;
174
- l2: number;
175
- l3: number;
176
- graph: number;
177
- }>;
178
- };
179
- /** Hall(粗分类属性通道):参与 L1 自动打标与记忆库过滤的 Wing id 列表。
180
- * 空数组 = 关闭 Hall 功能(不自动打标)。 */
181
- hall: {
182
- enabled: string[];
183
- };
184
- tokenCost: {
185
- /** token_cost 明细保留天数;写入时滚动清理更早行。0 = 永久保留。 */
186
- retentionDays: number;
187
- };
188
- /** 激活槽位(active slot):可跨会话持久的结构化提示,pinned 的 open 槽位常驻注入每轮对话上下文。 */
189
- slots: {
190
- /** 总开关:读/注入是否开启(写仍由 live.memoryMutate 门控)。默认开。 */
191
- enabled: boolean;
192
- /** 常驻注入开关:pinned 槽位是否进 agent/pre-step 上下文。默认开。 */
193
- inject: boolean;
194
- /** 槽位数量上限(条)。 */
195
- maxSlots: number;
196
- /** 常驻注入字节预算(UTF-8)。 */
197
- maxAlwaysOnBytes: number;
198
- /** 槽位正文最大字符数。 */
199
- maxBodyChars: number;
200
- };
201
- /** 是否注册模型可调用的记忆工具。 */
202
- tools: boolean;
203
- /** 注册 bench 控制服务(dsh-memory-bench,进程内 rebuild 触发面)。
204
- * 仅供基准/调试部署,默认关——生产零表面积。 */
205
- benchControl: boolean;
206
- /** 运行时开关(0.1.7 起由 Config 的 volatile 字段承载,设置页自动成表;
207
- * 原为 settings 服务 `dsh-memory` 命名空间,见 src/settings.ts 头注)。
208
- * 读取走 `config.live.get()`(每次操作取一次),写入走设置页或
209
- * settings-set RPC(经 `fiber.update` 持久化到 profile patch)。 */
210
- live: Volatile<MemoryLiveSettings>;
211
- }
212
- /**
213
- * 运行时开关节(0.1.7 声明式设置面的唯一事实源)。
214
- *
215
- * **整个对象一个 `.volatile()`**:宿主把它投影成设置表单,运行时变更只提交引用
216
- * (不 remount 插件),读侧用 `config.live.get()` 取冻结快照。键集与默认值是
217
- * v0.9.0 契约(含远程嵌入覆盖四键 embedRemote* 与写删门 memoryMutate,自 dist
218
- * 逆向补全——缺一个键 = 用户已存值被静默丢弃,红线,contract-keys.test.ts 守卫)。
219
- *
220
- * ⚠️ 不得在节内再标 `.volatile()`(volatile 嵌套 volatile 会被宿主拒绝)。
221
- */
222
- export declare function liveSettingsSchema(): Schema<NoInfer<Schemastery.ObjectS<NoInfer<{
223
- enabled: Schema<boolean, boolean, "defined">;
224
- capture: Schema<boolean, boolean, "defined">;
225
- distill: Schema<boolean, boolean, "defined">;
226
- recall: Schema<boolean, boolean, "defined">;
227
- reasoningEffort: Schema<"" | "off" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max", "" | "off" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max", "defined">;
228
- distillProvider: Schema<string, string, "defined">;
229
- distillModel: Schema<string, string, "defined">;
230
- distillChain: Schema<({
231
- provider?: string | null | undefined;
232
- model?: string | null | undefined;
233
- reasoningEffort?: "" | "off" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | null | undefined;
234
- } & import("@deepseek-ai/cosmokit").Dict)[], Schemastery.ObjectT<NoInfer<{
235
- provider: Schema<string, string, "defined">;
236
- model: Schema<string, string, "defined">;
237
- reasoningEffort: Schema<"" | "off" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max", "" | "off" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max", "defined">;
238
- }>>[], "defined">;
239
- distillLayerChains: Schema<Schemastery.ObjectS<NoInfer<{
240
- l1: Schema<({
241
- provider?: string | null | undefined;
242
- model?: string | null | undefined;
243
- reasoningEffort?: "" | "off" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | null | undefined;
244
- } & import("@deepseek-ai/cosmokit").Dict)[], Schemastery.ObjectT<NoInfer<{
245
- provider: Schema<string, string, "defined">;
246
- model: Schema<string, string, "defined">;
247
- reasoningEffort: Schema<"" | "off" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max", "" | "off" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max", "defined">;
248
- }>>[], "defined">;
249
- l2: Schema<({
250
- provider?: string | null | undefined;
251
- model?: string | null | undefined;
252
- reasoningEffort?: "" | "off" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | null | undefined;
253
- } & import("@deepseek-ai/cosmokit").Dict)[], Schemastery.ObjectT<NoInfer<{
254
- provider: Schema<string, string, "defined">;
255
- model: Schema<string, string, "defined">;
256
- reasoningEffort: Schema<"" | "off" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max", "" | "off" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max", "defined">;
257
- }>>[], "defined">;
258
- l3: Schema<({
259
- provider?: string | null | undefined;
260
- model?: string | null | undefined;
261
- reasoningEffort?: "" | "off" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | null | undefined;
262
- } & import("@deepseek-ai/cosmokit").Dict)[], Schemastery.ObjectT<NoInfer<{
263
- provider: Schema<string, string, "defined">;
264
- model: Schema<string, string, "defined">;
265
- reasoningEffort: Schema<"" | "off" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max", "" | "off" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max", "defined">;
266
- }>>[], "defined">;
267
- }>>, Schemastery.ObjectT<NoInfer<{
268
- l1: Schema<({
269
- provider?: string | null | undefined;
270
- model?: string | null | undefined;
271
- reasoningEffort?: "" | "off" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | null | undefined;
272
- } & import("@deepseek-ai/cosmokit").Dict)[], Schemastery.ObjectT<NoInfer<{
273
- provider: Schema<string, string, "defined">;
274
- model: Schema<string, string, "defined">;
275
- reasoningEffort: Schema<"" | "off" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max", "" | "off" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max", "defined">;
276
- }>>[], "defined">;
277
- l2: Schema<({
278
- provider?: string | null | undefined;
279
- model?: string | null | undefined;
280
- reasoningEffort?: "" | "off" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | null | undefined;
281
- } & import("@deepseek-ai/cosmokit").Dict)[], Schemastery.ObjectT<NoInfer<{
282
- provider: Schema<string, string, "defined">;
283
- model: Schema<string, string, "defined">;
284
- reasoningEffort: Schema<"" | "off" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max", "" | "off" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max", "defined">;
285
- }>>[], "defined">;
286
- l3: Schema<({
287
- provider?: string | null | undefined;
288
- model?: string | null | undefined;
289
- reasoningEffort?: "" | "off" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | null | undefined;
290
- } & import("@deepseek-ai/cosmokit").Dict)[], Schemastery.ObjectT<NoInfer<{
291
- provider: Schema<string, string, "defined">;
292
- model: Schema<string, string, "defined">;
293
- reasoningEffort: Schema<"" | "off" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max", "" | "off" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max", "defined">;
294
- }>>[], "defined">;
295
- }>>, "defined">;
296
- distillBudgets: Schema<Schemastery.ObjectS<NoInfer<{
297
- extract: Schema<number, number, "defined">;
298
- dedup: Schema<number, number, "defined">;
299
- l2: Schema<number, number, "defined">;
300
- l3: Schema<number, number, "defined">;
301
- graph: Schema<number, number, "defined">;
302
- }>>, Schemastery.ObjectT<NoInfer<{
303
- extract: Schema<number, number, "defined">;
304
- dedup: Schema<number, number, "defined">;
305
- l2: Schema<number, number, "defined">;
306
- l3: Schema<number, number, "defined">;
307
- graph: Schema<number, number, "defined">;
308
- }>>, "defined">;
309
- distillMaxInputChars: Schema<number, number, "defined">;
310
- distillMode: Schema<"" | "host" | "direct", "" | "host" | "direct", "defined">;
311
- directBaseURL: Schema<string, string, "defined">;
312
- directApiKey: Schema<string, string, "defined">;
313
- embedRemoteBaseURL: Schema<string, string, "defined">;
314
- embedRemoteApiKey: Schema<string, string, "defined">;
315
- embedRemoteModel: Schema<string, string, "defined">;
316
- embedRemoteDimensions: Schema<number, number, "defined">;
317
- memoryMutate: Schema<boolean, boolean, "defined">;
318
- conflictFreeze: Schema<boolean, boolean, "defined">;
319
- }>>>, NoInfer<Schemastery.ObjectT<NoInfer<{
320
- enabled: Schema<boolean, boolean, "defined">;
321
- capture: Schema<boolean, boolean, "defined">;
322
- distill: Schema<boolean, boolean, "defined">;
323
- recall: Schema<boolean, boolean, "defined">;
324
- reasoningEffort: Schema<"" | "off" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max", "" | "off" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max", "defined">;
325
- distillProvider: Schema<string, string, "defined">;
326
- distillModel: Schema<string, string, "defined">;
327
- distillChain: Schema<({
328
- provider?: string | null | undefined;
329
- model?: string | null | undefined;
330
- reasoningEffort?: "" | "off" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | null | undefined;
331
- } & import("@deepseek-ai/cosmokit").Dict)[], Schemastery.ObjectT<NoInfer<{
332
- provider: Schema<string, string, "defined">;
333
- model: Schema<string, string, "defined">;
334
- reasoningEffort: Schema<"" | "off" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max", "" | "off" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max", "defined">;
335
- }>>[], "defined">;
336
- distillLayerChains: Schema<Schemastery.ObjectS<NoInfer<{
337
- l1: Schema<({
338
- provider?: string | null | undefined;
339
- model?: string | null | undefined;
340
- reasoningEffort?: "" | "off" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | null | undefined;
341
- } & import("@deepseek-ai/cosmokit").Dict)[], Schemastery.ObjectT<NoInfer<{
342
- provider: Schema<string, string, "defined">;
343
- model: Schema<string, string, "defined">;
344
- reasoningEffort: Schema<"" | "off" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max", "" | "off" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max", "defined">;
345
- }>>[], "defined">;
346
- l2: Schema<({
347
- provider?: string | null | undefined;
348
- model?: string | null | undefined;
349
- reasoningEffort?: "" | "off" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | null | undefined;
350
- } & import("@deepseek-ai/cosmokit").Dict)[], Schemastery.ObjectT<NoInfer<{
351
- provider: Schema<string, string, "defined">;
352
- model: Schema<string, string, "defined">;
353
- reasoningEffort: Schema<"" | "off" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max", "" | "off" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max", "defined">;
354
- }>>[], "defined">;
355
- l3: Schema<({
356
- provider?: string | null | undefined;
357
- model?: string | null | undefined;
358
- reasoningEffort?: "" | "off" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | null | undefined;
359
- } & import("@deepseek-ai/cosmokit").Dict)[], Schemastery.ObjectT<NoInfer<{
360
- provider: Schema<string, string, "defined">;
361
- model: Schema<string, string, "defined">;
362
- reasoningEffort: Schema<"" | "off" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max", "" | "off" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max", "defined">;
363
- }>>[], "defined">;
364
- }>>, Schemastery.ObjectT<NoInfer<{
365
- l1: Schema<({
366
- provider?: string | null | undefined;
367
- model?: string | null | undefined;
368
- reasoningEffort?: "" | "off" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | null | undefined;
369
- } & import("@deepseek-ai/cosmokit").Dict)[], Schemastery.ObjectT<NoInfer<{
370
- provider: Schema<string, string, "defined">;
371
- model: Schema<string, string, "defined">;
372
- reasoningEffort: Schema<"" | "off" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max", "" | "off" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max", "defined">;
373
- }>>[], "defined">;
374
- l2: Schema<({
375
- provider?: string | null | undefined;
376
- model?: string | null | undefined;
377
- reasoningEffort?: "" | "off" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | null | undefined;
378
- } & import("@deepseek-ai/cosmokit").Dict)[], Schemastery.ObjectT<NoInfer<{
379
- provider: Schema<string, string, "defined">;
380
- model: Schema<string, string, "defined">;
381
- reasoningEffort: Schema<"" | "off" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max", "" | "off" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max", "defined">;
382
- }>>[], "defined">;
383
- l3: Schema<({
384
- provider?: string | null | undefined;
385
- model?: string | null | undefined;
386
- reasoningEffort?: "" | "off" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | null | undefined;
387
- } & import("@deepseek-ai/cosmokit").Dict)[], Schemastery.ObjectT<NoInfer<{
388
- provider: Schema<string, string, "defined">;
389
- model: Schema<string, string, "defined">;
390
- reasoningEffort: Schema<"" | "off" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max", "" | "off" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max", "defined">;
391
- }>>[], "defined">;
392
- }>>, "defined">;
393
- distillBudgets: Schema<Schemastery.ObjectS<NoInfer<{
394
- extract: Schema<number, number, "defined">;
395
- dedup: Schema<number, number, "defined">;
396
- l2: Schema<number, number, "defined">;
397
- l3: Schema<number, number, "defined">;
398
- graph: Schema<number, number, "defined">;
399
- }>>, Schemastery.ObjectT<NoInfer<{
400
- extract: Schema<number, number, "defined">;
401
- dedup: Schema<number, number, "defined">;
402
- l2: Schema<number, number, "defined">;
403
- l3: Schema<number, number, "defined">;
404
- graph: Schema<number, number, "defined">;
405
- }>>, "defined">;
406
- distillMaxInputChars: Schema<number, number, "defined">;
407
- distillMode: Schema<"" | "host" | "direct", "" | "host" | "direct", "defined">;
408
- directBaseURL: Schema<string, string, "defined">;
409
- directApiKey: Schema<string, string, "defined">;
410
- embedRemoteBaseURL: Schema<string, string, "defined">;
411
- embedRemoteApiKey: Schema<string, string, "defined">;
412
- embedRemoteModel: Schema<string, string, "defined">;
413
- embedRemoteDimensions: Schema<number, number, "defined">;
414
- memoryMutate: Schema<boolean, boolean, "defined">;
415
- conflictFreeze: Schema<boolean, boolean, "defined">;
416
- }>>>, "volatile">;
417
- export declare const memorySchema: Schema<Schemastery.ObjectS<NoInfer<{
418
- dataDir: Schema<string, string, "defined">;
419
- family: Schema<"chat" | "work" | "auto", "chat" | "work" | "auto", "defined">;
420
- scope: Schema<string, string, "defined">;
421
- capture: Schema<Schemastery.ObjectS<NoInfer<{
422
- enabled: Schema<boolean, boolean, "defined">;
423
- stripCodeBlocks: Schema<boolean, boolean, "defined">;
424
- maxMessageChars: Schema<number, number, "defined">;
425
- redactSecrets: Schema<boolean, boolean, "defined">;
426
- }>>, Schemastery.ObjectT<NoInfer<{
427
- enabled: Schema<boolean, boolean, "defined">;
428
- stripCodeBlocks: Schema<boolean, boolean, "defined">;
429
- maxMessageChars: Schema<number, number, "defined">;
430
- redactSecrets: Schema<boolean, boolean, "defined">;
431
- }>>, "plain">;
432
- trace: Schema<Schemastery.ObjectS<NoInfer<{
433
- enabled: Schema<boolean, boolean, "defined">;
434
- retentionDays: Schema<number, number, "defined">;
435
- captureContent: Schema<boolean, boolean, "defined">;
436
- }>>, Schemastery.ObjectT<NoInfer<{
437
- enabled: Schema<boolean, boolean, "defined">;
438
- retentionDays: Schema<number, number, "defined">;
439
- captureContent: Schema<boolean, boolean, "defined">;
440
- }>>, "plain">;
441
- extract: Schema<Schemastery.ObjectS<NoInfer<{
442
- enabled: Schema<boolean, boolean, "defined">;
443
- minMessages: Schema<number, number, "defined">;
444
- idleSeconds: Schema<number, number, "defined">;
445
- backgroundMessages: Schema<number, number, "defined">;
446
- candidatePool: Schema<number, number, "defined">;
447
- }>>, Schemastery.ObjectT<NoInfer<{
448
- enabled: Schema<boolean, boolean, "defined">;
449
- minMessages: Schema<number, number, "defined">;
450
- idleSeconds: Schema<number, number, "defined">;
451
- backgroundMessages: Schema<number, number, "defined">;
452
- candidatePool: Schema<number, number, "defined">;
453
- }>>, "plain">;
454
- l2: Schema<Schemastery.ObjectS<NoInfer<{
455
- enabled: Schema<boolean, boolean, "defined">;
456
- minNewMemories: Schema<number, number, "defined">;
457
- maxScenes: Schema<number, number, "defined">;
458
- sceneContextLimit: Schema<number, number, "defined">;
459
- }>>, Schemastery.ObjectT<NoInfer<{
460
- enabled: Schema<boolean, boolean, "defined">;
461
- minNewMemories: Schema<number, number, "defined">;
462
- maxScenes: Schema<number, number, "defined">;
463
- sceneContextLimit: Schema<number, number, "defined">;
464
- }>>, "plain">;
465
- l3: Schema<Schemastery.ObjectS<NoInfer<{
466
- enabled: Schema<boolean, boolean, "defined">;
467
- interval: Schema<number, number, "defined">;
468
- }>>, Schemastery.ObjectT<NoInfer<{
469
- enabled: Schema<boolean, boolean, "defined">;
470
- interval: Schema<number, number, "defined">;
471
- }>>, "plain">;
472
- graph: Schema<Schemastery.ObjectS<NoInfer<{
473
- enabled: Schema<boolean, boolean, "defined">;
474
- }>>, Schemastery.ObjectT<NoInfer<{
475
- enabled: Schema<boolean, boolean, "defined">;
476
- }>>, "plain">;
477
- conflictFreeze: Schema<Schemastery.ObjectS<NoInfer<{
478
- enabled: Schema<boolean, boolean, "defined">;
479
- maxPending: Schema<number, number, "defined">;
480
- timeoutDays: Schema<number, number, "defined">;
481
- }>>, Schemastery.ObjectT<NoInfer<{
482
- enabled: Schema<boolean, boolean, "defined">;
483
- maxPending: Schema<number, number, "defined">;
484
- timeoutDays: Schema<number, number, "defined">;
485
- }>>, "plain">;
486
- recall: Schema<Schemastery.ObjectS<NoInfer<{
487
- enabled: Schema<boolean, boolean, "defined">;
488
- maxResults: Schema<number, number, "defined">;
489
- maxCharsPerMemory: Schema<number, number, "defined">;
490
- maxTotalRecallChars: Schema<number, number, "defined">;
491
- timeoutMs: Schema<number, number, "defined">;
492
- includePersona: Schema<boolean, boolean, "defined">;
493
- includeSceneNav: Schema<boolean, boolean, "defined">;
494
- strategy: Schema<"hybrid" | "keyword" | "embedding", "hybrid" | "keyword" | "embedding", "defined">;
495
- scoreThreshold: Schema<number, number, "defined">;
496
- decayHalfLifeDays: Schema<number, number, "defined">;
497
- }>>, Schemastery.ObjectT<NoInfer<{
498
- enabled: Schema<boolean, boolean, "defined">;
499
- maxResults: Schema<number, number, "defined">;
500
- maxCharsPerMemory: Schema<number, number, "defined">;
501
- maxTotalRecallChars: Schema<number, number, "defined">;
502
- timeoutMs: Schema<number, number, "defined">;
503
- includePersona: Schema<boolean, boolean, "defined">;
504
- includeSceneNav: Schema<boolean, boolean, "defined">;
505
- strategy: Schema<"hybrid" | "keyword" | "embedding", "hybrid" | "keyword" | "embedding", "defined">;
506
- scoreThreshold: Schema<number, number, "defined">;
507
- decayHalfLifeDays: Schema<number, number, "defined">;
508
- }>>, "plain">;
509
- embedding: Schema<Schemastery.ObjectS<NoInfer<{
510
- enabled: Schema<boolean, boolean, "defined">;
511
- baseUrl: Schema<string, string, "defined">;
512
- apiKey: Schema<string, string, "defined">;
513
- model: Schema<string, string, "defined">;
514
- dimensions: Schema<number, number, "defined">;
515
- maxInputChars: Schema<number, number, "defined">;
516
- timeoutMs: Schema<number, number, "defined">;
517
- allowLocalModels: Schema<boolean, boolean, "defined">;
518
- mirror: Schema<string, string, "defined">;
519
- proxy: Schema<string, string, "defined">;
520
- }>>, Schemastery.ObjectT<NoInfer<{
521
- enabled: Schema<boolean, boolean, "defined">;
522
- baseUrl: Schema<string, string, "defined">;
523
- apiKey: Schema<string, string, "defined">;
524
- model: Schema<string, string, "defined">;
525
- dimensions: Schema<number, number, "defined">;
526
- maxInputChars: Schema<number, number, "defined">;
527
- timeoutMs: Schema<number, number, "defined">;
528
- allowLocalModels: Schema<boolean, boolean, "defined">;
529
- mirror: Schema<string, string, "defined">;
530
- proxy: Schema<string, string, "defined">;
531
- }>>, "plain">;
532
- llm: Schema<Schemastery.ObjectS<NoInfer<{
533
- provider: Schema<string, string, "defined">;
534
- model: Schema<string, string, "defined">;
535
- mode: Schema<"host" | "direct", "host" | "direct", "defined">;
536
- baseURL: Schema<string, string, "defined">;
537
- apiKey: Schema<string, string, "defined">;
538
- fallbacks: Schema<({
539
- provider?: string | null | undefined;
540
- model?: string | null | undefined;
541
- reasoningEffort?: "" | "off" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | null | undefined;
542
- } & import("@deepseek-ai/cosmokit").Dict)[], Schemastery.ObjectT<NoInfer<{
543
- provider: Schema<string, string, "defined">;
544
- model: Schema<string, string, "defined">;
545
- reasoningEffort: Schema<"" | "off" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max", "" | "off" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max", "defined">;
546
- }>>[], "defined">;
547
- layerRoutes: Schema<Schemastery.ObjectS<NoInfer<{
548
- l1: Schema<({
549
- provider?: string | null | undefined;
550
- model?: string | null | undefined;
551
- reasoningEffort?: "" | "off" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | null | undefined;
552
- } & import("@deepseek-ai/cosmokit").Dict)[], Schemastery.ObjectT<NoInfer<{
553
- provider: Schema<string, string, "defined">;
554
- model: Schema<string, string, "defined">;
555
- reasoningEffort: Schema<"" | "off" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max", "" | "off" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max", "defined">;
556
- }>>[], "defined">;
557
- l2: Schema<({
558
- provider?: string | null | undefined;
559
- model?: string | null | undefined;
560
- reasoningEffort?: "" | "off" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | null | undefined;
561
- } & import("@deepseek-ai/cosmokit").Dict)[], Schemastery.ObjectT<NoInfer<{
562
- provider: Schema<string, string, "defined">;
563
- model: Schema<string, string, "defined">;
564
- reasoningEffort: Schema<"" | "off" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max", "" | "off" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max", "defined">;
565
- }>>[], "defined">;
566
- l3: Schema<({
567
- provider?: string | null | undefined;
568
- model?: string | null | undefined;
569
- reasoningEffort?: "" | "off" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | null | undefined;
570
- } & import("@deepseek-ai/cosmokit").Dict)[], Schemastery.ObjectT<NoInfer<{
571
- provider: Schema<string, string, "defined">;
572
- model: Schema<string, string, "defined">;
573
- reasoningEffort: Schema<"" | "off" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max", "" | "off" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max", "defined">;
574
- }>>[], "defined">;
575
- }>>, Schemastery.ObjectT<NoInfer<{
576
- l1: Schema<({
577
- provider?: string | null | undefined;
578
- model?: string | null | undefined;
579
- reasoningEffort?: "" | "off" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | null | undefined;
580
- } & import("@deepseek-ai/cosmokit").Dict)[], Schemastery.ObjectT<NoInfer<{
581
- provider: Schema<string, string, "defined">;
582
- model: Schema<string, string, "defined">;
583
- reasoningEffort: Schema<"" | "off" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max", "" | "off" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max", "defined">;
584
- }>>[], "defined">;
585
- l2: Schema<({
586
- provider?: string | null | undefined;
587
- model?: string | null | undefined;
588
- reasoningEffort?: "" | "off" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | null | undefined;
589
- } & import("@deepseek-ai/cosmokit").Dict)[], Schemastery.ObjectT<NoInfer<{
590
- provider: Schema<string, string, "defined">;
591
- model: Schema<string, string, "defined">;
592
- reasoningEffort: Schema<"" | "off" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max", "" | "off" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max", "defined">;
593
- }>>[], "defined">;
594
- l3: Schema<({
595
- provider?: string | null | undefined;
596
- model?: string | null | undefined;
597
- reasoningEffort?: "" | "off" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | null | undefined;
598
- } & import("@deepseek-ai/cosmokit").Dict)[], Schemastery.ObjectT<NoInfer<{
599
- provider: Schema<string, string, "defined">;
600
- model: Schema<string, string, "defined">;
601
- reasoningEffort: Schema<"" | "off" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max", "" | "off" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max", "defined">;
602
- }>>[], "defined">;
603
- }>>, "defined">;
604
- maxTokens: Schema<number, number, "defined">;
605
- reasoningEffort: Schema<"" | "off" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max", "" | "off" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max", "defined">;
606
- temperature: Schema<number, number, "defined">;
607
- maxInputChars: Schema<number, number, "defined">;
608
- timeoutMs: Schema<number, number, "defined">;
609
- }>>, Schemastery.ObjectT<NoInfer<{
610
- provider: Schema<string, string, "defined">;
611
- model: Schema<string, string, "defined">;
612
- mode: Schema<"host" | "direct", "host" | "direct", "defined">;
613
- baseURL: Schema<string, string, "defined">;
614
- apiKey: Schema<string, string, "defined">;
615
- fallbacks: Schema<({
616
- provider?: string | null | undefined;
617
- model?: string | null | undefined;
618
- reasoningEffort?: "" | "off" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | null | undefined;
619
- } & import("@deepseek-ai/cosmokit").Dict)[], Schemastery.ObjectT<NoInfer<{
620
- provider: Schema<string, string, "defined">;
621
- model: Schema<string, string, "defined">;
622
- reasoningEffort: Schema<"" | "off" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max", "" | "off" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max", "defined">;
623
- }>>[], "defined">;
624
- layerRoutes: Schema<Schemastery.ObjectS<NoInfer<{
625
- l1: Schema<({
626
- provider?: string | null | undefined;
627
- model?: string | null | undefined;
628
- reasoningEffort?: "" | "off" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | null | undefined;
629
- } & import("@deepseek-ai/cosmokit").Dict)[], Schemastery.ObjectT<NoInfer<{
630
- provider: Schema<string, string, "defined">;
631
- model: Schema<string, string, "defined">;
632
- reasoningEffort: Schema<"" | "off" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max", "" | "off" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max", "defined">;
633
- }>>[], "defined">;
634
- l2: Schema<({
635
- provider?: string | null | undefined;
636
- model?: string | null | undefined;
637
- reasoningEffort?: "" | "off" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | null | undefined;
638
- } & import("@deepseek-ai/cosmokit").Dict)[], Schemastery.ObjectT<NoInfer<{
639
- provider: Schema<string, string, "defined">;
640
- model: Schema<string, string, "defined">;
641
- reasoningEffort: Schema<"" | "off" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max", "" | "off" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max", "defined">;
642
- }>>[], "defined">;
643
- l3: Schema<({
644
- provider?: string | null | undefined;
645
- model?: string | null | undefined;
646
- reasoningEffort?: "" | "off" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | null | undefined;
647
- } & import("@deepseek-ai/cosmokit").Dict)[], Schemastery.ObjectT<NoInfer<{
648
- provider: Schema<string, string, "defined">;
649
- model: Schema<string, string, "defined">;
650
- reasoningEffort: Schema<"" | "off" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max", "" | "off" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max", "defined">;
651
- }>>[], "defined">;
652
- }>>, Schemastery.ObjectT<NoInfer<{
653
- l1: Schema<({
654
- provider?: string | null | undefined;
655
- model?: string | null | undefined;
656
- reasoningEffort?: "" | "off" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | null | undefined;
657
- } & import("@deepseek-ai/cosmokit").Dict)[], Schemastery.ObjectT<NoInfer<{
658
- provider: Schema<string, string, "defined">;
659
- model: Schema<string, string, "defined">;
660
- reasoningEffort: Schema<"" | "off" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max", "" | "off" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max", "defined">;
661
- }>>[], "defined">;
662
- l2: Schema<({
663
- provider?: string | null | undefined;
664
- model?: string | null | undefined;
665
- reasoningEffort?: "" | "off" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | null | undefined;
666
- } & import("@deepseek-ai/cosmokit").Dict)[], Schemastery.ObjectT<NoInfer<{
667
- provider: Schema<string, string, "defined">;
668
- model: Schema<string, string, "defined">;
669
- reasoningEffort: Schema<"" | "off" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max", "" | "off" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max", "defined">;
670
- }>>[], "defined">;
671
- l3: Schema<({
672
- provider?: string | null | undefined;
673
- model?: string | null | undefined;
674
- reasoningEffort?: "" | "off" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | null | undefined;
675
- } & import("@deepseek-ai/cosmokit").Dict)[], Schemastery.ObjectT<NoInfer<{
676
- provider: Schema<string, string, "defined">;
677
- model: Schema<string, string, "defined">;
678
- reasoningEffort: Schema<"" | "off" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max", "" | "off" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max", "defined">;
679
- }>>[], "defined">;
680
- }>>, "defined">;
681
- maxTokens: Schema<number, number, "defined">;
682
- reasoningEffort: Schema<"" | "off" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max", "" | "off" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max", "defined">;
683
- temperature: Schema<number, number, "defined">;
684
- maxInputChars: Schema<number, number, "defined">;
685
- timeoutMs: Schema<number, number, "defined">;
686
- }>>, "plain">;
687
- hall: Schema<Schemastery.ObjectS<NoInfer<{
688
- enabled: Schema<string[], string[], "defined">;
689
- }>>, Schemastery.ObjectT<NoInfer<{
690
- enabled: Schema<string[], string[], "defined">;
691
- }>>, "plain">;
692
- tokenCost: Schema<Schemastery.ObjectS<NoInfer<{
693
- retentionDays: Schema<number, number, "defined">;
694
- }>>, Schemastery.ObjectT<NoInfer<{
695
- retentionDays: Schema<number, number, "defined">;
696
- }>>, "plain">;
697
- slots: Schema<Schemastery.ObjectS<NoInfer<{
698
- enabled: Schema<boolean, boolean, "defined">;
699
- inject: Schema<boolean, boolean, "defined">;
700
- maxSlots: Schema<number, number, "defined">;
701
- maxAlwaysOnBytes: Schema<number, number, "defined">;
702
- maxBodyChars: Schema<number, number, "defined">;
703
- }>>, Schemastery.ObjectT<NoInfer<{
704
- enabled: Schema<boolean, boolean, "defined">;
705
- inject: Schema<boolean, boolean, "defined">;
706
- maxSlots: Schema<number, number, "defined">;
707
- maxAlwaysOnBytes: Schema<number, number, "defined">;
708
- maxBodyChars: Schema<number, number, "defined">;
709
- }>>, "plain">;
710
- tools: Schema<boolean, boolean, "defined">;
711
- benchControl: Schema<boolean, boolean, "defined">;
712
- live: Schema<NoInfer<Schemastery.ObjectS<NoInfer<{
713
- enabled: Schema<boolean, boolean, "defined">;
714
- capture: Schema<boolean, boolean, "defined">;
715
- distill: Schema<boolean, boolean, "defined">;
716
- recall: Schema<boolean, boolean, "defined">;
717
- reasoningEffort: Schema<"" | "off" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max", "" | "off" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max", "defined">;
718
- distillProvider: Schema<string, string, "defined">;
719
- distillModel: Schema<string, string, "defined">;
720
- distillChain: Schema<({
721
- provider?: string | null | undefined;
722
- model?: string | null | undefined;
723
- reasoningEffort?: "" | "off" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | null | undefined;
724
- } & import("@deepseek-ai/cosmokit").Dict)[], Schemastery.ObjectT<NoInfer<{
725
- provider: Schema<string, string, "defined">;
726
- model: Schema<string, string, "defined">;
727
- reasoningEffort: Schema<"" | "off" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max", "" | "off" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max", "defined">;
728
- }>>[], "defined">;
729
- distillLayerChains: Schema<Schemastery.ObjectS<NoInfer<{
730
- l1: Schema<({
731
- provider?: string | null | undefined;
732
- model?: string | null | undefined;
733
- reasoningEffort?: "" | "off" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | null | undefined;
734
- } & import("@deepseek-ai/cosmokit").Dict)[], Schemastery.ObjectT<NoInfer<{
735
- provider: Schema<string, string, "defined">;
736
- model: Schema<string, string, "defined">;
737
- reasoningEffort: Schema<"" | "off" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max", "" | "off" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max", "defined">;
738
- }>>[], "defined">;
739
- l2: Schema<({
740
- provider?: string | null | undefined;
741
- model?: string | null | undefined;
742
- reasoningEffort?: "" | "off" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | null | undefined;
743
- } & import("@deepseek-ai/cosmokit").Dict)[], Schemastery.ObjectT<NoInfer<{
744
- provider: Schema<string, string, "defined">;
745
- model: Schema<string, string, "defined">;
746
- reasoningEffort: Schema<"" | "off" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max", "" | "off" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max", "defined">;
747
- }>>[], "defined">;
748
- l3: Schema<({
749
- provider?: string | null | undefined;
750
- model?: string | null | undefined;
751
- reasoningEffort?: "" | "off" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | null | undefined;
752
- } & import("@deepseek-ai/cosmokit").Dict)[], Schemastery.ObjectT<NoInfer<{
753
- provider: Schema<string, string, "defined">;
754
- model: Schema<string, string, "defined">;
755
- reasoningEffort: Schema<"" | "off" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max", "" | "off" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max", "defined">;
756
- }>>[], "defined">;
757
- }>>, Schemastery.ObjectT<NoInfer<{
758
- l1: Schema<({
759
- provider?: string | null | undefined;
760
- model?: string | null | undefined;
761
- reasoningEffort?: "" | "off" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | null | undefined;
762
- } & import("@deepseek-ai/cosmokit").Dict)[], Schemastery.ObjectT<NoInfer<{
763
- provider: Schema<string, string, "defined">;
764
- model: Schema<string, string, "defined">;
765
- reasoningEffort: Schema<"" | "off" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max", "" | "off" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max", "defined">;
766
- }>>[], "defined">;
767
- l2: Schema<({
768
- provider?: string | null | undefined;
769
- model?: string | null | undefined;
770
- reasoningEffort?: "" | "off" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | null | undefined;
771
- } & import("@deepseek-ai/cosmokit").Dict)[], Schemastery.ObjectT<NoInfer<{
772
- provider: Schema<string, string, "defined">;
773
- model: Schema<string, string, "defined">;
774
- reasoningEffort: Schema<"" | "off" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max", "" | "off" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max", "defined">;
775
- }>>[], "defined">;
776
- l3: Schema<({
777
- provider?: string | null | undefined;
778
- model?: string | null | undefined;
779
- reasoningEffort?: "" | "off" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | null | undefined;
780
- } & import("@deepseek-ai/cosmokit").Dict)[], Schemastery.ObjectT<NoInfer<{
781
- provider: Schema<string, string, "defined">;
782
- model: Schema<string, string, "defined">;
783
- reasoningEffort: Schema<"" | "off" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max", "" | "off" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max", "defined">;
784
- }>>[], "defined">;
785
- }>>, "defined">;
786
- distillBudgets: Schema<Schemastery.ObjectS<NoInfer<{
787
- extract: Schema<number, number, "defined">;
788
- dedup: Schema<number, number, "defined">;
789
- l2: Schema<number, number, "defined">;
790
- l3: Schema<number, number, "defined">;
791
- graph: Schema<number, number, "defined">;
792
- }>>, Schemastery.ObjectT<NoInfer<{
793
- extract: Schema<number, number, "defined">;
794
- dedup: Schema<number, number, "defined">;
795
- l2: Schema<number, number, "defined">;
796
- l3: Schema<number, number, "defined">;
797
- graph: Schema<number, number, "defined">;
798
- }>>, "defined">;
799
- distillMaxInputChars: Schema<number, number, "defined">;
800
- distillMode: Schema<"" | "host" | "direct", "" | "host" | "direct", "defined">;
801
- directBaseURL: Schema<string, string, "defined">;
802
- directApiKey: Schema<string, string, "defined">;
803
- embedRemoteBaseURL: Schema<string, string, "defined">;
804
- embedRemoteApiKey: Schema<string, string, "defined">;
805
- embedRemoteModel: Schema<string, string, "defined">;
806
- embedRemoteDimensions: Schema<number, number, "defined">;
807
- memoryMutate: Schema<boolean, boolean, "defined">;
808
- conflictFreeze: Schema<boolean, boolean, "defined">;
809
- }>>>, NoInfer<Schemastery.ObjectT<NoInfer<{
810
- enabled: Schema<boolean, boolean, "defined">;
811
- capture: Schema<boolean, boolean, "defined">;
812
- distill: Schema<boolean, boolean, "defined">;
813
- recall: Schema<boolean, boolean, "defined">;
814
- reasoningEffort: Schema<"" | "off" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max", "" | "off" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max", "defined">;
815
- distillProvider: Schema<string, string, "defined">;
816
- distillModel: Schema<string, string, "defined">;
817
- distillChain: Schema<({
818
- provider?: string | null | undefined;
819
- model?: string | null | undefined;
820
- reasoningEffort?: "" | "off" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | null | undefined;
821
- } & import("@deepseek-ai/cosmokit").Dict)[], Schemastery.ObjectT<NoInfer<{
822
- provider: Schema<string, string, "defined">;
823
- model: Schema<string, string, "defined">;
824
- reasoningEffort: Schema<"" | "off" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max", "" | "off" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max", "defined">;
825
- }>>[], "defined">;
826
- distillLayerChains: Schema<Schemastery.ObjectS<NoInfer<{
827
- l1: Schema<({
828
- provider?: string | null | undefined;
829
- model?: string | null | undefined;
830
- reasoningEffort?: "" | "off" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | null | undefined;
831
- } & import("@deepseek-ai/cosmokit").Dict)[], Schemastery.ObjectT<NoInfer<{
832
- provider: Schema<string, string, "defined">;
833
- model: Schema<string, string, "defined">;
834
- reasoningEffort: Schema<"" | "off" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max", "" | "off" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max", "defined">;
835
- }>>[], "defined">;
836
- l2: Schema<({
837
- provider?: string | null | undefined;
838
- model?: string | null | undefined;
839
- reasoningEffort?: "" | "off" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | null | undefined;
840
- } & import("@deepseek-ai/cosmokit").Dict)[], Schemastery.ObjectT<NoInfer<{
841
- provider: Schema<string, string, "defined">;
842
- model: Schema<string, string, "defined">;
843
- reasoningEffort: Schema<"" | "off" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max", "" | "off" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max", "defined">;
844
- }>>[], "defined">;
845
- l3: Schema<({
846
- provider?: string | null | undefined;
847
- model?: string | null | undefined;
848
- reasoningEffort?: "" | "off" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | null | undefined;
849
- } & import("@deepseek-ai/cosmokit").Dict)[], Schemastery.ObjectT<NoInfer<{
850
- provider: Schema<string, string, "defined">;
851
- model: Schema<string, string, "defined">;
852
- reasoningEffort: Schema<"" | "off" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max", "" | "off" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max", "defined">;
853
- }>>[], "defined">;
854
- }>>, Schemastery.ObjectT<NoInfer<{
855
- l1: Schema<({
856
- provider?: string | null | undefined;
857
- model?: string | null | undefined;
858
- reasoningEffort?: "" | "off" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | null | undefined;
859
- } & import("@deepseek-ai/cosmokit").Dict)[], Schemastery.ObjectT<NoInfer<{
860
- provider: Schema<string, string, "defined">;
861
- model: Schema<string, string, "defined">;
862
- reasoningEffort: Schema<"" | "off" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max", "" | "off" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max", "defined">;
863
- }>>[], "defined">;
864
- l2: Schema<({
865
- provider?: string | null | undefined;
866
- model?: string | null | undefined;
867
- reasoningEffort?: "" | "off" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | null | undefined;
868
- } & import("@deepseek-ai/cosmokit").Dict)[], Schemastery.ObjectT<NoInfer<{
869
- provider: Schema<string, string, "defined">;
870
- model: Schema<string, string, "defined">;
871
- reasoningEffort: Schema<"" | "off" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max", "" | "off" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max", "defined">;
872
- }>>[], "defined">;
873
- l3: Schema<({
874
- provider?: string | null | undefined;
875
- model?: string | null | undefined;
876
- reasoningEffort?: "" | "off" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | null | undefined;
877
- } & import("@deepseek-ai/cosmokit").Dict)[], Schemastery.ObjectT<NoInfer<{
878
- provider: Schema<string, string, "defined">;
879
- model: Schema<string, string, "defined">;
880
- reasoningEffort: Schema<"" | "off" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max", "" | "off" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max", "defined">;
881
- }>>[], "defined">;
882
- }>>, "defined">;
883
- distillBudgets: Schema<Schemastery.ObjectS<NoInfer<{
884
- extract: Schema<number, number, "defined">;
885
- dedup: Schema<number, number, "defined">;
886
- l2: Schema<number, number, "defined">;
887
- l3: Schema<number, number, "defined">;
888
- graph: Schema<number, number, "defined">;
889
- }>>, Schemastery.ObjectT<NoInfer<{
890
- extract: Schema<number, number, "defined">;
891
- dedup: Schema<number, number, "defined">;
892
- l2: Schema<number, number, "defined">;
893
- l3: Schema<number, number, "defined">;
894
- graph: Schema<number, number, "defined">;
895
- }>>, "defined">;
896
- distillMaxInputChars: Schema<number, number, "defined">;
897
- distillMode: Schema<"" | "host" | "direct", "" | "host" | "direct", "defined">;
898
- directBaseURL: Schema<string, string, "defined">;
899
- directApiKey: Schema<string, string, "defined">;
900
- embedRemoteBaseURL: Schema<string, string, "defined">;
901
- embedRemoteApiKey: Schema<string, string, "defined">;
902
- embedRemoteModel: Schema<string, string, "defined">;
903
- embedRemoteDimensions: Schema<number, number, "defined">;
904
- memoryMutate: Schema<boolean, boolean, "defined">;
905
- conflictFreeze: Schema<boolean, boolean, "defined">;
906
- }>>>, "volatile">;
907
- }>>, Schemastery.ObjectT<NoInfer<{
908
- dataDir: Schema<string, string, "defined">;
909
- family: Schema<"chat" | "work" | "auto", "chat" | "work" | "auto", "defined">;
910
- scope: Schema<string, string, "defined">;
911
- capture: Schema<Schemastery.ObjectS<NoInfer<{
912
- enabled: Schema<boolean, boolean, "defined">;
913
- stripCodeBlocks: Schema<boolean, boolean, "defined">;
914
- maxMessageChars: Schema<number, number, "defined">;
915
- redactSecrets: Schema<boolean, boolean, "defined">;
916
- }>>, Schemastery.ObjectT<NoInfer<{
917
- enabled: Schema<boolean, boolean, "defined">;
918
- stripCodeBlocks: Schema<boolean, boolean, "defined">;
919
- maxMessageChars: Schema<number, number, "defined">;
920
- redactSecrets: Schema<boolean, boolean, "defined">;
921
- }>>, "plain">;
922
- trace: Schema<Schemastery.ObjectS<NoInfer<{
923
- enabled: Schema<boolean, boolean, "defined">;
924
- retentionDays: Schema<number, number, "defined">;
925
- captureContent: Schema<boolean, boolean, "defined">;
926
- }>>, Schemastery.ObjectT<NoInfer<{
927
- enabled: Schema<boolean, boolean, "defined">;
928
- retentionDays: Schema<number, number, "defined">;
929
- captureContent: Schema<boolean, boolean, "defined">;
930
- }>>, "plain">;
931
- extract: Schema<Schemastery.ObjectS<NoInfer<{
932
- enabled: Schema<boolean, boolean, "defined">;
933
- minMessages: Schema<number, number, "defined">;
934
- idleSeconds: Schema<number, number, "defined">;
935
- backgroundMessages: Schema<number, number, "defined">;
936
- candidatePool: Schema<number, number, "defined">;
937
- }>>, Schemastery.ObjectT<NoInfer<{
938
- enabled: Schema<boolean, boolean, "defined">;
939
- minMessages: Schema<number, number, "defined">;
940
- idleSeconds: Schema<number, number, "defined">;
941
- backgroundMessages: Schema<number, number, "defined">;
942
- candidatePool: Schema<number, number, "defined">;
943
- }>>, "plain">;
944
- l2: Schema<Schemastery.ObjectS<NoInfer<{
945
- enabled: Schema<boolean, boolean, "defined">;
946
- minNewMemories: Schema<number, number, "defined">;
947
- maxScenes: Schema<number, number, "defined">;
948
- sceneContextLimit: Schema<number, number, "defined">;
949
- }>>, Schemastery.ObjectT<NoInfer<{
950
- enabled: Schema<boolean, boolean, "defined">;
951
- minNewMemories: Schema<number, number, "defined">;
952
- maxScenes: Schema<number, number, "defined">;
953
- sceneContextLimit: Schema<number, number, "defined">;
954
- }>>, "plain">;
955
- l3: Schema<Schemastery.ObjectS<NoInfer<{
956
- enabled: Schema<boolean, boolean, "defined">;
957
- interval: Schema<number, number, "defined">;
958
- }>>, Schemastery.ObjectT<NoInfer<{
959
- enabled: Schema<boolean, boolean, "defined">;
960
- interval: Schema<number, number, "defined">;
961
- }>>, "plain">;
962
- graph: Schema<Schemastery.ObjectS<NoInfer<{
963
- enabled: Schema<boolean, boolean, "defined">;
964
- }>>, Schemastery.ObjectT<NoInfer<{
965
- enabled: Schema<boolean, boolean, "defined">;
966
- }>>, "plain">;
967
- conflictFreeze: Schema<Schemastery.ObjectS<NoInfer<{
968
- enabled: Schema<boolean, boolean, "defined">;
969
- maxPending: Schema<number, number, "defined">;
970
- timeoutDays: Schema<number, number, "defined">;
971
- }>>, Schemastery.ObjectT<NoInfer<{
972
- enabled: Schema<boolean, boolean, "defined">;
973
- maxPending: Schema<number, number, "defined">;
974
- timeoutDays: Schema<number, number, "defined">;
975
- }>>, "plain">;
976
- recall: Schema<Schemastery.ObjectS<NoInfer<{
977
- enabled: Schema<boolean, boolean, "defined">;
978
- maxResults: Schema<number, number, "defined">;
979
- maxCharsPerMemory: Schema<number, number, "defined">;
980
- maxTotalRecallChars: Schema<number, number, "defined">;
981
- timeoutMs: Schema<number, number, "defined">;
982
- includePersona: Schema<boolean, boolean, "defined">;
983
- includeSceneNav: Schema<boolean, boolean, "defined">;
984
- strategy: Schema<"hybrid" | "keyword" | "embedding", "hybrid" | "keyword" | "embedding", "defined">;
985
- scoreThreshold: Schema<number, number, "defined">;
986
- decayHalfLifeDays: Schema<number, number, "defined">;
987
- }>>, Schemastery.ObjectT<NoInfer<{
988
- enabled: Schema<boolean, boolean, "defined">;
989
- maxResults: Schema<number, number, "defined">;
990
- maxCharsPerMemory: Schema<number, number, "defined">;
991
- maxTotalRecallChars: Schema<number, number, "defined">;
992
- timeoutMs: Schema<number, number, "defined">;
993
- includePersona: Schema<boolean, boolean, "defined">;
994
- includeSceneNav: Schema<boolean, boolean, "defined">;
995
- strategy: Schema<"hybrid" | "keyword" | "embedding", "hybrid" | "keyword" | "embedding", "defined">;
996
- scoreThreshold: Schema<number, number, "defined">;
997
- decayHalfLifeDays: Schema<number, number, "defined">;
998
- }>>, "plain">;
999
- embedding: Schema<Schemastery.ObjectS<NoInfer<{
1000
- enabled: Schema<boolean, boolean, "defined">;
1001
- baseUrl: Schema<string, string, "defined">;
1002
- apiKey: Schema<string, string, "defined">;
1003
- model: Schema<string, string, "defined">;
1004
- dimensions: Schema<number, number, "defined">;
1005
- maxInputChars: Schema<number, number, "defined">;
1006
- timeoutMs: Schema<number, number, "defined">;
1007
- allowLocalModels: Schema<boolean, boolean, "defined">;
1008
- mirror: Schema<string, string, "defined">;
1009
- proxy: Schema<string, string, "defined">;
1010
- }>>, Schemastery.ObjectT<NoInfer<{
1011
- enabled: Schema<boolean, boolean, "defined">;
1012
- baseUrl: Schema<string, string, "defined">;
1013
- apiKey: Schema<string, string, "defined">;
1014
- model: Schema<string, string, "defined">;
1015
- dimensions: Schema<number, number, "defined">;
1016
- maxInputChars: Schema<number, number, "defined">;
1017
- timeoutMs: Schema<number, number, "defined">;
1018
- allowLocalModels: Schema<boolean, boolean, "defined">;
1019
- mirror: Schema<string, string, "defined">;
1020
- proxy: Schema<string, string, "defined">;
1021
- }>>, "plain">;
1022
- llm: Schema<Schemastery.ObjectS<NoInfer<{
1023
- provider: Schema<string, string, "defined">;
1024
- model: Schema<string, string, "defined">;
1025
- mode: Schema<"host" | "direct", "host" | "direct", "defined">;
1026
- baseURL: Schema<string, string, "defined">;
1027
- apiKey: Schema<string, string, "defined">;
1028
- fallbacks: Schema<({
1029
- provider?: string | null | undefined;
1030
- model?: string | null | undefined;
1031
- reasoningEffort?: "" | "off" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | null | undefined;
1032
- } & import("@deepseek-ai/cosmokit").Dict)[], Schemastery.ObjectT<NoInfer<{
1033
- provider: Schema<string, string, "defined">;
1034
- model: Schema<string, string, "defined">;
1035
- reasoningEffort: Schema<"" | "off" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max", "" | "off" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max", "defined">;
1036
- }>>[], "defined">;
1037
- layerRoutes: Schema<Schemastery.ObjectS<NoInfer<{
1038
- l1: Schema<({
1039
- provider?: string | null | undefined;
1040
- model?: string | null | undefined;
1041
- reasoningEffort?: "" | "off" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | null | undefined;
1042
- } & import("@deepseek-ai/cosmokit").Dict)[], Schemastery.ObjectT<NoInfer<{
1043
- provider: Schema<string, string, "defined">;
1044
- model: Schema<string, string, "defined">;
1045
- reasoningEffort: Schema<"" | "off" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max", "" | "off" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max", "defined">;
1046
- }>>[], "defined">;
1047
- l2: Schema<({
1048
- provider?: string | null | undefined;
1049
- model?: string | null | undefined;
1050
- reasoningEffort?: "" | "off" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | null | undefined;
1051
- } & import("@deepseek-ai/cosmokit").Dict)[], Schemastery.ObjectT<NoInfer<{
1052
- provider: Schema<string, string, "defined">;
1053
- model: Schema<string, string, "defined">;
1054
- reasoningEffort: Schema<"" | "off" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max", "" | "off" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max", "defined">;
1055
- }>>[], "defined">;
1056
- l3: Schema<({
1057
- provider?: string | null | undefined;
1058
- model?: string | null | undefined;
1059
- reasoningEffort?: "" | "off" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | null | undefined;
1060
- } & import("@deepseek-ai/cosmokit").Dict)[], Schemastery.ObjectT<NoInfer<{
1061
- provider: Schema<string, string, "defined">;
1062
- model: Schema<string, string, "defined">;
1063
- reasoningEffort: Schema<"" | "off" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max", "" | "off" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max", "defined">;
1064
- }>>[], "defined">;
1065
- }>>, Schemastery.ObjectT<NoInfer<{
1066
- l1: Schema<({
1067
- provider?: string | null | undefined;
1068
- model?: string | null | undefined;
1069
- reasoningEffort?: "" | "off" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | null | undefined;
1070
- } & import("@deepseek-ai/cosmokit").Dict)[], Schemastery.ObjectT<NoInfer<{
1071
- provider: Schema<string, string, "defined">;
1072
- model: Schema<string, string, "defined">;
1073
- reasoningEffort: Schema<"" | "off" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max", "" | "off" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max", "defined">;
1074
- }>>[], "defined">;
1075
- l2: Schema<({
1076
- provider?: string | null | undefined;
1077
- model?: string | null | undefined;
1078
- reasoningEffort?: "" | "off" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | null | undefined;
1079
- } & import("@deepseek-ai/cosmokit").Dict)[], Schemastery.ObjectT<NoInfer<{
1080
- provider: Schema<string, string, "defined">;
1081
- model: Schema<string, string, "defined">;
1082
- reasoningEffort: Schema<"" | "off" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max", "" | "off" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max", "defined">;
1083
- }>>[], "defined">;
1084
- l3: Schema<({
1085
- provider?: string | null | undefined;
1086
- model?: string | null | undefined;
1087
- reasoningEffort?: "" | "off" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | null | undefined;
1088
- } & import("@deepseek-ai/cosmokit").Dict)[], Schemastery.ObjectT<NoInfer<{
1089
- provider: Schema<string, string, "defined">;
1090
- model: Schema<string, string, "defined">;
1091
- reasoningEffort: Schema<"" | "off" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max", "" | "off" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max", "defined">;
1092
- }>>[], "defined">;
1093
- }>>, "defined">;
1094
- maxTokens: Schema<number, number, "defined">;
1095
- reasoningEffort: Schema<"" | "off" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max", "" | "off" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max", "defined">;
1096
- temperature: Schema<number, number, "defined">;
1097
- maxInputChars: Schema<number, number, "defined">;
1098
- timeoutMs: Schema<number, number, "defined">;
1099
- }>>, Schemastery.ObjectT<NoInfer<{
1100
- provider: Schema<string, string, "defined">;
1101
- model: Schema<string, string, "defined">;
1102
- mode: Schema<"host" | "direct", "host" | "direct", "defined">;
1103
- baseURL: Schema<string, string, "defined">;
1104
- apiKey: Schema<string, string, "defined">;
1105
- fallbacks: Schema<({
1106
- provider?: string | null | undefined;
1107
- model?: string | null | undefined;
1108
- reasoningEffort?: "" | "off" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | null | undefined;
1109
- } & import("@deepseek-ai/cosmokit").Dict)[], Schemastery.ObjectT<NoInfer<{
1110
- provider: Schema<string, string, "defined">;
1111
- model: Schema<string, string, "defined">;
1112
- reasoningEffort: Schema<"" | "off" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max", "" | "off" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max", "defined">;
1113
- }>>[], "defined">;
1114
- layerRoutes: Schema<Schemastery.ObjectS<NoInfer<{
1115
- l1: Schema<({
1116
- provider?: string | null | undefined;
1117
- model?: string | null | undefined;
1118
- reasoningEffort?: "" | "off" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | null | undefined;
1119
- } & import("@deepseek-ai/cosmokit").Dict)[], Schemastery.ObjectT<NoInfer<{
1120
- provider: Schema<string, string, "defined">;
1121
- model: Schema<string, string, "defined">;
1122
- reasoningEffort: Schema<"" | "off" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max", "" | "off" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max", "defined">;
1123
- }>>[], "defined">;
1124
- l2: Schema<({
1125
- provider?: string | null | undefined;
1126
- model?: string | null | undefined;
1127
- reasoningEffort?: "" | "off" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | null | undefined;
1128
- } & import("@deepseek-ai/cosmokit").Dict)[], Schemastery.ObjectT<NoInfer<{
1129
- provider: Schema<string, string, "defined">;
1130
- model: Schema<string, string, "defined">;
1131
- reasoningEffort: Schema<"" | "off" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max", "" | "off" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max", "defined">;
1132
- }>>[], "defined">;
1133
- l3: Schema<({
1134
- provider?: string | null | undefined;
1135
- model?: string | null | undefined;
1136
- reasoningEffort?: "" | "off" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | null | undefined;
1137
- } & import("@deepseek-ai/cosmokit").Dict)[], Schemastery.ObjectT<NoInfer<{
1138
- provider: Schema<string, string, "defined">;
1139
- model: Schema<string, string, "defined">;
1140
- reasoningEffort: Schema<"" | "off" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max", "" | "off" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max", "defined">;
1141
- }>>[], "defined">;
1142
- }>>, Schemastery.ObjectT<NoInfer<{
1143
- l1: Schema<({
1144
- provider?: string | null | undefined;
1145
- model?: string | null | undefined;
1146
- reasoningEffort?: "" | "off" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | null | undefined;
1147
- } & import("@deepseek-ai/cosmokit").Dict)[], Schemastery.ObjectT<NoInfer<{
1148
- provider: Schema<string, string, "defined">;
1149
- model: Schema<string, string, "defined">;
1150
- reasoningEffort: Schema<"" | "off" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max", "" | "off" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max", "defined">;
1151
- }>>[], "defined">;
1152
- l2: Schema<({
1153
- provider?: string | null | undefined;
1154
- model?: string | null | undefined;
1155
- reasoningEffort?: "" | "off" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | null | undefined;
1156
- } & import("@deepseek-ai/cosmokit").Dict)[], Schemastery.ObjectT<NoInfer<{
1157
- provider: Schema<string, string, "defined">;
1158
- model: Schema<string, string, "defined">;
1159
- reasoningEffort: Schema<"" | "off" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max", "" | "off" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max", "defined">;
1160
- }>>[], "defined">;
1161
- l3: Schema<({
1162
- provider?: string | null | undefined;
1163
- model?: string | null | undefined;
1164
- reasoningEffort?: "" | "off" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | null | undefined;
1165
- } & import("@deepseek-ai/cosmokit").Dict)[], Schemastery.ObjectT<NoInfer<{
1166
- provider: Schema<string, string, "defined">;
1167
- model: Schema<string, string, "defined">;
1168
- reasoningEffort: Schema<"" | "off" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max", "" | "off" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max", "defined">;
1169
- }>>[], "defined">;
1170
- }>>, "defined">;
1171
- maxTokens: Schema<number, number, "defined">;
1172
- reasoningEffort: Schema<"" | "off" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max", "" | "off" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max", "defined">;
1173
- temperature: Schema<number, number, "defined">;
1174
- maxInputChars: Schema<number, number, "defined">;
1175
- timeoutMs: Schema<number, number, "defined">;
1176
- }>>, "plain">;
1177
- hall: Schema<Schemastery.ObjectS<NoInfer<{
1178
- enabled: Schema<string[], string[], "defined">;
1179
- }>>, Schemastery.ObjectT<NoInfer<{
1180
- enabled: Schema<string[], string[], "defined">;
1181
- }>>, "plain">;
1182
- tokenCost: Schema<Schemastery.ObjectS<NoInfer<{
1183
- retentionDays: Schema<number, number, "defined">;
1184
- }>>, Schemastery.ObjectT<NoInfer<{
1185
- retentionDays: Schema<number, number, "defined">;
1186
- }>>, "plain">;
1187
- slots: Schema<Schemastery.ObjectS<NoInfer<{
1188
- enabled: Schema<boolean, boolean, "defined">;
1189
- inject: Schema<boolean, boolean, "defined">;
1190
- maxSlots: Schema<number, number, "defined">;
1191
- maxAlwaysOnBytes: Schema<number, number, "defined">;
1192
- maxBodyChars: Schema<number, number, "defined">;
1193
- }>>, Schemastery.ObjectT<NoInfer<{
1194
- enabled: Schema<boolean, boolean, "defined">;
1195
- inject: Schema<boolean, boolean, "defined">;
1196
- maxSlots: Schema<number, number, "defined">;
1197
- maxAlwaysOnBytes: Schema<number, number, "defined">;
1198
- maxBodyChars: Schema<number, number, "defined">;
1199
- }>>, "plain">;
1200
- tools: Schema<boolean, boolean, "defined">;
1201
- benchControl: Schema<boolean, boolean, "defined">;
1202
- live: Schema<NoInfer<Schemastery.ObjectS<NoInfer<{
1203
- enabled: Schema<boolean, boolean, "defined">;
1204
- capture: Schema<boolean, boolean, "defined">;
1205
- distill: Schema<boolean, boolean, "defined">;
1206
- recall: Schema<boolean, boolean, "defined">;
1207
- reasoningEffort: Schema<"" | "off" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max", "" | "off" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max", "defined">;
1208
- distillProvider: Schema<string, string, "defined">;
1209
- distillModel: Schema<string, string, "defined">;
1210
- distillChain: Schema<({
1211
- provider?: string | null | undefined;
1212
- model?: string | null | undefined;
1213
- reasoningEffort?: "" | "off" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | null | undefined;
1214
- } & import("@deepseek-ai/cosmokit").Dict)[], Schemastery.ObjectT<NoInfer<{
1215
- provider: Schema<string, string, "defined">;
1216
- model: Schema<string, string, "defined">;
1217
- reasoningEffort: Schema<"" | "off" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max", "" | "off" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max", "defined">;
1218
- }>>[], "defined">;
1219
- distillLayerChains: Schema<Schemastery.ObjectS<NoInfer<{
1220
- l1: Schema<({
1221
- provider?: string | null | undefined;
1222
- model?: string | null | undefined;
1223
- reasoningEffort?: "" | "off" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | null | undefined;
1224
- } & import("@deepseek-ai/cosmokit").Dict)[], Schemastery.ObjectT<NoInfer<{
1225
- provider: Schema<string, string, "defined">;
1226
- model: Schema<string, string, "defined">;
1227
- reasoningEffort: Schema<"" | "off" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max", "" | "off" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max", "defined">;
1228
- }>>[], "defined">;
1229
- l2: Schema<({
1230
- provider?: string | null | undefined;
1231
- model?: string | null | undefined;
1232
- reasoningEffort?: "" | "off" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | null | undefined;
1233
- } & import("@deepseek-ai/cosmokit").Dict)[], Schemastery.ObjectT<NoInfer<{
1234
- provider: Schema<string, string, "defined">;
1235
- model: Schema<string, string, "defined">;
1236
- reasoningEffort: Schema<"" | "off" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max", "" | "off" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max", "defined">;
1237
- }>>[], "defined">;
1238
- l3: Schema<({
1239
- provider?: string | null | undefined;
1240
- model?: string | null | undefined;
1241
- reasoningEffort?: "" | "off" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | null | undefined;
1242
- } & import("@deepseek-ai/cosmokit").Dict)[], Schemastery.ObjectT<NoInfer<{
1243
- provider: Schema<string, string, "defined">;
1244
- model: Schema<string, string, "defined">;
1245
- reasoningEffort: Schema<"" | "off" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max", "" | "off" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max", "defined">;
1246
- }>>[], "defined">;
1247
- }>>, Schemastery.ObjectT<NoInfer<{
1248
- l1: Schema<({
1249
- provider?: string | null | undefined;
1250
- model?: string | null | undefined;
1251
- reasoningEffort?: "" | "off" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | null | undefined;
1252
- } & import("@deepseek-ai/cosmokit").Dict)[], Schemastery.ObjectT<NoInfer<{
1253
- provider: Schema<string, string, "defined">;
1254
- model: Schema<string, string, "defined">;
1255
- reasoningEffort: Schema<"" | "off" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max", "" | "off" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max", "defined">;
1256
- }>>[], "defined">;
1257
- l2: Schema<({
1258
- provider?: string | null | undefined;
1259
- model?: string | null | undefined;
1260
- reasoningEffort?: "" | "off" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | null | undefined;
1261
- } & import("@deepseek-ai/cosmokit").Dict)[], Schemastery.ObjectT<NoInfer<{
1262
- provider: Schema<string, string, "defined">;
1263
- model: Schema<string, string, "defined">;
1264
- reasoningEffort: Schema<"" | "off" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max", "" | "off" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max", "defined">;
1265
- }>>[], "defined">;
1266
- l3: Schema<({
1267
- provider?: string | null | undefined;
1268
- model?: string | null | undefined;
1269
- reasoningEffort?: "" | "off" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | null | undefined;
1270
- } & import("@deepseek-ai/cosmokit").Dict)[], Schemastery.ObjectT<NoInfer<{
1271
- provider: Schema<string, string, "defined">;
1272
- model: Schema<string, string, "defined">;
1273
- reasoningEffort: Schema<"" | "off" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max", "" | "off" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max", "defined">;
1274
- }>>[], "defined">;
1275
- }>>, "defined">;
1276
- distillBudgets: Schema<Schemastery.ObjectS<NoInfer<{
1277
- extract: Schema<number, number, "defined">;
1278
- dedup: Schema<number, number, "defined">;
1279
- l2: Schema<number, number, "defined">;
1280
- l3: Schema<number, number, "defined">;
1281
- graph: Schema<number, number, "defined">;
1282
- }>>, Schemastery.ObjectT<NoInfer<{
1283
- extract: Schema<number, number, "defined">;
1284
- dedup: Schema<number, number, "defined">;
1285
- l2: Schema<number, number, "defined">;
1286
- l3: Schema<number, number, "defined">;
1287
- graph: Schema<number, number, "defined">;
1288
- }>>, "defined">;
1289
- distillMaxInputChars: Schema<number, number, "defined">;
1290
- distillMode: Schema<"" | "host" | "direct", "" | "host" | "direct", "defined">;
1291
- directBaseURL: Schema<string, string, "defined">;
1292
- directApiKey: Schema<string, string, "defined">;
1293
- embedRemoteBaseURL: Schema<string, string, "defined">;
1294
- embedRemoteApiKey: Schema<string, string, "defined">;
1295
- embedRemoteModel: Schema<string, string, "defined">;
1296
- embedRemoteDimensions: Schema<number, number, "defined">;
1297
- memoryMutate: Schema<boolean, boolean, "defined">;
1298
- conflictFreeze: Schema<boolean, boolean, "defined">;
1299
- }>>>, NoInfer<Schemastery.ObjectT<NoInfer<{
1300
- enabled: Schema<boolean, boolean, "defined">;
1301
- capture: Schema<boolean, boolean, "defined">;
1302
- distill: Schema<boolean, boolean, "defined">;
1303
- recall: Schema<boolean, boolean, "defined">;
1304
- reasoningEffort: Schema<"" | "off" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max", "" | "off" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max", "defined">;
1305
- distillProvider: Schema<string, string, "defined">;
1306
- distillModel: Schema<string, string, "defined">;
1307
- distillChain: Schema<({
1308
- provider?: string | null | undefined;
1309
- model?: string | null | undefined;
1310
- reasoningEffort?: "" | "off" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | null | undefined;
1311
- } & import("@deepseek-ai/cosmokit").Dict)[], Schemastery.ObjectT<NoInfer<{
1312
- provider: Schema<string, string, "defined">;
1313
- model: Schema<string, string, "defined">;
1314
- reasoningEffort: Schema<"" | "off" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max", "" | "off" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max", "defined">;
1315
- }>>[], "defined">;
1316
- distillLayerChains: Schema<Schemastery.ObjectS<NoInfer<{
1317
- l1: Schema<({
1318
- provider?: string | null | undefined;
1319
- model?: string | null | undefined;
1320
- reasoningEffort?: "" | "off" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | null | undefined;
1321
- } & import("@deepseek-ai/cosmokit").Dict)[], Schemastery.ObjectT<NoInfer<{
1322
- provider: Schema<string, string, "defined">;
1323
- model: Schema<string, string, "defined">;
1324
- reasoningEffort: Schema<"" | "off" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max", "" | "off" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max", "defined">;
1325
- }>>[], "defined">;
1326
- l2: Schema<({
1327
- provider?: string | null | undefined;
1328
- model?: string | null | undefined;
1329
- reasoningEffort?: "" | "off" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | null | undefined;
1330
- } & import("@deepseek-ai/cosmokit").Dict)[], Schemastery.ObjectT<NoInfer<{
1331
- provider: Schema<string, string, "defined">;
1332
- model: Schema<string, string, "defined">;
1333
- reasoningEffort: Schema<"" | "off" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max", "" | "off" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max", "defined">;
1334
- }>>[], "defined">;
1335
- l3: Schema<({
1336
- provider?: string | null | undefined;
1337
- model?: string | null | undefined;
1338
- reasoningEffort?: "" | "off" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | null | undefined;
1339
- } & import("@deepseek-ai/cosmokit").Dict)[], Schemastery.ObjectT<NoInfer<{
1340
- provider: Schema<string, string, "defined">;
1341
- model: Schema<string, string, "defined">;
1342
- reasoningEffort: Schema<"" | "off" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max", "" | "off" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max", "defined">;
1343
- }>>[], "defined">;
1344
- }>>, Schemastery.ObjectT<NoInfer<{
1345
- l1: Schema<({
1346
- provider?: string | null | undefined;
1347
- model?: string | null | undefined;
1348
- reasoningEffort?: "" | "off" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | null | undefined;
1349
- } & import("@deepseek-ai/cosmokit").Dict)[], Schemastery.ObjectT<NoInfer<{
1350
- provider: Schema<string, string, "defined">;
1351
- model: Schema<string, string, "defined">;
1352
- reasoningEffort: Schema<"" | "off" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max", "" | "off" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max", "defined">;
1353
- }>>[], "defined">;
1354
- l2: Schema<({
1355
- provider?: string | null | undefined;
1356
- model?: string | null | undefined;
1357
- reasoningEffort?: "" | "off" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | null | undefined;
1358
- } & import("@deepseek-ai/cosmokit").Dict)[], Schemastery.ObjectT<NoInfer<{
1359
- provider: Schema<string, string, "defined">;
1360
- model: Schema<string, string, "defined">;
1361
- reasoningEffort: Schema<"" | "off" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max", "" | "off" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max", "defined">;
1362
- }>>[], "defined">;
1363
- l3: Schema<({
1364
- provider?: string | null | undefined;
1365
- model?: string | null | undefined;
1366
- reasoningEffort?: "" | "off" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | null | undefined;
1367
- } & import("@deepseek-ai/cosmokit").Dict)[], Schemastery.ObjectT<NoInfer<{
1368
- provider: Schema<string, string, "defined">;
1369
- model: Schema<string, string, "defined">;
1370
- reasoningEffort: Schema<"" | "off" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max", "" | "off" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max", "defined">;
1371
- }>>[], "defined">;
1372
- }>>, "defined">;
1373
- distillBudgets: Schema<Schemastery.ObjectS<NoInfer<{
1374
- extract: Schema<number, number, "defined">;
1375
- dedup: Schema<number, number, "defined">;
1376
- l2: Schema<number, number, "defined">;
1377
- l3: Schema<number, number, "defined">;
1378
- graph: Schema<number, number, "defined">;
1379
- }>>, Schemastery.ObjectT<NoInfer<{
1380
- extract: Schema<number, number, "defined">;
1381
- dedup: Schema<number, number, "defined">;
1382
- l2: Schema<number, number, "defined">;
1383
- l3: Schema<number, number, "defined">;
1384
- graph: Schema<number, number, "defined">;
1385
- }>>, "defined">;
1386
- distillMaxInputChars: Schema<number, number, "defined">;
1387
- distillMode: Schema<"" | "host" | "direct", "" | "host" | "direct", "defined">;
1388
- directBaseURL: Schema<string, string, "defined">;
1389
- directApiKey: Schema<string, string, "defined">;
1390
- embedRemoteBaseURL: Schema<string, string, "defined">;
1391
- embedRemoteApiKey: Schema<string, string, "defined">;
1392
- embedRemoteModel: Schema<string, string, "defined">;
1393
- embedRemoteDimensions: Schema<number, number, "defined">;
1394
- memoryMutate: Schema<boolean, boolean, "defined">;
1395
- conflictFreeze: Schema<boolean, boolean, "defined">;
1396
- }>>>, "volatile">;
1397
- }>>, "plain">;
1398
- export declare function resolveDataDir(cfg: MemoryConfig): string;
1399
- /**
1400
- * `wing.enabled` 归一化(R14 三条规则,唯一实现点):
1401
- * ① **空数组保持为空** = 关闭 wing 打标(既有语义,`pipeline/l1.ts` 据此整段省略打标指令)
1402
- * ——不得被归一化补全吃掉,否则用户显式关闭的意图被静默撤销;
1403
- * ② **含退休 id `general` → 补全 8 角全集**:含 `general` 的配置必然是旧默认
1404
- * (v0.12 词表),按子集解读会被静默缩到 2 角,故补全而非过滤;
1405
- * ③ **不含 `general` 的其他子集原样保留**(尊重显式配置,不悄悄扩写)。
1406
- */
1407
- export declare function normWingEnabled(raw: unknown): string[];