@mulmobridge/discord 1.0.0 → 1.0.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.
package/README.md CHANGED
@@ -108,6 +108,13 @@ Part of the [`@mulmobridge/*`](https://www.npmjs.com/~mulmobridge) package famil
108
108
  - [`@mulmobridge/xmpp`](https://www.npmjs.com/package/@mulmobridge/xmpp) — XMPP / Jabber
109
109
  - [`@mulmobridge/zulip`](https://www.npmjs.com/package/@mulmobridge/zulip) — Zulip
110
110
 
111
+ ## Related projects
112
+
113
+ Published from the MulmoClaude monorepo by [Receptron](https://github.com/receptron).
114
+
115
+ - **[MulmoClaude](https://github.com/receptron/mulmoclaude)** — an open-source AI assistant platform that runs on your own computer. Claude Code as the engine, a personal wiki for long-term memory, schema-driven collections for your data, and chat that summons the right GUI (markdown, charts, forms, spreadsheets, wikis) for each task.
116
+ - **[MulmoTerminal](https://github.com/receptron/mulmoterminal)** — a terminal-first cockpit for running many AI coding agents in parallel. One roster showing every session's summary and PR status, tmux-backed session persistence, git-worktree isolation, one-click PRs, and mobile push with remote reply.
117
+ - **[MulmoTerminal manual](https://receptron.github.io/mulmoterminal/)** — setup, workflows, feature reference, configuration, mobile notifications, and alternative / local model providers. Available in English and Japanese.
111
118
 
112
119
  ## License
113
120
 
package/dist/index.js CHANGED
@@ -34,9 +34,8 @@ mulmo.onPush((pushEvent) => {
34
34
  async function onPushEvent(pushEvent) {
35
35
  try {
36
36
  const channel = discord.channels.cache.get(pushEvent.chatId) ?? (await discord.channels.fetch(pushEvent.chatId).catch(() => null));
37
- if (channel?.isTextBased() && "send" in channel) {
38
- const sendable = channel;
39
- await sendChunkedToSendable(sendable, pushEvent.message);
37
+ if (channel?.isTextBased() && channel.isSendable()) {
38
+ await sendChunkedToSendable(channel, pushEvent.message);
40
39
  }
41
40
  else {
42
41
  console.warn(`[discord] push: channel ${pushEvent.chatId} not found or not text-based`);
@@ -83,7 +82,7 @@ async function sendChunked(msg, text) {
83
82
  if (i === 0) {
84
83
  await msg.reply(chunk);
85
84
  }
86
- else if ("send" in msg.channel) {
85
+ else if (msg.channel.isSendable()) {
87
86
  await msg.channel.send(chunk);
88
87
  }
89
88
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mulmobridge/discord",
3
- "version": "1.0.0",
3
+ "version": "1.0.2",
4
4
  "description": "Discord bridge for MulmoBridge — connect a Discord bot to MulmoClaude",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -22,14 +22,31 @@
22
22
  "license": "MIT",
23
23
  "author": "Receptron Team",
24
24
  "dependencies": {
25
- "@mulmobridge/client": "^1.0.0",
26
- "@mulmobridge/protocol": "^1.0.0",
27
- "@mulmoclaude/common": "^1.1.0",
25
+ "@mulmobridge/client": "^1.0.1",
26
+ "@mulmobridge/protocol": "^1.0.1",
27
+ "@mulmoclaude/common": "^1.1.1",
28
28
  "discord.js": "^14.27.0",
29
29
  "dotenv": "^17.0.0"
30
30
  },
31
31
  "devDependencies": {
32
- "@types/node": "^26.1.1",
32
+ "@types/node": "^26.1.2",
33
33
  "typescript": "^6.0.3"
34
+ },
35
+ "homepage": "https://github.com/receptron/mulmoclaude/tree/main/packages/bridges/discord#readme",
36
+ "repository": {
37
+ "type": "git",
38
+ "url": "git+https://github.com/receptron/mulmoclaude.git",
39
+ "directory": "packages/bridges/discord"
40
+ },
41
+ "keywords": [
42
+ "discord",
43
+ "mulmobridge",
44
+ "chatbot",
45
+ "bridge",
46
+ "ai-agent",
47
+ "mulmoclaude"
48
+ ],
49
+ "bugs": {
50
+ "url": "https://github.com/receptron/mulmoclaude/issues"
34
51
  }
35
52
  }