disunday 1.0.9 โ†’ 1.0.11

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.
Files changed (2) hide show
  1. package/README.md +45 -12
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -10,12 +10,14 @@
10
10
 
11
11
  Disunday is a Discord bot that lets you control [OpenCode](https://opencode.ai) coding sessions from Discord. Send a message in a Discord channel โ†’ an AI agent edits code on your machine.
12
12
 
13
+ > **Using Claude Code?** Check out [sleep-code](https://github.com/cheeselemon/sleep-code) - a sibling project that brings the same Discord-controlled coding experience to Claude Code.
14
+
13
15
  > **Fun fact:** This project is being developed using Disunday itself - lying on a couch, controlling OpenCode through Discord on a phone.
14
16
 
15
17
  ## Quick Start
16
18
 
17
19
  ```bash
18
- npx disunday
20
+ npx disunday@latest
19
21
  ```
20
22
 
21
23
  The CLI will guide you through:
@@ -29,7 +31,7 @@ The CLI will guide you through:
29
31
  Copy this prompt to your AI coding agent (Claude Code, Cursor, OpenCode, etc.):
30
32
 
31
33
  ```
32
- Set up Disunday Discord bot for me by running `npx disunday`.
34
+ Set up Disunday Discord bot for me by running `npx disunday@latest`.
33
35
 
34
36
  The CLI will guide me through Discord bot setup, but help me with:
35
37
  - Creating a Discord bot at https://discord.com/developers/applications
@@ -343,7 +345,7 @@ When a hub channel is configured, session completions send notifications:
343
345
  ๐Ÿงต thread-name (link)
344
346
  ```
345
347
 
346
- ### Reaction Commands (Beta)
348
+ ### Reaction Commands
347
349
 
348
350
  Add emoji reactions to messages in threads to trigger quick actions:
349
351
 
@@ -355,7 +357,7 @@ Add emoji reactions to messages in threads to trigger quick actions:
355
357
 
356
358
  To use: manually add the emoji reaction to any message in the thread. The bot detects the reaction and performs the action. Reactions are automatically removed after the action is triggered.
357
359
 
358
- ### Context Menu Commands (Beta)
360
+ ### Context Menu Commands
359
361
 
360
362
  Right-click (or long-press on mobile) on any message in a session thread, then select **Apps** to access:
361
363
 
@@ -384,7 +386,7 @@ On startup, the bot checks npm for newer versions. If an update is available, yo
384
386
  Run: npx disunday@latest
385
387
  ```
386
388
 
387
- ### Progress Indicator (Beta)
389
+ ### Progress Indicator
388
390
 
389
391
  During long sessions, periodic updates show elapsed time:
390
392
 
@@ -575,7 +577,7 @@ Use `--notify-only` for notifications that don't need immediate AI response (e.g
575
577
 
576
578
  **Graceful Restart** - Send `SIGUSR2` to restart the bot with new code without losing connections.
577
579
 
578
- ## Model & Agent Configuration
580
+ ## Model Configuration
579
581
 
580
582
  Set the AI model in your project's `opencode.json`:
581
583
 
@@ -594,19 +596,50 @@ Format: `provider/model-name`
594
596
  - `openai/gpt-4o` - GPT-4o
595
597
  - `google/gemini-2.5-pro` - Gemini 2.5 Pro
596
598
 
597
- Or use these Discord commands to change settings per channel/session:
599
+ Or use `/model` in Discord to change the model per channel or session.
600
+
601
+ ## oh-my-opencode Integration
602
+
603
+ Disunday officially supports and endorses [oh-my-opencode](https://github.com/code-yeongyu/oh-my-opencode) - a powerful agent framework that extends OpenCode with specialized agents like Prometheus (planning), Oracle (architecture), Hephaestus (implementation), and more.
604
+
605
+ ### Agent Commands
606
+
607
+ | Command | Description |
608
+ | ------- | ----------- |
609
+ | `/agent` | Select an agent from dropdown menu |
610
+ | `/prometheus-agent` | Switch to Prometheus (planning agent) |
611
+ | `/oracle-agent` | Switch to Oracle (architecture consultant) |
612
+ | `/hephaestus-agent` | Switch to Hephaestus (implementation) |
613
+ | `/<agent-name>-agent` | Quick switch to any configured agent |
614
+
615
+ Quick agent commands are auto-generated from your project's agent configuration. Only agents with `mode: "primary"` or `mode: "all"` appear as commands.
616
+
617
+ ### Agent Features
618
+
619
+ **Agent persistence** - Set a default agent per channel with `/agent`. All new sessions in that channel use that agent. Override per-session by running `/agent` inside a thread.
620
+
621
+ **Agent tag in thread name** - When you switch agents in a session, the thread name updates with a tag:
622
+ ```
623
+ Fix login bug โ†’ Fix login bug [hephaestus]
624
+ ```
625
+
626
+ **Automatic model selection** - Each agent can have its own model configured. Priority order:
627
+ 1. Session model (set via `/model` in thread)
628
+ 2. Agent model (from agent config)
629
+ 3. Channel model (set via `/model` in channel)
630
+ 4. Project default
631
+
632
+ ### Setting Up Agents
598
633
 
599
- - `/model` - Select a different AI model
600
- - `/agent` - Select a different agent (if you have multiple agents configured in your project)
601
- - `/login` - Authenticate with providers via OAuth or API key
634
+ Agents are configured in your OpenCode project. See the [oh-my-opencode documentation](https://github.com/code-yeongyu/oh-my-opencode) for setup instructions.
602
635
 
603
- When you switch agents in a session thread, the thread name is updated with the agent tag (e.g., `Fix login bug [hephaestus]`) so you can easily see which agent is active.
636
+ Once configured, restart Disunday to register the quick agent commands (`/prometheus-agent`, etc.).
604
637
 
605
638
  ---
606
639
 
607
640
  ## Sponsors
608
641
 
609
- <a href="https://redimo.dev"><img src="https://redimo.dev/logo.png" alt="Redimo" height="40"></a>
642
+ <a href="https://redimo.dev"><img src="https://www.redimo.dev/logo/logo.png" alt="Redimo" height="40"></a>
610
643
 
611
644
  ## Credits
612
645
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "disunday",
3
3
  "type": "module",
4
- "version": "1.0.9",
4
+ "version": "1.0.11",
5
5
  "description": "Discord bot for controlling OpenCode coding sessions",
6
6
  "author": "code-xhyun",
7
7
  "license": "MIT",