githits 0.9.2 → 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.
@@ -6,12 +6,12 @@
6
6
  },
7
7
  "metadata": {
8
8
  "description": "The code context layer for AI coding agents",
9
- "version": "0.9.2"
9
+ "version": "0.10.0"
10
10
  },
11
11
  "plugins": [
12
12
  {
13
13
  "name": "githits",
14
- "version": "0.9.2",
14
+ "version": "0.10.0",
15
15
  "description": "The code context layer for AI coding agents",
16
16
  "author": {
17
17
  "name": "GitHits"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "githits",
3
- "version": "0.9.2",
3
+ "version": "0.10.0",
4
4
  "description": "The code context layer for AI coding agents",
5
5
  "author": {
6
6
  "name": "GitHits"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "githits",
3
- "version": "0.9.2",
3
+ "version": "0.10.0",
4
4
  "description": "The code context layer for AI coding agents",
5
5
  "author": {
6
6
  "name": "GitHits"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "githits",
3
- "version": "0.9.2",
3
+ "version": "0.10.0",
4
4
  "description": "The code context layer for AI coding agents",
5
5
  "author": {
6
6
  "name": "GitHits"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "githits",
3
- "version": "0.9.2",
3
+ "version": "0.10.0",
4
4
  "description": "The code context layer for AI coding agents",
5
5
  "author": {
6
6
  "name": "GitHits"
package/AGENTS.md CHANGED
@@ -118,14 +118,20 @@ See `docs/guidelines/TESTING.md` for comprehensive patterns.
118
118
 
119
119
  ## Release Boundaries
120
120
 
121
- - Keep `CHANGELOG.md` current during development. Every notable user-, agent-, operator-, or public-API-visible change must update `Unreleased` in the same change, including the explicit pending SemVer impact for every public artifact. Follow `docs/implementation/release-process.md`.
121
+ - Every notable user-, agent-, operator-, or public-API-visible change must add
122
+ one independent `changes/<unique-name>.<category>.md` fragment with an
123
+ explicit pending SemVer impact for every public artifact. Do not edit
124
+ `CHANGELOG.md` outside release preparation. Follow
125
+ `docs/implementation/release-process.md` and `changes/README.md`.
122
126
  - Treat dated, versioned changelog sections as immutable historical records. Change them only to correct blatant, demonstrable factual errors, and keep any correction minimal.
123
127
  - `githits` and `@githits/mcp` have separate release flows. They may be bumped together when both surfaces changed, but CLI-only changes should not bump `@githits/mcp`.
124
128
  - Root `githits` release versions must stay aligned with generated plugin/assistant manifests: `.plugin/plugin.json`, `.claude-plugin/plugin.json`, `.codex-plugin/plugin.json`, `.cursor-plugin/plugin.json`, `.claude-plugin/marketplace.json`, and `gemini-extension.json`. The versionless Antigravity `plugin.json` and `mcp_config.json` must also be regenerated and checked.
125
129
  - `@githits/mcp` release versions live in `packages/mcp/package.json` and should change only for MCP package API, tool behavior, MCP instructions, schemas, MCP auth/error behavior, or remote-server-facing public type changes.
126
130
  - For coordinated CLI and MCP releases, keep the MCP minor aligned with the CLI minor for discoverability. The first MCP release for a CLI minor starts at `X.Y.0`; later MCP-package-visible changes in that CLI minor bump the MCP patch.
131
+ - A request to audit, prepare, create, cut, or release a version authorizes release preparation through opening the release PR only; it does not authorize merging, enabling auto-merge, tagging, or publishing. Merging requires separate, explicit human approval given after the release PR exists and identifying that PR. Earlier release requests do not count. Stop after opening the PR, report its URL and check status, and wait for that approval.
127
132
  - Successful `Main` runs on `main` trigger both root and MCP release workflows. The MCP workflow publishes only when the package version is not already published; manual dispatch is for recovery or dry runs.
128
- - Release preparation moves shipped entries from `Unreleased` into separate versioned sections for each released artifact and leaves a fresh impact table with pending bumps reset to `none`.
133
+ - Release preparation consumes all fragments into separate versioned sections
134
+ for each released artifact and deletes the consumed files.
129
135
  - Validate package behavior from outside root path aliases. Repo-local imports can hide package export-map or declaration problems.
130
136
 
131
137
  ### Common Pitfalls
package/README.md CHANGED
@@ -127,6 +127,31 @@ npx githits@latest docs list npm:express
127
127
  npx githits@latest docs read <page-id> --lines 20-80
128
128
  ```
129
129
 
130
+ ## Experimental Tools
131
+
132
+ GitHits 0.10 adds two opt-in local tools for early dogfooding:
133
+
134
+ - `resolve_target` / `githits resolve` turns a fuzzy or ambiguous package or
135
+ repository name into ranked canonical targets.
136
+ - `code_diff` / `githits code diff` compares repository trees resolved from
137
+ exact package versions or public GitHub refs.
138
+
139
+ They are hidden and disabled by default. They are available only through the
140
+ local `githits` CLI and local stdio MCP server; the hosted MCP and plugin or
141
+ extension installs keep the stable tool set. Enable them in the GitHits host
142
+ config, then restart the coding agent so it restarts the local MCP server:
143
+
144
+ ```toml
145
+ # macOS/Linux: ~/.config/githits/config.toml
146
+ # Windows: %APPDATA%\githits\config.toml
147
+ [experimental]
148
+ tools = true
149
+ ```
150
+
151
+ See [Experimental tools](docs/experimental-tools.md) for platform-specific
152
+ config discovery, CLI examples, optional issue reporting, limitations, and how
153
+ to disable the tools.
154
+
130
155
  ## Supported Sources
131
156
 
132
157
  GitHits works with package and repository targets such as:
@@ -350,11 +375,11 @@ githits example Find real-world implementations from open source
350
375
  githits languages List or filter supported programming languages
351
376
  githits feedback Submit feedback about GitHits results
352
377
  githits doctor Diagnose configuration and auth state
353
- githits resolve Resolve a package or GitHub repository name to canonical targets
378
+ githits resolve Experimental: resolve a fuzzy name to canonical targets
354
379
  githits settings View and update preferences, privacy, and terms
355
380
  githits search Explore repository code, dependencies, docs, and symbols
356
381
  githits search-status Check the status of a previous indexed search
357
- githits code List, read, and grep indexed dependency source
382
+ githits code List, read, grep, or experimentally diff indexed source
358
383
  githits pkg Inspect package metadata, vulnerabilities, deps, and changelogs
359
384
  githits docs Browse and read package documentation
360
385
  githits auth Manage authentication