utilitas 2001.1.136 → 2001.1.139
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/README.md +10 -8
- package/dist/utilitas.lite.mjs +1 -1
- package/dist/utilitas.lite.mjs.map +1 -1
- package/lib/alan.mjs +169 -301
- package/lib/dbio.mjs +355 -34
- package/lib/manifest.mjs +20 -20
- package/lib/rag.mjs +85 -43
- package/lib/storage.mjs +4 -2
- package/package.json +20 -20
package/README.md
CHANGED
|
@@ -23,18 +23,17 @@ Works in Node.js and modern browsers.
|
|
|
23
23
|
| :--- | :--- | :--- |
|
|
24
24
|
| _NEED | Array | OpenAI,@google/genai |
|
|
25
25
|
| default | AsyncFunction | options |
|
|
26
|
-
|
|
|
26
|
+
| CLOUD_OPUS_47 | String | claude-opus-4.7 |
|
|
27
27
|
| CODE_INTERPRETER | Object | {"type":"code_interpreter"} |
|
|
28
|
-
|
|
|
29
|
-
| FEATURE_ICONS | Object | {"audio":"🔊","deep-research":"🔍","fast":"⚡️","hearing":"👂","hidden":"🙈","image":"🎨","reasoning":"🧠","structured":"📊","tools":"🧰","video":"🎬","vision":"👁️"} |
|
|
28
|
+
| FEATURE_ICONS | Object | {"audio":"🔊","deep-research":"🔍","fast":"⚡️","hearing":"👂","hidden":"🙈","image":"🎨","music":"🎵","reasoning":"🧠","structured":"📊","tools":"🧰","video":"🎬","vision":"👁️"} |
|
|
30
29
|
| FUNCTION | Object | {"type":"function"} |
|
|
31
|
-
| GEMINI_25_FLASH_TTS | String | gemini-2.5-flash-preview-tts |
|
|
32
30
|
| GEMINI_25_PRO_TTS | String | gemini-2.5-pro-preview-tts |
|
|
33
31
|
| GEMINI_30_FLASH | String | gemini-3-flash-preview |
|
|
34
32
|
| GEMINI_30_PRO_IMAGE | String | gemini-3-pro-image-preview |
|
|
35
33
|
| GEMINI_31_PRO | String | gemini-3.1-pro-preview |
|
|
36
|
-
|
|
|
37
|
-
|
|
|
34
|
+
| GPT_55 | String | gpt-5.5 |
|
|
35
|
+
| GPT_55_MINI | String | gpt-5-mini |
|
|
36
|
+
| GPT_IMAGE_2 | String | gpt-5.4-image-2 |
|
|
38
37
|
| OPENAI_VOICE | String | OPENAI_VOICE |
|
|
39
38
|
| RETRIEVAL | Object | {"type":"retrieval"} |
|
|
40
39
|
| TOP | String | top |
|
|
@@ -54,7 +53,7 @@ Works in Node.js and modern browsers.
|
|
|
54
53
|
| k | Function | |
|
|
55
54
|
| listOpenAIModels | AsyncFunction | aiId, options |
|
|
56
55
|
| prompt | AsyncFunction | input, options |
|
|
57
|
-
|
|
|
56
|
+
| promptOpenAI | AsyncFunction | aiId, content, options |
|
|
58
57
|
| resetSession | AsyncFunction | sessionId, options |
|
|
59
58
|
| setSession | AsyncFunction | sessionId, session, options |
|
|
60
59
|
| stt | AsyncFunction | audio, options |
|
|
@@ -154,6 +153,7 @@ Works in Node.js and modern browsers.
|
|
|
154
153
|
| default | AsyncFunction | options |
|
|
155
154
|
| MYSQL | String | MYSQL |
|
|
156
155
|
| POSTGRESQL | String | POSTGRESQL |
|
|
156
|
+
| SQLITE | String | SQLITE |
|
|
157
157
|
| assembleInsert | Function | table, data, options |
|
|
158
158
|
| assembleQuery | Function | table, options |
|
|
159
159
|
| assembleSet | Function | data, options |
|
|
@@ -169,7 +169,7 @@ Works in Node.js and modern browsers.
|
|
|
169
169
|
| drop | AsyncFunction | table, options |
|
|
170
170
|
| enableVector | AsyncFunction | |
|
|
171
171
|
| encodeVector | AsyncFunction | |
|
|
172
|
-
| end | AsyncFunction |
|
|
172
|
+
| end | AsyncFunction | |
|
|
173
173
|
| execute | AsyncFunction | ...args |
|
|
174
174
|
| getPgvector | AsyncFunction | |
|
|
175
175
|
| getProvider | AsyncFunction | |
|
|
@@ -184,6 +184,7 @@ Works in Node.js and modern browsers.
|
|
|
184
184
|
| rawAssembleKeyValue | Function | key, value, options |
|
|
185
185
|
| rawExecute | AsyncFunction | ...args |
|
|
186
186
|
| rawQuery | AsyncFunction | ...args |
|
|
187
|
+
| startSqliteWorker | AsyncFunction | path |
|
|
187
188
|
| tables | AsyncFunction | options |
|
|
188
189
|
| updateById | AsyncFunction | table, id, fields, options |
|
|
189
190
|
| updateByKeyValue | AsyncFunction | table, key, value, fields, options |
|
|
@@ -375,6 +376,7 @@ Works in Node.js and modern browsers.
|
|
|
375
376
|
| MIME_TEXT | String | text/plain |
|
|
376
377
|
| MIME_TGPP | String | video/3gpp |
|
|
377
378
|
| MIME_WAV | String | audio/wav |
|
|
379
|
+
| MIME_WAVE | String | audio/wave |
|
|
378
380
|
| MIME_WEBM | String | audio/webm |
|
|
379
381
|
| MIME_WEBP | String | image/webp |
|
|
380
382
|
| MIME_WMV | String | video/wmv |
|