githits 0.13.0 → 0.14.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/dist/cli.js +41 -32
- package/dist/index.js +1 -1
- package/dist/shared/{chunk-wzqb1a28.js → chunk-38y7cewx.js} +89 -8
- package/dist/shared/{chunk-a4ta089j.js → chunk-6n137tvc.js} +1 -1
- package/dist/shared/{chunk-pxb26at5.js → chunk-p501y1h6.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/references/code-and-docs.md +2 -0
- package/skills/githits-package/SKILL.md +3 -1
- package/skills/githits-package/references/package.md +8 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
import{loadAutoLoginAuthSessionMetadata2,clearAutoLoginAuthSessionMetadata2,createAuthCommandDependencies2,createLogoutCommandDependencies2,createAuthStatusDependencies2,createContainer2}from"./chunk-
|
|
1
|
+
import{loadAutoLoginAuthSessionMetadata2,clearAutoLoginAuthSessionMetadata2,createAuthCommandDependencies2,createLogoutCommandDependencies2,createAuthStatusDependencies2,createContainer2}from"./chunk-38y7cewx.js";export{clearAutoLoginAuthSessionMetadata2 as clearAutoLoginAuthSessionMetadata,createAuthCommandDependencies2 as createAuthCommandDependencies,createAuthStatusDependencies2 as createAuthStatusDependencies,createContainer2 as createContainer,createLogoutCommandDependencies2 as createLogoutCommandDependencies,loadAutoLoginAuthSessionMetadata2 as loadAutoLoginAuthSessionMetadata};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
var description="The code context layer for AI coding agents";var version2="0.
|
|
1
|
+
var description="The code context layer for AI coding agents";var version2="0.14.0";
|
|
2
2
|
export{description,version2};
|
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.14.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.14.0",
|
|
32
32
|
"runtimeHint": "npx",
|
|
33
33
|
"transport": {
|
|
34
34
|
"type": "stdio"
|
|
@@ -6,6 +6,8 @@ Package target syntax requires an explicit registry: `registry:name[@version]`,
|
|
|
6
6
|
|
|
7
7
|
`githits search "<query>" --in <target>` searches indexed dependency code, docs, symbols, and exact standalone documentation sites. Repeat `--in` for multiple targets. Use `--source code`, `--source docs`, or `--source symbol` to force a source; omit it for auto-routing. For a standalone site, pass `--source docs --in site:<host[/path]>`.
|
|
8
8
|
|
|
9
|
+
Search text shows producer-proven matched source and structural documentation previews. Path-only matches render as compact file headers; they do not prove a source-content match. Follow the emitted read locator when source context is needed. JSON preserves compatibility evidence and adds indexed-field provenance, matched source, and documentation previews.
|
|
10
|
+
|
|
9
11
|
Useful filters: `--kind`, `--category`, `--path-prefix`, `--intent`, `--public`, `--name`, `--lang`, `--limit`, `--offset`, `--wait`, `--allow-partial`, `--json`.
|
|
10
12
|
|
|
11
13
|
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. The bounded wait defaults to 20 seconds, and the explicit value must be an integer from 0 to 60. 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.
|
|
@@ -32,6 +32,7 @@ githits pkg info npm:express --verbose --json
|
|
|
32
32
|
githits pkg vulns npm:lodash@4.17.20 --severity high
|
|
33
33
|
githits pkg vulns npm:lodash --scope all --include-withdrawn --json
|
|
34
34
|
githits pkg vulns npm:lodash@4.17.21 --scope non_affecting
|
|
35
|
+
githits pkg vulns npm:express@4.17.1 --transitive --scope all --json
|
|
35
36
|
|
|
36
37
|
githits pkg deps npm:express
|
|
37
38
|
githits pkg deps npm:express --lifecycle all
|
|
@@ -49,6 +50,7 @@ githits pkg upgrade-review --package npm:zod@4.3.6..4.4.3 --package npm:lint-sta
|
|
|
49
50
|
|
|
50
51
|
- Need current package health: start with `githits pkg info <registry:name>`.
|
|
51
52
|
- Need security status for a specific installed version: use `githits pkg vulns <registry:name@version>`.
|
|
53
|
+
- Need vulnerabilities in resolved dependency versions: add `pkg vulns --transitive`; this opt-in adds graph-analysis cost and audits the resolved graph, not a local application lockfile.
|
|
52
54
|
- Need historical advisories that do not affect the inspected version: use `pkg vulns --scope non_affecting`; use `--scope all` for affected plus historical rows.
|
|
53
55
|
- Need dependency footprint: start with `pkg deps`; add `--lifecycle all` for non-runtime groups and `--depth <n>` for aggregate transitive graph data.
|
|
54
56
|
- Need upgrade evidence for dependency updates, outdated package bumps, or lockfile changes: prefer `pkg upgrade-review` because it compares current vs target vulnerabilities, changelog range evidence, deprecation metadata, peer changes, dependency changes, and transitive security evidence by default. It reports facts only; you still own the final assessment.
|
|
@@ -57,7 +59,7 @@ githits pkg upgrade-review --package npm:zod@4.3.6..4.4.3 --package npm:lint-sta
|
|
|
57
59
|
## Gotchas
|
|
58
60
|
|
|
59
61
|
- Vulnerability data is not available for `vcpkg` or `zig`.
|
|
60
|
-
- Dependency graphs support npm, PyPI, Hex, Crates, Zig, vcpkg, RubyGems, Go, and Swift
|
|
62
|
+
- Dependency graphs support npm, PyPI, Hex, Crates, NuGet, Maven, Packagist, Zig, vcpkg, RubyGems, Go, and Swift.
|
|
61
63
|
- Go exact-version inputs accept either `v1.2.3` or `1.2.3` (including pseudo versions) and are sent in canonical `v`-prefixed form. Other changelog range inputs omit a leading `v`, except Swift release tags.
|
|
62
64
|
- For repeatable `pkg upgrade-review --package` entries, use `<registry>:<name>@<current>..<target>`.
|
|
63
65
|
- Prefer structured JSON for final comparisons; terminal text is optimized for human scanning.
|
|
@@ -11,7 +11,11 @@ Swift package targets use `swift:github.com/<owner>/<repo>`; Zig package targets
|
|
|
11
11
|
|
|
12
12
|
`githits pkg vulns <registry:name[@version]>` lists known OSV/CVE advisories. Omit the version for latest.
|
|
13
13
|
|
|
14
|
-
Flags: `--severity low|medium|high|critical`, `--scope affected|non_affecting|all`, `--include-withdrawn`, `--verbose`, `--json`.
|
|
14
|
+
Flags: `--severity low|medium|high|critical`, `--scope affected|non_affecting|all`, `--include-withdrawn`, `--transitive`, `--verbose`, `--json`.
|
|
15
|
+
|
|
16
|
+
Direct-only is the default. `--transitive` adds vulnerability evidence for versions in the resolved dependency graph, at additional graph-analysis cost; it does not inspect a local application lockfile. `--severity` and `--scope` apply to root and dependency rows. `--include-withdrawn` affects direct rows only; transitive withdrawn advisories remain excluded. Use `--scope all` for affected plus historical dependency advisories, or `--scope non_affecting` for historical rows.
|
|
17
|
+
|
|
18
|
+
CLI text shows every selected direct and transitive advisory row. `--verbose` adds aliases, dates, malicious-advisory markers, and complete range/fix evidence; `--json` retains structured advisory-wide affected ranges and fixed versions. Compact MCP text remains capped; use `verbose:true` for all selected rows.
|
|
15
19
|
|
|
16
20
|
Supported registries: npm, PyPI, Hex, Crates, NuGet, Maven, Packagist, RubyGems, Go, Swift. vcpkg and Zig are unsupported for vulnerability data.
|
|
17
21
|
|
|
@@ -21,6 +25,8 @@ Supported registries: npm, PyPI, Hex, Crates, NuGet, Maven, Packagist, RubyGems,
|
|
|
21
25
|
|
|
22
26
|
Flags: `--lifecycle runtime|development|build|peer|optional|all`, `--depth 1-10`, `--verbose`, `--json`.
|
|
23
27
|
|
|
28
|
+
Supported dependency registries: npm, PyPI, Hex, Crates, NuGet, Maven, Packagist, RubyGems, Go, Swift, vcpkg, and Zig.
|
|
29
|
+
|
|
24
30
|
Use `--depth` to request transitive output capped to that traversal depth. Omit it for direct dependencies only.
|
|
25
31
|
|
|
26
32
|
## Changelog
|
|
@@ -46,7 +52,7 @@ Use `pkg upgrade-review` for dependency update assessment instead of inferring s
|
|
|
46
52
|
## Command Name Mapping
|
|
47
53
|
|
|
48
54
|
- `githits pkg info` maps to MCP `pkg_info`.
|
|
49
|
-
- `githits pkg vulns` maps to MCP `pkg_vulns`.
|
|
55
|
+
- `githits pkg vulns` maps to MCP `pkg_vulns`; CLI `--transitive` maps to `include_transitive:true`.
|
|
50
56
|
- `githits pkg deps` maps to MCP `pkg_deps`.
|
|
51
57
|
- `githits pkg changelog` maps to MCP `pkg_changelog`.
|
|
52
58
|
- `githits pkg upgrade-review` maps to MCP `pkg_upgrade_review`.
|