githits 0.17.1 → 0.18.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 -1
- package/dist/cli.js +30 -28
- package/dist/index.js +1 -1
- package/dist/shared/{chunk-xd3fmh5h.js → chunk-2c6xz679.js} +1 -1
- package/dist/shared/{chunk-n5pgm1zt.js → chunk-3j1zgre0.js} +67 -5
- package/dist/shared/{chunk-768386cf.js → chunk-yqv279nb.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 +4 -4
- package/skills/githits-mcp/SKILL.md +3 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{loadAutoLoginAuthSessionMetadata2,clearAutoLoginAuthSessionMetadata2,createAuthCommandDependencies2,createLogoutCommandDependencies2,createAuthStatusDependencies2,createContainer2}from"./chunk-
|
|
1
|
+
import{loadAutoLoginAuthSessionMetadata2,clearAutoLoginAuthSessionMetadata2,createAuthCommandDependencies2,createLogoutCommandDependencies2,createAuthStatusDependencies2,createContainer2}from"./chunk-3j1zgre0.js";export{clearAutoLoginAuthSessionMetadata2 as clearAutoLoginAuthSessionMetadata,createAuthCommandDependencies2 as createAuthCommandDependencies,createAuthStatusDependencies2 as createAuthStatusDependencies,createContainer2 as createContainer,createLogoutCommandDependencies2 as createLogoutCommandDependencies,loadAutoLoginAuthSessionMetadata2 as loadAutoLoginAuthSessionMetadata};
|
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.18.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.18.0",
|
|
32
32
|
"runtimeHint": "npx",
|
|
33
33
|
"transport": {
|
|
34
34
|
"type": "stdio"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# GitHits Code And Docs CLI Reference
|
|
2
2
|
|
|
3
|
-
Package target syntax requires an explicit registry: `registry:name[@version]`, for example `npm:express@5.2.1`; omit `@version` for the latest release. Package targets inspect an indexed artifact/manifest root. Swift package targets use `swift:github.com/<owner>/<repo>` and Zig package targets use `zig:gh/<owner>/<repo>`. Use public repository targets for full repositories or sibling packages. Repository compact targets use `github:org/repo[
|
|
3
|
+
Package target syntax requires an explicit registry: `registry:name[@version]`, for example `npm:express@5.2.1`; omit `@version` for the latest release. Package targets inspect an indexed artifact/manifest root. Swift package targets use `swift:github.com/<owner>/<repo>` and Zig package targets use `zig:gh/<owner>/<repo>`. Use public repository targets for full repositories or sibling packages. Repository compact targets use `github:org/repo[@ref]`, `codeberg:owner/repo[@ref]`, `gitlab:group[/subgroup...]/project[@ref]`, `github.com/org/repo[@ref]`, or `https://github.com/org/repo[@ref]`; omitted refs request the backend default-branch intent. Exact standalone documentation sites use `site:<host[/path]>`. Output uses canonical `provider:path@ref` formatting so refs can contain `@` safely. `code` commands also support `--repo-url <url> [--git-ref <ref>]`.
|
|
4
4
|
|
|
5
5
|
## Search
|
|
6
6
|
|
|
@@ -62,10 +62,10 @@ Partial and capped documentation coverage are usable published evidence. Report
|
|
|
62
62
|
- `githits search-status` maps to MCP `search_status`.
|
|
63
63
|
- `githits code files` maps to MCP `code_files`.
|
|
64
64
|
- `githits code grep` maps to MCP `code_grep`.
|
|
65
|
-
- `githits code read` maps to MCP `
|
|
65
|
+
- `githits code read` maps to MCP `read` with `target` and `path`.
|
|
66
66
|
- `githits docs list` maps to MCP `docs_list`.
|
|
67
|
-
- `githits docs read` maps to MCP `
|
|
67
|
+
- `githits docs read` maps to MCP `read` with `target` alone.
|
|
68
68
|
|
|
69
|
-
Direct repository targets accept approved full HTTPS URLs on github.com, codeberg.org, and gitlab.com. Codeberg requires exactly owner/repo; GitLab allows nested namespaces. Only GitHub supports host shorthand and HTTP compatibility. Never infer a provider from bare owner/repo.
|
|
69
|
+
Direct repository targets accept approved full HTTPS URLs on github.com, codeberg.org, and gitlab.com. Codeberg requires exactly owner/repo; GitLab allows nested namespaces. Only GitHub supports host shorthand and HTTP compatibility. Never infer a provider from bare owner/repo. Repository refs use an @ suffix and may themselves contain / and @; # is reserved for semantic fragments. Empty refs and mixed suffixes are invalid. Credentials, queries, provider web subpaths, and unsupported/self-hosted hosts are rejected. Package targets keep registry-native coordinates, including `zig:cb/owner/repo` and `swift:gitlab.com/group/project`. Changelog repo URL fields remain full HTTPS URLs.
|
|
70
70
|
|
|
71
71
|
GitLab web paths with `/-/` or reserved routes such as `tree`, `blob`, and `raw` are rejected. Unreserved names such as `issues` can be repository path components; without a web-route marker, the client treats the complete nested path as repository identity.
|
|
@@ -39,7 +39,9 @@ Scope: public OSS only, never local/private/proprietary source. Package targets
|
|
|
39
39
|
use `registry:name[@version]` and inspect an indexed artifact/manifest root;
|
|
40
40
|
Swift uses `swift:github.com/<owner>/<repo>`, Zig `zig:gh/<owner>/<repo>`.
|
|
41
41
|
Use public repository targets for full repositories or sibling packages, with
|
|
42
|
-
an explicit
|
|
42
|
+
an explicit `github:`, `codeberg:`, or `gitlab:` provider, or a supported full URL.
|
|
43
|
+
Append revisions as `@ref`; refs may contain later `@` characters. `#` is
|
|
44
|
+
reserved for semantic fragments and never identifies a repository revision.
|
|
43
45
|
Never infer a repository provider. Use selected tool descriptions for supported
|
|
44
46
|
target forms and argument details.
|
|
45
47
|
|