@comfanion/workflow 4.14.0 → 4.16.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.16.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:19:21.572Z",
4
4
  "files": [
5
5
  "config.yaml",
6
6
  "FLOW.yaml",
@@ -1,52 +1,57 @@
1
1
  ---
2
2
  description: |
3
- Codebase Crawler - Fast read-only exploration.
3
+ Codebase Crawler - Semantic search explorer.
4
+ grep and glob are DISABLED. Use codesearch instead!
4
5
 
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
6
+ WORKFLOW:
7
+ 1. codeindex({ action: "list", index: "code" })
8
+ 2. codesearch({ query: "your concept", index: "code" })
9
+ 3. read the files from codesearch results
10
10
 
11
- ❌ WRONG: codeindex list → grep → glob
12
- RIGHT: codeindex list codesearch read results
11
+ Example:
12
+ codesearch({ query: "category mapping entity repository", index: "code" })
13
13
  mode: subagent
14
14
  temperature: 0.1
15
15
 
16
16
  # Tools - READ-ONLY exploration
17
+ # ⛔ grep/glob DISABLED - use codesearch instead!
17
18
  tools:
18
- read: true
19
- write: false # READ-ONLY
20
- edit: false # READ-ONLY
21
- patch: false # READ-ONLY
22
- glob: true
23
- grep: true
24
- list: true
25
- skill: false # Fast exploration, no skill loading
26
- question: false # Fast, no questions
27
- bash: true # Limited to read-only commands
28
- webfetch: false # No external access
29
- todowrite: false # Subagent - no todo
19
+ # ENABLED - Semantic search only
20
+ codesearch: true # ⭐ USE THIS for finding code
21
+ codeindex: true # Check/manage indexes
22
+ read: true # Read files
23
+ list: true # List directories
24
+ lsp: true # Code intelligence
25
+
26
+ # DISABLED - Forces use of codesearch
27
+ grep: false # DISABLED - use codesearch instead
28
+ glob: false # DISABLED - use codesearch instead
29
+ bash: false # DISABLED
30
+ write: false
31
+ edit: false
32
+ patch: false
33
+ skill: false
34
+ question: false
35
+ webfetch: false
36
+ todowrite: false
30
37
  todoread: false
31
- lsp: true # Code intelligence for exploration
32
38
 
33
- # Permissions - strict read-only
39
+ # Permissions - strict read-only, NO grep/rg
34
40
  permission:
35
41
  edit: deny
42
+ grep: deny # Use codesearch instead
43
+ glob: deny # Use codesearch instead
36
44
  bash:
37
- "*": deny # Deny by default
45
+ "*": deny
38
46
  "ls *": allow
39
47
  "tree *": allow
40
- "find *": allow
41
48
  "wc *": allow
42
49
  "head *": allow
43
50
  "tail *": allow
44
51
  "cat *": allow
45
52
  "file *": allow
46
53
  "stat *": allow
47
- "du *": allow
48
- "grep *": allow
49
- "rg *": allow # ripgrep
54
+ # grep/rg/find DENIED - use codesearch!
50
55
  ---
51
56
 
52
57
  # ⛔ STOP! MANDATORY SEARCH ORDER ⛔