best-email-builder 0.7.0 → 0.9.0
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/CHANGELOG.md +43 -0
- package/README.md +127 -735
- package/dist/ai-server.js +3 -3
- package/dist/ai.js +129 -59
- package/dist/ai.js.map +1 -1
- package/dist/builder.js +8 -8
- package/dist/{chunk-C6WHIBGH.js → chunk-4IXP5YVN.js} +3 -3
- package/dist/{chunk-C6WHIBGH.js.map → chunk-4IXP5YVN.js.map} +1 -1
- package/dist/chunk-62HBUBBI.js +3866 -0
- package/dist/chunk-62HBUBBI.js.map +1 -0
- package/dist/{chunk-QH5OI43L.js → chunk-AS2EPMA6.js} +8 -8
- package/dist/{chunk-W424KPCR.js → chunk-AXIM6E7T.js} +2 -2
- package/dist/{chunk-QRUMXCGW.js → chunk-D4JBPAJ5.js} +3 -3
- package/dist/{chunk-3RPWH5PC.js → chunk-FFSSAMHH.js} +4 -4
- package/dist/{chunk-4U7L2NYQ.js → chunk-G4U6PSF6.js} +2 -2
- package/dist/{chunk-UMVBT7NW.js → chunk-GWXY3MWQ.js} +4 -4
- package/dist/{chunk-CNJZLZRH.js → chunk-LUM7J5FF.js} +2 -2
- package/dist/{chunk-SAIW46IC.js → chunk-P7ABBLX6.js} +2 -2
- package/dist/{chunk-CTZ56YJG.js → chunk-VJKF6SR4.js} +889 -5
- package/dist/chunk-VJKF6SR4.js.map +1 -0
- package/dist/index.js +10 -10
- package/dist/library.js +5 -5
- package/dist/server.js +5 -5
- package/dist/types/ai/ConnectAi.d.ts +3 -1
- package/dist/types/ai/ModelPicker.d.ts +7 -3
- package/dist/types/ai/i18n/de.d.ts +2 -0
- package/dist/types/ai/i18n/es.d.ts +2 -0
- package/dist/types/ai/i18n/pt.d.ts +2 -0
- package/dist/types/ai/i18n/ru.d.ts +2 -0
- package/dist/types/ai/i18n/zh.d.ts +2 -0
- package/dist/types/ai/keys.d.ts +15 -3
- package/dist/types/core/constants.d.ts +1 -1
- package/dist/types/engine/NativeAdapter.d.ts +1 -1
- package/dist/types/i18n/de.d.ts +2 -0
- package/dist/types/i18n/es.d.ts +2 -0
- package/dist/types/i18n/pt.d.ts +2 -0
- package/dist/types/i18n/ru.d.ts +2 -0
- package/dist/types/i18n/zh.d.ts +2 -0
- package/package.json +2 -2
- package/dist/chunk-CTZ56YJG.js.map +0 -1
- package/dist/chunk-JI36FNWE.js +0 -1361
- package/dist/chunk-JI36FNWE.js.map +0 -1
- /package/dist/{chunk-QH5OI43L.js.map → chunk-AS2EPMA6.js.map} +0 -0
- /package/dist/{chunk-W424KPCR.js.map → chunk-AXIM6E7T.js.map} +0 -0
- /package/dist/{chunk-QRUMXCGW.js.map → chunk-D4JBPAJ5.js.map} +0 -0
- /package/dist/{chunk-3RPWH5PC.js.map → chunk-FFSSAMHH.js.map} +0 -0
- /package/dist/{chunk-4U7L2NYQ.js.map → chunk-G4U6PSF6.js.map} +0 -0
- /package/dist/{chunk-UMVBT7NW.js.map → chunk-GWXY3MWQ.js.map} +0 -0
- /package/dist/{chunk-CNJZLZRH.js.map → chunk-LUM7J5FF.js.map} +0 -0
- /package/dist/{chunk-SAIW46IC.js.map → chunk-P7ABBLX6.js.map} +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -6,6 +6,49 @@ All notable changes are documented here. The format follows
|
|
|
6
6
|
|
|
7
7
|
## [Unreleased]
|
|
8
8
|
|
|
9
|
+
## [0.9.0] — 2026-10-16
|
|
10
|
+
|
|
11
|
+
### Added
|
|
12
|
+
- **An OpenAI-compatible API of the user's own** in the Connect dialog: add
|
|
13
|
+
`'openai-compatible'` to `createAi({ provider: [...], askKey: true })`
|
|
14
|
+
and the user gives its address (LM Studio, vLLM, Ollama on another
|
|
15
|
+
machine, a proxy…), a key only if it needs one, and a model from its
|
|
16
|
+
`/models` list. The address is remembered like the key. `ai.key` gains
|
|
17
|
+
`address(id?)`, `setAddress(url, id?)` and `ready()`; `listModels` takes
|
|
18
|
+
an `address`. A provider without a key of its own (Ollama) connects
|
|
19
|
+
without one, once a model is chosen.
|
|
20
|
+
- The live demo offers it too, and its language list is now a list of its
|
|
21
|
+
own instead of the browser's: by mouse, or by keyboard (arrows, Home/End,
|
|
22
|
+
type a letter, Enter, Esc).
|
|
23
|
+
|
|
24
|
+
### Changed
|
|
25
|
+
- The Connect dialog and the list of models show what is free in words
|
|
26
|
+
only: no gift icons.
|
|
27
|
+
- `ai.key.state().connected` is true once the provider in use can write:
|
|
28
|
+
its key (unless it needs none), its address and its model.
|
|
29
|
+
|
|
30
|
+
## [0.8.0] — 2026-10-16
|
|
31
|
+
|
|
32
|
+
### Added
|
|
33
|
+
- **German, Spanish, Portuguese (Brazil), Russian and Chinese** (Simplified),
|
|
34
|
+
built in next to English and French: `locale="de"`, `"es"`, `"pt"`, `"ru"`
|
|
35
|
+
or `"zh"` (`"de-AT"`, `"pt-PT"`, `"zh-CN"`… find them too). Every text is translated — the interface, the
|
|
36
|
+
starting templates, the server's messages and the AI module — and counts
|
|
37
|
+
are written so that no language needs plural forms.
|
|
38
|
+
- The live demo offers the seven languages in a list and opens in the
|
|
39
|
+
visitor's: their browser's language, else the country of their device's
|
|
40
|
+
time zone (read in the page, nothing is sent), else English; a language
|
|
41
|
+
picked is remembered. Its code samples follow the page: their comments and
|
|
42
|
+
`locale` change with the language.
|
|
43
|
+
- `npm run check:i18n` checks every built-in language.
|
|
44
|
+
|
|
45
|
+
### Changed
|
|
46
|
+
- **Documentation.** The README is now a short front page: what the
|
|
47
|
+
builder is, a quick start and where to read next. The reference moved to
|
|
48
|
+
`docs/`, one page per subject: getting started, editor and library,
|
|
49
|
+
server, variables and sending, AI, brand, languages and the security
|
|
50
|
+
model, with an index in `docs/README.md`. The project has a logo.
|
|
51
|
+
|
|
9
52
|
## [0.7.0] — 2026-10-15
|
|
10
53
|
|
|
11
54
|
### Added
|