Skip to content

Support For Cline Coding Agent #654

@santosha001

Description

@santosha001

Tried to use PreToolUse and PostTool Use win Cline with git-ai but it seems it is not working. Here is Pretooluse script.

try {
$rawInput = [Console]::In.ReadToEnd()
if ($rawInput) {
$null = $rawInput | ConvertFrom-Json
$rawInput | & "C:\new_software.git-ai\bin\git-ai.exe" checkpoint cline --hook-input stdin
}
} catch {
Write-Error "[PreToolUse] git-ai checkpoint failed: $($_.Exception.Message)"
}

@{
cancel = $false
contextModification = ""
errorMessage = ""
} | ConvertTo-Json -Compress

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions