githits 0.9.3 → 0.10.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.
@@ -1,2 +1,2 @@
1
- import{createRequire}from"node:module";var __require=createRequire(import.meta.url);var description="The code context layer for AI coding agents";var version="0.9.3";
1
+ import{createRequire}from"node:module";var __require=createRequire(import.meta.url);var description="The code context layer for AI coding agents";var version="0.10.0";
2
2
  export{__require,description,version};
@@ -0,0 +1 @@
1
+ import{clearAutoLoginAuthSessionMetadata,createAuthCommandDependencies,createAuthStatusDependencies,createContainer,createLogoutCommandDependencies,loadAutoLoginAuthSessionMetadata,recordAuthFingerprint}from"./chunk-4vxe5qg5.js";import"./chunk-q6aqsqv3.js";export{recordAuthFingerprint,loadAutoLoginAuthSessionMetadata,createLogoutCommandDependencies,createContainer,createAuthStatusDependencies,createAuthCommandDependencies,clearAutoLoginAuthSessionMetadata};
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "githits",
3
- "version": "0.9.3",
3
+ "version": "0.10.0",
4
4
  "description": "The code context layer for AI coding agents",
5
5
  "mcpServers": {
6
6
  "githits": {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "githits",
3
3
  "description": "The code context layer for AI coding agents",
4
- "version": "0.9.3",
4
+ "version": "0.10.0",
5
5
  "mcpName": "com.githits/githits",
6
6
  "type": "module",
7
7
  "workspaces": [
@@ -105,6 +105,7 @@
105
105
  "@modelcontextprotocol/sdk": "^1.29.0",
106
106
  "@napi-rs/keyring": "^1.3.0",
107
107
  "commander": "15.0.0",
108
+ "fast-string-width": "^3.0.2",
108
109
  "jsonc-parser": "^3.3.1",
109
110
  "open": "^11.0.0",
110
111
  "semver": "7.8.5",
package/plugin.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://agent-plugins.org/schemas/1.0.0/plugin.schema.json",
3
3
  "name": "githits",
4
- "version": "0.9.3",
4
+ "version": "0.10.0",
5
5
  "description": "The code context layer for AI coding agents",
6
6
  "author": {
7
7
  "name": "GitHits"
package/server.json CHANGED
@@ -16,7 +16,7 @@
16
16
  "source": "github",
17
17
  "id": "1165453165"
18
18
  },
19
- "version": "0.9.3",
19
+ "version": "0.10.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.9.3",
31
+ "version": "0.10.0",
32
32
  "runtimeHint": "npx",
33
33
  "transport": {
34
34
  "type": "stdio"
@@ -60,7 +60,7 @@ githits docs read <pageId> --lines 20-120
60
60
  - Documentation text reads return at most 150 lines per call. Continue with explicit `--lines` windows when more context is needed; pass `--json` when you need `startLine`, `endLine`, or `totalLines` pagination metadata.
61
61
  - For multi-step code/docs investigations, keep raw CLI output out of the final answer unless it is the evidence the user needs.
62
62
  - If output says it used recent/stale indexed evidence, treat the displayed served target as provenance; if freshness matters, retry with a longer `--wait` or use one of the displayed `queryable now` versions/refs, or inspect JSON `targetResolution` for structured candidates.
63
- - Treat partial documentation coverage as incomplete evidence and retry later when advised. Capped coverage is terminal for the current crawl, so report the limitation instead of retrying.
63
+ - 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.
64
64
  - If search returns a `searchRef`, continue with `githits search-status <searchRef>` instead of repeating the original search. Its bounded wait defaults to 20 seconds; use `--wait <seconds>` with an integer from 0 to 60 to adjust it.
65
65
  - 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.
66
66
  - 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.
@@ -39,7 +39,7 @@ When grep returns no matches, do not repeat it unchanged. Change or shorten the
39
39
 
40
40
  For topic search, use `githits search "<topic>" --source docs --in <target>`, then pass the returned page ID to `docs read`.
41
41
 
42
- When search reports partial documentation coverage, treat the evidence as incomplete and retry later when advised. Capped coverage means the current crawl stopped at a limit; report that limitation instead of retrying.
42
+ 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.
43
43
 
44
44
  ## Command Name Mapping
45
45
 
@@ -1 +0,0 @@
1
- import{clearAutoLoginAuthSessionMetadata,createAuthCommandDependencies,createAuthStatusDependencies,createContainer,loadAutoLoginAuthSessionMetadata,recordAuthFingerprint}from"./chunk-etx8jndp.js";import"./chunk-g3jtxnfk.js";export{recordAuthFingerprint,loadAutoLoginAuthSessionMetadata,createContainer,createAuthStatusDependencies,createAuthCommandDependencies,clearAutoLoginAuthSessionMetadata};