Open-source, secure environment with real-world tools for enterprise-grade agents.
Python agentaiai-agentai-agentscode-interpretercopilotdevelopmentdevtoolsgptgpt-4javascriptllmnextjsopenaipythonreactsoftwaretypescript
Remove old deps; [WIP] JS SDK file handling
Tomas Valenta9b83de35f222
diff --git a/packages/js-sdk/example.mts b/packages/js-sdk/example.mtsindex 280642c39..618da419d 100644--- a/packages/js-sdk/example.mts+++ b/packages/js-sdk/example.mts@@ -13,7 +13,7 @@ const sandbox = await Sandbox.create({})console.log(sandbox.id)-await sandbox.uploadFile(Buffer.from('hello world'), 'test.txt')+await sandboxawait sandbox.close()diff --git a/packages/js-sdk/package.json b/packages/js-sdk/package.jsonindex e1e13cd54..26e771901 100644--- a/packages/js-sdk/package.json+++ b/packages/js-sdk/package.json@@ -31,25 +31,23 @@"test": "vitest run","test:coverage": "vitest run --coverage","generate": "openapi-typescript ../../spec/openapi.yml -x api_key --support-array-length --alphabetize --output src/api/schema.gen.ts",+ "generate-envd-api": "openapi-typescript ../../spec/envd/envd.yaml -x api_key --support-array-length --alphabetize --output src/envd/schema.gen.ts","check-deps": "knip","update-deps": "ncu -u && pnpm i","postPublish": "./scripts/post-publish.sh || true"},"devDependencies": {"@types/node": "^18.18.6",- "@types/normalize-path": "^3.0.0",- "@types/path-browserify": "^1.0.1",- "@types/platform": "^1.3.4",- "@types/ws": "^8.5.10",- "@typescript-eslint/eslint-plugin": "^6.8.0",- "@typescript-eslint/parser": "^6.8.0",+ "@types/platform": "^1.3.6",+ "@typescript-eslint/eslint-plugin": "^7.11.0",+ "@typescript-eslint/parser": "^7.11.0","dotenv": "^16.4.5",- "knip": "^2.34.0",- "npm-check-updates": "^16.14.6",- "openapi-typescript": "^5.4.1",- "tsup": "^6.7.0",- "typescript": "^5.2.2",- "vitest": "^0.34.6"+ "knip": "^5.17.3",+ "npm-check-updates": "^16.14.20",+ "openapi-typescript": "^6.7.6",+ "tsup": "^8.0.2",+ "typescript": "^5.4.5",+ "vitest": "^1.6.0"},"files": ["dist",@@ -71,24 +69,16 @@"typescript"],"dependencies": {- "@bufbuild/protobuf": "^1.9.0",+ "@bufbuild/protobuf": "^1.10.0","@connectrpc/connect": "^1.4.0","@connectrpc/connect-web": "^1.4.0",- "isomorphic-ws": "^5.0.0",- "normalize-path": "^3.0.0",- "openapi-typescript-fetch": "^1.1.3",- "path-browserify": "^1.0.1",- "platform": "^1.3.6",- "ws": "^8.15.1"+ "openapi-fetch": "^0.9.7",+ "platform": "^1.3.6"},"engines": {"node": ">=18"},"browserslist": ["defaults"- ],- "optionalDependencies": {- "bufferutil": "^4.0.8",- "utf-8-validate": "^6.0.3"- }+ ]}\ No newline at end of filediff --git a/packages/js-sdk/src/api/index.ts b/packages/js-sdk/src/api/index.tsindex 96bd7cfbe..61e87147e 100644--- a/packages/js-sdk/src/api/index.ts+++ b/packages/js-sdk/src/api/index.ts@@ -1,76 +1,56 @@-import * as fetcher from 'openapi-typescript-fetch'-import type { OpArgType, TypedFetch } from 'openapi-typescript-fetch'+import createClient from 'openapi-fetch'import type { components, paths } from './schema.gen'import { defaultHeaders } from './metadata'import { ConnectionConfig } from '../connectionConfig'-const { Fetcher } = fetcher--class APIClient {- private client = Fetcher.for<paths>()-- constructor(private config: ConnectionConfig) {- this.client.configure({- baseUrl: this.config.apiUrl,- init: {- headers: defaultHeaders,- },- })- }-- get api() {- return this.client- }-}--type WithAccessToken<T> = (- accessToken: string,- arg: OpArgType<T>,- init?: RequestInit,-) => ReturnType<TypedFetch<T>>--export function withAccessToken<T>(f: TypedFetch<T>) {- const wrapped = (accessToken: string, arg: OpArgType<T>, init?: RequestInit) => {- return f(arg, {- ...init,- headers: {- Authorization: `Bearer ${accessToken}`,- ...init?.headers,- },- })- }-- wrapped.Error = f.Error-- return wrapped as WithAccessToken<T> & {- Error: typeof f.Error+export class AuthenticationError extends Error {+ constructor(message: any) {+ super(message)+ this.name = 'AuthenticationError'}}-type WithAPIKey<T> = (- apiKey: string,- arg: OpArgType<T>,- init?: RequestInit,-) => ReturnType<TypedFetch<T>>--export function withAPIKey<T>(f: TypedFetch<T>) {- const wrapped = (apiKey: string, arg: OpArgType<T>, init?: RequestInit) => {- return f(arg, {- ...init,+class ApiClient {+ private readonly client: ReturnType<typeof createClient<paths>>++ constructor(+ config: ConnectionConfig,+ opts?: {+ requireAccessToken?: boolean+ requireApiKey?: boolean+ },+ ) {+ if (!opts?.requireApiKey && !config.apiKey) {+ throw new AuthenticationError(+ 'API key is required, please visit https://e2b.dev/docs to get your API key. ' ++ 'You can either set the environment variable `E2B_API_KEY` ' ++ "or you can pass it directly to the sandbox like Sandbox.create({ apiKey: 'e2b_...' })",+ )+ }++ if (opts?.requireAccessToken && !config.accessToken) {+ throw new AuthenticationError(+ 'Access token is required, please visit https://e2b.dev/docs to get your access token. ' ++ 'You can either set the environment variable `E2B_ACCESS_TOKEN`',+ )+ }++ this.client = createClient<paths>({+ baseUrl: config.apiUrl,+ signal: config.requestTimeoutMs ? AbortSignal.timeout(config.requestTimeoutMs) : undefined,headers: {- 'X-API-KEY': apiKey,- ...init?.headers,+ ...defaultHeaders,+ ...config.apiKey && { 'X-API-KEY': config.apiKey },+ ...config.accessToken && { Authorization: `Bearer ${config.accessToken}` },},})}- wrapped.Error = f.Error-- return wrapped as WithAPIKey<T> & {- Error: typeof f.Error+ get api() {+ return this.client}}export type { components, paths }-export { APIClient }+export { ApiClient }diff --git a/packages/js-sdk/src/api/schema.gen.ts b/packages/js-sdk/src/api/schema.gen.tsindex d558f355c..3ade9e53b 100644--- a/packages/js-sdk/src/api/schema.gen.ts+++ b/packages/js-sdk/src/api/schema.gen.ts@@ -3,22 +3,25 @@* Do not make direct changes to the file.*/+export interface paths {"/health": {- /** Health check */+ /** @description Health check */get: {responses: {- /** Request was successful */- 200: unknown;+ /** @description Request was successful */+ 200: {+ content: never;+ };401: components["responses"]["401"];};};};"/sandboxes": {- /** List all running sandboxes */+ /** @description List all running sandboxes */get: {responses: {- /** Successfully returned all running sandboxes */+ /** @description Successfully returned all running sandboxes */200: {content: {"application/json": components["schemas"]["RunningSandbox"][];@@ -29,10 +32,15 @@ export interface paths {500: components["responses"]["500"];};};- /** Create a sandbox from the template */+ /** @description Create a sandbox from the template */post: {+ requestBody: {+ content: {+ "application/json": components["schemas"]["NewSandbox"];+ };+ };responses: {- /** The sandbox was created successfully */+ /** @description The sandbox was created successfully */201: {content: {"application/json": components["schemas"]["Sandbox"];@@ -42,29 +50,43 @@ export interface paths {401: components["responses"]["401"];500: components["responses"]["500"];};- requestBody: {- content: {- "application/json": components["schemas"]["NewSandbox"];+ };+ };+ "/sandboxes/{sandboxID}": {+ /** @description Kill a sandbox */+ delete: {+ parameters: {+ path: {+ sandboxID: components["parameters"]["sandboxID"];+ };+ };+ responses: {+ /** @description The sandbox was killed successfully */+ 204: {+ content: never;};+ 401: components["responses"]["401"];+ 404: components["responses"]["404"];+ 500: components["responses"]["500"];};};};"/sandboxes/{sandboxID}/logs": {- /** Get sandbox logs */+ /** @description Get sandbox logs */get: {parameters: {- path: {- sandboxID: components["parameters"]["sandboxID"];- };- query: {- /** Starting timestamp of the logs that should be returned in milliseconds */+ query?: {+ /** @description Starting timestamp of the logs that should be returned in milliseconds */start?: number;- /** Maximum number of logs that should be returned */+ /** @description Maximum number of logs that should be returned */limit?: number;};+ path: {+ sandboxID: components["parameters"]["sandboxID"];+ };};responses: {- /** Successfully returned the sandbox logs */+ /** @description Successfully returned the sandbox logs */200: {content: {"application/json": components["schemas"]["SandboxLogs"];@@ -76,39 +98,41 @@ export interface paths {};};};- "/sandboxes/{sandboxID}": {- /** Kill a sandbox */- delete: {+ "/sandboxes/{sandboxID}/refreshes": {+ /** @description Refresh the sandbox extending its time to live */+ post: {parameters: {path: {sandboxID: components["parameters"]["sandboxID"];};};+ requestBody?: {+ content: {+ "application/json": {+ /** @description Duration for which the sandbox should be kept alive in seconds */+ duration?: number;+ };+ };+ };responses: {- /** The sandbox was killed successfully */- 204: never;+ /** @description Successfully refreshed the sandbox */+ 204: {+ content: never;+ };401: components["responses"]["401"];404: components["responses"]["404"];- 500: components["responses"]["500"];};};};"/sandboxes/{sandboxID}/timeout": {- /** Set the timeout for the sandbox. The sandbox will expire x seconds from the time of the request. Calling this method multiple times overwrites the TTL, each time using the current timestamp as the starting point to measure the timeout duration. */+ /** @description Set the timeout for the sandbox. The sandbox will expire x seconds from the time of the request. Calling this method multiple times overwrites the TTL, each time using the current timestamp as the starting point to measure the timeout duration. */post: {parameters: {path: {sandboxID: components["parameters"]["sandboxID"];};};- responses: {- /** Successfully set the sandbox timeout */- 204: never;- 401: components["responses"]["401"];- 404: components["responses"]["404"];- 500: components["responses"]["500"];- };- requestBody: {+ requestBody?: {content: {"application/json": {/**@@ -119,37 +143,22 @@ export interface paths {};};};- };- };- "/sandboxes/{sandboxID}/refreshes": {- /** Refresh the sandbox extending its time to live */- post: {- parameters: {- path: {- sandboxID: components["parameters"]["sandboxID"];- };- };responses: {- /** Successfully refreshed the sandbox */- 204: never;+ /** @description Successfully set the sandbox timeout */+ 204: {+ content: never;+ };401: components["responses"]["401"];404: components["responses"]["404"];- };- requestBody: {- content: {- "application/json": {- /** @description Duration for which the sandbox should be kept alive in seconds */- duration?: number;- };- };+ 500: components["responses"]["500"];};};};"/templates": {- /** List all templates */+ /** @description List all templates */get: {responses: {- /** Successfully returned all templates */+ /** @description Successfully returned all templates */200: {content: {"application/json": components["schemas"]["Template"][];@@ -159,10 +168,15 @@ export interface paths {500: components["responses"]["500"];};};- /** Create a new template */+ /** @description Create a new template */post: {+ requestBody: {+ content: {+ "application/json": components["schemas"]["TemplateBuildRequest"];+ };+ };responses: {- /** The build was accepted */+ /** @description The build was accepted */202: {content: {"application/json": components["schemas"]["Template"];@@ -171,23 +185,23 @@ export interface paths {401: components["responses"]["401"];500: components["responses"]["500"];};- requestBody: {- content: {- "application/json": components["schemas"]["TemplateBuildRequest"];- };- };};};"/templates/{templateID}": {- /** Rebuild an template */+ /** @description Rebuild an template */post: {parameters: {path: {templateID: components["parameters"]["templateID"];};};+ requestBody: {+ content: {+ "application/json": components["schemas"]["TemplateBuildRequest"];+ };+ };responses: {- /** The build was accepted */+ /** @description The build was accepted */202: {content: {"application/json": components["schemas"]["Template"];@@ -196,13 +210,8 @@ export interface paths {401: components["responses"]["401"];500: components["responses"]["500"];};- requestBody: {- content: {- "application/json": components["schemas"]["TemplateBuildRequest"];- };- };};- /** Delete a template */+ /** @description Delete a template */delete: {parameters: {path: {@@ -210,15 +219,17 @@ export interface paths {};};responses: {- /** The template was deleted successfully */- 204: never;+ /** @description The template was deleted successfully */+ 204: {+ content: never;+ };401: components["responses"]["401"];500: components["responses"]["500"];};};};"/templates/{templateID}/builds/{buildID}": {- /** Start the build */+ /** @description Start the build */post: {parameters: {path: {@@ -227,28 +238,30 @@ export interface paths {};};responses: {- /** The build has started */- 202: unknown;+ /** @description The build has started */+ 202: {+ content: never;+ };401: components["responses"]["401"];500: components["responses"]["500"];};};};"/templates/{templateID}/builds/{buildID}/status": {- /** Get template build info */+ /** @description Get template build info */get: {parameters: {+ query?: {+ /** @description Index of the starting build log that should be returned with the template */+ logsOffset?: number;+ };path: {templateID: components["parameters"]["templateID"];buildID: components["parameters"]["buildID"];};- query: {- /** Index of the starting build log that should be returned with the template */- logsOffset?: number;- };};responses: {- /** Successfully returned the template */+ /** @description Successfully returned the template */200: {content: {"application/json": components["schemas"]["TemplateBuild"];@@ -262,6 +275,8 @@ export interface paths {};}+export type webhooks = Record<string, never>;+export interface components {schemas: {/**@@ -269,133 +284,135 @@ export interface components {* @description CPU cores for the sandbox*/CPUCount: number;+ Error: {+ /**+ * Format: int32+ * @description Error code+ */+ code: number;+ /** @description Error */+ message: string;+ };/*** Format: int32* @description Memory for the sandbox in MB*/MemoryMB: number;- SandboxMetadata: { [key: string]: string };- /** @description Log entry with timestamp and line */- SandboxLog: {+ NewSandbox: {+ metadata?: components["schemas"]["SandboxMetadata"];+ /** @description Identifier of the required template */+ templateID: string;/**- * Format: date-time- * @description Timestamp of the log entry+ * Format: int32+ * @description Time to live for the sandbox in seconds.+ * @default 15*/- timestamp: string;- /** @description Log line content */- line: string;- };- SandboxLogs: {- /** @description Logs of the sandbox */- logs: components["schemas"]["SandboxLog"][];+ timeout?: number;};- Sandbox: {- /** @description Identifier of the template from which is the sandbox created */- templateID: string;- /** @description Identifier of the sandbox */- sandboxID: string;+ RunningSandbox: {/** @description Alias of the template */alias?: string;/** @description Identifier of the client */clientID: string;- };- RunningSandbox: {- /** @description Identifier of the template from which is the sandbox created */- templateID: string;- /** @description Alias of the template */- alias?: string;+ cpuCount: components["schemas"]["CPUCount"];+ memoryMB: components["schemas"]["MemoryMB"];+ metadata?: components["schemas"]["SandboxMetadata"];/** @description Identifier of the sandbox */sandboxID: string;- /** @description Identifier of the client */- clientID: string;/*** Format: date-time* @description Time when the sandbox was started*/startedAt: string;- cpuCount: components["schemas"]["CPUCount"];- memoryMB: components["schemas"]["MemoryMB"];- metadata?: components["schemas"]["SandboxMetadata"];+ /** @description Identifier of the template from which is the sandbox created */+ templateID: string;};- NewSandbox: {- /** @description Identifier of the required template */+ Sandbox: {+ /** @description Alias of the template */+ alias?: string;+ /** @description Identifier of the client */+ clientID: string;+ /** @description Identifier of the sandbox */+ sandboxID: string;+ /** @description Identifier of the template from which is the sandbox created */templateID: string;+ };+ /** @description Log entry with timestamp and line */+ SandboxLog: {+ /** @description Log line content */+ line: string;/**- * Format: int32- * @description Time to live for the sandbox in seconds.- * @default 15+ * Format: date-time+ * @description Timestamp of the log entry*/- timeout?: number;- metadata?: components["schemas"]["SandboxMetadata"];+ timestamp: string;+ };+ SandboxLogs: {+ /** @description Logs of the sandbox */+ logs: components["schemas"]["SandboxLog"][];+ };+ SandboxMetadata: {+ [key: string]: string;};Template: {- /** @description Identifier of the template */- templateID: string;+ /** @description Aliases of the template */+ aliases?: string[];/** @description Identifier of the last successful build for given template */buildID: string;cpuCount: components["schemas"]["CPUCount"];memoryMB: components["schemas"]["MemoryMB"];/** @description Whether the template is public or only accessible by the team */public: boolean;- /** @description Aliases of the template */- aliases?: string[];- };- TemplateBuildRequest: {- /** @description Alias of the template */- alias?: string;- /** @description Dockerfile for the template */- dockerfile: string;- /** @description Start command to execute in the template after the build */- startCmd?: string;- cpuCount?: components["schemas"]["CPUCount"];- memoryMB?: components["schemas"]["MemoryMB"];+ /** @description Identifier of the template */+ templateID: string;};TemplateBuild: {+ /** @description Identifier of the build */+ buildID: string;/*** @description Build logs* @default []*/logs: string[];- /** @description Identifier of the template */- templateID: string;- /** @description Identifier of the build */- buildID: string;/*** @description Status of the template* @enum {string}*/status: "building" | "ready" | "error";+ /** @description Identifier of the template */+ templateID: string;};- Error: {- /**- * Format: int32- * @description Error code- */- code: number;- /** @description Error */- message: string;+ TemplateBuildRequest: {+ /** @description Alias of the template */+ alias?: string;+ cpuCount?: components["schemas"]["CPUCount"];+ /** @description Dockerfile for the template */+ dockerfile: string;+ memoryMB?: components["schemas"]["MemoryMB"];+ /** @description Start command to execute in the template after the build */+ startCmd?: string;};};responses: {- /** Bad request */+ /** @description Bad request */400: {content: {"application/json": components["schemas"]["Error"];};};- /** Authentication error */+ /** @description Authentication error */401: {content: {"application/json": components["schemas"]["Error"];};};- /** Not found */+ /** @description Not found */404: {content: {"application/json": components["schemas"]["Error"];};};- /** Server error */+ /** @description Server error */500: {content: {"application/json": components["schemas"]["Error"];@@ -403,12 +420,17 @@ export interface components {};};parameters: {- templateID: string;buildID: string;sandboxID: string;+ templateID: string;};+ requestBodies: never;+ headers: never;+ pathItems: never;}-export interface operations {}+export type $defs = Record<string, never>;++export type external = Record<string, never>;-export interface external {}+export type operations = Record<string, never>;diff --git a/packages/js-sdk/src/connectionConfig.ts b/packages/js-sdk/src/connectionConfig.tsindex e9e3ffa02..bd2083ddc 100644--- a/packages/js-sdk/src/connectionConfig.ts+++ b/packages/js-sdk/src/connectionConfig.ts@@ -1,11 +1,11 @@-import { AuthenticationError } from './sandbox/errors'-const DOMAIN = process?.env?.E2B_DOMAIN || 'e2b.dev'const DEBUG = (process?.env?.E2B_DEBUG || 'false').toLowerCase() === 'true'const API_KEY = process?.env?.E2B_API_KEY+const ACCESS_TOKEN = process?.env?.E2B_ACCESS_TOKENexport interface ConnectionOpts {apiKey?: string+ accessToken?: stringdomain?: stringdebug?: booleanrequestTimeoutMs?: number@@ -15,28 +15,19 @@ export class ConnectionConfig {readonly debug: booleanreadonly domain: stringreadonly apiUrl: string+readonly requestTimeoutMs?: number- private readonly _apiKey?: string+ readonly apiKey?: string+ readonly accessToken?: stringconstructor(opts?: ConnectionOpts) {- this._apiKey = opts?.apiKey || API_KEY+ this.apiKey = opts?.apiKey || API_KEYthis.debug = opts?.debug || DEBUGthis.domain = opts?.domain || DOMAIN+ this.accessToken = opts?.accessToken || ACCESS_TOKENthis.requestTimeoutMs = opts?.requestTimeoutMsthis.apiUrl = this.debug ? 'http://localhost:3000' : `https://api.${this.domain}`}-- get apiKey() {- if (!this._apiKey) {- throw new AuthenticationError(- 'API key is required, please visit https://e2b.dev/docs to get your API key. ' +- 'You can either set the environment variable `E2B_API_KEY` ' +- "or you can pass it directly to the sandbox like Sandbox.create({ apiKey: 'e2b_...' })",- )- }-- return this._apiKey- }}diff --git a/packages/js-sdk/src/envd/api.ts b/packages/js-sdk/src/envd/api.tsnew file mode 100644index 000000000..e2b6c394d--- /dev/null+++ b/packages/js-sdk/src/envd/api.ts@@ -0,0 +1,21 @@+import createClient from 'openapi-fetch'++import type { components, paths } from './schema.gen'+import { ConnectionConfig } from '../connectionConfig'++class EnvdApiClient {+ private readonly client: ReturnType<typeof createClient<paths>>++ constructor(config: Pick<ConnectionConfig, 'apiUrl'>) {+ this.client = createClient<paths>({+ baseUrl: config.apiUrl,+ })+ }++ get api() {+ return this.client+ }+}++export type { components, paths }+export { EnvdApiClient }diff --git a/packages/js-sdk/src/envd/schema.gen.ts b/packages/js-sdk/src/envd/schema.gen.tsnew file mode 100644index 000000000..ebdafe2d9--- /dev/null+++ b/packages/js-sdk/src/envd/schema.gen.ts@@ -0,0 +1,132 @@+/**+ * This file was auto-generated by openapi-typescript.+ * Do not make direct changes to the file.+ */+++export interface paths {+ "/files/{path}": {+ /** Download a file */+ get: {+ parameters: {+ path: {+ path: components["parameters"]["FilePath"];+ };+ };+ responses: {+ 200: components["responses"]["DownloadSuccess"];+ 400: components["responses"]["DirectoryPathError"];+ 500: components["responses"]["InternalServerError"];+ };+ };+ /** Upload a file and ensure the parent directories exist. If the file exists, it will be overwritten. */+ put: {+ parameters: {+ query?: {+ User?: components["parameters"]["User"];+ Mode?: components["parameters"]["Mode"];+ };+ path: {+ path: components["parameters"]["FilePath"];+ };+ };+ requestBody: components["requestBodies"]["File"];+ responses: {+ 200: components["responses"]["ExistingFileUploadSuccess"];+ 201: components["responses"]["NewFileUploadSuccess"];+ 400: components["responses"]["DirectoryPathError"];+ 500: components["responses"]["InternalServerError"];+ };+ };+ };+ "/host/sync": {+ /** Ensure the time and metadata is synced with the host */+ post: {+ responses: {+ /** @description The time and metadata is synced with the host */+ 204: {+ content: never;+ };+ 500: components["responses"]["InternalServerError"];+ };+ };+ };+}++export type webhooks = Record<string, never>;++export interface components {+ schemas: {+ Error: {+ /** @description Error code */+ code: number;+ /** @description Error message */+ message: string;+ };+ };+ responses: {+ /** @description Bad Request - The specified path is a directory. */+ DirectoryPathError: {+ content: {+ "application/json": components["schemas"]["Error"];+ };+ };+ /** @description Entire file downloaded successfully. */+ DownloadSuccess: {+ headers: {+ "Cache-Control"?: string;+ };+ content: {+ "application/octet-stream": string;+ };+ };+ /** @description The file was updated successfully. */+ ExistingFileUploadSuccess: {+ headers: {+ "Cache-Control"?: string;+ };+ content: never;+ };+ /** @description Internal server error */+ InternalServerError: {+ content: {+ "application/json": components["schemas"]["Error"];+ };+ };+ /** @description The file was created successfully. */+ NewFileUploadSuccess: {+ headers: {+ "Cache-Control"?: string;+ /** @description The URL of the uploaded file */+ Location?: string;+ };+ content: never;+ };+ };+ parameters: {+ /** @description Absolute path to the file, URL encoded. */+ FilePath: string;+ /** @description File permissions in octal format (e.g., 0755) */+ Mode?: string;+ /** @description User owning the file */+ User?: string;+ };+ requestBodies: {+ File: {+ content: {+ "multipart/form-data": {+ /** Format: binary */+ file?: string;+ };+ };+ };+ };+ headers: never;+ pathItems: never;+}++export type $defs = Record<string, never>;++export type external = Record<string, never>;++export type operations = Record<string, never>;diff --git a/packages/js-sdk/src/index.ts b/packages/js-sdk/src/index.tsindex f639c8bc4..d9019e329 100644--- a/packages/js-sdk/src/index.ts+++ b/packages/js-sdk/src/index.ts@@ -1,20 +1,35 @@-export { APIClient, withAPIKey, withAccessToken } from './api'+export {+ ApiClient,+ AuthenticationError,+} from './api'export type { components, paths } from './api'export { ConnectionConfig } from './connectionConfig'export type { ConnectionOpts } from './connectionConfig'-export { AuthenticationError, SandboxError } from './sandbox/errors'--export type { FilesystemEvent, EntryInfo, WatchHandle } from './sandbox/filesystem'+export type {+ FilesystemEvent,+ EntryInfo,+ WatchHandle,+ FileFormat,+} from './sandbox/filesystem'export {EventType,FileType,} from './envd/filesystem/v1/filesystem_pb'-export type { ProcessHandle, ProcessResult, ProcessConfig } from './sandbox/process'+export { ProcessHandle } from './sandbox/process'+export type {+ ProcessResult,+ ProcessConfig,+} from './sandbox/process'++export type {+ StreamInputHandle,+} from './sandbox/terminal'-import { Sandbox } from './sandbox'+import { Sandbox, Logger } from './sandbox'+export { Sandbox, }+export type { Logger }-export { Sandbox }export default Sandboxdiff --git a/packages/js-sdk/src/sandbox/array.ts b/packages/js-sdk/src/sandbox/array.tsdeleted file mode 100644index d727941b0..000000000--- a/packages/js-sdk/src/sandbox/array.ts+++ /dev/null@@ -1,12 +0,0 @@-export function concatUint8Arrays(arrays: Uint8Array[]) {- const length = arrays.reduce((acc, cur) => acc + cur.length, 0)- const result = new Uint8Array(length)- let offset = 0-- for (const array of arrays) {- result.set(array, offset)- offset += array.length- }-- return result-}\ No newline at end of filediff --git a/packages/js-sdk/src/sandbox/errors.ts b/packages/js-sdk/src/sandbox/errors.tsdeleted file mode 100644index 769c153bf..000000000--- a/packages/js-sdk/src/sandbox/errors.ts+++ /dev/null@@ -1,13 +0,0 @@-export class SandboxError extends Error {- constructor(message: any) {- super(message)- this.name = 'SandboxError'- }-}--export class AuthenticationError extends SandboxError {- constructor(message: any) {- super(message)- this.name = 'AuthenticationError'- }-}diff --git a/packages/js-sdk/src/sandbox/filesystem.ts b/packages/js-sdk/src/sandbox/filesystem.tsindex 7d8eb21ba..3ba8f5630 100644--- a/packages/js-sdk/src/sandbox/filesystem.ts+++ b/packages/js-sdk/src/sandbox/filesystem.ts@@ -6,6 +6,7 @@ import {} from '@connectrpc/connect'import { ConnectionOpts } from '../connectionConfig'+import { EnvdApiClient } from '../envd/api'import { FilesystemService } from '../envd/filesystem/v1/filesystem_connect'import {FilesystemEvent as FsFilesystemEvent,@@ -23,12 +24,61 @@ export interface WatchHandle {stop: () => void}+export type FileFormat = 'text' | 'stream' | 'arrayBuffer' | 'blob'++export interface WriteOpts extends Pick<ConnectionOpts, 'requestTimeoutMs'> {+ username?: 'root' | 'user'+ mode?: string+}+// TODO: Resolve cwd and provide sane defaults// TODO: Enable using watch as iterableexport class Filesystem {private readonly service: PromiseClient<typeof FilesystemService> = createPromiseClient(FilesystemService, this.transport)- constructor(private readonly transport: Transport) { }+ constructor(private readonly transport: Transport, private readonly envd: EnvdApiClient) { }++ async read(path: string, format: 'text', opts?: Pick<ConnectionOpts, 'requestTimeoutMs'>): Promise<string>+ async read(path: string, format: 'arrayBuffer', opts?: Pick<ConnectionOpts, 'requestTimeoutMs'>): Promise<ArrayBuffer>+ async read(path: string, format: 'blob', opts?: Pick<ConnectionOpts, 'requestTimeoutMs'>): Promise<Blob>+ async read(path: string, format: 'stream', opts?: Pick<ConnectionOpts, 'requestTimeoutMs'>): Promise<ReadableStream>+ async read(path: string, format: FileFormat = 'text', opts?: Pick<ConnectionOpts, 'requestTimeoutMs'>): Promise<unknown> {+ const response = await this.envd.api.GET('/files/{path}', {+ params: {+ path: {+ path,+ },+ },+ parseAs: format,+ signal: opts?.requestTimeoutMs ? AbortSignal.timeout(opts?.requestTimeoutMs) : undefined,+ })++ return response.data+ }++ async write(path: string, data: string, opts?: WriteOpts): Promise<void>+ async write(path: string, data: ArrayBuffer, opts?: WriteOpts): Promise<void>+ async write(path: string, data: Blob, opts?: WriteOpts): Promise<void>+ async write(path: string, data: ReadableStream, opts?: WriteOpts): Promise<void>+ async write(path: string, data: string | ArrayBuffer | Blob | ReadableStream, opts?: WriteOpts): Promise<void> {+ // TODO: Hnadle the different input types++ await this.envd.api.PUT('/files/{path}', {+ params: {+ path: {+ path,+ },+ query: {+ User: opts?.username ?? 'user',+ Mode: opts?.mode ?? '0755',+ },+ },+ body: {+ file: data,+ },+ signal: opts?.requestTimeoutMs ? AbortSignal.timeout(opts?.requestTimeoutMs) : undefined,+ })+ }async list(path: string, opts?: Pick<ConnectionOpts, 'requestTimeoutMs'>): Promise<EntryInfo[]> {const params: PlainMessage<ListRequest> = {diff --git a/packages/js-sdk/src/sandbox/index.ts b/packages/js-sdk/src/sandbox/index.tsindex a52b688af..ff39936c7 100644--- a/packages/js-sdk/src/sandbox/index.ts+++ b/packages/js-sdk/src/sandbox/index.ts@@ -1,63 +1,153 @@-import { SandboxApi } from './sandboxApi'-import { Logger } from './logger'-import { SandboxFiles } from './sandboxFiles'-import { ConnectionOpts, ConnectionConfig } from '../connectionConfig'import { createConnectTransport } from '@connectrpc/connect-web'++import { ConnectionOpts, ConnectionConfig } from '../connectionConfig'import { Filesystem } from './filesystem'import { Process } from './process'+import { EnvdApiClient } from '../envd/api'+import { ApiClient } from '../api'+import { Terminal } from './terminal'++export interface Logger {+ debug?: (...args: unknown[]) => void+ info?: (...args: unknown[]) => void+ warn?: (...args: unknown[]) => void+ error?: (...args: unknown[]) => void+}++export interface RunningSandbox {+ sandboxID: string+ templateID: string+ name?: string+ metadata?: Record<string, string>+ startedAt: Date+}export interface SandboxOpts extends ConnectionOpts {- /**- * A dictionary of strings that is stored alongside the running sandbox.- * You can see this metadata when you list running sandboxes.- */metadata?: Record<string, string>logger?: LoggertimeoutMs?: number}-const SANDBOX_SERVER_PORT = 49982---export class Sandbox extends SandboxApi {+export class Sandbox {protected static readonly defaultTemplate = 'base'readonly filesystem: Filesystemreadonly process: Process+ readonly terminal: Terminal- private readonly connectionConfig: ConnectionConfig- private readonly files: SandboxFiles+ protected readonly envdPort = 49982- constructor(readonly sandboxID: string, opts: Omit<SandboxOpts, 'timeoutMs' | 'metadata'> = {}) {- super()+ private readonly connectionConfig: ConnectionConfig+ constructor(readonly sandboxID: string, opts?: Omit<SandboxOpts, 'timeoutMs' | 'metadata'>) {this.connectionConfig = new ConnectionConfig(opts)-- const sandboxServerUrl = `${this.connectionConfig.debug ? 'http' : 'https'}://${this.getHost(SANDBOX_SERVER_PORT)}`-- this.files = new SandboxFiles(sandboxServerUrl)+ const sandboxServerUrl = `${this.connectionConfig.debug ? 'http' : 'https'}://${this.getHost(this.envdPort)}`const rpcTransport = createConnectTransport({ baseUrl: sandboxServerUrl })- this.filesystem = new Filesystem(rpcTransport)+ const envdApiClient = new EnvdApiClient({ apiUrl: sandboxServerUrl })++ this.filesystem = new Filesystem(rpcTransport, envdApiClient)this.process = new Process(rpcTransport)+ this.terminal = new Terminal(rpcTransport)+ }++ get uploadUrl() {+ const host = this.getHost(this.envdPort)+ // TODO: Ensure all user, etc setting are applied here+ // TODO: Ensure envd handles this well+ return `${this.connectionConfig.debug ? 'http' : 'https'}://${host}/upload`}- /**- * Creates a new Sandbox from the specified options.- */static async spawn<S extends typeof Sandbox>(this: S, template = this.defaultTemplate, opts?: SandboxOpts): Promise<InstanceType<S>> {const sandboxID = await this.createSandbox(template, opts)return new this(sandboxID, opts) as InstanceType<S>}- /**- * Connects to an existing Sandbox.- */static async connect<S extends typeof Sandbox>(this: S, sandboxID: string, opts?: Omit<SandboxOpts, 'metadata' | 'timeoutMs'>): Promise<InstanceType<S>> {return new this(sandboxID, opts) as InstanceType<S>}+ static async kill(+ sandboxID: string,+ opts?: ConnectionOpts,+ ): Promise<void> {+ const config = new ConnectionConfig(opts)+ const client = new ApiClient(config)++ // TODO: Ensure the short id/long id works+ // TODO: Check if the errors are thrown properly++ await client.api.DELETE('/sandboxes/{sandboxID}', {+ params: {+ path: {+ sandboxID,+ },+ },+ })+ }++ static async list(opts?: ConnectionOpts): Promise<RunningSandbox[]> {+ const config = new ConnectionConfig(opts)+ const client = new ApiClient(config)++ const res = await client.api.GET('/sandboxes')++ return res.data?.map((sandbox) => ({+ sandboxID: this.getSandboxID(sandbox),+ templateID: sandbox.templateID,+ ...(sandbox.alias && { name: sandbox.alias }),+ ...(sandbox.metadata && { metadata: sandbox.metadata }),+ startedAt: new Date(sandbox.startedAt),+ })) ?? []+ }++ protected static async createSandbox(+ template: string,+ opts?: ConnectionOpts & {+ metadata?: Record<string, string>,+ timeout?: number,+ }): Promise<string> {+ const config = new ConnectionConfig(opts)+ const client = new ApiClient(config)++ const res = await client.api.POST('/sandboxes', {+ body: {+ templateID: template,+ metadata: opts?.metadata,+ timeout: opts?.timeout,+ },+ })++ return this.getSandboxID(res.data!)+ }++ protected static async setTimeout(+ sandboxID: string,+ timeoutMs: number,+ opts?: ConnectionOpts,+ ): Promise<void> {+ const config = new ConnectionConfig(opts)+ const client = new ApiClient(config)++ // TODO: Ensure the short id/long id works++ await client.api.POST('/sandboxes/{sandboxID}/timeout', {+ params: {+ path: {+ sandboxID,+ },+ },+ body: {+ timeout: timeoutMs,+ },+ })+ }++ private static getSandboxID({ sandboxID, clientID }: { sandboxID: string, clientID: string }): string {+ return `${sandboxID}-${clientID}`+ }+getHost(port: number) {if (this.connectionConfig.debug) {return `localhost:${port}`@@ -67,10 +157,10 @@ export class Sandbox extends SandboxApi {}async setTimeout(timeout: number) {- await SandboxApi.setTimeout(this.sandboxID, timeout, this.connectionConfig)+ await Sandbox.setTimeout(this.sandboxID, timeout, this.connectionConfig)}async kill() {- await SandboxApi.kill(this.sandboxID, this.connectionConfig)+ await Sandbox.kill(this.sandboxID, this.connectionConfig)}}diff --git a/packages/js-sdk/src/sandbox/logger.ts b/packages/js-sdk/src/sandbox/logger.tsdeleted file mode 100644index 2e1fed2b7..000000000--- a/packages/js-sdk/src/sandbox/logger.ts+++ /dev/null@@ -1,6 +0,0 @@-export interface Logger {- debug?: (message: string, ...args: unknown[]) => void- info?: (message: string, ...args: unknown[]) => void- warn?: (message: string, ...args: unknown[]) => void- error?: (message: string, ...args: unknown[]) => void-}diff --git a/packages/js-sdk/src/sandbox/path.ts b/packages/js-sdk/src/sandbox/path.tsdeleted file mode 100644index c7e8fde2b..000000000--- a/packages/js-sdk/src/sandbox/path.ts+++ /dev/null@@ -1,45 +0,0 @@-import path from 'path-browserify'--import { Logger } from './logger'--export const resolvePath = (- inputPath: string,- cwd: string | undefined,- logger: Logger,-): string => {- let result: string- if (inputPath.startsWith('./')) {- result = path.posix.join(cwd || '/home/user', inputPath)- if (!cwd) {- logger.warn?.(- `Path starts with './' and cwd isn't set. The path '${inputPath}' will evaluate to '${result}', which may not be what you want.`,- )- }- return result- }-- if (inputPath.startsWith('../')) {- result = path.posix.join(cwd || '/home/user', inputPath)- if (!cwd) {- logger.warn?.(- `Path starts with '../' and cwd isn't set. The path '${inputPath}' will evaluate to '${result}', which may not be what you want.`,- )- }- return result- }- if (inputPath.startsWith('~/')) {- result = path.posix.join(cwd || '/home/user', inputPath.substring(2))- if (!cwd) {- logger.warn?.(- `Path starts with '~/' and cwd isn't set. The path '${inputPath}' will evaluate to '${result}', which may not be what you want.`,- )- }- return result- }-- if (!inputPath.startsWith('/') && cwd) {- return path.posix.join(cwd, inputPath)- }-- return inputPath-}diff --git a/packages/js-sdk/src/sandbox/process.ts b/packages/js-sdk/src/sandbox/process.tsindex c58031b92..07f85783e 100644--- a/packages/js-sdk/src/sandbox/process.ts+++ b/packages/js-sdk/src/sandbox/process.ts@@ -18,22 +18,19 @@ import {StartResponse,UpdateRequest,} from '../envd/process/v1/process_pb'-import { concatUint8Arrays } from './array'-import { createDeferredPromise } from './promise'import { ConnectionOpts } from '../connectionConfig'-export interface ProcessOutput {stdout?: stringstderr?: string}-class ProcessHandle {- private readonly end = createDeferredPromise<{+export class ProcessHandle {+ private readonly end: Promise<{exit: ProcessEvent_EndEvent,stdout: Uint8Array[],stderr: Uint8Array[],- }>()+ }>constructor(readonly pid: number,@@ -44,7 +41,20 @@ class ProcessHandle {private readonly handleStderr?: ((data: string) => void | Promise<void>),private readonly handlePtyData?: ((data: Uint8Array) => void | Promise<void>),) {- this.handleEvents()+ this.end = this.handleEvents()+ }++ private static joinUint8Arrays(arrays: Uint8Array[]) {+ const length = arrays.reduce((acc, cur) => acc + cur.length, 0)+ const result = new Uint8Array(length)+ let offset = 0++ for (const array of arrays) {+ result.set(array, offset)+ offset += array.length+ }++ return result}disconnect() {@@ -52,12 +62,13 @@ class ProcessHandle {}async wait(): Promise<ProcessResult> {- const result = await this.end.promise+ const result = await this.end+return {exitCode: result.exit.exitCode,error: result.exit.error,- stdout: concatUint8Arrays(result.stdout).toString(),- stderr: concatUint8Arrays(result.stderr).toString(),+ stdout: ProcessHandle.joinUint8Arrays(result.stdout).toString(),+ stderr: ProcessHandle.joinUint8Arrays(result.stderr).toString(),}}@@ -70,36 +81,33 @@ class ProcessHandle {const stdout: Uint8Array[] = []const stderr: Uint8Array[] = []- try {- for await (const event of this.events) {- switch (event.event?.event.case) {- case 'data':- switch (event.event.event.value.output.case) {- case 'stdout':- stdout.push(event.event.event.value.output.value)- await this.handleStdout?.(event.event.event.value.output.value.toString())- break- case 'stderr':- stderr.push(event.event.event.value.output.value)- await this.handleStderr?.(event.event.event.value.output.value.toString())- break- case 'pty':- await this.handlePtyData?.(event.event.event.value.output.value)- break- }- break- case 'end':- this.end.resolve({- exit: event.event.event.value,- stdout,- stderr,- })- break- }+ for await (const event of this.events) {+ switch (event.event?.event.case) {+ case 'data':+ switch (event.event.event.value.output.case) {+ case 'stdout':+ stdout.push(event.event.event.value.output.value)+ await this.handleStdout?.(event.event.event.value.output.value.toString())+ break+ case 'stderr':+ stderr.push(event.event.event.value.output.value)+ await this.handleStderr?.(event.event.event.value.output.value.toString())+ break+ case 'pty':+ await this.handlePtyData?.(event.event.event.value.output.value)+ break+ }+ break+ case 'end':+ return {+ exit: event.event.event.value,+ stdout,+ stderr,+ }}- } catch (error) {- this.end.reject(error)}++ throw new Error('Process ended without an end event')}}@@ -127,7 +135,7 @@ export type ProcessConfig = PlainMessage<PsProcessConfig>// TODO: Finish requestTimeoutMs handling in normal API// TODO: Does the abort controller work when we specify the request timeout via connect rpc?export class Process {- private readonly service: PromiseClient<typeof ProcessService> = createPromiseClient(ProcessService, this.transport)+ protected readonly service: PromiseClient<typeof ProcessService> = createPromiseClient(ProcessService, this.transport)constructor(private readonly transport: Transport) { }@@ -146,7 +154,7 @@ export class Process {envs?: Record<string, string>,onStdout?: ((data: string) => void | Promise<void>),onStderr?: ((data: string) => void | Promise<void>),- } & Pick<ConnectionOpts, 'requestTimeoutMs'> = {}+ } & Pick<ConnectionOpts, 'requestTimeoutMs'>): Promise<ProcessHandle> {const params: PlainMessage<StartRequest> = {owner: {diff --git a/packages/js-sdk/src/sandbox/promise.ts b/packages/js-sdk/src/sandbox/promise.tsdeleted file mode 100644index 56884be84..000000000--- a/packages/js-sdk/src/sandbox/promise.ts+++ /dev/null@@ -1,16 +0,0 @@-export function createDeferredPromise<T = void>() {- let resolve: (value: T) => void- let reject: (reason?: unknown) => void- const promise = new Promise<T>((res, rej) => {- resolve = res- reject = rej- })-- return {- promise,- // eslint-disable-next-line @typescript-eslint/no-non-null-assertion- reject: reject!,- // eslint-disable-next-line @typescript-eslint/no-non-null-assertion- resolve: resolve!,- }-}\ No newline at end of filediff --git a/packages/js-sdk/src/sandbox/sandboxApi.ts b/packages/js-sdk/src/sandbox/sandboxApi.tsdeleted file mode 100644index 674ee517c..000000000--- a/packages/js-sdk/src/sandbox/sandboxApi.ts+++ /dev/null@@ -1,102 +0,0 @@-import { APIClient, withAPIKey } from '../api'-import { ConnectionConfig, ConnectionOpts } from '../connectionConfig'--export interface RunningSandbox {- sandboxID: string- templateID: string- name?: string- metadata?: Record<string, string>- startedAt: Date-}--export class SandboxApi {- static async kill(- sandboxID: string,- opts?: ConnectionOpts,- ): Promise<void> {- const config = new ConnectionConfig(opts)-- // TODO: Ensure the short id/long id works with kill-- const client = new APIClient(config)- const killSandbox = withAPIKey(- client.api.path('/sandboxes/{sandboxID}').method('delete').create(),- )-- await killSandbox(config.apiKey, { sandboxID }, {- signal: config.requestTimeoutMs ? AbortSignal.timeout(config.requestTimeoutMs) : undefined,- })- }-- static async list(opts?: ConnectionOpts): Promise<RunningSandbox[]> {- const config = new ConnectionConfig(opts)-- const client = new APIClient(config)-- const listSandboxes = withAPIKey(- client.api.path('/sandboxes').method('get').create(),- )-- const res = await listSandboxes(config.apiKey, {}, {- signal: config.requestTimeoutMs ? AbortSignal.timeout(config.requestTimeoutMs) : undefined,- })-- return res.data.map((sandbox) => ({- sandboxID: this.getSandboxID(sandbox),- templateID: sandbox.templateID,- ...(sandbox.alias && { name: sandbox.alias }),- ...(sandbox.metadata && { metadata: sandbox.metadata }),- startedAt: new Date(sandbox.startedAt),- }))- }-- protected static async createSandbox(- template: string,- opts?: ConnectionOpts & {- metadata?: Record<string, string>,- timeout?: number,- }): Promise<string> {- const config = new ConnectionConfig(opts)-- const client = new APIClient(config)-- const createSandbox = withAPIKey(- client.api.path('/sandboxes').method('post').create(),- )-- const res = await createSandbox(config.apiKey, {- templateID: template,- metadata: opts?.metadata,- timeout: opts?.timeout,- }, {- signal: config.requestTimeoutMs ? AbortSignal.timeout(config.requestTimeoutMs) : undefined,- })-- return this.getSandboxID(res.data)- }-- protected static async setTimeout(- sandboxID: string,- timeout: number,- opts?: ConnectionOpts,- ): Promise<void> {- const config = new ConnectionConfig(opts)-- const client = new APIClient(config)-- const setSandboxTimeout = withAPIKey(- client.api.path('/sandboxes/{sandboxID}/timeout').method('post').create(),- )-- await setSandboxTimeout(config.apiKey, {- sandboxID,- timeout,- }, {- signal: config.requestTimeoutMs ? AbortSignal.timeout(config.requestTimeoutMs) : undefined,- })- }-- private static getSandboxID({ sandboxID, clientID }: { sandboxID: string, clientID: string }): string {- return `${sandboxID}-${clientID}`- }-}diff --git a/packages/js-sdk/src/sandbox/sandboxFiles.ts b/packages/js-sdk/src/sandbox/sandboxFiles.tsdeleted file mode 100644index ea3e1c3e2..000000000--- a/packages/js-sdk/src/sandbox/sandboxFiles.ts+++ /dev/null@@ -1,90 +0,0 @@--export type DownloadFileFormat =- | 'base64'- | 'blob'- | 'buffer'- | 'arraybuffer'- | 'text'---export class SandboxFiles {- constructor(private readonly file_server_url: string) {-- }-- /**- * URL that can be used to download or upload file to the sandbox via a multipart/form-data POST request.- * This is useful if you're uploading files directly from the browser.- * The file will be uploaded to the user's home directory with the same name.- * If a file with the same name already exists, it will be overwritten.- */- get fileUrl(): string {- // We need to handle the route without any query parameters- }-- /**- * Uploads a file to the sandbox.- * The file will be uploaded to the user's home directory with the same name.- * If a file with the same name already exists, it will be overwritten.- *- * **You can use the {@link Sandbox.fileURL} property and upload file directly via POST multipart/form-data**- *- */- async uploadFile(file: Buffer | Blob, filename: string) {- const body = new FormData()-- const blob =- file instanceof Blob- ? file- : new Blob([file], { type: 'application/octet-stream' })-- body.append('file', blob, filename)-- // TODO: Ensure the this is bound in this function- const response = await fetch(this.fileURL, {- method: 'POST',- body,- })-- if (!response.ok) {- const text = await response.text()- throw new Error(- `Failed to upload file ${response.status} - ${response.statusText}: ${text}`,- )- }-- return `/home/user/${filename}`- }-- /**- * Downloads a file from the sandbox.- * @param remotePath Path to a file on the sandbox- * @param format Format of the downloaded file- * @returns File content- */- async downloadFile(remotePath: string, format?: DownloadFileFormat) {- remotePath = encodeURIComponent(remotePath)-- // TODO: Ensure the this is bound in this function- const response = await fetch(`${this.fileURL}?path=${remotePath}`)- if (!response.ok) {- const text = await response.text()- throw new Error(`Failed to download file '${remotePath}': ${text}`)- }-- switch (format) {- case 'base64':- return Buffer.from(await response.arrayBuffer()).toString('base64')- case 'blob':- return await response.blob()- case 'buffer':- return Buffer.from(await response.arrayBuffer())- case 'arraybuffer':- return await response.arrayBuffer()- case 'text':- return await response.text()- default:- return await response.arrayBuffer()- }- }-}\ No newline at end of filediff --git a/packages/js-sdk/src/sandbox/terminal.ts b/packages/js-sdk/src/sandbox/terminal.tsnew file mode 100644index 000000000..9d6c83986--- /dev/null+++ b/packages/js-sdk/src/sandbox/terminal.ts@@ -0,0 +1,130 @@+import { PlainMessage } from '@bufbuild/protobuf'+import {+ createPromiseClient,+ PromiseClient,+ Transport,+} from '@connectrpc/connect'++import { ProcessService } from '../envd/process/v1/process_connect'+import {+ StreamInputRequest,+ Signal,+ StartRequest,+ StartResponse,+ UpdateRequest,+} from '../envd/process/v1/process_pb'+import { ConnectionOpts } from '../connectionConfig'+import { ProcessHandle } from './process'++export interface StreamInputHandle {+ stop: () => void+}++export class Terminal {+ private readonly service: PromiseClient<typeof ProcessService> = createPromiseClient(ProcessService, this.transport)++ constructor(private readonly transport: Transport) { }++ async start({ cols, rows, onData }: {+ cols: number,+ rows: number,+ onData: (data: Uint8Array) => void | Promise<void>,+ }, opts?: Pick<ConnectionOpts, 'requestTimeoutMs'>): Promise<ProcessHandle> {+ const params: PlainMessage<StartRequest> = {+ owner: {+ credential: {+ case: 'username',+ value: 'user',+ },+ },+ process: {+ cmd: '/bin/bash',+ envs: {},+ args: ['-i', '-l'],+ },+ pty: {+ size: {+ cols,+ rows,+ },+ },+ }++ const controller = new AbortController()++ const events = this.service.start(params, {+ timeoutMs: opts?.requestTimeoutMs,+ signal: controller.signal,+ })++ const startEvent: StartResponse = (await events[Symbol.asyncIterator]().next()).value++ if (startEvent.event?.event.case !== 'start') {+ throw new Error('Expected start event')+ }++ const pid = startEvent.event.event.value.pid++ return new ProcessHandle(+ pid,+ () => controller.abort(),+ () => this.kill(pid),+ events,+ undefined,+ undefined,+ onData,+ )+ }++ async streamInput(params: AsyncIterable<PlainMessage<StreamInputRequest>>, opts?: Pick<ConnectionOpts, 'requestTimeoutMs'>): Promise<StreamInputHandle> {+ const controller = new AbortController()++ this.service.streamInput(params, {+ signal: controller.signal,+ timeoutMs: opts?.requestTimeoutMs,+ })++ return {+ stop: () => controller.abort(),+ }+ }++ async resize(+ pid: number,+ size: {+ cols: number,+ rows: number,+ },+ opts?: Pick<ConnectionOpts, 'requestTimeoutMs'>,+ ): Promise<void> {+ const params: PlainMessage<UpdateRequest> = {+ process: {+ selector: {+ case: 'pid',+ value: pid,+ }+ },+ pty: {+ size,+ },+ }++ await this.service.update(params, {+ timeoutMs: opts?.requestTimeoutMs,+ })+ }++ async kill(pid: number, opts?: Pick<ConnectionOpts, 'requestTimeoutMs'>): Promise<void> {+ await this.service.sendSignal({+ process: {+ selector: {+ case: 'pid',+ value: pid,+ }+ },+ signal: Signal.SIGKILL,+ }, {+ timeoutMs: opts?.requestTimeoutMs,+ })+ }+}diff --git a/packages/python-sdk/e2b/sandbox/exceptions.py b/packages/python-sdk/e2b/sandbox/exceptions.pyindex e7b8429cf..478f3e6f8 100644--- a/packages/python-sdk/e2b/sandbox/exceptions.py+++ b/packages/python-sdk/e2b/sandbox/exceptions.py@@ -1,6 +1,2 @@-class SandboxException(Exception):- pass---class AuthenticationException(SandboxException):+class AuthenticationException(Exception):passdiff --git a/packages/python-sdk/e2b/sandbox/path.py b/packages/python-sdk/e2b/sandbox/path.pydeleted file mode 100644index b301e565e..000000000--- a/packages/python-sdk/e2b/sandbox/path.py+++ /dev/null@@ -1,29 +0,0 @@-import warnings--from pathlib import PurePosixPath-from typing import Optional---def resolve_path(path: str, cwd: Optional[str] = None) -> str:- warning = f"Path starts with {{0}} and cwd isn't set. The path {path} will evaluate to `{{1}}`, which may not be what you want."- if path.startswith("./"):- result = PurePosixPath(cwd or "/home/user", path).as_posix()- if not cwd:- warnings.warn(warning.format("./", result))- return result-- if path.startswith("../"):- result = PurePosixPath(cwd or "/home/user", path).as_posix()- if not cwd:- warnings.warn(warning.format("../", result))- return result-- if path.startswith("~/"):- result = PurePosixPath("/home/user", path[2:]).as_posix()- warnings.warn(warning.format("~/", result))- return result-- if not path.startswith("/") and cwd:- return PurePosixPath(cwd, path).as_posix()-- return pathdiff --git a/pnpm-lock.yaml b/pnpm-lock.yamlindex decd703af..91c3b2461 100644--- a/pnpm-lock.yaml+++ b/pnpm-lock.yaml@@ -98,7 +98,7 @@ importers:version: 8.10.0autoprefixer:specifier: ^10.4.7- version: 10.4.15([email protected])+ version: 10.4.15([email protected])class-variance-authority:specifier: ^0.7.0version: 0.7.0@@ -198,13 +198,13 @@ importers:version: 2.0.0'@stylistic/eslint-plugin-ts':specifier: ^1.6.2- version: 1.6.2([email protected])([email protected])+ version: 1.6.2([email protected])([email protected])'@types/mdx':specifier: ^2.0.8version: 2.0.8eslint-config-next:specifier: 13.4.19- version: 13.4.19([email protected])([email protected])+ version: 13.4.19([email protected])([email protected])knip:specifier: ^2.25.2version: 2.25.2@@ -316,82 +316,54 @@ importers:packages/js-sdk:dependencies:'@bufbuild/protobuf':- specifier: ^1.9.0- version: 1.9.0+ specifier: ^1.10.0+ version: 1.10.0'@connectrpc/connect':specifier: ^1.4.0- version: 1.4.0(@bufbuild/[email protected])+ version: 1.4.0(@bufbuild/[email protected])'@connectrpc/connect-web':specifier: ^1.4.0- version: 1.4.0(@bufbuild/[email protected])(@connectrpc/[email protected])- isomorphic-ws:- specifier: ^5.0.0- version: 5.0.0([email protected])- normalize-path:- specifier: ^3.0.0- version: 3.0.0- openapi-typescript-fetch:- specifier: ^1.1.3- version: 1.1.3- path-browserify:- specifier: ^1.0.1- version: 1.0.1+ version: 1.4.0(@bufbuild/[email protected])(@connectrpc/[email protected])+ openapi-fetch:+ specifier: ^0.9.7+ version: 0.9.7platform:specifier: ^1.3.6version: 1.3.6- ws:- specifier: ^8.15.1- version: 8.15.1([email protected])([email protected])- optionalDependencies:- bufferutil:- specifier: ^4.0.8- version: 4.0.8- utf-8-validate:- specifier: ^6.0.3- version: 6.0.3devDependencies:'@types/node':specifier: ^18.18.6version: 18.18.6- '@types/normalize-path':- specifier: ^3.0.0- version: 3.0.1- '@types/path-browserify':- specifier: ^1.0.1- version: 1.0.1'@types/platform':- specifier: ^1.3.4- version: 1.3.5- '@types/ws':- specifier: ^8.5.10- version: 8.5.10+ specifier: ^1.3.6+ version: 1.3.6'@typescript-eslint/eslint-plugin':- specifier: ^6.8.0+ specifier: ^7.11.0'@typescript-eslint/parser':- specifier: ^6.8.0- version: 6.8.0([email protected])([email protected])+ specifier: ^7.11.0+ version: 7.11.0([email protected])([email protected])dotenv:specifier: ^16.4.5version: 16.4.5knip:- specifier: ^2.34.0- version: 2.35.0+ specifier: ^5.17.3+ version: 5.17.3(@types/[email protected])([email protected])npm-check-updates:- specifier: ^16.14.6- version: 16.14.6+ specifier: ^16.14.20+ version: 16.14.20openapi-typescript:- specifier: ^5.4.1- version: 5.4.1+ specifier: ^6.7.6+ version: 6.7.6tsup:- specifier: ^6.7.0- version: 6.7.0([email protected])+ specifier: ^8.0.2+ version: 8.0.2([email protected])typescript:- specifier: ^5.2.2- version: 5.2.2+ specifier: ^5.4.5+ version: 5.4.5vitest:- specifier: ^0.34.6- version: 0.34.6+ specifier: ^1.6.0+ version: 1.6.0(@types/[email protected])packages/python-sdk: {}@@ -554,8 +526,8 @@ packages:dependencies:regenerator-runtime: 0.14.0- /@bufbuild/[email protected]:- resolution: {integrity: sha512-W7gp8Q/v1NlCZLsv8pQ3Y0uCu/SHgXOVFK+eUluUKWXmsb6VHkpNx0apdOWWcDbB9sJoKeP8uPrjmehJz6xETQ==}+ /@bufbuild/[email protected]:+ resolution: {integrity: sha512-QDdVFLoN93Zjg36NoQPZfsVH9tZew7wKDKyV5qRdj8ntT4wQCOradQjRaTdwMhWUYsgKsvCINKKm87FdEk96Ag==}dev: false/@changesets/[email protected]:@@ -749,22 +721,22 @@ packages:dev: trueoptional: trueresolution: {integrity: sha512-13aO4psFbbm7rdOFGV0De2Za64DY/acMspgloDlcOKzLPPs0yZkhp1OOzAQeiAIr7BM/VOHIA3p8mF0inxCYTA==}peerDependencies:'@bufbuild/protobuf': ^1.4.2'@connectrpc/connect': 1.4.0dependencies:- '@bufbuild/protobuf': 1.9.0- '@connectrpc/connect': 1.4.0(@bufbuild/[email protected])+ '@bufbuild/protobuf': 1.10.0+ '@connectrpc/connect': 1.4.0(@bufbuild/[email protected])dev: false- /@connectrpc/[email protected](@bufbuild/[email protected]):+ /@connectrpc/[email protected](@bufbuild/[email protected]):resolution: {integrity: sha512-vZeOkKaAjyV4+RH3+rJZIfDFJAfr+7fyYr6sLDKbYX3uuTVszhFe9/YKf5DNqrDb5cKdKVlYkGn6DTDqMitAnA==}peerDependencies:'@bufbuild/protobuf': ^1.4.2dependencies:- '@bufbuild/protobuf': 1.9.0+ '@bufbuild/protobuf': 1.10.0dev: false/@emotion/[email protected]:@@ -806,11 +778,20 @@ packages:unescape-js: 1.1.4dev: true- /@esbuild/[email protected]:- resolution: {integrity: sha512-KBMWvEZooR7+kzY0BtbTQn0OAYY7CsiydT63pVEaPtVYF0hXbUaOyZog37DKxK7NF3XacBJOpYT4adIJh+avxA==}+ /@esbuild/[email protected]:+ resolution: {integrity: sha512-bmoCYyWdEL3wDQIVbcyzRyeKLgk2WtWLTWz1ZIAZF/EGbNOwSA6ew3PftJ1PqMiOOGu0OyFMzG53L0zqIpPeNA==}engines: {node: '>=12'}- cpu: [arm64]- os: [android]+ cpu: [ppc64]+ os: [aix]+ requiresBuild: true+ dev: true+ optional: true++ /@esbuild/[email protected]:+ resolution: {integrity: sha512-D+EBOJHXdNZcLJRBkhENNG8Wji2kgc9AZ9KiPr1JuZjsNtyHzrsfLRrY0tk2H2aoFu6RANO1y1iPPUCDYWkb5g==}+ engines: {node: '>=12'}+ cpu: [ppc64]+ os: [aix]requiresBuild: truedev: trueoptional: true@@ -824,10 +805,19 @@ packages:dev: trueoptional: true- /@esbuild/[email protected]:- resolution: {integrity: sha512-rIKddzqhmav7MSmoFCmDIb6e2W57geRsM94gV2l38fzhXMwq7hZoClug9USI2pFRGL06f4IOPHHpFNOkWieR8A==}+ /@esbuild/[email protected]:+ resolution: {integrity: sha512-P0UVNGIienjZv3f5zq0DP3Nt2IE/3plFzuaS96vihvD0Hd6H/q4WXUGpCxD/E8YrSXfNyRPbpTq+T8ZQioSuPA==}engines: {node: '>=12'}- cpu: [arm]+ cpu: [arm64]+ os: [android]+ requiresBuild: true+ dev: true+ optional: true++ /@esbuild/[email protected]:+ resolution: {integrity: sha512-mRzjLacRtl/tWU0SvD8lUEwb61yP9cqQo6noDZP/O8VkwafSYwZ4yWy24kan8jE/IMERpYncRt2dw438LP3Xmg==}+ engines: {node: '>=12'}+ cpu: [arm64]os: [android]requiresBuild: truedev: true@@ -842,10 +832,19 @@ packages:dev: trueoptional: true- /@esbuild/[email protected]:- resolution: {integrity: sha512-uUTTc4xGNDT7YSArp/zbtmbhO0uEEK9/ETW29Wk1thYUJBz3IVnvgEiEwEa9IeLyvnpKrWK64Utw2bgUmDveww==}+ /@esbuild/[email protected]:+ resolution: {integrity: sha512-qg/Lj1mu3CdQlDEEiWrlC4eaPZ1KztwGJ9B6J+/6G+/4ewxJg7gqj8eVYWvao1bXrqGiW2rsBZFSX3q2lcW05w==}engines: {node: '>=12'}- cpu: [x64]+ cpu: [arm]+ os: [android]+ requiresBuild: true+ dev: true+ optional: true++ /@esbuild/[email protected]:+ resolution: {integrity: sha512-t98Ra6pw2VaDhqNWO2Oph2LXbz/EJcnLmKLGBJwEwXX/JAN83Fym1rU8l0JUWK6HkIbWONCSSatf4sf2NBRx/w==}+ engines: {node: '>=12'}+ cpu: [arm]os: [android]requiresBuild: truedev: true@@ -860,11 +859,20 @@ packages:dev: trueoptional: true- /@esbuild/[email protected]:- resolution: {integrity: sha512-80wEoCfF/hFKM6WE1FyBHc9SfUblloAWx6FJkFWTWiCoht9Mc0ARGEM47e67W9rI09YoUxJL68WHfDRYEAvOhg==}+ /@esbuild/[email protected]:+ resolution: {integrity: sha512-3k7ZoUW6Q6YqhdhIaq/WZ7HwBpnFBlW905Fa4s4qWJyiNOgT1dOqDiVAQFwBH7gBRZr17gLrlFCRzF6jFh7Kew==}engines: {node: '>=12'}- cpu: [arm64]- os: [darwin]+ cpu: [x64]+ os: [android]+ requiresBuild: true+ dev: true+ optional: true++ /@esbuild/[email protected]:+ resolution: {integrity: sha512-btzExgV+/lMGDDa194CcUQm53ncxzeBrWJcncOBxuC6ndBkKxnHdFJn86mCIgTELsooUmwUm9FkhSp5HYu00Rg==}+ engines: {node: '>=12'}+ cpu: [x64]+ os: [android]requiresBuild: truedev: trueoptional: true@@ -878,10 +886,19 @@ packages:dev: trueoptional: true- /@esbuild/[email protected]:- resolution: {integrity: sha512-IJM4JJsLhRYr9xdtLytPLSH9k/oxR3boaUIYiHkAawtwNOXKE8KoU8tMvryogdcT8AU+Bflmh81Xn6Q0vTZbQw==}+ /@esbuild/[email protected]:+ resolution: {integrity: sha512-B6IeSgZgtEzGC42jsI+YYu9Z3HKRxp8ZT3cqhvliEHovq8HSX2YX8lNocDn79gCKJXOSaEot9MVYky7AKjCs8g==}engines: {node: '>=12'}- cpu: [x64]+ cpu: [arm64]+ os: [darwin]+ requiresBuild: true+ dev: true+ optional: true++ /@esbuild/[email protected]:+ resolution: {integrity: sha512-4J6IRT+10J3aJH3l1yzEg9y3wkTDgDk7TSDFX+wKFiWjqWp/iCfLIYzGyasx9l0SAFPT1HwSCR+0w/h1ES/MjA==}+ engines: {node: '>=12'}+ cpu: [arm64]os: [darwin]requiresBuild: truedev: true@@ -896,11 +913,20 @@ packages:dev: trueoptional: true- /@esbuild/[email protected]:- resolution: {integrity: sha512-pBwbc7DufluUeGdjSU5Si+P3SoMF5DQ/F/UmTSb8HXO80ZEAJmrykPyzo1IfNbAoaqw48YRpv8shwd1NoI0jcQ==}+ /@esbuild/[email protected]:+ resolution: {integrity: sha512-hKoVkKzFiToTgn+41qGhsUJXFlIjxI/jSYeZf3ugemDYZldIXIxhvwN6erJGlX4t5h417iFuheZ7l+YVn05N3A==}engines: {node: '>=12'}- cpu: [arm64]- os: [freebsd]+ cpu: [x64]+ os: [darwin]+ requiresBuild: true+ dev: true+ optional: true++ /@esbuild/[email protected]:+ resolution: {integrity: sha512-tBcXp9KNphnNH0dfhv8KYkZhjc+H3XBkF5DKtswJblV7KlT9EI2+jeA8DgBjp908WEuYll6pF+UStUCfEpdysA==}+ engines: {node: '>=12'}+ cpu: [x64]+ os: [darwin]requiresBuild: truedev: trueoptional: true@@ -914,10 +940,19 @@ packages:dev: trueoptional: true- /@esbuild/[email protected]:- resolution: {integrity: sha512-4lu+n8Wk0XlajEhbEffdy2xy53dpR06SlzvhGByyg36qJw6Kpfk7cp45DR/62aPH9mtJRmIyrXAS5UWBrJT6TQ==}+ /@esbuild/[email protected]:+ resolution: {integrity: sha512-4aRvFIXmwAcDBw9AueDQ2YnGmz5L6obe5kmPT8Vd+/+x/JMVKCgdcRwH6APrbpNXsPz+K653Qg8HB/oXvXVukA==}engines: {node: '>=12'}- cpu: [x64]+ cpu: [arm64]+ os: [freebsd]+ requiresBuild: true+ dev: true+ optional: true++ /@esbuild/[email protected]:+ resolution: {integrity: sha512-d3qI41G4SuLiCGCFGUrKsSeTXyWG6yem1KcGZVS+3FYlYhtNoNgYrWcvkOoaqMhwXSMrZRl69ArHsGJ9mYdbbw==}+ engines: {node: '>=12'}+ cpu: [arm64]os: [freebsd]requiresBuild: truedev: true@@ -932,11 +967,20 @@ packages:dev: trueoptional: true- /@esbuild/[email protected]:- resolution: {integrity: sha512-ct1Tg3WGwd3P+oZYqic+YZF4snNl2bsnMKRkb3ozHmnM0dGWuxcPTTntAF6bOP0Sp4x0PjSF+4uHQ1xvxfRKqg==}+ /@esbuild/[email protected]:+ resolution: {integrity: sha512-EYoXZ4d8xtBoVN7CEwWY2IN4ho76xjYXqSXMNccFSx2lgqOG/1TBPW0yPx1bJZk94qu3tX0fycJeeQsKovA8gg==}engines: {node: '>=12'}- cpu: [arm64]- os: [linux]+ cpu: [x64]+ os: [freebsd]+ requiresBuild: true+ dev: true+ optional: true++ /@esbuild/[email protected]:+ resolution: {integrity: sha512-d+DipyvHRuqEeM5zDivKV1KuXn9WeRX6vqSqIDgwIfPQtwMP4jaDsQsDncjTDDsExT4lR/91OLjRo8bmC1e+Cw==}+ engines: {node: '>=12'}+ cpu: [x64]+ os: [freebsd]requiresBuild: truedev: trueoptional: true@@ -950,10 +994,19 @@ packages:dev: trueoptional: true- /@esbuild/[email protected]:- resolution: {integrity: sha512-cdmT3KxjlOQ/gZ2cjfrQOtmhG4HJs6hhvm3mWSRDPtZ/lP5oe8FWceS10JaSJC13GBd4eH/haHnqf7hhGNLerA==}+ /@esbuild/[email protected]:+ resolution: {integrity: sha512-EoTjyYyLuVPfdPLsGVVVC8a0p1BFFvtpQDB/YLEhaXyf/5bczaGeN15QkR+O4S5LeJ92Tqotve7i1jn35qwvdA==}engines: {node: '>=12'}- cpu: [arm]+ cpu: [arm64]+ os: [linux]+ requiresBuild: true+ dev: true+ optional: true++ /@esbuild/[email protected]:+ resolution: {integrity: sha512-9pb6rBjGvTFNira2FLIWqDk/uaf42sSyLE8j1rnUpuzsODBq7FvpwHYZxQ/It/8b+QOS1RYfqgGFNLRI+qlq2A==}+ engines: {node: '>=12'}+ cpu: [arm64]os: [linux]requiresBuild: truedev: true@@ -968,10 +1021,19 @@ packages:dev: trueoptional: true- /@esbuild/[email protected]:- resolution: {integrity: sha512-w4IRhSy1VbsNxHRQpeGCHEmibqdTUx61Vc38APcsRbuVgK0OPEnQ0YD39Brymn96mOx48Y2laBQGqgZ0j9w6SQ==}+ /@esbuild/[email protected]:+ resolution: {integrity: sha512-J5jPms//KhSNv+LO1S1TX1UWp1ucM6N6XuL6ITdKWElCu8wXP72l9MM0zDTzzeikVyqFE6U8YAV9/tFyj0ti+w==}engines: {node: '>=12'}- cpu: [ia32]+ cpu: [arm]+ os: [linux]+ requiresBuild: true+ dev: true+ optional: true++ /@esbuild/[email protected]:+ resolution: {integrity: sha512-VhLPeR8HTMPccbuWWcEUD1Az68TqaTYyj6nfE4QByZIQEQVWBB8vup8PpR7y1QHL3CpcF6xd5WVBU/+SBEvGTg==}+ engines: {node: '>=12'}+ cpu: [arm]os: [linux]requiresBuild: truedev: true@@ -986,10 +1048,19 @@ packages:dev: trueoptional: true- /@esbuild/[email protected]:- resolution: {integrity: sha512-2iAngUbBPMq439a+z//gE+9WBldoMp1s5GWsUSgqHLzLJ9WoZLZhpwWuym0u0u/4XmZ3gpHmzV84PonE+9IIdQ==}+ /@esbuild/[email protected]:+ resolution: {integrity: sha512-Thsa42rrP1+UIGaWz47uydHSBOgTUnwBwNq59khgIwktK6x60Hivfbux9iNR0eHCHzOLjLMLfUMLCypBkZXMHA==}engines: {node: '>=12'}- cpu: [loong64]+ cpu: [ia32]+ os: [linux]+ requiresBuild: true+ dev: true+ optional: true++ /@esbuild/[email protected]:+ resolution: {integrity: sha512-o10utieEkNPFDZFQm9CoP7Tvb33UutoJqg3qKf1PWVeeJhJw0Q347PxMvBgVVFgouYLGIhFYG0UGdBumROyiig==}+ engines: {node: '>=12'}+ cpu: [ia32]os: [linux]requiresBuild: truedev: true@@ -1004,10 +1075,19 @@ packages:dev: trueoptional: true- /@esbuild/[email protected]:- resolution: {integrity: sha512-LKJltc4LVdMKHsrFe4MGNPp0hqDFA1Wpt3jE1gEyM3nKUvOiO//9PheZZHfYRfYl6AwdTH4aTcXSqBerX0ml4A==}+ /@esbuild/[email protected]:+ resolution: {integrity: sha512-LiXdXA0s3IqRRjm6rV6XaWATScKAXjI4R4LoDlvO7+yQqFdlr1Bax62sRwkVvRIrwXxvtYEHHI4dm50jAXkuAA==}engines: {node: '>=12'}- cpu: [mips64el]+ cpu: [loong64]+ os: [linux]+ requiresBuild: true+ dev: true+ optional: true++ /@esbuild/[email protected]:+ resolution: {integrity: sha512-PR7sp6R/UC4CFVomVINKJ80pMFlfDfMQMYynX7t1tNTeivQ6XdX5r2XovMmha/VjR1YN/HgHWsVcTRIMkymrgQ==}+ engines: {node: '>=12'}+ cpu: [loong64]os: [linux]requiresBuild: truedev: true@@ -1022,10 +1102,19 @@ packages:dev: trueoptional: true- /@esbuild/[email protected]:- resolution: {integrity: sha512-/c/DGybs95WXNS8y3Ti/ytqETiW7EU44MEKuCAcpPto3YjQbyK3IQVKfF6nbghD7EcLUGl0NbiL5Rt5DMhn5tg==}+ /@esbuild/[email protected]:+ resolution: {integrity: sha512-fEnAuj5VGTanfJ07ff0gOA6IPsvrVHLVb6Lyd1g2/ed67oU1eFzL0r9WL7ZzscD+/N6i3dWumGE1Un4f7Amf+w==}engines: {node: '>=12'}- cpu: [ppc64]+ cpu: [mips64el]+ os: [linux]+ requiresBuild: true+ dev: true+ optional: true++ /@esbuild/[email protected]:+ resolution: {integrity: sha512-4BlTqeutE/KnOiTG5Y6Sb/Hw6hsBOZapOVF6njAESHInhlQAghVVZL1ZpIctBOoTFbQyGW+LsVYZ8lSSB3wkjA==}+ engines: {node: '>=12'}+ cpu: [mips64el]os: [linux]requiresBuild: truedev: true@@ -1040,10 +1129,19 @@ packages:dev: trueoptional: true- /@esbuild/[email protected]:- resolution: {integrity: sha512-FC3nUAWhvFoutlhAkgHf8f5HwFWUL6bYdvLc/TTuxKlvLi3+pPzdZiFKSWz/PF30TB1K19SuCxDTI5KcqASJqA==}+ /@esbuild/[email protected]:+ resolution: {integrity: sha512-nYJA2/QPimDQOh1rKWedNOe3Gfc8PabU7HT3iXWtNUbRzXS9+vgB0Fjaqr//XNbd82mCxHzik2qotuI89cfixg==}engines: {node: '>=12'}- cpu: [riscv64]+ cpu: [ppc64]+ os: [linux]+ requiresBuild: true+ dev: true+ optional: true++ /@esbuild/[email protected]:+ resolution: {integrity: sha512-rD3KsaDprDcfajSKdn25ooz5J5/fWBylaaXkuotBDGnMnDP1Uv5DLAN/45qfnf3JDYyJv/ytGHQaziHUdyzaAg==}+ engines: {node: '>=12'}+ cpu: [ppc64]os: [linux]requiresBuild: truedev: true@@ -1058,10 +1156,19 @@ packages:dev: trueoptional: true- /@esbuild/[email protected]:- resolution: {integrity: sha512-IbFsFbxMWLuKEbH+7sTkKzL6NJmG2vRyy6K7JJo55w+8xDk7RElYn6xvXtDW8HCfoKBFK69f3pgBJSUSQPr+4Q==}+ /@esbuild/[email protected]:+ resolution: {integrity: sha512-2MueBrlPQCw5dVJJpQdUYgeqIzDQgw3QtiAHUC4RBz9FXPrskyyU3VI1hw7C0BSKB9OduwSJ79FTCqtGMWqJHg==}engines: {node: '>=12'}- cpu: [s390x]+ cpu: [riscv64]+ os: [linux]+ requiresBuild: true+ dev: true+ optional: true++ /@esbuild/[email protected]:+ resolution: {integrity: sha512-snwmBKacKmwTMmhLlz/3aH1Q9T8v45bKYGE3j26TsaOVtjIag4wLfWSiZykXzXuE1kbCE+zJRmwp+ZbIHinnVg==}+ engines: {node: '>=12'}+ cpu: [riscv64]os: [linux]requiresBuild: truedev: true@@ -1076,10 +1183,19 @@ packages:dev: trueoptional: true- /@esbuild/[email protected]:- resolution: {integrity: sha512-68ngA9lg2H6zkZcyp22tsVt38mlhWde8l3eJLWkyLrp4HwMUr3c1s/M2t7+kHIhvMjglIBrFpncX1SzMckomGw==}+ /@esbuild/[email protected]:+ resolution: {integrity: sha512-+Pil1Nv3Umes4m3AZKqA2anfhJiVmNCYkPchwFJNEJN5QxmTs1uzyy4TvmDrCRNT2ApwSari7ZIgrPeUx4UZDg==}engines: {node: '>=12'}- cpu: [x64]+ cpu: [s390x]+ os: [linux]+ requiresBuild: true+ dev: true+ optional: true++ /@esbuild/[email protected]:+ resolution: {integrity: sha512-wcWISOobRWNm3cezm5HOZcYz1sKoHLd8VL1dl309DiixxVFoFe/o8HnwuIwn6sXre88Nwj+VwZUvJf4AFxkyrQ==}+ engines: {node: '>=12'}+ cpu: [s390x]os: [linux]requiresBuild: truedev: true@@ -1094,11 +1210,20 @@ packages:dev: trueoptional: true- /@esbuild/[email protected]:- resolution: {integrity: sha512-CwFq42rXCR8TYIjIfpXCbRX0rp1jo6cPIUPSaWwzbVI4aOfX96OXY8M6KNmtPcg7QjYeDmN+DD0Wp3LaBOLf4Q==}+ /@esbuild/[email protected]:+ resolution: {integrity: sha512-B71g1QpxfwBvNrfyJdVDexenDIt1CiDN1TIXLbhOw0KhJzE78KIFGX6OJ9MrtC0oOqMWf+0xop4qEU8JrJTwCg==}engines: {node: '>=12'}cpu: [x64]- os: [netbsd]+ os: [linux]+ requiresBuild: true+ dev: true+ optional: true++ /@esbuild/[email protected]:+ resolution: {integrity: sha512-1MdwI6OOTsfQfek8sLwgyjOXAu+wKhLEoaOLTjbijk6E2WONYpH9ZU2mNtR+lZ2B4uwr+usqGuVfFT9tMtGvGw==}+ engines: {node: '>=12'}+ cpu: [x64]+ os: [linux]requiresBuild: truedev: trueoptional: true@@ -1112,11 +1237,20 @@ packages:dev: trueoptional: true- /@esbuild/[email protected]:- resolution: {integrity: sha512-cnq5brJYrSZ2CF6c35eCmviIN3k3RczmHz8eYaVlNasVqsNY+JKohZU5MKmaOI+KkllCdzOKKdPs762VCPC20g==}+ /@esbuild/[email protected]:+ resolution: {integrity: sha512-3ltjQ7n1owJgFbuC61Oj++XhtzmymoCihNFgT84UAmJnxJfm4sYCiSLTXZtE00VWYpPMYc+ZQmB6xbSdVh0JWA==}engines: {node: '>=12'}cpu: [x64]- os: [openbsd]+ os: [netbsd]+ requiresBuild: true+ dev: true+ optional: true++ /@esbuild/[email protected]:+ resolution: {integrity: sha512-K8/DhBxcVQkzYc43yJXDSyjlFeHQJBiowJ0uVL6Tor3jGQfSGHNNJcWxNbOI8v5k82prYqzPuwkzHt3J1T1iZQ==}+ engines: {node: '>=12'}+ cpu: [x64]+ os: [netbsd]requiresBuild: truedev: trueoptional: true@@ -1130,11 +1264,20 @@ packages:dev: trueoptional: true- /@esbuild/[email protected]:- resolution: {integrity: sha512-vCRT7yP3zX+bKWFeP/zdS6SqdWB8OIpaRq/mbXQxTGHnIxspRtigpkUcDMlSCOejlHowLqII7K2JKevwyRP2rg==}+ /@esbuild/[email protected]:+ resolution: {integrity: sha512-RbrfTB9SWsr0kWmb9srfF+L933uMDdu9BIzdA7os2t0TXhCRjrQyCeOt6wVxr79CKD4c+p+YhCj31HBkYcXebw==}engines: {node: '>=12'}cpu: [x64]- os: [sunos]+ os: [openbsd]+ requiresBuild: true+ dev: true+ optional: true++ /@esbuild/[email protected]:+ resolution: {integrity: sha512-eMpKlV0SThJmmJgiVyN9jTPJ2VBPquf6Kt/nAoo6DgHAoN57K15ZghiHaMvqjCye/uU4X5u3YSMgVBI1h3vKrQ==}+ engines: {node: '>=12'}+ cpu: [x64]+ os: [openbsd]requiresBuild: truedev: trueoptional: true@@ -1148,11 +1291,20 @@ packages:dev: trueoptional: true- /@esbuild/[email protected]:- resolution: {integrity: sha512-yYx+8jwowUstVdorcMdNlzklLYhPxjniHWFKgRqH7IFlUEa0Umu3KuYplf1HUZZ422e3NU9F4LGb+4O0Kdcaag==}+ /@esbuild/[email protected]:+ resolution: {integrity: sha512-HKjJwRrW8uWtCQnQOz9qcU3mUZhTUQvi56Q8DPTLLB+DawoiQdjsYq+j+D3s9I8VFtDr+F9CjgXKKC4ss89IeA==}engines: {node: '>=12'}- cpu: [arm64]- os: [win32]+ cpu: [x64]+ os: [sunos]+ requiresBuild: true+ dev: true+ optional: true++ /@esbuild/[email protected]:+ resolution: {integrity: sha512-2UyFtRC6cXLyejf/YEld4Hajo7UHILetzE1vsRcGL3earZEW77JxrFjH4Ez2qaTiEfMgAXxfAZCm1fvM/G/o8w==}+ engines: {node: '>=12'}+ cpu: [x64]+ os: [sunos]requiresBuild: truedev: trueoptional: true@@ -1166,10 +1318,19 @@ packages:dev: trueoptional: true- /@esbuild/[email protected]:- resolution: {integrity: sha512-eggDKanJszUtCdlVs0RB+h35wNlb5v4TWEkq4vZcmVt5u/HiDZrTXe2bWFQUez3RgNHwx/x4sk5++4NSSicKkw==}+ /@esbuild/[email protected]:+ resolution: {integrity: sha512-URgtR1dJnmGvX864pn1B2YUYNzjmXkuJOIqG2HdU62MVS4EHpU2946OZoTMnRUHklGtJdJZ33QfzdjGACXhn1A==}engines: {node: '>=12'}- cpu: [ia32]+ cpu: [arm64]+ os: [win32]+ requiresBuild: true+ dev: true+ optional: true++ /@esbuild/[email protected]:+ resolution: {integrity: sha512-GRibxoawM9ZCnDxnP3usoUDO9vUkpAxIIZ6GQI+IlVmr5kP3zUq+l17xELTHMWTWzjxa2guPNyrpq1GWmPvcGQ==}+ engines: {node: '>=12'}+ cpu: [arm64]os: [win32]requiresBuild: truedev: true@@ -1184,10 +1345,19 @@ packages:dev: trueoptional: true- /@esbuild/[email protected]:- resolution: {integrity: sha512-lAhycmKnVOuRYNtRtatQR1LPQf2oYCkRGkSFnseDAKPl8lu5SOsK/e1sXe5a0Pc5kHIHe6P2I/ilntNv2xf3cA==}+ /@esbuild/[email protected]:+ resolution: {integrity: sha512-+ZOE6pUkMOJfmxmBZElNOx72NKpIa/HFOMGzu8fqzQJ5kgf6aTGrcJaFsNiVMH4JKpMipyK+7k0n2UXN7a8YKQ==}engines: {node: '>=12'}- cpu: [x64]+ cpu: [ia32]+ os: [win32]+ requiresBuild: true+ dev: true+ optional: true++ /@esbuild/[email protected]:+ resolution: {integrity: sha512-HfLOfn9YWmkSKRQqovpnITazdtquEW8/SoHW7pWpuEeguaZI4QnCRW6b+oZTztdBnZOS2hqJ6im/D5cPzBTTlQ==}+ engines: {node: '>=12'}+ cpu: [ia32]os: [win32]requiresBuild: truedev: true@@ -1202,6 +1372,24 @@ packages:dev: trueoptional: true+ /@esbuild/[email protected]:+ resolution: {integrity: sha512-T1QyPSDCyMXaO3pzBkF96E8xMkiRYbUEZADd29SyPGabqxMViNoii+NcK7eWJAEoU6RZyEm5lVSIjTmcdoB9HA==}+ engines: {node: '>=12'}+ cpu: [x64]+ os: [win32]+ requiresBuild: true+ dev: true+ optional: true++ /@esbuild/[email protected]:+ resolution: {integrity: sha512-N49X4lJX27+l9jbLKSqZ6bKNjzQvHaT8IIFUy+YIqmXQdjYCToGWwOItDrfby14c78aDd5NHQl29xingXfCdLQ==}+ engines: {node: '>=12'}+ cpu: [x64]+ os: [win32]+ requiresBuild: true+ dev: true+ optional: true+/@eslint-community/[email protected]([email protected]):resolution: {integrity: sha512-1/sA4dwrzBAyeUoQ6oxahHKmrZvsnLCg4RfxW3ZFGGmQkSNQPFNLV9CUEFQP1x9EYXHTo5p6xdhZM1Ne9p/AfA==}engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}@@ -1212,6 +1400,21 @@ packages:eslint-visitor-keys: 3.4.3dev: true+ /@eslint-community/[email protected]([email protected]):+ resolution: {integrity: sha512-1/sA4dwrzBAyeUoQ6oxahHKmrZvsnLCg4RfxW3ZFGGmQkSNQPFNLV9CUEFQP1x9EYXHTo5p6xdhZM1Ne9p/AfA==}+ engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}+ peerDependencies:+ eslint: ^6.0.0 || ^7.0.0 || >=8.0.0+ dependencies:+ eslint: 8.57.0+ eslint-visitor-keys: 3.4.3+ dev: true++ /@eslint-community/[email protected]:+ resolution: {integrity: sha512-Cu96Sd2By9mCNTx2iyKOmq10v22jUVQv0lQnlGNy16oE9589yE+QADPbrMGCkA51cKZSg3Pu/aTJVTGfL/qjUA==}+ engines: {node: ^12.0.0 || ^14.0.0 || >=16.0.0}+ dev: true+/@eslint-community/[email protected]:resolution: {integrity: sha512-PWiOzLIUAjN/w5K17PoF4n6sKBw0gqLHPhywmYHP4t1VFQQVYeb1yWsJwnMVEMl3tUHME7X/SJPZLmtG7XBDxQ==}engines: {node: ^12.0.0 || ^14.0.0 || >=16.0.0}@@ -1234,11 +1437,33 @@ packages:- supports-colordev: true+ /@eslint/[email protected]:+ resolution: {integrity: sha512-269Z39MS6wVJtsoUl10L60WdkhJVdPG24Q4eZTH3nnF6lpvSShEK3wQjDX9JRWAUPvPh7COouPpU9IrqaZFvtQ==}+ engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}+ dependencies:+ ajv: 6.12.6+ debug: 4.3.4+ espree: 9.6.1+ globals: 13.21.0+ ignore: 5.3.1+ import-fresh: 3.3.0+ js-yaml: 4.1.0+ minimatch: 3.1.2+ strip-json-comments: 3.1.1+ transitivePeerDependencies:+ - supports-color+ dev: true+/@eslint/[email protected]:resolution: {integrity: sha512-1S8uAY/MTJqVx0SC4epBq+N2yhuwtNwLbJYNZyhL2pO1ZVKn5HFXav5T41Ryzy9K9V7ZId2JB2oy/W4aCd9/2w==}engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}dev: true+ /@eslint/[email protected]:+ resolution: {integrity: sha512-Ys+3g2TaW7gADOJzPt83SJtCDhMjndcDMFVQ/Tj9iA1BfJzFKD9mAUXT3OenpuPHbI6P/myECxRJrofUsDx/5g==}+ engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}+ dev: true+/@fastify/[email protected]:resolution: {integrity: sha512-JUFJad5lv7jxj926GPgymrWQxxjPYuJNiNjNMzqT+HiuP6Vl3dk5xzG+8sTX96np0ZAluvaMzPsjhHZ5rNuNQQ==}engines: {node: '>=14'}@@ -1304,6 +1529,17 @@ packages:- supports-colordev: true+ /@humanwhocodes/[email protected]:+ resolution: {integrity: sha512-3T8LkOmg45BV5FICb15QQMsyUSWrQ8AygVfC7ZG32zOalnqrilm018ZVCw0eapXux8FtA33q8PSRSstjee3jSg==}+ engines: {node: '>=10.10.0'}+ dependencies:+ '@humanwhocodes/object-schema': 2.0.3+ debug: 4.3.4+ minimatch: 3.1.2+ transitivePeerDependencies:+ - supports-color+ dev: true+/@humanwhocodes/[email protected]:resolution: {integrity: sha512-bxveV4V8v5Yb4ncFTT3rPSgZBOpCkjfK0y4oVVVJwIuDVBRMDXrPyXRL988i5ap9m9bnyEEjWfm5WkBmtffLfA==}engines: {node: '>=12.22'}@@ -1313,6 +1549,10 @@ packages:resolution: {integrity: sha512-ZnQMnLV4e7hDlUvw8H+U8ASL02SS2Gn6+9Ac3wGGLIe7+je2AeAOxPY+izIPJDfFDb7eDjev0Us8MO1iFRN8hA==}dev: true+ /@humanwhocodes/[email protected]:+ resolution: {integrity: sha512-93zYdMES/c1D69yZiKDBj0V24vqNzB/koF26KPaagAfd3P/4gUlh3Dys5ogAK+Exi9QyzlD8x/08Zt7wIKcDcA==}+ dev: true+/@iarna/[email protected]:resolution: {integrity: sha512-trnsAYxU3xnS1gPHPyU961coFyLkh4gAD/0zQ5mymY4yOZ+CYvsPqUbOFSw0aDM4y0tV7tiFxL/1XfXPNC6IPg==}dev: false@@ -2345,6 +2585,134 @@ packages:rollup: 2.78.0dev: false+ /@rollup/[email protected]:+ resolution: {integrity: sha512-Tya6xypR10giZV1XzxmH5wr25VcZSncG0pZIjfePT0OVBvqNEurzValetGNarVrGiq66EBVAFn15iYX4w6FKgQ==}+ cpu: [arm]+ os: [android]+ requiresBuild: true+ dev: true+ optional: true++ /@rollup/[email protected]:+ resolution: {integrity: sha512-avCea0RAP03lTsDhEyfy+hpfr85KfyTctMADqHVhLAF3MlIkq83CP8UfAHUssgXTYd+6er6PaAhx/QGv4L1EiA==}+ cpu: [arm64]+ os: [android]+ requiresBuild: true+ dev: true+ optional: true++ /@rollup/[email protected]:+ resolution: {integrity: sha512-IWfdwU7KDSm07Ty0PuA/W2JYoZ4iTj3TUQjkVsO/6U+4I1jN5lcR71ZEvRh52sDOERdnNhhHU57UITXz5jC1/w==}+ cpu: [arm64]+ os: [darwin]+ requiresBuild: true+ dev: true+ optional: true++ /@rollup/[email protected]:+ resolution: {integrity: sha512-n2LMsUz7Ynu7DoQrSQkBf8iNrjOGyPLrdSg802vk6XT3FtsgX6JbE8IHRvposskFm9SNxzkLYGSq9QdpLYpRNA==}+ cpu: [x64]+ os: [darwin]+ requiresBuild: true+ dev: true+ optional: true++ /@rollup/[email protected]:+ resolution: {integrity: sha512-C/zbRYRXFjWvz9Z4haRxcTdnkPt1BtCkz+7RtBSuNmKzMzp3ZxdM28Mpccn6pt28/UWUCTXa+b0Mx1k3g6NOMA==}+ cpu: [arm]+ os: [linux]+ requiresBuild: true+ dev: true+ optional: true++ /@rollup/[email protected]:+ resolution: {integrity: sha512-l3m9ewPgjQSXrUMHg93vt0hYCGnrMOcUpTz6FLtbwljo2HluS4zTXFy2571YQbisTnfTKPZ01u/ukJdQTLGh9A==}+ cpu: [arm]+ os: [linux]+ requiresBuild: true+ dev: true+ optional: true++ /@rollup/[email protected]:+ resolution: {integrity: sha512-rJ5D47d8WD7J+7STKdCUAgmQk49xuFrRi9pZkWoRD1UeSMakbcepWXPF8ycChBoAqs1pb2wzvbY6Q33WmN2ftw==}+ cpu: [arm64]+ os: [linux]+ requiresBuild: true+ dev: true+ optional: true++ /@rollup/[email protected]:+ resolution: {integrity: sha512-be6Yx37b24ZwxQ+wOQXXLZqpq4jTckJhtGlWGZs68TgdKXJgw54lUUoFYrg6Zs/kjzAQwEwYbp8JxZVzZLRepQ==}+ cpu: [arm64]+ os: [linux]+ requiresBuild: true+ dev: true+ optional: true++ /@rollup/[email protected]:+ resolution: {integrity: sha512-hNVMQK+qrA9Todu9+wqrXOHxFiD5YmdEi3paj6vP02Kx1hjd2LLYR2eaN7DsEshg09+9uzWi2W18MJDlG0cxJA==}+ cpu: [ppc64]+ os: [linux]+ requiresBuild: true+ dev: true+ optional: true++ /@rollup/[email protected]:+ resolution: {integrity: sha512-ROCM7i+m1NfdrsmvwSzoxp9HFtmKGHEqu5NNDiZWQtXLA8S5HBCkVvKAxJ8U+CVctHwV2Gb5VUaK7UAkzhDjlg==}+ cpu: [riscv64]+ os: [linux]+ requiresBuild: true+ dev: true+ optional: true++ /@rollup/[email protected]:+ resolution: {integrity: sha512-0UyyRHyDN42QL+NbqevXIIUnKA47A+45WyasO+y2bGJ1mhQrfrtXUpTxCOrfxCR4esV3/RLYyucGVPiUsO8xjg==}+ cpu: [s390x]+ os: [linux]+ requiresBuild: true+ dev: true+ optional: true++ /@rollup/[email protected]:+ resolution: {integrity: sha512-xuglR2rBVHA5UsI8h8UbX4VJ470PtGCf5Vpswh7p2ukaqBGFTnsfzxUBetoWBWymHMxbIG0Cmx7Y9qDZzr648w==}+ cpu: [x64]+ os: [linux]+ requiresBuild: true+ dev: true+ optional: true++ /@rollup/[email protected]:+ resolution: {integrity: sha512-LKaqQL9osY/ir2geuLVvRRs+utWUNilzdE90TpyoX0eNqPzWjRm14oMEE+YLve4k/NAqCdPkGYDaDF5Sw+xBfg==}+ cpu: [x64]+ os: [linux]+ requiresBuild: true+ dev: true+ optional: true++ /@rollup/[email protected]:+ resolution: {integrity: sha512-7J6TkZQFGo9qBKH0pk2cEVSRhJbL6MtfWxth7Y5YmZs57Pi+4x6c2dStAUvaQkHQLnEQv1jzBUW43GvZW8OFqA==}+ cpu: [arm64]+ os: [win32]+ requiresBuild: true+ dev: true+ optional: true++ /@rollup/[email protected]:+ resolution: {integrity: sha512-Txjh+IxBPbkUB9+SXZMpv+b/vnTEtFyfWZgJ6iyCmt2tdx0OF5WhFowLmnh8ENGNpfUlUZkdI//4IEmhwPieNg==}+ cpu: [ia32]+ os: [win32]+ requiresBuild: true+ dev: true+ optional: true++ /@rollup/[email protected]:+ resolution: {integrity: sha512-UOo5FdvOL0+eIVTgS4tIdbW+TtnBLWg1YBCcU2KWM7nuNwRz9bksDX1bekJJCpu25N1DVWaCwnT39dVQxzqS8g==}+ cpu: [x64]+ os: [win32]+ requiresBuild: true+ dev: true+ optional: true+/@rushstack/[email protected]:resolution: {integrity: sha512-cEjvTPU32OM9lUFegJagO0mRnIn+rbqrG89vV8/xLnLFX0DoR0r1oy5IlTga71Q7uT3Qus7qm7wgeiMT/+Irlg==}dev: true@@ -2588,7 +2956,7 @@ packages:resolution: {integrity: sha512-Gfkvwk9o9kE9r9XNBmJRfV8zONvXThnm1tcuojL04Uy5uRyqg93DC83lDebl0rocZCfKSjUv+fWYtMQmEDJldg==}dev: false- /@stylistic/[email protected]([email protected]):+ /@stylistic/[email protected]([email protected]):resolution: {integrity: sha512-ndT6X2KgWGxv8101pdMOxL8pihlYIHcOv3ICd70cgaJ9exwkPn8hJj4YQwslxoAlre1TFHnXd/G1/hYXgDrjIA==}engines: {node: ^16.0.0 || >=18.0.0}peerDependencies:@@ -2597,21 +2965,21 @@ packages:'@types/eslint': 8.56.2acorn: 8.11.3escape-string-regexp: 4.0.0- eslint: 8.49.0+ eslint: 8.57.0eslint-visitor-keys: 3.4.3espree: 9.6.1dev: trueresolution: {integrity: sha512-FizV58em0OjO/xFHRIy/LJJVqzxCNmYC/xVtKDf8aGDRgZpLo+lkaBKfBrbMkAGzhBKbYj+iLEFI4WEl6aVZGQ==}engines: {node: ^16.0.0 || >=18.0.0}peerDependencies:eslint: '>=8.40.0'dependencies:- '@stylistic/eslint-plugin-js': 1.6.2([email protected])+ '@stylistic/eslint-plugin-js': 1.6.2([email protected])'@types/eslint': 8.56.2- '@typescript-eslint/utils': 6.21.0([email protected])([email protected])- eslint: 8.49.0+ '@typescript-eslint/utils': 6.21.0([email protected])([email protected])+ eslint: 8.57.0transitivePeerDependencies:- supports-color- typescript@@ -2843,16 +3211,6 @@ packages:'@types/estree': 1.0.1dev: false- /@types/[email protected]:- resolution: {integrity: sha512-CCWNXrJYSUIojZ1149ksLl3AN9cmZ5djf+yUoVVV+NuYrtydItQVlL2ZDqyC6M6O9LWRnVf8yYDxbXHO2TfQZg==}- dependencies:- '@types/chai': 4.3.9- dev: true-- /@types/[email protected]:- resolution: {integrity: sha512-69TtiDzu0bcmKQv3yg1Zx409/Kd7r0b5F1PfpYJfSHzLGtB53547V4u+9iqKYsTu/O2ai6KTb0TInNpvuQ3qmg==}- dev: true-/@types/[email protected]:resolution: {integrity: sha512-PpbaE2XWLaWYboXD6k70TcXO/OdOyyRFq5TVpmlUELNxdkkmXU9fkImNosmXU1DtsNrqdUgWd/nJQYXgwmtdXQ==}dev: true@@ -2871,7 +3229,7 @@ packages:resolution: {integrity: sha512-JNvhIEyxVW6EoMIFIvj93ZOywYFatlpu9deeH6eSx6PE3WHYvHaQtmHmQeNw7aA81bYGBPPQqdtBm6b1SsQMmA==}dependencies:'@types/eslint': 8.56.2- '@types/estree': 1.0.1+ '@types/estree': 1.0.5dev: false/@types/[email protected]:@@ -2889,6 +3247,9 @@ packages:/@types/[email protected]:resolution: {integrity: sha512-LG4opVs2ANWZ1TJoKc937iMmNstM/d0ae1vNbnBvBhqCSezgVUOzcLCqbI5elV8Vy6WKwKjaqR+zO9VKirBBCA==}+ /@types/[email protected]:+ resolution: {integrity: sha512-/kYRxGDLWzHOB7q+wtSUQlFrtcdUccpfy+X+9iMBpHK8QLLhx2wIPYuS5DYtR9Wa/YlZAbIovy7qVdB1Aq6Lyw==}+/@types/[email protected]:resolution: {integrity: sha512-47rJE80oqPmFdVDCD7IheXBrVdwuBgsYwoczFvKmwfo2Mzsnt+V9OONsYauFmICb6lQPpCuXYJWejBNs4pDJRg==}dependencies:@@ -2963,20 +3324,12 @@ packages:resolution: {integrity: sha512-Gj7cI7z+98M282Tqmp2K5EIsoouUEzbBJhQQzDE3jSIRk6r9gsz0oUokqIUR4u1R3dMHo0pDHM7sNOHyhulypw==}dev: false- /@types/[email protected]:- resolution: {integrity: sha512-zELDXIlrZySwjFjU6HMUfvt0GqQPKSwBOyWgae9Tcsc/hFCkvYavZDXruVHyVasN2pCxnluh2S4rA0iuer7Z2g==}- dev: true-- /@types/[email protected]:- resolution: {integrity: sha512-rUSqIy7fAfK6sRasdFCukWO4S77pXcTxViURlLdo1VKuekTDS8ASMdX1LA0TFlbzT3fZgFlgQTCrqmJBuTHpxA==}- dev: true-/@types/[email protected]:resolution: {integrity: sha512-g2/8Ogi2zfiS25jdGT5iDSo5yjruhhXaOuOJCkOxMW28w16VxFvjtAXjBNRo7WlRS4+UXAMj3mK46UwieNM/5g==}dev: false- /@types/[email protected]:- resolution: {integrity: sha512-PdpJUHGRTQ+4TSsRb0Z/VpLbB2OlpVdcwj5PLw721ogPufKkvQhMpuxmTrD5QaXVTLes5q6He0YweKKIV/iu0A==}+ /@types/[email protected]:+ resolution: {integrity: sha512-ZmSaqHuvzv+jC232cFoz2QqPUkaj6EvMmCrWcx3WRr7xTPVFCMUOTcOq8m2d+Zw1iKRc1kDiaA+jtNrV0hkVew==}dev: true/@types/[email protected]:@@ -3025,6 +3378,10 @@ packages:resolution: {integrity: sha512-5cJ8CB4yAx7BH1oMvdU0Jh9lrEXyPkar6F9G/ERswkCuvP4KQZfZkSjcMbAICCpQTN4OuZn8tz0HiKv9TGZgrQ==}dev: false+ /@types/[email protected]:+ resolution: {integrity: sha512-T+YwkslhsM+CeuhYUxyAjWm7mJ5am/K10UX40RuA6k6Lc7eGtq8iY2xOzy7Vq0GOqhl/xZl5l2FwURZMTPTUww==}+ dev: true+/@types/[email protected]:resolution: {integrity: sha512-7aqorHYgdNO4DM36stTiGO3DvKoex9TQRwsJU6vMaFGyqpBA1MNZkz+PG3gaNUPpTAOYhT1WR7M1JyA3fbS9Cw==}@@ -3051,12 +3408,6 @@ packages:'@types/node': 18.18.6dev: false- /@types/[email protected]:- resolution: {integrity: sha512-vmQSUcfalpIq0R9q7uTo2lXs6eGIpt9wtnLdMv9LVpIjCA/+ufZRozlVoVelIYixx1ugCBKDhn89vnsEGOCx9A==}- dependencies:- '@types/node': 18.18.6- dev: true-/@typescript-eslint/[email protected](@typescript-eslint/[email protected])([email protected])([email protected]):resolution: {integrity: sha512-ooaHxlmSgZTM6CHYAFRlifqh1OAr3PAQEwi7lhYhaegbnXrnh7CDcHmc3+ihhbQC7H0i4JF0psI5ehzkF6Yl6Q==}engines: {node: ^16.0.0 || >=18.0.0}@@ -3086,36 +3437,34 @@ packages:- supports-colordev: true- /@typescript-eslint/[email protected](@typescript-eslint/[email protected])([email protected])([email protected]):- resolution: {integrity: sha512-GosF4238Tkes2SHPQ1i8f6rMtG6zlKwMEB0abqSJ3Npvos+doIlc/ATG+vX1G9coDF3Ex78zM3heXHLyWEwLUw==}- engines: {node: ^16.0.0 || >=18.0.0}+ /@typescript-eslint/[email protected](@typescript-eslint/[email protected])([email protected])([email protected]):+ resolution: {integrity: sha512-P+qEahbgeHW4JQ/87FuItjBj8O3MYv5gELDzr8QaQ7fsll1gSMTYb6j87MYyxwf3DtD7uGFB9ShwgmCJB5KmaQ==}+ engines: {node: ^18.18.0 || >=20.0.0}peerDependencies:- '@typescript-eslint/parser': ^6.0.0 || ^6.0.0-alpha- eslint: ^7.0.0 || ^8.0.0+ '@typescript-eslint/parser': ^7.0.0+ eslint: ^8.56.0typescript: '*'peerDependenciesMeta:typescript:optional: truedependencies:- '@eslint-community/regexpp': 4.8.1- '@typescript-eslint/parser': 6.8.0([email protected])([email protected])- '@typescript-eslint/scope-manager': 6.8.0- '@typescript-eslint/type-utils': 6.8.0([email protected])([email protected])- '@typescript-eslint/utils': 6.8.0([email protected])([email protected])- '@typescript-eslint/visitor-keys': 6.8.0- debug: 4.3.4- eslint: 8.49.0+ '@eslint-community/regexpp': 4.10.0+ '@typescript-eslint/parser': 7.11.0([email protected])([email protected])+ '@typescript-eslint/scope-manager': 7.11.0+ '@typescript-eslint/type-utils': 7.11.0([email protected])([email protected])+ '@typescript-eslint/utils': 7.11.0([email protected])([email protected])+ '@typescript-eslint/visitor-keys': 7.11.0+ eslint: 8.57.0graphemer: 1.4.0- ignore: 5.2.4+ ignore: 5.3.1natural-compare: 1.4.0- semver: 7.5.4- ts-api-utils: 1.0.3([email protected])- typescript: 5.2.2+ ts-api-utils: 1.3.0([email protected])+ typescript: 5.4.5transitivePeerDependencies:- supports-colordev: trueresolution: {integrity: sha512-KA3E4ox0ws+SPyxQf9iSI25R6b4Ne78ORhNHeVKrPQnoYsb9UhieoiRoJgrzgEeKGOXhcY1i8YtOeCHHTDa6Fw==}engines: {node: ^16.0.0 || >=18.0.0}peerDependencies:@@ -3127,16 +3476,16 @@ packages:dependencies:'@typescript-eslint/scope-manager': 6.7.2'@typescript-eslint/types': 6.7.2- '@typescript-eslint/typescript-estree': 6.7.2([email protected])+ '@typescript-eslint/typescript-estree': 6.7.2([email protected])'@typescript-eslint/visitor-keys': 6.7.2debug: 4.3.4eslint: 8.49.0- typescript: 5.1.6+ typescript: 5.4.5transitivePeerDependencies:- supports-colordev: trueresolution: {integrity: sha512-KA3E4ox0ws+SPyxQf9iSI25R6b4Ne78ORhNHeVKrPQnoYsb9UhieoiRoJgrzgEeKGOXhcY1i8YtOeCHHTDa6Fw==}engines: {node: ^16.0.0 || >=18.0.0}peerDependencies:@@ -3148,32 +3497,32 @@ packages:dependencies:'@typescript-eslint/scope-manager': 6.7.2'@typescript-eslint/types': 6.7.2- '@typescript-eslint/typescript-estree': 6.7.2([email protected])+ '@typescript-eslint/typescript-estree': 6.7.2([email protected])'@typescript-eslint/visitor-keys': 6.7.2debug: 4.3.4- eslint: 8.49.0- typescript: 5.4.5+ eslint: 8.57.0+ typescript: 5.1.6transitivePeerDependencies:- supports-colordev: true- resolution: {integrity: sha512-5tNs6Bw0j6BdWuP8Fx+VH4G9fEPDxnVI7yH1IAPkQH5RUtvKwRoqdecAPdQXv4rSOADAaz1LFBZvZG7VbXivSg==}- engines: {node: ^16.0.0 || >=18.0.0}+ resolution: {integrity: sha512-yimw99teuaXVWsBcPO1Ais02kwJ1jmNA1KxE7ng0aT7ndr1pT1wqj0OJnsYVGKKlc4QJai86l/025L6z8CljOg==}+ engines: {node: ^18.18.0 || >=20.0.0}peerDependencies:- eslint: ^7.0.0 || ^8.0.0+ eslint: ^8.56.0typescript: '*'peerDependenciesMeta:typescript:optional: truedependencies:- '@typescript-eslint/scope-manager': 6.8.0- '@typescript-eslint/types': 6.8.0- '@typescript-eslint/typescript-estree': 6.8.0([email protected])- '@typescript-eslint/visitor-keys': 6.8.0+ '@typescript-eslint/scope-manager': 7.11.0+ '@typescript-eslint/types': 7.11.0+ '@typescript-eslint/typescript-estree': 7.11.0([email protected])+ '@typescript-eslint/visitor-keys': 7.11.0debug: 4.3.4- eslint: 8.49.0- typescript: 5.2.2+ eslint: 8.57.0+ typescript: 5.4.5transitivePeerDependencies:- supports-colordev: true@@ -3194,12 +3543,12 @@ packages:'@typescript-eslint/visitor-keys': 6.7.2dev: true- /@typescript-eslint/[email protected]:- resolution: {integrity: sha512-xe0HNBVwCph7rak+ZHcFD6A+q50SMsFwcmfdjs9Kz4qDh5hWhaPhFjRs/SODEhroBI5Ruyvyz9LfwUJ624O40g==}- engines: {node: ^16.0.0 || >=18.0.0}+ /@typescript-eslint/[email protected]:+ resolution: {integrity: sha512-27tGdVEiutD4POirLZX4YzT180vevUURJl4wJGmm6TrQoiYwuxTIY98PBp6L2oN+JQxzE0URvYlzJaBHIekXAw==}+ engines: {node: ^18.18.0 || >=20.0.0}dependencies:- '@typescript-eslint/types': 6.8.0- '@typescript-eslint/visitor-keys': 6.8.0+ '@typescript-eslint/types': 7.11.0+ '@typescript-eslint/visitor-keys': 7.11.0dev: true@@ -3222,22 +3571,22 @@ packages:- supports-colordev: true- resolution: {integrity: sha512-RYOJdlkTJIXW7GSldUIHqc/Hkto8E+fZN96dMIFhuTJcQwdRoGN2rEWA8U6oXbLo0qufH7NPElUb+MceHtz54g==}- engines: {node: ^16.0.0 || >=18.0.0}+ resolution: {integrity: sha512-WmppUEgYy+y1NTseNMJ6mCFxt03/7jTOy08bcg7bxJJdsM4nuhnchyBbE8vryveaJUf62noH7LodPSo5Z0WUCg==}+ engines: {node: ^18.18.0 || >=20.0.0}peerDependencies:- eslint: ^7.0.0 || ^8.0.0+ eslint: ^8.56.0typescript: '*'peerDependenciesMeta:typescript:optional: truedependencies:- '@typescript-eslint/typescript-estree': 6.8.0([email protected])- '@typescript-eslint/utils': 6.8.0([email protected])([email protected])+ '@typescript-eslint/typescript-estree': 7.11.0([email protected])+ '@typescript-eslint/utils': 7.11.0([email protected])([email protected])debug: 4.3.4- eslint: 8.49.0- ts-api-utils: 1.0.3([email protected])- typescript: 5.2.2+ eslint: 8.57.0+ ts-api-utils: 1.3.0([email protected])+ typescript: 5.4.5transitivePeerDependencies:- supports-colordev: true@@ -3252,9 +3601,9 @@ packages:engines: {node: ^16.0.0 || >=18.0.0}dev: true- /@typescript-eslint/[email protected]:- resolution: {integrity: sha512-p5qOxSum7W3k+llc7owEStXlGmSl8FcGvhYt8Vjy7FqEnmkCVlM3P57XQEGj58oqaBWDQXbJDZxwUWMS/EAPNQ==}- engines: {node: ^16.0.0 || >=18.0.0}+ /@typescript-eslint/[email protected]:+ resolution: {integrity: sha512-MPEsDRZTyCiXkD4vd3zywDCifi7tatc4K37KqTprCvaXptP7Xlpdw0NR2hRJTetG5TxbWDB79Ys4kLmHliEo/w==}+ engines: {node: ^18.18.0 || >=20.0.0}dev: true/@typescript-eslint/[email protected]([email protected]):@@ -3321,40 +3670,41 @@ packages:- supports-colordev: true- /@typescript-eslint/[email protected]([email protected]):- resolution: {integrity: sha512-ISgV0lQ8XgW+mvv5My/+iTUdRmGspducmQcDw5JxznasXNnZn3SKNrTRuMsEXv+V/O+Lw9AGcQCfVaOPCAk/Zg==}- engines: {node: ^16.0.0 || >=18.0.0}+ /@typescript-eslint/[email protected]([email protected]):+ resolution: {integrity: sha512-cxkhZ2C/iyi3/6U9EPc5y+a6csqHItndvN/CzbNXTNrsC3/ASoYQZEt9uMaEp+xFNjasqQyszp5TumAVKKvJeQ==}+ engines: {node: ^18.18.0 || >=20.0.0}peerDependencies:typescript: '*'peerDependenciesMeta:typescript:optional: truedependencies:- '@typescript-eslint/types': 6.8.0- '@typescript-eslint/visitor-keys': 6.8.0+ '@typescript-eslint/types': 7.11.0+ '@typescript-eslint/visitor-keys': 7.11.0debug: 4.3.4globby: 11.1.0is-glob: 4.0.3- semver: 7.5.4- ts-api-utils: 1.0.3([email protected])- typescript: 5.2.2+ minimatch: 9.0.4+ semver: 7.6.2+ ts-api-utils: 1.3.0([email protected])+ typescript: 5.4.5transitivePeerDependencies:- supports-colordev: trueresolution: {integrity: sha512-NfWVaC8HP9T8cbKQxHcsJBY5YE1O33+jpMwN45qzWWaPDZgLIbo12toGMWnmhvCpd3sIxkpDw3Wv1B3dYrbDQQ==}engines: {node: ^16.0.0 || >=18.0.0}peerDependencies:eslint: ^7.0.0 || ^8.0.0dependencies:- '@eslint-community/eslint-utils': 4.4.0([email protected])+ '@eslint-community/eslint-utils': 4.4.0([email protected])'@types/json-schema': 7.0.13'@types/semver': 7.5.2'@typescript-eslint/scope-manager': 6.21.0'@typescript-eslint/types': 6.21.0'@typescript-eslint/typescript-estree': 6.21.0([email protected])- eslint: 8.49.0+ eslint: 8.57.0semver: 7.5.4transitivePeerDependencies:- supports-color@@ -3380,20 +3730,17 @@ packages:- typescriptdev: true- resolution: {integrity: sha512-dKs1itdE2qFG4jr0dlYLQVppqTE+Itt7GmIf/vX6CSvsW+3ov8PbWauVKyyfNngokhIO9sKZeRGCUo1+N7U98Q==}- engines: {node: ^16.0.0 || >=18.0.0}+ resolution: {integrity: sha512-xlAWwPleNRHwF37AhrZurOxA1wyXowW4PqVXZVUNCLjB48CqdPJoJWkrpH2nij9Q3Lb7rtWindtoXwxjxlKKCA==}+ engines: {node: ^18.18.0 || >=20.0.0}peerDependencies:- eslint: ^7.0.0 || ^8.0.0+ eslint: ^8.56.0dependencies:- '@eslint-community/eslint-utils': 4.4.0([email protected])- '@types/json-schema': 7.0.13- '@types/semver': 7.5.2- '@typescript-eslint/scope-manager': 6.8.0- '@typescript-eslint/types': 6.8.0- '@typescript-eslint/typescript-estree': 6.8.0([email protected])- eslint: 8.49.0- semver: 7.5.4+ '@eslint-community/eslint-utils': 4.4.0([email protected])+ '@typescript-eslint/scope-manager': 7.11.0+ '@typescript-eslint/types': 7.11.0+ '@typescript-eslint/typescript-estree': 7.11.0([email protected])+ eslint: 8.57.0transitivePeerDependencies:- supports-color- typescript@@ -3415,52 +3762,57 @@ packages:eslint-visitor-keys: 3.4.3dev: true- /@typescript-eslint/[email protected]:- resolution: {integrity: sha512-oqAnbA7c+pgOhW2OhGvxm0t1BULX5peQI/rLsNDpGM78EebV3C9IGbX5HNZabuZ6UQrYveCLjKo8Iy/lLlBkkg==}- engines: {node: ^16.0.0 || >=18.0.0}+ /@typescript-eslint/[email protected]:+ resolution: {integrity: sha512-7syYk4MzjxTEk0g/w3iqtgxnFQspDJfn6QKD36xMuuhTzjcxY7F8EmBLnALjVyaOF1/bVocu3bS/2/F7rXrveQ==}+ engines: {node: ^18.18.0 || >=20.0.0}dependencies:- '@typescript-eslint/types': 6.8.0+ '@typescript-eslint/types': 7.11.0eslint-visitor-keys: 3.4.3dev: true+ /@ungap/[email protected]:+ resolution: {integrity: sha512-zuVdFrMJiuCDQUMCzQaD6KL28MjnqqN8XnAqiEq9PNm/hCPTSGfrXCOfwj1ow4LFb/tNymJPwsNbVePc1xFqrQ==}+ dev: true+/@vercel/[email protected]:resolution: {integrity: sha512-BZFxVrv24VbNNl5xMxqUojQIegEeXMI6rX3rg1uVLYUEXsuKNBSAEQf4BWEcjQDp/8aYJOj6m8V4PUA3x/cxgg==}dev: false- /@vitest/[email protected]:- resolution: {integrity: sha512-QUzKpUQRc1qC7qdGo7rMK3AkETI7w18gTCUrsNnyjjJKYiuUB9+TQK3QnR1unhCnWRC0AbKv2omLGQDF/mIjOw==}+ /@vitest/[email protected]:+ resolution: {integrity: sha512-ixEvFVQjycy/oNgHjqsL6AZCDduC+tflRluaHIzKIsdbzkLn2U/iBnVeJwB6HsIjQBdfMR8Z0tRxKUsvFJEeWQ==}dependencies:- '@vitest/spy': 0.34.6- '@vitest/utils': 0.34.6+ '@vitest/spy': 1.6.0+ '@vitest/utils': 1.6.0chai: 4.3.10dev: true- /@vitest/[email protected]:- resolution: {integrity: sha512-1CUQgtJSLF47NnhN+F9X2ycxUP0kLHQ/JWvNHbeBfwW8CzEGgeskzNnHDyv1ieKTltuR6sdIHV+nmR6kPxQqzQ==}+ /@vitest/[email protected]:+ resolution: {integrity: sha512-P4xgwPjwesuBiHisAVz/LSSZtDjOTPYZVmNAnpHHSR6ONrf8eCJOFRvUwdHn30F5M1fxhqtl7QZQUk2dprIXAg==}dependencies:- '@vitest/utils': 0.34.6- p-limit: 4.0.0+ '@vitest/utils': 1.6.0+ p-limit: 5.0.0pathe: 1.1.1dev: true- /@vitest/[email protected]:- resolution: {integrity: sha512-B3OZqYn6k4VaN011D+ve+AA4whM4QkcwcrwaKwAbyyvS/NB1hCWjFIBQxAQQSQir9/RtyAAGuq+4RJmbn2dH4w==}+ /@vitest/[email protected]:+ resolution: {integrity: sha512-+Hx43f8Chus+DCmygqqfetcAZrDJwvTj0ymqjQq4CvmpKFSTVteEOBzCusu1x2tt4OJcvBflyHUE0DZSLgEMtQ==}dependencies:magic-string: 0.30.5pathe: 1.1.1pretty-format: 29.7.0dev: true- /@vitest/[email protected]:- resolution: {integrity: sha512-xaCvneSaeBw/cz8ySmF7ZwGvL0lBjfvqc1LpQ/vcdHEvpLn3Ff1vAvjw+CoGn0802l++5L/pxb7whwcWAw+DUQ==}+ /@vitest/[email protected]:+ resolution: {integrity: sha512-leUTap6B/cqi/bQkXUu6bQV5TZPx7pmMBKBQiI0rJA8c3pB56ZsaTbREnF7CJfmvAS4V2cXIBAh/3rVwrrCYgw==}dependencies:tinyspy: 2.2.0dev: true- /@vitest/[email protected]:- resolution: {integrity: sha512-IG5aDD8S6zlvloDsnzHw0Ut5xczlF+kv2BOTo+iXfPr54Yhi5qbVOgGB1hZaVq4iJ4C/MZ2J0y15IlsV/ZcI0A==}+ /@vitest/[email protected]:+ resolution: {integrity: sha512-21cPiuGMoMZwiOHa2i4LXkMkMkCGzA+MVFV70jRwHo95dL4x/ts5GZhML1QWuy7yfp3WzK3lRvZi3JnXTYqrBw==}dependencies:diff-sequences: 29.6.3+ estree-walker: 3.0.3loupe: 2.3.7pretty-format: 29.7.0dev: true@@ -3619,8 +3971,8 @@ packages:acorn: 8.11.3dev: true- resolution: {integrity: sha512-k+iyHEuPgSw6SbuDpGQM+06HQUa04DZ3o+F6CSzXMvvI5KMvnaEqXe+YVe555R9nn6GPt404fos4wcgpw12SDA==}+ resolution: {integrity: sha512-cjkyv4OtNCIeqhHrfS81QWXoCBPExR/J62oyEqepVw8WaQeSqpW2uhuLPh1m9eWhDuOo/jUXVTlifvesOWp/4A==}engines: {node: '>=0.4.0'}dev: true@@ -3628,6 +3980,7 @@ packages:resolution: {integrity: sha512-F0SAmZ8iUtS//m8DmCTA0jlh6TDKkHQyK6xc6V4KDTyZKA9dnvX9/3sRTVQrWm79glUAZbnmmNcdYwUIHWVybw==}engines: {node: '>=0.4.0'}hasBin: true+ dev: falseresolution: {integrity: sha512-Y9rRfJG5jcKOE0CLisYbojUjIrIEE7AGMzA/Sm4BslANhbS+cDMpgBdcPT91oJ7OuJ9hYJBx59RjbhxVnrF8Xg==}@@ -3700,7 +4053,6 @@ packages:resolution: {integrity: sha512-/6w/C21Pm1A7aZitlI5Ni/2J6FFQN8i1Cvz3kHABAAbw93v/NlvKdVOqz7CCWz/3iv/JplRSEEZ83XION15ovw==}engines: {node: '>=6'}- dev: falseresolution: {integrity: sha512-gKXj5ALrKWQLsYG9jlTRmR/xKluxHV+Z9QEwNIgCfM1/uwPMCuzVVnh5mwTd+OuBZcwSIMbqssNWRm1lE51QaQ==}@@ -3899,7 +4251,7 @@ packages:has-symbols: 1.0.3dev: trueresolution: {integrity: sha512-KCuPB8ZCIqFdA4HwKXsvz7j6gvSDNhDP7WnUjBleRkKjPdvCmHFuQ77ocavI8FT6NdvlBnE2UFr2H4Mycn8Vew==}engines: {node: ^10 || ^12 || >=14}hasBin: true@@ -3911,7 +4263,7 @@ packages:fraction.js: 4.3.6normalize-range: 0.1.2picocolors: 1.0.0- postcss: 8.4.31+ postcss: 8.4.38postcss-value-parser: 4.2.0dev: false@@ -4081,23 +4433,23 @@ packages:run-applescript: 5.0.0dev: falseresolution: {integrity: sha512-jwzPOChofl67PSTW2SGubV9HBQAhhR2i6nskiOThauo9dzwDUgOWQScFVaJkjEfYX+UXiD+LEx8EblQMc2wIag==}engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0}peerDependencies:esbuild: '>=0.17'dependencies:- esbuild: 0.17.19+ esbuild: 0.18.20load-tsconfig: 0.2.5dev: trueresolution: {integrity: sha512-jwzPOChofl67PSTW2SGubV9HBQAhhR2i6nskiOThauo9dzwDUgOWQScFVaJkjEfYX+UXiD+LEx8EblQMc2wIag==}engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0}peerDependencies:esbuild: '>=0.17'dependencies:- esbuild: 0.18.20+ esbuild: 0.19.12load-tsconfig: 0.2.5dev: true@@ -5070,36 +5422,6 @@ packages:ext: 1.7.0dev: false- resolution: {integrity: sha512-XQ0jAPFkK/u3LcVRcvVHQcTIqD6E2H1fvZMA5dQPSOWb3suUbWbfbRf94pjc0bNzRYLfIrDRQXr7X+LHIm5oHw==}- engines: {node: '>=12'}- hasBin: true- requiresBuild: true- optionalDependencies:- '@esbuild/android-arm': 0.17.19- '@esbuild/android-arm64': 0.17.19- '@esbuild/android-x64': 0.17.19- '@esbuild/darwin-arm64': 0.17.19- '@esbuild/darwin-x64': 0.17.19- '@esbuild/freebsd-arm64': 0.17.19- '@esbuild/freebsd-x64': 0.17.19- '@esbuild/linux-arm': 0.17.19- '@esbuild/linux-arm64': 0.17.19- '@esbuild/linux-ia32': 0.17.19- '@esbuild/linux-loong64': 0.17.19- '@esbuild/linux-mips64el': 0.17.19- '@esbuild/linux-ppc64': 0.17.19- '@esbuild/linux-riscv64': 0.17.19- '@esbuild/linux-s390x': 0.17.19- '@esbuild/linux-x64': 0.17.19- '@esbuild/netbsd-x64': 0.17.19- '@esbuild/openbsd-x64': 0.17.19- '@esbuild/sunos-x64': 0.17.19- '@esbuild/win32-arm64': 0.17.19- '@esbuild/win32-ia32': 0.17.19- '@esbuild/win32-x64': 0.17.19- dev: true-resolution: {integrity: sha512-ceqxoedUrcayh7Y7ZX6NdbbDzGROiyVBgC4PriJThBKSVPWnnFHZAkfI1lJT8QFkOwH4qOS2SJkS4wvpGl8BpA==}engines: {node: '>=12'}@@ -5130,6 +5452,68 @@ packages:'@esbuild/win32-x64': 0.18.20dev: true+ resolution: {integrity: sha512-aARqgq8roFBj054KvQr5f1sFu0D65G+miZRCuJyJ0G13Zwx7vRar5Zhn2tkQNzIXcBrNVsv/8stehpj+GAjgbg==}+ engines: {node: '>=12'}+ hasBin: true+ requiresBuild: true+ optionalDependencies:+ '@esbuild/aix-ppc64': 0.19.12+ '@esbuild/android-arm': 0.19.12+ '@esbuild/android-arm64': 0.19.12+ '@esbuild/android-x64': 0.19.12+ '@esbuild/darwin-arm64': 0.19.12+ '@esbuild/darwin-x64': 0.19.12+ '@esbuild/freebsd-arm64': 0.19.12+ '@esbuild/freebsd-x64': 0.19.12+ '@esbuild/linux-arm': 0.19.12+ '@esbuild/linux-arm64': 0.19.12+ '@esbuild/linux-ia32': 0.19.12+ '@esbuild/linux-loong64': 0.19.12+ '@esbuild/linux-mips64el': 0.19.12+ '@esbuild/linux-ppc64': 0.19.12+ '@esbuild/linux-riscv64': 0.19.12+ '@esbuild/linux-s390x': 0.19.12+ '@esbuild/linux-x64': 0.19.12+ '@esbuild/netbsd-x64': 0.19.12+ '@esbuild/openbsd-x64': 0.19.12+ '@esbuild/sunos-x64': 0.19.12+ '@esbuild/win32-arm64': 0.19.12+ '@esbuild/win32-ia32': 0.19.12+ '@esbuild/win32-x64': 0.19.12+ dev: true++ resolution: {integrity: sha512-WdOOppmUNU+IbZ0PaDiTst80zjnrOkyJNHoKupIcVyU8Lvla3Ugx94VzkQ32Ijqd7UhHJy75gNWDMUekcrSJ6g==}+ engines: {node: '>=12'}+ hasBin: true+ requiresBuild: true+ optionalDependencies:+ '@esbuild/aix-ppc64': 0.20.2+ '@esbuild/android-arm': 0.20.2+ '@esbuild/android-arm64': 0.20.2+ '@esbuild/android-x64': 0.20.2+ '@esbuild/darwin-arm64': 0.20.2+ '@esbuild/darwin-x64': 0.20.2+ '@esbuild/freebsd-arm64': 0.20.2+ '@esbuild/freebsd-x64': 0.20.2+ '@esbuild/linux-arm': 0.20.2+ '@esbuild/linux-arm64': 0.20.2+ '@esbuild/linux-ia32': 0.20.2+ '@esbuild/linux-loong64': 0.20.2+ '@esbuild/linux-mips64el': 0.20.2+ '@esbuild/linux-ppc64': 0.20.2+ '@esbuild/linux-riscv64': 0.20.2+ '@esbuild/linux-s390x': 0.20.2+ '@esbuild/linux-x64': 0.20.2+ '@esbuild/netbsd-x64': 0.20.2+ '@esbuild/openbsd-x64': 0.20.2+ '@esbuild/sunos-x64': 0.20.2+ '@esbuild/win32-arm64': 0.20.2+ '@esbuild/win32-ia32': 0.20.2+ '@esbuild/win32-x64': 0.20.2+ dev: true+resolution: {integrity: sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==}engines: {node: '>=6'}@@ -5159,7 +5543,7 @@ packages:engines: {node: '>=12'}dev: falseresolution: {integrity: sha512-WE8367sqMnjhWHvR5OivmfwENRQ1ixfNE9hZwQqNCsd+iM3KnuMc1V8Pt6ytgjxjf23D+xbesADv9x3xaKfT3g==}peerDependencies:eslint: ^7.23.0 || ^8.0.0@@ -5170,14 +5554,14 @@ packages:dependencies:'@next/eslint-plugin-next': 13.4.19'@rushstack/eslint-patch': 1.4.0- '@typescript-eslint/parser': 6.7.2([email protected])([email protected])- eslint: 8.49.0+ '@typescript-eslint/parser': 6.7.2([email protected])([email protected])+ eslint: 8.57.0eslint-import-resolver-node: 0.3.9- eslint-import-resolver-typescript: 3.6.0(@typescript-eslint/[email protected])([email protected])([email protected])([email protected])- eslint-plugin-import: 2.28.1(@typescript-eslint/[email protected])([email protected])- eslint-plugin-jsx-a11y: 6.7.1([email protected])- eslint-plugin-react: 7.33.2([email protected])- eslint-plugin-react-hooks: 4.6.0([email protected])+ eslint-import-resolver-typescript: 3.6.0(@typescript-eslint/[email protected])([email protected])([email protected])([email protected])+ eslint-plugin-import: 2.28.1(@typescript-eslint/[email protected])([email protected])+ eslint-plugin-jsx-a11y: 6.7.1([email protected])+ eslint-plugin-react: 7.33.2([email protected])+ eslint-plugin-react-hooks: 4.6.0([email protected])typescript: 5.1.6transitivePeerDependencies:- eslint-import-resolver-webpack@@ -5194,7 +5578,7 @@ packages:- supports-colordev: true- /[email protected](@typescript-eslint/[email protected])([email protected])([email protected])([email protected]):+ /[email protected](@typescript-eslint/[email protected])([email protected])([email protected])([email protected]):resolution: {integrity: sha512-QTHR9ddNnn35RTxlaEnx2gCxqFlF2SEN0SE2d17SqwyM7YOSI2GHWRYp5BiRkObTUNYPupC/3Fq2a0PpT+EKpg==}engines: {node: ^14.18.0 || >=16.0.0}peerDependencies:@@ -5203,9 +5587,9 @@ packages:dependencies:debug: 4.3.4enhanced-resolve: 5.15.0- eslint: 8.49.0- eslint-module-utils: 2.8.0(@typescript-eslint/[email protected])([email protected])([email protected])([email protected])- eslint-plugin-import: 2.28.1(@typescript-eslint/[email protected])([email protected])+ eslint: 8.57.0+ eslint-module-utils: 2.8.0(@typescript-eslint/[email protected])([email protected])([email protected])([email protected])+ eslint-plugin-import: 2.28.1(@typescript-eslint/[email protected])([email protected])fast-glob: 3.3.1get-tsconfig: 4.7.0is-core-module: 2.13.0@@ -5217,7 +5601,7 @@ packages:- supports-colordev: true- /[email protected](@typescript-eslint/[email protected])([email protected])([email protected])([email protected]):+ /[email protected](@typescript-eslint/[email protected])([email protected])([email protected])([email protected]):resolution: {integrity: sha512-aWajIYfsqCKRDgUfjEXNN/JlrzauMuSEy5sbd7WXbtW3EH6A6MpwEh42c7qD+MqQo9QMJ6fWLAeIJynx0g6OAw==}engines: {node: '>=4'}peerDependencies:@@ -5238,16 +5622,16 @@ packages:eslint-import-resolver-webpack:optional: truedependencies:- '@typescript-eslint/parser': 6.7.2([email protected])([email protected])+ '@typescript-eslint/parser': 6.7.2([email protected])([email protected])debug: 3.2.7- eslint: 8.49.0+ eslint: 8.57.0eslint-import-resolver-node: 0.3.9- eslint-import-resolver-typescript: 3.6.0(@typescript-eslint/[email protected])([email protected])([email protected])([email protected])+ eslint-import-resolver-typescript: 3.6.0(@typescript-eslint/[email protected])([email protected])([email protected])([email protected])transitivePeerDependencies:- supports-colordev: trueresolution: {integrity: sha512-aWajIYfsqCKRDgUfjEXNN/JlrzauMuSEy5sbd7WXbtW3EH6A6MpwEh42c7qD+MqQo9QMJ6fWLAeIJynx0g6OAw==}engines: {node: '>=4'}peerDependencies:@@ -5270,13 +5654,13 @@ packages:dependencies:'@typescript-eslint/parser': 6.7.2([email protected])([email protected])debug: 3.2.7- eslint: 8.49.0+ eslint: 8.57.0eslint-import-resolver-node: 0.3.9transitivePeerDependencies:- supports-colordev: trueresolution: {integrity: sha512-9I9hFlITvOV55alzoKBI+K9q74kv0iKMeY6av5+umsNwayt59fz692daGyjR+oStBQgx6nwR9rXldDev3Clw+A==}engines: {node: '>=4'}peerDependencies:@@ -5293,9 +5677,9 @@ packages:array.prototype.flatmap: 1.3.2debug: 3.2.7doctrine: 2.1.0- eslint: 8.49.0+ eslint: 8.57.0eslint-import-resolver-node: 0.3.9- eslint-module-utils: 2.8.0(@typescript-eslint/[email protected])([email protected])([email protected])+ eslint-module-utils: 2.8.0(@typescript-eslint/[email protected])([email protected])([email protected])has: 1.0.3is-core-module: 2.13.0is-glob: 4.0.3@@ -5311,7 +5695,7 @@ packages:- supports-colordev: trueresolution: {integrity: sha512-63Bog4iIethyo8smBklORknVjB0T2dwB8Mr/hIC+fBS0uyHdYYpzM/Ed+YC8VxTjlXHEWFOdmgwcDn1U2L9VCA==}engines: {node: '>=4.0'}peerDependencies:@@ -5326,7 +5710,7 @@ packages:axobject-query: 3.2.1damerau-levenshtein: 1.0.8emoji-regex: 9.2.2- eslint: 8.49.0+ eslint: 8.57.0has: 1.0.3jsx-ast-utils: 3.3.5language-tags: 1.0.5@@ -5336,16 +5720,16 @@ packages:semver: 6.3.1dev: trueresolution: {integrity: sha512-oFc7Itz9Qxh2x4gNHStv3BqJq54ExXmfC+a1NjAta66IAN87Wu0R/QArgIS9qKzX3dXKPI9H5crl9QchNMY9+g==}engines: {node: '>=10'}peerDependencies:eslint: ^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0-0dependencies:- eslint: 8.49.0+ eslint: 8.57.0dev: trueresolution: {integrity: sha512-73QQMKALArI8/7xGLNI/3LylrEYrlKZSb5C9+q3OtOewTnMQi5cT+aE9E41sLCmli3I9PGGmD1yiZydyo4FEPw==}engines: {node: '>=4'}peerDependencies:@@ -5356,7 +5740,7 @@ packages:array.prototype.tosorted: 1.1.2doctrine: 2.1.0es-iterator-helpers: 1.0.15- eslint: 8.49.0+ eslint: 8.57.0estraverse: 5.3.0jsx-ast-utils: 3.3.5minimatch: 3.1.2@@ -5411,18 +5795,65 @@ packages:engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}dev: true- resolution: {integrity: sha512-jw03ENfm6VJI0jA9U+8H5zfl5b+FvuU3YYvZRdZHOlU2ggJkxrlkJH4HcDrZpj6YwD8kuYqvQM8LyesoazrSOQ==}+ resolution: {integrity: sha512-jw03ENfm6VJI0jA9U+8H5zfl5b+FvuU3YYvZRdZHOlU2ggJkxrlkJH4HcDrZpj6YwD8kuYqvQM8LyesoazrSOQ==}+ engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}+ hasBin: true+ dependencies:+ '@eslint-community/eslint-utils': 4.4.0([email protected])+ '@eslint-community/regexpp': 4.8.1+ '@eslint/eslintrc': 2.1.2+ '@eslint/js': 8.49.0+ '@humanwhocodes/config-array': 0.11.11+ '@humanwhocodes/module-importer': 1.0.1+ '@nodelib/fs.walk': 1.2.8+ ajv: 6.12.6+ chalk: 4.1.2+ cross-spawn: 7.0.3+ debug: 4.3.4+ doctrine: 3.0.0+ escape-string-regexp: 4.0.0+ eslint-scope: 7.2.2+ eslint-visitor-keys: 3.4.3+ espree: 9.6.1+ esquery: 1.5.0+ esutils: 2.0.3+ fast-deep-equal: 3.1.3+ file-entry-cache: 6.0.1+ find-up: 5.0.0+ glob-parent: 6.0.2+ globals: 13.21.0+ graphemer: 1.4.0+ ignore: 5.2.4+ imurmurhash: 0.1.4+ is-glob: 4.0.3+ is-path-inside: 3.0.3+ js-yaml: 4.1.0+ json-stable-stringify-without-jsonify: 1.0.1+ levn: 0.4.1+ lodash.merge: 4.6.2+ minimatch: 3.1.2+ natural-compare: 1.4.0+ optionator: 0.9.3+ strip-ansi: 6.0.1+ text-table: 0.2.0+ transitivePeerDependencies:+ - supports-color+ dev: true++ resolution: {integrity: sha512-dZ6+mexnaTIbSBZWgou51U6OmzIhYM2VcNdtiTtI7qPNZm35Akpr0f6vtw3w1Kmn5PYo+tZVfh13WrhpS6oLqQ==}engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}hasBin: truedependencies:- '@eslint-community/eslint-utils': 4.4.0([email protected])- '@eslint-community/regexpp': 4.8.1- '@eslint/eslintrc': 2.1.2- '@eslint/js': 8.49.0- '@humanwhocodes/config-array': 0.11.11+ '@eslint-community/eslint-utils': 4.4.0([email protected])+ '@eslint-community/regexpp': 4.10.0+ '@eslint/eslintrc': 2.1.4+ '@eslint/js': 8.57.0+ '@humanwhocodes/config-array': 0.11.14'@humanwhocodes/module-importer': 1.0.1'@nodelib/fs.walk': 1.2.8+ '@ungap/structured-clone': 1.2.0ajv: 6.12.6chalk: 4.1.2cross-spawn: 7.0.3@@ -5440,7 +5871,7 @@ packages:glob-parent: 6.0.2globals: 13.21.0graphemer: 1.4.0- ignore: 5.2.4+ ignore: 5.3.1imurmurhash: 0.1.4is-glob: 4.0.3is-path-inside: 3.0.3@@ -5535,7 +5966,6 @@ packages:resolution: {integrity: sha512-7RUKfXgSMMkzt6ZuXmqapOurLGPPfgj6l9uRZ7lRGolvk0y2yocc35LdcxKC5PQZdn2DMqioAQ2NoWcrTKmm6g==}dependencies:'@types/estree': 1.0.1- dev: falseresolution: {integrity: sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==}@@ -5576,6 +6006,21 @@ packages:strip-final-newline: 3.0.0dev: false+ resolution: {integrity: sha512-VyhnebXciFV2DESc+p6B+y0LjSm0krU4OgJN44qFAhBY0TJ+1V61tYD2+wHusZ6F9n5K+vl8k0sTy7PEfV4qpg==}+ engines: {node: '>=16.17'}+ dependencies:+ cross-spawn: 7.0.3+ get-stream: 8.0.1+ human-signals: 5.0.0+ is-stream: 3.0.0+ merge-stream: 2.0.0+ npm-run-path: 5.1.0+ onetime: 6.0.0+ signal-exit: 4.1.0+ strip-final-newline: 3.0.0+ dev: true+resolution: {integrity: sha512-XYfuKMvj4O35f/pOXLObndIRvyQ+/+6AhODh+OKWj9S9498pHHn/IMszH+gt0fBCRWMNfk1ZSp5x3AifmnI2vg==}engines: {node: '>=6'}@@ -5625,6 +6070,17 @@ packages:merge2: 1.4.1micromatch: 4.0.5+ resolution: {integrity: sha512-oX2ruAFQwf/Orj8m737Y5adxDQO0LAB7/S5MnxCdTNDd4p6BsyIVsv9JQsATbTSq8KHRpLwIHbVlUNatxd+1Ow==}+ engines: {node: '>=8.6.0'}+ dependencies:+ '@nodelib/fs.stat': 2.0.5+ '@nodelib/fs.walk': 1.2.8+ glob-parent: 5.1.2+ merge2: 1.4.1+ micromatch: 4.0.5+ dev: true+resolution: {integrity: sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==}@@ -5681,6 +6137,13 @@ packages:flat-cache: 3.1.0dev: true+ resolution: {integrity: sha512-XXTUwCvisa5oacNGRP9SfNtYBNAMi+RPwBFmblZEF7N7swHYQS6/Zfk7SRwx4D5j3CH211YNRco1DEMNVfZCnQ==}+ engines: {node: '>=16.0.0'}+ dependencies:+ flat-cache: 4.0.1+ dev: true+resolution: {integrity: sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==}engines: {node: '>=8'}@@ -5723,10 +6186,18 @@ packages:engines: {node: '>=12.0.0'}dependencies:flatted: 3.2.9- keyv: 4.5.3+ keyv: 4.5.4rimraf: 3.0.2dev: true+ resolution: {integrity: sha512-f7ccFPK3SXFHpx15UIGyRJ/FJQctuKZ0zVuN3frBo4HnK3cay9VEW0R6yPYFHC0AgqhukPzKjq22t5DmAyqGyw==}+ engines: {node: '>=16'}+ dependencies:+ flatted: 3.2.9+ keyv: 4.5.4+ dev: true+resolution: {integrity: sha512-36yxDn5H7OFZQla0/jFJmbIKTdZAQHngCedGxiMmpNfEZM0sdEeT+WczLQrjK6D7o2aiyLYDnkw0R3JK0Qv1RQ==}dev: true@@ -5906,6 +6377,11 @@ packages:resolution: {integrity: sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg==}engines: {node: '>=10'}+ resolution: {integrity: sha512-VaUJspBffn/LMCJVoMvSAdmscJyS1auj5Zulnn5UoYcY531UWmdwhRWkcGKnGU93m5HSXP9LP2usOryrBtQowA==}+ engines: {node: '>=16'}+ dev: true+resolution: {integrity: sha512-2EmdH1YvIQiZpltCNgkuiUnyukzxM/R6NDJX31Ke3BG1Nq5b0S2PhX59UKi9vZpPDQVdqn+1IcaAwnzTT5vCjw==}engines: {node: '>= 0.4'}@@ -6025,10 +6501,6 @@ packages:dependencies:define-properties: 1.2.1- resolution: {integrity: sha512-40oNTM9UfG6aBmuKxk/giHn5nQ8RVz/SS4Ir6zgzOv9/qC3kKZ9v4etGTcJbEl/NyVQH7FGU7d+X1egr57Md2Q==}- dev: true-resolution: {integrity: sha512-jhIXaOzy1sb8IyocaruWSn1TjmnBVs8Ayhcy83rmxNJ8q2uWKCAj3CnJY+KpGSXCueAPc0i05kVvVKtP1t9S3g==}engines: {node: '>=10'}@@ -6051,10 +6523,6 @@ packages:slash: 4.0.0dev: true- resolution: {integrity: sha512-uHJgbwAMwNFf5mLst7IWLNg14x1CkeqglJb/K3doi4dw6q2IvAAmM/Y81kevy83wP+Sst+nutFTYOGg3d1lsxg==}- dev: true-resolution: {integrity: sha512-d65bNlIadxvpb/A2abVdlqKqV563juRnZ1Wtk6s1sIR8uNsXR70xqIzVqxVf1eTqDunwT2MkczEeaezCKTZhwA==}dependencies:@@ -6283,6 +6751,11 @@ packages:engines: {node: '>=14.18.0'}dev: false+ resolution: {integrity: sha512-AXcZb6vzzrFAUE61HnN4mpLqd/cSIwNQjtNWR0euPm6y0iqx3G4gOXaIDdtdDwZmhwe82LA6+zinmW4UBWVePQ==}+ engines: {node: '>=16.17.0'}+ dev: true+resolution: {integrity: sha512-Fl70vYtsAFb/C06PTS9dZBo7ihau+Tu/DNCk/OyHhea07S+aeMWpFFkUaXRa8fI+ScZbEI8dfSxwY7gxZ9SAVQ==}dependencies:@@ -6323,6 +6796,11 @@ packages:resolution: {integrity: sha512-MAb38BcSbH0eHNBxn7ql2NH/kX33OkB3lZ1BNdh7ENeRChHTYsTvWrMubiIAMNS2llXEEgZ1MUOBtXChP3kaFQ==}engines: {node: '>= 4'}+ resolution: {integrity: sha512-5Fytz/IraMjqpwfd34ke28PTVMjZjJG2MPn5t7OE4eUCUNf8BAa7b5WUS9/Qvr6mwOQS7Mk6vdsMno5he+T8Xw==}+ engines: {node: '>= 4'}+ dev: true+resolution: {integrity: sha512-XXOFtyqDjNDAQxVfYxuF7g9Il/IbWmmlQg2MYKOH8ExIT1qg6xc4zyS3HaEEATgs1btfzxq15ciUiY7gjSXRGQ==}dev: false@@ -6666,7 +7144,6 @@ packages:resolution: {integrity: sha512-LnQR4bZ9IADDRSkvpqMGvt/tEJWclzklNgSw48V5EAaAeDd6qGvN8ei6k5p0tvxSR171VmGyHuTiAOfxAbr8kA==}engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0}- dev: falseresolution: {integrity: sha512-tE2UXzivje6ofPW7l23cjDOMa09gb7xlAqG6jG5ej6uPV32TlWP3NKPigtaGeHNu9fohccRYvIiZMfOOnOYUtg==}@@ -6803,6 +7280,11 @@ packages:resolution: {integrity: sha512-3TV69ZbrvV6U5DfQimop50jE9Dl6J8O1ja1dvBbMba/sZ3YBEQqJ2VZRoQPVnhlzjNtU1vaXRZVrVjU4qtm8yA==}hasBin: true+ resolution: {integrity: sha512-gFqAIbuKyyso/3G2qhiO2OM6shY6EPP/R0+mkDbyspxKazh8BXDC5FiFsUjlczgdNz/vfra0da2y+aHrusLG/Q==}+ hasBin: true+ dev: true+resolution: {integrity: sha512-8wb9Yw966OSxApiCt0K3yNJL8pnNeIv+OEq2YMidz4FKP6nonSRoOXc80iXY4JaN2FC11B9qsNmDsm+ZOfMROA==}dev: true@@ -6819,6 +7301,10 @@ packages:resolution: {integrity: sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==}+ resolution: {integrity: sha512-WriZw1luRMlmV3LGJaR6QOJjWwgLUTf89OwT2lUOyjX2dJGBwgmIkbcz+7WFZjrZM635JOIR517++e/67CP9dQ==}+ dev: true+resolution: {integrity: sha512-okMH7OXXJ7YrN9Ok3/SXrnu4iX9yOk+25nqX4imS2npuvTYDmo/QEZoqwZkYaIDk3jVvBOTOIEgEhaLOynBS9g==}hasBin: true@@ -6927,6 +7413,12 @@ packages:json-buffer: 3.0.1dev: true+ resolution: {integrity: sha512-oxVHkHR/EJf2CNXnWxRLW6mg7JyCCUcG0DtEGmL2ctUo1PNTin1PUil+r/+4r5MpVgC/fn1kjsx7mjSujKqIpw==}+ dependencies:+ json-buffer: 3.0.1+ dev: true+resolution: {integrity: sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw==}engines: {node: '>=0.10.0'}@@ -6989,6 +7481,36 @@ packages:- domexceptiondev: true+ resolution: {integrity: sha512-x2paKB0BOzFjnetYolGwg9Dwa8ZIYwBuVP2V4bWRFfTeLs7BymARb7I00R3OCbr09gKKr8TPLQVx2GQ6RF9llQ==}+ engines: {node: '>=18.6.0'}+ hasBin: true+ peerDependencies:+ '@types/node': '>=18'+ typescript: '>=5.0.4'+ dependencies:+ '@ericcornelissen/bash-parser': 0.5.2+ '@nodelib/fs.walk': 2.0.0+ '@snyk/github-codeowners': 1.1.0+ '@types/node': 18.18.6+ easy-table: 1.2.0+ fast-glob: 3.3.2+ file-entry-cache: 8.0.0+ jiti: 1.21.0+ js-yaml: 4.1.0+ minimist: 1.2.8+ picocolors: 1.0.0+ picomatch: 4.0.2+ pretty-ms: 9.0.0+ resolve: 1.22.8+ smol-toml: 1.1.4+ strip-json-comments: 5.0.1+ summary: 2.1.0+ typescript: 5.4.5+ zod: 3.22.4+ zod-validation-error: 3.3.0([email protected])+ dev: true+resolution: {integrity: sha512-tN0MCzyWnoz/4nHS6uxdlFWoUZT7ABptwKPQ52Ea7URk6vll88bWBVhodtnlfEuCcKWNGoc+uGbw1cwa9IKh/w==}dev: true@@ -7073,9 +7595,12 @@ packages:json5: 2.2.3dev: false- resolution: {integrity: sha512-SFppqq5p42fe2qcZQqqEOiVRXl+WCP1MdT6k7BDEW1j++sp5fIY+/fdRQitvKgB5BrBcmrs5m/L0v2FrU5MY1g==}+ resolution: {integrity: sha512-ok6z3qlYyCDS4ZEU27HaU6x/xZa9Whf8jD4ptH5UZTQYZVYeb9bnZ3ojVhiJNLiXK1Hfc0GNbLXcmZ5plLDDBg==}engines: {node: '>=14'}+ dependencies:+ mlly: 1.4.2+ pkg-types: 1.0.3dev: true@@ -7878,12 +8403,6 @@ packages:mime-db: 1.52.0dev: false- resolution: {integrity: sha512-jSCU7/VB1loIWBZe14aEYHU/+1UMEHoaO7qxCOVJOw9GgH72VAWppxNcjU+x9a2k3GSIBXNKxXQFqRvvZ7vr3A==}- engines: {node: '>=10.0.0'}- hasBin: true- dev: true-resolution: {integrity: sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==}engines: {node: '>=6'}@@ -7896,7 +8415,6 @@ packages:resolution: {integrity: sha512-vqiC06CuhBTUdZH+RYl8sFrL096vA45Ok5ISO6sE/Mr1jRbGH4Csnhi8f3wKVl7x8mO4Au7Ir9D3Oyv1VYMFJw==}engines: {node: '>=12'}- dev: falseresolution: {integrity: sha512-j5EctnkH7amfV/q5Hgmoal1g2QHFJRraOtmx0JpIqkxhBhI/lJSl1nMpQ45hVarwNETOoWEimndZ4QK0RHxuxQ==}@@ -7937,6 +8455,13 @@ packages:brace-expansion: 2.0.1dev: true+ resolution: {integrity: sha512-KqWh+VchfxcMNRAJjj2tnsSJdNbHsVgnkBhTNrW7AjVo6OvLtxw8zfT9oLw1JSohlFzJ8jCoTgaoXvJ+kHt6fw==}+ engines: {node: '>=16 || 14 >=14.17'}+ dependencies:+ brace-expansion: 2.0.1+ dev: true+resolution: {integrity: sha512-Q4r8ghd80yhO/0j1O3B2BjweX3fiHg9cdOwjJd2J76Q135c+NDxGCqdYKQ1SKBuFfgWbAUzBfvYjPUEeNgqN1A==}engines: {node: '>= 6'}@@ -8045,7 +8570,7 @@ packages:resolution: {integrity: sha512-i/Ykufi2t1EZ6NaPLdfnZk2AX8cs0d+mTzVKuPfqPKPatxLApaBoxJQ9x1/uckXtrS/U5oisPMDkNs0yQTaBRg==}dependencies:- acorn: 8.10.0+ acorn: 8.11.3pathe: 1.1.1pkg-types: 1.0.3ufo: 1.3.1@@ -8084,6 +8609,11 @@ packages:engines: {node: ^10 || ^12 || ^13.7 || ^14 || >=15.0.1}hasBin: true+ resolution: {integrity: sha512-eSRppjcPIatRIMC1U6UngP8XFcz8MQWGQdt1MTBQ7NaAmvXDfvNxbvWV3x2y6CdEUciCSsDHDQZbhYaB8QEo2g==}+ engines: {node: ^10 || ^12 || ^13.7 || ^14 || >=15.0.1}+ hasBin: true+resolution: {integrity: sha512-ONmRUqK7zj7DWX0D9ADe03wbwOBZxNAfF20PlGfCWQcD3+/MakShIHrMqx9YwPTfxDdF1zLeL+RGZiR9kGMLdg==}dev: true@@ -8330,6 +8860,49 @@ packages:npm-normalize-package-bin: 3.0.1dev: true+ resolution: {integrity: sha512-sYbIhun4DrjO7NFOTdvs11nCar0etEhZTsEjL47eM0TuiGMhmYughRCxG2SpGRmGAQ7AkwN7bw2lWzoE7q6yOQ==}+ engines: {node: '>=14.14'}+ hasBin: true+ dependencies:+ '@types/semver-utils': 1.1.3+ chalk: 5.3.0+ cli-table3: 0.6.3+ commander: 10.0.1+ fast-memoize: 2.5.2+ find-up: 5.0.0+ fp-and-or: 0.1.4+ get-stdin: 8.0.0+ globby: 11.1.0+ hosted-git-info: 5.2.1+ ini: 4.1.1+ js-yaml: 4.1.0+ json-parse-helpfulerror: 1.0.3+ jsonlines: 0.1.1+ lodash: 4.17.21+ make-fetch-happen: 11.1.1+ minimatch: 9.0.3+ p-map: 4.0.0+ pacote: 15.2.0+ parse-github-url: 1.0.2+ progress: 2.0.3+ prompts-ncu: 3.0.0+ rc-config-loader: 4.1.3+ remote-git-tags: 3.0.0+ rimraf: 5.0.5+ semver: 7.5.4+ semver-utils: 1.1.4+ source-map-support: 0.5.21+ spawn-please: 2.0.2+ strip-ansi: 7.1.0+ strip-json-comments: 5.0.1+ untildify: 4.0.0+ update-notifier: 6.0.2+ transitivePeerDependencies:+ - bluebird+ - supports-color+ dev: true+resolution: {integrity: sha512-sJ6w4AmSDP7YzBXah94Ul2JhiIbjBDfx9XYgib15um2wtiQkOyjE7Lov3MNUSQ84Ry7T81mE4ynMbl/mGbK4HQ==}engines: {node: '>=14.14'}@@ -8437,7 +9010,6 @@ packages:engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0}dependencies:path-key: 4.0.0- dev: falseresolution: {integrity: sha512-/vBvz5Jfr9dT/aFWd0FIRf+T/Q2WBsLENygUaFUqstqsycmZAP/t5BvFJTK0viFmSUxiUKTUplWy5vt+rvKIxg==}@@ -8541,7 +9113,6 @@ packages:engines: {node: '>=12'}dependencies:mimic-fn: 4.0.0- dev: falseresolution: {integrity: sha512-OS+QTnw1/4vrf+9hh1jc1jnYjzSG4ttTBB8UxOwAnInG3Uo4ssetzC1ihqaIHjLJnA5GGlRl6QlZXOTQhRBUvg==}@@ -8553,21 +9124,30 @@ packages:is-wsl: 2.2.0dev: false+ resolution: {integrity: sha512-NMp/GEmWSGO0b2d731IdGXcMP2PF85Rk1q+oy2Mx/DYMdP3pgTZTRamKxgZpkHhM4iOVsyD1iP5HKL9Fr6CH2Q==}+ dependencies:+ openapi-typescript-helpers: 0.0.8+ dev: false+resolution: {integrity: sha512-smLZPck4OkKMNExcw8jMgrMOGgVGx2N/s6DbKL2ftNl77g5HfoGpZGFy79RBzU/EkaO0OZpwBnslfdBfh7ZcWg==}engines: {node: '>= 12.0.0', npm: '>= 7.0.0'}dev: false- resolution: {integrity: sha512-AGB2QiZPz4rE7zIwV3dRHtoUC/CWHhUjuzGXvtmMQN2AFV8xCTLKcZUHLcdPQmt/83i22nRE7+TxXOXkK+gf4Q==}- engines: {node: '>= 14.0.0'}+ resolution: {integrity: sha512-1eNjQtbfNi5Z/kFhagDIaIRj6qqDzhjNJKz8cmMW0CVdGwT6e1GLbAfgI0d28VTJa1A8jz82jm/4dG8qNoNS8g==}+ dev: false++ resolution: {integrity: sha512-c/hfooPx+RBIOPM09GSxABOZhYPblDoyaGhqBkD/59vtpN21jEuWKDlM0KYTvqJVlSYjKs0tBcIdeXKChlSPtw==}hasBin: truedependencies:+ ansi-colors: 4.1.3+ fast-glob: 3.3.2js-yaml: 4.1.0- mime: 3.0.0- prettier: 2.8.8- tiny-glob: 0.2.9- undici: 5.26.4+ supports-color: 9.4.0+ undici: 5.28.4yargs-parser: 21.1.1dev: true@@ -8642,9 +9222,9 @@ packages:dependencies:yocto-queue: 0.1.0- resolution: {integrity: sha512-5b0R4txpzjPWVw/cXXUResoD4hb6U/x9BH08L7nw+GN1sezDzPdxeRvpc9c433fZhBan/wusjbCsqwqm4EIBIQ==}- engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0}+ resolution: {integrity: sha512-/Eaoq+QyLSiXQ4lyYV23f14mZRQcXnxfHrN0vCai+ak9G0pp9iEQukIIZq5NccEvwRB8PUnZT0KsOoDCINS1qQ==}+ engines: {node: '>=18'}dependencies:yocto-queue: 1.0.0dev: true@@ -8775,6 +9355,11 @@ packages:engines: {node: '>=12'}dev: true+ resolution: {integrity: sha512-TXfryirbmq34y8QBwgqCVLi+8oA3oWx2eAnSn62ITyEhEYaWRlVZ2DvMM9eZbMs/RfxPu/PK/aBLyGj4IrqMHw==}+ engines: {node: '>=18'}+ dev: true+resolution: {integrity: sha512-InpdgIdNe5xWMEUcrVQUniQKwnggBtJ7+SCwh7zQAZwbbIYZV9XdgJyhtmDSSvykFyQXoe4BINnzKTfCwWLs5g==}engines: {node: '>=8.15'}@@ -8815,7 +9400,6 @@ packages:resolution: {integrity: sha512-haREypq7xkM7ErfgIyA0z+Bj4AGKlMSdlQE2jvJo6huWD1EdkKYV+G/T4nq0YEF2vgTT8kqMFKo1uHn950r4SQ==}engines: {node: '>=12'}- dev: falseresolution: {integrity: sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==}@@ -8862,6 +9446,11 @@ packages:resolution: {integrity: sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==}engines: {node: '>=8.6'}+ resolution: {integrity: sha512-M7BAV6Rlcy5u+m6oPhAPFgJTzAioX/6B0DxyvDlo9l8+T3nLKbrczg2WLUyzd45L8RqfUMyGPzekbMvX2Ldkwg==}+ engines: {node: '>=12'}+ dev: true+resolution: {integrity: sha512-udgsAY+fTnvv7kI7aaxbqwWNb0AHiB0qBO89PZKPkoTmGOgdbrHDKD+0B2X4uTfJ/FT1R09r9gTsjUjNJotuog==}engines: {node: '>=0.10.0'}@@ -8914,9 +9503,9 @@ packages:camelcase-css: 2.0.1postcss: 8.4.30- resolution: {integrity: sha512-6DiM4E7v4coTE4uzA8U//WhtPwyhiim3eyjEMFCnUpzbrkK9wJHgKDT2mR+HbtSrd/NubVaYTOpSpjUl8NQeRg==}- engines: {node: '>= 10'}+ resolution: {integrity: sha512-vEJIc8RdiBRu3oRAI0ymerOn+7rPuMvRXslTvZUKZonDHFIczxztIyJ1urxM1x9JXEikvpWWTUUqal5j/8QgvA==}+ engines: {node: '>= 14'}peerDependencies:postcss: '>=8.0.9'ts-node: '>=9.0.0'@@ -8927,7 +9516,7 @@ packages:optional: truedependencies:lilconfig: 2.1.0- yaml: 1.10.2+ yaml: 2.3.2dev: true@@ -8997,6 +9586,15 @@ packages:nanoid: 3.3.6picocolors: 1.0.0source-map-js: 1.0.2+ dev: false++ resolution: {integrity: sha512-Wglpdk03BSfXkHoQa3b/oulrotAkwrlLDRSOb9D0bN86FdRyE9lppSp33aHNPgBa0JKCoB+drFLZkQoRRYae5A==}+ engines: {node: ^10 || ^12 || >=14}+ dependencies:+ nanoid: 3.3.7+ picocolors: 1.0.0+ source-map-js: 1.2.0resolution: {integrity: sha512-NgIGAXPkbmvKYcyOTkaNJYPTLvrXQqhWztkJ/v5NkF5CFdZucorc9OOPmZbGk+SLtHfK/8ilNyz6ql6JjBkkbQ==}@@ -9047,6 +9645,7 @@ packages:resolution: {integrity: sha512-tdN8qQGvNjw4CHbY+XXk0JgCXn9QiF21a55rBe5LJAU+kDyC4WQn4+awm2Xfk2lQMk5fKup9XgzTZtGkjBdP9Q==}engines: {node: '>=10.13.0'}hasBin: true+ dev: falseresolution: {integrity: sha512-Pdlw/oPxN+aXdmM9R00JVC9WVFoCLTKJvDVLgmJ+qAffBMxsV85l/Lu7sNx4zSzPyoL2euImuEwHhOXdEgNFZQ==}@@ -9064,6 +9663,13 @@ packages:parse-ms: 3.0.0dev: true+ resolution: {integrity: sha512-E9e9HJ9R9NasGOgPaPE8VMeiPKAyWR5jcFpNnwIejslIhWqdqOrb2wShBsncMPUb+BcCd2OPYfh7p2W6oemTng==}+ engines: {node: '>=18'}+ dependencies:+ parse-ms: 4.0.0+ dev: true+resolution: {integrity: sha512-++Vn7NS4Xf9NacaU9Xq3URUuqZETPsf8L4j5/ckhaRYsfPeRyzGw+iDjFhV/Jr3uNmTvvddEJFWh5R1gRgUH8A==}engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0}@@ -9531,6 +10137,15 @@ packages:path-parse: 1.0.7supports-preserve-symlinks-flag: 1.0.0+ resolution: {integrity: sha512-oKWePCxqpd6FlLvGV1VU0x7bkPmmCNolxzjMf4NczoDnQcIWrAF+cPtZn5i6n+RfD2d9i0tzpKnG6Yk168yIyw==}+ hasBin: true+ dependencies:+ is-core-module: 2.13.0+ path-parse: 1.0.7+ supports-preserve-symlinks-flag: 1.0.0+ dev: true+resolution: {integrity: sha512-iMDbmAWtfU+MHpxt/I5iWI7cY6YVEZUQ3MBgPQ++XD1PELuJHIl82xBmObyP2KyQmkNB2dsqF7seoQQiAn5yDQ==}hasBin: true@@ -9605,6 +10220,32 @@ packages:fsevents: 2.3.3dev: true+ resolution: {integrity: sha512-QmJz14PX3rzbJCN1SG4Xe/bAAX2a6NpCP8ab2vfu2GiUr8AQcr2nCV/oEO3yneFarB67zk8ShlIyWb2LGTb3Sg==}+ engines: {node: '>=18.0.0', npm: '>=8.0.0'}+ hasBin: true+ dependencies:+ '@types/estree': 1.0.5+ optionalDependencies:+ '@rollup/rollup-android-arm-eabi': 4.18.0+ '@rollup/rollup-android-arm64': 4.18.0+ '@rollup/rollup-darwin-arm64': 4.18.0+ '@rollup/rollup-darwin-x64': 4.18.0+ '@rollup/rollup-linux-arm-gnueabihf': 4.18.0+ '@rollup/rollup-linux-arm-musleabihf': 4.18.0+ '@rollup/rollup-linux-arm64-gnu': 4.18.0+ '@rollup/rollup-linux-arm64-musl': 4.18.0+ '@rollup/rollup-linux-powerpc64le-gnu': 4.18.0+ '@rollup/rollup-linux-riscv64-gnu': 4.18.0+ '@rollup/rollup-linux-s390x-gnu': 4.18.0+ '@rollup/rollup-linux-x64-gnu': 4.18.0+ '@rollup/rollup-linux-x64-musl': 4.18.0+ '@rollup/rollup-win32-arm64-msvc': 4.18.0+ '@rollup/rollup-win32-ia32-msvc': 4.18.0+ '@rollup/rollup-win32-x64-msvc': 4.18.0+ fsevents: 2.3.3+ dev: true+resolution: {integrity: sha512-XcT5rBksx1QdIhlFOCtgZkB99ZEouFZ1E2Kc2LHqNW13U3/74YGdkQRmThTwxy4QIyookibDKYZOPqX//6BlAg==}engines: {node: '>=12'}@@ -9716,6 +10357,12 @@ packages:dependencies:lru-cache: 6.0.0+ resolution: {integrity: sha512-FNAIBWCx9qcRhoHcgcJ0gvU7SN1lYU2ZXuSfl04bSC5OpvDHFyJCjdNHomPXxjQlCBU67YW64PzY7/VIEH7F2w==}+ engines: {node: '>=10'}+ hasBin: true+ dev: true+resolution: {integrity: sha512-owoXEFjWRllis8/M1Q+Cw5k8ZH40e3zhp/ovX+Xr/vi1qj6QesbyXXViFbpNvWvPNAD62SutwEXavefrLJWj7w==}dependencies:@@ -9878,6 +10525,11 @@ packages:yargs: 15.4.1dev: false+ resolution: {integrity: sha512-Y0OT8HezWsTNeEOSVxDnKOW/AyNXHQ4BwJNbAXlLTF5wWsBvrcHhIkE5Rf8kQMLmgf7nDX3PVOlgC6/Aiggu3Q==}+ engines: {node: '>= 18', pnpm: '>= 8'}+ dev: true+resolution: {integrity: sha512-Fgl0YPZ902wEsAyiQ+idGd1A7rSFx/ayC1CQVMw5P+EQx2V0SgpGtf6OKFhVjPflPUl9YMmEOnmfjCdMUsygww==}engines: {node: '>= 10'}@@ -9901,6 +10553,10 @@ packages:resolution: {integrity: sha512-R0XvVJ9WusLiqTCEiGCmICCMplcCkIwwR11mOSD9CR5u+IXYdiseeEuXCVAjS54zqwkLcPNnmU4OeJ6tUrWhDw==}engines: {node: '>=0.10.0'}+ resolution: {integrity: sha512-itJW8lvSA0TXEphiRoawsCksnlf8SyvmFzIhltqAHluXd88pkCd+cXJVHTDwdCr0IzwptSm035IHQktUu1QUMg==}+ engines: {node: '>=0.10.0'}+resolution: {integrity: sha512-uBHU3L3czsIyYXKX88fdrGovxdSCoTGDRZ6SYXtSRxLZUzHg5P/66Ht6uoUlHu9EZod+inXhKo3qQgwXUT/y1w==}dependencies:@@ -9995,8 +10651,8 @@ packages:type-fest: 0.7.1dev: false- resolution: {integrity: sha512-f9aPhy8fYBuMN+sNfakZV18U39PbalgjXG3lLB9WkaYTxijru61wb57V9wxxNthXM5Sd88ETBWi29qLAsHO52Q==}+ resolution: {integrity: sha512-JPbdCEQLj1w5GilpiHAx3qJvFndqybBysA3qUOnznweH4QbNYUsW/ea8QzSrnh0vNsezMMw5bcVool8lM0gwzg==}dev: true@@ -10113,7 +10769,6 @@ packages:resolution: {integrity: sha512-dOESqjYr96iWYylGObzd39EuNTa5VJxyvVAEm5Jnh7KGo75V43Hk1odPQkNDyXNmUR6k+gEiDVXnjB8HJ3crXw==}engines: {node: '>=12'}- dev: falseresolution: {integrity: sha512-laJTa3Jb+VQpaC6DseHhF7dXVqHTfJPCRDaEbid/drOhgitgYku/letMUqOXFoWV0zIIUbjpdH2t+tYj4bQMRQ==}@@ -10136,10 +10791,10 @@ packages:engines: {node: '>=14.16'}dev: true- resolution: {integrity: sha512-PugKzOsyXpArk0yWmUwqOZecSO0GH0bPoctLcqNDH9J04pVW3lflYE0ujElBGTloevcxF5MofAOZ7C5l2b+wLg==}+ resolution: {integrity: sha512-Op+UycaUt/8FbN/Z2TWPBLge3jWrP3xj10f3fnYxf052bKuS3EKs1ZQcVGjnEMdsNVAM+plXRdmjrZ/KgG3Skw==}dependencies:- acorn: 8.10.0+ js-tokens: 9.0.0dev: true@@ -10222,6 +10877,11 @@ packages:has-flag: 4.0.0dev: false+ resolution: {integrity: sha512-VL+lNrEoIXww1coLPOmiEmK/0sGigko5COxI09KzHc2VJXJsQ37UaQ+8quuxjDeA7+KnLGTWRyOXSLLR2Wb4jw==}+ engines: {node: '>=12'}+ dev: true+resolution: {integrity: sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==}engines: {node: '>= 0.4'}@@ -10404,19 +11064,12 @@ packages:resolution: {integrity: sha512-Eet/eeMhkO6TX8mnUteS9zgPbUMQa4I6Kkp5ORiBD5476/m+PIRiumP5tmh5ioJpH7k51Kehawy2UDfsnxxY8Q==}dev: false- resolution: {integrity: sha512-g/55ssRPUjShh+xkfx9UPDXqhckHEsHr4Vd9zX55oSdGZc/MD0m3sferOkwWtp98bv+kcVfEHtRJgBVJzelrzg==}- dependencies:- globalyzer: 0.1.0- globrex: 0.1.2- dev: true-resolution: {integrity: sha512-65NKvSuAVDP/n4CqH+a9w2kTlLReS9vhsAP06MWx+/89nMinJyB2icyl58RIcqCmIggpojIGeuJGhjU1aGMBSg==}dev: true- resolution: {integrity: sha512-zSYNUlYSMhJ6Zdou4cJwo/p7w5nmAH17GRfU/ui3ctvjXFErXXkruT4MWW6poDeXgCaIBlGLrfU6TbTXxyGMww==}+ resolution: {integrity: sha512-i11VH5gS6IFeLY3gMBQ00/MmLncVP7JLXOw1vlgkytLmJK7QnEr7NXf0LBdxfmNPAeyetukOk0bOYrJrFGjYJQ==}engines: {node: '>=14.0.0'}dev: true@@ -10505,18 +11158,18 @@ packages:typescript: 5.1.6dev: trueresolution: {integrity: sha512-wNMeqtMz5NtwpT/UZGY5alT+VoKdSsOOP/kqHFcUW1P/VRhH2wJ48+DN2WwUliNbQ976ETwDL0Ifd2VVvgonvg==}engines: {node: '>=16.13.0'}peerDependencies:typescript: '>=4.2.0'dependencies:- typescript: 5.2.2+ typescript: 5.4.5dev: true- resolution: {integrity: sha512-wNMeqtMz5NtwpT/UZGY5alT+VoKdSsOOP/kqHFcUW1P/VRhH2wJ48+DN2WwUliNbQ976ETwDL0Ifd2VVvgonvg==}- engines: {node: '>=16.13.0'}+ resolution: {integrity: sha512-UQMIo7pb8WRomKR1/+MFVLTroIvDVtMX3K6OUir8ynLyzB8Jeriont2bTAtmNPa1ekAgN7YPDyf6V+ygrdU+eQ==}+ engines: {node: '>=16'}peerDependencies:typescript: '>=4.2.0'dependencies:@@ -10542,9 +11195,9 @@ packages:resolution: {integrity: sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q==}- resolution: {integrity: sha512-L3o8hGkaHnu5TdJns+mCqFsDBo83bJ44rlK7e6VdanIvpea4ArPcU3swWGsLVbXak1PqQx/V+SSmFPujBK+zEQ==}- engines: {node: '>=14.18'}+ resolution: {integrity: sha512-vDHlczXbgUvY3rWvqFEbSqmC1L7woozbzngMqTtL2PGBODTtWlRwGDDawhvWzr5c1QjKe4OAKqJGfE1xeXUvtQ==}+ engines: {node: '>=16.14'}hasBin: truepeerDependencies:'@swc/core': ^1@@ -10558,15 +11211,15 @@ packages:typescript:optional: truedependencies:- bundle-require: 4.0.2([email protected])+ bundle-require: 4.0.2([email protected])cac: 6.7.14chokidar: 3.5.3debug: 4.3.4- esbuild: 0.17.19+ esbuild: 0.18.20execa: 5.1.1globby: 11.1.0joycon: 3.1.1- postcss-load-config: 3.1.4+ postcss-load-config: 4.0.1([email protected])resolve-from: 5.0.0rollup: 3.29.4source-map: 0.8.0-beta.0@@ -10578,15 +11231,18 @@ packages:- ts-nodedev: true- resolution: {integrity: sha512-vDHlczXbgUvY3rWvqFEbSqmC1L7woozbzngMqTtL2PGBODTtWlRwGDDawhvWzr5c1QjKe4OAKqJGfE1xeXUvtQ==}- engines: {node: '>=16.14'}+ resolution: {integrity: sha512-NY8xtQXdH7hDUAZwcQdY/Vzlw9johQsaqf7iwZ6g1DOUlFYQ5/AtVAjTvihhEyeRlGo4dLRVHtrRaL35M1daqQ==}+ engines: {node: '>=18'}hasBin: truepeerDependencies:+ '@microsoft/api-extractor': ^7.36.0'@swc/core': ^1postcss: ^8.4.12- typescript: '>=4.1.0'+ typescript: '>=4.5.0'peerDependenciesMeta:+ '@microsoft/api-extractor':+ optional: true'@swc/core':optional: truepostcss:@@ -10594,21 +11250,21 @@ packages:typescript:optional: truedependencies:- bundle-require: 4.0.2([email protected])+ bundle-require: 4.0.2([email protected])cac: 6.7.14chokidar: 3.5.3debug: 4.3.4- esbuild: 0.18.20+ esbuild: 0.19.12execa: 5.1.1globby: 11.1.0joycon: 3.1.1- postcss-load-config: 4.0.1([email protected])+ postcss-load-config: 4.0.1resolve-from: 5.0.0- rollup: 3.29.4+ rollup: 4.18.0source-map: 0.8.0-beta.0sucrase: 3.34.0tree-kill: 1.2.2- typescript: 5.2.2+ typescript: 5.4.5transitivePeerDependencies:- supports-color- ts-node@@ -10788,8 +11444,8 @@ packages:resolution: {integrity: sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA==}dev: true- resolution: {integrity: sha512-OG+QOf0fTLtazL9P9X7yqWxQ+Z0395Wk6DSkyTxtaq3wQEjIroVe7Y4asCX/vcCxYpNGMnwz8F0qbRYUoaQVMw==}+ resolution: {integrity: sha512-72RFADWFqKmUb2hmmvNODKL3p9hcB6Gt2DOQMis1SEBaV6a4MH8soBvzg+95CYhCKPFedut2JY9bMfrDl9D23g==}engines: {node: '>=14.0'}dependencies:'@fastify/busboy': 2.0.0@@ -11098,17 +11754,16 @@ packages:vfile-message: 3.1.4dev: false- /[email protected](@types/[email protected]):- resolution: {integrity: sha512-nlBMJ9x6n7/Amaz6F3zJ97EBwR2FkzhBRxF5e+jE6LA3yi6Wtc2lyTij1OnDMIr34v5g/tVQtsVAzhT0jc5ygA==}- engines: {node: '>=v14.18.0'}+ /[email protected](@types/[email protected]):+ resolution: {integrity: sha512-de6HJgzC+TFzOu0NTC4RAIsyf/DY/ibWDYQUcuEA84EMHhcefTUGkjFHKKEJhQN4A+6I0u++kr3l36ZF2d7XRw==}+ engines: {node: ^18.0.0 || >=20.0.0}hasBin: truedependencies:cac: 6.7.14debug: 4.3.4- mlly: 1.4.2pathe: 1.1.1picocolors: 1.0.0- vite: 4.5.0(@types/[email protected])+ vite: 5.2.12(@types/[email protected])transitivePeerDependencies:- '@types/node'- less@@ -11120,12 +11775,12 @@ packages:- terserdev: true- /[email protected](@types/[email protected]):- resolution: {integrity: sha512-ulr8rNLA6rkyFAlVWw2q5YJ91v098AFQ2R0PRFwPzREXOUJQPtFUG0t+/ZikhaOCDqFoDhN6/v8Sq0o4araFAw==}- engines: {node: ^14.18.0 || >=16.0.0}+ /[email protected](@types/[email protected]):+ resolution: {integrity: sha512-/gC8GxzxMK5ntBwb48pR32GGhENnjtY30G4A0jemunsBkiEZFw60s8InGpN8gkhHEkjnRK1aSAxeQgwvFhUHAA==}+ engines: {node: ^18.0.0 || >=20.0.0}hasBin: truepeerDependencies:- '@types/node': '>= 14'+ '@types/node': ^18.0.0 || >=20.0.0less: '*'lightningcss: ^1.21.0sass: '*'@@ -11149,29 +11804,29 @@ packages:optional: truedependencies:'@types/node': 18.18.6- esbuild: 0.18.20- postcss: 8.4.31- rollup: 3.29.4+ esbuild: 0.20.2+ postcss: 8.4.38+ rollup: 4.18.0optionalDependencies:fsevents: 2.3.3dev: true- resolution: {integrity: sha512-+5CALsOvbNKnS+ZHMXtuUC7nL8/7F1F2DnHGjSsszX8zCjWSSviphCb/NuS9Nzf4Q03KyyDRBAXhF/8lffME4Q==}- engines: {node: '>=v14.18.0'}+ /[email protected](@types/[email protected]):+ resolution: {integrity: sha512-H5r/dN06swuFnzNFhq/dnz37bPXnq8xB2xB5JOVk8K09rUtoeNN+LHWkoQ0A/i3hvbUKKcCei9KpbxqHMLhLLA==}+ engines: {node: ^18.0.0 || >=20.0.0}hasBin: truepeerDependencies:'@edge-runtime/vm': '*'- '@vitest/browser': '*'- '@vitest/ui': '*'+ '@types/node': ^18.0.0 || >=20.0.0+ '@vitest/browser': 1.6.0+ '@vitest/ui': 1.6.0happy-dom: '*'jsdom: '*'- playwright: '*'- safaridriver: '*'- webdriverio: '*'peerDependenciesMeta:'@edge-runtime/vm':optional: true+ '@types/node':+ optional: true'@vitest/browser':optional: true'@vitest/ui':@@ -11180,36 +11835,27 @@ packages:optional: truejsdom:optional: true- playwright:- optional: true- safaridriver:- optional: true- webdriverio:- optional: truedependencies:- '@types/chai': 4.3.9- '@types/chai-subset': 1.3.4'@types/node': 18.18.6- '@vitest/expect': 0.34.6- '@vitest/runner': 0.34.6- '@vitest/snapshot': 0.34.6- '@vitest/spy': 0.34.6- '@vitest/utils': 0.34.6- acorn: 8.10.0- acorn-walk: 8.2.0- cac: 6.7.14+ '@vitest/expect': 1.6.0+ '@vitest/runner': 1.6.0+ '@vitest/snapshot': 1.6.0+ '@vitest/spy': 1.6.0+ '@vitest/utils': 1.6.0+ acorn-walk: 8.3.2chai: 4.3.10debug: 4.3.4- local-pkg: 0.4.3+ execa: 8.0.1+ local-pkg: 0.5.0magic-string: 0.30.5pathe: 1.1.1picocolors: 1.0.0- std-env: 3.4.3- strip-literal: 1.3.0+ std-env: 3.7.0+ strip-literal: 2.1.0tinybench: 2.5.1- tinypool: 0.7.0- vite: 4.5.0(@types/[email protected])- vite-node: 0.34.6(@types/[email protected])+ tinypool: 0.8.4+ vite: 5.2.12(@types/[email protected])+ vite-node: 1.6.0(@types/[email protected])why-is-node-running: 2.2.2transitivePeerDependencies:- less@@ -11271,7 +11917,7 @@ packages:optional: truedependencies:'@types/eslint-scope': 3.7.5- '@types/estree': 1.0.1+ '@types/estree': 1.0.5'@webassemblyjs/ast': 1.11.6'@webassemblyjs/wasm-edit': 1.11.6'@webassemblyjs/wasm-parser': 1.11.6@@ -11520,11 +12166,6 @@ packages:resolution: {integrity: sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==}- resolution: {integrity: sha512-r3vXyErRCYJ7wg28yvBY5VSoAF8ZvlcW9/BwUzEtUsjvX/DKs24dIkuwjtuprwJJHsbyUbLApepYTR1BN4uHrg==}- engines: {node: '>= 6'}- dev: true-resolution: {integrity: sha512-N/lyzTPaJasoDmfV7YTrYCI0G/3ivm/9wdG0aHuheKowWQwGTsK0Eoiw6utmzAnI6pkJa0DUVygvp3spqqEKXg==}engines: {node: '>= 14'}@@ -11625,6 +12266,15 @@ packages:zod: 3.22.4dev: true+ resolution: {integrity: sha512-Syib9oumw1NTqEv4LT0e6U83Td9aVRk9iTXPUQr1otyV1PuXQKOvOwhMNqZIq5hluzHP2pMgnOmHEo7kPdI2mw==}+ engines: {node: '>=18.0.0'}+ peerDependencies:+ zod: ^3.18.0+ dependencies:+ zod: 3.22.4+ dev: true+resolution: {integrity: sha512-m46AKbrzKVzOzs/DZgVnG5H55N1sv1M8qZU3A8RIKbs3mrACDNeIOeilDymVb2HdmP8uwshOCF4uJ8uM9rCqJw==}dev: falsediff --git a/spec/envd/envd.yaml b/spec/envd/envd.yamlindex 8b3960f68..5228703b0 100644--- a/spec/envd/envd.yaml+++ b/spec/envd/envd.yaml@@ -50,27 +50,23 @@ components:name: pathin: pathrequired: true- allowEmptyValue: false+ allowEmptyValue: truedescription: Absolute path to the file, URL encoded.schema:type: stringUser:name: Userin: query- required: falsedescription: User owning the fileschema:type: string- default: "root"Mode:name: Modein: query- required: falsedescription: File permissions in octal format (e.g., 0755)schema:type: stringpattern: "^[0-7]{3,4}$"- default: "0777"requestBodies:File: