@comfanion/workflow 4.36.20 → 4.36.21

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@comfanion/workflow",
3
- "version": "4.36.20",
3
+ "version": "4.36.21",
4
4
  "description": "Initialize OpenCode Workflow system for AI-assisted development with semantic code search",
5
5
  "type": "module",
6
6
  "bin": {
@@ -1,6 +1,6 @@
1
1
  {
2
- "version": "4.36.20",
3
- "buildDate": "2026-01-24T17:33:20.798Z",
2
+ "version": "4.36.21",
3
+ "buildDate": "2026-01-24T17:35:27.690Z",
4
4
  "files": [
5
5
  "config.yaml",
6
6
  "FLOW.yaml",
@@ -40,7 +40,7 @@ Checks for updates and shows a toast notification if a newer version is availabl
40
40
  - Checks npm registry for latest @comfanion/workflow version
41
41
  - Compares with locally installed version
42
42
  - Shows toast notification if update available
43
- - Caches check result for 24 hours (avoids spam)
43
+ - Caches check result for 1 hour
44
44
  - Supports EN/UK/RU languages
45
45
 
46
46
  **Toast Example:**
@@ -12,7 +12,7 @@ import https from "https"
12
12
  * Configuration in .opencode/config.yaml:
13
13
  * version_check:
14
14
  * enabled: true # Enable version checking
15
- * check_interval: 86400000 # Check once per day (ms)
15
+ * check_interval: 3600000 # Check once per hour (ms)
16
16
  */
17
17
 
18
18
  const DEBUG = process.env.DEBUG?.includes('version-check') || process.env.DEBUG === '*'
@@ -118,7 +118,7 @@ async function getLanguage(directory: string): Promise<'en' | 'uk' | 'ru'> {
118
118
  }
119
119
 
120
120
  export const VersionCheckPlugin: Plugin = async ({ directory, client }) => {
121
- const CHECK_INTERVAL = 24 * 60 * 60 * 1000 // 24 hours
121
+ const CHECK_INTERVAL = 60 * 60 * 1000 // 1 hour (you release often! 🚀)
122
122
 
123
123
  const toast = async (message: string, variant: 'info' | 'success' | 'error' = 'info') => {
124
124
  try {