githits 0.11.2 → 0.11.3
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/AGENTS.md +13 -1
- package/README.md +3 -2
- package/dist/cli.js +29 -25
- package/dist/index.js +1 -1
- package/dist/shared/{chunk-crw6vamv.js → chunk-5ryk913a.js} +1 -1
- package/dist/shared/{chunk-mjj3pj7r.js → chunk-tfaz4m1y.js} +1 -1
- package/dist/shared/{chunk-kz6tqqfb.js → chunk-vk4scf1b.js} +24 -9
- package/gemini-extension.json +1 -1
- package/package.json +4 -2
- package/plugin.json +1 -1
- package/server.json +2 -2
- package/skills/githits-code/references/code-and-docs.md +1 -1
- package/skills/githits-mcp/SKILL.md +1 -1
- package/skills/githits-package/references/package.md +1 -0
|
@@ -6,12 +6,12 @@
|
|
|
6
6
|
},
|
|
7
7
|
"metadata": {
|
|
8
8
|
"description": "The code context layer for AI coding agents",
|
|
9
|
-
"version": "0.11.
|
|
9
|
+
"version": "0.11.3"
|
|
10
10
|
},
|
|
11
11
|
"plugins": [
|
|
12
12
|
{
|
|
13
13
|
"name": "githits",
|
|
14
|
-
"version": "0.11.
|
|
14
|
+
"version": "0.11.3",
|
|
15
15
|
"description": "The code context layer for AI coding agents",
|
|
16
16
|
"author": {
|
|
17
17
|
"name": "GitHits"
|
package/.plugin/plugin.json
CHANGED
package/AGENTS.md
CHANGED
|
@@ -32,6 +32,18 @@ Philosophy: "Create architecture that is performant and easy to test"
|
|
|
32
32
|
|
|
33
33
|
See `docs/guidelines/ARCHITECTURAL_GUIDELINES.md` for detailed planning checklist and design principles.
|
|
34
34
|
|
|
35
|
+
## Tool output UX
|
|
36
|
+
|
|
37
|
+
Human-readable tool text is an optimized product surface, not raw field
|
|
38
|
+
serialization. Before editing it, inspect real output and preserve existing
|
|
39
|
+
strengths: lead with the outcome, group related evidence, remove repetition and
|
|
40
|
+
scaffolding, and retain stable follow-up locators, actions, and trust facts.
|
|
41
|
+
Wrap free prose to the caller's width, keep formatter-authored punctuation ASCII
|
|
42
|
+
while preserving backend Unicode, and never make color carry meaning. When CLI
|
|
43
|
+
and MCP need the same information, share one formatter per tool with color and
|
|
44
|
+
width as inputs; keep JSON lossless for machines. A complete data dump is not
|
|
45
|
+
good output merely because it is complete.
|
|
46
|
+
|
|
35
47
|
## Testing
|
|
36
48
|
|
|
37
49
|
Philosophy: "If it is not tested, it is likely broken"
|
|
@@ -40,7 +52,7 @@ Philosophy: "If it is not tested, it is likely broken"
|
|
|
40
52
|
|
|
41
53
|
- Use `bun test` for running tests
|
|
42
54
|
- Use `bun run smoke:mcp` and `bun run smoke:cli` when changing MCP tools, CLI commands, shared formatters, auth/error envelopes, or MCP/CLI parity behavior. These are live-capable local suites, not the normal unit suite; they must pass unauthenticated by validating auth handling, and provide deeper coverage when authenticated. After building, also run `bun run smoke:cli:built` and `bun run smoke:mcp:built` when changing smoke launch behavior or CI product validation; these secret-free modes execute `dist/cli.js` under Node.
|
|
43
|
-
- Use `bun run agent:e2e` when changing MCP instructions, tool descriptions, or agent-facing tool behavior. This is a human/agent-driven qualitative eval, not a deterministic CI gate. Pick targeted workloads from `eval/agentic/README.md`; run both Claude and Codex for broad instruction changes when practical. Inspect `tool-calls.json` and `final.json` for actual tool use, `
|
|
55
|
+
- Use `bun run agent:e2e` when changing MCP instructions, tool descriptions, or agent-facing tool behavior. This is a human/agent-driven qualitative eval, not a deterministic CI gate. Pick targeted workloads from `eval/agentic/README.md`; run both Claude and Codex for broad instruction changes when practical. Inspect `tool-calls.json` and `final.json` for actual tool use and the neutral answer/confidence, `metrics.json` for derived token/cost/duration/tool-call metrics, and `isolation-violations.json` for trace-validation failures, not just harness pass/fail. Treat usefulness or quality as reportable only when a later grading stage provides it.
|
|
44
56
|
- Maintain smoke coverage when adding or changing user-facing tools/commands. Prefer structural UX assertions over brittle snapshots, and keep MCP `format: "json"` and CLI `--json` behavior aligned.
|
|
45
57
|
- When changing GraphQL/API selections, add regression tests for over-fetch controls (for example `@include` variables, body omission, field lists, or query builders) and live-smoke the affected CLI/MCP surfaces when authenticated access is available.
|
|
46
58
|
- Keep tests async and isolated
|
package/README.md
CHANGED
|
@@ -132,8 +132,9 @@ npx githits@latest docs read <page-id> --lines 20-80
|
|
|
132
132
|
|
|
133
133
|
GitHits 0.10 adds two opt-in local tools for early dogfooding:
|
|
134
134
|
|
|
135
|
-
- `resolve_target` / `githits resolve` turns a fuzzy or ambiguous package
|
|
136
|
-
repository name into
|
|
135
|
+
- `resolve_target` / `githits resolve` turns a fuzzy or ambiguous package,
|
|
136
|
+
repository, or documentation-site name into grouped canonical targets with
|
|
137
|
+
related project identities kept together.
|
|
137
138
|
- `code_diff` / `githits code diff` compares repository trees resolved from
|
|
138
139
|
exact package versions or public GitHub refs.
|
|
139
140
|
|