githits 0.4.4 → 0.4.5
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 -3
- package/README.md +2 -2
- package/commands/example.md +2 -1
- package/commands/help.md +1 -1
- package/commands/search.md +2 -1
- package/dist/cli.js +1413 -122
- package/dist/index.js +1 -1
- package/dist/shared/{chunk-96tjsv6y.js → chunk-vfyz65v1.js} +1 -1
- package/dist/shared/{chunk-tfqxat16.js → chunk-ygqss6gp.js} +470 -7
- package/dist/shared/{chunk-k35egwwf.js → chunk-zzmbjttb.js} +2 -2
- package/gemini-extension.json +1 -1
- package/package.json +3 -1
- package/plugins/claude/.claude-plugin/plugin.json +1 -1
- package/plugins/claude/commands/example.md +2 -1
- package/plugins/claude/commands/help.md +1 -1
- package/plugins/claude/commands/search.md +2 -1
- package/plugins/claude/skills/search/SKILL.md +2 -0
- package/skills/githits-code/SKILL.md +81 -0
- package/skills/githits-code/references/code-and-docs.md +49 -0
- package/skills/githits-package/SKILL.md +90 -0
- package/skills/githits-package/references/package.md +51 -0
- package/skills/search/SKILL.md +0 -40
package/.plugin/plugin.json
CHANGED
package/GEMINI.md
CHANGED
|
@@ -24,13 +24,14 @@ Look up supported programming language names. Use this before calling `get_examp
|
|
|
24
24
|
|
|
25
25
|
### feedback
|
|
26
26
|
|
|
27
|
-
|
|
27
|
+
Submit feedback on a search result, a GitHits tool result, or the current GitHits session. Use it when a result was useful or when a tool/UX issue should be recorded.
|
|
28
28
|
|
|
29
29
|
**Parameters:**
|
|
30
30
|
|
|
31
|
-
- `solution_id` (string,
|
|
31
|
+
- `solution_id` (string, optional) - ID from a `get_example` result; omit for generic session feedback
|
|
32
32
|
- `accepted` (boolean, required) - whether the result was useful
|
|
33
33
|
- `feedback_text` (string, optional) - additional context about why the result was or was not helpful
|
|
34
|
+
- `tool_name` (string, optional) - GitHits tool or command being rated for generic feedback
|
|
34
35
|
|
|
35
36
|
## When to Use
|
|
36
37
|
|
|
@@ -64,7 +65,7 @@ Do not use `get_example` for:
|
|
|
64
65
|
- Formulate queries as natural language questions (e.g., "How to stream responses with the Vercel AI SDK in Next.js")
|
|
65
66
|
- Include specific error messages, library names, or API names when relevant
|
|
66
67
|
- Keep queries focused: 3-4 technical terms maximum
|
|
67
|
-
- Submit `feedback` after
|
|
68
|
+
- Submit `feedback` after GitHits results you use or discard; omit `solution_id` for generic tool/session feedback
|
|
68
69
|
|
|
69
70
|
## Indexed Package/Source Tools
|
|
70
71
|
|
package/README.md
CHANGED
|
@@ -94,7 +94,7 @@ Core tools available in every authenticated session:
|
|
|
94
94
|
|---|---|
|
|
95
95
|
| `get_example` | Find canonical code examples by describing what you need in natural language |
|
|
96
96
|
| `search_language` | Look up supported programming language names |
|
|
97
|
-
| `feedback` |
|
|
97
|
+
| `feedback` | Submit result or session feedback to improve future quality |
|
|
98
98
|
|
|
99
99
|
The assistant decides when to call these tools on its own — typically when it's stuck, needs a working example for an unfamiliar API, or encounters an error it can't resolve from its training data alone.
|
|
100
100
|
|
|
@@ -195,7 +195,7 @@ githits mcp start Always start MCP server (for use in MCP config files)
|
|
|
195
195
|
githits auth status Show current authentication status
|
|
196
196
|
githits example Get canonical code examples from global open source
|
|
197
197
|
githits languages List or filter supported language names
|
|
198
|
-
githits feedback Send feedback on a
|
|
198
|
+
githits feedback Send feedback on a result, command, or session
|
|
199
199
|
```
|
|
200
200
|
|
|
201
201
|
These indexed package/source commands are also available:
|
package/commands/example.md
CHANGED
|
@@ -21,4 +21,5 @@ Optional parameters:
|
|
|
21
21
|
licenses), or `"custom"` (user's blocklist).
|
|
22
22
|
|
|
23
23
|
Present the results clearly. After the user has reviewed the result, use the
|
|
24
|
-
`feedback` tool to report whether the example was helpful.
|
|
24
|
+
`feedback` tool to report whether the example was helpful. Use the returned
|
|
25
|
+
`solution_id` when available.
|
package/commands/help.md
CHANGED
|
@@ -31,7 +31,7 @@ This plugin connects to the GitHits MCP server and always exposes these core too
|
|
|
31
31
|
language. Requires `query`; `language` is optional and inferred when omitted.
|
|
32
32
|
- **search_language** — Look up supported programming language names when you
|
|
33
33
|
need to force a specific language.
|
|
34
|
-
- **feedback** —
|
|
34
|
+
- **feedback** — Submit result or session feedback to improve future quality.
|
|
35
35
|
|
|
36
36
|
Additional indexed dependency/package tools are available by default:
|
|
37
37
|
`search`, `search_status`, `docs_list`, `docs_read`, `pkg_info`, `pkg_vulns`,
|
package/commands/search.md
CHANGED
|
@@ -23,4 +23,5 @@ Optional parameters:
|
|
|
23
23
|
licenses), or `"custom"` (user's blocklist).
|
|
24
24
|
|
|
25
25
|
Present the results clearly. After the user has reviewed the result, use the
|
|
26
|
-
`feedback` tool to report whether the
|
|
26
|
+
`feedback` tool to report whether the result was helpful. Omit `solution_id`
|
|
27
|
+
for generic session feedback about indexed search results.
|