@bybrawe/opencode-loop 0.5.1 → 0.5.6

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/CHANGELOG.md CHANGED
@@ -1,5 +1,31 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.5.6
4
+
5
+ - Added clearer README examples for prompt loops, scheduled question loops, OpenCode slash-command loops, shell loops, first-run timing, and idle-safe behavior.
6
+ - Stabilized `/loop-command 200m /compact` by routing `/compact` and `/summarize` through OpenCode TUI compact handling instead of treating them as custom prompt commands.
7
+ - Clarified that command loops wait for idle and should be used for slash commands such as `/compact`.
8
+ - Kept fallback compatibility with older SDK-style calls where possible.
9
+
10
+ ## 0.5.5
11
+
12
+ - Added explicit loop action types for prompt loops, scheduled question/check loops, OpenCode slash-command loops, and shell-command loops.
13
+ - Added `/loop-command` and `/loop-cmd` for scheduled OpenCode commands such as `/compact`. These wait for the first interval by default and run only when OpenCode is idle.
14
+ - Added `/loop-ask` for recurring check prompts such as “did you run tests, tsc --noEmit, and build?” It waits for the first interval by default.
15
+ - Added `/loop-prompt` to force prompt mode.
16
+ - Added `/loop-shell` for recurring shell commands.
17
+ - Added `/loop` type flags: `--prompt`, `--ask`, `--command`, `--cmd`, `--slash`, `--shell`, and `--compact`.
18
+ - Clarified README examples for scheduled `/compact`, hourly quality checks, and idle-safe timing.
19
+ - Added `publishConfig.access=public` and normalized npm bin paths.
20
+
21
+ ## 0.5.4
22
+
23
+ - Fixed compatibility with recent OpenCode SDK/TUI call shapes.
24
+ - Updated session prompt, shell, and toast calls for current OpenCode while keeping backwards-compatible fallbacks.
25
+ - Added `session.status` idle gating and debounce so loop runs wait for OpenCode to become idle and do not stack on busy/queued turns.
26
+ - Improved runtime logging for prompt/shell/toast failures.
27
+ - Fixed the known update-related symptoms where `/loop` could appear queued, stay at `runs=0`, or only work intermittently after OpenCode updates.
28
+
3
29
  ## 0.5.0
4
30
 
5
31
  - Added `opencode-loopd` background daemon for long-running loops outside the OpenCode TUI.