Skip to content

Suppress AI tooling hints in non-interactive sessions - #7578

Open
ethanma-db wants to merge 1 commit into
mainfrom
ethan-ma/cnxt-2523-quiet-aitools-hint
Open

ethanma-db wants to merge 1 commit into
mainfrom
ethan-ma/cnxt-2523-quiet-aitools-hint

Conversation

@ethanma-db

@ethanma-db ethanma-db commented Nov 12, 2026 •

Copy link
Copy Markdown

Changes

Suppress the AI tooling installation hint unless the CLI has a fully interactive terminal and Claude Code provides a session ID. Preserve the existing once-per-hour session throttle and installed-tooling detection. Add a changelog fragment.

Why

When Claude Code does not supply a session ID, every command currently prints the installation hint. Suppressing unthrottled hints and non-interactive output keeps scripts and repeated CLI calls quiet.

Addresses CNXT-2523.

Tests

  • go test ./libs/aitools/agents ./cmd/root
  • Regression coverage for missing session IDs, piped streams, redirected stdin, and ensuring suppressed invocations do not consume the session hint.
  • git diff --check

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant