chore: merge fix/mcp-schema-limits into fork main #30
ci.yml
on: push
build
1m 44s
test-pi-tui
41s
test-vscode-legacy
34s
test-windows
0s
lint
39s
typecheck
34s
Matrix: test
Annotations
32 errors and 10 warnings
|
typecheck
Process completed with exit code 2.
|
|
typecheck:
packages/agent-core/src/session/provider-manager.ts#L518
Duplicate function implementation.
|
|
typecheck:
packages/agent-core/src/session/provider-manager.ts#L27
Duplicate function implementation.
|
|
test-vscode-legacy
Process completed with exit code 1.
|
|
test/workspace-paths.test.ts:
apps/vscode/src/handlers/config.handler.ts#L2
Error: [vitest] There was an error when mocking a module. If you are using "vi.mock" factory, make sure there are no top level variables inside, since this call is hoisted to top of the file. Read more: https://vitest.dev/api/vi.html#vi-mock
❯ src/handlers/config.handler.ts:2:1
Caused by: Error: Transform failed with 1 error:
/home/runner/work/kimi-code/kimi-code/packages/agent-core/src/session/provider-manager.ts:518:9: ERROR: The symbol "isOfficialOpenAIBaseUrl" has already been declared
Plugin: vite:esbuild
File: /home/runner/work/kimi-code/kimi-code/packages/agent-core/src/session/provider-manager.ts:518:9
The symbol "isOfficialOpenAIBaseUrl" has already been declared
516| * unset, which the transport defaults there).
517| */
518| function isOfficialOpenAIBaseUrl(baseUrl: string | undefined): boolean {
| ^
519| if (baseUrl === undefined) {
520| return true;
❯ failureErrorWithLog ../../node_modules/.pnpm/esbuild@0.25.12/node_modules/esbuild/lib/main.js:1467:15
❯ ../../node_modules/.pnpm/esbuild@0.25.12/node_modules/esbuild/lib/main.js:736:50
❯ responseCallbacks.<computed> ../../node_modules/.pnpm/esbuild@0.25.12/node_modules/esbuild/lib/main.js:603:9
❯ handleIncomingPacket ../../node_modules/.pnpm/esbuild@0.25.12/node_modules/esbuild/lib/main.js:658:12
❯ Socket.readFromStdout ../../node_modules/.pnpm/esbuild@0.25.12/node_modules/esbuild/lib/main.js:581:7
|
|
test/kimi-runtime.test.ts:
apps/vscode/src/runtime/kimi-runtime.ts#L1
Error: [vitest] There was an error when mocking a module. If you are using "vi.mock" factory, make sure there are no top level variables inside, since this call is hoisted to top of the file. Read more: https://vitest.dev/api/vi.html#vi-mock
❯ src/runtime/kimi-runtime.ts:1:1
Caused by: Caused by: Error: Transform failed with 1 error:
/home/runner/work/kimi-code/kimi-code/packages/agent-core/src/session/provider-manager.ts:518:9: ERROR: The symbol "isOfficialOpenAIBaseUrl" has already been declared
Plugin: vite:esbuild
File: /home/runner/work/kimi-code/kimi-code/packages/agent-core/src/session/provider-manager.ts:518:9
The symbol "isOfficialOpenAIBaseUrl" has already been declared
516| * unset, which the transport defaults there).
517| */
518| function isOfficialOpenAIBaseUrl(baseUrl: string | undefined): boolean {
| ^
519| if (baseUrl === undefined) {
520| return true;
❯ failureErrorWithLog ../../node_modules/.pnpm/esbuild@0.25.12/node_modules/esbuild/lib/main.js:1467:15
❯ ../../node_modules/.pnpm/esbuild@0.25.12/node_modules/esbuild/lib/main.js:736:50
❯ responseCallbacks.<computed> ../../node_modules/.pnpm/esbuild@0.25.12/node_modules/esbuild/lib/main.js:603:9
❯ handleIncomingPacket ../../node_modules/.pnpm/esbuild@0.25.12/node_modules/esbuild/lib/main.js:658:12
❯ Socket.readFromStdout ../../node_modules/.pnpm/esbuild@0.25.12/node_modules/esbuild/lib/main.js:581:7
|
|
test/bridge-handler.test.ts:
apps/vscode/src/handlers/config.handler.ts#L2
Error: [vitest] There was an error when mocking a module. If you are using "vi.mock" factory, make sure there are no top level variables inside, since this call is hoisted to top of the file. Read more: https://vitest.dev/api/vi.html#vi-mock
❯ src/handlers/config.handler.ts:2:1
Caused by: Caused by: Error: Transform failed with 1 error:
/home/runner/work/kimi-code/kimi-code/packages/agent-core/src/session/provider-manager.ts:518:9: ERROR: The symbol "isOfficialOpenAIBaseUrl" has already been declared
Plugin: vite:esbuild
File: /home/runner/work/kimi-code/kimi-code/packages/agent-core/src/session/provider-manager.ts:518:9
The symbol "isOfficialOpenAIBaseUrl" has already been declared
516| * unset, which the transport defaults there).
517| */
518| function isOfficialOpenAIBaseUrl(baseUrl: string | undefined): boolean {
| ^
519| if (baseUrl === undefined) {
520| return true;
❯ failureErrorWithLog ../../node_modules/.pnpm/esbuild@0.25.12/node_modules/esbuild/lib/main.js:1467:15
❯ ../../node_modules/.pnpm/esbuild@0.25.12/node_modules/esbuild/lib/main.js:736:50
❯ responseCallbacks.<computed> ../../node_modules/.pnpm/esbuild@0.25.12/node_modules/esbuild/lib/main.js:603:9
❯ handleIncomingPacket ../../node_modules/.pnpm/esbuild@0.25.12/node_modules/esbuild/lib/main.js:658:12
❯ Socket.readFromStdout ../../node_modules/.pnpm/esbuild@0.25.12/node_modules/esbuild/lib/main.js:581:7
|
|
lint
Process completed with exit code 1.
|
|
build
Process completed with exit code 1.
|
|
build
Duplicate function implementation.
|
|
build
Duplicate function implementation.
|
|
test (5)
Process completed with exit code 1.
|
|
[cli] test/cli/export.test.ts:
apps/kimi-code/src/cli/sub/export.ts#L16
Error: [vitest] There was an error when mocking a module. If you are using "vi.mock" factory, make sure there are no top level variables inside, since this call is hoisted to top of the file. Read more: https://vitest.dev/api/vi.html#vi-mock
❯ src/cli/sub/export.ts:16:1
Caused by: Caused by: SyntaxError: Identifier 'isOfficialOpenAIBaseUrl' has already been declared
|
|
[kimi-code] test/bridge-handler.test.ts:
apps/vscode/src/handlers/config.handler.ts#L2
Error: [vitest] There was an error when mocking a module. If you are using "vi.mock" factory, make sure there are no top level variables inside, since this call is hoisted to top of the file. Read more: https://vitest.dev/api/vi.html#vi-mock
❯ src/handlers/config.handler.ts:2:1
Caused by: Caused by: SyntaxError: Identifier 'isOfficialOpenAIBaseUrl' has already been declared
|
|
test (2)
Process completed with exit code 1.
|
|
[agent-core-v2] test/state/stateManifest.test.ts > state manifest > docs/state-manifest.d.ts is up to date:
packages/agent-core-v2/test/state/stateManifest.test.ts#L12
AssertionError: expected '// App, Workspace, Session & Agent St…' to be '// App, Workspace, Session & Agent St…' // Object.is equality
- Expected
+ Received
@@ -184,16 +184,10 @@
readonly whenToUse?: string;
readonly disableModelInvocation?: boolean;
readonly isSubSkill?: boolean;
readonly safe?: boolean;
readonly arguments?: string | readonly unknown[];
- readonly category?: string;
- readonly categories?: string | readonly string[];
- readonly issuer?: string;
- readonly collection?: string;
- readonly groups?: readonly string[];
- readonly tags?: readonly string[];
[key: string]: unknown;
};
readonly source: /* SkillSource — packages/agent-core-v2/src/app/skillCatalog/types.ts */ 'project' | 'user' | 'extra' | 'builtin';
readonly plugin?: /* SkillPluginContext — packages/agent-core-v2/src/app/skillCatalog/types.ts */ {
readonly id: string;
@@ -227,16 +221,10 @@
readonly whenToUse?: string;
readonly disableModelInvocation?: boolean;
readonly isSubSkill?: boolean;
readonly safe?: boolean;
readonly arguments?: string | readonly unknown[];
- readonly category?: string;
- readonly categories?: string | readonly string[];
- readonly issuer?: string;
- readonly collection?: string;
- readonly groups?: readonly string[];
- readonly tags?: readonly string[];
[key: string]: unknown;
};
readonly source: /* SkillSource — packages/agent-core-v2/src/app/skillCatalog/types.ts */ 'project' | 'user' | 'extra' | 'builtin';
readonly plugin?: /* SkillPluginContext — packages/agent-core-v2/src/app/skillCatalog/types.ts */ {
readonly id: string;
@@ -260,16 +248,10 @@
readonly whenToUse?: string;
readonly disableModelInvocation?: boolean;
readonly isSubSkill?: boolean;
readonly safe?: boolean;
readonly arguments?: string | readonly unknown[];
- readonly category?: string;
- readonly categories?: string | readonly string[];
- readonly issuer?: string;
- readonly collection?: string;
- readonly groups?: readonly string[];
- readonly tags?: readonly string[];
[key: string]: unknown;
};
readonly source: /* SkillSource — packages/agent-core-v2/src/app/skillCatalog/types.ts */ 'project' | 'user' | 'extra' | 'builtin';
readonly plugin?: /* SkillPluginContext — packages/agent-core-v2/src/app/skillCatalog/types.ts */ {
readonly id: string;
@@ -301,16 +283,10 @@
readonly whenToUse?: string;
readonly disableModelInvocation?: boolean;
readonly isSubSkill?: boolean;
readonly safe?: boolean;
readonly arguments?: string | readonly unknown[];
- readonly category?: string;
- readonly categories?: string | readonly string[];
- readonly issuer?: string;
- readonly collection?: string;
- readonly groups?: readonly string[];
- readonly tags?: readonly string[];
[key: string]: unknown;
};
readonly source: /* SkillSource — packages/agent-core-v2/src/app/skillCatalog/types.ts */ 'project' | 'user' | 'extra' | 'builtin';
readonly plugin?: /* SkillPluginContext — packages/agent-core-v2/src/app/skillCatalog/types.ts */ {
readonly id: string;
@@ -334,16 +310,10 @@
readonly whenToUse?: string;
readonly disableModelInvocation?: boolean;
readonly isSubSkill?: boolean;
readonly safe?: boolean;
readonly arguments?: string | readonly unknown[];
- readonly category?: string;
- readonly categories?: string | readonly string[];
- readonly issuer?: string;
- readonly collection?: string;
- readonly groups?: readonly string[];
- readonly tags?: readonly string[];
|
|
[cli] test/cli/provider.test.ts:
apps/kimi-code/src/cli/sub/provider.ts#L22
Error: [vitest] There was an error when mocking a module. If you are using "vi.mock" factory, make sure there are no top level variables inside, since this call is hoisted to top of the file. Read more: https://vitest.dev/api/vi.html#vi-mock
❯ src/cli/sub/provider.ts:22:1
Caused by: Caused by: SyntaxError: Identifier 'isOfficialOpenAIBaseUrl' has already been declared
|
|
[cli] test/cli/main.test.ts:
apps/kimi-code/test/cli/main.test.ts#L2
Error: [vitest] There was an error when mocking a module. If you are using "vi.mock" factory, make sure there are no top level variables inside, since this call is hoisted to top of the file. Read more: https://vitest.dev/api/vi.html#vi-mock
❯ test/cli/main.test.ts:2:1
Caused by: Caused by: SyntaxError: Identifier 'isOfficialOpenAIBaseUrl' has already been declared
|
|
[cli] test/cli/login.test.ts:
apps/kimi-code/test/cli/login.test.ts#L30
Error: [vitest] There was an error when mocking a module. If you are using "vi.mock" factory, make sure there are no top level variables inside, since this call is hoisted to top of the file. Read more: https://vitest.dev/api/vi.html#vi-mock
❯ test/cli/login.test.ts:30:1
Caused by: Caused by: SyntaxError: Identifier 'isOfficialOpenAIBaseUrl' has already been declared
|
|
[cli] test/cli/goal-prompt.test.ts:
apps/kimi-code/src/constant/app.ts#L1
Error: [vitest] There was an error when mocking a module. If you are using "vi.mock" factory, make sure there are no top level variables inside, since this call is hoisted to top of the file. Read more: https://vitest.dev/api/vi.html#vi-mock
❯ src/constant/app.ts:1:1
Caused by: Caused by: SyntaxError: Identifier 'isOfficialOpenAIBaseUrl' has already been declared
|
|
test (1)
Process completed with exit code 1.
|
|
[kimi-code] test/workspace-paths.test.ts:
apps/vscode/src/handlers/config.handler.ts#L2
Error: [vitest] There was an error when mocking a module. If you are using "vi.mock" factory, make sure there are no top level variables inside, since this call is hoisted to top of the file. Read more: https://vitest.dev/api/vi.html#vi-mock
❯ src/handlers/config.handler.ts:2:1
Caused by: Caused by: SyntaxError: Identifier 'isOfficialOpenAIBaseUrl' has already been declared
|
|
test (3)
Process completed with exit code 1.
|
|
[cli] test/cli/run-shell.test.ts:
apps/kimi-code/src/cli/run-shell.ts#L5
Error: [vitest] There was an error when mocking a module. If you are using "vi.mock" factory, make sure there are no top level variables inside, since this call is hoisted to top of the file. Read more: https://vitest.dev/api/vi.html#vi-mock
❯ src/cli/run-shell.ts:5:1
Caused by: Caused by: SyntaxError: Identifier 'isOfficialOpenAIBaseUrl' has already been declared
|
|
[cli] test/cli/run-prompt.test.ts:
apps/kimi-code/src/cli/run-prompt.ts#L9
Error: [vitest] There was an error when mocking a module. If you are using "vi.mock" factory, make sure there are no top level variables inside, since this call is hoisted to top of the file. Read more: https://vitest.dev/api/vi.html#vi-mock
❯ src/cli/run-prompt.ts:9:1
Caused by: Caused by: SyntaxError: Identifier 'isOfficialOpenAIBaseUrl' has already been declared
|
|
[kimi-code] test/kimi-runtime.test.ts:
apps/vscode/src/runtime/kimi-runtime.ts#L1
Error: [vitest] There was an error when mocking a module. If you are using "vi.mock" factory, make sure there are no top level variables inside, since this call is hoisted to top of the file. Read more: https://vitest.dev/api/vi.html#vi-mock
❯ src/runtime/kimi-runtime.ts:1:1
Caused by: Caused by: SyntaxError: Identifier 'isOfficialOpenAIBaseUrl' has already been declared
|
|
test (4)
Process completed with exit code 1.
|
|
[cli] test/cli/v2-run-print.test.ts:
apps/kimi-code/src/constant/app.ts#L1
Error: [vitest] There was an error when mocking a module. If you are using "vi.mock" factory, make sure there are no top level variables inside, since this call is hoisted to top of the file. Read more: https://vitest.dev/api/vi.html#vi-mock
❯ src/constant/app.ts:1:1
Caused by: Caused by: SyntaxError: Identifier 'isOfficialOpenAIBaseUrl' has already been declared
|
|
[cli] test/cli/update-download.test.ts:
apps/kimi-code/src/cli/sub/update-download.ts#L9
Error: [vitest] There was an error when mocking a module. If you are using "vi.mock" factory, make sure there are no top level variables inside, since this call is hoisted to top of the file. Read more: https://vitest.dev/api/vi.html#vi-mock
❯ src/cli/sub/update-download.ts:9:1
Caused by: Caused by: SyntaxError: Identifier 'isOfficialOpenAIBaseUrl' has already been declared
|
|
[cli] test/cli/telemetry.test.ts > initializeServerTelemetry > degrades to enabled with no model when config is unreadable:
apps/kimi-code/src/cli/telemetry.ts#L2
Error: [vitest] There was an error when mocking a module. If you are using "vi.mock" factory, make sure there are no top level variables inside, since this call is hoisted to top of the file. Read more: https://vitest.dev/api/vi.html#vi-mock
❯ src/cli/telemetry.ts:2:1
Caused by: SyntaxError: Identifier 'isOfficialOpenAIBaseUrl' has already been declared
|
|
[cli] test/cli/telemetry.test.ts > initializeServerTelemetry > disables telemetry when config.toml sets telemetry = false:
apps/kimi-code/src/cli/telemetry.ts#L2
Error: [vitest] There was an error when mocking a module. If you are using "vi.mock" factory, make sure there are no top level variables inside, since this call is hoisted to top of the file. Read more: https://vitest.dev/api/vi.html#vi-mock
❯ src/cli/telemetry.ts:2:1
Caused by: SyntaxError: Identifier 'isOfficialOpenAIBaseUrl' has already been declared
|
|
[cli] test/cli/telemetry.test.ts > initializeServerTelemetry > configures the sink with ui_mode="web" and the CLI product identity:
apps/kimi-code/src/cli/telemetry.ts#L2
Error: [vitest] There was an error when mocking a module. If you are using "vi.mock" factory, make sure there are no top level variables inside, since this call is hoisted to top of the file. Read more: https://vitest.dev/api/vi.html#vi-mock
❯ src/cli/telemetry.ts:2:1
Caused by: Caused by: SyntaxError: Identifier 'isOfficialOpenAIBaseUrl' has already been declared
|
|
typecheck
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
test-vscode-legacy
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
lint
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
test-pi-tui
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
build
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
test (5)
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
test (2)
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
test (1)
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
test (3)
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
test (4)
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|