Kiro icon indicating copy to clipboard operation
Kiro copied to clipboard

execute_pwsh tool unavailable after Kiro update

Open hitechparadigm opened this issue 5 months ago • 6 comments

Bug Report

Summary

The execute_pwsh terminal tool stopped being available after updating Kiro today. It was working fine before the update.

Steps to Reproduce

  1. execute_pwsh was working correctly in Kiro before the update
  2. Updated Kiro to the latest version today
  3. After the update, execute_pwsh returns Tool "execute_pwsh" is not available on every call
  4. Restarting Kiro and reopening the workspace did not restore it

Expected Behavior

execute_pwsh should continue to work after a Kiro update, as it did before.

Actual Behavior

Every call to execute_pwsh returns:

Tool "execute_pwsh" is not available

Environment

  • OS: Windows (win32)
  • Shell: cmd / PowerShell
  • Workspace: Node.js/AWS project

Impact

  • Cannot run terminal commands from the agent
  • Blocks commit/push scripts (node scripts/safe-commit-push.js)
  • Blocks CI/CD status checks (node scripts/check-cicd-status.js)
  • Breaks the full autonomous development workflow

Workaround

None found. Restarting Kiro and reopening the workspace did not restore the tool.

Additional Context

The tool was working correctly in the same workspace before the Kiro update was applied today. After the update, execute_pwsh disappeared from the available tool set entirely. It appears the update may have removed or disabled terminal access for the agent.

hitechparadigm avatar Jun 18 '26 01:06 hitechparadigm

🤖 Potential Duplicate Detected

This issue appears to be similar to:

What happens next?

  • ⏰ This issue will be automatically closed in 3 days
  • 🏷️ If this is not a duplicate, you can prevent automatic closure by adding a comment or reacting with 👎 to this message.
  • 💬 Comment on the original issue if you have additional information

Why is this marked as duplicate? Both issues report problems with execute_pwsh tool functionality after Kiro 1.0.0 update, specifically related to shell command execution not working properly

github-actions[bot] avatar Jun 18 '26 01:06 github-actions[bot]

Responding to the auto-detected duplicate suggestion — this issue is not a duplicate of the flagged issues. Here's why each one is distinct:

#9501 — Closest relative, NOT a true duplicate

Same product (Kiro IDE), same tool (execute_pwsh), same trigger (1.0.0 update, same day). However, the symptom differs: #9501 reports the tool runs in a hidden terminal — the tool still executes, just without a visible window. Our issue (#9512) reports the tool is completely absent from the available tool set — Tool "execute_pwsh" is not available — it never runs at all. These may share a root cause but represent different severity levels of the same regression. I've already added a comment on #9501 to cross-reference.

#7143 — NOT a duplicate

  • Different product: Kiro CLI (kiro-cli 1.29.1), not the Kiro IDE
  • Different tools: web_fetch / web_search — not execute_pwsh
  • Different cause: Tools unavailable due to a network fetch failure for web tool settings at startup — not a product update regression

#7431 — NOT a duplicate

  • Different product: Kiro CLI 2.0 (Windows native), not the Kiro IDE
  • Different tool: execute_bash / execute_cmd — not execute_pwsh
  • Different error: Shell tool fails with execution errors because no shell path is detected — not "tool not available"

#8090 — NOT a duplicate

  • Different product: Kiro CLI 2.2.0, not the Kiro IDE
  • Different OS: macOS, not Windows
  • Different issue: Shell tool spawns a non-login bash without inheriting environment variables — tool works, but environment is isolated. Not an availability issue.

#7491 — NOT a duplicate

  • Different product: Kiro CLI 0.11.131, not the Kiro IDE
  • Different OS: macOS, not Windows
  • Different tools: executeBash / fsWrite — not execute_pwsh
  • Different cause: Parameter serialization breaks after context compaction — completely unrelated

Summary

execute_pwsh is a Windows-specific tool unique to the Kiro IDE — it does not exist in the CLI at all. None of the CLI issues reference it. This issue is a distinct regression introduced in Kiro IDE 1.0.0 where the PowerShell execution tool is completely removed from the agent's available tool set on Windows.

hitechparadigm avatar Jun 18 '26 01:06 hitechparadigm

Thank you for your feedback! 🙏

The duplicate label has been removed and this issue has been sent back for maintainer review.

A maintainer will review this issue shortly.

github-actions[bot] avatar Jun 18 '26 01:06 github-actions[bot]

Thanks for the report, @hitechparadigm. You're right that this is distinct from #9501 — the tool being completely absent from the tool set is a different (and more severe) symptom than it running hidden.

This appears to be part of the v1.0.0 terminal execution changes. The execute_pwsh tool may have been renamed or consolidated into a different tool in this release. We're tracking this alongside #9501 and the broader terminal cluster (#9483).

Marking this as a bug for the team to investigate further. In the meantime, downgrading to a pre-1.0.0 version from the Kiro downloads page is the confirmed workaround.

AnilMaktala avatar Jun 18 '26 11:06 AnilMaktala

Hi! Several updates have shipped since this was filed — the latest is Kiro IDE 1.0.52, which includes terminal handling improvements. Could you update and let us know if this is still happening?

To update: download from kiro.dev.

If the issue persists after updating, please share:

  • Your current version (Help → About)
  • Whether the workaround mentioned in your report still applies
  • A Conversation ID if possible

AnilMaktala avatar Jun 26 '26 19:06 AnilMaktala

This issue has been automatically closed due to inactivity. It has been 7 days since we requested additional information.

If you still need help with this issue, please feel free to reopen it or create a new issue with the requested details.

github-actions[bot] avatar Jul 04 '26 00:07 github-actions[bot]