githits 0.2.3 → 0.3.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/.claude-plugin/marketplace.json +1 -1
- package/.claude-plugin/plugin.json +1 -1
- package/.plugin/plugin.json +1 -1
- package/GEMINI.md +4 -6
- package/README.md +31 -17
- package/commands/help.md +4 -4
- package/dist/cli.js +668 -186
- package/dist/index.js +1 -1
- package/dist/shared/chunk-1gqfte6e.js +11 -0
- package/dist/shared/{chunk-a9js75mw.js → chunk-5mk9k2gv.js} +1269 -626
- package/dist/shared/{chunk-js72s35a.js → chunk-gxya097b.js} +1 -1
- package/gemini-extension.json +1 -1
- package/package.json +4 -1
- package/plugins/claude/.claude-plugin/plugin.json +1 -1
- package/plugins/claude/commands/help.md +4 -4
- package/plugins/claude/skills/search/SKILL.md +2 -2
- package/skills/search/SKILL.md +2 -2
- package/dist/shared/chunk-9zze00cp.js +0 -11
package/gemini-extension.json
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "githits",
|
|
3
3
|
"description": "CLI companion for GitHits - code examples from global open source for developers and AI assistants",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.3.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"files": [
|
|
7
7
|
"dist",
|
|
@@ -74,11 +74,14 @@
|
|
|
74
74
|
"commander": "^14.0.2",
|
|
75
75
|
"jsonc-parser": "^3.3.1",
|
|
76
76
|
"open": "^11.0.0",
|
|
77
|
+
"semver": "^7.7.4",
|
|
78
|
+
"smol-toml": "^1.6.1",
|
|
77
79
|
"zod": "^4.1.13"
|
|
78
80
|
},
|
|
79
81
|
"devDependencies": {
|
|
80
82
|
"@biomejs/biome": "^2.3.8",
|
|
81
83
|
"@types/bun": "latest",
|
|
84
|
+
"@types/semver": "^7.7.1",
|
|
82
85
|
"bunup": "^0.16.10",
|
|
83
86
|
"husky": "^9.1.7",
|
|
84
87
|
"lint-staged": "^16.2.7",
|
|
@@ -25,7 +25,7 @@ context summary:
|
|
|
25
25
|
|
|
26
26
|
## MCP Tools
|
|
27
27
|
|
|
28
|
-
This plugin connects to the GitHits MCP server and always exposes
|
|
28
|
+
This plugin connects to the GitHits MCP server and always exposes these core tools:
|
|
29
29
|
|
|
30
30
|
- **get_example** — Find code examples by describing what you need in natural
|
|
31
31
|
language. Requires `query`; `language` is optional and inferred when omitted.
|
|
@@ -33,9 +33,9 @@ This plugin connects to the GitHits MCP server and always exposes three core too
|
|
|
33
33
|
need to force a specific language.
|
|
34
34
|
- **feedback** — Rate a search result to improve future quality.
|
|
35
35
|
|
|
36
|
-
Additional indexed dependency/package tools
|
|
37
|
-
`
|
|
38
|
-
|
|
36
|
+
Additional indexed dependency/package tools are available by default:
|
|
37
|
+
`search`, `search_status`, `docs_list`, `docs_read`, `pkg_info`, `pkg_vulns`,
|
|
38
|
+
`pkg_deps`, `pkg_changelog`, `code_files`, `code_read`, and `code_grep`.
|
|
39
39
|
|
|
40
40
|
## Authentication
|
|
41
41
|
|
|
@@ -31,8 +31,8 @@ Guidelines:
|
|
|
31
31
|
- Pass `language` only when you need to force a specific language; use
|
|
32
32
|
`search_language` first if the exact language name is uncertain.
|
|
33
33
|
- Use `get_example` for one focused example-search question at a time.
|
|
34
|
-
- When the task is about indexed dependency or repository internals
|
|
35
|
-
|
|
34
|
+
- When the task is about indexed dependency or repository internals, prefer
|
|
35
|
+
unified `search` instead of
|
|
36
36
|
`get_example`.
|
|
37
37
|
- After using results, send `feedback` with helpful/unhelpful outcome.
|
|
38
38
|
|
package/skills/search/SKILL.md
CHANGED
|
@@ -31,8 +31,8 @@ Guidelines:
|
|
|
31
31
|
- Pass `language` only when you need to force a specific language; use
|
|
32
32
|
`search_language` first if the exact language name is uncertain.
|
|
33
33
|
- Use `get_example` for one focused example-search question at a time.
|
|
34
|
-
- When the task is about indexed dependency or repository internals
|
|
35
|
-
|
|
34
|
+
- When the task is about indexed dependency or repository internals, prefer
|
|
35
|
+
unified `search` instead of
|
|
36
36
|
`get_example`.
|
|
37
37
|
- After using results, send `feedback` with helpful/unhelpful outcome.
|
|
38
38
|
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
createContainer,
|
|
3
|
-
resolveStartupCodeNavigationCapability,
|
|
4
|
-
resolveStartupCodeNavigationRegistrationState
|
|
5
|
-
} from "./chunk-a9js75mw.js";
|
|
6
|
-
import"./chunk-js72s35a.js";
|
|
7
|
-
export {
|
|
8
|
-
resolveStartupCodeNavigationRegistrationState,
|
|
9
|
-
resolveStartupCodeNavigationCapability,
|
|
10
|
-
createContainer
|
|
11
|
-
};
|