Skip to content

Commit 9be375c

Browse files
authored
Merge pull request #381 from ProverCoderAI/renovate/all
fix(deps): update all dependencies
2 parents 7d0a92c + 5a0b70b commit 9be375c

44 files changed

Lines changed: 208 additions & 241 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/actions/setup/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ inputs:
44
bun-version:
55
description: The version of Bun to install
66
required: true
7-
default: 1.3.11
7+
default: 1.3.14
88
node-version:
99
description: The version of Node.js to install for compatibility/native builds
1010
required: true

bun.lock

Lines changed: 86 additions & 88 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/api/package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@
2424
"@effect/platform": "^0.96.1",
2525
"@effect/platform-node": "^0.107.0",
2626
"@effect/schema": "^0.75.5",
27-
"@fedify/fedify": "^2.2.4",
28-
"@fedify/vocab": "^2.2.4",
29-
"effect": "^3.21.2",
27+
"@fedify/fedify": "^2.2.5",
28+
"@fedify/vocab": "^2.2.5",
29+
"effect": "^3.21.3",
3030
"node-pty": "^1.1.0",
3131
"ws": "^8.21.0"
3232
},
@@ -42,10 +42,10 @@
4242
"devDependencies": {
4343
"@effect/vitest": "^0.29.0",
4444
"@eslint/js": "10.0.1",
45-
"@types/node": "^25.9.1",
45+
"@types/node": "^25.9.3",
4646
"@types/ws": "^8.18.1",
47-
"@typescript-eslint/eslint-plugin": "^8.60.1",
48-
"@typescript-eslint/parser": "^8.60.1",
47+
"@typescript-eslint/eslint-plugin": "^8.61.0",
48+
"@typescript-eslint/parser": "^8.61.0",
4949
"eslint": "^10.4.1",
5050
"fast-check": "4.8.0",
5151
"globals": "^17.6.0",

packages/app/package.json

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@
7979
"@effect/workflow": "^0.18.2",
8080
"@gridland/bun": "0.4.3",
8181
"@gridland/web": "0.4.3",
82-
"effect": "^3.21.2",
82+
"effect": "^3.21.3",
8383
"react": "19.2.4",
8484
"react-dom": "19.2.4",
8585
"react-reconciler": "^0.33.0",
@@ -98,15 +98,15 @@
9898
"@prover-coder-ai/docker-git-terminal": "workspace:*",
9999
"@prover-coder-ai/eslint-plugin-suggest-members": "^0.0.26",
100100
"@ton-ai-core/vibecode-linter": "^1.0.11",
101-
"@types/node": "^25.9.1",
102-
"@types/react": "^19.2.16",
101+
"@types/node": "^25.9.3",
102+
"@types/react": "^19.2.17",
103103
"@types/react-dom": "^19.2.3",
104104
"@types/ws": "^8.18.1",
105-
"@typescript-eslint/eslint-plugin": "^8.60.1",
106-
"@typescript-eslint/parser": "^8.60.1",
105+
"@typescript-eslint/eslint-plugin": "^8.61.0",
106+
"@typescript-eslint/parser": "^8.61.0",
107107
"@vitejs/plugin-react": "^6.0.2",
108108
"@vitest/coverage-v8": "^4.1.8",
109-
"@vitest/eslint-plugin": "^1.6.19",
109+
"@vitest/eslint-plugin": "^1.6.20",
110110
"biome": "npm:@biomejs/biome@^2.4.16",
111111
"eslint": "^10.4.1",
112112
"eslint-import-resolver-typescript": "^4.4.5",
@@ -115,12 +115,12 @@
115115
"eslint-plugin-simple-import-sort": "^13.0.0",
116116
"eslint-plugin-sonarjs": "^4.0.3",
117117
"eslint-plugin-sort-destructure-keys": "^3.0.0",
118-
"eslint-plugin-unicorn": "^64.0.0",
118+
"eslint-plugin-unicorn": "^65.0.1",
119119
"fast-check": "4.8.0",
120120
"globals": "^17.6.0",
121-
"jscpd": "^4.2.4",
121+
"jscpd": "^5.0.8",
122122
"typescript": "^6.0.3",
123-
"typescript-eslint": "^8.60.1",
123+
"typescript-eslint": "^8.61.0",
124124
"vite": "^8.0.16",
125125
"vitest": "^4.1.8",
126126
"ws": "^8.21.0"

packages/app/src/docker-git/api-container-tasks-codec.ts

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,7 @@ const readNumber = (value: JsonValue | undefined): number | null =>
2929
const readBoolean = (value: JsonValue | undefined): boolean | null => typeof value === "boolean" ? value : null
3030

3131
const isTaskKind = (value: string): value is ApiContainerTaskKind =>
32-
value === "ssh" ||
33-
value === "web-terminal" ||
34-
value === "agent" ||
35-
value === "background" ||
36-
value === "system"
32+
["ssh", "web-terminal", "agent", "background", "system"].includes(value)
3733

3834
type DecodedContainerTaskFields = {
3935
readonly command: string | null

packages/app/src/docker-git/api-project-codec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ type RawProjectDetailFields = {
5555

5656
const isProjectStatus = (
5757
value: string
58-
): value is ApiProjectSummary["status"] => value === "running" || value === "stopped" || value === "unknown"
58+
): value is ApiProjectSummary["status"] => ["running", "stopped", "unknown"].includes(value)
5959

6060
const stringOrEmpty = (value: string | null): string => value ?? ""
6161

packages/app/src/docker-git/api-terminal-codec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ type RawTerminalSession = {
1818
const isTerminalSessionStatus = (
1919
value: string
2020
): value is ApiTerminalSession["status"] =>
21-
value === "ready" || value === "attached" || value === "exited" || value === "failed"
21+
["ready", "attached", "exited", "failed"].includes(value)
2222

2323
const readOptionalNumber = (value: JsonValue | undefined): number | undefined =>
2424
typeof value === "number" ? value : undefined

packages/app/src/docker-git/frontend-lib/core/auto-agent-flags.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,10 @@ export const resolveAutoAgentFlags = (
1414
if (requested === "auto") {
1515
return Either.right({ agentMode: undefined, agentAuto: true })
1616
}
17-
if (requested === "claude" || requested === "codex" || requested === "gemini" || requested === "grok") {
18-
return Either.right({ agentMode: requested, agentAuto: true })
17+
const agentModes: readonly AgentMode[] = ["claude", "codex", "gemini", "grok"]
18+
const matchedMode = agentModes.find((mode) => mode === requested)
19+
if (matchedMode !== undefined) {
20+
return Either.right({ agentMode: matchedMode, agentAuto: true })
1921
}
2022
return Either.left({
2123
_tag: "InvalidOption",

packages/app/src/docker-git/frontend-lib/core/command-builders-shared.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ import {
66
defaultTemplateConfig,
77
isDockerNetworkMode,
88
isGpuMode,
9-
isUnixUserName,
9+
isUnixUsername,
1010
type ParseError,
11-
sshUserNamePatternDescription
11+
sshUsernamePatternDescription
1212
} from "./domain.js"
1313

1414
const parsePort = (value: string): Either.Either<number, ParseError> => {
@@ -106,11 +106,11 @@ export const parseSshUser = (
106106
option: "--ssh-user"
107107
})
108108
}
109-
if (!isUnixUserName(candidate)) {
109+
if (!isUnixUsername(candidate)) {
110110
return Either.left({
111111
_tag: "InvalidOption",
112112
option: "--ssh-user",
113-
reason: `expected Linux user name matching ${sshUserNamePatternDescription}`
113+
reason: `expected Linux user name matching ${sshUsernamePatternDescription}`
114114
})
115115
}
116116
return Either.right(candidate)

packages/app/src/docker-git/frontend-lib/core/domain.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -64,20 +64,20 @@ export type AgentMode = "claude" | "codex" | "gemini" | "grok"
6464
export type DockerNetworkMode = "shared" | "project"
6565
export type GpuMode = "none" | "all"
6666

67-
const unixUserNamePattern = /^[a-z_][a-z0-9_-]{0,31}$/
67+
const unixUsernamePattern = /^[a-z_][a-z0-9_-]{0,31}$/
6868

69-
export const sshUserNamePatternDescription = "^[a-z_][a-z0-9_-]{0,31}$"
69+
export const sshUsernamePatternDescription = "^[a-z_][a-z0-9_-]{0,31}$"
7070

7171
// CHANGE: define the SSH user name invariant in the core domain
7272
// WHY: generated Dockerfiles and entrypoints interpolate sshUser into shell-sensitive user commands
7373
// QUOTE(ТЗ): n/a
7474
// REF: PR-281-coderabbit-sshUser-validation
7575
// SOURCE: n/a
76-
// FORMAT THEOREM: forall u: isUnixUserName(u) -> not contains_shell_metacharacters(u)
76+
// FORMAT THEOREM: forall u: isUnixUsername(u) -> not contains_shell_metacharacters(u)
7777
// PURITY: CORE
7878
// INVARIANT: accepted user names contain only lowercase Linux account-name characters
7979
// COMPLEXITY: O(n)/O(1) where n = |value|
80-
export const isUnixUserName = (value: string): boolean => unixUserNamePattern.test(value)
80+
export const isUnixUsername = (value: string): boolean => unixUsernamePattern.test(value)
8181

8282
export interface TemplateConfig {
8383
readonly containerName: string

0 commit comments

Comments
 (0)