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
8,856 changes: 5,237 additions & 3,619 deletions package-lock.json

Large diffs are not rendered by default.

51 changes: 26 additions & 25 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -85,44 +85,45 @@
"LICENSE"
],
"devDependencies": {
"@types/marked": "^5.0.2",
"@types/marked": "^6.0.0",
"@types/mime-types": "^3.0.1",
"@types/minimatch": "^5.1.2",
"@types/mock-fs": "^4.13.4",
"@types/qrcode-terminal": "^0.12.2",
"@types/shell-quote": "^1.7.5",
"@types/uuid": "^10.0.0",
"@vitest/coverage-v8": "^3.1.1",
"@vitest/eslint-plugin": "^1.3.4",
"@yao-pkg/pkg": "^6.7.0",
"concurrently": "^9.2.0",
"cross-env": "^7.0.3",
"esbuild": "^0.25.0",
"eslint": "^9.24.0",
"eslint-config-prettier": "^10.1.2",
"eslint-plugin-import": "^2.31.0",
"@types/uuid": "^11.0.0",
"@vitest/coverage-v8": "^4.0.14",
"@vitest/eslint-plugin": "^1.5.0",
"@yao-pkg/pkg": "^6.10.1",
"concurrently": "^9.2.1",
"cross-env": "^10.1.0",
"esbuild": "^0.27.0",
"eslint": "^9.39.1",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-import": "^2.32.0",
"eslint-plugin-license-header": "^0.8.0",
"eslint-plugin-react": "^7.37.5",
"eslint-plugin-react-hooks": "^5.2.0",
"glob": "^10.4.5",
"globals": "^16.0.0",
"eslint-plugin-react-hooks": "^7.0.1",
"glob": "^13.0.0",
"globals": "^16.5.0",
"json": "^11.0.0",
"lodash": "^4.17.21",
"memfs": "^4.17.2",
"memfs": "^4.51.0",
"mnemonist": "^0.40.3",
"mock-fs": "^5.5.0",
"msw": "^2.10.4",
"prettier": "^3.5.3",
"react-devtools-core": "^4.28.5",
"tsx": "^4.20.3",
"typescript-eslint": "^8.30.1",
"vitest": "^3.2.4",
"yargs": "^17.7.2"
"msw": "^2.12.3",
"prettier": "^3.7.1",
"react-devtools-core": "^7.0.1",
"tsx": "^4.20.6",
"typescript-eslint": "^8.48.0",
"vitest": "^4.0.14",
"yargs": "^18.0.0"
},
"dependencies": {
"@lvce-editor/ripgrep": "^1.6.0",
"simple-git": "^3.28.0",
"strip-ansi": "^7.1.0"
"@lvce-editor/ripgrep": "^4.1.0",
"simple-git": "^3.30.0",
"strip-ansi": "^7.1.2",
"vite": "^7.2.4"

Copilot AI Dec 17, 2025

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Adding 'vite' as a runtime dependency in the root package.json is unusual. Vite is typically a build tool. If this is not required for runtime functionality across the monorepo, it should be moved to devDependencies or to the specific packages that need it.

Copilot uses AI. Check for mistakes.
},
"optionalDependencies": {
"@lydell/node-pty": "1.1.0",
Expand Down
7 changes: 4 additions & 3 deletions packages/api-server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,14 @@
"clean": "rm -rf dist"
},
"dependencies": {
"@google/genai": "1.9.0",
"@kolosal-ai/kolosal-ai-core": "file:../core",
"@google/genai": "1.9.0"
"vite": "7.2.4"

Copilot AI Dec 17, 2025

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Adding 'vite' as a runtime dependency in an API server package is unusual. Vite is typically a build tool used in devDependencies. If this is not used for runtime functionality (like server-side rendering with Vite's SSR), it should be moved to devDependencies to avoid increasing the production bundle size.

Copilot uses AI. Check for mistakes.
},
"devDependencies": {
"@types/node": "^22.9.0",
"typescript": "^5.6.3",
"vitest": "^2.1.4"
"vitest": "^4.0.14"
},
"license": "Apache-2.0",
"keywords": [
Expand All @@ -48,4 +49,4 @@
"url": "https://github.com/kolosalAI/kolosal-cli/issues"
},
"homepage": "https://github.com/kolosalAI/kolosal-cli/tree/main/packages/api-server"
}
}
3 changes: 2 additions & 1 deletion packages/api-server/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
"rootDir": "src",
"declaration": true,
"declarationMap": true,
"sourceMap": true
"sourceMap": true,
"types": ["node"]
},
"include": [
"src/**/*"
Expand Down
9 changes: 6 additions & 3 deletions packages/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,37 +55,40 @@
"qrcode-terminal": "^0.12.0",
"react": "^19.1.0",
"read-package-up": "^11.0.0",
"simple-git": "^3.28.0",
"shell-quote": "^1.8.3",
"simple-git": "^3.28.0",
"string-width": "^7.1.0",
"strip-ansi": "^7.1.0",
"strip-json-comments": "^3.1.1",
"undici": "^7.10.0",
"update-notifier": "^7.3.1",
"uuid": "^9.0.1",
"yargs": "^17.7.2",
"zod": "^3.23.8"
},
"devDependencies": {
"@babel/runtime": "^7.27.6",
"@google/gemini-cli-test-utils": "file:../test-utils",
"@kolosal-code/kolosal-code-test-utils": "file:../test-utils",
"@testing-library/react": "^16.3.0",
"@types/command-exists": "^1.2.3",
"@types/diff": "^7.0.2",
"@types/dotenv": "^6.1.1",
"@types/lodash-es": "^4.17.12",
"@types/minimatch": "^6.0.0",

Copilot AI Dec 17, 2025

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is version inconsistency for @types/minimatch across the monorepo. The root package.json uses "^5.1.2", packages/core uses "^5.1.2", while packages/cli and packages/vscode-ide-companion use "^6.0.0". This inconsistency can lead to type conflicts in a monorepo. Consider standardizing to a single version across all packages.

Suggested change
"@types/minimatch": "^6.0.0",
"@types/minimatch": "^5.1.2",

Copilot uses AI. Check for mistakes.
"@types/node": "^20.11.24",
"@types/react": "^19.1.8",
"@types/react-dom": "^19.1.6",
"@types/semver": "^7.7.0",
"@types/shell-quote": "^1.7.5",
"@types/uuid": "^11.0.0",
"@types/yargs": "^17.0.32",
"ink-testing-library": "^4.0.0",
"jsdom": "^26.1.0",
"pretty-format": "^30.0.2",
"react-dom": "^19.1.0",
"typescript": "^5.3.3",
"vitest": "^3.1.1",
"@kolosal-code/kolosal-code-test-utils": "file:../test-utils"
"vitest": "^3.1.1"
},
"engines": {
"node": ">=20"
Expand Down
4 changes: 3 additions & 1 deletion packages/cli/src/ui/hooks/useGitBranchName.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@ import { useGitBranchName } from './useGitBranchName.js';
import { fs, vol } from 'memfs'; // For mocking fs
import { EventEmitter } from 'node:events';
import { exec as mockExec, type ChildProcess } from 'node:child_process';
import type { FSWatcher } from 'memfs/lib/volume.js';

// Define FSWatcher type based on memfs
type FSWatcher = ReturnType<typeof fs.watch>;

// Mock child_process
vi.mock('child_process');
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"outDir": "dist",
"jsx": "react-jsx",
"lib": ["DOM", "DOM.Iterable", "ES2023"],
"types": ["node", "vitest/globals"]
"types": ["node"]
},
"include": [
"index.ts",
Expand Down
1 change: 1 addition & 0 deletions packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@
"@types/fast-levenshtein": "^0.0.4",
"@types/minimatch": "^5.1.2",
"@types/picomatch": "^4.0.1",
"@types/uuid": "^11.0.0",
"@types/ws": "^8.5.10",
"typescript": "^5.3.3",
"vitest": "^3.1.1"
Expand Down
2 changes: 1 addition & 1 deletion packages/core/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"outDir": "dist",
"lib": ["DOM", "DOM.Iterable", "ES2021"],
"composite": true,
"types": ["node", "vitest/globals"]
"types": ["node"]
},
"include": ["index.ts", "src/**/*.ts", "src/**/*.json"],
"exclude": ["node_modules", "dist"]
Expand Down
4 changes: 2 additions & 2 deletions packages/desktop/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@
},
"devDependencies": {
"@tauri-apps/cli": "^1.5.8",
"vite": "^5.0.8"
"vite": "^7.2.4"
}
}
}
10 changes: 6 additions & 4 deletions packages/vscode-ide-companion/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,21 +39,21 @@
"commands": [
{
"command": "kolosal.diff.accept",
"title": "Kolosal Cli: Accept Current Diff",
"title": "Kolosal Cli: Accept Current Diff",
"icon": "$(check)"
},
{
"command": "kolosal.diff.cancel",
"title": "Kolosal Cli: Close Diff Editor",
"title": "Kolosal Cli: Close Diff Editor",
"icon": "$(close)"
},
{
"command": "kolosal-ai.runQwenCode",
"title": "Kolosal Cli: Run"
"title": "Kolosal Cli: Run"
},
{
"command": "kolosal-ai.showNotices",
"title": "Kolosal Cli: View Third-Party Notices"
"title": "Kolosal Cli: View Third-Party Notices"
}
],
"menus": {
Expand Down Expand Up @@ -112,7 +112,9 @@
"devDependencies": {
"@types/cors": "^2.8.19",
"@types/express": "^5.0.3",
"@types/minimatch": "^6.0.0",

Copilot AI Dec 17, 2025

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is version inconsistency for @types/minimatch across the monorepo. The root package.json uses "^5.1.2", packages/core uses "^5.1.2", while packages/cli and packages/vscode-ide-companion use "^6.0.0". This inconsistency can lead to type conflicts in a monorepo. Consider standardizing to a single version across all packages.

Suggested change
"@types/minimatch": "^6.0.0",
"@types/minimatch": "^5.1.2",

Copilot uses AI. Check for mistakes.
"@types/node": "20.x",
"@types/uuid": "^11.0.0",
"@types/vscode": "^1.99.0",
"@typescript-eslint/eslint-plugin": "^8.31.1",
"@typescript-eslint/parser": "^8.31.1",
Expand Down
3 changes: 2 additions & 1 deletion packages/vscode-ide-companion/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@
* type checking error in ../../node_modules/@types/request/index.d.ts.
*/
"skipLibCheck": true,
"strict": true /* enable all strict type-checking options */
"strict": true /* enable all strict type-checking options */,
"types": ["node"]
/* Additional Checks */
// "noImplicitReturns": true, /* Report error when not all code paths in function return a value. */
// "noFallthroughCasesInSwitch": true, /* Report errors for fallthrough cases in switch statement. */
Expand Down
3 changes: 2 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@
"module": "NodeNext",
"moduleResolution": "nodenext",
"target": "es2022",
"types": ["node", "vitest/globals"],
"typeRoots": ["./node_modules/@types", "./types"],
"types": ["node"],
"jsx": "react-jsx"
}
}
11 changes: 11 additions & 0 deletions types/uuid.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
declare module 'uuid' {
export function v4(): string;
export const v1: () => string;
export const v3: (name: any, namespace: any) => string;
export const v5: (name: any, namespace: any) => string;
export const NIL: string;
export const parse: (uuid: string) => Uint8Array;
export const stringify: (buffer: Uint8Array, offset?: number) => string;
export const validate: (uuid: string) => boolean;
export const version: (uuid: string) => number;
}