githits 0.16.2 → 0.17.1
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 +3 -2
- package/dist/cli.js +55 -53
- package/dist/index.js +1 -1
- package/dist/shared/{chunk-ktkjk8bg.js → chunk-768386cf.js} +1 -1
- package/dist/shared/{chunk-3zpq0ncv.js → chunk-n5pgm1zt.js} +19 -6
- package/dist/shared/{chunk-tkkk2597.js → chunk-xd3fmh5h.js} +1 -1
- 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 -1
- package/skills/githits-code/references/code-and-docs.md +1 -1
- package/skills/githits-mcp/SKILL.md +5 -5
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.17.1",
|
|
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.17.1",
|
|
32
32
|
"runtimeHint": "npx",
|
|
33
33
|
"transport": {
|
|
34
34
|
"type": "stdio"
|
|
@@ -62,7 +62,7 @@ githits docs read <docsReadTarget>
|
|
|
62
62
|
- For multi-step code/docs investigations, keep raw CLI output out of the final answer unless it is the evidence the user needs.
|
|
63
63
|
- If output says it used recent, stale, or provisional indexed evidence, treat the displayed served target as provenance. Provisional evidence is queryable while visibly still indexing. If freshness matters, follow the rendered continuation, retry with a longer `--wait`, use one of the displayed `queryable now` versions/refs, or inspect JSON `targetResolution` for structured candidates.
|
|
64
64
|
- Partial and capped documentation coverage are usable published evidence. Report the disclosed limit, but infer neither indexing progress nor retryability from coverage; follow only `searchRef` and the evidence notice.
|
|
65
|
-
- If search returns a `searchRef`, continue with `githits search-status <searchRef>` only when the output explicitly supplies that follow-up, including for active `PENDING`, `INDEXING`, or `SEARCHING` progress or a completed result with an evidence notice.
|
|
65
|
+
- If search returns a `searchRef`, continue with `githits search-status <searchRef>` only when the output explicitly supplies that follow-up, including for active `PENDING`, `INDEXING`, or `SEARCHING` progress or a completed result with an evidence notice. Use the wait in the rendered continuation; `--wait <seconds>` accepts an integer, and `githits search-status --help` gives the installed version's default and limit. For terminal `DEFERRED`, `TIMEOUT`, or `FAILED` progress, or an unrecognized status, preserve any disclosed evidence, do not poll the reference again, and follow the rendered new-search action.
|
|
66
66
|
- If discovery search returns no useful hits, do not repeat it unchanged. Follow the rendered pivots; when the query is now an exact identifier or string, switch to `githits code grep` and read the focused match because symbol discovery may not include re-exports or generated aliases.
|
|
67
67
|
- If grep returns no matches, do not repeat it unchanged. Follow the returned guidance by changing the pattern, broadening the file scope, or switching to `githits search` for conceptual discovery.
|
|
68
68
|
- For a missing or ambiguous standalone site, use the returned `suggestedSiteTargets` in order. Do not rewrite the original target or retry automatically; when `suggestedSiteTargetsTruncated` is true, state that additional candidates were omitted.
|
|
@@ -12,7 +12,7 @@ Useful filters: `--kind`, `--category`, `--path-prefix`, `--intent`, `--public`,
|
|
|
12
12
|
|
|
13
13
|
`--path-prefix` filters code results only. Omit it for `--source docs`, `--source symbol`, and standalone site searches. Use it with `--source code` on a package/repository, or with automatic source selection that includes a package/repository.
|
|
14
14
|
|
|
15
|
-
If search returns a `searchRef`, continue with `githits search-status <searchRef> [--wait <seconds>]` only when the output explicitly supplies that follow-up, including for active `PENDING`, `INDEXING`, or `SEARCHING` progress or a completed result with an evidence notice.
|
|
15
|
+
If search returns a `searchRef`, continue with `githits search-status <searchRef> [--wait <seconds>]` only when the output explicitly supplies that follow-up, including for active `PENDING`, `INDEXING`, or `SEARCHING` progress or a completed result with an evidence notice. Use the wait in the rendered continuation; `--wait <seconds>` accepts an integer, and `githits search-status --help` gives the installed version's default and limit. Terminal `DEFERRED`, `TIMEOUT`, or `FAILED` progress, and unrecognized statuses, do not advance: keep any disclosed evidence, do not poll the same reference, and follow the rendered new-search action.
|
|
16
16
|
|
|
17
17
|
Stale or provisional evidence remains queryable while refresh or indexing
|
|
18
18
|
continues. Treat the displayed served target as exact provenance and follow a
|
|
@@ -22,9 +22,8 @@ the routing decision; the selected tool supplies its argument details.
|
|
|
22
22
|
| Find a known literal or regex in a public repository/package | `code_grep` |
|
|
23
23
|
| Find relevant source, symbols, tests, or documentation for a topic | `search` |
|
|
24
24
|
| List paths or browse a source directory | `code_files` |
|
|
25
|
-
| Read a
|
|
25
|
+
| Read a source file, documentation page, or focused section | `read` |
|
|
26
26
|
| Browse package documentation pages | `docs_list` |
|
|
27
|
-
| Read a documentation page returned by search or docs_list | `docs_read` |
|
|
28
27
|
| Assess a package's license, adoption, maintenance, or overall health | `pkg_info` |
|
|
29
28
|
| Inspect vulnerabilities in a package or version | `pkg_vulns` |
|
|
30
29
|
| Inspect direct dependencies or transitive footprint | `pkg_deps` |
|
|
@@ -47,13 +46,14 @@ target forms and argument details.
|
|
|
47
46
|
For a package or site docs topic, use `search` with `source:"docs"`.
|
|
48
47
|
`docs_list` browses package pages, not standalone `site:` targets.
|
|
49
48
|
Use a docs hit's snippet when sufficient; otherwise follow its generated
|
|
50
|
-
`followUp`. From text, pass a `[docs page]` target unchanged to `
|
|
49
|
+
`followUp`. From text, pass a `[docs page]` target unchanged to `read`.
|
|
51
50
|
A fragment needs no bounds and returns the exact section; add bounds only to
|
|
52
51
|
replace it with a page-relative range. Historical `pageId` works.
|
|
53
|
-
For source evidence, locate paths or matches before reading;
|
|
54
|
-
`
|
|
52
|
+
For source evidence, locate paths or matches before reading; pass the source
|
|
53
|
+
target and returned path to `read`; never use `read` to list/probe directories.
|
|
55
54
|
|
|
56
55
|
Tools with `wait_timeout_ms` wait for indexing or results before returning.
|
|
56
|
+
For `read`, the wait applies only to code indexing.
|
|
57
57
|
Omit it for the default; use `0` to return without waiting. If work remains,
|
|
58
58
|
follow the suggested continuation or recovery action. When a target is still
|
|
59
59
|
indexing, use the indexing estimate, if shown, to choose a longer wait, or retry
|