Skip to content

Commit 782f884

Browse files
authored
fix(#41): correct Perplexity tool names across configs and prompts (#42)
Replace incorrect tool references with actual MCP server tool names: - mcp_perplexity_research → perplexity-ask_deep_research - mcp_perplexity_ask → perplexity-ask_search, perplexity-ask_reason, perplexity-ask_deep_research Files updated: - opencode.work.json: 28 tool references across 14 agents - opencode.personal.json: 28 tool references across 14 agents - 18 prompt files with corrected Perplexity tool names This fixes tool invocation errors when agents attempt to use Perplexity research capabilities.
1 parent e8cf356 commit 782f884

19 files changed

Lines changed: 424 additions & 387 deletions

‎opencode.personal.json‎

Lines changed: 192 additions & 178 deletions
Large diffs are not rendered by default.

‎opencode.work.json‎

Lines changed: 192 additions & 178 deletions
Large diffs are not rendered by default.

‎prompts/api-design.txt‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,9 @@ Your bash permissions enforce separation of concerns:
3535
- **MINIMAL**: Build the simplest solution that fully solves the problem
3636
- **COMPLETE**: ALL issue checkboxes exactly as specified (TDD, coverage, linting, docs, verification)
3737
- **REFUSE**: Any work not explicitly listed in issue content
38+
<<<<<<< HEAD
3839
- **DELEGATE**: ONLY git operations to @git-agent (branch creation, commits, pushes) - NO other delegations
39-
- **RESEARCH**: Use `mcp_perplexity_research` for API best practices and industry standards when needed
40+
- **RESEARCH**: Use `perplexity-ask_deep_research` for API best practices and industry standards when needed
4041
- **DISCOVERIES**: Report any cross-domain issues to project manager (no direct specialist delegation)
4142
- **VALIDATE**: Local test execution and verification before completion
4243
- HTTP status code usage

‎prompts/aws-rds-postgresql.txt‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,9 @@ Your bash permissions enforce separation of concerns:
3535
- **MINIMAL**: Build the simplest solution that fully solves the problem
3636
- **COMPLETE**: ALL issue checkboxes exactly as specified (TDD, coverage, linting, docs, verification)
3737
- **REFUSE**: Any work not explicitly listed in issue content
38+
<<<<<<< HEAD
3839
- **DELEGATE**: ONLY git operations to @git-agent (branch creation, commits, pushes) - NO other delegations
39-
- **RESEARCH**: Use `mcp_perplexity_research` for AWS RDS and PostgreSQL best practices when needed
40+
- **RESEARCH**: Use `perplexity-ask_deep_research` for AWS RDS and PostgreSQL best practices when needed
4041
- **DISCOVERIES**: Report any cross-domain issues to project manager (no direct specialist delegation)
4142
- **VALIDATE**: Local testing and verification before completion
4243
- **MEMORY**: Use Remory's semantic search capabilities to find relevant database patterns and solutions

‎prompts/code-review.txt‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,13 +66,13 @@ When delegating to @git-agent, specify these requirements:
6666
- **NO DIRECT URLs**: Never use browser URLs or GitHub API directly
6767
**CRITICAL EXTERNAL RESEARCH:**
6868
You MUST use Perplexity MCP tools when needed:
69-
- Use `mcp_perplexity_research` for:
69+
- Use `perplexity-ask_deep_research` for:
7070
- Latest security vulnerabilities (CVEs)
7171
- New best practices and patterns
7272
- Framework-specific security issues
7373
- Performance optimization techniques
7474
- Language-specific anti-patterns
75-
- Use `mcp_perplexity_ask` for:
75+
- Use `perplexity-ask_search` for:
7676
- Clarifying security implications
7777
- Understanding new language features
7878
- Checking deprecation status

‎prompts/devops-infrastructure.txt‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -245,13 +245,13 @@ The Project Manager invokes you via Task tool and only sees your **final return
245245

246246
**CRITICAL EXTERNAL RESEARCH:**
247247
You MUST use Perplexity MCP tools when needed:
248-
- Use `mcp_perplexity_research` for:
248+
- Use `perplexity-ask_deep_research` for:
249249
- Latest DevOps tools and practices
250250
- Container orchestration patterns
251251
- Cloud provider best practices
252252
- Security scanning tools
253253
- Infrastructure optimization techniques
254-
- Use `mcp_perplexity_ask` for:
254+
- Use `perplexity-ask_search` for:
255255
- Troubleshooting deployment issues
256256
- Performance tuning recommendations
257257
- Security vulnerability fixes

‎prompts/expo-react-native-architect.txt‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,9 @@ Your bash permissions enforce separation of concerns:
3737
- **MINIMAL**: Build the simplest solution that fully solves the problem
3838
- **COMPLETE**: ALL issue checkboxes exactly as specified (TDD, coverage, linting, docs, verification)
3939
- **REFUSE**: Any work not explicitly listed in issue content
40+
<<<<<<< HEAD
4041
- **DELEGATE**: ONLY git operations to @git-agent (branch creation, commits, pushes) - NO other delegations
41-
- **RESEARCH**: Use `mcp_perplexity_research` for React Native/Expo best practices and mobile development patterns
42+
- **RESEARCH**: Use `perplexity-ask_deep_research` for React Native/Expo best practices and mobile development patterns
4243
- **DISCOVERIES**: Report any cross-domain issues to project manager (no direct specialist delegation)
4344
- **VALIDATE**: Local test execution and verification before completion
4445
- **DISCOVER LINTING**: Check project setup (package.json, .eslintrc, metro.config.js) and CI workflows for linting commands

‎prompts/github-pr-reviewer.txt‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -163,13 +163,13 @@ The Project Manager invokes you via Task tool and only sees your **final return
163163

164164
**CRITICAL EXTERNAL RESEARCH:**
165165
You MUST use Perplexity MCP tools when needed:
166-
- Use `mcp_perplexity_research` for:
166+
- Use `perplexity-ask_deep_research` for:
167167
- Latest security vulnerabilities (CVEs) for dependencies
168168
- New attack vectors and security patterns
169169
- Performance optimization techniques
170170
- Framework-specific security best practices
171171
- Code review best practices and methodologies
172-
- Use `mcp_perplexity_ask` for:
172+
- Use `perplexity-ask_search` for:
173173
- Clarifying security implications of code patterns
174174
- Understanding new language/framework features
175175
- Checking for known vulnerabilities

‎prompts/go-tdd-architect.txt‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,9 @@ Your bash permissions enforce separation of concerns:
5050
- **MINIMAL**: Build the simplest solution that fully solves the problem
5151
- **COMPLETE**: ALL issue checkboxes exactly as specified (TDD, coverage, linting, docs, verification)
5252
- **REFUSE**: Any work not explicitly listed in issue content
53+
<<<<<<< HEAD
5354
- **DELEGATE**: ONLY git operations to @git-agent (branch creation, commits, pushes) - NO other delegations
54-
- **RESEARCH**: Use `mcp_perplexity_research` for Go best practices and `mcp_perplexity_ask` for specific errors after local investigation
55+
- **RESEARCH**: Use `perplexity-ask_deep_research` for Go best practices and `perplexity-ask_search` for specific errors after local investigation
5556
- **DISCOVERIES**: Report any cross-domain issues to project manager (no direct specialist delegation)
5657
- **VALIDATE**: Local test execution and verification before completion
5758
- **DISCOVER LINTING**: Check project setup (go.mod, .golangci.yml) and CI workflows for linting commands

‎prompts/postgres-database.txt‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,13 +80,13 @@ When delegating to @git-agent, specify these requirements:
8080
- **NO DIRECT URLs**: Never use browser URLs or GitHub API directly
8181
**CRITICAL EXTERNAL RESEARCH:**
8282
You MUST use Perplexity MCP tools when needed:
83-
- Use `mcp_perplexity_research` for:
83+
- Use `perplexity-ask_deep_research` for:
8484
- Latest PostgreSQL features and best practices
8585
- Performance tuning techniques
8686
- Advanced indexing strategies
8787
- Replication and clustering patterns
8888
- PostgreSQL version-specific features
89-
- Use `mcp_perplexity_ask` for:
89+
- Use `perplexity-ask_search` for:
9090
- Query optimization techniques
9191
- Extension recommendations
9292
- Configuration tuning parameters

0 commit comments

Comments
 (0)