utilitas 2001.1.65 → 2001.1.66
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/utilitas.lite.mjs +1 -1
- package/dist/utilitas.lite.mjs.map +1 -1
- package/lib/alan.mjs +1 -1
- package/lib/manifest.mjs +1 -1
- package/package.json +1 -1
package/lib/alan.mjs
CHANGED
|
@@ -1237,7 +1237,7 @@ const collectAttachments = async (options = {}) => {
|
|
|
1237
1237
|
const selectAi = async (options = {}) => {
|
|
1238
1238
|
options.aiId = ensureArray(options?.aiId).filter(x => x);
|
|
1239
1239
|
const ais = await getAi(null, { all: true });
|
|
1240
|
-
if (options.aiId.includes('
|
|
1240
|
+
if (options.aiId.includes('top')) { // Use top AIs
|
|
1241
1241
|
options.aiId = ais.slice(0, TOP_LIMIT).map(x => x.id);
|
|
1242
1242
|
} else if (options.collected?.length) { // Select by attachments
|
|
1243
1243
|
const supported = {};
|
package/lib/manifest.mjs
CHANGED