@pipod/cli 0.1.17 → 0.1.18
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/cli.js +5 -0
- package/dist/cli.js.map +1 -1
- package/man/pipod-config.5 +1 -1
- package/man/pipod.1 +1 -1
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -8133,7 +8133,12 @@ function subObject(fields) {
|
|
|
8133
8133
|
return Object.keys(out2).length > 0 ? out2 : void 0;
|
|
8134
8134
|
};
|
|
8135
8135
|
}
|
|
8136
|
+
function modelPatterns(value) {
|
|
8137
|
+
const pattern = cleanString(2048);
|
|
8138
|
+
return Array.isArray(value) && value.length <= 256 && value.every((entry) => pattern(entry) !== void 0) ? [...value] : void 0;
|
|
8139
|
+
}
|
|
8136
8140
|
var UI_SETTINGS_SCHEMA = {
|
|
8141
|
+
enabledModels: modelPatterns,
|
|
8137
8142
|
// May be a plain name or pi's "light/dark" auto pair.
|
|
8138
8143
|
theme: cleanString(128),
|
|
8139
8144
|
hideThinkingBlock: bool,
|