utilitas 1998.2.32 → 1998.2.33

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
@@ -41,7 +41,8 @@ You may be provided with some \`tools\` or \`functions\` to help you gather info
41
41
  - Use tools when appropriate to enhance efficiency and accuracy, and to gain the contextual knowledge needed to solve problems.
42
42
  - Be sure to use tools only when necessary and avoid overuse, you can answer questions based on your own understanding.
43
43
  - When the tools are not suitable and you have to answer questions based on your understanding, please do not mention any tool-related information in your response.
44
- - Unless otherwise specified to require the original result, in most cases, you may reorganize the information obtained after using the tool to solve the problem as needed.`;
44
+ - Unless otherwise specified to require the original result, in most cases, you may reorganize the information obtained after using the tool to solve the problem as needed.
45
+ - If the tool fails, do not retry unless requested by the user.`;
45
46
 
46
47
  // https://platform.openai.com/docs/guides/prompt-engineering
47
48
  // const GPT_4_5_SYSTEM_PROMPT = `You are a highly capable, thoughtful, and precise assistant. Your goal is to deeply understand the user's intent, ask clarifying questions when needed, think step-by-step through complex problems, provide clear and accurate answers, and proactively anticipate helpful follow-up information. Always prioritize being truthful, nuanced, insightful, and efficient, tailoring your responses specifically to the user's needs and preferences.`
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": "1998.2.32",
4
+ "version": "1998.2.33",
5
5
  "private": false,
6
6
  "homepage": "https://github.com/Leask/utilitas",
7
7
  "main": "index.mjs",
@@ -19,58 +19,58 @@ const manifest = {
19
19
  "xlsx": "https://cdn.sheetjs.com/xlsx-0.20.1/xlsx-0.20.1.tgz"
20
20
  },
21
21
  "dependencies": {
22
- "file-type": "^20.0.0",
23
- "mathjs": "^14.1.0",
24
- "uuid": "^11.0.5"
22
+ "file-type": "^20.4.0",
23
+ "mathjs": "^14.3.0",
24
+ "uuid": "^11.1.0"
25
25
  },
26
26
  "devDependencies": {
27
- "@anthropic-ai/sdk": "^0.36.3",
27
+ "@anthropic-ai/sdk": "^0.39.0",
28
28
  "@anthropic-ai/vertex-sdk": "^0.7.0",
29
29
  "@ffmpeg-installer/ffmpeg": "^1.1.0",
30
30
  "@ffprobe-installer/ffprobe": "^2.1.2",
31
- "@google-cloud/speech": "^6.7.0",
32
- "@google-cloud/storage": "^7.15.0",
33
- "@google-cloud/text-to-speech": "^5.8.0",
34
- "@google-cloud/vision": "^4.3.2",
35
- "@google/generative-ai": "^0.21.0",
31
+ "@google-cloud/speech": "^6.7.1",
32
+ "@google-cloud/storage": "^7.15.2",
33
+ "@google-cloud/text-to-speech": "^5.8.1",
34
+ "@google-cloud/vision": "^4.3.3",
35
+ "@google/generative-ai": "^0.22.0",
36
36
  "@mozilla/readability": "github:mozilla/readability",
37
37
  "@ngrok/ngrok": "^1.4.1",
38
- "@sentry/node": "^8.52.0",
39
- "@sentry/profiling-node": "^8.52.0",
38
+ "@sentry/node": "^9.3.0",
39
+ "@sentry/profiling-node": "^9.3.0",
40
40
  "acme-client": "^5.4.0",
41
41
  "browserify-fs": "^1.0.0",
42
42
  "buffer": "^6.0.3",
43
43
  "fast-geoip": "^1.1.88",
44
44
  "fluent-ffmpeg": "^2.1.3",
45
- "form-data": "^4.0.1",
46
- "ioredis": "^5.4.2",
47
- "js-tiktoken": "^1.0.16",
45
+ "form-data": "^4.0.2",
46
+ "ioredis": "^5.5.0",
47
+ "js-tiktoken": "^1.0.19",
48
48
  "jsdom": "^26.0.0",
49
49
  "lorem-ipsum": "^2.0.8",
50
- "mailgun.js": "^11.1.0",
50
+ "mailgun.js": "^12.0.0",
51
51
  "mailparser": "^3.7.2",
52
52
  "mime": "^4.0.6",
53
53
  "mysql2": "^3.12.0",
54
54
  "node-mailjet": "^6.0.6",
55
55
  "node-polyfill-webpack-plugin": "^4.1.0",
56
56
  "office-text-extractor": "^3.0.3",
57
- "ollama": "^0.5.12",
58
- "openai": "^4.81.0",
57
+ "ollama": "^0.5.14",
58
+ "openai": "^4.86.1",
59
59
  "pdfjs-dist": "^4.10.38",
60
- "pg": "^8.13.1",
60
+ "pg": "^8.13.3",
61
61
  "pgvector": "^0.2.0",
62
62
  "ping": "^0.4.4",
63
63
  "process": "^0.11.10",
64
- "puppeteer": "^24.1.1",
64
+ "puppeteer": "^24.3.0",
65
65
  "say": "^0.16.0",
66
66
  "telegraf": "^4.16.3",
67
- "telesignsdk": "^3.0.1",
67
+ "telesignsdk": "^3.0.2",
68
68
  "tesseract.js": "^6.0.0",
69
- "twilio": "^5.4.3",
69
+ "twilio": "^5.4.5",
70
70
  "url": "github:Leask/node-url",
71
71
  "webpack-cli": "^6.0.1",
72
72
  "whisper-node": "^1.1.1",
73
- "wrangler": "^3.106.0",
73
+ "wrangler": "^3.111.0",
74
74
  "xlsx": "https://cdn.sheetjs.com/xlsx-0.20.1/xlsx-0.20.1.tgz",
75
75
  "youtube-transcript": "^1.2.1"
76
76
  }
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": "1998.2.32",
4
+ "version": "1998.2.33",
5
5
  "private": false,
6
6
  "homepage": "https://github.com/Leask/utilitas",
7
7
  "main": "index.mjs",
@@ -30,58 +30,58 @@
30
30
  "xlsx": "https://cdn.sheetjs.com/xlsx-0.20.1/xlsx-0.20.1.tgz"
31
31
  },
32
32
  "dependencies": {
33
- "file-type": "^20.0.0",
34
- "mathjs": "^14.1.0",
35
- "uuid": "^11.0.5"
33
+ "file-type": "^20.4.0",
34
+ "mathjs": "^14.3.0",
35
+ "uuid": "^11.1.0"
36
36
  },
37
37
  "devDependencies": {
38
- "@anthropic-ai/sdk": "^0.36.3",
38
+ "@anthropic-ai/sdk": "^0.39.0",
39
39
  "@anthropic-ai/vertex-sdk": "^0.7.0",
40
40
  "@ffmpeg-installer/ffmpeg": "^1.1.0",
41
41
  "@ffprobe-installer/ffprobe": "^2.1.2",
42
- "@google-cloud/speech": "^6.7.0",
43
- "@google-cloud/storage": "^7.15.0",
44
- "@google-cloud/text-to-speech": "^5.8.0",
45
- "@google-cloud/vision": "^4.3.2",
46
- "@google/generative-ai": "^0.21.0",
42
+ "@google-cloud/speech": "^6.7.1",
43
+ "@google-cloud/storage": "^7.15.2",
44
+ "@google-cloud/text-to-speech": "^5.8.1",
45
+ "@google-cloud/vision": "^4.3.3",
46
+ "@google/generative-ai": "^0.22.0",
47
47
  "@mozilla/readability": "github:mozilla/readability",
48
48
  "@ngrok/ngrok": "^1.4.1",
49
- "@sentry/node": "^8.52.0",
50
- "@sentry/profiling-node": "^8.52.0",
49
+ "@sentry/node": "^9.3.0",
50
+ "@sentry/profiling-node": "^9.3.0",
51
51
  "acme-client": "^5.4.0",
52
52
  "browserify-fs": "^1.0.0",
53
53
  "buffer": "^6.0.3",
54
54
  "fast-geoip": "^1.1.88",
55
55
  "fluent-ffmpeg": "^2.1.3",
56
- "form-data": "^4.0.1",
57
- "ioredis": "^5.4.2",
58
- "js-tiktoken": "^1.0.16",
56
+ "form-data": "^4.0.2",
57
+ "ioredis": "^5.5.0",
58
+ "js-tiktoken": "^1.0.19",
59
59
  "jsdom": "^26.0.0",
60
60
  "lorem-ipsum": "^2.0.8",
61
- "mailgun.js": "^11.1.0",
61
+ "mailgun.js": "^12.0.0",
62
62
  "mailparser": "^3.7.2",
63
63
  "mime": "^4.0.6",
64
64
  "mysql2": "^3.12.0",
65
65
  "node-mailjet": "^6.0.6",
66
66
  "node-polyfill-webpack-plugin": "^4.1.0",
67
67
  "office-text-extractor": "^3.0.3",
68
- "ollama": "^0.5.12",
69
- "openai": "^4.81.0",
68
+ "ollama": "^0.5.14",
69
+ "openai": "^4.86.1",
70
70
  "pdfjs-dist": "^4.10.38",
71
- "pg": "^8.13.1",
71
+ "pg": "^8.13.3",
72
72
  "pgvector": "^0.2.0",
73
73
  "ping": "^0.4.4",
74
74
  "process": "^0.11.10",
75
- "puppeteer": "^24.1.1",
75
+ "puppeteer": "^24.3.0",
76
76
  "say": "^0.16.0",
77
77
  "telegraf": "^4.16.3",
78
- "telesignsdk": "^3.0.1",
78
+ "telesignsdk": "^3.0.2",
79
79
  "tesseract.js": "^6.0.0",
80
- "twilio": "^5.4.3",
80
+ "twilio": "^5.4.5",
81
81
  "url": "github:Leask/node-url",
82
82
  "webpack-cli": "^6.0.1",
83
83
  "whisper-node": "^1.1.1",
84
- "wrangler": "^3.106.0",
84
+ "wrangler": "^3.111.0",
85
85
  "xlsx": "https://cdn.sheetjs.com/xlsx-0.20.1/xlsx-0.20.1.tgz",
86
86
  "youtube-transcript": "^1.2.1"
87
87
  }