Skip to content

kiro agent detection is improperly detecting kiro ide #185

@robokozo

Description

@robokozo

Environment

Node: 24.8.0
std-env: 4.0.0

Reproduction

Reproduction cannot be provided because it depends on the ide being used.

import { isAgent, agent, agentInfo } from "std-env";

console.log({ isAgent, agent, agentInfo });

Describe the bug

When I manually run the code (shown in the reproduction section) in the integrated terminal I get the following results

  • kiro ide
{ isAgent: true, agent: 'kiro', agentInfo: { name: 'kiro' } }
  • vs code
{ isAgent: false, agent: undefined, agentInfo: {} }
  • kiro cli
{ isAgent: true, agent: 'kiro', agentInfo: { name: 'kiro' } }

std-env is not accurately detecting the ide vs the cli

Additional context

The kiro ide is a vscode fork that features an integrated terminal. There is also a CLI called kiro cli.

Logs

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions