@remnic/core 9.3.636 → 9.3.637
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/access-cli.js +1 -1
- package/dist/active-recall.js +1 -1
- package/dist/{chunk-W25I7G6U.js → chunk-3EJ5OOZ3.js} +2 -2
- package/dist/{chunk-VTH5SKQW.js → chunk-3XNMN242.js} +2 -2
- package/dist/{chunk-7H5WCPBS.js → chunk-A3HKTPPV.js} +21 -6
- package/dist/chunk-A3HKTPPV.js.map +1 -0
- package/dist/{chunk-JYFO32V4.js → chunk-QJGTSCJN.js} +4 -4
- package/dist/cli.js +4 -4
- package/dist/config.js +1 -1
- package/dist/index.js +4 -4
- package/dist/operator-toolkit.js +2 -2
- package/dist/resume-bundles.js +2 -2
- package/dist/schemas.d.ts +22 -22
- package/dist/transfer/types.d.ts +12 -12
- package/package.json +1 -1
- package/src/config.test.ts +118 -0
- package/src/config.ts +45 -10
- package/dist/chunk-7H5WCPBS.js.map +0 -1
- /package/dist/{chunk-W25I7G6U.js.map → chunk-3EJ5OOZ3.js.map} +0 -0
- /package/dist/{chunk-VTH5SKQW.js.map → chunk-3XNMN242.js.map} +0 -0
- /package/dist/{chunk-JYFO32V4.js.map → chunk-QJGTSCJN.js.map} +0 -0
|
@@ -75,7 +75,7 @@ import {
|
|
|
75
75
|
buildResumeBundleFromState,
|
|
76
76
|
getResumeBundleStatus,
|
|
77
77
|
recordResumeBundle
|
|
78
|
-
} from "./chunk-
|
|
78
|
+
} from "./chunk-3EJ5OOZ3.js";
|
|
79
79
|
import {
|
|
80
80
|
parseXrayCliOptions
|
|
81
81
|
} from "./chunk-QHXW3LZV.js";
|
|
@@ -89,7 +89,7 @@ import {
|
|
|
89
89
|
runOperatorInventory,
|
|
90
90
|
runOperatorRepair,
|
|
91
91
|
runOperatorSetup
|
|
92
|
-
} from "./chunk-
|
|
92
|
+
} from "./chunk-3XNMN242.js";
|
|
93
93
|
import {
|
|
94
94
|
listNamespaces,
|
|
95
95
|
runNamespaceMigration,
|
|
@@ -203,7 +203,7 @@ import {
|
|
|
203
203
|
} from "./chunk-UQ7RN5HK.js";
|
|
204
204
|
import {
|
|
205
205
|
parseConfig
|
|
206
|
-
} from "./chunk-
|
|
206
|
+
} from "./chunk-A3HKTPPV.js";
|
|
207
207
|
import {
|
|
208
208
|
getAbstractionNodeStoreStatus
|
|
209
209
|
} from "./chunk-OADWQ5CR.js";
|
|
@@ -7152,4 +7152,4 @@ export {
|
|
|
7152
7152
|
resolveMemoryDirForNamespace,
|
|
7153
7153
|
registerCli
|
|
7154
7154
|
};
|
|
7155
|
-
//# sourceMappingURL=chunk-
|
|
7155
|
+
//# sourceMappingURL=chunk-QJGTSCJN.js.map
|
package/dist/cli.js
CHANGED
|
@@ -89,7 +89,7 @@ import {
|
|
|
89
89
|
runWorkProductStatusCliCommand,
|
|
90
90
|
runWorkProjectCliCommand,
|
|
91
91
|
runWorkTaskCliCommand
|
|
92
|
-
} from "./chunk-
|
|
92
|
+
} from "./chunk-QJGTSCJN.js";
|
|
93
93
|
import "./chunk-MC4FJXPA.js";
|
|
94
94
|
import "./chunk-LQHDIS7L.js";
|
|
95
95
|
import "./chunk-7F7Z6MOS.js";
|
|
@@ -118,10 +118,10 @@ import "./chunk-H2NCNXMS.js";
|
|
|
118
118
|
import "./chunk-PU44GBL4.js";
|
|
119
119
|
import "./chunk-YR6GIWWY.js";
|
|
120
120
|
import "./chunk-PUEAEQSN.js";
|
|
121
|
-
import "./chunk-
|
|
121
|
+
import "./chunk-3EJ5OOZ3.js";
|
|
122
122
|
import "./chunk-QHXW3LZV.js";
|
|
123
123
|
import "./chunk-TGQ2NTWH.js";
|
|
124
|
-
import "./chunk-
|
|
124
|
+
import "./chunk-3XNMN242.js";
|
|
125
125
|
import "./chunk-YCX45GOQ.js";
|
|
126
126
|
import "./chunk-3T74IZB3.js";
|
|
127
127
|
import "./chunk-HL4DB7TO.js";
|
|
@@ -158,7 +158,7 @@ import "./chunk-LMDRGRJ2.js";
|
|
|
158
158
|
import "./chunk-OKTXM5H4.js";
|
|
159
159
|
import "./chunk-3UXOZBHV.js";
|
|
160
160
|
import "./chunk-UQ7RN5HK.js";
|
|
161
|
-
import "./chunk-
|
|
161
|
+
import "./chunk-A3HKTPPV.js";
|
|
162
162
|
import "./chunk-PHK3HARR.js";
|
|
163
163
|
import "./chunk-NDAH7BJ5.js";
|
|
164
164
|
import "./chunk-Z5LAYHGJ.js";
|
package/dist/config.js
CHANGED
package/dist/index.js
CHANGED
|
@@ -94,7 +94,7 @@ import {
|
|
|
94
94
|
registerTrainingExportAdapter,
|
|
95
95
|
runBulkImportCliCommand,
|
|
96
96
|
runWearablesCliCommand
|
|
97
|
-
} from "./chunk-
|
|
97
|
+
} from "./chunk-QJGTSCJN.js";
|
|
98
98
|
import "./chunk-MC4FJXPA.js";
|
|
99
99
|
import "./chunk-LQHDIS7L.js";
|
|
100
100
|
import "./chunk-7F7Z6MOS.js";
|
|
@@ -136,7 +136,7 @@ import {
|
|
|
136
136
|
} from "./chunk-PU44GBL4.js";
|
|
137
137
|
import "./chunk-YR6GIWWY.js";
|
|
138
138
|
import "./chunk-PUEAEQSN.js";
|
|
139
|
-
import "./chunk-
|
|
139
|
+
import "./chunk-3EJ5OOZ3.js";
|
|
140
140
|
import {
|
|
141
141
|
parseXrayBudgetFlag,
|
|
142
142
|
parseXrayCliOptions
|
|
@@ -146,7 +146,7 @@ import {
|
|
|
146
146
|
isAgentAccessSecretRef,
|
|
147
147
|
resolveAgentAccessAuthToken
|
|
148
148
|
} from "./chunk-TGQ2NTWH.js";
|
|
149
|
-
import "./chunk-
|
|
149
|
+
import "./chunk-3XNMN242.js";
|
|
150
150
|
import "./chunk-YCX45GOQ.js";
|
|
151
151
|
import {
|
|
152
152
|
parseStrictCliDate
|
|
@@ -467,7 +467,7 @@ import {
|
|
|
467
467
|
parseConfig,
|
|
468
468
|
parseWearablesConfig,
|
|
469
469
|
resolveEnvVars
|
|
470
|
-
} from "./chunk-
|
|
470
|
+
} from "./chunk-A3HKTPPV.js";
|
|
471
471
|
import {
|
|
472
472
|
coerceInstallExtension
|
|
473
473
|
} from "./chunk-PHK3HARR.js";
|
package/dist/operator-toolkit.js
CHANGED
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
summarizeMemoryWorthLegacyCounters,
|
|
12
12
|
summarizeObservationThroughput,
|
|
13
13
|
summarizeTierDistribution
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-3XNMN242.js";
|
|
15
15
|
import "./chunk-YCX45GOQ.js";
|
|
16
16
|
import "./chunk-AL4RAJL5.js";
|
|
17
17
|
import "./chunk-YBPYIAA5.js";
|
|
@@ -21,7 +21,7 @@ import "./chunk-CMTINOFS.js";
|
|
|
21
21
|
import "./chunk-BEUDU7Y4.js";
|
|
22
22
|
import "./chunk-3PY7VHV7.js";
|
|
23
23
|
import "./chunk-AJU4PJGY.js";
|
|
24
|
-
import "./chunk-
|
|
24
|
+
import "./chunk-A3HKTPPV.js";
|
|
25
25
|
import "./chunk-PHK3HARR.js";
|
|
26
26
|
import "./chunk-NDAH7BJ5.js";
|
|
27
27
|
import "./chunk-Z5LAYHGJ.js";
|
package/dist/resume-bundles.js
CHANGED
|
@@ -4,13 +4,13 @@ import {
|
|
|
4
4
|
recordResumeBundle,
|
|
5
5
|
resolveResumeBundleDir,
|
|
6
6
|
validateResumeBundle
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-3EJ5OOZ3.js";
|
|
8
8
|
import "./chunk-ZRWB5D4H.js";
|
|
9
9
|
import "./chunk-A6D7A2FW.js";
|
|
10
10
|
import "./chunk-FF4KLI5W.js";
|
|
11
11
|
import "./chunk-KFY3SGN7.js";
|
|
12
12
|
import "./chunk-LMDRGRJ2.js";
|
|
13
|
-
import "./chunk-
|
|
13
|
+
import "./chunk-A3HKTPPV.js";
|
|
14
14
|
import "./chunk-PHK3HARR.js";
|
|
15
15
|
import "./chunk-NDAH7BJ5.js";
|
|
16
16
|
import "./chunk-Z5LAYHGJ.js";
|
package/dist/schemas.d.ts
CHANGED
|
@@ -275,12 +275,12 @@ declare const EntityMentionSchema: z.ZodObject<{
|
|
|
275
275
|
title: z.ZodString;
|
|
276
276
|
facts: z.ZodArray<z.ZodString, "many">;
|
|
277
277
|
}, "strip", z.ZodTypeAny, {
|
|
278
|
-
title: string;
|
|
279
278
|
key: string;
|
|
279
|
+
title: string;
|
|
280
280
|
facts: string[];
|
|
281
281
|
}, {
|
|
282
|
-
title: string;
|
|
283
282
|
key: string;
|
|
283
|
+
title: string;
|
|
284
284
|
facts: string[];
|
|
285
285
|
}>, "many">>>;
|
|
286
286
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -288,8 +288,8 @@ declare const EntityMentionSchema: z.ZodObject<{
|
|
|
288
288
|
name: string;
|
|
289
289
|
facts: string[];
|
|
290
290
|
structuredSections?: {
|
|
291
|
-
title: string;
|
|
292
291
|
key: string;
|
|
292
|
+
title: string;
|
|
293
293
|
facts: string[];
|
|
294
294
|
}[] | null | undefined;
|
|
295
295
|
promptedByQuestion?: string | null | undefined;
|
|
@@ -298,8 +298,8 @@ declare const EntityMentionSchema: z.ZodObject<{
|
|
|
298
298
|
name: string;
|
|
299
299
|
facts: string[];
|
|
300
300
|
structuredSections?: {
|
|
301
|
-
title: string;
|
|
302
301
|
key: string;
|
|
302
|
+
title: string;
|
|
303
303
|
facts: string[];
|
|
304
304
|
}[] | null | undefined;
|
|
305
305
|
promptedByQuestion?: string | null | undefined;
|
|
@@ -584,12 +584,12 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
|
|
|
584
584
|
title: z.ZodString;
|
|
585
585
|
facts: z.ZodArray<z.ZodString, "many">;
|
|
586
586
|
}, "strip", z.ZodTypeAny, {
|
|
587
|
-
title: string;
|
|
588
587
|
key: string;
|
|
588
|
+
title: string;
|
|
589
589
|
facts: string[];
|
|
590
590
|
}, {
|
|
591
|
-
title: string;
|
|
592
591
|
key: string;
|
|
592
|
+
title: string;
|
|
593
593
|
facts: string[];
|
|
594
594
|
}>, "many">>>;
|
|
595
595
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -597,8 +597,8 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
|
|
|
597
597
|
name: string;
|
|
598
598
|
facts: string[];
|
|
599
599
|
structuredSections?: {
|
|
600
|
-
title: string;
|
|
601
600
|
key: string;
|
|
601
|
+
title: string;
|
|
602
602
|
facts: string[];
|
|
603
603
|
}[] | null | undefined;
|
|
604
604
|
promptedByQuestion?: string | null | undefined;
|
|
@@ -607,8 +607,8 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
|
|
|
607
607
|
name: string;
|
|
608
608
|
facts: string[];
|
|
609
609
|
structuredSections?: {
|
|
610
|
-
title: string;
|
|
611
610
|
key: string;
|
|
611
|
+
title: string;
|
|
612
612
|
facts: string[];
|
|
613
613
|
}[] | null | undefined;
|
|
614
614
|
promptedByQuestion?: string | null | undefined;
|
|
@@ -665,8 +665,8 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
|
|
|
665
665
|
name: string;
|
|
666
666
|
facts: string[];
|
|
667
667
|
structuredSections?: {
|
|
668
|
-
title: string;
|
|
669
668
|
key: string;
|
|
669
|
+
title: string;
|
|
670
670
|
facts: string[];
|
|
671
671
|
}[] | null | undefined;
|
|
672
672
|
promptedByQuestion?: string | null | undefined;
|
|
@@ -714,8 +714,8 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
|
|
|
714
714
|
name: string;
|
|
715
715
|
facts: string[];
|
|
716
716
|
structuredSections?: {
|
|
717
|
-
title: string;
|
|
718
717
|
key: string;
|
|
718
|
+
title: string;
|
|
719
719
|
facts: string[];
|
|
720
720
|
}[] | null | undefined;
|
|
721
721
|
promptedByQuestion?: string | null | undefined;
|
|
@@ -952,12 +952,12 @@ declare const ExtractionResultSchema: z.ZodObject<{
|
|
|
952
952
|
title: z.ZodString;
|
|
953
953
|
facts: z.ZodArray<z.ZodString, "many">;
|
|
954
954
|
}, "strip", z.ZodTypeAny, {
|
|
955
|
-
title: string;
|
|
956
955
|
key: string;
|
|
956
|
+
title: string;
|
|
957
957
|
facts: string[];
|
|
958
958
|
}, {
|
|
959
|
-
title: string;
|
|
960
959
|
key: string;
|
|
960
|
+
title: string;
|
|
961
961
|
facts: string[];
|
|
962
962
|
}>, "many">>>;
|
|
963
963
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -965,8 +965,8 @@ declare const ExtractionResultSchema: z.ZodObject<{
|
|
|
965
965
|
name: string;
|
|
966
966
|
facts: string[];
|
|
967
967
|
structuredSections?: {
|
|
968
|
-
title: string;
|
|
969
968
|
key: string;
|
|
969
|
+
title: string;
|
|
970
970
|
facts: string[];
|
|
971
971
|
}[] | null | undefined;
|
|
972
972
|
promptedByQuestion?: string | null | undefined;
|
|
@@ -975,8 +975,8 @@ declare const ExtractionResultSchema: z.ZodObject<{
|
|
|
975
975
|
name: string;
|
|
976
976
|
facts: string[];
|
|
977
977
|
structuredSections?: {
|
|
978
|
-
title: string;
|
|
979
978
|
key: string;
|
|
979
|
+
title: string;
|
|
980
980
|
facts: string[];
|
|
981
981
|
}[] | null | undefined;
|
|
982
982
|
promptedByQuestion?: string | null | undefined;
|
|
@@ -1047,8 +1047,8 @@ declare const ExtractionResultSchema: z.ZodObject<{
|
|
|
1047
1047
|
name: string;
|
|
1048
1048
|
facts: string[];
|
|
1049
1049
|
structuredSections?: {
|
|
1050
|
-
title: string;
|
|
1051
1050
|
key: string;
|
|
1051
|
+
title: string;
|
|
1052
1052
|
facts: string[];
|
|
1053
1053
|
}[] | null | undefined;
|
|
1054
1054
|
promptedByQuestion?: string | null | undefined;
|
|
@@ -1102,8 +1102,8 @@ declare const ExtractionResultSchema: z.ZodObject<{
|
|
|
1102
1102
|
name: string;
|
|
1103
1103
|
facts: string[];
|
|
1104
1104
|
structuredSections?: {
|
|
1105
|
-
title: string;
|
|
1106
1105
|
key: string;
|
|
1106
|
+
title: string;
|
|
1107
1107
|
facts: string[];
|
|
1108
1108
|
}[] | null | undefined;
|
|
1109
1109
|
promptedByQuestion?: string | null | undefined;
|
|
@@ -1172,12 +1172,12 @@ declare const ConsolidationResultSchema: z.ZodObject<{
|
|
|
1172
1172
|
title: z.ZodString;
|
|
1173
1173
|
facts: z.ZodArray<z.ZodString, "many">;
|
|
1174
1174
|
}, "strip", z.ZodTypeAny, {
|
|
1175
|
-
title: string;
|
|
1176
1175
|
key: string;
|
|
1176
|
+
title: string;
|
|
1177
1177
|
facts: string[];
|
|
1178
1178
|
}, {
|
|
1179
|
-
title: string;
|
|
1180
1179
|
key: string;
|
|
1180
|
+
title: string;
|
|
1181
1181
|
facts: string[];
|
|
1182
1182
|
}>, "many">>>;
|
|
1183
1183
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1185,8 +1185,8 @@ declare const ConsolidationResultSchema: z.ZodObject<{
|
|
|
1185
1185
|
name: string;
|
|
1186
1186
|
facts: string[];
|
|
1187
1187
|
structuredSections?: {
|
|
1188
|
-
title: string;
|
|
1189
1188
|
key: string;
|
|
1189
|
+
title: string;
|
|
1190
1190
|
facts: string[];
|
|
1191
1191
|
}[] | null | undefined;
|
|
1192
1192
|
promptedByQuestion?: string | null | undefined;
|
|
@@ -1195,8 +1195,8 @@ declare const ConsolidationResultSchema: z.ZodObject<{
|
|
|
1195
1195
|
name: string;
|
|
1196
1196
|
facts: string[];
|
|
1197
1197
|
structuredSections?: {
|
|
1198
|
-
title: string;
|
|
1199
1198
|
key: string;
|
|
1199
|
+
title: string;
|
|
1200
1200
|
facts: string[];
|
|
1201
1201
|
}[] | null | undefined;
|
|
1202
1202
|
promptedByQuestion?: string | null | undefined;
|
|
@@ -1215,8 +1215,8 @@ declare const ConsolidationResultSchema: z.ZodObject<{
|
|
|
1215
1215
|
name: string;
|
|
1216
1216
|
facts: string[];
|
|
1217
1217
|
structuredSections?: {
|
|
1218
|
-
title: string;
|
|
1219
1218
|
key: string;
|
|
1219
|
+
title: string;
|
|
1220
1220
|
facts: string[];
|
|
1221
1221
|
}[] | null | undefined;
|
|
1222
1222
|
promptedByQuestion?: string | null | undefined;
|
|
@@ -1235,8 +1235,8 @@ declare const ConsolidationResultSchema: z.ZodObject<{
|
|
|
1235
1235
|
name: string;
|
|
1236
1236
|
facts: string[];
|
|
1237
1237
|
structuredSections?: {
|
|
1238
|
-
title: string;
|
|
1239
1238
|
key: string;
|
|
1239
|
+
title: string;
|
|
1240
1240
|
facts: string[];
|
|
1241
1241
|
}[] | null | undefined;
|
|
1242
1242
|
promptedByQuestion?: string | null | undefined;
|
package/dist/transfer/types.d.ts
CHANGED
|
@@ -313,13 +313,13 @@ declare const CapsuleBlockSchema: z.ZodObject<{
|
|
|
313
313
|
peerProfiles: boolean;
|
|
314
314
|
}>;
|
|
315
315
|
}, "strip", z.ZodTypeAny, {
|
|
316
|
-
schemaVersion: string;
|
|
317
316
|
includes: {
|
|
318
317
|
procedural: boolean;
|
|
319
318
|
taxonomy: boolean;
|
|
320
319
|
identityAnchors: boolean;
|
|
321
320
|
peerProfiles: boolean;
|
|
322
321
|
};
|
|
322
|
+
schemaVersion: string;
|
|
323
323
|
id: string;
|
|
324
324
|
description: string;
|
|
325
325
|
version: string;
|
|
@@ -334,13 +334,13 @@ declare const CapsuleBlockSchema: z.ZodObject<{
|
|
|
334
334
|
directAnswerEnabled: boolean;
|
|
335
335
|
};
|
|
336
336
|
}, {
|
|
337
|
-
schemaVersion: string;
|
|
338
337
|
includes: {
|
|
339
338
|
procedural: boolean;
|
|
340
339
|
taxonomy: boolean;
|
|
341
340
|
identityAnchors: boolean;
|
|
342
341
|
peerProfiles: boolean;
|
|
343
342
|
};
|
|
343
|
+
schemaVersion: string;
|
|
344
344
|
id: string;
|
|
345
345
|
description: string;
|
|
346
346
|
version: string;
|
|
@@ -464,13 +464,13 @@ declare const ExportManifestV2Schema: z.ZodObject<{
|
|
|
464
464
|
peerProfiles: boolean;
|
|
465
465
|
}>;
|
|
466
466
|
}, "strip", z.ZodTypeAny, {
|
|
467
|
-
schemaVersion: string;
|
|
468
467
|
includes: {
|
|
469
468
|
procedural: boolean;
|
|
470
469
|
taxonomy: boolean;
|
|
471
470
|
identityAnchors: boolean;
|
|
472
471
|
peerProfiles: boolean;
|
|
473
472
|
};
|
|
473
|
+
schemaVersion: string;
|
|
474
474
|
id: string;
|
|
475
475
|
description: string;
|
|
476
476
|
version: string;
|
|
@@ -485,13 +485,13 @@ declare const ExportManifestV2Schema: z.ZodObject<{
|
|
|
485
485
|
directAnswerEnabled: boolean;
|
|
486
486
|
};
|
|
487
487
|
}, {
|
|
488
|
-
schemaVersion: string;
|
|
489
488
|
includes: {
|
|
490
489
|
procedural: boolean;
|
|
491
490
|
taxonomy: boolean;
|
|
492
491
|
identityAnchors: boolean;
|
|
493
492
|
peerProfiles: boolean;
|
|
494
493
|
};
|
|
494
|
+
schemaVersion: string;
|
|
495
495
|
id: string;
|
|
496
496
|
description: string;
|
|
497
497
|
version: string;
|
|
@@ -518,13 +518,13 @@ declare const ExportManifestV2Schema: z.ZodObject<{
|
|
|
518
518
|
pluginVersion: string;
|
|
519
519
|
includesTranscripts: boolean;
|
|
520
520
|
capsule: {
|
|
521
|
-
schemaVersion: string;
|
|
522
521
|
includes: {
|
|
523
522
|
procedural: boolean;
|
|
524
523
|
taxonomy: boolean;
|
|
525
524
|
identityAnchors: boolean;
|
|
526
525
|
peerProfiles: boolean;
|
|
527
526
|
};
|
|
527
|
+
schemaVersion: string;
|
|
528
528
|
id: string;
|
|
529
529
|
description: string;
|
|
530
530
|
version: string;
|
|
@@ -551,13 +551,13 @@ declare const ExportManifestV2Schema: z.ZodObject<{
|
|
|
551
551
|
pluginVersion: string;
|
|
552
552
|
includesTranscripts: boolean;
|
|
553
553
|
capsule: {
|
|
554
|
-
schemaVersion: string;
|
|
555
554
|
includes: {
|
|
556
555
|
procedural: boolean;
|
|
557
556
|
taxonomy: boolean;
|
|
558
557
|
identityAnchors: boolean;
|
|
559
558
|
peerProfiles: boolean;
|
|
560
559
|
};
|
|
560
|
+
schemaVersion: string;
|
|
561
561
|
id: string;
|
|
562
562
|
description: string;
|
|
563
563
|
version: string;
|
|
@@ -683,13 +683,13 @@ declare const ExportBundleV2Schema: z.ZodObject<{
|
|
|
683
683
|
peerProfiles: boolean;
|
|
684
684
|
}>;
|
|
685
685
|
}, "strip", z.ZodTypeAny, {
|
|
686
|
-
schemaVersion: string;
|
|
687
686
|
includes: {
|
|
688
687
|
procedural: boolean;
|
|
689
688
|
taxonomy: boolean;
|
|
690
689
|
identityAnchors: boolean;
|
|
691
690
|
peerProfiles: boolean;
|
|
692
691
|
};
|
|
692
|
+
schemaVersion: string;
|
|
693
693
|
id: string;
|
|
694
694
|
description: string;
|
|
695
695
|
version: string;
|
|
@@ -704,13 +704,13 @@ declare const ExportBundleV2Schema: z.ZodObject<{
|
|
|
704
704
|
directAnswerEnabled: boolean;
|
|
705
705
|
};
|
|
706
706
|
}, {
|
|
707
|
-
schemaVersion: string;
|
|
708
707
|
includes: {
|
|
709
708
|
procedural: boolean;
|
|
710
709
|
taxonomy: boolean;
|
|
711
710
|
identityAnchors: boolean;
|
|
712
711
|
peerProfiles: boolean;
|
|
713
712
|
};
|
|
713
|
+
schemaVersion: string;
|
|
714
714
|
id: string;
|
|
715
715
|
description: string;
|
|
716
716
|
version: string;
|
|
@@ -737,13 +737,13 @@ declare const ExportBundleV2Schema: z.ZodObject<{
|
|
|
737
737
|
pluginVersion: string;
|
|
738
738
|
includesTranscripts: boolean;
|
|
739
739
|
capsule: {
|
|
740
|
-
schemaVersion: string;
|
|
741
740
|
includes: {
|
|
742
741
|
procedural: boolean;
|
|
743
742
|
taxonomy: boolean;
|
|
744
743
|
identityAnchors: boolean;
|
|
745
744
|
peerProfiles: boolean;
|
|
746
745
|
};
|
|
746
|
+
schemaVersion: string;
|
|
747
747
|
id: string;
|
|
748
748
|
description: string;
|
|
749
749
|
version: string;
|
|
@@ -770,13 +770,13 @@ declare const ExportBundleV2Schema: z.ZodObject<{
|
|
|
770
770
|
pluginVersion: string;
|
|
771
771
|
includesTranscripts: boolean;
|
|
772
772
|
capsule: {
|
|
773
|
-
schemaVersion: string;
|
|
774
773
|
includes: {
|
|
775
774
|
procedural: boolean;
|
|
776
775
|
taxonomy: boolean;
|
|
777
776
|
identityAnchors: boolean;
|
|
778
777
|
peerProfiles: boolean;
|
|
779
778
|
};
|
|
779
|
+
schemaVersion: string;
|
|
780
780
|
id: string;
|
|
781
781
|
description: string;
|
|
782
782
|
version: string;
|
|
@@ -815,13 +815,13 @@ declare const ExportBundleV2Schema: z.ZodObject<{
|
|
|
815
815
|
pluginVersion: string;
|
|
816
816
|
includesTranscripts: boolean;
|
|
817
817
|
capsule: {
|
|
818
|
-
schemaVersion: string;
|
|
819
818
|
includes: {
|
|
820
819
|
procedural: boolean;
|
|
821
820
|
taxonomy: boolean;
|
|
822
821
|
identityAnchors: boolean;
|
|
823
822
|
peerProfiles: boolean;
|
|
824
823
|
};
|
|
824
|
+
schemaVersion: string;
|
|
825
825
|
id: string;
|
|
826
826
|
description: string;
|
|
827
827
|
version: string;
|
|
@@ -854,13 +854,13 @@ declare const ExportBundleV2Schema: z.ZodObject<{
|
|
|
854
854
|
pluginVersion: string;
|
|
855
855
|
includesTranscripts: boolean;
|
|
856
856
|
capsule: {
|
|
857
|
-
schemaVersion: string;
|
|
858
857
|
includes: {
|
|
859
858
|
procedural: boolean;
|
|
860
859
|
taxonomy: boolean;
|
|
861
860
|
identityAnchors: boolean;
|
|
862
861
|
peerProfiles: boolean;
|
|
863
862
|
};
|
|
863
|
+
schemaVersion: string;
|
|
864
864
|
id: string;
|
|
865
865
|
description: string;
|
|
866
866
|
version: string;
|
package/package.json
CHANGED
package/src/config.test.ts
CHANGED
|
@@ -353,6 +353,124 @@ test("parseConfig rejects unknown taskModelChain keys (codex review #1425)", ()
|
|
|
353
353
|
);
|
|
354
354
|
});
|
|
355
355
|
|
|
356
|
+
test("parseConfig routes gateway task-model defaults through taskModelChain primary", () => {
|
|
357
|
+
const cfg = parseConfig({
|
|
358
|
+
modelSource: "gateway",
|
|
359
|
+
taskModelChain: {
|
|
360
|
+
primary: "openrouter/deepseek/deepseek-v4-flash",
|
|
361
|
+
fallbacks: ["zai/glm-4.5-air"],
|
|
362
|
+
},
|
|
363
|
+
});
|
|
364
|
+
|
|
365
|
+
// Base model stays direct-compatible — direct-key call sites (e.g. briefing
|
|
366
|
+
// follow-ups) pass it straight to the OpenAI Responses API, so it must never
|
|
367
|
+
// become a provider-qualified gateway route string (issue #1469 / PR #1470).
|
|
368
|
+
assert.equal(cfg.model, "gpt-5.5");
|
|
369
|
+
// Gateway-routed task models pick up the configured task-chain primary.
|
|
370
|
+
assert.equal(cfg.summaryModel, "openrouter/deepseek/deepseek-v4-flash");
|
|
371
|
+
assert.equal(cfg.recallPlannerModel, "openrouter/deepseek/deepseek-v4-flash");
|
|
372
|
+
});
|
|
373
|
+
|
|
374
|
+
test("parseConfig lets explicit task models override taskModelChain defaults", () => {
|
|
375
|
+
const cfg = parseConfig({
|
|
376
|
+
modelSource: "gateway",
|
|
377
|
+
model: "openrouter/model-override",
|
|
378
|
+
summaryModel: "openrouter/summary-override",
|
|
379
|
+
recallPlannerModel: "openrouter/planner-override",
|
|
380
|
+
taskModelChain: {
|
|
381
|
+
primary: "openrouter/deepseek/deepseek-v4-flash",
|
|
382
|
+
},
|
|
383
|
+
});
|
|
384
|
+
|
|
385
|
+
assert.equal(cfg.model, "openrouter/model-override");
|
|
386
|
+
assert.equal(cfg.summaryModel, "openrouter/summary-override");
|
|
387
|
+
assert.equal(cfg.recallPlannerModel, "openrouter/planner-override");
|
|
388
|
+
});
|
|
389
|
+
|
|
390
|
+
test("parseConfig lets a provider-qualified base model feed summaryModel in gateway mode without a task chain (#1469)", () => {
|
|
391
|
+
// A provider-qualified explicit `model` (no summaryModel, no taskModelChain) is
|
|
392
|
+
// routable through the gateway, so summaryModel inherits it as its second-priority
|
|
393
|
+
// source. This exercises the `gatewayTaskModel(explicitModel)` leg of the chain.
|
|
394
|
+
const cfg = parseConfig({
|
|
395
|
+
modelSource: "gateway",
|
|
396
|
+
model: "openrouter/my-model",
|
|
397
|
+
});
|
|
398
|
+
|
|
399
|
+
assert.equal(cfg.model, "openrouter/my-model");
|
|
400
|
+
assert.equal(cfg.summaryModel, "openrouter/my-model");
|
|
401
|
+
// recallPlannerModel intentionally does NOT inherit cfg.model — it only
|
|
402
|
+
// considers its own explicit field then the gateway task fallback.
|
|
403
|
+
assert.equal(cfg.recallPlannerModel, "");
|
|
404
|
+
});
|
|
405
|
+
|
|
406
|
+
test("parseConfig treats the injected bare schema-default model as absent for gateway task routing (#1469)", () => {
|
|
407
|
+
// OpenClaw applies the manifest schema defaults (model + recallPlannerModel
|
|
408
|
+
// default to "gpt-5.5") BEFORE parseConfig sees the config, so an operator who
|
|
409
|
+
// only set modelSource + taskModelChain still arrives here with a bare
|
|
410
|
+
// model === "gpt-5.5". The gateway-routed task models must NOT pin that bare id
|
|
411
|
+
// (it would resolve to an unroutable <provider>/gpt-5.5); they fall through to
|
|
412
|
+
// the configured task chain instead (codex review on PR #1470).
|
|
413
|
+
const cfg = parseConfig({
|
|
414
|
+
modelSource: "gateway",
|
|
415
|
+
model: "gpt-5.5", // injected schema default, not an operator choice
|
|
416
|
+
recallPlannerModel: "gpt-5.5", // injected schema default
|
|
417
|
+
taskModelChain: { primary: "openrouter/deepseek/deepseek-v4-flash" },
|
|
418
|
+
});
|
|
419
|
+
|
|
420
|
+
// Base model stays direct-compatible for direct-key call sites...
|
|
421
|
+
assert.equal(cfg.model, "gpt-5.5");
|
|
422
|
+
// ...but the gateway-routed task models pick up the task-chain primary.
|
|
423
|
+
assert.equal(cfg.summaryModel, "openrouter/deepseek/deepseek-v4-flash");
|
|
424
|
+
assert.equal(cfg.recallPlannerModel, "openrouter/deepseek/deepseek-v4-flash");
|
|
425
|
+
});
|
|
426
|
+
|
|
427
|
+
test("parseConfig drops a bare schema-default model in gateway mode with no task chain (#1469)", () => {
|
|
428
|
+
const cfg = parseConfig({
|
|
429
|
+
modelSource: "gateway",
|
|
430
|
+
model: "gpt-5.5", // injected schema default
|
|
431
|
+
recallPlannerModel: "gpt-5.5",
|
|
432
|
+
});
|
|
433
|
+
|
|
434
|
+
// Nothing routable is configured → gateway task models stay empty so the
|
|
435
|
+
// Gateway default wins (no bare "gpt-5.5" leaks to the flush plan / cron).
|
|
436
|
+
assert.equal(cfg.summaryModel, "");
|
|
437
|
+
assert.equal(cfg.recallPlannerModel, "");
|
|
438
|
+
});
|
|
439
|
+
|
|
440
|
+
test("parseConfig leaves gateway task-model defaults empty without taskModelChain", () => {
|
|
441
|
+
const cfg = parseConfig({ modelSource: "gateway" });
|
|
442
|
+
|
|
443
|
+
// Base model keeps the direct-compatible default...
|
|
444
|
+
assert.equal(cfg.model, "gpt-5.5");
|
|
445
|
+
// ...but gateway-routed task models stay empty so the Gateway default wins
|
|
446
|
+
// (no unroutable bare id is ever sent to the gateway).
|
|
447
|
+
assert.equal(cfg.summaryModel, "");
|
|
448
|
+
assert.equal(cfg.recallPlannerModel, "");
|
|
449
|
+
});
|
|
450
|
+
|
|
451
|
+
test("parseConfig keeps model direct-compatible when a direct openaiApiKey coexists with a gateway task chain (#1469)", () => {
|
|
452
|
+
const original = process.env.OPENAI_API_KEY;
|
|
453
|
+
delete process.env.OPENAI_API_KEY;
|
|
454
|
+
try {
|
|
455
|
+
const cfg = parseConfig({
|
|
456
|
+
modelSource: "gateway",
|
|
457
|
+
openaiApiKey: "sk-direct-key",
|
|
458
|
+
taskModelChain: { primary: "openrouter/deepseek/deepseek-v4-flash" },
|
|
459
|
+
});
|
|
460
|
+
|
|
461
|
+
// Direct-key call sites (e.g. briefing follow-ups) use cfg.model against the
|
|
462
|
+
// OpenAI Responses API, so it must NOT become the provider-qualified gateway
|
|
463
|
+
// route string even though a task chain is configured. The task chain only
|
|
464
|
+
// feeds the gateway-routed summary model (codex review on PR #1470).
|
|
465
|
+
assert.equal(cfg.openaiApiKey, "sk-direct-key");
|
|
466
|
+
assert.equal(cfg.model, "gpt-5.5");
|
|
467
|
+
assert.equal(cfg.summaryModel, "openrouter/deepseek/deepseek-v4-flash");
|
|
468
|
+
} finally {
|
|
469
|
+
if (original === undefined) delete process.env.OPENAI_API_KEY;
|
|
470
|
+
else process.env.OPENAI_API_KEY = original;
|
|
471
|
+
}
|
|
472
|
+
});
|
|
473
|
+
|
|
356
474
|
test("parseConfig modelSource=gateway still honors an explicit openaiApiKey override", () => {
|
|
357
475
|
const original = process.env.OPENAI_API_KEY;
|
|
358
476
|
process.env.OPENAI_API_KEY = "sk-env-should-not-be-used";
|