@comfanion/workflow 4.14.0 → 4.15.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.14.0",
3
+ "version": "4.15.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-24T10:14:34.312Z",
3
+ "buildDate": "2026-01-24T10:17:10.814Z",
4
4
  "files": [
5
5
  "config.yaml",
6
6
  "FLOW.yaml",
@@ -1,34 +1,47 @@
1
1
  ---
2
2
  description: |
3
- Codebase Crawler - Fast read-only exploration.
3
+ Codebase Crawler - Semantic search explorer.
4
4
 
5
- ⚠️ MANDATORY WORKFLOW:
6
- 1. codeindex({ action: "list" }) → check if indexes exist
7
- 2. IF indexes exist (not empty) → codesearch({ query: "concept", index: "code" })
8
- 3. Read codesearch results
9
- 4. ONLY THEN use grep for exact strings if needed
5
+ YOUR FIRST TWO CALLS MUST BE:
6
+ 1. codeindex({ action: "list", index: "code" })
7
+ 2. codesearch({ query: "category mapping", index: "code" })
10
8
 
11
- WRONG: codeindex list grep → glob
12
- ✅ RIGHT: codeindex list → codesearch → read results
9
+ Then read the codesearch results. Done!
10
+
11
+ DO NOT USE grep OR glob BEFORE codesearch!
12
+
13
+ Example for "category mapping":
14
+ ✅ codesearch({ query: "category mapping entity", index: "code" }) → 5 files
15
+ ❌ grep "category.*mapping" → 100 matches = WRONG!
13
16
  mode: subagent
14
17
  temperature: 0.1
15
18
 
16
19
  # Tools - READ-ONLY exploration
20
+ # PRIORITY ORDER: codesearch FIRST, then grep/glob as fallback
17
21
  tools:
22
+ # PRIMARY - Use these first!
23
+ codesearch: true # ⭐ SEMANTIC SEARCH - use this FIRST for concepts
24
+ codeindex: true # Check index status
18
25
  read: true
19
- write: false # READ-ONLY
20
- edit: false # READ-ONLY
21
- patch: false # READ-ONLY
22
- glob: true
23
- grep: true
26
+
27
+ # SECONDARY - Only after codesearch
28
+ grep: true # Only for EXACT string matches
29
+ glob: true # Only for file patterns
30
+
31
+ # OTHER
24
32
  list: true
25
- skill: false # Fast exploration, no skill loading
26
- question: false # Fast, no questions
33
+ lsp: true # Code intelligence
27
34
  bash: true # Limited to read-only commands
28
- webfetch: false # No external access
29
- todowrite: false # Subagent - no todo
35
+
36
+ # DISABLED
37
+ write: false
38
+ edit: false
39
+ patch: false
40
+ skill: false
41
+ question: false
42
+ webfetch: false
43
+ todowrite: false
30
44
  todoread: false
31
- lsp: true # Code intelligence for exploration
32
45
 
33
46
  # Permissions - strict read-only
34
47
  permission: