githits 0.2.3 → 0.3.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,6 +1,6 @@
1
1
  import { createRequire } from "node:module";
2
2
  var __require = /* @__PURE__ */ createRequire(import.meta.url);
3
3
  // package.json
4
- var version = "0.2.3";
4
+ var version = "0.3.0";
5
5
 
6
6
  export { __require, version };
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "githits",
3
- "version": "0.2.3",
3
+ "version": "0.3.0",
4
4
  "description": "Code examples from global open source for developers and AI assistants.",
5
5
  "mcpServers": {
6
6
  "githits": {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "githits",
3
3
  "description": "CLI companion for GitHits - code examples from global open source for developers and AI assistants",
4
- "version": "0.2.3",
4
+ "version": "0.3.0",
5
5
  "type": "module",
6
6
  "files": [
7
7
  "dist",
@@ -74,11 +74,14 @@
74
74
  "commander": "^14.0.2",
75
75
  "jsonc-parser": "^3.3.1",
76
76
  "open": "^11.0.0",
77
+ "semver": "^7.7.4",
78
+ "smol-toml": "^1.6.1",
77
79
  "zod": "^4.1.13"
78
80
  },
79
81
  "devDependencies": {
80
82
  "@biomejs/biome": "^2.3.8",
81
83
  "@types/bun": "latest",
84
+ "@types/semver": "^7.7.1",
82
85
  "bunup": "^0.16.10",
83
86
  "husky": "^9.1.7",
84
87
  "lint-staged": "^16.2.7",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "githits",
3
- "version": "0.2.3",
3
+ "version": "0.3.0",
4
4
  "description": "Code examples from global open source for developers and AI assistants",
5
5
  "author": {
6
6
  "name": "GitHits"
@@ -25,7 +25,7 @@ context summary:
25
25
 
26
26
  ## MCP Tools
27
27
 
28
- This plugin connects to the GitHits MCP server and always exposes three core tools:
28
+ This plugin connects to the GitHits MCP server and always exposes these core tools:
29
29
 
30
30
  - **get_example** — Find code examples by describing what you need in natural
31
31
  language. Requires `query`; `language` is optional and inferred when omitted.
@@ -33,9 +33,9 @@ This plugin connects to the GitHits MCP server and always exposes three core too
33
33
  need to force a specific language.
34
34
  - **feedback** — Rate a search result to improve future quality.
35
35
 
36
- Additional indexed dependency/package tools such as `search`, `package_summary`,
37
- `list_files`, and `grep_repo` stay hidden unless the authenticated token carries
38
- the `code_navigation` feature flag.
36
+ Additional indexed dependency/package tools are available by default:
37
+ `search`, `search_status`, `docs_list`, `docs_read`, `pkg_info`, `pkg_vulns`,
38
+ `pkg_deps`, `pkg_changelog`, `code_files`, `code_read`, and `code_grep`.
39
39
 
40
40
  ## Authentication
41
41
 
@@ -31,8 +31,8 @@ Guidelines:
31
31
  - Pass `language` only when you need to force a specific language; use
32
32
  `search_language` first if the exact language name is uncertain.
33
33
  - Use `get_example` for one focused example-search question at a time.
34
- - When the task is about indexed dependency or repository internals and the
35
- capability-gated tools are available, prefer unified `search` instead of
34
+ - When the task is about indexed dependency or repository internals, prefer
35
+ unified `search` instead of
36
36
  `get_example`.
37
37
  - After using results, send `feedback` with helpful/unhelpful outcome.
38
38
 
@@ -31,8 +31,8 @@ Guidelines:
31
31
  - Pass `language` only when you need to force a specific language; use
32
32
  `search_language` first if the exact language name is uncertain.
33
33
  - Use `get_example` for one focused example-search question at a time.
34
- - When the task is about indexed dependency or repository internals and the
35
- capability-gated tools are available, prefer unified `search` instead of
34
+ - When the task is about indexed dependency or repository internals, prefer
35
+ unified `search` instead of
36
36
  `get_example`.
37
37
  - After using results, send `feedback` with helpful/unhelpful outcome.
38
38
 
@@ -1,11 +0,0 @@
1
- import {
2
- createContainer,
3
- resolveStartupCodeNavigationCapability,
4
- resolveStartupCodeNavigationRegistrationState
5
- } from "./chunk-a9js75mw.js";
6
- import"./chunk-js72s35a.js";
7
- export {
8
- resolveStartupCodeNavigationRegistrationState,
9
- resolveStartupCodeNavigationCapability,
10
- createContainer
11
- };