@innovastudio/contentbuilder 1.5.209 → 1.5.211

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@innovastudio/contentbuilder",
3
3
  "type": "module",
4
- "version": "1.5.209",
4
+ "version": "1.5.211",
5
5
  "description": "",
6
6
  "main": "public/contentbuilder/contentbuilder.esm.js",
7
7
  "types": "index.d.ts",
@@ -5598,8 +5598,8 @@ class Util {
5598
5598
  }
5599
5599
  let editingInsidePlugin = false;
5600
5600
  let elm = this.builder.activeElement;
5601
- const plugin = elm.closest('[data-cb-type]');
5602
- const subblock = elm.closest('.is-subblock');
5601
+ const plugin = elm && elm.closest('[data-cb-type]');
5602
+ const subblock = elm && elm.closest('.is-subblock');
5603
5603
  if (plugin && subblock) {
5604
5604
  editingInsidePlugin = true;
5605
5605
  }
@@ -88349,60 +88349,89 @@ class CodeChat {
88349
88349
  this.codeModels = [{
88350
88350
  id: 'anthropic/claude-opus-4.5',
88351
88351
  label: 'Claude Opus 4.5'
88352
- }, {
88352
+ },
88353
+ //recommended
88354
+ {
88353
88355
  id: 'google/gemini-3-pro-preview',
88354
88356
  label: 'Google Gemini 3 Pro Preview'
88355
- }, {
88357
+ },
88358
+ //recommended
88359
+ {
88360
+ id: 'google/gemini-3-flash-preview',
88361
+ label: 'Google Gemini 3 Flash Preview'
88362
+ },
88363
+ //recommended
88364
+ {
88356
88365
  id: 'google/gemini-2.5-flash',
88357
88366
  label: 'Google Gemini 2.5 Flash'
88367
+ }, {
88368
+ id: 'openai/gpt-5.2',
88369
+ label: 'GPT-5.2'
88370
+ },
88371
+ //recommended
88372
+ {
88373
+ id: 'openai/gpt-5.2-codex',
88374
+ label: 'GPT-5.2-Codex'
88358
88375
  }, {
88359
88376
  id: 'qwen/qwen3-coder',
88360
88377
  label: 'Qwen 3 Coder'
88361
88378
  }, {
88362
- id: 'openai/gpt-5-mini',
88363
- label: 'GPT-5 Mini'
88364
- }, {
88365
- id: 'openai/gpt-5.1-codex-mini',
88366
- label: 'GPT-5.1-Codex-Mini'
88379
+ id: 'anthropic/claude-sonnet-4.5',
88380
+ label: 'Claude Sonnet 4.5'
88367
88381
  }, {
88368
88382
  id: 'openai/gpt-5.1-codex',
88369
88383
  label: 'GPT-5.1-Codex'
88370
88384
  }, {
88371
- id: 'anthropic/claude-sonnet-4.5',
88372
- label: 'Claude Sonnet 4.5'
88385
+ id: 'openai/gpt-5.1-codex-mini',
88386
+ label: 'GPT-5.1-Codex-Mini'
88373
88387
  }, {
88374
- id: 'x-ai/grok-code-fast-1',
88375
- label: 'Grok Code Fast 1'
88388
+ id: 'openai/gpt-5.1-codex-max',
88389
+ label: 'GPT-5.1-Codex-Max'
88376
88390
  }, {
88377
- id: 'mistralai/codestral-2508',
88378
- label: 'Mistral Codestral 2508'
88379
- }, {
88380
- id: 'mistralai/devstral-small',
88381
- label: 'Mistral Devstral Small'
88391
+ id: 'openai/gpt-5-mini',
88392
+ label: 'GPT-5 Mini'
88382
88393
  }, {
88383
88394
  id: 'openai/gpt-oss-120b',
88384
88395
  label: 'GPT OSS 120B'
88396
+ }, {
88397
+ id: 'moonshotai/kimi-k2.5',
88398
+ label: 'Kimi K2.5'
88399
+ }, {
88400
+ id: 'moonshotai/kimi-k2-0905',
88401
+ label: 'Kimi K2'
88385
88402
  }, {
88386
88403
  id: 'google/gemini-2.5-flash-lite',
88387
88404
  label: 'Gemini 2.5 Flash Lite'
88388
88405
  }, {
88389
88406
  id: 'google/gemini-2.5-pro',
88390
88407
  label: 'Gemini 2.5 Pro'
88408
+ }, {
88409
+ id: 'z-ai/glm-4.7',
88410
+ label: 'GLM 4.7'
88411
+ }, {
88412
+ id: 'z-ai/glm-4.7-flash',
88413
+ label: 'GLM 4.7 Flash'
88391
88414
  }, {
88392
88415
  id: 'z-ai/glm-4.6',
88393
88416
  label: 'GLM 4.6'
88417
+ }, {
88418
+ id: 'x-ai/grok-code-fast-1',
88419
+ label: 'Grok Code Fast 1'
88394
88420
  }, {
88395
88421
  id: 'x-ai/grok-4-fast',
88396
88422
  label: 'Grok 4 Fast'
88423
+ }, {
88424
+ id: 'mistralai/codestral-2508',
88425
+ label: 'Mistral Codestral 2508'
88426
+ }, {
88427
+ id: 'mistralai/devstral-small',
88428
+ label: 'Mistral Devstral Small'
88397
88429
  }, {
88398
88430
  id: 'mistralai/mistral-large-2407',
88399
88431
  label: 'Mistral Large 2407'
88400
88432
  }, {
88401
88433
  id: 'mistralai/mistral-nemo',
88402
88434
  label: 'Mistral Nemo'
88403
- }, {
88404
- id: 'moonshotai/kimi-k2-0905',
88405
- label: 'Kimi K2'
88406
88435
  }, {
88407
88436
  id: 'qwen/qwen3-vl-235b-a22b-instruct',
88408
88437
  label: 'Qwen 3 VL 235B'
@@ -88412,6 +88441,9 @@ class CodeChat {
88412
88441
  }, {
88413
88442
  id: 'deepseek/deepseek-chat-v3-0324',
88414
88443
  label: 'DeepSeek Chat V3'
88444
+ }, {
88445
+ id: 'minimax/minimax-m2.1',
88446
+ label: 'MiniMax M2.1'
88415
88447
  }, {
88416
88448
  id: 'minimax/minimax-m2',
88417
88449
  label: 'MiniMax M2'