Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/api/providers/__tests__/kilocode-openrouter.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ import {
X_KILOCODE_PROJECTID,
X_KILOCODE_EDITORNAME,
} from "../../../shared/kilocode/headers"
import { streamSse } from "../../../services/continuedev/core/fetch/stream"
import { streamSse } from "../../../services/ghost/continuedev/core/fetch/stream"

// Mock the stream module
vitest.mock("../../../services/continuedev/core/fetch/stream", () => ({
vitest.mock("../../../services/ghost/continuedev/core/fetch/stream", () => ({
streamSse: vitest.fn(),
}))

Expand Down
4 changes: 2 additions & 2 deletions src/api/providers/__tests__/mistral-fim.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ vitest.mock("vscode", () => ({}))

import { MistralHandler } from "../mistral"
import { ApiHandlerOptions } from "../../../shared/api"
import { streamSse } from "../../../services/continuedev/core/fetch/stream"
import { streamSse } from "../../../services/ghost/continuedev/core/fetch/stream"

// Mock the stream module
vitest.mock("../../../services/continuedev/core/fetch/stream", () => ({
vitest.mock("../../../services/ghost/continuedev/core/fetch/stream", () => ({
streamSse: vitest.fn(),
}))

Expand Down
2 changes: 1 addition & 1 deletion src/api/providers/kilocode-openrouter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import {
} from "../../shared/kilocode/headers"
import { KILOCODE_TOKEN_REQUIRED_ERROR } from "../../shared/kilocode/errorUtils"
import { DEFAULT_HEADERS } from "./constants"
import { streamSse } from "../../services/continuedev/core/fetch/stream"
import { streamSse } from "../../services/ghost/continuedev/core/fetch/stream"
import { getEditorNameHeader } from "../../core/kilocode/wrapper"
import type { FimHandler } from "./kilocode/FimHandler"

Expand Down
2 changes: 1 addition & 1 deletion src/api/providers/mistral.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import { handleProviderError } from "./utils/error-handler"
import { BaseProvider } from "./base-provider"
import type { SingleCompletionHandler, ApiHandlerCreateMessageMetadata } from "../index"
import { DEFAULT_HEADERS } from "./constants" // kilocode_change
import { streamSse } from "../../services/continuedev/core/fetch/stream" // kilocode_change
import { streamSse } from "../../services/ghost/continuedev/core/fetch/stream" // kilocode_change
import type { CompletionUsage } from "./openrouter" // kilocode_change
import type { FimHandler } from "./kilocode/FimHandler" // kilocode_change

Expand Down
2 changes: 1 addition & 1 deletion src/esbuild.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ async function main() {
copyPaths([["walkthrough", "walkthrough"]], srcDir, distDir)

// Copy tree-sitter files to dist directory
copyPaths([["services/continuedev/tree-sitter", "tree-sitter"]], srcDir, distDir)
copyPaths([["services/ghost/continuedev/tree-sitter", "tree-sitter"]], srcDir, distDir)

// Copy JSDOM xhr-sync-worker.js to fix runtime resolution
const jsdomWorkerDest = path.join(distDir, "xhr-sync-worker.js")
Expand Down
2 changes: 1 addition & 1 deletion src/eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,6 @@ export default [
},
},
{
ignores: ["webview-ui", "out", "services/continuedev/core/llm/llamaTokenizer.js", "**/__fixtures__"],
ignores: ["webview-ui", "out", "services/ghost/continuedev/core/llm/llamaTokenizer.js", "**/__fixtures__"],
},
]
201 changes: 0 additions & 201 deletions src/services/continuedev/LICENSE

This file was deleted.

Loading
Loading