morpheus-cli 0.3.1 → 0.3.2
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.
|
@@ -68,14 +68,14 @@ export class TelegramAdapter {
|
|
|
68
68
|
// Process with Agent
|
|
69
69
|
const response = await this.oracle.chat(text);
|
|
70
70
|
if (response) {
|
|
71
|
-
await ctx.reply(response
|
|
72
|
-
this.display.log(`Responded to @${user}`, { source: 'Telegram' });
|
|
71
|
+
await ctx.reply(response);
|
|
72
|
+
this.display.log(`Responded to @${user}: ${response}`, { source: 'Telegram' });
|
|
73
73
|
}
|
|
74
74
|
}
|
|
75
75
|
catch (error) {
|
|
76
76
|
this.display.log(`Error processing message for @${user}: ${error.message}`, { source: 'Telegram', level: 'error' });
|
|
77
77
|
try {
|
|
78
|
-
await ctx.reply("Sorry, I encountered an error while processing your request.");
|
|
78
|
+
await ctx.reply("Sorry, I encountered an error while processing your request. " + error.message);
|
|
79
79
|
}
|
|
80
80
|
catch (e) {
|
|
81
81
|
// Ignore reply error
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "morpheus-cli",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.2",
|
|
4
4
|
"description": "Morpheus is a local AI agent for developers, running as a CLI daemon that connects to LLMs, local tools, and MCPs, enabling interaction via Terminal, Telegram, and Discord. Inspired by the character Morpheus from *The Matrix*, the project acts as an intelligent orchestrator, bridging the gap between the developer and complex systems.",
|
|
5
5
|
"bin": {
|
|
6
6
|
"morpheus": "./bin/morpheus.js"
|