add switchable theme styles #32
pr-check.yml
on: pull_request
Annotations
15 errors and 15 warnings
|
format-check
Process completed with exit code 1.
|
|
typecheck:
packages/tui/src/components/CodeBlock.tsx#L17
Type 'string' is not assignable to type '(codePart: string) => string'.
|
|
typecheck:
packages/tui/src/components/CodeBlock.tsx#L16
Type 'string' is not assignable to type '(codePart: string) => string'.
|
|
typecheck:
packages/tui/src/components/CodeBlock.tsx#L15
Type 'string' is not assignable to type '(codePart: string) => string'.
|
|
typecheck:
packages/tui/src/components/CodeBlock.tsx#L14
Type 'string' is not assignable to type '(codePart: string) => string'.
|
|
typecheck:
packages/codingcode/test/session/view-assembly.test.ts#L331
Type '{ type: "summary"; uuid: string; replaces: string[]; summaryText: string; timestamp: string; }' is not assignable to type 'SessionEvent'.
|
|
typecheck:
packages/codingcode/test/server/handler.test.ts#L158
Type 'Effect<{ messages: { role: "user"; content: string; }[]; newBudgets: never[]; promptEstimate: number; }, never, never>' is not assignable to type 'Effect<BuildResult, never, never>'.
|
|
typecheck:
packages/codingcode/test/server/handler.test.ts#L107
Type 'Effect<{ type: "summary"; uuid: string; replaces: never[]; summaryText: string; timestamp: string; }, never, never>' is not assignable to type 'Effect<SummaryEvent, AgentError, never>'.
|
|
typecheck:
packages/codingcode/test/orchestrate.test.ts#L151
Type 'Effect<{ messages: { role: "user"; content: string; }[]; newBudgets: never[]; promptEstimate: number; }, never, never>' is not assignable to type 'Effect<BuildResult, never, never>'.
|
|
typecheck:
packages/codingcode/test/orchestrate.test.ts#L100
Type 'Effect<{ type: "summary"; uuid: string; replaces: never[]; summaryText: string; timestamp: string; }, never, never>' is not assignable to type 'Effect<SummaryEvent, AgentError, never>'.
|
|
typecheck:
packages/codingcode/test/context/context.test.ts#L70
Type 'Effect<{ messages: { role: "user"; content: string; }[]; newBudgets: never[]; promptEstimate: number; }, never, never>' is not assignable to type 'Effect<BuildResult, never, never>'.
|
|
test
Process completed with exit code 1.
|
|
packages/codingcode/test/ci/tooling-scripts.test.ts > CI tooling configuration > pnpm run format:check exits successfully:
packages/codingcode/test/ci/tooling-scripts.test.ts#L49
AssertionError: expected [Function] to not throw an error but 'Error: Command failed: pnpm run forma…' was thrown
- Expected:
undefined
+ Received:
"Error: Command failed: pnpm run format:check
[WARN] The \"pnpm\" field in package.json is no longer read by pnpm. The following keys were ignored: \"pnpm.overrides\". See https://pnpm.io/settings for the new home of each setting.
$ prettier --check \"packages/**/*.{ts,tsx,json}\" \"*.json\" \"*.ts\"
[warn] packages/desktop/src/agent/AgentSidebar.tsx
[warn] packages/desktop/src/agent/MessageStream.tsx
[warn] packages/desktop/src/agent/ProjectStrip.tsx
[warn] packages/desktop/src/agent/TodoPanel.tsx
[warn] packages/desktop/src/settings/HooksPanel.tsx
[warn] packages/desktop/src/settings/McpPanel.tsx
[warn] packages/desktop/src/settings/MemoryPanel.tsx
[warn] packages/desktop/src/settings/SettingsPage.tsx
[warn] packages/desktop/src/settings/SkillPanel.tsx
[warn] packages/desktop/src/settings/SubagentsPanel.tsx
[warn] packages/desktop/src/shared/ErrorBoundary.tsx
[warn] packages/desktop/src/shared/MarkdownRenderer.tsx
[warn] packages/desktop/src/shared/MessageItem.tsx
[warn] packages/desktop/src/shared/ToolCallCard.tsx
[warn] packages/desktop/src/shared/ToolSummary.tsx
[warn] packages/desktop/src/shared/UnifiedDiffView.tsx
[warn] packages/desktop/test/MarkdownRenderer.test.ts
[warn] packages/tui/src/components/CodeBlock.tsx
[warn] packages/tui/src/components/MarkdownText.tsx
[warn] packages/tui/src/utils.ts
[warn] packages/tui/test/components/MarkdownText.test.ts
[warn] Code style issues found in 21 files. Run Prettier with --write to fix.
"
❯ packages/codingcode/test/ci/tooling-scripts.test.ts:49:87
|
|
packages/desktop/test/settings-panels.test.ts > SubagentsPanel - tool multi-select form logic > AVAILABLE_TOOLS contains all 12 expected tools:
packages/desktop/test/settings-panels.test.ts#L244
AssertionError: expected [ 'read_file', 'write_file', …(9) ] to have a length of 12 but got 11
- Expected
+ Received
- 12
+ 11
❯ packages/desktop/test/settings-panels.test.ts:244:29
|
|
packages/desktop/test/selection.test.ts > text selection behavior > MessageStream.tsx > empty state placeholder should NOT have select-none:
packages/desktop/test/selection.test.ts#L76
AssertionError: expected undefined to be truthy
- Expected:
true
+ Received:
undefined
❯ packages/desktop/test/selection.test.ts:76:26
|
|
changes
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, dorny/paths-filter@v3. Actions will be forced to run with Node.js 24 by default starting June 16th, 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/
|
|
format-check
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, pnpm/action-setup@v3. Actions will be forced to run with Node.js 24 by default starting June 16th, 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/
|
|
lint
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, pnpm/action-setup@v3. Actions will be forced to run with Node.js 24 by default starting June 16th, 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/
|
|
lint:
packages/codingcode/src/mcp/client.ts#L66
'tp' is assigned a value but never used. Allowed unused vars must match /^_/u
|
|
lint:
packages/codingcode/src/llm/errors.ts#L4
'timeoutMs' is defined but never used. Allowed unused args must match /^_/u
|
|
lint:
packages/codingcode/src/hooks/registry.ts#L63
'getMapForScope' is defined but never used. Allowed unused vars must match /^_/u
|
|
lint:
packages/codingcode/src/hooks/registry.ts#L56
This generator function does not have 'yield'
|
|
lint:
packages/codingcode/src/hooks/executor.ts#L27
'code' is defined but never used. Allowed unused args must match /^_/u
|
|
lint:
packages/codingcode/src/context/context.ts#L8
This generator function does not have 'yield'
|
|
lint:
packages/codingcode/src/context/compressor/index.ts#L121
'ESTIMATED_SUMMARY_TOKENS' is assigned a value but never used. Allowed unused vars must match /^_/u
|
|
lint:
packages/codingcode/src/client/direct/models.ts#L3
'getLLMClient' is defined but never used. Allowed unused vars must match /^_/u
|
|
lint:
packages/codingcode/src/agent/agent.ts#L25
'AgentProfile' is defined but never used. Allowed unused vars must match /^_/u
|
|
lint:
packages/codingcode/src/agent/agent.ts#L3
'appendFileSync' is defined but never used. Allowed unused vars must match /^_/u
|
|
typecheck
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, pnpm/action-setup@v3. Actions will be forced to run with Node.js 24 by default starting June 16th, 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/
|
|
test
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, pnpm/action-setup@v3. Actions will be forced to run with Node.js 24 by default starting June 16th, 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/
|