Skip to content

Commit 4acbedd

Browse files
committed
style: apply prettier formatting
1 parent 632c72d commit 4acbedd

4 files changed

Lines changed: 6 additions & 11 deletions

File tree

AGENTS.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -383,6 +383,7 @@ This file is the canonical project guide. Tool-specific entry points:
383383

384384
- **Delegate everything:** Use the Task tool with specialized subagents for all research, code exploration, code writing, testing, and analysis. The main agent should plan, coordinate, and summarize — not do the work itself.
385385
- **Maximize parallelism:** Launch multiple subagents concurrently whenever their tasks are independent. For example, when exploring code patterns AND analyzing tests AND checking dependencies, spawn all three agents in a single message rather than sequentially. Always send independent Task calls in a **single message** with multiple tool-use blocks.
386+
386387
<!-- - **Use the right agent type:** Pick `Explore` for codebase search/understanding, `Plan` for architecture decisions, `Bash` for commands, and specialized agents (e.g., `code-reviewer`, `test-automator`, `debugger`) when they match the task.
387388
- **Keep the main context clean:** Offload large file reads, multi-file searches, and deep analysis to subagents so the main conversation stays focused on coordination and user communication.
388389
- **Hooks run automatically — use subagents to respond:** When a hook (Spotless, build verification, code review, or simplification) reports an issue, delegate the fix to a subagent rather than doing it inline. If multiple hooks fail simultaneously, spawn parallel subagents to address each issue concurrently. -->

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33
<a href="https://github.com/finos/git-proxy">
44
<img src="./website/static/img/logo.png" alt="Logo" height="95">
55
</a>
6-
6+
77
<br />
88
<br />
9-
9+
1010
<p align="center">
1111
Deploy custom push protections and policies<br />on top of Git
1212
<br />

src/proxy/actions/Action.ts

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -77,11 +77,7 @@ class Action {
7777
protocol?: 'https' | 'ssh';
7878
capabilities?: string[];
7979
pullAuthStrategy?:
80-
| 'basic'
81-
| 'ssh-user-key'
82-
| 'ssh-service-token'
83-
| 'ssh-agent-forwarding'
84-
| 'anonymous';
80+
'basic' | 'ssh-user-key' | 'ssh-service-token' | 'ssh-agent-forwarding' | 'anonymous';
8581

8682
/**
8783
* Create an action.

src/proxy/ssh/sshInternals.ts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -79,8 +79,7 @@ export interface ChannelModule {
7979
*/
8080
export function getProtocol(client: ssh2.Connection): Ssh2Protocol {
8181
const proto = (client as unknown as { _protocol?: unknown })._protocol as
82-
| Partial<Ssh2Protocol>
83-
| undefined;
82+
Partial<Ssh2Protocol> | undefined;
8483
if (!proto) fail('client._protocol is missing');
8584
if (typeof proto.openssh_authAgent !== 'function') {
8685
fail('client._protocol.openssh_authAgent is missing or not a function');
@@ -99,8 +98,7 @@ export function getProtocol(client: ssh2.Connection): Ssh2Protocol {
9998
*/
10099
export function getChannelManager(client: ssh2.Connection): Ssh2ChannelManager {
101100
const chanMgr = (client as unknown as { _chanMgr?: unknown })._chanMgr as
102-
| Partial<Ssh2ChannelManager>
103-
| undefined;
101+
Partial<Ssh2ChannelManager> | undefined;
104102
if (!chanMgr) fail('client._chanMgr is missing');
105103
if (!chanMgr._channels || typeof chanMgr._channels !== 'object') {
106104
fail('client._chanMgr._channels is missing or not an object');

0 commit comments

Comments
 (0)