AGENTS.md instructions for /Users/vancityayush/Development/vancityAyush/sshx…
- User
AGENTS.md instructions for /Users/vancityayush/Development/vancityAyush/sshx
Prefer
rgandrg --filesfor search. Keep answers concise and implementation-focused. In trusted repos, run lint/tests after edits when the project supports it. Use repo-localAGENTS.mdwhen present; more specific instructions win.--- project-doc ---
AGENTS.md
This file provides guidance for Codex and other AI assistants working with code in this repository.
Project Overview
sshxis a cross-platform TypeScript CLI that automates SSH key generation and configuration for Git providers including GitHub, Bitbucket, GitLab, and Azure DevOps.The repository also contains shell script fallbacks:
scripts/ssh.shandscripts/ssh.ps1.Repository Boundaries
- Do not read from or rely on
.entire/metadata/**. Treat it as internal tool metadata, not project source.
Commands
TypeScript CLI (
sshx)- Build:
bun run build - Type-check:
bun run typecheck - Run interactively:
node dist/cli.js(after build) - Run with flags:
node dist/cli.js setup github -e user@example.com -k mykey - Release: push a tag matching
sshx-v*to trigger.github/workflows/release.yml
Legacy Shell Scripts (
scripts/)- Run bash version:
./scripts/ssh.sh - Run PowerShell version:
pwsh ./scripts/ssh.ps1 - Lint bash version:
shellcheck scripts/ssh.sh - Release: push a tag matching
v*to trigger.github/workflows/release.yml
Architecture
The CLI implementation lives in
src/cli.tsand includes:- Argument parsing and command routing
- Provider metadata and setup flows
- SSH key generation/configuration logic
- SSH agent integration, clipboard copy, and connection testing
- Platform-aware browser and shell command handling
Design Notes
- The CLI shells out for
ssh-keygen,ssh-add, and OS utilities such asxclipandpbcopy. - Errors should be propagated cleanly and displayed clearly to the user.
- Do not read from or rely on
- User
<environment_context> /Users/vancityayush/Development/vancityAyush/sshx zsh <current_date>2026-04-22</current_date> Asia/Kolkata </environment_context>
- User
Find and summarize the prior Claude session with id
750b6c73-8854-49f3-9dc9-6b7349f04dcbfor repo/Users/vancityayush/Development/vancityAyush/sshx. I need: 1) what the user asked Claude to do, 2) concrete code changes Claude made, 3) the exact repo/worktree/branch/cwd Claude was operating in, 4) what was unfinished at the point the session stopped, and 5) any transcript snippets or evidence that indicate the intended next implementation step. Be concise but specific, and include exact file paths and branch/worktree names if found. - Assistant
I’m tracing that prior
sshxClaude session from Entire history and will pull the strongest evidence for scope, edits, working directory, and the unfinished next step before summarizing. - Assistant
I found a matching memory pointer for an
sshxrewrite rollout, but I’m verifying against the actual Entire transcript now so the summary is tied to the requested session id rather than memory alone. - Assistant
entirerejected the local path as arepo:filter, so I’m narrowing by the session id itself and will extract the repo/cwd/worktree details from the transcript payload instead. - Assistant
I can’t reliably summarize that prior Claude session yet because
entire search --jsonis blocked in this environment:entire search --json '750b6c73-8854-49f3-9dc9-6b7349f04dcb'returned:not authenticated. Run 'entire login' to authenticate
Per this repo’s history-search constraint, I have to stop here rather than infer from other sources. Once
entire loginis completed, I can pull the exact transcript evidence for:- user request,
- concrete code changes,
- repo/worktree/branch/cwd,
- unfinished state,
- next-step evidence.
</rollout_ids>
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.