utilitas 2000.3.13 → 2000.3.15

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
@@ -45,7 +45,7 @@ You may be provided with some tools(functions) to help you gather information an
45
45
  const _NEED = ['js-tiktoken', 'OpenAI'];
46
46
 
47
47
  const [
48
- OPENAI, GEMINI, OLLAMA, NOVA, DEEPSEEK_R1, MD_CODE, CLOUD_SONNET_45, AUDIO,
48
+ OPENAI, GEMINI, OLLAMA, NOVA, DEEPSEEK_R1, MD_CODE, CLOUD_OPUS_45, AUDIO,
49
49
  WAV, ATTACHMENTS, OPENAI_VOICE, GPT_REASONING_EFFORT, THINK, THINK_STR,
50
50
  THINK_END, TOOLS_STR, TOOLS_END, TOOLS, TEXT, OK, FUNC, GPT_51,
51
51
  GPT_51_CODEX, GPT_5_IMAGE, GEMMA_3_27B, ANTHROPIC, v8k, ais,
@@ -57,7 +57,7 @@ const [
57
57
  GEMINI_30_PRO, GEMINI_25_FLASH,
58
58
  ] = [
59
59
  'OpenAI', 'Gemini', 'Ollama', 'nova', 'deepseek-r1', '```',
60
- 'claude-sonnet-4.5', 'audio', 'wav', '[ATTACHMENTS]', 'OPENAI_VOICE',
60
+ 'claude-opus-4.5', 'audio', 'wav', '[ATTACHMENTS]', 'OPENAI_VOICE',
61
61
  'medium', 'think', '<think>', '</think>', '<tools>', '</tools>',
62
62
  'tools', 'text', 'OK', 'function', 'gpt-5.1', 'gpt-5.1-codex',
63
63
  'gpt-5-image', 'gemma3:27b', 'Anthropic', 7680 * 4320, [], 30,
@@ -152,7 +152,7 @@ const MODELS = {
152
152
  [GPT_51_CODEX]: { ...OPENAI_RULES },
153
153
  [GPT_5_IMAGE]: { ...OPENAI_RULES, image: true },
154
154
  [JINA_DEEPSEARCH]: { // @todo: parse more details from results, eg: "reed urls".
155
- label: '✴️', contextWindow: Infinity, maxInputTokens: Infinity,
155
+ icon: '✴️', contextWindow: Infinity, maxInputTokens: Infinity,
156
156
  maxOutputTokens: Infinity, imageCostTokens: 0, maxImageSize: Infinity,
157
157
  supportedMimeTypes: [MIME_PNG, MIME_JPEG, MIME_TEXT, MIME_WEBP, MIME_PDF],
158
158
  reasoning: true, json: true, vision: true,
@@ -160,7 +160,7 @@ const MODELS = {
160
160
  },
161
161
  [DEEPSEEK_R1]: DEEPSEEK_R1_RULES,
162
162
  [SF_DEEPSEEK_R1]: { ...DEEPSEEK_R1_RULES, defaultProvider: SILICONFLOW },
163
- [CLOUD_SONNET_45]: {
163
+ [CLOUD_OPUS_45]: {
164
164
  source: S_ANTHROPIC, icon: '✳️',
165
165
  contextWindow: kT(200), maxOutputTokens: kT(64),
166
166
  documentCostTokens: 3000 * 10, maxDocumentFile: m(32),
@@ -1144,7 +1144,7 @@ export {
1144
1144
  _NEED,
1145
1145
  _NO_RENDER,
1146
1146
  ATTACHMENTS,
1147
- CLOUD_SONNET_45,
1147
+ CLOUD_OPUS_45,
1148
1148
  CODE_INTERPRETER,
1149
1149
  DEEPSEEK_R1,
1150
1150
  DEFAULT_MODELS,
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": "2000.3.13",
4
+ "version": "2000.3.15",
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": "2000.3.13",
4
+ "version": "2000.3.15",
5
5
  "private": false,
6
6
  "homepage": "https://github.com/Leask/utilitas",
7
7
  "main": "index.mjs",