Skip to content

Open-source AI teammates in Slack, Teams, Discord, Telegram and Mattermost. Self-host it, with any agent harness and any model.

Address review: narrower lock changes, vitest 5, oxfmt bump

Petr Bauch35a4bf3bb6cb
diff --git a/console/apps/switch-console-desktop/package.json b/console/apps/switch-console-desktop/package.json
index 8bd18bff5..776b14f4e 100644
--- a/console/apps/switch-console-desktop/package.json
+++ b/console/apps/switch-console-desktop/package.json
@@ -126,7 +126,7 @@
"mobx-react-lite": "^4.1.1",
"monaco-editor": "^0.56.0",
"motion": "^12.23.12",
- "oxfmt": "^0.51.0",
+ "oxfmt": "^0.67.0",
"oxlint": "^1.66.0",
"oxlint-tsgolint": "^0.23.0",
"postcss": "^8.5.23",
diff --git a/console/apps/switch-console-desktop/src/main/core/agents/agent-config.test.ts b/console/apps/switch-console-desktop/src/main/core/agents/agent-config.test.ts
index e5d4d28e0..ba8315c76 100644
--- a/console/apps/switch-console-desktop/src/main/core/agents/agent-config.test.ts
+++ b/console/apps/switch-console-desktop/src/main/core/agents/agent-config.test.ts
@@ -16,20 +16,18 @@ const state = vi.hoisted(() => ({
writes: [] as string[],
}));
-const fakeFs = vi.hoisted(
- () => (): PluginFs => ({
- read: async (path: string) => state.files.get(path) ?? null,
- write: async (path: string, content: string) => {
- state.writes.push(path);
- state.files.set(path, content);
- },
- delete: async (path: string) => {
- state.files.delete(path);
- },
- exists: async (path: string) => state.files.has(path),
- list: async () => [],
- })
-);
+const fakeFs = vi.hoisted(() => (): PluginFs => ({
+ read: async (path: string) => state.files.get(path) ?? null,
+ write: async (path: string, content: string) => {
+ state.writes.push(path);
+ state.files.set(path, content);
+ },
+ delete: async (path: string) => {
+ state.files.delete(path);
+ },
+ exists: async (path: string) => state.files.has(path),
+ list: async () => [],
+}));
vi.mock('./getAgentById', () => ({
getAgentById: async (agentId: string) => ({
diff --git a/console/apps/switch-console-desktop/src/main/core/managed-switch-server/pipeline-shared-host.test.ts b/console/apps/switch-console-desktop/src/main/core/managed-switch-server/pipeline-shared-host.test.ts
index 4e2875176..37d5665bb 100644
--- a/console/apps/switch-console-desktop/src/main/core/managed-switch-server/pipeline-shared-host.test.ts
+++ b/console/apps/switch-console-desktop/src/main/core/managed-switch-server/pipeline-shared-host.test.ts
@@ -27,9 +27,8 @@ const waitForHealthMock = vi.hoisted(() =>
vi.fn((_url: string, _opts?: unknown) => Promise.resolve(true))
);
const readDeployedVersionMock = vi.hoisted(() =>
- vi.fn(
- (): Promise<{ kind: string; version?: string; source?: string }> =>
- Promise.resolve({ kind: 'deployed', version: '0.11.0', source: 'env-file' })
+ vi.fn((): Promise<{ kind: string; version?: string; source?: string }> =>
+ Promise.resolve({ kind: 'deployed', version: '0.11.0', source: 'env-file' })
)
);
const buildEnvFileMock = vi.hoisted(() => vi.fn((_params: unknown) => 'BUILT_ENV\n'));
diff --git a/console/apps/switch-console-desktop/src/main/core/sdk-host/initial-prompt.test.ts b/console/apps/switch-console-desktop/src/main/core/sdk-host/initial-prompt.test.ts
index 764add25c..cfd06d8ec 100644
--- a/console/apps/switch-console-desktop/src/main/core/sdk-host/initial-prompt.test.ts
+++ b/console/apps/switch-console-desktop/src/main/core/sdk-host/initial-prompt.test.ts
@@ -95,14 +95,12 @@ it('does not resubmit a pending attempt that saved no epoch', async () => {
it('records the receipt of a submission the server refused', async () => {
const h = harness({
- submit: vi.fn(
- async (): Promise<CommandReceipt> => ({
- recorded: true,
- status: 'rejected',
- code: 'STALE_EPOCH',
- message: 'The epoch has moved on.',
- })
- ),
+ submit: vi.fn(async (): Promise<CommandReceipt> => ({
+ recorded: true,
+ status: 'rejected',
+ code: 'STALE_EPOCH',
+ message: 'The epoch has moved on.',
+ })),
});
const outcome = await h.run();
expect(outcome).toEqual({
@@ -121,14 +119,12 @@ it('records the receipt of a submission the server refused', async () => {
it('leaves a submission the server answered as unknown unresolved', async () => {
const h = harness({
- submit: vi.fn(
- async (): Promise<CommandReceipt> => ({
- recorded: true,
- status: 'unknown',
- code: 'HOST_UNREACHABLE',
- message: 'The host did not answer.',
- })
- ),
+ submit: vi.fn(async (): Promise<CommandReceipt> => ({
+ recorded: true,
+ status: 'unknown',
+ code: 'HOST_UNREACHABLE',
+ message: 'The host did not answer.',
+ })),
});
const outcome = await h.run();
expect(outcome).toMatchObject({
@@ -147,14 +143,12 @@ it('leaves a submission the server answered as unknown unresolved', async () =>
it('leaves a lookup the server answered as unknown unresolved', async () => {
const h = harness({
record: { commandId: 'attempt-1', state: 'pending', epoch: 'epoch-1' },
- lookup: vi.fn(
- async (): Promise<CommandLookup> => ({
- recorded: true,
- status: 'unknown',
- code: 'HOST_UNREACHABLE',
- message: 'The host did not answer.',
- })
- ),
+ lookup: vi.fn(async (): Promise<CommandLookup> => ({
+ recorded: true,
+ status: 'unknown',
+ code: 'HOST_UNREACHABLE',
+ message: 'The host did not answer.',
+ })),
});
const outcome = await h.run();
expect(h.input.submit).not.toHaveBeenCalled();
@@ -210,14 +204,12 @@ it('leaves an unknown delivery unresolved rather than resending it', async () =>
it('records a pending id the server rejected and does not submit under a new one', async () => {
const h = harness({
record: { commandId: 'attempt-1', state: 'pending', epoch: 'epoch-1' },
- lookup: vi.fn(
- async (): Promise<CommandLookup> => ({
- recorded: true,
- status: 'rejected',
- code: 'STALE_EPOCH',
- message: 'The epoch has moved on.',
- })
- ),
+ lookup: vi.fn(async (): Promise<CommandLookup> => ({
+ recorded: true,
+ status: 'rejected',
+ code: 'STALE_EPOCH',
+ message: 'The epoch has moved on.',
+ })),
});
const outcome = await h.run();
expect(h.input.submit).not.toHaveBeenCalled();
diff --git a/console/apps/switch-console-desktop/src/main/core/switch-servers/gateway-client.ts b/console/apps/switch-console-desktop/src/main/core/switch-servers/gateway-client.ts
index 1f4bbf484..702222bed 100644
--- a/console/apps/switch-console-desktop/src/main/core/switch-servers/gateway-client.ts
+++ b/console/apps/switch-console-desktop/src/main/core/switch-servers/gateway-client.ts
@@ -4089,21 +4089,19 @@ export async function fetchAdvancedConfigSchema(
return Object.fromEntries(
Object.entries(providers).map(([provider, { fields }]) => [
provider,
- fields.map(
- (field): AdvancedConfigField => ({
- key: field.key,
- label: field.label,
- type: field.type,
- ...(field.help !== null ? { help: field.help } : {}),
- ...(field.placeholder !== null ? { placeholder: field.placeholder } : {}),
- ...(field.options !== null ? { options: field.options } : {}),
- ...(field.catalogue === null
- ? {}
- : field.catalogue.kind === 'model'
- ? { catalogue: { kind: 'model' } }
- : { catalogue: { kind: 'model-variant', modelField: field.catalogue.model_field } }),
- })
- ),
+ fields.map((field): AdvancedConfigField => ({
+ key: field.key,
+ label: field.label,
+ type: field.type,
+ ...(field.help !== null ? { help: field.help } : {}),
+ ...(field.placeholder !== null ? { placeholder: field.placeholder } : {}),
+ ...(field.options !== null ? { options: field.options } : {}),
+ ...(field.catalogue === null
+ ? {}
+ : field.catalogue.kind === 'model'
+ ? { catalogue: { kind: 'model' } }
+ : { catalogue: { kind: 'model-variant', modelField: field.catalogue.model_field } }),
+ })),
])
);
}
diff --git a/console/apps/switch-console-desktop/src/renderer/features/sessions/components/transcript/session-attachments.tsx b/console/apps/switch-console-desktop/src/renderer/features/sessions/components/transcript/session-attachments.tsx
index f0da705b5..2790204d2 100644
--- a/console/apps/switch-console-desktop/src/renderer/features/sessions/components/transcript/session-attachments.tsx
+++ b/console/apps/switch-console-desktop/src/renderer/features/sessions/components/transcript/session-attachments.tsx
@@ -73,15 +73,13 @@ export function useSessionAttachments(client: SessionChatClient, mimeTypes: stri
setError('Each attachment must contain 1 byte to 10 MiB.');
return;
}
- const added = files.map(
- (file): Entry => ({
- id: crypto.randomUUID(),
- file,
- attachment: null,
- error: null,
- uploading: true,
- })
- );
+ const added = files.map((file): Entry => ({
+ id: crypto.randomUUID(),
+ file,
+ attachment: null,
+ error: null,
+ uploading: true,
+ }));
update([...current.current, ...added]);
for (const entry of added) void upload(entry);
},
diff --git a/console/package.json b/console/package.json
index fc008e697..60dbc371b 100644
--- a/console/package.json
+++ b/console/package.json
@@ -30,8 +30,7 @@
"brace-expansion@>=4.0.0 <5.0.9": ">=5.0.9 <6",
"js-yaml@>=4.0.0 <4.3.2": ">=4.3.2 <5",
"fast-uri@>=3.0.0 <3.1.5": ">=3.1.5 <4",
- "tar@<=7.5.20": ">=7.5.21 <8",
- "tinypool@>=2.0.0 <2.1.1": ">=2.1.1 <3"
+ "tar@<=7.5.20": ">=7.5.21 <8"
}
}
}
diff --git a/console/packages/agent-providers/src/opencode/opencode-adapter.ts b/console/packages/agent-providers/src/opencode/opencode-adapter.ts
index bed5129f8..86a080f87 100644
--- a/console/packages/agent-providers/src/opencode/opencode-adapter.ts
+++ b/console/packages/agent-providers/src/opencode/opencode-adapter.ts
@@ -748,20 +748,18 @@ export class OpencodeAdapter implements ProviderAdapter {
{
type: 'user-input.requested',
requestId: id,
- questions: questions.map(
- (question, index): UserInputQuestion => ({
- id: String(index),
- ...(question.header ? { header: question.header } : {}),
- question: question.question,
- options: question.options.map((option) => ({
- label: option.label,
- value: option.label,
- ...(option.description ? { description: option.description } : {}),
- })),
- multiSelect: question.multiple === true,
- allowCustomAnswer: question.custom === true,
- })
- ),
+ questions: questions.map((question, index): UserInputQuestion => ({
+ id: String(index),
+ ...(question.header ? { header: question.header } : {}),
+ question: question.question,
+ options: question.options.map((option) => ({
+ label: option.label,
+ value: option.label,
+ ...(option.description ? { description: option.description } : {}),
+ })),
+ multiSelect: question.multiple === true,
+ allowCustomAnswer: question.custom === true,
+ })),
},
turnId,
event
diff --git a/console/packages/agent-providers/src/opencode/transport.ts b/console/packages/agent-providers/src/opencode/transport.ts
index 8c7d59ed8..59342f747 100644
--- a/console/packages/agent-providers/src/opencode/transport.ts
+++ b/console/packages/agent-providers/src/opencode/transport.ts
@@ -154,16 +154,14 @@ export function createHttpTransport(options: HttpTransportOptions): OpencodeTran
return data.all
.filter((provider) => data.connected.includes(provider.id))
.flatMap((provider) =>
- Object.values(provider.models).map(
- (model): ModelChoice => ({
- id: `${provider.id}/${model.id}`,
- label: `${provider.name}: ${model.name}`,
- imageInput: model.capabilities.input.image,
- options: Object.keys(model.variants ?? {}).length
- ? { variant: Object.keys(model.variants!) }
- : {},
- })
- )
+ Object.values(provider.models).map((model): ModelChoice => ({
+ id: `${provider.id}/${model.id}`,
+ label: `${provider.name}: ${model.name}`,
+ imageInput: model.capabilities.input.image,
+ options: Object.keys(model.variants ?? {}).length
+ ? { variant: Object.keys(model.variants!) }
+ : {},
+ }))
);
},
async prompt(promptInput) {
diff --git a/console/packages/plugins/package.json b/console/packages/plugins/package.json
index 9e8d564e7..e97887db6 100644
--- a/console/packages/plugins/package.json
+++ b/console/packages/plugins/package.json
@@ -37,7 +37,7 @@
},
"devDependencies": {
"@typescript/native-preview": "7.0.0-dev.20260609.1",
- "oxfmt": "^0.51.0",
+ "oxfmt": "^0.67.0",
"oxlint": "^1.69.0",
"tsdown": "^0.22.2",
"vitest": "^5.0.1"
diff --git a/console/pnpm-lock.yaml b/console/pnpm-lock.yaml
index d602beab0..af0383e18 100644
--- a/console/pnpm-lock.yaml
+++ b/console/pnpm-lock.yaml
@@ -9,7 +9,6 @@ overrides:
js-yaml@>=4.0.0 <4.3.2: '>=4.3.2 <5'
fast-uri@>=3.0.0 <3.1.5: '>=3.1.5 <4'
tar@<=7.5.20: '>=7.5.21 <8'
- tinypool@>=2.0.0 <2.1.1: '>=2.1.1 <3'
importers:
@@ -229,8 +228,8 @@ importers:
specifier: ^12.23.12
oxfmt:
- specifier: ^0.51.0
- version: 0.51.0
+ specifier: ^0.67.0
+ version: 0.67.0
oxlint:
specifier: ^1.66.0
version: 1.69.0([email protected])
@@ -431,8 +430,8 @@ importers:
specifier: 7.0.0-dev.20260609.1
version: 7.0.0-dev.20260609.1
oxfmt:
- specifier: ^0.51.0
- version: 0.51.0
+ specifier: ^0.67.0
+ version: 0.67.0
oxlint:
specifier: ^1.69.0
version: 1.69.0([email protected])
@@ -1407,124 +1406,124 @@ packages:
'@oxc-project/[email protected]':
resolution: {integrity: sha512-T0xuRRKrQFmocH8y+jGfpmSkGcheaJExY9lEihmR1Gm2aH+75B8CzgU2rABRQSzzDxLjZ15Sc0bRVLj5lVeNXQ==}
- '@oxfmt/[email protected]':
- resolution: {integrity: sha512-Ni0sCqg5CIHaLIYFGj+ncbcumylvNC6FE4rfD0KfdmnWHbPJ+zev0qZCXKxy2hFVa0fYRK0yPzf5nzPbkZou7g==}
+ '@oxfmt/[email protected]':
+ resolution: {integrity: sha512-2olh3ioEmc4gRzQm7jxyB1b/PFBoFvTq8KdgYySeNpysDtA6DEg2Mvya4/I6flhL7G0eOrE8RD7JCNCIMhE16Q==}
engines: {node: ^20.19.0 || >=22.12.0}
cpu: [arm]
os: [android]
- '@oxfmt/[email protected]':
- resolution: {integrity: sha512-eu5lAZjuo0KAkp+M24EhDqfOwA8owQ8d7wyBlOUUGRbDLHpU3IRlDHp8Dif+YqGlxs6jra7yS6WQu/NkPhAxeg==}
+ '@oxfmt/[email protected]':
+ resolution: {integrity: sha512-ulfw8EHN1MBq/MFFDXw2/M1VAFu5mRUcnuZ8Hqbv9viAnFzO9t1jKSAsDqKYYDGMlytF/uj6Z5z5n/tHupnKhw==}
engines: {node: ^20.19.0 || >=22.12.0}
cpu: [arm64]
os: [android]
- '@oxfmt/[email protected]':
- resolution: {integrity: sha512-6LsUNIdURhhcIfIn8+xsOb61mSTa9msAHTeSGx9Jf4rsP/gN8PGCF+SKWPAQZbND2w/WBkqQ6303jqEEIXzMdQ==}
+ '@oxfmt/[email protected]':
+ resolution: {integrity: sha512-MfONZx/O2o9M5v2jDFol556G9+A+P9xCuJ4DZ+qhE+RnaCdoscy6Eu5nq1dbuNxhwdJyZ6kLI7fnG9mwEeOeGg==}
engines: {node: ^20.19.0 || >=22.12.0}
cpu: [arm64]
os: [darwin]
- '@oxfmt/[email protected]':
- resolution: {integrity: sha512-9aUMGmVxdHjYMsEAW1tNRoieTJXlVNDFkRvIR1J7LttJXWjVYCu2ekclLij2KJtxBxSQOYSHd12ME/adVGVbZg==}
+ '@oxfmt/[email protected]':
+ resolution: {integrity: sha512-CYnIx5LvFVJnyJcCqwH2jxMKjFjqo5678MPjdmNFoSGMhlOvZ/xRZqvhDcolKrXc8fezW3AKh+C4wyoFuWOSSg==}
engines: {node: ^20.19.0 || >=22.12.0}
cpu: [x64]
os: [darwin]
- '@oxfmt/[email protected]':
- resolution: {integrity: sha512-mkY1nhZTqYb+NHaAWxOCKISN6FwdrwMNsu17vTUA3wzUV2VJ+Paq15ZokRcsMU/2PUdHO73prxyeJpjXQ3MPpQ==}
+ '@oxfmt/[email protected]':
+ resolution: {integrity: sha512-7/iF1orvIS9mxhKUqnmtMgm+OrSQ5acPwuvdQrm6ECgqbwPmC+Pw9cdke3sNfVN6pT2hbJ58+jP8BCThl5HXOg==}
engines: {node: ^20.19.0 || >=22.12.0}
cpu: [x64]
os: [freebsd]
- '@oxfmt/[email protected]':
- resolution: {integrity: sha512-wtFwNwE4+YCNuPaWoGDZeGsKvD6D1YSUNBJNn/rJBh7CrDBThFE+TBI5kY7vRW9rIOQRsbW2IpyyL3Du4Zqwiw==}
+ '@oxfmt/[email protected]':
+ resolution: {integrity: sha512-yy+OGys07IZOpOmYPZoObKyUQLkfxeQqeCypk+1jaZd8HGo77hzvU1Jg8X3+W75o+9lszOjBfg0nkGtlwYywXw==}
engines: {node: ^20.19.0 || >=22.12.0}
cpu: [arm]
os: [linux]
- '@oxfmt/[email protected]':
- resolution: {integrity: sha512-rnOaNx86G7iRKM6lsCIQMux0SMGNC/TEbFR+r7lpruJ12bnrIWgxd5w1PLqOvgR9r8ZJbpK/zfRKctJnh8/Jfg==}
+ '@oxfmt/[email protected]':
+ resolution: {integrity: sha512-wPIeeigXgJpwNw3wydYRt3U9iN9Y/ejpOZuYL9IA7igxWs7LIQMOkhKxTumRvy6dIv0iXKk3RTw3Vmjg0i+2sg==}
engines: {node: ^20.19.0 || >=22.12.0}
cpu: [arm]
os: [linux]
- '@oxfmt/[email protected]':
- resolution: {integrity: sha512-jOgDzSqWcICGRjsp4mc08FxKMN8vzP2Kgs4E0d2HUP99F+nJDQKklRV4Zuj+0gcBgjrzx2CbpqaIdUVPepCojA==}
+ '@oxfmt/[email protected]':
+ resolution: {integrity: sha512-0+XNxcdbkTfxdcD4qW6Ci9n+mBNJ8xTBumnxKvKBmRFOdx0Wf8/KiHjCJayooXmYkqRpRVd98Q5egvzx5BLSgQ==}
engines: {node: ^20.19.0 || >=22.12.0}
cpu: [arm64]
os: [linux]
libc: [glibc]
- '@oxfmt/[email protected]':
- resolution: {integrity: sha512-KBUCdrH5bwVrAvI9gU/1S55oH6fzXjr++J/oVocdu7bYTks1l7DNNT+rLd/1TDdAEjObGwmfWamn7LC1m8A0DQ==}
+ '@oxfmt/[email protected]':
+ resolution: {integrity: sha512-I75LKPJyNOYUzkqAiAMIE31+Ye7xtQXZdoty1IXn4B+bw5Zpmez5wfG19ejGpNnS/BzQ7LFS+7jxuTPb+vHiZw==}
engines: {node: ^20.19.0 || >=22.12.0}
cpu: [arm64]
os: [linux]
libc: [musl]
- '@oxfmt/[email protected]':
- resolution: {integrity: sha512-NapfjYsABFqTJ1Dn9Efq6sN5esaHconVKwVLbDGNQLrwpOx/g17mkwErHzU72PutL67nf3wNAkbq122H+zLxag==}
+ '@oxfmt/[email protected]':
+ resolution: {integrity: sha512-c2M5iRpe1QMZSRE/UvZoPdXBWb5Ic/ycvOyNiKCqPwQ/OyOKIMiJs02ynlNnjb7ZZJnRXYLmGcohoINOcwDK3w==}
engines: {node: ^20.19.0 || >=22.12.0}
cpu: [ppc64]
os: [linux]
libc: [glibc]
- '@oxfmt/[email protected]':
- resolution: {integrity: sha512-5dlDt1dUZCVi6elIhiK1PWg9wpTzTcIuj0IZnSurvIoMrhOWqqTcc1dSTxcSkNaBZhfsNqRZdINI1zAgbKkJNQ==}
+ '@oxfmt/[email protected]':
+ resolution: {integrity: sha512-dQzzYlV24Udhfm5ECuSdgqRvFJU/CGHzcYYEO3dLM6W6+CHiBFrq9OjIllkdCcPhsoSQ8o223Dja84MOSzed9A==}
engines: {node: ^20.19.0 || >=22.12.0}
cpu: [riscv64]
os: [linux]
libc: [glibc]
- '@oxfmt/[email protected]':
- resolution: {integrity: sha512-pgdWUJn0S5nulyiVdlFV8DzCUnGXkU99W5PSkkmbaZW+LrZBPxpezun4G0DDHbQaVYuJeCuKsXsGKGo77CkUTQ==}
+ '@oxfmt/[email protected]':
+ resolution: {integrity: sha512-rFNq1CgX4qMJANOq42LkAs90JE80GpiaEohAV2qn/gT2hGjQTW1zBO5zQBxArI4926pM1OSzo3CN0tBszGBIaA==}
engines: {node: ^20.19.0 || >=22.12.0}
cpu: [riscv64]
os: [linux]
libc: [musl]
- '@oxfmt/[email protected]':
- resolution: {integrity: sha512-2XTFUe97CbDGAI8vjwDfZ1HdakO0XIADyJ24idEg64SC4/K4in/OisXVnrW4NMK7I6TgC7EqRhC0Ln/nKhAemA==}
+ '@oxfmt/[email protected]':
+ resolution: {integrity: sha512-Sky6rEdz2o5IGq01lPhS12yEvDdChVEcaYrcLHkveh4Fx0qPjljE/Iul6SX/bRMl6lNc8J7J/mDQdzgBdA++Pg==}
engines: {node: ^20.19.0 || >=22.12.0}
cpu: [s390x]
os: [linux]
libc: [glibc]
- '@oxfmt/[email protected]':
- resolution: {integrity: sha512-kQ1OuCqqt/yyf0ZN9VFxW1/JnlgJgii3Dr7pWf9vNBvrX1hv6g39/+mc5oGRHRGJFZtl3zsGDWR9c5N2B/gwBw==}
+ '@oxfmt/[email protected]':
+ resolution: {integrity: sha512-vPXmlNORV8AZq2Ocxh07pxwMjfENUWCV/eZArnao0qC3NO/hDeTVkQvee7SJJUbIiF5PZbBa4kYmaXnu7Rk58w==}
engines: {node: ^20.19.0 || >=22.12.0}
cpu: [x64]
os: [linux]
libc: [glibc]
- '@oxfmt/[email protected]':
- resolution: {integrity: sha512-ARTYqxHF475o96Gbn41hvSWSSRygPlRDXZZgZ9I2scU1y0qiWpCQyZCoefaQa0mwv+wwtZ+luS4YOzsRzM/izg==}
+ '@oxfmt/[email protected]':
+ resolution: {integrity: sha512-x/WAtFqYtVr3vZ9ni8nr4kn9whSitg8fOljq/pZzBpxopRdY1BMLZCZkrbIbaBcYkm46qGbqVea2FCWmtQ2P9w==}
engines: {node: ^20.19.0 || >=22.12.0}
cpu: [x64]
os: [linux]
libc: [musl]
- '@oxfmt/[email protected]':
- resolution: {integrity: sha512-QiC1XrCl6a6BmqMzduO8hdIRMf1m44hCkt2Q68KWkTvUB/E7fd2iomyNh6KnnRca5w6eBrRAAtLFqTh+xjsjJA==}
+ '@oxfmt/[email protected]':
+ resolution: {integrity: sha512-eRw9Neh4/aA6i+q/R3WU1gGQINhVM0J4fXIm6t27caOamkr/37uAkp1IdBx4zlJH97hmXR63z/q9n5c5dN7MzA==}
engines: {node: ^20.19.0 || >=22.12.0}
cpu: [arm64]
os: [openharmony]
- '@oxfmt/[email protected]':
- resolution: {integrity: sha512-NC/hJb9dtU23Zf8L7IVK95xnFjiQ7AfcLO2l5pb69TDEr958qxrtnB2CveeeNSCBFNIkgaTCfd/vHNSoG78l9g==}
+ '@oxfmt/[email protected]':
+ resolution: {integrity: sha512-YIMvb+sGNYN2uc6+QK2HLPeEKM2vl7QZ5onQzpAJRb6pnf0DwUFP5R8tdS9R0l8hdUil2gu4Uxd0Yxrop0iT4w==}
engines: {node: ^20.19.0 || >=22.12.0}
cpu: [arm64]
os: [win32]
- '@oxfmt/[email protected]':
- resolution: {integrity: sha512-2C45za4Rj36n8YIbhRL1PQbxmXJYf81WEcAgvj5I4ptRROG+A+81hREEN5bmCHADE1UfYaN312U6tkILoZZy6w==}
+ '@oxfmt/[email protected]':
+ resolution: {integrity: sha512-LzmU9MyACPzwNDIK0ItMedHPz735Ug7ELWguxo4/kuy6zWuDoeglOAEFCY8jLg0PzRpFO3hDyLFe2Gu2eFDeGA==}
engines: {node: ^20.19.0 || >=22.12.0}
cpu: [ia32]
os: [win32]
- '@oxfmt/[email protected]':
- resolution: {integrity: sha512-73RqdAuVKQTkjZIDw08JaDHUM4lav5Qu+CaPwg4QbbA7k8o7LEW0p3UsfZ/F8dsO/pwVYh3RzFcanwLRTTahbQ==}
+ '@oxfmt/[email protected]':
+ resolution: {integrity: sha512-sbQOIDNLUEeVZcAJcSL5VURn7kfjvilPviody4Yl5n8lQCDtUm+C9oHTTwZS/m4d/Z6Vv3jNEiAofH932NPPCg==}
engines: {node: ^20.19.0 || >=22.12.0}
cpu: [x64]
os: [win32]
@@ -4645,15 +4644,18 @@ packages:
resolution: {integrity: sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==}
- resolution: {integrity: sha512-l/AoAnaEOV7Q5/Z9kHOMDehVJnCgYN7wRoooWCTUMBMi16BJhLZqd9cmCnwcVFfVlzkt53zK2KLPFNp8vSsoDg==}
+ resolution: {integrity: sha512-vV7sSiPsaO0mSxdoUdayipVDFPzW/UQ+hrezEHa20+Tx1dnMdZLSRHMT0PdS67FFbhd74M1n08asW21aLGeCrA==}
engines: {node: ^20.19.0 || >=22.12.0}
hasBin: true
peerDependencies:
svelte: ^5.0.0
+ vite-plus: '*'
peerDependenciesMeta:
svelte:
optional: true
+ vite-plus:
+ optional: true
resolution: {integrity: sha512-3mBv3CoPbh8dFbzfDGIWa2ytZjn2v+3EX4aKRXjIhsoGFzG8GCjfRirz3rwZf1wYbZzsNLTSgpw8VjQuWdp/jA==}
@@ -5346,8 +5348,8 @@ packages:
resolution: {integrity: sha512-wXR/dYpcqKmfWpEdZjiKJOwCNFndD0DMnrW/cYjVGttEkBfVgcLFHoNrlj47mjOVic9yyNu65alsgF4NQyTa2g==}
engines: {node: '>=12.0.0'}
- resolution: {integrity: sha512-jBrmx4lYmaC9k/mgPbylxs7kBUxHtD8256up+HjLaDFfXScKJQyil+SWXSvhAtT7XHo+yTVlpB81PGmHP8oLSQ==}
+ resolution: {integrity: sha512-9YodfrxS9g9IbFr/KOjE5bAeJ0p61n3bW6mqvy0jtoeKd1kTW1Cxm0oulm6KX2lyM9Gl6WIe8nEbY7LWv5ZJww==}
engines: {node: ^20.0.0 || >=22.0.0}
@@ -6575,61 +6577,61 @@ snapshots:
'@oxc-project/[email protected]': {}
- '@oxfmt/[email protected]':
+ '@oxfmt/[email protected]':
optional: true
- '@oxfmt/[email protected]':
+ '@oxfmt/[email protected]':
optional: true
- '@oxfmt/[email protected]':
+ '@oxfmt/[email protected]':
optional: true
- '@oxfmt/[email protected]':
+ '@oxfmt/[email protected]':
optional: true
- '@oxfmt/[email protected]':
+ '@oxfmt/[email protected]':
optional: true
- '@oxfmt/[email protected]':
+ '@oxfmt/[email protected]':
optional: true
- '@oxfmt/[email protected]':
+ '@oxfmt/[email protected]':
optional: true
- '@oxfmt/[email protected]':
+ '@oxfmt/[email protected]':
optional: true
- '@oxfmt/[email protected]':
+ '@oxfmt/[email protected]':
optional: true
- '@oxfmt/[email protected]':
+ '@oxfmt/[email protected]':
optional: true
- '@oxfmt/[email protected]':
+ '@oxfmt/[email protected]':
optional: true
- '@oxfmt/[email protected]':
+ '@oxfmt/[email protected]':
optional: true
- '@oxfmt/[email protected]':
+ '@oxfmt/[email protected]':
optional: true
- '@oxfmt/[email protected]':
+ '@oxfmt/[email protected]':
optional: true
- '@oxfmt/[email protected]':
+ '@oxfmt/[email protected]':
optional: true
- '@oxfmt/[email protected]':
+ '@oxfmt/[email protected]':
optional: true
- '@oxfmt/[email protected]':
+ '@oxfmt/[email protected]':
optional: true
- '@oxfmt/[email protected]':
+ '@oxfmt/[email protected]':
optional: true
- '@oxfmt/[email protected]':
+ '@oxfmt/[email protected]':
optional: true
'@oxlint-tsgolint/[email protected]':
@@ -9870,29 +9872,29 @@ snapshots:
dependencies:
wrappy: 1.0.2
dependencies:
- tinypool: 2.2.0
+ tinypool: 2.1.2
optionalDependencies:
- '@oxfmt/binding-android-arm-eabi': 0.51.0
- '@oxfmt/binding-android-arm64': 0.51.0
- '@oxfmt/binding-darwin-arm64': 0.51.0
- '@oxfmt/binding-darwin-x64': 0.51.0
- '@oxfmt/binding-freebsd-x64': 0.51.0
- '@oxfmt/binding-linux-arm-gnueabihf': 0.51.0
- '@oxfmt/binding-linux-arm-musleabihf': 0.51.0
- '@oxfmt/binding-linux-arm64-gnu': 0.51.0
- '@oxfmt/binding-linux-arm64-musl': 0.51.0
- '@oxfmt/binding-linux-ppc64-gnu': 0.51.0
- '@oxfmt/binding-linux-riscv64-gnu': 0.51.0
- '@oxfmt/binding-linux-riscv64-musl': 0.51.0
- '@oxfmt/binding-linux-s390x-gnu': 0.51.0
- '@oxfmt/binding-linux-x64-gnu': 0.51.0
- '@oxfmt/binding-linux-x64-musl': 0.51.0
- '@oxfmt/binding-openharmony-arm64': 0.51.0
- '@oxfmt/binding-win32-arm64-msvc': 0.51.0
- '@oxfmt/binding-win32-ia32-msvc': 0.51.0
- '@oxfmt/binding-win32-x64-msvc': 0.51.0
+ '@oxfmt/binding-android-arm-eabi': 0.67.0
+ '@oxfmt/binding-android-arm64': 0.67.0
+ '@oxfmt/binding-darwin-arm64': 0.67.0
+ '@oxfmt/binding-darwin-x64': 0.67.0
+ '@oxfmt/binding-freebsd-x64': 0.67.0
+ '@oxfmt/binding-linux-arm-gnueabihf': 0.67.0
+ '@oxfmt/binding-linux-arm-musleabihf': 0.67.0
+ '@oxfmt/binding-linux-arm64-gnu': 0.67.0
+ '@oxfmt/binding-linux-arm64-musl': 0.67.0
+ '@oxfmt/binding-linux-ppc64-gnu': 0.67.0
+ '@oxfmt/binding-linux-riscv64-gnu': 0.67.0
+ '@oxfmt/binding-linux-riscv64-musl': 0.67.0
+ '@oxfmt/binding-linux-s390x-gnu': 0.67.0
+ '@oxfmt/binding-linux-x64-gnu': 0.67.0
+ '@oxfmt/binding-linux-x64-musl': 0.67.0
+ '@oxfmt/binding-openharmony-arm64': 0.67.0
+ '@oxfmt/binding-win32-arm64-msvc': 0.67.0
+ '@oxfmt/binding-win32-ia32-msvc': 0.67.0
+ '@oxfmt/binding-win32-x64-msvc': 0.67.0
optionalDependencies:
@@ -10736,7 +10738,7 @@ snapshots:
fdir: 6.5.0([email protected])
picomatch: 4.0.7
diff --git a/core/uv.lock b/core/uv.lock
index c91f844b8..b7f62ac3c 100644
--- a/core/uv.lock
+++ b/core/uv.lock
@@ -683,11 +683,11 @@ wheels = [
[[package]]
name = "distlib"
-version = "0.4.4"
+version = "0.4.0"
source = { registry = "https://pypi.org/simple" }
-sdist = { url = "https://files.pythonhosted.org/packages/68/bc/d36966de7304047a1001a7559fbf266c464bb5d8cc85464536ef8c9bcc32/distlib-0.4.4.tar.gz", hash = "sha256:ca4175b4ac7f71223cc30ed7248c45d2b38c2439d8ee6e498ab67ed63cf3508d", size = 621304, upload-time = "2026-10-16T13:56:34.203Z" }
+sdist = { url = "https://files.pythonhosted.org/packages/96/8e/709914eb2b5749865801041647dc7f4e6d00b549cfe88b65ca192995f07c/distlib-0.4.0.tar.gz", hash = "sha256:feec40075be03a04501a973d81f633735b4b69f98b05450592310c0f401a4e0d", size = 614605, upload-time = "2025-07-17T16:52:00.465Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/c1/2b/238f02a4927fa2e27aa995371d240a468b52e42eae44a678434aff736b38/distlib-0.4.4-py2.py3-none-any.whl", hash = "sha256:cf09d55b1e85a89576b036aeb71550bfd68320f3f21761ca329eadadad918638", size = 472099, upload-time = "2026-10-16T13:56:32.053Z" },
+ { url = "https://files.pythonhosted.org/packages/33/6b/e0547afaf41bf2c42e52430072fa5658766e3d65bd4b03a563d1b6336f57/distlib-0.4.0-py2.py3-none-any.whl", hash = "sha256:9659f7d87e46584a30b5780e43ac7a2143098441670ff0a49d5f9034c54a6c16", size = 469047, upload-time = "2025-07-17T16:51:58.613Z" },
]
[[package]]
@@ -1601,11 +1601,11 @@ wheels = [
[[package]]
name = "packaging"
-version = "26.3"
+version = "26.2"
source = { registry = "https://pypi.org/simple" }
-sdist = { url = "https://files.pythonhosted.org/packages/7d/fa/3944b40b07da9ce895c0e6303a5ab7d53da063554f534556b134a54d6093/packaging-26.3.tar.gz", hash = "sha256:94edc256424af38762eb31306eed28beb9f0efc50a8837492c9d6fd6004aed79", size = 313412, upload-time = "2026-08-04T18:15:28.737Z" }
+sdist = { url = "https://files.pythonhosted.org/packages/d7/f1/e7a6dd94a8d4a5626c03e4e99c87f241ba9e350cd9e6d75123f992427270/packaging-26.2.tar.gz", hash = "sha256:ff452ff5a3e828ce110190feff1178bb1f2ea2281fa2075aadb987c2fb221661", size = 228134, upload-time = "2026-04-24T20:15:23.917Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/63/34/ba1c580383c9eada3711951fef0795c80b829a078d72188184bcab9dd527/packaging-26.3-py3-none-any.whl", hash = "sha256:d7193f7c8e4e93f444fde0262bf90af30e16fa0ad0ad44cb553c87339b23cd1c", size = 129956, upload-time = "2026-08-04T18:15:27.159Z" },
+ { url = "https://files.pythonhosted.org/packages/df/b2/87e62e8c3e2f4b32e5fe99e0b86d576da1312593b39f47d8ceef365e95ed/packaging-26.2-py3-none-any.whl", hash = "sha256:5fc45236b9446107ff2415ce77c807cee2862cb6fac22b8a73826d0693b0980e", size = 100195, upload-time = "2026-04-24T20:15:22.081Z" },
]
[[package]]
@@ -2478,18 +2478,17 @@ wheels = [
[[package]]
name = "virtualenv"
-version = "21.14.13"
+version = "21.7.13"
source = { registry = "https://pypi.org/simple" }
dependencies = [
{ name = "distlib" },
{ name = "filelock" },
- { name = "packaging" },
{ name = "platformdirs" },
{ name = "python-discovery" },
]
-sdist = { url = "https://files.pythonhosted.org/packages/70/aa/bff50daee0488e16d611258a9b6c5a1d0c9e128f8ca424e9f4e1c0444ef2/virtualenv-21.14.13.tar.gz", hash = "sha256:de5307ba4b9a0001d9c8ea02832d38f63ca432880f416c1bface61c4323fd905", size = 5570301, upload-time = "2026-10-22T20:10:16.952Z" }
+sdist = { url = "https://files.pythonhosted.org/packages/13/50/c9b84eb106d0db420b9878dac0a386c5791726f127ce20b06897f6e3a1e9/virtualenv-21.7.13.tar.gz", hash = "sha256:0355558b6f33619aab31347e43643b0ebc97f61ea3acf617b2b69e1f8a843d11", size = 5360306, upload-time = "2026-09-18T04:35:49.354Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/bb/a9/c10d8a44a29fb94a18b43fdf11f38caca53ae7c9406f11a72b1cb8f624f1/virtualenv-21.14.13-py3-none-any.whl", hash = "sha256:5fbb04138a4861580b78ba9110d529a26bc48fcc93c8ec36bc0202eeed96a788", size = 5557094, upload-time = "2026-10-22T20:10:15.096Z" },
+ { url = "https://files.pythonhosted.org/packages/9a/ce/e74453531b0c49a58d0e8a4f9bab4495705859fee4a4f7de27d58f4a791a/virtualenv-21.7.13-py3-none-any.whl", hash = "sha256:1bea5af7463f59c4719db48fe739579a2a4f569c96f26c086edda85c96da9f59", size = 5328680, upload-time = "2026-09-18T04:35:47.194Z" },
]
[[package]]
diff --git a/gateway/package-lock.json b/gateway/package-lock.json
index 7e8118196..f3f4e08d9 100644
--- a/gateway/package-lock.json
+++ b/gateway/package-lock.json
@@ -28,7 +28,10 @@
"jsdom": "^29.1.1",
"typescript": "~5.8.0",
"vite": "^6.3.0",
- "vitest": "^4.1.12"
+ "vitest": "^5.0.5"
+ },
+ "engines": {
+ "node": "^22.12.0 || ^24.0.0 || >=26.0.0"
}
},
"node_modules/@asamuzakjp/css-color": {
@@ -1277,9 +1280,9 @@
}
},
"node_modules/@jridgewell/sourcemap-codec": {
- "version": "1.5.5",
- "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.5.5.tgz",
- "integrity": "sha512-cYQ9310grqxueWbl+WuIUIaiUaDcj7WOq5fVhEljNVgRfOUhY9fy2zTvfoqWsnebh8Sl70VScFbICvJnLKB0Og==",
+ "version": "1.6.0",
+ "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.6.0.tgz",
+ "integrity": "sha512-T7jf+5zgsZHwNJ4lvQ7/aezbyk0nNX+zJVWpmHA7VYsEx7a7qr5Rg5IbtJFqkgze5Y2sruq1RUY8Q837Od7iFw==",
"license": "MIT"
},
"node_modules/@jridgewell/trace-mapping": {
@@ -2015,13 +2018,6 @@
"win32"
]
},
- "node_modules/@standard-schema/spec": {
- "version": "1.1.0",
- "resolved": "https://registry.npmjs.org/@standard-schema/spec/-/spec-1.1.0.tgz",
- "integrity": "sha512-l2aFy5jALhniG5HgqrD6jXLi/rUWrKvqN/qJx6yoJsgKhblVd+iqqU4RCXavm/jPityDo5TCvKMnpjKnOriy0w==",
- "dev": true,
- "license": "MIT"
- },
"node_modules/@testing-library/dom": {
"version": "10.4.2",
"resolved": "https://registry.npmjs.org/@testing-library/dom/-/dom-10.4.2.tgz",
@@ -2267,126 +2263,16 @@
"vite": "^4.2.0 || ^5.0.0 || ^6.0.0 || ^7.0.0"
}
},
- "node_modules/@vitest/expect": {
- "version": "4.1.12",
- "resolved": "https://registry.npmjs.org/@vitest/expect/-/expect-4.1.12.tgz",
- "integrity": "sha512-vFlTt+YEu9WBpNjdGayNmlMVzrWPi1+sv853/7t2FU7hpO5gAFBKHzQmkCq5Xjpr+evegF2994LQT3hF3mRlqQ==",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "@standard-schema/spec": "^1.1.0",
- "@types/chai": "^5.2.2",
- "@vitest/spy": "4.1.12",
- "@vitest/utils": "4.1.12",
- "chai": "^6.2.2",
- "tinyrainbow": "^3.1.0"
- },
- "funding": {
- "url": "https://opencollective.com/vitest"
- }
- },
- "node_modules/@vitest/mocker": {
- "version": "4.1.12",
- "resolved": "https://registry.npmjs.org/@vitest/mocker/-/mocker-4.1.12.tgz",
- "integrity": "sha512-fKShNpKZzupWZuY0z7egydvL0sqW4INEZBEExMBMAa6izlENEVHwoXgdaTCaBZ5fwlr4xf2o1wXC83n9RpO+NA==",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "@vitest/spy": "4.1.12",
- "estree-walker": "^3.0.3",
- "magic-string": "^0.30.21"
- },
- "funding": {
- "url": "https://opencollective.com/vitest"
- },
- "peerDependencies": {
- "msw": "^2.4.9",
- "vite": "^6.0.0 || ^7.0.0 || ^8.0.0"
- },
- "peerDependenciesMeta": {
- "msw": {
- "optional": true
- },
- "vite": {
- "optional": true
- }
- }
- },
- "node_modules/@vitest/pretty-format": {
- "version": "4.1.12",
- "resolved": "https://registry.npmjs.org/@vitest/pretty-format/-/pretty-format-4.1.12.tgz",
- "integrity": "sha512-XW9O8+Mxx4VpCtkYdMJLZQQwsVryP9wk7cPKDxtXFfwSak6yRh5+2fep/Y0XF/ElBvJHq8bcYdi6aeuai0opZA==",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "tinyrainbow": "^3.1.0"
- },
- "funding": {
- "url": "https://opencollective.com/vitest"
- }
- },
- "node_modules/@vitest/runner": {
- "version": "4.1.12",
- "resolved": "https://registry.npmjs.org/@vitest/runner/-/runner-4.1.12.tgz",
- "integrity": "sha512-NKlVKCr5QnCe8jijdMnmkpHHU+WTqiLFR6G0pHji9uRjXK9xJl1k1nTw6F3pOOj2PDcsDt2GKQMI7wIsaT491w==",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "@vitest/utils": "4.1.12",
- "pathe": "^2.0.3"
- },
- "funding": {
- "url": "https://opencollective.com/vitest"
- }
- },
- "node_modules/@vitest/snapshot": {
- "version": "4.1.12",
- "resolved": "https://registry.npmjs.org/@vitest/snapshot/-/snapshot-4.1.12.tgz",
- "integrity": "sha512-ko1y1Qgb/slzQ9mr+b89Cuqud8WG1TKtsPD8r7ZUBdvVOGt85Af2HwCqHujrhwJq95hs/9RM7fcAPg57o1vlzw==",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "@vitest/pretty-format": "4.1.12",
- "@vitest/utils": "4.1.12",
- "magic-string": "^0.30.21",
- "pathe": "^2.0.3"
- },
- "funding": {
- "url": "https://opencollective.com/vitest"
- }
- },
"node_modules/@vitest/spy": {
- "version": "4.1.12",
- "resolved": "https://registry.npmjs.org/@vitest/spy/-/spy-4.1.12.tgz",
- "integrity": "sha512-RGq9x4JNGNTZHEJxvN0oSiJjeSCExm0n2gZKKJZHY9cX5AVA6M7VJILBT3ZJ/tJ/0J9uWT7fETV9/btoi//vSg==",
+ "version": "5.0.5",
+ "resolved": "https://registry.npmjs.org/@vitest/spy/-/spy-5.0.5.tgz",
+ "integrity": "sha512-lwJRExuH417257Q5wv9QYugN9IMJkoxcrKrYxGPQkBzl7wlNpTUxD/5yNX4ESKVUIShKPgkGchYPFMWOOk0wzw==",
"dev": true,
"license": "MIT",
"funding": {
"url": "https://opencollective.com/vitest"
}
},
- "node_modules/@vitest/utils": {
- "version": "4.1.12",
- "resolved": "https://registry.npmjs.org/@vitest/utils/-/utils-4.1.12.tgz",
- "integrity": "sha512-Q3awXrwOfEV+qc3WmO5ONyE0yO7Q1gQ9/oyHxGLZ/pl7N3NO/ZztqQwKLuwMkV+CA1JYSIeO3gkHnRDIo4AVaA==",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "@vitest/pretty-format": "4.1.12",
- "convert-source-map": "^2.0.0",
- "tinyrainbow": "^3.1.0"
- },
- "funding": {
- "url": "https://opencollective.com/vitest"
- }
- },
- "node_modules/@vitest/utils/node_modules/convert-source-map": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-2.0.0.tgz",
- "integrity": "sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg==",
- "dev": true,
- "license": "MIT"
- },
"node_modules/accessor-fn": {
"version": "1.5.3",
"resolved": "https://registry.npmjs.org/accessor-fn/-/accessor-fn-1.5.3.tgz",
@@ -3431,13 +3317,13 @@
}
},
"node_modules/magic-string": {
- "version": "0.30.21",
- "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.30.21.tgz",
- "integrity": "sha512-vd2F4YUyEXKGcLHoq+TEyCjxueSeHnFxyyjNp80yg0XV4vUhnDer/lvvlqM/arB5bXQN5K2/3oinyCRyx8T2CQ==",
+ "version": "1.4.4",
+ "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-1.4.4.tgz",
+ "integrity": "sha512-jQz9sVhrZuphH4NrAIHSgkDJCluQO7Ioi4KGRLa7aTUjAODQ13hENX0YIytqYE/rIkO485gQG2LeBxJaW53kkQ==",
"dev": true,
"license": "MIT",
"dependencies": {
- "@jridgewell/sourcemap-codec": "^1.5.5"
+ "@jridgewell/sourcemap-codec": "^1.6.0"
}
},
"node_modules/mdn-data": {
@@ -3492,9 +3378,9 @@
}
},
"node_modules/obug": {
- "version": "2.2.1",
- "resolved": "https://registry.npmjs.org/obug/-/obug-2.2.1.tgz",
- "integrity": "sha512-XrsrhT5sybtKI6wakr2SPOlGZWWYbUXZ7a0jT8/QOeAPau+1X/bSegNe5YR75oJmEZQbKningirmGOEJCIk61Q==",
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/obug/-/obug-3.0.0.tgz",
+ "integrity": "sha512-5vvB5+W7ePv+p3uqxi+RcW1XAzLW0/hxt3/4X4Lc4qHudzOhmBiBwOY6DRob4WnanAEGvNcLjF+KNOufrUoEQw==",
"dev": true,
"funding": [
"https://github.com/sponsors/sxzz",
@@ -3563,13 +3449,6 @@
"node": ">=8"
}
},
- "node_modules/pathe": {
- "version": "2.0.3",
- "resolved": "https://registry.npmjs.org/pathe/-/pathe-2.0.3.tgz",
- "integrity": "sha512-WUjGcAqP1gQacoQe+OBJsFA7Ld4DyXuUIjZ5cc75cLHvJ7dtNsTugphxIADwspS+AraAUePCKrSVtPLFj/F88w==",
- "dev": true,
- "license": "MIT"
- },
"node_modules/picocolors": {
"version": "1.1.1",
"resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.1.1.tgz",
@@ -3577,9 +3456,9 @@
"license": "ISC"
},
"node_modules/picomatch": {
- "version": "4.0.4",
- "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-4.0.4.tgz",
- "integrity": "sha512-QP88BAKvMam/3NxH6vj2o21R6MjxZUAd6nlwAS/pnGvN9IVLocLHxGYIzFhg6fUQ+5th6P4dv4eW9jX3DSIj7A==",
+ "version": "4.0.7",
+ "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-4.0.7.tgz",
+ "integrity": "sha512-qcJu88Q2IWqJsDD529JKMdwGm/dvInW4HvQnRwiH9JtihJvzGOscDtHE3x1pBKeUOTysQ8kVmLnJ2kJu7yhcGA==",
"dev": true,
"license": "MIT",
"engines": {
@@ -3910,13 +3789,6 @@
"integrity": "sha512-oeM1lpU/UvhTxw+g3cIfxXHyJRc/uidd3yK1P242gzHds0udQBYzs3y8j4gCCW+ZJ7ad0yctld8RYO+bdurlvw==",
"license": "MIT"
},
- "node_modules/siginfo": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/siginfo/-/siginfo-2.0.0.tgz",
- "integrity": "sha512-ybx0WO1/8bSBLEWXZvEd7gMW3Sn3JFlW3TvX1nREbDLRNQNaeNN8WK0meBwPdAaOI7TtRRRJn/Es1zhrrCHu7g==",
- "dev": true,
- "license": "ISC"
- },
"node_modules/source-map": {
"version": "0.5.7",
"resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz",
@@ -3936,13 +3808,6 @@
"node": ">=0.10.0"
}
},
- "node_modules/stackback": {
- "version": "0.0.2",
- "resolved": "https://registry.npmjs.org/stackback/-/stackback-0.0.2.tgz",
- "integrity": "sha512-1XMJE5fQo1jGH6Y/7ebnwPOBEkIEnT4QF32d5R1+VXdXveM0IBMJt8zfaxX1P3QhVwrYe+576+jkANtSS2mBbw==",
- "dev": true,
- "license": "MIT"
- },
"node_modules/std-env": {
"version": "4.3.0",
"resolved": "https://registry.npmjs.org/std-env/-/std-env-4.3.0.tgz",
@@ -3982,11 +3847,14 @@
"license": "MIT"
},
"node_modules/tinybench": {
- "version": "2.9.0",
- "resolved": "https://registry.npmjs.org/tinybench/-/tinybench-2.9.0.tgz",
- "integrity": "sha512-0+DUvqWMValLmha6lr4kD8iAMK1HzV0/aKnCtWb9v9641TnP/MFb7Pc2bxoxQjTXAErryXVgUOfv2YqNllqGeg==",
+ "version": "6.2.2",
+ "resolved": "https://registry.npmjs.org/tinybench/-/tinybench-6.2.2.tgz",
+ "integrity": "sha512-nIZ2N2dFpjBsg2hgitKu7mA+FvsIJuGJOwysRngmVRRmWgR/UyPjwJj8c/fT/dhm8EkHnF5EOogRf+0Z2qrimA==",
"dev": true,
- "license": "MIT"
+ "license": "MIT",
+ "engines": {
+ "node": ">=20.0.0"
+ }
},
"node_modules/tinycolor2": {
"version": "1.6.0",
@@ -4005,9 +3873,9 @@
}
},
"node_modules/tinyglobby": {
- "version": "0.2.16",
- "resolved": "https://registry.npmjs.org/tinyglobby/-/tinyglobby-0.2.16.tgz",
- "integrity": "sha512-pn99VhoACYR8nFHhxqix+uvsbXineAasWm5ojXoN8xEwK5Kd3/TrhNn1wByuD52UxWRLy8pu+kRMniEi6Eq9Zg==",
+ "version": "0.2.17",
+ "resolved": "https://registry.npmjs.org/tinyglobby/-/tinyglobby-0.2.17.tgz",
+ "integrity": "sha512-wXR/dYpcqKmfWpEdZjiKJOwCNFndD0DMnrW/cYjVGttEkBfVgcLFHoNrlj47mjOVic9yyNu65alsgF4NQyTa2g==",
"dev": true,
"license": "MIT",
"dependencies": {
@@ -4021,16 +3889,6 @@
"url": "https://github.com/sponsors/SuperchupuDev"
}
},
- "node_modules/tinyrainbow": {
- "version": "3.2.0",
- "resolved": "https://registry.npmjs.org/tinyrainbow/-/tinyrainbow-3.2.0.tgz",
- "integrity": "sha512-LgO3D9yZJjApUiuUfl9iFAwrtaX4+lok3wJIqttGoKCHlWUqHqbQpnxCf82L8FjgKsh4iGo78hqJwgL8F6To2A==",
- "dev": true,
- "license": "MIT",
- "engines": {
- "node": ">=14.0.0"
- }
- },
"node_modules/tldts": {
"version": "7.4.15",
"resolved": "https://registry.npmjs.org/tldts/-/tldts-7.4.15.tgz",
@@ -4217,38 +4075,31 @@
}
},
"node_modules/vitest": {
- "version": "4.1.12",
- "resolved": "https://registry.npmjs.org/vitest/-/vitest-4.1.12.tgz",
- "integrity": "sha512-5eWdz2yb3ajxWF3C8C4TjkXl7FGm3n2E/VlazALrQHzK7nYMSGFnCZto0bbPNl77AwkOZVLk0YnBAejUu0NiWA==",
+ "version": "5.0.5",
+ "resolved": "https://registry.npmjs.org/vitest/-/vitest-5.0.5.tgz",
+ "integrity": "sha512-cPODOMF8YnkiiYtDdHo6n4wWmBrOBBbOIYH2d33M4l3CdNn72h+qMmO6uXffUN6A5AZFXNND/d+krS9mgkXRfg==",
"dev": true,
"license": "MIT",
"dependencies": {
- "@vitest/expect": "4.1.12",
- "@vitest/mocker": "4.1.12",
- "@vitest/pretty-format": "4.1.12",
- "@vitest/runner": "4.1.12",
- "@vitest/snapshot": "4.1.12",
- "@vitest/spy": "4.1.12",
- "@vitest/utils": "4.1.12",
- "es-module-lexer": "^2.0.0",
- "expect-type": "^1.3.0",
- "magic-string": "^0.30.21",
- "obug": "^2.1.1",
- "pathe": "^2.0.3",
- "picomatch": "^4.0.3",
- "std-env": "^4.0.0-rc.1",
- "tinybench": "^2.9.0",
- "tinyexec": "^1.0.2",
- "tinyglobby": "^0.2.15",
- "tinyrainbow": "^3.1.0",
- "vite": "^6.0.0 || ^7.0.0 || ^8.0.0",
- "why-is-node-running": "^2.3.0"
+ "@types/chai": "^5.2.2",
+ "@vitest/mocker": "5.0.5",
+ "chai": "^6.3.0",
+ "es-module-lexer": "^2.3.2",
+ "expect-type": "^1.4.0",
+ "magic-string": "^1.4.3",
+ "obug": "^3.0.0",
+ "picomatch": "^4.0.7",
+ "std-env": "^4.3.0",
+ "tinybench": "^6.2.2",
+ "tinyexec": "^1.3.1",
+ "tinyglobby": "^0.2.17",
+ "why-is-node-running": "3.2.1"
},
"bin": {
"vitest": "vitest.mjs"
},
"engines": {
- "node": "^20.0.0 || ^22.0.0 || >=24.0.0"
+ "node": "^22.12.0 || ^24.0.0 || >=26.0.0"
},
"funding": {
"url": "https://opencollective.com/vitest"
@@ -4256,16 +4107,16 @@
"peerDependencies": {
"@edge-runtime/vm": "*",
"@opentelemetry/api": "^1.9.0",
- "@types/node": "^20.0.0 || ^22.0.0 || >=24.0.0",
- "@vitest/browser-playwright": "4.1.12",
- "@vitest/browser-preview": "4.1.12",
- "@vitest/browser-webdriverio": "^4.1.11",
- "@vitest/coverage-istanbul": "4.1.12",
- "@vitest/coverage-v8": "4.1.12",
- "@vitest/ui": "4.1.12",
+ "@types/node": "^22.0.0 || >=24.0.0",
+ "@vitest/browser-playwright": "5.0.5",
+ "@vitest/browser-preview": "5.0.5",
+ "@vitest/browser-webdriverio": "^5.0.0-beta.5 || >=5.0.0",
+ "@vitest/coverage-istanbul": "5.0.5",
+ "@vitest/coverage-v8": "5.0.5",
+ "@vitest/ui": "5.0.5",
"happy-dom": "*",
"jsdom": "*",
- "vite": "^6.0.0 || ^7.0.0 || ^8.0.0"
+ "vite": "^6.4.0 || ^7.0.0 || ^8.0.0"
},
"peerDependenciesMeta": {
"@edge-runtime/vm": {
@@ -4306,6 +4157,34 @@
}
}
},
+ "node_modules/vitest/node_modules/@vitest/mocker": {
+ "version": "5.0.5",
+ "resolved": "https://registry.npmjs.org/@vitest/mocker/-/mocker-5.0.5.tgz",
+ "integrity": "sha512-xLL3lkDegJZw+MGoGaCCsFayDZthGgpAtr3Vziyfc4p7xH89K7KRPcRBBh/kEYm0Aqkt5DtTmkYpBtRV/FrHZg==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@jridgewell/trace-mapping": "0.3.31",
+ "@vitest/spy": "5.0.5",
+ "estree-walker": "^3.0.3",
+ "magic-string": "^1.4.3"
+ },
+ "funding": {
+ "url": "https://opencollective.com/vitest"
+ },
+ "peerDependencies": {
+ "msw": "^2.4.9 || ^3.0.0",
+ "vite": "^6.0.0 || ^7.0.0 || ^8.0.0"
+ },
+ "peerDependenciesMeta": {
+ "msw": {
+ "optional": true
+ },
+ "vite": {
+ "optional": true
+ }
+ }
+ },
"node_modules/w3c-keyname": {
"version": "2.2.8",
"resolved": "https://registry.npmjs.org/w3c-keyname/-/w3c-keyname-2.2.8.tgz",
@@ -4361,20 +4240,16 @@
}
},
"node_modules/why-is-node-running": {
- "version": "2.3.0",
- "resolved": "https://registry.npmjs.org/why-is-node-running/-/why-is-node-running-2.3.0.tgz",
- "integrity": "sha512-hUrmaWBdVDcxvYqnyh09zunKzROWjbZTiNy8dBEjkS7ehEDQibXJ7XvlmtbwuTclUiIyN+CyXQD4Vmko8fNm8w==",
+ "version": "3.2.1",
+ "resolved": "https://registry.npmjs.org/why-is-node-running/-/why-is-node-running-3.2.1.tgz",
+ "integrity": "sha512-Tb2FUhB4vUsGQlfSquQLYkApkuPAFQXGFzxWKHHumVz2dK+X1RUm/HnID4+TfIGYJ1kTcwOaCk/buYCEJr6YjQ==",
"dev": true,
"license": "MIT",
- "dependencies": {
- "siginfo": "^2.0.0",
- "stackback": "0.0.2"
- },
"bin": {
"why-is-node-running": "cli.js"
},
"engines": {
- "node": ">=8"
+ "node": ">=20.11"
}
},
"node_modules/xml-name-validator": {
diff --git a/gateway/package.json b/gateway/package.json
index 2fb01a8d8..9505fa5c8 100644
--- a/gateway/package.json
+++ b/gateway/package.json
@@ -2,6 +2,9 @@
"name": "switch-gateway",
"private": true,
"type": "module",
+ "engines": {
+ "node": "^22.12.0 || ^24.0.0 || >=26.0.0"
+ },
"scripts": {
"dev": "vite",
"build": "tsc -b && vite build",
@@ -32,6 +35,6 @@
"jsdom": "^29.1.1",
"typescript": "~5.8.0",
"vite": "^6.3.0",
- "vitest": "^4.1.12"
+ "vitest": "^5.0.5"
}
}