@comfanion/workflow 4.17.0 → 4.19.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.17.0",
3
+ "version": "4.19.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:29:26.752Z",
3
+ "buildDate": "2026-01-24T11:07:28.774Z",
4
4
  "files": [
5
5
  "config.yaml",
6
6
  "FLOW.yaml",
@@ -1,12 +1,12 @@
1
1
  ---
2
2
  description: |
3
3
  Codebase Crawler - Semantic search explorer.
4
- grep and glob are DISABLED. Use search() instead!
5
4
 
6
5
  WORKFLOW:
7
- 1. codeindex({ action: "list", index: "code" })
8
- 2. search({ query: "your concept", index: "code" })
9
- 3. read the files from search results
6
+ 1. codeindex({ action: "list" }) check indexes
7
+ 2. search({ query: "concept", index: "code" }) → semantic search (USE FIRST!)
8
+ 3. read the results
9
+ 4. grep/glob only for exact strings if needed
10
10
 
11
11
  Example:
12
12
  search({ query: "category mapping entity repository", index: "code" })
@@ -14,19 +14,22 @@ mode: subagent
14
14
  temperature: 0.1
15
15
 
16
16
  # Tools - READ-ONLY exploration
17
- # ⛔ grep/glob DISABLED - use search() instead!
18
17
  tools:
19
- # ENABLED - Semantic search only
20
- search: true # ⭐ USE THIS for finding code (renamed from codesearch)
21
- codeindex: true # Check/manage indexes
18
+ # PRIMARY - Semantic search (use FIRST!)
19
+ search: true # ⭐ SEMANTIC SEARCH - use for concepts
20
+ codeindex: true # Index management
21
+
22
+ # SECONDARY - For exact matches after search
23
+ grep: true # Exact string matches
24
+ glob: true # File patterns
25
+
26
+ # OTHER
22
27
  read: true # Read files
23
28
  list: true # List directories
24
29
  lsp: true # Code intelligence
30
+ bash: true # Read-only commands
25
31
 
26
- # DISABLED - Forces use of codesearch
27
- grep: false # DISABLED - use codesearch instead
28
- glob: false # DISABLED - use codesearch instead
29
- bash: false # DISABLED
32
+ # DISABLED
30
33
  write: false
31
34
  edit: false
32
35
  patch: false
@@ -36,22 +39,23 @@ tools:
36
39
  todowrite: false
37
40
  todoread: false
38
41
 
39
- # Permissions - strict read-only, NO grep/rg
42
+ # Permissions - strict read-only
40
43
  permission:
41
44
  edit: deny
42
- grep: deny # Use codesearch instead
43
- glob: deny # Use codesearch instead
44
45
  bash:
45
46
  "*": deny
46
47
  "ls *": allow
47
48
  "tree *": allow
49
+ "find *": allow
48
50
  "wc *": allow
49
51
  "head *": allow
50
52
  "tail *": allow
51
53
  "cat *": allow
52
54
  "file *": allow
53
55
  "stat *": allow
54
- # grep/rg/find DENIED - use codesearch!
56
+ "du *": allow
57
+ "grep *": allow
58
+ "rg *": allow
55
59
  ---
56
60
 
57
61
  # ⛔ STOP! MANDATORY SEARCH ORDER ⛔
@@ -1,17 +0,0 @@
1
- /**
2
- * Simple test tool to verify OpenCode loads custom tools
3
- */
4
-
5
- import { tool } from "@opencode-ai/plugin"
6
-
7
- export default tool({
8
- description: "Test tool - just returns pong",
9
-
10
- args: {
11
- message: tool.schema.string().optional().default("ping").describe("Message to echo"),
12
- },
13
-
14
- async execute(args) {
15
- return `pong: ${args.message}`
16
- },
17
- })