@mulmobridge/discord 0.1.2 → 1.0.1

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
@@ -11,6 +11,7 @@
11
11
  import "dotenv/config";
12
12
  import { Client, GatewayIntentBits, Partials } from "discord.js";
13
13
  import { createBridgeClient } from "@mulmobridge/client";
14
+ import { parseCsvSet } from "@mulmoclaude/common";
14
15
  const TRANSPORT_ID = "discord";
15
16
  const MAX_DISCORD_LENGTH = 2000;
16
17
  const token = process.env.DISCORD_BOT_TOKEN;
@@ -18,10 +19,7 @@ if (!token) {
18
19
  console.error("DISCORD_BOT_TOKEN is required.\nSee README for setup instructions.");
19
20
  process.exit(1);
20
21
  }
21
- const allowedChannels = new Set((process.env.DISCORD_ALLOWED_CHANNELS ?? "")
22
- .split(",")
23
- .map((channelId) => channelId.trim())
24
- .filter(Boolean));
22
+ const allowedChannels = parseCsvSet(process.env.DISCORD_ALLOWED_CHANNELS);
25
23
  const allowAll = allowedChannels.size === 0;
26
24
  const discord = new Client({
27
25
  intents: [GatewayIntentBits.Guilds, GatewayIntentBits.GuildMessages, GatewayIntentBits.DirectMessages, GatewayIntentBits.MessageContent],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mulmobridge/discord",
3
- "version": "0.1.2",
3
+ "version": "1.0.1",
4
4
  "description": "Discord bridge for MulmoBridge — connect a Discord bot to MulmoClaude",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -16,18 +16,37 @@
16
16
  "build": "tsc",
17
17
  "prepack": "yarn build",
18
18
  "typecheck": "tsc --noEmit",
19
- "test": "echo no tests yet"
19
+ "test": "echo no tests yet",
20
+ "lint": "eslint src"
20
21
  },
21
22
  "license": "MIT",
22
23
  "author": "Receptron Team",
23
24
  "dependencies": {
24
- "@mulmobridge/client": "^0.1.4",
25
- "@mulmobridge/protocol": "^0.1.4",
25
+ "@mulmobridge/client": "^1.0.1",
26
+ "@mulmobridge/protocol": "^1.0.1",
27
+ "@mulmoclaude/common": "^1.1.1",
26
28
  "discord.js": "^14.27.0",
27
29
  "dotenv": "^17.0.0"
28
30
  },
29
31
  "devDependencies": {
30
32
  "@types/node": "^26.1.1",
31
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"
32
51
  }
33
52
  }