deep-space-relay 0.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 ADDED
@@ -0,0 +1,46 @@
1
+ # Deep Space Relay
2
+
3
+ **Chat with our astronauts while they are in deep space.**
4
+
5
+ Message your OpenCode agents directly via Telegram. Each project gets its own chat, and every session has a dedicated thread for real-time interaction.
6
+
7
+ ## Features
8
+
9
+ * **Per Project Chat:** Each workspace can have its own dedicated Telegram Forum Topic.
10
+ * **Session Threads:** Every agent session has its own thread within the project chat.
11
+ * **Message Your Agents:** Send messages that inject directly into the agent's context.
12
+ * **Remote Control:** Stop execution (`/stop`) and manage sessions. (Tool approval coming soon when OpenCode supports it).
13
+ * **Live Updates:** Agents broadcast status and send idle reminders.
14
+
15
+ ## Quick Start
16
+
17
+ ### 1. Setup & Configure
18
+ Run the interactive setup to configure your Telegram bot token and chat ID:
19
+
20
+ ```bash
21
+ npx deep-space-relay setup
22
+ ```
23
+
24
+ ### 2. Start the Daemon
25
+ The daemon bridges OpenCode and Telegram. Keep it running in the background:
26
+
27
+ ```bash
28
+ npx deep-space-relay start
29
+ ```
30
+
31
+ ### 3. Enable in OpenCode
32
+ Add the plugin to your `~/.config/opencode/opencode.jsonc`:
33
+
34
+ ```jsonc
35
+ {
36
+ "plugins": [
37
+ "deep-space-relay" // Requires global install
38
+ ]
39
+ }
40
+ ```
41
+
42
+ ## Commands
43
+
44
+ * `npx deep-space-relay status` - Check daemon connection.
45
+ * `npx deep-space-relay stop` - Stop the background daemon.
46
+ * `npx deep-space-relay help` - Show all commands.