Skip to content

feat: 重构聊天界面,优化附件处理和输入区域样式 #7

feat: 重构聊天界面,优化附件处理和输入区域样式

feat: 重构聊天界面,优化附件处理和输入区域样式 #7

Triggered via push May 1, 2026 23:39
Status Failure
Total duration 28s
Artifacts

lint.yml

on: push
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

21 errors and 4 warnings
build (20.x): src/ai/DeepSeekProvider.ts#L51
Unsafe assignment of an `any` value
build (20.x): src/ai/DeepSeekProvider.ts#L39
Unexpected use of 'fetch'. Use the built-in `requestUrl` function instead of `fetch` for network requests in Obsidian
build (20.x): src/ai/BaseProvider.ts#L96
Unsafe argument of type `any` assigned to a parameter of type `string`
build (20.x): src/ai/BaseProvider.ts#L95
Unsafe member access .length on an `any` value
build (20.x): src/ai/BaseProvider.ts#L88
Unsafe member access .choices on an `any` value
build (20.x): src/ai/BaseProvider.ts#L88
Unsafe assignment of an `any` value
build (20.x): src/ai/BaseProvider.ts#L87
Unsafe assignment of an `any` value
build (20.x): src/ai/BaseProvider.ts#L35
Invalid type "unknown" of template literal expression
build (20.x): src/ai/BaseProvider.ts#L35
Invalid type "unknown" of template literal expression
build (20.x): src/ai/BaseProvider.ts#L35
Invalid type "unknown" of template literal expression
build (22.x)
The strategy configuration was canceled because "build._20_x" failed
build (22.x): src/ai/DeepSeekProvider.ts#L51
Unsafe assignment of an `any` value
build (22.x): src/ai/DeepSeekProvider.ts#L39
Unexpected use of 'fetch'. Use the built-in `requestUrl` function instead of `fetch` for network requests in Obsidian
build (22.x): src/ai/BaseProvider.ts#L96
Unsafe argument of type `any` assigned to a parameter of type `string`
build (22.x): src/ai/BaseProvider.ts#L95
Unsafe member access .length on an `any` value
build (22.x): src/ai/BaseProvider.ts#L88
Unsafe member access .choices on an `any` value
build (22.x): src/ai/BaseProvider.ts#L88
Unsafe assignment of an `any` value
build (22.x): src/ai/BaseProvider.ts#L87
Unsafe assignment of an `any` value
build (22.x): src/ai/BaseProvider.ts#L35
Invalid type "unknown" of template literal expression
build (22.x): src/ai/BaseProvider.ts#L35
Invalid type "unknown" of template literal expression
build (22.x): src/ai/BaseProvider.ts#L35
Invalid type "unknown" of template literal expression
build (20.x)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/setup-node@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
build (20.x): src/main.ts#L1
'WorkspaceLeaf' is defined but never used
build (22.x)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/setup-node@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
build (22.x): src/main.ts#L1
'WorkspaceLeaf' is defined but never used