Skip to content

Conversation

continue[bot]
Copy link
Contributor

@continue continue bot commented Sep 30, 2025

Summary

This PR adds the organization name display to the Continue CLI intro screen, showing it above the Agent and Model information.

Changes

  • Added organizationName prop to IntroMessage component
  • Display Org: [ORG_NAME] above Agent: [AGENT_NAME] when an organization is selected
  • Created useOrganizationName hook in TUIChat.tsx to fetch organization name from the auth service
  • Updated StaticChatContent to pass organization name to IntroMessage
  • Added tests for organization name display

Example

When a user is authenticated and has an organization selected, the intro screen will now display:

[ASCII Art]

Org: Acme Corp
Agent: My Agent
Model: gpt-4

[rest of intro content]

Testing

  • Added unit tests for organization display in IntroMessage.test.tsx
  • Organization name is only displayed when available (not shown for unauthenticated users or personal accounts)

This agent session was created by ty and co-authored by Continue [email protected].


Summary by cubic

Adds the selected organization name to the CLI intro screen, shown above the agent and model, so users can see their org context at startup.

  • New Features
    • IntroMessage accepts organizationName and renders “Org: [name]” above Agent.
    • TUIChat resolves auth organizationId to a name via a new useOrganizationName hook (listUserOrganizations) and passes it through StaticChatContent.
    • Organization line renders only when available; tests cover presence/absence.

- Add organizationName prop to IntroMessage component
- Display 'Org: [ORG_NAME]' above 'Agent: [AGENT_NAME]'
- Fetch organization name from auth service in TUIChat
- Add useOrganizationName hook to resolve org ID to name
- Pass organizationName through StaticChatContent
- Update tests to verify org display behavior

Generated with [Continue](https://continue.dev)

Co-Authored-By: Continue <[email protected]>
@continue continue bot requested a review from a team as a code owner September 30, 2025 20:29
@continue continue bot requested review from sestinj and removed request for a team September 30, 2025 20:29
@dosubot dosubot bot added the size:M This PR changes 30-99 lines, ignoring generated files. label Sep 30, 2025
Copy link

⚠️ PR Title Format

Your PR title doesn't follow the conventional commit format, but this won't block your PR from being merged. We recommend using this format for better project organization.

Expected Format:

<type>[optional scope]: <description>

Examples:

  • feat: add changelog generation support
  • fix: resolve login redirect issue
  • docs: update README with new instructions
  • chore: update dependencies

Valid Types:

feat, fix, docs, style, refactor, perf, test, build, ci, chore, revert

This helps with:

  • 📝 Automatic changelog generation
  • 🚀 Automated semantic versioning
  • 📊 Better project history tracking

This is a non-blocking warning - your PR can still be merged without fixing this.

@RomneyDa
Copy link
Collaborator

RomneyDa commented Oct 6, 2025

@sestinj could you add screenshots?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size:M This PR changes 30-99 lines, ignoring generated files.
Projects
Status: Todo
Development

Successfully merging this pull request may close these issues.

2 participants