You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
All checks (Lint, Types, Format, Tests, and Windows Build) have been executed in a unified environment.
152
+
| Stage | Status |
153
+
|-------|--------|
154
+
| 🔬 Code Quality | ${check(qualityStatus)} |
155
+
| 🧪 Unit Tests | ${check(testStatus)} |
156
+
| 🏗️ Build EXE | ${check(buildStatus)} |
89
157
90
-
${status === 'success' ? 'The standalone EXE was built successfully and is ready for release! 🎉' : 'Please check the logs to resolve issues before merging.'}`;
158
+
${buildStatus === 'success' ? 'Ready for merge and release! 🎉' : 'Please resolve the issues above.'}`;
Copy file name to clipboardExpand all lines: CHANGELOG.md
+13Lines changed: 13 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,32 +5,38 @@ All notable changes to this project will be documented in this file.
5
5
## [1.2.0] - 2026-02-05
6
6
7
7
### Added
8
+
8
9
-**Standalone Executable**: Added support for building a single, standalone `.exe` (for Windows) or binary (for Linux/macOS) using Node.js SEA (Single Executable Applications). Users can now run the bot without having Node.js installed.
9
10
-**New `/diff` Command**: Added a slash command to view current git changes in the project or active worktree directly from Discord. Supports optional `--staged` flag.
10
11
-**Build System**: Added `scripts/build-sea.js` to automate the process of bundling, SEA blob generation, and binary injection.
11
12
-**Node 24 Support**: Verified compatibility and optimized the codebase for Node.js 24.
12
13
13
14
### Changed
15
+
14
16
-**Modernized Dependencies**: Upgraded `discord.js` to `v14.25.1`, `commander` to `v14.0.3`, and `open` to `v11.0.0`.
15
17
-**Improved SEA Compatibility**: Added runtime shims for `import.meta.url` and `require` to support modern ESM packages in a bundled environment.
16
18
-**Noise Reduction**: Implemented custom warning suppression to silence Node.js SEA-specific native warnings on startup.
17
19
18
20
### Fixed
21
+
19
22
-**Security Hardening**: Fixed a moderate security vulnerability in `undici` (resource exhaustion) by forcing version `^6.23.0` via dependency overrides.
20
23
-**Cleaned Dependencies**: Removed unused `node-pty` dependency to simplify the build process and reduce binary size.
21
24
22
25
## [1.1.1] - 2026-02-05
23
26
24
27
### Added
28
+
25
29
- Documentation for `/model` and `/setports` slash commands in README.
26
30
27
31
### Security
32
+
28
33
-**Hardened Server Binding**: All OpenCode server instances are now strictly bound to `127.0.0.1` to prevent unauthorized remote access.
29
34
-**Improved Testing**: Added regression tests for server lifecycle and port management.
30
35
31
36
## [1.1.0] - 2026-02-05
32
37
33
38
### Added
39
+
34
40
-**Automated Message Queuing**: Added a new system to queue multiple prompts in a thread. If the bot is busy, new messages are automatically queued and processed sequentially.
35
41
-**Fresh Context Mode**: Each queued job can optionally start with a fresh AI conversation context (new session) while maintaining the same code state.
36
42
-**Queue Management**: New `/queue` slash command suite to list, clear, pause, resume, and configure queue settings.
@@ -40,15 +46,18 @@ All notable changes to this project will be documented in this file.
40
46
-**Visual Feedback**: The bot now reacts with `📥` when a message is successfully queued via chat.
41
47
42
48
### Changed
49
+
43
50
-**Refactored Execution Logic**: Moved core prompt execution to a dedicated `executionService` for better reliability and code reuse.
44
51
45
52
## [1.0.11] - 2026-02-04
46
53
47
54
### Added
55
+
48
56
- Model confirmation in Discord messages: The bot now displays which model is being used when starting a session.
49
57
- Real-time logging: Added always-on logging for `opencode serve` startup commands, working directories, and process output (stdout/stderr) for easier debugging.
50
58
51
59
### Fixed
60
+
52
61
- Fixed `opencode serve` startup failures: The bot now correctly detects when the server fails to start immediately and reports the actual error message to Discord instead of timing out after 30 seconds.
53
62
- Resolved `--model` flag error: Moved model selection from the `opencode serve` command (where it was unsupported) to the prompt API.
54
63
- Fixed Model API format: Correctly formatted model identifiers as objects (`{ providerID, modelID }`) as required by the OpenCode API.
@@ -59,9 +68,11 @@ All notable changes to this project will be documented in this file.
59
68
## [1.0.10] - 2026-02-04
60
69
61
70
### Added
71
+
62
72
- New `/setports` slash command to configure the port range for OpenCode server instances.
63
73
64
74
### Fixed
75
+
65
76
- Fixed Windows-specific spawning issue where the bot failed to find the `opencode` command (now targeting `opencode.cmd`).
66
77
- Resolved `spawn EINVAL` errors on Windows by correctly configuring shell execution.
67
78
- Fixed a crash where the bot would attempt to pass an unsupported `--model` flag to `opencode serve`.
@@ -72,11 +83,13 @@ All notable changes to this project will be documented in this file.
72
83
## [1.0.9] - 2026-02-04
73
84
74
85
### Added
86
+
75
87
- New `/model` slash command to list and set AI models per channel.
76
88
- Support for `--model` flag in OpenCode server instances.
77
89
- Persistent storage for channel-specific model preferences.
78
90
79
91
### Fixed
92
+
80
93
- Fixed a connection timeout issue where the bot failed to connect to the internal `opencode serve` process.
81
94
- Added `--hostname 0.0.0.0` to the `opencode serve` command to ensure the service is reachable.
82
95
- Standardized internal communication to use `127.0.0.1` instead of `localhost` to avoid IPv6 resolution conflicts on some systems.
0 commit comments