utilitas 2000.3.26 → 2000.3.28

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 CHANGED
@@ -21,19 +21,24 @@ Works in Node.js and modern browsers.
21
21
 
22
22
  | symbol | type | params / value |
23
23
  | :--- | :--- | :--- |
24
- | _NEED | Array | js-tiktoken,OpenAI |
24
+ | _NEED | Array | js-tiktoken,OpenAI,@google/genai |
25
25
  | default | AsyncFunction | options |
26
26
  | ATTACHMENTS | String | [ATTACHMENTS] |
27
27
  | CLOUD_OPUS_45 | String | claude-opus-4.5 |
28
28
  | CODE_INTERPRETER | Object | {"type":"code_interpreter"} |
29
29
  | DEEPSEEK_32 | String | deepseek-3.2-speciale |
30
- | FEATURE_ICONS | Object | {"audio":"📣","deepsearch":"🔍","fast":"⚡️","finetune":"🔧","image":"🎨","json":"📊","reasoning":"🧠","tools":"🧰","vision":"👁️"} |
30
+ | FEATURE_ICONS | Object | {"audio":"📣","deepsearch":"🔍","fast":"⚡️","finetune":"🔧","hearing":"👂","image":"🎨","json":"📊","reasoning":"🧠","tools":"🧰","video":"🎬","vision":"👁️"} |
31
31
  | FUNCTION | Object | {"type":"function"} |
32
32
  | GEMINI_25_FLASH | String | gemini-2.5-flash-preview-09-2025 |
33
+ | GEMINI_25_FLASH_TTS | String | gemini-2.5-flash-preview-tts |
34
+ | GEMINI_25_PRO_TTS | String | gemini-2.5-pro-tts |
33
35
  | GEMINI_30_PRO_IMAGE | String | gemini-3-pro-image-preview |
34
36
  | GPT_51 | String | gpt-5.1 |
37
+ | GPT_5_IMAGE | String | gpt-5-image |
38
+ | IMAGEN_4_ULTRA | String | imagen-4.0-ultra-generate-001 |
35
39
  | OPENAI_VOICE | String | OPENAI_VOICE |
36
40
  | RETRIEVAL | Object | {"type":"retrieval"} |
41
+ | VEO_31 | String | veo-3.1-generate-preview |
37
42
  | _NO_RENDER | Array | INSTRUCTIONS,MODELS,DEFAULT_MODELS |
38
43
  | analyzeSessions | AsyncFunction | sessionIds, options |
39
44
  | countTokens | AsyncFunction | input, options |
@@ -47,7 +52,7 @@ Works in Node.js and modern browsers.
47
52
  | k | Function | |
48
53
  | listOpenAIModels | AsyncFunction | aiId, options |
49
54
  | prompt | AsyncFunction | input, options |
50
- | promptOpenAI | AsyncFunction | aiId, content, options |
55
+ | promptOpenRouter | AsyncFunction | aiId, content, options |
51
56
  | resetSession | AsyncFunction | sessionId, options |
52
57
  | talk | AsyncFunction | input, options |
53
58
  | trimPrompt | AsyncFunction | getPrompt, trimFunc, contextWindow, options |
@@ -247,16 +252,6 @@ Works in Node.js and modern browsers.
247
252
  | load | AsyncFunction | module, options |
248
253
  | loop | AsyncFunction | func, interval, tout, delay, name, options |
249
254
 
250
- ### [gen](./lib/gen.mjs)
251
-
252
- | symbol | type | params / value |
253
- | :--- | :--- | :--- |
254
- | _NEED | Array | OpenAI,@google/genai |
255
- | default | AsyncFunction | options |
256
- | image | AsyncFunction | prompt, options |
257
- | init | AsyncFunction | options |
258
- | video | AsyncFunction | prompt, options |
259
-
260
255
  ### [horizon](./lib/horizon.mjs)
261
256
 
262
257
  | symbol | type | params / value |
@@ -326,19 +321,12 @@ Works in Node.js and modern browsers.
326
321
 
327
322
  | symbol | type | params / value |
328
323
  | :--- | :--- | :--- |
329
- | _NEED | Array | @google/genai,OpenAI,whisper-node |
330
- | default | AsyncFunction | options |
331
- | OPENAI_TTS_MAX_LENGTH | Number | 4096 |
332
- | checkSay | AsyncFunction | options |
333
- | checkWhisper | AsyncFunction | options |
334
- | init | AsyncFunction | options |
324
+ | _NEED | Array | whisper-node |
325
+ | checkSay | AsyncFunction | |
326
+ | checkWhisper | AsyncFunction | |
335
327
  | stt | AsyncFunction | audio, options |
336
- | sttGoogle | AsyncFunction | audio, options |
337
- | sttOpenAI | AsyncFunction | audio, options |
338
328
  | sttWhisper | AsyncFunction | audio, options |
339
329
  | tts | AsyncFunction | text, options |
340
- | ttsGoogle | AsyncFunction | contents, options |
341
- | ttsOpenAI | AsyncFunction | input, options |
342
330
  | ttsSay | AsyncFunction | text, options |
343
331
 
344
332
  ### [ssl](./lib/ssl.mjs)