Skip to content

Conversation

@marius-kilocode
Copy link
Collaborator

Update deps and remove unused dependencies

@changeset-bot
Copy link

changeset-bot bot commented Jan 9, 2026

⚠️ No Changeset found

Latest commit: ca8da2a

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

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

@marius-kilocode marius-kilocode requested a review from a team January 9, 2026 23:28
@kiloconnect
Copy link
Contributor

kiloconnect bot commented Jan 9, 2026

Code Review Summary

Status: No Issues Found | Recommendation: Merge

Overview

This PR updates CLI dependencies to their latest versions. The changes are primarily version bumps in package.json, package.dist.json, and esbuild.config.mjs, along with corresponding updates to pnpm-lock.yaml.

Key Changes:

  • Updated ~70+ dependencies to latest versions
  • Removed unused dependencies: eventemitter3, ts-node, undici, vscode-uri, ink-big-text, ink-gradient, ink-select-input, ink-spinner, ink-table, ink-text-input
  • Updated PostHog mock in telemetry tests to use class syntax for Vitest 4.x compatibility
  • Fixed React ErrorBoundary children type issue by wrapping content in fragment

Notable Version Bumps:

  • vitest: 3.2.3 → 4.0.16
  • typescript: 5.4.5 → 5.9.3
  • zod: 3.25.61 → 4.3.5
  • openai: 5.12.2 → 6.16.0
  • puppeteer-core: 23.4.0 → 24.34.0
  • chokidar: 4.0.1 → 5.0.0
  • commander: 12.1.0 → 14.0.2

The code changes are minimal and appropriate for the dependency updates:

  1. The PostHog mock change from vi.fn().mockImplementation() to a class is the correct approach for Vitest 4.x
  2. The ErrorBoundary fragment wrapper is a valid fix for React type compatibility
Files Reviewed (6 files)
  • cli/esbuild.config.mjs - Removed externalized dependencies
  • cli/package.dist.json - Updated dependency versions, removed unused deps
  • cli/package.json - Updated dependency versions, removed unused deps
  • cli/src/services/telemetry/__tests__/telemetry.test.ts - Updated PostHog mock for Vitest 4.x
  • cli/src/ui/messages/extension/ExtensionMessageRow.tsx - Fixed ErrorBoundary children type
  • pnpm-lock.yaml - Lock file updates

@marius-kilocode marius-kilocode added the CLI Kilo Code CLI label Jan 12, 2026
@marius-kilocode marius-kilocode merged commit 2799e7f into main Jan 13, 2026
13 checks passed
@marius-kilocode marius-kilocode deleted the cli-update-deps branch January 13, 2026 08:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLI Kilo Code CLI

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants