refactor: kilo compat for v1.2.15

This commit is contained in:
Kevin van Dijk
2026-02-26 14:35:48 +01:00
parent 799b2623cb
commit 2c10cfbb52
167 changed files with 534 additions and 519 deletions
@@ -1,7 +1,7 @@
import { describe, expect, test } from "bun:test"
import { ACP } from "../../src/acp/agent"
import type { AgentSideConnection } from "@agentclientprotocol/sdk"
import type { Event, EventMessagePartUpdated, ToolStatePending, ToolStateRunning } from "@opencode-ai/sdk/v2"
import type { Event, EventMessagePartUpdated, ToolStatePending, ToolStateRunning } from "@kilocode/sdk/v2"
import { Instance } from "../../src/project/instance"
import { tmpdir } from "../fixture/fixture"
@@ -1,6 +1,6 @@
import { test, expect, describe } from "bun:test"
import { resolvePluginProviders } from "../../src/cli/cmd/auth"
import type { Hooks } from "@opencode-ai/plugin"
import type { Hooks } from "@kilocode/plugin"
function hookWithAuth(provider: string): Hooks {
return {
@@ -5,7 +5,7 @@ import {
formatPart,
formatTranscript,
} from "../../../src/cli/cmd/tui/util/transcript"
import type { AssistantMessage, Part, UserMessage } from "@opencode-ai/sdk/v2"
import type { AssistantMessage, Part, UserMessage } from "@kilocode/sdk/v2"
describe("transcript", () => {
describe("formatAssistantHeader", () => {
+1 -1
View File
@@ -88,7 +88,7 @@ describe("tool.registry", () => {
JSON.stringify({
name: "custom-tools",
dependencies: {
"@opencode-ai/plugin": "^0.0.0",
"@kilocode/plugin": "^0.0.0",
cowsay: "^1.6.0",
},
}),