opencodekit 0.15.14 → 0.15.16
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/README.md +4 -4
- package/dist/index.js +7 -19
- package/dist/template/.opencode/AGENTS.md +20 -1
- package/dist/template/.opencode/README.md +2 -2
- package/dist/template/.opencode/agent/plan.md +2 -2
- package/dist/template/.opencode/agent/scout.md +18 -18
- package/dist/template/.opencode/command/research-ui.md +1 -1
- package/dist/template/.opencode/command/research.md +4 -4
- package/dist/template/.opencode/memory/observations/2026-01-28-decision-gh-grep-mcp-wrapper-vs-native-grep-searc.md +4 -4
- package/dist/template/.opencode/memory/observations/2026-01-29-learning-karpathy-llm-coding-insights-dec-2025.md +44 -0
- package/dist/template/.opencode/memory/research/opencode-mcp-bug-report.md +1 -1
- package/dist/template/.opencode/opencode.json +841 -697
- package/dist/template/.opencode/package.json +1 -1
- package/dist/template/.opencode/plans/1768385996691-silent-wizard.md +2 -2
- package/dist/template/.opencode/skill/deep-research/SKILL.md +1 -1
- package/dist/template/.opencode/skill/source-code-research/SKILL.md +2 -2
- package/dist/template/.opencode/skill/tool-priority/SKILL.md +1 -1
- package/dist/template/.opencode/tool/{grep-search.ts → grepsearch.ts} +3 -3
- package/package.json +4 -16
|
@@ -44,7 +44,7 @@ If memory returns high-confidence findings on this exact topic, synthesize and r
|
|
|
44
44
|
| 2 | context7_resolve-library-id | Resolve library names to IDs | Fast |
|
|
45
45
|
| 3 | context7_query-docs | Official library docs | Fast |
|
|
46
46
|
| 4 | codesearch | Exa Code API for SDK/library patterns | Fast |
|
|
47
|
-
| 5 |
|
|
47
|
+
| 5 | grepsearch | Cross-repo GitHub code search | Medium |
|
|
48
48
|
| 6 | webfetch | Specific doc URLs, READMEs, changelogs | Medium |
|
|
49
49
|
| 7 | opensrc + LSP | Clone & analyze source code | Slow |
|
|
50
50
|
| 8 | websearch | Tutorials, blog posts, recent news | Slow |
|
|
@@ -186,7 +186,7 @@ last resort → websearch for tutorials/blogs
|
|
|
186
186
|
|
|
187
187
|
**context7 doesn't find library:**
|
|
188
188
|
1. Try `codesearch({ query: "<library> <function> example" })`
|
|
189
|
-
2. Try `
|
|
189
|
+
2. Try `gh_grepsearchGitHub({ query: "import.*from.*<library>" })`
|
|
190
190
|
3. Clone with `npx opensrc <library>` and read source
|
|
191
191
|
|
|
192
192
|
**gh_grep returns nothing:**
|
|
@@ -115,7 +115,7 @@ context7_query_docs({ libraryId: "<id>", topic: "<specific question>" });
|
|
|
115
115
|
|
|
116
116
|
// Real-world patterns
|
|
117
117
|
codesearch({ query: "<API usage pattern>", tokensNum: 5000 });
|
|
118
|
-
|
|
118
|
+
grepsearch({ query: "<code pattern>", language: "TypeScript" });
|
|
119
119
|
```
|
|
120
120
|
|
|
121
121
|
## Confidence Levels
|
|
@@ -366,7 +366,7 @@ Source code research complements other tools:
|
|
|
366
366
|
| --------------- | -------------------------- | ------------------------------ |
|
|
367
367
|
| **Context7** | API docs, official guides | Implementation details |
|
|
368
368
|
| **codesearch** | Usage patterns in the wild | Canonical implementation |
|
|
369
|
-
| **
|
|
369
|
+
| **grepsearch** | Real-world examples | How library itself works |
|
|
370
370
|
| **Web search** | Tutorials, blog posts | Ground truth from source |
|
|
371
371
|
| **Codebase** | Project-specific patterns | How dependencies actually work |
|
|
372
372
|
|
|
@@ -375,7 +375,7 @@ Source code research complements other tools:
|
|
|
375
375
|
1. Context7 - Check official docs
|
|
376
376
|
2. Codebase - Check existing usage
|
|
377
377
|
3. **Source code** - If still unclear, fetch source
|
|
378
|
-
4. codesearch/
|
|
378
|
+
4. codesearch/grepsearch - See how others use it
|
|
379
379
|
5. Web search - Last resort for context
|
|
380
380
|
|
|
381
381
|
## Cleanup
|
|
@@ -186,5 +186,5 @@ glob ["src/**/*.ts", "tests/**/*.ts"]
|
|
|
186
186
|
| **context7_query-docs** | Query official library documentation. Fast. |
|
|
187
187
|
| **websearch** | Docs not in Context7, recent releases, troubleshooting. |
|
|
188
188
|
| **codesearch** | Real implementation patterns from GitHub. |
|
|
189
|
-
| **
|
|
189
|
+
| **grepsearch** | Cross-repo code patterns via grep.app. |
|
|
190
190
|
| **webfetch** | Specific URL user provided. |
|
|
@@ -27,9 +27,9 @@ IMPORTANT: Search for **literal code patterns**, not keywords:
|
|
|
27
27
|
❌ Bad: "react tutorial", "best practices", "how to use"
|
|
28
28
|
|
|
29
29
|
Examples:
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
30
|
+
grepsearch({ query: "getServerSession", language: "TypeScript" })
|
|
31
|
+
grepsearch({ query: "CORS(", language: "Python", repo: "flask" })
|
|
32
|
+
grepsearch({ query: "export async function POST", path: "route.ts" })
|
|
33
33
|
`,
|
|
34
34
|
args: {
|
|
35
35
|
query: tool.schema
|
package/package.json
CHANGED
|
@@ -1,15 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "opencodekit",
|
|
3
|
-
"version": "0.15.
|
|
3
|
+
"version": "0.15.16",
|
|
4
4
|
"description": "CLI tool for bootstrapping and managing OpenCodeKit projects",
|
|
5
|
-
"keywords": [
|
|
6
|
-
"agents",
|
|
7
|
-
"cli",
|
|
8
|
-
"mcp",
|
|
9
|
-
"opencode",
|
|
10
|
-
"opencodekit",
|
|
11
|
-
"template"
|
|
12
|
-
],
|
|
5
|
+
"keywords": ["agents", "cli", "mcp", "opencode", "opencodekit", "template"],
|
|
13
6
|
"license": "MIT",
|
|
14
7
|
"author": "OpenCodeKit",
|
|
15
8
|
"repository": {
|
|
@@ -19,10 +12,7 @@
|
|
|
19
12
|
"bin": {
|
|
20
13
|
"ock": "dist/index.js"
|
|
21
14
|
},
|
|
22
|
-
"files": [
|
|
23
|
-
"dist",
|
|
24
|
-
"README.md"
|
|
25
|
-
],
|
|
15
|
+
"files": ["dist", "README.md"],
|
|
26
16
|
"type": "module",
|
|
27
17
|
"publishConfig": {
|
|
28
18
|
"access": "public",
|
|
@@ -66,7 +56,5 @@
|
|
|
66
56
|
"engines": {
|
|
67
57
|
"bun": ">=1.3.2"
|
|
68
58
|
},
|
|
69
|
-
"trustedDependencies": [
|
|
70
|
-
"@beads/bd"
|
|
71
|
-
]
|
|
59
|
+
"trustedDependencies": ["@beads/bd"]
|
|
72
60
|
}
|