utilitas 1999.1.74 → 1999.1.76
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 +2 -1
- package/lib/manifest.mjs +16 -16
- package/package.json +16 -16
package/lib/alan.mjs
CHANGED
|
@@ -68,7 +68,7 @@ const [
|
|
|
68
68
|
'OPENAI_VOICE', 'medium', 'low', 'high', 'medium', 'think', '<think>',
|
|
69
69
|
'</think>', 'AZURE', '<tools>', '</tools>', 'tools', 'text', 'thinking',
|
|
70
70
|
'OK', 'function', 'gpt-4.1', 'redacted_thinking', 'gemma3:27b',
|
|
71
|
-
'Azure Openai', 'Anthropic', 'Vertex Anthropic', 7680 * 4320, [],
|
|
71
|
+
'Azure Openai', 'Anthropic', 'Vertex Anthropic', 7680 * 4320, [], 30,
|
|
72
72
|
{ log: true }, 'Alan', 'user', 'system', 'assistant', 'model',
|
|
73
73
|
'json_object', 'tool', true, 'gemini-embedding-exp-03-07',
|
|
74
74
|
'Invalid file data.', 1.1, 100, 'Content is required.', 2048 * 2048,
|
|
@@ -1015,6 +1015,7 @@ const promptOpenAI = async (aiId, content, options = {}) => {
|
|
|
1015
1015
|
tools: options.tools ?? (await toolsOpenAI()).map(x => x.def),
|
|
1016
1016
|
tool_choice: 'auto',
|
|
1017
1017
|
} : {}, ...azure ? {} : { store: true }, stream: true,
|
|
1018
|
+
reasoning_effort: options.reasoning_effort,
|
|
1018
1019
|
});
|
|
1019
1020
|
for await (event of resp) {
|
|
1020
1021
|
event = event?.choices?.[0] || {};
|
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.
|
|
4
|
+
"version": "1999.1.76",
|
|
5
5
|
"private": false,
|
|
6
6
|
"homepage": "https://github.com/Leask/utilitas",
|
|
7
7
|
"main": "index.mjs",
|
|
@@ -19,55 +19,55 @@ 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": "^
|
|
23
|
-
"mathjs": "^14.5.
|
|
22
|
+
"file-type": "^21.0.0",
|
|
23
|
+
"mathjs": "^14.5.2",
|
|
24
24
|
"uuid": "^11.1.0"
|
|
25
25
|
},
|
|
26
26
|
"devDependencies": {
|
|
27
|
-
"@anthropic-ai/sdk": "^0.
|
|
28
|
-
"@anthropic-ai/vertex-sdk": "^0.11.
|
|
27
|
+
"@anthropic-ai/sdk": "^0.53.0",
|
|
28
|
+
"@anthropic-ai/vertex-sdk": "^0.11.4",
|
|
29
29
|
"@ffmpeg-installer/ffmpeg": "^1.1.0",
|
|
30
30
|
"@ffprobe-installer/ffprobe": "^2.1.2",
|
|
31
31
|
"@google-cloud/speech": "^7.1.0",
|
|
32
32
|
"@google-cloud/storage": "^7.16.0",
|
|
33
|
-
"@google-cloud/vision": "^5.
|
|
34
|
-
"@google/genai": "^1.
|
|
33
|
+
"@google-cloud/vision": "^5.2.0",
|
|
34
|
+
"@google/genai": "^1.4.0",
|
|
35
35
|
"@mozilla/readability": "github:mozilla/readability",
|
|
36
|
-
"@sentry/node": "^9.
|
|
37
|
-
"@sentry/profiling-node": "^9.
|
|
36
|
+
"@sentry/node": "^9.27.0",
|
|
37
|
+
"@sentry/profiling-node": "^9.27.0",
|
|
38
38
|
"acme-client": "^5.4.0",
|
|
39
39
|
"browserify-fs": "^1.0.0",
|
|
40
40
|
"buffer": "^6.0.3",
|
|
41
41
|
"fast-geoip": "^1.1.88",
|
|
42
42
|
"fluent-ffmpeg": "^2.1.3",
|
|
43
|
-
"form-data": "^4.0.
|
|
43
|
+
"form-data": "^4.0.3",
|
|
44
44
|
"ioredis": "^5.6.1",
|
|
45
45
|
"js-tiktoken": "^1.0.20",
|
|
46
46
|
"jsdom": "^26.1.0",
|
|
47
47
|
"lorem-ipsum": "^2.0.8",
|
|
48
|
-
"mailgun.js": "^12.0.
|
|
48
|
+
"mailgun.js": "^12.0.2",
|
|
49
49
|
"mailparser": "^3.7.3",
|
|
50
50
|
"mime": "^4.0.7",
|
|
51
51
|
"mysql2": "^3.14.1",
|
|
52
52
|
"node-mailjet": "^6.0.8",
|
|
53
53
|
"node-polyfill-webpack-plugin": "^4.1.0",
|
|
54
54
|
"office-text-extractor": "^3.0.3",
|
|
55
|
-
"openai": "^
|
|
56
|
-
"pdfjs-dist": "^5.
|
|
55
|
+
"openai": "^5.1.1",
|
|
56
|
+
"pdfjs-dist": "^5.3.31",
|
|
57
57
|
"pg": "^8.16.0",
|
|
58
58
|
"pgvector": "^0.2.1",
|
|
59
59
|
"ping": "^0.4.4",
|
|
60
60
|
"process": "^0.11.10",
|
|
61
|
-
"puppeteer": "^24.
|
|
61
|
+
"puppeteer": "^24.10.0",
|
|
62
62
|
"say": "^0.16.0",
|
|
63
63
|
"telegraf": "^4.16.3",
|
|
64
64
|
"telesignsdk": "^3.0.3",
|
|
65
65
|
"tesseract.js": "^6.0.1",
|
|
66
|
-
"twilio": "^5.
|
|
66
|
+
"twilio": "^5.7.0",
|
|
67
67
|
"url": "github:Leask/node-url",
|
|
68
68
|
"webpack-cli": "^6.0.1",
|
|
69
69
|
"whisper-node": "^1.1.1",
|
|
70
|
-
"wrangler": "^4.
|
|
70
|
+
"wrangler": "^4.19.1",
|
|
71
71
|
"xlsx": "https://cdn.sheetjs.com/xlsx-0.20.1/xlsx-0.20.1.tgz",
|
|
72
72
|
"youtube-transcript": "^1.2.1"
|
|
73
73
|
}
|
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.
|
|
4
|
+
"version": "1999.1.76",
|
|
5
5
|
"private": false,
|
|
6
6
|
"homepage": "https://github.com/Leask/utilitas",
|
|
7
7
|
"main": "index.mjs",
|
|
@@ -30,55 +30,55 @@
|
|
|
30
30
|
"xlsx": "https://cdn.sheetjs.com/xlsx-0.20.1/xlsx-0.20.1.tgz"
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"file-type": "^
|
|
34
|
-
"mathjs": "^14.5.
|
|
33
|
+
"file-type": "^21.0.0",
|
|
34
|
+
"mathjs": "^14.5.2",
|
|
35
35
|
"uuid": "^11.1.0"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
38
|
-
"@anthropic-ai/sdk": "^0.
|
|
39
|
-
"@anthropic-ai/vertex-sdk": "^0.11.
|
|
38
|
+
"@anthropic-ai/sdk": "^0.53.0",
|
|
39
|
+
"@anthropic-ai/vertex-sdk": "^0.11.4",
|
|
40
40
|
"@ffmpeg-installer/ffmpeg": "^1.1.0",
|
|
41
41
|
"@ffprobe-installer/ffprobe": "^2.1.2",
|
|
42
42
|
"@google-cloud/speech": "^7.1.0",
|
|
43
43
|
"@google-cloud/storage": "^7.16.0",
|
|
44
|
-
"@google-cloud/vision": "^5.
|
|
45
|
-
"@google/genai": "^1.
|
|
44
|
+
"@google-cloud/vision": "^5.2.0",
|
|
45
|
+
"@google/genai": "^1.4.0",
|
|
46
46
|
"@mozilla/readability": "github:mozilla/readability",
|
|
47
|
-
"@sentry/node": "^9.
|
|
48
|
-
"@sentry/profiling-node": "^9.
|
|
47
|
+
"@sentry/node": "^9.27.0",
|
|
48
|
+
"@sentry/profiling-node": "^9.27.0",
|
|
49
49
|
"acme-client": "^5.4.0",
|
|
50
50
|
"browserify-fs": "^1.0.0",
|
|
51
51
|
"buffer": "^6.0.3",
|
|
52
52
|
"fast-geoip": "^1.1.88",
|
|
53
53
|
"fluent-ffmpeg": "^2.1.3",
|
|
54
|
-
"form-data": "^4.0.
|
|
54
|
+
"form-data": "^4.0.3",
|
|
55
55
|
"ioredis": "^5.6.1",
|
|
56
56
|
"js-tiktoken": "^1.0.20",
|
|
57
57
|
"jsdom": "^26.1.0",
|
|
58
58
|
"lorem-ipsum": "^2.0.8",
|
|
59
|
-
"mailgun.js": "^12.0.
|
|
59
|
+
"mailgun.js": "^12.0.2",
|
|
60
60
|
"mailparser": "^3.7.3",
|
|
61
61
|
"mime": "^4.0.7",
|
|
62
62
|
"mysql2": "^3.14.1",
|
|
63
63
|
"node-mailjet": "^6.0.8",
|
|
64
64
|
"node-polyfill-webpack-plugin": "^4.1.0",
|
|
65
65
|
"office-text-extractor": "^3.0.3",
|
|
66
|
-
"openai": "^
|
|
67
|
-
"pdfjs-dist": "^5.
|
|
66
|
+
"openai": "^5.1.1",
|
|
67
|
+
"pdfjs-dist": "^5.3.31",
|
|
68
68
|
"pg": "^8.16.0",
|
|
69
69
|
"pgvector": "^0.2.1",
|
|
70
70
|
"ping": "^0.4.4",
|
|
71
71
|
"process": "^0.11.10",
|
|
72
|
-
"puppeteer": "^24.
|
|
72
|
+
"puppeteer": "^24.10.0",
|
|
73
73
|
"say": "^0.16.0",
|
|
74
74
|
"telegraf": "^4.16.3",
|
|
75
75
|
"telesignsdk": "^3.0.3",
|
|
76
76
|
"tesseract.js": "^6.0.1",
|
|
77
|
-
"twilio": "^5.
|
|
77
|
+
"twilio": "^5.7.0",
|
|
78
78
|
"url": "github:Leask/node-url",
|
|
79
79
|
"webpack-cli": "^6.0.1",
|
|
80
80
|
"whisper-node": "^1.1.1",
|
|
81
|
-
"wrangler": "^4.
|
|
81
|
+
"wrangler": "^4.19.1",
|
|
82
82
|
"xlsx": "https://cdn.sheetjs.com/xlsx-0.20.1/xlsx-0.20.1.tgz",
|
|
83
83
|
"youtube-transcript": "^1.2.1"
|
|
84
84
|
}
|