@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 +1 -1
- package/src/build-info.json +1 -1
- package/src/opencode/agents/crawler.md +32 -27
package/package.json
CHANGED
package/src/build-info.json
CHANGED
|
@@ -1,52 +1,57 @@
|
|
|
1
1
|
---
|
|
2
2
|
description: |
|
|
3
|
-
Codebase Crawler -
|
|
3
|
+
Codebase Crawler - Semantic search explorer.
|
|
4
|
+
grep and glob are DISABLED. Use codesearch instead!
|
|
4
5
|
|
|
5
|
-
|
|
6
|
-
1. codeindex({ action: "list" })
|
|
7
|
-
2.
|
|
8
|
-
3.
|
|
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
|
-
|
|
12
|
-
|
|
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
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
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
|
|
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
|
-
|
|
48
|
-
"grep *": allow
|
|
49
|
-
"rg *": allow # ripgrep
|
|
54
|
+
# grep/rg/find DENIED - use codesearch!
|
|
50
55
|
---
|
|
51
56
|
|
|
52
57
|
# ⛔ STOP! MANDATORY SEARCH ORDER ⛔
|