Skip to content

Conversation

@catrielmuller
Copy link
Contributor

Context

  • Regression with the cutoff timestamp 0

Implementation

  • Set the welcome message always on the TS 1
  • use generateMessage on Update and Kilo Notifications

Screenshots

Screenshot 2025-11-04 at 1 44 54 PM

@changeset-bot
Copy link

changeset-bot bot commented Nov 4, 2025

🦋 Changeset detected

Latest commit: bb917a2

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@kilocode/cli Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR refactors message generation logic by extracting duplicated timestamp and ID generation code into a centralized generateMessage() utility function. Additionally, it fixes a typo in the changeset documentation.

  • Extracts common message ID and timestamp generation logic into a reusable utility function
  • Replaces inline ID/timestamp generation across three files with the new utility
  • Updates welcome message timestamp from 0 to 1
  • Corrects spelling error in changeset

Reviewed Changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 7 comments.

Show a summary per file
File Description
cli/src/ui/utils/messages.ts New utility file containing the generateMessage() function for consistent message ID and timestamp generation
cli/src/utils/notifications.ts Refactored to use generateMessage() instead of inline timestamp/ID generation
cli/src/utils/auto-update.ts Refactored to use generateMessage() instead of inline timestamp/ID generation
cli/src/ui/utils/welcomeMessage.ts Refactored to use generateMessage() and changed welcome message timestamp from 0 to 1
.changeset/thirty-kings-tickle.md Fixed typo "Wellcome" to "Welcome"

@catrielmuller catrielmuller merged commit d7ae72c into main Nov 4, 2025
19 checks passed
@catrielmuller catrielmuller deleted the catrielmuller/cli-fix-wellcome-msg branch November 4, 2025 13:50
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.

3 participants