utilitas 1999.1.27 → 1999.1.29

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/lib/alan.mjs CHANGED
@@ -747,6 +747,14 @@ const packResp = async (resp, options) => {
747
747
  ).join('\n');
748
748
  }
749
749
  txt = txt.split('\n');
750
+ const reJina = new RegExp(`^\s*${THINK_STR}(.*)${THINK_END}\s*$`);
751
+ const fixJina = [];
752
+ for (let l of txt) {
753
+ if (reJina.test(l)) {
754
+ fixJina.push(THINK_STR, l.replace(reJina, '$1'), THINK_END);
755
+ } else { fixJina.push(l); }
756
+ }
757
+ txt = fixJina;
750
758
  for (let i in txt) {
751
759
  switch (txt[i]) {
752
760
  case THINK_STR: txt[i] = MD_CODE + THINK; break;
@@ -1514,6 +1522,7 @@ export {
1514
1522
  CODE_INTERPRETER,
1515
1523
  DEEPSEEK_R1,
1516
1524
  DEFAULT_MODELS,
1525
+ FEATURE_ICONS,
1517
1526
  FUNCTION,
1518
1527
  GEMINI_20_FLASH_THINKING,
1519
1528
  GEMINI_20_FLASH,
package/lib/manifest.mjs CHANGED
@@ -1,7 +1,7 @@
1
1
  const manifest = {
2
2
  "name": "utilitas",
3
3
  "description": "Just another common utility for JavaScript.",
4
- "version": "1999.1.27",
4
+ "version": "1999.1.29",
5
5
  "private": false,
6
6
  "homepage": "https://github.com/Leask/utilitas",
7
7
  "main": "index.mjs",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "utilitas",
3
3
  "description": "Just another common utility for JavaScript.",
4
- "version": "1999.1.27",
4
+ "version": "1999.1.29",
5
5
  "private": false,
6
6
  "homepage": "https://github.com/Leask/utilitas",
7
7
  "main": "index.mjs",