@thesashadev/girl-agent 0.1.2 → 0.1.3

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 CHANGED
@@ -1,5 +1,12 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.1.3 — Telegram formatting fix
4
+
5
+ Дата: 2026-05-05
6
+
7
+ - Исправлено: включён `parse_mode: "MarkdownV2"` для отправки сообщений в Telegram (bot и userbot).
8
+ - Теперь поддерживается форматирование спойлеров `||текст||` и другие MarkdownV2-стили.
9
+
3
10
  ## 0.1.2 — communication realism update
4
11
 
5
12
  Дата: 2026-05-05
package/LICENSE CHANGED
@@ -1,31 +1,31 @@
1
- girl-agent Source-Available Non-Commercial License
2
-
3
- Copyright (c) 2026 girl-agent contributors.
4
- All rights reserved except as expressly stated below.
5
-
6
- Permission is granted to view, download, clone, and run this software
7
- for personal, educational, evaluation, and non-commercial testing purposes.
8
-
9
- Permission is also granted to create forks and submit issues, pull requests,
10
- bug reports, patches, and improvement suggestions to the original repository.
11
-
12
- You may modify the software only for the purpose of personal testing,
13
- evaluation, or contributing improvements back to the original project.
14
-
15
- You may not, without prior written permission from the copyright holder:
16
-
17
- 1. use this software or substantial portions of it for commercial purposes;
18
- 2. sell, rent, sublicense, host, or provide this software as a paid service;
19
- 3. publish or distribute a competing product or public clone based on this software;
20
- 4. use this software in a commercial product, service, or company project;
21
- 5. remove or alter copyright notices, attribution, or license terms;
22
- 6. relicense this software under another license;
23
- 7. use the project name, branding, logo, documentation, or assets in a way that suggests endorsement or ownership.
24
-
25
- Any contribution submitted to the original repository, including pull requests,
26
- patches, issues, ideas, documentation changes, or code suggestions, may be used,
27
- modified, and distributed by the project maintainers as part of this project.
28
-
29
- This license does not grant any trademark rights.
30
-
1
+ girl-agent Source-Available Non-Commercial License
2
+
3
+ Copyright (c) 2026 girl-agent contributors.
4
+ All rights reserved except as expressly stated below.
5
+
6
+ Permission is granted to view, download, clone, and run this software
7
+ for personal, educational, evaluation, and non-commercial testing purposes.
8
+
9
+ Permission is also granted to create forks and submit issues, pull requests,
10
+ bug reports, patches, and improvement suggestions to the original repository.
11
+
12
+ You may modify the software only for the purpose of personal testing,
13
+ evaluation, or contributing improvements back to the original project.
14
+
15
+ You may not, without prior written permission from the copyright holder:
16
+
17
+ 1. use this software or substantial portions of it for commercial purposes;
18
+ 2. sell, rent, sublicense, host, or provide this software as a paid service;
19
+ 3. publish or distribute a competing product or public clone based on this software;
20
+ 4. use this software in a commercial product, service, or company project;
21
+ 5. remove or alter copyright notices, attribution, or license terms;
22
+ 6. relicense this software under another license;
23
+ 7. use the project name, branding, logo, documentation, or assets in a way that suggests endorsement or ownership.
24
+
25
+ Any contribution submitted to the original repository, including pull requests,
26
+ patches, issues, ideas, documentation changes, or code suggestions, may be used,
27
+ modified, and distributed by the project maintainers as part of this project.
28
+
29
+ This license does not grant any trademark rights.
30
+
31
31
  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND.
package/dist/cli.js CHANGED
@@ -177,7 +177,7 @@ function makeUserbotAdapter(cfg) {
177
177
  },
178
178
  async editLastMessage(chatId, messageId, text) {
179
179
  const peer = await resolvePeer(chatId);
180
- await client.editMessage(peer, { message: messageId, text });
180
+ await client.editMessage(peer, { message: messageId, text, parseMode: "MarkdownV2" });
181
181
  },
182
182
  async deleteMessages(chatId, messageIds, revoke = false) {
183
183
  const peer = await resolvePeer(chatId);
@@ -275,7 +275,7 @@ function makeBotAdapter(cfg) {
275
275
  });
276
276
  },
277
277
  async sendText(chatId, text) {
278
- const msg = await bot.api.sendMessage(chatId, text);
278
+ const msg = await bot.api.sendMessage(chatId, text, { parse_mode: "MarkdownV2" });
279
279
  return msg.message_id;
280
280
  },
281
281
  async setTyping(chatId, on) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thesashadev/girl-agent",
3
- "version": "0.1.2",
3
+ "version": "0.1.3",
4
4
  "description": "Telegram AI persona engine with memory, schedule, relationship state and MTProto userbot mode.",
5
5
  "type": "module",
6
6
  "bin": {