mirror of
https://github.com/Kilo-Org/kilocode.git
synced 2026-10-24 01:24:18 +08:00
Remove kilocode_change markers from kilo-specific packages
These markers are only needed in shared upstream opencode files to prevent merge conflicts. In kilo-specific packages (kilocode/, kilo-gateway/, kilo-ui/, kilo-i18n/, kilo-vscode/, etc.) they serve no purpose.
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
// kilocode_change - Kilo Gateway TUI component
|
||||
/**
|
||||
* Custom OAuth handler for Kilo Gateway
|
||||
*
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
// kilocode_change - new file
|
||||
/**
|
||||
* Kilo Notifications Dialog
|
||||
*
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
// kilocode_change - Kilo Gateway TUI component
|
||||
/**
|
||||
* Kilo Gateway Organization Selection Dialog
|
||||
*
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
// kilocode_change - new file
|
||||
/**
|
||||
* Kilo Gateway Profile Dialog
|
||||
*
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
// kilocode_change - Kilo Gateway TUI component
|
||||
/**
|
||||
* Kilo Gateway Team Selection Dialog
|
||||
*
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
// kilocode_change - new file
|
||||
/**
|
||||
* Kilo News Component
|
||||
*
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
// kilocode_change - new file
|
||||
/**
|
||||
* Kilo Notification Banner
|
||||
*
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
// kilocode_change - new file
|
||||
|
||||
import { For } from "solid-js"
|
||||
import { DEFAULT_THEMES, useTheme } from "@tui/context/theme"
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
import { Config } from "../config/config"
|
||||
import { ModesMigrator } from "./modes-migrator"
|
||||
import { RulesMigrator } from "./rules-migrator" // kilocode_change
|
||||
import { RulesMigrator } from "./rules-migrator"
|
||||
import { WorkflowsMigrator } from "./workflows-migrator"
|
||||
import { IgnoreMigrator } from "./ignore-migrator" // kilocode_change
|
||||
import { IgnoreMigrator } from "./ignore-migrator"
|
||||
|
||||
export namespace KilocodeConfigInjector {
|
||||
export interface InjectionResult {
|
||||
@@ -46,7 +46,6 @@ export namespace KilocodeConfigInjector {
|
||||
config.command = workflowsMigration.commands
|
||||
}
|
||||
|
||||
// kilocode_change start - Rules migration
|
||||
if (options.includeRules !== false) {
|
||||
const rulesMigration = await RulesMigrator.migrate({
|
||||
projectDir: options.projectDir,
|
||||
@@ -60,9 +59,7 @@ export namespace KilocodeConfigInjector {
|
||||
config.instructions = rulesMigration.instructions
|
||||
}
|
||||
}
|
||||
// kilocode_change end
|
||||
|
||||
// kilocode_change start - Ignore migration
|
||||
if (options.includeIgnore !== false) {
|
||||
const ignoreMigration = await IgnoreMigrator.migrate({
|
||||
projectDir: options.projectDir,
|
||||
@@ -75,7 +72,6 @@ export namespace KilocodeConfigInjector {
|
||||
config.permission = mergePermissions(config.permission, ignoreMigration.permission)
|
||||
}
|
||||
}
|
||||
// kilocode_change end
|
||||
|
||||
return {
|
||||
configJson: JSON.stringify(config),
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
// kilocode_change - new file
|
||||
|
||||
import { Installation } from "@/installation"
|
||||
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
// kilocode_change - new file
|
||||
import { Provider } from "@/provider/provider"
|
||||
import { LLM } from "@/session/llm"
|
||||
import { Agent } from "@/agent/agent"
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
// kilocode_change - new file
|
||||
|
||||
import * as path from "path"
|
||||
import os from "os"
|
||||
|
||||
@@ -2,6 +2,6 @@ export { ModesMigrator } from "./modes-migrator"
|
||||
export { RulesMigrator } from "./rules-migrator"
|
||||
export { WorkflowsMigrator } from "./workflows-migrator"
|
||||
export { McpMigrator } from "./mcp-migrator"
|
||||
export { IgnoreMigrator } from "./ignore-migrator" // kilocode_change
|
||||
export { IgnoreMigrator } from "./ignore-migrator"
|
||||
export { KilocodeConfigInjector } from "./config-injector"
|
||||
export { KilocodePaths } from "./paths"
|
||||
|
||||
@@ -23,7 +23,6 @@ export namespace ModesMigrator {
|
||||
}
|
||||
|
||||
// Default modes to skip - these have native Opencode equivalents
|
||||
// kilocode_change - added "build" for backward compatibility after renaming "build" to "code"
|
||||
const DEFAULT_MODE_SLUGS = new Set(["code", "build", "architect", "ask", "debug", "orchestrator"])
|
||||
|
||||
// Group to permission mapping
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
// kilocode_change - new file
|
||||
import { Instance } from "@/project/instance"
|
||||
import path from "path"
|
||||
import { $ } from "bun"
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
// kilocode_change - new file
|
||||
import type { Command } from "@/command"
|
||||
import { Review } from "./review"
|
||||
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
// kilocode_change - new file
|
||||
import { $ } from "bun"
|
||||
import { Log } from "@/util/log"
|
||||
import { Instance } from "@/project/instance"
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
// kilocode_change - new file
|
||||
import z from "zod"
|
||||
|
||||
export const DiffHunk = z.object({
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
// kilocode_change - new file
|
||||
|
||||
import * as fs from "fs/promises"
|
||||
import * as path from "path"
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
// kilocode_change - new file
|
||||
|
||||
import * as fs from "fs/promises"
|
||||
import * as path from "path"
|
||||
|
||||
Reference in New Issue
Block a user