@comfanion/workflow 4.23.0 → 4.24.0

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.23.0",
3
+ "version": "4.24.0",
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
2
  "version": "3.0.0",
3
- "buildDate": "2026-01-24T11:27:29.244Z",
3
+ "buildDate": "2026-01-24T11:30:49.201Z",
4
4
  "files": [
5
5
  "config.yaml",
6
6
  "FLOW.yaml",
@@ -128,22 +128,24 @@ export const FileIndexerPlugin: Plugin = async ({ directory }) => {
128
128
  * Event handler for file events
129
129
  */
130
130
  event: async ({ event }) => {
131
- console.log(`[file-indexer] 📨 Event: ${event.type}`)
131
+ // Log ALL events with full data structure
132
+ const eventData = JSON.stringify(event.data || {}, null, 2).slice(0, 500)
133
+ console.log(`[file-indexer] 📨 Event: ${event.type}\n${eventData}`)
132
134
 
133
135
  // file.edited - when agent edits a file via Edit tool
134
136
  if (event.type === "file.edited") {
135
- const filePath = event.data?.path || event.data?.filePath
137
+ const filePath = event.data?.path || event.data?.filePath || event.data?.file
138
+ console.log(`[file-indexer] 📝 file.edited detected, path: ${filePath}`)
136
139
  if (filePath) {
137
- console.log(`[file-indexer] 📝 file.edited: ${filePath}`)
138
140
  queueFileForIndexing(filePath)
139
141
  }
140
142
  }
141
143
 
142
144
  // file.watcher.updated - when file changes on disk (external or internal)
143
145
  if (event.type === "file.watcher.updated") {
144
- const filePath = event.data?.path || event.data?.filePath
146
+ const filePath = event.data?.path || event.data?.filePath || event.data?.file
147
+ console.log(`[file-indexer] 👁️ file.watcher.updated detected, path: ${filePath}`)
145
148
  if (filePath) {
146
- console.log(`[file-indexer] 👁️ file.watcher.updated: ${filePath}`)
147
149
  queueFileForIndexing(filePath)
148
150
  }
149
151
  }
@@ -156,7 +158,9 @@ export const FileIndexerPlugin: Plugin = async ({ directory }) => {
156
158
  const toolName = input.tool?.toLowerCase()
157
159
  const filePath = input.args?.filePath
158
160
 
159
- console.log(`[file-indexer] 🔧 tool.execute.after: ${toolName}`)
161
+ // Log full input structure
162
+ console.log(`[file-indexer] 🔧 tool.execute.after: ${toolName}, filePath: ${filePath}`)
163
+ console.log(`[file-indexer] 🔧 input.args: ${JSON.stringify(input.args || {}, null, 2).slice(0, 300)}`)
160
164
 
161
165
  if ((toolName === "edit" || toolName === "write" || toolName === "patch") && filePath) {
162
166
  console.log(`[file-indexer] 📝 Tool edited file: ${filePath}`)