githits 0.6.3 → 0.6.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 +1 -1
- package/.claude-plugin/plugin.json +1 -1
- package/.plugin/plugin.json +1 -1
- package/README.md +30 -4
- package/dist/cli.js +37 -34
- package/dist/index.js +1 -1
- package/dist/shared/{chunk-d5rp3ryj.js → chunk-29jz9bxq.js} +4 -4
- package/dist/shared/{chunk-k768ws3z.js → chunk-mar7rmpc.js} +1 -1
- package/dist/shared/{chunk-nftysk9t.js → chunk-vef9cbqz.js} +1 -1
- package/gemini-extension.json +1 -1
- package/package.json +9 -7
- package/plugins/claude/.claude-plugin/plugin.json +1 -1
- package/plugins/claude/skills/githits-mcp/SKILL.md +2 -0
- package/plugins/claude/skills/search/SKILL.md +2 -0
- package/server.json +2 -2
- package/skills/githits-mcp/SKILL.md +2 -0
package/.plugin/plugin.json
CHANGED
package/README.md
CHANGED
|
@@ -163,16 +163,31 @@ npx githits@latest login
|
|
|
163
163
|
Browser OAuth is recommended for local development. Credentials are stored in
|
|
164
164
|
the system keychain by default and refreshed automatically. Useful flags:
|
|
165
165
|
|
|
166
|
-
- `init --no-browser` or `login --no-browser` prints
|
|
166
|
+
- `init --no-browser` or `login --no-browser` prints the login URL instead of launching a browser
|
|
167
|
+
- `init --port <port>` or `login --port <port>` fixes the loopback callback port
|
|
167
168
|
- `login --force` re-authenticates even if you are already logged in
|
|
168
|
-
- `login --port <port>` uses a specific local callback port
|
|
169
169
|
|
|
170
|
-
|
|
170
|
+
The OAuth callback always listens on the machine where GitHits is running.
|
|
171
|
+
When GitHits runs over SSH and the browser runs locally, forward the selected
|
|
172
|
+
port from the browser machine:
|
|
171
173
|
|
|
172
174
|
```sh
|
|
173
|
-
|
|
175
|
+
ssh -N -L 8765:127.0.0.1:8765 user@remote-host
|
|
174
176
|
```
|
|
175
177
|
|
|
178
|
+
With that tunnel open, run GitHits on the remote machine using the same port:
|
|
179
|
+
|
|
180
|
+
```sh
|
|
181
|
+
npx githits@latest init --no-browser --port 8765
|
|
182
|
+
```
|
|
183
|
+
|
|
184
|
+
Open the URL printed by GitHits in the local browser. Replace
|
|
185
|
+
`user@remote-host` with the SSH destination you normally use. The same flags
|
|
186
|
+
work with `githits login` after setup.
|
|
187
|
+
|
|
188
|
+
Browser OAuth is interactive. For CI and other unattended environments, supply
|
|
189
|
+
`GITHITS_API_TOKEN` through the environment's secret manager.
|
|
190
|
+
|
|
176
191
|
Inspect auth and runtime state with:
|
|
177
192
|
|
|
178
193
|
```sh
|
|
@@ -334,6 +349,17 @@ bun run smoke:mcp
|
|
|
334
349
|
bun run smoke:cli
|
|
335
350
|
```
|
|
336
351
|
|
|
352
|
+
CI also checks the built product without credentials or live backend calls. Run
|
|
353
|
+
the same checks locally after `bun run build`:
|
|
354
|
+
|
|
355
|
+
```sh
|
|
356
|
+
bun run smoke:cli:built
|
|
357
|
+
bun run smoke:mcp:built
|
|
358
|
+
```
|
|
359
|
+
|
|
360
|
+
The harness remains on Bun, while product subprocesses execute `dist/cli.js`
|
|
361
|
+
with `node` from `PATH`. CI provisions that runtime from `.node-version`.
|
|
362
|
+
|
|
337
363
|
When changing MCP instructions, tool descriptions, or agent-facing behavior,
|
|
338
364
|
use the targeted agent evals described in `eval/agentic/README.md`:
|
|
339
365
|
|