githits 0.11.3 → 0.11.5
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 +3 -2
- package/dist/cli.js +22 -20
- package/dist/index.js +1 -1
- package/dist/shared/{chunk-5ryk913a.js → chunk-9tth6mt5.js} +1 -1
- package/dist/shared/{chunk-tfaz4m1y.js → chunk-m6z2s658.js} +1 -1
- package/dist/shared/{chunk-vk4scf1b.js → chunk-qf74vw59.js} +50 -41
- package/gemini-extension.json +1 -1
- package/package.json +3 -1
- package/plugin.json +1 -1
- package/server.json +2 -2
- package/skills/githits-code/SKILL.md +28 -23
- package/skills/githits-mcp/SKILL.md +12 -18
- package/skills/githits-onboarding/SKILL.md +3 -4
- package/skills/githits-package/SKILL.md +28 -24
|
@@ -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.5"
|
|
10
10
|
},
|
|
11
11
|
"plugins": [
|
|
12
12
|
{
|
|
13
13
|
"name": "githits",
|
|
14
|
-
"version": "0.11.
|
|
14
|
+
"version": "0.11.5",
|
|
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
|
@@ -27,7 +27,7 @@ Philosophy: "Create architecture that is performant and easy to test"
|
|
|
27
27
|
- Use dependency injection for external services (REST client, etc.)
|
|
28
28
|
- Do not eagerly validate network/proxy/environment configuration while constructing command dependencies when the command has local-only or no-network paths. Defer validation until the first network operation and add regression tests for malformed env values on local paths.
|
|
29
29
|
- For MCP/agent-facing tools, avoid coupled optional flags and default-true booleans. Design schemas for real agent calls, including empty strings, empty arrays, and explicit `false` values.
|
|
30
|
-
- For MCP tool discovery, treat the tool name plus the first
|
|
30
|
+
- For MCP tool discovery, treat the tool name plus the first description sentence as a standalone selection surface. A verified claude.ai deferred-tool catalog rendered at most 80 characters: a sentence longer than 79 characters appeared as its first 79 plus an ellipsis, while connector descriptions and MCP server instructions did not reach selection. Lead with the natural user question and the tool's distinct job, keep that sentence within 79 characters when it must render whole, and avoid internal periods (including abbreviations, version literals, and filenames) because the observed sentence boundary is otherwise ambiguous. Keep registry counts/lists, argument mechanics, and follow-up routing after it. Also keep the first 80 raw description characters useful for clients that expose a raw prefix. Do not rely on neighboring tools for context. Add first-sentence/first-80 contract tests and run descriptor-only agent evals for description changes.
|
|
31
31
|
- For GraphQL/API-backed tools, treat minimal data fetching as part of the tool contract. Before adding or changing selected fields, compare the query against every consumer (text, verbose, JSON, MCP, CLI, and internal callers), use conditional fields or separate queries for mode-specific data, and add tests that assert the wire variables/selections for compact and detailed modes.
|
|
32
32
|
|
|
33
33
|
See `docs/guidelines/ARCHITECTURAL_GUIDELINES.md` for detailed planning checklist and design principles.
|
|
@@ -126,8 +126,9 @@ See `docs/guidelines/TESTING.md` for comprehensive patterns.
|
|
|
126
126
|
- Root `src/**` is still the published `githits` CLI implementation until the CLI package move completes. It owns Commander commands, local auth storage, browser login, init/setup flows, local stdio MCP startup, plugin/assistant packaging assets, and the diagnostics implementation/lifecycle (environment, process, and output destinations).
|
|
127
127
|
- `packages/core-internal` is private source. It owns transport-neutral service clients, service interfaces, shared request/header primitives, the host-supplied `ServiceDiagnostics` contract, neutral service errors, PKCE helpers, and `TokenProvider`. It must not discover diagnostics environment settings or own diagnostics process/output destinations. Never publish or leak `@githits/core-internal` into public artifacts.
|
|
128
128
|
- `packages/mcp` is the public `@githits/mcp` package. Its public tool/server API is `packages/mcp/src/index.ts`: transport-neutral MCP server creation, tool registration, descriptors, instructions, request-scoped service provider types, and MCP service types. Its public runtime/client API is `packages/mcp/src/client.ts`, exported as `@githits/mcp/client`, for remote MCP servers that need concrete service implementations, token/header/config helpers, and optional injected `ServiceDiagnostics`.
|
|
129
|
+
- The production hosted server at `https://mcp.githits.com` lives in the separate `remote-mcp` repository and consumes the published `@githits/mcp` package as the canonical implementation of tool registration, descriptors, `quick_start`, and tool logic. `remote-mcp` owns HTTP transport, request-scoped service composition, auth/session handling, deployment, and observability; do not duplicate package-owned MCP behavior there. A change in this repository reaches hosted clients only after `@githits/mcp` is released, `remote-mcp` updates that dependency, and the hosted server is deployed.
|
|
129
130
|
- `@githits/mcp/smoke-test` is a public validation helper entrypoint for remote MCP servers. It exports smoke assertions and `runMcpSmoke()` without depending on local CLI startup.
|
|
130
|
-
- `@githits/mcp/internal` is a workspace-only alias for root CLI transition helpers. External packages and the
|
|
131
|
+
- `@githits/mcp/internal` is a workspace-only alias for root CLI transition helpers. External packages and the `remote-mcp` repository must never import it. If remote server work needs something internal, promote the smallest stable API through `@githits/mcp` instead.
|
|
131
132
|
- Public package artifacts for both root `githits` and `@githits/mcp` must not contain `@githits/core-internal`, `workspace:*`, `@githits/mcp/internal`, or private source aliases in JS, declarations, or manifests. The public-package validator also rejects static `fs`, `node:fs`, `fs/promises`, and `node:fs/promises` imports in core source and packed MCP artifacts, and rejects direct core `process.stderr`/`process.stdout` access. These checks cover statically resolved string-literal module edges; they do not claim browser compatibility.
|
|
132
133
|
|
|
133
134
|
## Release Boundaries
|