levix-bot 4.7.0 → 4.8.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/README.md +12 -2
- package/package.json +1 -1
- package/public/dashboard/assets/index-B8E5IYlB.js +540 -0
- package/public/dashboard/assets/index-C5D4wzm4.css +2 -0
- package/public/dashboard/index.html +2 -2
- package/public/dashboard.css +29 -0
- package/src/commands/md.cjs +44 -0
- package/src/config/defaults.cjs +1 -0
- package/src/core/socket.js +23 -0
- package/src/handlers/command.handler.js +2 -1
- package/src/routes/dashboard.api.esm.js +74 -9
- package/src/utils/logger.cjs +88 -34
- package/src/utils/markdownParser.cjs +208 -136
- package/public/dashboard/assets/index-RnT7DAde.js +0 -540
- package/public/dashboard/assets/index-UcqCdCvG.css +0 -2
package/README.md
CHANGED
|
@@ -72,8 +72,8 @@ docker compose logs levix
|
|
|
72
72
|
Run Levix directly on an Android device (Android 10+, ARM64 or ARMv7) as a self-contained background companion:
|
|
73
73
|
|
|
74
74
|
1. Download **`levix-android-arm64.apk`** (64-bit phones) or **`levix-android-armv7.apk`** (32-bit phones) from [Releases](https://github.com/Abdodiab2005/levix/releases).
|
|
75
|
-
2. Install the APK and tap **Start
|
|
76
|
-
3. Tap **
|
|
75
|
+
2. Install the APK and tap **Start Assistant** — the big circle on the home screen.
|
|
76
|
+
3. Tap **Connect WhatsApp** to set your panel password and link WhatsApp via an 8-character pairing code.
|
|
77
77
|
|
|
78
78
|
See [ANDROID.md](ANDROID.md) for full instructions, OEM battery optimizations (Xiaomi, Samsung, OnePlus), and offline handling.
|
|
79
79
|
|
|
@@ -118,6 +118,16 @@ several tool rounds, search the web, read a page, save long-term memories, and
|
|
|
118
118
|
manage bot roles. It narrates progress by editing one WhatsApp message and lists
|
|
119
119
|
sources when it uses web search.
|
|
120
120
|
|
|
121
|
+
AI answers are formatted for WhatsApp automatically: `**bold**` becomes `*bold*`,
|
|
122
|
+
`__italic__` becomes `_italic_`, and tables become named entries with labeled
|
|
123
|
+
bullet points. Headings, lists, checkboxes, strikethrough and links are converted;
|
|
124
|
+
code contents and URLs are preserved.
|
|
125
|
+
|
|
126
|
+
Use `!md` (or `!markdown`) to convert text from any other AI or message, without
|
|
127
|
+
an AI key. Reply to that message with `!md`, or paste Markdown after the command,
|
|
128
|
+
including multiline tables and code. For example: `!md **Bold** and __italic__`.
|
|
129
|
+
Existing WhatsApp `*bold*` and `_italic_` text keeps its formatting.
|
|
130
|
+
|
|
121
131
|
AI is optional. The rest of Levix works without an AI key.
|
|
122
132
|
|
|
123
133
|
### Persistent schedules and memory
|