Kiro icon indicating copy to clipboard operation
Kiro copied to clipboard

Shell Integration script causes StackOverflowException in PowerShell terminal on Windows0.7.45

Open joljess opened this issue 11 months ago • 2 comments

Before opening, please confirm:

Operating System

Windows 10 Professional 21H1

Kiro Version

0.7.45

Bug Description

The PowerShell terminal in Kiro crashes immediately on launch when the Kiro shell integration script is enabled in the user's $PROFILE. The crash manifests as a StackOverflowException. The shell integration script loaded is located at: c:\Users\HUANGYU46\AppData\Local\Programs\Kiro\resources\app\out\vs\workbench\contrib\terminal\common\scripts\shellIntegration.ps1 (Returned by kiro --locate-shell-integration-path pwsh).

Steps to Reproduce

1.Enable Kiro shell integration in the

Image Image

$PROFILE by including the line: if ($env:TERM_PROGRAM -eq "kiro") { . "$(kiro --locate-shell-integration-path pwsh)" }. Current relevant $PROFILE content: `oh-my-posh init pwsh --config "$env:POSH_THEMES_PATH/amro.omp.json" | Invoke-Expression Set-Alias ll Get-ChildItem

if ($env:TERM_PROGRAM -eq "kiro") { . "$(kiro --locate-shell-integration-path pwsh)" }2.Open a terminal within Kiro. 3.The terminal window crashes instantly. Debug output shows:Process is terminated due to StackOverflowException.`

Expected Behavior

PowerShell can use

Conversation ID

No response

Additional Context

No response

joljess avatar Dec 22 '25 09:12 joljess

Cheapest Anthropic & OpenAI-Compatible API 🚀

Works with Claude Code, Cursor, Cline, Void, Continue, Kilo Code, OpenClaw, OpenCode, LangChain, Obsidian, IntelliJ — any OpenAI-compatible client.

💰 Pricing (1 credit ≈ $1 original Anthropic)

Credits Price Tokens
1k $5 ~100M
5k $15 ~500M
10k $30 ~1B

🤖 Models: claude-opus-4-6 / sonnet-4-6 / haiku-4-5 (1M ctx + websearch)

✅ Why us?

  • 100 trial credits before payment
  • Credits issued before payment
  • Any country, any payment method
  • 400+ clients, quality guarantee
  • We can prove Opus is real and explain pricing

📩 Telegram: @yon_sup

BrinkDeveloper avatar Apr 09 '26 01:04 BrinkDeveloper

Hi, this was filed against IDE 0.7.45. PowerShell terminal integration was completely reworked in CLI 2.0 (Apr 13, 2026) with native Windows support. The shell integration scripts have been rewritten since this version.

If you're still experiencing this on the latest version, please open a new issue.

Closing as resolved.

AnilMaktala avatar May 21 '26 13:05 AnilMaktala