@comfanion/workflow 4.16.0 → 4.17.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.16.0",
3
+ "version": "4.17.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:19:21.572Z",
3
+ "buildDate": "2026-01-24T10:29:26.752Z",
4
4
  "files": [
5
5
  "config.yaml",
6
6
  "FLOW.yaml",
@@ -1,23 +1,23 @@
1
1
  ---
2
2
  description: |
3
3
  Codebase Crawler - Semantic search explorer.
4
- grep and glob are DISABLED. Use codesearch instead!
4
+ grep and glob are DISABLED. Use search() instead!
5
5
 
6
6
  WORKFLOW:
7
7
  1. codeindex({ action: "list", index: "code" })
8
- 2. codesearch({ query: "your concept", index: "code" })
9
- 3. read the files from codesearch results
8
+ 2. search({ query: "your concept", index: "code" })
9
+ 3. read the files from search results
10
10
 
11
11
  Example:
12
- codesearch({ query: "category mapping entity repository", index: "code" })
12
+ search({ 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
+ # ⛔ grep/glob DISABLED - use search() instead!
18
18
  tools:
19
19
  # ENABLED - Semantic search only
20
- codesearch: true # ⭐ USE THIS for finding code
20
+ search: true # ⭐ USE THIS for finding code (renamed from codesearch)
21
21
  codeindex: true # Check/manage indexes
22
22
  read: true # Read files
23
23
  list: true # List directories
@@ -20,7 +20,9 @@
20
20
  },
21
21
 
22
22
  "tools": {
23
- "lsp": true
23
+ "lsp": true,
24
+ "search": true,
25
+ "codeindex": true
24
26
  },
25
27
 
26
28
  "permission": {
@@ -0,0 +1,17 @@
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
+ })
File without changes