Skip to content

Revert "feat: add X-KiloCode-MachineId header to API requests"#415

Merged
chrarnoldus merged 1 commit intodevfrom
revert-331-session/agent_8ba846fa-10ac-4d6d-a61a-d26dd567770c
Feb 18, 2026
Merged

Revert "feat: add X-KiloCode-MachineId header to API requests"#415
chrarnoldus merged 1 commit intodevfrom
revert-331-session/agent_8ba846fa-10ac-4d6d-a61a-d26dd567770c

Conversation

@chrarnoldus
Copy link
Contributor

Reverts #331

@kiloconnect
Copy link
Contributor

kiloconnect bot commented Feb 18, 2026

Code Review Summary

Status: No Issues Found | Recommendation: Merge

This is a clean revert of PR #331 (feat: add X-KiloCode-MachineId header to API requests). The revert completely removes all traces of HEADER_MACHINEID / X_KILOCODE_MACHINEID from the gateway constants, headers, barrel exports, and LLM request headers. No dangling references remain in the codebase. The Identity.getMachineId() function still exists in kilo-telemetry for telemetry purposes, which is unrelated and unaffected.

Files Reviewed (4 files)
  • packages/kilo-gateway/src/api/constants.ts - Removed HEADER_MACHINEID constant
  • packages/kilo-gateway/src/headers.ts - Removed HEADER_MACHINEID import, X_KILOCODE_MACHINEID re-export, machineId option from buildKiloHeaders, and conditional header setting
  • packages/kilo-gateway/src/index.ts - Removed HEADER_MACHINEID from barrel export
  • packages/opencode/src/session/llm.ts - Removed HEADER_MACHINEID and Identity imports, machineId resolution, and machine ID header from requests

@chrarnoldus chrarnoldus merged commit 75882f0 into dev Feb 18, 2026
10 checks passed
@chrarnoldus chrarnoldus deleted the revert-331-session/agent_8ba846fa-10ac-4d6d-a61a-d26dd567770c branch February 18, 2026 09:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments