githits 0.18.0 → 0.19.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 +2 -2
- package/.claude-plugin/plugin.json +1 -1
- package/.codex-plugin/plugin.json +1 -1
- package/.cursor-plugin/plugin.json +1 -1
- package/.plugin/plugin.json +1 -1
- package/README.md +1 -2
- package/dist/cli.js +27 -36
- package/dist/index.js +1 -1
- package/dist/shared/{chunk-2c6xz679.js → chunk-1mb97483.js} +1 -1
- package/dist/shared/{chunk-yqv279nb.js → chunk-5wwkppph.js} +1 -1
- package/dist/shared/{chunk-3j1zgre0.js → chunk-j981hv7p.js} +14 -14
- package/gemini-extension.json +1 -1
- package/package.json +1 -1
- package/plugin.json +1 -1
- package/server.json +2 -2
- package/skills/githits-code/SKILL.md +1 -3
- package/skills/githits-code/references/code-and-docs.md +0 -1
- package/skills/githits-mcp/SKILL.md +1 -1
package/gemini-extension.json
CHANGED
package/package.json
CHANGED
package/plugin.json
CHANGED
package/server.json
CHANGED
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
"source": "github",
|
|
17
17
|
"id": "1165453165"
|
|
18
18
|
},
|
|
19
|
-
"version": "0.
|
|
19
|
+
"version": "0.19.0",
|
|
20
20
|
"remotes": [
|
|
21
21
|
{
|
|
22
22
|
"type": "streamable-http",
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"registryType": "npm",
|
|
29
29
|
"registryBaseUrl": "https://registry.npmjs.org",
|
|
30
30
|
"identifier": "githits",
|
|
31
|
-
"version": "0.
|
|
31
|
+
"version": "0.19.0",
|
|
32
32
|
"runtimeHint": "npx",
|
|
33
33
|
"transport": {
|
|
34
34
|
"type": "stdio"
|
|
@@ -21,9 +21,8 @@ Use GitHits for evidence from real open-source code instead of guessing from mod
|
|
|
21
21
|
|
|
22
22
|
## Decision Flow
|
|
23
23
|
|
|
24
|
-
- Need a canonical cross-project example or pattern: `githits example "<focused question>"`; include source repositories/citations from GitHits' generated references/provenance section
|
|
24
|
+
- Need a canonical cross-project example or pattern: `githits example "<focused question>"`; include source repositories/citations from GitHits' generated references/provenance section. If GitHits cannot match `--lang`, retry with a suggested language from the error, or omit `--lang`.
|
|
25
25
|
- Need package metadata, vulnerability/advisory status, dependency graphs, or release notes: stop and use the `githits-package` skill instead.
|
|
26
|
-
- Exact language name uncertain for `example --lang`: run `githits languages <query>` first.
|
|
27
26
|
- Inspecting a known dependency or public repository: start with `githits search` scoped by `--in`.
|
|
28
27
|
- Searching an exact standalone documentation site: use `githits search "<topic>" --source docs --in site:<host[/path]>`. If the result reports suggested site targets, retry one explicitly; suggestions are advisory targets, not aliases.
|
|
29
28
|
- Need file/path enumeration: use `githits code files`; do not probe directories with `code read`.
|
|
@@ -35,7 +34,6 @@ Use GitHits for evidence from real open-source code instead of guessing from mod
|
|
|
35
34
|
```bash
|
|
36
35
|
githits example "how to use express middleware"
|
|
37
36
|
githits example "react hooks patterns" --lang typescript
|
|
38
|
-
githits languages type
|
|
39
37
|
|
|
40
38
|
githits search "router middleware" --in npm:express@5.2.1
|
|
41
39
|
githits search "debounce" --in npm:lodash@4.18.1 --source symbol
|
|
@@ -57,7 +57,6 @@ Partial and capped documentation coverage are usable published evidence. Report
|
|
|
57
57
|
## Command Name Mapping
|
|
58
58
|
|
|
59
59
|
- `githits example` maps to MCP `get_example`.
|
|
60
|
-
- `githits languages` maps to MCP `search_language`.
|
|
61
60
|
- `githits search` maps to MCP `search`.
|
|
62
61
|
- `githits search-status` maps to MCP `search_status`.
|
|
63
62
|
- `githits code files` maps to MCP `code_files`.
|
|
@@ -32,7 +32,7 @@ the routing decision; the selected tool supplies its argument details.
|
|
|
32
32
|
| Find canonical implementation examples across projects | `get_example` |
|
|
33
33
|
| Check progress of an earlier search reference | `search_status` |
|
|
34
34
|
|
|
35
|
-
|
|
35
|
+
If `get_example` cannot match a language, retry with a suggested language from the error, or omit language. For comparative questions, combine
|
|
36
36
|
the relevant package/source route with examples when needed.
|
|
37
37
|
|
|
38
38
|
Scope: public OSS only, never local/private/proprietary source. Package targets
|